1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,684154,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getAssetPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(147845);function a(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript to be a <script> element. Received ${e} instead.`),"__NEXT_ERROR_CODE",{value:"E783",enumerable:!1,configurable:!0});let{pathname:t}=new URL(e.src),n=t.indexOf("/_next/");if(-1===n)throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript src to contain '/_next/'. Received ${e.src} instead.`),"__NEXT_ERROR_CODE",{value:"E784",enumerable:!1,configurable:!0});return t.slice(0,n)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},334314,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},a=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(e){return["async","defer","noModule"].includes(e)}function o(e,t){for(let[n,o]of Object.entries(t)){if(!t.hasOwnProperty(n)||a.includes(n)||void 0===o)continue;let l=r[n]||n.toLowerCase();"SCRIPT"===e.tagName&&i(l)?e[l]=!!o:e.setAttribute(l,String(o)),(!1===o||"SCRIPT"===e.tagName&&i(l)&&(!o||"false"===o))&&(e.setAttribute(l,""),e.removeAttribute(l))}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},860999,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"appBootstrap",{enumerable:!0,get:function(){return i}});let r=e.r(684154),a=e.r(334314);function i(e){var t,n;let i=(0,r.getAssetPrefix)();t=self.__next_s,n=()=>{e(i)},t&&t.length?t.reduce((e,[t,n])=>e.then(()=>new Promise((e,r)=>{let i=document.createElement("script");n&&(0,a.setAttributesFromProps)(i,n),t?(i.src=t,i.onload=()=>e(),i.onerror=r):n&&(i.innerHTML=n.children,setTimeout(e)),document.head.appendChild(i)})),Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}window.next={version:"16.0.10",appDir:!0},("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},555269,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getObjectClassLabel:function(){return i},isPlainObject:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});function i(e){return Object.prototype.toString.call(e)}function o(e){if("[object Object]"!==i(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},906858,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return o},getProperError:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(555269);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function l(e){let t;return o(e)?e:Object.defineProperty(Error((0,i.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n})):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},505338,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},475804,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={isRecoverableError:function(){return c},onRecoverableError:function(){return d}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(481258),o=e.r(387554),l=i._(e.r(906858)),s=e.r(505338),u=new WeakSet;function c(e){return u.has(e)}let d=e=>{let t=(0,l.default)(e)&&"cause"in e?e.cause:e;(0,o.isBailoutToCSRError)(t)||(0,s.reportGlobalError)(t)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},154898,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let n=1;n<=this.numHashes;n++){let r=function(e){let t=0;for(let n=0;n<e.length;n++)t=Math.imul(t^e.charCodeAt(n),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${n}`)%this.numBits;t.push(r)}return t}}},322205,(e,t,n)=>{"use strict";function r(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}})},753718,(e,t,n)=>{"use strict";let r;function a(e){return(void 0===r&&"undefined"!=typeof window&&(r=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),r)?.createScriptURL(e)||e}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return a}}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},999421,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return i}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},523240,(e,t,n)=>{"use strict";function r(){return""}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},387580,(e,t,n)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return r}})},842397,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={createRouteLoader:function(){return v},getClientBuildManifest:function(){return g},isAssetError:function(){return f},markAssetError:function(){return d}};
1for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});e.r(481258),e.r(322205);let i=e.r(753718),o=e.r(999421),l=e.r(523240),s=e.r(387580);function u(e,t,n){let r,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let i=new Promise(e=>{r=e});return t.set(e,{resolve:r,future:i}),n?n().then(e=>(r(e),e)).catch(n=>{throw t.delete(e),n}):i}let c=Symbol("ASSET_LOAD_ERROR");function d(e){return Object.defineProperty(e,c,{})}function f(e){return e&&c in e}let p=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}(),h=()=>(0,l.getDeploymentIdQueryOrEmptyString)();function m(e,t,n){return new Promise((r,a)=>{let i=!1;e.then(e=>{i=!0,r(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(n)},t))})}function g(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):m(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,d(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})))}function y(e,t){return g().then(n=>{if(!(t in n))throw d(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let r=n[t].map(t=>e+"/_next/"+(0,s.encodeURIPath)(t));return{scripts:r.filter(e=>e.endsWith(".js")).map(e=>(0,i.__unsafeCreateTrustedScriptURL)(e)+h()),css:r.filter(e=>e.endsWith(".css")).map(e=>e+h())}})}function v(e){let t=new Map,n=new Map,r=new Map,a=new Map;function i(e){{var t;let r=n.get(e.toString());return r?r:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(n.set(e.toString(),r=new Promise((n,r)=>{(t=document.createElement("script")).onload=n,t.onerror=()=>r(d(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),r)}}function l(e){let t=r.get(e);return t||r.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw d(e)})),t}return{whenEntrypoint:e=>u(e,t),onEntrypoint(e,n){(n?Promise.resolve().then(()=>n()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(n=>{let r=t.get(e);r&&"resolve"in r?n&&(t.set(e,n),r.resolve(n)):(n?t.set(e,n):t.delete(e),a.delete(e))})},loadRoute(n,r){return u(n,a,()=>{let a;return m(y(e,n).then(({scripts:e,css:r})=>Promise.all([t.has(n)?[]:Promise.all(e.map(i)),Promise.all(r.map(l))])).then(e=>this.whenEntrypoint(n).then(t=>({entrypoint:t,styles:e[1]}))),3800,d(Object.defineProperty(Error(`Route did not complete loading: ${n}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0}))).then(({entrypoint:e,styles:t})=>{let n=Object.assign({styles:t},e);return"error"in e?e:n}).catch(e=>{if(r)throw e;return{error:e}}).finally(()=>a?.())})},prefetch(t){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():y(e,t).then(e=>Promise.all(p?e.scripts.map(e=>{var t,n,r;return t=e.toString(),n="script",new Promise((e,a)=>{let i=` 2 link[rel="prefetch"][href^="${t}"], 3 link[rel="preload"][href^="${t}"], 4 script[src^="${t}"]`;if(document.querySelector(i))return e();r=document.createElement("link"),n&&(r.as=n),r.rel="prefetch",r.crossOrigin=void 0,r.onload=e,r.onerror=()=>a(d(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),r.href=t,document.head.appendChild(r)})}):[])).then(()=>{(0,o.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},120867,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return b},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return y}};
4for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(481258),o=e.r(744066),l=e.r(736752),s=i._(e.r(158817)),u=o._(e.r(28430)),c=e.r(925310),d=e.r(334314),f=e.r(999421),p=new Map,h=new Set,m=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:a=null,dangerouslySetInnerHTML:i,children:o="",strategy:l="afterInteractive",onError:u,stylesheets:c}=e,f=n||t;if(f&&h.has(f))return;if(p.has(t)){h.add(f),p.get(t).then(r,u);return}let m=()=>{a&&a(),h.add(f)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});i?(g.innerHTML=i.__html||"",m()):o?(g.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",m()):t&&(g.src=t,p.set(t,y)),(0,d.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),c&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(c),document.body.appendChild(g)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>m(e))}):m(e)}function y(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function v(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:a=null,strategy:i="afterInteractive",onError:o,stylesheets:d,...p}=e,{updateScripts:g,scripts:y,getIsSsr:v,appDir:b,nonce:_}=(0,u.useContext)(c.HeadManagerContext);_=p.nonce||_;let S=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||n;S.current||(a&&e&&h.has(e)&&a(),S.current=!0)},[a,t,n]);let E=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!E.current){if("afterInteractive"===i)m(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>m(e))}));E.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(g?(y[i]=(y[i]||[]).concat([{id:t,src:n,onLoad:r,onReady:a,onError:o,...p,nonce:_}]),g(y)):v&&v()?h.add(t||n):v&&!v()&&m({...e,nonce:_})),b){if(d&&d.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!n)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...p,id:t}])})`}});else return s.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:_,crossOrigin:p.crossOrigin}:{as:"script",nonce:_,crossOrigin:p.crossOrigin}),(0,l.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([n,{...p,id:t}])})`}});"afterInteractive"===i&&n&&s.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:_,crossOrigin:p.crossOrigin}:{as:"script",nonce:_,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let b=v;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},714512,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return l},getSortedRoutes:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});class i{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e="/"){let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>
4[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),n}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let r=e[0];if(r.startsWith("[")&&r.endsWith("]")){let i=r.slice(1,-1),o=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),o=!0),i.startsWith("â¦"))throw Object.defineProperty(Error(`Detected a three-dot character ('â¦') at ('${i}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${i}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(i.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${i}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function a(e,n){if(null!==e&&e!==n)throw Object.defineProperty(Error(`You cannot use different slug names for the same dynamic path ('${e}' !== '${n}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===n)throw Object.defineProperty(Error(`You cannot have the same slug name "${n}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===r.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${n}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(n)}if(n)if(o){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,r="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});a(this.restSlugName,i),this.restSlugName=i,r="[...]"}else{if(o)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});a(this.slugName,i),this.slugName=i,r="[]"}}this.children.has(r)||this.children.set(r,new i),this.children.get(r)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(e){let t=new i;return e.forEach(e=>t.insert(e)),t.smoosh()}function l(e,t){let n={},r=[];for(let a=0;a<e.length;a++){let i=t(e[a]);n[i]=a,r[a]=i}return o(r).map(t=>e[n[t]])}},171314,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let r=e.r(864411),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,i=/\/\[[^/]+\](?=\/|$)/;function o(e,t=!0){return((0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),t)?i.test(e):a.test(e)}},804037,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return i.getSortedRouteObjects},getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}};
4for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(714512),o=e.r(171314)},938663,(e,t,n)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizePathSep",{enumerable:!0,get:function(){return r}})},547703,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"denormalizePagePath",{enumerable:!0,get:function(){return i}});let r=e.r(804037),a=e.r(938663);function i(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},921897,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let r=new WeakMap;function a(e,t){let n;if(!t)return{pathname:e};let a=r.get(t);a||(a=t.map(e=>e.toLowerCase()),r.set(t,a));let i=e.split("/",2);if(!i[1])return{pathname:e};let o=i[1].toLowerCase(),l=a.indexOf(o);return l<0?{pathname:e}:(n=t[l],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},545554,(e,t,n)=>{"use strict";function r(){let e=Object.create(null);return{on(t,n){(e[t]||(e[t]=[])).push(n)},off(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit(t,...n){(e[t]||[]).slice().map(e=>{e(...n)})}}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}})},380093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});let r=e.r(577740),a=e.r(872549);function i(e,t,n=!0){let o=new URL("undefined"==typeof window?"http://n":(0,r.getLocationOrigin)()),l=t?new URL(t,o):e.startsWith(".")?new URL("undefined"==typeof window?"http://n":window.location.href):o,{pathname:s,searchParams:u,search:c,hash:d,href:f,origin:p}=new URL(e,l);if(p!==o.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:s,query:n?(0,a.searchParamsToUrlQuery)(u):void 0,search:c,hash:d,href:f.slice(p.length),slashes:void 0}}},70972,(e,t,n)=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/path-to-regexp/");var e={};(()=>{function t(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"===r||"+"===r||"?"===r){t.push({type:"MODIFIER",index:n,value:e[n++]});continue}if("\\"===r){t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if("{"===r){t.push({type:"OPEN",index:n,value:e[n++]});continue}if("}"===r){t.push({type:"CLOSE",index:n,value:e[n++]});continue}if(":"===r){for(var a="",i=n+1;i<e.length;){var o=e.charCodeAt(i);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){a+=e[i++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=i;continue}if("("===r){var l=1,s="",i=n+1;if("?"===e[i])throw TypeError('Pattern cannot start with "?" at '.concat(i));for(;i<e.length;){if("\\"===e[i]){s+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--l){i++;break}}else if("("===e[i]&&(l++,"?"!==e[i+1]))throw TypeError("Capturing groups are not allowed at ".concat(i));s+=e[i++]}if(l)throw TypeError("Unbalanced pattern at ".concat(n));if(!s)throw TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:s}),n=i;continue}t.push({type:"CHAR",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,o=t.delimiter,l=void 0===o?"/#?":o,s=[],u=0,c=0,d="",f=function(e){if(c<n.length&&n[c].type===e)return n[c++].value},p=function(e){var t=f(e);if(void 0!==t)return t;var r=n[c],a=r.type,i=r.index;throw TypeError("Unexpected ".concat(a," at ").concat(i,", expected ").concat(e))},h=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<l.length;t++){var n=l[t];if(e.indexOf(n)>-1)return!0}return!1},g=function(e){var t=s[s.length-1],n=e||(t&&"string"==typeof t?t:"");
4if(t&&!n)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!n||m(n)?"[^".concat(a(l),"]+?"):"(?:(?!".concat(a(n),")[^").concat(a(l),"])+?")};c<n.length;){var y=f("CHAR"),v=f("NAME"),b=f("PATTERN");if(v||b){var _=y||"";-1===i.indexOf(_)&&(d+=_,_=""),d&&(s.push(d),d=""),s.push({name:v||u++,prefix:_,suffix:"",pattern:b||g(_),modifier:f("MODIFIER")||""});continue}var S=y||f("ESCAPED_CHAR");if(S){d+=S;continue}if(d&&(s.push(d),d=""),f("OPEN")){var _=h(),E=f("NAME")||"",w=f("PATTERN")||"",T=h();p("CLOSE"),s.push({name:E||(w?u++:""),pattern:E&&!w?g(_):w,prefix:_,suffix:T,modifier:f("MODIFIER")||""});continue}p("END")}return s}function n(e,t){void 0===t&&(t={});var n=i(t),r=t.encode,a=void 0===r?function(e){return e}:r,o=t.validate,l=void 0===o||o,s=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),n)});return function(t){for(var n="",r=0;r<e.length;r++){var i=e[r];if("string"==typeof i){n+=i;continue}var o=t?t[i.name]:void 0,u="?"===i.modifier||"*"===i.modifier,c="*"===i.modifier||"+"===i.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'.concat(i.name,'" to not repeat, but got an array'));if(0===o.length){if(u)continue;throw TypeError('Expected "'.concat(i.name,'" to not be empty'))}for(var d=0;d<o.length;d++){var f=a(o[d],i);if(l&&!s[r].test(f))throw TypeError('Expected all "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(f,'"'));n+=i.prefix+f+i.suffix}continue}if("string"==typeof o||"number"==typeof o){var f=a(String(o),i);if(l&&!s[r].test(f))throw TypeError('Expected "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(f,'"'));n+=i.prefix+f+i.suffix;continue}if(!u){var p=c?"an array":"a string";throw TypeError('Expected "'.concat(i.name,'" to be ').concat(p))}}return n}}function r(e,t,n){void 0===n&&(n={});var r=n.decode,a=void 0===r?function(e){return e}:r;return function(n){var r=e.exec(n);if(!r)return!1;for(var i=r[0],o=r.index,l=Object.create(null),s=1;s<r.length;s++)!function(e){if(void 0!==r[e]){var n=t[e-1];"*"===n.modifier||"+"===n.modifier?l[n.name]=r[e].split(n.prefix+n.suffix).map(function(e){return a(e,n)}):l[n.name]=a(r[e],n)}}(s);return{path:i,index:o,params:l}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function o(e,t,n){void 0===n&&(n={});for(var r=n.strict,o=void 0!==r&&r,l=n.start,s=n.end,u=n.encode,c=void 0===u?function(e){return e}:u,d=n.delimiter,f=n.endsWith,p="[".concat(a(void 0===f?"":f),"]|$"),h="[".concat(a(void 0===d?"/#?":d),"]"),m=void 0===l||l?"^":"",g=0;g<e.length;g++){var y=e[g];if("string"==typeof y)m+=a(c(y));else{var v=a(c(y.prefix)),b=a(c(y.suffix));if(y.pattern)if(t&&t.push(y),v||b)if("+"===y.modifier||"*"===y.modifier){var _="*"===y.modifier?"?":"";m+="(?:".concat(v,"((?:").concat(y.pattern,")(?:").concat(b).concat(v,"(?:").concat(y.pattern,"))*)").concat(b,")").concat(_)}else m+="(?:".concat(v,"(").concat(y.pattern,")").concat(b,")").concat(y.modifier);else{if("+"===y.modifier||"*"===y.modifier)throw TypeError('Can not repeat "'.concat(y.name,'" without a prefix and suffix'));m+="(".concat(y.pattern,")").concat(y.modifier)}else m+="(?:".concat(v).concat(b,")").concat(y.modifier)}}if(void 0===s||s)o||(m+="".concat(h,"?")),m+=n.endsWith?"(?=".concat(p,")"):"$";else{var S=e[e.length-1],E="string"==typeof S?h.indexOf(S[S.length-1])>-1:void 0===S;o||(m+="(?:".concat(h,"(?=").concat(p,"))?")),E||(m+="(?=".concat(h,"|").concat(p,")"))}return new RegExp(m,i(n))}function l(e,n,r){if(e instanceof RegExp){var a;if(!n)return e;for(var s=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=s.exec(e.source);c;)n.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=s.exec(e.source);return e}return Array.isArray(e)?(a=e.map(function(e){return l(e,n,r).source}),new RegExp("(?:".concat(a.join("|"),")"),i(r))):o(t(e,r),n,r)}Object.defineProperty(e,"__esModule",{value:!0}),e.pathToRegexp=e.tokensToRegexp=e.regexpToFunction=e.match=e.tokensToFunction=e.compile=e.parse=void 0,e.parse=t,e.compile=function(e,r){return n(t(e,r),r)},e.tokensToFunction=n,e.match=function(e,t){var n=[];return r(l(e,n,t),n,t)},e.regexpToFunction=r,e.tokensToRegexp=o,e.pathToRegexp=l})(),t.exports=e})()},617336,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={PARAM_SEPARATOR:function(){return i},hasAdjacentParameterIssues:function(){return o},normalizeAdjacentParameters:function(){return l},normalizeTokensForRegexp:function(){return s},stripNormalizedSeparators:function(){return u},stripParameterSeparators:function(){return c}};
4for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="_NEXTSEP_";function o(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function l(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${i}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${i}`)}function s(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function u(e){return e.replace(RegExp(`\\)${i}`,"g"),")")}function c(e){let t={};for(let[n,r]of Object.entries(e))"string"==typeof r?t[n]=r.replace(RegExp(`^${i}`),""):Array.isArray(r)?t[n]=r.map(e=>"string"==typeof e?e.replace(RegExp(`^${i}`),""):e):t[n]=r;return t}},614144,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={safeCompile:function(){return s},safePathToRegexp:function(){return l},safeRegexpToFunction:function(){return u},safeRouteMatcher:function(){return c}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(70972),o=e.r(617336);function l(e,t,n){if("string"!=typeof e)return(0,i.pathToRegexp)(e,t,n);let r=(0,o.hasAdjacentParameterIssues)(e),a=r?(0,o.normalizeAdjacentParameters)(e):e;try{return(0,i.pathToRegexp)(a,t,n)}catch(a){if(!r)try{let r=(0,o.normalizeAdjacentParameters)(e);return(0,i.pathToRegexp)(r,t,n)}catch(e){}throw a}}function s(e,t){let n=(0,o.hasAdjacentParameterIssues)(e),r=n?(0,o.normalizeAdjacentParameters)(e):e;try{let e=(0,i.compile)(r,t);if(n)return t=>(0,o.stripNormalizedSeparators)(e(t));return e}catch(r){if(!n)try{let n=(0,o.normalizeAdjacentParameters)(e),r=(0,i.compile)(n,t);return e=>(0,o.stripNormalizedSeparators)(r(e))}catch(e){}throw r}}function u(e,t){let n=(0,i.regexpToFunction)(e,t||[]);return e=>{let t=n(e);return!!t&&{...t,params:(0,o.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let n=e(t);return!!n&&(0,o.stripParameterSeparators)(n)}}},261364,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let r=e.r(577740),a=e.r(614144);function i({re:e,groups:t}){return(0,a.safeRouteMatcher)(n=>{let a=e.exec(n);if(!a)return!1;let i=e=>{try{return decodeURIComponent(e)}catch{throw Object.defineProperty(new r.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,n]of Object.entries(t)){let t=a[n.pos];void 0!==t&&(n.repeat?o[e]=t.split("/").map(e=>i(e)):o[e]=i(t))}return o})}},56400,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={ACTION_SUFFIX:function(){return y},APP_DIR_ALIAS:function(){return z},CACHE_ONE_YEAR:function(){return C},DOT_NEXT_ALIAS:function(){return U},ESLINT_DEFAULT_DIRS:function(){return ei},GSP_NO_RETURNED_VALUE:function(){return Z},GSSP_COMPONENT_MEMBER_ERROR:function(){return en},GSSP_NO_RETURNED_VALUE:function(){return ee},HTML_CONTENT_TYPE_HEADER:function(){return o},INFINITE_CACHE:function(){return N},INSTRUMENTATION_HOOK_FILENAME:function(){return L},JSON_CONTENT_TYPE_HEADER:function(){return l},MATCHED_PATH_HEADER:function(){return c},MIDDLEWARE_FILENAME:function(){return O},MIDDLEWARE_LOCATION_REGEXP:function(){return I},NEXT_BODY_SUFFIX:function(){return _},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return P},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return E},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return w},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return x},NEXT_CACHE_TAGS_HEADER:function(){return S},NEXT_CACHE_TAG_MAX_ITEMS:function(){return k},NEXT_CACHE_TAG_MAX_LENGTH:function(){return R},NEXT_DATA_SUFFIX:function(){return v},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return u},NEXT_META_SUFFIX:function(){return b},NEXT_QUERY_PARAM_PREFIX:function(){return s},NEXT_RESUME_HEADER:function(){return T},NON_STANDARD_NODE_ENV:function(){return er},PAGES_DIR_ALIAS:function(){return D},PRERENDER_REVALIDATE_HEADER:function(){return d},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return f},PROXY_FILENAME:function(){return A},PROXY_LOCATION_REGEXP:function(){return M},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return V},ROOT_DIR_ALIAS:function(){return j},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return G},RSC_ACTION_ENCRYPTION_ALIAS:function(){return q},RSC_ACTION_PROXY_ALIAS:function(){return $},RSC_ACTION_VALIDATE_ALIAS:function(){return B},RSC_CACHE_WRAPPER_ALIAS:function(){return H},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return W},RSC_MOD_REF_PROXY_ALIAS:function(){return F},RSC_PREFETCH_SUFFIX:function(){return p},RSC_SEGMENTS_DIR_SUFFIX:function(){return h},RSC_SEGMENT_SUFFIX:function(){return m},RSC_SUFFIX:function(){return g},SERVER_PROPS_EXPORT_ERROR:function(){return J},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return X},SERVER_PROPS_SSG_CONFLICT:function(){return K},SERVER_RUNTIME:function(){return eo},SSG_FALLBACK_EXPORT_ERROR:function(){return ea},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return Y},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return Q},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return i},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return et},WEBPACK_LAYERS:function(){return eu},WEBPACK_RESOURCE_QUERIES:function(){return ec},WEB_SOCKET_MAX_RECONNECTIONS:function(){return el}};
4for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="text/plain",o="text/html; charset=utf-8",l="application/json; charset=utf-8",s="nxtP",u="nxtI",c="x-matched-path",d="x-prerender-revalidate",f="x-prerender-revalidate-if-generated",p=".prefetch.rsc",h=".segments",m=".segment.rsc",g=".rsc",y=".action",v=".json",b=".meta",_=".body",S="x-next-cache-tags",E="x-next-revalidated-tags",w="x-next-revalidate-tag-token",T="next-resume",k=128,R=256,x=1024,P="_N_T_",C=31536e3,N=0xfffffffe,O="middleware",I=`(?:src/)?${O}`,A="proxy",M=`(?:src/)?${A}`,L="instrumentation",D="private-next-pages",U="private-dot-next",j="private-next-root-dir",z="private-next-app-dir",F="private-next-rsc-mod-ref-proxy",B="private-next-rsc-action-validate",$="private-next-rsc-server-reference",H="private-next-rsc-cache-wrapper",W="private-next-rsc-track-dynamic-import",q="private-next-rsc-action-encryption",G="private-next-rsc-action-client-wrapper",V="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",Y="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",X="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",K="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",Q="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",J="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",Z="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",ee="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",et="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",en="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",er='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',ea="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ei=["app","pages","components","lib","src"],eo={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},el=12,es={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},eu={...es,GROUP:{builtinReact:[es.reactServerComponents,es.actionBrowser],serverOnly:[es.reactServerComponents,es.actionBrowser,es.instrument,es.middleware],neutralTarget:[es.apiNode,es.apiEdge],clientOnly:[es.serverSideRendering,es.appPagesBrowser],bundled:[es.reactServerComponents,es.actionBrowser,es.serverSideRendering,es.appPagesBrowser,es.shared,es.instrument,es.middleware],appPages:[es.reactServerComponents,es.serverSideRendering,es.appPagesBrowser,es.actionBrowser]}},ec={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},190546,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(a,"\\$&"):e}},387053,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseLoaderTree",{enumerable:!0,get:function(){return a}});let r=e.r(255827);function a(e){let[t,n,a]=e,{layout:i,template:o}=a,{page:l}=a;l=t===r.DEFAULT_SEGMENT_KEY?a.defaultPage:l;let s=i?.[1]||o?.[1]||l?.[1];return{page:l,segment:t,modules:a,conventionPath:s,parallelRoutes:n}}},830893,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getParamProperties:function(){return s},getSegmentParam:function(){return o},isCatchAll:function(){return l}};
4for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(864411);function o(e){let t=i.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:t?`catchall-intercepted-${t}`:"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:t?`dynamic-intercepted-${t}`:"dynamic",param:e.slice(1,-1)}:null}function l(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function s(e){let t=!1,n=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,n=!0}return{repeat:t,optional:n}}},836211,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={PARAMETER_PATTERN:function(){return c},getDynamicParam:function(){return u},interpolateParallelRouteParams:function(){return s},parseMatchedParameter:function(){return f},parseParameter:function(){return d}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(147845),o=e.r(387053),l=e.r(830893);function s(e,t,n,r){let a=structuredClone(t),i=[{tree:e,depth:0}],s=n.split("/").slice(1);for(;i.length>0;){let{tree:e,depth:t}=i.pop(),{segment:n,parallelRoutes:u}=(0,o.parseLoaderTree)(e),c=(0,l.getSegmentParam)(n);if(c&&!a.hasOwnProperty(c.param)&&!r?.has(c.param))switch(c.type){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let d=s.slice(t).flatMap(e=>{let t=(0,l.getSegmentParam)(e);return t?a[t.param]:e}).filter(e=>void 0!==e);d.length>0&&(a[c.param]=d);break;case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(t<s.length){let e=s[t],n=(0,l.getSegmentParam)(e);a[c.param]=n?a[n.param]:e}break;default:c.type}let f=t;for(let e of(!(n.startsWith("(")&&n.endsWith(")"))&&""!==n&&f++,Object.values(u)))i.push({tree:e,depth:f})}return a}function u(e,t,n,r){let a=function(e,t,n){let r=e[t];if(n?.has(t)){let[e]=n.get(t);r=e}else Array.isArray(r)?r=r.map(e=>encodeURIComponent(e)):"string"==typeof r&&(r=encodeURIComponent(r));return r}(e,t,r);if(!a||0===a.length){if("oc"===n)return{param:t,value:null,type:n,treeSegment:[t,"",n]};throw Object.defineProperty(new i.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${n}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}return{param:t,value:a,treeSegment:[t,Array.isArray(a)?a.join("/"):a,n],type:n}}let c=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function d(e){let t=e.match(c);return t?f(t[2]):f(e)}function f(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}},21673,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getNamedMiddlewareRegex:function(){return m},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return d}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(56400),o=e.r(864411),l=e.r(190546),s=e.r(967917),u=e.r(836211);function c(e,t,n){let r={},a=1,i=[];for(let c of(0,s.removeTrailingSlash)(e).slice(1).split("/")){let e=o.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),s=c.match(u.PARAMETER_PATTERN);if(e&&s&&s[2]){let{key:t,optional:n,repeat:o}=(0,u.parseMatchedParameter)(s[2]);r[t]={pos:a++,repeat:o,optional:n},i.push(`/${(0,l.escapeStringRegexp)(e)}([^/]+?)`)}else if(s&&s[2]){let{key:e,repeat:t,optional:o}=(0,u.parseMatchedParameter)(s[2]);r[e]={pos:a++,repeat:t,optional:o},n&&s[1]&&i.push(`/${(0,l.escapeStringRegexp)(s[1])}`);let c=t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";n&&s[1]&&(c=c.substring(1)),i.push(c)}else i.push(`/${(0,l.escapeStringRegexp)(c)}`);t&&s&&s[3]&&i.push((0,l.escapeStringRegexp)(s[3]))}return{parameterizedRoute:i.join(""),groups:r}}function d(e,{includeSuffix:t=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:r=!1}={}){let{parameterizedRoute:a,groups:i}=c(e,t,n),o=a;return r||(o+="(?:/)?"),{re:RegExp(`^${o}$`),groups:i}}function f({interceptionMarker:e,getSafeRouteKey:t,segment:n,routeKeys:r,keyPrefix:a,backreferenceDuplicateKeys:i}){let o,{key:s,optional:c,repeat:d}=(0,u.parseMatchedParameter)(n),f=s.replace(/\W/g,"");a&&(f=`${a}${f}`);let p=!1;(0===f.length||f.length>30)&&(p=!0),isNaN(parseInt(f.slice(0,1)))||(p=!0),p&&(f=t());let h=f in r;a?r[f]=`${a}${s}`:r[f]=s;let m=e?(0,l.escapeStringRegexp)(e):"";return o=h&&i?`\\k<${f}>`:d?`(?<${f}>.+?)`:`(?<${f}>
4[^/]+?)`,{key:s,pattern:c?`(?:/${m}${o})?`:`/${m}${o}`,cleanedKey:f,optional:c,repeat:d}}function p(e,t,n,r,a,c={names:{},intercepted:{}}){let d,h=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),m={},g=[],y=[];for(let d of(c=structuredClone(c),(0,s.removeTrailingSlash)(e).slice(1).split("/"))){let e,s=o.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),p=d.match(u.PARAMETER_PATTERN),v=s?p?.[1]:void 0;if(v&&p?.[2]?(e=t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,c.intercepted[p[2]]=v):e=p?.[2]&&c.intercepted[p[2]]?t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?i.NEXT_QUERY_PARAM_PREFIX:void 0,v&&p&&p[2]){let{key:t,pattern:n,cleanedKey:r,repeat:i,optional:o}=f({getSafeRouteKey:h,interceptionMarker:v,segment:p[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a});g.push(n),y.push(`/${p[1]}:${c.names[t]??r}${i?o?"*":"+":""}`),c.names[t]??=r}else if(p&&p[2]){r&&p[1]&&(g.push(`/${(0,l.escapeStringRegexp)(p[1])}`),y.push(`/${p[1]}`));let{key:t,pattern:n,cleanedKey:i,repeat:o,optional:s}=f({getSafeRouteKey:h,segment:p[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a}),u=n;r&&p[1]&&(u=u.substring(1)),g.push(u),y.push(`/:${c.names[t]??i}${o?s?"*":"+":""}`),c.names[t]??=i}else g.push(`/${(0,l.escapeStringRegexp)(d)}`),y.push(`/${d}`);n&&p&&p[3]&&(g.push((0,l.escapeStringRegexp)(p[3])),y.push(p[3]))}return{namedParameterizedRoute:g.join(""),routeKeys:m,pathToRegexpPattern:y.join(""),reference:c}}
4function h(e,t){let n=p(e,t.prefixRouteKeys,t.includeSuffix??!1,t.includePrefix??!1,t.backreferenceDuplicateKeys??!1,t.reference),r=n.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(r+="(?:/)?"),{...d(e,t),namedRegex:`^${r}$`,routeKeys:n.routeKeys,pathToRegexpPattern:n.pathToRegexpPattern,reference:n.reference}}function m(e,t){let{parameterizedRoute:n}=c(e,!1,!1),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:`^/${r?".*":""}$`};let{namedParameterizedRoute:a}=p(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${a}${r?"(?:(/.*)?)":""}$`}}},473931,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=(...e)=>{};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},545024,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return r}}),e.r(427082);let r=(e,...t)=>e;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},963288,(e,t,n)=>{"use strict";function r(e,t){return e}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removeLocale",{enumerable:!0,get:function(){return r}}),e.r(773213),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},80151,(e,t,n)=>{"use strict";function r(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"omit",{enumerable:!0,get:function(){return r}})},787418,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"interpolateAs",{enumerable:!0,get:function(){return i}});let r=e.r(261364),a=e.r(21673);function i(e,t,n){let i="",o=(0,a.getRouteRegex)(e),l=o.groups,s=(t!==e?(0,r.getRouteMatcher)(o)(t):"")||n;i=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:n,optional:r}=l[e],a=`[${n?"...":""}${e}]`;return r&&(a=`${!t?"/":""}[${a}]`),n&&!Array.isArray(t)&&(t=[t]),(r||e in s)&&(i=i.replace(a,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},705590,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolveHref",{enumerable:!0,get:function(){return p}});let r=e.r(872549),a=e.r(274881),i=e.r(80151),o=e.r(577740),l=e.r(427082),s=e.r(124297),u=e.r(804037),c=e.r(787418),d=e.r(21673),f=e.r(261364);function p(e,t,n){let p,h="string"==typeof t?t:(0,a.formatWithValidation)(t),m=h.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?h.slice(m[0].length):h;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${h}' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let t=(0,o.normalizeRepeatedSlashes)(g);h=(m?m[0]:"")+t}if(!(0,s.isLocalURL)(h))return n?[h]:h;try{let t=h.startsWith("#")?e.asPath:e.pathname;if(h.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let n=(0,d.getRouteRegex)(e.pathname);(0,f.getRouteMatcher)(n)(e.asPath)||(t=e.asPath)}p=new URL(t,"http://n")}catch(e){p=new URL("/","http://n")}try{let e=new URL(h,p);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:o,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,n);o&&(t=(0,a.formatWithValidation)({pathname:o,hash:e.hash,query:(0,i.omit)(n,l)}))}let o=e.origin===p.origin?e.href.slice(e.origin.length):e.href;return n?[o,t||o]:o}catch(e){return n?[h]:h}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
4dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},569250,(e,t,n)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isAPIRoute",{enumerable:!0,get:function(){return r}})},839652,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removePathPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(857005);function a(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;let n=e.slice(t.length);return n.startsWith("/")?n:`/${n}`}},7566,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let r=e.r(921897),a=e.r(839652),i=e.r(857005);function o(e,t){let{basePath:n,i18n:o,trailingSlash:l}=t.nextConfig??{},s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};n&&(0,i.pathHasPrefix)(s.pathname,n)&&(s.pathname=(0,a.removePathPrefix)(s.pathname,n),s.basePath=n);let u=s.pathname;if(s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){let e=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");s.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(s.pathname=u)}if(o){let e=t.i18nProvider?t.i18nProvider.analyze(s.pathname):(0,r.normalizeLocalePath)(s.pathname,o.locales);s.locale=e.detectedLocale,s.pathname=e.pathname??s.pathname,!e.detectedLocale&&s.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,r.normalizeLocalePath)(u,o.locales)).detectedLocale&&(s.locale=e.detectedLocale)}return s}},468772,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addPathSuffix",{enumerable:!0,get:function(){return a}});let r=e.r(773213);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:a,hash:i}=(0,r.parsePath)(e);return`${n}${t}${a}${i}`}},290644,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return i}});let r=e.r(868944),a=e.r(857005);function i(e,t,n,i){if(!t||t===n)return e;let o=e.toLowerCase();return!i&&((0,a.pathHasPrefix)(o,"/api")||(0,a.pathHasPrefix)(o,`/${t.toLowerCase()}`))?e:(0,r.addPathPrefix)(e,`/${t}`)}},294441,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});let r=e.r(967917),a=e.r(868944),i=e.r(468772),o=e.r(290644);function l(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,a.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},555602,(e,t,n)=>{"use strict";function r(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=n.length;r--;){let a=n[r];if("query"===a){let n=Object.keys(e.query);if(n.length!==Object.keys(t.query).length)return!1;for(let r=n.length;r--;){let a=n[r];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"compareRouterStates",{enumerable:!0,get:function(){return r}})},376542,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getPathMatch",{enumerable:!0,get:function(){return a}});let r=e.r(70972);function a(e,t){let n=[],a=(0,r.pathToRegexp)(e,n,{delimiter:"/",sensitive:"boolean"==typeof t?.sensitive&&t.sensitive,strict:t?.strict}),i=(0,r.regexpToFunction)(t?.regexModifier?new RegExp(t.regexModifier(a.source),a.flags):a,n);return(e,r)=>{if("string"!=typeof e)return!1;let a=i(e);if(!a)return!1;if(t?.removeUnnamedParams)for(let e of n)"number"==typeof e.name&&delete a.params[e.name];return{...r,...a.params}}}},565902,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseUrl",{enumerable:!0,get:function(){return i}});let r=e.r(872549),a=e.r(380093);function i(e){if(e.startsWith("/"))return(0,a.parseRelativeUrl)(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,r.searchParamsToUrlQuery)(t.searchParams),search:t.search,origin:t.origin,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}},215837,(e,t,n)=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/cookie/");var e,n,r,a,i={};i.parse=function(t,n){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var a={},i=t.split(r),o=(n||{}).decode||e,l=0;l<i.length;l++){var s=i[l],u=s.indexOf("=");if(!(u<0)){var c=s.substr(0,u).trim(),d=s.substr(++u,s.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==a[c]&&(a[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,o))}}return a},i.serialize=function(e,t,r){var i=r||{},o=i.encode||n;if("function"!=typeof o)throw TypeError("option encode is invali
4d");if(!a.test(e))throw TypeError("argument name is invalid");var l=o(t);if(l&&!a.test(l))throw TypeError("argument val is invalid");var s=e+"="+l;if(null!=i.maxAge){var u=i.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(u)}if(i.domain){if(!a.test(i.domain))throw TypeError("option domain is invalid");s+="; Domain="+i.domain}if(i.path){if(!a.test(i.path))throw TypeError("option path is invalid");s+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invalid");s+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(s+="; HttpOnly"),i.secure&&(s+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"none":s+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return s},e=decodeURIComponent,n=encodeURIComponent,r=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,t.exports=i})()},277863,(e,t,n)=>{"use strict";function r(t){return function(){let{cookie:n}=t;if(!n)return{};let{parse:r}=e.r(215837);return r(Array.isArray(n)?n.join("; "):n)}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getCookieParser",{enumerable:!0,get:function(){return r}})},617045,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={compileNonPath:function(){return f},matchHas:function(){return d},parseDestination:function(){return p},prepareDestination:function(){return h}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(190546),o=e.r(565902),l=e.r(864411),s=e.r(277863),u=e.r(614144);function c(e){return e.replace(/__ESC_COLON_/gi,":")}function d(e,t,n=[],r=[]){let a={},i=n=>{let r,i=n.key;switch(n.type){case"header":i=i.toLowerCase(),r=e.headers[i];break;case"cookie":r="cookies"in e?e.cookies[n.key]:(0,s.getCookieParser)(e.headers)()[n.key];break;case"query":r=t[i];break;case"host":{let{host:t}=e?.headers||{};r=t?.split(":",1)[0].toLowerCase()}}if(!n.value&&r)return a[function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);(r>64&&r<91||r>96&&r<123)&&(t+=e[n])}return t}(i)]=r,!0;if(r){let e=RegExp(`^${n.value}$`),t=Array.isArray(r)?r.slice(-1)[0].match(e):r.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{a[e]=t.groups[e]}):"host"===n.type&&t[0]&&(a.host=t[0])),!0}return!1};return!(!n.every(e=>i(e))||r.some(e=>i(e)))&&a}function f(e,t){if(!e.includes(":"))return e;for(let n of Object.keys(t))e.includes(`:${n}`)&&(e=e.replace(RegExp(`:${n}\\*`,"g"),`:${n}--ESCAPED_PARAM_ASTERISKS`).replace(RegExp(`:${n}\\?`,"g"),`:${n}--ESCAPED_PARAM_QUESTION`).replace(RegExp(`:${n}\\+`,"g"),`:${n}--ESCAPED_PARAM_PLUS`).replace(RegExp(`:${n}(?!\\w)`,"g"),`--ESCAPED_PARAM_COLON${n}`));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,u.safeCompile)(`/${e}`,{validate:!1})(t).slice(1)}function p(e){let t=e.destination;for(let n of Object.keys({...e.params,...e.query}))n&&(t=t.replace(RegExp(`:${(0,i.escapeStringRegexp)(n)}`,"g"),`__ESC_COLON_${n}`));let n=(0,o.parseUrl)(t),r=n.pathname;r&&(r=c(r));let a=n.href;a&&(a=c(a));let l=n.hostname;l&&(l=c(l));let s=n.hash;s&&(s=c(s));let u=n.search;u&&(u=c(u));let d=n.origin;return d&&(d=c(d)),{...n,pathname:r,hostname:l,href:a,hash:s,search:u,origin:d}}function h(e){let t,n,r=p(e),{hostname:a,query:i,search:o}=r,s=r.pathname;r.hash&&(s=`${s}${r.hash}`);let d=[],h=[];for(let e of((0,u.safePathToRegexp)(s,h),h))d.push(e.name);if(a){let e=[];for(let t of((0,u.safePathToRegexp)(a,e),e))d.push(t.name)}let m=(0,u.safeCompile)(s,{validate:!1});for(let[n,r]of(a&&(t=(0,u.safeCompile)(a,{validate:!1})),Object.entries(i)))Array.isArray(r)?i[n]=r.map(t=>f(c(t),e.params)):"string"==typeof r&&(i[n]=f(c(r),e.params));let g=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!g.some(e=>d.includes(e)))for(let t of g)t in i||(i[t]=e.params[t]);if((0,l.isInterceptionRouteAppPath)(s))for(let t of s.split("/")){let n=l.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(n){"(..)(..)"===n?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=n;break}}try{let[a,i]=(n=m(e.params)).split("#",2);t&&(r.hostname=t(e.params)),r.pathname=a,r.hash=`${i?"#":""}${i||""}`,r.search=o?f(o,e.params):""}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,
4configurable:!0});throw e}return r.query={...e.query,...r.query},{newUrl:n,destQuery:i,parsedDestination:r}}},322278,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(376542),a=e.r(617045),i=e.r(967917),o=e.r(921897),l=e.r(903610),s=e.r(380093);function u(e,t,n,u,c,d){let f,p=!1,h=!1,m=(0,s.parseRelativeUrl)(e),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,l.removeBasePath)(m.pathname),d).pathname),y=n=>{let s=(0,r.getPathMatch)(n.source+"",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((n.has||n.missing)&&s){let e=(0,a.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[n,...r]=t.split("=");return e[n]=r.join("="),e},{})},m.query,n.has,n.missing);e?Object.assign(s,e):s=!1}if(s){if(!n.destination)return h=!0,!0;let r=(0,a.prepareDestination)({appendParamsToQuery:!0,destination:n.destination,params:s,query:u});if(m=r.parsedDestination,e=r.newUrl,Object.assign(u,r.parsedDestination.query),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,l.removeBasePath)(e),d).pathname),t.includes(g))return p=!0,f=g,!0;if((f=c(g))!==e&&t.includes(f))return p=!0,!0}},v=!1;for(let e=0;e<n.beforeFiles.length;e++)y(n.beforeFiles[e]);if(!(p=t.includes(g))){if(!v){for(let e=0;e<n.afterFiles.length;e++)if(y(n.afterFiles[e])){v=!0;break}}if(v||(f=c(g),v=p=t.includes(f)),!v){for(let e=0;e<n.fallback.length;e++)if(y(n.fallback[e])){v=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:p,resolvedHref:f,externalDest:h}}},67427,(e,t,n)=>{"use strict";let r;Object.defineProperty(n,"__esModule",{value:!0});var a={createKey:function(){return V},default:function(){return K},matchesMiddleware:function(){return z}};for(var i in a)Object.defineProperty(n,i,{enumerable:!0,get:a[i]});let o=e.r(481258),l=e.r(744066),s=e.r(967917),u=e.r(842397),c=e.r(120867),d=l._(e.r(906858)),f=e.r(547703),p=e.r(921897),h=o._(e.r(545554)),m=e.r(577740),g=e.r(171314),y=e.r(380093),v=e.r(261364),b=e.r(21673),_=e.r(274881);e.r(473931);let S=e.r(773213),E=e.r(545024),w=e.r(963288),T=e.r(903610),k=e.r(74738),R=e.r(626087),x=e.r(705590),P=e.r(569250),C=e.r(7566),N=e.r(294441),O=e.r(555602),I=e.r(124297),A=e.r(214532),M=e.r(80151),L=e.r(787418),D=e.r(676048),U=e.r(56400);function j(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function z(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:n}=(0,S.parsePath)(e.asPath),r=(0,R.hasBasePath)(n)?(0,T.removeBasePath)(n):n,a=(0,k.addBasePath)((0,E.addLocale)(r,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function F(e){let t=(0,m.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function B(e,t,n){let[r,a]=(0,x.resolveHref)(e,t,!0),i=(0,m.getLocationOrigin)(),o=r.startsWith(i),l=a&&a.startsWith(i);r=F(r),a=a?F(a):a;let s=o?r:(0,k.addBasePath)(r),u=n?F((0,x.resolveHref)(e,n)):a||r;return{url:s,as:l?u:(0,k.addBasePath)(u)}}function $(e,t){let n=(0,s.removeTrailingSlash)((0,f.denormalizePagePath)(e));return"/404"===n||"/_error"===n?e:(t.includes(n)||t.some(t=>{if((0,g.isDynamicRoute)(t)&&(0,b.getRouteRegex)(t).re.test(n))return e=t,!0}),(0,s.removeTrailingSlash)(e))}async function H(e){if(!await z(e)||!e.fetchData)return null;let t=await e.fetchData(),n=await function(e,t,n){let a={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:!1},i=t.headers.get("x-nextjs-rewrite"),o=i||t.headers.get("x-nextjs-matched-path"),l=t.headers.get(U.MATCHED_PATH_HEADER);if(!l||o||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(o=l),o){if(o.startsWith("/")){let t=(0,y.parseRelativeUrl)(o),l=(0,C.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),c=(0,s.removeTrailingSlash)(l.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,u.getClientBuildManifest)()]).then(([a,{__rewrites:o}])=>{let s=(0,E.addLocale)(l.pathname,l.locale);if((0,g.isDynamicRoute)(s)||!i&&a.includes((0,p.normalizeLocalePath)((0,T.removeBasePath)(s),n.router.locales).pathname)){let n=(0,C.getNextPathnameInfo)((0,y.parseRelativeUrl)(e).pathname,{nextConfig:void 0,parseData:!0}
4);t.pathname=s=(0,k.addBasePath)(n.pathname)}{let e=r(s,a,o,t.query,e=>$(e,a),n.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,s=t.pathname,Object.assign(t.query,e.parsedAs.query))}let u=a.includes(c)?c:$((0,p.normalizeLocalePath)((0,T.removeBasePath)(t.pathname),n.router.locales).pathname,a);if((0,g.isDynamicRoute)(u)){let e=(0,v.getRouteMatcher)((0,b.getRouteRegex)(u))(s);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:u}})}let t=(0,S.parsePath)(e),l=(0,N.formatNextPathnameInfo)({...(0,C.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${l}${t.query}${t.hash}`})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=(0,S.parsePath)(c),t=(0,N.formatNextPathnameInfo)({...(0,C.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:n}}r=e.r(322278).default;let W=Symbol("SSG_DATA_NOT_FOUND");function q(e){try{return JSON.parse(e)}catch(e){return null}}function G({dataHref:e,inflightCache:t,isPrefetch:n,hasMiddleware:r,isServerRender:a,parseJSON:i,persistCache:o,isBackground:l,unstable_skipClientCache:s}){let{href:c}=new URL(e,window.location.href),d=l=>(function e(t,n,r){return fetch(t,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&n>1&&a.status>=500?e(t,n-1,r):a)})(e,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&r?{"x-middleware-prefetch":"1"}:{},{}),method:l?.method??"GET"}).then(t=>t.ok&&l?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(n=>{if(!t.ok){if(r&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:n,json:{},cacheKey:c};if(404===t.status&&q(n)?.notFound)return{dataHref:e,json:{notFound:W},response:t,text:n,cacheKey:c};let i=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw a||(0,u.markAssetError)(i),i}return{dataHref:e,json:i?q(n):null,response:t,text:n,cacheKey:c}})).then(e=>(o&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw s||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,u.markAssetError)(e),e});return s&&o?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=d(l?{method:"HEAD"}:{})}function V(){return Math.random().toString(36).slice(2,10)}function Y({url:e,router:t}){if(e===(0,k.addBasePath)((0,E.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let X=({route:e,router:t})=>{let n=!1,r=t.clc=()=>{n=!0};return()=>{if(n){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}r===t.clc&&(t.clc=null)}};class K{static{this.events=(0,h.default)()}constructor(e,t,n,{initialProps:r,pageLoader:a,App:i,wrapApp:o,Component:l,err:u,subscription:c,isFallback:d,locale:f,locales:p,defaultLocale:h,domainLocales:v,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=V(),this.onPopState=e=>{let t,{isFirstPopStateEvent:n}=this;this.isFirstPopStateEvent=!1;let r=e.state;if(!r){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,_.formatWithValidation)({pathname:(0,k.addBasePath)(e),query:t}),(0,m.getURL)());return}if(r.__NA)return void window.location.reload();if(!r.__N||n&&this.locale===r.options.locale&&r.as===this.asPath)return;let{url:a,as:i,options:o,key:l}=r;this._key=l;let{pathname:s}=(0,y.parseRelativeUrl)(a);this.isSsr&&i===(0,k.addBasePath)(this.asPath)&&s===(0,k.addBasePath)(this.pathname)||(!this._bps||this._bps(r))&&this.change("replaceState",a,i,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};const S=(0,s.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:l,initial:!0,props:r,err:u,__N_SSG:r&&r.__N_SSG,__N_SSP:r&&r.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=K.events,this.pageLoader=a;const E=(0,g.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=o,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!E&&!self.location.search&&0),this.state={route:S,pathname:e,query:t,asPath:E?e:n,isPreview:!!b,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"undefined"!=typeof window){if(!n.startsWith("//")){const r={locale:f},a=(0,m.getURL)();this._initialMatchesMiddlewarePromise=z({router:this,locale:f,asPath:a}).then(i=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",i?a:(0,_.formatWithValidation)({pathname:(0,k.addBasePath)(e),query:t}),a,r),i))}window.addEventListener("popstate",this.onPopState)}}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,n={}){return{url:e,as:t}=B(this,e,t),this.change("pushState",e,t,n)}replace(e,t,n={}){return{url:e,as:t}=B(this,e,t),this.change("replaceState",e,t,n)}async _bfl(t,n,r,a){{if(!this._bfl_s&&!this._bfl_d){let n,i,{BloomFilter:o}=e.r(154898);try{({__routerFilterStatic:n,__routerFilterDynamic:i}=await (0,u.getClientBuildManifest)())}catch(e){if(console.error(e),a)return!0;return Y({url:(0,k.addBasePath)((0,E.addLocale)(t,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let l={numItems:16,errorRate:1e-4,numBits:307,numHashes:14,bitArray:[0,0,1,1,0,1,0,1,1,1,0,0,0,1,0,1,0,1,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,1,1,0,0,1,1,1,1,0,0,1,0,1,1,1,1,1,0,0,0,1,1,0,1,0,1,0,1,0,0,0,0,0,1,0,1,1,1,0,1,0,0,0,0,1,1,0,0,0,0,0,1,1,1,0,0,1,1,1,0,0,1,1,1,1,0,1,0,0,0,0,1,0,1,1,0,0,0,1,0,0,1,0,1,0,0,0,1,1,1,1,0,0,1,1,0,1,0,1,0,1,0,0,0,0,1,1,0,1,1,1,0,1,0,0,1,0,0,1,0,0,0,1,1,1,1,0,0,1,1,0,1,0,0,0,1,1,0,0,1,0,1,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1,0,1,1,0,1,1,1,0,0,1,0,1,1,0,0,0,0,1,0,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,1,0,1,1,1,1,0,0,1,0,1,0,0,1,1,0,0,1,1,1,1,1,1,1,1,0,0,0,0,1,1,0,0,0,1,1,0,1,1,0,0,0,1,0,1,1,0,0,0,0,0,1,1,0,1,1,0,1,0,0,1]};!n&&l&&(n=l||void 0);let s={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};!i&&s&&(i=s),n?.numHashes&&(this._bfl_s=new o(n.numItems,n.errorRate),this._bfl_s.import(n)),i?.numHashes&&(this._bfl_d=new o(i.numItems,i.errorRate),this._bfl_d.import(i))}let i=!1,o=!1;for(let{as:e,allowMatchCurrent:l}of[{as:t},{as:n}])if(e){let n=(0,s.removeTrailingSlash)(new URL(e,"http://n").pathname),u=(0,k.addBasePath)((0,E.addLocale)(n,r||this.locale));if(l||n!==(0,s.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(i=i||!!this._bfl_s?.contains(n)||!!this._bfl_s?.contains(u),[n,u])){let t=e.split("/");for(let e=0;!o&&e<t.length+1;e++){let n=t.slice(0,e).join("/");if(n&&this._bfl_d?.contains(n)){o=!0;break}}}if(i||o){if(a)return!0;return Y({url:(0,k.addBasePath)((0,E.addLocale)(t,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,n,a,i){let o,l;if(!(0,I.isLocalURL)(t))return Y({url:t,router:this}),!1;let f=1===a._h;f||a.shallow||await this._bfl(n,void 0,a.locale);let p=f||a._shouldResolveHref||(0,S.parsePath)(t).pathname===(0,S.parsePath)(n).pathname,h={...this.state},x=!0!==this.isReady;this.isReady=!0;let P=this.isSsr;if(f||(this.isSsr=!1),f&&this.clc)return!1;let C=h.locale;m.ST&&performance.mark("routeChange");let{shallow:N=!1,scroll:A=!0}=a,D={shallow:N};this._inFlightRoute&&this.clc&&(P||K.events.emit("routeChangeError",j(),this._inFlightRoute,D),this.clc(),this.clc=null),n=(0,k.addBasePath)((0,E.addLocale)((0,R.hasBasePath)(n)?(0,T.removeBasePath)(n):n,a.locale,this.defaultLocale));let U=(0,w.removeLocale)((0,R.hasBasePath)(n)?(0,T.removeBasePath)(n):n,h.locale);this._inFlightRoute=n;let F=C!==h.locale;if(!f&&this.onlyAHashChange(U)&&!F){h.asPath=U,K.events.emit("hashChangeStart",n,D),this.changeState(e,t,n,{...a,scroll:!1}),A&&this.scrollToHash(U);try{await this.set(h,this.components[h.route],null)}catch(e){throw(0,d.default)(e)&&e.cancelled&&K.events.emit("routeChangeError",e,U,D),e}return K.events.emit("hashChangeComplete",n,D),!0}let H=(0,y.parseRelativeUrl)(t),{pathname:q,query:G}=H;try{[o,{__rewrites:l}
4]=await Promise.all([this.pageLoader.getPageList(),(0,u.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return Y({url:n,router:this}),!1}this.urlIsNew(U)||F||(e="replaceState");let V=n;q=q?(0,s.removeTrailingSlash)((0,T.removeBasePath)(q)):q;let X=(0,s.removeTrailingSlash)(q),Q=n.startsWith("/")&&(0,y.parseRelativeUrl)(n).pathname;if(this.components[q]?.__appRouter)return Y({url:n,router:this}),new Promise(()=>{});let J=!!(Q&&X!==Q&&(!(0,g.isDynamicRoute)(X)||!(0,v.getRouteMatcher)((0,b.getRouteRegex)(X))(Q))),Z=!a.shallow&&await z({asPath:n,locale:h.locale,router:this});if(f&&Z&&(p=!1),p&&"/_error"!==q)if(a._shouldResolveHref=!0,n.startsWith("/")){let e=r((0,k.addBasePath)((0,E.addLocale)(U,h.locale),!0),o,l,G,e=>$(e,o),this.locales);if(e.externalDest)return Y({url:n,router:this}),!0;Z||(V=e.asPath),e.matchedPage&&e.resolvedHref&&(q=e.resolvedHref,H.pathname=(0,k.addBasePath)(q),Z||(t=(0,_.formatWithValidation)(H)))}else H.pathname=$(q,o),H.pathname!==q&&(q=H.pathname,H.pathname=(0,k.addBasePath)(q),Z||(t=(0,_.formatWithValidation)(H)));if(!(0,I.isLocalURL)(n))return Y({url:n,router:this}),!1;V=(0,w.removeLocale)((0,T.removeBasePath)(V),h.locale),X=(0,s.removeTrailingSlash)(q);let ee=!1;if((0,g.isDynamicRoute)(X)){let e=(0,y.parseRelativeUrl)(V),r=e.pathname,a=(0,b.getRouteRegex)(X);ee=(0,v.getRouteMatcher)(a)(r);let i=X===r,o=i?(0,L.interpolateAs)(X,r,G):{};if(ee&&(!i||o.result))i?n=(0,_.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,M.omit)(G,o.params)})):Object.assign(G,ee);else{let e=Object.keys(a.groups).filter(e=>!G[e]&&!a.groups[e].optional);if(e.length>0&&!Z)throw Object.defineProperty(Error((i?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${r}) is incompatible with the \`href\` value (${X}). `)+`Read more: https://nextjs.org/docs/messages/${i?"href-interpolation-failed":"incompatible-href-as"}`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}f||K.events.emit("routeChangeStart",n,D);let et="/404"===this.pathname||"/_error"===this.pathname;try{let r=await this.getRouteInfo({route:X,pathname:q,query:G,as:n,resolvedAs:V,routeProps:D,locale:h.locale,isPreview:h.isPreview,hasMiddleware:Z,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:f&&!this.isFallback,isMiddlewareRewrite:J});if(f||a.shallow||await this._bfl(n,"resolvedAs"in r?r.resolvedAs:void 0,h.locale),"route"in r&&Z){X=q=r.route||X,D.shallow||(G=Object.assign({},r.query||{},G));let e=(0,R.hasBasePath)(H.pathname)?(0,T.removeBasePath)(H.pathname):H.pathname;if(ee&&q!==e&&Object.keys(ee).forEach(e=>{ee&&G[e]===ee[e]&&delete G[e]}),(0,g.isDynamicRoute)(q)){let e=!D.shallow&&r.resolvedAs?r.resolvedAs:(0,k.addBasePath)((0,E.addLocale)(new URL(n,location.href).pathname,h.locale),!0);(0,R.hasBasePath)(e)&&(e=(0,T.removeBasePath)(e));let t=(0,b.getRouteRegex)(q),a=(0,v.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(G,a)}}if("type"in r)if("redirect-internal"===r.type)return this.change(e,r.newUrl,r.newAs,a);else return Y({url:r.destination,router:this}),new Promise(()=>{});let l=r.Component;if(l&&l.unstable_scriptLoader&&[].concat(l.unstable_scriptLoader()).forEach(e=>{(0,c.handleClientScriptLoad)(e.props)}),(r.__N_SSG||r.__N_SSP)&&r.props){if(r.props.pageProps&&r.props.pageProps.__N_REDIRECT){a.locale=!1;let t=r.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==r.props.pageProps.__N_REDIRECT_BASE_PATH){let n=(0,y.parseRelativeUrl)(t);n.pathname=$(n.pathname,o);let{url:r,as:i}=B(this,t,t);return this.change(e,r,i,a)}return Y({url:t,router:this}),new Promise(()=>{})}if(h.isPreview=!!r.props.__N_PREVIEW,r.props.notFound===W){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(r=await this.getRouteInfo({route:e,pathname:e,query:G,as:n,resolvedAs:V,routeProps:{shallow:!1},locale:h.locale,isPreview:h.isPreview,isNotFound:!0}),"type"in r)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,
4configurable:!0})}}f&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&r.props?.pageProps&&(r.props.pageProps.statusCode=500);let s=a.shallow&&h.route===(r.route??X),u=a.scroll??(!f&&!s),p=i??(u?{x:0,y:0}:null),m={...h,route:X,pathname:q,query:G,asPath:U,isFallback:!1};if(f&&et){if(r=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:G,as:n,resolvedAs:V,routeProps:{shallow:!1},locale:h.locale,isPreview:h.isPreview,isQueryUpdating:f&&!this.isFallback}),"type"in r)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&r.props?.pageProps&&(r.props.pageProps.statusCode=500);try{await this.set(m,r,p)}catch(e){throw(0,d.default)(e)&&e.cancelled&&K.events.emit("routeChangeError",e,U,D),e}return!0}if(K.events.emit("beforeHistoryChange",n,D),this.changeState(e,t,n,a),!(f&&!p&&!x&&!F&&(0,O.compareRouterStates)(m,this.state))){try{await this.set(m,r,p)}catch(e){if(e.cancelled)r.error=r.error||e;else throw e}if(r.error)throw f||K.events.emit("routeChangeError",r.error,U,D),r.error;f||K.events.emit("routeChangeComplete",n,D),u&&/#.+$/.test(n)&&this.scrollToHash(n)}return!0}catch(e){if((0,d.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,n,r={}){("pushState"!==e||(0,m.getURL)()!==n)&&(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:V()},"",n))}async handleRouteInfoError(e,t,n,r,a,i){if(e.cancelled)throw e;if((0,u.isAssetError)(e)||i)throw K.events.emit("routeChangeError",e,r,a),Y({url:r,router:this}),j();console.error(e);try{let r,{page:a,styleSheets:i}=await this.fetchComponent("/_error"),o={props:r,Component:a,styleSheets:i,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(a,{err:e,pathname:t,query:n})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,d.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,n,r,a,!0)}}async getRouteInfo({route:e,pathname:t,query:n,as:r,resolvedAs:a,routeProps:i,locale:o,hasMiddleware:l,isPreview:u,unstable_skipClientCache:c,isQueryUpdating:f,isMiddlewareRewrite:h,isNotFound:m}){let g=e;try{let e=this.components[g];if(i.shallow&&e&&this.route===g)return e;let d=X({route:g,router:this});l&&(e=void 0);let y=!e||"initial"in e?void 0:e,v={dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:t,query:n}),skipInterpolation:!0,asPath:m?"/404":a,locale:o}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:f?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:c,isBackground:f},b=f&&!h?null:await H({fetchData:()=>G(v),asPath:m?"/404":a,locale:o,router:this}).catch(e=>{if(f)return null;throw e});if(b&&("/_error"===t||"/404"===t)&&(b.effect=void 0),f&&(b?b.json=self.__NEXT_DATA__.props:b={json:self.__NEXT_DATA__.props}),d(),b?.effect?.type==="redirect-internal"||b?.effect?.type==="redirect-external")return b.effect;if(b?.effect?.type==="rewrite"){let r=(0,s.removeTrailingSlash)(b.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!f||o.includes(r))&&(g=r,t=b.effect.resolvedHref,n={...n,...b.effect.parsedAs.query},a=(0,T.removeBasePath)((0,p.normalizeLocalePath)(b.effect.parsedAs.pathname,this.locales).pathname),e=this.components[g],i.shallow&&e&&this.route===g&&!l))return{...e,route:g}}if((0,P.isAPIRoute)(g))return Y({url:r,router:this}),new Promise(()=>{});let S=y||await this.fetchComponent(g).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),E=b?.response?.headers.get("x-middleware-skip"),w=S.__N_SSG||S.__N_SSP;E&&b?.dataHref&&delete this.sdc[b.dataHref];let{props:k,cacheKey:R}=await this._getData(async()=>{if(w){if(b?.json&&!E)return{cacheKey:b.cacheKey,props:b.json};let e=b?.dataHref?b.dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:t,query:n}),asPath:a,locale:o}),r=await G({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:E?{}
4:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:c});return{cacheKey:r.cacheKey,props:r.json||{}}}return{headers:{},props:await this.getInitialProps(S.Component,{pathname:t,query:n,asPath:r,locale:o,locales:this.locales,defaultLocale:this.defaultLocale})}});return S.__N_SSP&&v.dataHref&&R&&delete this.sdc[R],this.isPreview||!S.__N_SSG||f||G(Object.assign({},v,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),k.pageProps=Object.assign({},k.pageProps),S.props=k,S.route=g,S.query=n,S.resolvedAs=a,this.components[g]=S,S}catch(e){return this.handleRouteInfoError((0,d.getProperError)(e),t,n,r,i)}}set(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,n]=this.asPath.split("#",2),[r,a]=e.split("#",2);return!!a&&t===r&&n===a||t===r&&n!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,D.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),n=document.getElementById(e);if(n)return void n.scrollIntoView();let r=document.getElementsByName(e)[0];r&&r.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,n={}){if("undefined"!=typeof window&&(0,A.isBot)(window.navigator.userAgent))return;let a=(0,y.parseRelativeUrl)(e),i=a.pathname,{pathname:o,query:l}=a,c=o,d=await this.pageLoader.getPageList(),f=t,p=void 0!==n.locale?n.locale||void 0:this.locale,h=await z({asPath:t,locale:p,router:this});if(t.startsWith("/")){let n;({__rewrites:n}=await (0,u.getClientBuildManifest)());let i=r((0,k.addBasePath)((0,E.addLocale)(t,this.locale),!0),d,n,a.query,e=>$(e,d),this.locales);if(i.externalDest)return;h||(f=(0,w.removeLocale)((0,T.removeBasePath)(i.asPath),this.locale)),i.matchedPage&&i.resolvedHref&&(a.pathname=o=i.resolvedHref,h||(e=(0,_.formatWithValidation)(a)))}a.pathname=$(a.pathname,d),(0,g.isDynamicRoute)(a.pathname)&&(o=a.pathname,a.pathname=o,Object.assign(l,(0,v.getRouteMatcher)((0,b.getRouteRegex)(a.pathname))((0,S.parsePath)(t).pathname)||{}),h||(e=(0,_.formatWithValidation)(a)));let m=await H({fetchData:()=>G({dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:c,query:l}),skipInterpolation:!0,asPath:f,locale:p}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:p,router:this});if(m?.effect.type==="rewrite"&&(a.pathname=m.effect.resolvedHref,o=m.effect.resolvedHref,l={...l,...m.effect.parsedAs.query},f=m.effect.parsedAs.pathname,e=(0,_.formatWithValidation)(a)),m?.effect.type==="redirect-external")return;let R=(0,s.removeTrailingSlash)(o);await this._bfl(t,f,n.locale,!0)&&(this.components[i]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(R).then(t=>!!t&&G({dataHref:m?.json?m?.dataHref:this.pageLoader.getDataHref({href:e,asPath:f,locale:p}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[n.priority?"loadPage":"prefetch"](R)])}async fetchComponent(e){let t=X({route:e,router:this});try{let n=await this.pageLoader.loadPage(e);return t(),n}catch(e){throw t(),e}}_getData(e){let t=!1,n=()=>{t=!0};return this.clc=n,e().then(e=>{if(n===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:n}=this.components["/_app"],r=this._wrapApp(n);return t.AppTree=r,(0,m.loadGetInitialProps)(n,{AppTree:r,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},833135,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}}),e.r(481258);let r=e.r(736752);e.r(28430);let a=e.r(340858);function i(e){function t(t){return(0,r.jsx)(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
4dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},340858,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={Router:function(){return l.default},createRouter:function(){return y},default:function(){return m},makePublicRouterInstance:function(){return v},useRouter:function(){return g},withRouter:function(){return c.default}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(481258),o=i._(e.r(28430)),l=i._(e.r(67427)),s=e.r(372670),u=i._(e.r(906858)),c=i._(e.r(833135)),d={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"undefined"!=typeof window&&this.readyCallbacks.push(e)}},f=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],p=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!d.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.router}Object.defineProperty(d,"events",{get:()=>l.default.events}),f.forEach(e=>{Object.defineProperty(d,e,{get:()=>h()[e]})}),p.forEach(e=>{d[e]=(...t)=>h()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{d.ready(()=>{l.default.events.on(e,(...t)=>{let n=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(d[n])try{d[n](...t)}catch(e){console.error(`Error when running the Router event: ${n}`),console.error((0,u.default)(e)?`${e.message} 5${e.stack}`:e+"")}})})});let m=d;function g(){let e=o.default.useContext(s.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function y(...e){return d.router=new l.default(...e),d.readyCallbacks.forEach(e=>e()),d.readyCallbacks=[],d.router}function v(e){let t={};for(let n of f){if("object"==typeof e[n]){t[n]=Object.assign(Array.isArray(e[n])?[]:{},e[n]);continue}t[n]=e[n]}return t.events=l.default.events,p.forEach(n=>{t[n]=(...t)=>e[n](...t)}),t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},883203,(e,t,n)=>{t.exports=e.r(340858)},617742,e=>{"use strict";let t,n,r,a,i,o,l,s,u,c,d,f,p,h,m,g,y,v,b,_,S,E,w,T,k;var R,x,P,C,N,O,I,A,M,L=e.i(75961),D=e.i(734094),U=e.i(745829);function j(e,t,n=[t],r="npm"){let a=e._metadata||{};a.sdk||(a.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:U.SDK_VERSION})),version:U.SDK_VERSION}),e._metadata=a}var z=e.i(731086),F=e.i(455304),B=e.i(198067),$=e.i(794916);let H=[];function W(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function q(e,t,n){if(n[t.name]){$.DEBUG_BUILD&&B.debug.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===H.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),H.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}$.DEBUG_BUILD&&B.debug.log(`Integration installed: ${t.name}`)}function G(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}var V=e.i(39398),Y=e.i(945433);let X=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/];function K(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:X],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Q(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return $.DEBUG_BUILD&&B.debug.error(`Cannot extract url for event ${(0,V.getEventDescription)(e)}`),null}}var J=e.i(957234);let Z=new WeakMap;var ee=e.i(995005);function et(e,t){let n=(0,ee.getFramesFromEvent)(e),r=(0,ee.getFramesFromEvent)(t);
5if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],a=n[e];if(t.filename!==a.filename||t.lineno!==a.lineno||t.colno!==a.colno||t.function!==a.function)return!1}return!0}function en(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch{return!1}}function er(e){return e.exception?.values?.[0]}var ea=e.i(465510),ei=e.i(480905),eo=e.i(989745),el=e.i(443537),es=e.i(558739),eu=e.i(53611),ec=e.i(247283),ed=e.i(145340),ef=e.i(923043),ep=e.i(742801),eh=e.i(501353),em=e.i(506101),eg=e.i(958787),ey=e.i(90816);let ev="Not capturing exception because it's already been captured.",eb="Discarded session because of missing or non-string release",e_=Symbol.for("SentryInternalError"),eS=Symbol.for("SentryDoNotSendEventError");function eE(e){return{message:e,[e_]:!0}}function ew(e){return{message:e,[eS]:!0}}function eT(e){return!!e&&"object"==typeof e&&e_ in e}function ek(e){return!!e&&"object"==typeof e&&eS in e}class eR{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,ea.makeDsn)(e.dsn):$.DEBUG_BUILD&&B.debug.warn("No DSN provided, client will not send events."),this._dsn){const t=function(e,t,n){let r,a,i;return t||`${r=e.protocol?`${e.protocol}:`:"",a=e.port?`:${e.port}`:"",`${r}//${e.host}${a}${e.path?`/${e.path}`:""}/api/`}${e.projectId}/envelope/?${i={sentry_version:"7"},e.publicKey&&(i.sentry_key=e.publicKey),n&&(i.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(i).toString()}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){let r=(0,V.uuid4)();if((0,V.checkOrSetAlreadyCaught)(e))return $.DEBUG_BUILD&&B.debug.log(ev),r;let a={event_id:r,...t};return this._process(this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n))),a.event_id}captureMessage(e,t,n,r){let a={event_id:(0,V.uuid4)(),...n},i=(0,ed.isParameterizedString)(e)?e:String(e),o=(0,ed.isPrimitive)(e)?this.eventFromMessage(i,t,a):this.eventFromException(e,a);return this._process(o.then(e=>this._captureEvent(e,a,r))),a.event_id}captureEvent(e,t,n){let r=(0,V.uuid4)();if(t?.originalException&&(0,V.checkOrSetAlreadyCaught)(t.originalException))return $.DEBUG_BUILD&&B.debug.log(ev),r;let a={event_id:r,...t},i=e.sdkProcessingMetadata||{},o=i.capturedSpanScope,l=i.capturedSpanIsolationScope;return this._process(this._captureEvent(e,a,o||n,l)),a.event_id}captureSession(e){this.sendSession(e),(0,el.updateSession)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
5return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):(0,eg.resolvedSyncPromise)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];q(this,e,this._integrations),t||W(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,eo.createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=(0,eu.addItemToEnvelope)(n,(0,eu.createAttachmentEnvelopeItem)(e));let r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let{release:t,environment:n=ei.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let r=e.attrs||{};if(!r.release&&!t){$.DEBUG_BUILD&&B.debug.warn(eb);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){$.DEBUG_BUILD&&B.debug.warn(eb);return}e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);let r=(0,eo.createSessionEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;$.DEBUG_BUILD&&B.debug.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>($.DEBUG_BUILD&&B.debug.error("Error while sending envelope:",e),e)):($.DEBUG_BUILD&&B.debug.error("Transport disabled"),(0,eg.resolvedSyncPromise)({}))}_setupIntegrations(){var e;let t,{integrations:n}=this._options;this._integrations=(e=this,t={},n.forEach(n=>{n&&q(e,n,t)}),t),W(this,n)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,a=t.exception?.values;if(a)for(let e of(r=!0,a)){let t=e.mechanism;if(t?.handled===!1){n=!0;break}}let i="ok"===e.status;(i&&0===e.errors||i&&n)&&((0,el.updateSession)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new eg.SyncPromise(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){let a=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i?.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,eh.prepareEvent)(a,e,t,n,this,r).then(e=>
5(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:(0,F.getTraceContextFromScope)(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,es.getDynamicSamplingContextFromScope)(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n=(0,F.getCurrentScope)(),r=(0,F.getIsolationScope)()){return $.DEBUG_BUILD&&ex(e)&&B.debug.log(`Captured error event \`${G(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{$.DEBUG_BUILD&&(ek(e)?B.debug.log(e.message):eT(e)?B.debug.warn(e.message):B.debug.warn(e))})}_processEvent(e,t,n,r){let a=this.getOptions(),{sampleRate:i}=a,o=eP(e),l=ex(e),s=e.type||"error",u=`before send for type \`${s}\``,c=void 0===i?void 0:(0,ep.parseSampleRate)(i);if(l&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error"),(0,eg.rejectedSyncPromise)(ew(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));let d="replay_event"===s?"replay":s;return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),ew("An event processor returned `null`, will not send event.");return t.data&&!0===t.data.__sentry__?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,ed.isThenable)(e))return e.then(e=>{if(!(0,ed.isPlainObject)(e)&&null!==e)throw eE(n);return e},e=>{throw eE(`${t} rejected with ${e}`)});if(!(0,ed.isPlainObject)(e)&&null!==e)throw eE(n);return e}(function(e,t,n,r){let{beforeSend:a,beforeSendTransaction:i,beforeSendSpan:o}=t,l=n;if(ex(l)&&a)return a(l,r);if(eP(l)){if(o){let e=o(function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:a,origin:i,data:o,op:l}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:l,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:a,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:o?.[ey.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:o?.[ey.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}(l));if(e)l=(0,ef.merge)(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[ey.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[ey.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements});else(0,em.showSpanDropWarning)();if(l.spans){let e=[];for(let t of l.spans){let n=o(t);n?e.push(n):((0,em.showSpanDropWarning)(),e.push(t))}l.spans=e}}if(i){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(l,r)}}return l}(0,a,e,t),u)}).then(a=>{if(null===a){if(this.recordDroppedEvent("before_send",d),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw ew(`${u} returned \`null\`, will not send event.`)}let i=n.getSession()||r.getSession();if(l&&i&&this._updateSessionFromEvent(i,a),o){let e=(a.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let s=a.transaction_info;return o&&s&&a.transaction!==e.transaction&&(a.transaction_info={...s,source:"custom"}),this.sendEvent(a,t),a}).then(null,e=>{if(ek(e)||eT(e))throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),eE(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 6Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;let t;$.DEBUG_BUILD&&B.debug.log("Flushing outcomes...");let n=this._clearOutcomes();if(0===n.length){$.DEBUG_BUILD&&B.debug.log("No outcomes to send");return}if(!this._dsn){$.DEBUG_BUILD&&B.debug.log("No dsn provided, will not send outcomes");return}$.DEBUG_BUILD&&B.debug.log("Sending outcomes:",n);let r=(e=this._options.tunnel&&(0,ea.dsnToString)(this._dsn),t=[{type:"client_report"},{timestamp:(0,ec.dateTimestampInSeconds)(),discarded_events:n}],(0,eu.createEnvelope)(e?{dsn:e}:{},[t]));this.sendEnvelope(r)}}function ex(e){return void 0===e.type}function eP(e){return"transaction"===e.type}var eC=e.i(670492);e.i(915188);var eN=e.i(365454);function eO(e,t){var n,r,a,i;let o,l=t??(i=e,eI().get(i))??[];if(0===l.length)return;let s=e.getOptions(),u=(n=s._metadata,r=s.tunnel,a=e.getDsn(),o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&a&&(o.dsn=(0,ea.dsnToString)(a)),(0,eu.createEnvelope)(o,[[{type:"log",item_count:l.length,content_type:"application/vnd.sentry.items.log+json"},{items:l}]]));eI().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(u)}function eI(){return(0,eC.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function eA(e){e.user?.ip_address===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}function eM(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var eL=e.i(897913);function eD(e,t){var n,r;let a,i,o=ej(e,t),l={type:(n=t,!(a=n?.name)&&eF(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":a),value:(r=t,i=r?.message,eF(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":i?i.error&&"string"==typeof i.error.message?i.error.message:i:"No error message")};return o.length&&(l.stacktrace={frames:o}),void 0===l.type&&""===l.value&&(l.value="Unrecoverable error caught"),l}function eU(e,t){return{exception:{values:[eD(e,t)]}}}function ej(e,t){var n,r;let a=t.stacktrace||t.stack||"",i=(n=t)&&ez.test(n.message)?1:0,o="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(a,i,o)}catch{}return[]}let ez=/Minified React error #\d+;/i;function eF(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function eB(e,t,n,r,a){let i;if((0,ed.isErrorEvent)(t)&&t.error)return eU(e,t.error);if((0,ed.isDOMError)(t)||(0,ed.isDOMException)(t)){if("stack"in t)i=eU(e,t);else{let a=t.name||((0,ed.isDOMError)(t)?"DOMError":"DOMException"),o=t.message?`${a}: ${t.message}`:a;i=e$(e,o,n,r),(0,V.addExceptionTypeValue)(i,o)}return"code"in t&&(i.tags={...i.tags,"DOMException.code":`${t.code}`}),i}return(0,ed.isError)(t)?eU(e,t):((0,ed.isPlainObject)(t)||(0,ed.isEvent)(t)?i=function(e,t,n,r){let a=(0,F.getClient)(),i=a?.getOptions().normalizeDepth,o=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),l={__serialized__:(0,eL.normalizeToSize)(t,i)};if(o)return{exception:{values:[eD(e,o)]},extra:l};let s={exception:{values:[{type:(0,ed.isEvent)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=(0,J.extractExceptionKeysForMessage)(e),r=t?"promise rejection":"exception";if((0,ed.isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,ed.isEvent)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:l};if(n){let t=ej(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}(e,t,n,a):(i=e$(e,t,n,r),(0,V.addExceptionTypeValue)(i,`${t}`,void 0)),(0,V.addExceptionMechanism)(i,{synthetic:!0}),i)}function e$(e,t,n,r){let a={};if(r&&n){let r=ej(e,n);r.length&&(a.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,V.addExceptionMechanism)(a,{synthetic:!0})}
6if((0,ed.isParameterizedString)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return a.logentry={message:e,params:n},a}return a.message=t,a}var eH=e.i(167230);let eW=D.GLOBAL_OBJ,eq=0;function eG(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)if("function"==typeof t)return t;else return e;if((0,J.getOriginalFunction)(e))return e}catch{return e}let n=function(...n){try{let r=n.map(e=>eG(e,t));return e.apply(this,r)}catch(e){throw eq++,setTimeout(()=>{eq--}),(0,F.withScope)(r=>{r.addEventProcessor(e=>(t.mechanism&&((0,V.addExceptionTypeValue)(e,void 0,void 0),(0,V.addExceptionMechanism)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,z.captureException)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}(0,J.markFunctionWrapped)(n,e),(0,J.addNonEnumerableProperty)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function eV(){let e=(0,eH.getLocationHref)(),{referrer:t}=eW.document||{},{userAgent:n}=eW.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}class eY extends eR{constructor(e){var t;const n=(t=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:eW.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t});j(n,"browser",["browser"],eW.SENTRY_SDK_SOURCE||"npm"),super(n);const{sendDefaultPii:r,sendClientReports:a,enableLogs:i,_experiments:o}=this._options,l=i??o?.enableLogs;eW.document&&(a||l)&&eW.document.addEventListener("visibilitychange",()=>{"hidden"===eW.document.visibilityState&&(a&&this._flushOutcomes(),l&&eO(this))}),l&&(this.on("flush",()=>{eO(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{eO(this)},5e3)})),r&&(this.on("postprocessEvent",eA),this.on("beforeSendSession",eM))}eventFromException(e,t){var n,r;let a;return n=this._options.stackParser,r=this._options.attachStacktrace,a=eB(n,e,t?.syntheticException||void 0,r),(0,V.addExceptionMechanism)(a),a.level="error",t?.event_id&&(a.event_id=t.event_id),(0,eg.resolvedSyncPromise)(a)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,a){let i=e$(e,t,r?.syntheticException||void 0,a);return i.level=n,r?.event_id&&(i.event_id=r.event_id),(0,eg.resolvedSyncPromise)(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}let eX={},eK={};function eQ(e,t){eX[e]=eX[e]||[],eX[e].push(t)}function eJ(e,t){if(!eK[e]){eK[e]=!0;try{t()}catch(t){$.DEBUG_BUILD&&B.debug.error(`Error while instrumenting ${e}`,t)}}}function eZ(e,t){let n=e&&eX[e];if(n)for(let r of n)try{r(t)}catch(t){$.DEBUG_BUILD&&B.debug.error(`Error while triggering instrumentation handler. 7Type: ${e} 8Name: ${(0,ee.getFunctionName)(r)} 9Error:`,t)}}function e0(){"console"in D.GLOBAL_OBJ&&B.CONSOLE_LEVELS.forEach(function(e){e in D.GLOBAL_OBJ.console&&(0,J.fill)(D.GLOBAL_OBJ.console,e,function(t){return B.originalConsoleMethods[e]=t,function(...t){eZ("console",{args:t,level:e});let n=B.originalConsoleMethods[e];n?.apply(D.GLOBAL_OBJ.console,t)}})})}let e1=D.GLOBAL_OBJ;function e2(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function e3(e,t){let n="fetch";eQ(n,e),eJ(n,()=>e4(void 0,t))}function e4(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in e1))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}())return!1;if(e2(e1.fetch))return!0;let e=!1,t=e1.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=e2(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){$.DEBUG_BUILD&&B.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&(0,J.fill)(D.GLOBAL_OBJ,"fetch",function(t){return function(...n){let r=Error(),{method:a,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:e7(t),method:e6(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:e7(t),method:e6(t,"method")?String(t.method).toUpperCase():"GET"}}(n),o={args:n,fetchData:{method:a,url:i},startTimestamp:1e3*(0,ec.timestampInSeconds)(),virtualError:r,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,ed.isRequest)(t))return new Headers(t.headers)}catch{}}(n)};return e||eZ("fetch",{...o}),t.apply(D.GLOBAL_OBJ,n).then(async t=>(e?e(t):eZ("fetch",{...o,endTimestamp:1e3*(0,ec.timestampInSeconds)(),response:t}),t),e=>{if(eZ("fetch",{...o,endTimestamp:1e3*(0,ec.timestampInSeconds)(),error:e}),(0,ed.isError)(e)&&void 0===e.stack&&(e.stack=r.stack,(0,J.addNonEnumerableProperty)(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(o.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}async function e5(e,t){if(e?.body){let n=e.body,r=n.getReader(),a=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),i=!0;for(;i;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:a}=await r.read();clearTimeout(e),a&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(e)}}clearTimeout(a),r.releaseLock(),n.cancel().then(null,()=>{})}}function e8(e){let t;try{t=e.clone()}catch{return}e5(t,()=>{eZ("fetch-body-resolved",{endTimestamp:1e3*(0,ec.timestampInSeconds)(),response:e})})}function e6(e,t){return!!e&&"object"==typeof e&&!!e[t]}function e7(e){return"string"==typeof e?e:e?e6(e,"url")?e.url:e.toString?e.toString():"":""}function e9(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function te(e,t){let n=(0,F.getClient)(),r=(0,F.getIsolationScope)();if(!n)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:i=100}=n.getOptions();if(i<=0)return;let o={timestamp:(0,ec.dateTimestampInSeconds)(),...e},l=a?(0,B.consoleSandbox)(()=>a(o,t)):o;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,i))}function tt(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function tn(e){return"isRelative"in e}function tr(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function ta(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function ti(e){return e.split(/[?#]/,1)[0]}let to=D.GLOBAL_OBJ;function tl(e){eQ("dom",e),eJ("dom",ts)}function ts(){if(!to.document)return;let e=eZ.bind(null,"dom"),t=tu(e,!0);to.document.addEventListener("click",t,!1),to.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=to[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,J.fill)(n,"addEventListener",function(t){return function(n,r,a){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=r[n]=r[n]||{refCount:0};if(!i.handler){let r=tu(e);i.handler=r,t.call(this,n,r,a)}i.refCount++}catch{}return t.call(this,n,r,a)}}),(0,J.fill)(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},a=n[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function tu(e,t=!1){return i=>{var o;if(!i||i._sentryCaptured)return;let l=function(e){try{return e.target}catch{return null}}(i);if(o=i.type,"keypress"===o&&(!l?.tagName||"INPUT"!==l.tagName&&"TEXTAREA"!==l.tagName&&!l.isContentEditable&&1))return;(0,J.addNonEnumerableProperty)(i,"_sentryCaptured",!0),l&&!l._sentryId&&(0,J.addNonEnumerableProperty)(l,"_sentryId",(0,V.uuid4)());
9let s="keypress"===i.type?"input":i.type;!function(e){if(e.type!==r)return!1;try{if(!e.target||e.target._sentryId!==a)return!1}catch{}return!0}(i)&&(e({event:i,name:s,global:t}),r=i.type,a=l?l._sentryId:void 0),clearTimeout(n),n=to.setTimeout(()=>{a=void 0,r=void 0},1e3)}}let tc="__sentry_xhr_v3__";function td(e){eQ("xhr",e),eJ("xhr",tf)}function tf(){if(!to.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),a=1e3*(0,ec.timestampInSeconds)(),i=(0,ed.isString)(n[0])?n[0].toUpperCase():void 0,o=function(e){if((0,ed.isString)(e))return e;try{return e.toString()}catch{}}(n[1]);if(!i||!o)return e.apply(t,n);t[tc]={method:i,url:o,request_headers:{}},"POST"===i&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let l=()=>{let e=t[tc];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}eZ("xhr",{endTimestamp:1e3*(0,ec.timestampInSeconds)(),startTimestamp:a,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(l(),e.apply(t,n))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,a]=n,i=t[tc];return i&&(0,ed.isString)(r)&&(0,ed.isString)(a)&&(i.request_headers[r.toLowerCase()]=a),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[tc];return r&&(void 0!==n[0]&&(r.body=n[0]),eZ("xhr",{startTimestamp:1e3*(0,ec.timestampInSeconds)(),xhr:t})),e.apply(t,n)}})}function tp(e){let t="history";eQ(t,e),eJ(t,th)}function th(){function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=i,a=function(e){try{return new URL(e,to.location.origin).toString()}catch{return e}}(String(n));if(i=a,r===a)return e.apply(this,t);eZ("history",{from:r,to:a})}return e.apply(this,t)}}to.addEventListener("popstate",()=>{let e=to.location.href,t=i;i=e,t===e||eZ("history",{from:t,to:e})}),"history"in e1&&e1.history&&((0,J.fill)(to.history,"pushState",e),(0,J.fill)(to.history,"replaceState",e))}let tm="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tg=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];function ty(e){return function(...t){let n=t[0];return t[0]=eG(n,{mechanism:{data:{function:(0,ee.getFunctionName)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function tv(e){return function(t){return e.apply(this,[eG(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,ee.getFunctionName)(e)},handled:!1,type:"instrument"}})])}}function tb(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,J.fill)(n,e,function(t){let n={mechanism:{data:{function:e,handler:(0,ee.getFunctionName)(t)},handled:!1,type:"instrument"}},r=(0,J.getOriginalFunction)(t);return r&&(n.mechanism.data.handler=(0,ee.getFunctionName)(r)),eG(t,n)})}),e.apply(this,t)}}let t_=null;function tS(e){let t="error";eQ(t,e),eJ(t,tE)}function tE(){t_=D.GLOBAL_OBJ.onerror,D.GLOBAL_OBJ.onerror=function(e,t,n,r,a){return eZ("error",{column:r,error:a,line:n,msg:e,url:t}),!!t_&&t_.apply(this,arguments)},D.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}let tw=null;function tT(e){let t="unhandledrejection";eQ(t,e),eJ(t,tk)}function tk(){tw=D.GLOBAL_OBJ.onunhandledrejection,D.GLOBAL_OBJ.onunhandledrejection=function(e){return eZ("unhandledrejection",e),!tw||tw.apply(this,arguments)},D.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function tR(e){tm&&B.debug.log(`Global Handler attached: ${e}`)}function tx(){let e=(0,F.getClient)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function tP(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0}
9,exception_id:t}}function tC(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function tN(e,t,n,r){let a={filename:e,function:"<anonymous>"===t?ee.UNKNOWN_FUNCTION:t,in_app:!0};return void 0!==n&&(a.lineno=n),void 0!==r&&(a.colno=r),a}let tO=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tI=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tA=/\((\S*)(?::(\d+))(?::(\d+))\)/,tM=[30,e=>{let t=tO.exec(e);if(t){let[,e,n,r]=t;return tN(e,ee.UNKNOWN_FUNCTION,+n,+r)}let n=tI.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=tA.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=tz(n[1]||ee.UNKNOWN_FUNCTION,n[2]);return tN(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],tL=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tD=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tU=[50,e=>{let t=tL.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=tD.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||ee.UNKNOWN_FUNCTION;return[n,e]=tz(n,e),tN(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],tj=(0,ee.createStackParser)(tM,tU),tz=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:ee.UNKNOWN_FUNCTION,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},tF=Symbol.for("SentryBufferFullError");function tB(e,t,n=Date.now()){return(e[t]||e.all||0)>n}function t$(e,{statusCode:t,headers:n},r=Date.now()){let a={...e},i=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(i)for(let e of i.trim().split(",")){let[t,n,,,i]=e.split(":",5),o=parseInt(t,10),l=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!i||i.split(";").includes("custom"))&&(a[e]=r+l):a[e]=r+l;else a.all=r+l}else o?a.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(o,r):429===t&&(a.all=r+6e4);return a}let tH="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tW={};function tq(e){let t=tW[e];if(t)return t;let n=to[e];if(e2(n))return tW[e]=n.bind(to);let r=to.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let a=t.contentWindow;a?.[e]&&(n=a[e]),r.head.removeChild(t)}catch(t){tH&&B.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?tW[e]=n.bind(to):n}function tG(...e){return tq("setTimeout")(...e)}function tV(e,t=tq("fetch")){let n=0,r=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,eg.rejectedSyncPromise)(tF);let a=r();return -1===t.indexOf(a)&&t.push(a),a.then(()=>n(a)).then(null,()=>n(a).then(null,()=>{})),a},drain:function(e){return new eg.SyncPromise((n,r)=>{let a=t.length;if(!a)return n(!0);let i=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{(0,eg.resolvedSyncPromise)(e).then(()=>{--a||(clearTimeout(i),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(a){let i=[];if((0,eu.forEachEnvelopeItem)(a,(t,n)=>{let a=(0,eu.envelopeItemTypeToDataCategory)(n);tB(r,a)?e.recordDroppedEvent("ratelimit_backoff",a):i.push(t)}),0===i.length)return(0,eg.resolvedSyncPromise)({});let o=(0,eu.createEnvelope)(a[0],i),l=t=>{(0,eu.forEachEnvelopeItem)(o,(n,r)=>{e.recordDroppedEvent(t,(0,eu.envelopeItemTypeToDataCategory)(r))})};return n.add(()=>t({body:(0,eu.serializeEnvelope)(o)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&$.DEBUG_BUILD&&B.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=t$(r,e),e),e=>{throw l("network_error"),$.DEBUG_BUILD&&B.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===tF)return $.DEBUG_BUILD&&B.debug.error("Skipped sending event because buffer is full."),l("queue_overflow"),(0,eg.resolvedSyncPromise)({});throw e})},flush:e=>n.drain(e)}}(e,function(a){let i=a.body.length;n+=i,r++;
9let o={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return tW.fetch=void 0,(0,eg.rejectedSyncPromise)("No fetch implementation available");try{return t(e.url,o).then(e=>(n-=i,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return tW.fetch=void 0,n-=i,r--,(0,eg.rejectedSyncPromise)(e)}})}function tY(e){let n;return[((e={})=>({...((e={})=>{let t;return{name:"EventFilters",setup(n){t=K(e,n.getOptions())},processEvent:(n,r,a)=>(t||(t=K(e,a.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&(0,Y.stringMatchesSomePattern)(n,t)}(e,t.ignoreTransactions))return $.DEBUG_BUILD&&B.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 10Event: ${(0,V.getEventDescription)(e)}`),!0}else{var n,r,a;if(n=e,r=t.ignoreErrors,r?.length&&G(n).some(e=>(0,Y.stringMatchesSomePattern)(e,r)))return $.DEBUG_BUILD&&B.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 11Event: ${(0,V.getEventDescription)(e)}`),!0;if(a=e,a.exception?.values?.length&&!a.message&&!a.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return $.DEBUG_BUILD&&B.debug.warn(`Event dropped due to not having an error message, error type or stacktrace. 12Event: ${(0,V.getEventDescription)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=Q(e);return!!n&&(0,Y.stringMatchesSomePattern)(n,t)}(e,t.denyUrls))return $.DEBUG_BUILD&&B.debug.warn(`Event dropped due to being matched by \`denyUrls\` option. 13Event: ${(0,V.getEventDescription)(e)}. 14Url: ${Q(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=Q(e);return!n||(0,Y.stringMatchesSomePattern)(n,t)}(e,t.allowUrls))return $.DEBUG_BUILD&&B.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option. 15Event: ${(0,V.getEventDescription)(e)}. 16Url: ${Q(e)}`),!0}return!1}(n,t)?n:null)}})(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){t=Function.prototype.toString;try{Function.prototype.toString=function(...e){let n=(0,J.getOriginalFunction)(this),r=Z.has((0,F.getClient)())&&void 0!==n?n:this;return t.apply(r,e)}}catch{}},setup(e){Z.set(e,!0)}},((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,J.fill)(eW,"setTimeout",ty),t.setInterval&&(0,J.fill)(eW,"setInterval",ty),t.requestAnimationFrame&&(0,J.fill)(eW,"requestAnimationFrame",tv),t.XMLHttpRequest&&"XMLHttpRequest"in eW&&(0,J.fill)(XMLHttpRequest.prototype,"send",tb);let e=t.eventTarget;e&&(Array.isArray(e)?e:tg).forEach(e=>{var n,r;let a;return n=e,r=t,a=eW[n]?.prototype,void(a?.hasOwnProperty?.("addEventListener")&&((0,J.fill)(a,"addEventListener",function(e){return function(t,a,i){var o,l,s,u;try{o=a,"function"==typeof o.handleEvent&&(a.handleEvent=eG(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,ee.getFunctionName)(a),target:n},handled:!1,type:"instrument"}}))}catch{}return r.unregisterOriginalCallbacks&&(l=this,s=t,u=a,l&&"object"==typeof l&&"removeEventListener"in l&&"function"==typeof l.removeEventListener&&l.removeEventListener(s,u)),e.apply(this,[t,eG(a,{mechanism:{data:{function:"addEventListener",handler:(0,ee.getFunctionName)(a),target:n},handled:!1,type:"instrument"}}),i])}}),(0,J.fill)(a,"removeEventListener",function(e){return function(t,n,r){try{let a=n.__sentry_wrapped__;a&&e.call(this,t,a,r)}catch{}return e.call(this,t,n,r)}})))})}}})(),((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,r,a,i,o,l,s;let u;t.console&&(n=e,eQ(u="console",function(e){if((0,F.getClient)()!==n)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:e9(e.level),message:(0,Y.safeJoin)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,Y.safeJoin)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);te(t,{input:e.args,level:e.level})}
16),eJ(u,e0)),t.dom&&tl((r=e,a=t.dom,function(e){let t,n;if((0,F.getClient)()!==r)return;let i="object"==typeof a?a.serializeAttribute:void 0,o="object"==typeof a&&"number"==typeof a.maxStringLength?a.maxStringLength:void 0;o&&o>1024&&(tm&&B.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof i&&(i=[i]);try{var l;let r=e.event,a=(l=r)&&l.target?r.target:r;t=(0,eH.htmlTreeAsString)(a,{keyAttrs:i,maxStringLength:o}),n=(0,eH.getComponentName)(a)}catch{t="<unknown>"}if(0===t.length)return;let s={category:`ui.${e.name}`,message:t};n&&(s.data={"ui.component_name":n}),te(s,{event:e.event,name:e.name,global:e.global})})),t.xhr&&td((i=e,function(e){if((0,F.getClient)()!==i)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[tc];if(!t||!n||!r)return;let{method:a,url:o,status_code:l,body:s}=r,u={xhr:e.xhr,input:s,startTimestamp:t,endTimestamp:n},c={category:"xhr",data:{method:a,url:o,status_code:l},type:"http",level:tt(l)};i.emit("beforeOutgoingRequestBreadcrumb",c,u),te(c,u)})),t.fetch&&e3((o=e,function(e){if((0,F.getClient)()!==o)return;let{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.fetchData.method,e.fetchData.url,e.error){let r=e.fetchData,a={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},i={category:"fetch",data:r,level:"error",type:"http"};o.emit("beforeOutgoingRequestBreadcrumb",i,a),te(i,a)}else{let r=e.response,a={...e.fetchData,status_code:r?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,r?.status;let i={input:e.args,response:r,startTimestamp:t,endTimestamp:n},l={category:"fetch",data:a,type:"http",level:tt(a.status_code)};o.emit("beforeOutgoingRequestBreadcrumb",l,i),te(l,i)}})),t.history&&tp((l=e,function(e){if((0,F.getClient)()!==l)return;let t=e.from,n=e.to,r=ta(eW.location.href),a=t?ta(t):void 0,i=ta(n);a?.path||(a=r),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),r.protocol===a.protocol&&r.host===a.host&&(t=a.relative),te({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(s=e,function(e){(0,F.getClient)()===s&&te({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,V.getEventDescription)(e)},{event:e})}))}}})(),((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var n,r;t.onerror&&(n=e,tS(e=>{var t,r,a,i;let o,l,s,u,c,d,{stackParser:f,attachStacktrace:p}=tx();if((0,F.getClient)()!==n||eq>0)return;let{msg:h,url:m,line:g,column:y,error:v}=e,b=(t=eB(f,v||h,void 0,p,!1),r=m,a=g,i=y,c=(u=(s=(l=(o=t.exception=t.exception||{}).values=o.values||[])[0]=l[0]||{}).stacktrace=s.stacktrace||{}).frames=u.frames||[],d=(0,ed.isString)(r)&&r.length>0?r:(0,eH.getLocationHref)(),0===c.length&&c.push({colno:i,filename:d,function:ee.UNKNOWN_FUNCTION,in_app:!0,lineno:a}),t);b.level="error",(0,z.captureEvent)(b,{originalException:v,mechanism:{handled:!1,type:"onerror"}})}),tR("onerror")),t.onunhandledrejection&&(r=e,tT(e=>{var t;let{stackParser:n,attachStacktrace:a}=tx();if((0,F.getClient)()!==r||eq>0)return;let i=function(e){if((0,ed.isPrimitive)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(e),o=(0,ed.isPrimitive)(i)?(t=i,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):eB(n,i,void 0,a,!0);o.level="error",(0,z.captureEvent)(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}),tR("onunhandledrejection"))}}})(),((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,a){!function(e,t,n,r,a,i){if(!a.exception?.values||!i||!(0,ed.isInstanceOf)(i.originalException,Error))return;let o=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;o&&(a.exception.values=function e(t,n,r,a,i,o,l,s){if(o.length>=r+1)return o;let u=[...o];if((0,ed.isInstanceOf)(a[i],Error)){tP(l,s);let o=t(n,a[i]),c=u.length;tC(o,i,c,s),u=e(t,n,r,a[i],i,[o,...u],o,c)}
16return Array.isArray(a.errors)&&a.errors.forEach((a,o)=>{if((0,ed.isInstanceOf)(a,Error)){tP(l,s);let c=t(n,a),d=u.length;tC(c,`errors[${o}]`,d,s),u=e(t,n,r,a,i,[c,...u],c,d)}}),u}(e,t,r,i.originalException,n,a.exception.values,o,0))}(eD,a.getOptions().stackParser,n,t,e,r)}}})(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var t,r,a,i,o,l;let s,u,c,d;if(t=e,(r=n)&&(a=t,i=r,s=a.message,u=i.message,(s||u)&&(!s||u)&&(s||!u)&&s===u&&en(a,i)&&et(a,i)&&1||(o=t,l=r,c=er(l),d=er(o),c&&d&&c.type===d.type&&c.value===d.value&&en(o,l)&&et(o,l))))return $.DEBUG_BUILD&&B.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return n=e}},{name:"HttpContext",preprocessEvent(e){if(!eW.navigator&&!eW.location&&!eW.document)return;let t=eV(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}},{name:"BrowserSession",setupOnce(){if(void 0===eW.document){tm&&B.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,z.startSession)({ignoreDuration:!0}),(0,z.captureSession)(),tp(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,z.startSession)({ignoreDuration:!0}),(0,z.captureSession)())})}}]}var tX=e.i(28430),tK=e.i(824193),tQ=e.i(622075),tJ=e.i(395051),tZ=e.i(862820),t0=e.i(477508);let t1={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function t2(e,t={}){var n;let r,a,i=new Map,o=!1,l="externalFinish",s=!t.disableAutoFinish,u=[],{idleTimeout:c=t1.idleTimeout,finalTimeout:d=t1.finalTimeout,childSpanTimeout:f=t1.childSpanTimeout,beforeSpanEnd:p}=t,h=(0,F.getClient)();if(!h||!(0,tK.hasSpansEnabled)()){let e=new tQ.SentryNonRecordingSpan,t={sample_rate:"0",sampled:"false",...(0,es.getDynamicSamplingContextFromSpan)(e)};return(0,es.freezeDscOnSpan)(e,t),e}let m=(0,F.getCurrentScope)(),g=(0,em.getActiveSpan)(),y=(n=e,r=(0,t0.startInactiveSpan)(n),(0,eN._setSpanForScope)((0,F.getCurrentScope)(),r),$.DEBUG_BUILD&&B.debug.log("[Tracing] Started span is an idle span"),r);function v(){a&&(clearTimeout(a),a=void 0)}function b(e){v(),a=setTimeout(()=>{!o&&0===i.size&&s&&(l="idleTimeout",y.end(e))},c)}function _(e){a=setTimeout(()=>{!o&&s&&(l="heartbeatFailed",y.end(e))},f)}function S(e){o=!0,i.clear(),u.forEach(e=>e()),(0,eN._setSpanForScope)(m,g);let t=(0,em.spanToJSON)(y),{start_timestamp:n}=t;if(!n)return;t.data[ey.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||y.setAttribute(ey.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,l),B.debug.log(`[Tracing] Idle span "${t.op}" finished`);let r=(0,em.getSpanDescendants)(y).filter(e=>e!==y),a=0;r.forEach(t=>{t.isRecording()&&(t.setStatus({code:tZ.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),$.DEBUG_BUILD&&B.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,em.spanToJSON)(t),i=r<=e,o=n-r<=(d+c)/1e3;if($.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);i?o||B.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):B.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!o||!i)&&((0,em.removeChildSpanFromSpan)(y,t),a++)}),a>0&&y.setAttribute("sentry.idle_span_discarded_spans",a)}return y.end=new Proxy(y.end,{apply(e,t,n){if(p&&p(y),t instanceof tQ.SentryNonRecordingSpan)return;let[r,...a]=n,i=r||(0,ec.timestampInSeconds)(),o=(0,em.spanTimeInputToSeconds)(i),l=(0,em.getSpanDescendants)(y).filter(e=>e!==y);if(!l.length)return S(o),Reflect.apply(e,t,[o,...a]);let s=l.map(e=>(0,em.spanToJSON)(e).timestamp).filter(e=>!!e),u=s.length?Math.max(...s):void 0,c=(0,em.spanToJSON)(y).start_timestamp,f=Math.min(c?c+d/1e3:1/0,Math.max(c||-1/0,Math.min(o,u||1/0)));return S(f),Reflect.apply(e,t,[f,...a])}}),u.push(h.on("spanStart",e=>{var t;!(o||e===y||(0,em.spanToJSON)(e).timestamp||e instanceof tJ.SentrySpan&&e.isStandaloneSpan())&&(0,em.getSpanDescendants)(y).includes(e)&&(t=e.spanContext().spanId,v(),i.set(t,!0),_((0,ec.timestampInSeconds)()+f/1e3))})),u.push(h.on("spanEnd",e=>{if(!o){var t;t=e.spanContext().spanId,i.has(t)&&i.delete(t),0===i.size&&b((0,ec.timestampInSeconds)()+c/1e3)}})),u.push(h.on("idleSpanEnableAutoFinish",e=>{e===y&&(s=!0,b(),i.size&&_())})),t.disableAutoFinish||b(),setTimeout(()=>{o||(y.setStatus({code:tZ.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),l="finalTimeout",y.end())},d),y}let t3=!1;var t4=e.i(286716),t5=e.i(894417);let t8=(e,t,n,r)=>{let a,i;return o=>{if(t.value>=0&&(o||r)&&((i=t.value-(a??0))||void 0===a)){var l;a=t.value,t.delta=i,l=t.value,t.rating=l>n[1]?"poor":l>n[0]?"needs-improvement":"good",e(t)}}},t6=(e=!0)=>{let t=to.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},t7=()=>{let e=t6();return e?.activationStart??0},t9=(e,t=-1)=>{let n=t6(),r="navigate";return n&&(to.document?.prerendering||t7()>0?r="prerender":to.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:r}},ne=new WeakMap;function nt(e,t){return ne.get(e)||ne.set(e,new t),ne.get(e)}class nn{constructor(){nn.prototype.__init.call(this),nn.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let nr=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},na=e=>{let t=!1;return()=>{t||(e(),t=!0)}},ni=-1,no=e=>{"hidden"===to.document.visibilityState&&ni>-1&&(ni="visibilitychange"===e.type?e.timeStamp:0,nl())},nl=()=>{removeEventListener("visibilitychange",no,!0),removeEventListener("prerenderingchange",no,!0)},ns=()=>
16{if(to.document&&ni<0){let e=t7();ni=(to.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(to.document?.visibilityState!=="hidden"||to.document?.prerendering?1/0:0),addEventListener("visibilitychange",no,!0),addEventListener("prerenderingchange",no,!0)}return{get firstHiddenTime(){return ni}}},nu=e=>{to.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},nc=[1800,3e3],nd=[.1,.25],nf=e=>{let t=t=>{("pagehide"===t.type||to.document?.visibilityState==="hidden")&&e(t)};to.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},np=[100,300],nh=0,nm=1/0,ng=0,ny=e=>{e.forEach(e=>{e.interactionId&&(nm=Math.min(nm,e.interactionId),nh=(ng=Math.max(ng,e.interactionId))?(ng-nm)/7+1:0)})},nv=()=>o?nh:performance.interactionCount||0,nb=0;class n_{constructor(){n_.prototype.__init.call(this),n_.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){nb=nv(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((nv()-nb)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(n)}}}let nS=e=>{let t=to.requestIdleCallback||to.setTimeout;to.document?.visibilityState==="hidden"?e():(t(e=na(e)),nf(e))},nE=[200,500];class nw{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let nT=[2500,4e3],nk=[800,1800],nR=e=>{to.document?.prerendering?nu(()=>nR(e)):to.document?.readyState!=="complete"?addEventListener("load",()=>nR(e),!0):setTimeout(e)},nx={},nP={};function nC(e,t=!1){return nF("cls",e,nL,l,t)}function nN(e,t=!1){return nF("lcp",e,nU,u,t)}function nO(e){return nF("fid",e,nD,s)}function nI(e){return nF("inp",e,nz,d)}function nA(e,t){var n;let r;return nB(e,t),nP[e]||(r={},"event"===(n=e)&&(r.durationThreshold=0),nr(n,e=>{nM(n,{entries:e})},r),nP[e]=!0),n$(e,t)}function nM(e,t){let n=nx[e];if(n?.length)for(let r of n)try{r(t)}catch(t){tH&&B.debug.error(`Error while triggering instrumentation handler. 17Type: ${e} 18Name: ${(0,ee.getFunctionName)(r)} 19Error:`,t)}}function nL(){return((e,t={})=>{((e,t={})=>{nu(()=>{let n,r=ns(),a=t9("FCP"),i=nr("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(i.disconnect(),t.startTime<r.firstHiddenTime&&(a.value=Math.max(t.startTime-t7(),0),a.entries.push(t),n(!0)))});i&&(n=t8(e,a,nc,t.reportAllChanges))})})(na(()=>{let n,r=t9("CLS",0),a=nt(t,nn),i=e=>{for(let t of e)a._processEntry(t);a._sessionValue>r.value&&(r.value=a._sessionValue,r.entries=a._sessionEntries,n())},o=nr("layout-shift",i);o&&(n=t8(e,r,nd,t.reportAllChanges),to.document?.addEventListener("visibilitychange",()=>{to.document?.visibilityState==="hidden"&&(i(o.takeRecords()),n(!0))}),to?.setTimeout?.(n))}))})(e=>{nM("cls",{metric:e}),l=e},{reportAllChanges:!0})}function nD(){return((e,t={})=>{nu(()=>{let n,r=ns(),a=t9("FID"),i=e=>{e.startTime<r.firstHiddenTime&&(a.value=e.processingStart-e.startTime,a.entries.push(e),n(!0))},o=e=>{e.forEach(i)},l=nr("first-input",o);n=t8(e,a,np,t.reportAllChanges),l&&nf(na(()=>{o(l.takeRecords()),l.disconnect()}))})})(e=>{nM("fid",{metric:e}),s=e})}function nU(){return((e,t={})=>{nu(()=>{let n,r=ns(),a=t9("LCP"),i=nt(t,nw),o=e=>{for(let o of(t.reportAllChanges||(e=e.slice(-1)),e))i._processEntry(o),o.startTime<r.firstHiddenTime&&(a.value=Math.max(o.startTime-t7(),0),a.entries=[o],n())},l=nr("largest-contentful-paint",o);if(l){n=t8(e,a,nT,t.reportAllChanges);let r=na(()=>{o(l.takeRecords()),l.disconnect(),n(!0)});for(let e of["keydown","click","visibilitychange"])to.document&&addEventListener(e,()=>nS(r),{capture:!0,once:!0})}})})(e=>{nM("lcp",{metric:e}),u=e},{reportAllChanges:!0})}function nj(){return((e,t={})=>{let n=t9("TTFB"),r=t8(e,n,nk,t.reportAllChanges);nR(()=>{let e=t6();e&&(n.value=Math.max(e.responseStart-t7(),0),n.entries=[e],r(!0))})})(e=>{nM("ttfb",{metric:e}),c=e})}function nz(){return((e,t={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&nu(()=>{let n;"interactionCount"in performance||o||(o=nr("event",ny,{type:"event",buffered:!0,durationThreshold:0}));let r=t9("INP"),a=nt(t,n_),i=e=>{nS(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,n())})},l=nr("event",i,{durationThreshold:t.durationThreshold??40});n=t8(e,r,nE,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),nf(()=>{i(l.takeRecords()),n(!0)}))})})(e=>{nM("inp",{metric:e}),d=e})}function nF(e,t,n,r,a=!1){let i;return nB(e,t),nP[e]||(i=n(),nP[e]=!0),r&&t({metric:r}),n$(e,t,a?i:void 0)}function nB(e,t){nx[e]=nx[e]||[],nx[e].push(t)}function n$(e,t,n){return()=>{n&&n();let r=nx[e];if(!r)return;let a=r.indexOf(t);-1!==a&&r.splice(a,1)}}function nH(e){return"number"==typeof e&&isFinite(e)}function nW(e,t,n,{...r}){let a=(0,em.spanToJSON)(e).start_timestamp;return a&&a>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),(0,t0.withActiveSpan)(e,()=>{let e=(0,t0.startInactiveSpan)({startTime:t,...r});return e&&e.end(n),e})}function nq(e){let t,n=(0,F.getClient)();if(!n)return;let{name:r,transaction:a,attributes:i,startTime:o}=e,{release:l,environment:s,sendDefaultPii:u}=n.getOptions(),c=n.getIntegrationByName("Replay"),d=c?.getReplayId(),f=(0,F.getCurrentScope)(),p=f.getUser(),h=void 0!==p?p.email||p.id||p.ip_address:void 0;try{t=f.getScopeData().contexts.profile.profile_id}catch{}let m={release:l,environment:s,user:h||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:a,"user_agent.original":to.navigator?.userAgent,"client.address":u?"{{auto}}":void 0,...i};return(0,t0.startInactiveSpan)({name:r,attributes:m,startTime:o,experimental:{standalone:!0}})}function nG(){return to.addEventListener&&to.performance}function nV(e){return e/1e3}function nY(e){let t="unknown",n="unknown",r="";for(let a of e){if("/"===a){[t,n]=e.split("/");break}if(!isNaN(Number(a))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=a}
19return r===e&&(t=r),{name:t,version:n}}function nX(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function nK(e,t){let n,r=!1;function a(e){!r&&n&&t(e,n),r=!0}nf(()=>{a("pagehide")});let i=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(a("navigation"),i?.(),o?.())}),o=e.on("afterStartPageLoadSpan",e=>{n=e.spanContext().spanId,o?.()})}let nQ=[],nJ=new Map,nZ={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},n0=({metric:e})=>{if(void 0==e.value)return;let t=nV(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&nZ[t.name]);if(!n)return;let{interactionId:r}=n,a=nZ[n.name],i=nV((0,ec.browserPerformanceTimeOrigin)()+n.startTime),o=(0,em.getActiveSpan)(),l=o?(0,em.getRootSpan)(o):void 0,s=(null!=r?nJ.get(r):void 0)||l,u=s?(0,em.spanToJSON)(s).description:(0,F.getCurrentScope)().getScopeData().transactionName,c=nq({name:(0,eH.htmlTreeAsString)(n.target),transaction:u,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${a}`,[ey.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:n.duration},startTime:i});c&&(c.addEvent("inp",{[ey.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[ey.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e.value}),c.end(i+t))};var n1=e.i(104489);let n2=0,n3={};function n4(e,t,n,r,a=n){var i;let o=t["secureConnection"===(i=n)?"connectEnd":"fetch"===i?"domainLookupStart":`${i}End`],l=t[`${n}Start`];l&&o&&nW(e,r+nV(l),r+nV(o),{op:`browser.${a}`,name:t.name,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}function n5(e,t,n,r){let a=t[n];null!=a&&a<0x7fffffff&&(e[r]=a)}let n8=({entries:e})=>{let t=(0,em.getActiveSpan)(),n=t?(0,em.getRootSpan)(t):void 0,r=n?(0,em.spanToJSON)(n).description:(0,F.getCurrentScope)().getScopeData().transactionName;e.forEach(e=>{if(!e.identifier)return;let t=e.name,n=e.renderTime,a=e.loadTime,[i,o]=a?[nV(a),"load-time"]:n?[nV(n),"render-time"]:[(0,ec.timestampInSeconds)(),"entry-emission"],l="image-paint"===t?nV(Math.max(0,(n??0)-(a??0))):0,s={[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.elementtiming",[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.elementtiming",[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"component","sentry.span_start_time_source":o,"sentry.transaction_name":r,"element.id":e.id,"element.type":e.element?.tagName?.toLowerCase()||"unknown","element.size":e.naturalWidth&&e.naturalHeight?`${e.naturalWidth}x${e.naturalHeight}`:void 0,"element.render_time":n,"element.load_time":a,"element.url":e.url||void 0,"element.identifier":e.identifier,"element.paint_type":t};(0,t0.startSpan)({name:`element[${e.identifier}]`,attributes:s,startTime:i,onlyIfParent:!0},e=>{e.end(i+l)})})},n6="sentry_previous_trace";function n7(e){return 1===e.traceFlags}var n9=e.i(692594),re=e.i(130311);function rt(e={}){let t=e.client||(0,F.getClient)();if(!(0,z.isEnabled)()||!t)return{};let n=(0,eC.getMainCarrier)(),r=(0,re.getAsyncContextStrategy)(n);if(r.getTraceData)return r.getTraceData(e);let a=e.scope||(0,F.getCurrentScope)(),i=e.span||(0,em.getActiveSpan)(),o=i?(0,em.spanToTraceHeader)(i):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,t5.generateSentryTraceHeader)(t,r,n)}(a),l=i?(0,es.getDynamicSamplingContextFromSpan)(i):(0,es.getDynamicSamplingContextFromScope)(t,a),s=(0,n9.dynamicSamplingContextToSentryBaggageHeader)(l);return t5.TRACEPARENT_REGEXP.test(o)?{"sentry-trace":o,baggage:s}:(B.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function rn(e){return e.split(",").some(e=>e.trim().startsWith(n9.SENTRY_BAGGAGE_KEY_PREFIX))}function rr(e=0){return(((0,ec.browserPerformanceTimeOrigin)()||performance.timeOrigin)+e)/1e3}let ra=new WeakMap,ri=new Map,ro={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function rl(e){let{url:t}=(0,em.spanToJSON)(e).data;if(!t||"string"!=typeof t)return;let n=nA("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(t)&&((function(e){let t=[];if(void 0!=e.nextHopProtocol){let{name:n,version:r}=nY(e.nextHopProtocol);t.push(["network.protocol.version",r],["network.protocol.name",n])}return(0,ec.browserPerformanceTimeOrigin)()?[...t,["http.request.redirect_start",rr(e.redirectStart)],["http.request.fetch_start",rr(e.fetchStart)],["http.request.domain_lookup_start",rr(e.domainLookupStart)],["http.request.domain_lookup_end",rr(e.domainLookupEnd)],["http.request.connect_start",rr(e.connectStart)],["http.request.secure_connection_start",rr(e.secureConnectionStart)],["http.request.connection_end",rr(e.connectEnd)],["http.request.request_start",rr(e.requestStart)],["http.request.response_start",rr(e.responseStart)],["http.request.response_end",rr(e.responseEnd)]]:t})(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function rs(e){try{return new URL(e,eW.location.origin).href}catch{return}}let ru={...t1,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
19dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,_experiments:{},...ro};function rc(e,t,n){e.emit("startPageLoadSpan",t,n),(0,F.getCurrentScope)().setTransactionName(t.name);let r=e[rp];return r&&e.emit("afterStartPageLoadSpan",r),r}function rd(e,t,n){let{url:r,isRedirect:a}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:a}),e.emit("startNavigationSpan",t,{isRedirect:a});let i=(0,F.getCurrentScope)();return i.setTransactionName(t.name),r&&!a&&i.setSDKProcessingMetadata({normalizedRequest:{...eV(),url:r}}),e[rp]}function rf(e){let t=eW.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}let rp="_sentry_idleSpan";function rh(e,t){(0,J.addNonEnumerableProperty)(e,rp,t)}let rm="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,rg=D.GLOBAL_OBJ,ry=null,rv=new Map,rb=new Map;function r_(e){let t=e.split("/").filter(Boolean),n=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?n+=1e3:t.endsWith("*")?n+=100:n+=10}return n}let rS=e=>{let t=function(){if(!rg?._sentryRouteManifest||"string"!=typeof rg._sentryRouteManifest)return null;let e=rg._sentryRouteManifest;if(ry&&_===e)return ry;rv.clear(),rb.clear();let t={staticRoutes:[],dynamicRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return ry=t,_=e,t}catch{return rm&&B.debug.warn("Could not extract route manifest"),null}}();if(!t)return;if(rb.has(e))return rb.get(e);let{staticRoutes:n,dynamicRoutes:r}=t;if(!Array.isArray(n)||!Array.isArray(r))return;let a=(function(e,t,n){let r=[];if(t.some(t=>t.path===e))return r;for(let t of n)if(t.regex){let n=function(e){if(rv.has(e))return rv.get(e)??null;try{let t=new RegExp(e);return rv.set(e,t),t}catch(t){return rm&&B.debug.warn("Could not compile regex",{regexString:e,error:t}),null}}(t.regex);n?.test(e)&&r.push(t.path)}return r})(e,n,r).sort((e,t)=>r_(e)-r_(t))[0];return rb.set(e,a),a},rE="incomplete-app-router-transaction",rw="router-patch",rT={current:void 0},rk=D.GLOBAL_OBJ;function rR(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let rx=new WeakSet;function rP(e,t,n){rx.has(t)||(rx.add(t),["back","forward","push","replace"].forEach(r=>{t?.[r]&&(t[r]=new Proxy(t[r],{apply(t,a,i){if("router-patch"!==rw)return t.apply(a,i);let o=rE,l={[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"};"push"===r?(o=rR(i[0]),l["navigation.type"]="router.push"):"replace"===r?(o=rR(i[0]),l["navigation.type"]="router.replace"):"back"===r?l["navigation.type"]="router.back":"forward"===r&&(l["navigation.type"]="router.forward");let s=rS(o);return n.current=rd(e,{name:s??o,attributes:{...l,[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s?"route":"url"}}),t.apply(a,i)}}))}))}var rC=e.i(883203);let rN=rC.default.events?rC.default:rC.default.default,rO=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function rI(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let a=r>=0?e[r]:"/";a&&(t=`${a}/${t}`,n="/"===a.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function rA(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}D.GLOBAL_OBJ;let rM=!1,rL=D.GLOBAL_OBJ;function rD(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function rU(){let e;return"undefined"!=typeof window&&(!(!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==L.default?L.default:0))||(e=D.GLOBAL_OBJ.process,e?.type==="renderer"))}function rj(e){return new URLSearchParams(e).toString()}function rz(e,t=B.debug){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[rj(e)];if(!e)return[void 0]}catch(n){return tH&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return tH&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function rF(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}let rB=D.GLOBAL_OBJ,r$="sentryReplaySession",rH="Unable to send Replay";
19var rW=Object.defineProperty,rq=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?rW(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},rG=((R=rG||{})[R.Document=0]="Document",R[R.DocumentType=1]="DocumentType",R[R.Element=2]="Element",R[R.Text=3]="Text",R[R.CDATA=4]="CDATA",R[R.Comment=5]="Comment",R);function rV(e){let t=e?.host;return t?.shadowRoot===e}function rY(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function rX(e){try{var t;let n=e.rules||e.cssRules;return n?((t=Array.from(n,rK).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function rK(e){let t;if("styleSheet"in e)try{t=rX(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,n=e.selectorText.includes(":"),r="string"==typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){let r=e.style,a=r[n],i=r.getPropertyPriority(a);t+=`${a}:${r.getPropertyValue(a)}${i?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),n||r)return t}return t||e.cssText}class rQ{constructor(){rq(this,"idNodeMap",new Map),rq(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function rJ({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function rZ({isMasked:e,element:t,value:n,maskInputFn:r}){let a=n||"";return e?(r&&(a=r(a,t)),"*".repeat(a.length)):a}function r0(e){return e.toLowerCase()}function r1(e){return e.toUpperCase()}let r2="__rrweb_original__";function r3(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?r0(t):null}function r4(e,t,n){return"INPUT"===t&&("radio"===n||"checkbox"===n)?e.getAttribute("value")||"":e.value}function r5(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(e){return null}let r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}let r8={};function r6(e){let t=r8[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return r8[e]=r.bind(window)}function r7(...e){return r6("setTimeout")(...e)}function r9(...e){return r6("clearTimeout")(...e)}function ae(e){try{return e.contentDocument}catch(e){}}let at=1,an=RegExp("[^a-z0-9-_:]");function ar(){return at++}let aa=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,ai=/^(?:[a-z+]+:)?\/\//i,ao=/^www\..*/i,al=/^(data:)([^,]*),(.*)/i;function as(e,t){return(e||"").replace(aa,(e,n,r,a,i,o)=>{let l=r||i||o,s=n||a||"";if(!l)return e;if(ai.test(l)||ao.test(l)||al.test(l))return`url(${s}${l}${s})`;if("/"===l[0])return`url(${s}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+l}${s})`;let u=t.split("/"),c=l.split("/");for(let e of(u.pop(),c))if("."===e)continue;else".."===e?u.pop():u.push(e);return`url(${s}${u.join("/")}${s})`})}let au=/^[^ \t\n\r\u000c]+/,ac=/^[, \t\n\r\u000c]+/,ad=new WeakMap;function af(e,t){return t&&""!==t.trim()?ap(e,t):t}function ap(e,t){let n=ad.get(e);if(n||(n=e.createElement("a"),ad.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}
19function ah(e,t,n,r,a,i){if(!r)return r;if("src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0])return af(e,r);if("background"===n&&("table"===t||"td"===t||"th"===t))return af(e,r);if("srcset"===n)return function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r,a=e.exec(t.substring(n));return a?(r=a[0],n+=r.length,r):""}let a=[];for(;r(ac),!(n>=t.length);){let i=r(au);if(","===i.slice(-1))i=af(e,i.substring(0,i.length-1)),a.push(i);else{let r="";i=af(e,i);let o=!1;for(;;){let e=t.charAt(n);if(""===e){a.push((i+r).trim());break}if(o)")"===e&&(o=!1);else if(","===e){n+=1,a.push((i+r).trim());break}else"("===e&&(o=!0);r+=e,n+=1}}}return a.join(", ")}(e,r);if("style"===n)return as(r,ap(e));else if("object"===t&&"data"===n)return af(e,r);return"function"==typeof i?i(n,r,a):r}function am(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function ag(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:ag(e.parentNode,t,n,r+1)}function ay(e,t){return n=>{if(null===n)return!1;try{if(e){if("string"==typeof e){if(n.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}(n,e))return!0}if(t&&n.matches(t))return!0;return!1}catch{return!1}}}function av(e,t,n,r,a,i){try{let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===o)return!1;if("INPUT"===o.tagName){let e=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let l=-1,s=-1;if(i){if((s=ag(o,ay(r,a)))<0)return!0;l=ag(o,ay(t,n),s>=0?s:1/0)}else{if((l=ag(o,ay(t,n)))<0)return!1;s=ag(o,ay(r,a),l>=0?l:1/0)}return l>=0?!(s>=0)||l<=s:!(s>=0)&&!!i}catch(e){}return!!i}function ab(e){return null==e?"":e.toLowerCase()}function a_(e,t){let n,{doc:r,mirror:a,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:p=!1,inlineStylesheet:g=!0,maskInputOptions:y={},maskAttributeFn:v,maskTextFn:b,maskInputFn:_,slimDOMOptions:S,dataURLOptions:E={},inlineImages:w=!1,recordCanvas:T=!1,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x=5e3,onBlockedImageLoad:P,onStylesheetLoad:C,stylesheetLoadTimeout:N=5e3,keepIframeSrcFn:O=()=>!1,newlyAddedElement:I=!1}=t,{preserveWhiteSpace:A=!0}=t,M=function(e,t){let{doc:n,mirror:r,blockClass:a,blockSelector:i,unblockSelector:o,maskAllText:l,maskAttributeFn:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:g={},maskTextFn:y,maskInputFn:v,dataURLOptions:b={},inlineImages:_,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:w=!1}=t,T=function(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:rG.Document,childNodes:[],compatMode:e.compatMode};return{type:rG.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:rG.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:T};case e.ELEMENT_NODE:return function(e,t){let n,{doc:r,blockClass:a,blockSelector:i,unblockSelector:o,inlineStylesheet:l,maskInputOptions:s={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:d={},inlineImages:f,recordCanvas:p,keepIframeSrcFn:g,newlyAddedElement:y=!1,rootId:v,maskTextClass:b,unmaskTextClass:_,maskTextSelector:S,unmaskTextSelector:E}=t,w=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,a,i,o),T=function(e){if(e instanceof HTMLFormElement)return"form";let t=r0(e.tagName);return an.test(t)?"div":t}(e),k={},R=e.attributes.length;for(let t=0;t<R;t++){let n=e.attributes[t];n.name&&!am(T,n.name,n.value)&&(k[n.name]=ah(r,T,r0(n.name),n.value,e,u))}if("link"===T&&l){let t=Array.from(r.styleSheets).find(t=>t.href===e.href),n=null;t&&(n=rX(t)),n&&(k.rel=null,k.href=null,k.crossorigin=null,k._cssText=as(n,t.href))}if("style"===T&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=rX(e.sheet);t&&(k._cssText=as(t,ap(r)))}if("input"===T||"textarea"===T||"select"===T||"option"===T){let t=r3(e),n=r4(e,r1(T),t),r=e.checked;if("submit"!==t&&"button"!==t&&n){let r=av(e,b,S,_,E,rJ({type:t,tagName:r1(T),maskInputOptions:s}));k.value=rZ({isMasked:r,element:e,value:n,maskInputFn:c})}r&&(k.checked=r)}if("option"===T&&(e.selected&&!s.select?k.selected=!0:delete k.selected),"canvas"===T&&p){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let a=t.getImageData;
19if(new Uint32Array((r2 in a?a[r2]:a).call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(k.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){let t=e.toDataURL(d.type,d.quality),n=r.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(d.type,d.quality)&&(k.rr_dataURL=t)}}if("img"===T&&f){h||(m=(h=r.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",n=e.crossOrigin,a=()=>{e.removeEventListener("load",a);try{h.width=e.naturalWidth,h.height=e.naturalHeight,m.drawImage(e,0,0),k.rr_dataURL=h.toDataURL(d.type,d.quality)}catch(n){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a);return}console.warn(`Cannot inline img src=${t}! Error: ${n}`)}"anonymous"===e.crossOrigin&&(n?k.crossOrigin=n:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a)}if(("audio"===T||"video"===T)&&(k.rr_mediaState=e.paused?"paused":"played",k.rr_mediaCurrentTime=e.currentTime),!y&&(e.scrollLeft&&(k.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(k.rr_scrollTop=e.scrollTop)),w){let{width:t,height:n}=e.getBoundingClientRect();k={class:k.class,rr_width:`${t}px`,rr_height:`${n}px`}}
19"iframe"!==T||g(k.src)||(w||ae(e)||(k.rr_src=k.src),delete k.src);try{customElements.get(T)&&(n=!0)}catch(e){}return{type:rG.Element,tagName:T,attributes:k,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:w,rootId:v,isCustom:n}}(e,{doc:n,blockClass:a,blockSelector:i,unblockSelector:o,inlineStylesheet:p,maskAttributeFn:s,maskInputOptions:g,maskInputFn:v,dataURLOptions:b,inlineImages:_,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:w,rootId:T,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f});case e.TEXT_NODE:return function(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:a,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:l,maskInputOptions:s,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&&f){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(f=rX(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=as(f,ap(t.doc))}h&&(f="SCRIPT_PLACEHOLDER");let g=av(e,r,i,a,o,n);return p||h||m||!f||!g||(f=l?l(f,e.parentElement):f.replace(/[\S]/g,"*")),m&&f&&(s.textarea||g)&&(f=u?u(f,e.parentNode):f.replace(/[\S]/g,"*")),"OPTION"===d&&f&&(f=rZ({isMasked:av(e,r,i,a,o,rJ({type:null,tagName:d,maskInputOptions:s})),element:e,value:f,maskInputFn:u})),{type:rG.Text,textContent:f||"",isStyle:p,rootId:c}}(e,{doc:n,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:y,maskInputOptions:g,maskInputFn:v,rootId:T});case e.CDATA_SECTION_NODE:return{type:rG.CDATA,textContent:"",rootId:T};case e.COMMENT_NODE:return{type:rG.Comment,textContent:e.textContent||"",rootId:T};default:return!1}}(e,{doc:r,mirror:a,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,dataURLOptions:E,inlineImages:w,recordCanvas:T,keepIframeSrcFn:O,newlyAddedElement:I});if(!M)return console.warn(e,"not serialized"),null;n=a.hasNode(e)?a.getId(e):!function(e,t){if(t.comment&&e.type===rG.Comment)return!0;if(e.type===rG.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===r5(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ab(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ab(e.attributes.name)||"icon"===ab(e.attributes.rel)||"apple-touch-icon"===ab(e.attributes.rel)||"shortcut icon"===ab(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&ab(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(ab(e.attributes.property).match(/^(og|twitter|fb):/)||ab(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ab(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===ab(e.attributes.name)||"googlebot"===ab(e.attributes.name)||"bingbot"===ab(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===ab(e.attributes.name)||"generator"===ab(e.attributes.name)||"framework"===ab(e.attributes.name)||"publisher"===ab(e.attributes.name)||"progid"===ab(e.attributes.name)||ab(e.attributes.property).match(/^article:/)||ab(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===ab(e.attributes.name)||"yandex-verification"===ab(e.attributes.name)||"csrf-token"===ab(e.attributes.name)||"p:domain_verify"===ab(e.attributes.name)||"verify-v1"===ab(e.attributes.name)||"verification"===ab(e.attributes.name)||"shopify-checkout-api-token"===ab(e.attributes.name)))return!0}}return!1}(M,S)&&(A||M.type!==rG.Text||M.isStyle||M.textContent.replace(/^\s+|\s+$/gm,"").length)?ar():-2;let L=Object.assign(M,{id:n});if(a.add(e,L),-2===n)return null;
19k&&k(e);let D=!p;if(L.type===rG.Element){D=D&&!L.needBlock;let t=e.shadowRoot;t&&rY(t)&&(L.isShadowHost=!0)}if((L.type===rG.Document||L.type===rG.Element)&&D){S.headWhitespace&&L.type===rG.Element&&"head"===L.tagName&&(A=!1);let t={doc:r,mirror:a,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:p,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:A,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onBlockedImageLoad:P,onStylesheetLoad:C,stylesheetLoadTimeout:N,keepIframeSrcFn:O};for(let n of e.childNodes?Array.from(e.childNodes):[]){let e=a_(n,t);e&&L.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=a_(n,t);r&&(rY(e.shadowRoot)&&(r.isShadow=!0),L.childNodes.push(r))}}if(e.parentNode&&rV(e.parentNode)&&rY(e.parentNode)&&(L.isShadow=!0),L.type!==rG.Element||"iframe"!==L.tagName||L.needBlock||function(e,t,n){let r,a=e.contentWindow;if(!a)return;let i=!1;try{r=a.document.readyState}catch(e){return}if("complete"!==r){let r=r7(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{r9(r),i=!0,t()});return}let o="about:blank";if(a.location.href!==o||e.src===o||""===e.src)return r7(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=ae(e);if(t&&R){let n=a_(t,{doc:t,mirror:a,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:A,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onStylesheetLoad:C,stylesheetLoadTimeout:N,keepIframeSrcFn:O});n&&R(e,n)}},x),L.type===rG.Element&&"img"===L.tagName&&!e.complete&&L.needBlock){let t=()=>{if(e.isConnected&&!e.complete&&P)try{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&P(e,L,t)}catch(e){}e.removeEventListener("load",t)};e.isConnected&&e.addEventListener("load",t)}return L.type===rG.Element&&"link"===L.tagName&&"string"==typeof L.attributes.rel&&("stylesheet"===L.attributes.rel||"preload"===L.attributes.rel&&"string"==typeof L.attributes.href&&"css"===r5(L.attributes.href))&&function(e,t,n){let r,a=!1;try{r=e.sheet}catch(e){return}if(r)return;let i=r7(()=>{a||(t(),a=!0)},n);e.addEventListener("load",()=>{r9(i),a=!0,t()})}(e,()=>{if(C){let t=a_(e,{doc:r,mirror:a,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:_,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:A,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:x,onStylesheetLoad:C,stylesheetLoadTimeout:N,keepIframeSrcFn:O});t&&C(e,t)}},N),L.type===rG.Element&&delete L.needBlock,L}function aS(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let aE="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",aw={map:{},getId:()=>(console.error(aE),-1),getNode:()=>(console.error(aE),null),removeNodeFromMap(){console.error(aE)},has:()=>(console.error(aE),!1),reset(){console.error(aE)}};function aT(e,t,n={}){let r=null,a=0;return function(...i){let o=Date.now();a||!1!==n.leading||(a=o);let l=t-(o-a),s=this;l<=0||l>t?(r&&(function(...e){aB("clearTimeout")(...e)}(r),r=null),a=o,e.apply(s,i)):r||!1===n.trailing||(r=a$(()=>{a=!1===n.leading?0:Date.now(),r=null,e.apply(s,i)},l))}}function ak(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(aw=new Proxy(aw,{get:(e,t,n)=>("map"===t&&console.error(aE),Reflect.get(e,t,n))}));let aR=Date.now;function ax(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function aP(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function aC(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function aN(e){if(!e)return null;
19try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function aO(e,t,n,r,a){if(!e)return!1;let i=aN(e);if(!i)return!1;let o=ay(t,n);if(!a){let e=r&&i.matches(r);return o(i)&&!e}let l=ag(i,o),s=-1;return!(l<0)&&(r&&(s=ag(i,ay(null,r))),l>-1&&s<0||l<s)}function aI(e,t){return -2===t.getId(e)}function aA(e){return!!e.changedTouches}function aM(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function aL(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function aD(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(aR=()=>new Date().getTime());class aU{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let n;return this.has(e)?this.getId(e):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function aj(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function az(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let n=function(e){let t,n=e;for(;t=aj(n);)n=t;return n}(e);return t.contains(n)}(e))}let aF={};function aB(e){let t=aF[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return aF[e]=r.bind(window)}function a$(...e){return aB("setTimeout")(...e)}var aH=((x=aH||{})[x.DomContentLoaded=0]="DomContentLoaded",x[x.Load=1]="Load",x[x.FullSnapshot=2]="FullSnapshot",x[x.IncrementalSnapshot=3]="IncrementalSnapshot",x[x.Meta=4]="Meta",x[x.Custom=5]="Custom",x[x.Plugin=6]="Plugin",x),aW=((P=aW||{})[P.Mutation=0]="Mutation",P[P.MouseMove=1]="MouseMove",P[P.MouseInteraction=2]="MouseInteraction",P[P.Scroll=3]="Scroll",P[P.ViewportResize=4]="ViewportResize",P[P.Input=5]="Input",P[P.TouchMove=6]="TouchMove",P[P.MediaInteraction=7]="MediaInteraction",P[P.StyleSheetRule=8]="StyleSheetRule",P[P.CanvasMutation=9]="CanvasMutation",P[P.Font=10]="Font",P[P.Log=11]="Log",P[P.Drag=12]="Drag",P[P.StyleDeclaration=13]="StyleDeclaration",P[P.Selection=14]="Selection",P[P.AdoptedStyleSheet=15]="AdoptedStyleSheet",P[P.CustomElement=16]="CustomElement",P),aq=((C=aq||{})[C.MouseUp=0]="MouseUp",C[C.MouseDown=1]="MouseDown",C[C.Click=2]="Click",C[C.ContextMenu=3]="ContextMenu",C[C.DblClick=4]="DblClick",C[C.Focus=5]="Focus",C[C.Blur=6]="Blur",C[C.TouchStart=7]="TouchStart",C[C.TouchMove_Departed=8]="TouchMove_Departed",C[C.TouchEnd=9]="TouchEnd",C[C.TouchCancel=10]="TouchCancel",C),aG=((N=aG||{})[N.Mouse=0]="Mouse",N[N.Pen=1]="Pen",N[N.Touch=2]="Touch",N),aV=((O=aV||{})[O.Play=0]="Play",O[O.Pause=1]="Pause",O[O.Seeked=2]="Seeked",O[O.VolumeChange=3]="VolumeChange",O[O.RateChange=4]="RateChange",O);function aY(e){try{return e.contentDocument}catch(e){}}class aX{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let aK=(e,t)=>`${e}@${t}`;class aQ{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>
19{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new aX,r=e=>{let t=e,n=-2;for(;-2===n;)n=(t=t&&t.nextSibling)&&this.mirror.getId(t);return n},a=a=>{if(!a.parentNode||!az(a))return;let i=rV(a.parentNode)?this.mirror.getId(aj(a)):this.mirror.getId(a.parentNode),o=r(a);if(-1===i||-1===o)return n.addNode(a);let l=a_(a,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{aM(e,this.mirror)&&!aO(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),aL(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),aD(a)&&this.shadowDomManager.addShadowRoot(a.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{aO(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})}});l&&(e.push({parentId:i,nextId:o,node:l}),t.add(l.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!aZ(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&a(e);for(let e of this.addedSet)a0(this.droppedSet,e)||aZ(this.removes,e,this.mirror)?a0(this.movedSet,e)?a(e):this.droppedSet.add(e):a(e);let i=null;for(;n.length;){let e=null;if(i){let t=this.mirror.getId(i.value.parentNode),n=r(i.value);-1!==t&&-1!==n&&(e=i)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}i=e.previous,n.removeNode(e.value),a(e.value)}let o={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!aI(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;aO(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:av(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,aN(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){let n=r3(t),a=t.tagName;r=r4(t,a,n);let i=rJ({maskInputOptions:this.maskInputOptions,tagName:a,type:n});r=rZ({isMasked:av(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,i),element:t,value:r,maskInputFn:this.maskInputFn})}if(aO(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let a=this.attributeMap.get(e.target);
19if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(aY(t))return;n="rr_src"}if(a||(a={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(a),this.attributeMap.set(e.target,a)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!am(t.tagName,n)&&(a.attributes[n]=ah(this.doc,r0(t.tagName),r0(n),r,t,this.maskAttributeFn),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let n=this.unattachedDoc.createElement("span");for(let r of(e.oldValue&&n.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(r),i=t.style.getPropertyPriority(r);e!==n.style.getPropertyValue(r)||i!==n.style.getPropertyPriority(r)?""===i?a.styleDiff[r]=e:a.styleDiff[r]=[e,i]:a._unchangedStyles[r]=[e,i]}for(let e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(a.styleDiff[e]=!1)}break}case"childList":if(aO(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=rV(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);aO(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||aI(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(aJ(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||function e(t,n){if(rV(t))return!1;let r=n.getId(t);return!n.has(r)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,n))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[aK(n,r)]?aJ(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!(rV(e.target)&&rY(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(aI(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[aK(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!aO(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),aD(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function aJ(e,t){e.delete(t),t.childNodes?.forEach(t=>aJ(e,t))}function aZ(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){let t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function a0(e,t){return 0!==e.size&&function e(t,n){let{parentNode:r}=n;return!!r&&(!!t.has(r)||e(t,r))}(e,t)}let a1=e=>g?(...t)=>{try{return e(...t)}catch(e){if(g&&!0===g(e))return()=>{};throw e}}:e,a2=[];function a3(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function a4(e,t){let n=new aQ;a2.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,a=window?.Zone?.__symbol__?.("MutationObserver");a&&window[a]&&(r=window[a]);let i=new r(a1(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function a5({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,sampling:o}){return aS("scroll",a1(aT(a1(o=>{let l=a3(o);if(!l||aO(l,r,a,i,!0))return;let s=n.getId(l);if(l===t&&t.defaultView){let n=ax(t.defaultView);e({id:s,x:n.left,y:n.top})}else e({id:s,x:l.scrollLeft,y:l.scrollTop})}),o.scroll||100)),t)}let a8=["INPUT","TEXTAREA","SELECT"],a6=new WeakMap;function a7(e){var t=[];if(ir("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||ir("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||ir("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||ir("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){let n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){let n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}function a9(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function ie({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);let a="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,i=a?.prototype?Object.getOwnPropertyDescriptor(a?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&a&&i?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return i.get?.call(this)},set(e){let n=i.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),a1(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})})):()=>{}}function it(e,t={}){let n,r=e.doc.defaultView;if(!r)return()=>{};e.recordDOM&&(n=a4(e,e.doc));let a=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){let a;if(!1===t.mousemove)return()=>{};let i="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,l=[],s=aT(a1(t=>{let n=Date.now()-a;e(l.map(e=>(e.timeOffset-=n,e)),t),l=[],a=null}),o),u=a1(aT(a1(e=>{let t=a3(e),{clientX:n,clientY:i}=aA(e)?e.changedTouches[0]:e;a||(a=aR()),l.push({x:n,y:i,id:r.getId(t),timeOffset:aR()-a}),s("undefined"!=typeof DragEvent&&e instanceof DragEvent?aW.Drag:e instanceof MouseEvent?aW.MouseMove:aW.TouchMove)}),i,{trailing:!1})),c=[aS("mousemove",u,n),aS("touchmove",u,n),aS("drag",u,n)];return a1(()=>
19{c.forEach(e=>e())})}(e),i=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,sampling:o}){if(!1===o.mouseInteraction)return()=>{};let l=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,s=[],u=null;return Object.keys(aq).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==l[e]).forEach(o=>{let l=r0(o),c=t=>{let l=a3(t);if(aO(l,r,a,i,!0))return;let s=null,c=o;if("pointerType"in t){switch(t.pointerType){case"mouse":s=aG.Mouse;break;case"touch":s=aG.Touch;break;case"pen":s=aG.Pen}s===aG.Touch?aq[o]===aq.MouseDown?c="TouchStart":aq[o]===aq.MouseUp&&(c="TouchEnd"):aG.Pen}else aA(t)&&(s=aG.Touch);null!==s?(u=s,(c.startsWith("Touch")&&s===aG.Touch||c.startsWith("Mouse")&&s===aG.Mouse)&&(s=null)):aq[o]===aq.Click&&(s=u,u=null);let d=aA(t)?t.changedTouches[0]:t;if(!d)return;let f=n.getId(l),{clientX:p,clientY:h}=d;a1(e)({type:aq[c],id:f,x:p,y:h,...null!==s&&{pointerType:s}})};if(window.PointerEvent)switch(aq[o]){case aq.MouseDown:case aq.MouseUp:l=l.replace("mouse","pointer");break;case aq.TouchStart:case aq.TouchEnd:return}s.push(aS(l,c,t))}),a1(()=>{s.forEach(e=>e())})}(e),o=a5(e),l=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return aS("resize",a1(aT(a1(()=>{let t=aP(),a=aC();(n!==t||r!==a)&&(e({width:Number(a),height:Number(t)}),n=t,r=a)}),200)),t)}(e,{win:r}),s=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,ignoreClass:o,ignoreSelector:l,maskInputOptions:s,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=a3(e),c=e.isTrusted,g=n&&r1(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||0>a8.indexOf(g)||aO(n,r,a,i,!0))return;let v=n;if(v.classList.contains(o)||l&&v.matches(l))return;let b=r3(n),_=r4(v,g,b),S=!1,E=rJ({maskInputOptions:s,tagName:g,type:b}),w=av(n,f,h,p,m,E);("radio"===b||"checkbox"===b)&&(S=n.checked),_=rZ({isMasked:w,element:n,value:_,maskInputFn:u}),y(n,d?{text:_,isChecked:S,userTriggered:c}:{text:_,isChecked:S});let T=n.name;"radio"===b&&T&&S&&t.querySelectorAll(`input[type="radio"][name="${T}"]`).forEach(e=>{if(e!==n){let t=rZ({isMasked:w,element:e,value:r4(e,g,b),maskInputFn:u});y(e,d?{text:t,isChecked:!S,userTriggered:!1}:{text:t,isChecked:!S})}})}function y(t,r){let a=a6.get(t);if(!a||a.text!==r.text||a.isChecked!==r.isChecked){a6.set(t,r);let a=n.getId(t);a1(e)({...r,id:a})}}let v=("last"===c.input?["change"]:["input","change"]).map(e=>aS(e,a1(g),t)),b=t.defaultView;if(!b)return()=>{v.forEach(e=>e())};let _=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),S=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return _&&_.set&&v.push(...S.map(e=>(function e(t,n,r,a,i=window){let o=i.Object.getOwnPropertyDescriptor(t,n);return i.Object.defineProperty(t,n,a?r:{set(e){a$(()=>{r.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>e(t,n,o||{},!0)})(e[0],e[1],{set(){a1(g)({target:this,isTrusted:!1})}},!1,b))),a1(()=>{v.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:a,sampling:i,doc:o}){let l=a1(o=>aT(a1(i=>{let l=a3(i);if(!l||aO(l,t,n,r,!0))return;let{currentTime:s,volume:u,muted:c,playbackRate:d}=l;e({type:o,id:a.getId(l),currentTime:s,volume:u,muted:c,playbackRate:d})}),i.media||500)),s=[aS("play",l(aV.Play),o),aS("pause",l(aV.Pause),o),aS("seeked",l(aV.Seeked),o),aS("volumechange",l(aV.VolumeChange),o),aS("ratechange",l(aV.RateChange),o)];return a1(()=>{s.forEach(e=>e())})}(e),c=()=>{},d=()=>{},f=()=>{},p=()=>{};e.recordDOM&&(c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){let a,i;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:a1((r,a,i)=>{let[o,l]=i,{id:s,styleId:u}=a9(a,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,adds:[{rule:o,index:l}]}),r.apply(a,i)})});let l=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(l,{apply:a1((r,a,i)=>{let[o]=i,{id:l,styleId:s}=a9(a,t,n.styleMirror);return(l&&-1!==l||s&&-1!==s)&&e({id:l,styleId:s,removes:[{index:o}]}),r.apply(a,i)})}),r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:a1((r,a,i)=>{let[o]=i,{id:l,styleId:s}=a9(a,t,n.styleMirror);return(l&&-1!==l||s&&-1!==s)&&e({id:l,styleId:s,replace:o}),r.apply(a,i)})})),r.CSSStyleSheet.prototype.replaceSync&&(i=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(i,{apply:a1((r,a,i)=>{let[o]=i,{id:l,styleId:s}=a9(a,t,n.styleMirror);return(l&&-1!==l||s&&-1!==s)&&e({id:l,styleId:s,replaceSync:o}),r.apply(a,i)})}));let s={};ia("CSSGroupingRule")?s.CSSGroupingRule=r.CSSGroupingRule:(ia("CSSMediaRule")&&(s.CSSMediaRule=r.CSSMediaRule),ia("CSSConditionRule")&&(s.CSSConditionRule=r.CSSConditionRule),ia("CSSSupportsRule")&&(s.CSSSupportsRule=r.CSSSupportsRule));let u={};
19return Object.entries(s).forEach(([r,a])=>{u[r]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(u[r].insertRule,{apply:a1((r,a,i)=>{let[o,l]=i,{id:s,styleId:u}=a9(a.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||u&&-1!==u)&&e({id:s,styleId:u,adds:[{rule:o,index:[...a7(a),l||0]}]}),r.apply(a,i)})}),a.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:a1((r,a,i)=>{let[o]=i,{id:l,styleId:s}=a9(a.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||s&&-1!==s)&&e({id:l,styleId:s,removes:[{index:[...a7(a),o]}]}),r.apply(a,i)})})}),a1(()=>{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=l,a&&(r.CSSStyleSheet.prototype.replace=a),i&&(r.CSSStyleSheet.prototype.replaceSync=i),Object.entries(s).forEach(([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule})})}(e,{win:r}),d=ie(e,e.doc),f=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){let i=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:a1((a,o,l)=>{let[s,u,c]=l;if(n.has(s))return i.apply(o,[s,u,c]);let{id:d,styleId:f}=a9(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&-1!==d||f&&-1!==f)&&e({id:d,styleId:f,set:{property:s,value:u,priority:c},index:a7(o.parentRule)}),a.apply(o,l)})});let o=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:a1((a,i,l)=>{let[s]=l;if(n.has(s))return o.apply(i,[s]);let{id:u,styleId:c}=a9(i.parentRule?.parentStyleSheet,t,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:s},index:a7(i.parentRule)}),a.apply(i,l)})}),a1(()=>{a.CSSStyleDeclaration.prototype.setProperty=i,a.CSSStyleDeclaration.prototype.removeProperty=o})}(e,{win:r}),e.collectFonts&&(p=function({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],a=new WeakMap,i=n.FontFace;n.FontFace=function(e,t,n){let r=new i(e,t,n);return a.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let o=ak(t.fonts,"add",function(t){return function(n){return a$(a1(()=>{let t=a.get(n);t&&(e(t),a.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=i}),r.push(o),a1(()=>{r.forEach(e=>e())})}(e)));let h=function(e){let{doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,selectionCb:o}=e,l=!0,s=a1(()=>{let e=t.getSelection();if(!e||l&&e?.isCollapsed)return;l=e.isCollapsed||!1;let s=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:o,startOffset:l,endContainer:u,endOffset:c}=e.getRangeAt(t);aO(o,r,a,i,!0)||aO(u,r,a,i,!0)||s.push({start:n.getId(o),startOffset:l,end:n.getId(u),endOffset:c})}o({ranges:s})});return s(),aS("selectionchange",s)}(e),m=function({doc:e,customElementCb:t}){let n=e.defaultView;return n&&n.customElements?ak(n.customElements,"define",function(e){return function(n,r,a){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,a])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,r,t.options));return a1(()=>{a2.forEach(e=>e.reset()),n?.disconnect(),a(),i(),o(),l(),s(),u(),c(),d(),f(),p(),h(),m(),g.forEach(e=>e())})}function ir(e){return void 0!==window[e]}function ia(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class ii{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let a=n||this.getIdToRemoteIdMap(e),i=r||this.getRemoteIdToIdMap(e),o=a.get(t);return o||(o=this.generateIdFn(),a.set(t,o),i.set(o,t)),o}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
19getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let a=r.get(t);return a||-1}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class io{constructor(){this.crossOriginIframeMirror=new ii(ar),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class il{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new ii(ar),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new ii(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let n=aY(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let n=this.transformCrossOriginEvent(t,e.data.event);n&&this.wrappedEmit(n,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case aH.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:aH.IncrementalSnapshot,data:{source:aW.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case aH.Meta:case aH.Load:case aH.DomContentLoaded:break;case aH.Plugin:return t;case aH.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case aH.IncrementalSnapshot:switch(t.data.source){case aW.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case aW.Drag:case aW.TouchMove:case aW.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case aW.ViewportResize:return!1;case aW.MediaInteraction:case aW.MouseInteraction:case aW.Scroll:case aW.CanvasMutation:case aW.Input:return this.replaceIds(t.data,e,["id"]),t;case aW.StyleSheetRule:case aW.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case aW.Font:return t;case aW.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case aW.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(let a of r)(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(n,t[a]):t[a]=e.getId(n,t[a]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEac
19h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===rG.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class is{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class iu{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!rY(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let n=a4({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(a5({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),a$(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(ie({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=aY(e),n=function(e){try{return e.contentWindow}catch(e){}}(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(ak(e.prototype,"attachShadow",function(e){return function(r){let a=e.call(this,r);return this.shadowRoot&&az(this)&&n.addShadowRoot(this.shadowRoot,t),a}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var ic="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",id="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ip=0;ip<ic.length;ip++)id[ic.charCodeAt(ip)]=ip;class ih{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class im{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new aU,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:rK(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class ig{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){aB("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let iy=new rQ;function iv(e={}){let t,{emit:n,checkoutEveryNms:r,checkoutEveryNth:a,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:l=null,ignoreClass:s="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:f=null,maskTextSelector:p=null,unmaskTextSelector:h=null,inlineStylesheet:m=!0,maskAllInputs:b,maskInputOptions:_,slimDOMOptions:S,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,maxCanvasSize:k=null,packFn:R,sampling:x={},dataURLOptions:P={}
19,mousemoveWait:C,recordDOM:N=!0,recordCanvas:O=!1,recordCrossOriginIframes:I=!1,recordAfter:A="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:M=!1,collectFonts:L=!1,inlineImages:D=!1,plugins:U,keepIframeSrcFn:j=()=>!1,ignoreCSSAttributes:z=new Set([]),errorHandler:F,onMutation:B,getCanvasManager:$}=e;g=F;let H=!I||window.parent===window,W=!1;if(!H)try{window.parent.document&&(W=!1)}catch(e){W=!0}if(H&&!n)throw Error("emit function is required");if(!H&&!W)return()=>{};void 0!==C&&void 0===x.mousemove&&(x.mousemove=C),iy.reset();let q=!0===b?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==_?_:{},G=!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===S,headMetaDescKeywords:"all"===S}:S||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode)return!1})}();let V=0,Y=e=>{for(let t of U||[])t.eventProcessor&&(e=t.eventProcessor(e));return R&&!W&&(e=R(e)),e};y=(e,i)=>{if(e.timestamp=aR(),a2[0]?.isFrozen()&&e.type!==aH.FullSnapshot&&(e.type!==aH.IncrementalSnapshot||e.data.source!==aW.Mutation)&&a2.forEach(e=>e.unfreeze()),H)n?.(Y(e),i);else if(W){let t={type:"rrweb",event:Y(e),origin:window.location.origin,isCheckout:i};window.parent.postMessage(t,"*")}if(e.type===aH.FullSnapshot)t=e,V=0;else if(e.type===aH.IncrementalSnapshot){if(e.data.source===aW.Mutation&&e.data.isAttachIframe)return;V++;let n=a&&V>=a,i=r&&t&&e.timestamp-t.timestamp>r;(n||i)&&er(!0)}};let X=e=>{y({type:aH.IncrementalSnapshot,data:{source:aW.Mutation,...e}})},K=e=>y({type:aH.IncrementalSnapshot,data:{source:aW.Scroll,...e}}),Q=e=>y({type:aH.IncrementalSnapshot,data:{source:aW.CanvasMutation,...e}}),J=new im({mutationCb:X,adoptedStyleSheetCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.AdoptedStyleSheet,...e}})}),Z="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new io:new il({mirror:iy,mutationCb:X,stylesheetManager:J,recordCrossOriginIframes:I,wrappedEmit:y});for(let e of U||[])e.getMirror&&e.getMirror({nodeMirror:iy,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let ee=new ig,et=function(e,t){try{return e?e(t):new ih}catch{return console.warn("Unable to initialize CanvasManager"),new ih}}($,{mirror:iy,win:window,mutationCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.CanvasMutation,...e}}),recordCanvas:O,blockClass:i,blockSelector:o,unblockSelector:l,maxCanvasSize:k,sampling:x.canvas,dataURLOptions:P,errorHandler:F}),en="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new is:new iu({mutationCb:X,scrollCb:K,bypassOptions:{onMutation:B,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:q,dataURLOptions:P,maskAttributeFn:E,maskTextFn:T,maskInputFn:w,recordCanvas:O,inlineImages:D,sampling:x,slimDOMOptions:G,iframeManager:Z,stylesheetManager:J,canvasManager:et,keepIframeSrcFn:j,processedNodeManager:ee},mirror:iy}),er=(e=!1)=>{if(!N)return;y({type:aH.Meta,data:{href:window.location.href,width:aC(),height:aP()}},e),J.reset(),en.init(),a2.forEach(e=>e.lock());let t=function(e,t){let{mirror:n=new rQ,blockClass:r="rr-block",blockSelector:a=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:l="rr-mask",unmaskTextClass:s=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:_,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:k,stylesheetLoadTimeout:R,keepIframeSrcFn:x=()=>!1}=t||{};return a_(e,{doc:e,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,maskAllText:o,maskTextClass:l,unmaskTextClass:s,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
19:!1===v?{}:v,dataURLOptions:b,inlineImages:f,recordCanvas:p,preserveWhiteSpace:_,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:k,stylesheetLoadTimeout:R,keepIframeSrcFn:x,newlyAddedElement:!1})}(document,{mirror:iy,blockClass:i,blockSelector:o,unblockSelector:l,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:m,maskAllInputs:q,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,slimDOM:G,dataURLOptions:P,recordCanvas:O,inlineImages:D,onSerialize:e=>{aM(e,iy)&&Z.addIframe(e),aL(e,iy)&&J.trackLinkElement(e),aD(e)&&en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t),e.contentWindow&&et.addWindow(e.contentWindow),en.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{J.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{X({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:j});if(!t)return console.warn("Failed to snapshot the document");y({type:aH.FullSnapshot,data:{node:t,initialOffset:ax(window)}}),a2.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&J.adoptStyleSheets(document.adoptedStyleSheets,iy.getId(document))};v=er;try{let e=[],t=e=>a1(it)({onMutation:B,mutationCb:X,mousemoveCb:(e,t)=>y({type:aH.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.MouseInteraction,...e}}),scrollCb:K,viewportResizeCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.ViewportResize,...e}}),inputCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.Input,...e}}),mediaInteractionCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.MediaInteraction,...e}}),styleSheetRuleCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.StyleSheetRule,...e}}),styleDeclarationCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.StyleDeclaration,...e}}),canvasMutationCb:Q,fontCb:e=>y({type:aH.IncrementalSnapshot,data:{source:aW.Font,...e}}),selectionCb:e=>{y({type:aH.IncrementalSnapshot,data:{source:aW.Selection,...e}})},customElementCb:e=>{y({type:aH.IncrementalSnapshot,data:{source:aW.CustomElement,...e}})},blockClass:i,ignoreClass:s,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,maskInputOptions:q,inlineStylesheet:m,sampling:x,recordDOM:N,recordCanvas:O,inlineImages:D,userTriggeredOnInput:M,collectFonts:L,doc:e,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,keepIframeSrcFn:j,blockSelector:o,unblockSelector:l,slimDOMOptions:G,dataURLOptions:P,mirror:iy,iframeManager:Z,stylesheetManager:J,shadowDomManager:en,processedNodeManager:ee,canvasManager:et,ignoreCSSAttributes:z,plugins:U?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>y({type:aH.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});Z.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{er(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(aS("DOMContentLoaded",()=>{y({type:aH.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&n()})),e.push(aS("load",()=>{y({type:aH.Load,data:{}}),"load"===A&&n()},window))),()=>{e.forEach(e=>e()),ee.destroy(),v=void 0,g=void 0}}catch(e){console.warn(e)}}function ib(e){return e>0x2540be3ff?e:1e3*e}function i_(e){return e>0x2540be3ff?e/1e3:e}function iS(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:aH.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,eL.normalize)(t,10,1e3)}}),"console"===t.category)))}function iE(e){return e.closest("button,a")||e}function iw(e){let t=iT(e);return t&&t instanceof Element?iE(t):t}function iT(e){var t;return"object"==typeof(t=e)&&t&&"target"in t?e.target:e}iv.mirror=iy,iv.takeFullSnapshot=function(e){if(!v)throw Error("please take full snapshot after start recording");v(e)},(I=M||(M={}))[I.NotStarted=0]="NotStarted",I[I.Running=1]="Running",I[I.Stopped=2]="Stopped";let ik=new Set([aW.Mutation,aW.StyleSheetRule,aW.StyleDeclaration,aW.AdoptedStyleSheet,aW.CanvasMutation,aW.Selection,aW.MediaInteraction]);class iR{constructor(e,t,n=iS){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){var e;let t=(e=()=>{this._lastMutation=iP()},b||(b=[],(0,J.fill)(rB,"open",function(e){return function(...t){if(b)try{b.forEach(e
19=>e())}catch{}return e.apply(rB,t)}})),b.push(e),()=>{let t=b?b.indexOf(e):-1;t>-1&&b.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var n,r,a;if(n=t,r=this._ignoreSelector,!ix.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||r&&n.matches(r)||!((a=e).data&&"number"==typeof a.data.nodeId&&a.timestamp))return;let i={timestamp:i_(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===i.node&&1>Math.abs(e.timestamp-i.timestamp))||(this._clicks.push(i),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=i_(e)}registerScroll(e=Date.now()){this._lastScroll=i_(e)}registerClick(e){let t=iE(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=iP();for(let n of(this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}),e)){let e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:a,clickBreadcrumb:i}=e;if(!n&&!r){let n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",o={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.slowClickDetected",data:{...i.data,url:rB.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:a||1}};this._addBreadcrumbEvent(t,o);return}if(a>1){let e={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.multiClick",data:{...i.data,url:rB.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=tG(()=>this._checkClicks(),1e3)}}let ix=["A","BUTTON","INPUT"];function iP(){return Date.now()/1e3}function iC(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var iN=((A=iN||{})[A.Document=0]="Document",A[A.DocumentType=1]="DocumentType",A[A.Element=2]="Element",A[A.Text=3]="Text",A[A.CDATA=4]="CDATA",A[A.Comment=5]="Comment",A);let iO=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function iI(e,t){let n=iv.mirror.getId(e),r=n&&iv.mirror.getNode(n),a=r&&iv.mirror.getMeta(r),i=a&&a.type===iN.Element?a:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(e=>e.type===iN.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let n in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(iO.has(n)){let r=n;("data-testid"===n||"data-test-id"===n)&&(r="testId"),t[r]=e[n]}return t}(i.attributes)}}:{}}}let iA={resource:function(e){let{entryType:t,initiatorType:n,name:r,responseEnd:a,startTime:i,decodedBodySize:o,encodedBodySize:l,responseStatus:s,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:iD(i),end:iD(a),name:r,data:{size:u,statusCode:s,decodedBodySize:o,encodedBodySize:l}}},paint:function(e){let{duration:t,entryType:n,name:r,startTime:a}=e,i=iD(a);return{type:n,name:r,start:i,end:i+t,data:void 0}},navigation:function(e){let{entryType:t,name:n,decodedBodySize:r,duration:a,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:l,domContentLoadedEventEnd:s,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:h,type:m}=e;return 0===a?null:{type:`${t}.${m}`,start:iD(p),end:iD(i),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:o,duration:a,domInteractive:u,domContentLoadedEventStart:l,domContentLoadedEventEnd:s,loadEventStart:c,loadEventEnd:d,domComplete:i,redirectCount:f}}}};function iM(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function iL(e){let t=iA[e.entryType];return t?t(e):null}function iD(e){return(((0,ec.browserPerformanceTimeOrigin)()||rB.performance.timeOrigin)+e)/1e3}function iU(e){let t=e.entries[e.entries.length-1];return iB(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function ij(e){let t=[],n=[];for(let r of e.entries)if(void 0!==r.sources){let e=[];for(let t of r.sources)if(t.node){n.push(t.node);let r=iv.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return iB(e,"cumulative-layout-shift",n,t)}function iz(e){let t=e.entries[e.entries.length-1];return iB(e,"first-input-delay",t?.target?[t.target]:void 0)}function iF(e){let t=e.entries[e.entries.length-1];return iB(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function iB(e,t,n,r){let a=e.value,i=e.rating,o=iD(a);return{type:"web-vital",name:t,start:o,end:o,data:{value:a,size:a,rating:i,nodeIds:n?n.map(e=>iv.mirror.getId(e)):void 0,attributions:r}}}let i$="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,iH=["log","warn","error"],iW="[Replay] ";function iq(e,t="info"){te({category:"console",data:{logger:"replay"},level:t,message:`${iW}${e}`},{level:t})}let iG=(E=!1,w=!1,T={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{E=!!e.captureExceptions,w=!!e.traceInternals}}
19,i$?(iH.forEach(e=>{T[e]=(...t)=>{B.debug[e](iW,...t),w&&iq(t.join(""),e9(e))}}),T.exception=(e,...t)=>{t.length&&T.error&&T.error(...t),B.debug.error(iW,e),E?(0,z.captureException)(e):w&&iq(e,"error")},T.infoTick=(...e)=>{B.debug.log(iW,...e),w&&setTimeout(()=>iq(e[0]),0)}):iH.forEach(e=>{T[e]=()=>void 0}),T);class iV extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class iY{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new iV;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?ib(e):null}}class iX{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){i$&&iG.log("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,a)=>{let i=({data:t})=>{if(t.method===e&&t.id===n){if(this._worker.removeEventListener("message",i),!t.success){i$&&iG.error("Error in compression worker: ",t.response),a(Error("Error in compression worker"));return}r(t.response)}};this._worker.addEventListener("message",i),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class iK{constructor(e){this._worker=new iX(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=ib(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return(this._totalSize+=n.length,this._totalSize>2e7)?Promise.reject(new iV):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{i$&&iG.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class iQ{constructor(e){this._fallback=new iY,this._compression=new iK(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){i$&&iG.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(let t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){i$&&iG.exception(e,"Failed to add events when switching buffers.")}}}function iJ(){try{return"sessionStorage"in rB&&!!rB.sessionStorage}catch{return!1}}function iZ(e){return void 0!==e&&Math.random()<e}function i0(e){if(iJ())try{rB.sessionStorage.setItem(r$,JSON.stringify(e))}catch{}}function i1(e){let t=Date.now(),n=e.id||(0,V.uuid4)(),r=e.started||t,a=e.lastActivity||t,i=e.segmentId||0;return{id:n,started:r,lastActivity:a,segmentId:i,sampled:e.sampled,previousSessionId:e.previousSessionId}}function i2({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let a=i1({sampled:iZ(e)?"session":!!t&&"buffer",previousSessionId:r});return n&&i0(a),a}function i3(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function i4(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return i3(e.started,t,r)||i3(e.lastActivity,n,r)}function i5(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!i4(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function i8({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){let a=r.stickySession&&function(){if(!iJ())return null;try{let e=rB.sessionStorage.getItem(r$);if(!e)return null;let t=JSON.parse(e);return i$&&iG.infoTick("Loading existing session"),i1(t)}catch{return null}}();return a?i5(a,{sessionIdleExpire:e,maxReplayDuration:t})?(i$&&iG.infoTick("Session in sessionStorage is expired, creating new one..."),i2(r,{previousSessionId:a.id})):a:(i$&&iG.infoTick("Creating new session"),i2(r,{previousSessionId:n}))}function i6(e,t,n){return!!i9(e,t)&&(i7(e,t,n),!0)}
19async function i7(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;let a="buffer"===e.recordingMode;try{n&&a&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);let i=e.getOptions(),o=function(e,t){try{if("function"==typeof t&&e.type===aH.Custom)return t(e)}catch(e){return i$&&iG.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,i.beforeAddRecordingEvent);if(!o)return;return await r.addEvent(o)}catch(i){let t=i&&i instanceof iV;if(t&&a)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:t?"addEventSizeExceeded":"addEvent"});let n=(0,F.getClient)();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function i9(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=ib(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(i$&&iG.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function oe(e){return"transaction"===e.type}function ot(e){return"feedback"===e.type}function on(e){return!!e.category}function or(){let e=(0,F.getCurrentScope)().getPropagationContext().dsc;e&&delete e.replay_id;let t=(0,em.getActiveSpan)();if(t){let e=(0,es.getDynamicSamplingContextFromSpan)(t);delete e.replay_id}}function oa(e,t){return t.map(({type:t,start:n,end:r,name:a,data:i})=>{let o=e.throttledAddEvent({type:aH.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:a,startTimestamp:n,endTimestamp:r,data:i}}});return"string"==typeof o?Promise.resolve(null):o})}function oi(e,t){e.isEnabled()&&null!==t&&!function(e,t){var n,r,a,i,o;let l,s;if(i$&&e.getOptions()._experiments.traceInternals)return!1;return n=(0,F.getClient)(),l=n?.getDsn(),s=n?.getOptions().tunnel,r=t,!!(a=l)&&r.includes(a.host)||(i=t,!!(o=s)&&rD(i)===rD(o))}(e,t.name)&&e.addUpdate(()=>(oa(e,[t]),!0))}function oo(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=rj(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function ol(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function os(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function ou(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:a,method:i,statusCode:o,request:l,response:s}=t;return{type:e,start:n/1e3,end:r/1e3,name:a,data:{method:i,statusCode:o,request:l,response:s}}}function oc(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function od(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:a,warnings:i}=function(e){var t;let n,r;if(!e||"string"!=typeof e)return{body:e};let a=e.length>15e4,i=(n=(t=e)[0],r=t[t.length-1],"["===n&&"]"===r||"{"===n&&"}"===r);if(a){let t=e.slice(0,15e4);return i?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}â¦`,warnings:["TEXT_TRUNCATED"]}}if(i)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=a,i?.length&&(r._meta={warnings:i}),r}function of(e,t){return Object.entries(e).reduce((n,[r,a])=>{let i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=a),n},{})}function op(e,t){let n=function(e,t=rB.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(rB.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return(0,Y.stringMatchesSomePattern)(n,t)}async function oh(e,t,n){try{let r=await om(e,t,n),a=ou("resource.fetch",r);oi(n.replay,a)}catch(e){i$&&iG.exception(e,"Failed to capture fetch breadcrumb")}}async function om(e,t,n){let r=Date.now(),{startTimestamp:a=r,endTimestamp:i=r}=t,{url:o,method:l,status_code:s=0,request_body_size:u,response_body_size:c}=e.data,d=op(o,n.networkDetailAllowUrls)&&!op(o,n.networkDetailDenyUrls);return{startTimestamp:a,endTimestamp:i,url:o,method:l,statusCode:s,request:d?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){var a,i;let o=n?(a=n,i=t,1===a.length&&"string"!=typeof a[0]?ob(a[0],i):2===a.length?ob(a[1],i):{}):{};if(!e)return od(o,r,void 0);let[l,s]=rz(rF(n),iG),u=od(o,r,l);return s?os(u,s):u}(n,t.input,u):oc(u),response:await og(d,n,t.response,c)}}async function og(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,a){if(!e&&void 0!==a)return oc(a);let i=r?ov(r.headers,n):{};if(!r||!t&&void 0!==a)return od(i,a,void 0);let[o,l]=await oy(r),s=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:a}){try{let i=e?.length&&void 0===n?oo(e):n;if(!r)return oc(i);if(t)return od(a,i,e);return od(a,i,void 0)}catch(e){return i$&&iG.exception(e,"Failed to serialize response body"),od(a,n,void 0)}}(o,{networkCaptureBodies:t,responseBodySize:a,captureDetails:e,headers:i});return l?os(s,l):s}async function oy(e){let t=function(e){try{return e.clone()}catch(e){i$&&iG.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{var n;return[await (n=t,new Promise((e,t)=>
19{let r=tG(()=>t(Error("Timeout while trying to read response body")),500);o_(n).then(t=>e(t),e=>t(e)).finally(()=>clearTimeout(r))}))]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return i$&&iG.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return i$&&iG.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function ov(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function ob(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?ov(n,t):Array.isArray(n)?{}:of(n,t):{}}async function o_(e){return await e.text()}async function oS(e,t,n){try{let r=function(e,t,n){let r,a=Date.now(),{startTimestamp:i=a,endTimestamp:o=a,input:l,xhr:s}=t,{url:u,method:c,status_code:d=0,request_body_size:f,response_body_size:p}=e.data;if(!u)return null;if(!s||!op(u,n.networkDetailAllowUrls)||op(u,n.networkDetailDenyUrls)){let e=oc(f);return{startTimestamp:i,endTimestamp:o,url:u,method:c,statusCode:d,request:e,response:oc(p)}}let h=s[tc],m=h?of(h.request_headers,n.networkRequestHeaders):{},g=of((r=s.getAllResponseHeaders())?r.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{},n.networkResponseHeaders),[y,v]=n.networkCaptureBodies?rz(l,iG):[void 0],[b,_]=n.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{var n=e.response,r=e.responseType;try{if("string"==typeof n)return[n];if(n instanceof Document)return[n.body.outerHTML];if("json"===r&&n&&"object"==typeof n)return[JSON.stringify(n)];if(!n)return[void 0]}catch(e){return i$&&iG.exception(e,"Failed to serialize body",n),[void 0,"BODY_PARSE_ERROR"]}return i$&&iG.log("Skipping network body because of body type",n),[void 0,"UNPARSEABLE_BODY_TYPE"]}catch(e){t.push(e)}return i$&&iG.warn("Failed to get xhr response body",...t),[void 0]}(s):[void 0],S=od(m,f,y),E=od(g,p,b);return{startTimestamp:i,endTimestamp:o,url:u,method:c,statusCode:d,request:v?os(S,v):S,response:_?os(E,_):E}}(e,t,n),a=ou("resource.xhr",r);oi(n.replay,a)}catch(e){i$&&iG.exception(e,"Failed to capture xhr breadcrumb")}}async function oE(e){try{return Promise.all(oa(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,a=Date.now()/1e3;return{type:"memory",name:"memory",start:a,end:a,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}(rB.performance.memory)]))}catch{return[]}}let ow=D.GLOBAL_OBJ.navigator;async function oT({client:e,scope:t,replayId:n,event:r}){let a={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,a);let i=await (0,eh.prepareEvent)(e.getOptions(),r,a,t,e,(0,F.getIsolationScope)());if(!i)return null;e.emit("postprocessEvent",i,a),i.platform=i.platform||"javascript";let o=e.getSdkMetadata(),{name:l,version:s}=o?.sdk||{};return i.sdk={...i.sdk,name:l||"sentry.javascript.unknown",version:s||"0.0.0"},i}async function ok({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:a,session:i}){var o;let l,s=function({recordingData:e,headers:t}){let n,r=`${JSON.stringify(t)} 20`;if("string"==typeof e)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);(n=new Uint8Array(t.length+e.length)).set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:u,errorIds:c,traceIds:d,initialTimestamp:f}=r,p=(0,F.getClient)(),h=(0,F.getCurrentScope)(),m=p?.getTransport(),g=p?.getDsn();if(!p||!m||!g||!i.sampled)return(0,eg.resolvedSyncPromise)({});let y={type:"replay_event",replay_start_timestamp:f/1e3,timestamp:a/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:t,segment_id:n,replay_type:i.sampled},v=await oT({scope:h,client:p,replayId:t,event:y});if(!v)return p.recordDroppedEvent("event_processor","replay"),i$&&iG.log("An event processor returned `null`, will not send event."),(0,eg.resolvedSyncPromise)({});delete v.sdkProcessingMetadata;let b=(o=p.getOptions().tunnel,(0,eu.createEnvelope)((0,eu.createEventEnvelopeHeaders)(v,(0,eu.getSdkMetadataForEnvelopeHeader)(v),o,g),[[{type:"replay_event"},v],[{type:"replay_recording",length:"string"==typeof s?new TextEncoder().encode(s).length:s.length},s]]));try{l=await m.send(b)}catch(t){let e=Error(rH);try{e.cause=t}catch{}throw e}if("number"==typeof l.statusCode&&(l.statusCode<200||l.statusCode>=300))throw new oR(l.statusCode);let _=t$({},l);if(tB(_,"replay"))throw new ox(_);return l}
20class oR extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class ox extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function oP(e,t={count:0,interval:5e3}){let{recordingData:n,onError:r}=e;if(n.length)try{return await ok(e),!0}catch(n){if(n instanceof oR||n instanceof ox)throw n;if((0,z.setContext)("Replays",{_retryCount:t.count}),r&&r(n),t.count>=3){let e=Error(`${rH} - max retries exceeded`);try{e.cause=n}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{tG(async()=>{try{await oP(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}let oC="__THROTTLED";class oN{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,a,i,o=n?.maxWait?Math.max(n.maxWait,t):0,l=n?.setTimeoutImpl||setTimeout;function s(){return u(),r=e()}function u(){void 0!==a&&clearTimeout(a),void 0!==i&&clearTimeout(i),a=i=void 0}function c(){return a&&clearTimeout(a),a=l(s,t),o&&void 0===i&&(i=l(s,o)),r}return c.cancel=u,c.flush=function(){return void 0!==a||void 0!==i?s():r},c}(()=>this._flush(),this._options.flushMinDelay,{...{maxWait:this._options.flushMaxDelay},setTimeoutImpl:tG}),this._throttledAddEvent=function(e,t,n){let r=new Map,a=!1;return(...t)=>{let n,i=Math.floor(Date.now()/1e3);if(n=i-5,r.forEach((e,t)=>{t<n&&r.delete(t)}),[...r.values()].reduce((e,t)=>e+t,0)>=300){let e=a;return a=!0,e?"__SKIPPED":oC}a=!1;let o=r.get(i)||0;return r.set(i,o+1),e(...t)}}((e,t)=>i9(this,e)?i7(this,e,t):Promise.resolve(null),0,0);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),a=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(a&&(this.clickDetector=new iR(this,a)),i$){const t=e._experiments;iG.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===rB.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=iC({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=iC({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=function(e){var t;let{metaKey:n,shiftKey:r,ctrlKey:a,altKey:i,key:o,target:l}=e;if(!l||"INPUT"===(t=l).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!o)return null;let s=n||a||i,u=1===o.length;if(!s&&u)return null;let c=(0,eH.htmlTreeAsString)(l,{maxStringLength:200})||"<unknown>",d=iI(l,c);return iC({category:"ui.keyDown",message:c,data:{...d.data,metaKey:n,shiftKey:r,ctrlKey:a,altKey:i,key:o}})}(t);n&&iS(e,n)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){i$&&iG.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;if(this._requiresManualStart=r,!r){if(this._initializeSessionForSampling(e),!this.session){i$&&iG.exception(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",i$&&iG.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){i$&&iG.log("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){i$&&iG.log("Buffering is in progress, call `flush()` to save the replay");return}i$&&iG.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=i8({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}
20startBuffering(){if(this._isEnabled){i$&&iG.log("Buffering is in progress, call `flush()` to save the replay");return}i$&&iG.infoTick("Starting replay in buffer mode");let e=i8({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t,n=this._canvas;this._stopRecording=iv({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(n,r)=>{if(!e.checkAndHandleExpiredSession()){i$&&iG.warn("Received replay event after session expired.");return}let a=r||!t;t=!0,e.clickDetector&&function(e,t){try{var n;if(n=t,3!==n.type)return;let{source:r}=t.data;if(ik.has(r)&&e.registerMutation(t.timestamp),r===aW.Scroll&&e.registerScroll(t.timestamp),t.data.source===aW.MouseInteraction){let{type:n,id:r}=t.data,a=iv.mirror.getNode(r);a instanceof HTMLElement&&n===aq.Click&&e.registerClick(a)}}catch{}}(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&a&&e.setInitialState(),!i6(e,n,a))return!0;if(!a)return!1;let t=e.session;if(function(e,t){if(t&&e.session&&0===e.session.segmentId){let t;i6(e,(t=e.getOptions(),{type:aH.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}),!1)}}(e,a),"buffer"===e.recordingMode&&t&&e.eventBuffer){let n=e.eventBuffer.getEarliestTimestamp();n&&(i$&&iG.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&i0(t))}return!!t?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(ow?.userAgent??"")||/Macintosh/i.test(ow?.userAgent??"")&&ow?.maxTouchPoints&&ow?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...n?{recordCanvas:n.recordCanvas,getCanvasManager:n.getCanvasManager,sampling:n.sampling,dataURLOptions:n.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{i$&&iG.log(`Stopping Replay${t?` triggered by ${t}`:""}`),or(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(iJ())try{rB.sessionStorage.removeItem(r$)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),i$&&iG.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),i$&&iG.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();i$&&iG.log("Converting buffer to session"),await this.flushImmediate();let n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session?.id}
20checkAndHandleExpiredSession(){return this._lastActivity&&i3(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled?void this.pause():!!this._checkSession()}setInitialState(){let e=`${rB.location.pathname}${rB.location.hash}${rB.location.search}`,t=`${rB.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===oC){let e=iC({category:"replay.throttled"});this.addUpdate(()=>!i6(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||(0,em.getActiveSpan)(),t=e&&(0,em.getRootSpan)(e),n=(t&&(0,em.spanToJSON)(t).data||{})[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if(t&&n&&["route","custom"].includes(n))return(0,em.spanToJSON)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||function(){if("undefined"==typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__){let e;return e=new Blob(['
vendor: 10,329 bytes, line 20
20var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
20']),URL.createObjectURL(e)}return""}();if(!t)return;i$&&iG.log(`Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new iQ(n)}catch(e){i$&&iG.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return i$&&iG.log("Using simple buffer"),new iY}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=i8({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!i5(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{rB.document.addEventListener("visibilitychange",this._handleVisibilityChange),rB.addEventListener("blur",this._handleWindowBlur),rB.addEventListener("focus",this._handleWindowFocus),rB.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){let t,n=(0,F.getClient)();tl(t=>{var n,r;if(!e.isEnabled())return;let a=function(e){let{target:t,message:n}=function(e){let t,n="click"===e.name,r=null;try{r=n?iw(e.event):iT(e.event),t=(0,eH.htmlTreeAsString)(r,{maxStringLength:200})||"<unknown>"}catch{t="<unknown>"}return{target:r,message:t}}(e);return iC({category:`ui.${e.name}`,...iI(t,n)})}(t);if(!a)return;let i="click"===t.name,o=i?t.event:void 0;i&&e.clickDetector&&o?.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&(n=e.clickDetector,r=iw(t.event),n.handleClick(a,r)),iS(e,a)}),tp(t=>{if(!e.isEnabled())return;let n=function(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(oa(e,[n]),!1)))}),(t=(0,F.getClient)())&&t.on("beforeAddBreadcrumb",t=>(function(e,t){var n;if(!e.isEnabled()||!on(t))return;let r=(n=t,!on(n)||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui.")?null:"console"===n.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return iC(e);let n=!1,r=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(n=!0,`${e.slice(0,5e3)}â¦`):e;if("object"==typeof e)try{let t=(0,eL.normalize)(e,7);if(JSON.stringify(t).length>5e3)return n=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}â¦`;return t}catch{}return e});return iC({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):iC(n));r&&iS(e,r)})(e,t));let r=(0,F.getClient)();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:a,networkRequestHeaders:i,networkResponseHeaders:o}=e.getOptions(),l={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:a,networkRequestHeaders:i,networkResponseHeaders:o};r&&r.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,n){if(t.data)try{var r,a,i,o;r=t,"xhr"===r.category&&(a=n,a?.xhr)&&(!function(e,t){let{xhr:n,input:r}=t;if(!n)return;let a=oo(r),i=n.getResponseHeader("content-length")?ol(n.getResponseHeader("content-length")):function(e,t){try{let n="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return oo(n)}catch{return}}(n.response,n.responseType);void 0!==a&&(e.data.request_body_size=a),void 0!==i&&(e.data.response_body_size=i)}(t,n),oS(t,n,e)),i=t,"fetch"===i.category&&(o=n,o?.response)&&(!function(e,t){let{input:n,response:r}=t,a=oo(n?rF(n):void 0),i=r?ol(r.headers.get("content-length")):void 0;void 0!==a&&(e.data.request_body_size=a),void 0!==i&&(e.data.response_body_size=i)}(t,n),oh(t,n,e))}
20catch(e){i$&&iG.exception(e,"Error when enriching network breadcrumb")}})(l,e,t))}catch{}let a=Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:"replay_event"===t.type?(delete t.breadcrumbs,t):!t.type||oe(t)||ot(t)?e.checkAndHandleExpiredSession()?ot(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:aH.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t):!t.type&&t.exception?.values?.length&&n.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions?(i$&&iG.log("Ignoring error from rrweb internals",t),null):(("buffer"===e.recordingMode&&t.message!==rH&&t.exception&&!t.type&&iZ(e.getOptions().errorSampleRate)||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):(or(),t):t,{id:"Replay"});(0,z.addEventProcessor)(a),n&&(n.on("beforeSendEvent",t=>{var n,r;let a;e.isEnabled()&&!t.type&&(n=e,r=t,a=r.exception?.values?.[0]?.value,"string"==typeof a&&(a.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||a.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&iS(n,iC({category:"replay.hydrate-error",data:{url:(0,eH.getLocationHref)()}})))}),n.on("afterSendEvent",(t,n)=>{if(!e.isEnabled()||t.type&&!oe(t))return;let r=n?.statusCode;if(r&&!(r<200)&&!(r>=300)){if(oe(t)){var a,i;let n;return void(a=e,i=t,n=a.getContext(),i.contexts?.trace?.trace_id&&n.traceIds.size<100&&n.traceIds.add(i.contexts.trace.trace_id))}!function(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&tG(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t)}}),n.on("createDsc",t=>{let n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),n.on("spanStart",t=>{e.lastActiveSpan=t}),n.on("spanEnd",t=>{e.lastActiveSpan=t}),n.on("beforeSendFeedback",async(t,n)=>{let r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),n.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(nA(e,n))}),r.push(nN(iM(iU,e)),nC(iM(ij,e)),nO(iM(iz,e)),nI(iM(iF,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{rB.document.removeEventListener("visibilitychange",this._handleVisibilityChange),rB.removeEventListener("blur",this._handleWindowBlur),rB.removeEventListener("focus",this._handleWindowFocus),rB.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){!this.session||i4(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){i$&&iG.log("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:aH.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(iL).filter(
20Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(oa(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){i$&&iG.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents){if((await oE(this),this.eventBuffer)&&e===this.getSessionId())try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let a=await this.eventBuffer.finish();await oP({replayId:e,recordingData:a,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendReplay"});let e=(0,F.getClient)();e&&e.recordDroppedEvent(t instanceof ox?"ratelimit_backoff":"send_error","replay")}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){i$&&iG.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,a=n>this._options.maxReplayDuration+5e3;if(r||a){i$&&iG.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),r&&this._debouncedFlush();return}let i=this.eventBuffer;i&&0===this.session.segmentId&&!i.hasCheckout&&i$&&iG.log("Flushing initial segment without checkout.");let o=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,o&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&i0(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let n=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=t.join(",");return n?.matches(r)}))return!1;let n=e.length,r=this._options.mutationLimit,a=this._options.mutationBreadcrumbLimit,i=r&&n>r;if(n>a||i){let e=iC({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function oO(e,t){return[...e,...t].join(",")}let oI='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',oA=["content-length","content-type","accept"],oM=!1;function oL(e){return[...oA,...e.map(e=>e.toLowerCase())]}var oD=e.i(553665);globalThis._sentryRouteManifest='{"dynamicRoutes":[],"staticRoutes":[{"path":"/"},{"path":"/sentry-example-page"},{"path":"/borrow"},{"path":"/but"},{"path":"/dashboard"},{"path":"/earn"},{"path":"/earn/leverage"},{"path":"/earn/stable"},{"path":"/market"},{"path":"/referral"}]}',!function(e){let t,n,r,a,i,o,l;rM&&(0,B.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),rM=!0;let s={environment:(t="production",`vercel-${t}`||"production"),defaultIntegrations:(r=tY(e),("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&r.push(function(e={}){let t=((e={})=>{let t,n,r={name:void 0,source:void 0},a=eW.document,{enableInp:i,enableElementTiming:o,enableLongTask:l,enableLongAnimationFrame:s,_experiments:{enableInteractions:u,enableStandaloneClsSpans:d,enableStandaloneLcpSpans:h},beforeStartSpan:m,idleTimeout:g,finalTimeout:y,childSpanTimeout:v,markBackgroun
20dSpan:b,traceFetch:_,traceXHR:S,trackFetchStreamPerformance:E,shouldCreateSpanForRequest:w,enableHTTPTimings:T,ignoreResourceSpans:k,ignorePerformanceApiSpans:R,instrumentPageLoad:x,instrumentNavigation:P,detectRedirects:C,linkPreviousTrace:N,consistentTraceSampling:O,onRequestSpanStart:I}={...ru,...e};function A(e,n,i=!0){let o="pageload"===n.op,l=m?m(n):n,s=l.attributes||{};if(n.name!==l.name&&(s[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom",l.attributes=s),!i){let e=(0,ec.dateTimestampInSeconds)();(0,t0.startInactiveSpan)({...l,startTime:e}).end(e);return}r.name=l.name,r.source=s[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let u=t2(l,{idleTimeout:g,finalTimeout:y,childSpanTimeout:v,disableAutoFinish:o,beforeSpanEnd:n=>{t?.(),function(e,t){let n=nG(),r=(0,ec.browserPerformanceTimeOrigin)();if(!n?.getEntries||!r)return;let a=nV(r),i=n.getEntries(),{op:o,start_timestamp:l}=(0,em.spanToJSON)(e);if(i.slice(n2).forEach(n=>{let r=nV(n.startTime),i=nV(Math.max(0,n.duration));if("navigation"!==o||!l||!(a+r<l))switch(n.entryType){case"navigation":var s,u,c,d,f,p;let h,m,g;s=e,u=n,c=a,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{n4(s,u,e,c)}),n4(s,u,"secureConnection",c,"TLS/SSL"),n4(s,u,"fetch",c,"cache"),n4(s,u,"domainLookup",c,"DNS"),d=s,f=u,h=(p=c)+nV(f.requestStart),m=p+nV(f.responseEnd),g=p+nV(f.responseStart),f.responseEnd&&(nW(d,h,m,{op:"browser.request",name:f.name,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),nW(d,g,m,{op:"browser.response",name:f.name,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":{!function(e,t,n,r,a,i){if(["mark","measure"].includes(t.entryType)&&(0,Y.stringMatchesSomePattern)(t.name,i))return;let o=t6(!1),l=a+Math.max(n,nV(o?o.requestStart:0)),s=a+n,u=s+r,c={[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};l!==s&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=l),function(e,t){try{let n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&(0,ed.isPrimitive)(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if((0,ed.isPrimitive)(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}(c,t),l<=u&&nW(e,l,u,{name:t.name,op:t.entryType,attributes:c})}(e,n,r,i,a,t.ignorePerformanceApiSpans);let o=ns(),l=n.startTime<o.firstHiddenTime;"first-paint"===n.name&&l&&(n3.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&l&&(n3.fcp={value:n.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,a,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let l=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o?.includes(l))return;let s=ta(n),u={[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};n5(u,t,"transferSize","http.response_transfer_size"),n5(u,t,"encodedBodySize","http.response_content_length"),n5(u,t,"decodedBodySize","http.decoded_response_content_length");let c=t.deliveryType;null!=c&&(u["http.response_delivery_type"]=c);let d=t.renderBlockingStatus;if(d&&(u["resource.render_blocking_status"]=d),s.protocol&&(u["url.scheme"]=s.protocol.split(":").pop()),s.host&&(u["server.address"]=s.host),u["url.same_origin"]=n.includes(to.location.origin),null!=t.nextHopProtocol){let{name:e,version:n}=nY(t.nextHopProtocol);u["network.protocol.name"]=e,u["network.protocol.version"]=n}let f=i+r;nW(e,f,f+a,{name:n.replace(to.location.origin,""),op:l,attributes:u})}(e,n,n.name,r,i,a,t.ignoreResourceSpans)}}),n2=Math.max(i.length-1,0),function(e){let t=to.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),nH(n.rtt)&&(n3["connection.rtt"]={value:n.rtt,unit:"millisecond"})),nH(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),nH(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===o){var s,u;!function(e){let t=t6(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(n3);let n=n3["mark.fid"];n&&n3.fid&&(nW(e,n.value,n.value+nV(n3.fid.value),{name:"first input delay",op:"ui.action",attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),delete n3["mark.fid"]),t.recordClsOnPageloadSpan||delete n3.cls,t.recordLcpOnPageloadSpan||delete n3.lcp,Object.entries(n3).forEach(([e,t])=>{(0,n1.setMeasurement)(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",a),e.setAttribute("performance.activationStart",t7()),s=e,u=t,f&&u.recordLcpOnPageloadSpan&&(f.element&&s.setAttribute("lcp.element",(0,eH.htmlTreeAsString)(f.element)),f.id&&s.setAttribute("lcp.id",f.id),f.url&&s.setAttribute("lcp.url",f.url.trim().slice(0,200)),null!=f.loadTime&&s.setAttribute("lcp.loadTime",f.loadTime),null!=f.renderTime&&s.setAttribute("lcp.renderTime",f.renderTime),s.setAttribute("lcp.size",f.size)),p?.sources&&u.recordClsOnPageloadSpan&&p.sources.forEac
20h((e,t)=>s.setAttribute(`cls.source.${t+1}`,(0,eH.htmlTreeAsString)(e.node)))}f=void 0,p=void 0,n3={}}(n,{recordClsOnPageloadSpan:!d,recordLcpOnPageloadSpan:!h,ignoreResourceSpans:k,ignorePerformanceApiSpans:R}),rh(e,void 0);let r=(0,F.getCurrentScope)(),a=r.getPropagationContext();r.setPropagationContext({...a,traceId:u.spanContext().traceId,sampled:(0,em.spanIsSampled)(u),dsc:(0,es.getDynamicSamplingContextFromSpan)(n)})}});function c(){a&&["interactive","complete"].includes(a.readyState)&&e.emit("idleSpanEnableAutoFinish",u)}rh(e,u),o&&a&&(a.addEventListener("readystatechange",()=>{c()}),c())}return{name:"BrowserTracing",setup(e){function r(){let e=(0,em.getActiveSpan)(),t=e&&(0,em.getRootSpan)(e);if(t){let e="internal_error";$.DEBUG_BUILD&&B.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:tZ.SPAN_STATUS_ERROR,message:e})}}if(t3||(r.tag="sentry_tracingErrorCallback",t3=!0,tS(r),tT(r)),t=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=nG();if(r&&(0,ec.browserPerformanceTimeOrigin)()){r.mark&&to.performance.mark("sentry-tracing-init");let a=nO(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=nV((0,ec.browserPerformanceTimeOrigin)()),r=nV(t.startTime);n3.fid={value:e.value,unit:"millisecond"},n3["mark.fid"]={value:n+r,unit:"second"}}),i=t?function(e){let t,n=0;if(!nX("largest-contentful-paint"))return;let r=nN(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);nK(e,(e,a)=>{var i,o,l,s;let u,c,d,f,p;i=n,o=t,l=a,s=e,tH&&B.debug.log(`Sending LCP span (${i})`),u=nV(((0,ec.browserPerformanceTimeOrigin)()||0)+(o?.startTime||0)),c=(0,F.getCurrentScope)().getScopeData().transactionName,d=o?(0,eH.htmlTreeAsString)(o.element):"Largest contentful paint",f={[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[ey.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":l,"sentry.report_event":s},o&&(o.element&&(f["lcp.element"]=(0,eH.htmlTreeAsString)(o.element)),o.id&&(f["lcp.id"]=o.id),o.url&&(f["lcp.url"]=o.url.trim().slice(0,200)),null!=o.loadTime&&(f["lcp.loadTime"]=o.loadTime),null!=o.renderTime&&(f["lcp.renderTime"]=o.renderTime),null!=o.size&&(f["lcp.size"]=o.size)),(p=nq({name:d,transaction:c,attributes:f,startTime:u}))&&(p.addEvent("lcp",{[ey.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[ey.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:i}),p.end(u)),r()})}(n):nN(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(n3.lcp={value:e.value,unit:"millisecond"},f=t)},!0),o=nF("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(n3.ttfb={value:e.value,unit:"millisecond"})},nj,c),l=e?function(e){let t,n=0;if(!nX("layout-shift"))return;let r=nC(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);nK(e,(e,a)=>{var i,o,l,s;let u,c,d,f,p;i=n,o=t,l=a,s=e,tH&&B.debug.log(`Sending CLS span (${i})`),u=nV(((0,ec.browserPerformanceTimeOrigin)()||0)+(o?.startTime||0)),c=(0,F.getCurrentScope)().getScopeData().transactionName,d=o?(0,eH.htmlTreeAsString)(o.sources[0]?.node):"Layout shift",f={[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[ey.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:o?.duration||0,"sentry.pageload.span_id":l,"sentry.report_event":s},o?.sources&&o.sources.forEach((e,t)=>{f[`cls.source.${t+1}`]=(0,eH.htmlTreeAsString)(e.node)}),(p=nq({name:d,transaction:c,attributes:f,startTime:u}))&&(p.addEvent("cls",{[ey.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[ey.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:i}),p.end(u)),r()})}(n):nC(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(n3.cls={value:e.value,unit:""},p=t)},!0);return()=>{a(),i?.(),o(),l?.()}}return()=>void 0}({recordClsStandaloneSpans:d||!1,recordLcpStandaloneSpans:h||!1,client:e}),i&&function(){if(nG()&&(0,ec.browserPerformanceTimeOrigin)()){let e=nI(n0);()=>{e()}}}(),o&&nG()&&(0,ec.browserPerformanceTimeOrigin)()&&nA("element",n8),s&&D.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=(0,em.getActiveSpan)();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=nV((0,ec.browserPerformanceTimeOrigin)()+n.startTime),{start_timestamp:r,op:a}=(0,em.spanToJSON)(t);if("navigation"===a&&r&&e<r)continue;let i=nV(n.duration),o={[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},{invoker:l,invokerType:s,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=n.scripts[0];o["browser.script.invoker"]=l,o["browser.script.invoker_type"]=s,u&&(o["code.filepath"]=u),c&&(o["code.function"]=c),-1!==d&&(o["browser.script.source_char_position"]=d),nW(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):l&&nA("longtask",({entries:e})=>{let t=(0,em.getActiveSpan)();if(!t)return;let{op:n,start_timestamp:r}=(0,em.spanToJSON)(t);for(let a of e){let e=nV((0,ec.browserPerformanceTimeOrigin)()+a.startTime),i=nV(a.duration);"navigation"===n&&r&&e<r||nW(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}}),u&&nA("event",({entries:e})=>{let t=(0,em.getActiveSpan)();if(t){for(let n of e)if("click"===n.name){let e=nV((0,ec.browserPerformanceTimeOrigin)()+n.startTime),r=nV(n.duration),a={name:(0,eH.htmlTreeAsString)(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},i=(0,eH.getComponentName)(n.target);i&&(a.attributes["ui.component_name"]=i),nW(t,e,e+r,a)}}}),C&&a){let e=()=>{n=(0,ec.timestampInSeconds)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function m(){let t=e[rp];t&&!(0,em.spanToJSON)(t).timestamp&&(tm&&B.debug.log(`[Tracing] Finishing current active span with op: ${(0,em.spanToJSON)(t).op}`),t.setAttribute(ey.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),t.end())}e.on("startNavigationSpan",(t,n)=>{if((0,F.getClient)()!==e)return;if(n?.isRedirect){tm&&B.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),A(e,{op:"navigation.redirect",...t},!1);return}m(),(0,F.getIsolationScope)().setPropagationContext({traceId:(0,t4.generateTraceId)(),sampleRand:Math.random()});let r=(0,F.getCurrentScope)();r.setPropagationContext({traceId:(0,t4.generateTraceId)(),sampleRand:Math.random()}),r.setSDKProcessingMetadata({normalizedRequest:void 0}),A(e,{op:"navigation",...t})}),e.on("startPageLoadSpan",(t,n={})=>
20{if((0,F.getClient)()!==e)return;m();let r=n.sentryTrace||rf("sentry-trace"),a=n.baggage||rf("baggage"),i=(0,t5.propagationContextFromHeaders)(r,a),o=(0,F.getCurrentScope)();o.setPropagationContext(i),o.setSDKProcessingMetadata({normalizedRequest:eV()}),A(e,{op:"pageload",...t})})},afterAllSetup(e){var t,a,o,l,s;let c,d,f=(0,eH.getLocationHref)();if("off"!==N&&function(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r="session-storage"===t,a=r?function(){try{let e=eW.sessionStorage?.getItem(n6);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,em.getRootSpan)(e)!==e)return;let t=(0,F.getCurrentScope)().getPropagationContext();a=function(e,t,n){let r=(0,em.spanToJSON)(t),a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[ey.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])}catch{return 0}}(),sampleRand:n.sampleRand};if(!e)return a;let i=e.spanContext;return i.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(tm&&B.debug.log(`Adding previous_trace ${i} link to span ${{op:r.op,...t.spanContext()}}`),t.addLink({context:i,attributes:{[ey.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${i.traceId}-${i.spanId}-${+!!n7(i)}`)),a)}(a,e,t),r&&function(e){try{eW.sessionStorage.setItem(n6,JSON.stringify(e))}catch(e){tm&&B.debug.warn("Could not store previous trace in sessionStorage",e)}}(a)});let i=!0;n&&e.on("beforeSampling",e=>{if(!a)return;let t=(0,F.getCurrentScope)(),n=t.getPropagationContext();if(i&&n.parentSpanId){i=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(a.sampleRate),sampled:String(n7(a.spanContext))},sampleRand:a.sampleRand}),e.parentSampled=n7(a.spanContext),e.parentSampleRate=a.sampleRate,e.spanAttributes={...e.spanAttributes,[ey.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:a.sampleRate}})}(e,{linkPreviousTrace:N,consistentTraceSampling:O}),eW.location){if(x){let t=(0,ec.browserPerformanceTimeOrigin)();rc(e,{name:eW.location.pathname,startTime:t?t/1e3:void 0,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}P&&tp(({to:t,from:r})=>{var a,i;let o,l;if(void 0===r&&f?.indexOf(t)!==-1){f=void 0;return}f=void 0;let s=tr(t),u=e[rp],c=u&&C&&(a=u,i=n,o=(0,em.spanToJSON)(a),!((l=(0,ec.dateTimestampInSeconds)())-o.start_timestamp>.3)&&(!i||!(l-i<=.3)));rd(e,{name:s?.pathname||eW.location.pathname,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:t,isRedirect:c})})}b&&(eW.document?eW.document.addEventListener("visibilitychange",()=>{let e=(0,em.getActiveSpan)();if(!e)return;let t=(0,em.getRootSpan)(e);if(eW.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,em.spanToJSON)(t);tm&&B.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:tZ.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):tm&&B.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")),u&&(t=e,a=g,o=y,l=v,s=r,eW.document&&addEventListener("click",()=>{let e="ui.action.click",n=t[rp];if(n&&["navigation","pageload"].includes((0,em.spanToJSON)(n).op)){tm&&B.debug.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(c&&(c.setAttribute(ey.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),c.end(),c=void 0),!s.name){tm&&B.debug.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}c=t2({name:s.name,op:e,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s.source||"url"}},{idleTimeout:a,finalTimeout:o,childSpanTimeout:l})},{capture:!0})),i&&(nA("event",d=({entries:e})=>{let t=(0,em.getActiveSpan)(),n=t&&(0,em.getRootSpan)(t);e.forEach(e=>{if(!("duration"in e)||!n)return;let t=e.interactionId;if(null!=t&&!nJ.has(t)){if(nQ.length>10){let e=nQ.shift();nJ.delete(e)}nQ.push(t),nJ.set(t,n)}})}),nA("first-input",d)),function(e,t){let{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:l,onRequestSpanStart:s}={...ro,...t},u="function"==typeof i?i:e=>
20!0,c=e=>(function(e,t){let n=(0,eH.getLocationHref)();if(n){let r,a;try{r=new URL(e,n),a=new URL(n).origin}catch{return!1}let i=r.origin===a;return t?(0,Y.stringMatchesSomePattern)(r.toString(),t)||i&&(0,Y.stringMatchesSomePattern)(r.pathname,t):i}{let n=!!e.match(/^\/(?!\/)/);return t?(0,Y.stringMatchesSomePattern)(e,t):n}})(e,l),d={};if(n){let t;e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=ri.get(e.span_id);t&&(e.timestamp=t/1e3,ri.delete(e.span_id))}}),e)),a&&(eQ(t="fetch-body-resolved",e=>{if(e.response){let t=ra.get(e.response);t&&e.endTimestamp&&ri.set(t,e.endTimestamp)}}),eJ(t,()=>e4(e8))),e3(e=>{let t=function(e,t,n,r,a="auto.http.browser"){var i,o,l,s,u,c,d;let f,p;if(!e.fetchData)return;let{method:h,url:m}=e.fetchData,g=(0,tK.hasSpansEnabled)()&&t(m);if(e.endTimestamp&&g){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(function(e,t){if(t.response){(0,tZ.setHttpStatus)(e,t.response.status);let n=t.response?.headers?.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:tZ.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(n,e),delete r[t]);return}let y=!!(0,em.getActiveSpan)(),v=g&&y?(0,t0.startInactiveSpan)((i=m,o=h,l=a,{name:(f=tr(i))?`${o} ${function(e){if(tn(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}(f)}`:o,attributes:(s=i,u=f,c=o,d=l,p={url:s,type:"fetch","http.method":c,[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:d,[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"},u&&(tn(u)||(p["http.url"]=u.href,p["server.address"]=u.host),u.search&&(p["http.query"]=u.search),u.hash&&(p["http.fragment"]=u.hash)),p)})):new tQ.SentryNonRecordingSpan;if(e.fetchData.__span=v.spanContext().spanId,r[v.spanContext().spanId]=v,n(e.fetchData.url)){let t=e.args[0],n=e.args[1]||{},r=function(e,t,n){var r;let a=rt({span:n}),i=a["sentry-trace"],o=a.baggage;if(!i)return;let l=t.headers||((0,ed.isRequest)(e)?e.headers:void 0);if(!l)return{...a};if(r=l,"undefined"!=typeof Headers&&(0,ed.isInstanceOf)(r,Headers)){let e=new Headers(l);if(e.get("sentry-trace")||e.set("sentry-trace",i),o){let t=e.get("baggage");t?rn(t)||e.set("baggage",`${t},${o}`):e.set("baggage",o)}return e}if(Array.isArray(l)){let e=[...l];l.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",i]);let t=l.find(e=>"baggage"===e[0]&&rn(e[1]));return o&&!t&&e.push(["baggage",o]),e}{let e="sentry-trace"in l?l["sentry-trace"]:void 0,t="baggage"in l?l.baggage:void 0,n=t?Array.isArray(t)?[...t]:[t]:[],r=t&&(Array.isArray(t)?t.find(e=>rn(e)):rn(t));return o&&!r&&n.push(o),{...l,"sentry-trace":e??i,baggage:n.length>0?n.join(","):void 0}}}(t,n,(0,tK.hasSpansEnabled)()&&y?v:void 0);r&&(e.args[1]=n,n.headers=r)}let b=(0,F.getClient)();if(b){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};b.emit("beforeOutgoingRequestSpan",v,t)}return v}(e,u,c,d);if(e.response&&e.fetchData.__span&&ra.set(e.response,e.fetchData.__span),t){let n=rs(e.fetchData.url),r=n?ta(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r}),o&&rl(t),s?.(t,{headers:e.headers})}})}r&&td(e=>{let t=function(e,t,n,r){let a=e.xhr,i=a?.[tc];if(!a||a.__sentry_own_request__||!i)return;let{url:o,method:l}=i,s=(0,tK.hasSpansEnabled)()&&t(o);if(e.endTimestamp&&s){let e=a.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&void 0!==i.status_code&&((0,tZ.setHttpStatus)(t,i.status_code),t.end(),delete r[e]);return}let u=rs(o),c=u?ta(u):ta(o),d=ti(o),f=!!(0,em.getActiveSpan)(),p=s&&f?(0,t0.startInactiveSpan)({name:`${l} ${d}`,attributes:{url:o,type:"xhr","http.method":l,"http.url":u,"server.address":c?.host,[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...c?.search&&{"http.query":c?.search},...c?.hash&&{"http.fragment":c?.hash}}}):new tQ.SentryNonRecordingSpan;a.__sentry_xhr_span_id__=p.spanContext().spanId,r[a.__sentry_xhr_span_id__]=p,n(o)&&function(e,t){let{"sentry-trace":n,baggage:r}=rt({span:t});n&&function(e,t,n){let r=e.__sentry_xhr_v3__?.request_headers;if(!r?.["sentry-trace"])try{if(e.setRequestHeader("sentry-trace",t),n){let t=r?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,n,r)}(a,(0,tK.hasSpansEnabled)()&&f?p:void 0);let h=(0,F.getClient)();return h&&h.emit("beforeOutgoingRequestSpan",p,e),p}(e,u,c,d);if(t){let n;o&&rl(t);try{n=new Headers(e.xhr.__sentry_xhr_v3__?.request_headers)}catch{}s?.(t,{headers:n})}})}(e,{traceFetch:_,traceXHR:S,trackFetchStreamPerformance:E,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:w,enableHTTPTimings:T,onRequestSpanStart:I})}}})({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[n,{headers:r}]=t;return r?.get("next-router-prefetch")&&n?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){r&&function(e){if(eW.document.getElementById("__NEXT_DATA__"))rN.events.on("routeChangeStart",t=>{let n,r,a=ti(t),i=function(e){let t=eW.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let n,r,a,i=(n=t.split("/"),r="",n[n.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(n.pop(),r="(?:/(.+?))?"),a=n.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),RegExp(`^${a}${r}(?:/)?$`));return e.match(i)})}(a);i?(n=i,r="route"):(n=a,r="url"),rd(e,{name:n,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.pages_router_instrumentation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r}})});else{let t,n,r;S=(t,n)=>{let r=new URL(t,eW.location.href).pathname,a=rS(r),i=a??r;"router-patch"===rw&&(rw="transition-start-hook");let o=rT.current;o?(o.updateName(i),o.setAttributes({"navigation.type":`router.${n}`,[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:a?"route":"url"}),rT.current=void 0):rd(e,{name:i,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:a?"route":"url","navigation.type":`router.${n}`}})},eW.addEventListener("popstate",()=>{let t=rS(eW.location.pathname);rT.current?.isRecording()?(rT.current.updateName(t??eW.location.pathname),rT.current.setAttribute(ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,t?"route":"url")):rT.current=rd(e,{name:t??eW.location.pathname,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url","navigation.type":"browser.popstate"}})}),t=!1,n=0,r=setInterval(()=>{n++;let a=rk?.next?.router??rk?.nd?.router;t||n>500?clearInterval(r):a&&(clearInterval(r),t=!0,rP(e,a,rT),["nd","next"].forEach(t=>{let n=rk[t];
20n&&(rk[t]=new Proxy(n,{set:(t,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&rP(e,r,rT),t[n]=r,!0)}))}))},20)}}(e),t.afterAllSetup(e),n&&function(e){if(eW.document.getElementById("__NEXT_DATA__"))!function(e){let{route:t,params:n,sentryTrace:r,baggage:a}=function(){let e,t=eW.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{rm&&B.debug.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:a,props:i}=e;return n.route=r,n.params=a,i?.pageProps&&(n.sentryTrace=i.pageProps._sentryTraceData,n.baggage=i.pageProps._sentryBaggage),n}(),i=(0,n9.parseBaggageHeader)(a),o=t||eW.location.pathname;i?.["sentry-transaction"]&&"/_error"===o&&(o=(o=i["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let l=(0,ec.browserPerformanceTimeOrigin)();rc(e,{name:o,startTime:l?l/1e3:void 0,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.pages_router_instrumentation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:a})}(e);else{let t,n;t=rS(eW.location.pathname),n=(0,ec.browserPerformanceTimeOrigin)(),rc(e,{name:t??eW.location.pathname,startTime:n?n/1e3:void 0,attributes:{[ey.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[ey.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.app_router_instrumentation",[ey.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url"}})}}(e)}}}()),a=rL._sentryRewriteFramesAssetPrefixPath||"",i=L.default.env._sentryAssetPrefix||rL._sentryAssetPrefix,o=L.default.env._sentryBasePath||rL._sentryBasePath,l="true"===L.default.env._experimentalThirdPartyOriginStackFrames||"true"===rL._experimentalThirdPartyOriginStackFrames,r.push((({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:r})=>({...((e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in D.GLOBAL_OBJ&&!!D.GLOBAL_OBJ.window,a=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let a=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),i=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(a||i){let e,i,o=a?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,l=t?function(e,t){e=rI(e).slice(1),t=rI(t).slice(1);let n=rA(e.split("/")),r=rA(t.split("/")),a=Math.min(n.length,r.length),i=a;for(let e=0;e<a;e++)if(n[e]!==r[e]){i=e;break}let o=[];for(let e=i;e<n.length;e++)o.push("..");return(o=o.concat(r.slice(i))).join("/")}(t,o):(e=o.length>1024?`<truncated>${o.slice(-1024)}`:o,(i=rO.exec(e))?i.slice(1):[])[2]||"";r.filename=`${n}${l}`}return r}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>a(e))}}}})}}}catch{return e}}(t)),t}}})({iteratee:a=>{if(r){let n="undefined"!=typeof window&&window.location?window.location.origin:"";if(a.filename?.startsWith(n)&&!a.filename.endsWith(".js"))return a;if(e)a.filename?.startsWith(e)&&(a.filename=a.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(a.filename);e===n&&(a.filename=a.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(a.filename);a.filename=a.filename?.replace(e,"app://").replace(n,"")}catch{}return r?(a.filename?.includes("/_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)):(a.filename?.startsWith("app:///_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)),a}}),name:"NextjsClientStackFrameNormalization"}))({assetPrefix:i,basePath:o,rewriteFramesAssetPrefixPath:a,experimentalThirdPartyOriginStackFrames:l})),r),release:"7d8e04e0bc78aee2b9a3ab8fe2abf8450cb838ab",...e};!function(e){let t="/monitoring";if(t&&e.dsn){let n=(0,ea.dsnFromString)(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let a=r[1],i=r[2],o=`${t}?o=${a}&p=${n.projectId}`;i&&(o+=`&r=${i}`),e.tunnel=o,rm&&B.debug.log(`Tunneling events to "${o}"`)}else rm&&B.debug.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(s),j(s,"nextjs",["nextjs","react"]),j(n={...s}
20,"react"),(0,z.setContext)("react",{version:tX.version}),function(e={}){var t;let n,r=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===eW.window||eW.nw)return!1;let e=eW.chrome||eW.browser;if(!e?.runtime?.id)return!1;let t=(0,eH.getLocationHref)();return!(eW===eW.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(e=>t.startsWith(`${e}://`)))}()&&(tm&&(0,B.consoleSandbox)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),a={...e,enabled:!r&&e.enabled,stackParser:(0,ee.stackParserFromStackParserOptions)(e.stackParser||tj),integrations:function(e){let t,n,r=e.defaultIntegrations||[],a=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(a))t=[...r,...a];else if("function"==typeof a){let e=a(r);t=Array.isArray(e)?e:[e]}else t=r;return n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)}({integrations:e.integrations,defaultIntegrations:null==e.defaultIntegrations?tY():e.defaultIntegrations}),transport:e.transport||tV};!0===a.debug&&($.DEBUG_BUILD?B.debug.enable():(0,B.consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,F.getCurrentScope)().update(a.initialScope),t=n=new eY(a),(0,F.getCurrentScope)().setClient(t),n.init()}(n);let u=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;u.id="NextClient404Filter",(0,z.addEventProcessor)(u);let d=e=>"transaction"===e.type&&e.transaction===rE?null:e;d.id="IncompleteTransactionFilter",(0,z.addEventProcessor)(d);let h=(e,t)=>{var n;return(n=t?.originalException,(0,ed.isError)(n)&&"string"==typeof n.digest&&n.digest.startsWith("NEXT_REDIRECT;")||e.exception?.values?.[0]?.value==="NEXT_REDIRECT")?null:e};h.id="NextRedirectErrorFilter",(0,z.addEventProcessor)(h);try{(0,F.getGlobalScope)().setTag("turbopack",!0)}catch{}}({dsn:oD.SENTRY_DSN,integrations:[new class e{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:a=!0,useCompression:i=!0,workerUrl:o,_experiments:l={},maskAllText:s=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:d=750,mutationLimit:f=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:v=[],networkResponseHeaders:b=[],mask:_=[],maskAttributes:S=["title","placeholder","aria-label"],unmask:E=[],block:w=[],unblock:T=[],ignore:k=[],maskFn:R,beforeAddRecordingEvent:x,beforeErrorSampling:P,onError:C}={}){this.name="Replay";const N=function({mask:e,unmask:t,block:n,unblock:r,ignore:a}){return{maskTextSelector:oO(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:oO(t,[]),blockSelector:oO(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:oO(r,[]),ignoreSelector:oO(a,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:_,unmask:E,block:w,unblock:T,ignore:k});if(this._recordingOptions={maskAllInputs:u,maskAllText:s,maskInputOptions:{password:!0},maskTextFn:R,maskInputFn:R,maskAttributeFn:(e,t,n)=>(function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:a,value:i}){return!r||a.unmaskTextSelector&&e.matches(a.unmaskTextSelector)?i:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i})({maskAttributes:S,maskAllText:s,privacyOptions:N,key:e,value:t,el:n}),...N,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!l.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,3
206e5),stickySession:a,useCompression:i,workerUrl:o,blockAllMedia:c,maskAllInputs:u,maskAllText:s,mutationBreadcrumbLimit:d,mutationLimit:f,slowClickTimeout:p,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:oL(v),networkResponseHeaders:oL(b),beforeAddRecordingEvent:x,beforeErrorSampling:P,onError:C,_experiments:l},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${oI}`:oI),this._isInitialized&&rU())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return oM}set _isInitialized(e){oM=e}afterAllSetup(e){rU()&&!this._replay&&(this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(this._replay?.isEnabled())return this._replay.getSessionId()}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){var t;let n,r,a,i,o=(t=this._initialOptions,n=e.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...t},a=(0,ep.parseSampleRate)(n.replaysSessionSampleRate),i=(0,ep.parseSampleRate)(n.replaysOnErrorSampleRate),null==a&&null==i&&(0,B.consoleSandbox)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=a&&(r.sessionSampleRate=a),null!=i&&(r.errorSampleRate=i),r);this._replay=new oN({options:o,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}(k)],tracesSampleRate:"production"===oD.SENTRY_ENVIRONMENT?.1:1,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,debug:oD.SENTRY_DEBUG,environment:oD.SENTRY_ENVIRONMENT}),e.s(["onRouterTransitionStart",0,function(e,t){S&&S(e,t)}],617742)},992521,(e,t,n)=>{"use strict";t.exports=e.f({"private-next-instrumentation-client":{id:()=>617742,module:()=>e.r(617742)}})("private-next-instrumentation-client")},721258,(e,t,n)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},580269,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(721258),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
20dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},122039,(e,t,n)=>{"use strict";function r(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function a(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,s=performance;n.unstable_now=function(){return s.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var d=[],f=[],p=1,h=null,m=3,g=!1,y=!1,v=!1,b=!1,_="function"==typeof setTimeout?setTimeout:null,S="function"==typeof clearTimeout?clearTimeout:null,E="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=a(f);null!==t;){if(null===t.callback)i(f);else if(t.startTime<=e)i(f),t.sortIndex=t.expirationTime,r(d,t);else break;t=a(f)}}function T(e){if(v=!1,w(e),!y)if(null!==a(d))y=!0,k||(k=!0,l());else{var t=a(f);null!==t&&A(T,t.startTime-e)}}var k=!1,R=-1,x=5,P=-1;function C(){return!!b||!(n.unstable_now()-P<x)}function N(){if(b=!1,k){var e=n.unstable_now();P=e;var t=!0;try{e:{y=!1,v&&(v=!1,S(R),R=-1),g=!0;var r=m;try{t:{for(w(e),h=a(d);null!==h&&!(h.expirationTime>e&&C());){var o=h.callback;if("function"==typeof o){h.callback=null,m=h.priorityLevel;var s=o(h.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof s){h.callback=s,w(e),t=!0;break t}h===a(d)&&i(d),w(e)}else i(d);h=a(d)}if(null!==h)t=!0;else{var u=a(f);null!==u&&A(T,u.startTime-e),t=!1}}break e}finally{h=null,m=r,g=!1}}}finally{t?l():k=!1}}}if("function"==typeof E)l=function(){E(N)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,I=O.port2;O.port1.onmessage=N,l=function(){I.postMessage(null)}}else l=function(){_(N,0)};function A(e,t){R=_(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return m},n.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},n.unstable_requestPaint=function(){b=!0},n.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},n.unstable_scheduleCallback=function(e,t,i){var o=n.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?o+i:o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=i+s,e={id:p++,callback:t,priorityLevel:e,startTime:i,expirationTime:s,sortIndex:-1},i>o?(e.sortIndex=i,r(f,e),null===a(d)&&e===a(f)&&(v?(S(R),R=-1):v=!0,A(T,i-o))):(e.sortIndex=s,r(d,e),y||g||(y=!0,k||(k=!0,l()))),e},n.unstable_shouldYield=C,n.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},106920,(e,t,n)=>{"use strict";t.exports=e.r(122039)},519065,(e,t,n)=>{"use strict";var r,a=e.i(75961),i=e.r(106920),o=e.r(28430),l=e.r(158817);function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function c(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function d(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function p(e){if(c(e)!==e)throw Error(s(188))}function h(e,t,n,r,a,i){for(;null!==e;){if(5===e.tag&&n(e,r,a,i)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag)&&h(e.child,t,n,r,a,i))return!0;e=e.sibling}return!1}function m(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}function g(e){switch(e.tag){case 5:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(s(559))}}var y=null,v=null;function b(e){return y=e,!0}function _(e,t,n){return e===n||e===t&&(y=e,!0)}function S(e,t,n){return e===n?(v=e,!1):e===t&&(null!==v&&(y=e),!0)}function E(e){if(null===e)return null;do e=null===e?null:e.return;while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag)return e||null}function w(e,t,n){for(var r=0,a=e;a;a=n(a))r++;a=0;for(var i=t;i;i=n(i))a++;for(;0<r-a;)e=n(e),r--;for(;0<a-r;)t=n(t),a--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var T=Object.assign,k=Symbol.for("react.element"),R=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),I=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),U=Symbol.for("react.lazy");Symbol.for("react.scope");var j=Symbol.for("react.activity"),z=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var F=Symbol.for("react.memo_cache_sentinel"),B=Symbol.for("react.view_transition"),$=Symbol.iterator;function H(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var W=Symbol.for("react.client.reference"),q=Array.isArray,G=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y={pending:!1,data:null,method:null,action:null},X=[],K=-1;function Q(e){return{current:e}}function J(e){0>K||(e.current=X[K],X[K]=null,K--)}function Z(e,t){X[++K]=e.current,e.current=t}var ee=Q(null),et=Q(null),en=Q(null),er=Q(null);function ea(e,t){switch(Z(en,t),Z(et,e),Z(ee,null),t.nodeType){case 9:case 11:e=(e
vendor: 1,043 bytes, line 20
20=t.documentElement)&&(e=e.namespaceURI)?cu(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=cc(t=cu(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}J(ee),Z(ee,e)}function ei(){J(ee),J(et),J(en)}function eo(e){null!==e.memoizedState&&Z(er,e);var t=ee.current,n=cc(t,e.type);t!==n&&(Z(et,e),Z(ee,n))}function el(e){et.current===e&&(J(ee),J(et)),er.current===e&&(J(er),dv._currentValue=Y)}function es(e){if(void 0===tX)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tX=t&&t[1]||"",tK=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tX+e+tK}var eu=!1;function ec(e,t){if(!e||eu)return"";eu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
20else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),o=i[0],l=i[1];if(o&&l){var s=o.split("\n"),u=l.split("\n");for(a=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(r===s.length||a===u.length)for(r=s.length-1,a=u.length-1;1<=r&&0<=a&&s[r]!==u[a];)a--;for(;1<=r&&0<=a;r--,a--)if(s[r]!==u[a]){if(1!==r||1!==a)do if(r--,a--,0>a||s[r]!==u[a]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=a)break}}}finally{eu=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?es(n):""}function ed(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return es(e.type);case 16:return es("Lazy");case 13:return e.child!==t&&null!==t?es("Suspense Fallback"):es("Suspense");case 19:return es("SuspenseList");case 0:case 15:return ec(e.type,!1);case 11:return ec(e.type.render,!1);case 1:return ec(e.type,!0);case 31:return es("Activity");case 30:return es("ViewTransition");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var ef=Object.prototype.hasOwnProperty,ep=i.unstable_scheduleCallback,eh=i.unstable_cancelCallback,em=i.unstable_shouldYield,eg=i.unstable_requestPaint,ey=i.unstable_now,ev=i.unstable_getCurrentPriorityLevel,eb=i.unstable_ImmediatePriority,e_=i.unstable_UserBlockingPriority,eS=i.unstable_NormalPriority,eE=i.unstable_LowPriority,ew=i.unstable_IdlePriority,eT=(i.log,i.unstable_setDisableYieldValue,null),ek=null,eR=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ex(e)/eP|0)|0},ex=Math.log,eP=Math.LN2,eC=256,eN=262144,eO=4194304;function eI(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eA(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,i=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&r;return 0!==l?0!=(r=l&~i)?a=eI(r):0!=(o&=l)?a=eI(o):n||0!=(n=l&~e)&&(a=eI(n)):0!=(l=r&~i)?a=eI(l):0!==o?a=eI(o):n||0!=(n=r&~e)&&(a=eI(n)),0===a?0:0!==t&&t!==a&&0==(t&i)&&((i=a&-a)>=(n=t&-t)||32===i&&0!=(4194048&n))?t:a}function eM(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eL(){var e=eO;return 0==(0x3c00000&(eO<<=1))&&(eO=4194304),e}function eD(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function eU(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ej(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eR(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function ez(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eR(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function eF(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eB(n))&(e.suspendedLanes|t))?0:n}function eB(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function e$(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eH(){var e=V.p;return 0!==e?e:void 0===(e=window.event)?32:dA(e.type)}function eW(e,t){var n=V.p;try{return V.p=e,t()}finally{V.p=n}}var eq=Math.random().toString(36).slice(2),eG="__reactFiber$"+eq,eV="__reactProps$"+eq,eY="__reactContainer$"+eq,eX="__reactEvents$"+eq,eK="__reactListeners$"+eq,eQ="__reactHandles$"+eq,eJ="__reactResources$"+eq,eZ="__reactMarker$"+eq;function e0(e){delete e[eG],delete e[eV],delete e[eX],delete e[eK],delete e[eQ]}function e1(e){var t;if(t=e[eG])return t;for(var n=e.parentNode;n;){if(t=n[eY]||n[eG]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=cY(e);null!==e;){if(n=e[eG])return n;e=cY(e)}return t}n=(e=n).parentNode}return null}function e2(e){if(e=e[eG]||e[eY]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function e3(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(s(33))}function e4(e){var t=e[eJ];return t||(t=e[eJ]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function e5(e){e[eZ]=!0}var e8=new Set,e6={};function e7(e,t){e9(e,t),e9(e+"Capture",t)}function e9(e,t){for(e6[e]=t,e=0;e<t.length;e++)e8.add(t[e])}var te=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
20037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),tt={},tn={},tr=!1;function ta(){var e=tr;return tr=!1,e}function ti(e,t,n){if(ef.call(tn,t)||!ef.call(tt,t)&&(te.test(t)?tn[t]=!0:(tt[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function to(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function tl(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function ts(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function tu(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function tc(e){if(!e._valueTracker){var t=tu(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function td(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tu(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function tf(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var tp=/[\n"\\]/g;function th(e){return e.replace(tp,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tm(e,t,n,r,a,i,o,l){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ts(t)):e.value!==""+ts(t)&&(e.value=""+ts(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?ty(e,o,ts(t)):null!=n?ty(e,o,ts(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=i&&(e.defaultChecked=!!i),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+ts(l):e.removeAttribute("name")}function tg(e,t,n,r,a,i,o,l){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return void tc(e);n=null!=n?""+ts(n):"",t=null!=t?""+ts(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o),tc(e)}function ty(e,t,n){"number"===t&&tf(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function tv(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(a=0,n=""+ts(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function tb(e,t,n){if(null!=t&&((t=""+ts(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+ts(n):""}function t_(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(s(92));if(q(r)){if(1<r.length)throw Error(s(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=ts(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),tc(e)}function tS(e,t){if(t){var n=e.firstChild;
vendor: 4,154 bytes, line 20
20if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tE=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tw(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tE.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tT(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(s(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",tr=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(tw(e,a,r),tr=!0)}else for(var i in t)t.hasOwnProperty(i)&&tw(e,i,t[i])}function tk(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tR=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
20-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tx=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tP(e){return tx.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tC(){}var tN=null;function tO(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tI=null,tA=null;function tM(e){var t=e2(e);if(t&&(e=t.stateNode)){var n=e[eV]||null;switch(e=t.stateNode,t.type){case"input":if(tm(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+th(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[eV]||null;if(!a)throw Error(s(90));tm(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&td(r)}break;case"textarea":tb(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&tv(e,!!n.multiple,t,!1)}}}var tL=!1;function tD(e,t,n){if(tL)return e(t,n);tL=!0;try{return e(t)}finally{if(tL=!1,(null!==tI||null!==tA)&&(ut(),tI&&(t=tI,e=tA,tA=tI=null,tM(t),e)))for(t=0;t<e.length;t++)tM(e[t])}}function tU(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eV]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(s(231,t,typeof n));return n}var tj="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tz=!1;if(tj)try{var tF={};Object.defineProperty(tF,"passive",{get:function(){tz=!0}}),window.addEventListener("test",tF,tF),window.removeEventListener("test",tF,tF)}catch(e){tz=!1}var tB=null,t$=null,tH=null;function tW(){if(tH)return tH;var e,t,n=t$,r=n.length,a="value"in tB?tB.value:tB.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[i-t];t++);return tH=a.slice(e,1<t?1-t:void 0)}function tq(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tG(){return!0}function tV(){return!1}function tY(e){function t(t,n,r,a,i){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tG:tV,this.isPropagationStopped=tV,this}return T(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tG)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tG)},persist:function(){},isPersistent:tG}),t}var tX,tK,tQ,tJ,tZ,t0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t1=tY(t0),t2=T({},t0,{view:0,detail:0}),t3=tY(t2),t4=T({},t2,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ni,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,359 bytes, line 20
20Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tZ&&(tZ&&"mousemove"===e.type?(tQ=e.screenX-tZ.screenX,tJ=e.screenY-tZ.screenY):tJ=tQ=0,tZ=e),tQ)},movementY:function(e){return"movementY"in e?e.movementY:tJ}}),t5=tY(t4),t8=tY(T({},t4,{dataTransfer:0})),t6=tY(T({},t2,{relatedTarget:0})),t7=tY(T({},t0,{animationName:0,elapsedTime:0,pseudoElement:0})),t9=tY(T({},t0,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ne=tY(T({},t0,{data:0})),nt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function na(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nr[e])&&!!t[e]}function ni(){return na}var no=tY(T({},t2,{key:function(e){if(e.key){var t=nt[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tq(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ni,charCode:function(e){return"keypress"===e.type?tq(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tq(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),nl=tY(T({},t4,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ns=tY(T({},t2,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ni})),nu=tY(T({},t0,{propertyName:0,elapsedTime:0,pseudoElement:0})),nc=tY(T({},t4,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nd=tY(T({},t0,{newState:0,oldState:0})),nf=[9,13,27,32],np=tj&&"CompositionEvent"in window,nh=null;tj&&"documentMode"in document&&(nh=document.documentMode);var nm=tj&&"TextEvent"in window&&!nh,ng=tj&&(!np||nh&&8<nh&&11>=nh),ny=!1;function nv(e,t){switch(e){case"keyup":return -1!==nf.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var n_=!1,nS={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nE(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nS[e.type]:"textarea"===t}function nw(e,t,n,r){tI?tA?tA.push(r):tA=[r]:tI=r,0<(t=u5(t,"onChange")).length&&(n=new t1("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nT=null,nk=null;function nR(e){uQ(e,0)}function nx(e){if(td(e3(e)))return e}function nP(e,t){if("change"===e)return t}var nC=!1;if(tj){if(tj){var nN="oninput"in document;if(!nN){var nO=document.createElement("div");nO.setAttribute("oninput","return;"),nN="function"==typeof nO.oninput}r=nN}else r=!1;nC=r&&(!document.documentMode||9<document.documentMode)}function nI(){nT&&(nT.detachEvent("onpropertychange",nA),nk=nT=null)}function nA(e){if("value"===e.propertyName&&nx(nk)){var t=[];nw(t,nk,e,tO(e)),tD(nR,t)}}function nM(e,t,n){"focusin"===e?(nI(),nT=t,nk=n,nT.attachEvent("onpropertychange",nA)):"focusout"===e&&nI()}function nL(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nx(nk)}function nD(e,t){if("click"===e)return nx(t)}function nU(e,t){if("input"===e||"change"===e)return nx(t)}var nj="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nz(e,t){if(nj(e,t))return!0;
vendor: 9,213 bytes, line 20
20if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!ef.call(t,a)||!nj(e[a],t[a]))return!1}return!0}function nF(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nB(e,t){var n,r=nF(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nF(r)}}function n$(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=tf(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=tf(e.document)}return t}function nH(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nW=tj&&"documentMode"in document&&11>=document.documentMode,nq=null,nG=null,nV=null,nY=!1;function nX(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nY||null==nq||nq!==tf(r)||(r="selectionStart"in(r=nq)&&nH(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nV&&nz(nV,r)||(nV=r,0<(r=u5(nG,"onSelect")).length&&(t=new t1("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nq)))}function nK(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nQ={animationend:nK("Animation","AnimationEnd"),animationiteration:nK("Animation","AnimationIteration"),animationstart:nK("Animation","AnimationStart"),transitionrun:nK("Transition","TransitionRun"),transitionstart:nK("Transition","TransitionStart"),transitioncancel:nK("Transition","TransitionCancel"),transitionend:nK("Transition","TransitionEnd")},nJ={},nZ={};function n0(e){if(nJ[e])return nJ[e];if(!nQ[e])return e;var t,n=nQ[e];for(t in n)if(n.hasOwnProperty(t)&&t in nZ)return nJ[e]=n[t];return e}tj&&(nZ=document.createElement("div").style,"AnimationEvent"in window||(delete nQ.animationend.animation,delete nQ.animationiteration.animation,delete nQ.animationstart.animation),"TransitionEvent"in window||delete nQ.transitionend.transition);var n1=n0("animationend"),n2=n0("animationiteration"),n3=n0("animationstart"),n4=n0("transitionrun"),n5=n0("transitionstart"),n8=n0("transitioncancel"),n6=n0("transitionend"),n7=new Map,n9="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function re(e,t){n7.set(e,t),e7(t,[e])}n9.push("scrollEnd");var rt=0;function rn(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:t.autoName=e="_"+(e=sV.identifierPrefix)+"t_"+(rt++).toString(32)+"_"}function rr(e){if(null==e||"string"==typeof e)return e;var t=null,n=s1;if(null!==n)for(var r=0;r<n.length;r++){var a=e[n[r]];if(null!=a){if("none"===a)return"none";t=null==t?a:t+" "+a}}return null==t?e.default:t}function ra(e,t){return e=rr(e),null==(t=rr(t))?"auto"===e?null:e:"auto"===t?null:t}var ri="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof a.default&&"function"==typeof a.default.emit)return void a.default.emit("uncaughtException",e);console.error(e)},ro=[],rl=0,rs=0;function ru(){for(var e=rl,t=rs=rl=0;t<e;){var n=ro[t];ro[t++]=null;var r=ro[t];ro[t++]=null;var a=ro[t];ro[t++]=null;var i=ro[t];if(ro[t++]=null,null!==r&&null!==a){var o=r.pending;null===o?a.next=a:(a.next=o.next,o.next=a),r.pending=a}0!==i&&rp(n,a,i)}}function rc(e,t,n,r){ro[rl++]=e,ro[rl++]=t,ro[rl++]=n,ro[rl++]=r,rs|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function rd(e,t,n,r){return rc(e,t,n,r),rh(e)}function rf(e,t){return rc(e,null,null,t),rh(e)}function rp(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(a=!0)),e=i,i=i.return;return 3===e.tag?(i=e.stateNode,a&&null!==t&&(a=31-eR(n),null===(r=(e=i.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=0x20000000|n),i):null}function rh(e){if(50<s2)throw s2=0,s3=null,Error(s(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var rm={};function rg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ry(e,t,n,r){return new rg(e,t,n,r)}function rv(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rb(e,t){var n=e.alternate;return null===n?((n=ry(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x7e00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function r_(e,t){e.flags&=0x7e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function rS(e,t,n,r,a,i){var o=0;if(r=e,"function"==typeof e)rv(e)&&(o=1);else if("string"==typeof e)o=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,ee.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case j:return(e=ry(31,n,t,a)).elementType=j,e.lanes=i,e;case P:return rE(n.children,a,i,t);case C:o=8,a|=24;break;case N:return(e=ry(12,n,t,2|a)).elementType=N,e.lanes=i,e;case M:return(e=ry(13,n,t,a)).elementType=M,e.lanes=i,e;case L:return(e=ry(19,n,t,a)).elementType=L,e.lanes=i,e;case z:case B:return(e=ry(30,n,t,e=32|a)).elementType=B,e.lanes=i,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case I:o=10;break e;case O:o=9;break e;case A:o=11;break e;case D:o=14;break e;case U:o=16,r=null;break e}o=29,n=Error(s(130,null===e?"null":typeof e,"")),r=null}return(t=ry(o,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function rE(e,t,n,r){return(e=ry(7,e,r,t)).lanes=n,e}function rw(e,t,n){return(e=ry(6,e,null,t)).lanes=n,e}function rT(e){var t=ry(18,null,null,0);return t.stateNode=e,t}function rk(e,t,n){return(t=ry(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rR=new WeakMap;function rx(e,t){if("object"==typeof e&&null!==e){var n=rR.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ed(t)},rR.set(e,t),t)}return{value:e,source:t,stack:ed(t)}}var rP=[],rC=0,rN=null,rO=0,rI=[],rA=0,rM=null,rL=1,rD="";function rU(e,t){rP[rC++]=rO,rP[rC++]=rN,rN=e,rO=t}function rj(e,t,n){rI[rA++]=rL,rI[rA++]=rD,rI[rA++]=rM,rM=e;var r=rL;e=rD;var a=32-eR(r)-1;r&=~(1<<a),n+=1;var i=32-eR(t)+a;if(30<i){var o=a-a%5;i=(r&(1<<o)-1).toString(32),r>>=o,a-=o,rL=1<<32-eR(t)+a|n<<a|r,rD=i+e}else rL=1<<i|n<<a|r,rD=e}
vendor: 3,760 bytes, line 20
20function rz(e){null!==e.return&&(rU(e,1),rj(e,1,0))}function rF(e){for(;e===rN;)rN=rP[--rC],rP[rC]=null,rO=rP[--rC],rP[rC]=null;for(;e===rM;)rM=rI[--rA],rI[rA]=null,rD=rI[--rA],rI[rA]=null,rL=rI[--rA],rI[rA]=null}function rB(e,t){rI[rA++]=rL,rI[rA++]=rD,rI[rA++]=rM,rL=t.id,rD=t.overflow,rM=e}var r$=null,rH=null,rW=!1,rq=null,rG=!1,rV=Error(s(519));function rY(e){var t=Error(s(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw r0(rx(t,e)),rV}function rX(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eG]=e,t[eV]=r,n){case"dialog":uJ("cancel",t),uJ("close",t);break;case"iframe":case"object":case"embed":uJ("load",t);break;case"video":case"audio":for(n=0;n<uX.length;n++)uJ(uX[n],t);break;case"source":uJ("error",t);break;case"img":case"image":case"link":uJ("error",t),uJ("load",t);break;case"details":uJ("toggle",t);break;case"input":uJ("invalid",t),tg(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":uJ("invalid",t);break;case"textarea":uJ("invalid",t),t_(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ct(t.textContent,n)?(null!=r.popover&&(uJ("beforetoggle",t),uJ("toggle",t)),null!=r.onScroll&&uJ("scroll",t),null!=r.onScrollEnd&&uJ("scrollend",t),null!=r.onClick&&(t.onclick=tC),t=!0):t=!1,t||rY(e,!0)}function rK(e){for(r$=e.return;r$;)switch(r$.tag){case 5:case 31:case 13:rG=!1;return;case 27:case 3:rG=!0;return;default:r$=r$.return}}function rQ(e){if(e!==r$)return!1;if(!rW)return rK(e),rW=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||cd(e.type,e.memoizedProps)),t=!t),t&&rH&&rY(e),rK(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));rH=cV(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));rH=cV(e)}else 27===n?(n=rH,cv(e.type)?(e=cG,cG=null,rH=e):rH=n):rH=r$?cq(e.stateNode.nextSibling):null;return!0}function rJ(){rH=r$=null,rW=!1}function rZ(){var e=rq;return null!==e&&(null===sz?sz=e:sz.push.apply(sz,e),rq=null),e}function r0(e){null===rq?rq=[e]:rq.push(e)}var r1=Q(null),r2=null,r3=null;function r4(e,t,n){Z(r1,t._currentValue),t._currentValue=n}function r5(e){e._currentValue=r1.current,J(r1)}function r8(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function r6(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var i=a.dependencies;if(null!==i){var o=a.child;i=i.firstContext;e:for(;null!==i;){var l=i;i=a;for(var u=0;u<t.length;u++)if(l.context===t[u]){i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),r8(i.return,n,e),r||(o=null);break e}i=l.next}}else if(18===a.tag){if(null===(o=a.return))throw Error(s(341));o.lanes|=n,null!==(i=o.alternate)&&(i.lanes|=n),r8(o,n,e),o=null}else o=a.child;if(null!==o)o.return=a;else for(o=a;null!==o;){if(o===e){o=null;break}if(null!==(a=o.sibling)){a.return=o.return,o=a;break}o=o.return}a=o}}function r7(e,t,n,r){e=null;for(var a=t,i=!1;null!==a;){if(!i){if(0!=(524288&a.flags))i=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var o=a.alternate;if(null===o)throw Error(s(387));if(null!==(o=o.memoizedProps)){var l=a.type;nj(a.pendingProps.value,o.value)||(null!==e?e.push(l):e=[l])}}else if(a===er.current){if(null===(o=a.alternate))throw Error(s(387));o.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(dv):e=[dv])}a=a.return}null!==e&&r6(t,e,n,r),t.flags|=262144}function r9(e){for(e=e.firstContext;null!==e;){if(!nj(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
vendor: 9,478 bytes, line 20
20function ae(e){r2=e,r3=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function at(e){return ar(r2,e)}function an(e,t){return null===r2&&ae(e),ar(e,t)}function ar(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===r3){if(null===e)throw Error(s(308));r3=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else r3=r3.next=t;return n}var aa="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ai=i.unstable_scheduleCallback,ao=i.unstable_NormalPriority,al={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function as(){return{controller:new aa,data:new Map,refCount:0}}function au(e){e.refCount--,0===e.refCount&&ai(ao,function(){e.controller.abort()})}function ac(e,t){if(0!=(4194048&e.pendingLanes)){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var ad=null,af=null,ap=0,ah=0,am=null;function ag(){if(0==--ap&&(ad=null,null!==af)){null!==am&&(am.status="fulfilled");var e=af;af=null,ah=0,am=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var ay=G.S;G.S=function(e,t){if(s$=ey(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===af){var n=af=[];ap=0,ah=uW(),am={status:"pending",value:void 0,then:function(e){n.push(e)}}}ap++,t.then(ag,ag)}(0,t),null!==ad)for(var n=uO;null!==n;)ac(n,ad),n=n.next;if(null!==(n=e.types)){for(var r=uO;null!==r;)ac(r,n),r=r.next;if(0!==ah){null===(r=ad)&&(r=ad=[]);for(var a=0;a<n.length;a++){var i=n[a];-1===r.indexOf(i)&&r.push(i)}}}null!==ay&&ay(e,t)};var av=Q(null);function ab(){var e=av.current;return null!==e?e:sw.pooledCache}function a_(e,t){null===t?Z(av,av.current):Z(av,t.pool)}function aS(){var e=ab();return null===e?null:{parent:al._currentValue,pool:e}}var aE=Error(s(460)),aw=Error(s(474)),aT=Error(s(542)),ak={then:function(){}};function aR(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ax(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(tC,tC),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw aO(e=t.reason),e;default:if("string"==typeof t.status)t.then(tC,tC);else{if(null!==(e=sw)&&100<e.shellSuspendCounter)throw Error(s(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw aO(e=t.reason),e}throw aC=t,aE}}function aP(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw aC=e,aE;throw e}}var aC=null;function aN(){if(null===aC)throw Error(s(459));var e=aC;return aC=null,e}function aO(e){if(e===aE||e===aT)throw Error(s(483))}var aI=null,aA=0;function aM(e){var t=aA;return aA+=1,null===aI&&(aI=[]),ax(aI,e,t)}function aL(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function aD(e,t){if(t.$$typeof===k)throw Error(s(525));throw Error(s(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aU(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=rb(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x8000002,n):r:(t.flags|=0x8000002,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=0x8000002),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=rw(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function u(e,t,n,r){var i=n.type;return i===P?(aL(e=d(e,t,n.props.children,r,n.key),n),e):(null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===U&&aP(i)===t.type)?aL(t=a(t,n.props),n):aL(t=rS(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=rk(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function d(e,t,n,r,i){return null===t||7!==t.tag?(t=rE(n,e.mode,r,i)).return=e:(t=a(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rw(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case R:return aL(n=rS(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case x:return(t=rk(t,e.mode,n)).return=e,t;case U:return f(e,t=aP(t),n)}if(q(t)||H(t))return(t=rE(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,aM(t),n);if(t.$$typeof===I)return f(e,an(e,t),n);aD(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case R:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case U:return p(e,t,n=aP(n),r)}if(q(n)||H(n))return null!==a?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,aM(n),r);if(n.$$typeof===I)return p(e,t,an(e,n),r);aD(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case R:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case U:return h(e,t,n,r=aP(r),a)}if(q(r)||H(r))return d(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return h(e,t,n,aM(r),a);if(r.$$typeof===I)return h(e,t,n,an(t,r),a);aD(t,r)}return null}return function(l,u,c,d){try{aA=0;var m=function l(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===P&&null===d.key&&void 0===d.props.ref&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case R:e:{for(var g=d.key;null!==c;){if(c.key===g){if((g=d.type)===P){if(7===c.tag){n(u,c.sibling),aL(m=a(c,d.props.children),d),m.return=u,u=m;break e}}else if(c.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===U&&aP(g)===c.type){n(u,c.sibling),aL(m=a(c,d.props),d),m.return=u,u=m;break e}n(u,c);break}t(u,c),c=c.sibling}d.type===P?aL(m=rE(d.props.children,u.mode,m,d.key),d):aL(m=rS(d.type,d.key,d.props,null,u.mode,m),d),m.return=u,u=m}return o(u);case x:e:{for(g=d.key;null!==c;){if(c.key===g)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(m=a(c,d.children||[])).return=u,u=m;break e}else{n(u,c);break}t(u,c),c=c.sibling}(m=rk(d,u.mode,m)).return=u,u=m}return o(u);case U:return l(u,c,d=aP(d),m)}if(q(d))return function(a,o,l,s){for(var u=null,c=null,d=o,m=o=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(a,d,l[m],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===l.length)return n(a,d),rW&&rU(a,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(a,l[m],s))&&(o=i(d,o,m),null===c?u=d:c.sibling=d,c=d);return rW&&rU(a,m),u}for(d=r(d);m<l.length;m++)null!==(g=h(d,a,m,l[m],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=i(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),rW&&rU(a,m),u}(u,c,d,m);if(H(d)){if("function"!=typeof(g=H(d)))throw Error(s(150));return function(a,o,l,u){if(null==l)throw Error(s(151));for(var c=null,d=null,m=o,g=o=0,y=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(a,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),o=i(b,o,g),null===d?c=b:d.sibling=b,d=b,m=y}if(v.done)return n(a,m),rW&&rU(a,g),c;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=f(a,v.value,u))&&(o=i(v,o,g),null===d?c=v:d.sibling=v,d=v);return rW&&rU(a,g),c}for(m=r(m);!v.done;g++,v=l.next())null!==(v=h(m,a,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),o=i(v,o,g),null===d?c=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(a,e)}),rW&&rU(a,g),c}(u,c,d=g.call(d),m)}if("function"==typeof d.then)return l(u,c,aM(d),m);if(d.$$typeof===I)return l(u,c,an(u,d),m);aD(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(m=a(c,d)).return=u):(n(u,c),(m=rw(d,u.mode,m)).return=u),o(u=m)):n(u,c)}(l,u,c,d);return aI=null,m}catch(e){if(e===aE||e===aT)throw e;var g=ry(29,e,null,l.mode);return g.lanes=d,g.return=l,g}finally{}}}var aj=aU(!0),az=aU(!1),aF=!1;function aB(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function a$(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aH(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function aW(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&sE)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=rh(e),rp(e,null,n),t}return rc(e,r,t,n),rh(e)}
20function aq(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ez(e,n)}}function aG(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===i?a=i=o:i=i.next=o,n=n.next}while(null!==n)null===i?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var aV=!1;function aY(){if(aV){var e=am;if(null!==e)throw e}}function aX(e,t,n,r){aV=!1;var a=e.updateQueue;aF=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===o?i=u:o.next=u,o=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==i){var d=a.baseState;for(o=0,c=u=s=null,l=i;;){var f=-0x20000001&l.lane,p=f!==l.lane;if(p?(sk&f)===f:(r&f)===f){0!==f&&f===ah&&(aV=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,m=l;switch(f=t,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(n,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(n,d,f):h))break e;d=T({},d,f);break e;case 2:aF=!0}}null!==(f=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=a.callbacks)?a.callbacks=[f]:p.push(f))}else p={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,o|=f;if(null===(l=l.next))if(null===(l=a.shared.pending))break;else l=(p=l).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===i&&(a.shared.lanes=0),sA|=o,e.lanes=o,e.memoizedState=d}}function aK(e,t){if("function"!=typeof e)throw Error(s(191,e));e.call(t)}function aQ(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)aK(n[e],t)}var aJ=Q(null),aZ=Q(0);function a0(e,t){Z(aZ,e=sO),Z(aJ,t),sO=e|t.baseLanes}function a1(){Z(aZ,sO),Z(aJ,aJ.current)}function a2(){sO=aZ.current,J(aJ),J(aZ)}var a3=Q(null),a4=null;function a5(e){var t=e.alternate;Z(ie,1&ie.current),Z(a3,e),null===a4&&(null===t||null!==aJ.current?a4=e:null!==t.memoizedState&&(a4=e))}function a8(e){Z(ie,ie.current),Z(a3,e),null===a4&&(a4=e)}function a6(e){22===e.tag?(Z(ie,ie.current),Z(a3,e),null===a4&&(a4=e)):a7()}function a7(){Z(ie,ie.current),Z(a3,a3.current)}function a9(e){J(a3),a4===e&&(a4=null),J(ie)}var ie=Q(0);function it(e,t){Z(a3,a3.current),Z(ie,t)}function ir(e){J(ie),J(a3),a4===e&&(a4=null)}function ia(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||cH(n)||cW(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ii=0,io=null,il=null,is=null,iu=!1,ic=!1,id=!1,ip=0,ih=0,im=null,ig=0;function iy(){throw Error(s(321))}function iv(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nj(e[n],t[n]))return!1;return!0}function ib(e,t,n,r,a,i){return ii=i,io=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=null===e||null===e.memoizedState?ok:oR,id=!1,i=n(r,a),id=!1,ic&&(i=iS(t,n,r,a)),i_(e),i}function i_(e){G.H=oT;var t=null!==il&&null!==il.next;if(ii=0,is=il=io=null,iu=!1,ih=0,im=null,t)throw Error(s(300));null===e||o$||null!==(e=e.dependencies)&&r9(e)&&(o$=!0)}function iS(e,t,n,r){io=e;var a=0;do{if(ic&&(im=null),ih=0,ic=!1,25<=a)throw Error(s(301));if(a+=1,is=il=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}G.H=ox,i=t(n,r)}while(ic)return i}function iE(){var e=G.H,t=e.useState()[0];return t="function"==typeof t.then?iC(t):t,e=e.useState()[0],(null!==il?il.memoizedState:null)!==e&&(io.flags|=1024),t}function iw(){var e=0!==ip;return ip=0,e}function iT(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ik(e){if(iu){for(e=e.memoizedState;null!==e;){var t=e.queue;
20null!==t&&(t.pending=null),e=e.next}iu=!1}ii=0,is=il=io=null,ic=!1,ih=ip=0,im=null}function iR(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===is?io.memoizedState=is=e:is=is.next=e,is}function ix(){if(null===il){var e=io.alternate;e=null!==e?e.memoizedState:null}else e=il.next;var t=null===is?io.memoizedState:is.next;if(null!==t)is=t,il=e;else{if(null===e){if(null===io.alternate)throw Error(s(467));throw Error(s(310))}e={memoizedState:(il=e).memoizedState,baseState:il.baseState,baseQueue:il.baseQueue,queue:il.queue,next:null},null===is?io.memoizedState=is=e:is=is.next=e}return is}function iP(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function iC(e){var t=ih;return ih+=1,null===im&&(im=[]),e=ax(im,e,t),t=io,null===(null===is?t.memoizedState:is.next)&&(G.H=null===(t=t.alternate)||null===t.memoizedState?ok:oR),e}function iN(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return iC(e);if(e.$$typeof===I)return at(e)}throw Error(s(438,String(e)))}function iO(e){var t=null,n=io.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=io.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=iP(),io.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=F;return t.index++,n}function iI(e,t){return"function"==typeof t?t(e):t}function iA(e){return iM(ix(),il,e)}function iM(e,t,n){var r=e.queue;if(null===r)throw Error(s(311));r.lastRenderedReducer=n;var a=e.baseQueue,i=r.pending;if(null!==i){if(null!==a){var o=a.next;a.next=i.next,i.next=o}t.baseQueue=a=i,r.pending=null}if(i=e.baseState,null===a)e.memoizedState=i;else{t=a.next;var l=o=null,u=null,c=t,d=!1;do{var f=-0x20000001&c.lane;if(f!==c.lane?(sk&f)===f:(ii&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===ah&&(d=!0);else if((ii&p)===p){c=c.next,p===ah&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=f,o=i):u=u.next=f,io.lanes|=p,sA|=p;f=c.action,id&&n(i,f),i=c.hasEagerState?c.eagerState:n(i,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,o=i):u=u.next=p,io.lanes|=f,sA|=f;c=c.next}while(null!==c&&c!==t)if(null===u?o=i:u.next=l,!nj(i,e.memoizedState)&&(o$=!0,d&&null!==(n=am)))throw n;e.memoizedState=i,e.baseState=o,e.baseQueue=u,r.lastRenderedState=i}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function iL(e){var t=ix(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var o=a=a.next;do i=e(i,o.action),o=o.next;while(o!==a)nj(i,t.memoizedState)||(o$=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function iD(e,t,n){var r=io,a=ix(),i=rW;if(i){if(void 0===n)throw Error(s(407));n=n()}else n=t();var o=!nj((il||a).memoizedState,n);if(o&&(a.memoizedState=n,o$=!0),a=a.queue,i6(iz.bind(null,r,a,e),[e]),a.getSnapshot!==t||o||null!==is&&1&is.memoizedState.tag){if(r.flags|=2048,i2(9,{destroy:void 0},ij.bind(null,r,a,n,t),null),null===sw)throw Error(s(349));i||0!=(127&ii)||iU(r,t,n)}return n}function iU(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=io.updateQueue)?(t=iP(),io.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ij(e,t,n,r){t.value=n,t.getSnapshot=r,iF(t)&&iB(e)}function iz(e,t,n){return n(function(){iF(t)&&iB(e)})}function iF(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nj(e,n)}catch(e){return!0}}function iB(e){var t=rf(e,2);null!==t&&s6(t,e,2)}function i$(e){var t=iR();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:iI,lastRenderedState:e},t}function iH(e,t,n,r){return e.baseState=n,iM(e,il,"function"==typeof r?r:iI)}function iW(e,t,n,r,a){if(oS(e))throw Error(s(485));if(null!==(e=t.action)){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==G.T?n(!0):i.isTransition=!1,r(i),null===(n=t.pending)?(i.next=t.pending=i,iq(t,
20i)):(i.next=n.next,t.pending=n.next=i)}}function iq(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var i=G.T,o={};o.types=null!==i?i.types:null,G.T=o;try{var l=n(a,r),s=G.S;null!==s&&s(o,l),iG(e,t,l)}catch(n){iY(e,t,n)}finally{null!==i&&null!==o.types&&(i.types=o.types),G.T=i}}else try{i=n(a,r),iG(e,t,i)}catch(n){iY(e,t,n)}}function iG(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){iV(e,t,n)},function(n){return iY(e,t,n)}):iV(e,t,n)}function iV(e,t,n){t.status="fulfilled",t.value=n,iX(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,iq(e,n)))}function iY(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,iX(t),t=t.next;while(t!==r)}e.action=null}function iX(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function iK(e,t){return t}function iQ(e,t){if(rW){var n=sw.formState;if(null!==n){e:{var r=io;if(rW){if(rH){t:{for(var a=rH,i=rG;8!==a.nodeType;)if(!i||null===(a=cq(a.nextSibling))){a=null;break t}a="F!"===(i=a.data)||"F"===i?a:null}if(a){rH=cq(a.nextSibling),r="F!"===a.data;break e}}rY(r)}r=!1}r&&(t=n[0])}}return(n=iR()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:iK,lastRenderedState:t},n.queue=r,n=ov.bind(null,io,r),r.dispatch=n,r=i$(!1),i=o_.bind(null,io,!1,r.queue),r=iR(),a={state:t,dispatch:null,action:e,pending:null},r.queue=a,n=iW.bind(null,io,a,i,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function iJ(e){return iZ(ix(),il,e)}function iZ(e,t,n){if(t=iM(e,t,iK)[0],e=iA(iI)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=iC(t)}catch(e){if(e===aE)throw aT;throw e}else r=t;var a=(t=ix()).queue,i=a.dispatch;return n!==t.memoizedState&&(io.flags|=2048,i2(9,{destroy:void 0},i0.bind(null,a,n),null)),[r,i,e]}function i0(e,t){e.action=t}function i1(e){var t=ix(),n=il;if(null!==n)return iZ(t,n,e);ix(),t=t.memoizedState;var r=(n=ix()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function i2(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=io.updateQueue)&&(t=iP(),io.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function i3(){return ix().memoizedState}function i4(e,t,n,r){var a=iR();io.flags|=e,a.memoizedState=i2(1|t,{destroy:void 0},n,void 0===r?null:r)}function i5(e,t,n,r){var a=ix();r=void 0===r?null:r;var i=a.memoizedState.inst;null!==il&&null!==r&&iv(r,il.memoizedState.deps)?a.memoizedState=i2(t,i,n,r):(io.flags|=e,a.memoizedState=i2(1|t,i,n,r))}function i8(e,t){i4(8390656,8,e,t)}function i6(e,t){i5(2048,8,e,t)}function i7(e){var t=ix().memoizedState,n={ref:t,nextImpl:e};io.flags|=4;var r=io.updateQueue;if(null===r)r=iP(),io.updateQueue=r,r.events=[n];else{var a=r.events;null===a?r.events=[n]:a.push(n)}return function(){if(0!=(2&sE))throw Error(s(440));return t.impl.apply(void 0,arguments)}}function i9(e,t){return i5(4,2,e,t)}function oe(e,t){return i5(4,4,e,t)}function ot(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function on(e,t,n){n=null!=n?n.concat([e]):null,i5(4,4,ot.bind(null,t,e),n)}function or(){}function oa(e,t){var n=ix();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&iv(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oi(e,t){var n=ix();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&iv(t,r[1])?r[0]:(n.memoizedState=[r=e(),t],r)}function oo(e,t,n){return void 0===n||0!=(0x40000000&ii)&&0==(261930&sk)?e.memoizedState=t:(e.memoizedState=n,e=s5(),io.lanes|=e,sA|=e,n)}function ol(e,t,n,r){return nj(n,t)?n:null!==aJ.current?(nj(e=oo(e,n,r),t)||(o$=!0),e):0==(42&ii)||0!=(0x40000000&ii)&&0==(261930&sk)?(o$=!0,e.memoizedState=n):(e=s5(),io.lanes|=e,sA|=e,t)}function os(e,t,n,r,a){var i=V.p;V.p=0!==i&&8>i?i:8;var o=G.T,l={};l.types=null!==o?o.types:null,G.T=l,o_(e,!1,t,n);try{var s=a(),u=G.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var c,d,f=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},s.then(function(){d.status="fulfilled",d.value=r;
20for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);ob(e,t,f,s4(e))}else ob(e,t,r,s4(e))}catch(n){ob(e,t,{then:function(){},status:"rejected",reason:n},s4())}finally{V.p=i,null!==o&&null!==l.types&&(o.types=l.types),G.T=o}}function ou(){}function oc(e,t,n,r){if(5!==e.tag)throw Error(s(476));var a=od(e).queue;os(e,a,t,Y,null===n?ou:function(){return of(e),n(r)})}function od(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:iI,lastRenderedState:Y},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:iI,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function of(e){var t=od(e);null===t.next&&(t=e.alternate.memoizedState),ob(e,t.next.queue,{},s4())}function op(){return at(dv)}function oh(){return ix().memoizedState}function om(){return ix().memoizedState}function og(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=s4(),r=aW(t,e=aH(n),n);null!==r&&(s6(r,t,n),aq(r,t,n)),t={cache:as()},e.payload=t;return}t=t.return}}function oy(e,t,n){var r=s4();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},oS(e)?oE(t,n):null!==(n=rd(e,t,n,r))&&(s6(n,e,r),ow(n,t,r))}function ov(e,t,n){ob(e,t,n,s4())}function ob(e,t,n,r){var a={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(oS(e))oE(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,l=i(o,n);if(a.hasEagerState=!0,a.eagerState=l,nj(l,o))return rc(e,t,a,0),null===sw&&ru(),!1}catch(e){}finally{}if(null!==(n=rd(e,t,a,r)))return s6(n,e,r),ow(n,t,r),!0}return!1}function o_(e,t,n,r){if(r={lane:2,revertLane:uW(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},oS(e)){if(t)throw Error(s(479))}else null!==(t=rd(e,n,r,2))&&s6(t,e,2)}function oS(e){var t=e.alternate;return e===io||null!==t&&t===io}function oE(e,t){ic=iu=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ow(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,ez(e,n)}}var oT={readContext:at,use:iN,useCallback:iy,useContext:iy,useEffect:iy,useImperativeHandle:iy,useLayoutEffect:iy,useInsertionEffect:iy,useMemo:iy,useReducer:iy,useRef:iy,useState:iy,useDebugValue:iy,useDeferredValue:iy,useTransition:iy,useSyncExternalStore:iy,useId:iy,useHostTransitionStatus:iy,useFormState:iy,useActionState:iy,useOptimistic:iy,useMemoCache:iy,useCacheRefresh:iy};oT.useEffectEvent=iy;var ok={readContext:at,use:iN,useCallback:function(e,t){return iR().memoizedState=[e,void 0===t?null:t],e},useContext:at,useEffect:i8,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,i4(4194308,4,ot.bind(null,t,e),n)},useLayoutEffect:function(e,t){return i4(4194308,4,e,t)},useInsertionEffect:function(e,t){i4(4,2,e,t)},useMemo:function(e,t){var n=iR();t=void 0===t?null:t;var r=e();return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=iR();if(void 0!==n)var a=n(t);else a=t;return r.memoizedState=r.baseState=a,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=oy.bind(null,io,e),[r.memoizedState,e]},useRef:function(e){return iR().memoizedState={current:e}},useState:function(e){var t=(e=i$(e)).queue,n=ov.bind(null,io,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:or,useDeferredValue:function(e,t){return oo(iR(),e,t)},useTransition:function(){var e=i$(!1);return e=os.bind(null,io,e.queue,!0,!1),iR().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=io,a=iR();if(rW){if(void 0===n)throw Error(s(407));n=n()}else{if(n=t(),null===sw)throw Error(s(349));0!=(127&sk)||iU(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,i8(iz.bind(null,r,i,e),[e]),r.flags|=2048,i2(9,{destroy:void 0},ij.bind(null,r,i,n,t),null),n},useId:function(){var e=iR(),t=sw.identifierPrefix;if(rW){var n=rD,r=rL;
vendor: 12,121 bytes, line 20
20t="_"+t+"R_"+(n=(r&~(1<<32-eR(r)-1)).toString(32)+n),0<(n=ip++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=ig++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:op,useFormState:iQ,useActionState:iQ,useOptimistic:function(e){var t=iR();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=o_.bind(null,io,!0,n),n.dispatch=t,[e,t]},useMemoCache:iO,useCacheRefresh:function(){return iR().memoizedState=og.bind(null,io)},useEffectEvent:function(e){var t=iR(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&sE))throw Error(s(440));return n.impl.apply(void 0,arguments)}}},oR={readContext:at,use:iN,useCallback:oa,useContext:at,useEffect:i6,useImperativeHandle:on,useInsertionEffect:i9,useLayoutEffect:oe,useMemo:oi,useReducer:iA,useRef:i3,useState:function(){return iA(iI)},useDebugValue:or,useDeferredValue:function(e,t){return ol(ix(),il.memoizedState,e,t)},useTransition:function(){var e=iA(iI)[0],t=ix().memoizedState;return["boolean"==typeof e?e:iC(e),t]},useSyncExternalStore:iD,useId:oh,useHostTransitionStatus:op,useFormState:iJ,useActionState:iJ,useOptimistic:function(e,t){return iH(ix(),il,e,t)},useMemoCache:iO,useCacheRefresh:om};oR.useEffectEvent=i7;var ox={readContext:at,use:iN,useCallback:oa,useContext:at,useEffect:i6,useImperativeHandle:on,useInsertionEffect:i9,useLayoutEffect:oe,useMemo:oi,useReducer:iL,useRef:i3,useState:function(){return iL(iI)},useDebugValue:or,useDeferredValue:function(e,t){var n=ix();return null===il?oo(n,e,t):ol(n,il.memoizedState,e,t)},useTransition:function(){var e=iL(iI)[0],t=ix().memoizedState;return["boolean"==typeof e?e:iC(e),t]},useSyncExternalStore:iD,useId:oh,useHostTransitionStatus:op,useFormState:i1,useActionState:i1,useOptimistic:function(e,t){var n=ix();return null!==il?iH(n,il,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:iO,useCacheRefresh:om};function oP(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:T({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}ox.useEffectEvent=i7;var oC={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=s4(),a=aH(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=aW(e,a,r))&&(s6(t,e,r),aq(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=s4(),a=aH(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=aW(e,a,r))&&(s6(t,e,r),aq(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=s4(),r=aH(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=aW(e,r,n))&&(s6(t,e,n),aq(t,e,n))}};function oN(e,t,n,r,a,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,o):!t.prototype||!t.prototype.isPureReactComponent||!nz(n,r)||!nz(a,i)}function oO(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&oC.enqueueReplaceState(t,t.state,null)}function oI(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=T({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}function oA(e){ri(e)}function oM(e){console.error(e)}function oL(e){ri(e)}function oD(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function oU(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function oj(e,t,n){return(n=aH(n)).tag=3,n.payload={element:null},n.callback=function(){oD(e,t)},n}function oz(e){return(e=aH(e)).tag=3,e}function oF(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var i=r.value;e.payload=function(){return a(i)},e.callback=function(){oU(t,n,r)}}var o=n.stateNode;null!==o&&"function"==typeof o.componentDidCatch&&(e.callback=function(){oU(t,n,r),"function"!=typeof a&&(null===sq?sq=new Set([this]):sq.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var oB=Error(s(461)),o$=!1;function oH(e,t,n,r){t.child=null===e?az(t,null,n,r):aj(t,e.child,n,r)}function oW(e,t,n,r,a){n=n.render;var i=t.ref;if("ref"in r){var o={};for(var l in r)"ref"!==l&&(o[l]=r[l])}else o=r;return(ae(t),r=ib(e,t,n,o,i,a),l=iw(),null===e||o$)?(rW&&l&&rz(t),t.flags|=1,oH(e,t,r,a),t.child):(iT(e,t,a),li(e,t,a))}function oq(e,t,n,r,a){if(null===e){var i=n.type;return"function"!=typeof i||rv(i)||void 0!==i.defaultProps||null!==n.compare?((e=rS(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,oG(e,t,i,r,a))}if(i=e.child,!lo(e,a)){var o=i.memoizedProps;if((n=null!==(n=n.compare)?n:nz)(o,r)&&e.ref===t.ref)return li(e,t,a)}return t.flags|=1,(e=rb(i,r)).ref=t.ref,e.return=t,t.child=e}function oG(e,t,n,r,a){if(null!==e){var i=e.memoizedProps;if(nz(i,r)&&e.ref===t.ref)if(o$=!1,t.pendingProps=r=i,!lo(e,a))return t.lanes=e.lanes,li(e,t,a);else 0!=(131072&e.flags)&&(o$=!0)}return oZ(e,t,n,r,a)}function oV(e,t,n,r){var a=r.children,i=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(i=null!==i?i.baseLanes|n:n,null!==e){for(a=0,r=t.child=e.child;null!==r;)a=a|r.lanes|r.childLanes,r=r.sibling;r=a&~i}else r=0,t.child=null;return oX(e,t,i,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,oX(e,t,null!==i?i.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&a_(t,null!==i?i.cachePool:null),null!==i?a0(t,i):a1(),a6(t)}else null!==i?(a_(t,i.cachePool),a0(t,i),a7(),t.memoizedState=null):(null!==e&&a_(t,null),a1(),a7());return oH(e,t,a,n),t.child}function oY(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function oX(e,t,n,r,a){var i=ab();return t.memoizedState={baseLanes:n,cachePool:i=null===i?null:{parent:al._currentValue,pool:i}},null!==e&&a_(t,null),a1(),a6(t),null!==e&&r7(e,t,r,!0),t.childLanes=a,null}function oK(e,t){return(t=o7({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function oQ(e,t,n){return aj(t,e.child,null,n),e=oK(t,t.pendingProps),e.flags|=2,a9(t),t.memoizedState=null,e}function oJ(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(s(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function oZ(e,t,n,r,a){return(ae(t),n=ib(e,t,n,r,void 0,a),r=iw(),null===e||o$)?(rW&&r&&rz(t),t.flags|=1,oH(e,t,n,a),t.child):(iT(e,t,a),li(e,t,a))}function o0(e,t,n,r,a,i){return(ae(t),t.updateQueue=null,n=iS(t,r,n,a),i_(e),r=iw(),null===e||o$)?(rW&&r&&rz(t),t.flags|=1,oH(e,t,n,i),t.child):(iT(e,t,i),li(e,t,i))}function o1(e,t,n,r,a){if(ae(t),null===t.stateNode){var i=rm,o=n.contextType;"object"==typeof o&&null!==o&&(i=at(o)),t.memoizedState=null!==(i=new n(r,i)).state&&void 0!==i.state?i.state:null,i.updater=oC,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},aB(t),o=n.contextType,i.context="object"==typeof o&&null!==o?at(o):rm,i.state=t.memoizedState,"function"==typeof(o=n.getDerivedStateFromProps)&&(oP(t,n,o,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(o=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),o!==i.state&&oC.enqueueReplaceState(i,i.state,null),aX(t,r,i,a),aY(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var l=t.memoizedProps,s=oI(n,l);i.props=s;var u=i.context,c=n.contextType;o=rm,"object"==typeof c&&null!==c&&(o=at(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l||u!==o)&&oO(t,i,r,o),aF=!1;var f=t.memoizedState;i.state=f,aX(t,r,i,a),aY(),u=t.memoizedState,l||f!==u||aF?("function"==typeof d&&(oP(t,n,d,r),u=t.memoizedState),(s=aF||oN(t,n,s,r,f,u,o))?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=o,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,a$(e,t),c=oI(n,o=t.memoizedProps),i.props=c,d=t.pendingProps,f=i.context,u=n.contextType,s=rm,"object"==typeof u&&null!==u&&(s=at(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(o!==d||f!==s)&&oO(t,i,r,s),aF=!1,f=t.memoizedState,i.state=f,aX(t,r,i,a),aY();var p=t.memoizedState;o!==d||f!==p||aF||null!==e&&null!==e.dependencies&&r9(e.dependencies)?("function"==typeof l&&(oP(t,n,l,r),p=t.memoizedState),(c=aF||oN(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&r9(e.dependencies))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,oJ(e,t),r=0!=(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=aj(t,e.child,null,a),t.child=aj(t,null,n,a)):oH(e,t,n,a),t.memoizedState=i.state,e=t.child):e=li(e,t,a),e}function o2(e,t,n,r){return rJ(),t.flags|=256,oH(e,t,n,r),t.child}var o3={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function o4(e){return{baseLanes:e,cachePool:aS()}}function o5(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=sD),e}function o8(e,t,n){var r,a=t.pendingProps,i=!1,o=0!=(128&t.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&0!=(2&ie.current)),r&&(i=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rW){if(i?a5(t):a7(),(e=rH)?null!==(e=null!==(e=c$(e,rG))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rM?{id:rL,overflow:rD}:null,retryLane:0x20000000,hydrationErrors:null},(n=rT(e)).return=t,t.child=n,r$=t,rH=null):e=null,null===e)throw rY(t);return cW(e)?t.lanes=32:t.lanes=0x20000000,null}var l=a.children;return(a=a.fallback,i)?(a7(),l=o7({mode:"hidden",children:l},i=t.mode),a=rE(a,i,n,null),l.return=t,a.return=t,l.sibling=a,t.child=l,(a=t.child).memoizedState=o4(n),a.childLanes=o5(e,r,n),t.memoizedState=o3,oY(null,a)):(a5(t),o6(t,l))}var u=e.memoizedState;if(null!==u&&null!==(l=u.dehydrated)){if(o)256&t.flags?(a5(t),t.flags&=-257,t=o9(e,t,n)):null!==t.memoizedState?(a7(),t.child=e.child,t.flags|=128,t=null):(a7(),l=a.fallback,i=t.mode,a=o7({mode:"visible",children:a.children},i),l=rE(l,i,n,null),l.flags|=2,a.return=t,l.return=t,a.sibling=l,t.child=a,aj(t,e.child,null,n),(a=t.child).memoizedState=o4(n),a.childLanes=o5(e,r,n),t.memoizedState=o3,t=oY(null,a));
20else if(a5(t),cW(l)){if(r=l.nextSibling&&l.nextSibling.dataset)var c=r.dgst;r=c,(a=Error(s(419))).stack="",a.digest=r,r0({value:a,source:null,stack:null}),t=o9(e,t,n)}else if(o$||r7(e,t,n,!1),r=0!=(n&e.childLanes),o$||r){if(null!==(r=sw)&&0!==(a=eF(r,n))&&a!==u.retryLane)throw u.retryLane=a,rf(e,a),s6(r,e,a),oB;cH(l)||us(),t=o9(e,t,n)}else cH(l)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,rH=cq(l.nextSibling),r$=t,rW=!0,rq=null,rG=!1,null!==e&&rB(t,e),t=o6(t,a.children),t.flags|=4096);return t}return i?(a7(),l=a.fallback,i=t.mode,c=(u=e.child).sibling,(a=rb(u,{mode:"hidden",children:a.children})).subtreeFlags=0x7e00000&u.subtreeFlags,null!==c?l=rb(c,l):(l=rE(l,i,n,null),l.flags|=2),l.return=t,a.return=t,a.sibling=l,t.child=a,oY(null,a),a=t.child,null===(l=e.child.memoizedState)?l=o4(n):(null!==(i=l.cachePool)?(u=al._currentValue,i=i.parent!==u?{parent:u,pool:u}:i):i=aS(),l={baseLanes:l.baseLanes|n,cachePool:i}),a.memoizedState=l,a.childLanes=o5(e,r,n),t.memoizedState=o3,oY(e.child,a)):(a5(t),e=(n=e.child).sibling,(n=rb(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function o6(e,t){return(t=o7({mode:"visible",children:t},e.mode)).return=e,e.child=t}function o7(e,t){return(e=ry(22,e,null,t)).lanes=0,e}function o9(e,t,n){return aj(t,e.child,null,n),e=o6(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function le(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),r8(e.return,t,n)}function lt(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===ia(n)&&(t=e),e=e.sibling}return t}function ln(e,t,n,r,a,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,treeForkCount:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a,o.treeForkCount=i)}function lr(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function la(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;r=r.children;var o=ie.current;if(128&t.flags)return it(t,o),null;var l=0!=(2&o);if(l?(o=1&o|2,t.flags|=128):o&=1,it(t,o),"backwards"===a&&null!==e?(lr(e),oH(e,t,r,n),lr(e)):oH(e,t,r,n),r=rW?rO:0,!l&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&le(e,n,t);else if(19===e.tag)le(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"backwards":null===(n=lt(t.child))?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null,lr(t)),ln(t,!0,a,null,i,r);break;case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ia(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}ln(t,!0,n,null,i,r);break;case"together":ln(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=lt(t.child))?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),ln(t,!1,a,n,i,r)}return t.child}function li(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),sA|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(r7(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(n=rb(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rb(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function lo(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&r9(e))}function ll(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)o$=!0;else{if(!lo(e,n)&&0==(128&t.flags))return o$=!1,function(e,t,n){switch(t.tag){case 3:ea(t,t.stateNode.containerInfo),r4(t,al,e.memoizedState.cache),rJ();break;case 27:case 5:eo(t);break;case 4:ea(t,t.stateNode.containerInfo);break;case 10:r4(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,a8(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return a5(t),t.flags|=128,null;if(0!=(n&t.child.childLanes))return o8(e,t,n);return a5(t),null!==(e=li(e,t,n))?e.sibling:null}a5(t);break;case 19:if(128&t.flags)return la(e,t,n);var a=0!=(128&e.flags);if((r=0!=(n&t.childLanes))||(r7(e,t,n,!1),r=0!=(n&t.childLanes)),a){if(r)return la(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),it(t,ie.current),!r)return null;break;case 22:return t.lanes=0,oV(e,t,n,t.pendingProps);case 24:r4(t,al,e.memoizedState.cache)}
20return li(e,t,n)}(e,t,n);o$=0!=(131072&e.flags)}else o$=!1,rW&&0!=(1048576&t.flags)&&rj(t,rO,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=aP(t.elementType),t.type=e,"function"==typeof e)rv(e)?(r=oI(e,r),t.tag=1,t=o1(null,t,e,r,n)):(t.tag=0,t=oZ(null,t,e,r,n));else{if(null!=e){var a=e.$$typeof;if(a===A){t.tag=11,t=oW(null,t,e,r,n);break e}if(a===D){t.tag=14,t=oq(null,t,e,r,n);break e}}throw Error(s(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===W?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case P:return"Fragment";case N:return"Profiler";case C:return"StrictMode";case M:return"Suspense";case L:return"SuspenseList";case j:return"Activity";case B:return"ViewTransition"}if("object"==typeof t)switch(t.$$typeof){case x:return"Portal";case I:return t.displayName||"Context";case O:return(t._context.displayName||"Context")+".Consumer";case A:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case D:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case U:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return oZ(e,t,t.type,t.pendingProps,n);case 1:return a=oI(r=t.type,t.pendingProps),o1(e,t,r,a,n);case 3:e:{if(ea(t,t.stateNode.containerInfo),null===e)throw Error(s(387));r=t.pendingProps;var i=t.memoizedState;a=i.element,a$(e,t),aX(t,r,null,n);var o=t.memoizedState;if(r4(t,al,r=o.cache),r!==i.cache&&r6(t,[al],n,!0),aY(),r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=o2(e,t,r,n);break e}else if(r!==a){r0(a=rx(Error(s(424)),t)),t=o2(e,t,r,n);break e}else for(rH=cq((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),r$=t,rW=!0,rq=null,rG=!0,n=az(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rJ(),r===a){t=li(e,t,n);break e}oH(e,t,r,n)}t=t.child}return t;case 26:return oJ(e,t),null===e?(n=c3(t.type,null,t.pendingProps,null))?t.memoizedState=n:rW||(n=t.type,e=t.pendingProps,(r=cs(en.current).createElement(n))[eG]=t,r[eV]=e,ca(r,n,e),e5(r),t.stateNode=r):t.memoizedState=c3(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return eo(t),null===e&&rW&&(r=t.stateNode=cX(t.type,t.pendingProps,en.current),r$=t,rG=!0,a=rH,cv(t.type)?(cG=a,rH=cq(r.firstChild)):rH=a),oH(e,t,t.pendingProps.children,n),oJ(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rW&&((a=r=rH)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[eZ])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===a)return e}if(null===(e=cq(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rG))?(t.stateNode=r,r$=t,rH=cq(r.firstChild),rG=!1,a=!0):a=!1),a||rY(t)),eo(t),a=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,r=i.children,cd(a,i)?r=null:null!==o&&cd(a,o)&&(t.flags|=32),null!==t.memoizedState&&(dv._currentValue=a=ib(e,t,iE,null,null,n)),oJ(e,t),oH(e,t,r,n),t.child;case 6:return null===e&&rW&&((e=n=rH)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;
20)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=cq(e.nextSibling)))return null;return e}(n,t.pendingProps,rG))?(t.stateNode=n,r$=t,rH=null,e=!0):e=!1),e||rY(t)),null;case 13:return o8(e,t,n);case 4:return ea(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=aj(t,null,r,n):oH(e,t,r,n),t.child;case 11:return oW(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,oJ(e,t),oH(e,t,r,n),t.child;case 8:case 12:return oH(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,r4(t,t.type,r.value),oH(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,ae(t),r=r(a=at(a)),t.flags|=1,oH(e,t,r,n),t.child;case 14:return oq(e,t,t.type,t.pendingProps,n);case 15:return oG(e,t,t.type,t.pendingProps,n);case 19:return la(e,t,n);case 31:var l=e,u=t,c=n,d=u.pendingProps,f=0!=(128&u.flags);if(u.flags&=-129,null===l){if(rW){if("hidden"===d.mode)return l=oK(u,d),u.lanes=0x20000000,oY(null,l);if(a8(u),(l=rH)?null!==(l=null!==(l=c$(l,rG))&&"&"===l.data?l:null)&&(u.memoizedState={dehydrated:l,treeContext:null!==rM?{id:rL,overflow:rD}:null,retryLane:0x20000000,hydrationErrors:null},(c=rT(l)).return=u,u.child=c,r$=u,rH=null):l=null,null===l)throw rY(u);return u.lanes=0x20000000,null}return oK(u,d)}var p=l.memoizedState;if(null!==p){var h=p.dehydrated;if(a8(u),f)if(256&u.flags)u.flags&=-257,u=oQ(l,u,c);else if(null!==u.memoizedState)u.child=l.child,u.flags|=128,u=null;else throw Error(s(558));else if(o$||r7(l,u,c,!1),f=0!=(c&l.childLanes),o$||f){if(null!==(d=sw)&&0!==(h=eF(d,c))&&h!==p.retryLane)throw p.retryLane=h,rf(l,h),s6(d,l,h),oB;us(),u=oQ(l,u,c)}else l=p.treeContext,rH=cq(h.nextSibling),r$=u,rW=!0,rq=null,rG=!1,null!==l&&rB(u,l),u=oK(u,d),u.flags|=4096;return u}return(l=rb(l.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=l,l.return=u,l;case 22:return oV(e,t,n,t.pendingProps);case 24:return ae(t),r=at(al),null===e?(null===(a=ab())&&(a=sw,i=as(),a.pooledCache=i,i.refCount++,null!==i&&(a.pooledCacheLanes|=n),a=i),t.memoizedState={parent:r,cache:a},aB(t),r4(t,al,a)):(0!=(e.lanes&n)&&(a$(e,t),aX(t,null,null,n),aY()),a=e.memoizedState,i=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),r4(t,al,r)):(r4(t,al,r=i.cache),r!==a.cache&&r6(t,[al],n,!0))),oH(e,t,t.pendingProps.children,n),t.child;case 30:return null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?0x1202000:0x1200000:rW&&rz(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:oJ(e,t),oH(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function ls(e){e.flags|=4}function lu(e,t,n,r,a){var i;if((i=0!=(32&e.mode))&&(i=null===n?dl(t,r):dl(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),i){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(ui())e.flags|=8192;else throw aC=ak,aw}else e.flags&=-0x1000001}function lc(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!ds(t))if(ui())e.flags|=8192;else throw aC=ak,aw}function ld(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eL():0x20000000,e.lanes|=t,sU|=t)}function lf(e,t){if(!rW)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(n=null,t=e.tail;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function lp(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0x7e00000&a.subtreeFlags,r|=0x7e00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lh(e,t){switch(rF(t),t.tag){case 3:r5(al),ei();break;case 26:case 27:case 5:el(t);break;case 4:ei();break;case 31:null!==t.memoizedState&&a9(t);break;case 13:a9(t);break;case 19:ir(t);break;case 10:r5(t.type);break;case 22:case 23:a9(t),a2(),null!==e&&J(av);break;case 24:r5(al)}}function lm(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;
20if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var i=n.create;n.inst.destroy=r=i()}n=n.next}while(n!==a)}}catch(e){uk(t,t.return,e)}}function lg(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var i=a.next;r=i;do{if((r.tag&e)===e){var o=r.inst,l=o.destroy;if(void 0!==l){o.destroy=void 0,a=t;try{l()}catch(e){uk(a,n,e)}}}r=r.next}while(r!==i)}}catch(e){uk(t,t.return,e)}}function ly(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{aQ(t,n)}catch(t){uk(e,e.return,t)}}}function lv(e,t,n){n.props=oI(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){uk(e,t,n)}}function lb(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var a=e.stateNode,i=rn(e.memoizedProps,a);(null===a.ref||a.ref.name!==i)&&(a.ref=cP(i)),r=a.ref;break;case 7:null===e.stateNode&&(e.stateNode=new cC(e)),r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){uk(e,t,n)}}function l_(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){uk(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){uk(e,t,n)}else n.current=null}function lS(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){uk(e,e.return,t)}}function lE(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,o=null,l=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(h)||cn(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(tr=!0),i=h;break;case"name":h!==f&&(tr=!0),a=h;break;case"checked":h!==f&&(tr=!0),c=h;break;case"defaultChecked":h!==f&&(tr=!0),d=h;break;case"value":h!==f&&(tr=!0),o=h;break;case"defaultValue":h!==f&&(tr=!0),l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(s(137,t));break;default:h!==f&&cn(e,t,p,h,r,f)}}tm(e,o,l,u,c,d,i,a);return;case"select":for(i in h=o=l=p=null,n)if(u=n[i],n.hasOwnProperty(i)&&null!=u)switch(i){case"value":break;case"multiple":h=u;default:r.hasOwnProperty(i)||cn(e,t,i,null,r,u)}for(a in r)if(i=r[a],u=n[a],r.hasOwnProperty(a)&&(null!=i||null!=u))switch(a){case"value":i!==u&&(tr=!0),p=i;break;case"defaultValue":i!==u&&(tr=!0),l=i;break;case"multiple":i!==u&&(tr=!0),o=i;default:i!==u&&cn(e,t,a,i,r,u)}t=l,n=o,r=h,null!=p?tv(e,!!n,p,!1):!!r!=!!n&&(null!=t?tv(e,!!n,t,!0):tv(e,!!n,n?[]:"",!1));return;case"textarea":for(l in h=p=null,n)if(a=n[l],n.hasOwnProperty(l)&&null!=a&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:cn(e,t,l,null,r,a)}for(o in r)if(a=r[o],i=n[o],r.hasOwnProperty(o)&&(null!=a||null!=i))switch(o){case"value":a!==i&&(tr=!0),p=a;break;case"defaultValue":a!==i&&(tr=!0),h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(s(91));break;default:a!==i&&cn(e,t,o,a,r,i)}tb(e,p,h);return;case"option":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&("selected"===m?e.selected=!1:cn(e,t,m,null,r,p));for(u in r)p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h)&&("selected"===u?(p!==h&&(tr=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p):cn(e,t,u,p,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&cn(e,t,g,null,r,p);for(c in r)if(p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(s(137,t));break;default:cn(e,t,c,p,r,h)}return;default:if(tk(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&cr(e,t,y,void 0,r,p);
20for(d in r)p=r[d],h=n[d],r.hasOwnProperty(d)&&p!==h&&(void 0!==p||void 0!==h)&&cr(e,t,d,p,r,h);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&null!=p&&!r.hasOwnProperty(v)&&cn(e,t,v,null,r,p);for(f in r)p=r[f],h=n[f],r.hasOwnProperty(f)&&p!==h&&(null!=p||null!=h)&&cn(e,t,f,p,r,h)})(r,e.type,n,t),r[eV]=t}catch(t){uk(e,e.return,t)}}function lw(e,t){if(5===e.tag&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)cF(e.stateNode,t[n])}function lT(e){for(var t=e.return;null!==t;){if(lR(t)){var n=e.stateNode,r=t.stateNode._eventListeners;if(null!==r)for(var a=0;a<r.length;a++){var i=r[a];n.removeEventListener(i.type,i.listener,i.optionsOrUseCapture)}}if(lk(t))break;t=t.return}}function lk(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&cv(e.type)||4===e.tag}function lR(e){return e&&7===e.tag&&null!==e.stateNode}function lx(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lk(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&cv(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function lP(e,t,n,r){var a=e.tag;if(5===a||6===a)a=e.stateNode,t?n.insertBefore(a,t):n.appendChild(a),lw(e,r),tr=!0;else if(4!==a&&(27===a&&cv(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(lP(e,t,n,r),e=e.sibling;null!==e;)lP(e,t,n,r),e=e.sibling}function lC(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);ca(t,r,n),t[eG]=e,t[eV]=n}catch(t){uk(e,e.return,t)}}var lN=!1,lO=null;function lI(e){(30===e.tag||0!=(0x2000000&e.subtreeFlags))&&(lN=!0)}var lA=null;function lM(){var e=lA;return lA=null,e}var lL=0;function lD(e,t,n,r,a){return lL=0,function e(t,n,r,a,i){for(var o=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==a){var s=cT(l);a.push(s),s.view&&(o=!0)}else o||cT(l).view&&(o=!0);lN=!0,cS(l,0===lL?n:n+"_"+lL,r),lL++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&i||e(t.child,n,r,a,i)&&(o=!0));t=t.sibling}return o}(e.child,t,n,r,a)}function lU(e,t){for(;null!==e;)5===e.tag?cE(e.stateNode,e.memoizedProps):(22!==e.tag||null===e.memoizedState)&&(30===e.tag&&t||lU(e.child,t)),e=e.sibling}function lj(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(lj(e),30===e.tag&&0!=(0x1200000&e.flags)&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(s(544));var n=t.name;"none"!==(t=ra(t.default,t.share))&&(lD(e,n,t,null,!1)||lU(e.child,!1))}e=e.sibling}}function lz(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,a=rn(r,n),i=ra(r.default,n.paired?r.share:r.enter);"none"!==i?lD(e,a,i,null,!1)?(lj(e),n.paired||t||s8(e,r.onEnter)):lU(e.child,!1):lj(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lz(e,t),e=e.sibling;else lj(e)}function lF(e){if(null!==lO&&0!==lO.size){var t=lO;if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var a=t.get(r);if(void 0!==a){var i=ra(n.default,n.share);if("none"!==i&&(lD(e,r,i,null,!1)?(a.paired=i=e.stateNode,i.paired=a,s8(e,n.onShare)):lU(e.child,!1)),t.delete(r),0===t.size)break}}}lF(e)}e=e.sibling}}}function lB(e){if(30===e.tag){var t=e.memoizedProps,n=rn(t,e.stateNode),r=null!==lO?lO.get(n):void 0,a=ra(t.default,void 0!==r?t.share:t.exit);"none"!==a&&(lD(e,n,a,null,!1)?void 0!==r?(r.paired=a=e.stateNode,a.paired=r,lO.delete(n),s8(e,t.onShare)):s8(e,t.onExit):lU(e.child,!1)),null!==lO&&lF(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lB(e),e=e.sibling;else null!==lO&&lF(e)}function l$(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var t=e.stateNode;null!==t.paired&&(t.paired=null,lU(e.child,!1))}l$(e)}e=e.sibling}}function lH(e){if(30===e.tag)e.stateNode.paired=null,lU(e.child,!1),l$(e);else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)lH(e),e=e.sibling;else l$(e)}function lW(e,t,n,r,a,i,o){for(var l=!1;null!==t;){if(5===t.tag){var s=t.stateNode;if(null!==i&&lL<i.length){var u,c=i[lL],d=cT(s);if((c.view||d.view)&&(l=!0),u=0==(4&e.flags))if(d.clip)u=!0;else{u=c.rect;var f=d.rect;u=u.y!==f.y||u.x!==f.x||u.height!==f.height||u.width!==f.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;0!=(4&e.flags)&&cS(s,0===lL?n:n+"_"+lL,a),l&&0!=(4&e.flags)||(null===lA&&(lA=[]),lA.push(s,r,t.memoizedProps)),lL++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&o?e.flags|=32&t.flags:lW(e,t.child,n,r,a,i,o)&&(l=!0));t=t.sibling}return l}var lq=!1,lG=!1,lV=!1,lY=!1,lX="function"==typeof WeakSet?WeakSet:Set,lK=null,lQ=!1,lJ=!1,lZ=!1,l0=!1;function l1(e){for(;null!==lK;){var t=lK,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:if(0!=(4&a)&&null!==(r=null!==(r=t.updateQueue)?r.events:null))for(n=0;n<r.length;n++)(a=r[n]).ref.impl=a.nextImpl;break;case 1:if(0!=(1024&a)&&null!==r){n=void 0,a=r.memoizedProps,r=r.memoizedState;var i=t.stateNode;try{var o=oI(t.type,a);n=i.getSnapshotBeforeUpdate(o,r),i.__reactInternalSnapshotBeforeUpdate=n}catch(e){uk(t,t.return,e)}}break;
20case 3:if(0!=(1024&a)){if(9===(n=(r=t.stateNode.containerInfo).nodeType))cB(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":cB(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&null!==r&&(n=rn(r.memoizedProps,r.stateNode),"none"!==(a=ra((a=t.memoizedProps).default,a.update))&&lD(r,n,a,r.memoizedState=[],!0));break;default:if(0!=(1024&a))throw Error(s(163))}if(null!==(r=t.sibling)){r.return=t.return,lK=r;break}lK=t.return}}function l2(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:sl(e,n),4&r&&lm(5,n);break;case 1:if(sl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){uk(n,n.return,e)}else{var a=oI(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){uk(n,n.return,e)}}64&r&&ly(n),512&r&&lb(n,n.return);break;case 3:if(sl(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{aQ(e,t)}catch(e){uk(n,n.return,e)}}break;case 27:null===t&&4&r&&lC(n);case 26:case 5:sl(e,n),null===t&&4&r&&lS(n),512&r&&lb(n,n.return);break;case 12:sl(e,n);break;case 31:sl(e,n),4&r&&l7(e,n);break;case 13:sl(e,n),4&r&&l9(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=uC.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||lq)){t=null!==t&&null!==t.memoizedState||lG,a=lq;var i=lG;lq=r,(lG=t)&&!i?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var a=n.alternate,i=t,o=n,l=o.flags;switch(o.tag){case 0:case 11:case 15:e(i,o,r),lm(4,o);break;case 1:if(e(i,o,r),"function"==typeof(i=(a=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(e){uk(a,a.return,e)}if(null!==(i=(a=o).updateQueue)){var s=a.stateNode;try{var u=i.shared.hiddenCallbacks;if(null!==u)for(i.shared.hiddenCallbacks=null,i=0;i<u.length;i++)aK(u[i],s)}catch(e){uk(a,a.return,e)}}r&&64&l&&ly(o),lb(o,o.return);break;case 27:lC(o);case 26:case 5:if(5===o.tag){s=o;for(var c=s.return;null!==c&&(lR(c)&&cF(s.stateNode,c.stateNode),!lk(c));)c=c.return}e(i,o,r),r&&null===a&&4&l&&lS(o),lb(o,o.return);break;case 12:e(i,o,r);break;case 31:e(i,o,r),r&&4&l&&l7(i,o);break;case 13:e(i,o,r),r&&4&l&&l9(i,o);break;case 22:null===o.memoizedState&&e(i,o,r),lb(o,o.return);break;case 30:e(i,o,r),lb(o,o.return);break;case 7:lb(o,o.return);default:e(i,o,r)}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):sl(e,n),lq=a,lG=i}break;case 30:sl(e,n),512&r&&lb(n,n.return);break;case 7:512&r&&lb(n,n.return);default:sl(e,n)}}function l3(e,t){for(e=e.child;null!==e;)(function e(t,n){switch(t.tag){case 5:case 26:try{var r=t.stateNode;if(n){var a=r.style;"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"}else{var i=t.stateNode,o=t.memoizedProps.style,l=null!=o&&o.hasOwnProperty("display")?o.display:null;i.style.display=null==l||"boolean"==typeof l?"":(""+l).trim()}}catch(e){uk(t,t.return,e)}!function t(n,r){if(0x4000000&n.subtreeFlags)for(n=n.child;null!==n;){e:{var a=n;switch(a.tag){case 4:e(a,r);break e;case 22:null===a.memoizedState&&t(a,r);break e;default:t(a,r)}}n=n.sibling}}(t,n);break;case 6:try{t.stateNode.nodeValue=n?"":t.memoizedProps,tr=!0}catch(e){uk(t,t.return,e)}break;case 18:try{var s=t.stateNode;n?c_(s,!0):c_(t.stateNode,!1)}catch(e){uk(t,t.return,e)}break;case 22:case 23:null===t.memoizedState&&l3(t,n);break;default:l3(t,n)}})(e,t),e=e.sibling}var l4=null,l5=!1;function l8(e,t,n){for(n=n.child;null!==n;)l6(e,t,n),n=n.sibling}function l6(e,t,n){if(ek&&"function"==typeof ek.onCommitFiberUnmount)try{ek.onCommitFiberUnmount(eT,n)}catch(e){}switch(n.tag){case 26:lG||l_(n,t),l8(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:lG||l_(n,t);var r=l4,a=l5;cv(n.type)&&(l4=n.stateNode,l5=!1),l8(e,t,n),cK(n.stateNode),l4=r,l5=a;break;case 5:lG||l_(n,t),5===n.tag&&lT(n);case 6:if(r=l4,a=l5,l4=null,l8(e,t,n),l4=r,l5=a,null!==l4)if(l5)try{(9===l4.nodeType?l4.body:"HTML"===l4.nodeName?l4.ownerDocument.body:l4).removeChild(n.stateNode),tr=!0}catch(e){uk(n,t,e)}else try{l4.removeChild(n.stateNode),tr=!0}catch(e){uk(n,t,e)}break;case 18:null!==l4&&(l5?(cb(9===(e=l4).nodeType?e.body:"HTML"===e.n
vendor: 6,256 bytes, line 20
20odeName?e.ownerDocument.body:e,n.stateNode),dQ(e)):cb(l4,n.stateNode));break;case 4:r=l4,a=l5,l4=n.stateNode.containerInfo,l5=!0,l8(e,t,n),l4=r,l5=a;break;case 0:case 11:case 14:case 15:lg(2,n,t),lG||lg(4,n,t),l8(e,t,n);break;case 1:lG||(l_(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&lv(n,t,r)),l8(e,t,n);break;case 21:default:l8(e,t,n);break;case 22:lG=(r=lG)||null!==n.memoizedState,l8(e,t,n),lG=r;break;case 30:l_(n,t),l8(e,t,n);break;case 7:lG||l_(n,t),l8(e,t,n)}}function l7(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{dQ(e)}catch(e){uk(t,t.return,e)}}}function l9(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{dQ(e)}catch(e){uk(t,t.return,e)}}function se(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new lX),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new lX),t;default:throw Error(s(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=uN.bind(null,e,t);t.then(r,r)}})}function st(e,t,n){var r=t.deletions;if(null!==r)for(var a=0;a<r.length;a++){var i=r[a],o=e,l=t,u=l;e:for(;null!==u;){switch(u.tag){case 27:if(cv(u.type)){l4=u.stateNode,l5=!1;break e}break;case 5:l4=u.stateNode,l5=!1;break e;case 3:case 4:l4=u.stateNode.containerInfo,l5=!0;break e}u=u.return}if(null===l4)throw Error(s(160));l6(o,l,i),l4=null,l5=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)sr(t,e,n),t=t.sibling}var sn=null;function sr(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:st(t,e,n),sa(e),4&a&&(lg(3,e,e.return),lm(3,e),lg(5,e,e.return));break;case 1:st(t,e,n),sa(e),512&a&&(lG||null===r||l_(r,r.return)),64&a&&lq&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===t?r:t.concat(r));break;case 26:var i=sn;if(st(t,e,n),sa(e),512&a&&(lG||null===r||l_(r,r.return)),4&a)if(n=null!==r?r.memoizedState:null,t=e.memoizedState,null===r)if(null===t)if(null===e.stateNode){e:{r=e.type,t=e.memoizedProps,n=i.ownerDocument||i;t:switch(r){case"title":(!(a=n.getElementsByTagName("title")[0])||a[eZ]||a[eG]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),ca(a,r,t),a[eG]=e,e5(a),r=a;break e;case"link":if(i=da("link","href",n).get(r+(t.href||""))){for(var o=0;o<i.length;o++)if((a=i[o]).getAttribute("href")===(null==t.href||""===t.href?null:t.href)&&a.getAttribute("rel")===(null==t.rel?null:t.rel)&&a.getAttribute("title")===(null==t.title?null:t.title)&&a.getAttribute("crossorigin")===(null==t.crossOrigin?null:t.crossOrigin)){i.splice(o,1);break t}}ca(a=n.createElement(r),r,t),n.head.appendChild(a);break;case"meta":if(i=da("meta","content",n).get(r+(t.content||""))){for(o=0;o<i.length;o++)if((a=i[o]).getAttribute("content")===(null==t.content?null:""+t.content)&&a.getAttribute("name")===(null==t.name?null:t.name)&&a.getAttribute("property")===(null==t.property?null:t.property)&&a.getAttribute("http-equiv")===(null==t.httpEquiv?null:t.httpEquiv)&&a.getAttribute("charset")===(null==t.charSet?null:t.charSet)){i.splice(o,1);break t}}ca(a=n.createElement(r),r,t),n.head.appendChild(a);break;default:throw Error(s(468,r))}a[eG]=e,e5(a),r=a}e.stateNode=r}else di(i,e.type,e.stateNode);else e.stateNode=c9(i,t,e.memoizedProps);else n!==t?(null===n?null!==r.stateNode&&(r=r.stateNode).parentNode.removeChild(r):n.count--,null===t?di(i,e.type,e.stateNode):c9(i,t,e.memoizedProps)):null===t&&null!==e.stateNode&&lE(e,e.memoizedProps,r.memoizedProps);break;case 27:st(t,e,n),sa(e),512&a&&(lG||null===r||l_(r,r.return)),null!==r&&4&a&&lE(e,e.memoizedProps,r.memoizedProps);break;case 5:if(i=lV,lV=!1,st(t,e,n),lV=i,sa(e),512&a&&(lG||null===r||l_(r,r.return)),32&e.flags){t=e.stateNode;try{tS(t,""),tr=!0}catch(t){uk(e,e.return,t)}}4&a&&null!=e.stateNode&&(t=e.memoizedProps,lE(e,t,null!==r?r.memoizedProps:t)),1024&a&&(lY=!0);break;case 6:if(st(t,e,n),sa(e),4&a){if(null===e.stateNode)throw Error(s(162));r=e.memoizedProps,t=e.stateNode;try{t.nodeValue=r,tr=!0}catch(t){uk(e,e.return,t)}}break;case 3:if(tr=!1,dr=null,i=sn,sn=cZ(t.containerInfo),st(t,e,n),sn=i,sa(e),4&a&&null!==r&&r.memoizedState.isDehydrated)try{dQ(t.containerInfo)}catch(t){uk(e,e.return,t)}lY&&(lY=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),t=t.sibling}}(e)),tr=!1;break;case 4:r=lV,lV=lq,a=ta(),i=sn,sn=cZ(e.stateNode.containerInfo),st(t,e,n),sa(e),sn=i,tr&&lJ&&(lZ=!0),tr=a,lV=r;break;case 12:st(t,e,n),sa(e);break;case 31:case 19:st(t,e,n),sa(e),4&a&&null!==(r=e.updateQueue)&&(e.updateQueue=null,se(e,r));break;case 13:st(t,e,n),sa(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(sB=ey()),4&a&&null!==(r=e.updateQueue)&&(e.updateQueue=null,se(e,r));break;case 22:i=null!==e.memoizedState,o=null!==r&&null!==r.memoizedState;var l=lq,u=lG,c=lV;lq=l||i,lV=c||i,lG=u||o,st(t,e,n),lG=u,lV=c,lq=l,sa(e),8192&a&&((t=e.stateNode)._visibility=i?-2&t._visibility:1|t._visibility,i&&(null===r||o||lq||lG||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:lg(4,n,n.return),e(n);break;case 1:l_(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&lv(n,n.return,r),e(n);break;case 27:cK(n.stateNode);case 26:case 5:l_(n,n.return),5===n.tag&&lT(n),e(n);break;case 22:null===n.memoizedState&&e(n);break;case 30:l_(n,n.return),e(n);break;case 7:l_(n,n.return);default:e(n)}t=t.sibling}}(e)),!i&&lV||l3(e,i)),4&a&&null!==(r=e.updateQueue)&&null!==(t=r.retryQueue)&&(r.retryQueue=null,se(e,t));break;case 30:512&a&&(lG||null===r||l_(r,r.return)),a=ta(),i=lJ,o=(0x13ffff00&n)===n,l=e.memoizedProps,lJ=o&&"none"!==ra(l.default,l.update),st(t,e,n),sa(e),o&&null!==r&&tr&&(e.flags|=4),lJ=i,tr=a;break;case 21:break;case 7:r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:st(t,e,n),sa(e)}}function sa(e){var t=e.flags;if(2&t){try{for(var n,r=null,a=e.return;null!==a;){if(lR(a)){var i=a.stateNode;null===r?r=[i]:r.push(i)}
20if(lk(a)){n=a;break}a=a.return}if(null==n)throw Error(s(160));switch(n.tag){case 27:var o=n.stateNode,l=lx(e);lP(e,l,o,r);break;case 5:var u=n.stateNode;32&n.flags&&(tS(u,""),n.flags&=-33);var c=lx(e);lP(e,c,u,r);break;case 3:case 4:var d=n.stateNode.containerInfo,f=lx(e);!function e(t,n,r,a){var i=t.tag;if(5===i||6===i)i=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(i,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(i),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=tC)),lw(t,a),tr=!0;else if(4!==i&&(27===i&&cv(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r,a),t=t.sibling;null!==t;)e(t,n,r,a),t=t.sibling}(e,f,d,r);break;default:throw Error(s(161))}}catch(t){uk(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function si(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)so(t,e),t=t.sibling;else!function e(t,n){for(t=t.child;null!==t;){if(30===t.tag){var r=t.memoizedProps,a=t.stateNode,i=rn(r,a),o=ra(r.default,r.update);if(n)var l=null===(a=a.clones)?null:a.map(ck);else l=t.memoizedState,t.memoizedState=null;a=t;var s=t.child;lL=0,i=lW(a,s,i,i,o,l,!1),0!=(4&t.flags)&&i&&(n||s8(t,r.onUpdate))}else 0!=(0x2000000&t.subtreeFlags)&&e(t,n);t=t.sibling}}(t,!1)}function so(e,t){var n=e.alternate;if(null===n)lz(e,!1);else switch(e.tag){case 3:if(l0=lQ=!1,lM(),si(t,e),!lQ&&!lZ){if(null!==(e=lA))for(var r=0;r<e.length;r+=3){n=e[r];var a=e[r+1];cE(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+a+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),l0=!0}lA=null;break;case 5:default:si(t,e);break;case 4:r=lQ,lQ=!1,si(t,e),lQ&&(lZ=!0),lQ=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?lz(e,!1):si(t,e));break;case 30:r=lQ,a=lM(),lQ=!1,si(t,e),lQ&&(e.flags|=4);var i=e.memoizedProps,o=e.stateNode;t=rn(i,o),o=rn(n.memoizedProps,o);var l=ra(i.default,i.update);"none"===l?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,lL=0,t=lW(e,n,t,o,l,i,!0),lL!==(null===i?0:i.length)&&(e.flags|=32)),0!=(4&e.flags)&&t?(s8(e,e.memoizedProps.onUpdate),lA=a):null!==a&&(a.push.apply(a,lA),lA=a),lQ=0!=(32&e.flags)||r}}function sl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)l2(e,t.alternate,t),t=t.sibling}function ss(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&au(n))}function su(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&au(e))}function sc(e,t,n,r){var a=(0x13ffff00&n)===n;if(t.subtreeFlags&(a?10262:10256))for(t=t.child;null!==t;)sd(e,t,n,r),t=t.sibling;else a&&function e(t){for(t=t.child;null!==t;)30===t.tag?lU(t.child,!1):0!=(0x2000000&t.subtreeFlags)&&e(t),t=t.sibling}(t)}function sd(e,t,n,r){var a=(0x13ffff00&n)===n;a&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&lH(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:sc(e,t,n,r),2048&i&&lm(9,t);break;case 1:case 31:case 13:default:sc(e,t,n,r);break;case 3:sc(e,t,n,r),a&&l0&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&i&&(i=null,null!==t.alternate&&(i=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==i&&(t.refCount++,null!=i&&au(i)));break;case 12:if(2048&i){sc(e,t,n,r),i=t.stateNode;try{var o=t.memoizedProps,l=o.id,s=o.onPostCommit;"function"==typeof s&&s(l,null===t.alternate?"mount":"update",i.passiveEffectDuration,-0)}catch(e){uk(t,t.return,e)}}else sc(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,l=t.alternate,null!==t.memoizedState?(a&&null!==l&&null===l.memoizedState&&lH(l),2&o._visibility?sc(e,t,n,r):sf(e,t)):(a&&null!==l&&null!==l.memoizedState&&lH(t),2&o._visibility?sc(e,t,n,r):(o._visibility|=2,function e(t,n,r,a,i){for(i=i&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var o=n,l=o.flags;switch(o.tag){case 0:case 11:case 15:e(t,o,r,a,i),lm(8,o);break;case 23:break;case 22:var s=o.stateNode;null!==o.memoizedState?2&s._visibility?e(t,o,r,a,i):sf(t,o):(s._visibility|=2,e(t,o,r,a,i)),i&&2048&l&&ss(o.alternate,o);break;case 24:e(t,o,r,a,i),i&&2048&l&&su(o.alternate,o);break;default:e(t,o,r,a,i)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags)))),2048&i&&ss(l,t);break;case 24:sc(e,t,n,r),2048&i&&su(t.alternate,t);break;case 30:a&&null!==(i=t.alternate)&&(lU(i.child,!0),lU(t.child,!0)),sc(e,t,n,r)}}function sf(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:sf(e,n),2048&r&&ss(n.alternate,n);break;case 24:sf(e,n),2048&r&&su(n.alternate,n);break;default:sf(e,n)}t=t.sibling}}var sp=8192;
20function sh(e,t,n){if(e.subtreeFlags&sp)for(e=e.child;null!==e;)sm(e,t,n),e=e.sibling}function sm(e,t,n){switch(e.tag){case 26:sh(e,t,n),e.flags&sp&&(null!==e.memoizedState?function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var a=c4(r.href),i=t.querySelector(c5(a));if(i){null!==(t=i._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dp.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,e5(i);return}i=t.ownerDocument||t,r=c8(r),(a=cQ.get(a))&&dt(r,a),e5(i=i.createElement("link"));var o=i;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),ca(i,"link",r),n.instance=i}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=dp.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,sn,e.memoizedState,e.memoizedProps):(e=e.stateNode,(0x13ffff40&t)===t&&dc(n,e)));break;case 5:sh(e,t,n),e.flags&sp&&(e=e.stateNode,(0x13ffff40&t)===t&&dc(n,e));break;case 3:case 4:var r=sn;sn=cZ(e.stateNode.containerInfo),sh(e,t,n),sn=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=sp,sp=0x1000000,sh(e,t,n),sp=r):sh(e,t,n));break;case 30:if(0!=(e.flags&sp)&&null!=(r=e.memoizedProps.name)&&"auto"!==r){var a=e.stateNode;a.paired=null,null===lO&&(lO=new Map),lO.set(r,a)}sh(e,t,n);break;default:sh(e,t,n)}}function sg(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function sy(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];lK=r,sb(r,e)}sg(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)sv(e),e=e.sibling}function sv(e){switch(e.tag){case 0:case 11:case 15:sy(e),2048&e.flags&&lg(9,e,e.return);break;case 3:case 12:default:sy(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];lK=a,sb(a,t)}sg(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:lg(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):sy(e)}}function sb(e,t){for(;null!==lK;){var n=lK;switch(n.tag){case 0:case 11:case 15:lg(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:au(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,lK=r;else for(n=e;null!==lK;){var a=(r=lK).sibling,i=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&e0(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){lK=null;break}if(null!==a){a.return=i,lK=a;break}lK=i}}}var s_={getCacheForType:function(e){var t=at(al),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return at(al).controller.signal}},sS="function"==typeof WeakMap?WeakMap:Map,sE=0,sw=null,sT=null,sk=0,sR=0,sx=null,sP=!1,sC=!1,sN=!1,sO=0,sI=0,sA=0,sM=0,sL=0,sD=0,sU=0,sj=null,sz=null,sF=!1,sB=0,s$=0,sH=1/0,sW=null,sq=null,sG=0,sV=null,sY=null,sX=0,sK=0,sQ=null,sJ=null,sZ=null,s0=null,s1=null,s2=0,s3=null;function s4(){return 0!=(2&sE)&&0!==sk?sk&-sk:null!==G.T?uW():eH()}function s5(){if(0===sD)if(0==(0x20000000&sk)||rW){var e=eN;0==(3932160&(eN<<=1))&&(eN=262144),sD=e}else sD=0x20000000;return null!==(e=a3.current)&&(e.flags|=32),sD}function s8(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=cP(rn(e.memoizedProps,n))),null===s0&&(s0=[]),s0.push(t.bind(null,r))}}function s6(e,t,n){(e===sw&&(2===sR||9===sR)||null!==e.cancelPendingCommit)&&(ur(e,0),ue(e,sk,sD,!1)),eU(e,n),(0==(2&sE)||e!==sw)&&(e===sw&&(0==(2&sE)&&(sM|=n),4===sI&&ue(e,sk,sD,!1)),uU(e))}
20function s7(e,t,n){if(0!=(6&sE))throw Error(s(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eM(e,t),a=r?function(e,t){var n=sE;sE|=2;var r=uo(),a=ul();sw!==e||sk!==t?(sW=null,sH=ey()+500,ur(e,t)):sC=eM(e,t);e:for(;;)try{if(0!==sR&&null!==sT){t=sT;var i=sx;t:switch(sR){case 1:sR=0,sx=null,uf(e,t,i,1);break;case 2:case 9:if(aR(i)){sR=0,sx=null,ud(t);break}t=function(){2!==sR&&9!==sR||sw!==e||(sR=7),uU(e)},i.then(t,t);break e;case 3:sR=7;break e;case 4:sR=5;break e;case 7:aR(i)?(sR=0,sx=null,ud(t)):(sR=0,sx=null,uf(e,t,i,7));break;case 5:var o=null;switch(sT.tag){case 26:o=sT.memoizedState;case 5:case 27:var l=sT;if(o?ds(o):l.stateNode.complete){sR=0,sx=null;var u=l.sibling;if(null!==u)sT=u;else{var c=l.return;null!==c?(sT=c,up(c)):sT=null}break t}}sR=0,sx=null,uf(e,t,i,5);break;case 6:sR=0,sx=null,uf(e,t,i,6);break;case 8:un(),sI=6;break e;default:throw Error(s(462))}}for(;null!==sT&&!em();)uc(sT);break}catch(t){ua(e,t)}return(r3=r2=null,G.H=r,G.A=a,sE=n,null!==sT)?0:(sw=null,sk=0,ru(),sI)}(e,t):uu(e,t,!0),i=r;;){if(0===a)sC&&!r&&ue(e,t,0,!1);else{if(n=e.current.alternate,i&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],i=a.getSnapshot;a=a.value;try{if(!nj(i(),a))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){a=uu(e,t,!1),i=!1;continue}if(2===a){if(i=t,e.errorRecoveryDisabledLanes&i)var o=0;else o=0!=(o=-0x20000001&e.pendingLanes)?o:0x20000000&o?0x20000000:0;if(0!==o){t=o;e:{a=sj;var l=e.current.memoizedState.isDehydrated;if(l&&(ur(e,o).flags|=256),2!==(o=uu(e,o,!1))){if(sN&&!l){e.errorRecoveryDisabledLanes|=i,sM|=i,a=4;break e}i=sz,sz=a,null!==i&&(null===sz?sz=i:sz.push.apply(sz,i))}a=o}if(i=!1,2!==a)continue}}if(1===a){ur(e,0),ue(e,t,0,!0);break}e:{switch(r=e,i=a){case 0:case 1:throw Error(s(345));case 4:if((4194048&t)!==t&&(0x3c00000&t)!==t)break;case 6:ue(r,t,sD,!sP);break e;case 2:sz=null;break;case 3:case 5:break;default:throw Error(s(329))}if((0x3c00000&t)===t&&10<(a=sB+300-ey())){if(ue(r,t,sD,!sP),0!==eA(r,0,!0))break e;sX=t,r.timeoutHandle=cp(s9.bind(null,r,n,sz,sW,sF,t,sD,sM,sU,sP,i,"Throttled",-0,0),a);break e}s9(r,n,sz,sW,sF,t,sD,sM,sU,sP,i,null,-0,0)}}break}uU(e)}function s9(e,t,n,r,a,i,o,l,s,u,c,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(0x13ffff00&i)===i;if(d=null,(y||8192&g||0x1002000==(0x1002000&g))&&(lO=null,sm(t,i,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tC}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=dp.bind(g),y.finished.then(g,g))),null!==(h=d,m=g=(0x3c00000&i)===i?sB-ey():(4194048&i)===i?s$-ey():0,h.stylesheets&&0===h.count&&dg(h,h.stylesheets),g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&dg(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===dd&&(dd=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var a=n[r],i=a.transferSize,o=a.initiatorType,l=a.duration;if(i&&l&&ci(o)){for(o=0,l=a.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&ci(d)&&(o+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(i+o)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&dg(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>dd?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null))){sX=i,e.cancelPendingCommit=g(um.bind(null,e,t,i,n,r,a,o,l,s,c,d,null,f,p)),ue(e,i,o,!u);return}um(e,t,i,n,r,a,o,l,s,c,d)}function ue(e,t,n,r){t&=~sL,t&=~sM,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var i=31-eR(a),o=1<<i;r[i]=-1,a&=~o}0!==n&&ej(e,n,t)}function ut(){return 0!=(6&sE)||(uj(0,!1),!1)}function un(){if(null!==sT){if(0===sR)var e=sT.return;else e=sT,r3=r2=null,ik(e),aI=null,aA=0,e=sT;for(;null!==e;)lh(e.alternate,e),e=e.return;sT=null}}function ur(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,ch(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),sX=0,un(),sw=e,sT=n=rb(e.current,null),sk=t,
20sR=0,sx=null,sP=!1,sC=eM(e,t),sN=!1,sU=sD=sL=sM=sA=sI=0,sz=sj=null,sF=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-eR(r),i=1<<a;t|=e[a],r&=~i}return sO=t,ru(),n}function ua(e,t){io=null,G.H=oT,t===aE||t===aT?(t=aN(),sR=3):t===aw?(t=aN(),sR=4):sR=t===oB?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,sx=t,null===sT&&(sI=1,oD(e,rx(t,e.current)))}function ui(){var e=a3.current;return null===e||((4194048&sk)===sk?null===a4:((0x3c00000&sk)===sk||0!=(0x20000000&sk))&&e===a4)}function uo(){var e=G.H;return G.H=oT,null===e?oT:e}function ul(){var e=G.A;return G.A=s_,e}function us(){sI=4,sP||(4194048&sk)!==sk&&null!==a3.current||(sC=!0),0==(0x7ffffff&sA)&&0==(0x7ffffff&sM)||null===sw||ue(sw,sk,sD,!1)}function uu(e,t,n){var r=sE;sE|=2;var a=uo(),i=ul();(sw!==e||sk!==t)&&(sW=null,ur(e,t)),t=!1;var o=sI;e:for(;;)try{if(0!==sR&&null!==sT){var l=sT,s=sx;switch(sR){case 8:un(),o=6;break e;case 3:case 2:case 9:case 6:null===a3.current&&(t=!0);var u=sR;if(sR=0,sx=null,uf(e,l,s,u),n&&sC){o=0;break e}break;default:u=sR,sR=0,sx=null,uf(e,l,s,u)}}(function(){for(;null!==sT;)uc(sT)})(),o=sI;break}catch(t){ua(e,t)}return t&&e.shellSuspendCounter++,r3=r2=null,sE=r,G.H=a,G.A=i,null===sT&&(sw=null,sk=0,ru()),o}function uc(e){var t=ll(e.alternate,e,sO);e.memoizedProps=e.pendingProps,null===t?up(e):sT=t}function ud(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=o0(n,t,t.pendingProps,t.type,void 0,sk);break;case 11:t=o0(n,t,t.pendingProps,t.type.render,t.ref,sk);break;case 5:ik(t);default:lh(n,t),t=ll(n,t=sT=r_(t,sO),sO)}e.memoizedProps=e.pendingProps,null===t?up(e):sT=t}function uf(e,t,n,r){r3=r2=null,ik(t),aI=null,aA=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&r7(t,n,a,!0),null!==(n=a3.current)){switch(n.tag){case 31:case 13:case 19:return null===a4?us():null===n.alternate&&0===sI&&(sI=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===ak?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),uR(e,r,a)),!1;case 22:return n.flags|=65536,r===ak?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),uR(e,r,a)),!1}throw Error(s(435,n.tag))}return uR(e,r,a),us(),!1}if(rW)return null!==(t=a3.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==rV&&r0(rx(e=Error(s(422),{cause:r}),n))):(r!==rV&&r0(rx(t=Error(s(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=rx(r,n),a=oj(e.stateNode,r,a),aG(e,a),4!==sI&&(sI=2)),!1;var i=Error(s(520),{cause:r});if(i=rx(i,n),null===sj?sj=[i]:sj.push(i),4!==sI&&(sI=2),null===t)return!0;r=rx(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=oj(n.stateNode,r,e),aG(n,e),!1;case 1:if(t=n.type,i=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==i&&"function"==typeof i.componentDidCatch&&(null===sq||!sq.has(i))))return n.flags|=65536,a&=-a,n.lanes|=a,oF(a=oz(a),e,n,r),aG(n,a),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n)return!1}(e,a,t,n,sk)){sI=1,oD(e,rx(n,e.current)),sT=null;return}}catch(t){if(null!==a)throw sT=a,t;sI=1,oD(e,rx(n,e.current)),sT=null;return}32768&t.flags?(rW||1===r?e=!0:sC||0!=(0x20000000&sk)?e=!1:(sP=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=a3.current)&&13===r.tag&&(r.flags|=16384)),uh(t,e)):up(t)}function up(e){var t=e;do{if(0!=(32768&t.flags))return void uh(t,sP);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rF(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return lp(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),r5(al),ei(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rQ(t)?ls(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,rZ())),lp(t),null;case 26:var a=t.type,i=t.memoizedState;return null===e?(ls(t),null!==i?(lp(t),lc(t,i)):(lp(t),lu(t,a,null,r,n))):i?i!==e.memoizedState?(ls(t),lp(t),lc(t,i)):(lp(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&ls(t),lp(t),lu(t,a,e,r,n)),null;case 27:if(el(t),n=en.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&ls(t);else{if(!r){if(null===t.stateNode)throw Error(s(166));return lp(t),t.subtreeFlags&=-0x2000001,null}e=ee.current,rQ(t)?rX(t,e):(t.stateNode=e=cX(a,r,n),ls(t))}return lp(t),t.subtreeFlags&=-0x2000001,null;case 5:if(el(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&ls(t);else{if(!r){if(null===t.stateNode)throw Error(s(166));return lp(t),t.subtreeFlags&=-0x2000001,null}if(i=ee.current,rQ(t))rX(t,i);else{var o=cs(en.current);switch(i){case 1:i=o.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=o.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=o.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=o.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(i=o.createElement("div")).innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i="string"==typeof r.is?o.createElement("select",{is:r.is}
20):o.createElement("select"),r.multiple?i.multiple=!0:r.size&&(i.size=r.size);break;default:i="string"==typeof r.is?o.createElement(a,{is:r.is}):o.createElement(a)}}i[eG]=t,i[eV]=r;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)i.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(t.stateNode=i,ca(i,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&ls(t)}}return lp(t),t.subtreeFlags&=-0x2000001,lu(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&ls(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(s(166));if(e=en.current,rQ(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=r$))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[eG]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ct(e.nodeValue,n)))||rY(t,!0)}else(e=cs(e).createTextNode(r))[eG]=t,t.stateNode=e}return lp(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rQ(t),null!==n){if(null===e){if(!r)throw Error(s(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(s(557));e[eG]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lp(t),e=!1}else n=rZ(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return a9(t),t;return a9(t),null}if(0!=(128&t.flags))throw Error(s(558))}return lp(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=rQ(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(s(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(s(317));a[eG]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lp(t),a=!1}else a=rZ(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return a9(t),t;return a9(t),null}}if(a9(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),i=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(i=r.memoizedState.cachePool.pool),i!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ld(t,t.updateQueue),lp(t),null;case 4:return ei(),null===e&&u1(t.stateNode.containerInfo),t.flags|=0x4000000,lp(t),null;case 10:return r5(t.type),lp(t),null;case 19:if(ir(t),null===(r=t.memoizedState))return lp(t),null;if(a=0!=(128&t.flags),null===(i=r.rendering))if(a)lf(r,!1);else{if(0!==sI||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=ia(e))){for(t.flags|=128,lf(r,!1),t.updateQueue=e=i.updateQueue,ld(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)r_(n,e),n=n.sibling;return it(t,1&ie.current|2),rW&&rU(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ey()>sH&&(t.flags|=128,a=!0,lf(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=ia(i))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,ld(t,e),lf(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!i.alternate&&!rW)return lp(t),null}else 2*ey()-r.renderingStartTime>sH&&0x20000000!==n&&(t.flags|=128,a=!0,lf(r,!1),t.lanes=4194304);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=r.last)?e.sibling=i:t.child=i,r.last=i)}if(null!==r.tail){e=r.tail;e:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ey(),e.sibling=null,i=ie.current,i=a?1&i|2:1&i,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||rW?it(t,i):(n=i,Z(a3,t),Z(ie,n),null===a4&&(a4=t)),rW&&rU(t,r.treeForkCount),e}return lp(t),null;case 22:case 23:return a9(t),a2(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(lp(t),6&t.subtreeFlags&&(t.flags|=8192)):lp(t),null!==(n=t.updateQueue)&&ld(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&J(av),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r5(al),lp(t),null;case 25:return null;case 30:return t.flags|=0x2000000,lp(t),null}throw Error(s(156,t.tag))}(t.alternate,t,sO);if(null!==n){sT=n;return}if(null!==(t=t.sibling)){sT=t;return}sT=t=e}while(null!==t)0===sI&&(sI=5)}function uh(e,t){do{var n=function(e,t){switch(rF(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r5(al),ei(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return el(t),null;case 31:if(null!==t.memoizedState){if(a9(t),null===t.alternate)throw Error(s(340));rJ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(a9(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340));rJ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ir(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return ei(),null;case 10:return r5(t.type),null;case 22:case 23:return a9(t),a2(),null!==e&&J(av),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r5(al),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,sT=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deleti
20ons=null),!t&&null!==(e=e.sibling)){sT=e;return}sT=e=n}while(null!==e)sI=6,sT=null}function um(e,t,n,r,a,i,o,l,u,c,d){e.cancelPendingCommit=null;do uE();while(0!==sG)if(0!=(6&sE))throw Error(s(327));if(null!==t){var f;if(t===e.current)throw Error(s(177));if(!function(e,t,n,r,a,i){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=o&~n;0<n;){var c=31-eR(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&ej(e,r,0),0!==i&&0===a&&0!==e.tag&&(e.suspendedLanes|=i&~(o&~t))}(e,n,i=t.lanes|t.childLanes|rs,o,l,u),e===sw&&(sT=sw=null,sk=0),sY=t,sV=e,sX=n,sK=i,sQ=a,sJ=r,s0=null,(0x13ffff00&n)===n?(f=e.transitionTypes,e.transitionTypes=null,s1=f,r=10262):(s1=null,r=10256),0!=(t.subtreeFlags&r)||0!=(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,ep(eS,function(){return uw(),null})):(e.callbackNode=null,e.callbackPriority=0),lN=!1,r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=G.T,G.T=null,a=V.p,V.p=2,o=sE,sE|=4;try{!function(e,t,n){if(e=e.containerInfo,co=dR,nH(e=n$(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(a&&0!==a.rangeCount){r=a.anchorNode;var i,o=a.anchorOffset,l=a.focusNode;a=a.focusOffset;try{r.nodeType,l.nodeType}catch(e){r=null;break e}var s=0,u=-1,c=-1,d=0,f=0,p=e,h=null;t:for(;;){for(;p!==r||0!==o&&3!==p.nodeType||(u=s+o),p!==l||0!==a&&3!==p.nodeType||(c=s+a),3===p.nodeType&&(s+=p.nodeValue.length),null!==(i=p.firstChild);)h=p,p=i;for(;;){if(p===e)break t;if(h===r&&++d===o&&(u=s),h===l&&++f===a&&(c=s),null!==(i=p.nextSibling))break;h=(p=h).parentNode}p=i}r=-1===u||-1===c?null:{start:u,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(cl={focusedElem:e,selectionRange:r},dR=!1,n=(0x13ffff00&n)===n,lK=t,t=n?9270:1028;null!==lK;){if(e=lK,n&&null!==(r=e.deletions))for(o=0;o<r.length;o++)n&&lB(r[o]);if(null===e.alternate&&0!=(2&e.flags))n&&lI(e),l1(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&lB(r),l1(n);continue}else if(null!==r&&null!==r.memoizedState){n&&lI(e),l1(n);continue}}r=e.child,0!=(e.subtreeFlags&t)&&null!==r?(r.return=e,lK=r):(n&&function e(t){for(t=t.child;null!==t;){if(30===t.tag){var n=t.memoizedProps,r=rn(n,t.stateNode);n=ra(n.default,n.update),t.flags&=-5,"none"!==n&&lD(t,r,n,t.memoizedState=[],!1)}else 0!=(0x2000000&t.subtreeFlags)&&e(t);t=t.sibling}}(e),l1(n))}}lO=null}(e,t,n)}finally{sE=o,V.p=a,G.T=r}}sG=1,(t=lN)?sZ=function(e,t,n,r,a,i,o,l,s){var u=9===t.nodeType?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var t=u.defaultView,n=t.navigation&&t.navigation.transition,o=u.fonts.status;r();var l=[];if("loaded"===o&&(u.documentElement.clientHeight,"loading"===u.fonts.status&&l.push(u.fonts.ready)),o=l.length,null!==e)for(var s=e.suspenseyImages,c=0,d=0;d<s.length;d++){var f=s[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((c+=du(f))>dd){l.length=o;break}f=new Promise(cR.bind(f)),l.push(f)}}}return 0<l.length?(t=Promise.race([Promise.all(l),new Promise(function(e){return setTimeout(e,500)})]).then(a,a),(n?Promise.allSettled([n.finished,t]):t).then(i,i)):(a(),n)?n.finished.then(i,i):void i()},types:n});return u.__reactViewTransition=c,c.ready.then(function(){for(var e=u.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t].effect,r=n.pseudoElement;if(null!=r&&r.startsWith("::view-transition")){r=n.getKeyframes();for(var a=void 0,i=void 0,l=!0,s=0;s<r.length;s++){var c=r[s],d=c.width;if(void 0===a)a=d;else if(a!==d){l=!1;break}if(d=c.height,void 0===i)i=d;else if(i!==d){l=!1;break}delete c.width,delete c.height,"none"===c.transform&&delete c.transform}l&&void 0!==a&&void 0!==i&&(n.setKeyframes(r),(l=getComputedStyle(n.target,n.pseudoElement)).width!==a||l.height!==i)&&((l=r[0]).width=a,l.height=i,(l=r[r.length-1]).width=a,l.height=i,n.setKeyframes(r))}}o()},function(e){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{"object"==typeof e&&null!==e&&"InvalidStateError"===e.name&&("View transition was skipped because document visibility state is hidden."===e.message||"Skipping view transition because document visibility state has become hidden."===e.message||"Skipping view transition because viewport size changed."===e.message||"Transition was aborted because of invalid state"===e.message)&&(e=null),null!==e&&s(e)}finally{r(),a(),o()}}),c.finished.finally(function(){for(var e=u.documentElement,t=e.getAnimations({subtree:!0}),n=0;n<t.length;n++){var r=t[n],a=r.effect,i=a.pseudoElement;null!=i&&i.startsWith("::view-transition")&&a.target===e&&r.cancel()}u.__reactViewTransition===c&&(u.__reactViewTransition=null),l()}),c}catch(e){return r(),a(),o(),null}}(d,e.containerInfo,s1,uv,ub,uy,u_,uw,ug,null,null):(uv(),ub(),u_())}}function ug(e){0!==sG&&(0,sV.onRecoverableError)(e,{componentStack:null})}function uy(){3===sG&&(sG=0,so(sY,sV),sG=4)}function uv(){if(1===sG){sG=0;var e=sV,t=sY,n=sX,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=G.T,G.T=null;var a=V.p;V.p=2;var i=sE;sE|=4;try{lJ=lZ=!1,sr(t,e,n),n=cl;var o=n$(e.containerInfo),l=n.focusedElem,s=n.selectionRange;if(o!==l&&l&&l.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(l.ownerDocument.documentElement,l)){if(null!==s&&nH(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=l.textContent.length,m=Math.min(s.start,h),g=void 0===s.end?m:Math.min(s.end,h);!p.extend&&m>g&&(o=g,g=m,m=o);var y=nB(l,m),v=nB(l,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var _=d[l];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}dR=!!co,cl=co=null}finally{sE=i,V.p=a,G.T=r}}e.current=t,sG=2}}function ub(){if(2===sG){sG=0;var e=sV,t=sY,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=G.T,G.T=null;var r=V.p;V.p=2;var a=sE;sE|=4;try{l2(e,t.alternate,t)}finally{sE=a,V.p=r,G.T=n}}sG=3}}
20function u_(){if(4===sG||3===sG){sG=0,sZ=null,eg();var e=sV,t=sY,n=sX,r=sJ,a=(0x13ffff00&n)===n?10262:10256;if(0!=(t.subtreeFlags&a)||0!=(t.flags&a)?sG=5:(sG=0,sY=sV=null,uS(e,e.pendingLanes)),0===(a=e.pendingLanes)&&(sq=null),e$(n),t=t.stateNode,ek&&"function"==typeof ek.onCommitFiberRoot)try{ek.onCommitFiberRoot(eT,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==r){t=G.T,a=V.p,V.p=2,G.T=null;try{for(var i=e.onRecoverableError,o=0;o<r.length;o++){var l=r[o];i(l.value,{componentStack:l.stack})}}finally{G.T=t,V.p=a}}if(r=s0,i=s1,s1=null,null!==r)for(s0=null,null===i&&(i=[]),l=0;l<r.length;l++)(0,r[l])(i);0!=(3&sX)&&uE(),uU(e),a=e.pendingLanes,0!=(261930&n)&&0!=(42&a)?e===s3?s2++:(s2=0,s3=e):s2=0,uj(0,!1)}}function uS(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,au(t))}function uE(){return null!==sZ&&(sZ.skipTransition(),sZ=null),uv(),ub(),u_(),uw()}function uw(){if(5!==sG)return!1;var e=sV,t=sK;sK=0;var n=e$(sX),r=G.T,a=V.p;try{V.p=32>n?32:n,G.T=null,n=sQ,sQ=null;var i=sV,o=sX;if(sG=0,sY=sV=null,sX=0,0!=(6&sE))throw Error(s(331));var l=sE;if(sE|=4,sv(i.current),sd(i,i.current,o,n),sE=l,uj(0,!1),ek&&"function"==typeof ek.onPostCommitFiberRoot)try{ek.onPostCommitFiberRoot(eT,i)}catch(e){}return!0}finally{V.p=a,G.T=r,uS(e,t)}}function uT(e,t,n){t=rx(n,t),t=oj(e.stateNode,t,2),null!==(e=aW(e,t,2))&&(eU(e,2),uU(e))}function uk(e,t,n){if(3===e.tag)uT(e,e,n);else for(;null!==t;){if(3===t.tag){uT(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sq||!sq.has(r))){e=rx(n,e),null!==(r=aW(t,n=oz(2),2))&&(oF(n,r,t,e),eU(r,2),uU(r));break}}t=t.return}}function uR(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new sS;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(sN=!0,a.add(n),e=ux.bind(null,e,t,n),t.then(e,e))}function ux(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,sw===e&&(sk&n)===n&&(4===sI||3===sI&&(0x3c00000&sk)===sk&&300>ey()-sB?0==(2&sE)&&ur(e,0):sL|=n,sU===sk&&(sU=0)),uU(e)}function uP(e,t){0===t&&(t=eL()),null!==(e=rf(e,t))&&(eU(e,t),uU(e))}function uC(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),uP(e,n)}function uN(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(s(314))}null!==r&&r.delete(t),uP(e,n)}var uO=null,uI=null,uA=!1,uM=!1,uL=!1,uD=0;function uU(e){e!==uI&&null===e.next&&(null===uI?uO=uI=e:uI=uI.next=e),uM=!0,uA||(uA=!0,cg(function(){0!=(6&sE)?ep(eb,uz):uF()}))}function uj(e,t){if(!uL&&uM){uL=!0;do for(var n=!1,r=uO;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var i=0;else{var o=r.suspendedLanes,l=r.pingedLanes;i=0xc000095&(i=(1<<31-eR(42|e)+1)-1&(a&~(o&~l)))?0xc000095&i|1:i?2|i:0}0!==i&&(n=!0,uH(r,i))}else i=sk,0==(3&(i=eA(r,r===sw?i:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eM(r,i)||(n=!0,uH(r,i));r=r.next}while(n)uL=!1}}function uz(){uF()}function uF(){uM=uA=!1;var e,t=0;0===uD||((e=window.event)&&"popstate"===e.type?e===cf||(cf=e,0):(cf=null,1))||(t=uD);for(var n=ey(),r=null,a=uO;null!==a;){var i=a.next,o=uB(a,n);0===o?(a.next=null,null===r?uO=i:r.next=i,null===i&&(uI=r)):(r=a,(0!==t||0!=(3&o))&&(uM=!0)),a=i}0!==sG&&5!==sG||uj(t,!1),0!==uD&&(uD=0)}function uB(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,i=-0x3c00001&e.pendingLanes;0<i;){var o=31-eR(i),l=1<<o,s=a[o];-1===s?(0==(l&n)||0!=(l&r))&&(a[o]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}if(t=sw,n=sk,n=eA(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===sR||9===sR)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&eh(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eM(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&eh(r),e$(n)){case 2:case 8:n=e_;break;case 32:default:n=eS;break;case 0x10000000:n=ew}return n=ep(n,r=u$.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&eh(r),e.callbackPriority=2,e.callbackNode=null,2}function u$(e,t){if(0!==sG&&5!==sG)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(uE()&&e.callbackNode!==n)return null;var r=sk;return 0===(r=eA(e,e===sw?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(s7(e,r,t),uB(e,ey()),null!=e.callbackNode&&e.callbackNode===n?u$.bind(null,e):null)}function uH(e,t){if(uE())return null;s7(e,t,!0)}function uW(){if(0===uD){var e=ah;0===e&&(e=eC,0==(261888&(eC<<=1))&&(eC=256)),uD=e}return uD}function uq(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tP(""+e)}function uG(e,t){var n=t.ownerDocument.createElement("input");
20return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var uV=0;uV<n9.length;uV++){var uY=n9[uV];re(uY.toLowerCase(),"on"+(uY[0].toUpperCase()+uY.slice(1)))}re(n1,"onAnimationEnd"),re(n2,"onAnimationIteration"),re(n3,"onAnimationStart"),re("dblclick","onDoubleClick"),re("focusin","onFocus"),re("focusout","onBlur"),re(n4,"onTransitionRun"),re(n5,"onTransitionStart"),re(n8,"onTransitionCancel"),re(n6,"onTransitionEnd"),e9("onMouseEnter",["mouseout","mouseover"]),e9("onMouseLeave",["mouseout","mouseover"]),e9("onPointerEnter",["pointerout","pointerover"]),e9("onPointerLeave",["pointerout","pointerover"]),e7("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),e7("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),e7("onBeforeInput",["compositionend","keypress","textInput","paste"]),e7("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uX="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),uK=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(uX));function uQ(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&a.isPropagationStopped())break e;i=l,a.currentTarget=u;try{i(a)}catch(e){ri(e)}a.currentTarget=null,i=s}else for(o=0;o<r.length;o++){if(s=(l=r[o]).instance,u=l.currentTarget,l=l.listener,s!==i&&a.isPropagationStopped())break e;i=l,a.currentTarget=u;try{i(a)}catch(e){ri(e)}a.currentTarget=null,i=s}}}}function uJ(e,t){var n=t[eX];void 0===n&&(n=t[eX]=new Set);var r=e+"__bubble";n.has(r)||(u2(t,e,2,!1),n.add(r))}function uZ(e,t,n){var r=0;t&&(r|=4),u2(n,e,r,t)}var u0="_reactListening"+Math.random().toString(36).slice(2);function u1(e){if(!e[u0]){e[u0]=!0,e8.forEach(function(t){"selectionchange"!==t&&(uK.has(t)||uZ(t,!1,e),uZ(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[u0]||(t[u0]=!0,uZ("selectionchange",!1,t))}}function u2(e,t,n,r){switch(dA(t)){case 2:var a=dx;break;case 8:a=dP;break;default:a=dC}n=a.bind(null,t,n,e),a=void 0,tz&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function u3(e,t,n,r,a){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var l=r.stateNode.containerInfo;if(l===a)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&o.stateNode.containerInfo===a)return;o=o.return}for(;null!==l;){if(null===(o=e1(l)))return;if(5===(s=o.tag)||6===s||26===s||27===s){r=i=o;continue e}l=l.parentNode}}r=r.return}tD(function(){var r=i,a=tO(n),o=[];e:{var l=n7.get(e);if(void 0!==l){var s=t1,u=e;switch(e){case"keypress":if(0===tq(n))break e;case"keydown":case"keyup":s=no;break;case"focusin":u="focus",s=t6;break;case"focusout":u="blur",s=t6;break;case"beforeblur":case"afterblur":s=t6;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=t5;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=t8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=ns;break;case n1:case n2:case n3:s=t7;break;case n6:s=nu;break;case"scroll":case"scrollend":s=t3;break;case"wheel":s=nc;break;case"copy":case"cut":case"paste":s=t9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=nl;break;case"toggle":case"beforetoggle":s=nd}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=tU(m,p))&&d.push(u4(m,g,h)),f)break;m=m.return}0<d.length&&(l=new s(l,u,null,n,a),o.push({event:l,listeners:d}))}}if(0==(7&t)){s="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(s&&n!==tN&&(u=n.relatedTarget||n.fromElement)&&(e1(u)||u[eY]))&&(l||s)&&(u=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(s=n.relatedTarget||n.toElement,l=r,null!==(s=s?e1(s):null)&&(f=c(s),d=s.tag,s!==f||5!==d&&27!==d&&6!==d)&&(s=null)):(l=null,s=r),l!==s&&(d=t5,g="onMouseLeave",p="onMouseEnter",m="mou
20se",("pointerout"===e||"pointerover"===e)&&(d=nl,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==l?u:e3(l),h=null==s?u:e3(s),(u=new d(g,m+"leave",l,n,a)).target=f,u.relatedTarget=h,g=null,e1(a)===r&&((d=new d(p,m+"enter",s,n,a)).target=h,d.relatedTarget=f,g=d),f=g,d=l&&s?w(l,s,u8):null,null!==l&&u6(o,u,l,d,!1),null!==s&&null!==f&&u6(o,f,s,d,!0)));e:{if("select"===(s=(l=r?e3(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var y,v=nP;else if(nE(l))if(nC)v=nU;else{v=nL;var b=nM}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)?v=nD:r&&tk(r.elementType)&&(v=nP);if(v&&(v=v(e,r))){nw(o,v,n,a);break e}b&&b(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&ty(l,"number",l.value)}switch(b=r?e3(r):window,e){case"focusin":(nE(b)||"true"===b.contentEditable)&&(nq=b,nG=r,nV=null);break;case"focusout":nV=nG=nq=null;break;case"mousedown":nY=!0;break;case"contextmenu":case"mouseup":case"dragend":nY=!1,nX(o,n,a);break;case"selectionchange":if(nW)break;case"keydown":case"keyup":nX(o,n,a)}if(np)t:{switch(e){case"compositionstart":var _="onCompositionStart";break t;case"compositionend":_="onCompositionEnd";break t;case"compositionupdate":_="onCompositionUpdate";break t}_=void 0}else n_?nv(e,n)&&(_="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(_="onCompositionStart");_&&(ng&&"ko"!==n.locale&&(n_||"onCompositionStart"!==_?"onCompositionEnd"===_&&n_&&(y=tW()):(t$="value"in(tB=a)?tB.value:tB.textContent,n_=!0)),0<(b=u5(r,_)).length&&(_=new ne(_,e,null,n,a),o.push({event:_,listeners:b}),y?_.data=y:null!==(y=nb(n))&&(_.data=y))),(y=nm?function(e,t){switch(e){case"compositionend":return nb(t);case"keypress":if(32!==t.which)return null;return ny=!0," ";case"textInput":return" "===(e=t.data)&&ny?null:e;default:return null}}(e,n):function(e,t){if(n_)return"compositionend"===e||!np&&nv(e,t)?(e=tW(),tH=t$=tB=null,n_=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ng&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(_=u5(r,"onBeforeInput")).length&&(b=new ne("onBeforeInput","beforeinput",null,n,a),o.push({event:b,listeners:_}),b.data=y);var S=e;if("submit"===S&&r&&r.stateNode===a){var E=uq((a[eV]||null).action),T=n.submitter;T&&null!==(S=(S=T[eV]||null)?uq(S.formAction):T.getAttribute("formAction"))&&(E=S,T=null);var k=new t1("action","action",null,n,a);o.push({event:k,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==uD){var e=T?uG(a,T):new FormData(a);oc(r,{pending:!0,data:e,method:a.method,action:E},null,e)}}else"function"==typeof E&&(k.preventDefault(),oc(r,{pending:!0,data:e=T?uG(a,T):new FormData(a),method:a.method,action:E},E,e))},currentTarget:a}]})}}uQ(o,t)})}function u4(e,t,n){return{instance:e,listener:t,currentTarget:n}}function u5(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,i=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===i||(null!=(a=tU(e,n))&&r.unshift(u4(e,a,i)),null!=(a=tU(e,t))&&r.push(u4(e,a,i))),3===e.tag)return r;e=e.return}return[]}function u8(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function u6(e,t,n,r,a){for(var i=t._reactName,o=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,a?null!=(u=tU(n,i))&&o.unshift(u4(n,u,s)):a||null!=(u=tU(n,i))&&o.push(u4(n,u,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var u7=/\r\n?/g,u9=/\u0000|\uFFFD/g;function ce(e){return("string"==typeof e?e:""+e).replace(u7,"\n").replace(u9,"")}function ct(e,t){return t=ce(t),ce(e)===t}function cn(e,t,n,r,a,i){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||tS(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&tS(e,""+r)}break;case"className":to(e,"class",r);break;case"tabIndex":to(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":to(e,n,r);break;case"style":tT(e,r,i);return;case"data":if("object"!==t){to(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tP(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&cn(e,t,"name",a.name,a,null),
20cn(e,t,"formEncType",a.formEncType,a,null),cn(e,t,"formMethod",a.formMethod,a,null),cn(e,t,"formTarget",a.formTarget,a,null)):(cn(e,t,"encType",a.encType,a,null),cn(e,t,"method",a.method,a,null),cn(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tP(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=tC);return;case"onScroll":null!=r&&uJ("scroll",e);return;case"onScrollEnd":null!=r&&uJ("scrollend",e);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(s(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(s(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tP(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":uJ("beforetoggle",e),uJ("toggle",e),ti(e,"popover",r);break;case"xlinkActuate":tl(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":tl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":tl(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":tl(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":tl(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":tl(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":tl(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":tl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":tl(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ti(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;ti(e,n=tR.get(n)||n,r)}tr=!0}function cr(e,t,n,r,a,i){switch(n){case"style":tT(e,r,i);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(s(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(s(60));e.innerHTML=n}}break;case"children":if("string"==typeof r)tS(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;tS(e,""+r)}break;case"onScroll":null!=r&&uJ("scroll",e);return;case"onScrollEnd":null!=r&&uJ("scrollend",e);return;case"onClick":null!=r&&(e.onclick=tC);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:if(!e6.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(i=null!=(i=e[eV]||null)?i[n]:null)&&e.removeEventListener(t,i,a),"function"==typeof r)){"function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break e}tr=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):ti(e,n,r)}return}tr=!0}function ca(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":uJ("error",e),uJ("load",e);var r,a=!1,i=!1;for(r in n)if(n.hasOwnProperty(r)){var o=n[r];if(null!=o)switch(r){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:cn(e,t,r,o,n,null)}}i&&cn(e,t,"srcSet",n.srcSet,n,null),a&&cn(e,t,"src",n.src,n,null);return;case"input":uJ("invalid",e);var l=r=o=i=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":i=d;break;case"type":o=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(s(137,t));break;default:cn(e,t,a,d,n,null)}}tg(e,r,l,u,c,o,i,!1);return;case"select":for(i in uJ("invalid",e),a=o=r=null,n)if(n.hasOwnProperty(i)&&null!=(l=n[i]))switch(i){case"value":r=l;break;case"defaultValue":o=l;break;case"multiple":a=l;default:cn(e,t,i,l,n,null)}t=r,n=o,e.multiple=!!a,null!=t?tv(e,!!a,t,!1):null!=n&&tv(e,!!a,n,!0);return;case"textarea":for(o in uJ("invalid",e),r=i=a=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":a=l;break;case"defaultValue":i=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(s(91));break;default:cn(e,t,o,l,n,null)}t_(e,a,i,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(a=n[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:cn(e,t,u,a,n,null));return;case"dialog":uJ("beforetoggle",e),uJ("toggle",e),uJ("cancel",e),uJ("close",e);break;case"iframe":case"object":uJ("load",e);break;case"video":case"audio":for(a=0;a<uX.length;a++)uJ(uX[a],e);break;case"image":uJ("error",e),uJ("load",e);break;case"details":uJ("toggle",e);break;case"embed":case"source":case"link":uJ("error",e),uJ("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:cn(e,t,c,a,n,null)}return;default:if(tk(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&cr(e,t,d,a,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(a=n[l])&&cn(e,t,l,a,n,null)}function ci(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var co=null,cl=null;
20function cs(e){return 9===e.nodeType?e:e.ownerDocument}function cu(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cc(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function cd(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var cf=null,cp="function"==typeof setTimeout?setTimeout:void 0,ch="function"==typeof clearTimeout?clearTimeout:void 0,cm="function"==typeof Promise?Promise:void 0,cg="function"==typeof queueMicrotask?queueMicrotask:void 0!==cm?function(e){return cm.resolve(null).then(e).catch(cy)}:cp;function cy(e){setTimeout(function(){throw e})}function cv(e){return"head"===e}function cb(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)||"/&"===n){if(0===r){e.removeChild(a),dQ(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)cK(e.ownerDocument.documentElement);else if("head"===n){cK(n=e.ownerDocument.head);for(var i=n.firstChild;i;){var o=i.nextSibling,l=i.nodeName;i[eZ]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=o}}else"body"===n&&cK(e.ownerDocument.body);n=a}while(n)dQ(t)}function c_(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function cS(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var a=r=0;a<t.length;a++){var i=t[a];0<i.width&&0<i.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function cE(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function cw(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function cT(e){return cw(e.getBoundingClientRect(),getComputedStyle(e),e)}function ck(e){var t=e.getBoundingClientRect();return cw(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function cR(e){this.addEventListener("load",e),this.addEventListener("error",e)}function cx(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function cP(e){return{name:e,group:new cx("group",e),imagePair:new cx("image-pair",e),old:new cx("old",e),new:new cx("new",e)}}function cC(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function cN(e,t,n,r){return g(e).addEventListener(t,n,r),!1}function cO(e,t,n,r){return g(e).removeEventListener(t,n,r),!1}function cI(e){return null==e?"0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")+"&o="+(e.once?"1":"0")+"&p="+(e.passive?"1":"0")}function cA(e,t,n,r){for(var a=0;a<e.length;a++){var i=e[a];if(i.type===t&&i.listener===n&&cI(i.optionsOrUseCapture)===cI(r))return a}return -1}function cM(e,t){var n=e=g(e),r=t;function a(){i=!0}var i=!1;try{n.addEventListener("focus",a),(n.focus||HTMLElement.prototype.focu
vendor: 9,138 bytes, line 20
20s).call(n,r)}finally{n.removeEventListener("focus",a)}return i}function cL(e,t){return t.push(e),!1}function cD(e){return(e=g(e))===e.ownerDocument.activeElement&&(e.blur(),!0)}function cU(e,t){return e=g(e),t.observe(e),!1}function cj(e,t){return e=g(e),t.unobserve(e),!1}function cz(e,t){return e=g(e),t.push.apply(t,e.getClientRects()),!1}function cF(e,t){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];e.addEventListener(a.type,a.listener,a.optionsOrUseCapture)}null!==t._observers&&t._observers.forEach(function(t){t.observe(e)})}function cB(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":cB(n),e0(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function c$(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=cq(e.nextSibling)))return null;return e}function cH(e){return"$?"===e.data||"$~"===e.data}function cW(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function cq(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}cx.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:T({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},cx.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],a=0;a<n.length;a++){var i=n[a].effect;null!==i&&i.target===e&&i.pseudoElement===t&&r.push(n[a])}return r},cx.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},cC.prototype.addEventListener=function(e,t,n){null===this._eventListeners&&(this._eventListeners=[]);var r=this._eventListeners;-1===cA(r,e,t,n)&&(r.push({type:e,listener:t,optionsOrUseCapture:n}),h(this._fragmentFiber.child,!1,cN,e,t,n)),this._eventListeners=r},cC.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;null!=r&&0<r.length&&(h(this._fragmentFiber.child,!1,cO,e,t,n),e=cA(r,e,t,n),null!==this._eventListeners&&this._eventListeners.splice(e,1))},cC.prototype.dispatchEvent=function(e){var t=m(this._fragmentFiber);if(null===t)return!0;t=g(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=document.createTextNode("");if(n)for(var a=0;a<n.length;a++){var i=n[a];r.addEventListener(i.type,i.listener,i.optionsOrUseCapture)}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(a=0;a<n.length;a++)i=n[a],r.removeEventListener(i.type,i.listener,i.optionsOrUseCapture);return t.removeChild(r),e}return t.dispatchEvent(e)},cC.prototype.focus=function(e){h(this._fragmentFiber.child,!0,cM,e,void 0,void 0)},cC.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,cL,t,void 0,void 0);for(var n=t.length-1;0<=n&&!cM(t[n],e);n--);},cC.prototype.blur=function(){h(this._fragmentFiber.child,!1,cD,void 0,void 0,void 0)},cC.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,cU,e,void 0,void 0)},cC.prototype.unobserveUsing=function(e){var t=this._observers;null!==t&&t.has(e)&&(t.delete(e),h(this._fragmentFiber.child,!1,cj,e,void 0,void 0))},cC.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,cz,e,void 0,void 0),e},cC.prototype.getRootNode=function(e){var t=m(this._fragmentFiber);return null===t?this:g(t).getRootNode(e)},cC.prototype.compareDocumentPosition=function(e){var t=m(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,cL,n,void 0,void 0);var r=g(t);if(0===n.length){n=this._fragmentFiber;var a=r.compareDocumentPosition(e);return t=a,r===e?t=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(h(n.sibling,!1,b),n=y,y=null,t=null===n?Node.DOCUMENT_POSITION_PRECEDING:0===(e=g(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),t|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=g(n[0]),a=g(n[n.length-1]);for(var i=g(n[0]),o=!1,l=this._fragmentFiber.return;null!==l&&(4===l.tag&&(o=!0),3!==l.tag&&5!==l.tag);)l=l.return;if(null==(i=o?i.parentElement:r))return Node.DOCUMENT_POSITION_DISCONNECTED;r=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY,o=t.compareDocumentPosition(e);var s=a.compareDocumentPosition(e);return l=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY,s=r&&i&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||i&&a===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:(r||t!==e)&&(i||a!==e)?o:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,a){var i=e1(a);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;null!==i;){if(7===i.tag&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===i)return i=a.ownerDocument,a===i||a===i.body;e:{for(i=t,t=m(t);null!==i;){if((5===i.tag||3===i.tag)&&(i===t||i.alternate===t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(null===(t=w(n,i,E))?t=!1:(h(t,!0,_,i,n),i=y,y=null,t=null!==i)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!i)&&!(t=i===r)&&(null===(t=w(r,i,E))?t=!1:(h(t,!0,S,i,r),i=y,v=y=null,t=null!==i)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},cC.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(s(566));var t=[];h(this._fragmentFiber.child,!1,cL,t,void 0,void 0);var n=!1!==e;if(0===t.length){t=this._fragmentFiber;var r=[null,null],a=m(t);null!==a&&function e(t,n,r){for(var a=3<arguments.length&&void 0!==arguments[3]&&arguments[3];null!==r;){if(r===n)if(a=!0,!r.sibling)return!0;else r=r.sibling;if(5===r.tag){if(a)return t[1]=r,!0;t[0]=r}else if((22!==r.tag||null===r.memoizedState)&&e(t,n,r.child,a))return!0;r=r.sibling}return!1}(r,t,a.child),null!==(n=n?r[1]||r[0]||m(this._fragmentFiber):r[0]||r[1])&&g(n).scrollIntoView(e)}else for(r=n?t.length-1:0;r!==(n?-1:t.length);)g(t[r]).scrollIntoView(e),r+=n?-1:1};var cG=null;function cV(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return cq(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function cY(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function cX(e,t,n){switch(t=cs(n),e){case"html":if(!(e=t.documentElement))throw Error(s(452));return e;case"head":if(!(e=t.head))throw Error(s(453));return e;case"body":if(!(e=t.body))throw Error(s(454));return e;default:throw Error(s(451))}}function cK(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);e0(e)}var cQ=new Map,cJ=new Set;function cZ(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var c0=V.d;V.d={f:function(){var e=c0.f(),t=ut();return e||t},r:function(e){var t=e2(e);null!==t&&5===t.tag&&"form"===t.type?of(t):c0.r(e)},D:function(e){c0.D(e),c2("dns-prefetch",e,null)},C:function(e,t){c0.C(e,t),c2("preconnect",e,t)},L:function(e,t,n){if(c0.L(e,t,n),c1&&e&&t){var r='link[rel="preload"][as="'+th(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+th(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+th(n.imageSizes)+'"]')):r+='[href="'+th(e)+'"]';var a=r;switch(t){case"style":a=c4(e);break;case"script":a=c6(e)}cQ.has(a)||(e=T({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),cQ.set(a,e),null!==c1.querySelector(r)||"style"===t&&c1.querySelector(c5(a))||"script"===t&&c1.querySelector(c7(a))||(ca(t=c1.createElement("link"),"link",e),e5(t),c1.head.appendChild(t)))}},m:function(e,t){if(c0.m(e,t),c1&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+th(n)+'"][href="'+th(e)+'"]',a=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=c6(e)}if(!cQ.has(a)&&(e=T({rel:"modulepreload",href:e},t),cQ.set(a,e),null===c1.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c1.querySelector(c7(a)))return}ca(n=c1.createElement("link"),"link",e),e5(n),c1.head.appendChild(n)}}},X:function(e,t){if(c0.X(e,t),c1&&e){var n=e4(c1).hoistableScripts,r=c6(e),a=n.get(r);a||((a=c1.querySelector(c7(r)))||(e=T({src:e,async:!0},t),(t=cQ.get(r))&&dn(e,t),e5(a=c1.createElement("script")),ca(a,"link",e),c1.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}
vendor: 4,830 bytes, line 20
20,S:function(e,t,n){if(c0.S(e,t,n),c1&&e){var r=e4(c1).hoistableStyles,a=c4(e);t=t||"default";var i=r.get(a);if(!i){var o={loading:0,preload:null};if(i=c1.querySelector(c5(a)))o.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":t},n),(n=cQ.get(a))&&dt(e,n);var l=i=c1.createElement("link");e5(l),ca(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){o.loading|=1}),l.addEventListener("error",function(){o.loading|=2}),o.loading|=4,de(i,t,c1)}i={type:"stylesheet",instance:i,count:1,state:o},r.set(a,i)}}},M:function(e,t){if(c0.M(e,t),c1&&e){var n=e4(c1).hoistableScripts,r=c6(e),a=n.get(r);a||((a=c1.querySelector(c7(r)))||(e=T({src:e,async:!0,type:"module"},t),(t=cQ.get(r))&&dn(e,t),e5(a=c1.createElement("script")),ca(a,"link",e),c1.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}};var c1="undefined"==typeof document?null:document;function c2(e,t,n){if(c1&&"string"==typeof t&&t){var r=th(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),cJ.has(r)||(cJ.add(r),e={rel:e,crossOrigin:n,href:t},null===c1.querySelector(r)&&(ca(t=c1.createElement("link"),"link",e),e5(t),c1.head.appendChild(t)))}}function c3(e,t,n,r){var a=(a=en.current)?cZ(a):null;if(!a)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=c4(n.href),(r=(n=e4(a).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=c4(n.href);var i,o,l,u,c=e4(a).hoistableStyles,d=c.get(e);if(d||(a=a.ownerDocument||a,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=a.querySelector(c5(e)))&&!c._p&&(d.instance=c,d.state.loading=5),cQ.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},cQ.set(e,n),c||(i=a,o=e,l=n,u=d.state,i.querySelector('link[rel="preload"][as="style"]['+o+"]")?u.loading=1:(u.preload=o=i.createElement("link"),o.addEventListener("load",function(){return u.loading|=1}),o.addEventListener("error",function(){return u.loading|=2}),ca(o,"link",l),e5(o),i.head.appendChild(o))))),t&&null===r)throw Error(s(528,""));return d}if(t&&null!==r)throw Error(s(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=c6(n),(r=(n=e4(a).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function c4(e){return'href="'+th(e)+'"'}function c5(e){return'link[rel="stylesheet"]['+e+"]"}function c8(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function c6(e){return'[src="'+th(e)+'"]'}function c7(e){return"script[async]"+e}function c9(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+th(n.href)+'"]');if(r)return t.instance=r,e5(r),r;var a=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return e5(r=(e.ownerDocument||e).createElement("style")),ca(r,"style",a),de(r,n.precedence,e),t.instance=r;case"stylesheet":a=c4(n.href);var i=e.querySelector(c5(a));if(i)return t.state.loading|=4,t.instance=i,e5(i),i;r=c8(n),(a=cQ.get(a))&&dt(r,a),e5(i=(e.ownerDocument||e).createElement("link"));var o=i;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),ca(i,"link",r),t.state.loading|=4,de(i,n.precedence,e),t.instance=i;case"script":if(i=c6(n.src),a=e.querySelector(c7(i)))return t.instance=a,e5(a),a;return r=n,(a=cQ.get(i))&&dn(r=T({},n),a),e5(a=(e=e.ownerDocument||e).createElement("script")),ca(a,"link",r),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(s(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,de(r,n.precedence,e)),t.instance}function de(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,i=a,o=0;o<r.length;o++){var l=r[o];if(l.dataset.precedence===t)i=l;else if(i!==a)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function dt(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function dn(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var dr=null;
vendor: 5,236 bytes, line 20
20function da(e,t,n){if(null===dr){var r=new Map,a=dr=new Map;a.set(n,r)}else(r=(a=dr).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var i=n[a];if(!(i[eZ]||i[eG]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var o=i.getAttribute(t)||"";o=e+o;var l=r.get(o);l?l.push(i):r.set(o,[i])}}return r}function di(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function dl(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function ds(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function du(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function dc(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=du(t),e.suspenseyImages.push(t)),e=dh.bind(e),t.decode().then(e,e))}var dd=0;function df(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)dg(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dp(){this.count--,df(this)}function dh(){this.imgCount--,df(this)}var dm=null;function dg(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dm=new Map,t.forEach(dy,e),dm=null,dp.call(e))}function dy(e,t){if(!(4&t.state.loading)){var n=dm.get(e);if(n)var r=n.get(null);else{n=new Map,dm.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var o=a[i];("LINK"===o.nodeName||"not all"!==o.getAttribute("media"))&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}o=(a=t.instance).getAttribute("data-precedence"),(i=n.get(o)||r)===r&&n.set(null,a),n.set(o,a),this.count++,r=dp.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),i?i.parentNode.insertBefore(a,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var dv={$$typeof:I,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function db(e,t,n,r,a,i,o,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eD(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eD(0),this.hiddenUpdates=eD(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function d_(e,t,n,r,a,i,o,l,s,u,c,d){return e=new db(e,t,n,o,s,u,c,d,l),t=1,!0===i&&(t|=24),i=ry(3,null,null,t),e.current=i,i.stateNode=e,t=as(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},aB(i),e}function dS(e,t,n,r,a,i){a=a?rm:rm,null===r.context?r.context=a:r.pendingContext=a,(r=aH(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=aW(e,r,t))&&(s6(n,e,t),aq(n,e,t))}function dE(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function dw(e,t){dE(e,t),(e=e.alternate)&&dE(e,t)}function dT(e){if(13===e.tag||31===e.tag){var t=rf(e,0x4000000);null!==t&&s6(t,e,0x4000000),dw(e,0x4000000)}}function dk(e){if(13===e.tag||31===e.tag){var t=s4(),n=rf(e,t=eB(t));null!==n&&s6(n,e,t),dw(e,t)}}var dR=!0;function dx(e,t,n,r){var a=G.T;G.T=null;var i=V.p;try{V.p=2,dC(e,t,n,r)}finally{V.p=i,G.T=a}}function dP(e,t,n,r){var a=G.T;G.T=null;var i=V.p;try{V.p=8,dC(e,t,n,r)}finally{V.p=i,G.T=a}}function dC(e,t,n,r){if(dR){var a=dN(r);if(null===a)u3(e,t,r,dO,n),d$(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return dL=dH(dL,e,t,n,r,a),!0;case"dragenter":return dD=dH(dD,e,t,n,r,a),!0;case"mouseover":return dU=dH(dU,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return dj.set(i,dH(dj.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,dz.set(i,dH(dz.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(d$(e,r),4&t&&-1<dB.indexOf(e)){for(;null!==a;){var i=e2(a);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var o=eI(i.pendingLanes);if(0!==o){var l=i;for(l.pendingLanes|=2,l.entangledLanes|=2;o;){var s=1<<31-eR(o);l.entanglements[1]|=s,o&=~s}uU(i),0==(6&sE)&&(sH=ey()+500,uj(0,!1))}}break;case 31:case 13:null!==(l=rf(i,2))&&s6(l,i,2),ut(),dw(i,2)}if(null===(i=dN(r))&&u3(e,t,r,dO,n),i===a)break;a=i}null!==a&&r.stopPropagation()}else u3(e,t,r,null,n)}}function dN(e){return dI(e=tO(e))}var dO=null;function dI(e){if(dO=null,null!==(e=e1(e))){var t=c(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=d(t)))return e;e=null}else if(31===n){if(null!==(e=f(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return dO=e,null}function dA(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 5,949 bytes, line 20
20:case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ev()){case eb:return 2;case e_:return 8;case eS:case eE:return 32;case ew:return 0x10000000;default:return 32}default:return 32}}var dM=!1,dL=null,dD=null,dU=null,dj=new Map,dz=new Map,dF=[],dB="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function d$(e,t){switch(e){case"focusin":case"focusout":dL=null;break;case"dragenter":case"dragleave":dD=null;break;case"mouseover":case"mouseout":dU=null;break;case"pointerover":case"pointerout":dj.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dz.delete(t.pointerId)}}function dH(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[a]},null!==t&&null!==(t=e2(t))&&dT(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function dW(e){var t=e1(e.target);if(null!==t){var n=c(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=d(n))){e.blockedOn=t,eW(e.priority,function(){dk(n)});return}}else if(31===t){if(null!==(t=f(n))){e.blockedOn=t,eW(e.priority,function(){dk(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function dq(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=dN(e.nativeEvent);if(null!==n)return null!==(t=e2(n))&&dT(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tN=r,n.target.dispatchEvent(r),tN=null,t.shift()}return!0}function dG(e,t,n){dq(e)&&n.delete(t)}function dV(){dM=!1,null!==dL&&dq(dL)&&(dL=null),null!==dD&&dq(dD)&&(dD=null),null!==dU&&dq(dU)&&(dU=null),dj.forEach(dG),dz.forEach(dG)}function dY(e,t){e.blockedOn===t&&(e.blockedOn=null,dM||(dM=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,dV)))}var dX=null;function dK(e){dX!==e&&(dX=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){dX===e&&(dX=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],a=e[t+2];if("function"!=typeof r)if(null===dI(r||n))continue;else break;var i=e2(n);null!==i&&(e.splice(t,3),t-=3,oc(i,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function dQ(e){function t(t){return dY(t,e)}null!==dL&&dY(dL,e),null!==dD&&dY(dD,e),null!==dU&&dY(dU,e),dj.forEach(t),dz.forEach(t);for(var n=0;n<dF.length;n++){var r=dF[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<dF.length&&null===(n=dF[0]).blockedOn;)dW(n),null===n.blockedOn&&dF.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],i=n[r+1],o=a[eV]||null;if("function"==typeof i)o||dK(n);else if(o){var l=null;if(i&&i.hasAttribute("formAction")){if(a=i,o=i[eV]||null)l=o.formAction;else if(null!==dI(a))continue}else l=o.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),dK(n)}}}function dJ(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function dZ(e){this._internalRoot=e}function d0(e){this._internalRoot=e}d0.prototype.render=dZ.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(s(409));dS(t.current,s4(),e,t,null,null)},d0.prototype.unmount=dZ.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dS(e.current,2,null,e,null,null),ut(),t[eY]=null}},d0.prototype.unstable_scheduleHydration=function(e){if(e){var t=eH();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dF.length&&0!==t&&t<dF[n].priority;n++);dF.splice(n,0,e),0===n&&dW(e)}};var d1=o.version;if("19.3.0-canary-52684925-20251110"!==d1)throw Error(s(527,d1,"19.3.0-canary-52684925-20251110"));if(V.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw Error(s(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=c(e)))throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;
20if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return p(a),e;if(i===r)return p(a),t;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=a,r=i;else{for(var o=!1,l=a.child;l;){if(l===n){o=!0,n=a,r=i;break}if(l===r){o=!0,r=a,n=i;break}l=l.sibling}if(!o){for(l=i.child;l;){if(l===n){o=!0,n=i,r=a;break}if(l===r){o=!0,r=i,n=a;break}l=l.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var d2=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!d2.isDisabled&&d2.supportsFiber)try{eT=d2.inject({bundleType:0,version:"19.3.0-canary-52684925-20251110",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.3.0-canary-52684925-20251110"}),ek=d2}catch(e){}}n.createRoot=function(e,t){if(!u(e))throw Error(s(299));var n=!1,r="",a=oA,i=oM,o=oL;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(i=t.onCaughtError),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=d_(e,1,!1,null,null,n,r,null,a,i,o,dJ),e[eY]=t.current,u1(e),new dZ(t)},n.hydrateRoot=function(e,t,n){if(!u(e))throw Error(s(299));var r,a=!1,i="",o=oA,l=oM,c=oL,d=null;return null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(d=n.formState)),(t=d_(e,1,!0,t,null!=n?n:null,a,i,d,o,l,c,dJ)).context=(r=null,rm),n=t.current,(i=aH(a=eB(a=s4()))).callback=null,aW(n,i,a),n=a,t.current.lanes=n,eU(t,n),uU(t),e[eY]=t.current,u1(e),new d0(t)},n.version="19.3.0-canary-52684925-20251110"},421647,(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(519065)},834060,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={onCaughtError:function(){return f},onUncaughtError:function(){return p}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(481258),o=e.r(47358),l=e.r(387554),s=e.r(505338),u=e.r(605313),c=i._(e.r(373017)),d={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)};function f(e,t){let n,r=t.errorBoundary?.constructor;if(n=n||r===u.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return p(e);(0,l.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||d.originConsoleError(e)}function p(e){(0,l.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||(0,s.reportGlobalError)(e)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},400325,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createInitialRouterState",{enumerable:!0,get:function(){return s}});let r=e.r(17116),a=e.r(652753),i=e.r(504176),o=e.r(889197),l=e.r(562397);function s({navigatedAt:e,initialFlightData:t,initialCanonicalUrlParts:n,initialRenderedSearch:s,initialParallelRoutes:u,location:c}){let d=n.join("/"),{tree:f,seedData:p,head:h}=(0,l.getFlightDataPartsFromPath)(t[0]),m={lazyData:null,rsc:p?.[0],prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:u,loading:p?.[2]??null,navigatedAt:e},g=c?(0,r.createHrefFromUrl)(c):d;return(0,o.addRefreshMarkerToActiveParallelSegments)(f,g),(null===u||0===u.size)&&(0,a.fillLazyItemsTillLeafWithHead)(e,m,void 0,f,p,h),{tree:f,cache:m,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:g,renderedSearch:s,nextUrl:((0,i.extractPathFromFlightRouterState)(f)||c?.pathname)??null,previousNextUrl:null,debugInfo:null}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
20dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},978963,(e,t,n)=>{"use strict";let r,a,i,o;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"hydrate",{enumerable:!0,get:function(){return j}});let l=e.r(481258),s=e.r(736752);e.r(580269);let u=l._(e.r(421647)),c=l._(e.r(28430)),d=e.r(213630),f=e.r(925310),p=e.r(475804),h=e.r(834060),m=e.r(444553),g=e.r(8830),y=e.r(137221),v=l._(e.r(617959)),b=e.r(400325);e.r(490792);let _=e.r(917951),S=e.r(562397),E=d.createFromReadableStream,w=d.createFromFetch,T=document,k=new TextEncoder,R=!1,x=!1,P=null;function C(e){if(0===e[0])i=[];else if(1===e[0]){if(!i)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});o?o.enqueue(k.encode(e[1])):i.push(e[1])}else if(2===e[0])P=e[1];else if(3===e[0]){if(!i)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let n=atob(e[1]),r=new Uint8Array(n.length);for(var t=0;t<n.length;t++)r[t]=n.charCodeAt(t);o?o.enqueue(r):i.push(r)}}let N=function(){o&&!x&&(o.close(),x=!0,i=void 0),R=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",N,!1):setTimeout(N);let O=self.__next_f=self.__next_f||[];O.forEach(C),O.length=0,O.push=C;let I=new ReadableStream({start(e){i&&(i.forEach(t=>{e.enqueue("string"==typeof t?k.encode(t):t)}),R&&!x)&&(null===e.desiredSize||e.desiredSize<0?e.error(Object.defineProperty(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."),"__NEXT_ERROR_CODE",{value:"E117",enumerable:!1,configurable:!0})):e.close(),x=!0,i=void 0),o=e}}),A=window.__NEXT_CLIENT_RESUME;function M({initialRSCPayload:e,actionQueue:t,webSocket:n,staticIndicatorState:r}){return(0,s.jsx)(v.default,{actionQueue:t,globalErrorState:e.G,webSocket:n,staticIndicatorState:r})}a=A?Promise.resolve(w(A,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r})).then(async e=>(0,S.createInitialRSCPayloadFromFallbackPrerender)(await A,e)):E(I,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,startTime:0});let L=c.default.StrictMode;function D({children:e}){return e}let U={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:p.onRecoverableError,onCaughtError:h.onCaughtError,onUncaughtError:h.onUncaughtError};async function j(e,t){let n,r,i=await a;(0,_.setAppBuildId)(i.b);let o=Date.now(),l=(0,y.createMutableActionQueue)((0,b.createInitialRouterState)({navigatedAt:o,initialFlightData:i.f,initialCanonicalUrlParts:i.c,initialRenderedSearch:i.q,initialParallelRoutes:new Map,location:window.location}),e),d=(0,s.jsx)(L,{children:(0,s.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,s.jsx)(D,{children:(0,s.jsx)(M,{initialRSCPayload:i,actionQueue:l,webSocket:r,staticIndicatorState:n})})})});"__next_error__"===document.documentElement.id?u.default.createRoot(T,U).render(d):c.default.startTransition(()=>{u.default.hydrateRoot(T,d,{...U,formState:P})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},128176,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});let r=e.r(860999);e.r(475804),window.next.turbopack=!0,self.__webpack_hash__="";let a=e.r(992521);(0,r.appBootstrap)(t=>{let{hydrate:n}=e.r(978963);n(a,t)}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]);
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.