@assemble-inc/chat-widget 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -5
- package/dist/embed.iife.js +379 -0
- package/dist/index.js +2256 -2232
- package/dist/server.cjs +65 -18
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +65 -18
- package/package.json +3 -1
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-neutral-300:oklch(87% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--font-weight-bold:700;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-asm-white:#fff;--color-asm-purple:#2e2438;--color-asm-pink-400:#ffa2f6;--color-asm-blue:#a5d5d8;--color-asm-gray-500:#f1f1f1}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.right-6{right:calc(var(--spacing) * 6)}.-bottom-4{bottom:calc(var(--spacing) * -4)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-6{bottom:calc(var(--spacing) * 6)}.bottom-20{bottom:calc(var(--spacing) * 20)}.left-0{left:calc(var(--spacing) * 0)}.left-2{left:calc(var(--spacing) * 2)}.left-4{left:calc(var(--spacing) * 4)}.left-6{left:calc(var(--spacing) * 6)}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.z-\\[3\\]{z-index:3}.mr-1{margin-right:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-24{margin-bottom:calc(var(--spacing) * 24)}.ml-1{margin-left:calc(var(--spacing) * 1)}.flex{display:flex}.h-3\\/4{height:75%}.h-5\\/6{height:83.3333%}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-full{height:100%}.max-h-\\[500px\\]{max-height:500px}.max-h-\\[800px\\]{max-height:800px}.min-h-\\[46px\\]{min-height:46px}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-16{width:calc(var(--spacing) * 16)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.max-w-none{max-width:none}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-bottom-left{transform-origin:0 100%}.origin-bottom-right{transform-origin:100% 100%}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform-gpu{transform:translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[43px\\]{border-radius:43px}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[43px\\]{border-top-left-radius:43px;border-top-right-radius:43px}.rounded-tl-\\[50\\%\\]{border-top-left-radius:50%}.rounded-tl-none{border-top-left-radius:0}.rounded-tr-\\[50\\%\\]{border-top-right-radius:50%}.rounded-tr-none{border-top-right-radius:0}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-\\[50\\%\\]{border-bottom-right-radius:50%}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-\\[50\\%\\]{border-bottom-left-radius:50%}.border{border-style:var(--tw-border-style);border-width:1px}.border-asm-purple{border-color:var(--color-asm-purple)}.border-asm-purple\\/40{border-color:#2e243866}@supports (color:color-mix(in lab,red,red)){.border-asm-purple\\/40{border-color:color-mix(in oklab,var(--color-asm-purple) 40%,transparent)}}.border-gray-200{border-color:var(--color-gray-200)}.bg-asm-gray-500{background-color:var(--color-asm-gray-500)}.bg-asm-pink-400{background-color:var(--color-asm-pink-400)}.bg-asm-purple{background-color:var(--color-asm-purple)}.bg-asm-white{background-color:var(--color-asm-white)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-gray-500{--tw-gradient-from:var(--color-gray-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-neutral-300{--tw-gradient-to:var(--color-neutral-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pr-12{padding-right:calc(var(--spacing) * 12)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-20{padding-bottom:calc(var(--spacing) * 20)}.pl-4{padding-left:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-\\[1\\.4\\]{--tw-leading:1.4;line-height:1.4}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.whitespace-pre-wrap{white-space:pre-wrap}.text-asm-purple{color:var(--color-asm-purple)}.text-gray-400{color:var(--color-gray-400)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.opacity-8{opacity:.08}.opacity-20{opacity:.2}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-gray-200{--tw-ring-color:var(--color-gray-200)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.first\\:pt-4:first-child{padding-top:calc(var(--spacing) * 4)}.last\\:pb-4:last-child{padding-bottom:calc(var(--spacing) * 4)}@media(hover:hover){.hover\\:bg-asm-blue\\/30:hover{background-color:#a5d5d84d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-asm-blue\\/30:hover{background-color:color-mix(in oklab,var(--color-asm-blue) 30%,transparent)}}.hover\\:bg-asm-purple\\/10:hover{background-color:#2e24381a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-asm-purple\\/10:hover{background-color:color-mix(in oklab,var(--color-asm-purple) 10%,transparent)}}}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-asm-blue:focus{--tw-ring-color:var(--color-asm-blue)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}@media(prefers-reduced-motion:reduce){.motion-reduce\\:transition-none{transition-property:none}}}.asw-widget{font-family:Inter,sans-serif}.asw-widget *,.asw-widget :before,.asw-widget :after{box-sizing:border-box}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
+
(function(){"use strict";function Ob(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var rv={exports:{}},gt={};/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var PS;function OO(){if(PS)return gt;PS=1;var a=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),R=Symbol.iterator;function z(A){return A===null||typeof A!="object"?null:(A=R&&A[R]||A["@@iterator"],typeof A=="function"?A:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,ae={};function G(A,$,ce){this.props=A,this.context=$,this.refs=ae,this.updater=ce||_}G.prototype.isReactComponent={},G.prototype.setState=function(A,$){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,$,"setState")},G.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function k(){}k.prototype=G.prototype;function q(A,$,ce){this.props=A,this.context=$,this.refs=ae,this.updater=ce||_}var D=q.prototype=new k;D.constructor=q,Y(D,G.prototype),D.isPureReactComponent=!0;var ue=Array.isArray,te={H:null,A:null,T:null,S:null,V:null},Q=Object.prototype.hasOwnProperty;function he(A,$,ce,U,Re,Ye){return ce=Ye.ref,{$$typeof:a,type:A,key:$,ref:ce!==void 0?ce:null,props:Ye}}function _e(A,$){return he(A.type,$,void 0,void 0,void 0,A.props)}function Se(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function He(A){var $={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ce){return $[ce]})}var be=/\/+/g;function Ee(A,$){return typeof A=="object"&&A!==null&&A.key!=null?He(""+A.key):$.toString(36)}function Xe(){}function Ne(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(Xe,Xe):(A.status="pending",A.then(function($){A.status==="pending"&&(A.status="fulfilled",A.value=$)},function($){A.status==="pending"&&(A.status="rejected",A.reason=$)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function Te(A,$,ce,U,Re){var Ye=typeof A;(Ye==="undefined"||Ye==="boolean")&&(A=null);var Oe=!1;if(A===null)Oe=!0;else switch(Ye){case"bigint":case"string":case"number":Oe=!0;break;case"object":switch(A.$$typeof){case a:case u:Oe=!0;break;case O:return Oe=A._init,Te(Oe(A._payload),$,ce,U,Re)}}if(Oe)return Re=Re(A),Oe=U===""?"."+Ee(A,0):U,ue(Re)?(ce="",Oe!=null&&(ce=Oe.replace(be,"$&/")+"/"),Te(Re,$,ce,"",function(Bt){return Bt})):Re!=null&&(Se(Re)&&(Re=_e(Re,ce+(Re.key==null||A&&A.key===Re.key?"":(""+Re.key).replace(be,"$&/")+"/")+Oe)),$.push(Re)),1;Oe=0;var Qt=U===""?".":U+":";if(ue(A))for(var Ve=0;Ve<A.length;Ve++)U=A[Ve],Ye=Qt+Ee(U,Ve),Oe+=Te(U,$,ce,Ye,Re);else if(Ve=z(A),typeof Ve=="function")for(A=Ve.call(A),Ve=0;!(U=A.next()).done;)U=U.value,Ye=Qt+Ee(U,Ve++),Oe+=Te(U,$,ce,Ye,Re);else if(Ye==="object"){if(typeof A.then=="function")return Te(Ne(A),$,ce,U,Re);throw $=String(A),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return Oe}function L(A,$,ce){if(A==null)return A;var U=[],Re=0;return Te(A,U,"","",function(Ye){return $.call(ce,Ye,Re++)}),U}function ie(A){if(A._status===-1){var $=A._result;$=$(),$.then(function(ce){(A._status===0||A._status===-1)&&(A._status=1,A._result=ce)},function(ce){(A._status===0||A._status===-1)&&(A._status=2,A._result=ce)}),A._status===-1&&(A._status=0,A._result=$)}if(A._status===1)return A._result.default;throw A._result}var se=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent($))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function ke(){}return gt.Children={map:L,forEach:function(A,$,ce){L(A,function(){$.apply(this,arguments)},ce)},count:function(A){var $=0;return L(A,function(){$++}),$},toArray:function(A){return L(A,function($){return $})||[]},only:function(A){if(!Se(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},gt.Component=G,gt.Fragment=c,gt.Profiler=h,gt.PureComponent=q,gt.StrictMode=s,gt.Suspense=T,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=te,gt.__COMPILER_RUNTIME={__proto__:null,c:function(A){return te.H.useMemoCache(A)}},gt.cache=function(A){return function(){return A.apply(null,arguments)}},gt.cloneElement=function(A,$,ce){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var U=Y({},A.props),Re=A.key,Ye=void 0;if($!=null)for(Oe in $.ref!==void 0&&(Ye=void 0),$.key!==void 0&&(Re=""+$.key),$)!Q.call($,Oe)||Oe==="key"||Oe==="__self"||Oe==="__source"||Oe==="ref"&&$.ref===void 0||(U[Oe]=$[Oe]);var Oe=arguments.length-2;if(Oe===1)U.children=ce;else if(1<Oe){for(var Qt=Array(Oe),Ve=0;Ve<Oe;Ve++)Qt[Ve]=arguments[Ve+2];U.children=Qt}return he(A.type,Re,void 0,void 0,Ye,U)},gt.createContext=function(A){return A={$$typeof:v,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:y,_context:A},A},gt.createElement=function(A,$,ce){var U,Re={},Ye=null;if($!=null)for(U in $.key!==void 0&&(Ye=""+$.key),$)Q.call($,U)&&U!=="key"&&U!=="__self"&&U!=="__source"&&(Re[U]=$[U]);var Oe=arguments.length-2;if(Oe===1)Re.children=ce;else if(1<Oe){for(var Qt=Array(Oe),Ve=0;Ve<Oe;Ve++)Qt[Ve]=arguments[Ve+2];Re.children=Qt}if(A&&A.defaultProps)for(U in Oe=A.defaultProps,Oe)Re[U]===void 0&&(Re[U]=Oe[U]);return he(A,Ye,void 0,void 0,null,Re)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(A){return{$$typeof:b,render:A}},gt.isValidElement=Se,gt.lazy=function(A){return{$$typeof:O,_payload:{_status:-1,_result:A},_init:ie}},gt.memo=function(A,$){return{$$typeof:E,type:A,compare:$===void 0?null:$}},gt.startTransition=function(A){var $=te.T,ce={};te.T=ce;try{var U=A(),Re=te.S;Re!==null&&Re(ce,U),typeof U=="object"&&U!==null&&typeof U.then=="function"&&U.then(ke,se)}catch(Ye){se(Ye)}finally{te.T=$}},gt.unstable_useCacheRefresh=function(){return te.H.useCacheRefresh()},gt.use=function(A){return te.H.use(A)},gt.useActionState=function(A,$,ce){return te.H.useActionState(A,$,ce)},gt.useCallback=function(A,$){return te.H.useCallback(A,$)},gt.useContext=function(A){return te.H.useContext(A)},gt.useDebugValue=function(){},gt.useDeferredValue=function(A,$){return te.H.useDeferredValue(A,$)},gt.useEffect=function(A,$,ce){var U=te.H;if(typeof ce=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return U.useEffect(A,$)},gt.useId=function(){return te.H.useId()},gt.useImperativeHandle=function(A,$,ce){return te.H.useImperativeHandle(A,$,ce)},gt.useInsertionEffect=function(A,$){return te.H.useInsertionEffect(A,$)},gt.useLayoutEffect=function(A,$){return te.H.useLayoutEffect(A,$)},gt.useMemo=function(A,$){return te.H.useMemo(A,$)},gt.useOptimistic=function(A,$){return te.H.useOptimistic(A,$)},gt.useReducer=function(A,$,ce){return te.H.useReducer(A,$,ce)},gt.useRef=function(A){return te.H.useRef(A)},gt.useState=function(A){return te.H.useState(A)},gt.useSyncExternalStore=function(A,$,ce){return te.H.useSyncExternalStore(A,$,ce)},gt.useTransition=function(){return te.H.useTransition()},gt.version="19.1.0",gt}var Yp={exports:{}};/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react.development.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/Yp.exports;var FS;function RO(){return FS||(FS=1,(function(a,u){process.env.NODE_ENV!=="production"&&(function(){function c(C,I){Object.defineProperty(y.prototype,C,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",I[0],I[1])}})}function s(C){return C===null||typeof C!="object"?null:(C=Oa&&C[Oa]||C["@@iterator"],typeof C=="function"?C:null)}function h(C,I){C=(C=C.constructor)&&(C.displayName||C.name)||"ReactClass";var we=C+"."+I;ru[we]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",I,C),ru[we]=!0)}function y(C,I,we){this.props=C,this.context=I,this.refs=Iu,this.updater=we||Al}function v(){}function b(C,I,we){this.props=C,this.context=I,this.refs=Iu,this.updater=we||Al}function T(C){return""+C}function E(C){try{T(C);var I=!1}catch{I=!0}if(I){I=console;var we=I.error,De=typeof Symbol=="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return we.call(I,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",De),T(C)}}function O(C){if(C==null)return null;if(typeof C=="function")return C.$$typeof===Br?null:C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case A:return"Fragment";case ce:return"Profiler";case $:return"StrictMode";case Oe:return"Suspense";case Qt:return"SuspenseList";case Dn:return"Activity"}if(typeof C=="object")switch(typeof C.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case ke:return"Portal";case Re:return(C.displayName||"Context")+".Provider";case U:return(C._context.displayName||"Context")+".Consumer";case Ye:var I=C.render;return C=C.displayName,C||(C=I.displayName||I.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case Ve:return I=C.displayName||null,I!==null?I:O(C.type)||"Memo";case Bt:I=C._payload,C=C._init;try{return O(C(I))}catch{}}return null}function R(C){if(C===A)return"<>";if(typeof C=="object"&&C!==null&&C.$$typeof===Bt)return"<...>";try{var I=O(C);return I?"<"+I+">":"<...>"}catch{return"<...>"}}function z(){var C=rt.A;return C===null?null:C.getOwner()}function _(){return Error("react-stack-top-frame")}function Y(C){if(xl.call(C,"key")){var I=Object.getOwnPropertyDescriptor(C,"key").get;if(I&&I.isReactWarning)return!1}return C.key!==void 0}function ae(C,I){function we(){Il||(Il=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",I))}we.isReactWarning=!0,Object.defineProperty(C,"key",{get:we,configurable:!0})}function G(){var C=O(this.type);return Lr[C]||(Lr[C]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),C=this.props.ref,C!==void 0?C:null}function k(C,I,we,De,qe,lt,ct,zt){return we=lt.ref,C={$$typeof:se,type:C,key:I,props:lt,_owner:qe},(we!==void 0?we:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:G}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ct}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:zt}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function q(C,I){return I=k(C.type,I,void 0,void 0,C._owner,C.props,C._debugStack,C._debugTask),C._store&&(I._store.validated=C._store.validated),I}function D(C){return typeof C=="object"&&C!==null&&C.$$typeof===se}function ue(C){var I={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(we){return I[we]})}function te(C,I){return typeof C=="object"&&C!==null&&C.key!=null?(E(C.key),ue(""+C.key)):I.toString(36)}function Q(){}function he(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(Q,Q):(C.status="pending",C.then(function(I){C.status==="pending"&&(C.status="fulfilled",C.value=I)},function(I){C.status==="pending"&&(C.status="rejected",C.reason=I)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function _e(C,I,we,De,qe){var lt=typeof C;(lt==="undefined"||lt==="boolean")&&(C=null);var ct=!1;if(C===null)ct=!0;else switch(lt){case"bigint":case"string":case"number":ct=!0;break;case"object":switch(C.$$typeof){case se:case ke:ct=!0;break;case Bt:return ct=C._init,_e(ct(C._payload),I,we,De,qe)}}if(ct){ct=C,qe=qe(ct);var zt=De===""?"."+te(ct,0):De;return mi(qe)?(we="",zt!=null&&(we=zt.replace(Ke,"$&/")+"/"),_e(qe,I,we,"",function(Hn){return Hn})):qe!=null&&(D(qe)&&(qe.key!=null&&(ct&&ct.key===qe.key||E(qe.key)),we=q(qe,we+(qe.key==null||ct&&ct.key===qe.key?"":(""+qe.key).replace(Ke,"$&/")+"/")+zt),De!==""&&ct!=null&&D(ct)&&ct.key==null&&ct._store&&!ct._store.validated&&(we._store.validated=2),qe=we),I.push(qe)),1}if(ct=0,zt=De===""?".":De+":",mi(C))for(var ot=0;ot<C.length;ot++)De=C[ot],lt=zt+te(De,ot),ct+=_e(De,I,we,lt,qe);else if(ot=s(C),typeof ot=="function")for(ot===C.entries&&(Ie||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ie=!0),C=ot.call(C),ot=0;!(De=C.next()).done;)De=De.value,lt=zt+te(De,ot++),ct+=_e(De,I,we,lt,qe);else if(lt==="object"){if(typeof C.then=="function")return _e(he(C),I,we,De,qe);throw I=String(C),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return ct}function Se(C,I,we){if(C==null)return C;var De=[],qe=0;return _e(C,De,"","",function(lt){return I.call(we,lt,qe++)}),De}function He(C){if(C._status===-1){var I=C._result;I=I(),I.then(function(we){(C._status===0||C._status===-1)&&(C._status=1,C._result=we)},function(we){(C._status===0||C._status===-1)&&(C._status=2,C._result=we)}),C._status===-1&&(C._status=0,C._result=I)}if(C._status===1)return I=C._result,I===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
19
|
+
|
|
20
|
+
Your code should look like:
|
|
21
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
22
|
+
|
|
23
|
+
Did you accidentally put curly braces around the import?`,I),"default"in I||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
24
|
+
|
|
25
|
+
Your code should look like:
|
|
26
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,I),I.default;throw C._result}function be(){var C=rt.H;return C===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
27
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
28
|
+
2. You might be breaking the Rules of Hooks
|
|
29
|
+
3. You might have more than one copy of React in the same app
|
|
30
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),C}function Ee(){}function Xe(C){if(La===null)try{var I=("require"+Math.random()).slice(0,7);La=(a&&a[I]).call(a,"timers").setImmediate}catch{La=function(De){la===!1&&(la=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var qe=new MessageChannel;qe.port1.onmessage=De,qe.port2.postMessage(void 0)}}return La(C)}function Ne(C){return 1<C.length&&typeof AggregateError=="function"?new AggregateError(C):C[0]}function Te(C,I){I!==Nn-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Nn=I}function L(C,I,we){var De=rt.actQueue;if(De!==null)if(De.length!==0)try{ie(De),Xe(function(){return L(C,I,we)});return}catch(qe){rt.thrownErrors.push(qe)}else rt.actQueue=null;0<rt.thrownErrors.length?(De=Ne(rt.thrownErrors),rt.thrownErrors.length=0,we(De)):I(C)}function ie(C){if(!mn){mn=!0;var I=0;try{for(;I<C.length;I++){var we=C[I];do{rt.didUsePromise=!1;var De=we(!1);if(De!==null){if(rt.didUsePromise){C[I]=we,C.splice(0,I);return}we=De}else break}while(!0)}C.length=0}catch(qe){C.splice(0,I+1),rt.thrownErrors.push(qe)}finally{mn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var se=Symbol.for("react.transitional.element"),ke=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),ce=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),Re=Symbol.for("react.context"),Ye=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Qt=Symbol.for("react.suspense_list"),Ve=Symbol.for("react.memo"),Bt=Symbol.for("react.lazy"),Dn=Symbol.for("react.activity"),Oa=Symbol.iterator,ru={},Al={isMounted:function(){return!1},enqueueForceUpdate:function(C){h(C,"forceUpdate")},enqueueReplaceState:function(C){h(C,"replaceState")},enqueueSetState:function(C){h(C,"setState")}},Qu=Object.assign,Iu={};Object.freeze(Iu),y.prototype.isReactComponent={},y.prototype.setState=function(C,I){if(typeof C!="object"&&typeof C!="function"&&C!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,C,I,"setState")},y.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};var pn={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Mn;for(Mn in pn)pn.hasOwnProperty(Mn)&&c(Mn,pn[Mn]);v.prototype=y.prototype,pn=b.prototype=new v,pn.constructor=b,Qu(pn,y.prototype),pn.isPureReactComponent=!0;var mi=Array.isArray,Br=Symbol.for("react.client.reference"),rt={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},xl=Object.prototype.hasOwnProperty,Ju=console.createTask?console.createTask:function(){return null};pn={"react-stack-bottom-frame":function(C){return C()}};var Il,Wo,Lr={},pe=pn["react-stack-bottom-frame"].bind(pn,_)(),xe=Ju(R(_)),Ie=!1,Ke=/\/+/g,Dt=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},la=!1,La=null,Nn=0,Un=!1,mn=!1,en=typeof queueMicrotask=="function"?function(C){queueMicrotask(function(){return queueMicrotask(C)})}:Xe;pn=Object.freeze({__proto__:null,c:function(C){return be().useMemoCache(C)}}),u.Children={map:Se,forEach:function(C,I,we){Se(C,function(){I.apply(this,arguments)},we)},count:function(C){var I=0;return Se(C,function(){I++}),I},toArray:function(C){return Se(C,function(I){return I})||[]},only:function(C){if(!D(C))throw Error("React.Children.only expected to receive a single React element child.");return C}},u.Component=y,u.Fragment=A,u.Profiler=ce,u.PureComponent=b,u.StrictMode=$,u.Suspense=Oe,u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=rt,u.__COMPILER_RUNTIME=pn,u.act=function(C){var I=rt.actQueue,we=Nn;Nn++;var De=rt.actQueue=I!==null?I:[],qe=!1;try{var lt=C()}catch(ot){rt.thrownErrors.push(ot)}if(0<rt.thrownErrors.length)throw Te(I,we),C=Ne(rt.thrownErrors),rt.thrownErrors.length=0,C;if(lt!==null&&typeof lt=="object"&&typeof lt.then=="function"){var ct=lt;return en(function(){qe||Un||(Un=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(ot,Hn){qe=!0,ct.then(function(Jl){if(Te(I,we),we===0){try{ie(De),Xe(function(){return L(Jl,ot,Hn)})}catch(vm){rt.thrownErrors.push(vm)}if(0<rt.thrownErrors.length){var Sd=Ne(rt.thrownErrors);rt.thrownErrors.length=0,Hn(Sd)}}else ot(Jl)},function(Jl){Te(I,we),0<rt.thrownErrors.length&&(Jl=Ne(rt.thrownErrors),rt.thrownErrors.length=0),Hn(Jl)})}}}var zt=lt;if(Te(I,we),we===0&&(ie(De),De.length!==0&&en(function(){qe||Un||(Un=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),rt.actQueue=null),0<rt.thrownErrors.length)throw C=Ne(rt.thrownErrors),rt.thrownErrors.length=0,C;return{then:function(ot,Hn){qe=!0,we===0?(rt.actQueue=De,Xe(function(){return L(zt,ot,Hn)})):ot(zt)}}},u.cache=function(C){return function(){return C.apply(null,arguments)}},u.captureOwnerStack=function(){var C=rt.getCurrentStack;return C===null?null:C()},u.cloneElement=function(C,I,we){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var De=Qu({},C.props),qe=C.key,lt=C._owner;if(I!=null){var ct;e:{if(xl.call(I,"ref")&&(ct=Object.getOwnPropertyDescriptor(I,"ref").get)&&ct.isReactWarning){ct=!1;break e}ct=I.ref!==void 0}ct&&(lt=z()),Y(I)&&(E(I.key),qe=""+I.key);for(zt in I)!xl.call(I,zt)||zt==="key"||zt==="__self"||zt==="__source"||zt==="ref"&&I.ref===void 0||(De[zt]=I[zt])}var zt=arguments.length-2;if(zt===1)De.children=we;else if(1<zt){ct=Array(zt);for(var ot=0;ot<zt;ot++)ct[ot]=arguments[ot+2];De.children=ct}for(De=k(C.type,qe,void 0,void 0,lt,De,C._debugStack,C._debugTask),qe=2;qe<arguments.length;qe++)lt=arguments[qe],D(lt)&<._store&&(lt._store.validated=1);return De},u.createContext=function(C){return C={$$typeof:Re,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:U,_context:C},C._currentRenderer=null,C._currentRenderer2=null,C},u.createElement=function(C,I,we){for(var De=2;De<arguments.length;De++){var qe=arguments[De];D(qe)&&qe._store&&(qe._store.validated=1)}if(De={},qe=null,I!=null)for(ot in Wo||!("__self"in I)||"key"in I||(Wo=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),Y(I)&&(E(I.key),qe=""+I.key),I)xl.call(I,ot)&&ot!=="key"&&ot!=="__self"&&ot!=="__source"&&(De[ot]=I[ot]);var lt=arguments.length-2;if(lt===1)De.children=we;else if(1<lt){for(var ct=Array(lt),zt=0;zt<lt;zt++)ct[zt]=arguments[zt+2];Object.freeze&&Object.freeze(ct),De.children=ct}if(C&&C.defaultProps)for(ot in lt=C.defaultProps,lt)De[ot]===void 0&&(De[ot]=lt[ot]);qe&&ae(De,typeof C=="function"?C.displayName||C.name||"Unknown":C);var ot=1e4>rt.recentlyCreatedOwnerStacks++;return k(C,qe,void 0,void 0,z(),De,ot?Error("react-stack-top-frame"):pe,ot?Ju(R(C)):xe)},u.createRef=function(){var C={current:null};return Object.seal(C),C},u.forwardRef=function(C){C!=null&&C.$$typeof===Ve?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof C!="function"?console.error("forwardRef requires a render function but was given %s.",C===null?"null":typeof C):C.length!==0&&C.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",C.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),C!=null&&C.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var I={$$typeof:Ye,render:C},we;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return we},set:function(De){we=De,C.name||C.displayName||(Object.defineProperty(C,"name",{value:De}),C.displayName=De)}}),I},u.isValidElement=D,u.lazy=function(C){return{$$typeof:Bt,_payload:{_status:-1,_result:C},_init:He}},u.memo=function(C,I){C==null&&console.error("memo: The first argument must be a component. Instead received: %s",C===null?"null":typeof C),I={$$typeof:Ve,type:C,compare:I===void 0?null:I};var we;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return we},set:function(De){we=De,C.name||C.displayName||(Object.defineProperty(C,"name",{value:De}),C.displayName=De)}}),I},u.startTransition=function(C){var I=rt.T,we={};rt.T=we,we._updatedFibers=new Set;try{var De=C(),qe=rt.S;qe!==null&&qe(we,De),typeof De=="object"&&De!==null&&typeof De.then=="function"&&De.then(Ee,Dt)}catch(lt){Dt(lt)}finally{I===null&&we._updatedFibers&&(C=we._updatedFibers.size,we._updatedFibers.clear(),10<C&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),rt.T=I}},u.unstable_useCacheRefresh=function(){return be().useCacheRefresh()},u.use=function(C){return be().use(C)},u.useActionState=function(C,I,we){return be().useActionState(C,I,we)},u.useCallback=function(C,I){return be().useCallback(C,I)},u.useContext=function(C){var I=be();return C.$$typeof===U&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),I.useContext(C)},u.useDebugValue=function(C,I){return be().useDebugValue(C,I)},u.useDeferredValue=function(C,I){return be().useDeferredValue(C,I)},u.useEffect=function(C,I,we){C==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var De=be();if(typeof we=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return De.useEffect(C,I)},u.useId=function(){return be().useId()},u.useImperativeHandle=function(C,I,we){return be().useImperativeHandle(C,I,we)},u.useInsertionEffect=function(C,I){return C==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),be().useInsertionEffect(C,I)},u.useLayoutEffect=function(C,I){return C==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),be().useLayoutEffect(C,I)},u.useMemo=function(C,I){return be().useMemo(C,I)},u.useOptimistic=function(C,I){return be().useOptimistic(C,I)},u.useReducer=function(C,I,we){return be().useReducer(C,I,we)},u.useRef=function(C){return be().useRef(C)},u.useState=function(C){return be().useState(C)},u.useSyncExternalStore=function(C,I,we){return be().useSyncExternalStore(C,I,we)},u.useTransition=function(){return be().useTransition()},u.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Yp,Yp.exports)),Yp.exports}var WS;function rd(){return WS||(WS=1,process.env.NODE_ENV==="production"?rv.exports=OO():rv.exports=RO()),rv.exports}var _n=rd(),ov={exports:{}},Vp={},cv={exports:{}},Rb={};/**
|
|
31
|
+
* @license React
|
|
32
|
+
* scheduler.production.js
|
|
33
|
+
*
|
|
34
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
35
|
+
*
|
|
36
|
+
* This source code is licensed under the MIT license found in the
|
|
37
|
+
* LICENSE file in the root directory of this source tree.
|
|
38
|
+
*/var eE;function wO(){return eE||(eE=1,(function(a){function u(L,ie){var se=L.length;L.push(ie);e:for(;0<se;){var ke=se-1>>>1,A=L[ke];if(0<h(A,ie))L[ke]=ie,L[se]=A,se=ke;else break e}}function c(L){return L.length===0?null:L[0]}function s(L){if(L.length===0)return null;var ie=L[0],se=L.pop();if(se!==ie){L[0]=se;e:for(var ke=0,A=L.length,$=A>>>1;ke<$;){var ce=2*(ke+1)-1,U=L[ce],Re=ce+1,Ye=L[Re];if(0>h(U,se))Re<A&&0>h(Ye,U)?(L[ke]=Ye,L[Re]=se,ke=Re):(L[ke]=U,L[ce]=se,ke=ce);else if(Re<A&&0>h(Ye,se))L[ke]=Ye,L[Re]=se,ke=Re;else break e}}return ie}function h(L,ie){var se=L.sortIndex-ie.sortIndex;return se!==0?se:L.id-ie.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;a.unstable_now=function(){return y.now()}}else{var v=Date,b=v.now();a.unstable_now=function(){return v.now()-b}}var T=[],E=[],O=1,R=null,z=3,_=!1,Y=!1,ae=!1,G=!1,k=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function ue(L){for(var ie=c(E);ie!==null;){if(ie.callback===null)s(E);else if(ie.startTime<=L)s(E),ie.sortIndex=ie.expirationTime,u(T,ie);else break;ie=c(E)}}function te(L){if(ae=!1,ue(L),!Y)if(c(T)!==null)Y=!0,Q||(Q=!0,Ee());else{var ie=c(E);ie!==null&&Te(te,ie.startTime-L)}}var Q=!1,he=-1,_e=5,Se=-1;function He(){return G?!0:!(a.unstable_now()-Se<_e)}function be(){if(G=!1,Q){var L=a.unstable_now();Se=L;var ie=!0;try{e:{Y=!1,ae&&(ae=!1,q(he),he=-1),_=!0;var se=z;try{t:{for(ue(L),R=c(T);R!==null&&!(R.expirationTime>L&&He());){var ke=R.callback;if(typeof ke=="function"){R.callback=null,z=R.priorityLevel;var A=ke(R.expirationTime<=L);if(L=a.unstable_now(),typeof A=="function"){R.callback=A,ue(L),ie=!0;break t}R===c(T)&&s(T),ue(L)}else s(T);R=c(T)}if(R!==null)ie=!0;else{var $=c(E);$!==null&&Te(te,$.startTime-L),ie=!1}}break e}finally{R=null,z=se,_=!1}ie=void 0}}finally{ie?Ee():Q=!1}}}var Ee;if(typeof D=="function")Ee=function(){D(be)};else if(typeof MessageChannel<"u"){var Xe=new MessageChannel,Ne=Xe.port2;Xe.port1.onmessage=be,Ee=function(){Ne.postMessage(null)}}else Ee=function(){k(be,0)};function Te(L,ie){he=k(function(){L(a.unstable_now())},ie)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(L){L.callback=null},a.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_e=0<L?Math.floor(1e3/L):5},a.unstable_getCurrentPriorityLevel=function(){return z},a.unstable_next=function(L){switch(z){case 1:case 2:case 3:var ie=3;break;default:ie=z}var se=z;z=ie;try{return L()}finally{z=se}},a.unstable_requestPaint=function(){G=!0},a.unstable_runWithPriority=function(L,ie){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var se=z;z=L;try{return ie()}finally{z=se}},a.unstable_scheduleCallback=function(L,ie,se){var ke=a.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?ke+se:ke):se=ke,L){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=se+A,L={id:O++,callback:ie,priorityLevel:L,startTime:se,expirationTime:A,sortIndex:-1},se>ke?(L.sortIndex=se,u(E,L),c(T)===null&&L===c(E)&&(ae?(q(he),he=-1):ae=!0,Te(te,se-ke))):(L.sortIndex=A,u(T,L),Y||_||(Y=!0,Q||(Q=!0,Ee()))),L},a.unstable_shouldYield=He,a.unstable_wrapCallback=function(L){var ie=z;return function(){var se=z;z=ie;try{return L.apply(this,arguments)}finally{z=se}}}})(Rb)),Rb}var wb={};/**
|
|
39
|
+
* @license React
|
|
40
|
+
* scheduler.development.js
|
|
41
|
+
*
|
|
42
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
43
|
+
*
|
|
44
|
+
* This source code is licensed under the MIT license found in the
|
|
45
|
+
* LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/var tE;function zO(){return tE||(tE=1,(function(a){process.env.NODE_ENV!=="production"&&(function(){function u(){if(te=!1,Se){var L=a.unstable_now();Ee=L;var ie=!0;try{e:{D=!1,ue&&(ue=!1,he(He),He=-1),q=!0;var se=k;try{t:{for(v(L),G=s(_);G!==null&&!(G.expirationTime>L&&T());){var ke=G.callback;if(typeof ke=="function"){G.callback=null,k=G.priorityLevel;var A=ke(G.expirationTime<=L);if(L=a.unstable_now(),typeof A=="function"){G.callback=A,v(L),ie=!0;break t}G===s(_)&&h(_),v(L)}else h(_);G=s(_)}if(G!==null)ie=!0;else{var $=s(Y);$!==null&&E(b,$.startTime-L),ie=!1}}break e}finally{G=null,k=se,q=!1}ie=void 0}}finally{ie?Xe():Se=!1}}}function c(L,ie){var se=L.length;L.push(ie);e:for(;0<se;){var ke=se-1>>>1,A=L[ke];if(0<y(A,ie))L[ke]=ie,L[se]=A,se=ke;else break e}}function s(L){return L.length===0?null:L[0]}function h(L){if(L.length===0)return null;var ie=L[0],se=L.pop();if(se!==ie){L[0]=se;e:for(var ke=0,A=L.length,$=A>>>1;ke<$;){var ce=2*(ke+1)-1,U=L[ce],Re=ce+1,Ye=L[Re];if(0>y(U,se))Re<A&&0>y(Ye,U)?(L[ke]=Ye,L[Re]=se,ke=Re):(L[ke]=U,L[ce]=se,ke=ce);else if(Re<A&&0>y(Ye,se))L[ke]=Ye,L[Re]=se,ke=Re;else break e}}return ie}function y(L,ie){var se=L.sortIndex-ie.sortIndex;return se!==0?se:L.id-ie.id}function v(L){for(var ie=s(Y);ie!==null;){if(ie.callback===null)h(Y);else if(ie.startTime<=L)h(Y),ie.sortIndex=ie.expirationTime,c(_,ie);else break;ie=s(Y)}}function b(L){if(ue=!1,v(L),!D)if(s(_)!==null)D=!0,Se||(Se=!0,Xe());else{var ie=s(Y);ie!==null&&E(b,ie.startTime-L)}}function T(){return te?!0:!(a.unstable_now()-Ee<be)}function E(L,ie){He=Q(function(){L(a.unstable_now())},ie)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var O=performance;a.unstable_now=function(){return O.now()}}else{var R=Date,z=R.now();a.unstable_now=function(){return R.now()-z}}var _=[],Y=[],ae=1,G=null,k=3,q=!1,D=!1,ue=!1,te=!1,Q=typeof setTimeout=="function"?setTimeout:null,he=typeof clearTimeout=="function"?clearTimeout:null,_e=typeof setImmediate<"u"?setImmediate:null,Se=!1,He=-1,be=5,Ee=-1;if(typeof _e=="function")var Xe=function(){_e(u)};else if(typeof MessageChannel<"u"){var Ne=new MessageChannel,Te=Ne.port2;Ne.port1.onmessage=u,Xe=function(){Te.postMessage(null)}}else Xe=function(){Q(u,0)};a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(L){L.callback=null},a.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):be=0<L?Math.floor(1e3/L):5},a.unstable_getCurrentPriorityLevel=function(){return k},a.unstable_next=function(L){switch(k){case 1:case 2:case 3:var ie=3;break;default:ie=k}var se=k;k=ie;try{return L()}finally{k=se}},a.unstable_requestPaint=function(){te=!0},a.unstable_runWithPriority=function(L,ie){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var se=k;k=L;try{return ie()}finally{k=se}},a.unstable_scheduleCallback=function(L,ie,se){var ke=a.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?ke+se:ke):se=ke,L){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=se+A,L={id:ae++,callback:ie,priorityLevel:L,startTime:se,expirationTime:A,sortIndex:-1},se>ke?(L.sortIndex=se,c(Y,L),s(_)===null&&L===s(Y)&&(ue?(he(He),He=-1):ue=!0,E(b,se-ke))):(L.sortIndex=A,c(_,L),D||q||(D=!0,Se||(Se=!0,Xe()))),L},a.unstable_shouldYield=T,a.unstable_wrapCallback=function(L){var ie=k;return function(){var se=k;k=ie;try{return L.apply(this,arguments)}finally{k=se}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(wb)),wb}var nE;function aE(){return nE||(nE=1,process.env.NODE_ENV==="production"?cv.exports=wO():cv.exports=zO()),cv.exports}var sv={exports:{}},Ha={};/**
|
|
47
|
+
* @license React
|
|
48
|
+
* react-dom.production.js
|
|
49
|
+
*
|
|
50
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
51
|
+
*
|
|
52
|
+
* This source code is licensed under the MIT license found in the
|
|
53
|
+
* LICENSE file in the root directory of this source tree.
|
|
54
|
+
*/var lE;function _O(){if(lE)return Ha;lE=1;var a=rd();function u(T){var E="https://react.dev/errors/"+T;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var O=2;O<arguments.length;O++)E+="&args[]="+encodeURIComponent(arguments[O])}return"Minified React error #"+T+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var s={d:{f:c,r:function(){throw Error(u(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},h=Symbol.for("react.portal");function y(T,E,O){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:R==null?null:""+R,children:T,containerInfo:E,implementation:O}}var v=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function b(T,E){if(T==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return Ha.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Ha.createPortal=function(T,E){var O=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(u(299));return y(T,E,null,O)},Ha.flushSync=function(T){var E=v.T,O=s.p;try{if(v.T=null,s.p=2,T)return T()}finally{v.T=E,s.p=O,s.d.f()}},Ha.preconnect=function(T,E){typeof T=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,s.d.C(T,E))},Ha.prefetchDNS=function(T){typeof T=="string"&&s.d.D(T)},Ha.preinit=function(T,E){if(typeof T=="string"&&E&&typeof E.as=="string"){var O=E.as,R=b(O,E.crossOrigin),z=typeof E.integrity=="string"?E.integrity:void 0,_=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;O==="style"?s.d.S(T,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:R,integrity:z,fetchPriority:_}):O==="script"&&s.d.X(T,{crossOrigin:R,integrity:z,fetchPriority:_,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},Ha.preinitModule=function(T,E){if(typeof T=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var O=b(E.as,E.crossOrigin);s.d.M(T,{crossOrigin:O,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&s.d.M(T)},Ha.preload=function(T,E){if(typeof T=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var O=E.as,R=b(O,E.crossOrigin);s.d.L(T,O,{crossOrigin:R,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},Ha.preloadModule=function(T,E){if(typeof T=="string")if(E){var O=b(E.as,E.crossOrigin);s.d.m(T,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:O,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else s.d.m(T)},Ha.requestFormReset=function(T){s.d.r(T)},Ha.unstable_batchedUpdates=function(T,E){return T(E)},Ha.useFormState=function(T,E,O){return v.H.useFormState(T,E,O)},Ha.useFormStatus=function(){return v.H.useHostTransitionStatus()},Ha.version="19.1.0",Ha}var ja={};/**
|
|
55
|
+
* @license React
|
|
56
|
+
* react-dom.development.js
|
|
57
|
+
*
|
|
58
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
59
|
+
*
|
|
60
|
+
* This source code is licensed under the MIT license found in the
|
|
61
|
+
* LICENSE file in the root directory of this source tree.
|
|
62
|
+
*/var iE;function CO(){return iE||(iE=1,process.env.NODE_ENV!=="production"&&(function(){function a(){}function u(R){return""+R}function c(R,z,_){var Y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{u(Y);var ae=!1}catch{ae=!0}return ae&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&Y[Symbol.toStringTag]||Y.constructor.name||"Object"),u(Y)),{$$typeof:E,key:Y==null?null:""+Y,children:R,containerInfo:z,implementation:_}}function s(R,z){if(R==="font")return"";if(typeof z=="string")return z==="use-credentials"?z:""}function h(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":'something with type "'+typeof R+'"'}function y(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":typeof R=="string"?JSON.stringify(R):typeof R=="number"?"`"+R+"`":'something with type "'+typeof R+'"'}function v(){var R=O.H;return R===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
63
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
64
|
+
2. You might be breaking the Rules of Hooks
|
|
65
|
+
3. You might have more than one copy of React in the same app
|
|
66
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),R}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var b=rd(),T={d:{f:a,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},E=Symbol.for("react.portal"),O=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ja.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,ja.createPortal=function(R,z){var _=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)throw Error("Target container is not a DOM element.");return c(R,z,null,_)},ja.flushSync=function(R){var z=O.T,_=T.p;try{if(O.T=null,T.p=2,R)return R()}finally{O.T=z,T.p=_,T.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ja.preconnect=function(R,z){typeof R=="string"&&R?z!=null&&typeof z!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",y(z)):z!=null&&typeof z.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",h(z.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(R)),typeof R=="string"&&(z?(z=z.crossOrigin,z=typeof z=="string"?z==="use-credentials"?z:"":void 0):z=null,T.d.C(R,z))},ja.prefetchDNS=function(R){if(typeof R!="string"||!R)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(R));else if(1<arguments.length){var z=arguments[1];typeof z=="object"&&z.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",y(z)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",y(z))}typeof R=="string"&&T.d.D(R)},ja.preinit=function(R,z){if(typeof R=="string"&&R?z==null||typeof z!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",y(z)):z.as!=="style"&&z.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',y(z.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(R)),typeof R=="string"&&z&&typeof z.as=="string"){var _=z.as,Y=s(_,z.crossOrigin),ae=typeof z.integrity=="string"?z.integrity:void 0,G=typeof z.fetchPriority=="string"?z.fetchPriority:void 0;_==="style"?T.d.S(R,typeof z.precedence=="string"?z.precedence:void 0,{crossOrigin:Y,integrity:ae,fetchPriority:G}):_==="script"&&T.d.X(R,{crossOrigin:Y,integrity:ae,fetchPriority:G,nonce:typeof z.nonce=="string"?z.nonce:void 0})}},ja.preinitModule=function(R,z){var _="";if(typeof R=="string"&&R||(_+=" The `href` argument encountered was "+h(R)+"."),z!==void 0&&typeof z!="object"?_+=" The `options` argument encountered was "+h(z)+".":z&&"as"in z&&z.as!=="script"&&(_+=" The `as` option encountered was "+y(z.as)+"."),_)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",_);else switch(_=z&&typeof z.as=="string"?z.as:"script",_){case"script":break;default:_=y(_),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',_,R)}typeof R=="string"&&(typeof z=="object"&&z!==null?(z.as==null||z.as==="script")&&(_=s(z.as,z.crossOrigin),T.d.M(R,{crossOrigin:_,integrity:typeof z.integrity=="string"?z.integrity:void 0,nonce:typeof z.nonce=="string"?z.nonce:void 0})):z==null&&T.d.M(R))},ja.preload=function(R,z){var _="";if(typeof R=="string"&&R||(_+=" The `href` argument encountered was "+h(R)+"."),z==null||typeof z!="object"?_+=" The `options` argument encountered was "+h(z)+".":typeof z.as=="string"&&z.as||(_+=" The `as` option encountered was "+h(z.as)+"."),_&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',_),typeof R=="string"&&typeof z=="object"&&z!==null&&typeof z.as=="string"){_=z.as;var Y=s(_,z.crossOrigin);T.d.L(R,_,{crossOrigin:Y,integrity:typeof z.integrity=="string"?z.integrity:void 0,nonce:typeof z.nonce=="string"?z.nonce:void 0,type:typeof z.type=="string"?z.type:void 0,fetchPriority:typeof z.fetchPriority=="string"?z.fetchPriority:void 0,referrerPolicy:typeof z.referrerPolicy=="string"?z.referrerPolicy:void 0,imageSrcSet:typeof z.imageSrcSet=="string"?z.imageSrcSet:void 0,imageSizes:typeof z.imageSizes=="string"?z.imageSizes:void 0,media:typeof z.media=="string"?z.media:void 0})}},ja.preloadModule=function(R,z){var _="";typeof R=="string"&&R||(_+=" The `href` argument encountered was "+h(R)+"."),z!==void 0&&typeof z!="object"?_+=" The `options` argument encountered was "+h(z)+".":z&&"as"in z&&typeof z.as!="string"&&(_+=" The `as` option encountered was "+h(z.as)+"."),_&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',_),typeof R=="string"&&(z?(_=s(z.as,z.crossOrigin),T.d.m(R,{as:typeof z.as=="string"&&z.as!=="script"?z.as:void 0,crossOrigin:_,integrity:typeof z.integrity=="string"?z.integrity:void 0})):T.d.m(R))},ja.requestFormReset=function(R){T.d.r(R)},ja.unstable_batchedUpdates=function(R,z){return R(z)},ja.useFormState=function(R,z,_){return v().useFormState(R,z,_)},ja.useFormStatus=function(){return v().useHostTransitionStatus()},ja.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ja}var uE;function rE(){if(uE)return sv.exports;uE=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(u){console.error(u)}}}return process.env.NODE_ENV==="production"?(a(),sv.exports=_O()):sv.exports=CO(),sv.exports}/**
|
|
67
|
+
* @license React
|
|
68
|
+
* react-dom-client.production.js
|
|
69
|
+
*
|
|
70
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the MIT license found in the
|
|
73
|
+
* LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/var oE;function DO(){if(oE)return Vp;oE=1;var a=aE(),u=rd(),c=rE();function s(n){var i="https://react.dev/errors/"+n;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)i+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function y(n){var i=n,r=n;if(n.alternate)for(;i.return;)i=i.return;else{n=i;do i=n,(i.flags&4098)!==0&&(r=i.return),n=i.return;while(n)}return i.tag===3?r:null}function v(n){if(n.tag===13){var i=n.memoizedState;if(i===null&&(n=n.alternate,n!==null&&(i=n.memoizedState)),i!==null)return i.dehydrated}return null}function b(n){if(y(n)!==n)throw Error(s(188))}function T(n){var i=n.alternate;if(!i){if(i=y(n),i===null)throw Error(s(188));return i!==n?null:n}for(var r=n,f=i;;){var m=r.return;if(m===null)break;var g=m.alternate;if(g===null){if(f=m.return,f!==null){r=f;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===r)return b(m),n;if(g===f)return b(m),i;g=g.sibling}throw Error(s(188))}if(r.return!==f.return)r=m,f=g;else{for(var w=!1,M=m.child;M;){if(M===r){w=!0,r=m,f=g;break}if(M===f){w=!0,f=m,r=g;break}M=M.sibling}if(!w){for(M=g.child;M;){if(M===r){w=!0,r=g,f=m;break}if(M===f){w=!0,f=g,r=m;break}M=M.sibling}if(!w)throw Error(s(189))}}if(r.alternate!==f)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?n:i}function E(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n;for(n=n.child;n!==null;){if(i=E(n),i!==null)return i;n=n.sibling}return null}var O=Object.assign,R=Symbol.for("react.element"),z=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),q=Symbol.for("react.consumer"),D=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),he=Symbol.for("react.memo"),_e=Symbol.for("react.lazy"),Se=Symbol.for("react.activity"),He=Symbol.for("react.memo_cache_sentinel"),be=Symbol.iterator;function Ee(n){return n===null||typeof n!="object"?null:(n=be&&n[be]||n["@@iterator"],typeof n=="function"?n:null)}var Xe=Symbol.for("react.client.reference");function Ne(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Xe?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Y:return"Fragment";case G:return"Profiler";case ae:return"StrictMode";case te:return"Suspense";case Q:return"SuspenseList";case Se:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case _:return"Portal";case D:return(n.displayName||"Context")+".Provider";case q:return(n._context.displayName||"Context")+".Consumer";case ue:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case he:return i=n.displayName||null,i!==null?i:Ne(n.type)||"Memo";case _e:i=n._payload,n=n._init;try{return Ne(n(i))}catch{}}return null}var Te=Array.isArray,L=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},ke=[],A=-1;function $(n){return{current:n}}function ce(n){0>A||(n.current=ke[A],ke[A]=null,A--)}function U(n,i){A++,ke[A]=n.current,n.current=i}var Re=$(null),Ye=$(null),Oe=$(null),Qt=$(null);function Ve(n,i){switch(U(Oe,i),U(Ye,n),U(Re,null),i.nodeType){case 9:case 11:n=(n=i.documentElement)&&(n=n.namespaceURI)?_u(n):0;break;default:if(n=i.tagName,i=i.namespaceURI)i=_u(i),n=Gc(i,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}ce(Re),U(Re,n)}function Bt(){ce(Re),ce(Ye),ce(Oe)}function Dn(n){n.memoizedState!==null&&U(Qt,n);var i=Re.current,r=Gc(i,n.type);i!==r&&(U(Ye,n),U(Re,r))}function Oa(n){Ye.current===n&&(ce(Re),ce(Ye)),Qt.current===n&&(ce(Qt),Wa._currentValue=se)}var ru=Object.prototype.hasOwnProperty,Al=a.unstable_scheduleCallback,Qu=a.unstable_cancelCallback,Iu=a.unstable_shouldYield,pn=a.unstable_requestPaint,Mn=a.unstable_now,mi=a.unstable_getCurrentPriorityLevel,Br=a.unstable_ImmediatePriority,rt=a.unstable_UserBlockingPriority,xl=a.unstable_NormalPriority,Ju=a.unstable_LowPriority,Il=a.unstable_IdlePriority,Wo=a.log,Lr=a.unstable_setDisableYieldValue,pe=null,xe=null;function Ie(n){if(typeof Wo=="function"&&Lr(n),xe&&typeof xe.setStrictMode=="function")try{xe.setStrictMode(pe,n)}catch{}}var Ke=Math.clz32?Math.clz32:La,Dt=Math.log,la=Math.LN2;function La(n){return n>>>=0,n===0?32:31-(Dt(n)/la|0)|0}var Nn=256,Un=4194304;function mn(n){var i=n&42;if(i!==0)return i;switch(n&-n){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:case 262144:case 524288:case 1048576:case 2097152:return n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function en(n,i,r){var f=n.pendingLanes;if(f===0)return 0;var m=0,g=n.suspendedLanes,w=n.pingedLanes;n=n.warmLanes;var M=f&134217727;return M!==0?(f=M&~g,f!==0?m=mn(f):(w&=M,w!==0?m=mn(w):r||(r=M&~n,r!==0&&(m=mn(r))))):(M=f&~g,M!==0?m=mn(M):w!==0?m=mn(w):r||(r=f&~n,r!==0&&(m=mn(r)))),m===0?0:i!==0&&i!==m&&(i&g)===0&&(g=m&-m,r=i&-i,g>=r||g===32&&(r&4194048)!==0)?i:m}function C(n,i){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&i)===0}function I(n,i){switch(n){case 1:case 2:case 4:case 8:case 64:return i+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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function we(){var n=Nn;return Nn<<=1,(Nn&4194048)===0&&(Nn=256),n}function De(){var n=Un;return Un<<=1,(Un&62914560)===0&&(Un=4194304),n}function qe(n){for(var i=[],r=0;31>r;r++)i.push(n);return i}function lt(n,i){n.pendingLanes|=i,i!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function ct(n,i,r,f,m,g){var w=n.pendingLanes;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=r,n.entangledLanes&=r,n.errorRecoveryDisabledLanes&=r,n.shellSuspendCounter=0;var M=n.entanglements,j=n.expirationTimes,P=n.hiddenUpdates;for(r=w&~r;0<r;){var me=31-Ke(r),ve=1<<me;M[me]=0,j[me]=-1;var W=P[me];if(W!==null)for(P[me]=null,me=0;me<W.length;me++){var ne=W[me];ne!==null&&(ne.lane&=-536870913)}r&=~ve}f!==0&&zt(n,f,0),g!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=g&~(w&~i))}function zt(n,i,r){n.pendingLanes|=i,n.suspendedLanes&=~i;var f=31-Ke(i);n.entangledLanes|=i,n.entanglements[f]=n.entanglements[f]|1073741824|r&4194090}function ot(n,i){var r=n.entangledLanes|=i;for(n=n.entanglements;r;){var f=31-Ke(r),m=1<<f;m&i|n[f]&i&&(n[f]|=i),r&=~m}}function Hn(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Jl(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Sd(){var n=ie.p;return n!==0?n:(n=window.event,n===void 0?32:Tg(n.type))}function vm(n,i){var r=ie.p;try{return ie.p=n,i()}finally{ie.p=r}}var Zn=Math.random().toString(36).slice(2),$n="__reactFiber$"+Zn,Ra="__reactProps$"+Zn,ec="__reactContainer$"+Zn,Ed="__reactEvents$"+Zn,Uv="__reactListeners$"+Zn,Td="__reactHandles$"+Zn,Hv="__reactResources$"+Zn,Be="__reactMarker$"+Zn;function As(n){delete n[$n],delete n[Ra],delete n[Ed],delete n[Uv],delete n[Td]}function ia(n){var i=n[$n];if(i)return i;for(var r=n.parentNode;r;){if(i=r[ec]||r[$n]){if(r=i.alternate,i.child!==null||r!==null&&r.child!==null)for(n=da(n);n!==null;){if(r=n[$n])return r;n=da(n)}return i}n=r,r=n.parentNode}return null}function Zr(n){if(n=n[$n]||n[ec]){var i=n.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return n}return null}function xs(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n.stateNode;throw Error(s(33))}function ou(n){var i=n[Hv];return i||(i=n[Hv]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function qn(n){n[Be]=!0}var Os=new Set,ll={};function $u(n,i){Ku(n,i),Ku(n+"Capture",i)}function Ku(n,i){for(ll[n]=i,n=0;n<i.length;n++)Os.add(i[n])}var jv=RegExp("^[: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][: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]*$"),Ad={},bm={};function Bv(n){return ru.call(bm,n)?!0:ru.call(Ad,n)?!1:jv.test(n)?bm[n]=!0:(Ad[n]=!0,!1)}function cu(n,i,r){if(Bv(i))if(r===null)n.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":n.removeAttribute(i);return;case"boolean":var f=i.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){n.removeAttribute(i);return}}n.setAttribute(i,""+r)}}function Rs(n,i,r){if(r===null)n.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttribute(i,""+r)}}function yi(n,i,r,f){if(f===null)n.removeAttribute(r);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttributeNS(i,r,""+f)}}var xd,Sm;function qr(n){if(xd===void 0)try{throw Error()}catch(r){var i=r.stack.trim().match(/\n( *(at )?)/);xd=i&&i[1]||"",Sm=-1<r.stack.indexOf(`
|
|
75
|
+
at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
76
|
+
`+xd+n+Sm}var wa=!1;function Pu(n,i){if(!n||wa)return"";wa=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(i){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(ne){var W=ne}Reflect.construct(n,[],ve)}else{try{ve.call()}catch(ne){W=ne}n.call(ve.prototype)}}else{try{throw Error()}catch(ne){W=ne}(ve=n())&&typeof ve.catch=="function"&&ve.catch(function(){})}}catch(ne){if(ne&&W&&typeof ne.stack=="string")return[ne.stack,W.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=f.DetermineComponentFrameRoot(),w=g[0],M=g[1];if(w&&M){var j=w.split(`
|
|
77
|
+
`),P=M.split(`
|
|
78
|
+
`);for(m=f=0;f<j.length&&!j[f].includes("DetermineComponentFrameRoot");)f++;for(;m<P.length&&!P[m].includes("DetermineComponentFrameRoot");)m++;if(f===j.length||m===P.length)for(f=j.length-1,m=P.length-1;1<=f&&0<=m&&j[f]!==P[m];)m--;for(;1<=f&&0<=m;f--,m--)if(j[f]!==P[m]){if(f!==1||m!==1)do if(f--,m--,0>m||j[f]!==P[m]){var me=`
|
|
79
|
+
`+j[f].replace(" at new "," at ");return n.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",n.displayName)),me}while(1<=f&&0<=m);break}}}finally{wa=!1,Error.prepareStackTrace=r}return(r=n?n.displayName||n.name:"")?qr(r):""}function Yr(n){switch(n.tag){case 26:case 27:case 5:return qr(n.type);case 16:return qr("Lazy");case 13:return qr("Suspense");case 19:return qr("SuspenseList");case 0:case 15:return Pu(n.type,!1);case 11:return Pu(n.type.render,!1);case 1:return Pu(n.type,!0);case 31:return qr("Activity");default:return""}}function Em(n){try{var i="";do i+=Yr(n),n=n.return;while(n);return i}catch(r){return`
|
|
80
|
+
Error generating stack: `+r.message+`
|
|
81
|
+
`+r.stack}}function ga(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function ws(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Tm(n){var i=ws(n)?"checked":"value",r=Object.getOwnPropertyDescriptor(n.constructor.prototype,i),f=""+n[i];if(!n.hasOwnProperty(i)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var m=r.get,g=r.set;return Object.defineProperty(n,i,{configurable:!0,get:function(){return m.call(this)},set:function(w){f=""+w,g.call(this,w)}}),Object.defineProperty(n,i,{enumerable:r.enumerable}),{getValue:function(){return f},setValue:function(w){f=""+w},stopTracking:function(){n._valueTracker=null,delete n[i]}}}}function Fu(n){n._valueTracker||(n._valueTracker=Tm(n))}function Vr(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var r=i.getValue(),f="";return n&&(f=ws(n)?n.checked?"true":"false":n.value),n=f,n!==r?(i.setValue(n),!0):!1}function tc(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var N1=/[\n"\\]/g;function Ol(n){return n.replace(N1,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Od(n,i,r,f,m,g,w,M){n.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?n.type=w:n.removeAttribute("type"),i!=null?w==="number"?(i===0&&n.value===""||n.value!=i)&&(n.value=""+ga(i)):n.value!==""+ga(i)&&(n.value=""+ga(i)):w!=="submit"&&w!=="reset"||n.removeAttribute("value"),i!=null?zs(n,w,ga(i)):r!=null?zs(n,w,ga(r)):f!=null&&n.removeAttribute("value"),m==null&&g!=null&&(n.defaultChecked=!!g),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?n.name=""+ga(M):n.removeAttribute("name")}function Rd(n,i,r,f,m,g,w,M){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),i!=null||r!=null){if(!(g!=="submit"&&g!=="reset"||i!=null))return;r=r!=null?""+ga(r):"",i=i!=null?""+ga(i):r,M||i===n.value||(n.value=i),n.defaultValue=i}f=f??m,f=typeof f!="function"&&typeof f!="symbol"&&!!f,n.checked=M?n.checked:!!f,n.defaultChecked=!!f,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(n.name=w)}function zs(n,i,r){i==="number"&&tc(n.ownerDocument)===n||n.defaultValue===""+r||(n.defaultValue=""+r)}function Gr(n,i,r,f){if(n=n.options,i){i={};for(var m=0;m<r.length;m++)i["$"+r[m]]=!0;for(r=0;r<n.length;r++)m=i.hasOwnProperty("$"+n[r].value),n[r].selected!==m&&(n[r].selected=m),m&&f&&(n[r].defaultSelected=!0)}else{for(r=""+ga(r),i=null,m=0;m<n.length;m++){if(n[m].value===r){n[m].selected=!0,f&&(n[m].defaultSelected=!0);return}i!==null||n[m].disabled||(i=n[m])}i!==null&&(i.selected=!0)}}function Am(n,i,r){if(i!=null&&(i=""+ga(i),i!==n.value&&(n.value=i),r==null)){n.defaultValue!==i&&(n.defaultValue=i);return}n.defaultValue=r!=null?""+ga(r):""}function xm(n,i,r,f){if(i==null){if(f!=null){if(r!=null)throw Error(s(92));if(Te(f)){if(1<f.length)throw Error(s(93));f=f[0]}r=f}r==null&&(r=""),i=r}r=ga(i),n.defaultValue=r,f=n.textContent,f===r&&f!==""&&f!==null&&(n.value=f)}function nc(n,i){if(i){var r=n.firstChild;if(r&&r===n.lastChild&&r.nodeType===3){r.nodeValue=i;return}}n.textContent=i}var Lv=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 wd(n,i,r){var f=i.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?f?n.setProperty(i,""):i==="float"?n.cssFloat="":n[i]="":f?n.setProperty(i,r):typeof r!="number"||r===0||Lv.has(i)?i==="float"?n.cssFloat=r:n[i]=(""+r).trim():n[i]=r+"px"}function _s(n,i,r){if(i!=null&&typeof i!="object")throw Error(s(62));if(n=n.style,r!=null){for(var f in r)!r.hasOwnProperty(f)||i!=null&&i.hasOwnProperty(f)||(f.indexOf("--")===0?n.setProperty(f,""):f==="float"?n.cssFloat="":n[f]="");for(var m in i)f=i[m],i.hasOwnProperty(m)&&r[m]!==f&&wd(n,m,f)}else for(var g in i)i.hasOwnProperty(g)&&wd(n,g,i[g])}function Xr(n){if(n.indexOf("-")===-1)return!1;switch(n){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 k1=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-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"]]),Zv=/^[\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 Cs(n){return Zv.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}var Qr=null;function zd(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var ac=null,lc=null;function qv(n){var i=Zr(n);if(i&&(n=i.stateNode)){var r=n[Ra]||null;e:switch(n=i.stateNode,i.type){case"input":if(Od(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),i=r.name,r.type==="radio"&&i!=null){for(r=n;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Ol(""+i)+'"][type="radio"]'),i=0;i<r.length;i++){var f=r[i];if(f!==n&&f.form===n.form){var m=f[Ra]||null;if(!m)throw Error(s(90));Od(f,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(i=0;i<r.length;i++)f=r[i],f.form===n.form&&Vr(f)}break e;case"textarea":Am(n,r.value,r.defaultValue);break e;case"select":i=r.value,i!=null&&Gr(n,!!r.multiple,i,!1)}}}var Om=!1;function ic(n,i,r){if(Om)return n(i,r);Om=!0;try{var f=n(i);return f}finally{if(Om=!1,(ac!==null||lc!==null)&&(Oo(),ac&&(i=ac,n=lc,lc=ac=null,qv(i),n)))for(i=0;i<n.length;i++)qv(n[i])}}function Ir(n,i){var r=n.stateNode;if(r===null)return null;var f=r[Ra]||null;if(f===null)return null;r=f[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break e;default:n=!1}if(n)return null;if(r&&typeof r!="function")throw Error(s(231,i,typeof r));return r}var gi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_d=!1;if(gi)try{var su={};Object.defineProperty(su,"passive",{get:function(){_d=!0}}),window.addEventListener("test",su,su),window.removeEventListener("test",su,su)}catch{_d=!1}var fu=null,uc=null,Jr=null;function Rm(){if(Jr)return Jr;var n,i=uc,r=i.length,f,m="value"in fu?fu.value:fu.textContent,g=m.length;for(n=0;n<r&&i[n]===m[n];n++);var w=r-n;for(f=1;f<=w&&i[r-f]===m[g-f];f++);return Jr=m.slice(n,1<f?1-f:void 0)}function ua(n){var i=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),32<=n||n===13?n:0}function Cd(){return!0}function Dd(){return!1}function za(n){function i(r,f,m,g,w){this._reactName=r,this._targetInst=m,this.type=f,this.nativeEvent=g,this.target=w,this.currentTarget=null;for(var M in n)n.hasOwnProperty(M)&&(r=n[M],this[M]=r?r(g):g[M]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Cd:Dd,this.isPropagationStopped=Dd,this}return O(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Cd)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Cd)},persist:function(){},isPersistent:Cd}),i}var Wu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Md=za(Wu),Ds=O({},Wu,{view:0,detail:0}),Yv=za(Ds),wm,Nd,Ms,$r=O({},Ds,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:du,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Ms&&(Ms&&n.type==="mousemove"?(wm=n.screenX-Ms.screenX,Nd=n.screenY-Ms.screenY):Nd=wm=0,Ms=n),wm)},movementY:function(n){return"movementY"in n?n.movementY:Nd}}),zm=za($r),Vv=O({},$r,{dataTransfer:0}),Gv=za(Vv),U1=O({},Ds,{relatedTarget:0}),_m=za(U1),H1=O({},Wu,{animationName:0,elapsedTime:0,pseudoElement:0}),j1=za(H1),B1=O({},Wu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Ns=za(B1),Xv=O({},Wu,{data:0}),Cm=za(Xv),Qv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Iv={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"},Dm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jv(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=Dm[n])?!!i[n]:!1}function du(){return Jv}var Kr=O({},Ds,{key:function(n){if(n.key){var i=Qv[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=ua(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Iv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:du,charCode:function(n){return n.type==="keypress"?ua(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ua(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),$l=za(Kr),il=O({},$r,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ks=za(il),kd=O({},Ds,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:du}),Mm=za(kd),Za=O({},Wu,{propertyName:0,elapsedTime:0,pseudoElement:0}),$v=za(Za),Ud=O({},$r,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Pr=za(Ud),Nm=O({},Wu,{newState:0,oldState:0}),Kv=za(Nm),Pv=[9,13,27,32],Us=gi&&"CompositionEvent"in window,Hs=null;gi&&"documentMode"in document&&(Hs=document.documentMode);var km=gi&&"TextEvent"in window&&!Hs,vi=gi&&(!Us||Hs&&8<Hs&&11>=Hs),Um=" ",Hd=!1;function js(n,i){switch(n){case"keyup":return Pv.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function er(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var tr=!1;function Hm(n,i){switch(n){case"compositionend":return er(i);case"keypress":return i.which!==32?null:(Hd=!0,Um);case"textInput":return n=i.data,n===Um&&Hd?null:n;default:return null}}function Fr(n,i){if(tr)return n==="compositionend"||!Us&&js(n,i)?(n=Rm(),Jr=uc=fu=null,tr=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return vi&&i.locale!=="ko"?null:i.data;default:return null}}var Fv={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 jd(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!Fv[n.type]:i==="textarea"}function Bd(n,i,r,f){ac?lc?lc.push(f):lc=[f]:ac=f,i=Vc(i,"onChange"),0<i.length&&(r=new Md("onChange","change",null,r,f),n.push({event:r,listeners:i}))}var Kl=null,Pl=null;function jm(n){_o(n,0)}function bi(n){var i=xs(n);if(Vr(i))return n}function Bm(n,i){if(n==="change")return i}var Lm=!1;if(gi){var Wr;if(gi){var eo="oninput"in document;if(!eo){var Zm=document.createElement("div");Zm.setAttribute("oninput","return;"),eo=typeof Zm.oninput=="function"}Wr=eo}else Wr=!1;Lm=Wr&&(!document.documentMode||9<document.documentMode)}function rc(){Kl&&(Kl.detachEvent("onpropertychange",qm),Pl=Kl=null)}function qm(n){if(n.propertyName==="value"&&bi(Pl)){var i=[];Bd(i,Pl,n,zd(n)),ic(jm,i)}}function Ld(n,i,r){n==="focusin"?(rc(),Kl=i,Pl=r,Kl.attachEvent("onpropertychange",qm)):n==="focusout"&&rc()}function nr(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return bi(Pl)}function hu(n,i){if(n==="click")return bi(i)}function Ym(n,i){if(n==="input"||n==="change")return bi(i)}function Vm(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var ra=typeof Object.is=="function"?Object.is:Vm;function ar(n,i){if(ra(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;var r=Object.keys(n),f=Object.keys(i);if(r.length!==f.length)return!1;for(f=0;f<r.length;f++){var m=r[f];if(!ru.call(i,m)||!ra(n[m],i[m]))return!1}return!0}function lr(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function tn(n,i){var r=lr(n);n=0;for(var f;r;){if(r.nodeType===3){if(f=n+r.textContent.length,n<=i&&f>=i)return{node:r,offset:i-n};n=f}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function Bs(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?Bs(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}function Gm(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var i=tc(n.document);i instanceof n.HTMLIFrameElement;){try{var r=typeof i.contentWindow.location.href=="string"}catch{r=!1}if(r)n=i.contentWindow;else break;i=tc(n.document)}return i}function Ls(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i&&(i==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||i==="textarea"||n.contentEditable==="true")}var to=gi&&"documentMode"in document&&11>=document.documentMode,Si=null,Fl=null,ir=null,no=!1;function Zd(n,i,r){var f=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;no||Si==null||Si!==tc(f)||(f=Si,"selectionStart"in f&&Ls(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),ir&&ar(ir,f)||(ir=f,f=Vc(Fl,"onSelect"),0<f.length&&(i=new Md("onSelect","select",null,i,r),n.push({event:i,listeners:f}),i.target=Si)))}function pu(n,i){var r={};return r[n.toLowerCase()]=i.toLowerCase(),r["Webkit"+n]="webkit"+i,r["Moz"+n]="moz"+i,r}var ao={animationend:pu("Animation","AnimationEnd"),animationiteration:pu("Animation","AnimationIteration"),animationstart:pu("Animation","AnimationStart"),transitionrun:pu("Transition","TransitionRun"),transitionstart:pu("Transition","TransitionStart"),transitioncancel:pu("Transition","TransitionCancel"),transitionend:pu("Transition","TransitionEnd")},Rl={},Wl={};gi&&(Wl=document.createElement("div").style,"AnimationEvent"in window||(delete ao.animationend.animation,delete ao.animationiteration.animation,delete ao.animationstart.animation),"TransitionEvent"in window||delete ao.transitionend.transition);function Ei(n){if(Rl[n])return Rl[n];if(!ao[n])return n;var i=ao[n],r;for(r in i)if(i.hasOwnProperty(r)&&r in Wl)return Rl[n]=i[r];return n}var Wv=Ei("animationend"),Xm=Ei("animationiteration"),e0=Ei("animationstart"),Qm=Ei("transitionrun"),qd=Ei("transitionstart"),t0=Ei("transitioncancel"),Im=Ei("transitionend"),Jm=new Map,oc="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(" ");oc.push("scrollEnd");function wl(n,i){Jm.set(n,i),$u(i,[n])}var $m=new WeakMap;function ul(n,i){if(typeof n=="object"&&n!==null){var r=$m.get(n);return r!==void 0?r:(i={value:n,source:i,stack:Em(i)},$m.set(n,i),i)}return{value:n,source:i,stack:Em(i)}}var qa=[],ur=0,Ti=0;function ei(){for(var n=ur,i=Ti=ur=0;i<n;){var r=qa[i];qa[i++]=null;var f=qa[i];qa[i++]=null;var m=qa[i];qa[i++]=null;var g=qa[i];if(qa[i++]=null,f!==null&&m!==null){var w=f.pending;w===null?m.next=m:(m.next=w.next,w.next=m),f.pending=m}g!==0&&sc(r,m,g)}}function rr(n,i,r,f){qa[ur++]=n,qa[ur++]=i,qa[ur++]=r,qa[ur++]=f,Ti|=f,n.lanes|=f,n=n.alternate,n!==null&&(n.lanes|=f)}function cc(n,i,r,f){return rr(n,i,r,f),Zs(n)}function Ai(n,i){return rr(n,null,null,i),Zs(n)}function sc(n,i,r){n.lanes|=r;var f=n.alternate;f!==null&&(f.lanes|=r);for(var m=!1,g=n.return;g!==null;)g.childLanes|=r,f=g.alternate,f!==null&&(f.childLanes|=r),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(m=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,m&&i!==null&&(m=31-Ke(r),n=g.hiddenUpdates,f=n[m],f===null?n[m]=[i]:f.push(i),i.lane=r|536870912),g):null}function Zs(n){if(50<jc)throw jc=0,$y=null,Error(s(185));for(var i=n.return;i!==null;)n=i,i=n.return;return n.tag===3?n.stateNode:null}var fc={};function n0(n,i,r,f){this.tag=n,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ya(n,i,r,f){return new n0(n,i,r,f)}function qs(n){return n=n.prototype,!(!n||!n.isReactComponent)}function ti(n,i){var r=n.alternate;return r===null?(r=Ya(n.tag,i,n.key,n.mode),r.elementType=n.elementType,r.type=n.type,r.stateNode=n.stateNode,r.alternate=n,n.alternate=r):(r.pendingProps=i,r.type=n.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=n.flags&65011712,r.childLanes=n.childLanes,r.lanes=n.lanes,r.child=n.child,r.memoizedProps=n.memoizedProps,r.memoizedState=n.memoizedState,r.updateQueue=n.updateQueue,i=n.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},r.sibling=n.sibling,r.index=n.index,r.ref=n.ref,r.refCleanup=n.refCleanup,r}function bt(n,i){n.flags&=65011714;var r=n.alternate;return r===null?(n.childLanes=0,n.lanes=i,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=r.childLanes,n.lanes=r.lanes,n.child=r.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=r.memoizedProps,n.memoizedState=r.memoizedState,n.updateQueue=r.updateQueue,n.type=r.type,i=r.dependencies,n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),n}function Ae(n,i,r,f,m,g){var w=0;if(f=n,typeof n=="function")qs(n)&&(w=1);else if(typeof n=="string")w=H0(n,r,Re.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case Se:return n=Ya(31,r,i,m),n.elementType=Se,n.lanes=g,n;case Y:return zl(r.children,m,g,i);case ae:w=8,m|=24;break;case G:return n=Ya(12,r,i,m|2),n.elementType=G,n.lanes=g,n;case te:return n=Ya(13,r,i,m),n.elementType=te,n.lanes=g,n;case Q:return n=Ya(19,r,i,m),n.elementType=Q,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case k:case D:w=10;break e;case q:w=9;break e;case ue:w=11;break e;case he:w=14;break e;case _e:w=16,f=null;break e}w=29,r=Error(s(130,n===null?"null":typeof n,"")),f=null}return i=Ya(w,r,i,m),i.elementType=n,i.type=f,i.lanes=g,i}function zl(n,i,r,f){return n=Ya(7,n,f,i),n.lanes=r,n}function dc(n,i,r){return n=Ya(6,n,null,i),n.lanes=r,n}function yn(n,i,r){return i=Ya(4,n.children!==null?n.children:[],n.key,i),i.lanes=r,i.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},i}var or=[],cr=0,Ys=null,hc=0,_l=[],Va=0,mu=null,ni=1,En="";function _t(n,i){or[cr++]=hc,or[cr++]=Ys,Ys=n,hc=i}function Yd(n,i,r){_l[Va++]=ni,_l[Va++]=En,_l[Va++]=mu,mu=n;var f=ni;n=En;var m=32-Ke(f)-1;f&=~(1<<m),r+=1;var g=32-Ke(i)+m;if(30<g){var w=m-m%5;g=(f&(1<<w)-1).toString(32),f>>=w,m-=w,ni=1<<32-Ke(i)+m|r<<m|f,En=g+n}else ni=1<<g|r<<m|f,En=n}function lo(n){n.return!==null&&(_t(n,1),Yd(n,1,0))}function xi(n){for(;n===Ys;)Ys=or[--cr],or[cr]=null,hc=or[--cr],or[cr]=null;for(;n===mu;)mu=_l[--Va],_l[Va]=null,En=_l[--Va],_l[Va]=null,ni=_l[--Va],_l[Va]=null}var kn=null,kt=null,Nt=!1,Cl=null,Dl=!1,io=Error(s(519));function yu(n){var i=Error(s(418,""));throw yc(ul(i,n)),io}function Vs(n){var i=n.stateNode,r=n.type,f=n.memoizedProps;switch(i[$n]=n,i[Ra]=f,r){case"dialog":ft("cancel",i),ft("close",i);break;case"iframe":case"object":case"embed":ft("load",i);break;case"video":case"audio":for(r=0;r<_f.length;r++)ft(_f[r],i);break;case"source":ft("error",i);break;case"img":case"image":case"link":ft("error",i),ft("load",i);break;case"details":ft("toggle",i);break;case"input":ft("invalid",i),Rd(i,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0),Fu(i);break;case"select":ft("invalid",i);break;case"textarea":ft("invalid",i),xm(i,f.value,f.defaultValue,f.children),Fu(i)}r=f.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||i.textContent===""+r||f.suppressHydrationWarning===!0||cg(i.textContent,r)?(f.popover!=null&&(ft("beforetoggle",i),ft("toggle",i)),f.onScroll!=null&&ft("scroll",i),f.onScrollEnd!=null&&ft("scrollend",i),f.onClick!=null&&(i.onclick=Fh),i=!0):i=!1,i||yu(n)}function Km(n){for(kn=n.return;kn;)switch(kn.tag){case 5:case 13:Dl=!1;return;case 27:case 3:Dl=!0;return;default:kn=kn.return}}function pc(n){if(n!==kn)return!1;if(!Nt)return Km(n),Nt=!0,!1;var i=n.tag,r;if((r=i!==3&&i!==27)&&((r=i===5)&&(r=n.type,r=!(r!=="form"&&r!=="button")||Gi(n.type,n.memoizedProps)),r=!r),r&&kt&&yu(n),Km(n),i===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));e:{for(n=n.nextSibling,i=0;n;){if(n.nodeType===8)if(r=n.data,r==="/$"){if(i===0){kt=oi(n.nextSibling);break e}i--}else r!=="$"&&r!=="$!"&&r!=="$?"||i++;n=n.nextSibling}kt=null}}else i===27?(i=kt,wr(n.type)?(n=zr,zr=null,kt=n):kt=i):kt=kn?oi(n.stateNode.nextSibling):null;return!0}function mc(){kt=kn=null,Nt=!1}function Pm(){var n=Cl;return n!==null&&($a===null?$a=n:$a.push.apply($a,n),Cl=null),n}function yc(n){Cl===null?Cl=[n]:Cl.push(n)}var Gs=$(null),gu=null,ai=null;function vu(n,i,r){U(Gs,i._currentValue),i._currentValue=r}function Oi(n){n._currentValue=Gs.current,ce(Gs)}function Vd(n,i,r){for(;n!==null;){var f=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),n===r)break;n=n.return}}function Fm(n,i,r,f){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var g=m.dependencies;if(g!==null){var w=m.child;g=g.firstContext;e:for(;g!==null;){var M=g;g=m;for(var j=0;j<i.length;j++)if(M.context===i[j]){g.lanes|=r,M=g.alternate,M!==null&&(M.lanes|=r),Vd(g.return,r,n),f||(w=null);break e}g=M.next}}else if(m.tag===18){if(w=m.return,w===null)throw Error(s(341));w.lanes|=r,g=w.alternate,g!==null&&(g.lanes|=r),Vd(w,r,n),w=null}else w=m.child;if(w!==null)w.return=m;else for(w=m;w!==null;){if(w===n){w=null;break}if(m=w.sibling,m!==null){m.return=w.return,w=m;break}w=w.return}m=w}}function gc(n,i,r,f){n=null;for(var m=i,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var w=m.alternate;if(w===null)throw Error(s(387));if(w=w.memoizedProps,w!==null){var M=m.type;ra(m.pendingProps.value,w.value)||(n!==null?n.push(M):n=[M])}}else if(m===Qt.current){if(w=m.alternate,w===null)throw Error(s(387));w.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(Wa):n=[Wa])}m=m.return}n!==null&&Fm(i,n,r,f),i.flags|=262144}function Xs(n){for(n=n.firstContext;n!==null;){if(!ra(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function sr(n){gu=n,ai=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Kn(n){return Wm(gu,n)}function Qs(n,i){return gu===null&&sr(n),Wm(n,i)}function Wm(n,i){var r=i._currentValue;if(i={context:i,memoizedValue:r,next:null},ai===null){if(n===null)throw Error(s(308));ai=i,n.dependencies={lanes:0,firstContext:i},n.flags|=524288}else ai=ai.next=i;return r}var vc=typeof AbortController<"u"?AbortController:function(){var n=[],i=this.signal={aborted:!1,addEventListener:function(r,f){n.push(f)}};this.abort=function(){i.aborted=!0,n.forEach(function(r){return r()})}},Gd=a.unstable_scheduleCallback,a0=a.unstable_NormalPriority,Yn={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bc(){return{controller:new vc,data:new Map,refCount:0}}function Ri(n){n.refCount--,n.refCount===0&&Gd(a0,function(){n.controller.abort()})}var fr=null,Is=0,Ml=0,Vn=null;function Xd(n,i){if(fr===null){var r=fr=[];Is=0,Ml=zo(),Vn={status:"pending",value:void 0,then:function(f){r.push(f)}}}return Is++,i.then(Qd,Qd),i}function Qd(){if(--Is===0&&fr!==null){Vn!==null&&(Vn.status="fulfilled");var n=fr;fr=null,Ml=0,Vn=null;for(var i=0;i<n.length;i++)(0,n[i])()}}function l0(n,i){var r=[],f={status:"pending",value:null,reason:null,then:function(m){r.push(m)}};return n.then(function(){f.status="fulfilled",f.value=i;for(var m=0;m<r.length;m++)(0,r[m])(i)},function(m){for(f.status="rejected",f.reason=m,m=0;m<r.length;m++)(0,r[m])(void 0)}),f}var Id=L.S;L.S=function(n,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&Xd(n,i),Id!==null&&Id(n,i)};var wi=$(null);function Js(){var n=wi.current;return n!==null?n:Pt.pooledCache}function uo(n,i){i===null?U(wi,wi.current):U(wi,i.pool)}function Jd(){var n=Js();return n===null?null:{parent:Yn._currentValue,pool:n}}var dr=Error(s(460)),$d=Error(s(474)),$s=Error(s(542)),Kd={then:function(){}};function Pd(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Ks(){}function ey(n,i,r){switch(r=n[r],r===void 0?n.push(i):r!==i&&(i.then(Ks,Ks),i=r),i.status){case"fulfilled":return i.value;case"rejected":throw n=i.reason,ny(n),n;default:if(typeof i.status=="string")i.then(Ks,Ks);else{if(n=Pt,n!==null&&100<n.shellSuspendCounter)throw Error(s(482));n=i,n.status="pending",n.then(function(f){if(i.status==="pending"){var m=i;m.status="fulfilled",m.value=f}},function(f){if(i.status==="pending"){var m=i;m.status="rejected",m.reason=f}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw n=i.reason,ny(n),n}throw ro=i,dr}}var ro=null;function ty(){if(ro===null)throw Error(s(459));var n=ro;return ro=null,n}function ny(n){if(n===dr||n===$s)throw Error(s(483))}var zi=!1;function Fd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wd(n,i){n=n.updateQueue,i.updateQueue===n&&(i.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ga(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function _i(n,i,r){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,(Zt&2)!==0){var m=f.pending;return m===null?i.next=i:(i.next=m.next,m.next=i),f.pending=i,i=Zs(n),sc(n,null,r),i}return rr(n,f,i,r),Zs(n)}function oo(n,i,r){if(i=i.updateQueue,i!==null&&(i=i.shared,(r&4194048)!==0)){var f=i.lanes;f&=n.pendingLanes,r|=f,i.lanes=r,ot(n,r)}}function ay(n,i){var r=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,r===f)){var m=null,g=null;if(r=r.firstBaseUpdate,r!==null){do{var w={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};g===null?m=g=w:g=g.next=w,r=r.next}while(r!==null);g===null?m=g=i:g=g.next=i}else m=g=i;r={baseState:f.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:f.shared,callbacks:f.callbacks},n.updateQueue=r;return}n=r.lastBaseUpdate,n===null?r.firstBaseUpdate=i:n.next=i,r.lastBaseUpdate=i}var ly=!1;function Sc(){if(ly){var n=Vn;if(n!==null)throw n}}function bu(n,i,r,f){ly=!1;var m=n.updateQueue;zi=!1;var g=m.firstBaseUpdate,w=m.lastBaseUpdate,M=m.shared.pending;if(M!==null){m.shared.pending=null;var j=M,P=j.next;j.next=null,w===null?g=P:w.next=P,w=j;var me=n.alternate;me!==null&&(me=me.updateQueue,M=me.lastBaseUpdate,M!==w&&(M===null?me.firstBaseUpdate=P:M.next=P,me.lastBaseUpdate=j))}if(g!==null){var ve=m.baseState;w=0,me=P=j=null,M=g;do{var W=M.lane&-536870913,ne=W!==M.lane;if(ne?(xt&W)===W:(f&W)===W){W!==0&&W===Ml&&(ly=!0),me!==null&&(me=me.next={lane:0,tag:M.tag,payload:M.payload,callback:null,next:null});e:{var Je=n,$e=M;W=i;var Ht=r;switch($e.tag){case 1:if(Je=$e.payload,typeof Je=="function"){ve=Je.call(Ht,ve,W);break e}ve=Je;break e;case 3:Je.flags=Je.flags&-65537|128;case 0:if(Je=$e.payload,W=typeof Je=="function"?Je.call(Ht,ve,W):Je,W==null)break e;ve=O({},ve,W);break e;case 2:zi=!0}}W=M.callback,W!==null&&(n.flags|=64,ne&&(n.flags|=8192),ne=m.callbacks,ne===null?m.callbacks=[W]:ne.push(W))}else ne={lane:W,tag:M.tag,payload:M.payload,callback:M.callback,next:null},me===null?(P=me=ne,j=ve):me=me.next=ne,w|=W;if(M=M.next,M===null){if(M=m.shared.pending,M===null)break;ne=M,M=ne.next,ne.next=null,m.lastBaseUpdate=ne,m.shared.pending=null}}while(!0);me===null&&(j=ve),m.baseState=j,m.firstBaseUpdate=P,m.lastBaseUpdate=me,g===null&&(m.shared.lanes=0),Ru|=w,n.lanes=w,n.memoizedState=ve}}function eh(n,i){if(typeof n!="function")throw Error(s(191,n));n.call(i)}function Ps(n,i){var r=n.callbacks;if(r!==null)for(n.callbacks=null,n=0;n<r.length;n++)eh(r[n],i)}var co=$(null),Fs=$(0);function Pn(n,i){n=Ou,U(Fs,n),U(co,i),Ou=n|i.baseLanes}function Ec(){U(Fs,Ou),U(co,co.current)}function Tc(){Ou=Fs.current,ce(co),ce(Fs)}var Nl=0,st=null,Lt=null,gn=null,Ws=!1,rl=!1,hr=!1,li=0,ol=0,Su=null,iy=0;function vn(){throw Error(s(321))}function th(n,i){if(i===null)return!1;for(var r=0;r<i.length&&r<n.length;r++)if(!ra(n[r],i[r]))return!1;return!0}function nh(n,i,r,f,m,g){return Nl=g,st=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,L.H=n===null||n.memoizedState===null?Sy:Ey,hr=!1,g=r(f,m),hr=!1,rl&&(g=uy(i,r,f,m)),pr(n),g}function pr(n){L.H=bh;var i=Lt!==null&&Lt.next!==null;if(Nl=0,gn=Lt=st=null,Ws=!1,ol=0,Su=null,i)throw Error(s(300));n===null||Gn||(n=n.dependencies,n!==null&&Xs(n)&&(Gn=!0))}function uy(n,i,r,f){st=n;var m=0;do{if(rl&&(Su=null),ol=0,rl=!1,25<=m)throw Error(s(301));if(m+=1,gn=Lt=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}L.H=Eu,g=i(r,f)}while(rl);return g}function i0(){var n=L.H,i=n.useState()[0];return i=typeof i.then=="function"?tf(i):i,n=n.useState()[0],(Lt!==null?Lt.memoizedState:null)!==n&&(st.flags|=1024),i}function ah(){var n=li!==0;return li=0,n}function Ac(n,i,r){i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~r}function lh(n){if(Ws){for(n=n.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Ws=!1}Nl=0,gn=Lt=st=null,rl=!1,ol=li=0,Su=null}function va(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gn===null?st.memoizedState=gn=n:gn=gn.next=n,gn}function Tn(){if(Lt===null){var n=st.alternate;n=n!==null?n.memoizedState:null}else n=Lt.next;var i=gn===null?st.memoizedState:gn.next;if(i!==null)gn=i,Lt=n;else{if(n===null)throw st.alternate===null?Error(s(467)):Error(s(310));Lt=n,n={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null},gn===null?st.memoizedState=gn=n:gn=gn.next=n}return gn}function ef(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function tf(n){var i=ol;return ol+=1,Su===null&&(Su=[]),n=ey(Su,n,i),i=st,(gn===null?i.memoizedState:gn.next)===null&&(i=i.alternate,L.H=i===null||i.memoizedState===null?Sy:Ey),n}function jn(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return tf(n);if(n.$$typeof===D)return Kn(n)}throw Error(s(438,String(n)))}function ih(n){var i=null,r=st.updateQueue;if(r!==null&&(i=r.memoCache),i==null){var f=st.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(i={data:f.data.map(function(m){return m.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),r===null&&(r=ef(),st.updateQueue=r),r.memoCache=i,r=i.data[i.index],r===void 0)for(r=i.data[i.index]=Array(n),f=0;f<n;f++)r[f]=He;return i.index++,r}function Ci(n,i){return typeof i=="function"?i(n):i}function nf(n){var i=Tn();return uh(i,Lt,n)}function uh(n,i,r){var f=n.queue;if(f===null)throw Error(s(311));f.lastRenderedReducer=r;var m=n.baseQueue,g=f.pending;if(g!==null){if(m!==null){var w=m.next;m.next=g.next,g.next=w}i.baseQueue=m=g,f.pending=null}if(g=n.baseState,m===null)n.memoizedState=g;else{i=m.next;var M=w=null,j=null,P=i,me=!1;do{var ve=P.lane&-536870913;if(ve!==P.lane?(xt&ve)===ve:(Nl&ve)===ve){var W=P.revertLane;if(W===0)j!==null&&(j=j.next={lane:0,revertLane:0,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),ve===Ml&&(me=!0);else if((Nl&W)===W){P=P.next,W===Ml&&(me=!0);continue}else ve={lane:0,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},j===null?(M=j=ve,w=g):j=j.next=ve,st.lanes|=W,Ru|=W;ve=P.action,hr&&r(g,ve),g=P.hasEagerState?P.eagerState:r(g,ve)}else W={lane:ve,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},j===null?(M=j=W,w=g):j=j.next=W,st.lanes|=ve,Ru|=ve;P=P.next}while(P!==null&&P!==i);if(j===null?w=g:j.next=M,!ra(g,n.memoizedState)&&(Gn=!0,me&&(r=Vn,r!==null)))throw r;n.memoizedState=g,n.baseState=w,n.baseQueue=j,f.lastRenderedState=g}return m===null&&(f.lanes=0),[n.memoizedState,f.dispatch]}function rh(n){var i=Tn(),r=i.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=n;var f=r.dispatch,m=r.pending,g=i.memoizedState;if(m!==null){r.pending=null;var w=m=m.next;do g=n(g,w.action),w=w.next;while(w!==m);ra(g,i.memoizedState)||(Gn=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),r.lastRenderedState=g}return[g,f]}function af(n,i,r){var f=st,m=Tn(),g=Nt;if(g){if(r===void 0)throw Error(s(407));r=r()}else r=i();var w=!ra((Lt||m).memoizedState,r);w&&(m.memoizedState=r,Gn=!0),m=m.queue;var M=oy.bind(null,f,m,n);if(It(2048,8,M,[n]),m.getSnapshot!==i||w||gn!==null&&gn.memoizedState.tag&1){if(f.flags|=2048,Xa(9,rf(),ry.bind(null,f,m,r,i),null),Pt===null)throw Error(s(349));g||(Nl&124)!==0||oh(f,i,r)}return r}function oh(n,i,r){n.flags|=16384,n={getSnapshot:i,value:r},i=st.updateQueue,i===null?(i=ef(),st.updateQueue=i,i.stores=[n]):(r=i.stores,r===null?i.stores=[n]:r.push(n))}function ry(n,i,r,f){i.value=r,i.getSnapshot=f,cy(i)&&ch(n)}function oy(n,i,r){return r(function(){cy(i)&&ch(n)})}function cy(n){var i=n.getSnapshot;n=n.value;try{var r=i();return!ra(n,r)}catch{return!0}}function ch(n){var i=Ai(n,2);i!==null&&fl(i,n,2)}function lf(n){var i=va();if(typeof n=="function"){var r=n;if(n=r(),hr){Ie(!0);try{r()}finally{Ie(!1)}}}return i.memoizedState=i.baseState=n,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:n},i}function sh(n,i,r,f){return n.baseState=r,uh(n,Lt,typeof f=="function"?f:Ci)}function u0(n,i,r,f,m){if(po(n))throw Error(s(485));if(n=i.action,n!==null){var g={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){g.listeners.push(w)}};L.T!==null?r(!0):g.isTransition=!1,f(g),r=i.pending,r===null?(g.next=i.pending=g,fh(i,g)):(g.next=r.next,i.pending=r.next=g)}}function fh(n,i){var r=i.action,f=i.payload,m=n.state;if(i.isTransition){var g=L.T,w={};L.T=w;try{var M=r(m,f),j=L.S;j!==null&&j(w,M),uf(n,i,M)}catch(P){hh(n,i,P)}finally{L.T=g}}else try{g=r(m,f),uf(n,i,g)}catch(P){hh(n,i,P)}}function uf(n,i,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(f){dh(n,i,f)},function(f){return hh(n,i,f)}):dh(n,i,r)}function dh(n,i,r){i.status="fulfilled",i.value=r,sy(i),n.state=r,i=n.pending,i!==null&&(r=i.next,r===i?n.pending=null:(r=r.next,i.next=r,fh(n,r)))}function hh(n,i,r){var f=n.pending;if(n.pending=null,f!==null){f=f.next;do i.status="rejected",i.reason=r,sy(i),i=i.next;while(i!==f)}n.action=null}function sy(n){n=n.listeners;for(var i=0;i<n.length;i++)(0,n[i])()}function ph(n,i){return i}function fy(n,i){if(Nt){var r=Pt.formState;if(r!==null){e:{var f=st;if(Nt){if(kt){t:{for(var m=kt,g=Dl;m.nodeType!==8;){if(!g){m=null;break t}if(m=oi(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){kt=oi(m.nextSibling),f=m.data==="F!";break e}}yu(f)}f=!1}f&&(i=r[0])}}return r=va(),r.memoizedState=r.baseState=i,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ph,lastRenderedState:i},r.queue=f,r=vy.bind(null,st,f),f.dispatch=r,f=lf(!1),g=sf.bind(null,st,!1,f.queue),f=va(),m={state:i,dispatch:null,action:n,pending:null},f.queue=m,r=u0.bind(null,st,m,g,r),m.dispatch=r,f.memoizedState=n,[i,r,!1]}function Di(n){var i=Tn();return mh(i,Lt,n)}function mh(n,i,r){if(i=uh(n,i,ph)[0],n=nf(Ci)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var f=tf(i)}catch(w){throw w===dr?$s:w}else f=i;i=Tn();var m=i.queue,g=m.dispatch;return r!==i.memoizedState&&(st.flags|=2048,Xa(9,rf(),L1.bind(null,m,r),null)),[f,g,n]}function L1(n,i){n.action=i}function yh(n){var i=Tn(),r=Lt;if(r!==null)return mh(i,r,n);Tn(),i=i.memoizedState,r=Tn();var f=r.queue.dispatch;return r.memoizedState=n,[i,f,!1]}function Xa(n,i,r,f){return n={tag:n,create:r,deps:f,inst:i,next:null},i=st.updateQueue,i===null&&(i=ef(),st.updateQueue=i),r=i.lastEffect,r===null?i.lastEffect=n.next=n:(f=r.next,r.next=n,n.next=f,i.lastEffect=n),n}function rf(){return{destroy:void 0,resource:void 0}}function of(){return Tn().memoizedState}function mr(n,i,r,f){var m=va();f=f===void 0?null:f,st.flags|=n,m.memoizedState=Xa(1|i,rf(),r,f)}function It(n,i,r,f){var m=Tn();f=f===void 0?null:f;var g=m.memoizedState.inst;Lt!==null&&f!==null&&th(f,Lt.memoizedState.deps)?m.memoizedState=Xa(i,g,r,f):(st.flags|=n,m.memoizedState=Xa(1|i,g,r,f))}function r0(n,i){mr(8390656,8,n,i)}function o0(n,i){It(2048,8,n,i)}function dy(n,i){return It(4,2,n,i)}function ii(n,i){return It(4,4,n,i)}function hy(n,i){if(typeof i=="function"){n=n();var r=i(n);return function(){typeof r=="function"?r():i(null)}}if(i!=null)return n=n(),i.current=n,function(){i.current=null}}function gh(n,i,r){r=r!=null?r.concat([n]):null,It(4,4,hy.bind(null,i,n),r)}function so(){}function fo(n,i){var r=Tn();i=i===void 0?null:i;var f=r.memoizedState;return i!==null&&th(i,f[1])?f[0]:(r.memoizedState=[n,i],n)}function py(n,i){var r=Tn();i=i===void 0?null:i;var f=r.memoizedState;if(i!==null&&th(i,f[1]))return f[0];if(f=n(),hr){Ie(!0);try{n()}finally{Ie(!1)}}return r.memoizedState=[f,i],f}function cf(n,i,r){return r===void 0||(Nl&1073741824)!==0?n.memoizedState=i:(n.memoizedState=r,n=Ky(),st.lanes|=n,Ru|=n,r)}function my(n,i,r,f){return ra(r,i)?r:co.current!==null?(n=cf(n,r,f),ra(n,i)||(Gn=!0),n):(Nl&42)===0?(Gn=!0,n.memoizedState=r):(n=Ky(),st.lanes|=n,Ru|=n,i)}function c0(n,i,r,f,m){var g=ie.p;ie.p=g!==0&&8>g?g:8;var w=L.T,M={};L.T=M,sf(n,!1,i,r);try{var j=m(),P=L.S;if(P!==null&&P(M,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var me=l0(j,f);ho(n,i,me,sl(n))}else ho(n,i,f,sl(n))}catch(ve){ho(n,i,{then:function(){},status:"rejected",reason:ve},sl())}finally{ie.p=g,L.T=w}}function Z1(){}function vh(n,i,r,f){if(n.tag!==5)throw Error(s(476));var m=s0(n).queue;c0(n,m,i,se,r===null?Z1:function(){return xc(n),r(f)})}function s0(n){var i=n.memoizedState;if(i!==null)return i;i={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:se},next:null};var r={};return i.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:r},next:null},n.memoizedState=i,n=n.alternate,n!==null&&(n.memoizedState=i),i}function xc(n){var i=s0(n).next.queue;ho(n,i,{},sl())}function kl(){return Kn(Wa)}function yy(){return Tn().memoizedState}function f0(){return Tn().memoizedState}function d0(n){for(var i=n.return;i!==null;){switch(i.tag){case 24:case 3:var r=sl();n=Ga(r);var f=_i(i,n,r);f!==null&&(fl(f,i,r),oo(f,i,r)),i={cache:bc()},n.payload=i;return}i=i.return}}function gy(n,i,r){var f=sl();r={lane:f,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null},po(n)?h0(i,r):(r=cc(n,i,r,f),r!==null&&(fl(r,n,f),by(r,i,f)))}function vy(n,i,r){var f=sl();ho(n,i,r,f)}function ho(n,i,r,f){var m={lane:f,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(po(n))h0(i,m);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var w=i.lastRenderedState,M=g(w,r);if(m.hasEagerState=!0,m.eagerState=M,ra(M,w))return rr(n,i,m,0),Pt===null&&ei(),!1}catch{}finally{}if(r=cc(n,i,m,f),r!==null)return fl(r,n,f),by(r,i,f),!0}return!1}function sf(n,i,r,f){if(f={lane:2,revertLane:zo(),action:f,hasEagerState:!1,eagerState:null,next:null},po(n)){if(i)throw Error(s(479))}else i=cc(n,r,f,2),i!==null&&fl(i,n,2)}function po(n){var i=n.alternate;return n===st||i!==null&&i===st}function h0(n,i){rl=Ws=!0;var r=n.pending;r===null?i.next=i:(i.next=r.next,r.next=i),n.pending=i}function by(n,i,r){if((r&4194048)!==0){var f=i.lanes;f&=n.pendingLanes,r|=f,i.lanes=r,ot(n,r)}}var bh={readContext:Kn,use:jn,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useLayoutEffect:vn,useInsertionEffect:vn,useMemo:vn,useReducer:vn,useRef:vn,useState:vn,useDebugValue:vn,useDeferredValue:vn,useTransition:vn,useSyncExternalStore:vn,useId:vn,useHostTransitionStatus:vn,useFormState:vn,useActionState:vn,useOptimistic:vn,useMemoCache:vn,useCacheRefresh:vn},Sy={readContext:Kn,use:jn,useCallback:function(n,i){return va().memoizedState=[n,i===void 0?null:i],n},useContext:Kn,useEffect:r0,useImperativeHandle:function(n,i,r){r=r!=null?r.concat([n]):null,mr(4194308,4,hy.bind(null,i,n),r)},useLayoutEffect:function(n,i){return mr(4194308,4,n,i)},useInsertionEffect:function(n,i){mr(4,2,n,i)},useMemo:function(n,i){var r=va();i=i===void 0?null:i;var f=n();if(hr){Ie(!0);try{n()}finally{Ie(!1)}}return r.memoizedState=[f,i],f},useReducer:function(n,i,r){var f=va();if(r!==void 0){var m=r(i);if(hr){Ie(!0);try{r(i)}finally{Ie(!1)}}}else m=i;return f.memoizedState=f.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},f.queue=n,n=n.dispatch=gy.bind(null,st,n),[f.memoizedState,n]},useRef:function(n){var i=va();return n={current:n},i.memoizedState=n},useState:function(n){n=lf(n);var i=n.queue,r=vy.bind(null,st,i);return i.dispatch=r,[n.memoizedState,r]},useDebugValue:so,useDeferredValue:function(n,i){var r=va();return cf(r,n,i)},useTransition:function(){var n=lf(!1);return n=c0.bind(null,st,n.queue,!0,!1),va().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,i,r){var f=st,m=va();if(Nt){if(r===void 0)throw Error(s(407));r=r()}else{if(r=i(),Pt===null)throw Error(s(349));(xt&124)!==0||oh(f,i,r)}m.memoizedState=r;var g={value:r,getSnapshot:i};return m.queue=g,r0(oy.bind(null,f,g,n),[n]),f.flags|=2048,Xa(9,rf(),ry.bind(null,f,g,r,i),null),r},useId:function(){var n=va(),i=Pt.identifierPrefix;if(Nt){var r=En,f=ni;r=(f&~(1<<32-Ke(f)-1)).toString(32)+r,i="«"+i+"R"+r,r=li++,0<r&&(i+="H"+r.toString(32)),i+="»"}else r=iy++,i="«"+i+"r"+r.toString(32)+"»";return n.memoizedState=i},useHostTransitionStatus:kl,useFormState:fy,useActionState:fy,useOptimistic:function(n){var i=va();i.memoizedState=i.baseState=n;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=r,i=sf.bind(null,st,!0,r),r.dispatch=i,[n,i]},useMemoCache:ih,useCacheRefresh:function(){return va().memoizedState=d0.bind(null,st)}},Ey={readContext:Kn,use:jn,useCallback:fo,useContext:Kn,useEffect:o0,useImperativeHandle:gh,useInsertionEffect:dy,useLayoutEffect:ii,useMemo:py,useReducer:nf,useRef:of,useState:function(){return nf(Ci)},useDebugValue:so,useDeferredValue:function(n,i){var r=Tn();return my(r,Lt.memoizedState,n,i)},useTransition:function(){var n=nf(Ci)[0],i=Tn().memoizedState;return[typeof n=="boolean"?n:tf(n),i]},useSyncExternalStore:af,useId:yy,useHostTransitionStatus:kl,useFormState:Di,useActionState:Di,useOptimistic:function(n,i){var r=Tn();return sh(r,Lt,n,i)},useMemoCache:ih,useCacheRefresh:f0},Eu={readContext:Kn,use:jn,useCallback:fo,useContext:Kn,useEffect:o0,useImperativeHandle:gh,useInsertionEffect:dy,useLayoutEffect:ii,useMemo:py,useReducer:rh,useRef:of,useState:function(){return rh(Ci)},useDebugValue:so,useDeferredValue:function(n,i){var r=Tn();return Lt===null?cf(r,n,i):my(r,Lt.memoizedState,n,i)},useTransition:function(){var n=rh(Ci)[0],i=Tn().memoizedState;return[typeof n=="boolean"?n:tf(n),i]},useSyncExternalStore:af,useId:yy,useHostTransitionStatus:kl,useFormState:yh,useActionState:yh,useOptimistic:function(n,i){var r=Tn();return Lt!==null?sh(r,Lt,n,i):(r.baseState=n,[n,r.queue.dispatch])},useMemoCache:ih,useCacheRefresh:f0},mo=null,Oc=0;function Sh(n){var i=Oc;return Oc+=1,mo===null&&(mo=[]),ey(mo,n,i)}function yo(n,i){i=i.props.ref,n.ref=i!==void 0?i:null}function ba(n,i){throw i.$$typeof===R?Error(s(525)):(n=Object.prototype.toString.call(i),Error(s(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n)))}function Ty(n){var i=n._init;return i(n._payload)}function Qa(n){function i(J,X){if(n){var K=J.deletions;K===null?(J.deletions=[X],J.flags|=16):K.push(X)}}function r(J,X){if(!n)return null;for(;X!==null;)i(J,X),X=X.sibling;return null}function f(J){for(var X=new Map;J!==null;)J.key!==null?X.set(J.key,J):X.set(J.index,J),J=J.sibling;return X}function m(J,X){return J=ti(J,X),J.index=0,J.sibling=null,J}function g(J,X,K){return J.index=K,n?(K=J.alternate,K!==null?(K=K.index,K<X?(J.flags|=67108866,X):K):(J.flags|=67108866,X)):(J.flags|=1048576,X)}function w(J){return n&&J.alternate===null&&(J.flags|=67108866),J}function M(J,X,K,ye){return X===null||X.tag!==6?(X=dc(K,J.mode,ye),X.return=J,X):(X=m(X,K),X.return=J,X)}function j(J,X,K,ye){var je=K.type;return je===Y?me(J,X,K.props.children,ye,K.key):X!==null&&(X.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===_e&&Ty(je)===X.type)?(X=m(X,K.props),yo(X,K),X.return=J,X):(X=Ae(K.type,K.key,K.props,null,J.mode,ye),yo(X,K),X.return=J,X)}function P(J,X,K,ye){return X===null||X.tag!==4||X.stateNode.containerInfo!==K.containerInfo||X.stateNode.implementation!==K.implementation?(X=yn(K,J.mode,ye),X.return=J,X):(X=m(X,K.children||[]),X.return=J,X)}function me(J,X,K,ye,je){return X===null||X.tag!==7?(X=zl(K,J.mode,ye,je),X.return=J,X):(X=m(X,K),X.return=J,X)}function ve(J,X,K){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return X=dc(""+X,J.mode,K),X.return=J,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case z:return K=Ae(X.type,X.key,X.props,null,J.mode,K),yo(K,X),K.return=J,K;case _:return X=yn(X,J.mode,K),X.return=J,X;case _e:var ye=X._init;return X=ye(X._payload),ve(J,X,K)}if(Te(X)||Ee(X))return X=zl(X,J.mode,K,null),X.return=J,X;if(typeof X.then=="function")return ve(J,Sh(X),K);if(X.$$typeof===D)return ve(J,Qs(J,X),K);ba(J,X)}return null}function W(J,X,K,ye){var je=X!==null?X.key:null;if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return je!==null?null:M(J,X,""+K,ye);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case z:return K.key===je?j(J,X,K,ye):null;case _:return K.key===je?P(J,X,K,ye):null;case _e:return je=K._init,K=je(K._payload),W(J,X,K,ye)}if(Te(K)||Ee(K))return je!==null?null:me(J,X,K,ye,null);if(typeof K.then=="function")return W(J,X,Sh(K),ye);if(K.$$typeof===D)return W(J,X,Qs(J,K),ye);ba(J,K)}return null}function ne(J,X,K,ye,je){if(typeof ye=="string"&&ye!==""||typeof ye=="number"||typeof ye=="bigint")return J=J.get(K)||null,M(X,J,""+ye,je);if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case z:return J=J.get(ye.key===null?K:ye.key)||null,j(X,J,ye,je);case _:return J=J.get(ye.key===null?K:ye.key)||null,P(X,J,ye,je);case _e:var St=ye._init;return ye=St(ye._payload),ne(J,X,K,ye,je)}if(Te(ye)||Ee(ye))return J=J.get(K)||null,me(X,J,ye,je,null);if(typeof ye.then=="function")return ne(J,X,K,Sh(ye),je);if(ye.$$typeof===D)return ne(J,X,K,Qs(X,ye),je);ba(X,ye)}return null}function Je(J,X,K,ye){for(var je=null,St=null,Qe=X,Fe=X=0,ea=null;Qe!==null&&Fe<K.length;Fe++){Qe.index>Fe?(ea=Qe,Qe=null):ea=Qe.sibling;var Mt=W(J,Qe,K[Fe],ye);if(Mt===null){Qe===null&&(Qe=ea);break}n&&Qe&&Mt.alternate===null&&i(J,Qe),X=g(Mt,X,Fe),St===null?je=Mt:St.sibling=Mt,St=Mt,Qe=ea}if(Fe===K.length)return r(J,Qe),Nt&&_t(J,Fe),je;if(Qe===null){for(;Fe<K.length;Fe++)Qe=ve(J,K[Fe],ye),Qe!==null&&(X=g(Qe,X,Fe),St===null?je=Qe:St.sibling=Qe,St=Qe);return Nt&&_t(J,Fe),je}for(Qe=f(Qe);Fe<K.length;Fe++)ea=ne(Qe,J,Fe,K[Fe],ye),ea!==null&&(n&&ea.alternate!==null&&Qe.delete(ea.key===null?Fe:ea.key),X=g(ea,X,Fe),St===null?je=ea:St.sibling=ea,St=ea);return n&&Qe.forEach(function(Nr){return i(J,Nr)}),Nt&&_t(J,Fe),je}function $e(J,X,K,ye){if(K==null)throw Error(s(151));for(var je=null,St=null,Qe=X,Fe=X=0,ea=null,Mt=K.next();Qe!==null&&!Mt.done;Fe++,Mt=K.next()){Qe.index>Fe?(ea=Qe,Qe=null):ea=Qe.sibling;var Nr=W(J,Qe,Mt.value,ye);if(Nr===null){Qe===null&&(Qe=ea);break}n&&Qe&&Nr.alternate===null&&i(J,Qe),X=g(Nr,X,Fe),St===null?je=Nr:St.sibling=Nr,St=Nr,Qe=ea}if(Mt.done)return r(J,Qe),Nt&&_t(J,Fe),je;if(Qe===null){for(;!Mt.done;Fe++,Mt=K.next())Mt=ve(J,Mt.value,ye),Mt!==null&&(X=g(Mt,X,Fe),St===null?je=Mt:St.sibling=Mt,St=Mt);return Nt&&_t(J,Fe),je}for(Qe=f(Qe);!Mt.done;Fe++,Mt=K.next())Mt=ne(Qe,J,Fe,Mt.value,ye),Mt!==null&&(n&&Mt.alternate!==null&&Qe.delete(Mt.key===null?Fe:Mt.key),X=g(Mt,X,Fe),St===null?je=Mt:St.sibling=Mt,St=Mt);return n&&Qe.forEach(function(F1){return i(J,F1)}),Nt&&_t(J,Fe),je}function Ht(J,X,K,ye){if(typeof K=="object"&&K!==null&&K.type===Y&&K.key===null&&(K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case z:e:{for(var je=K.key;X!==null;){if(X.key===je){if(je=K.type,je===Y){if(X.tag===7){r(J,X.sibling),ye=m(X,K.props.children),ye.return=J,J=ye;break e}}else if(X.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===_e&&Ty(je)===X.type){r(J,X.sibling),ye=m(X,K.props),yo(ye,K),ye.return=J,J=ye;break e}r(J,X);break}else i(J,X);X=X.sibling}K.type===Y?(ye=zl(K.props.children,J.mode,ye,K.key),ye.return=J,J=ye):(ye=Ae(K.type,K.key,K.props,null,J.mode,ye),yo(ye,K),ye.return=J,J=ye)}return w(J);case _:e:{for(je=K.key;X!==null;){if(X.key===je)if(X.tag===4&&X.stateNode.containerInfo===K.containerInfo&&X.stateNode.implementation===K.implementation){r(J,X.sibling),ye=m(X,K.children||[]),ye.return=J,J=ye;break e}else{r(J,X);break}else i(J,X);X=X.sibling}ye=yn(K,J.mode,ye),ye.return=J,J=ye}return w(J);case _e:return je=K._init,K=je(K._payload),Ht(J,X,K,ye)}if(Te(K))return Je(J,X,K,ye);if(Ee(K)){if(je=Ee(K),typeof je!="function")throw Error(s(150));return K=je.call(K),$e(J,X,K,ye)}if(typeof K.then=="function")return Ht(J,X,Sh(K),ye);if(K.$$typeof===D)return Ht(J,X,Qs(J,K),ye);ba(J,K)}return typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint"?(K=""+K,X!==null&&X.tag===6?(r(J,X.sibling),ye=m(X,K),ye.return=J,J=ye):(r(J,X),ye=dc(K,J.mode,ye),ye.return=J,J=ye),w(J)):r(J,X)}return function(J,X,K,ye){try{Oc=0;var je=Ht(J,X,K,ye);return mo=null,je}catch(Qe){if(Qe===dr||Qe===$s)throw Qe;var St=Ya(29,Qe,null,J.mode);return St.lanes=ye,St.return=J,St}finally{}}}var go=Qa(!0),Mi=Qa(!1),cl=$(null),Sa=null;function Tu(n){var i=n.alternate;U(Jt,Jt.current&1),U(cl,n),Sa===null&&(i===null||co.current!==null||i.memoizedState!==null)&&(Sa=n)}function Ni(n){if(n.tag===22){if(U(Jt,Jt.current),U(cl,n),Sa===null){var i=n.alternate;i!==null&&i.memoizedState!==null&&(Sa=n)}}else ki()}function ki(){U(Jt,Jt.current),U(cl,cl.current)}function ui(n){ce(cl),Sa===n&&(Sa=null),ce(Jt)}var Jt=$(0);function ff(n){for(var i=n;i!==null;){if(i.tag===13){var r=i.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||kf(r)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}function yr(n,i,r,f){i=n.memoizedState,r=r(f,i),r=r==null?i:O({},i,r),n.memoizedState=r,n.lanes===0&&(n.updateQueue.baseState=r)}var Eh={enqueueSetState:function(n,i,r){n=n._reactInternals;var f=sl(),m=Ga(f);m.payload=i,r!=null&&(m.callback=r),i=_i(n,m,f),i!==null&&(fl(i,n,f),oo(i,n,f))},enqueueReplaceState:function(n,i,r){n=n._reactInternals;var f=sl(),m=Ga(f);m.tag=1,m.payload=i,r!=null&&(m.callback=r),i=_i(n,m,f),i!==null&&(fl(i,n,f),oo(i,n,f))},enqueueForceUpdate:function(n,i){n=n._reactInternals;var r=sl(),f=Ga(r);f.tag=2,i!=null&&(f.callback=i),i=_i(n,f,r),i!==null&&(fl(i,n,r),oo(i,n,r))}};function Rc(n,i,r,f,m,g,w){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,g,w):i.prototype&&i.prototype.isPureReactComponent?!ar(r,f)||!ar(m,g):!0}function vo(n,i,r,f){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(r,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(r,f),i.state!==n&&Eh.enqueueReplaceState(i,i.state,null)}function gr(n,i){var r=i;if("ref"in i){r={};for(var f in i)f!=="ref"&&(r[f]=i[f])}if(n=n.defaultProps){r===i&&(r=O({},r));for(var m in n)r[m]===void 0&&(r[m]=n[m])}return r}var df=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)};function wc(n){df(n)}function Ay(n){console.error(n)}function hf(n){df(n)}function pf(n,i){try{var r=n.onUncaughtError;r(i.value,{componentStack:i.stack})}catch(f){setTimeout(function(){throw f})}}function xy(n,i,r){try{var f=n.onCaughtError;f(r.value,{componentStack:r.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function Oy(n,i,r){return r=Ga(r),r.tag=3,r.payload={element:null},r.callback=function(){pf(n,i)},r}function Ry(n){return n=Ga(n),n.tag=3,n}function Ia(n,i,r,f){var m=r.type.getDerivedStateFromError;if(typeof m=="function"){var g=f.value;n.payload=function(){return m(g)},n.callback=function(){xy(i,r,f)}}var w=r.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(n.callback=function(){xy(i,r,f),typeof m!="function"&&(Er===null?Er=new Set([this]):Er.add(this));var M=f.stack;this.componentDidCatch(f.value,{componentStack:M!==null?M:""})})}function p0(n,i,r,f,m){if(r.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(i=r.alternate,i!==null&&gc(i,r,m,!0),r=cl.current,r!==null){switch(r.tag){case 13:return Sa===null?wo():r.alternate===null&&Rn===0&&(Rn=3),r.flags&=-257,r.flags|=65536,r.lanes=m,f===Kd?r.flags|=16384:(i=r.updateQueue,i===null?r.updateQueue=new Set([f]):i.add(f),Ih(n,f,m)),!1;case 22:return r.flags|=65536,f===Kd?r.flags|=16384:(i=r.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([f])},r.updateQueue=i):(r=i.retryQueue,r===null?i.retryQueue=new Set([f]):r.add(f)),Ih(n,f,m)),!1}throw Error(s(435,r.tag))}return Ih(n,f,m),wo(),!1}if(Nt)return i=cl.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=m,f!==io&&(n=Error(s(422),{cause:f}),yc(ul(n,r)))):(f!==io&&(i=Error(s(423),{cause:f}),yc(ul(i,r))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,f=ul(f,r),m=Oy(n.stateNode,f,m),ay(n,m),Rn!==4&&(Rn=2)),!1;var g=Error(s(520),{cause:f});if(g=ul(g,r),kc===null?kc=[g]:kc.push(g),Rn!==4&&(Rn=2),i===null)return!0;f=ul(f,r),r=i;do{switch(r.tag){case 3:return r.flags|=65536,n=m&-m,r.lanes|=n,n=Oy(r.stateNode,f,n),ay(r,n),!1;case 1:if(i=r.type,g=r.stateNode,(r.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Er===null||!Er.has(g))))return r.flags|=65536,m&=-m,r.lanes|=m,m=Ry(m),Ia(m,n,r,f),ay(r,m),!1}r=r.return}while(r!==null);return!1}var An=Error(s(461)),Gn=!1;function Fn(n,i,r,f){i.child=n===null?Mi(i,null,r,f):go(i,n.child,r,f)}function m0(n,i,r,f,m){r=r.render;var g=i.ref;if("ref"in f){var w={};for(var M in f)M!=="ref"&&(w[M]=f[M])}else w=f;return sr(i),f=nh(n,i,r,w,g,m),M=ah(),n!==null&&!Gn?(Ac(n,i,m),Ui(n,i,m)):(Nt&&M&&lo(i),i.flags|=1,Fn(n,i,f,m),i.child)}function Au(n,i,r,f,m){if(n===null){var g=r.type;return typeof g=="function"&&!qs(g)&&g.defaultProps===void 0&&r.compare===null?(i.tag=15,i.type=g,bo(n,i,g,f,m)):(n=Ae(r.type,null,f,i,i.mode,m),n.ref=i.ref,n.return=i,i.child=n)}if(g=n.child,!Dh(n,m)){var w=g.memoizedProps;if(r=r.compare,r=r!==null?r:ar,r(w,f)&&n.ref===i.ref)return Ui(n,i,m)}return i.flags|=1,n=ti(g,f),n.ref=i.ref,n.return=i,i.child=n}function bo(n,i,r,f,m){if(n!==null){var g=n.memoizedProps;if(ar(g,f)&&n.ref===i.ref)if(Gn=!1,i.pendingProps=f=g,Dh(n,m))(n.flags&131072)!==0&&(Gn=!0);else return i.lanes=n.lanes,Ui(n,i,m)}return Ah(n,i,r,f,m)}function Th(n,i,r){var f=i.pendingProps,m=f.children,g=n!==null?n.memoizedState:null;if(f.mode==="hidden"){if((i.flags&128)!==0){if(f=g!==null?g.baseLanes|r:r,n!==null){for(m=i.child=n.child,g=0;m!==null;)g=g|m.lanes|m.childLanes,m=m.sibling;i.childLanes=g&~f}else i.childLanes=0,i.child=null;return So(n,i,f,r)}if((r&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},n!==null&&uo(i,g!==null?g.cachePool:null),g!==null?Pn(i,g):Ec(),Ni(i);else return i.lanes=i.childLanes=536870912,So(n,i,g!==null?g.baseLanes|r:r,r)}else g!==null?(uo(i,g.cachePool),Pn(i,g),ki(),i.memoizedState=null):(n!==null&&uo(i,null),Ec(),ki());return Fn(n,i,m,r),i.child}function So(n,i,r,f){var m=Js();return m=m===null?null:{parent:Yn._currentValue,pool:m},i.memoizedState={baseLanes:r,cachePool:m},n!==null&&uo(i,null),Ec(),Ni(i),n!==null&&gc(n,i,f,!0),null}function mf(n,i){var r=i.ref;if(r===null)n!==null&&n.ref!==null&&(i.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(n===null||n.ref!==r)&&(i.flags|=4194816)}}function Ah(n,i,r,f,m){return sr(i),r=nh(n,i,r,f,void 0,m),f=ah(),n!==null&&!Gn?(Ac(n,i,m),Ui(n,i,m)):(Nt&&f&&lo(i),i.flags|=1,Fn(n,i,r,m),i.child)}function wy(n,i,r,f,m,g){return sr(i),i.updateQueue=null,r=uy(i,f,r,m),pr(n),f=ah(),n!==null&&!Gn?(Ac(n,i,g),Ui(n,i,g)):(Nt&&f&&lo(i),i.flags|=1,Fn(n,i,r,g),i.child)}function xh(n,i,r,f,m){if(sr(i),i.stateNode===null){var g=fc,w=r.contextType;typeof w=="object"&&w!==null&&(g=Kn(w)),g=new r(f,g),i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=Eh,i.stateNode=g,g._reactInternals=i,g=i.stateNode,g.props=f,g.state=i.memoizedState,g.refs={},Fd(i),w=r.contextType,g.context=typeof w=="object"&&w!==null?Kn(w):fc,g.state=i.memoizedState,w=r.getDerivedStateFromProps,typeof w=="function"&&(yr(i,r,w,f),g.state=i.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(w=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),w!==g.state&&Eh.enqueueReplaceState(g,g.state,null),bu(i,f,g,m),Sc(),g.state=i.memoizedState),typeof g.componentDidMount=="function"&&(i.flags|=4194308),f=!0}else if(n===null){g=i.stateNode;var M=i.memoizedProps,j=gr(r,M);g.props=j;var P=g.context,me=r.contextType;w=fc,typeof me=="object"&&me!==null&&(w=Kn(me));var ve=r.getDerivedStateFromProps;me=typeof ve=="function"||typeof g.getSnapshotBeforeUpdate=="function",M=i.pendingProps!==M,me||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(M||P!==w)&&vo(i,g,f,w),zi=!1;var W=i.memoizedState;g.state=W,bu(i,f,g,m),Sc(),P=i.memoizedState,M||W!==P||zi?(typeof ve=="function"&&(yr(i,r,ve,f),P=i.memoizedState),(j=zi||Rc(i,r,j,f,W,P,w))?(me||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(i.flags|=4194308)):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=f,i.memoizedState=P),g.props=f,g.state=P,g.context=w,f=j):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{g=i.stateNode,Wd(n,i),w=i.memoizedProps,me=gr(r,w),g.props=me,ve=i.pendingProps,W=g.context,P=r.contextType,j=fc,typeof P=="object"&&P!==null&&(j=Kn(P)),M=r.getDerivedStateFromProps,(P=typeof M=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(w!==ve||W!==j)&&vo(i,g,f,j),zi=!1,W=i.memoizedState,g.state=W,bu(i,f,g,m),Sc();var ne=i.memoizedState;w!==ve||W!==ne||zi||n!==null&&n.dependencies!==null&&Xs(n.dependencies)?(typeof M=="function"&&(yr(i,r,M,f),ne=i.memoizedState),(me=zi||Rc(i,r,me,f,W,ne,j)||n!==null&&n.dependencies!==null&&Xs(n.dependencies))?(P||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(f,ne,j),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(f,ne,j)),typeof g.componentDidUpdate=="function"&&(i.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof g.componentDidUpdate!="function"||w===n.memoizedProps&&W===n.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&W===n.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=ne),g.props=f,g.state=ne,g.context=j,f=me):(typeof g.componentDidUpdate!="function"||w===n.memoizedProps&&W===n.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&W===n.memoizedState||(i.flags|=1024),f=!1)}return g=f,mf(n,i),f=(i.flags&128)!==0,g||f?(g=i.stateNode,r=f&&typeof r.getDerivedStateFromError!="function"?null:g.render(),i.flags|=1,n!==null&&f?(i.child=go(i,n.child,null,m),i.child=go(i,null,r,m)):Fn(n,i,r,m),i.memoizedState=g.state,n=i.child):n=Ui(n,i,m),n}function Oh(n,i,r,f){return mc(),i.flags|=256,Fn(n,i,r,f),i.child}var Rh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function zy(n){return{baseLanes:n,cachePool:Jd()}}function _y(n,i,r){return n=n!==null?n.childLanes&~r:0,i&&(n|=jl),n}function Cy(n,i,r){var f=i.pendingProps,m=!1,g=(i.flags&128)!==0,w;if((w=g)||(w=n!==null&&n.memoizedState===null?!1:(Jt.current&2)!==0),w&&(m=!0,i.flags&=-129),w=(i.flags&32)!==0,i.flags&=-33,n===null){if(Nt){if(m?Tu(i):ki(),Nt){var M=kt,j;if(j=M){e:{for(j=M,M=Dl;j.nodeType!==8;){if(!M){M=null;break e}if(j=oi(j.nextSibling),j===null){M=null;break e}}M=j}M!==null?(i.memoizedState={dehydrated:M,treeContext:mu!==null?{id:ni,overflow:En}:null,retryLane:536870912,hydrationErrors:null},j=Ya(18,null,null,0),j.stateNode=M,j.return=i,i.child=j,kn=i,kt=null,j=!0):j=!1}j||yu(i)}if(M=i.memoizedState,M!==null&&(M=M.dehydrated,M!==null))return kf(M)?i.lanes=32:i.lanes=536870912,null;ui(i)}return M=f.children,f=f.fallback,m?(ki(),m=i.mode,M=zh({mode:"hidden",children:M},m),f=zl(f,m,r,null),M.return=i,f.return=i,M.sibling=f,i.child=M,m=i.child,m.memoizedState=zy(r),m.childLanes=_y(n,w,r),i.memoizedState=Rh,f):(Tu(i),wh(i,M))}if(j=n.memoizedState,j!==null&&(M=j.dehydrated,M!==null)){if(g)i.flags&256?(Tu(i),i.flags&=-257,i=vr(n,i,r)):i.memoizedState!==null?(ki(),i.child=n.child,i.flags|=128,i=null):(ki(),m=f.fallback,M=i.mode,f=zh({mode:"visible",children:f.children},M),m=zl(m,M,r,null),m.flags|=2,f.return=i,m.return=i,f.sibling=m,i.child=f,go(i,n.child,null,r),f=i.child,f.memoizedState=zy(r),f.childLanes=_y(n,w,r),i.memoizedState=Rh,i=m);else if(Tu(i),kf(M)){if(w=M.nextSibling&&M.nextSibling.dataset,w)var P=w.dgst;w=P,f=Error(s(419)),f.stack="",f.digest=w,yc({value:f,source:null,stack:null}),i=vr(n,i,r)}else if(Gn||gc(n,i,r,!1),w=(r&n.childLanes)!==0,Gn||w){if(w=Pt,w!==null&&(f=r&-r,f=(f&42)!==0?1:Hn(f),f=(f&(w.suspendedLanes|r))!==0?0:f,f!==0&&f!==j.retryLane))throw j.retryLane=f,Ai(n,f),fl(w,n,f),An;M.data==="$?"||wo(),i=vr(n,i,r)}else M.data==="$?"?(i.flags|=192,i.child=n.child,i=null):(n=j.treeContext,kt=oi(M.nextSibling),kn=i,Nt=!0,Cl=null,Dl=!1,n!==null&&(_l[Va++]=ni,_l[Va++]=En,_l[Va++]=mu,ni=n.id,En=n.overflow,mu=i),i=wh(i,f.children),i.flags|=4096);return i}return m?(ki(),m=f.fallback,M=i.mode,j=n.child,P=j.sibling,f=ti(j,{mode:"hidden",children:f.children}),f.subtreeFlags=j.subtreeFlags&65011712,P!==null?m=ti(P,m):(m=zl(m,M,r,null),m.flags|=2),m.return=i,f.return=i,f.sibling=m,i.child=f,f=m,m=i.child,M=n.child.memoizedState,M===null?M=zy(r):(j=M.cachePool,j!==null?(P=Yn._currentValue,j=j.parent!==P?{parent:P,pool:P}:j):j=Jd(),M={baseLanes:M.baseLanes|r,cachePool:j}),m.memoizedState=M,m.childLanes=_y(n,w,r),i.memoizedState=Rh,f):(Tu(i),r=n.child,n=r.sibling,r=ti(r,{mode:"visible",children:f.children}),r.return=i,r.sibling=null,n!==null&&(w=i.deletions,w===null?(i.deletions=[n],i.flags|=16):w.push(n)),i.child=r,i.memoizedState=null,r)}function wh(n,i){return i=zh({mode:"visible",children:i},n.mode),i.return=n,n.child=i}function zh(n,i){return n=Ya(22,n,null,i),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function vr(n,i,r){return go(i,n.child,null,r),n=wh(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}function yf(n,i,r){n.lanes|=i;var f=n.alternate;f!==null&&(f.lanes|=i),Vd(n.return,i,r)}function _h(n,i,r,f,m){var g=n.memoizedState;g===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:r,tailMode:m}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=f,g.tail=r,g.tailMode=m)}function Ch(n,i,r){var f=i.pendingProps,m=f.revealOrder,g=f.tail;if(Fn(n,i,f.children,r),f=Jt.current,(f&2)!==0)f=f&1|2,i.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=i.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&yf(n,r,i);else if(n.tag===19)yf(n,r,i);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===i)break e;for(;n.sibling===null;){if(n.return===null||n.return===i)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}f&=1}switch(U(Jt,f),m){case"forwards":for(r=i.child,m=null;r!==null;)n=r.alternate,n!==null&&ff(n)===null&&(m=r),r=r.sibling;r=m,r===null?(m=i.child,i.child=null):(m=r.sibling,r.sibling=null),_h(i,!1,m,r,g);break;case"backwards":for(r=null,m=i.child,i.child=null;m!==null;){if(n=m.alternate,n!==null&&ff(n)===null){i.child=m;break}n=m.sibling,m.sibling=r,r=m,m=n}_h(i,!0,r,null,g);break;case"together":_h(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Ui(n,i,r){if(n!==null&&(i.dependencies=n.dependencies),Ru|=i.lanes,(r&i.childLanes)===0)if(n!==null){if(gc(n,i,r,!1),(r&i.childLanes)===0)return null}else return null;if(n!==null&&i.child!==n.child)throw Error(s(153));if(i.child!==null){for(n=i.child,r=ti(n,n.pendingProps),i.child=r,r.return=i;n.sibling!==null;)n=n.sibling,r=r.sibling=ti(n,n.pendingProps),r.return=i;r.sibling=null}return i.child}function Dh(n,i){return(n.lanes&i)!==0?!0:(n=n.dependencies,!!(n!==null&&Xs(n)))}function y0(n,i,r){switch(i.tag){case 3:Ve(i,i.stateNode.containerInfo),vu(i,Yn,n.memoizedState.cache),mc();break;case 27:case 5:Dn(i);break;case 4:Ve(i,i.stateNode.containerInfo);break;case 10:vu(i,i.type,i.memoizedProps.value);break;case 13:var f=i.memoizedState;if(f!==null)return f.dehydrated!==null?(Tu(i),i.flags|=128,null):(r&i.child.childLanes)!==0?Cy(n,i,r):(Tu(i),n=Ui(n,i,r),n!==null?n.sibling:null);Tu(i);break;case 19:var m=(n.flags&128)!==0;if(f=(r&i.childLanes)!==0,f||(gc(n,i,r,!1),f=(r&i.childLanes)!==0),m){if(f)return Ch(n,i,r);i.flags|=128}if(m=i.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),U(Jt,Jt.current),f)break;return null;case 22:case 23:return i.lanes=0,Th(n,i,r);case 24:vu(i,Yn,n.memoizedState.cache)}return Ui(n,i,r)}function g0(n,i,r){if(n!==null)if(n.memoizedProps!==i.pendingProps)Gn=!0;else{if(!Dh(n,r)&&(i.flags&128)===0)return Gn=!1,y0(n,i,r);Gn=(n.flags&131072)!==0}else Gn=!1,Nt&&(i.flags&1048576)!==0&&Yd(i,hc,i.index);switch(i.lanes=0,i.tag){case 16:e:{n=i.pendingProps;var f=i.elementType,m=f._init;if(f=m(f._payload),i.type=f,typeof f=="function")qs(f)?(n=gr(f,n),i.tag=1,i=xh(null,i,f,n,r)):(i.tag=0,i=Ah(null,i,f,n,r));else{if(f!=null){if(m=f.$$typeof,m===ue){i.tag=11,i=m0(null,i,f,n,r);break e}else if(m===he){i.tag=14,i=Au(null,i,f,n,r);break e}}throw i=Ne(f)||f,Error(s(306,i,""))}}return i;case 0:return Ah(n,i,i.type,i.pendingProps,r);case 1:return f=i.type,m=gr(f,i.pendingProps),xh(n,i,f,m,r);case 3:e:{if(Ve(i,i.stateNode.containerInfo),n===null)throw Error(s(387));f=i.pendingProps;var g=i.memoizedState;m=g.element,Wd(n,i),bu(i,f,null,r);var w=i.memoizedState;if(f=w.cache,vu(i,Yn,f),f!==g.cache&&Fm(i,[Yn],r,!0),Sc(),f=w.element,g.isDehydrated)if(g={element:f,isDehydrated:!1,cache:w.cache},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){i=Oh(n,i,f,r);break e}else if(f!==m){m=ul(Error(s(424)),i),yc(m),i=Oh(n,i,f,r);break e}else{switch(n=i.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(kt=oi(n.firstChild),kn=i,Nt=!0,Cl=null,Dl=!0,r=Mi(i,null,f,r),i.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(mc(),f===m){i=Ui(n,i,r);break e}Fn(n,i,f,r)}i=i.child}return i;case 26:return mf(n,i),n===null?(r=N0(i.type,null,i.pendingProps,null))?i.memoizedState=r:Nt||(r=i.type,n=i.pendingProps,f=Ll(Oe.current).createElement(r),f[$n]=i,f[Ra]=n,tt(f,r,n),qn(f),i.stateNode=f):i.memoizedState=N0(i.type,n.memoizedProps,i.pendingProps,n.memoizedState),null;case 27:return Dn(i),n===null&&Nt&&(f=i.stateNode=Ue(i.type,i.pendingProps,Oe.current),kn=i,Dl=!0,m=kt,wr(i.type)?(zr=m,kt=oi(f.firstChild)):kt=m),Fn(n,i,i.pendingProps.children,r),mf(n,i),n===null&&(i.flags|=4194304),i.child;case 5:return n===null&&Nt&&((m=f=kt)&&(f=Qc(f,i.type,i.pendingProps,Dl),f!==null?(i.stateNode=f,kn=i,kt=oi(f.firstChild),Dl=!1,m=!0):m=!1),m||yu(i)),Dn(i),m=i.type,g=i.pendingProps,w=n!==null?n.memoizedProps:null,f=g.children,Gi(m,g)?f=null:w!==null&&Gi(m,w)&&(i.flags|=32),i.memoizedState!==null&&(m=nh(n,i,i0,null,null,r),Wa._currentValue=m),mf(n,i),Fn(n,i,f,r),i.child;case 6:return n===null&&Nt&&((n=r=kt)&&(r=$1(r,i.pendingProps,Dl),r!==null?(i.stateNode=r,kn=i,kt=null,n=!0):n=!1),n||yu(i)),null;case 13:return Cy(n,i,r);case 4:return Ve(i,i.stateNode.containerInfo),f=i.pendingProps,n===null?i.child=go(i,null,f,r):Fn(n,i,f,r),i.child;case 11:return m0(n,i,i.type,i.pendingProps,r);case 7:return Fn(n,i,i.pendingProps,r),i.child;case 8:return Fn(n,i,i.pendingProps.children,r),i.child;case 12:return Fn(n,i,i.pendingProps.children,r),i.child;case 10:return f=i.pendingProps,vu(i,i.type,f.value),Fn(n,i,f.children,r),i.child;case 9:return m=i.type._context,f=i.pendingProps.children,sr(i),m=Kn(m),f=f(m),i.flags|=1,Fn(n,i,f,r),i.child;case 14:return Au(n,i,i.type,i.pendingProps,r);case 15:return bo(n,i,i.type,i.pendingProps,r);case 19:return Ch(n,i,r);case 31:return f=i.pendingProps,r=i.mode,f={mode:f.mode,children:f.children},n===null?(r=zh(f,r),r.ref=i.ref,i.child=r,r.return=i,i=r):(r=ti(n.child,f),r.ref=i.ref,i.child=r,r.return=i,i=r),i;case 22:return Th(n,i,r);case 24:return sr(i),f=Kn(Yn),n===null?(m=Js(),m===null&&(m=Pt,g=bc(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=r),m=g),i.memoizedState={parent:f,cache:m},Fd(i),vu(i,Yn,m)):((n.lanes&r)!==0&&(Wd(n,i),bu(i,null,null,r),Sc()),m=n.memoizedState,g=i.memoizedState,m.parent!==f?(m={parent:f,cache:f},i.memoizedState=m,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=m),vu(i,Yn,f)):(f=g.cache,vu(i,Yn,f),f!==m.cache&&Fm(i,[Yn],r,!0))),Fn(n,i,i.pendingProps.children,r),i.child;case 29:throw i.pendingProps}throw Error(s(156,i.tag))}function Hi(n){n.flags|=4}function zc(n,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!hg(i)){if(i=cl.current,i!==null&&((xt&4194048)===xt?Sa!==null:(xt&62914560)!==xt&&(xt&536870912)===0||i!==Sa))throw ro=Kd,$d;n.flags|=8192}}function gf(n,i){i!==null&&(n.flags|=4),n.flags&16384&&(i=n.tag!==22?De():536870912,n.lanes|=i,Nc|=i)}function _c(n,i){if(!Nt)switch(n.tailMode){case"hidden":i=n.tail;for(var r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?n.tail=null:r.sibling=null;break;case"collapsed":r=n.tail;for(var f=null;r!==null;)r.alternate!==null&&(f=r),r=r.sibling;f===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function Pe(n){var i=n.alternate!==null&&n.alternate.child===n.child,r=0,f=0;if(i)for(var m=n.child;m!==null;)r|=m.lanes|m.childLanes,f|=m.subtreeFlags&65011712,f|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)r|=m.lanes|m.childLanes,f|=m.subtreeFlags,f|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=f,n.childLanes=r,i}function Dy(n,i,r){var f=i.pendingProps;switch(xi(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pe(i),null;case 1:return Pe(i),null;case 3:return r=i.stateNode,f=null,n!==null&&(f=n.memoizedState.cache),i.memoizedState.cache!==f&&(i.flags|=2048),Oi(Yn),Bt(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(n===null||n.child===null)&&(pc(i)?Hi(i):n===null||n.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Pm())),Pe(i),null;case 26:return r=i.memoizedState,n===null?(Hi(i),r!==null?(Pe(i),zc(i,r)):(Pe(i),i.flags&=-16777217)):r?r!==n.memoizedState?(Hi(i),Pe(i),zc(i,r)):(Pe(i),i.flags&=-16777217):(n.memoizedProps!==f&&Hi(i),Pe(i),i.flags&=-16777217),null;case 27:Oa(i),r=Oe.current;var m=i.type;if(n!==null&&i.stateNode!=null)n.memoizedProps!==f&&Hi(i);else{if(!f){if(i.stateNode===null)throw Error(s(166));return Pe(i),null}n=Re.current,pc(i)?Vs(i):(n=Ue(m,f,r),i.stateNode=n,Hi(i))}return Pe(i),null;case 5:if(Oa(i),r=i.type,n!==null&&i.stateNode!=null)n.memoizedProps!==f&&Hi(i);else{if(!f){if(i.stateNode===null)throw Error(s(166));return Pe(i),null}if(n=Re.current,pc(i))Vs(i);else{switch(m=Ll(Oe.current),n){case 1:n=m.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:n=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":n=m.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":n=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":n=m.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof f.is=="string"?m.createElement("select",{is:f.is}):m.createElement("select"),f.multiple?n.multiple=!0:f.size&&(n.size=f.size);break;default:n=typeof f.is=="string"?m.createElement(r,{is:f.is}):m.createElement(r)}}n[$n]=i,n[Ra]=f;e:for(m=i.child;m!==null;){if(m.tag===5||m.tag===6)n.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===i)break e;for(;m.sibling===null;){if(m.return===null||m.return===i)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}i.stateNode=n;e:switch(tt(n,r,f),r){case"button":case"input":case"select":case"textarea":n=!!f.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Hi(i)}}return Pe(i),i.flags&=-16777217,null;case 6:if(n&&i.stateNode!=null)n.memoizedProps!==f&&Hi(i);else{if(typeof f!="string"&&i.stateNode===null)throw Error(s(166));if(n=Oe.current,pc(i)){if(n=i.stateNode,r=i.memoizedProps,f=null,m=kn,m!==null)switch(m.tag){case 27:case 5:f=m.memoizedProps}n[$n]=i,n=!!(n.nodeValue===r||f!==null&&f.suppressHydrationWarning===!0||cg(n.nodeValue,r)),n||yu(i)}else n=Ll(n).createTextNode(f),n[$n]=i,i.stateNode=n}return Pe(i),null;case 13:if(f=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=pc(i),f!==null&&f.dehydrated!==null){if(n===null){if(!m)throw Error(s(318));if(m=i.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(s(317));m[$n]=i}else mc(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Pe(i),m=!1}else m=Pm(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return i.flags&256?(ui(i),i):(ui(i),null)}if(ui(i),(i.flags&128)!==0)return i.lanes=r,i;if(r=f!==null,n=n!==null&&n.memoizedState!==null,r){f=i.child,m=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(m=f.alternate.memoizedState.cachePool.pool);var g=null;f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(g=f.memoizedState.cachePool.pool),g!==m&&(f.flags|=2048)}return r!==n&&r&&(i.child.flags|=8192),gf(i,i.updateQueue),Pe(i),null;case 4:return Bt(),n===null&&rg(i.stateNode.containerInfo),Pe(i),null;case 10:return Oi(i.type),Pe(i),null;case 19:if(ce(Jt),m=i.memoizedState,m===null)return Pe(i),null;if(f=(i.flags&128)!==0,g=m.rendering,g===null)if(f)_c(m,!1);else{if(Rn!==0||n!==null&&(n.flags&128)!==0)for(n=i.child;n!==null;){if(g=ff(n),g!==null){for(i.flags|=128,_c(m,!1),n=g.updateQueue,i.updateQueue=n,gf(i,n),i.subtreeFlags=0,n=r,r=i.child;r!==null;)bt(r,n),r=r.sibling;return U(Jt,Jt.current&1|2),i.child}n=n.sibling}m.tail!==null&&Mn()>Zh&&(i.flags|=128,f=!0,_c(m,!1),i.lanes=4194304)}else{if(!f)if(n=ff(g),n!==null){if(i.flags|=128,f=!0,n=n.updateQueue,i.updateQueue=n,gf(i,n),_c(m,!0),m.tail===null&&m.tailMode==="hidden"&&!g.alternate&&!Nt)return Pe(i),null}else 2*Mn()-m.renderingStartTime>Zh&&r!==536870912&&(i.flags|=128,f=!0,_c(m,!1),i.lanes=4194304);m.isBackwards?(g.sibling=i.child,i.child=g):(n=m.last,n!==null?n.sibling=g:i.child=g,m.last=g)}return m.tail!==null?(i=m.tail,m.rendering=i,m.tail=i.sibling,m.renderingStartTime=Mn(),i.sibling=null,n=Jt.current,U(Jt,f?n&1|2:n&1),i):(Pe(i),null);case 22:case 23:return ui(i),Tc(),f=i.memoizedState!==null,n!==null?n.memoizedState!==null!==f&&(i.flags|=8192):f&&(i.flags|=8192),f?(r&536870912)!==0&&(i.flags&128)===0&&(Pe(i),i.subtreeFlags&6&&(i.flags|=8192)):Pe(i),r=i.updateQueue,r!==null&&gf(i,r.retryQueue),r=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),f=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),f!==r&&(i.flags|=2048),n!==null&&ce(wi),null;case 24:return r=null,n!==null&&(r=n.memoizedState.cache),i.memoizedState.cache!==r&&(i.flags|=2048),Oi(Yn),Pe(i),null;case 25:return null;case 30:return null}throw Error(s(156,i.tag))}function q1(n,i){switch(xi(i),i.tag){case 1:return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 3:return Oi(Yn),Bt(),n=i.flags,(n&65536)!==0&&(n&128)===0?(i.flags=n&-65537|128,i):null;case 26:case 27:case 5:return Oa(i),null;case 13:if(ui(i),n=i.memoizedState,n!==null&&n.dehydrated!==null){if(i.alternate===null)throw Error(s(340));mc()}return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 19:return ce(Jt),null;case 4:return Bt(),null;case 10:return Oi(i.type),null;case 22:case 23:return ui(i),Tc(),n!==null&&ce(wi),n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 24:return Oi(Yn),null;case 25:return null;default:return null}}function My(n,i){switch(xi(i),i.tag){case 3:Oi(Yn),Bt();break;case 26:case 27:case 5:Oa(i);break;case 4:Bt();break;case 13:ui(i);break;case 19:ce(Jt);break;case 10:Oi(i.type);break;case 22:case 23:ui(i),Tc(),n!==null&&ce(wi);break;case 24:Oi(Yn)}}function vf(n,i){try{var r=i.updateQueue,f=r!==null?r.lastEffect:null;if(f!==null){var m=f.next;r=m;do{if((r.tag&n)===n){f=void 0;var g=r.create,w=r.inst;f=g(),w.destroy=f}r=r.next}while(r!==m)}}catch(M){Vt(i,i.return,M)}}function br(n,i,r){try{var f=i.updateQueue,m=f!==null?f.lastEffect:null;if(m!==null){var g=m.next;f=g;do{if((f.tag&n)===n){var w=f.inst,M=w.destroy;if(M!==void 0){w.destroy=void 0,m=i;var j=r,P=M;try{P()}catch(me){Vt(m,j,me)}}}f=f.next}while(f!==g)}}catch(me){Vt(i,i.return,me)}}function Mh(n){var i=n.updateQueue;if(i!==null){var r=n.stateNode;try{Ps(i,r)}catch(f){Vt(n,n.return,f)}}}function Ny(n,i,r){r.props=gr(n.type,n.memoizedProps),r.state=n.memoizedState;try{r.componentWillUnmount()}catch(f){Vt(n,i,f)}}function Cc(n,i){try{var r=n.ref;if(r!==null){switch(n.tag){case 26:case 27:case 5:var f=n.stateNode;break;case 30:f=n.stateNode;break;default:f=n.stateNode}typeof r=="function"?n.refCleanup=r(f):r.current=f}}catch(m){Vt(n,i,m)}}function ri(n,i){var r=n.ref,f=n.refCleanup;if(r!==null)if(typeof f=="function")try{f()}catch(m){Vt(n,i,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(m){Vt(n,i,m)}else r.current=null}function Dc(n){var i=n.type,r=n.memoizedProps,f=n.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":r.autoFocus&&f.focus();break e;case"img":r.src?f.src=r.src:r.srcSet&&(f.srcset=r.srcSet)}}catch(m){Vt(n,n.return,m)}}function ky(n,i,r){try{var f=n.stateNode;Q1(f,n.type,r,i),f[Ra]=i}catch(m){Vt(n,n.return,m)}}function v0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&wr(n.type)||n.tag===4}function Ul(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||v0(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&wr(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Eo(n,i,r){var f=n.tag;if(f===5||f===6)n=n.stateNode,i?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(n,i):(i=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,i.appendChild(n),r=r._reactRootContainer,r!=null||i.onclick!==null||(i.onclick=Fh));else if(f!==4&&(f===27&&wr(n.type)&&(r=n.stateNode,i=null),n=n.child,n!==null))for(Eo(n,i,r),n=n.sibling;n!==null;)Eo(n,i,r),n=n.sibling}function Nh(n,i,r){var f=n.tag;if(f===5||f===6)n=n.stateNode,i?r.insertBefore(n,i):r.appendChild(n);else if(f!==4&&(f===27&&wr(n.type)&&(r=n.stateNode),n=n.child,n!==null))for(Nh(n,i,r),n=n.sibling;n!==null;)Nh(n,i,r),n=n.sibling}function kh(n){var i=n.stateNode,r=n.memoizedProps;try{for(var f=n.type,m=i.attributes;m.length;)i.removeAttributeNode(m[0]);tt(i,f,r),i[$n]=n,i[Ra]=r}catch(g){Vt(n,n.return,g)}}var ji=!1,xn=!1,Uh=!1,Hh=typeof WeakSet=="function"?WeakSet:Set,Xn=null;function Uy(n,i){if(n=n.containerInfo,Df=jf,n=Gm(n),Ls(n)){if("selectionStart"in n)var r={start:n.selectionStart,end:n.selectionEnd};else e:{r=(r=n.ownerDocument)&&r.defaultView||window;var f=r.getSelection&&r.getSelection();if(f&&f.rangeCount!==0){r=f.anchorNode;var m=f.anchorOffset,g=f.focusNode;f=f.focusOffset;try{r.nodeType,g.nodeType}catch{r=null;break e}var w=0,M=-1,j=-1,P=0,me=0,ve=n,W=null;t:for(;;){for(var ne;ve!==r||m!==0&&ve.nodeType!==3||(M=w+m),ve!==g||f!==0&&ve.nodeType!==3||(j=w+f),ve.nodeType===3&&(w+=ve.nodeValue.length),(ne=ve.firstChild)!==null;)W=ve,ve=ne;for(;;){if(ve===n)break t;if(W===r&&++P===m&&(M=w),W===g&&++me===f&&(j=w),(ne=ve.nextSibling)!==null)break;ve=W,W=ve.parentNode}ve=ne}r=M===-1||j===-1?null:{start:M,end:j}}else r=null}r=r||{start:0,end:0}}else r=null;for(Mf={focusedElem:n,selectionRange:r},jf=!1,Xn=i;Xn!==null;)if(i=Xn,n=i.child,(i.subtreeFlags&1024)!==0&&n!==null)n.return=i,Xn=n;else for(;Xn!==null;){switch(i=Xn,g=i.alternate,n=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,r=i,m=g.memoizedProps,g=g.memoizedState,f=r.stateNode;try{var Je=gr(r.type,m,r.elementType===r.type);n=f.getSnapshotBeforeUpdate(Je,g),f.__reactInternalSnapshotBeforeUpdate=n}catch($e){Vt(r,r.return,$e)}}break;case 3:if((n&1024)!==0){if(n=i.stateNode.containerInfo,r=n.nodeType,r===9)Nf(n);else if(r===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Nf(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(s(163))}if(n=i.sibling,n!==null){n.return=i.return,Xn=n;break}Xn=i.return}}function Hy(n,i,r){var f=r.flags;switch(r.tag){case 0:case 11:case 15:Li(n,r),f&4&&vf(5,r);break;case 1:if(Li(n,r),f&4)if(n=r.stateNode,i===null)try{n.componentDidMount()}catch(w){Vt(r,r.return,w)}else{var m=gr(r.type,i.memoizedProps);i=i.memoizedState;try{n.componentDidUpdate(m,i,n.__reactInternalSnapshotBeforeUpdate)}catch(w){Vt(r,r.return,w)}}f&64&&Mh(r),f&512&&Cc(r,r.return);break;case 3:if(Li(n,r),f&64&&(n=r.updateQueue,n!==null)){if(i=null,r.child!==null)switch(r.child.tag){case 27:case 5:i=r.child.stateNode;break;case 1:i=r.child.stateNode}try{Ps(n,i)}catch(w){Vt(r,r.return,w)}}break;case 27:i===null&&f&4&&kh(r);case 26:case 5:Li(n,r),i===null&&f&4&&Dc(r),f&512&&Cc(r,r.return);break;case 12:Li(n,r);break;case 13:Li(n,r),f&4&&jh(n,r),f&64&&(n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(r=Y1.bind(null,r),K1(n,r))));break;case 22:if(f=r.memoizedState!==null||ji,!f){i=i!==null&&i.memoizedState!==null||xn,m=ji;var g=xn;ji=f,(xn=i)&&!g?Sr(n,r,(r.subtreeFlags&8772)!==0):Li(n,r),ji=m,xn=g}break;case 30:break;default:Li(n,r)}}function jy(n){var i=n.alternate;i!==null&&(n.alternate=null,jy(i)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(i=n.stateNode,i!==null&&As(i)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var on=null,oa=!1;function Bi(n,i,r){for(r=r.child;r!==null;)Tt(n,i,r),r=r.sibling}function Tt(n,i,r){if(xe&&typeof xe.onCommitFiberUnmount=="function")try{xe.onCommitFiberUnmount(pe,r)}catch{}switch(r.tag){case 26:xn||ri(r,i),Bi(n,i,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:xn||ri(r,i);var f=on,m=oa;wr(r.type)&&(on=r.stateNode,oa=!1),Bi(n,i,r),Pa(r.stateNode),on=f,oa=m;break;case 5:xn||ri(r,i);case 6:if(f=on,m=oa,on=null,Bi(n,i,r),on=f,oa=m,on!==null)if(oa)try{(on.nodeType===9?on.body:on.nodeName==="HTML"?on.ownerDocument.body:on).removeChild(r.stateNode)}catch(g){Vt(r,i,g)}else try{on.removeChild(r.stateNode)}catch(g){Vt(r,i,g)}break;case 18:on!==null&&(oa?(n=on,ep(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,r.stateNode),Ii(n)):ep(on,r.stateNode));break;case 4:f=on,m=oa,on=r.stateNode.containerInfo,oa=!0,Bi(n,i,r),on=f,oa=m;break;case 0:case 11:case 14:case 15:xn||br(2,r,i),xn||br(4,r,i),Bi(n,i,r);break;case 1:xn||(ri(r,i),f=r.stateNode,typeof f.componentWillUnmount=="function"&&Ny(r,i,f)),Bi(n,i,r);break;case 21:Bi(n,i,r);break;case 22:xn=(f=xn)||r.memoizedState!==null,Bi(n,i,r),xn=f;break;default:Bi(n,i,r)}}function jh(n,i){if(i.memoizedState===null&&(n=i.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Ii(n)}catch(r){Vt(i,i.return,r)}}function By(n){switch(n.tag){case 13:case 19:var i=n.stateNode;return i===null&&(i=n.stateNode=new Hh),i;case 22:return n=n.stateNode,i=n._retryCache,i===null&&(i=n._retryCache=new Hh),i;default:throw Error(s(435,n.tag))}}function Bh(n,i){var r=By(n);i.forEach(function(f){var m=V1.bind(null,n,f);r.has(f)||(r.add(f),f.then(m,m))})}function _a(n,i){var r=i.deletions;if(r!==null)for(var f=0;f<r.length;f++){var m=r[f],g=n,w=i,M=w;e:for(;M!==null;){switch(M.tag){case 27:if(wr(M.type)){on=M.stateNode,oa=!1;break e}break;case 5:on=M.stateNode,oa=!1;break e;case 3:case 4:on=M.stateNode.containerInfo,oa=!0;break e}M=M.return}if(on===null)throw Error(s(160));Tt(g,w,m),on=null,oa=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)bf(i,n),i=i.sibling}var Ca=null;function bf(n,i){var r=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:_a(i,n),Wn(n),f&4&&(br(3,n,n.return),vf(3,n),br(5,n,n.return));break;case 1:_a(i,n),Wn(n),f&512&&(xn||r===null||ri(r,r.return)),f&64&&ji&&(n=n.updateQueue,n!==null&&(f=n.callbacks,f!==null&&(r=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=r===null?f:r.concat(f))));break;case 26:var m=Ca;if(_a(i,n),Wn(n),f&512&&(xn||r===null||ri(r,r.return)),f&4){var g=r!==null?r.memoizedState:null;if(f=n.memoizedState,r===null)if(f===null)if(n.stateNode===null){e:{f=n.type,r=n.memoizedProps,m=m.ownerDocument||m;t:switch(f){case"title":g=m.getElementsByTagName("title")[0],(!g||g[Be]||g[$n]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(f),m.head.insertBefore(g,m.querySelector("head > title"))),tt(g,f,r),g[$n]=n,qn(g),f=g;break e;case"link":var w=fg("link","href",m).get(f+(r.href||""));if(w){for(var M=0;M<w.length;M++)if(g=w[M],g.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&g.getAttribute("rel")===(r.rel==null?null:r.rel)&&g.getAttribute("title")===(r.title==null?null:r.title)&&g.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){w.splice(M,1);break t}}g=m.createElement(f),tt(g,f,r),m.head.appendChild(g);break;case"meta":if(w=fg("meta","content",m).get(f+(r.content||""))){for(M=0;M<w.length;M++)if(g=w[M],g.getAttribute("content")===(r.content==null?null:""+r.content)&&g.getAttribute("name")===(r.name==null?null:r.name)&&g.getAttribute("property")===(r.property==null?null:r.property)&&g.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&g.getAttribute("charset")===(r.charSet==null?null:r.charSet)){w.splice(M,1);break t}}g=m.createElement(f),tt(g,f,r),m.head.appendChild(g);break;default:throw Error(s(468,f))}g[$n]=n,qn(g),f=g}n.stateNode=f}else dg(m,n.type,n.stateNode);else n.stateNode=U0(m,f,n.memoizedProps);else g!==f?(g===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):g.count--,f===null?dg(m,n.type,n.stateNode):U0(m,f,n.memoizedProps)):f===null&&n.stateNode!==null&&ky(n,n.memoizedProps,r.memoizedProps)}break;case 27:_a(i,n),Wn(n),f&512&&(xn||r===null||ri(r,r.return)),r!==null&&f&4&&ky(n,n.memoizedProps,r.memoizedProps);break;case 5:if(_a(i,n),Wn(n),f&512&&(xn||r===null||ri(r,r.return)),n.flags&32){m=n.stateNode;try{nc(m,"")}catch(ne){Vt(n,n.return,ne)}}f&4&&n.stateNode!=null&&(m=n.memoizedProps,ky(n,m,r!==null?r.memoizedProps:m)),f&1024&&(Uh=!0);break;case 6:if(_a(i,n),Wn(n),f&4){if(n.stateNode===null)throw Error(s(162));f=n.memoizedProps,r=n.stateNode;try{r.nodeValue=f}catch(ne){Vt(n,n.return,ne)}}break;case 3:if(Dr=null,m=Ca,Ca=tp(i.containerInfo),_a(i,n),Ca=m,Wn(n),f&4&&r!==null&&r.memoizedState.isDehydrated)try{Ii(i.containerInfo)}catch(ne){Vt(n,n.return,ne)}Uh&&(Uh=!1,Ly(n));break;case 4:f=Ca,Ca=tp(n.stateNode.containerInfo),_a(i,n),Wn(n),Ca=f;break;case 12:_a(i,n),Wn(n);break;case 13:_a(i,n),Wn(n),n.child.flags&8192&&n.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Iy=Mn()),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,Bh(n,f)));break;case 22:m=n.memoizedState!==null;var j=r!==null&&r.memoizedState!==null,P=ji,me=xn;if(ji=P||m,xn=me||j,_a(i,n),xn=me,ji=P,Wn(n),f&8192)e:for(i=n.stateNode,i._visibility=m?i._visibility&-2:i._visibility|1,m&&(r===null||j||ji||xn||cn(n)),r=null,i=n;;){if(i.tag===5||i.tag===26){if(r===null){j=r=i;try{if(g=j.stateNode,m)w=g.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{M=j.stateNode;var ve=j.memoizedProps.style,W=ve!=null&&ve.hasOwnProperty("display")?ve.display:null;M.style.display=W==null||typeof W=="boolean"?"":(""+W).trim()}}catch(ne){Vt(j,j.return,ne)}}}else if(i.tag===6){if(r===null){j=i;try{j.stateNode.nodeValue=m?"":j.memoizedProps}catch(ne){Vt(j,j.return,ne)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===n)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break e;for(;i.sibling===null;){if(i.return===null||i.return===n)break e;r===i&&(r=null),i=i.return}r===i&&(r=null),i.sibling.return=i.return,i=i.sibling}f&4&&(f=n.updateQueue,f!==null&&(r=f.retryQueue,r!==null&&(f.retryQueue=null,Bh(n,r))));break;case 19:_a(i,n),Wn(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,Bh(n,f)));break;case 30:break;case 21:break;default:_a(i,n),Wn(n)}}function Wn(n){var i=n.flags;if(i&2){try{for(var r,f=n.return;f!==null;){if(v0(f)){r=f;break}f=f.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var m=r.stateNode,g=Ul(n);Nh(n,g,m);break;case 5:var w=r.stateNode;r.flags&32&&(nc(w,""),r.flags&=-33);var M=Ul(n);Nh(n,M,w);break;case 3:case 4:var j=r.stateNode.containerInfo,P=Ul(n);Eo(n,P,j);break;default:throw Error(s(161))}}catch(me){Vt(n,n.return,me)}n.flags&=-3}i&4096&&(n.flags&=-4097)}function Ly(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var i=n;Ly(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),n=n.sibling}}function Li(n,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)Hy(n,i.alternate,i),i=i.sibling}function cn(n){for(n=n.child;n!==null;){var i=n;switch(i.tag){case 0:case 11:case 14:case 15:br(4,i,i.return),cn(i);break;case 1:ri(i,i.return);var r=i.stateNode;typeof r.componentWillUnmount=="function"&&Ny(i,i.return,r),cn(i);break;case 27:Pa(i.stateNode);case 26:case 5:ri(i,i.return),cn(i);break;case 22:i.memoizedState===null&&cn(i);break;case 30:cn(i);break;default:cn(i)}n=n.sibling}}function Sr(n,i,r){for(r=r&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var f=i.alternate,m=n,g=i,w=g.flags;switch(g.tag){case 0:case 11:case 15:Sr(m,g,r),vf(4,g);break;case 1:if(Sr(m,g,r),f=g,m=f.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(P){Vt(f,f.return,P)}if(f=g,m=f.updateQueue,m!==null){var M=f.stateNode;try{var j=m.shared.hiddenCallbacks;if(j!==null)for(m.shared.hiddenCallbacks=null,m=0;m<j.length;m++)eh(j[m],M)}catch(P){Vt(f,f.return,P)}}r&&w&64&&Mh(g),Cc(g,g.return);break;case 27:kh(g);case 26:case 5:Sr(m,g,r),r&&f===null&&w&4&&Dc(g),Cc(g,g.return);break;case 12:Sr(m,g,r);break;case 13:Sr(m,g,r),r&&w&4&&jh(m,g);break;case 22:g.memoizedState===null&&Sr(m,g,r),Cc(g,g.return);break;case 30:break;default:Sr(m,g,r)}i=i.sibling}}function Hl(n,i){var r=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),n=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(n=i.memoizedState.cachePool.pool),n!==r&&(n!=null&&n.refCount++,r!=null&&Ri(r))}function Lh(n,i){n=null,i.alternate!==null&&(n=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==n&&(i.refCount++,n!=null&&Ri(n))}function ca(n,i,r,f){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Zy(n,i,r,f),i=i.sibling}function Zy(n,i,r,f){var m=i.flags;switch(i.tag){case 0:case 11:case 15:ca(n,i,r,f),m&2048&&vf(9,i);break;case 1:ca(n,i,r,f);break;case 3:ca(n,i,r,f),m&2048&&(n=null,i.alternate!==null&&(n=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==n&&(i.refCount++,n!=null&&Ri(n)));break;case 12:if(m&2048){ca(n,i,r,f),n=i.stateNode;try{var g=i.memoizedProps,w=g.id,M=g.onPostCommit;typeof M=="function"&&M(w,i.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(j){Vt(i,i.return,j)}}else ca(n,i,r,f);break;case 13:ca(n,i,r,f);break;case 23:break;case 22:g=i.stateNode,w=i.alternate,i.memoizedState!==null?g._visibility&2?ca(n,i,r,f):Ut(n,i):g._visibility&2?ca(n,i,r,f):(g._visibility|=2,xu(n,i,r,f,(i.subtreeFlags&10256)!==0)),m&2048&&Hl(w,i);break;case 24:ca(n,i,r,f),m&2048&&Lh(i.alternate,i);break;default:ca(n,i,r,f)}}function xu(n,i,r,f,m){for(m=m&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var g=n,w=i,M=r,j=f,P=w.flags;switch(w.tag){case 0:case 11:case 15:xu(g,w,M,j,m),vf(8,w);break;case 23:break;case 22:var me=w.stateNode;w.memoizedState!==null?me._visibility&2?xu(g,w,M,j,m):Ut(g,w):(me._visibility|=2,xu(g,w,M,j,m)),m&&P&2048&&Hl(w.alternate,w);break;case 24:xu(g,w,M,j,m),m&&P&2048&&Lh(w.alternate,w);break;default:xu(g,w,M,j,m)}i=i.sibling}}function Ut(n,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var r=n,f=i,m=f.flags;switch(f.tag){case 22:Ut(r,f),m&2048&&Hl(f.alternate,f);break;case 24:Ut(r,f),m&2048&&Lh(f.alternate,f);break;default:Ut(r,f)}i=i.sibling}}var To=8192;function On(n){if(n.subtreeFlags&To)for(n=n.child;n!==null;)b0(n),n=n.sibling}function b0(n){switch(n.tag){case 26:On(n),n.flags&To&&n.memoizedState!==null&&B0(Ca,n.memoizedState,n.memoizedProps);break;case 5:On(n);break;case 3:case 4:var i=Ca;Ca=tp(n.stateNode.containerInfo),On(n),Ca=i;break;case 22:n.memoizedState===null&&(i=n.alternate,i!==null&&i.memoizedState!==null?(i=To,To=16777216,On(n),To=i):On(n));break;default:On(n)}}function qy(n){var i=n.alternate;if(i!==null&&(n=i.child,n!==null)){i.child=null;do i=n.sibling,n.sibling=null,n=i;while(n!==null)}}function Ao(n){var i=n.deletions;if((n.flags&16)!==0){if(i!==null)for(var r=0;r<i.length;r++){var f=i[r];Xn=f,Vy(f,n)}qy(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Yy(n),n=n.sibling}function Yy(n){switch(n.tag){case 0:case 11:case 15:Ao(n),n.flags&2048&&br(9,n,n.return);break;case 3:Ao(n);break;case 12:Ao(n);break;case 22:var i=n.stateNode;n.memoizedState!==null&&i._visibility&2&&(n.return===null||n.return.tag!==13)?(i._visibility&=-3,Da(n)):Ao(n);break;default:Ao(n)}}function Da(n){var i=n.deletions;if((n.flags&16)!==0){if(i!==null)for(var r=0;r<i.length;r++){var f=i[r];Xn=f,Vy(f,n)}qy(n)}for(n=n.child;n!==null;){switch(i=n,i.tag){case 0:case 11:case 15:br(8,i,i.return),Da(i);break;case 22:r=i.stateNode,r._visibility&2&&(r._visibility&=-3,Da(i));break;default:Da(i)}n=n.sibling}}function Vy(n,i){for(;Xn!==null;){var r=Xn;switch(r.tag){case 0:case 11:case 15:br(8,r,i);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var f=r.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:Ri(r.memoizedState.cache)}if(f=r.child,f!==null)f.return=r,Xn=f;else e:for(r=n;Xn!==null;){f=Xn;var m=f.sibling,g=f.return;if(jy(f),f===r){Xn=null;break e}if(m!==null){m.return=g,Xn=m;break e}Xn=g}}}var Gy={getCacheForType:function(n){var i=Kn(Yn),r=i.data.get(n);return r===void 0&&(r=n(),i.data.set(n,r)),r}},S0=typeof WeakMap=="function"?WeakMap:Map,Zt=0,Pt=null,At=null,xt=0,qt=0,Ja=null,Zi=!1,Mc=!1,Xy=!1,Ou=0,Rn=0,Ru=0,xo=0,qi=0,jl=0,Nc=0,kc=null,$a=null,Qy=!1,Iy=0,Zh=1/0,Uc=null,Er=null,sa=0,Yi=null,Hc=null,fa=0,qh=0,Yh=null,Jy=null,jc=0,$y=null;function sl(){if((Zt&2)!==0&&xt!==0)return xt&-xt;if(L.T!==null){var n=Ml;return n!==0?n:zo()}return Sd()}function Ky(){jl===0&&(jl=(xt&536870912)===0||Nt?we():536870912);var n=cl.current;return n!==null&&(n.flags|=32),jl}function fl(n,i,r){(n===Pt&&(qt===2||qt===9)||n.cancelPendingCommit!==null)&&(Vi(n,0),wu(n,xt,jl,!1)),lt(n,r),((Zt&2)===0||n!==Pt)&&(n===Pt&&((Zt&2)===0&&(xo|=r),Rn===4&&wu(n,xt,jl,!1)),Ka(n))}function Bc(n,i,r){if((Zt&6)!==0)throw Error(s(327));var f=!r&&(i&124)===0&&(i&n.expiredLanes)===0||C(n,i),m=f?Fy(n,i):Vh(n,i,!0),g=f;do{if(m===0){Mc&&!f&&wu(n,i,0,!1);break}else{if(r=n.current.alternate,g&&!E0(r)){m=Vh(n,i,!1),g=!1;continue}if(m===2){if(g=i,n.errorRecoveryDisabledLanes&g)var w=0;else w=n.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){i=w;e:{var M=n;m=kc;var j=M.current.memoizedState.isDehydrated;if(j&&(Vi(M,w).flags|=256),w=Vh(M,w,!1),w!==2){if(Xy&&!j){M.errorRecoveryDisabledLanes|=g,xo|=g,m=4;break e}g=$a,$a=m,g!==null&&($a===null?$a=g:$a.push.apply($a,g))}m=w}if(g=!1,m!==2)continue}}if(m===1){Vi(n,0),wu(n,i,0,!0);break}e:{switch(f=n,g=m,g){case 0:case 1:throw Error(s(345));case 4:if((i&4194048)!==i)break;case 6:wu(f,i,jl,!Zi);break e;case 2:$a=null;break;case 3:case 5:break;default:throw Error(s(329))}if((i&62914560)===i&&(m=Iy+300-Mn(),10<m)){if(wu(f,i,jl,!Zi),en(f,0,!0)!==0)break e;f.timeoutHandle=Wh(Sf.bind(null,f,r,$a,Uc,Qy,i,jl,xo,Nc,Zi,g,2,-0,0),m);break e}Sf(f,r,$a,Uc,Qy,i,jl,xo,Nc,Zi,g,0,-0,0)}}break}while(!0);Ka(n)}function Sf(n,i,r,f,m,g,w,M,j,P,me,ve,W,ne){if(n.timeoutHandle=-1,ve=i.subtreeFlags,(ve&8192||(ve&16785408)===16785408)&&(Kc={stylesheets:null,count:0,unsuspend:j0},b0(i),ve=pg(),ve!==null)){n.cancelPendingCommit=ve(x0.bind(null,n,i,g,r,f,m,w,M,j,me,1,W,ne)),wu(n,g,w,!P);return}x0(n,i,g,r,f,m,w,M,j)}function E0(n){for(var i=n;;){var r=i.tag;if((r===0||r===11||r===15)&&i.flags&16384&&(r=i.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var f=0;f<r.length;f++){var m=r[f],g=m.getSnapshot;m=m.value;try{if(!ra(g(),m))return!1}catch{return!1}}if(r=i.child,i.subtreeFlags&16384&&r!==null)r.return=i,i=r;else{if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function wu(n,i,r,f){i&=~qi,i&=~xo,n.suspendedLanes|=i,n.pingedLanes&=~i,f&&(n.warmLanes|=i),f=n.expirationTimes;for(var m=i;0<m;){var g=31-Ke(m),w=1<<g;f[g]=-1,m&=~w}r!==0&&zt(n,r,i)}function Oo(){return(Zt&6)===0?(xf(0),!1):!0}function Tr(){if(At!==null){if(qt===0)var n=At.return;else n=At,ai=gu=null,lh(n),mo=null,Oc=0,n=At;for(;n!==null;)My(n.alternate,n),n=n.return;At=null}}function Vi(n,i){var r=n.timeoutHandle;r!==-1&&(n.timeoutHandle=-1,I1(r)),r=n.cancelPendingCommit,r!==null&&(n.cancelPendingCommit=null,r()),Tr(),Pt=n,At=r=ti(n.current,null),xt=i,qt=0,Ja=null,Zi=!1,Mc=C(n,i),Xy=!1,Nc=jl=qi=xo=Ru=Rn=0,$a=kc=null,Qy=!1,(i&8)!==0&&(i|=i&32);var f=n.entangledLanes;if(f!==0)for(n=n.entanglements,f&=i;0<f;){var m=31-Ke(f),g=1<<m;i|=n[m],f&=~g}return Ou=i,ei(),r}function Py(n,i){st=null,L.H=bh,i===dr||i===$s?(i=ty(),qt=3):i===$d?(i=ty(),qt=4):qt=i===An?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Ja=i,At===null&&(Rn=1,pf(n,ul(i,n.current)))}function T0(){var n=L.H;return L.H=bh,n===null?bh:n}function Ro(){var n=L.A;return L.A=Gy,n}function wo(){Rn=4,Zi||(xt&4194048)!==xt&&cl.current!==null||(Mc=!0),(Ru&134217727)===0&&(xo&134217727)===0||Pt===null||wu(Pt,xt,jl,!1)}function Vh(n,i,r){var f=Zt;Zt|=2;var m=T0(),g=Ro();(Pt!==n||xt!==i)&&(Uc=null,Vi(n,i)),i=!1;var w=Rn;e:do try{if(qt!==0&&At!==null){var M=At,j=Ja;switch(qt){case 8:Tr(),w=6;break e;case 3:case 2:case 9:case 6:cl.current===null&&(i=!0);var P=qt;if(qt=0,Ja=null,Lc(n,M,j,P),r&&Mc){w=0;break e}break;default:P=qt,qt=0,Ja=null,Lc(n,M,j,P)}}Gh(),w=Rn;break}catch(me){Py(n,me)}while(!0);return i&&n.shellSuspendCounter++,ai=gu=null,Zt=f,L.H=m,L.A=g,At===null&&(Pt=null,xt=0,ei()),w}function Gh(){for(;At!==null;)eg(At)}function Fy(n,i){var r=Zt;Zt|=2;var f=T0(),m=Ro();Pt!==n||xt!==i?(Uc=null,Zh=Mn()+500,Vi(n,i)):Mc=C(n,i);e:do try{if(qt!==0&&At!==null){i=At;var g=Ja;t:switch(qt){case 1:qt=0,Ja=null,Lc(n,i,g,1);break;case 2:case 9:if(Pd(g)){qt=0,Ja=null,tg(i);break}i=function(){qt!==2&&qt!==9||Pt!==n||(qt=7),Ka(n)},g.then(i,i);break e;case 3:qt=7;break e;case 4:qt=5;break e;case 7:Pd(g)?(qt=0,Ja=null,tg(i)):(qt=0,Ja=null,Lc(n,i,g,7));break;case 5:var w=null;switch(At.tag){case 26:w=At.memoizedState;case 5:case 27:var M=At;if(!w||hg(w)){qt=0,Ja=null;var j=M.sibling;if(j!==null)At=j;else{var P=M.return;P!==null?(At=P,Ef(P)):At=null}break t}}qt=0,Ja=null,Lc(n,i,g,5);break;case 6:qt=0,Ja=null,Lc(n,i,g,6);break;case 8:Tr(),Rn=6;break e;default:throw Error(s(462))}}Wy();break}catch(me){Py(n,me)}while(!0);return ai=gu=null,L.H=f,L.A=m,Zt=r,At!==null?0:(Pt=null,xt=0,ei(),Rn)}function Wy(){for(;At!==null&&!Iu();)eg(At)}function eg(n){var i=g0(n.alternate,n,Ou);n.memoizedProps=n.pendingProps,i===null?Ef(n):At=i}function tg(n){var i=n,r=i.alternate;switch(i.tag){case 15:case 0:i=wy(r,i,i.pendingProps,i.type,void 0,xt);break;case 11:i=wy(r,i,i.pendingProps,i.type.render,i.ref,xt);break;case 5:lh(i);default:My(r,i),i=At=bt(i,Ou),i=g0(r,i,Ou)}n.memoizedProps=n.pendingProps,i===null?Ef(n):At=i}function Lc(n,i,r,f){ai=gu=null,lh(i),mo=null,Oc=0;var m=i.return;try{if(p0(n,m,i,r,xt)){Rn=1,pf(n,ul(r,n.current)),At=null;return}}catch(g){if(m!==null)throw At=m,g;Rn=1,pf(n,ul(r,n.current)),At=null;return}i.flags&32768?(Nt||f===1?n=!0:Mc||(xt&536870912)!==0?n=!1:(Zi=n=!0,(f===2||f===9||f===3||f===6)&&(f=cl.current,f!==null&&f.tag===13&&(f.flags|=16384))),A0(i,n)):Ef(i)}function Ef(n){var i=n;do{if((i.flags&32768)!==0){A0(i,Zi);return}n=i.return;var r=Dy(i.alternate,i,Ou);if(r!==null){At=r;return}if(i=i.sibling,i!==null){At=i;return}At=i=n}while(i!==null);Rn===0&&(Rn=5)}function A0(n,i){do{var r=q1(n.alternate,n);if(r!==null){r.flags&=32767,At=r;return}if(r=n.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!i&&(n=n.sibling,n!==null)){At=n;return}At=n=r}while(n!==null);Rn=6,At=null}function x0(n,i,r,f,m,g,w,M,j){n.cancelPendingCommit=null;do Qh();while(sa!==0);if((Zt&6)!==0)throw Error(s(327));if(i!==null){if(i===n.current)throw Error(s(177));if(g=i.lanes|i.childLanes,g|=Ti,ct(n,r,g,w,M,j),n===Pt&&(At=Pt=null,xt=0),Hc=i,Yi=n,fa=r,qh=g,Yh=m,Jy=f,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,G1(xl,function(){return ng(),null})):(n.callbackNode=null,n.callbackPriority=0),f=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||f){f=L.T,L.T=null,m=ie.p,ie.p=2,w=Zt,Zt|=4;try{Uy(n,i,r)}finally{Zt=w,ie.p=m,L.T=f}}sa=1,O0(),Tf(),Xh()}}function O0(){if(sa===1){sa=0;var n=Yi,i=Hc,r=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||r){r=L.T,L.T=null;var f=ie.p;ie.p=2;var m=Zt;Zt|=4;try{bf(i,n);var g=Mf,w=Gm(n.containerInfo),M=g.focusedElem,j=g.selectionRange;if(w!==M&&M&&M.ownerDocument&&Bs(M.ownerDocument.documentElement,M)){if(j!==null&&Ls(M)){var P=j.start,me=j.end;if(me===void 0&&(me=P),"selectionStart"in M)M.selectionStart=P,M.selectionEnd=Math.min(me,M.value.length);else{var ve=M.ownerDocument||document,W=ve&&ve.defaultView||window;if(W.getSelection){var ne=W.getSelection(),Je=M.textContent.length,$e=Math.min(j.start,Je),Ht=j.end===void 0?$e:Math.min(j.end,Je);!ne.extend&&$e>Ht&&(w=Ht,Ht=$e,$e=w);var J=tn(M,$e),X=tn(M,Ht);if(J&&X&&(ne.rangeCount!==1||ne.anchorNode!==J.node||ne.anchorOffset!==J.offset||ne.focusNode!==X.node||ne.focusOffset!==X.offset)){var K=ve.createRange();K.setStart(J.node,J.offset),ne.removeAllRanges(),$e>Ht?(ne.addRange(K),ne.extend(X.node,X.offset)):(K.setEnd(X.node,X.offset),ne.addRange(K))}}}}for(ve=[],ne=M;ne=ne.parentNode;)ne.nodeType===1&&ve.push({element:ne,left:ne.scrollLeft,top:ne.scrollTop});for(typeof M.focus=="function"&&M.focus(),M=0;M<ve.length;M++){var ye=ve[M];ye.element.scrollLeft=ye.left,ye.element.scrollTop=ye.top}}jf=!!Df,Mf=Df=null}finally{Zt=m,ie.p=f,L.T=r}}n.current=i,sa=2}}function Tf(){if(sa===2){sa=0;var n=Yi,i=Hc,r=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||r){r=L.T,L.T=null;var f=ie.p;ie.p=2;var m=Zt;Zt|=4;try{Hy(n,i.alternate,i)}finally{Zt=m,ie.p=f,L.T=r}}sa=3}}function Xh(){if(sa===4||sa===3){sa=0,pn();var n=Yi,i=Hc,r=fa,f=Jy;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?sa=5:(sa=0,Hc=Yi=null,R0(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Er=null),Jl(r),i=i.stateNode,xe&&typeof xe.onCommitFiberRoot=="function")try{xe.onCommitFiberRoot(pe,i,void 0,(i.current.flags&128)===128)}catch{}if(f!==null){i=L.T,m=ie.p,ie.p=2,L.T=null;try{for(var g=n.onRecoverableError,w=0;w<f.length;w++){var M=f[w];g(M.value,{componentStack:M.stack})}}finally{L.T=i,ie.p=m}}(fa&3)!==0&&Qh(),Ka(n),m=n.pendingLanes,(r&4194090)!==0&&(m&42)!==0?n===$y?jc++:(jc=0,$y=n):jc=0,xf(0)}}function R0(n,i){(n.pooledCacheLanes&=i)===0&&(i=n.pooledCache,i!=null&&(n.pooledCache=null,Ri(i)))}function Qh(n){return O0(),Tf(),Xh(),ng()}function ng(){if(sa!==5)return!1;var n=Yi,i=qh;qh=0;var r=Jl(fa),f=L.T,m=ie.p;try{ie.p=32>r?32:r,L.T=null,r=Yh,Yh=null;var g=Yi,w=fa;if(sa=0,Hc=Yi=null,fa=0,(Zt&6)!==0)throw Error(s(331));var M=Zt;if(Zt|=4,Yy(g.current),Zy(g,g.current,w,r),Zt=M,xf(0,!1),xe&&typeof xe.onPostCommitFiberRoot=="function")try{xe.onPostCommitFiberRoot(pe,g)}catch{}return!0}finally{ie.p=m,L.T=f,R0(n,i)}}function ag(n,i,r){i=ul(r,i),i=Oy(n.stateNode,i,2),n=_i(n,i,2),n!==null&&(lt(n,2),Ka(n))}function Vt(n,i,r){if(n.tag===3)ag(n,n,r);else for(;i!==null;){if(i.tag===3){ag(i,n,r);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Er===null||!Er.has(f))){n=ul(r,n),r=Ry(2),f=_i(i,r,2),f!==null&&(Ia(r,f,i,n),lt(f,2),Ka(f));break}}i=i.return}}function Ih(n,i,r){var f=n.pingCache;if(f===null){f=n.pingCache=new S0;var m=new Set;f.set(i,m)}else m=f.get(i),m===void 0&&(m=new Set,f.set(i,m));m.has(r)||(Xy=!0,m.add(r),n=lg.bind(null,n,i,r),i.then(n,n))}function lg(n,i,r){var f=n.pingCache;f!==null&&f.delete(i),n.pingedLanes|=n.suspendedLanes&r,n.warmLanes&=~r,Pt===n&&(xt&r)===r&&(Rn===4||Rn===3&&(xt&62914560)===xt&&300>Mn()-Iy?(Zt&2)===0&&Vi(n,0):qi|=r,Nc===xt&&(Nc=0)),Ka(n)}function ig(n,i){i===0&&(i=De()),n=Ai(n,i),n!==null&&(lt(n,i),Ka(n))}function Y1(n){var i=n.memoizedState,r=0;i!==null&&(r=i.retryLane),ig(n,r)}function V1(n,i){var r=0;switch(n.tag){case 13:var f=n.stateNode,m=n.memoizedState;m!==null&&(r=m.retryLane);break;case 19:f=n.stateNode;break;case 22:f=n.stateNode._retryCache;break;default:throw Error(s(314))}f!==null&&f.delete(i),ig(n,r)}function G1(n,i){return Al(n,i)}var Jh=null,Ar=null,Af=!1,Zc=!1,$h=!1,xr=0;function Ka(n){n!==Ar&&n.next===null&&(Ar===null?Jh=Ar=n:Ar=Ar.next=n),Zc=!0,Af||(Af=!0,_0())}function xf(n,i){if(!$h&&Zc){$h=!0;do for(var r=!1,f=Jh;f!==null;){if(n!==0){var m=f.pendingLanes;if(m===0)var g=0;else{var w=f.suspendedLanes,M=f.pingedLanes;g=(1<<31-Ke(42|n)+1)-1,g&=m&~(w&~M),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(r=!0,Rf(f,g))}else g=xt,g=en(f,f===Pt?g:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(g&3)===0||C(f,g)||(r=!0,Rf(f,g));f=f.next}while(r);$h=!1}}function w0(){Of()}function Of(){Zc=Af=!1;var n=0;xr!==0&&(Cu()&&(n=xr),xr=0);for(var i=Mn(),r=null,f=Jh;f!==null;){var m=f.next,g=ug(f,i);g===0?(f.next=null,r===null?Jh=m:r.next=m,m===null&&(Ar=r)):(r=f,(n!==0||(g&3)!==0)&&(Zc=!0)),f=m}xf(n)}function ug(n,i){for(var r=n.suspendedLanes,f=n.pingedLanes,m=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var w=31-Ke(g),M=1<<w,j=m[w];j===-1?((M&r)===0||(M&f)!==0)&&(m[w]=I(M,i)):j<=i&&(n.expiredLanes|=M),g&=~M}if(i=Pt,r=xt,r=en(n,n===i?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f=n.callbackNode,r===0||n===i&&(qt===2||qt===9)||n.cancelPendingCommit!==null)return f!==null&&f!==null&&Qu(f),n.callbackNode=null,n.callbackPriority=0;if((r&3)===0||C(n,r)){if(i=r&-r,i===n.callbackPriority)return i;switch(f!==null&&Qu(f),Jl(r)){case 2:case 8:r=rt;break;case 32:r=xl;break;case 268435456:r=Il;break;default:r=xl}return f=z0.bind(null,n),r=Al(r,f),n.callbackPriority=i,n.callbackNode=r,i}return f!==null&&f!==null&&Qu(f),n.callbackPriority=2,n.callbackNode=null,2}function z0(n,i){if(sa!==0&&sa!==5)return n.callbackNode=null,n.callbackPriority=0,null;var r=n.callbackNode;if(Qh()&&n.callbackNode!==r)return null;var f=xt;return f=en(n,n===Pt?f:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f===0?null:(Bc(n,f,i),ug(n,Mn()),n.callbackNode!=null&&n.callbackNode===r?z0.bind(null,n):null)}function Rf(n,i){if(Qh())return null;Bc(n,i,!0)}function _0(){J1(function(){(Zt&6)!==0?Al(Br,w0):Of()})}function zo(){return xr===0&&(xr=we()),xr}function Kh(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Cs(""+n)}function wf(n,i){var r=i.ownerDocument.createElement("input");return r.name=i.name,r.value=i.value,n.id&&r.setAttribute("form",n.id),i.parentNode.insertBefore(r,i),n=new FormData(n),r.parentNode.removeChild(r),n}function C0(n,i,r,f,m){if(i==="submit"&&r&&r.stateNode===m){var g=Kh((m[Ra]||null).action),w=f.submitter;w&&(i=(i=w[Ra]||null)?Kh(i.formAction):w.getAttribute("formAction"),i!==null&&(g=i,w=null));var M=new Md("action","action",null,f,m);n.push({event:M,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(xr!==0){var j=w?wf(m,w):new FormData(m);vh(r,{pending:!0,data:j,method:m.method,action:g},null,j)}}else typeof g=="function"&&(M.preventDefault(),j=w?wf(m,w):new FormData(m),vh(r,{pending:!0,data:j,method:m.method,action:g},g,j))},currentTarget:m}]})}}for(var wn=0;wn<oc.length;wn++){var zf=oc[wn],X1=zf.toLowerCase(),yt=zf[0].toUpperCase()+zf.slice(1);wl(X1,"on"+yt)}wl(Wv,"onAnimationEnd"),wl(Xm,"onAnimationIteration"),wl(e0,"onAnimationStart"),wl("dblclick","onDoubleClick"),wl("focusin","onFocus"),wl("focusout","onBlur"),wl(Qm,"onTransitionRun"),wl(qd,"onTransitionStart"),wl(t0,"onTransitionCancel"),wl(Im,"onTransitionEnd"),Ku("onMouseEnter",["mouseout","mouseover"]),Ku("onMouseLeave",["mouseout","mouseover"]),Ku("onPointerEnter",["pointerout","pointerover"]),Ku("onPointerLeave",["pointerout","pointerover"]),$u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$u("onBeforeInput",["compositionend","keypress","textInput","paste"]),$u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _f="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(" "),Or=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(_f));function _o(n,i){i=(i&4)!==0;for(var r=0;r<n.length;r++){var f=n[r],m=f.event;f=f.listeners;e:{var g=void 0;if(i)for(var w=f.length-1;0<=w;w--){var M=f[w],j=M.instance,P=M.currentTarget;if(M=M.listener,j!==g&&m.isPropagationStopped())break e;g=M,m.currentTarget=P;try{g(m)}catch(me){df(me)}m.currentTarget=null,g=j}else for(w=0;w<f.length;w++){if(M=f[w],j=M.instance,P=M.currentTarget,M=M.listener,j!==g&&m.isPropagationStopped())break e;g=M,m.currentTarget=P;try{g(m)}catch(me){df(me)}m.currentTarget=null,g=j}}}}function ft(n,i){var r=i[Ed];r===void 0&&(r=i[Ed]=new Set);var f=n+"__bubble";r.has(f)||(Ph(i,n,2,!1),r.add(f))}function qc(n,i,r){var f=0;i&&(f|=4),Ph(r,n,f,i)}var Yc="_reactListening"+Math.random().toString(36).slice(2);function rg(n){if(!n[Yc]){n[Yc]=!0,Os.forEach(function(r){r!=="selectionchange"&&(Or.has(r)||qc(r,!1,n),qc(r,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[Yc]||(i[Yc]=!0,qc("selectionchange",!1,i))}}function Ph(n,i,r,f){switch(Tg(i)){case 2:var m=L0;break;case 8:m=Z0;break;default:m=Sg}r=m.bind(null,i,r,n),m=void 0,!_d||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(m=!0),f?m!==void 0?n.addEventListener(i,r,{capture:!0,passive:m}):n.addEventListener(i,r,!0):m!==void 0?n.addEventListener(i,r,{passive:m}):n.addEventListener(i,r,!1)}function Bl(n,i,r,f,m){var g=f;if((i&1)===0&&(i&2)===0&&f!==null)e:for(;;){if(f===null)return;var w=f.tag;if(w===3||w===4){var M=f.stateNode.containerInfo;if(M===m)break;if(w===4)for(w=f.return;w!==null;){var j=w.tag;if((j===3||j===4)&&w.stateNode.containerInfo===m)return;w=w.return}for(;M!==null;){if(w=ia(M),w===null)return;if(j=w.tag,j===5||j===6||j===26||j===27){f=g=w;continue e}M=M.parentNode}}f=f.return}ic(function(){var P=g,me=zd(r),ve=[];e:{var W=Jm.get(n);if(W!==void 0){var ne=Md,Je=n;switch(n){case"keypress":if(ua(r)===0)break e;case"keydown":case"keyup":ne=$l;break;case"focusin":Je="focus",ne=_m;break;case"focusout":Je="blur",ne=_m;break;case"beforeblur":case"afterblur":ne=_m;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ne=zm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=Gv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=Mm;break;case Wv:case Xm:case e0:ne=j1;break;case Im:ne=$v;break;case"scroll":case"scrollend":ne=Yv;break;case"wheel":ne=Pr;break;case"copy":case"cut":case"paste":ne=Ns;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=ks;break;case"toggle":case"beforetoggle":ne=Kv}var $e=(i&4)!==0,Ht=!$e&&(n==="scroll"||n==="scrollend"),J=$e?W!==null?W+"Capture":null:W;$e=[];for(var X=P,K;X!==null;){var ye=X;if(K=ye.stateNode,ye=ye.tag,ye!==5&&ye!==26&&ye!==27||K===null||J===null||(ye=Ir(X,J),ye!=null&&$e.push(zu(X,ye,K))),Ht)break;X=X.return}0<$e.length&&(W=new ne(W,Je,null,r,me),ve.push({event:W,listeners:$e}))}}if((i&7)===0){e:{if(W=n==="mouseover"||n==="pointerover",ne=n==="mouseout"||n==="pointerout",W&&r!==Qr&&(Je=r.relatedTarget||r.fromElement)&&(ia(Je)||Je[ec]))break e;if((ne||W)&&(W=me.window===me?me:(W=me.ownerDocument)?W.defaultView||W.parentWindow:window,ne?(Je=r.relatedTarget||r.toElement,ne=P,Je=Je?ia(Je):null,Je!==null&&(Ht=y(Je),$e=Je.tag,Je!==Ht||$e!==5&&$e!==27&&$e!==6)&&(Je=null)):(ne=null,Je=P),ne!==Je)){if($e=zm,ye="onMouseLeave",J="onMouseEnter",X="mouse",(n==="pointerout"||n==="pointerover")&&($e=ks,ye="onPointerLeave",J="onPointerEnter",X="pointer"),Ht=ne==null?W:xs(ne),K=Je==null?W:xs(Je),W=new $e(ye,X+"leave",ne,r,me),W.target=Ht,W.relatedTarget=K,ye=null,ia(me)===P&&($e=new $e(J,X+"enter",Je,r,me),$e.target=K,$e.relatedTarget=Ht,ye=$e),Ht=ye,ne&&Je)t:{for($e=ne,J=Je,X=0,K=$e;K;K=Rr(K))X++;for(K=0,ye=J;ye;ye=Rr(ye))K++;for(;0<X-K;)$e=Rr($e),X--;for(;0<K-X;)J=Rr(J),K--;for(;X--;){if($e===J||J!==null&&$e===J.alternate)break t;$e=Rr($e),J=Rr(J)}$e=null}else $e=null;ne!==null&&Cf(ve,W,ne,$e,!1),Je!==null&&Ht!==null&&Cf(ve,Ht,Je,$e,!0)}}e:{if(W=P?xs(P):window,ne=W.nodeName&&W.nodeName.toLowerCase(),ne==="select"||ne==="input"&&W.type==="file")var je=Bm;else if(jd(W))if(Lm)je=Ym;else{je=nr;var St=Ld}else ne=W.nodeName,!ne||ne.toLowerCase()!=="input"||W.type!=="checkbox"&&W.type!=="radio"?P&&Xr(P.elementType)&&(je=Bm):je=hu;if(je&&(je=je(n,P))){Bd(ve,je,r,me);break e}St&&St(n,W,P),n==="focusout"&&P&&W.type==="number"&&P.memoizedProps.value!=null&&zs(W,"number",W.value)}switch(St=P?xs(P):window,n){case"focusin":(jd(St)||St.contentEditable==="true")&&(Si=St,Fl=P,ir=null);break;case"focusout":ir=Fl=Si=null;break;case"mousedown":no=!0;break;case"contextmenu":case"mouseup":case"dragend":no=!1,Zd(ve,r,me);break;case"selectionchange":if(to)break;case"keydown":case"keyup":Zd(ve,r,me)}var Qe;if(Us)e:{switch(n){case"compositionstart":var Fe="onCompositionStart";break e;case"compositionend":Fe="onCompositionEnd";break e;case"compositionupdate":Fe="onCompositionUpdate";break e}Fe=void 0}else tr?js(n,r)&&(Fe="onCompositionEnd"):n==="keydown"&&r.keyCode===229&&(Fe="onCompositionStart");Fe&&(vi&&r.locale!=="ko"&&(tr||Fe!=="onCompositionStart"?Fe==="onCompositionEnd"&&tr&&(Qe=Rm()):(fu=me,uc="value"in fu?fu.value:fu.textContent,tr=!0)),St=Vc(P,Fe),0<St.length&&(Fe=new Cm(Fe,n,null,r,me),ve.push({event:Fe,listeners:St}),Qe?Fe.data=Qe:(Qe=er(r),Qe!==null&&(Fe.data=Qe)))),(Qe=km?Hm(n,r):Fr(n,r))&&(Fe=Vc(P,"onBeforeInput"),0<Fe.length&&(St=new Cm("onBeforeInput","beforeinput",null,r,me),ve.push({event:St,listeners:Fe}),St.data=Qe)),C0(ve,n,P,r,me)}_o(ve,i)})}function zu(n,i,r){return{instance:n,listener:i,currentTarget:r}}function Vc(n,i){for(var r=i+"Capture",f=[];n!==null;){var m=n,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=Ir(n,r),m!=null&&f.unshift(zu(n,m,g)),m=Ir(n,i),m!=null&&f.push(zu(n,m,g))),n.tag===3)return f;n=n.return}return[]}function Rr(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Cf(n,i,r,f,m){for(var g=i._reactName,w=[];r!==null&&r!==f;){var M=r,j=M.alternate,P=M.stateNode;if(M=M.tag,j!==null&&j===f)break;M!==5&&M!==26&&M!==27||P===null||(j=P,m?(P=Ir(r,g),P!=null&&w.unshift(zu(r,P,j))):m||(P=Ir(r,g),P!=null&&w.push(zu(r,P,j)))),r=r.return}w.length!==0&&n.push({event:i,listeners:w})}var dl=/\r\n?/g,og=/\u0000|\uFFFD/g;function D0(n){return(typeof n=="string"?n:""+n).replace(dl,`
|
|
82
|
+
`).replace(og,"")}function cg(n,i){return i=D0(i),D0(n)===i}function Fh(){}function it(n,i,r,f,m,g){switch(r){case"children":typeof f=="string"?i==="body"||i==="textarea"&&f===""||nc(n,f):(typeof f=="number"||typeof f=="bigint")&&i!=="body"&&nc(n,""+f);break;case"className":Rs(n,"class",f);break;case"tabIndex":Rs(n,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Rs(n,r,f);break;case"style":_s(n,f,g);break;case"data":if(i!=="object"){Rs(n,"data",f);break}case"src":case"href":if(f===""&&(i!=="a"||r!=="href")){n.removeAttribute(r);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(r);break}f=Cs(""+f),n.setAttribute(r,f);break;case"action":case"formAction":if(typeof f=="function"){n.setAttribute(r,"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}else typeof g=="function"&&(r==="formAction"?(i!=="input"&&it(n,i,"name",m.name,m,null),it(n,i,"formEncType",m.formEncType,m,null),it(n,i,"formMethod",m.formMethod,m,null),it(n,i,"formTarget",m.formTarget,m,null)):(it(n,i,"encType",m.encType,m,null),it(n,i,"method",m.method,m,null),it(n,i,"target",m.target,m,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(r);break}f=Cs(""+f),n.setAttribute(r,f);break;case"onClick":f!=null&&(n.onclick=Fh);break;case"onScroll":f!=null&&ft("scroll",n);break;case"onScrollEnd":f!=null&&ft("scrollend",n);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(s(61));if(r=f.__html,r!=null){if(m.children!=null)throw Error(s(60));n.innerHTML=r}}break;case"multiple":n.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":n.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){n.removeAttribute("xlink:href");break}r=Cs(""+f),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,""+f):n.removeAttribute(r);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":f&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,""):n.removeAttribute(r);break;case"capture":case"download":f===!0?n.setAttribute(r,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,f):n.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?n.setAttribute(r,f):n.removeAttribute(r);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?n.removeAttribute(r):n.setAttribute(r,f);break;case"popover":ft("beforetoggle",n),ft("toggle",n),cu(n,"popover",f);break;case"xlinkActuate":yi(n,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":yi(n,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":yi(n,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":yi(n,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":yi(n,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":yi(n,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":yi(n,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":yi(n,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":yi(n,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":cu(n,"is",f);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=k1.get(r)||r,cu(n,r,f))}}function le(n,i,r,f,m,g){switch(r){case"style":_s(n,f,g);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(s(61));if(r=f.__html,r!=null){if(m.children!=null)throw Error(s(60));n.innerHTML=r}}break;case"children":typeof f=="string"?nc(n,f):(typeof f=="number"||typeof f=="bigint")&&nc(n,""+f);break;case"onScroll":f!=null&&ft("scroll",n);break;case"onScrollEnd":f!=null&&ft("scrollend",n);break;case"onClick":f!=null&&(n.onclick=Fh);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ll.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(m=r.endsWith("Capture"),i=r.slice(2,m?r.length-7:void 0),g=n[Ra]||null,g=g!=null?g[r]:null,typeof g=="function"&&n.removeEventListener(i,g,m),typeof f=="function")){typeof g!="function"&&g!==null&&(r in n?n[r]=null:n.hasAttribute(r)&&n.removeAttribute(r)),n.addEventListener(i,f,m);break e}r in n?n[r]=f:f===!0?n.setAttribute(r,""):cu(n,r,f)}}}function tt(n,i,r){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ft("error",n),ft("load",n);var f=!1,m=!1,g;for(g in r)if(r.hasOwnProperty(g)){var w=r[g];if(w!=null)switch(g){case"src":f=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,i));default:it(n,i,g,w,r,null)}}m&&it(n,i,"srcSet",r.srcSet,r,null),f&&it(n,i,"src",r.src,r,null);return;case"input":ft("invalid",n);var M=g=w=m=null,j=null,P=null;for(f in r)if(r.hasOwnProperty(f)){var me=r[f];if(me!=null)switch(f){case"name":m=me;break;case"type":w=me;break;case"checked":j=me;break;case"defaultChecked":P=me;break;case"value":g=me;break;case"defaultValue":M=me;break;case"children":case"dangerouslySetInnerHTML":if(me!=null)throw Error(s(137,i));break;default:it(n,i,f,me,r,null)}}Rd(n,g,M,j,P,w,m,!1),Fu(n);return;case"select":ft("invalid",n),f=w=g=null;for(m in r)if(r.hasOwnProperty(m)&&(M=r[m],M!=null))switch(m){case"value":g=M;break;case"defaultValue":w=M;break;case"multiple":f=M;default:it(n,i,m,M,r,null)}i=g,r=w,n.multiple=!!f,i!=null?Gr(n,!!f,i,!1):r!=null&&Gr(n,!!f,r,!0);return;case"textarea":ft("invalid",n),g=m=f=null;for(w in r)if(r.hasOwnProperty(w)&&(M=r[w],M!=null))switch(w){case"value":f=M;break;case"defaultValue":m=M;break;case"children":g=M;break;case"dangerouslySetInnerHTML":if(M!=null)throw Error(s(91));break;default:it(n,i,w,M,r,null)}xm(n,f,m,g),Fu(n);return;case"option":for(j in r)if(r.hasOwnProperty(j)&&(f=r[j],f!=null))switch(j){case"selected":n.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:it(n,i,j,f,r,null)}return;case"dialog":ft("beforetoggle",n),ft("toggle",n),ft("cancel",n),ft("close",n);break;case"iframe":case"object":ft("load",n);break;case"video":case"audio":for(f=0;f<_f.length;f++)ft(_f[f],n);break;case"image":ft("error",n),ft("load",n);break;case"details":ft("toggle",n);break;case"embed":case"source":case"link":ft("error",n),ft("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in r)if(r.hasOwnProperty(P)&&(f=r[P],f!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,i));default:it(n,i,P,f,r,null)}return;default:if(Xr(i)){for(me in r)r.hasOwnProperty(me)&&(f=r[me],f!==void 0&&le(n,i,me,f,r,void 0));return}}for(M in r)r.hasOwnProperty(M)&&(f=r[M],f!=null&&it(n,i,M,f,r,null))}function Q1(n,i,r,f){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,w=null,M=null,j=null,P=null,me=null;for(ne in r){var ve=r[ne];if(r.hasOwnProperty(ne)&&ve!=null)switch(ne){case"checked":break;case"value":break;case"defaultValue":j=ve;default:f.hasOwnProperty(ne)||it(n,i,ne,null,f,ve)}}for(var W in f){var ne=f[W];if(ve=r[W],f.hasOwnProperty(W)&&(ne!=null||ve!=null))switch(W){case"type":g=ne;break;case"name":m=ne;break;case"checked":P=ne;break;case"defaultChecked":me=ne;break;case"value":w=ne;break;case"defaultValue":M=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(s(137,i));break;default:ne!==ve&&it(n,i,W,ne,f,ve)}}Od(n,w,M,j,P,me,g,m);return;case"select":ne=w=M=W=null;for(g in r)if(j=r[g],r.hasOwnProperty(g)&&j!=null)switch(g){case"value":break;case"multiple":ne=j;default:f.hasOwnProperty(g)||it(n,i,g,null,f,j)}for(m in f)if(g=f[m],j=r[m],f.hasOwnProperty(m)&&(g!=null||j!=null))switch(m){case"value":W=g;break;case"defaultValue":M=g;break;case"multiple":w=g;default:g!==j&&it(n,i,m,g,f,j)}i=M,r=w,f=ne,W!=null?Gr(n,!!r,W,!1):!!f!=!!r&&(i!=null?Gr(n,!!r,i,!0):Gr(n,!!r,r?[]:"",!1));return;case"textarea":ne=W=null;for(M in r)if(m=r[M],r.hasOwnProperty(M)&&m!=null&&!f.hasOwnProperty(M))switch(M){case"value":break;case"children":break;default:it(n,i,M,null,f,m)}for(w in f)if(m=f[w],g=r[w],f.hasOwnProperty(w)&&(m!=null||g!=null))switch(w){case"value":W=m;break;case"defaultValue":ne=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(s(91));break;default:m!==g&&it(n,i,w,m,f,g)}Am(n,W,ne);return;case"option":for(var Je in r)if(W=r[Je],r.hasOwnProperty(Je)&&W!=null&&!f.hasOwnProperty(Je))switch(Je){case"selected":n.selected=!1;break;default:it(n,i,Je,null,f,W)}for(j in f)if(W=f[j],ne=r[j],f.hasOwnProperty(j)&&W!==ne&&(W!=null||ne!=null))switch(j){case"selected":n.selected=W&&typeof W!="function"&&typeof W!="symbol";break;default:it(n,i,j,W,f,ne)}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 $e in r)W=r[$e],r.hasOwnProperty($e)&&W!=null&&!f.hasOwnProperty($e)&&it(n,i,$e,null,f,W);for(P in f)if(W=f[P],ne=r[P],f.hasOwnProperty(P)&&W!==ne&&(W!=null||ne!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(s(137,i));break;default:it(n,i,P,W,f,ne)}return;default:if(Xr(i)){for(var Ht in r)W=r[Ht],r.hasOwnProperty(Ht)&&W!==void 0&&!f.hasOwnProperty(Ht)&&le(n,i,Ht,void 0,f,W);for(me in f)W=f[me],ne=r[me],!f.hasOwnProperty(me)||W===ne||W===void 0&&ne===void 0||le(n,i,me,W,f,ne);return}}for(var J in r)W=r[J],r.hasOwnProperty(J)&&W!=null&&!f.hasOwnProperty(J)&&it(n,i,J,null,f,W);for(ve in f)W=f[ve],ne=r[ve],!f.hasOwnProperty(ve)||W===ne||W==null&&ne==null||it(n,i,ve,W,f,ne)}var Df=null,Mf=null;function Ll(n){return n.nodeType===9?n:n.ownerDocument}function _u(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Gc(n,i){if(n===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&i==="foreignObject"?0:n}function Gi(n,i){return n==="textarea"||n==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Xc=null;function Cu(){var n=window.event;return n&&n.type==="popstate"?n===Xc?!1:(Xc=n,!0):(Xc=null,!1)}var Wh=typeof setTimeout=="function"?setTimeout:void 0,I1=typeof clearTimeout=="function"?clearTimeout:void 0,M0=typeof Promise=="function"?Promise:void 0,J1=typeof queueMicrotask=="function"?queueMicrotask:typeof M0<"u"?function(n){return M0.resolve(null).then(n).catch(Xi)}:Wh;function Xi(n){setTimeout(function(){throw n})}function wr(n){return n==="head"}function ep(n,i){var r=i,f=0,m=0;do{var g=r.nextSibling;if(n.removeChild(r),g&&g.nodeType===8)if(r=g.data,r==="/$"){if(0<f&&8>f){r=f;var w=n.ownerDocument;if(r&1&&Pa(w.documentElement),r&2&&Pa(w.body),r&4)for(r=w.head,Pa(r),w=r.firstChild;w;){var M=w.nextSibling,j=w.nodeName;w[Be]||j==="SCRIPT"||j==="STYLE"||j==="LINK"&&w.rel.toLowerCase()==="stylesheet"||r.removeChild(w),w=M}}if(m===0){n.removeChild(g),Ii(i);return}m--}else r==="$"||r==="$?"||r==="$!"?m++:f=r.charCodeAt(0)-48;else f=0;r=g}while(r);Ii(i)}function Nf(n){var i=n.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var r=i;switch(i=i.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Nf(r),As(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}n.removeChild(r)}}function Qc(n,i,r,f){for(;n.nodeType===1;){var m=r;if(n.nodeName.toLowerCase()!==i.toLowerCase()){if(!f&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(f){if(!n[Be])switch(i){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==m.rel||n.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||n.getAttribute("title")!==(m.title==null?null:m.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(i==="input"&&n.type==="hidden"){var g=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=oi(n.nextSibling),n===null)break}return null}function $1(n,i,r){if(i==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=oi(n.nextSibling),n===null))return null;return n}function kf(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState==="complete"}function K1(n,i){var r=n.ownerDocument;if(n.data!=="$?"||r.readyState==="complete")i();else{var f=function(){i(),r.removeEventListener("DOMContentLoaded",f)};r.addEventListener("DOMContentLoaded",f),n._reactRetry=f}}function oi(n){for(;n!=null;n=n.nextSibling){var i=n.nodeType;if(i===1||i===3)break;if(i===8){if(i=n.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return n}var zr=null;function da(n){n=n.previousSibling;for(var i=0;n;){if(n.nodeType===8){var r=n.data;if(r==="$"||r==="$!"||r==="$?"){if(i===0)return n;i--}else r==="/$"&&i++}n=n.previousSibling}return null}function Ue(n,i,r){switch(i=Ll(r),n){case"html":if(n=i.documentElement,!n)throw Error(s(452));return n;case"head":if(n=i.head,!n)throw Error(s(453));return n;case"body":if(n=i.body,!n)throw Error(s(454));return n;default:throw Error(s(451))}}function Pa(n){for(var i=n.attributes;i.length;)n.removeAttributeNode(i[0]);As(n)}var zn=new Map,Ea=new Set;function tp(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Du=ie.d;ie.d={f:np,r:ap,D:Mu,C:lp,L:_r,m:Ta,X:Cr,S:Fa,M:sg};function np(){var n=Du.f(),i=Oo();return n||i}function ap(n){var i=Zr(n);i!==null&&i.tag===5&&i.type==="form"?xc(i):Du.r(n)}var ha=typeof document>"u"?null:document;function ci(n,i,r){var f=ha;if(f&&typeof i=="string"&&i){var m=Ol(i);m='link[rel="'+n+'"][href="'+m+'"]',typeof r=="string"&&(m+='[crossorigin="'+r+'"]'),Ea.has(m)||(Ea.add(m),n={rel:n,crossOrigin:r,href:i},f.querySelector(m)===null&&(i=f.createElement("link"),tt(i,"link",n),qn(i),f.head.appendChild(i)))}}function Mu(n){Du.D(n),ci("dns-prefetch",n,null)}function lp(n,i){Du.C(n,i),ci("preconnect",n,i)}function _r(n,i,r){Du.L(n,i,r);var f=ha;if(f&&n&&i){var m='link[rel="preload"][as="'+Ol(i)+'"]';i==="image"&&r&&r.imageSrcSet?(m+='[imagesrcset="'+Ol(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(m+='[imagesizes="'+Ol(r.imageSizes)+'"]')):m+='[href="'+Ol(n)+'"]';var g=m;switch(i){case"style":g=Ic(n);break;case"script":g=Zl(n)}zn.has(g)||(n=O({rel:"preload",href:i==="image"&&r&&r.imageSrcSet?void 0:n,as:i},r),zn.set(g,n),f.querySelector(m)!==null||i==="style"&&f.querySelector(Jc(g))||i==="script"&&f.querySelector(Co(g))||(i=f.createElement("link"),tt(i,"link",n),qn(i),f.head.appendChild(i)))}}function Ta(n,i){Du.m(n,i);var r=ha;if(r&&n){var f=i&&typeof i.as=="string"?i.as:"script",m='link[rel="modulepreload"][as="'+Ol(f)+'"][href="'+Ol(n)+'"]',g=m;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Zl(n)}if(!zn.has(g)&&(n=O({rel:"modulepreload",href:n},i),zn.set(g,n),r.querySelector(m)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Co(g)))return}f=r.createElement("link"),tt(f,"link",n),qn(f),r.head.appendChild(f)}}}function Fa(n,i,r){Du.S(n,i,r);var f=ha;if(f&&n){var m=ou(f).hoistableStyles,g=Ic(n);i=i||"default";var w=m.get(g);if(!w){var M={loading:0,preload:null};if(w=f.querySelector(Jc(g)))M.loading=5;else{n=O({rel:"stylesheet",href:n,"data-precedence":i},r),(r=zn.get(g))&&up(n,r);var j=w=f.createElement("link");qn(j),tt(j,"link",n),j._p=new Promise(function(P,me){j.onload=P,j.onerror=me}),j.addEventListener("load",function(){M.loading|=1}),j.addEventListener("error",function(){M.loading|=2}),M.loading|=4,ip(w,i,f)}w={type:"stylesheet",instance:w,count:1,state:M},m.set(g,w)}}}function Cr(n,i){Du.X(n,i);var r=ha;if(r&&n){var f=ou(r).hoistableScripts,m=Zl(n),g=f.get(m);g||(g=r.querySelector(Co(m)),g||(n=O({src:n,async:!0},i),(i=zn.get(m))&&rp(n,i),g=r.createElement("script"),qn(g),tt(g,"link",n),r.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},f.set(m,g))}}function sg(n,i){Du.M(n,i);var r=ha;if(r&&n){var f=ou(r).hoistableScripts,m=Zl(n),g=f.get(m);g||(g=r.querySelector(Co(m)),g||(n=O({src:n,async:!0,type:"module"},i),(i=zn.get(m))&&rp(n,i),g=r.createElement("script"),qn(g),tt(g,"link",n),r.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},f.set(m,g))}}function N0(n,i,r,f){var m=(m=Oe.current)?tp(m):null;if(!m)throw Error(s(446));switch(n){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(i=Ic(r.href),r=ou(m).hoistableStyles,f=r.get(i),f||(f={type:"style",instance:null,count:0,state:null},r.set(i,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){n=Ic(r.href);var g=ou(m).hoistableStyles,w=g.get(n);if(w||(m=m.ownerDocument||m,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,w),(g=m.querySelector(Jc(n)))&&!g._p&&(w.instance=g,w.state.loading=5),zn.has(n)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},zn.set(n,r),g||k0(m,n,r,w.state))),i&&f===null)throw Error(s(528,""));return w}if(i&&f!==null)throw Error(s(529,""));return null;case"script":return i=r.async,r=r.src,typeof r=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Zl(r),r=ou(m).hoistableScripts,f=r.get(i),f||(f={type:"script",instance:null,count:0,state:null},r.set(i,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,n))}}function Ic(n){return'href="'+Ol(n)+'"'}function Jc(n){return'link[rel="stylesheet"]['+n+"]"}function $c(n){return O({},n,{"data-precedence":n.precedence,precedence:null})}function k0(n,i,r,f){n.querySelector('link[rel="preload"][as="style"]['+i+"]")?f.loading=1:(i=n.createElement("link"),f.preload=i,i.addEventListener("load",function(){return f.loading|=1}),i.addEventListener("error",function(){return f.loading|=2}),tt(i,"link",r),qn(i),n.head.appendChild(i))}function Zl(n){return'[src="'+Ol(n)+'"]'}function Co(n){return"script[async]"+n}function U0(n,i,r){if(i.count++,i.instance===null)switch(i.type){case"style":var f=n.querySelector('style[data-href~="'+Ol(r.href)+'"]');if(f)return i.instance=f,qn(f),f;var m=O({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return f=(n.ownerDocument||n).createElement("style"),qn(f),tt(f,"style",m),ip(f,r.precedence,n),i.instance=f;case"stylesheet":m=Ic(r.href);var g=n.querySelector(Jc(m));if(g)return i.state.loading|=4,i.instance=g,qn(g),g;f=$c(r),(m=zn.get(m))&&up(f,m),g=(n.ownerDocument||n).createElement("link"),qn(g);var w=g;return w._p=new Promise(function(M,j){w.onload=M,w.onerror=j}),tt(g,"link",f),i.state.loading|=4,ip(g,r.precedence,n),i.instance=g;case"script":return g=Zl(r.src),(m=n.querySelector(Co(g)))?(i.instance=m,qn(m),m):(f=r,(m=zn.get(g))&&(f=O({},r),rp(f,m)),n=n.ownerDocument||n,m=n.createElement("script"),qn(m),tt(m,"link",f),n.head.appendChild(m),i.instance=m);case"void":return null;default:throw Error(s(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(f=i.instance,i.state.loading|=4,ip(f,r.precedence,n));return i.instance}function ip(n,i,r){for(var f=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=f.length?f[f.length-1]:null,g=m,w=0;w<f.length;w++){var M=f[w];if(M.dataset.precedence===i)g=M;else if(g!==m)break}g?g.parentNode.insertBefore(n,g.nextSibling):(i=r.nodeType===9?r.head:r,i.insertBefore(n,i.firstChild))}function up(n,i){n.crossOrigin==null&&(n.crossOrigin=i.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=i.referrerPolicy),n.title==null&&(n.title=i.title)}function rp(n,i){n.crossOrigin==null&&(n.crossOrigin=i.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=i.referrerPolicy),n.integrity==null&&(n.integrity=i.integrity)}var Dr=null;function fg(n,i,r){if(Dr===null){var f=new Map,m=Dr=new Map;m.set(r,f)}else m=Dr,f=m.get(r),f||(f=new Map,m.set(r,f));if(f.has(n))return f;for(f.set(n,null),r=r.getElementsByTagName(n),m=0;m<r.length;m++){var g=r[m];if(!(g[Be]||g[$n]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var w=g.getAttribute(i)||"";w=n+w;var M=f.get(w);M?M.push(g):f.set(w,[g])}}return f}function dg(n,i,r){n=n.ownerDocument||n,n.head.insertBefore(r,i==="title"?n.querySelector("head > title"):null)}function H0(n,i,r){if(r===1||i.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return n=i.disabled,typeof i.precedence=="string"&&n==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function hg(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}var Kc=null;function j0(){}function B0(n,i,r){if(Kc===null)throw Error(s(475));var f=Kc;if(i.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var m=Ic(r.href),g=n.querySelector(Jc(m));if(g){n=g._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(f.count++,f=Uf.bind(f),n.then(f,f)),i.state.loading|=4,i.instance=g,qn(g);return}g=n.ownerDocument||n,r=$c(r),(m=zn.get(m))&&up(r,m),g=g.createElement("link"),qn(g);var w=g;w._p=new Promise(function(M,j){w.onload=M,w.onerror=j}),tt(g,"link",r),i.instance=g}f.stylesheets===null&&(f.stylesheets=new Map),f.stylesheets.set(i,n),(n=i.state.preload)&&(i.state.loading&3)===0&&(f.count++,i=Uf.bind(f),n.addEventListener("load",i),n.addEventListener("error",i))}}function pg(){if(Kc===null)throw Error(s(475));var n=Kc;return n.stylesheets&&n.count===0&&Hf(n,n.stylesheets),0<n.count?function(i){var r=setTimeout(function(){if(n.stylesheets&&Hf(n,n.stylesheets),n.unsuspend){var f=n.unsuspend;n.unsuspend=null,f()}},6e4);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(r)}}:null}function Uf(){if(this.count--,this.count===0){if(this.stylesheets)Hf(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Pc=null;function Hf(n,i){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Pc=new Map,i.forEach(hl,n),Pc=null,Uf.call(n))}function hl(n,i){if(!(i.state.loading&4)){var r=Pc.get(n);if(r)var f=r.get(null);else{r=new Map,Pc.set(n,r);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var w=m[g];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(r.set(w.dataset.precedence,w),f=w)}f&&r.set(null,f)}m=i.instance,w=m.getAttribute("data-precedence"),g=r.get(w)||f,g===f&&r.set(null,m),r.set(w,m),this.count++,f=Uf.bind(this),m.addEventListener("load",f),m.addEventListener("error",f),g?g.parentNode.insertBefore(m,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),i.state.loading|=4}}var Wa={$$typeof:D,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function P1(n,i,r,f,m,g,w,M){this.tag=1,this.containerInfo=n,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=qe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qe(0),this.hiddenUpdates=qe(null),this.identifierPrefix=f,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function mg(n,i,r,f,m,g,w,M,j,P,me,ve){return n=new P1(n,i,r,w,M,j,P,ve),i=1,g===!0&&(i|=24),g=Ya(3,null,null,i),n.current=g,g.stateNode=n,i=bc(),i.refCount++,n.pooledCache=i,i.refCount++,g.memoizedState={element:f,isDehydrated:r,cache:i},Fd(g),n}function yg(n){return n?(n=fc,n):fc}function gg(n,i,r,f,m,g){m=yg(m),f.context===null?f.context=m:f.pendingContext=m,f=Ga(i),f.payload={element:r},g=g===void 0?null:g,g!==null&&(f.callback=g),r=_i(n,f,i),r!==null&&(fl(r,n,i),oo(r,n,i))}function vg(n,i){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var r=n.retryLane;n.retryLane=r!==0&&r<i?r:i}}function op(n,i){vg(n,i),(n=n.alternate)&&vg(n,i)}function bg(n){if(n.tag===13){var i=Ai(n,67108864);i!==null&&fl(i,n,67108864),op(n,67108864)}}var jf=!0;function L0(n,i,r,f){var m=L.T;L.T=null;var g=ie.p;try{ie.p=2,Sg(n,i,r,f)}finally{ie.p=g,L.T=m}}function Z0(n,i,r,f){var m=L.T;L.T=null;var g=ie.p;try{ie.p=8,Sg(n,i,r,f)}finally{ie.p=g,L.T=m}}function Sg(n,i,r,f){if(jf){var m=cp(f);if(m===null)Bl(n,i,f,sp,r),Do(n,f);else if(Y0(m,n,i,r,f))f.stopPropagation();else if(Do(n,f),i&4&&-1<q0.indexOf(n)){for(;m!==null;){var g=Zr(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var w=mn(g.pendingLanes);if(w!==0){var M=g;for(M.pendingLanes|=2,M.entangledLanes|=2;w;){var j=1<<31-Ke(w);M.entanglements[1]|=j,w&=~j}Ka(g),(Zt&6)===0&&(Zh=Mn()+500,xf(0))}}break;case 13:M=Ai(g,2),M!==null&&fl(M,g,2),Oo(),op(g,2)}if(g=cp(f),g===null&&Bl(n,i,f,sp,r),g===m)break;m=g}m!==null&&f.stopPropagation()}else Bl(n,i,f,null,r)}}function cp(n){return n=zd(n),Eg(n)}var sp=null;function Eg(n){if(sp=null,n=ia(n),n!==null){var i=y(n);if(i===null)n=null;else{var r=i.tag;if(r===13){if(n=v(i),n!==null)return n;n=null}else if(r===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}return sp=n,null}function Tg(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":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(mi()){case Br:return 2;case rt:return 8;case xl:case Ju:return 32;case Il:return 268435456;default:return 32}default:return 32}}var Fc=!1,Qi=null,Nu=null,ku=null,Bf=new Map,Lf=new Map,Mr=[],q0="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 Do(n,i){switch(n){case"focusin":case"focusout":Qi=null;break;case"dragenter":case"dragleave":Nu=null;break;case"mouseover":case"mouseout":ku=null;break;case"pointerover":case"pointerout":Bf.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lf.delete(i.pointerId)}}function Mo(n,i,r,f,m,g){return n===null||n.nativeEvent!==g?(n={blockedOn:i,domEventName:r,eventSystemFlags:f,nativeEvent:g,targetContainers:[m]},i!==null&&(i=Zr(i),i!==null&&bg(i)),n):(n.eventSystemFlags|=f,i=n.targetContainers,m!==null&&i.indexOf(m)===-1&&i.push(m),n)}function Y0(n,i,r,f,m){switch(i){case"focusin":return Qi=Mo(Qi,n,i,r,f,m),!0;case"dragenter":return Nu=Mo(Nu,n,i,r,f,m),!0;case"mouseover":return ku=Mo(ku,n,i,r,f,m),!0;case"pointerover":var g=m.pointerId;return Bf.set(g,Mo(Bf.get(g)||null,n,i,r,f,m)),!0;case"gotpointercapture":return g=m.pointerId,Lf.set(g,Mo(Lf.get(g)||null,n,i,r,f,m)),!0}return!1}function Ag(n){var i=ia(n.target);if(i!==null){var r=y(i);if(r!==null){if(i=r.tag,i===13){if(i=v(r),i!==null){n.blockedOn=i,vm(n.priority,function(){if(r.tag===13){var f=sl();f=Hn(f);var m=Ai(r,f);m!==null&&fl(m,r,f),op(r,f)}});return}}else if(i===3&&r.stateNode.current.memoizedState.isDehydrated){n.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Zf(n){if(n.blockedOn!==null)return!1;for(var i=n.targetContainers;0<i.length;){var r=cp(n.nativeEvent);if(r===null){r=n.nativeEvent;var f=new r.constructor(r.type,r);Qr=f,r.target.dispatchEvent(f),Qr=null}else return i=Zr(r),i!==null&&bg(i),n.blockedOn=r,!1;i.shift()}return!0}function qf(n,i,r){Zf(n)&&r.delete(i)}function Wc(){Fc=!1,Qi!==null&&Zf(Qi)&&(Qi=null),Nu!==null&&Zf(Nu)&&(Nu=null),ku!==null&&Zf(ku)&&(ku=null),Bf.forEach(qf),Lf.forEach(qf)}function fp(n,i){n.blockedOn===i&&(n.blockedOn=null,Fc||(Fc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Wc)))}var No=null;function xg(n){No!==n&&(No=n,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){No===n&&(No=null);for(var i=0;i<n.length;i+=3){var r=n[i],f=n[i+1],m=n[i+2];if(typeof f!="function"){if(Eg(f||r)===null)continue;break}var g=Zr(r);g!==null&&(n.splice(i,3),i-=3,vh(g,{pending:!0,data:m,method:r.method,action:f},f,m))}}))}function Ii(n){function i(j){return fp(j,n)}Qi!==null&&fp(Qi,n),Nu!==null&&fp(Nu,n),ku!==null&&fp(ku,n),Bf.forEach(i),Lf.forEach(i);for(var r=0;r<Mr.length;r++){var f=Mr[r];f.blockedOn===n&&(f.blockedOn=null)}for(;0<Mr.length&&(r=Mr[0],r.blockedOn===null);)Ag(r),r.blockedOn===null&&Mr.shift();if(r=(n.ownerDocument||n).$$reactFormReplay,r!=null)for(f=0;f<r.length;f+=3){var m=r[f],g=r[f+1],w=m[Ra]||null;if(typeof g=="function")w||xg(r);else if(w){var M=null;if(g&&g.hasAttribute("formAction")){if(m=g,w=g[Ra]||null)M=w.formAction;else if(Eg(m)!==null)continue}else M=w.action;typeof M=="function"?r[f+1]=M:(r.splice(f,3),f-=3),xg(r)}}}function Og(n){this._internalRoot=n}dp.prototype.render=Og.prototype.render=function(n){var i=this._internalRoot;if(i===null)throw Error(s(409));var r=i.current,f=sl();gg(r,f,n,i,null,null)},dp.prototype.unmount=Og.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var i=n.containerInfo;gg(n.current,2,null,n,null,null),Oo(),i[ec]=null}};function dp(n){this._internalRoot=n}dp.prototype.unstable_scheduleHydration=function(n){if(n){var i=Sd();n={blockedOn:null,target:n,priority:i};for(var r=0;r<Mr.length&&i!==0&&i<Mr[r].priority;r++);Mr.splice(r,0,n),r===0&&Ag(n)}};var Rg=u.version;if(Rg!=="19.1.0")throw Error(s(527,Rg,"19.1.0"));ie.findDOMNode=function(n){var i=n._reactInternals;if(i===void 0)throw typeof n.render=="function"?Error(s(188)):(n=Object.keys(n).join(","),Error(s(268,n)));return n=T(i),n=n!==null?E(n):null,n=n===null?null:n.stateNode,n};var Ma={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yf.isDisabled&&Yf.supportsFiber)try{pe=Yf.inject(Ma),xe=Yf}catch{}}return Vp.createRoot=function(n,i){if(!h(n))throw Error(s(299));var r=!1,f="",m=wc,g=Ay,w=hf,M=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(w=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(M=i.unstable_transitionCallbacks)),i=mg(n,1,!1,null,null,r,f,m,g,w,M,null),n[ec]=i.current,rg(n),new Og(i)},Vp.hydrateRoot=function(n,i,r){if(!h(n))throw Error(s(299));var f=!1,m="",g=wc,w=Ay,M=hf,j=null,P=null;return r!=null&&(r.unstable_strictMode===!0&&(f=!0),r.identifierPrefix!==void 0&&(m=r.identifierPrefix),r.onUncaughtError!==void 0&&(g=r.onUncaughtError),r.onCaughtError!==void 0&&(w=r.onCaughtError),r.onRecoverableError!==void 0&&(M=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(j=r.unstable_transitionCallbacks),r.formState!==void 0&&(P=r.formState)),i=mg(n,1,!0,i,r??null,f,m,g,w,M,j,P),i.context=yg(null),r=i.current,f=sl(),f=Hn(f),m=Ga(f),m.callback=null,_i(r,m,f),r=f,i.current.lanes=r,lt(i,r),Ka(i),n[ec]=i.current,rg(n),new dp(i)},Vp.version="19.1.0",Vp}var Gp={};/**
|
|
83
|
+
* @license React
|
|
84
|
+
* react-dom-client.development.js
|
|
85
|
+
*
|
|
86
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
87
|
+
*
|
|
88
|
+
* This source code is licensed under the MIT license found in the
|
|
89
|
+
* LICENSE file in the root directory of this source tree.
|
|
90
|
+
*/var cE;function MO(){return cE||(cE=1,process.env.NODE_ENV!=="production"&&(function(){function a(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function u(e,t,l,o){if(l>=t.length)return o;var d=t[l],p=it(e)?e.slice():yt({},e);return p[d]=u(e[d],t,l+1,o),p}function c(e,t,l){if(t.length!==l.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<l.length-1;o++)if(t[o]!==l[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,l,0)}}function s(e,t,l,o){var d=t[o],p=it(e)?e.slice():yt({},e);return o+1===t.length?(p[l[o]]=p[d],it(p)?p.splice(d,1):delete p[d]):p[d]=s(e[d],t,l,o+1),p}function h(e,t,l){var o=t[l],d=it(e)?e.slice():yt({},e);return l+1===t.length?(it(d)?d.splice(o,1):delete d[o],d):(d[o]=h(e[o],t,l+1),d)}function y(){return!1}function v(){return null}function b(){}function T(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function E(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function O(){}function R(e){var t=[];return e.forEach(function(l){t.push(l)}),t.sort().join(", ")}function z(e,t,l,o){return new Hs(e,t,l,o)}function _(e,t){e.context===es&&(Vt(e.current,2,t,e,null,null),bo())}function Y(e,t){if($i!==null){var l=t.staleFamilies;t=t.updatedFamilies,zc(),Us(e.current,t,l),bo()}}function ae(e){$i=e}function G(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function k(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function q(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function D(e){if(k(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ue(e){var t=e.alternate;if(!t){if(t=k(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var l=e,o=t;;){var d=l.return;if(d===null)break;var p=d.alternate;if(p===null){if(o=d.return,o!==null){l=o;continue}break}if(d.child===p.child){for(p=d.child;p;){if(p===l)return D(d),e;if(p===o)return D(d),t;p=p.sibling}throw Error("Unable to find node on an unmounted component.")}if(l.return!==o.return)l=d,o=p;else{for(var S=!1,x=d.child;x;){if(x===l){S=!0,l=d,o=p;break}if(x===o){S=!0,o=d,l=p;break}x=x.sibling}if(!S){for(x=p.child;x;){if(x===l){S=!0,l=p,o=d;break}if(x===o){S=!0,o=p,l=d;break}x=x.sibling}if(!S)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(l.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(l.tag!==3)throw Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:t}function te(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=te(e),t!==null)return t;e=e.sibling}return null}function Q(e){return e===null||typeof e!="object"?null:(e=cg&&e[cg]||e["@@iterator"],typeof e=="function"?e:null)}function he(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Fh?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ft:return"Fragment";case Yc:return"Profiler";case qc:return"StrictMode";case Vc:return"Suspense";case Rr:return"SuspenseList";case og:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case _o:return"Portal";case Bl:return(e.displayName||"Context")+".Provider";case Ph:return(e._context.displayName||"Context")+".Consumer";case zu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cf:return t=e.displayName||null,t!==null?t:he(e.type)||"Memo";case dl:t=e._payload,e=e._init;try{return he(e(t))}catch{}}return null}function _e(e){return typeof e.tag=="number"?Se(e):typeof e.name=="string"?e.name:null}function Se(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return he(t);case 8:return t===qc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var l=t.length-1;0<=l;l--)if(typeof t[l].name=="string")return t[l].name}if(e.return!==null)return Se(e.return)}return null}function He(e){return{current:e}}function be(e,t){0>Ll?console.error("Unexpected pop."):(t!==Mf[Ll]&&console.error("Unexpected Fiber popped."),e.current=Df[Ll],Df[Ll]=null,Mf[Ll]=null,Ll--)}function Ee(e,t,l){Ll++,Df[Ll]=e.current,Mf[Ll]=l,e.current=t}function Xe(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Ne(e,t){Ee(Gi,t,e),Ee(Gc,e,e),Ee(_u,null,e);var l=t.nodeType;switch(l){case 9:case 11:l=l===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?qt(t):Vo;break;default:if(l=t.tagName,t=t.namespaceURI)t=qt(t),t=Ja(t,l);else switch(l){case"svg":t=Zp;break;case"math":t=vb;break;default:t=Vo}}l=l.toLowerCase(),l=Am(null,l),l={context:t,ancestorInfo:l},be(_u,e),Ee(_u,l,e)}function Te(e){be(_u,e),be(Gc,e),be(Gi,e)}function L(){return Xe(_u.current)}function ie(e){e.memoizedState!==null&&Ee(Xc,e,e);var t=Xe(_u.current),l=e.type,o=Ja(t.context,l);l=Am(t.ancestorInfo,l),o={context:o,ancestorInfo:l},t!==o&&(Ee(Gc,e,e),Ee(_u,o,e))}function se(e){Gc.current===e&&(be(_u,e),be(Gc,e)),Xc.current===e&&(be(Xc,e),lv._currentValue=ud)}function ke(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function A(e){try{return $(e),!1}catch{return!0}}function $(e){return""+e}function ce(e,t){if(A(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ke(e)),$(e)}function U(e,t){if(A(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,ke(e)),$(e)}function Re(e){if(A(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",ke(e)),$(e)}function Ye(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{zr=t.inject(e),da=t}catch(l){console.error("React instrumentation encountered an error: %s.",l)}return!!t.checkDCE}function Oe(e){if(typeof K1=="function"&&oi(e),da&&typeof da.setStrictMode=="function")try{da.setStrictMode(zr,e)}catch(t){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",t))}}function Qt(e){Ue=e}function Ve(){Ue!==null&&typeof Ue.markCommitStopped=="function"&&Ue.markCommitStopped()}function Bt(e){Ue!==null&&typeof Ue.markComponentRenderStarted=="function"&&Ue.markComponentRenderStarted(e)}function Dn(){Ue!==null&&typeof Ue.markComponentRenderStopped=="function"&&Ue.markComponentRenderStopped()}function Oa(e){Ue!==null&&typeof Ue.markRenderStarted=="function"&&Ue.markRenderStarted(e)}function ru(){Ue!==null&&typeof Ue.markRenderStopped=="function"&&Ue.markRenderStopped()}function Al(e,t){Ue!==null&&typeof Ue.markStateUpdateScheduled=="function"&&Ue.markStateUpdateScheduled(e,t)}function Qu(e){return e>>>=0,e===0?32:31-(tp(e)/Du|0)|0}function Iu(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function pn(e){var t=e&42;if(t!==0)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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Mn(e,t,l){var o=e.pendingLanes;if(o===0)return 0;var d=0,p=e.suspendedLanes,S=e.pingedLanes;e=e.warmLanes;var x=o&134217727;return x!==0?(o=x&~p,o!==0?d=pn(o):(S&=x,S!==0?d=pn(S):l||(l=x&~e,l!==0&&(d=pn(l))))):(x=o&~p,x!==0?d=pn(x):S!==0?d=pn(S):l||(l=o&~e,l!==0&&(d=pn(l)))),d===0?0:t!==0&&t!==d&&(t&p)===0&&(p=d&-d,l=t&-t,p>=l||p===32&&(l&4194048)!==0)?t:d}function mi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Br(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;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function rt(){var e=np;return np<<=1,(np&4194048)===0&&(np=256),e}function xl(){var e=ap;return ap<<=1,(ap&62914560)===0&&(ap=4194304),e}function Ju(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Il(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Wo(e,t,l,o,d,p){var S=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var x=e.entanglements,N=e.expirationTimes,H=e.hiddenUpdates;for(l=S&~l;0<l;){var ee=31-Ea(l),oe=1<<ee;x[ee]=0,N[ee]=-1;var F=H[ee];if(F!==null)for(H[ee]=null,ee=0;ee<F.length;ee++){var fe=F[ee];fe!==null&&(fe.lane&=-536870913)}l&=~oe}o!==0&&Lr(e,o,0),p!==0&&d===0&&e.tag!==0&&(e.suspendedLanes|=p&~(S&~t))}function Lr(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Ea(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|l&4194090}function pe(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var o=31-Ea(l),d=1<<o;d&t|e[o]&t&&(e[o]|=t),l&=~d}}function xe(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 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ie(e,t,l){if(zn)for(e=e.pendingUpdatersLaneMap;0<l;){var o=31-Ea(l),d=1<<o;e[o].add(t),l&=~d}}function Ke(e,t){if(zn)for(var l=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var d=31-Ea(t);e=1<<d,d=l[d],0<d.size&&(d.forEach(function(p){var S=p.alternate;S!==null&&o.has(S)||o.add(p)}),d.clear()),t&=~e}}function Dt(e){return e&=-e,ha<e?ci<e?(e&134217727)!==0?Mu:lp:ci:ha}function la(){var e=tt.p;return e!==0?e:(e=window.event,e===void 0?Mu:$h(e.type))}function La(e,t){var l=tt.p;try{return tt.p=e,t()}finally{tt.p=l}}function Nn(e){delete e[Ta],delete e[Fa],delete e[sg],delete e[N0],delete e[Ic]}function Un(e){var t=e[Ta];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Cr]||l[Ta]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=jc(e);e!==null;){if(l=e[Ta])return l;e=jc(e)}return t}e=l,l=e.parentNode}return null}function mn(e){if(e=e[Ta]||e[Cr]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function en(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function C(e){var t=e[Jc];return t||(t=e[Jc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function I(e){e[$c]=!0}function we(e,t){De(e,t),De(e+"Capture",t)}function De(e,t){Zl[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Zl[e]=t;var l=e.toLowerCase();for(Co[l]=e,e==="onDoubleClick"&&(Co.ondblclick=e),e=0;e<t.length;e++)k0.add(t[e])}function qe(e,t){U0[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function lt(e){return Cu.call(rp,e)?!0:Cu.call(up,e)?!1:ip.test(e)?rp[e]=!0:(up[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function ct(e,t,l){if(lt(t)){if(!e.hasAttribute(t)){switch(typeof l){case"symbol":case"object":return l;case"function":return l;case"boolean":if(l===!1)return l}return l===void 0?void 0:null}return e=e.getAttribute(t),e===""&&l===!0?!0:(ce(l,t),e===""+l?l:e)}}function zt(e,t,l){if(lt(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}ce(l,t),e.setAttribute(t,""+l)}}function ot(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ce(l,t),e.setAttribute(t,""+l)}}function Hn(e,t,l,o){if(o===null)e.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}ce(o,l),e.setAttributeNS(t,l,""+o)}}function Jl(){}function Sd(){if(Dr===0){fg=console.log,dg=console.info,H0=console.warn,hg=console.error,Kc=console.group,j0=console.groupCollapsed,B0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Jl,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Dr++}function vm(){if(Dr--,Dr===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:yt({},e,{value:fg}),info:yt({},e,{value:dg}),warn:yt({},e,{value:H0}),error:yt({},e,{value:hg}),group:yt({},e,{value:Kc}),groupCollapsed:yt({},e,{value:j0}),groupEnd:yt({},e,{value:B0})})}0>Dr&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Zn(e){if(pg===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);pg=t&&t[1]||"",Uf=-1<l.stack.indexOf(`
|
|
91
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
92
|
+
`+pg+e+Uf}function $n(e,t){if(!e||Pc)return"";var l=Hf.get(e);if(l!==void 0)return l;Pc=!0,l=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=le.H,le.H=null,Sd();try{var d={DetermineComponentFrameRoot:function(){try{if(t){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(Le){var fe=Le}Reflect.construct(e,[],F)}else{try{F.call()}catch(Le){fe=Le}e.call(F.prototype)}}else{try{throw Error()}catch(Le){fe=Le}(F=e())&&typeof F.catch=="function"&&F.catch(function(){})}}catch(Le){if(Le&&fe&&typeof Le.stack=="string")return[Le.stack,fe.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=d.DetermineComponentFrameRoot(),x=S[0],N=S[1];if(x&&N){var H=x.split(`
|
|
93
|
+
`),ee=N.split(`
|
|
94
|
+
`);for(S=p=0;p<H.length&&!H[p].includes("DetermineComponentFrameRoot");)p++;for(;S<ee.length&&!ee[S].includes("DetermineComponentFrameRoot");)S++;if(p===H.length||S===ee.length)for(p=H.length-1,S=ee.length-1;1<=p&&0<=S&&H[p]!==ee[S];)S--;for(;1<=p&&0<=S;p--,S--)if(H[p]!==ee[S]){if(p!==1||S!==1)do if(p--,S--,0>S||H[p]!==ee[S]){var oe=`
|
|
95
|
+
`+H[p].replace(" at new "," at ");return e.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",e.displayName)),typeof e=="function"&&Hf.set(e,oe),oe}while(1<=p&&0<=S);break}}}finally{Pc=!1,le.H=o,vm(),Error.prepareStackTrace=l}return H=(H=e?e.displayName||e.name:"")?Zn(H):"",typeof e=="function"&&Hf.set(e,H),H}function Ra(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
96
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
97
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react-stack-bottom-frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
98
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function ec(e){switch(e.tag){case 26:case 27:case 5:return Zn(e.type);case 16:return Zn("Lazy");case 13:return Zn("Suspense");case 19:return Zn("SuspenseList");case 0:case 15:return $n(e.type,!1);case 11:return $n(e.type.render,!1);case 1:return $n(e.type,!0);case 31:return Zn("Activity");default:return""}}function Ed(e){try{var t="";do{t+=ec(e);var l=e._debugInfo;if(l)for(var o=l.length-1;0<=o;o--){var d=l[o];if(typeof d.name=="string"){var p=t,S=d.env,x=Zn(d.name+(S?" ["+S+"]":""));t=p+x}}e=e.return}while(e);return t}catch(N){return`
|
|
99
|
+
Error generating stack: `+N.message+`
|
|
100
|
+
`+N.stack}}function Uv(e){return(e=e?e.displayName||e.name:"")?Zn(e):""}function Td(){if(hl===null)return null;var e=hl._debugOwner;return e!=null?_e(e):null}function Hv(){if(hl===null)return"";var e=hl;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Zn(e.type);break;case 13:t+=Zn("Suspense");break;case 19:t+=Zn("SuspenseList");break;case 31:t+=Zn("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Uv(e.type));break;case 11:e._debugOwner||t!==""||(t+=Uv(e.type.render))}for(;e;)if(typeof e.tag=="number"){var l=e;e=l._debugOwner;var o=l._debugStack;e&&o&&(typeof o!="string"&&(l._debugStack=o=Ra(o)),o!==""&&(t+=`
|
|
101
|
+
`+o))}else if(e.debugStack!=null){var d=e.debugStack;(e=e.owner)&&d&&(t+=`
|
|
102
|
+
`+Ra(d))}else break;var p=t}catch(S){p=`
|
|
103
|
+
Error generating stack: `+S.message+`
|
|
104
|
+
`+S.stack}return p}function Be(e,t,l,o,d,p,S){var x=hl;As(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,l,o,d,p,S)):t(l,o,d,p,S)}finally{As(x)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function As(e){le.getCurrentStack=e===null?null:Hv,Wa=!1,hl=e}function ia(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Re(e),e;default:return""}}function Zr(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xs(e){var t=Zr(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Re(e[t]);var o=""+e[t];if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var d=l.get,p=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return d.call(this)},set:function(S){Re(S),o=""+S,p.call(this,S)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return o},setValue:function(S){Re(S),o=""+S},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ou(e){e._valueTracker||(e._valueTracker=xs(e))}function qn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),o="";return e&&(o=Zr(e)?e.checked?"true":"false":e.value),e=o,e!==l?(t.setValue(e),!0):!1}function Os(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ll(e){return e.replace(P1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function $u(e,t){t.checked===void 0||t.defaultChecked===void 0||yg||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Td()||"A component",t.type),yg=!0),t.value===void 0||t.defaultValue===void 0||mg||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Td()||"A component",t.type),mg=!0)}function Ku(e,t,l,o,d,p,S,x){e.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?(ce(S,"type"),e.type=S):e.removeAttribute("type"),t!=null?S==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+ia(t)):e.value!==""+ia(t)&&(e.value=""+ia(t)):S!=="submit"&&S!=="reset"||e.removeAttribute("value"),t!=null?Ad(e,S,ia(t)):l!=null?Ad(e,S,ia(l)):o!=null&&e.removeAttribute("value"),d==null&&p!=null&&(e.defaultChecked=!!p),d!=null&&(e.checked=d&&typeof d!="function"&&typeof d!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?(ce(x,"name"),e.name=""+ia(x)):e.removeAttribute("name")}function jv(e,t,l,o,d,p,S,x){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(ce(p,"type"),e.type=p),t!=null||l!=null){if(!(p!=="submit"&&p!=="reset"||t!=null))return;l=l!=null?""+ia(l):"",t=t!=null?""+ia(t):l,x||t===e.value||(e.value=t),e.defaultValue=t}o=o??d,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=x?e.checked:!!o,e.defaultChecked=!!o,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(ce(S,"name"),e.name=S)}function Ad(e,t,l){t==="number"&&Os(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function bm(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?zf.Children.forEach(t.children,function(l){l==null||typeof l=="string"||typeof l=="number"||typeof l=="bigint"||vg||(vg=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||op||(op=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||gg||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),gg=!0)}function Bv(){var e=Td();return e?`
|
|
105
|
+
|
|
106
|
+
Check the render method of \``+e+"`.":""}function cu(e,t,l,o){if(e=e.options,t){t={};for(var d=0;d<l.length;d++)t["$"+l[d]]=!0;for(l=0;l<e.length;l++)d=t.hasOwnProperty("$"+e[l].value),e[l].selected!==d&&(e[l].selected=d),d&&o&&(e[l].defaultSelected=!0)}else{for(l=""+ia(l),t=null,d=0;d<e.length;d++){if(e[d].value===l){e[d].selected=!0,o&&(e[d].defaultSelected=!0);return}t!==null||e[d].disabled||(t=e[d])}t!==null&&(t.selected=!0)}}function Rs(e,t){for(e=0;e<jf.length;e++){var l=jf[e];if(t[l]!=null){var o=it(t[l]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,Bv()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,Bv())}}t.value===void 0||t.defaultValue===void 0||bg||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),bg=!0)}function yi(e,t){t.value===void 0||t.defaultValue===void 0||L0||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Td()||"A component"),L0=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function xd(e,t,l){if(t!=null&&(t=""+ia(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+ia(l):""}function Sm(e,t,l,o){if(t==null){if(o!=null){if(l!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(it(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}l=o}l==null&&(l=""),t=l}l=ia(t),e.defaultValue=l,o=e.textContent,o===l&&o!==""&&o!==null&&(e.value=o)}function qr(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?qr(e.children[0],t):e}function wa(e){return" "+" ".repeat(e)}function Pu(e){return"+ "+" ".repeat(e)}function Yr(e){return"- "+" ".repeat(e)}function Em(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function ga(e,t){return Z0.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function ws(e,t,l){var o=120-2*l;if(t===null)return Pu(l)+ga(e,o)+`
|
|
107
|
+
`;if(typeof t=="string"){for(var d=0;d<t.length&&d<e.length&&t.charCodeAt(d)===e.charCodeAt(d);d++);return d>o-8&&10<d&&(e="..."+e.slice(d-8),t="..."+t.slice(d-8)),Pu(l)+ga(e,o)+`
|
|
108
|
+
`+Yr(l)+ga(t,o)+`
|
|
109
|
+
`}return wa(l)+ga(e,o)+`
|
|
110
|
+
`}function Tm(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,l){return l})}function Fu(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(it(e))return"[...]";if(e.$$typeof===Or)return(t=he(e.type))?"<"+t+">":"<...>";var l=Tm(e);if(l==="Object"){l="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var d=JSON.stringify(o);if(d!=='"'+o+'"'&&(o=d),t-=o.length-2,d=Fu(e[o],15>t?t:15),t-=d.length,0>t){l+=l===""?"...":", ...";break}l+=(l===""?"":",")+o+":"+d}return"{"+l+"}"}return l;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Vr(e,t){return typeof e!="string"||Z0.test(e)?"{"+Fu(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function tc(e,t,l){var o=120-l.length-e.length,d=[],p;for(p in t)if(t.hasOwnProperty(p)&&p!=="children"){var S=Vr(t[p],120-l.length-p.length-1);o-=p.length+S.length+2,d.push(p+"="+S)}return d.length===0?l+"<"+e+`>
|
|
111
|
+
`:0<o?l+"<"+e+" "+d.join(" ")+`>
|
|
112
|
+
`:l+"<"+e+`
|
|
113
|
+
`+l+" "+d.join(`
|
|
114
|
+
`+l+" ")+`
|
|
115
|
+
`+l+`>
|
|
116
|
+
`}function N1(e,t,l){var o="",d=yt({},t),p;for(p in e)if(e.hasOwnProperty(p)){delete d[p];var S=120-2*l-p.length-2,x=Fu(e[p],S);t.hasOwnProperty(p)?(S=Fu(t[p],S),o+=Pu(l)+p+": "+x+`
|
|
117
|
+
`,o+=Yr(l)+p+": "+S+`
|
|
118
|
+
`):o+=Pu(l)+p+": "+x+`
|
|
119
|
+
`}for(var N in d)d.hasOwnProperty(N)&&(e=Fu(d[N],120-2*l-N.length-2),o+=Yr(l)+N+": "+e+`
|
|
120
|
+
`);return o}function Ol(e,t,l,o){var d="",p=new Map;for(H in l)l.hasOwnProperty(H)&&p.set(H.toLowerCase(),H);if(p.size===1&&p.has("children"))d+=tc(e,t,wa(o));else{for(var S in t)if(t.hasOwnProperty(S)&&S!=="children"){var x=120-2*(o+1)-S.length-1,N=p.get(S.toLowerCase());if(N!==void 0){p.delete(S.toLowerCase());var H=t[S];N=l[N];var ee=Vr(H,x);x=Vr(N,x),typeof H=="object"&&H!==null&&typeof N=="object"&&N!==null&&Tm(H)==="Object"&&Tm(N)==="Object"&&(2<Object.keys(H).length||2<Object.keys(N).length||-1<ee.indexOf("...")||-1<x.indexOf("..."))?d+=wa(o+1)+S+`={{
|
|
121
|
+
`+N1(H,N,o+2)+wa(o+1)+`}}
|
|
122
|
+
`:(d+=Pu(o+1)+S+"="+ee+`
|
|
123
|
+
`,d+=Yr(o+1)+S+"="+x+`
|
|
124
|
+
`)}else d+=wa(o+1)+S+"="+Vr(t[S],x)+`
|
|
125
|
+
`}p.forEach(function(oe){if(oe!=="children"){var F=120-2*(o+1)-oe.length-1;d+=Yr(o+1)+oe+"="+Vr(l[oe],F)+`
|
|
126
|
+
`}}),d=d===""?wa(o)+"<"+e+`>
|
|
127
|
+
`:wa(o)+"<"+e+`
|
|
128
|
+
`+d+wa(o)+`>
|
|
129
|
+
`}return e=l.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(p="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(p=""+t),d+=ws(p,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(d=e==null?d+ws(""+t,null,o+1):d+ws(""+t,void 0,o+1)),d}function Od(e,t){var l=Em(e);if(l===null){for(l="",e=e.child;e;)l+=Od(e,t),e=e.sibling;return l}return wa(t)+"<"+l+`>
|
|
130
|
+
`}function Rd(e,t){var l=qr(e,t);if(l!==e&&(e.children.length!==1||e.children[0]!==l))return wa(t)+`...
|
|
131
|
+
`+Rd(l,t+1);l="";var o=e.fiber._debugInfo;if(o)for(var d=0;d<o.length;d++){var p=o[d].name;typeof p=="string"&&(l+=wa(t)+"<"+p+`>
|
|
132
|
+
`,t++)}if(o="",d=e.fiber.pendingProps,e.fiber.tag===6)o=ws(d,e.serverProps,t),t++;else if(p=Em(e.fiber),p!==null)if(e.serverProps===void 0){o=t;var S=120-2*o-p.length-2,x="";for(H in d)if(d.hasOwnProperty(H)&&H!=="children"){var N=Vr(d[H],15);if(S-=H.length+N.length+2,0>S){x+=" ...";break}x+=" "+H+"="+N}o=wa(o)+"<"+p+x+`>
|
|
133
|
+
`,t++}else e.serverProps===null?(o=tc(p,d,Pu(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=Ol(p,d,e.serverProps,t),t++);var H="";for(d=e.fiber.child,p=0;d&&p<e.children.length;)S=e.children[p],S.fiber===d?(H+=Rd(S,t),p++):H+=Od(d,t),d=d.sibling;for(d&&0<e.children.length&&(H+=wa(t)+`...
|
|
134
|
+
`),d=e.serverTail,e.serverProps===null&&t--,e=0;e<d.length;e++)p=d[e],H=typeof p=="string"?H+(Yr(t)+ga(p,120-2*t)+`
|
|
135
|
+
`):H+tc(p.type,p.props,Yr(t));return l+o+H}function zs(e){try{return`
|
|
136
|
+
|
|
137
|
+
`+Rd(e,0)}catch{return""}}function Gr(e,t,l){for(var o=t,d=null,p=0;o;)o===e&&(p=0),d={fiber:o,children:d!==null?[d]:[],serverProps:o===t?l:o===e?null:void 0,serverTail:[],distanceFromLeaf:p},p++,o=o.return;return d!==null?zs(d).replaceAll(/^[+-]/gm,">"):""}function Am(e,t){var l=yt({},e||Tg),o={tag:t};return cp.indexOf(t)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),sp.indexOf(t)!==-1&&(l.pTagInButtonScope=null),Sg.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=o,t==="form"&&(l.formTag=o),t==="a"&&(l.aTagInScope=o),t==="button"&&(l.buttonTagInScope=o),t==="nobr"&&(l.nobrTagInScope=o),t==="p"&&(l.pTagInButtonScope=o),t==="li"&&(l.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(l.dlItemTagAutoclosing=o),t==="#document"||t==="html"?l.containerTagInScope=null:l.containerTagInScope||(l.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?l.implicitRootScope===!0&&(l.implicitRootScope=!1):l.implicitRootScope=!0,l}function xm(e,t,l){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(l)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!l)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Eg.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return l||t===null;case"html":return l&&t==="#document"||t===null;case"body":return l&&(t==="#document"||t==="html")||t===null}return!0}function nc(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Lv(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function wd(e,t){t=t||Tg;var l=t.current;if(t=(l=xm(e,l&&l.tag,t.implicitRootScope)?null:l)?null:nc(e,t),t=l||t,!t)return!0;var o=t.tag;if(t=String(!!l)+"|"+e+"|"+o,Fc[t])return!1;Fc[t]=!0;var d=(t=hl)?Lv(t.return,o):null,p=t!==null&&d!==null?Gr(d,t,null):"",S="<"+e+">";return l?(l="",o==="table"&&e==="tr"&&(l+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
138
|
+
This will cause a hydration error.%s`,S,o,l,p)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
139
|
+
This will cause a hydration error.%s`,S,o,p),t&&(e=t.return,d===null||e===null||d===e&&e._debugOwner===t._debugOwner||Be(d,function(){console.error(`<%s> cannot contain a nested %s.
|
|
140
|
+
See this log for the ancestor stack trace.`,o,S)})),!1}function _s(e,t,l){if(l||xm("#text",t,!1))return!0;if(l="#text|"+t,Fc[l])return!1;Fc[l]=!0;var o=(l=hl)?Lv(l,t):null;return l=l!==null&&o!==null?Gr(o,l,l.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
141
|
+
This will cause a hydration error.%s`,t,l):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
142
|
+
This will cause a hydration error.%s`,t,l),!1}function Xr(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}function k1(e){return e.replace(Mr,function(t,l){return l.toUpperCase()})}function Zv(e,t,l){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?Do.hasOwnProperty(t)&&Do[t]||(Do[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,k1(t.replace(Lf,"ms-")))):Bf.test(t)?Do.hasOwnProperty(t)&&Do[t]||(Do[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!q0.test(l)||Mo.hasOwnProperty(l)&&Mo[l]||(Mo[l]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,l.replace(q0,""))),typeof l=="number"&&(isNaN(l)?Y0||(Y0=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(l)||Ag||(Ag=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),l==null||typeof l=="boolean"||l===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,l):typeof l!="number"||l===0||Zf.has(t)?t==="float"?e.cssFloat=l:(U(l,t),e[t]=(""+l).trim()):e[t]=l+"px"}function Cs(e,t,l){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,l!=null){if(t){var o={};if(l){for(var d in l)if(l.hasOwnProperty(d)&&!t.hasOwnProperty(d))for(var p=Qi[d]||[d],S=0;S<p.length;S++)o[p[S]]=d}for(var x in t)if(t.hasOwnProperty(x)&&(!l||l[x]!==t[x]))for(d=Qi[x]||[x],p=0;p<d.length;p++)o[d[p]]=x;x={};for(var N in t)for(d=Qi[N]||[N],p=0;p<d.length;p++)x[d[p]]=N;N={};for(var H in o)if(d=o[H],(p=x[H])&&d!==p&&(S=d+","+p,!N[S])){N[S]=!0,S=console;var ee=t[d];S.error.call(S,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",ee==null||typeof ee=="boolean"||ee===""?"Removing":"Updating",d,p)}}for(var oe in l)!l.hasOwnProperty(oe)||t!=null&&t.hasOwnProperty(oe)||(oe.indexOf("--")===0?e.setProperty(oe,""):oe==="float"?e.cssFloat="":e[oe]="");for(var F in t)H=t[F],t.hasOwnProperty(F)&&l[F]!==H&&Zv(e,F,H)}else for(o in t)t.hasOwnProperty(o)&&Zv(e,o,t[o])}function Qr(e){if(e.indexOf("-")===-1)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}}function zd(e){return fp.get(e)||e}function ac(e,t){if(Cu.call(Ii,t)&&Ii[t])return!0;if(dp.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=xg.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ii[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Ii[t]=!0}if(Og.test(t)){if(e=t.toLowerCase(),e=xg.hasOwnProperty(e)?e:null,e==null)return Ii[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Ii[t]=!0)}return!0}function lc(e,t){var l=[],o;for(o in t)ac(e,o)||l.push(o);t=l.map(function(d){return"`"+d+"`"}).join(", "),l.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<l.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function qv(e,t,l,o){if(Cu.call(Ma,t)&&Ma[t])return!0;var d=t.toLowerCase();if(d==="onfocusin"||d==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ma[t]=!0;if(typeof l=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(d)?e[d]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),Ma[t]=!0;if(Yf.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ma[t]=!0}else if(Yf.test(t))return n.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ma[t]=!0;if(i.test(t)||r.test(t))return!0;if(d==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ma[t]=!0;if(d==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ma[t]=!0;if(d==="is"&&l!==null&&l!==void 0&&typeof l!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),Ma[t]=!0;if(typeof l=="number"&&isNaN(l))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ma[t]=!0;if(No.hasOwnProperty(d)){if(d=No[d],d!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,d),Ma[t]=!0}else if(t!==d)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,d),Ma[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof l){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":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":case"capture":case"download":case"inert":return!0;default:return d=t.toLowerCase().slice(0,5),d==="data-"||d==="aria-"?!0:(l?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',l,t,t,l,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',l,t,t,l,t,t,t),Ma[t]=!0)}case"function":case"symbol":return Ma[t]=!0,!1;case"string":if(l==="false"||l==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":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":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,t,l==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,l),Ma[t]=!0}}return!0}function Om(e,t,l){var o=[],d;for(d in t)qv(e,d,t[d],l)||o.push(d);t=o.map(function(p){return"`"+p+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function ic(e){return f.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ir(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function gi(e){var t=mn(e);if(t&&(e=t.stateNode)){var l=e[Fa]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ku(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(ce(t,"name"),l=l.querySelectorAll('input[name="'+ll(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var o=l[t];if(o!==e&&o.form===e.form){var d=o[Fa]||null;if(!d)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ku(o,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(t=0;t<l.length;t++)o=l[t],o.form===e.form&&qn(o)}break e;case"textarea":xd(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&cu(e,!!l.multiple,t,!1)}}}function _d(e,t,l){if(M)return e(t,l);M=!0;try{var o=e(t);return o}finally{if(M=!1,(g!==null||w!==null)&&(bo(),g&&(t=g,e=w,w=g=null,gi(t),e)))for(t=0;t<e.length;t++)gi(e[t])}}function su(e,t){var l=e.stateNode;if(l===null)return null;var o=l[Fa]||null;if(o===null)return null;l=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof l+"` type.");return l}function fu(){if(ne)return ne;var e,t=W,l=t.length,o,d="value"in ve?ve.value:ve.textContent,p=d.length;for(e=0;e<l&&t[e]===d[e];e++);var S=l-e;for(o=1;o<=S&&t[l-o]===d[p-o];o++);return ne=d.slice(e,1<o?1-o:void 0)}function uc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Jr(){return!0}function Rm(){return!1}function ua(e){function t(l,o,d,p,S){this._reactName=l,this._targetInst=d,this.type=o,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(l=e[x],this[x]=l?l(p):p[x]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Jr:Rm,this.isPropagationStopped=Rm,this}return yt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Jr)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Jr)},persist:function(){},isPersistent:Jr}),t}function Cd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=uN[e])?!!t[e]:!1}function Dd(){return Cd}function za(e,t){switch(e){case"keyup":return vN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==zx;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Md(e,t){switch(e){case"compositionend":return Wu(t);case"keypress":return t.which!==Cx?null:(Mx=!0,Dx);case"textInput":return e=t.data,e===Dx&&Mx?null:e;default:return null}}function Ds(e,t){if(hp)return e==="compositionend"||!W1&&za(e,t)?(e=fu(),ne=W=ve=null,hp=!1,e):null;switch(e){case"paste":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 _x&&t.locale!=="ko"?null:t.data;default:return null}}function Yv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!SN[e.type]:t==="textarea"}function wm(e){if(!j)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Nd(e,t,l,o){g?w?w.push(o):w=[o]:g=o,t=bf(t,"onChange"),0<t.length&&(l=new $e("onChange","change",null,l,o),e.push({event:l,listeners:t}))}function Ms(e){Bi(e,0)}function $r(e){var t=en(e);if(qn(t))return e}function zm(e,t){if(e==="change")return t}function Vv(){zg&&(zg.detachEvent("onpropertychange",Gv),_g=zg=null)}function Gv(e){if(e.propertyName==="value"&&$r(_g)){var t=[];Nd(t,_g,e,Ir(e)),_d(Ms,t)}}function U1(e,t,l){e==="focusin"?(Vv(),zg=t,_g=l,zg.attachEvent("onpropertychange",Gv)):e==="focusout"&&Vv()}function _m(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $r(_g)}function H1(e,t){if(e==="click")return $r(t)}function j1(e,t){if(e==="input"||e==="change")return $r(t)}function B1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Ns(e,t){if(pl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),o=Object.keys(t);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var d=l[o];if(!Cu.call(t,d)||!pl(e[d],t[d]))return!1}return!0}function Xv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cm(e,t){var l=Xv(e);e=0;for(var o;l;){if(l.nodeType===3){if(o=e+l.textContent.length,e<=t&&o>=t)return{node:l,offset:t-e};e=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Xv(l)}}function Qv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Iv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Os(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Os(e.document)}return t}function Dm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Jv(e,t,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;tS||pp==null||pp!==Os(o)||(o=pp,"selectionStart"in o&&Dm(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Cg&&Ns(Cg,o)||(Cg=o,o=bf(eS,"onSelect"),0<o.length&&(t=new $e("onSelect","select",null,t,l),e.push({event:t,listeners:o}),t.target=pp)))}function du(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}function Kr(e){if(nS[e])return nS[e];if(!mp[e])return e;var t=mp[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in kx)return nS[e]=t[l];return e}function $l(e,t){Lx.set(e,t),we(t,[e])}function il(e,t){if(typeof e=="object"&&e!==null){var l=lS.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Ed(t)},lS.set(e,t),t)}return{value:e,source:t,stack:Ed(t)}}function ks(){for(var e=yp,t=iS=yp=0;t<e;){var l=Ji[t];Ji[t++]=null;var o=Ji[t];Ji[t++]=null;var d=Ji[t];Ji[t++]=null;var p=Ji[t];if(Ji[t++]=null,o!==null&&d!==null){var S=o.pending;S===null?d.next=d:(d.next=S.next,S.next=d),o.pending=d}p!==0&&$v(l,d,p)}}function kd(e,t,l,o){Ji[yp++]=e,Ji[yp++]=t,Ji[yp++]=l,Ji[yp++]=o,iS|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Mm(e,t,l,o){return kd(e,t,l,o),Ud(e)}function Za(e,t){return kd(e,null,null,t),Ud(e)}function $v(e,t,l){e.lanes|=l;var o=e.alternate;o!==null&&(o.lanes|=l);for(var d=!1,p=e.return;p!==null;)p.childLanes|=l,o=p.alternate,o!==null&&(o.childLanes|=l),p.tag===22&&(e=p.stateNode,e===null||e._visibility&V0||(d=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,d&&t!==null&&(d=31-Ea(l),e=p.hiddenUpdates,o=e[d],o===null?e[d]=[t]:o.push(t),t.lane=l|536870912),p):null}function Ud(e){if(Fg>VN)throw td=Fg=0,Wg=US=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");td>GN&&(td=0,Wg=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&ri(e);for(var t=e,l=t.return;l!==null;)t.alternate===null&&(t.flags&4098)!==0&&ri(e),t=l,l=t.return;return t.tag===3?t.stateNode:null}function Pr(e){if($i===null)return e;var t=$i(e);return t===void 0?e:t.current}function Nm(e){if($i===null)return e;var t=$i(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Pr(e.render),e.render!==t)?(t={$$typeof:zu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Kv(e,t){if($i===null)return!1;var l=e.elementType;t=t.type;var o=!1,d=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||d===dl)&&(o=!0);break;case 11:(d===zu||d===dl)&&(o=!0);break;case 14:case 15:(d===Cf||d===dl)&&(o=!0);break;default:return!1}return!!(o&&(e=$i(l),e!==void 0&&e===$i(t)))}function Pv(e){$i!==null&&typeof WeakSet=="function"&&(gp===null&&(gp=new WeakSet),gp.add(e))}function Us(e,t,l){var o=e.alternate,d=e.child,p=e.sibling,S=e.tag,x=e.type,N=null;switch(S){case 0:case 15:case 1:N=x;break;case 11:N=x.render}if($i===null)throw Error("Expected resolveFamily to be set during hot reload.");var H=!1;x=!1,N!==null&&(N=$i(N),N!==void 0&&(l.has(N)?x=!0:t.has(N)&&(S===1?x=!0:H=!0))),gp!==null&&(gp.has(e)||o!==null&&gp.has(o))&&(x=!0),x&&(e._debugNeedsRemount=!0),(x||H)&&(o=Za(e,2),o!==null&&An(o,e,2)),d===null||x||Us(d,t,l),p!==null&&Us(p,t,l)}function Hs(e,t,l,o){this.tag=e,this.key=l,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,qx||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function km(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vi(e,t){var l=e.alternate;switch(l===null?(l=z(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugOwner=e._debugOwner,l._debugStack=e._debugStack,l._debugTask=e._debugTask,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null,l.actualDuration=-0,l.actualStartTime=-1.1),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugInfo=e._debugInfo,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case 0:case 15:l.type=Pr(e.type);break;case 1:l.type=Pr(e.type);break;case 11:l.type=Nm(e.type)}return l}function Um(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(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.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration),e}function Hd(e,t,l,o,d,p){var S=0,x=e;if(typeof e=="function")km(e)&&(S=1),x=Pr(x);else if(typeof e=="string")S=L(),S=Lc(e,l,S)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case og:return t=z(31,l,t,d),t.elementType=og,t.lanes=p,t;case ft:return er(l.children,d,p,t);case qc:S=8,d|=el,d|=Uu;break;case Yc:return e=l,o=d,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=z(12,e,t,o|Na),t.elementType=Yc,t.lanes=p,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Vc:return t=z(13,l,t,d),t.elementType=Vc,t.lanes=p,t;case Rr:return t=z(19,l,t,d),t.elementType=Rr,t.lanes=p,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case rg:case Bl:S=10;break e;case Ph:S=9;break e;case zu:S=11,x=Nm(x);break e;case Cf:S=14;break e;case dl:S=16,x=null;break e}x="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?l="null":it(e)?l="array":e!==void 0&&e.$$typeof===Or?(l="<"+(he(e.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,(S=o?_e(o):null)&&(x+=`
|
|
143
|
+
|
|
144
|
+
Check the render method of \``+S+"`."),S=29,l=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(l+"."+x)),x=null}return t=z(S,l,t,d),t.elementType=e,t.type=x,t.lanes=p,t._debugOwner=o,t}function js(e,t,l){return t=Hd(e.type,e.key,e.props,e._owner,t,l),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function er(e,t,l,o){return e=z(7,e,o,t),e.lanes=l,e}function tr(e,t,l){return e=z(6,e,null,t),e.lanes=l,e}function Hm(e,t,l){return t=z(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fr(e,t){Kl(),vp[bp++]=X0,vp[bp++]=G0,G0=e,X0=t}function Fv(e,t,l){Kl(),Ki[Pi++]=Uo,Ki[Pi++]=Ho,Ki[Pi++]=Vf,Vf=e;var o=Uo;e=Ho;var d=32-Ea(o)-1;o&=~(1<<d),l+=1;var p=32-Ea(t)+d;if(30<p){var S=d-d%5;p=(o&(1<<S)-1).toString(32),o>>=S,d-=S,Uo=1<<32-Ea(t)+d|l<<d|o,Ho=p+e}else Uo=1<<p|l<<d|o,Ho=e}function jd(e){Kl(),e.return!==null&&(Fr(e,1),Fv(e,1,0))}function Bd(e){for(;e===G0;)G0=vp[--bp],vp[bp]=null,X0=vp[--bp],vp[bp]=null;for(;e===Vf;)Vf=Ki[--Pi],Ki[Pi]=null,Ho=Ki[--Pi],Ki[Pi]=null,Uo=Ki[--Pi],Ki[Pi]=null}function Kl(){jt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Pl(e,t){if(e.return===null){if(Fi===null)Fi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Fi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Fi.distanceFromLeaf>t&&(Fi.distanceFromLeaf=t)}return Fi}var l=Pl(e.return,t+1).children;return 0<l.length&&l[l.length-1].fiber===e?(l=l[l.length-1],l.distanceFromLeaf>t&&(l.distanceFromLeaf=t),l):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},l.push(t),t)}function jm(e,t){jo||(e=Pl(e,0),e.serverProps=null,t!==null&&(t=qh(t),e.serverTail.push(t)))}function bi(e){var t="",l=Fi;throw l!==null&&(Fi=null,t=zs(l)),rc(il(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
145
|
+
|
|
146
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
147
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
148
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
149
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
150
|
+
- Invalid HTML tag nesting.
|
|
151
|
+
|
|
152
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
153
|
+
|
|
154
|
+
https://react.dev/link/hydration-mismatch`+t),e)),uS}function Bm(e){var t=e.stateNode,l=e.type,o=e.memoizedProps;switch(t[Ta]=e,t[Fa]=o,Li(l,o),l){case"dialog":Tt("cancel",t),Tt("close",t);break;case"iframe":case"object":case"embed":Tt("load",t);break;case"video":case"audio":for(l=0;l<ev.length;l++)Tt(ev[l],t);break;case"source":Tt("error",t);break;case"img":case"image":case"link":Tt("error",t),Tt("load",t);break;case"details":Tt("toggle",t);break;case"input":qe("input",o),Tt("invalid",t),$u(t,o),jv(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),ou(t);break;case"option":bm(t,o);break;case"select":qe("select",o),Tt("invalid",t),Rs(t,o);break;case"textarea":qe("textarea",o),Tt("invalid",t),yi(t,o),Sm(t,o.value,o.defaultValue,o.children),ou(t)}l=o.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||o.suppressHydrationWarning===!0||Zy(t.textContent,l)?(o.popover!=null&&(Tt("beforetoggle",t),Tt("toggle",t)),o.onScroll!=null&&Tt("scroll",t),o.onScrollEnd!=null&&Tt("scrollend",t),o.onClick!=null&&(t.onclick=xu),t=!0):t=!1,t||bi(e)}function Lm(e){for(ml=e.return;ml;)switch(ml.tag){case 5:case 13:kr=!1;return;case 27:case 3:kr=!0;return;default:ml=ml.return}}function Wr(e){if(e!==ml)return!1;if(!jt)return Lm(e),jt=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Zi(e.type,e.memoizedProps)),l=!l),l&&Bn){for(l=Bn;l;){var o=Pl(e,0),d=qh(l);o.serverTail.push(d),l=d.type==="Suspense"?Jy(l):fa(l.nextSibling)}bi(e)}if(Lm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Bn=Jy(e)}else t===27?(t=Bn,qi(e.type)?(e=IS,IS=null,Bn=e):Bn=t):Bn=ml?fa(e.stateNode.nextSibling):null;return!0}function eo(){Bn=ml=null,jo=jt=!1}function Zm(){var e=Gf;return e!==null&&(vl===null?vl=e:vl.push.apply(vl,e),Gf=null),e}function rc(e){Gf===null?Gf=[e]:Gf.push(e)}function qm(){var e=Fi;if(e!==null){Fi=null;for(var t=zs(e);0<e.children.length;)e=e.children[0];Be(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
155
|
+
|
|
156
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
157
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
158
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
159
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
160
|
+
- Invalid HTML tag nesting.
|
|
161
|
+
|
|
162
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
163
|
+
|
|
164
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Ld(){Sp=Q0=null,Ep=!1}function nr(e,t,l){Ee(rS,t._currentValue,e),t._currentValue=l,Ee(oS,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Xx&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Xx}function hu(e,t){e._currentValue=rS.current;var l=oS.current;be(oS,t),e._currentRenderer=l,be(rS,t)}function Ym(e,t,l){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===l)break;e=e.return}e!==l&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Vm(e,t,l,o){var d=e.child;for(d!==null&&(d.return=e);d!==null;){var p=d.dependencies;if(p!==null){var S=d.child;p=p.firstContext;e:for(;p!==null;){var x=p;p=d;for(var N=0;N<t.length;N++)if(x.context===t[N]){p.lanes|=l,x=p.alternate,x!==null&&(x.lanes|=l),Ym(p.return,l,e),o||(S=null);break e}p=x.next}}else if(d.tag===18){if(S=d.return,S===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");S.lanes|=l,p=S.alternate,p!==null&&(p.lanes|=l),Ym(S,l,e),S=null}else S=d.child;if(S!==null)S.return=d;else for(S=d;S!==null;){if(S===e){S=null;break}if(d=S.sibling,d!==null){d.return=S.return,S=d;break}S=S.return}d=S}}function ra(e,t,l,o){e=null;for(var d=t,p=!1;d!==null;){if(!p){if((d.flags&524288)!==0)p=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var S=d.alternate;if(S===null)throw Error("Should have a current fiber. This is a bug in React.");if(S=S.memoizedProps,S!==null){var x=d.type;pl(d.pendingProps.value,S.value)||(e!==null?e.push(x):e=[x])}}else if(d===Xc.current){if(S=d.alternate,S===null)throw Error("Should have a current fiber. This is a bug in React.");S.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(e!==null?e.push(lv):e=[lv])}d=d.return}e!==null&&Vm(t,e,l,o),t.flags|=262144}function ar(e){for(e=e.firstContext;e!==null;){if(!pl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function lr(e){Q0=e,Sp=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function tn(e){return Ep&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Gm(Q0,e)}function Bs(e,t){return Q0===null&&lr(e),Gm(e,t)}function Gm(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Sp===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Sp=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Sp=Sp.next=t;return l}function Ls(){return{controller:new zN,data:new Map,refCount:0}}function to(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Si(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&_N(CN,function(){e.controller.abort()})}function Fl(){var e=Xf;return Xf=0,e}function ir(e){var t=Xf;return Xf=e,t}function no(e){var t=Xf;return Xf+=e,t}function Zd(e){ql=Tp(),0>e.actualStartTime&&(e.actualStartTime=ql)}function pu(e){if(0<=ql){var t=Tp()-ql;e.actualDuration+=t,e.selfBaseDuration=t,ql=-1}}function ao(e){if(0<=ql){var t=Tp()-ql;e.actualDuration+=t,ql=-1}}function Rl(){if(0<=ql){var e=Tp()-ql;ql=-1,Xf+=e}}function Wl(){ql=Tp()}function Ei(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Wv(e,t){if(Dg===null){var l=Dg=[];cS=0,Qf=Uy(),Ap={status:"pending",value:void 0,then:function(o){l.push(o)}}}return cS++,t.then(Xm,Xm),t}function Xm(){if(--cS===0&&Dg!==null){Ap!==null&&(Ap.status="fulfilled");var e=Dg;Dg=null,Qf=0,Ap=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function e0(e,t){var l=[],o={status:"pending",value:null,reason:null,then:function(d){l.push(d)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var d=0;d<l.length;d++)(0,l[d])(t)},function(d){for(o.status="rejected",o.reason=d,d=0;d<l.length;d++)(0,l[d])(void 0)}),o}function Qm(){var e=If.current;return e!==null?e:nn.pooledCache}function qd(e,t){t===null?Ee(If,If.current,e):Ee(If,t.pool,e)}function t0(){var e=Qm();return e===null?null:{parent:pa._currentValue,pool:e}}function Im(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Jm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function oc(){}function wl(e,t,l){le.actQueue!==null&&(le.didUsePromise=!0);var o=e.thenables;switch(l=o[l],l===void 0?o.push(t):l!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(oc,oc),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ul(e),e;default:if(typeof t.status=="string")t.then(oc,oc);else{if(e=nn,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(d){if(t.status==="pending"){var p=t;p.status="fulfilled",p.value=d}},function(d){if(t.status==="pending"){var p=t;p.status="rejected",p.reason=d}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ul(e),e}throw Lg=t,F0=!0,Bg}}function $m(){if(Lg===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Lg;return Lg=null,F0=!1,e}function ul(e){if(e===Bg||e===P0)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function qa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ur(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 Ti(e){return{lane:e,tag:Kx,payload:null,callback:null,next:null}}function ei(e,t,l){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,dS===o&&!Wx){var d=Se(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
165
|
+
|
|
166
|
+
Please update the following component: %s`,d),Wx=!0}return(Gt&gl)!==si?(d=o.pending,d===null?t.next=t:(t.next=d.next,d.next=t),o.pending=t,t=Ud(e),$v(e,null,l),t):(kd(e,o,t,l),Ud(e))}function rr(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,l|=o,t.lanes=l,pe(e,l)}}function cc(e,t){var l=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var d=null,p=null;if(l=l.firstBaseUpdate,l!==null){do{var S={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};p===null?d=p=S:p=p.next=S,l=l.next}while(l!==null);p===null?d=p=t:p=p.next=t}else d=p=t;l={baseState:o.baseState,firstBaseUpdate:d,lastBaseUpdate:p,shared:o.shared,callbacks:o.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}function Ai(){if(hS){var e=Ap;if(e!==null)throw e}}function sc(e,t,l,o){hS=!1;var d=e.updateQueue;ts=!1,dS=d.shared;var p=d.firstBaseUpdate,S=d.lastBaseUpdate,x=d.shared.pending;if(x!==null){d.shared.pending=null;var N=x,H=N.next;N.next=null,S===null?p=H:S.next=H,S=N;var ee=e.alternate;ee!==null&&(ee=ee.updateQueue,x=ee.lastBaseUpdate,x!==S&&(x===null?ee.firstBaseUpdate=H:x.next=H,ee.lastBaseUpdate=N))}if(p!==null){var oe=d.baseState;S=0,ee=H=N=null,x=p;do{var F=x.lane&-536870913,fe=F!==x.lane;if(fe?(Rt&F)===F:(o&F)===F){F!==0&&F===Qf&&(hS=!0),ee!==null&&(ee=ee.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{F=e;var Le=x,nt=t,an=l;switch(Le.tag){case Px:if(Le=Le.payload,typeof Le=="function"){Ep=!0;var Ct=Le.call(an,oe,nt);if(F.mode&el){Oe(!0);try{Le.call(an,oe,nt)}finally{Oe(!1)}}Ep=!1,oe=Ct;break e}oe=Le;break e;case fS:F.flags=F.flags&-65537|128;case Kx:if(Ct=Le.payload,typeof Ct=="function"){if(Ep=!0,Le=Ct.call(an,oe,nt),F.mode&el){Oe(!0);try{Ct.call(an,oe,nt)}finally{Oe(!1)}}Ep=!1}else Le=Ct;if(Le==null)break e;oe=yt({},oe,Le);break e;case Fx:ts=!0}}F=x.callback,F!==null&&(e.flags|=64,fe&&(e.flags|=8192),fe=d.callbacks,fe===null?d.callbacks=[F]:fe.push(F))}else fe={lane:F,tag:x.tag,payload:x.payload,callback:x.callback,next:null},ee===null?(H=ee=fe,N=oe):ee=ee.next=fe,S|=F;if(x=x.next,x===null){if(x=d.shared.pending,x===null)break;fe=x,x=fe.next,fe.next=null,d.lastBaseUpdate=fe,d.shared.pending=null}}while(!0);ee===null&&(N=oe),d.baseState=N,d.firstBaseUpdate=H,d.lastBaseUpdate=ee,p===null&&(d.shared.lanes=0),is|=S,e.lanes=S,e.memoizedState=oe}dS=null}function Zs(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function fc(e,t){var l=e.shared.hiddenCallbacks;if(l!==null)for(e.shared.hiddenCallbacks=null,e=0;e<l.length;e++)Zs(l[e],t)}function n0(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Zs(l[e],t)}function Ya(e,t){var l=jr;Ee(W0,l,e),Ee(xp,t,e),jr=l|t.baseLanes}function qs(e){Ee(W0,jr,e),Ee(xp,xp.current,e)}function ti(e){jr=W0.current,be(xp,e),be(W0,e)}function bt(){var e=re;tu===null?tu=[e]:tu.push(e)}function Ae(){var e=re;if(tu!==null&&(Lo++,tu[Lo]!==e)){var t=Se(ut);if(!e2.has(t)&&(e2.add(t),tu!==null)){for(var l="",o=0;o<=Lo;o++){var d=tu[o],p=o===Lo?e:d;for(d=o+1+". "+d;30>d.length;)d+=" ";d+=p+`
|
|
167
|
+
`,l+=d}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
168
|
+
|
|
169
|
+
Previous render Next render
|
|
170
|
+
------------------------------------------------------
|
|
171
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
172
|
+
`,t,l)}}}function zl(e){e==null||it(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",re,typeof e)}function dc(){var e=Se(ut);n2.has(e)||(n2.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function yn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
173
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
174
|
+
2. You might be breaking the Rules of Hooks
|
|
175
|
+
3. You might have more than one copy of React in the same app
|
|
176
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function or(e,t){if(qg)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",re),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
177
|
+
|
|
178
|
+
Previous: %s
|
|
179
|
+
Incoming: %s`,re,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<t.length&&l<e.length;l++)if(!pl(e[l],t[l]))return!1;return!0}function cr(e,t,l,o,d,p){ns=p,ut=t,tu=e!==null?e._debugHookTypes:null,Lo=-1,qg=e!==null&&e.type!==t.type,(Object.prototype.toString.call(l)==="[object AsyncFunction]"||Object.prototype.toString.call(l)==="[object AsyncGeneratorFunction]")&&(p=Se(ut),pS.has(p)||(pS.add(p),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",p===null?"An unknown Component":"<"+p+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,le.H=e!==null&&e.memoizedState!==null?yS:tu!==null?a2:mS,$f=p=(t.mode&el)!==sn;var S=gS(l,o,d);if($f=!1,Rp&&(S=hc(t,l,o,d)),p){Oe(!0);try{S=hc(t,l,o,d)}finally{Oe(!1)}}return Ys(e,t),S}function Ys(e,t){t._debugHookTypes=tu,t.dependencies===null?Bo!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Bo}):t.dependencies._debugThenableState=Bo,le.H=nb;var l=Ft!==null&&Ft.next!==null;if(ns=0,tu=re=ta=Ft=ut=null,Lo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),eb=!1,Zg=0,Bo=null,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Aa||(e=e.dependencies,e!==null&&ar(e)&&(Aa=!0)),F0?(F0=!1,e=!0):e=!1,e&&(t=Se(t)||"Unknown",t2.has(t)||pS.has(t)||(t2.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function hc(e,t,l,o){ut=e;var d=0;do{if(Rp&&(Bo=null),Zg=0,Rp=!1,d>=MN)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(d+=1,qg=!1,ta=Ft=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}Lo=-1,le.H=l2,p=gS(t,l,o)}while(Rp);return p}function _l(){var e=le.H,t=e.useState()[0];return t=typeof t.then=="function"?lo(t):t,e=e.useState()[0],(Ft!==null?Ft.memoizedState:null)!==e&&(ut.flags|=1024),t}function Va(){var e=tb!==0;return tb=0,e}function mu(e,t,l){t.updateQueue=e.updateQueue,t.flags=(t.mode&Uu)!==sn?t.flags&-402655237:t.flags&-2053,e.lanes&=~l}function ni(e){if(eb){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}eb=!1}ns=0,tu=ta=Ft=ut=null,Lo=-1,re=null,Rp=!1,Zg=tb=0,Bo=null}function En(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ta===null?ut.memoizedState=ta=e:ta=ta.next=e,ta}function _t(){if(Ft===null){var e=ut.alternate;e=e!==null?e.memoizedState:null}else e=Ft.next;var t=ta===null?ut.memoizedState:ta.next;if(t!==null)ta=t,Ft=e;else{if(e===null)throw ut.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Ft=e,e={memoizedState:Ft.memoizedState,baseState:Ft.baseState,baseQueue:Ft.baseQueue,queue:Ft.queue,next:null},ta===null?ut.memoizedState=ta=e:ta=ta.next=e}return ta}function Yd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lo(e){var t=Zg;return Zg+=1,Bo===null&&(Bo=Im()),e=wl(Bo,e,t),t=ut,(ta===null?t.memoizedState:ta.next)===null&&(t=t.alternate,le.H=t!==null&&t.memoizedState!==null?yS:mS),e}function xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return lo(e);if(e.$$typeof===Bl)return tn(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function kn(e){var t=null,l=ut.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var o=ut.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(d){return d.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Yd(),ut.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0||qg)for(l=t.data[t.index]=Array(e),o=0;o<e;o++)l[o]=D0;else l.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",l.length,e);return t.index++,l}function kt(e,t){return typeof t=="function"?t(e):t}function Nt(e,t,l){var o=En();if(l!==void 0){var d=l(t);if($f){Oe(!0);try{l(t)}finally{Oe(!1)}}}else d=t;return o.memoizedState=o.baseState=d,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:d},o.queue=e,e=e.dispatch=ly.bind(null,ut,e),[o.memoizedState,e]}function Cl(e){var t=_t();return Dl(t,Ft,e)}function Dl(e,t,l){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=l;var d=e.baseQueue,p=o.pending;if(p!==null){if(d!==null){var S=d.next;d.next=p.next,p.next=S}t.baseQueue!==d&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=d=p,o.pending=null}if(p=e.baseState,d===null)e.memoizedState=p;else{t=d.next;var x=S=null,N=null,H=t,ee=!1;do{var oe=H.lane&-536870913;if(oe!==H.lane?(Rt&oe)===oe:(ns&oe)===oe){var F=H.revertLane;if(F===0)N!==null&&(N=N.next={lane:0,revertLane:0,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),oe===Qf&&(ee=!0);else if((ns&F)===F){H=H.next,F===Qf&&(ee=!0);continue}else oe={lane:0,revertLane:H.revertLane,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},N===null?(x=N=oe,S=p):N=N.next=oe,ut.lanes|=F,is|=F;oe=H.action,$f&&l(p,oe),p=H.hasEagerState?H.eagerState:l(p,oe)}else F={lane:oe,revertLane:H.revertLane,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},N===null?(x=N=F,S=p):N=N.next=F,ut.lanes|=oe,is|=oe;H=H.next}while(H!==null&&H!==t);if(N===null?S=p:N.next=x,!pl(p,e.memoizedState)&&(Aa=!0,ee&&(l=Ap,l!==null)))throw l;e.memoizedState=p,e.baseState=S,e.baseQueue=N,o.lastRenderedState=p}return d===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function io(e){var t=_t(),l=t.queue;if(l===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");l.lastRenderedReducer=e;var o=l.dispatch,d=l.pending,p=t.memoizedState;if(d!==null){l.pending=null;var S=d=d.next;do p=e(p,S.action),S=S.next;while(S!==d);pl(p,t.memoizedState)||(Aa=!0),t.memoizedState=p,t.baseQueue===null&&(t.baseState=p),l.lastRenderedState=p}return[p,o]}function yu(e,t,l){var o=ut,d=En();if(jt){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var p=l();Op||p===l()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Op=!0)}else{if(p=t(),Op||(l=t(),pl(p,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Op=!0)),nn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Rt&124)!==0||Km(o,t,p)}return d.memoizedState=p,l={value:p,getSnapshot:t},d.queue=l,Xd(mc.bind(null,o,l,e),[e]),o.flags|=2048,Ri(eu|ma,fr(),pc.bind(null,o,l,p,t),null),p}function Vs(e,t,l){var o=ut,d=_t(),p=jt;if(p){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");l=l()}else if(l=t(),!Op){var S=t();pl(l,S)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Op=!0)}(S=!pl((Ft||d).memoizedState,l))&&(d.memoizedState=l,Aa=!0),d=d.queue;var x=mc.bind(null,o,d,e);if(Vn(2048,ma,x,[e]),d.getSnapshot!==t||S||ta!==null&&ta.memoizedState.tag&eu){if(o.flags|=2048,Ri(eu|ma,fr(),pc.bind(null,o,d,l,t),null),nn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");p||(ns&124)!==0||Km(o,t,l)}return l}function Km(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ut.updateQueue,t===null?(t=Yd(),ut.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function pc(e,t,l,o){t.value=l,t.getSnapshot=o,Pm(t)&&yc(e)}function mc(e,t,l){return l(function(){Pm(t)&&yc(e)})}function Pm(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!pl(e,l)}catch{return!0}}function yc(e){var t=Za(e,2);t!==null&&An(t,e,2)}function Gs(e){var t=En();if(typeof e=="function"){var l=e;if(e=l(),$f){Oe(!0);try{l()}finally{Oe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kt,lastRenderedState:e},t}function gu(e){e=Gs(e);var t=e.queue,l=Sc.bind(null,ut,t);return t.dispatch=l,[e.memoizedState,l]}function ai(e){var t=En();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=eh.bind(null,ut,!0,l),l.dispatch=t,[e,t]}function vu(e,t){var l=_t();return Oi(l,Ft,e,t)}function Oi(e,t,l,o){return e.baseState=l,Dl(e,Ft,typeof o=="function"?o:kt)}function Vd(e,t){var l=_t();return Ft!==null?Oi(l,Ft,e,t):(l.baseState=e,[e,l.queue.dispatch])}function Fm(e,t,l,o,d){if(Ps(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var p={payload:d,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){p.listeners.push(S)}};le.T!==null?l(!0):p.isTransition=!1,o(p),l=t.pending,l===null?(p.next=t.pending=p,gc(t,p)):(p.next=l.next,t.pending=l.next=p)}}function gc(e,t){var l=t.action,o=t.payload,d=e.state;if(t.isTransition){var p=le.T,S={};le.T=S,le.T._updatedFibers=new Set;try{var x=l(d,o),N=le.S;N!==null&&N(S,x),Xs(e,t,x)}catch(H){Kn(e,t,H)}finally{le.T=p,p===null&&S._updatedFibers&&(e=S._updatedFibers.size,S._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{S=l(d,o),Xs(e,t,S)}catch(H){Kn(e,t,H)}}function Xs(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?(l.then(function(o){sr(e,t,o)},function(o){return Kn(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):sr(e,t,l)}function sr(e,t,l){t.status="fulfilled",t.value=l,Qs(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,gc(e,l)))}function Kn(e,t,l){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=l,Qs(t),t=t.next;while(t!==o)}e.action=null}function Qs(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Wm(e,t){return t}function vc(e,t){if(jt){var l=nn.formState;if(l!==null){e:{var o=ut;if(jt){if(Bn){t:{for(var d=Bn,p=kr;d.nodeType!==8;){if(!p){d=null;break t}if(d=fa(d.nextSibling),d===null){d=null;break t}}p=d.data,d=p===VS||p===nO?d:null}if(d){Bn=fa(d.nextSibling),o=d.data===VS;break e}}bi(o)}o=!1}o&&(t=l[0])}}return l=En(),l.memoizedState=l.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wm,lastRenderedState:t},l.queue=o,l=Sc.bind(null,ut,o),o.dispatch=l,o=Gs(!1),p=eh.bind(null,ut,!1,o.queue),o=En(),d={state:t,dispatch:null,action:e,pending:null},o.queue=d,l=Fm.bind(null,ut,d,p,l),d.dispatch=l,o.memoizedState=e,[t,l,!1]}function Gd(e){var t=_t();return a0(t,Ft,e)}function a0(e,t,l){if(t=Dl(e,t,Wm)[0],e=Cl(kt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=lo(t)}catch(S){throw S===Bg?P0:S}else o=t;t=_t();var d=t.queue,p=d.dispatch;return l!==t.memoizedState&&(ut.flags|=2048,Ri(eu|ma,fr(),Yn.bind(null,d,l),null)),[o,p,e]}function Yn(e,t){e.action=t}function bc(e){var t=_t(),l=Ft;if(l!==null)return a0(t,l,e);_t(),t=t.memoizedState,l=_t();var o=l.queue.dispatch;return l.memoizedState=e,[t,o,!1]}function Ri(e,t,l,o){return e={tag:e,create:l,deps:o,inst:t,next:null},t=ut.updateQueue,t===null&&(t=Yd(),ut.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(o=l.next,l.next=e,e.next=o,t.lastEffect=e),e}function fr(){return{destroy:void 0,resource:void 0}}function Is(e){var t=En();return e={current:e},t.memoizedState=e}function Ml(e,t,l,o){var d=En();o=o===void 0?null:o,ut.flags|=e,d.memoizedState=Ri(eu|t,fr(),l,o)}function Vn(e,t,l,o){var d=_t();o=o===void 0?null:o;var p=d.memoizedState.inst;Ft!==null&&o!==null&&or(o,Ft.memoizedState.deps)?d.memoizedState=Ri(t,p,l,o):(ut.flags|=e,d.memoizedState=Ri(eu|t,p,l,o))}function Xd(e,t){(ut.mode&Uu)!==sn&&(ut.mode&Zx)===sn?Ml(276826112,ma,e,t):Ml(8390656,ma,e,t)}function Qd(e,t){var l=4194308;return(ut.mode&Uu)!==sn&&(l|=134217728),Ml(l,ka,e,t)}function l0(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Id(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null;var o=4194308;(ut.mode&Uu)!==sn&&(o|=134217728),Ml(o,ka,l0.bind(null,t,e),l)}function wi(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null,Vn(4,ka,l0.bind(null,t,e),l)}function Js(e,t){return En().memoizedState=[e,t===void 0?null:t],e}function uo(e,t){var l=_t();t=t===void 0?null:t;var o=l.memoizedState;return t!==null&&or(t,o[1])?o[0]:(l.memoizedState=[e,t],e)}function Jd(e,t){var l=En();t=t===void 0?null:t;var o=e();if($f){Oe(!0);try{e()}finally{Oe(!1)}}return l.memoizedState=[o,t],o}function dr(e,t){var l=_t();t=t===void 0?null:t;var o=l.memoizedState;if(t!==null&&or(t,o[1]))return o[0];if(o=e(),$f){Oe(!0);try{e()}finally{Oe(!1)}}return l.memoizedState=[o,t],o}function $d(e,t){var l=En();return Pd(l,e,t)}function $s(e,t){var l=_t();return Ks(l,Ft.memoizedState,e,t)}function Kd(e,t){var l=_t();return Ft===null?Pd(l,e,t):Ks(l,Ft.memoizedState,e,t)}function Pd(e,t,l){return l===void 0||(ns&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=p0(),ut.lanes|=e,is|=e,l)}function Ks(e,t,l,o){return pl(l,t)?l:xp.current!==null?(e=Pd(e,l,o),pl(e,t)||(Aa=!0),e):(ns&42)===0?(Aa=!0,e.memoizedState=l):(e=p0(),ut.lanes|=e,is|=e,t)}function ey(e,t,l,o,d){var p=tt.p;tt.p=p!==0&&p<ci?p:ci;var S=le.T,x={};le.T=x,eh(e,!1,t,l),x._updatedFibers=new Set;try{var N=d(),H=le.S;if(H!==null&&H(x,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var ee=e0(N,o);bu(e,t,ee,Ia(e))}else bu(e,t,o,Ia(e))}catch(oe){bu(e,t,{then:function(){},status:"rejected",reason:oe},Ia(e))}finally{tt.p=p,le.T=S,S===null&&x._updatedFibers&&(e=x._updatedFibers.size,x._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function ro(e,t,l,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var d=ty(e).queue;ey(e,d,t,ud,l===null?O:function(){return ny(e),l(o)})}function ty(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ud,baseState:ud,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kt,lastRenderedState:ud},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ny(e){le.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=ty(e).next.queue;bu(e,t,{},Ia(e))}function zi(){var e=Gs(!1);return e=ey.bind(null,ut,e.queue,!0,!1),En().memoizedState=e,[!1,e]}function Fd(){var e=Cl(kt)[0],t=_t().memoizedState;return[typeof e=="boolean"?e:lo(e),t]}function Wd(){var e=io(kt)[0],t=_t().memoizedState;return[typeof e=="boolean"?e:lo(e),t]}function Ga(){return tn(lv)}function _i(){var e=En(),t=nn.identifierPrefix;if(jt){var l=Ho,o=Uo;l=(o&~(1<<32-Ea(o)-1)).toString(32)+l,t="«"+t+"R"+l,l=tb++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=DN++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t}function oo(){return En().memoizedState=ay.bind(null,ut)}function ay(e,t){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var o=Ia(l);e=Ti(o);var d=ei(l,e,o);d!==null&&(An(d,l,o),rr(d,l,o)),l=Ls(),t!=null&&d!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:l};return}l=l.return}}function ly(e,t,l){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=Ia(e);var d={lane:o,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};Ps(e)?co(t,d):(d=Mm(e,t,d,o),d!==null&&(An(d,e,o),Fs(d,t,o))),Al(e,o)}function Sc(e,t,l){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=Ia(e),bu(e,t,l,o),Al(e,o)}function bu(e,t,l,o){var d={lane:o,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ps(e))co(t,d);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=t.lastRenderedReducer,p!==null)){var S=le.H;le.H=ju;try{var x=t.lastRenderedState,N=p(x,l);if(d.hasEagerState=!0,d.eagerState=N,pl(N,x))return kd(e,t,d,0),nn===null&&ks(),!1}catch{}finally{le.H=S}}if(l=Mm(e,t,d,o),l!==null)return An(l,e,o),Fs(l,t,o),!0}return!1}function eh(e,t,l,o){if(le.T===null&&Qf===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:Uy(),action:o,hasEagerState:!1,eagerState:null,next:null},Ps(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Mm(e,l,o,2),t!==null&&An(t,e,2);Al(e,2)}function Ps(e){var t=e.alternate;return e===ut||t!==null&&t===ut}function co(e,t){Rp=eb=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Fs(e,t,l){if((l&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,l|=o,t.lanes=l,pe(e,l)}}function Pn(e){var t=Et;return e!=null&&(Et=t===null?e:t.concat(e)),t}function Ec(e,t,l){for(var o=Object.keys(e.props),d=0;d<o.length;d++){var p=o[d];if(p!=="children"&&p!=="key"){t===null&&(t=js(e,l.mode,0),t._debugInfo=Et,t.return=l),Be(t,function(S){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S)},p);break}}}function Tc(e){var t=Yg;return Yg+=1,wp===null&&(wp=Im()),wl(wp,e,t)}function Nl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function st(e,t){throw t.$$typeof===_f?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
180
|
+
- Multiple copies of the "react" package is used.
|
|
181
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
182
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Lt(e,t){var l=Se(e)||"Component";b2[l]||(b2[l]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
183
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
184
|
+
<%s>{%s}</%s>`,t,t,l,t,l))}function gn(e,t){var l=Se(e)||"Component";S2[l]||(S2[l]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
185
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
186
|
+
<%s>%s</%s>`,l,t,l))}function Ws(e){function t(B,Z){if(e){var V=B.deletions;V===null?(B.deletions=[Z],B.flags|=16):V.push(Z)}}function l(B,Z){if(!e)return null;for(;Z!==null;)t(B,Z),Z=Z.sibling;return null}function o(B){for(var Z=new Map;B!==null;)B.key!==null?Z.set(B.key,B):Z.set(B.index,B),B=B.sibling;return Z}function d(B,Z){return B=vi(B,Z),B.index=0,B.sibling=null,B}function p(B,Z,V){return B.index=V,e?(V=B.alternate,V!==null?(V=V.index,V<Z?(B.flags|=67108866,Z):V):(B.flags|=67108866,Z)):(B.flags|=1048576,Z)}function S(B){return e&&B.alternate===null&&(B.flags|=67108866),B}function x(B,Z,V,de){return Z===null||Z.tag!==6?(Z=tr(V,B.mode,de),Z.return=B,Z._debugOwner=B,Z._debugTask=B._debugTask,Z._debugInfo=Et,Z):(Z=d(Z,V),Z.return=B,Z._debugInfo=Et,Z)}function N(B,Z,V,de){var Ce=V.type;return Ce===ft?(Z=ee(B,Z,V.props.children,de,V.key),Ec(V,Z,B),Z):Z!==null&&(Z.elementType===Ce||Kv(Z,V)||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===dl&&as(Ce)===Z.type)?(Z=d(Z,V.props),Nl(Z,V),Z.return=B,Z._debugOwner=V._owner,Z._debugInfo=Et,Z):(Z=js(V,B.mode,de),Nl(Z,V),Z.return=B,Z._debugInfo=Et,Z)}function H(B,Z,V,de){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==V.containerInfo||Z.stateNode.implementation!==V.implementation?(Z=Hm(V,B.mode,de),Z.return=B,Z._debugInfo=Et,Z):(Z=d(Z,V.children||[]),Z.return=B,Z._debugInfo=Et,Z)}function ee(B,Z,V,de,Ce){return Z===null||Z.tag!==7?(Z=er(V,B.mode,de,Ce),Z.return=B,Z._debugOwner=B,Z._debugTask=B._debugTask,Z._debugInfo=Et,Z):(Z=d(Z,V),Z.return=B,Z._debugInfo=Et,Z)}function oe(B,Z,V){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return Z=tr(""+Z,B.mode,V),Z.return=B,Z._debugOwner=B,Z._debugTask=B._debugTask,Z._debugInfo=Et,Z;if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Or:return V=js(Z,B.mode,V),Nl(V,Z),V.return=B,B=Pn(Z._debugInfo),V._debugInfo=Et,Et=B,V;case _o:return Z=Hm(Z,B.mode,V),Z.return=B,Z._debugInfo=Et,Z;case dl:var de=Pn(Z._debugInfo);return Z=as(Z),B=oe(B,Z,V),Et=de,B}if(it(Z)||Q(Z))return V=er(Z,B.mode,V,null),V.return=B,V._debugOwner=B,V._debugTask=B._debugTask,B=Pn(Z._debugInfo),V._debugInfo=Et,Et=B,V;if(typeof Z.then=="function")return de=Pn(Z._debugInfo),B=oe(B,Tc(Z),V),Et=de,B;if(Z.$$typeof===Bl)return oe(B,Bs(B,Z),V);st(B,Z)}return typeof Z=="function"&&Lt(B,Z),typeof Z=="symbol"&&gn(B,Z),null}function F(B,Z,V,de){var Ce=Z!==null?Z.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return Ce!==null?null:x(B,Z,""+V,de);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case Or:return V.key===Ce?(Ce=Pn(V._debugInfo),B=N(B,Z,V,de),Et=Ce,B):null;case _o:return V.key===Ce?H(B,Z,V,de):null;case dl:return Ce=Pn(V._debugInfo),V=as(V),B=F(B,Z,V,de),Et=Ce,B}if(it(V)||Q(V))return Ce!==null?null:(Ce=Pn(V._debugInfo),B=ee(B,Z,V,de,null),Et=Ce,B);if(typeof V.then=="function")return Ce=Pn(V._debugInfo),B=F(B,Z,Tc(V),de),Et=Ce,B;if(V.$$typeof===Bl)return F(B,Z,Bs(B,V),de);st(B,V)}return typeof V=="function"&&Lt(B,V),typeof V=="symbol"&&gn(B,V),null}function fe(B,Z,V,de,Ce){if(typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint")return B=B.get(V)||null,x(Z,B,""+de,Ce);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case Or:return V=B.get(de.key===null?V:de.key)||null,B=Pn(de._debugInfo),Z=N(Z,V,de,Ce),Et=B,Z;case _o:return B=B.get(de.key===null?V:de.key)||null,H(Z,B,de,Ce);case dl:var dt=Pn(de._debugInfo);return de=as(de),Z=fe(B,Z,V,de,Ce),Et=dt,Z}if(it(de)||Q(de))return V=B.get(V)||null,B=Pn(de._debugInfo),Z=ee(Z,V,de,Ce,null),Et=B,Z;if(typeof de.then=="function")return dt=Pn(de._debugInfo),Z=fe(B,Z,V,Tc(de),Ce),Et=dt,Z;if(de.$$typeof===Bl)return fe(B,Z,V,Bs(Z,de),Ce);st(Z,de)}return typeof de=="function"&&Lt(Z,de),typeof de=="symbol"&&gn(Z,de),null}function Le(B,Z,V,de){if(typeof V!="object"||V===null)return de;switch(V.$$typeof){case Or:case _o:b(B,Z,V);var Ce=V.key;if(typeof Ce!="string")break;if(de===null){de=new Set,de.add(Ce);break}if(!de.has(Ce)){de.add(Ce);break}Be(Z,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ce)});break;case dl:V=as(V),Le(B,Z,V,de)}return de}function nt(B,Z,V,de){for(var Ce=null,dt=null,Ze=null,ht=Z,mt=Z=0,fn=null;ht!==null&&mt<V.length;mt++){ht.index>mt?(fn=ht,ht=null):fn=ht.sibling;var In=F(B,ht,V[mt],de);if(In===null){ht===null&&(ht=fn);break}Ce=Le(B,In,V[mt],Ce),e&&ht&&In.alternate===null&&t(B,ht),Z=p(In,Z,mt),Ze===null?dt=In:Ze.sibling=In,Ze=In,ht=fn}if(mt===V.length)return l(B,ht),jt&&Fr(B,mt),dt;if(ht===null){for(;mt<V.length;mt++)ht=oe(B,V[mt],de),ht!==null&&(Ce=Le(B,ht,V[mt],Ce),Z=p(ht,Z,mt),Ze===null?dt=ht:Ze.sibling=ht,Ze=ht);return jt&&Fr(B,mt),dt}for(ht=o(ht);mt<V.length;mt++)fn=fe(ht,B,mt,V[mt],de),fn!==null&&(Ce=Le(B,fn,V[mt],Ce),e&&fn.alternate!==null&&ht.delete(fn.key===null?mt:fn.key),Z=p(fn,Z,mt),Ze===null?dt=fn:Ze.sibling=fn,Ze=fn);return e&&ht.forEach(function(Xo){return t(B,Xo)}),jt&&Fr(B,mt),dt}function an(B,Z,V,de){if(V==null)throw Error("An iterable object provided no iterator.");for(var Ce=null,dt=null,Ze=Z,ht=Z=0,mt=null,fn=null,In=V.next();Ze!==null&&!In.done;ht++,In=V.next()){Ze.index>ht?(mt=Ze,Ze=null):mt=Ze.sibling;var Xo=F(B,Ze,In.value,de);if(Xo===null){Ze===null&&(Ze=mt);break}fn=Le(B,Xo,In.value,fn),e&&Ze&&Xo.alternate===null&&t(B,Ze),Z=p(Xo,Z,ht),dt===null?Ce=Xo:dt.sibling=Xo,dt=Xo,Ze=mt}if(In.done)return l(B,Ze),jt&&Fr(B,ht),Ce;if(Ze===null){for(;!In.done;ht++,In=V.next())Ze=oe(B,In.value,de),Ze!==null&&(fn=Le(B,Ze,In.value,fn),Z=p(Ze,Z,ht),dt===null?Ce=Ze:dt.sibling=Ze,dt=Ze);return jt&&Fr(B,ht),Ce}for(Ze=o(Ze);!In.done;ht++,In=V.next())mt=fe(Ze,B,ht,In.value,de),mt!==null&&(fn=Le(B,mt,In.value,fn),e&&mt.alternate!==null&&Ze.delete(mt.key===null?ht:mt.key),Z=p(mt,Z,ht),dt===null?Ce=mt:dt.sibling=mt,dt=mt);return e&&Ze.forEach(function(lk){return t(B,lk)}),jt&&Fr(B,ht),Ce}function Ct(B,Z,V,de){if(typeof V=="object"&&V!==null&&V.type===ft&&V.key===null&&(Ec(V,null,B),V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case Or:var Ce=Pn(V._debugInfo);e:{for(var dt=V.key;Z!==null;){if(Z.key===dt){if(dt=V.type,dt===ft){if(Z.tag===7){l(B,Z.sibling),de=d(Z,V.props.children),de.return=B,de._debugOwner=V._owner,de._debugInfo=Et,Ec(V,de,B),B=de;break e}}else if(Z.elementType===dt||Kv(Z,V)||typeof dt=="object"&&dt!==null&&dt.$$typeof===dl&&as(dt)===Z.type){l(B,Z.sibling),de=d(Z,V.props),Nl(de,V),de.return=B,de._debugOwner=V._owner,de._debugInfo=Et,B=de;break e}l(B,Z);break}else t(B,Z);Z=Z.sibling}V.type===ft?(de=er(V.props.children,B.mode,de,V.key),de.return=B,de._debugOwner=B,de._debugTask=B._debugTask,de._debugInfo=Et,Ec(V,de,B),B=de):(de=js(V,B.mode,de),Nl(de,V),de.return=B,de._debugInfo=Et,B=de)}return B=S(B),Et=Ce,B;case _o:e:{for(Ce=V,V=Ce.key;Z!==null;){if(Z.key===V)if(Z.tag===4&&Z.stateNode.containerInfo===Ce.containerInfo&&Z.stateNode.implementation===Ce.implementation){l(B,Z.sibling),de=d(Z,Ce.children||[]),de.return=B,B=de;break e}else{l(B,Z);break}else t(B,Z);Z=Z.sibling}de=Hm(Ce,B.mode,de),de.return=B,B=de}return S(B);case dl:return Ce=Pn(V._debugInfo),V=as(V),B=Ct(B,Z,V,de),Et=Ce,B}if(it(V))return Ce=Pn(V._debugInfo),B=nt(B,Z,V,de),Et=Ce,B;if(Q(V)){if(Ce=Pn(V._debugInfo),dt=Q(V),typeof dt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ze=dt.call(V);return Ze===V?(B.tag!==0||Object.prototype.toString.call(B.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ze)!=="[object Generator]")&&(g2||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),g2=!0):V.entries!==dt||bS||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bS=!0),B=an(B,Z,Ze,de),Et=Ce,B}if(typeof V.then=="function")return Ce=Pn(V._debugInfo),B=Ct(B,Z,Tc(V),de),Et=Ce,B;if(V.$$typeof===Bl)return Ct(B,Z,Bs(B,V),de);st(B,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(Ce=""+V,Z!==null&&Z.tag===6?(l(B,Z.sibling),de=d(Z,Ce),de.return=B,B=de):(l(B,Z),de=tr(Ce,B.mode,de),de.return=B,de._debugOwner=B,de._debugTask=B._debugTask,de._debugInfo=Et,B=de),S(B)):(typeof V=="function"&&Lt(B,V),typeof V=="symbol"&&gn(B,V),l(B,Z))}return function(B,Z,V,de){var Ce=Et;Et=null;try{Yg=0;var dt=Ct(B,Z,V,de);return wp=null,dt}catch(fn){if(fn===Bg||fn===P0)throw fn;var Ze=z(29,fn,null,B.mode);Ze.lanes=de,Ze.return=B;var ht=Ze._debugInfo=Et;if(Ze._debugOwner=B._debugOwner,Ze._debugTask=B._debugTask,ht!=null){for(var mt=ht.length-1;0<=mt;mt--)if(typeof ht[mt].stack=="string"){Ze._debugOwner=ht[mt],Ze._debugTask=ht[mt].debugTask;break}}return Ze}finally{Et=Ce}}}function rl(e){var t=e.alternate;Ee(ya,ya.current&_p,e),Ee(nu,e,e),Hr===null&&(t===null||xp.current!==null||t.memoizedState!==null)&&(Hr=e)}function hr(e){if(e.tag===22){if(Ee(ya,ya.current,e),Ee(nu,e,e),Hr===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Hr=e)}}else li(e)}function li(e){Ee(ya,ya.current,e),Ee(nu,nu.current,e)}function ol(e){be(nu,e),Hr===e&&(Hr=null),be(ya,e)}function Su(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data===Yo||Yi(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function iy(e){if(e!==null&&typeof e!="function"){var t=String(e);M2.has(t)||(M2.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function vn(e,t,l,o){var d=e.memoizedState,p=l(o,d);if(e.mode&el){Oe(!0);try{p=l(o,d)}finally{Oe(!1)}}p===void 0&&(t=he(t)||"Component",z2.has(t)||(z2.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),d=p==null?d:yt({},d,p),e.memoizedState=d,e.lanes===0&&(e.updateQueue.baseState=d)}function th(e,t,l,o,d,p,S){var x=e.stateNode;if(typeof x.shouldComponentUpdate=="function"){if(l=x.shouldComponentUpdate(o,p,S),e.mode&el){Oe(!0);try{l=x.shouldComponentUpdate(o,p,S)}finally{Oe(!1)}}return l===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",he(t)||"Component"),l}return t.prototype&&t.prototype.isPureReactComponent?!Ns(l,o)||!Ns(d,p):!0}function nh(e,t,l,o){var d=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,o),t.state!==d&&(e=Se(e)||"Component",A2.has(e)||(A2.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),SS.enqueueReplaceState(t,t.state,null))}function pr(e,t){var l=t;if("ref"in t){l={};for(var o in t)o!=="ref"&&(l[o]=t[o])}if(e=e.defaultProps){l===t&&(l=yt({},l));for(var d in e)l[d]===void 0&&(l[d]=e[d])}return l}function uy(e){ES(e),console.warn(`%s
|
|
187
|
+
|
|
188
|
+
%s
|
|
189
|
+
`,Cp?"An error occurred in the <"+Cp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
190
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function i0(e){var t=Cp?"The above error occurred in the <"+Cp+"> component.":"The above error occurred in one of your React components.",l="React will try to recreate this component tree from scratch using the error boundary you provided, "+((TS||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
|
|
191
|
+
|
|
192
|
+
%s
|
|
193
|
+
|
|
194
|
+
%s
|
|
195
|
+
`,e,t,l].slice(0),typeof e[0]=="string"?e.splice(0,1,sO+e[0],fO,Eb+o+Eb,dO):e.splice(0,0,sO,fO,Eb+o+Eb,dO),e.unshift(console),o=nk.apply(console.error,e),o()}else console.error(`%o
|
|
196
|
+
|
|
197
|
+
%s
|
|
198
|
+
|
|
199
|
+
%s
|
|
200
|
+
`,e,t,l)}function ah(e){ES(e)}function Ac(e,t){try{Cp=t.source?Se(t.source):null,TS=null;var l=t.value;if(le.actQueue!==null)le.thrownErrors.push(l);else{var o=e.onUncaughtError;o(l,{componentStack:t.stack})}}catch(d){setTimeout(function(){throw d})}}function lh(e,t,l){try{Cp=l.source?Se(l.source):null,TS=Se(t);var o=e.onCaughtError;o(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function va(e,t,l){return l=Ti(l),l.tag=fS,l.payload={element:null},l.callback=function(){Be(t.source,Ac,e,t)},l}function Tn(e){return e=Ti(e),e.tag=fS,e}function ef(e,t,l,o){var d=l.type.getDerivedStateFromError;if(typeof d=="function"){var p=o.value;e.payload=function(){return d(p)},e.callback=function(){Pv(l),Be(o.source,lh,t,l,o)}}var S=l.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(e.callback=function(){Pv(l),Be(o.source,lh,t,l,o),typeof d!="function"&&(rs===null?rs=new Set([this]):rs.add(this)),NN(this,o),typeof d=="function"||(l.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Se(l)||"Unknown")})}function tf(e,t,l,o,d){if(l.flags|=32768,zn&&Dc(e,d),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=l.alternate,t!==null&&ra(t,l,d,!0),jt&&(jo=!0),l=nu.current,l!==null){switch(l.tag){case 13:return Hr===null?xh():l.alternate===null&&Ln===qo&&(Ln=RS),l.flags&=-257,l.flags|=65536,l.lanes=d,o===sS?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([o]):t.add(o),Dy(e,o,d)),!1;case 22:return l.flags|=65536,o===sS?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([o]):l.add(o)),Dy(e,o,d)),!1}throw Error("Unexpected Suspense handler tag ("+l.tag+"). This is a bug in React.")}return Dy(e,o,d),xh(),!1}if(jt)return jo=!0,t=nu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=d,o!==uS&&rc(il(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),l))):(o!==uS&&rc(il(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),l)),e=e.current.alternate,e.flags|=65536,d&=-d,e.lanes|=d,o=il(o,l),d=va(e.stateNode,o,d),cc(e,d),Ln!==Kf&&(Ln=kp)),!1;var p=il(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),l);if(Kg===null?Kg=[p]:Kg.push(p),Ln!==Kf&&(Ln=kp),t===null)return!0;o=il(o,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=d&-d,l.lanes|=e,e=va(l.stateNode,o,e),cc(l,e),!1;case 1:if(t=l.type,p=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(rs===null||!rs.has(p))))return l.flags|=65536,d&=-d,l.lanes|=d,d=Tn(d),ef(d,e,l,o),cc(l,d),!1}l=l.return}while(l!==null);return!1}function jn(e,t,l,o){t.child=e===null?E2(t,null,l,o):zp(t,e.child,l,o)}function ih(e,t,l,o,d){l=l.render;var p=t.ref;if("ref"in o){var S={};for(var x in o)x!=="ref"&&(S[x]=o[x])}else S=o;return lr(t),Bt(t),o=cr(e,t,l,S,p,d),x=Va(),Dn(),e!==null&&!Aa?(mu(e,t,d),Di(e,t,d)):(jt&&x&&jd(t),t.flags|=1,jn(e,t,o,d),t.child)}function Ci(e,t,l,o,d){if(e===null){var p=l.type;return typeof p=="function"&&!km(p)&&p.defaultProps===void 0&&l.compare===null?(l=Pr(p),t.tag=15,t.type=l,ch(t,p),nf(e,t,l,o,d)):(e=Hd(l.type,null,o,t,t.mode,d),e.ref=t.ref,e.return=t,t.child=e)}if(p=e.child,!mh(e,d)){var S=p.memoizedProps;if(l=l.compare,l=l!==null?l:Ns,l(S,o)&&e.ref===t.ref)return Di(e,t,d)}return t.flags|=1,e=vi(p,o),e.ref=t.ref,e.return=t,t.child=e}function nf(e,t,l,o,d){if(e!==null){var p=e.memoizedProps;if(Ns(p,o)&&e.ref===t.ref&&t.type===e.type)if(Aa=!1,t.pendingProps=o=p,mh(e,d))(e.flags&131072)!==0&&(Aa=!0);else return t.lanes=e.lanes,Di(e,t,d)}return oh(e,t,l,o,d)}function uh(e,t,l){var o=t.pendingProps,d=o.children,p=e!==null?e.memoizedState:null;if(o.mode==="hidden"){if((t.flags&128)!==0){if(o=p!==null?p.baseLanes|l:l,e!==null){for(d=t.child=e.child,p=0;d!==null;)p=p|d.lanes|d.childLanes,d=d.sibling;t.childLanes=p&~o}else t.childLanes=0,t.child=null;return rh(e,t,o,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&qd(t,p!==null?p.cachePool:null),p!==null?Ya(t,p):qs(t),hr(t);else return t.lanes=t.childLanes=536870912,rh(e,t,p!==null?p.baseLanes|l:l,l)}else p!==null?(qd(t,p.cachePool),Ya(t,p),li(t),t.memoizedState=null):(e!==null&&qd(t,null),qs(t),li(t));return jn(e,t,d,l),t.child}function rh(e,t,l,o){var d=Qm();return d=d===null?null:{parent:pa._currentValue,pool:d},t.memoizedState={baseLanes:l,cachePool:d},e!==null&&qd(t,null),qs(t),hr(t),e!==null&&ra(e,t,o,!0),null}function af(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==l)&&(t.flags|=4194816)}}function oh(e,t,l,o,d){if(l.prototype&&typeof l.prototype.render=="function"){var p=he(l)||"Unknown";k2[p]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",p,p),k2[p]=!0)}return t.mode&el&&Hu.recordLegacyContextWarning(t,null),e===null&&(ch(t,t.type),l.contextTypes&&(p=he(l)||"Unknown",H2[p]||(H2[p]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",p)))),lr(t),Bt(t),l=cr(e,t,l,o,void 0,d),o=Va(),Dn(),e!==null&&!Aa?(mu(e,t,d),Di(e,t,d)):(jt&&o&&jd(t),t.flags|=1,jn(e,t,l,d),t.child)}function ry(e,t,l,o,d,p){return lr(t),Bt(t),Lo=-1,qg=e!==null&&e.type!==t.type,t.updateQueue=null,l=hc(t,o,l,d),Ys(e,t),o=Va(),Dn(),e!==null&&!Aa?(mu(e,t,p),Di(e,t,p)):(jt&&o&&jd(t),t.flags|=1,jn(e,t,l,p),t.child)}function oy(e,t,l,o,d){switch(v(t)){case!1:var p=t.stateNode,S=new t.type(t.memoizedProps,p.context).state;p.updater.enqueueSetState(p,S,null);break;case!0:t.flags|=128,t.flags|=65536,p=Error("Simulated error coming from DevTools");var x=d&-d;if(t.lanes|=x,S=nn,S===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");x=Tn(x),ef(x,S,t,il(p,t)),cc(t,x)}if(lr(t),t.stateNode===null){if(S=es,p=l.contextType,"contextType"in l&&p!==null&&(p===void 0||p.$$typeof!==Bl)&&!D2.has(l)&&(D2.add(l),x=p===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof p!="object"?" However, it is set to a "+typeof p+".":p.$$typeof===Ph?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(p).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",he(l)||"Component",x)),typeof p=="object"&&p!==null&&(S=tn(p)),p=new l(o,S),t.mode&el){Oe(!0);try{p=new l(o,S)}finally{Oe(!1)}}if(S=t.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=SS,t.stateNode=p,p._reactInternals=t,p._reactInternalInstance=T2,typeof l.getDerivedStateFromProps=="function"&&S===null&&(S=he(l)||"Component",x2.has(S)||(x2.add(S),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",S,p.state===null?"null":"undefined",S))),typeof l.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"){var N=x=S=null;if(typeof p.componentWillMount=="function"&&p.componentWillMount.__suppressDeprecationWarning!==!0?S="componentWillMount":typeof p.UNSAFE_componentWillMount=="function"&&(S="UNSAFE_componentWillMount"),typeof p.componentWillReceiveProps=="function"&&p.componentWillReceiveProps.__suppressDeprecationWarning!==!0?x="componentWillReceiveProps":typeof p.UNSAFE_componentWillReceiveProps=="function"&&(x="UNSAFE_componentWillReceiveProps"),typeof p.componentWillUpdate=="function"&&p.componentWillUpdate.__suppressDeprecationWarning!==!0?N="componentWillUpdate":typeof p.UNSAFE_componentWillUpdate=="function"&&(N="UNSAFE_componentWillUpdate"),S!==null||x!==null||N!==null){p=he(l)||"Component";var H=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";R2.has(p)||(R2.add(p),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
201
|
+
|
|
202
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
203
|
+
|
|
204
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
205
|
+
https://react.dev/link/unsafe-component-lifecycles`,p,H,S!==null?`
|
|
206
|
+
`+S:"",x!==null?`
|
|
207
|
+
`+x:"",N!==null?`
|
|
208
|
+
`+N:""))}}p=t.stateNode,S=he(l)||"Component",p.render||(l.prototype&&typeof l.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",S):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",S)),!p.getInitialState||p.getInitialState.isReactClassApproved||p.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",S),p.getDefaultProps&&!p.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",S),p.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",S),l.childContextTypes&&!C2.has(l)&&(C2.add(l),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",S)),l.contextTypes&&!_2.has(l)&&(_2.add(l),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",S)),typeof p.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",S),l.prototype&&l.prototype.isPureReactComponent&&typeof p.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",he(l)||"A pure component"),typeof p.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",S),typeof p.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",S),typeof p.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",S),typeof p.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",S),x=p.props!==o,p.props!==void 0&&x&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S),p.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",S,S),typeof p.getSnapshotBeforeUpdate!="function"||typeof p.componentDidUpdate=="function"||O2.has(l)||(O2.add(l),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",he(l))),typeof p.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof p.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof l.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",S),(x=p.state)&&(typeof x!="object"||it(x))&&console.error("%s.state: must be set to an object or null",S),typeof p.getChildContext=="function"&&typeof l.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",S),p=t.stateNode,p.props=o,p.state=t.memoizedState,p.refs={},qa(t),S=l.contextType,p.context=typeof S=="object"&&S!==null?tn(S):es,p.state===o&&(S=he(l)||"Component",w2.has(S)||(w2.add(S),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",S))),t.mode&el&&Hu.recordLegacyContextWarning(t,p),Hu.recordUnsafeLifecycleWarnings(t,p),p.state=t.memoizedState,S=l.getDerivedStateFromProps,typeof S=="function"&&(vn(t,l,S,o),p.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Se(t)||"Component"),SS.enqueueReplaceState(p,p.state,null)),sc(t,o,p,d),Ai(),p.state=t.memoizedState),typeof p.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Uu)!==sn&&(t.flags|=134217728),p=!0}else if(e===null){p=t.stateNode;var ee=t.memoizedProps;x=pr(l,ee),p.props=x;var oe=p.context;N=l.contextType,S=es,typeof N=="object"&&N!==null&&(S=tn(N)),H=l.getDerivedStateFromProps,N=typeof H=="function"||typeof p.getSnapshotBeforeUpdate=="function",ee=t.pendingProps!==ee,N||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(ee||oe!==S)&&nh(t,p,o,S),ts=!1;var F=t.memoizedState;p.state=F,sc(t,o,p,d),Ai(),oe=t.memoizedState,ee||F!==oe||ts?(typeof H=="function"&&(vn(t,l,H,o),oe=t.memoizedState),(x=ts||th(t,l,x,o,F,oe,S))?(N||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Uu)!==sn&&(t.flags|=134217728)):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Uu)!==sn&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=oe),p.props=o,p.state=oe,p.context=S,p=x):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Uu)!==sn&&(t.flags|=134217728),p=!1)}else{p=t.stateNode,ur(e,t),S=t.memoizedProps,N=pr(l,S),p.props=N,H=t.pendingProps,F=p.context,oe=l.contextType,x=es,typeof oe=="object"&&oe!==null&&(x=tn(oe)),ee=l.getDerivedStateFromProps,(oe=typeof ee=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(S!==H||F!==x)&&nh(t,p,o,x),ts=!1,F=t.memoizedState,p.state=F,sc(t,o,p,d),Ai();var fe=t.memoizedState;S!==H||F!==fe||ts||e!==null&&e.dependencies!==null&&ar(e.dependencies)?(typeof ee=="function"&&(vn(t,l,ee,o),fe=t.memoizedState),(N=ts||th(t,l,N,o,F,fe,x)||e!==null&&e.dependencies!==null&&ar(e.dependencies))?(oe||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(o,fe,x),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(o,fe,x)),typeof p.componentDidUpdate=="function"&&(t.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof p.componentDidUpdate!="function"||S===e.memoizedProps&&F===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&F===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=fe),p.props=o,p.state=fe,p.context=x,p=N):(typeof p.componentDidUpdate!="function"||S===e.memoizedProps&&F===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&F===e.memoizedState||(t.flags|=1024),p=!1)}if(x=p,af(e,t),S=(t.flags&128)!==0,x||S){if(x=t.stateNode,As(t),S&&typeof l.getDerivedStateFromError!="function")l=null,ql=-1;else{if(Bt(t),l=r2(x),t.mode&el){Oe(!0);try{r2(x)}finally{Oe(!1)}}Dn()}t.flags|=1,e!==null&&S?(t.child=zp(t,e.child,null,d),t.child=zp(t,null,l,d)):jn(e,t,l,d),t.memoizedState=x.state,e=t.child}else e=Di(e,t,d);return d=t.stateNode,p&&d.props!==o&&(Dp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Se(t)||"a component"),Dp=!0),e}function cy(e,t,l,o){return eo(),t.flags|=256,jn(e,t,l,o),t.child}function ch(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
209
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=he(t)||"Unknown",j2[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),j2[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=he(t)||"Unknown",U2[t]||(console.error("%s: Function components do not support contextType.",t),U2[t]=!0))}function lf(e){return{baseLanes:e,cachePool:t0()}}function sh(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=di),e}function u0(e,t,l){var o,d=t.pendingProps;y(t)&&(t.flags|=128);var p=!1,S=(t.flags&128)!==0;if((o=S)||(o=e!==null&&e.memoizedState===null?!1:(ya.current&Vg)!==0),o&&(p=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(jt){if(p?rl(t):li(t),jt){var x=Bn,N;if(!(N=!x)){e:{var H=x;for(N=kr;H.nodeType!==8;){if(!N){N=null;break e}if(H=fa(H.nextSibling),H===null){N=null;break e}}N=H}N!==null?(Kl(),t.memoizedState={dehydrated:N,treeContext:Vf!==null?{id:Uo,overflow:Ho}:null,retryLane:536870912,hydrationErrors:null},H=z(18,null,null,sn),H.stateNode=N,H.return=t,t.child=H,ml=t,Bn=null,N=!0):N=!1,N=!N}N&&(jm(t,x),bi(t))}if(x=t.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return Yi(x)?t.lanes=32:t.lanes=536870912,null;ol(t)}return x=d.children,d=d.fallback,p?(li(t),p=t.mode,x=uf({mode:"hidden",children:x},p),d=er(d,p,l,null),x.return=t,d.return=t,x.sibling=d,t.child=x,p=t.child,p.memoizedState=lf(l),p.childLanes=sh(e,o,l),t.memoizedState=xS,d):(rl(t),fh(t,x))}var ee=e.memoizedState;if(ee!==null&&(x=ee.dehydrated,x!==null)){if(S)t.flags&256?(rl(t),t.flags&=-257,t=dh(e,t,l)):t.memoizedState!==null?(li(t),t.child=e.child,t.flags|=128,t=null):(li(t),p=d.fallback,x=t.mode,d=uf({mode:"visible",children:d.children},x),p=er(p,x,l,null),p.flags|=2,d.return=t,p.return=t,d.sibling=p,t.child=d,zp(t,e.child,null,l),d=t.child,d.memoizedState=lf(l),d.childLanes=sh(e,o,l),t.memoizedState=xS,t=p);else if(rl(t),jt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Yi(x)){if(o=x.nextSibling&&x.nextSibling.dataset,o){N=o.dgst;var oe=o.msg;H=o.stck;var F=o.cstck}x=oe,o=N,d=H,N=p=F,p=Error(x||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),p.stack=d||"",p.digest=o,o=N===void 0?null:N,d={value:p,source:null,stack:o},typeof o=="string"&&lS.set(p,d),rc(d),t=dh(e,t,l)}else if(Aa||ra(e,t,l,!1),o=(l&e.childLanes)!==0,Aa||o){if(o=nn,o!==null&&(d=l&-l,d=(d&42)!==0?1:xe(d),d=(d&(o.suspendedLanes|l))!==0?0:d,d!==0&&d!==ee.retryLane))throw ee.retryLane=d,Za(e,d),An(o,e,d),N2;x.data===Yo||xh(),t=dh(e,t,l)}else x.data===Yo?(t.flags|=192,t.child=e.child,t=null):(e=ee.treeContext,Bn=fa(x.nextSibling),ml=t,jt=!0,Gf=null,jo=!1,Fi=null,kr=!1,e!==null&&(Kl(),Ki[Pi++]=Uo,Ki[Pi++]=Ho,Ki[Pi++]=Vf,Uo=e.id,Ho=e.overflow,Vf=t),t=fh(t,d.children),t.flags|=4096);return t}return p?(li(t),p=d.fallback,x=t.mode,N=e.child,H=N.sibling,d=vi(N,{mode:"hidden",children:d.children}),d.subtreeFlags=N.subtreeFlags&65011712,H!==null?p=vi(H,p):(p=er(p,x,l,null),p.flags|=2),p.return=t,d.return=t,d.sibling=p,t.child=d,d=p,p=t.child,x=e.child.memoizedState,x===null?x=lf(l):(N=x.cachePool,N!==null?(H=pa._currentValue,N=N.parent!==H?{parent:H,pool:H}:N):N=t0(),x={baseLanes:x.baseLanes|l,cachePool:N}),p.memoizedState=x,p.childLanes=sh(e,o,l),t.memoizedState=xS,d):(rl(t),l=e.child,e=l.sibling,l=vi(l,{mode:"visible",children:d.children}),l.return=t,l.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=l,t.memoizedState=null,l)}function fh(e,t){return t=uf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function uf(e,t){return e=z(22,e,null,t),e.lanes=0,e.stateNode={_visibility:V0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function dh(e,t,l){return zp(t,e.child,null,l),e=fh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hh(e,t,l){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Ym(e.return,t,l)}function sy(e,t){var l=it(e);return e=!l&&typeof Q(e)=="function",l||e?(l=l?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",l,t,l),!1):!0}function ph(e,t,l,o,d){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:d}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=o,p.tail=l,p.tailMode=d)}function fy(e,t,l){var o=t.pendingProps,d=o.revealOrder,p=o.tail;if(o=o.children,d!==void 0&&d!=="forwards"&&d!=="backwards"&&d!=="together"&&!B2[d])if(B2[d]=!0,typeof d=="string")switch(d.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',d,d.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',d,d.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',d)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',d);p===void 0||AS[p]||(p!=="collapsed"&&p!=="hidden"?(AS[p]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',p)):d!=="forwards"&&d!=="backwards"&&(AS[p]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',p)));e:if((d==="forwards"||d==="backwards")&&o!==void 0&&o!==null&&o!==!1)if(it(o)){for(var S=0;S<o.length;S++)if(!sy(o[S],S))break e}else if(S=Q(o),typeof S=="function"){if(S=S.call(o))for(var x=S.next(),N=0;!x.done;x=S.next()){if(!sy(x.value,N))break e;N++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',d);if(jn(e,t,o,l),o=ya.current,(o&Vg)!==0)o=o&_p|Vg,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&hh(e,l,t);else if(e.tag===19)hh(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=_p}switch(Ee(ya,o,t),d){case"forwards":for(l=t.child,d=null;l!==null;)e=l.alternate,e!==null&&Su(e)===null&&(d=l),l=l.sibling;l=d,l===null?(d=t.child,t.child=null):(d=l.sibling,l.sibling=null),ph(t,!1,d,l,p);break;case"backwards":for(l=null,d=t.child,t.child=null;d!==null;){if(e=d.alternate,e!==null&&Su(e)===null){t.child=d;break}e=d.sibling,d.sibling=l,l=d,d=e}ph(t,!0,l,null,p);break;case"together":ph(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Di(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),ql=-1,is|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ra(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,l=vi(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=vi(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function mh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ar(e)))}function L1(e,t,l){switch(t.tag){case 3:Ne(t,t.stateNode.containerInfo),nr(t,pa,e.memoizedState.cache),eo();break;case 27:case 5:ie(t);break;case 4:Ne(t,t.stateNode.containerInfo);break;case 10:nr(t,t.type,t.memoizedProps.value);break;case 12:(l&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(rl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?u0(e,t,l):(rl(t),e=Di(e,t,l),e!==null?e.sibling:null);rl(t);break;case 19:var d=(e.flags&128)!==0;if(o=(l&t.childLanes)!==0,o||(ra(e,t,l,!1),o=(l&t.childLanes)!==0),d){if(o)return fy(e,t,l);t.flags|=128}if(d=t.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ee(ya,ya.current,t),o)break;return null;case 22:case 23:return t.lanes=0,uh(e,t,l);case 24:nr(t,pa,e.memoizedState.cache)}return Di(e,t,l)}function yh(e,t,l){if(t._debugNeedsRemount&&e!==null){l=Hd(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),l._debugStack=t._debugStack,l._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,l.index=t.index,l.sibling=t.sibling,l.return=t.return,l.ref=t.ref,l._debugInfo=t._debugInfo,t===o.child)o.child=l;else{var d=o.child;if(d===null)throw Error("Expected parent to have a child.");for(;d.sibling!==t;)if(d=d.sibling,d===null)throw Error("Expected to find the previous sibling.");d.sibling=l}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),l.flags|=2,l}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Aa=!0;else{if(!mh(e,l)&&(t.flags&128)===0)return Aa=!1,L1(e,t,l);Aa=(e.flags&131072)!==0}else Aa=!1,(o=jt)&&(Kl(),o=(t.flags&1048576)!==0),o&&(o=t.index,Kl(),Fv(t,X0,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=as(t.elementType),t.type=e,typeof e=="function")km(e)?(o=pr(e,o),t.tag=1,t.type=e=Pr(e),t=oy(null,t,e,o,l)):(t.tag=0,ch(t,e),t.type=e=Pr(e),t=oh(null,t,e,o,l));else{if(e!=null){if(d=e.$$typeof,d===zu){t.tag=11,t.type=e=Nm(e),t=ih(null,t,e,o,l);break e}else if(d===Cf){t.tag=14,t=Ci(null,t,e,o,l);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===dl&&(t=" Did you wrap a component in React.lazy() more than once?"),e=he(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return oh(e,t,t.type,t.pendingProps,l);case 1:return o=t.type,d=pr(o,t.pendingProps),oy(e,t,o,d,l);case 3:e:{if(Ne(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var p=t.memoizedState;d=p.element,ur(e,t),sc(t,o,null,l);var S=t.memoizedState;if(o=S.cache,nr(t,pa,o),o!==p.cache&&Vm(t,[pa],l,!0),Ai(),o=S.element,p.isDehydrated)if(p={element:o,isDehydrated:!1,cache:S.cache},t.updateQueue.baseState=p,t.memoizedState=p,t.flags&256){t=cy(e,t,o,l);break e}else if(o!==d){d=il(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),rc(d),t=cy(e,t,o,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Bn=fa(e.firstChild),ml=t,jt=!0,Gf=null,jo=!1,Fi=null,kr=!0,e=E2(t,null,o,l),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(eo(),o===d){t=Di(e,t,l);break e}jn(e,t,o,l)}t=t.child}return t;case 26:return af(e,t),e===null?(e=wu(t.type,null,t.pendingProps,null))?t.memoizedState=e:jt||(e=t.type,l=t.pendingProps,o=Xe(Gi.current),o=xt(o).createElement(e),o[Ta]=t,o[Fa]=l,On(o,e,l),I(o),t.stateNode=o):t.memoizedState=wu(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ie(t),e===null&&jt&&(o=Xe(Gi.current),d=L(),o=t.stateNode=Ky(t.type,t.pendingProps,o,d,!1),jo||(d=Pt(o,t.type,t.pendingProps,d),d!==null&&(Pl(t,0).serverProps=d)),ml=t,kr=!0,d=Bn,qi(t.type)?(IS=d,Bn=fa(o.firstChild)):Bn=d),jn(e,t,t.pendingProps.children,l),af(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&jt&&(p=L(),o=wd(t.type,p.ancestorInfo),d=Bn,(S=!d)||(S=Er(d,t.type,t.pendingProps,kr),S!==null?(t.stateNode=S,jo||(p=Pt(S,t.type,t.pendingProps,p),p!==null&&(Pl(t,0).serverProps=p)),ml=t,Bn=fa(S.firstChild),kr=!1,p=!0):p=!1,S=!p),S&&(o&&jm(t,d),bi(t))),ie(t),d=t.type,p=t.pendingProps,S=e!==null?e.memoizedProps:null,o=p.children,Zi(d,p)?o=null:S!==null&&Zi(d,S)&&(t.flags|=32),t.memoizedState!==null&&(d=cr(e,t,_l,null,null,l),lv._currentValue=d),af(e,t),jn(e,t,o,l),t.child;case 6:return e===null&&jt&&(e=t.pendingProps,l=L(),o=l.ancestorInfo.current,e=o!=null?_s(e,o.tag,l.ancestorInfo.implicitRootScope):!0,l=Bn,(o=!l)||(o=sa(l,t.pendingProps,kr),o!==null?(t.stateNode=o,ml=t,Bn=null,o=!0):o=!1,o=!o),o&&(e&&jm(t,l),bi(t))),null;case 13:return u0(e,t,l);case 4:return Ne(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=zp(t,null,o,l):jn(e,t,o,l),t.child;case 11:return ih(e,t,t.type,t.pendingProps,l);case 7:return jn(e,t,t.pendingProps,l),t.child;case 8:return jn(e,t,t.pendingProps.children,l),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,jn(e,t,t.pendingProps.children,l),t.child;case 10:return o=t.type,d=t.pendingProps,p=d.value,"value"in d||L2||(L2=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),nr(t,o,p),jn(e,t,d.children,l),t.child;case 9:return d=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),lr(t),d=tn(d),Bt(t),o=gS(o,d,void 0),Dn(),t.flags|=1,jn(e,t,o,l),t.child;case 14:return Ci(e,t,t.type,t.pendingProps,l);case 15:return nf(e,t,t.type,t.pendingProps,l);case 19:return fy(e,t,l);case 31:return o=t.pendingProps,l=t.mode,o={mode:o.mode,children:o.children},e===null?(e=uf(o,l),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=vi(e.child,o),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return uh(e,t,l);case 24:return lr(t),o=tn(pa),e===null?(d=Qm(),d===null&&(d=nn,p=Ls(),d.pooledCache=p,to(p),p!==null&&(d.pooledCacheLanes|=l),d=p),t.memoizedState={parent:o,cache:d},qa(t),nr(t,pa,d)):((e.lanes&l)!==0&&(ur(e,t),sc(t,null,null,l),Ai()),d=e.memoizedState,p=t.memoizedState,d.parent!==o?(d={parent:o,cache:o},t.memoizedState=d,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=d),nr(t,pa,o)):(o=p.cache,nr(t,pa,o),o!==d.cache&&Vm(t,[pa],l,!0))),jn(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Xa(e){e.flags|=4}function rf(e,t){if(t.type!=="stylesheet"||(t.state.loading&au)!==id)e.flags&=-16777217;else if(e.flags|=16777216,!Ef(t)){if(t=nu.current,t!==null&&((Rt&4194048)===Rt?Hr!==null:(Rt&62914560)!==Rt&&(Rt&536870912)===0||t!==Hr))throw Lg=sS,$x;e.flags|=8192}}function of(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?xl():536870912,e.lanes|=t,Wf|=t)}function mr(e,t){if(!jt)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function It(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,o=0;if(t)if((e.mode&Na)!==sn){for(var d=e.selfBaseDuration,p=e.child;p!==null;)l|=p.lanes|p.childLanes,o|=p.subtreeFlags&65011712,o|=p.flags&65011712,d+=p.treeBaseDuration,p=p.sibling;e.treeBaseDuration=d}else for(d=e.child;d!==null;)l|=d.lanes|d.childLanes,o|=d.subtreeFlags&65011712,o|=d.flags&65011712,d.return=e,d=d.sibling;else if((e.mode&Na)!==sn){d=e.actualDuration,p=e.selfBaseDuration;for(var S=e.child;S!==null;)l|=S.lanes|S.childLanes,o|=S.subtreeFlags,o|=S.flags,d+=S.actualDuration,p+=S.treeBaseDuration,S=S.sibling;e.actualDuration=d,e.treeBaseDuration=p}else for(d=e.child;d!==null;)l|=d.lanes|d.childLanes,o|=d.subtreeFlags,o|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=o,e.childLanes=l,t}function r0(e,t,l){var o=t.pendingProps;switch(Bd(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return It(t),null;case 1:return It(t),null;case 3:return l=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),hu(pa,t),Te(t),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Wr(t)?(qm(),Xa(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Zm())),It(t),null;case 26:return l=t.memoizedState,e===null?(Xa(t),l!==null?(It(t),rf(t,l)):(It(t),t.flags&=-16777217)):l?l!==e.memoizedState?(Xa(t),It(t),rf(t,l)):(It(t),t.flags&=-16777217):(e.memoizedProps!==o&&Xa(t),It(t),t.flags&=-16777217),null;case 27:se(t),l=Xe(Gi.current);var d=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return It(t),null}e=L(),Wr(t)?Bm(t):(e=Ky(d,o,l,e,!0),t.stateNode=e,Xa(t))}return It(t),null;case 5:if(se(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return It(t),null}if(d=L(),Wr(t))Bm(t);else{switch(e=Xe(Gi.current),wd(l,d.ancestorInfo),d=d.context,e=xt(e),d){case Zp:e=e.createElementNS(Wc,l);break;case vb:e=e.createElementNS(qf,l);break;default:switch(l){case"svg":e=e.createElementNS(Wc,l);break;case"math":e=e.createElementNS(qf,l);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof o.is=="string"?e.createElement("select",{is:o.is}):e.createElement("select"),o.multiple?e.multiple=!0:o.size&&(e.size=o.size);break;default:e=typeof o.is=="string"?e.createElement(l,{is:o.is}):e.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Cu.call(lO,l)||(lO[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}e[Ta]=t,e[Fa]=o;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)e.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=e;e:switch(On(e,l,o),l){case"button":case"input":case"select":case"textarea":e=!!o.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Xa(t)}}return It(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Xe(Gi.current),l=L(),Wr(t)){e=t.stateNode,l=t.memoizedProps,d=!jo,o=null;var p=ml;if(p!==null)switch(p.tag){case 3:d&&(d=Yh(e,l,o),d!==null&&(Pl(t,0).serverProps=d));break;case 27:case 5:o=p.memoizedProps,d&&(d=Yh(e,l,o),d!==null&&(Pl(t,0).serverProps=d))}e[Ta]=t,e=!!(e.nodeValue===l||o!==null&&o.suppressHydrationWarning===!0||Zy(e.nodeValue,l)),e||bi(t)}else d=l.ancestorInfo.current,d!=null&&_s(o,d.tag,l.ancestorInfo.implicitRootScope),e=xt(e).createTextNode(o),e[Ta]=t,t.stateNode=e}return It(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(d=Wr(t),o!==null&&o.dehydrated!==null){if(e===null){if(!d)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");d[Ta]=t,It(t),(t.mode&Na)!==sn&&o!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration))}else qm(),eo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,It(t),(t.mode&Na)!==sn&&o!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration));d=!1}else d=Zm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=d),d=!0;if(!d)return t.flags&256?(ol(t),t):(ol(t),null)}return ol(t),(t.flags&128)!==0?(t.lanes=l,(t.mode&Na)!==sn&&Ei(t),t):(l=o!==null,e=e!==null&&e.memoizedState!==null,l&&(o=t.child,d=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(d=o.alternate.memoizedState.cachePool.pool),p=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(p=o.memoizedState.cachePool.pool),p!==d&&(o.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),of(t,t.updateQueue),It(t),(t.mode&Na)!==sn&&l&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Te(t),e===null&&By(t.stateNode.containerInfo),It(t),null;case 10:return hu(t.type,t),It(t),null;case 19:if(be(ya,t),d=t.memoizedState,d===null)return It(t),null;if(o=(t.flags&128)!==0,p=d.rendering,p===null)if(o)mr(d,!1);else{if(Ln!==qo||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(p=Su(e),p!==null){for(t.flags|=128,mr(d,!1),e=p.updateQueue,t.updateQueue=e,of(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Um(l,e),l=l.sibling;return Ee(ya,ya.current&_p|Vg,t),t.child}e=e.sibling}d.tail!==null&&Xi()>ub&&(t.flags|=128,o=!0,mr(d,!1),t.lanes=4194304)}else{if(!o)if(e=Su(p),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,of(t,e),mr(d,!0),d.tail===null&&d.tailMode==="hidden"&&!p.alternate&&!jt)return It(t),null}else 2*Xi()-d.renderingStartTime>ub&&l!==536870912&&(t.flags|=128,o=!0,mr(d,!1),t.lanes=4194304);d.isBackwards?(p.sibling=t.child,t.child=p):(e=d.last,e!==null?e.sibling=p:t.child=p,d.last=p)}return d.tail!==null?(e=d.tail,d.rendering=e,d.tail=e.sibling,d.renderingStartTime=Xi(),e.sibling=null,l=ya.current,l=o?l&_p|Vg:l&_p,Ee(ya,l,t),e):(It(t),null);case 22:case 23:return ol(t),ti(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(l&536870912)!==0&&(t.flags&128)===0&&(It(t),t.subtreeFlags&6&&(t.flags|=8192)):It(t),l=t.updateQueue,l!==null&&of(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==l&&(t.flags|=2048),e!==null&&be(If,t),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),hu(pa,t),It(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function o0(e,t){switch(Bd(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Na)!==sn&&Ei(t),t):null;case 3:return hu(pa,t),Te(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return se(t),null;case 13:if(ol(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");eo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Na)!==sn&&Ei(t),t):null;case 19:return be(ya,t),null;case 4:return Te(t),null;case 10:return hu(t.type,t),null;case 22:case 23:return ol(t),ti(t),e!==null&&be(If,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Na)!==sn&&Ei(t),t):null;case 24:return hu(pa,t),null;case 25:return null;default:return null}}function dy(e,t){switch(Bd(t),t.tag){case 3:hu(pa,t),Te(t);break;case 26:case 27:case 5:se(t);break;case 4:Te(t);break;case 13:ol(t);break;case 19:be(ya,t);break;case 10:hu(t.type,t);break;case 22:case 23:ol(t),ti(t),e!==null&&be(If,t);break;case 24:hu(pa,t)}}function ii(e){return(e.mode&Na)!==sn}function hy(e,t){ii(e)?(Wl(),so(t,e),Rl()):so(t,e)}function gh(e,t,l){ii(e)?(Wl(),fo(l,e,t),Rl()):fo(l,e,t)}function so(e,t){try{var l=t.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var d=o.next;l=d;do{if((l.tag&e)===e&&((e&ma)!==Wi?Ue!==null&&typeof Ue.markComponentPassiveEffectMountStarted=="function"&&Ue.markComponentPassiveEffectMountStarted(t):(e&ka)!==Wi&&Ue!==null&&typeof Ue.markComponentLayoutEffectMountStarted=="function"&&Ue.markComponentLayoutEffectMountStarted(t),o=void 0,(e&yl)!==Wi&&(Bp=!0),o=Be(t,kN,l),(e&yl)!==Wi&&(Bp=!1),(e&ma)!==Wi?Ue!==null&&typeof Ue.markComponentPassiveEffectMountStopped=="function"&&Ue.markComponentPassiveEffectMountStopped():(e&ka)!==Wi&&Ue!==null&&typeof Ue.markComponentLayoutEffectMountStopped=="function"&&Ue.markComponentLayoutEffectMountStopped(),o!==void 0&&typeof o!="function")){var p=void 0;p=(l.tag&ka)!==0?"useLayoutEffect":(l.tag&yl)!==0?"useInsertionEffect":"useEffect";var S=void 0;S=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
|
|
210
|
+
|
|
211
|
+
It looks like you wrote `+p+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
212
|
+
|
|
213
|
+
`+p+`(() => {
|
|
214
|
+
async function fetchData() {
|
|
215
|
+
// You can await here
|
|
216
|
+
const response = await MyAPI.getData(someId);
|
|
217
|
+
// ...
|
|
218
|
+
}
|
|
219
|
+
fetchData();
|
|
220
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
221
|
+
|
|
222
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,Be(t,function(x,N){console.error("%s must not return anything besides a function, which is used for clean-up.%s",x,N)},p,S)}l=l.next}while(l!==d)}}catch(x){Pe(t,t.return,x)}}function fo(e,t,l){try{var o=t.updateQueue,d=o!==null?o.lastEffect:null;if(d!==null){var p=d.next;o=p;do{if((o.tag&e)===e){var S=o.inst,x=S.destroy;x!==void 0&&(S.destroy=void 0,(e&ma)!==Wi?Ue!==null&&typeof Ue.markComponentPassiveEffectUnmountStarted=="function"&&Ue.markComponentPassiveEffectUnmountStarted(t):(e&ka)!==Wi&&Ue!==null&&typeof Ue.markComponentLayoutEffectUnmountStarted=="function"&&Ue.markComponentLayoutEffectUnmountStarted(t),(e&yl)!==Wi&&(Bp=!0),d=t,Be(d,UN,d,l,x),(e&yl)!==Wi&&(Bp=!1),(e&ma)!==Wi?Ue!==null&&typeof Ue.markComponentPassiveEffectUnmountStopped=="function"&&Ue.markComponentPassiveEffectUnmountStopped():(e&ka)!==Wi&&Ue!==null&&typeof Ue.markComponentLayoutEffectUnmountStopped=="function"&&Ue.markComponentLayoutEffectUnmountStopped())}o=o.next}while(o!==p)}}catch(N){Pe(t,t.return,N)}}function py(e,t){ii(e)?(Wl(),so(t,e),Rl()):so(t,e)}function cf(e,t,l){ii(e)?(Wl(),fo(l,e,t),Rl()):fo(l,e,t)}function my(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Dp||(l.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(e)||"instance"),l.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Se(e)||"instance"));try{Be(e,n0,t,l)}catch(o){Pe(e,e.return,o)}}}function c0(e,t,l){return e.getSnapshotBeforeUpdate(t,l)}function Z1(e,t){var l=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Dp||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Se(e)||"instance"));try{var d=pr(e.type,l,e.elementType===e.type),p=Be(e,c0,t,d,o);l=Z2,p!==void 0||l.has(e.type)||(l.add(e.type),Be(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Se(e))})),t.__reactInternalSnapshotBeforeUpdate=p}catch(S){Pe(e,e.return,S)}}function vh(e,t,l){l.props=pr(e.type,e.memoizedProps),l.state=e.memoizedState,ii(e)?(Wl(),Be(e,h2,e,t,l),Rl()):Be(e,h2,e,t,l)}function s0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}if(typeof t=="function")if(ii(e))try{Wl(),e.refCleanup=t(l)}finally{Rl()}else e.refCleanup=t(l);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Se(e)),t.current=l}}function xc(e,t){try{Be(e,s0,e)}catch(l){Pe(e,t,l)}}function kl(e,t){var l=e.ref,o=e.refCleanup;if(l!==null)if(typeof o=="function")try{if(ii(e))try{Wl(),Be(e,o)}finally{Rl(e)}else Be(e,o)}catch(d){Pe(e,t,d)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{if(ii(e))try{Wl(),Be(e,l,null)}finally{Rl(e)}else Be(e,l,null)}catch(d){Pe(e,t,d)}else l.current=null}function yy(e,t,l,o){var d=e.memoizedProps,p=d.id,S=d.onCommit;d=d.onRender,t=t===null?"mount":"update",J0&&(t="nested-update"),typeof d=="function"&&d(p,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,l),typeof S=="function"&&S(e.memoizedProps.id,t,o,l)}function f0(e,t,l,o){var d=e.memoizedProps;e=d.id,d=d.onPostCommit,t=t===null?"mount":"update",J0&&(t="nested-update"),typeof d=="function"&&d(e,t,o,l)}function d0(e){var t=e.type,l=e.memoizedProps,o=e.stateNode;try{Be(e,Ou,o,t,l,e)}catch(d){Pe(e,e.return,d)}}function gy(e,t,l){try{Be(e,Rn,e.stateNode,e.type,l,t,e)}catch(o){Pe(e,e.return,o)}}function vy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&qi(e.type)||e.tag===4}function ho(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&qi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sf(e,t,l){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=xu));else if(o!==4&&(o===27&&qi(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(sf(e,t,l),e=e.sibling;e!==null;)sf(e,t,l),e=e.sibling}function po(e,t,l){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(o!==4&&(o===27&&qi(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(po(e,t,l),e=e.sibling;e!==null;)po(e,t,l),e=e.sibling}function h0(e){for(var t,l=e.return;l!==null;){if(vy(l)){t=l;break}l=l.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,l=ho(e),po(e,l,t);break;case 5:l=t.stateNode,t.flags&32&&(Ru(l),t.flags&=-33),t=ho(e),po(e,t,l);break;case 3:case 4:t=t.stateNode.containerInfo,l=ho(e),sf(e,l,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function by(e){var t=e.stateNode,l=e.memoizedProps;try{Be(e,fl,e.type,l,t,e)}catch(o){Pe(e,e.return,o)}}function bh(e,t){if(e=e.containerInfo,GS=Tb,e=Iv(e),Dm(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var d=o.anchorOffset,p=o.focusNode;o=o.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var S=0,x=-1,N=-1,H=0,ee=0,oe=e,F=null;t:for(;;){for(var fe;oe!==l||d!==0&&oe.nodeType!==3||(x=S+d),oe!==p||o!==0&&oe.nodeType!==3||(N=S+o),oe.nodeType===3&&(S+=oe.nodeValue.length),(fe=oe.firstChild)!==null;)F=oe,oe=fe;for(;;){if(oe===e)break t;if(F===l&&++H===d&&(x=S),F===p&&++ee===o&&(N=S),(fe=oe.nextSibling)!==null)break;oe=F,F=oe.parentNode}oe=fe}l=x===-1||N===-1?null:{start:x,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(XS={focusedElem:e,selectionRange:l},Tb=!1,xa=t;xa!==null;)if(t=xa,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,xa=e;else for(;xa!==null;){switch(e=t=xa,l=e.alternate,d=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(d&1024)!==0&&l!==null&&Z1(e,l);break;case 3:if((d&1024)!==0){if(e=e.stateNode.containerInfo,l=e.nodeType,l===9)Uc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Uc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((d&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,xa=e;break}xa=t.return}}function Sy(e,t,l){var o=l.flags;switch(l.tag){case 0:case 11:case 15:Mi(e,l),o&4&&hy(l,ka|eu);break;case 1:if(Mi(e,l),o&4)if(e=l.stateNode,t===null)l.type.defaultProps||"ref"in l.memoizedProps||Dp||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Se(l)||"instance")),ii(l)?(Wl(),Be(l,vS,l,e),Rl()):Be(l,vS,l,e);else{var d=pr(l.type,t.memoizedProps);t=t.memoizedState,l.type.defaultProps||"ref"in l.memoizedProps||Dp||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Se(l)||"instance")),ii(l)?(Wl(),Be(l,s2,l,e,d,t,e.__reactInternalSnapshotBeforeUpdate),Rl()):Be(l,s2,l,e,d,t,e.__reactInternalSnapshotBeforeUpdate)}o&64&&my(l),o&512&&xc(l,l.return);break;case 3:if(t=Fl(),Mi(e,l),o&64&&(o=l.updateQueue,o!==null)){if(d=null,l.child!==null)switch(l.child.tag){case 27:case 5:d=l.child.stateNode;break;case 1:d=l.child.stateNode}try{Be(l,n0,o,d)}catch(S){Pe(l,l.return,S)}}e.effectDuration+=ir(t);break;case 27:t===null&&o&4&&by(l);case 26:case 5:Mi(e,l),t===null&&o&4&&d0(l),o&512&&xc(l,l.return);break;case 12:if(o&4){o=Fl(),Mi(e,l),e=l.stateNode,e.effectDuration+=no(o);try{Be(l,yy,l,t,I0,e.effectDuration)}catch(S){Pe(l,l.return,S)}}else Mi(e,l);break;case 13:Mi(e,l),o&4&&Oc(e,l),o&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=vf.bind(null,l),Hc(e,l))));break;case 22:if(o=l.memoizedState!==null||Zo,!o){t=t!==null&&t.memoizedState!==null||Qn,d=Zo;var p=Qn;Zo=o,(Qn=t)&&!p?Ni(e,l,(l.subtreeFlags&8772)!==0):Mi(e,l),Zo=d,Qn=p}break;case 30:break;default:Mi(e,l)}}function Ey(e){var t=e.alternate;t!==null&&(e.alternate=null,Ey(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Nn(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Eu(e,t,l){for(l=l.child;l!==null;)mo(e,t,l),l=l.sibling}function mo(e,t,l){if(da&&typeof da.onCommitFiberUnmount=="function")try{da.onCommitFiberUnmount(zr,l)}catch(p){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",p))}switch(l.tag){case 26:Qn||kl(l,t),Eu(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Qn||kl(l,t);var o=na,d=Yl;qi(l.type)&&(na=l.stateNode,Yl=!1),Eu(e,t,l),Be(l,Bc,l.stateNode),na=o,Yl=d;break;case 5:Qn||kl(l,t);case 6:if(o=na,d=Yl,na=null,Eu(e,t,l),na=o,Yl=d,na!==null)if(Yl)try{Be(l,Nc,na,l.stateNode)}catch(p){Pe(l,t,p)}else try{Be(l,jl,na,l.stateNode)}catch(p){Pe(l,t,p)}break;case 18:na!==null&&(Yl?(e=na,kc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),zo(e)):kc(na,l.stateNode));break;case 4:o=na,d=Yl,na=l.stateNode.containerInfo,Yl=!0,Eu(e,t,l),na=o,Yl=d;break;case 0:case 11:case 14:case 15:Qn||fo(yl,l,t),Qn||gh(l,t,ka),Eu(e,t,l);break;case 1:Qn||(kl(l,t),o=l.stateNode,typeof o.componentWillUnmount=="function"&&vh(l,t,o)),Eu(e,t,l);break;case 21:Eu(e,t,l);break;case 22:Qn=(o=Qn)||l.memoizedState!==null,Eu(e,t,l),Qn=o;break;default:Eu(e,t,l)}}function Oc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Be(t,sl,e)}catch(l){Pe(t,t.return,l)}}function Sh(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new q2),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new q2),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function yo(e,t){var l=Sh(e);t.forEach(function(o){var d=br.bind(null,e,o);if(!l.has(o)){if(l.add(o),zn)if(Mp!==null&&Np!==null)Dc(Np,Mp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(d,d)}})}function ba(e,t){var l=t.deletions;if(l!==null)for(var o=0;o<l.length;o++){var d=e,p=t,S=l[o],x=p;e:for(;x!==null;){switch(x.tag){case 27:if(qi(x.type)){na=x.stateNode,Yl=!1;break e}break;case 5:na=x.stateNode,Yl=!1;break e;case 3:case 4:na=x.stateNode.containerInfo,Yl=!0;break e}x=x.return}if(na===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");mo(d,p,S),na=null,Yl=!1,d=S,p=d.alternate,p!==null&&(p.return=null),d.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Ty(t,e),t=t.sibling}function Ty(e,t){var l=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ba(t,e),Qa(e),o&4&&(fo(yl|eu,e,e.return),so(yl|eu,e),gh(e,e.return,ka|eu));break;case 1:ba(t,e),Qa(e),o&512&&(Qn||l===null||kl(l,l.return)),o&64&&Zo&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?o:l.concat(o))));break;case 26:var d=Bu;if(ba(t,e),Qa(e),o&512&&(Qn||l===null||kl(l,l.return)),o&4)if(t=l!==null?l.memoizedState:null,o=e.memoizedState,l===null)if(o===null)if(e.stateNode===null){e:{o=e.type,l=e.memoizedProps,t=d.ownerDocument||d;t:switch(o){case"title":d=t.getElementsByTagName("title")[0],(!d||d[$c]||d[Ta]||d.namespaceURI===Wc||d.hasAttribute("itemprop"))&&(d=t.createElement(o),t.head.insertBefore(d,t.querySelector("head > title"))),On(d,o,l),d[Ta]=e,I(d),o=d;break e;case"link":var p=eg("link","href",t).get(o+(l.href||""));if(p){for(var S=0;S<p.length;S++)if(d=p[S],d.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&d.getAttribute("rel")===(l.rel==null?null:l.rel)&&d.getAttribute("title")===(l.title==null?null:l.title)&&d.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){p.splice(S,1);break t}}d=t.createElement(o),On(d,o,l),t.head.appendChild(d);break;case"meta":if(p=eg("meta","content",t).get(o+(l.content||""))){for(S=0;S<p.length;S++)if(d=p[S],ce(l.content,"content"),d.getAttribute("content")===(l.content==null?null:""+l.content)&&d.getAttribute("name")===(l.name==null?null:l.name)&&d.getAttribute("property")===(l.property==null?null:l.property)&&d.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&d.getAttribute("charset")===(l.charSet==null?null:l.charSet)){p.splice(S,1);break t}}d=t.createElement(o),On(d,o,l),t.head.appendChild(d);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+o+'". This is a bug in React.')}d[Ta]=e,I(d),o=d}e.stateNode=o}else tg(d,e.type,e.stateNode);else e.stateNode=Vh(d,o,e.memoizedProps);else t!==o?(t===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):t.count--,o===null?tg(d,e.type,e.stateNode):Vh(d,o,e.memoizedProps)):o===null&&e.stateNode!==null&&gy(e,e.memoizedProps,l.memoizedProps);break;case 27:ba(t,e),Qa(e),o&512&&(Qn||l===null||kl(l,l.return)),l!==null&&o&4&&gy(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ba(t,e),Qa(e),o&512&&(Qn||l===null||kl(l,l.return)),e.flags&32){t=e.stateNode;try{Be(e,Ru,t)}catch(ee){Pe(e,e.return,ee)}}o&4&&e.stateNode!=null&&(t=e.memoizedProps,gy(e,t,l!==null?l.memoizedProps:t)),o&1024&&(OS=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(ba(t,e),Qa(e),o&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");o=e.memoizedProps,l=l!==null?l.memoizedProps:o,t=e.stateNode;try{Be(e,xo,t,l,o)}catch(ee){Pe(e,e.return,ee)}}break;case 3:if(d=Fl(),bb=null,p=Bu,Bu=Sf(t.containerInfo),ba(t,e),Bu=p,Qa(e),o&4&&l!==null&&l.memoizedState.isDehydrated)try{Be(e,$y,t.containerInfo)}catch(ee){Pe(e,e.return,ee)}OS&&(OS=!1,go(e)),t.effectDuration+=ir(d);break;case 4:o=Bu,Bu=Sf(e.stateNode.containerInfo),ba(t,e),Qa(e),Bu=o;break;case 12:o=Fl(),ba(t,e),Qa(e),e.stateNode.effectDuration+=no(o);break;case 13:ba(t,e),Qa(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(DS=Xi()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,yo(e,o)));break;case 22:d=e.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,N=Zo,H=Qn;if(Zo=N||d,Qn=H||x,ba(t,e),Qn=H,Zo=N,Qa(e),o&8192)e:for(t=e.stateNode,t._visibility=d?t._visibility&~V0:t._visibility|V0,d&&(l===null||x||Zo||Qn||Sa(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){x=l=t;try{p=x.stateNode,d?Be(x,$a,p):Be(x,Iy,x.stateNode,x.memoizedProps)}catch(ee){Pe(x,x.return,ee)}}}else if(t.tag===6){if(l===null){x=t;try{S=x.stateNode,d?Be(x,Qy,S):Be(x,Zh,S,x.memoizedProps)}catch(ee){Pe(x,x.return,ee)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}o&4&&(o=e.updateQueue,o!==null&&(l=o.retryQueue,l!==null&&(o.retryQueue=null,yo(e,l))));break;case 19:ba(t,e),Qa(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,yo(e,o)));break;case 30:break;case 21:break;default:ba(t,e),Qa(e)}}function Qa(e){var t=e.flags;if(t&2){try{Be(e,h0,e)}catch(l){Pe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function go(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;go(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Mi(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Sy(e,t.alternate,t),t=t.sibling}function cl(e){switch(e.tag){case 0:case 11:case 14:case 15:gh(e,e.return,ka),Sa(e);break;case 1:kl(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&vh(e,e.return,t),Sa(e);break;case 27:Be(e,Bc,e.stateNode);case 26:case 5:kl(e,e.return),Sa(e);break;case 22:e.memoizedState===null&&Sa(e);break;case 30:Sa(e);break;default:Sa(e)}}function Sa(e){for(e=e.child;e!==null;)cl(e),e=e.sibling}function Tu(e,t,l,o){var d=l.flags;switch(l.tag){case 0:case 11:case 15:Ni(e,l,o),hy(l,ka);break;case 1:if(Ni(e,l,o),t=l.stateNode,typeof t.componentDidMount=="function"&&Be(l,vS,l,t),t=l.updateQueue,t!==null){e=l.stateNode;try{Be(l,fc,t,e)}catch(p){Pe(l,l.return,p)}}o&&d&64&&my(l),xc(l,l.return);break;case 27:by(l);case 26:case 5:Ni(e,l,o),o&&t===null&&d&4&&d0(l),xc(l,l.return);break;case 12:if(o&&d&4){d=Fl(),Ni(e,l,o),o=l.stateNode,o.effectDuration+=no(d);try{Be(l,yy,l,t,I0,o.effectDuration)}catch(p){Pe(l,l.return,p)}}else Ni(e,l,o);break;case 13:Ni(e,l,o),o&&d&4&&Oc(e,l);break;case 22:l.memoizedState===null&&Ni(e,l,o),xc(l,l.return);break;case 30:break;default:Ni(e,l,o)}}function Ni(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Tu(e,t.alternate,t,l),t=t.sibling}function ki(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&to(e),l!=null&&Si(l))}function ui(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(to(t),e!=null&&Si(e))}function Jt(e,t,l,o){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ff(e,t,l,o),t=t.sibling}function ff(e,t,l,o){var d=t.flags;switch(t.tag){case 0:case 11:case 15:Jt(e,t,l,o),d&2048&&py(t,ma|eu);break;case 1:Jt(e,t,l,o);break;case 3:var p=Fl();Jt(e,t,l,o),d&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(to(t),l!=null&&Si(l))),e.passiveEffectDuration+=ir(p);break;case 12:if(d&2048){d=Fl(),Jt(e,t,l,o),e=t.stateNode,e.passiveEffectDuration+=no(d);try{Be(t,f0,t,t.alternate,I0,e.passiveEffectDuration)}catch(x){Pe(t,t.return,x)}}else Jt(e,t,l,o);break;case 13:Jt(e,t,l,o);break;case 23:break;case 22:p=t.stateNode;var S=t.alternate;t.memoizedState!==null?p._visibility&ko?Jt(e,t,l,o):Rc(e,t):p._visibility&ko?Jt(e,t,l,o):(p._visibility|=ko,yr(e,t,l,o,(t.subtreeFlags&10256)!==0)),d&2048&&ki(S,t);break;case 24:Jt(e,t,l,o),d&2048&&ui(t.alternate,t);break;default:Jt(e,t,l,o)}}function yr(e,t,l,o,d){for(d=d&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)Eh(e,t,l,o,d),t=t.sibling}function Eh(e,t,l,o,d){var p=t.flags;switch(t.tag){case 0:case 11:case 15:yr(e,t,l,o,d),py(t,ma);break;case 23:break;case 22:var S=t.stateNode;t.memoizedState!==null?S._visibility&ko?yr(e,t,l,o,d):Rc(e,t):(S._visibility|=ko,yr(e,t,l,o,d)),d&&p&2048&&ki(t.alternate,t);break;case 24:yr(e,t,l,o,d),d&&p&2048&&ui(t.alternate,t);break;default:yr(e,t,l,o,d)}}function Rc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,o=t,d=o.flags;switch(o.tag){case 22:Rc(l,o),d&2048&&ki(o.alternate,o);break;case 24:Rc(l,o),d&2048&&ui(o.alternate,o);break;default:Rc(l,o)}t=t.sibling}}function vo(e){if(e.subtreeFlags&Gg)for(e=e.child;e!==null;)gr(e),e=e.sibling}function gr(e){switch(e.tag){case 26:vo(e),e.flags&Gg&&e.memoizedState!==null&&x0(Bu,e.memoizedState,e.memoizedProps);break;case 5:vo(e);break;case 3:case 4:var t=Bu;Bu=Sf(e.stateNode.containerInfo),vo(e),Bu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Gg,Gg=16777216,vo(e),Gg=t):vo(e));break;default:vo(e)}}function df(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function wc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var o=t[l];xa=o,xy(o,e)}df(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ay(e),e=e.sibling}function Ay(e){switch(e.tag){case 0:case 11:case 15:wc(e),e.flags&2048&&cf(e,e.return,ma|eu);break;case 3:var t=Fl();wc(e),e.stateNode.passiveEffectDuration+=ir(t);break;case 12:t=Fl(),wc(e),e.stateNode.passiveEffectDuration+=no(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&ko&&(e.return===null||e.return.tag!==13)?(t._visibility&=~ko,hf(e)):wc(e);break;default:wc(e)}}function hf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var o=t[l];xa=o,xy(o,e)}df(e)}for(e=e.child;e!==null;)pf(e),e=e.sibling}function pf(e){switch(e.tag){case 0:case 11:case 15:cf(e,e.return,ma),hf(e);break;case 22:var t=e.stateNode;t._visibility&ko&&(t._visibility&=~ko,hf(e));break;default:hf(e)}}function xy(e,t){for(;xa!==null;){var l=xa,o=l;switch(o.tag){case 0:case 11:case 15:cf(o,t,ma);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(o=o.memoizedState.cachePool.pool,o!=null&&to(o));break;case 24:Si(o.memoizedState.cache)}if(o=l.child,o!==null)o.return=l,xa=o;else e:for(l=e;xa!==null;){o=xa;var d=o.sibling,p=o.return;if(Ey(o),o===l){xa=null;break e}if(d!==null){d.return=p,xa=d;break e}xa=p}}}function Oy(){jN.forEach(function(e){return e()})}function Ry(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||le.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Ia(e){if((Gt&gl)!==si&&Rt!==0)return Rt&-Rt;var t=le.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Qf,e!==0?e:Uy()):la()}function p0(){di===0&&(di=(Rt&536870912)===0||jt?rt():536870912);var e=nu.current;return e!==null&&(e.flags|=32),di}function An(e,t,l){if(Bp&&console.error("useInsertionEffect must not schedule updates."),HS&&(rb=!0),(e===nn&&($t===Pf||$t===Ff)||e.cancelPendingCommit!==null)&&(So(e,0),Au(e,Rt,di,!1)),Il(e,l),(Gt&gl)!==0&&e===nn){if(Wa)switch(t.tag){case 0:case 11:case 15:e=Ot&&Se(Ot)||"Unknown",P2.has(e)||(P2.add(e),t=Se(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:K2||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),K2=!0)}}else zn&&Ie(e,t,l),v0(t),e===nn&&((Gt&gl)===si&&(us|=l),Ln===Kf&&Au(e,Rt,di,!1)),Ul(e)}function Gn(e,t,l){if((Gt&(gl|Lu))!==si)throw Error("Should not already be working.");var o=!l&&(t&124)===0&&(t&e.expiredLanes)===0||mi(e,t),d=o?zy(e,t):Oh(e,t,!0),p=o;do{if(d===qo){Hp&&!o&&Au(e,t,0,!1);break}else{if(l=e.current.alternate,p&&!m0(l)){d=Oh(e,t,!1),p=!1;continue}if(d===kp){if(p=t,e.errorRecoveryDisabledLanes&p)var S=0;else S=e.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){t=S;e:{d=e;var x=S;S=Kg;var N=d.current.memoizedState.isDehydrated;if(N&&(So(d,x).flags|=256),x=Oh(d,x,!1),x!==kp){if(_S&&!N){d.errorRecoveryDisabledLanes|=p,us|=p,d=Kf;break e}d=vl,vl=S,d!==null&&(vl===null?vl=d:vl.push.apply(vl,d))}d=x}if(p=!1,d!==kp)continue}}if(d===Qg){So(e,0),Au(e,t,0,!0);break}e:{switch(o=e,d){case qo:case Qg:throw Error("Root did not complete. This is a bug in React.");case Kf:if((t&4194048)!==t)break;case lb:Au(o,t,di,!ls);break e;case kp:vl=null;break;case RS:case Y2:break;default:throw Error("Unknown root exit status.")}if(le.actQueue!==null)Ch(o,l,t,vl,Pg,ib,di,us,Wf);else{if((t&62914560)===t&&(p=DS+G2-Xi(),10<p)){if(Au(o,t,di,!ls),Mn(o,0,!0)!==0)break e;o.timeoutHandle=iO(Fn.bind(null,o,l,vl,Pg,ib,t,di,us,Wf,ls,d,qN,Qx,0),p);break e}Fn(o,l,vl,Pg,ib,t,di,us,Wf,ls,d,LN,Qx,0)}}}break}while(!0);Ul(e)}function Fn(e,t,l,o,d,p,S,x,N,H,ee,oe,F,fe){if(e.timeoutHandle=ld,oe=t.subtreeFlags,(oe&8192||(oe&16785408)===16785408)&&(av={stylesheets:null,count:0,unsuspend:A0},gr(t),oe=O0(),oe!==null)){e.cancelPendingCommit=oe(Ch.bind(null,e,t,p,l,o,d,S,x,N,ee,ZN,F,fe)),Au(e,p,S,!H);return}Ch(e,t,p,l,o,d,S,x,N)}function m0(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var o=0;o<l.length;o++){var d=l[o],p=d.getSnapshot;d=d.value;try{if(!pl(p(),d))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Au(e,t,l,o){t&=~CS,t&=~us,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var d=t;0<d;){var p=31-Ea(d),S=1<<p;o[p]=-1,d&=~S}l!==0&&Lr(e,l,t)}function bo(){return(Gt&(gl|Lu))===si?(Eo(0),!1):!0}function Th(){if(Ot!==null){if($t===Vl)var e=Ot.return;else e=Ot,Ld(),ni(e),wp=null,Yg=0,e=Ot;for(;e!==null;)dy(e.alternate,e),e=e.return;Ot=null}}function So(e,t){var l=e.timeoutHandle;l!==ld&&(e.timeoutHandle=ld,ek(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Th(),nn=e,Ot=l=vi(e.current,null),Rt=t,$t=Vl,fi=null,ls=!1,Hp=mi(e,t),_S=!1,Ln=qo,Wf=di=CS=us=is=0,vl=Kg=null,ib=!1,(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var d=31-Ea(o),p=1<<d;t|=e[d],o&=~p}return jr=t,ks(),t=Gx(),1e3<t-Vx&&(le.recentlyCreatedOwnerStacks=0,Vx=t),Hu.discardPendingWarnings(),l}function mf(e,t){ut=null,le.H=nb,le.getCurrentStack=null,Wa=!1,hl=null,t===Bg||t===P0?(t=$m(),$t=Jg):t===$x?(t=$m(),$t=V2):$t=t===N2?zS:t!==null&&typeof t=="object"&&typeof t.then=="function"?Up:Ig,fi=t;var l=Ot;if(l===null)Ln=Qg,Ac(e,il(t,e.current));else switch(l.mode&Na&&pu(l),Dn(),$t){case Ig:Ue!==null&&typeof Ue.markComponentErrored=="function"&&Ue.markComponentErrored(l,t,Rt);break;case Pf:case Ff:case Jg:case Up:case $g:Ue!==null&&typeof Ue.markComponentSuspended=="function"&&Ue.markComponentSuspended(l,t,Rt)}}function Ah(){var e=le.H;return le.H=nb,e===null?nb:e}function wy(){var e=le.A;return le.A=HN,e}function xh(){Ln=Kf,ls||(Rt&4194048)!==Rt&&nu.current!==null||(Hp=!0),(is&134217727)===0&&(us&134217727)===0||nn===null||Au(nn,Rt,di,!1)}function Oh(e,t,l){var o=Gt;Gt|=gl;var d=Ah(),p=wy();if(nn!==e||Rt!==t){if(zn){var S=e.memoizedUpdaters;0<S.size&&(Dc(e,Rt),S.clear()),Ke(e,t)}Pg=null,So(e,t)}Oa(t),t=!1,S=Ln;e:do try{if($t!==Vl&&Ot!==null){var x=Ot,N=fi;switch($t){case zS:Th(),S=lb;break e;case Jg:case Pf:case Ff:case Up:nu.current===null&&(t=!0);var H=$t;if($t=Vl,fi=null,vr(e,x,N,H),l&&Hp){S=qo;break e}break;default:H=$t,$t=Vl,fi=null,vr(e,x,N,H)}}Rh(),S=Ln;break}catch(ee){mf(e,ee)}while(!0);return t&&e.shellSuspendCounter++,Ld(),Gt=o,le.H=d,le.A=p,ru(),Ot===null&&(nn=null,Rt=0,ks()),S}function Rh(){for(;Ot!==null;)Cy(Ot)}function zy(e,t){var l=Gt;Gt|=gl;var o=Ah(),d=wy();if(nn!==e||Rt!==t){if(zn){var p=e.memoizedUpdaters;0<p.size&&(Dc(e,Rt),p.clear()),Ke(e,t)}Pg=null,ub=Xi()+X2,So(e,t)}else Hp=mi(e,t);Oa(t);e:do try{if($t!==Vl&&Ot!==null)t:switch(t=Ot,p=fi,$t){case Ig:$t=Vl,fi=null,vr(e,t,p,Ig);break;case Pf:case Ff:if(Jm(p)){$t=Vl,fi=null,wh(t);break}t=function(){$t!==Pf&&$t!==Ff||nn!==e||($t=$g),Ul(e)},p.then(t,t);break e;case Jg:$t=$g;break e;case V2:$t=wS;break e;case $g:Jm(p)?($t=Vl,fi=null,wh(t)):($t=Vl,fi=null,vr(e,t,p,$g));break;case wS:var S=null;switch(Ot.tag){case 26:S=Ot.memoizedState;case 5:case 27:var x=Ot;if(!S||Ef(S)){$t=Vl,fi=null;var N=x.sibling;if(N!==null)Ot=N;else{var H=x.return;H!==null?(Ot=H,yf(H)):Ot=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}$t=Vl,fi=null,vr(e,t,p,wS);break;case Up:$t=Vl,fi=null,vr(e,t,p,Up);break;case zS:Th(),Ln=lb;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}le.actQueue!==null?Rh():_y();break}catch(ee){mf(e,ee)}while(!0);return Ld(),le.H=o,le.A=d,Gt=l,Ot!==null?(Ue!==null&&typeof Ue.markRenderYielded=="function"&&Ue.markRenderYielded(),qo):(ru(),nn=null,Rt=0,ks(),Ln)}function _y(){for(;Ot!==null&&!M0();)Cy(Ot)}function Cy(e){var t=e.alternate;(e.mode&Na)!==sn?(Zd(e),t=Be(e,yh,t,e,jr),pu(e)):t=Be(e,yh,t,e,jr),e.memoizedProps=e.pendingProps,t===null?yf(e):Ot=t}function wh(e){var t=Be(e,zh,e);e.memoizedProps=e.pendingProps,t===null?yf(e):Ot=t}function zh(e){var t=e.alternate,l=(e.mode&Na)!==sn;switch(l&&Zd(e),e.tag){case 15:case 0:t=ry(t,e,e.pendingProps,e.type,void 0,Rt);break;case 11:t=ry(t,e,e.pendingProps,e.type.render,e.ref,Rt);break;case 5:ni(e);default:dy(t,e),e=Ot=Um(e,jr),t=yh(t,e,jr)}return l&&pu(e),t}function vr(e,t,l,o){Ld(),ni(t),wp=null,Yg=0;var d=t.return;try{if(tf(e,d,t,l,Rt)){Ln=Qg,Ac(e,il(l,e.current)),Ot=null;return}}catch(p){if(d!==null)throw Ot=d,p;Ln=Qg,Ac(e,il(l,e.current)),Ot=null;return}t.flags&32768?(jt||o===Ig?e=!0:Hp||(Rt&536870912)!==0?e=!1:(ls=e=!0,(o===Pf||o===Ff||o===Jg||o===Up)&&(o=nu.current,o!==null&&o.tag===13&&(o.flags|=16384))),_h(t,e)):yf(t)}function yf(e){var t=e;do{if((t.flags&32768)!==0){_h(t,ls);return}var l=t.alternate;if(e=t.return,Zd(t),l=Be(t,r0,l,t,jr),(t.mode&Na)!==sn&&ao(t),l!==null){Ot=l;return}if(t=t.sibling,t!==null){Ot=t;return}Ot=t=e}while(t!==null);Ln===qo&&(Ln=Y2)}function _h(e,t){do{var l=o0(e.alternate,e);if(l!==null){l.flags&=32767,Ot=l;return}if((e.mode&Na)!==sn){ao(e),l=e.actualDuration;for(var o=e.child;o!==null;)l+=o.actualDuration,o=o.sibling;e.actualDuration=l}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){Ot=e;return}Ot=e=l}while(e!==null);Ln=lb,Ot=null}function Ch(e,t,l,o,d,p,S,x,N){e.cancelPendingCommit=null;do zc();while(Ua!==ed);if(Hu.flushLegacyContextWarning(),Hu.flushPendingUnsafeLifecycleWarnings(),(Gt&(gl|Lu))!==si)throw Error("Should not already be working.");if(Ue!==null&&typeof Ue.markCommitStarted=="function"&&Ue.markCommitStarted(l),t===null)Ve();else{if(l===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(p=t.lanes|t.childLanes,p|=iS,Wo(e,l,p,S,x,N),e===nn&&(Ot=nn=null,Rt=0),jp=t,os=e,cs=l,NS=p,kS=d,$2=o,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ky(Qc,function(){return gf(),null})):(e.callbackNode=null,e.callbackPriority=0),I0=Tp(),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=le.T,le.T=null,d=tt.p,tt.p=ha,S=Gt,Gt|=Lu;try{bh(e,t,l)}finally{Gt=S,tt.p=d,le.T=o}}Ua=Q2,Ui(),Dh(),y0()}}function Ui(){if(Ua===Q2){Ua=ed;var e=os,t=jp,l=cs,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=le.T,le.T=null;var d=tt.p;tt.p=ha;var p=Gt;Gt|=Lu;try{Mp=l,Np=e,Ty(t,e),Np=Mp=null,l=XS;var S=Iv(e.containerInfo),x=l.focusedElem,N=l.selectionRange;if(S!==x&&x&&x.ownerDocument&&Qv(x.ownerDocument.documentElement,x)){if(N!==null&&Dm(x)){var H=N.start,ee=N.end;if(ee===void 0&&(ee=H),"selectionStart"in x)x.selectionStart=H,x.selectionEnd=Math.min(ee,x.value.length);else{var oe=x.ownerDocument||document,F=oe&&oe.defaultView||window;if(F.getSelection){var fe=F.getSelection(),Le=x.textContent.length,nt=Math.min(N.start,Le),an=N.end===void 0?nt:Math.min(N.end,Le);!fe.extend&&nt>an&&(S=an,an=nt,nt=S);var Ct=Cm(x,nt),B=Cm(x,an);if(Ct&&B&&(fe.rangeCount!==1||fe.anchorNode!==Ct.node||fe.anchorOffset!==Ct.offset||fe.focusNode!==B.node||fe.focusOffset!==B.offset)){var Z=oe.createRange();Z.setStart(Ct.node,Ct.offset),fe.removeAllRanges(),nt>an?(fe.addRange(Z),fe.extend(B.node,B.offset)):(Z.setEnd(B.node,B.offset),fe.addRange(Z))}}}}for(oe=[],fe=x;fe=fe.parentNode;)fe.nodeType===1&&oe.push({element:fe,left:fe.scrollLeft,top:fe.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<oe.length;x++){var V=oe[x];V.element.scrollLeft=V.left,V.element.scrollTop=V.top}}Tb=!!GS,XS=GS=null}finally{Gt=p,tt.p=d,le.T=o}}e.current=t,Ua=I2}}function Dh(){if(Ua===I2){Ua=ed;var e=os,t=jp,l=cs,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=le.T,le.T=null;var d=tt.p;tt.p=ha;var p=Gt;Gt|=Lu;try{Ue!==null&&typeof Ue.markLayoutEffectsStarted=="function"&&Ue.markLayoutEffectsStarted(l),Mp=l,Np=e,Sy(e,t.alternate,t),Np=Mp=null,Ue!==null&&typeof Ue.markLayoutEffectsStopped=="function"&&Ue.markLayoutEffectsStopped()}finally{Gt=p,tt.p=d,le.T=o}}Ua=J2}}function y0(){if(Ua===YN||Ua===J2){Ua=ed,J1();var e=os,t=jp,l=cs,o=$2,d=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;d?Ua=MS:(Ua=ed,jp=os=null,Hi(e,e.pendingLanes),td=0,Wg=null);var p=e.pendingLanes;if(p===0&&(rs=null),d||Cc(e),d=Dt(l),t=t.stateNode,da&&typeof da.onCommitFiberRoot=="function")try{var S=(t.current.flags&128)===128;switch(d){case ha:var x=ep;break;case ci:x=Nf;break;case Mu:x=Qc;break;case lp:x=kf;break;default:x=Qc}da.onCommitFiberRoot(zr,t,x,S)}catch(oe){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",oe))}if(zn&&e.memoizedUpdaters.clear(),Oy(),o!==null){S=le.T,x=tt.p,tt.p=ha,le.T=null;try{var N=e.onRecoverableError;for(t=0;t<o.length;t++){var H=o[t],ee=g0(H.stack);Be(H.source,N,H.value,ee)}}finally{le.T=S,tt.p=x}}(cs&3)!==0&&zc(),Ul(e),p=e.pendingLanes,(l&4194090)!==0&&(p&42)!==0?($0=!0,e===US?Fg++:(Fg=0,US=e)):Fg=0,Eo(0),Ve()}}function g0(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Hi(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Si(t)))}function zc(e){return Ui(),Dh(),y0(),gf()}function gf(){if(Ua!==MS)return!1;var e=os,t=NS;NS=0;var l=Dt(cs),o=Mu>l?Mu:l;l=le.T;var d=tt.p;try{tt.p=o,le.T=null,o=kS,kS=null;var p=os,S=cs;if(Ua=ed,jp=os=null,cs=0,(Gt&(gl|Lu))!==si)throw Error("Cannot flush passive effects while already rendering.");HS=!0,rb=!1,Ue!==null&&typeof Ue.markPassiveEffectsStarted=="function"&&Ue.markPassiveEffectsStarted(S);var x=Gt;if(Gt|=Lu,Ay(p.current),ff(p,p.current,S,o),Ue!==null&&typeof Ue.markPassiveEffectsStopped=="function"&&Ue.markPassiveEffectsStopped(),Cc(p),Gt=x,Eo(0,!1),rb?p===Wg?td++:(td=0,Wg=p):td=0,rb=HS=!1,da&&typeof da.onPostCommitFiberRoot=="function")try{da.onPostCommitFiberRoot(zr,p)}catch(H){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",H))}var N=p.current.stateNode;return N.effectDuration=0,N.passiveEffectDuration=0,!0}finally{tt.p=d,le.T=l,Hi(e,t)}}function _c(e,t,l){t=il(l,t),t=va(e.stateNode,t,2),e=ei(e,t,2),e!==null&&(Il(e,2),Ul(e))}function Pe(e,t,l){if(Bp=!1,e.tag===3)_c(e,e,l);else{for(;t!==null;){if(t.tag===3){_c(t,e,l);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(rs===null||!rs.has(o))){e=il(l,e),l=Tn(2),o=ei(t,l,2),o!==null&&(ef(l,o,t,e),Il(o,2),Ul(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
223
|
+
|
|
224
|
+
Error message:
|
|
225
|
+
|
|
226
|
+
%s`,l)}}function Dy(e,t,l){var o=e.pingCache;if(o===null){o=e.pingCache=new BN;var d=new Set;o.set(t,d)}else d=o.get(t),d===void 0&&(d=new Set,o.set(t,d));d.has(l)||(_S=!0,d.add(l),o=q1.bind(null,e,t,l),zn&&Dc(e,l),t.then(o,o))}function q1(e,t,l){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ry()&&le.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
227
|
+
|
|
228
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
229
|
+
|
|
230
|
+
act(() => {
|
|
231
|
+
/* finish loading suspended data */
|
|
232
|
+
});
|
|
233
|
+
/* assert on the output */
|
|
234
|
+
|
|
235
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),nn===e&&(Rt&l)===l&&(Ln===Kf||Ln===RS&&(Rt&62914560)===Rt&&Xi()-DS<G2?(Gt&gl)===si&&So(e,0):CS|=l,Wf===Rt&&(Wf=0)),Ul(e)}function My(e,t){t===0&&(t=xl()),e=Za(e,t),e!==null&&(Il(e,t),Ul(e))}function vf(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),My(e,l)}function br(e,t){var l=0;switch(e.tag){case 13:var o=e.stateNode,d=e.memoizedState;d!==null&&(l=d.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),My(e,l)}function Mh(e,t,l){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,d=t,p=d.type===qc;p=l||p,d.tag!==22?d.flags&67108864?p&&Be(d,Ny,o,d,(d.mode&Zx)===sn):Mh(o,d,p):d.memoizedState===null&&(p&&d.flags&8192?Be(d,Ny,o,d):d.subtreeFlags&67108864&&Be(d,Mh,o,d,p)),t=t.sibling}}function Ny(e,t){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Oe(!0);try{cl(t),l&&pf(t),Tu(e,t.alternate,t,!1),l&&Eh(e,t,0,null,!1,0)}finally{Oe(!1)}}function Cc(e){var t=!0;e.current.mode&(el|Uu)||(t=!1),Mh(e,e.current,t)}function ri(e){if((Gt&gl)===si){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=Se(e)||"ReactComponent",ob!==null){if(ob.has(t))return;ob.add(t)}else ob=new Set([t]);Be(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function Dc(e,t){zn&&e.memoizedUpdaters.forEach(function(l){Ie(e,l,t)})}function ky(e,t){var l=le.actQueue;return l!==null?(l.push(t),XN):Wh(e,t)}function v0(e){Ry()&&le.actQueue===null&&Be(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
236
|
+
|
|
237
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
238
|
+
|
|
239
|
+
act(() => {
|
|
240
|
+
/* fire events that update state */
|
|
241
|
+
});
|
|
242
|
+
/* assert on the output */
|
|
243
|
+
|
|
244
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,Se(e))})}function Ul(e){e!==Lp&&e.next===null&&(Lp===null?cb=Lp=e:Lp=Lp.next=e),sb=!0,le.actQueue!==null?BS||(BS=!0,Xn()):jS||(jS=!0,Xn())}function Eo(e,t){if(!LS&&sb){LS=!0;do for(var l=!1,o=cb;o!==null;){if(e!==0){var d=o.pendingLanes;if(d===0)var p=0;else{var S=o.suspendedLanes,x=o.pingedLanes;p=(1<<31-Ea(42|e)+1)-1,p&=d&~(S&~x),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(l=!0,Uh(o,p))}else p=Rt,p=Mn(o,o===nn?p:0,o.cancelPendingCommit!==null||o.timeoutHandle!==ld),(p&3)===0||mi(o,p)||(l=!0,Uh(o,p));o=o.next}while(l);LS=!1}}function Nh(){kh()}function kh(){sb=BS=jS=!1;var e=0;nd!==0&&(Mc()&&(e=nd),nd=0);for(var t=Xi(),l=null,o=cb;o!==null;){var d=o.next,p=ji(o,t);p===0?(o.next=null,l===null?cb=d:l.next=d,d===null&&(Lp=l)):(l=o,(e!==0||(p&3)!==0)&&(sb=!0)),o=d}Eo(e)}function ji(e,t){for(var l=e.suspendedLanes,o=e.pingedLanes,d=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var S=31-Ea(p),x=1<<S,N=d[S];N===-1?((x&l)===0||(x&o)!==0)&&(d[S]=Br(x,t)):N<=t&&(e.expiredLanes|=x),p&=~x}if(t=nn,l=Rt,l=Mn(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ld),o=e.callbackNode,l===0||e===t&&($t===Pf||$t===Ff)||e.cancelPendingCommit!==null)return o!==null&&Hh(o),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||mi(e,l)){if(t=l&-l,t!==e.callbackPriority||le.actQueue!==null&&o!==ZS)Hh(o);else return t;switch(Dt(l)){case ha:case ci:l=Nf;break;case Mu:l=Qc;break;case lp:l=kf;break;default:l=Qc}return o=xn.bind(null,e),le.actQueue!==null?(le.actQueue.push(o),l=ZS):l=Wh(l,o),e.callbackPriority=t,e.callbackNode=l,t}return o!==null&&Hh(o),e.callbackPriority=2,e.callbackNode=null,2}function xn(e,t){if($0=J0=!1,Ua!==ed&&Ua!==MS)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(zc()&&e.callbackNode!==l)return null;var o=Rt;return o=Mn(e,e===nn?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ld),o===0?null:(Gn(e,o,t),ji(e,Xi()),e.callbackNode!=null&&e.callbackNode===l?xn.bind(null,e):null)}function Uh(e,t){if(zc())return null;J0=$0,$0=!1,Gn(e,t,!0)}function Hh(e){e!==ZS&&e!==null&&I1(e)}function Xn(){le.actQueue!==null&&le.actQueue.push(function(){return kh(),null}),tk(function(){(Gt&(gl|Lu))!==si?Wh(ep,Nh):kh()})}function Uy(){return nd===0&&(nd=rt()),nd}function Hy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ce(e,"action"),ic(""+e))}function jy(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function on(e,t,l,o,d){if(t==="submit"&&l&&l.stateNode===d){var p=Hy((d[Fa]||null).action),S=o.submitter;S&&(t=(t=S[Fa]||null)?Hy(t.formAction):S.getAttribute("formAction"),t!==null&&(p=t,S=null));var x=new $e("action","action",null,o,d);e.push({event:x,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(nd!==0){var N=S?jy(d,S):new FormData(d),H={pending:!0,data:N,method:d.method,action:p};Object.freeze(H),ro(l,H,null,N)}}else typeof p=="function"&&(x.preventDefault(),N=S?jy(d,S):new FormData(d),H={pending:!0,data:N,method:d.method,action:p},Object.freeze(H),ro(l,H,p,N))},currentTarget:d}]})}}function oa(e,t,l){e.currentTarget=l;try{t(e)}catch(o){ES(o)}e.currentTarget=null}function Bi(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var o=e[l];e:{var d=void 0,p=o.event;if(o=o.listeners,t)for(var S=o.length-1;0<=S;S--){var x=o[S],N=x.instance,H=x.currentTarget;if(x=x.listener,N!==d&&p.isPropagationStopped())break e;N!==null?Be(N,oa,p,x,H):oa(p,x,H),d=N}else for(S=0;S<o.length;S++){if(x=o[S],N=x.instance,H=x.currentTarget,x=x.listener,N!==d&&p.isPropagationStopped())break e;N!==null?Be(N,oa,p,x,H):oa(p,x,H),d=N}}}}function Tt(e,t){qS.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=t[sg];l===void 0&&(l=t[sg]=new Set);var o=e+"__bubble";l.has(o)||(Bh(t,e,2,!1),l.add(o))}function jh(e,t,l){qS.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),Bh(l,e,o,t)}function By(e){if(!e[fb]){e[fb]=!0,k0.forEach(function(l){l!=="selectionchange"&&(qS.has(l)||jh(l,!1,e),jh(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[fb]||(t[fb]=!0,jh("selectionchange",!1,t))}}function Bh(e,t,l,o){switch($h(t)){case ha:var d=G1;break;case ci:d=Jh;break;default:d=Ar}l=d.bind(null,t,l,e),d=void 0,!P||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(d=!0),o?d!==void 0?e.addEventListener(t,l,{capture:!0,passive:d}):e.addEventListener(t,l,!0):d!==void 0?e.addEventListener(t,l,{passive:d}):e.addEventListener(t,l,!1)}function _a(e,t,l,o,d){var p=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var S=o.tag;if(S===3||S===4){var x=o.stateNode.containerInfo;if(x===d)break;if(S===4)for(S=o.return;S!==null;){var N=S.tag;if((N===3||N===4)&&S.stateNode.containerInfo===d)return;S=S.return}for(;x!==null;){if(S=Un(x),S===null)return;if(N=S.tag,N===5||N===6||N===26||N===27){o=p=S;continue e}x=x.parentNode}}o=o.return}_d(function(){var H=p,ee=Ir(l),oe=[];e:{var F=Lx.get(e);if(F!==void 0){var fe=$e,Le=e;switch(e){case"keypress":if(uc(l)===0)break e;case"keydown":case"keyup":fe=oN;break;case"focusin":Le="focus",fe=Mt;break;case"focusout":Le="blur",fe=Mt;break;case"beforeblur":case"afterblur":fe=Mt;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":fe=St;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":fe=Fe;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":fe=fN;break;case Ux:case Hx:case jx:fe=F1;break;case Bx:fe=hN;break;case"scroll":case"scrollend":fe=J;break;case"wheel":fe=mN;break;case"copy":case"cut":case"paste":fe=tN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":fe=wx;break;case"toggle":case"beforetoggle":fe=gN}var nt=(t&4)!==0,an=!nt&&(e==="scroll"||e==="scrollend"),Ct=nt?F!==null?F+"Capture":null:F;nt=[];for(var B=H,Z;B!==null;){var V=B;if(Z=V.stateNode,V=V.tag,V!==5&&V!==26&&V!==27||Z===null||Ct===null||(V=su(B,Ct),V!=null&&nt.push(Ca(B,V,Z))),an)break;B=B.return}0<nt.length&&(F=new fe(F,Le,null,l,ee),oe.push({event:F,listeners:nt}))}}if((t&7)===0){e:{if(F=e==="mouseover"||e==="pointerover",fe=e==="mouseout"||e==="pointerout",F&&l!==m&&(Le=l.relatedTarget||l.fromElement)&&(Un(Le)||Le[Cr]))break e;if((fe||F)&&(F=ee.window===ee?ee:(F=ee.ownerDocument)?F.defaultView||F.parentWindow:window,fe?(Le=l.relatedTarget||l.toElement,fe=H,Le=Le?Un(Le):null,Le!==null&&(an=k(Le),nt=Le.tag,Le!==an||nt!==5&&nt!==27&&nt!==6)&&(Le=null)):(fe=null,Le=H),fe!==Le)){if(nt=St,V="onMouseLeave",Ct="onMouseEnter",B="mouse",(e==="pointerout"||e==="pointerover")&&(nt=wx,V="onPointerLeave",Ct="onPointerEnter",B="pointer"),an=fe==null?F:en(fe),Z=Le==null?F:en(Le),F=new nt(V,B+"leave",fe,l,ee),F.target=an,F.relatedTarget=Z,V=null,Un(ee)===H&&(nt=new nt(Ct,B+"enter",Le,l,ee),nt.target=Z,nt.relatedTarget=an,V=nt),an=V,fe&&Le)t:{for(nt=fe,Ct=Le,B=0,Z=nt;Z;Z=Wn(Z))B++;for(Z=0,V=Ct;V;V=Wn(V))Z++;for(;0<B-Z;)nt=Wn(nt),B--;for(;0<Z-B;)Ct=Wn(Ct),Z--;for(;B--;){if(nt===Ct||Ct!==null&&nt===Ct.alternate)break t;nt=Wn(nt),Ct=Wn(Ct)}nt=null}else nt=null;fe!==null&&Ly(oe,F,fe,nt,!1),Le!==null&&an!==null&&Ly(oe,an,Le,nt,!0)}}e:{if(F=H?en(H):window,fe=F.nodeName&&F.nodeName.toLowerCase(),fe==="select"||fe==="input"&&F.type==="file")var de=zm;else if(Yv(F))if(Nx)de=j1;else{de=_m;var Ce=U1}else fe=F.nodeName,!fe||fe.toLowerCase()!=="input"||F.type!=="checkbox"&&F.type!=="radio"?H&&Qr(H.elementType)&&(de=zm):de=H1;if(de&&(de=de(e,H))){Nd(oe,de,l,ee);break e}Ce&&Ce(e,F,H),e==="focusout"&&H&&F.type==="number"&&H.memoizedProps.value!=null&&Ad(F,"number",F.value)}switch(Ce=H?en(H):window,e){case"focusin":(Yv(Ce)||Ce.contentEditable==="true")&&(pp=Ce,eS=H,Cg=null);break;case"focusout":Cg=eS=pp=null;break;case"mousedown":tS=!0;break;case"contextmenu":case"mouseup":case"dragend":tS=!1,Jv(oe,l,ee);break;case"selectionchange":if(EN)break;case"keydown":case"keyup":Jv(oe,l,ee)}var dt;if(W1)e:{switch(e){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else hp?za(e,l)&&(Ze="onCompositionEnd"):e==="keydown"&&l.keyCode===zx&&(Ze="onCompositionStart");Ze&&(_x&&l.locale!=="ko"&&(hp||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&hp&&(dt=fu()):(ve=ee,W="value"in ve?ve.value:ve.textContent,hp=!0)),Ce=bf(H,Ze),0<Ce.length&&(Ze=new Rx(Ze,e,null,l,ee),oe.push({event:Ze,listeners:Ce}),dt?Ze.data=dt:(dt=Wu(l),dt!==null&&(Ze.data=dt)))),(dt=bN?Md(e,l):Ds(e,l))&&(Ze=bf(H,"onBeforeInput"),0<Ze.length&&(Ce=new aN("onBeforeInput","beforeinput",null,l,ee),oe.push({event:Ce,listeners:Ze}),Ce.data=dt)),on(oe,e,H,l,ee)}Bi(oe,t)})}function Ca(e,t,l){return{instance:e,listener:t,currentTarget:l}}function bf(e,t){for(var l=t+"Capture",o=[];e!==null;){var d=e,p=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||p===null||(d=su(e,l),d!=null&&o.unshift(Ca(e,d,p)),d=su(e,t),d!=null&&o.push(Ca(e,d,p))),e.tag===3)return o;e=e.return}return[]}function Wn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ly(e,t,l,o,d){for(var p=t._reactName,S=[];l!==null&&l!==o;){var x=l,N=x.alternate,H=x.stateNode;if(x=x.tag,N!==null&&N===o)break;x!==5&&x!==26&&x!==27||H===null||(N=H,d?(H=su(l,p),H!=null&&S.unshift(Ca(l,H,N))):d||(H=su(l,p),H!=null&&S.push(Ca(l,H,N)))),l=l.return}S.length!==0&&e.push({event:t,listeners:S})}function Li(e,t){lc(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Rg||(Rg=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var l={registrationNameDependencies:Zl,possibleRegistrationNames:Co};Qr(e)||typeof t.is=="string"||Om(e,t,l),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function cn(e,t,l,o){t!==l&&(l=ca(l),ca(t)!==l&&(o[e]=t))}function Sr(e,t,l){t.forEach(function(o){l[qy(o)]=o==="style"?Ao(e):e.getAttribute(o)})}function Hl(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Lh(e,t){return e=e.namespaceURI===qf||e.namespaceURI===Wc?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function ca(e){return A(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",ke(e)),$(e)),(typeof e=="string"?e:""+e).replace(QN,`
|
|
245
|
+
`).replace(IN,"")}function Zy(e,t){return t=ca(t),ca(e)===t}function xu(){}function Ut(e,t,l,o,d,p){switch(l){case"children":typeof o=="string"?(_s(o,t,!1),t==="body"||t==="textarea"&&o===""||Xr(e,o)):(typeof o=="number"||typeof o=="bigint")&&(_s(""+o,t,!1),t!=="body"&&Xr(e,""+o));break;case"className":ot(e,"class",o);break;case"tabIndex":ot(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":ot(e,l,o);break;case"style":Cs(e,o,p);break;case"data":if(t!=="object"){ot(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||l!=="href")){console.error(l==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',l,l),e.removeAttribute(l);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(l);break}ce(o,l),o=ic(""+o),e.setAttribute(l,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?l==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(d.encType==null&&d.method==null||pb||(pb=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),d.target==null||hb||(hb=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?l==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||d.type==="submit"||d.type==="image"||db?t!=="button"||d.type==null||d.type==="submit"||db?typeof o=="function"&&(d.name==null||eO||(eO=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),d.formEncType==null&&d.formMethod==null||pb||(pb=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),d.formTarget==null||hb||(hb=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(db=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(db=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(l==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(l,"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}else typeof p=="function"&&(l==="formAction"?(t!=="input"&&Ut(e,t,"name",d.name,d,null),Ut(e,t,"formEncType",d.formEncType,d,null),Ut(e,t,"formMethod",d.formMethod,d,null),Ut(e,t,"formTarget",d.formTarget,d,null)):(Ut(e,t,"encType",d.encType,d,null),Ut(e,t,"method",d.method,d,null),Ut(e,t,"target",d.target,d,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(l);break}ce(o,l),o=ic(""+o),e.setAttribute(l,o);break;case"onClick":o!=null&&(typeof o!="function"&&Hl(l,o),e.onclick=xu);break;case"onScroll":o!=null&&(typeof o!="function"&&Hl(l,o),Tt("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&Hl(l,o),Tt("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=o.__html,l!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}ce(o,l),l=ic(""+o),e.setAttributeNS(ad,"xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(ce(o,l),e.setAttribute(l,""+o)):e.removeAttribute(l);break;case"inert":o!==""||mb[l]||(mb[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l));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":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":o===!0?e.setAttribute(l,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(ce(o,l),e.setAttribute(l,o)):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(ce(o,l),e.setAttribute(l,o)):e.removeAttribute(l);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(l):(ce(o,l),e.setAttribute(l,o));break;case"popover":Tt("beforetoggle",e),Tt("toggle",e),zt(e,"popover",o);break;case"xlinkActuate":Hn(e,ad,"xlink:actuate",o);break;case"xlinkArcrole":Hn(e,ad,"xlink:arcrole",o);break;case"xlinkRole":Hn(e,ad,"xlink:role",o);break;case"xlinkShow":Hn(e,ad,"xlink:show",o);break;case"xlinkTitle":Hn(e,ad,"xlink:title",o);break;case"xlinkType":Hn(e,ad,"xlink:type",o);break;case"xmlBase":Hn(e,YS,"xml:base",o);break;case"xmlLang":Hn(e,YS,"xml:lang",o);break;case"xmlSpace":Hn(e,YS,"xml:space",o);break;case"is":p!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),zt(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":tO||o==null||typeof o!="object"||(tO=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"?(l=zd(l),zt(e,l,o)):Zl.hasOwnProperty(l)&&o!=null&&typeof o!="function"&&Hl(l,o)}}function To(e,t,l,o,d,p){switch(l){case"style":Cs(e,o,p);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=o.__html,l!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"children":typeof o=="string"?Xr(e,o):(typeof o=="number"||typeof o=="bigint")&&Xr(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&Hl(l,o),Tt("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&Hl(l,o),Tt("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&Hl(l,o),e.onclick=xu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Zl.hasOwnProperty(l))o!=null&&typeof o!="function"&&Hl(l,o);else e:{if(l[0]==="o"&&l[1]==="n"&&(d=l.endsWith("Capture"),t=l.slice(2,d?l.length-7:void 0),p=e[Fa]||null,p=p!=null?p[l]:null,typeof p=="function"&&e.removeEventListener(t,p,d),typeof o=="function")){typeof p!="function"&&p!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,o,d);break e}l in e?e[l]=o:o===!0?e.setAttribute(l,""):zt(e,l,o)}}}function On(e,t,l){switch(Li(t,l),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Tt("error",e),Tt("load",e);var o=!1,d=!1,p;for(p in l)if(l.hasOwnProperty(p)){var S=l[p];if(S!=null)switch(p){case"src":o=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,p,S,l,null)}}d&&Ut(e,t,"srcSet",l.srcSet,l,null),o&&Ut(e,t,"src",l.src,l,null);return;case"input":qe("input",l),Tt("invalid",e);var x=p=S=d=null,N=null,H=null;for(o in l)if(l.hasOwnProperty(o)){var ee=l[o];if(ee!=null)switch(o){case"name":d=ee;break;case"type":S=ee;break;case"checked":N=ee;break;case"defaultChecked":H=ee;break;case"value":p=ee;break;case"defaultValue":x=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,o,ee,l,null)}}$u(e,l),jv(e,p,x,N,H,S,d,!1),ou(e);return;case"select":qe("select",l),Tt("invalid",e),o=S=p=null;for(d in l)if(l.hasOwnProperty(d)&&(x=l[d],x!=null))switch(d){case"value":p=x;break;case"defaultValue":S=x;break;case"multiple":o=x;default:Ut(e,t,d,x,l,null)}Rs(e,l),t=p,l=S,e.multiple=!!o,t!=null?cu(e,!!o,t,!1):l!=null&&cu(e,!!o,l,!0);return;case"textarea":qe("textarea",l),Tt("invalid",e),p=d=o=null;for(S in l)if(l.hasOwnProperty(S)&&(x=l[S],x!=null))switch(S){case"value":o=x;break;case"defaultValue":d=x;break;case"children":p=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ut(e,t,S,x,l,null)}yi(e,l),Sm(e,o,d,p),ou(e);return;case"option":bm(e,l);for(N in l)if(l.hasOwnProperty(N)&&(o=l[N],o!=null))switch(N){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ut(e,t,N,o,l,null)}return;case"dialog":Tt("beforetoggle",e),Tt("toggle",e),Tt("cancel",e),Tt("close",e);break;case"iframe":case"object":Tt("load",e);break;case"video":case"audio":for(o=0;o<ev.length;o++)Tt(ev[o],e);break;case"image":Tt("error",e),Tt("load",e);break;case"details":Tt("toggle",e);break;case"embed":case"source":case"link":Tt("error",e),Tt("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(H in l)if(l.hasOwnProperty(H)&&(o=l[H],o!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,H,o,l,null)}return;default:if(Qr(t)){for(ee in l)l.hasOwnProperty(ee)&&(o=l[ee],o!==void 0&&To(e,t,ee,o,l,void 0));return}}for(x in l)l.hasOwnProperty(x)&&(o=l[x],o!=null&&Ut(e,t,x,o,l,null))}function b0(e,t,l,o){switch(Li(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,p=null,S=null,x=null,N=null,H=null,ee=null;for(fe in l){var oe=l[fe];if(l.hasOwnProperty(fe)&&oe!=null)switch(fe){case"checked":break;case"value":break;case"defaultValue":N=oe;default:o.hasOwnProperty(fe)||Ut(e,t,fe,null,o,oe)}}for(var F in o){var fe=o[F];if(oe=l[F],o.hasOwnProperty(F)&&(fe!=null||oe!=null))switch(F){case"type":p=fe;break;case"name":d=fe;break;case"checked":H=fe;break;case"defaultChecked":ee=fe;break;case"value":S=fe;break;case"defaultValue":x=fe;break;case"children":case"dangerouslySetInnerHTML":if(fe!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:fe!==oe&&Ut(e,t,F,fe,o,oe)}}t=l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||W2||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),W2=!0),!t||o||F2||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),F2=!0),Ku(e,S,x,N,H,ee,p,d);return;case"select":fe=S=x=F=null;for(p in l)if(N=l[p],l.hasOwnProperty(p)&&N!=null)switch(p){case"value":break;case"multiple":fe=N;default:o.hasOwnProperty(p)||Ut(e,t,p,null,o,N)}for(d in o)if(p=o[d],N=l[d],o.hasOwnProperty(d)&&(p!=null||N!=null))switch(d){case"value":F=p;break;case"defaultValue":x=p;break;case"multiple":S=p;default:p!==N&&Ut(e,t,d,p,o,N)}o=x,t=S,l=fe,F!=null?cu(e,!!t,F,!1):!!l!=!!t&&(o!=null?cu(e,!!t,o,!0):cu(e,!!t,t?[]:"",!1));return;case"textarea":fe=F=null;for(x in l)if(d=l[x],l.hasOwnProperty(x)&&d!=null&&!o.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Ut(e,t,x,null,o,d)}for(S in o)if(d=o[S],p=l[S],o.hasOwnProperty(S)&&(d!=null||p!=null))switch(S){case"value":F=d;break;case"defaultValue":fe=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:d!==p&&Ut(e,t,S,d,o,p)}xd(e,F,fe);return;case"option":for(var Le in l)if(F=l[Le],l.hasOwnProperty(Le)&&F!=null&&!o.hasOwnProperty(Le))switch(Le){case"selected":e.selected=!1;break;default:Ut(e,t,Le,null,o,F)}for(N in o)if(F=o[N],fe=l[N],o.hasOwnProperty(N)&&F!==fe&&(F!=null||fe!=null))switch(N){case"selected":e.selected=F&&typeof F!="function"&&typeof F!="symbol";break;default:Ut(e,t,N,F,o,fe)}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 nt in l)F=l[nt],l.hasOwnProperty(nt)&&F!=null&&!o.hasOwnProperty(nt)&&Ut(e,t,nt,null,o,F);for(H in o)if(F=o[H],fe=l[H],o.hasOwnProperty(H)&&F!==fe&&(F!=null||fe!=null))switch(H){case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,H,F,o,fe)}return;default:if(Qr(t)){for(var an in l)F=l[an],l.hasOwnProperty(an)&&F!==void 0&&!o.hasOwnProperty(an)&&To(e,t,an,void 0,o,F);for(ee in o)F=o[ee],fe=l[ee],!o.hasOwnProperty(ee)||F===fe||F===void 0&&fe===void 0||To(e,t,ee,F,o,fe);return}}for(var Ct in l)F=l[Ct],l.hasOwnProperty(Ct)&&F!=null&&!o.hasOwnProperty(Ct)&&Ut(e,t,Ct,null,o,F);for(oe in o)F=o[oe],fe=l[oe],!o.hasOwnProperty(oe)||F===fe||F==null&&fe==null||Ut(e,t,oe,F,o,fe)}function qy(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Ao(e){var t={};e=e.style;for(var l=0;l<e.length;l++){var o=e[l];t[o]=e.getPropertyValue(o)}return t}function Yy(e,t,l){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,d=o="",p;for(p in t)if(t.hasOwnProperty(p)){var S=t[p];S!=null&&typeof S!="boolean"&&S!==""&&(p.indexOf("--")===0?(U(S,p),o+=d+p+":"+(""+S).trim()):typeof S!="number"||S===0||Zf.has(p)?(U(S,p),o+=d+p.replace(Nu,"-$1").toLowerCase().replace(ku,"-ms-")+":"+(""+S).trim()):o+=d+p.replace(Nu,"-$1").toLowerCase().replace(ku,"-ms-")+":"+S+"px",d=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=ca(o),ca(t)!==o&&(l.style=Ao(e)))}}function Da(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(ce(o,t),e===""+o)return}cn(t,e,o,p)}function Vy(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}cn(t,e,o,p)}function Gy(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(ce(o,l),e===""+o)return}cn(t,e,o,p)}function S0(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(ce(o,t),e===""+o))return}cn(t,e,o,p)}function Zt(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(ce(o,t),l=ic(""+o),e===l)return}cn(t,e,o,p)}function Pt(e,t,l,o){for(var d={},p=new Set,S=e.attributes,x=0;x<S.length;x++)switch(S[x].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:p.add(S[x].name)}if(Qr(t)){for(var N in l)if(l.hasOwnProperty(N)){var H=l[N];if(H!=null){if(Zl.hasOwnProperty(N))typeof H!="function"&&Hl(N,H);else if(l.suppressHydrationWarning!==!0)switch(N){case"children":typeof H!="string"&&typeof H!="number"||cn("children",e.textContent,H,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=e.innerHTML,H=H?H.__html:void 0,H!=null&&(H=Lh(e,H),cn(N,S,H,d));continue;case"style":p.delete(N),Yy(e,H,d);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":p.delete(N.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",N);continue;case"className":p.delete("class"),S=ct(e,"class",H),cn("className",S,H,d);continue;default:o.context===Vo&&t!=="svg"&&t!=="math"?p.delete(N.toLowerCase()):p.delete(N),S=ct(e,N,H),cn(N,S,H,d)}}}}else for(H in l)if(l.hasOwnProperty(H)&&(N=l[H],N!=null)){if(Zl.hasOwnProperty(H))typeof N!="function"&&Hl(H,N);else if(l.suppressHydrationWarning!==!0)switch(H){case"children":typeof N!="string"&&typeof N!="number"||cn("children",e.textContent,N,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=e.innerHTML,N=N?N.__html:void 0,N!=null&&(N=Lh(e,N),S!==N&&(d[H]={__html:S}));continue;case"className":Da(e,H,"class",N,p,d);continue;case"tabIndex":Da(e,H,"tabindex",N,p,d);continue;case"style":p.delete(H),Yy(e,N,d);continue;case"multiple":p.delete(H),cn(H,e.multiple,N,d);continue;case"muted":p.delete(H),cn(H,e.muted,N,d);continue;case"autoFocus":p.delete("autofocus"),cn(H,e.autofocus,N,d);continue;case"data":if(t!=="object"){p.delete(H),S=e.getAttribute("data"),cn(H,S,N,d);continue}case"src":case"href":if(!(N!==""||t==="a"&&H==="href"||t==="object"&&H==="data")){console.error(H==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',H,H);continue}Zt(e,H,H,N,p,d);continue;case"action":case"formAction":if(S=e.getAttribute(H),typeof N=="function"){p.delete(H.toLowerCase()),H==="formAction"?(p.delete("name"),p.delete("formenctype"),p.delete("formmethod"),p.delete("formtarget")):(p.delete("enctype"),p.delete("method"),p.delete("target"));continue}else if(S===JN){p.delete(H.toLowerCase()),cn(H,"function",N,d);continue}Zt(e,H,H.toLowerCase(),N,p,d);continue;case"xlinkHref":Zt(e,H,"xlink:href",N,p,d);continue;case"contentEditable":Gy(e,H,"contenteditable",N,p,d);continue;case"spellCheck":Gy(e,H,"spellcheck",N,p,d);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Gy(e,H,H,N,p,d);continue;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":Vy(e,H,H.toLowerCase(),N,p,d);continue;case"capture":case"download":e:{x=e;var ee=S=H,oe=d;if(p.delete(ee),x=x.getAttribute(ee),x===null)switch(typeof N){case"undefined":case"function":case"symbol":break e;default:if(N===!1)break e}else if(N!=null)switch(typeof N){case"function":case"symbol":break;case"boolean":if(N===!0&&x==="")break e;break;default:if(ce(N,S),x===""+N)break e}cn(S,x,N,oe)}continue;case"cols":case"rows":case"size":case"span":e:{if(x=e,ee=S=H,oe=d,p.delete(ee),x=x.getAttribute(ee),x===null)switch(typeof N){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(N)||1>N)break e}else if(N!=null)switch(typeof N){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(N)||1>N)&&(ce(N,S),x===""+N))break e}cn(S,x,N,oe)}continue;case"rowSpan":S0(e,H,"rowspan",N,p,d);continue;case"start":S0(e,H,H,N,p,d);continue;case"xHeight":Da(e,H,"x-height",N,p,d);continue;case"xlinkActuate":Da(e,H,"xlink:actuate",N,p,d);continue;case"xlinkArcrole":Da(e,H,"xlink:arcrole",N,p,d);continue;case"xlinkRole":Da(e,H,"xlink:role",N,p,d);continue;case"xlinkShow":Da(e,H,"xlink:show",N,p,d);continue;case"xlinkTitle":Da(e,H,"xlink:title",N,p,d);continue;case"xlinkType":Da(e,H,"xlink:type",N,p,d);continue;case"xmlBase":Da(e,H,"xml:base",N,p,d);continue;case"xmlLang":Da(e,H,"xml:lang",N,p,d);continue;case"xmlSpace":Da(e,H,"xml:space",N,p,d);continue;case"inert":N!==""||mb[H]||(mb[H]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",H)),Vy(e,H,H,N,p,d);continue;default:if(!(2<H.length)||H[0]!=="o"&&H[0]!=="O"||H[1]!=="n"&&H[1]!=="N"){x=zd(H),S=!1,o.context===Vo&&t!=="svg"&&t!=="math"?p.delete(x.toLowerCase()):(ee=H.toLowerCase(),ee=No.hasOwnProperty(ee)&&No[ee]||null,ee!==null&&ee!==H&&(S=!0,p.delete(ee)),p.delete(x));e:if(ee=e,oe=x,x=N,lt(oe))if(ee.hasAttribute(oe))ee=ee.getAttribute(oe),ce(x,oe),x=ee===""+x?x:ee;else{switch(typeof x){case"function":case"symbol":break e;case"boolean":if(ee=oe.toLowerCase().slice(0,5),ee!=="data-"&&ee!=="aria-")break e}x=x===void 0?void 0:null}else x=void 0;S||cn(H,x,N,d)}}}return 0<p.size&&l.suppressHydrationWarning!==!0&&Sr(e,p,d),Object.keys(d).length===0?null:d}function At(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function xt(e){return e.nodeType===9?e:e.ownerDocument}function qt(e){switch(e){case Wc:return Zp;case qf:return vb;default:return Vo}}function Ja(e,t){if(e===Vo)switch(t){case"svg":return Zp;case"math":return vb;default:return Vo}return e===Zp&&t==="foreignObject"?Vo:e}function Zi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Mc(){var e=window.event;return e&&e.type==="popstate"?e===QS?!1:(QS=e,!0):(QS=null,!1)}function Xy(e){setTimeout(function(){throw e})}function Ou(e,t,l){switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();break;case"img":l.src?e.src=l.src:l.srcSet&&(e.srcset=l.srcSet)}}function Rn(e,t,l,o){b0(e,t,l,o),e[Fa]=o}function Ru(e){Xr(e,"")}function xo(e,t,l){e.nodeValue=l}function qi(e){return e==="head"}function jl(e,t){e.removeChild(t)}function Nc(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function kc(e,t){var l=t,o=0,d=0;do{var p=l.nextSibling;if(e.removeChild(l),p&&p.nodeType===8)if(l=p.data,l===gb){if(0<o&&8>o){l=o;var S=e.ownerDocument;if(l&KN&&Bc(S.documentElement),l&PN&&Bc(S.body),l&FN)for(l=S.head,Bc(l),S=l.firstChild;S;){var x=S.nextSibling,N=S.nodeName;S[$c]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&S.rel.toLowerCase()==="stylesheet"||l.removeChild(S),S=x}}if(d===0){e.removeChild(p),zo(t);return}d--}else l===yb||l===Yo||l===tv?d++:o=l.charCodeAt(0)-48;else o=0;l=p}while(l);zo(t)}function $a(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Qy(e){e.nodeValue=""}function Iy(e,t){t=t[WN],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Zh(e,t){e.nodeValue=t}function Uc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Uc(l),Nn(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Er(e,t,l,o){for(;e.nodeType===1;){var d=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[$c])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==d.rel||e.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||e.getAttribute("title")!==(d.title==null?null:d.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(d.src==null?null:d.src)||e.getAttribute("type")!==(d.type==null?null:d.type)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ce(d.name,"name");var p=d.name==null?null:""+d.name;if(d.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=fa(e.nextSibling),e===null)break}return null}function sa(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=fa(e.nextSibling),e===null))return null;return e}function Yi(e){return e.data===tv||e.data===Yo&&e.ownerDocument.readyState===aO}function Hc(e,t){var l=e.ownerDocument;if(e.data!==Yo||l.readyState===aO)t();else{var o=function(){t(),l.removeEventListener("DOMContentLoaded",o)};l.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function fa(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===yb||t===tv||t===Yo||t===VS||t===nO)break;if(t===gb)return null}}return e}function qh(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),l={},o=e.attributes,d=0;d<o.length;d++){var p=o[d];l[qy(p.name)]=p.name.toLowerCase()==="style"?Ao(e):p.value}return{type:t,props:l}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Yh(e,t,l){return l===null||l[$N]!==!0?(e.nodeValue===t?e=null:(t=ca(t),e=ca(e.nodeValue)===t?null:e.nodeValue),e):null}function Jy(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===gb){if(t===0)return fa(e.nextSibling);t--}else l!==yb&&l!==tv&&l!==Yo||t++}e=e.nextSibling}return null}function jc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===yb||l===tv||l===Yo){if(t===0)return e;t--}else l===gb&&t++}e=e.previousSibling}return null}function $y(e){zo(e)}function sl(e){zo(e)}function Ky(e,t,l,o,d){switch(d&&wd(e,o.ancestorInfo),t=xt(l),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function fl(e,t,l,o){if(!l[Cr]&&mn(l)){var d=l.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",d,d,d)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(d=l.attributes;d.length;)l.removeAttributeNode(d[0]);On(l,e,t),l[Ta]=o,l[Fa]=t}function Bc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Nn(e)}function Sf(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function E0(e,t,l){var o=qp;if(o&&typeof t=="string"&&t){var d=ll(t);d='link[rel="'+e+'"][href="'+d+'"]',typeof l=="string"&&(d+='[crossorigin="'+l+'"]'),cO.has(d)||(cO.add(d),e={rel:e,crossOrigin:l,href:t},o.querySelector(d)===null&&(t=o.createElement("link"),On(t,"link",e),I(t),o.head.appendChild(t)))}}function wu(e,t,l,o){var d=(d=Gi.current)?Sf(d):null;if(!d)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=Tr(l.href),t=C(d).hoistableStyles,o=t.get(l),o||(o={type:"style",instance:null,count:0,state:null},t.set(l,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Tr(l.href);var p=C(d).hoistableStyles,S=p.get(e);if(!S&&(d=d.ownerDocument||d,S={type:"stylesheet",instance:null,count:0,state:{loading:id,preload:null}},p.set(e,S),(p=d.querySelector(Vi(e)))&&!p._p&&(S.instance=p,S.state.loading=nv|au),!lu.has(e))){var x={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy};lu.set(e,x),p||T0(d,e,x,S.state)}if(t&&o===null)throw l=`
|
|
246
|
+
|
|
247
|
+
- `+Oo(t)+`
|
|
248
|
+
+ `+Oo(l),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return S}if(t&&o!==null)throw l=`
|
|
249
|
+
|
|
250
|
+
- `+Oo(t)+`
|
|
251
|
+
+ `+Oo(l),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=Ro(l),t=C(d).hoistableScripts,o=t.get(l),o||(o={type:"script",instance:null,count:0,state:null},t.set(l,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Oo(e){var t=0,l="<link";return typeof e.rel=="string"?(t++,l+=' rel="'+e.rel+'"'):Cu.call(e,"rel")&&(t++,l+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,l+=' href="'+e.href+'"'):Cu.call(e,"href")&&(t++,l+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,l+=' precedence="'+e.precedence+'"'):Cu.call(e,"precedence")&&(t++,l+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(l+=" ..."),l+" />"}function Tr(e){return'href="'+ll(e)+'"'}function Vi(e){return'link[rel="stylesheet"]['+e+"]"}function Py(e){return yt({},e,{"data-precedence":e.precedence,precedence:null})}function T0(e,t,l,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=nv:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=nv}),t.addEventListener("error",function(){return o.loading|=rO}),On(t,"link",l),I(t),e.head.appendChild(t))}function Ro(e){return'[src="'+ll(e)+'"]'}function wo(e){return"script[async]"+e}function Vh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+ll(l.href)+'"]');if(o)return t.instance=o,I(o),o;var d=yt({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),I(o),On(o,"style",d),Gh(o,l.precedence,e),t.instance=o;case"stylesheet":d=Tr(l.href);var p=e.querySelector(Vi(d));if(p)return t.state.loading|=au,t.instance=p,I(p),p;o=Py(l),(d=lu.get(d))&&Fy(o,d),p=(e.ownerDocument||e).createElement("link"),I(p);var S=p;return S._p=new Promise(function(x,N){S.onload=x,S.onerror=N}),On(p,"link",o),t.state.loading|=au,Gh(p,l.precedence,e),t.instance=p;case"script":return p=Ro(l.src),(d=e.querySelector(wo(p)))?(t.instance=d,I(d),d):(o=l,(d=lu.get(p))&&(o=yt({},l),Wy(o,d)),e=e.ownerDocument||e,d=e.createElement("script"),I(d),On(d,"link",o),e.head.appendChild(d),t.instance=d);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&au)===id&&(o=t.instance,t.state.loading|=au,Gh(o,l.precedence,e));return t.instance}function Gh(e,t,l){for(var o=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=o.length?o[o.length-1]:null,p=d,S=0;S<o.length;S++){var x=o[S];if(x.dataset.precedence===t)p=x;else if(p!==d)break}p?p.parentNode.insertBefore(e,p.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Fy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Wy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function eg(e,t,l){if(bb===null){var o=new Map,d=bb=new Map;d.set(l,o)}else d=bb,o=d.get(l),o||(o=new Map,d.set(l,o));if(o.has(e))return o;for(o.set(e,null),l=l.getElementsByTagName(e),d=0;d<l.length;d++){var p=l[d];if(!(p[$c]||p[Ta]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!==Wc){var S=p.getAttribute(t)||"";S=e+S;var x=o.get(S);x?x.push(p):o.set(S,[p])}}return o}function tg(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Lc(e,t,l){var o=!l.ancestorInfo.containerTagInScope;if(l.context===Zp||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var d=t.onError,p=t.disabled;l=[],t.onLoad&&l.push("`onLoad`"),d&&l.push("`onError`"),p!=null&&l.push("`disabled`"),d=At(l,"and"),d+=l.length===1?" prop":" props",p=l.length===1?"an "+d:"the "+d,l.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,p,d)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Ef(e){return!(e.type==="stylesheet"&&(e.state.loading&oO)===id)}function A0(){}function x0(e,t,l){if(av===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var o=av;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&au)===id){if(t.instance===null){var d=Tr(l.href),p=e.querySelector(Vi(d));if(p){e=p._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(o.count++,o=Tf.bind(o),e.then(o,o)),t.state.loading|=au,t.instance=p,I(p);return}p=e.ownerDocument||e,l=Py(l),(d=lu.get(d))&&Fy(l,d),p=p.createElement("link"),I(p);var S=p;S._p=new Promise(function(x,N){S.onload=x,S.onerror=N}),On(p,"link",l),t.instance=p}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&oO)===id&&(o.count++,t=Tf.bind(o),e.addEventListener("load",t),e.addEventListener("error",t))}}function O0(){if(av===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=av;return e.stylesheets&&e.count===0&&Xh(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&Xh(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l)}}:null}function Tf(){if(this.count--,this.count===0){if(this.stylesheets)Xh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Xh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Sb=new Map,t.forEach(R0,e),Sb=null,Tf.call(e))}function R0(e,t){if(!(t.state.loading&au)){var l=Sb.get(e);if(l)var o=l.get(JS);else{l=new Map,Sb.set(e,l);for(var d=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<d.length;p++){var S=d[p];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(l.set(S.dataset.precedence,S),o=S)}o&&l.set(JS,o)}d=t.instance,S=d.getAttribute("data-precedence"),p=l.get(S)||o,p===o&&l.set(JS,d),l.set(S,d),this.count++,o=Tf.bind(this),d.addEventListener("load",o),d.addEventListener("error",o),p?p.parentNode.insertBefore(d,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(d,e.firstChild)),t.state.loading|=au}}function Qh(e,t,l,o,d,p,S,x){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ld,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ju(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ju(0),this.hiddenUpdates=Ju(null),this.identifierPrefix=o,this.onUncaughtError=d,this.onCaughtError=p,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=l?"hydrateRoot()":"createRoot()"}function ng(e,t,l,o,d,p,S,x,N,H,ee,oe){return e=new Qh(e,t,l,S,x,N,H,oe),t=ON,p===!0&&(t|=el|Uu),zn&&(t|=Na),p=z(3,null,null,t),e.current=p,p.stateNode=e,t=Ls(),to(t),e.pooledCache=t,to(t),p.memoizedState={element:o,isDehydrated:l,cache:t},qa(p),e}function ag(e){return e?(e=es,e):es}function Vt(e,t,l,o,d,p){if(da&&typeof da.onScheduleFiberRoot=="function")try{da.onScheduleFiberRoot(zr,o,l)}catch(S){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",S))}Ue!==null&&typeof Ue.markRenderScheduled=="function"&&Ue.markRenderScheduled(t),d=ag(d),o.context===null?o.context=d:o.pendingContext=d,Wa&&hl!==null&&!hO&&(hO=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
252
|
+
|
|
253
|
+
Check the render method of %s.`,Se(hl)||"Unknown")),o=Ti(t),o.payload={element:l},p=p===void 0?null:p,p!==null&&(typeof p!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",p),o.callback=p),l=ei(e,o,t),l!==null&&(An(l,e,t),rr(l,e,t))}function Ih(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function lg(e,t){Ih(e,t),(e=e.alternate)&&Ih(e,t)}function ig(e){if(e.tag===13){var t=Za(e,67108864);t!==null&&An(t,e,67108864),lg(e,67108864)}}function Y1(){return hl}function V1(){for(var e=new Map,t=1,l=0;31>l;l++){var o=Iu(t);e.set(t,o),t*=2}return e}function G1(e,t,l,o){var d=le.T;le.T=null;var p=tt.p;try{tt.p=ha,Ar(e,t,l,o)}finally{tt.p=p,le.T=d}}function Jh(e,t,l,o){var d=le.T;le.T=null;var p=tt.p;try{tt.p=ci,Ar(e,t,l,o)}finally{tt.p=p,le.T=d}}function Ar(e,t,l,o){if(Tb){var d=Af(o);if(d===null)_a(e,t,o,Ab,l),xr(e,o);else if(xf(d,e,t,l,o))o.stopPropagation();else if(xr(e,o),t&4&&-1<ak.indexOf(e)){for(;d!==null;){var p=mn(d);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var S=pn(p.pendingLanes);if(S!==0){var x=p;for(x.pendingLanes|=2,x.entangledLanes|=2;S;){var N=1<<31-Ea(S);x.entanglements[1]|=N,S&=~N}Ul(p),(Gt&(gl|Lu))===si&&(ub=Xi()+X2,Eo(0))}}break;case 13:x=Za(p,2),x!==null&&An(x,p,2),bo(),lg(p,2)}if(p=Af(o),p===null&&_a(e,t,o,Ab,l),p===d)break;d=p}d!==null&&o.stopPropagation()}else _a(e,t,o,null,l)}}function Af(e){return e=Ir(e),Zc(e)}function Zc(e){if(Ab=null,e=Un(e),e!==null){var t=k(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=q(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ab=e,null}function $h(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":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 ha;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 ci;case"message":switch(wr()){case ep:return ha;case Nf:return ci;case Qc:case $1:return Mu;case kf:return lp;default:return Mu}default:return Mu}}function xr(e,t){switch(e){case"focusin":case"focusout":ss=null;break;case"dragenter":case"dragleave":fs=null;break;case"mouseover":case"mouseout":ds=null;break;case"pointerover":case"pointerout":iv.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":uv.delete(t.pointerId)}}function Ka(e,t,l,o,d,p){return e===null||e.nativeEvent!==p?(e={blockedOn:t,domEventName:l,eventSystemFlags:o,nativeEvent:p,targetContainers:[d]},t!==null&&(t=mn(t),t!==null&&ig(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,d!==null&&t.indexOf(d)===-1&&t.push(d),e)}function xf(e,t,l,o,d){switch(t){case"focusin":return ss=Ka(ss,e,t,l,o,d),!0;case"dragenter":return fs=Ka(fs,e,t,l,o,d),!0;case"mouseover":return ds=Ka(ds,e,t,l,o,d),!0;case"pointerover":var p=d.pointerId;return iv.set(p,Ka(iv.get(p)||null,e,t,l,o,d)),!0;case"gotpointercapture":return p=d.pointerId,uv.set(p,Ka(uv.get(p)||null,e,t,l,o,d)),!0}return!1}function w0(e){var t=Un(e.target);if(t!==null){var l=k(t);if(l!==null){if(t=l.tag,t===13){if(t=q(l),t!==null){e.blockedOn=t,La(e.priority,function(){if(l.tag===13){var o=Ia(l);o=xe(o);var d=Za(l,o);d!==null&&An(d,l,o),lg(l,o)}});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Of(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Af(e.nativeEvent);if(l===null){l=e.nativeEvent;var o=new l.constructor(l.type,l),d=o;m!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),m=d,l.target.dispatchEvent(o),m===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),m=null}else return t=mn(l),t!==null&&ig(t),e.blockedOn=l,!1;t.shift()}return!0}function ug(e,t,l){Of(e)&&l.delete(t)}function z0(){$S=!1,ss!==null&&Of(ss)&&(ss=null),fs!==null&&Of(fs)&&(fs=null),ds!==null&&Of(ds)&&(ds=null),iv.forEach(ug),uv.forEach(ug)}function Rf(e,t){e.blockedOn===t&&(e.blockedOn=null,$S||($S=!0,wn.unstable_scheduleCallback(wn.unstable_NormalPriority,z0)))}function _0(e){xb!==e&&(xb=e,wn.unstable_scheduleCallback(wn.unstable_NormalPriority,function(){xb===e&&(xb=null);for(var t=0;t<e.length;t+=3){var l=e[t],o=e[t+1],d=e[t+2];if(typeof o!="function"){if(Zc(o||l)===null)continue;break}var p=mn(l);p!==null&&(e.splice(t,3),t-=3,l={pending:!0,data:d,method:l.method,action:o},Object.freeze(l),ro(p,l,o,d))}}))}function zo(e){function t(N){return Rf(N,e)}ss!==null&&Rf(ss,e),fs!==null&&Rf(fs,e),ds!==null&&Rf(ds,e),iv.forEach(t),uv.forEach(t);for(var l=0;l<hs.length;l++){var o=hs[l];o.blockedOn===e&&(o.blockedOn=null)}for(;0<hs.length&&(l=hs[0],l.blockedOn===null);)w0(l),l.blockedOn===null&&hs.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(o=0;o<l.length;o+=3){var d=l[o],p=l[o+1],S=d[Fa]||null;if(typeof p=="function")S||_0(l);else if(S){var x=null;if(p&&p.hasAttribute("formAction")){if(d=p,S=p[Fa]||null)x=S.formAction;else if(Zc(d)!==null)continue}else x=S.action;typeof x=="function"?l[o+1]=x:(l.splice(o,3),o-=3),_0(l)}}}function Kh(e){this._internalRoot=e}function wf(e){this._internalRoot=e}function C0(e){e[Cr]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var wn=aE(),zf=rd(),X1=rE(),yt=Object.assign,_f=Symbol.for("react.element"),Or=Symbol.for("react.transitional.element"),_o=Symbol.for("react.portal"),ft=Symbol.for("react.fragment"),qc=Symbol.for("react.strict_mode"),Yc=Symbol.for("react.profiler"),rg=Symbol.for("react.provider"),Ph=Symbol.for("react.consumer"),Bl=Symbol.for("react.context"),zu=Symbol.for("react.forward_ref"),Vc=Symbol.for("react.suspense"),Rr=Symbol.for("react.suspense_list"),Cf=Symbol.for("react.memo"),dl=Symbol.for("react.lazy"),og=Symbol.for("react.activity"),D0=Symbol.for("react.memo_cache_sentinel"),cg=Symbol.iterator,Fh=Symbol.for("react.client.reference"),it=Array.isArray,le=zf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,tt=X1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q1=Object.freeze({pending:!1,data:null,method:null,action:null}),Df=[],Mf=[],Ll=-1,_u=He(null),Gc=He(null),Gi=He(null),Xc=He(null),Cu=Object.prototype.hasOwnProperty,Wh=wn.unstable_scheduleCallback,I1=wn.unstable_cancelCallback,M0=wn.unstable_shouldYield,J1=wn.unstable_requestPaint,Xi=wn.unstable_now,wr=wn.unstable_getCurrentPriorityLevel,ep=wn.unstable_ImmediatePriority,Nf=wn.unstable_UserBlockingPriority,Qc=wn.unstable_NormalPriority,$1=wn.unstable_LowPriority,kf=wn.unstable_IdlePriority,K1=wn.log,oi=wn.unstable_setDisableYieldValue,zr=null,da=null,Ue=null,Pa=!1,zn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ea=Math.clz32?Math.clz32:Qu,tp=Math.log,Du=Math.LN2,np=256,ap=4194304,ha=2,ci=8,Mu=32,lp=268435456,_r=Math.random().toString(36).slice(2),Ta="__reactFiber$"+_r,Fa="__reactProps$"+_r,Cr="__reactContainer$"+_r,sg="__reactEvents$"+_r,N0="__reactListeners$"+_r,Ic="__reactHandles$"+_r,Jc="__reactResources$"+_r,$c="__reactMarker$"+_r,k0=new Set,Zl={},Co={},U0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},ip=RegExp("^[: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][: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]*$"),up={},rp={},Dr=0,fg,dg,H0,hg,Kc,j0,B0;Jl.__reactDisabledLog=!0;var pg,Uf,Pc=!1,Hf=new(typeof WeakMap=="function"?WeakMap:Map),hl=null,Wa=!1,P1=/[\n"\\]/g,mg=!1,yg=!1,gg=!1,vg=!1,op=!1,bg=!1,jf=["value","defaultValue"],L0=!1,Z0=/["'&<>\n\t]|^\s|\s$/,Sg="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),cp="applet caption html table td th marquee object template foreignObject desc title".split(" "),sp=cp.concat(["button"]),Eg="dd dt li option optgroup p rp rt".split(" "),Tg={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Fc={},Qi={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Nu=/([A-Z])/g,ku=/^ms-/,Bf=/^(?:webkit|moz|o)[A-Z]/,Lf=/^-ms-/,Mr=/-(.)/g,q0=/;\s*$/,Do={},Mo={},Y0=!1,Ag=!1,Zf=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(" ")),qf="http://www.w3.org/1998/Math/MathML",Wc="http://www.w3.org/2000/svg",fp=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-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"]]),No={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},xg={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Ii={},Og=RegExp("^(aria)-[: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]*$"),dp=RegExp("^(aria)[A-Z][: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]*$"),Rg=!1,Ma={},Yf=/^on./,n=/^on[^A-Z]/,i=RegExp("^(aria)-[: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]*$"),r=RegExp("^(aria)[A-Z][: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]*$"),f=/^[\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,m=null,g=null,w=null,M=!1,j=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),P=!1;if(j)try{var me={};Object.defineProperty(me,"passive",{get:function(){P=!0}}),window.addEventListener("test",me,me),window.removeEventListener("test",me,me)}catch{P=!1}var ve=null,W=null,ne=null,Je={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$e=ua(Je),Ht=yt({},Je,{view:0,detail:0}),J=ua(Ht),X,K,ye,je=yt({},Ht,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ye&&(ye&&e.type==="mousemove"?(X=e.screenX-ye.screenX,K=e.screenY-ye.screenY):K=X=0,ye=e),X)},movementY:function(e){return"movementY"in e?e.movementY:K}}),St=ua(je),Qe=yt({},je,{dataTransfer:0}),Fe=ua(Qe),ea=yt({},Ht,{relatedTarget:0}),Mt=ua(ea),Nr=yt({},Je,{animationName:0,elapsedTime:0,pseudoElement:0}),F1=ua(Nr),eN=yt({},Je,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tN=ua(eN),nN=yt({},Je,{data:0}),Rx=ua(nN),aN=Rx,lN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iN={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"},uN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},rN=yt({},Ht,{key:function(e){if(e.key){var t=lN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=uc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?iN[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dd,charCode:function(e){return e.type==="keypress"?uc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?uc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),oN=ua(rN),cN=yt({},je,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wx=ua(cN),sN=yt({},Ht,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dd}),fN=ua(sN),dN=yt({},Je,{propertyName:0,elapsedTime:0,pseudoElement:0}),hN=ua(dN),pN=yt({},je,{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}),mN=ua(pN),yN=yt({},Je,{newState:0,oldState:0}),gN=ua(yN),vN=[9,13,27,32],zx=229,W1=j&&"CompositionEvent"in window,wg=null;j&&"documentMode"in document&&(wg=document.documentMode);var bN=j&&"TextEvent"in window&&!wg,_x=j&&(!W1||wg&&8<wg&&11>=wg),Cx=32,Dx=String.fromCharCode(Cx),Mx=!1,hp=!1,SN={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},zg=null,_g=null,Nx=!1;j&&(Nx=wm("input")&&(!document.documentMode||9<document.documentMode));var pl=typeof Object.is=="function"?Object.is:B1,EN=j&&"documentMode"in document&&11>=document.documentMode,pp=null,eS=null,Cg=null,tS=!1,mp={animationend:du("Animation","AnimationEnd"),animationiteration:du("Animation","AnimationIteration"),animationstart:du("Animation","AnimationStart"),transitionrun:du("Transition","TransitionRun"),transitionstart:du("Transition","TransitionStart"),transitioncancel:du("Transition","TransitionCancel"),transitionend:du("Transition","TransitionEnd")},nS={},kx={};j&&(kx=document.createElement("div").style,"AnimationEvent"in window||(delete mp.animationend.animation,delete mp.animationiteration.animation,delete mp.animationstart.animation),"TransitionEvent"in window||delete mp.transitionend.transition);var Ux=Kr("animationend"),Hx=Kr("animationiteration"),jx=Kr("animationstart"),TN=Kr("transitionrun"),AN=Kr("transitionstart"),xN=Kr("transitioncancel"),Bx=Kr("transitionend"),Lx=new Map,aS="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(" ");aS.push("scrollEnd");var lS=new WeakMap,V0=1,ko=2,Ji=[],yp=0,iS=0,es={};Object.freeze(es);var $i=null,gp=null,sn=0,ON=1,Na=2,el=8,Uu=16,Zx=64,qx=!1;try{var Yx=Object.preventExtensions({})}catch{qx=!0}var vp=[],bp=0,G0=null,X0=0,Ki=[],Pi=0,Vf=null,Uo=1,Ho="",ml=null,Bn=null,jt=!1,jo=!1,Fi=null,Gf=null,kr=!1,uS=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Vx=0;if(typeof performance=="object"&&typeof performance.now=="function")var RN=performance,Gx=function(){return RN.now()};else{var wN=Date;Gx=function(){return wN.now()}}var rS=He(null),oS=He(null),Xx={},Q0=null,Sp=null,Ep=!1,zN=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},_N=wn.unstable_scheduleCallback,CN=wn.unstable_NormalPriority,pa={$$typeof:Bl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Tp=wn.unstable_now,Qx=-0,I0=-0,ql=-1.1,Xf=-0,J0=!1,$0=!1,Dg=null,cS=0,Qf=0,Ap=null,Ix=le.S;le.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Wv(e,t),Ix!==null&&Ix(e,t)};var If=He(null),Hu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Mg=[],Ng=[],kg=[],Ug=[],Hg=[],jg=[],Jf=new Set;Hu.recordUnsafeLifecycleWarnings=function(e,t){Jf.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Mg.push(e),e.mode&el&&typeof t.UNSAFE_componentWillMount=="function"&&Ng.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&kg.push(e),e.mode&el&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Ug.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Hg.push(e),e.mode&el&&typeof t.UNSAFE_componentWillUpdate=="function"&&jg.push(e))},Hu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Mg.length&&(Mg.forEach(function(x){e.add(Se(x)||"Component"),Jf.add(x.type)}),Mg=[]);var t=new Set;0<Ng.length&&(Ng.forEach(function(x){t.add(Se(x)||"Component"),Jf.add(x.type)}),Ng=[]);var l=new Set;0<kg.length&&(kg.forEach(function(x){l.add(Se(x)||"Component"),Jf.add(x.type)}),kg=[]);var o=new Set;0<Ug.length&&(Ug.forEach(function(x){o.add(Se(x)||"Component"),Jf.add(x.type)}),Ug=[]);var d=new Set;0<Hg.length&&(Hg.forEach(function(x){d.add(Se(x)||"Component"),Jf.add(x.type)}),Hg=[]);var p=new Set;if(0<jg.length&&(jg.forEach(function(x){p.add(Se(x)||"Component"),Jf.add(x.type)}),jg=[]),0<t.size){var S=R(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
254
|
+
|
|
255
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
256
|
+
|
|
257
|
+
Please update the following components: %s`,S)}0<o.size&&(S=R(o),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
258
|
+
|
|
259
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
260
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
261
|
+
|
|
262
|
+
Please update the following components: %s`,S)),0<p.size&&(S=R(p),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
263
|
+
|
|
264
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
265
|
+
|
|
266
|
+
Please update the following components: %s`,S)),0<e.size&&(S=R(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
267
|
+
|
|
268
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
269
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
270
|
+
|
|
271
|
+
Please update the following components: %s`,S)),0<l.size&&(S=R(l),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
272
|
+
|
|
273
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
274
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
275
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
276
|
+
|
|
277
|
+
Please update the following components: %s`,S)),0<d.size&&(S=R(d),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
278
|
+
|
|
279
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
280
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
281
|
+
|
|
282
|
+
Please update the following components: %s`,S))};var K0=new Map,Jx=new Set;Hu.recordLegacyContextWarning=function(e,t){for(var l=null,o=e;o!==null;)o.mode&el&&(l=o),o=o.return;l===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!Jx.has(e.type)&&(o=K0.get(l),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],K0.set(l,o)),o.push(e))},Hu.flushLegacyContextWarning=function(){K0.forEach(function(e){if(e.length!==0){var t=e[0],l=new Set;e.forEach(function(d){l.add(Se(d)||"Component"),Jx.add(d.type)});var o=R(l);Be(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
283
|
+
|
|
284
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
285
|
+
|
|
286
|
+
Please update the following components: %s
|
|
287
|
+
|
|
288
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Hu.discardPendingWarnings=function(){Mg=[],Ng=[],kg=[],Ug=[],Hg=[],jg=[],K0=new Map};var Bg=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),$x=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),P0=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),sS={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Lg=null,F0=!1,Wi=0,eu=1,yl=2,ka=4,ma=8,Kx=0,Px=1,Fx=2,fS=3,ts=!1,Wx=!1,dS=null,hS=!1,xp=He(null),W0=He(0),Op,e2=new Set,t2=new Set,pS=new Set,n2=new Set,ns=0,ut=null,Ft=null,ta=null,eb=!1,Rp=!1,$f=!1,tb=0,Zg=0,Bo=null,DN=0,MN=25,re=null,tu=null,Lo=-1,qg=!1,nb={readContext:tn,use:xi,useCallback:yn,useContext:yn,useEffect:yn,useImperativeHandle:yn,useLayoutEffect:yn,useInsertionEffect:yn,useMemo:yn,useReducer:yn,useRef:yn,useState:yn,useDebugValue:yn,useDeferredValue:yn,useTransition:yn,useSyncExternalStore:yn,useId:yn,useHostTransitionStatus:yn,useFormState:yn,useActionState:yn,useOptimistic:yn,useMemoCache:yn,useCacheRefresh:yn},mS=null,a2=null,yS=null,l2=null,Ur=null,ju=null,ab=null;mS={readContext:function(e){return tn(e)},use:xi,useCallback:function(e,t){return re="useCallback",bt(),zl(t),Js(e,t)},useContext:function(e){return re="useContext",bt(),tn(e)},useEffect:function(e,t){return re="useEffect",bt(),zl(t),Xd(e,t)},useImperativeHandle:function(e,t,l){return re="useImperativeHandle",bt(),zl(l),Id(e,t,l)},useInsertionEffect:function(e,t){re="useInsertionEffect",bt(),zl(t),Ml(4,yl,e,t)},useLayoutEffect:function(e,t){return re="useLayoutEffect",bt(),zl(t),Qd(e,t)},useMemo:function(e,t){re="useMemo",bt(),zl(t);var l=le.H;le.H=Ur;try{return Jd(e,t)}finally{le.H=l}},useReducer:function(e,t,l){re="useReducer",bt();var o=le.H;le.H=Ur;try{return Nt(e,t,l)}finally{le.H=o}},useRef:function(e){return re="useRef",bt(),Is(e)},useState:function(e){re="useState",bt();var t=le.H;le.H=Ur;try{return gu(e)}finally{le.H=t}},useDebugValue:function(){re="useDebugValue",bt()},useDeferredValue:function(e,t){return re="useDeferredValue",bt(),$d(e,t)},useTransition:function(){return re="useTransition",bt(),zi()},useSyncExternalStore:function(e,t,l){return re="useSyncExternalStore",bt(),yu(e,t,l)},useId:function(){return re="useId",bt(),_i()},useFormState:function(e,t){return re="useFormState",bt(),dc(),vc(e,t)},useActionState:function(e,t){return re="useActionState",bt(),vc(e,t)},useOptimistic:function(e){return re="useOptimistic",bt(),ai(e)},useHostTransitionStatus:Ga,useMemoCache:kn,useCacheRefresh:function(){return re="useCacheRefresh",bt(),oo()}},a2={readContext:function(e){return tn(e)},use:xi,useCallback:function(e,t){return re="useCallback",Ae(),Js(e,t)},useContext:function(e){return re="useContext",Ae(),tn(e)},useEffect:function(e,t){return re="useEffect",Ae(),Xd(e,t)},useImperativeHandle:function(e,t,l){return re="useImperativeHandle",Ae(),Id(e,t,l)},useInsertionEffect:function(e,t){re="useInsertionEffect",Ae(),Ml(4,yl,e,t)},useLayoutEffect:function(e,t){return re="useLayoutEffect",Ae(),Qd(e,t)},useMemo:function(e,t){re="useMemo",Ae();var l=le.H;le.H=Ur;try{return Jd(e,t)}finally{le.H=l}},useReducer:function(e,t,l){re="useReducer",Ae();var o=le.H;le.H=Ur;try{return Nt(e,t,l)}finally{le.H=o}},useRef:function(e){return re="useRef",Ae(),Is(e)},useState:function(e){re="useState",Ae();var t=le.H;le.H=Ur;try{return gu(e)}finally{le.H=t}},useDebugValue:function(){re="useDebugValue",Ae()},useDeferredValue:function(e,t){return re="useDeferredValue",Ae(),$d(e,t)},useTransition:function(){return re="useTransition",Ae(),zi()},useSyncExternalStore:function(e,t,l){return re="useSyncExternalStore",Ae(),yu(e,t,l)},useId:function(){return re="useId",Ae(),_i()},useActionState:function(e,t){return re="useActionState",Ae(),vc(e,t)},useFormState:function(e,t){return re="useFormState",Ae(),dc(),vc(e,t)},useOptimistic:function(e){return re="useOptimistic",Ae(),ai(e)},useHostTransitionStatus:Ga,useMemoCache:kn,useCacheRefresh:function(){return re="useCacheRefresh",Ae(),oo()}},yS={readContext:function(e){return tn(e)},use:xi,useCallback:function(e,t){return re="useCallback",Ae(),uo(e,t)},useContext:function(e){return re="useContext",Ae(),tn(e)},useEffect:function(e,t){re="useEffect",Ae(),Vn(2048,ma,e,t)},useImperativeHandle:function(e,t,l){return re="useImperativeHandle",Ae(),wi(e,t,l)},useInsertionEffect:function(e,t){return re="useInsertionEffect",Ae(),Vn(4,yl,e,t)},useLayoutEffect:function(e,t){return re="useLayoutEffect",Ae(),Vn(4,ka,e,t)},useMemo:function(e,t){re="useMemo",Ae();var l=le.H;le.H=ju;try{return dr(e,t)}finally{le.H=l}},useReducer:function(e,t,l){re="useReducer",Ae();var o=le.H;le.H=ju;try{return Cl(e,t,l)}finally{le.H=o}},useRef:function(){return re="useRef",Ae(),_t().memoizedState},useState:function(){re="useState",Ae();var e=le.H;le.H=ju;try{return Cl(kt)}finally{le.H=e}},useDebugValue:function(){re="useDebugValue",Ae()},useDeferredValue:function(e,t){return re="useDeferredValue",Ae(),$s(e,t)},useTransition:function(){return re="useTransition",Ae(),Fd()},useSyncExternalStore:function(e,t,l){return re="useSyncExternalStore",Ae(),Vs(e,t,l)},useId:function(){return re="useId",Ae(),_t().memoizedState},useFormState:function(e){return re="useFormState",Ae(),dc(),Gd(e)},useActionState:function(e){return re="useActionState",Ae(),Gd(e)},useOptimistic:function(e,t){return re="useOptimistic",Ae(),vu(e,t)},useHostTransitionStatus:Ga,useMemoCache:kn,useCacheRefresh:function(){return re="useCacheRefresh",Ae(),_t().memoizedState}},l2={readContext:function(e){return tn(e)},use:xi,useCallback:function(e,t){return re="useCallback",Ae(),uo(e,t)},useContext:function(e){return re="useContext",Ae(),tn(e)},useEffect:function(e,t){re="useEffect",Ae(),Vn(2048,ma,e,t)},useImperativeHandle:function(e,t,l){return re="useImperativeHandle",Ae(),wi(e,t,l)},useInsertionEffect:function(e,t){return re="useInsertionEffect",Ae(),Vn(4,yl,e,t)},useLayoutEffect:function(e,t){return re="useLayoutEffect",Ae(),Vn(4,ka,e,t)},useMemo:function(e,t){re="useMemo",Ae();var l=le.H;le.H=ab;try{return dr(e,t)}finally{le.H=l}},useReducer:function(e,t,l){re="useReducer",Ae();var o=le.H;le.H=ab;try{return io(e,t,l)}finally{le.H=o}},useRef:function(){return re="useRef",Ae(),_t().memoizedState},useState:function(){re="useState",Ae();var e=le.H;le.H=ab;try{return io(kt)}finally{le.H=e}},useDebugValue:function(){re="useDebugValue",Ae()},useDeferredValue:function(e,t){return re="useDeferredValue",Ae(),Kd(e,t)},useTransition:function(){return re="useTransition",Ae(),Wd()},useSyncExternalStore:function(e,t,l){return re="useSyncExternalStore",Ae(),Vs(e,t,l)},useId:function(){return re="useId",Ae(),_t().memoizedState},useFormState:function(e){return re="useFormState",Ae(),dc(),bc(e)},useActionState:function(e){return re="useActionState",Ae(),bc(e)},useOptimistic:function(e,t){return re="useOptimistic",Ae(),Vd(e,t)},useHostTransitionStatus:Ga,useMemoCache:kn,useCacheRefresh:function(){return re="useCacheRefresh",Ae(),_t().memoizedState}},Ur={readContext:function(e){return E(),tn(e)},use:function(e){return T(),xi(e)},useCallback:function(e,t){return re="useCallback",T(),bt(),Js(e,t)},useContext:function(e){return re="useContext",T(),bt(),tn(e)},useEffect:function(e,t){return re="useEffect",T(),bt(),Xd(e,t)},useImperativeHandle:function(e,t,l){return re="useImperativeHandle",T(),bt(),Id(e,t,l)},useInsertionEffect:function(e,t){re="useInsertionEffect",T(),bt(),Ml(4,yl,e,t)},useLayoutEffect:function(e,t){return re="useLayoutEffect",T(),bt(),Qd(e,t)},useMemo:function(e,t){re="useMemo",T(),bt();var l=le.H;le.H=Ur;try{return Jd(e,t)}finally{le.H=l}},useReducer:function(e,t,l){re="useReducer",T(),bt();var o=le.H;le.H=Ur;try{return Nt(e,t,l)}finally{le.H=o}},useRef:function(e){return re="useRef",T(),bt(),Is(e)},useState:function(e){re="useState",T(),bt();var t=le.H;le.H=Ur;try{return gu(e)}finally{le.H=t}},useDebugValue:function(){re="useDebugValue",T(),bt()},useDeferredValue:function(e,t){return re="useDeferredValue",T(),bt(),$d(e,t)},useTransition:function(){return re="useTransition",T(),bt(),zi()},useSyncExternalStore:function(e,t,l){return re="useSyncExternalStore",T(),bt(),yu(e,t,l)},useId:function(){return re="useId",T(),bt(),_i()},useFormState:function(e,t){return re="useFormState",T(),bt(),vc(e,t)},useActionState:function(e,t){return re="useActionState",T(),bt(),vc(e,t)},useOptimistic:function(e){return re="useOptimistic",T(),bt(),ai(e)},useMemoCache:function(e){return T(),kn(e)},useHostTransitionStatus:Ga,useCacheRefresh:function(){return re="useCacheRefresh",bt(),oo()}},ju={readContext:function(e){return E(),tn(e)},use:function(e){return T(),xi(e)},useCallback:function(e,t){return re="useCallback",T(),Ae(),uo(e,t)},useContext:function(e){return re="useContext",T(),Ae(),tn(e)},useEffect:function(e,t){re="useEffect",T(),Ae(),Vn(2048,ma,e,t)},useImperativeHandle:function(e,t,l){return re="useImperativeHandle",T(),Ae(),wi(e,t,l)},useInsertionEffect:function(e,t){return re="useInsertionEffect",T(),Ae(),Vn(4,yl,e,t)},useLayoutEffect:function(e,t){return re="useLayoutEffect",T(),Ae(),Vn(4,ka,e,t)},useMemo:function(e,t){re="useMemo",T(),Ae();var l=le.H;le.H=ju;try{return dr(e,t)}finally{le.H=l}},useReducer:function(e,t,l){re="useReducer",T(),Ae();var o=le.H;le.H=ju;try{return Cl(e,t,l)}finally{le.H=o}},useRef:function(){return re="useRef",T(),Ae(),_t().memoizedState},useState:function(){re="useState",T(),Ae();var e=le.H;le.H=ju;try{return Cl(kt)}finally{le.H=e}},useDebugValue:function(){re="useDebugValue",T(),Ae()},useDeferredValue:function(e,t){return re="useDeferredValue",T(),Ae(),$s(e,t)},useTransition:function(){return re="useTransition",T(),Ae(),Fd()},useSyncExternalStore:function(e,t,l){return re="useSyncExternalStore",T(),Ae(),Vs(e,t,l)},useId:function(){return re="useId",T(),Ae(),_t().memoizedState},useFormState:function(e){return re="useFormState",T(),Ae(),Gd(e)},useActionState:function(e){return re="useActionState",T(),Ae(),Gd(e)},useOptimistic:function(e,t){return re="useOptimistic",T(),Ae(),vu(e,t)},useMemoCache:function(e){return T(),kn(e)},useHostTransitionStatus:Ga,useCacheRefresh:function(){return re="useCacheRefresh",Ae(),_t().memoizedState}},ab={readContext:function(e){return E(),tn(e)},use:function(e){return T(),xi(e)},useCallback:function(e,t){return re="useCallback",T(),Ae(),uo(e,t)},useContext:function(e){return re="useContext",T(),Ae(),tn(e)},useEffect:function(e,t){re="useEffect",T(),Ae(),Vn(2048,ma,e,t)},useImperativeHandle:function(e,t,l){return re="useImperativeHandle",T(),Ae(),wi(e,t,l)},useInsertionEffect:function(e,t){return re="useInsertionEffect",T(),Ae(),Vn(4,yl,e,t)},useLayoutEffect:function(e,t){return re="useLayoutEffect",T(),Ae(),Vn(4,ka,e,t)},useMemo:function(e,t){re="useMemo",T(),Ae();var l=le.H;le.H=ju;try{return dr(e,t)}finally{le.H=l}},useReducer:function(e,t,l){re="useReducer",T(),Ae();var o=le.H;le.H=ju;try{return io(e,t,l)}finally{le.H=o}},useRef:function(){return re="useRef",T(),Ae(),_t().memoizedState},useState:function(){re="useState",T(),Ae();var e=le.H;le.H=ju;try{return io(kt)}finally{le.H=e}},useDebugValue:function(){re="useDebugValue",T(),Ae()},useDeferredValue:function(e,t){return re="useDeferredValue",T(),Ae(),Kd(e,t)},useTransition:function(){return re="useTransition",T(),Ae(),Wd()},useSyncExternalStore:function(e,t,l){return re="useSyncExternalStore",T(),Ae(),Vs(e,t,l)},useId:function(){return re="useId",T(),Ae(),_t().memoizedState},useFormState:function(e){return re="useFormState",T(),Ae(),bc(e)},useActionState:function(e){return re="useActionState",T(),Ae(),bc(e)},useOptimistic:function(e,t){return re="useOptimistic",T(),Ae(),Vd(e,t)},useMemoCache:function(e){return T(),kn(e)},useHostTransitionStatus:Ga,useCacheRefresh:function(){return re="useCacheRefresh",Ae(),_t().memoizedState}};var i2={"react-stack-bottom-frame":function(e,t,l){var o=Wa;Wa=!0;try{return e(t,l)}finally{Wa=o}}},gS=i2["react-stack-bottom-frame"].bind(i2),u2={"react-stack-bottom-frame":function(e){var t=Wa;Wa=!0;try{return e.render()}finally{Wa=t}}},r2=u2["react-stack-bottom-frame"].bind(u2),o2={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(l){Pe(e,e.return,l)}}},vS=o2["react-stack-bottom-frame"].bind(o2),c2={"react-stack-bottom-frame":function(e,t,l,o,d){try{t.componentDidUpdate(l,o,d)}catch(p){Pe(e,e.return,p)}}},s2=c2["react-stack-bottom-frame"].bind(c2),f2={"react-stack-bottom-frame":function(e,t){var l=t.stack;e.componentDidCatch(t.value,{componentStack:l!==null?l:""})}},NN=f2["react-stack-bottom-frame"].bind(f2),d2={"react-stack-bottom-frame":function(e,t,l){try{l.componentWillUnmount()}catch(o){Pe(e,t,o)}}},h2=d2["react-stack-bottom-frame"].bind(d2),p2={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},kN=p2["react-stack-bottom-frame"].bind(p2),m2={"react-stack-bottom-frame":function(e,t,l){try{l()}catch(o){Pe(e,t,o)}}},UN=m2["react-stack-bottom-frame"].bind(m2),y2={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},as=y2["react-stack-bottom-frame"].bind(y2),wp=null,Yg=0,Et=null,bS,g2=bS=!1,v2={},b2={},S2={};b=function(e,t,l){if(l!==null&&typeof l=="object"&&l._store&&(!l._store.validated&&l.key==null||l._store.validated===2)){if(typeof l._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");l._store.validated=1;var o=Se(e),d=o||"null";if(!v2[d]){v2[d]=!0,l=l._owner,e=e._debugOwner;var p="";e&&typeof e.tag=="number"&&(d=Se(e))&&(p=`
|
|
289
|
+
|
|
290
|
+
Check the render method of \``+d+"`."),p||o&&(p=`
|
|
291
|
+
|
|
292
|
+
Check the top-level render call using <`+o+">.");var S="";l!=null&&e!==l&&(o=null,typeof l.tag=="number"?o=Se(l):typeof l.name=="string"&&(o=l.name),o&&(S=" It was passed a child from "+o+".")),Be(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',p,S)})}}};var zp=Ws(!0),E2=Ws(!1),nu=He(null),Hr=null,_p=1,Vg=2,ya=He(0),T2={},A2=new Set,x2=new Set,O2=new Set,R2=new Set,w2=new Set,z2=new Set,_2=new Set,C2=new Set,D2=new Set,M2=new Set;Object.freeze(T2);var SS={enqueueSetState:function(e,t,l){e=e._reactInternals;var o=Ia(e),d=Ti(o);d.payload=t,l!=null&&(iy(l),d.callback=l),t=ei(e,d,o),t!==null&&(An(t,e,o),rr(t,e,o)),Al(e,o)},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var o=Ia(e),d=Ti(o);d.tag=Px,d.payload=t,l!=null&&(iy(l),d.callback=l),t=ei(e,d,o),t!==null&&(An(t,e,o),rr(t,e,o)),Al(e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Ia(e),o=Ti(l);o.tag=Fx,t!=null&&(iy(t),o.callback=t),t=ei(e,o,l),t!==null&&(An(t,e,l),rr(t,e,l)),Ue!==null&&typeof Ue.markForceUpdateScheduled=="function"&&Ue.markForceUpdateScheduled(e,l)}},ES=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Cp=null,TS=null,N2=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Aa=!1,k2={},U2={},H2={},j2={},Dp=!1,B2={},AS={},xS={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},L2=!1,Z2=null;Z2=new Set;var Zo=!1,Qn=!1,OS=!1,q2=typeof WeakSet=="function"?WeakSet:Set,xa=null,Mp=null,Np=null,na=null,Yl=!1,Bu=null,Gg=8192,HN={getCacheForType:function(e){var t=tn(pa),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},getOwner:function(){return hl}};if(typeof Symbol=="function"&&Symbol.for){var Xg=Symbol.for;Xg("selector.component"),Xg("selector.has_pseudo_class"),Xg("selector.role"),Xg("selector.test_id"),Xg("selector.text")}var jN=[],BN=typeof WeakMap=="function"?WeakMap:Map,si=0,gl=2,Lu=4,qo=0,Qg=1,kp=2,RS=3,Kf=4,lb=6,Y2=5,Gt=si,nn=null,Ot=null,Rt=0,Vl=0,Ig=1,Pf=2,Jg=3,V2=4,wS=5,Up=6,$g=7,zS=8,Ff=9,$t=Vl,fi=null,ls=!1,Hp=!1,_S=!1,jr=0,Ln=qo,is=0,us=0,CS=0,di=0,Wf=0,Kg=null,vl=null,ib=!1,DS=0,G2=300,ub=1/0,X2=500,Pg=null,rs=null,LN=0,ZN=1,qN=2,ed=0,Q2=1,I2=2,J2=3,YN=4,MS=5,Ua=0,os=null,jp=null,cs=0,NS=0,kS=null,$2=null,VN=50,Fg=0,US=null,HS=!1,rb=!1,GN=50,td=0,Wg=null,Bp=!1,ob=null,K2=!1,P2=new Set,XN={},cb=null,Lp=null,jS=!1,BS=!1,sb=!1,LS=!1,nd=0,ZS={};(function(){for(var e=0;e<aS.length;e++){var t=aS[e],l=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),$l(l,"on"+t)}$l(Ux,"onAnimationEnd"),$l(Hx,"onAnimationIteration"),$l(jx,"onAnimationStart"),$l("dblclick","onDoubleClick"),$l("focusin","onFocus"),$l("focusout","onBlur"),$l(TN,"onTransitionRun"),$l(AN,"onTransitionStart"),$l(xN,"onTransitionCancel"),$l(Bx,"onTransitionEnd")})(),De("onMouseEnter",["mouseout","mouseover"]),De("onMouseLeave",["mouseout","mouseover"]),De("onPointerEnter",["pointerout","pointerover"]),De("onPointerLeave",["pointerout","pointerover"]),we("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),we("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),we("onBeforeInput",["compositionend","keypress","textInput","paste"]),we("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),we("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),we("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ev="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(" "),qS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ev)),fb="_reactListening"+Math.random().toString(36).slice(2),F2=!1,W2=!1,db=!1,eO=!1,hb=!1,pb=!1,tO=!1,mb={},QN=/\r\n?/g,IN=/\u0000|\uFFFD/g,ad="http://www.w3.org/1999/xlink",YS="http://www.w3.org/XML/1998/namespace",JN="javascript:throw new Error('React form unexpectedly submitted.')",$N="suppressHydrationWarning",yb="$",gb="/$",Yo="$?",tv="$!",KN=1,PN=2,FN=4,VS="F!",nO="F",aO="complete",WN="style",Vo=0,Zp=1,vb=2,GS=null,XS=null,lO={dialog:!0,webview:!0},QS=null,iO=typeof setTimeout=="function"?setTimeout:void 0,ek=typeof clearTimeout=="function"?clearTimeout:void 0,ld=-1,uO=typeof Promise=="function"?Promise:void 0,tk=typeof queueMicrotask=="function"?queueMicrotask:typeof uO<"u"?function(e){return uO.resolve(null).then(e).catch(Xy)}:iO,IS=null,id=0,nv=1,rO=2,oO=3,au=4,lu=new Map,cO=new Set,Go=tt.d;tt.d={f:function(){var e=Go.f(),t=bo();return e||t},r:function(e){var t=mn(e);t!==null&&t.tag===5&&t.type==="form"?ny(t):Go.r(e)},D:function(e){Go.D(e),E0("dns-prefetch",e,null)},C:function(e,t){Go.C(e,t),E0("preconnect",e,t)},L:function(e,t,l){Go.L(e,t,l);var o=qp;if(o&&e&&t){var d='link[rel="preload"][as="'+ll(t)+'"]';t==="image"&&l&&l.imageSrcSet?(d+='[imagesrcset="'+ll(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(d+='[imagesizes="'+ll(l.imageSizes)+'"]')):d+='[href="'+ll(e)+'"]';var p=d;switch(t){case"style":p=Tr(e);break;case"script":p=Ro(e)}lu.has(p)||(e=yt({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),lu.set(p,e),o.querySelector(d)!==null||t==="style"&&o.querySelector(Vi(p))||t==="script"&&o.querySelector(wo(p))||(t=o.createElement("link"),On(t,"link",e),I(t),o.head.appendChild(t)))}},m:function(e,t){Go.m(e,t);var l=qp;if(l&&e){var o=t&&typeof t.as=="string"?t.as:"script",d='link[rel="modulepreload"][as="'+ll(o)+'"][href="'+ll(e)+'"]',p=d;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Ro(e)}if(!lu.has(p)&&(e=yt({rel:"modulepreload",href:e},t),lu.set(p,e),l.querySelector(d)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(wo(p)))return}o=l.createElement("link"),On(o,"link",e),I(o),l.head.appendChild(o)}}},X:function(e,t){Go.X(e,t);var l=qp;if(l&&e){var o=C(l).hoistableScripts,d=Ro(e),p=o.get(d);p||(p=l.querySelector(wo(d)),p||(e=yt({src:e,async:!0},t),(t=lu.get(d))&&Wy(e,t),p=l.createElement("script"),I(p),On(p,"link",e),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(d,p))}},S:function(e,t,l){Go.S(e,t,l);var o=qp;if(o&&e){var d=C(o).hoistableStyles,p=Tr(e);t=t||"default";var S=d.get(p);if(!S){var x={loading:id,preload:null};if(S=o.querySelector(Vi(p)))x.loading=nv|au;else{e=yt({rel:"stylesheet",href:e,"data-precedence":t},l),(l=lu.get(p))&&Fy(e,l);var N=S=o.createElement("link");I(N),On(N,"link",e),N._p=new Promise(function(H,ee){N.onload=H,N.onerror=ee}),N.addEventListener("load",function(){x.loading|=nv}),N.addEventListener("error",function(){x.loading|=rO}),x.loading|=au,Gh(S,t,o)}S={type:"stylesheet",instance:S,count:1,state:x},d.set(p,S)}}},M:function(e,t){Go.M(e,t);var l=qp;if(l&&e){var o=C(l).hoistableScripts,d=Ro(e),p=o.get(d);p||(p=l.querySelector(wo(d)),p||(e=yt({src:e,async:!0,type:"module"},t),(t=lu.get(d))&&Wy(e,t),p=l.createElement("script"),I(p),On(p,"link",e),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(d,p))}}};var qp=typeof document>"u"?null:document,bb=null,av=null,JS=null,Sb=null,ud=Q1,lv={$$typeof:Bl,Provider:null,Consumer:null,_currentValue:ud,_currentValue2:ud,_threadCount:0},sO="%c%s%c ",fO="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",dO="",Eb=" ",nk=Function.prototype.bind,hO=!1,pO=null,mO=null,yO=null,gO=null,vO=null,bO=null,SO=null,EO=null,TO=null;pO=function(e,t,l,o){t=a(e,t),t!==null&&(l=u(t.memoizedState,l,0,o),t.memoizedState=l,t.baseState=l,e.memoizedProps=yt({},e.memoizedProps),l=Za(e,2),l!==null&&An(l,e,2))},mO=function(e,t,l){t=a(e,t),t!==null&&(l=h(t.memoizedState,l,0),t.memoizedState=l,t.baseState=l,e.memoizedProps=yt({},e.memoizedProps),l=Za(e,2),l!==null&&An(l,e,2))},yO=function(e,t,l,o){t=a(e,t),t!==null&&(l=c(t.memoizedState,l,o),t.memoizedState=l,t.baseState=l,e.memoizedProps=yt({},e.memoizedProps),l=Za(e,2),l!==null&&An(l,e,2))},gO=function(e,t,l){e.pendingProps=u(e.memoizedProps,t,0,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Za(e,2),t!==null&&An(t,e,2)},vO=function(e,t){e.pendingProps=h(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Za(e,2),t!==null&&An(t,e,2)},bO=function(e,t,l){e.pendingProps=c(e.memoizedProps,t,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Za(e,2),t!==null&&An(t,e,2)},SO=function(e){var t=Za(e,2);t!==null&&An(t,e,2)},EO=function(e){v=e},TO=function(e){y=e};var Tb=!0,Ab=null,$S=!1,ss=null,fs=null,ds=null,iv=new Map,uv=new Map,hs=[],ak="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(" "),xb=null;if(wf.prototype.render=Kh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var l=arguments;typeof l[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):G(l[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof l[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),l=e;var o=t.current,d=Ia(o);Vt(o,d,l,t,null,null)},wf.prototype.unmount=Kh.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Gt&(gl|Lu))!==si&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Vt(e.current,2,null,e,null,null),bo(),t[Cr]=null}},wf.prototype.unstable_scheduleHydration=function(e){if(e){var t=la();e={blockedOn:null,target:e,priority:t};for(var l=0;l<hs.length&&t!==0&&t<hs[l].priority;l++);hs.splice(l,0,e),l===0&&w0(e)}},(function(){var e=zf.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
293
|
+
- react: `+(e+`
|
|
294
|
+
- react-dom: 19.1.0
|
|
295
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),tt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=ue(t),e=e!==null?te(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:le,reconcilerVersion:"19.1.0"};return e.overrideHookState=pO,e.overrideHookStateDeletePath=mO,e.overrideHookStateRenamePath=yO,e.overrideProps=gO,e.overridePropsDeletePath=vO,e.overridePropsRenamePath=bO,e.scheduleUpdate=SO,e.setErrorHandler=EO,e.setSuspenseHandler=TO,e.scheduleRefresh=Y,e.scheduleRoot=_,e.setRefreshHandler=ae,e.getCurrentFiber=Y1,e.getLaneLabelMap=V1,e.injectProfilingHooks=Qt,Ye(e)})()&&j&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var AO=window.location.protocol;/^(https?|file):$/.test(AO)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(AO==="file:"?`
|
|
296
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Gp.createRoot=function(e,t){if(!G(e))throw Error("Target container is not a DOM element.");C0(e);var l=!1,o="",d=uy,p=i0,S=ah,x=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Or&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
297
|
+
|
|
298
|
+
let root = createRoot(domContainer);
|
|
299
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(d=t.onUncaughtError),t.onCaughtError!==void 0&&(p=t.onCaughtError),t.onRecoverableError!==void 0&&(S=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(x=t.unstable_transitionCallbacks)),t=ng(e,1,!1,null,null,l,o,d,p,S,x,null),e[Cr]=t.current,By(e),new Kh(t)},Gp.hydrateRoot=function(e,t,l){if(!G(e))throw Error("Target container is not a DOM element.");C0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,d="",p=uy,S=i0,x=ah,N=null,H=null;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(S=l.onCaughtError),l.onRecoverableError!==void 0&&(x=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(N=l.unstable_transitionCallbacks),l.formState!==void 0&&(H=l.formState)),t=ng(e,1,!0,t,l??null,o,d,p,S,x,N,H),t.context=ag(null),l=t.current,o=Ia(l),o=xe(o),d=Ti(o),d.callback=null,ei(l,d,o),l=o,t.current.lanes=l,Il(t,l),Ul(t),e[Cr]=t.current,By(e),new wf(t)},Gp.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Gp}var sE;function NO(){if(sE)return ov.exports;sE=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(u){console.error(u)}}}return process.env.NODE_ENV==="production"?(a(),ov.exports=DO()):ov.exports=MO(),ov.exports}var kO=NO(),fv={exports:{}},Xp={};/**
|
|
300
|
+
* @license React
|
|
301
|
+
* react-jsx-runtime.production.js
|
|
302
|
+
*
|
|
303
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
304
|
+
*
|
|
305
|
+
* This source code is licensed under the MIT license found in the
|
|
306
|
+
* LICENSE file in the root directory of this source tree.
|
|
307
|
+
*/var fE;function UO(){if(fE)return Xp;fE=1;var a=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function c(s,h,y){var v=null;if(y!==void 0&&(v=""+y),h.key!==void 0&&(v=""+h.key),"key"in h){y={};for(var b in h)b!=="key"&&(y[b]=h[b])}else y=h;return h=y.ref,{$$typeof:a,type:s,key:v,ref:h!==void 0?h:null,props:y}}return Xp.Fragment=u,Xp.jsx=c,Xp.jsxs=c,Xp}var Qp={};/**
|
|
308
|
+
* @license React
|
|
309
|
+
* react-jsx-runtime.development.js
|
|
310
|
+
*
|
|
311
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
312
|
+
*
|
|
313
|
+
* This source code is licensed under the MIT license found in the
|
|
314
|
+
* LICENSE file in the root directory of this source tree.
|
|
315
|
+
*/var dE;function HO(){return dE||(dE=1,process.env.NODE_ENV!=="production"&&(function(){function a(A){if(A==null)return null;if(typeof A=="function")return A.$$typeof===He?null:A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case ae:return"Fragment";case k:return"Profiler";case G:return"StrictMode";case te:return"Suspense";case Q:return"SuspenseList";case Se:return"Activity"}if(typeof A=="object")switch(typeof A.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),A.$$typeof){case Y:return"Portal";case D:return(A.displayName||"Context")+".Provider";case q:return(A._context.displayName||"Context")+".Consumer";case ue:var $=A.render;return A=A.displayName,A||(A=$.displayName||$.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case he:return $=A.displayName||null,$!==null?$:a(A.type)||"Memo";case _e:$=A._payload,A=A._init;try{return a(A($))}catch{}}return null}function u(A){return""+A}function c(A){try{u(A);var $=!1}catch{$=!0}if($){$=console;var ce=$.error,U=typeof Symbol=="function"&&Symbol.toStringTag&&A[Symbol.toStringTag]||A.constructor.name||"Object";return ce.call($,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",U),u(A)}}function s(A){if(A===ae)return"<>";if(typeof A=="object"&&A!==null&&A.$$typeof===_e)return"<...>";try{var $=a(A);return $?"<"+$+">":"<...>"}catch{return"<...>"}}function h(){var A=be.A;return A===null?null:A.getOwner()}function y(){return Error("react-stack-top-frame")}function v(A){if(Ee.call(A,"key")){var $=Object.getOwnPropertyDescriptor(A,"key").get;if($&&$.isReactWarning)return!1}return A.key!==void 0}function b(A,$){function ce(){Te||(Te=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",$))}ce.isReactWarning=!0,Object.defineProperty(A,"key",{get:ce,configurable:!0})}function T(){var A=a(this.type);return L[A]||(L[A]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),A=this.props.ref,A!==void 0?A:null}function E(A,$,ce,U,Re,Ye,Oe,Qt){return ce=Ye.ref,A={$$typeof:_,type:A,key:$,props:Ye,_owner:Re},(ce!==void 0?ce:null)!==null?Object.defineProperty(A,"ref",{enumerable:!1,get:T}):Object.defineProperty(A,"ref",{enumerable:!1,value:null}),A._store={},Object.defineProperty(A._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(A,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(A,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Oe}),Object.defineProperty(A,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Qt}),Object.freeze&&(Object.freeze(A.props),Object.freeze(A)),A}function O(A,$,ce,U,Re,Ye,Oe,Qt){var Ve=$.children;if(Ve!==void 0)if(U)if(Xe(Ve)){for(U=0;U<Ve.length;U++)R(Ve[U]);Object.freeze&&Object.freeze(Ve)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else R(Ve);if(Ee.call($,"key")){Ve=a(A);var Bt=Object.keys($).filter(function(Oa){return Oa!=="key"});U=0<Bt.length?"{key: someKey, "+Bt.join(": ..., ")+": ...}":"{key: someKey}",ke[Ve+U]||(Bt=0<Bt.length?"{"+Bt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
316
|
+
let props = %s;
|
|
317
|
+
<%s {...props} />
|
|
318
|
+
React keys must be passed directly to JSX without using spread:
|
|
319
|
+
let props = %s;
|
|
320
|
+
<%s key={someKey} {...props} />`,U,Ve,Bt,Ve),ke[Ve+U]=!0)}if(Ve=null,ce!==void 0&&(c(ce),Ve=""+ce),v($)&&(c($.key),Ve=""+$.key),"key"in $){ce={};for(var Dn in $)Dn!=="key"&&(ce[Dn]=$[Dn])}else ce=$;return Ve&&b(ce,typeof A=="function"?A.displayName||A.name||"Unknown":A),E(A,Ve,Ye,Re,h(),ce,Oe,Qt)}function R(A){typeof A=="object"&&A!==null&&A.$$typeof===_&&A._store&&(A._store.validated=1)}var z=rd(),_=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),ae=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),D=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),he=Symbol.for("react.memo"),_e=Symbol.for("react.lazy"),Se=Symbol.for("react.activity"),He=Symbol.for("react.client.reference"),be=z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee=Object.prototype.hasOwnProperty,Xe=Array.isArray,Ne=console.createTask?console.createTask:function(){return null};z={"react-stack-bottom-frame":function(A){return A()}};var Te,L={},ie=z["react-stack-bottom-frame"].bind(z,y)(),se=Ne(s(y)),ke={};Qp.Fragment=ae,Qp.jsx=function(A,$,ce,U,Re){var Ye=1e4>be.recentlyCreatedOwnerStacks++;return O(A,$,ce,!1,U,Re,Ye?Error("react-stack-top-frame"):ie,Ye?Ne(s(A)):se)},Qp.jsxs=function(A,$,ce,U,Re){var Ye=1e4>be.recentlyCreatedOwnerStacks++;return O(A,$,ce,!0,U,Re,Ye?Error("react-stack-top-frame"):ie,Ye?Ne(s(A)):se)}})()),Qp}var hE;function jO(){return hE||(hE=1,process.env.NODE_ENV==="production"?fv.exports=UO():fv.exports=HO()),fv.exports}var et=jO(),pE="vercel.ai.error",BO=Symbol.for(pE),mE,yE,Zu=class xO extends(yE=Error,mE=BO,yE){constructor({name:u,message:c,cause:s}){super(c),this[mE]=!0,this.name=u,this.cause=s}static isInstance(u){return xO.hasMarker(u,pE)}static hasMarker(u,c){const s=Symbol.for(c);return u!=null&&typeof u=="object"&&s in u&&typeof u[s]=="boolean"&&u[s]===!0}};function gE(a){return a==null?"unknown error":typeof a=="string"?a:a instanceof Error?a.message:JSON.stringify(a)}var vE="AI_InvalidArgumentError",bE=`vercel.ai.error.${vE}`,LO=Symbol.for(bE),SE,EE,ZO=class extends(EE=Zu,SE=LO,EE){constructor({message:a,cause:u,argument:c}){super({name:vE,message:a,cause:u}),this[SE]=!0,this.argument=c}static isInstance(a){return Zu.hasMarker(a,bE)}},TE="AI_JSONParseError",AE=`vercel.ai.error.${TE}`,qO=Symbol.for(AE),xE,OE,RE=class extends(OE=Zu,xE=qO,OE){constructor({text:a,cause:u}){super({name:TE,message:`JSON parsing failed: Text: ${a}.
|
|
321
|
+
Error message: ${gE(u)}`,cause:u}),this[xE]=!0,this.text=a}static isInstance(a){return Zu.hasMarker(a,AE)}},wE="AI_TypeValidationError",zE=`vercel.ai.error.${wE}`,YO=Symbol.for(zE),_E,CE,od=class KS extends(CE=Zu,_E=YO,CE){constructor({value:u,cause:c,context:s}){let h="Type validation failed";if(s!=null&&s.field&&(h+=` for ${s.field}`),s!=null&&s.entityName||s!=null&&s.entityId){h+=" (";const y=[];s.entityName&&y.push(s.entityName),s.entityId&&y.push(`id: "${s.entityId}"`),h+=y.join(", "),h+=")"}super({name:wE,message:`${h}: Value: ${JSON.stringify(u)}.
|
|
322
|
+
Error message: ${gE(c)}`,cause:c}),this[_E]=!0,this.value=u,this.context=s}static isInstance(u){return Zu.hasMarker(u,zE)}static wrap({value:u,cause:c,context:s}){var h,y,v;return KS.isInstance(c)&&c.value===u&&((h=c.context)==null?void 0:h.field)===(s==null?void 0:s.field)&&((y=c.context)==null?void 0:y.entityName)===(s==null?void 0:s.entityName)&&((v=c.context)==null?void 0:v.entityId)===(s==null?void 0:s.entityId)?c:new KS({value:u,cause:c,context:s})}};function ge(a,u,c){function s(b,T){var E;Object.defineProperty(b,"_zod",{value:b._zod??{},enumerable:!1}),(E=b._zod).traits??(E.traits=new Set),b._zod.traits.add(a),u(b,T);for(const O in v.prototype)O in b||Object.defineProperty(b,O,{value:v.prototype[O].bind(b)});b._zod.constr=v,b._zod.def=T}const h=(c==null?void 0:c.Parent)??Object;class y extends h{}Object.defineProperty(y,"name",{value:a});function v(b){var T;const E=c!=null&&c.Parent?new y:this;s(E,b),(T=E._zod).deferred??(T.deferred=[]);for(const O of E._zod.deferred)O();return E}return Object.defineProperty(v,"init",{value:s}),Object.defineProperty(v,Symbol.hasInstance,{value:b=>{var T,E;return c!=null&&c.Parent&&b instanceof c.Parent?!0:(E=(T=b==null?void 0:b._zod)==null?void 0:T.traits)==null?void 0:E.has(a)}}),Object.defineProperty(v,"name",{value:a}),v}class Ip extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const DE={};function Qo(a){return DE}function ME(a){const u=Object.values(a).filter(s=>typeof s=="number");return Object.entries(a).filter(([s,h])=>u.indexOf(+s)===-1).map(([s,h])=>h)}function VO(a,u){return typeof u=="bigint"?u.toString():u}function zb(a){return{get value(){{const u=a();return Object.defineProperty(this,"value",{value:u}),u}}}}function _b(a){return a==null}function Cb(a){const u=a.startsWith("^")?1:0,c=a.endsWith("$")?a.length-1:a.length;return a.slice(u,c)}function GO(a,u){const c=(a.toString().split(".")[1]||"").length,s=(u.toString().split(".")[1]||"").length,h=c>s?c:s,y=Number.parseInt(a.toFixed(h).replace(".","")),v=Number.parseInt(u.toFixed(h).replace(".",""));return y%v/10**h}function Xt(a,u,c){Object.defineProperty(a,u,{get(){{const s=c();return a[u]=s,s}},set(s){Object.defineProperty(a,u,{value:s})},configurable:!0})}function dv(a,u,c){Object.defineProperty(a,u,{value:c,writable:!0,enumerable:!0,configurable:!0})}function Jp(a){return JSON.stringify(a)}const NE=Error.captureStackTrace?Error.captureStackTrace:(...a)=>{};function hv(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)}const XO=zb(()=>{var a;if(typeof navigator<"u"&&((a=navigator==null?void 0:navigator.userAgent)!=null&&a.includes("Cloudflare")))return!1;try{const u=Function;return new u(""),!0}catch{return!1}});function pv(a){if(hv(a)===!1)return!1;const u=a.constructor;if(u===void 0)return!0;const c=u.prototype;return!(hv(c)===!1||Object.prototype.hasOwnProperty.call(c,"isPrototypeOf")===!1)}const QO=new Set(["string","number","symbol"]);function $p(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ps(a,u,c){const s=new a._zod.constr(u??a._zod.def);return(!u||c!=null&&c.parent)&&(s._zod.parent=a),s}function Ge(a){const u=a;if(!u)return{};if(typeof u=="string")return{error:()=>u};if((u==null?void 0:u.message)!==void 0){if((u==null?void 0:u.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");u.error=u.message}return delete u.message,typeof u.error=="string"?{...u,error:()=>u.error}:u}function IO(a){return Object.keys(a).filter(u=>a[u]._zod.optin==="optional"&&a[u]._zod.optout==="optional")}const JO={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function $O(a,u){const c={},s=a._zod.def;for(const h in u){if(!(h in s.shape))throw new Error(`Unrecognized key: "${h}"`);u[h]&&(c[h]=s.shape[h])}return ps(a,{...a._zod.def,shape:c,checks:[]})}function KO(a,u){const c={...a._zod.def.shape},s=a._zod.def;for(const h in u){if(!(h in s.shape))throw new Error(`Unrecognized key: "${h}"`);u[h]&&delete c[h]}return ps(a,{...a._zod.def,shape:c,checks:[]})}function PO(a,u){if(!pv(u))throw new Error("Invalid input to extend: expected a plain object");const c={...a._zod.def,get shape(){const s={...a._zod.def.shape,...u};return dv(this,"shape",s),s},checks:[]};return ps(a,c)}function FO(a,u){return ps(a,{...a._zod.def,get shape(){const c={...a._zod.def.shape,...u._zod.def.shape};return dv(this,"shape",c),c},catchall:u._zod.def.catchall,checks:[]})}function WO(a,u,c){const s=u._zod.def.shape,h={...s};if(c)for(const y in c){if(!(y in s))throw new Error(`Unrecognized key: "${y}"`);c[y]&&(h[y]=a?new a({type:"optional",innerType:s[y]}):s[y])}else for(const y in s)h[y]=a?new a({type:"optional",innerType:s[y]}):s[y];return ps(u,{...u._zod.def,shape:h,checks:[]})}function eR(a,u,c){const s=u._zod.def.shape,h={...s};if(c)for(const y in c){if(!(y in h))throw new Error(`Unrecognized key: "${y}"`);c[y]&&(h[y]=new a({type:"nonoptional",innerType:s[y]}))}else for(const y in s)h[y]=new a({type:"nonoptional",innerType:s[y]});return ps(u,{...u._zod.def,shape:h,checks:[]})}function Kp(a,u=0){var c;for(let s=u;s<a.issues.length;s++)if(((c=a.issues[s])==null?void 0:c.continue)!==!0)return!0;return!1}function ms(a,u){return u.map(c=>{var s;return(s=c).path??(s.path=[]),c.path.unshift(a),c})}function mv(a){return typeof a=="string"?a:a==null?void 0:a.message}function Io(a,u,c){var h,y,v,b,T,E;const s={...a,path:a.path??[]};if(!a.message){const O=mv((v=(y=(h=a.inst)==null?void 0:h._zod.def)==null?void 0:y.error)==null?void 0:v.call(y,a))??mv((b=u==null?void 0:u.error)==null?void 0:b.call(u,a))??mv((T=c.customError)==null?void 0:T.call(c,a))??mv((E=c.localeError)==null?void 0:E.call(c,a))??"Invalid input";s.message=O}return delete s.inst,delete s.continue,u!=null&&u.reportInput||delete s.input,s}function Db(a){return Array.isArray(a)?"array":typeof a=="string"?"string":"unknown"}function Pp(...a){const[u,c,s]=a;return typeof u=="string"?{message:u,code:"custom",input:c,inst:s}:{...u}}const kE=(a,u)=>{a.name="$ZodError",Object.defineProperty(a,"_zod",{value:a._zod,enumerable:!1}),Object.defineProperty(a,"issues",{value:u,enumerable:!1}),Object.defineProperty(a,"message",{get(){return JSON.stringify(u,VO,2)},enumerable:!0}),Object.defineProperty(a,"toString",{value:()=>a.message,enumerable:!1})},UE=ge("$ZodError",kE),HE=ge("$ZodError",kE,{Parent:Error});function tR(a,u=c=>c.message){const c={},s=[];for(const h of a.issues)h.path.length>0?(c[h.path[0]]=c[h.path[0]]||[],c[h.path[0]].push(u(h))):s.push(u(h));return{formErrors:s,fieldErrors:c}}function nR(a,u){const c=u||function(y){return y.message},s={_errors:[]},h=y=>{for(const v of y.issues)if(v.code==="invalid_union"&&v.errors.length)v.errors.map(b=>h({issues:b}));else if(v.code==="invalid_key")h({issues:v.issues});else if(v.code==="invalid_element")h({issues:v.issues});else if(v.path.length===0)s._errors.push(c(v));else{let b=s,T=0;for(;T<v.path.length;){const E=v.path[T];T===v.path.length-1?(b[E]=b[E]||{_errors:[]},b[E]._errors.push(c(v))):b[E]=b[E]||{_errors:[]},b=b[E],T++}}};return h(a),s}const aR=a=>(u,c,s,h)=>{const y=s?Object.assign(s,{async:!1}):{async:!1},v=u._zod.run({value:c,issues:[]},y);if(v instanceof Promise)throw new Ip;if(v.issues.length){const b=new((h==null?void 0:h.Err)??a)(v.issues.map(T=>Io(T,y,Qo())));throw NE(b,h==null?void 0:h.callee),b}return v.value},lR=a=>async(u,c,s,h)=>{const y=s?Object.assign(s,{async:!0}):{async:!0};let v=u._zod.run({value:c,issues:[]},y);if(v instanceof Promise&&(v=await v),v.issues.length){const b=new((h==null?void 0:h.Err)??a)(v.issues.map(T=>Io(T,y,Qo())));throw NE(b,h==null?void 0:h.callee),b}return v.value},jE=a=>(u,c,s)=>{const h=s?{...s,async:!1}:{async:!1},y=u._zod.run({value:c,issues:[]},h);if(y instanceof Promise)throw new Ip;return y.issues.length?{success:!1,error:new(a??UE)(y.issues.map(v=>Io(v,h,Qo())))}:{success:!0,data:y.value}},iR=jE(HE),BE=a=>async(u,c,s)=>{const h=s?Object.assign(s,{async:!0}):{async:!0};let y=u._zod.run({value:c,issues:[]},h);return y instanceof Promise&&(y=await y),y.issues.length?{success:!1,error:new a(y.issues.map(v=>Io(v,h,Qo())))}:{success:!0,data:y.value}},uR=BE(HE),rR=/^[cC][^\s-]{8,}$/,oR=/^[0-9a-z]+$/,cR=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,sR=/^[0-9a-vA-V]{20}$/,fR=/^[A-Za-z0-9]{27}$/,dR=/^[a-zA-Z0-9_-]{21}$/,hR=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,pR=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,LE=a=>a?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${a}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,mR=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,yR="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function gR(){return new RegExp(yR,"u")}const vR=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,bR=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,SR=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,ER=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,TR=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,ZE=/^[A-Za-z0-9_-]*$/,AR=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,xR=/^\+(?:[0-9]){6,14}[0-9]$/,qE="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",OR=new RegExp(`^${qE}$`);function YE(a){const u="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof a.precision=="number"?a.precision===-1?`${u}`:a.precision===0?`${u}:[0-5]\\d`:`${u}:[0-5]\\d\\.\\d{${a.precision}}`:`${u}(?::[0-5]\\d(?:\\.\\d+)?)?`}function RR(a){return new RegExp(`^${YE(a)}$`)}function wR(a){const u=YE({precision:a.precision}),c=["Z"];a.local&&c.push(""),a.offset&&c.push("([+-]\\d{2}:\\d{2})");const s=`${u}(?:${c.join("|")})`;return new RegExp(`^${qE}T(?:${s})$`)}const zR=a=>{const u=a?`[\\s\\S]{${(a==null?void 0:a.minimum)??0},${(a==null?void 0:a.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${u}$`)},_R=/^\d+$/,CR=/^-?\d+(?:\.\d+)?/i,DR=/true|false/i,MR=/null/i,NR=/^[^A-Z]*$/,kR=/^[^a-z]*$/,bl=ge("$ZodCheck",(a,u)=>{var c;a._zod??(a._zod={}),a._zod.def=u,(c=a._zod).onattach??(c.onattach=[])}),VE={number:"number",bigint:"bigint",object:"date"},GE=ge("$ZodCheckLessThan",(a,u)=>{bl.init(a,u);const c=VE[typeof u.value];a._zod.onattach.push(s=>{const h=s._zod.bag,y=(u.inclusive?h.maximum:h.exclusiveMaximum)??Number.POSITIVE_INFINITY;u.value<y&&(u.inclusive?h.maximum=u.value:h.exclusiveMaximum=u.value)}),a._zod.check=s=>{(u.inclusive?s.value<=u.value:s.value<u.value)||s.issues.push({origin:c,code:"too_big",maximum:u.value,input:s.value,inclusive:u.inclusive,inst:a,continue:!u.abort})}}),XE=ge("$ZodCheckGreaterThan",(a,u)=>{bl.init(a,u);const c=VE[typeof u.value];a._zod.onattach.push(s=>{const h=s._zod.bag,y=(u.inclusive?h.minimum:h.exclusiveMinimum)??Number.NEGATIVE_INFINITY;u.value>y&&(u.inclusive?h.minimum=u.value:h.exclusiveMinimum=u.value)}),a._zod.check=s=>{(u.inclusive?s.value>=u.value:s.value>u.value)||s.issues.push({origin:c,code:"too_small",minimum:u.value,input:s.value,inclusive:u.inclusive,inst:a,continue:!u.abort})}}),UR=ge("$ZodCheckMultipleOf",(a,u)=>{bl.init(a,u),a._zod.onattach.push(c=>{var s;(s=c._zod.bag).multipleOf??(s.multipleOf=u.value)}),a._zod.check=c=>{if(typeof c.value!=typeof u.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof c.value=="bigint"?c.value%u.value===BigInt(0):GO(c.value,u.value)===0)||c.issues.push({origin:typeof c.value,code:"not_multiple_of",divisor:u.value,input:c.value,inst:a,continue:!u.abort})}}),HR=ge("$ZodCheckNumberFormat",(a,u)=>{var v;bl.init(a,u),u.format=u.format||"float64";const c=(v=u.format)==null?void 0:v.includes("int"),s=c?"int":"number",[h,y]=JO[u.format];a._zod.onattach.push(b=>{const T=b._zod.bag;T.format=u.format,T.minimum=h,T.maximum=y,c&&(T.pattern=_R)}),a._zod.check=b=>{const T=b.value;if(c){if(!Number.isInteger(T)){b.issues.push({expected:s,format:u.format,code:"invalid_type",input:T,inst:a});return}if(!Number.isSafeInteger(T)){T>0?b.issues.push({input:T,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:a,origin:s,continue:!u.abort}):b.issues.push({input:T,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:a,origin:s,continue:!u.abort});return}}T<h&&b.issues.push({origin:"number",input:T,code:"too_small",minimum:h,inclusive:!0,inst:a,continue:!u.abort}),T>y&&b.issues.push({origin:"number",input:T,code:"too_big",maximum:y,inst:a})}}),jR=ge("$ZodCheckMaxLength",(a,u)=>{var c;bl.init(a,u),(c=a._zod.def).when??(c.when=s=>{const h=s.value;return!_b(h)&&h.length!==void 0}),a._zod.onattach.push(s=>{const h=s._zod.bag.maximum??Number.POSITIVE_INFINITY;u.maximum<h&&(s._zod.bag.maximum=u.maximum)}),a._zod.check=s=>{const h=s.value;if(h.length<=u.maximum)return;const v=Db(h);s.issues.push({origin:v,code:"too_big",maximum:u.maximum,inclusive:!0,input:h,inst:a,continue:!u.abort})}}),BR=ge("$ZodCheckMinLength",(a,u)=>{var c;bl.init(a,u),(c=a._zod.def).when??(c.when=s=>{const h=s.value;return!_b(h)&&h.length!==void 0}),a._zod.onattach.push(s=>{const h=s._zod.bag.minimum??Number.NEGATIVE_INFINITY;u.minimum>h&&(s._zod.bag.minimum=u.minimum)}),a._zod.check=s=>{const h=s.value;if(h.length>=u.minimum)return;const v=Db(h);s.issues.push({origin:v,code:"too_small",minimum:u.minimum,inclusive:!0,input:h,inst:a,continue:!u.abort})}}),LR=ge("$ZodCheckLengthEquals",(a,u)=>{var c;bl.init(a,u),(c=a._zod.def).when??(c.when=s=>{const h=s.value;return!_b(h)&&h.length!==void 0}),a._zod.onattach.push(s=>{const h=s._zod.bag;h.minimum=u.length,h.maximum=u.length,h.length=u.length}),a._zod.check=s=>{const h=s.value,y=h.length;if(y===u.length)return;const v=Db(h),b=y>u.length;s.issues.push({origin:v,...b?{code:"too_big",maximum:u.length}:{code:"too_small",minimum:u.length},inclusive:!0,exact:!0,input:s.value,inst:a,continue:!u.abort})}}),yv=ge("$ZodCheckStringFormat",(a,u)=>{var c,s;bl.init(a,u),a._zod.onattach.push(h=>{const y=h._zod.bag;y.format=u.format,u.pattern&&(y.patterns??(y.patterns=new Set),y.patterns.add(u.pattern))}),u.pattern?(c=a._zod).check??(c.check=h=>{u.pattern.lastIndex=0,!u.pattern.test(h.value)&&h.issues.push({origin:"string",code:"invalid_format",format:u.format,input:h.value,...u.pattern?{pattern:u.pattern.toString()}:{},inst:a,continue:!u.abort})}):(s=a._zod).check??(s.check=()=>{})}),ZR=ge("$ZodCheckRegex",(a,u)=>{yv.init(a,u),a._zod.check=c=>{u.pattern.lastIndex=0,!u.pattern.test(c.value)&&c.issues.push({origin:"string",code:"invalid_format",format:"regex",input:c.value,pattern:u.pattern.toString(),inst:a,continue:!u.abort})}}),qR=ge("$ZodCheckLowerCase",(a,u)=>{u.pattern??(u.pattern=NR),yv.init(a,u)}),YR=ge("$ZodCheckUpperCase",(a,u)=>{u.pattern??(u.pattern=kR),yv.init(a,u)}),VR=ge("$ZodCheckIncludes",(a,u)=>{bl.init(a,u);const c=$p(u.includes),s=new RegExp(typeof u.position=="number"?`^.{${u.position}}${c}`:c);u.pattern=s,a._zod.onattach.push(h=>{const y=h._zod.bag;y.patterns??(y.patterns=new Set),y.patterns.add(s)}),a._zod.check=h=>{h.value.includes(u.includes,u.position)||h.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:u.includes,input:h.value,inst:a,continue:!u.abort})}}),GR=ge("$ZodCheckStartsWith",(a,u)=>{bl.init(a,u);const c=new RegExp(`^${$p(u.prefix)}.*`);u.pattern??(u.pattern=c),a._zod.onattach.push(s=>{const h=s._zod.bag;h.patterns??(h.patterns=new Set),h.patterns.add(c)}),a._zod.check=s=>{s.value.startsWith(u.prefix)||s.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:u.prefix,input:s.value,inst:a,continue:!u.abort})}}),XR=ge("$ZodCheckEndsWith",(a,u)=>{bl.init(a,u);const c=new RegExp(`.*${$p(u.suffix)}$`);u.pattern??(u.pattern=c),a._zod.onattach.push(s=>{const h=s._zod.bag;h.patterns??(h.patterns=new Set),h.patterns.add(c)}),a._zod.check=s=>{s.value.endsWith(u.suffix)||s.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:u.suffix,input:s.value,inst:a,continue:!u.abort})}}),QR=ge("$ZodCheckOverwrite",(a,u)=>{bl.init(a,u),a._zod.check=c=>{c.value=u.tx(c.value)}});class IR{constructor(u=[]){this.content=[],this.indent=0,this&&(this.args=u)}indented(u){this.indent+=1,u(this),this.indent-=1}write(u){if(typeof u=="function"){u(this,{execution:"sync"}),u(this,{execution:"async"});return}const s=u.split(`
|
|
323
|
+
`).filter(v=>v),h=Math.min(...s.map(v=>v.length-v.trimStart().length)),y=s.map(v=>v.slice(h)).map(v=>" ".repeat(this.indent*2)+v);for(const v of y)this.content.push(v)}compile(){const u=Function,c=this==null?void 0:this.args,h=[...((this==null?void 0:this.content)??[""]).map(y=>` ${y}`)];return new u(...c,h.join(`
|
|
324
|
+
`))}}const JR={major:4,minor:0,patch:0},ln=ge("$ZodType",(a,u)=>{var h;var c;a??(a={}),a._zod.def=u,a._zod.bag=a._zod.bag||{},a._zod.version=JR;const s=[...a._zod.def.checks??[]];a._zod.traits.has("$ZodCheck")&&s.unshift(a);for(const y of s)for(const v of y._zod.onattach)v(a);if(s.length===0)(c=a._zod).deferred??(c.deferred=[]),(h=a._zod.deferred)==null||h.push(()=>{a._zod.run=a._zod.parse});else{const y=(v,b,T)=>{let E=Kp(v),O;for(const R of b){if(R._zod.def.when){if(!R._zod.def.when(v))continue}else if(E)continue;const z=v.issues.length,_=R._zod.check(v);if(_ instanceof Promise&&(T==null?void 0:T.async)===!1)throw new Ip;if(O||_ instanceof Promise)O=(O??Promise.resolve()).then(async()=>{await _,v.issues.length!==z&&(E||(E=Kp(v,z)))});else{if(v.issues.length===z)continue;E||(E=Kp(v,z))}}return O?O.then(()=>v):v};a._zod.run=(v,b)=>{const T=a._zod.parse(v,b);if(T instanceof Promise){if(b.async===!1)throw new Ip;return T.then(E=>y(E,s,b))}return y(T,s,b)}}a["~standard"]={validate:y=>{var v;try{const b=iR(a,y);return b.success?{value:b.data}:{issues:(v=b.error)==null?void 0:v.issues}}catch{return uR(a,y).then(T=>{var E;return T.success?{value:T.data}:{issues:(E=T.error)==null?void 0:E.issues}})}},vendor:"zod",version:1}}),Mb=ge("$ZodString",(a,u)=>{var c;ln.init(a,u),a._zod.pattern=[...((c=a==null?void 0:a._zod.bag)==null?void 0:c.patterns)??[]].pop()??zR(a._zod.bag),a._zod.parse=(s,h)=>{if(u.coerce)try{s.value=String(s.value)}catch{}return typeof s.value=="string"||s.issues.push({expected:"string",code:"invalid_type",input:s.value,inst:a}),s}}),bn=ge("$ZodStringFormat",(a,u)=>{yv.init(a,u),Mb.init(a,u)}),$R=ge("$ZodGUID",(a,u)=>{u.pattern??(u.pattern=pR),bn.init(a,u)}),KR=ge("$ZodUUID",(a,u)=>{if(u.version){const s={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[u.version];if(s===void 0)throw new Error(`Invalid UUID version: "${u.version}"`);u.pattern??(u.pattern=LE(s))}else u.pattern??(u.pattern=LE());bn.init(a,u)}),PR=ge("$ZodEmail",(a,u)=>{u.pattern??(u.pattern=mR),bn.init(a,u)}),FR=ge("$ZodURL",(a,u)=>{bn.init(a,u),a._zod.check=c=>{try{const s=c.value,h=new URL(s),y=h.href;u.hostname&&(u.hostname.lastIndex=0,u.hostname.test(h.hostname)||c.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:AR.source,input:c.value,inst:a,continue:!u.abort})),u.protocol&&(u.protocol.lastIndex=0,u.protocol.test(h.protocol.endsWith(":")?h.protocol.slice(0,-1):h.protocol)||c.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:u.protocol.source,input:c.value,inst:a,continue:!u.abort})),!s.endsWith("/")&&y.endsWith("/")?c.value=y.slice(0,-1):c.value=y;return}catch{c.issues.push({code:"invalid_format",format:"url",input:c.value,inst:a,continue:!u.abort})}}}),WR=ge("$ZodEmoji",(a,u)=>{u.pattern??(u.pattern=gR()),bn.init(a,u)}),ew=ge("$ZodNanoID",(a,u)=>{u.pattern??(u.pattern=dR),bn.init(a,u)}),tw=ge("$ZodCUID",(a,u)=>{u.pattern??(u.pattern=rR),bn.init(a,u)}),nw=ge("$ZodCUID2",(a,u)=>{u.pattern??(u.pattern=oR),bn.init(a,u)}),aw=ge("$ZodULID",(a,u)=>{u.pattern??(u.pattern=cR),bn.init(a,u)}),lw=ge("$ZodXID",(a,u)=>{u.pattern??(u.pattern=sR),bn.init(a,u)}),iw=ge("$ZodKSUID",(a,u)=>{u.pattern??(u.pattern=fR),bn.init(a,u)}),uw=ge("$ZodISODateTime",(a,u)=>{u.pattern??(u.pattern=wR(u)),bn.init(a,u)}),rw=ge("$ZodISODate",(a,u)=>{u.pattern??(u.pattern=OR),bn.init(a,u)}),ow=ge("$ZodISOTime",(a,u)=>{u.pattern??(u.pattern=RR(u)),bn.init(a,u)}),cw=ge("$ZodISODuration",(a,u)=>{u.pattern??(u.pattern=hR),bn.init(a,u)}),sw=ge("$ZodIPv4",(a,u)=>{u.pattern??(u.pattern=vR),bn.init(a,u),a._zod.onattach.push(c=>{const s=c._zod.bag;s.format="ipv4"})}),fw=ge("$ZodIPv6",(a,u)=>{u.pattern??(u.pattern=bR),bn.init(a,u),a._zod.onattach.push(c=>{const s=c._zod.bag;s.format="ipv6"}),a._zod.check=c=>{try{new URL(`http://[${c.value}]`)}catch{c.issues.push({code:"invalid_format",format:"ipv6",input:c.value,inst:a,continue:!u.abort})}}}),dw=ge("$ZodCIDRv4",(a,u)=>{u.pattern??(u.pattern=SR),bn.init(a,u)}),hw=ge("$ZodCIDRv6",(a,u)=>{u.pattern??(u.pattern=ER),bn.init(a,u),a._zod.check=c=>{const[s,h]=c.value.split("/");try{if(!h)throw new Error;const y=Number(h);if(`${y}`!==h)throw new Error;if(y<0||y>128)throw new Error;new URL(`http://[${s}]`)}catch{c.issues.push({code:"invalid_format",format:"cidrv6",input:c.value,inst:a,continue:!u.abort})}}});function QE(a){if(a==="")return!0;if(a.length%4!==0)return!1;try{return atob(a),!0}catch{return!1}}const pw=ge("$ZodBase64",(a,u)=>{u.pattern??(u.pattern=TR),bn.init(a,u),a._zod.onattach.push(c=>{c._zod.bag.contentEncoding="base64"}),a._zod.check=c=>{QE(c.value)||c.issues.push({code:"invalid_format",format:"base64",input:c.value,inst:a,continue:!u.abort})}});function mw(a){if(!ZE.test(a))return!1;const u=a.replace(/[-_]/g,s=>s==="-"?"+":"/"),c=u.padEnd(Math.ceil(u.length/4)*4,"=");return QE(c)}const yw=ge("$ZodBase64URL",(a,u)=>{u.pattern??(u.pattern=ZE),bn.init(a,u),a._zod.onattach.push(c=>{c._zod.bag.contentEncoding="base64url"}),a._zod.check=c=>{mw(c.value)||c.issues.push({code:"invalid_format",format:"base64url",input:c.value,inst:a,continue:!u.abort})}}),gw=ge("$ZodE164",(a,u)=>{u.pattern??(u.pattern=xR),bn.init(a,u)});function vw(a,u=null){try{const c=a.split(".");if(c.length!==3)return!1;const[s]=c;if(!s)return!1;const h=JSON.parse(atob(s));return!("typ"in h&&(h==null?void 0:h.typ)!=="JWT"||!h.alg||u&&(!("alg"in h)||h.alg!==u))}catch{return!1}}const bw=ge("$ZodJWT",(a,u)=>{bn.init(a,u),a._zod.check=c=>{vw(c.value,u.alg)||c.issues.push({code:"invalid_format",format:"jwt",input:c.value,inst:a,continue:!u.abort})}}),IE=ge("$ZodNumber",(a,u)=>{ln.init(a,u),a._zod.pattern=a._zod.bag.pattern??CR,a._zod.parse=(c,s)=>{if(u.coerce)try{c.value=Number(c.value)}catch{}const h=c.value;if(typeof h=="number"&&!Number.isNaN(h)&&Number.isFinite(h))return c;const y=typeof h=="number"?Number.isNaN(h)?"NaN":Number.isFinite(h)?void 0:"Infinity":void 0;return c.issues.push({expected:"number",code:"invalid_type",input:h,inst:a,...y?{received:y}:{}}),c}}),Sw=ge("$ZodNumber",(a,u)=>{HR.init(a,u),IE.init(a,u)}),Ew=ge("$ZodBoolean",(a,u)=>{ln.init(a,u),a._zod.pattern=DR,a._zod.parse=(c,s)=>{if(u.coerce)try{c.value=!!c.value}catch{}const h=c.value;return typeof h=="boolean"||c.issues.push({expected:"boolean",code:"invalid_type",input:h,inst:a}),c}}),Tw=ge("$ZodNull",(a,u)=>{ln.init(a,u),a._zod.pattern=MR,a._zod.values=new Set([null]),a._zod.parse=(c,s)=>{const h=c.value;return h===null||c.issues.push({expected:"null",code:"invalid_type",input:h,inst:a}),c}}),Aw=ge("$ZodUnknown",(a,u)=>{ln.init(a,u),a._zod.parse=c=>c}),xw=ge("$ZodNever",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>(c.issues.push({expected:"never",code:"invalid_type",input:c.value,inst:a}),c)});function JE(a,u,c){a.issues.length&&u.issues.push(...ms(c,a.issues)),u.value[c]=a.value}const Ow=ge("$ZodArray",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>{const h=c.value;if(!Array.isArray(h))return c.issues.push({expected:"array",code:"invalid_type",input:h,inst:a}),c;c.value=Array(h.length);const y=[];for(let v=0;v<h.length;v++){const b=h[v],T=u.element._zod.run({value:b,issues:[]},s);T instanceof Promise?y.push(T.then(E=>JE(E,c,v))):JE(T,c,v)}return y.length?Promise.all(y).then(()=>c):c}});function gv(a,u,c){a.issues.length&&u.issues.push(...ms(c,a.issues)),u.value[c]=a.value}function $E(a,u,c,s){a.issues.length?s[c]===void 0?c in s?u.value[c]=void 0:u.value[c]=a.value:u.issues.push(...ms(c,a.issues)):a.value===void 0?c in s&&(u.value[c]=void 0):u.value[c]=a.value}const Rw=ge("$ZodObject",(a,u)=>{ln.init(a,u);const c=zb(()=>{const R=Object.keys(u.shape);for(const _ of R)if(!(u.shape[_]instanceof ln))throw new Error(`Invalid element at key "${_}": expected a Zod schema`);const z=IO(u.shape);return{shape:u.shape,keys:R,keySet:new Set(R),numKeys:R.length,optionalKeys:new Set(z)}});Xt(a._zod,"propValues",()=>{const R=u.shape,z={};for(const _ in R){const Y=R[_]._zod;if(Y.values){z[_]??(z[_]=new Set);for(const ae of Y.values)z[_].add(ae)}}return z});const s=R=>{const z=new IR(["shape","payload","ctx"]),_=c.value,Y=q=>{const D=Jp(q);return`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`};z.write("const input = payload.value;");const ae=Object.create(null);let G=0;for(const q of _.keys)ae[q]=`key_${G++}`;z.write("const newResult = {}");for(const q of _.keys)if(_.optionalKeys.has(q)){const D=ae[q];z.write(`const ${D} = ${Y(q)};`);const ue=Jp(q);z.write(`
|
|
325
|
+
if (${D}.issues.length) {
|
|
326
|
+
if (input[${ue}] === undefined) {
|
|
327
|
+
if (${ue} in input) {
|
|
328
|
+
newResult[${ue}] = undefined;
|
|
329
|
+
}
|
|
330
|
+
} else {
|
|
331
|
+
payload.issues = payload.issues.concat(
|
|
332
|
+
${D}.issues.map((iss) => ({
|
|
333
|
+
...iss,
|
|
334
|
+
path: iss.path ? [${ue}, ...iss.path] : [${ue}],
|
|
335
|
+
}))
|
|
336
|
+
);
|
|
337
|
+
}
|
|
338
|
+
} else if (${D}.value === undefined) {
|
|
339
|
+
if (${ue} in input) newResult[${ue}] = undefined;
|
|
340
|
+
} else {
|
|
341
|
+
newResult[${ue}] = ${D}.value;
|
|
342
|
+
}
|
|
343
|
+
`)}else{const D=ae[q];z.write(`const ${D} = ${Y(q)};`),z.write(`
|
|
344
|
+
if (${D}.issues.length) payload.issues = payload.issues.concat(${D}.issues.map(iss => ({
|
|
345
|
+
...iss,
|
|
346
|
+
path: iss.path ? [${Jp(q)}, ...iss.path] : [${Jp(q)}]
|
|
347
|
+
})));`),z.write(`newResult[${Jp(q)}] = ${D}.value`)}z.write("payload.value = newResult;"),z.write("return payload;");const k=z.compile();return(q,D)=>k(R,q,D)};let h;const y=hv,v=!DE.jitless,T=v&&XO.value,E=u.catchall;let O;a._zod.parse=(R,z)=>{O??(O=c.value);const _=R.value;if(!y(_))return R.issues.push({expected:"object",code:"invalid_type",input:_,inst:a}),R;const Y=[];if(v&&T&&(z==null?void 0:z.async)===!1&&z.jitless!==!0)h||(h=s(u.shape)),R=h(R,z);else{R.value={};const D=O.shape;for(const ue of O.keys){const te=D[ue],Q=te._zod.run({value:_[ue],issues:[]},z),he=te._zod.optin==="optional"&&te._zod.optout==="optional";Q instanceof Promise?Y.push(Q.then(_e=>he?$E(_e,R,ue,_):gv(_e,R,ue))):he?$E(Q,R,ue,_):gv(Q,R,ue)}}if(!E)return Y.length?Promise.all(Y).then(()=>R):R;const ae=[],G=O.keySet,k=E._zod,q=k.def.type;for(const D of Object.keys(_)){if(G.has(D))continue;if(q==="never"){ae.push(D);continue}const ue=k.run({value:_[D],issues:[]},z);ue instanceof Promise?Y.push(ue.then(te=>gv(te,R,D))):gv(ue,R,D)}return ae.length&&R.issues.push({code:"unrecognized_keys",keys:ae,input:_,inst:a}),Y.length?Promise.all(Y).then(()=>R):R}});function KE(a,u,c,s){for(const h of a)if(h.issues.length===0)return u.value=h.value,u;return u.issues.push({code:"invalid_union",input:u.value,inst:c,errors:a.map(h=>h.issues.map(y=>Io(y,s,Qo())))}),u}const PE=ge("$ZodUnion",(a,u)=>{ln.init(a,u),Xt(a._zod,"optin",()=>u.options.some(c=>c._zod.optin==="optional")?"optional":void 0),Xt(a._zod,"optout",()=>u.options.some(c=>c._zod.optout==="optional")?"optional":void 0),Xt(a._zod,"values",()=>{if(u.options.every(c=>c._zod.values))return new Set(u.options.flatMap(c=>Array.from(c._zod.values)))}),Xt(a._zod,"pattern",()=>{if(u.options.every(c=>c._zod.pattern)){const c=u.options.map(s=>s._zod.pattern);return new RegExp(`^(${c.map(s=>Cb(s.source)).join("|")})$`)}}),a._zod.parse=(c,s)=>{let h=!1;const y=[];for(const v of u.options){const b=v._zod.run({value:c.value,issues:[]},s);if(b instanceof Promise)y.push(b),h=!0;else{if(b.issues.length===0)return b;y.push(b)}}return h?Promise.all(y).then(v=>KE(v,c,a,s)):KE(y,c,a,s)}}),ww=ge("$ZodDiscriminatedUnion",(a,u)=>{PE.init(a,u);const c=a._zod.parse;Xt(a._zod,"propValues",()=>{const h={};for(const y of u.options){const v=y._zod.propValues;if(!v||Object.keys(v).length===0)throw new Error(`Invalid discriminated union option at index "${u.options.indexOf(y)}"`);for(const[b,T]of Object.entries(v)){h[b]||(h[b]=new Set);for(const E of T)h[b].add(E)}}return h});const s=zb(()=>{const h=u.options,y=new Map;for(const v of h){const b=v._zod.propValues[u.discriminator];if(!b||b.size===0)throw new Error(`Invalid discriminated union option at index "${u.options.indexOf(v)}"`);for(const T of b){if(y.has(T))throw new Error(`Duplicate discriminator value "${String(T)}"`);y.set(T,v)}}return y});a._zod.parse=(h,y)=>{const v=h.value;if(!hv(v))return h.issues.push({code:"invalid_type",expected:"object",input:v,inst:a}),h;const b=s.value.get(v==null?void 0:v[u.discriminator]);return b?b._zod.run(h,y):u.unionFallback?c(h,y):(h.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:v,path:[u.discriminator],inst:a}),h)}}),zw=ge("$ZodIntersection",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>{const h=c.value,y=u.left._zod.run({value:h,issues:[]},s),v=u.right._zod.run({value:h,issues:[]},s);return y instanceof Promise||v instanceof Promise?Promise.all([y,v]).then(([T,E])=>FE(c,T,E)):FE(c,y,v)}});function Nb(a,u){if(a===u)return{valid:!0,data:a};if(a instanceof Date&&u instanceof Date&&+a==+u)return{valid:!0,data:a};if(pv(a)&&pv(u)){const c=Object.keys(u),s=Object.keys(a).filter(y=>c.indexOf(y)!==-1),h={...a,...u};for(const y of s){const v=Nb(a[y],u[y]);if(!v.valid)return{valid:!1,mergeErrorPath:[y,...v.mergeErrorPath]};h[y]=v.data}return{valid:!0,data:h}}if(Array.isArray(a)&&Array.isArray(u)){if(a.length!==u.length)return{valid:!1,mergeErrorPath:[]};const c=[];for(let s=0;s<a.length;s++){const h=a[s],y=u[s],v=Nb(h,y);if(!v.valid)return{valid:!1,mergeErrorPath:[s,...v.mergeErrorPath]};c.push(v.data)}return{valid:!0,data:c}}return{valid:!1,mergeErrorPath:[]}}function FE(a,u,c){if(u.issues.length&&a.issues.push(...u.issues),c.issues.length&&a.issues.push(...c.issues),Kp(a))return a;const s=Nb(u.value,c.value);if(!s.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(s.mergeErrorPath)}`);return a.value=s.data,a}const _w=ge("$ZodRecord",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>{const h=c.value;if(!pv(h))return c.issues.push({expected:"record",code:"invalid_type",input:h,inst:a}),c;const y=[];if(u.keyType._zod.values){const v=u.keyType._zod.values;c.value={};for(const T of v)if(typeof T=="string"||typeof T=="number"||typeof T=="symbol"){const E=u.valueType._zod.run({value:h[T],issues:[]},s);E instanceof Promise?y.push(E.then(O=>{O.issues.length&&c.issues.push(...ms(T,O.issues)),c.value[T]=O.value})):(E.issues.length&&c.issues.push(...ms(T,E.issues)),c.value[T]=E.value)}let b;for(const T in h)v.has(T)||(b=b??[],b.push(T));b&&b.length>0&&c.issues.push({code:"unrecognized_keys",input:h,inst:a,keys:b})}else{c.value={};for(const v of Reflect.ownKeys(h)){if(v==="__proto__")continue;const b=u.keyType._zod.run({value:v,issues:[]},s);if(b instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(b.issues.length){c.issues.push({origin:"record",code:"invalid_key",issues:b.issues.map(E=>Io(E,s,Qo())),input:v,path:[v],inst:a}),c.value[b.value]=b.value;continue}const T=u.valueType._zod.run({value:h[v],issues:[]},s);T instanceof Promise?y.push(T.then(E=>{E.issues.length&&c.issues.push(...ms(v,E.issues)),c.value[b.value]=E.value})):(T.issues.length&&c.issues.push(...ms(v,T.issues)),c.value[b.value]=T.value)}}return y.length?Promise.all(y).then(()=>c):c}}),Cw=ge("$ZodEnum",(a,u)=>{ln.init(a,u);const c=ME(u.entries);a._zod.values=new Set(c),a._zod.pattern=new RegExp(`^(${c.filter(s=>QO.has(typeof s)).map(s=>typeof s=="string"?$p(s):s.toString()).join("|")})$`),a._zod.parse=(s,h)=>{const y=s.value;return a._zod.values.has(y)||s.issues.push({code:"invalid_value",values:c,input:y,inst:a}),s}}),Dw=ge("$ZodLiteral",(a,u)=>{ln.init(a,u),a._zod.values=new Set(u.values),a._zod.pattern=new RegExp(`^(${u.values.map(c=>typeof c=="string"?$p(c):c?c.toString():String(c)).join("|")})$`),a._zod.parse=(c,s)=>{const h=c.value;return a._zod.values.has(h)||c.issues.push({code:"invalid_value",values:u.values,input:h,inst:a}),c}}),Mw=ge("$ZodTransform",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>{const h=u.transform(c.value,c);if(s.async)return(h instanceof Promise?h:Promise.resolve(h)).then(v=>(c.value=v,c));if(h instanceof Promise)throw new Ip;return c.value=h,c}}),Nw=ge("$ZodOptional",(a,u)=>{ln.init(a,u),a._zod.optin="optional",a._zod.optout="optional",Xt(a._zod,"values",()=>u.innerType._zod.values?new Set([...u.innerType._zod.values,void 0]):void 0),Xt(a._zod,"pattern",()=>{const c=u.innerType._zod.pattern;return c?new RegExp(`^(${Cb(c.source)})?$`):void 0}),a._zod.parse=(c,s)=>u.innerType._zod.optin==="optional"?u.innerType._zod.run(c,s):c.value===void 0?c:u.innerType._zod.run(c,s)}),kw=ge("$ZodNullable",(a,u)=>{ln.init(a,u),Xt(a._zod,"optin",()=>u.innerType._zod.optin),Xt(a._zod,"optout",()=>u.innerType._zod.optout),Xt(a._zod,"pattern",()=>{const c=u.innerType._zod.pattern;return c?new RegExp(`^(${Cb(c.source)}|null)$`):void 0}),Xt(a._zod,"values",()=>u.innerType._zod.values?new Set([...u.innerType._zod.values,null]):void 0),a._zod.parse=(c,s)=>c.value===null?c:u.innerType._zod.run(c,s)}),Uw=ge("$ZodDefault",(a,u)=>{ln.init(a,u),a._zod.optin="optional",Xt(a._zod,"values",()=>u.innerType._zod.values),a._zod.parse=(c,s)=>{if(c.value===void 0)return c.value=u.defaultValue,c;const h=u.innerType._zod.run(c,s);return h instanceof Promise?h.then(y=>WE(y,u)):WE(h,u)}});function WE(a,u){return a.value===void 0&&(a.value=u.defaultValue),a}const Hw=ge("$ZodPrefault",(a,u)=>{ln.init(a,u),a._zod.optin="optional",Xt(a._zod,"values",()=>u.innerType._zod.values),a._zod.parse=(c,s)=>(c.value===void 0&&(c.value=u.defaultValue),u.innerType._zod.run(c,s))}),jw=ge("$ZodNonOptional",(a,u)=>{ln.init(a,u),Xt(a._zod,"values",()=>{const c=u.innerType._zod.values;return c?new Set([...c].filter(s=>s!==void 0)):void 0}),a._zod.parse=(c,s)=>{const h=u.innerType._zod.run(c,s);return h instanceof Promise?h.then(y=>eT(y,a)):eT(h,a)}});function eT(a,u){return!a.issues.length&&a.value===void 0&&a.issues.push({code:"invalid_type",expected:"nonoptional",input:a.value,inst:u}),a}const Bw=ge("$ZodCatch",(a,u)=>{ln.init(a,u),a._zod.optin="optional",Xt(a._zod,"optout",()=>u.innerType._zod.optout),Xt(a._zod,"values",()=>u.innerType._zod.values),a._zod.parse=(c,s)=>{const h=u.innerType._zod.run(c,s);return h instanceof Promise?h.then(y=>(c.value=y.value,y.issues.length&&(c.value=u.catchValue({...c,error:{issues:y.issues.map(v=>Io(v,s,Qo()))},input:c.value}),c.issues=[]),c)):(c.value=h.value,h.issues.length&&(c.value=u.catchValue({...c,error:{issues:h.issues.map(y=>Io(y,s,Qo()))},input:c.value}),c.issues=[]),c)}}),Lw=ge("$ZodPipe",(a,u)=>{ln.init(a,u),Xt(a._zod,"values",()=>u.in._zod.values),Xt(a._zod,"optin",()=>u.in._zod.optin),Xt(a._zod,"optout",()=>u.out._zod.optout),a._zod.parse=(c,s)=>{const h=u.in._zod.run(c,s);return h instanceof Promise?h.then(y=>tT(y,u,s)):tT(h,u,s)}});function tT(a,u,c){return Kp(a)?a:u.out._zod.run({value:a.value,issues:a.issues},c)}const Zw=ge("$ZodReadonly",(a,u)=>{ln.init(a,u),Xt(a._zod,"propValues",()=>u.innerType._zod.propValues),Xt(a._zod,"values",()=>u.innerType._zod.values),Xt(a._zod,"optin",()=>u.innerType._zod.optin),Xt(a._zod,"optout",()=>u.innerType._zod.optout),a._zod.parse=(c,s)=>{const h=u.innerType._zod.run(c,s);return h instanceof Promise?h.then(nT):nT(h)}});function nT(a){return a.value=Object.freeze(a.value),a}const qw=ge("$ZodLazy",(a,u)=>{ln.init(a,u),Xt(a._zod,"innerType",()=>u.getter()),Xt(a._zod,"pattern",()=>a._zod.innerType._zod.pattern),Xt(a._zod,"propValues",()=>a._zod.innerType._zod.propValues),Xt(a._zod,"optin",()=>a._zod.innerType._zod.optin),Xt(a._zod,"optout",()=>a._zod.innerType._zod.optout),a._zod.parse=(c,s)=>a._zod.innerType._zod.run(c,s)}),Yw=ge("$ZodCustom",(a,u)=>{bl.init(a,u),ln.init(a,u),a._zod.parse=(c,s)=>c,a._zod.check=c=>{const s=c.value,h=u.fn(s);if(h instanceof Promise)return h.then(y=>aT(y,c,s,a));aT(h,c,s,a)}});function aT(a,u,c,s){if(!a){const h={code:"custom",input:c,inst:s,path:[...s._zod.def.path??[]],continue:!s._zod.def.abort};s._zod.def.params&&(h.params=s._zod.def.params),u.issues.push(Pp(h))}}class lT{constructor(){this._map=new Map,this._idmap=new Map}add(u,...c){const s=c[0];if(this._map.set(u,s),s&&typeof s=="object"&&"id"in s){if(this._idmap.has(s.id))throw new Error(`ID ${s.id} already exists in the registry`);this._idmap.set(s.id,u)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(u){const c=this._map.get(u);return c&&typeof c=="object"&&"id"in c&&this._idmap.delete(c.id),this._map.delete(u),this}get(u){const c=u._zod.parent;if(c){const s={...this.get(c)??{}};return delete s.id,{...s,...this._map.get(u)}}return this._map.get(u)}has(u){return this._map.has(u)}}function Vw(){return new lT}const Fp=Vw();function Gw(a,u){return new a({type:"string",...Ge(u)})}function Xw(a,u){return new a({type:"string",format:"email",check:"string_format",abort:!1,...Ge(u)})}function iT(a,u){return new a({type:"string",format:"guid",check:"string_format",abort:!1,...Ge(u)})}function Qw(a,u){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,...Ge(u)})}function Iw(a,u){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Ge(u)})}function Jw(a,u){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Ge(u)})}function $w(a,u){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Ge(u)})}function Kw(a,u){return new a({type:"string",format:"url",check:"string_format",abort:!1,...Ge(u)})}function Pw(a,u){return new a({type:"string",format:"emoji",check:"string_format",abort:!1,...Ge(u)})}function Fw(a,u){return new a({type:"string",format:"nanoid",check:"string_format",abort:!1,...Ge(u)})}function Ww(a,u){return new a({type:"string",format:"cuid",check:"string_format",abort:!1,...Ge(u)})}function ez(a,u){return new a({type:"string",format:"cuid2",check:"string_format",abort:!1,...Ge(u)})}function tz(a,u){return new a({type:"string",format:"ulid",check:"string_format",abort:!1,...Ge(u)})}function nz(a,u){return new a({type:"string",format:"xid",check:"string_format",abort:!1,...Ge(u)})}function az(a,u){return new a({type:"string",format:"ksuid",check:"string_format",abort:!1,...Ge(u)})}function lz(a,u){return new a({type:"string",format:"ipv4",check:"string_format",abort:!1,...Ge(u)})}function iz(a,u){return new a({type:"string",format:"ipv6",check:"string_format",abort:!1,...Ge(u)})}function uz(a,u){return new a({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Ge(u)})}function rz(a,u){return new a({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Ge(u)})}function oz(a,u){return new a({type:"string",format:"base64",check:"string_format",abort:!1,...Ge(u)})}function cz(a,u){return new a({type:"string",format:"base64url",check:"string_format",abort:!1,...Ge(u)})}function sz(a,u){return new a({type:"string",format:"e164",check:"string_format",abort:!1,...Ge(u)})}function fz(a,u){return new a({type:"string",format:"jwt",check:"string_format",abort:!1,...Ge(u)})}function dz(a,u){return new a({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Ge(u)})}function hz(a,u){return new a({type:"string",format:"date",check:"string_format",...Ge(u)})}function pz(a,u){return new a({type:"string",format:"time",check:"string_format",precision:null,...Ge(u)})}function mz(a,u){return new a({type:"string",format:"duration",check:"string_format",...Ge(u)})}function yz(a,u){return new a({type:"number",checks:[],...Ge(u)})}function gz(a,u){return new a({type:"number",check:"number_format",abort:!1,format:"safeint",...Ge(u)})}function vz(a,u){return new a({type:"boolean",...Ge(u)})}function bz(a,u){return new a({type:"null",...Ge(u)})}function Sz(a){return new a({type:"unknown"})}function Ez(a,u){return new a({type:"never",...Ge(u)})}function uT(a,u){return new GE({check:"less_than",...Ge(u),value:a,inclusive:!1})}function kb(a,u){return new GE({check:"less_than",...Ge(u),value:a,inclusive:!0})}function rT(a,u){return new XE({check:"greater_than",...Ge(u),value:a,inclusive:!1})}function Ub(a,u){return new XE({check:"greater_than",...Ge(u),value:a,inclusive:!0})}function oT(a,u){return new UR({check:"multiple_of",...Ge(u),value:a})}function cT(a,u){return new jR({check:"max_length",...Ge(u),maximum:a})}function vv(a,u){return new BR({check:"min_length",...Ge(u),minimum:a})}function sT(a,u){return new LR({check:"length_equals",...Ge(u),length:a})}function Tz(a,u){return new ZR({check:"string_format",format:"regex",...Ge(u),pattern:a})}function Az(a){return new qR({check:"string_format",format:"lowercase",...Ge(a)})}function xz(a){return new YR({check:"string_format",format:"uppercase",...Ge(a)})}function Oz(a,u){return new VR({check:"string_format",format:"includes",...Ge(u),includes:a})}function Rz(a,u){return new GR({check:"string_format",format:"starts_with",...Ge(u),prefix:a})}function wz(a,u){return new XR({check:"string_format",format:"ends_with",...Ge(u),suffix:a})}function Wp(a){return new QR({check:"overwrite",tx:a})}function zz(a){return Wp(u=>u.normalize(a))}function _z(){return Wp(a=>a.trim())}function Cz(){return Wp(a=>a.toLowerCase())}function Dz(){return Wp(a=>a.toUpperCase())}function Mz(a,u,c){return new a({type:"array",element:u,...Ge(c)})}function Nz(a,u,c){const s=Ge(c);return s.abort??(s.abort=!0),new a({type:"custom",check:"custom",fn:u,...s})}function kz(a,u,c){return new a({type:"custom",check:"custom",fn:u,...Ge(c)})}class fT{constructor(u){this.counter=0,this.metadataRegistry=(u==null?void 0:u.metadata)??Fp,this.target=(u==null?void 0:u.target)??"draft-2020-12",this.unrepresentable=(u==null?void 0:u.unrepresentable)??"throw",this.override=(u==null?void 0:u.override)??(()=>{}),this.io=(u==null?void 0:u.io)??"output",this.seen=new Map}process(u,c={path:[],schemaPath:[]}){var R,z,_;var s;const h=u._zod.def,y={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},v=this.seen.get(u);if(v)return v.count++,c.schemaPath.includes(u)&&(v.cycle=c.path),v.schema;const b={schema:{},count:1,cycle:void 0,path:c.path};this.seen.set(u,b);const T=(z=(R=u._zod).toJSONSchema)==null?void 0:z.call(R);if(T)b.schema=T;else{const Y={...c,schemaPath:[...c.schemaPath,u],path:c.path},ae=u._zod.parent;if(ae)b.ref=ae,this.process(ae,Y),this.seen.get(ae).isParent=!0;else{const G=b.schema;switch(h.type){case"string":{const k=G;k.type="string";const{minimum:q,maximum:D,format:ue,patterns:te,contentEncoding:Q}=u._zod.bag;if(typeof q=="number"&&(k.minLength=q),typeof D=="number"&&(k.maxLength=D),ue&&(k.format=y[ue]??ue,k.format===""&&delete k.format),Q&&(k.contentEncoding=Q),te&&te.size>0){const he=[...te];he.length===1?k.pattern=he[0].source:he.length>1&&(b.schema.allOf=[...he.map(_e=>({...this.target==="draft-7"?{type:"string"}:{},pattern:_e.source}))])}break}case"number":{const k=G,{minimum:q,maximum:D,format:ue,multipleOf:te,exclusiveMaximum:Q,exclusiveMinimum:he}=u._zod.bag;typeof ue=="string"&&ue.includes("int")?k.type="integer":k.type="number",typeof he=="number"&&(k.exclusiveMinimum=he),typeof q=="number"&&(k.minimum=q,typeof he=="number"&&(he>=q?delete k.minimum:delete k.exclusiveMinimum)),typeof Q=="number"&&(k.exclusiveMaximum=Q),typeof D=="number"&&(k.maximum=D,typeof Q=="number"&&(Q<=D?delete k.maximum:delete k.exclusiveMaximum)),typeof te=="number"&&(k.multipleOf=te);break}case"boolean":{const k=G;k.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{G.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{G.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{const k=G,{minimum:q,maximum:D}=u._zod.bag;typeof q=="number"&&(k.minItems=q),typeof D=="number"&&(k.maxItems=D),k.type="array",k.items=this.process(h.element,{...Y,path:[...Y.path,"items"]});break}case"object":{const k=G;k.type="object",k.properties={};const q=h.shape;for(const te in q)k.properties[te]=this.process(q[te],{...Y,path:[...Y.path,"properties",te]});const D=new Set(Object.keys(q)),ue=new Set([...D].filter(te=>{const Q=h.shape[te]._zod;return this.io==="input"?Q.optin===void 0:Q.optout===void 0}));ue.size>0&&(k.required=Array.from(ue)),((_=h.catchall)==null?void 0:_._zod.def.type)==="never"?k.additionalProperties=!1:h.catchall?h.catchall&&(k.additionalProperties=this.process(h.catchall,{...Y,path:[...Y.path,"additionalProperties"]})):this.io==="output"&&(k.additionalProperties=!1);break}case"union":{const k=G;k.anyOf=h.options.map((q,D)=>this.process(q,{...Y,path:[...Y.path,"anyOf",D]}));break}case"intersection":{const k=G,q=this.process(h.left,{...Y,path:[...Y.path,"allOf",0]}),D=this.process(h.right,{...Y,path:[...Y.path,"allOf",1]}),ue=Q=>"allOf"in Q&&Object.keys(Q).length===1,te=[...ue(q)?q.allOf:[q],...ue(D)?D.allOf:[D]];k.allOf=te;break}case"tuple":{const k=G;k.type="array";const q=h.items.map((te,Q)=>this.process(te,{...Y,path:[...Y.path,"prefixItems",Q]}));if(this.target==="draft-2020-12"?k.prefixItems=q:k.items=q,h.rest){const te=this.process(h.rest,{...Y,path:[...Y.path,"items"]});this.target==="draft-2020-12"?k.items=te:k.additionalItems=te}h.rest&&(k.items=this.process(h.rest,{...Y,path:[...Y.path,"items"]}));const{minimum:D,maximum:ue}=u._zod.bag;typeof D=="number"&&(k.minItems=D),typeof ue=="number"&&(k.maxItems=ue);break}case"record":{const k=G;k.type="object",k.propertyNames=this.process(h.keyType,{...Y,path:[...Y.path,"propertyNames"]}),k.additionalProperties=this.process(h.valueType,{...Y,path:[...Y.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{const k=G,q=ME(h.entries);q.every(D=>typeof D=="number")&&(k.type="number"),q.every(D=>typeof D=="string")&&(k.type="string"),k.enum=q;break}case"literal":{const k=G,q=[];for(const D of h.values)if(D===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof D=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");q.push(Number(D))}else q.push(D);if(q.length!==0)if(q.length===1){const D=q[0];k.type=D===null?"null":typeof D,k.const=D}else q.every(D=>typeof D=="number")&&(k.type="number"),q.every(D=>typeof D=="string")&&(k.type="string"),q.every(D=>typeof D=="boolean")&&(k.type="string"),q.every(D=>D===null)&&(k.type="null"),k.enum=q;break}case"file":{const k=G,q={type:"string",format:"binary",contentEncoding:"binary"},{minimum:D,maximum:ue,mime:te}=u._zod.bag;D!==void 0&&(q.minLength=D),ue!==void 0&&(q.maxLength=ue),te?te.length===1?(q.contentMediaType=te[0],Object.assign(k,q)):k.anyOf=te.map(Q=>({...q,contentMediaType:Q})):Object.assign(k,q);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{const k=this.process(h.innerType,Y);G.anyOf=[k,{type:"null"}];break}case"nonoptional":{this.process(h.innerType,Y),b.ref=h.innerType;break}case"success":{const k=G;k.type="boolean";break}case"default":{this.process(h.innerType,Y),b.ref=h.innerType,G.default=JSON.parse(JSON.stringify(h.defaultValue));break}case"prefault":{this.process(h.innerType,Y),b.ref=h.innerType,this.io==="input"&&(G._prefault=JSON.parse(JSON.stringify(h.defaultValue)));break}case"catch":{this.process(h.innerType,Y),b.ref=h.innerType;let k;try{k=h.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}G.default=k;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{const k=G,q=u._zod.pattern;if(!q)throw new Error("Pattern not found in template literal");k.type="string",k.pattern=q.source;break}case"pipe":{const k=this.io==="input"?h.in._zod.def.type==="transform"?h.out:h.in:h.out;this.process(k,Y),b.ref=k;break}case"readonly":{this.process(h.innerType,Y),b.ref=h.innerType,G.readOnly=!0;break}case"promise":{this.process(h.innerType,Y),b.ref=h.innerType;break}case"optional":{this.process(h.innerType,Y),b.ref=h.innerType;break}case"lazy":{const k=u._zod.innerType;this.process(k,Y),b.ref=k;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}}}}const E=this.metadataRegistry.get(u);return E&&Object.assign(b.schema,E),this.io==="input"&&aa(u)&&(delete b.schema.examples,delete b.schema.default),this.io==="input"&&b.schema._prefault&&((s=b.schema).default??(s.default=b.schema._prefault)),delete b.schema._prefault,this.seen.get(u).schema}emit(u,c){var O,R,z,_,Y,ae;const s={cycles:(c==null?void 0:c.cycles)??"ref",reused:(c==null?void 0:c.reused)??"inline",external:(c==null?void 0:c.external)??void 0},h=this.seen.get(u);if(!h)throw new Error("Unprocessed schema. This is a bug in Zod.");const y=G=>{var te;const k=this.target==="draft-2020-12"?"$defs":"definitions";if(s.external){const Q=(te=s.external.registry.get(G[0]))==null?void 0:te.id,he=s.external.uri??(Se=>Se);if(Q)return{ref:he(Q)};const _e=G[1].defId??G[1].schema.id??`schema${this.counter++}`;return G[1].defId=_e,{defId:_e,ref:`${he("__shared")}#/${k}/${_e}`}}if(G[1]===h)return{ref:"#"};const D=`#/${k}/`,ue=G[1].schema.id??`__schema${this.counter++}`;return{defId:ue,ref:D+ue}},v=G=>{if(G[1].schema.$ref)return;const k=G[1],{ref:q,defId:D}=y(G);k.def={...k.schema},D&&(k.defId=D);const ue=k.schema;for(const te in ue)delete ue[te];ue.$ref=q};if(s.cycles==="throw")for(const G of this.seen.entries()){const k=G[1];if(k.cycle)throw new Error(`Cycle detected: #/${(O=k.cycle)==null?void 0:O.join("/")}/<root>
|
|
348
|
+
|
|
349
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const G of this.seen.entries()){const k=G[1];if(u===G[0]){v(G);continue}if(s.external){const D=(R=s.external.registry.get(G[0]))==null?void 0:R.id;if(u!==G[0]&&D){v(G);continue}}if((z=this.metadataRegistry.get(G[0]))==null?void 0:z.id){v(G);continue}if(k.cycle){v(G);continue}if(k.count>1&&s.reused==="ref"){v(G);continue}}const b=(G,k)=>{const q=this.seen.get(G),D=q.def??q.schema,ue={...D};if(q.ref===null)return;const te=q.ref;if(q.ref=null,te){b(te,k);const Q=this.seen.get(te).schema;Q.$ref&&k.target==="draft-7"?(D.allOf=D.allOf??[],D.allOf.push(Q)):(Object.assign(D,Q),Object.assign(D,ue))}q.isParent||this.override({zodSchema:G,jsonSchema:D,path:q.path??[]})};for(const G of[...this.seen.entries()].reverse())b(G[0],{target:this.target});const T={};if(this.target==="draft-2020-12"?T.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?T.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),(_=s.external)!=null&&_.uri){const G=(Y=s.external.registry.get(u))==null?void 0:Y.id;if(!G)throw new Error("Schema is missing an `id` property");T.$id=s.external.uri(G)}Object.assign(T,h.def);const E=((ae=s.external)==null?void 0:ae.defs)??{};for(const G of this.seen.entries()){const k=G[1];k.def&&k.defId&&(E[k.defId]=k.def)}s.external||Object.keys(E).length>0&&(this.target==="draft-2020-12"?T.$defs=E:T.definitions=E);try{return JSON.parse(JSON.stringify(T))}catch{throw new Error("Error converting schema to JSON.")}}}function Uz(a,u){if(a instanceof lT){const s=new fT(u),h={};for(const b of a._idmap.entries()){const[T,E]=b;s.process(E)}const y={},v={registry:a,uri:u==null?void 0:u.uri,defs:h};for(const b of a._idmap.entries()){const[T,E]=b;y[T]=s.emit(E,{...u,external:v})}if(Object.keys(h).length>0){const b=s.target==="draft-2020-12"?"$defs":"definitions";y.__shared={[b]:h}}return{schemas:y}}const c=new fT(u);return c.process(a),c.emit(a,u)}function aa(a,u){const c=u??{seen:new Set};if(c.seen.has(a))return!1;c.seen.add(a);const h=a._zod.def;switch(h.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return aa(h.element,c);case"object":{for(const y in h.shape)if(aa(h.shape[y],c))return!0;return!1}case"union":{for(const y of h.options)if(aa(y,c))return!0;return!1}case"intersection":return aa(h.left,c)||aa(h.right,c);case"tuple":{for(const y of h.items)if(aa(y,c))return!0;return!!(h.rest&&aa(h.rest,c))}case"record":return aa(h.keyType,c)||aa(h.valueType,c);case"map":return aa(h.keyType,c)||aa(h.valueType,c);case"set":return aa(h.valueType,c);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return aa(h.innerType,c);case"lazy":return aa(h.getter(),c);case"default":return aa(h.innerType,c);case"prefault":return aa(h.innerType,c);case"custom":return!1;case"transform":return!0;case"pipe":return aa(h.in,c)||aa(h.out,c);case"success":return!1;case"catch":return!1}throw new Error(`Unknown schema type: ${h.type}`)}const Hz=ge("ZodISODateTime",(a,u)=>{uw.init(a,u),Cn.init(a,u)});function jz(a){return dz(Hz,a)}const Bz=ge("ZodISODate",(a,u)=>{rw.init(a,u),Cn.init(a,u)});function Lz(a){return hz(Bz,a)}const Zz=ge("ZodISOTime",(a,u)=>{ow.init(a,u),Cn.init(a,u)});function qz(a){return pz(Zz,a)}const Yz=ge("ZodISODuration",(a,u)=>{cw.init(a,u),Cn.init(a,u)});function Vz(a){return mz(Yz,a)}const bv=ge("ZodError",(a,u)=>{UE.init(a,u),a.name="ZodError",Object.defineProperties(a,{format:{value:c=>nR(a,c)},flatten:{value:c=>tR(a,c)},addIssue:{value:c=>a.issues.push(c)},addIssues:{value:c=>a.issues.push(...c)},isEmpty:{get(){return a.issues.length===0}}})},{Parent:Error}),Gz=aR(bv),Xz=lR(bv),Qz=jE(bv),dT=BE(bv),Sn=ge("ZodType",(a,u)=>(ln.init(a,u),a.def=u,Object.defineProperty(a,"_def",{value:u}),a.check=(...c)=>a.clone({...u,checks:[...u.checks??[],...c.map(s=>typeof s=="function"?{_zod:{check:s,def:{check:"custom"},onattach:[]}}:s)]}),a.clone=(c,s)=>ps(a,c,s),a.brand=()=>a,a.register=((c,s)=>(c.add(a,s),a)),a.parse=(c,s)=>Gz(a,c,s,{callee:a.parse}),a.safeParse=(c,s)=>Qz(a,c,s),a.parseAsync=async(c,s)=>Xz(a,c,s,{callee:a.parseAsync}),a.safeParseAsync=async(c,s)=>dT(a,c,s),a.spa=a.safeParseAsync,a.refine=(c,s)=>a.check(q_(c,s)),a.superRefine=c=>a.check(Y_(c)),a.overwrite=c=>a.check(Wp(c)),a.optional=()=>TT(a),a.nullable=()=>AT(a),a.nullish=()=>TT(AT(a)),a.nonoptional=c=>M_(a,c),a.array=()=>cd(a),a.or=c=>nl([a,c]),a.and=c=>T_(a,c),a.transform=c=>OT(a,R_(c)),a.default=c=>__(a,c),a.prefault=c=>D_(a,c),a.catch=c=>k_(a,c),a.pipe=c=>OT(a,c),a.readonly=()=>j_(a),a.describe=c=>{const s=a.clone();return Fp.add(s,{description:c}),s},Object.defineProperty(a,"description",{get(){var c;return(c=Fp.get(a))==null?void 0:c.description},configurable:!0}),a.meta=(...c)=>{if(c.length===0)return Fp.get(a);const s=a.clone();return Fp.add(s,c[0]),s},a.isOptional=()=>a.safeParse(void 0).success,a.isNullable=()=>a.safeParse(null).success,a)),hT=ge("_ZodString",(a,u)=>{Mb.init(a,u),Sn.init(a,u);const c=a._zod.bag;a.format=c.format??null,a.minLength=c.minimum??null,a.maxLength=c.maximum??null,a.regex=(...s)=>a.check(Tz(...s)),a.includes=(...s)=>a.check(Oz(...s)),a.startsWith=(...s)=>a.check(Rz(...s)),a.endsWith=(...s)=>a.check(wz(...s)),a.min=(...s)=>a.check(vv(...s)),a.max=(...s)=>a.check(cT(...s)),a.length=(...s)=>a.check(sT(...s)),a.nonempty=(...s)=>a.check(vv(1,...s)),a.lowercase=s=>a.check(Az(s)),a.uppercase=s=>a.check(xz(s)),a.trim=()=>a.check(_z()),a.normalize=(...s)=>a.check(zz(...s)),a.toLowerCase=()=>a.check(Cz()),a.toUpperCase=()=>a.check(Dz())}),Iz=ge("ZodString",(a,u)=>{Mb.init(a,u),hT.init(a,u),a.email=c=>a.check(Xw(Jz,c)),a.url=c=>a.check(Kw($z,c)),a.jwt=c=>a.check(fz(s_,c)),a.emoji=c=>a.check(Pw(Kz,c)),a.guid=c=>a.check(iT(pT,c)),a.uuid=c=>a.check(Qw(Sv,c)),a.uuidv4=c=>a.check(Iw(Sv,c)),a.uuidv6=c=>a.check(Jw(Sv,c)),a.uuidv7=c=>a.check($w(Sv,c)),a.nanoid=c=>a.check(Fw(Pz,c)),a.guid=c=>a.check(iT(pT,c)),a.cuid=c=>a.check(Ww(Fz,c)),a.cuid2=c=>a.check(ez(Wz,c)),a.ulid=c=>a.check(tz(e_,c)),a.base64=c=>a.check(oz(r_,c)),a.base64url=c=>a.check(cz(o_,c)),a.xid=c=>a.check(nz(t_,c)),a.ksuid=c=>a.check(az(n_,c)),a.ipv4=c=>a.check(lz(a_,c)),a.ipv6=c=>a.check(iz(l_,c)),a.cidrv4=c=>a.check(uz(i_,c)),a.cidrv6=c=>a.check(rz(u_,c)),a.e164=c=>a.check(sz(c_,c)),a.datetime=c=>a.check(jz(c)),a.date=c=>a.check(Lz(c)),a.time=c=>a.check(qz(c)),a.duration=c=>a.check(Vz(c))});function Me(a){return Gw(Iz,a)}const Cn=ge("ZodStringFormat",(a,u)=>{bn.init(a,u),hT.init(a,u)}),Jz=ge("ZodEmail",(a,u)=>{PR.init(a,u),Cn.init(a,u)}),pT=ge("ZodGUID",(a,u)=>{$R.init(a,u),Cn.init(a,u)}),Sv=ge("ZodUUID",(a,u)=>{KR.init(a,u),Cn.init(a,u)}),$z=ge("ZodURL",(a,u)=>{FR.init(a,u),Cn.init(a,u)}),Kz=ge("ZodEmoji",(a,u)=>{WR.init(a,u),Cn.init(a,u)}),Pz=ge("ZodNanoID",(a,u)=>{ew.init(a,u),Cn.init(a,u)}),Fz=ge("ZodCUID",(a,u)=>{tw.init(a,u),Cn.init(a,u)}),Wz=ge("ZodCUID2",(a,u)=>{nw.init(a,u),Cn.init(a,u)}),e_=ge("ZodULID",(a,u)=>{aw.init(a,u),Cn.init(a,u)}),t_=ge("ZodXID",(a,u)=>{lw.init(a,u),Cn.init(a,u)}),n_=ge("ZodKSUID",(a,u)=>{iw.init(a,u),Cn.init(a,u)}),a_=ge("ZodIPv4",(a,u)=>{sw.init(a,u),Cn.init(a,u)}),l_=ge("ZodIPv6",(a,u)=>{fw.init(a,u),Cn.init(a,u)}),i_=ge("ZodCIDRv4",(a,u)=>{dw.init(a,u),Cn.init(a,u)}),u_=ge("ZodCIDRv6",(a,u)=>{hw.init(a,u),Cn.init(a,u)}),r_=ge("ZodBase64",(a,u)=>{pw.init(a,u),Cn.init(a,u)}),o_=ge("ZodBase64URL",(a,u)=>{yw.init(a,u),Cn.init(a,u)}),c_=ge("ZodE164",(a,u)=>{gw.init(a,u),Cn.init(a,u)}),s_=ge("ZodJWT",(a,u)=>{bw.init(a,u),Cn.init(a,u)}),mT=ge("ZodNumber",(a,u)=>{IE.init(a,u),Sn.init(a,u),a.gt=(s,h)=>a.check(rT(s,h)),a.gte=(s,h)=>a.check(Ub(s,h)),a.min=(s,h)=>a.check(Ub(s,h)),a.lt=(s,h)=>a.check(uT(s,h)),a.lte=(s,h)=>a.check(kb(s,h)),a.max=(s,h)=>a.check(kb(s,h)),a.int=s=>a.check(yT(s)),a.safe=s=>a.check(yT(s)),a.positive=s=>a.check(rT(0,s)),a.nonnegative=s=>a.check(Ub(0,s)),a.negative=s=>a.check(uT(0,s)),a.nonpositive=s=>a.check(kb(0,s)),a.multipleOf=(s,h)=>a.check(oT(s,h)),a.step=(s,h)=>a.check(oT(s,h)),a.finite=()=>a;const c=a._zod.bag;a.minValue=Math.max(c.minimum??Number.NEGATIVE_INFINITY,c.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,a.maxValue=Math.min(c.maximum??Number.POSITIVE_INFINITY,c.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,a.isInt=(c.format??"").includes("int")||Number.isSafeInteger(c.multipleOf??.5),a.isFinite=!0,a.format=c.format??null});function f_(a){return yz(mT,a)}const d_=ge("ZodNumberFormat",(a,u)=>{Sw.init(a,u),mT.init(a,u)});function yT(a){return gz(d_,a)}const h_=ge("ZodBoolean",(a,u)=>{Ew.init(a,u),Sn.init(a,u)});function tl(a){return vz(h_,a)}const p_=ge("ZodNull",(a,u)=>{Tw.init(a,u),Sn.init(a,u)});function m_(a){return bz(p_,a)}const y_=ge("ZodUnknown",(a,u)=>{Aw.init(a,u),Sn.init(a,u)});function qu(){return Sz(y_)}const g_=ge("ZodNever",(a,u)=>{xw.init(a,u),Sn.init(a,u)});function gT(a){return Ez(g_,a)}const v_=ge("ZodArray",(a,u)=>{Ow.init(a,u),Sn.init(a,u),a.element=u.element,a.min=(c,s)=>a.check(vv(c,s)),a.nonempty=c=>a.check(vv(1,c)),a.max=(c,s)=>a.check(cT(c,s)),a.length=(c,s)=>a.check(sT(c,s)),a.unwrap=()=>a.element});function cd(a,u){return Mz(v_,a,u)}const vT=ge("ZodObject",(a,u)=>{Rw.init(a,u),Sn.init(a,u),Xt(a,"shape",()=>u.shape),a.keyof=()=>ST(Object.keys(a._zod.def.shape)),a.catchall=c=>a.clone({...a._zod.def,catchall:c}),a.passthrough=()=>a.clone({...a._zod.def,catchall:qu()}),a.loose=()=>a.clone({...a._zod.def,catchall:qu()}),a.strict=()=>a.clone({...a._zod.def,catchall:gT()}),a.strip=()=>a.clone({...a._zod.def,catchall:void 0}),a.extend=c=>PO(a,c),a.merge=c=>FO(a,c),a.pick=c=>$O(a,c),a.omit=c=>KO(a,c),a.partial=(...c)=>WO(ET,a,c[0]),a.required=(...c)=>eR(xT,a,c[0])});function Wt(a,u){const c={type:"object",get shape(){return dv(this,"shape",{...a}),this.shape},...Ge(u)};return new vT(c)}function dn(a,u){return new vT({type:"object",get shape(){return dv(this,"shape",{...a}),this.shape},catchall:gT(),...Ge(u)})}const bT=ge("ZodUnion",(a,u)=>{PE.init(a,u),Sn.init(a,u),a.options=u.options});function nl(a,u){return new bT({type:"union",options:a,...Ge(u)})}const b_=ge("ZodDiscriminatedUnion",(a,u)=>{bT.init(a,u),ww.init(a,u)});function S_(a,u,c){return new b_({type:"union",options:u,discriminator:a,...Ge(c)})}const E_=ge("ZodIntersection",(a,u)=>{zw.init(a,u),Sn.init(a,u)});function T_(a,u){return new E_({type:"intersection",left:a,right:u})}const A_=ge("ZodRecord",(a,u)=>{_w.init(a,u),Sn.init(a,u),a.keyType=u.keyType,a.valueType=u.valueType});function ys(a,u,c){return new A_({type:"record",keyType:a,valueType:u,...Ge(c)})}const Hb=ge("ZodEnum",(a,u)=>{Cw.init(a,u),Sn.init(a,u),a.enum=u.entries,a.options=Object.values(u.entries);const c=new Set(Object.keys(u.entries));a.extract=(s,h)=>{const y={};for(const v of s)if(c.has(v))y[v]=u.entries[v];else throw new Error(`Key ${v} not found in enum`);return new Hb({...u,checks:[],...Ge(h),entries:y})},a.exclude=(s,h)=>{const y={...u.entries};for(const v of s)if(c.has(v))delete y[v];else throw new Error(`Key ${v} not found in enum`);return new Hb({...u,checks:[],...Ge(h),entries:y})}});function ST(a,u){const c=Array.isArray(a)?Object.fromEntries(a.map(s=>[s,s])):a;return new Hb({type:"enum",entries:c,...Ge(u)})}const x_=ge("ZodLiteral",(a,u)=>{Dw.init(a,u),Sn.init(a,u),a.values=new Set(u.values),Object.defineProperty(a,"value",{get(){if(u.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return u.values[0]}})});function We(a,u){return new x_({type:"literal",values:Array.isArray(a)?a:[a],...Ge(u)})}const O_=ge("ZodTransform",(a,u)=>{Mw.init(a,u),Sn.init(a,u),a._zod.parse=(c,s)=>{c.addIssue=y=>{if(typeof y=="string")c.issues.push(Pp(y,c.value,u));else{const v=y;v.fatal&&(v.continue=!1),v.code??(v.code="custom"),v.input??(v.input=c.value),v.inst??(v.inst=a),v.continue??(v.continue=!0),c.issues.push(Pp(v))}};const h=u.transform(c.value,c);return h instanceof Promise?h.then(y=>(c.value=y,c)):(c.value=h,c)}});function R_(a){return new O_({type:"transform",transform:a})}const ET=ge("ZodOptional",(a,u)=>{Nw.init(a,u),Sn.init(a,u),a.unwrap=()=>a._zod.def.innerType});function TT(a){return new ET({type:"optional",innerType:a})}const w_=ge("ZodNullable",(a,u)=>{kw.init(a,u),Sn.init(a,u),a.unwrap=()=>a._zod.def.innerType});function AT(a){return new w_({type:"nullable",innerType:a})}const z_=ge("ZodDefault",(a,u)=>{Uw.init(a,u),Sn.init(a,u),a.unwrap=()=>a._zod.def.innerType,a.removeDefault=a.unwrap});function __(a,u){return new z_({type:"default",innerType:a,get defaultValue(){return typeof u=="function"?u():u}})}const C_=ge("ZodPrefault",(a,u)=>{Hw.init(a,u),Sn.init(a,u),a.unwrap=()=>a._zod.def.innerType});function D_(a,u){return new C_({type:"prefault",innerType:a,get defaultValue(){return typeof u=="function"?u():u}})}const xT=ge("ZodNonOptional",(a,u)=>{jw.init(a,u),Sn.init(a,u),a.unwrap=()=>a._zod.def.innerType});function M_(a,u){return new xT({type:"nonoptional",innerType:a,...Ge(u)})}const N_=ge("ZodCatch",(a,u)=>{Bw.init(a,u),Sn.init(a,u),a.unwrap=()=>a._zod.def.innerType,a.removeCatch=a.unwrap});function k_(a,u){return new N_({type:"catch",innerType:a,catchValue:typeof u=="function"?u:()=>u})}const U_=ge("ZodPipe",(a,u)=>{Lw.init(a,u),Sn.init(a,u),a.in=u.in,a.out=u.out});function OT(a,u){return new U_({type:"pipe",in:a,out:u})}const H_=ge("ZodReadonly",(a,u)=>{Zw.init(a,u),Sn.init(a,u)});function j_(a){return new H_({type:"readonly",innerType:a})}const B_=ge("ZodLazy",(a,u)=>{qw.init(a,u),Sn.init(a,u),a.unwrap=()=>a._zod.def.getter()});function L_(a){return new B_({type:"lazy",getter:a})}const jb=ge("ZodCustom",(a,u)=>{Yw.init(a,u),Sn.init(a,u)});function Z_(a){const u=new bl({check:"custom"});return u._zod.check=a,u}function RT(a,u){return Nz(jb,a??(()=>!0),u)}function q_(a,u={}){return kz(jb,a,u)}function Y_(a){const u=Z_(c=>(c.addIssue=s=>{if(typeof s=="string")c.issues.push(Pp(s,c.value,u._zod.def));else{const h=s;h.fatal&&(h.continue=!1),h.code??(h.code="custom"),h.input??(h.input=c.value),h.inst??(h.inst=u),h.continue??(h.continue=!u._zod.def.abort),c.issues.push(Pp(h))}},a(c.value,c)));return u}function Ev(a,u={error:`Input not instance of ${a.name}`}){const c=new jb({type:"custom",check:"custom",fn:s=>s instanceof a,abort:!0,...Ge(u)});return c._zod.bag.Class=a,c}var pt;(function(a){a.ZodString="ZodString",a.ZodNumber="ZodNumber",a.ZodNaN="ZodNaN",a.ZodBigInt="ZodBigInt",a.ZodBoolean="ZodBoolean",a.ZodDate="ZodDate",a.ZodSymbol="ZodSymbol",a.ZodUndefined="ZodUndefined",a.ZodNull="ZodNull",a.ZodAny="ZodAny",a.ZodUnknown="ZodUnknown",a.ZodNever="ZodNever",a.ZodVoid="ZodVoid",a.ZodArray="ZodArray",a.ZodObject="ZodObject",a.ZodUnion="ZodUnion",a.ZodDiscriminatedUnion="ZodDiscriminatedUnion",a.ZodIntersection="ZodIntersection",a.ZodTuple="ZodTuple",a.ZodRecord="ZodRecord",a.ZodMap="ZodMap",a.ZodSet="ZodSet",a.ZodFunction="ZodFunction",a.ZodLazy="ZodLazy",a.ZodLiteral="ZodLiteral",a.ZodEnum="ZodEnum",a.ZodEffects="ZodEffects",a.ZodNativeEnum="ZodNativeEnum",a.ZodOptional="ZodOptional",a.ZodNullable="ZodNullable",a.ZodDefault="ZodDefault",a.ZodCatch="ZodCatch",a.ZodPromise="ZodPromise",a.ZodBranded="ZodBranded",a.ZodPipeline="ZodPipeline",a.ZodReadonly="ZodReadonly"})(pt||(pt={}));class wT extends Error{constructor(u,c){super(u),this.name="ParseError",this.type=c.type,this.field=c.field,this.value=c.value,this.line=c.line}}const zT=10,V_=13,gs=32;function Bb(a){}function G_(a){if(typeof a=="function")throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");const{onEvent:u=Bb,onError:c=Bb,onRetry:s=Bb,onComment:h}=a,y=[];let v=!0,b,T="",E=0,O;function R(k){if(v&&(v=!1,k.charCodeAt(0)===239&&k.charCodeAt(1)===187&&k.charCodeAt(2)===191&&(k=k.slice(3))),y.length===0){const ue=z(k);ue!==""&&y.push(ue);return}if(k.indexOf(`
|
|
350
|
+
`)===-1&&k.indexOf("\r")===-1){y.push(k);return}y.push(k);const q=y.join("");y.length=0;const D=z(q);D!==""&&y.push(D)}function z(k){let q=0;if(k.indexOf("\r")===-1){let D=k.indexOf(`
|
|
351
|
+
`,q);for(;D!==-1;){if(q===D){E>0&&u({id:b,event:O,data:T}),b=void 0,T="",E=0,O=void 0,q=D+1,D=k.indexOf(`
|
|
352
|
+
`,q);continue}const ue=k.charCodeAt(q);if(_T(k,q,ue)){const te=k.charCodeAt(q+5)===gs?q+6:q+5,Q=k.slice(te,D);if(E===0&&k.charCodeAt(D+1)===zT){u({id:b,event:O,data:Q}),b=void 0,T="",O=void 0,q=D+2,D=k.indexOf(`
|
|
353
|
+
`,q);continue}T=E===0?Q:`${T}
|
|
354
|
+
${Q}`,E++}else CT(k,q,ue)?O=k.slice(k.charCodeAt(q+6)===gs?q+7:q+6,D)||void 0:_(k,q,D);q=D+1,D=k.indexOf(`
|
|
355
|
+
`,q)}return k.slice(q)}for(;q<k.length;){const D=k.indexOf("\r",q),ue=k.indexOf(`
|
|
356
|
+
`,q);let te=-1;if(D!==-1&&ue!==-1?te=D<ue?D:ue:D!==-1?D===k.length-1?te=-1:te=D:ue!==-1&&(te=ue),te===-1)break;_(k,q,te),q=te+1,k.charCodeAt(q-1)===V_&&k.charCodeAt(q)===zT&&q++}return k.slice(q)}function _(k,q,D){if(q===D){ae();return}const ue=k.charCodeAt(q);if(_T(k,q,ue)){const He=k.charCodeAt(q+5)===gs?q+6:q+5,be=k.slice(He,D);T=E===0?be:`${T}
|
|
357
|
+
${be}`,E++;return}if(CT(k,q,ue)){O=k.slice(k.charCodeAt(q+6)===gs?q+7:q+6,D)||void 0;return}if(ue===105&&k.charCodeAt(q+1)===100&&k.charCodeAt(q+2)===58){const He=k.slice(k.charCodeAt(q+3)===gs?q+4:q+3,D);b=He.includes("\0")?void 0:He;return}if(ue===58){if(h){const He=k.slice(q,D);h(He.slice(k.charCodeAt(q+1)===gs?2:1))}return}const te=k.slice(q,D),Q=te.indexOf(":");if(Q===-1){Y(te,"",te);return}const he=te.slice(0,Q),_e=te.charCodeAt(Q+1)===gs?2:1,Se=te.slice(Q+_e);Y(he,Se,te)}function Y(k,q,D){switch(k){case"event":O=q||void 0;break;case"data":T=E===0?q:`${T}
|
|
358
|
+
${q}`,E++;break;case"id":b=q.includes("\0")?void 0:q;break;case"retry":/^\d+$/.test(q)?s(parseInt(q,10)):c(new wT(`Invalid \`retry\` value: "${q}"`,{type:"invalid-retry",value:q,line:D}));break;default:c(new wT(`Unknown field "${k.length>20?`${k.slice(0,20)}…`:k}"`,{type:"unknown-field",field:k,value:q,line:D}));break}}function ae(){E>0&&u({id:b,event:O,data:T}),b=void 0,T="",E=0,O=void 0}function G(k={}){if(k.consume&&y.length>0){const q=y.join("");_(q,0,q.length)}v=!0,b=void 0,T="",E=0,O=void 0,y.length=0}return{feed:R,reset:G}}function _T(a,u,c){return c===100&&a.charCodeAt(u+1)===97&&a.charCodeAt(u+2)===116&&a.charCodeAt(u+3)===97&&a.charCodeAt(u+4)===58}function CT(a,u,c){return c===101&&a.charCodeAt(u+1)===118&&a.charCodeAt(u+2)===101&&a.charCodeAt(u+3)===110&&a.charCodeAt(u+4)===116&&a.charCodeAt(u+5)===58}class X_ extends TransformStream{constructor({onError:u,onRetry:c,onComment:s}={}){let h;super({start(y){h=G_({onEvent:v=>{y.enqueue(v)},onError(v){u==="terminate"?y.error(v):typeof u=="function"&&u(v)},onRetry:c,onComment:s})},transform(y){h.feed(y)}})}}var em=({prefix:a,size:u=16,alphabet:c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:s="-"}={})=>{const h=()=>{const y=c.length,v=new Array(u);for(let b=0;b<u;b++)v[b]=c[Math.random()*y|0];return v.join("")};if(a==null)return h;if(c.includes(s))throw new ZO({argument:"separator",message:`The separator "${s}" must not be part of the alphabet "${c}".`});return()=>`${a}${s}${h()}`},Q_=em();function sd(a){if(a==null)return{};const u={};if(a instanceof Headers)a.forEach((c,s)=>{u[s.toLowerCase()]=c});else{Array.isArray(a)||(a=Object.entries(a));for(const[c,s]of a)s!=null&&(u[c.toLowerCase()]=s)}return u}var I_=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,J_=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function DT(a){const u=JSON.parse(a);return u===null||typeof u!="object"||I_.test(a)===!1&&J_.test(a)===!1?u:$_(u)}function $_(a){let u=[a];for(;u.length;){const c=u;u=[];for(const s of c){if(Object.prototype.hasOwnProperty.call(s,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(s,"constructor")&&s.constructor!==null&&typeof s.constructor=="object"&&Object.prototype.hasOwnProperty.call(s.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property");for(const h in s){const y=s[h];y&&typeof y=="object"&&u.push(y)}}}return a}function K_(a){const{stackTraceLimit:u}=Error;try{Error.stackTraceLimit=0}catch{return DT(a)}try{return DT(a)}finally{Error.stackTraceLimit=u}}function Lb(a){if(a.type==="object"||Array.isArray(a.type)&&a.type.includes("object")){a.additionalProperties=!1;const{properties:c}=a;if(c!=null)for(const s of Object.keys(c))c[s]=vs(c[s])}a.items!=null&&(a.items=Array.isArray(a.items)?a.items.map(vs):vs(a.items)),a.anyOf!=null&&(a.anyOf=a.anyOf.map(vs)),a.allOf!=null&&(a.allOf=a.allOf.map(vs)),a.oneOf!=null&&(a.oneOf=a.oneOf.map(vs));const{definitions:u}=a;if(u!=null)for(const c of Object.keys(u))u[c]=vs(u[c]);return a}function vs(a){return typeof a=="boolean"?a:Lb(a)}var P_=Symbol("Let zodToJsonSchema decide on which parser to use"),MT={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},F_=a=>typeof a=="string"?{...MT,name:a}:{...MT,...a};function Gl(){return{}}function W_(a,u){var c,s,h;const y={type:"array"};return(c=a.type)!=null&&c._def&&((h=(s=a.type)==null?void 0:s._def)==null?void 0:h.typeName)!==pt.ZodAny&&(y.items=Kt(a.type._def,{...u,currentPath:[...u.currentPath,"items"]})),a.minLength&&(y.minItems=a.minLength.value),a.maxLength&&(y.maxItems=a.maxLength.value),a.exactLength&&(y.minItems=a.exactLength.value,y.maxItems=a.exactLength.value),y}function eC(a){const u={type:"integer",format:"int64"};if(!a.checks)return u;for(const c of a.checks)switch(c.kind){case"min":c.inclusive?u.minimum=c.value:u.exclusiveMinimum=c.value;break;case"max":c.inclusive?u.maximum=c.value:u.exclusiveMaximum=c.value;break;case"multipleOf":u.multipleOf=c.value;break}return u}function tC(){return{type:"boolean"}}function NT(a,u){return Kt(a.type._def,u)}var nC=(a,u)=>Kt(a.innerType._def,u);function kT(a,u,c){const s=c??u.dateStrategy;if(Array.isArray(s))return{anyOf:s.map((h,y)=>kT(a,u,h))};switch(s){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return aC(a)}}var aC=a=>{const u={type:"integer",format:"unix-time"};for(const c of a.checks)switch(c.kind){case"min":u.minimum=c.value;break;case"max":u.maximum=c.value;break}return u};function lC(a,u){return{...Kt(a.innerType._def,u),default:a.defaultValue()}}function iC(a,u){return u.effectStrategy==="input"?Kt(a.schema._def,u):Gl()}function uC(a){return{type:"string",enum:Array.from(a.values)}}var rC=a=>"type"in a&&a.type==="string"?!1:"allOf"in a;function oC(a,u){const c=[Kt(a.left._def,{...u,currentPath:[...u.currentPath,"allOf","0"]}),Kt(a.right._def,{...u,currentPath:[...u.currentPath,"allOf","1"]})].filter(h=>!!h),s=[];return c.forEach(h=>{if(rC(h))s.push(...h.allOf);else{let y=h;if("additionalProperties"in h&&h.additionalProperties===!1){const{additionalProperties:v,...b}=h;y=b}s.push(y)}}),s.length?{allOf:s}:void 0}function cC(a){const u=typeof a.value;return u!=="bigint"&&u!=="number"&&u!=="boolean"&&u!=="string"?{type:Array.isArray(a.value)?"array":"object"}:{type:u==="bigint"?"integer":u,const:a.value}}var Zb=void 0,iu={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(Zb===void 0&&(Zb=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Zb),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function UT(a,u){const c={type:"string"};if(a.checks)for(const s of a.checks)switch(s.kind){case"min":c.minLength=typeof c.minLength=="number"?Math.max(c.minLength,s.value):s.value;break;case"max":c.maxLength=typeof c.maxLength=="number"?Math.min(c.maxLength,s.value):s.value;break;case"email":switch(u.emailStrategy){case"format:email":uu(c,"email",s.message,u);break;case"format:idn-email":uu(c,"idn-email",s.message,u);break;case"pattern:zod":al(c,iu.email,s.message,u);break}break;case"url":uu(c,"uri",s.message,u);break;case"uuid":uu(c,"uuid",s.message,u);break;case"regex":al(c,s.regex,s.message,u);break;case"cuid":al(c,iu.cuid,s.message,u);break;case"cuid2":al(c,iu.cuid2,s.message,u);break;case"startsWith":al(c,RegExp(`^${qb(s.value,u)}`),s.message,u);break;case"endsWith":al(c,RegExp(`${qb(s.value,u)}$`),s.message,u);break;case"datetime":uu(c,"date-time",s.message,u);break;case"date":uu(c,"date",s.message,u);break;case"time":uu(c,"time",s.message,u);break;case"duration":uu(c,"duration",s.message,u);break;case"length":c.minLength=typeof c.minLength=="number"?Math.max(c.minLength,s.value):s.value,c.maxLength=typeof c.maxLength=="number"?Math.min(c.maxLength,s.value):s.value;break;case"includes":{al(c,RegExp(qb(s.value,u)),s.message,u);break}case"ip":{s.version!=="v6"&&uu(c,"ipv4",s.message,u),s.version!=="v4"&&uu(c,"ipv6",s.message,u);break}case"base64url":al(c,iu.base64url,s.message,u);break;case"jwt":al(c,iu.jwt,s.message,u);break;case"cidr":{s.version!=="v6"&&al(c,iu.ipv4Cidr,s.message,u),s.version!=="v4"&&al(c,iu.ipv6Cidr,s.message,u);break}case"emoji":al(c,iu.emoji(),s.message,u);break;case"ulid":{al(c,iu.ulid,s.message,u);break}case"base64":{switch(u.base64Strategy){case"format:binary":{uu(c,"binary",s.message,u);break}case"contentEncoding:base64":{c.contentEncoding="base64";break}case"pattern:zod":{al(c,iu.base64,s.message,u);break}}break}case"nanoid":al(c,iu.nanoid,s.message,u)}return c}function qb(a,u){return u.patternStrategy==="escape"?fC(a):a}var sC=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function fC(a){let u="";for(let c=0;c<a.length;c++)sC.has(a[c])||(u+="\\"),u+=a[c];return u}function uu(a,u,c,s){var h;a.format||(h=a.anyOf)!=null&&h.some(y=>y.format)?(a.anyOf||(a.anyOf=[]),a.format&&(a.anyOf.push({format:a.format}),delete a.format),a.anyOf.push({format:u,...c&&s.errorMessages&&{errorMessage:{format:c}}})):a.format=u}function al(a,u,c,s){var h;a.pattern||(h=a.allOf)!=null&&h.some(y=>y.pattern)?(a.allOf||(a.allOf=[]),a.pattern&&(a.allOf.push({pattern:a.pattern}),delete a.pattern),a.allOf.push({pattern:HT(u,s),...c&&s.errorMessages&&{errorMessage:{pattern:c}}})):a.pattern=HT(u,s)}function HT(a,u){var c;if(!u.applyRegexFlags||!a.flags)return a.source;const s={i:a.flags.includes("i"),m:a.flags.includes("m"),s:a.flags.includes("s")},h=s.i?a.source.toLowerCase():a.source;let y="",v=!1,b=!1,T=!1;for(let E=0;E<h.length;E++){if(v){y+=h[E],v=!1;continue}if(s.i){if(b){if(h[E].match(/[a-z]/)){T?(y+=h[E],y+=`${h[E-2]}-${h[E]}`.toUpperCase(),T=!1):h[E+1]==="-"&&((c=h[E+2])!=null&&c.match(/[a-z]/))?(y+=h[E],T=!0):y+=`${h[E]}${h[E].toUpperCase()}`;continue}}else if(h[E].match(/[a-z]/)){y+=`[${h[E]}${h[E].toUpperCase()}]`;continue}}if(s.m){if(h[E]==="^"){y+=`(^|(?<=[\r
|
|
359
|
+
]))`;continue}else if(h[E]==="$"){y+=`($|(?=[\r
|
|
360
|
+
]))`;continue}}if(s.s&&h[E]==="."){y+=b?`${h[E]}\r
|
|
361
|
+
`:`[${h[E]}\r
|
|
362
|
+
]`;continue}y+=h[E],h[E]==="\\"?v=!0:b&&h[E]==="]"?b=!1:!b&&h[E]==="["&&(b=!0)}try{new RegExp(y)}catch{return console.warn(`Could not convert regex pattern at ${u.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),a.source}return y}function jT(a,u){var c,s,h,y,v,b;const T={type:"object",additionalProperties:(c=Kt(a.valueType._def,{...u,currentPath:[...u.currentPath,"additionalProperties"]}))!=null?c:u.allowedAdditionalProperties};if(((s=a.keyType)==null?void 0:s._def.typeName)===pt.ZodString&&((h=a.keyType._def.checks)!=null&&h.length)){const{type:E,...O}=UT(a.keyType._def,u);return{...T,propertyNames:O}}else{if(((y=a.keyType)==null?void 0:y._def.typeName)===pt.ZodEnum)return{...T,propertyNames:{enum:a.keyType._def.values}};if(((v=a.keyType)==null?void 0:v._def.typeName)===pt.ZodBranded&&a.keyType._def.type._def.typeName===pt.ZodString&&((b=a.keyType._def.type._def.checks)!=null&&b.length)){const{type:E,...O}=NT(a.keyType._def,u);return{...T,propertyNames:O}}}return T}function dC(a,u){if(u.mapStrategy==="record")return jT(a,u);const c=Kt(a.keyType._def,{...u,currentPath:[...u.currentPath,"items","items","0"]})||Gl(),s=Kt(a.valueType._def,{...u,currentPath:[...u.currentPath,"items","items","1"]})||Gl();return{type:"array",maxItems:125,items:{type:"array",items:[c,s],minItems:2,maxItems:2}}}function hC(a){const u=a.values,s=Object.keys(a.values).filter(y=>typeof u[u[y]]!="number").map(y=>u[y]),h=Array.from(new Set(s.map(y=>typeof y)));return{type:h.length===1?h[0]==="string"?"string":"number":["string","number"],enum:s}}function pC(){return{not:Gl()}}function mC(){return{type:"null"}}var Yb={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function yC(a,u){const c=a.options instanceof Map?Array.from(a.options.values()):a.options;if(c.every(s=>s._def.typeName in Yb&&(!s._def.checks||!s._def.checks.length))){const s=c.reduce((h,y)=>{const v=Yb[y._def.typeName];return v&&!h.includes(v)?[...h,v]:h},[]);return{type:s.length>1?s:s[0]}}else if(c.every(s=>s._def.typeName==="ZodLiteral"&&!s.description)){const s=c.reduce((h,y)=>{const v=typeof y._def.value;switch(v){case"string":case"number":case"boolean":return[...h,v];case"bigint":return[...h,"integer"];case"object":if(y._def.value===null)return[...h,"null"];case"symbol":case"undefined":case"function":default:return h}},[]);if(s.length===c.length){const h=s.filter((y,v,b)=>b.indexOf(y)===v);return{type:h.length>1?h:h[0],enum:c.reduce((y,v)=>y.includes(v._def.value)?y:[...y,v._def.value],[])}}}else if(c.every(s=>s._def.typeName==="ZodEnum"))return{type:"string",enum:c.reduce((s,h)=>[...s,...h._def.values.filter(y=>!s.includes(y))],[])};return gC(a,u)}var gC=(a,u)=>{const c=(a.options instanceof Map?Array.from(a.options.values()):a.options).map((s,h)=>Kt(s._def,{...u,currentPath:[...u.currentPath,"anyOf",`${h}`]})).filter(s=>!!s&&(!u.strictUnions||typeof s=="object"&&Object.keys(s).length>0));return c.length?{anyOf:c}:void 0};function vC(a,u){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(a.innerType._def.typeName)&&(!a.innerType._def.checks||!a.innerType._def.checks.length))return{type:[Yb[a.innerType._def.typeName],"null"]};const c=Kt(a.innerType._def,{...u,currentPath:[...u.currentPath,"anyOf","0"]});return c&&{anyOf:[c,{type:"null"}]}}function bC(a){const u={type:"number"};if(!a.checks)return u;for(const c of a.checks)switch(c.kind){case"int":u.type="integer";break;case"min":c.inclusive?u.minimum=c.value:u.exclusiveMinimum=c.value;break;case"max":c.inclusive?u.maximum=c.value:u.exclusiveMaximum=c.value;break;case"multipleOf":u.multipleOf=c.value;break}return u}function SC(a,u){const c={type:"object",properties:{}},s=[],h=a.shape();for(const v in h){let b=h[v];if(b===void 0||b._def===void 0)continue;const T=TC(b),E=Kt(b._def,{...u,currentPath:[...u.currentPath,"properties",v],propertyPath:[...u.currentPath,"properties",v]});E!==void 0&&(c.properties[v]=E,T||s.push(v))}s.length&&(c.required=s);const y=EC(a,u);return y!==void 0&&(c.additionalProperties=y),c}function EC(a,u){if(a.catchall._def.typeName!=="ZodNever")return Kt(a.catchall._def,{...u,currentPath:[...u.currentPath,"additionalProperties"]});switch(a.unknownKeys){case"passthrough":return u.allowedAdditionalProperties;case"strict":return u.rejectedAdditionalProperties;case"strip":return u.removeAdditionalStrategy==="strict"?u.allowedAdditionalProperties:u.rejectedAdditionalProperties}}function TC(a){try{return a.isOptional()}catch{return!0}}var AC=(a,u)=>{var c;if(u.currentPath.toString()===((c=u.propertyPath)==null?void 0:c.toString()))return Kt(a.innerType._def,u);const s=Kt(a.innerType._def,{...u,currentPath:[...u.currentPath,"anyOf","1"]});return s?{anyOf:[{not:Gl()},s]}:Gl()},xC=(a,u)=>{if(u.pipeStrategy==="input")return Kt(a.in._def,u);if(u.pipeStrategy==="output")return Kt(a.out._def,u);const c=Kt(a.in._def,{...u,currentPath:[...u.currentPath,"allOf","0"]}),s=Kt(a.out._def,{...u,currentPath:[...u.currentPath,"allOf",c?"1":"0"]});return{allOf:[c,s].filter(h=>h!==void 0)}};function OC(a,u){return Kt(a.type._def,u)}function RC(a,u){const s={type:"array",uniqueItems:!0,items:Kt(a.valueType._def,{...u,currentPath:[...u.currentPath,"items"]})};return a.minSize&&(s.minItems=a.minSize.value),a.maxSize&&(s.maxItems=a.maxSize.value),s}function wC(a,u){return a.rest?{type:"array",minItems:a.items.length,items:a.items.map((c,s)=>Kt(c._def,{...u,currentPath:[...u.currentPath,"items",`${s}`]})).reduce((c,s)=>s===void 0?c:[...c,s],[]),additionalItems:Kt(a.rest._def,{...u,currentPath:[...u.currentPath,"additionalItems"]})}:{type:"array",minItems:a.items.length,maxItems:a.items.length,items:a.items.map((c,s)=>Kt(c._def,{...u,currentPath:[...u.currentPath,"items",`${s}`]})).reduce((c,s)=>s===void 0?c:[...c,s],[])}}function zC(){return{not:Gl()}}function _C(){return Gl()}var CC=(a,u)=>Kt(a.innerType._def,u),DC=(a,u,c)=>{switch(u){case pt.ZodString:return UT(a,c);case pt.ZodNumber:return bC(a);case pt.ZodObject:return SC(a,c);case pt.ZodBigInt:return eC(a);case pt.ZodBoolean:return tC();case pt.ZodDate:return kT(a,c);case pt.ZodUndefined:return zC();case pt.ZodNull:return mC();case pt.ZodArray:return W_(a,c);case pt.ZodUnion:case pt.ZodDiscriminatedUnion:return yC(a,c);case pt.ZodIntersection:return oC(a,c);case pt.ZodTuple:return wC(a,c);case pt.ZodRecord:return jT(a,c);case pt.ZodLiteral:return cC(a);case pt.ZodEnum:return uC(a);case pt.ZodNativeEnum:return hC(a);case pt.ZodNullable:return vC(a,c);case pt.ZodOptional:return AC(a,c);case pt.ZodMap:return dC(a,c);case pt.ZodSet:return RC(a,c);case pt.ZodLazy:return()=>a.getter()._def;case pt.ZodPromise:return OC(a,c);case pt.ZodNaN:case pt.ZodNever:return pC();case pt.ZodEffects:return iC(a,c);case pt.ZodAny:return Gl();case pt.ZodUnknown:return _C();case pt.ZodDefault:return lC(a,c);case pt.ZodBranded:return NT(a,c);case pt.ZodReadonly:return CC(a,c);case pt.ZodCatch:return nC(a,c);case pt.ZodPipeline:return xC(a,c);case pt.ZodFunction:case pt.ZodVoid:case pt.ZodSymbol:return;default:return(s=>{})()}},MC=(a,u)=>{let c=0;for(;c<a.length&&c<u.length&&a[c]===u[c];c++);return[(a.length-c).toString(),...u.slice(c)].join("/")};function Kt(a,u,c=!1){var s;const h=u.seen.get(a);if(u.override){const T=(s=u.override)==null?void 0:s.call(u,a,u,h,c);if(T!==P_)return T}if(h&&!c){const T=NC(h,u);if(T!==void 0)return T}const y={def:a,path:u.currentPath,jsonSchema:void 0};u.seen.set(a,y);const v=DC(a,a.typeName,u),b=typeof v=="function"?Kt(v(),u):v;if(b&&kC(a,u,b),u.postProcess){const T=u.postProcess(b,a,u);return y.jsonSchema=b,T}return y.jsonSchema=b,b}var NC=(a,u)=>{switch(u.$refStrategy){case"root":return{$ref:a.path.join("/")};case"relative":return{$ref:MC(u.currentPath,a.path)};case"none":case"seen":return a.path.length<u.currentPath.length&&a.path.every((c,s)=>u.currentPath[s]===c)?(console.warn(`Recursive reference detected at ${u.currentPath.join("/")}! Defaulting to any`),Gl()):u.$refStrategy==="seen"?Gl():void 0}},kC=(a,u,c)=>(a.description&&(c.description=a.description),c),UC=a=>{const u=F_(a),c=u.name!==void 0?[...u.basePath,u.definitionPath,u.name]:u.basePath;return{...u,currentPath:c,propertyPath:void 0,seen:new Map(Object.entries(u.definitions).map(([s,h])=>[h._def,{def:h._def,path:[...u.basePath,u.definitionPath,s],jsonSchema:void 0}]))}},HC=(a,u)=>{var c;const s=UC(u);let h=typeof u=="object"&&u.definitions?Object.entries(u.definitions).reduce((E,[O,R])=>{var z;return{...E,[O]:(z=Kt(R._def,{...s,currentPath:[...s.basePath,s.definitionPath,O]},!0))!=null?z:Gl()}},{}):void 0;const y=typeof u=="string"?u:(u==null?void 0:u.nameStrategy)==="title"||u==null?void 0:u.name,v=(c=Kt(a._def,y===void 0?s:{...s,currentPath:[...s.basePath,s.definitionPath,y]},!1))!=null?c:Gl(),b=typeof u=="object"&&u.name!==void 0&&u.nameStrategy==="title"?u.name:void 0;b!==void 0&&(v.title=b);const T=y===void 0?h?{...v,[s.definitionPath]:h}:v:{$ref:[...s.$refStrategy==="relative"?[]:s.basePath,s.definitionPath,y].join("/"),[s.definitionPath]:{...h,[y]:v}};return T.$schema="http://json-schema.org/draft-07/schema#",T},Vb=Symbol.for("vercel.ai.schema");function jC(a){let u;return()=>(u==null&&(u=a()),u)}function Tv(a,{validate:u}={}){return{[Vb]:!0,_type:void 0,get jsonSchema(){return typeof a=="function"&&(a=a()),a},validate:u}}function BC(a){return typeof a=="object"&&a!==null&&Vb in a&&a[Vb]===!0&&"jsonSchema"in a&&"validate"in a}function Gb(a){return a==null?Tv({properties:{},additionalProperties:!1}):BC(a)?a:"~standard"in a?a["~standard"].vendor==="zod"?BT(a):LC(a):a()}function LC(a){return Tv(()=>Lb(a["~standard"].jsonSchema.input({target:"draft-07"})),{validate:async u=>{const c=await a["~standard"].validate(u);return"value"in c?{success:!0,value:c.value}:{success:!1,error:new od({value:u,cause:c.issues})}}})}function ZC(a,u){var c;const s=(c=void 0)!=null?c:!1;return Tv(()=>HC(a,{$refStrategy:s?"root":"none"}),{validate:async h=>{const y=await a.safeParseAsync(h);return y.success?{success:!0,value:y.data}:{success:!1,error:y.error}}})}function qC(a,u){var c;const s=(c=void 0)!=null?c:!1;return Tv(()=>Lb(Uz(a,{target:"draft-7",io:"input",reused:s?"ref":"inline"})),{validate:async h=>{const y=await dT(a,h);return y.success?{success:!0,value:y.data}:{success:!1,error:y.error}}})}function YC(a){return"_zod"in a}function BT(a,u){return YC(a)?qC(a):ZC(a)}async function LT({value:a,schema:u,context:c}){const s=await tm({value:a,schema:u,context:c});if(!s.success)throw od.wrap({value:a,cause:s.error,context:c});return s.value}async function tm({value:a,schema:u,context:c}){const s=Gb(u);try{if(s.validate==null)return{success:!0,value:a,rawValue:a};const h=await s.validate(a);return h.success?{success:!0,value:h.value,rawValue:a}:{success:!1,error:od.wrap({value:a,cause:h.error,context:c}),rawValue:a}}catch(h){return{success:!1,error:od.wrap({value:a,cause:h,context:c}),rawValue:a}}}async function bs({text:a,schema:u}){try{const c=K_(a);return u==null?{success:!0,value:c,rawValue:c}:await tm({value:c,schema:u})}catch(c){return{success:!1,error:RE.isInstance(c)?c:new RE({text:a,cause:c}),rawValue:void 0}}}function VC({stream:a,schema:u}){return a.pipeThrough(new TextDecoderStream).pipeThrough(new X_).pipeThrough(new TransformStream({async transform({data:c},s){c!=="[DONE]"&&s.enqueue(await bs({text:c,schema:u}))}}))}async function Jo(a){return typeof a=="function"&&(a=a()),Promise.resolve(a)}var GC=Object.defineProperty,XC=(a,u)=>{for(var c in u)GC(a,c,{get:u[c],enumerable:!0})},ZT="AI_NoObjectGeneratedError",qT=`vercel.ai.error.${ZT}`,QC=Symbol.for(qT),YT,$o=class extends Zu{constructor({message:a="No object generated.",cause:u,text:c,response:s,usage:h,finishReason:y}){super({name:ZT,message:a,cause:u}),this[YT]=!0,this.text=c,this.response=s,this.usage=h,this.finishReason=y}static isInstance(a){return Zu.hasMarker(a,qT)}};YT=QC;var VT="AI_UIMessageStreamError",GT=`vercel.ai.error.${VT}`,IC=Symbol.for(GT),XT,fd=class extends Zu{constructor({chunkType:a,chunkId:u,message:c}){super({name:VT,message:c}),this[XT]=!0,this.chunkType=a,this.chunkId=u}static isInstance(a){return Zu.hasMarker(a,GT)}};XT=IC;var QT=nl([Me(),Ev(Uint8Array),Ev(ArrayBuffer),RT(a=>{var u,c;return(c=(u=globalThis.Buffer)==null?void 0:u.isBuffer(a))!=null?c:!1},{message:"Must be a Buffer"})]),Ss=L_(()=>nl([m_(),Me(),f_(),tl(),ys(Me(),Ss.optional()),cd(Ss)])),wt=ys(Me(),ys(Me(),Ss.optional())),IT=Wt({type:We("text"),text:Me(),providerOptions:wt.optional()}),JC=Wt({type:We("image"),image:nl([QT,Ev(URL)]),mediaType:Me().optional(),providerOptions:wt.optional()}),JT=Wt({type:We("file"),data:nl([QT,Ev(URL)]),filename:Me().optional(),mediaType:Me(),providerOptions:wt.optional()}),$C=Wt({type:We("reasoning"),text:Me(),providerOptions:wt.optional()}),KC=Wt({type:We("tool-call"),toolCallId:Me(),toolName:Me(),input:qu(),providerOptions:wt.optional(),providerExecuted:tl().optional()}),PC=S_("type",[Wt({type:We("text"),value:Me(),providerOptions:wt.optional()}),Wt({type:We("json"),value:Ss,providerOptions:wt.optional()}),Wt({type:We("execution-denied"),reason:Me().optional(),providerOptions:wt.optional()}),Wt({type:We("error-text"),value:Me(),providerOptions:wt.optional()}),Wt({type:We("error-json"),value:Ss,providerOptions:wt.optional()}),Wt({type:We("content"),value:cd(nl([Wt({type:We("text"),text:Me(),providerOptions:wt.optional()}),Wt({type:We("media"),data:Me(),mediaType:Me()}),Wt({type:We("file-data"),data:Me(),mediaType:Me(),filename:Me().optional(),providerOptions:wt.optional()}),Wt({type:We("file-url"),url:Me(),providerOptions:wt.optional()}),Wt({type:We("file-id"),fileId:nl([Me(),ys(Me(),Me())]),providerOptions:wt.optional()}),Wt({type:We("image-data"),data:Me(),mediaType:Me(),providerOptions:wt.optional()}),Wt({type:We("image-url"),url:Me(),providerOptions:wt.optional()}),Wt({type:We("image-file-id"),fileId:nl([Me(),ys(Me(),Me())]),providerOptions:wt.optional()}),Wt({type:We("custom"),providerOptions:wt.optional()})]))})]),$T=Wt({type:We("tool-result"),toolCallId:Me(),toolName:Me(),output:PC,providerOptions:wt.optional()}),FC=Wt({type:We("tool-approval-request"),approvalId:Me(),toolCallId:Me()}),WC=Wt({type:We("tool-approval-response"),approvalId:Me(),approved:tl(),reason:Me().optional()}),eD=Wt({role:We("system"),content:Me(),providerOptions:wt.optional()}),tD=Wt({role:We("user"),content:nl([Me(),cd(nl([IT,JC,JT]))]),providerOptions:wt.optional()}),nD=Wt({role:We("assistant"),content:nl([Me(),cd(nl([IT,JT,$C,KC,$T,FC]))]),providerOptions:wt.optional()}),aD=Wt({role:We("tool"),content:cd(nl([$T,WC])),providerOptions:wt.optional()});nl([eD,tD,nD,aD]);function KT(a,u){if(a===void 0&&u===void 0)return;if(a===void 0)return u;if(u===void 0)return a;const c={...a};for(const s in u)if(!(s==="__proto__"||s==="constructor"||s==="prototype")&&Object.prototype.hasOwnProperty.call(u,s)){const h=u[s];if(h===void 0)continue;const y=s in a?a[s]:void 0,v=h!==null&&typeof h=="object"&&!Array.isArray(h)&&!(h instanceof Date)&&!(h instanceof RegExp),b=y!=null&&typeof y=="object"&&!Array.isArray(y)&&!(y instanceof Date)&&!(y instanceof RegExp);v&&b?c[s]=KT(y,h):c[s]=h}return c}var lD={};XC(lD,{array:()=>oD,choice:()=>cD,json:()=>sD,object:()=>rD,text:()=>uD});function iD(a){const u=["ROOT"];let c=-1,s=null;function h(T,E,O){switch(T){case'"':{c=E,u.pop(),u.push(O),u.push("INSIDE_STRING");break}case"f":case"t":case"n":{c=E,s=E,u.pop(),u.push(O),u.push("INSIDE_LITERAL");break}case"-":{u.pop(),u.push(O),u.push("INSIDE_NUMBER");break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{c=E,u.pop(),u.push(O),u.push("INSIDE_NUMBER");break}case"{":{c=E,u.pop(),u.push(O),u.push("INSIDE_OBJECT_START");break}case"[":{c=E,u.pop(),u.push(O),u.push("INSIDE_ARRAY_START");break}}}function y(T,E){switch(T){case",":{u.pop(),u.push("INSIDE_OBJECT_AFTER_COMMA");break}case"}":{c=E,u.pop();break}}}function v(T,E){switch(T){case",":{u.pop(),u.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{c=E,u.pop();break}}}for(let T=0;T<a.length;T++){const E=a[T];switch(u[u.length-1]){case"ROOT":h(E,T,"FINISH");break;case"INSIDE_OBJECT_START":{switch(E){case'"':{u.pop(),u.push("INSIDE_OBJECT_KEY");break}case"}":{c=T,u.pop();break}}break}case"INSIDE_OBJECT_AFTER_COMMA":{switch(E){case'"':{u.pop(),u.push("INSIDE_OBJECT_KEY");break}}break}case"INSIDE_OBJECT_KEY":{switch(E){case'"':{u.pop(),u.push("INSIDE_OBJECT_AFTER_KEY");break}}break}case"INSIDE_OBJECT_AFTER_KEY":{switch(E){case":":{u.pop(),u.push("INSIDE_OBJECT_BEFORE_VALUE");break}}break}case"INSIDE_OBJECT_BEFORE_VALUE":{h(E,T,"INSIDE_OBJECT_AFTER_VALUE");break}case"INSIDE_OBJECT_AFTER_VALUE":{y(E,T);break}case"INSIDE_STRING":{switch(E){case'"':{u.pop(),c=T;break}case"\\":{u.push("INSIDE_STRING_ESCAPE");break}default:c=T}break}case"INSIDE_ARRAY_START":{switch(E){case"]":{c=T,u.pop();break}default:{c=T,h(E,T,"INSIDE_ARRAY_AFTER_VALUE");break}}break}case"INSIDE_ARRAY_AFTER_VALUE":{switch(E){case",":{u.pop(),u.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{c=T,u.pop();break}default:{c=T;break}}break}case"INSIDE_ARRAY_AFTER_COMMA":{h(E,T,"INSIDE_ARRAY_AFTER_VALUE");break}case"INSIDE_STRING_ESCAPE":{u.pop(),c=T;break}case"INSIDE_NUMBER":{switch(E){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{c=T;break}case"e":case"E":case"-":case".":break;case",":{u.pop(),u[u.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&v(E,T),u[u.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&y(E,T);break}case"}":{u.pop(),u[u.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&y(E,T);break}case"]":{u.pop(),u[u.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&v(E,T);break}default:{u.pop();break}}break}case"INSIDE_LITERAL":{const R=a.substring(s,T+1);!"false".startsWith(R)&&!"true".startsWith(R)&&!"null".startsWith(R)?(u.pop(),u[u.length-1]==="INSIDE_OBJECT_AFTER_VALUE"?y(E,T):u[u.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&v(E,T)):c=T;break}}}let b=a.slice(0,c+1);for(let T=u.length-1;T>=0;T--)switch(u[T]){case"INSIDE_STRING":{b+='"';break}case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":{b+="}";break}case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":{b+="]";break}case"INSIDE_LITERAL":{const O=a.substring(s,a.length);"true".startsWith(O)?b+="true".slice(O.length):"false".startsWith(O)?b+="false".slice(O.length):"null".startsWith(O)&&(b+="null".slice(O.length))}}return b}async function nm(a){if(a===void 0)return{value:void 0,state:"undefined-input"};let u=await bs({text:a});return u.success?{value:u.value,state:"successful-parse"}:(u=await bs({text:iD(a)}),u.success?{value:u.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}var uD=()=>({name:"text",responseFormat:Promise.resolve({type:"text"}),async parseCompleteOutput({text:a}){return a},async parsePartialOutput({text:a}){return{partial:a}},createElementStreamTransform(){}}),rD=({schema:a,name:u,description:c})=>{const s=Gb(a);return{name:"object",responseFormat:Jo(s.jsonSchema).then(h=>({type:"json",schema:h,...u!=null&&{name:u},...c!=null&&{description:c}})),async parseCompleteOutput({text:h},y){const v=await bs({text:h});if(!v.success)throw new $o({message:"No object generated: could not parse the response.",cause:v.error,text:h,response:y.response,usage:y.usage,finishReason:y.finishReason});const b=await tm({value:v.value,schema:s});if(!b.success)throw new $o({message:"No object generated: response did not match schema.",cause:b.error,text:h,response:y.response,usage:y.usage,finishReason:y.finishReason});return b.value},async parsePartialOutput({text:h}){const y=await nm(h);switch(y.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:y.value}}},createElementStreamTransform(){}}},oD=({element:a,name:u,description:c})=>{const s=Gb(a);return{name:"array",responseFormat:Jo(s.jsonSchema).then(h=>{const{$schema:y,...v}=h;return{type:"json",schema:{$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{elements:{type:"array",items:v}},required:["elements"],additionalProperties:!1},...u!=null&&{name:u},...c!=null&&{description:c}}}),async parseCompleteOutput({text:h},y){const v=await bs({text:h});if(!v.success)throw new $o({message:"No object generated: could not parse the response.",cause:v.error,text:h,response:y.response,usage:y.usage,finishReason:y.finishReason});const b=v.value;if(b==null||typeof b!="object"||!("elements"in b)||!Array.isArray(b.elements))throw new $o({message:"No object generated: response did not match schema.",cause:new od({value:b,cause:"response must be an object with an elements array"}),text:h,response:y.response,usage:y.usage,finishReason:y.finishReason});for(const T of b.elements){const E=await tm({value:T,schema:s});if(!E.success)throw new $o({message:"No object generated: response did not match schema.",cause:E.error,text:h,response:y.response,usage:y.usage,finishReason:y.finishReason})}return b.elements},async parsePartialOutput({text:h}){const y=await nm(h);switch(y.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":{const v=y.value;if(v==null||typeof v!="object"||!("elements"in v)||!Array.isArray(v.elements))return;const b=y.state==="repaired-parse"&&v.elements.length>0?v.elements.slice(0,-1):v.elements,T=[];for(const E of b){const O=await tm({value:E,schema:s});O.success&&T.push(O.value)}return{partial:T}}}},createElementStreamTransform(){let h=0;return new TransformStream({transform({partialOutput:y},v){if(y!=null)for(;h<y.length;h++)v.enqueue(y[h])}})}}},cD=({options:a,name:u,description:c})=>({name:"choice",responseFormat:Promise.resolve({type:"json",schema:{$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{result:{type:"string",enum:a}},required:["result"],additionalProperties:!1},...u!=null&&{name:u},...c!=null&&{description:c}}),async parseCompleteOutput({text:s},h){const y=await bs({text:s});if(!y.success)throw new $o({message:"No object generated: could not parse the response.",cause:y.error,text:s,response:h.response,usage:h.usage,finishReason:h.finishReason});const v=y.value;if(v==null||typeof v!="object"||!("result"in v)||typeof v.result!="string"||!a.includes(v.result))throw new $o({message:"No object generated: response did not match schema.",cause:new od({value:v,cause:"response must be an object that contains a choice value."}),text:s,response:h.response,usage:h.usage,finishReason:h.finishReason});return v.result},async parsePartialOutput({text:s}){const h=await nm(s);switch(h.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":{const y=h.value;if(y==null||typeof y!="object"||!("result"in y)||typeof y.result!="string")return;const v=a.filter(b=>b.startsWith(y.result));return h.state==="successful-parse"?v.includes(y.result)?{partial:y.result}:void 0:v.length===1?{partial:v[0]}:void 0}}},createElementStreamTransform(){}}),sD=({name:a,description:u}={})=>({name:"json",responseFormat:Promise.resolve({type:"json",...a!=null&&{name:a},...u!=null&&{description:u}}),async parseCompleteOutput({text:c},s){const h=await bs({text:c});if(!h.success)throw new $o({message:"No object generated: could not parse the response.",cause:h.error,text:c,response:s.response,usage:s.usage,finishReason:s.finishReason});return h.value},async parsePartialOutput({text:c}){const s=await nm(c);switch(s.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return s.value===void 0?void 0:{partial:s.value}}},createElementStreamTransform(){}});em({prefix:"aitxt",size:24}),class extends TransformStream{constructor(){super({transform(a,u){u.enqueue(`data: ${JSON.stringify(a)}
|
|
363
|
+
|
|
364
|
+
`)},flush(a){a.enqueue(`data: [DONE]
|
|
365
|
+
|
|
366
|
+
`)}})}};var am=ys(Me(),Ss.optional()),fD=jC(()=>BT(nl([dn({type:We("text-start"),id:Me(),providerMetadata:wt.optional()}),dn({type:We("text-delta"),id:Me(),delta:Me(),providerMetadata:wt.optional()}),dn({type:We("text-end"),id:Me(),providerMetadata:wt.optional()}),dn({type:We("error"),errorText:Me()}),dn({type:We("tool-input-start"),toolCallId:Me(),toolName:Me(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional(),title:Me().optional()}),dn({type:We("tool-input-delta"),toolCallId:Me(),inputTextDelta:Me()}),dn({type:We("tool-input-available"),toolCallId:Me(),toolName:Me(),input:qu(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional(),title:Me().optional()}),dn({type:We("tool-input-error"),toolCallId:Me(),toolName:Me(),input:qu(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional(),errorText:Me(),title:Me().optional()}),dn({type:We("tool-approval-request"),approvalId:Me(),toolCallId:Me()}),dn({type:We("tool-output-available"),toolCallId:Me(),output:qu(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional(),preliminary:tl().optional()}),dn({type:We("tool-output-error"),toolCallId:Me(),errorText:Me(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional()}),dn({type:We("tool-output-denied"),toolCallId:Me()}),dn({type:We("reasoning-start"),id:Me(),providerMetadata:wt.optional()}),dn({type:We("reasoning-delta"),id:Me(),delta:Me(),providerMetadata:wt.optional()}),dn({type:We("reasoning-end"),id:Me(),providerMetadata:wt.optional()}),dn({type:We("source-url"),sourceId:Me(),url:Me(),title:Me().optional(),providerMetadata:wt.optional()}),dn({type:We("source-document"),sourceId:Me(),mediaType:Me(),title:Me(),filename:Me().optional(),providerMetadata:wt.optional()}),dn({type:We("file"),url:Me(),mediaType:Me(),providerMetadata:wt.optional()}),dn({type:RT(a=>typeof a=="string"&&a.startsWith("data-"),{message:'Type must start with "data-"'}),id:Me().optional(),data:qu(),transient:tl().optional()}),dn({type:We("start-step")}),dn({type:We("finish-step")}),dn({type:We("start"),messageId:Me().optional(),messageMetadata:qu().optional()}),dn({type:We("finish"),finishReason:ST(["stop","length","content-filter","tool-calls","error","other"]).optional(),messageMetadata:qu().optional()}),dn({type:We("abort"),reason:Me().optional()}),dn({type:We("message-metadata"),messageMetadata:qu()})])));function dD(a){return a.type.startsWith("data-")}function Av(a){return a.type==="text"}function Xb(a){return a.type.startsWith("tool-")}function PT(a){return a.type==="dynamic-tool"}function lm(a){return Xb(a)||PT(a)}function Qb(a){return a.type.split("-").slice(1).join("-")}function hD(a){return PT(a)?a.toolName:Qb(a)}function pD({lastMessage:a,messageId:u}){return{message:(a==null?void 0:a.role)==="assistant"?a:{id:u,metadata:void 0,role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}function mD({stream:a,messageMetadataSchema:u,dataPartSchemas:c,runUpdateMessageJob:s,onError:h,onToolCall:y,onData:v}){return a.pipeThrough(new TransformStream({async transform(b,T){await s(async({state:E,write:O})=>{var R,z,_,Y;function ae(D){const te=E.message.parts.filter(lm).find(Q=>Q.toolCallId===D);if(te==null)throw new fd({chunkType:"tool-invocation",chunkId:D,message:`No tool invocation found for tool call ID "${D}".`});return te}function G(D){var ue;const te=E.message.parts.find(_e=>Xb(_e)&&_e.toolCallId===D.toolCallId),Q=D,he=te;if(te!=null){te.state=D.state,he.input=Q.input,he.output=Q.output,he.errorText=Q.errorText,he.rawInput=Q.rawInput,he.preliminary=Q.preliminary,D.title!==void 0&&(he.title=D.title),D.toolMetadata!==void 0&&(he.toolMetadata=D.toolMetadata),he.providerExecuted=(ue=Q.providerExecuted)!=null?ue:te.providerExecuted;const _e=Q.providerMetadata;if(_e!=null)if(D.state==="output-available"||D.state==="output-error"){const Se=te;Se.resultProviderMetadata=_e}else te.callProviderMetadata=_e}else E.message.parts.push({type:`tool-${D.toolName}`,toolCallId:D.toolCallId,state:D.state,title:D.title,...D.toolMetadata!==void 0?{toolMetadata:D.toolMetadata}:{},input:Q.input,output:Q.output,rawInput:Q.rawInput,errorText:Q.errorText,providerExecuted:Q.providerExecuted,preliminary:Q.preliminary,...Q.providerMetadata!=null&&(D.state==="output-available"||D.state==="output-error")?{resultProviderMetadata:Q.providerMetadata}:{},...Q.providerMetadata!=null&&!(D.state==="output-available"||D.state==="output-error")?{callProviderMetadata:Q.providerMetadata}:{}})}function k(D){var ue,te;const Q=E.message.parts.find(Se=>Se.type==="dynamic-tool"&&Se.toolCallId===D.toolCallId),he=D,_e=Q;if(Q!=null){Q.state=D.state,_e.toolName=D.toolName,_e.input=he.input,_e.output=he.output,_e.errorText=he.errorText,_e.rawInput=(ue=he.rawInput)!=null?ue:_e.rawInput,_e.preliminary=he.preliminary,D.title!==void 0&&(_e.title=D.title),D.toolMetadata!==void 0&&(_e.toolMetadata=D.toolMetadata),_e.providerExecuted=(te=he.providerExecuted)!=null?te:Q.providerExecuted;const Se=he.providerMetadata;if(Se!=null)if(D.state==="output-available"||D.state==="output-error"){const He=Q;He.resultProviderMetadata=Se}else Q.callProviderMetadata=Se}else E.message.parts.push({type:"dynamic-tool",toolName:D.toolName,toolCallId:D.toolCallId,state:D.state,input:he.input,output:he.output,errorText:he.errorText,preliminary:he.preliminary,providerExecuted:he.providerExecuted,title:D.title,...D.toolMetadata!==void 0?{toolMetadata:D.toolMetadata}:{},...he.providerMetadata!=null&&(D.state==="output-available"||D.state==="output-error")?{resultProviderMetadata:he.providerMetadata}:{},...he.providerMetadata!=null&&!(D.state==="output-available"||D.state==="output-error")?{callProviderMetadata:he.providerMetadata}:{}})}async function q(D){if(D!=null){const ue=E.message.metadata!=null?KT(E.message.metadata,D):D;u!=null&&await LT({value:ue,schema:u,context:{field:"message.metadata",entityId:E.message.id}}),E.message.metadata=ue}}switch(b.type){case"text-start":{const D={type:"text",text:"",providerMetadata:b.providerMetadata,state:"streaming"};E.activeTextParts[b.id]=D,E.message.parts.push(D),O();break}case"text-delta":{const D=E.activeTextParts[b.id];if(D==null)throw new fd({chunkType:"text-delta",chunkId:b.id,message:`Received text-delta for missing text part with ID "${b.id}". Ensure a "text-start" chunk is sent before any "text-delta" chunks.`});D.text+=b.delta,D.providerMetadata=(R=b.providerMetadata)!=null?R:D.providerMetadata,O();break}case"text-end":{const D=E.activeTextParts[b.id];if(D==null)throw new fd({chunkType:"text-end",chunkId:b.id,message:`Received text-end for missing text part with ID "${b.id}". Ensure a "text-start" chunk is sent before any "text-end" chunks.`});D.state="done",D.providerMetadata=(z=b.providerMetadata)!=null?z:D.providerMetadata,delete E.activeTextParts[b.id],O();break}case"reasoning-start":{const D={type:"reasoning",text:"",providerMetadata:b.providerMetadata,state:"streaming"};E.activeReasoningParts[b.id]=D,E.message.parts.push(D),O();break}case"reasoning-delta":{const D=E.activeReasoningParts[b.id];if(D==null)throw new fd({chunkType:"reasoning-delta",chunkId:b.id,message:`Received reasoning-delta for missing reasoning part with ID "${b.id}". Ensure a "reasoning-start" chunk is sent before any "reasoning-delta" chunks.`});D.text+=b.delta,D.providerMetadata=(_=b.providerMetadata)!=null?_:D.providerMetadata,O();break}case"reasoning-end":{const D=E.activeReasoningParts[b.id];if(D==null)throw new fd({chunkType:"reasoning-end",chunkId:b.id,message:`Received reasoning-end for missing reasoning part with ID "${b.id}". Ensure a "reasoning-start" chunk is sent before any "reasoning-end" chunks.`});D.providerMetadata=(Y=b.providerMetadata)!=null?Y:D.providerMetadata,D.state="done",delete E.activeReasoningParts[b.id],O();break}case"file":{E.message.parts.push({type:"file",mediaType:b.mediaType,url:b.url,...b.providerMetadata!=null?{providerMetadata:b.providerMetadata}:{}}),O();break}case"source-url":{E.message.parts.push({type:"source-url",sourceId:b.sourceId,url:b.url,title:b.title,providerMetadata:b.providerMetadata}),O();break}case"source-document":{E.message.parts.push({type:"source-document",sourceId:b.sourceId,mediaType:b.mediaType,title:b.title,filename:b.filename,providerMetadata:b.providerMetadata}),O();break}case"tool-input-start":{const D=E.message.parts.filter(Xb);E.partialToolCalls[b.toolCallId]={text:"",toolName:b.toolName,index:D.length,dynamic:b.dynamic,title:b.title,toolMetadata:b.toolMetadata},b.dynamic?k({toolCallId:b.toolCallId,toolName:b.toolName,state:"input-streaming",input:void 0,providerExecuted:b.providerExecuted,title:b.title,toolMetadata:b.toolMetadata,providerMetadata:b.providerMetadata}):G({toolCallId:b.toolCallId,toolName:b.toolName,state:"input-streaming",input:void 0,providerExecuted:b.providerExecuted,title:b.title,toolMetadata:b.toolMetadata,providerMetadata:b.providerMetadata}),O();break}case"tool-input-delta":{const D=E.partialToolCalls[b.toolCallId];if(D==null)throw new fd({chunkType:"tool-input-delta",chunkId:b.toolCallId,message:`Received tool-input-delta for missing tool call with ID "${b.toolCallId}". Ensure a "tool-input-start" chunk is sent before any "tool-input-delta" chunks.`});D.text+=b.inputTextDelta;const{value:ue}=await nm(D.text);D.dynamic?k({toolCallId:b.toolCallId,toolName:D.toolName,state:"input-streaming",input:ue,title:D.title,toolMetadata:D.toolMetadata}):G({toolCallId:b.toolCallId,toolName:D.toolName,state:"input-streaming",input:ue,title:D.title,toolMetadata:D.toolMetadata}),O();break}case"tool-input-available":{b.dynamic?k({toolCallId:b.toolCallId,toolName:b.toolName,state:"input-available",input:b.input,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:b.title,toolMetadata:b.toolMetadata}):G({toolCallId:b.toolCallId,toolName:b.toolName,state:"input-available",input:b.input,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:b.title,toolMetadata:b.toolMetadata}),O(),y&&!b.providerExecuted&&await y({toolCall:b});break}case"tool-input-error":{const D=E.message.parts.filter(lm).find(te=>te.toolCallId===b.toolCallId);(D!=null?D.type==="dynamic-tool":!!b.dynamic)?k({toolCallId:b.toolCallId,toolName:b.toolName,state:"output-error",input:b.input,errorText:b.errorText,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,toolMetadata:b.toolMetadata}):G({toolCallId:b.toolCallId,toolName:b.toolName,state:"output-error",input:void 0,rawInput:b.input,errorText:b.errorText,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,toolMetadata:b.toolMetadata}),O();break}case"tool-approval-request":{const D=ae(b.toolCallId);D.state="approval-requested",D.approval={id:b.approvalId},O();break}case"tool-output-denied":{const D=ae(b.toolCallId);D.state="output-denied",O();break}case"tool-output-available":{const D=ae(b.toolCallId);D.type==="dynamic-tool"?k({toolCallId:b.toolCallId,toolName:D.toolName,state:"output-available",input:D.input,output:b.output,preliminary:b.preliminary,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:D.title,toolMetadata:D.toolMetadata}):G({toolCallId:b.toolCallId,toolName:Qb(D),state:"output-available",input:D.input,output:b.output,providerExecuted:b.providerExecuted,preliminary:b.preliminary,providerMetadata:b.providerMetadata,title:D.title,toolMetadata:D.toolMetadata}),O();break}case"tool-output-error":{const D=ae(b.toolCallId);D.type==="dynamic-tool"?k({toolCallId:b.toolCallId,toolName:D.toolName,state:"output-error",input:D.input,errorText:b.errorText,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:D.title,toolMetadata:D.toolMetadata}):G({toolCallId:b.toolCallId,toolName:Qb(D),state:"output-error",input:D.input,rawInput:D.rawInput,errorText:b.errorText,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:D.title,toolMetadata:D.toolMetadata}),O();break}case"start-step":{E.message.parts.push({type:"step-start"});break}case"finish-step":{E.activeTextParts={},E.activeReasoningParts={};break}case"start":{b.messageId!=null&&(E.message.id=b.messageId),await q(b.messageMetadata),(b.messageId!=null||b.messageMetadata!=null)&&O();break}case"finish":{b.finishReason!=null&&(E.finishReason=b.finishReason),await q(b.messageMetadata),b.messageMetadata!=null&&O();break}case"message-metadata":{await q(b.messageMetadata),b.messageMetadata!=null&&O();break}case"error":{h==null||h(new Error(b.errorText));break}default:if(dD(b)){if((c==null?void 0:c[b.type])!=null){const te=E.message.parts.findIndex(he=>"id"in he&&"data"in he&&he.id===b.id&&he.type===b.type),Q=te>=0?te:E.message.parts.length;await LT({value:b.data,schema:c[b.type],context:{field:`message.parts[${Q}].data`,entityName:b.type,entityId:b.id}})}const D=b;if(D.transient){v==null||v(D);break}const ue=D.id!=null?E.message.parts.find(te=>D.type===te.type&&D.id===te.id):void 0;ue!=null?ue.data=D.data:E.message.parts.push(D),v==null||v(D),O()}}T.enqueue(b)})}}))}async function yD({stream:a,onError:u}){const c=a.getReader();try{for(;;){const{done:s}=await c.read();if(s)break}}catch(s){u==null||u(s)}finally{c.releaseLock()}}em({prefix:"aitxt",size:24}),ys(Me(),Ss.optional()),em({prefix:"aiobj",size:24});var gD=class{constructor(){this.queue=[],this.isProcessing=!1}async processQueue(){if(!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;)await this.queue[0](),this.queue.shift();this.isProcessing=!1}}async run(a){return new Promise((u,c)=>{this.queue.push(async()=>{try{await a(),u()}catch(s){c(s)}}),this.processQueue()})}};em({prefix:"aiobj",size:24});async function vD(a){if(a==null)return[];if(!globalThis.FileList||!(a instanceof globalThis.FileList))throw new Error("FileList is not supported in the current environment");return Promise.all(Array.from(a).map(async u=>{const{name:c,type:s}=u,h=await new Promise((y,v)=>{const b=new FileReader;b.onload=T=>{var E;y((E=T.target)==null?void 0:E.result)},b.onerror=T=>v(T),b.readAsDataURL(u)});return{type:"file",mediaType:s,filename:c,url:h}}))}var bD=class{constructor({api:a="/api/chat",credentials:u,headers:c,body:s,fetch:h,prepareSendMessagesRequest:y,prepareReconnectToStreamRequest:v}){this.api=a,this.credentials=u,this.headers=c,this.body=s,this.fetch=h,this.prepareSendMessagesRequest=y,this.prepareReconnectToStreamRequest=v}async sendMessages({abortSignal:a,...u}){var c,s,h,y,v;const b=await Jo(this.body),T=await Jo(this.headers),E=await Jo(this.credentials),O={...sd(T),...sd(u.headers)},R=await((c=this.prepareSendMessagesRequest)==null?void 0:c.call(this,{api:this.api,id:u.chatId,messages:u.messages,body:{...b,...u.body},headers:O,credentials:E,requestMetadata:u.metadata,trigger:u.trigger,messageId:u.messageId})),z=(s=R==null?void 0:R.api)!=null?s:this.api,_=(R==null?void 0:R.headers)!==void 0?sd(R.headers):O,Y=(R==null?void 0:R.body)!==void 0?R.body:{...b,...u.body,id:u.chatId,messages:u.messages,trigger:u.trigger,messageId:u.messageId},ae=(h=R==null?void 0:R.credentials)!=null?h:E,k=await((y=this.fetch)!=null?y:globalThis.fetch)(z,{method:"POST",headers:{"Content-Type":"application/json",..._},body:JSON.stringify(Y),credentials:ae,signal:a});if(!k.ok)throw new Error((v=await k.text())!=null?v:"Failed to fetch the chat response.");if(!k.body)throw new Error("The response body is empty.");return this.processResponseStream(k.body)}async reconnectToStream(a){var u,c,s,h,y;const v=await Jo(this.body),b=await Jo(this.headers),T=await Jo(this.credentials),E={...sd(b),...sd(a.headers)},O=await((u=this.prepareReconnectToStreamRequest)==null?void 0:u.call(this,{api:this.api,id:a.chatId,body:{...v,...a.body},headers:E,credentials:T,requestMetadata:a.metadata})),R=(c=O==null?void 0:O.api)!=null?c:`${this.api}/${a.chatId}/stream`,z=(O==null?void 0:O.headers)!==void 0?sd(O.headers):E,_=(s=O==null?void 0:O.credentials)!=null?s:T,ae=await((h=this.fetch)!=null?h:globalThis.fetch)(R,{method:"GET",headers:z,credentials:_});if(ae.status===204)return null;if(!ae.ok)throw new Error((y=await ae.text())!=null?y:"Failed to fetch the chat response.");if(!ae.body)throw new Error("The response body is empty.");return this.processResponseStream(ae.body)}},FT=class extends bD{constructor(a={}){super(a)}processResponseStream(a){return VC({stream:a,schema:fD}).pipeThrough(new TransformStream({async transform(u,c){if(!u.success)throw u.error;c.enqueue(u.value)}}))}},SD=class{constructor({generateId:a=Q_,id:u=a(),transport:c=new FT,messageMetadataSchema:s,dataPartSchemas:h,state:y,onError:v,onToolCall:b,onFinish:T,onData:E,sendAutomaticallyWhen:O}){this.activeResponse=void 0,this.jobExecutor=new gD,this.sendMessage=async(R,z)=>{var _,Y,ae,G;if(R==null){await this.makeRequest({trigger:"submit-message",messageId:(_=this.lastMessage)==null?void 0:_.id,...z});return}let k;if("text"in R||"files"in R?k={parts:[...Array.isArray(R.files)?R.files:await vD(R.files),..."text"in R&&R.text!=null?[{type:"text",text:R.text}]:[]]}:k=R,R.messageId!=null){const q=this.state.messages.findIndex(D=>D.id===R.messageId);if(q===-1)throw new Error(`message with id ${R.messageId} not found`);if(this.state.messages[q].role!=="user")throw new Error(`message with id ${R.messageId} is not a user message`);this.state.messages=this.state.messages.slice(0,q+1),this.state.replaceMessage(q,{...k,id:R.messageId,role:(Y=k.role)!=null?Y:"user",metadata:R.metadata})}else this.state.pushMessage({...k,id:(ae=k.id)!=null?ae:this.generateId(),role:(G=k.role)!=null?G:"user",metadata:R.metadata});await this.makeRequest({trigger:"submit-message",messageId:R.messageId,...z})},this.regenerate=async({messageId:R,...z}={})=>{const _=R==null?this.state.messages.length-1:this.state.messages.findIndex(Y=>Y.id===R);if(_===-1)throw new Error(`message ${R} not found`);this.state.messages=this.state.messages.slice(0,this.messages[_].role==="assistant"?_:_+1),await this.makeRequest({trigger:"regenerate-message",messageId:R,...z})},this.resumeStream=async(R={})=>{await this.makeRequest({trigger:"resume-stream",...R})},this.clearError=()=>{this.status==="error"&&(this.state.error=void 0,this.setStatus({status:"ready"}))},this.addToolApprovalResponse=async({id:R,approved:z,reason:_,options:Y})=>this.jobExecutor.run(async()=>{const ae=this.state.messages,G=ae[ae.length-1],k=q=>lm(q)&&q.state==="approval-requested"&&q.approval.id===R?{...q,state:"approval-responded",approval:{id:R,approved:z,reason:_}}:q;this.state.replaceMessage(ae.length-1,{...G,parts:G.parts.map(k)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(k)),this.status!=="streaming"&&this.status!=="submitted"&&this.sendAutomaticallyWhen&&this.shouldSendAutomatically().then(q=>{var D;q&&this.makeRequest({trigger:"submit-message",messageId:(D=this.lastMessage)==null?void 0:D.id,...Y})})}),this.addToolOutput=async({state:R="output-available",toolCallId:z,output:_,errorText:Y,options:ae})=>this.jobExecutor.run(async()=>{const G=this.state.messages,k=G[G.length-1],q=D=>lm(D)&&D.toolCallId===z?{...D,state:R,output:_,errorText:Y}:D;this.state.replaceMessage(G.length-1,{...k,parts:k.parts.map(q)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(q)),this.status!=="streaming"&&this.status!=="submitted"&&this.sendAutomaticallyWhen&&this.shouldSendAutomatically().then(D=>{var ue;D&&this.makeRequest({trigger:"submit-message",messageId:(ue=this.lastMessage)==null?void 0:ue.id,...ae})})}),this.addToolResult=this.addToolOutput,this.stop=async()=>{var R;this.status!=="streaming"&&this.status!=="submitted"||(R=this.activeResponse)!=null&&R.abortController&&this.activeResponse.abortController.abort()},this.id=u,this.transport=c,this.generateId=a,this.messageMetadataSchema=s,this.dataPartSchemas=h,this.state=y,this.onError=v,this.onToolCall=b,this.onFinish=T,this.onData=E,this.sendAutomaticallyWhen=O}get status(){return this.state.status}setStatus({status:a,error:u}){this.status!==a&&(this.state.status=a,this.state.error=u)}get error(){return this.state.error}get messages(){return this.state.messages}get lastMessage(){return this.state.messages[this.state.messages.length-1]}set messages(a){this.state.messages=a}async shouldSendAutomatically(){if(!this.sendAutomaticallyWhen)return!1;const a=this.sendAutomaticallyWhen({messages:this.state.messages});return a&&typeof a=="object"&&"then"in a?await a:a}async makeRequest({trigger:a,metadata:u,headers:c,body:s,messageId:h}){var y,v,b;let T;if(a==="resume-stream")try{const _=await this.transport.reconnectToStream({chatId:this.id,metadata:u,headers:c,body:s});if(_==null)return;T=_}catch(_){this.onError&&_ instanceof Error&&this.onError(_),this.setStatus({status:"error",error:_});return}this.setStatus({status:"submitted",error:void 0});const E=this.lastMessage;let O=!1,R=!1,z=!1;try{const _={state:pD({lastMessage:this.state.snapshot(E),messageId:this.generateId()}),abortController:new AbortController};_.abortController.signal.addEventListener("abort",()=>{O=!0}),this.activeResponse=_;let Y;a==="resume-stream"?Y=T:Y=await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:_.abortController.signal,metadata:u,headers:c,body:s,trigger:a,messageId:h});const ae=G=>this.jobExecutor.run(()=>G({state:_.state,write:()=>{var k;this.setStatus({status:"streaming"}),_.state.message.id===((k=this.lastMessage)==null?void 0:k.id)?this.state.replaceMessage(this.state.messages.length-1,_.state.message):this.state.pushMessage(_.state.message)}}));await yD({stream:mD({stream:Y,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:ae,onError:G=>{throw G}}),onError:G=>{throw G}}),this.setStatus({status:"ready"})}catch(_){if(O||_.name==="AbortError")return O=!0,this.setStatus({status:"ready"}),null;z=!0,_ instanceof TypeError&&(_.message.toLowerCase().includes("fetch")||_.message.toLowerCase().includes("network"))&&(R=!0),this.onError&&_ instanceof Error&&this.onError(_),this.setStatus({status:"error",error:_})}finally{try{(v=this.onFinish)==null||v.call(this,{message:this.activeResponse.state.message,messages:this.state.messages,isAbort:O,isDisconnect:R,isError:z,finishReason:(y=this.activeResponse)==null?void 0:y.state.finishReason})}catch(_){console.error(_)}this.activeResponse=void 0}!z&&await this.shouldSendAutomatically()&&await this.makeRequest({trigger:"submit-message",messageId:(b=this.lastMessage)==null?void 0:b.id,metadata:u,headers:c,body:s})}},Ib,WT;function ED(){if(WT)return Ib;WT=1;function a(u,c){if(typeof u!="function")throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof u}\`.`);let s,h=0;return function(...v){clearTimeout(s);const b=Date.now(),T=b-h,E=c-T;E<=0?(h=b,u.apply(this,v)):s=setTimeout(()=>{h=Date.now(),u.apply(this,v)},E)}}return Ib=a,Ib}var TD=ED();const AD=Ob(TD);var eA=(a,u,c)=>{if(!u.has(a))throw TypeError("Cannot "+c)},hn=(a,u,c)=>(eA(a,u,"read from private field"),c?c.call(a):u.get(a)),Yu=(a,u,c)=>{if(u.has(a))throw TypeError("Cannot add the same private member more than once");u instanceof WeakSet?u.add(a):u.set(a,c)},Ko=(a,u,c,s)=>(eA(a,u,"write to private field"),u.set(a,c),c);function xD(a,u){return u!=null?AD(a,u):a}var hi,xv,Ov,im,um,rm,dd,Jb,$b,OD=class{constructor(a=[]){Yu(this,hi,void 0),Yu(this,xv,"ready"),Yu(this,Ov,void 0),Yu(this,im,new Set),Yu(this,um,new Set),Yu(this,rm,new Set),this.pushMessage=u=>{Ko(this,hi,hn(this,hi).concat(u)),hn(this,dd).call(this)},this.popMessage=()=>{Ko(this,hi,hn(this,hi).slice(0,-1)),hn(this,dd).call(this)},this.replaceMessage=(u,c)=>{Ko(this,hi,[...hn(this,hi).slice(0,u),this.snapshot(c),...hn(this,hi).slice(u+1)]),hn(this,dd).call(this)},this.snapshot=u=>structuredClone(u),this["~registerMessagesCallback"]=(u,c)=>{const s=c?xD(u,c):u;return hn(this,im).add(s),()=>{hn(this,im).delete(s)}},this["~registerStatusCallback"]=u=>(hn(this,um).add(u),()=>{hn(this,um).delete(u)}),this["~registerErrorCallback"]=u=>(hn(this,rm).add(u),()=>{hn(this,rm).delete(u)}),Yu(this,dd,()=>{hn(this,im).forEach(u=>u())}),Yu(this,Jb,()=>{hn(this,um).forEach(u=>u())}),Yu(this,$b,()=>{hn(this,rm).forEach(u=>u())}),Ko(this,hi,a)}get status(){return hn(this,xv)}set status(a){Ko(this,xv,a),hn(this,Jb).call(this)}get error(){return hn(this,Ov)}set error(a){Ko(this,Ov,a),hn(this,$b).call(this)}get messages(){return hn(this,hi)}set messages(a){Ko(this,hi,[...a]),hn(this,dd).call(this)}};hi=new WeakMap,xv=new WeakMap,Ov=new WeakMap,im=new WeakMap,um=new WeakMap,rm=new WeakMap,dd=new WeakMap,Jb=new WeakMap,$b=new WeakMap;var hd,tA=class extends SD{constructor({messages:a,...u}){const c=new OD(a);super({...u,state:c}),Yu(this,hd,void 0),this["~registerMessagesCallback"]=(s,h)=>hn(this,hd)["~registerMessagesCallback"](s,h),this["~registerStatusCallback"]=s=>hn(this,hd)["~registerStatusCallback"](s),this["~registerErrorCallback"]=s=>hn(this,hd)["~registerErrorCallback"](s),Ko(this,hd,c)}};hd=new WeakMap;function RD({experimental_throttle:a,resume:u=!1,...c}={}){const s=_n.useRef("chat"in c?{}:{onToolCall:c.onToolCall,onData:c.onData,onFinish:c.onFinish,onError:c.onError,sendAutomaticallyWhen:c.sendAutomaticallyWhen});"chat"in c||(s.current={onToolCall:c.onToolCall,onData:c.onData,onFinish:c.onFinish,onError:c.onError,sendAutomaticallyWhen:c.sendAutomaticallyWhen});const h={...c,onToolCall:z=>{var _,Y;return(Y=(_=s.current).onToolCall)==null?void 0:Y.call(_,z)},onData:z=>{var _,Y;return(Y=(_=s.current).onData)==null?void 0:Y.call(_,z)},onFinish:z=>{var _,Y;return(Y=(_=s.current).onFinish)==null?void 0:Y.call(_,z)},onError:z=>{var _,Y;return(Y=(_=s.current).onError)==null?void 0:Y.call(_,z)},sendAutomaticallyWhen:z=>{var _,Y,ae;return(ae=(Y=(_=s.current).sendAutomaticallyWhen)==null?void 0:Y.call(_,z))!=null?ae:!1}},y=_n.useRef("chat"in c?c.chat:new tA(h));("chat"in c&&c.chat!==y.current||"id"in c&&y.current.id!==c.id)&&(y.current="chat"in c?c.chat:new tA(h));const b=_n.useCallback(z=>y.current["~registerMessagesCallback"](z,a),[a,y.current.id]),T=_n.useSyncExternalStore(b,()=>y.current.messages,()=>y.current.messages),E=_n.useSyncExternalStore(y.current["~registerStatusCallback"],()=>y.current.status,()=>y.current.status),O=_n.useSyncExternalStore(y.current["~registerErrorCallback"],()=>y.current.error,()=>y.current.error),R=_n.useCallback(z=>{typeof z=="function"&&(z=z(y.current.messages)),y.current.messages=z},[y]);return _n.useEffect(()=>{u&&y.current.resumeStream()},[u,y]),{id:y.current.id,messages:T,setMessages:R,sendMessage:y.current.sendMessage,regenerate:y.current.regenerate,clearError:y.current.clearError,stop:y.current.stop,error:O,resumeStream:y.current.resumeStream,status:E,addToolResult:y.current.addToolOutput,addToolOutput:y.current.addToolOutput,addToolApprovalResponse:y.current.addToolApprovalResponse}}function nA(a){var u,c,s="";if(typeof a=="string"||typeof a=="number")s+=a;else if(typeof a=="object")if(Array.isArray(a)){var h=a.length;for(u=0;u<h;u++)a[u]&&(c=nA(a[u]))&&(s&&(s+=" "),s+=c)}else for(c in a)a[c]&&(s&&(s+=" "),s+=c);return s}function wD(){for(var a,u,c=0,s="",h=arguments.length;c<h;c++)(a=arguments[c])&&(u=nA(a))&&(s&&(s+=" "),s+=u);return s}const aA=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,lA=wD,Es=(a,u)=>c=>{var s;if((u==null?void 0:u.variants)==null)return lA(a,c==null?void 0:c.class,c==null?void 0:c.className);const{variants:h,defaultVariants:y}=u,v=Object.keys(h).map(E=>{const O=c==null?void 0:c[E],R=y==null?void 0:y[E];if(O===null)return null;const z=aA(O)||aA(R);return h[E][z]}),b=c&&Object.entries(c).reduce((E,O)=>{let[R,z]=O;return z===void 0||(E[R]=z),E},{}),T=u==null||(s=u.compoundVariants)===null||s===void 0?void 0:s.reduce((E,O)=>{let{class:R,className:z,..._}=O;return Object.entries(_).every(Y=>{let[ae,G]=Y;return Array.isArray(G)?G.includes({...y,...b}[ae]):{...y,...b}[ae]===G})?[...E,R,z]:E},[]);return lA(a,v,T,c==null?void 0:c.class,c==null?void 0:c.className)};function uk(){}function rk(){}function zD(a,u){const c={};return(a[a.length-1]===""?[...a,""]:a).join((c.padRight?" ":"")+","+(c.padLeft===!1?"":" ")).trim()}const _D=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,CD=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,DD={};function iA(a,u){return(DD.jsx?CD:_D).test(a)}const MD=/[ \t\n\f\r]/g;function ND(a){return typeof a=="object"?a.type==="text"?uA(a.value):!1:uA(a)}function uA(a){return a.replace(MD,"")===""}class om{constructor(u,c,s){this.normal=c,this.property=u,s&&(this.space=s)}}om.prototype.normal={},om.prototype.property={},om.prototype.space=void 0;function rA(a,u){const c={},s={};for(const h of a)Object.assign(c,h.property),Object.assign(s,h.normal);return new om(c,s,u)}function Kb(a){return a.toLowerCase()}class Sl{constructor(u,c){this.attribute=c,this.property=u}}Sl.prototype.attribute="",Sl.prototype.booleanish=!1,Sl.prototype.boolean=!1,Sl.prototype.commaOrSpaceSeparated=!1,Sl.prototype.commaSeparated=!1,Sl.prototype.defined=!1,Sl.prototype.mustUseProperty=!1,Sl.prototype.number=!1,Sl.prototype.overloadedBoolean=!1,Sl.prototype.property="",Sl.prototype.spaceSeparated=!1,Sl.prototype.space=void 0;let kD=0;const vt=Ts(),Jn=Ts(),Pb=Ts(),ze=Ts(),un=Ts(),pd=Ts(),Xl=Ts();function Ts(){return 2**++kD}const Fb=Object.freeze(Object.defineProperty({__proto__:null,boolean:vt,booleanish:Jn,commaOrSpaceSeparated:Xl,commaSeparated:pd,number:ze,overloadedBoolean:Pb,spaceSeparated:un},Symbol.toStringTag,{value:"Module"})),Wb=Object.keys(Fb);class e1 extends Sl{constructor(u,c,s,h){let y=-1;if(super(u,c),oA(this,"space",h),typeof s=="number")for(;++y<Wb.length;){const v=Wb[y];oA(this,Wb[y],(s&Fb[v])===Fb[v])}}}e1.prototype.defined=!0;function oA(a,u,c){c&&(a[u]=c)}function md(a){const u={},c={};for(const[s,h]of Object.entries(a.properties)){const y=new e1(s,a.transform(a.attributes||{},s),h,a.space);a.mustUseProperty&&a.mustUseProperty.includes(s)&&(y.mustUseProperty=!0),u[s]=y,c[Kb(s)]=s,c[Kb(y.attribute)]=s}return new om(u,c,a.space)}const cA=md({properties:{ariaActiveDescendant:null,ariaAtomic:Jn,ariaAutoComplete:null,ariaBusy:Jn,ariaChecked:Jn,ariaColCount:ze,ariaColIndex:ze,ariaColSpan:ze,ariaControls:un,ariaCurrent:null,ariaDescribedBy:un,ariaDetails:null,ariaDisabled:Jn,ariaDropEffect:un,ariaErrorMessage:null,ariaExpanded:Jn,ariaFlowTo:un,ariaGrabbed:Jn,ariaHasPopup:null,ariaHidden:Jn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:un,ariaLevel:ze,ariaLive:null,ariaModal:Jn,ariaMultiLine:Jn,ariaMultiSelectable:Jn,ariaOrientation:null,ariaOwns:un,ariaPlaceholder:null,ariaPosInSet:ze,ariaPressed:Jn,ariaReadOnly:Jn,ariaRelevant:null,ariaRequired:Jn,ariaRoleDescription:un,ariaRowCount:ze,ariaRowIndex:ze,ariaRowSpan:ze,ariaSelected:Jn,ariaSetSize:ze,ariaSort:null,ariaValueMax:ze,ariaValueMin:ze,ariaValueNow:ze,ariaValueText:null,role:null},transform(a,u){return u==="role"?u:"aria-"+u.slice(4).toLowerCase()}});function sA(a,u){return u in a?a[u]:u}function fA(a,u){return sA(a,u.toLowerCase())}const UD=md({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pd,acceptCharset:un,accessKey:un,action:null,allow:null,allowFullScreen:vt,allowPaymentRequest:vt,allowUserMedia:vt,alt:null,as:null,async:vt,autoCapitalize:null,autoComplete:un,autoFocus:vt,autoPlay:vt,blocking:un,capture:null,charSet:null,checked:vt,cite:null,className:un,cols:ze,colSpan:null,content:null,contentEditable:Jn,controls:vt,controlsList:un,coords:ze|pd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:vt,defer:vt,dir:null,dirName:null,disabled:vt,download:Pb,draggable:Jn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:vt,formTarget:null,headers:un,height:ze,hidden:Pb,high:ze,href:null,hrefLang:null,htmlFor:un,httpEquiv:un,id:null,imageSizes:null,imageSrcSet:null,inert:vt,inputMode:null,integrity:null,is:null,isMap:vt,itemId:null,itemProp:un,itemRef:un,itemScope:vt,itemType:un,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:vt,low:ze,manifest:null,max:null,maxLength:ze,media:null,method:null,min:null,minLength:ze,multiple:vt,muted:vt,name:null,nonce:null,noModule:vt,noValidate:vt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:vt,optimum:ze,pattern:null,ping:un,placeholder:null,playsInline:vt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:vt,referrerPolicy:null,rel:un,required:vt,reversed:vt,rows:ze,rowSpan:ze,sandbox:un,scope:null,scoped:vt,seamless:vt,selected:vt,shadowRootClonable:vt,shadowRootDelegatesFocus:vt,shadowRootMode:null,shape:null,size:ze,sizes:null,slot:null,span:ze,spellCheck:Jn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ze,step:null,style:null,tabIndex:ze,target:null,title:null,translate:null,type:null,typeMustMatch:vt,useMap:null,value:Jn,width:ze,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:un,axis:null,background:null,bgColor:null,border:ze,borderColor:null,bottomMargin:ze,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:vt,declare:vt,event:null,face:null,frame:null,frameBorder:null,hSpace:ze,leftMargin:ze,link:null,longDesc:null,lowSrc:null,marginHeight:ze,marginWidth:ze,noResize:vt,noHref:vt,noShade:vt,noWrap:vt,object:null,profile:null,prompt:null,rev:null,rightMargin:ze,rules:null,scheme:null,scrolling:Jn,standby:null,summary:null,text:null,topMargin:ze,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ze,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:vt,disableRemotePlayback:vt,prefix:null,property:null,results:ze,security:null,unselectable:null},space:"html",transform:fA}),HD=md({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xl,accentHeight:ze,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ze,amplitude:ze,arabicForm:null,ascent:ze,attributeName:null,attributeType:null,azimuth:ze,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ze,by:null,calcMode:null,capHeight:ze,className:un,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ze,diffuseConstant:ze,direction:null,display:null,dur:null,divisor:ze,dominantBaseline:null,download:vt,dx:null,dy:null,edgeMode:null,editable:null,elevation:ze,enableBackground:null,end:null,event:null,exponent:ze,externalResourcesRequired:null,fill:null,fillOpacity:ze,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pd,g2:pd,glyphName:pd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ze,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ze,horizOriginX:ze,horizOriginY:ze,id:null,ideographic:ze,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ze,k:ze,k1:ze,k2:ze,k3:ze,k4:ze,kernelMatrix:Xl,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ze,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ze,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ze,overlineThickness:ze,paintOrder:null,panose1:null,path:null,pathLength:ze,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:un,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ze,pointsAtY:ze,pointsAtZ:ze,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xl,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xl,rev:Xl,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xl,requiredFeatures:Xl,requiredFonts:Xl,requiredFormats:Xl,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ze,specularExponent:ze,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ze,strikethroughThickness:ze,string:null,stroke:null,strokeDashArray:Xl,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ze,strokeOpacity:ze,strokeWidth:null,style:null,surfaceScale:ze,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xl,tabIndex:ze,tableValues:null,target:null,targetX:ze,targetY:ze,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xl,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ze,underlineThickness:ze,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ze,values:null,vAlphabetic:ze,vMathematical:ze,vectorEffect:null,vHanging:ze,vIdeographic:ze,version:null,vertAdvY:ze,vertOriginX:ze,vertOriginY:ze,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ze,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:sA}),dA=md({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(a,u){return"xlink:"+u.slice(5).toLowerCase()}}),hA=md({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:fA}),pA=md({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(a,u){return"xml:"+u.slice(3).toLowerCase()}}),jD={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},BD=/[A-Z]/g,mA=/-[a-z]/g,LD=/^data[-\w.:]+$/i;function ZD(a,u){const c=Kb(u);let s=u,h=Sl;if(c in a.normal)return a.property[a.normal[c]];if(c.length>4&&c.slice(0,4)==="data"&&LD.test(u)){if(u.charAt(4)==="-"){const y=u.slice(5).replace(mA,YD);s="data"+y.charAt(0).toUpperCase()+y.slice(1)}else{const y=u.slice(4);if(!mA.test(y)){let v=y.replace(BD,qD);v.charAt(0)!=="-"&&(v="-"+v),u="data"+v}}h=e1}return new h(s,u)}function qD(a){return"-"+a.toLowerCase()}function YD(a){return a.charAt(1).toUpperCase()}const VD=rA([cA,UD,dA,hA,pA],"html"),t1=rA([cA,HD,dA,hA,pA],"svg");function GD(a){return a.join(" ").trim()}var yd={},n1,yA;function XD(){if(yA)return n1;yA=1;var a=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,u=/\n/g,c=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,h=/^:\s*/,y=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,v=/^[;\s]*/,b=/^\s+|\s+$/g,T=`
|
|
367
|
+
`,E="/",O="*",R="",z="comment",_="declaration";function Y(G,k){if(typeof G!="string")throw new TypeError("First argument must be a string");if(!G)return[];k=k||{};var q=1,D=1;function ue(Ne){var Te=Ne.match(u);Te&&(q+=Te.length);var L=Ne.lastIndexOf(T);D=~L?Ne.length-L:D+Ne.length}function te(){var Ne={line:q,column:D};return function(Te){return Te.position=new Q(Ne),Se(),Te}}function Q(Ne){this.start=Ne,this.end={line:q,column:D},this.source=k.source}Q.prototype.content=G;function he(Ne){var Te=new Error(k.source+":"+q+":"+D+": "+Ne);if(Te.reason=Ne,Te.filename=k.source,Te.line=q,Te.column=D,Te.source=G,!k.silent)throw Te}function _e(Ne){var Te=Ne.exec(G);if(Te){var L=Te[0];return ue(L),G=G.slice(L.length),Te}}function Se(){_e(c)}function He(Ne){var Te;for(Ne=Ne||[];Te=be();)Te!==!1&&Ne.push(Te);return Ne}function be(){var Ne=te();if(!(E!=G.charAt(0)||O!=G.charAt(1))){for(var Te=2;R!=G.charAt(Te)&&(O!=G.charAt(Te)||E!=G.charAt(Te+1));)++Te;if(Te+=2,R===G.charAt(Te-1))return he("End of comment missing");var L=G.slice(2,Te-2);return D+=2,ue(L),G=G.slice(Te),D+=2,Ne({type:z,comment:L})}}function Ee(){var Ne=te(),Te=_e(s);if(Te){if(be(),!_e(h))return he("property missing ':'");var L=_e(y),ie=Ne({type:_,property:ae(Te[0].replace(a,R)),value:L?ae(L[0].replace(a,R)):R});return _e(v),ie}}function Xe(){var Ne=[];He(Ne);for(var Te;Te=Ee();)Te!==!1&&(Ne.push(Te),He(Ne));return Ne}return Se(),Xe()}function ae(G){return G?G.replace(b,R):R}return n1=Y,n1}var gA;function QD(){if(gA)return yd;gA=1;var a=yd&&yd.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(yd,"__esModule",{value:!0}),yd.default=c;const u=a(XD());function c(s,h){let y=null;if(!s||typeof s!="string")return y;const v=(0,u.default)(s),b=typeof h=="function";return v.forEach(T=>{if(T.type!=="declaration")return;const{property:E,value:O}=T;b?h(E,O,T):O&&(y=y||{},y[E]=O)}),y}return yd}var cm={},vA;function ID(){if(vA)return cm;vA=1,Object.defineProperty(cm,"__esModule",{value:!0}),cm.camelCase=void 0;var a=/^--[a-zA-Z0-9_-]+$/,u=/-([a-z])/g,c=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,h=/^-(ms)-/,y=function(E){return!E||c.test(E)||a.test(E)},v=function(E,O){return O.toUpperCase()},b=function(E,O){return"".concat(O,"-")},T=function(E,O){return O===void 0&&(O={}),y(E)?E:(E=E.toLowerCase(),O.reactCompat?E=E.replace(h,b):E=E.replace(s,b),E.replace(u,v))};return cm.camelCase=T,cm}var sm,bA;function JD(){if(bA)return sm;bA=1;var a=sm&&sm.__importDefault||function(h){return h&&h.__esModule?h:{default:h}},u=a(QD()),c=ID();function s(h,y){var v={};return!h||typeof h!="string"||(0,u.default)(h,function(b,T){b&&T&&(v[(0,c.camelCase)(b,y)]=T)}),v}return s.default=s,sm=s,sm}var $D=JD();const KD=Ob($D),SA=EA("end"),a1=EA("start");function EA(a){return u;function u(c){const s=c&&c.position&&c.position[a]||{};if(typeof s.line=="number"&&s.line>0&&typeof s.column=="number"&&s.column>0)return{line:s.line,column:s.column,offset:typeof s.offset=="number"&&s.offset>-1?s.offset:void 0}}}function PD(a){const u=a1(a),c=SA(a);if(u&&c)return{start:u,end:c}}function fm(a){return!a||typeof a!="object"?"":"position"in a||"type"in a?TA(a.position):"start"in a||"end"in a?TA(a):"line"in a||"column"in a?l1(a):""}function l1(a){return AA(a&&a.line)+":"+AA(a&&a.column)}function TA(a){return l1(a&&a.start)+"-"+l1(a&&a.end)}function AA(a){return a&&typeof a=="number"?a:1}class Ba extends Error{constructor(u,c,s){super(),typeof c=="string"&&(s=c,c=void 0);let h="",y={},v=!1;if(c&&("line"in c&&"column"in c?y={place:c}:"start"in c&&"end"in c?y={place:c}:"type"in c?y={ancestors:[c],place:c.position}:y={...c}),typeof u=="string"?h=u:!y.cause&&u&&(v=!0,h=u.message,y.cause=u),!y.ruleId&&!y.source&&typeof s=="string"){const T=s.indexOf(":");T===-1?y.ruleId=s:(y.source=s.slice(0,T),y.ruleId=s.slice(T+1))}if(!y.place&&y.ancestors&&y.ancestors){const T=y.ancestors[y.ancestors.length-1];T&&(y.place=T.position)}const b=y.place&&"start"in y.place?y.place.start:y.place;this.ancestors=y.ancestors||void 0,this.cause=y.cause||void 0,this.column=b?b.column:void 0,this.fatal=void 0,this.file="",this.message=h,this.line=b?b.line:void 0,this.name=fm(y.place)||"1:1",this.place=y.place||void 0,this.reason=this.message,this.ruleId=y.ruleId||void 0,this.source=y.source||void 0,this.stack=v&&y.cause&&typeof y.cause.stack=="string"?y.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ba.prototype.file="",Ba.prototype.name="",Ba.prototype.reason="",Ba.prototype.message="",Ba.prototype.stack="",Ba.prototype.column=void 0,Ba.prototype.line=void 0,Ba.prototype.ancestors=void 0,Ba.prototype.cause=void 0,Ba.prototype.fatal=void 0,Ba.prototype.place=void 0,Ba.prototype.ruleId=void 0,Ba.prototype.source=void 0;const i1={}.hasOwnProperty,FD=new Map,WD=/[A-Z]/g,eM=new Set(["table","tbody","thead","tfoot","tr"]),tM=new Set(["td","th"]),xA="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function nM(a,u){if(!u||u.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const c=u.filePath||void 0;let s;if(u.development){if(typeof u.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");s=sM(c,u.jsxDEV)}else{if(typeof u.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof u.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");s=cM(c,u.jsx,u.jsxs)}const h={Fragment:u.Fragment,ancestors:[],components:u.components||{},create:s,elementAttributeNameCase:u.elementAttributeNameCase||"react",evaluater:u.createEvaluater?u.createEvaluater():void 0,filePath:c,ignoreInvalidStyle:u.ignoreInvalidStyle||!1,passKeys:u.passKeys!==!1,passNode:u.passNode||!1,schema:u.space==="svg"?t1:VD,stylePropertyNameCase:u.stylePropertyNameCase||"dom",tableCellAlignToStyle:u.tableCellAlignToStyle!==!1},y=OA(h,a,void 0);return y&&typeof y!="string"?y:h.create(a,h.Fragment,{children:y||void 0},void 0)}function OA(a,u,c){if(u.type==="element")return aM(a,u,c);if(u.type==="mdxFlowExpression"||u.type==="mdxTextExpression")return lM(a,u);if(u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement")return uM(a,u,c);if(u.type==="mdxjsEsm")return iM(a,u);if(u.type==="root")return rM(a,u,c);if(u.type==="text")return oM(a,u)}function aM(a,u,c){const s=a.schema;let h=s;u.tagName.toLowerCase()==="svg"&&s.space==="html"&&(h=t1,a.schema=h),a.ancestors.push(u);const y=wA(a,u.tagName,!1),v=fM(a,u);let b=r1(a,u);return eM.has(u.tagName)&&(b=b.filter(function(T){return typeof T=="string"?!ND(T):!0})),RA(a,v,y,u),u1(v,b),a.ancestors.pop(),a.schema=s,a.create(u,y,v,c)}function lM(a,u){if(u.data&&u.data.estree&&a.evaluater){const s=u.data.estree.body[0];return s.type,a.evaluater.evaluateExpression(s.expression)}dm(a,u.position)}function iM(a,u){if(u.data&&u.data.estree&&a.evaluater)return a.evaluater.evaluateProgram(u.data.estree);dm(a,u.position)}function uM(a,u,c){const s=a.schema;let h=s;u.name==="svg"&&s.space==="html"&&(h=t1,a.schema=h),a.ancestors.push(u);const y=u.name===null?a.Fragment:wA(a,u.name,!0),v=dM(a,u),b=r1(a,u);return RA(a,v,y,u),u1(v,b),a.ancestors.pop(),a.schema=s,a.create(u,y,v,c)}function rM(a,u,c){const s={};return u1(s,r1(a,u)),a.create(u,a.Fragment,s,c)}function oM(a,u){return u.value}function RA(a,u,c,s){typeof c!="string"&&c!==a.Fragment&&a.passNode&&(u.node=s)}function u1(a,u){if(u.length>0){const c=u.length>1?u:u[0];c&&(a.children=c)}}function cM(a,u,c){return s;function s(h,y,v,b){const E=Array.isArray(v.children)?c:u;return b?E(y,v,b):E(y,v)}}function sM(a,u){return c;function c(s,h,y,v){const b=Array.isArray(y.children),T=a1(s);return u(h,y,v,b,{columnNumber:T?T.column-1:void 0,fileName:a,lineNumber:T?T.line:void 0},void 0)}}function fM(a,u){const c={};let s,h;for(h in u.properties)if(h!=="children"&&i1.call(u.properties,h)){const y=hM(a,h,u.properties[h]);if(y){const[v,b]=y;a.tableCellAlignToStyle&&v==="align"&&typeof b=="string"&&tM.has(u.tagName)?s=b:c[v]=b}}if(s){const y=c.style||(c.style={});y[a.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return c}function dM(a,u){const c={};for(const s of u.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&a.evaluater){const y=s.data.estree.body[0];y.type;const v=y.expression;v.type;const b=v.properties[0];b.type,Object.assign(c,a.evaluater.evaluateExpression(b.argument))}else dm(a,u.position);else{const h=s.name;let y;if(s.value&&typeof s.value=="object")if(s.value.data&&s.value.data.estree&&a.evaluater){const b=s.value.data.estree.body[0];b.type,y=a.evaluater.evaluateExpression(b.expression)}else dm(a,u.position);else y=s.value===null?!0:s.value;c[h]=y}return c}function r1(a,u){const c=[];let s=-1;const h=a.passKeys?new Map:FD;for(;++s<u.children.length;){const y=u.children[s];let v;if(a.passKeys){const T=y.type==="element"?y.tagName:y.type==="mdxJsxFlowElement"||y.type==="mdxJsxTextElement"?y.name:void 0;if(T){const E=h.get(T)||0;v=T+"-"+E,h.set(T,E+1)}}const b=OA(a,y,v);b!==void 0&&c.push(b)}return c}function hM(a,u,c){const s=ZD(a.schema,u);if(!(c==null||typeof c=="number"&&Number.isNaN(c))){if(Array.isArray(c)&&(c=s.commaSeparated?zD(c):GD(c)),s.property==="style"){let h=typeof c=="object"?c:pM(a,String(c));return a.stylePropertyNameCase==="css"&&(h=mM(h)),["style",h]}return[a.elementAttributeNameCase==="react"&&s.space?jD[s.property]||s.property:s.attribute,c]}}function pM(a,u){try{return KD(u,{reactCompat:!0})}catch(c){if(a.ignoreInvalidStyle)return{};const s=c,h=new Ba("Cannot parse `style` attribute",{ancestors:a.ancestors,cause:s,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw h.file=a.filePath||void 0,h.url=xA+"#cannot-parse-style-attribute",h}}function wA(a,u,c){let s;if(!c)s={type:"Literal",value:u};else if(u.includes(".")){const h=u.split(".");let y=-1,v;for(;++y<h.length;){const b=iA(h[y])?{type:"Identifier",name:h[y]}:{type:"Literal",value:h[y]};v=v?{type:"MemberExpression",object:v,property:b,computed:!!(y&&b.type==="Literal"),optional:!1}:b}s=v}else s=iA(u)&&!/^[a-z]/.test(u)?{type:"Identifier",name:u}:{type:"Literal",value:u};if(s.type==="Literal"){const h=s.value;return i1.call(a.components,h)?a.components[h]:h}if(a.evaluater)return a.evaluater.evaluateExpression(s);dm(a)}function dm(a,u){const c=new Ba("Cannot handle MDX estrees without `createEvaluater`",{ancestors:a.ancestors,place:u,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw c.file=a.filePath||void 0,c.url=xA+"#cannot-handle-mdx-estrees-without-createevaluater",c}function mM(a){const u={};let c;for(c in a)i1.call(a,c)&&(u[yM(c)]=a[c]);return u}function yM(a){let u=a.replace(WD,gM);return u.slice(0,3)==="ms-"&&(u="-"+u),u}function gM(a){return"-"+a.toLowerCase()}const o1={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},vM={};function bM(a,u){const c=vM,s=typeof c.includeImageAlt=="boolean"?c.includeImageAlt:!0,h=typeof c.includeHtml=="boolean"?c.includeHtml:!0;return zA(a,s,h)}function zA(a,u,c){if(SM(a)){if("value"in a)return a.type==="html"&&!c?"":a.value;if(u&&"alt"in a&&a.alt)return a.alt;if("children"in a)return _A(a.children,u,c)}return Array.isArray(a)?_A(a,u,c):""}function _A(a,u,c){const s=[];let h=-1;for(;++h<a.length;)s[h]=zA(a[h],u,c);return s.join("")}function SM(a){return!!(a&&typeof a=="object")}const CA=document.createElement("i");function c1(a){const u="&"+a+";";CA.innerHTML=u;const c=CA.textContent;return c.charCodeAt(c.length-1)===59&&a!=="semi"||c===u?!1:c}function Vu(a,u,c,s){const h=a.length;let y=0,v;if(u<0?u=-u>h?0:h+u:u=u>h?h:u,c=c>0?c:0,s.length<1e4)v=Array.from(s),v.unshift(u,c),a.splice(...v);else for(c&&a.splice(u,c);y<s.length;)v=s.slice(y,y+1e4),v.unshift(u,0),a.splice(...v),y+=1e4,u+=1e4}function pi(a,u){return a.length>0?(Vu(a,a.length,0,u),a):u}const DA={}.hasOwnProperty;function EM(a){const u={};let c=-1;for(;++c<a.length;)TM(u,a[c]);return u}function TM(a,u){let c;for(c in u){const h=(DA.call(a,c)?a[c]:void 0)||(a[c]={}),y=u[c];let v;if(y)for(v in y){DA.call(h,v)||(h[v]=[]);const b=y[v];AM(h[v],Array.isArray(b)?b:b?[b]:[])}}}function AM(a,u){let c=-1;const s=[];for(;++c<u.length;)(u[c].add==="after"?a:s).push(u[c]);Vu(a,0,0,s)}function MA(a,u){const c=Number.parseInt(a,u);return c<9||c===11||c>13&&c<32||c>126&&c<160||c>55295&&c<57344||c>64975&&c<65008||(c&65535)===65535||(c&65535)===65534||c>1114111?"�":String.fromCodePoint(c)}function gd(a){return a.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Gu=Po(/[A-Za-z]/),Ql=Po(/[\dA-Za-z]/),xM=Po(/[#-'*+\--9=?A-Z^-~]/);function s1(a){return a!==null&&(a<32||a===127)}const f1=Po(/\d/),OM=Po(/[\dA-Fa-f]/),RM=Po(/[!-/:-@[-`{-~]/);function at(a){return a!==null&&a<-2}function El(a){return a!==null&&(a<0||a===32)}function Yt(a){return a===-2||a===-1||a===32}const wM=Po(new RegExp("\\p{P}|\\p{S}","u")),zM=Po(/\s/);function Po(a){return u;function u(c){return c!==null&&c>-1&&a.test(String.fromCharCode(c))}}function vd(a){const u=[];let c=-1,s=0,h=0;for(;++c<a.length;){const y=a.charCodeAt(c);let v="";if(y===37&&Ql(a.charCodeAt(c+1))&&Ql(a.charCodeAt(c+2)))h=2;else if(y<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(y))||(v=String.fromCharCode(y));else if(y>55295&&y<57344){const b=a.charCodeAt(c+1);y<56320&&b>56319&&b<57344?(v=String.fromCharCode(y,b),h=1):v="�"}else v=String.fromCharCode(y);v&&(u.push(a.slice(s,c),encodeURIComponent(v)),s=c+h+1,v=""),h&&(c+=h,h=0)}return u.join("")+a.slice(s)}function rn(a,u,c,s){const h=s?s-1:Number.POSITIVE_INFINITY;let y=0;return v;function v(T){return Yt(T)?(a.enter(c),b(T)):u(T)}function b(T){return Yt(T)&&y++<h?(a.consume(T),b):(a.exit(c),u(T))}}const _M={tokenize:CM};function CM(a){const u=a.attempt(this.parser.constructs.contentInitial,s,h);let c;return u;function s(b){if(b===null){a.consume(b);return}return a.enter("lineEnding"),a.consume(b),a.exit("lineEnding"),rn(a,u,"linePrefix")}function h(b){return a.enter("paragraph"),y(b)}function y(b){const T=a.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=T),c=T,v(b)}function v(b){if(b===null){a.exit("chunkText"),a.exit("paragraph"),a.consume(b);return}return at(b)?(a.consume(b),a.exit("chunkText"),y):(a.consume(b),v)}}const DM={tokenize:MM},NA={tokenize:NM};function MM(a){const u=this,c=[];let s=0,h,y,v;return b;function b(D){if(s<c.length){const ue=c[s];return u.containerState=ue[1],a.attempt(ue[0].continuation,T,E)(D)}return E(D)}function T(D){if(s++,u.containerState._closeFlow){u.containerState._closeFlow=void 0,h&&q();const ue=u.events.length;let te=ue,Q;for(;te--;)if(u.events[te][0]==="exit"&&u.events[te][1].type==="chunkFlow"){Q=u.events[te][1].end;break}k(s);let he=ue;for(;he<u.events.length;)u.events[he][1].end={...Q},he++;return Vu(u.events,te+1,0,u.events.slice(ue)),u.events.length=he,E(D)}return b(D)}function E(D){if(s===c.length){if(!h)return z(D);if(h.currentConstruct&&h.currentConstruct.concrete)return Y(D);u.interrupt=!!(h.currentConstruct&&!h._gfmTableDynamicInterruptHack)}return u.containerState={},a.check(NA,O,R)(D)}function O(D){return h&&q(),k(s),z(D)}function R(D){return u.parser.lazy[u.now().line]=s!==c.length,v=u.now().offset,Y(D)}function z(D){return u.containerState={},a.attempt(NA,_,Y)(D)}function _(D){return s++,c.push([u.currentConstruct,u.containerState]),z(D)}function Y(D){if(D===null){h&&q(),k(0),a.consume(D);return}return h=h||u.parser.flow(u.now()),a.enter("chunkFlow",{_tokenizer:h,contentType:"flow",previous:y}),ae(D)}function ae(D){if(D===null){G(a.exit("chunkFlow"),!0),k(0),a.consume(D);return}return at(D)?(a.consume(D),G(a.exit("chunkFlow")),s=0,u.interrupt=void 0,b):(a.consume(D),ae)}function G(D,ue){const te=u.sliceStream(D);if(ue&&te.push(null),D.previous=y,y&&(y.next=D),y=D,h.defineSkip(D.start),h.write(te),u.parser.lazy[D.start.line]){let Q=h.events.length;for(;Q--;)if(h.events[Q][1].start.offset<v&&(!h.events[Q][1].end||h.events[Q][1].end.offset>v))return;const he=u.events.length;let _e=he,Se,He;for(;_e--;)if(u.events[_e][0]==="exit"&&u.events[_e][1].type==="chunkFlow"){if(Se){He=u.events[_e][1].end;break}Se=!0}for(k(s),Q=he;Q<u.events.length;)u.events[Q][1].end={...He},Q++;Vu(u.events,_e+1,0,u.events.slice(he)),u.events.length=Q}}function k(D){let ue=c.length;for(;ue-- >D;){const te=c[ue];u.containerState=te[1],te[0].exit.call(u,a)}c.length=D}function q(){h.write([null]),y=void 0,h=void 0,u.containerState._closeFlow=void 0}}function NM(a,u,c){return rn(a,a.attempt(this.parser.constructs.document,u,c),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function kA(a){if(a===null||El(a)||zM(a))return 1;if(wM(a))return 2}function d1(a,u,c){const s=[];let h=-1;for(;++h<a.length;){const y=a[h].resolveAll;y&&!s.includes(y)&&(u=y(u,c),s.push(y))}return u}const h1={name:"attention",resolveAll:kM,tokenize:UM};function kM(a,u){let c=-1,s,h,y,v,b,T,E,O;for(;++c<a.length;)if(a[c][0]==="enter"&&a[c][1].type==="attentionSequence"&&a[c][1]._close){for(s=c;s--;)if(a[s][0]==="exit"&&a[s][1].type==="attentionSequence"&&a[s][1]._open&&u.sliceSerialize(a[s][1]).charCodeAt(0)===u.sliceSerialize(a[c][1]).charCodeAt(0)){if((a[s][1]._close||a[c][1]._open)&&(a[c][1].end.offset-a[c][1].start.offset)%3&&!((a[s][1].end.offset-a[s][1].start.offset+a[c][1].end.offset-a[c][1].start.offset)%3))continue;T=a[s][1].end.offset-a[s][1].start.offset>1&&a[c][1].end.offset-a[c][1].start.offset>1?2:1;const R={...a[s][1].end},z={...a[c][1].start};UA(R,-T),UA(z,T),v={type:T>1?"strongSequence":"emphasisSequence",start:R,end:{...a[s][1].end}},b={type:T>1?"strongSequence":"emphasisSequence",start:{...a[c][1].start},end:z},y={type:T>1?"strongText":"emphasisText",start:{...a[s][1].end},end:{...a[c][1].start}},h={type:T>1?"strong":"emphasis",start:{...v.start},end:{...b.end}},a[s][1].end={...v.start},a[c][1].start={...b.end},E=[],a[s][1].end.offset-a[s][1].start.offset&&(E=pi(E,[["enter",a[s][1],u],["exit",a[s][1],u]])),E=pi(E,[["enter",h,u],["enter",v,u],["exit",v,u],["enter",y,u]]),E=pi(E,d1(u.parser.constructs.insideSpan.null,a.slice(s+1,c),u)),E=pi(E,[["exit",y,u],["enter",b,u],["exit",b,u],["exit",h,u]]),a[c][1].end.offset-a[c][1].start.offset?(O=2,E=pi(E,[["enter",a[c][1],u],["exit",a[c][1],u]])):O=0,Vu(a,s-1,c-s+3,E),c=s+E.length-O-2;break}}for(c=-1;++c<a.length;)a[c][1].type==="attentionSequence"&&(a[c][1].type="data");return a}function UM(a,u){const c=this.parser.constructs.attentionMarkers.null,s=this.previous,h=kA(s);let y;return v;function v(T){return y=T,a.enter("attentionSequence"),b(T)}function b(T){if(T===y)return a.consume(T),b;const E=a.exit("attentionSequence"),O=kA(T),R=!O||O===2&&h||c.includes(T),z=!h||h===2&&O||c.includes(s);return E._open=!!(y===42?R:R&&(h||!z)),E._close=!!(y===42?z:z&&(O||!R)),u(T)}}function UA(a,u){a.column+=u,a.offset+=u,a._bufferIndex+=u}const HM={name:"autolink",tokenize:jM};function jM(a,u,c){let s=0;return h;function h(_){return a.enter("autolink"),a.enter("autolinkMarker"),a.consume(_),a.exit("autolinkMarker"),a.enter("autolinkProtocol"),y}function y(_){return Gu(_)?(a.consume(_),v):_===64?c(_):E(_)}function v(_){return _===43||_===45||_===46||Ql(_)?(s=1,b(_)):E(_)}function b(_){return _===58?(a.consume(_),s=0,T):(_===43||_===45||_===46||Ql(_))&&s++<32?(a.consume(_),b):(s=0,E(_))}function T(_){return _===62?(a.exit("autolinkProtocol"),a.enter("autolinkMarker"),a.consume(_),a.exit("autolinkMarker"),a.exit("autolink"),u):_===null||_===32||_===60||s1(_)?c(_):(a.consume(_),T)}function E(_){return _===64?(a.consume(_),O):xM(_)?(a.consume(_),E):c(_)}function O(_){return Ql(_)?R(_):c(_)}function R(_){return _===46?(a.consume(_),s=0,O):_===62?(a.exit("autolinkProtocol").type="autolinkEmail",a.enter("autolinkMarker"),a.consume(_),a.exit("autolinkMarker"),a.exit("autolink"),u):z(_)}function z(_){if((_===45||Ql(_))&&s++<63){const Y=_===45?z:R;return a.consume(_),Y}return c(_)}}const Rv={partial:!0,tokenize:BM};function BM(a,u,c){return s;function s(y){return Yt(y)?rn(a,h,"linePrefix")(y):h(y)}function h(y){return y===null||at(y)?u(y):c(y)}}const HA={continuation:{tokenize:ZM},exit:qM,name:"blockQuote",tokenize:LM};function LM(a,u,c){const s=this;return h;function h(v){if(v===62){const b=s.containerState;return b.open||(a.enter("blockQuote",{_container:!0}),b.open=!0),a.enter("blockQuotePrefix"),a.enter("blockQuoteMarker"),a.consume(v),a.exit("blockQuoteMarker"),y}return c(v)}function y(v){return Yt(v)?(a.enter("blockQuotePrefixWhitespace"),a.consume(v),a.exit("blockQuotePrefixWhitespace"),a.exit("blockQuotePrefix"),u):(a.exit("blockQuotePrefix"),u(v))}}function ZM(a,u,c){const s=this;return h;function h(v){return Yt(v)?rn(a,y,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):y(v)}function y(v){return a.attempt(HA,u,c)(v)}}function qM(a){a.exit("blockQuote")}const jA={name:"characterEscape",tokenize:YM};function YM(a,u,c){return s;function s(y){return a.enter("characterEscape"),a.enter("escapeMarker"),a.consume(y),a.exit("escapeMarker"),h}function h(y){return RM(y)?(a.enter("characterEscapeValue"),a.consume(y),a.exit("characterEscapeValue"),a.exit("characterEscape"),u):c(y)}}const BA={name:"characterReference",tokenize:VM};function VM(a,u,c){const s=this;let h=0,y,v;return b;function b(R){return a.enter("characterReference"),a.enter("characterReferenceMarker"),a.consume(R),a.exit("characterReferenceMarker"),T}function T(R){return R===35?(a.enter("characterReferenceMarkerNumeric"),a.consume(R),a.exit("characterReferenceMarkerNumeric"),E):(a.enter("characterReferenceValue"),y=31,v=Ql,O(R))}function E(R){return R===88||R===120?(a.enter("characterReferenceMarkerHexadecimal"),a.consume(R),a.exit("characterReferenceMarkerHexadecimal"),a.enter("characterReferenceValue"),y=6,v=OM,O):(a.enter("characterReferenceValue"),y=7,v=f1,O(R))}function O(R){if(R===59&&h){const z=a.exit("characterReferenceValue");return v===Ql&&!c1(s.sliceSerialize(z))?c(R):(a.enter("characterReferenceMarker"),a.consume(R),a.exit("characterReferenceMarker"),a.exit("characterReference"),u)}return v(R)&&h++<y?(a.consume(R),O):c(R)}}const LA={partial:!0,tokenize:XM},ZA={concrete:!0,name:"codeFenced",tokenize:GM};function GM(a,u,c){const s=this,h={partial:!0,tokenize:te};let y=0,v=0,b;return T;function T(Q){return E(Q)}function E(Q){const he=s.events[s.events.length-1];return y=he&&he[1].type==="linePrefix"?he[2].sliceSerialize(he[1],!0).length:0,b=Q,a.enter("codeFenced"),a.enter("codeFencedFence"),a.enter("codeFencedFenceSequence"),O(Q)}function O(Q){return Q===b?(v++,a.consume(Q),O):v<3?c(Q):(a.exit("codeFencedFenceSequence"),Yt(Q)?rn(a,R,"whitespace")(Q):R(Q))}function R(Q){return Q===null||at(Q)?(a.exit("codeFencedFence"),s.interrupt?u(Q):a.check(LA,ae,ue)(Q)):(a.enter("codeFencedFenceInfo"),a.enter("chunkString",{contentType:"string"}),z(Q))}function z(Q){return Q===null||at(Q)?(a.exit("chunkString"),a.exit("codeFencedFenceInfo"),R(Q)):Yt(Q)?(a.exit("chunkString"),a.exit("codeFencedFenceInfo"),rn(a,_,"whitespace")(Q)):Q===96&&Q===b?c(Q):(a.consume(Q),z)}function _(Q){return Q===null||at(Q)?R(Q):(a.enter("codeFencedFenceMeta"),a.enter("chunkString",{contentType:"string"}),Y(Q))}function Y(Q){return Q===null||at(Q)?(a.exit("chunkString"),a.exit("codeFencedFenceMeta"),R(Q)):Q===96&&Q===b?c(Q):(a.consume(Q),Y)}function ae(Q){return a.attempt(h,ue,G)(Q)}function G(Q){return a.enter("lineEnding"),a.consume(Q),a.exit("lineEnding"),k}function k(Q){return y>0&&Yt(Q)?rn(a,q,"linePrefix",y+1)(Q):q(Q)}function q(Q){return Q===null||at(Q)?a.check(LA,ae,ue)(Q):(a.enter("codeFlowValue"),D(Q))}function D(Q){return Q===null||at(Q)?(a.exit("codeFlowValue"),q(Q)):(a.consume(Q),D)}function ue(Q){return a.exit("codeFenced"),u(Q)}function te(Q,he,_e){let Se=0;return He;function He(Te){return Q.enter("lineEnding"),Q.consume(Te),Q.exit("lineEnding"),be}function be(Te){return Q.enter("codeFencedFence"),Yt(Te)?rn(Q,Ee,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Te):Ee(Te)}function Ee(Te){return Te===b?(Q.enter("codeFencedFenceSequence"),Xe(Te)):_e(Te)}function Xe(Te){return Te===b?(Se++,Q.consume(Te),Xe):Se>=v?(Q.exit("codeFencedFenceSequence"),Yt(Te)?rn(Q,Ne,"whitespace")(Te):Ne(Te)):_e(Te)}function Ne(Te){return Te===null||at(Te)?(Q.exit("codeFencedFence"),he(Te)):_e(Te)}}}function XM(a,u,c){const s=this;return h;function h(v){return v===null?c(v):(a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),y)}function y(v){return s.parser.lazy[s.now().line]?c(v):u(v)}}const p1={name:"codeIndented",tokenize:IM},QM={partial:!0,tokenize:JM};function IM(a,u,c){const s=this;return h;function h(E){return a.enter("codeIndented"),rn(a,y,"linePrefix",5)(E)}function y(E){const O=s.events[s.events.length-1];return O&&O[1].type==="linePrefix"&&O[2].sliceSerialize(O[1],!0).length>=4?v(E):c(E)}function v(E){return E===null?T(E):at(E)?a.attempt(QM,v,T)(E):(a.enter("codeFlowValue"),b(E))}function b(E){return E===null||at(E)?(a.exit("codeFlowValue"),v(E)):(a.consume(E),b)}function T(E){return a.exit("codeIndented"),u(E)}}function JM(a,u,c){const s=this;return h;function h(v){return s.parser.lazy[s.now().line]?c(v):at(v)?(a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),h):rn(a,y,"linePrefix",5)(v)}function y(v){const b=s.events[s.events.length-1];return b&&b[1].type==="linePrefix"&&b[2].sliceSerialize(b[1],!0).length>=4?u(v):at(v)?h(v):c(v)}}const $M={name:"codeText",previous:PM,resolve:KM,tokenize:FM};function KM(a){let u=a.length-4,c=3,s,h;if((a[c][1].type==="lineEnding"||a[c][1].type==="space")&&(a[u][1].type==="lineEnding"||a[u][1].type==="space")){for(s=c;++s<u;)if(a[s][1].type==="codeTextData"){a[c][1].type="codeTextPadding",a[u][1].type="codeTextPadding",c+=2,u-=2;break}}for(s=c-1,u++;++s<=u;)h===void 0?s!==u&&a[s][1].type!=="lineEnding"&&(h=s):(s===u||a[s][1].type==="lineEnding")&&(a[h][1].type="codeTextData",s!==h+2&&(a[h][1].end=a[s-1][1].end,a.splice(h+2,s-h-2),u-=s-h-2,s=h+2),h=void 0);return a}function PM(a){return a!==96||this.events[this.events.length-1][1].type==="characterEscape"}function FM(a,u,c){let s=0,h,y;return v;function v(R){return a.enter("codeText"),a.enter("codeTextSequence"),b(R)}function b(R){return R===96?(a.consume(R),s++,b):(a.exit("codeTextSequence"),T(R))}function T(R){return R===null?c(R):R===32?(a.enter("space"),a.consume(R),a.exit("space"),T):R===96?(y=a.enter("codeTextSequence"),h=0,O(R)):at(R)?(a.enter("lineEnding"),a.consume(R),a.exit("lineEnding"),T):(a.enter("codeTextData"),E(R))}function E(R){return R===null||R===32||R===96||at(R)?(a.exit("codeTextData"),T(R)):(a.consume(R),E)}function O(R){return R===96?(a.consume(R),h++,O):h===s?(a.exit("codeTextSequence"),a.exit("codeText"),u(R)):(y.type="codeTextData",E(R))}}class WM{constructor(u){this.left=u?[...u]:[],this.right=[]}get(u){if(u<0||u>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+u+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return u<this.left.length?this.left[u]:this.right[this.right.length-u+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(u,c){const s=c??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(u,s):u>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-u+this.left.length).reverse():this.left.slice(u).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(u,c,s){const h=c||0;this.setCursor(Math.trunc(u));const y=this.right.splice(this.right.length-h,Number.POSITIVE_INFINITY);return s&&hm(this.left,s),y.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(u){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(u)}pushMany(u){this.setCursor(Number.POSITIVE_INFINITY),hm(this.left,u)}unshift(u){this.setCursor(0),this.right.push(u)}unshiftMany(u){this.setCursor(0),hm(this.right,u.reverse())}setCursor(u){if(!(u===this.left.length||u>this.left.length&&this.right.length===0||u<0&&this.left.length===0))if(u<this.left.length){const c=this.left.splice(u,Number.POSITIVE_INFINITY);hm(this.right,c.reverse())}else{const c=this.right.splice(this.left.length+this.right.length-u,Number.POSITIVE_INFINITY);hm(this.left,c.reverse())}}}function hm(a,u){let c=0;if(u.length<1e4)a.push(...u);else for(;c<u.length;)a.push(...u.slice(c,c+1e4)),c+=1e4}function qA(a){const u={};let c=-1,s,h,y,v,b,T,E;const O=new WM(a);for(;++c<O.length;){for(;c in u;)c=u[c];if(s=O.get(c),c&&s[1].type==="chunkFlow"&&O.get(c-1)[1].type==="listItemPrefix"&&(T=s[1]._tokenizer.events,y=0,y<T.length&&T[y][1].type==="lineEndingBlank"&&(y+=2),y<T.length&&T[y][1].type==="content"))for(;++y<T.length&&T[y][1].type!=="content";)T[y][1].type==="chunkText"&&(T[y][1]._isInFirstContentOfListItem=!0,y++);if(s[0]==="enter")s[1].contentType&&(Object.assign(u,e4(O,c)),c=u[c],E=!0);else if(s[1]._container){for(y=c,h=void 0;y--;)if(v=O.get(y),v[1].type==="lineEnding"||v[1].type==="lineEndingBlank")v[0]==="enter"&&(h&&(O.get(h)[1].type="lineEndingBlank"),v[1].type="lineEnding",h=y);else if(!(v[1].type==="linePrefix"||v[1].type==="listItemIndent"))break;h&&(s[1].end={...O.get(h)[1].start},b=O.slice(h,c),b.unshift(s),O.splice(h,c-h+1,b))}}return Vu(a,0,Number.POSITIVE_INFINITY,O.slice(0)),!E}function e4(a,u){const c=a.get(u)[1],s=a.get(u)[2];let h=u-1;const y=[];let v=c._tokenizer;v||(v=s.parser[c.contentType](c.start),c._contentTypeTextTrailing&&(v._contentTypeTextTrailing=!0));const b=v.events,T=[],E={};let O,R,z=-1,_=c,Y=0,ae=0;const G=[ae];for(;_;){for(;a.get(++h)[1]!==_;);y.push(h),_._tokenizer||(O=s.sliceStream(_),_.next||O.push(null),R&&v.defineSkip(_.start),_._isInFirstContentOfListItem&&(v._gfmTasklistFirstContentOfListItem=!0),v.write(O),_._isInFirstContentOfListItem&&(v._gfmTasklistFirstContentOfListItem=void 0)),R=_,_=_.next}for(_=c;++z<b.length;)b[z][0]==="exit"&&b[z-1][0]==="enter"&&b[z][1].type===b[z-1][1].type&&b[z][1].start.line!==b[z][1].end.line&&(ae=z+1,G.push(ae),_._tokenizer=void 0,_.previous=void 0,_=_.next);for(v.events=[],_?(_._tokenizer=void 0,_.previous=void 0):G.pop(),z=G.length;z--;){const k=b.slice(G[z],G[z+1]),q=y.pop();T.push([q,q+k.length-1]),a.splice(q,2,k)}for(T.reverse(),z=-1;++z<T.length;)E[Y+T[z][0]]=Y+T[z][1],Y+=T[z][1]-T[z][0]-1;return E}const t4={resolve:a4,tokenize:l4},n4={partial:!0,tokenize:i4};function a4(a){return qA(a),a}function l4(a,u){let c;return s;function s(b){return a.enter("content"),c=a.enter("chunkContent",{contentType:"content"}),h(b)}function h(b){return b===null?y(b):at(b)?a.check(n4,v,y)(b):(a.consume(b),h)}function y(b){return a.exit("chunkContent"),a.exit("content"),u(b)}function v(b){return a.consume(b),a.exit("chunkContent"),c.next=a.enter("chunkContent",{contentType:"content",previous:c}),c=c.next,h}}function i4(a,u,c){const s=this;return h;function h(v){return a.exit("chunkContent"),a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),rn(a,y,"linePrefix")}function y(v){if(v===null||at(v))return c(v);const b=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&b&&b[1].type==="linePrefix"&&b[2].sliceSerialize(b[1],!0).length>=4?u(v):a.interrupt(s.parser.constructs.flow,c,u)(v)}}function YA(a,u,c,s,h,y,v,b,T){const E=T||Number.POSITIVE_INFINITY;let O=0;return R;function R(k){return k===60?(a.enter(s),a.enter(h),a.enter(y),a.consume(k),a.exit(y),z):k===null||k===32||k===41||s1(k)?c(k):(a.enter(s),a.enter(v),a.enter(b),a.enter("chunkString",{contentType:"string"}),ae(k))}function z(k){return k===62?(a.enter(y),a.consume(k),a.exit(y),a.exit(h),a.exit(s),u):(a.enter(b),a.enter("chunkString",{contentType:"string"}),_(k))}function _(k){return k===62?(a.exit("chunkString"),a.exit(b),z(k)):k===null||k===60||at(k)?c(k):(a.consume(k),k===92?Y:_)}function Y(k){return k===60||k===62||k===92?(a.consume(k),_):_(k)}function ae(k){return!O&&(k===null||k===41||El(k))?(a.exit("chunkString"),a.exit(b),a.exit(v),a.exit(s),u(k)):O<E&&k===40?(a.consume(k),O++,ae):k===41?(a.consume(k),O--,ae):k===null||k===32||k===40||s1(k)?c(k):(a.consume(k),k===92?G:ae)}function G(k){return k===40||k===41||k===92?(a.consume(k),ae):ae(k)}}function VA(a,u,c,s,h,y){const v=this;let b=0,T;return E;function E(_){return a.enter(s),a.enter(h),a.consume(_),a.exit(h),a.enter(y),O}function O(_){return b>999||_===null||_===91||_===93&&!T||_===94&&!b&&"_hiddenFootnoteSupport"in v.parser.constructs?c(_):_===93?(a.exit(y),a.enter(h),a.consume(_),a.exit(h),a.exit(s),u):at(_)?(a.enter("lineEnding"),a.consume(_),a.exit("lineEnding"),O):(a.enter("chunkString",{contentType:"string"}),R(_))}function R(_){return _===null||_===91||_===93||at(_)||b++>999?(a.exit("chunkString"),O(_)):(a.consume(_),T||(T=!Yt(_)),_===92?z:R)}function z(_){return _===91||_===92||_===93?(a.consume(_),b++,R):R(_)}}function GA(a,u,c,s,h,y){let v;return b;function b(z){return z===34||z===39||z===40?(a.enter(s),a.enter(h),a.consume(z),a.exit(h),v=z===40?41:z,T):c(z)}function T(z){return z===v?(a.enter(h),a.consume(z),a.exit(h),a.exit(s),u):(a.enter(y),E(z))}function E(z){return z===v?(a.exit(y),T(v)):z===null?c(z):at(z)?(a.enter("lineEnding"),a.consume(z),a.exit("lineEnding"),rn(a,E,"linePrefix")):(a.enter("chunkString",{contentType:"string"}),O(z))}function O(z){return z===v||z===null||at(z)?(a.exit("chunkString"),E(z)):(a.consume(z),z===92?R:O)}function R(z){return z===v||z===92?(a.consume(z),O):O(z)}}function pm(a,u){let c;return s;function s(h){return at(h)?(a.enter("lineEnding"),a.consume(h),a.exit("lineEnding"),c=!0,s):Yt(h)?rn(a,s,c?"linePrefix":"lineSuffix")(h):u(h)}}const u4={name:"definition",tokenize:o4},r4={partial:!0,tokenize:c4};function o4(a,u,c){const s=this;let h;return y;function y(_){return a.enter("definition"),v(_)}function v(_){return VA.call(s,a,b,c,"definitionLabel","definitionLabelMarker","definitionLabelString")(_)}function b(_){return h=gd(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),_===58?(a.enter("definitionMarker"),a.consume(_),a.exit("definitionMarker"),T):c(_)}function T(_){return El(_)?pm(a,E)(_):E(_)}function E(_){return YA(a,O,c,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(_)}function O(_){return a.attempt(r4,R,R)(_)}function R(_){return Yt(_)?rn(a,z,"whitespace")(_):z(_)}function z(_){return _===null||at(_)?(a.exit("definition"),s.parser.defined.push(h),u(_)):c(_)}}function c4(a,u,c){return s;function s(b){return El(b)?pm(a,h)(b):c(b)}function h(b){return GA(a,y,c,"definitionTitle","definitionTitleMarker","definitionTitleString")(b)}function y(b){return Yt(b)?rn(a,v,"whitespace")(b):v(b)}function v(b){return b===null||at(b)?u(b):c(b)}}const s4={name:"hardBreakEscape",tokenize:f4};function f4(a,u,c){return s;function s(y){return a.enter("hardBreakEscape"),a.consume(y),h}function h(y){return at(y)?(a.exit("hardBreakEscape"),u(y)):c(y)}}const d4={name:"headingAtx",resolve:h4,tokenize:p4};function h4(a,u){let c=a.length-2,s=3,h,y;return a[s][1].type==="whitespace"&&(s+=2),c-2>s&&a[c][1].type==="whitespace"&&(c-=2),a[c][1].type==="atxHeadingSequence"&&(s===c-1||c-4>s&&a[c-2][1].type==="whitespace")&&(c-=s+1===c?2:4),c>s&&(h={type:"atxHeadingText",start:a[s][1].start,end:a[c][1].end},y={type:"chunkText",start:a[s][1].start,end:a[c][1].end,contentType:"text"},Vu(a,s,c-s+1,[["enter",h,u],["enter",y,u],["exit",y,u],["exit",h,u]])),a}function p4(a,u,c){let s=0;return h;function h(O){return a.enter("atxHeading"),y(O)}function y(O){return a.enter("atxHeadingSequence"),v(O)}function v(O){return O===35&&s++<6?(a.consume(O),v):O===null||El(O)?(a.exit("atxHeadingSequence"),b(O)):c(O)}function b(O){return O===35?(a.enter("atxHeadingSequence"),T(O)):O===null||at(O)?(a.exit("atxHeading"),u(O)):Yt(O)?rn(a,b,"whitespace")(O):(a.enter("atxHeadingText"),E(O))}function T(O){return O===35?(a.consume(O),T):(a.exit("atxHeadingSequence"),b(O))}function E(O){return O===null||O===35||El(O)?(a.exit("atxHeadingText"),b(O)):(a.consume(O),E)}}const m4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],XA=["pre","script","style","textarea"],y4={concrete:!0,name:"htmlFlow",resolveTo:b4,tokenize:S4},g4={partial:!0,tokenize:T4},v4={partial:!0,tokenize:E4};function b4(a){let u=a.length;for(;u--&&!(a[u][0]==="enter"&&a[u][1].type==="htmlFlow"););return u>1&&a[u-2][1].type==="linePrefix"&&(a[u][1].start=a[u-2][1].start,a[u+1][1].start=a[u-2][1].start,a.splice(u-2,2)),a}function S4(a,u,c){const s=this;let h,y,v,b,T;return E;function E(U){return O(U)}function O(U){return a.enter("htmlFlow"),a.enter("htmlFlowData"),a.consume(U),R}function R(U){return U===33?(a.consume(U),z):U===47?(a.consume(U),y=!0,ae):U===63?(a.consume(U),h=3,s.interrupt?u:A):Gu(U)?(a.consume(U),v=String.fromCharCode(U),G):c(U)}function z(U){return U===45?(a.consume(U),h=2,_):U===91?(a.consume(U),h=5,b=0,Y):Gu(U)?(a.consume(U),h=4,s.interrupt?u:A):c(U)}function _(U){return U===45?(a.consume(U),s.interrupt?u:A):c(U)}function Y(U){const Re="CDATA[";return U===Re.charCodeAt(b++)?(a.consume(U),b===Re.length?s.interrupt?u:Ee:Y):c(U)}function ae(U){return Gu(U)?(a.consume(U),v=String.fromCharCode(U),G):c(U)}function G(U){if(U===null||U===47||U===62||El(U)){const Re=U===47,Ye=v.toLowerCase();return!Re&&!y&&XA.includes(Ye)?(h=1,s.interrupt?u(U):Ee(U)):m4.includes(v.toLowerCase())?(h=6,Re?(a.consume(U),k):s.interrupt?u(U):Ee(U)):(h=7,s.interrupt&&!s.parser.lazy[s.now().line]?c(U):y?q(U):D(U))}return U===45||Ql(U)?(a.consume(U),v+=String.fromCharCode(U),G):c(U)}function k(U){return U===62?(a.consume(U),s.interrupt?u:Ee):c(U)}function q(U){return Yt(U)?(a.consume(U),q):He(U)}function D(U){return U===47?(a.consume(U),He):U===58||U===95||Gu(U)?(a.consume(U),ue):Yt(U)?(a.consume(U),D):He(U)}function ue(U){return U===45||U===46||U===58||U===95||Ql(U)?(a.consume(U),ue):te(U)}function te(U){return U===61?(a.consume(U),Q):Yt(U)?(a.consume(U),te):D(U)}function Q(U){return U===null||U===60||U===61||U===62||U===96?c(U):U===34||U===39?(a.consume(U),T=U,he):Yt(U)?(a.consume(U),Q):_e(U)}function he(U){return U===T?(a.consume(U),T=null,Se):U===null||at(U)?c(U):(a.consume(U),he)}function _e(U){return U===null||U===34||U===39||U===47||U===60||U===61||U===62||U===96||El(U)?te(U):(a.consume(U),_e)}function Se(U){return U===47||U===62||Yt(U)?D(U):c(U)}function He(U){return U===62?(a.consume(U),be):c(U)}function be(U){return U===null||at(U)?Ee(U):Yt(U)?(a.consume(U),be):c(U)}function Ee(U){return U===45&&h===2?(a.consume(U),L):U===60&&h===1?(a.consume(U),ie):U===62&&h===4?(a.consume(U),$):U===63&&h===3?(a.consume(U),A):U===93&&h===5?(a.consume(U),ke):at(U)&&(h===6||h===7)?(a.exit("htmlFlowData"),a.check(g4,ce,Xe)(U)):U===null||at(U)?(a.exit("htmlFlowData"),Xe(U)):(a.consume(U),Ee)}function Xe(U){return a.check(v4,Ne,ce)(U)}function Ne(U){return a.enter("lineEnding"),a.consume(U),a.exit("lineEnding"),Te}function Te(U){return U===null||at(U)?Xe(U):(a.enter("htmlFlowData"),Ee(U))}function L(U){return U===45?(a.consume(U),A):Ee(U)}function ie(U){return U===47?(a.consume(U),v="",se):Ee(U)}function se(U){if(U===62){const Re=v.toLowerCase();return XA.includes(Re)?(a.consume(U),$):Ee(U)}return Gu(U)&&v.length<8?(a.consume(U),v+=String.fromCharCode(U),se):Ee(U)}function ke(U){return U===93?(a.consume(U),A):Ee(U)}function A(U){return U===62?(a.consume(U),$):U===45&&h===2?(a.consume(U),A):Ee(U)}function $(U){return U===null||at(U)?(a.exit("htmlFlowData"),ce(U)):(a.consume(U),$)}function ce(U){return a.exit("htmlFlow"),u(U)}}function E4(a,u,c){const s=this;return h;function h(v){return at(v)?(a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),y):c(v)}function y(v){return s.parser.lazy[s.now().line]?c(v):u(v)}}function T4(a,u,c){return s;function s(h){return a.enter("lineEnding"),a.consume(h),a.exit("lineEnding"),a.attempt(Rv,u,c)}}const A4={name:"htmlText",tokenize:x4};function x4(a,u,c){const s=this;let h,y,v;return b;function b(A){return a.enter("htmlText"),a.enter("htmlTextData"),a.consume(A),T}function T(A){return A===33?(a.consume(A),E):A===47?(a.consume(A),te):A===63?(a.consume(A),D):Gu(A)?(a.consume(A),_e):c(A)}function E(A){return A===45?(a.consume(A),O):A===91?(a.consume(A),y=0,Y):Gu(A)?(a.consume(A),q):c(A)}function O(A){return A===45?(a.consume(A),_):c(A)}function R(A){return A===null?c(A):A===45?(a.consume(A),z):at(A)?(v=R,ie(A)):(a.consume(A),R)}function z(A){return A===45?(a.consume(A),_):R(A)}function _(A){return A===62?L(A):A===45?z(A):R(A)}function Y(A){const $="CDATA[";return A===$.charCodeAt(y++)?(a.consume(A),y===$.length?ae:Y):c(A)}function ae(A){return A===null?c(A):A===93?(a.consume(A),G):at(A)?(v=ae,ie(A)):(a.consume(A),ae)}function G(A){return A===93?(a.consume(A),k):ae(A)}function k(A){return A===62?L(A):A===93?(a.consume(A),k):ae(A)}function q(A){return A===null||A===62?L(A):at(A)?(v=q,ie(A)):(a.consume(A),q)}function D(A){return A===null?c(A):A===63?(a.consume(A),ue):at(A)?(v=D,ie(A)):(a.consume(A),D)}function ue(A){return A===62?L(A):D(A)}function te(A){return Gu(A)?(a.consume(A),Q):c(A)}function Q(A){return A===45||Ql(A)?(a.consume(A),Q):he(A)}function he(A){return at(A)?(v=he,ie(A)):Yt(A)?(a.consume(A),he):L(A)}function _e(A){return A===45||Ql(A)?(a.consume(A),_e):A===47||A===62||El(A)?Se(A):c(A)}function Se(A){return A===47?(a.consume(A),L):A===58||A===95||Gu(A)?(a.consume(A),He):at(A)?(v=Se,ie(A)):Yt(A)?(a.consume(A),Se):L(A)}function He(A){return A===45||A===46||A===58||A===95||Ql(A)?(a.consume(A),He):be(A)}function be(A){return A===61?(a.consume(A),Ee):at(A)?(v=be,ie(A)):Yt(A)?(a.consume(A),be):Se(A)}function Ee(A){return A===null||A===60||A===61||A===62||A===96?c(A):A===34||A===39?(a.consume(A),h=A,Xe):at(A)?(v=Ee,ie(A)):Yt(A)?(a.consume(A),Ee):(a.consume(A),Ne)}function Xe(A){return A===h?(a.consume(A),h=void 0,Te):A===null?c(A):at(A)?(v=Xe,ie(A)):(a.consume(A),Xe)}function Ne(A){return A===null||A===34||A===39||A===60||A===61||A===96?c(A):A===47||A===62||El(A)?Se(A):(a.consume(A),Ne)}function Te(A){return A===47||A===62||El(A)?Se(A):c(A)}function L(A){return A===62?(a.consume(A),a.exit("htmlTextData"),a.exit("htmlText"),u):c(A)}function ie(A){return a.exit("htmlTextData"),a.enter("lineEnding"),a.consume(A),a.exit("lineEnding"),se}function se(A){return Yt(A)?rn(a,ke,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):ke(A)}function ke(A){return a.enter("htmlTextData"),v(A)}}const m1={name:"labelEnd",resolveAll:z4,resolveTo:_4,tokenize:C4},O4={tokenize:D4},R4={tokenize:M4},w4={tokenize:N4};function z4(a){let u=-1;const c=[];for(;++u<a.length;){const s=a[u][1];if(c.push(a[u]),s.type==="labelImage"||s.type==="labelLink"||s.type==="labelEnd"){const h=s.type==="labelImage"?4:2;s.type="data",u+=h}}return a.length!==c.length&&Vu(a,0,a.length,c),a}function _4(a,u){let c=a.length,s=0,h,y,v,b;for(;c--;)if(h=a[c][1],y){if(h.type==="link"||h.type==="labelLink"&&h._inactive)break;a[c][0]==="enter"&&h.type==="labelLink"&&(h._inactive=!0)}else if(v){if(a[c][0]==="enter"&&(h.type==="labelImage"||h.type==="labelLink")&&!h._balanced&&(y=c,h.type!=="labelLink")){s=2;break}}else h.type==="labelEnd"&&(v=c);const T={type:a[y][1].type==="labelLink"?"link":"image",start:{...a[y][1].start},end:{...a[a.length-1][1].end}},E={type:"label",start:{...a[y][1].start},end:{...a[v][1].end}},O={type:"labelText",start:{...a[y+s+2][1].end},end:{...a[v-2][1].start}};return b=[["enter",T,u],["enter",E,u]],b=pi(b,a.slice(y+1,y+s+3)),b=pi(b,[["enter",O,u]]),b=pi(b,d1(u.parser.constructs.insideSpan.null,a.slice(y+s+4,v-3),u)),b=pi(b,[["exit",O,u],a[v-2],a[v-1],["exit",E,u]]),b=pi(b,a.slice(v+1)),b=pi(b,[["exit",T,u]]),Vu(a,y,a.length,b),a}function C4(a,u,c){const s=this;let h=s.events.length,y,v;for(;h--;)if((s.events[h][1].type==="labelImage"||s.events[h][1].type==="labelLink")&&!s.events[h][1]._balanced){y=s.events[h][1];break}return b;function b(z){return y?y._inactive?R(z):(v=s.parser.defined.includes(gd(s.sliceSerialize({start:y.end,end:s.now()}))),a.enter("labelEnd"),a.enter("labelMarker"),a.consume(z),a.exit("labelMarker"),a.exit("labelEnd"),T):c(z)}function T(z){return z===40?a.attempt(O4,O,v?O:R)(z):z===91?a.attempt(R4,O,v?E:R)(z):v?O(z):R(z)}function E(z){return a.attempt(w4,O,R)(z)}function O(z){return u(z)}function R(z){return y._balanced=!0,c(z)}}function D4(a,u,c){return s;function s(R){return a.enter("resource"),a.enter("resourceMarker"),a.consume(R),a.exit("resourceMarker"),h}function h(R){return El(R)?pm(a,y)(R):y(R)}function y(R){return R===41?O(R):YA(a,v,b,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(R)}function v(R){return El(R)?pm(a,T)(R):O(R)}function b(R){return c(R)}function T(R){return R===34||R===39||R===40?GA(a,E,c,"resourceTitle","resourceTitleMarker","resourceTitleString")(R):O(R)}function E(R){return El(R)?pm(a,O)(R):O(R)}function O(R){return R===41?(a.enter("resourceMarker"),a.consume(R),a.exit("resourceMarker"),a.exit("resource"),u):c(R)}}function M4(a,u,c){const s=this;return h;function h(b){return VA.call(s,a,y,v,"reference","referenceMarker","referenceString")(b)}function y(b){return s.parser.defined.includes(gd(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?u(b):c(b)}function v(b){return c(b)}}function N4(a,u,c){return s;function s(y){return a.enter("reference"),a.enter("referenceMarker"),a.consume(y),a.exit("referenceMarker"),h}function h(y){return y===93?(a.enter("referenceMarker"),a.consume(y),a.exit("referenceMarker"),a.exit("reference"),u):c(y)}}const k4={name:"labelStartImage",resolveAll:m1.resolveAll,tokenize:U4};function U4(a,u,c){const s=this;return h;function h(b){return a.enter("labelImage"),a.enter("labelImageMarker"),a.consume(b),a.exit("labelImageMarker"),y}function y(b){return b===91?(a.enter("labelMarker"),a.consume(b),a.exit("labelMarker"),a.exit("labelImage"),v):c(b)}function v(b){return b===94&&"_hiddenFootnoteSupport"in s.parser.constructs?c(b):u(b)}}const H4={name:"labelStartLink",resolveAll:m1.resolveAll,tokenize:j4};function j4(a,u,c){const s=this;return h;function h(v){return a.enter("labelLink"),a.enter("labelMarker"),a.consume(v),a.exit("labelMarker"),a.exit("labelLink"),y}function y(v){return v===94&&"_hiddenFootnoteSupport"in s.parser.constructs?c(v):u(v)}}const y1={name:"lineEnding",tokenize:B4};function B4(a,u){return c;function c(s){return a.enter("lineEnding"),a.consume(s),a.exit("lineEnding"),rn(a,u,"linePrefix")}}const wv={name:"thematicBreak",tokenize:L4};function L4(a,u,c){let s=0,h;return y;function y(E){return a.enter("thematicBreak"),v(E)}function v(E){return h=E,b(E)}function b(E){return E===h?(a.enter("thematicBreakSequence"),T(E)):s>=3&&(E===null||at(E))?(a.exit("thematicBreak"),u(E)):c(E)}function T(E){return E===h?(a.consume(E),s++,T):(a.exit("thematicBreakSequence"),Yt(E)?rn(a,b,"whitespace")(E):b(E))}}const Tl={continuation:{tokenize:V4},exit:X4,name:"list",tokenize:Y4},Z4={partial:!0,tokenize:Q4},q4={partial:!0,tokenize:G4};function Y4(a,u,c){const s=this,h=s.events[s.events.length-1];let y=h&&h[1].type==="linePrefix"?h[2].sliceSerialize(h[1],!0).length:0,v=0;return b;function b(_){const Y=s.containerState.type||(_===42||_===43||_===45?"listUnordered":"listOrdered");if(Y==="listUnordered"?!s.containerState.marker||_===s.containerState.marker:f1(_)){if(s.containerState.type||(s.containerState.type=Y,a.enter(Y,{_container:!0})),Y==="listUnordered")return a.enter("listItemPrefix"),_===42||_===45?a.check(wv,c,E)(_):E(_);if(!s.interrupt||_===49)return a.enter("listItemPrefix"),a.enter("listItemValue"),T(_)}return c(_)}function T(_){return f1(_)&&++v<10?(a.consume(_),T):(!s.interrupt||v<2)&&(s.containerState.marker?_===s.containerState.marker:_===41||_===46)?(a.exit("listItemValue"),E(_)):c(_)}function E(_){return a.enter("listItemMarker"),a.consume(_),a.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||_,a.check(Rv,s.interrupt?c:O,a.attempt(Z4,z,R))}function O(_){return s.containerState.initialBlankLine=!0,y++,z(_)}function R(_){return Yt(_)?(a.enter("listItemPrefixWhitespace"),a.consume(_),a.exit("listItemPrefixWhitespace"),z):c(_)}function z(_){return s.containerState.size=y+s.sliceSerialize(a.exit("listItemPrefix"),!0).length,u(_)}}function V4(a,u,c){const s=this;return s.containerState._closeFlow=void 0,a.check(Rv,h,y);function h(b){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,rn(a,u,"listItemIndent",s.containerState.size+1)(b)}function y(b){return s.containerState.furtherBlankLines||!Yt(b)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,v(b)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,a.attempt(q4,u,v)(b))}function v(b){return s.containerState._closeFlow=!0,s.interrupt=void 0,rn(a,a.attempt(Tl,u,c),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b)}}function G4(a,u,c){const s=this;return rn(a,h,"listItemIndent",s.containerState.size+1);function h(y){const v=s.events[s.events.length-1];return v&&v[1].type==="listItemIndent"&&v[2].sliceSerialize(v[1],!0).length===s.containerState.size?u(y):c(y)}}function X4(a){a.exit(this.containerState.type)}function Q4(a,u,c){const s=this;return rn(a,h,"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function h(y){const v=s.events[s.events.length-1];return!Yt(y)&&v&&v[1].type==="listItemPrefixWhitespace"?u(y):c(y)}}const QA={name:"setextUnderline",resolveTo:I4,tokenize:J4};function I4(a,u){let c=a.length,s,h,y;for(;c--;)if(a[c][0]==="enter"){if(a[c][1].type==="content"){s=c;break}a[c][1].type==="paragraph"&&(h=c)}else a[c][1].type==="content"&&a.splice(c,1),!y&&a[c][1].type==="definition"&&(y=c);const v={type:"setextHeading",start:{...a[s][1].start},end:{...a[a.length-1][1].end}};return a[h][1].type="setextHeadingText",y?(a.splice(h,0,["enter",v,u]),a.splice(y+1,0,["exit",a[s][1],u]),a[s][1].end={...a[y][1].end}):a[s][1]=v,a.push(["exit",v,u]),a}function J4(a,u,c){const s=this;let h;return y;function y(E){let O=s.events.length,R;for(;O--;)if(s.events[O][1].type!=="lineEnding"&&s.events[O][1].type!=="linePrefix"&&s.events[O][1].type!=="content"){R=s.events[O][1].type==="paragraph";break}return!s.parser.lazy[s.now().line]&&(s.interrupt||R)?(a.enter("setextHeadingLine"),h=E,v(E)):c(E)}function v(E){return a.enter("setextHeadingLineSequence"),b(E)}function b(E){return E===h?(a.consume(E),b):(a.exit("setextHeadingLineSequence"),Yt(E)?rn(a,T,"lineSuffix")(E):T(E))}function T(E){return E===null||at(E)?(a.exit("setextHeadingLine"),u(E)):c(E)}}const $4={tokenize:K4};function K4(a){const u=this,c=a.attempt(Rv,s,a.attempt(this.parser.constructs.flowInitial,h,rn(a,a.attempt(this.parser.constructs.flow,h,a.attempt(t4,h)),"linePrefix")));return c;function s(y){if(y===null){a.consume(y);return}return a.enter("lineEndingBlank"),a.consume(y),a.exit("lineEndingBlank"),u.currentConstruct=void 0,c}function h(y){if(y===null){a.consume(y);return}return a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),u.currentConstruct=void 0,c}}const P4={resolveAll:JA()},F4=IA("string"),W4=IA("text");function IA(a){return{resolveAll:JA(a==="text"?e3:void 0),tokenize:u};function u(c){const s=this,h=this.parser.constructs[a],y=c.attempt(h,v,b);return v;function v(O){return E(O)?y(O):b(O)}function b(O){if(O===null){c.consume(O);return}return c.enter("data"),c.consume(O),T}function T(O){return E(O)?(c.exit("data"),y(O)):(c.consume(O),T)}function E(O){if(O===null)return!0;const R=h[O];let z=-1;if(R)for(;++z<R.length;){const _=R[z];if(!_.previous||_.previous.call(s,s.previous))return!0}return!1}}}function JA(a){return u;function u(c,s){let h=-1,y;for(;++h<=c.length;)y===void 0?c[h]&&c[h][1].type==="data"&&(y=h,h++):(!c[h]||c[h][1].type!=="data")&&(h!==y+2&&(c[y][1].end=c[h-1][1].end,c.splice(y+2,h-y-2),h=y+2),y=void 0);return a?a(c,s):c}}function e3(a,u){let c=0;for(;++c<=a.length;)if((c===a.length||a[c][1].type==="lineEnding")&&a[c-1][1].type==="data"){const s=a[c-1][1],h=u.sliceStream(s);let y=h.length,v=-1,b=0,T;for(;y--;){const E=h[y];if(typeof E=="string"){for(v=E.length;E.charCodeAt(v-1)===32;)b++,v--;if(v)break;v=-1}else if(E===-2)T=!0,b++;else if(E!==-1){y++;break}}if(u._contentTypeTextTrailing&&c===a.length&&(b=0),b){const E={type:c===a.length||T||b<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:y?v:s.start._bufferIndex+v,_index:s.start._index+y,line:s.end.line,column:s.end.column-b,offset:s.end.offset-b},end:{...s.end}};s.end={...E.start},s.start.offset===s.end.offset?Object.assign(s,E):(a.splice(c,0,["enter",E,u],["exit",E,u]),c+=2)}c++}return a}const t3=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:u4},disable:{null:[]},document:{42:Tl,43:Tl,45:Tl,48:Tl,49:Tl,50:Tl,51:Tl,52:Tl,53:Tl,54:Tl,55:Tl,56:Tl,57:Tl,62:HA},flow:{35:d4,42:wv,45:[QA,wv],60:y4,61:QA,95:wv,96:ZA,126:ZA},flowInitial:{[-2]:p1,[-1]:p1,32:p1},insideSpan:{null:[h1,P4]},string:{38:BA,92:jA},text:{[-5]:y1,[-4]:y1,[-3]:y1,33:k4,38:BA,42:h1,60:[HM,A4],91:H4,92:[s4,jA],93:m1,95:h1,96:$M}},Symbol.toStringTag,{value:"Module"}));function n3(a,u,c){let s={_bufferIndex:-1,_index:0,line:c&&c.line||1,column:c&&c.column||1,offset:c&&c.offset||0};const h={},y=[];let v=[],b=[];const T={attempt:he(te),check:he(Q),consume:q,enter:D,exit:ue,interrupt:he(Q,{interrupt:!0})},E={code:null,containerState:{},defineSkip:ae,events:[],now:Y,parser:a,previous:null,sliceSerialize:z,sliceStream:_,write:R};let O=u.tokenize.call(E,T);return u.resolveAll&&y.push(u),E;function R(be){return v=pi(v,be),G(),v[v.length-1]!==null?[]:(_e(u,0),E.events=d1(y,E.events,E),E.events)}function z(be,Ee){return l3(_(be),Ee)}function _(be){return a3(v,be)}function Y(){const{_bufferIndex:be,_index:Ee,line:Xe,column:Ne,offset:Te}=s;return{_bufferIndex:be,_index:Ee,line:Xe,column:Ne,offset:Te}}function ae(be){h[be.line]=be.column,He()}function G(){let be;for(;s._index<v.length;){const Ee=v[s._index];if(typeof Ee=="string")for(be=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===be&&s._bufferIndex<Ee.length;)k(Ee.charCodeAt(s._bufferIndex));else k(Ee)}}function k(be){O=O(be)}function q(be){at(be)?(s.line++,s.column=1,s.offset+=be===-3?2:1,He()):be!==-1&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===v[s._index].length&&(s._bufferIndex=-1,s._index++)),E.previous=be}function D(be,Ee){const Xe=Ee||{};return Xe.type=be,Xe.start=Y(),E.events.push(["enter",Xe,E]),b.push(Xe),Xe}function ue(be){const Ee=b.pop();return Ee.end=Y(),E.events.push(["exit",Ee,E]),Ee}function te(be,Ee){_e(be,Ee.from)}function Q(be,Ee){Ee.restore()}function he(be,Ee){return Xe;function Xe(Ne,Te,L){let ie,se,ke,A;return Array.isArray(Ne)?ce(Ne):"tokenize"in Ne?ce([Ne]):$(Ne);function $(Oe){return Qt;function Qt(Ve){const Bt=Ve!==null&&Oe[Ve],Dn=Ve!==null&&Oe.null,Oa=[...Array.isArray(Bt)?Bt:Bt?[Bt]:[],...Array.isArray(Dn)?Dn:Dn?[Dn]:[]];return ce(Oa)(Ve)}}function ce(Oe){return ie=Oe,se=0,Oe.length===0?L:U(Oe[se])}function U(Oe){return Qt;function Qt(Ve){return A=Se(),ke=Oe,Oe.partial||(E.currentConstruct=Oe),Oe.name&&E.parser.constructs.disable.null.includes(Oe.name)?Ye():Oe.tokenize.call(Ee?Object.assign(Object.create(E),Ee):E,T,Re,Ye)(Ve)}}function Re(Oe){return be(ke,A),Te}function Ye(Oe){return A.restore(),++se<ie.length?U(ie[se]):L}}}function _e(be,Ee){be.resolveAll&&!y.includes(be)&&y.push(be),be.resolve&&Vu(E.events,Ee,E.events.length-Ee,be.resolve(E.events.slice(Ee),E)),be.resolveTo&&(E.events=be.resolveTo(E.events,E))}function Se(){const be=Y(),Ee=E.previous,Xe=E.currentConstruct,Ne=E.events.length,Te=Array.from(b);return{from:Ne,restore:L};function L(){s=be,E.previous=Ee,E.currentConstruct=Xe,E.events.length=Ne,b=Te,He()}}function He(){s.line in h&&s.column<2&&(s.column=h[s.line],s.offset+=h[s.line]-1)}}function a3(a,u){const c=u.start._index,s=u.start._bufferIndex,h=u.end._index,y=u.end._bufferIndex;let v;if(c===h)v=[a[c].slice(s,y)];else{if(v=a.slice(c,h),s>-1){const b=v[0];typeof b=="string"?v[0]=b.slice(s):v.shift()}y>0&&v.push(a[h].slice(0,y))}return v}function l3(a,u){let c=-1;const s=[];let h;for(;++c<a.length;){const y=a[c];let v;if(typeof y=="string")v=y;else switch(y){case-5:{v="\r";break}case-4:{v=`
|
|
368
|
+
`;break}case-3:{v=`\r
|
|
369
|
+
`;break}case-2:{v=u?" ":" ";break}case-1:{if(!u&&h)continue;v=" ";break}default:v=String.fromCharCode(y)}h=y===-2,s.push(v)}return s.join("")}function i3(a){const s={constructs:EM([t3,...(a||{}).extensions||[]]),content:h(_M),defined:[],document:h(DM),flow:h($4),lazy:{},string:h(F4),text:h(W4)};return s;function h(y){return v;function v(b){return n3(s,y,b)}}}function u3(a){for(;!qA(a););return a}const $A=/[\0\t\n\r]/g;function r3(){let a=1,u="",c=!0,s;return h;function h(y,v,b){const T=[];let E,O,R,z,_;for(y=u+(typeof y=="string"?y.toString():new TextDecoder(v||void 0).decode(y)),R=0,u="",c&&(y.charCodeAt(0)===65279&&R++,c=void 0);R<y.length;){if($A.lastIndex=R,E=$A.exec(y),z=E&&E.index!==void 0?E.index:y.length,_=y.charCodeAt(z),!E){u=y.slice(R);break}if(_===10&&R===z&&s)T.push(-3),s=void 0;else switch(s&&(T.push(-5),s=void 0),R<z&&(T.push(y.slice(R,z)),a+=z-R),_){case 0:{T.push(65533),a++;break}case 9:{for(O=Math.ceil(a/4)*4,T.push(-2);a++<O;)T.push(-1);break}case 10:{T.push(-4),a=1;break}default:s=!0,a=1}R=z+1}return b&&(s&&T.push(-5),u&&T.push(u),T.push(null)),T}}const o3=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function c3(a){return a.replace(o3,s3)}function s3(a,u,c){if(u)return u;if(c.charCodeAt(0)===35){const h=c.charCodeAt(1),y=h===120||h===88;return MA(c.slice(y?2:1),y?16:10)}return c1(c)||a}const KA={}.hasOwnProperty;function f3(a,u,c){return u&&typeof u=="object"&&(c=u,u=void 0),d3(c)(u3(i3(c).document().write(r3()(a,u,!0))))}function d3(a){const u={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:y(Br),autolinkProtocol:Se,autolinkEmail:Se,atxHeading:y(Iu),blockQuote:y(Dn),characterEscape:Se,characterReference:Se,codeFenced:y(Oa),codeFencedFenceInfo:v,codeFencedFenceMeta:v,codeIndented:y(Oa,v),codeText:y(ru,v),codeTextData:Se,data:Se,codeFlowValue:Se,definition:y(Al),definitionDestinationString:v,definitionLabelString:v,definitionTitleString:v,emphasis:y(Qu),hardBreakEscape:y(pn),hardBreakTrailing:y(pn),htmlFlow:y(Mn,v),htmlFlowData:Se,htmlText:y(Mn,v),htmlTextData:Se,image:y(mi),label:v,link:y(Br),listItem:y(xl),listItemValue:z,listOrdered:y(rt,R),listUnordered:y(rt),paragraph:y(Ju),reference:U,referenceString:v,resourceDestinationString:v,resourceTitleString:v,setextHeading:y(Iu),strong:y(Il),thematicBreak:y(Lr)},exit:{atxHeading:T(),atxHeadingSequence:te,autolink:T(),autolinkEmail:Bt,autolinkProtocol:Ve,blockQuote:T(),characterEscapeValue:He,characterReferenceMarkerHexadecimal:Ye,characterReferenceMarkerNumeric:Ye,characterReferenceValue:Oe,characterReference:Qt,codeFenced:T(G),codeFencedFence:ae,codeFencedFenceInfo:_,codeFencedFenceMeta:Y,codeFlowValue:He,codeIndented:T(k),codeText:T(Te),codeTextData:He,data:He,definition:T(),definitionDestinationString:ue,definitionLabelString:q,definitionTitleString:D,emphasis:T(),hardBreakEscape:T(Ee),hardBreakTrailing:T(Ee),htmlFlow:T(Xe),htmlFlowData:He,htmlText:T(Ne),htmlTextData:He,image:T(ie),label:ke,labelText:se,lineEnding:be,link:T(L),listItem:T(),listOrdered:T(),listUnordered:T(),paragraph:T(),referenceString:Re,resourceDestinationString:A,resourceTitleString:$,resource:ce,setextHeading:T(_e),setextHeadingLineSequence:he,setextHeadingText:Q,strong:T(),thematicBreak:T()}};PA(u,(a||{}).mdastExtensions||[]);const c={};return s;function s(pe){let xe={type:"root",children:[]};const Ie={stack:[xe],tokenStack:[],config:u,enter:b,exit:E,buffer:v,resume:O,data:c},Ke=[];let Dt=-1;for(;++Dt<pe.length;)if(pe[Dt][1].type==="listOrdered"||pe[Dt][1].type==="listUnordered")if(pe[Dt][0]==="enter")Ke.push(Dt);else{const la=Ke.pop();Dt=h(pe,la,Dt)}for(Dt=-1;++Dt<pe.length;){const la=u[pe[Dt][0]];KA.call(la,pe[Dt][1].type)&&la[pe[Dt][1].type].call(Object.assign({sliceSerialize:pe[Dt][2].sliceSerialize},Ie),pe[Dt][1])}if(Ie.tokenStack.length>0){const la=Ie.tokenStack[Ie.tokenStack.length-1];(la[1]||FA).call(Ie,void 0,la[0])}for(xe.position={start:Fo(pe.length>0?pe[0][1].start:{line:1,column:1,offset:0}),end:Fo(pe.length>0?pe[pe.length-2][1].end:{line:1,column:1,offset:0})},Dt=-1;++Dt<u.transforms.length;)xe=u.transforms[Dt](xe)||xe;return xe}function h(pe,xe,Ie){let Ke=xe-1,Dt=-1,la=!1,La,Nn,Un,mn;for(;++Ke<=Ie;){const en=pe[Ke];switch(en[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{en[0]==="enter"?Dt++:Dt--,mn=void 0;break}case"lineEndingBlank":{en[0]==="enter"&&(La&&!mn&&!Dt&&!Un&&(Un=Ke),mn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:mn=void 0}if(!Dt&&en[0]==="enter"&&en[1].type==="listItemPrefix"||Dt===-1&&en[0]==="exit"&&(en[1].type==="listUnordered"||en[1].type==="listOrdered")){if(La){let C=Ke;for(Nn=void 0;C--;){const I=pe[C];if(I[1].type==="lineEnding"||I[1].type==="lineEndingBlank"){if(I[0]==="exit")continue;Nn&&(pe[Nn][1].type="lineEndingBlank",la=!0),I[1].type="lineEnding",Nn=C}else if(!(I[1].type==="linePrefix"||I[1].type==="blockQuotePrefix"||I[1].type==="blockQuotePrefixWhitespace"||I[1].type==="blockQuoteMarker"||I[1].type==="listItemIndent"))break}Un&&(!Nn||Un<Nn)&&(La._spread=!0),La.end=Object.assign({},Nn?pe[Nn][1].start:en[1].end),pe.splice(Nn||Ke,0,["exit",La,en[2]]),Ke++,Ie++}if(en[1].type==="listItemPrefix"){const C={type:"listItem",_spread:!1,start:Object.assign({},en[1].start),end:void 0};La=C,pe.splice(Ke,0,["enter",C,en[2]]),Ke++,Ie++,Un=void 0,mn=!0}}}return pe[xe][1]._spread=la,Ie}function y(pe,xe){return Ie;function Ie(Ke){b.call(this,pe(Ke),Ke),xe&&xe.call(this,Ke)}}function v(){this.stack.push({type:"fragment",children:[]})}function b(pe,xe,Ie){this.stack[this.stack.length-1].children.push(pe),this.stack.push(pe),this.tokenStack.push([xe,Ie||void 0]),pe.position={start:Fo(xe.start),end:void 0}}function T(pe){return xe;function xe(Ie){pe&&pe.call(this,Ie),E.call(this,Ie)}}function E(pe,xe){const Ie=this.stack.pop(),Ke=this.tokenStack.pop();if(Ke)Ke[0].type!==pe.type&&(xe?xe.call(this,pe,Ke[0]):(Ke[1]||FA).call(this,pe,Ke[0]));else throw new Error("Cannot close `"+pe.type+"` ("+fm({start:pe.start,end:pe.end})+"): it’s not open");Ie.position.end=Fo(pe.end)}function O(){return bM(this.stack.pop())}function R(){this.data.expectingFirstListItemValue=!0}function z(pe){if(this.data.expectingFirstListItemValue){const xe=this.stack[this.stack.length-2];xe.start=Number.parseInt(this.sliceSerialize(pe),10),this.data.expectingFirstListItemValue=void 0}}function _(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.lang=pe}function Y(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.meta=pe}function ae(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function G(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=pe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=pe.replace(/(\r?\n|\r)$/g,"")}function q(pe){const xe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.label=xe,Ie.identifier=gd(this.sliceSerialize(pe)).toLowerCase()}function D(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.title=pe}function ue(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.url=pe}function te(pe){const xe=this.stack[this.stack.length-1];if(!xe.depth){const Ie=this.sliceSerialize(pe).length;xe.depth=Ie}}function Q(){this.data.setextHeadingSlurpLineEnding=!0}function he(pe){const xe=this.stack[this.stack.length-1];xe.depth=this.sliceSerialize(pe).codePointAt(0)===61?1:2}function _e(){this.data.setextHeadingSlurpLineEnding=void 0}function Se(pe){const Ie=this.stack[this.stack.length-1].children;let Ke=Ie[Ie.length-1];(!Ke||Ke.type!=="text")&&(Ke=Wo(),Ke.position={start:Fo(pe.start),end:void 0},Ie.push(Ke)),this.stack.push(Ke)}function He(pe){const xe=this.stack.pop();xe.value+=this.sliceSerialize(pe),xe.position.end=Fo(pe.end)}function be(pe){const xe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ie=xe.children[xe.children.length-1];Ie.position.end=Fo(pe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&u.canContainEols.includes(xe.type)&&(Se.call(this,pe),He.call(this,pe))}function Ee(){this.data.atHardBreak=!0}function Xe(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=pe}function Ne(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=pe}function Te(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.value=pe}function L(){const pe=this.stack[this.stack.length-1];if(this.data.inReference){const xe=this.data.referenceType||"shortcut";pe.type+="Reference",pe.referenceType=xe,delete pe.url,delete pe.title}else delete pe.identifier,delete pe.label;this.data.referenceType=void 0}function ie(){const pe=this.stack[this.stack.length-1];if(this.data.inReference){const xe=this.data.referenceType||"shortcut";pe.type+="Reference",pe.referenceType=xe,delete pe.url,delete pe.title}else delete pe.identifier,delete pe.label;this.data.referenceType=void 0}function se(pe){const xe=this.sliceSerialize(pe),Ie=this.stack[this.stack.length-2];Ie.label=c3(xe),Ie.identifier=gd(xe).toLowerCase()}function ke(){const pe=this.stack[this.stack.length-1],xe=this.resume(),Ie=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ie.type==="link"){const Ke=pe.children;Ie.children=Ke}else Ie.alt=xe}function A(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.url=pe}function $(){const pe=this.resume(),xe=this.stack[this.stack.length-1];xe.title=pe}function ce(){this.data.inReference=void 0}function U(){this.data.referenceType="collapsed"}function Re(pe){const xe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.label=xe,Ie.identifier=gd(this.sliceSerialize(pe)).toLowerCase(),this.data.referenceType="full"}function Ye(pe){this.data.characterReferenceType=pe.type}function Oe(pe){const xe=this.sliceSerialize(pe),Ie=this.data.characterReferenceType;let Ke;Ie?(Ke=MA(xe,Ie==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ke=c1(xe);const Dt=this.stack[this.stack.length-1];Dt.value+=Ke}function Qt(pe){const xe=this.stack.pop();xe.position.end=Fo(pe.end)}function Ve(pe){He.call(this,pe);const xe=this.stack[this.stack.length-1];xe.url=this.sliceSerialize(pe)}function Bt(pe){He.call(this,pe);const xe=this.stack[this.stack.length-1];xe.url="mailto:"+this.sliceSerialize(pe)}function Dn(){return{type:"blockquote",children:[]}}function Oa(){return{type:"code",lang:null,meta:null,value:""}}function ru(){return{type:"inlineCode",value:""}}function Al(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Qu(){return{type:"emphasis",children:[]}}function Iu(){return{type:"heading",depth:0,children:[]}}function pn(){return{type:"break"}}function Mn(){return{type:"html",value:""}}function mi(){return{type:"image",title:null,url:"",alt:null}}function Br(){return{type:"link",title:null,url:"",children:[]}}function rt(pe){return{type:"list",ordered:pe.type==="listOrdered",start:null,spread:pe._spread,children:[]}}function xl(pe){return{type:"listItem",spread:pe._spread,checked:null,children:[]}}function Ju(){return{type:"paragraph",children:[]}}function Il(){return{type:"strong",children:[]}}function Wo(){return{type:"text",value:""}}function Lr(){return{type:"thematicBreak"}}}function Fo(a){return{line:a.line,column:a.column,offset:a.offset}}function PA(a,u){let c=-1;for(;++c<u.length;){const s=u[c];Array.isArray(s)?PA(a,s):h3(a,s)}}function h3(a,u){let c;for(c in u)if(KA.call(u,c))switch(c){case"canContainEols":{const s=u[c];s&&a[c].push(...s);break}case"transforms":{const s=u[c];s&&a[c].push(...s);break}case"enter":case"exit":{const s=u[c];s&&Object.assign(a[c],s);break}}}function FA(a,u){throw a?new Error("Cannot close `"+a.type+"` ("+fm({start:a.start,end:a.end})+"): a different token (`"+u.type+"`, "+fm({start:u.start,end:u.end})+") is open"):new Error("Cannot close document, a token (`"+u.type+"`, "+fm({start:u.start,end:u.end})+") is still open")}function p3(a){const u=this;u.parser=c;function c(s){return f3(s,{...u.data("settings"),...a,extensions:u.data("micromarkExtensions")||[],mdastExtensions:u.data("fromMarkdownExtensions")||[]})}}function m3(a,u){const c={type:"element",tagName:"blockquote",properties:{},children:a.wrap(a.all(u),!0)};return a.patch(u,c),a.applyData(u,c)}function y3(a,u){const c={type:"element",tagName:"br",properties:{},children:[]};return a.patch(u,c),[a.applyData(u,c),{type:"text",value:`
|
|
370
|
+
`}]}function g3(a,u){const c=u.value?u.value+`
|
|
371
|
+
`:"",s={},h=u.lang?u.lang.split(/\s+/):[];h.length>0&&(s.className=["language-"+h[0]]);let y={type:"element",tagName:"code",properties:s,children:[{type:"text",value:c}]};return u.meta&&(y.data={meta:u.meta}),a.patch(u,y),y=a.applyData(u,y),y={type:"element",tagName:"pre",properties:{},children:[y]},a.patch(u,y),y}function v3(a,u){const c={type:"element",tagName:"del",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function b3(a,u){const c={type:"element",tagName:"em",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function S3(a,u){const c=typeof a.options.clobberPrefix=="string"?a.options.clobberPrefix:"user-content-",s=String(u.identifier).toUpperCase(),h=vd(s.toLowerCase()),y=a.footnoteOrder.indexOf(s);let v,b=a.footnoteCounts.get(s);b===void 0?(b=0,a.footnoteOrder.push(s),v=a.footnoteOrder.length):v=y+1,b+=1,a.footnoteCounts.set(s,b);const T={type:"element",tagName:"a",properties:{href:"#"+c+"fn-"+h,id:c+"fnref-"+h+(b>1?"-"+b:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(v)}]};a.patch(u,T);const E={type:"element",tagName:"sup",properties:{},children:[T]};return a.patch(u,E),a.applyData(u,E)}function E3(a,u){const c={type:"element",tagName:"h"+u.depth,properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function T3(a,u){if(a.options.allowDangerousHtml){const c={type:"raw",value:u.value};return a.patch(u,c),a.applyData(u,c)}}function WA(a,u){const c=u.referenceType;let s="]";if(c==="collapsed"?s+="[]":c==="full"&&(s+="["+(u.label||u.identifier)+"]"),u.type==="imageReference")return[{type:"text",value:"!["+u.alt+s}];const h=a.all(u),y=h[0];y&&y.type==="text"?y.value="["+y.value:h.unshift({type:"text",value:"["});const v=h[h.length-1];return v&&v.type==="text"?v.value+=s:h.push({type:"text",value:s}),h}function A3(a,u){const c=String(u.identifier).toUpperCase(),s=a.definitionById.get(c);if(!s)return WA(a,u);const h={src:vd(s.url||""),alt:u.alt};s.title!==null&&s.title!==void 0&&(h.title=s.title);const y={type:"element",tagName:"img",properties:h,children:[]};return a.patch(u,y),a.applyData(u,y)}function x3(a,u){const c={src:vd(u.url)};u.alt!==null&&u.alt!==void 0&&(c.alt=u.alt),u.title!==null&&u.title!==void 0&&(c.title=u.title);const s={type:"element",tagName:"img",properties:c,children:[]};return a.patch(u,s),a.applyData(u,s)}function O3(a,u){const c={type:"text",value:u.value.replace(/\r?\n|\r/g," ")};a.patch(u,c);const s={type:"element",tagName:"code",properties:{},children:[c]};return a.patch(u,s),a.applyData(u,s)}function R3(a,u){const c=String(u.identifier).toUpperCase(),s=a.definitionById.get(c);if(!s)return WA(a,u);const h={href:vd(s.url||"")};s.title!==null&&s.title!==void 0&&(h.title=s.title);const y={type:"element",tagName:"a",properties:h,children:a.all(u)};return a.patch(u,y),a.applyData(u,y)}function w3(a,u){const c={href:vd(u.url)};u.title!==null&&u.title!==void 0&&(c.title=u.title);const s={type:"element",tagName:"a",properties:c,children:a.all(u)};return a.patch(u,s),a.applyData(u,s)}function z3(a,u,c){const s=a.all(u),h=c?_3(c):ex(u),y={},v=[];if(typeof u.checked=="boolean"){const O=s[0];let R;O&&O.type==="element"&&O.tagName==="p"?R=O:(R={type:"element",tagName:"p",properties:{},children:[]},s.unshift(R)),R.children.length>0&&R.children.unshift({type:"text",value:" "}),R.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:u.checked,disabled:!0},children:[]}),y.className=["task-list-item"]}let b=-1;for(;++b<s.length;){const O=s[b];(h||b!==0||O.type!=="element"||O.tagName!=="p")&&v.push({type:"text",value:`
|
|
372
|
+
`}),O.type==="element"&&O.tagName==="p"&&!h?v.push(...O.children):v.push(O)}const T=s[s.length-1];T&&(h||T.type!=="element"||T.tagName!=="p")&&v.push({type:"text",value:`
|
|
373
|
+
`});const E={type:"element",tagName:"li",properties:y,children:v};return a.patch(u,E),a.applyData(u,E)}function _3(a){let u=!1;if(a.type==="list"){u=a.spread||!1;const c=a.children;let s=-1;for(;!u&&++s<c.length;)u=ex(c[s])}return u}function ex(a){const u=a.spread;return u??a.children.length>1}function C3(a,u){const c={},s=a.all(u);let h=-1;for(typeof u.start=="number"&&u.start!==1&&(c.start=u.start);++h<s.length;){const v=s[h];if(v.type==="element"&&v.tagName==="li"&&v.properties&&Array.isArray(v.properties.className)&&v.properties.className.includes("task-list-item")){c.className=["contains-task-list"];break}}const y={type:"element",tagName:u.ordered?"ol":"ul",properties:c,children:a.wrap(s,!0)};return a.patch(u,y),a.applyData(u,y)}function D3(a,u){const c={type:"element",tagName:"p",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function M3(a,u){const c={type:"root",children:a.wrap(a.all(u))};return a.patch(u,c),a.applyData(u,c)}function N3(a,u){const c={type:"element",tagName:"strong",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function k3(a,u){const c=a.all(u),s=c.shift(),h=[];if(s){const v={type:"element",tagName:"thead",properties:{},children:a.wrap([s],!0)};a.patch(u.children[0],v),h.push(v)}if(c.length>0){const v={type:"element",tagName:"tbody",properties:{},children:a.wrap(c,!0)},b=a1(u.children[1]),T=SA(u.children[u.children.length-1]);b&&T&&(v.position={start:b,end:T}),h.push(v)}const y={type:"element",tagName:"table",properties:{},children:a.wrap(h,!0)};return a.patch(u,y),a.applyData(u,y)}function U3(a,u,c){const s=c?c.children:void 0,y=(s?s.indexOf(u):1)===0?"th":"td",v=c&&c.type==="table"?c.align:void 0,b=v?v.length:u.children.length;let T=-1;const E=[];for(;++T<b;){const R=u.children[T],z={},_=v?v[T]:void 0;_&&(z.align=_);let Y={type:"element",tagName:y,properties:z,children:[]};R&&(Y.children=a.all(R),a.patch(R,Y),Y=a.applyData(R,Y)),E.push(Y)}const O={type:"element",tagName:"tr",properties:{},children:a.wrap(E,!0)};return a.patch(u,O),a.applyData(u,O)}function H3(a,u){const c={type:"element",tagName:"td",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}const tx=9,nx=32;function j3(a){const u=String(a),c=/\r?\n|\r/g;let s=c.exec(u),h=0;const y=[];for(;s;)y.push(ax(u.slice(h,s.index),h>0,!0),s[0]),h=s.index+s[0].length,s=c.exec(u);return y.push(ax(u.slice(h),h>0,!1)),y.join("")}function ax(a,u,c){let s=0,h=a.length;if(u){let y=a.codePointAt(s);for(;y===tx||y===nx;)s++,y=a.codePointAt(s)}if(c){let y=a.codePointAt(h-1);for(;y===tx||y===nx;)h--,y=a.codePointAt(h-1)}return h>s?a.slice(s,h):""}function B3(a,u){const c={type:"text",value:j3(String(u.value))};return a.patch(u,c),a.applyData(u,c)}function L3(a,u){const c={type:"element",tagName:"hr",properties:{},children:[]};return a.patch(u,c),a.applyData(u,c)}const Z3={blockquote:m3,break:y3,code:g3,delete:v3,emphasis:b3,footnoteReference:S3,heading:E3,html:T3,imageReference:A3,image:x3,inlineCode:O3,linkReference:R3,link:w3,listItem:z3,list:C3,paragraph:D3,root:M3,strong:N3,table:k3,tableCell:H3,tableRow:U3,text:B3,thematicBreak:L3,toml:zv,yaml:zv,definition:zv,footnoteDefinition:zv};function zv(){}const lx=-1,_v=0,mm=1,Cv=2,g1=3,v1=4,b1=5,S1=6,ix=7,ux=8,q3=typeof self=="object"?self:globalThis,rx=(a,u)=>{switch(a){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+a)}return new q3[a](u)},Y3=(a,u)=>{const c=(h,y)=>(a.set(y,h),h),s=h=>{if(a.has(h))return a.get(h);const[y,v]=u[h];switch(y){case _v:case lx:return c(v,h);case mm:{const b=c([],h);for(const T of v)b.push(s(T));return b}case Cv:{const b=c({},h);for(const[T,E]of v)b[s(T)]=s(E);return b}case g1:return c(new Date(v),h);case v1:{const{source:b,flags:T}=v;return c(new RegExp(b,T),h)}case b1:{const b=c(new Map,h);for(const[T,E]of v)b.set(s(T),s(E));return b}case S1:{const b=c(new Set,h);for(const T of v)b.add(s(T));return b}case ix:{const{name:b,message:T}=v;return c(rx(b,T),h)}case ux:return c(BigInt(v),h);case"BigInt":return c(Object(BigInt(v)),h);case"ArrayBuffer":return c(new Uint8Array(v).buffer,v);case"DataView":{const{buffer:b}=new Uint8Array(v);return c(new DataView(b),v)}}return c(rx(y,v),h)};return s},ox=a=>Y3(new Map,a)(0),bd="",{toString:V3}={},{keys:G3}=Object,ym=a=>{const u=typeof a;if(u!=="object"||!a)return[_v,u];const c=V3.call(a).slice(8,-1);switch(c){case"Array":return[mm,bd];case"Object":return[Cv,bd];case"Date":return[g1,bd];case"RegExp":return[v1,bd];case"Map":return[b1,bd];case"Set":return[S1,bd];case"DataView":return[mm,c]}return c.includes("Array")?[mm,c]:c.includes("Error")?[ix,c]:[Cv,c]},Dv=([a,u])=>a===_v&&(u==="function"||u==="symbol"),X3=(a,u,c,s)=>{const h=(v,b)=>{const T=s.push(v)-1;return c.set(b,T),T},y=v=>{if(c.has(v))return c.get(v);let[b,T]=ym(v);switch(b){case _v:{let O=v;switch(T){case"bigint":b=ux,O=v.toString();break;case"function":case"symbol":if(a)throw new TypeError("unable to serialize "+T);O=null;break;case"undefined":return h([lx],v)}return h([b,O],v)}case mm:{if(T){let z=v;return T==="DataView"?z=new Uint8Array(v.buffer):T==="ArrayBuffer"&&(z=new Uint8Array(v)),h([T,[...z]],v)}const O=[],R=h([b,O],v);for(const z of v)O.push(y(z));return R}case Cv:{if(T)switch(T){case"BigInt":return h([T,v.toString()],v);case"Boolean":case"Number":case"String":return h([T,v.valueOf()],v)}if(u&&"toJSON"in v)return y(v.toJSON());const O=[],R=h([b,O],v);for(const z of G3(v))(a||!Dv(ym(v[z])))&&O.push([y(z),y(v[z])]);return R}case g1:return h([b,v.toISOString()],v);case v1:{const{source:O,flags:R}=v;return h([b,{source:O,flags:R}],v)}case b1:{const O=[],R=h([b,O],v);for(const[z,_]of v)(a||!(Dv(ym(z))||Dv(ym(_))))&&O.push([y(z),y(_)]);return R}case S1:{const O=[],R=h([b,O],v);for(const z of v)(a||!Dv(ym(z)))&&O.push(y(z));return R}}const{message:E}=v;return h([b,{name:T,message:E}],v)};return y},cx=(a,{json:u,lossy:c}={})=>{const s=[];return X3(!(u||c),!!u,new Map,s)(a),s},Mv=typeof structuredClone=="function"?(a,u)=>u&&("json"in u||"lossy"in u)?ox(cx(a,u)):structuredClone(a):(a,u)=>ox(cx(a,u));function Q3(a,u){const c=[{type:"text",value:"↩"}];return u>1&&c.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(u)}]}),c}function I3(a,u){return"Back to reference "+(a+1)+(u>1?"-"+u:"")}function J3(a){const u=typeof a.options.clobberPrefix=="string"?a.options.clobberPrefix:"user-content-",c=a.options.footnoteBackContent||Q3,s=a.options.footnoteBackLabel||I3,h=a.options.footnoteLabel||"Footnotes",y=a.options.footnoteLabelTagName||"h2",v=a.options.footnoteLabelProperties||{className:["sr-only"]},b=[];let T=-1;for(;++T<a.footnoteOrder.length;){const E=a.footnoteById.get(a.footnoteOrder[T]);if(!E)continue;const O=a.all(E),R=String(E.identifier).toUpperCase(),z=vd(R.toLowerCase());let _=0;const Y=[],ae=a.footnoteCounts.get(R);for(;ae!==void 0&&++_<=ae;){Y.length>0&&Y.push({type:"text",value:" "});let q=typeof c=="string"?c:c(T,_);typeof q=="string"&&(q={type:"text",value:q}),Y.push({type:"element",tagName:"a",properties:{href:"#"+u+"fnref-"+z+(_>1?"-"+_:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(T,_),className:["data-footnote-backref"]},children:Array.isArray(q)?q:[q]})}const G=O[O.length-1];if(G&&G.type==="element"&&G.tagName==="p"){const q=G.children[G.children.length-1];q&&q.type==="text"?q.value+=" ":G.children.push({type:"text",value:" "}),G.children.push(...Y)}else O.push(...Y);const k={type:"element",tagName:"li",properties:{id:u+"fn-"+z},children:a.wrap(O,!0)};a.patch(E,k),b.push(k)}if(b.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:y,properties:{...Mv(v),id:"footnote-label"},children:[{type:"text",value:h}]},{type:"text",value:`
|
|
374
|
+
`},{type:"element",tagName:"ol",properties:{},children:a.wrap(b,!0)},{type:"text",value:`
|
|
375
|
+
`}]}}const sx=(function(a){if(a==null)return F3;if(typeof a=="function")return Nv(a);if(typeof a=="object")return Array.isArray(a)?$3(a):K3(a);if(typeof a=="string")return P3(a);throw new Error("Expected function, string, or object as test")});function $3(a){const u=[];let c=-1;for(;++c<a.length;)u[c]=sx(a[c]);return Nv(s);function s(...h){let y=-1;for(;++y<u.length;)if(u[y].apply(this,h))return!0;return!1}}function K3(a){const u=a;return Nv(c);function c(s){const h=s;let y;for(y in a)if(h[y]!==u[y])return!1;return!0}}function P3(a){return Nv(u);function u(c){return c&&c.type===a}}function Nv(a){return u;function u(c,s,h){return!!(W3(c)&&a.call(this,c,typeof s=="number"?s:void 0,h||void 0))}}function F3(){return!0}function W3(a){return a!==null&&typeof a=="object"&&"type"in a}function gk(a){return a}const fx=[],e6=!0,dx=!1,t6="skip";function n6(a,u,c,s){let h;typeof u=="function"&&typeof c!="function"?(s=c,c=u):h=u;const y=sx(h),v=s?-1:1;b(a,void 0,[])();function b(T,E,O){const R=T&&typeof T=="object"?T:{};if(typeof R.type=="string"){const _=typeof R.tagName=="string"?R.tagName:typeof R.name=="string"?R.name:void 0;Object.defineProperty(z,"name",{value:"node ("+(T.type+(_?"<"+_+">":""))+")"})}return z;function z(){let _=fx,Y,ae,G;if((!u||y(T,E,O[O.length-1]||void 0))&&(_=a6(c(T,O)),_[0]===dx))return _;if("children"in T&&T.children){const k=T;if(k.children&&_[0]!==t6)for(ae=(s?k.children.length:-1)+v,G=O.concat(k);ae>-1&&ae<k.children.length;){const q=k.children[ae];if(Y=b(q,ae,G)(),Y[0]===dx)return Y;ae=typeof Y[1]=="number"?Y[1]:ae+v}}return _}}}function a6(a){return Array.isArray(a)?a:typeof a=="number"?[e6,a]:a==null?fx:[a]}function hx(a,u,c,s){let h,y,v;typeof u=="function"&&typeof c!="function"?(y=void 0,v=u,h=c):(y=u,v=c,h=s),n6(a,y,b,h);function b(T,E){const O=E[E.length-1],R=O?O.children.indexOf(T):void 0;return v(T,R,O)}}const E1={}.hasOwnProperty,l6={};function i6(a,u){const c=u||l6,s=new Map,h=new Map,y=new Map,v={...Z3,...c.handlers},b={all:E,applyData:r6,definitionById:s,footnoteById:h,footnoteCounts:y,footnoteOrder:[],handlers:v,one:T,options:c,patch:u6,wrap:c6};return hx(a,function(O){if(O.type==="definition"||O.type==="footnoteDefinition"){const R=O.type==="definition"?s:h,z=String(O.identifier).toUpperCase();R.has(z)||R.set(z,O)}}),b;function T(O,R){const z=O.type,_=b.handlers[z];if(E1.call(b.handlers,z)&&_)return _(b,O,R);if(b.options.passThrough&&b.options.passThrough.includes(z)){if("children"in O){const{children:ae,...G}=O,k=Mv(G);return k.children=b.all(O),k}return Mv(O)}return(b.options.unknownHandler||o6)(b,O,R)}function E(O){const R=[];if("children"in O){const z=O.children;let _=-1;for(;++_<z.length;){const Y=b.one(z[_],O);if(Y){if(_&&z[_-1].type==="break"&&(!Array.isArray(Y)&&Y.type==="text"&&(Y.value=px(Y.value)),!Array.isArray(Y)&&Y.type==="element")){const ae=Y.children[0];ae&&ae.type==="text"&&(ae.value=px(ae.value))}Array.isArray(Y)?R.push(...Y):R.push(Y)}}}return R}}function u6(a,u){a.position&&(u.position=PD(a))}function r6(a,u){let c=u;if(a&&a.data){const s=a.data.hName,h=a.data.hChildren,y=a.data.hProperties;if(typeof s=="string")if(c.type==="element")c.tagName=s;else{const v="children"in c?c.children:[c];c={type:"element",tagName:s,properties:{},children:v}}c.type==="element"&&y&&Object.assign(c.properties,Mv(y)),"children"in c&&c.children&&h!==null&&h!==void 0&&(c.children=h)}return c}function o6(a,u){const c=u.data||{},s="value"in u&&!(E1.call(c,"hProperties")||E1.call(c,"hChildren"))?{type:"text",value:u.value}:{type:"element",tagName:"div",properties:{},children:a.all(u)};return a.patch(u,s),a.applyData(u,s)}function c6(a,u){const c=[];let s=-1;for(u&&c.push({type:"text",value:`
|
|
376
|
+
`});++s<a.length;)s&&c.push({type:"text",value:`
|
|
377
|
+
`}),c.push(a[s]);return u&&a.length>0&&c.push({type:"text",value:`
|
|
378
|
+
`}),c}function px(a){let u=0,c=a.charCodeAt(u);for(;c===9||c===32;)u++,c=a.charCodeAt(u);return a.slice(u)}function mx(a,u){const c=i6(a,u),s=c.one(a,void 0),h=J3(c),y=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return h&&y.children.push({type:"text",value:`
|
|
379
|
+
`},h),y}function s6(a,u){return a&&"run"in a?async function(c,s){const h=mx(c,{file:s,...u});await a.run(h,s)}:function(c,s){return mx(c,{file:s,...a||u})}}function yx(a){if(a)throw a}var T1,gx;function f6(){if(gx)return T1;gx=1;var a=Object.prototype.hasOwnProperty,u=Object.prototype.toString,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,h=function(E){return typeof Array.isArray=="function"?Array.isArray(E):u.call(E)==="[object Array]"},y=function(E){if(!E||u.call(E)!=="[object Object]")return!1;var O=a.call(E,"constructor"),R=E.constructor&&E.constructor.prototype&&a.call(E.constructor.prototype,"isPrototypeOf");if(E.constructor&&!O&&!R)return!1;var z;for(z in E);return typeof z>"u"||a.call(E,z)},v=function(E,O){c&&O.name==="__proto__"?c(E,O.name,{enumerable:!0,configurable:!0,value:O.newValue,writable:!0}):E[O.name]=O.newValue},b=function(E,O){if(O==="__proto__")if(a.call(E,O)){if(s)return s(E,O).value}else return;return E[O]};return T1=function T(){var E,O,R,z,_,Y,ae=arguments[0],G=1,k=arguments.length,q=!1;for(typeof ae=="boolean"&&(q=ae,ae=arguments[1]||{},G=2),(ae==null||typeof ae!="object"&&typeof ae!="function")&&(ae={});G<k;++G)if(E=arguments[G],E!=null)for(O in E)R=b(ae,O),z=b(E,O),ae!==z&&(q&&z&&(y(z)||(_=h(z)))?(_?(_=!1,Y=R&&h(R)?R:[]):Y=R&&y(R)?R:{},v(ae,{name:O,newValue:T(q,Y,z)})):typeof z<"u"&&v(ae,{name:O,newValue:z}));return ae},T1}var d6=f6();const A1=Ob(d6);function x1(a){if(typeof a!="object"||a===null)return!1;const u=Object.getPrototypeOf(a);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)}function h6(){const a=[],u={run:c,use:s};return u;function c(...h){let y=-1;const v=h.pop();if(typeof v!="function")throw new TypeError("Expected function as last argument, not "+v);b(null,...h);function b(T,...E){const O=a[++y];let R=-1;if(T){v(T);return}for(;++R<h.length;)(E[R]===null||E[R]===void 0)&&(E[R]=h[R]);h=E,O?p6(O,b)(...E):v(null,...E)}}function s(h){if(typeof h!="function")throw new TypeError("Expected `middelware` to be a function, not "+h);return a.push(h),u}}function p6(a,u){let c;return s;function s(...v){const b=a.length>v.length;let T;b&&v.push(h);try{T=a.apply(this,v)}catch(E){const O=E;if(b&&c)throw O;return h(O)}b||(T&&T.then&&typeof T.then=="function"?T.then(y,h):T instanceof Error?h(T):y(T))}function h(v,...b){c||(c=!0,u(v,...b))}function y(v){h(null,v)}}const Xu={basename:m6,dirname:y6,extname:g6,join:v6,sep:"/"};function m6(a,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');gm(a);let c=0,s=-1,h=a.length,y;if(u===void 0||u.length===0||u.length>a.length){for(;h--;)if(a.codePointAt(h)===47){if(y){c=h+1;break}}else s<0&&(y=!0,s=h+1);return s<0?"":a.slice(c,s)}if(u===a)return"";let v=-1,b=u.length-1;for(;h--;)if(a.codePointAt(h)===47){if(y){c=h+1;break}}else v<0&&(y=!0,v=h+1),b>-1&&(a.codePointAt(h)===u.codePointAt(b--)?b<0&&(s=h):(b=-1,s=v));return c===s?s=v:s<0&&(s=a.length),a.slice(c,s)}function y6(a){if(gm(a),a.length===0)return".";let u=-1,c=a.length,s;for(;--c;)if(a.codePointAt(c)===47){if(s){u=c;break}}else s||(s=!0);return u<0?a.codePointAt(0)===47?"/":".":u===1&&a.codePointAt(0)===47?"//":a.slice(0,u)}function g6(a){gm(a);let u=a.length,c=-1,s=0,h=-1,y=0,v;for(;u--;){const b=a.codePointAt(u);if(b===47){if(v){s=u+1;break}continue}c<0&&(v=!0,c=u+1),b===46?h<0?h=u:y!==1&&(y=1):h>-1&&(y=-1)}return h<0||c<0||y===0||y===1&&h===c-1&&h===s+1?"":a.slice(h,c)}function v6(...a){let u=-1,c;for(;++u<a.length;)gm(a[u]),a[u]&&(c=c===void 0?a[u]:c+"/"+a[u]);return c===void 0?".":b6(c)}function b6(a){gm(a);const u=a.codePointAt(0)===47;let c=S6(a,!u);return c.length===0&&!u&&(c="."),c.length>0&&a.codePointAt(a.length-1)===47&&(c+="/"),u?"/"+c:c}function S6(a,u){let c="",s=0,h=-1,y=0,v=-1,b,T;for(;++v<=a.length;){if(v<a.length)b=a.codePointAt(v);else{if(b===47)break;b=47}if(b===47){if(!(h===v-1||y===1))if(h!==v-1&&y===2){if(c.length<2||s!==2||c.codePointAt(c.length-1)!==46||c.codePointAt(c.length-2)!==46){if(c.length>2){if(T=c.lastIndexOf("/"),T!==c.length-1){T<0?(c="",s=0):(c=c.slice(0,T),s=c.length-1-c.lastIndexOf("/")),h=v,y=0;continue}}else if(c.length>0){c="",s=0,h=v,y=0;continue}}u&&(c=c.length>0?c+"/..":"..",s=2)}else c.length>0?c+="/"+a.slice(h+1,v):c=a.slice(h+1,v),s=v-h-1;h=v,y=0}else b===46&&y>-1?y++:y=-1}return c}function gm(a){if(typeof a!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(a))}const E6={cwd:T6};function T6(){return"/"}function O1(a){return!!(a!==null&&typeof a=="object"&&"href"in a&&a.href&&"protocol"in a&&a.protocol&&a.auth===void 0)}function A6(a){if(typeof a=="string")a=new URL(a);else if(!O1(a)){const u=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+a+"`");throw u.code="ERR_INVALID_ARG_TYPE",u}if(a.protocol!=="file:"){const u=new TypeError("The URL must be of scheme file");throw u.code="ERR_INVALID_URL_SCHEME",u}return x6(a)}function x6(a){if(a.hostname!==""){const s=new TypeError('File URL host must be "localhost" or empty on darwin');throw s.code="ERR_INVALID_FILE_URL_HOST",s}const u=a.pathname;let c=-1;for(;++c<u.length;)if(u.codePointAt(c)===37&&u.codePointAt(c+1)===50){const s=u.codePointAt(c+2);if(s===70||s===102){const h=new TypeError("File URL path must not include encoded / characters");throw h.code="ERR_INVALID_FILE_URL_PATH",h}}return decodeURIComponent(u)}const R1=["history","path","basename","stem","extname","dirname"];class vx{constructor(u){let c;u?O1(u)?c={path:u}:typeof u=="string"||O6(u)?c={value:u}:c=u:c={},this.cwd="cwd"in c?"":E6.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<R1.length;){const y=R1[s];y in c&&c[y]!==void 0&&c[y]!==null&&(this[y]=y==="history"?[...c[y]]:c[y])}let h;for(h in c)R1.includes(h)||(this[h]=c[h])}get basename(){return typeof this.path=="string"?Xu.basename(this.path):void 0}set basename(u){z1(u,"basename"),w1(u,"basename"),this.path=Xu.join(this.dirname||"",u)}get dirname(){return typeof this.path=="string"?Xu.dirname(this.path):void 0}set dirname(u){bx(this.basename,"dirname"),this.path=Xu.join(u||"",this.basename)}get extname(){return typeof this.path=="string"?Xu.extname(this.path):void 0}set extname(u){if(w1(u,"extname"),bx(this.dirname,"extname"),u){if(u.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(u.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Xu.join(this.dirname,this.stem+(u||""))}get path(){return this.history[this.history.length-1]}set path(u){O1(u)&&(u=A6(u)),z1(u,"path"),this.path!==u&&this.history.push(u)}get stem(){return typeof this.path=="string"?Xu.basename(this.path,this.extname):void 0}set stem(u){z1(u,"stem"),w1(u,"stem"),this.path=Xu.join(this.dirname||"",u+(this.extname||""))}fail(u,c,s){const h=this.message(u,c,s);throw h.fatal=!0,h}info(u,c,s){const h=this.message(u,c,s);return h.fatal=void 0,h}message(u,c,s){const h=new Ba(u,c,s);return this.path&&(h.name=this.path+":"+h.name,h.file=this.path),h.fatal=!1,this.messages.push(h),h}toString(u){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(u||void 0).decode(this.value)}}function w1(a,u){if(a&&a.includes(Xu.sep))throw new Error("`"+u+"` cannot be a path: did not expect `"+Xu.sep+"`")}function z1(a,u){if(!a)throw new Error("`"+u+"` cannot be empty")}function bx(a,u){if(!a)throw new Error("Setting `"+u+"` requires `path` to be set too")}function O6(a){return!!(a&&typeof a=="object"&&"byteLength"in a&&"byteOffset"in a)}const R6=(function(a){const s=this.constructor.prototype,h=s[a],y=function(){return h.apply(y,arguments)};return Object.setPrototypeOf(y,s),y}),w6={}.hasOwnProperty;class _1 extends R6{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=h6()}copy(){const u=new _1;let c=-1;for(;++c<this.attachers.length;){const s=this.attachers[c];u.use(...s)}return u.data(A1(!0,{},this.namespace)),u}data(u,c){return typeof u=="string"?arguments.length===2?(M1("data",this.frozen),this.namespace[u]=c,this):w6.call(this.namespace,u)&&this.namespace[u]||void 0:u?(M1("data",this.frozen),this.namespace=u,this):this.namespace}freeze(){if(this.frozen)return this;const u=this;for(;++this.freezeIndex<this.attachers.length;){const[c,...s]=this.attachers[this.freezeIndex];if(s[0]===!1)continue;s[0]===!0&&(s[0]=void 0);const h=c.call(u,...s);typeof h=="function"&&this.transformers.use(h)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(u){this.freeze();const c=kv(u),s=this.parser||this.Parser;return C1("parse",s),s(String(c),c)}process(u,c){const s=this;return this.freeze(),C1("process",this.parser||this.Parser),D1("process",this.compiler||this.Compiler),c?h(void 0,c):new Promise(h);function h(y,v){const b=kv(u),T=s.parse(b);s.run(T,b,function(O,R,z){if(O||!R||!z)return E(O);const _=R,Y=s.stringify(_,z);C6(Y)?z.value=Y:z.result=Y,E(O,z)});function E(O,R){O||!R?v(O):y?y(R):c(void 0,R)}}}processSync(u){let c=!1,s;return this.freeze(),C1("processSync",this.parser||this.Parser),D1("processSync",this.compiler||this.Compiler),this.process(u,h),Ex("processSync","process",c),s;function h(y,v){c=!0,yx(y),s=v}}run(u,c,s){Sx(u),this.freeze();const h=this.transformers;return!s&&typeof c=="function"&&(s=c,c=void 0),s?y(void 0,s):new Promise(y);function y(v,b){const T=kv(c);h.run(u,T,E);function E(O,R,z){const _=R||u;O?b(O):v?v(_):s(void 0,_,z)}}}runSync(u,c){let s=!1,h;return this.run(u,c,y),Ex("runSync","run",s),h;function y(v,b){yx(v),h=b,s=!0}}stringify(u,c){this.freeze();const s=kv(c),h=this.compiler||this.Compiler;return D1("stringify",h),Sx(u),h(u,s)}use(u,...c){const s=this.attachers,h=this.namespace;if(M1("use",this.frozen),u!=null)if(typeof u=="function")T(u,c);else if(typeof u=="object")Array.isArray(u)?b(u):v(u);else throw new TypeError("Expected usable value, not `"+u+"`");return this;function y(E){if(typeof E=="function")T(E,[]);else if(typeof E=="object")if(Array.isArray(E)){const[O,...R]=E;T(O,R)}else v(E);else throw new TypeError("Expected usable value, not `"+E+"`")}function v(E){if(!("plugins"in E)&&!("settings"in E))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");b(E.plugins),E.settings&&(h.settings=A1(!0,h.settings,E.settings))}function b(E){let O=-1;if(E!=null)if(Array.isArray(E))for(;++O<E.length;){const R=E[O];y(R)}else throw new TypeError("Expected a list of plugins, not `"+E+"`")}function T(E,O){let R=-1,z=-1;for(;++R<s.length;)if(s[R][0]===E){z=R;break}if(z===-1)s.push([E,...O]);else if(O.length>0){let[_,...Y]=O;const ae=s[z][1];x1(ae)&&x1(_)&&(_=A1(!0,ae,_)),s[z]=[E,_,...Y]}}}}const z6=new _1().freeze();function C1(a,u){if(typeof u!="function")throw new TypeError("Cannot `"+a+"` without `parser`")}function D1(a,u){if(typeof u!="function")throw new TypeError("Cannot `"+a+"` without `compiler`")}function M1(a,u){if(u)throw new Error("Cannot call `"+a+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Sx(a){if(!x1(a)||typeof a.type!="string")throw new TypeError("Expected node, got `"+a+"`")}function Ex(a,u,c){if(!c)throw new Error("`"+a+"` finished async. Use `"+u+"` instead")}function kv(a){return _6(a)?a:new vx(a)}function _6(a){return!!(a&&typeof a=="object"&&"message"in a&&"messages"in a)}function C6(a){return typeof a=="string"||D6(a)}function D6(a){return!!(a&&typeof a=="object"&&"byteLength"in a&&"byteOffset"in a)}const M6="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Tx=[],Ax={allowDangerousHtml:!0},N6=/^(https?|ircs?|mailto|xmpp)$/i,k6=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function U6(a){const u=H6(a),c=j6(a);return B6(u.runSync(u.parse(c),c),a)}function H6(a){const u=a.rehypePlugins||Tx,c=a.remarkPlugins||Tx,s=a.remarkRehypeOptions?{...a.remarkRehypeOptions,...Ax}:Ax;return z6().use(p3).use(c).use(s6,s).use(u)}function j6(a){const u=a.children||"",c=new vx;return typeof u=="string"&&(c.value=u),c}function B6(a,u){const c=u.allowedElements,s=u.allowElement,h=u.components,y=u.disallowedElements,v=u.skipHtml,b=u.unwrapDisallowed,T=u.urlTransform||L6;for(const O of k6)Object.hasOwn(u,O.from)&&(""+O.from+(O.to?"use `"+O.to+"` instead":"remove it")+M6+O.id,void 0);return u.className&&(a={type:"element",tagName:"div",properties:{className:u.className},children:a.type==="root"?a.children:[a]}),hx(a,E),nM(a,{Fragment:et.Fragment,components:h,ignoreInvalidStyle:!0,jsx:et.jsx,jsxs:et.jsxs,passKeys:!0,passNode:!0});function E(O,R,z){if(O.type==="raw"&&z&&typeof R=="number")return v?z.children.splice(R,1):z.children[R]={type:"text",value:O.value},R;if(O.type==="element"){let _;for(_ in o1)if(Object.hasOwn(o1,_)&&Object.hasOwn(O.properties,_)){const Y=O.properties[_],ae=o1[_];(ae===null||ae.includes(O.tagName))&&(O.properties[_]=T(String(Y||""),_,O))}}if(O.type==="element"){let _=c?!c.includes(O.tagName):y?y.includes(O.tagName):!1;if(!_&&s&&typeof R=="number"&&(_=!s(O,R,z)),_&&z&&typeof R=="number")return b&&O.children?z.children.splice(R,1,...O.children):z.children.splice(R,1),R}}}function L6(a){const u=a.indexOf(":"),c=a.indexOf("?"),s=a.indexOf("#"),h=a.indexOf("/");return u===-1||h!==-1&&u>h||c!==-1&&u>c||s!==-1&&u>s||N6.test(a.slice(0,u))?a:""}const xx="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%232e2438'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%208.25l-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",Z6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAgKADAAQAAAABAAAAgAAAAABrRiZNAAAym0lEQVR4Ae19CXRcx3Xl+7+7se8AARD7RpAgFoICCYCkFtq0bEuyYsmy7HjJYjue5IzjjBMnmSTjzGTGZzJZJseZmRMfx87iJTORbVmLJduSJVGUxA0kwQUgCBLEvpHYAQLE2t1/7q1Gg43uagKksNFB4TS6f/36Va9evXpbvaovspk2MbCJgU0MbGJgEwObGNjEwCYGNjGwiYFNDGxiYBMDmxj4t4IB4xe3oxWO0hzJt0xbvilWllhGvNiMKMMybGKI5RZrUixrWNzS5zas9rBpd0Ntb+3kLy4+9D37RSEAs6qgKmrSbWYbMnfIbdjeZ4pRgoGOQrdD8HHgYxexTEHmfHLj24U8J/Jm8XvKEqsZlHHMLeYb7hnX+dSeiLEjcgT3f3HTAjbuxS4ePHjQPtAxWWwzjYctMT6Gib1HDGNl+mRJj2UZ37MZ1suuuZuX6jvrR+5FHC0F88oga6lWVuF+Sf7e/RjrXzLE/LxpmAmYveDo1oq2ZBgQHpZ7Fv+eg8j4wYSr/2ft7e3TK9rIOld2zxFASf6+/Ybl/l2MzftM0x7ndpOTr+zA+48JCEzclpv0dRgi4psX207+wL/MvXp9zxBAWUpZpDsq4rMA+E9M00glwld6xi81iB6O4BoFIbwAQfOndc013Us9s9Hv3xMEUJJdXWQ6rL8QMR8FwHay+ztJmLvzxOJ50ttpqgscVO/18urEMyiImi5DR/jj+pYTL6rL5T284UrdWd/XAfydeXsP2Qzz62DDhcsdeLBrcbpc4nR7FPjI0AiJCAkXh80BSxDsHMM355qT6dlpmZiZFJflErtpVx+bCUNhGUnpmpZ1E219ub7F9U8itXPLeGzDFdnQBFCWX/X7hml8BWZa7HLYvQv6wKxrVhIj46U0vUh2bN0m2YkZuE6UqLAICbWHYJBtkOeWzDhnZHJmSkanbkjP6DW51HtF6rsbpRu/HSQGG6zGJRJ5gVvcbsNt/LMrfPxLDQ0NE0s8suFub1gCKCqo+pUQMb4BHh2x1ODzPj8FKbnySMkhqc6rkJTYZEkCIdjCIj1Ix32P5JgXH7QWvRbj3KwMTwxJ//iQNF5rklcvHpaa9nPidDoFBIhhXhaa/iHBGfbFI+1H7ikrYVk9W2uyLcmp/jgm4T+AzUbdbvBdbpeEYFbvSN0mn6p+SvbnV0pseJSY9lBqiPjQz7MMfUERA1g/2b/LCbFwU1r72+Tvj3xXznRekJsQE7QEFNsPjgyAan2zviXrCyI/RMP3RtpwBFCcX/Ue0zCeBWAJwVBIopjDQGXFp8mv3/9JebL8EQmDnBcw5EWznBVwUOH9VbNdzXhvl0kgKE8zkt++hOLlDLh3+Mox+dY7/yINEBFuEJwNIkSfFJ9wgSh/u6g1+1s/vEeIwIsNfZ/WOLcsuzLXsps/Bv5LgjVNRdAFBe+BbVXyWwc/I+V594mAhc+PvOcxzFax0/tryPTkqPSND8r41IRMz01DMXRhNhsS5giTqNBISYyKl9ioRBEbBtYJPQ73FyXoAoM3BuWbb31bfnjmJegOs1Am9frBPIfoRSOfudBW8/NF9WzQiw1DAMXFB6PM6akfmKb5SDC2z3xq67918NfA8j8qkRGxGDQO/nzizMXAD4/2yTtNNXKm45x0jfTKwPgw2DoJYEYoNjhQYRATkSCA+Ig4SYW+sCdnlzxUuE8ykrI9RECu4E1okwT247M/ka+9/vdKV6AyqUusG5ZBm9MtH2hsrbmqK7OR8jYMAZTmVX7StNm+g0HWTi+adtTM/+D9X5CPVT6B35jh3tnKgcdsH4IS99y5l+Unda/L9bEBGZsaUxo/TTslw6nMzfeYxERrgPXyd0x4tGyJSpDK3PvkE5UfkUJYEFhbuCUayFXw7PGrNfKfX/wr6Rvrh3RBniYpInC7/7W+pebTuO1DSZrC65ylJ+M1Bqo0Z98Ow2b8TyAuXdc03b2UvZ/d/wn53EO/it9APGU3E4hiEkrayxdekf/0wl/I4ctHZXBiWObcc4pgSDR81qvEcXD44TXr4UxmGSd0CpqEjdeb5dWGI7AKhmVnaqGEQ6n06AceZTIzIUMKU/LleMupBeXQA4jff8PYlhqT3tw32nPR786Gulx3AnhanrYNJI58yTRtH+NM1CXO0o/t/bB86f2/pQZTKW0sCC7QPdgpf/Pzr0NGf1fGpz1muHewdXUFy/MSBb/pI6htPw9iuCo5CemSCmVzoU1whQzkpUQngQhOo+yc0in864XNYLcMKyclOvfZ/rHODWsarjsB2PKj78Pgfx2zDLZbYOLgv6/oQfnK419WiptnIMCLMWsvdjbIl575ihoIznIO3kok6vOsr32wS96+elKioTDuzCi+RQRoJi81X6Ic4XKs+ZQSDTpfAUTEFst0uftHet5cCbhWo451J4DU+Mw/NUzzALAb0D/K6KTIBPnqE3+EWbjVR+bb5Cpm5588/+dyta9F+QJWavB9gSARjMMncKG7AcpitBT5EAGIVgq2ZEttxwXpGu7xcCbfh/Eb6wzEb1RKfNYLfSNdN/1ub4jLdSWAsoKyDKjt/xuYoBEfkOjL/+Kh35D3Fj1wS+ZDdg/c6Jc//NFXlW0eosy9gEcXZZA41MerAeLbm7egFS564tYF1w7oCGrobZLyjJ2SCh3A42ByiwPu5ThYEvQaTsHEDCRChKmIkew2XW/3D/dsSItgXQkgOSHn30M/fwxYClCn6dOvzN4tX3jPZyQyLBpIB4fAQM5B8//zn/ytHAXrDWaKeYePK31qtCzphH7RAh/COXiGaqH7X0V9Y7g5hU8odAaGjQVN5ARjU+OwLPqlCuZiVDjMT4gmWiG5yblyGcTRDM9hIAHQD2WaCCUYzwxPPXxt/Npc0EbW6YbW5FoLWAoKCkIRoMnBDyBCKoOUqU/uflS2xJH1Oz0gwe3701MvyhuX3sLd4IkDwTqgPxzHj1cMcT1f33ImQBsvzynPcdtDDmERCXCYj4AQwhABpK2YnOYd6AM/OPNj+cJ7P3eLYtHOp+GTeLvphOIC/g+rvhjGY5NhkX+DexuOCwTMPP8OrNZ1mCvuQUyZ7YGSH449mHCFqQVSXbBXNU8kUunrH7km3znxfZmYndTONhbm4LvdVqfldn123Dn9GGzxr9ZpBp9lz7efb69rPvWP9S2nPgJifNKyXCd1s5hlmbia+N3j35fznXWKGxF2Ekxp+k65f1s12g0kHsIOwspwWNMPovjt6JZNrHlaNwIwbPZHxLDgg9WRgEhx2nZJSUwHUucEYdsgAFNqWs9IU1+zstt1mJqf+V2WIb9W33r6n9vbz4/qyuny6lpOvDLnmv1lDOLruvvMY/2TkPXfO/msiikgXB7YDHm8/P0qrkD3rIpjsJlPgOvdVtTonl3tvHUhgO1JB6KBu0rI/4D2afbFR8TLvm17wZXB/VEQHkKl+L3e+Dbc7G4lHvwRQ5GB2Tbgsqw/vNh88oj//eVcN7ad68CQfhaT9jTr0yUqhafazsplECKsF2w3AAnjU7i1QPJgFQTjAqjrPWFWfLKuzvXMCxiAtQDGHjO7A/jdoWaGX4NkmSkxSYr9u6AIsgzX5NsHO+QkHC8hdAFrEsrBarS+0dBS84zm9rKzLrac7gJd/j7qGtERAbkArYJX6w+L6bAr+FzgBzGRMXI/1hKovAZJEYbYHw1yb92y14MAMJ7mbijHiRxs/2Ri6bY4o0iSYreIE9yAs2sanrlzHRdl5OZYUNmPeprsxuz/8a/vbq5HpqzTmNf/GEwfmIX37ww8hTenYdqDOEmkEViOrsgrh6QCUWj6BThQnfXhu4FnNZ9ZcwKoKKyA3Dee0CGJiAwLCZFHdj+M9X7MfrB/Inhs+oa8ggUeBn8ETW7rG+eazw0EvX8HN7q7T0yBnXzfLa5BHRFwOblruFeOwxS12e1KTCE0TApScyUvOVutKwRpbk9xQdXOIPfWJXvNCWDCacsB+z+kIwCMv2yNS5WSrJ3ixK4tzn7qAC39HdLc16r1ts1j7eacNfvCSmJwwh1xEQyoUScG6BcYxMrjyeYziDXx6AFzgHdr4lbZBhexNxhVA0+s6TYe1+SvW9ZaE4DpEONhKFLaqcy1+gd3HsCSvke2kiPw73DD22CrehxxhuLez8fnBvr1Je4utx2xfaC/GiilgbYdqiSsV65dlX4Ei2CfglpWDnGESll2CZaWY7RiAI6pEDgQDgkWwO4OqpV/ak0JoCKtIgyS8EkOqi5xWfb+ompICIRuc/YDsTdhdp1AcIeOFbMOzlCw3xe7u7vp1VvRBBB+igqHdZUyKqi1r0M6hroRg0gxIDIDk3XPtt2SGpcchAtAobWksCivM09X53rkrSkBTIc7doNhVujYP9fjy3PLJHNLppL9yvyDmXXi6ikEXwxqCYBE4bLcbW7LOL4ayLPHOY+CuzTp6lZiALO/rvOizGCPAfcdKwdW+jbZjg8U3YDH2G86hULF9Hi4AkqsfUYglKsIA/jekxhJbZsM8jxQtE8iIiIhTT3av81uk7cajsmsb9iXD3wkAMPtfiVi2tnjk71iP2trsdnDsl4Fx9KKARv8E6eaz8ow4g6VNUCuhU/V9r1Yv4jQigH03+Y0rfvLysoiVwzQd1GRdjDeRX1BHy0uLg6BUgc7GBjyS3T+xGC5tThnp4Q4QpTyR+Wqa6hHrvQ0KXnr94i6xIxy4wCIN1f3YAfzeZDZjK597jQ623JOBhB+hoFVcM9CDFQXVUk09QCNqIOjSUxLDtkmw7N1da513poRgDkdfgiNpetcv3Owq/NgQqUnpcH2dyrEObD4cqLplPQHib1Typ/b6jLtrguribTErBONmP71ujYIA30BZ0AEZP8ccBJzXHSclObwfIpAYldiwDQLZ93WLtQZWEDX0CrmrR0BWLbHoPrxxI6ARERtSy+QxNgkKE9AI5Q/OoHOt9bJ2M1xvfzHM0B3oz3S1RZQ4QpmHDkiLrT0PAdblxil/E7DcbVPgWYrPzBg5f7ifbriC3mmzfxARUVF+ELGOv1YEwIoyt2fbRnGg0BiQHs0p5Ljt8je7XsgRylDwSLB/jsGOuVK9xWIVpJHIPLB/aewgveqktOrizzod+6XMHO15wfBoymNXZelrb9diQEqr3QK7d5WLslxW7R6ALkEWMWTE4O2lNUFfenaAwZk6UfuvITNcB3CGOZgYgQkEkBaYppC2Izy/mHhD8pVO0yszv4u7cqfYv+W9CO64icBFa5ChuGc6wFfektDv6o1WjBHwQUMu0cP4O7j8PAIqSyqDGIOgtZNMybEbj60CuDeUZVrQQBY9JOH0OFonVJE50lxbonExcTTpFMs9Aaie8+31ckMdvzoWC+dQqjrwlptvEDcwCh40Ms6WIhtzugTjadgrWDpGpDxY3c4pHonfBoaoucz7AP+P83/65lWnQCKsh9IAQvfrUMEFSKaS/tLsIpGJYqcHux/aGJETgGhdjhY9Mlyos7n9PdWJ9dlmmfcbifEQKA4Yov9o/1yseOSWhtQ/YBoyNqaJfnpeWorWyBUpABjX0E64yLXL606AdjM2VLI8SIl9zT9zEnJlqK8IhXrp+QnZlNTF2LsulvUNjDNI8zqt+Zu/jjIvdXJdoRewpCdocz3T3T6jE2MyVsX3sZWBc/iEA+dSIpLkv2lB4L7MUyJDgsL/7h/fWt5HdibFWydtr9huN+D2aqdymSpVSXV8wsqYOqYXNQDTlw6qWIAdKDwGSiAr631sW0NDUe46+QsuZYuUQ+4AsIdnRhVgSJ0ZoWFh8uOnB0SHhquxIT/c8QLuryuMQKrSgDGZFQ8omYe18l+IoO2fnXpvgXZT2/aBOzqU5ewzKpC6v1R5rnGGPxQf2d1c03DegPE16/TBcgZegd7pQ3Kq1rMwshyJ3L21mxJ35IeRAwow6GwqKACW5zXJ60qAcCkwzZvs1g3a6j978wtlqT4JGUqKSIB0s5eOSs3bt7QKn+UvxiAtrm5OYR3r32yu1zvQHFr1bVMMTA4OigtPS2Kk7E/c4hm3rolTRGBTgQqvBhGsk0cH9TVuRZ5q0oANsP2BDi2NvH4lX1l+8SBABAl+2E/M8bueD0iuXUaI2rhLIOf6KUZW6x2hU7b0Apm1rbWjgHKExi4gLUBj2iypKH1ogzdGPaINfSDASPFBSXYSxClCN0fHJhIIYZlHYBTSB/r5v/ACl+vGgEg5j4Og/8R3eznbNiSkCyl28uU04cEwMGn3d/Y1ui1kfy6ynBvFRH6E67V+91cs0u3y0DMoXVD1yBF2qmG09I90KMIgP3igRLVIPQkeDm1AaMkdsPYNTUVVqirc7XzVo0AXPaQhwH8Fl0HnLCXd++4T+LiEhH5A7sZXIIBljUNNTI+OY5HAtmGR+66cZiz87KuzrXKa2jLqMX5gC269sihhseG5HLHZbVEzH4xUiglOU1yMvMUB/N/jhMEVtJWc9ZV7H9vLa5XjQDgpn0KHdCyNerR5UXlEhMdo2LpGfvHMKpzl8/K1LR+04ciAMs429Ba27kWiAneBg+Asng4pDapJeL6k56AURAAxRk5XlVZtdaryUrQN+iX1qG0tIoIbaWrmLkqBLArY1c6mPoez6xdDD3NpdTEVMnKyPMoS0AS5WR3f7f09iG6JojSgAOapkEoRxfXtj5Xbpf7JbQ8v19tMQy0XhpaoAcgiAXrH6qPc/AJlO3YLZGR0APw55/IBYCrD8SHWziIYG3TqhCAFRL2NEKgM3Xynwc8ZWfkSlZ6NmLonUoBNBH40dTRJL0DvWCTgeFy9MEDR00zprmigZ93i+oxp/0KhvGojsCZNzsLX8b54/AE4A/cjd8xMbFSUbyXuxcCmvUQgJmNzWf7cTNQ/gU8sXIZq0MAhvUQ4vsDAj/ZUTpFtufvlNCwMIUYbvoYm7ghl1suCcw7rfmnCMmyzjY1nViVyJ87RSfCxqcxkC/AkaN9lLpATV0NpL8nspkOLoaMVZZj/2CgATFfB7iA5f6lnJwc7UEZ2oZWIHPFCYBHvUGlK9WxOnY+Pi5BdhdXCINAWIaRP9eHrsmFy+eUY0jfJ2vCMsy1df3qAfHmWjhf6G30hxqrNl3r75HWrlbl0fTiIjcrH36BrXprgGIAL74IcW5N1Fa4SpkrTgCWwygDF8xFfwISZ0xaSrrk5xYq3z9nBoMn2nvapKOnXS0DBzzEDMu6Zt248Zr23jplzky5eObAG7olYoqBGRxEXXPhhFoVZD8pCiIjo2V36d6gG0dQLCbE4VpTp9CKEoBnz7/cDzmOegMpwA47mQjwBH5gXjDsG1r/2YtntCaSd2xR05sNAxvrIObLPaeGcBDUYZ0eQLjp6Gq4Uq8OpGY/SeihEWFSUlSmxJwSa94O+nwDdWu6fWxFCSDGismEGv9RrcMDLCEiIkKq9mB1bF7548wYhrZce+HkbZZ+KSesb/vgaMP8RPzCCbi0h3REwLzrAxBtjeewbwAnlFMZRH8zoQCnb80IujaAzlXvyKtcM6fQihLAtNuOuH8zRzf7SfE7CoolNi5eIUOxRYxt3WUcxjwF21+jUDEPz9XP2hwBp3tsBCqwwiPolLqig52K4NjYCPrnIQD2l4tDSVtSYALnKA4RpA+xocbabR9bMQLg0q8NhyB4FR7/zlEBrMTsJyJYhn9cMz9Vewwrf0HAwCyCOflc2ZU0bTyefxtrfc0lYkzsM+hLoLwDME5sGGnraJbRGyNKGSQOQkNDpSB3h+KGOjEAzsHw+YcPykHtEvpK9zEI5u+8GfdEGLXXD+o6xbw4aP/btu2g20sRASN/+gavA0H0qoIqNAmInXZbttc28snbhsv4KXYSj+j6QAdXT2+X9PT1qO1jJH6Kv507yyQpMSWoGIDMKxzOma7QoGTFs1aMABC+9Tj6l6CDkL5/yv4oun7nnSOUi0drjsjszIzW9ufyKvZlHp61hWq3ZunaWY+8m/aBIyBp7eFP9AoODQ9Kc+sV5eqmL4Au79z8QsnKytX2m5MF3tBMy2Y9thb9WTECwCT+qA5g1SEgori4HFowImPAM8kFZrDps6HhvPIH6J4jU4D2/GpT05F1WfrVwqTJbG5ungFLQ6CI3sNDXaCh8QKcXZ7tY+w/Vz6Li3chcjicOk5ArRB8duBoT0bGvlXfN7AiBFCUV74NQJcH9AQZdP3m5W6TrWkZ8IJ5ZD9n/+WmBhkY7NPOAmrQsCRw1LdxBlUErL3r2lnPPGvOeo40rYOBpi8JYGhkSEkJYmAWJ57s2rVH+QV0BMAyoP9d8RGSratzJfNWhAAcRvgTACpWB5gL9vBOUHviluSF0C8SQF39WWjJiJ8D5gKTyrtizNkQHLDxU2Je+AWMmXaZmv27OTEul69cVBFC1AMYNh6fmCi5eTiSXtN/EgUcTGnGHCOqVje9awKg9o8uHQIH0Pj+ofWCzeVB5oXBB8BFEbp+xxHy1dZ6Fb5/vfxXfNEttfWdR6Fcbfx05MiR224fs+EsgXPnavy2j7nlvoqqoJ3jFMD5CB/Yt291xcC7JgCZiDoAci0lz/JPbrD/1NR0ycovUKdnKfmH2d/Z1SZd3XT9BoYLcEaABQ5CXDzvX98GvsactT2PmauNVKIe0Nx8Ra5d71GLQsSDC0/sKCmHXyRBqwfQZARKnxq5NpWymv1+1wSAXVwPA9JUnSwDYUh6RpYkJicr9udGa3SGtHe0yujI8O18/x1WxMRbq9nxla7bdE12g8Ed07F0tkVReOHcGbFs0G9AANwDGRYZISVl5UHNQRw9E48wswMrDatvfe+KACrSHo+ASlsFky2gHhIE98cVl3NTEP+o/BvKKdJQD++YZt2fgOE5rJgbr+AljLO+gG7039w+homAF15pWKHql1suXDgN5ZarAh5fKTeRlFUgRgC40iaVbdK60leqfejOMgMG7k4enw0bzIefvkzbAXQqGkEQO8t235J9WBQZGhqUK40Xb+f7n8ZkuZfY/wLKnAgDwMHTWjHAUR/s75PW1mY4heDjwJAyFmIrOGRaRqaWC6hpYxkPFefsXTUx8G4IAHqfaz/kW5KOANi57cWlEgttl5s+yfbmECHbUFcrN8f1cf+oEMi0zjR2nDy/gNV76Ee4a46WwFnKfP9EJklroLYGrm9sHKUlQFd4bEKi7KrALmI4y3QJDCXGsNlWbRNpIKQ6KDR5eXkVMSDhR3WDz+JcJ99VWa1kPj1gcG/JLCJ+LtRy02eg8qea4Pi7XZz9G972V/D6/eO+AVNc54JxdCf6395yVSYmb8Ia8iwRh0WGS27hDnHwaBzNgxApsJtWzyt41wQQ4bLSMF7v0wHNvPikJMnetk1RuXfLdC/94p0dyhPmhzt1Cc1/WqzQn+nu3St5Trf5Jo6d158wCi4w0H9denqAA6wTEC9UilMyMmRL6latGGC/EVxatLPgwKqEjd81AQji/kGd2jBmaryleyrxSpUwJeuUvIP5d/70SW04FDtJ5QmK8euTY85rvL5Xk2vGOoJ9A206vY1iYGRwSLo72hEK7VkUU0vEaVtla2amFjecTMBMst1yPrIaOLkrAuCr3rBM+xQVG11iQFARtH9quRx8ioDZ2Rm5fOG8ls2xDnQSZd0vNw/XBI2z07W10fIYKQQJVgNjJkCMkcjdkPstVy6rWAESAbmAPTREcrdvD7o2gMWhMPTzgdVYIr4rAmgoaCvDuO71GHeLh4CzP3d7kaSSopW9CwrG7G+sPy9DAwOLC89fETFA2KBT7MeQFYSstI9uyEyovEG3j1H/uXSuVvqv90IP8EQK8RzEkspKiYPCrI2mAkogBsqHcmYKVrrDd0UANsv2JOYsqTIgMRZu533YBBHnWfrlrh8e+NhQW4sXOUP5wWD7J0UAYtWZYWPt/vfuxestmVE1oOIOHey0EEYGB6WztQXyn6eiwBrAEnFyBl5QmZWljY2kGAAXyMBZCyu+NnDHBDC/i/URDFrASBLQiKgoySwshPwPVeyeOiypnR3myqAukV263NZpOH94CMM9n7A2wC2PQcPYuX2ME2Ly5k0qP4rlcaW0eM8eFUWsQwDQbSIW/eBKbx+7YwKYHTEfAjDZOkbN2Z+Sng5qTltw/nDTZ9NFbJXq61OvfvHvHOkIfb8Gcfhz/3v38rXTcGLjiH77GF+B03LpkoyNjqrIaOpJDBQpLN+lFs2IEP/EyQXp+MGV3j52xwQAZe0j+CT6y/95NiWZ2wokPnmLYmtU/rjbp6muTsbRWZ2DxKMluusnjWHK/1+YND4d0ogFH+1byEj0M9MIiKk9o5RCpSthgKPi46RwV5mKm/BHBPGLY/bzTSOES4gB3Ne//HKv74gAuOcfwqhCeXn8WiCAUbGxkldaAuUPejA+VHJGEBJ1raNDP/ioA8sis1CFD6vIGr867+VLbB9jgMiLtG50iZOh4fRptSrotZQ4YYqrKoGUQA7AOjjpsIv4Qyv59rE7ijx12sJ3AkbErAcCSKsnNilRCspLMes9L3viKyH7r/XK9a5utQM4EBFADgMqZxxB5WXgM3eWQ50FXCjEMeGwT8+G2OYiZoF7mxU2HeGaCp2DWhIz29z8M200z521FFAaFp51BMu6XBsIUJhJGP1dPXK9u0u25kCi0moEOtIL8hQebwwjkthPzeIkAwl8wDEay9jLFfGX3AkBcLQqgL04nanCM/2yi3ZA+4+VOeyOpet3emZaWi9eEicCPx0Ihw5M6JBhXajvPXYl8N7d5+xDLN1kiCvTKUbp7Jix37DslbOm5Jih1pYwNxzxWJBz26eHQ1x4pax7uBHv8TkBIXxcnPbOhu4TKxaDOD0Z2hEeOfcmcPYIFN3FHQI26Ru5BC6Qti1fXMAZsiQ0OlIK7yuXmp+9Bl9boMscNBFvjzPfK4PyfxdXeHdXyxYBfNkTTJH3aya/atmGs36KqvcoZYamDXgVtNwJuXzmbJDZPw+wJT+6O9ADnzqIN1GX5VY+MBnq+ku3Ybxut9mexVL178EDdz9mHMwoIRViR5d6Xe0W/KjAXoZPOwz732GF7m1bmPvvS/L3frwsvyw5sPY7z7l6/R0cEiCv+c9kb00u6EfNFxAqRo4JfDFiKgTbxwrKy9QECioKPIdveKt5V9/LJoCZmZBCUOghRqr4J7KmpPStkrVzhzrb36MDGNLb2i49LW1a7d9ThzUE+29F2H9pXvX7hvKqXsR+g5/iraRfxKzD+QTkwvwEiiy2T4bKe/TO4f3V0djS/lHTsD8jRsQrJfnVv4Miy8aPpz+L/5Nlwr19HBxzVEcEzBu8dk1aYCXRWiLeuI8wJS8bpnRBULMZu68O7Mipzlnc2t1dLauDBw8etON1fu+DUNKGKROJ2yvvQyfg2fKgVSG18TSCesnXNImdx3M/D0t0w3V694kbUkvzq/4Ui4//AvPqUcz0KIqoYIMevCUSAokbUla919D4y7K8ym8WF+9NDf7M0nccJpeI3Zd1yiDXBiZGx6TpfJ0YwB0J0oWNI7FbkiS3rFhFEWlbMIxYm839Ie29O8xcFgFMdU9FiOn+CLCqrR5sVLZXVXiGXpE9XvY4PSVXTjPyR98EEQIieO7dHPdeEV8RG2ElfQds/r+gthQ12wHFu01KXuMVhmBdn7PNmC/sLNh71ytxnqPlBK+s1yPPOTsnvVdb5OYNLIEAj5xAoVERkrG9QEK4mKZ5jKIMZzB9cCXePqYfHT8M3oB3Fw3uIoX6J3r3MnYUSmwyjkHD4CvzDxEvrXUNMolO6Vgf2QJ21ba7xXbOv77lXiMeIXY2wf63qP/jgMumg225denLsa/8GFU2y/x+Se59EMx3lyDbX4Wnb0THDukmH4A1MNCLo+XmxQDPUUrOzZK4lGSER+i9p+B4RUUFXbvuDqJbTy2LAGw249eCsXIqMiUP7ZOQKM/LnkjBpOS6I0fFSWtAk8gVQCvPWqFjXZrbS2bRHRppOL6Fen59uQPPmURkcrHK7aQZEKjLBGsY7RTjxJvvlxRU5Acrc7v8sEn3G0BLC2ZuQKJXcGxgULqvNM8r0HCegQAS4E1NzcsKKM8M9gVcL9Pmdj+uLXAHmUsSAE0qAP6wrk5l+2Pmp27DGXgOxrlBfuL448Hea9LX3qVlX5wF9PyDNbxzt4Gf8eHQ7A15WsceF8EJRBFGDjjN08yd22Xb3t2Ss7tE4remKPgIylL1zCN8B8zJP1TOsEWNLH3Bl1oBkiMId9VSHblkW/0liIEbmDzkoigG33j2LpylhO10Ovgg8hx4rpI60NIQBC+xpB9gIkzgmhKtWeSac0rOLuz530rXr5r7Spttrr0gEyOeU7P9m2Zn3W6rFWR+V3v+yworH7Dc5m/71+t77UVYRGy0FMI0LX3vAYkFO+UhzuQ+vE9OcBMKWEttvTQcOS4Dnd3APOgyiM5CvQDPfsYljhNo69u+7S3nt+mS5zC4hDtAkWaMYBvMwRtDQxIRFw2iBRdAjGD+nnI5/sOXZG4aejLw5pvI+YDL0ghbXA7y79qPsiQBIPCzCvIfnqzFAHiBySorkqiEOLB7BDWiCMOe2yD/pycm4MgI2Cw0X4u7vr7zdKu3juV+q1fPTRv/EfHyUPgC9RHWQzZP5alw/x65/xNPSEJaqkcPIQJ9n8FlVGKcpOTnSMVjh+TEj16W868ckYnhUbV8HQQmB1wIXykrqHq9rrkGFLP85Gh31s7mO1rQbIn/U5wUN4fHpLuxWbbkZCo8kuDi01IUfDcGA31T7D+slUy3y6RuctcEsKQIMFwmXL9GgEvKAuuMTIiXLVl84YWnGu6HH+7tk6FOKDTQUnQJXHASwQ0v6+4tlWfORFZA9u0PVo6DT6LjwD/+e78pSZCjTEQWRYH65m91zTxPfkh4mBz67Cfk0S9+VhLTU4MqXh6kG9QDfkVVfAf/agUvoeTbx4JMJL5+tulkrTBw1JsIc2E1l15ANprkybV9EO5ubWie5pGArCU5gGVamXCQAGngSz6JtnZkfIzEbGEUi0dTJQEMdHTLYCcOfIR2q0/AvhiPluVX70KdLnTOhSPgnAgx444JJ+7iN6whw40DNk3uuWPlCiu49zBoLZ4D4Z84mIxB3P/xX5IDIADKdsLoTQxTU5tRFDKpEM7fn6+LHKzowWqw4Bh58a++LmN9eF0tnDL+CSTDrP9Qmr8XBWyT4DmzcCLNYGBn8Kq7WcPpnnHazZkQcc0YljlruM3ZGWtuJtSInnLKzCvwkP4xqgjAO+HrvNgoo9f71aRiHwl/wd5dEhkTLRNjgaH0VCkA4VPToyH/AzA1+8O6nOsAQPwfAvvH7h//XNAy/kIQ9EF2q4QWipAQxodGZBZLnVRe9MmIhEv5KY6DYdH5QY6H/wqvFjy41CRxBcoDE+EuIeqW6i6eCdENvqcdS7ZV7pZ9T30IJIPZPj/4lOm0RtovNAHBl+UmdBOuS2QUFUju7lIJg+9d1YkWnDOzklW8Qx741JPy8te+BZiQqQjGvydGCjjc15CLwA+To+ACiNz55oJDx+2A3KQPEF3AR1wOyw5Kn3bhPhbzuOanQSgqc4EIW05fkOTsTA9MyAtDgE12ebFcPHxMhdYFQEKnkMt1EPmrQwCoWA/tPCS+nN5DtR5uMH9b/wXEqhENuDtfm89N1fhtIeA44Qw+rKUf+OUP4/0DWOuZt51pYvW3dsir3/iO9Da1KdauCAODeu6Vw8p38dCnP6r0Ba9yyPvb4NQqerBOLr5xTLsg4wHbjOS3L314OYYHZv6fBxyFvF0gTQVLvNVUc1aqn3psoQj9BNuq7pO6N94B89NwVTxkYePIwYMHv32EkUh3mPSCelEl7plFl/MX7JJzZg4aKm19T/dMbIOOgrlFrXatU/6eMuVD9w4+Z35fW6e88Nd/h9l/Seiv8HIFzmxaMEMQVS997ZtST+SCWJjIdqOhHBbdX6WimhUX0HaGw0VC9vkjYS/x0VblzUSVwz0wods6VCwFs9mP1IJciUvFSyjnuZq3OL/ZOv7vH2wZz/bNX+7vpQnAMBDKy0YWJ1I7Nf1JmFKUX0x4rZokQvGKS0kK7sdeXM2KXFFJ2glnlK+ewgE/9syLcr25I+hqJOMVpyduygmYWiOQvdRhmNxOt2wF0hOghdNcXLOEeTRzc0pazlxY2Dvp4W4xSlw5QbS6BGEZDtHzYd29pfKWJAD4JC5BkgXwdQ76jYEh2M84AQtUysRZlQLv1U4oUzwUgcCvdqLc3IHZmlm8HTPE0x6JkyZV04nTt2HhHsi45t7f3i3NNecUHyMxcdDjYT6SqLjMvRb9IDRsew76Uxt8E5xcvOasj4iJkfwKvF0F/dLCAtmAPn8MVWhkhKefwf4v+cCW+PQo+B2fAHH6GfVAFAY8BMpeZsl2CYFi5QEOO17hGRzt65fh7msekwod8U+BOd4SuBP8pirEdvih2ZdVskMe/nefBtuOX0AOie/oM8/L9attxKq34qDfMEYUq80ug+cNe/ZVP1A/+zFyrU+Gu3oX+sFBWe1E7T41P1eZsRRJFAMkbnKGqfGJhQnnhWNewwhNjt16sn+0t8Obv5zvJQkgLDphMMx0fAYdj/GvkCx0pOe6pGHtOikr3SOjgDgHdrrk79mlzK5xOFYWfO9AHhHoj0IP4Xhq9wzuLZudCPBq9bQyeM2w6vDoKMm7b5c8+jufk6TMNM8AoQruRuptapWj/+95mZ2cUu35w+1/TQ42jIFO3ZaLRRho4POchK9/za8oRd1ueOlGZA5WAiN3lAlJMxIEqNYW8M3f7CcnBfPUBz59F/PmP7x/2898PZNj4xKdEKuUP9bLFI4VwrbzDTCxexZElV8/IizDNtQ/0v2aX/5tL5c0Azs760dKCyrfwlT6lH9NHMy56Rm4K38Mis2WGK4IAmAOIk2tB3/1aSl7/0PSWlsHD9uIGjxVBxDsAgK9SXUSzzCR+r0DoK6BNFQ4f48zH0oaNP5MzPwcmEckBiKbiYocB+D491+UCQwY4VtWYjnAcxK6QPr2fLVOsNAPOIne+xuflJL3PiBXTp6WG/1Dqo+sl3CSGLyJsPkqarzvUdI8JVS/5vvCHBLzQkIXvToMCS0EnIjmtLJOUI6cKa0wX9rOwYPO5/z6BgcZ7E53NdduTnSfmFqod4kfy8JQUU5VtcNmHMXU1XIMeq+279sjH/rdz2PRJW4BQWybHWC0C2x/XPk05/PztjDiOf+iJDDPLLtFHGyHg3b82Zflre/+UFW5bAKYB4DEU7C3XB7/8m/CvY0zjednH2+TuMhd2M5tk8/AKGLw0K56ZPGAe4h54TYJwIcgFFfkzfnO0xwkZ/vRf/9fylnktVpuwaKcJ+OguUcaWk4eu5V/+1/aAfV/JCwqayjMYe0ClW33v8drAjMIOTnUfV1pz/QQeg0HdoSI9LBBH/boZZNLfZOl+n/wjBdZHGQOyhwCT4898wJm8csoP7f0QGk6QsWWestw73VlegX0g6zcH5aAa7wnDO2rj1/fvCKMhKCIgdzA9+MDkz/xknvEJCZI8+nz0Ev6tV5KnEyKQBHrQt9Id41PVbf9uSwCuHGj25kam04HP0+q8FMGPfUT4CEQQdvZOsivOLXJgRo2fQIcIGrmVGbUB/6ehd/evCW/+bz3A66CGaEGHiKoH0vPdPbUvf6OZ/BBkLoEXE+DIJ/FrIoF2cTqypC10pXdjtW5WJizdDDx5ZZsj328BQN+81rzYR26fP88lvN8AAlnuvczD5h/eRvwyRXMzvpG0M0C7/DphrISjNSErNf6Rrqw72zpNM9gli7IdecISfojAPVn+sY9dah7gC2zdLtypnC1LRzBIsrGZn/ZS3Z8PtG0WUjziPNeEwEKKchQz82XdWPWzUxNwQwdlsajNepD+/l27Jl1gWu8OTky9ERYbPznAc9fA1afxr2ter7JYcjZaH7RHKSSGwbFk0vKhF/B5vOIf9sk8IXEbrAv3sTnvR1Dnm8/WWTRs7j2iE/+AIeC0v29P/hvMsUQMt86+aCn1knL6T5U115zUmUt8c8HqiVK4jaWQTOgfrwEo7P8dkTAmjxs34k1gQjlUAnBgZHsMzvr20HKNm9ivi8iee1FnHoOLJqJiudY34ASOdQFvIPircf/m8+ChfZhZebJy82nTjDQ05w2n0db1Uv1g/WTGGKx3S0R1gaPduPiJ8QhYLs1yL794MB4nWOERfXDhyDYR3ISb1L99hlM7qjy9ptlfOU9nz3z8uswB/XhdoQLgaV/VN/66F+L/JmPlultbfH3LSgW5we9KsvfU2IZ9h/gwaKghXxuEMFE4CJE67iXesZXZ0ZGsHJonIjgh8i+XVKDb1l9UEM+39B28iVv2bK0PdslwgZtEYdcLiNRZitzdIH1+gHnc+nz06dmn1yfnz4FFn4G3F5o01OEO699CWThwfkfwHXjTcu5rxVnFvnf87++Pfb8S89fIwy7AgD8Cy53BCmyIbI9bNYag6n2+fq2U88CqEW4Lc6t3IWZ+q/LJeYN0anlAYFjisyD9W3H316q+C3+u1RJn/v9Iz3XtkRnHMaO9SKwr9zbUaPPY2v6kzCBn7TBNP/9+raaZ3SND4z29CWjH9gquBPsfEP2Qwf3MvIgCNyTfSM9P12q7F0RACvtH+seTIrMehkB2YmYabmQPeGLptdSLa/SfcrAeQv7dcPp/EJ92+nbnjrGfsSGpf7EZjeS0Y88PB/qJ4hWCdLVrRZRVwmpjoR/6rvZp4JpgrV21wTACgdudE/B9fhSSkL6Wxj8OSBuu82wA4FrnzjjqZTBm3YSQSRfHp6c+2pzV237ciAZGr82Ca72Ykps2jH4MXEAllGEuoCb9ejJciBeuoyJk3rFYbsCLnDb4Nt3RQBeMPqGe7ozwlLenAt1vAJfbhfiXraCAScuqaF5K3j33xNQfH6K0f+vLsv5tYstp06Mj1+7LeXrmuwb7emMScw47DCtn0PvwvEdkge6itKV3eh5sDIc4AKu/uFu6j5B010pgUFrUzeetpXnXI12meGZaH83rGluKk2Hvs7AxYX2YJ/wtSjzdhTsccTJAdnqGpwEUfELbmfcu/UuApSEIW7NIK8P5kUrogdPTtmNM7GTzmHG398etuXf5bkCY2PuuFDLUQqWUAVkboezPRPfWC707ONkbYDHCQA9Kzae6kF4CGLjPZRDHxcI0UDABLiLMs3QRzfqurXAj5N08Zi6B14GerZQr6cexksikmyhLPyIrFO1gZKohzAslFVtIJDORJxa77gr7Hvt7Ud4RsFm2sTAJgY2MbCJgU0MbGJgEwObGNjEwCYGNjGwiYFNDGxiYBMDmxj4t4yB/w+Iyhhsm8O/RwAAAABJRU5ErkJggg==",q6="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%232e2438'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2019V5M5%2012l7-7%207%207'%20/%3e%3c/svg%3e",Y6=Es(["asw-widget font-inter fixed transition-all"],{variants:{position:{"bottom-right":"bottom-6 right-6","bottom-left":"bottom-6 left-6"},open:{true:"h-5/6 max-h-[800px] w-80",false:"w-16 h-16 overflow-hidden"}},defaultVariants:{position:"bottom-right",open:!1}}),V6=Es(["rounded-[43px] flex flex-col justify-between absolute w-80 h-5/6","bg-asm-gray-500 shadow-lg transition-all duration-300","motion-reduce:transition-none transform-gpu overflow-hidden"],{variants:{position:{"bottom-right":"right-2 origin-bottom-right","bottom-left":"left-2 origin-bottom-left"},open:{true:"scale-100 bottom-20 opacity-100",false:"scale-0 bottom-2 opacity-0 pointer-events-none"}},defaultVariants:{position:"bottom-right",open:!1}}),G6=Es(["relative w-full z-[2]"]),X6=Es(["absolute right-2 top-1/2 -translate-y-1/2","flex items-center justify-center z-[1]","transition-all motion-reduce:transition-none transform-gpu","rounded-full text-asm-purple bg-transparent border border-asm-purple hover:bg-asm-blue/30 cursor-pointer","w-8 h-8"],{variants:{active:{true:"scale-100 opacity-100",false:"scale-0 opacity-0"}}}),Q6=Es(["absolute left-0 bottom-0 z-[3] h-3/4 w-full mb-24","transition-all duration-300 motion-reduce:transition-none transform-gpu"],{variants:{active:{true:"translate-y-0",false:"translate-y-full"}},defaultVariants:{active:!1}}),I6=Es(["flex gap-2"],{variants:{role:{user:"flex-row-reverse",assistant:"flex-row",system:"flex-row"}}}),J6=Es(["absolute bottom-0 text-white w-16 h-16 flex justify-center items-center","shadow-md cursor-pointer transition-colors duration-300 ease-in-out"],{variants:{position:{"bottom-right":"right-0 rounded-bl-[50%] rounded-tl-[50%] rounded-tr-[50%] rounded-br","bottom-left":"left-0 rounded-br-[50%] rounded-tr-[50%] rounded-tl-[50%] rounded-bl"},open:{true:"bg-asm-pink-400",false:"bg-asm-purple"}},defaultVariants:{position:"bottom-right",open:!1}});function Ox(a){return a!=null&&a.persist?`asm-widget:${a.endpoint??"/api/chat"}:${a.context??""}`:null}function $6(a){if(!a)return null;try{const u=sessionStorage.getItem(a);return u?JSON.parse(u):null}catch{return null}}function K6(a){const u=Ox(a),c=$6(u);return c||((a==null?void 0:a.initialMessages)??[]).map((s,h)=>({id:`initial-${h}`,role:s.role,parts:[{type:"text",text:s.content}],createdAt:new Date}))}const P6=({config:a,open:u,defaultOpen:c=!1,onOpenChange:s,onMessage:h,onError:y,children:v})=>{const b=_n.useRef(null),T=_n.useRef(null),E=_n.useRef(0),O=(a==null?void 0:a.position)??"bottom-right",[R]=_n.useState(()=>new FT({api:(a==null?void 0:a.endpoint)??"/api/chat",body:{...(a==null?void 0:a.systemPrompt)!==void 0&&{systemPrompt:a.systemPrompt},...(a==null?void 0:a.context)!==void 0&&{context:a.context},...(a==null?void 0:a.mcpServerUrl)!==void 0&&{mcpServerUrl:a.mcpServerUrl},...(a==null?void 0:a.model)!==void 0&&{model:a.model},...(a==null?void 0:a.temperature)!==void 0&&{temperature:a.temperature},...(a==null?void 0:a.user)!==void 0&&{user:a.user}}})),[z]=_n.useState(()=>K6(a)),{error:_,stop:Y,status:ae,messages:G,sendMessage:k,addToolResult:q}=RD({transport:R,messages:z}),D=ae==="submitted"||ae==="streaming",ue=u!==void 0,[te,Q]=_n.useState(c),he=ue?u:te,_e=_n.useCallback(se=>{ue||Q(se),s==null||s(se)},[ue,s]),[Se,He]=_n.useState(!1),[be,Ee]=_n.useState(""),Xe=Ox(a);_n.useEffect(()=>{if(Xe&&G.length>0)try{sessionStorage.setItem(Xe,JSON.stringify(G))}catch{}},[G,Xe]),_n.useEffect(()=>{G.length>E.current&&G.slice(E.current).forEach(ke=>{if(ke.role==="assistant"){const A=ke.parts.filter(Av).map($=>$.text).join("");h==null||h({role:ke.role,content:A})}}),E.current=G.length},[G,h]),_n.useEffect(()=>{_&&(y==null||y(_))},[_,y]),_n.useEffect(()=>{T.current&&(T.current.scrollTop=T.current.scrollHeight)},[G]),_n.useEffect(()=>()=>{Y()},[]);const Ne=()=>{he&&Y(),_e(!he)},Te=se=>{se.preventDefault(),be.trim()&&(k({parts:[{type:"text",text:be}]}),Ee(""),b.current&&(b.current.style.height="auto"))},L=(a==null?void 0:a.logo)??Z6,ie=(a==null?void 0:a.title)??"Ask ASMBL";return et.jsxs("div",{className:Y6({position:O,open:he}),children:[et.jsxs("div",{className:V6({position:O,open:he}),children:[et.jsxs("div",{className:"px-4 pt-6 pb-3 flex items-center gap-3",children:[et.jsx("img",{width:28,height:28,src:L,alt:""}),et.jsx("h2",{className:"text-xl font-bold text-asm-purple",children:ie}),et.jsx("button",{className:"absolute top-4 right-4 text-asm-purple transition-colors bg-transparent hover:bg-asm-blue/30 rounded-full w-9 h-9 flex justify-center items-center cursor-pointer",onClick:()=>He(!1),disabled:!Se,"aria-label":"Hide chat",children:et.jsx("img",{width:20,height:20,src:xx,alt:""})})]}),!D&&Se&&_&&et.jsxs("div",{className:"absolute bg-asm-white w-full opacity-8 z-40 flex flex-col gap-2 items-center justify-center h-full",children:[et.jsx("button",{className:"absolute top-2 right-2 text-asm-purple transition-colors bg-transparent hover:bg-asm-blue/30 rounded-full w-10 h-10 flex justify-center items-center cursor-pointer",onClick:()=>He(!1),"aria-label":"Hide chat",children:et.jsx("img",{width:20,height:20,src:xx,alt:""})}),et.jsxs("h3",{className:"text-center font-bold",children:["Sorry, I'm having trouble",et.jsx("br",{}),"connecting right now."]}),et.jsx("p",{className:"text-center",children:":("})]}),!Se&&!v&&!(a!=null&&a.welcomeHeading)&&et.jsx("div",{className:"flex-1 flex flex-col items-center justify-center pb-20",children:et.jsx("img",{width:52,height:52,src:L,className:"opacity-20",alt:""})}),et.jsx("div",{className:Q6({active:Se||!!v}),children:et.jsx("div",{className:`flex flex-col relative h-full w-full rounded-t-[43px] overflow-hidden ${G.length>0||v||D?"bg-asm-white shadow-sm":"bg-transparent"} ${G.length>0?"justify-end":"justify-start"}`,children:G.length>0?et.jsxs("div",{className:"overflow-y-auto h-full flex flex-col",ref:T,children:[et.jsx("div",{className:"flex-1"}),G.map((se,ke)=>et.jsx("div",{className:"px-4 py-2 first:pt-4 last:pb-4",style:{overflowAnchor:"none"},children:et.jsxs("div",{className:I6({role:se.role}),children:[et.jsx("div",{className:"relative shrink-0",children:se.role==="user"?et.jsx("div",{className:"rounded-full bg-asm-gray-500 ml-1 w-10 h-10 p-2",children:et.jsx("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",children:et.jsx("path",{fillRule:"evenodd",d:"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",clipRule:"evenodd"})})}):et.jsxs("div",{className:"relative",children:[D&&ke+1===G.length&&et.jsx("span",{className:"shadow text-xs text-asm-gray-400 leading-none absolute -bottom-4 left-4 z-10 bg-white pb-2 px-2 rounded-xl",children:"..."}),et.jsx("img",{className:"mr-1",width:36,height:36,src:L,alt:""})]})}),se.role==="user"?et.jsx("div",{className:"bg-asm-pink-400 rounded-3xl rounded-tr-none w-full",children:et.jsx("p",{className:"text-gray-600 text-sm p-3 whitespace-pre-wrap",children:se.parts.filter(Av).map(A=>A.text).join("")})}):et.jsxs("div",{className:"bg-asm-gray-500 rounded-3xl rounded-tl-none w-full overflow-hidden",children:[se.parts.filter(Av).map(A=>A.text).join("")&&et.jsx("div",{className:"text-gray-600 text-sm p-3 prose prose-sm max-w-none",children:et.jsx(U6,{children:se.parts.filter(Av).map(A=>A.text).join("")})}),se.parts.filter(lm).map(A=>{var Oe,Qt;if(hD(A)!=="ask_multiple_choice")return null;const{toolCallId:$,state:ce}=A,U=A.input,Re=ce==="output-available",Ye=Re?(Oe=A.output)==null?void 0:Oe.selectedId:void 0;return et.jsxs("div",{className:"px-3 pb-3",children:[et.jsx("p",{className:"text-gray-600 text-sm font-medium mb-2",children:U.question}),et.jsx("div",{className:"flex flex-col gap-1.5",children:(Qt=U.choices)==null?void 0:Qt.map(Ve=>et.jsx("button",{disabled:Re,onClick:()=>{Re||q({tool:"ask_multiple_choice",toolCallId:$,output:{selectedId:Ve.id,selectedLabel:Ve.label}})},className:["text-left text-sm px-3 py-2 rounded-2xl border transition-colors",Re&&Ye===Ve.id?"bg-asm-purple text-white border-asm-purple":Re?"bg-transparent text-gray-400 border-gray-200 cursor-default":"bg-white text-gray-700 border-asm-purple/40 hover:bg-asm-purple/10 cursor-pointer"].join(" "),children:Ve.label},Ve.id))})]},$)})]})]})},se.id))]}):et.jsxs("div",{className:"flex flex-col gap-2 items-center px-4 py-4",children:[v??(a!=null&&a.welcomeHeading?et.jsx("h3",{className:"text-center font-bold",children:a.welcomeHeading}):null),D&&et.jsx("p",{className:"text-center bg-white py-1 px-2 rounded-xl text-sm",children:"This should only take a moment…"})]})})}),et.jsx("div",{className:"absolute bottom-0 left-0 w-full flex items-center px-4 py-6 z-50 bg-asm-gray-500",children:et.jsxs("form",{className:G6(),onSubmit:Te,children:[et.jsx("textarea",{ref:b,style:{height:b.current&&document.activeElement===b.current?`${b.current.scrollHeight}px`:"auto"},rows:1,cols:1,onFocus:()=>He(!0),value:be,onChange:se=>{He(!0),Ee(se.target.value)},onKeyDown:se=>{se.key==="Enter"&&!se.shiftKey&&!se.repeat&&(se.preventDefault(),be.trim()&&(k({parts:[{type:"text",text:be}]}),Ee(""),b.current&&(b.current.style.height="auto")))},className:"w-full bg-white rounded-3xl pl-4 pr-12 py-3 min-h-[46px] max-h-[500px] shadow-sm ring-1 ring-gray-200 focus:outline-none focus:ring-2 focus:ring-asm-blue resize-none leading-[1.4]",placeholder:(a==null?void 0:a.placeholder)??""}),et.jsx("button",{className:X6({active:Se}),type:"submit",disabled:!Se,"aria-label":"Send message",children:et.jsx("img",{width:18,height:18,src:q6,alt:"","aria-hidden":"true"})})]})})]}),et.jsx("button",{className:J6({position:O,open:he}),onClick:Ne,"aria-label":he?"Close widget":"Open widget",children:et.jsx("img",{className:"absolute",width:30,height:30,src:L,alt:""})})]})},F6="asm-widget-root";function W6(a,u=F6){let c=document.getElementById(u);c||(c=document.createElement("div"),c.id=u,document.body.appendChild(c)),kO.createRoot(c).render(_n.createElement(P6,{config:a}))}window.AsmWidget={init:W6}})();
|