PageSourceSearch

https://www.aufleben-natur.ch/_next/static/chunks/app/%5Blocale%5D…/%5B...path%5D/page-7e847746b3192456.js

js aufleben-natur.ch collected 2026-10-07 21:58:15 UTC 5,167 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5128],{39376:function(e,t,n){Promise.resolve().then(n.bind(n,97867)),Promise.resolve().then(n.bind(n,31085)),Promise.resolve().then(n.bind(n,33123)),Promise.resolve().then(n.bind(n,34190)),Promise.resolve().then(n.bind(n,95041)),Promise.resolve().then(n.bind(n,8978)),Promise.resolve().then(n.bind(n,83781)),Promise.resolve().then(n.bind(n,62021))},49988:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{g:function(){return r}})},97867:function(e,t,n){"use strict";n.d(t,{default:function(){return u}});var r=n(49988),o=n(27648),l=n(99376),i=n(2265),a=n(48706),u=(0,i.forwardRef)(function(e,t){let{defaultLocale:n,href:u,locale:c,localeCookie:s,onClick:f,prefetch:d,unprefixed:h,...v}=e,p=(0,a.Z)(),m=null!=c&&c!==p,b=c||p,g=function(){let[e,t]=(0,i.useState)();return(0,i.useEffect)(()=>{t(window.location.host)},[]),e}(),P=g&&h&&(h.domains[g]===b||!Object.keys(h.domains).includes(g)&&p===n&&!c)?h.pathname:u,w=(0,l.usePathname)();return m&&(d&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),d=!1),i.createElement(o.default,(0,r.g)({ref:t,href:P,hrefLang:m?c:void 0,onClick:function(e){(function(e,t,n,r){if(!e||!(r!==n&&null!=r)||!t)return;let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(t),{name:l,...i}=e;i.path||(i.path=""!==o?o:"/");let a="".concat(l,"=").concat(r,";");for(let[e,t]of Object.entries(i))a+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(a+="="+t),a+=";";document.cookie=a})(s,w,p,c),f&&f(e)},prefetch:d},v))})},31085:function(e,t,n){"use strict";n.d(t,{default:function(){return f}});var r=n(49988),o=n(99376),l=n(2265),i=n(48706);function a(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function u(e,t){let n;return"string"==typeof e?n=c(t,e):(n={...e},e.pathname&&(n.pathname=c(t,e.pathname))),n}function c(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}n(25566);var s=n(97867);let f=(0,l.forwardRef)(function(e,t){let{href:n,locale:c,localeCookie:f,localePrefixMode:d,prefix:h,...v}=e,p=(0,o.usePathname)(),m=(0,i.Z)(),b=c!==m,[g,P]=(0,l.useState)(()=>a(n)&&("never"!==d||b)?u(n,h):n);return(0,l.useEffect)(()=>{p&&P(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(!a(e))return e;let l=r===o||r.startsWith("".concat(o,"/"));return(t!==n||l)&&null!=o?u(e,o):e}(n,c,m,p,h))},[m,n,c,p,h]),l.createElement(s.default,(0,r.g)({ref:t,href:g,locale:c,localeCookie:f},v))});f.displayName="ClientLink"},48706:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(99376),o=n(526);let l="locale",i=!1;function a(){let e;let t=(0,r.useParams)();try{e=(0,o.useLocale)()}catch(n){if("string"!=typeof(null==t?void 0:t[l]))throw n;i||(console.warn("Deprecation warning: `useLocale` has returned a default from `useParams().locale` since no `NextIntlClientProvider` ancestor was found for the calling component. This behavior will be removed in the next major version. Please ensure all Client Components that use `next-intl` are wrapped in a `NextIntlClientProvider`."),i=!0),e=t[l]}return e}},62021:function(e,t,n){"use strict";n.d(t,{default:function(){return o}});var r=n(18660);function o(e){let{slug:t}=e;return(0,r.Z)(t),null}},18660:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2265);n(83079);var o=(0,n(12119).$)("79c073523fe9c8656503ce5b718f80e079318384"),l=n(96980),i=n(33677);function a(e){let t=(0,l.tv)(),{setPartnerId:n}=(0,i.q)();(0,r.useEffect)(()=>{e&&o(e).then(e=>{if(e){var r;n(null!==(r=e.partnerId)&&void 0!==r?r:null),t.replace(e.url,{locale:e.locale})}else t.push("/404")}).catch(()=>{t.replace("/500")})},[t,e,n])}},33677:function(e,t,n){"use strict";n.d(t,{PartnerReferralProvider:function(){return a},q:function(){return u}});var r=n(57437),o=n(2265);let l="biodiv-partner-referral-id",i=(0,o.createContext)(null);function a(e){let{children:t}=e,[n,a]=(0,o.useState)(()=>{var e,t;return null!==(e="object"==typeof sessionStorage&&null!==(t=sessionStorage.getItem(l))&&void 0!==t?t:void 0)&&void 0!==e?e:null}),u=(0,o.useCallback)(e=>{var t;(t=null!=e?e:void 0)?sessionStorage.setItem(l,t):sessionStorage.removeItem(l),a(e)},[]);return(0,r.jsx)(i.Provider,{value:{partnerId:n,setPartnerId:u},children:t})}function u(){let e=(0,o.useContext)(i);if(!e)throw Error("usePartnerReferral must be used within PartnerReferralProvider");return e}}},function(e){e.O(0,[5781,9579,55,1473,9084,2509,8043,29,3697,5501,922,9324,9816,7871,7834,9893,3350,2440,1914,2621,445,5878,2957,3897,3455,1169,2180,9453,2021,762,3643,4283,8977,9517,6293,2482,5428,2971,2318,1744],function(){return e(e.s=39376)}),_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.