@ecomplus/widget-search 1.0.0-beta.17 → 1.0.0-beta.171

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://widgetSearch/../storefront-components/src/scss/ProductVariations.scss?2479","webpack://widgetSearch/../storefront-components/src/scss/KitProductVariations.scss?fca9","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss?453c","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss?8147","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss?d655","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss?ad87","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss?48d7","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss?3789","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss?31d1","webpack://widgetSearch/../storefront-components/src/scss/ProductVariations.scss?f6a3","webpack://widgetSearch/../storefront-components/src/scss/ProductVariations.scss","webpack://widgetSearch/../storefront-components/src/scss/KitProductVariations.scss?1094","webpack://widgetSearch/../storefront-components/src/scss/KitProductVariations.scss","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss?3ef0","webpack://widgetSearch/../storefront-components/src/scss/ProductGallery.scss","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss?5b1d","webpack://widgetSearch/../storefront-components/src/scss/QuantitySelector.scss","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss?74ae","webpack://widgetSearch/../storefront-components/src/scss/ShippingLine.scss","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss?fbd9","webpack://widgetSearch/../storefront-components/src/scss/ShippingCalculator.scss","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss?af96","webpack://widgetSearch/../storefront-components/src/scss/PaymentOption.scss","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss?91ec","webpack://widgetSearch/../storefront-components/src/scss/TheProduct.scss","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss?6f0e","webpack://widgetSearch/../storefront-components/src/scss/ProductQuickview.scss","webpack://widgetSearch/../storefront-components/src/html/ProductQuickview.html","webpack://widgetSearch/../storefront-components/src/js/helpers/sort-apps.js","webpack://widgetSearch/../storefront-components/src/js/AAlert.js?933e","webpack://widgetSearch/../storefront-components/src/js/AAlert.js","webpack://widgetSearch/../storefront-components/src/AAlert.vue","webpack://widgetSearch/../storefront-components/src/html/AAlert.html","webpack://widgetSearch/../storefront-components/src/js/AShare.js","webpack://widgetSearch/../storefront-components/src/js/AShare.js?6fa0","webpack://widgetSearch/../storefront-components/src/AShare.vue","webpack://widgetSearch/../storefront-components/src/html/AShare.html","webpack://widgetSearch/../storefront-components/src/js/ProductVariations.js?c3a1","webpack://widgetSearch/../storefront-components/src/js/ProductVariations.js","webpack://widgetSearch/../storefront-components/src/ProductVariations.vue","webpack://widgetSearch/../storefront-components/src/html/ProductVariations.html","webpack://widgetSearch/../storefront-components/src/js/KitProductVariations.js?c1e6","webpack://widgetSearch/../storefront-components/src/js/KitProductVariations.js","webpack://widgetSearch/../storefront-components/src/KitProductVariations.vue","webpack://widgetSearch/../storefront-components/src/html/KitProductVariations.html","webpack://widgetSearch/../storefront-components/src/js/ProductGallery.js?bf10","webpack://widgetSearch/../storefront-components/src/js/ProductGallery.js","webpack://widgetSearch/../storefront-components/src/ProductGallery.vue","webpack://widgetSearch/../storefront-components/src/html/ProductGallery.html","webpack://widgetSearch/../storefront-components/src/js/QuantitySelector.js?a133","webpack://widgetSearch/../storefront-components/src/js/QuantitySelector.js","webpack://widgetSearch/../storefront-components/src/QuantitySelector.vue","webpack://widgetSearch/../storefront-components/src/html/QuantitySelector.html","webpack://widgetSearch/../storefront-components/src/js/ShippingLine.js?ac77","webpack://widgetSearch/../storefront-components/src/js/ShippingLine.js","webpack://widgetSearch/../storefront-components/src/ShippingLine.vue","webpack://widgetSearch/../storefront-components/src/html/ShippingLine.html","webpack://widgetSearch/../storefront-components/src/js/ShippingCalculator.js","webpack://widgetSearch/../storefront-components/src/js/ShippingCalculator.js?b5b8","webpack://widgetSearch/../storefront-components/src/ShippingCalculator.vue","webpack://widgetSearch/../storefront-components/src/html/ShippingCalculator.html","webpack://widgetSearch/../storefront-components/src/js/PaymentOption.js?b87a","webpack://widgetSearch/../storefront-components/src/js/PaymentOption.js","webpack://widgetSearch/../storefront-components/src/PaymentOption.vue","webpack://widgetSearch/../storefront-components/src/html/PaymentOption.html","webpack://widgetSearch/../storefront-components/src/js/TheProduct.js","webpack://widgetSearch/../storefront-components/src/js/TheProduct.js?1c59","webpack://widgetSearch/../storefront-components/src/js/helpers/add-idle-callback.js","webpack://widgetSearch/../storefront-components/src/TheProduct.vue","webpack://widgetSearch/../storefront-components/src/html/TheProduct.html","webpack://widgetSearch/../storefront-components/src/js/ProductQuickview.js?5dcb","webpack://widgetSearch/../storefront-components/src/js/ProductQuickview.js","webpack://widgetSearch/../storefront-components/src/ProductQuickview.vue"],"names":["content","__esModule","default","module","i","locals","exports","add","___CSS_LOADER_API_IMPORT___","push","results","order","sort","a","b","app_id","indexA","indexOf","indexB","name","props","canShow","type","Boolean","variant","String","data","count","computed","i19close","i18n","watch","this","_h","$createElement","_c","_self","attrs","key","_m","_e","_vm","staticClass","class","_t","on","$event","$emit","_v","shareNetworks","network","icon","color","components","ShareNetwork","url","required","title","description","i19email","i19on","toLowerCase","i19share","localUrl","window","startsWith","location","hostname","_l","ref","style","_s","product","Object","selectedId","maxOptionsBtns","Number","gridsData","Array","storefront","grids","selectedOptions","filteredGrids","i19select","i19selectVariation","variationsGrids","getVariationsGrids","orderedGrids","keys","variationFromUrl","variationId","URLSearchParams","search","get","methods","getColorOptionBg","optionText","rgbs","split","map","colorName","getSpecValueByText","variations","trim","length","getSpecValue","grid","values","colorNames","forEach","getGridTitle","selectOption","gridIndex","$set","gridId","filterGrids","nextFilteredGrids","options","includes","undefined","slice","variation","specifications","getSpecTextValue","splice","_id","handler","deep","immediate","mounted","isArray","selectedVariation","find","specs","nextSpec","specIndex","spec","specText","text","option","$nextTick","index","target","value","domProps","ALink","AAlert","APicture","APrices","ProductVariations","items","min","max","slug","buyText","kitProductId","kitName","kitPrice","canAddToCart","glideOptions","autoplay","rewind","glide","activeIndex","selectedVariationId","variationKit","variationKitReady","alertVariant","i19addToCart","i19next","i19previous","i19selectVariationMsg","i19quantity","i19item","i19minQuantity","i19maxQuantity","localItems","products","itemObject","assign","genRandomObjectId","getImg","getName","moveSlider","go","removeItemFromKit","filter","n","buy","composition","item","variation_id","product_id","quantity","newItem","customizations","kit_product","pack_quantity","price","ecomCart","addItem","oldIndex","current","Glide","$refs","mount","beforeDestroy","destroy","pictures","videos","video","videoAspectRatio","currentSlide","isSSR","pswp","isSliderMoved","elFirstPicture","zoomLinkStyle","i19fullscreen","i19openGallery","i19video","localPictures","videoSrc","replace","pswpItems","zoom","w","h","size","sizes","parseInt","src","alt","pswpOptions","shareButtons","id","label","i19shareOnFacebook","openZoom","then","pack","PhotoSwipe","psUi","init","catch","console","error","finally","pathname","addProduct","close","document","querySelector","firstPicture","appendChild","picture","preventDefault","refInFor","hasBuyButton","selectedQnts","reduce","hasMinAlert","hasMaxAlert","totalQuantity","total","remainingQuantity","strBuy","i19buyKit","checkInStock","maxQuantity","max_quantity","changeQnt","qntDiff","ev","lastQnt","newQnt","min_quantity","itemMaxQnt","maxQnt","Math","created","_k","keyCode","shippingLine","productionDeadline","deadlineStr","shipping","isWorkingDays","posting_deadline","working_days","delivery_time","days","i19upTo","i19workingDays","i19days","i19untilTomorrow","pick_up","i19pickUpToday","i19receiveToday","freightValueStr","freight","total_price","formatMoney","i19free","i19freeShipping","delivery_instructions","localStorage","reduceItemBody","itemOrProduct","shippedItem","field","CleaveInput","ShippingLine","zipCode","canSelectServices","canInputZip","countryCode","$ecomConfig","shippedItems","shippingResult","shippingData","skipAppIds","shippingAppsSort","ecomShippingApps","localZipCode","localShippedItems","amountSubtotal","shippingServices","selectedService","hasPaidOption","freeFromValue","isScheduled","retryTimer","isWaiting","hasCalculated","i19add$1ToEarn","i19calculateShipping","i19zipCode","cleaveOptions","blocks","delimiter","freeFromPercentage","round","maxDeadline","production_time","cumulative","itemDeadline","updateZipCode","parseShippingOptions","isRetry","appResult","validated","response","appId","shipping_services","service","freeShippingFromValue","free_shipping_from_value","priceDiff","shipping_line","setSelectedService","sortApps","scheduleRetry","fetchShippingServices","timeout","clearTimeout","setTimeout","storeId","to","zip","subtotal","modules","method","result","err","submitZipCode","setItem","getPrice","storedZip","getItem","apply","arguments","model","callback","$$v","expression","tag","active","service_code","paymentGateway","installmentsOption","i19atSight","i19interestFree","i19of","i19ofDiscount","i19onFreight","discount","installmentOptions","installment_options","concat","number","payment_method","code","max_number","tax","monthly_interest","minInstallment","min_installment","interest","pow","priceWithDiscount","apply_at","finalPrice","getContextBody","context","body","getContextId","sanitizeProductBody","body_html","body_text","inventory_records","price_change_records","Portal","AShare","KitProductVariations","ProductGallery","QuantitySelector","ShippingCalculator","PaymentOption","productId","headingTag","galleryColClassName","hasPromotionTimer","hasStickyBuyButton","hasQuantitySelector","lowQuantityToWarn","maxVariationOptionsBtns","isQuickview","paymentAppsSort","ecomPaymentApps","quoteLink","ecomPassport","accountUrl","fixedPrice","currentGalleyImg","isOnCart","qntToBuy","isStickyBuyVisible","isFavorite","hasClickedBuy","hasLoadError","paymentOptions","kitItems","currentTimer","i19addToFavorites","i19discountOf","i19endsIn","i19freeShippingFrom","i19loadProductErrorMsg","i19offer","i19only","i19outOfStock","i19paymentOptions","i19perUnit","i19productionDeadline","i19removeFromFavorites","i19retry","i19unavailable","i19quoteProduct","i19units","i19unitsInStock","isInStock","isWithoutPrice","isVariationInStock","isLogged","checkAuthorization","thumbnail","productQuantity","isLowQuantity","i19buy","priceValue","checkOnPromotion","base_price","isOnSale","price_effective_date","end","Date","now","getTime","ghostProductForPrices","prices","customization","add_to_price","getAdditionalPrice","ghostProduct","hasVariations","isKit","kit_composition","isKitWithVariations","some","setBody","fetchProduct","store","axiosConfig","status","addition","formatAdditionalPrice","addToPrice","setCustomizationOption","findIndex","showVariationPicture","picture_id","pictureIndex","handleGridOption","toggleFavorite","buyOrScroll","scrollToElement","actions","searchParams","set","history","pushState","params","toString","fn","amount","currency_id","currency_symbol","discount_option","requestIdleCallback","kitComposition","ecomSearch","EcomSearch","setPageSize","setProductIds","fetch","getItems","parseProduct","addKitItem","presetQntToBuy","checkFavorite","sticky","isBodyPaddingSet","setStickyBuyObserver","isToVisible","$anchor","$tmpDiv","createElement","parentNode","insertBefore","position","bottom","isMobile","lozad","rootMargin","threshold","load","stickyHeight","offsetHeight","paddingBottom","remove","createObserver","removeEventListener","addEventListener","observe","promotionDate","targetDate","dayMs","floor","setHours","formatTime","getRemainingTime","distance","hours","minutes","seconds","setInterval","timer","innerHTML","destroyed","clearInterval","sku","available","custom","grid_id","d","scopedSlots","_u","proxy","short_description","paymentOption","gateway","installments_option","ceil","directives","rawName","TheProduct","ABackdrop","portalId","productName","productLink","isVisible","i19seeMoreInfo","setProduct","hide","$destroy","portal","getElementById","setAttribute"],"mappings":"kHAGA,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,SAG/BE,EADH,EAAQ,GAAqEL,SACtE,WAAYF,GAAS,EAAM,K,gBCN5C,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,SAG/BE,EADH,EAAQ,GAAqEL,SACtE,WAAYF,GAAS,EAAM,K,gBCN5C,IAAIA,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,E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,CAACD,EAAIO,GAAG,oBAA6Bb,EAAG,MAAM,CAACO,YAAY,aAAa,CAACP,EAAG,cAAc,CAACE,MAAM,CAAC,eAAe,GAAG,aAAaI,EAAIoY,UAAU,QAAUpY,EAAI+B,SAAS3B,GAAG,CAAC,iBAAiBJ,EAAIkjB,WAAW,IAAMljB,EAAImjB,SAAS,GAAInjB,EAAe,YAAEN,EAAG,IAAI,CAACO,YAAY,oDAAoDL,MAAM,CAAC,KAAOI,EAAI+iB,cAAc,CAAC/iB,EAAIO,GAAG,IAAIP,EAAI8B,GAAG9B,EAAIijB,gBAAgB,OAAOjjB,EAAID,QAAQ,GAAGC,EAAID,QAAQ,OAC92C,I6CWpB,EACA,KACA,KACA,OAIa,a","file":"widget-search.1.min.js","sourcesContent":["// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"08c69391\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./KitProductVariations.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"034b33a3\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"5e8e53cf\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"2c282b81\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"8ef6afde\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"4ef36375\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"582cb591\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./TheProduct.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"6f4f6999\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&external\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"5fb4ac8f\", content, true, {});","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".variations__grid{margin-bottom:var(--spacer-3)}.variations__grid--colors button{font-size:0}.variations__value{font-size:var(--font-size-sm);margin-left:var(--spacer-2)}.variations__value .i-check{color:var(--success)}.variations__value--empty{color:var(--text-muted)}.variations__option{border:var(--border-width) solid var(--border-color);margin-bottom:var(--spacer-2);min-height:2.3rem;min-width:2.3rem}@media(hover:hover){.variations__option:hover{border-color:var(--secondary-light)}}.variations__option:not(:last-of-type){margin-right:var(--spacer-2)}.variations__option--selected:not(.disabled){border-color:var(--secondary);box-shadow:0 0 0 .1rem rgba(var(--secondary-rgb),.6)}.variations__option.disabled{cursor:not-allowed;position:relative}.variations__option.disabled:after{background:var(--danger);border-radius:50%;color:var(--danger-yiq);content:\\\"x\\\";display:block;font-size:10px;height:14px;line-height:1;padding-top:1.5px;position:absolute;right:-3px;text-align:center;top:-3px;width:14px}.variations__select{max-width:350px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./KitProductVariations.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".kit-product-variations{max-width:350px}.kit-product-variations__item{align-items:flex-start;display:flex;flex-direction:column;margin-bottom:.5rem;max-width:350px;overflow-x:hidden}.kit-product-variations__item a{color:inherit}.kit-product-variations__item picture{flex:0 0 115px;height:auto;margin-right:.5rem;width:115px}.kit-product-variations__item picture img{border-radius:var(--border-radius)}.kit-product-variations__item small{display:inline-block;line-height:1.3}.kit-product-variations__info h2{font-size:var(--font-size-sm)}.kit-product-variations__item-head{display:flex}.kit-product-variations__info{display:flex;flex-direction:column;justify-content:space-around}.kit-product-variations__buy button{width:100%}.kit-product-variations__actions button{text-transform:uppercase}.kit-product-variations .glide__pagination{padding-bottom:10px;text-align:center}.kit-product-variations--hide{display:none!important}.kit-product-variations--show{margin-left:3px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".gallery{display:flex;flex-direction:row;justify-content:center;max-width:810px;position:relative;text-align:center;width:100%}@media(min-width:992px){.gallery{margin-bottom:0}}.gallery__thumbs{display:inline-flex;flex-wrap:wrap;margin:-35px 0 0;padding:0;position:absolute;top:100%;width:auto;z-index:2}@media(min-width:992px){.gallery__thumbs{bottom:auto;display:block;flex-basis:90px;left:auto;margin:0 20px 0 0;overflow-y:auto;position:static}}.gallery__item{cursor:pointer;margin:0 15px 15px 0;opacity:.5;transition:opacity .15s linear}.gallery__item:last-of-type{margin-right:0}.gallery__item:before{background:var(--gray);border-radius:50%;content:\\\" \\\";display:block;height:10px;width:10px}.gallery__item--selected{cursor:auto;opacity:1}.gallery__item--selected:before{background:var(--secondary)}.gallery__item--video{font-size:11px;margin-top:-3px}.gallery__item--video:before,.gallery__item--video>span{display:none}@media(min-width:992px){.gallery__item{margin:0 0 var(--spacer-2)}.gallery__item:before{display:none}.gallery__item--video{font-size:var(--font-size);padding:var(--spacer-2) 0}.gallery__item--video i,.gallery__item--video svg{color:var(--primary-light);margin-right:var(--spacer-1)}.gallery__item--video>span{display:inline}}.gallery__stage{flex:1;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.gallery__thumb,.gallery__thumb img{display:none}@media(min-width:992px){.gallery__thumb,.gallery__thumb img{display:block;height:auto;width:100%}}.gallery__open{display:none}@media(min-width:992px){.gallery__open{display:inline-block;font-size:var(--font-size-lg);font-weight:var(--font-bold);margin-bottom:var(--spacer-2);padding:0 var(--spacer-2)}}.gallery__big-image{cursor:zoom-in}.gallery img{-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp{-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:none;overflow:hidden;position:absolute;top:0;touch-action:none;width:100%;z-index:1999}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:grab}.pswp--dragging .pswp__img{cursor:grabbing}.pswp__bg{-webkit-backface-visibility:hidden;background:#000;opacity:0;transform:translateZ(0)}.pswp__bg,.pswp__scroll-wrap{height:100%;left:0;position:absolute;top:0;width:100%}.pswp__scroll-wrap{overflow:hidden}.pswp__container,.pswp__zoom-wrap{bottom:0;left:0;position:absolute;right:0;top:0;touch-action:none}.pswp__container,.pswp__img{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pswp__zoom-wrap{position:absolute;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1);width:100%}.pswp__bg{transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__container,.pswp__zoom-wrap{-webkit-backface-visibility:hidden}.pswp__item{bottom:0;overflow:hidden;right:0}.pswp__img,.pswp__item{left:0;position:absolute;top:0}.pswp__img{height:auto;width:auto}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:#222}.pswp--ie .pswp__img{height:auto!important;left:0;top:0;width:100%!important}.pswp__error-msg{color:#ccc;font-size:14px;left:0;line-height:16px;margin-top:-8px;position:absolute;text-align:center;top:50%;width:100%}.pswp__error-msg a{color:#ccc;text-decoration:underline}/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */.pswp__button{-webkit-appearance:none;background:none;border:0;box-shadow:none;cursor:pointer;display:block;float:right;height:44px;margin:0;opacity:.75;overflow:visible;padding:0;position:relative;transition:opacity .2s;width:44px}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{opacity:.9;outline:none}.pswp__button::-moz-focus-inner{border:0;padding:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp__button,.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.png) 0 0 no-repeat;background-size:264px 88px;height:44px;width:44px}@media(-webkit-min-device-pixel-ratio:1.09375),(-webkit-min-device-pixel-ratio:1.1),(min-resolution:1.1dppx),(min-resolution:105dpi){.pswp--svg .pswp__button,.pswp--svg .pswp__button--arrow--left:before,.pswp--svg .pswp__button--arrow--right:before{background-image:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.svg)}.pswp--svg .pswp__button--arrow--left,.pswp--svg .pswp__button--arrow--right{background:none}}.pswp__button--close{background-position:0 -44px}.pswp__button--share{background-position:-44px -44px}.pswp__button--fs{display:none}.pswp--supports-fs .pswp__button--fs{display:block}.pswp--fs .pswp__button--fs{background-position:-44px 0}.pswp__button--zoom{background-position:-88px 0;display:none}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{background:none;height:100px;margin-top:-50px;position:absolute;top:50%;width:70px}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__button--arrow--left:before,.pswp__button--arrow--right:before{background-color:rgba(0,0,0,.3);content:\\\"\\\";height:30px;position:absolute;top:35px;width:32px}.pswp__button--arrow--left:before{background-position:-138px -44px;left:6px}.pswp__button--arrow--right:before{background-position:-94px -44px;right:6px}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;user-select:none}.pswp__share-modal{-webkit-backface-visibility:hidden;background:rgba(0,0,0,.5);display:block;height:100%;left:0;opacity:0;padding:10px;position:absolute;top:0;transition:opacity .25s ease-out;width:100%;will-change:opacity;z-index:2099}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{-webkit-backface-visibility:hidden;background:#fff;border-radius:2px;box-shadow:0 2px 5px rgba(0,0,0,.25);display:block;position:absolute;right:44px;top:56px;transform:translateY(6px);transition:transform .25s;width:auto;will-change:transform;z-index:2119}.pswp__share-tooltip a{display:block;font-size:14px;line-height:18px;padding:8px 12px}.pswp__share-tooltip a,.pswp__share-tooltip a:hover{color:#000;text-decoration:none}.pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{padding:16px 12px}a.pswp__share--facebook:before{border:6px solid transparent;border-bottom-color:#fff;content:\\\"\\\";display:block;height:0;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none;position:absolute;right:15px;top:-12px;width:0}a.pswp__share--facebook:hover{background:#3e5c9a;color:#fff}a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}a.pswp__share--twitter:hover{background:#55acee;color:#fff}a.pswp__share--pinterest:hover{background:#ccc;color:#ce272d}a.pswp__share--download:hover{background:#ddd}.pswp__counter{color:#fff;font-size:13px;height:44px;left:0;line-height:44px;opacity:.75;padding:0 10px;position:absolute;top:0}.pswp__caption{bottom:0;left:0;min-height:44px;position:absolute;width:100%}.pswp__caption small{color:#bbb;font-size:11px}.pswp__caption__center{color:#ccc;font-size:13px;line-height:20px;margin:0 auto;max-width:420px;padding:10px;text-align:left}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__preloader{direction:ltr;height:44px;left:50%;margin-left:-22px;opacity:0;position:absolute;top:0;transition:opacity .25s ease-out;width:44px;will-change:opacity}.pswp__preloader__icn{height:20px;margin:12px;width:20px}.pswp__preloader--active{opacity:1}.pswp__preloader--active .pswp__preloader__icn{background:url(https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/preloader.gif) 0 0 no-repeat}.pswp--css_animation .pswp__preloader--active{opacity:1}.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{animation:clockwise .5s linear infinite}.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{animation:donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.pswp--css_animation .pswp__preloader__icn{background:none;height:14px;left:15px;margin:0;opacity:.75;position:absolute;top:15px;width:14px}.pswp--css_animation .pswp__preloader__cut{height:14px;overflow:hidden;position:relative;width:7px}.pswp--css_animation .pswp__preloader__donut{background:none;border-color:#fff #fff transparent transparent;border-radius:50%;border-style:solid;border-width:2px;box-sizing:border-box;height:14px;left:0;margin:0;position:absolute;top:0;width:14px}@media screen and (max-width:1024px){.pswp__preloader{float:right;left:auto;margin:0;position:relative;top:auto}}@keyframes clockwise{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.pswp__ui{-webkit-font-smoothing:auto;opacity:1;visibility:visible;z-index:2049}.pswp__top-bar{height:44px;left:0;position:absolute;top:0;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__caption,.pswp__top-bar{background-color:rgba(0,0,0,.5)}.pswp__ui--fit .pswp__caption,.pswp__ui--fit .pswp__top-bar{background-color:rgba(0,0,0,.3)}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:none}@media(min-width:992px){.pswp__caption__center{text-align:center}}.pswp .btn{bottom:20px;position:fixed;right:20px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".quantity-selector__btn-container{min-width:7rem}.quantity-selector__btn-container button{max-width:28px}.quantity-selector__item{align-items:center;display:flex;margin-bottom:var(--spacer-2)}.quantity-selector__item .btn{box-shadow:none;text-decoration:none}.quantity-selector__input{max-width:2.5rem;padding-left:var(--spacer-1);padding-right:var(--spacer-1);text-align:center}.quantity-selector__label{font-size:var(--font-size-sm);line-height:var(--line-height-sm);margin-left:var(--spacer-1)}.quantity-selector .alert{margin-bottom:0;margin-top:var(--spacer-3);max-width:300px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".shipping-line>strong{display:inline-block;min-width:120px}.shipping-line>span{display:inline-block}.shipping-line>small{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--text-muted);display:block;display:-webkit-box;line-height:var(--line-height-sm);overflow:hidden}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".shipping-calculator__input{max-width:150px}.shipping-calculator__services{font-size:var(--font-size-sm);max-width:370px}.shipping-calculator__services .active{cursor:auto}.shipping-calculator__option{display:flex;justify-content:space-between;width:100%}.shipping-calculator__option>small{min-width:70px;text-align:right}@media(min-width:1200px){.shipping-calculator__option{display:block;position:relative}.shipping-calculator__option>small{position:absolute;right:-5px;top:-5px}}.shipping-calculator__free-from-value{margin-top:var(--spacer-2)}.shipping-calculator__free-from-value .progress{height:1.5rem;margin-top:var(--spacer-1)}.shipping-calculator__free-from-value .progress-bar{background-color:var(--info)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".payment-option>.row{align-items:center}.payment-option:not(:first-of-type){margin-top:var(--spacer-2)}.payment-option__icon{height:auto;max-width:100%}.payment-option__label{font-size:var(--font-size-lg);font-weight:var(--font-light)}.payment-option__price{font-weight:var(--font-bold)}.payment-option__discount{font-size:var(--font-size);text-transform:lowercase}.payment-option__discount-value{text-transform:none}.payment-option__installment{font-size:var(--font-size-sm);margin-bottom:0}.payment-option__installment>li{display:flex;justify-content:space-between}.payment-option small{text-transform:lowercase}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./TheProduct.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".product__sku{color:var(--text-muted);font-size:var(--font-size-sm)}.product__buy{cursor:pointer;margin-bottom:var(--spacer-3)}.product__out-of-stock,.product__unavailable,.product__without-price{color:var(--warning);font-size:var(--font-size-lg);font-weight:var(--font-bold);margin-bottom:var(--spacer-3)}.product__discount{color:var(--success)}.product__short-stock{background:rgba(var(--info-rgb),.2);border-radius:var(--border-radius-sm);display:inline-block;font-weight:var(--font-light);padding:var(--spacer-1) var(--spacer-3);text-transform:lowercase}.product__production i,.product__production svg,.product__short-stock i,.product__short-stock svg{color:var(--info)}.product__production strong{text-transform:lowercase}.product__payment>a{align-items:center;display:flex;justify-content:space-between}.product__free-shipping-from{color:var(--secondary);font-size:var(--font-size)}.product__sticky{background:var(--body-bg);bottom:0;box-shadow:var(--box-shadow-lg);left:0;padding:var(--spacer-2) var(--spacer-3);position:fixed;width:100%;z-index:500}.product__sticky-container{align-items:center;display:flex;justify-content:space-between;padding:0}.product__sticky a{margin-left:var(--spacer-3);padding:var(--spacer-2) var(--spacer-5);white-space:nowrap}.product__sticky .prices{align-items:center;display:flex;gap:var(--spacer-2);position:relative;white-space:nowrap}.product__sticky-picture{width:auto}.product__sticky-picture img{max-height:70px;width:auto}.product__sticky-info{align-items:center;display:flex}.product__sticky-info h5{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;margin:0 var(--spacer-3);overflow:hidden;text-overflow:ellipsis}.product__sticky-buy{display:flex}.product__favorite i{color:var(--red);opacity:.4}.product__favorite i.active{opacity:1}.product__favorite i.active+span{color:var(--text-muted)}.product__sale-timer{align-items:center;background-color:var(--secondary-light);border-radius:var(--border-radius);color:var(--secondary-light-yiq);display:flex;justify-content:center;line-height:1.2;max-width:300px;padding:var(--spacer-2);text-align:center;text-transform:uppercase;width:100%}.product__sale-timer small{text-transform:lowercase}@media(max-width:768px){.product__sticky-info{display:none}}@media(max-width:992px){.product__sticky-buy{width:100%}.product__sticky .btn{margin-left:0;width:100%}.product__sticky .prices{display:none}}.offers-variation-notification{margin:-1rem 0 1rem}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../node_modules/vue-style-loader/index.js!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??ref--2-2!../../../../node_modules/sass-loader/dist/cjs.js!./ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&external\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".product-quickview__box{border-radius:0;left:0;max-height:100vh;overflow-y:auto;position:fixed;top:0;width:100vw;z-index:1090}@media(min-width:576px){.product-quickview__box{border-radius:var(--border-radius);margin-left:5vw;margin-top:5vh;max-height:90vh;width:90vw}}.product-quickview__loading{padding:var(--spacer-5);text-align:center}.product-quickview__loading .spinner-border{height:5rem;width:5rem}.product-quickview__btn-redirect{display:block;margin:var(--spacer-4) auto var(--spacer-5);max-width:400px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('portal',{attrs:{\"selector\":(\"#\" + _vm.portalId)}},[_c('div',{staticClass:\"product-quickview\"},[_c('a-backdrop',{attrs:{\"is-visible\":_vm.isVisible},on:{\"hide\":_vm.hide}}),_c('transition',{attrs:{\"enter-active-class\":\"animated zoomIn\",\"leave-active-class\":\"animated fadeOutUp slow\"}},[(_vm.isVisible)?_c('div',{staticClass:\"product-quickview__box card\"},[_vm._t(\"header\",function(){return [_c('div',{staticClass:\"product-quickview__header card-header\"},[_vm._v(\" \"+_vm._s(_vm.productName)+\" \"),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"aria-label\":_vm.i19close},on:{\"click\":_vm.hide}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])]}),_c('div',{staticClass:\"product-quickview__body card-body\"},[(!_vm.productName)?_c('div',{staticClass:\"product-quickview__loading\"},[_c('div',{staticClass:\"spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])])]):_vm._e(),_c('div',{staticClass:\"container\"},[_c('the-product',{attrs:{\"is-quickview\":\"\",\"product-id\":_vm.productId,\"product\":_vm.product},on:{\"update:product\":_vm.setProduct,\"buy\":_vm.hide}})],1),(_vm.productName)?_c('a',{staticClass:\"product-quickview__btn-redirect btn btn-secondary\",attrs:{\"href\":_vm.productLink}},[_vm._v(\" \"+_vm._s(_vm.i19seeMoreInfo)+\" \")]):_vm._e()])],2):_vm._e()])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default (results, order) => {\n return results.sort((a, b) => {\n if (a.app_id === b.app_id) {\n return 0\n }\n const indexA = order.indexOf(a.app_id)\n const indexB = order.indexOf(b.app_id)\n return indexA > -1\n ? indexB > -1\n ? indexA < indexB ? -1 : 1\n : indexA > -1 ? -1 : 1\n : indexB > -1 ? 1 : 0\n })\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./AAlert.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./AAlert.js?vue&type=script&lang=js&external\"","import { i19close } from '@ecomplus/i18n'\nimport { i18n } from '@ecomplus/utils'\n\nexport default {\n name: 'AAlert',\n\n props: {\n canShow: {\n type: Boolean,\n default: true\n },\n variant: {\n type: String,\n default: 'warning'\n }\n },\n\n data () {\n return {\n count: 1\n }\n },\n\n computed: {\n i19close: () => i18n(i19close)\n },\n\n watch: {\n canShow (canShow) {\n if (canShow) {\n this.count++\n }\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/AAlert.html?vue&type=template&id=37f51dc8&lang=html&external\"\nimport script from \"./js/AAlert.js?vue&type=script&lang=js&external\"\nexport * from \"./js/AAlert.js?vue&type=script&lang=js&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInDown fast\"}},[(_vm.canShow)?_c('div',{key:_vm.count},[_vm._m(0)]):_vm._e()])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"alert alert-dismissible fade show\",class:(\"alert-\" + _vm.variant),attrs:{\"role\":\"alert\"}},[_vm._t(\"default\"),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"data-dismiss\":\"alert\",\"aria-label\":_vm.i19close},on:{\"click\":function($event){return _vm.$emit('dismiss')}}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])],2)}]\n\nexport { render, staticRenderFns }","import {\n i19email,\n i19on,\n i19share\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\nimport { ShareNetwork } from 'vue-social-sharing'\n\nconst shareNetworks = [\n {\n network: 'whatsapp',\n name: 'WhatsApp',\n icon: 'i-whatsapp',\n color: '#25d366'\n },\n {\n network: 'facebook',\n name: 'Facebook',\n icon: 'i-facebook',\n color: '#1877f2'\n },\n {\n network: 'twitter',\n name: 'Twitter',\n icon: 'i-twitter',\n color: '#1da1f2'\n },\n {\n network: 'telegram',\n name: 'Telegram',\n icon: 'i-telegram',\n color: '#0088cc'\n },\n {\n network: 'pinterest',\n name: 'Pinterest',\n icon: 'i-pinterest',\n color: '#bd081c'\n },\n {\n network: 'email',\n name: 'Email',\n icon: 'i-envelope',\n color: '#333333'\n },\n {\n network: 'sms',\n name: 'SMS',\n color: '#333333'\n }\n]\n\nexport default {\n name: 'TheProduct',\n\n components: {\n ShareNetwork\n },\n\n props: {\n url: {\n type: String,\n required: true\n },\n title: String,\n description: String\n },\n\n computed: {\n i19email: () => i18n(i19email),\n i19on: () => i18n(i19on).toLowerCase(),\n i19share: () => i18n(i19share),\n shareNetworks: () => shareNetworks,\n\n localUrl () {\n if (typeof window === 'object' && !this.url.startsWith('http')) {\n return `https://${window.location.hostname}${this.url}`\n }\n return this.url\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./AShare.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./AShare.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./html/AShare.html?vue&type=template&id=318e7576&lang=html&external\"\nimport script from \"./js/AShare.js?vue&type=script&lang=js&external\"\nexport * from \"./js/AShare.js?vue&type=script&lang=js&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.shareNetworks),function(ref,i){\nvar network = ref.network;\nvar icon = ref.icon;\nvar name = ref.name;\nvar color = ref.color;\nreturn _c('share-network',{key:network,class:(\"btn share share--\" + network + \" px-2\"),attrs:{\"tag\":\"button\",\"network\":network,\"url\":_vm.localUrl,\"title\":_vm.title,\"description\":_vm.description,\"aria-label\":(_vm.i19share + \" \" + _vm.i19on + \" \" + name)}},[(icon)?_c('i',{class:icon,style:((\"color: \" + color))}):_c('strong',{style:((\"color: \" + color))},[_vm._v(\" \"+_vm._s(name)+\" \")]),(i === 0)?[_c('span',{staticClass:\"ml-1 d-none d-xl-inline-block\"},[_vm._v(\" \"+_vm._s((_vm.i19share + \" \" + _vm.i19on + \" \" + name))+\" \")])]:_vm._e()],2)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductVariations.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductVariations.js?vue&type=script&lang=js&external\"","import {\n i19select,\n i19selectVariation\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n specValueByText as getSpecValueByText,\n specTextValue as getSpecTextValue,\n variationsGrids as getVariationsGrids,\n gridTitle as getGridTitle\n} from '@ecomplus/utils'\n\nexport default {\n name: 'ProductVariations',\n\n props: {\n product: {\n type: Object,\n required: true\n },\n selectedId: String,\n maxOptionsBtns: {\n type: Number,\n default: 6\n },\n gridsData: {\n type: Array,\n default () {\n if (typeof window === 'object' && window.storefront && window.storefront.data) {\n return window.storefront.data.grids\n }\n }\n }\n },\n\n data () {\n return {\n selectedOptions: {},\n filteredGrids: {}\n }\n },\n\n computed: {\n i19select: () => i18n(i19select),\n i19selectVariation: () => i18n(i19selectVariation),\n\n variationsGrids () {\n return getVariationsGrids(this.product)\n },\n\n orderedGrids () {\n return Object.keys(this.variationsGrids)\n },\n\n variationFromUrl () {\n if (typeof window === 'object') {\n const urlParams = new URLSearchParams(window.location.search)\n const variationId = urlParams.get('variation_id')\n if (variationId) {\n return variationId\n }\n }\n return null\n }\n },\n\n methods: {\n getColorOptionBg (optionText) {\n const rgbs = optionText.split(',').map(colorName => {\n return getSpecValueByText(this.product.variations, colorName.trim(), 'colors')\n })\n return rgbs.length > 1\n ? `background:linear-gradient(to right bottom, ${rgbs[0]} 50%, ${rgbs[1]} 50%)`\n : `background:${rgbs[0]}`\n },\n\n getSpecValue (optionText, grid) {\n const { variations } = this.product\n let values\n if (grid === 'colors') {\n const colorNames = optionText.split(',')\n if (colorNames.length > 1) {\n values = []\n colorNames.forEach(color => {\n values.push(getSpecValueByText(variations, color.trim(), grid))\n })\n }\n }\n return values || getSpecValueByText(variations, optionText, grid)\n },\n\n getGridTitle (grid) {\n return getGridTitle(grid, this.gridsData)\n },\n\n selectOption (optionText, grid, gridIndex) {\n const { product, selectedOptions, orderedGrids } = this\n this.$set(selectedOptions, grid, optionText)\n this.$emit('select-option', {\n gridId: grid,\n gridIndex,\n optionText\n })\n const filterGrids = {}\n for (let i = 0; i <= gridIndex; i++) {\n const grid = orderedGrids[i]\n if (selectedOptions[grid]) {\n filterGrids[grid] = selectedOptions[grid]\n }\n }\n const nextFilteredGrids = getVariationsGrids(product, filterGrids, true)\n for (let i = gridIndex + 1; i < orderedGrids.length; i++) {\n const grid = orderedGrids[i]\n const options = nextFilteredGrids[grid]\n this.filteredGrids[grid] = options\n if (selectedOptions[grid] && !options.includes(selectedOptions[grid])) {\n this.$set(selectedOptions, grid, undefined)\n }\n }\n const variations = product.variations.slice(0)\n for (let i = 0; i < variations.length; i++) {\n const variation = variations[i]\n const { specifications } = variation\n for (const grid in specifications) {\n if (selectedOptions[grid] !== getSpecTextValue(variation, grid)) {\n variations.splice(i, 1)\n i--\n break\n }\n }\n }\n this.$emit('update:selected-id', variations.length ? variations[0]._id : null)\n }\n },\n\n watch: {\n 'product.variations': {\n handler () {\n this.filteredGrids = getVariationsGrids(this.product, null, true)\n },\n deep: true,\n immediate: true\n }\n },\n\n mounted () {\n if (this.variationFromUrl && Array.isArray(this.product.variations)) {\n const selectedVariation = this.product.variations.find(variation => variation._id === this.variationFromUrl)\n if (selectedVariation) {\n const { specifications } = selectedVariation\n const specs = Object.keys(specifications)\n const nextSpec = (specIndex = 0) => {\n const spec = specs[specIndex]\n if (specs[specIndex] && specifications[spec] && specifications[spec].length === 1) {\n const specText = specifications[spec][0].text\n if (this.variationsGrids[spec].find(option => option === specText)) {\n this.$nextTick(() => {\n this.selectOption(specText, spec, this.orderedGrids.indexOf(spec))\n nextSpec(specIndex + 1)\n })\n }\n }\n }\n nextSpec()\n }\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductVariations.html?vue&type=template&id=2b27c5d8&lang=html&external\"\nimport script from \"./js/ProductVariations.js?vue&type=script&lang=js&external\"\nexport * from \"./js/ProductVariations.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/ProductVariations.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.product.variations)?_c('div',{staticClass:\"variations\"},_vm._l((_vm.variationsGrids),function(options,grid,index){return (_vm.filteredGrids[grid])?_c('div',{class:(\"variations__grid variations__grid--\" + grid)},[_c('div',{staticClass:\"mb-2\"},[_c('span',{staticClass:\"variations__grid-title h5\"},[_vm._v(\" \"+_vm._s(_vm.getGridTitle(grid))+\" \")]),(_vm.selectedOptions[grid])?_c('span',{key:\"success\",staticClass:\"variations__value variations__value\"},[_c('i',{staticClass:\"i-check mr-1\"}),_vm._v(\" \"+_vm._s(_vm.selectedOptions[grid])+\" \")]):_c('span',{staticClass:\"variations__value variations__value--empty\"},[_c('i',{staticClass:\"i-arrow-down mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19selectVariation)+\" \")])]),(options.length <= _vm.maxOptionsBtns)?_vm._l((options),function(optionText){return _c('button',{staticClass:\"variations__option btn btn-light\",class:[\n _vm.selectedOptions[grid] === optionText ? 'variations__option--selected' : null, \n (\"variations__option--\" + optionText), \n _vm.filteredGrids[grid].includes(optionText) ? null : 'disabled'\n ],style:(grid === 'colors' ? _vm.getColorOptionBg(optionText) : null),on:{\"click\":function($event){return _vm.selectOption(optionText, grid, index)}}},[_vm._v(\" \"+_vm._s(optionText)+\" \")])}):_c('select',{staticClass:\"variations__select custom-select\",on:{\"change\":function ($event) { return _vm.selectOption($event.target.value, grid, index); }}},[_c('option',{domProps:{\"selected\":!_vm.selectedOptions[grid]}},[_vm._v(\" \"+_vm._s(_vm.i19select)+\"... \")]),_vm._l((options),function(optionText){return _c('option',{attrs:{\"disabled\":!_vm.filteredGrids[grid].includes(optionText)},domProps:{\"value\":optionText,\"selected\":_vm.selectedOptions[grid] === optionText}},[_vm._v(\" \"+_vm._s(optionText)+\" \")])})],2)],2):_vm._e()}),0):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./KitProductVariations.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./KitProductVariations.js?vue&type=script&lang=js&external\"","import {\n i19addToCart,\n i19close,\n i19next,\n i19previous,\n i19quantity,\n i19selectVariationMsg,\n i19item,\n i19minQuantity,\n i19maxQuantity\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n name as getName,\n img as getImg,\n randomObjectId as genRandomObjectId\n} from '@ecomplus/utils'\n\nimport ecomCart from '@ecomplus/shopping-cart'\nimport Glide from '@glidejs/glide'\nimport APicture from '../APicture.vue'\nimport ProductVariations from '../ProductVariations.vue'\nimport APrices from '../APrices.vue'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.vue'\n\nexport default {\n name: 'KitProductVariations',\n\n components: {\n ALink,\n AAlert,\n APicture,\n APrices,\n ProductVariations\n },\n\n props: {\n items: {\n type: Array,\n required: true\n },\n min: {\n type: Number,\n default: 1\n },\n max: Number,\n maxOptionsBtns: {\n type: Number,\n default: 10\n },\n slug: String,\n buyText: String,\n kitProductId: String,\n kitName: String,\n kitPrice: Number,\n canAddToCart: {\n type: Boolean,\n default: true\n },\n glideOptions: {\n type: Object,\n default () {\n return {\n type: 'slider',\n autoplay: false,\n rewind: false\n }\n }\n }\n },\n\n data () {\n return {\n glide: null,\n activeIndex: 0,\n selectedVariationId: null,\n variationKit: [],\n variationKitReady: [],\n alertVariant: 'warning'\n }\n },\n\n computed: {\n i19addToCart: () => i18n(i19addToCart),\n i19close: () => i18n(i19close),\n i19next: () => i18n(i19next),\n i19previous: () => i18n(i19previous),\n i19selectVariationMsg: () => i18n(i19selectVariationMsg),\n i19quantity: () => i18n(i19quantity),\n i19item: () => i18n(i19item),\n i19minQuantity: () => i18n(i19minQuantity),\n i19maxQuantity: () => i18n(i19maxQuantity),\n\n localItems () {\n const products = []\n for (let index = 0; index < this.items.length; index++) {\n if (this.items && this.items.length === this.min) {\n const itemObject = Object.assign({}, this.items[index])\n itemObject.key = genRandomObjectId()\n products.push(itemObject)\n } else {\n for (let i = 0; i < this.min; i++) {\n const itemObject = Object.assign({}, this.items[index])\n itemObject.key = genRandomObjectId()\n products.push(itemObject)\n }\n }\n }\n return products\n }\n\n },\n\n methods: {\n getImg,\n getName,\n\n moveSlider (index) {\n this.activeIndex = index\n if (this.glide) {\n this.glide.go('=' + index)\n }\n },\n\n removeItemFromKit (index) {\n this.variationKit.splice(index, 1)\n this.localItems[index].key = genRandomObjectId()\n this.selectedVariationId = null\n this.variationKitReady = this.variationKit.filter(n => n)\n },\n\n buy () {\n this.alertVariant = 'warning'\n if (this.variationKitReady.length === this.min) {\n if (this.max === undefined || this.variationKitReady.length <= this.max) {\n const items = []\n const composition = []\n this.variationKitReady.forEach(variationId => {\n const product = this.items.find(item => {\n const variation = item.variations.find(variation => variation._id === variationId)\n if (variation) {\n items.push({\n ...item,\n ...variation,\n variation_id: variation._id\n })\n return item\n }\n })\n if (product) {\n composition.push({\n _id: product.product_id,\n variation_id: variationId,\n quantity: 1\n })\n }\n })\n\n items.forEach(item => {\n const newItem = { ...item, quantity: 1 }\n delete newItem.customizations\n if (this.kitProductId) {\n newItem.kit_product = {\n _id: this.kitProductId,\n name: this.kitName,\n pack_quantity: this.min,\n price: this.kitPrice,\n composition\n }\n }\n if (this.slug) {\n newItem.slug = this.slug\n }\n if (this.canAddToCart) {\n ecomCart.addItem(newItem)\n }\n })\n this.$emit('buy', { items })\n }\n }\n }\n },\n\n watch: {\n activeIndex (index, oldIndex) {\n if (index < this.localItems.length && index > -1) {\n this.moveSlider(index)\n } else {\n this.moveSlider(oldIndex)\n }\n this.selectedVariationId = null\n },\n\n selectedVariationId (current) {\n if (current && this.activeIndex >= 0 && (this.variationKitReady.length < this.min || this.variationKit[this.activeIndex])) {\n this.variationKit[this.activeIndex] = current\n this.variationKitReady = this.variationKit.filter(n => n)\n }\n }\n },\n\n mounted () {\n const glide = new Glide(this.$refs.glide, this.glideOptions)\n glide.on('run', () => {\n this.moveSlider(glide.index)\n })\n glide.mount()\n this.glide = glide\n },\n\n beforeDestroy () {\n if (this.glide) {\n this.glide.destroy()\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/KitProductVariations.html?vue&type=template&id=76c35600&lang=html&external\"\nimport script from \"./js/KitProductVariations.js?vue&type=script&lang=js&external\"\nexport * from \"./js/KitProductVariations.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/KitProductVariations.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"kit-product-variations\"},[_c('div',{ref:\"glide\",staticClass:\"glide\"},[_c('div',{staticClass:\"glide__track\",attrs:{\"data-glide-el\":\"track\"}},[_c('ul',{staticClass:\"glide__slides kit-product-variations__list\"},_vm._l((_vm.localItems),function(item,index){return _c('li',{staticClass:\"glide__slide\"},[(_vm.variationKit[_vm.activeIndex])?_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"aria-label\":_vm.i19close},on:{\"click\":function($event){return _vm.removeItemFromKit(_vm.activeIndex)}}},[_c('i',{staticClass:\"i-times-circle\"})]):_vm._e(),_c('div',{staticClass:\"kit-product-variations__item\"},[_c('div',{staticClass:\"kit-product-variations__item-head\"},[_c('div',{staticClass:\"kit-product-variations__picture\"},[_c('a-picture',{staticClass:\"gallery__big-image\",attrs:{\"src\":_vm.getImg(item, null, 'normal')}})],1),_c('div',{staticClass:\"kit-product-variations__info\"},[_c('h2',[_vm._v(_vm._s(_vm.getName(item)))]),_c('b',[_vm._v(_vm._s(_vm.i19quantity)+\": 1 \")])])]),_vm._t(\"variations\",function(){return [_c('product-variations',{key:item.key,class:_vm.variationKit[_vm.activeIndex] || _vm.variationKitReady.length < _vm.max\n ? 'kit-product-variations--show'\n : 'kit-product-variations--hide',attrs:{\"product\":item,\"selected-id\":_vm.selectedVariationId,\"max-options-btns\":_vm.maxOptionsBtns},on:{\"update:selectedId\":function($event){_vm.selectedVariationId=$event},\"update:selected-id\":function($event){_vm.selectedVariationId=$event}}}),(_vm.variationKitReady.length === _vm.max && !_vm.variationKit[_vm.activeIndex])?_c('a-alert',{attrs:{\"can-show\":_vm.variationKitReady.length === _vm.max,\"variant\":_vm.alertVariant}},[_vm._v(\" \"+_vm._s(_vm.i19maxQuantity)+\": \"),_c('strong',[_vm._v(_vm._s(_vm.max))])]):_vm._e(),_vm._t(\"variations-info\")]})],2)])}),0)]),_c('div',{staticClass:\"glide__pagination\"},[_c('span',{staticClass:\"glide__pagination--current\"},[_vm._v(_vm._s(_vm.activeIndex + 1))]),_c('span',{staticClass:\"glide__pagination--total\"},[_vm._v(\"/ \"+_vm._s(_vm.localItems.length))])])]),_c('div',{staticClass:\"kit-product-variations__actions\"},[_c('button',{staticClass:\"btn btn-block btn-primary\",on:{\"click\":function($event){_vm.activeIndex++}}},[_c('span',[_vm._v(_vm._s(_vm.i19next)+\" \"+_vm._s(_vm.i19item))])]),_c('button',{staticClass:\"btn btn-block btn-outline-secondary\",on:{\"click\":function($event){_vm.activeIndex--}}},[_c('span',[_vm._v(_vm._s(_vm.i19item)+\" \"+_vm._s(_vm.i19previous))])])]),_c('div',{staticClass:\"kit-product-variations__buy\"},[_vm._t(\"buy\",function(){return [_c('button',{staticClass:\"btn btn-lg btn-primary my-3\",attrs:{\"type\":\"button\",\"disabled\":_vm.variationKitReady.length !== _vm.min},on:{\"click\":_vm.buy}},[_vm._t(\"buy-button-content\",function(){return [_c('i',{staticClass:\"i-shopping-bag mr-1\"})]})],2)]},null,{ variationKit: _vm.variationKit })],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductGallery.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductGallery.js?vue&type=script&lang=js&external\"","import {\n i19addToCart,\n i19close,\n i19fullscreen,\n i19openGallery,\n i19next,\n i19previous,\n i19share,\n i19shareOnFacebook,\n i19video\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n name as getName,\n img as getImg\n} from '@ecomplus/utils'\n\nimport ecomCart from '@ecomplus/shopping-cart'\nimport Glide from '@glidejs/glide'\nimport APicture from '../APicture.vue'\n\nexport default {\n name: 'ProductGallery',\n\n components: {\n APicture\n },\n\n props: {\n product: {\n type: Object,\n default () {\n return {\n pictures: [],\n videos: []\n }\n }\n },\n pictures: Array,\n video: Object,\n videoAspectRatio: {\n type: String,\n default: '16by9'\n },\n canAddToCart: {\n type: Boolean,\n default: true\n },\n currentSlide: {\n type: Number,\n default: 1\n },\n glideOptions: {\n type: Object,\n default () {\n return {\n type: 'slider',\n autoplay: false,\n rewind: false\n }\n }\n },\n isSSR: Boolean\n },\n\n data () {\n return {\n glide: null,\n pswp: null,\n activeIndex: null,\n isSliderMoved: false,\n elFirstPicture: null,\n zoomLinkStyle: null\n }\n },\n\n computed: {\n i19addToCart: () => i18n(i19addToCart),\n i19close: () => i18n(i19close),\n i19fullscreen: () => i18n(i19fullscreen),\n i19next: () => i18n(i19next),\n i19previous: () => i18n(i19previous),\n i19openGallery: () => i18n(i19openGallery),\n i19share: () => i18n(i19share),\n i19video: () => i18n(i19video),\n\n localPictures () {\n return this.pictures && this.pictures.length\n ? this.pictures\n : (this.product.pictures || [])\n },\n\n videoSrc () {\n const video = this.video || (this.product.videos && this.product.videos[0])\n if (video && video.url) {\n return video.url.replace(/watch\\?v=(V7XQvAde51w)/i, 'embed/$1?rel=0')\n }\n return null\n },\n\n pswpItems () {\n const pswpItems = []\n this.localPictures.forEach(({ zoom }) => {\n if (zoom) {\n let w, h\n if (zoom.size) {\n const sizes = zoom.size.split('x')\n if (sizes.length === 2) {\n w = parseInt(sizes[0], 10)\n h = parseInt(sizes[1], 10)\n }\n }\n if (!w || !h) {\n w = h = 1000\n }\n pswpItems.push({\n src: zoom.url,\n title: getName(this.product) || zoom.alt,\n w,\n h\n })\n }\n })\n return pswpItems\n },\n\n pswpOptions () {\n return {\n shareButtons: [\n {\n id: 'facebook',\n label: i18n(i19shareOnFacebook),\n url: 'https://www.facebook.com/sharer/sharer.php?u={{url}}'\n },\n {\n id: 'twitter',\n label: 'Tweet',\n url: 'https://twitter.com/intent/tweet?text={{text}}&url={{url}}'\n },\n {\n id: 'pinterest',\n label: 'Pin it',\n url: 'http://www.pinterest.com/pin/create/button/' +\n '?url={{url}}&media={{image_url}}&description={{text}}'\n }\n ]\n }\n }\n },\n\n methods: {\n getImg,\n\n moveSlider (index) {\n this.activeIndex = index\n this.$emit('update:current-slide', index + 1)\n if (this.glide) {\n this.glide.go('=' + index)\n }\n if (!this.isSliderMoved) {\n this.isSliderMoved = true\n }\n },\n\n openZoom (index) {\n this.zoomLinkStyle = 'cursor: wait'\n return import(/* webpackPrefetch: true */ 'photoswipe')\n .then(pack => {\n const PhotoSwipe = pack.default\n return import(/* webpackPrefetch: true */ 'photoswipe/dist/photoswipe-ui-default').then(pack => {\n const psUi = pack.default\n this.pswp = new PhotoSwipe(this.$refs.pswp, psUi, this.pswpItems, {\n ...this.pswpOptions,\n index\n })\n this.pswp.init()\n })\n })\n .catch(console.error)\n .finally(() => {\n this.zoomLinkStyle = null\n })\n },\n\n buy () {\n const { product } = this\n this.$emit('buy', { product })\n if (product.variations && product.variations.length) {\n if (window.location.pathname !== `/${product.slug}`) {\n window.location = `/${product.slug}`\n } else {\n window.location = '#variations'\n }\n } else {\n ecomCart.addProduct(product)\n }\n if (this.pswp) {\n this.pswp.close()\n }\n }\n },\n\n watch: {\n currentSlide: {\n handler (currentSlide) {\n this.activeIndex = currentSlide - 1\n },\n immediate: true\n },\n\n activeIndex (index) {\n this.moveSlider(index)\n }\n },\n\n mounted () {\n if (this.isSSR) {\n this.elFirstPicture = document.querySelector('#product-gallery .product__picture')\n if (this.elFirstPicture) {\n this.$nextTick(() => {\n this.$refs.firstPicture[0].appendChild(this.elFirstPicture)\n })\n }\n }\n const glide = new Glide(this.$refs.glide, this.glideOptions)\n glide.on('run', () => {\n this.moveSlider(glide.index)\n })\n glide.mount()\n this.glide = glide\n },\n\n beforeDestroy () {\n if (this.glide) {\n this.glide.destroy()\n }\n if (this.pswp) {\n this.pswp.destroy()\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductGallery.html?vue&type=template&id=d1e24158&lang=html&external\"\nimport script from \"./js/ProductGallery.js?vue&type=script&lang=js&external\"\nexport * from \"./js/ProductGallery.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/ProductGallery.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"gallery\"},[_c('div',{staticClass:\"gallery__thumbs\"},[(_vm.videoSrc)?_c('div',{staticClass:\"gallery__item gallery__item--video\",class:{ 'gallery__item--selected': _vm.localPictures.length === _vm.activeIndex },on:{\"click\":function($event){_vm.activeIndex = _vm.localPictures.length}}},[_c('i',{staticClass:\"i-play\"}),_c('span',[_vm._v(_vm._s(_vm.i19video))])]):_vm._e(),_vm._l((_vm.localPictures),function(picture,i){return _c('div',{key:'img-' + i,staticClass:\"gallery__item\",class:{ 'gallery__item--selected': i === _vm.activeIndex },on:{\"click\":function($event){_vm.activeIndex = i}}},[(i < 4)?_c('a-picture',{staticClass:\"gallery__thumb\",attrs:{\"src\":_vm.getImg(picture, null, 'small')}}):_vm._e()],1)}),(_vm.localPictures.length > 4)?_c('button',{staticClass:\"gallery__open btn btn-dark\",style:(_vm.zoomLinkStyle),attrs:{\"type\":\"button\",\"title\":_vm.i19openGallery},on:{\"click\":function($event){$event.preventDefault();return _vm.openZoom(4)}}},[_vm._v(\" +\"+_vm._s(_vm.localPictures.length - 4)+\" \")]):_vm._e()],2),_c('div',{staticClass:\"gallery__stage\"},[_c('div',{ref:\"glide\",staticClass:\"glide\"},[_c('div',{staticClass:\"glide__track\",attrs:{\"data-glide-el\":\"track\"}},[_c('ul',{staticClass:\"glide__slides\"},[_vm._l((_vm.localPictures),function(picture,i){return _c('li',{key:'slide-' + i,staticClass:\"glide__slide\"},[_c('div',{on:{\"click\":function($event){return _vm.openZoom(i)}}},[(i === 0 && !_vm.isSliderMoved)?_vm._t(\"default\",function(){return [(!_vm.elFirstPicture)?_c('a-picture',{staticClass:\"gallery__big-image\",style:(_vm.zoomLinkStyle),attrs:{\"src\":_vm.getImg(picture, null, 'big')}}):_c('div',{ref:\"firstPicture\",refInFor:true,staticClass:\"gallery__big-image\",style:(_vm.zoomLinkStyle)})]}):_c('a-picture',{staticClass:\"gallery__big-image\",attrs:{\"src\":_vm.getImg(picture, null, 'big')}})],2)])}),(_vm.videoSrc)?_c('li',{key:'slide-' + _vm.localPictures.length,staticClass:\"glide__slide\"},[_c('div',{staticClass:\"embed-responsive\",class:(\"embed-responsive-\" + _vm.videoAspectRatio)},[(_vm.activeIndex === _vm.localPictures.length)?_c('div',{staticClass:\"spinner-border text-primary\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])]):_vm._e(),(_vm.activeIndex === _vm.localPictures.length)?_c('iframe',{staticClass:\"embed-responsive-item\",attrs:{\"src\":_vm.videoSrc,\"allowfullscreen\":\"\"}}):_vm._e()])]):_vm._e()],2)])])]),_vm._m(4)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__container\"},[_c('div',{staticClass:\"pswp__item\"}),_c('div',{staticClass:\"pswp__item\"}),_c('div',{staticClass:\"pswp__item\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__preloader\"},[_c('div',{staticClass:\"pswp__preloader__icn\"},[_c('div',{staticClass:\"pswp__preloader__cut\"},[_c('div',{staticClass:\"pswp__preloader__donut\"})])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\"},[_c('div',{staticClass:\"pswp__share-tooltip\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp__caption\"},[_c('div',{staticClass:\"pswp__caption__center\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"pswp\",staticClass:\"pswp\",attrs:{\"tabindex\":\"-1\",\"role\":\"dialog\",\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"pswp__bg\"}),_c('div',{staticClass:\"pswp__scroll-wrap\"},[_vm._m(0),_c('div',{staticClass:\"pswp__ui pswp__ui--hidden\"},[_c('div',{staticClass:\"pswp__top-bar\"},[_c('div',{staticClass:\"pswp__counter\"}),_c('button',{staticClass:\"pswp__button pswp__button--close\",attrs:{\"title\":(_vm.i19close + \" (Esc)\")}}),_c('button',{staticClass:\"pswp__button pswp__button--share\",attrs:{\"title\":_vm.i19share}}),_c('button',{staticClass:\"pswp__button pswp__button--fs\",attrs:{\"title\":_vm.i19fullscreen}}),_c('button',{staticClass:\"pswp__button pswp__button--zoom\",attrs:{\"title\":\"Zoom in/out\"}}),_vm._m(1)]),_vm._m(2),_c('button',{staticClass:\"pswp__button pswp__button--arrow--left\",attrs:{\"title\":_vm.i19previous}}),_c('button',{staticClass:\"pswp__button pswp__button--arrow--right\",attrs:{\"title\":_vm.i19next}}),_vm._m(3),(_vm.canAddToCart)?_c('button',{staticClass:\"btn btn-success\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.buy}},[_c('i',{staticClass:\"i-shopping-cart\"}),_c('span',{staticClass:\"d-none d-md-inline ml-1\"},[_vm._v(\" \"+_vm._s(_vm.i19addToCart)+\" \")])]):_vm._e()])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./QuantitySelector.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./QuantitySelector.js?vue&type=script&lang=js&external\"","import {\n i19buyKit,\n i19maxQuantity,\n i19minQuantity\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\n\nimport ecomCart from '@ecomplus/shopping-cart'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.vue'\n\nexport default {\n name: 'QuantitySelector',\n\n components: {\n ALink,\n AAlert\n },\n\n props: {\n items: {\n type: Array,\n required: true\n },\n min: {\n type: Number,\n default: 1\n },\n max: Number,\n slug: String,\n buyText: String,\n kitProductId: String,\n kitName: String,\n kitPrice: Number,\n canAddToCart: {\n type: Boolean,\n default: true\n },\n hasBuyButton: {\n type: Boolean,\n default: true\n }\n },\n\n data () {\n return {\n selectedQnts: this.items.reduce((selectedQnts, item) => {\n selectedQnts[item._id] = item.quantity || 0\n return selectedQnts\n }, {}),\n hasMinAlert: false,\n hasMaxAlert: false,\n alertVariant: 'warning'\n }\n },\n\n computed: {\n i19maxQuantity: () => i18n(i19maxQuantity),\n i19minQuantity: () => i18n(i19minQuantity),\n\n totalQuantity () {\n let total = 0\n const { selectedQnts } = this\n Object.keys(selectedQnts).forEach(key => {\n if (selectedQnts[key]) {\n total += selectedQnts[key]\n }\n })\n return total\n },\n\n remainingQuantity () {\n return this.max\n ? this.max - this.totalQuantity\n : 9999999\n },\n\n strBuy () {\n return this.buyText || i18n(i19buyKit)\n }\n },\n\n methods: {\n checkInStock (item) {\n const maxQuantity = item.max_quantity\n return typeof maxQuantity === 'number' && maxQuantity >= 0\n ? maxQuantity\n : 9999999\n },\n\n changeQnt (item, qntDiff, ev) {\n const { selectedQnts, remainingQuantity } = this\n const lastQnt = selectedQnts[item._id]\n let newQnt\n if (qntDiff) {\n newQnt = selectedQnts[item._id] + qntDiff\n } else if (ev) {\n selectedQnts[item._id] = ev.target.value.replace(/\\D/g, '')\n newQnt = parseInt(selectedQnts[item._id], 10)\n }\n if (this.items.length === 1 && this.min > newQnt) {\n newQnt = this.min\n }\n if (newQnt > 0) {\n if (item.min_quantity > newQnt) {\n newQnt = item.min_quantity\n } else {\n const itemMaxQnt = item.max_quantity !== undefined ? item.max_quantity : 9999999\n const maxQnt = Math.min(itemMaxQnt, lastQnt + remainingQuantity)\n if (maxQnt < newQnt) {\n this.alertVariant = 'info'\n this.hasMaxAlert = true\n newQnt = maxQnt\n }\n }\n selectedQnts[item._id] = newQnt\n } else {\n selectedQnts[item._id] = 0\n }\n this.$emit('set-quantity', {\n item,\n quantity: selectedQnts[item._id]\n })\n },\n\n buy () {\n this.alertVariant = 'warning'\n if (this.totalQuantity >= this.min) {\n if (this.max === undefined || this.totalQuantity <= this.max) {\n const items = []\n const composition = this.items.map(item => ({\n _id: item.product_id,\n variation_id: item.variation_id,\n quantity: this.selectedQnts[item._id]\n }))\n this.items.forEach(item => {\n const quantity = this.selectedQnts[item._id]\n if (quantity > 0) {\n const newItem = { ...item, quantity }\n delete newItem.customizations\n if (this.kitProductId) {\n newItem.kit_product = {\n _id: this.kitProductId,\n name: this.kitName,\n pack_quantity: this.totalQuantity,\n price: this.kitPrice,\n composition\n }\n }\n if (this.slug) {\n newItem.slug = this.slug\n }\n items.push(newItem)\n if (this.canAddToCart) {\n ecomCart.addItem(newItem)\n }\n }\n })\n this.$emit('buy', { items })\n } else {\n this.hasMaxAlert = true\n }\n } else {\n this.hasMinAlert = true\n }\n }\n },\n\n created () {\n if (this.max < this.items.length) {\n this.items.forEach(item => this.changeQnt(item))\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/QuantitySelector.html?vue&type=template&id=239bc742&lang=html&external\"\nimport script from \"./js/QuantitySelector.js?vue&type=script&lang=js&external\"\nexport * from \"./js/QuantitySelector.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/QuantitySelector.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"quantity-selector\"},[_vm._l((_vm.items),function(item){return _c('div',{staticClass:\"quantity-selector__item\"},[_c('div',{staticClass:\"row quantity-selector__btn-container\"},[_c('button',{staticClass:\"btn btn-sm btn-link col-sm-3\",attrs:{\"type\":\"button\",\"disabled\":item.min_quantity >= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, -1)}}},[_c('i',{staticClass:\"i-chevron-down\"})]),_c('input',{staticClass:\"form-control quantity-selector__input col-sm-6\",attrs:{\"type\":\"tel\",\"disabled\":!_vm.checkInStock(item),\"readonly\":item.min_quantity && item.min_quantity === item.max_quantity},domProps:{\"value\":_vm.selectedQnts[item._id]},on:{\"change\":function (ev) { return _vm.changeQnt(item, null, ev); },\"keyup\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"])){ return null; }return _vm.changeQnt(item, 1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"])){ return null; }return _vm.changeQnt(item, -1)}]}}),_c('button',{staticClass:\"btn btn-sm btn-link col-sm-3\",attrs:{\"type\":\"button\",\"disabled\":item.max_quantity <= _vm.selectedQnts[item._id]},on:{\"click\":function($event){return _vm.changeQnt(item, 1)}}},[_c('i',{staticClass:\"i-chevron-up\"})])]),_c('span',{staticClass:\"quantity-selector__label\"},[_vm._t(\"default\",function(){return [(item.slug)?_c('a-link',{attrs:{\"target\":\"_blank\",\"href\":(\"/\" + (item.slug)),\"title\":item.name}},[_vm._v(\" \"+_vm._s(item.name)+\" \")]):[_vm._v(\" \"+_vm._s(item.name)+\" \")]]},null,{ item: item })],2)])}),_c('a-alert',{attrs:{\"can-show\":_vm.hasMinAlert}},[_vm._v(\" \"+_vm._s(_vm.i19minQuantity)+\": \"),_c('strong',[_vm._v(_vm._s(_vm.min))])]),_c('a-alert',{attrs:{\"can-show\":_vm.hasMaxAlert,\"variant\":_vm.alertVariant}},[_vm._v(\" \"+_vm._s(_vm.i19maxQuantity)+\": \"),_c('strong',[_vm._v(_vm._s(_vm.max))])]),(_vm.hasBuyButton)?_c('div',{staticClass:\"quantity-selector__buy\"},[_vm._t(\"buy\",function(){return [_c('button',{staticClass:\"btn btn-lg btn-primary my-3\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.buy}},[_vm._t(\"buy-button-content\",function(){return [_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ selectedQnts: _vm.selectedQnts, buy: _vm.buy })],2):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingLine.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingLine.js?vue&type=script&lang=js&external\"","import {\n i19days,\n i19free,\n i19freeShipping,\n i19pickUpToday,\n i19receiveToday,\n i19untilTomorrow,\n i19upTo,\n i19workingDays\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n formatMoney\n} from '@ecomplus/utils'\n\nexport default {\n name: 'ShippingLine',\n\n props: {\n shippingLine: {\n type: Object,\n required: true\n },\n productionDeadline: {\n type: Number,\n default: 0\n }\n },\n\n computed: {\n deadlineStr () {\n const shipping = this.shippingLine\n const isWorkingDays = (shipping.posting_deadline && shipping.posting_deadline.working_days) ||\n (shipping.delivery_time && shipping.delivery_time.working_days)\n let days = shipping.posting_deadline ? shipping.posting_deadline.days : 0\n if (shipping.delivery_time) {\n days += shipping.delivery_time.days\n }\n days += this.productionDeadline\n if (days > 1) {\n return `${i18n(i19upTo)} ${days} ` +\n i18n(isWorkingDays ? i19workingDays : i19days).toLowerCase()\n }\n return i18n(days === 1\n ? i19untilTomorrow\n : shipping.pick_up ? i19pickUpToday : i19receiveToday)\n },\n\n freightValueStr () {\n const { shippingLine } = this\n const freight = typeof shippingLine.total_price === 'number'\n ? shippingLine.total_price\n : shippingLine.price\n if (freight) {\n return formatMoney(freight)\n } else {\n return i18n(shippingLine.pick_up ? i19free : i19freeShipping)\n }\n }\n }\n}\n","import { render, staticRenderFns } from \"./html/ShippingLine.html?vue&type=template&id=254bda9c&lang=html&external\"\nimport script from \"./js/ShippingLine.js?vue&type=script&lang=js&external\"\nexport * from \"./js/ShippingLine.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/ShippingLine.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shipping-line\"},[_c('strong',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(_vm.deadlineStr)+\" \")]),_c('span',{staticClass:\"mr-2\"},[_vm._v(\" \"+_vm._s(_vm.freightValueStr)+\" \")]),(_vm.shippingLine.delivery_instructions)?_c('small',[_vm._v(\" \"+_vm._s(_vm.shippingLine.delivery_instructions)+\" \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\n i19add$1ToEarn,\n i19calculateShipping,\n i19freeShipping,\n i19zipCode\n} from '@ecomplus/i18n'\n\nimport {\n $ecomConfig,\n i18n,\n price as getPrice,\n formatMoney\n} from '@ecomplus/utils'\n\nimport { modules } from '@ecomplus/client'\nimport sortApps from './helpers/sort-apps'\nimport CleaveInput from 'vue-cleave-component'\nimport ShippingLine from '../ShippingLine.vue'\n\nconst localStorage = typeof window === 'object' && window.localStorage\nconst zipStorageKey = 'shipping-to-zip'\n\nconst reduceItemBody = itemOrProduct => {\n const shippedItem = {}\n ;[\n 'product_id',\n 'variation_id',\n 'sku',\n 'name',\n 'quantity',\n 'inventory',\n 'currency_id',\n 'currency_symbol',\n 'price',\n 'final_price',\n 'dimensions',\n 'weight'\n ].forEach(field => {\n if (itemOrProduct[field] !== undefined) {\n shippedItem[field] = itemOrProduct[field]\n }\n })\n return shippedItem\n}\n\nexport default {\n name: 'ShippingCalculator',\n\n components: {\n CleaveInput,\n ShippingLine\n },\n\n props: {\n zipCode: String,\n canSelectServices: Boolean,\n canInputZip: {\n type: Boolean,\n default: true\n },\n countryCode: {\n type: String,\n default: $ecomConfig.get('country_code')\n },\n shippedItems: {\n type: Array,\n default () {\n return []\n }\n },\n shippingResult: {\n type: Array,\n default () {\n return []\n }\n },\n shippingData: {\n type: Object,\n default () {\n return {}\n }\n },\n skipAppIds: Array,\n shippingAppsSort: {\n type: Array,\n default () {\n return window.ecomShippingApps || []\n }\n }\n },\n\n data () {\n return {\n localZipCode: null,\n localShippedItems: [],\n amountSubtotal: null,\n shippingServices: [],\n selectedService: null,\n hasPaidOption: false,\n freeFromValue: null,\n isScheduled: false,\n retryTimer: null,\n isWaiting: false,\n hasCalculated: false\n }\n },\n\n computed: {\n i19add$1ToEarn: () => i18n(i19add$1ToEarn),\n i19calculateShipping: () => i18n(i19calculateShipping),\n i19zipCode: () => i18n(i19zipCode),\n i19freeShipping: () => i18n(i19freeShipping).toLowerCase(),\n\n cleaveOptions () {\n return this.countryCode === 'BR'\n ? { blocks: [5, 3], delimiter: '-' }\n : { blocks: [30] }\n },\n\n freeFromPercentage () {\n return this.hasPaidOption && this.amountSubtotal < this.freeFromValue\n ? Math.round(this.amountSubtotal * 100 / this.freeFromValue)\n : null\n },\n\n productionDeadline () {\n let maxDeadline = 0\n this.shippedItems.forEach(item => {\n if (item.quantity && item.production_time) {\n const { days, cumulative } = item.production_time\n const itemDeadline = cumulative ? days * item.quantity : days\n if (itemDeadline > maxDeadline) {\n maxDeadline = itemDeadline\n }\n }\n })\n return maxDeadline\n }\n },\n\n methods: {\n formatMoney,\n\n updateZipCode () {\n this.$emit('update:zip-code', this.localZipCode)\n },\n\n parseShippingOptions (shippingResult = [], isRetry = false) {\n this.freeFromValue = null\n this.shippingServices = []\n if (shippingResult.length) {\n shippingResult.forEach(appResult => {\n const { validated, error, response } = appResult\n if (!validated || error) {\n return\n }\n if (\n this.skipAppIds &&\n this.skipAppIds.includes(appResult.app_id) &&\n shippingResult.filter(({ app_id: appId }) => !this.skipAppIds.includes(appId)).length\n ) {\n return\n }\n response.shipping_services.forEach(service => {\n this.shippingServices.push({\n app_id: appResult.app_id,\n ...service\n })\n })\n const freeShippingFromValue = response.free_shipping_from_value\n if (\n freeShippingFromValue &&\n (!this.freeFromValue || this.freeFromValue > freeShippingFromValue)\n ) {\n this.freeFromValue = freeShippingFromValue\n }\n })\n if (!this.shippingServices.length) {\n if (!isRetry) {\n this.fetchShippingServices(true)\n } else {\n this.scheduleRetry()\n }\n } else {\n this.shippingServices = this.shippingServices.sort((a, b) => {\n const priceDiff = a.shipping_line.total_price - b.shipping_line.total_price\n return priceDiff < 0\n ? -1\n : priceDiff > 0\n ? 1\n : a.shipping_line.delivery_time && b.shipping_line.delivery_time &&\n a.shipping_line.delivery_time.days < b.shipping_line.delivery_time.days\n ? -1\n : 1\n })\n this.setSelectedService(0)\n this.hasPaidOption = Boolean(this.shippingServices.find(service => {\n return service.shipping_line.total_price || service.shipping_line.price\n }))\n if (Array.isArray(this.shippingAppsSort) && this.shippingAppsSort.length) {\n this.shippingServices = sortApps(this.shippingServices, this.shippingAppsSort)\n }\n }\n }\n },\n\n scheduleRetry (timeout = 10000) {\n clearTimeout(this.retryTimer)\n this.retryTimer = setTimeout(() => {\n if (this.localZipCode && !this.shippingServices.length && this.shippedItems.length) {\n this.fetchShippingServices(true)\n }\n }, timeout)\n },\n\n fetchShippingServices (isRetry) {\n if (!this.isScheduled) {\n this.isScheduled = true\n setTimeout(() => {\n this.isScheduled = false\n const { storeId } = this\n let url = '/calculate_shipping.json'\n if (this.skipAppIds && this.skipAppIds.length) {\n url += '?skip_ids='\n this.skipAppIds.forEach((appId, i) => {\n if (i > 0) url += ','\n url += `${appId}`\n })\n }\n const method = 'POST'\n const data = {\n ...this.shippingData,\n to: {\n zip: this.localZipCode,\n ...this.shippingData.to\n }\n }\n if (this.localShippedItems.length) {\n data.items = this.localShippedItems\n data.subtotal = this.amountSubtotal\n }\n this.isWaiting = true\n modules({ url, method, storeId, data })\n .then(({ data }) => this.parseShippingOptions(data.result, isRetry))\n .catch(err => {\n if (!isRetry) {\n this.scheduleRetry(4000)\n }\n console.error(err)\n })\n .finally(() => {\n this.hasCalculated = true\n this.isWaiting = false\n })\n }, this.hasCalculated ? 150 : 50)\n }\n },\n\n submitZipCode () {\n this.updateZipCode()\n if (localStorage) {\n localStorage.setItem(zipStorageKey, this.localZipCode)\n }\n this.fetchShippingServices()\n },\n\n setSelectedService (i) {\n if (this.canSelectServices) {\n this.$emit('select-service', this.shippingServices[i])\n this.selectedService = i\n }\n }\n },\n\n watch: {\n shippedItems: {\n handler () {\n setTimeout(() => {\n this.localShippedItems = this.shippedItems.map(reduceItemBody)\n const { amountSubtotal } = this\n this.amountSubtotal = this.shippedItems.reduce((subtotal, item) => {\n return subtotal + getPrice(item) * item.quantity\n }, 0)\n if (\n this.hasCalculated &&\n (this.canSelectServices || amountSubtotal !== this.amountSubtotal ||\n (!this.shippingServices.length && !this.isWaiting))\n ) {\n this.fetchShippingServices()\n }\n }, 50)\n },\n deep: true,\n immediate: true\n },\n\n localZipCode (zipCode) {\n if (this.countryCode === 'BR' && zipCode.replace(/\\D/g, '').length === 8) {\n this.submitZipCode()\n }\n },\n\n zipCode: {\n handler (zipCode) {\n if (zipCode) {\n this.localZipCode = zipCode\n }\n },\n immediate: true\n },\n\n skipAppIds () {\n this.fetchShippingServices()\n },\n\n shippingResult: {\n handler (result) {\n if (result.length) {\n this.parseShippingOptions(result)\n }\n },\n immediate: true\n }\n },\n\n created () {\n if (!this.zipCode && localStorage) {\n const storedZip = localStorage.getItem(zipStorageKey)\n if (storedZip) {\n this.localZipCode = storedZip\n }\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingCalculator.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ShippingCalculator.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./html/ShippingCalculator.html?vue&type=template&id=118f910e&lang=html&external\"\nimport script from \"./js/ShippingCalculator.js?vue&type=script&lang=js&external\"\nexport * from \"./js/ShippingCalculator.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/ShippingCalculator.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shipping-calculator\"},[(_vm.canInputZip)?_c('form',{staticClass:\"shipping-calculator__form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submitZipCode.apply(null, arguments)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"shipping-calculator-zip\"}},[_vm._v(\" \"+_vm._s(_vm.i19calculateShipping)+\" \")]),_c('div',{staticClass:\"input-group\"},[_c('cleave-input',{staticClass:\"form-control shipping-calculator__input\",attrs:{\"type\":\"tel\",\"id\":\"shipping-calculator-zip\",\"placeholder\":_vm.i19zipCode,\"aria-label\":_vm.i19zipCode,\"options\":_vm.cleaveOptions},model:{value:(_vm.localZipCode),callback:function ($$v) {_vm.localZipCode=$$v},expression:\"localZipCode\"}}),_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"type\":\"submit\",\"aria-label\":_vm.i19calculateShipping}},[_c('i',{staticClass:\"i-shipping-fast\"})])])],1)])]):_vm._e(),_c('div',{staticClass:\"shipping-calculator__services\"},[_c('transition-group',{attrs:{\"enter-active-class\":\"animated fadeInDown\",\"leave-active-class\":\"animated position-absolute fadeOutUp\"}},[(_vm.isWaiting)?_c('div',{key:\"waiting\",staticClass:\"spinner-border spinner-border-sm\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])]):_c('div',{key:\"services\",staticClass:\"list-group\"},_vm._l((_vm.shippingServices),function(service,i){return _c(_vm.canSelectServices ? 'a' : 'div',{key:i,tag:\"component\",staticClass:\"list-group-item\",class:{\n 'list-group-item-action': _vm.canSelectServices,\n active: _vm.canSelectServices && _vm.selectedService === i\n },attrs:{\"href\":_vm.canSelectServices && '#'},on:{\"click\":function($event){$event.preventDefault();return _vm.setSelectedService(i)}}},[_c('span',{staticClass:\"shipping-calculator__option\"},[_vm._t(\"option\",function(){return [_c('shipping-line',{attrs:{\"shipping-line\":service.shipping_line,\"production-deadline\":_vm.productionDeadline,\"data-service-code\":service.service_code}}),_c('small',[_vm._v(_vm._s(service.label))])]},null,{ service: service })],2)])}),1)]),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\",\"leave-active-class\":\"animated fadeOutDown\"}},[(_vm.freeFromPercentage)?_c('div',{staticClass:\"shipping-calculator__free-from-value\"},[_vm._t(\"free-from-value\",function(){return [_c('span',[_vm._v(\" \"+_vm._s(_vm.i19add$1ToEarn.replace('$1', _vm.formatMoney(_vm.freeFromValue - _vm.amountSubtotal)))+\" \"),_c('strong',[_vm._v(_vm._s(_vm.i19freeShipping))])]),(_vm.freeFromPercentage >= 33)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped\",style:((\"width: \" + _vm.freeFromPercentage + \"%\")),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.freeFromPercentage,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.i19freeShipping)+\" \"),_c('i',{staticClass:\"i-truck mx-1\"}),_c('strong',[_vm._v(_vm._s(_vm.freeFromPercentage)+\"%\")])])])]):_vm._e()]},null,{ amountSubtotal: _vm.amountSubtotal, freeFromValue: _vm.freeFromValue, freeFromPercentage: _vm.freeFromPercentage })],2):_vm._e()])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./PaymentOption.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./PaymentOption.js?vue&type=script&lang=js&external\"","import {\n i19atSight,\n i19interestFree,\n i19of,\n i19ofDiscount,\n i19onFreight\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n formatMoney\n} from '@ecomplus/utils'\n\nexport default {\n name: 'PaymentOption',\n\n props: {\n paymentGateway: {\n type: Object,\n required: true\n },\n installmentsOption: Object,\n price: Number\n },\n\n computed: {\n i19atSight: () => i18n(i19atSight),\n i19interestFree: () => i18n(i19interestFree),\n i19of: () => i18n(i19of),\n i19ofDiscount: () => i18n(i19ofDiscount),\n i19onFreight: () => i18n(i19onFreight),\n\n discount () {\n if (this.paymentGateway.discount && this.paymentGateway.discount.value > 0) {\n return this.paymentGateway.discount\n }\n },\n\n installmentOptions () {\n if (\n this.paymentGateway.installment_options &&\n this.paymentGateway.installment_options.length\n ) {\n return this.paymentGateway.installment_options.concat().sort((a, b) => {\n return a.number - b.number\n })\n } else if (\n this.price &&\n this.installmentsOption &&\n this.paymentGateway.payment_method.code === 'credit_card'\n ) {\n const installmentOptions = []\n for (let number = 2; number <= this.installmentsOption.max_number; number++) {\n const tax = this.installmentsOption.monthly_interest > 0\n const minInstallment = this.installmentsOption.min_installment || 5\n let value\n if (!tax) {\n value = this.price / number\n } else {\n const interest = this.installmentsOption.monthly_interest / 100\n value = this.price * interest / (1 - Math.pow(1 + interest, -number))\n }\n if (value >= minInstallment) {\n installmentOptions.push({\n number,\n value,\n tax\n })\n }\n }\n return installmentOptions\n }\n },\n\n priceWithDiscount () {\n if (this.price && this.discount && this.discount.apply_at !== 'freight') {\n if (this.discount.type === 'percentage') {\n return this.price * (100 - this.discount.value) / 100\n } else {\n const finalPrice = this.price - this.discount.value\n return (finalPrice > 0 ? finalPrice : 0)\n }\n }\n return this.price\n }\n },\n\n methods: {\n formatMoney\n }\n}\n","import { render, staticRenderFns } from \"./html/PaymentOption.html?vue&type=template&id=3043e380&lang=html&external\"\nimport script from \"./js/PaymentOption.js?vue&type=script&lang=js&external\"\nexport * from \"./js/PaymentOption.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/PaymentOption.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"payment-option\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg\"},[(_vm.paymentGateway.icon)?_c('img',{staticClass:\"payment-option__icon\",attrs:{\"src\":_vm.paymentGateway.icon}}):_c('div',{staticClass:\"payment-option__label\"},[_vm._v(\" \"+_vm._s(_vm.paymentGateway.label)+\" \")])]),(_vm.discount || _vm.installmentOptions)?_c('div',{staticClass:\"payment-option__details col-lg-6 col-xl-5 mt-1 mt-lg-0\"},[(_vm.price)?_c('div',{staticClass:\"payment-option__price\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(_vm.priceWithDiscount))+\" \"),_c('small',[_vm._v(_vm._s(_vm.i19atSight))])]):_vm._e(),(_vm.discount)?_c('span',{staticClass:\"payment-option__discount badge badge-success\"},[(_vm.discount.type === 'percentage')?[_vm._v(\" \"+_vm._s(_vm.discount.value)+\"% \")]:_c('span',{staticClass:\"payment-option__discount-value\"},[_vm._v(\" \"+_vm._s(_vm.formatMoney(_vm.discount.value))+\" \")]),_vm._v(\" \"+_vm._s(_vm.i19ofDiscount)+\" \"),(_vm.discount.apply_at === 'freight')?[_vm._v(\" \"+_vm._s(_vm.i19onFreight)+\" \")]:_vm._e()],2):_vm._e(),(_vm.installmentOptions)?_c('ul',{staticClass:\"payment-option__installment list-unstyled\"},_vm._l((_vm.installmentOptions),function(ref){\nvar number = ref.number;\nvar value = ref.value;\nvar tax = ref.tax;\nreturn (number > 1)?_c('li',[_c('span',[_vm._v(\" \"+_vm._s((number + \"x\"))+\" \"),_c('small',[_vm._v(_vm._s(_vm.i19of))]),_vm._v(\" \"+_vm._s(_vm.formatMoney(value))+\" \")]),(!tax)?_c('small',[_vm._v(\" \"+_vm._s(_vm.i19interestFree)+\" \")]):_vm._e()]):_vm._e()}),0):_vm._e()]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\n i19addToFavorites,\n i19buy,\n i19close,\n i19days,\n i19discountOf,\n i19endsIn,\n i19freeShippingFrom,\n i19loadProductErrorMsg,\n i19offer,\n i19only,\n i19outOfStock,\n i19paymentOptions,\n i19perUnit,\n i19productionDeadline,\n i19removeFromFavorites,\n i19retry,\n i19selectVariationMsg,\n i19unavailable,\n i19units,\n i19unitsInStock,\n i19workingDays\n} from '@ecomplus/i18n'\n\nimport {\n i18n,\n randomObjectId as genRandomObjectId,\n name as getName,\n inStock as checkInStock,\n onPromotion as checkOnPromotion,\n price as getPrice,\n img as getImg,\n variationsGrids as getVariationsGrids,\n specTextValue as getSpecTextValue,\n specValueByText as getSpecValueByText,\n formatMoney,\n $ecomConfig\n} from '@ecomplus/utils'\n\nimport { store, modules } from '@ecomplus/client'\nimport EcomSearch from '@ecomplus/search-engine'\nimport ecomCart from '@ecomplus/shopping-cart'\nimport { isMobile } from '@ecomplus/storefront-twbs'\nimport lozad from 'lozad'\nimport sortApps from './helpers/sort-apps'\nimport addIdleCallback from './helpers/add-idle-callback'\nimport scrollToElement from './helpers/scroll-to-element'\nimport { Portal } from '@linusborg/vue-simple-portal'\nimport ALink from '../ALink.vue'\nimport AAlert from '../AAlert.vue'\nimport APicture from '../APicture.vue'\nimport APrices from '../APrices.vue'\nimport AShare from '../AShare.vue'\nimport ProductVariations from '../ProductVariations.vue'\nimport KitProductVariations from '../KitProductVariations.vue'\nimport ProductGallery from '../ProductGallery.vue'\nimport QuantitySelector from '../QuantitySelector.vue'\nimport ShippingCalculator from '../ShippingCalculator.vue'\nimport PaymentOption from '../PaymentOption.vue'\nimport ecomPassport from '@ecomplus/passport-client'\nimport { toggleFavorite, checkFavorite } from './helpers/favorite-products'\n\nconst storefront = (typeof window === 'object' && window.storefront) || {}\nconst getContextBody = () => (storefront.context && storefront.context.body) || {}\nconst getContextId = () => getContextBody()._id\n\nconst sanitizeProductBody = body => {\n const product = Object.assign({}, body)\n delete product.body_html\n delete product.body_text\n delete product.specifications\n delete product.inventory_records\n delete product.price_change_records\n return product\n}\n\nexport default {\n name: 'TheProduct',\n\n components: {\n Portal,\n ALink,\n AAlert,\n APicture,\n APrices,\n AShare,\n KitProductVariations,\n ProductVariations,\n ProductGallery,\n QuantitySelector,\n ShippingCalculator,\n PaymentOption\n },\n\n props: {\n productId: {\n type: String,\n default () {\n return getContextId()\n }\n },\n product: Object,\n headingTag: {\n type: String,\n default: 'h1'\n },\n buyText: String,\n galleryColClassName: {\n type: String,\n default: 'col-12 col-md-6'\n },\n hasPromotionTimer: Boolean,\n hasStickyBuyButton: {\n type: Boolean,\n default: true\n },\n hasQuantitySelector: Boolean,\n canAddToCart: {\n type: Boolean,\n default: true\n },\n hasBuyButton: {\n type: Boolean,\n default: true\n },\n lowQuantityToWarn: {\n type: Number,\n default: 12\n },\n maxVariationOptionsBtns: Number,\n isQuickview: Boolean,\n paymentAppsSort: {\n type: Array,\n default () {\n return window.ecomPaymentApps || []\n }\n },\n quoteLink: String,\n isSSR: Boolean,\n ecomPassport: {\n type: Object,\n default () {\n return ecomPassport\n }\n },\n accountUrl: {\n type: String,\n default: '/app/#/account/'\n }\n },\n\n data () {\n return {\n body: {},\n fixedPrice: null,\n selectedVariationId: null,\n currentGalleyImg: 1,\n isOnCart: false,\n qntToBuy: 1,\n isStickyBuyVisible: false,\n isFavorite: false,\n hasClickedBuy: false,\n hasLoadError: false,\n paymentOptions: [],\n customizations: [],\n kitItems: [],\n currentTimer: null\n }\n },\n\n computed: {\n i19addToFavorites: () => i18n(i19addToFavorites),\n i19close: () => i18n(i19close),\n i19days: () => i18n(i19days),\n i19discountOf: () => i18n(i19discountOf),\n i19endsIn: () => i18n(i19endsIn),\n i19freeShippingFrom: () => i18n(i19freeShippingFrom),\n i19loadProductErrorMsg: () => i18n(i19loadProductErrorMsg),\n i19offer: () => i18n(i19offer),\n i19only: () => i18n(i19only),\n i19outOfStock: () => i18n(i19outOfStock),\n i19paymentOptions: () => i18n(i19paymentOptions),\n i19perUnit: () => i18n(i19perUnit),\n i19productionDeadline: () => i18n(i19productionDeadline),\n i19removeFromFavorites: () => i18n(i19removeFromFavorites),\n i19retry: () => i18n(i19retry),\n i19selectVariationMsg: () => i18n(i19selectVariationMsg),\n i19unavailable: () => i18n(i19unavailable),\n i19quoteProduct: () => 'Cotar produto',\n i19units: () => i18n(i19units).toLowerCase(),\n i19unitsInStock: () => i18n(i19unitsInStock),\n i19workingDays: () => i18n(i19workingDays),\n\n selectedVariation () {\n return this.selectedVariationId\n ? this.body.variations.find(({ _id }) => _id === this.selectedVariationId)\n : {}\n },\n\n name () {\n return this.selectedVariation.name || getName(this.body)\n },\n\n isInStock () {\n return checkInStock(this.body)\n },\n\n isWithoutPrice () {\n return !getPrice(this.body)\n },\n\n isVariationInStock () {\n return checkInStock(this.selectedVariationId ? this.selectedVariation : this.body)\n },\n\n isLogged () {\n return ecomPassport.checkAuthorization()\n },\n\n thumbnail () {\n return getImg(this.body, null, 'small')\n },\n\n productQuantity () {\n if (this.selectedVariation.quantity) {\n return this.selectedVariation.quantity\n } else if (this.body.quantity) {\n return this.body.quantity\n }\n },\n\n isLowQuantity () {\n return this.productQuantity > 0 && this.lowQuantityToWarn > 0 &&\n this.productQuantity <= this.lowQuantityToWarn\n },\n\n strBuy () {\n return this.buyText || i18n(i19buy)\n },\n\n discount () {\n const { body } = this\n const priceValue = this.fixedPrice || getPrice(body)\n return checkOnPromotion(body) || (body.price > priceValue)\n ? Math.round(((body.base_price - priceValue) * 100) / body.base_price)\n : 0\n },\n\n isOnSale () {\n const { body } = this\n return this.hasPromotionTimer &&\n checkOnPromotion(body) &&\n body.price_effective_date &&\n body.price_effective_date.end &&\n Date.now() < new Date(body.price_effective_date.end).getTime()\n },\n\n ghostProductForPrices () {\n const prices = {}\n ;['price', 'base_price'].forEach(field => {\n let price = this.selectedVariation[field] || this.body[field]\n if (price !== undefined) {\n this.customizations.forEach(customization => {\n if (customization.add_to_price) {\n price += this.getAdditionalPrice(customization.add_to_price)\n }\n })\n }\n prices[field] = price\n })\n const ghostProduct = { ...this.body }\n if (this.selectedVariationId) {\n Object.assign(ghostProduct, this.selectedVariation)\n delete ghostProduct.variations\n }\n return {\n ...ghostProduct,\n ...prices\n }\n },\n\n hasVariations () {\n return this.body.variations && this.body.variations.length\n },\n\n isKit () {\n return this.body.kit_composition && this.body.kit_composition.length\n },\n\n isKitWithVariations () {\n return this.kitItems.some(item => item.variations && item.variations.length)\n }\n },\n\n methods: {\n getVariationsGrids,\n getSpecValueByText,\n\n setBody (data) {\n this.body = {\n ...data,\n body_html: '',\n body_text: '',\n inventory_records: []\n }\n this.$emit('update:product', data)\n },\n\n fetchProduct (isRetry = false) {\n const { productId } = this\n return store({\n url: `/products/${productId}.json`,\n axiosConfig: {\n timeout: isRetry ? 2500 : 6000\n }\n })\n .then(({ data }) => {\n this.setBody(data)\n if (getContextId() === productId) {\n storefront.context.body = this.body\n }\n this.hasLoadError = false\n })\n .catch(err => {\n console.error(err)\n const { response } = err\n if (!response || !(response.status >= 400 && response.status < 500)) {\n if (!isRetry) {\n this.fetchProduct(true)\n } else {\n this.setBody(getContextBody())\n if (!this.body.name || !this.body.price || !this.body.pictures) {\n this.hasLoadError = true\n }\n }\n }\n })\n },\n\n getAdditionalPrice ({ type, addition }) {\n return type === 'fixed'\n ? addition\n : getPrice(this.body) * addition / 100\n },\n\n formatAdditionalPrice (addToPrice) {\n if (addToPrice && addToPrice.addition) {\n return formatMoney(this.getAdditionalPrice(addToPrice))\n }\n return ''\n },\n\n setCustomizationOption (customization, text) {\n const index = this.customizations.findIndex(({ _id }) => _id === customization._id)\n if (text) {\n if (index > -1) {\n this.customizations[index].option = { text }\n } else {\n this.customizations.push({\n _id: customization._id,\n label: customization.label,\n add_to_price: customization.add_to_price,\n option: { text }\n })\n }\n } else if (index > -1) {\n this.customizations.splice(index, 1)\n }\n },\n\n showVariationPicture (variation) {\n if (variation.picture_id) {\n const pictureIndex = this.body.pictures.findIndex(({ _id }) => {\n return _id === variation.picture_id\n })\n this.currentGalleyImg = pictureIndex + 1\n }\n },\n\n handleGridOption ({ gridId, gridIndex, optionText }) {\n if (gridIndex === 0) {\n const variation = this.body.variations.find(variation => {\n return getSpecTextValue(variation, gridId) === optionText\n })\n if (variation) {\n this.showVariationPicture(variation)\n }\n }\n },\n\n toggleFavorite () {\n if (this.isLogged) {\n this.isFavorite = toggleFavorite(this.body._id, this.ecomPassport)\n }\n },\n\n buy () {\n this.hasClickedBuy = true\n const product = sanitizeProductBody(this.body)\n let variationId\n if (this.hasVariations) {\n if (this.selectedVariationId) {\n variationId = this.selectedVariationId\n } else {\n return\n }\n }\n const customizations = [...this.customizations]\n this.$emit('buy', { product, variationId, customizations })\n if (this.canAddToCart) {\n ecomCart.addProduct({ ...product, customizations }, variationId, this.qntToBuy)\n }\n this.isOnCart = true\n },\n\n buyOrScroll () {\n if (this.hasVariations || this.isKit) {\n scrollToElement(this.$refs.actions)\n } else {\n this.buy()\n }\n }\n },\n\n watch: {\n selectedVariationId (variationId) {\n if (variationId) {\n if (this.hasClickedBuy) {\n this.hasClickedBuy = false\n }\n const { pathname } = window.location\n const searchParams = new URLSearchParams(window.location.search)\n searchParams.set('variation_id', variationId)\n window.history.pushState({\n pathname,\n params: searchParams.toString()\n }, '', `${pathname}?${searchParams.toString()}`)\n this.showVariationPicture(this.selectedVariation)\n }\n },\n\n fixedPrice (price) {\n if (price > 0 && !this.isQuickview) {\n addIdleCallback(() => {\n modules({\n url: '/list_payments.json',\n method: 'POST',\n data: {\n amount: {\n total: price\n },\n items: [{\n ...sanitizeProductBody(this.body),\n product_id: this.body._id\n }],\n currency_id: this.body.currency_id || $ecomConfig.get('currency'),\n currency_symbol: this.body.currency_symbol || $ecomConfig.get('currency_symbol')\n }\n })\n .then(({ data }) => {\n if (Array.isArray(this.paymentAppsSort) && this.paymentAppsSort.length) {\n sortApps(data.result, this.paymentAppsSort)\n }\n this.paymentOptions = data.result\n .reduce((paymentOptions, appResult) => {\n if (appResult.validated) {\n paymentOptions.push({\n app_id: appResult.app_id,\n ...appResult.response\n })\n }\n return paymentOptions\n }, [])\n .sort((a, b) => {\n return a.discount_option && a.discount_option.value &&\n !(b.discount_option && b.discount_option.value)\n ? -1\n : 1\n })\n })\n .catch(console.error)\n })\n }\n },\n\n isKit: {\n handler (isKit) {\n if (isKit && !this.kitItems.length) {\n const kitComposition = this.body.kit_composition\n const ecomSearch = new EcomSearch()\n ecomSearch\n .setPageSize(kitComposition.length)\n .setProductIds(kitComposition.map(({ _id }) => _id))\n .fetch(true)\n .then(() => {\n ecomSearch.getItems().forEach(product => {\n const { quantity } = kitComposition.find(({ _id }) => _id === product._id)\n const addKitItem = variationId => {\n const item = ecomCart.parseProduct(product, variationId, quantity)\n if (quantity) {\n item.min_quantity = item.max_quantity = quantity\n } else {\n item.quantity = 0\n }\n this.kitItems.push({\n ...item,\n _id: genRandomObjectId()\n })\n }\n addKitItem()\n })\n })\n .catch(console.error)\n }\n },\n immediate: true\n }\n },\n\n created () {\n const presetQntToBuy = () => {\n this.qntToBuy = this.body.min_quantity || 1\n }\n if (this.product) {\n this.body = this.product\n if (this.isSSR) {\n this.fetchProduct().then(presetQntToBuy)\n } else {\n presetQntToBuy()\n }\n } else {\n this.fetchProduct().then(presetQntToBuy)\n }\n this.isFavorite = checkFavorite(this.body._id || this.productId, this.ecomPassport)\n },\n\n mounted () {\n if (this.$refs.sticky && !this.isWithoutPrice) {\n let isBodyPaddingSet = false\n const setStickyBuyObserver = (isToVisible = true) => {\n const $anchor = this.$refs[isToVisible ? 'sticky' : 'buy']\n if (!$anchor) {\n return\n }\n const $tmpDiv = document.createElement('div')\n $anchor.parentNode.insertBefore($tmpDiv, $anchor)\n if (isToVisible) {\n $tmpDiv.style.position = 'absolute'\n $tmpDiv.style.bottom = isMobile ? '-1600px' : '-1000px'\n }\n const obs = lozad($tmpDiv, {\n rootMargin: '100px',\n threshold: 0,\n load: () => {\n this.isStickyBuyVisible = isToVisible\n if (isToVisible && !isBodyPaddingSet) {\n this.$nextTick(() => {\n const stickyHeight = this.$refs.sticky.offsetHeight\n document.body.style.paddingBottom = `${(stickyHeight + 4)}px`\n isBodyPaddingSet = true\n })\n }\n $tmpDiv.remove()\n setTimeout(() => {\n const createObserver = function () {\n setStickyBuyObserver(!isToVisible)\n document.removeEventListener('scroll', createObserver)\n }\n document.addEventListener('scroll', createObserver)\n }, 100)\n }\n })\n obs.observe()\n }\n setStickyBuyObserver()\n }\n if (this.isOnSale) {\n const promotionDate = new Date(this.body.price_effective_date.end)\n const now = Date.now()\n if (promotionDate.getTime() > now) {\n let targetDate\n const dayMs = 24 * 60 * 60 * 1000\n const daysBetween = Math.floor((promotionDate.getTime() - now) / dayMs)\n if (daysBetween > 2) {\n targetDate = new Date()\n targetDate.setHours(23, 59, 59, 999)\n } else {\n targetDate = promotionDate\n }\n const formatTime = (number) => number < 10 ? `0${number}` : number\n const getRemainingTime = () => {\n const distance = targetDate.getTime() - Date.now()\n const days = Math.floor(distance / dayMs)\n const hours = Math.floor((distance % dayMs) / (1000 * 60 * 60))\n const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60))\n const seconds = Math.floor((distance % (1000 * 60)) / 1000)\n return (days > 0 ? `${formatTime(days)}:` : '') +\n `${formatTime(hours)}:${formatTime(minutes)}:${formatTime(seconds)}`\n }\n this.currentTimer = setInterval(() => {\n this.$refs.timer.innerHTML = getRemainingTime()\n }, 1000)\n }\n }\n },\n\n destroyed () {\n if (this.currentTimer) {\n clearInterval(this.currentTimer)\n }\n }\n}\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./TheProduct.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./TheProduct.js?vue&type=script&lang=js&external\"","export default fn => {\n if (typeof window === 'object' && typeof window.requestIdleCallback === 'function') {\n window.requestIdleCallback(fn)\n } else {\n setTimeout(fn, 500)\n }\n}\n","import { render, staticRenderFns } from \"./html/TheProduct.html?vue&type=template&id=d796e3ac&lang=html&external\"\nimport script from \"./js/TheProduct.js?vue&type=script&lang=js&external\"\nexport * from \"./js/TheProduct.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/TheProduct.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"product\",attrs:{\"data-product-id\":_vm.body._id,\"data-sku\":_vm.body.sku,\"data-selected-variation\":_vm.selectedVariationId}},[_c('a-alert',{attrs:{\"can-show\":_vm.hasLoadError,\"variant\":\"danger\"}},[_vm._v(\" \"+_vm._s(_vm.i19loadProductErrorMsg)+\" \"),_c('a',{staticClass:\"alert-link\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.fetchProduct.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.i19retry)+\" \")])]),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeIn slower\"}},[(_vm.body._id)?_c('div',{staticClass:\"row\"},[_vm._t(\"gallery-col\",function(){return [_c('div',{class:_vm.galleryColClassName},[_c(_vm.isSSR ? 'portal' : 'div',{tag:\"component\",attrs:{\"selector\":\"#product-gallery\"}},[_vm._t(\"stamps\"),_c('product-gallery',{attrs:{\"product\":_vm.body,\"can-add-to-cart\":_vm.canAddToCart && _vm.body.available && _vm.isInStock,\"current-slide\":_vm.currentGalleyImg,\"is-s-s-r\":_vm.isSSR},on:{\"update:currentSlide\":function($event){_vm.currentGalleyImg=$event},\"update:current-slide\":function($event){_vm.currentGalleyImg=$event}}},[_vm._t(\"first-picture\")],2),_vm._t(\"gallery-footer\")],2)],1)]}),_c('div',{ref:\"actions\",staticClass:\"col\"},[(!_vm.isSSR)?_vm._t(\"heading\",function(){return [_c(_vm.headingTag,{tag:\"component\",staticClass:\"product__name\"},[_vm._v(\" \"+_vm._s(_vm.name)+\" \")]),_c('p',{staticClass:\"product__sku\"},[_vm._v(\" COD: \"+_vm._s(_vm.body.sku)+\" \")])]}):_vm._e(),_c(_vm.isSSR ? 'portal' : 'div',{tag:\"component\",attrs:{\"selector\":\"#product-actions\"}},[_vm._t(\"rating\",function(){return [_vm._m(0)]}),(!_vm.body.available)?_c('div',{staticClass:\"product__unavailable\"},[_vm._t(\"unavailable\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19unavailable)+\" \")]})],2):(!_vm.isInStock)?_c('div',{staticClass:\"product__out-of-stock\"},[_vm._t(\"out-of-stock\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19outOfStock)+\" \")]})],2):(_vm.isWithoutPrice)?_c('div',{staticClass:\"product__without-price\"},[_vm._t(\"without-price\",function(){return [(_vm.quoteLink)?_c('a',{attrs:{\"target\":\"_blank\",\"rel\":\"noopener\",\"href\":_vm.quoteLink}},[_vm._v(\" \"+_vm._s(_vm.i19quoteProduct)+\" \")]):_vm._e()]})],2):[_vm._t(\"prices\",function(){return [_c('p',{staticClass:\"product__prices\"},[_c('a-prices',{attrs:{\"product\":_vm.ghostProductForPrices,\"is-literal\":true,\"is-big\":true},on:{\"fix-price\":function (price) { return _vm.fixedPrice = price; }}}),_vm._t(\"discount-tag\",function(){return [(_vm.discount > 0)?_c('span',{staticClass:\"product__discount\"},[_vm._v(\" \"+_vm._s(_vm.i19discountOf)+\" \"),_c('strong',[_vm._v(_vm._s(_vm.discount)+\"%\")])]):_vm._e()]},null,{ discount: _vm.discount })],2)]}),(_vm.hasVariations)?_vm._t(\"variations\",function(){return [_c('product-variations',{attrs:{\"product\":_vm.body,\"selected-id\":_vm.selectedVariationId,\"max-options-btns\":_vm.maxVariationOptionsBtns},on:{\"update:selectedId\":function($event){_vm.selectedVariationId=$event},\"update:selected-id\":function($event){_vm.selectedVariationId=$event},\"select-option\":_vm.handleGridOption}}),_c('a-alert',{attrs:{\"can-show\":_vm.hasClickedBuy && !_vm.selectedVariationId}},[_vm._v(\" \"+_vm._s(_vm.i19selectVariationMsg)+\" \")]),_vm._t(\"variations-info\")]}):_vm._e(),(_vm.body.customizations)?_vm._t(\"customizations\",function(){return _vm._l((_vm.body.customizations),function(custom){return (custom.custom_value)?_c('div',{key:custom._id,staticClass:\"product__customization form-group\",class:custom.grid_id ? (\"product__customization--\" + (custom.grid_id)) : null},[_c('label',{attrs:{\"for\":(\"c-\" + (custom._id))}},[_vm._v(\" \"+_vm._s(custom.label)+\" \"),(custom.add_to_price)?_c('span',{staticClass:\"badge badge-secondary\"},[_vm._v(\" \"+_vm._s(_vm.formatAdditionalPrice(custom.add_to_price))+\" \")]):_vm._e()]),_c('input',{staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":(\"c-\" + (custom._id))},on:{\"keyup\":function (ev) { return _vm.setCustomizationOption(custom, ev.target.value); }}})]):_vm._e()})}):_vm._e(),(_vm.isKit)?_c('div',{staticClass:\"product__kit\"},[_vm._t(\"kit\",function(){return [_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\"}},[(_vm.kitItems.length && !_vm.isKitWithVariations)?_c('quantity-selector',{attrs:{\"items\":_vm.kitItems,\"min\":_vm.body.min_quantity,\"max\":_vm.body.quantity,\"slug\":_vm.body.slug,\"kit-product-id\":_vm.body._id,\"kit-name\":_vm.name,\"kit-price\":_vm.fixedPrice},on:{\"buy\":function (d) { return _vm.$emit('buy', d); }},scopedSlots:_vm._u([{key:\"buy-button-content\",fn:function(){return [_vm._t(\"buy-button-content\")]},proxy:true}],null,true)}):_vm._e(),(_vm.kitItems.length && _vm.isKitWithVariations)?_c('kit-product-variations',{attrs:{\"items\":_vm.kitItems,\"min\":_vm.body.min_quantity,\"max\":_vm.body.quantity,\"slug\":_vm.body.slug,\"kit-product-id\":_vm.body._id,\"kit-name\":_vm.name,\"kit-price\":_vm.fixedPrice,\"max-options-btns\":_vm.maxVariationOptionsBtns},scopedSlots:_vm._u([{key:\"buy-button-content\",fn:function(){return [_vm._t(\"buy-button-content\")]},proxy:true}],null,true)}):_vm._e()],1),(!_vm.kitItems.length)?_c('span',{staticClass:\"product__kit-loading spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])]):_vm._e()]},null,{ kitItems: _vm.kitItems })],2):[(!_vm.isVariationInStock)?_c('div',{staticClass:\"product__out-of-stock\"},[_vm._t(\"out-of-stock\",function(){return [_vm._v(\" \"+_vm._s(_vm.i19outOfStock)+\" \")]})],2):(_vm.hasBuyButton)?_c('div',{ref:\"buy\",staticClass:\"product__buy\"},[_c(_vm.hasQuantitySelector ? 'quantity-selector' : 'div',{tag:\"component\",attrs:{\"items\":_vm.hasQuantitySelector ? [{ _id: _vm.body._id, quantity: _vm.body.min_quantity || 1 }] : null,\"min\":_vm.body.min_quantity,\"max\":_vm.body.quantity,\"has-buy-button\":false},on:{\"set-quantity\":function (ref) {\n var quantity = ref.quantity;\n\n return _vm.qntToBuy = quantity;\n}}},[_c('span',{on:{\"click\":_vm.buy}},[_vm._t(\"buy\",function(){return [_c('button',{staticClass:\"btn btn-lg btn-primary\",attrs:{\"type\":\"button\",\"disabled\":_vm.hasClickedBuy && !_vm.isOnCart}},[_vm._t(\"buy-button-content\",function(){return [_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")]})],2)]},null,{ hasClickedBuy: _vm.hasClickedBuy, isOnCart: _vm.isOnCart })],2)])],1):_vm._e(),(_vm.isLowQuantity)?_c('p',{staticClass:\"product__short-stock\"},[_c('i',{staticClass:\"i-forward mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19only)+\" \"),_c('strong',[_vm._v(_vm._s(_vm.productQuantity))]),_vm._v(\" \"+_vm._s(_vm.i19unitsInStock)+\" \")]):_vm._e()],_vm._t(\"sale-timer\",function(){return [(_vm.isOnSale)?_c('div',{staticClass:\"product__sale-timer mb-3\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.i19offer)+\" \"),_c('br'),_c('small',[_vm._v(_vm._s(_vm.i19endsIn))])]),_c('div',{ref:\"timer\",staticClass:\"h1 ml-3 mb-0\"},[_vm._v(\" 00:00:00 \")])]):_vm._e()]}),_vm._t(\"favorite\",function(){return [_c('div',[_c('a',{staticClass:\"btn btn-sm product__favorite\",attrs:{\"href\":_vm.isLogged ? null : _vm.accountUrl},on:{\"click\":_vm.toggleFavorite}},[_c('i',{staticClass:\"i-heart mr-1\",class:_vm.isFavorite ? 'active' : null}),_c('span',[_vm._v(\" \"+_vm._s(_vm.isFavorite ? _vm.i19removeFromFavorites : _vm.i19addToFavorites)+\" \")])])])]}),_vm._t(\"share\",function(){return [(_vm.body.slug)?_c('a-share',{staticClass:\"mb-3\",attrs:{\"url\":(\"/\" + (_vm.body.slug)),\"title\":_vm.body.name,\"description\":_vm.body.short_description}}):_vm._e()]}),_c('transition',{attrs:{\"enter-active-class\":\"animated fadeInUp\"}},[(!_vm.isQuickview && _vm.paymentOptions.length)?_vm._t(\"payment-gateways\",function(){return [_c('article',[_c('div',{staticClass:\"product__payment card mb-3\"},[_c('a',{staticClass:\"card-header\",attrs:{\"id\":\"product-payment-header\",\"role\":\"button\",\"href\":\"#product-payment\",\"data-toggle\":\"collapse\",\"aria-expanded\":\"false\",\"aria-controls\":\"product-payment\"}},[_c('span',[_vm._v(_vm._s(_vm.i19paymentOptions))]),_c('i',{staticClass:\"i-chevron-down\"})]),_c('div',{staticClass:\"collapse\",attrs:{\"id\":\"product-payment\",\"aria-labelledby\":\"product-payment-header\"}},[_c('div',{staticClass:\"card-body pb-0\"},_vm._l((_vm.paymentOptions),function(paymentOption){return _c('div',{key:paymentOption.app_id,staticClass:\"mb-3\",attrs:{\"id\":(\"product-payment-\" + (paymentOption.app_id))}},[_vm._t((\"payment-\" + (paymentOption.app_id)),function(){return _vm._l((paymentOption.payment_gateways),function(gateway,i){return _c('payment-option',{key:((paymentOption.app_id) + \"-\" + i),attrs:{\"payment-gateway\":gateway,\"installments-option\":paymentOption.installments_option,\"price\":_vm.fixedPrice}})})})],2)}),0)])])])]},null,{ paymentOptions: _vm.paymentOptions }):_vm._e()],2),(_vm.body.production_time && _vm.body.production_time.days)?_c('p',{staticClass:\"product__production\"},[_c('i',{staticClass:\"i-info-circle mr-1\"}),_vm._v(\" \"+_vm._s(_vm.i19productionDeadline)+\": \"),_c('strong',[_vm._v(\" \"+_vm._s(_vm.body.production_time.days)+\" \"+_vm._s(_vm.body.production_time.working_days ? _vm.i19workingDays : _vm.i19days)+\" \"),(_vm.body.production_time.cumulative)?[_vm._v(\" \"+_vm._s(_vm.i19perUnit)+\" \")]:_vm._e()],2)]):_vm._e(),(!_vm.isQuickview && (!_vm.isKit || _vm.kitItems.length))?_vm._t(\"shipping\",function(){return [_c('shipping-calculator',{attrs:{\"shippedItems\":_vm.isKit ? _vm.kitItems : [Object.assign({}, _vm.body,\n _vm.selectedVariation,\n {product_id: _vm.body._id,\n quantity: _vm.qntToBuy || _vm.body.min_quantity || 1})]},scopedSlots:_vm._u([{key:\"free-from-value\",fn:function(ref){\n var amountSubtotal = ref.amountSubtotal;\n var freeFromValue = ref.freeFromValue;\nreturn [_c('div',{staticClass:\"product__free-shipping-from\"},[_vm._v(\" \"+_vm._s(_vm.i19freeShippingFrom)+\" \"),_c('strong',[_vm._v(\" \"+_vm._s(Math.ceil(freeFromValue / amountSubtotal))+\" \"+_vm._s(_vm.i19units)+\" \")])])]}}],null,false,3999804120)})]}):_vm._e(),_vm._t(\"track-price\",function(){return [_vm._m(1)]})]],2),(!_vm.isSSR && _vm.body.short_description)?_vm._t(\"short-description\",function(){return [_c('p',{staticClass:\"product__info lead\"},[_vm._v(\" \"+_vm._s(_vm.body.short_description)+\" \")])]}):_vm._e()],2)],2):_vm._e()]),(!_vm.isQuickview && _vm.hasStickyBuyButton && _vm.body.available && _vm.isInStock)?[_c('transition',{attrs:{\"enter-active-class\":\"animated fadeIn\",\"leave-active-class\":\"animated fadeOut fast\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isStickyBuyVisible),expression:\"isStickyBuyVisible\"}],ref:\"sticky\",staticClass:\"product__sticky\"},[_c('div',{staticClass:\"product__sticky-container container\"},[_c('div',{staticClass:\"product__sticky-info\"},[_c('a-picture',{staticClass:\"product__sticky-picture\",attrs:{\"can-calc-height\":false,\"src\":_vm.thumbnail}}),_c('h5',[_vm._v(_vm._s(_vm.name))])],1),_c('div',{staticClass:\"product__sticky-buy\"},[_c('a-prices',{attrs:{\"product\":_vm.ghostProductForPrices,\"is-literal\":false,\"can-show-price-options\":true}}),_c('a',{staticClass:\"btn btn-lg btn-primary\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.buyOrScroll.apply(null, arguments)}}},[_c('i',{staticClass:\"i-shopping-bag mr-1\"}),_vm._v(\" \"+_vm._s(_vm.strBuy)+\" \")])],1)])])])]:_vm._e(),(!_vm.body._id)?_vm._t(\"default\"):_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"product__rating\",attrs:{\"data-sku\":_vm.body.sku}})},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"product__track-price\",attrs:{\"data-sku\":_vm.body.sku}})}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductQuickview.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!./ProductQuickview.js?vue&type=script&lang=js&external\"","import {\n i19close,\n i19seeMoreInfo\n} from '@ecomplus/i18n'\n\nimport { i18n } from '@ecomplus/utils'\nimport { Portal } from '@linusborg/vue-simple-portal'\nimport TheProduct from '../TheProduct.vue'\nimport ABackdrop from '../ABackdrop.vue'\n\nexport default {\n name: 'ProductQuickView',\n\n components: {\n Portal,\n TheProduct,\n ABackdrop\n },\n\n props: {\n productId: String,\n product: Object,\n portalId: {\n type: String,\n default: 'quickview'\n }\n },\n\n data () {\n return {\n productName: '',\n productLink: '',\n isVisible: false\n }\n },\n\n computed: {\n i19close: () => i18n(i19close),\n i19seeMoreInfo: () => i18n(i19seeMoreInfo)\n },\n\n methods: {\n setProduct ({ name, slug }) {\n this.productName = name\n this.productLink = `/${slug}`\n },\n\n hide () {\n this.isVisible = false\n setTimeout(() => {\n if (!this.isVisible) {\n this.$destroy()\n }\n }, 450)\n }\n },\n\n created () {\n let portal = document.getElementById(this.portalId)\n if (!portal) {\n portal = document.createElement('div')\n portal.setAttribute('id', this.portalId)\n document.body.appendChild(portal)\n } else {\n portal.innerHTML = ''\n }\n if (this.product) {\n this.setProduct(this.product)\n }\n this.isVisible = true\n }\n}\n","import { render, staticRenderFns } from \"./html/ProductQuickview.html?vue&type=template&id=54730058&lang=html&external\"\nimport script from \"./js/ProductQuickview.js?vue&type=script&lang=js&external\"\nexport * from \"./js/ProductQuickview.js?vue&type=script&lang=js&external\"\nimport style0 from \"./scss/ProductQuickview.scss?vue&type=style&index=0&prod&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}