1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3476],{15187:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(55729),o=n(57615),i=n(70703),l=n(1917),a=n(53718);let c=()=>{let e=(()=>{let e=(0,r.useRef)({});return function(t){if(t.refinementList){for(let n of Object.keys(t.refinementList))if(Array.isArray(t.refinementList[n])&&(!e.current[n]||""===e.current[n]||t.refinementList[n].length>e.current[n].length)){(0,o.xz)("filterApplied",{filterType:n}),(0,i.sx)({type:"LFApplyFilter",data:{type:n,selected:t.refinementList[n]}});break}e.current={...t.refinementList}}}})(),{indexUiState:t}=(0,l.J)(),n=(0,a.d7)(t.query,1e3);return(0,r.useEffect)(()=>{e(t)},[t]),(0,r.useEffect)(()=>{n&&(0,o.Dz)("search",{productEventDetail:{searchQuery:"".concat(n)}})},[n]),null}},25794:(e,t,n)=>{"use strict";n.d(t,{X:()=>c});var r=n(80110),o=n(51707),i=n(92593),l=n(55729),a=n(56031);function c(e){var t=e.children,n=(0,i._)(e,["children"]),c=l.useRef(null),s=l.useRef(0);return 0===Object.keys(n).length?l.createElement(l.Fragment,null,t):l.createElement(a.R.Provider,{value:(0,o._)((0,r._)({},n),{ssrSearchRef:c,recommendIdx:s})},t)}},37118:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var r=n(55729);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var i=n(81218);function l(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return t?e.replace(new RegExp("".concat(n?"/":"").concat(t,"(\\/|\\?|$)")),"$1"):e}var a=n(81278),c=n.n(a),s=n(42278);let u=(e,t)=>{let n=(0,r.useMemo)(()=>({parseURL:(0,s.ob)(e),createURL:(0,s.uo)(e),cleanUrlOnDispose:!1}),[e]);return(0,r.useMemo)(()=>({router:function(e){var t,n=e||{},r=n.beforePopState,a=n.singletonRouter,c=n.serverUrl,s=n.beforeStart,u=n.beforeDispose,f=n.routerOptions,p=function(){return!0};if("undefined"==typeof window)return(0,i.A)(o({getLocation:function(){return new URL(c)}},f));var d=!1,m=(0,i.A)(o({start:function(e){s&&s(e);var n,o=a.pathname;function i(){var e=a.asPath.split("?")[0],t=new URL(window.location.href).pathname;return t=l(t,a.locale,"/"!==e),e!==t}t=function(){a.pathname!==o||d||e(),d=!1},a.events.on("routeChangeComplete",t),(null==(n=a.router)?void 0:n._bps)&&(p=a.router._bps),a.beforePopState(function(e){return r?r({state:e,libraryBeforePopState:i,ownBeforePopState:p}):i()})},dispose:function(){u&&u(),a.events.off("routeChangeComplete",t),a.beforePopState(p)},push:function(e){var t=l(e,a.locale);a.push(t,void 0,{shallow:!0}),d=!0}},f));return m._isNextRouter=!0,m.$$type="ais.nextjs",m}({singletonRouter:c(),serverUrl:t,routerOptions:n})}),[t,n])}},41430:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>E,default:()=>O});var r=n(6029),o=n(55729),i=n(82281),l=n.n(i),a=n(51652),c=n(25794),s=n(58491),u=n(25279),f=n(22526),p=n(44535),d=n(63120),m=n(15187),h=n(57503),g=n(57615),v=n(8444),b=n(52229),w=n(37118),x=n(60750),y=n(70773),_=n(82262);let{publicRuntimeConfig:{appBaseUrl:j}}=l()(),R=[["page",e=>Number(e)>1]],P=e=>{var t,n,i,l,c,s;let{collection:u}=e,f=(e=>{let t=(0,b.useSearchParams)();return(0,o.useMemo)(()=>{let n=new URLSearchParams;for(let[r,o]of e){let e=t.get(r);t.has(r)&&(!o||o&&o(e))&&n.set(r,String(e))}let r=n.toString();return r?"?".concat(r):""},[e,t])})(R);return(0,r.jsx)(a.bV,{title:(null==(t=u.meta)?void 0:t.title)||u.title,description:(null==(n=u.meta)?void 0:n.description)||(null==(i=u.body_html_safe)?void 0:i.slice(0,200)),canonical:"".concat(j,"/collections/").concat(u.handle).concat(f),openGraph:{url:"".concat(j,"/collections/").concat(u.handle),title:(null==(l=u.meta)?void 0:l.title)||u.title,description:(null==(c=u.meta)?void 0:c.description)||(null==(s=u.body_html_safe)?void 0:s.slice(0,200)),images:[{url:u.image}]}})};var E=!0;let O=e=>{var t,n;let{collection:i,collectionProductBasket:l,siblingCollections:b,baseIndexName:j,serverUrl:R,searchServerState:E,collectionHubPrismicContent:O}=e,S=(0,x.KH)(v.fT$),{seoCollectionsRating:k,seoCollectionsVolume:C}=(0,o.useContext)(y.MQ);(0,o.useEffect)(()=>
1{i&&(0,g.Dz)("category-page-view",{productEventDetail:{pageCategories:[{categories:[i.handle]}]}})},[]);let L=(0,w.U)(j,R);if(!i)return(0,r.jsx)(p.A,{statusCode:404});let N={productName:(null==(t=i.meta)?void 0:t.title)||i.title,images:[i.image],description:null==(n=i.meta)?void 0:n.description,sku:"$lafourche-".concat(i.handle),mpn:"$lafourche-".concat(i.handle),brand:"La Fourche",reviews:{reviewRating:{ratingValue:5,bestRating:5,worstRating:1},author:"L\xe9o"},aggregateRating:{ratingValue:k,reviewCount:C}};return(0,r.jsx)(c.X,{...E,children:(0,r.jsxs)(s.G,{indexName:j,searchClient:h.KB,routing:L,insights:!0,future:{preserveSharedStateOnUnmount:!0},children:[E&&(0,r.jsx)(P,{collection:i}),E&&(0,r.jsx)(d.A,{name:i.title}),E&&(0,r.jsx)(a.wc,{...N}),E&&(0,r.jsx)("div",{className:"tw-mt-4 tw-flex tw-items-center tw-justify-center tw-px-3 desktop:tw-mx-auto desktop:tw-min-w-[500px] desktop:tw-max-w-[500px] desktop:tw-p-0",children:(0,r.jsx)(_.s,{})}),(0,r.jsx)(m.u,{}),(null==i?void 0:i.type)===f.Jj.hub&&S?(0,r.jsx)(u.Eh,{collection:i,siblingCollections:b,collectionHubPrismicContent:O}):(0,r.jsx)(u.lO,{collection:i,collectionProductBasket:l,siblingCollections:b})]})})}},63120:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(6029),o=n(81278),i=n(82281),l=n.n(i),a=n(51652),c=n(42043);let{publicRuntimeConfig:{appBaseUrl:s}}=l()(),u=["trackingId","funnel"],f=e=>{let{name:t}=e,n=(0,o.useRouter)(),i=(0,c.useTranslations)("Global"),l=RegExp("\\??(".concat(u.join("||"),")=([^&]*)"),"g"),f="".concat(s).concat(n.asPath.replace(l,""));return(null==n?void 0:n.asPath)?(0,r.jsx)(a.gk,{itemListElements:[{position:1,item:s,name:i("companyName")},{position:2,item:f,name:t}]}):null}},79749:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/collections/[collectionHandle]",function(){return n(41430)}])}},e=>{e.O(0,[487,7132,5279,6593,636,8792],()=>e(e.s=79749)),_N_E=e.O()}]); 2//# sourceMappingURL=[collectionHandle]-270d271a60997946.js.map
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.