1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,377936,e=>{e.v({facebookContainer:"Facebook-module__6veQbG__facebookContainer"})},139806,e=>{e.v({instagramContainer:"Instagram-module__rp7mqW__instagramContainer"})},998259,e=>{e.v({tikTokContainer:"TikTok-module__vmSvWW__tikTokContainer"})},91715,e=>{e.v({twitterContainer:"Twitter-module__lRecmG__twitterContainer"})},535192,(e,t,r)=>{"use strict";e.i(167225),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return n}}),e.r(82823);let n=(e,...t)=>e;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},827018,(e,t,r)=>{"use strict";function n(e,t){return e}e.i(167225),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeLocale",{enumerable:!0,get:function(){return n}}),e.r(572463),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},885305,(e,t,r)=>{"use strict";e.i(167225),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"detectDomainLocale",{enumerable:!0,get:function(){return n}});let n=(...e)=>{};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},741961,(e,t,r)=>{"use strict";e.i(167225),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return a}});let n=e.r(808341);function a(e,t,r){return new Promise((r,a)=>{let i=!1;e.then(e=>{i=!0,r(e)}).catch(a),(0,n.requestIdleCallback)(()=>setTimeout(()=>{i||a(t)},3800))})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},490758,(e,t,r)=>{"use strict";let n;e.i(167225),Object.defineProperty(r,"__esModule",{value:!0});var a={createRouteLoader:function(){return y},getClientBuildManifest:function(){return g},isAssetError:function(){return p},markAssetError:function(){return f}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});e.r(555682),e.r(957473);let o=e.r(87831),l=e.r(808341),s=e.r(543369),u=e.r(309885),c=e.r(741961);function h(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let i=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:i}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):i}let d=Symbol("ASSET_LOAD_ERROR");function f(e){return Object.defineProperty(e,d,{})}function p(e){return e&&d in e}let m=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}();function g(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,f(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})),n)}function _(e,t){return g().then(r=>{if(!(t in r))throw f(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let n=r[t].map(t=>e+"/_next/"+(0,u.encodeURIPath)(t));return{scripts:n.filter(e=>e.endsWith(".js")).map(e=>(0,o.__unsafeCreateTrustedScriptURL)(e)+(0,s.getAssetTokenQuery)()),css:n.filter(e=>e.endsWith(".css")).map(e=>e+(0,s.getAssetTokenQuery)())}})}function y(e){let t=new Map,r=new Map,a=new Map,i=new Map;function o(e){{var t;let n=r.get(e.toString());return n?n:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(f(Object.defineProperty(Error(`Failed to load script: ${e}
1`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n)}}function s(e){let t=a.get(e);return t||a.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw f(e)})),t}return{whenEntrypoint:e=>h(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})},loadRoute(r,a){return h(r,i,()=>{let i;return(0,c.resolvePromiseWithTimeout)(_(e,r).then(({scripts:e,css:n})=>Promise.all([t.has(r)?[]:Promise.all(e.map(o)).then(e=>e),Promise.all(n.map(s))])).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),f(Object.defineProperty(Error(`Route did not complete loading: ${r}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0})),n).then(({entrypoint:e,styles:t})=>{let r=Object.assign({styles:t},e);return"error"in e?e:r}).catch(e=>{if(a)throw e;return{error:e}}).finally(()=>i?.())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():_(e,t).then(e=>Promise.all(m?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let i=` 2 link[rel="prefetch"][href^="${t}"], 3 link[rel="preload"][href^="${t}"], 4 script[src^="${t}"]`;if(document.querySelector(i))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(f(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,l.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},849575,(e,t,r)=>{"use strict";e.i(167225),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BloomFilter",{enumerable:!0,get:function(){return n}});class n{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let r=new n(e.length,t);for(let t of e)r.add(t);return r}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${r}`)%this.numBits;t.push(n)}return t}}},2160,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let n=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function i(e){return n.test(e)?e.replace(a,"\\$&"):e}},509793,(e,t,r)=>{"use strict";e.i(167225),Object.defineProperty(r,"__esModule",{value:!0});var n={createKey:function(){return G},default:function(){return Z},matchesMiddleware:function(){return W}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(555682),o=e.r(190809),l=e.r(938281),s=e.r(490758),u=e.r(479520),c=o._(e.r(302023)),h=e.r(881672),d=e.r(927711),f=i._(e.r(226098)),p=e.r(718967),m=e.r(285777),g=e.r(722783),_=e.r(841820),y=e.r(862735),b=e.r(795640),v=e.r(195057);e.r(885305);let P=e.r(572463),R=e.r(535192),E=e.r(827018),x=e.r(387250),j=e.r(405550),w=e.r(652817),O=e.r(57192),S=e.r(210648),T=e.r(283605),k=e.r(230283),C=e.r(865941),N=e.r(573668),A=e.r(82604),I=e.r(18556),$=e.r(51506),M=e.r(491915),L=e.r(663416),D=e.r(543369),F=e.r(948277);function U(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,
4configurable:!0}),{cancelled:!0})}async function W(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,P.parsePath)(e.asPath),n=(0,w.hasBasePath)(r)?(0,x.removeBasePath)(r):r,a=(0,j.addBasePath)((0,R.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function H(e){let t=(0,p.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function B(e,t,r){let[n,a]=(0,O.resolveHref)(e,t,!0),i=(0,p.getLocationOrigin)(),o=n.startsWith(i),l=a&&a.startsWith(i);n=H(n),a=a?H(a):a;let s=o?n:(0,j.addBasePath)(n),u=r?H((0,O.resolveHref)(e,r)):a||n;return{url:s,as:l?u:(0,j.addBasePath)(u)}}function X(e,t){let r=(0,l.removeTrailingSlash)((0,h.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,m.isDynamicRoute)(t)&&(0,y.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,l.removeTrailingSlash)(e))}async function z(e){if(!await W(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},a=t.headers.get("x-nextjs-rewrite"),i=a||t.headers.get("x-nextjs-matched-path"),o=t.headers.get(L.MATCHED_PATH_HEADER);if(!o||i||o.includes("__next_data_catchall")||o.includes("/_error")||o.includes("/404")||(i=o),i){if(i.startsWith("/")){let t=(0,g.parseRelativeUrl)(i),o=(0,T.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),u=(0,l.removeTrailingSlash)(o.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,s.getClientBuildManifest)()]).then(([i,{__rewrites:l}])=>{let s=(0,R.addLocale)(o.pathname,o.locale);if((0,m.isDynamicRoute)(s)||!a&&i.includes((0,d.normalizeLocalePath)((0,x.removeBasePath)(s),r.router.locales).pathname)){let r=(0,T.getNextPathnameInfo)((0,g.parseRelativeUrl)(e).pathname,{nextConfig:{basePath:n.basePath,trailingSlash:n.trailingSlash},parseData:!0});t.pathname=s=(0,j.addBasePath)(r.pathname)}if(!i.includes(u)){let e=X(u,i);e!==u&&(u=e)}let c=i.includes(u)?u:X((0,d.normalizeLocalePath)((0,x.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,m.isDynamicRoute)(c)){let e=(0,_.getRouteMatcher)((0,y.getRouteRegex)(c))(s);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}})}let t=(0,P.parsePath)(e),o=(0,k.formatNextPathnameInfo)({...(0,T.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${o}${t.query}${t.hash}`})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,P.parsePath)(u),t=(0,k.formatNextPathnameInfo)({...(0,T.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let q=Symbol("SSG_DATA_NOT_FOUND");function V(e){try{return JSON.parse(e)}catch(e){return null}}function K({dataHref:e,inflightCache:t,isPrefetch:r,hasMiddleware:n,isServerRender:a,parseJSON:i,persistCache:o,isBackground:l,unstable_skipClientCache:u}){let{href:c}=new URL(e,window.location.href),h=(0,D.getDeploymentId)(),d=l=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a)})(e,a?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&n?{"x-middleware-prefetch":"1"}:{},h?{"x-deployment-id":h}:{}),method:l?.method??"GET"}).then(t=>t.ok&&l?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(r=>{if(!t.ok){if(n&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:r,json:{},cacheKey:c};if(404===t.status&&V(r)?.notFound)return{dataHref:e,json:{notFound:q},response:t,text:r,cacheKey:c};let i=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,
4configurable:!0});throw a||(0,s.markAssetError)(i),i}let o=t.headers.get(L.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=o&&o!==h){let e=Object.defineProperty(Error("Loaded static props were from an outdated deployment, forcing a hard reload"),"__NEXT_ERROR_CODE",{value:"E989",enumerable:!1,configurable:!0});throw a||(0,s.markAssetError)(e),e}return{dataHref:e,json:i?V(r):null,response:t,text:r,cacheKey:c}})).then(e=>(o&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw u||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,s.markAssetError)(e),e});return u&&o?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=d(l?{method:"HEAD"}:{})}function G(){return Math.random().toString(36).slice(2,10)}function Y({url:e,router:t}){if(e===(0,j.addBasePath)((0,R.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let J=({route:e,router:t})=>{let r=!1,n=t.clc=()=>{r=!0};return()=>{if(r){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}n===t.clc&&(t.clc=null)}};class Z{static{this.events=(0,f.default)()}constructor(e,t,r,{initialProps:n,pageLoader:a,App:i,wrapApp:o,Component:s,err:u,subscription:c,isFallback:h,locale:d,locales:f,defaultLocale:_,domainLocales:y,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=G(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,v.formatWithValidation)({pathname:(0,j.addBasePath)(e),query:t}),(0,p.getURL)());return}if(n.__NA)return void window.location.reload();if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:a,as:i,options:o,key:l}=n;this._key=l;let{pathname:s}=(0,g.parseRelativeUrl)(a);this.isSsr&&i===(0,j.addBasePath)(this.asPath)&&s===(0,j.addBasePath)(this.pathname)||(!this._bps||this._bps(n))&&this.change("replaceState",a,i,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};const P=(0,l.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[P]={Component:s,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=Z.events,this.pageLoader=a;const R=(0,m.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=o,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!R&&!self.location.search),this.state={route:P,pathname:e,query:t,asPath:R?e:r,isPreview:!!b,locale:void 0,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"u">typeof window){if(!r.startsWith("//")){const n={locale:d},a=(0,p.getURL)();this._initialMatchesMiddlewarePromise=W({router:this,locale:d,asPath:a}).then(i=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",i?a:(0,v.formatWithValidation)({pathname:(0,j.addBasePath)(e),query:t}),a,n),i))}window.addEventListener("popstate",this.onPopState)}}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r={}){if((0,F.isJavaScriptURLString)(e.toString())||t&&(0,F.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=B(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r={}){if((0,F.isJavaScriptURLString)(e.toString())||t&&(0,F.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,
4configurable:!0});return{url:e,as:t}=B(this,e,t),this.change("replaceState",e,t,r)}async _bfl(t,r,n,a){{if(!this._bfl_s&&!this._bfl_d){let r,i,{BloomFilter:o}=e.r(849575);try{({__routerFilterStatic:r,__routerFilterDynamic:i}=await (0,s.getClientBuildManifest)())}catch(e){if(console.error(e),a)return!0;return Y({url:(0,j.addBasePath)((0,R.addLocale)(t,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let l={numItems:20,errorRate:1e-4,numBits:384,numHashes:14,bitArray:[0,1,1,0,1,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,1,1,1,0,0,1,0,1,1,1,1,1,1,0,0,0,0,1,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,1,1,0,1,1,1,1,0,0,1,0,0,1,0,1,1,1,1,1,0,1,0,1,0,1,0,0,0,0,1,0,1,1,0,0,0,1,0,0,1,1,1,0,1,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,1,0,1,0,1,1,0,0,1,1,1,1,1,0,1,0,1,0,1,0,1,0,0,0,0,0,1,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,1,0,1,0,1,0,0,1,0,0,1,0,1,0,0,0,0,0,1,0,1,0,1,1,0,1,0,0,1,1,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,0,0,0,1,1,0,0,0,0,0,1,0,1,1,1,1,0,1,1,1,1,1,1,0,0,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,0,0,1,0,1,0,1,1,1,0,0,1,1,0,0,0,0,1,1,1,1,0,1,0,0,0,1,1,0,0,0,0,1,0,0,0,1,1,0,1,0,0,1,1,0,1,0,0,1,1,1,0,1,0,1,0,0,0,0,0,1,0,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,1,1,1,1,0,0,1,0,1,1,0,0,0,0,1,0,1,0,0,0,0,1,0,1,0,1,0,0,0,0,1,0,0,1,1,1,0,1]};!r&&l&&(r=l||void 0);let u={numItems:10,errorRate:1e-4,numBits:192,numHashes:14,bitArray:[1,0,0,1,1,0,1,1,0,0,0,0,1,1,0,1,1,1,0,0,1,1,0,1,1,1,0,1,0,1,0,1,1,1,0,0,0,1,1,0,1,1,0,0,0,0,1,1,1,0,0,1,1,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,0,1,1,0,0,0,0,1,1,0,0,0,0,0,1,1,1,0,0,1,1,0,0,0,0,1,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,0,0,0,1,1,1,0,1,1,0,0,1,1,0,1,0,1,1,1,0,1,1,0,0,1,0,0,0,0,1,1,0,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0]};!i&&u&&(i=u||void 0),r?.numHashes&&(this._bfl_s=new o(r.numItems,r.errorRate),this._bfl_s.import(r)),i?.numHashes&&(this._bfl_d=new o(i.numItems,i.errorRate),this._bfl_d.import(i))}let i=!1,o=!1;for(let{as:e,allowMatchCurrent:s}of[{as:t},{as:r}])if(e){let r=(0,l.removeTrailingSlash)(new URL(e,"http://n").pathname),u=(0,j.addBasePath)((0,R.addLocale)(r,n||this.locale));if(s||r!==(0,l.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(i=i||!!this._bfl_s?.contains(r)||!!this._bfl_s?.contains(u),[r,u])){let t=e.split("/");for(let e=0;!o&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&this._bfl_d?.contains(r)){o=!0;break}}}if(i||o){if(a)return!0;return Y({url:(0,j.addBasePath)((0,R.addLocale)(t,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,n,a){let i,o;if(!(0,N.isLocalURL)(t))return Y({url:t,router:this}),!1;let h=1===n._h;h||n.shallow||await this._bfl(r,void 0,n.locale);let d=h||n._shouldResolveHref||(0,P.parsePath)(t).pathname===(0,P.parsePath)(r).pathname,f={...this.state},O=!0!==this.isReady;this.isReady=!0;let S=this.isSsr;if(h||(this.isSsr=!1),h&&this.clc)return!1;let T=f.locale;p.ST&&performance.mark("routeChange");let{shallow:k=!1,scroll:A=!0}=n,M={shallow:k};this._inFlightRoute&&this.clc&&(S||Z.events.emit("routeChangeError",U(),this._inFlightRoute,M),this.clc(),this.clc=null),r=(0,j.addBasePath)((0,R.addLocale)((0,w.hasBasePath)(r)?(0,x.removeBasePath)(r):r,n.locale,this.defaultLocale));let L=(0,E.removeLocale)((0,w.hasBasePath)(r)?(0,x.removeBasePath)(r):r,f.locale);this._inFlightRoute=r;let D=T!==f.locale;if(!h&&this.onlyAHashChange(L)&&!D){f.asPath=L,Z.events.emit("hashChangeStart",r,M),this.changeState(e,t,r,{...n,scroll:!1}),A&&this.scrollToHash(L);try{await this.set(f,this.components[f.route],null)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,L,M),e}return Z.events.emit("hashChangeComplete",r,M),!0}let F=(0,g.parseRelativeUrl)(t),{pathname:H,query:z}=F;try{[i,{__rewrites:o}]=await Promise.all([this.pageLoader.getPageList(),(0,s.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return Y({url:r,router:this}),!1}this.urlIsNew(L)||D||(e="replaceState");let V=r;H=H?(0,l.removeTrailingSlash)((0,x.removeBasePath)(H)):H;let K=(0,l.removeTrailingSlash)(H),G=r.startsWith("/")&&(0,g.parseRelativeUrl)(r).pathname;if(this.components[H]?.__appRouter)return Y({url:r,router:this}),new Promise(()=>{});
4let J=!!(G&&K!==G&&(!(0,m.isDynamicRoute)(K)||!(0,_.getRouteMatcher)((0,y.getRouteRegex)(K))(G))),Q=!n.shallow&&await W({asPath:r,locale:f.locale,router:this});if(h&&Q&&(d=!1),d&&"/_error"!==H&&(n._shouldResolveHref=!0,F.pathname=X(H,i),F.pathname!==H&&(H=F.pathname,F.pathname=(0,j.addBasePath)(H),Q||(t=(0,v.formatWithValidation)(F)))),!h&&!n.shallow&&this._bfl_d&&(0,m.isDynamicRoute)(H)){let e=(0,l.removeTrailingSlash)((0,g.parseRelativeUrl)(L).pathname);if((0,b.hasDynamicFilterCandidate)(H,e,e=>!!this._bfl_d?.contains(e)))return Y({url:r,router:this}),new Promise(()=>{})}if(!(0,N.isLocalURL)(r))return Y({url:r,router:this}),!1;V=(0,E.removeLocale)((0,x.removeBasePath)(V),f.locale),K=(0,l.removeTrailingSlash)(H);let ee=!1;if((0,m.isDynamicRoute)(K)){let e=(0,g.parseRelativeUrl)(V),n=e.pathname,a=(0,y.getRouteRegex)(K);ee=(0,_.getRouteMatcher)(a)(n);let i=K===n,o=i?(0,$.interpolateAs)(K,n,z):{};if(ee&&(!i||o.result))i?r=(0,v.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,I.omit)(z,o.params)})):Object.assign(z,ee);else{let e=Object.keys(a.groups).filter(e=>!z[e]&&!a.groups[e].optional);if(e.length>0&&!Q)throw Object.defineProperty(Error((i?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${n}) is incompatible with the \`href\` value (${K}). `)+`Read more: https://nextjs.org/docs/messages/${i?"href-interpolation-failed":"incompatible-href-as"}`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}h||Z.events.emit("routeChangeStart",r,M);let et="/404"===this.pathname||"/_error"===this.pathname;try{let o=await this.getRouteInfo({route:K,pathname:H,query:z,as:r,resolvedAs:V,routeProps:M,locale:f.locale,isPreview:f.isPreview,hasMiddleware:Q,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:h&&!this.isFallback,isMiddlewareRewrite:J});if(h||n.shallow||await this._bfl(r,"resolvedAs"in o?o.resolvedAs:void 0,f.locale),"route"in o&&Q){K=H=o.route||K,M.shallow||(z=Object.assign({},o.query||{},z));let e=(0,w.hasBasePath)(F.pathname)?(0,x.removeBasePath)(F.pathname):F.pathname;if(ee&&H!==e&&Object.keys(ee).forEach(e=>{ee&&z[e]===ee[e]&&delete z[e]}),(0,m.isDynamicRoute)(H)){let e=!M.shallow&&o.resolvedAs?o.resolvedAs:(0,j.addBasePath)((0,R.addLocale)(new URL(r,location.href).pathname,f.locale),!0);(0,w.hasBasePath)(e)&&(e=(0,x.removeBasePath)(e));let t=(0,y.getRouteRegex)(H),n=(0,_.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(z,n)}}if("type"in o)if("redirect-internal"===o.type)return this.change(e,o.newUrl,o.newAs,n);else return Y({url:o.destination,router:this}),new Promise(()=>{});let l=o.Component;if(l&&l.unstable_scriptLoader&&[].concat(l.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){n.locale=!1;let t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,g.parseRelativeUrl)(t);r.pathname=X(r.pathname,i);let{url:a,as:o}=B(this,t,t);return this.change(e,a,o,n)}return Y({url:t,router:this}),new Promise(()=>{})}if(f.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===q){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:z,as:r,resolvedAs:V,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isNotFound:!0}),"type"in o)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}h&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&o.props?.pageProps&&(o.props.pageProps.statusCode=500);let s=n.shallow&&f.route===(o.route??K),d=n.scroll??(!h&&!s),p=a??(d?{x:0,y:0}:null),b={...f,route:K,pathname:H,query:z,asPath:L,isFallback:!1};if(h&&et){if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:z,as:r,resolvedAs:V,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isQueryUpdating:h&&!this.isFallback}),"type"in o)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}
4`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&o.props?.pageProps&&(o.props.pageProps.statusCode=500);try{await this.set(b,o,p)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,L,M),e}return!0}if(Z.events.emit("beforeHistoryChange",r,M),this.changeState(e,t,r,n),!(h&&!p&&!O&&!D&&(0,C.compareRouterStates)(b,this.state))){try{await this.set(b,o,p)}catch(e){if(e.cancelled)o.error=o.error||e;else throw e}if(o.error)throw h||Z.events.emit("routeChangeError",o.error,L,M),o.error;h||Z.events.emit("routeChangeComplete",r,M),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,c.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n={}){("pushState"!==e||(0,p.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:G()},"",r))}async handleRouteInfoError(e,t,r,n,a,i){if(e.cancelled)throw e;if((0,s.isAssetError)(e)||i)throw Z.events.emit("routeChangeError",e,n,a),Y({url:n,router:this}),U();console.error(e);try{let n,{page:a,styleSheets:i}=await this.fetchComponent("/_error"),o={props:n,Component:a,styleSheets:i,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,c.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,r,n,a,!0)}}async getRouteInfo({route:e,pathname:t,query:r,as:n,resolvedAs:a,routeProps:i,locale:o,hasMiddleware:s,isPreview:u,unstable_skipClientCache:h,isQueryUpdating:f,isMiddlewareRewrite:p,isNotFound:m}){let g=e;try{let e=this.components[g];if(i.shallow&&e&&this.route===g)return e;let c=J({route:g,router:this});s&&(e=void 0);let _=!e||"initial"in e?void 0:e,y={dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:t,query:r}),skipInterpolation:!0,asPath:m?"/404":a,locale:o}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:f?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:h,isBackground:f},b=f&&!p?null:await z({fetchData:()=>K(y),asPath:m?"/404":a,locale:o,router:this}).catch(e=>{if(f)return null;throw e});if(b&&("/_error"===t||"/404"===t)&&(b.effect=void 0),f&&(b?b.json=self.__NEXT_DATA__.props:b={json:self.__NEXT_DATA__.props}),c(),b?.effect?.type==="redirect-internal"||b?.effect?.type==="redirect-external")return b.effect;if(b?.effect?.type==="rewrite"){let n=(0,l.removeTrailingSlash)(b.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!f||o.includes(n))&&(g=n,t=b.effect.resolvedHref,r={...r,...b.effect.parsedAs.query},a=(0,x.removeBasePath)((0,d.normalizeLocalePath)(b.effect.parsedAs.pathname,this.locales).pathname),e=this.components[g],i.shallow&&e&&this.route===g&&!s))return{...e,route:g}}if((0,S.isAPIRoute)(g))return Y({url:n,router:this}),new Promise(()=>{});let P=_||await this.fetchComponent(g).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),R=b?.response?.headers.get("x-middleware-skip"),E=P.__N_SSG||P.__N_SSP;R&&b?.dataHref&&delete this.sdc[b.dataHref];let{props:j,cacheKey:w}=await this._getData(async()=>{if(E){if(b?.json&&!R)return{cacheKey:b.cacheKey,props:b.json};let e=b?.dataHref?b.dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:t,query:r}),asPath:a,locale:o}),n=await K({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:R?{}:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:h});return{cacheKey:n.cacheKey,props:n.json||{}}}return{headers:{},props:await this.getInitialProps(P.Component,{pathname:t,query:r,asPath:n,locale:o,locales:this.locales,defaultLocale:this.defaultLocale})}});return P.__N_SSP&&y.dataHref&&w&&delete this.sdc[w],this.isPreview||!P.__N_SSG||f||K(Object.assign({},y,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),j.pageProps=Object.assign({},j.pageProps),P.props=j,P.route=g,P.query=r,P.resolvedAs=a,this.components[g]=P,P}catch(e){return this.handleRouteInfoError((0,c.getProperError)(e),t,r,n,i)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,a]=e.split("#",2);return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,M.disableSmoothScrollDuringRouteTransition)(()=>
4{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,r={}){if("u">typeof window&&(0,A.isBot)(window.navigator.userAgent))return;let n=(0,g.parseRelativeUrl)(e),a=n.pathname,{pathname:i,query:o}=n,s=i,u=await this.pageLoader.getPageList(),c=t,h=void 0!==r.locale?r.locale||void 0:this.locale,d=await W({asPath:t,locale:h,router:this});n.pathname=X(n.pathname,u),(0,m.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(o,(0,_.getRouteMatcher)((0,y.getRouteRegex)(n.pathname))((0,P.parsePath)(t).pathname)||{}),d||(e=(0,v.formatWithValidation)(n)));let f=await z({fetchData:()=>K({dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:s,query:o}),skipInterpolation:!0,asPath:c,locale:h}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:h,router:this});if(f?.effect.type==="rewrite"&&(n.pathname=f.effect.resolvedHref,i=f.effect.resolvedHref,o={...o,...f.effect.parsedAs.query},c=f.effect.parsedAs.pathname,e=(0,v.formatWithValidation)(n)),f?.effect.type==="redirect-external")return;let p=(0,l.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(p).then(t=>!!t&&K({dataHref:f?.json?f?.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](p)])}async fetchComponent(e){let t=J({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,p.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},65856,(e,t,r)=>{"use strict";e.i(167225),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(555682)._(e.r(271645)).default.createContext(null)},767978,(e,t,r)=>{"use strict";e.i(167225),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}}),e.r(555682);let n=e.r(843476);e.r(271645);let a=e.r(90558);function i(e){function t(t){return(0,n.jsx)(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90558,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={Router:function(){return l.default},createRouter:function(){return _},default:function(){return m},makePublicRouterInstance:function(){return y},useRouter:function(){return g},withRouter:function(){return c.default}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(555682),o=i._(e.r(271645)),l=i._(e.r(509793)),s=e.r(65856),u=i._(e.r(302023)),c=i._(e.r(767978)),h={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"u">typeof window&&this.readyCallbacks.push(e)}},d=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function p(){if(!h.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E1044",enumerable:!1,
4configurable:!0});return h.router}Object.defineProperty(h,"events",{get:()=>l.default.events}),d.forEach(e=>{Object.defineProperty(h,e,{get:()=>p()[e]})}),f.forEach(e=>{h[e]=(...t)=>p()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{h.ready(()=>{l.default.events.on(e,(...t)=>{let r=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(h[r])try{h[r](...t)}catch(e){console.error(`Error when running the Router event: ${r}`),console.error((0,u.default)(e)?`${e.message} 5${e.stack}`:e+"")}})})});let m=h;function g(){let e=o.default.useContext(s.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function _(...e){return h.router=new l.default(...e),h.readyCallbacks.forEach(e=>e()),h.readyCallbacks=[],h.router}function y(e){let t={};for(let r of d){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=l.default.events,f.forEach(r=>{t[r]=(...t)=>e[r](...t)}),t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},565909,(e,t,r)=>{t.exports=e.r(90558)},152539,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=e.r(572463);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:i}=(0,n.parsePath)(e);return`${r}${t}${a}${i}`}},95524,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return i}});let n=e.r(541858),a=e.r(59084);function i(e,t,r,i){if(!t||t===r)return e;let o=e.toLowerCase();return!i&&((0,a.pathHasPrefix)(o,"/api")||(0,a.pathHasPrefix)(o,`/${t.toLowerCase()}`))?e:(0,n.addPathPrefix)(e,`/${t}`)}},230283,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});let n=e.r(938281),a=e.r(541858),i=e.r(152539),o=e.r(95524);function l(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,a.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},865941,(e,t,r)=>{"use strict";function n(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"compareRouterStates",{enumerable:!0,get:function(){return n}})},957473,(e,t,r)=>{"use strict";function n(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}})},87831,(e,t,r)=>{"use strict";let n;function a(e){return(void 0===n&&"u">typeof window&&(n=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),n)?.createScriptURL(e)||e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return a}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},51506,(e,t,r)=>{"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"interpolateAs",{enumerable:!0,get:function(){return i}});let n=e.r(841820),a=e.r(862735);function i(e,t,r){let i="",o=(0,a.getRouteRegex)(e),l=o.groups,s=(t!==e?(0,n.getRouteMatcher)(o)(t):"")||r;i=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:r,optional:n}=l[e],a=`[${r?"...":""}${e}]`;return n&&(a=`${!t?"/":""}[${a}]`),r&&!Array.isArray(t)&&(t=[t]),(n||e in s)&&(i=i.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},57192,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolveHref",{enumerable:!0,get:function(){return f}});let n=e.r(998183),a=e.r(195057),i=e.r(18556),o=e.r(718967),l=e.r(82823),s=e.r(573668),u=e.r(660180),c=e.r(51506),h=e.r(862735),d=e.r(841820);function f(e,t,r){let f,p="string"==typeof t?t:(0,a.formatWithValidation)(t),m=p.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?p.slice(m[0].length):p;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${p}' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let t=(0,o.normalizeRepeatedSlashes)(g);p=(m?m[0]:"")+t}if(!(0,s.isLocalURL)(p))return r?[p]:p;try{let t=p.startsWith("#")?e.asPath:e.pathname;if(p.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let r=(0,h.getRouteRegex)(e.pathname);(0,d.getRouteMatcher)(r)(e.asPath)||(t=e.asPath)}f=new URL(t,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(p,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:o,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,r);o&&(t=(0,a.formatWithValidation)({pathname:o,hash:e.hash,query:(0,i.omit)(r,l)}))}let o=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[o,t||o]:o}catch(e){return r?[p]:p}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},210648,(e,t,r)=>{"use strict";function n(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isAPIRoute",{enumerable:!0,get:function(){return n}})},285777,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let n=e.r(591463),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,i=/\/\[[^/]+\](?=\/|$)/;function o(e,t=!0){return((0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),t)?i.test(e):a.test(e)}},660180,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getSortedRouteObjects:function(){return i.getSortedRouteObjects},getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(95284),o=e.r(285777)},572263,(e,t,r)=>{"use strict";function n(e){return e.replace(/\\/g,"/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathSep",{enumerable:!0,get:function(){return n}})},881672,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"denormalizePagePath",{enumerable:!0,get:function(){return i}});let n=e.r(660180),a=e.r(572263);function i(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},927711,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e,t){let r;if(!t)return{pathname:e};let a=n.get(t);a||(a=t.map(e=>e.toLowerCase()),n.set(t,a));let i=e.split("/",2);if(!i[1])return{pathname:e};let o=i[1].toLowerCase(),l=a.indexOf(o);return l<0?{pathname:e}:(r=t[l],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}},226098,(e,t,r)=>{"use strict";function n(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t,...r){(e[t]||[]).slice().map(e=>{e(...r)})}}}
5Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}})},18556,(e,t,r)=>{"use strict";function n(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"omit",{enumerable:!0,get:function(){return n}})},370422,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseLoaderTree",{enumerable:!0,get:function(){return a}});let n=e.r(813258);function a(e){let[t,r,a,i]=e,{layout:o,template:l}=a,{page:s}=a;s=t===n.DEFAULT_SEGMENT_KEY?a.defaultPage:s;let u=o?.[1]||l?.[1]||s?.[1];return{page:s,segment:t,modules:a,conventionPath:u,parallelRoutes:r,staticSiblings:i}}},401643,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getParamProperties:function(){return s},getSegmentParam:function(){return o},isCatchAll:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(591463);function o(e){let t=i.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function l(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function s(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},31027,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return u},parseAppRouteSegment:function(){return s},parseAppRouteWithSlots:function(){return f},parseNormalizedAppRoute:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(312718),o=e.r(401643),l=e.r(591463);function s(e){if(""===e)return null;let t=l.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),r=(0,o.getSegmentParam)(e);return r?{type:"dynamic",name:e,param:r,interceptionMarker:t}:e.startsWith("(")&&e.endsWith(")")?{type:"route-group",name:e,interceptionMarker:t}:e.startsWith("@")?{type:"parallel-route",name:e,interceptionMarker:t}:{type:"static",name:e,interceptionMarker:t}}function u(e){return e.normalized}function c(e){return void 0!==e.interceptionMarker&&void 0!==e.interceptingRoute&&void 0!==e.interceptedRoute}function h(e,t){let r,n,a,l=e.split("/").filter(Boolean),u=[];for(let c of l){let l=s(function(e){if(!/%5b|%5d/i.test(e))return e;try{let t=decodeURIComponent(e);return(0,o.getSegmentParam)(t)?t:e}catch{return e}}(c));if(l){if("route-group"===l.type&&!(2&t))throw Object.defineProperty(new i.InvariantError(`${e} is being parsed as a normalized route, but it has a route group segment.`),"__NEXT_ERROR_CODE",{value:"E1151",enumerable:!1,configurable:!0});if("parallel-route"===l.type&&!(1&t))throw Object.defineProperty(new i.InvariantError(`${e} is being parsed as a normalized route, but it has a parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E1152",enumerable:!1,configurable:!0});if(u.push(l),l.interceptionMarker){let i=e.split(l.interceptionMarker);if(2!==i.length)throw Object.defineProperty(Error(`Invalid interception route: ${e}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});n=h(i[0],t),a=h(i[1],t),r=l.interceptionMarker}}}let c=u.filter(e=>"dynamic"===e.type);return{normalized:0===t,pathname:e,segments:u,dynamicSegments:c,interceptionMarker:r,interceptingRoute:n,interceptedRoute:a}}function d(e){return h(e,0)}function f(e){return h(e,1)}},254395,(e,t,r)=>{"use strict";function n(e){switch(e){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}
5Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return n}})},746857,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolveParamValue",{enumerable:!0,get:function(){return i}});let n=e.r(312718),a=e.r(254395);function i(e,t,r,i,o){switch(t){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let l=[];for(let e=r;e<i.segments.length;e++){let n=i.segments[e];if("static"===n.type){let i=n.name,o=(0,a.interceptionPrefixFromParamType)(t);o&&e===r&&o===n.interceptionMarker&&(i=i.replace(n.interceptionMarker,"")),l.push(i)}else{if(!o.hasOwnProperty(n.param.paramName)){if("optional-catchall"===n.param.paramType)break;return}let e=o[n.param.paramName];Array.isArray(e)?l.push(...e):l.push(e)}}if(l.length>0)return l;if("optional-catchall"===t)return;throw Object.defineProperty(new n.InvariantError(`Unexpected empty path segments match for a route "${i.pathname}" with param "${e}" of type "${t}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(r<i.segments.length){let e=i.segments[r];if("dynamic"===e.type&&!o.hasOwnProperty(e.param.paramName))return;return"dynamic"===e.type?o[e.param.paramName]:(0,a.interceptionPrefixFromParamType)(t)===e.interceptionMarker?e.name.replace(e.interceptionMarker,""):e.name}return}}},753015,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={PARAMETER_PATTERN:function(){return h},getDynamicParam:function(){return c},interpolateParallelRouteParams:function(){return u},parseMatchedParameter:function(){return f},parseParameter:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(312718),o=e.r(370422),l=e.r(31027),s=e.r(746857);function u(e,t,r,n){let a=structuredClone(t),u=[{tree:e,depth:0}],c=(0,l.parseNormalizedAppRoute)(r);for(;u.length>0;){let{tree:e,depth:t}=u.pop(),{segment:r,parallelRoutes:h}=(0,o.parseLoaderTree)(e),d=(0,l.parseAppRouteSegment)(r);if(d?.type==="dynamic"&&!a.hasOwnProperty(d.param.paramName)&&!n?.has(d.param.paramName)){let{paramName:e,paramType:r}=d.param,n=(0,s.resolveParamValue)(e,r,t,c,a);if(void 0!==n)a[e]=n;else if("optional-catchall"!==r)throw Object.defineProperty(new i.InvariantError(`Could not resolve param value for segment: ${e}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let f=t;for(let e of(d&&"route-group"!==d.type&&"parallel-route"!==d.type&&f++,Object.values(h)))u.push({tree:e,depth:f})}return a}function c(e,t,r,n,a){let o=function(e,t,r){let n=e[t];if(r?.has(t)){let[e]=r.get(t);n=e}else Array.isArray(n)?n=n.map(e=>encodeURIComponent(e)):"string"==typeof n&&(n=encodeURIComponent(n));return n}(e,t,n);if(!o||0===o.length){if("oc"===r)return{param:t,value:null,type:r,treeSegment:[t,"",r,a]};throw Object.defineProperty(new i.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${r}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}let l=Array.isArray(o)?o.join("/"):o;return{param:t,value:o,treeSegment:[t,l,r,a],type:r}}let h=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function d(e){let t=e.match(h);return t?f(t[2]):f(e)}function f(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}},862735,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getNamedMiddlewareRegex:function(){return m},getNamedRouteRegex:function(){return p},getRouteRegex:function(){return h}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(663416),o=e.r(591463),l=e.r(2160),s=e.r(938281),u=e.r(753015);function c(e,t,r){let n={},a=1,i=[];for(let c of(0,s.removeTrailingSlash)(e).slice(1).split("/")){let e=o.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),s=c.match(u.PARAMETER_PATTERN);if(e&&s&&s[2]){let{key:t,optional:r,repeat:o}=(0,u.parseMatchedParameter)(s[2]);n[t]={pos:a++,repeat:o,optional:r},i.push(`/${(0,l.escapeStringRegexp)(e)}([^/]+?)`)}else if(s&&s[2]){let{key:e,repeat:t,optional:o}=(0,u.parseMatchedParameter)(s[2]);n[e]={pos:a++,repeat:t,optional:o},r&&s[1]&&i.push(`/${(0,l.escapeStringRegexp)(s[1])}`);let c=t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&s[1]&&(c=c.substring(1)),i.push(c)}else i.push(`/${(0,l.escapeStringRegexp)(c)}`);t&&s&&s[3]&&i.push((0,l.escapeStringRegexp)(s[3]))}return{parameterizedRoute:i.join(""),groups:n}}function h(e,{includeSuffix:t=!1,includePrefix:r=!1,excludeOptionalTrailingSlash:n=!1}={}){let{parameterizedRoute:a,groups:i}=c(e,t,r),o=a;return n||(o+="(?:/)?"),{re:RegExp(`^${o}$`),groups:i}}function d({interceptionMarker:e,getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:a,backreferenceDuplicateKeys:i}){let o,{key:s,optional:c,repeat:h}=(0,u.parseMatchedParameter)(r),f=s.replace(/\W/g,"");a&&(f=`${a}${f}`);let p=!1;(0===f.length||f.length>30)&&(p=!0),isNaN(parseInt(f.slice(0,1)))||(p=!0),p&&(f=t());let m=f in n;a?n[f]=`${a}${s}`:n[f]=s;let g=e?(0,l.escapeStringRegexp)(e):"";return o=m&&i?`\\k<${f}>`:h?`(?<${f}>.+?)`:`(?<${f}>
5[^/]+?)`,{key:s,pattern:c?`(?:/${g}${o})?`:`/${g}${o}`,cleanedKey:f,optional:c,repeat:h}}function f(e,t,r,n,a,c={names:{},intercepted:{}}){let h,p=(h=0,()=>{let e="",t=++h;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),m={},g=[],_=[];for(let h of(c=structuredClone(c),(0,s.removeTrailingSlash)(e).slice(1).split("/"))){let e,s=o.INTERCEPTION_ROUTE_MARKERS.some(e=>h.startsWith(e)),f=h.match(u.PARAMETER_PATTERN),y=s?f?.[1]:void 0;if(y&&f?.[2]?(e=t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,c.intercepted[f[2]]=y):e=f?.[2]&&c.intercepted[f[2]]?t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?i.NEXT_QUERY_PARAM_PREFIX:void 0,y&&f&&f[2]){let{key:t,pattern:r,cleanedKey:n,repeat:i,optional:o}=d({getSafeRouteKey:p,interceptionMarker:y,segment:f[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a});g.push(r),_.push(`/${f[1]}:${c.names[t]??n}${i?o?"*":"+":""}`),c.names[t]??=n}else if(f&&f[2]){n&&f[1]&&(g.push(`/${(0,l.escapeStringRegexp)(f[1])}`),_.push(`/${f[1]}`));let{key:t,pattern:r,cleanedKey:i,repeat:o,optional:s}=d({getSafeRouteKey:p,segment:f[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a}),u=r;n&&f[1]&&(u=u.substring(1)),g.push(u),_.push(`/:${c.names[t]??i}${o?s?"*":"+":""}`),c.names[t]??=i}else g.push(`/${(0,l.escapeStringRegexp)(h)}`),_.push(`/${h}`);r&&f&&f[3]&&(g.push((0,l.escapeStringRegexp)(f[3])),_.push(f[3]))}return{namedParameterizedRoute:g.join(""),routeKeys:m,pathToRegexpPattern:_.join(""),reference:c}}
5function p(e,t){let r=f(e,t.prefixRouteKeys,t.includeSuffix??!1,t.includePrefix??!1,t.backreferenceDuplicateKeys??!1,t.reference),n=r.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(n+="(?:/)?"),{...h(e,t),namedRegex:`^${n}$`,routeKeys:r.routeKeys,pathToRegexpPattern:r.pathToRegexpPattern,reference:r.reference}}function m(e,t){let{parameterizedRoute:r}=c(e,!1,!1),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:`^/${n?".*":""}$`};let{namedParameterizedRoute:a}=f(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${a}${n?"(?:(/.*)?)":""}$`}}},795640,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DYNAMIC_FILTER_PLACEHOLDER:function(){return i},hasDynamicFilterCandidate:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="[]";function o(e,t,r){let n=e.split("/"),a=t.split("/"),o=n[n.length-1]??"";if(!(o.startsWith("[...")||o.startsWith("[[..."))&&n.length!==a.length)return!1;let l=[];for(let e=1;e<a.length;e++){if(""===a[e])continue;let t=n[e];(void 0===t||t.startsWith("["))&&l.push(e)}if(0===l.length||l.length>8)return!1;let s=(1<<l.length)-1;for(let e=0;e<s;e++){let t=a.slice();for(let r=0;r<l.length;r++)(e&1<<r)==0&&(t[l[r]]=i);if(r(t.join("/")))return!0}return!1}},722783,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});let n=e.r(718967),a=e.r(998183);function i(e,t,r=!0){let o=new URL("u"<typeof window?"http://n":(0,n.getLocationOrigin)()),l=t?new URL(t,o):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):o,{pathname:s,searchParams:u,search:c,hash:h,href:d,origin:f}=e.startsWith("/")?new URL(`${l.protocol}//${l.host}${e}`):new URL(e,l);if(f!==o.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:s,port:null,protocol:null,query:r?(0,a.searchParamsToUrlQuery)(u):void 0,search:c,hash:h,href:d.slice(f.length),slashes:null}}},873423,(e,t,r)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/path-to-regexp/");var e={};(()=>{function t(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var a="",i=r+1;i<e.length;){var o=e.charCodeAt(i);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){a+=e[i++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:a}),r=i;continue}if("("===n){var l=1,s="",i=r+1;if("?"===e[i])throw TypeError('Pattern cannot start with "?" at '.concat(i));for(;i<e.length;){if("\\"===e[i]){s+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--l){i++;break}}else if("("===e[i]&&(l++,"?"!==e[i+1]))throw TypeError("Capturing groups are not allowed at ".concat(i));s+=e[i++]}if(l)throw TypeError("Unbalanced pattern at ".concat(r));if(!s)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:s}),r=i;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,i=void 0===n?"./":n,o=t.delimiter,l=void 0===o?"/#?":o,s=[],u=0,c=0,h="",d=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},f=function(e){var t=d(e);if(void 0!==t)return t;var n=r[c],a=n.type,i=n.index;throw TypeError("Unexpected ".concat(a," at ").concat(i,", expected ").concat(e))},p=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<l.length;t++){var r=l[t];if(e.indexOf(r)>-1)return!0}return!1},g=function(e){var t=s[s.length-1],r=e||(t&&"string"==typeof t?t:"");if(t&&!r)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!r||m(r)?"[^".concat(a(l),"]+?"):"(?:(?!".concat(a(r),")[^").concat(a(l),"])+?")};c<r.length;){var _=d("CHAR"),y=d("NAME"),b=d("PATTERN");if(y||b){var v=_||"";-1===i.indexOf(v)&&(h+=v,v=""),h&&(s.push(h),h=""),s.push({name:y||u++,prefix:v,suffix:"",pattern:b||g(v),modifier:d("MODIFIER")||""});continue}var P=_||d("ESCAPED_CHAR");
5if(P){h+=P;continue}if(h&&(s.push(h),h=""),d("OPEN")){var v=p(),R=d("NAME")||"",E=d("PATTERN")||"",x=p();f("CLOSE"),s.push({name:R||(E?u++:""),pattern:R&&!E?g(v):E,prefix:v,suffix:x,modifier:d("MODIFIER")||""});continue}f("END")}return s}function r(e,t){void 0===t&&(t={});var r=i(t),n=t.encode,a=void 0===n?function(e){return e}:n,o=t.validate,l=void 0===o||o,s=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",n=0;n<e.length;n++){var i=e[n];if("string"==typeof i){r+=i;continue}var o=t?t[i.name]:void 0,u="?"===i.modifier||"*"===i.modifier,c="*"===i.modifier||"+"===i.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'.concat(i.name,'" to not repeat, but got an array'));if(0===o.length){if(u)continue;throw TypeError('Expected "'.concat(i.name,'" to not be empty'))}for(var h=0;h<o.length;h++){var d=a(o[h],i);if(l&&!s[n].test(d))throw TypeError('Expected all "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(d,'"'));r+=i.prefix+d+i.suffix}continue}if("string"==typeof o||"number"==typeof o){var d=a(String(o),i);if(l&&!s[n].test(d))throw TypeError('Expected "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(d,'"'));r+=i.prefix+d+i.suffix;continue}if(!u){var f=c?"an array":"a string";throw TypeError('Expected "'.concat(i.name,'" to be ').concat(f))}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,a=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var i=n[0],o=n.index,l=Object.create(null),s=1;s<n.length;s++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?l[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return a(e,r)}):l[r.name]=a(n[e],r)}}(s);return{path:i,index:o,params:l}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function o(e,t,r){void 0===r&&(r={});for(var n=r.strict,o=void 0!==n&&n,l=r.start,s=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,h=r.delimiter,d=r.endsWith,f="[".concat(a(void 0===d?"":d),"]|$"),p="[".concat(a(void 0===h?"/#?":h),"]"),m=void 0===l||l?"^":"",g=0;g<e.length;g++){var _=e[g];if("string"==typeof _)m+=a(c(_));else{var y=a(c(_.prefix)),b=a(c(_.suffix));if(_.pattern)if(t&&t.push(_),y||b)if("+"===_.modifier||"*"===_.modifier){var v="*"===_.modifier?"?":"";m+="(?:".concat(y,"((?:").concat(_.pattern,")(?:").concat(b).concat(y,"(?:").concat(_.pattern,"))*)").concat(b,")").concat(v)}else m+="(?:".concat(y,"(").concat(_.pattern,")").concat(b,")").concat(_.modifier);else{if("+"===_.modifier||"*"===_.modifier)throw TypeError('Can not repeat "'.concat(_.name,'" without a prefix and suffix'));m+="(".concat(_.pattern,")").concat(_.modifier)}else m+="(?:".concat(y).concat(b,")").concat(_.modifier)}}if(void 0===s||s)o||(m+="".concat(p,"?")),m+=r.endsWith?"(?=".concat(f,")"):"$";else{var P=e[e.length-1],R="string"==typeof P?p.indexOf(P[P.length-1])>-1:void 0===P;o||(m+="(?:".concat(p,"(?=").concat(f,"))?")),R||(m+="(?=".concat(p,"|").concat(f,")"))}return new RegExp(m,i(r))}function l(e,r,n){if(e instanceof RegExp){var a;if(!r)return e;for(var s=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=s.exec(e.source);c;)r.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=s.exec(e.source);return e}return Array.isArray(e)?(a=e.map(function(e){return l(e,r,n).source}),new RegExp("(?:".concat(a.join("|"),")"),i(n))):o(t(e,n),r,n)}Object.defineProperty(e,"__esModule",{value:!0}),e.pathToRegexp=e.tokensToRegexp=e.regexpToFunction=e.match=e.tokensToFunction=e.compile=e.parse=void 0,e.parse=t,e.compile=function(e,n){return r(t(e,n),n)},e.tokensToFunction=r,e.match=function(e,t){var r=[];return n(l(e,r,t),r,t)},e.regexpToFunction=n,e.tokensToRegexp=o,e.pathToRegexp=l})(),t.exports=e})()},268280,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={PARAM_SEPARATOR:function(){return i},hasAdjacentParameterIssues:function(){return o},normalizeAdjacentParameters:function(){return l},normalizeTokensForRegexp:function(){return s},stripNormalizedSeparators:function(){return u},stripParameterSeparators:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="_NEXTSEP_";function o(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function l(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${i}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${i}`)}function s(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function u(e){return e.replace(RegExp(`\\)${i}`,"g"),")")}function c(e){let t={};for(let[r,n]of Object.entries(e))"string"==typeof n?t[r]=n.replace(RegExp(`^${i}`),""):Array.isArray(n)?t[r]=n.map(e=>"string"==typeof e?e.replace(RegExp(`^${i}`),""):e):t[r]=n;return t}},475957,(e,t,r)=>{"use strict";
5Object.defineProperty(r,"__esModule",{value:!0});var n={safeCompile:function(){return s},safePathToRegexp:function(){return l},safeRegexpToFunction:function(){return u},safeRouteMatcher:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(873423),o=e.r(268280);function l(e,t,r){if("string"!=typeof e)return(0,i.pathToRegexp)(e,t,r);let n=(0,o.hasAdjacentParameterIssues)(e),a=n?(0,o.normalizeAdjacentParameters)(e):e;try{return(0,i.pathToRegexp)(a,t,r)}catch(a){if(!n)try{let n=(0,o.normalizeAdjacentParameters)(e);return(0,i.pathToRegexp)(n,t,r)}catch(e){}throw a}}function s(e,t){let r=(0,o.hasAdjacentParameterIssues)(e),n=r?(0,o.normalizeAdjacentParameters)(e):e;try{let e=(0,i.compile)(n,t);if(r)return t=>(0,o.stripNormalizedSeparators)(e(t));return e}catch(n){if(!r)try{let r=(0,o.normalizeAdjacentParameters)(e),n=(0,i.compile)(r,t);return e=>(0,o.stripNormalizedSeparators)(n(e))}catch(e){}throw n}}function u(e,t){let r=(0,i.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,o.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let r=e(t);return!!r&&(0,o.stripParameterSeparators)(r)}}},841820,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let n=e.r(718967),a=e.r(475957);function i({re:e,groups:t}){return(0,a.safeRouteMatcher)(r=>{let a=e.exec(r);if(!a)return!1;let i=e=>{try{return decodeURIComponent(e)}catch{throw Object.defineProperty(new n.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,r]of Object.entries(t)){let t=a[r.pos];void 0!==t&&(r.repeat?o[e]=t.split("/").map(e=>i(e)):o[e]=i(t))}return o})}},657979,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(59084);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}},283605,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let n=e.r(927711),a=e.r(657979),i=e.r(59084);function o(e,t){let{basePath:r,i18n:o,trailingSlash:l}=t.nextConfig??{},s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};r&&(0,i.pathHasPrefix)(s.pathname,r)&&(s.pathname=(0,a.removePathPrefix)(s.pathname,r),s.basePath=r);let u=s.pathname;if(s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){let e=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");s.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(s.pathname=u)}if(o){let e=t.i18nProvider?t.i18nProvider.analyze(s.pathname):(0,n.normalizeLocalePath)(s.pathname,o.locales);s.locale=e.detectedLocale,s.pathname=e.pathname??s.pathname,!e.detectedLocale&&s.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,n.normalizeLocalePath)(u,o.locales)).detectedLocale&&(s.locale=e.detectedLocale)}return s}},95284,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getSortedRouteObjects:function(){return l},getSortedRoutes:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});class i{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e="/"){let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}
5]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),r}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let n=e[0];if(n.startsWith("[")&&n.endsWith("]")){let i=n.slice(1,-1),o=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),o=!0),i.startsWith("â¦"))throw Object.defineProperty(Error(`Detected a three-dot character ('â¦') at ('${i}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(i.startsWith("...")&&(i=i.substring(3),r=!0),i.startsWith("[")||i.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${i}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(i.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${i}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function a(e,r){if(null!==e&&e!==r)throw Object.defineProperty(Error(`You cannot use different slug names for the same dynamic path ('${e}' !== '${r}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===r)throw Object.defineProperty(Error(`You cannot have the same slug name "${r}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===n.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${r}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}if(r)if(o){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,n="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});a(this.restSlugName,i),this.restSlugName=i,n="[...]"}else{if(o)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});a(this.slugName,i),this.slugName=i,n="[]"}}this.children.has(n)||this.children.set(n,new i),this.children.get(n)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(e){let t=new i;return e.forEach(e=>t.insert(e)),t.smoosh()}function l(e,t){let r={},n=[];for(let a=0;a<e.length;a++){let i=t(e[a]);r[i]=a,n[a]=i}return o(n).map(t=>e[r[t]])}},3303,(e,t,r)=>{t.exports=e.r(479520)},444653,e=>{e.v({DialogApiForm:"DialogApiSignupForm-module__qeiEga__DialogApiForm"})},932379,e=>{e.v({SLabel:"MailchimpSignupForm-module__Vjcnjq__SLabel",SSignupForm:"MailchimpSignupForm-module__Vjcnjq__SSignupForm",STermsError:"MailchimpSignupForm-module__Vjcnjq__STermsError"})},249776,e=>{e.v({SLabel:"ShowtimeAnalyticsSignupForm-module__lxLN0q__SLabel",SSignupForm:"ShowtimeAnalyticsSignupForm-module__lxLN0q__SSignupForm",STermsError:"ShowtimeAnalyticsSignupForm-module__lxLN0q__STermsError"})},156417,e=>{e.v({SCenteredImage:"RichText-module__Z4zy7a__SCenteredImage",SFullWidthImage:"RichText-module__Z4zy7a__SFullWidthImage",SLeftAlignedImage:"RichText-module__Z4zy7a__SLeftAlignedImage",SRightAlignedImage:"RichText-module__Z4zy7a__SRightAlignedImage",StyledRichText:"RichText-module__Z4zy7a__StyledRichText"})},698228,(e,t,r)=>{e.e,t.exports=function(e,t){if(void 0==t&&(t={fuzzy:!0}),/youtu\.?be/.test(e)){var r,n=[/youtu\.be\/([^#\&\?]{11})/,/\?v=([^#\&\?]{11})/,/\&v=([^#\&\?]{11})/,/embed\/([^#\&\?]{11})/,/\/v\/([^#\&\?]{11})/];for(r=0;r<n.length;++r)if(n[r].test(e))return n[r].exec(e)[1];if(t.fuzzy){var a=e.split(/[\/\&\?=#\.\s]/g);for(r=0;r<a.length;++r)if(/^[^#\&\?]{11}$/.test(a[r]))return a[r]}}return null}},27473,e=>{e.v({STable:"Table-module__JaOP2a__STable",STd:"Table-module__JaOP2a__STd"})},473610,e=>{e.v({YTStyled:"YouTube-module__Lg6L4a__YTStyled"})},235073,e=>{"use strict";var t=e.i(843476),r=e.i(919955),n=e.i(444653);function a({value:e}){return(0,t.jsx)("div",{className:n.default.DialogApiForm,dangerouslySetInnerHTML:{__html:e.signupForm}})}var i=e.i(271645),o=e.i(932379);function l({value:e}){let[r,n]=(0,i.useState)(!1),[a,s]=(0,i.useState)(!1),u=(0,i.useId)(),c=(0,i.useCallback)(e=>{e.preventDefault(),r?(document.querySelector(`#${u.replaceAll(":","X")} form`).submit(),s(!1),console.log("Form submitted")):s(!0)},[r,u]);return(0,i.useEffect)(()=>{let e=document.querySelector(`#${u.replaceAll(":","X")} form`);return e&&e.addEventListener("submit",c),()=>{e?.removeEventListener("submit",c)}},[c,u]),(0,t.jsxs)("div",{id:u.replaceAll(":","X"),children:[(0,t.jsx)("div",{className:o.default.SSignupForm,dangerouslySetInnerHTML:{__html:e.signupForm}}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:o.default.SLabel,htmlFor:"personvernCheckbox0",children:[(0,t.jsx)("input",{id:"personvernCheckbox0",name:"personvernCheckbox0",type:"checkbox",checked:r,onChange:()=>n(!r)})," Godta ",(0,t.jsx)("a",{href:`https://forms.filmweb.no/form/displayform?id=${e.gdprFormId}`,target:"_blank",rel:"noreferrer",children:"personvernerklæringen"})]}),a&&(0,t.jsx)("div",{className:o.default.STermsError,children:"Du mÃ¥ godta personvernerklæringen"})]})]})}function s({value:e}){let[r,n]=(0,i.useState)(!1),[a,l]=(0,i.useState)(!1),u=(0,i.useRef)(null),c=(0,i.useMemo)(()=>
5{if(!e.signupUrl)return null;let t=/^(?:http:)?\/\/.*?\/subscribe\/post\?u=(.*?)&(?:amp;)?id=(.*)$/gi.exec(e.signupUrl.trim());return{u:t?.[1],id:t?.[2]}},[e.signupUrl]),h=(0,i.useCallback)(e=>{e.preventDefault(),r?(u.current?.submit(),l(!1),console.log("Form submitted")):l(!0)},[r]);return((0,i.useEffect)(()=>{if(u.current){let e=u.current;return e.addEventListener("submit",h),()=>{e.removeEventListener("submit",h)}}},[h]),c)?(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:o.default.SSignupForm,"data-newsletter-count":"1",children:(0,t.jsx)("div",{children:(0,t.jsx)("form",{action:e.signupUrl,method:"post",name:"mc-embedded-subscribe-form",target:"_blank",noValidate:!0,ref:u,children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("input",{type:"email",name:"EMAIL",id:"mce-EMAIL0",placeholder:"E-post"}),(0,t.jsx)("input",{type:"submit",value:"Meld deg på",name:"subscribe"})]}),(0,t.jsx)("div",{style:{position:"absolute",left:"-5000px"},"aria-hidden":"true",children:(0,t.jsx)("input",{type:"text",name:`b_${c.u}_${c.id}`,tabIndex:-1})})]})})})}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:o.default.SLabel,htmlFor:"personvernCheckbox0",children:[(0,t.jsx)("input",{id:"personvernCheckbox0",name:"personvernCheckbox0",type:"checkbox",checked:r,onChange:()=>n(!r)})," Godta ",(0,t.jsx)("a",{href:`https://forms.filmweb.no/form/displayform?id=${e.gdprFormId}`,target:"_blank",rel:"noreferrer",children:"personvernerklæringen"})]}),a&&(0,t.jsx)("div",{className:o.default.STermsError,children:"Du må godta personvernerklæringen"})]})]}):null}var u=e.i(249776);function c({value:e}){let[r,n]=(0,i.useState)(!1),[a,o]=(0,i.useState)(!1),l=(0,i.useCallback)(e=>{e.preventDefault(),r?(document.querySelector("#ngxForm").submit(),o(!1),console.log("Form submitted")):o(!0)},[r]);return(0,i.useEffect)(()=>{let e=document.querySelector("#ngxForm");if(e)return e.addEventListener("submit",l),()=>{e.removeEventListener("submit",l)}},[l]),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:u.default.SSignupForm,dangerouslySetInnerHTML:{__html:e.signupForm}}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:u.default.SLabel,htmlFor:"personvernCheckbox0",children:[(0,t.jsx)("input",{id:"personvernCheckbox0",name:"personvernCheckbox0",type:"checkbox",checked:r,onChange:()=>n(!r)})," Godta ",(0,t.jsx)("a",{href:`https://forms.filmweb.no/form/displayform?id=${e.gdprFormId}`,target:"_blank",rel:"noreferrer",children:"personvernerklæringen"})]}),a&&(0,t.jsx)("div",{className:u.default.STermsError,children:"Du må godta personvernerklæringen"})]})]})}var h=e.i(343794),d=e.i(27473);function f(e){return(e.value?.rows?.length??0)===0?null:(0,t.jsx)("table",{className:(0,h.default)(d.default.STable,e.className),children:(0,t.jsx)("tbody",{children:e.value.rows.map(e=>(0,t.jsx)("tr",{children:e.cells.map((r,n)=>(0,t.jsx)("td",{className:d.default.STd,children:r||" "},`${e._key}${n}`))},e._key))})})}var p=e.i(350879);e.i(3303),e.i(565909);var m=i;class g extends m.Component{constructor(e){super(e),this.state={hasError:!1},this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback??(0,t.jsx)("p",{children:"OOPS! There was an error"}):this.props.children}}var _=e.i(770703),y=e.i(377936);let b=(0,_.default)(()=>e.A(811186).then(e=>e.FacebookEmbed),{ssr:!1});function v({value:e}){return e?.fbPostUrl?(0,t.jsx)("div",{className:y.facebookContainer,children:(0,t.jsx)(g,{children:(0,t.jsx)(b,{url:e.fbPostUrl,width:"100%"})})}):null}var P=e.i(139806);let R=(0,_.default)(()=>e.A(811186).then(e=>e.InstagramEmbed),{ssr:!1});function E({value:e}){return e?.instagramPostId?(0,t.jsx)("div",{className:P.default.instagramContainer,children:(0,t.jsx)(g,{children:(0,t.jsx)(R,{url:`https://www.instagram.com/p/${e.instagramPostId}/`,width:"100%"})})}):null}var x=e.i(998259);let j=(0,_.default)(()=>e.A(811186).then(e=>e.TikTokEmbed),{ssr:!1});function w({value:e}){return e?.tiktokUserId&&e?.tiktokVideoId?(0,t.jsx)("div",{className:x.tikTokContainer,children:(0,t.jsx)(g,{children:(0,t.jsx)(j,{url:`https://www.tiktok.com/${e.tiktokUserId}/video/${e.tiktokVideoId}`,width:"100%"})})}):null}var O=e.i(91715);let S=(0,_.default)(()=>e.A(811186).then(e=>e.XEmbed),{ssr:!1});function T({value:e}){return e?.twitterUserId&&e?.twitterPostId?(0,t.jsx)("div",{className:O.twitterContainer,children:(0,t.jsx)(g,{children:(0,t.jsx)(S,{url:`https://twitter.com/${e.twitterUserId}/status/${e.twitterPostId}`,width:"100%"})})}):null}var k=e.i(500932);function C(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function N(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>
5"object"==typeof e&&"_type"in e)}function A(e){return N(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function I(e){return"@list"===e._type}function $(e){return"@span"===e._type}function M(e){return"@text"===e._type}let L=["strong","em","code","underline","strike-through"];function D(e,t,r){if(!C(e)||!e.marks||!e.marks.length)return[];let n=e.marks.slice(),a={};return n.forEach(e=>{a[e]=1;for(let n=t+1;n<r.length;n++){let t=r[n];if(t&&C(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))a[e]++;else break}}),n.sort((e,t)=>(function(e,t,r){let n=e[t],a=e[r];if(n!==a)return a-n;let i=L.indexOf(t),o=L.indexOf(r);return i===o?t.localeCompare(r):i-o})(a,e,t))}function F(e,t,r,n,a){let i=n===(e.level||1)?"":`-${n}`;return{_type:"@list",_key:`${e._key||`${t}`}-parent${i}`,mode:r,level:n,listItem:e.listItem,children:a}}function U(e,t,r,n){let a=e.level||1,i=n+1,o=F(e,t,r,i,W(e,t,r,i,a)),l=o;for(let n=i+1;n<=a;n++){let i=F(e,t,r,n,W(e,t,r,n,a));H(l,i),l=i}return{root:o,current:l}}function W(e,t,r,n,a){var i,o,l;return n===a?[e]:"html"===r?[(i=e,o=t,l=n,{...i,_key:`${i._key||`${o}`}-placeholder-${l}`,children:[],level:l})]:[]}function H(e,t){if("html"===e.mode&&"html"===t.mode){let r=e.children.length-1,n=e.children[r];if(!n)return;e.children[r]={...n,children:[...n.children,t]};return}"direct"===e.mode&&"direct"===t.mode&&e.children.push(t)}function B(e,t){let r=t.level||1,n=t.listItem||"normal",a="string"==typeof t.listItem;if(I(e)&&(e.level||1)===r&&a&&(e.listItem||"normal")===n)return e;if(!("children"in e))return;let i=e.children[e.children.length-1];return i&&!C(i)?B(i,t):void 0}let X={textDecoration:"underline"},z=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,q=e=>z(`block type "${e}"`,"types");function V(e){console.warn(e)}let K={display:"none"},G={types:{},block:{normal:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("p",{children:n}),r[0]=n,r[1]=a),a},blockquote:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("blockquote",{children:n}),r[0]=n,r[1]=a),a},h1:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("h1",{children:n}),r[0]=n,r[1]=a),a},h2:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("h2",{children:n}),r[0]=n,r[1]=a),a},h3:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("h3",{children:n}),r[0]=n,r[1]=a),a},h4:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("h4",{children:n}),r[0]=n,r[1]=a),a},h5:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("h5",{children:n}),r[0]=n,r[1]=a),a},h6:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("h6",{children:n}),r[0]=n,r[1]=a),a}},marks:{em:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("em",{children:n}),r[0]=n,r[1]=a),a},strong:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("strong",{children:n}),r[0]=n,r[1]=a),a},code:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("code",{children:n}),r[0]=n,r[1]=a),a},underline:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("span",{style:X,children:n}),r[0]=n,r[1]=a),a},"strike-through":function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("del",{children:n}),r[0]=n,r[1]=a),a},link:function(e){let r=(0,k.c)(3),{children:n,value:a}=e,i=a?.href,o;return r[0]!==n||r[1]!==i?(o=(0,t.jsx)("a",{href:i,children:n}),r[0]=n,r[1]=i,r[2]=o):o=r[2],o}},list:{number:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("ol",{children:n}),r[0]=n,r[1]=a),a},bullet:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("ul",{children:n}),r[0]=n,r[1]=a),a}},listItem:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("li",{children:n}),r[0]=n,r[1]=a),a},hardBreak:function(){let e=(0,k.c)(1),r;return e[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("br",{}),e[0]=r):r=e[0],r},unknownType:function(e){let r=(0,k.c)(5),{value:n,isInline:a}=e,i;r[0]===n._type?i=r[1]:(i=q(n._type),r[0]=n._type,r[1]=i);let o=i,l;return r[2]!==a||r[3]!==o?(l=(0,t.jsx)(a?"span":"div",{style:K,children:o}),r[2]=a,r[3]=o,r[4]=l):l=r[4],l},unknownMark:function(e){let r=(0,k.c)(3),{markType:n,children:a}=e,i=`unknown__pt__mark__${n}`,o;return r[0]!==a||r[1]!==i?(o=(0,t.jsx)("span",{className:i,children:a}),r[0]=a,r[1]=i,r[2]=o):o=r[2],o},unknownList:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("ul",{children:n}),r[0]=n,r[1]=a),a},unknownListItem:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("li",{children:n}),r[0]=n,r[1]=a),a},unknownBlockStyle:function(e){let r=(0,k.c)(2),{children:n}=e,a;return r[0]===n?a=r[1]:(a=(0,t.jsx)("p",{children:n}),r[0]=n,r[1]=a),a}};function Y(e,t,r){let n=t[r],a=e[r];return"function"==typeof n||n&&"function"==typeof a?n:n?{...a,...n}:a}function J(e){let r,n=(0,k.c)(10),{value:a,components:i,listNestingMode:o,onMissingComponent:l}=e,s=(void 0===l?V:l)||ee,u;if(Array.isArray(a))u=a;else if(null==a){let e;n[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],n[0]=e):e=n[0],u=e}else{let e;n[1]===a?e=n[2]:(e=[a],n[1]=a,n[2]=e),u=e}if(n[3]!==u||n[4]!==i||n[5]!==s||n[6]!==o){let e=function(e,t){let r=[],n;for(let o=0;o<e.length;o++){let l=e[o];if(l){var a,i;if(!A(l)){r.push(l),n=void 0;continue}if(!n){let e=U(l,o,t,0);n=e.current,r.push(e.root);continue}if(a=l,i=n,(a.level||1)===i.level&&a.listItem===i.listItem){n.children.push(l);continue}if((l.level||1)>n.level){let e=U(l,o,t,n.level);H(n,e.root),n=e.current;continue}if((l.level||1)<n.level){let e=r[r.length-1],a=e&&B(e,l);if(a){(n=a).children.push(l);continue}let i=U(l,o,t,0);n=i.current,r.push(i.root);continue}if(l.listItem!==n.listItem){let e=r[r.length-1],a=e&&B(e,{level:l.level||1});if(a&&a.listItem===l.listItem){(n=a).children.push(l);continue}{let e=U(l,o,t,0);n=e.current,r.push(e.root);continue}}console.warn("Unknown state encountered for block",l),r.push(l)}}return r}(u,o||"html"),t=Z(i?function(e,t){let{block:r,list:n,listItem:a,marks:i,types:o,...l}=t;return{...e,block:Y(e,t,"block"),list:Y(e,t,"list"),listItem:Y(e,t,"listItem"),marks:Y(e,t,"marks"),types:Y(e,t,"types"),...l}}(G,i):G,s);r=e.map((e,r)=>t({node:e,index:r,isInline:!1,renderNode:t})),n[3]=u,n[4]=i,n[5]=s,n[6]=o,n[7]=r}else r=n[7];let c=r,h;return n[8]===c?h=n[9]:(h=(0,t.jsx)(t.Fragment,{children:c}),n[8]=c,n[9]=h),h}let Z=(e,r)=>function n(a){var i,o,l,s,u,c,h,d;let f,p,{node:m,index:g,isInline:_}=a,y=m._key||`node-${g}`;return I(m)?function(a,i,o){let l=a.children.map((e,t)=>n({node:e._key?e:{...e,_key:`li-${i}-${t}`},index:t,isInline:!1,renderNode:n})),s=e.list,u=("function"==typeof s?s:s[a.listItem])||e.unknownList;if(u===e.unknownList){let e=a.listItem||"bullet";r(z(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,t.jsx)(u,{value:a,index:i,isInline:!1,renderNode:n,children:l},o)}(m,g,y):A(m)?function(a,i,o){let l=Q({node:a,index:i,isInline:!1,renderNode:n}),s=e.listItem,u=("function"==typeof s?s:s[a.listItem])||e.unknownListItem;if(u===e.unknownListItem){let e=a.listItem||"bullet";r(z(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let c=l.children;if(a.style&&"normal"!==a.style){let{listItem:e,...t}=a;c=n({node:t,index:i,isInline:!1,renderNode:n})}return(0,t.jsx)(u,{value:a,index:i,isInline:!1,renderNode:n,children:c},o)}(m,g,y):$(m)?function(a,i){let{markDef:o,markType:l,markKey:s}=a,u=e.marks[l]||e.unknownMark,c=a.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return u===e.unknownMark&&r(z(`mark type "${l}"`,"marks"),{nodeType:"mark",type:l}),(0,t.jsx)(u,{text:function e(t){let r="";
5return t.children.forEach(t=>{M(t)?r+=t.text:$(t)&&(r+=e(t))}),r}(a),value:o,markType:l,markKey:s,renderNode:n,children:c},i)}(m,y):m._type in e.types?(i=m,o=g,l=y,s=_,(f=e.types[i._type])?(0,t.jsx)(f,{value:i,isInline:s,index:o,renderNode:n},l):null):N(m)?function(a,i,o,l){let{_key:s,...u}=Q({node:a,index:i,isInline:l,renderNode:n}),c=u.node.style||"normal",h=("function"==typeof e.block?e.block:e.block[c])||e.unknownBlockStyle;return h===e.unknownBlockStyle&&r(z(`block style "${c}"`,"block"),{nodeType:"blockStyle",type:c}),(0,t.jsx)(h,{...u,value:u.node,renderNode:n},o)}(m,g,y,_):M(m)?function(r,n){if("\n"===r.text){let r=e.hardBreak;return r?(0,t.jsx)(r,{},n):"\n"}return r.text}(m,y):(u=m,c=g,h=y,d=_,r(q(u._type),{nodeType:"block",type:u._type}),p=e.unknownType,(0,t.jsx)(p,{value:u,isInline:d,index:c,renderNode:n},h))};function Q(e){let{node:t,index:r,isInline:n,renderNode:a}=e,i=(function(e){let{children:t}=e,r=e.markDefs??[];if(!t||!t.length)return[];let n=t.map(D),a={_type:"@span",children:[],markType:"<unknown>"},i=[a];for(let e=0;e<t.length;e++){let a=t[e];if(!a)continue;let o=n[e]||[],l=1;if(i.length>1)for(;l<i.length;l++){let e=o.indexOf(i[l]?.markKey||"");if(-1===e)break;o.splice(e,1)}let s=(i=i.slice(0,l))[i.length-1];if(s){for(let e of o){let t=r?.find(t=>t._key===e),n={_type:"@span",_key:a._key,children:[],markDef:t,markType:t?t._type:e,markKey:e};s.children.push(n),i.push(n),s=n}if(C(a)){let e=a.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");s.children=s.children.concat(e.map(e=>({_type:"@text",text:e})))}else s.children=s.children.concat(a)}}return a.children})(t).map((e,t)=>a({node:e,isInline:!0,index:t,renderNode:a}));return{_key:t._key||`block-${r}`,children:i,index:r,isInline:n,node:t}}function ee(){}var et=e.i(522016),er=e.i(156417),en=e.i(698228),ea=e.i(265562),ei=e.i(473610);function eo({value:e}){let{url:r}=e;if(!r)return null;let n=(0,en.default)(r);return n?(0,t.jsx)(ea.default,{className:ei.default.YTStyled,videoId:n}):null}let el=({value:e,appData:n})=>{let{placement:a,imageRef:i,title:o}=e;switch(a){case"alignLeft":return(0,t.jsx)("div",{className:er.default.SLeftAlignedImage,children:(0,t.jsx)(r.default,{appData:n,image:i,altText:o,sizes:"(min-width: 641px) 400px, 100vw",width:400})});case"alignRight":return(0,t.jsx)("div",{className:er.default.SRightAlignedImage,children:(0,t.jsx)(r.default,{appData:n,image:i,altText:o,sizes:"(min-width: 641px) 400px, 100vw",width:400})});case"centered":return(0,t.jsx)("div",{className:er.default.SCenteredImage,children:(0,t.jsx)(r.default,{appData:n,image:i,altText:o,sizes:"(min-width: 641px) 1100px, 100vw",width:600})});default:return(0,t.jsx)(r.FullWidthCMSImage,{appData:n,className:er.default.SFullWidthImage,image:i,altText:o,sizes:"(min-width: 641px) 1100px, 100vw",width:600})}};function es(){return null}let eu={youtube:es,inlineImage:es,mailchimpForm:es,mailchimpFormWithUrl:es,dialogApi:es,showtimeAnalytics:es,table:es,instagramEmbed:es,tiktokEmbed:es,twitterEmbed:es,facebookEmbed:es},ec={internalLink:({children:e})=>(0,t.jsx)("span",{children:e}),mailTo:({children:e})=>(0,t.jsx)("span",{children:e}),link:({children:e})=>(0,t.jsx)("span",{children:e})},eh={internalLink:({children:e,value:r})=>{let n=null;try{n=(0,p.getUrlForDocType)(r?.docType,r?.slug)}catch(e){console.error("Value",r,e)}return r?.slug&&n?(0,t.jsx)(et.default,{href:n,children:e}):(0,t.jsx)("span",{children:e})},mailTo:({children:e,value:r})=>(0,t.jsx)(et.default,{href:`mailto:${r?.mailto}`,children:e})};e.s(["default",0,({value:e,className:r,disableLinks:n=!1,disableCustomComponents:i=!1,appData:o})=>{if(!e||0===e.length)return null;let u=function(e=!1,r=!1,n){return{types:r?eu:{youtube:({value:e})=>(0,t.jsx)(eo,{value:e}),inlineImage:({value:e})=>(0,t.jsx)(el,{appData:n,value:e}),mailchimpForm:({value:e})=>(0,t.jsx)(l,{value:e}),mailchimpFormWithUrl:({value:e})=>(0,t.jsx)(s,{value:e}),dialogApi:({value:e})=>(0,t.jsx)(a,{value:e}),showtimeAnalytics:({value:e})=>(0,t.jsx)(c,{value:e}),table:({value:e})=>(0,t.jsx)(f,{value:e}),instagramEmbed:({value:e})=>(0,t.jsx)(E,{value:e}),tiktokEmbed:({value:e})=>(0,t.jsx)(w,{value:e}),twitterEmbed:({value:e})=>(0,t.jsx)(T,{value:e}),facebookEmbed:({value:e})=>(0,t.jsx)(v,{value:e})},marks:e?ec:eh}}(n,i,o);return(0,t.jsx)("div",{className:(0,h.default)(er.default.StyledRichText,r),children:(0,t.jsx)(J,{value:e,components:u})})}],235073)}]);
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.