1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8811],{3394:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[variant]/search",function(){return r(5333)}])},975:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(5893);r(7294);var a=r(5697),i=r.n(a);let s=r(508).ZP.h1.withConfig({componentId:"sc-2c97a8b3-0"})(["text-align:left;color:",";font-weight:bold;line-height:1.1;margin:",";padding:",";text-rendering:optimizeLegibility;text-transform:",";font-weight:",";font-size:",";"],e=>e.theme.colors.black,e=>{let{margin:t}=e;return t||0},e=>e.padding||0,e=>"h1"===e.as?"uppercase":"initial",e=>"h1"===e.as?"900":"bold",e=>e.variant?e.theme.title[e.variant]:e.theme.title[e.as]||e.theme.title[e.default]);function o(e){let{className:t,htmlTag:r,children:a,margin:i,variant:o}=e;return(0,n.jsx)(s,{className:t,as:r,margin:i,variant:o,children:a})}o.propTypes={htmlTag:i().oneOf(["h1","h2","h3","h4","h5","h6","p"]),className:i().string,margin:i().string,variant:i().string,children:i().oneOfType([i().arrayOf(i().node),i().node])},o.defaultProps={htmlTag:"h1",className:"",variant:""};var c=o},2946:function(e,t,r){"use strict";var n=r(5893),a=r(5152),i=r.n(a),s=r(9008),o=r.n(s),c=r(4677),l=r(5305),d=r(1754),m=r(5351);let h=i()(()=>r.e(4178).then(r.bind(r,4178)),{loadableGenerated:{webpack:()=>[4178]},ssr:!1});function u(e){let{title:t,ads:r,targets:a,pageTemplate:i,metaItems:s,linkItems:u,taxonomies:p,children:g}=e,{site:{country_code:b,id:f}}=(0,c.b)(),{assertiveyield:x}=(0,l.Lr)(),w=(0,m.Z)(f),y=w&&!x,C=w&&d.C2.includes(f)&&!x;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[t&&(0,n.jsx)("title",{children:t}),null==s?void 0:s.map(e=>(0,n.jsx)("meta",{...e},e.id)),null==u?void 0:u.map(e=>(0,n.jsx)("link",{...e},e.id)),g]}),(x||y||C)&&(0,n.jsx)(h,{ads:r?r[i]:{},anchor:(null==r?void 0:r.anchor)||"",anchorTop:(null==r?void 0:r.anchorTop)||"",targets:(null==a?void 0:a.concat([["countryCode",b]]))||[],taxonomies:p})]})}u.displayName="Seo",u.propTypes={},t.Z=u},7958:function(e,t,r){"use strict";r.d(t,{M:function(){return a},U:function(){return i}});var n=r(508);let a=n.ZP.div.withConfig({componentId:"sc-fbc485fb-0"})(["display:flex;width:100%;justify-content:center;margin-bottom:0.2rem;margin-top:0.3rem;margin-bottom:0.3rem;padding:0;@media (max-width:","){max-width:100%;}> div > .btn{margin:0 0.125rem;}> .btn{margin:0.2rem 0;&:first-child:not([disabled]){box-shadow:rgba(0,0,0,0.29) 2px 0px 2px 0px;}&:last-child:not([disabled]){box-shadow:rgba(0,0,0,0.29) -2px 0px 2px 0px;}}"],e=>e.theme.breakPoints.md),i=n.ZP.div.withConfig({componentId:"sc-fbc485fb-1"})(["overflow:hidden;overflow-x:auto;white-space:nowrap;&::-webkit-scrollbar{display:none;}padding:0.2rem 0;a{display:inline-block;}"])},8184:function(e,t,r){"use strict";var n=r(5893),a=r(5697),i=r.n(a),s=r(7042),o=r(7520),c=r(7958);let l=e=>{let{currentPage:t,numPages:r,pageChange:a}=e;return(0,n.jsxs)(c.M,{className:"",children:[(0,n.jsx)(s.S,{disabled:1===t,className:"btn btn-sm btn-md btn-square btn-secondary btn-icon",rel:"prev",onClick:()=>a(t-1),children:(0,n.jsx)(o.Z,{type:"caretBackBlack"})}),(0,n.jsxs)(c.U,{children:[t>2&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.S,{className:"btn btn-sm btn-md btn-square btn-secondary",onClick:()=>a(1),children:1}),"..."]}),t>1&&(0,n.jsx)(s.S,{className:"btn btn-sm btn-md btn-square btn-secondary ",onClick:()=>a(t-1),children:t-1}),(0,n.jsx)(s.S,{className:"btn btn-sm btn-md btn-primary btn-square",children:t}),t<r&&(0,n.jsx)(s.S,{className:"btn btn-sm btn-md btn-square btn-secondary",onClick:()=>a(t+1),children:t+1}),t<r-1&&(0,n.jsxs)(n.Fragment,{children:[t+2!==r&&"...",(0,n.jsx)(s.S,{className:"btn btn-sm btn-md btn-square btn-secondary",onClick:()=>a(r),children:r})]})]}),(0,n.jsx)(s.S,{disabled:t===r,className:"btn btn-sm btn-md btn-square btn-secondary btn-icon",rel:"next",onClick:()=>a(t+1),children:(0,n.jsx)(o.Z,{type:"caretForwardBlack"})})]})};l.propTypes={numPages:i().number.isRequired,currentPage:i().number.isRequired,pageChange:i().func.isRequired},l.defaultProps={},t.Z=l},5333:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return U},default:function(){return M}});var n=r(5893),a=r(7294),i=r(5152),s=r.n(i),o=r(1163),c=r(1798),l=r(975),d=r(2946),m=r(91),h=r(8184),u=r(5697),p=r.n(u),g=r(508),b=r(8696),f=r(183),x=r(9976);let w=g.ZP.div.withConfig({componentId:"sc-278b007e-0"})(["display:grid;grid-auto-flow:column;grid-gap:.375rem;grid-template-columns:repeat(auto-fill,271px);grid-template-rows:repeat(1,auto);margin:0 -1rem 1rem;overflow-x:scroll;padding:1rem;scroll-snap-type:x mandatory;scrollbar-width:none;&::-webkit-scrollbar{display:none;}@media (min-width:","){scrollbar-width:auto;&::-webkit-scrollbar{display:block;}&::-webkit-scrollbar{height:.25rem;}&::-webkit-scrollbar-track{background:",";}&::-webkit-scrollbar-thumb{background:",";border-radius:.25rem;}&::-webkit-scrollbar-thumb:hover{background:",";}}> *{scroll-snap-align:center;}"],e=>e.theme.breakPoints.md,f.O.grey[300],f.O.grey[500],f.O.grey[600]),y=(0,g.ZP)(b.Z).withConfig({componentId:"sc-278b007e-1"})(["@media (min-width:","){opacity:0;animation:"," .25s ease forwards;animation-delay:",";&:nth-child(n + ","){display:","}}"],e=>e.theme.breakPoints.md,x.U1,e=>"".concat((e.productIndex-e.showInitialProductQuantity)*.04,"s"),e=>e.showInitialProductQuantity+1,e=>e.showAll?"flex":"none");function C(e){let{products:t,addedClassName:r,countryLanguageCode:a,countryAlphaCode:i,currencyCode:s,withPriorityImgs:o}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(w,{className:"".concat(r),children:t.map((e,t)=>(0,n.jsx)(y,{product:e,countryLanguageCode:a,countryAlphaCode:i,currencyCode:s,imagePriority:o&&t<4},e.id))})})}C.propTypes={products:p().array.isRequired,addedClassName:p().string,countryLanguageCode:p().string.isRequired,countryAlphaCode:p().string.isRequired,currencyCode:p().string.isRequired,withPriorityImgs:p().bool},C.defaultProps={addedClassName:"",withPriorityImgs:!1};var j=r(9088);let _=g.ZP.section.withConfig({componentId:"sc-8fb0baee-0"})(["display:flex;flex-direction:column;margin-bottom:30px;"]),k=g.ZP.section.withConfig({componentId:"sc-8fb0baee-1"})(["display:grid;grid-gap:",";grid-template-columns:",";@media (max-width:","){grid-template-columns:",";grid-gap:",";}"],e=>{let{theme:t}=e;return t.cards.gap.md},e=>{let{theme:t}=e;return t.cards.column.md},e=>e.theme.breakPoints.md,e=>{let{theme:t}=e;return t.cards.column.sm},e=>{let{theme:t}=e;return t.cards.gap.sm}),P=(0,g.ZP)(j.Z).withConfig({componentId:"sc-8fb0baee-2"})(["margin:2rem auto;width:max-content;"]);var v=r(2022);function Z(e){let{products:t,productNumber:r,countryLanguageCode:i,countryAlphaCode:s,currencyCode:o,showMore:c,showBrochureBtn:l,showCartBtn:d,withPriorityImgs:m}=e,[h,u]=(0,a.useState)(r);return(0,a.useEffect)(()=>{u(r)},[t]),(0,n.jsxs)(_,{children:[(0,n.jsx)(k,{children:t.slice(0,h).map((e,t)=>(0,n.jsx)(v.Z,{product:e,countryLanguageCode:i,countryAlphaCode:s,currencyCode:o,showBrochureBtn:l,showCartBtn:d,imagePriority:m&&t<4},e.id))}),t.slice(0,h).length<t.length&&c&&(0,n.jsx)(P,{className:"btn-lg btn-primary",onClick:()=>u(h+r),icon:"caretDown"})]})}Z.propTypes={productNumber:p().number,products:p().array.isRequired,countryLanguageCode:p().string.isRequired,countryAlphaCode:p().string.isRequired,currencyCode:p().string.isRequired,showMore:p().bool,showBrochureBtn:p().bool,showCartBtn:p().bool,withPriorityImgs:p().bool},Z.defaultProps={productNumber:4,showMore:!0,showBrochureBtn:!0,showCartBtn:!0,withPriorityImgs:!1};var T=r(4677),I=r(5857),$=r(4810),L=r(1754),N=r(7520),S=r(4226);(0,g.ZP)(l.Z).withConfig({componentId:"sc-7e3200ad-0"})(["text-align:center;max-width:400px;span{color:",";}"],e=>e.theme.colors.primary);let A=(0,g.ZP)(S.Z).withConfig({componentId:"sc-7e3200ad-1"})(["margin-top:2rem;"]),B=(0,g.ZP)(l.Z).withConfig({componentId:"sc-7e3200ad-2"})(["margin-top:0.5rem;font-size:1rem;line-height:1.3;word-break:break-word;@media (min-width:","){margin-top:0;font-size:1.45rem;}"],e=>e.theme.breakPoints.md),R=(0,g.ZP)(N.Z).withConfig({componentId:"sc-7e3200ad-3"})(["width:auto;height:3rem;@media (min-width:","){width:4rem;height:4rem;margin-bottom:1rem;}"],e=>e.theme.breakPoints.md),q=g.ZP.div.withConfig({componentId:"sc-7e3200ad-4"})(["display:flex;justify-content:start;align-items:center;margin:2rem auto;gap:1rem;"]),O=g.ZP.section.withConfig({componentId:"sc-7e3200ad-5"})(["margin-bottom:1rem;"]),E=g.ZP.div.withConfig({componentId:"sc-7e3200ad-6"})(["display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:8px 0px 16px 0px;width:100%;@media (min-width:","){padding:0;gap:1rem;grid-template-columns:repeat(2,1fr);overflow:visible;}@media (min-width:","){grid-template-columns:repeat(auto-fill,minmax(180px,1fr));}"],e=>e.theme.breakPoints.sm,e=>e.theme.breakPoints.md),F=s()(()=>r.e(1291).then(r.bind(r,2538)),{loadableGenerated:{webpack:()=>[2538]}});var z=e=>{let{searchData:t,popularDeals:r}=e,{query:{channel:i}}=(0,o.useRouter)(),{query:s,stores:u,products:p,countResults:g,amazonProducts:b}=t,{popularStores:f,popularProducts:x}=r,[w,y]=(0,a.useState)(1),[j,_]=(0,a.useState)([]),{t:k}=(0,c.$G)(),{site:P}=(0,T.b)(),{site_name:v,id:N,country_alpha_code:S,country_language_code:z,currency_code:U,brochure_image_alt:M}=P,D=Math.ceil(p.length/12);(0,a.useEffect)(()=>{y(1)},[s]),(0,a.useEffect)(()=>{fetch("".concat(L.Lt,"/api/getPublitasBrochures/")).then(e=>e.json()).then(e=>{let{brochures:t}=e;_(Object.values(t||{}).sort((e,t)=>
1e.priority-t.priority).flatMap(e=>e.publications||[])||[])}).catch(()=>{_([])})},[]);let{AdsenseForSearch:W,CustomSearchAd:Q}=(0,I.Z)({site:P,query:s,adBlocks:[{container:"afscontainer1",number:3},{container:"relatedsearches1",relatedSearches:5},{container:"afscontainer2",number:3},{container:"relatedsearches2",relatedSearches:5}],channel:i},[w,s]),G=(0,a.useCallback)(()=>p.length>0&&0===u.length?{title:k("search_meta_title",{query:s,site_name:v}),description:k("search_meta_description",{query:s,site_name:v})}:u.length>0?{title:k("search_meta_title_stores",{query:s,many_stores:u.length}),description:k("search_meta_description_stores",{query:s,many_stores:u.length})}:{title:k("search_no_result_meta_title",{site_name:v}),description:k("search_meta_description",{site_name:v,query:s})},[s,u,g])(),X=(0,$._)({title:G.title,description:G.description,robots:"noindex,nofollow"});return(0,n.jsxs)(m.Z,{pageTemplate:"search",trackingData:{searchQuery:s||""},children:[!L.xw&&(0,n.jsx)(W,{}),(0,n.jsx)(d.Z,{title:G.title,pageTemplate:"search",metaItems:X}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Q,{id:"afscontainer1"}),L.z_.includes(N)&&b.length>0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{margin:"0 0 1rem",htmlTag:"h2",variant:"h1",children:k("amazon_deals")}),(0,n.jsx)(C,{products:b,countryLanguageCode:z,countryAlphaCode:S,currencyCode:U,withPriorityImgs:!0})]}):(0,n.jsx)(Q,{id:"relatedsearches1"}),!p.length&&(0,n.jsxs)(q,{children:[(0,n.jsx)(R,{type:"searchNotFound",height:"1rem"}),(0,n.jsx)(B,{htmlTag:"h2",variant:"h1",children:k("search_found_count",{countResults:g,query:s})})]}),p.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{margin:"0 0 1rem",htmlTag:"h2",variant:"h1",children:k("search_products_found_count",{countResults:g,query:s})}),(0,n.jsx)(Z,{products:p.slice((w-1)*12,(w-1)*12+12),productNumber:12,countryLanguageCode:z,countryAlphaCode:S,currencyCode:U,showMore:!1,showBrochureBtn:!0,showCartBtn:!0,withPriorityImgs:!0})]}),D>1&&(0,n.jsx)(h.Z,{numPages:D,currentPage:w,pageChange:e=>{window.scrollTo(0,0),y(e)}}),j.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{margin:"1rem 0",htmlTag:"h2",variant:"h1",children:k("publitas_related_brochures_title")}),(0,n.jsx)(O,{children:(0,n.jsx)(E,{children:j.map((e,t)=>(0,n.jsx)(F,{brochure:e,countryAlphaCode:S,countryLanguageCode:z,imagePriority:t<4,siteBrochureImageAlt:M},e.id))})})]}),u.length>0&&(0,n.jsx)(A,{title:{text:k("search_popular_stores",{store_count:u.length,query:s})},stores:u,mobileArrangeButton:!0})]}),x.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{margin:"0 0 1rem",htmlTag:"h2",variant:"h1",children:k("popular_deals")}),(0,n.jsx)(Z,{products:x,productNumber:x.length,countryLanguageCode:z,countryAlphaCode:S,currencyCode:U,showMore:!1,showBrochureBtn:!0,showCartBtn:!0})]}),f.length>0&&(0,n.jsx)(A,{mobileArrangeButton:!0,title:{text:k("home_best_stores_title")},stores:f}),(0,n.jsx)(Q,{id:"afscontainer2"}),(0,n.jsx)(Q,{id:"relatedsearches2"})]})},U=!0,M=e=>{let{searchData:t,site:r,popularDeals:a,...i}=e;return(0,n.jsx)(z,{site:r,searchData:t,popularDeals:a,...i})}},9008:function(e,t,r){e.exports=r(3867)},7043:function(e){e.exports=function(e,t){(t=t||{}).listUnicodeChar=!!t.hasOwnProperty("listUnicodeChar")&&t.listUnicodeChar,t.stripListLeaders=!t.hasOwnProperty("stripListLeaders")||t.stripListLeaders,t.gfm=!t.hasOwnProperty("gfm")||t.gfm,t.useImgAltText=!t.hasOwnProperty("useImgAltText")||t.useImgAltText,t.abbr=!!t.hasOwnProperty("abbr")&&t.abbr,t.replaceLinksWithURL=!!t.hasOwnProperty("replaceLinksWithURL")&&t.replaceLinksWithURL,t.htmlTagsToSkip=t.hasOwnProperty("htmlTagsToSkip")?t.htmlTagsToSkip:[],t.throwError=!!t.hasOwnProperty("throwError")&&t.throwError;var r=e||"";r=r.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*/gm,"");try{t.stripListLeaders&&(r=t.listUnicodeChar?r.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,t.listUnicodeChar+" $1"):r.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),t.gfm&&(r=r.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),t.abbr&&(r=r.replace(/\*\[.*\]:.*\n/,"")),r=r.replace(/<[^>]*>/g,"");var n=RegExp("<[^>]*>","g");if(t.htmlTagsToSkip.length>0){var a="(?!"+t.htmlTagsToSkip.join("|")+")";n=RegExp("<"+a+"[^>]*>","ig")}r=r.replace(n,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,t.useImgAltText?"$1":"").replace(/\[([^\]]*?)\][\[\(].*?[\]\)]/g,t.replaceLinksWithURL?"$2":"$1").replace(/^(\n)?\s{0,3}>\s?/gm,"$1").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s*( (.+))? +#+$|^(\n)?\s{0,}#{1,6}\s*( (.+))?$/gm,"$1$3$4$6").replace(/([\*]+)(\S)(.*?\S)??\1/g,"$2$3").replace(/(^|\W)([_]+)(\S)(.*?\S)??\2($|\W)/g,"$1$3$4$5").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/~(.*?)~/g,"$1")}catch(r){if(t.throwError)throw r;return console.error("remove-markdown encountered error: %s",r),e}return r}},9473:function(e,t,r){"use strict";r.d(t,{OQ:function(){return c}});let n=function(e,t){return e.join(t).toLowerCase()},a="(?:[a-z](?=[A-Z])|[A-Z](?=[A-Z][a-z]))",i=/[\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF]+/g,s=/[A-Za-z\d]+/g,o=RegExp("[A-Za-z\\d]*?"+a+"|[A-Za-z\\d]+","g");function c(e,t){let r=void 0===(t=t||{}
1).camelCase||t.camelCase,a=void 0!==t.separator?t.separator:"-",c=void 0!==t.transformer?t.transformer:n,l=(t.dictionary?function(e,t){for(let r=0,n=e.length;r<n;r++){let a=t[e[r]];if(void 0!==a){e=e.substr(0,r)+a+e.substr(r+1);let t=String(a).length-1;r+=t,n+=t}}return e}(String(e),t.dictionary):String(e)).normalize("NFKD").replace(i,"").match(r?o:s);return l?c?c(l,a):l.join(a):""}RegExp("[^-._~!$&'()*+,;=]*?"+a+"|[^-._~!$&'()*+,;=]+","g"),RegExp(".*?"+a+"|.+","g")}},function(e){e.O(0,[4226,4590,2888,9774,179],function(){return e(e.s=3394)}),_N_E=e.O()}]);
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.