1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="819467ef-6138-40ac-b646-8ee8f995e9e8",e._sentryDebugIdIdentifier="sentry-dbid-819467ef-6138-40ac-b646-8ee8f995e9e8")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8683],{940:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(12115),i=r(32641);function o(e,t){void 0===t&&(t={});var r,n,i=(r=e)&&"j"===r[0]&&":"===r[1]?r.substr(2):r;if(void 0===(n=t.doNotParse)&&(n=!i||"{"!==i[0]&&"["!==i[0]&&'"'!==i[0]),!n)try{return JSON.parse(i)}catch(e){}return e}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(){function e(e,t){var r=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies="string"==typeof e?i.q(e,t):"object"==typeof e&&null!==e?e:{},new Promise(function(){r.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=i.q(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,r){return void 0===t&&(t={}),this._updateBrowserValues(r),o(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var r={};for(var n in this.cookies)r[n]=o(this.cookies[n],e);return r},e.prototype.set=function(e,t,r){var n;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=a(a({},this.cookies),((n={})[e]=t,n)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=i.l(e,t,r)),this._emitChange({name:e,value:t,options:r})},e.prototype.remove=function(e,t){var r=t=a(a({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=a({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=i.l(e,"",r)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}(),l=n.createContext(new s);function u(e){var t=(0,n.useContext)(l);if(!t)throw Error("Missing <CookiesProvider>");var r=t.getAll(),i=(0,n.useState)(r),o=i[0],a=i[1],s=(0,n.useRef)(o);return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement&&(0,n.useLayoutEffect)(function(){function r(){var r=t.getAll();(function(e,t,r){if(!e)return!0;for(var n=0;n<e.length;n++){var i=e[n];if(t[i]!==r[i])return!0}return!1})(e||null,r,s.current)&&a(r),s.current=r}return t.addChangeListener(r),function(){t.removeChangeListener(r)}},[t]),[o,(0,n.useMemo)(function(){return t.set.bind(t)},[t]),(0,n.useMemo)(function(){return t.remove.bind(t)},[t])]}l.Provider,l.Consumer},1150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(95155),i=r(12115),o=r(24437);function a(e){return{default:e&&"default"in e?e.default:e}}r(36552);let s={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},l=function(e){let t={...s,...e},r=(0,i.lazy)(()=>t.loader().then(a)),l=t.loading;function u(e){let a=l?(0,n.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?i.Suspense:i.Fragment,c=t.ssr?(0,n.jsxs)(n.Fragment,{children:[null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(o.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(u,{...s?{fallback:a}:{},children:c})}return u.displayName="LoadableComponent",u}},1262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(12115),i=n.useLayoutEffect,o=n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(
1Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},2821:(e,t,r)=>{"use strict";function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{$:()=>n,A:()=>i});let i=n},3809:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var n=r(16091),i=r(95155);function o(e){let{locale:t,...r}=e;if(!t)throw Error(void 0);return(0,i.jsx)(n.Dk,{locale:t,...r})}},4106:(e,t,r)=>{"use strict";r.d(t,{FD:()=>y,MY:()=>o,PJ:()=>a,Wl:()=>l,XP:()=>f,_x:()=>i,bL:()=>h,po:()=>u,ql:()=>c,wO:()=>s,yL:()=>b});var n=r(87358);function i(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function o(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function a(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function s(e,t){return t===e||t.startsWith(`${e}/`)}function l(e,t,r){return"string"==typeof e?e:e[t]||r}function u(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch{return!1}}(),[r,...i]=e.split("#"),o=i.join("#"),a=r;if("/"!==a){let e=a.endsWith("/");t&&!e?a+="/":!t&&e&&(a=a.slice(0,-1))}return o&&(a+="#"+o),a}function c(e,t){let r=u(e),n=u(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(r).test(n)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||h(e)}function h(e){return"/"+e}function d(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let r=e.split("/"),n=t.split("/"),i=Math.max(r.length,n.length);for(let e=0;e<i;e++){let t=r[e],i=n[e];if(!t&&i)return -1;if(t&&!i)return 1;if(t||i){if(!m(t)&&m(i))return -1;if(m(t)&&!m(i))return 1;if(!p(t)&&p(i))return -1;if(p(t)&&!p(i))return 1;if(!d(t)&&d(i))return -1;if(d(t)&&!d(i))return 1}}return 0}function y(e){return e.sort(g)}function b(e){return"function"==typeof e.then}},8567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=r(17828)},11486:(e,t,r)=>{"use strict";r.d(t,{l:()=>s});var n=r(12115),i=r(95155),o=r(80150);let a={class:"className"};function s(e){return function(t){let r=(0,o.tO)(t,!0);return r?.length?l(r,e):null}}function l(e,t){return(0,o.hs)(e).map((e,r)=>e.linkMark?function(e,t,r,s){var l,c;let f=e.map((e,t)=>u(e,(0,o.Hv)(e),r,e._key||t)),h=(l=t.type,c=r.components,c?.[l]);if(h)return(0,i.jsx)(h,{...t,context:r,children:f},s);let d=(0,o.fn)(t);if(!d)return(0,i.jsx)(n.Fragment,{children:f},s);let p="attrs"in t?t.attrs:{};return n.createElement(d,{key:s,...(0,o.gU)(t.type,p,a)},f)}(e.nodes,e.linkMark,t,e._key||r):function e(t,r,s){let c="text"!==t.type&&t.content?l(t.content,r):null,f=(d=t.type,p=r.components,p?.[d]);if(f){let e=r.components?.[t.type]?{...r,components:{...r.components,[t.type]:void 0}}:r;return(0,i.jsx)(f,{...t,context:e,children:c},s)}if("text"===t.type){return m=t,g=r,y=s,u(m,m.marks,g,y)}let h=(0,o.fn)(t);if(!h)return t.content?l(t.content,r):null;if("image"===t.type&&r.optimizeImage){var d,p,m,g,y,b=t,v=r,E=s;let e="attrs"in b?b.attrs:void 0,n=e?.src;if(!n)return null;let{src:l,attrs:u}=(0,o.PL)(n,v.optimizeImage),c=(0,o.gU)("image",{...e,src:l,...u},a);return(0,i.jsx)("img",{...c},E)}let w="attrs"in t?t.attrs:{},A=(0,o.gU)(t.type,w,a);if((0,o.m5)(h))return n.createElement(h,{key:s,...A});if("table"===t.type){var _=t,S=r,k=s,B=h,x=A;let{headerRows:a,bodyRows:l}=(0,o.E3)(_.content),u=[];return a.length>0&&u.push((0,i.jsx)("thead",{children:a.map((t,r)=>e(t,S,t._key||r))},"thead")),l.length>0&&u.push((0,i.jsx)("tbody",{children:l.map((t,r)=>e(t,S,t._key||r))},"tbody")),n.createElement(B,{key:k,...x},u)}let T=(0,o.k2)(t);if(T){let e=t.content?l(t.content,r):null,i=function e(t,r,i,s){return r.map((r,l)=>{let{tag:u,children:c,attrs:f}=r,h={...f,...i},d=(0,o.gU)(t,h,a);if((0,o.m5)(u))return n.createElement(u,{key:l,...d});let p=c?e(t,c,i,s):s;return n.createElement(u,{key:l,...d},p)})}(t.type,T,w,e);return n.createElement(h,{key:s},i)}return"emoji"===t.type?n.createElement(h,{key:s,...A},t.attrs.emoji):n.createElement(h,{key:s,...A},t.content?l(t.content,r):null)}(e.nodes[0],t,e._key||r))}function u(e,t,r,s){let l=e.text;if(t?.length)for(let e of t)l=function(e,t,r){var s,l;let u=(s=t.type,l=r.components,l?.[s]);if(u)return(0,i.jsx)(u,{...t,context:r,children:e});let c=(0,o.fn)(t);if(!c)return e;let f="attrs"in t?t.attrs:{},h=(0,o.gU)(t.type,f,a);return n.createElement(c,h,e)}(l,e,r);return(0,i.jsx)(n.Fragment,{children:l},s)}},12195:(e,t,r)=>{"use strict";r.d(t,{Dp:()=>i.A,ZR:()=>n.ZR,K1:()=>o.K1}
1);var n=r(65769);r(67964),r(41730);var i=r(67479);r(63259);var o=r(16298);r(11486),r(92779),r(32707),(0,r(27812).B)(i.A),r(77455),r(12115)},14105:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=n?40*n:t,l=i?40*i:r,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},15239:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(54652),i=r.n(n)},16091:(e,t,r)=>{"use strict";r.d(t,{Dk:()=>ec,kc:()=>eg,Ym:()=>em,c3:()=>ep});var n=r(12115);function i(e,t,r,n){let i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function o(e,t,r){let n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}let a=function(){return JSON.stringify(arguments)};var s=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let l={create:function(){return new s}},u={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,o.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)}};class c extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),this.code=e,t&&(this.originalMessage=t)}}var f=function(e){return e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e}(f||{});function h(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function d(e,t){var r={cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:u.variadic};let n=r&&r.cache?r.cache:l,s=r&&r.serializer?r.serializer:a;return(r&&r.strategy?r.strategy:function(e,t){var r,n;let a=1===e.length?i:o;return r=t.cache.create(),n=t.serializer,a.bind(this,e,r,n)})(e,{cache:n,serializer:s})}function p(e,t){return d((...t)=>new e(...t),t)}function m(e){return{getDateTimeFormat:p(Intl.DateTimeFormat,e.dateTime),getNumberFormat:p(Intl.NumberFormat,e.number),getPluralRules:p(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:p(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:p(Intl.ListFormat,e.list),getDisplayNames:p(Intl.DisplayNames,e.displayNames)}}function g(e,t){let r=t&&t.cache?t.cache:w,n=t&&t.serializer?t.serializer:v;return(t&&t.strategy?t.strategy:function(e,t){var r,n;let i=1===e.length?y:b;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function y(e,t,r,n){let i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function b(e,t,r){let n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}let v=function(){return JSON.stringify(arguments)};var E=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let w={create:function(){return new E}},A={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,b.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,y.bind(this,e,r,n)}},_=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,S=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,k=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,B=/^(@+)?(\+|#+)?[rs]?$/g,x=/(\*)(0+)|(#+)(0+)|(0+)/g,T=/^(0+)$/;function O(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(B,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function P(e){let t=C(e);return t||{}}let H=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_
1NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",e}({});function I(e){return!!(e&&"object"==typeof e&&0===e.type)}function R(e){return!!(e&&"object"==typeof e&&1===e.type)}let L=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,M={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},N=RegExp(`^${L.source}*`),F=RegExp(`${L.source}*$`);function j(e,t){return{start:e,end:t}}let D=!!Object.fromEntries,U=!!String.prototype.trimStart,V=!!String.prototype.trimEnd,G=D?Object.fromEntries:function(e){let t={};for(let[r,n]of e)t[r]=n;return t},$=U?function(e){return e.trimStart()}:function(e){return e.replace(N,"")},z=V?function(e){return e.trimEnd()}:function(e){return e.replace(F,"")},K=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var Z=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,r=1;for(let n=0;n<e.length;){let i=e.charCodeAt(n);switch(i){case 35:case 39:case 60:case 123:case 125:return null}if(10===i)t++,r=1,n++;else if(r++,i>=55296&&i<=56319&&n+1<e.length){let t=e.charCodeAt(n+1);n+=t>=56320&&t<=57343?2:1}else n++}return{offset:e.length,line:t,column:r}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:j(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let n=[];for(;!this.isEOF();){let i=this.char();if(123===i){let t=this.parseArgument(e,r);if(t.err)return t;n.push(t.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),n.push({type:7,location:j(e,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek())if(60===i&&!this.ignoreTag&&Y(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;n.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;n.push(r.val)}else if(!r)return this.error(26,j(this.clonePosition(),this.clonePosition()));else break}return{val:n,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${n}/>`,location:j(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,j(r,this.clonePosition()));{let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let o=i.val,a=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,j(r,this.clonePosition()));{if(this.isEOF()||!Y(this.char()))return this.error(23,j(a,this.clonePosition()));let e=this.clonePosition();return n!==this.parseTagName()?this.error(26,j(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:n,children:o,location:j(r,this.clonePosition())},err:null}:this.error(23,j(a,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),n="";for(;;){let r=this.tryParseQuote(t);if(r){n+=r;
1continue}let i=this.tryParseUnquoted(e,t);if(i){n+=i;continue}let o=this.tryParseLeftAngleBracket();if(o){n+=o;continue}break}return{val:{type:0,value:n,location:j(r,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Y(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,j(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,j(r,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,j(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,j(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:j(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,j(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(3,j(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),n=(e=this.message,K.lastIndex=r,K.exec(e)[1]??""),i=r+n.length;return this.bumpTo(i),{value:n,location:j(t,this.clonePosition())}}parseArgumentOptions(e,t,r,n){let i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(4,j(i,a));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let n=z(r.val);if(0===n.length)return this.error(6,j(this.clonePosition(),this.clonePosition()));e={style:n,styleLocation:j(t,this.clonePosition())}}let t=this.tryParseArgumentClose(n);if(t.err)return t;let i=j(n,this.clonePosition());if(e&&e.style.startsWith("::")){let t=$(e.style.slice(2));if("number"===o){let n=this.parseNumberSkeletonFromString(t,e.styleLocation);if(n.err)return n;return{val:{type:2,value:r,location:i,style:n.val},err:null}}{if(0===t.length)return this.error(10,i);let n=t;return this.locale&&(n=function(e,t){let r="";for(let n=0;n<e.length;n++){let i=e.charAt(n);if("j"===i){let o=0;for(;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;let a=1+(1&o),s=o<2?1:3+(o>>1),l=function(e){let t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let n=e.language;return"root"!==n&&(t=e.maximize().region),(M[t||""]||M[n||""]||M[`${n}-001`]||M["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)r+="a";for(;a-- >0;)r=l+r}else"J"===i?r+="H":r+=i}return r}(t,this.locale)),{val:{type:"date"===o?3:4,value:r,location:i,style:{type:1,pattern:n,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?function(e){let t={};return e.replace(_,e=>{let r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-3];break;case"c":if(r<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-3];break;case"a":t.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}(n):{}}},err:null}}}return{val:{type:"number"===o?2:"date"===o?3:4,value:r,location:i,style:e?.style??null},err:null}}
1case"plural":case"selectordinal":case"select":{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,j(i,{...i}));this.bumpSpace();let a=this.parseIdentifierIfPossible(),s=0;if("select"!==o&&"offset"===a.value){if(!this.bumpIf(":"))return this.error(13,j(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),a=this.parseIdentifierIfPossible(),s=e.val}let l=this.tryParsePluralOrSelectOptions(e,o,t,a);if(l.err)return l;let u=this.tryParseArgumentClose(n);if(u.err)return u;let c=j(n,this.clonePosition());if("select"===o)return{val:{type:5,value:r,options:G(l.val),location:c},err:null};return{val:{type:6,value:r,options:G(l.val),offset:s,pluralType:"plural"===o?"cardinal":"ordinal",location:c},err:null}}default:return this.error(5,j(i,a))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,j(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,j(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(S).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[n,...i]=t;for(let e of i)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:n,options:i})}return r}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...P(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...P(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(x,function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(T.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(k.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(k,function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];
1"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...O(e)});continue}if(B.test(r.stem)){t={...t,...O(r.stem)};continue}let e=C(r.stem);e&&(t={...t,...e});let n=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!T.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);n&&(t={...t,...n})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,n){let i=!1,o=[],a=new Set,{value:s,location:l}=n;for(;;){if(0===s.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;l=j(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(a.has(s))return this.error("select"===t?21:20,l);"other"===s&&(i=!0),this.bumpSpace();let n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,j(this.clonePosition(),this.clonePosition()));let u=this.parseMessage(e+1,t,r);if(u.err)return u;let c=this.tryParseArgumentClose(n);if(c.err)return c;o.push([s,{value:u.val,location:j(n,this.clonePosition())}]),a.add(s),this.bumpSpace(),{value:s,location:l}=this.parseIdentifierIfPossible()}return 0===o.length?this.error("select"===t?15:16,j(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,j(this.clonePosition(),this.clonePosition())):{val:o,err:null}}tryParseDecimalInteger(e,t){let r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let i=!1,o=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,o=10*o+(e-48),this.bump();else break}let a=j(n,this.clonePosition());return i?Number.isSafeInteger(o*=r)?{val:o,err:null}:this.error(t,a):this.error(e,a)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function Y(e){return e>=97&&e<=122||e>=65&&e<=90}function q(e,t={}){let r=new Z(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(H[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&I(t.style)||(3===t.type||4===t.type)&&R(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val}var W=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},X=class extends W{constructor(e,t,r,n){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",n)}},J=class extends W{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}}
1,Q=class extends W{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function ee(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var et=class e{constructor(t,r=e.defaultLocale,n,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,n,i,o,a,s){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let l=[];for(let u of t){if(0===u.type){l.push({type:0,value:u.value});continue}if(7===u.type){"number"==typeof a&&l.push({type:0,value:n.getNumberFormat(r).format(a)});continue}let{value:t}=u;if(!(o&&t in o))throw new Q(t,s);let c=o[t];if(1===u.type){c&&"string"!=typeof c&&"number"!=typeof c&&"bigint"!=typeof c||(c="string"==typeof c||"number"==typeof c||"bigint"==typeof c?String(c):""),l.push({type:+("string"!=typeof c),value:c});continue}if(3===u.type){let e="string"==typeof u.style?i.date[u.style]:R(u.style)?u.style.parsedOptions:void 0;l.push({type:0,value:n.getDateTimeFormat(r,e).format(c)});continue}if(4===u.type){let e="string"==typeof u.style?i.time[u.style]:R(u.style)?u.style.parsedOptions:i.time.medium;l.push({type:0,value:n.getDateTimeFormat(r,e).format(c)});continue}if(2===u.type){let e="string"==typeof u.style?i.number[u.style]:I(u.style)?u.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof c){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);c*=BigInt(t)}else c*=t}l.push({type:0,value:n.getNumberFormat(r,e).format(c)});continue}if(8===u.type){let{children:t,value:c}=u,f=o[c];if("function"!=typeof f)throw new J(c,"function",s);let h=f(e(t,r,n,i,o,a).map(e=>e.value));Array.isArray(h)||(h=[h]),l.push(...h.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===u.type){let t=c,a=(Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0)||u.options.other;if(!a)throw new X(u.value,c,Object.keys(u.options),s);l.push(...e(a.value,r,n,i,o));continue}if(6===u.type){let t=`=${c}`,a=Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0;if(!a){if(!Intl.PluralRules)throw new W(`Intl.PluralRules is not available in this environment. 2Try polyfilling it using "@formatjs/intl-pluralrules" 3`,"MISSING_INTL_API",s);let e="bigint"==typeof c?Number(c):c,t=n.getPluralRules(r,{type:u.pluralType}).select(e-(u.offset||0));a=(Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0)||u.options.other}if(!a)throw new X(u.value,c,Object.keys(u.options),s);let f="bigint"==typeof c?Number(c):c;l.push(...e(a.value,r,n,i,o,f-(u.offset||0)));continue}}return l.length<2?l:l.reduce((e,t)=>{let r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...r}=i||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((r,n)=>{var i,o;return r[n]=(i=e[n],(o=t[n])?{...i,...o,...Object.keys(i).reduce((e,t)=>(e[t]={...i[t],...o[t]},e),{})}:i),r},{...e}):e}(e.formats,n),this.formatters=i&&i.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:g((...e)=>new Intl.NumberFormat(...e),{cache:ee(e.number),strategy:A.variadic}),getDateTimeFormat:g((...e)=>new Intl.DateTimeFormat(...e),{cache:ee(e.dateTime),strategy:A.variadic}),getPluralRules:g((...e)=>new Intl.PluralRules(...e),{cache:ee(e.pluralRules),strategy:A.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=q}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function er(...[e,t,r,i]){let o;if(Array.isArray(t))throw new c(f.INVALID_MESSAGE,void 0);if("object"==typeof t)throw new c(f.INSUFFICIENT_PATH,void 0);if("string"==typeof t){let e=r||/'[{}<#|']/.test(t)?void 0:t;if(e)return e}let{cache:a,formats:s,formatters:l,globalFormats:u,locale:h,timeZone:p}=i;l.getMessageFormat||(l.getMessageFormat=d((...e)=>new et(e[0],e[1],e[2],{formatters:l,...e[3]}),a.message));try{o=l.getMessageFormat(t,h,function(e,t,r){let n=et.formats.date,i=et.formats.time,o={...e?.dateTime,...t?.dateTime},a={date:{...n,...o},time:{...i,...o},number:{...e?.number,...t?.number}};
3return r&&["date","time"].forEach(e=>{let t=a[e];for(let[e,n]of Object.entries(t))t[e]={timeZone:r,...n}}),a}(u,s,p),{formatters:{...l,getDateTimeFormat:(e,t)=>l.getDateTimeFormat(e,{...t,timeZone:t?.timeZone??p})}})}catch(e){throw new c(f.INVALID_MESSAGE,void 0)}let m=o.format(r);return(0,n.isValidElement)(m)||Array.isArray(m)||"string"==typeof m?m:String(m)}function en(...e){return e.filter(Boolean).join(".")}function ei(e){return en(e.namespace,e.key)}function eo(e){console.error(e)}function ea(e,t,r,n){let i=en(n,r);if(!t)throw Error(i);let o=t;return r.split(".").forEach(t=>{let r=o[t];if(null==t||null==r)throw Error(i+` (${e})`);o=r}),o}er.raw=!0;let es={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var el=r(95155);let eu=(0,n.createContext)(void 0);function ec({children:e,formats:t,getMessageFallback:r,locale:i,messages:o,now:a,onError:s,timeZone:l}){let u=(0,n.useContext)(eu),c=(0,n.useMemo)(()=>u?.cache||h(),[i,u?.cache]),f=(0,n.useMemo)(()=>u?.formatters||m(c),[c,u?.formatters]),d=(0,n.useMemo)(()=>({...function({formats:e,getMessageFallback:t,messages:r,onError:n,...i}){return{...i,formats:e||void 0,messages:r||void 0,onError:n||eo,getMessageFallback:t||ei}}({locale:i,formats:void 0===t?u?.formats:t,getMessageFallback:r||u?.getMessageFallback,messages:void 0===o?u?.messages:o,now:a||u?.now,onError:s||u?.onError,timeZone:l||u?.timeZone}),formatters:f,cache:c}),[c,t,f,r,i,o,a,s,u,l]);return(0,el.jsx)(eu.Provider,{value:d,children:e})}function ef(){let e=(0,n.useContext)(eu);if(!e)throw Error(void 0);return e}let eh=!1,ed="undefined"==typeof window;function ep(e){return function(e,t,r){let{cache:i,formats:o,formatters:a,getMessageFallback:s,locale:l,onError:u,timeZone:h}=ef(),d=e["!"],p="!"===t?void 0:t.slice((r+".").length);return h||eh||!ed||(eh=!0,u(new c(f.ENVIRONMENT_FALLBACK,void 0))),(0,n.useMemo)(()=>(function(e){let t=function(e,t,r){try{if(!t)throw Error(void 0);let n=r?ea(e,t,r):t;if(!n)throw Error(r);return n}catch(e){return new c(f.MISSING_MESSAGE,e.message)}}(e.locale,e.messages,e.namespace);return function({cache:e,formats:t,formatters:r,getMessageFallback:i=ei,locale:o,messagesOrError:a,namespace:s,onError:l,timeZone:u}){let h=a instanceof c;function d(e,t,r,n){let o=new c(t,r);return l(o),n??i({error:o,key:e,namespace:s})}function p(p,m,g,y){let b;if(h){if(!y)return l(a),i({error:a,key:p,namespace:s});b=y}else try{b=ea(o,a,p,s)}catch(e){if(!y)return d(p,f.MISSING_MESSAGE,e.message,y);b=y}try{let i=en(s,p);return er(i,b,m?function(e){let t={};return Object.keys(e).forEach(r=>{let i,o=0,a=e[r];i="function"==typeof a?e=>{let t=a(e);return(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{key:r+o++}):t}:a,t[r]=i}),t}(m):m,{cache:e,formatters:r,globalFormats:t,formats:g,locale:o,timeZone:u})}catch(r){let e,t;return r instanceof c?(e=r.code,t=r.originalMessage):(e=f.FORMATTING_ERROR,t=r.message),d(p,e,t,y)}}function m(e,t,r,n){let i=p(e,t,r,n);return"string"!=typeof i?d(e,f.INVALID_MESSAGE,void 0):i}return m.rich=p,m.markup=(e,t,r,n)=>p(e,t,r,n),m.raw=e=>{if(h)return l(a),i({error:a,key:e,namespace:s});try{return ea(o,a,e,s)}catch(t){return d(e,f.MISSING_MESSAGE,t.message)}},m.has=e=>{if(h)return!1;try{return ea(o,a,e,s),!0}catch{return!1}},m}({...e,messagesOrError:t})})({cache:i,formatters:a,getMessageFallback:s,messages:d,namespace:p,onError:u,formats:o,locale:l,timeZone:h}),[i,a,s,d,p,u,o,l,h])}({"!":ef().messages},e?`!.${e}`:"!","!")}function em(){return ef().locale}function eg(){let{formats:e,formatters:t,locale:r,now:i,onError:o,timeZone:a}=ef();return(0,n.useMemo)(()=>(function(e){let{_cache:t=h(),_formatters:r=m(t),formats:n,locale:i,onError:o=eo,timeZone:a}=e;function s(e){return e?.timeZone||(a?e={...e,timeZone:a}:o(new c(f.ENVIRONMENT_FALLBACK,void 0))),e}function l(e,t,r,n,i){let a;try{a=function(e,t,r){let n;if("string"==typeof t){if(!(n=e?.[t])){let e=new c(f.MISSING_FORMAT,void 0);throw o(e),e}}else n=t;return r&&(n={...n,...r}),n}(r,e,t)}catch{return i()}try{return n(a)}catch(e){return o(new c(f.FORMATTING_ERROR,e.message)),i()}}function u(e,t,o){return l(t,o,n?.dateTime,t=>(t=s(t),r.getDateTimeFormat(i,t).format(e)),()=>String(e))}function d(){return e.now?e.now:(o(new c(f.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:u,number:function(e,t,o){return l(t,o,n?.number,t=>r.getNumberFormat(i,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var n;let o,a,s={};t instanceof Date||"number"==typeof t?o=new Date(t):t&&(o=null!=t.now?new Date(t.now):d(),a=t.unit,s.style=t.style,s.numberingSystem=t.numberingSystem),o||(o=d());let l=(new Date(e).getTime()-o.getTime())/1e3;a||(a=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<2628e3?"week":t<31536e3?"month":"year"}(l)),s.numeric="second"===a?"auto":"always";let u=(n=a,Math.round(l/es[n]));return r.getRelativeTimeFormat(i,s).format(u,a)}catch(t){return o(new c(f.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,o){let a=[],s=new Map,u=0;for(let t of e){let e;"object"==typeof t?(e=String(u),s.set(e,t)):e=String(t),a.push(e),u++}return l(t,o,n?.list,e=>{let t=r.getListFormat(i,e).formatToParts(a).map(e=>
3"literal"===e.type?e.value:s.get(e.value)||e.value);return s.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,o,a){return l(o,a,n?.dateTime,n=>(n=s(n),r.getDateTimeFormat(i,n).formatRange(e,t)),()=>[u(e),u(t)].join("âââ"))},displayName:function(e,t,o){return l(t,o,n?.displayName,t=>r.getDisplayNames(i,t).of(e),()=>e)}}})({formats:e,locale:r,now:i,onError:o,timeZone:a,_formatters:t}),[e,t,i,r,o,a])}},16298:(e,t,r)=>{"use strict";r.d(t,{K1:()=>n.K1}),r(65769),r(67964),r(41730),r(67479),r(63259);var n=r(7556)},17828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(64054).createAsyncLocalStorage)()},18955:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(16091);function i(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let o=i(0,n.c3);i(0,n.kc)},20063:(e,t,r)=>{"use strict";var n=r(47260);r.o(n,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return n.permanentRedirect}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},20821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},22544:(e,t,r)=>{"use strict";r.d(t,{mN:()=>ef});var n=r(12115),i=e=>e instanceof Date,o=e=>null==e,a=e=>!o(e)&&!Array.isArray(e)&&"object"==typeof e&&!i(e);let s=/[.[\]'"]/;var l=e=>e.split(s).filter(Boolean),u="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function c(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Date)return new Date(e);let t="undefined"!=typeof Blob&&e instanceof Blob,r="undefined"!=typeof FileList&&e instanceof FileList;if(u&&(t||r))return e;let n=Array.isArray(e);if(!n&&e.constructor!==Object)return e;let i=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=c(e[t]));return i}let f={BLUR:"blur",FOCUS_OUT:"focusout",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},h={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},d={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},p="root",m=["__proto__","constructor","prototype"],g=/^\w*$/;var y=e=>g.test(e),b=e=>void 0===e,v=(e,t,r)=>{if(!t||!a(e))return r;let n=y(t)?[t]:l(t);if(n.some(e=>m.includes(e)))return r;let i=n.reduce((e,t)=>o(e)?void 0:e[t],e);return b(i)||i===e?b(e[t])?r:e[t]:i},E=e=>"function"==typeof e,w=(e,t,r)=>{let n=-1,i=y(t)?[t]:l(t),o=i.length,s=o-1;for(;++n<o;){let t=i[n],o=r;if(n!==s){let r=e[t];
3o=a(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if(m.includes(t))return;e[t]=o,e=e[t]}};n.createContext(null).displayName="HookFormControlContext";let A=u?n.useLayoutEffect:n.useEffect;var _=e=>o(e)||"object"!=typeof e;let S=(e,t)=>0===t.length&&!Array.isArray(e)&&!(e=>{let t=e.constructor&&e.constructor.prototype;return a(t)&&t.hasOwnProperty("isPrototypeOf")})(e);function k(e,t,r=new WeakMap){if(e===t)return!0;if(_(e)||_(t))return Object.is(e,t);if(i(e)&&i(t))return Object.is(e.getTime(),t.getTime());let n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;if(S(e,n)||S(t,o))return Object.is(e,t);if(!n.length&&Array.isArray(e)!==Array.isArray(t))return!1;let s=r.get(e);if(s&&s.has(t))return!0;if(s)s.add(t);else{let n=new WeakSet;n.add(t),r.set(e,n)}for(let o of n){let n=e[o];if(!(o in t))return!1;if("ref"!==o){let e=t[o];if(i(n)&&i(e)||(a(n)||Array.isArray(n))&&(a(e)||Array.isArray(e))?!k(n,e,r):!Object.is(n,e))return!1}}return!0}var B=e=>"string"==typeof e,x=e=>({isOnSubmit:!e||e===h.onSubmit,isOnBlur:e===h.onBlur,isOnChange:e===h.onChange,isOnAll:e===h.all,isOnTouch:e===h.onTouched}),T=(e,t,r)=>{if(r)return!1;if(t.watchAll||t.watch.has(e))return!0;for(let r of t.watch)if(e.startsWith(r)&&"."===e.charAt(r.length))return!0;return!1};let O=(e,t,r)=>{for(let n of r||Object.keys(e)){if("_f"===n)continue;let i=r?v(e,n):e[n];if(i){let{_f:e}=i;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],e.name))return!0;else if(e.ref&&t(e.ref,e.name))return!0;else if(O(i,t))return!0}else if((a(i)||Array.isArray(i))&&O(i,t))return!0}}};var C=(e,t,r)=>{let n=v(e,r),i=Array.isArray(n)?n:[];return w(i,p,t[r]),w(e,r,i),e},P=e=>a(e)&&!Object.keys(e).length,H=e=>{if(!u)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},I=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{};let R={value:!1,isValid:!1},L={value:!0,isValid:!0};var M=e=>{if(!Array.isArray(e))return R;if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}let t=e[0];return t&&t.checked&&!t.disabled?t.attributes&&"value"in t.attributes?b(t.value)||""===t.value?L:{value:t.value,isValid:!0}:L:R};let N={isValid:!1,value:null};var F=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,N):N;function j(e,t,r="validate"){if(B(e)||Array.isArray(e)&&e.every(B)||"boolean"==typeof e&&!e)return{type:r,message:B(e)?e:"",ref:t}}var D=e=>!a(e)||e instanceof RegExp?{value:e,message:""}:e,U=async(e,t,r,n,s,l)=>{let{ref:u,refs:c,required:f,maxLength:h,minLength:p,min:m,max:g,pattern:y,validate:w,name:A,valueAsNumber:_,mount:S}=e._f,k=v(r,A);if(!S||t.has(A))return{};let x=c?c[0]:u,T=e=>{if(s&&x.reportValidity){let t="boolean"==typeof e?"":e||"";c?c.forEach(e=>e.setCustomValidity(t)):x.setCustomValidity(t),x.reportValidity()}},O={},C="radio"===u.type,R="checkbox"===u.type,L=(_||"file"===u.type)&&b(u.value)&&b(k)||H(u)&&""===u.value||""===k||Array.isArray(k)&&!k.length,N=I.bind(null,A,n,O),U=(e,t,r,n=d.maxLength,i=d.minLength)=>{let o=e?t:r;O[A]={type:e?n:i,message:o,ref:u,...N(e?n:i,o)}};if(l?!Array.isArray(k)||!k.length:f&&(!(C||R)&&(L||o(k))||"boolean"==typeof k&&!k||R&&!M(c).isValid||C&&!F(c).isValid)){let{value:e,message:t}=B(f)?{value:!!f,message:f}:D(f);if(e&&(O[A]={type:d.required,message:t,ref:x,...N(d.required,t)},!n))return T(t),O}if(!L&&(!o(m)||!o(g))){let e,t,r=D(g),a=D(m);if(o(k)||i(k)||isNaN(k)){let n=u.valueAsDate||new Date(k),i=e=>new Date(new Date().toDateString()+" "+e),o="time"==u.type,s="week"==u.type;B(r.value)&&k&&(e=o?i(k)>i(r.value):s?k>r.value:n>new Date(r.value)),B(a.value)&&k&&(t=o?i(k)<i(a.value):s?k<a.value:n<new Date(a.value))}else{let n=u.valueAsNumber||(k?+k:k);o(r.value)||(e=n>r.value),o(a.value)||(t=n<a.value)}if((e||t)&&(U(!!e,r.message,a.message,d.max,d.min),!n))return T(O[A].message),O}if((h||p)&&!L&&(B(k)||l&&Array.isArray(k))){let e=D(h),t=D(p),r=!o(e.value)&&k.length>+e.value,i=!o(t.value)&&k.length<+t.value;if((r||i)&&(U(r,e.message,t.message),!n))return T(O[A].message),O}if(y&&!L&&B(k)){let{value:e,message:t}=D(y);if(e instanceof RegExp&&!k.match(e)&&(O[A]={type:d.pattern,message:t,ref:u,...N(d.pattern,t)},!n))return T(t),O}if(w){if(E(w)){let e=j(await w(k,r),x);if(e&&(O[A]={...e,...N(d.validate,e.message)},!n))return T(e.message),O}else if(a(w)){let e={};for(let t in w){if(!P(e)&&!n)break;let i=j(await w[t](k,r),x,t);i&&(e={...i,...N(t,i.message)},n||T(i.message),n&&(O[A]=e))}if(!P(e)&&(O[A]={ref:x,...e},!n))return O}}let V=O[A];return T(!V||V.message),O},V=e=>Array.isArray(e)?e:[e],G=e=>Array.isArray(e)?e.filter(Boolean):[];function $(e,t){if(B(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let r=Array.isArray(t)?t:y(t)?[t]:l(t);if(r.some(e=>
3m.includes(String(e))))return e;let n=1===r.length?e:function(e,t){let r=t.length-1,n=0;for(;n<r;){if(o(e)){e=void 0;break}e=e[t[n]],n++}return e}(e,r),i=r.length-1,s=r[i];return n&&delete n[s],0!==i&&(a(n)&&P(n)||Array.isArray(n)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!b(e[t]))return!1;return!0}(n))&&$(e,r.slice(0,-1)),e}n.createContext(null).displayName="HookFormContext";var z=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};let K=(e,t)=>null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,t);var Z=(e,t)=>{if(!t)return!1;let r=e;for(let n of y(t)?[t]:l(t)){if(!K(r,n))return K(e,t);r=r[n]}return!0},Y=e=>H(e)&&e.isConnected;function q(e){return Array.isArray(e)||a(e)}function W(e){return Array.isArray(e)||a(e)&&!(e=>{for(let t in e)if(E(e[t]))return!0;return!1})(e)}function X(e){return!!(e&&"_f"in e)}function J(e){return Array.isArray(e)?!e.some(e=>!b(e)):!Object.keys(e).length}function Q(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function ee(e,t={},r){for(let n in e){let i=e[n],o=r&&r[n];!W(i)||Array.isArray(i)&&X(o)?b(i)||(t[n]=!0):(t[n]=Array.isArray(i)?[]:{},ee(i,t[n],o),J(t[n])&&Q(t,n))}return t}function et(e,t,r,n){for(let i in r||(r=ee(t,{},n)),e){let a=e[i],s=n&&n[i];!W(a)||Array.isArray(a)&&X(s)?k(a,t[i])?Q(r,i):r[i]=!0:(b(t)||_(r[i])?r[i]=ee(a,Array.isArray(a)?[]:{},s):et(a,o(t)?{}:t[i],r[i],s),J(r[i])&&Q(r,i))}return r}var er=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>b(e)?e:t?""===e?NaN:e?+e:e:r&&B(e)?new Date(e):n?n(e):e;function en(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?F(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?M(e.refs).value:er(t.value,e)}var ei=e=>b(e)?e:e instanceof RegExp?e.source:a(e)?e.value instanceof RegExp?e.value.source:e.value:e;let eo="AsyncFunction";var ea=e=>{if(!e||!e.validate)return!1;if(E(e.validate))return e.validate.constructor.name===eo;if(a(e.validate)){for(let t in e.validate)if(e.validate[t].constructor.name===eo)return!0}return!1};function es(e,t,r){let n=v(e,r);if((null==n?void 0:n.type)||(null==n?void 0:n.message)||Array.isArray(n))return{error:n,name:r};let i=r.split(".");for(;i.length;){let n=i.join("."),o=v(t,n),a=v(e,n);if(o&&!Array.isArray(o)&&r!==n)break;if(a&&a.type)return{name:n,error:a};if(a&&a.root&&a.root.type)return{name:`${n}.root`,error:a.root};i.pop()}return{name:r}}let el={mode:h.onSubmit,reValidateMode:h.onChange,shouldFocusError:!0},eu="form",ec={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function ef(e={}){let t=n.useRef(void 0),r=n.useRef(void 0),s=n.useRef(e.formControl),[m,g]=n.useState(()=>({...c(ec),isLoading:E(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:E(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&s.current!==e.formControl)if(s.current=e.formControl,e.formControl)t.current={...e.formControl,formState:m},e.defaultValues&&!E(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:r,...n}=function(e={}){let t={...el,...e},r={...c(ec),isLoading:E(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},n={},s=(a(t.defaultValues)||a(t.values))&&c(t.defaultValues||t.values)||{},m=t.shouldUnregister?{}:c(s),g={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},A={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},_={},S={},I=0,R=x(t.mode),L=x(t.reValidateMode),M={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},N={...M},F={...N},j=(...e)=>e.some(e=>N[e]||F[e]),D={array:z(),state:z()},K=0,W=0,X=t.criteriaMode===h.all,J=(e,t)=>r=>{clearTimeout(S[e]),S[e]=setTimeout(t,r)},Q=e=>{clearTimeout(S[e]),delete S[e],delete _[e]},ee=e=>{Q(e);let t=`${e}.`;for(let e of Object.keys(_))e.startsWith(t)&&Q(e)},eo=async e=>{if(!g.keepIsValid&&!t.disabled&&(j("isValid")||e)){let e,i=++K;t.resolver?(e=P((await eg()).errors),i===K&&ef()):e=await ev({fields:n,onlyCheckValid:!0,eventType:f.VALID}),i===K&&e!==r.isValid&&D.state.next({isValid:e})}},ef=(e,n)=>{!t.disabled&&j("isValidating","validatingFields")&&((e||A.mount).forEach(e
3=>{e&&(n?w(r.validatingFields,e,n):$(r.validatingFields,e))}),D.state.next({validatingFields:r.validatingFields,isValidating:!P(r.validatingFields)}))},eh=()=>{r.dirtyFields=et(s,m,void 0,n)},ed=(e,t)=>{w(r.errors,e,t),r.errors={...r.errors},D.state.next({errors:r.errors})},ep=(t,i,a,u)=>{let c=v(n,t);if(c){if((e=>{let t=y(e)?[e]:l(e),r=m,n=s;for(let e=0;e<t.length-1;e++){let i=t[e];if(r=o(r)?r:r[i],n=o(n)?n:n[i],null===r&&null!==n)return!0}return!1})(t)||(e=>{if(!g.actionArrayLengths.size)return!1;let t=y(e)?[e]:l(e),r=m,n="",i=-1,a=0;for(let e=0;e<t.length&&!o(r);e++){let o=t[e];if(n=n?`${n}.${o}`:o,Array.isArray(r)&&+o>=r.length)return -1!==i&&(e!==i||+o<a);if(g.actionArrayLengths.has(n)&&(i=e+1,a=g.actionArrayLengths.get(n)),b(r=r[o])&&-1!==i&&e>i&&+t[i]<a)return!0}return!1})(t))return;let n=b(v(m,t)),f=v(m,t,b(a)?v(s,t):a);b(f)||u&&u.defaultChecked||i?w(m,t,i?f:en(c._f)):eA(t,f),g.mount&&!g.action&&(eo(),n&&r.isDirty&&j("isDirty")&&(eE()||(r.isDirty=!1,D.state.next({...r}))),e.shouldUnregister&&n&&!b(v(m,t))&&T(t,A)&&(g.watch=!0))}},em=(e,i,o,a,l)=>{let u=!1,c=!1,f={name:e};if(!t.disabled||!0===a){if(!o||a){let t=k(v(s,e),i);if(j("isDirty")&&(c=r.isDirty,r.isDirty=f.isDirty=!t||eE(),u=c!==f.isDirty),c=!!v(r.dirtyFields,e),t!==r.isDirty){var h=r.dirtyFields,d=et(s,m,void 0,n);for(let e in h)e in d||delete h[e];Object.assign(h,d)}else t?$(r.dirtyFields,e):w(r.dirtyFields,e,!0);f.dirtyFields=r.dirtyFields,u=u||j("dirtyFields")&&!t!==c}if(o){let t=v(r.touchedFields,e);t||(w(r.touchedFields,e,o),f.touchedFields=r.touchedFields,u=u||j("touchedFields")&&t!==o)}u&&l&&D.state.next(f)}return u?f:{}},eg=async e=>(ef(e,!0),await t.resolver(m,t.context,((e,t,r,n)=>{let i={};for(let r of e){let e=v(t,r);e&&w(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}})(e||A.mount,n,t.criteriaMode,t.shouldUseNativeValidation))),ey=async e=>{let t=W,{errors:i}=await eg(e);if(t!==W)return i;if(ef(e),e){for(let t of e){let e=v(i,t);Q(t);let o=A.array.has(t)&&a(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e))),s=v(n,t),l=a(s)&&Object.keys(s).some(e=>"_f"!==e);o?C(r.errors,{[t]:e},t):(null==e?void 0:e.type)||(null==e?void 0:e.message)||Array.isArray(e)||a(e)&&l?w(r.errors,t,e):$(r.errors,t)}r.errors={...r.errors}}else Object.keys(_).forEach(Q),r.errors=i;return i},eb=async({name:t,eventType:n})=>{if(e.validate){let i=await e.validate({formValues:m,formState:r,name:t,eventType:n});if(a(i))for(let e in i){let t=i[e];t&&eP(`${eu}.${e}`,{message:B(t.message)?t.message:"",type:t.type||d.validate})}else B(i)||!i?eP(eu,{message:i||"",type:d.validate}):eC(eu);return i}return!0},ev=async({fields:n,onlyCheckValid:i,name:o,eventType:a,context:s={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(s.runRootValidation=!0,!await eb({name:o,eventType:a}))&&(s.valid=!1,i))return s.valid;for(let o in n){let l=n[o];if(l){let{_f:n,...u}=l;if(n){let o=A.array.has(n.name),a=l._f&&ea(l._f),u=j("isValidating","validatingFields");a&&u&&ef([n.name],!0);let c=await U(l,A.disabled,m,X,t.shouldUseNativeValidation&&!i,o);if(a&&u&&ef([n.name]),c[n.name]&&(s.valid=!1,i)||(i||(Q(n.name),v(c,n.name)?o?C(r.errors,c,n.name):w(r.errors,n.name,c[n.name]):$(r.errors,n.name)),e.shouldUseNativeValidation&&c[n.name]))break}P(u)||await ev({context:s,onlyCheckValid:i,fields:u,name:o,eventType:a})}}return s.valid},eE=(e,t)=>(e&&t&&w(m,e,t),!k(g.mount?m:s,s)),ew=(e,t,r)=>{var n,i;return n=A,i={...g.mount?m:b(t)||B(e)?s:t},B(e)?(r&&n.watch.add(e),v(i,e,t)):Array.isArray(e)?e.map(e=>(r&&n.watch.add(e),v(i,e,v(t,e)))):(r&&(n.watchAll=!0),i)},eA=(e,t,r={},i=!1,a=!1,s=!1)=>{let l=v(n,e),u=t;if(l){let r=l._f;r&&(r.disabled||w(m,e,er(t,r)),u=H(r.ref)&&o(t)?"":t,"select-multiple"===r.ref.type?[...r.ref.options].forEach(e=>e.selected=u.includes(e.value)):r.refs?"checkbox"===r.ref.type?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(u)?e.checked=!!u.find(t=>t===e.value):e.checked=u===e.value||!!u)}):r.refs.forEach(e=>e.checked=e.value===u):"file"===r.ref.type?r.ref.value="":(r.ref.value=u,r.ref.type||a||s||D.state.next({name:e,values:i?m:c(m)})))}(r.shouldDirty||r.shouldTouch)&&em(e,l&&l._f&&!l._f.disabled&&(l._f.valueAsNumber||l._f.valueAsDate||l._f.setValueAs)?er(t,l._f):u,r.shouldTouch,r.shouldDirty,!a),r.shouldValidate&&eT(e,{delayError:r.delayError})},e_=(e,t,r,o=!1,s=!1,l=!1)=>{for(let u in A.array.has(e)&&D.array.next({name:e,values:o?m:c(m)}),t){if(!t.hasOwnProperty(u))continue;let c=t[u],f=e+"."+u,h=v(n,f);(A.array.has(e)||a(c)||h&&!h._f)&&!i(c)?e_(f,c,r,o,s,l):eA(f,c,r,o,s,l)}},eS=(e,t,i,a,s=!1)=>{let l=v(n,e),u=A.array.has(e),f=a?t:c(t),h=k(v(m,e),f);if(h||w(m,e,f),u)D.array.next({name:e,values:a?m:c(m)}),j("isDirty","dirtyFields")&&i.shouldDirty&&(eh(),s||D.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:e
3E(e,f)}));else{let t=Array.isArray(f)&&!f.length||P(f),r=!h&&!s;!l||l._f||o(f)||t?eA(e,f,i,a,s,r):e_(e,f,i,a,s,r)}if(!h&&!s){let t=T(e,A),n=a?m:c(m);if(D.state.next({...t&&r,name:g.mount||t?e:void 0,values:n}),!u)for(let t of((e,t)=>{let r=t.split("."),n=[],i=r[0];for(let t=1;t<r.length;i+="."+r[t++])!isNaN(+r[t])&&e.has(i)&&n.push(`${i}.${r[t]}`);return n})(A.array,e))D.state.next({name:t,values:n})}},ek=(e,t,r={})=>eS(e,t,r,!1),eB=async o=>{g.mount=!0;let s=o.target,l=s.name,u=!0,h=v(n,l),d=e=>{u=Number.isNaN(e)||i(e)&&isNaN(e.getTime())||k(e,v(m,l,e))};if(h){let i,g,H,M,N=s.type?en(h._f):a(M=o)&&M.target?"checkbox"===M.target.type?M.target.checked:"file"===M.target.type?M.target.files:M.target.value:M,F=o.type===f.BLUR||o.type===f.FOCUS_OUT,V=!((H=h._f).mount&&(H.required||!b(H.required)&&!1!==H.required||!b(H.min)||!b(H.max)||!b(H.maxLength)||!b(H.minLength)||H.pattern||H.validate))&&!e.validate&&!t.resolver&&!v(r.errors,l)&&!h._f.deps,G=V||(p=F,y=v(r.touchedFields,l),E=r.isSubmitted,S=L,!(B=R).isOnAll&&(!E&&B.isOnTouch?!(y||p):(E?S.isOnBlur:B.isOnBlur)?!p:(E?!S.isOnChange:!B.isOnChange)||p)),z=T(l,A,F);if(w(m,l,c(N)),F){if(!s||!s.readOnly){h._f.onBlur&&h._f.onBlur(o);let e=_[l];e&&e(0)}}else h._f.onChange&&h._f.onChange(o);let K=em(l,N,F),Z=!P(K)||z;if(F||D.state.next({name:l,type:o.type,...I?{values:c(m)}:{}}),G)return(!V||!r.isValid)&&j("isValid")&&("onBlur"===t.mode?F&&eo():F||eo()),Z&&D.state.next({name:l,...z?{}:K});if(!t.resolver&&e.validate&&await eb({name:l,eventType:o.type}),!F&&z&&D.state.next({...r}),t.resolver){let{errors:e}=await eg([l]);if(ef([l]),d(N),!u){P(K)||D.state.next(K);return}let t=es(r.errors,n,l),o=es(e,n,t.name||l);i=o.error,l=o.name,g=P(e)}else ef([l],!0),i=(await U(h,A.disabled,m,X,t.shouldUseNativeValidation))[l],ef([l]),d(N),u&&(i?g=!1:j("isValid")&&(g=await ev({fields:n,onlyCheckValid:!0,name:l,eventType:o.type})));if(u){h._f.deps&&(!Array.isArray(h._f.deps)||h._f.deps.length>0)&&eT(h._f.deps);var p,y,E,S,B,x=l,O=g,C=i;let e=v(r.errors,x),n=j("isValid")&&"boolean"==typeof O&&r.isValid!==O;if(t.delayError&&C?(_[x]=J(x,()=>ed(x,C)),_[x](t.delayError)):(Q(x),C?w(r.errors,x,C):$(r.errors,x),r.errors={...r.errors}),(C?!k(e,C):e)||!P(K)||n){let e={...K,...n&&"boolean"==typeof O?{isValid:O}:{},errors:r.errors,name:x};D.state.next(e)}}}},ex=(e,t)=>{if(v(r.errors,t)&&e.focus)return e.focus(),1},eT=async(e,i={})=>{let o,a,s=V(e);if(t.resolver){let t=W,r=await ey(b(e)?e:s);if(o=P(r),a=e?!s.some(e=>v(r,e)):o,t!==W)return a}else e?((a=(await Promise.all(s.map(async e=>{let t=v(n,e);return await ev({fields:t&&t._f?{[e]:t}:t,eventType:f.TRIGGER})}))).every(Boolean))||r.isValid)&&eo():a=o=await ev({fields:n,name:e,eventType:f.TRIGGER});if(i.delayError&&t.delayError&&B(e)){let n=v(r.errors,e);n?($(r.errors,e),_[e]=J(e,()=>ed(e,n)),_[e](t.delayError)):Q(e)}if(i.shouldTouch)for(let t of e?s:A.mount)A.array.has(t)||w(r.touchedFields,t,!0);return D.state.next({...!B(e)||j("isValid")&&o!==r.isValid?{}:{name:e},...t.resolver||!e?{isValid:o}:{},...i.shouldTouch&&j("touchedFields")?{touchedFields:r.touchedFields}:{},errors:r.errors}),i.shouldFocus&&!a&&O(n,ex,e?s:A.mount),a},eO=(e,t)=>{let n=t||r,i=v(n.errors,e);return{invalid:!!i,isDirty:!!v(n.dirtyFields,e),error:i,isValidating:!!v(n.validatingFields,e),isTouched:!!v(n.touchedFields,e)}},eC=e=>{let t=e?V(e):void 0;t?t.forEach(e=>{ee(e),$(r.errors,e),D.state.next({name:e,errors:r.errors})}):(Object.keys(_).forEach(Q),r.errors={},D.state.next({errors:r.errors}))},eP=(e,t,i)=>{Q(e);let o=(v(n,e,{_f:{}})._f||{}).ref,{ref:a,message:s,type:l,types:u,...c}=v(r.errors,e)||{};w(r.errors,e,{...c,...t,ref:o}),D.state.next({name:e,errors:r.errors,isValid:!1}),i&&i.shouldFocus&&o&&o.focus&&o.focus()},eH=e=>{var t;let n=!!(null==(t=e.formState)?void 0:t.values);n&&I++;let{unsubscribe:i}=D.state.subscribe({next:t=>{let n,i,o;if(n=e.name,i=t.name,o=e.exact,(!n||!i||n===i||V(n).some(e=>e&&(o?e===i||e.startsWith(i+"."):e.startsWith(i)||i.startsWith(e))))&&((e,t,r,n)=>{r(e);let i=Object.keys(e).filter(e=>"name"!==e);return!i.length||n&&i.length>=Object.keys(t).length||i.find(e=>t[e]===(!n||h.all))})(t,e.formState||N,eD,e.reRenderRoot)){let n={...m};e.callback({values:n,...r,...t,defaultValues:s})}}});if(!n)return i;let o=!1;return()=>{o||(o=!0,I--,i())}},eI=(e,i={})=>{for(let o of e?V(e):A.mount)A.mount.delete(o),A.array.delete(o),A.disabled.delete(o),i.keepValue||($(n,o),$(m,o)),i.keepError||(ee(o),$(r.errors,o)),i.keepDirty||$(r.dirtyFields,o),i.keepTouched||$(r.touchedFields,o),i.keepIsValidating||$(r.validatingFields,o),t.shouldUnregister||i.keepDefaultValue||$(s,o);I&&D.state.next({values:c(m)}),D.state.next({...r,...i.keepDirty?{}
3:{isDirty:eE()},...i.keepIsValidating?{}:{isValidating:!P(r.validatingFields)}}),i.keepIsValid||eo()},eR=({disabled:e,name:t})=>{if("boolean"==typeof e&&g.mount||e||A.disabled.has(t)){let r=A.disabled.has(t);e?A.disabled.add(t):A.disabled.delete(t),!!e!==r&&g.mount&&!g.action&&eo()}},eL=(e,r={})=>{let i=v(n,e),o="boolean"==typeof r.disabled||"boolean"==typeof t.disabled,a=!A.registerName.has(e)&&i&&i._f&&!i._f.mount;return(w(n,e,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:e}},name:e,mount:!0,...r}}),A.mount.add(e),i&&!a)?eR({disabled:"boolean"==typeof r.disabled?r.disabled:t.disabled,name:e}):ep(e,!0,r.value),{...o?{disabled:r.disabled||t.disabled}:{},...t.progressive?{required:!!r.required,min:ei(r.min),max:ei(r.max),minLength:ei(r.minLength),maxLength:ei(r.maxLength),pattern:ei(r.pattern)}:{},name:e,onChange:eB,onBlur:eB,ref:o=>{if(o){let t;A.registerName.add(e),eL(e,r),A.registerName.delete(e),i=v(n,e);let a=b(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,l="radio"===(t=a).type||"checkbox"===t.type,u=i._f.refs||[];if(l?u.find(e=>e===a):a===i._f.ref)return;let c={...i._f};l?(c.refs=[...u.filter(Y),a,...Array.isArray(v(s,e))?[{}]:[]],c.ref={type:a.type,name:e}):(c.ref=a,delete c.refs),w(n,e,{_f:c}),ep(e,!1,void 0,a)}else{let o;(i=v(n,e,{}))._f&&(i._f.mount=!1),(t.shouldUnregister||r.shouldUnregister)&&(o=A.array,!e.split(".").some((e,t,r)=>!isNaN(Number(e))&&o.has(r.slice(0,t).join(".")))||!g.action)&&A.unMount.add(e)}}}},eM=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&O(n,ex,A.mount),eN=(e,i)=>async o=>{let a,s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let l=c(m);if(D.state.next({isSubmitting:!0}),t.resolver){let e=W,{errors:t,values:n}=await eg();if(e!==W)return;ef(),Object.keys(_).forEach(Q),r.errors=t,l=c(n)}else await ev({fields:n,eventType:f.SUBMIT}),$(r.errors,p);if(A.disabled.size)for(let e of A.disabled)$(l,e);if(P(r.errors)){D.state.next({errors:{}});try{a=await e(l,o)}catch(e){s=e}}else i&&await i({...r.errors},o),eM(),setTimeout(eM);if(D.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:P(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s;return a},eF=(e,i={})=>{W++;let o=e?c(e):s,a=c(o),l=P(e),f=n;if(Object.keys(_).forEach(Q),i.keepDefaultValues||(s=o),!i.keepValues){if(i.keepDirtyValues)for(let e of new Set([...A.mount,...function e(t,r,n="",i=[]){for(let o in t){let a=n?`${n}.${o}`:o,s=t[o];q(s)&&q(v(r,a))?e(s,r,a,i):i.push(a)}return i}(et(s,m,void 0,f),r.dirtyFields)])){let t=v(r.dirtyFields,e),n=v(m,e),i=v(a,e);t&&!b(n)?w(a,e,n):t||b(i)||ek(e,i)}else{if(u&&b(e))for(let e of A.mount){let t=v(n,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(H(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(i.keepFieldsRef)for(let e of A.mount)ek(e,v(a,e));else n={}}if(t.shouldUnregister){if(m=i.keepDefaultValues?c(s):{},i.keepFieldsRef)for(let e of A.mount)w(m,e,v(a,e))}else m=c(a);D.array.next({values:{...a}}),D.state.next({name:void 0,type:void 0,values:{...a}})}A={mount:i.keepDirtyValues?A.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},g.mount=!N.isValid||!!i.keepIsValid||!!i.keepDirtyValues||!t.shouldUnregister&&!P(a),g.watch=!!t.shouldUnregister,g.keepIsValid=!!i.keepIsValid,g.action=!1,g.actionArrayLengths.clear(),i.keepErrors||(r.errors={}),D.state.next({submitCount:i.keepSubmitCount?r.submitCount:0,isDirty:!l&&(i.keepDirty?r.isDirty:i.keepValues?eE():!!(i.keepDefaultValues&&!k(e,s))),isSubmitted:!!i.keepIsSubmitted&&r.isSubmitted,dirtyFields:l?{}:i.keepDirtyValues?i.keepDefaultValues&&m?et(s,m,void 0,f):r.dirtyFields:i.keepDefaultValues&&e?et(s,e,void 0,f):i.keepDirty?r.dirtyFields:i.keepValues?et(s,m,void 0,f):{},touchedFields:i.keepTouched?r.touchedFields:{},...!i.keepIsValidating&&(r.isValidating||!P(r.validatingFields))?{validatingFields:{},isValidating:!1}:null,errors:i.keepErrors?r.errors:{},isSubmitSuccessful:!!i.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:s})},ej=(e,r)=>eF(E(e)?e(m):e,{...t.resetOptions,...r}),eD=e=>{let{name:t,type:n,values:i,...o}=e;r={...r,...o}};D.state.subscribe({next:eD});let eU={control:{register:eL,unregister:eI,getFieldState:eO,handleSubmit:eN,setError:eP,_subscribe:eH,_runSchema:eg,_updateIsValidating:ef,_focusError:eM,_getWatch:ew,_getDirty:eE,_setValid:eo,_setFieldArray:(e,i=[],o,a,s=!0,l=!0)=>
3{if(a&&o&&!t.disabled){g.action=!0;let t=v(n,e);if(g.actionArrayLengths.has(e)||g.actionArrayLengths.set(e,Array.isArray(t)?t.length:0),l&&Array.isArray(t)){let r=o(t,a.argA,a.argB);s&&w(n,e,r)}let c=v(r.errors,e);if(l&&Array.isArray(c)){let t=c.root,n=o(c,a.argA,a.argB)||c;t&&(n.root=t),s&&w(r.errors,e,n);var u=r.errors;let i=v(u,e);G(i).length||(null==i?void 0:i.root)||$(u,e)}let f=v(r.touchedFields,e);if(j("touchedFields")&&l&&Array.isArray(f)){let t=o(f,a.argA,a.argB);s&&w(r.touchedFields,e,t)}j("dirtyFields")&&eh(),D.state.next({name:e,isDirty:eE(e,i),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else w(m,e,i)},_setDisabledField:eR,_setErrors:e=>{Object.keys(_).forEach(Q),r.errors=e,D.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>G(v(g.mount?m:s,e,t.shouldUnregister?v(s,e,[]):[])),_reset:eF,_resetDefaultValues:()=>E(t.defaultValues)&&t.defaultValues().then(e=>{ej(e,t.resetOptions),D.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of A.unMount){let t=v(n,e);t&&(t._f.refs?t._f.refs.every(e=>!Y(e)):!Y(t._f.ref))&&eI(e)}A.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(D.state.next({disabled:e}),O(n,(t,r)=>{let i=v(n,r);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0))},_subjects:D,_proxyFormState:N,get _fields(){return n},get _formValues(){return m},get _state(){return g},set _state(value){g=value},get _defaultValues(){return s},get _names(){return A},set _names(value){A=value},get _formState(){return r},get _options(){return t},set _options(value){R=x((t={...t,...value}).mode),L=x(t.reValidateMode),X=t.criteriaMode===h.all}},subscribe:e=>(g.mount=!0,F={...F,...e.formState},eH({...e,formState:{...M,...e.formState}})),trigger:eT,register:eL,handleSubmit:eN,watch:(e,t)=>{if(E(e)){I++;let{unsubscribe:r}=D.state.subscribe({next:r=>"values"in r&&e(r.values||ew(void 0,t),r)}),n=!1;return{unsubscribe:()=>{n||(n=!0,I--,r())}}}return ew(e,t,!0)},setValue:ek,setValues:(e,t={})=>{let n=E(e)?e(m):e;if(!k(m,n)){for(let e of(m={...m,...n},A.mount))Z(n,e)&&eS(e,v(n,e),t,!0,!0);D.state.next({...r,name:void 0,type:void 0,...I?{values:m}:{}}),t.shouldValidate&&eo()}},getValues:(e,t)=>{let n={...g.mount?m:s};return t&&(n=function e(t,r){let n={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],s=r[i];if(o&&a(o)&&s){let t=e(o,s);a(t)&&(n[i]=t)}else t[i]&&(n[i]=s)}return n}(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),b(e)?n:B(e)?v(n,e):e.map(e=>v(n,e))},getErrors:e=>b(e)?{...r.errors}:B(e)?v(r.errors,e):e.map(e=>v(r.errors,e)),reset:ej,resetField:(e,t={})=>{v(n,e)&&($(r.validatingFields,e),b(t.defaultValue)?ek(e,c(v(s,e))):(ek(e,t.defaultValue),w(s,e,c(t.defaultValue))),t.keepTouched||$(r.touchedFields,e),t.keepDirty||($(r.dirtyFields,e),r.isDirty=t.defaultValue?eE(e,c(v(s,e))):eE()),t.keepError||(Q(e),$(r.errors,e),eo()),D.state.next({...r,isValidating:!P(r.validatingFields)}))},resetDefaultValues:(e,t={})=>{if(s=c(e),!t.keepDirty){let e=et(s,m,void 0,n);r.dirtyFields=e,r.isDirty=!P(e)}t.keepIsValid||eo(),D.state.next({...r,defaultValues:s})},clearErrors:eC,unregister:eI,setError:eP,setFocus:(e,t={})=>{let r=v(n,e),i=r&&r._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&E(e.select)&&e.select()})}},getFieldState:eO};return{...eU,formControl:eU}}(e);t.current={...n,formState:m}}let _=t.current.control;_._options=e;let S=()=>({..._._formState,defaultValues:_._defaultValues}),{resyncIfNeeded:I,snapshot:R}=function(e){let t=n.useRef(!1),r=n.useRef(!1),i=n.useRef(void 0),o=n.useRef(0);return o.current++,!r.current&&e&&(r.current=!0,i.current=c(e())),{resyncIfNeeded:n.useCallback((e,n,a)=>{if(e&&(t.current||r.current&&o.current>1)){let e=n();k(i.current,e)||a(e)}t.current=!0},[]),snapshot:n.useCallback((e,t)=>{e&&(i.current=c(t()))},[])}}(S);return A(()=>{I(!0,S,g);let e=_._subscribe({formState:_._proxyFormState,callback:()=>g({..._._formState,defaultValues:_._defaultValues}),reRenderRoot:!0});return g(e=>({...e,isReady:!0})),_._formState.isReady=!0,()=>{e(),R(!0,S)}},[_,I,R]),n.useEffect(()=>_._disableForm(e.disabled),[_,e.disabled]),n.useEffect(()=>{e.mode&&(_._options.mode=e.mode),e.reValidateMode&&(_._options.reValidateMode=e.reValidateMode)},[_,e.mode,e.reValidateMode]),n.useEffect(()=>{e.errors&&(_._setErrors(e.errors),_._focusError())},[_,e.errors]),n.useEffect(()=>{e.shouldUnregister&&_._subjects.state.next({values:_._getWatch()})},[_,e.shouldUnregister]),n.useEffect(()=>{if(_._proxyFormState.isDirty){let e=_._getDirty();e!==m.isDirty&&_._subjects.state.next({isDirty:e})}},[_,m.isDirty]),n.useEffect(()=>{var t;e.values&&!k(e.values,r.current)?(_._reset(e.values,{keepFieldsRef:!0,..._._options.resetOptions}),(null==(t=_._options.resetOptions)?void 0:t.keepIsValid)||_._setValid(),r.current=e.values,g(e=>({...e}))):_._resetDefaultValues()},[_,e.values]),n.useEffect(()=>{_._state.mount||(_._setValid(),_._state.mount=!0),_._state.watch&&(_._state.watch=!1,_._subjects.state.next({..._._formState})),_._removeUnmounted()}),t.current.formState=n.useMemo(()=>((e,t,r,n=!0)=>{let i={};for(let o in e)Object.defineProperty(i,o,{get:()=>(t._proxyFormState[o]!==h.all&&(t._proxyFormState[o]=!n||h.all),r&&(r[o]=!0),e[o])});return i})(m,_),[_,m]),t.current}},24437:(e,t,r)=>{"use strict";function n(e){let{reason:t,children:r}=e;return r}
3Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}}),r(24553)},27812:(e,t,r)=>{"use strict";r.d(t,{B:()=>a});var n=r(11486);r(92779);var i=r(32707),o=r(95155);function a(e){let t=(0,i.Q)(e);return function({document:e,optimizeImage:r,components:i,data:a,wrapper:s=!0,...l}){let u=(0,n.l)({optimizeImage:r,components:{blok:t,...i},data:a})(e);return s?(0,o.jsx)("div",{...l,children:u}):u}}},32641:(e,t)=>{"use strict";t.q=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var n={},i=e.split(";"),o=(t||{}).decode||r,a=0;a<i.length;a++){var s=i[a],l=s.indexOf("=");if(!(l<0)){var u=s.substring(0,l).trim();if(void 0==n[u]){var c=s.substring(l+1,s.length).trim();'"'===c[0]&&(c=c.slice(1,-1)),n[u]=function(e,t){try{return t(e)}catch(t){return e}}(c,o)}}}return n},t.l=function(e,t,r){var o=r||{},a=o.encode||n;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invali
3d");l+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(l+="; HttpOnly"),o.secure&&(l+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var r=decodeURIComponent,n=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},32707:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(95155);function i(e){return function({attrs:t}){return Array.isArray(t?.body)?t.body.map((t,r)=>(0,n.jsx)(e,{blok:t},t._uid||r)):null}}},33455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(30943)._(r(12115)),i=r(20821),o=n.default.createContext(i.imageConfigDefault)},33613:(e,t,r)=>{"use strict";var n=r(58091),i=r(70308),o=r(12115),a=r(95155);(0,o.forwardRef)(({story:e,...t},r)=>{if(!e)return console.error("Please provide a 'story' property to the StoryblokServerStory"),null;if("string"==typeof(e=(0,i.Y)(e)).content)try{e.content=JSON.parse(e.content)}catch(t){console.error("An error occurred while trying to parse the story content",t),e.content={}}return(0,a.jsx)(n.A,{ref:r,blok:e.content,...t})})},36552:(e,t,r)=>{"use strict";function n(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return n}}),r(95155),r(47650),r(8567),r(77278)},38160:function(e,t,r){"use strict";let n,i;var o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useTurnstile=t.Turnstile=void 0;let l=s(r(12115)),u="undefined"!=typeof globalThis?globalThis:window,c=void 0!==u.turnstile?"ready":"unloaded",f=new Promise((e,t)=>{i={resolve:e,reject:t},"ready"===c&&e(void 0)});{let e="cf__reactTurnstileOnLoad";n=()=>{if("unloaded"===c){c="loading",u[e]=()=>{i.resolve(),c="ready",delete u[e]};let t=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${e}&render=explicit`,r=document.createElement("script");r.src=t,r.async=!0,r.addEventListener("error",()=>{i.reject("Failed to load Turnstile."),delete u[e]}),document.head.appendChild(r)}return f}}function h({id:e,className:t,style:r,sitekey:i,action:o,cData:a,theme:s,language:u,tabIndex:f,responseField:h,responseFieldName:d,size:p,fixedSize:m,retry:g,retryInterval:y,refreshExpired:b,appearance:v,execution:E,userRef:w,onVerify:A,onSuccess:_,onLoad:S,onError:k,onExpire:B,onTimeout:x,onAfterInteractive:T,onBeforeInteractive:O,onUnsupported:C}){let P=(0,l.useRef)(null),H=(0,l.useState)({onVerify:A,onSuccess:_,onLoad:S,onError:k,onExpire:B,onTimeout:x,onAfterInteractive:T,onBeforeInteractive:O,onUnsupported:C})[0],I=null!=w?w:P,R=m?{width:"compact"===p?"130px":"flexible"===p?"100%":"300px",height:"compact"===p?"120px":"65px",...r}:r;return(0,l.useEffect)(()=>{if(!I.current)return;let e=!1,t="";return(async()=>{var r,l,m;let w;if("ready"!==c)try{await n()}catch(e){null==(r=H.onError)||r.call(H,e);return}if(!e&&I.current){m=t=window.turnstile.render(I.current,{sitekey:i,action:o,cData:a,theme:s,language:u,tabindex:f,"response-field":h,"response-field-name":d,size:p,retry:g,"retry-interval":y,"refresh-expired":b,appearance:v,execution:E,callback:(e,t)=>{var r,n;null==(r=H.onVerify)||r.call(H,e,w),null==(n=H.onSuccess)||n.call(H,e,t,w)},"error-callback":e=>{var t;return null==(t=H.onError)?void 0:t.call(H,e,w)},"expired-callback":e=>{var t;return null==(t=H.onExpire)?void 0:t.call(H,e,w)},"timeout-callback":()=>{var e;return null==(e=H.onTimeout)?void 0:e.call(H,w)},"after-interactive-callback":()=>{var e;return null==(e=H.onAfterInteractive)?void 0:e.call(H,w)},"before-interactive-callback":()=>{var e;return null==(e=H.onBeforeInteractive)?void 0:e.call(H,w)},"unsupported-callback":()=>{var e;return null==(e=H.onUnsupported)?void 0:e.call(H,w)}}),w={execute:e=>window.turnstile.execute(m,e),reset:()=>window.turnstile.reset(m),getResponse:()=>window.turnstile.getResponse(m),isExpired:()=>window.turnstile.isExpired(m)},null==(l=H.onLoad)||l.call(H,t,w)}})(),()=>{e=!0,t&&window.turnstile.remove(t)}},[i,o,a,s,u,f,h,d,p,g,y,b,v,E]),(0,l.useEffect)(()=>{H.onVerify=A,H.onSuccess=_,H.onLoad=S,H.onError=k,H.onExpire=B,H.onTimeout=x,H.onAfterInteractive=T,H.onBeforeInteractive=O,H.onUnsupported=C},[A,_,S,k,B,x,T,O,C]),l.default.createElement("div",{ref:I,id:e,className:t,style:R})}t.Turnstile=h,t.default=h,t.useTurnstile=function(){let[e,t]=(0,l.useState)(c);return(0,l.useEffect)(()=>{"ready"!==c&&f.then(()=>t(c))},[]),u.turnstile}},41730:(e,t,r)=>{"use strict";r.d(t,{K1:()=>i.K1,YB:()=>i.YB,YV:()=>o});var n=r(65769);r(67964);var i=r(7556);let o=(e={})=>{let t=(0,n.zg)();if(t)return()=>t;let{storyblokApi:r}=(0,i.YV)(e);return(0,n.Zv)(r),e.components&&(0,n.ZR)(e.components),void 0!==e.enableFallbackComponent&&(0,n.xo)(e.enableFallbackComponent),e.customFallbackComponent&&(0,n.Rg)(e.customFallbackComponent),()=>r}},45687:(e,t,r)=>{"use strict";var n,i;n=r(54592),i=r(49506),t.version=n.version,t.renderToString=n.renderToString,t.renderToStaticMarkup=n.renderToStaticMarkup,t.renderToReadableStream=i.renderToReadableStream,i.resume&&(t.resume=i.resume)},51746:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>
3s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},52911:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var n=r(27812),i=r(58091);let o=(0,n.B)(i.A)},54652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(30943),i=r(75040),o=r(81356),a=n._(r(71124));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=o.Image},55251:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(20063),i=r(12115),o=r.t(i,2),a=r(16091),s=o["use".trim()],l=r(4106),u=r(64707),c=r(85919),f=r(95155),h=r(57301);function d(e){let{Link:t,config:r,getPathname:o,...d}=function(e,t){var r,o,a;let h={...r=t||{},localePrefix:"object"==typeof(a=r.localePrefix)?a:{mode:a||"always"},localeCookie:!!((o=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof o&&o},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},d=h.pathnames,p=(0,i.forwardRef)(function({href:t,locale:r,...n},i){let o,a;"object"==typeof t?(o=t.pathname,a=t.params):o=t;let c=(0,l._x)(t),p=e(),g=(0,l.yL)(p)?s(p):p,y=c?m({locale:r||g,href:null==d?o:{pathname:o,params:a},forcePrefix:null!=r||void 0}):o;return(0,f.jsx)(u.default,{ref:i,href:"object"==typeof t?{...t,pathname:y}:y,locale:r,localeCookie:h.localeCookie,...n})});function m(e){let t,{forcePrefix:r,href:n,locale:i}=e;return null==d?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,c.Zn)(n.query))):t=n:t=(0,c.FP)({locale:i,...(0,c.TK)(n),pathnames:h.pathnames}),(0,c.x3)(t,i,h,r)}function g(e){return function(t,...r){return e(m(t),...r)}}return{config:h,Link:p,redirect:g(n.redirect),permanentRedirect:g(n.permanentRedirect),getPathname:m}}(a.Ym,e);return{...d,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,a.Ym)();return(0,i.useMemo)(()=>{if(!t)return t;let n=t,i=(0,l.XP)(r,e.localePrefix);if((0,l.wO)(i,t))n=(0,l.MY)(t,i);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,l.bL)(r);(0,l.wO)(e,t)&&(n=(0,l.MY)(t,e))}return n},[e.localePrefix,r,t])}(r),t=(0,a.Ym)();return(0,i.useMemo)(()=>e&&r.pathnames?(0,c.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,a.Ym)(),s=(0,n.usePathname)();return(0,i.useMemo)(()=>{function n(e){return function(n,i){let{locale:a,...l}=i||{},u=[o({href:n,locale:a||t,forcePrefix:null!=a||void 0})];Object.keys(l).length>0&&u.push(l),(0,h.A)(r.localeCookie,s,t,a),e(...u)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,s,e])},getPathname:o}}},55459:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,h=5960464477539062e-23*(23===i),d=n?0:o-1,p=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=h/l:t+=h*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+d]=255&a,d+=p,a/=256,u-=8);e[r+d-p]|=128*m}},57301:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(85919);function i(e,t,r,i){if(!e||i===r||null==i||!t)return;let o=(0,n.DT)(t),{name:a,...s}=e;s.path||(s.path=""!==o?o:"/");let l=`${a}=${i};`;for(let[e,t]of Object.entries(s))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}},58091:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(65769),i=r(12115),o=r(95155);let a=(0,i.forwardRef)(({blok:e,...t},r)=>{if(!e)return console.error("Please provide a 'blok' property to the StoryblokComponent"),(0,o.jsx)("div",{children:"Please provide a blok property to the StoryblokServerComponent"});let i=(0,n.QQ)(e.component);if(i)return(0,o.jsx)(i,{ref:r,blok:e,...t});if((0,n.l_)()){let r=(0,n.nr)();return r?(0,o.jsx)(r,{blok:e,...t}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("p",{children:["Component could not be found for blok ",(0,o.jsx)("strong",{children:e.component}),"! Is it configured correctly?"]})})}return(0,o.jsx)("div",{})});a.displayName="StoryblokServerComponent"},60861:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}
3Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},63259:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useStoryblokState:()=>o});var n=r(12115),i=r(7556);let o=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[o,a]=(0,n.useState)(null),s=null!=(e=null==t?void 0:t.id)?e:null;return(0,n.useEffect)(()=>{a(null)},[s]),(0,n.useEffect)(()=>{"undefined"!=typeof window&&void 0!==window.storyblokRegisterEvent&&s&&(0,i.Kk)(s,e=>a(e),r)},[s,r]),o&&o.id===s?o:t}},64054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return a},createAsyncLocalStorage:function(){return o},createSnapshot:function(){return s}});let r=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let i="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function o(){return i?new i:new n}function a(e){return i?i.bind(e):n.bind(e)}function s(){return i?i.snapshot():function(e,...t){return e(...t)}}},64512:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>eq});var n,i=r(12115);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let a=["children","options"],s={blockQuote:"0",breakLine:"1",breakThematic:"2",codeBlock:"3",codeFenced:"4",codeInline:"5",footnote:"6",footnoteReference:"7",gfmTask:"8",heading:"9",headingSetext:"10",htmlBlock:"11",htmlComment:"12",htmlSelfClosing:"13",image:"14",link:"15",linkAngleBraceStyleDetector:"16",linkBareUrlDetector:"17",linkMailtoDetector:"18",newlineCoalescer:"19",orderedList:"20",paragraph:"21",ref:"22",refImage:"23",refLink:"24",table:"25",text:"27",textBolded:"28",textEmphasized:"29",textEscaped:"30",textMarked:"31",textStrikethroughed:"32",unorderedList:"33"};!function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"}(n||(n={}));let l=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),u={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xa0",quot:"â"},c=["style","script"],f=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,h=/mailto:/i,d=/\n{2,}$/,p=/^(\s*>[\s\S]*?)(?=\n\n|$)/,m=/^ *> ?/gm,g=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,y=/^ {2,}\n/,b=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,v=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,E=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,w=/^(`+)((?:\\`|[^`])+)\1/,A=/^(?:\n *)*\n/,_=/\r\n?/g,S=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,k=/^\[\^([^\]]+)]/,B=/\f/g,x=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,T=/^\s*?\[(x|\s)\]/,O=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,C=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,P=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,H=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,I=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,R=/^<!--[\s\S]*?(?:-->)/,L=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,M=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,N=/^\{.*\}$/,F=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,j=/^<([^ >]+@[^ >]+)>/,D=/^<([^ >]+:\/[^ >]+)>/,U=/-([a-z])?/gi,V=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,G=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,$=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,z=/^\[([^\]]*)\] ?\[([^\]]*)\]/,K=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Z=/\t/g,Y=/(^ *\||\| *$)/g,q=/^ *:-+: *$/,W=/^ *:-+ *$/,X=/^ *-+: *$/,J="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)",Q=RegExp(`^([*_])\\1${J}\\1\\1(?!\\1)`),ee=RegExp(`^([*_])${J}\\1(?!\\1)`),et=RegExp(`^(==)${J}\\1`),er=RegExp(`^(~~)${J}\\1`),en=/^\\([^0-9A-Za-z\s])/,ei=/\\([^0-9A-Za-z\s])/g,eo=/^([\s\S](?:(?! |[0-9]\.)[^*_~\-\n<`\\\[!])*)/,ea=/^\n+/,es=/^([ \t]*)/,el=/\\([^\\])/g,eu=/(?:^|\n)( *)$/,ec="(?:\\d+\\.)",ef="(?:[*+-])";function eh(e){return"( *)("+(1===e?ec:ef)+") +"}let ed=eh(1),ep=eh(2);function em(e){return RegExp("^"+(1===e?ed:ep))}let eg=em(1),ey=em(2);function eb(e){return RegExp("^"+(1===e?ed:ep)+"[^\\n]*(?:\\n(?!\\1"+(1===e?ec:ef)+" )[^\\n]*)*(\\n|$)","gm")}let ev=eb(1),eE=eb(2);function ew(e){let t=1===e?ec:ef;return RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}let eA=ew(1),e_=ew(2);function eS(e,t){let r=1===t,n=r?eA:e_,i=r?ev:eE,o=r?eg:ey;return{match:eL(function(e,t){let r=eu.exec(t.prevCapture);return r&&(t.list||!t.inline&&!t.simple)?n.exec(e=r[1]+e):null}),order:1,parse(e,t,n){let a=r?+e[2]:void 0,s=e[0].replace(d,"\n").match(i),l=!1;return{items:s.map(function(e,r){let i,a=RegExp("^ {1,"+o.exec(e)[0].length+"}","gm"),u=e.replace(a,"").replace(o,""),c=r===s.length-1,f=-1!==u.indexOf("\n\n")||c&&l;l=f;
3let h=n.inline,d=n.list;n.list=!0,f?(n.inline=!1,i=eO(u)+"\n\n"):(n.inline=!0,i=eO(u));let p=t(i,n);return n.inline=h,n.list=d,p}),ordered:r,start:a}},render:(t,r,n)=>e(t.ordered?"ol":"ul",{key:n.key,start:t.type===s.orderedList?t.start:void 0},t.items.map(function(t,i){return e("li",{key:i},r(t,n))}))}}let ek=RegExp("^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),eB=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ex=[p,v,E,O,P,C,V,eA,e_],eT=[...ex,/^[^\n]+(?: \n|\n{2,})/,H,R,M];function eO(e){let t=e.length;for(;t>0&&e[t-1]<=" ";)t--;return e.slice(0,t)}function eC(e){return e.replace(/[ÃÃÃÃÃà à áâãäåæÃ]/g,"a").replace(/[çÃ]/g,"c").replace(/[ðÃ]/g,"d").replace(/[ÃÃÃÃéèêë]/g,"e").replace(/[ÃïÃîÃÃÃì]/g,"i").replace(/[Ãñ]/g,"n").replace(/[øÃÅÅÃõÃôÃóÃò]/g,"o").replace(/[ÃüÃûÃúÃù]/g,"u").replace(/[ŸÿÃý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function eP(e){return X.test(e)?"right":q.test(e)?"center":W.test(e)?"left":null}function eH(e,t,r,n){let i=r.inTable;r.inTable=!0;let o=[[]],a="";function s(){if(!a)return;let e=o[o.length-1];e.push.apply(e,t(a,r)),a=""}return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((e,t,r)=>{"|"===e.trim()&&(s(),n)?0!==t&&t!==r.length-1&&o.push([]):a+=e}),s(),r.inTable=i,o}function eI(e,t,r){var n;r.inline=!0;let i=e[2]?e[2].replace(Y,"").split("|").map(eP):[],o=e[3]?(n=e[3],n.trim().split("\n").map(function(e){return eH(e,t,r,!0)})):[],a=eH(e[1],t,r,!!o.length);return r.inline=!1,o.length?{align:i,cells:o,header:a,type:s.table}:{children:a,type:s.paragraph}}function eR(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function eL(e){return e.inline=1,e}function eM(e){return eL(function(t,r){return r.inline?e.exec(t):null})}function eN(e){return eL(function(t,r){return r.inline||r.simple?e.exec(t):null})}function eF(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function ej(e){return eL(function(t){return e.exec(t)})}function eD(e,t){if(t.inline||t.simple)return null;let r="";e.split("\n").every(e=>(e+="\n",!ex.some(t=>t.test(e))&&(r+=e,!!e.trim())));let n=eO(r);return""==n?null:[r,,n]}function eU(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch(e){return null}return e}function eV(e){return e.replace(el,"$1")}function eG(e,t,r){let n=r.inline||!1,i=r.simple||!1;r.inline=!0,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=i,o}function e$(e,t,r){let n=r.inline||!1;r.inline=!1;let i=e(t,r);return r.inline=n,i}let ez=(e,t,r)=>({children:eG(t,e[2],r)});function eK(){return{}}function eZ(){return null}function eY(e,t,r){let n=e,i=t.split(".");for(;i.length&&void 0!==(n=n[i[0]]);)i.shift();return n||r}let eq=e=>{let{children:t="",options:r}=e,n=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}(e,a);return i.cloneElement(function(e="",t={}){var r,n;let a;function d(e,r,...n){let i=eY(t.overrides,`${e}.props`,{});return t.createElement(function(e,t){let r=eY(t,e);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:eY(t,`${e}.component`,e):e}(e,t.overrides),o({},r,i,{className:function(...e){return e.filter(Boolean).join(" ")}(null==r?void 0:r.className,i.className)||void 0}),...n)}function Y(e){let r;e=e.replace(x,"");let n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===K.test(e));let i=eu(el(n?e:`${eO(e).replace(ea,"")} 4 5`,{inline:n}));for(;"string"==typeof i[i.length-1]&&!i[i.length-1].trim();)i.pop();if(null===t.wrapper)return i;let o=t.wrapper||(n?"span":"div");if(i.length>1||t.forceWrapper)r=i;else{if(1===i.length)return"string"==typeof(r=i[0])?d("span",{key:"outer"},r):r;r=null}return t.createElement(o,{key:"outer"},r)}function q(e,r){let n=r.match(f);return n?n.reduce(function(r,n){let i=n.indexOf("=");if(-1!==i){var o,a,s;let u=(-1!==(o=n.slice(0,i)).indexOf("-")&&null===o.match(L)&&(o=o.replace(U,function(e,t){return t.toUpperCase()})),o).trim(),c=function(e){let t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(n.slice(i+1).trim()),f=l[u]||u;if("ref"===f)return r;let h=r[f]=(a=c,s=t.sanitizer,"style"===u?a.split(/;\s?/).reduce(function(e,t){let r=t.slice(0,t.indexOf(":"));return e[r.trim().replace(/(-[a-z])/g,e=>e[1].toUpperCase())]=t.slice(r.length+1).trim(),e},{}):"href"===u||"src"===u?s(a,e,u):(a.match(N)&&(a=a.slice(1,a.length-1)),"true"===a||"false"!==a&&a));"string"==typeof h&&(H.test(h)||M.test(h))&&(r[f]=Y(h.trim()))}else"style"!==n&&(r[l[n]||n]=!0);return r},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||eU,t.slugify=t.slugify||eC,t.namedCodesToUnicode=t.namedCodesToUnicode?o({},u,t.namedCodesToUnicode):u,t.createElement=t.createElement||i.createElement;let W=[],X={},J={[s.blockQuote]:{match:eF(p),order:1,parse(e,t,r){let[,n,i]=e[0].replace(m,"").match(g);return{alert:n,children:t(i,r)}},render(e,r,n){let i={key:n.key};return e.alert&&(i.className="markdown-alert-"+t.slugify(e.alert.toLowerCase(),eC),e.children.unshift({attrs:{},children:[{type:s.text,text:e.alert}],noInnerParse:!0,type:s.htmlBlock,tag:"header"})),d("blockquote",i,r(e.children,n))}}
5,[s.breakLine]:{match:ej(y),order:1,parse:eK,render:(e,t,r)=>d("br",{key:r.key})},[s.breakThematic]:{match:eF(b),order:1,parse:eK,render:(e,t,r)=>d("hr",{key:r.key})},[s.codeBlock]:{match:eF(E),order:0,parse:e=>({lang:void 0,text:eO(e[0].replace(/^ {4}/gm,"")).replace(ei,"$1")}),render:(e,t,r)=>d("pre",{key:r.key},d("code",o({},e.attrs,{className:e.lang?`lang-${e.lang}`:""}),e.text))},[s.codeFenced]:{match:eF(v),order:0,parse:e=>({attrs:q("code",e[3]||""),lang:e[2]||void 0,text:e[4].replace(ei,"$1"),type:s.codeBlock})},[s.codeInline]:{match:eN(w),order:3,parse:e=>({text:e[2].replace(ei,"$1")}),render:(e,t,r)=>d("code",{key:r.key},e.text)},[s.footnote]:{match:eF(S),order:0,parse:e=>(W.push({footnote:e[2],identifier:e[1]}),{}),render:eZ},[s.footnoteReference]:{match:eM(k),order:1,parse:e=>({target:`#${t.slugify(e[1],eC)}`,text:e[1]}),render:(e,r,n)=>d("a",{key:n.key,href:t.sanitizer(e.target,"a","href")},d("sup",{key:n.key},e.text))},[s.gfmTask]:{match:eM(T),order:1,parse:e=>({completed:"x"===e[1].toLowerCase()}),render:(e,t,r)=>d("input",{checked:e.completed,key:r.key,readOnly:!0,type:"checkbox"})},[s.heading]:{match:eF(t.enforceAtxHeadings?C:O),order:1,parse:(e,r,n)=>({children:eG(r,e[2],n),id:t.slugify(e[2],eC),level:e[1].length}),render:(e,t,r)=>d(`h${e.level}`,{id:e.id,key:r.key},t(e.children,r))},[s.headingSetext]:{match:eF(P),order:0,parse:(e,t,r)=>({children:eG(t,e[1],r),level:"="===e[2]?1:2,type:s.heading})},[s.htmlBlock]:{match:ej(H),order:1,parse(e,t,r){let[,n]=e[3].match(es),i=RegExp(`^${n}`,"gm"),o=e[3].replace(i,""),a=eT.some(e=>e.test(o))?e$:eG,s=e[1].toLowerCase(),l=-1!==c.indexOf(s),u=(l?s:e[1]).trim(),f={attrs:q(u,e[2]),noInnerParse:l,tag:u};return r.inAnchor=r.inAnchor||"a"===s,l?f.text=e[3]:f.children=a(t,o,r),r.inAnchor=!1,f},render:(e,t,r)=>d(e.tag,o({key:r.key},e.attrs),e.text||(e.children?t(e.children,r):""))},[s.htmlSelfClosing]:{match:ej(M),order:1,parse(e){let t=e[1].trim();return{attrs:q(t,e[2]||""),tag:t}},render:(e,t,r)=>d(e.tag,o({},e.attrs,{key:r.key}))},[s.htmlComment]:{match:ej(R),order:1,parse:()=>({}),render:eZ},[s.image]:{match:eN(eB),order:1,parse:e=>({alt:e[1],target:eV(e[2]),title:e[3]}),render:(e,r,n)=>d("img",{key:n.key,alt:e.alt||void 0,title:e.title||void 0,src:t.sanitizer(e.target,"img","src")})},[s.link]:{match:eM(ek),order:3,parse:(e,t,r)=>({children:function(e,t,r){let n=r.inline||!1,i=r.simple||!1;r.inline=!1,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=i,o}(t,e[1],r),target:eV(e[2]),title:e[3]}),render:(e,r,n)=>d("a",{key:n.key,href:t.sanitizer(e.target,"a","href"),title:e.title},r(e.children,n))},[s.linkAngleBraceStyleDetector]:{match:eM(D),order:0,parse:e=>({children:[{text:e[1],type:s.text}],target:e[1],type:s.link})},[s.linkBareUrlDetector]:{match:eL((e,r)=>r.inAnchor||t.disableAutoLink?null:eM(F)(e,r)),order:0,parse:e=>({children:[{text:e[1],type:s.text}],target:e[1],title:void 0,type:s.link})},[s.linkMailtoDetector]:{match:eM(j),order:0,parse(e){let t=e[1],r=e[1];return h.test(r)||(r="mailto:"+r),{children:[{text:t.replace("mailto:",""),type:s.text}],target:r,type:s.link}}},[s.orderedList]:eS(d,1),[s.unorderedList]:eS(d,2),[s.newlineCoalescer]:{match:eF(A),order:3,parse:eK,render:()=>"\n"},[s.paragraph]:{match:eL(eD),order:3,parse:ez,render:(e,t,r)=>d("p",{key:r.key},t(e.children,r))},[s.ref]:{match:eM(G),order:0,parse:e=>(X[e[1]]={target:e[2],title:e[4]},{}),render:eZ},[s.refImage]:{match:eN($),order:0,parse:e=>({alt:e[1]||void 0,ref:e[2]}),render:(e,r,n)=>X[e.ref]?d("img",{key:n.key,alt:e.alt,src:t.sanitizer(X[e.ref].target,"img","src"),title:X[e.ref].title}):null},[s.refLink]:{match:eM(z),order:0,parse:(e,t,r)=>({children:t(e[1],r),fallbackChildren:e[0],ref:e[2]}),render:(e,r,n)=>X[e.ref]?d("a",{key:n.key,href:t.sanitizer(X[e.ref].target,"a","href"),title:X[e.ref].title},r(e.children,n)):d("span",{key:n.key},e.fallbackChildren)},[s.table]:{match:eF(V),order:1,parse:eI,render:(e,t,r)=>d("table",{key:r.key},d("thead",null,d("tr",null,e.header.map(function(n,i){return d("th",{key:i,style:eR(e,i)},t(n,r))}))),d("tbody",null,e.cells.map(function(n,i){return d("tr",{key:i},n.map(function(n,i){return d("td",{key:i,style:eR(e,i)},t(n,r))}))})))},[s.text]:{match:ej(eo),order:4,parse:e=>({text:e[0].replace(I,(e,r)=>t.namedCodesToUnicode[r]?t.namedCodesToUnicode[r]:e)}),render:e=>e.text},[s.textBolded]:{match:eN(Q),order:2,parse:(e,t,r)=>({children:t(e[2],r)}),render:(e,t,r)=>d("strong",{key:r.key},t(e.children,r))},[s.textEmphasized]:{match:eN(ee),order:3,parse:(e,t,r)=>({children:t(e[2],r)}),render:(e,t,r)=>d("em",{key:r.key},t(e.children,r))},[s.textEscaped]:{match:eN(en),order:1,parse:e=>({text:e[1],type:s.text})},[s.textMarked]:{match:eN(et),order:3,parse:ez,render:(e,t,r)=>d("mark",{key:r.key},t(e.children,r))},[s.textStrikethroughed]:{match:eN(er),order:3,parse:ez,render:(e,t,r)=>d("del",{key:r.key},t(e.children,r))}};!0===t.disableParsingRawHTML&&(delete J[s.htmlBlock],delete J[s.htmlSelfClosing]);let el=((a=Object.keys(J)).sort(function(e,t){let r=J[e].order,n=J[t].order;return r!==n?r-n:e<t?-1:1}),function(e,t){return function e(t,r){let n,i,o=[],s="",l="";for(r.prevCapture=r.prevCapture||"";t;){let u=0;for(;u<a.length;){if(n=J[s=a[u]],r.inline&&!n.match.inline){u++;continue}let c=n.match(t,r);if(c){l=c[0],r.prevCapture+=l,t=t.substring(l.length),null==(i=n.parse(c,e,r)).type&&(i.type=s),o.push(i);break}u++}}return r.prevCapture="",o}(e.replace(_,"\n").replace(B,"").replace(Z," "),t)}),eu=(n=t.renderRule,r=function(e,t,r){let i=J[e.type].render;return n?n(()=>i(e,t,r),e,t,r):i(e,t,r)},function e(t,n={}){if(Array.isArray(t)){let r=n.key,i=[],o=!1;for(let r=0;r<t.length;r++){n.key=r;let a=e(t[r],n),s="string"==typeof a;s&&o?i[i.length-1]+=a:null!==a&&i.push(a),o=s}return n.key=r,i}return r(t,e,n)}),ec=Y(e);return W.length?d("div",null,ec,d("footer",{key:"footer"},W.map(function(e){return d("div",{id:t.slugify(e.identifier,eC),key:e.identifier},e.identifier,eu(el(e.footnote,{inline:!0})))}))):ec}(t,r),n)}},64707:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var n=r(52619),i=r(20063),o=r(12115),a=r(16091),s=r(57301),l=r(95155);function u(e){let{curLocale:t,linkRef:r,locale:o,localeCookie:a,onClick:u,prefetch:c,...f}=e,h=(0,i.usePathname)();return(0,l.jsx)(n,{ref:r,hrefLang:o,onClick:function(e){(0,s.A)(a,h,t,o),u&&u(e)},prefetch:!1,...f})}var c=(0,o.forwardRef)(function(e,t){let{locale:r,localeCookie:i,...o}=e,s=(0,a.Ym)();return null!=r&&r!==s?(0,l.jsx)(u,{curLocale:s,linkRef:t,locale:r,localeCookie:i,...o}):(0,l.jsx)(n,{ref:t,...o}
5)})},65769:(e,t,r)=>{"use strict";r.d(t,{QQ:()=>c,Rg:()=>p,ZR:()=>u,Zv:()=>l,l_:()=>f,nr:()=>d,xo:()=>h,zg:()=>s});let n=null,i=new Map,o=!1,a=null,s=()=>n,l=e=>{n=e},u=e=>(Object.entries(e).forEach(([e,t])=>{i.set(e,t)}),i),c=e=>i.has(e)?i.get(e):(console.error(`Component ${e} doesn't exist.`),!1),f=()=>o,h=e=>{o=e},d=()=>a,p=e=>{a=e}},67479:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(65769);r(16298);var i=r(12115),o=r(95155);let a=(0,i.forwardRef)(({blok:e,...t},r)=>{if(!e)return console.error("Please provide a 'blok' property to the StoryblokComponent"),(0,o.jsx)("div",{children:"Please provide a blok property to the StoryblokComponent"});let i=(0,n.QQ)(e.component);if(i)return(0,o.jsx)(i,{ref:r,blok:e,...t});if((0,n.l_)()){let r=(0,n.nr)();return r?(0,o.jsx)(r,{blok:e,...t}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("p",{children:["Component could not be found for blok ",(0,o.jsx)("strong",{children:e.component}),"! Is it configured correctly?"]})})}return(0,o.jsx)("div",{})});a.displayName="StoryblokComponent"},67909:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(86278),i=r.n(n)},67964:(e,t,r)=>{"use strict";r(65769)},71124:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,a=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+a+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},74841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return f}});let n=r(30943),i=r(88604),o=r(95155),a=i._(r(12115)),s=n._(r(1262)),l=r(90737),u=r(82073),c=r(60861);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(94781);let d=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(h,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,a=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){a=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=d.length;e<t;e++){let t=d[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!a)&&r.has(e)?o=!1:(r.add(e),n[t]=r)}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;return a.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,a.useContext)(l.AmpStateContext),n=(0,a.useContext)(u.HeadManagerContext);return(0,o.jsx)(s.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return l}}),r(94781);let n=r(14105),i=r(20821),o=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function l(e,t){var r,l;let u,c,f,{src:h,sizes:d,unoptimized:p=!1,priority:m=!1,loading:g,className:y,quality:b,width:v,height:E,fill:w=!1,style:A,overrideSrc:_,onLoad:S,onLoadingComplete:k,placeholder:B="empty",blurDataURL:x,fetchPriority:T,decoding:O="async",layout:C,objectFit:P,objectPosition:H,lazyBoundary:I,lazyRoot:R,...L}=e,{imgConf:M,showAltText:N,blurComplete:F,defaultLoader:j}=t,D=M||i.imageConfigDefault;if("allSizes"in D)u=D;else{let e=[...D.deviceSizes,...D.imageSizes].sort((e,t)=>
5e-t),t=D.deviceSizes.sort((e,t)=>e-t),n=null==(r=D.qualities)?void 0:r.sort((e,t)=>e-t);u={...D,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===j)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let U=L.loader||j;delete L.loader,delete L.srcSet;let V="__next_img_default"in U;if(V){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=U;U=t=>{let{config:r,...n}=t;return e(n)}}if(C){"fill"===C&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(A={...A,...e});let t={responsive:"100vw",fill:"100vw"}[C];t&&!d&&(d=t)}let G="",$=s(v),z=s(E),K=!1;if((l=h)&&"object"==typeof l&&(a(l)||void 0!==l.src)){let e=a(h)?h.default:h;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,f=e.blurHeight,x=x||e.blurDataURL,G=e.src,K=/\.avif(?:\?|$)/i.test(G),!w)if($||z){if($&&!z){let t=$/e.width;z=Math.round(e.height*t)}else if(!$&&z){let t=z/e.height;$=Math.round(e.width*t)}}else $=e.width,z=e.height}K&&"blur"===B&&!x&&(B="empty");let Z=!m&&("lazy"===g||void 0===g);(!(h="string"==typeof h?h:G)||h.startsWith("data:")||h.startsWith("blob:"))&&(p=!0,Z=!1),u.unoptimized&&(p=!0),V&&!u.dangerouslyAllowSVG&&h.split("?",1)[0].endsWith(".svg")&&(p=!0);let Y=s(b),q=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:P,objectPosition:H}:{},N?{}:{color:"transparent"},A),W=F||"empty"===B?null:"blur"===B?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:$,heightInt:z,blurWidth:c,blurHeight:f,blurDataURL:x||"",objectFit:q.objectFit})+'")':'url("'+B+'")',X=o.includes(q.objectFit)?"fill"===q.objectFit?"100% 100%":"cover":q.objectFit,J=W?{backgroundSize:X,backgroundPosition:q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:W}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:o,width:l[c]})}}({config:u,src:h,unoptimized:p,width:$,quality:Y,sizes:d,loader:U});return{props:{...L,loading:Z?"lazy":g,fetchPriority:T,width:$,height:z,decoding:O,className:y,style:{...q,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:_||Q.src},meta:{unoptimized:p,priority:m,placeholder:B,fill:w}}}},75491:(e,t,r)=>{"use strict";r.d(t,{IF:()=>i.A,EH:()=>o.E,YB:()=>n.YB,K1:()=>n.K1,YV:()=>n.YV}),r(65769),r(67964);var n=r(41730);r(11486),r(92779);var i=r(58091);r(32707),r(33613);var o=r(52911),a=r(28668),s=r(70308),l=r(12115),u=r(95155);(0,l.forwardRef)(({story:e,bridgeOptions:t,...r},n)=>{if(!e)return console.error("Please provide a 'story' property to the StoryblokServerComponent"),null;if("string"==typeof(e=(0,s.Y)(e)).content)try{e.content=JSON.parse(e.content)}catch(t){console.error("An error occurred while trying to parse the story content",t),e.content={}}return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.A,{ref:n,blok:e.content,...r}),(0,u.jsx)(a.default,{story:e,bridgeOptions:t})]})})},80150:(e,t,r)=>{"use strict";function n(e,t){if(!t)return{src:e,attrs:{}};let r=0,n=0,i={},o=[];function a(e,t,r,n,i){"number"!=typeof e||e<=t||e>=r?console.warn(`[StoryblokRichText] - ${n.charAt(0).toUpperCase()+n.slice(1)} value must be a number between ${t} and ${r} (inclusive)`):i.push(`${n}(${e})`)}if("object"==typeof t){if(void 0!==t.width&&("number"==typeof t.width&&t.width>=0?(i.width=t.width,r=t.width):console.warn("[StoryblokRichText] - Width value must be a number greater than or equal to 0")),void 0!==t.height&&("number"==typeof t.height&&t.height>=0?(i.height=t.height,n=t.height):console.warn("[StoryblokRichText] - He
5ight value must be a number greater than or equal to 0")),0===t.height&&0===t.width&&(delete i.width,delete i.height,console.warn("[StoryblokRichText] - Width and height values cannot both be 0")),t.loading&&["lazy","eager"].includes(t.loading)&&(i.loading=t.loading),t.class&&(i.class=t.class),t.filters){let{filters:e}=t||{},{blur:r,brightness:n,fill:i,format:s,grayscale:l,quality:u,rotate:c}=e||{};r&&a(r,0,100,"blur",o),u&&a(u,0,100,"quality",o),n&&a(n,0,100,"brightness",o),i&&o.push(`fill(${i})`),l&&o.push("grayscale()"),c&&[0,90,180,270].includes(t.filters.rotate||0)&&o.push(`rotate(${c})`),s&&["webp","png","jpeg"].includes(s)&&o.push(`format(${s})`)}t.srcset&&(i.srcset=t.srcset.map(t=>{if("number"==typeof t)return`${e}/m/${t}x0/${o.length>0?`filters:${o.join(":")}`:""} ${t}w`;if(!Array.isArray(t)||2!==t.length)return void console.warn("[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers");{let[r,n]=t;return`${e}/m/${r}x${n}/${o.length>0?`filters:${o.join(":")}`:""} ${r}w`}}).join(", ")),t.sizes&&(i.sizes=t.sizes.join(", "))}let s=`${e}/m/`;return(r>0||n>0)&&(s=`${s}${r}x${n}/`),o.length>0&&(s=`${s}filters:${o.join(":")}`),{src:s,attrs:i}}r.d(t,{E3:()=>y,Hv:()=>m,PL:()=>n,fn:()=>E,gU:()=>d,hs:()=>g,k2:()=>A,m5:()=>w,tO:()=>b});let i=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function o(){let e=new Map;return t=>{let r=(e.get(t)||0)+1;return e.set(t,r),`${t}-${r}`}}let a={paragraph:{tag:"p",content:!0},doc:null,text:null,emoji:{tag:"span"},blockquote:{tag:"blockquote",content:!0},heading:{resolve:e=>`h${"number"==typeof e?.level?Math.min(6,Math.max(1,e.level)):1}`},bullet_list:{tag:"ul",content:!0},ordered_list:{tag:"ol",attrs:{order:1},content:!0},list_item:{tag:"li",content:!0},code_block:{tag:"pre",children:[{tag:"code",content:!0}]},hard_break:{tag:"br"},horizontal_rule:{tag:"hr"},image:{tag:"img"},table:{tag:"table",content:!0},tableRow:{tag:"tr",content:!0},tableCell:{tag:"td",attrs:{colspan:1,rowspan:1},content:!0},tableHeader:{tag:"th",attrs:{colspan:1,rowspan:1},content:!0},blok:null},s={link:{tag:"a",attrs:{rel:"noopener noreferrer nofollow",linktype:"url",custom:{}},content:!0},bold:{tag:"strong",content:!0},italic:{tag:"em",content:!0},strike:{tag:"s",content:!0},underline:{tag:"u",content:!0},code:{tag:"code",content:!0},superscript:{tag:"sup",content:!0},subscript:{tag:"sub",content:!0},highlight:{tag:"mark",content:!0},textStyle:{tag:"span",content:!0},anchor:{tag:"span",content:!0},styled:{tag:"span",content:!0}};function l(e){return null!=e&&""!==e}let u={highlight:{color:"backgroundColor"},textStyle:{color:"color"},paragraph:{textAlign:"textAlign"},heading:{textAlign:"textAlign"},tableCell:{backgroundColor:"backgroundColor",colwidth:"width"},tableHeader:{colwidth:"width"}},c={body:"data-body",colspan:"colSpan",rowspan:"rowSpan",name:"data-name",emoji:"data-emoji",order:"start"},f=new Set(["level","linktype","uuid","anchor","meta_data","copyright","source","fallbackImage"]),h=new Set(["colspan","rowspan","order"]);function d(e,t={},r={}){let{staticAttrs:n,staticStyle:i}=function(e){let t={},r={};if(!(e in a))return{staticAttrs:r,staticStyle:t};let n=a[e];if(!n||!("attrs"in n))return{staticAttrs:r,staticStyle:t};let i=n.attrs||{},o="style"in i&&"string"==typeof i.style?i.style:"",{style:s,...l}=i;return r=l,o&&Object.assign(t,o.split(";").map(e=>e.trim()).filter(Boolean).reduce((e,t)=>{let r=t.indexOf(":");if(-1===r)return e;let n=t.slice(0,r).trim(),i=t.slice(r+1).trim();return n&&i&&(e[n.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())]=i),e},{})),{staticAttrs:r,staticStyle:t}}(e),o={...i},s={},p=u[e]||{},m={...c,...r};for(let[r,i]of Object.entries({...n,...t}))!function(e,t,r,n,i,o,a){if(!l(t)||f.has(e)||h.has(e)&&1===t)return;if(e in n){let r=n[e],i=Array.isArray(t)?null!=t[0]?`${t[0]}px`:void 0:"number"==typeof t||"string"==typeof t?t:String(t);void 0!==i&&l(i)&&(o[r]=i);return}let s=i[e]??e;if("custom"===s&&"link"===r&&"object"==typeof t&&null!==t){for(let[e,r]of Object.entries(t))a[e]=String(r);return}if("object"==typeof t&&null!==t){a[s]=JSON.stringify(t);return}a[s]=t}(r,i,e,p,m,o,s);if("link"===e){let e=function(e){let{linktype:t,href:r,anchor:n}=e;return"story"===t?`${"string"==typeof r?r:""}${"string"==typeof n&&n?`#${n}`:""}`:"email"===t&&"string"==typeof r?`mailto:${r.replace(/^mailto:/,"")}`:void 0}(t);void 0!==e&&(s.href=e)}return{...s,...Object.keys(o).length>0&&{style:o}}}function p(e){if("text"!==e.type||!e.marks)return null;for(let t of e.marks)if("link"===t.type)return t;return null}
5function m(e){return"text"!==e.type?[]:e.marks?.filter(e=>"link"!==e.type)??[]}function g(e){let t=[],r=0,n=e.length;for(;r<n;){let o=e[r],a=p(o);if(a){var i;let s=[o],l=r+1;for(;l<n&&(i=p(e[l]),a&&i&&function e(t,r){if(t===r)return!0;if(null==t||null==r)return t===r;if(typeof t!=typeof r||"object"!=typeof t||Array.isArray(t)!==Array.isArray(r))return!1;if(Array.isArray(t))return t.length===r.length&&t.every((t,n)=>e(t,r[n]));let n=Object.keys(t),i=Object.keys(r);return n.length===i.length&&n.every(n=>Object.prototype.hasOwnProperty.call(r,n)&&e(t[n],r[n]))}(a.attrs??{},i.attrs??{}));)s.push(e[l]),l++;t.push({nodes:s,linkMark:a,_key:`group-link-${r}`}),r=l}else t.push({nodes:[o],linkMark:null,_key:`group-node-${r}`}),r++}return t}function y(e){if(!e?.length)return{headerRows:[],bodyRows:[]};let t=0;for(;t<e.length&&function(e){if("tableRow"!==e.type)return!1;let t=e.content;if(!t?.length)return!1;for(let e of t)if("tableHeader"!==e.type)return!1;return!0}(e[t]);)t++;return{headerRows:e.slice(0,t),bodyRows:e.slice(t)}}function b(e,t=!1){if(!e)return[];if(Array.isArray(e))return t?v(e,o()):e;let r="doc"===e.type?e.content||[]:[e];return t?v(r,o()):r}function v(e,t){return e.map(e=>{let r={...e,_key:t(e.type)};return"marks"in e&&Array.isArray(e.marks)&&(r.marks=e.marks.map(e=>({...e,_key:t(e.type)}))),"content"in e&&Array.isArray(e.content)&&(r.content=v(e.content,t)),r})}function E(e){let t=e.type,r=a[t]??s[t];if(!r)return null;if("resolve"in r&&"function"==typeof r.resolve){let t="attrs"in e?e.attrs:void 0;return r.resolve(t)}return"tag"in r&&"string"==typeof r.tag?r.tag:null}function w(e){return i.includes(e)}function A(e){let t=a[e.type];return t&&"children"in t?t.children:null}},81029:(e,t,r)=>{"use strict";var n=r(51746),i=r(55459),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),l=a(o),u=l.write(n,i);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e)){var c=e;if(O(c,Uint8Array)){var m=new Uint8Array(c);return h(m.buffer,m.byteOffset,m.byteLength)}return f(c)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var g=e.valueOf&&e.valueOf();if(null!=g&&g!==e)return s.from(g,t,r);var y=function(e){if(s.isBuffer(e)){var t=0|d(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(y)return y;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|d(e))}function f(e){for(var t=e.length<0?0:0|d(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function d(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return x(e).length;default:if(i)return n?-1:B(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){var i,o,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=C[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return b(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;
vendor: 13,796 bytes, line 5
5o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var f=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){f=!1;break}if(f)return o}return -1}function v(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}var h=n,d=h.length;if(d<=4096)return String.fromCharCode.apply(String,h);for(var p="",m=0;m<d;)p+=String.fromCharCode.apply(String,h.slice(m,m+=4096));return p}function E(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function A(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function _(e,t,r,n,o){return t*=1,r>>>=0,o||A(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,o){return t*=1,r>>>=0,o||A(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.hp=s,t.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(O(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),O(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(O(o,Uint8Array))i+o.length>n.length?s.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(s.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(O(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,l=Math.min(o,a),u=this.slice(n,i),c=e.slice(t,r),f=0;f<l;++f)if(u[f]!==c[f]){o=u[f],a=c[f];break}return o<a?-1:+(a<o)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,f,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,l=parseInt(t.substr(2*a,2),16);if((s=l)!=s)break;e[r+a]=l}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,T(B(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=r,T(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return l=t,u=r,T(x(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,f=r,T(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,f);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||E(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||E(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||E(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||E(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||E(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||E(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||E(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||E(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),l=a.length;
5if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%l]}return this};var k=/[^+/0-9A-Za-z-_]/g;function B(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function x(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function O(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var C=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},81356:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return E}});let n=r(30943),i=r(88604),o=r(95155),a=i._(r(12115)),s=n._(r(47650)),l=n._(r(74841)),u=r(75040),c=r(20821),f=r(33455);r(94781);let h=r(79862),d=n._(r(71124)),p=r(83011),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let b=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:l,decoding:u,className:c,style:f,fetchPriority:h,placeholder:d,loading:m,unoptimized:b,fill:v,onLoadRef:E,onLoadingCompleteRef:w,setBlurComplete:A,setShowAltText:_,sizesInput:S,onLoad:k,onError:B,...x}=e,T=(0,a.useCallback)(e=>{e&&(B&&(e.src=e.src),e.complete&&g(e,d,E,w,A,b,S))},[r,d,E,w,A,B,b,S]),O=(0,p.useMergedRef)(t,T);return(0,o.jsx)("img",{...x,...y(h),loading:m,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:f,sizes:i,srcSet:n,src:r,ref:O,onLoad:e=>{g(e.currentTarget,d,E,w,A,b,S)},onError:e=>{_(!0),"empty"!==d&&A(!0),B&&B(e)}})});function v(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let E=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(h.RouterContext),n=(0,a.useContext)(f.ImageConfigContext),i=(0,a.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:s,onLoadingComplete:l}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[y,E]=(0,a.useState)(!1),[w,A]=(0,a.useState)(!1),{props:_,meta:S}=(0,u.getImgProps)(e,{defaultLoader:d.default,imgConf:i,blurComplete:y,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(b,{..._,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:E,setShowAltText:A,sizesInput:e.sizes,ref:t}),S.priority?(0,o.jsx)(v,{isAppRouter:!r,imgAttributes:_}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
5dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84497:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{A:()=>n})},85919:(e,t,r)=>{"use strict";r.d(t,{DT:()=>l,FP:()=>a,TK:()=>i,Zn:()=>o,aM:()=>s,x3:()=>u});var n=r(4106);function i(e){return"string"==typeof e?{pathname:e}:e}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function a({pathname:e,locale:t,params:r,pathnames:i,query:a}){function s(e){let s,l=i[e];return l?(s=(0,n.Wl)(l,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),s=s.replace(RegExp(r,"g"),n)}),s=new URL(s=s.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):s=e,s=(0,n.po)(s),a&&(s+=o(a)),s}if("string"==typeof e)return s(e);{let{pathname:t,...r}=e;return{...r,pathname:s(t)}}}function s(e,t,r){let i=(0,n.FD)(Object.keys(r)),o=decodeURI(t);for(let t of i){let i=r[t];if("string"==typeof i){if((0,n.ql)(i,o))return t}else if((0,n.ql)((0,n.Wl)(i,e,t),o))return t}return t}function l(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}
5function u(e,t,r,i){let o,{mode:a}=r.localePrefix;if(void 0!==i)o=i;else if((0,n._x)(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||a;"always"===n?o=!0:"as-needed"===n&&(o=e?t!==e.defaultLocale:t!==r.defaultLocale)}return o?(0,n.PJ)((0,n.XP)(t,r.localePrefix),e):e}},86278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(30943)._(r(1150));function i(e,t){var r;let i={};"function"==typeof e&&(i.loader=e);let o={...i,...t};return(0,n.default)({...o,modules:null==(r=o.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},90737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(30943)._(r(12115)).default.createContext({})},92779:(e,t,r)=>{"use strict";r(11486)}}]);
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.