PageSourceSearch

https://mijnomgeving.primo.be/_next/static/chunks/pages/_error-c909fda922d2b3b6.js

js primo.be collected 2026-09-26 20:57:36 UTC 10,001 bytes, 11 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:dpg-media-services-csa":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6072890e-6afb-4f28-9be2-737ab387e32a",e._sentryDebugIdIdentifier="sentry-dbid-6072890e-6afb-4f28-9be2-737ab387e32a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2731],{523:(e,t,r)=>{e.exports=r(68388),Object.defineProperty(e.exports,"catchError",{enumerable:!0,get:()=>r(4207).catchError})},4207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return h}});let n=r(13514),o=r(6029),a=n._(r(55729)),i=r(51557),s=r(3302);r(94068);let u=r(75327),l=r(22554),d=r(75611),f=r(30265),c=(0,l.isBot)(window.navigator.userAgent);class p extends a.default.Component{static{this.contextType=d.AppRouterContext}static{this.displayName="catchError(Next.CatchError)"}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.retry=()=>{if(this.props.isPagesRouter)throw Object.defineProperty(Error("`retry()` can only be used in the App Router. Use `reset()` in the Pages Router."),"__NEXT_ERROR_CODE",{value:"E1360",enumerable:!1,configurable:!0});(0,a.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,s.isNextRouterError)(e))throw e;return{error:{thrownValue:e}}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){if(this.state.error&&!c){let e=this.state.error.thrownValue;return(0,u.handleISRError)({error:e}),(0,o.jsx)(this.props.fallback,{props:this.props.props,errorInfo:{error:e,reset:this.reset,retry:this.retry}})}return this.props.children}}function h(e){let t=({props:t,errorInfo:r})=>e(t,r);return t.displayName=e.name||"CatchErrorFallback",({children:e,...r})=>{let n=(0,i.useUntrackedPathname)(),s=null!==(0,a.useContext)(f.RouterContext);return(0,o.jsx)(p,{pathname:n,isPagesRouter:s,fallback:t,props:r,children:e})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6787:(e,t)=>{"use strict";function r(e,t=!0){return e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7426:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>x});var n=r(6029);r(55729);var o=r(523),a=r.n(o),i=r(14612),s=r(92062),u=r(4765),l=r(61350),d=r(6219),f=r(30149);async function c(){try{f.T&&l.Yz.log("Flushing events..."),await (0,u.bX)(2e3),f.T&&l.Yz.log("Done flushing events")}catch(e){f.T&&l.Yz.log("Error while flushing events:\n",e)}}function p(e){var t;"function"==typeof h()?.waitUntil?(t=e,h()?.waitUntil(t)):function(e){if("string"!=typeof EdgeRuntime)return;let t=d.O[Symbol.for("@vercel/request-context")],r=t?.get?.();r?.waitUntil&&r.waitUntil(e)}(e)}function h(){let e=Symbol.for("__cloudflare-context__");return d.O[e]?.ctx}async function y(e){let{req:t,res:r,err:n}=e,o=r?.statusCode||e.statusCode;if(o&&o<500||!e.pathname)return;if(n&&(0,i.dO)(n)){p(c());let e="object"==typeof n?n.__sentry_event_id__:void 0;return"string"==typeof e?((0,s.rm)().setLastEventId(e),e):(0,s.rm)().lastEventId()}let a=(0,s.v4)(e=>{if(t){let r,n,o,a,i,s,u,l=(n=("string"==typeof(r=t.headers||{})["x-forwarded-host"]?r["x-forwarded-host"]:void 0)||("string"==typeof r.host?r.host:void 0),o=("string"==typeof r["x-forwarded-proto"]?r["x-forwarded-proto"]:void 0)||t.protocol||(t.socket?.encrypted?"https":"http"),i=function({url:e,protocol:t,host:r}){return e?.startsWith("http")?e:e&&r?`${t}://${r}${e}`:void 0}({url:a=t.url||"",host:n,protocol:o}),s=t.body||void 0,u=t.cookies,{url:i,method:t.method,query_string:function(e){if(e)try{let t=new URL(e,"http://s.io").search.slice(1);return t.length?t:void 0}catch{return}}(a),headers:function(e){let t=Object.create(null);try{Object.entries(e).forEach(([e,r])=>{"string"==typeof r?t[e]=r:"number"==typeof r&&(t[e]=String(r))})}catch{}return t}(r),cookies:u,data:s});e.setSDKProcessingMetadata({normalizedRequest:l})}
1return(0,u.Cp)(n||`_error.js called with falsy error (${n})`,{mechanism:{type:"auto.function.nextjs.underscore_error",handled:!1,data:{function:"_error.getInitialProps"}}})});return p(c()),a}var g=r(1699),_=r(91216);r(59496);var b=r(79132),v=r(68357),w=r(57497),m=r(57490);let j=async({preview:e=!1,host:t,translationScopes:r,languagePreference:n})=>{var o,a;let i,s,u,l,d,f,c,p,h;try{let t=await (0,v.KU)(e).fetch(`{
2      'translations': ${(0,_.Vu)(r)},
3      'brandFeatureFlagConfiguration': ${(0,_.w2)()},
4      'brandInformation': ${(0,_.tx)()},
5      'applicationConfiguration': ${(0,_.Bw)()},
6      'countryInfo': ${(0,_.Re)()},
7      'errorCodes': ${(0,_.Vy)()},
8      'featureFlagConfiguration': ${(0,_.nG)()},
9      'commercialBanner': ${(0,_.rz)()},
10      'siteAlerts': *[_type == "siteAlert"] | order(date desc, _updatedAt desc),
11    }`);i=(0,m.J7)(t.translations),s=t.brandInformation,u=t.applicationConfiguration,l=t.countryInfo,d=t.errorCodes,f=t.featureFlagConfiguration,c=t.brandFeatureFlagConfiguration,p=t.commercialBanner,h=t.siteAlerts??[]}catch(e){(0,g.c_)(e,{extra:{message:"Retrieving content from Sanity has failed"}}),i=_.P9,s=_.Ir,u=_.FI,l=_.d0,d=_.fv,f=_.Xs,c=_.K_,p=_.v3,h=[]}let y=(0,b.uK)(s),{id:j}=(0,b.$)(y,t),P=y[j],{brandEnabledLanguages:O}=P,x=(0,w.R)(n)&&O.includes(n)?n:P.brandDefaultLanguage,E=(o=(0,v.MS)(i,x),a=j,Object.fromEntries(Object.entries(o).map(([e,t])=>e.startsWith("faq")&&e.endsWith("FaqItems")?[e,t.filter(e=>e.faqTags&&(0===e.faqTags.length||e.faqTags.includes(a)))]:[e,t]))),M=(0,v.s_)(u,x),C=(0,v.Gs)(l,x),S=(0,v.U2)(d,x),I=(0,v.SG)(f),k=(0,v.rR)(c),R=new Date,U=(0,v.cg)(h.filter(e=>{let t=!e.endDate||R<new Date(e.endDate),r=e.brandTags?.includes(j);return t&&r}),x);return{brand:{active:j,brands:y},translations:E,applicationConfiguration:M,countryInfo:C,errorCodes:S,featureFlags:I,brandFeatureFlags:k,commercialBanner:p,siteAlerts:U}},P=["android","ios"],O=e=>(0,n.jsx)(a(),{statusCode:e.statusCode});O.getInitialProps=async e=>{await y(e);let t=await a().getInitialProps(e);if(!e.req)return t;try{let{brand:r,translations:n,applicationConfiguration:o,featureFlags:a,brandFeatureFlags:i}=await j({host:e.req.headers.host,translationScopes:[]});return{...t,brand:r,translations:n,applicationConfiguration:o,featureFlags:a,brandFeatureFlags:i,clientSettings:function(e){let t=(void 0)??null;if(!e)return{showLogoutButton:!0,hasWebviewLimitation:!1,userLanguagePreference:t};let r=P.some(t=>t===e);return{showLogoutButton:!r,hasWebviewLimitation:r,userLanguagePreference:t}}(void 0)}}catch{return t}};let x=O},51557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useUntrackedPathname",{enumerable:!0,get:function(){return a}});let n=r(55729),o=r(65850);function a(){return(0,n.useContext)(o.PathnameContext)}r(72821),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},72821:(e,t)=>{"use strict";let r,n,o;Object.defineProperty(t,"__esModule",{value:!0});var a={actionAsyncStorage:function(){return r},workAsyncStorage:function(){return n},workUnitAsyncStorage:function(){return o}};for(var i in a)Object.defineProperty(t,i,{enumerable:!0,get:a[i]});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleISRError",{enumerable:!0,get:function(){return o}});let n=r(72821);function o({error:e}){if(n.workAsyncStorage){let t=n.workAsyncStorage.getStore();if(t?.isStaticGeneration)throw e&&console.error(e),e}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79255:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return r(7426)}])},94068:(e,t,r)=>{"use strict";
11Object.defineProperty(t,"__esModule",{value:!0});var n={handleHardNavError:function(){return i},useNavFailureHandler:function(){return s}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});r(55729);let a=r(6787);function i(e){return!!window.next.__pendingUrl&&(0,a.createHrefFromUrl)(new URL(window.location.href))!==(0,a.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function s(){}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[6593,636,8792],()=>e(e.s=79255)),_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.