1export const __webpack_esm_id__=6357;export const __webpack_esm_ids__=[6357];export const __webpack_esm_modules__={11790(e,t,s){s.d(t,{A:()=>c});var i=s(41425);const o=["data-srcset"],l=["data-srcset"],n=["data-src","src","alt","width","height"];var a=s(33147);const r={name:"ResponsiveSourceImage",props:{source:{type:String,required:!0},fallbackSource:{type:String,required:!1,default:a.A},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1,default:""}}};const c=(0,s(66262).A)(r,[["render",function(e,t,s,a,r,c){return(0,i.uX)(),(0,i.CE)("picture",null,[(0,i.Lk)("source",{"data-srcset":`${s.source}?fm=avif`,type:"image/avif"},null,8,o),(0,i.Lk)("source",{"data-srcset":`${s.source}?fm=webp`,type:"image/webp"},null,8,l),(0,i.Lk)("img",{"data-src":s.source,src:s.fallbackSource,class:"img-fluid lazyload",alt:s.alt,width:s.width,height:s.height},null,8,n)])}]])},13110(e,t,s){s.d(t,{A:()=>i});s(98992),s(8872);const i=(e,t)=>e.reduce((e,s,i)=>i%t===0?[...e,[s]]:[...e.slice(0,-1),[...e.slice(-1)[0],s]],[])},19137(e,t,s){s.d(t,{A:()=>r});var i=s(41425);const o=["data-src","src"];var l=s(11790),n=s(33147);const a={name:"GalleryImage",props:{acceptsFormatParameter:{type:Boolean,required:!1},source:{type:String,required:!0}},components:{ResponsiveSourceImage:l.A},data:()=>({transparentSquare:n.A}),computed:{canShowImage(){return this.source&&""!==this.source}}};const r=(0,s(66262).A)(a,[["render",function(e,t,s,l,n,a){const r=(0,i.g2)("responsive-source-image");return s.acceptsFormatParameter&&a.canShowImage?((0,i.uX)(),(0,i.Wv)(r,{key:0,source:s.source,alt:"option image",width:"300",height:"300"},null,8,["source"])):a.canShowImage?((0,i.uX)(),(0,i.CE)("img",{key:1,"data-src":s.source,src:n.transparentSquare,class:"img-fluid lazyload",alt:"option image",width:"300",height:"300"},null,8,o)):(0,i.Q3)("",!0)}],["__scopeId","data-v-74f74d76"]])},22569(e,t,s){s.d(t,{A:()=>a});var i=s(82124),o=s(67020),l=s(40519),n=s(25760);const a={name:"GalleryBaseComponent",data:()=>({isOptionInfoOpen:!1,prevOptionKey:null,optionInfo:{},optionChunkIndex:!1,arrowLeftOffset:0,boxLeftOffset:0,isFeatureInfoOpen:!1,numColsDesktop:5,isGalleryCollapsed:!0}),setup:()=>({uiSettings:(0,n.z)()}),computed:{slidesPerRow(){let e;return e=this.screenIs("xs")?2:5,e},hasLayoutPanoramic(){return"layout-panoramic"===this.uiSettings.customStyle},hasLayoutPackaging(){return"layout-packaging"===this.uiSettings.customStyle},hasLayoutStandard(){return"layout-standard"===this.uiSettings.customStyle},...(0,i.L8)("screen",["screenIs","isMobileScreen"])},watch:{value(e){this.selectedOption=e}},methods:{getInfoFromSelection:o.A,getFlagLabelsFromSelection:l.A,getOptionInfo(e){return this.getInfoFromSelection(this.option,e)},flagLabels(e){return this.getFlagLabelsFromSelection(e)},hasFlagLabels(e){return this.flagLabels(e).length>0},isOptionOpenInChunk(e){return this.optionChunkIndex===e&&this.isOptionInfoOpen},onInfoCloseClick(){this.isOptionInfoOpen=!1},toggleCollapsedGallery(){this.isGalleryCollapsed=!this.isGalleryCollapsed}}}},32851(e,t,s){s.d(t,{default:()=>_}),s.r(t);var i=s(41425);const o={ref:"component-root"},l={key:0,class:"gallery-container"},n={class:"row"},a={class:"picture-box"},r={class:"inner"},c={class:"icon"},u={class:"text text-show-more"},h={class:"text text-show-less"},p=["onClick"],d={class:"details"},g=["onClick"],f={key:0,class:"info-container template-info"};s(98992),s(54520);var b=s(82124),m=s(65127),y=s(22569),C=s(31393),v=s(54851),k=s(63473),A=s(32574),L=s(19137),S=s(13110),w=s(25760);const I={name:"TemplateGallery",props:["selections","value","validating","isLoading"],extends:y.A,data:()=>({selectedOption:{}}),components:{BSpinner:m._,TransitionExpand:A.A,InfoBox:C.A,FeatureHeader:v.A,FlagLabel:k.A,GalleryImage:L.A},setup:()=>({uiSettings:(0,w.z)()}),computed:{componentRoot(){return this.$refs["component-root"]},shouldHideSlideshow(){const e=!this.selectionsLoaded,t=!this.hasSlideshow;return e||t},option(){return{name:"Choose your style",label:{[this.locale]:this.getDictionaryVoice("product","choose_your_style")}
1,content:{}}},selectionsLoaded(){return this.selections.length>0},selectionsPanoramic(){const e={id:"collapsible-toggle"};if(!this.isMobileScreen&&this.hasSlideshow){let t;return t=this.isGalleryCollapsed?this.selections.slice(0,this.slidesPerRow-1):this.selections,[...t,e]}return this.selections.filter(e=>e)},selectionsChunks(){if(this.hasLayoutPanoramic&&this.isMobileScreen)return this.selections?.length?[this.selections]:[];const e=this.hasLayoutPanoramic?this.selectionsPanoramic:this.selections;return e?.length?(0,S.A)(e,this.slidesPerRow):[]},hasSlideshow(){return!this.isMobileScreen&&this.selections.length>this.numColsDesktop},hasLayoutPanoramic(){return"layout-panoramic"===this.uiSettings.customStyle},...(0,b.L8)("product",["locale"]),...(0,b.L8)("dictionary",["getDictionaryVoice"])},methods:{getSource:e=>e?.previewUrl??"",isSelected(e){return this.selectedOption.id===e.id},updateSelection(e,t,s){this.isOptionInfoOpen&&(void 0!==s&&(this.optionChunkIndex=s),this.optionInfo=this.getOptionInfo(e),""!==this.optionInfo?void 0!==t&&this.updateArrowOffset(t):this.isOptionInfoOpen=!1),this.prevOptionKey=e.key,this.isSelected(e)||this.$emit("galleryChanged",e)},updateArrowOffset(e){if(this.isOptionInfoOpen){const t=this.componentRoot.querySelector(".item-block").offsetWidth;this.arrowLeftOffset=t*e;const s=Math.floor(e/this.slidesPerRow),i=t*this.slidesPerRow,o=i*s,l=t*this.selectionsChunks[0].length-i;this.isMobileScreen&&this.hasLayoutPanoramic?this.boxLeftOffset=Math.max(Math.min(o,l),0):this.boxLeftOffset=0}},toggleOptionInfo(e,t,s){e.key===this.prevOptionKey?this.isOptionInfoOpen=!this.isOptionInfoOpen:this.isOptionInfoOpen=!0,this.isOptionInfoOpen&&!1!==s&&(this.optionChunkIndex=s),this.prevOptionKey=e.key,this.updateArrowOffset(t),this.optionInfo=this.getOptionInfo(e)},shouldShowInfo:()=>!1},mounted(){this.selectedOption=this.value}};const O=(0,s(66262).A)(I,[["render",function(e,t,s,b,m,y){const C=(0,i.g2)("feature-header"),v=(0,i.g2)("gallery-image"),k=(0,i.g2)("b-spinner"),A=(0,i.g2)("flag-label"),L=(0,i.g2)("info-box"),S=(0,i.g2)("transition-expand");return(0,i.uX)(),(0,i.CE)("div",o,[(0,i.Lk)("div",{class:(0,i.C4)(["gallery",{"layout-panoramic":y.hasLayoutPanoramic}]),ref:"gallery"},[(0,i.bF)(C,{option:y.option,"display-slideshow":!1,"show-gallery-toggle":!1},null,8,["option"]),y.hasLayoutPanoramic?((0,i.uX)(),(0,i.CE)("div",l,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(y.selectionsChunks,(o,l)=>((0,i.uX)(),(0,i.CE)("div",{key:l,class:"row-container"},[(0,i.Lk)("div",n,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(o,(o,n)=>((0,i.uX)(),(0,i.CE)("div",{class:"col-6 col-sm-4 col-md-1-5th item-block",key:o.id},["collapsible-toggle"===o.id?((0,i.uX)(),(0,i.CE)("div",{key:0,class:"gallery-item",onClick:t[0]||(t[0]=t=>e.toggleCollapsedGallery())},[(0,i.Lk)("div",a,[(0,i.Lk)("div",r,[(0,i.Lk)("div",c,[e.isGalleryCollapsed?((0,i.uX)(),(0,i.CE)(i.FK,{key:0},[t[1]||(t[1]=(0,i.Lk)("i",{class:"icon icon-show-more_24px"},null,-1)),(0,i.Lk)("span",u,(0,i.v_)(e.getDictionaryVoice("product","show_all")),1)],64)):((0,i.uX)(),(0,i.CE)(i.FK,{key:1},[t[2]||(t[2]=(0,i.Lk)("i",{class:"icon icon-show-less_24px"},null,-1)),(0,i.Lk)("span",h,(0,i.v_)(e.getDictionaryVoice("common","show_less")),1)],64))])])])])):((0,i.uX)(),(0,i.CE)("div",{key:1,class:(0,i.C4)(["gallery-item",[y.isSelected(o)?"active":""]])},[(0,i.Lk)("div",{onClick:e=>y.updateSelection(o,n,l),class:"picture-box"},[(0,i.Lk)("div",{class:(0,i.C4)(["inner",{lighter:s.isLoading}])},[((0,i.uX)(),(0,i.Wv)(v,{key:o.index,"accepts-format-parameter":!1,source:y.getSource(o)},null,8,["source"])),(0,i.bo)((0,i.bF)(k,{variant:"white",class:"spinner"},null,512),[[i.aG,s.isLoading]]),t[3]||(t[3]=(0,i.Lk)("div",{class:"grey-layer"},null,-1))],2),e.hasFlagLabels(o)?((0,i.uX)(),(0,i.Wv)(A,{key:0,flags:e.flagLabels(o),variant:"gallery"},null,8,["flags"])):(0,i.Q3)("",!0)],8,p),(0,i.Lk)("div",d,[(0,i.Lk)("p",null,(0,i.v_)(o.name),1),y.shouldShowInfo(o)?((0,i.uX)(),(0,i.CE)("i",{key:0,class:"icon icon-c-info_16px",onClick:e=>y.toggleOptionInfo(o,n,l)},null,8,g)):(0,i.Q3)("",!0)])],2))]))),128))]),(0,i.bF)(S,null,{default:(0,i.k6)(()=>[e.isOptionOpenInChunk(l)?((0,i.uX)(),(0,i.CE)("div",f,[(0,i.bF)(L,{content:e.optionInfo,"arrow-pos":e.arrowLeftOffset,"box-pos":e.boxLeftOffset,"margin-type":"gallery",onInfoCloseClick:e.onInfoCloseClick},null,8,["content","arrow-pos","box-pos","onInfoCloseClick"])])):(0,i.Q3)("",!0)]),_:2},1024)]))),128))])):(0,i.Q3)("",!0)],2)],512)}],["__scopeId","data-v-574f7162"]]),_=O},33147(e,t,s){s.d(t,{A:()=>i});const i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAEElEQVR42mNkwAEYRyXQAQAIygAN1jcmhQAAAABJRU5ErkJggg=="},40519(e,t,s){s.d(t,{A:()=>i});s(98992),s(81454);const i=e=>{const t=e?.customSelections?.flagName??[];return Object.keys(t).map(e=>t[e].voice)}},63473(e,t,s){s.d(t,{A:()=>u});var i=s(41425);const o={key:1};s(69479);var l=s(82124),n=s(25760),a=s(85922),r=s(85575);const c={name:"FlagLabel",props:["flags","variant"],setup:()=>
1({uiSettings:(0,n.z)()}),computed:{...(0,l.L8)("dictionary",["getDictionaryVoice","dictionaryVoiceExists"]),useAttributesLabels(){return this.uiSettings.useAttributesLabels},shouldShowFlag(){if(this.useAttributesLabels)return this.flags&&this.flags.length>0&&""!==this.labelClass;if(!this.labelClass)return!1;const e=this.dictionaryVoiceExists("product",this.labelClass);return e||r.A.log("Missing label. Page: product / Key: ",this.labelClass),e},visibleLabel(){return this.useAttributesLabels?this.labelConfig&&this.labelConfig.voice?this.getDictionaryVoice("labels",this.labelConfig.voice):this.flags[0]:this.getDictionaryVoice("product",this.labelClass)},labelKey(){return this.flags&&this.flags[0]?this.flags[0].toLowerCase().trim().replaceAll(" ","_"):""},labelConfig(){return this.useAttributesLabels&&a.A[this.labelKey]||null},labelClass(){return this.useAttributesLabels?this.labelConfig?this.labelConfig.cssClass:"":this.flags[0].toLowerCase().trim().replaceAll(" ","-")},labelIcon(){return this.useAttributesLabels&&this.labelConfig?this.labelConfig.icon:""},labelClasses(){const e=this.variant&&""!==this.variant?this.variant:"default";return`${this.labelClass} ${e}-variant${this.useAttributesLabels?" d-inline-flex align-items-center gap-1 label":""}`}}};const u=(0,s(66262).A)(c,[["render",function(e,t,s,l,n,a){return a.shouldShowFlag?((0,i.uX)(),(0,i.CE)("label",{key:0,class:(0,i.C4)(a.labelClasses)},[a.useAttributesLabels&&a.labelIcon?((0,i.uX)(),(0,i.CE)("i",{key:0,class:(0,i.C4)(["icon",a.labelIcon])},null,2)):(0,i.Q3)("",!0),a.useAttributesLabels?((0,i.uX)(),(0,i.CE)("span",o,(0,i.v_)(a.visibleLabel),1)):((0,i.uX)(),(0,i.CE)(i.FK,{key:2},[(0,i.eW)((0,i.v_)(a.visibleLabel),1)],64))],2)):(0,i.Q3)("",!0)}],["__scopeId","data-v-b65dd7e6"]])},67020(e,t,s){s.d(t,{A:()=>o});s(69479),s(98992),s(81454);var i=s(41003);const o=(e,t)=>{let s={};const o=t?.customSelections?.dictionaryTranslations?.info??{};if(Object.keys(o).length>0&&(0,i.A)(o,["description","gallery","videos"])){o?.title||(o.title=t?.customSelections?.dictionaryTranslations?.voice??""),s=o;const e=t?.customSelections?.flagName??[];s.flags=Object.keys(e).map(t=>e[t].voice)}return s}},85922(e,t,s){s.d(t,{A:()=>i});const i={best_seller:{voice:"best-seller",cssClass:"label-ice-blue-light"},best_price:{voice:"best-price",cssClass:"label-red"},promo:{voice:"promo",cssClass:"label-orange-light"},new:{voice:"new",cssClass:"label-ice-blue"},sustainable:{voice:"sustainable",cssClass:"label-pistachio-light",icon:"icon-leaf_12px"}}}};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.