(window.webpackJsonp=window.webpackJsonp||[]).push([[5,51,56,71,79,88,94,101],{471:function(t,e,o){t.exports=o.p+"img/sprite-v2.6f93b0c.svg"},476:function(t,e,o){t.exports={}},481:function(t,e,o){"use strict";o.r(e);o(132);var n={name:"AppQty",props:{qty:{type:Number,default:0}},data:function(){return{}},methods:{decrease:function(){this.$emit("decrease")},increase:function(){this.$emit("increase")}}},c=(o(482),o(73)),component=Object(c.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"qty"},[e("div",{staticClass:"qty__item qty__item--minus",on:{click:t.decrease}},[e("svg",{staticClass:"qty__icon"},[e("use",{attrs:{"xlink:href":o(471)+"#minus"}})])]),t._v(" "),e("div",{staticClass:"qty__item qty__item--value"},[t._v("\n    "+t._s(t.qty)+"\n  ")]),t._v(" "),e("div",{staticClass:"qty__item qty__item--plus",on:{click:t.increase}},[e("svg",{staticClass:"qty__icon"},[e("use",{attrs:{"xlink:href":o(471)+"#plus"}})])])])}),[],!1,null,"158c6c7d",null);e.default=component.exports},482:function(t,e,o){"use strict";o(476)},497:function(t,e,o){t.exports={}},510:function(t,e,o){t.exports={}},533:function(t,e,o){"use strict";o(497)},538:function(t,e,o){"use strict";o.r(e);var n={name:"BasePopupInformation",props:{direction:{type:String,default:"bottom"},rootSelector:{type:String,required:!0}},data:function(){return{isShow:!1,directionData:this.direction}},mounted:function(){document.body.addEventListener("click",this.closeOnClickOutside),document.addEventListener("scroll",this.hidePopover)},beforeDestroy:function(){document.body.removeEventListener("click",this.closeOnClickOutside),document.removeEventListener("scroll",this.hidePopover)},methods:{showPopover:function(){var t=this;this.isShow||(this.$store.commit("view/setActivePopup",this),this.isShow=!0,this.$emit("show"),this.$nextTick((function(){t.adjustPopoverPosition()})))},hidePopover:function(){if(this.isShow){var t=this.$refs.popupInfo;if(t){var e=getComputedStyle(t);t.style.zIndex=String(+e.zIndex-1e3)}this.isShow=!1,this.$emit("hide")}},onPopupInfoIconClick:function(){this.isShow?this.hidePopover():this.showPopover()},adjustPopoverPosition:function(){var t=this.$refs,e=t.popover,o=t.popupInfo,n=document.querySelector("".concat(this.rootSelector)),c=o.getBoundingClientRect(),r=e.getBoundingClientRect(),l=n.clientWidth,d=o,_=n.getBoundingClientRect(),m=d.getBoundingClientRect().left-_.left;if(o){var f=getComputedStyle(o);o.style.zIndex=String(+f.zIndex+1e3)}var v=c.width,h=r.width/2,C=v/2,y=m,k=l-m-v,w={};h<=y&&h<=k?w={left:"".concat(-h+C,"px"),right:"".concat(-h+C,"px")}:l<r.width+32?w={left:"".concat(0-y,"px"),right:"".concat(20-k,"px")}:h>k?w={right:"".concat(-k,"px")}:h>y&&(w={left:"".concat(-y,"px")}),Object.assign(e.style,w);var x=function(element){for(;element;){if("visible"!==getComputedStyle(element).overflow)return element;element=element.parentElement}return null}(o);if(x){var O=x.getBoundingClientRect();r.top<O.top&&(this.directionData="down")}},closeOnClickOutside:function(t){!this.$el.contains(t.target)&&this.isShow&&this.hidePopover()}}},c=(o(533),o(73)),component=Object(c.a)(n,(function(){var t=this,e=t._self._c;return e("div",{ref:"popupInfo",staticClass:"popup-info",class:"popup-info--".concat(t.directionData),on:{click:function(e){return e.stopPropagation(),t.showPopover.apply(null,arguments)}}},[e("div",{staticClass:"popup-info__icon-wrapper",class:{"popup-info__icon-wrapper--active":t.isShow},on:{click:function(e){return t.$emit("click")}}},[e("svg",{staticClass:"popup-info__icon",class:{"popup-info__icon--active":t.isShow},on:{click:function(e){return e.stopPropagation(),t.onPopupInfoIconClick.apply(null,arguments)}}},[e("use",{attrs:{"xlink:href":o(471)+"#detail-info"}})])]),t._v(" "),t.isShow?e("div",{ref:"popover",staticClass:"popup-info__content"},[t._t("default")],2):t._e()])}),[],!1,null,"428647b4",null);e.default=component.exports},540:function(t,e,o){"use strict";var n=o(13),c=o(18),r=o(116),l=o(342),d=o(341),_=o(20),m=RangeError,f=String,v=Math.floor,h=c(d),C=c("".slice),y=c(1..toFixed),k=function(t,e,o){return 0===e?o:e%2==1?k(t,e-1,o*t):k(t*t,e/2,o)},w=function(data,t,e){for(var o=-1,n=e;++o<6;)n+=t*data[o],data[o]=n%1e7,n=v(n/1e7)},x=function(data,t){for(var e=6,o=0;--e>=0;)o+=data[e],data[e]=v(o/t),o=o%t*1e7},O=function(data){for(var t=6,s="";--t>=0;)if(""!==s||0===t||0!==data[t]){var e=f(data[t]);s=""===s?e:s+h("0",7-e.length)+e}return s};n({target:"Number",proto:!0,forced:_((function(){return"0.000"!==y(8e-5,3)||"1"!==y(.9,0)||"1.25"!==y(1.255,2)||"1000000000000000128"!==y(0xde0b6b3a7640080,0)}))||!_((function(){y({})}))},{toFixed:function(t){var e,o,n,c,d=l(this),_=r(t),data=[0,0,0,0,0,0],v="",y="0";if(_<0||_>20)throw m("Incorrect fraction digits");if(d!=d)return"NaN";if(d<=-1e21||d>=1e21)return f(d);if(d<0&&(v="-",d=-d),d>1e-21)if(o=(e=function(t){for(var e=0,o=t;o>=4096;)e+=12,o/=4096;for(;o>=2;)e+=1,o/=2;return e}(d*k(2,69,1))-69)<0?d*k(2,-e,1):d/k(2,e,1),o*=4503599627370496,(e=52-e)>0){for(w(data,0,o),n=_;n>=7;)w(data,1e7,0),n-=7;for(w(data,k(10,n,1),0),n=e-1;n>=23;)x(data,1<<23),n-=23;x(data,1<<n),w(data,1,1),x(data,2),y=O(data)}else w(data,0,o),w(data,1<<-e,0),y=O(data)+h("0",_);return y=_>0?v+((c=y.length)<=_?"0."+h("0",_-c)+y:C(y,0,c-_)+"."+C(y,c-_)):v+y}})},562:function(t,e,o){"use strict";o(510)},567:function(t,e,o){t.exports={}},568:function(t,e,o){t.exports={}},596:function(t,e,o){"use strict";o.r(e);o(132),o(540);var n={name:"AppLike",props:{likesCount:{type:Number,default:0},isLiked:{type:Boolean,default:!1}},computed:{formattingLikesCount:function(){return this.likesCount<1e3?this.likesCount:"".concat((this.likesCount/1e3).toFixed(1),"k")}}},c=(o(562),o(73)),component=Object(c.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"like",class:{"like--active":t.isLiked},on:{click:function(e){return e.stopPropagation(),t.$emit("click")}}},[e("svg",{staticClass:"like__icon",class:{"like__icon--active":t.isLiked}},[t.isLiked?e("use",{attrs:{"xlink:href":o(471)+"#filled-favorite"}}):e("use",{attrs:{"xlink:href":o(471)+"#favorite"}})])])}),[],!1,null,"2cebb8cf",null);e.default=component.exports},623:function(t,e,o){"use strict";o(567)},624:function(t,e,o){t.exports=o.p+"img/4.849abed.png"},625:function(t,e,o){t.exports=o.p+"img/1.4a7abdc.png"},626:function(t,e,o){t.exports=o.p+"img/2.deecfef.png"},627:function(t,e,o){t.exports=o.p+"img/3.78c4fe0.png"},628:function(t,e,o){t.exports=o.p+"img/5.9a27d9d.png"},629:function(t,e,o){t.exports=o.p+"img/6.48fc41d.png"},630:function(t,e,o){t.exports=o.p+"img/7.d7870c0.png"},631:function(t,e,o){t.exports=o.p+"img/8.53be9a8.png"},632:function(t,e,o){t.exports=o.p+"img/9.7414ee9.png"},633:function(t,e,o){t.exports=o.p+"img/10.94b9420.png"},634:function(t,e,o){t.exports=o.p+"img/2.2ac6c41.png"},635:function(t,e,o){t.exports=o.p+"img/4.1ac8112.png"},636:function(t,e,o){t.exports=o.p+"img/5.5f9cb10.png"},637:function(t,e,o){t.exports=o.p+"img/6.a0206b6.png"},638:function(t,e,o){t.exports=o.p+"img/3.f4db6ec.png"},639:function(t,e,o){t.exports=o.p+"img/1.cf193a8.png"},640:function(t,e,o){t.exports=o.p+"img/1.65cd3f0.png"},641:function(t,e,o){t.exports=o.p+"img/2.2235818.png"},642:function(t,e,o){t.exports=o.p+"img/3.fac28b1.png"},643:function(t,e,o){t.exports=o.p+"img/4.d6d4937.png"},644:function(t,e,o){"use strict";o(568)},663:function(t,e,o){"use strict";o.r(e);var n={name:"CatalogPriceButton"},c=(o(623),o(73)),component=Object(c.a)(n,(function(){var t=this,e=t._self._c;return e("button",t._g({staticClass:"catalog-price-button"},t.$listeners),[t.$slots["old-price"]?e("span",{staticClass:"catalog-price-button__old-price"},[t._t("old-price")],2):t._e(),t._v(" "),e("span",{staticClass:"catalog-price-button__price"},[t._t("default")],2)])}),[],!1,null,"01b74142",null);e.default=component.exports},664:function(t,e,o){"use strict";o.r(e);o(36);var n=o(2),c=o(47);o(64),o(97),o(17),o(340),o(30),o(29),o(33),o(37),o(26),o(38);function r(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function l(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?r(Object(o),!0).forEach((function(e){Object(n.a)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var d={name:"CatalogItemMod",props:{group:{type:Object,required:!0},value:{type:Array,required:!0}},data:function(){return{selectedMod:""}},computed:{title:function(){return["24eebba4-6b1b-455c-9fdd-046ea5ae1016"].includes(this.group.modifierId)?"Лапша на выбор":["c0314841-d3e5-4ff8-93d3-90eb740d7e86","528ebae5-5b9a-463a-adcf-14d6a35d5af6"].includes(this.group.modifierId)?"Соус на выбор":""},imageClass:function(){return["24eebba4-6b1b-455c-9fdd-046ea5ae1016"].includes(this.group.modifierId)?"catalog-item-mod__image--noodles":["c0314841-d3e5-4ff8-93d3-90eb740d7e86","528ebae5-5b9a-463a-adcf-14d6a35d5af6"].includes(this.group.modifierId)?"catalog-item-mod__image--sauce":""}},watch:{selectedMod:function(){var t=this,e=Object(c.a)(this.value),o=this.group.modifiers.find((function(e){return e.modifierId===t.selectedMod})),n=e.findIndex((function(e){return e.groupId===t.group.modifierId})),r=l(l({},o),{},{id:this.selectedMod,amount:1});-1===n?e.push(r):e[n]=r,this.$emit("input",e)}},mounted:function(){this.group.modifiers.length&&(this.selectedMod=this.group.modifiers[0].modifierId)},methods:{getImagePath:function(t){var e=t.toLocaleLowerCase();return"гречневая"===e?o(624):"удон"===e?o(625):"яичная"===e?o(626):"фунчоза"===e?o(627):"курица"===e?o(628):"свинина"===e?o(629):"говядина"===e?o(630):"креветка"===e?o(631):"гуакомоле"===e?o(632):"ниам"===e?o(633):"терияки"===e?o(634):["карри лайм","сливочный карри лайм"].includes(e)?o(635):"том-ям"===e?o(636):"устричный"===e?o(637):"имбирный"===e?o(638):["пад-тай"].includes(e)?o(639):"пиццони"===e?o(640):"маленькая"===e?o(641):"средняя"===e?o(642):"большая"===e?o(643):null}}},_=(o(644),o(73)),component=Object(_.a)(d,(function(){var t=this,e=t._self._c;return t.group.modifiers.length?e("div",{staticClass:"catalog-item-mod"},[t.title?e("div",{staticClass:"catalog-item-mod__title"},[t._v("\n    "+t._s(t.title)+"\n  ")]):t._e(),t._v(" "),e("div",{staticClass:"catalog-item-mod__inner",class:["catalog-item-mod__inner--".concat(t.group.modifiers.length),{"catalog-item-mod__inner--more-than-four":t.group.modifiers.length>4}]},t._l(t.group.modifiers,(function(o){return e("label",{key:o.modifierId,staticClass:"catalog-item-mod__item",class:{"catalog-item-mod__item--active":o.modifierId===t.selectedMod}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedMod,expression:"selectedMod"}],staticClass:"visually-hidden",attrs:{type:"radio"},domProps:{value:o.modifierId,checked:t._q(t.selectedMod,o.modifierId)},on:{change:function(e){t.selectedMod=o.modifierId}}}),t._v(" "),e("span",{staticClass:"catalog-item-mod__image-wrapper"},[t.getImagePath(o.name)?e("img",{staticClass:"catalog-item-mod__image",class:t.imageClass,attrs:{src:t.getImagePath(o.name),alt:""}}):t._e()]),t._v(" "),e("span",{staticClass:"catalog-item-mod__name",class:{"catalog-item-mod__name--active":o.modifierId===t.selectedMod}},[t._v(t._s(o.name))])])})),0)]):t._e()}),[],!1,null,"44d4c750",null);e.default=component.exports},694:function(t,e,o){t.exports={}},767:function(t,e,o){"use strict";o(694)},814:function(t,e,o){"use strict";o.r(e);o(36),o(540),o(29),o(66),o(64),o(88),o(30),o(37),o(38);var n=o(5),c=o(2),r=(o(32),o(17),o(26),o(33),o(109),o(61),o(133)),l=o(481),d=o(663),_=o(538);function m(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function f(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?m(Object(o),!0).forEach((function(e){Object(c.a)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function v(t){var e,o=0;return null!==(e=this.modifier)&&void 0!==e&&e.length?this.modifier.forEach((function(e){o+=e[t]})):this.product[t]&&(o+=this.product[t]),o}var h={name:"CatalogDetailItem",components:{CatalogItemMod:o(664).default,BasePopupInformation:_.default,CatalogPriceButton:d.default,AppQty:l.default},props:{product:{type:Object,required:!0}},data:function(){return{modifier:[],isCompositionHide:!0,isDesktop:!1,imageLoaded:!1}},computed:f(f({},Object(r.b)({CUSTOM_ADD_TO_CART_GROUPS_ID:"setting/CUSTOM_ADD_TO_CART_GROUPS_ID"})),{},{hasMods:function(){return this.product.groupModifiers.length>0},price:function(){var t=this.product.price;return this.modifier.length&&this.modifier.forEach((function(e){t+=e.price})),t},countInCart:function(){var t=this,e=this.$store.getters["cart/cartItems"].filter((function(e){return e.product.id===t.product.id}));return e.length>0?e.reduce((function(t,p){return t+p.quantity}),0):0},imagePath:function(){return this.imageLoaded?this.$img(this.product.image,{width:500,quality:50,format:"webp"}):"".concat(this.$config.FRONT_API_URL,"/content/no-photo.svg")},productsInCartIds:function(){return this.$store.getters["cart/productsInCartIds"]},isProductInCart:function(){return this.productsInCartIds.includes(this.product.id)},fiberAmount:function(){return v.call(this,"fiberAmount")},fatAmount:function(){return v.call(this,"fatAmount")},carbohydrateAmount:function(){return v.call(this,"carbohydrateAmount")},energyAmount:function(){return v.call(this,"energyAmount")},weight:function(){return Math.round(1e3*v.call(this,"weight"))},hasHistory:function(){return window.history.length>2},allergens:function(){return this.product.allergens?this.product.allergens.map((function(t){return t.name.toLocaleLowerCase()})).join(", "):""}}),methods:{addToCart:function(){this.$store.dispatch("cart/addItem",{productId:this.product.id,mods:this.modifier})},decreaseQtyById:function(){this.$store.dispatch("cart/decreaseQtyById",this.product.id)},onLikeClick:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.product.isLiked){e.next=6;break}return e.next=3,t.$store.dispatch("user/removeLike",{product:t.product});case 3:t.$emit("delete-like"),e.next=8;break;case 6:return e.next=8,t.$store.dispatch("user/addLike",{product:t.product});case 8:case"end":return e.stop()}}),e)})))()},toggleComposition:function(){this.isCompositionHide=!this.isCompositionHide},onAllergenClick:function(){this.$store.commit("modal/showAllergensSelector")}}},C=(o(767),o(73)),component=Object(C.a)(h,(function(){var t,e=this,n=e._self._c;return n("div",{staticClass:"catalog-detail-item"},[n("div",{staticClass:"catalog-detail-item__image-info-wrapper"},[n("div",{staticClass:"catalog-detail-item__image-wrapper catalog-detail-item__image-wrapper--top"},[n("img",{staticClass:"catalog-detail-item__image",attrs:{alt:e.product.name,src:e.imagePath,height:"342",loading:"lazy",width:"342"},on:{load:function(t){e.imageLoaded=!0}}})]),e._v(" "),n("div",{staticClass:"catalog-detail-item__info"},[n("div",{staticClass:"catalog-detail-item__top"},[n("div",{staticClass:"catalog-detail-item__image-wrapper catalog-detail-item__image-wrapper--bottom"},[n("img",{staticClass:"catalog-detail-item__image",attrs:{alt:e.product.name,src:e.imagePath,height:"342",loading:"lazy",width:"342"},on:{load:function(t){e.imageLoaded=!0}}})]),e._v(" "),n("div",{staticClass:"catalog-detail-item__top-inner"},[n("div",{staticClass:"catalog-detail-item__title-wrapper"},[n("h1",{staticClass:"catalog-detail-item__title"},[e._v("\n              "+e._s(e.product.name)+"\n            ")]),e._v(" "),n("div",{staticClass:"catalog-detail-item__title-info catalog-detail-item__title-info--top"},[n("BasePopupInformation",{staticClass:"catalog-detail-item__popup-info",attrs:{"root-selector":".catalog-detail-item"}},[n("div",{staticClass:"characteristic"},[n("div",{staticClass:"characteristic__row"},[n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                        Белки\n                      ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                        "+e._s(e.fiberAmount.toFixed(1))+"\n                      ")])]),e._v(" "),n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                        Жиры\n                      ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                        "+e._s(e.fatAmount.toFixed(1))+"\n                      ")])]),e._v(" "),n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                        Углеводы\n                      ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                        "+e._s(e.carbohydrateAmount.toFixed(1))+"\n                      ")])]),e._v(" "),n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                        Ккал\n                      ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                        "+e._s(e.energyAmount.toFixed(1))+"\n                      ")])]),e._v(" "),n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                        Вес\n                      ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                        "+e._s(e.weight)+" г.\n                      ")])])])])]),e._v(" "),n("AppLike",{staticClass:"catalog-detail-item__like",attrs:{"is-liked":e.product.isLiked,"likes-count":e.product.likesCount},on:{click:e.onLikeClick}})],1)]),e._v(" "),n("div",{staticClass:"catalog-detail-item__add-info"},[e.product.count>0?[e._v("\n              "+e._s(e.product.count)+"шт |\n            ")]:e._e(),e._v("\n            "+e._s(e.weight)+" г.\n          ")],2),e._v(" "),e.product.description?n("div",{staticClass:"catalog-detail-item__desc"},[e._v("\n            "+e._s(e.product.description)+"\n          ")]):e._e()])]),e._v(" "),n("div",{staticClass:"catalog-detail-item__allergens-wrapper"},[e.allergens?n("div",{staticClass:"catalog-detail-item__allergens catalog-detail-item__allergens--top"},[n("div",{staticClass:"allergens"},[n("div",{staticClass:"allergens__title"},[e._v("\n              Аллергены\n            ")]),e._v(" "),n("BasePopupInformation",{staticClass:"allergens__text",attrs:{direction:"top","root-selector":".catalog-detail-item"}},[e._v("\n              "+e._s(e.allergens)+"\n\n              "),n("div",{staticClass:"allergens__select",on:{click:e.onAllergenClick}},[e._v("\n                Исключить аллергены\n              ")])])],1)]):e._e(),e._v(" "),n("div",{staticClass:"catalog-detail-item__title-info catalog-detail-item__title-info--bottom"},[n("BasePopupInformation",{staticClass:"catalog-detail-item__popup-info",attrs:{"root-selector":".catalog-detail-item"}},[n("div",{staticClass:"characteristic"},[n("div",{staticClass:"characteristic__row"},[n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                    Белки\n                  ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                    "+e._s(e.fiberAmount.toFixed(1))+"\n                  ")])]),e._v(" "),n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                    Жиры\n                  ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                    "+e._s(e.fatAmount.toFixed(1))+"\n                  ")])]),e._v(" "),n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                    Углеводы\n                  ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                    "+e._s(e.carbohydrateAmount.toFixed(1))+"\n                  ")])]),e._v(" "),n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                    Ккал\n                  ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                    "+e._s(e.energyAmount.toFixed(1))+"\n                  ")])]),e._v(" "),n("div",{staticClass:"characteristic__item"},[n("div",{staticClass:"characteristic__head"},[e._v("\n                    Вес\n                  ")]),e._v(" "),n("div",{staticClass:"characteristic__col"},[e._v("\n                    "+e._s(e.weight)+" г.\n                  ")])])])])]),e._v(" "),n("AppLike",{staticClass:"catalog-detail-item__like",attrs:{"is-liked":e.product.isLiked,"likes-count":e.product.likesCount},on:{click:e.onLikeClick}})],1)]),e._v(" "),e.CUSTOM_ADD_TO_CART_GROUPS_ID.includes(e.product.parentGroup)&&e.hasMods?n("div",{staticClass:"catalog-detail-item__inner"},[e.CUSTOM_ADD_TO_CART_GROUPS_ID.includes(e.product.parentGroup)&&e.hasMods?n("div",{staticClass:"catalog-detail-item__mods"},e._l(e.product.groupModifiers,(function(t,o){return n("CatalogItemMod",{key:t.modifierId+o,staticClass:"catalog-detail-item__mod",attrs:{group:t},model:{value:e.modifier,callback:function(t){e.modifier=t},expression:"modifier"}})})),1):e._e()]):e._e(),e._v(" "),null!==(t=e.product.composition)&&void 0!==t&&t.length?n("div",{staticClass:"catalog-detail-item__composition composition-list"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.isCompositionHide||e.isDesktop,expression:"!isCompositionHide || isDesktop"}],staticClass:"composition-list__inner"},[n("div",{staticClass:"composition-list__title"},[e._v("\n            Входит в заказ:\n          ")]),e._v(" "),n("div",{staticClass:"composition-list__list"},e._l(e.product.composition,(function(t,o){return n("div",{key:t.name+o,staticClass:"composition-list__item composition-item"},[n("div",{staticClass:"composition-item__image-wrapper"},[n("nuxt-img",{staticClass:"composition-item__image",attrs:{alt:t.name,src:t.image,format:"webp",loading:"lazy",quality:"90",width:"300"}})],1),e._v(" "),n("div",{staticClass:"composition-item__name"},[e._v("\n                "+e._s(t.name)+"\n              ")]),e._v(" "),n("BasePopupInformation",{staticClass:"composition-item__desc",attrs:{direction:"top","root-selector":".catalog-detail-item"}},[e._v("\n                "+e._s(t.description)+"\n              ")])],1)})),0)]),e._v(" "),n("div",{staticClass:"composition-list__btn",class:{"composition-list__btn--active":!e.isCompositionHide},on:{click:e.toggleComposition}},[n("div",{staticClass:"composition-list__name"},[e.isCompositionHide?[e._v("\n              Показать состав комбо\n            ")]:[e._v("\n              Свернуть состав комбо\n            ")]],2),e._v(" "),n("svg",{staticClass:"composition-list__btn-icon",class:{"composition-list__btn-icon--active":!e.isCompositionHide}},[n("use",{attrs:{"xlink:href":o(471)+"#arrow-down"}})])])]):e._e(),e._v(" "),n("footer",{staticClass:"catalog-detail-item__footer"},[n("AppQty",{staticClass:"catalog-detail-item__qty",attrs:{qty:e.countInCart},on:{decrease:e.decreaseQtyById,increase:e.addToCart}}),e._v(" "),n("CatalogPriceButton",{staticClass:"catalog-detail-item__add-button",on:{click:e.addToCart},scopedSlots:e._u([e.product.oldPrice?{key:"old-price",fn:function(){return[e._v("\n            "+e._s(e.product.oldPrice)),n("span",{staticClass:"rub"},[e._v("р")])]},proxy:!0}:null],null,!0)},[e._v("\n          "+e._s(e.price)+"₽\n        ")])],1)])])])}),[],!1,null,"ce033be4",null);e.default=component.exports;installComponents(component,{BasePopupInformation:o(538).default,AppLike:o(596).default,CatalogItemMod:o(664).default,AppQty:o(481).default,CatalogPriceButton:o(663).default})}}]);