PageSourceSearch

https://cdn.lafourche.fr/_next/static/chunks/pages/search-a6a402d8a623b9a3.js

js lafourche.fr collected 2026-09-25 18:43:45 UTC 4,334 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[612],{15187:(e,t,r)=>{"use strict";r.d(t,{u:()=>c});var n=r(55729),o=r(57615),a=r(70703),s=r(1917),i=r(53718);let c=()=>{let e=(()=>{let e=(0,n.useRef)({});return function(t){if(t.refinementList){for(let r of Object.keys(t.refinementList))if(Array.isArray(t.refinementList[r])&&(!e.current[r]||""===e.current[r]||t.refinementList[r].length>e.current[r].length)){(0,o.xz)("filterApplied",{filterType:r}),(0,a.sx)({type:"LFApplyFilter",data:{type:r,selected:t.refinementList[r]}});break}e.current={...t.refinementList}}}})(),{indexUiState:t}=(0,s.J)(),r=(0,i.d7)(t.query,1e3);return(0,n.useEffect)(()=>{e(t)},[t]),(0,n.useEffect)(()=>{r&&(0,o.Dz)("search",{productEventDetail:{searchQuery:"".concat(r)}})},[r]),null}},37118:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(55729);function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var a=r(81218);function s(e,t){var r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return t?e.replace(new RegExp("".concat(r?"/":"").concat(t,"(\\/|\\?|$)")),"$1"):e}var i=r(81278),c=r.n(i),u=r(42278);let l=(e,t)=>{let r=(0,n.useMemo)(()=>({parseURL:(0,u.ob)(e),createURL:(0,u.uo)(e),cleanUrlOnDispose:!1}),[e]);return(0,n.useMemo)(()=>({router:function(e){var t,r=e||{},n=r.beforePopState,i=r.singletonRouter,c=r.serverUrl,u=r.beforeStart,l=r.beforeDispose,p=r.routerOptions,f=function(){return!0};if("undefined"==typeof window)return(0,a.A)(o({getLocation:function(){return new URL(c)}},p));var m=!1,d=(0,a.A)(o({start:function(e){u&&u(e);var r,o=i.pathname;function a(){var e=i.asPath.split("?")[0],t=new URL(window.location.href).pathname;return t=s(t,i.locale,"/"!==e),e!==t}t=function(){i.pathname!==o||m||e(),m=!1},i.events.on("routeChangeComplete",t),(null==(r=i.router)?void 0:r._bps)&&(f=i.router._bps),i.beforePopState(function(e){return n?n({state:e,libraryBeforePopState:a,ownBeforePopState:f}):a()})},dispose:function(){l&&l(),i.events.off("routeChangeComplete",t),i.beforePopState(f)},push:function(e){var t=s(e,i.locale);i.push(t,void 0,{shallow:!0}),m=!0}},p));return d._isNextRouter=!0,d.$$type="ais.nextjs",d}({singletonRouter:c(),serverUrl:t,routerOptions:r})}),[t,r])}},73789:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return r(79213)}])},79213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>_,default:()=>O});var n=r(6029),o=r(81278),a=r(79002),s=r.n(a);r(55729);var i=r(57132);let c=()=>(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("section",{className:"jsx-187a2705a515268 limited-width-container",children:[(0,n.jsx)(i.A,{hasCollectionsCarouselTags:!0}),(0,n.jsx)(s(),{id:"187a2705a515268",children:"section.jsx-187a2705a515268{margin-top:var(--space-4);margin-bottom:var(--space-6)}section.jsx-187a2705a515268 .hero-collection-container{margin-bottom:var(--space-5)}@media(max-width:800px){section.jsx-187a2705a515268{margin-top:0;margin-bottom:0;padding:0}}"})]})});var u=r(82281),l=r.n(u),p=r(57503),f=r(42043),m=r(1917),d=r(58491),h=r(51652),w=r(37118),v=r(15187),b=r(42278),x=r(82262);let{publicRuntimeConfig:{appBaseUrl:g,algoliaConfig:j}}=l()(),y=()=>{let e=(0,o.useRouter)(),{indexUiState:t}=(0,m.J)(),r=(0,f.useTranslations)("Catalog"),a=e.asPath.split("?")[0];return(0,n.jsx)(h.bV,{title:t.query||r("search"),canonical:"".concat(g).concat(a),openGraph:{url:"".concat(g).concat(a),title:t.query||r("search")}})};var _=!0;let O=e=>{let{locale:t}=e,r=(0,b.yw)(j.environment,!1,(0,b._0)(t)),o=(0,w.U)(r,"");return(0,n.jsxs)(d.G,{indexName:r,searchClient:p.KB,routing:o,insights:!0,future:{preserveSharedStateOnUnmount:!0},children:[(0,n.jsx)(y,{}),(0,n.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,n.jsx)(x.s,{})}),(0,n.jsx)(v.u,{}),(0,n.jsx)(c,{})]})}}},e=>{e.O(0,[487,7132,6593,636,8792],()=>e(e.s=73789)),_N_E=e.O()}]);
2//# sourceMappingURL=search-a6a402d8a623b9a3.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.