@apollosproject/web-embeds 0.1.591 → 0.1.593

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/widget/embed.js +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollosproject/web-embeds",
3
- "version": "0.1.591",
3
+ "version": "0.1.593",
4
4
  "description": "Next-generation embeddable widget system for Apollos",
5
5
  "type": "module",
6
6
  "main": "./widget/embed.js",
package/widget/embed.js CHANGED
@@ -1,14 +1,14 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:root{--color-brand-primary:0 103 109;--color-brand-secondary:23 181 130;--color-brand-tertiary:110 197 184;--color-fg-primary-dark:rgb(var(--color-gray-0));--color-fg-primary:rgb(var(--color-gray-1000));--color-fg-secondary-dark:rgba(235,235,245,.6);--color-fg-secondary:rgba(39,39,46,.7);--color-fg-tertiary-dark:rgba(244,247,248,.33);--color-fg-tertiary:rgba(39,39,46,.33);--color-fg-quaternary-dark:rgba(244,247,248,.25);--color-fg-quaternary:rgba(39,39,46,.25);--color-fg-quinary-dark:rgba(244,247,248,.15);--color-fg-quinary:rgba(39,39,46,.15);--color-gray-0:255 255 255;--color-gray-50:248 248 250;--color-gray-100:229 229 234;--color-gray-200:209 209 214;--color-gray-300:199 199 204;--color-gray-400:175 175 179;--color-gray-500:142 142 147;--color-gray-600:99 99 102;--color-gray-700:72 72 74;--color-gray-800:58 58 60;--color-gray-900:44 44 46;--color-gray-950:28 28 30;--color-gray-1000:0 0 0;--color-material-chrome:rgb(var(--color-gray-0));--color-material-chrome-dark:rgba(28,28,30,.4);--color-material-screen:hsla(0,0%,100%,.92);--color-material-screen-dark:rgb(var(--color-gray-1000));--color-material-ultrathin:rgba(248,248,250,.4);--color-material-ultrathin-dark:rgba(28,28,30,.5);--color-material-thin:rgba(248,248,250,.65);--color-material-thin-dark:rgba(28,28,30,.7);--color-material-regular:rgba(248,248,250,.8);--color-material-regular-dark:rgba(28,28,30,.9);--color-material-thick:rgba(248,248,250,.92);--color-material-thick-dark:rgba(28,28,30,.95);--color-material-opaque:rgba(28,28,30,.99);--color-system-chrome:rgb(var(--color-gray-0));--color-system-chrome-dark:rgb(var(--color-gray-900));--color-system-screen:rgb(var(--color-gray-50));--color-system-screen-dark:rgb(var(--color-gray-1000));--color-system-ultrathin:rgba(103,103,134,.08);--color-system-ultrathin-dark:hsla(240,4%,48%,.18);--color-system-thin:hsla(240,3%,49%,.12);--color-system-thin-dark:hsla(240,4%,48%,.24);--color-system-regular:hsla(240,3%,49%,.16);--color-system-regular-dark:hsla(240,3%,49%,.32);--color-system-thick:hsla(240,3%,49%,.2);--color-system-thick-dark:hsla(240,3%,49%,.36)}:where(.apollos-embed,.apollos-embed *),:where(.apollos-embed,.apollos-embed *):after,:where(.apollos-embed,.apollos-embed *):before{border-color:rgb(var(--color-gray-200)/1);border-style:solid;border-width:0;box-sizing:border-box}:where(.apollos-embed,.apollos-embed *):after,:where(.apollos-embed,.apollos-embed *):before{--tw-content:""}.apollos-embed{line-height:1.5;-webkit-text-size-adjust:100%;font-family:Inter,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;line-height:inherit;margin:0}hr:where(.apollos-embed,.apollos-embed *){border-top-width:1px;color:inherit;height:0}abbr:where([title]):where(.apollos-embed,.apollos-embed *){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1:where(.apollos-embed,.apollos-embed *),h2:where(.apollos-embed,.apollos-embed *),h3:where(.apollos-embed,.apollos-embed *),h4:where(.apollos-embed,.apollos-embed *),h5:where(.apollos-embed,.apollos-embed *),h6:where(.apollos-embed,.apollos-embed *){font-size:inherit;font-weight:inherit}a:where(.apollos-embed,.apollos-embed *){color:inherit;text-decoration:inherit}b:where(.apollos-embed,.apollos-embed *),strong:where(.apollos-embed,.apollos-embed *){font-weight:bolder}code:where(.apollos-embed,.apollos-embed *),kbd:where(.apollos-embed,.apollos-embed *),pre:where(.apollos-embed,.apollos-embed *),samp:where(.apollos-embed,.apollos-embed *){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small:where(.apollos-embed,.apollos-embed *){font-size:80%}sub:where(.apollos-embed,.apollos-embed *),sup:where(.apollos-embed,.apollos-embed *){font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub:where(.apollos-embed,.apollos-embed *){bottom:-.25em}sup:where(.apollos-embed,.apollos-embed *){top:-.5em}table:where(.apollos-embed,.apollos-embed *){border-collapse:collapse;border-color:inherit;text-indent:0}button:where(.apollos-embed,.apollos-embed *),input:where(.apollos-embed,.apollos-embed *),optgroup:where(.apollos-embed,.apollos-embed *),select:where(.apollos-embed,.apollos-embed *),textarea:where(.apollos-embed,.apollos-embed *){color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button:where(.apollos-embed,.apollos-embed *),select:where(.apollos-embed,.apollos-embed *){text-transform:none}button:where(.apollos-embed,.apollos-embed *),input:where([type=button]):where(.apollos-embed,.apollos-embed *),input:where([type=reset]):where(.apollos-embed,.apollos-embed *),input:where([type=submit]):where(.apollos-embed,.apollos-embed *){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring:where(.apollos-embed,.apollos-embed *){outline:auto}:-moz-ui-invalid:where(.apollos-embed,.apollos-embed *){box-shadow:none}progress:where(.apollos-embed,.apollos-embed *){vertical-align:baseline}:where(.apollos-embed,.apollos-embed *) ::-webkit-inner-spin-button,:where(.apollos-embed,.apollos-embed *) ::-webkit-outer-spin-button{height:auto}[type=search]:where(.apollos-embed,.apollos-embed *){-webkit-appearance:textfield;outline-offset:-2px}:where(.apollos-embed,.apollos-embed *) ::-webkit-search-decoration{-webkit-appearance:none}:where(.apollos-embed,.apollos-embed *) ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary:where(.apollos-embed,.apollos-embed *){display:list-item}blockquote:where(.apollos-embed,.apollos-embed *),dd:where(.apollos-embed,.apollos-embed *),dl:where(.apollos-embed,.apollos-embed *),figure:where(.apollos-embed,.apollos-embed *),h1:where(.apollos-embed,.apollos-embed *),h2:where(.apollos-embed,.apollos-embed *),h3:where(.apollos-embed,.apollos-embed *),h4:where(.apollos-embed,.apollos-embed *),h5:where(.apollos-embed,.apollos-embed *),h6:where(.apollos-embed,.apollos-embed *),hr:where(.apollos-embed,.apollos-embed *),p:where(.apollos-embed,.apollos-embed *),pre:where(.apollos-embed,.apollos-embed *){margin:0}fieldset:where(.apollos-embed,.apollos-embed *){margin:0;padding:0}legend:where(.apollos-embed,.apollos-embed *){padding:0}menu:where(.apollos-embed,.apollos-embed *),ol:where(.apollos-embed,.apollos-embed *),ul:where(.apollos-embed,.apollos-embed *){list-style:none;margin:0;padding:0}dialog:where(.apollos-embed,.apollos-embed *){padding:0}textarea:where(.apollos-embed,.apollos-embed *){resize:vertical}:where(.apollos-embed,.apollos-embed *) input::-moz-placeholder,:where(.apollos-embed,.apollos-embed *) textarea::-moz-placeholder{color:rgb(var(--color-gray-400)/1);opacity:1}:where(.apollos-embed,.apollos-embed *) input::placeholder,:where(.apollos-embed,.apollos-embed *) textarea::placeholder{color:rgb(var(--color-gray-400)/1);opacity:1}[role=button]:where(.apollos-embed,.apollos-embed *),button:where(.apollos-embed,.apollos-embed *){cursor:pointer}:disabled:where(.apollos-embed,.apollos-embed *){cursor:default}audio:where(.apollos-embed,.apollos-embed *),canvas:where(.apollos-embed,.apollos-embed *),embed:where(.apollos-embed,.apollos-embed *),iframe:where(.apollos-embed,.apollos-embed *),img:where(.apollos-embed,.apollos-embed *),object:where(.apollos-embed,.apollos-embed *),svg:where(.apollos-embed,.apollos-embed *),video:where(.apollos-embed,.apollos-embed *){display:block;vertical-align:middle}img:where(.apollos-embed,.apollos-embed *),video:where(.apollos-embed,.apollos-embed *){height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])):where(.apollos-embed,.apollos-embed *){display:none}.apls-pointer-events-none{pointer-events:none}.apls-fixed{position:fixed}.apls-absolute{position:absolute}.apls-relative{position:relative}.apls-inset-0{inset:0}.apls-flex{display:flex}.apls-hidden{display:none}.apls-h-8{height:2rem}.apls-h-full{height:100%}.apls-h-screen{height:100vh}.apls-max-h-screen{max-height:100vh}.apls-w-8{width:2rem}.apls-w-full{width:100%}.apls-w-screen{width:100vw}.apls-flex-1{flex:1 1 0%}.apls-flex-grow{flex-grow:1}.apls-scale-100{--tw-scale-x:1;--tw-scale-y:1}.apls-scale-100,.apls-scale-95{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.apls-scale-95{--tw-scale-x:.95;--tw-scale-y:.95}@keyframes apls-spin{to{transform:rotate(1turn)}}.apls-animate-spin{animation:apls-spin 1s linear infinite}.apls-flex-col{flex-direction:column}.apls-items-center{align-items:center}.apls-justify-center{justify-content:center}.apls-overflow-hidden{overflow:hidden}.apls-rounded-full{border-radius:9999px}.apls-rounded-none{border-radius:0}.apls-border-\\[3px\\]{border-width:3px}.apls-border-solid{border-style:solid}.apls-border-none{border-style:none}.apls-border-system-regular{border-color:var(--color-system-regular)}.apls-border-t-fg-tertiary{border-top-color:var(--color-fg-tertiary)}.apls-bg-black\\/50{background-color:#00000080}.apls-bg-system-screen{background-color:var(--color-system-screen)}.apls-bg-transparent{background-color:transparent}.apls-opacity-0{opacity:0}.apls-opacity-100{opacity:1}.apls-shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.apls-backdrop-blur-md{--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.apls-transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.apls-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.apls-duration-300{transition-duration:.3s}.apls-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@supports (height:100dvh){.supports-\\[height\\:100dvh\\]\\:apls-h-\\[100dvh\\]{height:100dvh}}@supports (max-height:100dvh){.supports-\\[max-height\\:100dvh\\]\\:apls-max-h-\\[100dvh\\]{max-height:100dvh}}@supports (width:100dvw){.supports-\\[width\\:100dvw\\]\\:apls-w-\\[100dvw\\]{width:100dvw}}.dark\\:apls-border-system-regular-dark:is(.apls-dark *){border-color:var(--color-system-regular-dark)}.dark\\:apls-border-t-fg-tertiary-dark:is(.apls-dark *){border-top-color:var(--color-fg-tertiary-dark)}.dark\\:apls-bg-system-screen-dark:is(.apls-dark *){background-color:var(--color-system-screen-dark)}@media(min-width:768px){.md\\:apls-h-\\[900px\\]{height:900px}.md\\:apls-h-\\[calc\\(100dvh-64px\\)\\]{height:calc(100dvh - 64px)}.md\\:apls-h-auto{height:auto}.md\\:apls-h-screen{height:100vh}.md\\:apls-max-h-\\[95vh\\]{max-height:95vh}.md\\:apls-max-h-\\[960px\\]{max-height:960px}.md\\:apls-max-h-\\[min\\(960px\\,calc\\(100dvh-64px\\)\\)\\]{max-height:min(960px,calc(100dvh - 64px))}.md\\:apls-max-h-screen{max-height:100vh}.md\\:apls-min-h-\\[min\\(360px\\,calc\\(100dvh-64px\\)\\)\\]{min-height:min(360px,calc(100dvh - 64px))}.md\\:apls-w-\\[600px\\]{width:600px}.md\\:apls-w-\\[calc\\(100dvw-64px\\)\\]{width:calc(100dvw - 64px)}.md\\:apls-w-screen{width:100vw}.md\\:apls-max-w-\\[1120px\\]{max-width:1120px}.md\\:apls-max-w-\\[544px\\]{max-width:544px}.md\\:apls-max-w-\\[600px\\]{max-width:600px}.md\\:apls-max-w-\\[640px\\]{max-width:640px}.md\\:apls-rounded-3xl{border-radius:1.5rem}@supports (height:100dvh){.md\\:supports-\\[height\\:100dvh\\]\\:apls-h-\\[100dvh\\]{height:100dvh}}@supports (max-height:100dvh){.md\\:supports-\\[max-height\\:100dvh\\]\\:apls-max-h-\\[100dvh\\]{max-height:100dvh}}@supports (width:100dvw){.md\\:supports-\\[width\\:100dvw\\]\\:apls-w-\\[100dvw\\]{width:100dvw}}}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- this.ApollosEmbed=(function(){"use strict";function Za(k){return k&&k.__esModule&&Object.prototype.hasOwnProperty.call(k,"default")?k.default:k}var Ul={exports:{}},B={};var Ho;function Ja(){if(Ho)return B;Ho=1;var k=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),z=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),V=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),H=Symbol.iterator;function G(d){return d===null||typeof d!="object"?null:(d=H&&d[H]||d["@@iterator"],typeof d=="function"?d:null)}var ee={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pe=Object.assign,q={};function Y(d,y,U){this.props=d,this.context=y,this.refs=q,this.updater=U||ee}Y.prototype.isReactComponent={},Y.prototype.setState=function(d,y){if(typeof d!="object"&&typeof d!="function"&&d!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,d,y,"setState")},Y.prototype.forceUpdate=function(d){this.updater.enqueueForceUpdate(this,d,"forceUpdate")};function we(){}we.prototype=Y.prototype;function je(d,y,U){this.props=d,this.context=y,this.refs=q,this.updater=U||ee}var Oe=je.prototype=new we;Oe.constructor=je,Pe(Oe,Y.prototype),Oe.isPureReactComponent=!0;var he=Array.isArray,Re=Object.prototype.hasOwnProperty,me={current:null},Ce={key:!0,ref:!0,__self:!0,__source:!0};function b(d,y,U){var W,X={},Z=null,le=null;if(y!=null)for(W in y.ref!==void 0&&(le=y.ref),y.key!==void 0&&(Z=""+y.key),y)Re.call(y,W)&&!Ce.hasOwnProperty(W)&&(X[W]=y[W]);var te=arguments.length-2;if(te===1)X.children=U;else if(1<te){for(var ae=Array(te),Xe=0;Xe<te;Xe++)ae[Xe]=arguments[Xe+2];X.children=ae}if(d&&d.defaultProps)for(W in te=d.defaultProps,te)X[W]===void 0&&(X[W]=te[W]);return{$$typeof:k,type:d,key:Z,ref:le,props:X,_owner:me.current}}function ze(d,y){return{$$typeof:k,type:d.type,key:y,ref:d.ref,props:d.props,_owner:d._owner}}function ut(d){return typeof d=="object"&&d!==null&&d.$$typeof===k}function xt(d){var y={"=":"=0",":":"=2"};return"$"+d.replace(/[=:]/g,function(U){return y[U]})}var et=/\/+/g;function Ue(d,y){return typeof d=="object"&&d!==null&&d.key!=null?xt(""+d.key):y.toString(36)}function Ye(d,y,U,W,X){var Z=typeof d;(Z==="undefined"||Z==="boolean")&&(d=null);var le=!1;if(d===null)le=!0;else switch(Z){case"string":case"number":le=!0;break;case"object":switch(d.$$typeof){case k:case a:le=!0}}if(le)return le=d,X=X(le),d=W===""?"."+Ue(le,0):W,he(X)?(U="",d!=null&&(U=d.replace(et,"$&/")+"/"),Ye(X,y,U,"",function(Xe){return Xe})):X!=null&&(ut(X)&&(X=ze(X,U+(!X.key||le&&le.key===X.key?"":(""+X.key).replace(et,"$&/")+"/")+d)),y.push(X)),1;if(le=0,W=W===""?".":W+":",he(d))for(var te=0;te<d.length;te++){Z=d[te];var ae=W+Ue(Z,te);le+=Ye(Z,y,U,ae,X)}else if(ae=G(d),typeof ae=="function")for(d=ae.call(d),te=0;!(Z=d.next()).done;)Z=Z.value,ae=W+Ue(Z,te++),le+=Ye(Z,y,U,ae,X);else if(Z==="object")throw y=String(d),Error("Objects are not valid as a React child (found: "+(y==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":y)+"). If you meant to render a collection of children, use an array instead.");return le}function tt(d,y,U){if(d==null)return d;var W=[],X=0;return Ye(d,W,"","",function(Z){return y.call(U,Z,X++)}),W}function re(d){if(d._status===-1){var y=d._result;y=y(),y.then(function(U){(d._status===0||d._status===-1)&&(d._status=1,d._result=U)},function(U){(d._status===0||d._status===-1)&&(d._status=2,d._result=U)}),d._status===-1&&(d._status=0,d._result=y)}if(d._status===1)return d._result.default;throw d._result}var $={current:null},C={transition:null},D={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:C,ReactCurrentOwner:me};function N(){throw Error("act(...) is not supported in production builds of React.")}return B.Children={map:tt,forEach:function(d,y,U){tt(d,function(){y.apply(this,arguments)},U)},count:function(d){var y=0;return tt(d,function(){y++}),y},toArray:function(d){return tt(d,function(y){return y})||[]},only:function(d){if(!ut(d))throw Error("React.Children.only expected to receive a single React element child.");return d}},B.Component=Y,B.Fragment=s,B.Profiler=x,B.PureComponent=je,B.StrictMode=g,B.Suspense=P,B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,B.act=N,B.cloneElement=function(d,y,U){if(d==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+d+".");var W=Pe({},d.props),X=d.key,Z=d.ref,le=d._owner;if(y!=null){if(y.ref!==void 0&&(Z=y.ref,le=me.current),y.key!==void 0&&(X=""+y.key),d.type&&d.type.defaultProps)var te=d.type.defaultProps;for(ae in y)Re.call(y,ae)&&!Ce.hasOwnProperty(ae)&&(W[ae]=y[ae]===void 0&&te!==void 0?te[ae]:y[ae])}var ae=arguments.length-2;if(ae===1)W.children=U;else if(1<ae){te=Array(ae);for(var Xe=0;Xe<ae;Xe++)te[Xe]=arguments[Xe+2];W.children=te}return{$$typeof:k,type:d.type,key:X,ref:Z,props:W,_owner:le}},B.createContext=function(d){return d={$$typeof:z,_currentValue:d,_currentValue2:d,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},d.Provider={$$typeof:_,_context:d},d.Consumer=d},B.createElement=b,B.createFactory=function(d){var y=b.bind(null,d);return y.type=d,y},B.createRef=function(){return{current:null}},B.forwardRef=function(d){return{$$typeof:A,render:d}},B.isValidElement=ut,B.lazy=function(d){return{$$typeof:Q,_payload:{_status:-1,_result:d},_init:re}},B.memo=function(d,y){return{$$typeof:V,type:d,compare:y===void 0?null:y}},B.startTransition=function(d){var y=C.transition;C.transition={};try{d()}finally{C.transition=y}},B.unstable_act=N,B.useCallback=function(d,y){return $.current.useCallback(d,y)},B.useContext=function(d){return $.current.useContext(d)},B.useDebugValue=function(){},B.useDeferredValue=function(d){return $.current.useDeferredValue(d)},B.useEffect=function(d,y){return $.current.useEffect(d,y)},B.useId=function(){return $.current.useId()},B.useImperativeHandle=function(d,y,U){return $.current.useImperativeHandle(d,y,U)},B.useInsertionEffect=function(d,y){return $.current.useInsertionEffect(d,y)},B.useLayoutEffect=function(d,y){return $.current.useLayoutEffect(d,y)},B.useMemo=function(d,y){return $.current.useMemo(d,y)},B.useReducer=function(d,y,U){return $.current.useReducer(d,y,U)},B.useRef=function(d){return $.current.useRef(d)},B.useState=function(d){return $.current.useState(d)},B.useSyncExternalStore=function(d,y,U){return $.current.useSyncExternalStore(d,y,U)},B.useTransition=function(){return $.current.useTransition()},B.version="18.3.1",B}var Wo;function Bl(){return Wo||(Wo=1,Ul.exports=Ja()),Ul.exports}var ue=Bl();const An=Za(ue);var _r={},Hl={exports:{}},We={},Wl={exports:{}},Vl={};var Vo;function qa(){return Vo||(Vo=1,(function(k){function a(C,D){var N=C.length;C.push(D);e:for(;0<N;){var d=N-1>>>1,y=C[d];if(0<x(y,D))C[d]=D,C[N]=y,N=d;else break e}}function s(C){return C.length===0?null:C[0]}function g(C){if(C.length===0)return null;var D=C[0],N=C.pop();if(N!==D){C[0]=N;e:for(var d=0,y=C.length,U=y>>>1;d<U;){var W=2*(d+1)-1,X=C[W],Z=W+1,le=C[Z];if(0>x(X,N))Z<y&&0>x(le,X)?(C[d]=le,C[Z]=N,d=Z):(C[d]=X,C[W]=N,d=W);else if(Z<y&&0>x(le,N))C[d]=le,C[Z]=N,d=Z;else break e}}return D}function x(C,D){var N=C.sortIndex-D.sortIndex;return N!==0?N:C.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var _=performance;k.unstable_now=function(){return _.now()}}else{var z=Date,A=z.now();k.unstable_now=function(){return z.now()-A}}var P=[],V=[],Q=1,H=null,G=3,ee=!1,Pe=!1,q=!1,Y=typeof setTimeout=="function"?setTimeout:null,we=typeof clearTimeout=="function"?clearTimeout:null,je=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Oe(C){for(var D=s(V);D!==null;){if(D.callback===null)g(V);else if(D.startTime<=C)g(V),D.sortIndex=D.expirationTime,a(P,D);else break;D=s(V)}}function he(C){if(q=!1,Oe(C),!Pe)if(s(P)!==null)Pe=!0,re(Re);else{var D=s(V);D!==null&&$(he,D.startTime-C)}}function Re(C,D){Pe=!1,q&&(q=!1,we(b),b=-1),ee=!0;var N=G;try{for(Oe(D),H=s(P);H!==null&&(!(H.expirationTime>D)||C&&!xt());){var d=H.callback;if(typeof d=="function"){H.callback=null,G=H.priorityLevel;var y=d(H.expirationTime<=D);D=k.unstable_now(),typeof y=="function"?H.callback=y:H===s(P)&&g(P),Oe(D)}else g(P);H=s(P)}if(H!==null)var U=!0;else{var W=s(V);W!==null&&$(he,W.startTime-D),U=!1}return U}finally{H=null,G=N,ee=!1}}var me=!1,Ce=null,b=-1,ze=5,ut=-1;function xt(){return!(k.unstable_now()-ut<ze)}function et(){if(Ce!==null){var C=k.unstable_now();ut=C;var D=!0;try{D=Ce(!0,C)}finally{D?Ue():(me=!1,Ce=null)}}else me=!1}var Ue;if(typeof je=="function")Ue=function(){je(et)};else if(typeof MessageChannel<"u"){var Ye=new MessageChannel,tt=Ye.port2;Ye.port1.onmessage=et,Ue=function(){tt.postMessage(null)}}else Ue=function(){Y(et,0)};function re(C){Ce=C,me||(me=!0,Ue())}function $(C,D){b=Y(function(){C(k.unstable_now())},D)}k.unstable_IdlePriority=5,k.unstable_ImmediatePriority=1,k.unstable_LowPriority=4,k.unstable_NormalPriority=3,k.unstable_Profiling=null,k.unstable_UserBlockingPriority=2,k.unstable_cancelCallback=function(C){C.callback=null},k.unstable_continueExecution=function(){Pe||ee||(Pe=!0,re(Re))},k.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ze=0<C?Math.floor(1e3/C):5},k.unstable_getCurrentPriorityLevel=function(){return G},k.unstable_getFirstCallbackNode=function(){return s(P)},k.unstable_next=function(C){switch(G){case 1:case 2:case 3:var D=3;break;default:D=G}var N=G;G=D;try{return C()}finally{G=N}},k.unstable_pauseExecution=function(){},k.unstable_requestPaint=function(){},k.unstable_runWithPriority=function(C,D){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var N=G;G=C;try{return D()}finally{G=N}},k.unstable_scheduleCallback=function(C,D,N){var d=k.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?d+N:d):N=d,C){case 1:var y=-1;break;case 2:y=250;break;case 5:y=1073741823;break;case 4:y=1e4;break;default:y=5e3}return y=N+y,C={id:Q++,callback:D,priorityLevel:C,startTime:N,expirationTime:y,sortIndex:-1},N>d?(C.sortIndex=N,a(V,C),s(P)===null&&C===s(V)&&(q?(we(b),b=-1):q=!0,$(he,N-d))):(C.sortIndex=y,a(P,C),Pe||ee||(Pe=!0,re(Re))),C},k.unstable_shouldYield=xt,k.unstable_wrapCallback=function(C){var D=G;return function(){var N=G;G=D;try{return C.apply(this,arguments)}finally{G=N}}}})(Vl)),Vl}var Qo;function ba(){return Qo||(Qo=1,Wl.exports=qa()),Wl.exports}var $o;function ec(){if($o)return We;$o=1;var k=Bl(),a=ba();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g=new Set,x={};function _(e,t){z(e,t),z(e+"Capture",t)}function z(e,t){for(x[e]=t,e=0;e<t.length;e++)g.add(t[e])}var A=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),P=Object.prototype.hasOwnProperty,V=/^[: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]*$/,Q={},H={};function G(e){return P.call(H,e)?!0:P.call(Q,e)?!1:V.test(e)?H[e]=!0:(Q[e]=!0,!1)}function ee(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Pe(e,t,n,r){if(t===null||typeof t>"u"||ee(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function q(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Y[e]=new q(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Y[t]=new q(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Y[e]=new q(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Y[e]=new q(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Y[e]=new q(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Y[e]=new q(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Y[e]=new q(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Y[e]=new q(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Y[e]=new q(e,5,!1,e.toLowerCase(),null,!1,!1)});var we=/[\-:]([a-z])/g;function je(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(we,je);Y[t]=new q(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(we,je);Y[t]=new q(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(we,je);Y[t]=new q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Y[e]=new q(e,1,!1,e.toLowerCase(),null,!1,!1)}),Y.xlinkHref=new q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Y[e]=new q(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oe(e,t,n,r){var l=Y.hasOwnProperty(t)?Y[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Pe(t,n,l,r)&&(n=null),r||l===null?G(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var he=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=Symbol.for("react.element"),me=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),ze=Symbol.for("react.profiler"),ut=Symbol.for("react.provider"),xt=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),Ue=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),tt=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),C=Symbol.iterator;function D(e){return e===null||typeof e!="object"?null:(e=C&&e[C]||e["@@iterator"],typeof e=="function"?e:null)}var N=Object.assign,d;function y(e){if(d===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);d=t&&t[1]||""}return`
3
- `+d+e}var U=!1;function W(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(m){var r=m}Reflect.construct(e,[],t)}else{try{t.call()}catch(m){r=m}e.call(t.prototype)}else{try{throw Error()}catch(m){r=m}e()}}catch(m){if(m&&r&&typeof m.stack=="string"){for(var l=m.stack.split(`
2
+ this.ApollosEmbed=(function(){"use strict";function qa(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var jl={exports:{}},B={};var Ho;function ba(){if(Ho)return B;Ho=1;var v=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),z=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),V=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),H=Symbol.iterator;function G(d){return d===null||typeof d!="object"?null:(d=H&&d[H]||d["@@iterator"],typeof d=="function"?d:null)}var ee={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ce=Object.assign,J={};function $(d,w,j){this.props=d,this.context=w,this.refs=J,this.updater=j||ee}$.prototype.isReactComponent={},$.prototype.setState=function(d,w){if(typeof d!="object"&&typeof d!="function"&&d!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,d,w,"setState")},$.prototype.forceUpdate=function(d){this.updater.enqueueForceUpdate(this,d,"forceUpdate")};function je(){}je.prototype=$.prototype;function Be(d,w,j){this.props=d,this.context=w,this.refs=J,this.updater=j||ee}var Oe=Be.prototype=new je;Oe.constructor=Be,ce(Oe,$.prototype),Oe.isPureReactComponent=!0;var we=Array.isArray,ke=Object.prototype.hasOwnProperty,Ee={current:null},_e={key:!0,ref:!0,__self:!0,__source:!0};function te(d,w,j){var W,Y={},X=null,ne=null;if(w!=null)for(W in w.ref!==void 0&&(ne=w.ref),w.key!==void 0&&(X=""+w.key),w)ke.call(w,W)&&!_e.hasOwnProperty(W)&&(Y[W]=w[W]);var q=arguments.length-2;if(q===1)Y.children=j;else if(1<q){for(var ue=Array(q),Ze=0;Ze<q;Ze++)ue[Ze]=arguments[Ze+2];Y.children=ue}if(d&&d.defaultProps)for(W in q=d.defaultProps,q)Y[W]===void 0&&(Y[W]=q[W]);return{$$typeof:v,type:d,key:X,ref:ne,props:Y,_owner:Ee.current}}function Me(d,w){return{$$typeof:v,type:d.type,key:w,ref:d.ref,props:d.props,_owner:d._owner}}function ut(d){return typeof d=="object"&&d!==null&&d.$$typeof===v}function xt(d){var w={"=":"=0",":":"=2"};return"$"+d.replace(/[=:]/g,function(j){return w[j]})}var tt=/\/+/g;function le(d,w){return typeof d=="object"&&d!==null&&d.key!=null?xt(""+d.key):w.toString(36)}function pe(d,w,j,W,Y){var X=typeof d;(X==="undefined"||X==="boolean")&&(d=null);var ne=!1;if(d===null)ne=!0;else switch(X){case"string":case"number":ne=!0;break;case"object":switch(d.$$typeof){case v:case a:ne=!0}}if(ne)return ne=d,Y=Y(ne),d=W===""?"."+le(ne,0):W,we(Y)?(j="",d!=null&&(j=d.replace(tt,"$&/")+"/"),pe(Y,w,j,"",function(Ze){return Ze})):Y!=null&&(ut(Y)&&(Y=Me(Y,j+(!Y.key||ne&&ne.key===Y.key?"":(""+Y.key).replace(tt,"$&/")+"/")+d)),w.push(Y)),1;if(ne=0,W=W===""?".":W+":",we(d))for(var q=0;q<d.length;q++){X=d[q];var ue=W+le(X,q);ne+=pe(X,w,j,ue,Y)}else if(ue=G(d),typeof ue=="function")for(d=ue.call(d),q=0;!(X=d.next()).done;)X=X.value,ue=W+le(X,q++),ne+=pe(X,w,j,ue,Y);else if(X==="object")throw w=String(d),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.");return ne}function Le(d,w,j){if(d==null)return d;var W=[],Y=0;return pe(d,W,"","",function(X){return w.call(j,X,Y++)}),W}function Qe(d){if(d._status===-1){var w=d._result;w=w(),w.then(function(j){(d._status===0||d._status===-1)&&(d._status=1,d._result=j)},function(j){(d._status===0||d._status===-1)&&(d._status=2,d._result=j)}),d._status===-1&&(d._status=0,d._result=w)}if(d._status===1)return d._result.default;throw d._result}var he={current:null},C={transition:null},D={ReactCurrentDispatcher:he,ReactCurrentBatchConfig:C,ReactCurrentOwner:Ee};function I(){throw Error("act(...) is not supported in production builds of React.")}return B.Children={map:Le,forEach:function(d,w,j){Le(d,function(){w.apply(this,arguments)},j)},count:function(d){var w=0;return Le(d,function(){w++}),w},toArray:function(d){return Le(d,function(w){return w})||[]},only:function(d){if(!ut(d))throw Error("React.Children.only expected to receive a single React element child.");return d}},B.Component=$,B.Fragment=s,B.Profiler=E,B.PureComponent=Be,B.StrictMode=g,B.Suspense=P,B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,B.act=I,B.cloneElement=function(d,w,j){if(d==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+d+".");var W=ce({},d.props),Y=d.key,X=d.ref,ne=d._owner;if(w!=null){if(w.ref!==void 0&&(X=w.ref,ne=Ee.current),w.key!==void 0&&(Y=""+w.key),d.type&&d.type.defaultProps)var q=d.type.defaultProps;for(ue in w)ke.call(w,ue)&&!_e.hasOwnProperty(ue)&&(W[ue]=w[ue]===void 0&&q!==void 0?q[ue]:w[ue])}var ue=arguments.length-2;if(ue===1)W.children=j;else if(1<ue){q=Array(ue);for(var Ze=0;Ze<ue;Ze++)q[Ze]=arguments[Ze+2];W.children=q}return{$$typeof:v,type:d.type,key:Y,ref:X,props:W,_owner:ne}},B.createContext=function(d){return d={$$typeof:z,_currentValue:d,_currentValue2:d,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},d.Provider={$$typeof:T,_context:d},d.Consumer=d},B.createElement=te,B.createFactory=function(d){var w=te.bind(null,d);return w.type=d,w},B.createRef=function(){return{current:null}},B.forwardRef=function(d){return{$$typeof:A,render:d}},B.isValidElement=ut,B.lazy=function(d){return{$$typeof:Q,_payload:{_status:-1,_result:d},_init:Qe}},B.memo=function(d,w){return{$$typeof:V,type:d,compare:w===void 0?null:w}},B.startTransition=function(d){var w=C.transition;C.transition={};try{d()}finally{C.transition=w}},B.unstable_act=I,B.useCallback=function(d,w){return he.current.useCallback(d,w)},B.useContext=function(d){return he.current.useContext(d)},B.useDebugValue=function(){},B.useDeferredValue=function(d){return he.current.useDeferredValue(d)},B.useEffect=function(d,w){return he.current.useEffect(d,w)},B.useId=function(){return he.current.useId()},B.useImperativeHandle=function(d,w,j){return he.current.useImperativeHandle(d,w,j)},B.useInsertionEffect=function(d,w){return he.current.useInsertionEffect(d,w)},B.useLayoutEffect=function(d,w){return he.current.useLayoutEffect(d,w)},B.useMemo=function(d,w){return he.current.useMemo(d,w)},B.useReducer=function(d,w,j){return he.current.useReducer(d,w,j)},B.useRef=function(d){return he.current.useRef(d)},B.useState=function(d){return he.current.useState(d)},B.useSyncExternalStore=function(d,w,j){return he.current.useSyncExternalStore(d,w,j)},B.useTransition=function(){return he.current.useTransition()},B.version="18.3.1",B}var Wo;function Bl(){return Wo||(Wo=1,jl.exports=ba()),jl.exports}var se=Bl();const An=qa(se);var _r={},Hl={exports:{}},Ve={},Wl={exports:{}},Vl={};var Vo;function ec(){return Vo||(Vo=1,(function(v){function a(C,D){var I=C.length;C.push(D);e:for(;0<I;){var d=I-1>>>1,w=C[d];if(0<E(w,D))C[d]=D,C[I]=w,I=d;else break e}}function s(C){return C.length===0?null:C[0]}function g(C){if(C.length===0)return null;var D=C[0],I=C.pop();if(I!==D){C[0]=I;e:for(var d=0,w=C.length,j=w>>>1;d<j;){var W=2*(d+1)-1,Y=C[W],X=W+1,ne=C[X];if(0>E(Y,I))X<w&&0>E(ne,Y)?(C[d]=ne,C[X]=I,d=X):(C[d]=Y,C[W]=I,d=W);else if(X<w&&0>E(ne,I))C[d]=ne,C[X]=I,d=X;else break e}}return D}function E(C,D){var I=C.sortIndex-D.sortIndex;return I!==0?I:C.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var T=performance;v.unstable_now=function(){return T.now()}}else{var z=Date,A=z.now();v.unstable_now=function(){return z.now()-A}}var P=[],V=[],Q=1,H=null,G=3,ee=!1,ce=!1,J=!1,$=typeof setTimeout=="function"?setTimeout:null,je=typeof clearTimeout=="function"?clearTimeout:null,Be=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Oe(C){for(var D=s(V);D!==null;){if(D.callback===null)g(V);else if(D.startTime<=C)g(V),D.sortIndex=D.expirationTime,a(P,D);else break;D=s(V)}}function we(C){if(J=!1,Oe(C),!ce)if(s(P)!==null)ce=!0,Qe(ke);else{var D=s(V);D!==null&&he(we,D.startTime-C)}}function ke(C,D){ce=!1,J&&(J=!1,je(te),te=-1),ee=!0;var I=G;try{for(Oe(D),H=s(P);H!==null&&(!(H.expirationTime>D)||C&&!xt());){var d=H.callback;if(typeof d=="function"){H.callback=null,G=H.priorityLevel;var w=d(H.expirationTime<=D);D=v.unstable_now(),typeof w=="function"?H.callback=w:H===s(P)&&g(P),Oe(D)}else g(P);H=s(P)}if(H!==null)var j=!0;else{var W=s(V);W!==null&&he(we,W.startTime-D),j=!1}return j}finally{H=null,G=I,ee=!1}}var Ee=!1,_e=null,te=-1,Me=5,ut=-1;function xt(){return!(v.unstable_now()-ut<Me)}function tt(){if(_e!==null){var C=v.unstable_now();ut=C;var D=!0;try{D=_e(!0,C)}finally{D?le():(Ee=!1,_e=null)}}else Ee=!1}var le;if(typeof Be=="function")le=function(){Be(tt)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,Le=pe.port2;pe.port1.onmessage=tt,le=function(){Le.postMessage(null)}}else le=function(){$(tt,0)};function Qe(C){_e=C,Ee||(Ee=!0,le())}function he(C,D){te=$(function(){C(v.unstable_now())},D)}v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(C){C.callback=null},v.unstable_continueExecution=function(){ce||ee||(ce=!0,Qe(ke))},v.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Me=0<C?Math.floor(1e3/C):5},v.unstable_getCurrentPriorityLevel=function(){return G},v.unstable_getFirstCallbackNode=function(){return s(P)},v.unstable_next=function(C){switch(G){case 1:case 2:case 3:var D=3;break;default:D=G}var I=G;G=D;try{return C()}finally{G=I}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=function(){},v.unstable_runWithPriority=function(C,D){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var I=G;G=C;try{return D()}finally{G=I}},v.unstable_scheduleCallback=function(C,D,I){var d=v.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?d+I:d):I=d,C){case 1:var w=-1;break;case 2:w=250;break;case 5:w=1073741823;break;case 4:w=1e4;break;default:w=5e3}return w=I+w,C={id:Q++,callback:D,priorityLevel:C,startTime:I,expirationTime:w,sortIndex:-1},I>d?(C.sortIndex=I,a(V,C),s(P)===null&&C===s(V)&&(J?(je(te),te=-1):J=!0,he(we,I-d))):(C.sortIndex=w,a(P,C),ce||ee||(ce=!0,Qe(ke))),C},v.unstable_shouldYield=xt,v.unstable_wrapCallback=function(C){var D=G;return function(){var I=G;G=D;try{return C.apply(this,arguments)}finally{G=I}}}})(Vl)),Vl}var Qo;function tc(){return Qo||(Qo=1,Wl.exports=ec()),Wl.exports}var $o;function nc(){if($o)return Ve;$o=1;var v=Bl(),a=tc();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g=new Set,E={};function T(e,t){z(e,t),z(e+"Capture",t)}function z(e,t){for(E[e]=t,e=0;e<t.length;e++)g.add(t[e])}var A=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),P=Object.prototype.hasOwnProperty,V=/^[: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]*$/,Q={},H={};function G(e){return P.call(H,e)?!0:P.call(Q,e)?!1:V.test(e)?H[e]=!0:(Q[e]=!0,!1)}function ee(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ce(e,t,n,r){if(t===null||typeof t>"u"||ee(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function J(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$[e]=new J(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$[t]=new J(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$[e]=new J(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$[e]=new J(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$[e]=new J(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$[e]=new J(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){$[e]=new J(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$[e]=new J(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$[e]=new J(e,5,!1,e.toLowerCase(),null,!1,!1)});var je=/[\-:]([a-z])/g;function Be(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(je,Be);$[t]=new J(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(je,Be);$[t]=new J(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(je,Be);$[t]=new J(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){$[e]=new J(e,1,!1,e.toLowerCase(),null,!1,!1)}),$.xlinkHref=new J("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){$[e]=new J(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oe(e,t,n,r){var l=$.hasOwnProperty(t)?$[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ce(t,n,l,r)&&(n=null),r||l===null?G(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var we=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ke=Symbol.for("react.element"),Ee=Symbol.for("react.portal"),_e=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),ut=Symbol.for("react.provider"),xt=Symbol.for("react.context"),tt=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),pe=Symbol.for("react.suspense_list"),Le=Symbol.for("react.memo"),Qe=Symbol.for("react.lazy"),he=Symbol.for("react.offscreen"),C=Symbol.iterator;function D(e){return e===null||typeof e!="object"?null:(e=C&&e[C]||e["@@iterator"],typeof e=="function"?e:null)}var I=Object.assign,d;function w(e){if(d===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);d=t&&t[1]||""}return`
3
+ `+d+e}var j=!1;function W(e,t){if(!e||j)return"";j=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(m){var r=m}Reflect.construct(e,[],t)}else{try{t.call()}catch(m){r=m}e.call(t.prototype)}else{try{throw Error()}catch(m){r=m}e()}}catch(m){if(m&&r&&typeof m.stack=="string"){for(var l=m.stack.split(`
4
4
  `),i=r.stack.split(`
5
5
  `),o=l.length-1,u=i.length-1;1<=o&&0<=u&&l[o]!==i[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==i[u]){if(o!==1||u!==1)do if(o--,u--,0>u||l[o]!==i[u]){var c=`
6
- `+l[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=u);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?y(e):""}function X(e){switch(e.tag){case 5:return y(e.type);case 16:return y("Lazy");case 13:return y("Suspense");case 19:return y("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1),e;case 11:return e=W(e.type.render,!1),e;case 1:return e=W(e.type,!0),e;default:return""}}function Z(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ce:return"Fragment";case me:return"Portal";case ze:return"Profiler";case b:return"StrictMode";case Ue:return"Suspense";case Ye:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xt:return(e.displayName||"Context")+".Consumer";case ut:return(e._context.displayName||"Context")+".Provider";case et:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case tt:return t=e.displayName||null,t!==null?t:Z(e.type)||"Memo";case re:t=e._payload,e=e._init;try{return Z(e(t))}catch{}}return null}function le(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.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 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Z(t);case 8:return t===b?"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 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function te(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ae(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xe(e){var t=ae(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nr(e){e._valueTracker||(e._valueTracker=Xe(e))}function ns(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ae(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ir(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 Gl(e,t){var n=t.checked;return N({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function rs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=te(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ls(e,t){t=t.checked,t!=null&&Oe(e,"checked",t,!1)}function Yl(e,t){ls(e,t);var n=te(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Xl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Xl(e,t.type,te(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function is(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Xl(e,t,n){(t!=="number"||Ir(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Hn=Array.isArray;function dn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+te(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Zl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return N({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function os(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(s(92));if(Hn(n)){if(1<n.length)throw Error(s(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:te(n)}}function ss(e,t){var n=te(t.value),r=te(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function us(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function as(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Jl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?as(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Or,cs=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Or=Or||document.createElement("div"),Or.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Vn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Cc=["Webkit","ms","Moz","O"];Object.keys(Vn).forEach(function(e){Cc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vn[t]=Vn[e]})});function fs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Vn.hasOwnProperty(e)&&Vn[e]?(""+t).trim():t+"px"}function ds(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=fs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Tc=N({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ql(e,t){if(t){if(Tc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function bl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ei=null;function ti(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ni=null,pn=null,hn=null;function ps(e){if(e=fr(e)){if(typeof ni!="function")throw Error(s(280));var t=e.stateNode;t&&(t=el(t),ni(e.stateNode,e.type,t))}}function hs(e){pn?hn?hn.push(e):hn=[e]:pn=e}function ms(){if(pn){var e=pn,t=hn;if(hn=pn=null,ps(e),t)for(e=0;e<t.length;e++)ps(t[e])}}function gs(e,t){return e(t)}function vs(){}var ri=!1;function ys(e,t,n){if(ri)return e(t,n);ri=!0;try{return gs(e,t,n)}finally{ri=!1,(pn!==null||hn!==null)&&(vs(),ms())}}function Qn(e,t){var n=e.stateNode;if(n===null)return null;var r=el(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(s(231,t,typeof n));return n}var li=!1;if(A)try{var $n={};Object.defineProperty($n,"passive",{get:function(){li=!0}}),window.addEventListener("test",$n,$n),window.removeEventListener("test",$n,$n)}catch{li=!1}function _c(e,t,n,r,l,i,o,u,c){var m=Array.prototype.slice.call(arguments,3);try{t.apply(n,m)}catch(w){this.onError(w)}}var Kn=!1,Rr=null,zr=!1,ii=null,Lc={onError:function(e){Kn=!0,Rr=e}};function Pc(e,t,n,r,l,i,o,u,c){Kn=!1,Rr=null,_c.apply(Lc,arguments)}function Nc(e,t,n,r,l,i,o,u,c){if(Pc.apply(this,arguments),Kn){if(Kn){var m=Rr;Kn=!1,Rr=null}else throw Error(s(198));zr||(zr=!0,ii=m)}}function Jt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ws(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 Ss(e){if(Jt(e)!==e)throw Error(s(188))}function Ic(e){var t=e.alternate;if(!t){if(t=Jt(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return Ss(l),e;if(i===r)return Ss(l),t;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,u=l.child;u;){if(u===n){o=!0,n=l,r=i;break}if(u===r){o=!0,r=l,n=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===n){o=!0,n=i,r=l;break}if(u===r){o=!0,r=i,n=l;break}u=u.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function ks(e){return e=Ic(e),e!==null?Es(e):null}function Es(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Es(e);if(t!==null)return t;e=e.sibling}return null}var xs=a.unstable_scheduleCallback,Cs=a.unstable_cancelCallback,Oc=a.unstable_shouldYield,Rc=a.unstable_requestPaint,ge=a.unstable_now,zc=a.unstable_getCurrentPriorityLevel,oi=a.unstable_ImmediatePriority,Ts=a.unstable_UserBlockingPriority,Mr=a.unstable_NormalPriority,Mc=a.unstable_LowPriority,_s=a.unstable_IdlePriority,Fr=null,vt=null;function Fc(e){if(vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(Fr,e,void 0,(e.current.flags&128)===128)}catch{}}var at=Math.clz32?Math.clz32:jc,Dc=Math.log,Ac=Math.LN2;function jc(e){return e>>>=0,e===0?32:31-(Dc(e)/Ac|0)|0}var Dr=64,Ar=4194304;function Gn(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function jr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Gn(u):(i&=o,i!==0&&(r=Gn(i)))}else o=n&~l,o!==0?r=Gn(o):i!==0&&(r=Gn(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-at(t),l=1<<n,r|=e[n],t&=~l;return r}function Uc(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-at(i),u=1<<o,c=l[o];c===-1?((u&n)===0||(u&r)!==0)&&(l[o]=Uc(u,t)):c<=t&&(e.expiredLanes|=u),i&=~u}}function si(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ls(){var e=Dr;return Dr<<=1,(Dr&4194240)===0&&(Dr=64),e}function ui(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Yn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function Hc(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-at(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function ai(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var ne=0;function Ps(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ns,ci,Is,Os,Rs,fi=!1,Ur=[],Rt=null,zt=null,Mt=null,Xn=new Map,Zn=new Map,Ft=[],Wc="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 submit".split(" ");function zs(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":zt=null;break;case"mouseover":case"mouseout":Mt=null;break;case"pointerover":case"pointerout":Xn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zn.delete(t.pointerId)}}function Jn(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=fr(t),t!==null&&ci(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Vc(e,t,n,r,l){switch(t){case"focusin":return Rt=Jn(Rt,e,t,n,r,l),!0;case"dragenter":return zt=Jn(zt,e,t,n,r,l),!0;case"mouseover":return Mt=Jn(Mt,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Xn.set(i,Jn(Xn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Zn.set(i,Jn(Zn.get(i)||null,e,t,n,r,l)),!0}return!1}function Ms(e){var t=qt(e.target);if(t!==null){var n=Jt(t);if(n!==null){if(t=n.tag,t===13){if(t=ws(n),t!==null){e.blockedOn=t,Rs(e.priority,function(){Is(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Br(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ei=r,n.target.dispatchEvent(r),ei=null}else return t=fr(n),t!==null&&ci(t),e.blockedOn=n,!1;t.shift()}return!0}function Fs(e,t,n){Br(e)&&n.delete(t)}function Qc(){fi=!1,Rt!==null&&Br(Rt)&&(Rt=null),zt!==null&&Br(zt)&&(zt=null),Mt!==null&&Br(Mt)&&(Mt=null),Xn.forEach(Fs),Zn.forEach(Fs)}function qn(e,t){e.blockedOn===t&&(e.blockedOn=null,fi||(fi=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Qc)))}function bn(e){function t(l){return qn(l,e)}if(0<Ur.length){qn(Ur[0],e);for(var n=1;n<Ur.length;n++){var r=Ur[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Rt!==null&&qn(Rt,e),zt!==null&&qn(zt,e),Mt!==null&&qn(Mt,e),Xn.forEach(t),Zn.forEach(t),n=0;n<Ft.length;n++)r=Ft[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ft.length&&(n=Ft[0],n.blockedOn===null);)Ms(n),n.blockedOn===null&&Ft.shift()}var mn=he.ReactCurrentBatchConfig,Hr=!0;function $c(e,t,n,r){var l=ne,i=mn.transition;mn.transition=null;try{ne=1,di(e,t,n,r)}finally{ne=l,mn.transition=i}}function Kc(e,t,n,r){var l=ne,i=mn.transition;mn.transition=null;try{ne=4,di(e,t,n,r)}finally{ne=l,mn.transition=i}}function di(e,t,n,r){if(Hr){var l=pi(e,t,n,r);if(l===null)Ii(e,t,r,Wr,n),zs(e,r);else if(Vc(l,e,t,n,r))r.stopPropagation();else if(zs(e,r),t&4&&-1<Wc.indexOf(e)){for(;l!==null;){var i=fr(l);if(i!==null&&Ns(i),i=pi(e,t,n,r),i===null&&Ii(e,t,r,Wr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else Ii(e,t,r,null,n)}}var Wr=null;function pi(e,t,n,r){if(Wr=null,e=ti(r),e=qt(e),e!==null)if(t=Jt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ws(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wr=e,null}function Ds(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(zc()){case oi:return 1;case Ts:return 4;case Mr:case Mc:return 16;case _s:return 536870912;default:return 16}default:return 16}}var Dt=null,hi=null,Vr=null;function As(){if(Vr)return Vr;var e,t=hi,n=t.length,r,l="value"in Dt?Dt.value:Dt.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return Vr=l.slice(e,1<r?1-r:void 0)}function Qr(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 $r(){return!0}function js(){return!1}function Ze(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?$r:js,this.isPropagationStopped=js,this}return N(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=$r)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$r)},persist:function(){},isPersistent:$r}),t}var gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mi=Ze(gn),er=N({},gn,{view:0,detail:0}),Gc=Ze(er),gi,vi,tr,Kr=N({},er,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wi,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!==tr&&(tr&&e.type==="mousemove"?(gi=e.screenX-tr.screenX,vi=e.screenY-tr.screenY):vi=gi=0,tr=e),gi)},movementY:function(e){return"movementY"in e?e.movementY:vi}}),Us=Ze(Kr),Yc=N({},Kr,{dataTransfer:0}),Xc=Ze(Yc),Zc=N({},er,{relatedTarget:0}),yi=Ze(Zc),Jc=N({},gn,{animationName:0,elapsedTime:0,pseudoElement:0}),qc=Ze(Jc),bc=N({},gn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ef=Ze(bc),tf=N({},gn,{data:0}),Bs=Ze(tf),nf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rf={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"},lf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function of(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=lf[e])?!!t[e]:!1}function wi(){return of}var sf=N({},er,{key:function(e){if(e.key){var t=nf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?rf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wi,charCode:function(e){return e.type==="keypress"?Qr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),uf=Ze(sf),af=N({},Kr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hs=Ze(af),cf=N({},er,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wi}),ff=Ze(cf),df=N({},gn,{propertyName:0,elapsedTime:0,pseudoElement:0}),pf=Ze(df),hf=N({},Kr,{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}),mf=Ze(hf),gf=[9,13,27,32],Si=A&&"CompositionEvent"in window,nr=null;A&&"documentMode"in document&&(nr=document.documentMode);var vf=A&&"TextEvent"in window&&!nr,Ws=A&&(!Si||nr&&8<nr&&11>=nr),Vs=" ",Qs=!1;function $s(e,t){switch(e){case"keyup":return gf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ks(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vn=!1;function yf(e,t){switch(e){case"compositionend":return Ks(t);case"keypress":return t.which!==32?null:(Qs=!0,Vs);case"textInput":return e=t.data,e===Vs&&Qs?null:e;default:return null}}function wf(e,t){if(vn)return e==="compositionend"||!Si&&$s(e,t)?(e=As(),Vr=hi=Dt=null,vn=!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 Ws&&t.locale!=="ko"?null:t.data;default:return null}}var Sf={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 Gs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Sf[e.type]:t==="textarea"}function Ys(e,t,n,r){hs(r),t=Jr(t,"onChange"),0<t.length&&(n=new mi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var rr=null,lr=null;function kf(e){du(e,0)}function Gr(e){var t=En(e);if(ns(t))return e}function Ef(e,t){if(e==="change")return t}var Xs=!1;if(A){var ki;if(A){var Ei="oninput"in document;if(!Ei){var Zs=document.createElement("div");Zs.setAttribute("oninput","return;"),Ei=typeof Zs.oninput=="function"}ki=Ei}else ki=!1;Xs=ki&&(!document.documentMode||9<document.documentMode)}function Js(){rr&&(rr.detachEvent("onpropertychange",qs),lr=rr=null)}function qs(e){if(e.propertyName==="value"&&Gr(lr)){var t=[];Ys(t,lr,e,ti(e)),ys(kf,t)}}function xf(e,t,n){e==="focusin"?(Js(),rr=t,lr=n,rr.attachEvent("onpropertychange",qs)):e==="focusout"&&Js()}function Cf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gr(lr)}function Tf(e,t){if(e==="click")return Gr(t)}function _f(e,t){if(e==="input"||e==="change")return Gr(t)}function Lf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ct=typeof Object.is=="function"?Object.is:Lf;function ir(e,t){if(ct(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!P.call(t,l)||!ct(e[l],t[l]))return!1}return!0}function bs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function eu(e,t){var n=bs(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=bs(n)}}function tu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nu(){for(var e=window,t=Ir();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ir(e.document)}return t}function xi(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 Pf(e){var t=nu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tu(n.ownerDocument.documentElement,n)){if(r!==null&&xi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=eu(n,i);var o=eu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Nf=A&&"documentMode"in document&&11>=document.documentMode,yn=null,Ci=null,or=null,Ti=!1;function ru(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ti||yn==null||yn!==Ir(r)||(r=yn,"selectionStart"in r&&xi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),or&&ir(or,r)||(or=r,r=Jr(Ci,"onSelect"),0<r.length&&(t=new mi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yn)))}function Yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wn={animationend:Yr("Animation","AnimationEnd"),animationiteration:Yr("Animation","AnimationIteration"),animationstart:Yr("Animation","AnimationStart"),transitionend:Yr("Transition","TransitionEnd")},_i={},lu={};A&&(lu=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);function Xr(e){if(_i[e])return _i[e];if(!wn[e])return e;var t=wn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in lu)return _i[e]=t[n];return e}var iu=Xr("animationend"),ou=Xr("animationiteration"),su=Xr("animationstart"),uu=Xr("transitionend"),au=new Map,cu="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function At(e,t){au.set(e,t),_(t,[e])}for(var Li=0;Li<cu.length;Li++){var Pi=cu[Li],If=Pi.toLowerCase(),Of=Pi[0].toUpperCase()+Pi.slice(1);At(If,"on"+Of)}At(iu,"onAnimationEnd"),At(ou,"onAnimationIteration"),At(su,"onAnimationStart"),At("dblclick","onDoubleClick"),At("focusin","onFocus"),At("focusout","onBlur"),At(uu,"onTransitionEnd"),z("onMouseEnter",["mouseout","mouseover"]),z("onMouseLeave",["mouseout","mouseover"]),z("onPointerEnter",["pointerout","pointerover"]),z("onPointerLeave",["pointerout","pointerover"]),_("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),_("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),_("onBeforeInput",["compositionend","keypress","textInput","paste"]),_("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),_("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),_("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sr="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(" "),Rf=new Set("cancel close invalid load scroll toggle".split(" ").concat(sr));function fu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Nc(r,t,void 0,e),e.currentTarget=null}function du(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var u=r[o],c=u.instance,m=u.currentTarget;if(u=u.listener,c!==i&&l.isPropagationStopped())break e;fu(l,u,m),i=c}else for(o=0;o<r.length;o++){if(u=r[o],c=u.instance,m=u.currentTarget,u=u.listener,c!==i&&l.isPropagationStopped())break e;fu(l,u,m),i=c}}}if(zr)throw e=ii,zr=!1,ii=null,e}function oe(e,t){var n=t[Di];n===void 0&&(n=t[Di]=new Set);var r=e+"__bubble";n.has(r)||(pu(t,e,2,!1),n.add(r))}function Ni(e,t,n){var r=0;t&&(r|=4),pu(n,e,r,t)}var Zr="_reactListening"+Math.random().toString(36).slice(2);function ur(e){if(!e[Zr]){e[Zr]=!0,g.forEach(function(n){n!=="selectionchange"&&(Rf.has(n)||Ni(n,!1,e),Ni(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zr]||(t[Zr]=!0,Ni("selectionchange",!1,t))}}function pu(e,t,n,r){switch(Ds(t)){case 1:var l=$c;break;case 4:l=Kc;break;default:l=di}n=l.bind(null,t,n,e),l=void 0,!li||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Ii(e,t,n,r,l){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===l||c.nodeType===8&&c.parentNode===l))return;o=o.return}for(;u!==null;){if(o=qt(u),o===null)return;if(c=o.tag,c===5||c===6){r=i=o;continue e}u=u.parentNode}}r=r.return}ys(function(){var m=i,w=ti(n),S=[];e:{var v=au.get(e);if(v!==void 0){var T=mi,I=e;switch(e){case"keypress":if(Qr(n)===0)break e;case"keydown":case"keyup":T=uf;break;case"focusin":I="focus",T=yi;break;case"focusout":I="blur",T=yi;break;case"beforeblur":case"afterblur":T=yi;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=Us;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=Xc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=ff;break;case iu:case ou:case su:T=qc;break;case uu:T=pf;break;case"scroll":T=Gc;break;case"wheel":T=mf;break;case"copy":case"cut":case"paste":T=ef;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=Hs}var O=(t&4)!==0,ve=!O&&e==="scroll",p=O?v!==null?v+"Capture":null:v;O=[];for(var f=m,h;f!==null;){h=f;var E=h.stateNode;if(h.tag===5&&E!==null&&(h=E,p!==null&&(E=Qn(f,p),E!=null&&O.push(ar(f,E,h)))),ve)break;f=f.return}0<O.length&&(v=new T(v,I,null,n,w),S.push({event:v,listeners:O}))}}if((t&7)===0){e:{if(v=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",v&&n!==ei&&(I=n.relatedTarget||n.fromElement)&&(qt(I)||I[Ct]))break e;if((T||v)&&(v=w.window===w?w:(v=w.ownerDocument)?v.defaultView||v.parentWindow:window,T?(I=n.relatedTarget||n.toElement,T=m,I=I?qt(I):null,I!==null&&(ve=Jt(I),I!==ve||I.tag!==5&&I.tag!==6)&&(I=null)):(T=null,I=m),T!==I)){if(O=Us,E="onMouseLeave",p="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(O=Hs,E="onPointerLeave",p="onPointerEnter",f="pointer"),ve=T==null?v:En(T),h=I==null?v:En(I),v=new O(E,f+"leave",T,n,w),v.target=ve,v.relatedTarget=h,E=null,qt(w)===m&&(O=new O(p,f+"enter",I,n,w),O.target=h,O.relatedTarget=ve,E=O),ve=E,T&&I)t:{for(O=T,p=I,f=0,h=O;h;h=Sn(h))f++;for(h=0,E=p;E;E=Sn(E))h++;for(;0<f-h;)O=Sn(O),f--;for(;0<h-f;)p=Sn(p),h--;for(;f--;){if(O===p||p!==null&&O===p.alternate)break t;O=Sn(O),p=Sn(p)}O=null}else O=null;T!==null&&hu(S,v,T,O,!1),I!==null&&ve!==null&&hu(S,ve,I,O,!0)}}e:{if(v=m?En(m):window,T=v.nodeName&&v.nodeName.toLowerCase(),T==="select"||T==="input"&&v.type==="file")var R=Ef;else if(Gs(v))if(Xs)R=_f;else{R=Cf;var M=xf}else(T=v.nodeName)&&T.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(R=Tf);if(R&&(R=R(e,m))){Ys(S,R,n,w);break e}M&&M(e,v,m),e==="focusout"&&(M=v._wrapperState)&&M.controlled&&v.type==="number"&&Xl(v,"number",v.value)}switch(M=m?En(m):window,e){case"focusin":(Gs(M)||M.contentEditable==="true")&&(yn=M,Ci=m,or=null);break;case"focusout":or=Ci=yn=null;break;case"mousedown":Ti=!0;break;case"contextmenu":case"mouseup":case"dragend":Ti=!1,ru(S,n,w);break;case"selectionchange":if(Nf)break;case"keydown":case"keyup":ru(S,n,w)}var F;if(Si)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else vn?$s(e,n)&&(j="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(Ws&&n.locale!=="ko"&&(vn||j!=="onCompositionStart"?j==="onCompositionEnd"&&vn&&(F=As()):(Dt=w,hi="value"in Dt?Dt.value:Dt.textContent,vn=!0)),M=Jr(m,j),0<M.length&&(j=new Bs(j,e,null,n,w),S.push({event:j,listeners:M}),F?j.data=F:(F=Ks(n),F!==null&&(j.data=F)))),(F=vf?yf(e,n):wf(e,n))&&(m=Jr(m,"onBeforeInput"),0<m.length&&(w=new Bs("onBeforeInput","beforeinput",null,n,w),S.push({event:w,listeners:m}),w.data=F))}du(S,t)})}function ar(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Jr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Qn(e,n),i!=null&&r.unshift(ar(e,i,l)),i=Qn(e,t),i!=null&&r.push(ar(e,i,l))),e=e.return}return r}function Sn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function hu(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var u=n,c=u.alternate,m=u.stateNode;if(c!==null&&c===r)break;u.tag===5&&m!==null&&(u=m,l?(c=Qn(n,i),c!=null&&o.unshift(ar(n,c,u))):l||(c=Qn(n,i),c!=null&&o.push(ar(n,c,u)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var zf=/\r\n?/g,Mf=/\u0000|\uFFFD/g;function mu(e){return(typeof e=="string"?e:""+e).replace(zf,`
7
- `).replace(Mf,"")}function qr(e,t,n){if(t=mu(t),mu(e)!==t&&n)throw Error(s(425))}function br(){}var Oi=null,Ri=null;function zi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Mi=typeof setTimeout=="function"?setTimeout:void 0,Ff=typeof clearTimeout=="function"?clearTimeout:void 0,gu=typeof Promise=="function"?Promise:void 0,Df=typeof queueMicrotask=="function"?queueMicrotask:typeof gu<"u"?function(e){return gu.resolve(null).then(e).catch(Af)}:Mi;function Af(e){setTimeout(function(){throw e})}function Fi(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),bn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);bn(t)}function jt(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==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function vu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var kn=Math.random().toString(36).slice(2),yt="__reactFiber$"+kn,cr="__reactProps$"+kn,Ct="__reactContainer$"+kn,Di="__reactEvents$"+kn,jf="__reactListeners$"+kn,Uf="__reactHandles$"+kn;function qt(e){var t=e[yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=vu(e);e!==null;){if(n=e[yt])return n;e=vu(e)}return t}e=n,n=e.parentNode}return null}function fr(e){return e=e[yt]||e[Ct],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function En(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function el(e){return e[cr]||null}var Ai=[],xn=-1;function Ut(e){return{current:e}}function se(e){0>xn||(e.current=Ai[xn],Ai[xn]=null,xn--)}function ie(e,t){xn++,Ai[xn]=e.current,e.current=t}var Bt={},Me=Ut(Bt),Ve=Ut(!1),bt=Bt;function Cn(e,t){var n=e.type.contextTypes;if(!n)return Bt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Qe(e){return e=e.childContextTypes,e!=null}function tl(){se(Ve),se(Me)}function yu(e,t,n){if(Me.current!==Bt)throw Error(s(168));ie(Me,t),ie(Ve,n)}function wu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(s(108,le(e)||"Unknown",l));return N({},n,r)}function nl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bt,bt=Me.current,ie(Me,e),ie(Ve,Ve.current),!0}function Su(e,t,n){var r=e.stateNode;if(!r)throw Error(s(169));n?(e=wu(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,se(Ve),se(Me),ie(Me,e)):se(Ve),ie(Ve,n)}var Tt=null,rl=!1,ji=!1;function ku(e){Tt===null?Tt=[e]:Tt.push(e)}function Bf(e){rl=!0,ku(e)}function Ht(){if(!ji&&Tt!==null){ji=!0;var e=0,t=ne;try{var n=Tt;for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Tt=null,rl=!1}catch(l){throw Tt!==null&&(Tt=Tt.slice(e+1)),xs(oi,Ht),l}finally{ne=t,ji=!1}}return null}var Tn=[],_n=0,ll=null,il=0,nt=[],rt=0,en=null,_t=1,Lt="";function tn(e,t){Tn[_n++]=il,Tn[_n++]=ll,ll=e,il=t}function Eu(e,t,n){nt[rt++]=_t,nt[rt++]=Lt,nt[rt++]=en,en=e;var r=_t;e=Lt;var l=32-at(r)-1;r&=~(1<<l),n+=1;var i=32-at(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,_t=1<<32-at(t)+l|n<<l|r,Lt=i+e}else _t=1<<i|n<<l|r,Lt=e}function Ui(e){e.return!==null&&(tn(e,1),Eu(e,1,0))}function Bi(e){for(;e===ll;)ll=Tn[--_n],Tn[_n]=null,il=Tn[--_n],Tn[_n]=null;for(;e===en;)en=nt[--rt],nt[rt]=null,Lt=nt[--rt],nt[rt]=null,_t=nt[--rt],nt[rt]=null}var Je=null,qe=null,ce=!1,ft=null;function xu(e,t){var n=st(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Cu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Je=e,qe=jt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Je=e,qe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=en!==null?{id:_t,overflow:Lt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=st(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Je=e,qe=null,!0):!1;default:return!1}}function Hi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Wi(e){if(ce){var t=qe;if(t){var n=t;if(!Cu(e,t)){if(Hi(e))throw Error(s(418));t=jt(n.nextSibling);var r=Je;t&&Cu(e,t)?xu(r,n):(e.flags=e.flags&-4097|2,ce=!1,Je=e)}}else{if(Hi(e))throw Error(s(418));e.flags=e.flags&-4097|2,ce=!1,Je=e}}}function Tu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Je=e}function ol(e){if(e!==Je)return!1;if(!ce)return Tu(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!zi(e.type,e.memoizedProps)),t&&(t=qe)){if(Hi(e))throw _u(),Error(s(418));for(;t;)xu(e,t),t=jt(t.nextSibling)}if(Tu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){qe=jt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}qe=null}}else qe=Je?jt(e.stateNode.nextSibling):null;return!0}function _u(){for(var e=qe;e;)e=jt(e.nextSibling)}function Ln(){qe=Je=null,ce=!1}function Vi(e){ft===null?ft=[e]:ft.push(e)}var Hf=he.ReactCurrentBatchConfig;function dr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(s(309));var r=n.stateNode}if(!r)throw Error(s(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var u=l.refs;o===null?delete u[i]:u[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function sl(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Lu(e){var t=e._init;return t(e._payload)}function Pu(e){function t(p,f){if(e){var h=p.deletions;h===null?(p.deletions=[f],p.flags|=16):h.push(f)}}function n(p,f){if(!e)return null;for(;f!==null;)t(p,f),f=f.sibling;return null}function r(p,f){for(p=new Map;f!==null;)f.key!==null?p.set(f.key,f):p.set(f.index,f),f=f.sibling;return p}function l(p,f){return p=Xt(p,f),p.index=0,p.sibling=null,p}function i(p,f,h){return p.index=h,e?(h=p.alternate,h!==null?(h=h.index,h<f?(p.flags|=2,f):h):(p.flags|=2,f)):(p.flags|=1048576,f)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function u(p,f,h,E){return f===null||f.tag!==6?(f=Fo(h,p.mode,E),f.return=p,f):(f=l(f,h),f.return=p,f)}function c(p,f,h,E){var R=h.type;return R===Ce?w(p,f,h.props.children,E,h.key):f!==null&&(f.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===re&&Lu(R)===f.type)?(E=l(f,h.props),E.ref=dr(p,f,h),E.return=p,E):(E=Ol(h.type,h.key,h.props,null,p.mode,E),E.ref=dr(p,f,h),E.return=p,E)}function m(p,f,h,E){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=Do(h,p.mode,E),f.return=p,f):(f=l(f,h.children||[]),f.return=p,f)}function w(p,f,h,E,R){return f===null||f.tag!==7?(f=cn(h,p.mode,E,R),f.return=p,f):(f=l(f,h),f.return=p,f)}function S(p,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=Fo(""+f,p.mode,h),f.return=p,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Re:return h=Ol(f.type,f.key,f.props,null,p.mode,h),h.ref=dr(p,null,f),h.return=p,h;case me:return f=Do(f,p.mode,h),f.return=p,f;case re:var E=f._init;return S(p,E(f._payload),h)}if(Hn(f)||D(f))return f=cn(f,p.mode,h,null),f.return=p,f;sl(p,f)}return null}function v(p,f,h,E){var R=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return R!==null?null:u(p,f,""+h,E);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Re:return h.key===R?c(p,f,h,E):null;case me:return h.key===R?m(p,f,h,E):null;case re:return R=h._init,v(p,f,R(h._payload),E)}if(Hn(h)||D(h))return R!==null?null:w(p,f,h,E,null);sl(p,h)}return null}function T(p,f,h,E,R){if(typeof E=="string"&&E!==""||typeof E=="number")return p=p.get(h)||null,u(f,p,""+E,R);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Re:return p=p.get(E.key===null?h:E.key)||null,c(f,p,E,R);case me:return p=p.get(E.key===null?h:E.key)||null,m(f,p,E,R);case re:var M=E._init;return T(p,f,h,M(E._payload),R)}if(Hn(E)||D(E))return p=p.get(h)||null,w(f,p,E,R,null);sl(f,E)}return null}function I(p,f,h,E){for(var R=null,M=null,F=f,j=f=0,Le=null;F!==null&&j<h.length;j++){F.index>j?(Le=F,F=null):Le=F.sibling;var J=v(p,F,h[j],E);if(J===null){F===null&&(F=Le);break}e&&F&&J.alternate===null&&t(p,F),f=i(J,f,j),M===null?R=J:M.sibling=J,M=J,F=Le}if(j===h.length)return n(p,F),ce&&tn(p,j),R;if(F===null){for(;j<h.length;j++)F=S(p,h[j],E),F!==null&&(f=i(F,f,j),M===null?R=F:M.sibling=F,M=F);return ce&&tn(p,j),R}for(F=r(p,F);j<h.length;j++)Le=T(F,p,j,h[j],E),Le!==null&&(e&&Le.alternate!==null&&F.delete(Le.key===null?j:Le.key),f=i(Le,f,j),M===null?R=Le:M.sibling=Le,M=Le);return e&&F.forEach(function(Zt){return t(p,Zt)}),ce&&tn(p,j),R}function O(p,f,h,E){var R=D(h);if(typeof R!="function")throw Error(s(150));if(h=R.call(h),h==null)throw Error(s(151));for(var M=R=null,F=f,j=f=0,Le=null,J=h.next();F!==null&&!J.done;j++,J=h.next()){F.index>j?(Le=F,F=null):Le=F.sibling;var Zt=v(p,F,J.value,E);if(Zt===null){F===null&&(F=Le);break}e&&F&&Zt.alternate===null&&t(p,F),f=i(Zt,f,j),M===null?R=Zt:M.sibling=Zt,M=Zt,F=Le}if(J.done)return n(p,F),ce&&tn(p,j),R;if(F===null){for(;!J.done;j++,J=h.next())J=S(p,J.value,E),J!==null&&(f=i(J,f,j),M===null?R=J:M.sibling=J,M=J);return ce&&tn(p,j),R}for(F=r(p,F);!J.done;j++,J=h.next())J=T(F,p,j,J.value,E),J!==null&&(e&&J.alternate!==null&&F.delete(J.key===null?j:J.key),f=i(J,f,j),M===null?R=J:M.sibling=J,M=J);return e&&F.forEach(function(Sd){return t(p,Sd)}),ce&&tn(p,j),R}function ve(p,f,h,E){if(typeof h=="object"&&h!==null&&h.type===Ce&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Re:e:{for(var R=h.key,M=f;M!==null;){if(M.key===R){if(R=h.type,R===Ce){if(M.tag===7){n(p,M.sibling),f=l(M,h.props.children),f.return=p,p=f;break e}}else if(M.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===re&&Lu(R)===M.type){n(p,M.sibling),f=l(M,h.props),f.ref=dr(p,M,h),f.return=p,p=f;break e}n(p,M);break}else t(p,M);M=M.sibling}h.type===Ce?(f=cn(h.props.children,p.mode,E,h.key),f.return=p,p=f):(E=Ol(h.type,h.key,h.props,null,p.mode,E),E.ref=dr(p,f,h),E.return=p,p=E)}return o(p);case me:e:{for(M=h.key;f!==null;){if(f.key===M)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(p,f.sibling),f=l(f,h.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=Do(h,p.mode,E),f.return=p,p=f}return o(p);case re:return M=h._init,ve(p,f,M(h._payload),E)}if(Hn(h))return I(p,f,h,E);if(D(h))return O(p,f,h,E);sl(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(p,f.sibling),f=l(f,h),f.return=p,p=f):(n(p,f),f=Fo(h,p.mode,E),f.return=p,p=f),o(p)):n(p,f)}return ve}var Pn=Pu(!0),Nu=Pu(!1),ul=Ut(null),al=null,Nn=null,Qi=null;function $i(){Qi=Nn=al=null}function Ki(e){var t=ul.current;se(ul),e._currentValue=t}function Gi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function In(e,t){al=e,Qi=Nn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&($e=!0),e.firstContext=null)}function lt(e){var t=e._currentValue;if(Qi!==e)if(e={context:e,memoizedValue:t,next:null},Nn===null){if(al===null)throw Error(s(308));Nn=e,al.dependencies={lanes:0,firstContext:e}}else Nn=Nn.next=e;return t}var nn=null;function Yi(e){nn===null?nn=[e]:nn.push(e)}function Iu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Yi(t)):(n.next=l.next,l.next=n),t.interleaved=n,Pt(e,r)}function Pt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Wt=!1;function Xi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ou(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Nt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(K&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Pt(e,n)}return l=r.interleaved,l===null?(t.next=t,Yi(r)):(t.next=l.next,l.next=t),r.interleaved=t,Pt(e,n)}function cl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ai(e,n)}}function Ru(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fl(e,t,n,r){var l=e.updateQueue;Wt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var c=u,m=c.next;c.next=null,o===null?i=m:o.next=m,o=c;var w=e.alternate;w!==null&&(w=w.updateQueue,u=w.lastBaseUpdate,u!==o&&(u===null?w.firstBaseUpdate=m:u.next=m,w.lastBaseUpdate=c))}if(i!==null){var S=l.baseState;o=0,w=m=c=null,u=i;do{var v=u.lane,T=u.eventTime;if((r&v)===v){w!==null&&(w=w.next={eventTime:T,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var I=e,O=u;switch(v=t,T=n,O.tag){case 1:if(I=O.payload,typeof I=="function"){S=I.call(T,S,v);break e}S=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=O.payload,v=typeof I=="function"?I.call(T,S,v):I,v==null)break e;S=N({},S,v);break e;case 2:Wt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[u]:v.push(u))}else T={eventTime:T,lane:v,tag:u.tag,payload:u.payload,callback:u.callback,next:null},w===null?(m=w=T,c=S):w=w.next=T,o|=v;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;v=u,u=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(w===null&&(c=S),l.baseState=c,l.firstBaseUpdate=m,l.lastBaseUpdate=w,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);on|=o,e.lanes=o,e.memoizedState=S}}function zu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(s(191,l));l.call(r)}}}var pr={},wt=Ut(pr),hr=Ut(pr),mr=Ut(pr);function rn(e){if(e===pr)throw Error(s(174));return e}function Zi(e,t){switch(ie(mr,t),ie(hr,e),ie(wt,pr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Jl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Jl(t,e)}se(wt),ie(wt,t)}function On(){se(wt),se(hr),se(mr)}function Mu(e){rn(mr.current);var t=rn(wt.current),n=Jl(t,e.type);t!==n&&(ie(hr,e),ie(wt,n))}function Ji(e){hr.current===e&&(se(wt),se(hr))}var fe=Ut(0);function dl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))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}var qi=[];function bi(){for(var e=0;e<qi.length;e++)qi[e]._workInProgressVersionPrimary=null;qi.length=0}var pl=he.ReactCurrentDispatcher,eo=he.ReactCurrentBatchConfig,ln=0,de=null,ke=null,Te=null,hl=!1,gr=!1,vr=0,Wf=0;function Fe(){throw Error(s(321))}function to(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ct(e[n],t[n]))return!1;return!0}function no(e,t,n,r,l,i){if(ln=i,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pl.current=e===null||e.memoizedState===null?Kf:Gf,e=n(r,l),gr){i=0;do{if(gr=!1,vr=0,25<=i)throw Error(s(301));i+=1,Te=ke=null,t.updateQueue=null,pl.current=Yf,e=n(r,l)}while(gr)}if(pl.current=vl,t=ke!==null&&ke.next!==null,ln=0,Te=ke=de=null,hl=!1,t)throw Error(s(300));return e}function ro(){var e=vr!==0;return vr=0,e}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Te===null?de.memoizedState=Te=e:Te=Te.next=e,Te}function it(){if(ke===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=Te===null?de.memoizedState:Te.next;if(t!==null)Te=t,ke=e;else{if(e===null)throw Error(s(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},Te===null?de.memoizedState=Te=e:Te=Te.next=e}return Te}function yr(e,t){return typeof t=="function"?t(e):t}function lo(e){var t=it(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=ke,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var u=o=null,c=null,m=i;do{var w=m.lane;if((ln&w)===w)c!==null&&(c=c.next={lane:0,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null}),r=m.hasEagerState?m.eagerState:e(r,m.action);else{var S={lane:w,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null};c===null?(u=c=S,o=r):c=c.next=S,de.lanes|=w,on|=w}m=m.next}while(m!==null&&m!==i);c===null?o=r:c.next=u,ct(r,t.memoizedState)||($e=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,de.lanes|=i,on|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function io(e){var t=it(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);ct(i,t.memoizedState)||($e=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Fu(){}function Du(e,t){var n=de,r=it(),l=t(),i=!ct(r.memoizedState,l);if(i&&(r.memoizedState=l,$e=!0),r=r.queue,oo(Uu.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Te!==null&&Te.memoizedState.tag&1){if(n.flags|=2048,wr(9,ju.bind(null,n,r,l,t),void 0,null),_e===null)throw Error(s(349));(ln&30)!==0||Au(n,t,l)}return l}function Au(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ju(e,t,n,r){t.value=n,t.getSnapshot=r,Bu(t)&&Hu(e)}function Uu(e,t,n){return n(function(){Bu(t)&&Hu(e)})}function Bu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ct(e,n)}catch{return!0}}function Hu(e){var t=Pt(e,1);t!==null&&mt(t,e,1,-1)}function Wu(e){var t=St();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yr,lastRenderedState:e},t.queue=e,e=e.dispatch=$f.bind(null,de,e),[t.memoizedState,e]}function wr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Vu(){return it().memoizedState}function ml(e,t,n,r){var l=St();de.flags|=e,l.memoizedState=wr(1|t,n,void 0,r===void 0?null:r)}function gl(e,t,n,r){var l=it();r=r===void 0?null:r;var i=void 0;if(ke!==null){var o=ke.memoizedState;if(i=o.destroy,r!==null&&to(r,o.deps)){l.memoizedState=wr(t,n,i,r);return}}de.flags|=e,l.memoizedState=wr(1|t,n,i,r)}function Qu(e,t){return ml(8390656,8,e,t)}function oo(e,t){return gl(2048,8,e,t)}function $u(e,t){return gl(4,2,e,t)}function Ku(e,t){return gl(4,4,e,t)}function Gu(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Yu(e,t,n){return n=n!=null?n.concat([e]):null,gl(4,4,Gu.bind(null,t,e),n)}function so(){}function Xu(e,t){var n=it();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&to(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zu(e,t){var n=it();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&to(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ju(e,t,n){return(ln&21)===0?(e.baseState&&(e.baseState=!1,$e=!0),e.memoizedState=n):(ct(n,t)||(n=Ls(),de.lanes|=n,on|=n,e.baseState=!0),t)}function Vf(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=eo.transition;eo.transition={};try{e(!1),t()}finally{ne=n,eo.transition=r}}function qu(){return it().memoizedState}function Qf(e,t,n){var r=Gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},bu(e))ea(t,n);else if(n=Iu(e,t,n,r),n!==null){var l=He();mt(n,e,r,l),ta(n,t,r)}}function $f(e,t,n){var r=Gt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(bu(e))ea(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,ct(u,o)){var c=t.interleaved;c===null?(l.next=l,Yi(t)):(l.next=c.next,c.next=l),t.interleaved=l;return}}catch{}n=Iu(e,t,l,r),n!==null&&(l=He(),mt(n,e,r,l),ta(n,t,r))}}function bu(e){var t=e.alternate;return e===de||t!==null&&t===de}function ea(e,t){gr=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ta(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ai(e,n)}}var vl={readContext:lt,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useInsertionEffect:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe,useDeferredValue:Fe,useTransition:Fe,useMutableSource:Fe,useSyncExternalStore:Fe,useId:Fe,unstable_isNewReconciler:!1},Kf={readContext:lt,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Qu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ml(4194308,4,Gu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ml(4194308,4,e,t)},useInsertionEffect:function(e,t){return ml(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Qf.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:Wu,useDebugValue:so,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=Wu(!1),t=e[0];return e=Vf.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,l=St();if(ce){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),_e===null)throw Error(s(349));(ln&30)!==0||Au(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Qu(Uu.bind(null,r,i,e),[e]),r.flags|=2048,wr(9,ju.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=St(),t=_e.identifierPrefix;if(ce){var n=Lt,r=_t;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Wf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Gf={readContext:lt,useCallback:Xu,useContext:lt,useEffect:oo,useImperativeHandle:Yu,useInsertionEffect:$u,useLayoutEffect:Ku,useMemo:Zu,useReducer:lo,useRef:Vu,useState:function(){return lo(yr)},useDebugValue:so,useDeferredValue:function(e){var t=it();return Ju(t,ke.memoizedState,e)},useTransition:function(){var e=lo(yr)[0],t=it().memoizedState;return[e,t]},useMutableSource:Fu,useSyncExternalStore:Du,useId:qu,unstable_isNewReconciler:!1},Yf={readContext:lt,useCallback:Xu,useContext:lt,useEffect:oo,useImperativeHandle:Yu,useInsertionEffect:$u,useLayoutEffect:Ku,useMemo:Zu,useReducer:io,useRef:Vu,useState:function(){return io(yr)},useDebugValue:so,useDeferredValue:function(e){var t=it();return ke===null?t.memoizedState=e:Ju(t,ke.memoizedState,e)},useTransition:function(){var e=io(yr)[0],t=it().memoizedState;return[e,t]},useMutableSource:Fu,useSyncExternalStore:Du,useId:qu,unstable_isNewReconciler:!1};function dt(e,t){if(e&&e.defaultProps){t=N({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function uo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:N({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var yl={isMounted:function(e){return(e=e._reactInternals)?Jt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),l=Gt(e),i=Nt(r,l);i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(mt(t,e,l,r),cl(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),l=Gt(e),i=Nt(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(mt(t,e,l,r),cl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=Gt(e),l=Nt(n,r);l.tag=2,t!=null&&(l.callback=t),t=Vt(e,l,r),t!==null&&(mt(t,e,r,n),cl(t,e,r))}};function na(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!ir(n,r)||!ir(l,i):!0}function ra(e,t,n){var r=!1,l=Bt,i=t.contextType;return typeof i=="object"&&i!==null?i=lt(i):(l=Qe(t)?bt:Me.current,r=t.contextTypes,i=(r=r!=null)?Cn(e,l):Bt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=yl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function la(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yl.enqueueReplaceState(t,t.state,null)}function ao(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Xi(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=lt(i):(i=Qe(t)?bt:Me.current,l.context=Cn(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(uo(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&yl.enqueueReplaceState(l,l.state,null),fl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Rn(e,t){try{var n="",r=t;do n+=X(r),r=r.return;while(r);var l=n}catch(i){l=`
6
+ `+l[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=u);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?w(e):""}function Y(e){switch(e.tag){case 5:return w(e.type);case 16:return w("Lazy");case 13:return w("Suspense");case 19:return w("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1),e;case 11:return e=W(e.type.render,!1),e;case 1:return e=W(e.type,!0),e;default:return""}}function X(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _e:return"Fragment";case Ee:return"Portal";case Me:return"Profiler";case te:return"StrictMode";case le:return"Suspense";case pe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xt:return(e.displayName||"Context")+".Consumer";case ut:return(e._context.displayName||"Context")+".Provider";case tt:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Le:return t=e.displayName||null,t!==null?t:X(e.type)||"Memo";case Qe:t=e._payload,e=e._init;try{return X(e(t))}catch{}}return null}function ne(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.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 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X(t);case 8:return t===te?"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 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ue(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ze(e){var t=ue(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ir(e){e._valueTracker||(e._valueTracker=Ze(e))}function ls(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ue(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Nr(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 Gl(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function is(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=q(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function os(e,t){t=t.checked,t!=null&&Oe(e,"checked",t,!1)}function Yl(e,t){os(e,t);var n=q(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Xl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Xl(e,t.type,q(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ss(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Xl(e,t,n){(t!=="number"||Nr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Hn=Array.isArray;function dn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Zl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function us(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(s(92));if(Hn(n)){if(1<n.length)throw Error(s(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function as(e,t){var n=q(t.value),r=q(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function cs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function fs(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Jl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?fs(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Or,ds=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Or=Or||document.createElement("div"),Or.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Vn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ic=["Webkit","ms","Moz","O"];Object.keys(Vn).forEach(function(e){Ic.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vn[t]=Vn[e]})});function ps(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Vn.hasOwnProperty(e)&&Vn[e]?(""+t).trim():t+"px"}function hs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ps(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Nc=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ql(e,t){if(t){if(Nc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function bl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ei=null;function ti(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ni=null,pn=null,hn=null;function ms(e){if(e=fr(e)){if(typeof ni!="function")throw Error(s(280));var t=e.stateNode;t&&(t=el(t),ni(e.stateNode,e.type,t))}}function gs(e){pn?hn?hn.push(e):hn=[e]:pn=e}function vs(){if(pn){var e=pn,t=hn;if(hn=pn=null,ms(e),t)for(e=0;e<t.length;e++)ms(t[e])}}function ys(e,t){return e(t)}function ws(){}var ri=!1;function Ss(e,t,n){if(ri)return e(t,n);ri=!0;try{return ys(e,t,n)}finally{ri=!1,(pn!==null||hn!==null)&&(ws(),vs())}}function Qn(e,t){var n=e.stateNode;if(n===null)return null;var r=el(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(s(231,t,typeof n));return n}var li=!1;if(A)try{var $n={};Object.defineProperty($n,"passive",{get:function(){li=!0}}),window.addEventListener("test",$n,$n),window.removeEventListener("test",$n,$n)}catch{li=!1}function Oc(e,t,n,r,l,i,o,u,c){var m=Array.prototype.slice.call(arguments,3);try{t.apply(n,m)}catch(S){this.onError(S)}}var Kn=!1,Rr=null,zr=!1,ii=null,Rc={onError:function(e){Kn=!0,Rr=e}};function zc(e,t,n,r,l,i,o,u,c){Kn=!1,Rr=null,Oc.apply(Rc,arguments)}function Mc(e,t,n,r,l,i,o,u,c){if(zc.apply(this,arguments),Kn){if(Kn){var m=Rr;Kn=!1,Rr=null}else throw Error(s(198));zr||(zr=!0,ii=m)}}function Jt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ks(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 Es(e){if(Jt(e)!==e)throw Error(s(188))}function Fc(e){var t=e.alternate;if(!t){if(t=Jt(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return Es(l),e;if(i===r)return Es(l),t;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,u=l.child;u;){if(u===n){o=!0,n=l,r=i;break}if(u===r){o=!0,r=l,n=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===n){o=!0,n=i,r=l;break}if(u===r){o=!0,r=i,n=l;break}u=u.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function xs(e){return e=Fc(e),e!==null?Cs(e):null}function Cs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Cs(e);if(t!==null)return t;e=e.sibling}return null}var Ts=a.unstable_scheduleCallback,_s=a.unstable_cancelCallback,Dc=a.unstable_shouldYield,Ac=a.unstable_requestPaint,ge=a.unstable_now,Uc=a.unstable_getCurrentPriorityLevel,oi=a.unstable_ImmediatePriority,Ls=a.unstable_UserBlockingPriority,Mr=a.unstable_NormalPriority,jc=a.unstable_LowPriority,Ps=a.unstable_IdlePriority,Fr=null,vt=null;function Bc(e){if(vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(Fr,e,void 0,(e.current.flags&128)===128)}catch{}}var at=Math.clz32?Math.clz32:Vc,Hc=Math.log,Wc=Math.LN2;function Vc(e){return e>>>=0,e===0?32:31-(Hc(e)/Wc|0)|0}var Dr=64,Ar=4194304;function Gn(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ur(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Gn(u):(i&=o,i!==0&&(r=Gn(i)))}else o=n&~l,o!==0?r=Gn(o):i!==0&&(r=Gn(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-at(t),l=1<<n,r|=e[n],t&=~l;return r}function Qc(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $c(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-at(i),u=1<<o,c=l[o];c===-1?((u&n)===0||(u&r)!==0)&&(l[o]=Qc(u,t)):c<=t&&(e.expiredLanes|=u),i&=~u}}function si(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Is(){var e=Dr;return Dr<<=1,(Dr&4194240)===0&&(Dr=64),e}function ui(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Yn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function Kc(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-at(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function ai(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var b=0;function Ns(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Os,ci,Rs,zs,Ms,fi=!1,jr=[],Rt=null,zt=null,Mt=null,Xn=new Map,Zn=new Map,Ft=[],Gc="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 submit".split(" ");function Fs(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":zt=null;break;case"mouseover":case"mouseout":Mt=null;break;case"pointerover":case"pointerout":Xn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zn.delete(t.pointerId)}}function Jn(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=fr(t),t!==null&&ci(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Yc(e,t,n,r,l){switch(t){case"focusin":return Rt=Jn(Rt,e,t,n,r,l),!0;case"dragenter":return zt=Jn(zt,e,t,n,r,l),!0;case"mouseover":return Mt=Jn(Mt,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Xn.set(i,Jn(Xn.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Zn.set(i,Jn(Zn.get(i)||null,e,t,n,r,l)),!0}return!1}function Ds(e){var t=qt(e.target);if(t!==null){var n=Jt(t);if(n!==null){if(t=n.tag,t===13){if(t=ks(n),t!==null){e.blockedOn=t,Ms(e.priority,function(){Rs(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Br(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ei=r,n.target.dispatchEvent(r),ei=null}else return t=fr(n),t!==null&&ci(t),e.blockedOn=n,!1;t.shift()}return!0}function As(e,t,n){Br(e)&&n.delete(t)}function Xc(){fi=!1,Rt!==null&&Br(Rt)&&(Rt=null),zt!==null&&Br(zt)&&(zt=null),Mt!==null&&Br(Mt)&&(Mt=null),Xn.forEach(As),Zn.forEach(As)}function qn(e,t){e.blockedOn===t&&(e.blockedOn=null,fi||(fi=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Xc)))}function bn(e){function t(l){return qn(l,e)}if(0<jr.length){qn(jr[0],e);for(var n=1;n<jr.length;n++){var r=jr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Rt!==null&&qn(Rt,e),zt!==null&&qn(zt,e),Mt!==null&&qn(Mt,e),Xn.forEach(t),Zn.forEach(t),n=0;n<Ft.length;n++)r=Ft[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ft.length&&(n=Ft[0],n.blockedOn===null);)Ds(n),n.blockedOn===null&&Ft.shift()}var mn=we.ReactCurrentBatchConfig,Hr=!0;function Zc(e,t,n,r){var l=b,i=mn.transition;mn.transition=null;try{b=1,di(e,t,n,r)}finally{b=l,mn.transition=i}}function Jc(e,t,n,r){var l=b,i=mn.transition;mn.transition=null;try{b=4,di(e,t,n,r)}finally{b=l,mn.transition=i}}function di(e,t,n,r){if(Hr){var l=pi(e,t,n,r);if(l===null)Ni(e,t,r,Wr,n),Fs(e,r);else if(Yc(l,e,t,n,r))r.stopPropagation();else if(Fs(e,r),t&4&&-1<Gc.indexOf(e)){for(;l!==null;){var i=fr(l);if(i!==null&&Os(i),i=pi(e,t,n,r),i===null&&Ni(e,t,r,Wr,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else Ni(e,t,r,null,n)}}var Wr=null;function pi(e,t,n,r){if(Wr=null,e=ti(r),e=qt(e),e!==null)if(t=Jt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ks(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wr=e,null}function Us(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Uc()){case oi:return 1;case Ls:return 4;case Mr:case jc:return 16;case Ps:return 536870912;default:return 16}default:return 16}}var Dt=null,hi=null,Vr=null;function js(){if(Vr)return Vr;var e,t=hi,n=t.length,r,l="value"in Dt?Dt.value:Dt.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return Vr=l.slice(e,1<r?1-r:void 0)}function Qr(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 $r(){return!0}function Bs(){return!1}function Je(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?$r:Bs,this.isPropagationStopped=Bs,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=$r)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$r)},persist:function(){},isPersistent:$r}),t}var gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mi=Je(gn),er=I({},gn,{view:0,detail:0}),qc=Je(er),gi,vi,tr,Kr=I({},er,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wi,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!==tr&&(tr&&e.type==="mousemove"?(gi=e.screenX-tr.screenX,vi=e.screenY-tr.screenY):vi=gi=0,tr=e),gi)},movementY:function(e){return"movementY"in e?e.movementY:vi}}),Hs=Je(Kr),bc=I({},Kr,{dataTransfer:0}),ef=Je(bc),tf=I({},er,{relatedTarget:0}),yi=Je(tf),nf=I({},gn,{animationName:0,elapsedTime:0,pseudoElement:0}),rf=Je(nf),lf=I({},gn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),of=Je(lf),sf=I({},gn,{data:0}),Ws=Je(sf),uf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},af={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"},cf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ff(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=cf[e])?!!t[e]:!1}function wi(){return ff}var df=I({},er,{key:function(e){if(e.key){var t=uf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?af[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wi,charCode:function(e){return e.type==="keypress"?Qr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),pf=Je(df),hf=I({},Kr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vs=Je(hf),mf=I({},er,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wi}),gf=Je(mf),vf=I({},gn,{propertyName:0,elapsedTime:0,pseudoElement:0}),yf=Je(vf),wf=I({},Kr,{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}),Sf=Je(wf),kf=[9,13,27,32],Si=A&&"CompositionEvent"in window,nr=null;A&&"documentMode"in document&&(nr=document.documentMode);var Ef=A&&"TextEvent"in window&&!nr,Qs=A&&(!Si||nr&&8<nr&&11>=nr),$s=" ",Ks=!1;function Gs(e,t){switch(e){case"keyup":return kf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ys(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vn=!1;function xf(e,t){switch(e){case"compositionend":return Ys(t);case"keypress":return t.which!==32?null:(Ks=!0,$s);case"textInput":return e=t.data,e===$s&&Ks?null:e;default:return null}}function Cf(e,t){if(vn)return e==="compositionend"||!Si&&Gs(e,t)?(e=js(),Vr=hi=Dt=null,vn=!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 Qs&&t.locale!=="ko"?null:t.data;default:return null}}var Tf={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 Xs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Tf[e.type]:t==="textarea"}function Zs(e,t,n,r){gs(r),t=Jr(t,"onChange"),0<t.length&&(n=new mi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var rr=null,lr=null;function _f(e){hu(e,0)}function Gr(e){var t=En(e);if(ls(t))return e}function Lf(e,t){if(e==="change")return t}var Js=!1;if(A){var ki;if(A){var Ei="oninput"in document;if(!Ei){var qs=document.createElement("div");qs.setAttribute("oninput","return;"),Ei=typeof qs.oninput=="function"}ki=Ei}else ki=!1;Js=ki&&(!document.documentMode||9<document.documentMode)}function bs(){rr&&(rr.detachEvent("onpropertychange",eu),lr=rr=null)}function eu(e){if(e.propertyName==="value"&&Gr(lr)){var t=[];Zs(t,lr,e,ti(e)),Ss(_f,t)}}function Pf(e,t,n){e==="focusin"?(bs(),rr=t,lr=n,rr.attachEvent("onpropertychange",eu)):e==="focusout"&&bs()}function If(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gr(lr)}function Nf(e,t){if(e==="click")return Gr(t)}function Of(e,t){if(e==="input"||e==="change")return Gr(t)}function Rf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ct=typeof Object.is=="function"?Object.is:Rf;function ir(e,t){if(ct(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!P.call(t,l)||!ct(e[l],t[l]))return!1}return!0}function tu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nu(e,t){var n=tu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=tu(n)}}function ru(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ru(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lu(){for(var e=window,t=Nr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Nr(e.document)}return t}function xi(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 zf(e){var t=lu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ru(n.ownerDocument.documentElement,n)){if(r!==null&&xi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=nu(n,i);var o=nu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Mf=A&&"documentMode"in document&&11>=document.documentMode,yn=null,Ci=null,or=null,Ti=!1;function iu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ti||yn==null||yn!==Nr(r)||(r=yn,"selectionStart"in r&&xi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),or&&ir(or,r)||(or=r,r=Jr(Ci,"onSelect"),0<r.length&&(t=new mi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yn)))}function Yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wn={animationend:Yr("Animation","AnimationEnd"),animationiteration:Yr("Animation","AnimationIteration"),animationstart:Yr("Animation","AnimationStart"),transitionend:Yr("Transition","TransitionEnd")},_i={},ou={};A&&(ou=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);function Xr(e){if(_i[e])return _i[e];if(!wn[e])return e;var t=wn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ou)return _i[e]=t[n];return e}var su=Xr("animationend"),uu=Xr("animationiteration"),au=Xr("animationstart"),cu=Xr("transitionend"),fu=new Map,du="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function At(e,t){fu.set(e,t),T(t,[e])}for(var Li=0;Li<du.length;Li++){var Pi=du[Li],Ff=Pi.toLowerCase(),Df=Pi[0].toUpperCase()+Pi.slice(1);At(Ff,"on"+Df)}At(su,"onAnimationEnd"),At(uu,"onAnimationIteration"),At(au,"onAnimationStart"),At("dblclick","onDoubleClick"),At("focusin","onFocus"),At("focusout","onBlur"),At(cu,"onTransitionEnd"),z("onMouseEnter",["mouseout","mouseover"]),z("onMouseLeave",["mouseout","mouseover"]),z("onPointerEnter",["pointerout","pointerover"]),z("onPointerLeave",["pointerout","pointerover"]),T("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),T("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),T("onBeforeInput",["compositionend","keypress","textInput","paste"]),T("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),T("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),T("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sr="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(" "),Af=new Set("cancel close invalid load scroll toggle".split(" ").concat(sr));function pu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Mc(r,t,void 0,e),e.currentTarget=null}function hu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var u=r[o],c=u.instance,m=u.currentTarget;if(u=u.listener,c!==i&&l.isPropagationStopped())break e;pu(l,u,m),i=c}else for(o=0;o<r.length;o++){if(u=r[o],c=u.instance,m=u.currentTarget,u=u.listener,c!==i&&l.isPropagationStopped())break e;pu(l,u,m),i=c}}}if(zr)throw e=ii,zr=!1,ii=null,e}function ie(e,t){var n=t[Di];n===void 0&&(n=t[Di]=new Set);var r=e+"__bubble";n.has(r)||(mu(t,e,2,!1),n.add(r))}function Ii(e,t,n){var r=0;t&&(r|=4),mu(n,e,r,t)}var Zr="_reactListening"+Math.random().toString(36).slice(2);function ur(e){if(!e[Zr]){e[Zr]=!0,g.forEach(function(n){n!=="selectionchange"&&(Af.has(n)||Ii(n,!1,e),Ii(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zr]||(t[Zr]=!0,Ii("selectionchange",!1,t))}}function mu(e,t,n,r){switch(Us(t)){case 1:var l=Zc;break;case 4:l=Jc;break;default:l=di}n=l.bind(null,t,n,e),l=void 0,!li||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Ni(e,t,n,r,l){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===l||c.nodeType===8&&c.parentNode===l))return;o=o.return}for(;u!==null;){if(o=qt(u),o===null)return;if(c=o.tag,c===5||c===6){r=i=o;continue e}u=u.parentNode}}r=r.return}Ss(function(){var m=i,S=ti(n),k=[];e:{var y=fu.get(e);if(y!==void 0){var _=mi,N=e;switch(e){case"keypress":if(Qr(n)===0)break e;case"keydown":case"keyup":_=pf;break;case"focusin":N="focus",_=yi;break;case"focusout":N="blur",_=yi;break;case"beforeblur":case"afterblur":_=yi;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=Hs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=ef;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=gf;break;case su:case uu:case au:_=rf;break;case cu:_=yf;break;case"scroll":_=qc;break;case"wheel":_=Sf;break;case"copy":case"cut":case"paste":_=of;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=Vs}var O=(t&4)!==0,ve=!O&&e==="scroll",p=O?y!==null?y+"Capture":null:y;O=[];for(var f=m,h;f!==null;){h=f;var x=h.stateNode;if(h.tag===5&&x!==null&&(h=x,p!==null&&(x=Qn(f,p),x!=null&&O.push(ar(f,x,h)))),ve)break;f=f.return}0<O.length&&(y=new _(y,N,null,n,S),k.push({event:y,listeners:O}))}}if((t&7)===0){e:{if(y=e==="mouseover"||e==="pointerover",_=e==="mouseout"||e==="pointerout",y&&n!==ei&&(N=n.relatedTarget||n.fromElement)&&(qt(N)||N[Ct]))break e;if((_||y)&&(y=S.window===S?S:(y=S.ownerDocument)?y.defaultView||y.parentWindow:window,_?(N=n.relatedTarget||n.toElement,_=m,N=N?qt(N):null,N!==null&&(ve=Jt(N),N!==ve||N.tag!==5&&N.tag!==6)&&(N=null)):(_=null,N=m),_!==N)){if(O=Hs,x="onMouseLeave",p="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(O=Vs,x="onPointerLeave",p="onPointerEnter",f="pointer"),ve=_==null?y:En(_),h=N==null?y:En(N),y=new O(x,f+"leave",_,n,S),y.target=ve,y.relatedTarget=h,x=null,qt(S)===m&&(O=new O(p,f+"enter",N,n,S),O.target=h,O.relatedTarget=ve,x=O),ve=x,_&&N)t:{for(O=_,p=N,f=0,h=O;h;h=Sn(h))f++;for(h=0,x=p;x;x=Sn(x))h++;for(;0<f-h;)O=Sn(O),f--;for(;0<h-f;)p=Sn(p),h--;for(;f--;){if(O===p||p!==null&&O===p.alternate)break t;O=Sn(O),p=Sn(p)}O=null}else O=null;_!==null&&gu(k,y,_,O,!1),N!==null&&ve!==null&&gu(k,ve,N,O,!0)}}e:{if(y=m?En(m):window,_=y.nodeName&&y.nodeName.toLowerCase(),_==="select"||_==="input"&&y.type==="file")var R=Lf;else if(Xs(y))if(Js)R=Of;else{R=If;var M=Pf}else(_=y.nodeName)&&_.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(R=Nf);if(R&&(R=R(e,m))){Zs(k,R,n,S);break e}M&&M(e,y,m),e==="focusout"&&(M=y._wrapperState)&&M.controlled&&y.type==="number"&&Xl(y,"number",y.value)}switch(M=m?En(m):window,e){case"focusin":(Xs(M)||M.contentEditable==="true")&&(yn=M,Ci=m,or=null);break;case"focusout":or=Ci=yn=null;break;case"mousedown":Ti=!0;break;case"contextmenu":case"mouseup":case"dragend":Ti=!1,iu(k,n,S);break;case"selectionchange":if(Mf)break;case"keydown":case"keyup":iu(k,n,S)}var F;if(Si)e:{switch(e){case"compositionstart":var U="onCompositionStart";break e;case"compositionend":U="onCompositionEnd";break e;case"compositionupdate":U="onCompositionUpdate";break e}U=void 0}else vn?Gs(e,n)&&(U="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(U="onCompositionStart");U&&(Qs&&n.locale!=="ko"&&(vn||U!=="onCompositionStart"?U==="onCompositionEnd"&&vn&&(F=js()):(Dt=S,hi="value"in Dt?Dt.value:Dt.textContent,vn=!0)),M=Jr(m,U),0<M.length&&(U=new Ws(U,e,null,n,S),k.push({event:U,listeners:M}),F?U.data=F:(F=Ys(n),F!==null&&(U.data=F)))),(F=Ef?xf(e,n):Cf(e,n))&&(m=Jr(m,"onBeforeInput"),0<m.length&&(S=new Ws("onBeforeInput","beforeinput",null,n,S),k.push({event:S,listeners:m}),S.data=F))}hu(k,t)})}function ar(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Jr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Qn(e,n),i!=null&&r.unshift(ar(e,i,l)),i=Qn(e,t),i!=null&&r.push(ar(e,i,l))),e=e.return}return r}function Sn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function gu(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var u=n,c=u.alternate,m=u.stateNode;if(c!==null&&c===r)break;u.tag===5&&m!==null&&(u=m,l?(c=Qn(n,i),c!=null&&o.unshift(ar(n,c,u))):l||(c=Qn(n,i),c!=null&&o.push(ar(n,c,u)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Uf=/\r\n?/g,jf=/\u0000|\uFFFD/g;function vu(e){return(typeof e=="string"?e:""+e).replace(Uf,`
7
+ `).replace(jf,"")}function qr(e,t,n){if(t=vu(t),vu(e)!==t&&n)throw Error(s(425))}function br(){}var Oi=null,Ri=null;function zi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Mi=typeof setTimeout=="function"?setTimeout:void 0,Bf=typeof clearTimeout=="function"?clearTimeout:void 0,yu=typeof Promise=="function"?Promise:void 0,Hf=typeof queueMicrotask=="function"?queueMicrotask:typeof yu<"u"?function(e){return yu.resolve(null).then(e).catch(Wf)}:Mi;function Wf(e){setTimeout(function(){throw e})}function Fi(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),bn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);bn(t)}function Ut(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==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function wu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var kn=Math.random().toString(36).slice(2),yt="__reactFiber$"+kn,cr="__reactProps$"+kn,Ct="__reactContainer$"+kn,Di="__reactEvents$"+kn,Vf="__reactListeners$"+kn,Qf="__reactHandles$"+kn;function qt(e){var t=e[yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wu(e);e!==null;){if(n=e[yt])return n;e=wu(e)}return t}e=n,n=e.parentNode}return null}function fr(e){return e=e[yt]||e[Ct],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function En(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function el(e){return e[cr]||null}var Ai=[],xn=-1;function jt(e){return{current:e}}function oe(e){0>xn||(e.current=Ai[xn],Ai[xn]=null,xn--)}function re(e,t){xn++,Ai[xn]=e.current,e.current=t}var Bt={},Fe=jt(Bt),$e=jt(!1),bt=Bt;function Cn(e,t){var n=e.type.contextTypes;if(!n)return Bt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ke(e){return e=e.childContextTypes,e!=null}function tl(){oe($e),oe(Fe)}function Su(e,t,n){if(Fe.current!==Bt)throw Error(s(168));re(Fe,t),re($e,n)}function ku(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(s(108,ne(e)||"Unknown",l));return I({},n,r)}function nl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bt,bt=Fe.current,re(Fe,e),re($e,$e.current),!0}function Eu(e,t,n){var r=e.stateNode;if(!r)throw Error(s(169));n?(e=ku(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,oe($e),oe(Fe),re(Fe,e)):oe($e),re($e,n)}var Tt=null,rl=!1,Ui=!1;function xu(e){Tt===null?Tt=[e]:Tt.push(e)}function $f(e){rl=!0,xu(e)}function Ht(){if(!Ui&&Tt!==null){Ui=!0;var e=0,t=b;try{var n=Tt;for(b=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Tt=null,rl=!1}catch(l){throw Tt!==null&&(Tt=Tt.slice(e+1)),Ts(oi,Ht),l}finally{b=t,Ui=!1}}return null}var Tn=[],_n=0,ll=null,il=0,nt=[],rt=0,en=null,_t=1,Lt="";function tn(e,t){Tn[_n++]=il,Tn[_n++]=ll,ll=e,il=t}function Cu(e,t,n){nt[rt++]=_t,nt[rt++]=Lt,nt[rt++]=en,en=e;var r=_t;e=Lt;var l=32-at(r)-1;r&=~(1<<l),n+=1;var i=32-at(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,_t=1<<32-at(t)+l|n<<l|r,Lt=i+e}else _t=1<<i|n<<l|r,Lt=e}function ji(e){e.return!==null&&(tn(e,1),Cu(e,1,0))}function Bi(e){for(;e===ll;)ll=Tn[--_n],Tn[_n]=null,il=Tn[--_n],Tn[_n]=null;for(;e===en;)en=nt[--rt],nt[rt]=null,Lt=nt[--rt],nt[rt]=null,_t=nt[--rt],nt[rt]=null}var qe=null,be=null,ae=!1,ft=null;function Tu(e,t){var n=st(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function _u(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,qe=e,be=Ut(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,qe=e,be=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=en!==null?{id:_t,overflow:Lt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=st(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,qe=e,be=null,!0):!1;default:return!1}}function Hi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Wi(e){if(ae){var t=be;if(t){var n=t;if(!_u(e,t)){if(Hi(e))throw Error(s(418));t=Ut(n.nextSibling);var r=qe;t&&_u(e,t)?Tu(r,n):(e.flags=e.flags&-4097|2,ae=!1,qe=e)}}else{if(Hi(e))throw Error(s(418));e.flags=e.flags&-4097|2,ae=!1,qe=e}}}function Lu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;qe=e}function ol(e){if(e!==qe)return!1;if(!ae)return Lu(e),ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!zi(e.type,e.memoizedProps)),t&&(t=be)){if(Hi(e))throw Pu(),Error(s(418));for(;t;)Tu(e,t),t=Ut(t.nextSibling)}if(Lu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){be=Ut(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}be=null}}else be=qe?Ut(e.stateNode.nextSibling):null;return!0}function Pu(){for(var e=be;e;)e=Ut(e.nextSibling)}function Ln(){be=qe=null,ae=!1}function Vi(e){ft===null?ft=[e]:ft.push(e)}var Kf=we.ReactCurrentBatchConfig;function dr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(s(309));var r=n.stateNode}if(!r)throw Error(s(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var u=l.refs;o===null?delete u[i]:u[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function sl(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Iu(e){var t=e._init;return t(e._payload)}function Nu(e){function t(p,f){if(e){var h=p.deletions;h===null?(p.deletions=[f],p.flags|=16):h.push(f)}}function n(p,f){if(!e)return null;for(;f!==null;)t(p,f),f=f.sibling;return null}function r(p,f){for(p=new Map;f!==null;)f.key!==null?p.set(f.key,f):p.set(f.index,f),f=f.sibling;return p}function l(p,f){return p=Xt(p,f),p.index=0,p.sibling=null,p}function i(p,f,h){return p.index=h,e?(h=p.alternate,h!==null?(h=h.index,h<f?(p.flags|=2,f):h):(p.flags|=2,f)):(p.flags|=1048576,f)}function o(p){return e&&p.alternate===null&&(p.flags|=2),p}function u(p,f,h,x){return f===null||f.tag!==6?(f=Fo(h,p.mode,x),f.return=p,f):(f=l(f,h),f.return=p,f)}function c(p,f,h,x){var R=h.type;return R===_e?S(p,f,h.props.children,x,h.key):f!==null&&(f.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===Qe&&Iu(R)===f.type)?(x=l(f,h.props),x.ref=dr(p,f,h),x.return=p,x):(x=Ol(h.type,h.key,h.props,null,p.mode,x),x.ref=dr(p,f,h),x.return=p,x)}function m(p,f,h,x){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=Do(h,p.mode,x),f.return=p,f):(f=l(f,h.children||[]),f.return=p,f)}function S(p,f,h,x,R){return f===null||f.tag!==7?(f=cn(h,p.mode,x,R),f.return=p,f):(f=l(f,h),f.return=p,f)}function k(p,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=Fo(""+f,p.mode,h),f.return=p,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case ke:return h=Ol(f.type,f.key,f.props,null,p.mode,h),h.ref=dr(p,null,f),h.return=p,h;case Ee:return f=Do(f,p.mode,h),f.return=p,f;case Qe:var x=f._init;return k(p,x(f._payload),h)}if(Hn(f)||D(f))return f=cn(f,p.mode,h,null),f.return=p,f;sl(p,f)}return null}function y(p,f,h,x){var R=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return R!==null?null:u(p,f,""+h,x);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case ke:return h.key===R?c(p,f,h,x):null;case Ee:return h.key===R?m(p,f,h,x):null;case Qe:return R=h._init,y(p,f,R(h._payload),x)}if(Hn(h)||D(h))return R!==null?null:S(p,f,h,x,null);sl(p,h)}return null}function _(p,f,h,x,R){if(typeof x=="string"&&x!==""||typeof x=="number")return p=p.get(h)||null,u(f,p,""+x,R);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ke:return p=p.get(x.key===null?h:x.key)||null,c(f,p,x,R);case Ee:return p=p.get(x.key===null?h:x.key)||null,m(f,p,x,R);case Qe:var M=x._init;return _(p,f,h,M(x._payload),R)}if(Hn(x)||D(x))return p=p.get(h)||null,S(f,p,x,R,null);sl(f,x)}return null}function N(p,f,h,x){for(var R=null,M=null,F=f,U=f=0,Ne=null;F!==null&&U<h.length;U++){F.index>U?(Ne=F,F=null):Ne=F.sibling;var Z=y(p,F,h[U],x);if(Z===null){F===null&&(F=Ne);break}e&&F&&Z.alternate===null&&t(p,F),f=i(Z,f,U),M===null?R=Z:M.sibling=Z,M=Z,F=Ne}if(U===h.length)return n(p,F),ae&&tn(p,U),R;if(F===null){for(;U<h.length;U++)F=k(p,h[U],x),F!==null&&(f=i(F,f,U),M===null?R=F:M.sibling=F,M=F);return ae&&tn(p,U),R}for(F=r(p,F);U<h.length;U++)Ne=_(F,p,U,h[U],x),Ne!==null&&(e&&Ne.alternate!==null&&F.delete(Ne.key===null?U:Ne.key),f=i(Ne,f,U),M===null?R=Ne:M.sibling=Ne,M=Ne);return e&&F.forEach(function(Zt){return t(p,Zt)}),ae&&tn(p,U),R}function O(p,f,h,x){var R=D(h);if(typeof R!="function")throw Error(s(150));if(h=R.call(h),h==null)throw Error(s(151));for(var M=R=null,F=f,U=f=0,Ne=null,Z=h.next();F!==null&&!Z.done;U++,Z=h.next()){F.index>U?(Ne=F,F=null):Ne=F.sibling;var Zt=y(p,F,Z.value,x);if(Zt===null){F===null&&(F=Ne);break}e&&F&&Zt.alternate===null&&t(p,F),f=i(Zt,f,U),M===null?R=Zt:M.sibling=Zt,M=Zt,F=Ne}if(Z.done)return n(p,F),ae&&tn(p,U),R;if(F===null){for(;!Z.done;U++,Z=h.next())Z=k(p,Z.value,x),Z!==null&&(f=i(Z,f,U),M===null?R=Z:M.sibling=Z,M=Z);return ae&&tn(p,U),R}for(F=r(p,F);!Z.done;U++,Z=h.next())Z=_(F,p,U,Z.value,x),Z!==null&&(e&&Z.alternate!==null&&F.delete(Z.key===null?U:Z.key),f=i(Z,f,U),M===null?R=Z:M.sibling=Z,M=Z);return e&&F.forEach(function(Td){return t(p,Td)}),ae&&tn(p,U),R}function ve(p,f,h,x){if(typeof h=="object"&&h!==null&&h.type===_e&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case ke:e:{for(var R=h.key,M=f;M!==null;){if(M.key===R){if(R=h.type,R===_e){if(M.tag===7){n(p,M.sibling),f=l(M,h.props.children),f.return=p,p=f;break e}}else if(M.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===Qe&&Iu(R)===M.type){n(p,M.sibling),f=l(M,h.props),f.ref=dr(p,M,h),f.return=p,p=f;break e}n(p,M);break}else t(p,M);M=M.sibling}h.type===_e?(f=cn(h.props.children,p.mode,x,h.key),f.return=p,p=f):(x=Ol(h.type,h.key,h.props,null,p.mode,x),x.ref=dr(p,f,h),x.return=p,p=x)}return o(p);case Ee:e:{for(M=h.key;f!==null;){if(f.key===M)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(p,f.sibling),f=l(f,h.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=Do(h,p.mode,x),f.return=p,p=f}return o(p);case Qe:return M=h._init,ve(p,f,M(h._payload),x)}if(Hn(h))return N(p,f,h,x);if(D(h))return O(p,f,h,x);sl(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(p,f.sibling),f=l(f,h),f.return=p,p=f):(n(p,f),f=Fo(h,p.mode,x),f.return=p,p=f),o(p)):n(p,f)}return ve}var Pn=Nu(!0),Ou=Nu(!1),ul=jt(null),al=null,In=null,Qi=null;function $i(){Qi=In=al=null}function Ki(e){var t=ul.current;oe(ul),e._currentValue=t}function Gi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Nn(e,t){al=e,Qi=In=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ge=!0),e.firstContext=null)}function lt(e){var t=e._currentValue;if(Qi!==e)if(e={context:e,memoizedValue:t,next:null},In===null){if(al===null)throw Error(s(308));In=e,al.dependencies={lanes:0,firstContext:e}}else In=In.next=e;return t}var nn=null;function Yi(e){nn===null?nn=[e]:nn.push(e)}function Ru(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Yi(t)):(n.next=l.next,l.next=n),t.interleaved=n,Pt(e,r)}function Pt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Wt=!1;function Xi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function It(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(K&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Pt(e,n)}return l=r.interleaved,l===null?(t.next=t,Yi(r)):(t.next=l.next,l.next=t),r.interleaved=t,Pt(e,n)}function cl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ai(e,n)}}function Mu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fl(e,t,n,r){var l=e.updateQueue;Wt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var c=u,m=c.next;c.next=null,o===null?i=m:o.next=m,o=c;var S=e.alternate;S!==null&&(S=S.updateQueue,u=S.lastBaseUpdate,u!==o&&(u===null?S.firstBaseUpdate=m:u.next=m,S.lastBaseUpdate=c))}if(i!==null){var k=l.baseState;o=0,S=m=c=null,u=i;do{var y=u.lane,_=u.eventTime;if((r&y)===y){S!==null&&(S=S.next={eventTime:_,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var N=e,O=u;switch(y=t,_=n,O.tag){case 1:if(N=O.payload,typeof N=="function"){k=N.call(_,k,y);break e}k=N;break e;case 3:N.flags=N.flags&-65537|128;case 0:if(N=O.payload,y=typeof N=="function"?N.call(_,k,y):N,y==null)break e;k=I({},k,y);break e;case 2:Wt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,y=l.effects,y===null?l.effects=[u]:y.push(u))}else _={eventTime:_,lane:y,tag:u.tag,payload:u.payload,callback:u.callback,next:null},S===null?(m=S=_,c=k):S=S.next=_,o|=y;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;y=u,u=y.next,y.next=null,l.lastBaseUpdate=y,l.shared.pending=null}}while(!0);if(S===null&&(c=k),l.baseState=c,l.firstBaseUpdate=m,l.lastBaseUpdate=S,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);on|=o,e.lanes=o,e.memoizedState=k}}function Fu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(s(191,l));l.call(r)}}}var pr={},wt=jt(pr),hr=jt(pr),mr=jt(pr);function rn(e){if(e===pr)throw Error(s(174));return e}function Zi(e,t){switch(re(mr,t),re(hr,e),re(wt,pr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Jl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Jl(t,e)}oe(wt),re(wt,t)}function On(){oe(wt),oe(hr),oe(mr)}function Du(e){rn(mr.current);var t=rn(wt.current),n=Jl(t,e.type);t!==n&&(re(hr,e),re(wt,n))}function Ji(e){hr.current===e&&(oe(wt),oe(hr))}var fe=jt(0);function dl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))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}var qi=[];function bi(){for(var e=0;e<qi.length;e++)qi[e]._workInProgressVersionPrimary=null;qi.length=0}var pl=we.ReactCurrentDispatcher,eo=we.ReactCurrentBatchConfig,ln=0,de=null,xe=null,Pe=null,hl=!1,gr=!1,vr=0,Gf=0;function De(){throw Error(s(321))}function to(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ct(e[n],t[n]))return!1;return!0}function no(e,t,n,r,l,i){if(ln=i,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pl.current=e===null||e.memoizedState===null?Jf:qf,e=n(r,l),gr){i=0;do{if(gr=!1,vr=0,25<=i)throw Error(s(301));i+=1,Pe=xe=null,t.updateQueue=null,pl.current=bf,e=n(r,l)}while(gr)}if(pl.current=vl,t=xe!==null&&xe.next!==null,ln=0,Pe=xe=de=null,hl=!1,t)throw Error(s(300));return e}function ro(){var e=vr!==0;return vr=0,e}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?de.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function it(){if(xe===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=xe.next;var t=Pe===null?de.memoizedState:Pe.next;if(t!==null)Pe=t,xe=e;else{if(e===null)throw Error(s(310));xe=e,e={memoizedState:xe.memoizedState,baseState:xe.baseState,baseQueue:xe.baseQueue,queue:xe.queue,next:null},Pe===null?de.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function yr(e,t){return typeof t=="function"?t(e):t}function lo(e){var t=it(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=xe,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var u=o=null,c=null,m=i;do{var S=m.lane;if((ln&S)===S)c!==null&&(c=c.next={lane:0,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null}),r=m.hasEagerState?m.eagerState:e(r,m.action);else{var k={lane:S,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null};c===null?(u=c=k,o=r):c=c.next=k,de.lanes|=S,on|=S}m=m.next}while(m!==null&&m!==i);c===null?o=r:c.next=u,ct(r,t.memoizedState)||(Ge=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,de.lanes|=i,on|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function io(e){var t=it(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);ct(i,t.memoizedState)||(Ge=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Au(){}function Uu(e,t){var n=de,r=it(),l=t(),i=!ct(r.memoizedState,l);if(i&&(r.memoizedState=l,Ge=!0),r=r.queue,oo(Hu.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,wr(9,Bu.bind(null,n,r,l,t),void 0,null),Ie===null)throw Error(s(349));(ln&30)!==0||ju(n,t,l)}return l}function ju(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Bu(e,t,n,r){t.value=n,t.getSnapshot=r,Wu(t)&&Vu(e)}function Hu(e,t,n){return n(function(){Wu(t)&&Vu(e)})}function Wu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ct(e,n)}catch{return!0}}function Vu(e){var t=Pt(e,1);t!==null&&mt(t,e,1,-1)}function Qu(e){var t=St();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yr,lastRenderedState:e},t.queue=e,e=e.dispatch=Zf.bind(null,de,e),[t.memoizedState,e]}function wr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function $u(){return it().memoizedState}function ml(e,t,n,r){var l=St();de.flags|=e,l.memoizedState=wr(1|t,n,void 0,r===void 0?null:r)}function gl(e,t,n,r){var l=it();r=r===void 0?null:r;var i=void 0;if(xe!==null){var o=xe.memoizedState;if(i=o.destroy,r!==null&&to(r,o.deps)){l.memoizedState=wr(t,n,i,r);return}}de.flags|=e,l.memoizedState=wr(1|t,n,i,r)}function Ku(e,t){return ml(8390656,8,e,t)}function oo(e,t){return gl(2048,8,e,t)}function Gu(e,t){return gl(4,2,e,t)}function Yu(e,t){return gl(4,4,e,t)}function Xu(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Zu(e,t,n){return n=n!=null?n.concat([e]):null,gl(4,4,Xu.bind(null,t,e),n)}function so(){}function Ju(e,t){var n=it();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&to(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qu(e,t){var n=it();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&to(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function bu(e,t,n){return(ln&21)===0?(e.baseState&&(e.baseState=!1,Ge=!0),e.memoizedState=n):(ct(n,t)||(n=Is(),de.lanes|=n,on|=n,e.baseState=!0),t)}function Yf(e,t){var n=b;b=n!==0&&4>n?n:4,e(!0);var r=eo.transition;eo.transition={};try{e(!1),t()}finally{b=n,eo.transition=r}}function ea(){return it().memoizedState}function Xf(e,t,n){var r=Gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ta(e))na(t,n);else if(n=Ru(e,t,n,r),n!==null){var l=We();mt(n,e,r,l),ra(n,t,r)}}function Zf(e,t,n){var r=Gt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ta(e))na(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,ct(u,o)){var c=t.interleaved;c===null?(l.next=l,Yi(t)):(l.next=c.next,c.next=l),t.interleaved=l;return}}catch{}n=Ru(e,t,l,r),n!==null&&(l=We(),mt(n,e,r,l),ra(n,t,r))}}function ta(e){var t=e.alternate;return e===de||t!==null&&t===de}function na(e,t){gr=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ra(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ai(e,n)}}var vl={readContext:lt,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},Jf={readContext:lt,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Ku,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ml(4194308,4,Xu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ml(4194308,4,e,t)},useInsertionEffect:function(e,t){return ml(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Xf.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:Qu,useDebugValue:so,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=Qu(!1),t=e[0];return e=Yf.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,l=St();if(ae){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Ie===null)throw Error(s(349));(ln&30)!==0||ju(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ku(Hu.bind(null,r,i,e),[e]),r.flags|=2048,wr(9,Bu.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=St(),t=Ie.identifierPrefix;if(ae){var n=Lt,r=_t;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Gf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},qf={readContext:lt,useCallback:Ju,useContext:lt,useEffect:oo,useImperativeHandle:Zu,useInsertionEffect:Gu,useLayoutEffect:Yu,useMemo:qu,useReducer:lo,useRef:$u,useState:function(){return lo(yr)},useDebugValue:so,useDeferredValue:function(e){var t=it();return bu(t,xe.memoizedState,e)},useTransition:function(){var e=lo(yr)[0],t=it().memoizedState;return[e,t]},useMutableSource:Au,useSyncExternalStore:Uu,useId:ea,unstable_isNewReconciler:!1},bf={readContext:lt,useCallback:Ju,useContext:lt,useEffect:oo,useImperativeHandle:Zu,useInsertionEffect:Gu,useLayoutEffect:Yu,useMemo:qu,useReducer:io,useRef:$u,useState:function(){return io(yr)},useDebugValue:so,useDeferredValue:function(e){var t=it();return xe===null?t.memoizedState=e:bu(t,xe.memoizedState,e)},useTransition:function(){var e=io(yr)[0],t=it().memoizedState;return[e,t]},useMutableSource:Au,useSyncExternalStore:Uu,useId:ea,unstable_isNewReconciler:!1};function dt(e,t){if(e&&e.defaultProps){t=I({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function uo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:I({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var yl={isMounted:function(e){return(e=e._reactInternals)?Jt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=We(),l=Gt(e),i=It(r,l);i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(mt(t,e,l,r),cl(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=We(),l=Gt(e),i=It(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,l),t!==null&&(mt(t,e,l,r),cl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=We(),r=Gt(e),l=It(n,r);l.tag=2,t!=null&&(l.callback=t),t=Vt(e,l,r),t!==null&&(mt(t,e,r,n),cl(t,e,r))}};function la(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!ir(n,r)||!ir(l,i):!0}function ia(e,t,n){var r=!1,l=Bt,i=t.contextType;return typeof i=="object"&&i!==null?i=lt(i):(l=Ke(t)?bt:Fe.current,r=t.contextTypes,i=(r=r!=null)?Cn(e,l):Bt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=yl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function oa(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yl.enqueueReplaceState(t,t.state,null)}function ao(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Xi(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=lt(i):(i=Ke(t)?bt:Fe.current,l.context=Cn(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(uo(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&yl.enqueueReplaceState(l,l.state,null),fl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Rn(e,t){try{var n="",r=t;do n+=Y(r),r=r.return;while(r);var l=n}catch(i){l=`
8
8
  Error generating stack: `+i.message+`
9
- `+i.stack}return{value:e,source:t,stack:l,digest:null}}function co(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function fo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Xf=typeof WeakMap=="function"?WeakMap:Map;function ia(e,t,n){n=Nt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Tl||(Tl=!0,Lo=r),fo(e,t)},n}function oa(e,t,n){n=Nt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){fo(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){fo(e,t),typeof r!="function"&&($t===null?$t=new Set([this]):$t.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function sa(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Xf;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=ad.bind(null,e,t,n),t.then(e,e))}function ua(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function aa(e,t,n,r,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Nt(-1,1),t.tag=2,Vt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var Zf=he.ReactCurrentOwner,$e=!1;function Be(e,t,n,r){t.child=e===null?Nu(t,null,n,r):Pn(t,e.child,n,r)}function ca(e,t,n,r,l){n=n.render;var i=t.ref;return In(t,l),r=no(e,t,n,r,i,l),n=ro(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,It(e,t,l)):(ce&&n&&Ui(t),t.flags|=1,Be(e,t,r,l),t.child)}function fa(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Mo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,da(e,t,i,r,l)):(e=Ol(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&l)===0){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:ir,n(o,r)&&e.ref===t.ref)return It(e,t,l)}return t.flags|=1,e=Xt(i,r),e.ref=t.ref,e.return=t,t.child=e}function da(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(ir(i,r)&&e.ref===t.ref)if($e=!1,t.pendingProps=r=i,(e.lanes&l)!==0)(e.flags&131072)!==0&&($e=!0);else return t.lanes=e.lanes,It(e,t,l)}return po(e,t,n,r,l)}function pa(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(Mn,be),be|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(Mn,be),be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(Mn,be),be|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(Mn,be),be|=r;return Be(e,t,l,n),t.child}function ha(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function po(e,t,n,r,l){var i=Qe(n)?bt:Me.current;return i=Cn(t,i),In(t,l),n=no(e,t,n,r,i,l),r=ro(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,It(e,t,l)):(ce&&r&&Ui(t),t.flags|=1,Be(e,t,n,l),t.child)}function ma(e,t,n,r,l){if(Qe(n)){var i=!0;nl(t)}else i=!1;if(In(t,l),t.stateNode===null)Sl(e,t),ra(t,n,r),ao(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var c=o.context,m=n.contextType;typeof m=="object"&&m!==null?m=lt(m):(m=Qe(n)?bt:Me.current,m=Cn(t,m));var w=n.getDerivedStateFromProps,S=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function";S||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||c!==m)&&la(t,o,r,m),Wt=!1;var v=t.memoizedState;o.state=v,fl(t,r,o,l),c=t.memoizedState,u!==r||v!==c||Ve.current||Wt?(typeof w=="function"&&(uo(t,n,w,r),c=t.memoizedState),(u=Wt||na(t,n,u,r,v,c,m))?(S||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=m,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Ou(e,t),u=t.memoizedProps,m=t.type===t.elementType?u:dt(t.type,u),o.props=m,S=t.pendingProps,v=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=lt(c):(c=Qe(n)?bt:Me.current,c=Cn(t,c));var T=n.getDerivedStateFromProps;(w=typeof T=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==S||v!==c)&&la(t,o,r,c),Wt=!1,v=t.memoizedState,o.state=v,fl(t,r,o,l);var I=t.memoizedState;u!==S||v!==I||Ve.current||Wt?(typeof T=="function"&&(uo(t,n,T,r),I=t.memoizedState),(m=Wt||na(t,n,m,r,v,I,c)||!1)?(w||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,I,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,I,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=I),o.props=r,o.state=I,o.context=c,r=m):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return ho(e,t,n,r,i,l)}function ho(e,t,n,r,l,i){ha(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Su(t,n,!1),It(e,t,i);r=t.stateNode,Zf.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Pn(t,e.child,null,i),t.child=Pn(t,null,u,i)):Be(e,t,u,i),t.memoizedState=r.state,l&&Su(t,n,!0),t.child}function ga(e){var t=e.stateNode;t.pendingContext?yu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yu(e,t.context,!1),Zi(e,t.containerInfo)}function va(e,t,n,r,l){return Ln(),Vi(l),t.flags|=256,Be(e,t,n,r),t.child}var mo={dehydrated:null,treeContext:null,retryLane:0};function go(e){return{baseLanes:e,cachePool:null,transitions:null}}function ya(e,t,n){var r=t.pendingProps,l=fe.current,i=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ie(fe,l&1),e===null)return Wi(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Rl(o,r,0,null),e=cn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=go(n),t.memoizedState=mo,e):vo(t,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return Jf(e,t,o,r,u,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,u=l.sibling;var c={mode:"hidden",children:r.children};return(o&1)===0&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Xt(l,c),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?i=Xt(u,i):(i=cn(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?go(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=mo,r}return i=e.child,e=i.sibling,r=Xt(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function vo(e,t){return t=Rl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function wl(e,t,n,r){return r!==null&&Vi(r),Pn(t,e.child,null,n),e=vo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Jf(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=co(Error(s(422))),wl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Rl({mode:"visible",children:r.children},l,0,null),i=cn(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Pn(t,e.child,null,o),t.child.memoizedState=go(o),t.memoizedState=mo,i);if((t.mode&1)===0)return wl(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(s(419)),r=co(i,r,void 0),wl(e,t,o,r)}if(u=(o&e.childLanes)!==0,$e||u){if(r=_e,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=(l&(r.suspendedLanes|o))!==0?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Pt(e,l),mt(r,e,l,-1))}return zo(),r=co(Error(s(421))),wl(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=cd.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,qe=jt(l.nextSibling),Je=t,ce=!0,ft=null,e!==null&&(nt[rt++]=_t,nt[rt++]=Lt,nt[rt++]=en,_t=e.id,Lt=e.overflow,en=t),t=vo(t,r.children),t.flags|=4096,t)}function wa(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Gi(e.return,t,n)}function yo(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function Sa(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(Be(e,t,r.children,n),r=fe.current,(r&2)!==0)r=r&1|2,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&&wa(e,n,t);else if(e.tag===19)wa(e,n,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}r&=1}if(ie(fe,r),(t.mode&1)===0)t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&dl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),yo(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&dl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}yo(t,!0,n,null,i);break;case"together":yo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Sl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function It(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),on|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function qf(e,t,n){switch(t.tag){case 3:ga(t),Ln();break;case 5:Mu(t);break;case 1:Qe(t.type)&&nl(t);break;case 4:Zi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;ie(ul,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(fe,fe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?ya(e,t,n):(ie(fe,fe.current&1),e=It(e,t,n),e!==null?e.sibling:null);ie(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return Sa(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ie(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,pa(e,t,n)}return It(e,t,n)}var ka,wo,Ea,xa;ka=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},wo=function(){},Ea=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,rn(wt.current);var i=null;switch(n){case"input":l=Gl(e,l),r=Gl(e,r),i=[];break;case"select":l=N({},l,{value:void 0}),r=N({},r,{value:void 0}),i=[];break;case"textarea":l=Zl(e,l),r=Zl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=br)}ql(n,r);var o;n=null;for(m in l)if(!r.hasOwnProperty(m)&&l.hasOwnProperty(m)&&l[m]!=null)if(m==="style"){var u=l[m];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else m!=="dangerouslySetInnerHTML"&&m!=="children"&&m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(x.hasOwnProperty(m)?i||(i=[]):(i=i||[]).push(m,null));for(m in r){var c=r[m];if(u=l?.[m],r.hasOwnProperty(m)&&c!==u&&(c!=null||u!=null))if(m==="style")if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(m,n)),n=c;else m==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,u=u?u.__html:void 0,c!=null&&u!==c&&(i=i||[]).push(m,c)):m==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(m,""+c):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&(x.hasOwnProperty(m)?(c!=null&&m==="onScroll"&&oe("scroll",e),i||u===c||(i=[])):(i=i||[]).push(m,c))}n&&(i=i||[]).push("style",n);var m=i;(t.updateQueue=m)&&(t.flags|=4)}},xa=function(e,t,n,r){n!==r&&(t.flags|=4)};function Sr(e,t){if(!ce)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function De(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function bf(e,t,n){var r=t.pendingProps;switch(Bi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return Qe(t.type)&&tl(),De(t),null;case 3:return r=t.stateNode,On(),se(Ve),se(Me),bi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ol(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ft!==null&&(Io(ft),ft=null))),wo(e,t),De(t),null;case 5:Ji(t);var l=rn(mr.current);if(n=t.type,e!==null&&t.stateNode!=null)Ea(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(s(166));return De(t),null}if(e=rn(wt.current),ol(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[yt]=t,r[cr]=i,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(l=0;l<sr.length;l++)oe(sr[l],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":rs(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":os(r,i),oe("invalid",r)}ql(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var u=i[o];o==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),l=["children",""+u]):x.hasOwnProperty(o)&&u!=null&&o==="onScroll"&&oe("scroll",r)}switch(n){case"input":Nr(r),is(r,i,!0);break;case"textarea":Nr(r),us(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=br)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=as(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[yt]=t,e[cr]=r,ka(e,t,!1,!1),t.stateNode=e;e:{switch(o=bl(n,r),n){case"dialog":oe("cancel",e),oe("close",e),l=r;break;case"iframe":case"object":case"embed":oe("load",e),l=r;break;case"video":case"audio":for(l=0;l<sr.length;l++)oe(sr[l],e);l=r;break;case"source":oe("error",e),l=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),l=r;break;case"details":oe("toggle",e),l=r;break;case"input":rs(e,r),l=Gl(e,r),oe("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=N({},r,{value:void 0}),oe("invalid",e);break;case"textarea":os(e,r),l=Zl(e,r),oe("invalid",e);break;default:l=r}ql(n,l),u=l;for(i in u)if(u.hasOwnProperty(i)){var c=u[i];i==="style"?ds(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&cs(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Wn(e,c):typeof c=="number"&&Wn(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(x.hasOwnProperty(i)?c!=null&&i==="onScroll"&&oe("scroll",e):c!=null&&Oe(e,i,c,o))}switch(n){case"input":Nr(e),is(e,r,!1);break;case"textarea":Nr(e),us(e);break;case"option":r.value!=null&&e.setAttribute("value",""+te(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?dn(e,!!r.multiple,i,!1):r.defaultValue!=null&&dn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=br)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return De(t),null;case 6:if(e&&t.stateNode!=null)xa(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(s(166));if(n=rn(mr.current),rn(wt.current),ol(t)){if(r=t.stateNode,n=t.memoizedProps,r[yt]=t,(i=r.nodeValue!==n)&&(e=Je,e!==null))switch(e.tag){case 3:qr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[yt]=t,t.stateNode=r}return De(t),null;case 13:if(se(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&qe!==null&&(t.mode&1)!==0&&(t.flags&128)===0)_u(),Ln(),t.flags|=98560,i=!1;else if(i=ol(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(s(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));i[yt]=t}else Ln(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),i=!1}else ft!==null&&(Io(ft),ft=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(fe.current&1)!==0?Ee===0&&(Ee=3):zo())),t.updateQueue!==null&&(t.flags|=4),De(t),null);case 4:return On(),wo(e,t),e===null&&ur(t.stateNode.containerInfo),De(t),null;case 10:return Ki(t.type._context),De(t),null;case 17:return Qe(t.type)&&tl(),De(t),null;case 19:if(se(fe),i=t.memoizedState,i===null)return De(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Sr(i,!1);else{if(Ee!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=dl(e),o!==null){for(t.flags|=128,Sr(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(fe,fe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ge()>Fn&&(t.flags|=128,r=!0,Sr(i,!1),t.lanes=4194304)}else{if(!r)if(e=dl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Sr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ce)return De(t),null}else 2*ge()-i.renderingStartTime>Fn&&n!==1073741824&&(t.flags|=128,r=!0,Sr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ge(),t.sibling=null,n=fe.current,ie(fe,r?n&1|2:n&1),t):(De(t),null);case 22:case 23:return Ro(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(be&1073741824)!==0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function ed(e,t){switch(Bi(t),t.tag){case 1:return Qe(t.type)&&tl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(),se(Ve),se(Me),bi(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Ji(t),null;case 13:if(se(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(fe),null;case 4:return On(),null;case 10:return Ki(t.type._context),null;case 22:case 23:return Ro(),null;case 24:return null;default:return null}}var kl=!1,Ae=!1,td=typeof WeakSet=="function"?WeakSet:Set,L=null;function zn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function So(e,t,n){try{n()}catch(r){pe(e,t,r)}}var Ca=!1;function nd(e,t){if(Oi=Hr,e=nu(),xi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,c=-1,m=0,w=0,S=e,v=null;t:for(;;){for(var T;S!==n||l!==0&&S.nodeType!==3||(u=o+l),S!==i||r!==0&&S.nodeType!==3||(c=o+r),S.nodeType===3&&(o+=S.nodeValue.length),(T=S.firstChild)!==null;)v=S,S=T;for(;;){if(S===e)break t;if(v===n&&++m===l&&(u=o),v===i&&++w===r&&(c=o),(T=S.nextSibling)!==null)break;S=v,v=S.parentNode}S=T}n=u===-1||c===-1?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ri={focusedElem:e,selectionRange:n},Hr=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var I=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(I!==null){var O=I.memoizedProps,ve=I.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?O:dt(t.type,O),ve);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(E){pe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return I=Ca,Ca=!1,I}function kr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&So(t,n,i)}l=l.next}while(l!==r)}}function El(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ko(e){var t=e.ref;if(t!==null){var n=e.stateNode;e.tag,e=n,typeof t=="function"?t(e):t.current=e}}function Ta(e){var t=e.alternate;t!==null&&(e.alternate=null,Ta(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[cr],delete t[Di],delete t[jf],delete t[Uf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function _a(e){return e.tag===5||e.tag===3||e.tag===4}function La(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_a(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.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 Eo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=br));else if(r!==4&&(e=e.child,e!==null))for(Eo(e,t,n),e=e.sibling;e!==null;)Eo(e,t,n),e=e.sibling}function xo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(xo(e,t,n),e=e.sibling;e!==null;)xo(e,t,n),e=e.sibling}var Ne=null,pt=!1;function Qt(e,t,n){for(n=n.child;n!==null;)Pa(e,t,n),n=n.sibling}function Pa(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(Fr,n)}catch{}switch(n.tag){case 5:Ae||zn(n,t);case 6:var r=Ne,l=pt;Ne=null,Qt(e,t,n),Ne=r,pt=l,Ne!==null&&(pt?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(pt?(e=Ne,n=n.stateNode,e.nodeType===8?Fi(e.parentNode,n):e.nodeType===1&&Fi(e,n),bn(e)):Fi(Ne,n.stateNode));break;case 4:r=Ne,l=pt,Ne=n.stateNode.containerInfo,pt=!0,Qt(e,t,n),Ne=r,pt=l;break;case 0:case 11:case 14:case 15:if(!Ae&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&((i&2)!==0||(i&4)!==0)&&So(n,t,o),l=l.next}while(l!==r)}Qt(e,t,n);break;case 1:if(!Ae&&(zn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){pe(n,t,u)}Qt(e,t,n);break;case 21:Qt(e,t,n);break;case 22:n.mode&1?(Ae=(r=Ae)||n.memoizedState!==null,Qt(e,t,n),Ae=r):Qt(e,t,n);break;default:Qt(e,t,n)}}function Na(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new td),t.forEach(function(r){var l=fd.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ht(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,u=o;e:for(;u!==null;){switch(u.tag){case 5:Ne=u.stateNode,pt=!1;break e;case 3:Ne=u.stateNode.containerInfo,pt=!0;break e;case 4:Ne=u.stateNode.containerInfo,pt=!0;break e}u=u.return}if(Ne===null)throw Error(s(160));Pa(i,o,l),Ne=null,pt=!1;var c=l.alternate;c!==null&&(c.return=null),l.return=null}catch(m){pe(l,t,m)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ia(t,e),t=t.sibling}function Ia(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ht(t,e),kt(e),r&4){try{kr(3,e,e.return),El(3,e)}catch(O){pe(e,e.return,O)}try{kr(5,e,e.return)}catch(O){pe(e,e.return,O)}}break;case 1:ht(t,e),kt(e),r&512&&n!==null&&zn(n,n.return);break;case 5:if(ht(t,e),kt(e),r&512&&n!==null&&zn(n,n.return),e.flags&32){var l=e.stateNode;try{Wn(l,"")}catch(O){pe(e,e.return,O)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,u=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&ls(l,i),bl(u,o);var m=bl(u,i);for(o=0;o<c.length;o+=2){var w=c[o],S=c[o+1];w==="style"?ds(l,S):w==="dangerouslySetInnerHTML"?cs(l,S):w==="children"?Wn(l,S):Oe(l,w,S,m)}switch(u){case"input":Yl(l,i);break;case"textarea":ss(l,i);break;case"select":var v=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var T=i.value;T!=null?dn(l,!!i.multiple,T,!1):v!==!!i.multiple&&(i.defaultValue!=null?dn(l,!!i.multiple,i.defaultValue,!0):dn(l,!!i.multiple,i.multiple?[]:"",!1))}l[cr]=i}catch(O){pe(e,e.return,O)}}break;case 6:if(ht(t,e),kt(e),r&4){if(e.stateNode===null)throw Error(s(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(O){pe(e,e.return,O)}}break;case 3:if(ht(t,e),kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(O){pe(e,e.return,O)}break;case 4:ht(t,e),kt(e);break;case 13:ht(t,e),kt(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(_o=ge())),r&4&&Na(e);break;case 22:if(w=n!==null&&n.memoizedState!==null,e.mode&1?(Ae=(m=Ae)||w,ht(t,e),Ae=m):ht(t,e),kt(e),r&8192){if(m=e.memoizedState!==null,(e.stateNode.isHidden=m)&&!w&&(e.mode&1)!==0)for(L=e,w=e.child;w!==null;){for(S=L=w;L!==null;){switch(v=L,T=v.child,v.tag){case 0:case 11:case 14:case 15:kr(4,v,v.return);break;case 1:zn(v,v.return);var I=v.stateNode;if(typeof I.componentWillUnmount=="function"){r=v,n=v.return;try{t=r,I.props=t.memoizedProps,I.state=t.memoizedState,I.componentWillUnmount()}catch(O){pe(r,n,O)}}break;case 5:zn(v,v.return);break;case 22:if(v.memoizedState!==null){za(S);continue}}T!==null?(T.return=v,L=T):za(S)}w=w.sibling}e:for(w=null,S=e;;){if(S.tag===5){if(w===null){w=S;try{l=S.stateNode,m?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=S.stateNode,c=S.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,u.style.display=fs("display",o))}catch(O){pe(e,e.return,O)}}}else if(S.tag===6){if(w===null)try{S.stateNode.nodeValue=m?"":S.memoizedProps}catch(O){pe(e,e.return,O)}}else if((S.tag!==22&&S.tag!==23||S.memoizedState===null||S===e)&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===e)break e;for(;S.sibling===null;){if(S.return===null||S.return===e)break e;w===S&&(w=null),S=S.return}w===S&&(w=null),S.sibling.return=S.return,S=S.sibling}}break;case 19:ht(t,e),kt(e),r&4&&Na(e);break;case 21:break;default:ht(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(_a(n)){var r=n;break e}n=n.return}throw Error(s(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Wn(l,""),r.flags&=-33);var i=La(e);xo(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,u=La(e);Eo(e,u,o);break;default:throw Error(s(161))}}catch(c){pe(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rd(e,t,n){L=e,Oa(e)}function Oa(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var l=L,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||kl;if(!o){var u=l.alternate,c=u!==null&&u.memoizedState!==null||Ae;u=kl;var m=Ae;if(kl=o,(Ae=c)&&!m)for(L=l;L!==null;)o=L,c=o.child,o.tag===22&&o.memoizedState!==null?Ma(l):c!==null?(c.return=o,L=c):Ma(l);for(;i!==null;)L=i,Oa(i),i=i.sibling;L=l,kl=u,Ae=m}Ra(e)}else(l.subtreeFlags&8772)!==0&&i!==null?(i.return=l,L=i):Ra(e)}}function Ra(e){for(;L!==null;){var t=L;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ae||El(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ae)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:dt(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&zu(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}zu(t,o,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var m=t.alternate;if(m!==null){var w=m.memoizedState;if(w!==null){var S=w.dehydrated;S!==null&&bn(S)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}Ae||t.flags&512&&ko(t)}catch(v){pe(t,t.return,v)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function za(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Ma(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{El(4,t)}catch(c){pe(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(c){pe(t,l,c)}}var i=t.return;try{ko(t)}catch(c){pe(t,i,c)}break;case 5:var o=t.return;try{ko(t)}catch(c){pe(t,o,c)}}}catch(c){pe(t,t.return,c)}if(t===e){L=null;break}var u=t.sibling;if(u!==null){u.return=t.return,L=u;break}L=t.return}}var ld=Math.ceil,xl=he.ReactCurrentDispatcher,Co=he.ReactCurrentOwner,ot=he.ReactCurrentBatchConfig,K=0,_e=null,Se=null,Ie=0,be=0,Mn=Ut(0),Ee=0,Er=null,on=0,Cl=0,To=0,xr=null,Ke=null,_o=0,Fn=1/0,Ot=null,Tl=!1,Lo=null,$t=null,_l=!1,Kt=null,Ll=0,Cr=0,Po=null,Pl=-1,Nl=0;function He(){return(K&6)!==0?ge():Pl!==-1?Pl:Pl=ge()}function Gt(e){return(e.mode&1)===0?1:(K&2)!==0&&Ie!==0?Ie&-Ie:Hf.transition!==null?(Nl===0&&(Nl=Ls()),Nl):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Ds(e.type)),e)}function mt(e,t,n,r){if(50<Cr)throw Cr=0,Po=null,Error(s(185));Yn(e,n,r),((K&2)===0||e!==_e)&&(e===_e&&((K&2)===0&&(Cl|=n),Ee===4&&Yt(e,Ie)),Ge(e,r),n===1&&K===0&&(t.mode&1)===0&&(Fn=ge()+500,rl&&Ht()))}function Ge(e,t){var n=e.callbackNode;Bc(e,t);var r=jr(e,e===_e?Ie:0);if(r===0)n!==null&&Cs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Cs(n),t===1)e.tag===0?Bf(Da.bind(null,e)):ku(Da.bind(null,e)),Df(function(){(K&6)===0&&Ht()}),n=null;else{switch(Ps(r)){case 1:n=oi;break;case 4:n=Ts;break;case 16:n=Mr;break;case 536870912:n=_s;break;default:n=Mr}n=Qa(n,Fa.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Fa(e,t){if(Pl=-1,Nl=0,(K&6)!==0)throw Error(s(327));var n=e.callbackNode;if(Dn()&&e.callbackNode!==n)return null;var r=jr(e,e===_e?Ie:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Il(e,r);else{t=r;var l=K;K|=2;var i=ja();(_e!==e||Ie!==t)&&(Ot=null,Fn=ge()+500,un(e,t));do try{sd();break}catch(u){Aa(e,u)}while(!0);$i(),xl.current=i,K=l,Se!==null?t=0:(_e=null,Ie=0,t=Ee)}if(t!==0){if(t===2&&(l=si(e),l!==0&&(r=l,t=No(e,l))),t===1)throw n=Er,un(e,0),Yt(e,r),Ge(e,ge()),n;if(t===6)Yt(e,r);else{if(l=e.current.alternate,(r&30)===0&&!id(l)&&(t=Il(e,r),t===2&&(i=si(e),i!==0&&(r=i,t=No(e,i))),t===1))throw n=Er,un(e,0),Yt(e,r),Ge(e,ge()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(s(345));case 2:an(e,Ke,Ot);break;case 3:if(Yt(e,r),(r&130023424)===r&&(t=_o+500-ge(),10<t)){if(jr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Mi(an.bind(null,e,Ke,Ot),t);break}an(e,Ke,Ot);break;case 4:if(Yt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-at(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ld(r/1960))-r,10<r){e.timeoutHandle=Mi(an.bind(null,e,Ke,Ot),r);break}an(e,Ke,Ot);break;case 5:an(e,Ke,Ot);break;default:throw Error(s(329))}}}return Ge(e,ge()),e.callbackNode===n?Fa.bind(null,e):null}function No(e,t){var n=xr;return e.current.memoizedState.isDehydrated&&(un(e,t).flags|=256),e=Il(e,t),e!==2&&(t=Ke,Ke=n,t!==null&&Io(t)),e}function Io(e){Ke===null?Ke=e:Ke.push.apply(Ke,e)}function id(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!ct(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 Yt(e,t){for(t&=~To,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function Da(e){if((K&6)!==0)throw Error(s(327));Dn();var t=jr(e,0);if((t&1)===0)return Ge(e,ge()),null;var n=Il(e,t);if(e.tag!==0&&n===2){var r=si(e);r!==0&&(t=r,n=No(e,r))}if(n===1)throw n=Er,un(e,0),Yt(e,t),Ge(e,ge()),n;if(n===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,an(e,Ke,Ot),Ge(e,ge()),null}function Oo(e,t){var n=K;K|=1;try{return e(t)}finally{K=n,K===0&&(Fn=ge()+500,rl&&Ht())}}function sn(e){Kt!==null&&Kt.tag===0&&(K&6)===0&&Dn();var t=K;K|=1;var n=ot.transition,r=ne;try{if(ot.transition=null,ne=1,e)return e()}finally{ne=r,ot.transition=n,K=t,(K&6)===0&&Ht()}}function Ro(){be=Mn.current,se(Mn)}function un(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ff(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(Bi(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&tl();break;case 3:On(),se(Ve),se(Me),bi();break;case 5:Ji(r);break;case 4:On();break;case 13:se(fe);break;case 19:se(fe);break;case 10:Ki(r.type._context);break;case 22:case 23:Ro()}n=n.return}if(_e=e,Se=e=Xt(e.current,null),Ie=be=t,Ee=0,Er=null,To=Cl=on=0,Ke=xr=null,nn!==null){for(t=0;t<nn.length;t++)if(n=nn[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}nn=null}return e}function Aa(e,t){do{var n=Se;try{if($i(),pl.current=vl,hl){for(var r=de.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}hl=!1}if(ln=0,Te=ke=de=null,gr=!1,vr=0,Co.current=null,n===null||n.return===null){Ee=1,Er=t,Se=null;break}e:{var i=e,o=n.return,u=n,c=t;if(t=Ie,u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var m=c,w=u,S=w.tag;if((w.mode&1)===0&&(S===0||S===11||S===15)){var v=w.alternate;v?(w.updateQueue=v.updateQueue,w.memoizedState=v.memoizedState,w.lanes=v.lanes):(w.updateQueue=null,w.memoizedState=null)}var T=ua(o);if(T!==null){T.flags&=-257,aa(T,o,u,i,t),T.mode&1&&sa(i,m,t),t=T,c=m;var I=t.updateQueue;if(I===null){var O=new Set;O.add(c),t.updateQueue=O}else I.add(c);break e}else{if((t&1)===0){sa(i,m,t),zo();break e}c=Error(s(426))}}else if(ce&&u.mode&1){var ve=ua(o);if(ve!==null){(ve.flags&65536)===0&&(ve.flags|=256),aa(ve,o,u,i,t),Vi(Rn(c,u));break e}}i=c=Rn(c,u),Ee!==4&&(Ee=2),xr===null?xr=[i]:xr.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=ia(i,c,t);Ru(i,p);break e;case 1:u=c;var f=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&($t===null||!$t.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=oa(i,u,t);Ru(i,E);break e}}i=i.return}while(i!==null)}Ba(n)}catch(R){t=R,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function ja(){var e=xl.current;return xl.current=vl,e===null?vl:e}function zo(){(Ee===0||Ee===3||Ee===2)&&(Ee=4),_e===null||(on&268435455)===0&&(Cl&268435455)===0||Yt(_e,Ie)}function Il(e,t){var n=K;K|=2;var r=ja();(_e!==e||Ie!==t)&&(Ot=null,un(e,t));do try{od();break}catch(l){Aa(e,l)}while(!0);if($i(),K=n,xl.current=r,Se!==null)throw Error(s(261));return _e=null,Ie=0,Ee}function od(){for(;Se!==null;)Ua(Se)}function sd(){for(;Se!==null&&!Oc();)Ua(Se)}function Ua(e){var t=Va(e.alternate,e,be);e.memoizedProps=e.pendingProps,t===null?Ba(e):Se=t,Co.current=null}function Ba(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=bf(n,t,be),n!==null){Se=n;return}}else{if(n=ed(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ee=6,Se=null;return}}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Ee===0&&(Ee=5)}function an(e,t,n){var r=ne,l=ot.transition;try{ot.transition=null,ne=1,ud(e,t,n,r)}finally{ot.transition=l,ne=r}return null}function ud(e,t,n,r){do Dn();while(Kt!==null);if((K&6)!==0)throw Error(s(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Hc(e,i),e===_e&&(Se=_e=null,Ie=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||_l||(_l=!0,Qa(Mr,function(){return Dn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=ot.transition,ot.transition=null;var o=ne;ne=1;var u=K;K|=4,Co.current=null,nd(e,n),Ia(n,e),Pf(Ri),Hr=!!Oi,Ri=Oi=null,e.current=n,rd(n),Rc(),K=u,ne=o,ot.transition=i}else e.current=n;if(_l&&(_l=!1,Kt=e,Ll=l),i=e.pendingLanes,i===0&&($t=null),Fc(n.stateNode),Ge(e,ge()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(Tl)throw Tl=!1,e=Lo,Lo=null,e;return(Ll&1)!==0&&e.tag!==0&&Dn(),i=e.pendingLanes,(i&1)!==0?e===Po?Cr++:(Cr=0,Po=e):Cr=0,Ht(),null}function Dn(){if(Kt!==null){var e=Ps(Ll),t=ot.transition,n=ne;try{if(ot.transition=null,ne=16>e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Ll=0,(K&6)!==0)throw Error(s(331));var l=K;for(K|=4,L=e.current;L!==null;){var i=L,o=i.child;if((L.flags&16)!==0){var u=i.deletions;if(u!==null){for(var c=0;c<u.length;c++){var m=u[c];for(L=m;L!==null;){var w=L;switch(w.tag){case 0:case 11:case 15:kr(8,w,i)}var S=w.child;if(S!==null)S.return=w,L=S;else for(;L!==null;){w=L;var v=w.sibling,T=w.return;if(Ta(w),w===m){L=null;break}if(v!==null){v.return=T,L=v;break}L=T}}}var I=i.alternate;if(I!==null){var O=I.child;if(O!==null){I.child=null;do{var ve=O.sibling;O.sibling=null,O=ve}while(O!==null)}}L=i}}if((i.subtreeFlags&2064)!==0&&o!==null)o.return=i,L=o;else e:for(;L!==null;){if(i=L,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:kr(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,L=p;break e}L=i.return}}var f=e.current;for(L=f;L!==null;){o=L;var h=o.child;if((o.subtreeFlags&2064)!==0&&h!==null)h.return=o,L=h;else e:for(o=f;L!==null;){if(u=L,(u.flags&2048)!==0)try{switch(u.tag){case 0:case 11:case 15:El(9,u)}}catch(R){pe(u,u.return,R)}if(u===o){L=null;break e}var E=u.sibling;if(E!==null){E.return=u.return,L=E;break e}L=u.return}}if(K=l,Ht(),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(Fr,e)}catch{}r=!0}return r}finally{ne=n,ot.transition=t}}return!1}function Ha(e,t,n){t=Rn(n,t),t=ia(e,t,1),e=Vt(e,t,1),t=He(),e!==null&&(Yn(e,1,t),Ge(e,t))}function pe(e,t,n){if(e.tag===3)Ha(e,e,n);else for(;t!==null;){if(t.tag===3){Ha(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&($t===null||!$t.has(r))){e=Rn(n,e),e=oa(t,e,1),t=Vt(t,e,1),e=He(),t!==null&&(Yn(t,1,e),Ge(t,e));break}}t=t.return}}function ad(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,_e===e&&(Ie&n)===n&&(Ee===4||Ee===3&&(Ie&130023424)===Ie&&500>ge()-_o?un(e,0):To|=n),Ge(e,t)}function Wa(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ar,Ar<<=1,(Ar&130023424)===0&&(Ar=4194304)));var n=He();e=Pt(e,t),e!==null&&(Yn(e,t,n),Ge(e,n))}function cd(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Wa(e,n)}function fd(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(s(314))}r!==null&&r.delete(t),Wa(e,n)}var Va;Va=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)$e=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return $e=!1,qf(e,t,n);$e=(e.flags&131072)!==0}else $e=!1,ce&&(t.flags&1048576)!==0&&Eu(t,il,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Sl(e,t),e=t.pendingProps;var l=Cn(t,Me.current);In(t,n),l=no(null,t,r,e,l,n);var i=ro();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(r)?(i=!0,nl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Xi(t),l.updater=yl,t.stateNode=l,l._reactInternals=t,ao(t,r,e,n),t=ho(null,t,r,!0,i,n)):(t.tag=0,ce&&i&&Ui(t),Be(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Sl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=pd(r),e=dt(r,e),l){case 0:t=po(null,t,r,e,n);break e;case 1:t=ma(null,t,r,e,n);break e;case 11:t=ca(null,t,r,e,n);break e;case 14:t=fa(null,t,r,dt(r.type,e),n);break e}throw Error(s(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),po(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),ma(e,t,r,l,n);case 3:e:{if(ga(t),e===null)throw Error(s(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Ou(e,t),fl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Rn(Error(s(423)),t),t=va(e,t,r,n,l);break e}else if(r!==l){l=Rn(Error(s(424)),t),t=va(e,t,r,n,l);break e}else for(qe=jt(t.stateNode.containerInfo.firstChild),Je=t,ce=!0,ft=null,n=Nu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ln(),r===l){t=It(e,t,n);break e}Be(e,t,r,n)}t=t.child}return t;case 5:return Mu(t),e===null&&Wi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,zi(r,l)?o=null:i!==null&&zi(r,i)&&(t.flags|=32),ha(e,t),Be(e,t,o,n),t.child;case 6:return e===null&&Wi(t),null;case 13:return ya(e,t,n);case 4:return Zi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Pn(t,null,r,n):Be(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),ca(e,t,r,l,n);case 7:return Be(e,t,t.pendingProps,n),t.child;case 8:return Be(e,t,t.pendingProps.children,n),t.child;case 12:return Be(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,ie(ul,r._currentValue),r._currentValue=o,i!==null)if(ct(i.value,o)){if(i.children===l.children&&!Ve.current){t=It(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var c=u.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Nt(-1,n&-n),c.tag=2;var m=i.updateQueue;if(m!==null){m=m.shared;var w=m.pending;w===null?c.next=c:(c.next=w.next,w.next=c),m.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Gi(i.return,n,t),u.lanes|=n;break}c=c.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(s(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Gi(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Be(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,In(t,n),l=lt(l),r=r(l),t.flags|=1,Be(e,t,r,n),t.child;case 14:return r=t.type,l=dt(r,t.pendingProps),l=dt(r.type,l),fa(e,t,r,l,n);case 15:return da(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),Sl(e,t),t.tag=1,Qe(r)?(e=!0,nl(t)):e=!1,In(t,n),ra(t,r,l),ao(t,r,l,n),ho(null,t,r,!0,e,n);case 19:return Sa(e,t,n);case 22:return pa(e,t,n)}throw Error(s(156,t.tag))};function Qa(e,t){return xs(e,t)}function dd(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function st(e,t,n,r){return new dd(e,t,n,r)}function Mo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pd(e){if(typeof e=="function")return Mo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===et)return 11;if(e===tt)return 14}return 2}function Xt(e,t){var n=e.alternate;return n===null?(n=st(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ol(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Mo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ce:return cn(n.children,l,i,t);case b:o=8,l|=8;break;case ze:return e=st(12,n,t,l|2),e.elementType=ze,e.lanes=i,e;case Ue:return e=st(13,n,t,l),e.elementType=Ue,e.lanes=i,e;case Ye:return e=st(19,n,t,l),e.elementType=Ye,e.lanes=i,e;case $:return Rl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ut:o=10;break e;case xt:o=9;break e;case et:o=11;break e;case tt:o=14;break e;case re:o=16,r=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=st(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function cn(e,t,n,r){return e=st(7,e,r,t),e.lanes=n,e}function Rl(e,t,n,r){return e=st(22,e,r,t),e.elementType=$,e.lanes=n,e.stateNode={isHidden:!1},e}function Fo(e,t,n){return e=st(6,e,null,t),e.lanes=n,e}function Do(e,t,n){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hd(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ui(0),this.expirationTimes=ui(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ui(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ao(e,t,n,r,l,i,o,u,c){return e=new hd(e,t,n,u,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=st(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xi(i),e}function md(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:me,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function $a(e){if(!e)return Bt;e=e._reactInternals;e:{if(Jt(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var n=e.type;if(Qe(n))return wu(e,n,t)}return t}function Ka(e,t,n,r,l,i,o,u,c){return e=Ao(n,r,!0,e,l,i,o,u,c),e.context=$a(null),n=e.current,r=He(),l=Gt(n),i=Nt(r,l),i.callback=t??null,Vt(n,i,l),e.current.lanes=l,Yn(e,l,r),Ge(e,r),e}function zl(e,t,n,r){var l=t.current,i=He(),o=Gt(l);return n=$a(n),t.context===null?t.context=n:t.pendingContext=n,t=Nt(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vt(l,t,o),e!==null&&(mt(e,l,o,i),cl(e,l,o)),o}function Ml(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Ga(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function jo(e,t){Ga(e,t),(e=e.alternate)&&Ga(e,t)}function gd(){return null}var Ya=typeof reportError=="function"?reportError:function(e){console.error(e)};function Uo(e){this._internalRoot=e}Fl.prototype.render=Uo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));zl(e,t,null,null)},Fl.prototype.unmount=Uo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sn(function(){zl(null,e,null,null)}),t[Ct]=null}};function Fl(e){this._internalRoot=e}Fl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Os();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ft.length&&t!==0&&t<Ft[n].priority;n++);Ft.splice(n,0,e),n===0&&Ms(e)}};function Bo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Dl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Xa(){}function vd(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var m=Ml(o);i.call(m)}}var o=Ka(t,r,e,0,null,!1,!1,"",Xa);return e._reactRootContainer=o,e[Ct]=o.current,ur(e.nodeType===8?e.parentNode:e),sn(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var m=Ml(c);u.call(m)}}var c=Ao(e,0,!1,null,null,!1,!1,"",Xa);return e._reactRootContainer=c,e[Ct]=c.current,ur(e.nodeType===8?e.parentNode:e),sn(function(){zl(t,c,n,r)}),c}function Al(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var u=l;l=function(){var c=Ml(o);u.call(c)}}zl(t,o,e,l)}else o=vd(n,t,e,l,r);return Ml(o)}Ns=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Gn(t.pendingLanes);n!==0&&(ai(t,n|1),Ge(t,ge()),(K&6)===0&&(Fn=ge()+500,Ht()))}break;case 13:sn(function(){var r=Pt(e,1);if(r!==null){var l=He();mt(r,e,1,l)}}),jo(e,1)}},ci=function(e){if(e.tag===13){var t=Pt(e,134217728);if(t!==null){var n=He();mt(t,e,134217728,n)}jo(e,134217728)}},Is=function(e){if(e.tag===13){var t=Gt(e),n=Pt(e,t);if(n!==null){var r=He();mt(n,e,t,r)}jo(e,t)}},Os=function(){return ne},Rs=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}},ni=function(e,t,n){switch(t){case"input":if(Yl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=el(r);if(!l)throw Error(s(90));ns(r),Yl(r,l)}}}break;case"textarea":ss(e,n);break;case"select":t=n.value,t!=null&&dn(e,!!n.multiple,t,!1)}},gs=Oo,vs=sn;var yd={usingClientEntryPoint:!1,Events:[fr,En,el,hs,ms,Oo]},Tr={findFiberByHostInstance:qt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},wd={bundleType:Tr.bundleType,version:Tr.version,rendererPackageName:Tr.rendererPackageName,rendererConfig:Tr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:he.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ks(e),e===null?null:e.stateNode},findFiberByHostInstance:Tr.findFiberByHostInstance||gd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var jl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!jl.isDisabled&&jl.supportsFiber)try{Fr=jl.inject(wd),vt=jl}catch{}}return We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yd,We.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bo(t))throw Error(s(200));return md(e,t,null,n)},We.createRoot=function(e,t){if(!Bo(e))throw Error(s(299));var n=!1,r="",l=Ya;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Ao(e,1,!1,null,null,n,!1,r,l),e[Ct]=t.current,ur(e.nodeType===8?e.parentNode:e),new Uo(t)},We.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=ks(t),e=e===null?null:e.stateNode,e},We.flushSync=function(e){return sn(e)},We.hydrate=function(e,t,n){if(!Dl(t))throw Error(s(200));return Al(null,e,t,!0,n)},We.hydrateRoot=function(e,t,n){if(!Bo(e))throw Error(s(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=Ya;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Ka(t,null,e,1,n??null,l,!1,i,o),e[Ct]=t.current,ur(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Fl(t)},We.render=function(e,t,n){if(!Dl(t))throw Error(s(200));return Al(null,e,t,!1,n)},We.unmountComponentAtNode=function(e){if(!Dl(e))throw Error(s(40));return e._reactRootContainer?(sn(function(){Al(null,null,e,!1,function(){e._reactRootContainer=null,e[Ct]=null})}),!0):!1},We.unstable_batchedUpdates=Oo,We.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Dl(n))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return Al(e,t,n,!1,r)},We.version="18.3.1-next-f1338f8080-20240426",We}var Ko;function tc(){if(Ko)return Hl.exports;Ko=1;function k(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(k)}catch(a){console.error(a)}}return k(),Hl.exports=ec(),Hl.exports}var Go;function nc(){if(Go)return _r;Go=1;var k=tc();return _r.createRoot=k.createRoot,_r.hydrateRoot=k.hydrateRoot,_r}var Yo=nc(),Ql={exports:{}},jn={};var Xo;function rc(){if(Xo)return jn;Xo=1;var k=Bl(),a=Symbol.for("react.element"),s=Symbol.for("react.fragment"),g=Object.prototype.hasOwnProperty,x=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_={key:!0,ref:!0,__self:!0,__source:!0};function z(A,P,V){var Q,H={},G=null,ee=null;V!==void 0&&(G=""+V),P.key!==void 0&&(G=""+P.key),P.ref!==void 0&&(ee=P.ref);for(Q in P)g.call(P,Q)&&!_.hasOwnProperty(Q)&&(H[Q]=P[Q]);if(A&&A.defaultProps)for(Q in P=A.defaultProps,P)H[Q]===void 0&&(H[Q]=P[Q]);return{$$typeof:a,type:A,key:G,ref:ee,props:H,_owner:x.current}}return jn.Fragment=s,jn.jsx=z,jn.jsxs=z,jn}var Zo;function lc(){return Zo||(Zo=1,Ql.exports=rc()),Ql.exports}var xe=lc();const ic='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',oc="--color-brand-secondary",Jo="255 130 0",sc=/^\d{1,3}\s+\d{1,3}\s+\d{1,3}$/,$l=k=>{const a=k.trim(),s=a.split(/\s+/).map(Number);if(sc.test(a)&&s.every(z=>z<=255))return[s[0],s[1],s[2]];const[g,x,_]=Jo.split(" ").map(Number);return[g,x,_]},qo=([k,a,s])=>{const[g,x,_]=[k,a,s].map(z=>{const A=z/255;return A<=.03928?A/12.92:((A+.055)/1.055)**2.4});return .2126*g+.7152*x+.0722*_},uc=qo([26,26,26]),ac=k=>{const a=qo(k),s=(1+.05)/(a+.05);return(a+.05)/(uc+.05)>=s?"#1a1a1a":"#ffffff"},cc={light:{card:"var(--color-system-chrome, #ffffff)",border:"var(--color-system-regular, rgba(120, 120, 128, 0.16))",title:"var(--color-fg-primary, #000000)",sub:"var(--color-fg-secondary, rgba(39, 39, 46, 0.7))",dismiss:"var(--color-fg-secondary, rgba(39, 39, 46, 0.7))"},dark:{card:"var(--color-system-chrome-dark, #2c2c2e)",border:"var(--color-system-regular-dark, rgba(120, 120, 128, 0.32))",title:"var(--color-fg-primary-dark, #ffffff)",sub:"var(--color-fg-secondary-dark, rgba(235, 235, 245, 0.6))",dismiss:"var(--color-fg-secondary-dark, rgba(235, 235, 245, 0.6))"}},fc="(max-width: 720px)",bo=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(fc):null;function dc(){return xe.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[xe.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),xe.jsx("line",{x1:"2",y1:"10",x2:"22",y2:"10"})]})}function pc({zIndex:k,theme:a,brandColor:s,onUpdate:g,onDismiss:x}){const[_,z]=ue.useState(!1),[A,P]=ue.useState(()=>bo()?.matches??!1),V=ue.useRef(null),[Q,H]=ue.useState(()=>$l(Jo));ue.useEffect(()=>{const b=requestAnimationFrame(()=>z(!0));return()=>cancelAnimationFrame(b)},[]),ue.useEffect(()=>{if(s!=null){H($l(s));return}if(!V.current)return;const b=getComputedStyle(V.current).getPropertyValue(oc);H($l(b))},[s]);const G=ue.useRef(!1);ue.useEffect(()=>{if(!_)return;const b=ze=>{ze.key!=="Escape"||ze.defaultPrevented||G.current||(G.current=!0,x())};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[_,x]),ue.useEffect(()=>{const b=bo();if(!b)return;const ze=()=>P(b.matches);return b.addEventListener("change",ze),()=>b.removeEventListener("change",ze)},[]);const ee=cc[a],[Pe,q,Y]=Q,we=`rgb(${Pe}, ${q}, ${Y})`,je=ac(Q),Oe={position:"fixed",top:"16px",left:"50%",width:A?"calc(100% - 32px)":"calc(100% - 48px)",maxWidth:"520px",zIndex:k,opacity:_?1:0,visibility:_?"visible":"hidden",pointerEvents:_?"auto":"none",transform:_?"translateX(-50%) translateY(0)":"translateX(-50%) translateY(-12px)",transition:"opacity 0.3s ease, transform 0.3s ease"},he={display:"flex",alignItems:"center",gap:A?"10px":"14px",padding:A?"12px":"14px 14px 14px 16px",background:ee.card,color:ee.title,borderRadius:"14px",border:`1px solid ${ee.border}`,boxShadow:"0 1px 2px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.18)",fontFamily:ic},Re={display:"flex",alignItems:"center",justifyContent:"center",width:"44px",height:"44px",background:`rgba(${Pe}, ${q}, ${Y}, 0.12)`,color:we,borderRadius:"10px",flexShrink:0},me={flexShrink:0,padding:A?"8px 12px":"12px 18px",background:we,color:je,border:"none",borderRadius:"16px",fontWeight:700,fontSize:A?"12px":"13px",lineHeight:1,cursor:"pointer",fontFamily:"inherit"},Ce={flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",background:"transparent",color:ee.dismiss,border:"none",borderRadius:"50%",fontSize:"16px",lineHeight:1,cursor:"pointer"};return xe.jsx("div",{ref:V,role:"status","aria-live":"polite",style:Oe,children:xe.jsxs("div",{style:he,children:[xe.jsx("div",{style:Re,children:xe.jsx(dc,{})}),xe.jsxs("div",{style:{flex:1,minWidth:0},children:[xe.jsx("div",{style:{fontSize:"14px",fontWeight:700,lineHeight:1.3,marginBottom:"3px"},children:"Reminder to update your gift!"}),xe.jsx("div",{style:{fontSize:"12.5px",color:ee.sub,lineHeight:1.4},children:"Please take a minute to update the gifts on your account for our new giving platform."})]}),xe.jsx("button",{type:"button",style:me,onClick:g,children:"Update"}),xe.jsx("button",{type:"button","aria-label":"Dismiss",style:Ce,onClick:x,children:"✕"})]})})}const hc=360,mc=24;function gc(k,a,s){return k&&!a&&s!=null&&s>0}function vc(k){return Math.max(hc,k+mc)}const Un={EMBED_INIT:"APOLLOS_EMBED_INIT",FULLSCREEN_CHANGED:"APOLLOS_FULLSCREEN_CHANGED",THEME_CHANGED:"APOLLOS_THEME_CHANGED"},Et={EMBED_READY:"APOLLOS_EMBED_READY",EMBED_UPDATE:"APOLLOS_EMBED_UPDATE",NAVIGATION:"APOLLOS_NAVIGATION",REQUEST_CLOSE:"APOLLOS_REQUEST_CLOSE",REQUEST_FULLSCREEN:"APOLLOS_REQUEST_FULLSCREEN",OPEN_EXTERNAL:"APOLLOS_OPEN_EXTERNAL",REQUEST_NAVIGATION:"APOLLOS_REQUEST_NAVIGATION",HEIGHT_CHANGE:"APOLLOS_HEIGHT_CHANGE",MODAL_OPTIONS:"APOLLOS_MODAL_OPTIONS"},Lr={SHOW_MIGRATION_TOAST:"apollos:showMigrationToast",MIGRATION_TOAST_SHOWN:"apollos:migrationToastShown",MIGRATION_TOAST_TAPPED:"apollos:migrationToastTapped",MIGRATION_TOAST_DISMISSED:"apollos:migrationToastDismissed"};function Bn(k,a,s){k.contentWindow&&k.contentWindow.postMessage(a,s)}function yc(k,a){if(k.origin!==a)return!1;const s=k.data;return!s||typeof s!="object"||typeof s.type!="string"?!1:Object.values(Et).includes(s.type)}const es=768;function wc(k){if(!k||typeof k!="object"||Array.isArray(k))return!1;const a=k;return(a.size===void 0||a.size==="default"||a.size==="medium"||a.size==="large"||a.size==="small")&&(a.defaultFullscreen===void 0||typeof a.defaultFullscreen=="boolean")&&(a.fitContent===void 0||typeof a.fitContent=="boolean")}const Sc=({config:k,state:a,onClose:s,onToggleFullscreen:g,onApplyModalOptions:x})=>{const[_,z]=An.useState(!0),[A,P]=An.useState(null),[V,Q]=An.useState(()=>typeof window<"u"&&window.innerWidth>=es),H=ue.useRef(null),G=ue.useRef(a);ue.useEffect(()=>{G.current=a},[a]);const ee=k.baseUrl||"https://apollos.com",Pe=a.currentPath==="/"?"":a.currentPath,q=new URL(`${ee}/${k.slug}${Pe}`);q.searchParams.set("embedMode","modal");const Y=q.toString(),we=new URL(ee).origin,je=a.modalSize==="medium",Oe=a.modalSize==="large",he=a.modalSize==="small",Re=gc(a.modalFitContent,a.isFullscreen,A),me=ue.useCallback(re=>{re.key==="Escape"&&a.isOpen&&(re.preventDefault(),s())},[a.isOpen,s]);ue.useEffect(()=>(document.addEventListener("keydown",me),()=>document.removeEventListener("keydown",me)),[me]),ue.useEffect(()=>(a.isOpen?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[a.isOpen]),ue.useEffect(()=>{function re(){Q(window.innerWidth>=es)}return window.addEventListener("resize",re),()=>window.removeEventListener("resize",re)},[]);const Ce=re=>{re.target===re.currentTarget&&s()},b=ue.useRef(!1);ue.useEffect(()=>{function re($){if(yc($,we)&&$.source===H.current?.contentWindow){if($.data.type===Et.EMBED_READY&&(z(!1),H.current)){const C=G.current;Bn(H.current,{type:Un.EMBED_INIT,payload:{theme:C.resolvedTheme,showExpandButton:V,isFullscreen:C.isFullscreen,mode:"modal"}},we),b.current=!0}if($.data.type===Et.REQUEST_CLOSE&&s(),$.data.type===Et.REQUEST_FULLSCREEN&&g(),$.data.type===Et.MODAL_OPTIONS&&wc($.data.payload)&&x($.data.payload),$.data.type===Et.HEIGHT_CHANGE){const C=$.data.payload;C&&typeof C.height=="number"&&C.height>0&&P(C.height)}}}return window.addEventListener("message",re),()=>window.removeEventListener("message",re)},[we,V,s,g,x]),ue.useEffect(()=>{b.current&&H.current&&Bn(H.current,{type:Un.THEME_CHANGED,payload:{theme:a.resolvedTheme}},we)},[a.resolvedTheme,we]),ue.useEffect(()=>{b.current&&H.current&&Bn(H.current,{type:Un.FULLSCREEN_CHANGED,payload:{isFullscreen:a.isFullscreen,showExpandButton:V}},we)},[a.isFullscreen,V,we]),ue.useEffect(()=>{z(!0),P(null),b.current=!1},[a.currentPath]),ue.useEffect(()=>{a.modalFitContent||P(null)},[a.modalFitContent]),ue.useEffect(()=>{z(!0),a.isOpen||(P(null),b.current=!1)},[a.isOpen]);const ze=["apls-fixed","apls-inset-0","apls-w-screen","apls-h-screen","supports-[width:100dvw]:apls-w-[100dvw]","supports-[height:100dvh]:apls-h-[100dvh]","apls-flex","apls-items-center","apls-justify-center","apls-bg-black/50",a.isOpen?"apls-opacity-100":"apls-opacity-0 apls-pointer-events-none","apls-transition-opacity","apls-duration-300","apls-ease-out"].join(" "),ut=["apls-relative","apls-flex","apls-flex-col","apls-overflow-hidden","apls-shadow-2xl","apls-backdrop-blur-md","apls-bg-system-screen dark:apls-bg-system-screen-dark","apls-transition-all","apls-duration-300","apls-ease-out",a.isOpen?"apls-scale-100 apls-opacity-100":"apls-scale-95 apls-opacity-0","apls-w-screen","apls-h-screen","apls-max-h-screen","supports-[width:100dvw]:apls-w-[100dvw]","supports-[height:100dvh]:apls-h-[100dvh]","supports-[max-height:100dvh]:apls-max-h-[100dvh]","apls-rounded-none",...a.isFullscreen?["md:apls-w-screen","md:apls-h-screen","md:apls-max-h-screen","md:supports-[width:100dvw]:apls-w-[100dvw]","md:supports-[height:100dvh]:apls-h-[100dvh]","md:supports-[max-height:100dvh]:apls-max-h-[100dvh]"]:Re?["md:apls-w-[calc(100dvw-64px)]",Oe?"md:apls-max-w-[1120px]":he?"md:apls-max-w-[544px]":je?"md:apls-max-w-[640px]":"md:apls-max-w-[600px]","md:apls-h-auto","md:apls-min-h-[min(360px,calc(100dvh-64px))]","md:apls-max-h-[min(960px,calc(100dvh-64px))]","md:apls-rounded-3xl"]:Oe?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[1120px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:je?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[640px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:he?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[544px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:["md:apls-w-[600px]","md:apls-h-[900px]","md:apls-max-h-[95vh]","md:apls-rounded-3xl"]].join(" "),xt=["apls-flex-1","apls-flex","apls-flex-col","apls-relative","apls-overflow-hidden"].join(" "),et=["apls-w-full","apls-h-full","apls-flex-grow","apls-border-none","apls-bg-transparent",..._?["apls-hidden"]:[]].join(" "),Ue=["apls-absolute","apls-inset-0","apls-flex","apls-items-center","apls-justify-center"].join(" "),Ye=["apls-w-8","apls-h-8","apls-border-[3px]","apls-border-solid","apls-border-system-regular dark:apls-border-system-regular-dark","apls-border-t-fg-tertiary dark:apls-border-t-fg-tertiary-dark","apls-rounded-full","apls-animate-spin"].join(" "),tt=Re&&V&&A!=null?{height:`${vc(A)}px`}:void 0;return xe.jsx("div",{className:ze,onClick:Ce,style:{zIndex:k.zIndex},role:"dialog","aria-modal":"true","aria-label":"Apollos Embed",children:xe.jsx("div",{className:ut,style:tt,children:xe.jsxs("div",{className:xt,children:[_?xe.jsx("div",{className:Ue,children:xe.jsx("div",{className:Ye})}):null,a.isOpen?xe.jsx("iframe",{ref:H,className:et,src:Y,title:"Apollos",allow:"payment *",allowTransparency:!0}):null]})})})};class Pr{iframe=null;static PROBE_ATTRIBUTE="data-apollos-migration-probe";inject(a,s,g){if(this.iframe)return;const x=new URL(`${s.replace(/\/+$/,"")}/${a}/_embed`);g&&x.searchParams.set("personOriginId",g);const _=document.createElement("iframe");_.src=x.toString(),_.width="1",_.height="1",_.style.cssText="position:absolute;top:-9999px;left:-9999px;border:0;",_.setAttribute("sandbox","allow-scripts allow-same-origin"),_.setAttribute("aria-hidden","true"),_.setAttribute("tabindex","-1"),_.title="Apollos migration probe",_.setAttribute(Pr.PROBE_ATTRIBUTE,"true"),document.body.appendChild(_),this.iframe=_}getContentWindow(){return this.iframe?.contentWindow??null}postToProbe(a){const s=this.iframe?.contentWindow;!s||!this.iframe||s.postMessage({type:a},new URL(this.iframe.src).origin)}notifyShown(){this.postToProbe(Lr.MIGRATION_TOAST_SHOWN)}notifyTapped(){this.postToProbe(Lr.MIGRATION_TOAST_TAPPED)}notifyDismissed(){this.postToProbe(Lr.MIGRATION_TOAST_DISMISSED)}destroy(){this.iframe?.remove(),this.iframe=null}}function kc(k){return k.includes("ContentItem")?"/c":k==="Event"?"/e":k==="FeatureFeed"?"/f":k==="Livestream"?"/live":"/c"}function Ec(k){if(/^[A-Z]\w+-/.test(k)){const[s,...g]=k.split(/-(.*)/s);if(s&&g[0])return{type:s,randomId:g[0]}}else{const s=k.split("-").at(-1);if(!s)return null;try{const g=atob(s),[x,..._]=g.split(/-(.*)/s);if(x&&_[0])return{type:x,randomId:_[0]}}catch{return null}}return null}const ts="Ask anything",Kl="/search",xc={showAskBar:!1,askBarLabel:ts,searchPath:Kl,interceptLinks:!0,position:"bottom-center",offsetX:0,offsetY:48,autoOpen:!1,defaultPath:"/",baseUrl:"https://apollos.com",zIndex:999999,themeMode:"auto"};class gt{config;state;container=null;root=null;askBar=null;askBarKeyListener=null;mediaQueryListener=null;mediaQuery=null;messageListener=null;embedIframe=new Pr;personOriginIdObserver=null;migrationToastContainer=null;migrationToastRoot=null;migrationToastPayload=null;pendingMigrationToastPayload=null;domContentLoadedListener=null;destroyed=!1;hasExplicitFullscreenSelection=!1;inlineIframes=new Map;inlineSkeletons=new Map;inlineSkeletonParentRestore=new Map;inlineSkeletonFallbackTimeouts=new Map;heightChangeTimeouts=new Map;static HEIGHT_TRANSITION_MS=120;static HEIGHT_DEBOUNCE_MS=120;static INLINE_SKELETON_FALLBACK_MS=2500;static INLINE_READY_FALLBACK_MS=400;static hasInjectedSkeletonStyles=!1;constructor(a){if(this.config={...xc,...a},this.state={isOpen:!1,isFullscreen:!1,modalSize:"default",modalFitContent:!1,currentPath:this.config.defaultPath||"/",canGoBack:!1,resolvedTheme:this.resolveTheme()},!this.config.slug)throw new Error("ApollosEmbed: slug is required in config");this.init()}resolveTheme(){const{themeMode:a}=this.config;return a==="light"?"light":a==="dark"||typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}setupThemeListener(){this.cleanupThemeListener(),!(this.config.themeMode!=="auto"||typeof window>"u"||!window.matchMedia)&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQueryListener=a=>{this.state.resolvedTheme=a.matches?"dark":"light",this.applyThemeClass(),this.render(),this.renderMigrationToastContent(),this.sendThemeToInlineIframes(),this.askBar&&(this.removeAskBar(),this.createAskBar())},this.mediaQuery.addEventListener("change",this.mediaQueryListener))}cleanupThemeListener(){this.mediaQuery&&this.mediaQueryListener&&this.mediaQuery.removeEventListener("change",this.mediaQueryListener),this.mediaQuery=null,this.mediaQueryListener=null}readPersonOriginId(){if(this.config.personOriginId)return this.config.personOriginId;for(const a of this.inlineIframes.keys()){const s=a.getAttribute("personoriginid")?.trim();if(s)return s}}watchForPersonOriginId(a){if(!(typeof MutationObserver>"u"||this.inlineIframes.size===0)){this.personOriginIdObserver=new MutationObserver(s=>{for(const g of s){const x=g.target.getAttribute("personoriginid")?.trim();if(x){if(this.cleanupPersonOriginIdObserver(),this.migrationToastContainer)return;this.embedIframe.destroy(),this.embedIframe.inject(this.config.slug,a,x);return}}});for(const s of this.inlineIframes.keys())this.personOriginIdObserver.observe(s,{attributes:!0,attributeFilter:["personoriginid"]})}}cleanupPersonOriginIdObserver(){this.personOriginIdObserver?.disconnect(),this.personOriginIdObserver=null}applyThemeClass(){this.container&&(this.state.resolvedTheme==="dark"?this.container.classList.add("apls-dark"):this.container.classList.remove("apls-dark"))}init(){document.readyState==="loading"?(this.domContentLoadedListener=()=>{this.domContentLoadedListener=null,this.setup()},document.addEventListener("DOMContentLoaded",this.domContentLoadedListener)):this.setup()}setup(){if(!this.destroyed){if(this.config.interceptLinks&&this.setupLinkInterception(),this.setupThemeListener(),this.setupMessageListener(),this.initializeInlineIframes(),this.createContainer(),!this.wasMigrationToastDismissedThisVisit()){const a=this.config.baseUrl||"https://apollos.com",s=this.readPersonOriginId();this.embedIframe.inject(this.config.slug,a,s),s||this.watchForPersonOriginId(a)}this.config.showAskBar&&this.createAskBar(),this.config.autoOpen&&this.open(),this.checkDeepLinkParams()}}createContainer(){this.container=document.createElement("div"),this.container.id="apollos-embed-root",this.container.classList.add("apollos-embed"),document.body.appendChild(this.container),this.applyThemeClass(),this.root=Yo.createRoot(this.container),this.render()}createAskBar(){const a=this.state.resolvedTheme==="dark",s=this.config.askBarLabel??ts,g=document.createElement("button");g.type="button",g.setAttribute("aria-label",s),g.className="apollos-ask-bar";const x=document.createElement("span");Object.assign(x.style,{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px",flex:"0 0 auto"}),x.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>';const _=document.createElement("span");Object.assign(_.style,{flex:"1 1 auto",textAlign:"left",whiteSpace:"nowrap"}),_.textContent=s;const z=document.createElement("kbd");Object.assign(z.style,{font:"inherit",fontSize:"11px",lineHeight:"1",padding:"3px 6px",borderRadius:"6px",border:`1px solid ${a?"rgba(255,255,255,0.18)":"rgba(0,0,0,0.12)"}`,color:a?"rgba(255,255,255,0.6)":"rgba(0,0,0,0.45)",background:"transparent"}),z.textContent="⌘K",g.appendChild(x),g.appendChild(_),g.appendChild(z),Object.assign(g.style,{all:"unset",boxSizing:"border-box",display:"inline-flex",alignItems:"center",gap:"10px",cursor:"pointer",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',fontSize:"15px",fontWeight:"500",minWidth:"240px",padding:"11px 14px",borderRadius:"9999px",border:a?"1px solid rgba(255,255,255,0.14)":"1px solid rgba(0,0,0,0.08)",background:a?"#1c1c1e":"#ffffff",color:a?"#f2f2f7":"#1c1c1e",boxShadow:a?"0 6px 24px rgba(0,0,0,0.5)":"0 6px 24px rgba(0,0,0,0.14)"}),g.addEventListener("click",()=>{this.open(this.config.searchPath??Kl)});const A=this.config.askBarTarget?document.querySelector(this.config.askBarTarget):null;if(A)A.appendChild(g),this.askBar=g;else{const P=document.createElement("div");Object.assign(P.style,{position:"fixed",zIndex:String((this.config.zIndex??999999)-1),...this.askBarPlacementStyles()}),P.appendChild(g),document.body.appendChild(P),this.askBar=P}this.askBarKeyListener=P=>{if((P.metaKey||P.ctrlKey)&&P.key.toLowerCase()==="k"){if(gt.isEditableEventTarget(P))return;P.preventDefault(),this.open(this.config.searchPath??Kl)}},document.addEventListener("keydown",this.askBarKeyListener)}askBarPlacementStyles(){const a=`${this.config.offsetX??0}px`,s=`${this.config.offsetY??48}px`,g=`${Math.max(this.config.offsetX??0,16)}px`;switch(this.config.position){case"bottom-right":return{bottom:s,right:g};case"bottom-left":return{bottom:s,left:g};case"top-right":return{top:s,right:g};case"top-left":return{top:s,left:g};case"top-center":return{top:s,left:"50%",transform:"translateX(-50%)"};default:return{bottom:s,left:`calc(50% + ${a})`,transform:"translateX(-50%)"}}}static isEditableEventTarget(a){const s=x=>{if(!(x instanceof HTMLElement))return!1;const _=x.tagName;return _==="INPUT"||_==="TEXTAREA"||_==="SELECT"||x.isContentEditable},g=typeof a.composedPath=="function"?a.composedPath():[];return g.length?g.some(s):s(a.target)}removeAskBar(){this.askBarKeyListener&&(document.removeEventListener("keydown",this.askBarKeyListener),this.askBarKeyListener=null),this.askBar&&(this.askBar.remove(),this.askBar=null)}render(){this.root&&this.root.render(An.createElement(Sc,{config:this.config,state:{...this.state},onClose:()=>this.close(),onToggleFullscreen:()=>this.toggleFullscreen(),onApplyModalOptions:a=>this.applyModalOptions(a)}))}toggleFullscreen(){this.hasExplicitFullscreenSelection=!0,this.state.isFullscreen=!this.state.isFullscreen,this.render()}applyModalOptions(a){this.state.modalSize=a.size??"default",this.state.modalFitContent=a.fitContent??!1,typeof a.defaultFullscreen=="boolean"&&!this.hasExplicitFullscreenSelection&&(this.state.isFullscreen=a.defaultFullscreen),this.render()}setupLinkInterception(){document.addEventListener("click",a=>{const g=a.target.closest("a");if(g&&this.shouldInterceptLink(g)){a.preventDefault();const _=new URL(g.href).pathname.replace(`/${this.config.slug}`,"")||"/",z=this.getLinkFullscreenOption(g);this.open(_,z!==void 0?{fullscreen:z}:void 0)}})}shouldInterceptLink(a){if(a.hasAttribute("data-apollos-external"))return!1;const s=a.href,g=this.config.baseUrl||"https://apollos.com";return new RegExp(`(apollos\\.com|${g.replace(/https?:\/\//,"")})/${this.config.slug}`).test(s)}getLinkFullscreenOption(a){if(!a.hasAttribute("data-apollos-fullscreen"))return;const s=a.getAttribute("data-apollos-fullscreen");return!(s==="false"||s==="0")}setupMessageListener(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;this.messageListener=g=>{if(g.origin!==s||!g.data||typeof g.data!="object")return;const{type:x,payload:_}=g.data;if(x===Et.EMBED_READY){const z=g.source;this.inlineIframes.forEach((A,P)=>{P.contentWindow===z&&(this.sendInlineIframeInit(P),this.inlineIframes.set(P,!0),this.scheduleInlineSkeletonFallback(P,gt.INLINE_READY_FALLBACK_MS))})}if(x===Et.REQUEST_NAVIGATION){const z=_;if(z?.path){if(/^https?:\/\//i.test(z.path)){window.location.assign(z.path);return}const A=this.config.navigationModalFullscreen===!0;this.open(z.path,{fullscreen:A})}}if(x===Et.HEIGHT_CHANGE){const z=_;if(z&&typeof z.height=="number"&&z.height>0){const A=g.source;let P=null;if(this.inlineIframes.forEach((V,Q)=>{Q.contentWindow===A&&(P=Q)}),!P){const V=document.querySelectorAll("iframe");for(const Q of V)if(!this.container?.contains(Q)&&Q.contentWindow===A){P=Q;break}}P&&(this.scheduleHeightChange(P,z.height),this.inlineSkeletons.has(P)&&this.removeInlineSkeleton(P))}}if(x===Lr.SHOW_MIGRATION_TOAST){const z=_,A=this.embedIframe.getContentWindow();z&&typeof z.migratePath=="string"&&A!==null&&g.source===A&&this.renderMigrationToast(z)}},window.addEventListener("message",this.messageListener)}migrationToastDismissalKey(){return`apollos:migrationToastDismissed:${this.config.slug}`}wasMigrationToastDismissedThisVisit(){try{return window.sessionStorage.getItem(this.migrationToastDismissalKey())==="1"}catch{return!1}}markMigrationToastDismissedForVisit(){try{window.sessionStorage.setItem(this.migrationToastDismissalKey(),"1")}catch{}}renderMigrationToast(a){if(this.migrationToastContainer||this.wasMigrationToastDismissedThisVisit())return;if(this.state.isOpen){this.pendingMigrationToastPayload=a;return}const s=document.createElement("div");s.classList.add("apollos-embed"),document.body.appendChild(s),this.migrationToastContainer=s,this.migrationToastRoot=Yo.createRoot(s),this.migrationToastPayload=a,this.renderMigrationToastContent(),this.embedIframe.notifyShown()}renderPendingMigrationToast(){const a=this.pendingMigrationToastPayload;a&&(this.pendingMigrationToastPayload=null,this.renderMigrationToast(a))}renderMigrationToastContent(){const a=this.migrationToastPayload;!this.migrationToastRoot||!a||this.migrationToastRoot.render(An.createElement(pc,{zIndex:(this.config.zIndex??999999)+1,theme:this.state.resolvedTheme,brandColor:typeof a.brandColor=="string"?a.brandColor:null,onUpdate:()=>{this.embedIframe.notifyTapped(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast(),this.open(a.migratePath.replace(/^\/[^/?]+/,""))},onDismiss:()=>{this.embedIframe.notifyDismissed(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast()}}))}removeMigrationToast(){const a=this.migrationToastRoot,s=this.migrationToastContainer;this.migrationToastRoot=null,this.migrationToastContainer=null,this.migrationToastPayload=null,!(!a||!s)&&setTimeout(()=>{a.unmount(),s.remove()},0)}scheduleHeightChange(a,s){const g=this.heightChangeTimeouts.get(a);g&&clearTimeout(g.timeoutId);const x=setTimeout(()=>{this.heightChangeTimeouts.delete(a),this.applyHeightWithTransition(a,s)},gt.HEIGHT_DEBOUNCE_MS);this.heightChangeTimeouts.set(a,{timeoutId:x,height:s})}applyHeightWithTransition(a,s){(a.style.height?parseFloat(a.style.height):NaN)!==s&&(a.style.transition=`height ${gt.HEIGHT_TRANSITION_MS}ms ease-out`,a.style.height=`${s}px`)}scheduleInlineSkeletonFallback(a,s){if(!this.inlineSkeletons.has(a))return;const g=this.inlineSkeletonFallbackTimeouts.get(a);g&&clearTimeout(g);const x=setTimeout(()=>{this.inlineSkeletonFallbackTimeouts.delete(a),this.inlineSkeletons.has(a)&&this.removeInlineSkeleton(a)},s);this.inlineSkeletonFallbackTimeouts.set(a,x)}cleanupMessageListener(){this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)}initializeInlineIframes(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;document.querySelectorAll("iframe").forEach(x=>{if(this.isInlineEmbed(x,s)){const _=this.applyInlineIframeUrlParams(x);this.inlineIframes.set(x,!1),this.createInlineSkeleton(x),_||this.sendInlineIframeInit(x)}})}isInlineEmbed(a,s){const g=a.src;if(!g||a.hasAttribute(Pr.PROBE_ATTRIBUTE))return!1;try{const x=new URL(g);return!(x.origin!==s||!x.pathname.startsWith(`/${this.config.slug}`))}catch{return!1}}applyInlineIframeUrlParams(a){const s=a.src;if(!s)return!1;try{const g=new URL(s);let x=!1;g.searchParams.get("embedMode")!=="inline"&&(g.searchParams.set("embedMode","inline"),x=!0);const _=this.state.resolvedTheme;return g.searchParams.get("theme")!==_&&(g.searchParams.set("theme",_),x=!0),x&&(a.src=g.toString()),x}catch{return!1}}sendInlineIframeInit(a){const s=this.config.baseUrl||"https://apollos.com",g=new URL(s).origin;Bn(a,{type:Un.EMBED_INIT,payload:{theme:this.state.resolvedTheme,showExpandButton:!1,isFullscreen:!1,mode:"inline"}},g)}sendThemeToInlineIframes(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;this.inlineIframes.forEach((g,x)=>{g&&Bn(x,{type:Un.THEME_CHANGED,payload:{theme:this.state.resolvedTheme}},s)})}checkDeepLinkParams(){const a=new URLSearchParams(window.location.search),s=this.getDeepLinkModalOptions(a),g=a.get("a");if(g){this.openWithFullscreenDefault(g,s),this.stripConsumedDeepLinkParams(["a","apollosModalSize","apollosFullscreen"]);return}const x=a.get("apollosId")?"apollosId":a.get("id")?"id":null,_=x?a.get(x):null;if(_&&x){const z=Ec(_);if(z){const A=kc(z.type);this.openWithFullscreenDefault(`${A}/${_}`,{fullscreen:!0})}else this.openWithFullscreenDefault(`/c/${_}`,{fullscreen:!0});this.stripConsumedDeepLinkParams([x]);return}}stripConsumedDeepLinkParams(a){if(typeof window>"u"||!window.history?.replaceState)return;const s=new URL(window.location.href);let g=!1;for(const x of a)s.searchParams.has(x)&&(s.searchParams.delete(x),g=!0);g&&window.history.replaceState(window.history.state,"",s.pathname+s.search+s.hash)}open(a,s){this.openInternal(a,s,s?.fullscreen!==void 0)}openWithFullscreenDefault(a,s){const g=s?.fullscreen!==void 0;this.openInternal(a,{fullscreen:s?.fullscreen??!0,modalSize:s?.modalSize},g)}openInternal(a,s,g=!1){this.removeMigrationToast(),this.hasExplicitFullscreenSelection=g,a&&(this.state.currentPath=a),this.state.isOpen=!0,this.state.modalSize=s?.modalSize??"default",this.state.modalFitContent=!1,s?.fullscreen===!0?this.state.isFullscreen=!0:s?.fullscreen===!1?this.state.isFullscreen=!1:this.config.defaultFullscreen===!0&&(this.state.isFullscreen=!0),this.render(),this.config.onOpen?.()}getDeepLinkModalOptions(a){const s=this.parseModalSize(a.get("apollosModalSize")),g=this.parseBoolean(a.get("apollosFullscreen"));if(!(s===void 0&&g===void 0))return{modalSize:s,fullscreen:g}}parseModalSize(a){if(a==="default"||a==="medium"||a==="large"||a==="small")return a}parseBoolean(a){if(a==="true")return!0;if(a==="false")return!1}close(){this.hasExplicitFullscreenSelection=!1,this.state.isOpen=!1,this.state.isFullscreen=!1,this.state.modalSize="default",this.state.modalFitContent=!1,this.render(),this.config.onClose?.(),this.renderPendingMigrationToast()}toggle(){this.state.isOpen?this.close():this.open()}navigate(a){this.state.currentPath=a,this.render(),this.config.onNavigate?.(a)}isOpen(){return this.state.isOpen}destroy(){this.destroyed=!0,this.domContentLoadedListener&&(document.removeEventListener("DOMContentLoaded",this.domContentLoadedListener),this.domContentLoadedListener=null),this.removeAskBar(),this.cleanupThemeListener(),this.cleanupMessageListener(),this.cleanupPersonOriginIdObserver(),this.embedIframe.destroy(),this.pendingMigrationToastPayload=null,this.removeMigrationToast(),this.heightChangeTimeouts.forEach(({timeoutId:a})=>clearTimeout(a)),this.heightChangeTimeouts.clear(),this.inlineSkeletonFallbackTimeouts.forEach(a=>clearTimeout(a)),this.inlineSkeletonFallbackTimeouts.clear(),this.inlineIframes.clear(),Array.from(this.inlineSkeletons.keys()).forEach(a=>{this.removeInlineSkeleton(a)}),this.root&&(this.root.unmount(),this.root=null),this.container&&(this.container.remove(),this.container=null)}getState(){return{...this.state}}getConfig(){return{...this.config}}createInlineSkeleton(a){if(this.inlineSkeletons.has(a))return;gt.ensureSkeletonStyles();const s=document.createElement("div");s.setAttribute("aria-busy","true"),s.style.position="absolute",s.style.inset="0",s.style.display="flex",s.style.alignItems="stretch",s.style.justifyContent="flex-start",s.style.pointerEvents="none";const g=document.createElement("div");g.style.borderRadius="12px",g.style.padding="74px 24px 20px 24px",g.style.boxShadow="0 10px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.12)",g.style.minHeight="360px",g.style.display="flex",g.style.flexDirection="column",g.style.justifyContent="flex-start",g.style.gap="0",g.style.width="100%",g.style.maxWidth="100%";const x=this.state.resolvedTheme==="dark";g.style.backgroundColor=x?"#111827":"#f3f4f6";const _=(Q,H,G)=>{const ee=document.createElement("div");return ee.style.height=`${Q}px`,ee.style.borderRadius=`${H}px`,ee.style.backgroundColor=x?"#374151":"#ffffff",ee.style.width="100%",ee.style.marginBottom=`${G}px`,ee.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",ee},z=_(68,8,12),A=_(56,8,24),P=document.createElement("div");P.style.height="50px",P.style.width="100%",P.style.borderRadius="12px",P.style.backgroundColor=x?"#374151":"#ffffff",P.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",g.appendChild(z),g.appendChild(A),g.appendChild(P),s.appendChild(g);const V=a.parentElement;if(V){const Q=window.getComputedStyle(V);Q.position==="static"&&(this.inlineSkeletonParentRestore.set(a,{parent:V,originalPosition:Q.position}),V.style.position="relative"),V.appendChild(s),this.inlineSkeletons.set(a,s),a.style.visibility="hidden",this.scheduleInlineSkeletonFallback(a,gt.INLINE_SKELETON_FALLBACK_MS)}}removeInlineSkeleton(a){const s=this.inlineSkeletons.get(a);s&&s.parentElement&&s.parentElement.removeChild(s),this.inlineSkeletons.delete(a);const g=this.inlineSkeletonFallbackTimeouts.get(a);g&&(clearTimeout(g),this.inlineSkeletonFallbackTimeouts.delete(a)),a.style.visibility="";const x=this.inlineSkeletonParentRestore.get(a);x&&(x.parent.style.position=x.originalPosition,this.inlineSkeletonParentRestore.delete(a))}static ensureSkeletonStyles(){if(gt.hasInjectedSkeletonStyles||typeof document>"u")return;const a=document.createElement("style");a.textContent=`
9
+ `+i.stack}return{value:e,source:t,stack:l,digest:null}}function co(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function fo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ed=typeof WeakMap=="function"?WeakMap:Map;function sa(e,t,n){n=It(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Tl||(Tl=!0,Lo=r),fo(e,t)},n}function ua(e,t,n){n=It(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){fo(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){fo(e,t),typeof r!="function"&&($t===null?$t=new Set([this]):$t.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function aa(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ed;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=hd.bind(null,e,t,n),t.then(e,e))}function ca(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function fa(e,t,n,r,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=It(-1,1),t.tag=2,Vt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var td=we.ReactCurrentOwner,Ge=!1;function He(e,t,n,r){t.child=e===null?Ou(t,null,n,r):Pn(t,e.child,n,r)}function da(e,t,n,r,l){n=n.render;var i=t.ref;return Nn(t,l),r=no(e,t,n,r,i,l),n=ro(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(ae&&n&&ji(t),t.flags|=1,He(e,t,r,l),t.child)}function pa(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Mo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ha(e,t,i,r,l)):(e=Ol(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&l)===0){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:ir,n(o,r)&&e.ref===t.ref)return Nt(e,t,l)}return t.flags|=1,e=Xt(i,r),e.ref=t.ref,e.return=t,t.child=e}function ha(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(ir(i,r)&&e.ref===t.ref)if(Ge=!1,t.pendingProps=r=i,(e.lanes&l)!==0)(e.flags&131072)!==0&&(Ge=!0);else return t.lanes=e.lanes,Nt(e,t,l)}return po(e,t,n,r,l)}function ma(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(Mn,et),et|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(Mn,et),et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,re(Mn,et),et|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,re(Mn,et),et|=r;return He(e,t,l,n),t.child}function ga(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function po(e,t,n,r,l){var i=Ke(n)?bt:Fe.current;return i=Cn(t,i),Nn(t,l),n=no(e,t,n,r,i,l),r=ro(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Nt(e,t,l)):(ae&&r&&ji(t),t.flags|=1,He(e,t,n,l),t.child)}function va(e,t,n,r,l){if(Ke(n)){var i=!0;nl(t)}else i=!1;if(Nn(t,l),t.stateNode===null)Sl(e,t),ia(t,n,r),ao(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var c=o.context,m=n.contextType;typeof m=="object"&&m!==null?m=lt(m):(m=Ke(n)?bt:Fe.current,m=Cn(t,m));var S=n.getDerivedStateFromProps,k=typeof S=="function"||typeof o.getSnapshotBeforeUpdate=="function";k||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||c!==m)&&oa(t,o,r,m),Wt=!1;var y=t.memoizedState;o.state=y,fl(t,r,o,l),c=t.memoizedState,u!==r||y!==c||$e.current||Wt?(typeof S=="function"&&(uo(t,n,S,r),c=t.memoizedState),(u=Wt||la(t,n,u,r,y,c,m))?(k||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=m,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,zu(e,t),u=t.memoizedProps,m=t.type===t.elementType?u:dt(t.type,u),o.props=m,k=t.pendingProps,y=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=lt(c):(c=Ke(n)?bt:Fe.current,c=Cn(t,c));var _=n.getDerivedStateFromProps;(S=typeof _=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==k||y!==c)&&oa(t,o,r,c),Wt=!1,y=t.memoizedState,o.state=y,fl(t,r,o,l);var N=t.memoizedState;u!==k||y!==N||$e.current||Wt?(typeof _=="function"&&(uo(t,n,_,r),N=t.memoizedState),(m=Wt||la(t,n,m,r,y,N,c)||!1)?(S||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,N,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,N,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=N),o.props=r,o.state=N,o.context=c,r=m):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return ho(e,t,n,r,i,l)}function ho(e,t,n,r,l,i){ga(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&Eu(t,n,!1),Nt(e,t,i);r=t.stateNode,td.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Pn(t,e.child,null,i),t.child=Pn(t,null,u,i)):He(e,t,u,i),t.memoizedState=r.state,l&&Eu(t,n,!0),t.child}function ya(e){var t=e.stateNode;t.pendingContext?Su(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Su(e,t.context,!1),Zi(e,t.containerInfo)}function wa(e,t,n,r,l){return Ln(),Vi(l),t.flags|=256,He(e,t,n,r),t.child}var mo={dehydrated:null,treeContext:null,retryLane:0};function go(e){return{baseLanes:e,cachePool:null,transitions:null}}function Sa(e,t,n){var r=t.pendingProps,l=fe.current,i=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),re(fe,l&1),e===null)return Wi(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Rl(o,r,0,null),e=cn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=go(n),t.memoizedState=mo,e):vo(t,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return nd(e,t,o,r,u,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,u=l.sibling;var c={mode:"hidden",children:r.children};return(o&1)===0&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Xt(l,c),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?i=Xt(u,i):(i=cn(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?go(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=mo,r}return i=e.child,e=i.sibling,r=Xt(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function vo(e,t){return t=Rl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function wl(e,t,n,r){return r!==null&&Vi(r),Pn(t,e.child,null,n),e=vo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function nd(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=co(Error(s(422))),wl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Rl({mode:"visible",children:r.children},l,0,null),i=cn(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Pn(t,e.child,null,o),t.child.memoizedState=go(o),t.memoizedState=mo,i);if((t.mode&1)===0)return wl(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(s(419)),r=co(i,r,void 0),wl(e,t,o,r)}if(u=(o&e.childLanes)!==0,Ge||u){if(r=Ie,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=(l&(r.suspendedLanes|o))!==0?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Pt(e,l),mt(r,e,l,-1))}return zo(),r=co(Error(s(421))),wl(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=md.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,be=Ut(l.nextSibling),qe=t,ae=!0,ft=null,e!==null&&(nt[rt++]=_t,nt[rt++]=Lt,nt[rt++]=en,_t=e.id,Lt=e.overflow,en=t),t=vo(t,r.children),t.flags|=4096,t)}function ka(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Gi(e.return,t,n)}function yo(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function Ea(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(He(e,t,r.children,n),r=fe.current,(r&2)!==0)r=r&1|2,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&&ka(e,n,t);else if(e.tag===19)ka(e,n,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}r&=1}if(re(fe,r),(t.mode&1)===0)t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&dl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),yo(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&dl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}yo(t,!0,n,null,i);break;case"together":yo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Sl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Nt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),on|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rd(e,t,n){switch(t.tag){case 3:ya(t),Ln();break;case 5:Du(t);break;case 1:Ke(t.type)&&nl(t);break;case 4:Zi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;re(ul,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(fe,fe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?Sa(e,t,n):(re(fe,fe.current&1),e=Nt(e,t,n),e!==null?e.sibling:null);re(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return Ea(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),re(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,ma(e,t,n)}return Nt(e,t,n)}var xa,wo,Ca,Ta;xa=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},wo=function(){},Ca=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,rn(wt.current);var i=null;switch(n){case"input":l=Gl(e,l),r=Gl(e,r),i=[];break;case"select":l=I({},l,{value:void 0}),r=I({},r,{value:void 0}),i=[];break;case"textarea":l=Zl(e,l),r=Zl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=br)}ql(n,r);var o;n=null;for(m in l)if(!r.hasOwnProperty(m)&&l.hasOwnProperty(m)&&l[m]!=null)if(m==="style"){var u=l[m];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else m!=="dangerouslySetInnerHTML"&&m!=="children"&&m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(E.hasOwnProperty(m)?i||(i=[]):(i=i||[]).push(m,null));for(m in r){var c=r[m];if(u=l?.[m],r.hasOwnProperty(m)&&c!==u&&(c!=null||u!=null))if(m==="style")if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(m,n)),n=c;else m==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,u=u?u.__html:void 0,c!=null&&u!==c&&(i=i||[]).push(m,c)):m==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(m,""+c):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&(E.hasOwnProperty(m)?(c!=null&&m==="onScroll"&&ie("scroll",e),i||u===c||(i=[])):(i=i||[]).push(m,c))}n&&(i=i||[]).push("style",n);var m=i;(t.updateQueue=m)&&(t.flags|=4)}},Ta=function(e,t,n,r){n!==r&&(t.flags|=4)};function Sr(e,t){if(!ae)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ae(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ld(e,t,n){var r=t.pendingProps;switch(Bi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ae(t),null;case 1:return Ke(t.type)&&tl(),Ae(t),null;case 3:return r=t.stateNode,On(),oe($e),oe(Fe),bi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ol(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ft!==null&&(No(ft),ft=null))),wo(e,t),Ae(t),null;case 5:Ji(t);var l=rn(mr.current);if(n=t.type,e!==null&&t.stateNode!=null)Ca(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(s(166));return Ae(t),null}if(e=rn(wt.current),ol(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[yt]=t,r[cr]=i,e=(t.mode&1)!==0,n){case"dialog":ie("cancel",r),ie("close",r);break;case"iframe":case"object":case"embed":ie("load",r);break;case"video":case"audio":for(l=0;l<sr.length;l++)ie(sr[l],r);break;case"source":ie("error",r);break;case"img":case"image":case"link":ie("error",r),ie("load",r);break;case"details":ie("toggle",r);break;case"input":is(r,i),ie("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ie("invalid",r);break;case"textarea":us(r,i),ie("invalid",r)}ql(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var u=i[o];o==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),l=["children",""+u]):E.hasOwnProperty(o)&&u!=null&&o==="onScroll"&&ie("scroll",r)}switch(n){case"input":Ir(r),ss(r,i,!0);break;case"textarea":Ir(r),cs(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=br)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=fs(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[yt]=t,e[cr]=r,xa(e,t,!1,!1),t.stateNode=e;e:{switch(o=bl(n,r),n){case"dialog":ie("cancel",e),ie("close",e),l=r;break;case"iframe":case"object":case"embed":ie("load",e),l=r;break;case"video":case"audio":for(l=0;l<sr.length;l++)ie(sr[l],e);l=r;break;case"source":ie("error",e),l=r;break;case"img":case"image":case"link":ie("error",e),ie("load",e),l=r;break;case"details":ie("toggle",e),l=r;break;case"input":is(e,r),l=Gl(e,r),ie("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=I({},r,{value:void 0}),ie("invalid",e);break;case"textarea":us(e,r),l=Zl(e,r),ie("invalid",e);break;default:l=r}ql(n,l),u=l;for(i in u)if(u.hasOwnProperty(i)){var c=u[i];i==="style"?hs(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&ds(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Wn(e,c):typeof c=="number"&&Wn(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(E.hasOwnProperty(i)?c!=null&&i==="onScroll"&&ie("scroll",e):c!=null&&Oe(e,i,c,o))}switch(n){case"input":Ir(e),ss(e,r,!1);break;case"textarea":Ir(e),cs(e);break;case"option":r.value!=null&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?dn(e,!!r.multiple,i,!1):r.defaultValue!=null&&dn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=br)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ae(t),null;case 6:if(e&&t.stateNode!=null)Ta(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(s(166));if(n=rn(mr.current),rn(wt.current),ol(t)){if(r=t.stateNode,n=t.memoizedProps,r[yt]=t,(i=r.nodeValue!==n)&&(e=qe,e!==null))switch(e.tag){case 3:qr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[yt]=t,t.stateNode=r}return Ae(t),null;case 13:if(oe(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ae&&be!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Pu(),Ln(),t.flags|=98560,i=!1;else if(i=ol(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(s(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));i[yt]=t}else Ln(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ae(t),i=!1}else ft!==null&&(No(ft),ft=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(fe.current&1)!==0?Ce===0&&(Ce=3):zo())),t.updateQueue!==null&&(t.flags|=4),Ae(t),null);case 4:return On(),wo(e,t),e===null&&ur(t.stateNode.containerInfo),Ae(t),null;case 10:return Ki(t.type._context),Ae(t),null;case 17:return Ke(t.type)&&tl(),Ae(t),null;case 19:if(oe(fe),i=t.memoizedState,i===null)return Ae(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Sr(i,!1);else{if(Ce!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=dl(e),o!==null){for(t.flags|=128,Sr(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(fe,fe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ge()>Fn&&(t.flags|=128,r=!0,Sr(i,!1),t.lanes=4194304)}else{if(!r)if(e=dl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Sr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ae)return Ae(t),null}else 2*ge()-i.renderingStartTime>Fn&&n!==1073741824&&(t.flags|=128,r=!0,Sr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ge(),t.sibling=null,n=fe.current,re(fe,r?n&1|2:n&1),t):(Ae(t),null);case 22:case 23:return Ro(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(et&1073741824)!==0&&(Ae(t),t.subtreeFlags&6&&(t.flags|=8192)):Ae(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function id(e,t){switch(Bi(t),t.tag){case 1:return Ke(t.type)&&tl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(),oe($e),oe(Fe),bi(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Ji(t),null;case 13:if(oe(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return oe(fe),null;case 4:return On(),null;case 10:return Ki(t.type._context),null;case 22:case 23:return Ro(),null;case 24:return null;default:return null}}var kl=!1,Ue=!1,od=typeof WeakSet=="function"?WeakSet:Set,L=null;function zn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){me(e,t,r)}else n.current=null}function So(e,t,n){try{n()}catch(r){me(e,t,r)}}var _a=!1;function sd(e,t){if(Oi=Hr,e=lu(),xi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,c=-1,m=0,S=0,k=e,y=null;t:for(;;){for(var _;k!==n||l!==0&&k.nodeType!==3||(u=o+l),k!==i||r!==0&&k.nodeType!==3||(c=o+r),k.nodeType===3&&(o+=k.nodeValue.length),(_=k.firstChild)!==null;)y=k,k=_;for(;;){if(k===e)break t;if(y===n&&++m===l&&(u=o),y===i&&++S===r&&(c=o),(_=k.nextSibling)!==null)break;k=y,y=k.parentNode}k=_}n=u===-1||c===-1?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ri={focusedElem:e,selectionRange:n},Hr=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var N=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(N!==null){var O=N.memoizedProps,ve=N.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?O:dt(t.type,O),ve);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(x){me(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return N=_a,_a=!1,N}function kr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&So(t,n,i)}l=l.next}while(l!==r)}}function El(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ko(e){var t=e.ref;if(t!==null){var n=e.stateNode;e.tag,e=n,typeof t=="function"?t(e):t.current=e}}function La(e){var t=e.alternate;t!==null&&(e.alternate=null,La(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[cr],delete t[Di],delete t[Vf],delete t[Qf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pa(e){return e.tag===5||e.tag===3||e.tag===4}function Ia(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pa(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.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 Eo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=br));else if(r!==4&&(e=e.child,e!==null))for(Eo(e,t,n),e=e.sibling;e!==null;)Eo(e,t,n),e=e.sibling}function xo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(xo(e,t,n),e=e.sibling;e!==null;)xo(e,t,n),e=e.sibling}var Re=null,pt=!1;function Qt(e,t,n){for(n=n.child;n!==null;)Na(e,t,n),n=n.sibling}function Na(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(Fr,n)}catch{}switch(n.tag){case 5:Ue||zn(n,t);case 6:var r=Re,l=pt;Re=null,Qt(e,t,n),Re=r,pt=l,Re!==null&&(pt?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(pt?(e=Re,n=n.stateNode,e.nodeType===8?Fi(e.parentNode,n):e.nodeType===1&&Fi(e,n),bn(e)):Fi(Re,n.stateNode));break;case 4:r=Re,l=pt,Re=n.stateNode.containerInfo,pt=!0,Qt(e,t,n),Re=r,pt=l;break;case 0:case 11:case 14:case 15:if(!Ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&((i&2)!==0||(i&4)!==0)&&So(n,t,o),l=l.next}while(l!==r)}Qt(e,t,n);break;case 1:if(!Ue&&(zn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){me(n,t,u)}Qt(e,t,n);break;case 21:Qt(e,t,n);break;case 22:n.mode&1?(Ue=(r=Ue)||n.memoizedState!==null,Qt(e,t,n),Ue=r):Qt(e,t,n);break;default:Qt(e,t,n)}}function Oa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new od),t.forEach(function(r){var l=gd.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ht(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,u=o;e:for(;u!==null;){switch(u.tag){case 5:Re=u.stateNode,pt=!1;break e;case 3:Re=u.stateNode.containerInfo,pt=!0;break e;case 4:Re=u.stateNode.containerInfo,pt=!0;break e}u=u.return}if(Re===null)throw Error(s(160));Na(i,o,l),Re=null,pt=!1;var c=l.alternate;c!==null&&(c.return=null),l.return=null}catch(m){me(l,t,m)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ra(t,e),t=t.sibling}function Ra(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ht(t,e),kt(e),r&4){try{kr(3,e,e.return),El(3,e)}catch(O){me(e,e.return,O)}try{kr(5,e,e.return)}catch(O){me(e,e.return,O)}}break;case 1:ht(t,e),kt(e),r&512&&n!==null&&zn(n,n.return);break;case 5:if(ht(t,e),kt(e),r&512&&n!==null&&zn(n,n.return),e.flags&32){var l=e.stateNode;try{Wn(l,"")}catch(O){me(e,e.return,O)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,u=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&os(l,i),bl(u,o);var m=bl(u,i);for(o=0;o<c.length;o+=2){var S=c[o],k=c[o+1];S==="style"?hs(l,k):S==="dangerouslySetInnerHTML"?ds(l,k):S==="children"?Wn(l,k):Oe(l,S,k,m)}switch(u){case"input":Yl(l,i);break;case"textarea":as(l,i);break;case"select":var y=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var _=i.value;_!=null?dn(l,!!i.multiple,_,!1):y!==!!i.multiple&&(i.defaultValue!=null?dn(l,!!i.multiple,i.defaultValue,!0):dn(l,!!i.multiple,i.multiple?[]:"",!1))}l[cr]=i}catch(O){me(e,e.return,O)}}break;case 6:if(ht(t,e),kt(e),r&4){if(e.stateNode===null)throw Error(s(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(O){me(e,e.return,O)}}break;case 3:if(ht(t,e),kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{bn(t.containerInfo)}catch(O){me(e,e.return,O)}break;case 4:ht(t,e),kt(e);break;case 13:ht(t,e),kt(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(_o=ge())),r&4&&Oa(e);break;case 22:if(S=n!==null&&n.memoizedState!==null,e.mode&1?(Ue=(m=Ue)||S,ht(t,e),Ue=m):ht(t,e),kt(e),r&8192){if(m=e.memoizedState!==null,(e.stateNode.isHidden=m)&&!S&&(e.mode&1)!==0)for(L=e,S=e.child;S!==null;){for(k=L=S;L!==null;){switch(y=L,_=y.child,y.tag){case 0:case 11:case 14:case 15:kr(4,y,y.return);break;case 1:zn(y,y.return);var N=y.stateNode;if(typeof N.componentWillUnmount=="function"){r=y,n=y.return;try{t=r,N.props=t.memoizedProps,N.state=t.memoizedState,N.componentWillUnmount()}catch(O){me(r,n,O)}}break;case 5:zn(y,y.return);break;case 22:if(y.memoizedState!==null){Fa(k);continue}}_!==null?(_.return=y,L=_):Fa(k)}S=S.sibling}e:for(S=null,k=e;;){if(k.tag===5){if(S===null){S=k;try{l=k.stateNode,m?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=k.stateNode,c=k.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,u.style.display=ps("display",o))}catch(O){me(e,e.return,O)}}}else if(k.tag===6){if(S===null)try{k.stateNode.nodeValue=m?"":k.memoizedProps}catch(O){me(e,e.return,O)}}else if((k.tag!==22&&k.tag!==23||k.memoizedState===null||k===e)&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===e)break e;for(;k.sibling===null;){if(k.return===null||k.return===e)break e;S===k&&(S=null),k=k.return}S===k&&(S=null),k.sibling.return=k.return,k=k.sibling}}break;case 19:ht(t,e),kt(e),r&4&&Oa(e);break;case 21:break;default:ht(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Pa(n)){var r=n;break e}n=n.return}throw Error(s(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Wn(l,""),r.flags&=-33);var i=Ia(e);xo(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,u=Ia(e);Eo(e,u,o);break;default:throw Error(s(161))}}catch(c){me(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ud(e,t,n){L=e,za(e)}function za(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var l=L,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||kl;if(!o){var u=l.alternate,c=u!==null&&u.memoizedState!==null||Ue;u=kl;var m=Ue;if(kl=o,(Ue=c)&&!m)for(L=l;L!==null;)o=L,c=o.child,o.tag===22&&o.memoizedState!==null?Da(l):c!==null?(c.return=o,L=c):Da(l);for(;i!==null;)L=i,za(i),i=i.sibling;L=l,kl=u,Ue=m}Ma(e)}else(l.subtreeFlags&8772)!==0&&i!==null?(i.return=l,L=i):Ma(e)}}function Ma(e){for(;L!==null;){var t=L;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ue||El(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ue)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:dt(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Fu(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Fu(t,o,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var m=t.alternate;if(m!==null){var S=m.memoizedState;if(S!==null){var k=S.dehydrated;k!==null&&bn(k)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}Ue||t.flags&512&&ko(t)}catch(y){me(t,t.return,y)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function Fa(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Da(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{El(4,t)}catch(c){me(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(c){me(t,l,c)}}var i=t.return;try{ko(t)}catch(c){me(t,i,c)}break;case 5:var o=t.return;try{ko(t)}catch(c){me(t,o,c)}}}catch(c){me(t,t.return,c)}if(t===e){L=null;break}var u=t.sibling;if(u!==null){u.return=t.return,L=u;break}L=t.return}}var ad=Math.ceil,xl=we.ReactCurrentDispatcher,Co=we.ReactCurrentOwner,ot=we.ReactCurrentBatchConfig,K=0,Ie=null,Se=null,ze=0,et=0,Mn=jt(0),Ce=0,Er=null,on=0,Cl=0,To=0,xr=null,Ye=null,_o=0,Fn=1/0,Ot=null,Tl=!1,Lo=null,$t=null,_l=!1,Kt=null,Ll=0,Cr=0,Po=null,Pl=-1,Il=0;function We(){return(K&6)!==0?ge():Pl!==-1?Pl:Pl=ge()}function Gt(e){return(e.mode&1)===0?1:(K&2)!==0&&ze!==0?ze&-ze:Kf.transition!==null?(Il===0&&(Il=Is()),Il):(e=b,e!==0||(e=window.event,e=e===void 0?16:Us(e.type)),e)}function mt(e,t,n,r){if(50<Cr)throw Cr=0,Po=null,Error(s(185));Yn(e,n,r),((K&2)===0||e!==Ie)&&(e===Ie&&((K&2)===0&&(Cl|=n),Ce===4&&Yt(e,ze)),Xe(e,r),n===1&&K===0&&(t.mode&1)===0&&(Fn=ge()+500,rl&&Ht()))}function Xe(e,t){var n=e.callbackNode;$c(e,t);var r=Ur(e,e===Ie?ze:0);if(r===0)n!==null&&_s(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&_s(n),t===1)e.tag===0?$f(Ua.bind(null,e)):xu(Ua.bind(null,e)),Hf(function(){(K&6)===0&&Ht()}),n=null;else{switch(Ns(r)){case 1:n=oi;break;case 4:n=Ls;break;case 16:n=Mr;break;case 536870912:n=Ps;break;default:n=Mr}n=Ka(n,Aa.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Aa(e,t){if(Pl=-1,Il=0,(K&6)!==0)throw Error(s(327));var n=e.callbackNode;if(Dn()&&e.callbackNode!==n)return null;var r=Ur(e,e===Ie?ze:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Nl(e,r);else{t=r;var l=K;K|=2;var i=Ba();(Ie!==e||ze!==t)&&(Ot=null,Fn=ge()+500,un(e,t));do try{dd();break}catch(u){ja(e,u)}while(!0);$i(),xl.current=i,K=l,Se!==null?t=0:(Ie=null,ze=0,t=Ce)}if(t!==0){if(t===2&&(l=si(e),l!==0&&(r=l,t=Io(e,l))),t===1)throw n=Er,un(e,0),Yt(e,r),Xe(e,ge()),n;if(t===6)Yt(e,r);else{if(l=e.current.alternate,(r&30)===0&&!cd(l)&&(t=Nl(e,r),t===2&&(i=si(e),i!==0&&(r=i,t=Io(e,i))),t===1))throw n=Er,un(e,0),Yt(e,r),Xe(e,ge()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(s(345));case 2:an(e,Ye,Ot);break;case 3:if(Yt(e,r),(r&130023424)===r&&(t=_o+500-ge(),10<t)){if(Ur(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){We(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Mi(an.bind(null,e,Ye,Ot),t);break}an(e,Ye,Ot);break;case 4:if(Yt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-at(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ad(r/1960))-r,10<r){e.timeoutHandle=Mi(an.bind(null,e,Ye,Ot),r);break}an(e,Ye,Ot);break;case 5:an(e,Ye,Ot);break;default:throw Error(s(329))}}}return Xe(e,ge()),e.callbackNode===n?Aa.bind(null,e):null}function Io(e,t){var n=xr;return e.current.memoizedState.isDehydrated&&(un(e,t).flags|=256),e=Nl(e,t),e!==2&&(t=Ye,Ye=n,t!==null&&No(t)),e}function No(e){Ye===null?Ye=e:Ye.push.apply(Ye,e)}function cd(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!ct(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 Yt(e,t){for(t&=~To,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function Ua(e){if((K&6)!==0)throw Error(s(327));Dn();var t=Ur(e,0);if((t&1)===0)return Xe(e,ge()),null;var n=Nl(e,t);if(e.tag!==0&&n===2){var r=si(e);r!==0&&(t=r,n=Io(e,r))}if(n===1)throw n=Er,un(e,0),Yt(e,t),Xe(e,ge()),n;if(n===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,an(e,Ye,Ot),Xe(e,ge()),null}function Oo(e,t){var n=K;K|=1;try{return e(t)}finally{K=n,K===0&&(Fn=ge()+500,rl&&Ht())}}function sn(e){Kt!==null&&Kt.tag===0&&(K&6)===0&&Dn();var t=K;K|=1;var n=ot.transition,r=b;try{if(ot.transition=null,b=1,e)return e()}finally{b=r,ot.transition=n,K=t,(K&6)===0&&Ht()}}function Ro(){et=Mn.current,oe(Mn)}function un(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Bf(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(Bi(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&tl();break;case 3:On(),oe($e),oe(Fe),bi();break;case 5:Ji(r);break;case 4:On();break;case 13:oe(fe);break;case 19:oe(fe);break;case 10:Ki(r.type._context);break;case 22:case 23:Ro()}n=n.return}if(Ie=e,Se=e=Xt(e.current,null),ze=et=t,Ce=0,Er=null,To=Cl=on=0,Ye=xr=null,nn!==null){for(t=0;t<nn.length;t++)if(n=nn[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}nn=null}return e}function ja(e,t){do{var n=Se;try{if($i(),pl.current=vl,hl){for(var r=de.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}hl=!1}if(ln=0,Pe=xe=de=null,gr=!1,vr=0,Co.current=null,n===null||n.return===null){Ce=1,Er=t,Se=null;break}e:{var i=e,o=n.return,u=n,c=t;if(t=ze,u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var m=c,S=u,k=S.tag;if((S.mode&1)===0&&(k===0||k===11||k===15)){var y=S.alternate;y?(S.updateQueue=y.updateQueue,S.memoizedState=y.memoizedState,S.lanes=y.lanes):(S.updateQueue=null,S.memoizedState=null)}var _=ca(o);if(_!==null){_.flags&=-257,fa(_,o,u,i,t),_.mode&1&&aa(i,m,t),t=_,c=m;var N=t.updateQueue;if(N===null){var O=new Set;O.add(c),t.updateQueue=O}else N.add(c);break e}else{if((t&1)===0){aa(i,m,t),zo();break e}c=Error(s(426))}}else if(ae&&u.mode&1){var ve=ca(o);if(ve!==null){(ve.flags&65536)===0&&(ve.flags|=256),fa(ve,o,u,i,t),Vi(Rn(c,u));break e}}i=c=Rn(c,u),Ce!==4&&(Ce=2),xr===null?xr=[i]:xr.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=sa(i,c,t);Mu(i,p);break e;case 1:u=c;var f=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&($t===null||!$t.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var x=ua(i,u,t);Mu(i,x);break e}}i=i.return}while(i!==null)}Wa(n)}catch(R){t=R,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function Ba(){var e=xl.current;return xl.current=vl,e===null?vl:e}function zo(){(Ce===0||Ce===3||Ce===2)&&(Ce=4),Ie===null||(on&268435455)===0&&(Cl&268435455)===0||Yt(Ie,ze)}function Nl(e,t){var n=K;K|=2;var r=Ba();(Ie!==e||ze!==t)&&(Ot=null,un(e,t));do try{fd();break}catch(l){ja(e,l)}while(!0);if($i(),K=n,xl.current=r,Se!==null)throw Error(s(261));return Ie=null,ze=0,Ce}function fd(){for(;Se!==null;)Ha(Se)}function dd(){for(;Se!==null&&!Dc();)Ha(Se)}function Ha(e){var t=$a(e.alternate,e,et);e.memoizedProps=e.pendingProps,t===null?Wa(e):Se=t,Co.current=null}function Wa(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=ld(n,t,et),n!==null){Se=n;return}}else{if(n=id(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ce=6,Se=null;return}}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Ce===0&&(Ce=5)}function an(e,t,n){var r=b,l=ot.transition;try{ot.transition=null,b=1,pd(e,t,n,r)}finally{ot.transition=l,b=r}return null}function pd(e,t,n,r){do Dn();while(Kt!==null);if((K&6)!==0)throw Error(s(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Kc(e,i),e===Ie&&(Se=Ie=null,ze=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||_l||(_l=!0,Ka(Mr,function(){return Dn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=ot.transition,ot.transition=null;var o=b;b=1;var u=K;K|=4,Co.current=null,sd(e,n),Ra(n,e),zf(Ri),Hr=!!Oi,Ri=Oi=null,e.current=n,ud(n),Ac(),K=u,b=o,ot.transition=i}else e.current=n;if(_l&&(_l=!1,Kt=e,Ll=l),i=e.pendingLanes,i===0&&($t=null),Bc(n.stateNode),Xe(e,ge()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(Tl)throw Tl=!1,e=Lo,Lo=null,e;return(Ll&1)!==0&&e.tag!==0&&Dn(),i=e.pendingLanes,(i&1)!==0?e===Po?Cr++:(Cr=0,Po=e):Cr=0,Ht(),null}function Dn(){if(Kt!==null){var e=Ns(Ll),t=ot.transition,n=b;try{if(ot.transition=null,b=16>e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Ll=0,(K&6)!==0)throw Error(s(331));var l=K;for(K|=4,L=e.current;L!==null;){var i=L,o=i.child;if((L.flags&16)!==0){var u=i.deletions;if(u!==null){for(var c=0;c<u.length;c++){var m=u[c];for(L=m;L!==null;){var S=L;switch(S.tag){case 0:case 11:case 15:kr(8,S,i)}var k=S.child;if(k!==null)k.return=S,L=k;else for(;L!==null;){S=L;var y=S.sibling,_=S.return;if(La(S),S===m){L=null;break}if(y!==null){y.return=_,L=y;break}L=_}}}var N=i.alternate;if(N!==null){var O=N.child;if(O!==null){N.child=null;do{var ve=O.sibling;O.sibling=null,O=ve}while(O!==null)}}L=i}}if((i.subtreeFlags&2064)!==0&&o!==null)o.return=i,L=o;else e:for(;L!==null;){if(i=L,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:kr(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,L=p;break e}L=i.return}}var f=e.current;for(L=f;L!==null;){o=L;var h=o.child;if((o.subtreeFlags&2064)!==0&&h!==null)h.return=o,L=h;else e:for(o=f;L!==null;){if(u=L,(u.flags&2048)!==0)try{switch(u.tag){case 0:case 11:case 15:El(9,u)}}catch(R){me(u,u.return,R)}if(u===o){L=null;break e}var x=u.sibling;if(x!==null){x.return=u.return,L=x;break e}L=u.return}}if(K=l,Ht(),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(Fr,e)}catch{}r=!0}return r}finally{b=n,ot.transition=t}}return!1}function Va(e,t,n){t=Rn(n,t),t=sa(e,t,1),e=Vt(e,t,1),t=We(),e!==null&&(Yn(e,1,t),Xe(e,t))}function me(e,t,n){if(e.tag===3)Va(e,e,n);else for(;t!==null;){if(t.tag===3){Va(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&($t===null||!$t.has(r))){e=Rn(n,e),e=ua(t,e,1),t=Vt(t,e,1),e=We(),t!==null&&(Yn(t,1,e),Xe(t,e));break}}t=t.return}}function hd(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=We(),e.pingedLanes|=e.suspendedLanes&n,Ie===e&&(ze&n)===n&&(Ce===4||Ce===3&&(ze&130023424)===ze&&500>ge()-_o?un(e,0):To|=n),Xe(e,t)}function Qa(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ar,Ar<<=1,(Ar&130023424)===0&&(Ar=4194304)));var n=We();e=Pt(e,t),e!==null&&(Yn(e,t,n),Xe(e,n))}function md(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qa(e,n)}function gd(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(s(314))}r!==null&&r.delete(t),Qa(e,n)}var $a;$a=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$e.current)Ge=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ge=!1,rd(e,t,n);Ge=(e.flags&131072)!==0}else Ge=!1,ae&&(t.flags&1048576)!==0&&Cu(t,il,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Sl(e,t),e=t.pendingProps;var l=Cn(t,Fe.current);Nn(t,n),l=no(null,t,r,e,l,n);var i=ro();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ke(r)?(i=!0,nl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Xi(t),l.updater=yl,t.stateNode=l,l._reactInternals=t,ao(t,r,e,n),t=ho(null,t,r,!0,i,n)):(t.tag=0,ae&&i&&ji(t),He(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Sl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=yd(r),e=dt(r,e),l){case 0:t=po(null,t,r,e,n);break e;case 1:t=va(null,t,r,e,n);break e;case 11:t=da(null,t,r,e,n);break e;case 14:t=pa(null,t,r,dt(r.type,e),n);break e}throw Error(s(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),po(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),va(e,t,r,l,n);case 3:e:{if(ya(t),e===null)throw Error(s(387));r=t.pendingProps,i=t.memoizedState,l=i.element,zu(e,t),fl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Rn(Error(s(423)),t),t=wa(e,t,r,n,l);break e}else if(r!==l){l=Rn(Error(s(424)),t),t=wa(e,t,r,n,l);break e}else for(be=Ut(t.stateNode.containerInfo.firstChild),qe=t,ae=!0,ft=null,n=Ou(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ln(),r===l){t=Nt(e,t,n);break e}He(e,t,r,n)}t=t.child}return t;case 5:return Du(t),e===null&&Wi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,zi(r,l)?o=null:i!==null&&zi(r,i)&&(t.flags|=32),ga(e,t),He(e,t,o,n),t.child;case 6:return e===null&&Wi(t),null;case 13:return Sa(e,t,n);case 4:return Zi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Pn(t,null,r,n):He(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),da(e,t,r,l,n);case 7:return He(e,t,t.pendingProps,n),t.child;case 8:return He(e,t,t.pendingProps.children,n),t.child;case 12:return He(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,re(ul,r._currentValue),r._currentValue=o,i!==null)if(ct(i.value,o)){if(i.children===l.children&&!$e.current){t=Nt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var c=u.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=It(-1,n&-n),c.tag=2;var m=i.updateQueue;if(m!==null){m=m.shared;var S=m.pending;S===null?c.next=c:(c.next=S.next,S.next=c),m.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Gi(i.return,n,t),u.lanes|=n;break}c=c.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(s(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Gi(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}He(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Nn(t,n),l=lt(l),r=r(l),t.flags|=1,He(e,t,r,n),t.child;case 14:return r=t.type,l=dt(r,t.pendingProps),l=dt(r.type,l),pa(e,t,r,l,n);case 15:return ha(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:dt(r,l),Sl(e,t),t.tag=1,Ke(r)?(e=!0,nl(t)):e=!1,Nn(t,n),ia(t,r,l),ao(t,r,l,n),ho(null,t,r,!0,e,n);case 19:return Ea(e,t,n);case 22:return ma(e,t,n)}throw Error(s(156,t.tag))};function Ka(e,t){return Ts(e,t)}function vd(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function st(e,t,n,r){return new vd(e,t,n,r)}function Mo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yd(e){if(typeof e=="function")return Mo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===tt)return 11;if(e===Le)return 14}return 2}function Xt(e,t){var n=e.alternate;return n===null?(n=st(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ol(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Mo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case _e:return cn(n.children,l,i,t);case te:o=8,l|=8;break;case Me:return e=st(12,n,t,l|2),e.elementType=Me,e.lanes=i,e;case le:return e=st(13,n,t,l),e.elementType=le,e.lanes=i,e;case pe:return e=st(19,n,t,l),e.elementType=pe,e.lanes=i,e;case he:return Rl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ut:o=10;break e;case xt:o=9;break e;case tt:o=11;break e;case Le:o=14;break e;case Qe:o=16,r=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=st(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function cn(e,t,n,r){return e=st(7,e,r,t),e.lanes=n,e}function Rl(e,t,n,r){return e=st(22,e,r,t),e.elementType=he,e.lanes=n,e.stateNode={isHidden:!1},e}function Fo(e,t,n){return e=st(6,e,null,t),e.lanes=n,e}function Do(e,t,n){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function wd(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ui(0),this.expirationTimes=ui(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ui(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ao(e,t,n,r,l,i,o,u,c){return e=new wd(e,t,n,u,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=st(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xi(i),e}function Sd(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ee,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ga(e){if(!e)return Bt;e=e._reactInternals;e:{if(Jt(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ke(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var n=e.type;if(Ke(n))return ku(e,n,t)}return t}function Ya(e,t,n,r,l,i,o,u,c){return e=Ao(n,r,!0,e,l,i,o,u,c),e.context=Ga(null),n=e.current,r=We(),l=Gt(n),i=It(r,l),i.callback=t??null,Vt(n,i,l),e.current.lanes=l,Yn(e,l,r),Xe(e,r),e}function zl(e,t,n,r){var l=t.current,i=We(),o=Gt(l);return n=Ga(n),t.context===null?t.context=n:t.pendingContext=n,t=It(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vt(l,t,o),e!==null&&(mt(e,l,o,i),cl(e,l,o)),o}function Ml(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Xa(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Uo(e,t){Xa(e,t),(e=e.alternate)&&Xa(e,t)}function kd(){return null}var Za=typeof reportError=="function"?reportError:function(e){console.error(e)};function jo(e){this._internalRoot=e}Fl.prototype.render=jo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));zl(e,t,null,null)},Fl.prototype.unmount=jo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sn(function(){zl(null,e,null,null)}),t[Ct]=null}};function Fl(e){this._internalRoot=e}Fl.prototype.unstable_scheduleHydration=function(e){if(e){var t=zs();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ft.length&&t!==0&&t<Ft[n].priority;n++);Ft.splice(n,0,e),n===0&&Ds(e)}};function Bo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Dl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ja(){}function Ed(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var m=Ml(o);i.call(m)}}var o=Ya(t,r,e,0,null,!1,!1,"",Ja);return e._reactRootContainer=o,e[Ct]=o.current,ur(e.nodeType===8?e.parentNode:e),sn(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var m=Ml(c);u.call(m)}}var c=Ao(e,0,!1,null,null,!1,!1,"",Ja);return e._reactRootContainer=c,e[Ct]=c.current,ur(e.nodeType===8?e.parentNode:e),sn(function(){zl(t,c,n,r)}),c}function Al(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var u=l;l=function(){var c=Ml(o);u.call(c)}}zl(t,o,e,l)}else o=Ed(n,t,e,l,r);return Ml(o)}Os=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Gn(t.pendingLanes);n!==0&&(ai(t,n|1),Xe(t,ge()),(K&6)===0&&(Fn=ge()+500,Ht()))}break;case 13:sn(function(){var r=Pt(e,1);if(r!==null){var l=We();mt(r,e,1,l)}}),Uo(e,1)}},ci=function(e){if(e.tag===13){var t=Pt(e,134217728);if(t!==null){var n=We();mt(t,e,134217728,n)}Uo(e,134217728)}},Rs=function(e){if(e.tag===13){var t=Gt(e),n=Pt(e,t);if(n!==null){var r=We();mt(n,e,t,r)}Uo(e,t)}},zs=function(){return b},Ms=function(e,t){var n=b;try{return b=e,t()}finally{b=n}},ni=function(e,t,n){switch(t){case"input":if(Yl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=el(r);if(!l)throw Error(s(90));ls(r),Yl(r,l)}}}break;case"textarea":as(e,n);break;case"select":t=n.value,t!=null&&dn(e,!!n.multiple,t,!1)}},ys=Oo,ws=sn;var xd={usingClientEntryPoint:!1,Events:[fr,En,el,gs,vs,Oo]},Tr={findFiberByHostInstance:qt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Cd={bundleType:Tr.bundleType,version:Tr.version,rendererPackageName:Tr.rendererPackageName,rendererConfig:Tr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:we.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=xs(e),e===null?null:e.stateNode},findFiberByHostInstance:Tr.findFiberByHostInstance||kd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ul=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ul.isDisabled&&Ul.supportsFiber)try{Fr=Ul.inject(Cd),vt=Ul}catch{}}return Ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xd,Ve.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bo(t))throw Error(s(200));return Sd(e,t,null,n)},Ve.createRoot=function(e,t){if(!Bo(e))throw Error(s(299));var n=!1,r="",l=Za;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Ao(e,1,!1,null,null,n,!1,r,l),e[Ct]=t.current,ur(e.nodeType===8?e.parentNode:e),new jo(t)},Ve.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=xs(t),e=e===null?null:e.stateNode,e},Ve.flushSync=function(e){return sn(e)},Ve.hydrate=function(e,t,n){if(!Dl(t))throw Error(s(200));return Al(null,e,t,!0,n)},Ve.hydrateRoot=function(e,t,n){if(!Bo(e))throw Error(s(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=Za;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Ya(t,null,e,1,n??null,l,!1,i,o),e[Ct]=t.current,ur(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Fl(t)},Ve.render=function(e,t,n){if(!Dl(t))throw Error(s(200));return Al(null,e,t,!1,n)},Ve.unmountComponentAtNode=function(e){if(!Dl(e))throw Error(s(40));return e._reactRootContainer?(sn(function(){Al(null,null,e,!1,function(){e._reactRootContainer=null,e[Ct]=null})}),!0):!1},Ve.unstable_batchedUpdates=Oo,Ve.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Dl(n))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return Al(e,t,n,!1,r)},Ve.version="18.3.1-next-f1338f8080-20240426",Ve}var Ko;function rc(){if(Ko)return Hl.exports;Ko=1;function v(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(v)}catch(a){console.error(a)}}return v(),Hl.exports=nc(),Hl.exports}var Go;function lc(){if(Go)return _r;Go=1;var v=rc();return _r.createRoot=v.createRoot,_r.hydrateRoot=v.hydrateRoot,_r}var Yo=lc(),Ql={exports:{}},Un={};var Xo;function ic(){if(Xo)return Un;Xo=1;var v=Bl(),a=Symbol.for("react.element"),s=Symbol.for("react.fragment"),g=Object.prototype.hasOwnProperty,E=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,T={key:!0,ref:!0,__self:!0,__source:!0};function z(A,P,V){var Q,H={},G=null,ee=null;V!==void 0&&(G=""+V),P.key!==void 0&&(G=""+P.key),P.ref!==void 0&&(ee=P.ref);for(Q in P)g.call(P,Q)&&!T.hasOwnProperty(Q)&&(H[Q]=P[Q]);if(A&&A.defaultProps)for(Q in P=A.defaultProps,P)H[Q]===void 0&&(H[Q]=P[Q]);return{$$typeof:a,type:A,key:G,ref:ee,props:H,_owner:E.current}}return Un.Fragment=s,Un.jsx=z,Un.jsxs=z,Un}var Zo;function oc(){return Zo||(Zo=1,Ql.exports=ic()),Ql.exports}var Te=oc();const sc='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',uc="--color-brand-secondary",Jo="255 130 0",ac=/^\d{1,3}\s+\d{1,3}\s+\d{1,3}$/,$l=v=>{const a=v.trim(),s=a.split(/\s+/).map(Number);if(ac.test(a)&&s.every(z=>z<=255))return[s[0],s[1],s[2]];const[g,E,T]=Jo.split(" ").map(Number);return[g,E,T]},qo=([v,a,s])=>{const[g,E,T]=[v,a,s].map(z=>{const A=z/255;return A<=.03928?A/12.92:((A+.055)/1.055)**2.4});return .2126*g+.7152*E+.0722*T},cc=qo([26,26,26]),fc=v=>{const a=qo(v),s=(1+.05)/(a+.05);return(a+.05)/(cc+.05)>=s?"#1a1a1a":"#ffffff"},dc={light:{card:"var(--color-system-chrome, #ffffff)",border:"var(--color-system-regular, rgba(120, 120, 128, 0.16))",title:"var(--color-fg-primary, #000000)",sub:"var(--color-fg-secondary, rgba(39, 39, 46, 0.7))",dismiss:"var(--color-fg-secondary, rgba(39, 39, 46, 0.7))"},dark:{card:"var(--color-system-chrome-dark, #2c2c2e)",border:"var(--color-system-regular-dark, rgba(120, 120, 128, 0.32))",title:"var(--color-fg-primary-dark, #ffffff)",sub:"var(--color-fg-secondary-dark, rgba(235, 235, 245, 0.6))",dismiss:"var(--color-fg-secondary-dark, rgba(235, 235, 245, 0.6))"}},pc="(max-width: 720px)",bo=()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia(pc):null;function hc(){return Te.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[Te.jsx("rect",{x:"2",y:"5",width:"20",height:"14",rx:"2"}),Te.jsx("line",{x1:"2",y1:"10",x2:"22",y2:"10"})]})}function mc({zIndex:v,theme:a,brandColor:s,onUpdate:g,onDismiss:E}){const[T,z]=se.useState(!1),[A,P]=se.useState(()=>bo()?.matches??!1),V=se.useRef(null),[Q,H]=se.useState(()=>$l(Jo));se.useEffect(()=>{const te=requestAnimationFrame(()=>z(!0));return()=>cancelAnimationFrame(te)},[]),se.useEffect(()=>{if(s!=null){H($l(s));return}if(!V.current)return;const te=getComputedStyle(V.current).getPropertyValue(uc);H($l(te))},[s]);const G=se.useRef(!1);se.useEffect(()=>{if(!T)return;const te=Me=>{Me.key!=="Escape"||Me.defaultPrevented||G.current||(G.current=!0,E())};return window.addEventListener("keydown",te),()=>window.removeEventListener("keydown",te)},[T,E]),se.useEffect(()=>{const te=bo();if(!te)return;const Me=()=>P(te.matches);return te.addEventListener("change",Me),()=>te.removeEventListener("change",Me)},[]);const ee=dc[a],[ce,J,$]=Q,je=`rgb(${ce}, ${J}, ${$})`,Be=fc(Q),Oe={position:"fixed",top:"16px",left:"50%",width:A?"calc(100% - 32px)":"calc(100% - 48px)",maxWidth:"520px",zIndex:v,opacity:T?1:0,visibility:T?"visible":"hidden",pointerEvents:T?"auto":"none",transform:T?"translateX(-50%) translateY(0)":"translateX(-50%) translateY(-12px)",transition:"opacity 0.3s ease, transform 0.3s ease"},we={display:"flex",alignItems:"center",gap:A?"10px":"14px",padding:A?"12px":"14px 14px 14px 16px",background:ee.card,color:ee.title,borderRadius:"14px",border:`1px solid ${ee.border}`,boxShadow:"0 1px 2px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.18)",fontFamily:sc},ke={display:"flex",alignItems:"center",justifyContent:"center",width:"44px",height:"44px",background:`rgba(${ce}, ${J}, ${$}, 0.12)`,color:je,borderRadius:"10px",flexShrink:0},Ee={flexShrink:0,padding:A?"8px 12px":"12px 18px",background:je,color:Be,border:"none",borderRadius:"16px",fontWeight:700,fontSize:A?"12px":"13px",lineHeight:1,cursor:"pointer",fontFamily:"inherit"},_e={flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",background:"transparent",color:ee.dismiss,border:"none",borderRadius:"50%",fontSize:"16px",lineHeight:1,cursor:"pointer"};return Te.jsx("div",{ref:V,role:"status","aria-live":"polite",style:Oe,children:Te.jsxs("div",{style:we,children:[Te.jsx("div",{style:ke,children:Te.jsx(hc,{})}),Te.jsxs("div",{style:{flex:1,minWidth:0},children:[Te.jsx("div",{style:{fontSize:"14px",fontWeight:700,lineHeight:1.3,marginBottom:"3px"},children:"Reminder to update your gift!"}),Te.jsx("div",{style:{fontSize:"12.5px",color:ee.sub,lineHeight:1.4},children:"Please take a minute to update the gifts on your account for our new giving platform."})]}),Te.jsx("button",{type:"button",style:Ee,onClick:g,children:"Update"}),Te.jsx("button",{type:"button","aria-label":"Dismiss",style:_e,onClick:E,children:"✕"})]})})}const gc="/search",es="https://apollos.com";function ts(v){return new URL(v||"/","http://embed.invalid").pathname}function vc(v){return new URL(v.baseUrl||es).origin}function yc(v,a){const s=v.baseUrl||es,g=a==="/"?"":a,E=new URL(`${s}/${v.slug}${g}`);E.searchParams.set("embedMode","modal");const T=ts(v.searchPath??gc);return v.feedId&&ts(a)===T&&E.searchParams.set("feedId",v.feedId),E.toString()}const wc=360,Sc=24;function kc(v,a,s){return v&&!a&&s!=null&&s>0}function Ec(v){return Math.max(wc,v+Sc)}const jn={EMBED_INIT:"APOLLOS_EMBED_INIT",FULLSCREEN_CHANGED:"APOLLOS_FULLSCREEN_CHANGED",THEME_CHANGED:"APOLLOS_THEME_CHANGED"},Et={EMBED_READY:"APOLLOS_EMBED_READY",EMBED_UPDATE:"APOLLOS_EMBED_UPDATE",NAVIGATION:"APOLLOS_NAVIGATION",REQUEST_CLOSE:"APOLLOS_REQUEST_CLOSE",REQUEST_FULLSCREEN:"APOLLOS_REQUEST_FULLSCREEN",OPEN_EXTERNAL:"APOLLOS_OPEN_EXTERNAL",REQUEST_NAVIGATION:"APOLLOS_REQUEST_NAVIGATION",HEIGHT_CHANGE:"APOLLOS_HEIGHT_CHANGE",MODAL_OPTIONS:"APOLLOS_MODAL_OPTIONS"},Lr={SHOW_MIGRATION_TOAST:"apollos:showMigrationToast",MIGRATION_TOAST_SHOWN:"apollos:migrationToastShown",MIGRATION_TOAST_TAPPED:"apollos:migrationToastTapped",MIGRATION_TOAST_DISMISSED:"apollos:migrationToastDismissed"};function Bn(v,a,s){v.contentWindow&&v.contentWindow.postMessage(a,s)}function xc(v,a){if(v.origin!==a)return!1;const s=v.data;return!s||typeof s!="object"||typeof s.type!="string"?!1:Object.values(Et).includes(s.type)}const ns=768;function Cc(v){if(!v||typeof v!="object"||Array.isArray(v))return!1;const a=v;return(a.size===void 0||a.size==="default"||a.size==="medium"||a.size==="large"||a.size==="small")&&(a.defaultFullscreen===void 0||typeof a.defaultFullscreen=="boolean")&&(a.fitContent===void 0||typeof a.fitContent=="boolean")}const Tc=({config:v,state:a,onClose:s,onToggleFullscreen:g,onApplyModalOptions:E})=>{const[T,z]=An.useState(!0),[A,P]=An.useState(null),[V,Q]=An.useState(()=>typeof window<"u"&&window.innerWidth>=ns),H=se.useRef(null),G=se.useRef(a);se.useEffect(()=>{G.current=a},[a]);const ee=yc(v,a.currentPath),ce=vc(v),J=a.modalSize==="medium",$=a.modalSize==="large",je=a.modalSize==="small",Be=kc(a.modalFitContent,a.isFullscreen,A),Oe=se.useCallback(le=>{le.key==="Escape"&&a.isOpen&&(le.preventDefault(),s())},[a.isOpen,s]);se.useEffect(()=>(document.addEventListener("keydown",Oe),()=>document.removeEventListener("keydown",Oe)),[Oe]),se.useEffect(()=>(a.isOpen?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[a.isOpen]),se.useEffect(()=>{function le(){Q(window.innerWidth>=ns)}return window.addEventListener("resize",le),()=>window.removeEventListener("resize",le)},[]);const we=le=>{le.target===le.currentTarget&&s()},ke=se.useRef(!1);se.useEffect(()=>{function le(pe){if(xc(pe,ce)&&pe.source===H.current?.contentWindow){if(pe.data.type===Et.EMBED_READY&&(z(!1),H.current)){const Le=G.current;Bn(H.current,{type:jn.EMBED_INIT,payload:{theme:Le.resolvedTheme,showExpandButton:V,isFullscreen:Le.isFullscreen,mode:"modal"}},ce),ke.current=!0}if(pe.data.type===Et.REQUEST_CLOSE&&s(),pe.data.type===Et.REQUEST_FULLSCREEN&&g(),pe.data.type===Et.MODAL_OPTIONS&&Cc(pe.data.payload)&&E(pe.data.payload),pe.data.type===Et.HEIGHT_CHANGE){const Le=pe.data.payload;Le&&typeof Le.height=="number"&&Le.height>0&&P(Le.height)}}}return window.addEventListener("message",le),()=>window.removeEventListener("message",le)},[ce,V,s,g,E]),se.useEffect(()=>{ke.current&&H.current&&Bn(H.current,{type:jn.THEME_CHANGED,payload:{theme:a.resolvedTheme}},ce)},[a.resolvedTheme,ce]),se.useEffect(()=>{ke.current&&H.current&&Bn(H.current,{type:jn.FULLSCREEN_CHANGED,payload:{isFullscreen:a.isFullscreen,showExpandButton:V}},ce)},[a.isFullscreen,V,ce]),se.useEffect(()=>{z(!0),P(null),ke.current=!1},[a.currentPath]),se.useEffect(()=>{a.modalFitContent||P(null)},[a.modalFitContent]),se.useEffect(()=>{z(!0),a.isOpen||(P(null),ke.current=!1)},[a.isOpen]);const Ee=["apls-fixed","apls-inset-0","apls-w-screen","apls-h-screen","supports-[width:100dvw]:apls-w-[100dvw]","supports-[height:100dvh]:apls-h-[100dvh]","apls-flex","apls-items-center","apls-justify-center","apls-bg-black/50",a.isOpen?"apls-opacity-100":"apls-opacity-0 apls-pointer-events-none","apls-transition-opacity","apls-duration-300","apls-ease-out"].join(" "),_e=["apls-relative","apls-flex","apls-flex-col","apls-overflow-hidden","apls-shadow-2xl","apls-backdrop-blur-md","apls-bg-system-screen dark:apls-bg-system-screen-dark","apls-transition-all","apls-duration-300","apls-ease-out",a.isOpen?"apls-scale-100 apls-opacity-100":"apls-scale-95 apls-opacity-0","apls-w-screen","apls-h-screen","apls-max-h-screen","supports-[width:100dvw]:apls-w-[100dvw]","supports-[height:100dvh]:apls-h-[100dvh]","supports-[max-height:100dvh]:apls-max-h-[100dvh]","apls-rounded-none",...a.isFullscreen?["md:apls-w-screen","md:apls-h-screen","md:apls-max-h-screen","md:supports-[width:100dvw]:apls-w-[100dvw]","md:supports-[height:100dvh]:apls-h-[100dvh]","md:supports-[max-height:100dvh]:apls-max-h-[100dvh]"]:Be?["md:apls-w-[calc(100dvw-64px)]",$?"md:apls-max-w-[1120px]":je?"md:apls-max-w-[544px]":J?"md:apls-max-w-[640px]":"md:apls-max-w-[600px]","md:apls-h-auto","md:apls-min-h-[min(360px,calc(100dvh-64px))]","md:apls-max-h-[min(960px,calc(100dvh-64px))]","md:apls-rounded-3xl"]:$?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[1120px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:J?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[640px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:je?["md:apls-w-[calc(100dvw-64px)]","md:apls-h-[calc(100dvh-64px)]","md:apls-max-w-[544px]","md:apls-max-h-[960px]","md:apls-rounded-3xl"]:["md:apls-w-[600px]","md:apls-h-[900px]","md:apls-max-h-[95vh]","md:apls-rounded-3xl"]].join(" "),te=["apls-flex-1","apls-flex","apls-flex-col","apls-relative","apls-overflow-hidden"].join(" "),Me=["apls-w-full","apls-h-full","apls-flex-grow","apls-border-none","apls-bg-transparent",...T?["apls-hidden"]:[]].join(" "),ut=["apls-absolute","apls-inset-0","apls-flex","apls-items-center","apls-justify-center"].join(" "),xt=["apls-w-8","apls-h-8","apls-border-[3px]","apls-border-solid","apls-border-system-regular dark:apls-border-system-regular-dark","apls-border-t-fg-tertiary dark:apls-border-t-fg-tertiary-dark","apls-rounded-full","apls-animate-spin"].join(" "),tt=Be&&V&&A!=null?{height:`${Ec(A)}px`}:void 0;return Te.jsx("div",{className:Ee,onClick:we,style:{zIndex:v.zIndex},role:"dialog","aria-modal":"true","aria-label":"Apollos Embed",children:Te.jsx("div",{className:_e,style:tt,children:Te.jsxs("div",{className:te,children:[T?Te.jsx("div",{className:ut,children:Te.jsx("div",{className:xt})}):null,a.isOpen?Te.jsx("iframe",{ref:H,className:Me,src:ee,title:"Apollos",allow:"payment *",allowTransparency:!0}):null]})})})};class Pr{iframe=null;static PROBE_ATTRIBUTE="data-apollos-migration-probe";inject(a,s,g){if(this.iframe)return;const E=new URL(`${s.replace(/\/+$/,"")}/${a}/_embed`);g&&E.searchParams.set("personOriginId",g);const T=document.createElement("iframe");T.src=E.toString(),T.width="1",T.height="1",T.style.cssText="position:absolute;top:-9999px;left:-9999px;border:0;",T.setAttribute("sandbox","allow-scripts allow-same-origin"),T.setAttribute("aria-hidden","true"),T.setAttribute("tabindex","-1"),T.title="Apollos migration probe",T.setAttribute(Pr.PROBE_ATTRIBUTE,"true"),document.body.appendChild(T),this.iframe=T}getContentWindow(){return this.iframe?.contentWindow??null}postToProbe(a){const s=this.iframe?.contentWindow;!s||!this.iframe||s.postMessage({type:a},new URL(this.iframe.src).origin)}notifyShown(){this.postToProbe(Lr.MIGRATION_TOAST_SHOWN)}notifyTapped(){this.postToProbe(Lr.MIGRATION_TOAST_TAPPED)}notifyDismissed(){this.postToProbe(Lr.MIGRATION_TOAST_DISMISSED)}destroy(){this.iframe?.remove(),this.iframe=null}}function _c(v){return v.includes("ContentItem")?"/c":v==="Event"?"/e":v==="FeatureFeed"?"/f":v==="Livestream"?"/live":"/c"}function Lc(v){if(/^[A-Z]\w+-/.test(v)){const[s,...g]=v.split(/-(.*)/s);if(s&&g[0])return{type:s,randomId:g[0]}}else{const s=v.split("-").at(-1);if(!s)return null;try{const g=atob(s),[E,...T]=g.split(/-(.*)/s);if(E&&T[0])return{type:E,randomId:T[0]}}catch{return null}}return null}const rs="Ask anything",Kl="/search",Pc={showAskBar:!1,askBarLabel:rs,searchPath:Kl,interceptLinks:!0,position:"bottom-center",offsetX:0,offsetY:48,autoOpen:!1,defaultPath:"/",baseUrl:"https://apollos.com",zIndex:999999,themeMode:"auto"};class gt{config;state;container=null;root=null;askBar=null;askBarKeyListener=null;mediaQueryListener=null;mediaQuery=null;messageListener=null;embedIframe=new Pr;personOriginIdObserver=null;migrationToastContainer=null;migrationToastRoot=null;migrationToastPayload=null;pendingMigrationToastPayload=null;domContentLoadedListener=null;destroyed=!1;hasExplicitFullscreenSelection=!1;inlineIframes=new Map;inlineSkeletons=new Map;inlineSkeletonParentRestore=new Map;inlineSkeletonFallbackTimeouts=new Map;heightChangeTimeouts=new Map;static HEIGHT_TRANSITION_MS=120;static HEIGHT_DEBOUNCE_MS=120;static INLINE_SKELETON_FALLBACK_MS=2500;static INLINE_READY_FALLBACK_MS=400;static hasInjectedSkeletonStyles=!1;constructor(a){if(this.config={...Pc,...a},this.state={isOpen:!1,isFullscreen:!1,modalSize:"default",modalFitContent:!1,currentPath:this.config.defaultPath||"/",canGoBack:!1,resolvedTheme:this.resolveTheme()},!this.config.slug)throw new Error("ApollosEmbed: slug is required in config");this.init()}resolveTheme(){const{themeMode:a}=this.config;return a==="light"?"light":a==="dark"||typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}setupThemeListener(){this.cleanupThemeListener(),!(this.config.themeMode!=="auto"||typeof window>"u"||!window.matchMedia)&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQueryListener=a=>{this.state.resolvedTheme=a.matches?"dark":"light",this.applyThemeClass(),this.render(),this.renderMigrationToastContent(),this.sendThemeToInlineIframes(),this.askBar&&(this.removeAskBar(),this.createAskBar())},this.mediaQuery.addEventListener("change",this.mediaQueryListener))}cleanupThemeListener(){this.mediaQuery&&this.mediaQueryListener&&this.mediaQuery.removeEventListener("change",this.mediaQueryListener),this.mediaQuery=null,this.mediaQueryListener=null}readPersonOriginId(){if(this.config.personOriginId)return this.config.personOriginId;for(const a of this.inlineIframes.keys()){const s=a.getAttribute("personoriginid")?.trim();if(s)return s}}watchForPersonOriginId(a){if(!(typeof MutationObserver>"u"||this.inlineIframes.size===0)){this.personOriginIdObserver=new MutationObserver(s=>{for(const g of s){const E=g.target.getAttribute("personoriginid")?.trim();if(E){if(this.cleanupPersonOriginIdObserver(),this.migrationToastContainer)return;this.embedIframe.destroy(),this.embedIframe.inject(this.config.slug,a,E);return}}});for(const s of this.inlineIframes.keys())this.personOriginIdObserver.observe(s,{attributes:!0,attributeFilter:["personoriginid"]})}}cleanupPersonOriginIdObserver(){this.personOriginIdObserver?.disconnect(),this.personOriginIdObserver=null}applyThemeClass(){this.container&&(this.state.resolvedTheme==="dark"?this.container.classList.add("apls-dark"):this.container.classList.remove("apls-dark"))}init(){document.readyState==="loading"?(this.domContentLoadedListener=()=>{this.domContentLoadedListener=null,this.setup()},document.addEventListener("DOMContentLoaded",this.domContentLoadedListener)):this.setup()}setup(){if(!this.destroyed){if(this.config.interceptLinks&&this.setupLinkInterception(),this.setupThemeListener(),this.setupMessageListener(),this.initializeInlineIframes(),this.createContainer(),!this.wasMigrationToastDismissedThisVisit()){const a=this.config.baseUrl||"https://apollos.com",s=this.readPersonOriginId();this.embedIframe.inject(this.config.slug,a,s),s||this.watchForPersonOriginId(a)}this.config.showAskBar&&this.createAskBar(),this.config.autoOpen&&this.open(),this.checkDeepLinkParams()}}createContainer(){this.container=document.createElement("div"),this.container.id="apollos-embed-root",this.container.classList.add("apollos-embed"),document.body.appendChild(this.container),this.applyThemeClass(),this.root=Yo.createRoot(this.container),this.render()}createAskBar(){const a=this.state.resolvedTheme==="dark",s=this.config.askBarLabel??rs,g=document.createElement("button");g.type="button",g.setAttribute("aria-label",s),g.className="apollos-ask-bar";const E=document.createElement("span");Object.assign(E.style,{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px",flex:"0 0 auto"}),E.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>';const T=document.createElement("span");Object.assign(T.style,{flex:"1 1 auto",textAlign:"left",whiteSpace:"nowrap"}),T.textContent=s;const z=document.createElement("kbd");Object.assign(z.style,{font:"inherit",fontSize:"11px",lineHeight:"1",padding:"3px 6px",borderRadius:"6px",border:`1px solid ${a?"rgba(255,255,255,0.18)":"rgba(0,0,0,0.12)"}`,color:a?"rgba(255,255,255,0.6)":"rgba(0,0,0,0.45)",background:"transparent"}),z.textContent="⌘K",g.appendChild(E),g.appendChild(T),g.appendChild(z),Object.assign(g.style,{all:"unset",boxSizing:"border-box",display:"inline-flex",alignItems:"center",gap:"10px",cursor:"pointer",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',fontSize:"15px",fontWeight:"500",minWidth:"240px",padding:"11px 14px",borderRadius:"9999px",border:a?"1px solid rgba(255,255,255,0.14)":"1px solid rgba(0,0,0,0.08)",background:a?"#1c1c1e":"#ffffff",color:a?"#f2f2f7":"#1c1c1e",boxShadow:a?"0 6px 24px rgba(0,0,0,0.5)":"0 6px 24px rgba(0,0,0,0.14)"}),g.addEventListener("click",()=>{this.open(this.config.searchPath??Kl)});const A=this.config.askBarTarget?document.querySelector(this.config.askBarTarget):null;if(A)A.appendChild(g),this.askBar=g;else{const P=document.createElement("div");Object.assign(P.style,{position:"fixed",zIndex:String((this.config.zIndex??999999)-1),...this.askBarPlacementStyles()}),P.appendChild(g),document.body.appendChild(P),this.askBar=P}this.askBarKeyListener=P=>{if((P.metaKey||P.ctrlKey)&&P.key.toLowerCase()==="k"){if(gt.isEditableEventTarget(P))return;P.preventDefault(),this.open(this.config.searchPath??Kl)}},document.addEventListener("keydown",this.askBarKeyListener)}askBarPlacementStyles(){const a=`${this.config.offsetX??0}px`,s=`${this.config.offsetY??48}px`,g=`${Math.max(this.config.offsetX??0,16)}px`;switch(this.config.position){case"bottom-right":return{bottom:s,right:g};case"bottom-left":return{bottom:s,left:g};case"top-right":return{top:s,right:g};case"top-left":return{top:s,left:g};case"top-center":return{top:s,left:"50%",transform:"translateX(-50%)"};default:return{bottom:s,left:`calc(50% + ${a})`,transform:"translateX(-50%)"}}}static isEditableEventTarget(a){const s=E=>{if(!(E instanceof HTMLElement))return!1;const T=E.tagName;return T==="INPUT"||T==="TEXTAREA"||T==="SELECT"||E.isContentEditable},g=typeof a.composedPath=="function"?a.composedPath():[];return g.length?g.some(s):s(a.target)}removeAskBar(){this.askBarKeyListener&&(document.removeEventListener("keydown",this.askBarKeyListener),this.askBarKeyListener=null),this.askBar&&(this.askBar.remove(),this.askBar=null)}render(){this.root&&this.root.render(An.createElement(Tc,{config:this.config,state:{...this.state},onClose:()=>this.close(),onToggleFullscreen:()=>this.toggleFullscreen(),onApplyModalOptions:a=>this.applyModalOptions(a)}))}toggleFullscreen(){this.hasExplicitFullscreenSelection=!0,this.state.isFullscreen=!this.state.isFullscreen,this.render()}applyModalOptions(a){this.state.modalSize=a.size??"default",this.state.modalFitContent=a.fitContent??!1,typeof a.defaultFullscreen=="boolean"&&!this.hasExplicitFullscreenSelection&&(this.state.isFullscreen=a.defaultFullscreen),this.render()}setupLinkInterception(){document.addEventListener("click",a=>{const g=a.target.closest("a");if(g&&this.shouldInterceptLink(g)){a.preventDefault();const T=new URL(g.href).pathname.replace(`/${this.config.slug}`,"")||"/",z=this.getLinkFullscreenOption(g);this.open(T,z!==void 0?{fullscreen:z}:void 0)}})}shouldInterceptLink(a){if(a.hasAttribute("data-apollos-external"))return!1;const s=a.href,g=this.config.baseUrl||"https://apollos.com";return new RegExp(`(apollos\\.com|${g.replace(/https?:\/\//,"")})/${this.config.slug}`).test(s)}getLinkFullscreenOption(a){if(!a.hasAttribute("data-apollos-fullscreen"))return;const s=a.getAttribute("data-apollos-fullscreen");return!(s==="false"||s==="0")}setupMessageListener(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;this.messageListener=g=>{if(g.origin!==s||!g.data||typeof g.data!="object")return;const{type:E,payload:T}=g.data;if(E===Et.EMBED_READY){const z=g.source;this.inlineIframes.forEach((A,P)=>{P.contentWindow===z&&(this.sendInlineIframeInit(P),this.inlineIframes.set(P,!0),this.scheduleInlineSkeletonFallback(P,gt.INLINE_READY_FALLBACK_MS))})}if(E===Et.REQUEST_NAVIGATION){const z=T;if(z?.path){if(/^https?:\/\//i.test(z.path)){window.location.assign(z.path);return}const A=this.config.navigationModalFullscreen===!0;this.open(z.path,{fullscreen:A})}}if(E===Et.HEIGHT_CHANGE){const z=T;if(z&&typeof z.height=="number"&&z.height>0){const A=g.source;let P=null;if(this.inlineIframes.forEach((V,Q)=>{Q.contentWindow===A&&(P=Q)}),!P){const V=document.querySelectorAll("iframe");for(const Q of V)if(!this.container?.contains(Q)&&Q.contentWindow===A){P=Q;break}}P&&(this.scheduleHeightChange(P,z.height),this.inlineSkeletons.has(P)&&this.removeInlineSkeleton(P))}}if(E===Lr.SHOW_MIGRATION_TOAST){const z=T,A=this.embedIframe.getContentWindow();z&&typeof z.migratePath=="string"&&A!==null&&g.source===A&&this.renderMigrationToast(z)}},window.addEventListener("message",this.messageListener)}migrationToastDismissalKey(){return`apollos:migrationToastDismissed:${this.config.slug}`}wasMigrationToastDismissedThisVisit(){try{return window.sessionStorage.getItem(this.migrationToastDismissalKey())==="1"}catch{return!1}}markMigrationToastDismissedForVisit(){try{window.sessionStorage.setItem(this.migrationToastDismissalKey(),"1")}catch{}}renderMigrationToast(a){if(this.migrationToastContainer||this.wasMigrationToastDismissedThisVisit())return;if(this.state.isOpen){this.pendingMigrationToastPayload=a;return}const s=document.createElement("div");s.classList.add("apollos-embed"),document.body.appendChild(s),this.migrationToastContainer=s,this.migrationToastRoot=Yo.createRoot(s),this.migrationToastPayload=a,this.renderMigrationToastContent(),this.embedIframe.notifyShown()}renderPendingMigrationToast(){const a=this.pendingMigrationToastPayload;a&&(this.pendingMigrationToastPayload=null,this.renderMigrationToast(a))}renderMigrationToastContent(){const a=this.migrationToastPayload;!this.migrationToastRoot||!a||this.migrationToastRoot.render(An.createElement(mc,{zIndex:(this.config.zIndex??999999)+1,theme:this.state.resolvedTheme,brandColor:typeof a.brandColor=="string"?a.brandColor:null,onUpdate:()=>{this.embedIframe.notifyTapped(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast(),this.open(a.migratePath.replace(/^\/[^/?]+/,""))},onDismiss:()=>{this.embedIframe.notifyDismissed(),this.markMigrationToastDismissedForVisit(),this.removeMigrationToast()}}))}removeMigrationToast(){const a=this.migrationToastRoot,s=this.migrationToastContainer;this.migrationToastRoot=null,this.migrationToastContainer=null,this.migrationToastPayload=null,!(!a||!s)&&setTimeout(()=>{a.unmount(),s.remove()},0)}scheduleHeightChange(a,s){const g=this.heightChangeTimeouts.get(a);g&&clearTimeout(g.timeoutId);const E=setTimeout(()=>{this.heightChangeTimeouts.delete(a),this.applyHeightWithTransition(a,s)},gt.HEIGHT_DEBOUNCE_MS);this.heightChangeTimeouts.set(a,{timeoutId:E,height:s})}applyHeightWithTransition(a,s){(a.style.height?parseFloat(a.style.height):NaN)!==s&&(a.style.transition=`height ${gt.HEIGHT_TRANSITION_MS}ms ease-out`,a.style.height=`${s}px`)}scheduleInlineSkeletonFallback(a,s){if(!this.inlineSkeletons.has(a))return;const g=this.inlineSkeletonFallbackTimeouts.get(a);g&&clearTimeout(g);const E=setTimeout(()=>{this.inlineSkeletonFallbackTimeouts.delete(a),this.inlineSkeletons.has(a)&&this.removeInlineSkeleton(a)},s);this.inlineSkeletonFallbackTimeouts.set(a,E)}cleanupMessageListener(){this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)}initializeInlineIframes(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;document.querySelectorAll("iframe").forEach(E=>{if(this.isInlineEmbed(E,s)){const T=this.applyInlineIframeUrlParams(E);this.inlineIframes.set(E,!1),this.createInlineSkeleton(E),T||this.sendInlineIframeInit(E)}})}isInlineEmbed(a,s){const g=a.src;if(!g||a.hasAttribute(Pr.PROBE_ATTRIBUTE))return!1;try{const E=new URL(g);return!(E.origin!==s||!E.pathname.startsWith(`/${this.config.slug}`))}catch{return!1}}applyInlineIframeUrlParams(a){const s=a.src;if(!s)return!1;try{const g=new URL(s);let E=!1;g.searchParams.get("embedMode")!=="inline"&&(g.searchParams.set("embedMode","inline"),E=!0);const T=this.state.resolvedTheme;return g.searchParams.get("theme")!==T&&(g.searchParams.set("theme",T),E=!0),E&&(a.src=g.toString()),E}catch{return!1}}sendInlineIframeInit(a){const s=this.config.baseUrl||"https://apollos.com",g=new URL(s).origin;Bn(a,{type:jn.EMBED_INIT,payload:{theme:this.state.resolvedTheme,showExpandButton:!1,isFullscreen:!1,mode:"inline"}},g)}sendThemeToInlineIframes(){const a=this.config.baseUrl||"https://apollos.com",s=new URL(a).origin;this.inlineIframes.forEach((g,E)=>{g&&Bn(E,{type:jn.THEME_CHANGED,payload:{theme:this.state.resolvedTheme}},s)})}checkDeepLinkParams(){const a=new URLSearchParams(window.location.search),s=this.getDeepLinkModalOptions(a),g=a.get("a");if(g){this.openWithFullscreenDefault(g,s),this.stripConsumedDeepLinkParams(["a","apollosModalSize","apollosFullscreen"]);return}const E=a.get("apollosId")?"apollosId":a.get("id")?"id":null,T=E?a.get(E):null;if(T&&E){const z=Lc(T);if(z){const A=_c(z.type);this.openWithFullscreenDefault(`${A}/${T}`,{fullscreen:!0})}else this.openWithFullscreenDefault(`/c/${T}`,{fullscreen:!0});this.stripConsumedDeepLinkParams([E]);return}}stripConsumedDeepLinkParams(a){if(typeof window>"u"||!window.history?.replaceState)return;const s=new URL(window.location.href);let g=!1;for(const E of a)s.searchParams.has(E)&&(s.searchParams.delete(E),g=!0);g&&window.history.replaceState(window.history.state,"",s.pathname+s.search+s.hash)}open(a,s){this.openInternal(a,s,s?.fullscreen!==void 0)}openWithFullscreenDefault(a,s){const g=s?.fullscreen!==void 0;this.openInternal(a,{fullscreen:s?.fullscreen??!0,modalSize:s?.modalSize},g)}openInternal(a,s,g=!1){this.removeMigrationToast(),this.hasExplicitFullscreenSelection=g,a&&(this.state.currentPath=a),this.state.isOpen=!0,this.state.modalSize=s?.modalSize??"default",this.state.modalFitContent=!1,s?.fullscreen===!0?this.state.isFullscreen=!0:s?.fullscreen===!1?this.state.isFullscreen=!1:this.config.defaultFullscreen===!0&&(this.state.isFullscreen=!0),this.render(),this.config.onOpen?.()}getDeepLinkModalOptions(a){const s=this.parseModalSize(a.get("apollosModalSize")),g=this.parseBoolean(a.get("apollosFullscreen"));if(!(s===void 0&&g===void 0))return{modalSize:s,fullscreen:g}}parseModalSize(a){if(a==="default"||a==="medium"||a==="large"||a==="small")return a}parseBoolean(a){if(a==="true")return!0;if(a==="false")return!1}close(){this.hasExplicitFullscreenSelection=!1,this.state.isOpen=!1,this.state.isFullscreen=!1,this.state.modalSize="default",this.state.modalFitContent=!1,this.render(),this.config.onClose?.(),this.renderPendingMigrationToast()}toggle(){this.state.isOpen?this.close():this.open()}navigate(a){this.state.currentPath=a,this.render(),this.config.onNavigate?.(a)}isOpen(){return this.state.isOpen}destroy(){this.destroyed=!0,this.domContentLoadedListener&&(document.removeEventListener("DOMContentLoaded",this.domContentLoadedListener),this.domContentLoadedListener=null),this.removeAskBar(),this.cleanupThemeListener(),this.cleanupMessageListener(),this.cleanupPersonOriginIdObserver(),this.embedIframe.destroy(),this.pendingMigrationToastPayload=null,this.removeMigrationToast(),this.heightChangeTimeouts.forEach(({timeoutId:a})=>clearTimeout(a)),this.heightChangeTimeouts.clear(),this.inlineSkeletonFallbackTimeouts.forEach(a=>clearTimeout(a)),this.inlineSkeletonFallbackTimeouts.clear(),this.inlineIframes.clear(),Array.from(this.inlineSkeletons.keys()).forEach(a=>{this.removeInlineSkeleton(a)}),this.root&&(this.root.unmount(),this.root=null),this.container&&(this.container.remove(),this.container=null)}getState(){return{...this.state}}getConfig(){return{...this.config}}createInlineSkeleton(a){if(this.inlineSkeletons.has(a))return;gt.ensureSkeletonStyles();const s=document.createElement("div");s.setAttribute("aria-busy","true"),s.style.position="absolute",s.style.inset="0",s.style.display="flex",s.style.alignItems="stretch",s.style.justifyContent="flex-start",s.style.pointerEvents="none";const g=document.createElement("div");g.style.borderRadius="12px",g.style.padding="74px 24px 20px 24px",g.style.boxShadow="0 10px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.12)",g.style.minHeight="360px",g.style.display="flex",g.style.flexDirection="column",g.style.justifyContent="flex-start",g.style.gap="0",g.style.width="100%",g.style.maxWidth="100%";const E=this.state.resolvedTheme==="dark";g.style.backgroundColor=E?"#111827":"#f3f4f6";const T=(Q,H,G)=>{const ee=document.createElement("div");return ee.style.height=`${Q}px`,ee.style.borderRadius=`${H}px`,ee.style.backgroundColor=E?"#374151":"#ffffff",ee.style.width="100%",ee.style.marginBottom=`${G}px`,ee.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",ee},z=T(68,8,12),A=T(56,8,24),P=document.createElement("div");P.style.height="50px",P.style.width="100%",P.style.borderRadius="12px",P.style.backgroundColor=E?"#374151":"#ffffff",P.style.animation="apls-inline-skeleton-pulse 1.4s ease-in-out infinite",g.appendChild(z),g.appendChild(A),g.appendChild(P),s.appendChild(g);const V=a.parentElement;if(V){const Q=window.getComputedStyle(V);Q.position==="static"&&(this.inlineSkeletonParentRestore.set(a,{parent:V,originalPosition:Q.position}),V.style.position="relative"),V.appendChild(s),this.inlineSkeletons.set(a,s),a.style.visibility="hidden",this.scheduleInlineSkeletonFallback(a,gt.INLINE_SKELETON_FALLBACK_MS)}}removeInlineSkeleton(a){const s=this.inlineSkeletons.get(a);s&&s.parentElement&&s.parentElement.removeChild(s),this.inlineSkeletons.delete(a);const g=this.inlineSkeletonFallbackTimeouts.get(a);g&&(clearTimeout(g),this.inlineSkeletonFallbackTimeouts.delete(a)),a.style.visibility="";const E=this.inlineSkeletonParentRestore.get(a);E&&(E.parent.style.position=E.originalPosition,this.inlineSkeletonParentRestore.delete(a))}static ensureSkeletonStyles(){if(gt.hasInjectedSkeletonStyles||typeof document>"u")return;const a=document.createElement("style");a.textContent=`
10
10
  @keyframes apls-inline-skeleton-pulse {
11
11
  0%, 100% { opacity: 0.55; }
12
12
  50% { opacity: 1; }
13
13
  }
14
- `,document.head.appendChild(a),gt.hasInjectedSkeletonStyles=!0}}let ye=null;const fn={init(k){ye&&(console.warn("ApollosEmbed: Already initialized. Destroying previous instance."),ye.destroy()),ye=new gt(k)},open(k,a){if(!ye)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");ye.open(k,a)},close(){if(!ye)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");ye.close()},toggle(){if(!ye)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");ye.toggle()},navigate(k){if(!ye)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");ye.navigate(k)},isOpen(){return ye?ye.isOpen():!1},getState(){return ye?ye.getState():null},getConfig(){return ye?ye.getConfig():null},destroy(){ye&&(ye.destroy(),ye=null)}};if(typeof window<"u"&&(window.ApollosEmbed=fn),typeof window<"u"){const k=window;k.apollos&&k.apollos.q&&k.apollos.q.forEach(a=>{const[s,...g]=a;s==="init"&&g[0]?fn.init(g[0]):s==="open"&&fn.open(g[0],g[1])}),k.apollos=function(a,...s){a==="init"&&s[0]?fn.init(s[0]):a==="open"&&fn.open(s[0],s[1])}}return fn})();
14
+ `,document.head.appendChild(a),gt.hasInjectedSkeletonStyles=!0}}let ye=null;const fn={init(v){ye&&(console.warn("ApollosEmbed: Already initialized. Destroying previous instance."),ye.destroy()),ye=new gt(v)},open(v,a){if(!ye)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");ye.open(v,a)},close(){if(!ye)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");ye.close()},toggle(){if(!ye)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");ye.toggle()},navigate(v){if(!ye)throw new Error("ApollosEmbed: Not initialized. Call ApollosEmbed.init() first.");ye.navigate(v)},isOpen(){return ye?ye.isOpen():!1},getState(){return ye?ye.getState():null},getConfig(){return ye?ye.getConfig():null},destroy(){ye&&(ye.destroy(),ye=null)}};if(typeof window<"u"&&(window.ApollosEmbed=fn),typeof window<"u"){const v=window;v.apollos&&v.apollos.q&&v.apollos.q.forEach(a=>{const[s,...g]=a;s==="init"&&g[0]?fn.init(g[0]):s==="open"&&fn.open(g[0],g[1])}),v.apollos=function(a,...s){a==="init"&&s[0]?fn.init(s[0]):a==="open"&&fn.open(s[0],s[1])}}return fn})();