@desivocal/agents-cdn 1.0.20-alpha.48 → 1.0.20-alpha.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dv-agent.es.js +396 -396
- package/dist/dv-agent.umd.js +29 -29
- package/package.json +1 -1
package/dist/dv-agent.umd.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/n.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",a=Symbol.for("react.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),A=Symbol.iterator,U="@@iterator";function V(O){if(O===null||typeof O!="object")return null;var K=A&&O[A]||O[U];return typeof K=="function"?K:null}var j={current:null},I={transition:null},N={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ne={current:null},X={},se=null;function $(O){se=O}X.setExtraStackFrame=function(O){se=O},X.getCurrentStack=null,X.getStackAddendum=function(){var O="";se&&(O+=se);var K=X.getCurrentStack;return K&&(O+=K()||""),O};var oe=!1,te=!1,xe=!1,ke=!1,Ge=!1,Je={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:I,ReactCurrentOwner:ne};Je.ReactDebugCurrentFrame=X,Je.ReactCurrentActQueue=N;function Fe(O){{for(var K=arguments.length,pe=new Array(K>1?K-1:0),Te=1;Te<K;Te++)pe[Te-1]=arguments[Te];Be("warn",O,pe)}}function ve(O){{for(var K=arguments.length,pe=new Array(K>1?K-1:0),Te=1;Te<K;Te++)pe[Te-1]=arguments[Te];Be("error",O,pe)}}function Be(O,K,pe){{var Te=Je.ReactDebugCurrentFrame,Ze=Te.getStackAddendum();Ze!==""&&(K+="%s",pe=pe.concat([Ze]));var Tt=pe.map(function(pt){return String(pt)});Tt.unshift("Warning: "+K),Function.prototype.apply.call(console[O],console,Tt)}}var z={};function J(O,K){{var pe=O.constructor,Te=pe&&(pe.displayName||pe.name)||"ReactClass",Ze=Te+"."+K;if(z[Ze])return;ve("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",K,Te),z[Ze]=!0}}var Ce={isMounted:function(O){return!1},enqueueForceUpdate:function(O,K,pe){J(O,"forceUpdate")},enqueueReplaceState:function(O,K,pe,Te){J(O,"replaceState")},enqueueSetState:function(O,K,pe,Te){J(O,"setState")}},H=Object.assign,Ct={};Object.freeze(Ct);function Rt(O,K,pe){this.props=O,this.context=K,this.refs=Ct,this.updater=pe||Ce}Rt.prototype.isReactComponent={},Rt.prototype.setState=function(O,K){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,K,"setState")},Rt.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};{var ht={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},bt=function(O,K){Object.defineProperty(Rt.prototype,O,{get:function(){Fe("%s(...) is deprecated in plain JavaScript React classes. %s",K[0],K[1])}})};for(var it in ht)ht.hasOwnProperty(it)&&bt(it,ht[it])}function xt(){}xt.prototype=Rt.prototype;function nn(O,K,pe){this.props=O,this.context=K,this.refs=Ct,this.updater=pe||Ce}var qn=nn.prototype=new xt;qn.constructor=nn,H(qn,Rt.prototype),qn.isPureReactComponent=!0;function _r(){var O={current:null};return Object.seal(O),O}var vr=Array.isArray;function Xn(O){return vr(O)}function Lr(O){{var K=typeof Symbol=="function"&&Symbol.toStringTag,pe=K&&O[Symbol.toStringTag]||O.constructor.name||"Object";return pe}}function Sn(O){try{return Lt(O),!1}catch{return!0}}function Lt(O){return""+O}function Z(O){if(Sn(O))return ve("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Lr(O)),Lt(O)}function le(O,K,pe){var Te=O.displayName;if(Te)return Te;var Ze=K.displayName||K.name||"";return Ze!==""?pe+"("+Ze+")":pe}function me(O){return O.displayName||"Context"}function je(O){if(O==null)return null;if(typeof O.tag=="number"&&ve("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case l:return"Fragment";case s:return"Portal";case h:return"Profiler";case c:return"StrictMode";case k:return"Suspense";case T:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case v:var K=O;return me(K)+".Consumer";case p:var pe=O;return me(pe._context)+".Provider";case b:return le(O,O.render,"ForwardRef");case E:var Te=O.displayName||null;return Te!==null?Te:je(O.type)||"Memo";case R:{var Ze=O,Tt=Ze._payload,pt=Ze._init;try{return je(pt(Tt))}catch{return null}}}return null}var Ve=Object.prototype.hasOwnProperty,Me={key:!0,ref:!0,__self:!0,__source:!0},ut,Nt,fe;fe={};function Re(O){if(Ve.call(O,"ref")){var K=Object.getOwnPropertyDescriptor(O,"ref").get;if(K&&K.isReactWarning)return!1}return O.ref!==void 0}function vt(O){if(Ve.call(O,"key")){var K=Object.getOwnPropertyDescriptor(O,"key").get;if(K&&K.isReactWarning)return!1}return O.key!==void 0}function Ft(O,K){var pe=function(){ut||(ut=!0,ve("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",K))};pe.isReactWarning=!0,Object.defineProperty(O,"key",{get:pe,configurable:!0})}function Kt(O,K){var pe=function(){Nt||(Nt=!0,ve("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",K))};pe.isReactWarning=!0,Object.defineProperty(O,"ref",{get:pe,configurable:!0})}function ze(O){if(typeof O.ref=="string"&&ne.current&&O.__self&&ne.current.stateNode!==O.__self){var K=je(ne.current.type);fe[K]||(ve('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',K,O.ref),fe[K]=!0)}}var ct=function(O,K,pe,Te,Ze,Tt,pt){var $t={$$typeof:a,type:O,key:K,ref:pe,props:pt,_owner:Tt};return $t._store={},Object.defineProperty($t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty($t,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty($t,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ze}),Object.freeze&&(Object.freeze($t.props),Object.freeze($t)),$t};function At(O,K,pe){var Te,Ze={},Tt=null,pt=null,$t=null,hn=null;if(K!=null){Re(K)&&(pt=K.ref,ze(K)),vt(K)&&(Z(K.key),Tt=""+K.key),$t=K.__self===void 0?null:K.__self,hn=K.__source===void 0?null:K.__source;for(Te in K)Ve.call(K,Te)&&!Me.hasOwnProperty(Te)&&(Ze[Te]=K[Te])}var Kn=arguments.length-2;if(Kn===1)Ze.children=pe;else if(Kn>1){for(var lr=Array(Kn),ur=0;ur<Kn;ur++)lr[ur]=arguments[ur+2];Object.freeze&&Object.freeze(lr),Ze.children=lr}if(O&&O.defaultProps){var sn=O.defaultProps;for(Te in sn)Ze[Te]===void 0&&(Ze[Te]=sn[Te])}if(Tt||pt){var hr=typeof O=="function"?O.displayName||O.name||"Unknown":O;Tt&&Ft(Ze,hr),pt&&Kt(Ze,hr)}return ct(O,Tt,pt,$t,hn,ne.current,Ze)}function un(O,K){var pe=ct(O.type,K,O.ref,O._self,O._source,O._owner,O.props);return pe}function _n(O,K,pe){if(O==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+O+".");var Te,Ze=H({},O.props),Tt=O.key,pt=O.ref,$t=O._self,hn=O._source,Kn=O._owner;if(K!=null){Re(K)&&(pt=K.ref,Kn=ne.current),vt(K)&&(Z(K.key),Tt=""+K.key);var lr;O.type&&O.type.defaultProps&&(lr=O.type.defaultProps);for(Te in K)Ve.call(K,Te)&&!Me.hasOwnProperty(Te)&&(K[Te]===void 0&&lr!==void 0?Ze[Te]=lr[Te]:Ze[Te]=K[Te])}var ur=arguments.length-2;if(ur===1)Ze.children=pe;else if(ur>1){for(var sn=Array(ur),hr=0;hr<ur;hr++)sn[hr]=arguments[hr+2];Ze.children=sn}return ct(O.type,Tt,pt,$t,hn,Kn,Ze)}function cn(O){return typeof O=="object"&&O!==null&&O.$$typeof===a}var Pn=".",Wn=":";function Jn(O){var K=/[=:]/g,pe={"=":"=0",":":"=2"},Te=O.replace(K,function(Ze){return pe[Ze]});return"$"+Te}var Gn=!1,Nn=/\/+/g;function Hi(O){return O.replace(Nn,"$&/")}function Ji(O,K){return typeof O=="object"&&O!==null&&O.key!=null?(Z(O.key),Jn(""+O.key)):K.toString(36)}function ea(O,K,pe,Te,Ze){var Tt=typeof O;(Tt==="undefined"||Tt==="boolean")&&(O=null);var pt=!1;if(O===null)pt=!0;else switch(Tt){case"string":case"number":pt=!0;break;case"object":switch(O.$$typeof){case a:case s:pt=!0}}if(pt){var $t=O,hn=Ze($t),Kn=Te===""?Pn+Ji($t,0):Te;if(Xn(hn)){var lr="";Kn!=null&&(lr=Hi(Kn)+"/"),ea(hn,K,lr,"",function(Lv){return Lv})}else hn!=null&&(cn(hn)&&(hn.key&&(!$t||$t.key!==hn.key)&&Z(hn.key),hn=un(hn,pe+(hn.key&&(!$t||$t.key!==hn.key)?Hi(""+hn.key)+"/":"")+Kn)),K.push(hn));return 1}var ur,sn,hr=0,qr=Te===""?Pn:Te+Wn;if(Xn(O))for(var Eu=0;Eu<O.length;Eu++)ur=O[Eu],sn=qr+Ji(ur,Eu),hr+=ea(ur,K,pe,sn,Ze);else{var kf=V(O);if(typeof kf=="function"){var Bs=O;kf===Bs.entries&&(Gn||Fe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Gn=!0);for(var Ru=kf.call(Bs),Tf,Mv=0;!(Tf=Ru.next()).done;)ur=Tf.value,sn=qr+Ji(ur,Mv++),hr+=ea(ur,K,pe,sn,Ze)}else if(Tt==="object"){var Pp=String(O);throw new Error("Objects are not valid as a React child (found: "+(Pp==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":Pp)+"). If you meant to render a collection of children, use an array instead.")}}return hr}function co(O,K,pe){if(O==null)return O;var Te=[],Ze=0;return ea(O,Te,"","",function(Tt){return K.call(pe,Tt,Ze++)}),Te}function es(O){var K=0;return co(O,function(){K++}),K}function ts(O,K,pe){co(O,function(){K.apply(this,arguments)},pe)}function fo(O){return co(O,function(K){return K})||[]}function ot(O){if(!cn(O))throw new Error("React.Children.only expected to receive a single React element child.");return O}function qe(O){var K={$$typeof:v,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};K.Provider={$$typeof:p,_context:K};var pe=!1,Te=!1,Ze=!1;{var Tt={$$typeof:v,_context:K};Object.defineProperties(Tt,{Provider:{get:function(){return Te||(Te=!0,ve("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),K.Provider},set:function(pt){K.Provider=pt}},_currentValue:{get:function(){return K._currentValue},set:function(pt){K._currentValue=pt}},_currentValue2:{get:function(){return K._currentValue2},set:function(pt){K._currentValue2=pt}},_threadCount:{get:function(){return K._threadCount},set:function(pt){K._threadCount=pt}},Consumer:{get:function(){return pe||(pe=!0,ve("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),K.Consumer}},displayName:{get:function(){return K.displayName},set:function(pt){Ze||(Fe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",pt),Ze=!0)}}}),K.Consumer=Tt}return K._currentRenderer=null,K._currentRenderer2=null,K}var It=-1,Jt=0,jt=1,dn=2;function In(O){if(O._status===It){var K=O._result,pe=K();if(pe.then(function(Tt){if(O._status===Jt||O._status===It){var pt=O;pt._status=jt,pt._result=Tt}},function(Tt){if(O._status===Jt||O._status===It){var pt=O;pt._status=dn,pt._result=Tt}}),O._status===It){var Te=O;Te._status=Jt,Te._result=pe}}if(O._status===jt){var Ze=O._result;return Ze===void 0&&ve(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
17
|
+
*/n.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",a=Symbol.for("react.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),A=Symbol.iterator,U="@@iterator";function V(O){if(O===null||typeof O!="object")return null;var K=A&&O[A]||O[U];return typeof K=="function"?K:null}var j={current:null},I={transition:null},N={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ne={current:null},X={},se=null;function $(O){se=O}X.setExtraStackFrame=function(O){se=O},X.getCurrentStack=null,X.getStackAddendum=function(){var O="";se&&(O+=se);var K=X.getCurrentStack;return K&&(O+=K()||""),O};var oe=!1,te=!1,xe=!1,ke=!1,Ge=!1,Je={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:I,ReactCurrentOwner:ne};Je.ReactDebugCurrentFrame=X,Je.ReactCurrentActQueue=N;function Fe(O){{for(var K=arguments.length,pe=new Array(K>1?K-1:0),Te=1;Te<K;Te++)pe[Te-1]=arguments[Te];Be("warn",O,pe)}}function ve(O){{for(var K=arguments.length,pe=new Array(K>1?K-1:0),Te=1;Te<K;Te++)pe[Te-1]=arguments[Te];Be("error",O,pe)}}function Be(O,K,pe){{var Te=Je.ReactDebugCurrentFrame,Ze=Te.getStackAddendum();Ze!==""&&(K+="%s",pe=pe.concat([Ze]));var Tt=pe.map(function(pt){return String(pt)});Tt.unshift("Warning: "+K),Function.prototype.apply.call(console[O],console,Tt)}}var z={};function J(O,K){{var pe=O.constructor,Te=pe&&(pe.displayName||pe.name)||"ReactClass",Ze=Te+"."+K;if(z[Ze])return;ve("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",K,Te),z[Ze]=!0}}var Ce={isMounted:function(O){return!1},enqueueForceUpdate:function(O,K,pe){J(O,"forceUpdate")},enqueueReplaceState:function(O,K,pe,Te){J(O,"replaceState")},enqueueSetState:function(O,K,pe,Te){J(O,"setState")}},H=Object.assign,Ct={};Object.freeze(Ct);function Rt(O,K,pe){this.props=O,this.context=K,this.refs=Ct,this.updater=pe||Ce}Rt.prototype.isReactComponent={},Rt.prototype.setState=function(O,K){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,K,"setState")},Rt.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};{var ht={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},bt=function(O,K){Object.defineProperty(Rt.prototype,O,{get:function(){Fe("%s(...) is deprecated in plain JavaScript React classes. %s",K[0],K[1])}})};for(var it in ht)ht.hasOwnProperty(it)&&bt(it,ht[it])}function xt(){}xt.prototype=Rt.prototype;function nn(O,K,pe){this.props=O,this.context=K,this.refs=Ct,this.updater=pe||Ce}var qn=nn.prototype=new xt;qn.constructor=nn,H(qn,Rt.prototype),qn.isPureReactComponent=!0;function _r(){var O={current:null};return Object.seal(O),O}var vr=Array.isArray;function Xn(O){return vr(O)}function Lr(O){{var K=typeof Symbol=="function"&&Symbol.toStringTag,pe=K&&O[Symbol.toStringTag]||O.constructor.name||"Object";return pe}}function un(O){try{return Lt(O),!1}catch{return!0}}function Lt(O){return""+O}function Z(O){if(un(O))return ve("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Lr(O)),Lt(O)}function le(O,K,pe){var Te=O.displayName;if(Te)return Te;var Ze=K.displayName||K.name||"";return Ze!==""?pe+"("+Ze+")":pe}function me(O){return O.displayName||"Context"}function je(O){if(O==null)return null;if(typeof O.tag=="number"&&ve("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case l:return"Fragment";case s:return"Portal";case h:return"Profiler";case c:return"StrictMode";case k:return"Suspense";case T:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case v:var K=O;return me(K)+".Consumer";case p:var pe=O;return me(pe._context)+".Provider";case b:return le(O,O.render,"ForwardRef");case E:var Te=O.displayName||null;return Te!==null?Te:je(O.type)||"Memo";case R:{var Ze=O,Tt=Ze._payload,pt=Ze._init;try{return je(pt(Tt))}catch{return null}}}return null}var Ve=Object.prototype.hasOwnProperty,Me={key:!0,ref:!0,__self:!0,__source:!0},ut,Nt,fe;fe={};function Re(O){if(Ve.call(O,"ref")){var K=Object.getOwnPropertyDescriptor(O,"ref").get;if(K&&K.isReactWarning)return!1}return O.ref!==void 0}function vt(O){if(Ve.call(O,"key")){var K=Object.getOwnPropertyDescriptor(O,"key").get;if(K&&K.isReactWarning)return!1}return O.key!==void 0}function Ft(O,K){var pe=function(){ut||(ut=!0,ve("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",K))};pe.isReactWarning=!0,Object.defineProperty(O,"key",{get:pe,configurable:!0})}function Kt(O,K){var pe=function(){Nt||(Nt=!0,ve("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",K))};pe.isReactWarning=!0,Object.defineProperty(O,"ref",{get:pe,configurable:!0})}function ze(O){if(typeof O.ref=="string"&&ne.current&&O.__self&&ne.current.stateNode!==O.__self){var K=je(ne.current.type);fe[K]||(ve('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',K,O.ref),fe[K]=!0)}}var ct=function(O,K,pe,Te,Ze,Tt,pt){var $t={$$typeof:a,type:O,key:K,ref:pe,props:pt,_owner:Tt};return $t._store={},Object.defineProperty($t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty($t,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty($t,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ze}),Object.freeze&&(Object.freeze($t.props),Object.freeze($t)),$t};function At(O,K,pe){var Te,Ze={},Tt=null,pt=null,$t=null,pn=null;if(K!=null){Re(K)&&(pt=K.ref,ze(K)),vt(K)&&(Z(K.key),Tt=""+K.key),$t=K.__self===void 0?null:K.__self,pn=K.__source===void 0?null:K.__source;for(Te in K)Ve.call(K,Te)&&!Me.hasOwnProperty(Te)&&(Ze[Te]=K[Te])}var Kn=arguments.length-2;if(Kn===1)Ze.children=pe;else if(Kn>1){for(var lr=Array(Kn),ur=0;ur<Kn;ur++)lr[ur]=arguments[ur+2];Object.freeze&&Object.freeze(lr),Ze.children=lr}if(O&&O.defaultProps){var sn=O.defaultProps;for(Te in sn)Ze[Te]===void 0&&(Ze[Te]=sn[Te])}if(Tt||pt){var hr=typeof O=="function"?O.displayName||O.name||"Unknown":O;Tt&&Ft(Ze,hr),pt&&Kt(Ze,hr)}return ct(O,Tt,pt,$t,pn,ne.current,Ze)}function cn(O,K){var pe=ct(O.type,K,O.ref,O._self,O._source,O._owner,O.props);return pe}function _n(O,K,pe){if(O==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+O+".");var Te,Ze=H({},O.props),Tt=O.key,pt=O.ref,$t=O._self,pn=O._source,Kn=O._owner;if(K!=null){Re(K)&&(pt=K.ref,Kn=ne.current),vt(K)&&(Z(K.key),Tt=""+K.key);var lr;O.type&&O.type.defaultProps&&(lr=O.type.defaultProps);for(Te in K)Ve.call(K,Te)&&!Me.hasOwnProperty(Te)&&(K[Te]===void 0&&lr!==void 0?Ze[Te]=lr[Te]:Ze[Te]=K[Te])}var ur=arguments.length-2;if(ur===1)Ze.children=pe;else if(ur>1){for(var sn=Array(ur),hr=0;hr<ur;hr++)sn[hr]=arguments[hr+2];Ze.children=sn}return ct(O.type,Tt,pt,$t,pn,Kn,Ze)}function dn(O){return typeof O=="object"&&O!==null&&O.$$typeof===a}var Pn=".",Wn=":";function Jn(O){var K=/[=:]/g,pe={"=":"=0",":":"=2"},Te=O.replace(K,function(Ze){return pe[Ze]});return"$"+Te}var Gn=!1,Nn=/\/+/g;function Hi(O){return O.replace(Nn,"$&/")}function Ji(O,K){return typeof O=="object"&&O!==null&&O.key!=null?(Z(O.key),Jn(""+O.key)):K.toString(36)}function ea(O,K,pe,Te,Ze){var Tt=typeof O;(Tt==="undefined"||Tt==="boolean")&&(O=null);var pt=!1;if(O===null)pt=!0;else switch(Tt){case"string":case"number":pt=!0;break;case"object":switch(O.$$typeof){case a:case s:pt=!0}}if(pt){var $t=O,pn=Ze($t),Kn=Te===""?Pn+Ji($t,0):Te;if(Xn(pn)){var lr="";Kn!=null&&(lr=Hi(Kn)+"/"),ea(pn,K,lr,"",function(Lv){return Lv})}else pn!=null&&(dn(pn)&&(pn.key&&(!$t||$t.key!==pn.key)&&Z(pn.key),pn=cn(pn,pe+(pn.key&&(!$t||$t.key!==pn.key)?Hi(""+pn.key)+"/":"")+Kn)),K.push(pn));return 1}var ur,sn,hr=0,qr=Te===""?Pn:Te+Wn;if(Xn(O))for(var Eu=0;Eu<O.length;Eu++)ur=O[Eu],sn=qr+Ji(ur,Eu),hr+=ea(ur,K,pe,sn,Ze);else{var kf=V(O);if(typeof kf=="function"){var Bs=O;kf===Bs.entries&&(Gn||Fe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Gn=!0);for(var Ru=kf.call(Bs),Tf,Mv=0;!(Tf=Ru.next()).done;)ur=Tf.value,sn=qr+Ji(ur,Mv++),hr+=ea(ur,K,pe,sn,Ze)}else if(Tt==="object"){var Pp=String(O);throw new Error("Objects are not valid as a React child (found: "+(Pp==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":Pp)+"). If you meant to render a collection of children, use an array instead.")}}return hr}function co(O,K,pe){if(O==null)return O;var Te=[],Ze=0;return ea(O,Te,"","",function(Tt){return K.call(pe,Tt,Ze++)}),Te}function es(O){var K=0;return co(O,function(){K++}),K}function ts(O,K,pe){co(O,function(){K.apply(this,arguments)},pe)}function fo(O){return co(O,function(K){return K})||[]}function ot(O){if(!dn(O))throw new Error("React.Children.only expected to receive a single React element child.");return O}function qe(O){var K={$$typeof:v,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};K.Provider={$$typeof:p,_context:K};var pe=!1,Te=!1,Ze=!1;{var Tt={$$typeof:v,_context:K};Object.defineProperties(Tt,{Provider:{get:function(){return Te||(Te=!0,ve("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),K.Provider},set:function(pt){K.Provider=pt}},_currentValue:{get:function(){return K._currentValue},set:function(pt){K._currentValue=pt}},_currentValue2:{get:function(){return K._currentValue2},set:function(pt){K._currentValue2=pt}},_threadCount:{get:function(){return K._threadCount},set:function(pt){K._threadCount=pt}},Consumer:{get:function(){return pe||(pe=!0,ve("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),K.Consumer}},displayName:{get:function(){return K.displayName},set:function(pt){Ze||(Fe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",pt),Ze=!0)}}}),K.Consumer=Tt}return K._currentRenderer=null,K._currentRenderer2=null,K}var It=-1,Jt=0,jt=1,fn=2;function In(O){if(O._status===It){var K=O._result,pe=K();if(pe.then(function(Tt){if(O._status===Jt||O._status===It){var pt=O;pt._status=jt,pt._result=Tt}},function(Tt){if(O._status===Jt||O._status===It){var pt=O;pt._status=fn,pt._result=Tt}}),O._status===It){var Te=O;Te._status=Jt,Te._result=pe}}if(O._status===jt){var Ze=O._result;return Ze===void 0&&ve(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
18
18
|
|
|
19
19
|
Your code should look like:
|
|
20
20
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -26,17 +26,17 @@ Your code should look like:
|
|
|
26
26
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
27
27
|
2. You might be breaking the Rules of Hooks
|
|
28
28
|
3. You might have more than one copy of React in the same app
|
|
29
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),O}function en(O){var K=tt();if(O._context!==void 0){var pe=O._context;pe.Consumer===O?ve("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):pe.Provider===O&&ve("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return K.useContext(O)}function Gt(O){var K=tt();return K.useState(O)}function Cn(O,K,pe){var Te=tt();return Te.useReducer(O,K,pe)}function
|
|
29
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),O}function en(O){var K=tt();if(O._context!==void 0){var pe=O._context;pe.Consumer===O?ve("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):pe.Provider===O&&ve("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return K.useContext(O)}function Gt(O){var K=tt();return K.useState(O)}function Cn(O,K,pe){var Te=tt();return Te.useReducer(O,K,pe)}function hn(O){var K=tt();return K.useRef(O)}function $r(O,K){var pe=tt();return pe.useEffect(O,K)}function yr(O,K){var pe=tt();return pe.useInsertionEffect(O,K)}function Cr(O,K){var pe=tt();return pe.useLayoutEffect(O,K)}function $i(O,K){var pe=tt();return pe.useCallback(O,K)}function Lo(O,K){var pe=tt();return pe.useMemo(O,K)}function Yn(O,K,pe){var Te=tt();return Te.useImperativeHandle(O,K,pe)}function Er(O,K){{var pe=tt();return pe.useDebugValue(O,K)}}function an(){var O=tt();return O.useTransition()}function ns(O){var K=tt();return K.useDeferredValue(O)}function Is(){var O=tt();return O.useId()}function wp(O,K,pe){var Te=tt();return Te.useSyncExternalStore(O,K,pe)}var Us=0,Tl,Ca,gf,ta,vf,_p,Ep;function Fs(){}Fs.__reactDisabledLog=!0;function xl(){{if(Us===0){Tl=console.log,Ca=console.info,gf=console.warn,ta=console.error,vf=console.group,_p=console.groupCollapsed,Ep=console.groupEnd;var O={configurable:!0,enumerable:!0,value:Fs,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}Us++}}function ka(){{if(Us--,Us===0){var O={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},O,{value:Tl}),info:H({},O,{value:Ca}),warn:H({},O,{value:gf}),error:H({},O,{value:ta}),group:H({},O,{value:vf}),groupCollapsed:H({},O,{value:_p}),groupEnd:H({},O,{value:Ep})})}Us<0&&ve("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rs=Je.ReactCurrentDispatcher,wl;function Hc(O,K,pe){{if(wl===void 0)try{throw Error()}catch(Ze){var Te=Ze.stack.trim().match(/\n( *(at )?)/);wl=Te&&Te[1]||""}return`
|
|
30
30
|
`+wl+O}}var js=!1,ku;{var Tu=typeof WeakMap=="function"?WeakMap:Map;ku=new Tu}function _l(O,K){if(!O||js)return"";{var pe=ku.get(O);if(pe!==void 0)return pe}var Te;js=!0;var Ze=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Tt;Tt=rs.current,rs.current=null,xl();try{if(K){var pt=function(){throw Error()};if(Object.defineProperty(pt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(pt,[])}catch(qr){Te=qr}Reflect.construct(O,[],pt)}else{try{pt.call()}catch(qr){Te=qr}O.call(pt.prototype)}}else{try{throw Error()}catch(qr){Te=qr}O()}}catch(qr){if(qr&&Te&&typeof qr.stack=="string"){for(var $t=qr.stack.split(`
|
|
31
|
-
`),
|
|
32
|
-
`),Kn=$t.length-1,lr=
|
|
33
|
-
`+$t[Kn].replace(" at new "," at ");return O.displayName&&ur.includes("<anonymous>")&&(ur=ur.replace("<anonymous>",O.displayName)),typeof O=="function"&&ku.set(O,ur),ur}while(Kn>=1&&lr>=0);break}}}finally{js=!1,rs.current=Tt,ka(),Error.prepareStackTrace=Ze}var sn=O?O.displayName||O.name:"",hr=sn?Hc(sn):"";return typeof O=="function"&&ku.set(O,hr),hr}function yf(O,K,pe){return _l(O,!1)}function bf(O){var K=O.prototype;return!!(K&&K.isReactComponent)}function Dn(O,K,pe){if(O==null)return"";if(typeof O=="function")return _l(O,bf(O));if(typeof O=="string")return Hc(O);switch(O){case k:return Hc("Suspense");case T:return Hc("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case b:return yf(O.render);case E:return Dn(O.type,K,pe);case R:{var Te=O,Ze=Te._payload,Tt=Te._init;try{return Dn(Tt(Ze),K,pe)}catch{}}}return""}var Sf={},$c=Je.ReactDebugCurrentFrame;function An(O){if(O){var K=O._owner,pe=Dn(O.type,O._source,K?K.type:null);$c.setExtraStackFrame(pe)}else $c.setExtraStackFrame(null)}function Rp(O,K,pe,Te,Ze){{var Tt=Function.call.bind(Ve);for(var pt in O)if(Tt(O,pt)){var $t=void 0;try{if(typeof O[pt]!="function"){var
|
|
31
|
+
`),pn=Te.stack.split(`
|
|
32
|
+
`),Kn=$t.length-1,lr=pn.length-1;Kn>=1&&lr>=0&&$t[Kn]!==pn[lr];)lr--;for(;Kn>=1&&lr>=0;Kn--,lr--)if($t[Kn]!==pn[lr]){if(Kn!==1||lr!==1)do if(Kn--,lr--,lr<0||$t[Kn]!==pn[lr]){var ur=`
|
|
33
|
+
`+$t[Kn].replace(" at new "," at ");return O.displayName&&ur.includes("<anonymous>")&&(ur=ur.replace("<anonymous>",O.displayName)),typeof O=="function"&&ku.set(O,ur),ur}while(Kn>=1&&lr>=0);break}}}finally{js=!1,rs.current=Tt,ka(),Error.prepareStackTrace=Ze}var sn=O?O.displayName||O.name:"",hr=sn?Hc(sn):"";return typeof O=="function"&&ku.set(O,hr),hr}function yf(O,K,pe){return _l(O,!1)}function bf(O){var K=O.prototype;return!!(K&&K.isReactComponent)}function Dn(O,K,pe){if(O==null)return"";if(typeof O=="function")return _l(O,bf(O));if(typeof O=="string")return Hc(O);switch(O){case k:return Hc("Suspense");case T:return Hc("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case b:return yf(O.render);case E:return Dn(O.type,K,pe);case R:{var Te=O,Ze=Te._payload,Tt=Te._init;try{return Dn(Tt(Ze),K,pe)}catch{}}}return""}var Sf={},$c=Je.ReactDebugCurrentFrame;function An(O){if(O){var K=O._owner,pe=Dn(O.type,O._source,K?K.type:null);$c.setExtraStackFrame(pe)}else $c.setExtraStackFrame(null)}function Rp(O,K,pe,Te,Ze){{var Tt=Function.call.bind(Ve);for(var pt in O)if(Tt(O,pt)){var $t=void 0;try{if(typeof O[pt]!="function"){var pn=Error((Te||"React class")+": "+pe+" type `"+pt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof O[pt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw pn.name="Invariant Violation",pn}$t=O[pt](K,pt,Te,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Kn){$t=Kn}$t&&!($t instanceof Error)&&(An(Ze),ve("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Te||"React class",pe,pt,typeof $t),An(null)),$t instanceof Error&&!($t.message in Sf)&&(Sf[$t.message]=!0,An(Ze),ve("Failed %s type: %s",pe,$t.message),An(null))}}}function is(O){if(O){var K=O._owner,pe=Dn(O.type,O._source,K?K.type:null);$(pe)}else $(null)}var Zt;Zt=!1;function xu(){if(ne.current){var O=je(ne.current.type);if(O)return`
|
|
34
34
|
|
|
35
35
|
Check the render method of \``+O+"`."}return""}function vi(O){if(O!==void 0){var K=O.fileName.replace(/^.*[\\\/]/,""),pe=O.lineNumber;return`
|
|
36
36
|
|
|
37
37
|
Check your code at `+K+":"+pe+"."}return""}function Ta(O){return O!=null?vi(O.__source):""}var na={};function as(O){var K=xu();if(!K){var pe=typeof O=="string"?O:O.displayName||O.name;pe&&(K=`
|
|
38
38
|
|
|
39
|
-
Check the top-level render call using <`+pe+">.")}return K}function Ur(O,K){if(!(!O._store||O._store.validated||O.key!=null)){O._store.validated=!0;var pe=as(K);if(!na[pe]){na[pe]=!0;var Te="";O&&O._owner&&O._owner!==ne.current&&(Te=" It was passed a child from "+je(O._owner.type)+"."),is(O),ve('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,Te),is(null)}}}function sr(O,K){if(typeof O=="object"){if(Xn(O))for(var pe=0;pe<O.length;pe++){var Te=O[pe];
|
|
39
|
+
Check the top-level render call using <`+pe+">.")}return K}function Ur(O,K){if(!(!O._store||O._store.validated||O.key!=null)){O._store.validated=!0;var pe=as(K);if(!na[pe]){na[pe]=!0;var Te="";O&&O._owner&&O._owner!==ne.current&&(Te=" It was passed a child from "+je(O._owner.type)+"."),is(O),ve('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,Te),is(null)}}}function sr(O,K){if(typeof O=="object"){if(Xn(O))for(var pe=0;pe<O.length;pe++){var Te=O[pe];dn(Te)&&Ur(Te,K)}else if(dn(O))O._store&&(O._store.validated=!0);else if(O){var Ze=V(O);if(typeof Ze=="function"&&Ze!==O.entries)for(var Tt=Ze.call(O),pt;!(pt=Tt.next()).done;)dn(pt.value)&&Ur(pt.value,K)}}}function No(O){{var K=O.type;if(K==null||typeof K=="string")return;var pe;if(typeof K=="function")pe=K.propTypes;else if(typeof K=="object"&&(K.$$typeof===b||K.$$typeof===E))pe=K.propTypes;else return;if(pe){var Te=je(K);Rp(pe,O.props,"prop",Te,O)}else if(K.PropTypes!==void 0&&!Zt){Zt=!0;var Ze=je(K);ve("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ze||"Unknown")}typeof K.getDefaultProps=="function"&&!K.getDefaultProps.isReactClassApproved&&ve("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ho(O){{for(var K=Object.keys(O.props),pe=0;pe<K.length;pe++){var Te=K[pe];if(Te!=="children"&&Te!=="key"){is(O),ve("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),is(null);break}}O.ref!==null&&(is(O),ve("Invalid attribute `ref` supplied to `React.Fragment`."),is(null))}}function qi(O,K,pe){var Te=Oe(O);if(!Te){var Ze="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(Ze+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Tt=Ta(K);Tt?Ze+=Tt:Ze+=xu();var pt;O===null?pt="null":Xn(O)?pt="array":O!==void 0&&O.$$typeof===a?(pt="<"+(je(O.type)||"Unknown")+" />",Ze=" Did you accidentally export a JSX literal instead of a component?"):pt=typeof O,ve("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pt,Ze)}var $t=At.apply(this,arguments);if($t==null)return $t;if(Te)for(var pn=2;pn<arguments.length;pn++)sr(arguments[pn],O);return O===l?ho($t):No($t),$t}var ra=!1;function Ov(O){var K=qi.bind(null,O);return K.type=O,ra||(ra=!0,Fe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(K,"type",{enumerable:!1,get:function(){return Fe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:O}),O}}),K}function qc(O,K,pe){for(var Te=_n.apply(this,arguments),Ze=2;Ze<arguments.length;Ze++)sr(arguments[Ze],Te.type);return No(Te),Te}function wu(O,K){var pe=I.transition;I.transition={};var Te=I.transition;I.transition._updatedFibers=new Set;try{O()}finally{if(I.transition=pe,pe===null&&Te._updatedFibers){var Ze=Te._updatedFibers.size;Ze>10&&Fe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),Te._updatedFibers.clear()}}}var Wc=!1,Gc=null;function _u(O){if(Gc===null)try{var K=("require"+Math.random()).slice(0,7),pe=t&&t[K];Gc=pe.call(t,"timers").setImmediate}catch{Gc=function(Ze){Wc===!1&&(Wc=!0,typeof MessageChannel>"u"&&ve("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Tt=new MessageChannel;Tt.port1.onmessage=Ze,Tt.port2.postMessage(void 0)}}return Gc(O)}var po=0,mo=!1;function El(O){{var K=po;po++,N.current===null&&(N.current=[]);var pe=N.isBatchingLegacy,Te;try{if(N.isBatchingLegacy=!0,Te=O(),!pe&&N.didScheduleLegacyUpdate){var Ze=N.current;Ze!==null&&(N.didScheduleLegacyUpdate=!1,zs(Ze))}}catch(sn){throw Vs(K),sn}finally{N.isBatchingLegacy=pe}if(Te!==null&&typeof Te=="object"&&typeof Te.then=="function"){var Tt=Te,pt=!1,$t={then:function(sn,hr){pt=!0,Tt.then(function(qr){Vs(K),po===0?Yc(qr,sn,hr):sn(qr)},function(qr){Vs(K),hr(qr)})}};return!mo&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){pt||(mo=!0,ve("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),$t}else{var pn=Te;if(Vs(K),po===0){var Kn=N.current;Kn!==null&&(zs(Kn),N.current=null);var lr={then:function(sn,hr){N.current===null?(N.current=[],Yc(pn,sn,hr)):sn(pn)}};return lr}else{var ur={then:function(sn,hr){sn(pn)}};return ur}}}}function Vs(O){O!==po-1&&ve("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),po=O}function Yc(O,K,pe){{var Te=N.current;if(Te!==null)try{zs(Te),_u(function(){Te.length===0?(N.current=null,K(O)):Yc(O,K,pe)})}catch(Ze){pe(Ze)}else K(O)}}var Rl=!1;function zs(O){if(!Rl){Rl=!0;var K=0;try{for(;K<O.length;K++){var pe=O[K];do pe=pe(!0);while(pe!==null)}O.length=0}catch(Te){throw O=O.slice(K+1),Te}finally{Rl=!1}}}var Kc=qi,Cf=qc,go=Ov,Zc={map:co,forEach:ts,count:es,toArray:fo,only:ot};e.Children=Zc,e.Component=Rt,e.Fragment=l,e.Profiler=h,e.PureComponent=nn,e.StrictMode=c,e.Suspense=k,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Je,e.act=El,e.cloneElement=Cf,e.createContext=qe,e.createElement=Kc,e.createFactory=go,e.createRef=_r,e.forwardRef=Ei,e.isValidElement=dn,e.lazy=er,e.memo=Xe,e.startTransition=wu,e.unstable_act=El,e.useCallback=$i,e.useContext=en,e.useDebugValue=Er,e.useDeferredValue=ns,e.useEffect=$r,e.useId=Is,e.useImperativeHandle=Yn,e.useInsertionEffect=yr,e.useLayoutEffect=Cr,e.useMemo=Lo,e.useReducer=Cn,e.useRef=hn,e.useState=Gt,e.useSyncExternalStore=wp,e.useTransition=an,e.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(gg,gg.exports)),gg.exports}var Bj={};Bj.NODE_ENV==="production"?C1.exports=Vj():C1.exports=zj();var G=C1.exports;const ir=qP(G);/**
|
|
40
40
|
* @license React
|
|
41
41
|
* react-jsx-runtime.production.min.js
|
|
42
42
|
*
|
|
@@ -53,19 +53,19 @@ Check the top-level render call using <`+pe+">.")}return K}function Ur(O,K){if(!
|
|
|
53
53
|
* This source code is licensed under the MIT license found in the
|
|
54
54
|
* LICENSE file in the root directory of this source tree.
|
|
55
55
|
*/return t.NODE_ENV!=="production"&&function(){var e=G,n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),R=Symbol.iterator,M="@@iterator";function A(Y){if(Y===null||typeof Y!="object")return null;var Oe=R&&Y[R]||Y[M];return typeof Oe=="function"?Oe:null}var U=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function V(Y){{for(var Oe=arguments.length,Xe=new Array(Oe>1?Oe-1:0),tt=1;tt<Oe;tt++)Xe[tt-1]=arguments[tt];j("error",Y,Xe)}}function j(Y,Oe,Xe){{var tt=U.ReactDebugCurrentFrame,en=tt.getStackAddendum();en!==""&&(Oe+="%s",Xe=Xe.concat([en]));var Gt=Xe.map(function(Cn){return String(Cn)});Gt.unshift("Warning: "+Oe),Function.prototype.apply.call(console[Y],console,Gt)}}var I=!1,N=!1,ne=!1,X=!1,se=!1,$;$=Symbol.for("react.module.reference");function oe(Y){return!!(typeof Y=="string"||typeof Y=="function"||Y===a||Y===l||se||Y===s||Y===v||Y===b||X||Y===E||I||N||ne||typeof Y=="object"&&Y!==null&&(Y.$$typeof===T||Y.$$typeof===k||Y.$$typeof===c||Y.$$typeof===h||Y.$$typeof===p||Y.$$typeof===$||Y.getModuleId!==void 0))}function te(Y,Oe,Xe){var tt=Y.displayName;if(tt)return tt;var en=Oe.displayName||Oe.name||"";return en!==""?Xe+"("+en+")":Xe}function xe(Y){return Y.displayName||"Context"}function ke(Y){if(Y==null)return null;if(typeof Y.tag=="number"&&V("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Y=="function")return Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case a:return"Fragment";case r:return"Portal";case l:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if(typeof Y=="object")switch(Y.$$typeof){case h:var Oe=Y;return xe(Oe)+".Consumer";case c:var Xe=Y;return xe(Xe._context)+".Provider";case p:return te(Y,Y.render,"ForwardRef");case k:var tt=Y.displayName||null;return tt!==null?tt:ke(Y.type)||"Memo";case T:{var en=Y,Gt=en._payload,Cn=en._init;try{return ke(Cn(Gt))}catch{return null}}}return null}var Ge=Object.assign,Je=0,Fe,ve,Be,z,J,Ce,H;function Ct(){}Ct.__reactDisabledLog=!0;function Rt(){{if(Je===0){Fe=console.log,ve=console.info,Be=console.warn,z=console.error,J=console.group,Ce=console.groupCollapsed,H=console.groupEnd;var Y={configurable:!0,enumerable:!0,value:Ct,writable:!0};Object.defineProperties(console,{info:Y,log:Y,warn:Y,error:Y,group:Y,groupCollapsed:Y,groupEnd:Y})}Je++}}function ht(){{if(Je--,Je===0){var Y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ge({},Y,{value:Fe}),info:Ge({},Y,{value:ve}),warn:Ge({},Y,{value:Be}),error:Ge({},Y,{value:z}),group:Ge({},Y,{value:J}),groupCollapsed:Ge({},Y,{value:Ce}),groupEnd:Ge({},Y,{value:H})})}Je<0&&V("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var bt=U.ReactCurrentDispatcher,it;function xt(Y,Oe,Xe){{if(it===void 0)try{throw Error()}catch(en){var tt=en.stack.trim().match(/\n( *(at )?)/);it=tt&&tt[1]||""}return`
|
|
56
|
-
`+it+Y}}var nn=!1,qn;{var _r=typeof WeakMap=="function"?WeakMap:Map;qn=new _r}function vr(Y,Oe){if(!Y||nn)return"";{var Xe=qn.get(Y);if(Xe!==void 0)return Xe}var tt;nn=!0;var en=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Gt;Gt=bt.current,bt.current=null,Rt();try{if(Oe){var Cn=function(){throw Error()};if(Object.defineProperty(Cn.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Cn,[])}catch(Er){tt=Er}Reflect.construct(Y,[],Cn)}else{try{Cn.call()}catch(Er){tt=Er}Y.call(Cn.prototype)}}else{try{throw Error()}catch(Er){tt=Er}Y()}}catch(Er){if(Er&&tt&&typeof Er.stack=="string"){for(var
|
|
56
|
+
`+it+Y}}var nn=!1,qn;{var _r=typeof WeakMap=="function"?WeakMap:Map;qn=new _r}function vr(Y,Oe){if(!Y||nn)return"";{var Xe=qn.get(Y);if(Xe!==void 0)return Xe}var tt;nn=!0;var en=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Gt;Gt=bt.current,bt.current=null,Rt();try{if(Oe){var Cn=function(){throw Error()};if(Object.defineProperty(Cn.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Cn,[])}catch(Er){tt=Er}Reflect.construct(Y,[],Cn)}else{try{Cn.call()}catch(Er){tt=Er}Y.call(Cn.prototype)}}else{try{throw Error()}catch(Er){tt=Er}Y()}}catch(Er){if(Er&&tt&&typeof Er.stack=="string"){for(var hn=Er.stack.split(`
|
|
57
57
|
`),$r=tt.stack.split(`
|
|
58
|
-
`),yr=
|
|
59
|
-
`+
|
|
58
|
+
`),yr=hn.length-1,Cr=$r.length-1;yr>=1&&Cr>=0&&hn[yr]!==$r[Cr];)Cr--;for(;yr>=1&&Cr>=0;yr--,Cr--)if(hn[yr]!==$r[Cr]){if(yr!==1||Cr!==1)do if(yr--,Cr--,Cr<0||hn[yr]!==$r[Cr]){var $i=`
|
|
59
|
+
`+hn[yr].replace(" at new "," at ");return Y.displayName&&$i.includes("<anonymous>")&&($i=$i.replace("<anonymous>",Y.displayName)),typeof Y=="function"&&qn.set(Y,$i),$i}while(yr>=1&&Cr>=0);break}}}finally{nn=!1,bt.current=Gt,ht(),Error.prepareStackTrace=en}var Lo=Y?Y.displayName||Y.name:"",Yn=Lo?xt(Lo):"";return typeof Y=="function"&&qn.set(Y,Yn),Yn}function Xn(Y,Oe,Xe){return vr(Y,!1)}function Lr(Y){var Oe=Y.prototype;return!!(Oe&&Oe.isReactComponent)}function un(Y,Oe,Xe){if(Y==null)return"";if(typeof Y=="function")return vr(Y,Lr(Y));if(typeof Y=="string")return xt(Y);switch(Y){case v:return xt("Suspense");case b:return xt("SuspenseList")}if(typeof Y=="object")switch(Y.$$typeof){case p:return Xn(Y.render);case k:return un(Y.type,Oe,Xe);case T:{var tt=Y,en=tt._payload,Gt=tt._init;try{return un(Gt(en),Oe,Xe)}catch{}}}return""}var Lt=Object.prototype.hasOwnProperty,Z={},le=U.ReactDebugCurrentFrame;function me(Y){if(Y){var Oe=Y._owner,Xe=un(Y.type,Y._source,Oe?Oe.type:null);le.setExtraStackFrame(Xe)}else le.setExtraStackFrame(null)}function je(Y,Oe,Xe,tt,en){{var Gt=Function.call.bind(Lt);for(var Cn in Y)if(Gt(Y,Cn)){var hn=void 0;try{if(typeof Y[Cn]!="function"){var $r=Error((tt||"React class")+": "+Xe+" type `"+Cn+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Y[Cn]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw $r.name="Invariant Violation",$r}hn=Y[Cn](Oe,Cn,tt,Xe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(yr){hn=yr}hn&&!(hn instanceof Error)&&(me(en),V("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",tt||"React class",Xe,Cn,typeof hn),me(null)),hn instanceof Error&&!(hn.message in Z)&&(Z[hn.message]=!0,me(en),V("Failed %s type: %s",Xe,hn.message),me(null))}}}var Ve=Array.isArray;function Me(Y){return Ve(Y)}function ut(Y){{var Oe=typeof Symbol=="function"&&Symbol.toStringTag,Xe=Oe&&Y[Symbol.toStringTag]||Y.constructor.name||"Object";return Xe}}function Nt(Y){try{return fe(Y),!1}catch{return!0}}function fe(Y){return""+Y}function Re(Y){if(Nt(Y))return V("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ut(Y)),fe(Y)}var vt=U.ReactCurrentOwner,Ft={key:!0,ref:!0,__self:!0,__source:!0},Kt,ze;function ct(Y){if(Lt.call(Y,"ref")){var Oe=Object.getOwnPropertyDescriptor(Y,"ref").get;if(Oe&&Oe.isReactWarning)return!1}return Y.ref!==void 0}function At(Y){if(Lt.call(Y,"key")){var Oe=Object.getOwnPropertyDescriptor(Y,"key").get;if(Oe&&Oe.isReactWarning)return!1}return Y.key!==void 0}function cn(Y,Oe){typeof Y.ref=="string"&&vt.current}function _n(Y,Oe){{var Xe=function(){Kt||(Kt=!0,V("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Oe))};Xe.isReactWarning=!0,Object.defineProperty(Y,"key",{get:Xe,configurable:!0})}}function dn(Y,Oe){{var Xe=function(){ze||(ze=!0,V("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Oe))};Xe.isReactWarning=!0,Object.defineProperty(Y,"ref",{get:Xe,configurable:!0})}}var Pn=function(Y,Oe,Xe,tt,en,Gt,Cn){var hn={$$typeof:n,type:Y,key:Oe,ref:Xe,props:Cn,_owner:Gt};return hn._store={},Object.defineProperty(hn._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(hn,"_self",{configurable:!1,enumerable:!1,writable:!1,value:tt}),Object.defineProperty(hn,"_source",{configurable:!1,enumerable:!1,writable:!1,value:en}),Object.freeze&&(Object.freeze(hn.props),Object.freeze(hn)),hn};function Wn(Y,Oe,Xe,tt,en){{var Gt,Cn={},hn=null,$r=null;Xe!==void 0&&(Re(Xe),hn=""+Xe),At(Oe)&&(Re(Oe.key),hn=""+Oe.key),ct(Oe)&&($r=Oe.ref,cn(Oe,en));for(Gt in Oe)Lt.call(Oe,Gt)&&!Ft.hasOwnProperty(Gt)&&(Cn[Gt]=Oe[Gt]);if(Y&&Y.defaultProps){var yr=Y.defaultProps;for(Gt in yr)Cn[Gt]===void 0&&(Cn[Gt]=yr[Gt])}if(hn||$r){var Cr=typeof Y=="function"?Y.displayName||Y.name||"Unknown":Y;hn&&_n(Cn,Cr),$r&&dn(Cn,Cr)}return Pn(Y,hn,$r,en,tt,vt.current,Cn)}}var Jn=U.ReactCurrentOwner,Gn=U.ReactDebugCurrentFrame;function Nn(Y){if(Y){var Oe=Y._owner,Xe=un(Y.type,Y._source,Oe?Oe.type:null);Gn.setExtraStackFrame(Xe)}else Gn.setExtraStackFrame(null)}var Hi;Hi=!1;function Ji(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===n}function ea(){{if(Jn.current){var Y=ke(Jn.current.type);if(Y)return`
|
|
60
60
|
|
|
61
61
|
Check the render method of \``+Y+"`."}return""}}function co(Y){return""}var es={};function ts(Y){{var Oe=ea();if(!Oe){var Xe=typeof Y=="string"?Y:Y.displayName||Y.name;Xe&&(Oe=`
|
|
62
62
|
|
|
63
|
-
Check the top-level render call using <`+Xe+">.")}return Oe}}function fo(Y,Oe){{if(!Y._store||Y._store.validated||Y.key!=null)return;Y._store.validated=!0;var Xe=ts(Oe);if(es[Xe])return;es[Xe]=!0;var tt="";Y&&Y._owner&&Y._owner!==Jn.current&&(tt=" It was passed a child from "+ke(Y._owner.type)+"."),Nn(Y),V('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Xe,tt),Nn(null)}}function ot(Y,Oe){{if(typeof Y!="object")return;if(Me(Y))for(var Xe=0;Xe<Y.length;Xe++){var tt=Y[Xe];Ji(tt)&&fo(tt,Oe)}else if(Ji(Y))Y._store&&(Y._store.validated=!0);else if(Y){var en=A(Y);if(typeof en=="function"&&en!==Y.entries)for(var Gt=en.call(Y),Cn;!(Cn=Gt.next()).done;)Ji(Cn.value)&&fo(Cn.value,Oe)}}}function qe(Y){{var Oe=Y.type;if(Oe==null||typeof Oe=="string")return;var Xe;if(typeof Oe=="function")Xe=Oe.propTypes;else if(typeof Oe=="object"&&(Oe.$$typeof===p||Oe.$$typeof===k))Xe=Oe.propTypes;else return;if(Xe){var tt=ke(Oe);je(Xe,Y.props,"prop",tt,Y)}else if(Oe.PropTypes!==void 0&&!Hi){Hi=!0;var en=ke(Oe);V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",en||"Unknown")}typeof Oe.getDefaultProps=="function"&&!Oe.getDefaultProps.isReactClassApproved&&V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function It(Y){{for(var Oe=Object.keys(Y.props),Xe=0;Xe<Oe.length;Xe++){var tt=Oe[Xe];if(tt!=="children"&&tt!=="key"){Nn(Y),V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",tt),Nn(null);break}}Y.ref!==null&&(Nn(Y),V("Invalid attribute `ref` supplied to `React.Fragment`."),Nn(null))}}var Jt={};function jt(Y,Oe,Xe,tt,en,Gt){{var Cn=oe(Y);if(!Cn){var
|
|
63
|
+
Check the top-level render call using <`+Xe+">.")}return Oe}}function fo(Y,Oe){{if(!Y._store||Y._store.validated||Y.key!=null)return;Y._store.validated=!0;var Xe=ts(Oe);if(es[Xe])return;es[Xe]=!0;var tt="";Y&&Y._owner&&Y._owner!==Jn.current&&(tt=" It was passed a child from "+ke(Y._owner.type)+"."),Nn(Y),V('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Xe,tt),Nn(null)}}function ot(Y,Oe){{if(typeof Y!="object")return;if(Me(Y))for(var Xe=0;Xe<Y.length;Xe++){var tt=Y[Xe];Ji(tt)&&fo(tt,Oe)}else if(Ji(Y))Y._store&&(Y._store.validated=!0);else if(Y){var en=A(Y);if(typeof en=="function"&&en!==Y.entries)for(var Gt=en.call(Y),Cn;!(Cn=Gt.next()).done;)Ji(Cn.value)&&fo(Cn.value,Oe)}}}function qe(Y){{var Oe=Y.type;if(Oe==null||typeof Oe=="string")return;var Xe;if(typeof Oe=="function")Xe=Oe.propTypes;else if(typeof Oe=="object"&&(Oe.$$typeof===p||Oe.$$typeof===k))Xe=Oe.propTypes;else return;if(Xe){var tt=ke(Oe);je(Xe,Y.props,"prop",tt,Y)}else if(Oe.PropTypes!==void 0&&!Hi){Hi=!0;var en=ke(Oe);V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",en||"Unknown")}typeof Oe.getDefaultProps=="function"&&!Oe.getDefaultProps.isReactClassApproved&&V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function It(Y){{for(var Oe=Object.keys(Y.props),Xe=0;Xe<Oe.length;Xe++){var tt=Oe[Xe];if(tt!=="children"&&tt!=="key"){Nn(Y),V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",tt),Nn(null);break}}Y.ref!==null&&(Nn(Y),V("Invalid attribute `ref` supplied to `React.Fragment`."),Nn(null))}}var Jt={};function jt(Y,Oe,Xe,tt,en,Gt){{var Cn=oe(Y);if(!Cn){var hn="";(Y===void 0||typeof Y=="object"&&Y!==null&&Object.keys(Y).length===0)&&(hn+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var $r=co();$r?hn+=$r:hn+=ea();var yr;Y===null?yr="null":Me(Y)?yr="array":Y!==void 0&&Y.$$typeof===n?(yr="<"+(ke(Y.type)||"Unknown")+" />",hn=" Did you accidentally export a JSX literal instead of a component?"):yr=typeof Y,V("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yr,hn)}var Cr=Wn(Y,Oe,Xe,en,Gt);if(Cr==null)return Cr;if(Cn){var $i=Oe.children;if($i!==void 0)if(tt)if(Me($i)){for(var Lo=0;Lo<$i.length;Lo++)ot($i[Lo],Y);Object.freeze&&Object.freeze($i)}else V("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ot($i,Y)}if(Lt.call(Oe,"key")){var Yn=ke(Y),Er=Object.keys(Oe).filter(function(Is){return Is!=="key"}),an=Er.length>0?"{key: someKey, "+Er.join(": ..., ")+": ...}":"{key: someKey}";if(!Jt[Yn+an]){var ns=Er.length>0?"{"+Er.join(": ..., ")+": ...}":"{}";V(`A props object containing a "key" prop is being spread into JSX:
|
|
64
64
|
let props = %s;
|
|
65
65
|
<%s {...props} />
|
|
66
66
|
React keys must be passed directly to JSX without using spread:
|
|
67
67
|
let props = %s;
|
|
68
|
-
<%s key={someKey} {...props} />`,an,Yn,ns,Yn),Jt[Yn+an]=!0}}return Y===a?It(Cr):qe(Cr),Cr}}function
|
|
68
|
+
<%s key={someKey} {...props} />`,an,Yn,ns,Yn),Jt[Yn+an]=!0}}return Y===a?It(Cr):qe(Cr),Cr}}function fn(Y,Oe,Xe){return jt(Y,Oe,Xe,!0)}function In(Y,Oe,Xe){return jt(Y,Oe,Xe,!1)}var er=In,Ei=fn;vg.Fragment=a,vg.jsx=er,vg.jsxs=Ei}(),vg}var qj={};qj.NODE_ENV==="production"?S1.exports=Hj():S1.exports=$j();var W=S1.exports,yg={},k1={exports:{}},Ja={},M0={exports:{}},T1={};/**
|
|
69
69
|
* @license React
|
|
70
70
|
* scheduler.production.min.js
|
|
71
71
|
*
|
|
@@ -81,7 +81,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
81
81
|
*
|
|
82
82
|
* This source code is licensed under the MIT license found in the
|
|
83
83
|
* LICENSE file in the root directory of this source tree.
|
|
84
|
-
*/e.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=!1,r=5;function a(ze,ct){var At=ze.length;ze.push(ct),c(ze,ct,At)}function s(ze){return ze.length===0?null:ze[0]}function l(ze){if(ze.length===0)return null;var ct=ze[0],At=ze.pop();return At!==ct&&(ze[0]=At,h(ze,At,0)),ct}function c(ze,ct,At){for(var
|
|
84
|
+
*/e.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=!1,r=5;function a(ze,ct){var At=ze.length;ze.push(ct),c(ze,ct,At)}function s(ze){return ze.length===0?null:ze[0]}function l(ze){if(ze.length===0)return null;var ct=ze[0],At=ze.pop();return At!==ct&&(ze[0]=At,h(ze,At,0)),ct}function c(ze,ct,At){for(var cn=At;cn>0;){var _n=cn-1>>>1,dn=ze[_n];if(p(dn,ct)>0)ze[_n]=ct,ze[cn]=dn,cn=_n;else return}}function h(ze,ct,At){for(var cn=At,_n=ze.length,dn=_n>>>1;cn<dn;){var Pn=(cn+1)*2-1,Wn=ze[Pn],Jn=Pn+1,Gn=ze[Jn];if(p(Wn,ct)<0)Jn<_n&&p(Gn,Wn)<0?(ze[cn]=Gn,ze[Jn]=ct,cn=Jn):(ze[cn]=Wn,ze[Pn]=ct,cn=Pn);else if(Jn<_n&&p(Gn,ct)<0)ze[cn]=Gn,ze[Jn]=ct,cn=Jn;else return}}function p(ze,ct){var At=ze.sortIndex-ct.sortIndex;return At!==0?At:ze.id-ct.id}var v=1,b=2,k=3,T=4,E=5;function R(ze,ct){}var M=typeof performance=="object"&&typeof performance.now=="function";if(M){var A=performance;t.unstable_now=function(){return A.now()}}else{var U=Date,V=U.now();t.unstable_now=function(){return U.now()-V}}var j=1073741823,I=-1,N=250,ne=5e3,X=1e4,se=j,$=[],oe=[],te=1,xe=null,ke=k,Ge=!1,Je=!1,Fe=!1,ve=typeof setTimeout=="function"?setTimeout:null,Be=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function J(ze){for(var ct=s(oe);ct!==null;){if(ct.callback===null)l(oe);else if(ct.startTime<=ze)l(oe),ct.sortIndex=ct.expirationTime,a($,ct);else return;ct=s(oe)}}function Ce(ze){if(Fe=!1,J(ze),!Je)if(s($)!==null)Je=!0,fe(H);else{var ct=s(oe);ct!==null&&Re(Ce,ct.startTime-ze)}}function H(ze,ct){Je=!1,Fe&&(Fe=!1,vt()),Ge=!0;var At=ke;try{var cn;if(!n)return Ct(ze,ct)}finally{xe=null,ke=At,Ge=!1}}function Ct(ze,ct){var At=ct;for(J(At),xe=s($);xe!==null&&!(xe.expirationTime>At&&(!ze||le()));){var cn=xe.callback;if(typeof cn=="function"){xe.callback=null,ke=xe.priorityLevel;var _n=xe.expirationTime<=At,dn=cn(_n);At=t.unstable_now(),typeof dn=="function"?xe.callback=dn:xe===s($)&&l($),J(At)}else l($);xe=s($)}if(xe!==null)return!0;var Pn=s(oe);return Pn!==null&&Re(Ce,Pn.startTime-At),!1}function Rt(ze,ct){switch(ze){case v:case b:case k:case T:case E:break;default:ze=k}var At=ke;ke=ze;try{return ct()}finally{ke=At}}function ht(ze){var ct;switch(ke){case v:case b:case k:ct=k;break;default:ct=ke;break}var At=ke;ke=ct;try{return ze()}finally{ke=At}}function bt(ze){var ct=ke;return function(){var At=ke;ke=ct;try{return ze.apply(this,arguments)}finally{ke=At}}}function it(ze,ct,At){var cn=t.unstable_now(),_n;if(typeof At=="object"&&At!==null){var dn=At.delay;typeof dn=="number"&&dn>0?_n=cn+dn:_n=cn}else _n=cn;var Pn;switch(ze){case v:Pn=I;break;case b:Pn=N;break;case E:Pn=se;break;case T:Pn=X;break;case k:default:Pn=ne;break}var Wn=_n+Pn,Jn={id:te++,callback:ct,priorityLevel:ze,startTime:_n,expirationTime:Wn,sortIndex:-1};return _n>cn?(Jn.sortIndex=_n,a(oe,Jn),s($)===null&&Jn===s(oe)&&(Fe?vt():Fe=!0,Re(Ce,_n-cn))):(Jn.sortIndex=Wn,a($,Jn),!Je&&!Ge&&(Je=!0,fe(H))),Jn}function xt(){}function nn(){!Je&&!Ge&&(Je=!0,fe(H))}function qn(){return s($)}function _r(ze){ze.callback=null}function vr(){return ke}var Xn=!1,Lr=null,un=-1,Lt=r,Z=-1;function le(){var ze=t.unstable_now()-Z;return!(ze<Lt)}function me(){}function je(ze){if(ze<0||ze>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ze>0?Lt=Math.floor(1e3/ze):Lt=r}var Ve=function(){if(Lr!==null){var ze=t.unstable_now();Z=ze;var ct=!0,At=!0;try{At=Lr(ct,ze)}finally{At?Me():(Xn=!1,Lr=null)}}else Xn=!1},Me;if(typeof z=="function")Me=function(){z(Ve)};else if(typeof MessageChannel<"u"){var ut=new MessageChannel,Nt=ut.port2;ut.port1.onmessage=Ve,Me=function(){Nt.postMessage(null)}}else Me=function(){ve(Ve,0)};function fe(ze){Lr=ze,Xn||(Xn=!0,Me())}function Re(ze,ct){un=ve(function(){ze(t.unstable_now())},ct)}function vt(){Be(un),un=-1}var Ft=me,Kt=null;t.unstable_IdlePriority=E,t.unstable_ImmediatePriority=v,t.unstable_LowPriority=T,t.unstable_NormalPriority=k,t.unstable_Profiling=Kt,t.unstable_UserBlockingPriority=b,t.unstable_cancelCallback=_r,t.unstable_continueExecution=nn,t.unstable_forceFrameRate=je,t.unstable_getCurrentPriorityLevel=vr,t.unstable_getFirstCallbackNode=qn,t.unstable_next=ht,t.unstable_pauseExecution=xt,t.unstable_requestPaint=Ft,t.unstable_runWithPriority=Rt,t.unstable_scheduleCallback=it,t.unstable_shouldYield=le,t.unstable_wrapCallback=bt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(x1)),x1}var XP;function JP(){if(XP)return M0.exports;XP=1;var t={};return t.NODE_ENV==="production"?M0.exports=Wj():M0.exports=Gj(),M0.exports}/**
|
|
85
85
|
* @license React
|
|
86
86
|
* react-dom.production.min.js
|
|
87
87
|
*
|
|
@@ -93,10 +93,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
93
93
|
`+J+u}var H=!1;function Ct(u,d){if(!u||H)return"";H=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(d)if(d=function(){throw Error()},Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(ye){var S=ye}Reflect.construct(u,[],d)}else{try{d.call()}catch(ye){S=ye}u.call(d.prototype)}else{try{throw Error()}catch(ye){S=ye}u()}}catch(ye){if(ye&&S&&typeof ye.stack=="string"){for(var x=ye.stack.split(`
|
|
94
94
|
`),_=S.stack.split(`
|
|
95
95
|
`),L=x.length-1,q=_.length-1;1<=L&&0<=q&&x[L]!==_[q];)q--;for(;1<=L&&0<=q;L--,q--)if(x[L]!==_[q]){if(L!==1||q!==1)do if(L--,q--,0>q||x[L]!==_[q]){var ee=`
|
|
96
|
-
`+x[L].replace(" at new "," at ");return u.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",u.displayName)),ee}while(1<=L&&0<=q);break}}}finally{H=!1,Error.prepareStackTrace=g}return(u=u?u.displayName||u.name:"")?Ce(u):""}function Rt(u){switch(u.tag){case 5:return Ce(u.type);case 16:return Ce("Lazy");case 13:return Ce("Suspense");case 19:return Ce("SuspenseList");case 0:case 2:case 15:return u=Ct(u.type,!1),u;case 11:return u=Ct(u.type.render,!1),u;case 1:return u=Ct(u.type,!0),u;default:return""}}function ht(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case ne:return"Fragment";case N:return"Portal";case se:return"Profiler";case X:return"StrictMode";case xe:return"Suspense";case ke:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case oe:return(u.displayName||"Context")+".Consumer";case $:return(u._context.displayName||"Context")+".Provider";case te:var d=u.render;return u=u.displayName,u||(u=d.displayName||d.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case Ge:return d=u.displayName||null,d!==null?d:ht(u.type)||"Memo";case Je:d=u._payload,u=u._init;try{return ht(u(d))}catch{}}return null}function bt(u){var d=u.type;switch(u.tag){case 24:return"Cache";case 9:return(d.displayName||"Context")+".Consumer";case 10:return(d._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return u=d.render,u=u.displayName||u.name||"",d.displayName||(u!==""?"ForwardRef("+u+")":"ForwardRef");case 7:return"Fragment";case 5:return d;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ht(d);case 8:return d===X?"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 d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d}return null}function it(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function xt(u){var d=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function nn(u){var d=xt(u)?"checked":"value",g=Object.getOwnPropertyDescriptor(u.constructor.prototype,d),S=""+u[d];if(!u.hasOwnProperty(d)&&typeof g<"u"&&typeof g.get=="function"&&typeof g.set=="function"){var x=g.get,_=g.set;return Object.defineProperty(u,d,{configurable:!0,get:function(){return x.call(this)},set:function(L){S=""+L,_.call(this,L)}}),Object.defineProperty(u,d,{enumerable:g.enumerable}),{getValue:function(){return S},setValue:function(L){S=""+L},stopTracking:function(){u._valueTracker=null,delete u[d]}}}}function qn(u){u._valueTracker||(u._valueTracker=nn(u))}function _r(u){if(!u)return!1;var d=u._valueTracker;if(!d)return!0;var g=d.getValue(),S="";return u&&(S=xt(u)?u.checked?"true":"false":u.value),u=S,u!==g?(d.setValue(u),!0):!1}function vr(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}function Xn(u,d){var g=d.checked;return z({},d,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:g??u._wrapperState.initialChecked})}function Lr(u,d){var g=d.defaultValue==null?"":d.defaultValue,S=d.checked!=null?d.checked:d.defaultChecked;g=it(d.value!=null?d.value:g),u._wrapperState={initialChecked:S,initialValue:g,controlled:d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null}}function Sn(u,d){d=d.checked,d!=null&&V(u,"checked",d,!1)}function Lt(u,d){Sn(u,d);var g=it(d.value),S=d.type;if(g!=null)S==="number"?(g===0&&u.value===""||u.value!=g)&&(u.value=""+g):u.value!==""+g&&(u.value=""+g);else if(S==="submit"||S==="reset"){u.removeAttribute("value");return}d.hasOwnProperty("value")?le(u,d.type,g):d.hasOwnProperty("defaultValue")&&le(u,d.type,it(d.defaultValue)),d.checked==null&&d.defaultChecked!=null&&(u.defaultChecked=!!d.defaultChecked)}function Z(u,d,g){if(d.hasOwnProperty("value")||d.hasOwnProperty("defaultValue")){var S=d.type;if(!(S!=="submit"&&S!=="reset"||d.value!==void 0&&d.value!==null))return;d=""+u._wrapperState.initialValue,g||d===u.value||(u.value=d),u.defaultValue=d}g=u.name,g!==""&&(u.name=""),u.defaultChecked=!!u._wrapperState.initialChecked,g!==""&&(u.name=g)}function le(u,d,g){(d!=="number"||vr(u.ownerDocument)!==u)&&(g==null?u.defaultValue=""+u._wrapperState.initialValue:u.defaultValue!==""+g&&(u.defaultValue=""+g))}var me=Array.isArray;function je(u,d,g,S){if(u=u.options,d){d={};for(var x=0;x<g.length;x++)d["$"+g[x]]=!0;for(g=0;g<u.length;g++)x=d.hasOwnProperty("$"+u[g].value),u[g].selected!==x&&(u[g].selected=x),x&&S&&(u[g].defaultSelected=!0)}else{for(g=""+it(g),d=null,x=0;x<u.length;x++){if(u[x].value===g){u[x].selected=!0,S&&(u[x].defaultSelected=!0);return}d!==null||u[x].disabled||(d=u[x])}d!==null&&(d.selected=!0)}}function Ve(u,d){if(d.dangerouslySetInnerHTML!=null)throw Error(n(91));return z({},d,{value:void 0,defaultValue:void 0,children:""+u._wrapperState.initialValue})}function Me(u,d){var g=d.value;if(g==null){if(g=d.children,d=d.defaultValue,g!=null){if(d!=null)throw Error(n(92));if(me(g)){if(1<g.length)throw Error(n(93));g=g[0]}d=g}d==null&&(d=""),g=d}u._wrapperState={initialValue:it(g)}}function ut(u,d){var g=it(d.value),S=it(d.defaultValue);g!=null&&(g=""+g,g!==u.value&&(u.value=g),d.defaultValue==null&&u.defaultValue!==g&&(u.defaultValue=g)),S!=null&&(u.defaultValue=""+S)}function Nt(u){var d=u.textContent;d===u._wrapperState.initialValue&&d!==""&&d!==null&&(u.value=d)}function fe(u){switch(u){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 Re(u,d){return u==null||u==="http://www.w3.org/1999/xhtml"?fe(d):u==="http://www.w3.org/2000/svg"&&d==="foreignObject"?"http://www.w3.org/1999/xhtml":u}var vt,Ft=function(u){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(d,g,S,x){MSApp.execUnsafeLocalFunction(function(){return u(d,g,S,x)})}:u}(function(u,d){if(u.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in u)u.innerHTML=d;else{for(vt=vt||document.createElement("div"),vt.innerHTML="<svg>"+d.valueOf().toString()+"</svg>",d=vt.firstChild;u.firstChild;)u.removeChild(u.firstChild);for(;d.firstChild;)u.appendChild(d.firstChild)}});function Kt(u,d){if(d){var g=u.firstChild;if(g&&g===u.lastChild&&g.nodeType===3){g.nodeValue=d;return}}u.textContent=d}var ze={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},ct=["Webkit","ms","Moz","O"];Object.keys(ze).forEach(function(u){ct.forEach(function(d){d=d+u.charAt(0).toUpperCase()+u.substring(1),ze[d]=ze[u]})});function At(u,d,g){return d==null||typeof d=="boolean"||d===""?"":g||typeof d!="number"||d===0||ze.hasOwnProperty(u)&&ze[u]?(""+d).trim():d+"px"}function un(u,d){u=u.style;for(var g in d)if(d.hasOwnProperty(g)){var S=g.indexOf("--")===0,x=At(g,d[g],S);g==="float"&&(g="cssFloat"),S?u.setProperty(g,x):u[g]=x}}var _n=z({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 cn(u,d){if(d){if(_n[u]&&(d.children!=null||d.dangerouslySetInnerHTML!=null))throw Error(n(137,u));if(d.dangerouslySetInnerHTML!=null){if(d.children!=null)throw Error(n(60));if(typeof d.dangerouslySetInnerHTML!="object"||!("__html"in d.dangerouslySetInnerHTML))throw Error(n(61))}if(d.style!=null&&typeof d.style!="object")throw Error(n(62))}}function Pn(u,d){if(u.indexOf("-")===-1)return typeof d.is=="string";switch(u){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 Wn=null;function Jn(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var Gn=null,Nn=null,Hi=null;function Ji(u){if(u=Uf(u)){if(typeof Gn!="function")throw Error(n(280));var d=u.stateNode;d&&(d=Ws(d),Gn(u.stateNode,u.type,d))}}function ea(u){Nn?Hi?Hi.push(u):Hi=[u]:Nn=u}function co(){if(Nn){var u=Nn,d=Hi;if(Hi=Nn=null,Ji(u),d)for(u=0;u<d.length;u++)Ji(d[u])}}function es(u,d){return u(d)}function ts(){}var fo=!1;function ot(u,d,g){if(fo)return u(d,g);fo=!0;try{return es(u,d,g)}finally{fo=!1,(Nn!==null||Hi!==null)&&(ts(),co())}}function qe(u,d){var g=u.stateNode;if(g===null)return null;var S=Ws(g);if(S===null)return null;g=S[d];e:switch(d){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(S=!S.disabled)||(u=u.type,S=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!S;break e;default:u=!1}if(u)return null;if(g&&typeof g!="function")throw Error(n(231,d,typeof g));return g}var It=!1;if(c)try{var Jt={};Object.defineProperty(Jt,"passive",{get:function(){It=!0}}),window.addEventListener("test",Jt,Jt),window.removeEventListener("test",Jt,Jt)}catch{It=!1}function jt(u,d,g,S,x,_,L,q,ee){var ye=Array.prototype.slice.call(arguments,3);try{d.apply(g,ye)}catch(Ue){this.onError(Ue)}}var dn=!1,In=null,er=!1,Ei=null,Y={onError:function(u){dn=!0,In=u}};function Oe(u,d,g,S,x,_,L,q,ee){dn=!1,In=null,jt.apply(Y,arguments)}function Xe(u,d,g,S,x,_,L,q,ee){if(Oe.apply(this,arguments),dn){if(dn){var ye=In;dn=!1,In=null}else throw Error(n(198));er||(er=!0,Ei=ye)}}function tt(u){var d=u,g=u;if(u.alternate)for(;d.return;)d=d.return;else{u=d;do d=u,d.flags&4098&&(g=d.return),u=d.return;while(u)}return d.tag===3?g:null}function en(u){if(u.tag===13){var d=u.memoizedState;if(d===null&&(u=u.alternate,u!==null&&(d=u.memoizedState)),d!==null)return d.dehydrated}return null}function Gt(u){if(tt(u)!==u)throw Error(n(188))}function Cn(u){var d=u.alternate;if(!d){if(d=tt(u),d===null)throw Error(n(188));return d!==u?null:u}for(var g=u,S=d;;){var x=g.return;if(x===null)break;var _=x.alternate;if(_===null){if(S=x.return,S!==null){g=S;continue}break}if(x.child===_.child){for(_=x.child;_;){if(_===g)return Gt(x),u;if(_===S)return Gt(x),d;_=_.sibling}throw Error(n(188))}if(g.return!==S.return)g=x,S=_;else{for(var L=!1,q=x.child;q;){if(q===g){L=!0,g=x,S=_;break}if(q===S){L=!0,S=x,g=_;break}q=q.sibling}if(!L){for(q=_.child;q;){if(q===g){L=!0,g=_,S=x;break}if(q===S){L=!0,S=_,g=x;break}q=q.sibling}if(!L)throw Error(n(189))}}if(g.alternate!==S)throw Error(n(190))}if(g.tag!==3)throw Error(n(188));return g.stateNode.current===g?u:d}function fn(u){return u=Cn(u),u!==null?$r(u):null}function $r(u){if(u.tag===5||u.tag===6)return u;for(u=u.child;u!==null;){var d=$r(u);if(d!==null)return d;u=u.sibling}return null}var yr=e.unstable_scheduleCallback,Cr=e.unstable_cancelCallback,$i=e.unstable_shouldYield,Lo=e.unstable_requestPaint,Yn=e.unstable_now,Er=e.unstable_getCurrentPriorityLevel,an=e.unstable_ImmediatePriority,ns=e.unstable_UserBlockingPriority,Is=e.unstable_NormalPriority,wp=e.unstable_LowPriority,Us=e.unstable_IdlePriority,Tl=null,Ca=null;function gf(u){if(Ca&&typeof Ca.onCommitFiberRoot=="function")try{Ca.onCommitFiberRoot(Tl,u,void 0,(u.current.flags&128)===128)}catch{}}var ta=Math.clz32?Math.clz32:Ep,vf=Math.log,_p=Math.LN2;function Ep(u){return u>>>=0,u===0?32:31-(vf(u)/_p|0)|0}var Fs=64,xl=4194304;function ka(u){switch(u&-u){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 u&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return u&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return u}}function rs(u,d){var g=u.pendingLanes;if(g===0)return 0;var S=0,x=u.suspendedLanes,_=u.pingedLanes,L=g&268435455;if(L!==0){var q=L&~x;q!==0?S=ka(q):(_&=L,_!==0&&(S=ka(_)))}else L=g&~x,L!==0?S=ka(L):_!==0&&(S=ka(_));if(S===0)return 0;if(d!==0&&d!==S&&!(d&x)&&(x=S&-S,_=d&-d,x>=_||x===16&&(_&4194240)!==0))return d;if(S&4&&(S|=g&16),d=u.entangledLanes,d!==0)for(u=u.entanglements,d&=S;0<d;)g=31-ta(d),x=1<<g,S|=u[g],d&=~x;return S}function wl(u,d){switch(u){case 1:case 2:case 4:return d+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 d+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 Hc(u,d){for(var g=u.suspendedLanes,S=u.pingedLanes,x=u.expirationTimes,_=u.pendingLanes;0<_;){var L=31-ta(_),q=1<<L,ee=x[L];ee===-1?(!(q&g)||q&S)&&(x[L]=wl(q,d)):ee<=d&&(u.expiredLanes|=q),_&=~q}}function js(u){return u=u.pendingLanes&-1073741825,u!==0?u:u&1073741824?1073741824:0}function ku(){var u=Fs;return Fs<<=1,!(Fs&4194240)&&(Fs=64),u}function Tu(u){for(var d=[],g=0;31>g;g++)d.push(u);return d}function _l(u,d,g){u.pendingLanes|=d,d!==536870912&&(u.suspendedLanes=0,u.pingedLanes=0),u=u.eventTimes,d=31-ta(d),u[d]=g}function yf(u,d){var g=u.pendingLanes&~d;u.pendingLanes=d,u.suspendedLanes=0,u.pingedLanes=0,u.expiredLanes&=d,u.mutableReadLanes&=d,u.entangledLanes&=d,d=u.entanglements;var S=u.eventTimes;for(u=u.expirationTimes;0<g;){var x=31-ta(g),_=1<<x;d[x]=0,S[x]=-1,u[x]=-1,g&=~_}}function bf(u,d){var g=u.entangledLanes|=d;for(u=u.entanglements;g;){var S=31-ta(g),x=1<<S;x&d|u[S]&d&&(u[S]|=d),g&=~x}}var Dn=0;function Sf(u){return u&=-u,1<u?4<u?u&268435455?16:536870912:4:1}var $c,An,Rp,is,Zt,xu=!1,vi=[],Ta=null,na=null,as=null,Ur=new Map,sr=new Map,No=[],ho="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 qi(u,d){switch(u){case"focusin":case"focusout":Ta=null;break;case"dragenter":case"dragleave":na=null;break;case"mouseover":case"mouseout":as=null;break;case"pointerover":case"pointerout":Ur.delete(d.pointerId);break;case"gotpointercapture":case"lostpointercapture":sr.delete(d.pointerId)}}function ra(u,d,g,S,x,_){return u===null||u.nativeEvent!==_?(u={blockedOn:d,domEventName:g,eventSystemFlags:S,nativeEvent:_,targetContainers:[x]},d!==null&&(d=Uf(d),d!==null&&An(d)),u):(u.eventSystemFlags|=S,d=u.targetContainers,x!==null&&d.indexOf(x)===-1&&d.push(x),u)}function Ov(u,d,g,S,x){switch(d){case"focusin":return Ta=ra(Ta,u,d,g,S,x),!0;case"dragenter":return na=ra(na,u,d,g,S,x),!0;case"mouseover":return as=ra(as,u,d,g,S,x),!0;case"pointerover":var _=x.pointerId;return Ur.set(_,ra(Ur.get(_)||null,u,d,g,S,x)),!0;case"gotpointercapture":return _=x.pointerId,sr.set(_,ra(sr.get(_)||null,u,d,g,S,x)),!0}return!1}function qc(u){var d=Mu(u.target);if(d!==null){var g=tt(d);if(g!==null){if(d=g.tag,d===13){if(d=en(g),d!==null){u.blockedOn=d,Zt(u.priority,function(){Rp(g)});return}}else if(d===3&&g.stateNode.current.memoizedState.isDehydrated){u.blockedOn=g.tag===3?g.stateNode.containerInfo:null;return}}}u.blockedOn=null}function wu(u){if(u.blockedOn!==null)return!1;for(var d=u.targetContainers;0<d.length;){var g=Kc(u.domEventName,u.eventSystemFlags,d[0],u.nativeEvent);if(g===null){g=u.nativeEvent;var S=new g.constructor(g.type,g);Wn=S,g.target.dispatchEvent(S),Wn=null}else return d=Uf(g),d!==null&&An(d),u.blockedOn=g,!1;d.shift()}return!0}function Wc(u,d,g){wu(u)&&g.delete(d)}function Gc(){xu=!1,Ta!==null&&wu(Ta)&&(Ta=null),na!==null&&wu(na)&&(na=null),as!==null&&wu(as)&&(as=null),Ur.forEach(Wc),sr.forEach(Wc)}function _u(u,d){u.blockedOn===d&&(u.blockedOn=null,xu||(xu=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Gc)))}function po(u){function d(x){return _u(x,u)}if(0<vi.length){_u(vi[0],u);for(var g=1;g<vi.length;g++){var S=vi[g];S.blockedOn===u&&(S.blockedOn=null)}}for(Ta!==null&&_u(Ta,u),na!==null&&_u(na,u),as!==null&&_u(as,u),Ur.forEach(d),sr.forEach(d),g=0;g<No.length;g++)S=No[g],S.blockedOn===u&&(S.blockedOn=null);for(;0<No.length&&(g=No[0],g.blockedOn===null);)qc(g),g.blockedOn===null&&No.shift()}var mo=j.ReactCurrentBatchConfig,El=!0;function Vs(u,d,g,S){var x=Dn,_=mo.transition;mo.transition=null;try{Dn=1,Rl(u,d,g,S)}finally{Dn=x,mo.transition=_}}function Yc(u,d,g,S){var x=Dn,_=mo.transition;mo.transition=null;try{Dn=4,Rl(u,d,g,S)}finally{Dn=x,mo.transition=_}}function Rl(u,d,g,S){if(El){var x=Kc(u,d,g,S);if(x===null)qv(u,d,S,zs,g),qi(u,S);else if(Ov(x,u,d,g,S))S.stopPropagation();else if(qi(u,S),d&4&&-1<ho.indexOf(u)){for(;x!==null;){var _=Uf(x);if(_!==null&&$c(_),_=Kc(u,d,g,S),_===null&&qv(u,d,S,zs,g),_===x)break;x=_}x!==null&&S.stopPropagation()}else qv(u,d,S,null,g)}}var zs=null;function Kc(u,d,g,S){if(zs=null,u=Jn(S),u=Mu(u),u!==null)if(d=tt(u),d===null)u=null;else if(g=d.tag,g===13){if(u=en(d),u!==null)return u;u=null}else if(g===3){if(d.stateNode.current.memoizedState.isDehydrated)return d.tag===3?d.stateNode.containerInfo:null;u=null}else d!==u&&(u=null);return zs=u,null}function Cf(u){switch(u){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(Er()){case an:return 1;case ns:return 4;case Is:case wp:return 16;case Us:return 536870912;default:return 16}default:return 16}}var go=null,Zc=null,O=null;function K(){if(O)return O;var u,d=Zc,g=d.length,S,x="value"in go?go.value:go.textContent,_=x.length;for(u=0;u<g&&d[u]===x[u];u++);var L=g-u;for(S=1;S<=L&&d[g-S]===x[_-S];S++);return O=x.slice(u,1<S?1-S:void 0)}function pe(u){var d=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&d===13&&(u=13)):u=d,u===10&&(u=13),32<=u||u===13?u:0}function Te(){return!0}function Ze(){return!1}function Tt(u){function d(g,S,x,_,L){this._reactName=g,this._targetInst=x,this.type=S,this.nativeEvent=_,this.target=L,this.currentTarget=null;for(var q in u)u.hasOwnProperty(q)&&(g=u[q],this[q]=g?g(_):_[q]);return this.isDefaultPrevented=(_.defaultPrevented!=null?_.defaultPrevented:_.returnValue===!1)?Te:Ze,this.isPropagationStopped=Ze,this}return z(d.prototype,{preventDefault:function(){this.defaultPrevented=!0;var g=this.nativeEvent;g&&(g.preventDefault?g.preventDefault():typeof g.returnValue!="unknown"&&(g.returnValue=!1),this.isDefaultPrevented=Te)},stopPropagation:function(){var g=this.nativeEvent;g&&(g.stopPropagation?g.stopPropagation():typeof g.cancelBubble!="unknown"&&(g.cancelBubble=!0),this.isPropagationStopped=Te)},persist:function(){},isPersistent:Te}),d}var pt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$t=Tt(pt),hn=z({},pt,{view:0,detail:0}),Kn=Tt(hn),lr,ur,sn,hr=z({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Io,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==sn&&(sn&&u.type==="mousemove"?(lr=u.screenX-sn.screenX,ur=u.screenY-sn.screenY):ur=lr=0,sn=u),lr)},movementY:function(u){return"movementY"in u?u.movementY:ur}}),qr=Tt(hr),Eu=z({},hr,{dataTransfer:0}),kf=Tt(Eu),Bs=z({},hn,{relatedTarget:0}),Ru=Tt(Bs),Tf=z({},pt,{animationName:0,elapsedTime:0,pseudoElement:0}),Mv=Tt(Tf),Pp=z({},pt,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),Lv=Tt(Pp),PS=z({},pt,{data:0}),Dp=Tt(PS),DS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},AS={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"},OS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function R_(u){var d=this.nativeEvent;return d.getModifierState?d.getModifierState(u):(u=OS[u])?!!d[u]:!1}function Io(){return R_}var P_=z({},hn,{key:function(u){if(u.key){var d=DS[u.key]||u.key;if(d!=="Unidentified")return d}return u.type==="keypress"?(u=pe(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?AS[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Io,charCode:function(u){return u.type==="keypress"?pe(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?pe(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),Nv=Tt(P_),Iv=z({},hr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ap=Tt(Iv),D_=z({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Io}),Op=Tt(D_),MS=z({},pt,{propertyName:0,elapsedTime:0,pseudoElement:0}),xa=Tt(MS),Hs=z({},hr,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),ei=Tt(Hs),$s=[9,13,27,32],xf=c&&"CompositionEvent"in window,Pl=null;c&&"documentMode"in document&&(Pl=document.documentMode);var A_=c&&"TextEvent"in window&&!Pl,Qc=c&&(!xf||Pl&&8<Pl&&11>=Pl),LS=" ",NS=!1;function Mp(u,d){switch(u){case"keyup":return $s.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function IS(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Xc=!1;function O_(u,d){switch(u){case"compositionend":return IS(d);case"keypress":return d.which!==32?null:(NS=!0,LS);case"textInput":return u=d.data,u===LS&&NS?null:u;default:return null}}function US(u,d){if(Xc)return u==="compositionend"||!xf&&Mp(u,d)?(u=K(),O=Zc=go=null,Xc=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1<d.char.length)return d.char;if(d.which)return String.fromCharCode(d.which)}return null;case"compositionend":return Qc&&d.locale!=="ko"?null:d.data;default:return null}}var M_={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 FS(u){var d=u&&u.nodeName&&u.nodeName.toLowerCase();return d==="input"?!!M_[u.type]:d==="textarea"}function jS(u,d,g,S){ea(S),d=Lf(d,"onChange"),0<d.length&&(g=new $t("onChange","change",null,g,S),u.push({event:g,listeners:d}))}var Jc=null,os=null;function Uv(u){Up(u,0)}function wf(u){var d=Ot(u);if(_r(d))return u}function VS(u,d){if(u==="change")return d}var zS=!1;if(c){var Fv;if(c){var jv="oninput"in document;if(!jv){var BS=document.createElement("div");BS.setAttribute("oninput","return;"),jv=typeof BS.oninput=="function"}Fv=jv}else Fv=!1;zS=Fv&&(!document.documentMode||9<document.documentMode)}function HS(){Jc&&(Jc.detachEvent("onpropertychange",$S),os=Jc=null)}function $S(u){if(u.propertyName==="value"&&wf(os)){var d=[];jS(d,os,u,Jn(u)),ot(Uv,d)}}function L_(u,d,g){u==="focusin"?(HS(),Jc=d,os=g,Jc.attachEvent("onpropertychange",$S)):u==="focusout"&&HS()}function N_(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return wf(os)}function qS(u,d){if(u==="click")return wf(d)}function I_(u,d){if(u==="input"||u==="change")return wf(d)}function WS(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var Uo=typeof Object.is=="function"?Object.is:WS;function _f(u,d){if(Uo(u,d))return!0;if(typeof u!="object"||u===null||typeof d!="object"||d===null)return!1;var g=Object.keys(u),S=Object.keys(d);if(g.length!==S.length)return!1;for(S=0;S<g.length;S++){var x=g[S];if(!h.call(d,x)||!Uo(u[x],d[x]))return!1}return!0}function GS(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function YS(u,d){var g=GS(u);u=0;for(var S;g;){if(g.nodeType===3){if(S=u+g.textContent.length,u<=d&&S>=d)return{node:g,offset:d-u};u=S}e:{for(;g;){if(g.nextSibling){g=g.nextSibling;break e}g=g.parentNode}g=void 0}g=GS(g)}}function Lp(u,d){return u&&d?u===d?!0:u&&u.nodeType===3?!1:d&&d.nodeType===3?Lp(u,d.parentNode):"contains"in u?u.contains(d):u.compareDocumentPosition?!!(u.compareDocumentPosition(d)&16):!1:!1}function Dl(){for(var u=window,d=vr();d instanceof u.HTMLIFrameElement;){try{var g=typeof d.contentWindow.location.href=="string"}catch{g=!1}if(g)u=d.contentWindow;else break;d=vr(u.document)}return d}function ed(u){var d=u&&u.nodeName&&u.nodeName.toLowerCase();return d&&(d==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||d==="textarea"||u.contentEditable==="true")}function KS(u){var d=Dl(),g=u.focusedElem,S=u.selectionRange;if(d!==g&&g&&g.ownerDocument&&Lp(g.ownerDocument.documentElement,g)){if(S!==null&&ed(g)){if(d=S.start,u=S.end,u===void 0&&(u=d),"selectionStart"in g)g.selectionStart=d,g.selectionEnd=Math.min(u,g.value.length);else if(u=(d=g.ownerDocument||document)&&d.defaultView||window,u.getSelection){u=u.getSelection();var x=g.textContent.length,_=Math.min(S.start,x);S=S.end===void 0?_:Math.min(S.end,x),!u.extend&&_>S&&(x=S,S=_,_=x),x=YS(g,_);var L=YS(g,S);x&&L&&(u.rangeCount!==1||u.anchorNode!==x.node||u.anchorOffset!==x.offset||u.focusNode!==L.node||u.focusOffset!==L.offset)&&(d=d.createRange(),d.setStart(x.node,x.offset),u.removeAllRanges(),_>S?(u.addRange(d),u.extend(L.node,L.offset)):(d.setEnd(L.node,L.offset),u.addRange(d)))}}for(d=[],u=g;u=u.parentNode;)u.nodeType===1&&d.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<d.length;g++)u=d[g],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}}var td=c&&"documentMode"in document&&11>=document.documentMode,nd=null,Vv=null,Ef=null,zv=!1;function ZS(u,d,g){var S=g.window===g?g.document:g.nodeType===9?g:g.ownerDocument;zv||nd==null||nd!==vr(S)||(S=nd,"selectionStart"in S&&ed(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),Ef&&_f(Ef,S)||(Ef=S,S=Lf(Vv,"onSelect"),0<S.length&&(d=new $t("onSelect","select",null,d,g),u.push({event:d,listeners:S}),d.target=nd)))}function Rf(u,d){var g={};return g[u.toLowerCase()]=d.toLowerCase(),g["Webkit"+u]="webkit"+d,g["Moz"+u]="moz"+d,g}var rd={animationend:Rf("Animation","AnimationEnd"),animationiteration:Rf("Animation","AnimationIteration"),animationstart:Rf("Animation","AnimationStart"),transitionend:Rf("Transition","TransitionEnd")},Np={},Wi={};c&&(Wi=document.createElement("div").style,"AnimationEvent"in window||(delete rd.animationend.animation,delete rd.animationiteration.animation,delete rd.animationstart.animation),"TransitionEvent"in window||delete rd.transitionend.transition);function Pf(u){if(Np[u])return Np[u];if(!rd[u])return u;var d=rd[u],g;for(g in d)if(d.hasOwnProperty(g)&&g in Wi)return Np[u]=d[g];return u}var QS=Pf("animationend"),XS=Pf("animationiteration"),JS=Pf("animationstart"),eC=Pf("transitionend"),tC=new Map,Bv="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 ss(u,d){tC.set(u,d),s(d,[u])}for(var Pu=0;Pu<Bv.length;Pu++){var Hv=Bv[Pu],Df=Hv.toLowerCase(),U_=Hv[0].toUpperCase()+Hv.slice(1);ss(Df,"on"+U_)}ss(QS,"onAnimationEnd"),ss(XS,"onAnimationIteration"),ss(JS,"onAnimationStart"),ss("dblclick","onDoubleClick"),ss("focusin","onFocus"),ss("focusout","onBlur"),ss(eC,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Af="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(" "),F_=new Set("cancel close invalid load scroll toggle".split(" ").concat(Af));function Ip(u,d,g){var S=u.type||"unknown-event";u.currentTarget=g,Xe(S,d,void 0,u),u.currentTarget=null}function Up(u,d){d=(d&4)!==0;for(var g=0;g<u.length;g++){var S=u[g],x=S.event;S=S.listeners;e:{var _=void 0;if(d)for(var L=S.length-1;0<=L;L--){var q=S[L],ee=q.instance,ye=q.currentTarget;if(q=q.listener,ee!==_&&x.isPropagationStopped())break e;Ip(x,q,ye),_=ee}else for(L=0;L<S.length;L++){if(q=S[L],ee=q.instance,ye=q.currentTarget,q=q.listener,ee!==_&&x.isPropagationStopped())break e;Ip(x,q,ye),_=ee}}}if(er)throw u=Ei,er=!1,Ei=null,u}function Zn(u,d){var g=d[Wv];g===void 0&&(g=d[Wv]=new Set);var S=u+"__bubble";g.has(S)||($v(d,u,2,!1),g.add(S))}function Al(u,d,g){var S=0;d&&(S|=4),$v(g,u,S,d)}var Of="_reactListening"+Math.random().toString(36).slice(2);function Mf(u){if(!u[Of]){u[Of]=!0,r.forEach(function(g){g!=="selectionchange"&&(F_.has(g)||Al(g,!1,u),Al(g,!0,u))});var d=u.nodeType===9?u:u.ownerDocument;d===null||d[Of]||(d[Of]=!0,Al("selectionchange",!1,d))}}function $v(u,d,g,S){switch(Cf(d)){case 1:var x=Vs;break;case 4:x=Yc;break;default:x=Rl}g=x.bind(null,d,g,u),x=void 0,!It||d!=="touchstart"&&d!=="touchmove"&&d!=="wheel"||(x=!0),S?x!==void 0?u.addEventListener(d,g,{capture:!0,passive:x}):u.addEventListener(d,g,!0):x!==void 0?u.addEventListener(d,g,{passive:x}):u.addEventListener(d,g,!1)}function qv(u,d,g,S,x){var _=S;if(!(d&1)&&!(d&2)&&S!==null)e:for(;;){if(S===null)return;var L=S.tag;if(L===3||L===4){var q=S.stateNode.containerInfo;if(q===x||q.nodeType===8&&q.parentNode===x)break;if(L===4)for(L=S.return;L!==null;){var ee=L.tag;if((ee===3||ee===4)&&(ee=L.stateNode.containerInfo,ee===x||ee.nodeType===8&&ee.parentNode===x))return;L=L.return}for(;q!==null;){if(L=Mu(q),L===null)return;if(ee=L.tag,ee===5||ee===6){S=_=L;continue e}q=q.parentNode}}S=S.return}ot(function(){var ye=_,Ue=Jn(g),He=[];e:{var Ie=tC.get(u);if(Ie!==void 0){var mt=$t,wt=u;switch(u){case"keypress":if(pe(g)===0)break e;case"keydown":case"keyup":mt=Nv;break;case"focusin":wt="focus",mt=Ru;break;case"focusout":wt="blur",mt=Ru;break;case"beforeblur":case"afterblur":mt=Ru;break;case"click":if(g.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":mt=qr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":mt=kf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":mt=Op;break;case QS:case XS:case JS:mt=Mv;break;case eC:mt=xa;break;case"scroll":mt=Kn;break;case"wheel":mt=ei;break;case"copy":case"cut":case"paste":mt=Lv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":mt=Ap}var Et=(d&4)!==0,Kr=!Et&&u==="scroll",ue=Et?Ie!==null?Ie+"Capture":null:Ie;Et=[];for(var ie=ye,he;ie!==null;){he=ie;var Ke=he.stateNode;if(he.tag===5&&Ke!==null&&(he=Ke,ue!==null&&(Ke=qe(ie,ue),Ke!=null&&Et.push(id(ie,Ke,he)))),Kr)break;ie=ie.return}0<Et.length&&(Ie=new mt(Ie,wt,null,g,Ue),He.push({event:Ie,listeners:Et}))}}if(!(d&7)){e:{if(Ie=u==="mouseover"||u==="pointerover",mt=u==="mouseout"||u==="pointerout",Ie&&g!==Wn&&(wt=g.relatedTarget||g.fromElement)&&(Mu(wt)||wt[qs]))break e;if((mt||Ie)&&(Ie=Ue.window===Ue?Ue:(Ie=Ue.ownerDocument)?Ie.defaultView||Ie.parentWindow:window,mt?(wt=g.relatedTarget||g.toElement,mt=ye,wt=wt?Mu(wt):null,wt!==null&&(Kr=tt(wt),wt!==Kr||wt.tag!==5&&wt.tag!==6)&&(wt=null)):(mt=null,wt=ye),mt!==wt)){if(Et=qr,Ke="onMouseLeave",ue="onMouseEnter",ie="mouse",(u==="pointerout"||u==="pointerover")&&(Et=Ap,Ke="onPointerLeave",ue="onPointerEnter",ie="pointer"),Kr=mt==null?Ie:Ot(mt),he=wt==null?Ie:Ot(wt),Ie=new Et(Ke,ie+"leave",mt,g,Ue),Ie.target=Kr,Ie.relatedTarget=he,Ke=null,Mu(Ue)===ye&&(Et=new Et(ue,ie+"enter",wt,g,Ue),Et.target=he,Et.relatedTarget=Kr,Ke=Et),Kr=Ke,mt&&wt)t:{for(Et=mt,ue=wt,ie=0,he=Et;he;he=Du(he))ie++;for(he=0,Ke=ue;Ke;Ke=Du(Ke))he++;for(;0<ie-he;)Et=Du(Et),ie--;for(;0<he-ie;)ue=Du(ue),he--;for(;ie--;){if(Et===ue||ue!==null&&Et===ue.alternate)break t;Et=Du(Et),ue=Du(ue)}Et=null}else Et=null;mt!==null&&Fp(He,Ie,mt,Et,!1),wt!==null&&Kr!==null&&Fp(He,Kr,wt,Et,!0)}}e:{if(Ie=ye?Ot(ye):window,mt=Ie.nodeName&&Ie.nodeName.toLowerCase(),mt==="select"||mt==="input"&&Ie.type==="file")var dt=VS;else if(FS(Ie))if(zS)dt=I_;else{dt=N_;var Ut=L_}else(mt=Ie.nodeName)&&mt.toLowerCase()==="input"&&(Ie.type==="checkbox"||Ie.type==="radio")&&(dt=qS);if(dt&&(dt=dt(u,ye))){jS(He,dt,g,Ue);break e}Ut&&Ut(u,Ie,ye),u==="focusout"&&(Ut=Ie._wrapperState)&&Ut.controlled&&Ie.type==="number"&&le(Ie,"number",Ie.value)}switch(Ut=ye?Ot(ye):window,u){case"focusin":(FS(Ut)||Ut.contentEditable==="true")&&(nd=Ut,Vv=ye,Ef=null);break;case"focusout":Ef=Vv=nd=null;break;case"mousedown":zv=!0;break;case"contextmenu":case"mouseup":case"dragend":zv=!1,ZS(He,g,Ue);break;case"selectionchange":if(td)break;case"keydown":case"keyup":ZS(He,g,Ue)}var zt;if(xf)e:{switch(u){case"compositionstart":var Qt="onCompositionStart";break e;case"compositionend":Qt="onCompositionEnd";break e;case"compositionupdate":Qt="onCompositionUpdate";break e}Qt=void 0}else Xc?Mp(u,g)&&(Qt="onCompositionEnd"):u==="keydown"&&g.keyCode===229&&(Qt="onCompositionStart");Qt&&(Qc&&g.locale!=="ko"&&(Xc||Qt!=="onCompositionStart"?Qt==="onCompositionEnd"&&Xc&&(zt=K()):(go=Ue,Zc="value"in go?go.value:go.textContent,Xc=!0)),Ut=Lf(ye,Qt),0<Ut.length&&(Qt=new Dp(Qt,u,null,g,Ue),He.push({event:Qt,listeners:Ut}),zt?Qt.data=zt:(zt=IS(g),zt!==null&&(Qt.data=zt)))),(zt=A_?O_(u,g):US(u,g))&&(ye=Lf(ye,"onBeforeInput"),0<ye.length&&(Ue=new Dp("onBeforeInput","beforeinput",null,g,Ue),He.push({event:Ue,listeners:ye}),Ue.data=zt))}Up(He,d)})}function id(u,d,g){return{instance:u,listener:d,currentTarget:g}}function Lf(u,d){for(var g=d+"Capture",S=[];u!==null;){var x=u,_=x.stateNode;x.tag===5&&_!==null&&(x=_,_=qe(u,g),_!=null&&S.unshift(id(u,_,x)),_=qe(u,d),_!=null&&S.push(id(u,_,x))),u=u.return}return S}function Du(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5);return u||null}function Fp(u,d,g,S,x){for(var _=d._reactName,L=[];g!==null&&g!==S;){var q=g,ee=q.alternate,ye=q.stateNode;if(ee!==null&&ee===S)break;q.tag===5&&ye!==null&&(q=ye,x?(ee=qe(g,_),ee!=null&&L.unshift(id(g,ee,q))):x||(ee=qe(g,_),ee!=null&&L.push(id(g,ee,q)))),g=g.return}L.length!==0&&u.push({event:d,listeners:L})}var j_=/\r\n?/g,nC=/\u0000|\uFFFD/g;function rC(u){return(typeof u=="string"?u:""+u).replace(j_,`
|
|
97
|
-
`).replace(nC,"")}function jp(u,d,g){if(d=rC(d),rC(u)!==d&&g)throw Error(n(425))}function Vp(){}var Au=null,Nf=null;function Ou(u,d){return u==="textarea"||u==="noscript"||typeof d.children=="string"||typeof d.children=="number"||typeof d.dangerouslySetInnerHTML=="object"&&d.dangerouslySetInnerHTML!==null&&d.dangerouslySetInnerHTML.__html!=null}var zp=typeof setTimeout=="function"?setTimeout:void 0,iC=typeof clearTimeout=="function"?clearTimeout:void 0,Bp=typeof Promise=="function"?Promise:void 0,V_=typeof queueMicrotask=="function"?queueMicrotask:typeof Bp<"u"?function(u){return Bp.resolve(null).then(u).catch(ad)}:zp;function ad(u){setTimeout(function(){throw u})}function od(u,d){var g=d,S=0;do{var x=g.nextSibling;if(u.removeChild(g),x&&x.nodeType===8)if(g=x.data,g==="/$"){if(S===0){u.removeChild(x),po(d);return}S--}else g!=="$"&&g!=="$?"&&g!=="$!"||S++;g=x}while(g);po(d)}function Fo(u){for(;u!=null;u=u.nextSibling){var d=u.nodeType;if(d===1||d===3)break;if(d===8){if(d=u.data,d==="$"||d==="$!"||d==="$?")break;if(d==="/$")return null}}return u}function Hp(u){u=u.previousSibling;for(var d=0;u;){if(u.nodeType===8){var g=u.data;if(g==="$"||g==="$!"||g==="$?"){if(d===0)return u;d--}else g==="/$"&&d++}u=u.previousSibling}return null}var sd=Math.random().toString(36).slice(2),vo="__reactFiber$"+sd,If="__reactProps$"+sd,qs="__reactContainer$"+sd,Wv="__reactEvents$"+sd,Gv="__reactListeners$"+sd,ld="__reactHandles$"+sd;function Mu(u){var d=u[vo];if(d)return d;for(var g=u.parentNode;g;){if(d=g[qs]||g[vo]){if(g=d.alternate,d.child!==null||g!==null&&g.child!==null)for(u=Hp(u);u!==null;){if(g=u[vo])return g;u=Hp(u)}return d}u=g,g=u.parentNode}return null}function Uf(u){return u=u[vo]||u[qs],!u||u.tag!==5&&u.tag!==6&&u.tag!==13&&u.tag!==3?null:u}function Ot(u){if(u.tag===5||u.tag===6)return u.stateNode;throw Error(n(33))}function Ws(u){return u[If]||null}var Fr=[],kn=-1;function wa(u){return{current:u}}function tr(u){0>kn||(u.current=Fr[kn],Fr[kn]=null,kn--)}function pr(u,d){kn++,Fr[kn]=u.current,u.current=d}var gn={},Rr=wa(gn),ti=wa(!1),yo=gn;function Ba(u,d){var g=u.type.contextTypes;if(!g)return gn;var S=u.stateNode;if(S&&S.__reactInternalMemoizedUnmaskedChildContext===d)return S.__reactInternalMemoizedMaskedChildContext;var x={},_;for(_ in g)x[_]=d[_];return S&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=d,u.__reactInternalMemoizedMaskedChildContext=x),x}function jr(u){return u=u.childContextTypes,u!=null}function ls(){tr(ti),tr(Rr)}function $p(u,d,g){if(Rr.current!==gn)throw Error(n(168));pr(Rr,d),pr(ti,g)}function aC(u,d,g){var S=u.stateNode;if(d=d.childContextTypes,typeof S.getChildContext!="function")return g;S=S.getChildContext();for(var x in S)if(!(x in d))throw Error(n(108,bt(u)||"Unknown",x));return z({},g,S)}function Lu(u){return u=(u=u.stateNode)&&u.__reactInternalMemoizedMergedChildContext||gn,yo=Rr.current,pr(Rr,u),pr(ti,ti.current),!0}function Gi(u,d,g){var S=u.stateNode;if(!S)throw Error(n(169));g?(u=aC(u,d,yo),S.__reactInternalMemoizedMergedChildContext=u,tr(ti),tr(Rr),pr(Rr,u)):tr(ti),pr(ti,g)}var jo=null,Ff=!1,jf=!1;function Ol(u){jo===null?jo=[u]:jo.push(u)}function Yv(u){Ff=!0,Ol(u)}function ia(){if(!jf&&jo!==null){jf=!0;var u=0,d=Dn;try{var g=jo;for(Dn=1;u<g.length;u++){var S=g[u];do S=S(!0);while(S!==null)}jo=null,Ff=!1}catch(x){throw jo!==null&&(jo=jo.slice(u+1)),yr(an,ia),x}finally{Dn=d,jf=!1}}return null}var Ml=[],Ll=0,ud=null,Nl=0,Ri=[],ni=0,Nu=null,aa=1,us="";function Il(u,d){Ml[Ll++]=Nl,Ml[Ll++]=ud,ud=u,Nl=d}function oC(u,d,g){Ri[ni++]=aa,Ri[ni++]=us,Ri[ni++]=Nu,Nu=u;var S=aa;u=us;var x=32-ta(S)-1;S&=~(1<<x),g+=1;var _=32-ta(d)+x;if(30<_){var L=x-x%5;_=(S&(1<<L)-1).toString(32),S>>=L,x-=L,aa=1<<32-ta(d)+x|g<<x|S,us=_+u}else aa=1<<_|g<<x|S,us=u}function Kv(u){u.return!==null&&(Il(u,1),oC(u,1,0))}function qp(u){for(;u===ud;)ud=Ml[--Ll],Ml[Ll]=null,Nl=Ml[--Ll],Ml[Ll]=null;for(;u===Nu;)Nu=Ri[--ni],Ri[ni]=null,us=Ri[--ni],Ri[ni]=null,aa=Ri[--ni],Ri[ni]=null}var _a=null,Ea=null,kr=!1,Vo=null;function Zv(u,d){var g=To(5,null,null,0);g.elementType="DELETED",g.stateNode=d,g.return=u,d=u.deletions,d===null?(u.deletions=[g],u.flags|=16):d.push(g)}function Qv(u,d){switch(u.tag){case 5:var g=u.type;return d=d.nodeType!==1||g.toLowerCase()!==d.nodeName.toLowerCase()?null:d,d!==null?(u.stateNode=d,_a=u,Ea=Fo(d.firstChild),!0):!1;case 6:return d=u.pendingProps===""||d.nodeType!==3?null:d,d!==null?(u.stateNode=d,_a=u,Ea=null,!0):!1;case 13:return d=d.nodeType!==8?null:d,d!==null?(g=Nu!==null?{id:aa,overflow:us}:null,u.memoizedState={dehydrated:d,treeContext:g,retryLane:1073741824},g=To(18,null,null,0),g.stateNode=d,g.return=u,u.child=g,_a=u,Ea=null,!0):!1;default:return!1}}function Xv(u){return(u.mode&1)!==0&&(u.flags&128)===0}function Jv(u){if(kr){var d=Ea;if(d){var g=d;if(!Qv(u,d)){if(Xv(u))throw Error(n(418));d=Fo(g.nextSibling);var S=_a;d&&Qv(u,d)?Zv(S,g):(u.flags=u.flags&-4097|2,kr=!1,_a=u)}}else{if(Xv(u))throw Error(n(418));u.flags=u.flags&-4097|2,kr=!1,_a=u}}}function sC(u){for(u=u.return;u!==null&&u.tag!==5&&u.tag!==3&&u.tag!==13;)u=u.return;_a=u}function Wr(u){if(u!==_a)return!1;if(!kr)return sC(u),kr=!0,!1;var d;if((d=u.tag!==3)&&!(d=u.tag!==5)&&(d=u.type,d=d!=="head"&&d!=="body"&&!Ou(u.type,u.memoizedProps)),d&&(d=Ea)){if(Xv(u))throw lC(),Error(n(418));for(;d;)Zv(u,d),d=Fo(d.nextSibling)}if(sC(u),u.tag===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(n(317));e:{for(u=u.nextSibling,d=0;u;){if(u.nodeType===8){var g=u.data;if(g==="/$"){if(d===0){Ea=Fo(u.nextSibling);break e}d--}else g!=="$"&&g!=="$!"&&g!=="$?"||d++}u=u.nextSibling}Ea=null}}else Ea=_a?Fo(u.stateNode.nextSibling):null;return!0}function lC(){for(var u=Ea;u;)u=Fo(u.nextSibling)}function Gs(){Ea=_a=null,kr=!1}function Vf(u){Vo===null?Vo=[u]:Vo.push(u)}var Iu=j.ReactCurrentBatchConfig;function zf(u,d,g){if(u=g.ref,u!==null&&typeof u!="function"&&typeof u!="object"){if(g._owner){if(g=g._owner,g){if(g.tag!==1)throw Error(n(309));var S=g.stateNode}if(!S)throw Error(n(147,u));var x=S,_=""+u;return d!==null&&d.ref!==null&&typeof d.ref=="function"&&d.ref._stringRef===_?d.ref:(d=function(L){var q=x.refs;L===null?delete q[_]:q[_]=L},d._stringRef=_,d)}if(typeof u!="string")throw Error(n(284));if(!g._owner)throw Error(n(290,u))}return u}function cd(u,d){throw u=Object.prototype.toString.call(d),Error(n(31,u==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":u))}function uC(u){var d=u._init;return d(u._payload)}function cC(u){function d(ue,ie){if(u){var he=ue.deletions;he===null?(ue.deletions=[ie],ue.flags|=16):he.push(ie)}}function g(ue,ie){if(!u)return null;for(;ie!==null;)d(ue,ie),ie=ie.sibling;return null}function S(ue,ie){for(ue=new Map;ie!==null;)ie.key!==null?ue.set(ie.key,ie):ue.set(ie.index,ie),ie=ie.sibling;return ue}function x(ue,ie){return ue=Gl(ue,ie),ue.index=0,ue.sibling=null,ue}function _(ue,ie,he){return ue.index=he,u?(he=ue.alternate,he!==null?(he=he.index,he<ie?(ue.flags|=2,ie):he):(ue.flags|=2,ie)):(ue.flags|=1048576,ie)}function L(ue){return u&&ue.alternate===null&&(ue.flags|=2),ue}function q(ue,ie,he,Ke){return ie===null||ie.tag!==6?(ie=Ju(he,ue.mode,Ke),ie.return=ue,ie):(ie=x(ie,he),ie.return=ue,ie)}function ee(ue,ie,he,Ke){var dt=he.type;return dt===ne?Ue(ue,ie,he.props.children,Ke,he.key):ie!==null&&(ie.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===Je&&uC(dt)===ie.type)?(Ke=x(ie,he.props),Ke.ref=zf(ue,ie,he),Ke.return=ue,Ke):(Ke=Dm(he.type,he.key,he.props,null,ue.mode,Ke),Ke.ref=zf(ue,ie,he),Ke.return=ue,Ke)}function ye(ue,ie,he,Ke){return ie===null||ie.tag!==4||ie.stateNode.containerInfo!==he.containerInfo||ie.stateNode.implementation!==he.implementation?(ie=Dy(he,ue.mode,Ke),ie.return=ue,ie):(ie=x(ie,he.children||[]),ie.return=ue,ie)}function Ue(ue,ie,he,Ke,dt){return ie===null||ie.tag!==7?(ie=Yl(he,ue.mode,Ke,dt),ie.return=ue,ie):(ie=x(ie,he),ie.return=ue,ie)}function He(ue,ie,he){if(typeof ie=="string"&&ie!==""||typeof ie=="number")return ie=Ju(""+ie,ue.mode,he),ie.return=ue,ie;if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case I:return he=Dm(ie.type,ie.key,ie.props,null,ue.mode,he),he.ref=zf(ue,null,ie),he.return=ue,he;case N:return ie=Dy(ie,ue.mode,he),ie.return=ue,ie;case Je:var Ke=ie._init;return He(ue,Ke(ie._payload),he)}if(me(ie)||Be(ie))return ie=Yl(ie,ue.mode,he,null),ie.return=ue,ie;cd(ue,ie)}return null}function Ie(ue,ie,he,Ke){var dt=ie!==null?ie.key:null;if(typeof he=="string"&&he!==""||typeof he=="number")return dt!==null?null:q(ue,ie,""+he,Ke);if(typeof he=="object"&&he!==null){switch(he.$$typeof){case I:return he.key===dt?ee(ue,ie,he,Ke):null;case N:return he.key===dt?ye(ue,ie,he,Ke):null;case Je:return dt=he._init,Ie(ue,ie,dt(he._payload),Ke)}if(me(he)||Be(he))return dt!==null?null:Ue(ue,ie,he,Ke,null);cd(ue,he)}return null}function mt(ue,ie,he,Ke,dt){if(typeof Ke=="string"&&Ke!==""||typeof Ke=="number")return ue=ue.get(he)||null,q(ie,ue,""+Ke,dt);if(typeof Ke=="object"&&Ke!==null){switch(Ke.$$typeof){case I:return ue=ue.get(Ke.key===null?he:Ke.key)||null,ee(ie,ue,Ke,dt);case N:return ue=ue.get(Ke.key===null?he:Ke.key)||null,ye(ie,ue,Ke,dt);case Je:var Ut=Ke._init;return mt(ue,ie,he,Ut(Ke._payload),dt)}if(me(Ke)||Be(Ke))return ue=ue.get(he)||null,Ue(ie,ue,Ke,dt,null);cd(ie,Ke)}return null}function wt(ue,ie,he,Ke){for(var dt=null,Ut=null,zt=ie,Qt=ie=0,hi=null;zt!==null&&Qt<he.length;Qt++){zt.index>Qt?(hi=zt,zt=null):hi=zt.sibling;var zn=Ie(ue,zt,he[Qt],Ke);if(zn===null){zt===null&&(zt=hi);break}u&&zt&&zn.alternate===null&&d(ue,zt),ie=_(zn,ie,Qt),Ut===null?dt=zn:Ut.sibling=zn,Ut=zn,zt=hi}if(Qt===he.length)return g(ue,zt),kr&&Il(ue,Qt),dt;if(zt===null){for(;Qt<he.length;Qt++)zt=He(ue,he[Qt],Ke),zt!==null&&(ie=_(zt,ie,Qt),Ut===null?dt=zt:Ut.sibling=zt,Ut=zt);return kr&&Il(ue,Qt),dt}for(zt=S(ue,zt);Qt<he.length;Qt++)hi=mt(zt,ue,Qt,he[Qt],Ke),hi!==null&&(u&&hi.alternate!==null&&zt.delete(hi.key===null?Qt:hi.key),ie=_(hi,ie,Qt),Ut===null?dt=hi:Ut.sibling=hi,Ut=hi);return u&&zt.forEach(function(Zl){return d(ue,Zl)}),kr&&Il(ue,Qt),dt}function Et(ue,ie,he,Ke){var dt=Be(he);if(typeof dt!="function")throw Error(n(150));if(he=dt.call(he),he==null)throw Error(n(151));for(var Ut=dt=null,zt=ie,Qt=ie=0,hi=null,zn=he.next();zt!==null&&!zn.done;Qt++,zn=he.next()){zt.index>Qt?(hi=zt,zt=null):hi=zt.sibling;var Zl=Ie(ue,zt,zn.value,Ke);if(Zl===null){zt===null&&(zt=hi);break}u&&zt&&Zl.alternate===null&&d(ue,zt),ie=_(Zl,ie,Qt),Ut===null?dt=Zl:Ut.sibling=Zl,Ut=Zl,zt=hi}if(zn.done)return g(ue,zt),kr&&Il(ue,Qt),dt;if(zt===null){for(;!zn.done;Qt++,zn=he.next())zn=He(ue,zn.value,Ke),zn!==null&&(ie=_(zn,ie,Qt),Ut===null?dt=zn:Ut.sibling=zn,Ut=zn);return kr&&Il(ue,Qt),dt}for(zt=S(ue,zt);!zn.done;Qt++,zn=he.next())zn=mt(zt,ue,Qt,zn.value,Ke),zn!==null&&(u&&zn.alternate!==null&&zt.delete(zn.key===null?Qt:zn.key),ie=_(zn,ie,Qt),Ut===null?dt=zn:Ut.sibling=zn,Ut=zn);return u&&zt.forEach(function(eE){return d(ue,eE)}),kr&&Il(ue,Qt),dt}function Kr(ue,ie,he,Ke){if(typeof he=="object"&&he!==null&&he.type===ne&&he.key===null&&(he=he.props.children),typeof he=="object"&&he!==null){switch(he.$$typeof){case I:e:{for(var dt=he.key,Ut=ie;Ut!==null;){if(Ut.key===dt){if(dt=he.type,dt===ne){if(Ut.tag===7){g(ue,Ut.sibling),ie=x(Ut,he.props.children),ie.return=ue,ue=ie;break e}}else if(Ut.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===Je&&uC(dt)===Ut.type){g(ue,Ut.sibling),ie=x(Ut,he.props),ie.ref=zf(ue,Ut,he),ie.return=ue,ue=ie;break e}g(ue,Ut);break}else d(ue,Ut);Ut=Ut.sibling}he.type===ne?(ie=Yl(he.props.children,ue.mode,Ke,he.key),ie.return=ue,ue=ie):(Ke=Dm(he.type,he.key,he.props,null,ue.mode,Ke),Ke.ref=zf(ue,ie,he),Ke.return=ue,ue=Ke)}return L(ue);case N:e:{for(Ut=he.key;ie!==null;){if(ie.key===Ut)if(ie.tag===4&&ie.stateNode.containerInfo===he.containerInfo&&ie.stateNode.implementation===he.implementation){g(ue,ie.sibling),ie=x(ie,he.children||[]),ie.return=ue,ue=ie;break e}else{g(ue,ie);break}else d(ue,ie);ie=ie.sibling}ie=Dy(he,ue.mode,Ke),ie.return=ue,ue=ie}return L(ue);case Je:return Ut=he._init,Kr(ue,ie,Ut(he._payload),Ke)}if(me(he))return wt(ue,ie,he,Ke);if(Be(he))return Et(ue,ie,he,Ke);cd(ue,he)}return typeof he=="string"&&he!==""||typeof he=="number"?(he=""+he,ie!==null&&ie.tag===6?(g(ue,ie.sibling),ie=x(ie,he),ie.return=ue,ue=ie):(g(ue,ie),ie=Ju(he,ue.mode,Ke),ie.return=ue,ue=ie),L(ue)):g(ue,ie)}return Kr}var zo=cC(!0),Pi=cC(!1),at=wa(null),Ha=null,Yi=null,ey=null;function ty(){ey=Yi=Ha=null}function ny(u){var d=at.current;tr(at),u._currentValue=d}function ry(u,d,g){for(;u!==null;){var S=u.alternate;if((u.childLanes&d)!==d?(u.childLanes|=d,S!==null&&(S.childLanes|=d)):S!==null&&(S.childLanes&d)!==d&&(S.childLanes|=d),u===g)break;u=u.return}}function dd(u,d){Ha=u,ey=Yi=null,u=u.dependencies,u!==null&&u.firstContext!==null&&(u.lanes&d&&(Si=!0),u.firstContext=null)}function nr(u){var d=u._currentValue;if(ey!==u)if(u={context:u,memoizedValue:d,next:null},Yi===null){if(Ha===null)throw Error(n(308));Yi=u,Ha.dependencies={lanes:0,firstContext:u}}else Yi=Yi.next=u;return d}var Uu=null;function iy(u){Uu===null?Uu=[u]:Uu.push(u)}function dC(u,d,g,S){var x=d.interleaved;return x===null?(g.next=g,iy(d)):(g.next=x.next,x.next=g),d.interleaved=g,cs(u,S)}function cs(u,d){u.lanes|=d;var g=u.alternate;for(g!==null&&(g.lanes|=d),g=u,u=u.return;u!==null;)u.childLanes|=d,g=u.alternate,g!==null&&(g.childLanes|=d),g=u,u=u.return;return g.tag===3?g.stateNode:null}var bo=!1;function Ul(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fC(u,d){u=u.updateQueue,d.updateQueue===u&&(d.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects})}function Ys(u,d){return{eventTime:u,lane:d,tag:0,payload:null,callback:null,next:null}}function Fl(u,d,g){var S=u.updateQueue;if(S===null)return null;if(S=S.shared,Tn&2){var x=S.pending;return x===null?d.next=d:(d.next=x.next,x.next=d),S.pending=d,cs(u,g)}return x=S.interleaved,x===null?(d.next=d,iy(S)):(d.next=x.next,x.next=d),S.interleaved=d,cs(u,g)}function Wp(u,d,g){if(d=d.updateQueue,d!==null&&(d=d.shared,(g&4194240)!==0)){var S=d.lanes;S&=u.pendingLanes,g|=S,d.lanes=g,bf(u,g)}}function hC(u,d){var g=u.updateQueue,S=u.alternate;if(S!==null&&(S=S.updateQueue,g===S)){var x=null,_=null;if(g=g.firstBaseUpdate,g!==null){do{var L={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};_===null?x=_=L:_=_.next=L,g=g.next}while(g!==null);_===null?x=_=d:_=_.next=d}else x=_=d;g={baseState:S.baseState,firstBaseUpdate:x,lastBaseUpdate:_,shared:S.shared,effects:S.effects},u.updateQueue=g;return}u=g.lastBaseUpdate,u===null?g.firstBaseUpdate=d:u.next=d,g.lastBaseUpdate=d}function Gp(u,d,g,S){var x=u.updateQueue;bo=!1;var _=x.firstBaseUpdate,L=x.lastBaseUpdate,q=x.shared.pending;if(q!==null){x.shared.pending=null;var ee=q,ye=ee.next;ee.next=null,L===null?_=ye:L.next=ye,L=ee;var Ue=u.alternate;Ue!==null&&(Ue=Ue.updateQueue,q=Ue.lastBaseUpdate,q!==L&&(q===null?Ue.firstBaseUpdate=ye:q.next=ye,Ue.lastBaseUpdate=ee))}if(_!==null){var He=x.baseState;L=0,Ue=ye=ee=null,q=_;do{var Ie=q.lane,mt=q.eventTime;if((S&Ie)===Ie){Ue!==null&&(Ue=Ue.next={eventTime:mt,lane:0,tag:q.tag,payload:q.payload,callback:q.callback,next:null});e:{var wt=u,Et=q;switch(Ie=d,mt=g,Et.tag){case 1:if(wt=Et.payload,typeof wt=="function"){He=wt.call(mt,He,Ie);break e}He=wt;break e;case 3:wt.flags=wt.flags&-65537|128;case 0:if(wt=Et.payload,Ie=typeof wt=="function"?wt.call(mt,He,Ie):wt,Ie==null)break e;He=z({},He,Ie);break e;case 2:bo=!0}}q.callback!==null&&q.lane!==0&&(u.flags|=64,Ie=x.effects,Ie===null?x.effects=[q]:Ie.push(q))}else mt={eventTime:mt,lane:Ie,tag:q.tag,payload:q.payload,callback:q.callback,next:null},Ue===null?(ye=Ue=mt,ee=He):Ue=Ue.next=mt,L|=Ie;if(q=q.next,q===null){if(q=x.shared.pending,q===null)break;Ie=q,q=Ie.next,Ie.next=null,x.lastBaseUpdate=Ie,x.shared.pending=null}}while(!0);if(Ue===null&&(ee=He),x.baseState=ee,x.firstBaseUpdate=ye,x.lastBaseUpdate=Ue,d=x.shared.interleaved,d!==null){x=d;do L|=x.lane,x=x.next;while(x!==d)}else _===null&&(x.shared.lanes=0);Gu|=L,u.lanes=L,u.memoizedState=He}}function ay(u,d,g){if(u=d.effects,d.effects=null,u!==null)for(d=0;d<u.length;d++){var S=u[d],x=S.callback;if(x!==null){if(S.callback=null,S=g,typeof x!="function")throw Error(n(191,x));x.call(S)}}}var fd={},ds=wa(fd),Bf=wa(fd),Hf=wa(fd);function Fu(u){if(u===fd)throw Error(n(174));return u}function oy(u,d){switch(pr(Hf,d),pr(Bf,u),pr(ds,fd),u=d.nodeType,u){case 9:case 11:d=(d=d.documentElement)?d.namespaceURI:Re(null,"");break;default:u=u===8?d.parentNode:d,d=u.namespaceURI||null,u=u.tagName,d=Re(d,u)}tr(ds),pr(ds,d)}function hd(){tr(ds),tr(Bf),tr(Hf)}function sy(u){Fu(Hf.current);var d=Fu(ds.current),g=Re(d,u.type);d!==g&&(pr(Bf,u),pr(ds,g))}function ly(u){Bf.current===u&&(tr(ds),tr(Bf))}var Pr=wa(0);function Yp(u){for(var d=u;d!==null;){if(d.tag===13){var g=d.memoizedState;if(g!==null&&(g=g.dehydrated,g===null||g.data==="$?"||g.data==="$!"))return d}else if(d.tag===19&&d.memoizedProps.revealOrder!==void 0){if(d.flags&128)return d}else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===u)break;for(;d.sibling===null;){if(d.return===null||d.return===u)return null;d=d.return}d.sibling.return=d.return,d=d.sibling}return null}var uy=[];function $f(){for(var u=0;u<uy.length;u++)uy[u]._workInProgressVersionPrimary=null;uy.length=0}var Mt=j.ReactCurrentDispatcher,yn=j.ReactCurrentBatchConfig,En=0,on=null,cr=null,ci=null,Kp=!1,qf=!1,Wf=0,cy=0;function Pe(){throw Error(n(321))}function ri(u,d){if(d===null)return!1;for(var g=0;g<d.length&&g<u.length;g++)if(!Uo(u[g],d[g]))return!1;return!0}function Ht(u,d,g,S,x,_){if(En=_,on=d,d.memoizedState=null,d.updateQueue=null,d.lanes=0,Mt.current=u===null||u.memoizedState===null?cm:dm,u=g(S,x),qf){_=0;do{if(qf=!1,Wf=0,25<=_)throw Error(n(301));_+=1,ci=cr=null,d.updateQueue=null,Mt.current=Qf,u=g(S,x)}while(qf)}if(Mt.current=rr,d=cr!==null&&cr.next!==null,En=0,ci=cr=on=null,Kp=!1,d)throw Error(n(300));return u}function jl(){var u=Wf!==0;return Wf=0,u}function yi(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ci===null?on.memoizedState=ci=u:ci=ci.next=u,ci}function bi(){if(cr===null){var u=on.alternate;u=u!==null?u.memoizedState:null}else u=cr.next;var d=ci===null?on.memoizedState:ci.next;if(d!==null)ci=d,cr=u;else{if(u===null)throw Error(n(310));cr=u,u={memoizedState:cr.memoizedState,baseState:cr.baseState,baseQueue:cr.baseQueue,queue:cr.queue,next:null},ci===null?on.memoizedState=ci=u:ci=ci.next=u}return ci}function Ra(u,d){return typeof d=="function"?d(u):d}function ju(u){var d=bi(),g=d.queue;if(g===null)throw Error(n(311));g.lastRenderedReducer=u;var S=cr,x=S.baseQueue,_=g.pending;if(_!==null){if(x!==null){var L=x.next;x.next=_.next,_.next=L}S.baseQueue=x=_,g.pending=null}if(x!==null){_=x.next,S=S.baseState;var q=L=null,ee=null,ye=_;do{var Ue=ye.lane;if((En&Ue)===Ue)ee!==null&&(ee=ee.next={lane:0,action:ye.action,hasEagerState:ye.hasEagerState,eagerState:ye.eagerState,next:null}),S=ye.hasEagerState?ye.eagerState:u(S,ye.action);else{var He={lane:Ue,action:ye.action,hasEagerState:ye.hasEagerState,eagerState:ye.eagerState,next:null};ee===null?(q=ee=He,L=S):ee=ee.next=He,on.lanes|=Ue,Gu|=Ue}ye=ye.next}while(ye!==null&&ye!==_);ee===null?L=S:ee.next=q,Uo(S,d.memoizedState)||(Si=!0),d.memoizedState=S,d.baseState=L,d.baseQueue=ee,g.lastRenderedState=S}if(u=g.interleaved,u!==null){x=u;do _=x.lane,on.lanes|=_,Gu|=_,x=x.next;while(x!==u)}else x===null&&(g.lanes=0);return[d.memoizedState,g.dispatch]}function Vl(u){var d=bi(),g=d.queue;if(g===null)throw Error(n(311));g.lastRenderedReducer=u;var S=g.dispatch,x=g.pending,_=d.memoizedState;if(x!==null){g.pending=null;var L=x=x.next;do _=u(_,L.action),L=L.next;while(L!==x);Uo(_,d.memoizedState)||(Si=!0),d.memoizedState=_,d.baseQueue===null&&(d.baseState=_),g.lastRenderedState=_}return[_,S]}function pd(){}function Zp(u,d){var g=on,S=bi(),x=d(),_=!Uo(S.memoizedState,x);if(_&&(S.memoizedState=x,Si=!0),S=S.queue,Gf(Jp.bind(null,g,S,u),[u]),S.getSnapshot!==d||_||ci!==null&&ci.memoizedState.tag&1){if(g.flags|=2048,Vu(9,Xp.bind(null,g,S,x,d),void 0,null),ii===null)throw Error(n(349));En&30||Qp(g,d,x)}return x}function Qp(u,d,g){u.flags|=16384,u={getSnapshot:d,value:g},d=on.updateQueue,d===null?(d={lastEffect:null,stores:null},on.updateQueue=d,d.stores=[u]):(g=d.stores,g===null?d.stores=[u]:g.push(u))}function Xp(u,d,g,S){d.value=g,d.getSnapshot=S,em(d)&&tm(u)}function Jp(u,d,g){return g(function(){em(d)&&tm(u)})}function em(u){var d=u.getSnapshot;u=u.value;try{var g=d();return!Uo(u,g)}catch{return!0}}function tm(u){var d=cs(u,1);d!==null&&Ga(d,u,1,-1)}function nm(u){var d=yi();return typeof u=="function"&&(u=u()),d.memoizedState=d.baseState=u,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ra,lastRenderedState:u},d.queue=u,u=u.dispatch=Zf.bind(null,on,u),[d.memoizedState,u]}function Vu(u,d,g,S){return u={tag:u,create:d,destroy:g,deps:S,next:null},d=on.updateQueue,d===null?(d={lastEffect:null,stores:null},on.updateQueue=d,d.lastEffect=u.next=u):(g=d.lastEffect,g===null?d.lastEffect=u.next=u:(S=g.next,g.next=u,u.next=S,d.lastEffect=u)),u}function rm(){return bi().memoizedState}function md(u,d,g,S){var x=yi();on.flags|=u,x.memoizedState=Vu(1|d,g,void 0,S===void 0?null:S)}function gd(u,d,g,S){var x=bi();S=S===void 0?null:S;var _=void 0;if(cr!==null){var L=cr.memoizedState;if(_=L.destroy,S!==null&&ri(S,L.deps)){x.memoizedState=Vu(d,g,_,S);return}}on.flags|=u,x.memoizedState=Vu(1|d,g,_,S)}function im(u,d){return md(8390656,8,u,d)}function Gf(u,d){return gd(2048,8,u,d)}function am(u,d){return gd(4,2,u,d)}function om(u,d){return gd(4,4,u,d)}function Yf(u,d){if(typeof d=="function")return u=u(),d(u),function(){d(null)};if(d!=null)return u=u(),d.current=u,function(){d.current=null}}function zu(u,d,g){return g=g!=null?g.concat([u]):null,gd(4,4,Yf.bind(null,d,u),g)}function Kf(){}function sm(u,d){var g=bi();d=d===void 0?null:d;var S=g.memoizedState;return S!==null&&d!==null&&ri(d,S[1])?S[0]:(g.memoizedState=[u,d],u)}function lm(u,d){var g=bi();d=d===void 0?null:d;var S=g.memoizedState;return S!==null&&d!==null&&ri(d,S[1])?S[0]:(u=u(),g.memoizedState=[u,d],u)}function um(u,d,g){return En&21?(Uo(g,d)||(g=ku(),on.lanes|=g,Gu|=g,u.baseState=!0),d):(u.baseState&&(u.baseState=!1,Si=!0),u.memoizedState=g)}function pC(u,d){var g=Dn;Dn=g!==0&&4>g?g:4,u(!0);var S=yn.transition;yn.transition={};try{u(!1),d()}finally{Dn=g,yn.transition=S}}function vd(){return bi().memoizedState}function mC(u,d,g){var S=Wa(u);if(g={lane:S,action:g,hasEagerState:!1,eagerState:null,next:null},zl(u))Pa(d,g);else if(g=dC(u,d,g,S),g!==null){var x=mr();Ga(g,u,S,x),gC(g,d,S)}}function Zf(u,d,g){var S=Wa(u),x={lane:S,action:g,hasEagerState:!1,eagerState:null,next:null};if(zl(u))Pa(d,x);else{var _=u.alternate;if(u.lanes===0&&(_===null||_.lanes===0)&&(_=d.lastRenderedReducer,_!==null))try{var L=d.lastRenderedState,q=_(L,g);if(x.hasEagerState=!0,x.eagerState=q,Uo(q,L)){var ee=d.interleaved;ee===null?(x.next=x,iy(d)):(x.next=ee.next,ee.next=x),d.interleaved=x;return}}catch{}finally{}g=dC(u,d,x,S),g!==null&&(x=mr(),Ga(g,u,S,x),gC(g,d,S))}}function zl(u){var d=u.alternate;return u===on||d!==null&&d===on}function Pa(u,d){qf=Kp=!0;var g=u.pending;g===null?d.next=d:(d.next=g.next,g.next=d),u.pending=d}function gC(u,d,g){if(g&4194240){var S=d.lanes;S&=u.pendingLanes,g|=S,d.lanes=g,bf(u,g)}}var rr={readContext:nr,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},cm={readContext:nr,useCallback:function(u,d){return yi().memoizedState=[u,d===void 0?null:d],u},useContext:nr,useEffect:im,useImperativeHandle:function(u,d,g){return g=g!=null?g.concat([u]):null,md(4194308,4,Yf.bind(null,d,u),g)},useLayoutEffect:function(u,d){return md(4194308,4,u,d)},useInsertionEffect:function(u,d){return md(4,2,u,d)},useMemo:function(u,d){var g=yi();return d=d===void 0?null:d,u=u(),g.memoizedState=[u,d],u},useReducer:function(u,d,g){var S=yi();return d=g!==void 0?g(d):d,S.memoizedState=S.baseState=d,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:d},S.queue=u,u=u.dispatch=mC.bind(null,on,u),[S.memoizedState,u]},useRef:function(u){var d=yi();return u={current:u},d.memoizedState=u},useState:nm,useDebugValue:Kf,useDeferredValue:function(u){return yi().memoizedState=u},useTransition:function(){var u=nm(!1),d=u[0];return u=pC.bind(null,u[1]),yi().memoizedState=u,[d,u]},useMutableSource:function(){},useSyncExternalStore:function(u,d,g){var S=on,x=yi();if(kr){if(g===void 0)throw Error(n(407));g=g()}else{if(g=d(),ii===null)throw Error(n(349));En&30||Qp(S,d,g)}x.memoizedState=g;var _={value:g,getSnapshot:d};return x.queue=_,im(Jp.bind(null,S,_,u),[u]),S.flags|=2048,Vu(9,Xp.bind(null,S,_,g,d),void 0,null),g},useId:function(){var u=yi(),d=ii.identifierPrefix;if(kr){var g=us,S=aa;g=(S&~(1<<32-ta(S)-1)).toString(32)+g,d=":"+d+"R"+g,g=Wf++,0<g&&(d+="H"+g.toString(32)),d+=":"}else g=cy++,d=":"+d+"r"+g.toString(32)+":";return u.memoizedState=d},unstable_isNewReconciler:!1},dm={readContext:nr,useCallback:sm,useContext:nr,useEffect:Gf,useImperativeHandle:zu,useInsertionEffect:am,useLayoutEffect:om,useMemo:lm,useReducer:ju,useRef:rm,useState:function(){return ju(Ra)},useDebugValue:Kf,useDeferredValue:function(u){var d=bi();return um(d,cr.memoizedState,u)},useTransition:function(){var u=ju(Ra)[0],d=bi().memoizedState;return[u,d]},useMutableSource:pd,useSyncExternalStore:Zp,useId:vd,unstable_isNewReconciler:!1},Qf={readContext:nr,useCallback:sm,useContext:nr,useEffect:Gf,useImperativeHandle:zu,useInsertionEffect:am,useLayoutEffect:om,useMemo:lm,useReducer:Vl,useRef:rm,useState:function(){return Vl(Ra)},useDebugValue:Kf,useDeferredValue:function(u){var d=bi();return cr===null?d.memoizedState=u:um(d,cr.memoizedState,u)},useTransition:function(){var u=Vl(Ra)[0],d=bi().memoizedState;return[u,d]},useMutableSource:pd,useSyncExternalStore:Zp,useId:vd,unstable_isNewReconciler:!1};function Da(u,d){if(u&&u.defaultProps){d=z({},d),u=u.defaultProps;for(var g in u)d[g]===void 0&&(d[g]=u[g]);return d}return d}function dy(u,d,g,S){d=u.memoizedState,g=g(S,d),g=g==null?d:z({},d,g),u.memoizedState=g,u.lanes===0&&(u.updateQueue.baseState=g)}var fm={isMounted:function(u){return(u=u._reactInternals)?tt(u)===u:!1},enqueueSetState:function(u,d,g){u=u._reactInternals;var S=mr(),x=Wa(u),_=Ys(S,x);_.payload=d,g!=null&&(_.callback=g),d=Fl(u,_,x),d!==null&&(Ga(d,u,x,S),Wp(d,u,x))},enqueueReplaceState:function(u,d,g){u=u._reactInternals;var S=mr(),x=Wa(u),_=Ys(S,x);_.tag=1,_.payload=d,g!=null&&(_.callback=g),d=Fl(u,_,x),d!==null&&(Ga(d,u,x,S),Wp(d,u,x))},enqueueForceUpdate:function(u,d){u=u._reactInternals;var g=mr(),S=Wa(u),x=Ys(g,S);x.tag=2,d!=null&&(x.callback=d),d=Fl(u,x,S),d!==null&&(Ga(d,u,S,g),Wp(d,u,S))}};function vC(u,d,g,S,x,_,L){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(S,_,L):d.prototype&&d.prototype.isPureReactComponent?!_f(g,S)||!_f(x,_):!0}function yC(u,d,g){var S=!1,x=gn,_=d.contextType;return typeof _=="object"&&_!==null?_=nr(_):(x=jr(d)?yo:Rr.current,S=d.contextTypes,_=(S=S!=null)?Ba(u,x):gn),d=new d(g,_),u.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=fm,u.stateNode=d,d._reactInternals=u,S&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=x,u.__reactInternalMemoizedMaskedChildContext=_),d}function hm(u,d,g,S){u=d.state,typeof d.componentWillReceiveProps=="function"&&d.componentWillReceiveProps(g,S),typeof d.UNSAFE_componentWillReceiveProps=="function"&&d.UNSAFE_componentWillReceiveProps(g,S),d.state!==u&&fm.enqueueReplaceState(d,d.state,null)}function fy(u,d,g,S){var x=u.stateNode;x.props=g,x.state=u.memoizedState,x.refs={},Ul(u);var _=d.contextType;typeof _=="object"&&_!==null?x.context=nr(_):(_=jr(d)?yo:Rr.current,x.context=Ba(u,_)),x.state=u.memoizedState,_=d.getDerivedStateFromProps,typeof _=="function"&&(dy(u,d,_,g),x.state=u.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(d=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),d!==x.state&&fm.enqueueReplaceState(x,x.state,null),Gp(u,g,x,S),x.state=u.memoizedState),typeof x.componentDidMount=="function"&&(u.flags|=4194308)}function Bl(u,d){try{var g="",S=d;do g+=Rt(S),S=S.return;while(S);var x=g}catch(_){x=`
|
|
96
|
+
`+x[L].replace(" at new "," at ");return u.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",u.displayName)),ee}while(1<=L&&0<=q);break}}}finally{H=!1,Error.prepareStackTrace=g}return(u=u?u.displayName||u.name:"")?Ce(u):""}function Rt(u){switch(u.tag){case 5:return Ce(u.type);case 16:return Ce("Lazy");case 13:return Ce("Suspense");case 19:return Ce("SuspenseList");case 0:case 2:case 15:return u=Ct(u.type,!1),u;case 11:return u=Ct(u.type.render,!1),u;case 1:return u=Ct(u.type,!0),u;default:return""}}function ht(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case ne:return"Fragment";case N:return"Portal";case se:return"Profiler";case X:return"StrictMode";case xe:return"Suspense";case ke:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case oe:return(u.displayName||"Context")+".Consumer";case $:return(u._context.displayName||"Context")+".Provider";case te:var d=u.render;return u=u.displayName,u||(u=d.displayName||d.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case Ge:return d=u.displayName||null,d!==null?d:ht(u.type)||"Memo";case Je:d=u._payload,u=u._init;try{return ht(u(d))}catch{}}return null}function bt(u){var d=u.type;switch(u.tag){case 24:return"Cache";case 9:return(d.displayName||"Context")+".Consumer";case 10:return(d._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return u=d.render,u=u.displayName||u.name||"",d.displayName||(u!==""?"ForwardRef("+u+")":"ForwardRef");case 7:return"Fragment";case 5:return d;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ht(d);case 8:return d===X?"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 d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d}return null}function it(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function xt(u){var d=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function nn(u){var d=xt(u)?"checked":"value",g=Object.getOwnPropertyDescriptor(u.constructor.prototype,d),S=""+u[d];if(!u.hasOwnProperty(d)&&typeof g<"u"&&typeof g.get=="function"&&typeof g.set=="function"){var x=g.get,_=g.set;return Object.defineProperty(u,d,{configurable:!0,get:function(){return x.call(this)},set:function(L){S=""+L,_.call(this,L)}}),Object.defineProperty(u,d,{enumerable:g.enumerable}),{getValue:function(){return S},setValue:function(L){S=""+L},stopTracking:function(){u._valueTracker=null,delete u[d]}}}}function qn(u){u._valueTracker||(u._valueTracker=nn(u))}function _r(u){if(!u)return!1;var d=u._valueTracker;if(!d)return!0;var g=d.getValue(),S="";return u&&(S=xt(u)?u.checked?"true":"false":u.value),u=S,u!==g?(d.setValue(u),!0):!1}function vr(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}function Xn(u,d){var g=d.checked;return z({},d,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:g??u._wrapperState.initialChecked})}function Lr(u,d){var g=d.defaultValue==null?"":d.defaultValue,S=d.checked!=null?d.checked:d.defaultChecked;g=it(d.value!=null?d.value:g),u._wrapperState={initialChecked:S,initialValue:g,controlled:d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null}}function un(u,d){d=d.checked,d!=null&&V(u,"checked",d,!1)}function Lt(u,d){un(u,d);var g=it(d.value),S=d.type;if(g!=null)S==="number"?(g===0&&u.value===""||u.value!=g)&&(u.value=""+g):u.value!==""+g&&(u.value=""+g);else if(S==="submit"||S==="reset"){u.removeAttribute("value");return}d.hasOwnProperty("value")?le(u,d.type,g):d.hasOwnProperty("defaultValue")&&le(u,d.type,it(d.defaultValue)),d.checked==null&&d.defaultChecked!=null&&(u.defaultChecked=!!d.defaultChecked)}function Z(u,d,g){if(d.hasOwnProperty("value")||d.hasOwnProperty("defaultValue")){var S=d.type;if(!(S!=="submit"&&S!=="reset"||d.value!==void 0&&d.value!==null))return;d=""+u._wrapperState.initialValue,g||d===u.value||(u.value=d),u.defaultValue=d}g=u.name,g!==""&&(u.name=""),u.defaultChecked=!!u._wrapperState.initialChecked,g!==""&&(u.name=g)}function le(u,d,g){(d!=="number"||vr(u.ownerDocument)!==u)&&(g==null?u.defaultValue=""+u._wrapperState.initialValue:u.defaultValue!==""+g&&(u.defaultValue=""+g))}var me=Array.isArray;function je(u,d,g,S){if(u=u.options,d){d={};for(var x=0;x<g.length;x++)d["$"+g[x]]=!0;for(g=0;g<u.length;g++)x=d.hasOwnProperty("$"+u[g].value),u[g].selected!==x&&(u[g].selected=x),x&&S&&(u[g].defaultSelected=!0)}else{for(g=""+it(g),d=null,x=0;x<u.length;x++){if(u[x].value===g){u[x].selected=!0,S&&(u[x].defaultSelected=!0);return}d!==null||u[x].disabled||(d=u[x])}d!==null&&(d.selected=!0)}}function Ve(u,d){if(d.dangerouslySetInnerHTML!=null)throw Error(n(91));return z({},d,{value:void 0,defaultValue:void 0,children:""+u._wrapperState.initialValue})}function Me(u,d){var g=d.value;if(g==null){if(g=d.children,d=d.defaultValue,g!=null){if(d!=null)throw Error(n(92));if(me(g)){if(1<g.length)throw Error(n(93));g=g[0]}d=g}d==null&&(d=""),g=d}u._wrapperState={initialValue:it(g)}}function ut(u,d){var g=it(d.value),S=it(d.defaultValue);g!=null&&(g=""+g,g!==u.value&&(u.value=g),d.defaultValue==null&&u.defaultValue!==g&&(u.defaultValue=g)),S!=null&&(u.defaultValue=""+S)}function Nt(u){var d=u.textContent;d===u._wrapperState.initialValue&&d!==""&&d!==null&&(u.value=d)}function fe(u){switch(u){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 Re(u,d){return u==null||u==="http://www.w3.org/1999/xhtml"?fe(d):u==="http://www.w3.org/2000/svg"&&d==="foreignObject"?"http://www.w3.org/1999/xhtml":u}var vt,Ft=function(u){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(d,g,S,x){MSApp.execUnsafeLocalFunction(function(){return u(d,g,S,x)})}:u}(function(u,d){if(u.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in u)u.innerHTML=d;else{for(vt=vt||document.createElement("div"),vt.innerHTML="<svg>"+d.valueOf().toString()+"</svg>",d=vt.firstChild;u.firstChild;)u.removeChild(u.firstChild);for(;d.firstChild;)u.appendChild(d.firstChild)}});function Kt(u,d){if(d){var g=u.firstChild;if(g&&g===u.lastChild&&g.nodeType===3){g.nodeValue=d;return}}u.textContent=d}var ze={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},ct=["Webkit","ms","Moz","O"];Object.keys(ze).forEach(function(u){ct.forEach(function(d){d=d+u.charAt(0).toUpperCase()+u.substring(1),ze[d]=ze[u]})});function At(u,d,g){return d==null||typeof d=="boolean"||d===""?"":g||typeof d!="number"||d===0||ze.hasOwnProperty(u)&&ze[u]?(""+d).trim():d+"px"}function cn(u,d){u=u.style;for(var g in d)if(d.hasOwnProperty(g)){var S=g.indexOf("--")===0,x=At(g,d[g],S);g==="float"&&(g="cssFloat"),S?u.setProperty(g,x):u[g]=x}}var _n=z({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 dn(u,d){if(d){if(_n[u]&&(d.children!=null||d.dangerouslySetInnerHTML!=null))throw Error(n(137,u));if(d.dangerouslySetInnerHTML!=null){if(d.children!=null)throw Error(n(60));if(typeof d.dangerouslySetInnerHTML!="object"||!("__html"in d.dangerouslySetInnerHTML))throw Error(n(61))}if(d.style!=null&&typeof d.style!="object")throw Error(n(62))}}function Pn(u,d){if(u.indexOf("-")===-1)return typeof d.is=="string";switch(u){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 Wn=null;function Jn(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var Gn=null,Nn=null,Hi=null;function Ji(u){if(u=Uf(u)){if(typeof Gn!="function")throw Error(n(280));var d=u.stateNode;d&&(d=Ws(d),Gn(u.stateNode,u.type,d))}}function ea(u){Nn?Hi?Hi.push(u):Hi=[u]:Nn=u}function co(){if(Nn){var u=Nn,d=Hi;if(Hi=Nn=null,Ji(u),d)for(u=0;u<d.length;u++)Ji(d[u])}}function es(u,d){return u(d)}function ts(){}var fo=!1;function ot(u,d,g){if(fo)return u(d,g);fo=!0;try{return es(u,d,g)}finally{fo=!1,(Nn!==null||Hi!==null)&&(ts(),co())}}function qe(u,d){var g=u.stateNode;if(g===null)return null;var S=Ws(g);if(S===null)return null;g=S[d];e:switch(d){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(S=!S.disabled)||(u=u.type,S=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!S;break e;default:u=!1}if(u)return null;if(g&&typeof g!="function")throw Error(n(231,d,typeof g));return g}var It=!1;if(c)try{var Jt={};Object.defineProperty(Jt,"passive",{get:function(){It=!0}}),window.addEventListener("test",Jt,Jt),window.removeEventListener("test",Jt,Jt)}catch{It=!1}function jt(u,d,g,S,x,_,L,q,ee){var ye=Array.prototype.slice.call(arguments,3);try{d.apply(g,ye)}catch(Ue){this.onError(Ue)}}var fn=!1,In=null,er=!1,Ei=null,Y={onError:function(u){fn=!0,In=u}};function Oe(u,d,g,S,x,_,L,q,ee){fn=!1,In=null,jt.apply(Y,arguments)}function Xe(u,d,g,S,x,_,L,q,ee){if(Oe.apply(this,arguments),fn){if(fn){var ye=In;fn=!1,In=null}else throw Error(n(198));er||(er=!0,Ei=ye)}}function tt(u){var d=u,g=u;if(u.alternate)for(;d.return;)d=d.return;else{u=d;do d=u,d.flags&4098&&(g=d.return),u=d.return;while(u)}return d.tag===3?g:null}function en(u){if(u.tag===13){var d=u.memoizedState;if(d===null&&(u=u.alternate,u!==null&&(d=u.memoizedState)),d!==null)return d.dehydrated}return null}function Gt(u){if(tt(u)!==u)throw Error(n(188))}function Cn(u){var d=u.alternate;if(!d){if(d=tt(u),d===null)throw Error(n(188));return d!==u?null:u}for(var g=u,S=d;;){var x=g.return;if(x===null)break;var _=x.alternate;if(_===null){if(S=x.return,S!==null){g=S;continue}break}if(x.child===_.child){for(_=x.child;_;){if(_===g)return Gt(x),u;if(_===S)return Gt(x),d;_=_.sibling}throw Error(n(188))}if(g.return!==S.return)g=x,S=_;else{for(var L=!1,q=x.child;q;){if(q===g){L=!0,g=x,S=_;break}if(q===S){L=!0,S=x,g=_;break}q=q.sibling}if(!L){for(q=_.child;q;){if(q===g){L=!0,g=_,S=x;break}if(q===S){L=!0,S=_,g=x;break}q=q.sibling}if(!L)throw Error(n(189))}}if(g.alternate!==S)throw Error(n(190))}if(g.tag!==3)throw Error(n(188));return g.stateNode.current===g?u:d}function hn(u){return u=Cn(u),u!==null?$r(u):null}function $r(u){if(u.tag===5||u.tag===6)return u;for(u=u.child;u!==null;){var d=$r(u);if(d!==null)return d;u=u.sibling}return null}var yr=e.unstable_scheduleCallback,Cr=e.unstable_cancelCallback,$i=e.unstable_shouldYield,Lo=e.unstable_requestPaint,Yn=e.unstable_now,Er=e.unstable_getCurrentPriorityLevel,an=e.unstable_ImmediatePriority,ns=e.unstable_UserBlockingPriority,Is=e.unstable_NormalPriority,wp=e.unstable_LowPriority,Us=e.unstable_IdlePriority,Tl=null,Ca=null;function gf(u){if(Ca&&typeof Ca.onCommitFiberRoot=="function")try{Ca.onCommitFiberRoot(Tl,u,void 0,(u.current.flags&128)===128)}catch{}}var ta=Math.clz32?Math.clz32:Ep,vf=Math.log,_p=Math.LN2;function Ep(u){return u>>>=0,u===0?32:31-(vf(u)/_p|0)|0}var Fs=64,xl=4194304;function ka(u){switch(u&-u){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 u&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return u&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return u}}function rs(u,d){var g=u.pendingLanes;if(g===0)return 0;var S=0,x=u.suspendedLanes,_=u.pingedLanes,L=g&268435455;if(L!==0){var q=L&~x;q!==0?S=ka(q):(_&=L,_!==0&&(S=ka(_)))}else L=g&~x,L!==0?S=ka(L):_!==0&&(S=ka(_));if(S===0)return 0;if(d!==0&&d!==S&&!(d&x)&&(x=S&-S,_=d&-d,x>=_||x===16&&(_&4194240)!==0))return d;if(S&4&&(S|=g&16),d=u.entangledLanes,d!==0)for(u=u.entanglements,d&=S;0<d;)g=31-ta(d),x=1<<g,S|=u[g],d&=~x;return S}function wl(u,d){switch(u){case 1:case 2:case 4:return d+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 d+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 Hc(u,d){for(var g=u.suspendedLanes,S=u.pingedLanes,x=u.expirationTimes,_=u.pendingLanes;0<_;){var L=31-ta(_),q=1<<L,ee=x[L];ee===-1?(!(q&g)||q&S)&&(x[L]=wl(q,d)):ee<=d&&(u.expiredLanes|=q),_&=~q}}function js(u){return u=u.pendingLanes&-1073741825,u!==0?u:u&1073741824?1073741824:0}function ku(){var u=Fs;return Fs<<=1,!(Fs&4194240)&&(Fs=64),u}function Tu(u){for(var d=[],g=0;31>g;g++)d.push(u);return d}function _l(u,d,g){u.pendingLanes|=d,d!==536870912&&(u.suspendedLanes=0,u.pingedLanes=0),u=u.eventTimes,d=31-ta(d),u[d]=g}function yf(u,d){var g=u.pendingLanes&~d;u.pendingLanes=d,u.suspendedLanes=0,u.pingedLanes=0,u.expiredLanes&=d,u.mutableReadLanes&=d,u.entangledLanes&=d,d=u.entanglements;var S=u.eventTimes;for(u=u.expirationTimes;0<g;){var x=31-ta(g),_=1<<x;d[x]=0,S[x]=-1,u[x]=-1,g&=~_}}function bf(u,d){var g=u.entangledLanes|=d;for(u=u.entanglements;g;){var S=31-ta(g),x=1<<S;x&d|u[S]&d&&(u[S]|=d),g&=~x}}var Dn=0;function Sf(u){return u&=-u,1<u?4<u?u&268435455?16:536870912:4:1}var $c,An,Rp,is,Zt,xu=!1,vi=[],Ta=null,na=null,as=null,Ur=new Map,sr=new Map,No=[],ho="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 qi(u,d){switch(u){case"focusin":case"focusout":Ta=null;break;case"dragenter":case"dragleave":na=null;break;case"mouseover":case"mouseout":as=null;break;case"pointerover":case"pointerout":Ur.delete(d.pointerId);break;case"gotpointercapture":case"lostpointercapture":sr.delete(d.pointerId)}}function ra(u,d,g,S,x,_){return u===null||u.nativeEvent!==_?(u={blockedOn:d,domEventName:g,eventSystemFlags:S,nativeEvent:_,targetContainers:[x]},d!==null&&(d=Uf(d),d!==null&&An(d)),u):(u.eventSystemFlags|=S,d=u.targetContainers,x!==null&&d.indexOf(x)===-1&&d.push(x),u)}function Ov(u,d,g,S,x){switch(d){case"focusin":return Ta=ra(Ta,u,d,g,S,x),!0;case"dragenter":return na=ra(na,u,d,g,S,x),!0;case"mouseover":return as=ra(as,u,d,g,S,x),!0;case"pointerover":var _=x.pointerId;return Ur.set(_,ra(Ur.get(_)||null,u,d,g,S,x)),!0;case"gotpointercapture":return _=x.pointerId,sr.set(_,ra(sr.get(_)||null,u,d,g,S,x)),!0}return!1}function qc(u){var d=Mu(u.target);if(d!==null){var g=tt(d);if(g!==null){if(d=g.tag,d===13){if(d=en(g),d!==null){u.blockedOn=d,Zt(u.priority,function(){Rp(g)});return}}else if(d===3&&g.stateNode.current.memoizedState.isDehydrated){u.blockedOn=g.tag===3?g.stateNode.containerInfo:null;return}}}u.blockedOn=null}function wu(u){if(u.blockedOn!==null)return!1;for(var d=u.targetContainers;0<d.length;){var g=Kc(u.domEventName,u.eventSystemFlags,d[0],u.nativeEvent);if(g===null){g=u.nativeEvent;var S=new g.constructor(g.type,g);Wn=S,g.target.dispatchEvent(S),Wn=null}else return d=Uf(g),d!==null&&An(d),u.blockedOn=g,!1;d.shift()}return!0}function Wc(u,d,g){wu(u)&&g.delete(d)}function Gc(){xu=!1,Ta!==null&&wu(Ta)&&(Ta=null),na!==null&&wu(na)&&(na=null),as!==null&&wu(as)&&(as=null),Ur.forEach(Wc),sr.forEach(Wc)}function _u(u,d){u.blockedOn===d&&(u.blockedOn=null,xu||(xu=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Gc)))}function po(u){function d(x){return _u(x,u)}if(0<vi.length){_u(vi[0],u);for(var g=1;g<vi.length;g++){var S=vi[g];S.blockedOn===u&&(S.blockedOn=null)}}for(Ta!==null&&_u(Ta,u),na!==null&&_u(na,u),as!==null&&_u(as,u),Ur.forEach(d),sr.forEach(d),g=0;g<No.length;g++)S=No[g],S.blockedOn===u&&(S.blockedOn=null);for(;0<No.length&&(g=No[0],g.blockedOn===null);)qc(g),g.blockedOn===null&&No.shift()}var mo=j.ReactCurrentBatchConfig,El=!0;function Vs(u,d,g,S){var x=Dn,_=mo.transition;mo.transition=null;try{Dn=1,Rl(u,d,g,S)}finally{Dn=x,mo.transition=_}}function Yc(u,d,g,S){var x=Dn,_=mo.transition;mo.transition=null;try{Dn=4,Rl(u,d,g,S)}finally{Dn=x,mo.transition=_}}function Rl(u,d,g,S){if(El){var x=Kc(u,d,g,S);if(x===null)qv(u,d,S,zs,g),qi(u,S);else if(Ov(x,u,d,g,S))S.stopPropagation();else if(qi(u,S),d&4&&-1<ho.indexOf(u)){for(;x!==null;){var _=Uf(x);if(_!==null&&$c(_),_=Kc(u,d,g,S),_===null&&qv(u,d,S,zs,g),_===x)break;x=_}x!==null&&S.stopPropagation()}else qv(u,d,S,null,g)}}var zs=null;function Kc(u,d,g,S){if(zs=null,u=Jn(S),u=Mu(u),u!==null)if(d=tt(u),d===null)u=null;else if(g=d.tag,g===13){if(u=en(d),u!==null)return u;u=null}else if(g===3){if(d.stateNode.current.memoizedState.isDehydrated)return d.tag===3?d.stateNode.containerInfo:null;u=null}else d!==u&&(u=null);return zs=u,null}function Cf(u){switch(u){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(Er()){case an:return 1;case ns:return 4;case Is:case wp:return 16;case Us:return 536870912;default:return 16}default:return 16}}var go=null,Zc=null,O=null;function K(){if(O)return O;var u,d=Zc,g=d.length,S,x="value"in go?go.value:go.textContent,_=x.length;for(u=0;u<g&&d[u]===x[u];u++);var L=g-u;for(S=1;S<=L&&d[g-S]===x[_-S];S++);return O=x.slice(u,1<S?1-S:void 0)}function pe(u){var d=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&d===13&&(u=13)):u=d,u===10&&(u=13),32<=u||u===13?u:0}function Te(){return!0}function Ze(){return!1}function Tt(u){function d(g,S,x,_,L){this._reactName=g,this._targetInst=x,this.type=S,this.nativeEvent=_,this.target=L,this.currentTarget=null;for(var q in u)u.hasOwnProperty(q)&&(g=u[q],this[q]=g?g(_):_[q]);return this.isDefaultPrevented=(_.defaultPrevented!=null?_.defaultPrevented:_.returnValue===!1)?Te:Ze,this.isPropagationStopped=Ze,this}return z(d.prototype,{preventDefault:function(){this.defaultPrevented=!0;var g=this.nativeEvent;g&&(g.preventDefault?g.preventDefault():typeof g.returnValue!="unknown"&&(g.returnValue=!1),this.isDefaultPrevented=Te)},stopPropagation:function(){var g=this.nativeEvent;g&&(g.stopPropagation?g.stopPropagation():typeof g.cancelBubble!="unknown"&&(g.cancelBubble=!0),this.isPropagationStopped=Te)},persist:function(){},isPersistent:Te}),d}var pt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$t=Tt(pt),pn=z({},pt,{view:0,detail:0}),Kn=Tt(pn),lr,ur,sn,hr=z({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Io,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==sn&&(sn&&u.type==="mousemove"?(lr=u.screenX-sn.screenX,ur=u.screenY-sn.screenY):ur=lr=0,sn=u),lr)},movementY:function(u){return"movementY"in u?u.movementY:ur}}),qr=Tt(hr),Eu=z({},hr,{dataTransfer:0}),kf=Tt(Eu),Bs=z({},pn,{relatedTarget:0}),Ru=Tt(Bs),Tf=z({},pt,{animationName:0,elapsedTime:0,pseudoElement:0}),Mv=Tt(Tf),Pp=z({},pt,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),Lv=Tt(Pp),PS=z({},pt,{data:0}),Dp=Tt(PS),DS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},AS={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"},OS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function R_(u){var d=this.nativeEvent;return d.getModifierState?d.getModifierState(u):(u=OS[u])?!!d[u]:!1}function Io(){return R_}var P_=z({},pn,{key:function(u){if(u.key){var d=DS[u.key]||u.key;if(d!=="Unidentified")return d}return u.type==="keypress"?(u=pe(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?AS[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Io,charCode:function(u){return u.type==="keypress"?pe(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?pe(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),Nv=Tt(P_),Iv=z({},hr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ap=Tt(Iv),D_=z({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Io}),Op=Tt(D_),MS=z({},pt,{propertyName:0,elapsedTime:0,pseudoElement:0}),xa=Tt(MS),Hs=z({},hr,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),ei=Tt(Hs),$s=[9,13,27,32],xf=c&&"CompositionEvent"in window,Pl=null;c&&"documentMode"in document&&(Pl=document.documentMode);var A_=c&&"TextEvent"in window&&!Pl,Qc=c&&(!xf||Pl&&8<Pl&&11>=Pl),LS=" ",NS=!1;function Mp(u,d){switch(u){case"keyup":return $s.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function IS(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Xc=!1;function O_(u,d){switch(u){case"compositionend":return IS(d);case"keypress":return d.which!==32?null:(NS=!0,LS);case"textInput":return u=d.data,u===LS&&NS?null:u;default:return null}}function US(u,d){if(Xc)return u==="compositionend"||!xf&&Mp(u,d)?(u=K(),O=Zc=go=null,Xc=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1<d.char.length)return d.char;if(d.which)return String.fromCharCode(d.which)}return null;case"compositionend":return Qc&&d.locale!=="ko"?null:d.data;default:return null}}var M_={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 FS(u){var d=u&&u.nodeName&&u.nodeName.toLowerCase();return d==="input"?!!M_[u.type]:d==="textarea"}function jS(u,d,g,S){ea(S),d=Lf(d,"onChange"),0<d.length&&(g=new $t("onChange","change",null,g,S),u.push({event:g,listeners:d}))}var Jc=null,os=null;function Uv(u){Up(u,0)}function wf(u){var d=Ot(u);if(_r(d))return u}function VS(u,d){if(u==="change")return d}var zS=!1;if(c){var Fv;if(c){var jv="oninput"in document;if(!jv){var BS=document.createElement("div");BS.setAttribute("oninput","return;"),jv=typeof BS.oninput=="function"}Fv=jv}else Fv=!1;zS=Fv&&(!document.documentMode||9<document.documentMode)}function HS(){Jc&&(Jc.detachEvent("onpropertychange",$S),os=Jc=null)}function $S(u){if(u.propertyName==="value"&&wf(os)){var d=[];jS(d,os,u,Jn(u)),ot(Uv,d)}}function L_(u,d,g){u==="focusin"?(HS(),Jc=d,os=g,Jc.attachEvent("onpropertychange",$S)):u==="focusout"&&HS()}function N_(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return wf(os)}function qS(u,d){if(u==="click")return wf(d)}function I_(u,d){if(u==="input"||u==="change")return wf(d)}function WS(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var Uo=typeof Object.is=="function"?Object.is:WS;function _f(u,d){if(Uo(u,d))return!0;if(typeof u!="object"||u===null||typeof d!="object"||d===null)return!1;var g=Object.keys(u),S=Object.keys(d);if(g.length!==S.length)return!1;for(S=0;S<g.length;S++){var x=g[S];if(!h.call(d,x)||!Uo(u[x],d[x]))return!1}return!0}function GS(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function YS(u,d){var g=GS(u);u=0;for(var S;g;){if(g.nodeType===3){if(S=u+g.textContent.length,u<=d&&S>=d)return{node:g,offset:d-u};u=S}e:{for(;g;){if(g.nextSibling){g=g.nextSibling;break e}g=g.parentNode}g=void 0}g=GS(g)}}function Lp(u,d){return u&&d?u===d?!0:u&&u.nodeType===3?!1:d&&d.nodeType===3?Lp(u,d.parentNode):"contains"in u?u.contains(d):u.compareDocumentPosition?!!(u.compareDocumentPosition(d)&16):!1:!1}function Dl(){for(var u=window,d=vr();d instanceof u.HTMLIFrameElement;){try{var g=typeof d.contentWindow.location.href=="string"}catch{g=!1}if(g)u=d.contentWindow;else break;d=vr(u.document)}return d}function ed(u){var d=u&&u.nodeName&&u.nodeName.toLowerCase();return d&&(d==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||d==="textarea"||u.contentEditable==="true")}function KS(u){var d=Dl(),g=u.focusedElem,S=u.selectionRange;if(d!==g&&g&&g.ownerDocument&&Lp(g.ownerDocument.documentElement,g)){if(S!==null&&ed(g)){if(d=S.start,u=S.end,u===void 0&&(u=d),"selectionStart"in g)g.selectionStart=d,g.selectionEnd=Math.min(u,g.value.length);else if(u=(d=g.ownerDocument||document)&&d.defaultView||window,u.getSelection){u=u.getSelection();var x=g.textContent.length,_=Math.min(S.start,x);S=S.end===void 0?_:Math.min(S.end,x),!u.extend&&_>S&&(x=S,S=_,_=x),x=YS(g,_);var L=YS(g,S);x&&L&&(u.rangeCount!==1||u.anchorNode!==x.node||u.anchorOffset!==x.offset||u.focusNode!==L.node||u.focusOffset!==L.offset)&&(d=d.createRange(),d.setStart(x.node,x.offset),u.removeAllRanges(),_>S?(u.addRange(d),u.extend(L.node,L.offset)):(d.setEnd(L.node,L.offset),u.addRange(d)))}}for(d=[],u=g;u=u.parentNode;)u.nodeType===1&&d.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<d.length;g++)u=d[g],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}}var td=c&&"documentMode"in document&&11>=document.documentMode,nd=null,Vv=null,Ef=null,zv=!1;function ZS(u,d,g){var S=g.window===g?g.document:g.nodeType===9?g:g.ownerDocument;zv||nd==null||nd!==vr(S)||(S=nd,"selectionStart"in S&&ed(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),Ef&&_f(Ef,S)||(Ef=S,S=Lf(Vv,"onSelect"),0<S.length&&(d=new $t("onSelect","select",null,d,g),u.push({event:d,listeners:S}),d.target=nd)))}function Rf(u,d){var g={};return g[u.toLowerCase()]=d.toLowerCase(),g["Webkit"+u]="webkit"+d,g["Moz"+u]="moz"+d,g}var rd={animationend:Rf("Animation","AnimationEnd"),animationiteration:Rf("Animation","AnimationIteration"),animationstart:Rf("Animation","AnimationStart"),transitionend:Rf("Transition","TransitionEnd")},Np={},Wi={};c&&(Wi=document.createElement("div").style,"AnimationEvent"in window||(delete rd.animationend.animation,delete rd.animationiteration.animation,delete rd.animationstart.animation),"TransitionEvent"in window||delete rd.transitionend.transition);function Pf(u){if(Np[u])return Np[u];if(!rd[u])return u;var d=rd[u],g;for(g in d)if(d.hasOwnProperty(g)&&g in Wi)return Np[u]=d[g];return u}var QS=Pf("animationend"),XS=Pf("animationiteration"),JS=Pf("animationstart"),eC=Pf("transitionend"),tC=new Map,Bv="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 ss(u,d){tC.set(u,d),s(d,[u])}for(var Pu=0;Pu<Bv.length;Pu++){var Hv=Bv[Pu],Df=Hv.toLowerCase(),U_=Hv[0].toUpperCase()+Hv.slice(1);ss(Df,"on"+U_)}ss(QS,"onAnimationEnd"),ss(XS,"onAnimationIteration"),ss(JS,"onAnimationStart"),ss("dblclick","onDoubleClick"),ss("focusin","onFocus"),ss("focusout","onBlur"),ss(eC,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Af="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(" "),F_=new Set("cancel close invalid load scroll toggle".split(" ").concat(Af));function Ip(u,d,g){var S=u.type||"unknown-event";u.currentTarget=g,Xe(S,d,void 0,u),u.currentTarget=null}function Up(u,d){d=(d&4)!==0;for(var g=0;g<u.length;g++){var S=u[g],x=S.event;S=S.listeners;e:{var _=void 0;if(d)for(var L=S.length-1;0<=L;L--){var q=S[L],ee=q.instance,ye=q.currentTarget;if(q=q.listener,ee!==_&&x.isPropagationStopped())break e;Ip(x,q,ye),_=ee}else for(L=0;L<S.length;L++){if(q=S[L],ee=q.instance,ye=q.currentTarget,q=q.listener,ee!==_&&x.isPropagationStopped())break e;Ip(x,q,ye),_=ee}}}if(er)throw u=Ei,er=!1,Ei=null,u}function Zn(u,d){var g=d[Wv];g===void 0&&(g=d[Wv]=new Set);var S=u+"__bubble";g.has(S)||($v(d,u,2,!1),g.add(S))}function Al(u,d,g){var S=0;d&&(S|=4),$v(g,u,S,d)}var Of="_reactListening"+Math.random().toString(36).slice(2);function Mf(u){if(!u[Of]){u[Of]=!0,r.forEach(function(g){g!=="selectionchange"&&(F_.has(g)||Al(g,!1,u),Al(g,!0,u))});var d=u.nodeType===9?u:u.ownerDocument;d===null||d[Of]||(d[Of]=!0,Al("selectionchange",!1,d))}}function $v(u,d,g,S){switch(Cf(d)){case 1:var x=Vs;break;case 4:x=Yc;break;default:x=Rl}g=x.bind(null,d,g,u),x=void 0,!It||d!=="touchstart"&&d!=="touchmove"&&d!=="wheel"||(x=!0),S?x!==void 0?u.addEventListener(d,g,{capture:!0,passive:x}):u.addEventListener(d,g,!0):x!==void 0?u.addEventListener(d,g,{passive:x}):u.addEventListener(d,g,!1)}function qv(u,d,g,S,x){var _=S;if(!(d&1)&&!(d&2)&&S!==null)e:for(;;){if(S===null)return;var L=S.tag;if(L===3||L===4){var q=S.stateNode.containerInfo;if(q===x||q.nodeType===8&&q.parentNode===x)break;if(L===4)for(L=S.return;L!==null;){var ee=L.tag;if((ee===3||ee===4)&&(ee=L.stateNode.containerInfo,ee===x||ee.nodeType===8&&ee.parentNode===x))return;L=L.return}for(;q!==null;){if(L=Mu(q),L===null)return;if(ee=L.tag,ee===5||ee===6){S=_=L;continue e}q=q.parentNode}}S=S.return}ot(function(){var ye=_,Ue=Jn(g),He=[];e:{var Ie=tC.get(u);if(Ie!==void 0){var mt=$t,wt=u;switch(u){case"keypress":if(pe(g)===0)break e;case"keydown":case"keyup":mt=Nv;break;case"focusin":wt="focus",mt=Ru;break;case"focusout":wt="blur",mt=Ru;break;case"beforeblur":case"afterblur":mt=Ru;break;case"click":if(g.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":mt=qr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":mt=kf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":mt=Op;break;case QS:case XS:case JS:mt=Mv;break;case eC:mt=xa;break;case"scroll":mt=Kn;break;case"wheel":mt=ei;break;case"copy":case"cut":case"paste":mt=Lv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":mt=Ap}var Et=(d&4)!==0,Kr=!Et&&u==="scroll",ue=Et?Ie!==null?Ie+"Capture":null:Ie;Et=[];for(var ie=ye,he;ie!==null;){he=ie;var Ke=he.stateNode;if(he.tag===5&&Ke!==null&&(he=Ke,ue!==null&&(Ke=qe(ie,ue),Ke!=null&&Et.push(id(ie,Ke,he)))),Kr)break;ie=ie.return}0<Et.length&&(Ie=new mt(Ie,wt,null,g,Ue),He.push({event:Ie,listeners:Et}))}}if(!(d&7)){e:{if(Ie=u==="mouseover"||u==="pointerover",mt=u==="mouseout"||u==="pointerout",Ie&&g!==Wn&&(wt=g.relatedTarget||g.fromElement)&&(Mu(wt)||wt[qs]))break e;if((mt||Ie)&&(Ie=Ue.window===Ue?Ue:(Ie=Ue.ownerDocument)?Ie.defaultView||Ie.parentWindow:window,mt?(wt=g.relatedTarget||g.toElement,mt=ye,wt=wt?Mu(wt):null,wt!==null&&(Kr=tt(wt),wt!==Kr||wt.tag!==5&&wt.tag!==6)&&(wt=null)):(mt=null,wt=ye),mt!==wt)){if(Et=qr,Ke="onMouseLeave",ue="onMouseEnter",ie="mouse",(u==="pointerout"||u==="pointerover")&&(Et=Ap,Ke="onPointerLeave",ue="onPointerEnter",ie="pointer"),Kr=mt==null?Ie:Ot(mt),he=wt==null?Ie:Ot(wt),Ie=new Et(Ke,ie+"leave",mt,g,Ue),Ie.target=Kr,Ie.relatedTarget=he,Ke=null,Mu(Ue)===ye&&(Et=new Et(ue,ie+"enter",wt,g,Ue),Et.target=he,Et.relatedTarget=Kr,Ke=Et),Kr=Ke,mt&&wt)t:{for(Et=mt,ue=wt,ie=0,he=Et;he;he=Du(he))ie++;for(he=0,Ke=ue;Ke;Ke=Du(Ke))he++;for(;0<ie-he;)Et=Du(Et),ie--;for(;0<he-ie;)ue=Du(ue),he--;for(;ie--;){if(Et===ue||ue!==null&&Et===ue.alternate)break t;Et=Du(Et),ue=Du(ue)}Et=null}else Et=null;mt!==null&&Fp(He,Ie,mt,Et,!1),wt!==null&&Kr!==null&&Fp(He,Kr,wt,Et,!0)}}e:{if(Ie=ye?Ot(ye):window,mt=Ie.nodeName&&Ie.nodeName.toLowerCase(),mt==="select"||mt==="input"&&Ie.type==="file")var dt=VS;else if(FS(Ie))if(zS)dt=I_;else{dt=N_;var Ut=L_}else(mt=Ie.nodeName)&&mt.toLowerCase()==="input"&&(Ie.type==="checkbox"||Ie.type==="radio")&&(dt=qS);if(dt&&(dt=dt(u,ye))){jS(He,dt,g,Ue);break e}Ut&&Ut(u,Ie,ye),u==="focusout"&&(Ut=Ie._wrapperState)&&Ut.controlled&&Ie.type==="number"&&le(Ie,"number",Ie.value)}switch(Ut=ye?Ot(ye):window,u){case"focusin":(FS(Ut)||Ut.contentEditable==="true")&&(nd=Ut,Vv=ye,Ef=null);break;case"focusout":Ef=Vv=nd=null;break;case"mousedown":zv=!0;break;case"contextmenu":case"mouseup":case"dragend":zv=!1,ZS(He,g,Ue);break;case"selectionchange":if(td)break;case"keydown":case"keyup":ZS(He,g,Ue)}var zt;if(xf)e:{switch(u){case"compositionstart":var Qt="onCompositionStart";break e;case"compositionend":Qt="onCompositionEnd";break e;case"compositionupdate":Qt="onCompositionUpdate";break e}Qt=void 0}else Xc?Mp(u,g)&&(Qt="onCompositionEnd"):u==="keydown"&&g.keyCode===229&&(Qt="onCompositionStart");Qt&&(Qc&&g.locale!=="ko"&&(Xc||Qt!=="onCompositionStart"?Qt==="onCompositionEnd"&&Xc&&(zt=K()):(go=Ue,Zc="value"in go?go.value:go.textContent,Xc=!0)),Ut=Lf(ye,Qt),0<Ut.length&&(Qt=new Dp(Qt,u,null,g,Ue),He.push({event:Qt,listeners:Ut}),zt?Qt.data=zt:(zt=IS(g),zt!==null&&(Qt.data=zt)))),(zt=A_?O_(u,g):US(u,g))&&(ye=Lf(ye,"onBeforeInput"),0<ye.length&&(Ue=new Dp("onBeforeInput","beforeinput",null,g,Ue),He.push({event:Ue,listeners:ye}),Ue.data=zt))}Up(He,d)})}function id(u,d,g){return{instance:u,listener:d,currentTarget:g}}function Lf(u,d){for(var g=d+"Capture",S=[];u!==null;){var x=u,_=x.stateNode;x.tag===5&&_!==null&&(x=_,_=qe(u,g),_!=null&&S.unshift(id(u,_,x)),_=qe(u,d),_!=null&&S.push(id(u,_,x))),u=u.return}return S}function Du(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5);return u||null}function Fp(u,d,g,S,x){for(var _=d._reactName,L=[];g!==null&&g!==S;){var q=g,ee=q.alternate,ye=q.stateNode;if(ee!==null&&ee===S)break;q.tag===5&&ye!==null&&(q=ye,x?(ee=qe(g,_),ee!=null&&L.unshift(id(g,ee,q))):x||(ee=qe(g,_),ee!=null&&L.push(id(g,ee,q)))),g=g.return}L.length!==0&&u.push({event:d,listeners:L})}var j_=/\r\n?/g,nC=/\u0000|\uFFFD/g;function rC(u){return(typeof u=="string"?u:""+u).replace(j_,`
|
|
97
|
+
`).replace(nC,"")}function jp(u,d,g){if(d=rC(d),rC(u)!==d&&g)throw Error(n(425))}function Vp(){}var Au=null,Nf=null;function Ou(u,d){return u==="textarea"||u==="noscript"||typeof d.children=="string"||typeof d.children=="number"||typeof d.dangerouslySetInnerHTML=="object"&&d.dangerouslySetInnerHTML!==null&&d.dangerouslySetInnerHTML.__html!=null}var zp=typeof setTimeout=="function"?setTimeout:void 0,iC=typeof clearTimeout=="function"?clearTimeout:void 0,Bp=typeof Promise=="function"?Promise:void 0,V_=typeof queueMicrotask=="function"?queueMicrotask:typeof Bp<"u"?function(u){return Bp.resolve(null).then(u).catch(ad)}:zp;function ad(u){setTimeout(function(){throw u})}function od(u,d){var g=d,S=0;do{var x=g.nextSibling;if(u.removeChild(g),x&&x.nodeType===8)if(g=x.data,g==="/$"){if(S===0){u.removeChild(x),po(d);return}S--}else g!=="$"&&g!=="$?"&&g!=="$!"||S++;g=x}while(g);po(d)}function Fo(u){for(;u!=null;u=u.nextSibling){var d=u.nodeType;if(d===1||d===3)break;if(d===8){if(d=u.data,d==="$"||d==="$!"||d==="$?")break;if(d==="/$")return null}}return u}function Hp(u){u=u.previousSibling;for(var d=0;u;){if(u.nodeType===8){var g=u.data;if(g==="$"||g==="$!"||g==="$?"){if(d===0)return u;d--}else g==="/$"&&d++}u=u.previousSibling}return null}var sd=Math.random().toString(36).slice(2),vo="__reactFiber$"+sd,If="__reactProps$"+sd,qs="__reactContainer$"+sd,Wv="__reactEvents$"+sd,Gv="__reactListeners$"+sd,ld="__reactHandles$"+sd;function Mu(u){var d=u[vo];if(d)return d;for(var g=u.parentNode;g;){if(d=g[qs]||g[vo]){if(g=d.alternate,d.child!==null||g!==null&&g.child!==null)for(u=Hp(u);u!==null;){if(g=u[vo])return g;u=Hp(u)}return d}u=g,g=u.parentNode}return null}function Uf(u){return u=u[vo]||u[qs],!u||u.tag!==5&&u.tag!==6&&u.tag!==13&&u.tag!==3?null:u}function Ot(u){if(u.tag===5||u.tag===6)return u.stateNode;throw Error(n(33))}function Ws(u){return u[If]||null}var Fr=[],kn=-1;function wa(u){return{current:u}}function tr(u){0>kn||(u.current=Fr[kn],Fr[kn]=null,kn--)}function pr(u,d){kn++,Fr[kn]=u.current,u.current=d}var vn={},Rr=wa(vn),ti=wa(!1),yo=vn;function Ba(u,d){var g=u.type.contextTypes;if(!g)return vn;var S=u.stateNode;if(S&&S.__reactInternalMemoizedUnmaskedChildContext===d)return S.__reactInternalMemoizedMaskedChildContext;var x={},_;for(_ in g)x[_]=d[_];return S&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=d,u.__reactInternalMemoizedMaskedChildContext=x),x}function jr(u){return u=u.childContextTypes,u!=null}function ls(){tr(ti),tr(Rr)}function $p(u,d,g){if(Rr.current!==vn)throw Error(n(168));pr(Rr,d),pr(ti,g)}function aC(u,d,g){var S=u.stateNode;if(d=d.childContextTypes,typeof S.getChildContext!="function")return g;S=S.getChildContext();for(var x in S)if(!(x in d))throw Error(n(108,bt(u)||"Unknown",x));return z({},g,S)}function Lu(u){return u=(u=u.stateNode)&&u.__reactInternalMemoizedMergedChildContext||vn,yo=Rr.current,pr(Rr,u),pr(ti,ti.current),!0}function Gi(u,d,g){var S=u.stateNode;if(!S)throw Error(n(169));g?(u=aC(u,d,yo),S.__reactInternalMemoizedMergedChildContext=u,tr(ti),tr(Rr),pr(Rr,u)):tr(ti),pr(ti,g)}var jo=null,Ff=!1,jf=!1;function Ol(u){jo===null?jo=[u]:jo.push(u)}function Yv(u){Ff=!0,Ol(u)}function ia(){if(!jf&&jo!==null){jf=!0;var u=0,d=Dn;try{var g=jo;for(Dn=1;u<g.length;u++){var S=g[u];do S=S(!0);while(S!==null)}jo=null,Ff=!1}catch(x){throw jo!==null&&(jo=jo.slice(u+1)),yr(an,ia),x}finally{Dn=d,jf=!1}}return null}var Ml=[],Ll=0,ud=null,Nl=0,Ri=[],ni=0,Nu=null,aa=1,us="";function Il(u,d){Ml[Ll++]=Nl,Ml[Ll++]=ud,ud=u,Nl=d}function oC(u,d,g){Ri[ni++]=aa,Ri[ni++]=us,Ri[ni++]=Nu,Nu=u;var S=aa;u=us;var x=32-ta(S)-1;S&=~(1<<x),g+=1;var _=32-ta(d)+x;if(30<_){var L=x-x%5;_=(S&(1<<L)-1).toString(32),S>>=L,x-=L,aa=1<<32-ta(d)+x|g<<x|S,us=_+u}else aa=1<<_|g<<x|S,us=u}function Kv(u){u.return!==null&&(Il(u,1),oC(u,1,0))}function qp(u){for(;u===ud;)ud=Ml[--Ll],Ml[Ll]=null,Nl=Ml[--Ll],Ml[Ll]=null;for(;u===Nu;)Nu=Ri[--ni],Ri[ni]=null,us=Ri[--ni],Ri[ni]=null,aa=Ri[--ni],Ri[ni]=null}var _a=null,Ea=null,kr=!1,Vo=null;function Zv(u,d){var g=To(5,null,null,0);g.elementType="DELETED",g.stateNode=d,g.return=u,d=u.deletions,d===null?(u.deletions=[g],u.flags|=16):d.push(g)}function Qv(u,d){switch(u.tag){case 5:var g=u.type;return d=d.nodeType!==1||g.toLowerCase()!==d.nodeName.toLowerCase()?null:d,d!==null?(u.stateNode=d,_a=u,Ea=Fo(d.firstChild),!0):!1;case 6:return d=u.pendingProps===""||d.nodeType!==3?null:d,d!==null?(u.stateNode=d,_a=u,Ea=null,!0):!1;case 13:return d=d.nodeType!==8?null:d,d!==null?(g=Nu!==null?{id:aa,overflow:us}:null,u.memoizedState={dehydrated:d,treeContext:g,retryLane:1073741824},g=To(18,null,null,0),g.stateNode=d,g.return=u,u.child=g,_a=u,Ea=null,!0):!1;default:return!1}}function Xv(u){return(u.mode&1)!==0&&(u.flags&128)===0}function Jv(u){if(kr){var d=Ea;if(d){var g=d;if(!Qv(u,d)){if(Xv(u))throw Error(n(418));d=Fo(g.nextSibling);var S=_a;d&&Qv(u,d)?Zv(S,g):(u.flags=u.flags&-4097|2,kr=!1,_a=u)}}else{if(Xv(u))throw Error(n(418));u.flags=u.flags&-4097|2,kr=!1,_a=u}}}function sC(u){for(u=u.return;u!==null&&u.tag!==5&&u.tag!==3&&u.tag!==13;)u=u.return;_a=u}function Wr(u){if(u!==_a)return!1;if(!kr)return sC(u),kr=!0,!1;var d;if((d=u.tag!==3)&&!(d=u.tag!==5)&&(d=u.type,d=d!=="head"&&d!=="body"&&!Ou(u.type,u.memoizedProps)),d&&(d=Ea)){if(Xv(u))throw lC(),Error(n(418));for(;d;)Zv(u,d),d=Fo(d.nextSibling)}if(sC(u),u.tag===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(n(317));e:{for(u=u.nextSibling,d=0;u;){if(u.nodeType===8){var g=u.data;if(g==="/$"){if(d===0){Ea=Fo(u.nextSibling);break e}d--}else g!=="$"&&g!=="$!"&&g!=="$?"||d++}u=u.nextSibling}Ea=null}}else Ea=_a?Fo(u.stateNode.nextSibling):null;return!0}function lC(){for(var u=Ea;u;)u=Fo(u.nextSibling)}function Gs(){Ea=_a=null,kr=!1}function Vf(u){Vo===null?Vo=[u]:Vo.push(u)}var Iu=j.ReactCurrentBatchConfig;function zf(u,d,g){if(u=g.ref,u!==null&&typeof u!="function"&&typeof u!="object"){if(g._owner){if(g=g._owner,g){if(g.tag!==1)throw Error(n(309));var S=g.stateNode}if(!S)throw Error(n(147,u));var x=S,_=""+u;return d!==null&&d.ref!==null&&typeof d.ref=="function"&&d.ref._stringRef===_?d.ref:(d=function(L){var q=x.refs;L===null?delete q[_]:q[_]=L},d._stringRef=_,d)}if(typeof u!="string")throw Error(n(284));if(!g._owner)throw Error(n(290,u))}return u}function cd(u,d){throw u=Object.prototype.toString.call(d),Error(n(31,u==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":u))}function uC(u){var d=u._init;return d(u._payload)}function cC(u){function d(ue,ie){if(u){var he=ue.deletions;he===null?(ue.deletions=[ie],ue.flags|=16):he.push(ie)}}function g(ue,ie){if(!u)return null;for(;ie!==null;)d(ue,ie),ie=ie.sibling;return null}function S(ue,ie){for(ue=new Map;ie!==null;)ie.key!==null?ue.set(ie.key,ie):ue.set(ie.index,ie),ie=ie.sibling;return ue}function x(ue,ie){return ue=Gl(ue,ie),ue.index=0,ue.sibling=null,ue}function _(ue,ie,he){return ue.index=he,u?(he=ue.alternate,he!==null?(he=he.index,he<ie?(ue.flags|=2,ie):he):(ue.flags|=2,ie)):(ue.flags|=1048576,ie)}function L(ue){return u&&ue.alternate===null&&(ue.flags|=2),ue}function q(ue,ie,he,Ke){return ie===null||ie.tag!==6?(ie=Ju(he,ue.mode,Ke),ie.return=ue,ie):(ie=x(ie,he),ie.return=ue,ie)}function ee(ue,ie,he,Ke){var dt=he.type;return dt===ne?Ue(ue,ie,he.props.children,Ke,he.key):ie!==null&&(ie.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===Je&&uC(dt)===ie.type)?(Ke=x(ie,he.props),Ke.ref=zf(ue,ie,he),Ke.return=ue,Ke):(Ke=Dm(he.type,he.key,he.props,null,ue.mode,Ke),Ke.ref=zf(ue,ie,he),Ke.return=ue,Ke)}function ye(ue,ie,he,Ke){return ie===null||ie.tag!==4||ie.stateNode.containerInfo!==he.containerInfo||ie.stateNode.implementation!==he.implementation?(ie=Dy(he,ue.mode,Ke),ie.return=ue,ie):(ie=x(ie,he.children||[]),ie.return=ue,ie)}function Ue(ue,ie,he,Ke,dt){return ie===null||ie.tag!==7?(ie=Yl(he,ue.mode,Ke,dt),ie.return=ue,ie):(ie=x(ie,he),ie.return=ue,ie)}function He(ue,ie,he){if(typeof ie=="string"&&ie!==""||typeof ie=="number")return ie=Ju(""+ie,ue.mode,he),ie.return=ue,ie;if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case I:return he=Dm(ie.type,ie.key,ie.props,null,ue.mode,he),he.ref=zf(ue,null,ie),he.return=ue,he;case N:return ie=Dy(ie,ue.mode,he),ie.return=ue,ie;case Je:var Ke=ie._init;return He(ue,Ke(ie._payload),he)}if(me(ie)||Be(ie))return ie=Yl(ie,ue.mode,he,null),ie.return=ue,ie;cd(ue,ie)}return null}function Ie(ue,ie,he,Ke){var dt=ie!==null?ie.key:null;if(typeof he=="string"&&he!==""||typeof he=="number")return dt!==null?null:q(ue,ie,""+he,Ke);if(typeof he=="object"&&he!==null){switch(he.$$typeof){case I:return he.key===dt?ee(ue,ie,he,Ke):null;case N:return he.key===dt?ye(ue,ie,he,Ke):null;case Je:return dt=he._init,Ie(ue,ie,dt(he._payload),Ke)}if(me(he)||Be(he))return dt!==null?null:Ue(ue,ie,he,Ke,null);cd(ue,he)}return null}function mt(ue,ie,he,Ke,dt){if(typeof Ke=="string"&&Ke!==""||typeof Ke=="number")return ue=ue.get(he)||null,q(ie,ue,""+Ke,dt);if(typeof Ke=="object"&&Ke!==null){switch(Ke.$$typeof){case I:return ue=ue.get(Ke.key===null?he:Ke.key)||null,ee(ie,ue,Ke,dt);case N:return ue=ue.get(Ke.key===null?he:Ke.key)||null,ye(ie,ue,Ke,dt);case Je:var Ut=Ke._init;return mt(ue,ie,he,Ut(Ke._payload),dt)}if(me(Ke)||Be(Ke))return ue=ue.get(he)||null,Ue(ie,ue,Ke,dt,null);cd(ie,Ke)}return null}function wt(ue,ie,he,Ke){for(var dt=null,Ut=null,zt=ie,Qt=ie=0,hi=null;zt!==null&&Qt<he.length;Qt++){zt.index>Qt?(hi=zt,zt=null):hi=zt.sibling;var zn=Ie(ue,zt,he[Qt],Ke);if(zn===null){zt===null&&(zt=hi);break}u&&zt&&zn.alternate===null&&d(ue,zt),ie=_(zn,ie,Qt),Ut===null?dt=zn:Ut.sibling=zn,Ut=zn,zt=hi}if(Qt===he.length)return g(ue,zt),kr&&Il(ue,Qt),dt;if(zt===null){for(;Qt<he.length;Qt++)zt=He(ue,he[Qt],Ke),zt!==null&&(ie=_(zt,ie,Qt),Ut===null?dt=zt:Ut.sibling=zt,Ut=zt);return kr&&Il(ue,Qt),dt}for(zt=S(ue,zt);Qt<he.length;Qt++)hi=mt(zt,ue,Qt,he[Qt],Ke),hi!==null&&(u&&hi.alternate!==null&&zt.delete(hi.key===null?Qt:hi.key),ie=_(hi,ie,Qt),Ut===null?dt=hi:Ut.sibling=hi,Ut=hi);return u&&zt.forEach(function(Zl){return d(ue,Zl)}),kr&&Il(ue,Qt),dt}function Et(ue,ie,he,Ke){var dt=Be(he);if(typeof dt!="function")throw Error(n(150));if(he=dt.call(he),he==null)throw Error(n(151));for(var Ut=dt=null,zt=ie,Qt=ie=0,hi=null,zn=he.next();zt!==null&&!zn.done;Qt++,zn=he.next()){zt.index>Qt?(hi=zt,zt=null):hi=zt.sibling;var Zl=Ie(ue,zt,zn.value,Ke);if(Zl===null){zt===null&&(zt=hi);break}u&&zt&&Zl.alternate===null&&d(ue,zt),ie=_(Zl,ie,Qt),Ut===null?dt=Zl:Ut.sibling=Zl,Ut=Zl,zt=hi}if(zn.done)return g(ue,zt),kr&&Il(ue,Qt),dt;if(zt===null){for(;!zn.done;Qt++,zn=he.next())zn=He(ue,zn.value,Ke),zn!==null&&(ie=_(zn,ie,Qt),Ut===null?dt=zn:Ut.sibling=zn,Ut=zn);return kr&&Il(ue,Qt),dt}for(zt=S(ue,zt);!zn.done;Qt++,zn=he.next())zn=mt(zt,ue,Qt,zn.value,Ke),zn!==null&&(u&&zn.alternate!==null&&zt.delete(zn.key===null?Qt:zn.key),ie=_(zn,ie,Qt),Ut===null?dt=zn:Ut.sibling=zn,Ut=zn);return u&&zt.forEach(function(eE){return d(ue,eE)}),kr&&Il(ue,Qt),dt}function Kr(ue,ie,he,Ke){if(typeof he=="object"&&he!==null&&he.type===ne&&he.key===null&&(he=he.props.children),typeof he=="object"&&he!==null){switch(he.$$typeof){case I:e:{for(var dt=he.key,Ut=ie;Ut!==null;){if(Ut.key===dt){if(dt=he.type,dt===ne){if(Ut.tag===7){g(ue,Ut.sibling),ie=x(Ut,he.props.children),ie.return=ue,ue=ie;break e}}else if(Ut.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===Je&&uC(dt)===Ut.type){g(ue,Ut.sibling),ie=x(Ut,he.props),ie.ref=zf(ue,Ut,he),ie.return=ue,ue=ie;break e}g(ue,Ut);break}else d(ue,Ut);Ut=Ut.sibling}he.type===ne?(ie=Yl(he.props.children,ue.mode,Ke,he.key),ie.return=ue,ue=ie):(Ke=Dm(he.type,he.key,he.props,null,ue.mode,Ke),Ke.ref=zf(ue,ie,he),Ke.return=ue,ue=Ke)}return L(ue);case N:e:{for(Ut=he.key;ie!==null;){if(ie.key===Ut)if(ie.tag===4&&ie.stateNode.containerInfo===he.containerInfo&&ie.stateNode.implementation===he.implementation){g(ue,ie.sibling),ie=x(ie,he.children||[]),ie.return=ue,ue=ie;break e}else{g(ue,ie);break}else d(ue,ie);ie=ie.sibling}ie=Dy(he,ue.mode,Ke),ie.return=ue,ue=ie}return L(ue);case Je:return Ut=he._init,Kr(ue,ie,Ut(he._payload),Ke)}if(me(he))return wt(ue,ie,he,Ke);if(Be(he))return Et(ue,ie,he,Ke);cd(ue,he)}return typeof he=="string"&&he!==""||typeof he=="number"?(he=""+he,ie!==null&&ie.tag===6?(g(ue,ie.sibling),ie=x(ie,he),ie.return=ue,ue=ie):(g(ue,ie),ie=Ju(he,ue.mode,Ke),ie.return=ue,ue=ie),L(ue)):g(ue,ie)}return Kr}var zo=cC(!0),Pi=cC(!1),at=wa(null),Ha=null,Yi=null,ey=null;function ty(){ey=Yi=Ha=null}function ny(u){var d=at.current;tr(at),u._currentValue=d}function ry(u,d,g){for(;u!==null;){var S=u.alternate;if((u.childLanes&d)!==d?(u.childLanes|=d,S!==null&&(S.childLanes|=d)):S!==null&&(S.childLanes&d)!==d&&(S.childLanes|=d),u===g)break;u=u.return}}function dd(u,d){Ha=u,ey=Yi=null,u=u.dependencies,u!==null&&u.firstContext!==null&&(u.lanes&d&&(Si=!0),u.firstContext=null)}function nr(u){var d=u._currentValue;if(ey!==u)if(u={context:u,memoizedValue:d,next:null},Yi===null){if(Ha===null)throw Error(n(308));Yi=u,Ha.dependencies={lanes:0,firstContext:u}}else Yi=Yi.next=u;return d}var Uu=null;function iy(u){Uu===null?Uu=[u]:Uu.push(u)}function dC(u,d,g,S){var x=d.interleaved;return x===null?(g.next=g,iy(d)):(g.next=x.next,x.next=g),d.interleaved=g,cs(u,S)}function cs(u,d){u.lanes|=d;var g=u.alternate;for(g!==null&&(g.lanes|=d),g=u,u=u.return;u!==null;)u.childLanes|=d,g=u.alternate,g!==null&&(g.childLanes|=d),g=u,u=u.return;return g.tag===3?g.stateNode:null}var bo=!1;function Ul(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fC(u,d){u=u.updateQueue,d.updateQueue===u&&(d.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects})}function Ys(u,d){return{eventTime:u,lane:d,tag:0,payload:null,callback:null,next:null}}function Fl(u,d,g){var S=u.updateQueue;if(S===null)return null;if(S=S.shared,Tn&2){var x=S.pending;return x===null?d.next=d:(d.next=x.next,x.next=d),S.pending=d,cs(u,g)}return x=S.interleaved,x===null?(d.next=d,iy(S)):(d.next=x.next,x.next=d),S.interleaved=d,cs(u,g)}function Wp(u,d,g){if(d=d.updateQueue,d!==null&&(d=d.shared,(g&4194240)!==0)){var S=d.lanes;S&=u.pendingLanes,g|=S,d.lanes=g,bf(u,g)}}function hC(u,d){var g=u.updateQueue,S=u.alternate;if(S!==null&&(S=S.updateQueue,g===S)){var x=null,_=null;if(g=g.firstBaseUpdate,g!==null){do{var L={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};_===null?x=_=L:_=_.next=L,g=g.next}while(g!==null);_===null?x=_=d:_=_.next=d}else x=_=d;g={baseState:S.baseState,firstBaseUpdate:x,lastBaseUpdate:_,shared:S.shared,effects:S.effects},u.updateQueue=g;return}u=g.lastBaseUpdate,u===null?g.firstBaseUpdate=d:u.next=d,g.lastBaseUpdate=d}function Gp(u,d,g,S){var x=u.updateQueue;bo=!1;var _=x.firstBaseUpdate,L=x.lastBaseUpdate,q=x.shared.pending;if(q!==null){x.shared.pending=null;var ee=q,ye=ee.next;ee.next=null,L===null?_=ye:L.next=ye,L=ee;var Ue=u.alternate;Ue!==null&&(Ue=Ue.updateQueue,q=Ue.lastBaseUpdate,q!==L&&(q===null?Ue.firstBaseUpdate=ye:q.next=ye,Ue.lastBaseUpdate=ee))}if(_!==null){var He=x.baseState;L=0,Ue=ye=ee=null,q=_;do{var Ie=q.lane,mt=q.eventTime;if((S&Ie)===Ie){Ue!==null&&(Ue=Ue.next={eventTime:mt,lane:0,tag:q.tag,payload:q.payload,callback:q.callback,next:null});e:{var wt=u,Et=q;switch(Ie=d,mt=g,Et.tag){case 1:if(wt=Et.payload,typeof wt=="function"){He=wt.call(mt,He,Ie);break e}He=wt;break e;case 3:wt.flags=wt.flags&-65537|128;case 0:if(wt=Et.payload,Ie=typeof wt=="function"?wt.call(mt,He,Ie):wt,Ie==null)break e;He=z({},He,Ie);break e;case 2:bo=!0}}q.callback!==null&&q.lane!==0&&(u.flags|=64,Ie=x.effects,Ie===null?x.effects=[q]:Ie.push(q))}else mt={eventTime:mt,lane:Ie,tag:q.tag,payload:q.payload,callback:q.callback,next:null},Ue===null?(ye=Ue=mt,ee=He):Ue=Ue.next=mt,L|=Ie;if(q=q.next,q===null){if(q=x.shared.pending,q===null)break;Ie=q,q=Ie.next,Ie.next=null,x.lastBaseUpdate=Ie,x.shared.pending=null}}while(!0);if(Ue===null&&(ee=He),x.baseState=ee,x.firstBaseUpdate=ye,x.lastBaseUpdate=Ue,d=x.shared.interleaved,d!==null){x=d;do L|=x.lane,x=x.next;while(x!==d)}else _===null&&(x.shared.lanes=0);Gu|=L,u.lanes=L,u.memoizedState=He}}function ay(u,d,g){if(u=d.effects,d.effects=null,u!==null)for(d=0;d<u.length;d++){var S=u[d],x=S.callback;if(x!==null){if(S.callback=null,S=g,typeof x!="function")throw Error(n(191,x));x.call(S)}}}var fd={},ds=wa(fd),Bf=wa(fd),Hf=wa(fd);function Fu(u){if(u===fd)throw Error(n(174));return u}function oy(u,d){switch(pr(Hf,d),pr(Bf,u),pr(ds,fd),u=d.nodeType,u){case 9:case 11:d=(d=d.documentElement)?d.namespaceURI:Re(null,"");break;default:u=u===8?d.parentNode:d,d=u.namespaceURI||null,u=u.tagName,d=Re(d,u)}tr(ds),pr(ds,d)}function hd(){tr(ds),tr(Bf),tr(Hf)}function sy(u){Fu(Hf.current);var d=Fu(ds.current),g=Re(d,u.type);d!==g&&(pr(Bf,u),pr(ds,g))}function ly(u){Bf.current===u&&(tr(ds),tr(Bf))}var Pr=wa(0);function Yp(u){for(var d=u;d!==null;){if(d.tag===13){var g=d.memoizedState;if(g!==null&&(g=g.dehydrated,g===null||g.data==="$?"||g.data==="$!"))return d}else if(d.tag===19&&d.memoizedProps.revealOrder!==void 0){if(d.flags&128)return d}else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===u)break;for(;d.sibling===null;){if(d.return===null||d.return===u)return null;d=d.return}d.sibling.return=d.return,d=d.sibling}return null}var uy=[];function $f(){for(var u=0;u<uy.length;u++)uy[u]._workInProgressVersionPrimary=null;uy.length=0}var Mt=j.ReactCurrentDispatcher,bn=j.ReactCurrentBatchConfig,En=0,on=null,cr=null,ci=null,Kp=!1,qf=!1,Wf=0,cy=0;function Pe(){throw Error(n(321))}function ri(u,d){if(d===null)return!1;for(var g=0;g<d.length&&g<u.length;g++)if(!Uo(u[g],d[g]))return!1;return!0}function Ht(u,d,g,S,x,_){if(En=_,on=d,d.memoizedState=null,d.updateQueue=null,d.lanes=0,Mt.current=u===null||u.memoizedState===null?cm:dm,u=g(S,x),qf){_=0;do{if(qf=!1,Wf=0,25<=_)throw Error(n(301));_+=1,ci=cr=null,d.updateQueue=null,Mt.current=Qf,u=g(S,x)}while(qf)}if(Mt.current=rr,d=cr!==null&&cr.next!==null,En=0,ci=cr=on=null,Kp=!1,d)throw Error(n(300));return u}function jl(){var u=Wf!==0;return Wf=0,u}function yi(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ci===null?on.memoizedState=ci=u:ci=ci.next=u,ci}function bi(){if(cr===null){var u=on.alternate;u=u!==null?u.memoizedState:null}else u=cr.next;var d=ci===null?on.memoizedState:ci.next;if(d!==null)ci=d,cr=u;else{if(u===null)throw Error(n(310));cr=u,u={memoizedState:cr.memoizedState,baseState:cr.baseState,baseQueue:cr.baseQueue,queue:cr.queue,next:null},ci===null?on.memoizedState=ci=u:ci=ci.next=u}return ci}function Ra(u,d){return typeof d=="function"?d(u):d}function ju(u){var d=bi(),g=d.queue;if(g===null)throw Error(n(311));g.lastRenderedReducer=u;var S=cr,x=S.baseQueue,_=g.pending;if(_!==null){if(x!==null){var L=x.next;x.next=_.next,_.next=L}S.baseQueue=x=_,g.pending=null}if(x!==null){_=x.next,S=S.baseState;var q=L=null,ee=null,ye=_;do{var Ue=ye.lane;if((En&Ue)===Ue)ee!==null&&(ee=ee.next={lane:0,action:ye.action,hasEagerState:ye.hasEagerState,eagerState:ye.eagerState,next:null}),S=ye.hasEagerState?ye.eagerState:u(S,ye.action);else{var He={lane:Ue,action:ye.action,hasEagerState:ye.hasEagerState,eagerState:ye.eagerState,next:null};ee===null?(q=ee=He,L=S):ee=ee.next=He,on.lanes|=Ue,Gu|=Ue}ye=ye.next}while(ye!==null&&ye!==_);ee===null?L=S:ee.next=q,Uo(S,d.memoizedState)||(Si=!0),d.memoizedState=S,d.baseState=L,d.baseQueue=ee,g.lastRenderedState=S}if(u=g.interleaved,u!==null){x=u;do _=x.lane,on.lanes|=_,Gu|=_,x=x.next;while(x!==u)}else x===null&&(g.lanes=0);return[d.memoizedState,g.dispatch]}function Vl(u){var d=bi(),g=d.queue;if(g===null)throw Error(n(311));g.lastRenderedReducer=u;var S=g.dispatch,x=g.pending,_=d.memoizedState;if(x!==null){g.pending=null;var L=x=x.next;do _=u(_,L.action),L=L.next;while(L!==x);Uo(_,d.memoizedState)||(Si=!0),d.memoizedState=_,d.baseQueue===null&&(d.baseState=_),g.lastRenderedState=_}return[_,S]}function pd(){}function Zp(u,d){var g=on,S=bi(),x=d(),_=!Uo(S.memoizedState,x);if(_&&(S.memoizedState=x,Si=!0),S=S.queue,Gf(Jp.bind(null,g,S,u),[u]),S.getSnapshot!==d||_||ci!==null&&ci.memoizedState.tag&1){if(g.flags|=2048,Vu(9,Xp.bind(null,g,S,x,d),void 0,null),ii===null)throw Error(n(349));En&30||Qp(g,d,x)}return x}function Qp(u,d,g){u.flags|=16384,u={getSnapshot:d,value:g},d=on.updateQueue,d===null?(d={lastEffect:null,stores:null},on.updateQueue=d,d.stores=[u]):(g=d.stores,g===null?d.stores=[u]:g.push(u))}function Xp(u,d,g,S){d.value=g,d.getSnapshot=S,em(d)&&tm(u)}function Jp(u,d,g){return g(function(){em(d)&&tm(u)})}function em(u){var d=u.getSnapshot;u=u.value;try{var g=d();return!Uo(u,g)}catch{return!0}}function tm(u){var d=cs(u,1);d!==null&&Ga(d,u,1,-1)}function nm(u){var d=yi();return typeof u=="function"&&(u=u()),d.memoizedState=d.baseState=u,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ra,lastRenderedState:u},d.queue=u,u=u.dispatch=Zf.bind(null,on,u),[d.memoizedState,u]}function Vu(u,d,g,S){return u={tag:u,create:d,destroy:g,deps:S,next:null},d=on.updateQueue,d===null?(d={lastEffect:null,stores:null},on.updateQueue=d,d.lastEffect=u.next=u):(g=d.lastEffect,g===null?d.lastEffect=u.next=u:(S=g.next,g.next=u,u.next=S,d.lastEffect=u)),u}function rm(){return bi().memoizedState}function md(u,d,g,S){var x=yi();on.flags|=u,x.memoizedState=Vu(1|d,g,void 0,S===void 0?null:S)}function gd(u,d,g,S){var x=bi();S=S===void 0?null:S;var _=void 0;if(cr!==null){var L=cr.memoizedState;if(_=L.destroy,S!==null&&ri(S,L.deps)){x.memoizedState=Vu(d,g,_,S);return}}on.flags|=u,x.memoizedState=Vu(1|d,g,_,S)}function im(u,d){return md(8390656,8,u,d)}function Gf(u,d){return gd(2048,8,u,d)}function am(u,d){return gd(4,2,u,d)}function om(u,d){return gd(4,4,u,d)}function Yf(u,d){if(typeof d=="function")return u=u(),d(u),function(){d(null)};if(d!=null)return u=u(),d.current=u,function(){d.current=null}}function zu(u,d,g){return g=g!=null?g.concat([u]):null,gd(4,4,Yf.bind(null,d,u),g)}function Kf(){}function sm(u,d){var g=bi();d=d===void 0?null:d;var S=g.memoizedState;return S!==null&&d!==null&&ri(d,S[1])?S[0]:(g.memoizedState=[u,d],u)}function lm(u,d){var g=bi();d=d===void 0?null:d;var S=g.memoizedState;return S!==null&&d!==null&&ri(d,S[1])?S[0]:(u=u(),g.memoizedState=[u,d],u)}function um(u,d,g){return En&21?(Uo(g,d)||(g=ku(),on.lanes|=g,Gu|=g,u.baseState=!0),d):(u.baseState&&(u.baseState=!1,Si=!0),u.memoizedState=g)}function pC(u,d){var g=Dn;Dn=g!==0&&4>g?g:4,u(!0);var S=bn.transition;bn.transition={};try{u(!1),d()}finally{Dn=g,bn.transition=S}}function vd(){return bi().memoizedState}function mC(u,d,g){var S=Wa(u);if(g={lane:S,action:g,hasEagerState:!1,eagerState:null,next:null},zl(u))Pa(d,g);else if(g=dC(u,d,g,S),g!==null){var x=mr();Ga(g,u,S,x),gC(g,d,S)}}function Zf(u,d,g){var S=Wa(u),x={lane:S,action:g,hasEagerState:!1,eagerState:null,next:null};if(zl(u))Pa(d,x);else{var _=u.alternate;if(u.lanes===0&&(_===null||_.lanes===0)&&(_=d.lastRenderedReducer,_!==null))try{var L=d.lastRenderedState,q=_(L,g);if(x.hasEagerState=!0,x.eagerState=q,Uo(q,L)){var ee=d.interleaved;ee===null?(x.next=x,iy(d)):(x.next=ee.next,ee.next=x),d.interleaved=x;return}}catch{}finally{}g=dC(u,d,x,S),g!==null&&(x=mr(),Ga(g,u,S,x),gC(g,d,S))}}function zl(u){var d=u.alternate;return u===on||d!==null&&d===on}function Pa(u,d){qf=Kp=!0;var g=u.pending;g===null?d.next=d:(d.next=g.next,g.next=d),u.pending=d}function gC(u,d,g){if(g&4194240){var S=d.lanes;S&=u.pendingLanes,g|=S,d.lanes=g,bf(u,g)}}var rr={readContext:nr,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},cm={readContext:nr,useCallback:function(u,d){return yi().memoizedState=[u,d===void 0?null:d],u},useContext:nr,useEffect:im,useImperativeHandle:function(u,d,g){return g=g!=null?g.concat([u]):null,md(4194308,4,Yf.bind(null,d,u),g)},useLayoutEffect:function(u,d){return md(4194308,4,u,d)},useInsertionEffect:function(u,d){return md(4,2,u,d)},useMemo:function(u,d){var g=yi();return d=d===void 0?null:d,u=u(),g.memoizedState=[u,d],u},useReducer:function(u,d,g){var S=yi();return d=g!==void 0?g(d):d,S.memoizedState=S.baseState=d,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:d},S.queue=u,u=u.dispatch=mC.bind(null,on,u),[S.memoizedState,u]},useRef:function(u){var d=yi();return u={current:u},d.memoizedState=u},useState:nm,useDebugValue:Kf,useDeferredValue:function(u){return yi().memoizedState=u},useTransition:function(){var u=nm(!1),d=u[0];return u=pC.bind(null,u[1]),yi().memoizedState=u,[d,u]},useMutableSource:function(){},useSyncExternalStore:function(u,d,g){var S=on,x=yi();if(kr){if(g===void 0)throw Error(n(407));g=g()}else{if(g=d(),ii===null)throw Error(n(349));En&30||Qp(S,d,g)}x.memoizedState=g;var _={value:g,getSnapshot:d};return x.queue=_,im(Jp.bind(null,S,_,u),[u]),S.flags|=2048,Vu(9,Xp.bind(null,S,_,g,d),void 0,null),g},useId:function(){var u=yi(),d=ii.identifierPrefix;if(kr){var g=us,S=aa;g=(S&~(1<<32-ta(S)-1)).toString(32)+g,d=":"+d+"R"+g,g=Wf++,0<g&&(d+="H"+g.toString(32)),d+=":"}else g=cy++,d=":"+d+"r"+g.toString(32)+":";return u.memoizedState=d},unstable_isNewReconciler:!1},dm={readContext:nr,useCallback:sm,useContext:nr,useEffect:Gf,useImperativeHandle:zu,useInsertionEffect:am,useLayoutEffect:om,useMemo:lm,useReducer:ju,useRef:rm,useState:function(){return ju(Ra)},useDebugValue:Kf,useDeferredValue:function(u){var d=bi();return um(d,cr.memoizedState,u)},useTransition:function(){var u=ju(Ra)[0],d=bi().memoizedState;return[u,d]},useMutableSource:pd,useSyncExternalStore:Zp,useId:vd,unstable_isNewReconciler:!1},Qf={readContext:nr,useCallback:sm,useContext:nr,useEffect:Gf,useImperativeHandle:zu,useInsertionEffect:am,useLayoutEffect:om,useMemo:lm,useReducer:Vl,useRef:rm,useState:function(){return Vl(Ra)},useDebugValue:Kf,useDeferredValue:function(u){var d=bi();return cr===null?d.memoizedState=u:um(d,cr.memoizedState,u)},useTransition:function(){var u=Vl(Ra)[0],d=bi().memoizedState;return[u,d]},useMutableSource:pd,useSyncExternalStore:Zp,useId:vd,unstable_isNewReconciler:!1};function Da(u,d){if(u&&u.defaultProps){d=z({},d),u=u.defaultProps;for(var g in u)d[g]===void 0&&(d[g]=u[g]);return d}return d}function dy(u,d,g,S){d=u.memoizedState,g=g(S,d),g=g==null?d:z({},d,g),u.memoizedState=g,u.lanes===0&&(u.updateQueue.baseState=g)}var fm={isMounted:function(u){return(u=u._reactInternals)?tt(u)===u:!1},enqueueSetState:function(u,d,g){u=u._reactInternals;var S=mr(),x=Wa(u),_=Ys(S,x);_.payload=d,g!=null&&(_.callback=g),d=Fl(u,_,x),d!==null&&(Ga(d,u,x,S),Wp(d,u,x))},enqueueReplaceState:function(u,d,g){u=u._reactInternals;var S=mr(),x=Wa(u),_=Ys(S,x);_.tag=1,_.payload=d,g!=null&&(_.callback=g),d=Fl(u,_,x),d!==null&&(Ga(d,u,x,S),Wp(d,u,x))},enqueueForceUpdate:function(u,d){u=u._reactInternals;var g=mr(),S=Wa(u),x=Ys(g,S);x.tag=2,d!=null&&(x.callback=d),d=Fl(u,x,S),d!==null&&(Ga(d,u,S,g),Wp(d,u,S))}};function vC(u,d,g,S,x,_,L){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(S,_,L):d.prototype&&d.prototype.isPureReactComponent?!_f(g,S)||!_f(x,_):!0}function yC(u,d,g){var S=!1,x=vn,_=d.contextType;return typeof _=="object"&&_!==null?_=nr(_):(x=jr(d)?yo:Rr.current,S=d.contextTypes,_=(S=S!=null)?Ba(u,x):vn),d=new d(g,_),u.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=fm,u.stateNode=d,d._reactInternals=u,S&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=x,u.__reactInternalMemoizedMaskedChildContext=_),d}function hm(u,d,g,S){u=d.state,typeof d.componentWillReceiveProps=="function"&&d.componentWillReceiveProps(g,S),typeof d.UNSAFE_componentWillReceiveProps=="function"&&d.UNSAFE_componentWillReceiveProps(g,S),d.state!==u&&fm.enqueueReplaceState(d,d.state,null)}function fy(u,d,g,S){var x=u.stateNode;x.props=g,x.state=u.memoizedState,x.refs={},Ul(u);var _=d.contextType;typeof _=="object"&&_!==null?x.context=nr(_):(_=jr(d)?yo:Rr.current,x.context=Ba(u,_)),x.state=u.memoizedState,_=d.getDerivedStateFromProps,typeof _=="function"&&(dy(u,d,_,g),x.state=u.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(d=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),d!==x.state&&fm.enqueueReplaceState(x,x.state,null),Gp(u,g,x,S),x.state=u.memoizedState),typeof x.componentDidMount=="function"&&(u.flags|=4194308)}function Bl(u,d){try{var g="",S=d;do g+=Rt(S),S=S.return;while(S);var x=g}catch(_){x=`
|
|
98
98
|
Error generating stack: `+_.message+`
|
|
99
|
-
`+_.stack}return{value:u,source:d,stack:x,digest:null}}function pm(u,d,g){return{value:u,source:null,stack:g??null,digest:d??null}}function hy(u,d){try{console.error(d.value)}catch(g){setTimeout(function(){throw g})}}var z_=typeof WeakMap=="function"?WeakMap:Map;function Xf(u,d,g){g=Ys(-1,g),g.tag=3,g.payload={element:null};var S=d.value;return g.callback=function(){$l||($l=!0,oh=S),hy(u,d)},g}function bC(u,d,g){g=Ys(-1,g),g.tag=3;var S=u.type.getDerivedStateFromError;if(typeof S=="function"){var x=d.value;g.payload=function(){return S(x)},g.callback=function(){hy(u,d)}}var _=u.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(g.callback=function(){hy(u,d),typeof S!="function"&&(ko===null?ko=new Set([this]):ko.add(this));var L=d.stack;this.componentDidCatch(d.value,{componentStack:L!==null?L:""})}),g}function py(u,d,g){var S=u.pingCache;if(S===null){S=u.pingCache=new z_;var x=new Set;S.set(d,x)}else x=S.get(d),x===void 0&&(x=new Set,S.set(d,x));x.has(g)||(x.add(g),u=Ey.bind(null,u,d,g),d.then(u,u))}function my(u){do{var d;if((d=u.tag===13)&&(d=u.memoizedState,d=d!==null?d.dehydrated!==null:!0),d)return u;u=u.return}while(u!==null);return null}function SC(u,d,g,S,x){return u.mode&1?(u.flags|=65536,u.lanes=x,u):(u===d?u.flags|=65536:(u.flags|=128,g.flags|=131072,g.flags&=-52805,g.tag===1&&(g.alternate===null?g.tag=17:(d=Ys(-1,1),d.tag=2,Fl(g,d,1))),g.lanes|=1),u)}var Bu=j.ReactCurrentOwner,Si=!1;function Gr(u,d,g,S){d.child=u===null?Pi(d,null,g,S):zo(d,u.child,g,S)}function mm(u,d,g,S,x){g=g.render;var _=d.ref;return dd(d,x),S=Ht(u,d,g,S,_,x),g=jl(),u!==null&&!Si?(d.updateQueue=u.updateQueue,d.flags&=-2053,u.lanes&=~x,Di(u,d,x)):(kr&&g&&Kv(d),d.flags|=1,Gr(u,d,S,x),d.child)}function Aa(u,d,g,S,x){if(u===null){var _=g.type;return typeof _=="function"&&!Py(_)&&_.defaultProps===void 0&&g.compare===null&&g.defaultProps===void 0?(d.tag=15,d.type=_,Hu(u,d,_,S,x)):(u=Dm(g.type,null,S,d,d.mode,x),u.ref=d.ref,u.return=d,d.child=u)}if(_=u.child,!(u.lanes&x)){var L=_.memoizedProps;if(g=g.compare,g=g!==null?g:_f,g(L,S)&&u.ref===d.ref)return Di(u,d,x)}return d.flags|=1,u=Gl(_,S),u.ref=d.ref,u.return=d,d.child=u}function Hu(u,d,g,S,x){if(u!==null){var _=u.memoizedProps;if(_f(_,S)&&u.ref===d.ref)if(Si=!1,d.pendingProps=S=_,(u.lanes&x)!==0)u.flags&131072&&(Si=!0);else return d.lanes=u.lanes,Di(u,d,x)}return gm(u,d,g,S,x)}function ln(u,d,g){var S=d.pendingProps,x=S.children,_=u!==null?u.memoizedState:null;if(S.mode==="hidden")if(!(d.mode&1))d.memoizedState={baseLanes:0,cachePool:null,transitions:null},pr(Cd,qa),qa|=g;else{if(!(g&1073741824))return u=_!==null?_.baseLanes|g:g,d.lanes=d.childLanes=1073741824,d.memoizedState={baseLanes:u,cachePool:null,transitions:null},d.updateQueue=null,pr(Cd,qa),qa|=u,null;d.memoizedState={baseLanes:0,cachePool:null,transitions:null},S=_!==null?_.baseLanes:g,pr(Cd,qa),qa|=S}else _!==null?(S=_.baseLanes|g,d.memoizedState=null):S=g,pr(Cd,qa),qa|=S;return Gr(u,d,x,g),d.child}function Jf(u,d){var g=d.ref;(u===null&&g!==null||u!==null&&u.ref!==g)&&(d.flags|=512,d.flags|=2097152)}function gm(u,d,g,S,x){var _=jr(g)?yo:Rr.current;return _=Ba(d,_),dd(d,x),g=Ht(u,d,g,S,_,x),S=jl(),u!==null&&!Si?(d.updateQueue=u.updateQueue,d.flags&=-2053,u.lanes&=~x,Di(u,d,x)):(kr&&S&&Kv(d),d.flags|=1,Gr(u,d,g,x),d.child)}function B_(u,d,g,S,x){if(jr(g)){var _=!0;Lu(d)}else _=!1;if(dd(d,x),d.stateNode===null)So(u,d),yC(d,g,S),fy(d,g,S,x),S=!0;else if(u===null){var L=d.stateNode,q=d.memoizedProps;L.props=q;var ee=L.context,ye=g.contextType;typeof ye=="object"&&ye!==null?ye=nr(ye):(ye=jr(g)?yo:Rr.current,ye=Ba(d,ye));var Ue=g.getDerivedStateFromProps,He=typeof Ue=="function"||typeof L.getSnapshotBeforeUpdate=="function";He||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(q!==S||ee!==ye)&&hm(d,L,S,ye),bo=!1;var Ie=d.memoizedState;L.state=Ie,Gp(d,S,L,x),ee=d.memoizedState,q!==S||Ie!==ee||ti.current||bo?(typeof Ue=="function"&&(dy(d,g,Ue,S),ee=d.memoizedState),(q=bo||vC(d,g,q,S,Ie,ee,ye))?(He||typeof L.UNSAFE_componentWillMount!="function"&&typeof L.componentWillMount!="function"||(typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount()),typeof L.componentDidMount=="function"&&(d.flags|=4194308)):(typeof L.componentDidMount=="function"&&(d.flags|=4194308),d.memoizedProps=S,d.memoizedState=ee),L.props=S,L.state=ee,L.context=ye,S=q):(typeof L.componentDidMount=="function"&&(d.flags|=4194308),S=!1)}else{L=d.stateNode,fC(u,d),q=d.memoizedProps,ye=d.type===d.elementType?q:Da(d.type,q),L.props=ye,He=d.pendingProps,Ie=L.context,ee=g.contextType,typeof ee=="object"&&ee!==null?ee=nr(ee):(ee=jr(g)?yo:Rr.current,ee=Ba(d,ee));var mt=g.getDerivedStateFromProps;(Ue=typeof mt=="function"||typeof L.getSnapshotBeforeUpdate=="function")||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(q!==He||Ie!==ee)&&hm(d,L,S,ee),bo=!1,Ie=d.memoizedState,L.state=Ie,Gp(d,S,L,x);var wt=d.memoizedState;q!==He||Ie!==wt||ti.current||bo?(typeof mt=="function"&&(dy(d,g,mt,S),wt=d.memoizedState),(ye=bo||vC(d,g,ye,S,Ie,wt,ee)||!1)?(Ue||typeof L.UNSAFE_componentWillUpdate!="function"&&typeof L.componentWillUpdate!="function"||(typeof L.componentWillUpdate=="function"&&L.componentWillUpdate(S,wt,ee),typeof L.UNSAFE_componentWillUpdate=="function"&&L.UNSAFE_componentWillUpdate(S,wt,ee)),typeof L.componentDidUpdate=="function"&&(d.flags|=4),typeof L.getSnapshotBeforeUpdate=="function"&&(d.flags|=1024)):(typeof L.componentDidUpdate!="function"||q===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||q===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=1024),d.memoizedProps=S,d.memoizedState=wt),L.props=S,L.state=wt,L.context=ee,S=ye):(typeof L.componentDidUpdate!="function"||q===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||q===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=1024),S=!1)}return gy(u,d,g,S,_,x)}function gy(u,d,g,S,x,_){Jf(u,d);var L=(d.flags&128)!==0;if(!S&&!L)return x&&Gi(d,g,!1),Di(u,d,_);S=d.stateNode,Bu.current=d;var q=L&&typeof g.getDerivedStateFromError!="function"?null:S.render();return d.flags|=1,u!==null&&L?(d.child=zo(d,u.child,null,_),d.child=zo(d,null,q,_)):Gr(u,d,q,_),d.memoizedState=S.state,x&&Gi(d,g,!0),d.child}function vm(u){var d=u.stateNode;d.pendingContext?$p(u,d.pendingContext,d.pendingContext!==d.context):d.context&&$p(u,d.context,!1),oy(u,d.containerInfo)}function yd(u,d,g,S,x){return Gs(),Vf(x),d.flags|=256,Gr(u,d,g,S),d.child}var vy={dehydrated:null,treeContext:null,retryLane:0};function ym(u){return{baseLanes:u,cachePool:null,transitions:null}}function CC(u,d,g){var S=d.pendingProps,x=Pr.current,_=!1,L=(d.flags&128)!==0,q;if((q=L)||(q=u!==null&&u.memoizedState===null?!1:(x&2)!==0),q?(_=!0,d.flags&=-129):(u===null||u.memoizedState!==null)&&(x|=1),pr(Pr,x&1),u===null)return Jv(d),u=d.memoizedState,u!==null&&(u=u.dehydrated,u!==null)?(d.mode&1?u.data==="$!"?d.lanes=8:d.lanes=1073741824:d.lanes=1,null):(L=S.children,u=S.fallback,_?(S=d.mode,_=d.child,L={mode:"hidden",children:L},!(S&1)&&_!==null?(_.childLanes=0,_.pendingProps=L):_=Ed(L,S,0,null),u=Yl(u,S,g,null),_.return=d,u.return=d,_.sibling=u,d.child=_,d.child.memoizedState=ym(g),d.memoizedState=vy,u):eh(d,L));if(x=u.memoizedState,x!==null&&(q=x.dehydrated,q!==null))return kC(u,d,L,S,q,x,g);if(_){_=S.fallback,L=d.mode,x=u.child,q=x.sibling;var ee={mode:"hidden",children:S.children};return!(L&1)&&d.child!==x?(S=d.child,S.childLanes=0,S.pendingProps=ee,d.deletions=null):(S=Gl(x,ee),S.subtreeFlags=x.subtreeFlags&14680064),q!==null?_=Gl(q,_):(_=Yl(_,L,g,null),_.flags|=2),_.return=d,S.return=d,S.sibling=_,d.child=S,S=_,_=d.child,L=u.child.memoizedState,L=L===null?ym(g):{baseLanes:L.baseLanes|g,cachePool:null,transitions:L.transitions},_.memoizedState=L,_.childLanes=u.childLanes&~g,d.memoizedState=vy,S}return _=u.child,u=_.sibling,S=Gl(_,{mode:"visible",children:S.children}),!(d.mode&1)&&(S.lanes=g),S.return=d,S.sibling=null,u!==null&&(g=d.deletions,g===null?(d.deletions=[u],d.flags|=16):g.push(u)),d.child=S,d.memoizedState=null,S}function eh(u,d){return d=Ed({mode:"visible",children:d},u.mode,0,null),d.return=u,u.child=d}function bm(u,d,g,S){return S!==null&&Vf(S),zo(d,u.child,null,g),u=eh(d,d.pendingProps.children),u.flags|=2,d.memoizedState=null,u}function kC(u,d,g,S,x,_,L){if(g)return d.flags&256?(d.flags&=-257,S=pm(Error(n(422))),bm(u,d,L,S)):d.memoizedState!==null?(d.child=u.child,d.flags|=128,null):(_=S.fallback,x=d.mode,S=Ed({mode:"visible",children:S.children},x,0,null),_=Yl(_,x,L,null),_.flags|=2,S.return=d,_.return=d,S.sibling=_,d.child=S,d.mode&1&&zo(d,u.child,null,L),d.child.memoizedState=ym(L),d.memoizedState=vy,_);if(!(d.mode&1))return bm(u,d,L,null);if(x.data==="$!"){if(S=x.nextSibling&&x.nextSibling.dataset,S)var q=S.dgst;return S=q,_=Error(n(419)),S=pm(_,S,void 0),bm(u,d,L,S)}if(q=(L&u.childLanes)!==0,Si||q){if(S=ii,S!==null){switch(L&-L){case 4:x=2;break;case 16:x=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:x=32;break;case 536870912:x=268435456;break;default:x=0}x=x&(S.suspendedLanes|L)?0:x,x!==0&&x!==_.retryLane&&(_.retryLane=x,cs(u,x),Ga(S,u,x,-1))}return wy(),S=pm(Error(n(421))),bm(u,d,L,S)}return x.data==="$?"?(d.flags|=128,d.child=u.child,d=Y_.bind(null,u),x._reactRetry=d,null):(u=_.treeContext,Ea=Fo(x.nextSibling),_a=d,kr=!0,Vo=null,u!==null&&(Ri[ni++]=aa,Ri[ni++]=us,Ri[ni++]=Nu,aa=u.id,us=u.overflow,Nu=d),d=eh(d,S.children),d.flags|=4096,d)}function yy(u,d,g){u.lanes|=d;var S=u.alternate;S!==null&&(S.lanes|=d),ry(u.return,d,g)}function Sm(u,d,g,S,x){var _=u.memoizedState;_===null?u.memoizedState={isBackwards:d,rendering:null,renderingStartTime:0,last:S,tail:g,tailMode:x}:(_.isBackwards=d,_.rendering=null,_.renderingStartTime=0,_.last=S,_.tail=g,_.tailMode=x)}function Oa(u,d,g){var S=d.pendingProps,x=S.revealOrder,_=S.tail;if(Gr(u,d,S.children,g),S=Pr.current,S&2)S=S&1|2,d.flags|=128;else{if(u!==null&&u.flags&128)e:for(u=d.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&yy(u,g,d);else if(u.tag===19)yy(u,g,d);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===d)break e;for(;u.sibling===null;){if(u.return===null||u.return===d)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}S&=1}if(pr(Pr,S),!(d.mode&1))d.memoizedState=null;else switch(x){case"forwards":for(g=d.child,x=null;g!==null;)u=g.alternate,u!==null&&Yp(u)===null&&(x=g),g=g.sibling;g=x,g===null?(x=d.child,d.child=null):(x=g.sibling,g.sibling=null),Sm(d,!1,x,g,_);break;case"backwards":for(g=null,x=d.child,d.child=null;x!==null;){if(u=x.alternate,u!==null&&Yp(u)===null){d.child=x;break}u=x.sibling,x.sibling=g,g=x,x=u}Sm(d,!0,g,null,_);break;case"together":Sm(d,!1,null,null,void 0);break;default:d.memoizedState=null}return d.child}function So(u,d){!(d.mode&1)&&u!==null&&(u.alternate=null,d.alternate=null,d.flags|=2)}function Di(u,d,g){if(u!==null&&(d.dependencies=u.dependencies),Gu|=d.lanes,!(g&d.childLanes))return null;if(u!==null&&d.child!==u.child)throw Error(n(153));if(d.child!==null){for(u=d.child,g=Gl(u,u.pendingProps),d.child=g,g.return=d;u.sibling!==null;)u=u.sibling,g=g.sibling=Gl(u,u.pendingProps),g.return=d;g.sibling=null}return d.child}function Cm(u,d,g){switch(d.tag){case 3:vm(d),Gs();break;case 5:sy(d);break;case 1:jr(d.type)&&Lu(d);break;case 4:oy(d,d.stateNode.containerInfo);break;case 10:var S=d.type._context,x=d.memoizedProps.value;pr(at,S._currentValue),S._currentValue=x;break;case 13:if(S=d.memoizedState,S!==null)return S.dehydrated!==null?(pr(Pr,Pr.current&1),d.flags|=128,null):g&d.child.childLanes?CC(u,d,g):(pr(Pr,Pr.current&1),u=Di(u,d,g),u!==null?u.sibling:null);pr(Pr,Pr.current&1);break;case 19:if(S=(g&d.childLanes)!==0,u.flags&128){if(S)return Oa(u,d,g);d.flags|=128}if(x=d.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),pr(Pr,Pr.current),S)break;return null;case 22:case 23:return d.lanes=0,ln(u,d,g)}return Di(u,d,g)}var bd,$a,di,TC;bd=function(u,d){for(var g=d.child;g!==null;){if(g.tag===5||g.tag===6)u.appendChild(g.stateNode);else if(g.tag!==4&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===d)break;for(;g.sibling===null;){if(g.return===null||g.return===d)return;g=g.return}g.sibling.return=g.return,g=g.sibling}},$a=function(){},di=function(u,d,g,S){var x=u.memoizedProps;if(x!==S){u=d.stateNode,Fu(ds.current);var _=null;switch(g){case"input":x=Xn(u,x),S=Xn(u,S),_=[];break;case"select":x=z({},x,{value:void 0}),S=z({},S,{value:void 0}),_=[];break;case"textarea":x=Ve(u,x),S=Ve(u,S),_=[];break;default:typeof x.onClick!="function"&&typeof S.onClick=="function"&&(u.onclick=Vp)}cn(g,S);var L;g=null;for(ye in x)if(!S.hasOwnProperty(ye)&&x.hasOwnProperty(ye)&&x[ye]!=null)if(ye==="style"){var q=x[ye];for(L in q)q.hasOwnProperty(L)&&(g||(g={}),g[L]="")}else ye!=="dangerouslySetInnerHTML"&&ye!=="children"&&ye!=="suppressContentEditableWarning"&&ye!=="suppressHydrationWarning"&&ye!=="autoFocus"&&(a.hasOwnProperty(ye)?_||(_=[]):(_=_||[]).push(ye,null));for(ye in S){var ee=S[ye];if(q=x!=null?x[ye]:void 0,S.hasOwnProperty(ye)&&ee!==q&&(ee!=null||q!=null))if(ye==="style")if(q){for(L in q)!q.hasOwnProperty(L)||ee&&ee.hasOwnProperty(L)||(g||(g={}),g[L]="");for(L in ee)ee.hasOwnProperty(L)&&q[L]!==ee[L]&&(g||(g={}),g[L]=ee[L])}else g||(_||(_=[]),_.push(ye,g)),g=ee;else ye==="dangerouslySetInnerHTML"?(ee=ee?ee.__html:void 0,q=q?q.__html:void 0,ee!=null&&q!==ee&&(_=_||[]).push(ye,ee)):ye==="children"?typeof ee!="string"&&typeof ee!="number"||(_=_||[]).push(ye,""+ee):ye!=="suppressContentEditableWarning"&&ye!=="suppressHydrationWarning"&&(a.hasOwnProperty(ye)?(ee!=null&&ye==="onScroll"&&Zn("scroll",u),_||q===ee||(_=[])):(_=_||[]).push(ye,ee))}g&&(_=_||[]).push("style",g);var ye=_;(d.updateQueue=ye)&&(d.flags|=4)}},TC=function(u,d,g,S){g!==S&&(d.flags|=4)};function th(u,d){if(!kr)switch(u.tailMode){case"hidden":d=u.tail;for(var g=null;d!==null;)d.alternate!==null&&(g=d),d=d.sibling;g===null?u.tail=null:g.sibling=null;break;case"collapsed":g=u.tail;for(var S=null;g!==null;)g.alternate!==null&&(S=g),g=g.sibling;S===null?d||u.tail===null?u.tail=null:u.tail.sibling=null:S.sibling=null}}function Ki(u){var d=u.alternate!==null&&u.alternate.child===u.child,g=0,S=0;if(d)for(var x=u.child;x!==null;)g|=x.lanes|x.childLanes,S|=x.subtreeFlags&14680064,S|=x.flags&14680064,x.return=u,x=x.sibling;else for(x=u.child;x!==null;)g|=x.lanes|x.childLanes,S|=x.subtreeFlags,S|=x.flags,x.return=u,x=x.sibling;return u.subtreeFlags|=S,u.childLanes=g,d}function by(u,d,g){var S=d.pendingProps;switch(qp(d),d.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ki(d),null;case 1:return jr(d.type)&&ls(),Ki(d),null;case 3:return S=d.stateNode,hd(),tr(ti),tr(Rr),$f(),S.pendingContext&&(S.context=S.pendingContext,S.pendingContext=null),(u===null||u.child===null)&&(Wr(d)?d.flags|=4:u===null||u.memoizedState.isDehydrated&&!(d.flags&256)||(d.flags|=1024,Vo!==null&&(ch(Vo),Vo=null))),$a(u,d),Ki(d),null;case 5:ly(d);var x=Fu(Hf.current);if(g=d.type,u!==null&&d.stateNode!=null)di(u,d,g,S,x),u.ref!==d.ref&&(d.flags|=512,d.flags|=2097152);else{if(!S){if(d.stateNode===null)throw Error(n(166));return Ki(d),null}if(u=Fu(ds.current),Wr(d)){S=d.stateNode,g=d.type;var _=d.memoizedProps;switch(S[vo]=d,S[If]=_,u=(d.mode&1)!==0,g){case"dialog":Zn("cancel",S),Zn("close",S);break;case"iframe":case"object":case"embed":Zn("load",S);break;case"video":case"audio":for(x=0;x<Af.length;x++)Zn(Af[x],S);break;case"source":Zn("error",S);break;case"img":case"image":case"link":Zn("error",S),Zn("load",S);break;case"details":Zn("toggle",S);break;case"input":Lr(S,_),Zn("invalid",S);break;case"select":S._wrapperState={wasMultiple:!!_.multiple},Zn("invalid",S);break;case"textarea":Me(S,_),Zn("invalid",S)}cn(g,_),x=null;for(var L in _)if(_.hasOwnProperty(L)){var q=_[L];L==="children"?typeof q=="string"?S.textContent!==q&&(_.suppressHydrationWarning!==!0&&jp(S.textContent,q,u),x=["children",q]):typeof q=="number"&&S.textContent!==""+q&&(_.suppressHydrationWarning!==!0&&jp(S.textContent,q,u),x=["children",""+q]):a.hasOwnProperty(L)&&q!=null&&L==="onScroll"&&Zn("scroll",S)}switch(g){case"input":qn(S),Z(S,_,!0);break;case"textarea":qn(S),Nt(S);break;case"select":case"option":break;default:typeof _.onClick=="function"&&(S.onclick=Vp)}S=x,d.updateQueue=S,S!==null&&(d.flags|=4)}else{L=x.nodeType===9?x:x.ownerDocument,u==="http://www.w3.org/1999/xhtml"&&(u=fe(g)),u==="http://www.w3.org/1999/xhtml"?g==="script"?(u=L.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild)):typeof S.is=="string"?u=L.createElement(g,{is:S.is}):(u=L.createElement(g),g==="select"&&(L=u,S.multiple?L.multiple=!0:S.size&&(L.size=S.size))):u=L.createElementNS(u,g),u[vo]=d,u[If]=S,bd(u,d,!1,!1),d.stateNode=u;e:{switch(L=Pn(g,S),g){case"dialog":Zn("cancel",u),Zn("close",u),x=S;break;case"iframe":case"object":case"embed":Zn("load",u),x=S;break;case"video":case"audio":for(x=0;x<Af.length;x++)Zn(Af[x],u);x=S;break;case"source":Zn("error",u),x=S;break;case"img":case"image":case"link":Zn("error",u),Zn("load",u),x=S;break;case"details":Zn("toggle",u),x=S;break;case"input":Lr(u,S),x=Xn(u,S),Zn("invalid",u);break;case"option":x=S;break;case"select":u._wrapperState={wasMultiple:!!S.multiple},x=z({},S,{value:void 0}),Zn("invalid",u);break;case"textarea":Me(u,S),x=Ve(u,S),Zn("invalid",u);break;default:x=S}cn(g,x),q=x;for(_ in q)if(q.hasOwnProperty(_)){var ee=q[_];_==="style"?un(u,ee):_==="dangerouslySetInnerHTML"?(ee=ee?ee.__html:void 0,ee!=null&&Ft(u,ee)):_==="children"?typeof ee=="string"?(g!=="textarea"||ee!=="")&&Kt(u,ee):typeof ee=="number"&&Kt(u,""+ee):_!=="suppressContentEditableWarning"&&_!=="suppressHydrationWarning"&&_!=="autoFocus"&&(a.hasOwnProperty(_)?ee!=null&&_==="onScroll"&&Zn("scroll",u):ee!=null&&V(u,_,ee,L))}switch(g){case"input":qn(u),Z(u,S,!1);break;case"textarea":qn(u),Nt(u);break;case"option":S.value!=null&&u.setAttribute("value",""+it(S.value));break;case"select":u.multiple=!!S.multiple,_=S.value,_!=null?je(u,!!S.multiple,_,!1):S.defaultValue!=null&&je(u,!!S.multiple,S.defaultValue,!0);break;default:typeof x.onClick=="function"&&(u.onclick=Vp)}switch(g){case"button":case"input":case"select":case"textarea":S=!!S.autoFocus;break e;case"img":S=!0;break e;default:S=!1}}S&&(d.flags|=4)}d.ref!==null&&(d.flags|=512,d.flags|=2097152)}return Ki(d),null;case 6:if(u&&d.stateNode!=null)TC(u,d,u.memoizedProps,S);else{if(typeof S!="string"&&d.stateNode===null)throw Error(n(166));if(g=Fu(Hf.current),Fu(ds.current),Wr(d)){if(S=d.stateNode,g=d.memoizedProps,S[vo]=d,(_=S.nodeValue!==g)&&(u=_a,u!==null))switch(u.tag){case 3:jp(S.nodeValue,g,(u.mode&1)!==0);break;case 5:u.memoizedProps.suppressHydrationWarning!==!0&&jp(S.nodeValue,g,(u.mode&1)!==0)}_&&(d.flags|=4)}else S=(g.nodeType===9?g:g.ownerDocument).createTextNode(S),S[vo]=d,d.stateNode=S}return Ki(d),null;case 13:if(tr(Pr),S=d.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(kr&&Ea!==null&&d.mode&1&&!(d.flags&128))lC(),Gs(),d.flags|=98560,_=!1;else if(_=Wr(d),S!==null&&S.dehydrated!==null){if(u===null){if(!_)throw Error(n(318));if(_=d.memoizedState,_=_!==null?_.dehydrated:null,!_)throw Error(n(317));_[vo]=d}else Gs(),!(d.flags&128)&&(d.memoizedState=null),d.flags|=4;Ki(d),_=!1}else Vo!==null&&(ch(Vo),Vo=null),_=!0;if(!_)return d.flags&65536?d:null}return d.flags&128?(d.lanes=g,d):(S=S!==null,S!==(u!==null&&u.memoizedState!==null)&&S&&(d.child.flags|=8192,d.mode&1&&(u===null||Pr.current&1?fi===0&&(fi=3):wy())),d.updateQueue!==null&&(d.flags|=4),Ki(d),null);case 4:return hd(),$a(u,d),u===null&&Mf(d.stateNode.containerInfo),Ki(d),null;case 10:return ny(d.type._context),Ki(d),null;case 17:return jr(d.type)&&ls(),Ki(d),null;case 19:if(tr(Pr),_=d.memoizedState,_===null)return Ki(d),null;if(S=(d.flags&128)!==0,L=_.rendering,L===null)if(S)th(_,!1);else{if(fi!==0||u!==null&&u.flags&128)for(u=d.child;u!==null;){if(L=Yp(u),L!==null){for(d.flags|=128,th(_,!1),S=L.updateQueue,S!==null&&(d.updateQueue=S,d.flags|=4),d.subtreeFlags=0,S=g,g=d.child;g!==null;)_=g,u=S,_.flags&=14680066,L=_.alternate,L===null?(_.childLanes=0,_.lanes=u,_.child=null,_.subtreeFlags=0,_.memoizedProps=null,_.memoizedState=null,_.updateQueue=null,_.dependencies=null,_.stateNode=null):(_.childLanes=L.childLanes,_.lanes=L.lanes,_.child=L.child,_.subtreeFlags=0,_.deletions=null,_.memoizedProps=L.memoizedProps,_.memoizedState=L.memoizedState,_.updateQueue=L.updateQueue,_.type=L.type,u=L.dependencies,_.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),g=g.sibling;return pr(Pr,Pr.current&1|2),d.child}u=u.sibling}_.tail!==null&&Yn()>Td&&(d.flags|=128,S=!0,th(_,!1),d.lanes=4194304)}else{if(!S)if(u=Yp(L),u!==null){if(d.flags|=128,S=!0,g=u.updateQueue,g!==null&&(d.updateQueue=g,d.flags|=4),th(_,!0),_.tail===null&&_.tailMode==="hidden"&&!L.alternate&&!kr)return Ki(d),null}else 2*Yn()-_.renderingStartTime>Td&&g!==1073741824&&(d.flags|=128,S=!0,th(_,!1),d.lanes=4194304);_.isBackwards?(L.sibling=d.child,d.child=L):(g=_.last,g!==null?g.sibling=L:d.child=L,_.last=L)}return _.tail!==null?(d=_.tail,_.rendering=d,_.tail=d.sibling,_.renderingStartTime=Yn(),d.sibling=null,g=Pr.current,pr(Pr,S?g&1|2:g&1),d):(Ki(d),null);case 22:case 23:return xy(),S=d.memoizedState!==null,u!==null&&u.memoizedState!==null!==S&&(d.flags|=8192),S&&d.mode&1?qa&1073741824&&(Ki(d),d.subtreeFlags&6&&(d.flags|=8192)):Ki(d),null;case 24:return null;case 25:return null}throw Error(n(156,d.tag))}function xC(u,d){switch(qp(d),d.tag){case 1:return jr(d.type)&&ls(),u=d.flags,u&65536?(d.flags=u&-65537|128,d):null;case 3:return hd(),tr(ti),tr(Rr),$f(),u=d.flags,u&65536&&!(u&128)?(d.flags=u&-65537|128,d):null;case 5:return ly(d),null;case 13:if(tr(Pr),u=d.memoizedState,u!==null&&u.dehydrated!==null){if(d.alternate===null)throw Error(n(340));Gs()}return u=d.flags,u&65536?(d.flags=u&-65537|128,d):null;case 19:return tr(Pr),null;case 4:return hd(),null;case 10:return ny(d.type._context),null;case 22:case 23:return xy(),null;case 24:return null;default:return null}}var $u=!1,Ai=!1,H_=typeof WeakSet=="function"?WeakSet:Set,kt=null;function Hl(u,d){var g=u.ref;if(g!==null)if(typeof g=="function")try{g(null)}catch(S){Vr(u,d,S)}else g.current=null}function Sy(u,d,g){try{g()}catch(S){Vr(u,d,S)}}var Cy=!1;function $_(u,d){if(Au=El,u=Dl(),ed(u)){if("selectionStart"in u)var g={start:u.selectionStart,end:u.selectionEnd};else e:{g=(g=u.ownerDocument)&&g.defaultView||window;var S=g.getSelection&&g.getSelection();if(S&&S.rangeCount!==0){g=S.anchorNode;var x=S.anchorOffset,_=S.focusNode;S=S.focusOffset;try{g.nodeType,_.nodeType}catch{g=null;break e}var L=0,q=-1,ee=-1,ye=0,Ue=0,He=u,Ie=null;t:for(;;){for(var mt;He!==g||x!==0&&He.nodeType!==3||(q=L+x),He!==_||S!==0&&He.nodeType!==3||(ee=L+S),He.nodeType===3&&(L+=He.nodeValue.length),(mt=He.firstChild)!==null;)Ie=He,He=mt;for(;;){if(He===u)break t;if(Ie===g&&++ye===x&&(q=L),Ie===_&&++Ue===S&&(ee=L),(mt=He.nextSibling)!==null)break;He=Ie,Ie=He.parentNode}He=mt}g=q===-1||ee===-1?null:{start:q,end:ee}}else g=null}g=g||{start:0,end:0}}else g=null;for(Nf={focusedElem:u,selectionRange:g},El=!1,kt=d;kt!==null;)if(d=kt,u=d.child,(d.subtreeFlags&1028)!==0&&u!==null)u.return=d,kt=u;else for(;kt!==null;){d=kt;try{var wt=d.alternate;if(d.flags&1024)switch(d.tag){case 0:case 11:case 15:break;case 1:if(wt!==null){var Et=wt.memoizedProps,Kr=wt.memoizedState,ue=d.stateNode,ie=ue.getSnapshotBeforeUpdate(d.elementType===d.type?Et:Da(d.type,Et),Kr);ue.__reactInternalSnapshotBeforeUpdate=ie}break;case 3:var he=d.stateNode.containerInfo;he.nodeType===1?he.textContent="":he.nodeType===9&&he.documentElement&&he.removeChild(he.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Ke){Vr(d,d.return,Ke)}if(u=d.sibling,u!==null){u.return=d.return,kt=u;break}kt=d.return}return wt=Cy,Cy=!1,wt}function Sd(u,d,g){var S=d.updateQueue;if(S=S!==null?S.lastEffect:null,S!==null){var x=S=S.next;do{if((x.tag&u)===u){var _=x.destroy;x.destroy=void 0,_!==void 0&&Sy(d,g,_)}x=x.next}while(x!==S)}}function km(u,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&u)===u){var S=g.create;g.destroy=S()}g=g.next}while(g!==d)}}function Tm(u){var d=u.ref;if(d!==null){var g=u.stateNode;switch(u.tag){case 5:u=g;break;default:u=g}typeof d=="function"?d(u):d.current=u}}function wC(u){var d=u.alternate;d!==null&&(u.alternate=null,wC(d)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(d=u.stateNode,d!==null&&(delete d[vo],delete d[If],delete d[Wv],delete d[Gv],delete d[ld])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function xm(u){return u.tag===5||u.tag===3||u.tag===4}function nh(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||xm(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function fs(u,d,g){var S=u.tag;if(S===5||S===6)u=u.stateNode,d?g.nodeType===8?g.parentNode.insertBefore(u,d):g.insertBefore(u,d):(g.nodeType===8?(d=g.parentNode,d.insertBefore(u,g)):(d=g,d.appendChild(u)),g=g._reactRootContainer,g!=null||d.onclick!==null||(d.onclick=Vp));else if(S!==4&&(u=u.child,u!==null))for(fs(u,d,g),u=u.sibling;u!==null;)fs(u,d,g),u=u.sibling}function hs(u,d,g){var S=u.tag;if(S===5||S===6)u=u.stateNode,d?g.insertBefore(u,d):g.appendChild(u);else if(S!==4&&(u=u.child,u!==null))for(hs(u,d,g),u=u.sibling;u!==null;)hs(u,d,g),u=u.sibling}var Dr=null,oa=!1;function Co(u,d,g){for(g=g.child;g!==null;)Ks(u,d,g),g=g.sibling}function Ks(u,d,g){if(Ca&&typeof Ca.onCommitFiberUnmount=="function")try{Ca.onCommitFiberUnmount(Tl,g)}catch{}switch(g.tag){case 5:Ai||Hl(g,d);case 6:var S=Dr,x=oa;Dr=null,Co(u,d,g),Dr=S,oa=x,Dr!==null&&(oa?(u=Dr,g=g.stateNode,u.nodeType===8?u.parentNode.removeChild(g):u.removeChild(g)):Dr.removeChild(g.stateNode));break;case 18:Dr!==null&&(oa?(u=Dr,g=g.stateNode,u.nodeType===8?od(u.parentNode,g):u.nodeType===1&&od(u,g),po(u)):od(Dr,g.stateNode));break;case 4:S=Dr,x=oa,Dr=g.stateNode.containerInfo,oa=!0,Co(u,d,g),Dr=S,oa=x;break;case 0:case 11:case 14:case 15:if(!Ai&&(S=g.updateQueue,S!==null&&(S=S.lastEffect,S!==null))){x=S=S.next;do{var _=x,L=_.destroy;_=_.tag,L!==void 0&&(_&2||_&4)&&Sy(g,d,L),x=x.next}while(x!==S)}Co(u,d,g);break;case 1:if(!Ai&&(Hl(g,d),S=g.stateNode,typeof S.componentWillUnmount=="function"))try{S.props=g.memoizedProps,S.state=g.memoizedState,S.componentWillUnmount()}catch(q){Vr(g,d,q)}Co(u,d,g);break;case 21:Co(u,d,g);break;case 22:g.mode&1?(Ai=(S=Ai)||g.memoizedState!==null,Co(u,d,g),Ai=S):Co(u,d,g);break;default:Co(u,d,g)}}function _C(u){var d=u.updateQueue;if(d!==null){u.updateQueue=null;var g=u.stateNode;g===null&&(g=u.stateNode=new H_),d.forEach(function(S){var x=K_.bind(null,u,S);g.has(S)||(g.add(S),S.then(x,x))})}}function Bo(u,d){var g=d.deletions;if(g!==null)for(var S=0;S<g.length;S++){var x=g[S];try{var _=u,L=d,q=L;e:for(;q!==null;){switch(q.tag){case 5:Dr=q.stateNode,oa=!1;break e;case 3:Dr=q.stateNode.containerInfo,oa=!0;break e;case 4:Dr=q.stateNode.containerInfo,oa=!0;break e}q=q.return}if(Dr===null)throw Error(n(160));Ks(_,L,x),Dr=null,oa=!1;var ee=x.alternate;ee!==null&&(ee.return=null),x.return=null}catch(ye){Vr(x,d,ye)}}if(d.subtreeFlags&12854)for(d=d.child;d!==null;)EC(d,u),d=d.sibling}function EC(u,d){var g=u.alternate,S=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:if(Bo(d,u),Ho(u),S&4){try{Sd(3,u,u.return),km(3,u)}catch(Et){Vr(u,u.return,Et)}try{Sd(5,u,u.return)}catch(Et){Vr(u,u.return,Et)}}break;case 1:Bo(d,u),Ho(u),S&512&&g!==null&&Hl(g,g.return);break;case 5:if(Bo(d,u),Ho(u),S&512&&g!==null&&Hl(g,g.return),u.flags&32){var x=u.stateNode;try{Kt(x,"")}catch(Et){Vr(u,u.return,Et)}}if(S&4&&(x=u.stateNode,x!=null)){var _=u.memoizedProps,L=g!==null?g.memoizedProps:_,q=u.type,ee=u.updateQueue;if(u.updateQueue=null,ee!==null)try{q==="input"&&_.type==="radio"&&_.name!=null&&Sn(x,_),Pn(q,L);var ye=Pn(q,_);for(L=0;L<ee.length;L+=2){var Ue=ee[L],He=ee[L+1];Ue==="style"?un(x,He):Ue==="dangerouslySetInnerHTML"?Ft(x,He):Ue==="children"?Kt(x,He):V(x,Ue,He,ye)}switch(q){case"input":Lt(x,_);break;case"textarea":ut(x,_);break;case"select":var Ie=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!_.multiple;var mt=_.value;mt!=null?je(x,!!_.multiple,mt,!1):Ie!==!!_.multiple&&(_.defaultValue!=null?je(x,!!_.multiple,_.defaultValue,!0):je(x,!!_.multiple,_.multiple?[]:"",!1))}x[If]=_}catch(Et){Vr(u,u.return,Et)}}break;case 6:if(Bo(d,u),Ho(u),S&4){if(u.stateNode===null)throw Error(n(162));x=u.stateNode,_=u.memoizedProps;try{x.nodeValue=_}catch(Et){Vr(u,u.return,Et)}}break;case 3:if(Bo(d,u),Ho(u),S&4&&g!==null&&g.memoizedState.isDehydrated)try{po(d.containerInfo)}catch(Et){Vr(u,u.return,Et)}break;case 4:Bo(d,u),Ho(u);break;case 13:Bo(d,u),Ho(u),x=u.child,x.flags&8192&&(_=x.memoizedState!==null,x.stateNode.isHidden=_,!_||x.alternate!==null&&x.alternate.memoizedState!==null||(Ty=Yn())),S&4&&_C(u);break;case 22:if(Ue=g!==null&&g.memoizedState!==null,u.mode&1?(Ai=(ye=Ai)||Ue,Bo(d,u),Ai=ye):Bo(d,u),Ho(u),S&8192){if(ye=u.memoizedState!==null,(u.stateNode.isHidden=ye)&&!Ue&&u.mode&1)for(kt=u,Ue=u.child;Ue!==null;){for(He=kt=Ue;kt!==null;){switch(Ie=kt,mt=Ie.child,Ie.tag){case 0:case 11:case 14:case 15:Sd(4,Ie,Ie.return);break;case 1:Hl(Ie,Ie.return);var wt=Ie.stateNode;if(typeof wt.componentWillUnmount=="function"){S=Ie,g=Ie.return;try{d=S,wt.props=d.memoizedProps,wt.state=d.memoizedState,wt.componentWillUnmount()}catch(Et){Vr(S,g,Et)}}break;case 5:Hl(Ie,Ie.return);break;case 22:if(Ie.memoizedState!==null){PC(He);continue}}mt!==null?(mt.return=Ie,kt=mt):PC(He)}Ue=Ue.sibling}e:for(Ue=null,He=u;;){if(He.tag===5){if(Ue===null){Ue=He;try{x=He.stateNode,ye?(_=x.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none"):(q=He.stateNode,ee=He.memoizedProps.style,L=ee!=null&&ee.hasOwnProperty("display")?ee.display:null,q.style.display=At("display",L))}catch(Et){Vr(u,u.return,Et)}}}else if(He.tag===6){if(Ue===null)try{He.stateNode.nodeValue=ye?"":He.memoizedProps}catch(Et){Vr(u,u.return,Et)}}else if((He.tag!==22&&He.tag!==23||He.memoizedState===null||He===u)&&He.child!==null){He.child.return=He,He=He.child;continue}if(He===u)break e;for(;He.sibling===null;){if(He.return===null||He.return===u)break e;Ue===He&&(Ue=null),He=He.return}Ue===He&&(Ue=null),He.sibling.return=He.return,He=He.sibling}}break;case 19:Bo(d,u),Ho(u),S&4&&_C(u);break;case 21:break;default:Bo(d,u),Ho(u)}}function Ho(u){var d=u.flags;if(d&2){try{e:{for(var g=u.return;g!==null;){if(xm(g)){var S=g;break e}g=g.return}throw Error(n(160))}switch(S.tag){case 5:var x=S.stateNode;S.flags&32&&(Kt(x,""),S.flags&=-33);var _=nh(u);hs(u,_,x);break;case 3:case 4:var L=S.stateNode.containerInfo,q=nh(u);fs(u,q,L);break;default:throw Error(n(161))}}catch(ee){Vr(u,u.return,ee)}u.flags&=-3}d&4096&&(u.flags&=-4097)}function rh(u,d,g){kt=u,RC(u)}function RC(u,d,g){for(var S=(u.mode&1)!==0;kt!==null;){var x=kt,_=x.child;if(x.tag===22&&S){var L=x.memoizedState!==null||$u;if(!L){var q=x.alternate,ee=q!==null&&q.memoizedState!==null||Ai;q=$u;var ye=Ai;if($u=L,(Ai=ee)&&!ye)for(kt=x;kt!==null;)L=kt,ee=L.child,L.tag===22&&L.memoizedState!==null?ih(x):ee!==null?(ee.return=L,kt=ee):ih(x);for(;_!==null;)kt=_,RC(_),_=_.sibling;kt=x,$u=q,Ai=ye}ky(u)}else x.subtreeFlags&8772&&_!==null?(_.return=x,kt=_):ky(u)}}function ky(u){for(;kt!==null;){var d=kt;if(d.flags&8772){var g=d.alternate;try{if(d.flags&8772)switch(d.tag){case 0:case 11:case 15:Ai||km(5,d);break;case 1:var S=d.stateNode;if(d.flags&4&&!Ai)if(g===null)S.componentDidMount();else{var x=d.elementType===d.type?g.memoizedProps:Da(d.type,g.memoizedProps);S.componentDidUpdate(x,g.memoizedState,S.__reactInternalSnapshotBeforeUpdate)}var _=d.updateQueue;_!==null&&ay(d,_,S);break;case 3:var L=d.updateQueue;if(L!==null){if(g=null,d.child!==null)switch(d.child.tag){case 5:g=d.child.stateNode;break;case 1:g=d.child.stateNode}ay(d,L,g)}break;case 5:var q=d.stateNode;if(g===null&&d.flags&4){g=q;var ee=d.memoizedProps;switch(d.type){case"button":case"input":case"select":case"textarea":ee.autoFocus&&g.focus();break;case"img":ee.src&&(g.src=ee.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(d.memoizedState===null){var ye=d.alternate;if(ye!==null){var Ue=ye.memoizedState;if(Ue!==null){var He=Ue.dehydrated;He!==null&&po(He)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Ai||d.flags&512&&Tm(d)}catch(Ie){Vr(d,d.return,Ie)}}if(d===u){kt=null;break}if(g=d.sibling,g!==null){g.return=d.return,kt=g;break}kt=d.return}}function PC(u){for(;kt!==null;){var d=kt;if(d===u){kt=null;break}var g=d.sibling;if(g!==null){g.return=d.return,kt=g;break}kt=d.return}}function ih(u){for(;kt!==null;){var d=kt;try{switch(d.tag){case 0:case 11:case 15:var g=d.return;try{km(4,d)}catch(ee){Vr(d,g,ee)}break;case 1:var S=d.stateNode;if(typeof S.componentDidMount=="function"){var x=d.return;try{S.componentDidMount()}catch(ee){Vr(d,x,ee)}}var _=d.return;try{Tm(d)}catch(ee){Vr(d,_,ee)}break;case 5:var L=d.return;try{Tm(d)}catch(ee){Vr(d,L,ee)}}}catch(ee){Vr(d,d.return,ee)}if(d===u){kt=null;break}var q=d.sibling;if(q!==null){q.return=d.return,kt=q;break}kt=d.return}}var DC=Math.ceil,wm=j.ReactCurrentDispatcher,qu=j.ReactCurrentOwner,Zi=j.ReactCurrentBatchConfig,Tn=0,ii=null,Yr=null,Oi=0,qa=0,Cd=wa(0),fi=0,Wu=null,Gu=0,Yu=0,ah=0,kd=null,Ma=null,Ty=0,Td=1/0,Zs=null,$l=!1,oh=null,ko=null,_m=!1,ql=null,sh=0,xd=0,wd=null,Ku=-1,lh=0;function mr(){return Tn&6?Yn():Ku!==-1?Ku:Ku=Yn()}function Wa(u){return u.mode&1?Tn&2&&Oi!==0?Oi&-Oi:Iu.transition!==null?(lh===0&&(lh=ku()),lh):(u=Dn,u!==0||(u=window.event,u=u===void 0?16:Cf(u.type)),u):1}function Ga(u,d,g,S){if(50<xd)throw xd=0,wd=null,Error(n(185));_l(u,g,S),(!(Tn&2)||u!==ii)&&(u===ii&&(!(Tn&2)&&(Yu|=g),fi===4&&Wl(u,Oi)),Ci(u,S),g===1&&Tn===0&&!(d.mode&1)&&(Td=Yn()+500,Ff&&ia()))}function Ci(u,d){var g=u.callbackNode;Hc(u,d);var S=rs(u,u===ii?Oi:0);if(S===0)g!==null&&Cr(g),u.callbackNode=null,u.callbackPriority=0;else if(d=S&-S,u.callbackPriority!==d){if(g!=null&&Cr(g),d===1)u.tag===0?Yv(fh.bind(null,u)):Ol(fh.bind(null,u)),V_(function(){!(Tn&6)&&ia()}),g=null;else{switch(Sf(S)){case 1:g=an;break;case 4:g=ns;break;case 16:g=Is;break;case 536870912:g=Us;break;default:g=Is}g=IC(g,AC.bind(null,u))}u.callbackPriority=d,u.callbackNode=g}}function AC(u,d){if(Ku=-1,lh=0,Tn&6)throw Error(n(327));var g=u.callbackNode;if(_d()&&u.callbackNode!==g)return null;var S=rs(u,u===ii?Oi:0);if(S===0)return null;if(S&30||S&u.expiredLanes||d)d=Pm(u,S);else{d=S;var x=Tn;Tn|=2;var _=OC();(ii!==u||Oi!==d)&&(Zs=null,Td=Yn()+500,Qu(u,d));do try{W_();break}catch(q){Rm(u,q)}while(!0);ty(),wm.current=_,Tn=x,Yr!==null?d=0:(ii=null,Oi=0,d=fi)}if(d!==0){if(d===2&&(x=js(u),x!==0&&(S=x,d=uh(u,x))),d===1)throw g=Wu,Qu(u,0),Wl(u,S),Ci(u,Yn()),g;if(d===6)Wl(u,S);else{if(x=u.current.alternate,!(S&30)&&!dh(x)&&(d=Pm(u,S),d===2&&(_=js(u),_!==0&&(S=_,d=uh(u,_))),d===1))throw g=Wu,Qu(u,0),Wl(u,S),Ci(u,Yn()),g;switch(u.finishedWork=x,u.finishedLanes=S,d){case 0:case 1:throw Error(n(345));case 2:Xu(u,Ma,Zs);break;case 3:if(Wl(u,S),(S&130023424)===S&&(d=Ty+500-Yn(),10<d)){if(rs(u,0)!==0)break;if(x=u.suspendedLanes,(x&S)!==S){mr(),u.pingedLanes|=u.suspendedLanes&x;break}u.timeoutHandle=zp(Xu.bind(null,u,Ma,Zs),d);break}Xu(u,Ma,Zs);break;case 4:if(Wl(u,S),(S&4194240)===S)break;for(d=u.eventTimes,x=-1;0<S;){var L=31-ta(S);_=1<<L,L=d[L],L>x&&(x=L),S&=~_}if(S=x,S=Yn()-S,S=(120>S?120:480>S?480:1080>S?1080:1920>S?1920:3e3>S?3e3:4320>S?4320:1960*DC(S/1960))-S,10<S){u.timeoutHandle=zp(Xu.bind(null,u,Ma,Zs),S);break}Xu(u,Ma,Zs);break;case 5:Xu(u,Ma,Zs);break;default:throw Error(n(329))}}}return Ci(u,Yn()),u.callbackNode===g?AC.bind(null,u):null}function uh(u,d){var g=kd;return u.current.memoizedState.isDehydrated&&(Qu(u,d).flags|=256),u=Pm(u,d),u!==2&&(d=Ma,Ma=g,d!==null&&ch(d)),u}function ch(u){Ma===null?Ma=u:Ma.push.apply(Ma,u)}function dh(u){for(var d=u;;){if(d.flags&16384){var g=d.updateQueue;if(g!==null&&(g=g.stores,g!==null))for(var S=0;S<g.length;S++){var x=g[S],_=x.getSnapshot;x=x.value;try{if(!Uo(_(),x))return!1}catch{return!1}}}if(g=d.child,d.subtreeFlags&16384&&g!==null)g.return=d,d=g;else{if(d===u)break;for(;d.sibling===null;){if(d.return===null||d.return===u)return!0;d=d.return}d.sibling.return=d.return,d=d.sibling}}return!0}function Wl(u,d){for(d&=~ah,d&=~Yu,u.suspendedLanes|=d,u.pingedLanes&=~d,u=u.expirationTimes;0<d;){var g=31-ta(d),S=1<<g;u[g]=-1,d&=~S}}function fh(u){if(Tn&6)throw Error(n(327));_d();var d=rs(u,0);if(!(d&1))return Ci(u,Yn()),null;var g=Pm(u,d);if(u.tag!==0&&g===2){var S=js(u);S!==0&&(d=S,g=uh(u,S))}if(g===1)throw g=Wu,Qu(u,0),Wl(u,d),Ci(u,Yn()),g;if(g===6)throw Error(n(345));return u.finishedWork=u.current.alternate,u.finishedLanes=d,Xu(u,Ma,Zs),Ci(u,Yn()),null}function Em(u,d){var g=Tn;Tn|=1;try{return u(d)}finally{Tn=g,Tn===0&&(Td=Yn()+500,Ff&&ia())}}function Zu(u){ql!==null&&ql.tag===0&&!(Tn&6)&&_d();var d=Tn;Tn|=1;var g=Zi.transition,S=Dn;try{if(Zi.transition=null,Dn=1,u)return u()}finally{Dn=S,Zi.transition=g,Tn=d,!(Tn&6)&&ia()}}function xy(){qa=Cd.current,tr(Cd)}function Qu(u,d){u.finishedWork=null,u.finishedLanes=0;var g=u.timeoutHandle;if(g!==-1&&(u.timeoutHandle=-1,iC(g)),Yr!==null)for(g=Yr.return;g!==null;){var S=g;switch(qp(S),S.tag){case 1:S=S.type.childContextTypes,S!=null&&ls();break;case 3:hd(),tr(ti),tr(Rr),$f();break;case 5:ly(S);break;case 4:hd();break;case 13:tr(Pr);break;case 19:tr(Pr);break;case 10:ny(S.type._context);break;case 22:case 23:xy()}g=g.return}if(ii=u,Yr=u=Gl(u.current,null),Oi=qa=d,fi=0,Wu=null,ah=Yu=Gu=0,Ma=kd=null,Uu!==null){for(d=0;d<Uu.length;d++)if(g=Uu[d],S=g.interleaved,S!==null){g.interleaved=null;var x=S.next,_=g.pending;if(_!==null){var L=_.next;_.next=x,S.next=L}g.pending=S}Uu=null}return u}function Rm(u,d){do{var g=Yr;try{if(ty(),Mt.current=rr,Kp){for(var S=on.memoizedState;S!==null;){var x=S.queue;x!==null&&(x.pending=null),S=S.next}Kp=!1}if(En=0,ci=cr=on=null,qf=!1,Wf=0,qu.current=null,g===null||g.return===null){fi=1,Wu=d,Yr=null;break}e:{var _=u,L=g.return,q=g,ee=d;if(d=Oi,q.flags|=32768,ee!==null&&typeof ee=="object"&&typeof ee.then=="function"){var ye=ee,Ue=q,He=Ue.tag;if(!(Ue.mode&1)&&(He===0||He===11||He===15)){var Ie=Ue.alternate;Ie?(Ue.updateQueue=Ie.updateQueue,Ue.memoizedState=Ie.memoizedState,Ue.lanes=Ie.lanes):(Ue.updateQueue=null,Ue.memoizedState=null)}var mt=my(L);if(mt!==null){mt.flags&=-257,SC(mt,L,q,_,d),mt.mode&1&&py(_,ye,d),d=mt,ee=ye;var wt=d.updateQueue;if(wt===null){var Et=new Set;Et.add(ee),d.updateQueue=Et}else wt.add(ee);break e}else{if(!(d&1)){py(_,ye,d),wy();break e}ee=Error(n(426))}}else if(kr&&q.mode&1){var Kr=my(L);if(Kr!==null){!(Kr.flags&65536)&&(Kr.flags|=256),SC(Kr,L,q,_,d),Vf(Bl(ee,q));break e}}_=ee=Bl(ee,q),fi!==4&&(fi=2),kd===null?kd=[_]:kd.push(_),_=L;do{switch(_.tag){case 3:_.flags|=65536,d&=-d,_.lanes|=d;var ue=Xf(_,ee,d);hC(_,ue);break e;case 1:q=ee;var ie=_.type,he=_.stateNode;if(!(_.flags&128)&&(typeof ie.getDerivedStateFromError=="function"||he!==null&&typeof he.componentDidCatch=="function"&&(ko===null||!ko.has(he)))){_.flags|=65536,d&=-d,_.lanes|=d;var Ke=bC(_,q,d);hC(_,Ke);break e}}_=_.return}while(_!==null)}MC(g)}catch(dt){d=dt,Yr===g&&g!==null&&(Yr=g=g.return);continue}break}while(!0)}function OC(){var u=wm.current;return wm.current=rr,u===null?rr:u}function wy(){(fi===0||fi===3||fi===2)&&(fi=4),ii===null||!(Gu&268435455)&&!(Yu&268435455)||Wl(ii,Oi)}function Pm(u,d){var g=Tn;Tn|=2;var S=OC();(ii!==u||Oi!==d)&&(Zs=null,Qu(u,d));do try{q_();break}catch(x){Rm(u,x)}while(!0);if(ty(),Tn=g,wm.current=S,Yr!==null)throw Error(n(261));return ii=null,Oi=0,fi}function q_(){for(;Yr!==null;)_y(Yr)}function W_(){for(;Yr!==null&&!$i();)_y(Yr)}function _y(u){var d=Ry(u.alternate,u,qa);u.memoizedProps=u.pendingProps,d===null?MC(u):Yr=d,qu.current=null}function MC(u){var d=u;do{var g=d.alternate;if(u=d.return,d.flags&32768){if(g=xC(g,d),g!==null){g.flags&=32767,Yr=g;return}if(u!==null)u.flags|=32768,u.subtreeFlags=0,u.deletions=null;else{fi=6,Yr=null;return}}else if(g=by(g,d,qa),g!==null){Yr=g;return}if(d=d.sibling,d!==null){Yr=d;return}Yr=d=u}while(d!==null);fi===0&&(fi=5)}function Xu(u,d,g){var S=Dn,x=Zi.transition;try{Zi.transition=null,Dn=1,G_(u,d,g,S)}finally{Zi.transition=x,Dn=S}return null}function G_(u,d,g,S){do _d();while(ql!==null);if(Tn&6)throw Error(n(327));g=u.finishedWork;var x=u.finishedLanes;if(g===null)return null;if(u.finishedWork=null,u.finishedLanes=0,g===u.current)throw Error(n(177));u.callbackNode=null,u.callbackPriority=0;var _=g.lanes|g.childLanes;if(yf(u,_),u===ii&&(Yr=ii=null,Oi=0),!(g.subtreeFlags&2064)&&!(g.flags&2064)||_m||(_m=!0,IC(Is,function(){return _d(),null})),_=(g.flags&15990)!==0,g.subtreeFlags&15990||_){_=Zi.transition,Zi.transition=null;var L=Dn;Dn=1;var q=Tn;Tn|=4,qu.current=null,$_(u,g),EC(g,u),KS(Nf),El=!!Au,Nf=Au=null,u.current=g,rh(g),Lo(),Tn=q,Dn=L,Zi.transition=_}else u.current=g;if(_m&&(_m=!1,ql=u,sh=x),_=u.pendingLanes,_===0&&(ko=null),gf(g.stateNode),Ci(u,Yn()),d!==null)for(S=u.onRecoverableError,g=0;g<d.length;g++)x=d[g],S(x.value,{componentStack:x.stack,digest:x.digest});if($l)throw $l=!1,u=oh,oh=null,u;return sh&1&&u.tag!==0&&_d(),_=u.pendingLanes,_&1?u===wd?xd++:(xd=0,wd=u):xd=0,ia(),null}function _d(){if(ql!==null){var u=Sf(sh),d=Zi.transition,g=Dn;try{if(Zi.transition=null,Dn=16>u?16:u,ql===null)var S=!1;else{if(u=ql,ql=null,sh=0,Tn&6)throw Error(n(331));var x=Tn;for(Tn|=4,kt=u.current;kt!==null;){var _=kt,L=_.child;if(kt.flags&16){var q=_.deletions;if(q!==null){for(var ee=0;ee<q.length;ee++){var ye=q[ee];for(kt=ye;kt!==null;){var Ue=kt;switch(Ue.tag){case 0:case 11:case 15:Sd(8,Ue,_)}var He=Ue.child;if(He!==null)He.return=Ue,kt=He;else for(;kt!==null;){Ue=kt;var Ie=Ue.sibling,mt=Ue.return;if(wC(Ue),Ue===ye){kt=null;break}if(Ie!==null){Ie.return=mt,kt=Ie;break}kt=mt}}}var wt=_.alternate;if(wt!==null){var Et=wt.child;if(Et!==null){wt.child=null;do{var Kr=Et.sibling;Et.sibling=null,Et=Kr}while(Et!==null)}}kt=_}}if(_.subtreeFlags&2064&&L!==null)L.return=_,kt=L;else e:for(;kt!==null;){if(_=kt,_.flags&2048)switch(_.tag){case 0:case 11:case 15:Sd(9,_,_.return)}var ue=_.sibling;if(ue!==null){ue.return=_.return,kt=ue;break e}kt=_.return}}var ie=u.current;for(kt=ie;kt!==null;){L=kt;var he=L.child;if(L.subtreeFlags&2064&&he!==null)he.return=L,kt=he;else e:for(L=ie;kt!==null;){if(q=kt,q.flags&2048)try{switch(q.tag){case 0:case 11:case 15:km(9,q)}}catch(dt){Vr(q,q.return,dt)}if(q===L){kt=null;break e}var Ke=q.sibling;if(Ke!==null){Ke.return=q.return,kt=Ke;break e}kt=q.return}}if(Tn=x,ia(),Ca&&typeof Ca.onPostCommitFiberRoot=="function")try{Ca.onPostCommitFiberRoot(Tl,u)}catch{}S=!0}return S}finally{Dn=g,Zi.transition=d}}return!1}function LC(u,d,g){d=Bl(g,d),d=Xf(u,d,1),u=Fl(u,d,1),d=mr(),u!==null&&(_l(u,1,d),Ci(u,d))}function Vr(u,d,g){if(u.tag===3)LC(u,u,g);else for(;d!==null;){if(d.tag===3){LC(d,u,g);break}else if(d.tag===1){var S=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(ko===null||!ko.has(S))){u=Bl(g,u),u=bC(d,u,1),d=Fl(d,u,1),u=mr(),d!==null&&(_l(d,1,u),Ci(d,u));break}}d=d.return}}function Ey(u,d,g){var S=u.pingCache;S!==null&&S.delete(d),d=mr(),u.pingedLanes|=u.suspendedLanes&g,ii===u&&(Oi&g)===g&&(fi===4||fi===3&&(Oi&130023424)===Oi&&500>Yn()-Ty?Qu(u,0):ah|=g),Ci(u,d)}function NC(u,d){d===0&&(u.mode&1?(d=xl,xl<<=1,!(xl&130023424)&&(xl=4194304)):d=1);var g=mr();u=cs(u,d),u!==null&&(_l(u,d,g),Ci(u,g))}function Y_(u){var d=u.memoizedState,g=0;d!==null&&(g=d.retryLane),NC(u,g)}function K_(u,d){var g=0;switch(u.tag){case 13:var S=u.stateNode,x=u.memoizedState;x!==null&&(g=x.retryLane);break;case 19:S=u.stateNode;break;default:throw Error(n(314))}S!==null&&S.delete(d),NC(u,g)}var Ry;Ry=function(u,d,g){if(u!==null)if(u.memoizedProps!==d.pendingProps||ti.current)Si=!0;else{if(!(u.lanes&g)&&!(d.flags&128))return Si=!1,Cm(u,d,g);Si=!!(u.flags&131072)}else Si=!1,kr&&d.flags&1048576&&oC(d,Nl,d.index);switch(d.lanes=0,d.tag){case 2:var S=d.type;So(u,d),u=d.pendingProps;var x=Ba(d,Rr.current);dd(d,g),x=Ht(null,d,S,u,x,g);var _=jl();return d.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,jr(S)?(_=!0,Lu(d)):_=!1,d.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,Ul(d),x.updater=fm,d.stateNode=x,x._reactInternals=d,fy(d,S,u,g),d=gy(null,d,S,!0,_,g)):(d.tag=0,kr&&_&&Kv(d),Gr(null,d,x,g),d=d.child),d;case 16:S=d.elementType;e:{switch(So(u,d),u=d.pendingProps,x=S._init,S=x(S._payload),d.type=S,x=d.tag=Q_(S),u=Da(S,u),x){case 0:d=gm(null,d,S,u,g);break e;case 1:d=B_(null,d,S,u,g);break e;case 11:d=mm(null,d,S,u,g);break e;case 14:d=Aa(null,d,S,Da(S.type,u),g);break e}throw Error(n(306,S,""))}return d;case 0:return S=d.type,x=d.pendingProps,x=d.elementType===S?x:Da(S,x),gm(u,d,S,x,g);case 1:return S=d.type,x=d.pendingProps,x=d.elementType===S?x:Da(S,x),B_(u,d,S,x,g);case 3:e:{if(vm(d),u===null)throw Error(n(387));S=d.pendingProps,_=d.memoizedState,x=_.element,fC(u,d),Gp(d,S,null,g);var L=d.memoizedState;if(S=L.element,_.isDehydrated)if(_={element:S,isDehydrated:!1,cache:L.cache,pendingSuspenseBoundaries:L.pendingSuspenseBoundaries,transitions:L.transitions},d.updateQueue.baseState=_,d.memoizedState=_,d.flags&256){x=Bl(Error(n(423)),d),d=yd(u,d,S,g,x);break e}else if(S!==x){x=Bl(Error(n(424)),d),d=yd(u,d,S,g,x);break e}else for(Ea=Fo(d.stateNode.containerInfo.firstChild),_a=d,kr=!0,Vo=null,g=Pi(d,null,S,g),d.child=g;g;)g.flags=g.flags&-3|4096,g=g.sibling;else{if(Gs(),S===x){d=Di(u,d,g);break e}Gr(u,d,S,g)}d=d.child}return d;case 5:return sy(d),u===null&&Jv(d),S=d.type,x=d.pendingProps,_=u!==null?u.memoizedProps:null,L=x.children,Ou(S,x)?L=null:_!==null&&Ou(S,_)&&(d.flags|=32),Jf(u,d),Gr(u,d,L,g),d.child;case 6:return u===null&&Jv(d),null;case 13:return CC(u,d,g);case 4:return oy(d,d.stateNode.containerInfo),S=d.pendingProps,u===null?d.child=zo(d,null,S,g):Gr(u,d,S,g),d.child;case 11:return S=d.type,x=d.pendingProps,x=d.elementType===S?x:Da(S,x),mm(u,d,S,x,g);case 7:return Gr(u,d,d.pendingProps,g),d.child;case 8:return Gr(u,d,d.pendingProps.children,g),d.child;case 12:return Gr(u,d,d.pendingProps.children,g),d.child;case 10:e:{if(S=d.type._context,x=d.pendingProps,_=d.memoizedProps,L=x.value,pr(at,S._currentValue),S._currentValue=L,_!==null)if(Uo(_.value,L)){if(_.children===x.children&&!ti.current){d=Di(u,d,g);break e}}else for(_=d.child,_!==null&&(_.return=d);_!==null;){var q=_.dependencies;if(q!==null){L=_.child;for(var ee=q.firstContext;ee!==null;){if(ee.context===S){if(_.tag===1){ee=Ys(-1,g&-g),ee.tag=2;var ye=_.updateQueue;if(ye!==null){ye=ye.shared;var Ue=ye.pending;Ue===null?ee.next=ee:(ee.next=Ue.next,Ue.next=ee),ye.pending=ee}}_.lanes|=g,ee=_.alternate,ee!==null&&(ee.lanes|=g),ry(_.return,g,d),q.lanes|=g;break}ee=ee.next}}else if(_.tag===10)L=_.type===d.type?null:_.child;else if(_.tag===18){if(L=_.return,L===null)throw Error(n(341));L.lanes|=g,q=L.alternate,q!==null&&(q.lanes|=g),ry(L,g,d),L=_.sibling}else L=_.child;if(L!==null)L.return=_;else for(L=_;L!==null;){if(L===d){L=null;break}if(_=L.sibling,_!==null){_.return=L.return,L=_;break}L=L.return}_=L}Gr(u,d,x.children,g),d=d.child}return d;case 9:return x=d.type,S=d.pendingProps.children,dd(d,g),x=nr(x),S=S(x),d.flags|=1,Gr(u,d,S,g),d.child;case 14:return S=d.type,x=Da(S,d.pendingProps),x=Da(S.type,x),Aa(u,d,S,x,g);case 15:return Hu(u,d,d.type,d.pendingProps,g);case 17:return S=d.type,x=d.pendingProps,x=d.elementType===S?x:Da(S,x),So(u,d),d.tag=1,jr(S)?(u=!0,Lu(d)):u=!1,dd(d,g),yC(d,S,x),fy(d,S,x,g),gy(null,d,S,!0,u,g);case 19:return Oa(u,d,g);case 22:return ln(u,d,g)}throw Error(n(156,d.tag))};function IC(u,d){return yr(u,d)}function Z_(u,d,g,S){this.tag=u,this.key=g,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=S,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function To(u,d,g,S){return new Z_(u,d,g,S)}function Py(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Q_(u){if(typeof u=="function")return Py(u)?1:0;if(u!=null){if(u=u.$$typeof,u===te)return 11;if(u===Ge)return 14}return 2}function Gl(u,d){var g=u.alternate;return g===null?(g=To(u.tag,d,u.key,u.mode),g.elementType=u.elementType,g.type=u.type,g.stateNode=u.stateNode,g.alternate=u,u.alternate=g):(g.pendingProps=d,g.type=u.type,g.flags=0,g.subtreeFlags=0,g.deletions=null),g.flags=u.flags&14680064,g.childLanes=u.childLanes,g.lanes=u.lanes,g.child=u.child,g.memoizedProps=u.memoizedProps,g.memoizedState=u.memoizedState,g.updateQueue=u.updateQueue,d=u.dependencies,g.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},g.sibling=u.sibling,g.index=u.index,g.ref=u.ref,g}function Dm(u,d,g,S,x,_){var L=2;if(S=u,typeof u=="function")Py(u)&&(L=1);else if(typeof u=="string")L=5;else e:switch(u){case ne:return Yl(g.children,x,_,d);case X:L=8,x|=8;break;case se:return u=To(12,g,d,x|2),u.elementType=se,u.lanes=_,u;case xe:return u=To(13,g,d,x),u.elementType=xe,u.lanes=_,u;case ke:return u=To(19,g,d,x),u.elementType=ke,u.lanes=_,u;case Fe:return Ed(g,x,_,d);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case $:L=10;break e;case oe:L=9;break e;case te:L=11;break e;case Ge:L=14;break e;case Je:L=16,S=null;break e}throw Error(n(130,u==null?u:typeof u,""))}return d=To(L,g,d,x),d.elementType=u,d.type=S,d.lanes=_,d}function Yl(u,d,g,S){return u=To(7,u,S,d),u.lanes=g,u}function Ed(u,d,g,S){return u=To(22,u,S,d),u.elementType=Fe,u.lanes=g,u.stateNode={isHidden:!1},u}function Ju(u,d,g){return u=To(6,u,null,d),u.lanes=g,u}function Dy(u,d,g){return d=To(4,u.children!==null?u.children:[],u.key,d),d.lanes=g,d.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},d}function UC(u,d,g,S,x){this.tag=d,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Tu(0),this.expirationTimes=Tu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tu(0),this.identifierPrefix=S,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Am(u,d,g,S,x,_,L,q,ee){return u=new UC(u,d,g,q,ee),d===1?(d=1,_===!0&&(d|=8)):d=0,_=To(3,null,null,d),u.current=_,_.stateNode=u,_.memoizedState={element:S,isDehydrated:g,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ul(_),u}function FC(u,d,g){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:N,key:S==null?null:""+S,children:u,containerInfo:d,implementation:g}}function jC(u){if(!u)return gn;u=u._reactInternals;e:{if(tt(u)!==u||u.tag!==1)throw Error(n(170));var d=u;do{switch(d.tag){case 3:d=d.stateNode.context;break e;case 1:if(jr(d.type)){d=d.stateNode.__reactInternalMemoizedMergedChildContext;break e}}d=d.return}while(d!==null);throw Error(n(171))}if(u.tag===1){var g=u.type;if(jr(g))return aC(u,g,d)}return d}function Ay(u,d,g,S,x,_,L,q,ee){return u=Am(g,S,!0,u,x,_,L,q,ee),u.context=jC(null),g=u.current,S=mr(),x=Wa(g),_=Ys(S,x),_.callback=d??null,Fl(g,_,x),u.current.lanes=x,_l(u,x,S),Ci(u,S),u}function Om(u,d,g,S){var x=d.current,_=mr(),L=Wa(x);return g=jC(g),d.context===null?d.context=g:d.pendingContext=g,d=Ys(_,L),d.payload={element:u},S=S===void 0?null:S,S!==null&&(d.callback=S),u=Fl(x,d,L),u!==null&&(Ga(u,x,L,_),Wp(u,x,L)),L}function Mm(u){if(u=u.current,!u.child)return null;switch(u.child.tag){case 5:return u.child.stateNode;default:return u.child.stateNode}}function VC(u,d){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var g=u.retryLane;u.retryLane=g!==0&&g<d?g:d}}function Lm(u,d){VC(u,d),(u=u.alternate)&&VC(u,d)}function zC(){return null}var Oy=typeof reportError=="function"?reportError:function(u){console.error(u)};function Kl(u){this._internalRoot=u}Nm.prototype.render=Kl.prototype.render=function(u){var d=this._internalRoot;if(d===null)throw Error(n(409));Om(u,d,null,null)},Nm.prototype.unmount=Kl.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var d=u.containerInfo;Zu(function(){Om(null,u,null,null)}),d[qs]=null}};function Nm(u){this._internalRoot=u}Nm.prototype.unstable_scheduleHydration=function(u){if(u){var d=is();u={blockedOn:null,target:u,priority:d};for(var g=0;g<No.length&&d!==0&&d<No[g].priority;g++);No.splice(g,0,u),g===0&&qc(u)}};function My(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function Im(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11&&(u.nodeType!==8||u.nodeValue!==" react-mount-point-unstable "))}function BC(){}function X_(u,d,g,S,x){if(x){if(typeof S=="function"){var _=S;S=function(){var ye=Mm(L);_.call(ye)}}var L=Ay(d,S,u,0,null,!1,!1,"",BC);return u._reactRootContainer=L,u[qs]=L.current,Mf(u.nodeType===8?u.parentNode:u),Zu(),L}for(;x=u.lastChild;)u.removeChild(x);if(typeof S=="function"){var q=S;S=function(){var ye=Mm(ee);q.call(ye)}}var ee=Am(u,0,!1,null,null,!1,!1,"",BC);return u._reactRootContainer=ee,u[qs]=ee.current,Mf(u.nodeType===8?u.parentNode:u),Zu(function(){Om(d,ee,g,S)}),ee}function Um(u,d,g,S,x){var _=g._reactRootContainer;if(_){var L=_;if(typeof x=="function"){var q=x;x=function(){var ee=Mm(L);q.call(ee)}}Om(d,L,u,x)}else L=X_(g,d,u,x,S);return Mm(L)}$c=function(u){switch(u.tag){case 3:var d=u.stateNode;if(d.current.memoizedState.isDehydrated){var g=ka(d.pendingLanes);g!==0&&(bf(d,g|1),Ci(d,Yn()),!(Tn&6)&&(Td=Yn()+500,ia()))}break;case 13:Zu(function(){var S=cs(u,1);if(S!==null){var x=mr();Ga(S,u,1,x)}}),Lm(u,1)}},An=function(u){if(u.tag===13){var d=cs(u,134217728);if(d!==null){var g=mr();Ga(d,u,134217728,g)}Lm(u,134217728)}},Rp=function(u){if(u.tag===13){var d=Wa(u),g=cs(u,d);if(g!==null){var S=mr();Ga(g,u,d,S)}Lm(u,d)}},is=function(){return Dn},Zt=function(u,d){var g=Dn;try{return Dn=u,d()}finally{Dn=g}},Gn=function(u,d,g){switch(d){case"input":if(Lt(u,g),d=g.name,g.type==="radio"&&d!=null){for(g=u;g.parentNode;)g=g.parentNode;for(g=g.querySelectorAll("input[name="+JSON.stringify(""+d)+'][type="radio"]'),d=0;d<g.length;d++){var S=g[d];if(S!==u&&S.form===u.form){var x=Ws(S);if(!x)throw Error(n(90));_r(S),Lt(S,x)}}}break;case"textarea":ut(u,g);break;case"select":d=g.value,d!=null&&je(u,!!g.multiple,d,!1)}},es=Em,ts=Zu;var HC={usingClientEntryPoint:!1,Events:[Uf,Ot,Ws,ea,co,Em]},hh={findFiberByHostInstance:Mu,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},J_={bundleType:hh.bundleType,version:hh.version,rendererPackageName:hh.rendererPackageName,rendererConfig:hh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(u){return u=fn(u),u===null?null:u.stateNode},findFiberByHostInstance:hh.findFiberByHostInstance||zC,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 ph=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ph.isDisabled&&ph.supportsFiber)try{Tl=ph.inject(J_),Ca=ph}catch{}}return Ja.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=HC,Ja.createPortal=function(u,d){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!My(d))throw Error(n(200));return FC(u,d,null,g)},Ja.createRoot=function(u,d){if(!My(u))throw Error(n(299));var g=!1,S="",x=Oy;return d!=null&&(d.unstable_strictMode===!0&&(g=!0),d.identifierPrefix!==void 0&&(S=d.identifierPrefix),d.onRecoverableError!==void 0&&(x=d.onRecoverableError)),d=Am(u,1,!1,null,null,g,!1,S,x),u[qs]=d.current,Mf(u.nodeType===8?u.parentNode:u),new Kl(d)},Ja.findDOMNode=function(u){if(u==null)return null;if(u.nodeType===1)return u;var d=u._reactInternals;if(d===void 0)throw typeof u.render=="function"?Error(n(188)):(u=Object.keys(u).join(","),Error(n(268,u)));return u=fn(d),u=u===null?null:u.stateNode,u},Ja.flushSync=function(u){return Zu(u)},Ja.hydrate=function(u,d,g){if(!Im(d))throw Error(n(200));return Um(null,u,d,!0,g)},Ja.hydrateRoot=function(u,d,g){if(!My(u))throw Error(n(405));var S=g!=null&&g.hydratedSources||null,x=!1,_="",L=Oy;if(g!=null&&(g.unstable_strictMode===!0&&(x=!0),g.identifierPrefix!==void 0&&(_=g.identifierPrefix),g.onRecoverableError!==void 0&&(L=g.onRecoverableError)),d=Ay(d,null,u,1,g??null,x,!1,_,L),u[qs]=d.current,Mf(u),S)for(u=0;u<S.length;u++)g=S[u],x=g._getVersion,x=x(g._source),d.mutableSourceEagerHydrationData==null?d.mutableSourceEagerHydrationData=[g,x]:d.mutableSourceEagerHydrationData.push(g,x);return new Nm(d)},Ja.render=function(u,d,g){if(!Im(d))throw Error(n(200));return Um(null,u,d,!1,g)},Ja.unmountComponentAtNode=function(u){if(!Im(u))throw Error(n(40));return u._reactRootContainer?(Zu(function(){Um(null,null,u,!1,function(){u._reactRootContainer=null,u[qs]=null})}),!0):!1},Ja.unstable_batchedUpdates=Em,Ja.unstable_renderSubtreeIntoContainer=function(u,d,g,S){if(!Im(g))throw Error(n(200));if(u==null||u._reactInternals===void 0)throw Error(n(38));return Um(u,d,g,!1,S)},Ja.version="18.3.1-next-f1338f8080-20240426",Ja}var eo={},tD;function Kj(){if(tD)return eo;tD=1;var t={};/**
|
|
99
|
+
`+_.stack}return{value:u,source:d,stack:x,digest:null}}function pm(u,d,g){return{value:u,source:null,stack:g??null,digest:d??null}}function hy(u,d){try{console.error(d.value)}catch(g){setTimeout(function(){throw g})}}var z_=typeof WeakMap=="function"?WeakMap:Map;function Xf(u,d,g){g=Ys(-1,g),g.tag=3,g.payload={element:null};var S=d.value;return g.callback=function(){$l||($l=!0,oh=S),hy(u,d)},g}function bC(u,d,g){g=Ys(-1,g),g.tag=3;var S=u.type.getDerivedStateFromError;if(typeof S=="function"){var x=d.value;g.payload=function(){return S(x)},g.callback=function(){hy(u,d)}}var _=u.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(g.callback=function(){hy(u,d),typeof S!="function"&&(ko===null?ko=new Set([this]):ko.add(this));var L=d.stack;this.componentDidCatch(d.value,{componentStack:L!==null?L:""})}),g}function py(u,d,g){var S=u.pingCache;if(S===null){S=u.pingCache=new z_;var x=new Set;S.set(d,x)}else x=S.get(d),x===void 0&&(x=new Set,S.set(d,x));x.has(g)||(x.add(g),u=Ey.bind(null,u,d,g),d.then(u,u))}function my(u){do{var d;if((d=u.tag===13)&&(d=u.memoizedState,d=d!==null?d.dehydrated!==null:!0),d)return u;u=u.return}while(u!==null);return null}function SC(u,d,g,S,x){return u.mode&1?(u.flags|=65536,u.lanes=x,u):(u===d?u.flags|=65536:(u.flags|=128,g.flags|=131072,g.flags&=-52805,g.tag===1&&(g.alternate===null?g.tag=17:(d=Ys(-1,1),d.tag=2,Fl(g,d,1))),g.lanes|=1),u)}var Bu=j.ReactCurrentOwner,Si=!1;function Gr(u,d,g,S){d.child=u===null?Pi(d,null,g,S):zo(d,u.child,g,S)}function mm(u,d,g,S,x){g=g.render;var _=d.ref;return dd(d,x),S=Ht(u,d,g,S,_,x),g=jl(),u!==null&&!Si?(d.updateQueue=u.updateQueue,d.flags&=-2053,u.lanes&=~x,Di(u,d,x)):(kr&&g&&Kv(d),d.flags|=1,Gr(u,d,S,x),d.child)}function Aa(u,d,g,S,x){if(u===null){var _=g.type;return typeof _=="function"&&!Py(_)&&_.defaultProps===void 0&&g.compare===null&&g.defaultProps===void 0?(d.tag=15,d.type=_,Hu(u,d,_,S,x)):(u=Dm(g.type,null,S,d,d.mode,x),u.ref=d.ref,u.return=d,d.child=u)}if(_=u.child,!(u.lanes&x)){var L=_.memoizedProps;if(g=g.compare,g=g!==null?g:_f,g(L,S)&&u.ref===d.ref)return Di(u,d,x)}return d.flags|=1,u=Gl(_,S),u.ref=d.ref,u.return=d,d.child=u}function Hu(u,d,g,S,x){if(u!==null){var _=u.memoizedProps;if(_f(_,S)&&u.ref===d.ref)if(Si=!1,d.pendingProps=S=_,(u.lanes&x)!==0)u.flags&131072&&(Si=!0);else return d.lanes=u.lanes,Di(u,d,x)}return gm(u,d,g,S,x)}function ln(u,d,g){var S=d.pendingProps,x=S.children,_=u!==null?u.memoizedState:null;if(S.mode==="hidden")if(!(d.mode&1))d.memoizedState={baseLanes:0,cachePool:null,transitions:null},pr(Cd,qa),qa|=g;else{if(!(g&1073741824))return u=_!==null?_.baseLanes|g:g,d.lanes=d.childLanes=1073741824,d.memoizedState={baseLanes:u,cachePool:null,transitions:null},d.updateQueue=null,pr(Cd,qa),qa|=u,null;d.memoizedState={baseLanes:0,cachePool:null,transitions:null},S=_!==null?_.baseLanes:g,pr(Cd,qa),qa|=S}else _!==null?(S=_.baseLanes|g,d.memoizedState=null):S=g,pr(Cd,qa),qa|=S;return Gr(u,d,x,g),d.child}function Jf(u,d){var g=d.ref;(u===null&&g!==null||u!==null&&u.ref!==g)&&(d.flags|=512,d.flags|=2097152)}function gm(u,d,g,S,x){var _=jr(g)?yo:Rr.current;return _=Ba(d,_),dd(d,x),g=Ht(u,d,g,S,_,x),S=jl(),u!==null&&!Si?(d.updateQueue=u.updateQueue,d.flags&=-2053,u.lanes&=~x,Di(u,d,x)):(kr&&S&&Kv(d),d.flags|=1,Gr(u,d,g,x),d.child)}function B_(u,d,g,S,x){if(jr(g)){var _=!0;Lu(d)}else _=!1;if(dd(d,x),d.stateNode===null)So(u,d),yC(d,g,S),fy(d,g,S,x),S=!0;else if(u===null){var L=d.stateNode,q=d.memoizedProps;L.props=q;var ee=L.context,ye=g.contextType;typeof ye=="object"&&ye!==null?ye=nr(ye):(ye=jr(g)?yo:Rr.current,ye=Ba(d,ye));var Ue=g.getDerivedStateFromProps,He=typeof Ue=="function"||typeof L.getSnapshotBeforeUpdate=="function";He||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(q!==S||ee!==ye)&&hm(d,L,S,ye),bo=!1;var Ie=d.memoizedState;L.state=Ie,Gp(d,S,L,x),ee=d.memoizedState,q!==S||Ie!==ee||ti.current||bo?(typeof Ue=="function"&&(dy(d,g,Ue,S),ee=d.memoizedState),(q=bo||vC(d,g,q,S,Ie,ee,ye))?(He||typeof L.UNSAFE_componentWillMount!="function"&&typeof L.componentWillMount!="function"||(typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount()),typeof L.componentDidMount=="function"&&(d.flags|=4194308)):(typeof L.componentDidMount=="function"&&(d.flags|=4194308),d.memoizedProps=S,d.memoizedState=ee),L.props=S,L.state=ee,L.context=ye,S=q):(typeof L.componentDidMount=="function"&&(d.flags|=4194308),S=!1)}else{L=d.stateNode,fC(u,d),q=d.memoizedProps,ye=d.type===d.elementType?q:Da(d.type,q),L.props=ye,He=d.pendingProps,Ie=L.context,ee=g.contextType,typeof ee=="object"&&ee!==null?ee=nr(ee):(ee=jr(g)?yo:Rr.current,ee=Ba(d,ee));var mt=g.getDerivedStateFromProps;(Ue=typeof mt=="function"||typeof L.getSnapshotBeforeUpdate=="function")||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(q!==He||Ie!==ee)&&hm(d,L,S,ee),bo=!1,Ie=d.memoizedState,L.state=Ie,Gp(d,S,L,x);var wt=d.memoizedState;q!==He||Ie!==wt||ti.current||bo?(typeof mt=="function"&&(dy(d,g,mt,S),wt=d.memoizedState),(ye=bo||vC(d,g,ye,S,Ie,wt,ee)||!1)?(Ue||typeof L.UNSAFE_componentWillUpdate!="function"&&typeof L.componentWillUpdate!="function"||(typeof L.componentWillUpdate=="function"&&L.componentWillUpdate(S,wt,ee),typeof L.UNSAFE_componentWillUpdate=="function"&&L.UNSAFE_componentWillUpdate(S,wt,ee)),typeof L.componentDidUpdate=="function"&&(d.flags|=4),typeof L.getSnapshotBeforeUpdate=="function"&&(d.flags|=1024)):(typeof L.componentDidUpdate!="function"||q===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||q===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=1024),d.memoizedProps=S,d.memoizedState=wt),L.props=S,L.state=wt,L.context=ee,S=ye):(typeof L.componentDidUpdate!="function"||q===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||q===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=1024),S=!1)}return gy(u,d,g,S,_,x)}function gy(u,d,g,S,x,_){Jf(u,d);var L=(d.flags&128)!==0;if(!S&&!L)return x&&Gi(d,g,!1),Di(u,d,_);S=d.stateNode,Bu.current=d;var q=L&&typeof g.getDerivedStateFromError!="function"?null:S.render();return d.flags|=1,u!==null&&L?(d.child=zo(d,u.child,null,_),d.child=zo(d,null,q,_)):Gr(u,d,q,_),d.memoizedState=S.state,x&&Gi(d,g,!0),d.child}function vm(u){var d=u.stateNode;d.pendingContext?$p(u,d.pendingContext,d.pendingContext!==d.context):d.context&&$p(u,d.context,!1),oy(u,d.containerInfo)}function yd(u,d,g,S,x){return Gs(),Vf(x),d.flags|=256,Gr(u,d,g,S),d.child}var vy={dehydrated:null,treeContext:null,retryLane:0};function ym(u){return{baseLanes:u,cachePool:null,transitions:null}}function CC(u,d,g){var S=d.pendingProps,x=Pr.current,_=!1,L=(d.flags&128)!==0,q;if((q=L)||(q=u!==null&&u.memoizedState===null?!1:(x&2)!==0),q?(_=!0,d.flags&=-129):(u===null||u.memoizedState!==null)&&(x|=1),pr(Pr,x&1),u===null)return Jv(d),u=d.memoizedState,u!==null&&(u=u.dehydrated,u!==null)?(d.mode&1?u.data==="$!"?d.lanes=8:d.lanes=1073741824:d.lanes=1,null):(L=S.children,u=S.fallback,_?(S=d.mode,_=d.child,L={mode:"hidden",children:L},!(S&1)&&_!==null?(_.childLanes=0,_.pendingProps=L):_=Ed(L,S,0,null),u=Yl(u,S,g,null),_.return=d,u.return=d,_.sibling=u,d.child=_,d.child.memoizedState=ym(g),d.memoizedState=vy,u):eh(d,L));if(x=u.memoizedState,x!==null&&(q=x.dehydrated,q!==null))return kC(u,d,L,S,q,x,g);if(_){_=S.fallback,L=d.mode,x=u.child,q=x.sibling;var ee={mode:"hidden",children:S.children};return!(L&1)&&d.child!==x?(S=d.child,S.childLanes=0,S.pendingProps=ee,d.deletions=null):(S=Gl(x,ee),S.subtreeFlags=x.subtreeFlags&14680064),q!==null?_=Gl(q,_):(_=Yl(_,L,g,null),_.flags|=2),_.return=d,S.return=d,S.sibling=_,d.child=S,S=_,_=d.child,L=u.child.memoizedState,L=L===null?ym(g):{baseLanes:L.baseLanes|g,cachePool:null,transitions:L.transitions},_.memoizedState=L,_.childLanes=u.childLanes&~g,d.memoizedState=vy,S}return _=u.child,u=_.sibling,S=Gl(_,{mode:"visible",children:S.children}),!(d.mode&1)&&(S.lanes=g),S.return=d,S.sibling=null,u!==null&&(g=d.deletions,g===null?(d.deletions=[u],d.flags|=16):g.push(u)),d.child=S,d.memoizedState=null,S}function eh(u,d){return d=Ed({mode:"visible",children:d},u.mode,0,null),d.return=u,u.child=d}function bm(u,d,g,S){return S!==null&&Vf(S),zo(d,u.child,null,g),u=eh(d,d.pendingProps.children),u.flags|=2,d.memoizedState=null,u}function kC(u,d,g,S,x,_,L){if(g)return d.flags&256?(d.flags&=-257,S=pm(Error(n(422))),bm(u,d,L,S)):d.memoizedState!==null?(d.child=u.child,d.flags|=128,null):(_=S.fallback,x=d.mode,S=Ed({mode:"visible",children:S.children},x,0,null),_=Yl(_,x,L,null),_.flags|=2,S.return=d,_.return=d,S.sibling=_,d.child=S,d.mode&1&&zo(d,u.child,null,L),d.child.memoizedState=ym(L),d.memoizedState=vy,_);if(!(d.mode&1))return bm(u,d,L,null);if(x.data==="$!"){if(S=x.nextSibling&&x.nextSibling.dataset,S)var q=S.dgst;return S=q,_=Error(n(419)),S=pm(_,S,void 0),bm(u,d,L,S)}if(q=(L&u.childLanes)!==0,Si||q){if(S=ii,S!==null){switch(L&-L){case 4:x=2;break;case 16:x=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:x=32;break;case 536870912:x=268435456;break;default:x=0}x=x&(S.suspendedLanes|L)?0:x,x!==0&&x!==_.retryLane&&(_.retryLane=x,cs(u,x),Ga(S,u,x,-1))}return wy(),S=pm(Error(n(421))),bm(u,d,L,S)}return x.data==="$?"?(d.flags|=128,d.child=u.child,d=Y_.bind(null,u),x._reactRetry=d,null):(u=_.treeContext,Ea=Fo(x.nextSibling),_a=d,kr=!0,Vo=null,u!==null&&(Ri[ni++]=aa,Ri[ni++]=us,Ri[ni++]=Nu,aa=u.id,us=u.overflow,Nu=d),d=eh(d,S.children),d.flags|=4096,d)}function yy(u,d,g){u.lanes|=d;var S=u.alternate;S!==null&&(S.lanes|=d),ry(u.return,d,g)}function Sm(u,d,g,S,x){var _=u.memoizedState;_===null?u.memoizedState={isBackwards:d,rendering:null,renderingStartTime:0,last:S,tail:g,tailMode:x}:(_.isBackwards=d,_.rendering=null,_.renderingStartTime=0,_.last=S,_.tail=g,_.tailMode=x)}function Oa(u,d,g){var S=d.pendingProps,x=S.revealOrder,_=S.tail;if(Gr(u,d,S.children,g),S=Pr.current,S&2)S=S&1|2,d.flags|=128;else{if(u!==null&&u.flags&128)e:for(u=d.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&yy(u,g,d);else if(u.tag===19)yy(u,g,d);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===d)break e;for(;u.sibling===null;){if(u.return===null||u.return===d)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}S&=1}if(pr(Pr,S),!(d.mode&1))d.memoizedState=null;else switch(x){case"forwards":for(g=d.child,x=null;g!==null;)u=g.alternate,u!==null&&Yp(u)===null&&(x=g),g=g.sibling;g=x,g===null?(x=d.child,d.child=null):(x=g.sibling,g.sibling=null),Sm(d,!1,x,g,_);break;case"backwards":for(g=null,x=d.child,d.child=null;x!==null;){if(u=x.alternate,u!==null&&Yp(u)===null){d.child=x;break}u=x.sibling,x.sibling=g,g=x,x=u}Sm(d,!0,g,null,_);break;case"together":Sm(d,!1,null,null,void 0);break;default:d.memoizedState=null}return d.child}function So(u,d){!(d.mode&1)&&u!==null&&(u.alternate=null,d.alternate=null,d.flags|=2)}function Di(u,d,g){if(u!==null&&(d.dependencies=u.dependencies),Gu|=d.lanes,!(g&d.childLanes))return null;if(u!==null&&d.child!==u.child)throw Error(n(153));if(d.child!==null){for(u=d.child,g=Gl(u,u.pendingProps),d.child=g,g.return=d;u.sibling!==null;)u=u.sibling,g=g.sibling=Gl(u,u.pendingProps),g.return=d;g.sibling=null}return d.child}function Cm(u,d,g){switch(d.tag){case 3:vm(d),Gs();break;case 5:sy(d);break;case 1:jr(d.type)&&Lu(d);break;case 4:oy(d,d.stateNode.containerInfo);break;case 10:var S=d.type._context,x=d.memoizedProps.value;pr(at,S._currentValue),S._currentValue=x;break;case 13:if(S=d.memoizedState,S!==null)return S.dehydrated!==null?(pr(Pr,Pr.current&1),d.flags|=128,null):g&d.child.childLanes?CC(u,d,g):(pr(Pr,Pr.current&1),u=Di(u,d,g),u!==null?u.sibling:null);pr(Pr,Pr.current&1);break;case 19:if(S=(g&d.childLanes)!==0,u.flags&128){if(S)return Oa(u,d,g);d.flags|=128}if(x=d.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),pr(Pr,Pr.current),S)break;return null;case 22:case 23:return d.lanes=0,ln(u,d,g)}return Di(u,d,g)}var bd,$a,di,TC;bd=function(u,d){for(var g=d.child;g!==null;){if(g.tag===5||g.tag===6)u.appendChild(g.stateNode);else if(g.tag!==4&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===d)break;for(;g.sibling===null;){if(g.return===null||g.return===d)return;g=g.return}g.sibling.return=g.return,g=g.sibling}},$a=function(){},di=function(u,d,g,S){var x=u.memoizedProps;if(x!==S){u=d.stateNode,Fu(ds.current);var _=null;switch(g){case"input":x=Xn(u,x),S=Xn(u,S),_=[];break;case"select":x=z({},x,{value:void 0}),S=z({},S,{value:void 0}),_=[];break;case"textarea":x=Ve(u,x),S=Ve(u,S),_=[];break;default:typeof x.onClick!="function"&&typeof S.onClick=="function"&&(u.onclick=Vp)}dn(g,S);var L;g=null;for(ye in x)if(!S.hasOwnProperty(ye)&&x.hasOwnProperty(ye)&&x[ye]!=null)if(ye==="style"){var q=x[ye];for(L in q)q.hasOwnProperty(L)&&(g||(g={}),g[L]="")}else ye!=="dangerouslySetInnerHTML"&&ye!=="children"&&ye!=="suppressContentEditableWarning"&&ye!=="suppressHydrationWarning"&&ye!=="autoFocus"&&(a.hasOwnProperty(ye)?_||(_=[]):(_=_||[]).push(ye,null));for(ye in S){var ee=S[ye];if(q=x!=null?x[ye]:void 0,S.hasOwnProperty(ye)&&ee!==q&&(ee!=null||q!=null))if(ye==="style")if(q){for(L in q)!q.hasOwnProperty(L)||ee&&ee.hasOwnProperty(L)||(g||(g={}),g[L]="");for(L in ee)ee.hasOwnProperty(L)&&q[L]!==ee[L]&&(g||(g={}),g[L]=ee[L])}else g||(_||(_=[]),_.push(ye,g)),g=ee;else ye==="dangerouslySetInnerHTML"?(ee=ee?ee.__html:void 0,q=q?q.__html:void 0,ee!=null&&q!==ee&&(_=_||[]).push(ye,ee)):ye==="children"?typeof ee!="string"&&typeof ee!="number"||(_=_||[]).push(ye,""+ee):ye!=="suppressContentEditableWarning"&&ye!=="suppressHydrationWarning"&&(a.hasOwnProperty(ye)?(ee!=null&&ye==="onScroll"&&Zn("scroll",u),_||q===ee||(_=[])):(_=_||[]).push(ye,ee))}g&&(_=_||[]).push("style",g);var ye=_;(d.updateQueue=ye)&&(d.flags|=4)}},TC=function(u,d,g,S){g!==S&&(d.flags|=4)};function th(u,d){if(!kr)switch(u.tailMode){case"hidden":d=u.tail;for(var g=null;d!==null;)d.alternate!==null&&(g=d),d=d.sibling;g===null?u.tail=null:g.sibling=null;break;case"collapsed":g=u.tail;for(var S=null;g!==null;)g.alternate!==null&&(S=g),g=g.sibling;S===null?d||u.tail===null?u.tail=null:u.tail.sibling=null:S.sibling=null}}function Ki(u){var d=u.alternate!==null&&u.alternate.child===u.child,g=0,S=0;if(d)for(var x=u.child;x!==null;)g|=x.lanes|x.childLanes,S|=x.subtreeFlags&14680064,S|=x.flags&14680064,x.return=u,x=x.sibling;else for(x=u.child;x!==null;)g|=x.lanes|x.childLanes,S|=x.subtreeFlags,S|=x.flags,x.return=u,x=x.sibling;return u.subtreeFlags|=S,u.childLanes=g,d}function by(u,d,g){var S=d.pendingProps;switch(qp(d),d.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ki(d),null;case 1:return jr(d.type)&&ls(),Ki(d),null;case 3:return S=d.stateNode,hd(),tr(ti),tr(Rr),$f(),S.pendingContext&&(S.context=S.pendingContext,S.pendingContext=null),(u===null||u.child===null)&&(Wr(d)?d.flags|=4:u===null||u.memoizedState.isDehydrated&&!(d.flags&256)||(d.flags|=1024,Vo!==null&&(ch(Vo),Vo=null))),$a(u,d),Ki(d),null;case 5:ly(d);var x=Fu(Hf.current);if(g=d.type,u!==null&&d.stateNode!=null)di(u,d,g,S,x),u.ref!==d.ref&&(d.flags|=512,d.flags|=2097152);else{if(!S){if(d.stateNode===null)throw Error(n(166));return Ki(d),null}if(u=Fu(ds.current),Wr(d)){S=d.stateNode,g=d.type;var _=d.memoizedProps;switch(S[vo]=d,S[If]=_,u=(d.mode&1)!==0,g){case"dialog":Zn("cancel",S),Zn("close",S);break;case"iframe":case"object":case"embed":Zn("load",S);break;case"video":case"audio":for(x=0;x<Af.length;x++)Zn(Af[x],S);break;case"source":Zn("error",S);break;case"img":case"image":case"link":Zn("error",S),Zn("load",S);break;case"details":Zn("toggle",S);break;case"input":Lr(S,_),Zn("invalid",S);break;case"select":S._wrapperState={wasMultiple:!!_.multiple},Zn("invalid",S);break;case"textarea":Me(S,_),Zn("invalid",S)}dn(g,_),x=null;for(var L in _)if(_.hasOwnProperty(L)){var q=_[L];L==="children"?typeof q=="string"?S.textContent!==q&&(_.suppressHydrationWarning!==!0&&jp(S.textContent,q,u),x=["children",q]):typeof q=="number"&&S.textContent!==""+q&&(_.suppressHydrationWarning!==!0&&jp(S.textContent,q,u),x=["children",""+q]):a.hasOwnProperty(L)&&q!=null&&L==="onScroll"&&Zn("scroll",S)}switch(g){case"input":qn(S),Z(S,_,!0);break;case"textarea":qn(S),Nt(S);break;case"select":case"option":break;default:typeof _.onClick=="function"&&(S.onclick=Vp)}S=x,d.updateQueue=S,S!==null&&(d.flags|=4)}else{L=x.nodeType===9?x:x.ownerDocument,u==="http://www.w3.org/1999/xhtml"&&(u=fe(g)),u==="http://www.w3.org/1999/xhtml"?g==="script"?(u=L.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild)):typeof S.is=="string"?u=L.createElement(g,{is:S.is}):(u=L.createElement(g),g==="select"&&(L=u,S.multiple?L.multiple=!0:S.size&&(L.size=S.size))):u=L.createElementNS(u,g),u[vo]=d,u[If]=S,bd(u,d,!1,!1),d.stateNode=u;e:{switch(L=Pn(g,S),g){case"dialog":Zn("cancel",u),Zn("close",u),x=S;break;case"iframe":case"object":case"embed":Zn("load",u),x=S;break;case"video":case"audio":for(x=0;x<Af.length;x++)Zn(Af[x],u);x=S;break;case"source":Zn("error",u),x=S;break;case"img":case"image":case"link":Zn("error",u),Zn("load",u),x=S;break;case"details":Zn("toggle",u),x=S;break;case"input":Lr(u,S),x=Xn(u,S),Zn("invalid",u);break;case"option":x=S;break;case"select":u._wrapperState={wasMultiple:!!S.multiple},x=z({},S,{value:void 0}),Zn("invalid",u);break;case"textarea":Me(u,S),x=Ve(u,S),Zn("invalid",u);break;default:x=S}dn(g,x),q=x;for(_ in q)if(q.hasOwnProperty(_)){var ee=q[_];_==="style"?cn(u,ee):_==="dangerouslySetInnerHTML"?(ee=ee?ee.__html:void 0,ee!=null&&Ft(u,ee)):_==="children"?typeof ee=="string"?(g!=="textarea"||ee!=="")&&Kt(u,ee):typeof ee=="number"&&Kt(u,""+ee):_!=="suppressContentEditableWarning"&&_!=="suppressHydrationWarning"&&_!=="autoFocus"&&(a.hasOwnProperty(_)?ee!=null&&_==="onScroll"&&Zn("scroll",u):ee!=null&&V(u,_,ee,L))}switch(g){case"input":qn(u),Z(u,S,!1);break;case"textarea":qn(u),Nt(u);break;case"option":S.value!=null&&u.setAttribute("value",""+it(S.value));break;case"select":u.multiple=!!S.multiple,_=S.value,_!=null?je(u,!!S.multiple,_,!1):S.defaultValue!=null&&je(u,!!S.multiple,S.defaultValue,!0);break;default:typeof x.onClick=="function"&&(u.onclick=Vp)}switch(g){case"button":case"input":case"select":case"textarea":S=!!S.autoFocus;break e;case"img":S=!0;break e;default:S=!1}}S&&(d.flags|=4)}d.ref!==null&&(d.flags|=512,d.flags|=2097152)}return Ki(d),null;case 6:if(u&&d.stateNode!=null)TC(u,d,u.memoizedProps,S);else{if(typeof S!="string"&&d.stateNode===null)throw Error(n(166));if(g=Fu(Hf.current),Fu(ds.current),Wr(d)){if(S=d.stateNode,g=d.memoizedProps,S[vo]=d,(_=S.nodeValue!==g)&&(u=_a,u!==null))switch(u.tag){case 3:jp(S.nodeValue,g,(u.mode&1)!==0);break;case 5:u.memoizedProps.suppressHydrationWarning!==!0&&jp(S.nodeValue,g,(u.mode&1)!==0)}_&&(d.flags|=4)}else S=(g.nodeType===9?g:g.ownerDocument).createTextNode(S),S[vo]=d,d.stateNode=S}return Ki(d),null;case 13:if(tr(Pr),S=d.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(kr&&Ea!==null&&d.mode&1&&!(d.flags&128))lC(),Gs(),d.flags|=98560,_=!1;else if(_=Wr(d),S!==null&&S.dehydrated!==null){if(u===null){if(!_)throw Error(n(318));if(_=d.memoizedState,_=_!==null?_.dehydrated:null,!_)throw Error(n(317));_[vo]=d}else Gs(),!(d.flags&128)&&(d.memoizedState=null),d.flags|=4;Ki(d),_=!1}else Vo!==null&&(ch(Vo),Vo=null),_=!0;if(!_)return d.flags&65536?d:null}return d.flags&128?(d.lanes=g,d):(S=S!==null,S!==(u!==null&&u.memoizedState!==null)&&S&&(d.child.flags|=8192,d.mode&1&&(u===null||Pr.current&1?fi===0&&(fi=3):wy())),d.updateQueue!==null&&(d.flags|=4),Ki(d),null);case 4:return hd(),$a(u,d),u===null&&Mf(d.stateNode.containerInfo),Ki(d),null;case 10:return ny(d.type._context),Ki(d),null;case 17:return jr(d.type)&&ls(),Ki(d),null;case 19:if(tr(Pr),_=d.memoizedState,_===null)return Ki(d),null;if(S=(d.flags&128)!==0,L=_.rendering,L===null)if(S)th(_,!1);else{if(fi!==0||u!==null&&u.flags&128)for(u=d.child;u!==null;){if(L=Yp(u),L!==null){for(d.flags|=128,th(_,!1),S=L.updateQueue,S!==null&&(d.updateQueue=S,d.flags|=4),d.subtreeFlags=0,S=g,g=d.child;g!==null;)_=g,u=S,_.flags&=14680066,L=_.alternate,L===null?(_.childLanes=0,_.lanes=u,_.child=null,_.subtreeFlags=0,_.memoizedProps=null,_.memoizedState=null,_.updateQueue=null,_.dependencies=null,_.stateNode=null):(_.childLanes=L.childLanes,_.lanes=L.lanes,_.child=L.child,_.subtreeFlags=0,_.deletions=null,_.memoizedProps=L.memoizedProps,_.memoizedState=L.memoizedState,_.updateQueue=L.updateQueue,_.type=L.type,u=L.dependencies,_.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),g=g.sibling;return pr(Pr,Pr.current&1|2),d.child}u=u.sibling}_.tail!==null&&Yn()>Td&&(d.flags|=128,S=!0,th(_,!1),d.lanes=4194304)}else{if(!S)if(u=Yp(L),u!==null){if(d.flags|=128,S=!0,g=u.updateQueue,g!==null&&(d.updateQueue=g,d.flags|=4),th(_,!0),_.tail===null&&_.tailMode==="hidden"&&!L.alternate&&!kr)return Ki(d),null}else 2*Yn()-_.renderingStartTime>Td&&g!==1073741824&&(d.flags|=128,S=!0,th(_,!1),d.lanes=4194304);_.isBackwards?(L.sibling=d.child,d.child=L):(g=_.last,g!==null?g.sibling=L:d.child=L,_.last=L)}return _.tail!==null?(d=_.tail,_.rendering=d,_.tail=d.sibling,_.renderingStartTime=Yn(),d.sibling=null,g=Pr.current,pr(Pr,S?g&1|2:g&1),d):(Ki(d),null);case 22:case 23:return xy(),S=d.memoizedState!==null,u!==null&&u.memoizedState!==null!==S&&(d.flags|=8192),S&&d.mode&1?qa&1073741824&&(Ki(d),d.subtreeFlags&6&&(d.flags|=8192)):Ki(d),null;case 24:return null;case 25:return null}throw Error(n(156,d.tag))}function xC(u,d){switch(qp(d),d.tag){case 1:return jr(d.type)&&ls(),u=d.flags,u&65536?(d.flags=u&-65537|128,d):null;case 3:return hd(),tr(ti),tr(Rr),$f(),u=d.flags,u&65536&&!(u&128)?(d.flags=u&-65537|128,d):null;case 5:return ly(d),null;case 13:if(tr(Pr),u=d.memoizedState,u!==null&&u.dehydrated!==null){if(d.alternate===null)throw Error(n(340));Gs()}return u=d.flags,u&65536?(d.flags=u&-65537|128,d):null;case 19:return tr(Pr),null;case 4:return hd(),null;case 10:return ny(d.type._context),null;case 22:case 23:return xy(),null;case 24:return null;default:return null}}var $u=!1,Ai=!1,H_=typeof WeakSet=="function"?WeakSet:Set,kt=null;function Hl(u,d){var g=u.ref;if(g!==null)if(typeof g=="function")try{g(null)}catch(S){Vr(u,d,S)}else g.current=null}function Sy(u,d,g){try{g()}catch(S){Vr(u,d,S)}}var Cy=!1;function $_(u,d){if(Au=El,u=Dl(),ed(u)){if("selectionStart"in u)var g={start:u.selectionStart,end:u.selectionEnd};else e:{g=(g=u.ownerDocument)&&g.defaultView||window;var S=g.getSelection&&g.getSelection();if(S&&S.rangeCount!==0){g=S.anchorNode;var x=S.anchorOffset,_=S.focusNode;S=S.focusOffset;try{g.nodeType,_.nodeType}catch{g=null;break e}var L=0,q=-1,ee=-1,ye=0,Ue=0,He=u,Ie=null;t:for(;;){for(var mt;He!==g||x!==0&&He.nodeType!==3||(q=L+x),He!==_||S!==0&&He.nodeType!==3||(ee=L+S),He.nodeType===3&&(L+=He.nodeValue.length),(mt=He.firstChild)!==null;)Ie=He,He=mt;for(;;){if(He===u)break t;if(Ie===g&&++ye===x&&(q=L),Ie===_&&++Ue===S&&(ee=L),(mt=He.nextSibling)!==null)break;He=Ie,Ie=He.parentNode}He=mt}g=q===-1||ee===-1?null:{start:q,end:ee}}else g=null}g=g||{start:0,end:0}}else g=null;for(Nf={focusedElem:u,selectionRange:g},El=!1,kt=d;kt!==null;)if(d=kt,u=d.child,(d.subtreeFlags&1028)!==0&&u!==null)u.return=d,kt=u;else for(;kt!==null;){d=kt;try{var wt=d.alternate;if(d.flags&1024)switch(d.tag){case 0:case 11:case 15:break;case 1:if(wt!==null){var Et=wt.memoizedProps,Kr=wt.memoizedState,ue=d.stateNode,ie=ue.getSnapshotBeforeUpdate(d.elementType===d.type?Et:Da(d.type,Et),Kr);ue.__reactInternalSnapshotBeforeUpdate=ie}break;case 3:var he=d.stateNode.containerInfo;he.nodeType===1?he.textContent="":he.nodeType===9&&he.documentElement&&he.removeChild(he.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Ke){Vr(d,d.return,Ke)}if(u=d.sibling,u!==null){u.return=d.return,kt=u;break}kt=d.return}return wt=Cy,Cy=!1,wt}function Sd(u,d,g){var S=d.updateQueue;if(S=S!==null?S.lastEffect:null,S!==null){var x=S=S.next;do{if((x.tag&u)===u){var _=x.destroy;x.destroy=void 0,_!==void 0&&Sy(d,g,_)}x=x.next}while(x!==S)}}function km(u,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&u)===u){var S=g.create;g.destroy=S()}g=g.next}while(g!==d)}}function Tm(u){var d=u.ref;if(d!==null){var g=u.stateNode;switch(u.tag){case 5:u=g;break;default:u=g}typeof d=="function"?d(u):d.current=u}}function wC(u){var d=u.alternate;d!==null&&(u.alternate=null,wC(d)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(d=u.stateNode,d!==null&&(delete d[vo],delete d[If],delete d[Wv],delete d[Gv],delete d[ld])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function xm(u){return u.tag===5||u.tag===3||u.tag===4}function nh(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||xm(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function fs(u,d,g){var S=u.tag;if(S===5||S===6)u=u.stateNode,d?g.nodeType===8?g.parentNode.insertBefore(u,d):g.insertBefore(u,d):(g.nodeType===8?(d=g.parentNode,d.insertBefore(u,g)):(d=g,d.appendChild(u)),g=g._reactRootContainer,g!=null||d.onclick!==null||(d.onclick=Vp));else if(S!==4&&(u=u.child,u!==null))for(fs(u,d,g),u=u.sibling;u!==null;)fs(u,d,g),u=u.sibling}function hs(u,d,g){var S=u.tag;if(S===5||S===6)u=u.stateNode,d?g.insertBefore(u,d):g.appendChild(u);else if(S!==4&&(u=u.child,u!==null))for(hs(u,d,g),u=u.sibling;u!==null;)hs(u,d,g),u=u.sibling}var Dr=null,oa=!1;function Co(u,d,g){for(g=g.child;g!==null;)Ks(u,d,g),g=g.sibling}function Ks(u,d,g){if(Ca&&typeof Ca.onCommitFiberUnmount=="function")try{Ca.onCommitFiberUnmount(Tl,g)}catch{}switch(g.tag){case 5:Ai||Hl(g,d);case 6:var S=Dr,x=oa;Dr=null,Co(u,d,g),Dr=S,oa=x,Dr!==null&&(oa?(u=Dr,g=g.stateNode,u.nodeType===8?u.parentNode.removeChild(g):u.removeChild(g)):Dr.removeChild(g.stateNode));break;case 18:Dr!==null&&(oa?(u=Dr,g=g.stateNode,u.nodeType===8?od(u.parentNode,g):u.nodeType===1&&od(u,g),po(u)):od(Dr,g.stateNode));break;case 4:S=Dr,x=oa,Dr=g.stateNode.containerInfo,oa=!0,Co(u,d,g),Dr=S,oa=x;break;case 0:case 11:case 14:case 15:if(!Ai&&(S=g.updateQueue,S!==null&&(S=S.lastEffect,S!==null))){x=S=S.next;do{var _=x,L=_.destroy;_=_.tag,L!==void 0&&(_&2||_&4)&&Sy(g,d,L),x=x.next}while(x!==S)}Co(u,d,g);break;case 1:if(!Ai&&(Hl(g,d),S=g.stateNode,typeof S.componentWillUnmount=="function"))try{S.props=g.memoizedProps,S.state=g.memoizedState,S.componentWillUnmount()}catch(q){Vr(g,d,q)}Co(u,d,g);break;case 21:Co(u,d,g);break;case 22:g.mode&1?(Ai=(S=Ai)||g.memoizedState!==null,Co(u,d,g),Ai=S):Co(u,d,g);break;default:Co(u,d,g)}}function _C(u){var d=u.updateQueue;if(d!==null){u.updateQueue=null;var g=u.stateNode;g===null&&(g=u.stateNode=new H_),d.forEach(function(S){var x=K_.bind(null,u,S);g.has(S)||(g.add(S),S.then(x,x))})}}function Bo(u,d){var g=d.deletions;if(g!==null)for(var S=0;S<g.length;S++){var x=g[S];try{var _=u,L=d,q=L;e:for(;q!==null;){switch(q.tag){case 5:Dr=q.stateNode,oa=!1;break e;case 3:Dr=q.stateNode.containerInfo,oa=!0;break e;case 4:Dr=q.stateNode.containerInfo,oa=!0;break e}q=q.return}if(Dr===null)throw Error(n(160));Ks(_,L,x),Dr=null,oa=!1;var ee=x.alternate;ee!==null&&(ee.return=null),x.return=null}catch(ye){Vr(x,d,ye)}}if(d.subtreeFlags&12854)for(d=d.child;d!==null;)EC(d,u),d=d.sibling}function EC(u,d){var g=u.alternate,S=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:if(Bo(d,u),Ho(u),S&4){try{Sd(3,u,u.return),km(3,u)}catch(Et){Vr(u,u.return,Et)}try{Sd(5,u,u.return)}catch(Et){Vr(u,u.return,Et)}}break;case 1:Bo(d,u),Ho(u),S&512&&g!==null&&Hl(g,g.return);break;case 5:if(Bo(d,u),Ho(u),S&512&&g!==null&&Hl(g,g.return),u.flags&32){var x=u.stateNode;try{Kt(x,"")}catch(Et){Vr(u,u.return,Et)}}if(S&4&&(x=u.stateNode,x!=null)){var _=u.memoizedProps,L=g!==null?g.memoizedProps:_,q=u.type,ee=u.updateQueue;if(u.updateQueue=null,ee!==null)try{q==="input"&&_.type==="radio"&&_.name!=null&&un(x,_),Pn(q,L);var ye=Pn(q,_);for(L=0;L<ee.length;L+=2){var Ue=ee[L],He=ee[L+1];Ue==="style"?cn(x,He):Ue==="dangerouslySetInnerHTML"?Ft(x,He):Ue==="children"?Kt(x,He):V(x,Ue,He,ye)}switch(q){case"input":Lt(x,_);break;case"textarea":ut(x,_);break;case"select":var Ie=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!_.multiple;var mt=_.value;mt!=null?je(x,!!_.multiple,mt,!1):Ie!==!!_.multiple&&(_.defaultValue!=null?je(x,!!_.multiple,_.defaultValue,!0):je(x,!!_.multiple,_.multiple?[]:"",!1))}x[If]=_}catch(Et){Vr(u,u.return,Et)}}break;case 6:if(Bo(d,u),Ho(u),S&4){if(u.stateNode===null)throw Error(n(162));x=u.stateNode,_=u.memoizedProps;try{x.nodeValue=_}catch(Et){Vr(u,u.return,Et)}}break;case 3:if(Bo(d,u),Ho(u),S&4&&g!==null&&g.memoizedState.isDehydrated)try{po(d.containerInfo)}catch(Et){Vr(u,u.return,Et)}break;case 4:Bo(d,u),Ho(u);break;case 13:Bo(d,u),Ho(u),x=u.child,x.flags&8192&&(_=x.memoizedState!==null,x.stateNode.isHidden=_,!_||x.alternate!==null&&x.alternate.memoizedState!==null||(Ty=Yn())),S&4&&_C(u);break;case 22:if(Ue=g!==null&&g.memoizedState!==null,u.mode&1?(Ai=(ye=Ai)||Ue,Bo(d,u),Ai=ye):Bo(d,u),Ho(u),S&8192){if(ye=u.memoizedState!==null,(u.stateNode.isHidden=ye)&&!Ue&&u.mode&1)for(kt=u,Ue=u.child;Ue!==null;){for(He=kt=Ue;kt!==null;){switch(Ie=kt,mt=Ie.child,Ie.tag){case 0:case 11:case 14:case 15:Sd(4,Ie,Ie.return);break;case 1:Hl(Ie,Ie.return);var wt=Ie.stateNode;if(typeof wt.componentWillUnmount=="function"){S=Ie,g=Ie.return;try{d=S,wt.props=d.memoizedProps,wt.state=d.memoizedState,wt.componentWillUnmount()}catch(Et){Vr(S,g,Et)}}break;case 5:Hl(Ie,Ie.return);break;case 22:if(Ie.memoizedState!==null){PC(He);continue}}mt!==null?(mt.return=Ie,kt=mt):PC(He)}Ue=Ue.sibling}e:for(Ue=null,He=u;;){if(He.tag===5){if(Ue===null){Ue=He;try{x=He.stateNode,ye?(_=x.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none"):(q=He.stateNode,ee=He.memoizedProps.style,L=ee!=null&&ee.hasOwnProperty("display")?ee.display:null,q.style.display=At("display",L))}catch(Et){Vr(u,u.return,Et)}}}else if(He.tag===6){if(Ue===null)try{He.stateNode.nodeValue=ye?"":He.memoizedProps}catch(Et){Vr(u,u.return,Et)}}else if((He.tag!==22&&He.tag!==23||He.memoizedState===null||He===u)&&He.child!==null){He.child.return=He,He=He.child;continue}if(He===u)break e;for(;He.sibling===null;){if(He.return===null||He.return===u)break e;Ue===He&&(Ue=null),He=He.return}Ue===He&&(Ue=null),He.sibling.return=He.return,He=He.sibling}}break;case 19:Bo(d,u),Ho(u),S&4&&_C(u);break;case 21:break;default:Bo(d,u),Ho(u)}}function Ho(u){var d=u.flags;if(d&2){try{e:{for(var g=u.return;g!==null;){if(xm(g)){var S=g;break e}g=g.return}throw Error(n(160))}switch(S.tag){case 5:var x=S.stateNode;S.flags&32&&(Kt(x,""),S.flags&=-33);var _=nh(u);hs(u,_,x);break;case 3:case 4:var L=S.stateNode.containerInfo,q=nh(u);fs(u,q,L);break;default:throw Error(n(161))}}catch(ee){Vr(u,u.return,ee)}u.flags&=-3}d&4096&&(u.flags&=-4097)}function rh(u,d,g){kt=u,RC(u)}function RC(u,d,g){for(var S=(u.mode&1)!==0;kt!==null;){var x=kt,_=x.child;if(x.tag===22&&S){var L=x.memoizedState!==null||$u;if(!L){var q=x.alternate,ee=q!==null&&q.memoizedState!==null||Ai;q=$u;var ye=Ai;if($u=L,(Ai=ee)&&!ye)for(kt=x;kt!==null;)L=kt,ee=L.child,L.tag===22&&L.memoizedState!==null?ih(x):ee!==null?(ee.return=L,kt=ee):ih(x);for(;_!==null;)kt=_,RC(_),_=_.sibling;kt=x,$u=q,Ai=ye}ky(u)}else x.subtreeFlags&8772&&_!==null?(_.return=x,kt=_):ky(u)}}function ky(u){for(;kt!==null;){var d=kt;if(d.flags&8772){var g=d.alternate;try{if(d.flags&8772)switch(d.tag){case 0:case 11:case 15:Ai||km(5,d);break;case 1:var S=d.stateNode;if(d.flags&4&&!Ai)if(g===null)S.componentDidMount();else{var x=d.elementType===d.type?g.memoizedProps:Da(d.type,g.memoizedProps);S.componentDidUpdate(x,g.memoizedState,S.__reactInternalSnapshotBeforeUpdate)}var _=d.updateQueue;_!==null&&ay(d,_,S);break;case 3:var L=d.updateQueue;if(L!==null){if(g=null,d.child!==null)switch(d.child.tag){case 5:g=d.child.stateNode;break;case 1:g=d.child.stateNode}ay(d,L,g)}break;case 5:var q=d.stateNode;if(g===null&&d.flags&4){g=q;var ee=d.memoizedProps;switch(d.type){case"button":case"input":case"select":case"textarea":ee.autoFocus&&g.focus();break;case"img":ee.src&&(g.src=ee.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(d.memoizedState===null){var ye=d.alternate;if(ye!==null){var Ue=ye.memoizedState;if(Ue!==null){var He=Ue.dehydrated;He!==null&&po(He)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Ai||d.flags&512&&Tm(d)}catch(Ie){Vr(d,d.return,Ie)}}if(d===u){kt=null;break}if(g=d.sibling,g!==null){g.return=d.return,kt=g;break}kt=d.return}}function PC(u){for(;kt!==null;){var d=kt;if(d===u){kt=null;break}var g=d.sibling;if(g!==null){g.return=d.return,kt=g;break}kt=d.return}}function ih(u){for(;kt!==null;){var d=kt;try{switch(d.tag){case 0:case 11:case 15:var g=d.return;try{km(4,d)}catch(ee){Vr(d,g,ee)}break;case 1:var S=d.stateNode;if(typeof S.componentDidMount=="function"){var x=d.return;try{S.componentDidMount()}catch(ee){Vr(d,x,ee)}}var _=d.return;try{Tm(d)}catch(ee){Vr(d,_,ee)}break;case 5:var L=d.return;try{Tm(d)}catch(ee){Vr(d,L,ee)}}}catch(ee){Vr(d,d.return,ee)}if(d===u){kt=null;break}var q=d.sibling;if(q!==null){q.return=d.return,kt=q;break}kt=d.return}}var DC=Math.ceil,wm=j.ReactCurrentDispatcher,qu=j.ReactCurrentOwner,Zi=j.ReactCurrentBatchConfig,Tn=0,ii=null,Yr=null,Oi=0,qa=0,Cd=wa(0),fi=0,Wu=null,Gu=0,Yu=0,ah=0,kd=null,Ma=null,Ty=0,Td=1/0,Zs=null,$l=!1,oh=null,ko=null,_m=!1,ql=null,sh=0,xd=0,wd=null,Ku=-1,lh=0;function mr(){return Tn&6?Yn():Ku!==-1?Ku:Ku=Yn()}function Wa(u){return u.mode&1?Tn&2&&Oi!==0?Oi&-Oi:Iu.transition!==null?(lh===0&&(lh=ku()),lh):(u=Dn,u!==0||(u=window.event,u=u===void 0?16:Cf(u.type)),u):1}function Ga(u,d,g,S){if(50<xd)throw xd=0,wd=null,Error(n(185));_l(u,g,S),(!(Tn&2)||u!==ii)&&(u===ii&&(!(Tn&2)&&(Yu|=g),fi===4&&Wl(u,Oi)),Ci(u,S),g===1&&Tn===0&&!(d.mode&1)&&(Td=Yn()+500,Ff&&ia()))}function Ci(u,d){var g=u.callbackNode;Hc(u,d);var S=rs(u,u===ii?Oi:0);if(S===0)g!==null&&Cr(g),u.callbackNode=null,u.callbackPriority=0;else if(d=S&-S,u.callbackPriority!==d){if(g!=null&&Cr(g),d===1)u.tag===0?Yv(fh.bind(null,u)):Ol(fh.bind(null,u)),V_(function(){!(Tn&6)&&ia()}),g=null;else{switch(Sf(S)){case 1:g=an;break;case 4:g=ns;break;case 16:g=Is;break;case 536870912:g=Us;break;default:g=Is}g=IC(g,AC.bind(null,u))}u.callbackPriority=d,u.callbackNode=g}}function AC(u,d){if(Ku=-1,lh=0,Tn&6)throw Error(n(327));var g=u.callbackNode;if(_d()&&u.callbackNode!==g)return null;var S=rs(u,u===ii?Oi:0);if(S===0)return null;if(S&30||S&u.expiredLanes||d)d=Pm(u,S);else{d=S;var x=Tn;Tn|=2;var _=OC();(ii!==u||Oi!==d)&&(Zs=null,Td=Yn()+500,Qu(u,d));do try{W_();break}catch(q){Rm(u,q)}while(!0);ty(),wm.current=_,Tn=x,Yr!==null?d=0:(ii=null,Oi=0,d=fi)}if(d!==0){if(d===2&&(x=js(u),x!==0&&(S=x,d=uh(u,x))),d===1)throw g=Wu,Qu(u,0),Wl(u,S),Ci(u,Yn()),g;if(d===6)Wl(u,S);else{if(x=u.current.alternate,!(S&30)&&!dh(x)&&(d=Pm(u,S),d===2&&(_=js(u),_!==0&&(S=_,d=uh(u,_))),d===1))throw g=Wu,Qu(u,0),Wl(u,S),Ci(u,Yn()),g;switch(u.finishedWork=x,u.finishedLanes=S,d){case 0:case 1:throw Error(n(345));case 2:Xu(u,Ma,Zs);break;case 3:if(Wl(u,S),(S&130023424)===S&&(d=Ty+500-Yn(),10<d)){if(rs(u,0)!==0)break;if(x=u.suspendedLanes,(x&S)!==S){mr(),u.pingedLanes|=u.suspendedLanes&x;break}u.timeoutHandle=zp(Xu.bind(null,u,Ma,Zs),d);break}Xu(u,Ma,Zs);break;case 4:if(Wl(u,S),(S&4194240)===S)break;for(d=u.eventTimes,x=-1;0<S;){var L=31-ta(S);_=1<<L,L=d[L],L>x&&(x=L),S&=~_}if(S=x,S=Yn()-S,S=(120>S?120:480>S?480:1080>S?1080:1920>S?1920:3e3>S?3e3:4320>S?4320:1960*DC(S/1960))-S,10<S){u.timeoutHandle=zp(Xu.bind(null,u,Ma,Zs),S);break}Xu(u,Ma,Zs);break;case 5:Xu(u,Ma,Zs);break;default:throw Error(n(329))}}}return Ci(u,Yn()),u.callbackNode===g?AC.bind(null,u):null}function uh(u,d){var g=kd;return u.current.memoizedState.isDehydrated&&(Qu(u,d).flags|=256),u=Pm(u,d),u!==2&&(d=Ma,Ma=g,d!==null&&ch(d)),u}function ch(u){Ma===null?Ma=u:Ma.push.apply(Ma,u)}function dh(u){for(var d=u;;){if(d.flags&16384){var g=d.updateQueue;if(g!==null&&(g=g.stores,g!==null))for(var S=0;S<g.length;S++){var x=g[S],_=x.getSnapshot;x=x.value;try{if(!Uo(_(),x))return!1}catch{return!1}}}if(g=d.child,d.subtreeFlags&16384&&g!==null)g.return=d,d=g;else{if(d===u)break;for(;d.sibling===null;){if(d.return===null||d.return===u)return!0;d=d.return}d.sibling.return=d.return,d=d.sibling}}return!0}function Wl(u,d){for(d&=~ah,d&=~Yu,u.suspendedLanes|=d,u.pingedLanes&=~d,u=u.expirationTimes;0<d;){var g=31-ta(d),S=1<<g;u[g]=-1,d&=~S}}function fh(u){if(Tn&6)throw Error(n(327));_d();var d=rs(u,0);if(!(d&1))return Ci(u,Yn()),null;var g=Pm(u,d);if(u.tag!==0&&g===2){var S=js(u);S!==0&&(d=S,g=uh(u,S))}if(g===1)throw g=Wu,Qu(u,0),Wl(u,d),Ci(u,Yn()),g;if(g===6)throw Error(n(345));return u.finishedWork=u.current.alternate,u.finishedLanes=d,Xu(u,Ma,Zs),Ci(u,Yn()),null}function Em(u,d){var g=Tn;Tn|=1;try{return u(d)}finally{Tn=g,Tn===0&&(Td=Yn()+500,Ff&&ia())}}function Zu(u){ql!==null&&ql.tag===0&&!(Tn&6)&&_d();var d=Tn;Tn|=1;var g=Zi.transition,S=Dn;try{if(Zi.transition=null,Dn=1,u)return u()}finally{Dn=S,Zi.transition=g,Tn=d,!(Tn&6)&&ia()}}function xy(){qa=Cd.current,tr(Cd)}function Qu(u,d){u.finishedWork=null,u.finishedLanes=0;var g=u.timeoutHandle;if(g!==-1&&(u.timeoutHandle=-1,iC(g)),Yr!==null)for(g=Yr.return;g!==null;){var S=g;switch(qp(S),S.tag){case 1:S=S.type.childContextTypes,S!=null&&ls();break;case 3:hd(),tr(ti),tr(Rr),$f();break;case 5:ly(S);break;case 4:hd();break;case 13:tr(Pr);break;case 19:tr(Pr);break;case 10:ny(S.type._context);break;case 22:case 23:xy()}g=g.return}if(ii=u,Yr=u=Gl(u.current,null),Oi=qa=d,fi=0,Wu=null,ah=Yu=Gu=0,Ma=kd=null,Uu!==null){for(d=0;d<Uu.length;d++)if(g=Uu[d],S=g.interleaved,S!==null){g.interleaved=null;var x=S.next,_=g.pending;if(_!==null){var L=_.next;_.next=x,S.next=L}g.pending=S}Uu=null}return u}function Rm(u,d){do{var g=Yr;try{if(ty(),Mt.current=rr,Kp){for(var S=on.memoizedState;S!==null;){var x=S.queue;x!==null&&(x.pending=null),S=S.next}Kp=!1}if(En=0,ci=cr=on=null,qf=!1,Wf=0,qu.current=null,g===null||g.return===null){fi=1,Wu=d,Yr=null;break}e:{var _=u,L=g.return,q=g,ee=d;if(d=Oi,q.flags|=32768,ee!==null&&typeof ee=="object"&&typeof ee.then=="function"){var ye=ee,Ue=q,He=Ue.tag;if(!(Ue.mode&1)&&(He===0||He===11||He===15)){var Ie=Ue.alternate;Ie?(Ue.updateQueue=Ie.updateQueue,Ue.memoizedState=Ie.memoizedState,Ue.lanes=Ie.lanes):(Ue.updateQueue=null,Ue.memoizedState=null)}var mt=my(L);if(mt!==null){mt.flags&=-257,SC(mt,L,q,_,d),mt.mode&1&&py(_,ye,d),d=mt,ee=ye;var wt=d.updateQueue;if(wt===null){var Et=new Set;Et.add(ee),d.updateQueue=Et}else wt.add(ee);break e}else{if(!(d&1)){py(_,ye,d),wy();break e}ee=Error(n(426))}}else if(kr&&q.mode&1){var Kr=my(L);if(Kr!==null){!(Kr.flags&65536)&&(Kr.flags|=256),SC(Kr,L,q,_,d),Vf(Bl(ee,q));break e}}_=ee=Bl(ee,q),fi!==4&&(fi=2),kd===null?kd=[_]:kd.push(_),_=L;do{switch(_.tag){case 3:_.flags|=65536,d&=-d,_.lanes|=d;var ue=Xf(_,ee,d);hC(_,ue);break e;case 1:q=ee;var ie=_.type,he=_.stateNode;if(!(_.flags&128)&&(typeof ie.getDerivedStateFromError=="function"||he!==null&&typeof he.componentDidCatch=="function"&&(ko===null||!ko.has(he)))){_.flags|=65536,d&=-d,_.lanes|=d;var Ke=bC(_,q,d);hC(_,Ke);break e}}_=_.return}while(_!==null)}MC(g)}catch(dt){d=dt,Yr===g&&g!==null&&(Yr=g=g.return);continue}break}while(!0)}function OC(){var u=wm.current;return wm.current=rr,u===null?rr:u}function wy(){(fi===0||fi===3||fi===2)&&(fi=4),ii===null||!(Gu&268435455)&&!(Yu&268435455)||Wl(ii,Oi)}function Pm(u,d){var g=Tn;Tn|=2;var S=OC();(ii!==u||Oi!==d)&&(Zs=null,Qu(u,d));do try{q_();break}catch(x){Rm(u,x)}while(!0);if(ty(),Tn=g,wm.current=S,Yr!==null)throw Error(n(261));return ii=null,Oi=0,fi}function q_(){for(;Yr!==null;)_y(Yr)}function W_(){for(;Yr!==null&&!$i();)_y(Yr)}function _y(u){var d=Ry(u.alternate,u,qa);u.memoizedProps=u.pendingProps,d===null?MC(u):Yr=d,qu.current=null}function MC(u){var d=u;do{var g=d.alternate;if(u=d.return,d.flags&32768){if(g=xC(g,d),g!==null){g.flags&=32767,Yr=g;return}if(u!==null)u.flags|=32768,u.subtreeFlags=0,u.deletions=null;else{fi=6,Yr=null;return}}else if(g=by(g,d,qa),g!==null){Yr=g;return}if(d=d.sibling,d!==null){Yr=d;return}Yr=d=u}while(d!==null);fi===0&&(fi=5)}function Xu(u,d,g){var S=Dn,x=Zi.transition;try{Zi.transition=null,Dn=1,G_(u,d,g,S)}finally{Zi.transition=x,Dn=S}return null}function G_(u,d,g,S){do _d();while(ql!==null);if(Tn&6)throw Error(n(327));g=u.finishedWork;var x=u.finishedLanes;if(g===null)return null;if(u.finishedWork=null,u.finishedLanes=0,g===u.current)throw Error(n(177));u.callbackNode=null,u.callbackPriority=0;var _=g.lanes|g.childLanes;if(yf(u,_),u===ii&&(Yr=ii=null,Oi=0),!(g.subtreeFlags&2064)&&!(g.flags&2064)||_m||(_m=!0,IC(Is,function(){return _d(),null})),_=(g.flags&15990)!==0,g.subtreeFlags&15990||_){_=Zi.transition,Zi.transition=null;var L=Dn;Dn=1;var q=Tn;Tn|=4,qu.current=null,$_(u,g),EC(g,u),KS(Nf),El=!!Au,Nf=Au=null,u.current=g,rh(g),Lo(),Tn=q,Dn=L,Zi.transition=_}else u.current=g;if(_m&&(_m=!1,ql=u,sh=x),_=u.pendingLanes,_===0&&(ko=null),gf(g.stateNode),Ci(u,Yn()),d!==null)for(S=u.onRecoverableError,g=0;g<d.length;g++)x=d[g],S(x.value,{componentStack:x.stack,digest:x.digest});if($l)throw $l=!1,u=oh,oh=null,u;return sh&1&&u.tag!==0&&_d(),_=u.pendingLanes,_&1?u===wd?xd++:(xd=0,wd=u):xd=0,ia(),null}function _d(){if(ql!==null){var u=Sf(sh),d=Zi.transition,g=Dn;try{if(Zi.transition=null,Dn=16>u?16:u,ql===null)var S=!1;else{if(u=ql,ql=null,sh=0,Tn&6)throw Error(n(331));var x=Tn;for(Tn|=4,kt=u.current;kt!==null;){var _=kt,L=_.child;if(kt.flags&16){var q=_.deletions;if(q!==null){for(var ee=0;ee<q.length;ee++){var ye=q[ee];for(kt=ye;kt!==null;){var Ue=kt;switch(Ue.tag){case 0:case 11:case 15:Sd(8,Ue,_)}var He=Ue.child;if(He!==null)He.return=Ue,kt=He;else for(;kt!==null;){Ue=kt;var Ie=Ue.sibling,mt=Ue.return;if(wC(Ue),Ue===ye){kt=null;break}if(Ie!==null){Ie.return=mt,kt=Ie;break}kt=mt}}}var wt=_.alternate;if(wt!==null){var Et=wt.child;if(Et!==null){wt.child=null;do{var Kr=Et.sibling;Et.sibling=null,Et=Kr}while(Et!==null)}}kt=_}}if(_.subtreeFlags&2064&&L!==null)L.return=_,kt=L;else e:for(;kt!==null;){if(_=kt,_.flags&2048)switch(_.tag){case 0:case 11:case 15:Sd(9,_,_.return)}var ue=_.sibling;if(ue!==null){ue.return=_.return,kt=ue;break e}kt=_.return}}var ie=u.current;for(kt=ie;kt!==null;){L=kt;var he=L.child;if(L.subtreeFlags&2064&&he!==null)he.return=L,kt=he;else e:for(L=ie;kt!==null;){if(q=kt,q.flags&2048)try{switch(q.tag){case 0:case 11:case 15:km(9,q)}}catch(dt){Vr(q,q.return,dt)}if(q===L){kt=null;break e}var Ke=q.sibling;if(Ke!==null){Ke.return=q.return,kt=Ke;break e}kt=q.return}}if(Tn=x,ia(),Ca&&typeof Ca.onPostCommitFiberRoot=="function")try{Ca.onPostCommitFiberRoot(Tl,u)}catch{}S=!0}return S}finally{Dn=g,Zi.transition=d}}return!1}function LC(u,d,g){d=Bl(g,d),d=Xf(u,d,1),u=Fl(u,d,1),d=mr(),u!==null&&(_l(u,1,d),Ci(u,d))}function Vr(u,d,g){if(u.tag===3)LC(u,u,g);else for(;d!==null;){if(d.tag===3){LC(d,u,g);break}else if(d.tag===1){var S=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(ko===null||!ko.has(S))){u=Bl(g,u),u=bC(d,u,1),d=Fl(d,u,1),u=mr(),d!==null&&(_l(d,1,u),Ci(d,u));break}}d=d.return}}function Ey(u,d,g){var S=u.pingCache;S!==null&&S.delete(d),d=mr(),u.pingedLanes|=u.suspendedLanes&g,ii===u&&(Oi&g)===g&&(fi===4||fi===3&&(Oi&130023424)===Oi&&500>Yn()-Ty?Qu(u,0):ah|=g),Ci(u,d)}function NC(u,d){d===0&&(u.mode&1?(d=xl,xl<<=1,!(xl&130023424)&&(xl=4194304)):d=1);var g=mr();u=cs(u,d),u!==null&&(_l(u,d,g),Ci(u,g))}function Y_(u){var d=u.memoizedState,g=0;d!==null&&(g=d.retryLane),NC(u,g)}function K_(u,d){var g=0;switch(u.tag){case 13:var S=u.stateNode,x=u.memoizedState;x!==null&&(g=x.retryLane);break;case 19:S=u.stateNode;break;default:throw Error(n(314))}S!==null&&S.delete(d),NC(u,g)}var Ry;Ry=function(u,d,g){if(u!==null)if(u.memoizedProps!==d.pendingProps||ti.current)Si=!0;else{if(!(u.lanes&g)&&!(d.flags&128))return Si=!1,Cm(u,d,g);Si=!!(u.flags&131072)}else Si=!1,kr&&d.flags&1048576&&oC(d,Nl,d.index);switch(d.lanes=0,d.tag){case 2:var S=d.type;So(u,d),u=d.pendingProps;var x=Ba(d,Rr.current);dd(d,g),x=Ht(null,d,S,u,x,g);var _=jl();return d.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,jr(S)?(_=!0,Lu(d)):_=!1,d.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,Ul(d),x.updater=fm,d.stateNode=x,x._reactInternals=d,fy(d,S,u,g),d=gy(null,d,S,!0,_,g)):(d.tag=0,kr&&_&&Kv(d),Gr(null,d,x,g),d=d.child),d;case 16:S=d.elementType;e:{switch(So(u,d),u=d.pendingProps,x=S._init,S=x(S._payload),d.type=S,x=d.tag=Q_(S),u=Da(S,u),x){case 0:d=gm(null,d,S,u,g);break e;case 1:d=B_(null,d,S,u,g);break e;case 11:d=mm(null,d,S,u,g);break e;case 14:d=Aa(null,d,S,Da(S.type,u),g);break e}throw Error(n(306,S,""))}return d;case 0:return S=d.type,x=d.pendingProps,x=d.elementType===S?x:Da(S,x),gm(u,d,S,x,g);case 1:return S=d.type,x=d.pendingProps,x=d.elementType===S?x:Da(S,x),B_(u,d,S,x,g);case 3:e:{if(vm(d),u===null)throw Error(n(387));S=d.pendingProps,_=d.memoizedState,x=_.element,fC(u,d),Gp(d,S,null,g);var L=d.memoizedState;if(S=L.element,_.isDehydrated)if(_={element:S,isDehydrated:!1,cache:L.cache,pendingSuspenseBoundaries:L.pendingSuspenseBoundaries,transitions:L.transitions},d.updateQueue.baseState=_,d.memoizedState=_,d.flags&256){x=Bl(Error(n(423)),d),d=yd(u,d,S,g,x);break e}else if(S!==x){x=Bl(Error(n(424)),d),d=yd(u,d,S,g,x);break e}else for(Ea=Fo(d.stateNode.containerInfo.firstChild),_a=d,kr=!0,Vo=null,g=Pi(d,null,S,g),d.child=g;g;)g.flags=g.flags&-3|4096,g=g.sibling;else{if(Gs(),S===x){d=Di(u,d,g);break e}Gr(u,d,S,g)}d=d.child}return d;case 5:return sy(d),u===null&&Jv(d),S=d.type,x=d.pendingProps,_=u!==null?u.memoizedProps:null,L=x.children,Ou(S,x)?L=null:_!==null&&Ou(S,_)&&(d.flags|=32),Jf(u,d),Gr(u,d,L,g),d.child;case 6:return u===null&&Jv(d),null;case 13:return CC(u,d,g);case 4:return oy(d,d.stateNode.containerInfo),S=d.pendingProps,u===null?d.child=zo(d,null,S,g):Gr(u,d,S,g),d.child;case 11:return S=d.type,x=d.pendingProps,x=d.elementType===S?x:Da(S,x),mm(u,d,S,x,g);case 7:return Gr(u,d,d.pendingProps,g),d.child;case 8:return Gr(u,d,d.pendingProps.children,g),d.child;case 12:return Gr(u,d,d.pendingProps.children,g),d.child;case 10:e:{if(S=d.type._context,x=d.pendingProps,_=d.memoizedProps,L=x.value,pr(at,S._currentValue),S._currentValue=L,_!==null)if(Uo(_.value,L)){if(_.children===x.children&&!ti.current){d=Di(u,d,g);break e}}else for(_=d.child,_!==null&&(_.return=d);_!==null;){var q=_.dependencies;if(q!==null){L=_.child;for(var ee=q.firstContext;ee!==null;){if(ee.context===S){if(_.tag===1){ee=Ys(-1,g&-g),ee.tag=2;var ye=_.updateQueue;if(ye!==null){ye=ye.shared;var Ue=ye.pending;Ue===null?ee.next=ee:(ee.next=Ue.next,Ue.next=ee),ye.pending=ee}}_.lanes|=g,ee=_.alternate,ee!==null&&(ee.lanes|=g),ry(_.return,g,d),q.lanes|=g;break}ee=ee.next}}else if(_.tag===10)L=_.type===d.type?null:_.child;else if(_.tag===18){if(L=_.return,L===null)throw Error(n(341));L.lanes|=g,q=L.alternate,q!==null&&(q.lanes|=g),ry(L,g,d),L=_.sibling}else L=_.child;if(L!==null)L.return=_;else for(L=_;L!==null;){if(L===d){L=null;break}if(_=L.sibling,_!==null){_.return=L.return,L=_;break}L=L.return}_=L}Gr(u,d,x.children,g),d=d.child}return d;case 9:return x=d.type,S=d.pendingProps.children,dd(d,g),x=nr(x),S=S(x),d.flags|=1,Gr(u,d,S,g),d.child;case 14:return S=d.type,x=Da(S,d.pendingProps),x=Da(S.type,x),Aa(u,d,S,x,g);case 15:return Hu(u,d,d.type,d.pendingProps,g);case 17:return S=d.type,x=d.pendingProps,x=d.elementType===S?x:Da(S,x),So(u,d),d.tag=1,jr(S)?(u=!0,Lu(d)):u=!1,dd(d,g),yC(d,S,x),fy(d,S,x,g),gy(null,d,S,!0,u,g);case 19:return Oa(u,d,g);case 22:return ln(u,d,g)}throw Error(n(156,d.tag))};function IC(u,d){return yr(u,d)}function Z_(u,d,g,S){this.tag=u,this.key=g,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=S,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function To(u,d,g,S){return new Z_(u,d,g,S)}function Py(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Q_(u){if(typeof u=="function")return Py(u)?1:0;if(u!=null){if(u=u.$$typeof,u===te)return 11;if(u===Ge)return 14}return 2}function Gl(u,d){var g=u.alternate;return g===null?(g=To(u.tag,d,u.key,u.mode),g.elementType=u.elementType,g.type=u.type,g.stateNode=u.stateNode,g.alternate=u,u.alternate=g):(g.pendingProps=d,g.type=u.type,g.flags=0,g.subtreeFlags=0,g.deletions=null),g.flags=u.flags&14680064,g.childLanes=u.childLanes,g.lanes=u.lanes,g.child=u.child,g.memoizedProps=u.memoizedProps,g.memoizedState=u.memoizedState,g.updateQueue=u.updateQueue,d=u.dependencies,g.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},g.sibling=u.sibling,g.index=u.index,g.ref=u.ref,g}function Dm(u,d,g,S,x,_){var L=2;if(S=u,typeof u=="function")Py(u)&&(L=1);else if(typeof u=="string")L=5;else e:switch(u){case ne:return Yl(g.children,x,_,d);case X:L=8,x|=8;break;case se:return u=To(12,g,d,x|2),u.elementType=se,u.lanes=_,u;case xe:return u=To(13,g,d,x),u.elementType=xe,u.lanes=_,u;case ke:return u=To(19,g,d,x),u.elementType=ke,u.lanes=_,u;case Fe:return Ed(g,x,_,d);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case $:L=10;break e;case oe:L=9;break e;case te:L=11;break e;case Ge:L=14;break e;case Je:L=16,S=null;break e}throw Error(n(130,u==null?u:typeof u,""))}return d=To(L,g,d,x),d.elementType=u,d.type=S,d.lanes=_,d}function Yl(u,d,g,S){return u=To(7,u,S,d),u.lanes=g,u}function Ed(u,d,g,S){return u=To(22,u,S,d),u.elementType=Fe,u.lanes=g,u.stateNode={isHidden:!1},u}function Ju(u,d,g){return u=To(6,u,null,d),u.lanes=g,u}function Dy(u,d,g){return d=To(4,u.children!==null?u.children:[],u.key,d),d.lanes=g,d.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},d}function UC(u,d,g,S,x){this.tag=d,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Tu(0),this.expirationTimes=Tu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tu(0),this.identifierPrefix=S,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Am(u,d,g,S,x,_,L,q,ee){return u=new UC(u,d,g,q,ee),d===1?(d=1,_===!0&&(d|=8)):d=0,_=To(3,null,null,d),u.current=_,_.stateNode=u,_.memoizedState={element:S,isDehydrated:g,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ul(_),u}function FC(u,d,g){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:N,key:S==null?null:""+S,children:u,containerInfo:d,implementation:g}}function jC(u){if(!u)return vn;u=u._reactInternals;e:{if(tt(u)!==u||u.tag!==1)throw Error(n(170));var d=u;do{switch(d.tag){case 3:d=d.stateNode.context;break e;case 1:if(jr(d.type)){d=d.stateNode.__reactInternalMemoizedMergedChildContext;break e}}d=d.return}while(d!==null);throw Error(n(171))}if(u.tag===1){var g=u.type;if(jr(g))return aC(u,g,d)}return d}function Ay(u,d,g,S,x,_,L,q,ee){return u=Am(g,S,!0,u,x,_,L,q,ee),u.context=jC(null),g=u.current,S=mr(),x=Wa(g),_=Ys(S,x),_.callback=d??null,Fl(g,_,x),u.current.lanes=x,_l(u,x,S),Ci(u,S),u}function Om(u,d,g,S){var x=d.current,_=mr(),L=Wa(x);return g=jC(g),d.context===null?d.context=g:d.pendingContext=g,d=Ys(_,L),d.payload={element:u},S=S===void 0?null:S,S!==null&&(d.callback=S),u=Fl(x,d,L),u!==null&&(Ga(u,x,L,_),Wp(u,x,L)),L}function Mm(u){if(u=u.current,!u.child)return null;switch(u.child.tag){case 5:return u.child.stateNode;default:return u.child.stateNode}}function VC(u,d){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var g=u.retryLane;u.retryLane=g!==0&&g<d?g:d}}function Lm(u,d){VC(u,d),(u=u.alternate)&&VC(u,d)}function zC(){return null}var Oy=typeof reportError=="function"?reportError:function(u){console.error(u)};function Kl(u){this._internalRoot=u}Nm.prototype.render=Kl.prototype.render=function(u){var d=this._internalRoot;if(d===null)throw Error(n(409));Om(u,d,null,null)},Nm.prototype.unmount=Kl.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var d=u.containerInfo;Zu(function(){Om(null,u,null,null)}),d[qs]=null}};function Nm(u){this._internalRoot=u}Nm.prototype.unstable_scheduleHydration=function(u){if(u){var d=is();u={blockedOn:null,target:u,priority:d};for(var g=0;g<No.length&&d!==0&&d<No[g].priority;g++);No.splice(g,0,u),g===0&&qc(u)}};function My(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function Im(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11&&(u.nodeType!==8||u.nodeValue!==" react-mount-point-unstable "))}function BC(){}function X_(u,d,g,S,x){if(x){if(typeof S=="function"){var _=S;S=function(){var ye=Mm(L);_.call(ye)}}var L=Ay(d,S,u,0,null,!1,!1,"",BC);return u._reactRootContainer=L,u[qs]=L.current,Mf(u.nodeType===8?u.parentNode:u),Zu(),L}for(;x=u.lastChild;)u.removeChild(x);if(typeof S=="function"){var q=S;S=function(){var ye=Mm(ee);q.call(ye)}}var ee=Am(u,0,!1,null,null,!1,!1,"",BC);return u._reactRootContainer=ee,u[qs]=ee.current,Mf(u.nodeType===8?u.parentNode:u),Zu(function(){Om(d,ee,g,S)}),ee}function Um(u,d,g,S,x){var _=g._reactRootContainer;if(_){var L=_;if(typeof x=="function"){var q=x;x=function(){var ee=Mm(L);q.call(ee)}}Om(d,L,u,x)}else L=X_(g,d,u,x,S);return Mm(L)}$c=function(u){switch(u.tag){case 3:var d=u.stateNode;if(d.current.memoizedState.isDehydrated){var g=ka(d.pendingLanes);g!==0&&(bf(d,g|1),Ci(d,Yn()),!(Tn&6)&&(Td=Yn()+500,ia()))}break;case 13:Zu(function(){var S=cs(u,1);if(S!==null){var x=mr();Ga(S,u,1,x)}}),Lm(u,1)}},An=function(u){if(u.tag===13){var d=cs(u,134217728);if(d!==null){var g=mr();Ga(d,u,134217728,g)}Lm(u,134217728)}},Rp=function(u){if(u.tag===13){var d=Wa(u),g=cs(u,d);if(g!==null){var S=mr();Ga(g,u,d,S)}Lm(u,d)}},is=function(){return Dn},Zt=function(u,d){var g=Dn;try{return Dn=u,d()}finally{Dn=g}},Gn=function(u,d,g){switch(d){case"input":if(Lt(u,g),d=g.name,g.type==="radio"&&d!=null){for(g=u;g.parentNode;)g=g.parentNode;for(g=g.querySelectorAll("input[name="+JSON.stringify(""+d)+'][type="radio"]'),d=0;d<g.length;d++){var S=g[d];if(S!==u&&S.form===u.form){var x=Ws(S);if(!x)throw Error(n(90));_r(S),Lt(S,x)}}}break;case"textarea":ut(u,g);break;case"select":d=g.value,d!=null&&je(u,!!g.multiple,d,!1)}},es=Em,ts=Zu;var HC={usingClientEntryPoint:!1,Events:[Uf,Ot,Ws,ea,co,Em]},hh={findFiberByHostInstance:Mu,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},J_={bundleType:hh.bundleType,version:hh.version,rendererPackageName:hh.rendererPackageName,rendererConfig:hh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(u){return u=hn(u),u===null?null:u.stateNode},findFiberByHostInstance:hh.findFiberByHostInstance||zC,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 ph=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ph.isDisabled&&ph.supportsFiber)try{Tl=ph.inject(J_),Ca=ph}catch{}}return Ja.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=HC,Ja.createPortal=function(u,d){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!My(d))throw Error(n(200));return FC(u,d,null,g)},Ja.createRoot=function(u,d){if(!My(u))throw Error(n(299));var g=!1,S="",x=Oy;return d!=null&&(d.unstable_strictMode===!0&&(g=!0),d.identifierPrefix!==void 0&&(S=d.identifierPrefix),d.onRecoverableError!==void 0&&(x=d.onRecoverableError)),d=Am(u,1,!1,null,null,g,!1,S,x),u[qs]=d.current,Mf(u.nodeType===8?u.parentNode:u),new Kl(d)},Ja.findDOMNode=function(u){if(u==null)return null;if(u.nodeType===1)return u;var d=u._reactInternals;if(d===void 0)throw typeof u.render=="function"?Error(n(188)):(u=Object.keys(u).join(","),Error(n(268,u)));return u=hn(d),u=u===null?null:u.stateNode,u},Ja.flushSync=function(u){return Zu(u)},Ja.hydrate=function(u,d,g){if(!Im(d))throw Error(n(200));return Um(null,u,d,!0,g)},Ja.hydrateRoot=function(u,d,g){if(!My(u))throw Error(n(405));var S=g!=null&&g.hydratedSources||null,x=!1,_="",L=Oy;if(g!=null&&(g.unstable_strictMode===!0&&(x=!0),g.identifierPrefix!==void 0&&(_=g.identifierPrefix),g.onRecoverableError!==void 0&&(L=g.onRecoverableError)),d=Ay(d,null,u,1,g??null,x,!1,_,L),u[qs]=d.current,Mf(u),S)for(u=0;u<S.length;u++)g=S[u],x=g._getVersion,x=x(g._source),d.mutableSourceEagerHydrationData==null?d.mutableSourceEagerHydrationData=[g,x]:d.mutableSourceEagerHydrationData.push(g,x);return new Nm(d)},Ja.render=function(u,d,g){if(!Im(d))throw Error(n(200));return Um(null,u,d,!1,g)},Ja.unmountComponentAtNode=function(u){if(!Im(u))throw Error(n(40));return u._reactRootContainer?(Zu(function(){Um(null,null,u,!1,function(){u._reactRootContainer=null,u[qs]=null})}),!0):!1},Ja.unstable_batchedUpdates=Em,Ja.unstable_renderSubtreeIntoContainer=function(u,d,g,S){if(!Im(g))throw Error(n(200));if(u==null||u._reactInternals===void 0)throw Error(n(38));return Um(u,d,g,!1,S)},Ja.version="18.3.1-next-f1338f8080-20240426",Ja}var eo={},tD;function Kj(){if(tD)return eo;tD=1;var t={};/**
|
|
100
100
|
* @license React
|
|
101
101
|
* react-dom.development.js
|
|
102
102
|
*
|
|
@@ -104,15 +104,15 @@ Error generating stack: `+_.message+`
|
|
|
104
104
|
*
|
|
105
105
|
* This source code is licensed under the MIT license found in the
|
|
106
106
|
* LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/return t.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=G,n=JP(),r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,a=!1;function s(i){a=i}function l(i){if(!a){for(var o=arguments.length,f=new Array(o>1?o-1:0),m=1;m<o;m++)f[m-1]=arguments[m];h("warn",i,f)}}function c(i){if(!a){for(var o=arguments.length,f=new Array(o>1?o-1:0),m=1;m<o;m++)f[m-1]=arguments[m];h("error",i,f)}}function h(i,o,f){{var m=r.ReactDebugCurrentFrame,y=m.getStackAddendum();y!==""&&(o+="%s",f=f.concat([y]));var C=f.map(function(w){return String(w)});C.unshift("Warning: "+o),Function.prototype.apply.call(console[i],console,C)}}var p=0,v=1,b=2,k=3,T=4,E=5,R=6,M=7,A=8,U=9,V=10,j=11,I=12,N=13,ne=14,X=15,se=16,$=17,oe=18,te=19,xe=21,ke=22,Ge=23,Je=24,Fe=25,ve=!0,Be=!1,z=!1,J=!1,Ce=!1,H=!0,Ct=!0,Rt=!0,ht=!0,bt=new Set,it={},xt={};function nn(i,o){qn(i,o),qn(i+"Capture",o)}function qn(i,o){it[i]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",i),it[i]=o;{var f=i.toLowerCase();xt[f]=i,i==="onDoubleClick"&&(xt.ondblclick=i)}for(var m=0;m<o.length;m++)bt.add(o[m])}var _r=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vr=Object.prototype.hasOwnProperty;function Xn(i){{var o=typeof Symbol=="function"&&Symbol.toStringTag,f=o&&i[Symbol.toStringTag]||i.constructor.name||"Object";return f}}function Lr(i){try{return Sn(i),!1}catch{return!0}}function Sn(i){return""+i}function Lt(i,o){if(Lr(i))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Xn(i)),Sn(i)}function Z(i){if(Lr(i))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xn(i)),Sn(i)}function le(i,o){if(Lr(i))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Xn(i)),Sn(i)}function me(i,o){if(Lr(i))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Xn(i)),Sn(i)}function je(i){if(Lr(i))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Xn(i)),Sn(i)}function Ve(i){if(Lr(i))return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Xn(i)),Sn(i)}var Me=0,ut=1,Nt=2,fe=3,Re=4,vt=5,Ft=6,Kt=":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",ze=Kt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ct=new RegExp("^["+Kt+"]["+ze+"]*$"),At={},un={};function _n(i){return vr.call(un,i)?!0:vr.call(At,i)?!1:ct.test(i)?(un[i]=!0,!0):(At[i]=!0,c("Invalid attribute name: `%s`",i),!1)}function cn(i,o,f){return o!==null?o.type===Me:f?!1:i.length>2&&(i[0]==="o"||i[0]==="O")&&(i[1]==="n"||i[1]==="N")}function Pn(i,o,f,m){if(f!==null&&f.type===Me)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(m)return!1;if(f!==null)return!f.acceptsBooleans;var y=i.toLowerCase().slice(0,5);return y!=="data-"&&y!=="aria-"}default:return!1}}function Wn(i,o,f,m){if(o===null||typeof o>"u"||Pn(i,o,f,m))return!0;if(m)return!1;if(f!==null)switch(f.type){case fe:return!o;case Re:return o===!1;case vt:return isNaN(o);case Ft:return isNaN(o)||o<1}return!1}function Jn(i){return Nn.hasOwnProperty(i)?Nn[i]:null}function Gn(i,o,f,m,y,C,w){this.acceptsBooleans=o===Nt||o===fe||o===Re,this.attributeName=m,this.attributeNamespace=y,this.mustUseProperty=f,this.propertyName=i,this.type=o,this.sanitizeURL=C,this.removeEmptyString=w}var Nn={},Hi=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Hi.forEach(function(i){Nn[i]=new Gn(i,Me,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var o=i[0],f=i[1];Nn[o]=new Gn(o,ut,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){Nn[i]=new Gn(i,Nt,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){Nn[i]=new Gn(i,Nt,!1,i,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"].forEach(function(i){Nn[i]=new Gn(i,fe,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){Nn[i]=new Gn(i,fe,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){Nn[i]=new Gn(i,Re,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){Nn[i]=new Gn(i,Ft,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){Nn[i]=new Gn(i,vt,!1,i.toLowerCase(),null,!1,!1)});var Ji=/[\-\:]([a-z])/g,ea=function(i){return i[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"].forEach(function(i){var o=i.replace(Ji,ea);Nn[o]=new Gn(o,ut,!1,i,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(i){var o=i.replace(Ji,ea);Nn[o]=new Gn(o,ut,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var o=i.replace(Ji,ea);Nn[o]=new Gn(o,ut,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){Nn[i]=new Gn(i,ut,!1,i.toLowerCase(),null,!1,!1)});var co="xlinkHref";Nn[co]=new Gn("xlinkHref",ut,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){Nn[i]=new Gn(i,ut,!1,i.toLowerCase(),null,!0,!0)});var es=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ts=!1;function fo(i){!ts&&es.test(i)&&(ts=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(i)))}function ot(i,o,f,m){if(m.mustUseProperty){var y=m.propertyName;return i[y]}else{Lt(f,o),m.sanitizeURL&&fo(""+f);var C=m.attributeName,w=null;if(m.type===Re){if(i.hasAttribute(C)){var P=i.getAttribute(C);return P===""?!0:Wn(o,f,m,!1)?P:P===""+f?f:P}}else if(i.hasAttribute(C)){if(Wn(o,f,m,!1))return i.getAttribute(C);if(m.type===fe)return f;w=i.getAttribute(C)}return Wn(o,f,m,!1)?w===null?f:w:w===""+f?f:w}}function qe(i,o,f,m){{if(!_n(o))return;if(!i.hasAttribute(o))return f===void 0?void 0:null;var y=i.getAttribute(o);return Lt(f,o),y===""+f?f:y}}function It(i,o,f,m){var y=Jn(o);if(!cn(o,y,m)){if(Wn(o,f,y,m)&&(f=null),m||y===null){if(_n(o)){var C=o;f===null?i.removeAttribute(C):(Lt(f,o),i.setAttribute(C,""+f))}return}var w=y.mustUseProperty;if(w){var P=y.propertyName;if(f===null){var D=y.type;i[P]=D===fe?!1:""}else i[P]=f;return}var F=y.attributeName,B=y.attributeNamespace;if(f===null)i.removeAttribute(F);else{var ae=y.type,re;ae===fe||ae===Re&&f===!0?re="":(Lt(f,F),re=""+f,y.sanitizeURL&&fo(re.toString())),B?i.setAttributeNS(B,F,re):i.setAttribute(F,re)}}}var Jt=Symbol.for("react.element"),jt=Symbol.for("react.portal"),dn=Symbol.for("react.fragment"),In=Symbol.for("react.strict_mode"),er=Symbol.for("react.profiler"),Ei=Symbol.for("react.provider"),Y=Symbol.for("react.context"),Oe=Symbol.for("react.forward_ref"),Xe=Symbol.for("react.suspense"),tt=Symbol.for("react.suspense_list"),en=Symbol.for("react.memo"),Gt=Symbol.for("react.lazy"),Cn=Symbol.for("react.scope"),fn=Symbol.for("react.debug_trace_mode"),$r=Symbol.for("react.offscreen"),yr=Symbol.for("react.legacy_hidden"),Cr=Symbol.for("react.cache"),$i=Symbol.for("react.tracing_marker"),Lo=Symbol.iterator,Yn="@@iterator";function Er(i){if(i===null||typeof i!="object")return null;var o=Lo&&i[Lo]||i[Yn];return typeof o=="function"?o:null}var an=Object.assign,ns=0,Is,wp,Us,Tl,Ca,gf,ta;function vf(){}vf.__reactDisabledLog=!0;function _p(){{if(ns===0){Is=console.log,wp=console.info,Us=console.warn,Tl=console.error,Ca=console.group,gf=console.groupCollapsed,ta=console.groupEnd;var i={configurable:!0,enumerable:!0,value:vf,writable:!0};Object.defineProperties(console,{info:i,log:i,warn:i,error:i,group:i,groupCollapsed:i,groupEnd:i})}ns++}}function Ep(){{if(ns--,ns===0){var i={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:an({},i,{value:Is}),info:an({},i,{value:wp}),warn:an({},i,{value:Us}),error:an({},i,{value:Tl}),group:an({},i,{value:Ca}),groupCollapsed:an({},i,{value:gf}),groupEnd:an({},i,{value:ta})})}ns<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fs=r.ReactCurrentDispatcher,xl;function ka(i,o,f){{if(xl===void 0)try{throw Error()}catch(y){var m=y.stack.trim().match(/\n( *(at )?)/);xl=m&&m[1]||""}return`
|
|
107
|
+
*/return t.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=G,n=JP(),r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,a=!1;function s(i){a=i}function l(i){if(!a){for(var o=arguments.length,f=new Array(o>1?o-1:0),m=1;m<o;m++)f[m-1]=arguments[m];h("warn",i,f)}}function c(i){if(!a){for(var o=arguments.length,f=new Array(o>1?o-1:0),m=1;m<o;m++)f[m-1]=arguments[m];h("error",i,f)}}function h(i,o,f){{var m=r.ReactDebugCurrentFrame,y=m.getStackAddendum();y!==""&&(o+="%s",f=f.concat([y]));var C=f.map(function(w){return String(w)});C.unshift("Warning: "+o),Function.prototype.apply.call(console[i],console,C)}}var p=0,v=1,b=2,k=3,T=4,E=5,R=6,M=7,A=8,U=9,V=10,j=11,I=12,N=13,ne=14,X=15,se=16,$=17,oe=18,te=19,xe=21,ke=22,Ge=23,Je=24,Fe=25,ve=!0,Be=!1,z=!1,J=!1,Ce=!1,H=!0,Ct=!0,Rt=!0,ht=!0,bt=new Set,it={},xt={};function nn(i,o){qn(i,o),qn(i+"Capture",o)}function qn(i,o){it[i]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",i),it[i]=o;{var f=i.toLowerCase();xt[f]=i,i==="onDoubleClick"&&(xt.ondblclick=i)}for(var m=0;m<o.length;m++)bt.add(o[m])}var _r=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vr=Object.prototype.hasOwnProperty;function Xn(i){{var o=typeof Symbol=="function"&&Symbol.toStringTag,f=o&&i[Symbol.toStringTag]||i.constructor.name||"Object";return f}}function Lr(i){try{return un(i),!1}catch{return!0}}function un(i){return""+i}function Lt(i,o){if(Lr(i))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Xn(i)),un(i)}function Z(i){if(Lr(i))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xn(i)),un(i)}function le(i,o){if(Lr(i))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Xn(i)),un(i)}function me(i,o){if(Lr(i))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Xn(i)),un(i)}function je(i){if(Lr(i))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Xn(i)),un(i)}function Ve(i){if(Lr(i))return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Xn(i)),un(i)}var Me=0,ut=1,Nt=2,fe=3,Re=4,vt=5,Ft=6,Kt=":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",ze=Kt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ct=new RegExp("^["+Kt+"]["+ze+"]*$"),At={},cn={};function _n(i){return vr.call(cn,i)?!0:vr.call(At,i)?!1:ct.test(i)?(cn[i]=!0,!0):(At[i]=!0,c("Invalid attribute name: `%s`",i),!1)}function dn(i,o,f){return o!==null?o.type===Me:f?!1:i.length>2&&(i[0]==="o"||i[0]==="O")&&(i[1]==="n"||i[1]==="N")}function Pn(i,o,f,m){if(f!==null&&f.type===Me)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(m)return!1;if(f!==null)return!f.acceptsBooleans;var y=i.toLowerCase().slice(0,5);return y!=="data-"&&y!=="aria-"}default:return!1}}function Wn(i,o,f,m){if(o===null||typeof o>"u"||Pn(i,o,f,m))return!0;if(m)return!1;if(f!==null)switch(f.type){case fe:return!o;case Re:return o===!1;case vt:return isNaN(o);case Ft:return isNaN(o)||o<1}return!1}function Jn(i){return Nn.hasOwnProperty(i)?Nn[i]:null}function Gn(i,o,f,m,y,C,w){this.acceptsBooleans=o===Nt||o===fe||o===Re,this.attributeName=m,this.attributeNamespace=y,this.mustUseProperty=f,this.propertyName=i,this.type=o,this.sanitizeURL=C,this.removeEmptyString=w}var Nn={},Hi=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Hi.forEach(function(i){Nn[i]=new Gn(i,Me,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var o=i[0],f=i[1];Nn[o]=new Gn(o,ut,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){Nn[i]=new Gn(i,Nt,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){Nn[i]=new Gn(i,Nt,!1,i,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"].forEach(function(i){Nn[i]=new Gn(i,fe,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){Nn[i]=new Gn(i,fe,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){Nn[i]=new Gn(i,Re,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){Nn[i]=new Gn(i,Ft,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){Nn[i]=new Gn(i,vt,!1,i.toLowerCase(),null,!1,!1)});var Ji=/[\-\:]([a-z])/g,ea=function(i){return i[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"].forEach(function(i){var o=i.replace(Ji,ea);Nn[o]=new Gn(o,ut,!1,i,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(i){var o=i.replace(Ji,ea);Nn[o]=new Gn(o,ut,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var o=i.replace(Ji,ea);Nn[o]=new Gn(o,ut,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){Nn[i]=new Gn(i,ut,!1,i.toLowerCase(),null,!1,!1)});var co="xlinkHref";Nn[co]=new Gn("xlinkHref",ut,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){Nn[i]=new Gn(i,ut,!1,i.toLowerCase(),null,!0,!0)});var es=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ts=!1;function fo(i){!ts&&es.test(i)&&(ts=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(i)))}function ot(i,o,f,m){if(m.mustUseProperty){var y=m.propertyName;return i[y]}else{Lt(f,o),m.sanitizeURL&&fo(""+f);var C=m.attributeName,w=null;if(m.type===Re){if(i.hasAttribute(C)){var P=i.getAttribute(C);return P===""?!0:Wn(o,f,m,!1)?P:P===""+f?f:P}}else if(i.hasAttribute(C)){if(Wn(o,f,m,!1))return i.getAttribute(C);if(m.type===fe)return f;w=i.getAttribute(C)}return Wn(o,f,m,!1)?w===null?f:w:w===""+f?f:w}}function qe(i,o,f,m){{if(!_n(o))return;if(!i.hasAttribute(o))return f===void 0?void 0:null;var y=i.getAttribute(o);return Lt(f,o),y===""+f?f:y}}function It(i,o,f,m){var y=Jn(o);if(!dn(o,y,m)){if(Wn(o,f,y,m)&&(f=null),m||y===null){if(_n(o)){var C=o;f===null?i.removeAttribute(C):(Lt(f,o),i.setAttribute(C,""+f))}return}var w=y.mustUseProperty;if(w){var P=y.propertyName;if(f===null){var D=y.type;i[P]=D===fe?!1:""}else i[P]=f;return}var F=y.attributeName,B=y.attributeNamespace;if(f===null)i.removeAttribute(F);else{var ae=y.type,re;ae===fe||ae===Re&&f===!0?re="":(Lt(f,F),re=""+f,y.sanitizeURL&&fo(re.toString())),B?i.setAttributeNS(B,F,re):i.setAttribute(F,re)}}}var Jt=Symbol.for("react.element"),jt=Symbol.for("react.portal"),fn=Symbol.for("react.fragment"),In=Symbol.for("react.strict_mode"),er=Symbol.for("react.profiler"),Ei=Symbol.for("react.provider"),Y=Symbol.for("react.context"),Oe=Symbol.for("react.forward_ref"),Xe=Symbol.for("react.suspense"),tt=Symbol.for("react.suspense_list"),en=Symbol.for("react.memo"),Gt=Symbol.for("react.lazy"),Cn=Symbol.for("react.scope"),hn=Symbol.for("react.debug_trace_mode"),$r=Symbol.for("react.offscreen"),yr=Symbol.for("react.legacy_hidden"),Cr=Symbol.for("react.cache"),$i=Symbol.for("react.tracing_marker"),Lo=Symbol.iterator,Yn="@@iterator";function Er(i){if(i===null||typeof i!="object")return null;var o=Lo&&i[Lo]||i[Yn];return typeof o=="function"?o:null}var an=Object.assign,ns=0,Is,wp,Us,Tl,Ca,gf,ta;function vf(){}vf.__reactDisabledLog=!0;function _p(){{if(ns===0){Is=console.log,wp=console.info,Us=console.warn,Tl=console.error,Ca=console.group,gf=console.groupCollapsed,ta=console.groupEnd;var i={configurable:!0,enumerable:!0,value:vf,writable:!0};Object.defineProperties(console,{info:i,log:i,warn:i,error:i,group:i,groupCollapsed:i,groupEnd:i})}ns++}}function Ep(){{if(ns--,ns===0){var i={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:an({},i,{value:Is}),info:an({},i,{value:wp}),warn:an({},i,{value:Us}),error:an({},i,{value:Tl}),group:an({},i,{value:Ca}),groupCollapsed:an({},i,{value:gf}),groupEnd:an({},i,{value:ta})})}ns<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fs=r.ReactCurrentDispatcher,xl;function ka(i,o,f){{if(xl===void 0)try{throw Error()}catch(y){var m=y.stack.trim().match(/\n( *(at )?)/);xl=m&&m[1]||""}return`
|
|
108
108
|
`+xl+i}}var rs=!1,wl;{var Hc=typeof WeakMap=="function"?WeakMap:Map;wl=new Hc}function js(i,o){if(!i||rs)return"";{var f=wl.get(i);if(f!==void 0)return f}var m;rs=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var C;C=Fs.current,Fs.current=null,_p();try{if(o){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(be){m=be}Reflect.construct(i,[],w)}else{try{w.call()}catch(be){m=be}i.call(w.prototype)}}else{try{throw Error()}catch(be){m=be}i()}}catch(be){if(be&&m&&typeof be.stack=="string"){for(var P=be.stack.split(`
|
|
109
109
|
`),D=m.stack.split(`
|
|
110
110
|
`),F=P.length-1,B=D.length-1;F>=1&&B>=0&&P[F]!==D[B];)B--;for(;F>=1&&B>=0;F--,B--)if(P[F]!==D[B]){if(F!==1||B!==1)do if(F--,B--,B<0||P[F]!==D[B]){var ae=`
|
|
111
111
|
`+P[F].replace(" at new "," at ");return i.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",i.displayName)),typeof i=="function"&&wl.set(i,ae),ae}while(F>=1&&B>=0);break}}}finally{rs=!1,Fs.current=C,Ep(),Error.prepareStackTrace=y}var re=i?i.displayName||i.name:"",ge=re?ka(re):"";return typeof i=="function"&&wl.set(i,ge),ge}function ku(i,o,f){return js(i,!0)}function Tu(i,o,f){return js(i,!1)}function _l(i){var o=i.prototype;return!!(o&&o.isReactComponent)}function yf(i,o,f){if(i==null)return"";if(typeof i=="function")return js(i,_l(i));if(typeof i=="string")return ka(i);switch(i){case Xe:return ka("Suspense");case tt:return ka("SuspenseList")}if(typeof i=="object")switch(i.$$typeof){case Oe:return Tu(i.render);case en:return yf(i.type,o,f);case Gt:{var m=i,y=m._payload,C=m._init;try{return yf(C(y),o,f)}catch{}}}return""}function bf(i){switch(i._debugOwner&&i._debugOwner.type,i._debugSource,i.tag){case E:return ka(i.type);case se:return ka("Lazy");case N:return ka("Suspense");case te:return ka("SuspenseList");case p:case b:case X:return Tu(i.type);case j:return Tu(i.type.render);case v:return ku(i.type);default:return""}}function Dn(i){try{var o="",f=i;do o+=bf(f),f=f.return;while(f);return o}catch(m){return`
|
|
112
112
|
Error generating stack: `+m.message+`
|
|
113
|
-
`+m.stack}}function Sf(i,o,f){var m=i.displayName;if(m)return m;var y=o.displayName||o.name||"";return y!==""?f+"("+y+")":f}function $c(i){return i.displayName||"Context"}function An(i){if(i==null)return null;if(typeof i.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case
|
|
113
|
+
`+m.stack}}function Sf(i,o,f){var m=i.displayName;if(m)return m;var y=o.displayName||o.name||"";return y!==""?f+"("+y+")":f}function $c(i){return i.displayName||"Context"}function An(i){if(i==null)return null;if(typeof i.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case fn:return"Fragment";case jt:return"Portal";case er:return"Profiler";case In:return"StrictMode";case Xe:return"Suspense";case tt:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case Y:var o=i;return $c(o)+".Consumer";case Ei:var f=i;return $c(f._context)+".Provider";case Oe:return Sf(i,i.render,"ForwardRef");case en:var m=i.displayName||null;return m!==null?m:An(i.type)||"Memo";case Gt:{var y=i,C=y._payload,w=y._init;try{return An(w(C))}catch{return null}}}return null}function Rp(i,o,f){var m=o.displayName||o.name||"";return i.displayName||(m!==""?f+"("+m+")":f)}function is(i){return i.displayName||"Context"}function Zt(i){var o=i.tag,f=i.type;switch(o){case Je:return"Cache";case U:var m=f;return is(m)+".Consumer";case V:var y=f;return is(y._context)+".Provider";case oe:return"DehydratedFragment";case j:return Rp(f,f.render,"ForwardRef");case M:return"Fragment";case E:return f;case T:return"Portal";case k:return"Root";case R:return"Text";case se:return An(f);case A:return f===In?"StrictMode":"Mode";case ke:return"Offscreen";case I:return"Profiler";case xe:return"Scope";case N:return"Suspense";case te:return"SuspenseList";case Fe:return"TracingMarker";case v:case p:case $:case b:case ne:case X:if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;break}return null}var xu=r.ReactDebugCurrentFrame,vi=null,Ta=!1;function na(){{if(vi===null)return null;var i=vi._debugOwner;if(i!==null&&typeof i<"u")return Zt(i)}return null}function as(){return vi===null?"":Dn(vi)}function Ur(){xu.getCurrentStack=null,vi=null,Ta=!1}function sr(i){xu.getCurrentStack=i===null?null:as,vi=i,Ta=!1}function No(){return vi}function ho(i){Ta=i}function qi(i){return""+i}function ra(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return Ve(i),i;default:return""}}var Ov={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function qc(i,o){Ov[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||c("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||c("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function wu(i){var o=i.type,f=i.nodeName;return f&&f.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Wc(i){return i._valueTracker}function Gc(i){i._valueTracker=null}function _u(i){var o="";return i&&(wu(i)?o=i.checked?"true":"false":o=i.value),o}function po(i){var o=wu(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);Ve(i[o]);var m=""+i[o];if(!(i.hasOwnProperty(o)||typeof f>"u"||typeof f.get!="function"||typeof f.set!="function")){var y=f.get,C=f.set;Object.defineProperty(i,o,{configurable:!0,get:function(){return y.call(this)},set:function(P){Ve(P),m=""+P,C.call(this,P)}}),Object.defineProperty(i,o,{enumerable:f.enumerable});var w={getValue:function(){return m},setValue:function(P){Ve(P),m=""+P},stopTracking:function(){Gc(i),delete i[o]}};return w}}function mo(i){Wc(i)||(i._valueTracker=po(i))}function El(i){if(!i)return!1;var o=Wc(i);if(!o)return!0;var f=o.getValue(),m=_u(i);return m!==f?(o.setValue(m),!0):!1}function Vs(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var Yc=!1,Rl=!1,zs=!1,Kc=!1;function Cf(i){var o=i.type==="checkbox"||i.type==="radio";return o?i.checked!=null:i.value!=null}function go(i,o){var f=i,m=o.checked,y=an({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:m??f._wrapperState.initialChecked});return y}function Zc(i,o){qc("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!Rl&&(c("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",na()||"A component",o.type),Rl=!0),o.value!==void 0&&o.defaultValue!==void 0&&!Yc&&(c("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",na()||"A component",o.type),Yc=!0);var f=i,m=o.defaultValue==null?"":o.defaultValue;f._wrapperState={initialChecked:o.checked!=null?o.checked:o.defaultChecked,initialValue:ra(o.value!=null?o.value:m),controlled:Cf(o)}}function O(i,o){var f=i,m=o.checked;m!=null&&It(f,"checked",m,!1)}function K(i,o){var f=i;{var m=Cf(o);!f._wrapperState.controlled&&m&&!Kc&&(c("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Kc=!0),f._wrapperState.controlled&&!m&&!zs&&(c("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),zs=!0)}O(i,o);var y=ra(o.value),C=o.type;if(y!=null)C==="number"?(y===0&&f.value===""||f.value!=y)&&(f.value=qi(y)):f.value!==qi(y)&&(f.value=qi(y));else if(C==="submit"||C==="reset"){f.removeAttribute("value");return}o.hasOwnProperty("value")?Tt(f,o.type,y):o.hasOwnProperty("defaultValue")&&Tt(f,o.type,ra(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(f.defaultChecked=!!o.defaultChecked)}function pe(i,o,f){var m=i;if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var y=o.type,C=y==="submit"||y==="reset";if(C&&(o.value===void 0||o.value===null))return;var w=qi(m._wrapperState.initialValue);f||w!==m.value&&(m.value=w),m.defaultValue=w}var P=m.name;P!==""&&(m.name=""),m.defaultChecked=!m.defaultChecked,m.defaultChecked=!!m._wrapperState.initialChecked,P!==""&&(m.name=P)}function Te(i,o){var f=i;K(f,o),Ze(f,o)}function Ze(i,o){var f=o.name;if(o.type==="radio"&&f!=null){for(var m=i;m.parentNode;)m=m.parentNode;Lt(f,"name");for(var y=m.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),C=0;C<y.length;C++){var w=y[C];if(!(w===i||w.form!==i.form)){var P=ok(w);if(!P)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");El(w),K(w,P)}}}}function Tt(i,o,f){(o!=="number"||Vs(i.ownerDocument)!==i)&&(f==null?i.defaultValue=qi(i._wrapperState.initialValue):i.defaultValue!==qi(f)&&(i.defaultValue=qi(f)))}var pt=!1,$t=!1,pn=!1;function Kn(i,o){o.value==null&&(typeof o.children=="object"&&o.children!==null?e.Children.forEach(o.children,function(f){f!=null&&(typeof f=="string"||typeof f=="number"||$t||($t=!0,c("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):o.dangerouslySetInnerHTML!=null&&(pn||(pn=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),o.selected!=null&&!pt&&(c("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),pt=!0)}function lr(i,o){o.value!=null&&i.setAttribute("value",qi(ra(o.value)))}var ur=Array.isArray;function sn(i){return ur(i)}var hr;hr=!1;function qr(){var i=na();return i?`
|
|
114
114
|
|
|
115
|
-
Check the render method of \``+i+"`.":""}var Eu=["value","defaultValue"];function kf(i){{qc("select",i);for(var o=0;o<Eu.length;o++){var f=Eu[o];if(i[f]!=null){var m=sn(i[f]);i.multiple&&!m?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",f,qr()):!i.multiple&&m&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",f,qr())}}}}function Bs(i,o,f,m){var y=i.options;if(o){for(var C=f,w={},P=0;P<C.length;P++)w["$"+C[P]]=!0;for(var D=0;D<y.length;D++){var F=w.hasOwnProperty("$"+y[D].value);y[D].selected!==F&&(y[D].selected=F),F&&m&&(y[D].defaultSelected=!0)}}else{for(var B=qi(ra(f)),ae=null,re=0;re<y.length;re++){if(y[re].value===B){y[re].selected=!0,m&&(y[re].defaultSelected=!0);return}ae===null&&!y[re].disabled&&(ae=y[re])}ae!==null&&(ae.selected=!0)}}function Ru(i,o){return an({},o,{value:void 0})}function Tf(i,o){var f=i;kf(o),f._wrapperState={wasMultiple:!!o.multiple},o.value!==void 0&&o.defaultValue!==void 0&&!hr&&(c("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),hr=!0)}function Mv(i,o){var f=i;f.multiple=!!o.multiple;var m=o.value;m!=null?Bs(f,!!o.multiple,m,!1):o.defaultValue!=null&&Bs(f,!!o.multiple,o.defaultValue,!0)}function Pp(i,o){var f=i,m=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!o.multiple;var y=o.value;y!=null?Bs(f,!!o.multiple,y,!1):m!==!!o.multiple&&(o.defaultValue!=null?Bs(f,!!o.multiple,o.defaultValue,!0):Bs(f,!!o.multiple,o.multiple?[]:"",!1))}function Lv(i,o){var f=i,m=o.value;m!=null&&Bs(f,!!o.multiple,m,!1)}var PS=!1;function Dp(i,o){var f=i;if(o.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var m=an({},o,{value:void 0,defaultValue:void 0,children:qi(f._wrapperState.initialValue)});return m}function DS(i,o){var f=i;qc("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!PS&&(c("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",na()||"A component"),PS=!0);var m=o.value;if(m==null){var y=o.children,C=o.defaultValue;if(y!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(C!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(sn(y)){if(y.length>1)throw new Error("<textarea> can only have at most one child.");y=y[0]}C=y}}C==null&&(C=""),m=C}f._wrapperState={initialValue:ra(m)}}function AS(i,o){var f=i,m=ra(o.value),y=ra(o.defaultValue);if(m!=null){var C=qi(m);C!==f.value&&(f.value=C),o.defaultValue==null&&f.defaultValue!==C&&(f.defaultValue=C)}y!=null&&(f.defaultValue=qi(y))}function OS(i,o){var f=i,m=f.textContent;m===f._wrapperState.initialValue&&m!==""&&m!==null&&(f.value=m)}function R_(i,o){AS(i,o)}var Io="http://www.w3.org/1999/xhtml",P_="http://www.w3.org/1998/Math/MathML",Nv="http://www.w3.org/2000/svg";function Iv(i){switch(i){case"svg":return Nv;case"math":return P_;default:return Io}}function Ap(i,o){return i==null||i===Io?Iv(o):i===Nv&&o==="foreignObject"?Io:i}var D_=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,f,m,y){MSApp.execUnsafeLocalFunction(function(){return i(o,f,m,y)})}:i},Op,MS=D_(function(i,o){if(i.namespaceURI===Nv&&!("innerHTML"in i)){Op=Op||document.createElement("div"),Op.innerHTML="<svg>"+o.valueOf().toString()+"</svg>";for(var f=Op.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;f.firstChild;)i.appendChild(f.firstChild);return}i.innerHTML=o}),xa=1,Hs=3,ei=8,$s=9,xf=11,Pl=function(i,o){if(o){var f=i.firstChild;if(f&&f===i.lastChild&&f.nodeType===Hs){f.nodeValue=o;return}}i.textContent=o},A_={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Qc={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};function LS(i,o){return i+o.charAt(0).toUpperCase()+o.substring(1)}var NS=["Webkit","ms","Moz","O"];Object.keys(Qc).forEach(function(i){NS.forEach(function(o){Qc[LS(o,i)]=Qc[i]})});function Mp(i,o,f){var m=o==null||typeof o=="boolean"||o==="";return m?"":!f&&typeof o=="number"&&o!==0&&!(Qc.hasOwnProperty(i)&&Qc[i])?o+"px":(me(o,i),(""+o).trim())}var IS=/([A-Z])/g,Xc=/^ms-/;function O_(i){return i.replace(IS,"-$1").toLowerCase().replace(Xc,"-ms-")}var US=function(){};{var M_=/^(?:webkit|moz|o)[A-Z]/,FS=/^-ms-/,jS=/-(.)/g,Jc=/;\s*$/,os={},Uv={},wf=!1,VS=!1,zS=function(i){return i.replace(jS,function(o,f){return f.toUpperCase()})},Fv=function(i){os.hasOwnProperty(i)&&os[i]||(os[i]=!0,c("Unsupported style property %s. Did you mean %s?",i,zS(i.replace(FS,"ms-"))))},jv=function(i){os.hasOwnProperty(i)&&os[i]||(os[i]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",i,i.charAt(0).toUpperCase()+i.slice(1)))},BS=function(i,o){Uv.hasOwnProperty(o)&&Uv[o]||(Uv[o]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,i,o.replace(Jc,"")))},HS=function(i,o){wf||(wf=!0,c("`NaN` is an invalid value for the `%s` css style property.",i))},$S=function(i,o){VS||(VS=!0,c("`Infinity` is an invalid value for the `%s` css style property.",i))};US=function(i,o){i.indexOf("-")>-1?Fv(i):M_.test(i)?jv(i):Jc.test(o)&&BS(i,o),typeof o=="number"&&(isNaN(o)?HS(i,o):isFinite(o)||$S(i,o))}}var L_=US;function N_(i){{var o="",f="";for(var m in i)if(i.hasOwnProperty(m)){var y=i[m];if(y!=null){var C=m.indexOf("--")===0;o+=f+(C?m:O_(m))+":",o+=Mp(m,y,C),f=";"}}return o||null}}function qS(i,o){var f=i.style;for(var m in o)if(o.hasOwnProperty(m)){var y=m.indexOf("--")===0;y||L_(m,o[m]);var C=Mp(m,o[m],y);m==="float"&&(m="cssFloat"),y?f.setProperty(m,C):f[m]=C}}function I_(i){return i==null||typeof i=="boolean"||i===""}function WS(i){var o={};for(var f in i)for(var m=A_[f]||[f],y=0;y<m.length;y++)o[m[y]]=f;return o}function Uo(i,o){{if(!o)return;var f=WS(i),m=WS(o),y={};for(var C in f){var w=f[C],P=m[C];if(P&&w!==P){var D=w+","+P;if(y[D])continue;y[D]=!0,c("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",I_(i[w])?"Removing":"Updating",w,P)}}}}var _f={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},GS=an({menuitem:!0},_f),YS="__html";function Lp(i,o){if(o){if(GS[i]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw new Error(i+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o.dangerouslySetInnerHTML!="object"||!(YS in o.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!o.suppressContentEditableWarning&&o.contentEditable&&o.children!=null&&c("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),o.style!=null&&typeof o.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Dl(i,o){if(i.indexOf("-")===-1)return typeof o.is=="string";switch(i){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 ed={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},KS={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},td={},nd=new RegExp("^(aria)-["+ze+"]*$"),Vv=new RegExp("^(aria)[A-Z]["+ze+"]*$");function Ef(i,o){{if(vr.call(td,o)&&td[o])return!0;if(Vv.test(o)){var f="aria-"+o.slice(4).toLowerCase(),m=KS.hasOwnProperty(f)?f:null;if(m==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),td[o]=!0,!0;if(o!==m)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,m),td[o]=!0,!0}if(nd.test(o)){var y=o.toLowerCase(),C=KS.hasOwnProperty(y)?y:null;if(C==null)return td[o]=!0,!1;if(o!==C)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,C),td[o]=!0,!0}}return!0}function zv(i,o){{var f=[];for(var m in o){var y=Ef(i,m);y||f.push(m)}var C=f.map(function(w){return"`"+w+"`"}).join(", ");f.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",C,i):f.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",C,i)}}function ZS(i,o){Dl(i,o)||zv(i,o)}var Rf=!1;function rd(i,o){{if(i!=="input"&&i!=="textarea"&&i!=="select")return;o!=null&&o.value===null&&!Rf&&(Rf=!0,i==="select"&&o.multiple?c("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",i):c("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",i))}}var Np=function(){};{var Wi={},Pf=/^on./,QS=/^on[^A-Z]/,XS=new RegExp("^(aria)-["+ze+"]*$"),JS=new RegExp("^(aria)[A-Z]["+ze+"]*$");Np=function(i,o,f,m){if(vr.call(Wi,o)&&Wi[o])return!0;var y=o.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return c("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Wi[o]=!0,!0;if(m!=null){var C=m.registrationNameDependencies,w=m.possibleRegistrationNames;if(C.hasOwnProperty(o))return!0;var P=w.hasOwnProperty(y)?w[y]:null;if(P!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",o,P),Wi[o]=!0,!0;if(Pf.test(o))return c("Unknown event handler property `%s`. It will be ignored.",o),Wi[o]=!0,!0}else if(Pf.test(o))return QS.test(o)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),Wi[o]=!0,!0;if(XS.test(o)||JS.test(o))return!0;if(y==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Wi[o]=!0,!0;if(y==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Wi[o]=!0,!0;if(y==="is"&&f!==null&&f!==void 0&&typeof f!="string")return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),Wi[o]=!0,!0;if(typeof f=="number"&&isNaN(f))return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),Wi[o]=!0,!0;var D=Jn(o),F=D!==null&&D.type===Me;if(ed.hasOwnProperty(y)){var B=ed[y];if(B!==o)return c("Invalid DOM property `%s`. Did you mean `%s`?",o,B),Wi[o]=!0,!0}else if(!F&&o!==y)return c("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,y),Wi[o]=!0,!0;return typeof f=="boolean"&&Pn(o,f,D,!1)?(f?c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,o,o,f,o):c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,o,o,f,o,o,o),Wi[o]=!0,!0):F?!0:Pn(o,f,D,!1)?(Wi[o]=!0,!1):((f==="false"||f==="true")&&D!==null&&D.type===fe&&(c("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,o,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,f),Wi[o]=!0),!0)}}var eC=function(i,o,f){{var m=[];for(var y in o){var C=Np(i,y,o[y],f);C||m.push(y)}var w=m.map(function(P){return"`"+P+"`"}).join(", ");m.length===1?c("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,i):m.length>1&&c("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,i)}};function tC(i,o,f){Dl(i,o)||eC(i,o,f)}var Bv=1,ss=2,Pu=4,Hv=Bv|ss|Pu,Df=null;function U_(i){Df!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Df=i}function Af(){Df===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Df=null}function F_(i){return i===Df}function Ip(i){var o=i.target||i.srcElement||window;return o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===Hs?o.parentNode:o}var Up=null,Zn=null,Al=null;function Of(i){var o=Dd(i);if(o){if(typeof Up!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var f=o.stateNode;if(f){var m=ok(f);Up(o.stateNode,o.type,m)}}}function Mf(i){Up=i}function $v(i){Zn?Al?Al.push(i):Al=[i]:Zn=i}function qv(){return Zn!==null||Al!==null}function id(){if(Zn){var i=Zn,o=Al;if(Zn=null,Al=null,Of(i),o)for(var f=0;f<o.length;f++)Of(o[f])}}var Lf=function(i,o){return i(o)},Du=function(){},Fp=!1;function j_(){var i=qv();i&&(Du(),id())}function nC(i,o,f){if(Fp)return i(o,f);Fp=!0;try{return Lf(i,o,f)}finally{Fp=!1,j_()}}function rC(i,o,f){Lf=i,Du=f}function jp(i){return i==="button"||i==="input"||i==="select"||i==="textarea"}function Vp(i,o,f){switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(f.disabled&&jp(o));default:return!1}}function Au(i,o){var f=i.stateNode;if(f===null)return null;var m=ok(f);if(m===null)return null;var y=m[o];if(Vp(o,i.type,m))return null;if(y&&typeof y!="function")throw new Error("Expected `"+o+"` listener to be a function, instead got a value of `"+typeof y+"` type.");return y}var Nf=!1;if(_r)try{var Ou={};Object.defineProperty(Ou,"passive",{get:function(){Nf=!0}}),window.addEventListener("test",Ou,Ou),window.removeEventListener("test",Ou,Ou)}catch{Nf=!1}function zp(i,o,f,m,y,C,w,P,D){var F=Array.prototype.slice.call(arguments,3);try{o.apply(f,F)}catch(B){this.onError(B)}}var iC=zp;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Bp=document.createElement("react");iC=function(o,f,m,y,C,w,P,D,F){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var B=document.createEvent("Event"),ae=!1,re=!0,ge=window.event,be=Object.getOwnPropertyDescriptor(window,"event");function we(){Bp.removeEventListener(_e,Vt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ge)}var st=Array.prototype.slice.call(arguments,3);function Vt(){ae=!0,we(),f.apply(m,st),re=!1}var Pt,Mn=!1,xn=!1;function ce(de){if(Pt=de.error,Mn=!0,Pt===null&&de.colno===0&&de.lineno===0&&(xn=!0),de.defaultPrevented&&Pt!=null&&typeof Pt=="object")try{Pt._suppressLogging=!0}catch{}}var _e="react-"+(o||"invokeguardedcallback");if(window.addEventListener("error",ce),Bp.addEventListener(_e,Vt,!1),B.initEvent(_e,!1,!1),Bp.dispatchEvent(B),be&&Object.defineProperty(window,"event",be),ae&&re&&(Mn?xn&&(Pt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Pt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Pt)),window.removeEventListener("error",ce),!ae)return we(),zp.apply(this,arguments)}}var V_=iC,ad=!1,od=null,Fo=!1,Hp=null,sd={onError:function(i){ad=!0,od=i}};function vo(i,o,f,m,y,C,w,P,D){ad=!1,od=null,V_.apply(sd,arguments)}function If(i,o,f,m,y,C,w,P,D){if(vo.apply(this,arguments),ad){var F=Gv();Fo||(Fo=!0,Hp=F)}}function qs(){if(Fo){var i=Hp;throw Fo=!1,Hp=null,i}}function Wv(){return ad}function Gv(){if(ad){var i=od;return ad=!1,od=null,i}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ld(i){return i._reactInternals}function Mu(i){return i._reactInternals!==void 0}function Uf(i,o){i._reactInternals=o}var Ot=0,Ws=1,Fr=2,kn=4,wa=16,tr=32,pr=64,gn=128,Rr=256,ti=512,yo=1024,Ba=2048,jr=4096,ls=8192,$p=16384,aC=32767,Lu=32768,Gi=65536,jo=131072,Ff=1048576,jf=2097152,Ol=4194304,Yv=8388608,ia=16777216,Ml=33554432,Ll=kn|yo|0,ud=Fr|kn|wa|tr|ti|jr|ls,Nl=kn|pr|ti|ls,Ri=Ba|wa,ni=Ol|Yv|jf,Nu=r.ReactCurrentOwner;function aa(i){var o=i,f=i;if(i.alternate)for(;o.return;)o=o.return;else{var m=o;do o=m,(o.flags&(Fr|jr))!==Ot&&(f=o.return),m=o.return;while(m)}return o.tag===k?f:null}function us(i){if(i.tag===N){var o=i.memoizedState;if(o===null){var f=i.alternate;f!==null&&(o=f.memoizedState)}if(o!==null)return o.dehydrated}return null}function Il(i){return i.tag===k?i.stateNode.containerInfo:null}function oC(i){return aa(i)===i}function Kv(i){{var o=Nu.current;if(o!==null&&o.tag===v){var f=o,m=f.stateNode;m._warnedAboutRefsInRender||c("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Zt(f)||"A component"),m._warnedAboutRefsInRender=!0}}var y=ld(i);return y?aa(y)===y:!1}function qp(i){if(aa(i)!==i)throw new Error("Unable to find node on an unmounted component.")}function _a(i){var o=i.alternate;if(!o){var f=aa(i);if(f===null)throw new Error("Unable to find node on an unmounted component.");return f!==i?null:i}for(var m=i,y=o;;){var C=m.return;if(C===null)break;var w=C.alternate;if(w===null){var P=C.return;if(P!==null){m=y=P;continue}break}if(C.child===w.child){for(var D=C.child;D;){if(D===m)return qp(C),i;if(D===y)return qp(C),o;D=D.sibling}throw new Error("Unable to find node on an unmounted component.")}if(m.return!==y.return)m=C,y=w;else{for(var F=!1,B=C.child;B;){if(B===m){F=!0,m=C,y=w;break}if(B===y){F=!0,y=C,m=w;break}B=B.sibling}if(!F){for(B=w.child;B;){if(B===m){F=!0,m=w,y=C;break}if(B===y){F=!0,y=w,m=C;break}B=B.sibling}if(!F)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(m.alternate!==y)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(m.tag!==k)throw new Error("Unable to find node on an unmounted component.");return m.stateNode.current===m?i:o}function Ea(i){var o=_a(i);return o!==null?kr(o):null}function kr(i){if(i.tag===E||i.tag===R)return i;for(var o=i.child;o!==null;){var f=kr(o);if(f!==null)return f;o=o.sibling}return null}function Vo(i){var o=_a(i);return o!==null?Zv(o):null}function Zv(i){if(i.tag===E||i.tag===R)return i;for(var o=i.child;o!==null;){if(o.tag!==T){var f=Zv(o);if(f!==null)return f}o=o.sibling}return null}var Qv=n.unstable_scheduleCallback,Xv=n.unstable_cancelCallback,Jv=n.unstable_shouldYield,sC=n.unstable_requestPaint,Wr=n.unstable_now,lC=n.unstable_getCurrentPriorityLevel,Gs=n.unstable_ImmediatePriority,Vf=n.unstable_UserBlockingPriority,Iu=n.unstable_NormalPriority,zf=n.unstable_LowPriority,cd=n.unstable_IdlePriority,uC=n.unstable_yieldValue,cC=n.unstable_setDisableYieldValue,zo=null,Pi=null,at=null,Ha=!1,Yi=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function ey(i){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var o=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(o.isDisabled)return!0;if(!o.supportsFiber)return c("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Ct&&(i=an({},i,{getLaneLabelMap:iy,injectProfilingHooks:Uu})),zo=o.inject(i),Pi=o}catch(f){c("React instrumentation encountered an error: %s.",f)}return!!o.checkDCE}function ty(i,o){if(Pi&&typeof Pi.onScheduleFiberRoot=="function")try{Pi.onScheduleFiberRoot(zo,i,o)}catch(f){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",f))}}function ny(i,o){if(Pi&&typeof Pi.onCommitFiberRoot=="function")try{var f=(i.current.flags&gn)===gn;if(Rt){var m;switch(o){case Oa:m=Gs;break;case So:m=Vf;break;case Di:m=Iu;break;case Cm:m=cd;break;default:m=Iu;break}Pi.onCommitFiberRoot(zo,i,m,f)}}catch(y){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",y))}}function ry(i){if(Pi&&typeof Pi.onPostCommitFiberRoot=="function")try{Pi.onPostCommitFiberRoot(zo,i)}catch(o){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",o))}}function dd(i){if(Pi&&typeof Pi.onCommitFiberUnmount=="function")try{Pi.onCommitFiberUnmount(zo,i)}catch(o){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",o))}}function nr(i){if(typeof uC=="function"&&(cC(i),s(i)),Pi&&typeof Pi.setStrictMode=="function")try{Pi.setStrictMode(zo,i)}catch(o){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",o))}}function Uu(i){at=i}function iy(){{for(var i=new Map,o=1,f=0;f<cy;f++){var m=gC(o);i.set(o,m),o*=2}return i}}function dC(i){at!==null&&typeof at.markCommitStarted=="function"&&at.markCommitStarted(i)}function cs(){at!==null&&typeof at.markCommitStopped=="function"&&at.markCommitStopped()}function bo(i){at!==null&&typeof at.markComponentRenderStarted=="function"&&at.markComponentRenderStarted(i)}function Ul(){at!==null&&typeof at.markComponentRenderStopped=="function"&&at.markComponentRenderStopped()}function fC(i){at!==null&&typeof at.markComponentPassiveEffectMountStarted=="function"&&at.markComponentPassiveEffectMountStarted(i)}function Ys(){at!==null&&typeof at.markComponentPassiveEffectMountStopped=="function"&&at.markComponentPassiveEffectMountStopped()}function Fl(i){at!==null&&typeof at.markComponentPassiveEffectUnmountStarted=="function"&&at.markComponentPassiveEffectUnmountStarted(i)}function Wp(){at!==null&&typeof at.markComponentPassiveEffectUnmountStopped=="function"&&at.markComponentPassiveEffectUnmountStopped()}function hC(i){at!==null&&typeof at.markComponentLayoutEffectMountStarted=="function"&&at.markComponentLayoutEffectMountStarted(i)}function Gp(){at!==null&&typeof at.markComponentLayoutEffectMountStopped=="function"&&at.markComponentLayoutEffectMountStopped()}function ay(i){at!==null&&typeof at.markComponentLayoutEffectUnmountStarted=="function"&&at.markComponentLayoutEffectUnmountStarted(i)}function fd(){at!==null&&typeof at.markComponentLayoutEffectUnmountStopped=="function"&&at.markComponentLayoutEffectUnmountStopped()}function ds(i,o,f){at!==null&&typeof at.markComponentErrored=="function"&&at.markComponentErrored(i,o,f)}function Bf(i,o,f){at!==null&&typeof at.markComponentSuspended=="function"&&at.markComponentSuspended(i,o,f)}function Hf(i){at!==null&&typeof at.markLayoutEffectsStarted=="function"&&at.markLayoutEffectsStarted(i)}function Fu(){at!==null&&typeof at.markLayoutEffectsStopped=="function"&&at.markLayoutEffectsStopped()}function oy(i){at!==null&&typeof at.markPassiveEffectsStarted=="function"&&at.markPassiveEffectsStarted(i)}function hd(){at!==null&&typeof at.markPassiveEffectsStopped=="function"&&at.markPassiveEffectsStopped()}function sy(i){at!==null&&typeof at.markRenderStarted=="function"&&at.markRenderStarted(i)}function ly(){at!==null&&typeof at.markRenderYielded=="function"&&at.markRenderYielded()}function Pr(){at!==null&&typeof at.markRenderStopped=="function"&&at.markRenderStopped()}function Yp(i){at!==null&&typeof at.markRenderScheduled=="function"&&at.markRenderScheduled(i)}function uy(i,o){at!==null&&typeof at.markForceUpdateScheduled=="function"&&at.markForceUpdateScheduled(i,o)}function $f(i,o){at!==null&&typeof at.markStateUpdateScheduled=="function"&&at.markStateUpdateScheduled(i,o)}var Mt=0,yn=1,En=2,on=8,cr=16,ci=Math.clz32?Math.clz32:Wf,Kp=Math.log,qf=Math.LN2;function Wf(i){var o=i>>>0;return o===0?32:31-(Kp(o)/qf|0)|0}var cy=31,Pe=0,ri=0,Ht=1,jl=2,yi=4,bi=8,Ra=16,ju=32,Vl=4194240,pd=64,Zp=128,Qp=256,Xp=512,Jp=1024,em=2048,tm=4096,nm=8192,Vu=16384,rm=32768,md=65536,gd=131072,im=262144,Gf=524288,am=1048576,om=2097152,Yf=130023424,zu=4194304,Kf=8388608,sm=16777216,lm=33554432,um=67108864,pC=zu,vd=134217728,mC=268435455,Zf=268435456,zl=536870912,Pa=1073741824;function gC(i){{if(i&Ht)return"Sync";if(i&jl)return"InputContinuousHydration";if(i&yi)return"InputContinuous";if(i&bi)return"DefaultHydration";if(i&Ra)return"Default";if(i&ju)return"TransitionHydration";if(i&Vl)return"Transition";if(i&Yf)return"Retry";if(i&vd)return"SelectiveHydration";if(i&Zf)return"IdleHydration";if(i&zl)return"Idle";if(i&Pa)return"Offscreen"}}var rr=-1,cm=pd,dm=zu;function Qf(i){switch(Bu(i)){case Ht:return Ht;case jl:return jl;case yi:return yi;case bi:return bi;case Ra:return Ra;case ju:return ju;case pd:case Zp:case Qp:case Xp:case Jp:case em:case tm:case nm:case Vu:case rm:case md:case gd:case im:case Gf:case am:case om:return i&Vl;case zu:case Kf:case sm:case lm:case um:return i&Yf;case vd:return vd;case Zf:return Zf;case zl:return zl;case Pa:return Pa;default:return c("Should have found matching lanes. This is a bug in React."),i}}function Da(i,o){var f=i.pendingLanes;if(f===Pe)return Pe;var m=Pe,y=i.suspendedLanes,C=i.pingedLanes,w=f&mC;if(w!==Pe){var P=w&~y;if(P!==Pe)m=Qf(P);else{var D=w&C;D!==Pe&&(m=Qf(D))}}else{var F=f&~y;F!==Pe?m=Qf(F):C!==Pe&&(m=Qf(C))}if(m===Pe)return Pe;if(o!==Pe&&o!==m&&(o&y)===Pe){var B=Bu(m),ae=Bu(o);if(B>=ae||B===Ra&&(ae&Vl)!==Pe)return o}(m&yi)!==Pe&&(m|=f&Ra);var re=i.entangledLanes;if(re!==Pe)for(var ge=i.entanglements,be=m&re;be>0;){var we=Gr(be),st=1<<we;m|=ge[we],be&=~st}return m}function dy(i,o){for(var f=i.eventTimes,m=rr;o>0;){var y=Gr(o),C=1<<y,w=f[y];w>m&&(m=w),o&=~C}return m}function fm(i,o){switch(i){case Ht:case jl:case yi:return o+250;case bi:case Ra:case ju:case pd:case Zp:case Qp:case Xp:case Jp:case em:case tm:case nm:case Vu:case rm:case md:case gd:case im:case Gf:case am:case om:return o+5e3;case zu:case Kf:case sm:case lm:case um:return rr;case vd:case Zf:case zl:case Pa:return rr;default:return c("Should have found matching lanes. This is a bug in React."),rr}}function vC(i,o){for(var f=i.pendingLanes,m=i.suspendedLanes,y=i.pingedLanes,C=i.expirationTimes,w=f;w>0;){var P=Gr(w),D=1<<P,F=C[P];F===rr?((D&m)===Pe||(D&y)!==Pe)&&(C[P]=fm(D,o)):F<=o&&(i.expiredLanes|=D),w&=~D}}function yC(i){return Qf(i.pendingLanes)}function hm(i){var o=i.pendingLanes&~Pa;return o!==Pe?o:o&Pa?Pa:Pe}function fy(i){return(i&Ht)!==Pe}function Bl(i){return(i&mC)!==Pe}function pm(i){return(i&Yf)===i}function hy(i){var o=Ht|yi|Ra;return(i&o)===Pe}function z_(i){return(i&Vl)===i}function Xf(i,o){var f=jl|yi|bi|Ra;return(o&f)!==Pe}function bC(i,o){return(o&i.expiredLanes)!==Pe}function py(i){return(i&Vl)!==Pe}function my(){var i=cm;return cm<<=1,(cm&Vl)===Pe&&(cm=pd),i}function SC(){var i=dm;return dm<<=1,(dm&Yf)===Pe&&(dm=zu),i}function Bu(i){return i&-i}function Si(i){return Bu(i)}function Gr(i){return 31-ci(i)}function mm(i){return Gr(i)}function Aa(i,o){return(i&o)!==Pe}function Hu(i,o){return(i&o)===o}function ln(i,o){return i|o}function Jf(i,o){return i&~o}function gm(i,o){return i&o}function B_(i){return i}function gy(i,o){return i!==ri&&i<o?i:o}function vm(i){for(var o=[],f=0;f<cy;f++)o.push(i);return o}function yd(i,o,f){i.pendingLanes|=o,o!==zl&&(i.suspendedLanes=Pe,i.pingedLanes=Pe);var m=i.eventTimes,y=mm(o);m[y]=f}function vy(i,o){i.suspendedLanes|=o,i.pingedLanes&=~o;for(var f=i.expirationTimes,m=o;m>0;){var y=Gr(m),C=1<<y;f[y]=rr,m&=~C}}function ym(i,o,f){i.pingedLanes|=i.suspendedLanes&o}function CC(i,o){var f=i.pendingLanes&~o;i.pendingLanes=o,i.suspendedLanes=Pe,i.pingedLanes=Pe,i.expiredLanes&=o,i.mutableReadLanes&=o,i.entangledLanes&=o;for(var m=i.entanglements,y=i.eventTimes,C=i.expirationTimes,w=f;w>0;){var P=Gr(w),D=1<<P;m[P]=Pe,y[P]=rr,C[P]=rr,w&=~D}}function eh(i,o){for(var f=i.entangledLanes|=o,m=i.entanglements,y=f;y;){var C=Gr(y),w=1<<C;w&o|m[C]&o&&(m[C]|=o),y&=~w}}function bm(i,o){var f=Bu(o),m;switch(f){case yi:m=jl;break;case Ra:m=bi;break;case pd:case Zp:case Qp:case Xp:case Jp:case em:case tm:case nm:case Vu:case rm:case md:case gd:case im:case Gf:case am:case om:case zu:case Kf:case sm:case lm:case um:m=ju;break;case zl:m=Zf;break;default:m=ri;break}return(m&(i.suspendedLanes|o))!==ri?ri:m}function kC(i,o,f){if(Yi)for(var m=i.pendingUpdatersLaneMap;f>0;){var y=mm(f),C=1<<y,w=m[y];w.add(o),f&=~C}}function yy(i,o){if(Yi)for(var f=i.pendingUpdatersLaneMap,m=i.memoizedUpdaters;o>0;){var y=mm(o),C=1<<y,w=f[y];w.size>0&&(w.forEach(function(P){var D=P.alternate;(D===null||!m.has(D))&&m.add(P)}),w.clear()),o&=~C}}function Sm(i,o){return null}var Oa=Ht,So=yi,Di=Ra,Cm=zl,bd=ri;function $a(){return bd}function di(i){bd=i}function TC(i,o){var f=bd;try{return bd=i,o()}finally{bd=f}}function th(i,o){return i!==0&&i<o?i:o}function Ki(i,o){return i>o?i:o}function by(i,o){return i!==0&&i<o}function xC(i){var o=Bu(i);return by(Oa,o)?by(So,o)?Bl(o)?Di:Cm:So:Oa}function $u(i){var o=i.current.memoizedState;return o.isDehydrated}var Ai;function H_(i){Ai=i}function kt(i){Ai(i)}var Hl;function Sy(i){Hl=i}var Cy;function $_(i){Cy=i}var Sd;function km(i){Sd=i}var Tm;function wC(i){Tm=i}var xm=!1,nh=[],fs=null,hs=null,Dr=null,oa=new Map,Co=new Map,Ks=[],_C=["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"];function Bo(i){return _C.indexOf(i)>-1}function EC(i,o,f,m,y){return{blockedOn:i,domEventName:o,eventSystemFlags:f,nativeEvent:y,targetContainers:[m]}}function Ho(i,o){switch(i){case"focusin":case"focusout":fs=null;break;case"dragenter":case"dragleave":hs=null;break;case"mouseover":case"mouseout":Dr=null;break;case"pointerover":case"pointerout":{var f=o.pointerId;oa.delete(f);break}case"gotpointercapture":case"lostpointercapture":{var m=o.pointerId;Co.delete(m);break}}}function rh(i,o,f,m,y,C){if(i===null||i.nativeEvent!==C){var w=EC(o,f,m,y,C);if(o!==null){var P=Dd(o);P!==null&&Hl(P)}return w}i.eventSystemFlags|=m;var D=i.targetContainers;return y!==null&&D.indexOf(y)===-1&&D.push(y),i}function RC(i,o,f,m,y){switch(o){case"focusin":{var C=y;return fs=rh(fs,i,o,f,m,C),!0}case"dragenter":{var w=y;return hs=rh(hs,i,o,f,m,w),!0}case"mouseover":{var P=y;return Dr=rh(Dr,i,o,f,m,P),!0}case"pointerover":{var D=y,F=D.pointerId;return oa.set(F,rh(oa.get(F)||null,i,o,f,m,D)),!0}case"gotpointercapture":{var B=y,ae=B.pointerId;return Co.set(ae,rh(Co.get(ae)||null,i,o,f,m,B)),!0}}return!1}function ky(i){var o=vh(i.target);if(o!==null){var f=aa(o);if(f!==null){var m=f.tag;if(m===N){var y=us(f);if(y!==null){i.blockedOn=y,Tm(i.priority,function(){Cy(f)});return}}else if(m===k){var C=f.stateNode;if($u(C)){i.blockedOn=Il(f);return}}}}i.blockedOn=null}function PC(i){for(var o=Sd(),f={blockedOn:null,target:i,priority:o},m=0;m<Ks.length&&by(o,Ks[m].priority);m++);Ks.splice(m,0,f),m===0&&ky(f)}function ih(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;o.length>0;){var f=o[0],m=ah(i.domEventName,i.eventSystemFlags,f,i.nativeEvent);if(m===null){var y=i.nativeEvent,C=new y.constructor(y.type,y);U_(C),y.target.dispatchEvent(C),Af()}else{var w=Dd(m);return w!==null&&Hl(w),i.blockedOn=m,!1}o.shift()}return!0}function DC(i,o,f){ih(i)&&f.delete(o)}function wm(){xm=!1,fs!==null&&ih(fs)&&(fs=null),hs!==null&&ih(hs)&&(hs=null),Dr!==null&&ih(Dr)&&(Dr=null),oa.forEach(DC),Co.forEach(DC)}function qu(i,o){i.blockedOn===o&&(i.blockedOn=null,xm||(xm=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,wm)))}function Zi(i){if(nh.length>0){qu(nh[0],i);for(var o=1;o<nh.length;o++){var f=nh[o];f.blockedOn===i&&(f.blockedOn=null)}}fs!==null&&qu(fs,i),hs!==null&&qu(hs,i),Dr!==null&&qu(Dr,i);var m=function(P){return qu(P,i)};oa.forEach(m),Co.forEach(m);for(var y=0;y<Ks.length;y++){var C=Ks[y];C.blockedOn===i&&(C.blockedOn=null)}for(;Ks.length>0;){var w=Ks[0];if(w.blockedOn!==null)break;ky(w),w.blockedOn===null&&Ks.shift()}}var Tn=r.ReactCurrentBatchConfig,ii=!0;function Yr(i){ii=!!i}function Oi(){return ii}function qa(i,o,f){var m=kd(o),y;switch(m){case Oa:y=Cd;break;case So:y=fi;break;case Di:default:y=Wu;break}return y.bind(null,o,f,i)}function Cd(i,o,f,m){var y=$a(),C=Tn.transition;Tn.transition=null;try{di(Oa),Wu(i,o,f,m)}finally{di(y),Tn.transition=C}}function fi(i,o,f,m){var y=$a(),C=Tn.transition;Tn.transition=null;try{di(So),Wu(i,o,f,m)}finally{di(y),Tn.transition=C}}function Wu(i,o,f,m){ii&&Gu(i,o,f,m)}function Gu(i,o,f,m){var y=ah(i,o,f,m);if(y===null){sE(i,o,m,Yu,f),Ho(i,m);return}if(RC(y,i,o,f,m)){m.stopPropagation();return}if(Ho(i,m),o&Pu&&Bo(i)){for(;y!==null;){var C=Dd(y);C!==null&&kt(C);var w=ah(i,o,f,m);if(w===null&&sE(i,o,m,Yu,f),w===y)break;y=w}y!==null&&m.stopPropagation();return}sE(i,o,m,null,f)}var Yu=null;function ah(i,o,f,m){Yu=null;var y=Ip(m),C=vh(y);if(C!==null){var w=aa(C);if(w===null)C=null;else{var P=w.tag;if(P===N){var D=us(w);if(D!==null)return D;C=null}else if(P===k){var F=w.stateNode;if($u(F))return Il(w);C=null}else w!==C&&(C=null)}}return Yu=C,null}function kd(i){switch(i){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 Oa;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 So;case"message":{var o=lC();switch(o){case Gs:return Oa;case Vf:return So;case Iu:case zf:return Di;case cd:return Cm;default:return Di}}default:return Di}}function Ma(i,o,f){return i.addEventListener(o,f,!1),f}function Ty(i,o,f){return i.addEventListener(o,f,!0),f}function Td(i,o,f,m){return i.addEventListener(o,f,{capture:!0,passive:m}),f}function Zs(i,o,f,m){return i.addEventListener(o,f,{passive:m}),f}var $l=null,oh=null,ko=null;function _m(i){return $l=i,oh=xd(),!0}function ql(){$l=null,oh=null,ko=null}function sh(){if(ko)return ko;var i,o=oh,f=o.length,m,y=xd(),C=y.length;for(i=0;i<f&&o[i]===y[i];i++);var w=f-i;for(m=1;m<=w&&o[f-m]===y[C-m];m++);var P=m>1?1-m:void 0;return ko=y.slice(i,P),ko}function xd(){return"value"in $l?$l.value:$l.textContent}function wd(i){var o,f=i.keyCode;return"charCode"in i?(o=i.charCode,o===0&&f===13&&(o=13)):o=f,o===10&&(o=13),o>=32||o===13?o:0}function Ku(){return!0}function lh(){return!1}function mr(i){function o(f,m,y,C,w){this._reactName=f,this._targetInst=y,this.type=m,this.nativeEvent=C,this.target=w,this.currentTarget=null;for(var P in i)if(i.hasOwnProperty(P)){var D=i[P];D?this[P]=D(C):this[P]=C[P]}var F=C.defaultPrevented!=null?C.defaultPrevented:C.returnValue===!1;return F?this.isDefaultPrevented=Ku:this.isDefaultPrevented=lh,this.isPropagationStopped=lh,this}return an(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Ku)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Ku)},persist:function(){},isPersistent:Ku}),o}var Wa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ga=mr(Wa),Ci=an({},Wa,{view:0,detail:0}),AC=mr(Ci),uh,ch,dh;function Wl(i){i!==dh&&(dh&&i.type==="mousemove"?(uh=i.screenX-dh.screenX,ch=i.screenY-dh.screenY):(uh=0,ch=0),dh=i)}var fh=an({},Ci,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ey,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(Wl(i),uh)},movementY:function(i){return"movementY"in i?i.movementY:ch}}),Em=mr(fh),Zu=an({},fh,{dataTransfer:0}),xy=mr(Zu),Qu=an({},Ci,{relatedTarget:0}),Rm=mr(Qu),OC=an({},Wa,{animationName:0,elapsedTime:0,pseudoElement:0}),wy=mr(OC),Pm=an({},Wa,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),q_=mr(Pm),W_=an({},Wa,{data:0}),_y=mr(W_),MC=_y,Xu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},G_={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"};function _d(i){if(i.key){var o=Xu[i.key]||i.key;if(o!=="Unidentified")return o}if(i.type==="keypress"){var f=wd(i);return f===13?"Enter":String.fromCharCode(f)}return i.type==="keydown"||i.type==="keyup"?G_[i.keyCode]||"Unidentified":""}var LC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vr(i){var o=this,f=o.nativeEvent;if(f.getModifierState)return f.getModifierState(i);var m=LC[i];return m?!!f[m]:!1}function Ey(i){return Vr}var NC=an({},Ci,{key:_d,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ey,charCode:function(i){return i.type==="keypress"?wd(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?wd(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),Y_=mr(NC),K_=an({},fh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ry=mr(K_),IC=an({},Ci,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ey}),Z_=mr(IC),To=an({},Wa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Py=mr(To),Q_=an({},fh,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Gl=mr(Q_),Dm=[9,13,27,32],Yl=229,Ed=_r&&"CompositionEvent"in window,Ju=null;_r&&"documentMode"in document&&(Ju=document.documentMode);var Dy=_r&&"TextEvent"in window&&!Ju,UC=_r&&(!Ed||Ju&&Ju>8&&Ju<=11),Am=32,FC=String.fromCharCode(Am);function jC(){nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),nn("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),nn("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),nn("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Ay=!1;function Om(i){return(i.ctrlKey||i.altKey||i.metaKey)&&!(i.ctrlKey&&i.altKey)}function Mm(i){switch(i){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function VC(i,o){return i==="keydown"&&o.keyCode===Yl}function Lm(i,o){switch(i){case"keyup":return Dm.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==Yl;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zC(i){var o=i.detail;return typeof o=="object"&&"data"in o?o.data:null}function Oy(i){return i.locale==="ko"}var Kl=!1;function Nm(i,o,f,m,y){var C,w;if(Ed?C=Mm(o):Kl?Lm(o,m)&&(C="onCompositionEnd"):VC(o,m)&&(C="onCompositionStart"),!C)return null;UC&&!Oy(m)&&(!Kl&&C==="onCompositionStart"?Kl=_m(y):C==="onCompositionEnd"&&Kl&&(w=sh()));var P=GC(f,C);if(P.length>0){var D=new _y(C,o,null,m,y);if(i.push({event:D,listeners:P}),w)D.data=w;else{var F=zC(m);F!==null&&(D.data=F)}}}function My(i,o){switch(i){case"compositionend":return zC(o);case"keypress":var f=o.which;return f!==Am?null:(Ay=!0,FC);case"textInput":var m=o.data;return m===FC&&Ay?null:m;default:return null}}function Im(i,o){if(Kl){if(i==="compositionend"||!Ed&&Lm(i,o)){var f=sh();return ql(),Kl=!1,f}return null}switch(i){case"paste":return null;case"keypress":if(!Om(o)){if(o.char&&o.char.length>1)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return UC&&!Oy(o)?null:o.data;default:return null}}function BC(i,o,f,m,y){var C;if(Dy?C=My(o,m):C=Im(o,m),!C)return null;var w=GC(f,"onBeforeInput");if(w.length>0){var P=new MC("onBeforeInput","beforeinput",null,m,y);i.push({event:P,listeners:w}),P.data=C}}function X_(i,o,f,m,y,C,w){Nm(i,o,f,m,y),BC(i,o,f,m,y)}var Um={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 HC(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!Um[i.type]:o==="textarea"}/**
|
|
115
|
+
Check the render method of \``+i+"`.":""}var Eu=["value","defaultValue"];function kf(i){{qc("select",i);for(var o=0;o<Eu.length;o++){var f=Eu[o];if(i[f]!=null){var m=sn(i[f]);i.multiple&&!m?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",f,qr()):!i.multiple&&m&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",f,qr())}}}}function Bs(i,o,f,m){var y=i.options;if(o){for(var C=f,w={},P=0;P<C.length;P++)w["$"+C[P]]=!0;for(var D=0;D<y.length;D++){var F=w.hasOwnProperty("$"+y[D].value);y[D].selected!==F&&(y[D].selected=F),F&&m&&(y[D].defaultSelected=!0)}}else{for(var B=qi(ra(f)),ae=null,re=0;re<y.length;re++){if(y[re].value===B){y[re].selected=!0,m&&(y[re].defaultSelected=!0);return}ae===null&&!y[re].disabled&&(ae=y[re])}ae!==null&&(ae.selected=!0)}}function Ru(i,o){return an({},o,{value:void 0})}function Tf(i,o){var f=i;kf(o),f._wrapperState={wasMultiple:!!o.multiple},o.value!==void 0&&o.defaultValue!==void 0&&!hr&&(c("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),hr=!0)}function Mv(i,o){var f=i;f.multiple=!!o.multiple;var m=o.value;m!=null?Bs(f,!!o.multiple,m,!1):o.defaultValue!=null&&Bs(f,!!o.multiple,o.defaultValue,!0)}function Pp(i,o){var f=i,m=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!o.multiple;var y=o.value;y!=null?Bs(f,!!o.multiple,y,!1):m!==!!o.multiple&&(o.defaultValue!=null?Bs(f,!!o.multiple,o.defaultValue,!0):Bs(f,!!o.multiple,o.multiple?[]:"",!1))}function Lv(i,o){var f=i,m=o.value;m!=null&&Bs(f,!!o.multiple,m,!1)}var PS=!1;function Dp(i,o){var f=i;if(o.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var m=an({},o,{value:void 0,defaultValue:void 0,children:qi(f._wrapperState.initialValue)});return m}function DS(i,o){var f=i;qc("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!PS&&(c("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",na()||"A component"),PS=!0);var m=o.value;if(m==null){var y=o.children,C=o.defaultValue;if(y!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(C!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(sn(y)){if(y.length>1)throw new Error("<textarea> can only have at most one child.");y=y[0]}C=y}}C==null&&(C=""),m=C}f._wrapperState={initialValue:ra(m)}}function AS(i,o){var f=i,m=ra(o.value),y=ra(o.defaultValue);if(m!=null){var C=qi(m);C!==f.value&&(f.value=C),o.defaultValue==null&&f.defaultValue!==C&&(f.defaultValue=C)}y!=null&&(f.defaultValue=qi(y))}function OS(i,o){var f=i,m=f.textContent;m===f._wrapperState.initialValue&&m!==""&&m!==null&&(f.value=m)}function R_(i,o){AS(i,o)}var Io="http://www.w3.org/1999/xhtml",P_="http://www.w3.org/1998/Math/MathML",Nv="http://www.w3.org/2000/svg";function Iv(i){switch(i){case"svg":return Nv;case"math":return P_;default:return Io}}function Ap(i,o){return i==null||i===Io?Iv(o):i===Nv&&o==="foreignObject"?Io:i}var D_=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,f,m,y){MSApp.execUnsafeLocalFunction(function(){return i(o,f,m,y)})}:i},Op,MS=D_(function(i,o){if(i.namespaceURI===Nv&&!("innerHTML"in i)){Op=Op||document.createElement("div"),Op.innerHTML="<svg>"+o.valueOf().toString()+"</svg>";for(var f=Op.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;f.firstChild;)i.appendChild(f.firstChild);return}i.innerHTML=o}),xa=1,Hs=3,ei=8,$s=9,xf=11,Pl=function(i,o){if(o){var f=i.firstChild;if(f&&f===i.lastChild&&f.nodeType===Hs){f.nodeValue=o;return}}i.textContent=o},A_={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Qc={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};function LS(i,o){return i+o.charAt(0).toUpperCase()+o.substring(1)}var NS=["Webkit","ms","Moz","O"];Object.keys(Qc).forEach(function(i){NS.forEach(function(o){Qc[LS(o,i)]=Qc[i]})});function Mp(i,o,f){var m=o==null||typeof o=="boolean"||o==="";return m?"":!f&&typeof o=="number"&&o!==0&&!(Qc.hasOwnProperty(i)&&Qc[i])?o+"px":(me(o,i),(""+o).trim())}var IS=/([A-Z])/g,Xc=/^ms-/;function O_(i){return i.replace(IS,"-$1").toLowerCase().replace(Xc,"-ms-")}var US=function(){};{var M_=/^(?:webkit|moz|o)[A-Z]/,FS=/^-ms-/,jS=/-(.)/g,Jc=/;\s*$/,os={},Uv={},wf=!1,VS=!1,zS=function(i){return i.replace(jS,function(o,f){return f.toUpperCase()})},Fv=function(i){os.hasOwnProperty(i)&&os[i]||(os[i]=!0,c("Unsupported style property %s. Did you mean %s?",i,zS(i.replace(FS,"ms-"))))},jv=function(i){os.hasOwnProperty(i)&&os[i]||(os[i]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",i,i.charAt(0).toUpperCase()+i.slice(1)))},BS=function(i,o){Uv.hasOwnProperty(o)&&Uv[o]||(Uv[o]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,i,o.replace(Jc,"")))},HS=function(i,o){wf||(wf=!0,c("`NaN` is an invalid value for the `%s` css style property.",i))},$S=function(i,o){VS||(VS=!0,c("`Infinity` is an invalid value for the `%s` css style property.",i))};US=function(i,o){i.indexOf("-")>-1?Fv(i):M_.test(i)?jv(i):Jc.test(o)&&BS(i,o),typeof o=="number"&&(isNaN(o)?HS(i,o):isFinite(o)||$S(i,o))}}var L_=US;function N_(i){{var o="",f="";for(var m in i)if(i.hasOwnProperty(m)){var y=i[m];if(y!=null){var C=m.indexOf("--")===0;o+=f+(C?m:O_(m))+":",o+=Mp(m,y,C),f=";"}}return o||null}}function qS(i,o){var f=i.style;for(var m in o)if(o.hasOwnProperty(m)){var y=m.indexOf("--")===0;y||L_(m,o[m]);var C=Mp(m,o[m],y);m==="float"&&(m="cssFloat"),y?f.setProperty(m,C):f[m]=C}}function I_(i){return i==null||typeof i=="boolean"||i===""}function WS(i){var o={};for(var f in i)for(var m=A_[f]||[f],y=0;y<m.length;y++)o[m[y]]=f;return o}function Uo(i,o){{if(!o)return;var f=WS(i),m=WS(o),y={};for(var C in f){var w=f[C],P=m[C];if(P&&w!==P){var D=w+","+P;if(y[D])continue;y[D]=!0,c("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",I_(i[w])?"Removing":"Updating",w,P)}}}}var _f={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},GS=an({menuitem:!0},_f),YS="__html";function Lp(i,o){if(o){if(GS[i]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw new Error(i+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o.dangerouslySetInnerHTML!="object"||!(YS in o.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!o.suppressContentEditableWarning&&o.contentEditable&&o.children!=null&&c("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),o.style!=null&&typeof o.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Dl(i,o){if(i.indexOf("-")===-1)return typeof o.is=="string";switch(i){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 ed={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},KS={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},td={},nd=new RegExp("^(aria)-["+ze+"]*$"),Vv=new RegExp("^(aria)[A-Z]["+ze+"]*$");function Ef(i,o){{if(vr.call(td,o)&&td[o])return!0;if(Vv.test(o)){var f="aria-"+o.slice(4).toLowerCase(),m=KS.hasOwnProperty(f)?f:null;if(m==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),td[o]=!0,!0;if(o!==m)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,m),td[o]=!0,!0}if(nd.test(o)){var y=o.toLowerCase(),C=KS.hasOwnProperty(y)?y:null;if(C==null)return td[o]=!0,!1;if(o!==C)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,C),td[o]=!0,!0}}return!0}function zv(i,o){{var f=[];for(var m in o){var y=Ef(i,m);y||f.push(m)}var C=f.map(function(w){return"`"+w+"`"}).join(", ");f.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",C,i):f.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",C,i)}}function ZS(i,o){Dl(i,o)||zv(i,o)}var Rf=!1;function rd(i,o){{if(i!=="input"&&i!=="textarea"&&i!=="select")return;o!=null&&o.value===null&&!Rf&&(Rf=!0,i==="select"&&o.multiple?c("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",i):c("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",i))}}var Np=function(){};{var Wi={},Pf=/^on./,QS=/^on[^A-Z]/,XS=new RegExp("^(aria)-["+ze+"]*$"),JS=new RegExp("^(aria)[A-Z]["+ze+"]*$");Np=function(i,o,f,m){if(vr.call(Wi,o)&&Wi[o])return!0;var y=o.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return c("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Wi[o]=!0,!0;if(m!=null){var C=m.registrationNameDependencies,w=m.possibleRegistrationNames;if(C.hasOwnProperty(o))return!0;var P=w.hasOwnProperty(y)?w[y]:null;if(P!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",o,P),Wi[o]=!0,!0;if(Pf.test(o))return c("Unknown event handler property `%s`. It will be ignored.",o),Wi[o]=!0,!0}else if(Pf.test(o))return QS.test(o)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),Wi[o]=!0,!0;if(XS.test(o)||JS.test(o))return!0;if(y==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Wi[o]=!0,!0;if(y==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Wi[o]=!0,!0;if(y==="is"&&f!==null&&f!==void 0&&typeof f!="string")return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),Wi[o]=!0,!0;if(typeof f=="number"&&isNaN(f))return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),Wi[o]=!0,!0;var D=Jn(o),F=D!==null&&D.type===Me;if(ed.hasOwnProperty(y)){var B=ed[y];if(B!==o)return c("Invalid DOM property `%s`. Did you mean `%s`?",o,B),Wi[o]=!0,!0}else if(!F&&o!==y)return c("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,y),Wi[o]=!0,!0;return typeof f=="boolean"&&Pn(o,f,D,!1)?(f?c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,o,o,f,o):c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,o,o,f,o,o,o),Wi[o]=!0,!0):F?!0:Pn(o,f,D,!1)?(Wi[o]=!0,!1):((f==="false"||f==="true")&&D!==null&&D.type===fe&&(c("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,o,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,f),Wi[o]=!0),!0)}}var eC=function(i,o,f){{var m=[];for(var y in o){var C=Np(i,y,o[y],f);C||m.push(y)}var w=m.map(function(P){return"`"+P+"`"}).join(", ");m.length===1?c("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,i):m.length>1&&c("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,i)}};function tC(i,o,f){Dl(i,o)||eC(i,o,f)}var Bv=1,ss=2,Pu=4,Hv=Bv|ss|Pu,Df=null;function U_(i){Df!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Df=i}function Af(){Df===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Df=null}function F_(i){return i===Df}function Ip(i){var o=i.target||i.srcElement||window;return o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===Hs?o.parentNode:o}var Up=null,Zn=null,Al=null;function Of(i){var o=Dd(i);if(o){if(typeof Up!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var f=o.stateNode;if(f){var m=ok(f);Up(o.stateNode,o.type,m)}}}function Mf(i){Up=i}function $v(i){Zn?Al?Al.push(i):Al=[i]:Zn=i}function qv(){return Zn!==null||Al!==null}function id(){if(Zn){var i=Zn,o=Al;if(Zn=null,Al=null,Of(i),o)for(var f=0;f<o.length;f++)Of(o[f])}}var Lf=function(i,o){return i(o)},Du=function(){},Fp=!1;function j_(){var i=qv();i&&(Du(),id())}function nC(i,o,f){if(Fp)return i(o,f);Fp=!0;try{return Lf(i,o,f)}finally{Fp=!1,j_()}}function rC(i,o,f){Lf=i,Du=f}function jp(i){return i==="button"||i==="input"||i==="select"||i==="textarea"}function Vp(i,o,f){switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(f.disabled&&jp(o));default:return!1}}function Au(i,o){var f=i.stateNode;if(f===null)return null;var m=ok(f);if(m===null)return null;var y=m[o];if(Vp(o,i.type,m))return null;if(y&&typeof y!="function")throw new Error("Expected `"+o+"` listener to be a function, instead got a value of `"+typeof y+"` type.");return y}var Nf=!1;if(_r)try{var Ou={};Object.defineProperty(Ou,"passive",{get:function(){Nf=!0}}),window.addEventListener("test",Ou,Ou),window.removeEventListener("test",Ou,Ou)}catch{Nf=!1}function zp(i,o,f,m,y,C,w,P,D){var F=Array.prototype.slice.call(arguments,3);try{o.apply(f,F)}catch(B){this.onError(B)}}var iC=zp;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Bp=document.createElement("react");iC=function(o,f,m,y,C,w,P,D,F){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var B=document.createEvent("Event"),ae=!1,re=!0,ge=window.event,be=Object.getOwnPropertyDescriptor(window,"event");function we(){Bp.removeEventListener(_e,Vt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ge)}var st=Array.prototype.slice.call(arguments,3);function Vt(){ae=!0,we(),f.apply(m,st),re=!1}var Pt,Mn=!1,xn=!1;function ce(de){if(Pt=de.error,Mn=!0,Pt===null&&de.colno===0&&de.lineno===0&&(xn=!0),de.defaultPrevented&&Pt!=null&&typeof Pt=="object")try{Pt._suppressLogging=!0}catch{}}var _e="react-"+(o||"invokeguardedcallback");if(window.addEventListener("error",ce),Bp.addEventListener(_e,Vt,!1),B.initEvent(_e,!1,!1),Bp.dispatchEvent(B),be&&Object.defineProperty(window,"event",be),ae&&re&&(Mn?xn&&(Pt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Pt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Pt)),window.removeEventListener("error",ce),!ae)return we(),zp.apply(this,arguments)}}var V_=iC,ad=!1,od=null,Fo=!1,Hp=null,sd={onError:function(i){ad=!0,od=i}};function vo(i,o,f,m,y,C,w,P,D){ad=!1,od=null,V_.apply(sd,arguments)}function If(i,o,f,m,y,C,w,P,D){if(vo.apply(this,arguments),ad){var F=Gv();Fo||(Fo=!0,Hp=F)}}function qs(){if(Fo){var i=Hp;throw Fo=!1,Hp=null,i}}function Wv(){return ad}function Gv(){if(ad){var i=od;return ad=!1,od=null,i}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ld(i){return i._reactInternals}function Mu(i){return i._reactInternals!==void 0}function Uf(i,o){i._reactInternals=o}var Ot=0,Ws=1,Fr=2,kn=4,wa=16,tr=32,pr=64,vn=128,Rr=256,ti=512,yo=1024,Ba=2048,jr=4096,ls=8192,$p=16384,aC=32767,Lu=32768,Gi=65536,jo=131072,Ff=1048576,jf=2097152,Ol=4194304,Yv=8388608,ia=16777216,Ml=33554432,Ll=kn|yo|0,ud=Fr|kn|wa|tr|ti|jr|ls,Nl=kn|pr|ti|ls,Ri=Ba|wa,ni=Ol|Yv|jf,Nu=r.ReactCurrentOwner;function aa(i){var o=i,f=i;if(i.alternate)for(;o.return;)o=o.return;else{var m=o;do o=m,(o.flags&(Fr|jr))!==Ot&&(f=o.return),m=o.return;while(m)}return o.tag===k?f:null}function us(i){if(i.tag===N){var o=i.memoizedState;if(o===null){var f=i.alternate;f!==null&&(o=f.memoizedState)}if(o!==null)return o.dehydrated}return null}function Il(i){return i.tag===k?i.stateNode.containerInfo:null}function oC(i){return aa(i)===i}function Kv(i){{var o=Nu.current;if(o!==null&&o.tag===v){var f=o,m=f.stateNode;m._warnedAboutRefsInRender||c("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Zt(f)||"A component"),m._warnedAboutRefsInRender=!0}}var y=ld(i);return y?aa(y)===y:!1}function qp(i){if(aa(i)!==i)throw new Error("Unable to find node on an unmounted component.")}function _a(i){var o=i.alternate;if(!o){var f=aa(i);if(f===null)throw new Error("Unable to find node on an unmounted component.");return f!==i?null:i}for(var m=i,y=o;;){var C=m.return;if(C===null)break;var w=C.alternate;if(w===null){var P=C.return;if(P!==null){m=y=P;continue}break}if(C.child===w.child){for(var D=C.child;D;){if(D===m)return qp(C),i;if(D===y)return qp(C),o;D=D.sibling}throw new Error("Unable to find node on an unmounted component.")}if(m.return!==y.return)m=C,y=w;else{for(var F=!1,B=C.child;B;){if(B===m){F=!0,m=C,y=w;break}if(B===y){F=!0,y=C,m=w;break}B=B.sibling}if(!F){for(B=w.child;B;){if(B===m){F=!0,m=w,y=C;break}if(B===y){F=!0,y=w,m=C;break}B=B.sibling}if(!F)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(m.alternate!==y)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(m.tag!==k)throw new Error("Unable to find node on an unmounted component.");return m.stateNode.current===m?i:o}function Ea(i){var o=_a(i);return o!==null?kr(o):null}function kr(i){if(i.tag===E||i.tag===R)return i;for(var o=i.child;o!==null;){var f=kr(o);if(f!==null)return f;o=o.sibling}return null}function Vo(i){var o=_a(i);return o!==null?Zv(o):null}function Zv(i){if(i.tag===E||i.tag===R)return i;for(var o=i.child;o!==null;){if(o.tag!==T){var f=Zv(o);if(f!==null)return f}o=o.sibling}return null}var Qv=n.unstable_scheduleCallback,Xv=n.unstable_cancelCallback,Jv=n.unstable_shouldYield,sC=n.unstable_requestPaint,Wr=n.unstable_now,lC=n.unstable_getCurrentPriorityLevel,Gs=n.unstable_ImmediatePriority,Vf=n.unstable_UserBlockingPriority,Iu=n.unstable_NormalPriority,zf=n.unstable_LowPriority,cd=n.unstable_IdlePriority,uC=n.unstable_yieldValue,cC=n.unstable_setDisableYieldValue,zo=null,Pi=null,at=null,Ha=!1,Yi=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function ey(i){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var o=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(o.isDisabled)return!0;if(!o.supportsFiber)return c("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Ct&&(i=an({},i,{getLaneLabelMap:iy,injectProfilingHooks:Uu})),zo=o.inject(i),Pi=o}catch(f){c("React instrumentation encountered an error: %s.",f)}return!!o.checkDCE}function ty(i,o){if(Pi&&typeof Pi.onScheduleFiberRoot=="function")try{Pi.onScheduleFiberRoot(zo,i,o)}catch(f){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",f))}}function ny(i,o){if(Pi&&typeof Pi.onCommitFiberRoot=="function")try{var f=(i.current.flags&vn)===vn;if(Rt){var m;switch(o){case Oa:m=Gs;break;case So:m=Vf;break;case Di:m=Iu;break;case Cm:m=cd;break;default:m=Iu;break}Pi.onCommitFiberRoot(zo,i,m,f)}}catch(y){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",y))}}function ry(i){if(Pi&&typeof Pi.onPostCommitFiberRoot=="function")try{Pi.onPostCommitFiberRoot(zo,i)}catch(o){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",o))}}function dd(i){if(Pi&&typeof Pi.onCommitFiberUnmount=="function")try{Pi.onCommitFiberUnmount(zo,i)}catch(o){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",o))}}function nr(i){if(typeof uC=="function"&&(cC(i),s(i)),Pi&&typeof Pi.setStrictMode=="function")try{Pi.setStrictMode(zo,i)}catch(o){Ha||(Ha=!0,c("React instrumentation encountered an error: %s",o))}}function Uu(i){at=i}function iy(){{for(var i=new Map,o=1,f=0;f<cy;f++){var m=gC(o);i.set(o,m),o*=2}return i}}function dC(i){at!==null&&typeof at.markCommitStarted=="function"&&at.markCommitStarted(i)}function cs(){at!==null&&typeof at.markCommitStopped=="function"&&at.markCommitStopped()}function bo(i){at!==null&&typeof at.markComponentRenderStarted=="function"&&at.markComponentRenderStarted(i)}function Ul(){at!==null&&typeof at.markComponentRenderStopped=="function"&&at.markComponentRenderStopped()}function fC(i){at!==null&&typeof at.markComponentPassiveEffectMountStarted=="function"&&at.markComponentPassiveEffectMountStarted(i)}function Ys(){at!==null&&typeof at.markComponentPassiveEffectMountStopped=="function"&&at.markComponentPassiveEffectMountStopped()}function Fl(i){at!==null&&typeof at.markComponentPassiveEffectUnmountStarted=="function"&&at.markComponentPassiveEffectUnmountStarted(i)}function Wp(){at!==null&&typeof at.markComponentPassiveEffectUnmountStopped=="function"&&at.markComponentPassiveEffectUnmountStopped()}function hC(i){at!==null&&typeof at.markComponentLayoutEffectMountStarted=="function"&&at.markComponentLayoutEffectMountStarted(i)}function Gp(){at!==null&&typeof at.markComponentLayoutEffectMountStopped=="function"&&at.markComponentLayoutEffectMountStopped()}function ay(i){at!==null&&typeof at.markComponentLayoutEffectUnmountStarted=="function"&&at.markComponentLayoutEffectUnmountStarted(i)}function fd(){at!==null&&typeof at.markComponentLayoutEffectUnmountStopped=="function"&&at.markComponentLayoutEffectUnmountStopped()}function ds(i,o,f){at!==null&&typeof at.markComponentErrored=="function"&&at.markComponentErrored(i,o,f)}function Bf(i,o,f){at!==null&&typeof at.markComponentSuspended=="function"&&at.markComponentSuspended(i,o,f)}function Hf(i){at!==null&&typeof at.markLayoutEffectsStarted=="function"&&at.markLayoutEffectsStarted(i)}function Fu(){at!==null&&typeof at.markLayoutEffectsStopped=="function"&&at.markLayoutEffectsStopped()}function oy(i){at!==null&&typeof at.markPassiveEffectsStarted=="function"&&at.markPassiveEffectsStarted(i)}function hd(){at!==null&&typeof at.markPassiveEffectsStopped=="function"&&at.markPassiveEffectsStopped()}function sy(i){at!==null&&typeof at.markRenderStarted=="function"&&at.markRenderStarted(i)}function ly(){at!==null&&typeof at.markRenderYielded=="function"&&at.markRenderYielded()}function Pr(){at!==null&&typeof at.markRenderStopped=="function"&&at.markRenderStopped()}function Yp(i){at!==null&&typeof at.markRenderScheduled=="function"&&at.markRenderScheduled(i)}function uy(i,o){at!==null&&typeof at.markForceUpdateScheduled=="function"&&at.markForceUpdateScheduled(i,o)}function $f(i,o){at!==null&&typeof at.markStateUpdateScheduled=="function"&&at.markStateUpdateScheduled(i,o)}var Mt=0,bn=1,En=2,on=8,cr=16,ci=Math.clz32?Math.clz32:Wf,Kp=Math.log,qf=Math.LN2;function Wf(i){var o=i>>>0;return o===0?32:31-(Kp(o)/qf|0)|0}var cy=31,Pe=0,ri=0,Ht=1,jl=2,yi=4,bi=8,Ra=16,ju=32,Vl=4194240,pd=64,Zp=128,Qp=256,Xp=512,Jp=1024,em=2048,tm=4096,nm=8192,Vu=16384,rm=32768,md=65536,gd=131072,im=262144,Gf=524288,am=1048576,om=2097152,Yf=130023424,zu=4194304,Kf=8388608,sm=16777216,lm=33554432,um=67108864,pC=zu,vd=134217728,mC=268435455,Zf=268435456,zl=536870912,Pa=1073741824;function gC(i){{if(i&Ht)return"Sync";if(i&jl)return"InputContinuousHydration";if(i&yi)return"InputContinuous";if(i&bi)return"DefaultHydration";if(i&Ra)return"Default";if(i&ju)return"TransitionHydration";if(i&Vl)return"Transition";if(i&Yf)return"Retry";if(i&vd)return"SelectiveHydration";if(i&Zf)return"IdleHydration";if(i&zl)return"Idle";if(i&Pa)return"Offscreen"}}var rr=-1,cm=pd,dm=zu;function Qf(i){switch(Bu(i)){case Ht:return Ht;case jl:return jl;case yi:return yi;case bi:return bi;case Ra:return Ra;case ju:return ju;case pd:case Zp:case Qp:case Xp:case Jp:case em:case tm:case nm:case Vu:case rm:case md:case gd:case im:case Gf:case am:case om:return i&Vl;case zu:case Kf:case sm:case lm:case um:return i&Yf;case vd:return vd;case Zf:return Zf;case zl:return zl;case Pa:return Pa;default:return c("Should have found matching lanes. This is a bug in React."),i}}function Da(i,o){var f=i.pendingLanes;if(f===Pe)return Pe;var m=Pe,y=i.suspendedLanes,C=i.pingedLanes,w=f&mC;if(w!==Pe){var P=w&~y;if(P!==Pe)m=Qf(P);else{var D=w&C;D!==Pe&&(m=Qf(D))}}else{var F=f&~y;F!==Pe?m=Qf(F):C!==Pe&&(m=Qf(C))}if(m===Pe)return Pe;if(o!==Pe&&o!==m&&(o&y)===Pe){var B=Bu(m),ae=Bu(o);if(B>=ae||B===Ra&&(ae&Vl)!==Pe)return o}(m&yi)!==Pe&&(m|=f&Ra);var re=i.entangledLanes;if(re!==Pe)for(var ge=i.entanglements,be=m&re;be>0;){var we=Gr(be),st=1<<we;m|=ge[we],be&=~st}return m}function dy(i,o){for(var f=i.eventTimes,m=rr;o>0;){var y=Gr(o),C=1<<y,w=f[y];w>m&&(m=w),o&=~C}return m}function fm(i,o){switch(i){case Ht:case jl:case yi:return o+250;case bi:case Ra:case ju:case pd:case Zp:case Qp:case Xp:case Jp:case em:case tm:case nm:case Vu:case rm:case md:case gd:case im:case Gf:case am:case om:return o+5e3;case zu:case Kf:case sm:case lm:case um:return rr;case vd:case Zf:case zl:case Pa:return rr;default:return c("Should have found matching lanes. This is a bug in React."),rr}}function vC(i,o){for(var f=i.pendingLanes,m=i.suspendedLanes,y=i.pingedLanes,C=i.expirationTimes,w=f;w>0;){var P=Gr(w),D=1<<P,F=C[P];F===rr?((D&m)===Pe||(D&y)!==Pe)&&(C[P]=fm(D,o)):F<=o&&(i.expiredLanes|=D),w&=~D}}function yC(i){return Qf(i.pendingLanes)}function hm(i){var o=i.pendingLanes&~Pa;return o!==Pe?o:o&Pa?Pa:Pe}function fy(i){return(i&Ht)!==Pe}function Bl(i){return(i&mC)!==Pe}function pm(i){return(i&Yf)===i}function hy(i){var o=Ht|yi|Ra;return(i&o)===Pe}function z_(i){return(i&Vl)===i}function Xf(i,o){var f=jl|yi|bi|Ra;return(o&f)!==Pe}function bC(i,o){return(o&i.expiredLanes)!==Pe}function py(i){return(i&Vl)!==Pe}function my(){var i=cm;return cm<<=1,(cm&Vl)===Pe&&(cm=pd),i}function SC(){var i=dm;return dm<<=1,(dm&Yf)===Pe&&(dm=zu),i}function Bu(i){return i&-i}function Si(i){return Bu(i)}function Gr(i){return 31-ci(i)}function mm(i){return Gr(i)}function Aa(i,o){return(i&o)!==Pe}function Hu(i,o){return(i&o)===o}function ln(i,o){return i|o}function Jf(i,o){return i&~o}function gm(i,o){return i&o}function B_(i){return i}function gy(i,o){return i!==ri&&i<o?i:o}function vm(i){for(var o=[],f=0;f<cy;f++)o.push(i);return o}function yd(i,o,f){i.pendingLanes|=o,o!==zl&&(i.suspendedLanes=Pe,i.pingedLanes=Pe);var m=i.eventTimes,y=mm(o);m[y]=f}function vy(i,o){i.suspendedLanes|=o,i.pingedLanes&=~o;for(var f=i.expirationTimes,m=o;m>0;){var y=Gr(m),C=1<<y;f[y]=rr,m&=~C}}function ym(i,o,f){i.pingedLanes|=i.suspendedLanes&o}function CC(i,o){var f=i.pendingLanes&~o;i.pendingLanes=o,i.suspendedLanes=Pe,i.pingedLanes=Pe,i.expiredLanes&=o,i.mutableReadLanes&=o,i.entangledLanes&=o;for(var m=i.entanglements,y=i.eventTimes,C=i.expirationTimes,w=f;w>0;){var P=Gr(w),D=1<<P;m[P]=Pe,y[P]=rr,C[P]=rr,w&=~D}}function eh(i,o){for(var f=i.entangledLanes|=o,m=i.entanglements,y=f;y;){var C=Gr(y),w=1<<C;w&o|m[C]&o&&(m[C]|=o),y&=~w}}function bm(i,o){var f=Bu(o),m;switch(f){case yi:m=jl;break;case Ra:m=bi;break;case pd:case Zp:case Qp:case Xp:case Jp:case em:case tm:case nm:case Vu:case rm:case md:case gd:case im:case Gf:case am:case om:case zu:case Kf:case sm:case lm:case um:m=ju;break;case zl:m=Zf;break;default:m=ri;break}return(m&(i.suspendedLanes|o))!==ri?ri:m}function kC(i,o,f){if(Yi)for(var m=i.pendingUpdatersLaneMap;f>0;){var y=mm(f),C=1<<y,w=m[y];w.add(o),f&=~C}}function yy(i,o){if(Yi)for(var f=i.pendingUpdatersLaneMap,m=i.memoizedUpdaters;o>0;){var y=mm(o),C=1<<y,w=f[y];w.size>0&&(w.forEach(function(P){var D=P.alternate;(D===null||!m.has(D))&&m.add(P)}),w.clear()),o&=~C}}function Sm(i,o){return null}var Oa=Ht,So=yi,Di=Ra,Cm=zl,bd=ri;function $a(){return bd}function di(i){bd=i}function TC(i,o){var f=bd;try{return bd=i,o()}finally{bd=f}}function th(i,o){return i!==0&&i<o?i:o}function Ki(i,o){return i>o?i:o}function by(i,o){return i!==0&&i<o}function xC(i){var o=Bu(i);return by(Oa,o)?by(So,o)?Bl(o)?Di:Cm:So:Oa}function $u(i){var o=i.current.memoizedState;return o.isDehydrated}var Ai;function H_(i){Ai=i}function kt(i){Ai(i)}var Hl;function Sy(i){Hl=i}var Cy;function $_(i){Cy=i}var Sd;function km(i){Sd=i}var Tm;function wC(i){Tm=i}var xm=!1,nh=[],fs=null,hs=null,Dr=null,oa=new Map,Co=new Map,Ks=[],_C=["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"];function Bo(i){return _C.indexOf(i)>-1}function EC(i,o,f,m,y){return{blockedOn:i,domEventName:o,eventSystemFlags:f,nativeEvent:y,targetContainers:[m]}}function Ho(i,o){switch(i){case"focusin":case"focusout":fs=null;break;case"dragenter":case"dragleave":hs=null;break;case"mouseover":case"mouseout":Dr=null;break;case"pointerover":case"pointerout":{var f=o.pointerId;oa.delete(f);break}case"gotpointercapture":case"lostpointercapture":{var m=o.pointerId;Co.delete(m);break}}}function rh(i,o,f,m,y,C){if(i===null||i.nativeEvent!==C){var w=EC(o,f,m,y,C);if(o!==null){var P=Dd(o);P!==null&&Hl(P)}return w}i.eventSystemFlags|=m;var D=i.targetContainers;return y!==null&&D.indexOf(y)===-1&&D.push(y),i}function RC(i,o,f,m,y){switch(o){case"focusin":{var C=y;return fs=rh(fs,i,o,f,m,C),!0}case"dragenter":{var w=y;return hs=rh(hs,i,o,f,m,w),!0}case"mouseover":{var P=y;return Dr=rh(Dr,i,o,f,m,P),!0}case"pointerover":{var D=y,F=D.pointerId;return oa.set(F,rh(oa.get(F)||null,i,o,f,m,D)),!0}case"gotpointercapture":{var B=y,ae=B.pointerId;return Co.set(ae,rh(Co.get(ae)||null,i,o,f,m,B)),!0}}return!1}function ky(i){var o=vh(i.target);if(o!==null){var f=aa(o);if(f!==null){var m=f.tag;if(m===N){var y=us(f);if(y!==null){i.blockedOn=y,Tm(i.priority,function(){Cy(f)});return}}else if(m===k){var C=f.stateNode;if($u(C)){i.blockedOn=Il(f);return}}}}i.blockedOn=null}function PC(i){for(var o=Sd(),f={blockedOn:null,target:i,priority:o},m=0;m<Ks.length&&by(o,Ks[m].priority);m++);Ks.splice(m,0,f),m===0&&ky(f)}function ih(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;o.length>0;){var f=o[0],m=ah(i.domEventName,i.eventSystemFlags,f,i.nativeEvent);if(m===null){var y=i.nativeEvent,C=new y.constructor(y.type,y);U_(C),y.target.dispatchEvent(C),Af()}else{var w=Dd(m);return w!==null&&Hl(w),i.blockedOn=m,!1}o.shift()}return!0}function DC(i,o,f){ih(i)&&f.delete(o)}function wm(){xm=!1,fs!==null&&ih(fs)&&(fs=null),hs!==null&&ih(hs)&&(hs=null),Dr!==null&&ih(Dr)&&(Dr=null),oa.forEach(DC),Co.forEach(DC)}function qu(i,o){i.blockedOn===o&&(i.blockedOn=null,xm||(xm=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,wm)))}function Zi(i){if(nh.length>0){qu(nh[0],i);for(var o=1;o<nh.length;o++){var f=nh[o];f.blockedOn===i&&(f.blockedOn=null)}}fs!==null&&qu(fs,i),hs!==null&&qu(hs,i),Dr!==null&&qu(Dr,i);var m=function(P){return qu(P,i)};oa.forEach(m),Co.forEach(m);for(var y=0;y<Ks.length;y++){var C=Ks[y];C.blockedOn===i&&(C.blockedOn=null)}for(;Ks.length>0;){var w=Ks[0];if(w.blockedOn!==null)break;ky(w),w.blockedOn===null&&Ks.shift()}}var Tn=r.ReactCurrentBatchConfig,ii=!0;function Yr(i){ii=!!i}function Oi(){return ii}function qa(i,o,f){var m=kd(o),y;switch(m){case Oa:y=Cd;break;case So:y=fi;break;case Di:default:y=Wu;break}return y.bind(null,o,f,i)}function Cd(i,o,f,m){var y=$a(),C=Tn.transition;Tn.transition=null;try{di(Oa),Wu(i,o,f,m)}finally{di(y),Tn.transition=C}}function fi(i,o,f,m){var y=$a(),C=Tn.transition;Tn.transition=null;try{di(So),Wu(i,o,f,m)}finally{di(y),Tn.transition=C}}function Wu(i,o,f,m){ii&&Gu(i,o,f,m)}function Gu(i,o,f,m){var y=ah(i,o,f,m);if(y===null){sE(i,o,m,Yu,f),Ho(i,m);return}if(RC(y,i,o,f,m)){m.stopPropagation();return}if(Ho(i,m),o&Pu&&Bo(i)){for(;y!==null;){var C=Dd(y);C!==null&&kt(C);var w=ah(i,o,f,m);if(w===null&&sE(i,o,m,Yu,f),w===y)break;y=w}y!==null&&m.stopPropagation();return}sE(i,o,m,null,f)}var Yu=null;function ah(i,o,f,m){Yu=null;var y=Ip(m),C=vh(y);if(C!==null){var w=aa(C);if(w===null)C=null;else{var P=w.tag;if(P===N){var D=us(w);if(D!==null)return D;C=null}else if(P===k){var F=w.stateNode;if($u(F))return Il(w);C=null}else w!==C&&(C=null)}}return Yu=C,null}function kd(i){switch(i){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 Oa;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 So;case"message":{var o=lC();switch(o){case Gs:return Oa;case Vf:return So;case Iu:case zf:return Di;case cd:return Cm;default:return Di}}default:return Di}}function Ma(i,o,f){return i.addEventListener(o,f,!1),f}function Ty(i,o,f){return i.addEventListener(o,f,!0),f}function Td(i,o,f,m){return i.addEventListener(o,f,{capture:!0,passive:m}),f}function Zs(i,o,f,m){return i.addEventListener(o,f,{passive:m}),f}var $l=null,oh=null,ko=null;function _m(i){return $l=i,oh=xd(),!0}function ql(){$l=null,oh=null,ko=null}function sh(){if(ko)return ko;var i,o=oh,f=o.length,m,y=xd(),C=y.length;for(i=0;i<f&&o[i]===y[i];i++);var w=f-i;for(m=1;m<=w&&o[f-m]===y[C-m];m++);var P=m>1?1-m:void 0;return ko=y.slice(i,P),ko}function xd(){return"value"in $l?$l.value:$l.textContent}function wd(i){var o,f=i.keyCode;return"charCode"in i?(o=i.charCode,o===0&&f===13&&(o=13)):o=f,o===10&&(o=13),o>=32||o===13?o:0}function Ku(){return!0}function lh(){return!1}function mr(i){function o(f,m,y,C,w){this._reactName=f,this._targetInst=y,this.type=m,this.nativeEvent=C,this.target=w,this.currentTarget=null;for(var P in i)if(i.hasOwnProperty(P)){var D=i[P];D?this[P]=D(C):this[P]=C[P]}var F=C.defaultPrevented!=null?C.defaultPrevented:C.returnValue===!1;return F?this.isDefaultPrevented=Ku:this.isDefaultPrevented=lh,this.isPropagationStopped=lh,this}return an(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Ku)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Ku)},persist:function(){},isPersistent:Ku}),o}var Wa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ga=mr(Wa),Ci=an({},Wa,{view:0,detail:0}),AC=mr(Ci),uh,ch,dh;function Wl(i){i!==dh&&(dh&&i.type==="mousemove"?(uh=i.screenX-dh.screenX,ch=i.screenY-dh.screenY):(uh=0,ch=0),dh=i)}var fh=an({},Ci,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ey,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(Wl(i),uh)},movementY:function(i){return"movementY"in i?i.movementY:ch}}),Em=mr(fh),Zu=an({},fh,{dataTransfer:0}),xy=mr(Zu),Qu=an({},Ci,{relatedTarget:0}),Rm=mr(Qu),OC=an({},Wa,{animationName:0,elapsedTime:0,pseudoElement:0}),wy=mr(OC),Pm=an({},Wa,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),q_=mr(Pm),W_=an({},Wa,{data:0}),_y=mr(W_),MC=_y,Xu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},G_={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"};function _d(i){if(i.key){var o=Xu[i.key]||i.key;if(o!=="Unidentified")return o}if(i.type==="keypress"){var f=wd(i);return f===13?"Enter":String.fromCharCode(f)}return i.type==="keydown"||i.type==="keyup"?G_[i.keyCode]||"Unidentified":""}var LC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vr(i){var o=this,f=o.nativeEvent;if(f.getModifierState)return f.getModifierState(i);var m=LC[i];return m?!!f[m]:!1}function Ey(i){return Vr}var NC=an({},Ci,{key:_d,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ey,charCode:function(i){return i.type==="keypress"?wd(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?wd(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),Y_=mr(NC),K_=an({},fh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ry=mr(K_),IC=an({},Ci,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ey}),Z_=mr(IC),To=an({},Wa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Py=mr(To),Q_=an({},fh,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Gl=mr(Q_),Dm=[9,13,27,32],Yl=229,Ed=_r&&"CompositionEvent"in window,Ju=null;_r&&"documentMode"in document&&(Ju=document.documentMode);var Dy=_r&&"TextEvent"in window&&!Ju,UC=_r&&(!Ed||Ju&&Ju>8&&Ju<=11),Am=32,FC=String.fromCharCode(Am);function jC(){nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),nn("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),nn("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),nn("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Ay=!1;function Om(i){return(i.ctrlKey||i.altKey||i.metaKey)&&!(i.ctrlKey&&i.altKey)}function Mm(i){switch(i){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function VC(i,o){return i==="keydown"&&o.keyCode===Yl}function Lm(i,o){switch(i){case"keyup":return Dm.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==Yl;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zC(i){var o=i.detail;return typeof o=="object"&&"data"in o?o.data:null}function Oy(i){return i.locale==="ko"}var Kl=!1;function Nm(i,o,f,m,y){var C,w;if(Ed?C=Mm(o):Kl?Lm(o,m)&&(C="onCompositionEnd"):VC(o,m)&&(C="onCompositionStart"),!C)return null;UC&&!Oy(m)&&(!Kl&&C==="onCompositionStart"?Kl=_m(y):C==="onCompositionEnd"&&Kl&&(w=sh()));var P=GC(f,C);if(P.length>0){var D=new _y(C,o,null,m,y);if(i.push({event:D,listeners:P}),w)D.data=w;else{var F=zC(m);F!==null&&(D.data=F)}}}function My(i,o){switch(i){case"compositionend":return zC(o);case"keypress":var f=o.which;return f!==Am?null:(Ay=!0,FC);case"textInput":var m=o.data;return m===FC&&Ay?null:m;default:return null}}function Im(i,o){if(Kl){if(i==="compositionend"||!Ed&&Lm(i,o)){var f=sh();return ql(),Kl=!1,f}return null}switch(i){case"paste":return null;case"keypress":if(!Om(o)){if(o.char&&o.char.length>1)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return UC&&!Oy(o)?null:o.data;default:return null}}function BC(i,o,f,m,y){var C;if(Dy?C=My(o,m):C=Im(o,m),!C)return null;var w=GC(f,"onBeforeInput");if(w.length>0){var P=new MC("onBeforeInput","beforeinput",null,m,y);i.push({event:P,listeners:w}),P.data=C}}function X_(i,o,f,m,y,C,w){Nm(i,o,f,m,y),BC(i,o,f,m,y)}var Um={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 HC(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!Um[i.type]:o==="textarea"}/**
|
|
116
116
|
* Checks if an event is supported in the current execution environment.
|
|
117
117
|
*
|
|
118
118
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -125,7 +125,7 @@ Check the render method of \``+i+"`.":""}var Eu=["value","defaultValue"];functio
|
|
|
125
125
|
* @internal
|
|
126
126
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
127
127
|
*/function hh(i){if(!_r)return!1;var o="on"+i,f=o in document;if(!f){var m=document.createElement("div");m.setAttribute(o,"return;"),f=typeof m[o]=="function"}return f}function J_(){nn("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function ph(i,o,f,m){$v(m);var y=GC(o,"onChange");if(y.length>0){var C=new Ga("onChange","change",null,f,m);i.push({event:C,listeners:y})}}var u=null,d=null;function g(i){var o=i.nodeName&&i.nodeName.toLowerCase();return o==="select"||o==="input"&&i.type==="file"}function S(i){var o=[];ph(o,d,i,Ip(i)),nC(x,o)}function x(i){vU(i,0)}function _(i){var o=Hm(i);if(El(o))return i}function L(i,o){if(i==="change")return o}var q=!1;_r&&(q=hh("input")&&(!document.documentMode||document.documentMode>9));function ee(i,o){u=i,d=o,u.attachEvent("onpropertychange",Ue)}function ye(){u&&(u.detachEvent("onpropertychange",Ue),u=null,d=null)}function Ue(i){i.propertyName==="value"&&_(d)&&S(i)}function He(i,o,f){i==="focusin"?(ye(),ee(o,f)):i==="focusout"&&ye()}function Ie(i,o){if(i==="selectionchange"||i==="keyup"||i==="keydown")return _(d)}function mt(i){var o=i.nodeName;return o&&o.toLowerCase()==="input"&&(i.type==="checkbox"||i.type==="radio")}function wt(i,o){if(i==="click")return _(o)}function Et(i,o){if(i==="input"||i==="change")return _(o)}function Kr(i){var o=i._wrapperState;!o||!o.controlled||i.type!=="number"||Tt(i,"number",i.value)}function ue(i,o,f,m,y,C,w){var P=f?Hm(f):window,D,F;if(g(P)?D=L:HC(P)?q?D=Et:(D=Ie,F=He):mt(P)&&(D=wt),D){var B=D(o,f);if(B){ph(i,B,m,y);return}}F&&F(o,P,f),o==="focusout"&&Kr(P)}function ie(){qn("onMouseEnter",["mouseout","mouseover"]),qn("onMouseLeave",["mouseout","mouseover"]),qn("onPointerEnter",["pointerout","pointerover"]),qn("onPointerLeave",["pointerout","pointerover"])}function he(i,o,f,m,y,C,w){var P=o==="mouseover"||o==="pointerover",D=o==="mouseout"||o==="pointerout";if(P&&!F_(m)){var F=m.relatedTarget||m.fromElement;if(F&&(vh(F)||Gy(F)))return}if(!(!D&&!P)){var B;if(y.window===y)B=y;else{var ae=y.ownerDocument;ae?B=ae.defaultView||ae.parentWindow:B=window}var re,ge;if(D){var be=m.relatedTarget||m.toElement;if(re=f,ge=be?vh(be):null,ge!==null){var we=aa(ge);(ge!==we||ge.tag!==E&&ge.tag!==R)&&(ge=null)}}else re=null,ge=f;if(re!==ge){var st=Em,Vt="onMouseLeave",Pt="onMouseEnter",Mn="mouse";(o==="pointerout"||o==="pointerover")&&(st=Ry,Vt="onPointerLeave",Pt="onPointerEnter",Mn="pointer");var xn=re==null?B:Hm(re),ce=ge==null?B:Hm(ge),_e=new st(Vt,Mn+"leave",re,m,y);_e.target=xn,_e.relatedTarget=ce;var de=null,$e=vh(y);if($e===f){var yt=new st(Pt,Mn+"enter",ge,m,y);yt.target=ce,yt.relatedTarget=xn,de=yt}sne(i,_e,de,re,ge)}}}function Ke(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var dt=typeof Object.is=="function"?Object.is:Ke;function Ut(i,o){if(dt(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var f=Object.keys(i),m=Object.keys(o);if(f.length!==m.length)return!1;for(var y=0;y<f.length;y++){var C=f[y];if(!vr.call(o,C)||!dt(i[C],o[C]))return!1}return!0}function zt(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function Qt(i){for(;i;){if(i.nextSibling)return i.nextSibling;i=i.parentNode}}function hi(i,o){for(var f=zt(i),m=0,y=0;f;){if(f.nodeType===Hs){if(y=m+f.textContent.length,m<=o&&y>=o)return{node:f,offset:o-m};m=y}f=zt(Qt(f))}}function zn(i){var o=i.ownerDocument,f=o&&o.defaultView||window,m=f.getSelection&&f.getSelection();if(!m||m.rangeCount===0)return null;var y=m.anchorNode,C=m.anchorOffset,w=m.focusNode,P=m.focusOffset;try{y.nodeType,w.nodeType}catch{return null}return Zl(i,y,C,w,P)}function Zl(i,o,f,m,y){var C=0,w=-1,P=-1,D=0,F=0,B=i,ae=null;e:for(;;){for(var re=null;B===o&&(f===0||B.nodeType===Hs)&&(w=C+f),B===m&&(y===0||B.nodeType===Hs)&&(P=C+y),B.nodeType===Hs&&(C+=B.nodeValue.length),(re=B.firstChild)!==null;)ae=B,B=re;for(;;){if(B===i)break e;if(ae===o&&++D===f&&(w=C),ae===m&&++F===y&&(P=C),(re=B.nextSibling)!==null)break;B=ae,ae=B.parentNode}B=re}return w===-1||P===-1?null:{start:w,end:P}}function eE(i,o){var f=i.ownerDocument||document,m=f&&f.defaultView||window;if(m.getSelection){var y=m.getSelection(),C=i.textContent.length,w=Math.min(o.start,C),P=o.end===void 0?w:Math.min(o.end,C);if(!y.extend&&w>P){var D=P;P=w,w=D}var F=hi(i,w),B=hi(i,P);if(F&&B){if(y.rangeCount===1&&y.anchorNode===F.node&&y.anchorOffset===F.offset&&y.focusNode===B.node&&y.focusOffset===B.offset)return;var ae=f.createRange();ae.setStart(F.node,F.offset),y.removeAllRanges(),w>P?(y.addRange(ae),y.extend(B.node,B.offset)):(ae.setEnd(B.node,B.offset),y.addRange(ae))}}}function aU(i){return i&&i.nodeType===Hs}function oU(i,o){return!i||!o?!1:i===o?!0:aU(i)?!1:aU(o)?oU(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1}function Hte(i){return i&&i.ownerDocument&&oU(i.ownerDocument.documentElement,i)}function $te(i){try{return typeof i.contentWindow.location.href=="string"}catch{return!1}}function sU(){for(var i=window,o=Vs();o instanceof i.HTMLIFrameElement;){if($te(o))i=o.contentWindow;else return o;o=Vs(i.document)}return o}function tE(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}function qte(){var i=sU();return{focusedElem:i,selectionRange:tE(i)?Gte(i):null}}function Wte(i){var o=sU(),f=i.focusedElem,m=i.selectionRange;if(o!==f&&Hte(f)){m!==null&&tE(f)&&Yte(f,m);for(var y=[],C=f;C=C.parentNode;)C.nodeType===xa&&y.push({element:C,left:C.scrollLeft,top:C.scrollTop});typeof f.focus=="function"&&f.focus();for(var w=0;w<y.length;w++){var P=y[w];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}}function Gte(i){var o;return"selectionStart"in i?o={start:i.selectionStart,end:i.selectionEnd}:o=zn(i),o||{start:0,end:0}}function Yte(i,o){var f=o.start,m=o.end;m===void 0&&(m=f),"selectionStart"in i?(i.selectionStart=f,i.selectionEnd=Math.min(m,i.value.length)):eE(i,o)}var Kte=_r&&"documentMode"in document&&document.documentMode<=11;function Zte(){nn("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Fm=null,nE=null,Ly=null,rE=!1;function Qte(i){if("selectionStart"in i&&tE(i))return{start:i.selectionStart,end:i.selectionEnd};var o=i.ownerDocument&&i.ownerDocument.defaultView||window,f=o.getSelection();return{anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}}function Xte(i){return i.window===i?i.document:i.nodeType===$s?i:i.ownerDocument}function lU(i,o,f){var m=Xte(f);if(!(rE||Fm==null||Fm!==Vs(m))){var y=Qte(Fm);if(!Ly||!Ut(Ly,y)){Ly=y;var C=GC(nE,"onSelect");if(C.length>0){var w=new Ga("onSelect","select",null,o,f);i.push({event:w,listeners:C}),w.target=Fm}}}}function Jte(i,o,f,m,y,C,w){var P=f?Hm(f):window;switch(o){case"focusin":(HC(P)||P.contentEditable==="true")&&(Fm=P,nE=f,Ly=null);break;case"focusout":Fm=null,nE=null,Ly=null;break;case"mousedown":rE=!0;break;case"contextmenu":case"mouseup":case"dragend":rE=!1,lU(i,m,y);break;case"selectionchange":if(Kte)break;case"keydown":case"keyup":lU(i,m,y)}}function $C(i,o){var f={};return f[i.toLowerCase()]=o.toLowerCase(),f["Webkit"+i]="webkit"+o,f["Moz"+i]="moz"+o,f}var jm={animationend:$C("Animation","AnimationEnd"),animationiteration:$C("Animation","AnimationIteration"),animationstart:$C("Animation","AnimationStart"),transitionend:$C("Transition","TransitionEnd")},iE={},uU={};_r&&(uU=document.createElement("div").style,"AnimationEvent"in window||(delete jm.animationend.animation,delete jm.animationiteration.animation,delete jm.animationstart.animation),"TransitionEvent"in window||delete jm.transitionend.transition);function qC(i){if(iE[i])return iE[i];if(!jm[i])return i;var o=jm[i];for(var f in o)if(o.hasOwnProperty(f)&&f in uU)return iE[i]=o[f];return i}var cU=qC("animationend"),dU=qC("animationiteration"),fU=qC("animationstart"),hU=qC("transitionend"),pU=new Map,mU=["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"];function Rd(i,o){pU.set(i,o),nn(o,[i])}function ene(){for(var i=0;i<mU.length;i++){var o=mU[i],f=o.toLowerCase(),m=o[0].toUpperCase()+o.slice(1);Rd(f,"on"+m)}Rd(cU,"onAnimationEnd"),Rd(dU,"onAnimationIteration"),Rd(fU,"onAnimationStart"),Rd("dblclick","onDoubleClick"),Rd("focusin","onFocus"),Rd("focusout","onBlur"),Rd(hU,"onTransitionEnd")}function tne(i,o,f,m,y,C,w){var P=pU.get(o);if(P!==void 0){var D=Ga,F=o;switch(o){case"keypress":if(wd(m)===0)return;case"keydown":case"keyup":D=Y_;break;case"focusin":F="focus",D=Rm;break;case"focusout":F="blur",D=Rm;break;case"beforeblur":case"afterblur":D=Rm;break;case"click":if(m.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":D=Em;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":D=xy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":D=Z_;break;case cU:case dU:case fU:D=wy;break;case hU:D=Py;break;case"scroll":D=AC;break;case"wheel":D=Gl;break;case"copy":case"cut":case"paste":D=q_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":D=Ry;break}var B=(C&Pu)!==0;{var ae=!B&&o==="scroll",re=ane(f,P,m.type,B,ae);if(re.length>0){var ge=new D(P,F,null,m,y);i.push({event:ge,listeners:re})}}}}ene(),ie(),J_(),Zte(),jC();function nne(i,o,f,m,y,C,w){tne(i,o,f,m,y,C);var P=(C&Hv)===0;P&&(he(i,o,f,m,y),ue(i,o,f,m,y),Jte(i,o,f,m,y),X_(i,o,f,m,y))}var Ny=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],aE=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Ny));function gU(i,o,f){var m=i.type||"unknown-event";i.currentTarget=f,If(m,o,void 0,i),i.currentTarget=null}function rne(i,o,f){var m;if(f)for(var y=o.length-1;y>=0;y--){var C=o[y],w=C.instance,P=C.currentTarget,D=C.listener;if(w!==m&&i.isPropagationStopped())return;gU(i,D,P),m=w}else for(var F=0;F<o.length;F++){var B=o[F],ae=B.instance,re=B.currentTarget,ge=B.listener;if(ae!==m&&i.isPropagationStopped())return;gU(i,ge,re),m=ae}}function vU(i,o){for(var f=(o&Pu)!==0,m=0;m<i.length;m++){var y=i[m],C=y.event,w=y.listeners;rne(C,w,f)}qs()}function ine(i,o,f,m,y){var C=Ip(f),w=[];nne(w,i,m,f,C,o),vU(w,o)}function Nr(i,o){aE.has(i)||c('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',i);var f=!1,m=Lre(o),y=lne(i);m.has(y)||(yU(o,i,ss,f),m.add(y))}function oE(i,o,f){aE.has(i)&&!o&&c('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',i);var m=0;o&&(m|=Pu),yU(f,i,m,o)}var WC="_reactListening"+Math.random().toString(36).slice(2);function Iy(i){if(!i[WC]){i[WC]=!0,bt.forEach(function(f){f!=="selectionchange"&&(aE.has(f)||oE(f,!1,i),oE(f,!0,i))});var o=i.nodeType===$s?i:i.ownerDocument;o!==null&&(o[WC]||(o[WC]=!0,oE("selectionchange",!1,o)))}}function yU(i,o,f,m,y){var C=qa(i,o,f),w=void 0;Nf&&(o==="touchstart"||o==="touchmove"||o==="wheel")&&(w=!0),i=i,m?w!==void 0?Td(i,o,C,w):Ty(i,o,C):w!==void 0?Zs(i,o,C,w):Ma(i,o,C)}function bU(i,o){return i===o||i.nodeType===ei&&i.parentNode===o}function sE(i,o,f,m,y){var C=m;if(!(o&Bv)&&!(o&ss)){var w=y;if(m!==null){var P=m;e:for(;;){if(P===null)return;var D=P.tag;if(D===k||D===T){var F=P.stateNode.containerInfo;if(bU(F,w))break;if(D===T)for(var B=P.return;B!==null;){var ae=B.tag;if(ae===k||ae===T){var re=B.stateNode.containerInfo;if(bU(re,w))return}B=B.return}for(;F!==null;){var ge=vh(F);if(ge===null)return;var be=ge.tag;if(be===E||be===R){P=C=ge;continue e}F=F.parentNode}}P=P.return}}}nC(function(){return ine(i,o,f,C)})}function Uy(i,o,f){return{instance:i,listener:o,currentTarget:f}}function ane(i,o,f,m,y,C){for(var w=o!==null?o+"Capture":null,P=m?w:o,D=[],F=i,B=null;F!==null;){var ae=F,re=ae.stateNode,ge=ae.tag;if(ge===E&&re!==null&&(B=re,P!==null)){var be=Au(F,P);be!=null&&D.push(Uy(F,be,B))}if(y)break;F=F.return}return D}function GC(i,o){for(var f=o+"Capture",m=[],y=i;y!==null;){var C=y,w=C.stateNode,P=C.tag;if(P===E&&w!==null){var D=w,F=Au(y,f);F!=null&&m.unshift(Uy(y,F,D));var B=Au(y,o);B!=null&&m.push(Uy(y,B,D))}y=y.return}return m}function Vm(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==E);return i||null}function one(i,o){for(var f=i,m=o,y=0,C=f;C;C=Vm(C))y++;for(var w=0,P=m;P;P=Vm(P))w++;for(;y-w>0;)f=Vm(f),y--;for(;w-y>0;)m=Vm(m),w--;for(var D=y;D--;){if(f===m||m!==null&&f===m.alternate)return f;f=Vm(f),m=Vm(m)}return null}function SU(i,o,f,m,y){for(var C=o._reactName,w=[],P=f;P!==null&&P!==m;){var D=P,F=D.alternate,B=D.stateNode,ae=D.tag;if(F!==null&&F===m)break;if(ae===E&&B!==null){var re=B;if(y){var ge=Au(P,C);ge!=null&&w.unshift(Uy(P,ge,re))}else if(!y){var be=Au(P,C);be!=null&&w.push(Uy(P,be,re))}}P=P.return}w.length!==0&&i.push({event:o,listeners:w})}function sne(i,o,f,m,y){var C=m&&y?one(m,y):null;m!==null&&SU(i,o,m,C,!1),y!==null&&f!==null&&SU(i,f,y,C,!0)}function lne(i,o){return i+"__bubble"}var xo=!1,Fy="dangerouslySetInnerHTML",YC="suppressContentEditableWarning",Pd="suppressHydrationWarning",CU="autoFocus",mh="children",gh="style",KC="__html",lE,ZC,jy,kU,QC,TU,xU;lE={dialog:!0,webview:!0},ZC=function(i,o){ZS(i,o),rd(i,o),tC(i,o,{registrationNameDependencies:it,possibleRegistrationNames:xt})},TU=_r&&!document.documentMode,jy=function(i,o,f){if(!xo){var m=XC(f),y=XC(o);y!==m&&(xo=!0,c("Prop `%s` did not match. Server: %s Client: %s",i,JSON.stringify(y),JSON.stringify(m)))}},kU=function(i){if(!xo){xo=!0;var o=[];i.forEach(function(f){o.push(f)}),c("Extra attributes from the server: %s",o)}},QC=function(i,o){o===!1?c("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",i,i,i):c("Expected `%s` listener to be a function, instead got a value of `%s` type.",i,typeof o)},xU=function(i,o){var f=i.namespaceURI===Io?i.ownerDocument.createElement(i.tagName):i.ownerDocument.createElementNS(i.namespaceURI,i.tagName);return f.innerHTML=o,f.innerHTML};var une=/\r\n?/g,cne=/\u0000|\uFFFD/g;function XC(i){je(i);var o=typeof i=="string"?i:""+i;return o.replace(une,`
|
|
128
|
-
`).replace(cne,"")}function JC(i,o,f,m){var y=XC(o),C=XC(i);if(C!==y&&(m&&(xo||(xo=!0,c('Text content did not match. Server: "%s" Client: "%s"',C,y))),f&&ve))throw new Error("Text content does not match server-rendered HTML.")}function wU(i){return i.nodeType===$s?i:i.ownerDocument}function dne(){}function ek(i){i.onclick=dne}function fne(i,o,f,m,y){for(var C in m)if(m.hasOwnProperty(C)){var w=m[C];if(C===gh)w&&Object.freeze(w),qS(o,w);else if(C===Fy){var P=w?w[KC]:void 0;P!=null&&MS(o,P)}else if(C===mh)if(typeof w=="string"){var D=i!=="textarea"||w!=="";D&&Pl(o,w)}else typeof w=="number"&&Pl(o,""+w);else C===YC||C===Pd||C===CU||(it.hasOwnProperty(C)?w!=null&&(typeof w!="function"&&QC(C,w),C==="onScroll"&&Nr("scroll",o)):w!=null&&It(o,C,w,y))}}function hne(i,o,f,m){for(var y=0;y<o.length;y+=2){var C=o[y],w=o[y+1];C===gh?qS(i,w):C===Fy?MS(i,w):C===mh?Pl(i,w):It(i,C,w,m)}}function pne(i,o,f,m){var y,C=wU(f),w,P=m;if(P===Io&&(P=Iv(i)),P===Io){if(y=Dl(i,o),!y&&i!==i.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",i),i==="script"){var D=C.createElement("div");D.innerHTML="<script><\/script>";var F=D.firstChild;w=D.removeChild(F)}else if(typeof o.is=="string")w=C.createElement(i,{is:o.is});else if(w=C.createElement(i),i==="select"){var B=w;o.multiple?B.multiple=!0:o.size&&(B.size=o.size)}}else w=C.createElementNS(P,i);return P===Io&&!y&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!vr.call(lE,i)&&(lE[i]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",i)),w}function mne(i,o){return wU(o).createTextNode(i)}function gne(i,o,f,m){var y=Dl(o,f);ZC(o,f);var C;switch(o){case"dialog":Nr("cancel",i),Nr("close",i),C=f;break;case"iframe":case"object":case"embed":Nr("load",i),C=f;break;case"video":case"audio":for(var w=0;w<Ny.length;w++)Nr(Ny[w],i);C=f;break;case"source":Nr("error",i),C=f;break;case"img":case"image":case"link":Nr("error",i),Nr("load",i),C=f;break;case"details":Nr("toggle",i),C=f;break;case"input":Zc(i,f),C=go(i,f),Nr("invalid",i);break;case"option":Kn(i,f),C=f;break;case"select":Tf(i,f),C=Ru(i,f),Nr("invalid",i);break;case"textarea":DS(i,f),C=Dp(i,f),Nr("invalid",i);break;default:C=f}switch(Lp(o,C),fne(o,i,m,C,y),o){case"input":mo(i),pe(i,f,!1);break;case"textarea":mo(i),OS(i);break;case"option":lr(i,f);break;case"select":Mv(i,f);break;default:typeof C.onClick=="function"&&ek(i);break}}function vne(i,o,f,m,y){ZC(o,m);var C=null,w,P;switch(o){case"input":w=go(i,f),P=go(i,m),C=[];break;case"select":w=Ru(i,f),P=Ru(i,m),C=[];break;case"textarea":w=Dp(i,f),P=Dp(i,m),C=[];break;default:w=f,P=m,typeof w.onClick!="function"&&typeof P.onClick=="function"&&ek(i);break}Lp(o,P);var D,F,B=null;for(D in w)if(!(P.hasOwnProperty(D)||!w.hasOwnProperty(D)||w[D]==null))if(D===gh){var ae=w[D];for(F in ae)ae.hasOwnProperty(F)&&(B||(B={}),B[F]="")}else D===Fy||D===mh||D===YC||D===Pd||D===CU||(it.hasOwnProperty(D)?C||(C=[]):(C=C||[]).push(D,null));for(D in P){var re=P[D],ge=w!=null?w[D]:void 0;if(!(!P.hasOwnProperty(D)||re===ge||re==null&&ge==null))if(D===gh)if(re&&Object.freeze(re),ge){for(F in ge)ge.hasOwnProperty(F)&&(!re||!re.hasOwnProperty(F))&&(B||(B={}),B[F]="");for(F in re)re.hasOwnProperty(F)&&ge[F]!==re[F]&&(B||(B={}),B[F]=re[F])}else B||(C||(C=[]),C.push(D,B)),B=re;else if(D===Fy){var be=re?re[KC]:void 0,we=ge?ge[KC]:void 0;be!=null&&we!==be&&(C=C||[]).push(D,be)}else D===mh?(typeof re=="string"||typeof re=="number")&&(C=C||[]).push(D,""+re):D===YC||D===Pd||(it.hasOwnProperty(D)?(re!=null&&(typeof re!="function"&&QC(D,re),D==="onScroll"&&Nr("scroll",i)),!C&&ge!==re&&(C=[])):(C=C||[]).push(D,re))}return B&&(Uo(B,P[gh]),(C=C||[]).push(gh,B)),C}function yne(i,o,f,m,y){f==="input"&&y.type==="radio"&&y.name!=null&&O(i,y);var C=Dl(f,m),w=Dl(f,y);switch(hne(i,o,C,w),f){case"input":K(i,y);break;case"textarea":AS(i,y);break;case"select":Pp(i,y);break}}function bne(i){{var o=i.toLowerCase();return ed.hasOwnProperty(o)&&ed[o]||null}}function Sne(i,o,f,m,y,C,w){var P,D;switch(P=Dl(o,f),ZC(o,f),o){case"dialog":Nr("cancel",i),Nr("close",i);break;case"iframe":case"object":case"embed":Nr("load",i);break;case"video":case"audio":for(var F=0;F<Ny.length;F++)Nr(Ny[F],i);break;case"source":Nr("error",i);break;case"img":case"image":case"link":Nr("error",i),Nr("load",i);break;case"details":Nr("toggle",i);break;case"input":Zc(i,f),Nr("invalid",i);break;case"option":Kn(i,f);break;case"select":Tf(i,f),Nr("invalid",i);break;case"textarea":DS(i,f),Nr("invalid",i);break}Lp(o,f);{D=new Set;for(var B=i.attributes,ae=0;ae<B.length;ae++){var re=B[ae].name.toLowerCase();switch(re){case"value":break;case"checked":break;case"selected":break;default:D.add(B[ae].name)}}}var ge=null;for(var be in f)if(f.hasOwnProperty(be)){var we=f[be];if(be===mh)typeof we=="string"?i.textContent!==we&&(f[Pd]!==!0&&JC(i.textContent,we,C,w),ge=[mh,we]):typeof we=="number"&&i.textContent!==""+we&&(f[Pd]!==!0&&JC(i.textContent,we,C,w),ge=[mh,""+we]);else if(it.hasOwnProperty(be))we!=null&&(typeof we!="function"&&QC(be,we),be==="onScroll"&&Nr("scroll",i));else if(w&&typeof P=="boolean"){var st=void 0,Vt=Jn(be);if(f[Pd]!==!0){if(!(be===YC||be===Pd||be==="value"||be==="checked"||be==="selected")){if(be===Fy){var Pt=i.innerHTML,Mn=we?we[KC]:void 0;if(Mn!=null){var xn=xU(i,Mn);xn!==Pt&&jy(be,Pt,xn)}}else if(be===gh){if(D.delete(be),TU){var ce=N_(we);st=i.getAttribute("style"),ce!==st&&jy(be,st,ce)}}else if(P&&!Ce)D.delete(be.toLowerCase()),st=qe(i,be,we),we!==st&&jy(be,st,we);else if(!cn(be,Vt,P)&&!Wn(be,we,Vt,P)){var _e=!1;if(Vt!==null)D.delete(Vt.attributeName),st=ot(i,be,we,Vt);else{var de=m;if(de===Io&&(de=Iv(o)),de===Io)D.delete(be.toLowerCase());else{var $e=bne(be);$e!==null&&$e!==be&&(_e=!0,D.delete($e)),D.delete(be)}st=qe(i,be,we)}var yt=Ce;!yt&&we!==st&&!_e&&jy(be,st,we)}}}}}switch(w&&D.size>0&&f[Pd]!==!0&&kU(D),o){case"input":mo(i),pe(i,f,!0);break;case"textarea":mo(i),OS(i);break;case"select":case"option":break;default:typeof f.onClick=="function"&&ek(i);break}return ge}function Cne(i,o,f){var m=i.nodeValue!==o;return m}function uE(i,o){{if(xo)return;xo=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",o.nodeName.toLowerCase(),i.nodeName.toLowerCase())}}function cE(i,o){{if(xo)return;xo=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',o.nodeValue,i.nodeName.toLowerCase())}}function dE(i,o,f){{if(xo)return;xo=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",o,i.nodeName.toLowerCase())}}function fE(i,o){{if(o===""||xo)return;xo=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',o,i.nodeName.toLowerCase())}}function kne(i,o,f){switch(o){case"input":Te(i,f);return;case"textarea":R_(i,f);return;case"select":Lv(i,f);return}}var Vy=function(){},zy=function(){};{var Tne=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],_U=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],xne=_U.concat(["button"]),wne=["dd","dt","li","option","optgroup","p","rp","rt"],EU={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};zy=function(i,o){var f=an({},i||EU),m={tag:o};return _U.indexOf(o)!==-1&&(f.aTagInScope=null,f.buttonTagInScope=null,f.nobrTagInScope=null),xne.indexOf(o)!==-1&&(f.pTagInButtonScope=null),Tne.indexOf(o)!==-1&&o!=="address"&&o!=="div"&&o!=="p"&&(f.listItemTagAutoclosing=null,f.dlItemTagAutoclosing=null),f.current=m,o==="form"&&(f.formTag=m),o==="a"&&(f.aTagInScope=m),o==="button"&&(f.buttonTagInScope=m),o==="nobr"&&(f.nobrTagInScope=m),o==="p"&&(f.pTagInButtonScope=m),o==="li"&&(f.listItemTagAutoclosing=m),(o==="dd"||o==="dt")&&(f.dlItemTagAutoclosing=m),f};var _ne=function(i,o){switch(o){case"select":return i==="option"||i==="optgroup"||i==="#text";case"optgroup":return i==="option"||i==="#text";case"option":return i==="#text";case"tr":return i==="th"||i==="td"||i==="style"||i==="script"||i==="template";case"tbody":case"thead":case"tfoot":return i==="tr"||i==="style"||i==="script"||i==="template";case"colgroup":return i==="col"||i==="template";case"table":return i==="caption"||i==="colgroup"||i==="tbody"||i==="tfoot"||i==="thead"||i==="style"||i==="script"||i==="template";case"head":return i==="base"||i==="basefont"||i==="bgsound"||i==="link"||i==="meta"||i==="title"||i==="noscript"||i==="noframes"||i==="style"||i==="script"||i==="template";case"html":return i==="head"||i==="body"||i==="frameset";case"frameset":return i==="frame";case"#document":return i==="html"}switch(i){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o!=="h1"&&o!=="h2"&&o!=="h3"&&o!=="h4"&&o!=="h5"&&o!=="h6";case"rp":case"rt":return wne.indexOf(o)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return o==null}return!0},Ene=function(i,o){switch(i){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o.pTagInButtonScope;case"form":return o.formTag||o.pTagInButtonScope;case"li":return o.listItemTagAutoclosing;case"dd":case"dt":return o.dlItemTagAutoclosing;case"button":return o.buttonTagInScope;case"a":return o.aTagInScope;case"nobr":return o.nobrTagInScope}return null},RU={};Vy=function(i,o,f){f=f||EU;var m=f.current,y=m&&m.tag;o!=null&&(i!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),i="#text");var C=_ne(i,y)?null:m,w=C?null:Ene(i,f),P=C||w;if(P){var D=P.tag,F=!!C+"|"+i+"|"+D;if(!RU[F]){RU[F]=!0;var B=i,ae="";if(i==="#text"?/\S/.test(o)?B="Text nodes":(B="Whitespace text nodes",ae=" Make sure you don't have any extra whitespace between tags on each line of your source code."):B="<"+i+">",C){var re="";D==="table"&&i==="tr"&&(re+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",B,D,ae,re)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",B,D)}}}}var tk="suppressHydrationWarning",nk="$",rk="/$",By="$?",Hy="$!",Rne="style",hE=null,pE=null;function Pne(i){var o,f,m=i.nodeType;switch(m){case $s:case xf:{o=m===$s?"#document":"#fragment";var y=i.documentElement;f=y?y.namespaceURI:Ap(null,"");break}default:{var C=m===ei?i.parentNode:i,w=C.namespaceURI||null;o=C.tagName,f=Ap(w,o);break}}{var P=o.toLowerCase(),D=zy(null,P);return{namespace:f,ancestorInfo:D}}}function Dne(i,o,f){{var m=i,y=Ap(m.namespace,o),C=zy(m.ancestorInfo,o);return{namespace:y,ancestorInfo:C}}}function Jse(i){return i}function Ane(i){hE=Oi(),pE=qte();var o=null;return Yr(!1),o}function One(i){Wte(pE),Yr(hE),hE=null,pE=null}function Mne(i,o,f,m,y){var C;{var w=m;if(Vy(i,null,w.ancestorInfo),typeof o.children=="string"||typeof o.children=="number"){var P=""+o.children,D=zy(w.ancestorInfo,i);Vy(null,P,D)}C=w.namespace}var F=pne(i,o,f,C);return Wy(y,F),kE(F,o),F}function Lne(i,o){i.appendChild(o)}function Nne(i,o,f,m,y){switch(gne(i,o,f,m),o){case"button":case"input":case"select":case"textarea":return!!f.autoFocus;case"img":return!0;default:return!1}}function Ine(i,o,f,m,y,C){{var w=C;if(typeof m.children!=typeof f.children&&(typeof m.children=="string"||typeof m.children=="number")){var P=""+m.children,D=zy(w.ancestorInfo,o);Vy(null,P,D)}}return vne(i,o,f,m)}function mE(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}function Une(i,o,f,m){{var y=f;Vy(null,i,y.ancestorInfo)}var C=mne(i,o);return Wy(m,C),C}function Fne(){var i=window.event;return i===void 0?Di:kd(i.type)}var gE=typeof setTimeout=="function"?setTimeout:void 0,jne=typeof clearTimeout=="function"?clearTimeout:void 0,vE=-1,PU=typeof Promise=="function"?Promise:void 0,Vne=typeof queueMicrotask=="function"?queueMicrotask:typeof PU<"u"?function(i){return PU.resolve(null).then(i).catch(zne)}:gE;function zne(i){setTimeout(function(){throw i})}function Bne(i,o,f,m){switch(o){case"button":case"input":case"select":case"textarea":f.autoFocus&&i.focus();return;case"img":{f.src&&(i.src=f.src);return}}}function Hne(i,o,f,m,y,C){yne(i,o,f,m,y),kE(i,y)}function DU(i){Pl(i,"")}function $ne(i,o,f){i.nodeValue=f}function qne(i,o){i.appendChild(o)}function Wne(i,o){var f;i.nodeType===ei?(f=i.parentNode,f.insertBefore(o,i)):(f=i,f.appendChild(o));var m=i._reactRootContainer;m==null&&f.onclick===null&&ek(f)}function Gne(i,o,f){i.insertBefore(o,f)}function Yne(i,o,f){i.nodeType===ei?i.parentNode.insertBefore(o,f):i.insertBefore(o,f)}function Kne(i,o){i.removeChild(o)}function Zne(i,o){i.nodeType===ei?i.parentNode.removeChild(o):i.removeChild(o)}function yE(i,o){var f=o,m=0;do{var y=f.nextSibling;if(i.removeChild(f),y&&y.nodeType===ei){var C=y.data;if(C===rk)if(m===0){i.removeChild(y),Zi(o);return}else m--;else(C===nk||C===By||C===Hy)&&m++}f=y}while(f);Zi(o)}function Qne(i,o){i.nodeType===ei?yE(i.parentNode,o):i.nodeType===xa&&yE(i,o),Zi(i)}function Xne(i){i=i;var o=i.style;typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"}function Jne(i){i.nodeValue=""}function ere(i,o){i=i;var f=o[Rne],m=f!=null&&f.hasOwnProperty("display")?f.display:null;i.style.display=Mp("display",m)}function tre(i,o){i.nodeValue=o}function nre(i){i.nodeType===xa?i.textContent="":i.nodeType===$s&&i.documentElement&&i.removeChild(i.documentElement)}function rre(i,o,f){return i.nodeType!==xa||o.toLowerCase()!==i.nodeName.toLowerCase()?null:i}function ire(i,o){return o===""||i.nodeType!==Hs?null:i}function are(i){return i.nodeType!==ei?null:i}function AU(i){return i.data===By}function bE(i){return i.data===Hy}function ore(i){var o=i.nextSibling&&i.nextSibling.dataset,f,m,y;return o&&(f=o.dgst,m=o.msg,y=o.stck),{message:m,digest:f,stack:y}}function sre(i,o){i._reactRetry=o}function ik(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===xa||o===Hs)break;if(o===ei){var f=i.data;if(f===nk||f===Hy||f===By)break;if(f===rk)return null}}return i}function $y(i){return ik(i.nextSibling)}function lre(i){return ik(i.firstChild)}function ure(i){return ik(i.firstChild)}function cre(i){return ik(i.nextSibling)}function dre(i,o,f,m,y,C,w){Wy(C,i),kE(i,f);var P;{var D=y;P=D.namespace}var F=(C.mode&yn)!==Mt;return Sne(i,o,f,P,m,F,w)}function fre(i,o,f,m){return Wy(f,i),f.mode&yn,Cne(i,o)}function hre(i,o){Wy(o,i)}function pre(i){for(var o=i.nextSibling,f=0;o;){if(o.nodeType===ei){var m=o.data;if(m===rk){if(f===0)return $y(o);f--}else(m===nk||m===Hy||m===By)&&f++}o=o.nextSibling}return null}function OU(i){for(var o=i.previousSibling,f=0;o;){if(o.nodeType===ei){var m=o.data;if(m===nk||m===Hy||m===By){if(f===0)return o;f--}else m===rk&&f++}o=o.previousSibling}return null}function mre(i){Zi(i)}function gre(i){Zi(i)}function vre(i){return i!=="head"&&i!=="body"}function yre(i,o,f,m){var y=!0;JC(o.nodeValue,f,m,y)}function bre(i,o,f,m,y,C){if(o[tk]!==!0){var w=!0;JC(m.nodeValue,y,C,w)}}function Sre(i,o){o.nodeType===xa?uE(i,o):o.nodeType===ei||cE(i,o)}function Cre(i,o){{var f=i.parentNode;f!==null&&(o.nodeType===xa?uE(f,o):o.nodeType===ei||cE(f,o))}}function kre(i,o,f,m,y){(y||o[tk]!==!0)&&(m.nodeType===xa?uE(f,m):m.nodeType===ei||cE(f,m))}function Tre(i,o,f){dE(i,o)}function xre(i,o){fE(i,o)}function wre(i,o,f){{var m=i.parentNode;m!==null&&dE(m,o)}}function _re(i,o){{var f=i.parentNode;f!==null&&fE(f,o)}}function Ere(i,o,f,m,y,C){(C||o[tk]!==!0)&&dE(f,m)}function Rre(i,o,f,m,y){(y||o[tk]!==!0)&&fE(f,m)}function Pre(i){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",i.nodeName.toLowerCase())}function Dre(i){Iy(i)}var zm=Math.random().toString(36).slice(2),Bm="__reactFiber$"+zm,SE="__reactProps$"+zm,qy="__reactContainer$"+zm,CE="__reactEvents$"+zm,Are="__reactListeners$"+zm,Ore="__reactHandles$"+zm;function Mre(i){delete i[Bm],delete i[SE],delete i[CE],delete i[Are],delete i[Ore]}function Wy(i,o){o[Bm]=i}function ak(i,o){o[qy]=i}function MU(i){i[qy]=null}function Gy(i){return!!i[qy]}function vh(i){var o=i[Bm];if(o)return o;for(var f=i.parentNode;f;){if(o=f[qy]||f[Bm],o){var m=o.alternate;if(o.child!==null||m!==null&&m.child!==null)for(var y=OU(i);y!==null;){var C=y[Bm];if(C)return C;y=OU(y)}return o}i=f,f=i.parentNode}return null}function Dd(i){var o=i[Bm]||i[qy];return o&&(o.tag===E||o.tag===R||o.tag===N||o.tag===k)?o:null}function Hm(i){if(i.tag===E||i.tag===R)return i.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function ok(i){return i[SE]||null}function kE(i,o){i[SE]=o}function Lre(i){var o=i[CE];return o===void 0&&(o=i[CE]=new Set),o}var LU={},NU=r.ReactDebugCurrentFrame;function sk(i){if(i){var o=i._owner,f=yf(i.type,i._source,o?o.type:null);NU.setExtraStackFrame(f)}else NU.setExtraStackFrame(null)}function Qs(i,o,f,m,y){{var C=Function.call.bind(vr);for(var w in i)if(C(i,w)){var P=void 0;try{if(typeof i[w]!="function"){var D=Error((m||"React class")+": "+f+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}P=i[w](o,w,m,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(F){P=F}P&&!(P instanceof Error)&&(sk(y),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",f,w,typeof P),sk(null)),P instanceof Error&&!(P.message in LU)&&(LU[P.message]=!0,sk(y),c("Failed %s type: %s",f,P.message),sk(null))}}}var TE=[],lk;lk=[];var ec=-1;function Ad(i){return{current:i}}function La(i,o){if(ec<0){c("Unexpected pop.");return}o!==lk[ec]&&c("Unexpected Fiber popped."),i.current=TE[ec],TE[ec]=null,lk[ec]=null,ec--}function Na(i,o,f){ec++,TE[ec]=i.current,lk[ec]=f,i.current=o}var xE;xE={};var $o={};Object.freeze($o);var tc=Ad($o),Ql=Ad(!1),wE=$o;function $m(i,o,f){return f&&Xl(o)?wE:tc.current}function IU(i,o,f){{var m=i.stateNode;m.__reactInternalMemoizedUnmaskedChildContext=o,m.__reactInternalMemoizedMaskedChildContext=f}}function qm(i,o){{var f=i.type,m=f.contextTypes;if(!m)return $o;var y=i.stateNode;if(y&&y.__reactInternalMemoizedUnmaskedChildContext===o)return y.__reactInternalMemoizedMaskedChildContext;var C={};for(var w in m)C[w]=o[w];{var P=Zt(i)||"Unknown";Qs(m,C,"context",P)}return y&&IU(i,o,C),C}}function uk(){return Ql.current}function Xl(i){{var o=i.childContextTypes;return o!=null}}function ck(i){La(Ql,i),La(tc,i)}function _E(i){La(Ql,i),La(tc,i)}function UU(i,o,f){{if(tc.current!==$o)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Na(tc,o,i),Na(Ql,f,i)}}function FU(i,o,f){{var m=i.stateNode,y=o.childContextTypes;if(typeof m.getChildContext!="function"){{var C=Zt(i)||"Unknown";xE[C]||(xE[C]=!0,c("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",C,C))}return f}var w=m.getChildContext();for(var P in w)if(!(P in y))throw new Error((Zt(i)||"Unknown")+'.getChildContext(): key "'+P+'" is not defined in childContextTypes.');{var D=Zt(i)||"Unknown";Qs(y,w,"child context",D)}return an({},f,w)}}function dk(i){{var o=i.stateNode,f=o&&o.__reactInternalMemoizedMergedChildContext||$o;return wE=tc.current,Na(tc,f,i),Na(Ql,Ql.current,i),!0}}function jU(i,o,f){{var m=i.stateNode;if(!m)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(f){var y=FU(i,o,wE);m.__reactInternalMemoizedMergedChildContext=y,La(Ql,i),La(tc,i),Na(tc,y,i),Na(Ql,f,i)}else La(Ql,i),Na(Ql,f,i)}}function Nre(i){{if(!oC(i)||i.tag!==v)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var o=i;do{switch(o.tag){case k:return o.stateNode.context;case v:{var f=o.type;if(Xl(f))return o.stateNode.__reactInternalMemoizedMergedChildContext;break}}o=o.return}while(o!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Od=0,fk=1,nc=null,EE=!1,RE=!1;function VU(i){nc===null?nc=[i]:nc.push(i)}function Ire(i){EE=!0,VU(i)}function zU(){EE&&Md()}function Md(){if(!RE&&nc!==null){RE=!0;var i=0,o=$a();try{var f=!0,m=nc;for(di(Oa);i<m.length;i++){var y=m[i];do y=y(f);while(y!==null)}nc=null,EE=!1}catch(C){throw nc!==null&&(nc=nc.slice(i+1)),Qv(Gs,Md),C}finally{di(o),RE=!1}}return null}var Wm=[],Gm=0,hk=null,pk=0,ps=[],ms=0,yh=null,rc=1,ic="";function Ure(i){return Sh(),(i.flags&Ff)!==Ot}function Fre(i){return Sh(),pk}function jre(){var i=ic,o=rc,f=o&~Vre(o);return f.toString(32)+i}function bh(i,o){Sh(),Wm[Gm++]=pk,Wm[Gm++]=hk,hk=i,pk=o}function BU(i,o,f){Sh(),ps[ms++]=rc,ps[ms++]=ic,ps[ms++]=yh,yh=i;var m=rc,y=ic,C=mk(m)-1,w=m&~(1<<C),P=f+1,D=mk(o)+C;if(D>30){var F=C-C%5,B=(1<<F)-1,ae=(w&B).toString(32),re=w>>F,ge=C-F,be=mk(o)+ge,we=P<<ge,st=we|re,Vt=ae+y;rc=1<<be|st,ic=Vt}else{var Pt=P<<C,Mn=Pt|w,xn=y;rc=1<<D|Mn,ic=xn}}function PE(i){Sh();var o=i.return;if(o!==null){var f=1,m=0;bh(i,f),BU(i,f,m)}}function mk(i){return 32-ci(i)}function Vre(i){return 1<<mk(i)-1}function DE(i){for(;i===hk;)hk=Wm[--Gm],Wm[Gm]=null,pk=Wm[--Gm],Wm[Gm]=null;for(;i===yh;)yh=ps[--ms],ps[ms]=null,ic=ps[--ms],ps[ms]=null,rc=ps[--ms],ps[ms]=null}function zre(){return Sh(),yh!==null?{id:rc,overflow:ic}:null}function Bre(i,o){Sh(),ps[ms++]=rc,ps[ms++]=ic,ps[ms++]=yh,rc=o.id,ic=o.overflow,yh=i}function Sh(){la()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var sa=null,gs=null,Xs=!1,Ch=!1,Ld=null;function Hre(){Xs&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function HU(){Ch=!0}function $re(){return Ch}function qre(i){var o=i.stateNode.containerInfo;return gs=ure(o),sa=i,Xs=!0,Ld=null,Ch=!1,!0}function Wre(i,o,f){return gs=cre(o),sa=i,Xs=!0,Ld=null,Ch=!1,f!==null&&Bre(i,f),!0}function $U(i,o){switch(i.tag){case k:{Sre(i.stateNode.containerInfo,o);break}case E:{var f=(i.mode&yn)!==Mt;kre(i.type,i.memoizedProps,i.stateNode,o,f);break}case N:{var m=i.memoizedState;m.dehydrated!==null&&Cre(m.dehydrated,o);break}}}function qU(i,o){$U(i,o);var f=Zoe();f.stateNode=o,f.return=i;var m=i.deletions;m===null?(i.deletions=[f],i.flags|=wa):m.push(f)}function AE(i,o){{if(Ch)return;switch(i.tag){case k:{var f=i.stateNode.containerInfo;switch(o.tag){case E:var m=o.type;o.pendingProps,Tre(f,m);break;case R:var y=o.pendingProps;xre(f,y);break}break}case E:{var C=i.type,w=i.memoizedProps,P=i.stateNode;switch(o.tag){case E:{var D=o.type,F=o.pendingProps,B=(i.mode&yn)!==Mt;Ere(C,w,P,D,F,B);break}case R:{var ae=o.pendingProps,re=(i.mode&yn)!==Mt;Rre(C,w,P,ae,re);break}}break}case N:{var ge=i.memoizedState,be=ge.dehydrated;if(be!==null)switch(o.tag){case E:var we=o.type;o.pendingProps,wre(be,we);break;case R:var st=o.pendingProps;_re(be,st);break}break}default:return}}}function WU(i,o){o.flags=o.flags&~jr|Fr,AE(i,o)}function GU(i,o){switch(i.tag){case E:{var f=i.type;i.pendingProps;var m=rre(o,f);return m!==null?(i.stateNode=m,sa=i,gs=lre(m),!0):!1}case R:{var y=i.pendingProps,C=ire(o,y);return C!==null?(i.stateNode=C,sa=i,gs=null,!0):!1}case N:{var w=are(o);if(w!==null){var P={dehydrated:w,treeContext:zre(),retryLane:Pa};i.memoizedState=P;var D=Qoe(w);return D.return=i,i.child=D,sa=i,gs=null,!0}return!1}default:return!1}}function OE(i){return(i.mode&yn)!==Mt&&(i.flags&gn)===Ot}function ME(i){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function LE(i){if(Xs){var o=gs;if(!o){OE(i)&&(AE(sa,i),ME()),WU(sa,i),Xs=!1,sa=i;return}var f=o;if(!GU(i,o)){OE(i)&&(AE(sa,i),ME()),o=$y(f);var m=sa;if(!o||!GU(i,o)){WU(sa,i),Xs=!1,sa=i;return}qU(m,f)}}}function Gre(i,o,f){var m=i.stateNode,y=!Ch,C=dre(m,i.type,i.memoizedProps,o,f,i,y);return i.updateQueue=C,C!==null}function Yre(i){var o=i.stateNode,f=i.memoizedProps,m=fre(o,f,i);if(m){var y=sa;if(y!==null)switch(y.tag){case k:{var C=y.stateNode.containerInfo,w=(y.mode&yn)!==Mt;yre(C,o,f,w);break}case E:{var P=y.type,D=y.memoizedProps,F=y.stateNode,B=(y.mode&yn)!==Mt;bre(P,D,F,o,f,B);break}}}return m}function Kre(i){var o=i.memoizedState,f=o!==null?o.dehydrated:null;if(!f)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");hre(f,i)}function Zre(i){var o=i.memoizedState,f=o!==null?o.dehydrated:null;if(!f)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return pre(f)}function YU(i){for(var o=i.return;o!==null&&o.tag!==E&&o.tag!==k&&o.tag!==N;)o=o.return;sa=o}function gk(i){if(i!==sa)return!1;if(!Xs)return YU(i),Xs=!0,!1;if(i.tag!==k&&(i.tag!==E||vre(i.type)&&!mE(i.type,i.memoizedProps))){var o=gs;if(o)if(OE(i))KU(i),ME();else for(;o;)qU(i,o),o=$y(o)}return YU(i),i.tag===N?gs=Zre(i):gs=sa?$y(i.stateNode):null,!0}function Qre(){return Xs&&gs!==null}function KU(i){for(var o=gs;o;)$U(i,o),o=$y(o)}function Ym(){sa=null,gs=null,Xs=!1,Ch=!1}function ZU(){Ld!==null&&(H9(Ld),Ld=null)}function la(){return Xs}function NE(i){Ld===null?Ld=[i]:Ld.push(i)}var Xre=r.ReactCurrentBatchConfig,Jre=null;function eie(){return Xre.transition}var Js={recordUnsafeLifecycleWarnings:function(i,o){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(i,o){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var tie=function(i){for(var o=null,f=i;f!==null;)f.mode&on&&(o=f),f=f.return;return o},kh=function(i){var o=[];return i.forEach(function(f){o.push(f)}),o.sort().join(", ")},Yy=[],Ky=[],Zy=[],Qy=[],Xy=[],Jy=[],Th=new Set;Js.recordUnsafeLifecycleWarnings=function(i,o){Th.has(i.type)||(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0&&Yy.push(i),i.mode&on&&typeof o.UNSAFE_componentWillMount=="function"&&Ky.push(i),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Zy.push(i),i.mode&on&&typeof o.UNSAFE_componentWillReceiveProps=="function"&&Qy.push(i),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0&&Xy.push(i),i.mode&on&&typeof o.UNSAFE_componentWillUpdate=="function"&&Jy.push(i))},Js.flushPendingUnsafeLifecycleWarnings=function(){var i=new Set;Yy.length>0&&(Yy.forEach(function(re){i.add(Zt(re)||"Component"),Th.add(re.type)}),Yy=[]);var o=new Set;Ky.length>0&&(Ky.forEach(function(re){o.add(Zt(re)||"Component"),Th.add(re.type)}),Ky=[]);var f=new Set;Zy.length>0&&(Zy.forEach(function(re){f.add(Zt(re)||"Component"),Th.add(re.type)}),Zy=[]);var m=new Set;Qy.length>0&&(Qy.forEach(function(re){m.add(Zt(re)||"Component"),Th.add(re.type)}),Qy=[]);var y=new Set;Xy.length>0&&(Xy.forEach(function(re){y.add(Zt(re)||"Component"),Th.add(re.type)}),Xy=[]);var C=new Set;if(Jy.length>0&&(Jy.forEach(function(re){C.add(Zt(re)||"Component"),Th.add(re.type)}),Jy=[]),o.size>0){var w=kh(o);c(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
128
|
+
`).replace(cne,"")}function JC(i,o,f,m){var y=XC(o),C=XC(i);if(C!==y&&(m&&(xo||(xo=!0,c('Text content did not match. Server: "%s" Client: "%s"',C,y))),f&&ve))throw new Error("Text content does not match server-rendered HTML.")}function wU(i){return i.nodeType===$s?i:i.ownerDocument}function dne(){}function ek(i){i.onclick=dne}function fne(i,o,f,m,y){for(var C in m)if(m.hasOwnProperty(C)){var w=m[C];if(C===gh)w&&Object.freeze(w),qS(o,w);else if(C===Fy){var P=w?w[KC]:void 0;P!=null&&MS(o,P)}else if(C===mh)if(typeof w=="string"){var D=i!=="textarea"||w!=="";D&&Pl(o,w)}else typeof w=="number"&&Pl(o,""+w);else C===YC||C===Pd||C===CU||(it.hasOwnProperty(C)?w!=null&&(typeof w!="function"&&QC(C,w),C==="onScroll"&&Nr("scroll",o)):w!=null&&It(o,C,w,y))}}function hne(i,o,f,m){for(var y=0;y<o.length;y+=2){var C=o[y],w=o[y+1];C===gh?qS(i,w):C===Fy?MS(i,w):C===mh?Pl(i,w):It(i,C,w,m)}}function pne(i,o,f,m){var y,C=wU(f),w,P=m;if(P===Io&&(P=Iv(i)),P===Io){if(y=Dl(i,o),!y&&i!==i.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",i),i==="script"){var D=C.createElement("div");D.innerHTML="<script><\/script>";var F=D.firstChild;w=D.removeChild(F)}else if(typeof o.is=="string")w=C.createElement(i,{is:o.is});else if(w=C.createElement(i),i==="select"){var B=w;o.multiple?B.multiple=!0:o.size&&(B.size=o.size)}}else w=C.createElementNS(P,i);return P===Io&&!y&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!vr.call(lE,i)&&(lE[i]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",i)),w}function mne(i,o){return wU(o).createTextNode(i)}function gne(i,o,f,m){var y=Dl(o,f);ZC(o,f);var C;switch(o){case"dialog":Nr("cancel",i),Nr("close",i),C=f;break;case"iframe":case"object":case"embed":Nr("load",i),C=f;break;case"video":case"audio":for(var w=0;w<Ny.length;w++)Nr(Ny[w],i);C=f;break;case"source":Nr("error",i),C=f;break;case"img":case"image":case"link":Nr("error",i),Nr("load",i),C=f;break;case"details":Nr("toggle",i),C=f;break;case"input":Zc(i,f),C=go(i,f),Nr("invalid",i);break;case"option":Kn(i,f),C=f;break;case"select":Tf(i,f),C=Ru(i,f),Nr("invalid",i);break;case"textarea":DS(i,f),C=Dp(i,f),Nr("invalid",i);break;default:C=f}switch(Lp(o,C),fne(o,i,m,C,y),o){case"input":mo(i),pe(i,f,!1);break;case"textarea":mo(i),OS(i);break;case"option":lr(i,f);break;case"select":Mv(i,f);break;default:typeof C.onClick=="function"&&ek(i);break}}function vne(i,o,f,m,y){ZC(o,m);var C=null,w,P;switch(o){case"input":w=go(i,f),P=go(i,m),C=[];break;case"select":w=Ru(i,f),P=Ru(i,m),C=[];break;case"textarea":w=Dp(i,f),P=Dp(i,m),C=[];break;default:w=f,P=m,typeof w.onClick!="function"&&typeof P.onClick=="function"&&ek(i);break}Lp(o,P);var D,F,B=null;for(D in w)if(!(P.hasOwnProperty(D)||!w.hasOwnProperty(D)||w[D]==null))if(D===gh){var ae=w[D];for(F in ae)ae.hasOwnProperty(F)&&(B||(B={}),B[F]="")}else D===Fy||D===mh||D===YC||D===Pd||D===CU||(it.hasOwnProperty(D)?C||(C=[]):(C=C||[]).push(D,null));for(D in P){var re=P[D],ge=w!=null?w[D]:void 0;if(!(!P.hasOwnProperty(D)||re===ge||re==null&&ge==null))if(D===gh)if(re&&Object.freeze(re),ge){for(F in ge)ge.hasOwnProperty(F)&&(!re||!re.hasOwnProperty(F))&&(B||(B={}),B[F]="");for(F in re)re.hasOwnProperty(F)&&ge[F]!==re[F]&&(B||(B={}),B[F]=re[F])}else B||(C||(C=[]),C.push(D,B)),B=re;else if(D===Fy){var be=re?re[KC]:void 0,we=ge?ge[KC]:void 0;be!=null&&we!==be&&(C=C||[]).push(D,be)}else D===mh?(typeof re=="string"||typeof re=="number")&&(C=C||[]).push(D,""+re):D===YC||D===Pd||(it.hasOwnProperty(D)?(re!=null&&(typeof re!="function"&&QC(D,re),D==="onScroll"&&Nr("scroll",i)),!C&&ge!==re&&(C=[])):(C=C||[]).push(D,re))}return B&&(Uo(B,P[gh]),(C=C||[]).push(gh,B)),C}function yne(i,o,f,m,y){f==="input"&&y.type==="radio"&&y.name!=null&&O(i,y);var C=Dl(f,m),w=Dl(f,y);switch(hne(i,o,C,w),f){case"input":K(i,y);break;case"textarea":AS(i,y);break;case"select":Pp(i,y);break}}function bne(i){{var o=i.toLowerCase();return ed.hasOwnProperty(o)&&ed[o]||null}}function Sne(i,o,f,m,y,C,w){var P,D;switch(P=Dl(o,f),ZC(o,f),o){case"dialog":Nr("cancel",i),Nr("close",i);break;case"iframe":case"object":case"embed":Nr("load",i);break;case"video":case"audio":for(var F=0;F<Ny.length;F++)Nr(Ny[F],i);break;case"source":Nr("error",i);break;case"img":case"image":case"link":Nr("error",i),Nr("load",i);break;case"details":Nr("toggle",i);break;case"input":Zc(i,f),Nr("invalid",i);break;case"option":Kn(i,f);break;case"select":Tf(i,f),Nr("invalid",i);break;case"textarea":DS(i,f),Nr("invalid",i);break}Lp(o,f);{D=new Set;for(var B=i.attributes,ae=0;ae<B.length;ae++){var re=B[ae].name.toLowerCase();switch(re){case"value":break;case"checked":break;case"selected":break;default:D.add(B[ae].name)}}}var ge=null;for(var be in f)if(f.hasOwnProperty(be)){var we=f[be];if(be===mh)typeof we=="string"?i.textContent!==we&&(f[Pd]!==!0&&JC(i.textContent,we,C,w),ge=[mh,we]):typeof we=="number"&&i.textContent!==""+we&&(f[Pd]!==!0&&JC(i.textContent,we,C,w),ge=[mh,""+we]);else if(it.hasOwnProperty(be))we!=null&&(typeof we!="function"&&QC(be,we),be==="onScroll"&&Nr("scroll",i));else if(w&&typeof P=="boolean"){var st=void 0,Vt=Jn(be);if(f[Pd]!==!0){if(!(be===YC||be===Pd||be==="value"||be==="checked"||be==="selected")){if(be===Fy){var Pt=i.innerHTML,Mn=we?we[KC]:void 0;if(Mn!=null){var xn=xU(i,Mn);xn!==Pt&&jy(be,Pt,xn)}}else if(be===gh){if(D.delete(be),TU){var ce=N_(we);st=i.getAttribute("style"),ce!==st&&jy(be,st,ce)}}else if(P&&!Ce)D.delete(be.toLowerCase()),st=qe(i,be,we),we!==st&&jy(be,st,we);else if(!dn(be,Vt,P)&&!Wn(be,we,Vt,P)){var _e=!1;if(Vt!==null)D.delete(Vt.attributeName),st=ot(i,be,we,Vt);else{var de=m;if(de===Io&&(de=Iv(o)),de===Io)D.delete(be.toLowerCase());else{var $e=bne(be);$e!==null&&$e!==be&&(_e=!0,D.delete($e)),D.delete(be)}st=qe(i,be,we)}var yt=Ce;!yt&&we!==st&&!_e&&jy(be,st,we)}}}}}switch(w&&D.size>0&&f[Pd]!==!0&&kU(D),o){case"input":mo(i),pe(i,f,!0);break;case"textarea":mo(i),OS(i);break;case"select":case"option":break;default:typeof f.onClick=="function"&&ek(i);break}return ge}function Cne(i,o,f){var m=i.nodeValue!==o;return m}function uE(i,o){{if(xo)return;xo=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",o.nodeName.toLowerCase(),i.nodeName.toLowerCase())}}function cE(i,o){{if(xo)return;xo=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',o.nodeValue,i.nodeName.toLowerCase())}}function dE(i,o,f){{if(xo)return;xo=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",o,i.nodeName.toLowerCase())}}function fE(i,o){{if(o===""||xo)return;xo=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',o,i.nodeName.toLowerCase())}}function kne(i,o,f){switch(o){case"input":Te(i,f);return;case"textarea":R_(i,f);return;case"select":Lv(i,f);return}}var Vy=function(){},zy=function(){};{var Tne=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],_U=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],xne=_U.concat(["button"]),wne=["dd","dt","li","option","optgroup","p","rp","rt"],EU={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};zy=function(i,o){var f=an({},i||EU),m={tag:o};return _U.indexOf(o)!==-1&&(f.aTagInScope=null,f.buttonTagInScope=null,f.nobrTagInScope=null),xne.indexOf(o)!==-1&&(f.pTagInButtonScope=null),Tne.indexOf(o)!==-1&&o!=="address"&&o!=="div"&&o!=="p"&&(f.listItemTagAutoclosing=null,f.dlItemTagAutoclosing=null),f.current=m,o==="form"&&(f.formTag=m),o==="a"&&(f.aTagInScope=m),o==="button"&&(f.buttonTagInScope=m),o==="nobr"&&(f.nobrTagInScope=m),o==="p"&&(f.pTagInButtonScope=m),o==="li"&&(f.listItemTagAutoclosing=m),(o==="dd"||o==="dt")&&(f.dlItemTagAutoclosing=m),f};var _ne=function(i,o){switch(o){case"select":return i==="option"||i==="optgroup"||i==="#text";case"optgroup":return i==="option"||i==="#text";case"option":return i==="#text";case"tr":return i==="th"||i==="td"||i==="style"||i==="script"||i==="template";case"tbody":case"thead":case"tfoot":return i==="tr"||i==="style"||i==="script"||i==="template";case"colgroup":return i==="col"||i==="template";case"table":return i==="caption"||i==="colgroup"||i==="tbody"||i==="tfoot"||i==="thead"||i==="style"||i==="script"||i==="template";case"head":return i==="base"||i==="basefont"||i==="bgsound"||i==="link"||i==="meta"||i==="title"||i==="noscript"||i==="noframes"||i==="style"||i==="script"||i==="template";case"html":return i==="head"||i==="body"||i==="frameset";case"frameset":return i==="frame";case"#document":return i==="html"}switch(i){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o!=="h1"&&o!=="h2"&&o!=="h3"&&o!=="h4"&&o!=="h5"&&o!=="h6";case"rp":case"rt":return wne.indexOf(o)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return o==null}return!0},Ene=function(i,o){switch(i){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o.pTagInButtonScope;case"form":return o.formTag||o.pTagInButtonScope;case"li":return o.listItemTagAutoclosing;case"dd":case"dt":return o.dlItemTagAutoclosing;case"button":return o.buttonTagInScope;case"a":return o.aTagInScope;case"nobr":return o.nobrTagInScope}return null},RU={};Vy=function(i,o,f){f=f||EU;var m=f.current,y=m&&m.tag;o!=null&&(i!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),i="#text");var C=_ne(i,y)?null:m,w=C?null:Ene(i,f),P=C||w;if(P){var D=P.tag,F=!!C+"|"+i+"|"+D;if(!RU[F]){RU[F]=!0;var B=i,ae="";if(i==="#text"?/\S/.test(o)?B="Text nodes":(B="Whitespace text nodes",ae=" Make sure you don't have any extra whitespace between tags on each line of your source code."):B="<"+i+">",C){var re="";D==="table"&&i==="tr"&&(re+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",B,D,ae,re)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",B,D)}}}}var tk="suppressHydrationWarning",nk="$",rk="/$",By="$?",Hy="$!",Rne="style",hE=null,pE=null;function Pne(i){var o,f,m=i.nodeType;switch(m){case $s:case xf:{o=m===$s?"#document":"#fragment";var y=i.documentElement;f=y?y.namespaceURI:Ap(null,"");break}default:{var C=m===ei?i.parentNode:i,w=C.namespaceURI||null;o=C.tagName,f=Ap(w,o);break}}{var P=o.toLowerCase(),D=zy(null,P);return{namespace:f,ancestorInfo:D}}}function Dne(i,o,f){{var m=i,y=Ap(m.namespace,o),C=zy(m.ancestorInfo,o);return{namespace:y,ancestorInfo:C}}}function Jse(i){return i}function Ane(i){hE=Oi(),pE=qte();var o=null;return Yr(!1),o}function One(i){Wte(pE),Yr(hE),hE=null,pE=null}function Mne(i,o,f,m,y){var C;{var w=m;if(Vy(i,null,w.ancestorInfo),typeof o.children=="string"||typeof o.children=="number"){var P=""+o.children,D=zy(w.ancestorInfo,i);Vy(null,P,D)}C=w.namespace}var F=pne(i,o,f,C);return Wy(y,F),kE(F,o),F}function Lne(i,o){i.appendChild(o)}function Nne(i,o,f,m,y){switch(gne(i,o,f,m),o){case"button":case"input":case"select":case"textarea":return!!f.autoFocus;case"img":return!0;default:return!1}}function Ine(i,o,f,m,y,C){{var w=C;if(typeof m.children!=typeof f.children&&(typeof m.children=="string"||typeof m.children=="number")){var P=""+m.children,D=zy(w.ancestorInfo,o);Vy(null,P,D)}}return vne(i,o,f,m)}function mE(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}function Une(i,o,f,m){{var y=f;Vy(null,i,y.ancestorInfo)}var C=mne(i,o);return Wy(m,C),C}function Fne(){var i=window.event;return i===void 0?Di:kd(i.type)}var gE=typeof setTimeout=="function"?setTimeout:void 0,jne=typeof clearTimeout=="function"?clearTimeout:void 0,vE=-1,PU=typeof Promise=="function"?Promise:void 0,Vne=typeof queueMicrotask=="function"?queueMicrotask:typeof PU<"u"?function(i){return PU.resolve(null).then(i).catch(zne)}:gE;function zne(i){setTimeout(function(){throw i})}function Bne(i,o,f,m){switch(o){case"button":case"input":case"select":case"textarea":f.autoFocus&&i.focus();return;case"img":{f.src&&(i.src=f.src);return}}}function Hne(i,o,f,m,y,C){yne(i,o,f,m,y),kE(i,y)}function DU(i){Pl(i,"")}function $ne(i,o,f){i.nodeValue=f}function qne(i,o){i.appendChild(o)}function Wne(i,o){var f;i.nodeType===ei?(f=i.parentNode,f.insertBefore(o,i)):(f=i,f.appendChild(o));var m=i._reactRootContainer;m==null&&f.onclick===null&&ek(f)}function Gne(i,o,f){i.insertBefore(o,f)}function Yne(i,o,f){i.nodeType===ei?i.parentNode.insertBefore(o,f):i.insertBefore(o,f)}function Kne(i,o){i.removeChild(o)}function Zne(i,o){i.nodeType===ei?i.parentNode.removeChild(o):i.removeChild(o)}function yE(i,o){var f=o,m=0;do{var y=f.nextSibling;if(i.removeChild(f),y&&y.nodeType===ei){var C=y.data;if(C===rk)if(m===0){i.removeChild(y),Zi(o);return}else m--;else(C===nk||C===By||C===Hy)&&m++}f=y}while(f);Zi(o)}function Qne(i,o){i.nodeType===ei?yE(i.parentNode,o):i.nodeType===xa&&yE(i,o),Zi(i)}function Xne(i){i=i;var o=i.style;typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"}function Jne(i){i.nodeValue=""}function ere(i,o){i=i;var f=o[Rne],m=f!=null&&f.hasOwnProperty("display")?f.display:null;i.style.display=Mp("display",m)}function tre(i,o){i.nodeValue=o}function nre(i){i.nodeType===xa?i.textContent="":i.nodeType===$s&&i.documentElement&&i.removeChild(i.documentElement)}function rre(i,o,f){return i.nodeType!==xa||o.toLowerCase()!==i.nodeName.toLowerCase()?null:i}function ire(i,o){return o===""||i.nodeType!==Hs?null:i}function are(i){return i.nodeType!==ei?null:i}function AU(i){return i.data===By}function bE(i){return i.data===Hy}function ore(i){var o=i.nextSibling&&i.nextSibling.dataset,f,m,y;return o&&(f=o.dgst,m=o.msg,y=o.stck),{message:m,digest:f,stack:y}}function sre(i,o){i._reactRetry=o}function ik(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===xa||o===Hs)break;if(o===ei){var f=i.data;if(f===nk||f===Hy||f===By)break;if(f===rk)return null}}return i}function $y(i){return ik(i.nextSibling)}function lre(i){return ik(i.firstChild)}function ure(i){return ik(i.firstChild)}function cre(i){return ik(i.nextSibling)}function dre(i,o,f,m,y,C,w){Wy(C,i),kE(i,f);var P;{var D=y;P=D.namespace}var F=(C.mode&bn)!==Mt;return Sne(i,o,f,P,m,F,w)}function fre(i,o,f,m){return Wy(f,i),f.mode&bn,Cne(i,o)}function hre(i,o){Wy(o,i)}function pre(i){for(var o=i.nextSibling,f=0;o;){if(o.nodeType===ei){var m=o.data;if(m===rk){if(f===0)return $y(o);f--}else(m===nk||m===Hy||m===By)&&f++}o=o.nextSibling}return null}function OU(i){for(var o=i.previousSibling,f=0;o;){if(o.nodeType===ei){var m=o.data;if(m===nk||m===Hy||m===By){if(f===0)return o;f--}else m===rk&&f++}o=o.previousSibling}return null}function mre(i){Zi(i)}function gre(i){Zi(i)}function vre(i){return i!=="head"&&i!=="body"}function yre(i,o,f,m){var y=!0;JC(o.nodeValue,f,m,y)}function bre(i,o,f,m,y,C){if(o[tk]!==!0){var w=!0;JC(m.nodeValue,y,C,w)}}function Sre(i,o){o.nodeType===xa?uE(i,o):o.nodeType===ei||cE(i,o)}function Cre(i,o){{var f=i.parentNode;f!==null&&(o.nodeType===xa?uE(f,o):o.nodeType===ei||cE(f,o))}}function kre(i,o,f,m,y){(y||o[tk]!==!0)&&(m.nodeType===xa?uE(f,m):m.nodeType===ei||cE(f,m))}function Tre(i,o,f){dE(i,o)}function xre(i,o){fE(i,o)}function wre(i,o,f){{var m=i.parentNode;m!==null&&dE(m,o)}}function _re(i,o){{var f=i.parentNode;f!==null&&fE(f,o)}}function Ere(i,o,f,m,y,C){(C||o[tk]!==!0)&&dE(f,m)}function Rre(i,o,f,m,y){(y||o[tk]!==!0)&&fE(f,m)}function Pre(i){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",i.nodeName.toLowerCase())}function Dre(i){Iy(i)}var zm=Math.random().toString(36).slice(2),Bm="__reactFiber$"+zm,SE="__reactProps$"+zm,qy="__reactContainer$"+zm,CE="__reactEvents$"+zm,Are="__reactListeners$"+zm,Ore="__reactHandles$"+zm;function Mre(i){delete i[Bm],delete i[SE],delete i[CE],delete i[Are],delete i[Ore]}function Wy(i,o){o[Bm]=i}function ak(i,o){o[qy]=i}function MU(i){i[qy]=null}function Gy(i){return!!i[qy]}function vh(i){var o=i[Bm];if(o)return o;for(var f=i.parentNode;f;){if(o=f[qy]||f[Bm],o){var m=o.alternate;if(o.child!==null||m!==null&&m.child!==null)for(var y=OU(i);y!==null;){var C=y[Bm];if(C)return C;y=OU(y)}return o}i=f,f=i.parentNode}return null}function Dd(i){var o=i[Bm]||i[qy];return o&&(o.tag===E||o.tag===R||o.tag===N||o.tag===k)?o:null}function Hm(i){if(i.tag===E||i.tag===R)return i.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function ok(i){return i[SE]||null}function kE(i,o){i[SE]=o}function Lre(i){var o=i[CE];return o===void 0&&(o=i[CE]=new Set),o}var LU={},NU=r.ReactDebugCurrentFrame;function sk(i){if(i){var o=i._owner,f=yf(i.type,i._source,o?o.type:null);NU.setExtraStackFrame(f)}else NU.setExtraStackFrame(null)}function Qs(i,o,f,m,y){{var C=Function.call.bind(vr);for(var w in i)if(C(i,w)){var P=void 0;try{if(typeof i[w]!="function"){var D=Error((m||"React class")+": "+f+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}P=i[w](o,w,m,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(F){P=F}P&&!(P instanceof Error)&&(sk(y),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",f,w,typeof P),sk(null)),P instanceof Error&&!(P.message in LU)&&(LU[P.message]=!0,sk(y),c("Failed %s type: %s",f,P.message),sk(null))}}}var TE=[],lk;lk=[];var ec=-1;function Ad(i){return{current:i}}function La(i,o){if(ec<0){c("Unexpected pop.");return}o!==lk[ec]&&c("Unexpected Fiber popped."),i.current=TE[ec],TE[ec]=null,lk[ec]=null,ec--}function Na(i,o,f){ec++,TE[ec]=i.current,lk[ec]=f,i.current=o}var xE;xE={};var $o={};Object.freeze($o);var tc=Ad($o),Ql=Ad(!1),wE=$o;function $m(i,o,f){return f&&Xl(o)?wE:tc.current}function IU(i,o,f){{var m=i.stateNode;m.__reactInternalMemoizedUnmaskedChildContext=o,m.__reactInternalMemoizedMaskedChildContext=f}}function qm(i,o){{var f=i.type,m=f.contextTypes;if(!m)return $o;var y=i.stateNode;if(y&&y.__reactInternalMemoizedUnmaskedChildContext===o)return y.__reactInternalMemoizedMaskedChildContext;var C={};for(var w in m)C[w]=o[w];{var P=Zt(i)||"Unknown";Qs(m,C,"context",P)}return y&&IU(i,o,C),C}}function uk(){return Ql.current}function Xl(i){{var o=i.childContextTypes;return o!=null}}function ck(i){La(Ql,i),La(tc,i)}function _E(i){La(Ql,i),La(tc,i)}function UU(i,o,f){{if(tc.current!==$o)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Na(tc,o,i),Na(Ql,f,i)}}function FU(i,o,f){{var m=i.stateNode,y=o.childContextTypes;if(typeof m.getChildContext!="function"){{var C=Zt(i)||"Unknown";xE[C]||(xE[C]=!0,c("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",C,C))}return f}var w=m.getChildContext();for(var P in w)if(!(P in y))throw new Error((Zt(i)||"Unknown")+'.getChildContext(): key "'+P+'" is not defined in childContextTypes.');{var D=Zt(i)||"Unknown";Qs(y,w,"child context",D)}return an({},f,w)}}function dk(i){{var o=i.stateNode,f=o&&o.__reactInternalMemoizedMergedChildContext||$o;return wE=tc.current,Na(tc,f,i),Na(Ql,Ql.current,i),!0}}function jU(i,o,f){{var m=i.stateNode;if(!m)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(f){var y=FU(i,o,wE);m.__reactInternalMemoizedMergedChildContext=y,La(Ql,i),La(tc,i),Na(tc,y,i),Na(Ql,f,i)}else La(Ql,i),Na(Ql,f,i)}}function Nre(i){{if(!oC(i)||i.tag!==v)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var o=i;do{switch(o.tag){case k:return o.stateNode.context;case v:{var f=o.type;if(Xl(f))return o.stateNode.__reactInternalMemoizedMergedChildContext;break}}o=o.return}while(o!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Od=0,fk=1,nc=null,EE=!1,RE=!1;function VU(i){nc===null?nc=[i]:nc.push(i)}function Ire(i){EE=!0,VU(i)}function zU(){EE&&Md()}function Md(){if(!RE&&nc!==null){RE=!0;var i=0,o=$a();try{var f=!0,m=nc;for(di(Oa);i<m.length;i++){var y=m[i];do y=y(f);while(y!==null)}nc=null,EE=!1}catch(C){throw nc!==null&&(nc=nc.slice(i+1)),Qv(Gs,Md),C}finally{di(o),RE=!1}}return null}var Wm=[],Gm=0,hk=null,pk=0,ps=[],ms=0,yh=null,rc=1,ic="";function Ure(i){return Sh(),(i.flags&Ff)!==Ot}function Fre(i){return Sh(),pk}function jre(){var i=ic,o=rc,f=o&~Vre(o);return f.toString(32)+i}function bh(i,o){Sh(),Wm[Gm++]=pk,Wm[Gm++]=hk,hk=i,pk=o}function BU(i,o,f){Sh(),ps[ms++]=rc,ps[ms++]=ic,ps[ms++]=yh,yh=i;var m=rc,y=ic,C=mk(m)-1,w=m&~(1<<C),P=f+1,D=mk(o)+C;if(D>30){var F=C-C%5,B=(1<<F)-1,ae=(w&B).toString(32),re=w>>F,ge=C-F,be=mk(o)+ge,we=P<<ge,st=we|re,Vt=ae+y;rc=1<<be|st,ic=Vt}else{var Pt=P<<C,Mn=Pt|w,xn=y;rc=1<<D|Mn,ic=xn}}function PE(i){Sh();var o=i.return;if(o!==null){var f=1,m=0;bh(i,f),BU(i,f,m)}}function mk(i){return 32-ci(i)}function Vre(i){return 1<<mk(i)-1}function DE(i){for(;i===hk;)hk=Wm[--Gm],Wm[Gm]=null,pk=Wm[--Gm],Wm[Gm]=null;for(;i===yh;)yh=ps[--ms],ps[ms]=null,ic=ps[--ms],ps[ms]=null,rc=ps[--ms],ps[ms]=null}function zre(){return Sh(),yh!==null?{id:rc,overflow:ic}:null}function Bre(i,o){Sh(),ps[ms++]=rc,ps[ms++]=ic,ps[ms++]=yh,rc=o.id,ic=o.overflow,yh=i}function Sh(){la()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var sa=null,gs=null,Xs=!1,Ch=!1,Ld=null;function Hre(){Xs&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function HU(){Ch=!0}function $re(){return Ch}function qre(i){var o=i.stateNode.containerInfo;return gs=ure(o),sa=i,Xs=!0,Ld=null,Ch=!1,!0}function Wre(i,o,f){return gs=cre(o),sa=i,Xs=!0,Ld=null,Ch=!1,f!==null&&Bre(i,f),!0}function $U(i,o){switch(i.tag){case k:{Sre(i.stateNode.containerInfo,o);break}case E:{var f=(i.mode&bn)!==Mt;kre(i.type,i.memoizedProps,i.stateNode,o,f);break}case N:{var m=i.memoizedState;m.dehydrated!==null&&Cre(m.dehydrated,o);break}}}function qU(i,o){$U(i,o);var f=Zoe();f.stateNode=o,f.return=i;var m=i.deletions;m===null?(i.deletions=[f],i.flags|=wa):m.push(f)}function AE(i,o){{if(Ch)return;switch(i.tag){case k:{var f=i.stateNode.containerInfo;switch(o.tag){case E:var m=o.type;o.pendingProps,Tre(f,m);break;case R:var y=o.pendingProps;xre(f,y);break}break}case E:{var C=i.type,w=i.memoizedProps,P=i.stateNode;switch(o.tag){case E:{var D=o.type,F=o.pendingProps,B=(i.mode&bn)!==Mt;Ere(C,w,P,D,F,B);break}case R:{var ae=o.pendingProps,re=(i.mode&bn)!==Mt;Rre(C,w,P,ae,re);break}}break}case N:{var ge=i.memoizedState,be=ge.dehydrated;if(be!==null)switch(o.tag){case E:var we=o.type;o.pendingProps,wre(be,we);break;case R:var st=o.pendingProps;_re(be,st);break}break}default:return}}}function WU(i,o){o.flags=o.flags&~jr|Fr,AE(i,o)}function GU(i,o){switch(i.tag){case E:{var f=i.type;i.pendingProps;var m=rre(o,f);return m!==null?(i.stateNode=m,sa=i,gs=lre(m),!0):!1}case R:{var y=i.pendingProps,C=ire(o,y);return C!==null?(i.stateNode=C,sa=i,gs=null,!0):!1}case N:{var w=are(o);if(w!==null){var P={dehydrated:w,treeContext:zre(),retryLane:Pa};i.memoizedState=P;var D=Qoe(w);return D.return=i,i.child=D,sa=i,gs=null,!0}return!1}default:return!1}}function OE(i){return(i.mode&bn)!==Mt&&(i.flags&vn)===Ot}function ME(i){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function LE(i){if(Xs){var o=gs;if(!o){OE(i)&&(AE(sa,i),ME()),WU(sa,i),Xs=!1,sa=i;return}var f=o;if(!GU(i,o)){OE(i)&&(AE(sa,i),ME()),o=$y(f);var m=sa;if(!o||!GU(i,o)){WU(sa,i),Xs=!1,sa=i;return}qU(m,f)}}}function Gre(i,o,f){var m=i.stateNode,y=!Ch,C=dre(m,i.type,i.memoizedProps,o,f,i,y);return i.updateQueue=C,C!==null}function Yre(i){var o=i.stateNode,f=i.memoizedProps,m=fre(o,f,i);if(m){var y=sa;if(y!==null)switch(y.tag){case k:{var C=y.stateNode.containerInfo,w=(y.mode&bn)!==Mt;yre(C,o,f,w);break}case E:{var P=y.type,D=y.memoizedProps,F=y.stateNode,B=(y.mode&bn)!==Mt;bre(P,D,F,o,f,B);break}}}return m}function Kre(i){var o=i.memoizedState,f=o!==null?o.dehydrated:null;if(!f)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");hre(f,i)}function Zre(i){var o=i.memoizedState,f=o!==null?o.dehydrated:null;if(!f)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return pre(f)}function YU(i){for(var o=i.return;o!==null&&o.tag!==E&&o.tag!==k&&o.tag!==N;)o=o.return;sa=o}function gk(i){if(i!==sa)return!1;if(!Xs)return YU(i),Xs=!0,!1;if(i.tag!==k&&(i.tag!==E||vre(i.type)&&!mE(i.type,i.memoizedProps))){var o=gs;if(o)if(OE(i))KU(i),ME();else for(;o;)qU(i,o),o=$y(o)}return YU(i),i.tag===N?gs=Zre(i):gs=sa?$y(i.stateNode):null,!0}function Qre(){return Xs&&gs!==null}function KU(i){for(var o=gs;o;)$U(i,o),o=$y(o)}function Ym(){sa=null,gs=null,Xs=!1,Ch=!1}function ZU(){Ld!==null&&(H9(Ld),Ld=null)}function la(){return Xs}function NE(i){Ld===null?Ld=[i]:Ld.push(i)}var Xre=r.ReactCurrentBatchConfig,Jre=null;function eie(){return Xre.transition}var Js={recordUnsafeLifecycleWarnings:function(i,o){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(i,o){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var tie=function(i){for(var o=null,f=i;f!==null;)f.mode&on&&(o=f),f=f.return;return o},kh=function(i){var o=[];return i.forEach(function(f){o.push(f)}),o.sort().join(", ")},Yy=[],Ky=[],Zy=[],Qy=[],Xy=[],Jy=[],Th=new Set;Js.recordUnsafeLifecycleWarnings=function(i,o){Th.has(i.type)||(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0&&Yy.push(i),i.mode&on&&typeof o.UNSAFE_componentWillMount=="function"&&Ky.push(i),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Zy.push(i),i.mode&on&&typeof o.UNSAFE_componentWillReceiveProps=="function"&&Qy.push(i),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0&&Xy.push(i),i.mode&on&&typeof o.UNSAFE_componentWillUpdate=="function"&&Jy.push(i))},Js.flushPendingUnsafeLifecycleWarnings=function(){var i=new Set;Yy.length>0&&(Yy.forEach(function(re){i.add(Zt(re)||"Component"),Th.add(re.type)}),Yy=[]);var o=new Set;Ky.length>0&&(Ky.forEach(function(re){o.add(Zt(re)||"Component"),Th.add(re.type)}),Ky=[]);var f=new Set;Zy.length>0&&(Zy.forEach(function(re){f.add(Zt(re)||"Component"),Th.add(re.type)}),Zy=[]);var m=new Set;Qy.length>0&&(Qy.forEach(function(re){m.add(Zt(re)||"Component"),Th.add(re.type)}),Qy=[]);var y=new Set;Xy.length>0&&(Xy.forEach(function(re){y.add(Zt(re)||"Component"),Th.add(re.type)}),Xy=[]);var C=new Set;if(Jy.length>0&&(Jy.forEach(function(re){C.add(Zt(re)||"Component"),Th.add(re.type)}),Jy=[]),o.size>0){var w=kh(o);c(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
129
129
|
|
|
130
130
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
131
131
|
|
|
@@ -164,7 +164,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`,y)}
|
|
|
164
164
|
1. You may be adding a ref to a function component
|
|
165
165
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
166
166
|
3. You have multiple copies of React loaded
|
|
167
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return m}function yk(i,o){var f=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}function bk(i){{var o=Zt(i)||"Component";if(VE[o])return;VE[o]=!0,c("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function JU(i){var o=i._payload,f=i._init;return f(o)}function eF(i){function o(ce,_e){if(i){var de=ce.deletions;de===null?(ce.deletions=[_e],ce.flags|=wa):de.push(_e)}}function f(ce,_e){if(!i)return null;for(var de=_e;de!==null;)o(ce,de),de=de.sibling;return null}function m(ce,_e){for(var de=new Map,$e=_e;$e!==null;)$e.key!==null?de.set($e.key,$e):de.set($e.index,$e),$e=$e.sibling;return de}function y(ce,_e){var de=Oh(ce,_e);return de.index=0,de.sibling=null,de}function C(ce,_e,de){if(ce.index=de,!i)return ce.flags|=Ff,_e;var $e=ce.alternate;if($e!==null){var yt=$e.index;return yt<_e?(ce.flags|=Fr,_e):yt}else return ce.flags|=Fr,_e}function w(ce){return i&&ce.alternate===null&&(ce.flags|=Fr),ce}function P(ce,_e,de,$e){if(_e===null||_e.tag!==R){var yt=NP(de,ce.mode,$e);return yt.return=ce,yt}else{var ft=y(_e,de);return ft.return=ce,ft}}function D(ce,_e,de,$e){var yt=de.type;if(yt===dn)return B(ce,_e,de.props.children,$e,de.key);if(_e!==null&&(_e.elementType===yt||aj(_e,de)||typeof yt=="object"&&yt!==null&&yt.$$typeof===Gt&&JU(yt)===_e.type)){var ft=y(_e,de.props);return ft.ref=e0(ce,_e,de),ft.return=ce,ft._debugSource=de._source,ft._debugOwner=de._owner,ft}var qt=LP(de,ce.mode,$e);return qt.ref=e0(ce,_e,de),qt.return=ce,qt}function F(ce,_e,de,$e){if(_e===null||_e.tag!==T||_e.stateNode.containerInfo!==de.containerInfo||_e.stateNode.implementation!==de.implementation){var yt=IP(de,ce.mode,$e);return yt.return=ce,yt}else{var ft=y(_e,de.children||[]);return ft.return=ce,ft}}function B(ce,_e,de,$e,yt){if(_e===null||_e.tag!==M){var ft=qd(de,ce.mode,$e,yt);return ft.return=ce,ft}else{var qt=y(_e,de);return qt.return=ce,qt}}function ae(ce,_e,de){if(typeof _e=="string"&&_e!==""||typeof _e=="number"){var $e=NP(""+_e,ce.mode,de);return $e.return=ce,$e}if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case Jt:{var yt=LP(_e,ce.mode,de);return yt.ref=e0(ce,null,_e),yt.return=ce,yt}case jt:{var ft=IP(_e,ce.mode,de);return ft.return=ce,ft}case Gt:{var qt=_e._payload,rn=_e._init;return ae(ce,rn(qt),de)}}if(sn(_e)||Er(_e)){var fr=qd(_e,ce.mode,de,null);return fr.return=ce,fr}yk(ce,_e)}return typeof _e=="function"&&bk(ce),null}function re(ce,_e,de,$e){var yt=_e!==null?_e.key:null;if(typeof de=="string"&&de!==""||typeof de=="number")return yt!==null?null:P(ce,_e,""+de,$e);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case Jt:return de.key===yt?D(ce,_e,de,$e):null;case jt:return de.key===yt?F(ce,_e,de,$e):null;case Gt:{var ft=de._payload,qt=de._init;return re(ce,_e,qt(ft),$e)}}if(sn(de)||Er(de))return yt!==null?null:B(ce,_e,de,$e,null);yk(ce,de)}return typeof de=="function"&&bk(ce),null}function ge(ce,_e,de,$e,yt){if(typeof $e=="string"&&$e!==""||typeof $e=="number"){var ft=ce.get(de)||null;return P(_e,ft,""+$e,yt)}if(typeof $e=="object"&&$e!==null){switch($e.$$typeof){case Jt:{var qt=ce.get($e.key===null?de:$e.key)||null;return D(_e,qt,$e,yt)}case jt:{var rn=ce.get($e.key===null?de:$e.key)||null;return F(_e,rn,$e,yt)}case Gt:var fr=$e._payload,Bn=$e._init;return ge(ce,_e,de,Bn(fr),yt)}if(sn($e)||Er($e)){var pi=ce.get(de)||null;return B(_e,pi,$e,yt,null)}yk(_e,$e)}return typeof $e=="function"&&bk(_e),null}function be(ce,_e,de){{if(typeof ce!="object"||ce===null)return _e;switch(ce.$$typeof){case Jt:case jt:XU(ce,de);var $e=ce.key;if(typeof $e!="string")break;if(_e===null){_e=new Set,_e.add($e);break}if(!_e.has($e)){_e.add($e);break}c("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",$e);break;case Gt:var yt=ce._payload,ft=ce._init;be(ft(yt),_e,de);break}}return _e}function we(ce,_e,de,$e){for(var yt=null,ft=0;ft<de.length;ft++){var qt=de[ft];yt=be(qt,yt,ce)}for(var rn=null,fr=null,Bn=_e,pi=0,Hn=0,ai=null;Bn!==null&&Hn<de.length;Hn++){Bn.index>Hn?(ai=Bn,Bn=null):ai=Bn.sibling;var Ua=re(ce,Bn,de[Hn],$e);if(Ua===null){Bn===null&&(Bn=ai);break}i&&Bn&&Ua.alternate===null&&o(ce,Bn),pi=C(Ua,pi,Hn),fr===null?rn=Ua:fr.sibling=Ua,fr=Ua,Bn=ai}if(Hn===de.length){if(f(ce,Bn),la()){var ma=Hn;bh(ce,ma)}return rn}if(Bn===null){for(;Hn<de.length;Hn++){var Wo=ae(ce,de[Hn],$e);Wo!==null&&(pi=C(Wo,pi,Hn),fr===null?rn=Wo:fr.sibling=Wo,fr=Wo)}if(la()){var Qa=Hn;bh(ce,Qa)}return rn}for(var Xa=m(ce,Bn);Hn<de.length;Hn++){var Fa=ge(Xa,ce,Hn,de[Hn],$e);Fa!==null&&(i&&Fa.alternate!==null&&Xa.delete(Fa.key===null?Hn:Fa.key),pi=C(Fa,pi,Hn),fr===null?rn=Fa:fr.sibling=Fa,fr=Fa)}if(i&&Xa.forEach(function(hg){return o(ce,hg)}),la()){var dc=Hn;bh(ce,dc)}return rn}function st(ce,_e,de,$e){var yt=Er(de);if(typeof yt!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&de[Symbol.toStringTag]==="Generator"&&(UE||c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),UE=!0),de.entries===yt&&(IE||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),IE=!0);var ft=yt.call(de);if(ft)for(var qt=null,rn=ft.next();!rn.done;rn=ft.next()){var fr=rn.value;qt=be(fr,qt,ce)}}var Bn=yt.call(de);if(Bn==null)throw new Error("An iterable object provided no iterator.");for(var pi=null,Hn=null,ai=_e,Ua=0,ma=0,Wo=null,Qa=Bn.next();ai!==null&&!Qa.done;ma++,Qa=Bn.next()){ai.index>ma?(Wo=ai,ai=null):Wo=ai.sibling;var Xa=re(ce,ai,Qa.value,$e);if(Xa===null){ai===null&&(ai=Wo);break}i&&ai&&Xa.alternate===null&&o(ce,ai),Ua=C(Xa,Ua,ma),Hn===null?pi=Xa:Hn.sibling=Xa,Hn=Xa,ai=Wo}if(Qa.done){if(f(ce,ai),la()){var Fa=ma;bh(ce,Fa)}return pi}if(ai===null){for(;!Qa.done;ma++,Qa=Bn.next()){var dc=ae(ce,Qa.value,$e);dc!==null&&(Ua=C(dc,Ua,ma),Hn===null?pi=dc:Hn.sibling=dc,Hn=dc)}if(la()){var hg=ma;bh(ce,hg)}return pi}for(var O0=m(ce,ai);!Qa.done;ma++,Qa=Bn.next()){var ou=ge(O0,ce,ma,Qa.value,$e);ou!==null&&(i&&ou.alternate!==null&&O0.delete(ou.key===null?ma:ou.key),Ua=C(ou,Ua,ma),Hn===null?pi=ou:Hn.sibling=ou,Hn=ou)}if(i&&O0.forEach(function(Rse){return o(ce,Rse)}),la()){var Ese=ma;bh(ce,Ese)}return pi}function Vt(ce,_e,de,$e){if(_e!==null&&_e.tag===R){f(ce,_e.sibling);var yt=y(_e,de);return yt.return=ce,yt}f(ce,_e);var ft=NP(de,ce.mode,$e);return ft.return=ce,ft}function Pt(ce,_e,de,$e){for(var yt=de.key,ft=_e;ft!==null;){if(ft.key===yt){var qt=de.type;if(qt===dn){if(ft.tag===M){f(ce,ft.sibling);var rn=y(ft,de.props.children);return rn.return=ce,rn._debugSource=de._source,rn._debugOwner=de._owner,rn}}else if(ft.elementType===qt||aj(ft,de)||typeof qt=="object"&&qt!==null&&qt.$$typeof===Gt&&JU(qt)===ft.type){f(ce,ft.sibling);var fr=y(ft,de.props);return fr.ref=e0(ce,ft,de),fr.return=ce,fr._debugSource=de._source,fr._debugOwner=de._owner,fr}f(ce,ft);break}else o(ce,ft);ft=ft.sibling}if(de.type===dn){var Bn=qd(de.props.children,ce.mode,$e,de.key);return Bn.return=ce,Bn}else{var pi=LP(de,ce.mode,$e);return pi.ref=e0(ce,_e,de),pi.return=ce,pi}}function Mn(ce,_e,de,$e){for(var yt=de.key,ft=_e;ft!==null;){if(ft.key===yt)if(ft.tag===T&&ft.stateNode.containerInfo===de.containerInfo&&ft.stateNode.implementation===de.implementation){f(ce,ft.sibling);var qt=y(ft,de.children||[]);return qt.return=ce,qt}else{f(ce,ft);break}else o(ce,ft);ft=ft.sibling}var rn=IP(de,ce.mode,$e);return rn.return=ce,rn}function xn(ce,_e,de,$e){var yt=typeof de=="object"&&de!==null&&de.type===dn&&de.key===null;if(yt&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case Jt:return w(Pt(ce,_e,de,$e));case jt:return w(Mn(ce,_e,de,$e));case Gt:var ft=de._payload,qt=de._init;return xn(ce,_e,qt(ft),$e)}if(sn(de))return we(ce,_e,de,$e);if(Er(de))return st(ce,_e,de,$e);yk(ce,de)}return typeof de=="string"&&de!==""||typeof de=="number"?w(Vt(ce,_e,""+de,$e)):(typeof de=="function"&&bk(ce),f(ce,_e))}return xn}var Km=eF(!0),tF=eF(!1);function rie(i,o){if(i!==null&&o.child!==i.child)throw new Error("Resuming work not yet implemented.");if(o.child!==null){var f=o.child,m=Oh(f,f.pendingProps);for(o.child=m,m.return=o;f.sibling!==null;)f=f.sibling,m=m.sibling=Oh(f,f.pendingProps),m.return=o;m.sibling=null}}function iie(i,o){for(var f=i.child;f!==null;)qoe(f,o),f=f.sibling}var zE=Ad(null),BE;BE={};var Sk=null,Zm=null,HE=null,Ck=!1;function kk(){Sk=null,Zm=null,HE=null,Ck=!1}function nF(){Ck=!0}function rF(){Ck=!1}function iF(i,o,f){Na(zE,o._currentValue,i),o._currentValue=f,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==BE&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=BE}function $E(i,o){var f=zE.current;La(zE,o),i._currentValue=f}function qE(i,o,f){for(var m=i;m!==null;){var y=m.alternate;if(Hu(m.childLanes,o)?y!==null&&!Hu(y.childLanes,o)&&(y.childLanes=ln(y.childLanes,o)):(m.childLanes=ln(m.childLanes,o),y!==null&&(y.childLanes=ln(y.childLanes,o))),m===f)break;m=m.return}m!==f&&c("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function aie(i,o,f){oie(i,o,f)}function oie(i,o,f){var m=i.child;for(m!==null&&(m.return=i);m!==null;){var y=void 0,C=m.dependencies;if(C!==null){y=m.child;for(var w=C.firstContext;w!==null;){if(w.context===o){if(m.tag===v){var P=Si(f),D=ac(rr,P);D.tag=xk;var F=m.updateQueue;if(F!==null){var B=F.shared,ae=B.pending;ae===null?D.next=D:(D.next=ae.next,ae.next=D),B.pending=D}}m.lanes=ln(m.lanes,f);var re=m.alternate;re!==null&&(re.lanes=ln(re.lanes,f)),qE(m.return,f,i),C.lanes=ln(C.lanes,f);break}w=w.next}}else if(m.tag===V)y=m.type===i.type?null:m.child;else if(m.tag===oe){var ge=m.return;if(ge===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ge.lanes=ln(ge.lanes,f);var be=ge.alternate;be!==null&&(be.lanes=ln(be.lanes,f)),qE(ge,f,i),y=m.sibling}else y=m.child;if(y!==null)y.return=m;else for(y=m;y!==null;){if(y===i){y=null;break}var we=y.sibling;if(we!==null){we.return=y.return,y=we;break}y=y.return}m=y}}function Qm(i,o){Sk=i,Zm=null,HE=null;var f=i.dependencies;if(f!==null){var m=f.firstContext;m!==null&&(Aa(f.lanes,o)&&m0(),f.firstContext=null)}}function ki(i){Ck&&c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var o=i._currentValue;if(HE!==i){var f={context:i,memoizedValue:o,next:null};if(Zm===null){if(Sk===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Zm=f,Sk.dependencies={lanes:Pe,firstContext:f}}else Zm=Zm.next=f}return o}var xh=null;function WE(i){xh===null?xh=[i]:xh.push(i)}function sie(){if(xh!==null){for(var i=0;i<xh.length;i++){var o=xh[i],f=o.interleaved;if(f!==null){o.interleaved=null;var m=f.next,y=o.pending;if(y!==null){var C=y.next;y.next=m,f.next=C}o.pending=f}}xh=null}}function aF(i,o,f,m){var y=o.interleaved;return y===null?(f.next=f,WE(o)):(f.next=y.next,y.next=f),o.interleaved=f,Tk(i,m)}function lie(i,o,f,m){var y=o.interleaved;y===null?(f.next=f,WE(o)):(f.next=y.next,y.next=f),o.interleaved=f}function uie(i,o,f,m){var y=o.interleaved;return y===null?(f.next=f,WE(o)):(f.next=y.next,y.next=f),o.interleaved=f,Tk(i,m)}function wo(i,o){return Tk(i,o)}var cie=Tk;function Tk(i,o){i.lanes=ln(i.lanes,o);var f=i.alternate;f!==null&&(f.lanes=ln(f.lanes,o)),f===null&&(i.flags&(Fr|jr))!==Ot&&tj(i);for(var m=i,y=i.return;y!==null;)y.childLanes=ln(y.childLanes,o),f=y.alternate,f!==null?f.childLanes=ln(f.childLanes,o):(y.flags&(Fr|jr))!==Ot&&tj(i),m=y,y=y.return;if(m.tag===k){var C=m.stateNode;return C}else return null}var oF=0,sF=1,xk=2,GE=3,wk=!1,YE,_k;YE=!1,_k=null;function KE(i){var o={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Pe},effects:null};i.updateQueue=o}function lF(i,o){var f=o.updateQueue,m=i.updateQueue;if(f===m){var y={baseState:m.baseState,firstBaseUpdate:m.firstBaseUpdate,lastBaseUpdate:m.lastBaseUpdate,shared:m.shared,effects:m.effects};o.updateQueue=y}}function ac(i,o){var f={eventTime:i,lane:o,tag:oF,payload:null,callback:null,next:null};return f}function Nd(i,o,f){var m=i.updateQueue;if(m===null)return null;var y=m.shared;if(_k===y&&!YE&&(c("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),YE=!0),loe()){var C=y.pending;return C===null?o.next=o:(o.next=C.next,C.next=o),y.pending=o,cie(i,f)}else return uie(i,y,o,f)}function Ek(i,o,f){var m=o.updateQueue;if(m!==null){var y=m.shared;if(py(f)){var C=y.lanes;C=gm(C,i.pendingLanes);var w=ln(C,f);y.lanes=w,eh(i,w)}}}function ZE(i,o){var f=i.updateQueue,m=i.alternate;if(m!==null){var y=m.updateQueue;if(f===y){var C=null,w=null,P=f.firstBaseUpdate;if(P!==null){var D=P;do{var F={eventTime:D.eventTime,lane:D.lane,tag:D.tag,payload:D.payload,callback:D.callback,next:null};w===null?C=w=F:(w.next=F,w=F),D=D.next}while(D!==null);w===null?C=w=o:(w.next=o,w=o)}else C=w=o;f={baseState:y.baseState,firstBaseUpdate:C,lastBaseUpdate:w,shared:y.shared,effects:y.effects},i.updateQueue=f;return}}var B=f.lastBaseUpdate;B===null?f.firstBaseUpdate=o:B.next=o,f.lastBaseUpdate=o}function die(i,o,f,m,y,C){switch(f.tag){case sF:{var w=f.payload;if(typeof w=="function"){nF();var P=w.call(C,m,y);{if(i.mode&on){nr(!0);try{w.call(C,m,y)}finally{nr(!1)}}rF()}return P}return w}case GE:i.flags=i.flags&~Gi|gn;case oF:{var D=f.payload,F;if(typeof D=="function"){nF(),F=D.call(C,m,y);{if(i.mode&on){nr(!0);try{D.call(C,m,y)}finally{nr(!1)}}rF()}}else F=D;return F==null?m:an({},m,F)}case xk:return wk=!0,m}return m}function Rk(i,o,f,m){var y=i.updateQueue;wk=!1,_k=y.shared;var C=y.firstBaseUpdate,w=y.lastBaseUpdate,P=y.shared.pending;if(P!==null){y.shared.pending=null;var D=P,F=D.next;D.next=null,w===null?C=F:w.next=F,w=D;var B=i.alternate;if(B!==null){var ae=B.updateQueue,re=ae.lastBaseUpdate;re!==w&&(re===null?ae.firstBaseUpdate=F:re.next=F,ae.lastBaseUpdate=D)}}if(C!==null){var ge=y.baseState,be=Pe,we=null,st=null,Vt=null,Pt=C;do{var Mn=Pt.lane,xn=Pt.eventTime;if(Hu(m,Mn)){if(Vt!==null){var _e={eventTime:xn,lane:ri,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};Vt=Vt.next=_e}ge=die(i,y,Pt,ge,o,f);var de=Pt.callback;if(de!==null&&Pt.lane!==ri){i.flags|=pr;var $e=y.effects;$e===null?y.effects=[Pt]:$e.push(Pt)}}else{var ce={eventTime:xn,lane:Mn,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};Vt===null?(st=Vt=ce,we=ge):Vt=Vt.next=ce,be=ln(be,Mn)}if(Pt=Pt.next,Pt===null){if(P=y.shared.pending,P===null)break;var yt=P,ft=yt.next;yt.next=null,Pt=ft,y.lastBaseUpdate=yt,y.shared.pending=null}}while(!0);Vt===null&&(we=ge),y.baseState=we,y.firstBaseUpdate=st,y.lastBaseUpdate=Vt;var qt=y.shared.interleaved;if(qt!==null){var rn=qt;do be=ln(be,rn.lane),rn=rn.next;while(rn!==qt)}else C===null&&(y.shared.lanes=Pe);E0(be),i.lanes=be,i.memoizedState=ge}_k=null}function fie(i,o){if(typeof i!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+i));i.call(o)}function uF(){wk=!1}function Pk(){return wk}function cF(i,o,f){var m=o.effects;if(o.effects=null,m!==null)for(var y=0;y<m.length;y++){var C=m[y],w=C.callback;w!==null&&(C.callback=null,fie(w,f))}}var t0={},Id=Ad(t0),n0=Ad(t0),Dk=Ad(t0);function Ak(i){if(i===t0)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return i}function dF(){var i=Ak(Dk.current);return i}function QE(i,o){Na(Dk,o,i),Na(n0,i,i),Na(Id,t0,i);var f=Pne(o);La(Id,i),Na(Id,f,i)}function Xm(i){La(Id,i),La(n0,i),La(Dk,i)}function XE(){var i=Ak(Id.current);return i}function fF(i){Ak(Dk.current);var o=Ak(Id.current),f=Dne(o,i.type);o!==f&&(Na(n0,i,i),Na(Id,f,i))}function JE(i){n0.current===i&&(La(Id,i),La(n0,i))}var hie=0,hF=1,pF=1,r0=2,el=Ad(hie);function eR(i,o){return(i&o)!==0}function Jm(i){return i&hF}function tR(i,o){return i&hF|o}function pie(i,o){return i|o}function Ud(i,o){Na(el,o,i)}function eg(i){La(el,i)}function mie(i,o){var f=i.memoizedState;return f!==null?f.dehydrated!==null:(i.memoizedProps,!0)}function Ok(i){for(var o=i;o!==null;){if(o.tag===N){var f=o.memoizedState;if(f!==null){var m=f.dehydrated;if(m===null||AU(m)||bE(m))return o}}else if(o.tag===te&&o.memoizedProps.revealOrder!==void 0){var y=(o.flags&gn)!==Ot;if(y)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)return null;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var _o=0,Mi=1,Jl=2,Li=4,ua=8,nR=[];function rR(){for(var i=0;i<nR.length;i++){var o=nR[i];o._workInProgressVersionPrimary=null}nR.length=0}function gie(i,o){var f=o._getVersion,m=f(o._source);i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[o,m]:i.mutableSourceEagerHydrationData.push(o,m)}var gt=r.ReactCurrentDispatcher,i0=r.ReactCurrentBatchConfig,iR,tg;iR=new Set;var wh=Pe,dr=null,Ni=null,Ii=null,Mk=!1,a0=!1,o0=0,vie=0,yie=25,Ae=null,vs=null,Fd=-1,aR=!1;function Qn(){{var i=Ae;vs===null?vs=[i]:vs.push(i)}}function nt(){{var i=Ae;vs!==null&&(Fd++,vs[Fd]!==i&&bie(i))}}function ng(i){i!=null&&!sn(i)&&c("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ae,typeof i)}function bie(i){{var o=Zt(dr);if(!iR.has(o)&&(iR.add(o),vs!==null)){for(var f="",m=30,y=0;y<=Fd;y++){for(var C=vs[y],w=y===Fd?i:C,P=y+1+". "+C;P.length<m;)P+=" ";P+=w+`
|
|
167
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return m}function yk(i,o){var f=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}function bk(i){{var o=Zt(i)||"Component";if(VE[o])return;VE[o]=!0,c("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function JU(i){var o=i._payload,f=i._init;return f(o)}function eF(i){function o(ce,_e){if(i){var de=ce.deletions;de===null?(ce.deletions=[_e],ce.flags|=wa):de.push(_e)}}function f(ce,_e){if(!i)return null;for(var de=_e;de!==null;)o(ce,de),de=de.sibling;return null}function m(ce,_e){for(var de=new Map,$e=_e;$e!==null;)$e.key!==null?de.set($e.key,$e):de.set($e.index,$e),$e=$e.sibling;return de}function y(ce,_e){var de=Oh(ce,_e);return de.index=0,de.sibling=null,de}function C(ce,_e,de){if(ce.index=de,!i)return ce.flags|=Ff,_e;var $e=ce.alternate;if($e!==null){var yt=$e.index;return yt<_e?(ce.flags|=Fr,_e):yt}else return ce.flags|=Fr,_e}function w(ce){return i&&ce.alternate===null&&(ce.flags|=Fr),ce}function P(ce,_e,de,$e){if(_e===null||_e.tag!==R){var yt=NP(de,ce.mode,$e);return yt.return=ce,yt}else{var ft=y(_e,de);return ft.return=ce,ft}}function D(ce,_e,de,$e){var yt=de.type;if(yt===fn)return B(ce,_e,de.props.children,$e,de.key);if(_e!==null&&(_e.elementType===yt||aj(_e,de)||typeof yt=="object"&&yt!==null&&yt.$$typeof===Gt&&JU(yt)===_e.type)){var ft=y(_e,de.props);return ft.ref=e0(ce,_e,de),ft.return=ce,ft._debugSource=de._source,ft._debugOwner=de._owner,ft}var qt=LP(de,ce.mode,$e);return qt.ref=e0(ce,_e,de),qt.return=ce,qt}function F(ce,_e,de,$e){if(_e===null||_e.tag!==T||_e.stateNode.containerInfo!==de.containerInfo||_e.stateNode.implementation!==de.implementation){var yt=IP(de,ce.mode,$e);return yt.return=ce,yt}else{var ft=y(_e,de.children||[]);return ft.return=ce,ft}}function B(ce,_e,de,$e,yt){if(_e===null||_e.tag!==M){var ft=qd(de,ce.mode,$e,yt);return ft.return=ce,ft}else{var qt=y(_e,de);return qt.return=ce,qt}}function ae(ce,_e,de){if(typeof _e=="string"&&_e!==""||typeof _e=="number"){var $e=NP(""+_e,ce.mode,de);return $e.return=ce,$e}if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case Jt:{var yt=LP(_e,ce.mode,de);return yt.ref=e0(ce,null,_e),yt.return=ce,yt}case jt:{var ft=IP(_e,ce.mode,de);return ft.return=ce,ft}case Gt:{var qt=_e._payload,rn=_e._init;return ae(ce,rn(qt),de)}}if(sn(_e)||Er(_e)){var fr=qd(_e,ce.mode,de,null);return fr.return=ce,fr}yk(ce,_e)}return typeof _e=="function"&&bk(ce),null}function re(ce,_e,de,$e){var yt=_e!==null?_e.key:null;if(typeof de=="string"&&de!==""||typeof de=="number")return yt!==null?null:P(ce,_e,""+de,$e);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case Jt:return de.key===yt?D(ce,_e,de,$e):null;case jt:return de.key===yt?F(ce,_e,de,$e):null;case Gt:{var ft=de._payload,qt=de._init;return re(ce,_e,qt(ft),$e)}}if(sn(de)||Er(de))return yt!==null?null:B(ce,_e,de,$e,null);yk(ce,de)}return typeof de=="function"&&bk(ce),null}function ge(ce,_e,de,$e,yt){if(typeof $e=="string"&&$e!==""||typeof $e=="number"){var ft=ce.get(de)||null;return P(_e,ft,""+$e,yt)}if(typeof $e=="object"&&$e!==null){switch($e.$$typeof){case Jt:{var qt=ce.get($e.key===null?de:$e.key)||null;return D(_e,qt,$e,yt)}case jt:{var rn=ce.get($e.key===null?de:$e.key)||null;return F(_e,rn,$e,yt)}case Gt:var fr=$e._payload,Bn=$e._init;return ge(ce,_e,de,Bn(fr),yt)}if(sn($e)||Er($e)){var pi=ce.get(de)||null;return B(_e,pi,$e,yt,null)}yk(_e,$e)}return typeof $e=="function"&&bk(_e),null}function be(ce,_e,de){{if(typeof ce!="object"||ce===null)return _e;switch(ce.$$typeof){case Jt:case jt:XU(ce,de);var $e=ce.key;if(typeof $e!="string")break;if(_e===null){_e=new Set,_e.add($e);break}if(!_e.has($e)){_e.add($e);break}c("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",$e);break;case Gt:var yt=ce._payload,ft=ce._init;be(ft(yt),_e,de);break}}return _e}function we(ce,_e,de,$e){for(var yt=null,ft=0;ft<de.length;ft++){var qt=de[ft];yt=be(qt,yt,ce)}for(var rn=null,fr=null,Bn=_e,pi=0,Hn=0,ai=null;Bn!==null&&Hn<de.length;Hn++){Bn.index>Hn?(ai=Bn,Bn=null):ai=Bn.sibling;var Ua=re(ce,Bn,de[Hn],$e);if(Ua===null){Bn===null&&(Bn=ai);break}i&&Bn&&Ua.alternate===null&&o(ce,Bn),pi=C(Ua,pi,Hn),fr===null?rn=Ua:fr.sibling=Ua,fr=Ua,Bn=ai}if(Hn===de.length){if(f(ce,Bn),la()){var ma=Hn;bh(ce,ma)}return rn}if(Bn===null){for(;Hn<de.length;Hn++){var Wo=ae(ce,de[Hn],$e);Wo!==null&&(pi=C(Wo,pi,Hn),fr===null?rn=Wo:fr.sibling=Wo,fr=Wo)}if(la()){var Qa=Hn;bh(ce,Qa)}return rn}for(var Xa=m(ce,Bn);Hn<de.length;Hn++){var Fa=ge(Xa,ce,Hn,de[Hn],$e);Fa!==null&&(i&&Fa.alternate!==null&&Xa.delete(Fa.key===null?Hn:Fa.key),pi=C(Fa,pi,Hn),fr===null?rn=Fa:fr.sibling=Fa,fr=Fa)}if(i&&Xa.forEach(function(hg){return o(ce,hg)}),la()){var dc=Hn;bh(ce,dc)}return rn}function st(ce,_e,de,$e){var yt=Er(de);if(typeof yt!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&de[Symbol.toStringTag]==="Generator"&&(UE||c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),UE=!0),de.entries===yt&&(IE||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),IE=!0);var ft=yt.call(de);if(ft)for(var qt=null,rn=ft.next();!rn.done;rn=ft.next()){var fr=rn.value;qt=be(fr,qt,ce)}}var Bn=yt.call(de);if(Bn==null)throw new Error("An iterable object provided no iterator.");for(var pi=null,Hn=null,ai=_e,Ua=0,ma=0,Wo=null,Qa=Bn.next();ai!==null&&!Qa.done;ma++,Qa=Bn.next()){ai.index>ma?(Wo=ai,ai=null):Wo=ai.sibling;var Xa=re(ce,ai,Qa.value,$e);if(Xa===null){ai===null&&(ai=Wo);break}i&&ai&&Xa.alternate===null&&o(ce,ai),Ua=C(Xa,Ua,ma),Hn===null?pi=Xa:Hn.sibling=Xa,Hn=Xa,ai=Wo}if(Qa.done){if(f(ce,ai),la()){var Fa=ma;bh(ce,Fa)}return pi}if(ai===null){for(;!Qa.done;ma++,Qa=Bn.next()){var dc=ae(ce,Qa.value,$e);dc!==null&&(Ua=C(dc,Ua,ma),Hn===null?pi=dc:Hn.sibling=dc,Hn=dc)}if(la()){var hg=ma;bh(ce,hg)}return pi}for(var O0=m(ce,ai);!Qa.done;ma++,Qa=Bn.next()){var ou=ge(O0,ce,ma,Qa.value,$e);ou!==null&&(i&&ou.alternate!==null&&O0.delete(ou.key===null?ma:ou.key),Ua=C(ou,Ua,ma),Hn===null?pi=ou:Hn.sibling=ou,Hn=ou)}if(i&&O0.forEach(function(Rse){return o(ce,Rse)}),la()){var Ese=ma;bh(ce,Ese)}return pi}function Vt(ce,_e,de,$e){if(_e!==null&&_e.tag===R){f(ce,_e.sibling);var yt=y(_e,de);return yt.return=ce,yt}f(ce,_e);var ft=NP(de,ce.mode,$e);return ft.return=ce,ft}function Pt(ce,_e,de,$e){for(var yt=de.key,ft=_e;ft!==null;){if(ft.key===yt){var qt=de.type;if(qt===fn){if(ft.tag===M){f(ce,ft.sibling);var rn=y(ft,de.props.children);return rn.return=ce,rn._debugSource=de._source,rn._debugOwner=de._owner,rn}}else if(ft.elementType===qt||aj(ft,de)||typeof qt=="object"&&qt!==null&&qt.$$typeof===Gt&&JU(qt)===ft.type){f(ce,ft.sibling);var fr=y(ft,de.props);return fr.ref=e0(ce,ft,de),fr.return=ce,fr._debugSource=de._source,fr._debugOwner=de._owner,fr}f(ce,ft);break}else o(ce,ft);ft=ft.sibling}if(de.type===fn){var Bn=qd(de.props.children,ce.mode,$e,de.key);return Bn.return=ce,Bn}else{var pi=LP(de,ce.mode,$e);return pi.ref=e0(ce,_e,de),pi.return=ce,pi}}function Mn(ce,_e,de,$e){for(var yt=de.key,ft=_e;ft!==null;){if(ft.key===yt)if(ft.tag===T&&ft.stateNode.containerInfo===de.containerInfo&&ft.stateNode.implementation===de.implementation){f(ce,ft.sibling);var qt=y(ft,de.children||[]);return qt.return=ce,qt}else{f(ce,ft);break}else o(ce,ft);ft=ft.sibling}var rn=IP(de,ce.mode,$e);return rn.return=ce,rn}function xn(ce,_e,de,$e){var yt=typeof de=="object"&&de!==null&&de.type===fn&&de.key===null;if(yt&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case Jt:return w(Pt(ce,_e,de,$e));case jt:return w(Mn(ce,_e,de,$e));case Gt:var ft=de._payload,qt=de._init;return xn(ce,_e,qt(ft),$e)}if(sn(de))return we(ce,_e,de,$e);if(Er(de))return st(ce,_e,de,$e);yk(ce,de)}return typeof de=="string"&&de!==""||typeof de=="number"?w(Vt(ce,_e,""+de,$e)):(typeof de=="function"&&bk(ce),f(ce,_e))}return xn}var Km=eF(!0),tF=eF(!1);function rie(i,o){if(i!==null&&o.child!==i.child)throw new Error("Resuming work not yet implemented.");if(o.child!==null){var f=o.child,m=Oh(f,f.pendingProps);for(o.child=m,m.return=o;f.sibling!==null;)f=f.sibling,m=m.sibling=Oh(f,f.pendingProps),m.return=o;m.sibling=null}}function iie(i,o){for(var f=i.child;f!==null;)qoe(f,o),f=f.sibling}var zE=Ad(null),BE;BE={};var Sk=null,Zm=null,HE=null,Ck=!1;function kk(){Sk=null,Zm=null,HE=null,Ck=!1}function nF(){Ck=!0}function rF(){Ck=!1}function iF(i,o,f){Na(zE,o._currentValue,i),o._currentValue=f,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==BE&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=BE}function $E(i,o){var f=zE.current;La(zE,o),i._currentValue=f}function qE(i,o,f){for(var m=i;m!==null;){var y=m.alternate;if(Hu(m.childLanes,o)?y!==null&&!Hu(y.childLanes,o)&&(y.childLanes=ln(y.childLanes,o)):(m.childLanes=ln(m.childLanes,o),y!==null&&(y.childLanes=ln(y.childLanes,o))),m===f)break;m=m.return}m!==f&&c("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function aie(i,o,f){oie(i,o,f)}function oie(i,o,f){var m=i.child;for(m!==null&&(m.return=i);m!==null;){var y=void 0,C=m.dependencies;if(C!==null){y=m.child;for(var w=C.firstContext;w!==null;){if(w.context===o){if(m.tag===v){var P=Si(f),D=ac(rr,P);D.tag=xk;var F=m.updateQueue;if(F!==null){var B=F.shared,ae=B.pending;ae===null?D.next=D:(D.next=ae.next,ae.next=D),B.pending=D}}m.lanes=ln(m.lanes,f);var re=m.alternate;re!==null&&(re.lanes=ln(re.lanes,f)),qE(m.return,f,i),C.lanes=ln(C.lanes,f);break}w=w.next}}else if(m.tag===V)y=m.type===i.type?null:m.child;else if(m.tag===oe){var ge=m.return;if(ge===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ge.lanes=ln(ge.lanes,f);var be=ge.alternate;be!==null&&(be.lanes=ln(be.lanes,f)),qE(ge,f,i),y=m.sibling}else y=m.child;if(y!==null)y.return=m;else for(y=m;y!==null;){if(y===i){y=null;break}var we=y.sibling;if(we!==null){we.return=y.return,y=we;break}y=y.return}m=y}}function Qm(i,o){Sk=i,Zm=null,HE=null;var f=i.dependencies;if(f!==null){var m=f.firstContext;m!==null&&(Aa(f.lanes,o)&&m0(),f.firstContext=null)}}function ki(i){Ck&&c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var o=i._currentValue;if(HE!==i){var f={context:i,memoizedValue:o,next:null};if(Zm===null){if(Sk===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Zm=f,Sk.dependencies={lanes:Pe,firstContext:f}}else Zm=Zm.next=f}return o}var xh=null;function WE(i){xh===null?xh=[i]:xh.push(i)}function sie(){if(xh!==null){for(var i=0;i<xh.length;i++){var o=xh[i],f=o.interleaved;if(f!==null){o.interleaved=null;var m=f.next,y=o.pending;if(y!==null){var C=y.next;y.next=m,f.next=C}o.pending=f}}xh=null}}function aF(i,o,f,m){var y=o.interleaved;return y===null?(f.next=f,WE(o)):(f.next=y.next,y.next=f),o.interleaved=f,Tk(i,m)}function lie(i,o,f,m){var y=o.interleaved;y===null?(f.next=f,WE(o)):(f.next=y.next,y.next=f),o.interleaved=f}function uie(i,o,f,m){var y=o.interleaved;return y===null?(f.next=f,WE(o)):(f.next=y.next,y.next=f),o.interleaved=f,Tk(i,m)}function wo(i,o){return Tk(i,o)}var cie=Tk;function Tk(i,o){i.lanes=ln(i.lanes,o);var f=i.alternate;f!==null&&(f.lanes=ln(f.lanes,o)),f===null&&(i.flags&(Fr|jr))!==Ot&&tj(i);for(var m=i,y=i.return;y!==null;)y.childLanes=ln(y.childLanes,o),f=y.alternate,f!==null?f.childLanes=ln(f.childLanes,o):(y.flags&(Fr|jr))!==Ot&&tj(i),m=y,y=y.return;if(m.tag===k){var C=m.stateNode;return C}else return null}var oF=0,sF=1,xk=2,GE=3,wk=!1,YE,_k;YE=!1,_k=null;function KE(i){var o={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Pe},effects:null};i.updateQueue=o}function lF(i,o){var f=o.updateQueue,m=i.updateQueue;if(f===m){var y={baseState:m.baseState,firstBaseUpdate:m.firstBaseUpdate,lastBaseUpdate:m.lastBaseUpdate,shared:m.shared,effects:m.effects};o.updateQueue=y}}function ac(i,o){var f={eventTime:i,lane:o,tag:oF,payload:null,callback:null,next:null};return f}function Nd(i,o,f){var m=i.updateQueue;if(m===null)return null;var y=m.shared;if(_k===y&&!YE&&(c("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),YE=!0),loe()){var C=y.pending;return C===null?o.next=o:(o.next=C.next,C.next=o),y.pending=o,cie(i,f)}else return uie(i,y,o,f)}function Ek(i,o,f){var m=o.updateQueue;if(m!==null){var y=m.shared;if(py(f)){var C=y.lanes;C=gm(C,i.pendingLanes);var w=ln(C,f);y.lanes=w,eh(i,w)}}}function ZE(i,o){var f=i.updateQueue,m=i.alternate;if(m!==null){var y=m.updateQueue;if(f===y){var C=null,w=null,P=f.firstBaseUpdate;if(P!==null){var D=P;do{var F={eventTime:D.eventTime,lane:D.lane,tag:D.tag,payload:D.payload,callback:D.callback,next:null};w===null?C=w=F:(w.next=F,w=F),D=D.next}while(D!==null);w===null?C=w=o:(w.next=o,w=o)}else C=w=o;f={baseState:y.baseState,firstBaseUpdate:C,lastBaseUpdate:w,shared:y.shared,effects:y.effects},i.updateQueue=f;return}}var B=f.lastBaseUpdate;B===null?f.firstBaseUpdate=o:B.next=o,f.lastBaseUpdate=o}function die(i,o,f,m,y,C){switch(f.tag){case sF:{var w=f.payload;if(typeof w=="function"){nF();var P=w.call(C,m,y);{if(i.mode&on){nr(!0);try{w.call(C,m,y)}finally{nr(!1)}}rF()}return P}return w}case GE:i.flags=i.flags&~Gi|vn;case oF:{var D=f.payload,F;if(typeof D=="function"){nF(),F=D.call(C,m,y);{if(i.mode&on){nr(!0);try{D.call(C,m,y)}finally{nr(!1)}}rF()}}else F=D;return F==null?m:an({},m,F)}case xk:return wk=!0,m}return m}function Rk(i,o,f,m){var y=i.updateQueue;wk=!1,_k=y.shared;var C=y.firstBaseUpdate,w=y.lastBaseUpdate,P=y.shared.pending;if(P!==null){y.shared.pending=null;var D=P,F=D.next;D.next=null,w===null?C=F:w.next=F,w=D;var B=i.alternate;if(B!==null){var ae=B.updateQueue,re=ae.lastBaseUpdate;re!==w&&(re===null?ae.firstBaseUpdate=F:re.next=F,ae.lastBaseUpdate=D)}}if(C!==null){var ge=y.baseState,be=Pe,we=null,st=null,Vt=null,Pt=C;do{var Mn=Pt.lane,xn=Pt.eventTime;if(Hu(m,Mn)){if(Vt!==null){var _e={eventTime:xn,lane:ri,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};Vt=Vt.next=_e}ge=die(i,y,Pt,ge,o,f);var de=Pt.callback;if(de!==null&&Pt.lane!==ri){i.flags|=pr;var $e=y.effects;$e===null?y.effects=[Pt]:$e.push(Pt)}}else{var ce={eventTime:xn,lane:Mn,tag:Pt.tag,payload:Pt.payload,callback:Pt.callback,next:null};Vt===null?(st=Vt=ce,we=ge):Vt=Vt.next=ce,be=ln(be,Mn)}if(Pt=Pt.next,Pt===null){if(P=y.shared.pending,P===null)break;var yt=P,ft=yt.next;yt.next=null,Pt=ft,y.lastBaseUpdate=yt,y.shared.pending=null}}while(!0);Vt===null&&(we=ge),y.baseState=we,y.firstBaseUpdate=st,y.lastBaseUpdate=Vt;var qt=y.shared.interleaved;if(qt!==null){var rn=qt;do be=ln(be,rn.lane),rn=rn.next;while(rn!==qt)}else C===null&&(y.shared.lanes=Pe);E0(be),i.lanes=be,i.memoizedState=ge}_k=null}function fie(i,o){if(typeof i!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+i));i.call(o)}function uF(){wk=!1}function Pk(){return wk}function cF(i,o,f){var m=o.effects;if(o.effects=null,m!==null)for(var y=0;y<m.length;y++){var C=m[y],w=C.callback;w!==null&&(C.callback=null,fie(w,f))}}var t0={},Id=Ad(t0),n0=Ad(t0),Dk=Ad(t0);function Ak(i){if(i===t0)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return i}function dF(){var i=Ak(Dk.current);return i}function QE(i,o){Na(Dk,o,i),Na(n0,i,i),Na(Id,t0,i);var f=Pne(o);La(Id,i),Na(Id,f,i)}function Xm(i){La(Id,i),La(n0,i),La(Dk,i)}function XE(){var i=Ak(Id.current);return i}function fF(i){Ak(Dk.current);var o=Ak(Id.current),f=Dne(o,i.type);o!==f&&(Na(n0,i,i),Na(Id,f,i))}function JE(i){n0.current===i&&(La(Id,i),La(n0,i))}var hie=0,hF=1,pF=1,r0=2,el=Ad(hie);function eR(i,o){return(i&o)!==0}function Jm(i){return i&hF}function tR(i,o){return i&hF|o}function pie(i,o){return i|o}function Ud(i,o){Na(el,o,i)}function eg(i){La(el,i)}function mie(i,o){var f=i.memoizedState;return f!==null?f.dehydrated!==null:(i.memoizedProps,!0)}function Ok(i){for(var o=i;o!==null;){if(o.tag===N){var f=o.memoizedState;if(f!==null){var m=f.dehydrated;if(m===null||AU(m)||bE(m))return o}}else if(o.tag===te&&o.memoizedProps.revealOrder!==void 0){var y=(o.flags&vn)!==Ot;if(y)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)return null;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var _o=0,Mi=1,Jl=2,Li=4,ua=8,nR=[];function rR(){for(var i=0;i<nR.length;i++){var o=nR[i];o._workInProgressVersionPrimary=null}nR.length=0}function gie(i,o){var f=o._getVersion,m=f(o._source);i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[o,m]:i.mutableSourceEagerHydrationData.push(o,m)}var gt=r.ReactCurrentDispatcher,i0=r.ReactCurrentBatchConfig,iR,tg;iR=new Set;var wh=Pe,dr=null,Ni=null,Ii=null,Mk=!1,a0=!1,o0=0,vie=0,yie=25,Ae=null,vs=null,Fd=-1,aR=!1;function Qn(){{var i=Ae;vs===null?vs=[i]:vs.push(i)}}function nt(){{var i=Ae;vs!==null&&(Fd++,vs[Fd]!==i&&bie(i))}}function ng(i){i!=null&&!sn(i)&&c("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ae,typeof i)}function bie(i){{var o=Zt(dr);if(!iR.has(o)&&(iR.add(o),vs!==null)){for(var f="",m=30,y=0;y<=Fd;y++){for(var C=vs[y],w=y===Fd?i:C,P=y+1+". "+C;P.length<m;)P+=" ";P+=w+`
|
|
168
168
|
`,f+=P}c(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
169
169
|
|
|
170
170
|
Previous render Next render
|
|
@@ -177,7 +177,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
177
177
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function oR(i,o){if(aR)return!1;if(o===null)return c("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Ae),!1;i.length!==o.length&&c(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
178
178
|
|
|
179
179
|
Previous: %s
|
|
180
|
-
Incoming: %s`,Ae,"["+o.join(", ")+"]","["+i.join(", ")+"]");for(var f=0;f<o.length&&f<i.length;f++)if(!dt(i[f],o[f]))return!1;return!0}function rg(i,o,f,m,y,C){wh=C,dr=o,vs=i!==null?i._debugHookTypes:null,Fd=-1,aR=i!==null&&i.type!==o.type,o.memoizedState=null,o.updateQueue=null,o.lanes=Pe,i!==null&&i.memoizedState!==null?gt.current=IF:vs!==null?gt.current=NF:gt.current=LF;var w=f(m,y);if(a0){var P=0;do{if(a0=!1,o0=0,P>=yie)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");P+=1,aR=!1,Ni=null,Ii=null,o.updateQueue=null,Fd=-1,gt.current=UF,w=f(m,y)}while(a0)}gt.current=Wk,o._debugHookTypes=vs;var D=Ni!==null&&Ni.next!==null;if(wh=Pe,dr=null,Ni=null,Ii=null,Ae=null,vs=null,Fd=-1,i!==null&&(i.flags&ni)!==(o.flags&ni)&&(i.mode&yn)!==Mt&&c("Internal React error: Expected static flag was missing. Please notify the React team."),Mk=!1,D)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function ig(){var i=o0!==0;return o0=0,i}function mF(i,o,f){o.updateQueue=i.updateQueue,(o.mode&cr)!==Mt?o.flags&=-50333701:o.flags&=-2053,i.lanes=Jf(i.lanes,f)}function gF(){if(gt.current=Wk,Mk){for(var i=dr.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}Mk=!1}wh=Pe,dr=null,Ni=null,Ii=null,vs=null,Fd=-1,Ae=null,PF=!1,a0=!1,o0=0}function eu(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ii===null?dr.memoizedState=Ii=i:Ii=Ii.next=i,Ii}function ys(){var i;if(Ni===null){var o=dr.alternate;o!==null?i=o.memoizedState:i=null}else i=Ni.next;var f;if(Ii===null?f=dr.memoizedState:f=Ii.next,f!==null)Ii=f,f=Ii.next,Ni=i;else{if(i===null)throw new Error("Rendered more hooks than during the previous render.");Ni=i;var m={memoizedState:Ni.memoizedState,baseState:Ni.baseState,baseQueue:Ni.baseQueue,queue:Ni.queue,next:null};Ii===null?dr.memoizedState=Ii=m:Ii=Ii.next=m}return Ii}function vF(){return{lastEffect:null,stores:null}}function sR(i,o){return typeof o=="function"?o(i):o}function lR(i,o,f){var m=eu(),y;f!==void 0?y=f(o):y=o,m.memoizedState=m.baseState=y;var C={pending:null,interleaved:null,lanes:Pe,dispatch:null,lastRenderedReducer:i,lastRenderedState:y};m.queue=C;var w=C.dispatch=Tie.bind(null,dr,C);return[m.memoizedState,w]}function uR(i,o,f){var m=ys(),y=m.queue;if(y===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");y.lastRenderedReducer=i;var C=Ni,w=C.baseQueue,P=y.pending;if(P!==null){if(w!==null){var D=w.next,F=P.next;w.next=F,P.next=D}C.baseQueue!==w&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),C.baseQueue=w=P,y.pending=null}if(w!==null){var B=w.next,ae=C.baseState,re=null,ge=null,be=null,we=B;do{var st=we.lane;if(Hu(wh,st)){if(be!==null){var Pt={lane:ri,action:we.action,hasEagerState:we.hasEagerState,eagerState:we.eagerState,next:null};be=be.next=Pt}if(we.hasEagerState)ae=we.eagerState;else{var Mn=we.action;ae=i(ae,Mn)}}else{var Vt={lane:st,action:we.action,hasEagerState:we.hasEagerState,eagerState:we.eagerState,next:null};be===null?(ge=be=Vt,re=ae):be=be.next=Vt,dr.lanes=ln(dr.lanes,st),E0(st)}we=we.next}while(we!==null&&we!==B);be===null?re=ae:be.next=ge,dt(ae,m.memoizedState)||m0(),m.memoizedState=ae,m.baseState=re,m.baseQueue=be,y.lastRenderedState=ae}var xn=y.interleaved;if(xn!==null){var ce=xn;do{var _e=ce.lane;dr.lanes=ln(dr.lanes,_e),E0(_e),ce=ce.next}while(ce!==xn)}else w===null&&(y.lanes=Pe);var de=y.dispatch;return[m.memoizedState,de]}function cR(i,o,f){var m=ys(),y=m.queue;if(y===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");y.lastRenderedReducer=i;var C=y.dispatch,w=y.pending,P=m.memoizedState;if(w!==null){y.pending=null;var D=w.next,F=D;do{var B=F.action;P=i(P,B),F=F.next}while(F!==D);dt(P,m.memoizedState)||m0(),m.memoizedState=P,m.baseQueue===null&&(m.baseState=P),y.lastRenderedState=P}return[P,C]}function ele(i,o,f){}function tle(i,o,f){}function dR(i,o,f){var m=dr,y=eu(),C,w=la();if(w){if(f===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");C=f(),tg||C!==f()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),tg=!0)}else{if(C=o(),!tg){var P=o();dt(C,P)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),tg=!0)}var D=d1();if(D===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Xf(D,wh)||yF(m,o,C)}y.memoizedState=C;var F={value:C,getSnapshot:o};return y.queue=F,Fk(SF.bind(null,m,F,i),[i]),m.flags|=Ba,s0(Mi|ua,bF.bind(null,m,F,C,o),void 0,null),C}function Lk(i,o,f){var m=dr,y=ys(),C=o();if(!tg){var w=o();dt(C,w)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),tg=!0)}var P=y.memoizedState,D=!dt(P,C);D&&(y.memoizedState=C,m0());var F=y.queue;if(u0(SF.bind(null,m,F,i),[i]),F.getSnapshot!==o||D||Ii!==null&&Ii.memoizedState.tag&Mi){m.flags|=Ba,s0(Mi|ua,bF.bind(null,m,F,C,o),void 0,null);var B=d1();if(B===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Xf(B,wh)||yF(m,o,C)}return C}function yF(i,o,f){i.flags|=$p;var m={getSnapshot:o,value:f},y=dr.updateQueue;if(y===null)y=vF(),dr.updateQueue=y,y.stores=[m];else{var C=y.stores;C===null?y.stores=[m]:C.push(m)}}function bF(i,o,f,m){o.value=f,o.getSnapshot=m,CF(o)&&kF(i)}function SF(i,o,f){var m=function(){CF(o)&&kF(i)};return f(m)}function CF(i){var o=i.getSnapshot,f=i.value;try{var m=o();return!dt(f,m)}catch{return!0}}function kF(i){var o=wo(i,Ht);o!==null&&Vi(o,i,Ht,rr)}function Nk(i){var o=eu();typeof i=="function"&&(i=i()),o.memoizedState=o.baseState=i;var f={pending:null,interleaved:null,lanes:Pe,dispatch:null,lastRenderedReducer:sR,lastRenderedState:i};o.queue=f;var m=f.dispatch=xie.bind(null,dr,f);return[o.memoizedState,m]}function fR(i){return uR(sR)}function hR(i){return cR(sR)}function s0(i,o,f,m){var y={tag:i,create:o,destroy:f,deps:m,next:null},C=dr.updateQueue;if(C===null)C=vF(),dr.updateQueue=C,C.lastEffect=y.next=y;else{var w=C.lastEffect;if(w===null)C.lastEffect=y.next=y;else{var P=w.next;w.next=y,y.next=P,C.lastEffect=y}}return y}function pR(i){var o=eu();{var f={current:i};return o.memoizedState=f,f}}function Ik(i){var o=ys();return o.memoizedState}function l0(i,o,f,m){var y=eu(),C=m===void 0?null:m;dr.flags|=i,y.memoizedState=s0(Mi|o,f,void 0,C)}function Uk(i,o,f,m){var y=ys(),C=m===void 0?null:m,w=void 0;if(Ni!==null){var P=Ni.memoizedState;if(w=P.destroy,C!==null){var D=P.deps;if(oR(C,D)){y.memoizedState=s0(o,f,w,C);return}}}dr.flags|=i,y.memoizedState=s0(Mi|o,f,w,C)}function Fk(i,o){return(dr.mode&cr)!==Mt?l0(Ml|Ba|Yv,ua,i,o):l0(Ba|Yv,ua,i,o)}function u0(i,o){return Uk(Ba,ua,i,o)}function mR(i,o){return l0(kn,Jl,i,o)}function jk(i,o){return Uk(kn,Jl,i,o)}function gR(i,o){var f=kn;return f|=Ol,(dr.mode&cr)!==Mt&&(f|=ia),l0(f,Li,i,o)}function Vk(i,o){return Uk(kn,Li,i,o)}function TF(i,o){if(typeof o=="function"){var f=o,m=i();return f(m),function(){f(null)}}else if(o!=null){var y=o;y.hasOwnProperty("current")||c("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(y).join(", ")+"}");var C=i();return y.current=C,function(){y.current=null}}}function vR(i,o,f){typeof o!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null");var m=f!=null?f.concat([i]):null,y=kn;return y|=Ol,(dr.mode&cr)!==Mt&&(y|=ia),l0(y,Li,TF.bind(null,o,i),m)}function zk(i,o,f){typeof o!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null");var m=f!=null?f.concat([i]):null;return Uk(kn,Li,TF.bind(null,o,i),m)}function Sie(i,o){}var Bk=Sie;function yR(i,o){var f=eu(),m=o===void 0?null:o;return f.memoizedState=[i,m],i}function Hk(i,o){var f=ys(),m=o===void 0?null:o,y=f.memoizedState;if(y!==null&&m!==null){var C=y[1];if(oR(m,C))return y[0]}return f.memoizedState=[i,m],i}function bR(i,o){var f=eu(),m=o===void 0?null:o,y=i();return f.memoizedState=[y,m],y}function $k(i,o){var f=ys(),m=o===void 0?null:o,y=f.memoizedState;if(y!==null&&m!==null){var C=y[1];if(oR(m,C))return y[0]}var w=i();return f.memoizedState=[w,m],w}function SR(i){var o=eu();return o.memoizedState=i,i}function xF(i){var o=ys(),f=Ni,m=f.memoizedState;return _F(o,m,i)}function wF(i){var o=ys();if(Ni===null)return o.memoizedState=i,i;var f=Ni.memoizedState;return _F(o,f,i)}function _F(i,o,f){var m=!hy(wh);if(m){if(!dt(f,o)){var y=my();dr.lanes=ln(dr.lanes,y),E0(y),i.baseState=!0}return o}else return i.baseState&&(i.baseState=!1,m0()),i.memoizedState=f,f}function Cie(i,o,f){var m=$a();di(th(m,So)),i(!0);var y=i0.transition;i0.transition={};var C=i0.transition;i0.transition._updatedFibers=new Set;try{i(!1),o()}finally{if(di(m),i0.transition=y,y===null&&C._updatedFibers){var w=C._updatedFibers.size;w>10&&l("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),C._updatedFibers.clear()}}}function CR(){var i=Nk(!1),o=i[0],f=i[1],m=Cie.bind(null,f),y=eu();return y.memoizedState=m,[o,m]}function EF(){var i=fR(),o=i[0],f=ys(),m=f.memoizedState;return[o,m]}function RF(){var i=hR(),o=i[0],f=ys(),m=f.memoizedState;return[o,m]}var PF=!1;function kie(){return PF}function kR(){var i=eu(),o=d1(),f=o.identifierPrefix,m;if(la()){var y=jre();m=":"+f+"R"+y;var C=o0++;C>0&&(m+="H"+C.toString(32)),m+=":"}else{var w=vie++;m=":"+f+"r"+w.toString(32)+":"}return i.memoizedState=m,m}function qk(){var i=ys(),o=i.memoizedState;return o}function Tie(i,o,f){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var m=Hd(i),y={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(DF(i))AF(o,y);else{var C=aF(i,o,y,m);if(C!==null){var w=Za();Vi(C,i,m,w),OF(C,o,m)}}MF(i,m)}function xie(i,o,f){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var m=Hd(i),y={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(DF(i))AF(o,y);else{var C=i.alternate;if(i.lanes===Pe&&(C===null||C.lanes===Pe)){var w=o.lastRenderedReducer;if(w!==null){var P;P=gt.current,gt.current=tl;try{var D=o.lastRenderedState,F=w(D,f);if(y.hasEagerState=!0,y.eagerState=F,dt(F,D)){lie(i,o,y,m);return}}catch{}finally{gt.current=P}}}var B=aF(i,o,y,m);if(B!==null){var ae=Za();Vi(B,i,m,ae),OF(B,o,m)}}MF(i,m)}function DF(i){var o=i.alternate;return i===dr||o!==null&&o===dr}function AF(i,o){a0=Mk=!0;var f=i.pending;f===null?o.next=o:(o.next=f.next,f.next=o),i.pending=o}function OF(i,o,f){if(py(f)){var m=o.lanes;m=gm(m,i.pendingLanes);var y=ln(m,f);o.lanes=y,eh(i,y)}}function MF(i,o,f){$f(i,o)}var Wk={readContext:ki,useCallback:Ia,useContext:Ia,useEffect:Ia,useImperativeHandle:Ia,useInsertionEffect:Ia,useLayoutEffect:Ia,useMemo:Ia,useReducer:Ia,useRef:Ia,useState:Ia,useDebugValue:Ia,useDeferredValue:Ia,useTransition:Ia,useMutableSource:Ia,useSyncExternalStore:Ia,useId:Ia,unstable_isNewReconciler:Be},LF=null,NF=null,IF=null,UF=null,tu=null,tl=null,Gk=null;{var TR=function(){c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},tn=function(){c("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};LF={readContext:function(i){return ki(i)},useCallback:function(i,o){return Ae="useCallback",Qn(),ng(o),yR(i,o)},useContext:function(i){return Ae="useContext",Qn(),ki(i)},useEffect:function(i,o){return Ae="useEffect",Qn(),ng(o),Fk(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",Qn(),ng(f),vR(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",Qn(),ng(o),mR(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",Qn(),ng(o),gR(i,o)},useMemo:function(i,o){Ae="useMemo",Qn(),ng(o);var f=gt.current;gt.current=tu;try{return bR(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",Qn();var m=gt.current;gt.current=tu;try{return lR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",Qn(),pR(i)},useState:function(i){Ae="useState",Qn();var o=gt.current;gt.current=tu;try{return Nk(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",Qn(),void 0},useDeferredValue:function(i){return Ae="useDeferredValue",Qn(),SR(i)},useTransition:function(){return Ae="useTransition",Qn(),CR()},useMutableSource:function(i,o,f){return Ae="useMutableSource",Qn(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",Qn(),dR(i,o,f)},useId:function(){return Ae="useId",Qn(),kR()},unstable_isNewReconciler:Be},NF={readContext:function(i){return ki(i)},useCallback:function(i,o){return Ae="useCallback",nt(),yR(i,o)},useContext:function(i){return Ae="useContext",nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",nt(),Fk(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",nt(),vR(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",nt(),mR(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",nt(),gR(i,o)},useMemo:function(i,o){Ae="useMemo",nt();var f=gt.current;gt.current=tu;try{return bR(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",nt();var m=gt.current;gt.current=tu;try{return lR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",nt(),pR(i)},useState:function(i){Ae="useState",nt();var o=gt.current;gt.current=tu;try{return Nk(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",nt(),void 0},useDeferredValue:function(i){return Ae="useDeferredValue",nt(),SR(i)},useTransition:function(){return Ae="useTransition",nt(),CR()},useMutableSource:function(i,o,f){return Ae="useMutableSource",nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",nt(),dR(i,o,f)},useId:function(){return Ae="useId",nt(),kR()},unstable_isNewReconciler:Be},IF={readContext:function(i){return ki(i)},useCallback:function(i,o){return Ae="useCallback",nt(),Hk(i,o)},useContext:function(i){return Ae="useContext",nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",nt(),u0(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",nt(),zk(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",nt(),jk(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",nt(),Vk(i,o)},useMemo:function(i,o){Ae="useMemo",nt();var f=gt.current;gt.current=tl;try{return $k(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",nt();var m=gt.current;gt.current=tl;try{return uR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",nt(),Ik()},useState:function(i){Ae="useState",nt();var o=gt.current;gt.current=tl;try{return fR(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",nt(),Bk()},useDeferredValue:function(i){return Ae="useDeferredValue",nt(),xF(i)},useTransition:function(){return Ae="useTransition",nt(),EF()},useMutableSource:function(i,o,f){return Ae="useMutableSource",nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",nt(),Lk(i,o)},useId:function(){return Ae="useId",nt(),qk()},unstable_isNewReconciler:Be},UF={readContext:function(i){return ki(i)},useCallback:function(i,o){return Ae="useCallback",nt(),Hk(i,o)},useContext:function(i){return Ae="useContext",nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",nt(),u0(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",nt(),zk(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",nt(),jk(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",nt(),Vk(i,o)},useMemo:function(i,o){Ae="useMemo",nt();var f=gt.current;gt.current=Gk;try{return $k(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",nt();var m=gt.current;gt.current=Gk;try{return cR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",nt(),Ik()},useState:function(i){Ae="useState",nt();var o=gt.current;gt.current=Gk;try{return hR(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",nt(),Bk()},useDeferredValue:function(i){return Ae="useDeferredValue",nt(),wF(i)},useTransition:function(){return Ae="useTransition",nt(),RF()},useMutableSource:function(i,o,f){return Ae="useMutableSource",nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",nt(),Lk(i,o)},useId:function(){return Ae="useId",nt(),qk()},unstable_isNewReconciler:Be},tu={readContext:function(i){return TR(),ki(i)},useCallback:function(i,o){return Ae="useCallback",tn(),Qn(),yR(i,o)},useContext:function(i){return Ae="useContext",tn(),Qn(),ki(i)},useEffect:function(i,o){return Ae="useEffect",tn(),Qn(),Fk(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",tn(),Qn(),vR(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",tn(),Qn(),mR(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",tn(),Qn(),gR(i,o)},useMemo:function(i,o){Ae="useMemo",tn(),Qn();var f=gt.current;gt.current=tu;try{return bR(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",tn(),Qn();var m=gt.current;gt.current=tu;try{return lR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",tn(),Qn(),pR(i)},useState:function(i){Ae="useState",tn(),Qn();var o=gt.current;gt.current=tu;try{return Nk(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",tn(),Qn(),void 0},useDeferredValue:function(i){return Ae="useDeferredValue",tn(),Qn(),SR(i)},useTransition:function(){return Ae="useTransition",tn(),Qn(),CR()},useMutableSource:function(i,o,f){return Ae="useMutableSource",tn(),Qn(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",tn(),Qn(),dR(i,o,f)},useId:function(){return Ae="useId",tn(),Qn(),kR()},unstable_isNewReconciler:Be},tl={readContext:function(i){return TR(),ki(i)},useCallback:function(i,o){return Ae="useCallback",tn(),nt(),Hk(i,o)},useContext:function(i){return Ae="useContext",tn(),nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",tn(),nt(),u0(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",tn(),nt(),zk(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",tn(),nt(),jk(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",tn(),nt(),Vk(i,o)},useMemo:function(i,o){Ae="useMemo",tn(),nt();var f=gt.current;gt.current=tl;try{return $k(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",tn(),nt();var m=gt.current;gt.current=tl;try{return uR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",tn(),nt(),Ik()},useState:function(i){Ae="useState",tn(),nt();var o=gt.current;gt.current=tl;try{return fR(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",tn(),nt(),Bk()},useDeferredValue:function(i){return Ae="useDeferredValue",tn(),nt(),xF(i)},useTransition:function(){return Ae="useTransition",tn(),nt(),EF()},useMutableSource:function(i,o,f){return Ae="useMutableSource",tn(),nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",tn(),nt(),Lk(i,o)},useId:function(){return Ae="useId",tn(),nt(),qk()},unstable_isNewReconciler:Be},Gk={readContext:function(i){return TR(),ki(i)},useCallback:function(i,o){return Ae="useCallback",tn(),nt(),Hk(i,o)},useContext:function(i){return Ae="useContext",tn(),nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",tn(),nt(),u0(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",tn(),nt(),zk(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",tn(),nt(),jk(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",tn(),nt(),Vk(i,o)},useMemo:function(i,o){Ae="useMemo",tn(),nt();var f=gt.current;gt.current=tl;try{return $k(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",tn(),nt();var m=gt.current;gt.current=tl;try{return cR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",tn(),nt(),Ik()},useState:function(i){Ae="useState",tn(),nt();var o=gt.current;gt.current=tl;try{return hR(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",tn(),nt(),Bk()},useDeferredValue:function(i){return Ae="useDeferredValue",tn(),nt(),wF(i)},useTransition:function(){return Ae="useTransition",tn(),nt(),RF()},useMutableSource:function(i,o,f){return Ae="useMutableSource",tn(),nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",tn(),nt(),Lk(i,o)},useId:function(){return Ae="useId",tn(),nt(),qk()},unstable_isNewReconciler:Be}}var jd=n.unstable_now,FF=0,Yk=-1,c0=-1,Kk=-1,xR=!1,Zk=!1;function jF(){return xR}function wie(){Zk=!0}function _ie(){xR=!1,Zk=!1}function Eie(){xR=Zk,Zk=!1}function VF(){return FF}function zF(){FF=jd()}function wR(i){c0=jd(),i.actualStartTime<0&&(i.actualStartTime=jd())}function BF(i){c0=-1}function Qk(i,o){if(c0>=0){var f=jd()-c0;i.actualDuration+=f,o&&(i.selfBaseDuration=f),c0=-1}}function nu(i){if(Yk>=0){var o=jd()-Yk;Yk=-1;for(var f=i.return;f!==null;){switch(f.tag){case k:var m=f.stateNode;m.effectDuration+=o;return;case I:var y=f.stateNode;y.effectDuration+=o;return}f=f.return}}}function _R(i){if(Kk>=0){var o=jd()-Kk;Kk=-1;for(var f=i.return;f!==null;){switch(f.tag){case k:var m=f.stateNode;m!==null&&(m.passiveEffectDuration+=o);return;case I:var y=f.stateNode;y!==null&&(y.passiveEffectDuration+=o);return}f=f.return}}}function ru(){Yk=jd()}function ER(){Kk=jd()}function RR(i){for(var o=i.child;o;)i.actualDuration+=o.actualDuration,o=o.sibling}function nl(i,o){if(i&&i.defaultProps){var f=an({},o),m=i.defaultProps;for(var y in m)f[y]===void 0&&(f[y]=m[y]);return f}return o}var PR={},DR,AR,OR,MR,LR,HF,Xk,NR,IR,UR,d0;{DR=new Set,AR=new Set,OR=new Set,MR=new Set,NR=new Set,LR=new Set,IR=new Set,UR=new Set,d0=new Set;var $F=new Set;Xk=function(i,o){if(!(i===null||typeof i=="function")){var f=o+"_"+i;$F.has(f)||($F.add(f),c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i))}},HF=function(i,o){if(o===void 0){var f=An(i)||"Component";LR.has(f)||(LR.add(f),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",f))}},Object.defineProperty(PR,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(PR)}function FR(i,o,f,m){var y=i.memoizedState,C=f(m,y);{if(i.mode&on){nr(!0);try{C=f(m,y)}finally{nr(!1)}}HF(o,C)}var w=C==null?y:an({},y,C);if(i.memoizedState=w,i.lanes===Pe){var P=i.updateQueue;P.baseState=w}}var jR={isMounted:Kv,enqueueSetState:function(i,o,f){var m=ld(i),y=Za(),C=Hd(m),w=ac(y,C);w.payload=o,f!=null&&(Xk(f,"setState"),w.callback=f);var P=Nd(m,w,C);P!==null&&(Vi(P,m,C,y),Ek(P,m,C)),$f(m,C)},enqueueReplaceState:function(i,o,f){var m=ld(i),y=Za(),C=Hd(m),w=ac(y,C);w.tag=sF,w.payload=o,f!=null&&(Xk(f,"replaceState"),w.callback=f);var P=Nd(m,w,C);P!==null&&(Vi(P,m,C,y),Ek(P,m,C)),$f(m,C)},enqueueForceUpdate:function(i,o){var f=ld(i),m=Za(),y=Hd(f),C=ac(m,y);C.tag=xk,o!=null&&(Xk(o,"forceUpdate"),C.callback=o);var w=Nd(f,C,y);w!==null&&(Vi(w,f,y,m),Ek(w,f,y)),uy(f,y)}};function qF(i,o,f,m,y,C,w){var P=i.stateNode;if(typeof P.shouldComponentUpdate=="function"){var D=P.shouldComponentUpdate(m,C,w);{if(i.mode&on){nr(!0);try{D=P.shouldComponentUpdate(m,C,w)}finally{nr(!1)}}D===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",An(o)||"Component")}return D}return o.prototype&&o.prototype.isPureReactComponent?!Ut(f,m)||!Ut(y,C):!0}function Rie(i,o,f){var m=i.stateNode;{var y=An(o)||"Component",C=m.render;C||(o.prototype&&typeof o.prototype.render=="function"?c("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",y):c("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",y)),m.getInitialState&&!m.getInitialState.isReactClassApproved&&!m.state&&c("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",y),m.getDefaultProps&&!m.getDefaultProps.isReactClassApproved&&c("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",y),m.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",y),m.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),o.childContextTypes&&!d0.has(o)&&(i.mode&on)===Mt&&(d0.add(o),c(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
180
|
+
Incoming: %s`,Ae,"["+o.join(", ")+"]","["+i.join(", ")+"]");for(var f=0;f<o.length&&f<i.length;f++)if(!dt(i[f],o[f]))return!1;return!0}function rg(i,o,f,m,y,C){wh=C,dr=o,vs=i!==null?i._debugHookTypes:null,Fd=-1,aR=i!==null&&i.type!==o.type,o.memoizedState=null,o.updateQueue=null,o.lanes=Pe,i!==null&&i.memoizedState!==null?gt.current=IF:vs!==null?gt.current=NF:gt.current=LF;var w=f(m,y);if(a0){var P=0;do{if(a0=!1,o0=0,P>=yie)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");P+=1,aR=!1,Ni=null,Ii=null,o.updateQueue=null,Fd=-1,gt.current=UF,w=f(m,y)}while(a0)}gt.current=Wk,o._debugHookTypes=vs;var D=Ni!==null&&Ni.next!==null;if(wh=Pe,dr=null,Ni=null,Ii=null,Ae=null,vs=null,Fd=-1,i!==null&&(i.flags&ni)!==(o.flags&ni)&&(i.mode&bn)!==Mt&&c("Internal React error: Expected static flag was missing. Please notify the React team."),Mk=!1,D)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function ig(){var i=o0!==0;return o0=0,i}function mF(i,o,f){o.updateQueue=i.updateQueue,(o.mode&cr)!==Mt?o.flags&=-50333701:o.flags&=-2053,i.lanes=Jf(i.lanes,f)}function gF(){if(gt.current=Wk,Mk){for(var i=dr.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}Mk=!1}wh=Pe,dr=null,Ni=null,Ii=null,vs=null,Fd=-1,Ae=null,PF=!1,a0=!1,o0=0}function eu(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ii===null?dr.memoizedState=Ii=i:Ii=Ii.next=i,Ii}function ys(){var i;if(Ni===null){var o=dr.alternate;o!==null?i=o.memoizedState:i=null}else i=Ni.next;var f;if(Ii===null?f=dr.memoizedState:f=Ii.next,f!==null)Ii=f,f=Ii.next,Ni=i;else{if(i===null)throw new Error("Rendered more hooks than during the previous render.");Ni=i;var m={memoizedState:Ni.memoizedState,baseState:Ni.baseState,baseQueue:Ni.baseQueue,queue:Ni.queue,next:null};Ii===null?dr.memoizedState=Ii=m:Ii=Ii.next=m}return Ii}function vF(){return{lastEffect:null,stores:null}}function sR(i,o){return typeof o=="function"?o(i):o}function lR(i,o,f){var m=eu(),y;f!==void 0?y=f(o):y=o,m.memoizedState=m.baseState=y;var C={pending:null,interleaved:null,lanes:Pe,dispatch:null,lastRenderedReducer:i,lastRenderedState:y};m.queue=C;var w=C.dispatch=Tie.bind(null,dr,C);return[m.memoizedState,w]}function uR(i,o,f){var m=ys(),y=m.queue;if(y===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");y.lastRenderedReducer=i;var C=Ni,w=C.baseQueue,P=y.pending;if(P!==null){if(w!==null){var D=w.next,F=P.next;w.next=F,P.next=D}C.baseQueue!==w&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),C.baseQueue=w=P,y.pending=null}if(w!==null){var B=w.next,ae=C.baseState,re=null,ge=null,be=null,we=B;do{var st=we.lane;if(Hu(wh,st)){if(be!==null){var Pt={lane:ri,action:we.action,hasEagerState:we.hasEagerState,eagerState:we.eagerState,next:null};be=be.next=Pt}if(we.hasEagerState)ae=we.eagerState;else{var Mn=we.action;ae=i(ae,Mn)}}else{var Vt={lane:st,action:we.action,hasEagerState:we.hasEagerState,eagerState:we.eagerState,next:null};be===null?(ge=be=Vt,re=ae):be=be.next=Vt,dr.lanes=ln(dr.lanes,st),E0(st)}we=we.next}while(we!==null&&we!==B);be===null?re=ae:be.next=ge,dt(ae,m.memoizedState)||m0(),m.memoizedState=ae,m.baseState=re,m.baseQueue=be,y.lastRenderedState=ae}var xn=y.interleaved;if(xn!==null){var ce=xn;do{var _e=ce.lane;dr.lanes=ln(dr.lanes,_e),E0(_e),ce=ce.next}while(ce!==xn)}else w===null&&(y.lanes=Pe);var de=y.dispatch;return[m.memoizedState,de]}function cR(i,o,f){var m=ys(),y=m.queue;if(y===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");y.lastRenderedReducer=i;var C=y.dispatch,w=y.pending,P=m.memoizedState;if(w!==null){y.pending=null;var D=w.next,F=D;do{var B=F.action;P=i(P,B),F=F.next}while(F!==D);dt(P,m.memoizedState)||m0(),m.memoizedState=P,m.baseQueue===null&&(m.baseState=P),y.lastRenderedState=P}return[P,C]}function ele(i,o,f){}function tle(i,o,f){}function dR(i,o,f){var m=dr,y=eu(),C,w=la();if(w){if(f===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");C=f(),tg||C!==f()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),tg=!0)}else{if(C=o(),!tg){var P=o();dt(C,P)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),tg=!0)}var D=d1();if(D===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Xf(D,wh)||yF(m,o,C)}y.memoizedState=C;var F={value:C,getSnapshot:o};return y.queue=F,Fk(SF.bind(null,m,F,i),[i]),m.flags|=Ba,s0(Mi|ua,bF.bind(null,m,F,C,o),void 0,null),C}function Lk(i,o,f){var m=dr,y=ys(),C=o();if(!tg){var w=o();dt(C,w)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),tg=!0)}var P=y.memoizedState,D=!dt(P,C);D&&(y.memoizedState=C,m0());var F=y.queue;if(u0(SF.bind(null,m,F,i),[i]),F.getSnapshot!==o||D||Ii!==null&&Ii.memoizedState.tag&Mi){m.flags|=Ba,s0(Mi|ua,bF.bind(null,m,F,C,o),void 0,null);var B=d1();if(B===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Xf(B,wh)||yF(m,o,C)}return C}function yF(i,o,f){i.flags|=$p;var m={getSnapshot:o,value:f},y=dr.updateQueue;if(y===null)y=vF(),dr.updateQueue=y,y.stores=[m];else{var C=y.stores;C===null?y.stores=[m]:C.push(m)}}function bF(i,o,f,m){o.value=f,o.getSnapshot=m,CF(o)&&kF(i)}function SF(i,o,f){var m=function(){CF(o)&&kF(i)};return f(m)}function CF(i){var o=i.getSnapshot,f=i.value;try{var m=o();return!dt(f,m)}catch{return!0}}function kF(i){var o=wo(i,Ht);o!==null&&Vi(o,i,Ht,rr)}function Nk(i){var o=eu();typeof i=="function"&&(i=i()),o.memoizedState=o.baseState=i;var f={pending:null,interleaved:null,lanes:Pe,dispatch:null,lastRenderedReducer:sR,lastRenderedState:i};o.queue=f;var m=f.dispatch=xie.bind(null,dr,f);return[o.memoizedState,m]}function fR(i){return uR(sR)}function hR(i){return cR(sR)}function s0(i,o,f,m){var y={tag:i,create:o,destroy:f,deps:m,next:null},C=dr.updateQueue;if(C===null)C=vF(),dr.updateQueue=C,C.lastEffect=y.next=y;else{var w=C.lastEffect;if(w===null)C.lastEffect=y.next=y;else{var P=w.next;w.next=y,y.next=P,C.lastEffect=y}}return y}function pR(i){var o=eu();{var f={current:i};return o.memoizedState=f,f}}function Ik(i){var o=ys();return o.memoizedState}function l0(i,o,f,m){var y=eu(),C=m===void 0?null:m;dr.flags|=i,y.memoizedState=s0(Mi|o,f,void 0,C)}function Uk(i,o,f,m){var y=ys(),C=m===void 0?null:m,w=void 0;if(Ni!==null){var P=Ni.memoizedState;if(w=P.destroy,C!==null){var D=P.deps;if(oR(C,D)){y.memoizedState=s0(o,f,w,C);return}}}dr.flags|=i,y.memoizedState=s0(Mi|o,f,w,C)}function Fk(i,o){return(dr.mode&cr)!==Mt?l0(Ml|Ba|Yv,ua,i,o):l0(Ba|Yv,ua,i,o)}function u0(i,o){return Uk(Ba,ua,i,o)}function mR(i,o){return l0(kn,Jl,i,o)}function jk(i,o){return Uk(kn,Jl,i,o)}function gR(i,o){var f=kn;return f|=Ol,(dr.mode&cr)!==Mt&&(f|=ia),l0(f,Li,i,o)}function Vk(i,o){return Uk(kn,Li,i,o)}function TF(i,o){if(typeof o=="function"){var f=o,m=i();return f(m),function(){f(null)}}else if(o!=null){var y=o;y.hasOwnProperty("current")||c("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(y).join(", ")+"}");var C=i();return y.current=C,function(){y.current=null}}}function vR(i,o,f){typeof o!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null");var m=f!=null?f.concat([i]):null,y=kn;return y|=Ol,(dr.mode&cr)!==Mt&&(y|=ia),l0(y,Li,TF.bind(null,o,i),m)}function zk(i,o,f){typeof o!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null");var m=f!=null?f.concat([i]):null;return Uk(kn,Li,TF.bind(null,o,i),m)}function Sie(i,o){}var Bk=Sie;function yR(i,o){var f=eu(),m=o===void 0?null:o;return f.memoizedState=[i,m],i}function Hk(i,o){var f=ys(),m=o===void 0?null:o,y=f.memoizedState;if(y!==null&&m!==null){var C=y[1];if(oR(m,C))return y[0]}return f.memoizedState=[i,m],i}function bR(i,o){var f=eu(),m=o===void 0?null:o,y=i();return f.memoizedState=[y,m],y}function $k(i,o){var f=ys(),m=o===void 0?null:o,y=f.memoizedState;if(y!==null&&m!==null){var C=y[1];if(oR(m,C))return y[0]}var w=i();return f.memoizedState=[w,m],w}function SR(i){var o=eu();return o.memoizedState=i,i}function xF(i){var o=ys(),f=Ni,m=f.memoizedState;return _F(o,m,i)}function wF(i){var o=ys();if(Ni===null)return o.memoizedState=i,i;var f=Ni.memoizedState;return _F(o,f,i)}function _F(i,o,f){var m=!hy(wh);if(m){if(!dt(f,o)){var y=my();dr.lanes=ln(dr.lanes,y),E0(y),i.baseState=!0}return o}else return i.baseState&&(i.baseState=!1,m0()),i.memoizedState=f,f}function Cie(i,o,f){var m=$a();di(th(m,So)),i(!0);var y=i0.transition;i0.transition={};var C=i0.transition;i0.transition._updatedFibers=new Set;try{i(!1),o()}finally{if(di(m),i0.transition=y,y===null&&C._updatedFibers){var w=C._updatedFibers.size;w>10&&l("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),C._updatedFibers.clear()}}}function CR(){var i=Nk(!1),o=i[0],f=i[1],m=Cie.bind(null,f),y=eu();return y.memoizedState=m,[o,m]}function EF(){var i=fR(),o=i[0],f=ys(),m=f.memoizedState;return[o,m]}function RF(){var i=hR(),o=i[0],f=ys(),m=f.memoizedState;return[o,m]}var PF=!1;function kie(){return PF}function kR(){var i=eu(),o=d1(),f=o.identifierPrefix,m;if(la()){var y=jre();m=":"+f+"R"+y;var C=o0++;C>0&&(m+="H"+C.toString(32)),m+=":"}else{var w=vie++;m=":"+f+"r"+w.toString(32)+":"}return i.memoizedState=m,m}function qk(){var i=ys(),o=i.memoizedState;return o}function Tie(i,o,f){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var m=Hd(i),y={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(DF(i))AF(o,y);else{var C=aF(i,o,y,m);if(C!==null){var w=Za();Vi(C,i,m,w),OF(C,o,m)}}MF(i,m)}function xie(i,o,f){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var m=Hd(i),y={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(DF(i))AF(o,y);else{var C=i.alternate;if(i.lanes===Pe&&(C===null||C.lanes===Pe)){var w=o.lastRenderedReducer;if(w!==null){var P;P=gt.current,gt.current=tl;try{var D=o.lastRenderedState,F=w(D,f);if(y.hasEagerState=!0,y.eagerState=F,dt(F,D)){lie(i,o,y,m);return}}catch{}finally{gt.current=P}}}var B=aF(i,o,y,m);if(B!==null){var ae=Za();Vi(B,i,m,ae),OF(B,o,m)}}MF(i,m)}function DF(i){var o=i.alternate;return i===dr||o!==null&&o===dr}function AF(i,o){a0=Mk=!0;var f=i.pending;f===null?o.next=o:(o.next=f.next,f.next=o),i.pending=o}function OF(i,o,f){if(py(f)){var m=o.lanes;m=gm(m,i.pendingLanes);var y=ln(m,f);o.lanes=y,eh(i,y)}}function MF(i,o,f){$f(i,o)}var Wk={readContext:ki,useCallback:Ia,useContext:Ia,useEffect:Ia,useImperativeHandle:Ia,useInsertionEffect:Ia,useLayoutEffect:Ia,useMemo:Ia,useReducer:Ia,useRef:Ia,useState:Ia,useDebugValue:Ia,useDeferredValue:Ia,useTransition:Ia,useMutableSource:Ia,useSyncExternalStore:Ia,useId:Ia,unstable_isNewReconciler:Be},LF=null,NF=null,IF=null,UF=null,tu=null,tl=null,Gk=null;{var TR=function(){c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},tn=function(){c("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};LF={readContext:function(i){return ki(i)},useCallback:function(i,o){return Ae="useCallback",Qn(),ng(o),yR(i,o)},useContext:function(i){return Ae="useContext",Qn(),ki(i)},useEffect:function(i,o){return Ae="useEffect",Qn(),ng(o),Fk(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",Qn(),ng(f),vR(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",Qn(),ng(o),mR(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",Qn(),ng(o),gR(i,o)},useMemo:function(i,o){Ae="useMemo",Qn(),ng(o);var f=gt.current;gt.current=tu;try{return bR(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",Qn();var m=gt.current;gt.current=tu;try{return lR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",Qn(),pR(i)},useState:function(i){Ae="useState",Qn();var o=gt.current;gt.current=tu;try{return Nk(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",Qn(),void 0},useDeferredValue:function(i){return Ae="useDeferredValue",Qn(),SR(i)},useTransition:function(){return Ae="useTransition",Qn(),CR()},useMutableSource:function(i,o,f){return Ae="useMutableSource",Qn(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",Qn(),dR(i,o,f)},useId:function(){return Ae="useId",Qn(),kR()},unstable_isNewReconciler:Be},NF={readContext:function(i){return ki(i)},useCallback:function(i,o){return Ae="useCallback",nt(),yR(i,o)},useContext:function(i){return Ae="useContext",nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",nt(),Fk(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",nt(),vR(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",nt(),mR(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",nt(),gR(i,o)},useMemo:function(i,o){Ae="useMemo",nt();var f=gt.current;gt.current=tu;try{return bR(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",nt();var m=gt.current;gt.current=tu;try{return lR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",nt(),pR(i)},useState:function(i){Ae="useState",nt();var o=gt.current;gt.current=tu;try{return Nk(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",nt(),void 0},useDeferredValue:function(i){return Ae="useDeferredValue",nt(),SR(i)},useTransition:function(){return Ae="useTransition",nt(),CR()},useMutableSource:function(i,o,f){return Ae="useMutableSource",nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",nt(),dR(i,o,f)},useId:function(){return Ae="useId",nt(),kR()},unstable_isNewReconciler:Be},IF={readContext:function(i){return ki(i)},useCallback:function(i,o){return Ae="useCallback",nt(),Hk(i,o)},useContext:function(i){return Ae="useContext",nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",nt(),u0(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",nt(),zk(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",nt(),jk(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",nt(),Vk(i,o)},useMemo:function(i,o){Ae="useMemo",nt();var f=gt.current;gt.current=tl;try{return $k(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",nt();var m=gt.current;gt.current=tl;try{return uR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",nt(),Ik()},useState:function(i){Ae="useState",nt();var o=gt.current;gt.current=tl;try{return fR(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",nt(),Bk()},useDeferredValue:function(i){return Ae="useDeferredValue",nt(),xF(i)},useTransition:function(){return Ae="useTransition",nt(),EF()},useMutableSource:function(i,o,f){return Ae="useMutableSource",nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",nt(),Lk(i,o)},useId:function(){return Ae="useId",nt(),qk()},unstable_isNewReconciler:Be},UF={readContext:function(i){return ki(i)},useCallback:function(i,o){return Ae="useCallback",nt(),Hk(i,o)},useContext:function(i){return Ae="useContext",nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",nt(),u0(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",nt(),zk(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",nt(),jk(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",nt(),Vk(i,o)},useMemo:function(i,o){Ae="useMemo",nt();var f=gt.current;gt.current=Gk;try{return $k(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",nt();var m=gt.current;gt.current=Gk;try{return cR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",nt(),Ik()},useState:function(i){Ae="useState",nt();var o=gt.current;gt.current=Gk;try{return hR(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",nt(),Bk()},useDeferredValue:function(i){return Ae="useDeferredValue",nt(),wF(i)},useTransition:function(){return Ae="useTransition",nt(),RF()},useMutableSource:function(i,o,f){return Ae="useMutableSource",nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",nt(),Lk(i,o)},useId:function(){return Ae="useId",nt(),qk()},unstable_isNewReconciler:Be},tu={readContext:function(i){return TR(),ki(i)},useCallback:function(i,o){return Ae="useCallback",tn(),Qn(),yR(i,o)},useContext:function(i){return Ae="useContext",tn(),Qn(),ki(i)},useEffect:function(i,o){return Ae="useEffect",tn(),Qn(),Fk(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",tn(),Qn(),vR(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",tn(),Qn(),mR(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",tn(),Qn(),gR(i,o)},useMemo:function(i,o){Ae="useMemo",tn(),Qn();var f=gt.current;gt.current=tu;try{return bR(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",tn(),Qn();var m=gt.current;gt.current=tu;try{return lR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",tn(),Qn(),pR(i)},useState:function(i){Ae="useState",tn(),Qn();var o=gt.current;gt.current=tu;try{return Nk(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",tn(),Qn(),void 0},useDeferredValue:function(i){return Ae="useDeferredValue",tn(),Qn(),SR(i)},useTransition:function(){return Ae="useTransition",tn(),Qn(),CR()},useMutableSource:function(i,o,f){return Ae="useMutableSource",tn(),Qn(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",tn(),Qn(),dR(i,o,f)},useId:function(){return Ae="useId",tn(),Qn(),kR()},unstable_isNewReconciler:Be},tl={readContext:function(i){return TR(),ki(i)},useCallback:function(i,o){return Ae="useCallback",tn(),nt(),Hk(i,o)},useContext:function(i){return Ae="useContext",tn(),nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",tn(),nt(),u0(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",tn(),nt(),zk(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",tn(),nt(),jk(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",tn(),nt(),Vk(i,o)},useMemo:function(i,o){Ae="useMemo",tn(),nt();var f=gt.current;gt.current=tl;try{return $k(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",tn(),nt();var m=gt.current;gt.current=tl;try{return uR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",tn(),nt(),Ik()},useState:function(i){Ae="useState",tn(),nt();var o=gt.current;gt.current=tl;try{return fR(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",tn(),nt(),Bk()},useDeferredValue:function(i){return Ae="useDeferredValue",tn(),nt(),xF(i)},useTransition:function(){return Ae="useTransition",tn(),nt(),EF()},useMutableSource:function(i,o,f){return Ae="useMutableSource",tn(),nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",tn(),nt(),Lk(i,o)},useId:function(){return Ae="useId",tn(),nt(),qk()},unstable_isNewReconciler:Be},Gk={readContext:function(i){return TR(),ki(i)},useCallback:function(i,o){return Ae="useCallback",tn(),nt(),Hk(i,o)},useContext:function(i){return Ae="useContext",tn(),nt(),ki(i)},useEffect:function(i,o){return Ae="useEffect",tn(),nt(),u0(i,o)},useImperativeHandle:function(i,o,f){return Ae="useImperativeHandle",tn(),nt(),zk(i,o,f)},useInsertionEffect:function(i,o){return Ae="useInsertionEffect",tn(),nt(),jk(i,o)},useLayoutEffect:function(i,o){return Ae="useLayoutEffect",tn(),nt(),Vk(i,o)},useMemo:function(i,o){Ae="useMemo",tn(),nt();var f=gt.current;gt.current=tl;try{return $k(i,o)}finally{gt.current=f}},useReducer:function(i,o,f){Ae="useReducer",tn(),nt();var m=gt.current;gt.current=tl;try{return cR(i,o,f)}finally{gt.current=m}},useRef:function(i){return Ae="useRef",tn(),nt(),Ik()},useState:function(i){Ae="useState",tn(),nt();var o=gt.current;gt.current=tl;try{return hR(i)}finally{gt.current=o}},useDebugValue:function(i,o){return Ae="useDebugValue",tn(),nt(),Bk()},useDeferredValue:function(i){return Ae="useDeferredValue",tn(),nt(),wF(i)},useTransition:function(){return Ae="useTransition",tn(),nt(),RF()},useMutableSource:function(i,o,f){return Ae="useMutableSource",tn(),nt(),void 0},useSyncExternalStore:function(i,o,f){return Ae="useSyncExternalStore",tn(),nt(),Lk(i,o)},useId:function(){return Ae="useId",tn(),nt(),qk()},unstable_isNewReconciler:Be}}var jd=n.unstable_now,FF=0,Yk=-1,c0=-1,Kk=-1,xR=!1,Zk=!1;function jF(){return xR}function wie(){Zk=!0}function _ie(){xR=!1,Zk=!1}function Eie(){xR=Zk,Zk=!1}function VF(){return FF}function zF(){FF=jd()}function wR(i){c0=jd(),i.actualStartTime<0&&(i.actualStartTime=jd())}function BF(i){c0=-1}function Qk(i,o){if(c0>=0){var f=jd()-c0;i.actualDuration+=f,o&&(i.selfBaseDuration=f),c0=-1}}function nu(i){if(Yk>=0){var o=jd()-Yk;Yk=-1;for(var f=i.return;f!==null;){switch(f.tag){case k:var m=f.stateNode;m.effectDuration+=o;return;case I:var y=f.stateNode;y.effectDuration+=o;return}f=f.return}}}function _R(i){if(Kk>=0){var o=jd()-Kk;Kk=-1;for(var f=i.return;f!==null;){switch(f.tag){case k:var m=f.stateNode;m!==null&&(m.passiveEffectDuration+=o);return;case I:var y=f.stateNode;y!==null&&(y.passiveEffectDuration+=o);return}f=f.return}}}function ru(){Yk=jd()}function ER(){Kk=jd()}function RR(i){for(var o=i.child;o;)i.actualDuration+=o.actualDuration,o=o.sibling}function nl(i,o){if(i&&i.defaultProps){var f=an({},o),m=i.defaultProps;for(var y in m)f[y]===void 0&&(f[y]=m[y]);return f}return o}var PR={},DR,AR,OR,MR,LR,HF,Xk,NR,IR,UR,d0;{DR=new Set,AR=new Set,OR=new Set,MR=new Set,NR=new Set,LR=new Set,IR=new Set,UR=new Set,d0=new Set;var $F=new Set;Xk=function(i,o){if(!(i===null||typeof i=="function")){var f=o+"_"+i;$F.has(f)||($F.add(f),c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i))}},HF=function(i,o){if(o===void 0){var f=An(i)||"Component";LR.has(f)||(LR.add(f),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",f))}},Object.defineProperty(PR,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(PR)}function FR(i,o,f,m){var y=i.memoizedState,C=f(m,y);{if(i.mode&on){nr(!0);try{C=f(m,y)}finally{nr(!1)}}HF(o,C)}var w=C==null?y:an({},y,C);if(i.memoizedState=w,i.lanes===Pe){var P=i.updateQueue;P.baseState=w}}var jR={isMounted:Kv,enqueueSetState:function(i,o,f){var m=ld(i),y=Za(),C=Hd(m),w=ac(y,C);w.payload=o,f!=null&&(Xk(f,"setState"),w.callback=f);var P=Nd(m,w,C);P!==null&&(Vi(P,m,C,y),Ek(P,m,C)),$f(m,C)},enqueueReplaceState:function(i,o,f){var m=ld(i),y=Za(),C=Hd(m),w=ac(y,C);w.tag=sF,w.payload=o,f!=null&&(Xk(f,"replaceState"),w.callback=f);var P=Nd(m,w,C);P!==null&&(Vi(P,m,C,y),Ek(P,m,C)),$f(m,C)},enqueueForceUpdate:function(i,o){var f=ld(i),m=Za(),y=Hd(f),C=ac(m,y);C.tag=xk,o!=null&&(Xk(o,"forceUpdate"),C.callback=o);var w=Nd(f,C,y);w!==null&&(Vi(w,f,y,m),Ek(w,f,y)),uy(f,y)}};function qF(i,o,f,m,y,C,w){var P=i.stateNode;if(typeof P.shouldComponentUpdate=="function"){var D=P.shouldComponentUpdate(m,C,w);{if(i.mode&on){nr(!0);try{D=P.shouldComponentUpdate(m,C,w)}finally{nr(!1)}}D===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",An(o)||"Component")}return D}return o.prototype&&o.prototype.isPureReactComponent?!Ut(f,m)||!Ut(y,C):!0}function Rie(i,o,f){var m=i.stateNode;{var y=An(o)||"Component",C=m.render;C||(o.prototype&&typeof o.prototype.render=="function"?c("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",y):c("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",y)),m.getInitialState&&!m.getInitialState.isReactClassApproved&&!m.state&&c("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",y),m.getDefaultProps&&!m.getDefaultProps.isReactClassApproved&&c("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",y),m.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",y),m.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),o.childContextTypes&&!d0.has(o)&&(i.mode&on)===Mt&&(d0.add(o),c(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
181
181
|
|
|
182
182
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,y)),o.contextTypes&&!d0.has(o)&&(i.mode&on)===Mt&&(d0.add(o),c(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
183
183
|
|
|
@@ -193,9 +193,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`,st,Vt,ge!==null?`
|
|
|
193
193
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var B=Zt(i)||"Anonymous";F="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+B+".")}var ae=D+`
|
|
194
194
|
`+w+`
|
|
195
195
|
|
|
196
|
-
`+(""+F);console.error(ae)}catch(re){setTimeout(function(){throw re})}}var Mie=typeof WeakMap=="function"?WeakMap:Map;function KF(i,o,f){var m=ac(rr,f);m.tag=GE,m.payload={element:null};var y=o.value;return m.callback=function(){woe(y),BR(i,o)},m}function HR(i,o,f){var m=ac(rr,f);m.tag=GE;var y=i.type.getDerivedStateFromError;if(typeof y=="function"){var C=o.value;m.payload=function(){return y(C)},m.callback=function(){oj(i),BR(i,o)}}var w=i.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(m.callback=function(){oj(i),BR(i,o),typeof y!="function"&&Toe(this);var D=o.value,F=o.stack;this.componentDidCatch(D,{componentStack:F!==null?F:""}),typeof y!="function"&&(Aa(i.lanes,Ht)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Zt(i)||"Unknown"))}),m}function ZF(i,o,f){var m=i.pingCache,y;if(m===null?(m=i.pingCache=new Mie,y=new Set,m.set(o,y)):(y=m.get(o),y===void 0&&(y=new Set,m.set(o,y))),!y.has(f)){y.add(f);var C=_oe.bind(null,i,o,f);Yi&&R0(i,f),o.then(C,C)}}function Lie(i,o,f,m){var y=i.updateQueue;if(y===null){var C=new Set;C.add(f),i.updateQueue=C}else y.add(f)}function Nie(i,o){var f=i.tag;if((i.mode&yn)===Mt&&(f===p||f===j||f===X)){var m=i.alternate;m?(i.updateQueue=m.updateQueue,i.memoizedState=m.memoizedState,i.lanes=m.lanes):(i.updateQueue=null,i.memoizedState=null)}}function QF(i){var o=i;do{if(o.tag===N&&mie(o))return o;o=o.return}while(o!==null);return null}function XF(i,o,f,m,y){if((i.mode&yn)===Mt){if(i===o)i.flags|=Gi;else{if(i.flags|=gn,f.flags|=jo,f.flags&=-52805,f.tag===v){var C=f.alternate;if(C===null)f.tag=$;else{var w=ac(rr,Ht);w.tag=xk,Nd(f,w,Ht)}}f.lanes=ln(f.lanes,Ht)}return i}return i.flags|=Gi,i.lanes=y,i}function Iie(i,o,f,m,y){if(f.flags|=Lu,Yi&&R0(i,y),m!==null&&typeof m=="object"&&typeof m.then=="function"){var C=m;Nie(f),la()&&f.mode&yn&&HU();var w=QF(o);if(w!==null){w.flags&=~Rr,XF(w,o,f,i,y),w.mode&yn&&ZF(i,C,y),Lie(w,i,C);return}else{if(!fy(y)){ZF(i,C,y),kP();return}var P=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");m=P}}else if(la()&&f.mode&yn){HU();var D=QF(o);if(D!==null){(D.flags&Gi)===Ot&&(D.flags|=Rr),XF(D,o,f,i,y),NE(_h(m,f));return}}m=_h(m,f),moe(m);var F=o;do{switch(F.tag){case k:{var B=m;F.flags|=Gi;var ae=Si(y);F.lanes=ln(F.lanes,ae);var re=KF(F,B,ae);ZE(F,re);return}case v:var ge=m,be=F.type,we=F.stateNode;if((F.flags&gn)===Ot&&(typeof be.getDerivedStateFromError=="function"||we!==null&&typeof we.componentDidCatch=="function"&&!Q9(we))){F.flags|=Gi;var st=Si(y);F.lanes=ln(F.lanes,st);var Vt=HR(F,ge,st);ZE(F,Vt);return}break}F=F.return}while(F!==null)}function Uie(){return null}var f0=r.ReactCurrentOwner,rl=!1,$R,h0,qR,WR,GR,Eh,YR,Jk,p0;$R={},h0={},qR={},WR={},GR={},Eh=!1,YR={},Jk={},p0={};function Ya(i,o,f,m){i===null?o.child=tF(o,null,f,m):o.child=Km(o,i.child,f,m)}function Fie(i,o,f,m){o.child=Km(o,i.child,null,m),o.child=Km(o,null,f,m)}function JF(i,o,f,m,y){if(o.type!==o.elementType){var C=f.propTypes;C&&Qs(C,m,"prop",An(f))}var w=f.render,P=o.ref,D,F;Qm(o,y),bo(o);{if(f0.current=o,ho(!0),D=rg(i,o,w,m,P,y),F=ig(),o.mode&on){nr(!0);try{D=rg(i,o,w,m,P,y),F=ig()}finally{nr(!1)}}ho(!1)}return Ul(),i!==null&&!rl?(mF(i,o,y),oc(i,o,y)):(la()&&F&&PE(o),o.flags|=Ws,Ya(i,o,D,y),o.child)}function e9(i,o,f,m,y){if(i===null){var C=f.type;if(Hoe(C)&&f.compare===null&&f.defaultProps===void 0){var w=C;return w=fg(C),o.tag=X,o.type=w,QR(o,C),t9(i,o,w,m,y)}{var P=C.propTypes;if(P&&Qs(P,m,"prop",An(C)),f.defaultProps!==void 0){var D=An(C)||"Unknown";p0[D]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",D),p0[D]=!0)}}var F=MP(f.type,null,m,o,o.mode,y);return F.ref=o.ref,F.return=o,o.child=F,F}{var B=f.type,ae=B.propTypes;ae&&Qs(ae,m,"prop",An(B))}var re=i.child,ge=rP(i,y);if(!ge){var be=re.memoizedProps,we=f.compare;if(we=we!==null?we:Ut,we(be,m)&&i.ref===o.ref)return oc(i,o,y)}o.flags|=Ws;var st=Oh(re,m);return st.ref=o.ref,st.return=o,o.child=st,st}function t9(i,o,f,m,y){if(o.type!==o.elementType){var C=o.elementType;if(C.$$typeof===Gt){var w=C,P=w._payload,D=w._init;try{C=D(P)}catch{C=null}var F=C&&C.propTypes;F&&Qs(F,m,"prop",An(C))}}if(i!==null){var B=i.memoizedProps;if(Ut(B,m)&&i.ref===o.ref&&o.type===i.type)if(rl=!1,o.pendingProps=m=B,rP(i,y))(i.flags&jo)!==Ot&&(rl=!0);else return o.lanes=i.lanes,oc(i,o,y)}return KR(i,o,f,m,y)}function n9(i,o,f){var m=o.pendingProps,y=m.children,C=i!==null?i.memoizedState:null;if(m.mode==="hidden"||J)if((o.mode&yn)===Mt){var w={baseLanes:Pe,cachePool:null,transitions:null};o.memoizedState=w,f1(o,f)}else if(Aa(f,Pa)){var ae={baseLanes:Pe,cachePool:null,transitions:null};o.memoizedState=ae;var re=C!==null?C.baseLanes:f;f1(o,re)}else{var P=null,D;if(C!==null){var F=C.baseLanes;D=ln(F,f)}else D=f;o.lanes=o.childLanes=Pa;var B={baseLanes:D,cachePool:P,transitions:null};return o.memoizedState=B,o.updateQueue=null,f1(o,D),null}else{var ge;C!==null?(ge=ln(C.baseLanes,f),o.memoizedState=null):ge=f,f1(o,ge)}return Ya(i,o,y,f),o.child}function jie(i,o,f){var m=o.pendingProps;return Ya(i,o,m,f),o.child}function Vie(i,o,f){var m=o.pendingProps.children;return Ya(i,o,m,f),o.child}function zie(i,o,f){{o.flags|=kn;{var m=o.stateNode;m.effectDuration=0,m.passiveEffectDuration=0}}var y=o.pendingProps,C=y.children;return Ya(i,o,C,f),o.child}function r9(i,o){var f=o.ref;(i===null&&f!==null||i!==null&&i.ref!==f)&&(o.flags|=ti,o.flags|=jf)}function KR(i,o,f,m,y){if(o.type!==o.elementType){var C=f.propTypes;C&&Qs(C,m,"prop",An(f))}var w;{var P=$m(o,f,!0);w=qm(o,P)}var D,F;Qm(o,y),bo(o);{if(f0.current=o,ho(!0),D=rg(i,o,f,m,w,y),F=ig(),o.mode&on){nr(!0);try{D=rg(i,o,f,m,w,y),F=ig()}finally{nr(!1)}}ho(!1)}return Ul(),i!==null&&!rl?(mF(i,o,y),oc(i,o,y)):(la()&&F&&PE(o),o.flags|=Ws,Ya(i,o,D,y),o.child)}function i9(i,o,f,m,y){{switch(ise(o)){case!1:{var C=o.stateNode,w=o.type,P=new w(o.memoizedProps,C.context),D=P.state;C.updater.enqueueSetState(C,D,null);break}case!0:{o.flags|=gn,o.flags|=Gi;var F=new Error("Simulated error coming from DevTools"),B=Si(y);o.lanes=ln(o.lanes,B);var ae=HR(o,_h(F,o),B);ZE(o,ae);break}}if(o.type!==o.elementType){var re=f.propTypes;re&&Qs(re,m,"prop",An(f))}}var ge;Xl(f)?(ge=!0,dk(o)):ge=!1,Qm(o,y);var be=o.stateNode,we;be===null?(t1(i,o),GF(o,f,m),VR(o,f,m,y),we=!0):i===null?we=Die(o,f,m,y):we=Aie(i,o,f,m,y);var st=ZR(i,o,f,we,ge,y);{var Vt=o.stateNode;we&&Vt.props!==m&&(Eh||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Zt(o)||"a component"),Eh=!0)}return st}function ZR(i,o,f,m,y,C){r9(i,o);var w=(o.flags&gn)!==Ot;if(!m&&!w)return y&&jU(o,f,!1),oc(i,o,C);var P=o.stateNode;f0.current=o;var D;if(w&&typeof f.getDerivedStateFromError!="function")D=null,BF();else{bo(o);{if(ho(!0),D=P.render(),o.mode&on){nr(!0);try{P.render()}finally{nr(!1)}}ho(!1)}Ul()}return o.flags|=Ws,i!==null&&w?Fie(i,o,D,C):Ya(i,o,D,C),o.memoizedState=P.state,y&&jU(o,f,!0),o.child}function a9(i){var o=i.stateNode;o.pendingContext?UU(i,o.pendingContext,o.pendingContext!==o.context):o.context&&UU(i,o.context,!1),QE(i,o.containerInfo)}function Bie(i,o,f){if(a9(o),i===null)throw new Error("Should have a current fiber. This is a bug in React.");var m=o.pendingProps,y=o.memoizedState,C=y.element;lF(i,o),Rk(o,m,null,f);var w=o.memoizedState;o.stateNode;var P=w.element;if(y.isDehydrated){var D={element:P,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},F=o.updateQueue;if(F.baseState=D,o.memoizedState=D,o.flags&Rr){var B=_h(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),o);return o9(i,o,P,f,B)}else if(P!==C){var ae=_h(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),o);return o9(i,o,P,f,ae)}else{qre(o);var re=tF(o,null,P,f);o.child=re;for(var ge=re;ge;)ge.flags=ge.flags&~Fr|jr,ge=ge.sibling}}else{if(Ym(),P===C)return oc(i,o,f);Ya(i,o,P,f)}return o.child}function o9(i,o,f,m,y){return Ym(),NE(y),o.flags|=Rr,Ya(i,o,f,m),o.child}function Hie(i,o,f){fF(o),i===null&&LE(o);var m=o.type,y=o.pendingProps,C=i!==null?i.memoizedProps:null,w=y.children,P=mE(m,y);return P?w=null:C!==null&&mE(m,C)&&(o.flags|=tr),r9(i,o),Ya(i,o,w,f),o.child}function $ie(i,o){return i===null&&LE(o),null}function qie(i,o,f,m){t1(i,o);var y=o.pendingProps,C=f,w=C._payload,P=C._init,D=P(w);o.type=D;var F=o.tag=$oe(D),B=nl(D,y),ae;switch(F){case p:return QR(o,D),o.type=D=fg(D),ae=KR(null,o,D,B,m),ae;case v:return o.type=D=EP(D),ae=i9(null,o,D,B,m),ae;case j:return o.type=D=RP(D),ae=JF(null,o,D,B,m),ae;case ne:{if(o.type!==o.elementType){var re=D.propTypes;re&&Qs(re,B,"prop",An(D))}return ae=e9(null,o,D,nl(D.type,B),m),ae}}var ge="";throw D!==null&&typeof D=="object"&&D.$$typeof===Gt&&(ge=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+D+". "+("Lazy element type must resolve to a class or function."+ge))}function Wie(i,o,f,m,y){t1(i,o),o.tag=v;var C;return Xl(f)?(C=!0,dk(o)):C=!1,Qm(o,y),GF(o,f,m),VR(o,f,m,y),ZR(null,o,f,!0,C,y)}function Gie(i,o,f,m){t1(i,o);var y=o.pendingProps,C;{var w=$m(o,f,!1);C=qm(o,w)}Qm(o,m);var P,D;bo(o);{if(f.prototype&&typeof f.prototype.render=="function"){var F=An(f)||"Unknown";$R[F]||(c("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",F,F),$R[F]=!0)}o.mode&on&&Js.recordLegacyContextWarning(o,null),ho(!0),f0.current=o,P=rg(null,o,f,y,C,m),D=ig(),ho(!1)}if(Ul(),o.flags|=Ws,typeof P=="object"&&P!==null&&typeof P.render=="function"&&P.$$typeof===void 0){var B=An(f)||"Unknown";h0[B]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",B,B,B),h0[B]=!0)}if(typeof P=="object"&&P!==null&&typeof P.render=="function"&&P.$$typeof===void 0){{var ae=An(f)||"Unknown";h0[ae]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ae,ae,ae),h0[ae]=!0)}o.tag=v,o.memoizedState=null,o.updateQueue=null;var re=!1;return Xl(f)?(re=!0,dk(o)):re=!1,o.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,KE(o),WF(o,P),VR(o,f,y,m),ZR(null,o,f,!0,re,m)}else{if(o.tag=p,o.mode&on){nr(!0);try{P=rg(null,o,f,y,C,m),D=ig()}finally{nr(!1)}}return la()&&D&&PE(o),Ya(null,o,P,m),QR(o,f),o.child}}function QR(i,o){{if(o&&o.childContextTypes&&c("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),i.ref!==null){var f="",m=na();m&&(f+=`
|
|
196
|
+
`+(""+F);console.error(ae)}catch(re){setTimeout(function(){throw re})}}var Mie=typeof WeakMap=="function"?WeakMap:Map;function KF(i,o,f){var m=ac(rr,f);m.tag=GE,m.payload={element:null};var y=o.value;return m.callback=function(){woe(y),BR(i,o)},m}function HR(i,o,f){var m=ac(rr,f);m.tag=GE;var y=i.type.getDerivedStateFromError;if(typeof y=="function"){var C=o.value;m.payload=function(){return y(C)},m.callback=function(){oj(i),BR(i,o)}}var w=i.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(m.callback=function(){oj(i),BR(i,o),typeof y!="function"&&Toe(this);var D=o.value,F=o.stack;this.componentDidCatch(D,{componentStack:F!==null?F:""}),typeof y!="function"&&(Aa(i.lanes,Ht)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Zt(i)||"Unknown"))}),m}function ZF(i,o,f){var m=i.pingCache,y;if(m===null?(m=i.pingCache=new Mie,y=new Set,m.set(o,y)):(y=m.get(o),y===void 0&&(y=new Set,m.set(o,y))),!y.has(f)){y.add(f);var C=_oe.bind(null,i,o,f);Yi&&R0(i,f),o.then(C,C)}}function Lie(i,o,f,m){var y=i.updateQueue;if(y===null){var C=new Set;C.add(f),i.updateQueue=C}else y.add(f)}function Nie(i,o){var f=i.tag;if((i.mode&bn)===Mt&&(f===p||f===j||f===X)){var m=i.alternate;m?(i.updateQueue=m.updateQueue,i.memoizedState=m.memoizedState,i.lanes=m.lanes):(i.updateQueue=null,i.memoizedState=null)}}function QF(i){var o=i;do{if(o.tag===N&&mie(o))return o;o=o.return}while(o!==null);return null}function XF(i,o,f,m,y){if((i.mode&bn)===Mt){if(i===o)i.flags|=Gi;else{if(i.flags|=vn,f.flags|=jo,f.flags&=-52805,f.tag===v){var C=f.alternate;if(C===null)f.tag=$;else{var w=ac(rr,Ht);w.tag=xk,Nd(f,w,Ht)}}f.lanes=ln(f.lanes,Ht)}return i}return i.flags|=Gi,i.lanes=y,i}function Iie(i,o,f,m,y){if(f.flags|=Lu,Yi&&R0(i,y),m!==null&&typeof m=="object"&&typeof m.then=="function"){var C=m;Nie(f),la()&&f.mode&bn&&HU();var w=QF(o);if(w!==null){w.flags&=~Rr,XF(w,o,f,i,y),w.mode&bn&&ZF(i,C,y),Lie(w,i,C);return}else{if(!fy(y)){ZF(i,C,y),kP();return}var P=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");m=P}}else if(la()&&f.mode&bn){HU();var D=QF(o);if(D!==null){(D.flags&Gi)===Ot&&(D.flags|=Rr),XF(D,o,f,i,y),NE(_h(m,f));return}}m=_h(m,f),moe(m);var F=o;do{switch(F.tag){case k:{var B=m;F.flags|=Gi;var ae=Si(y);F.lanes=ln(F.lanes,ae);var re=KF(F,B,ae);ZE(F,re);return}case v:var ge=m,be=F.type,we=F.stateNode;if((F.flags&vn)===Ot&&(typeof be.getDerivedStateFromError=="function"||we!==null&&typeof we.componentDidCatch=="function"&&!Q9(we))){F.flags|=Gi;var st=Si(y);F.lanes=ln(F.lanes,st);var Vt=HR(F,ge,st);ZE(F,Vt);return}break}F=F.return}while(F!==null)}function Uie(){return null}var f0=r.ReactCurrentOwner,rl=!1,$R,h0,qR,WR,GR,Eh,YR,Jk,p0;$R={},h0={},qR={},WR={},GR={},Eh=!1,YR={},Jk={},p0={};function Ya(i,o,f,m){i===null?o.child=tF(o,null,f,m):o.child=Km(o,i.child,f,m)}function Fie(i,o,f,m){o.child=Km(o,i.child,null,m),o.child=Km(o,null,f,m)}function JF(i,o,f,m,y){if(o.type!==o.elementType){var C=f.propTypes;C&&Qs(C,m,"prop",An(f))}var w=f.render,P=o.ref,D,F;Qm(o,y),bo(o);{if(f0.current=o,ho(!0),D=rg(i,o,w,m,P,y),F=ig(),o.mode&on){nr(!0);try{D=rg(i,o,w,m,P,y),F=ig()}finally{nr(!1)}}ho(!1)}return Ul(),i!==null&&!rl?(mF(i,o,y),oc(i,o,y)):(la()&&F&&PE(o),o.flags|=Ws,Ya(i,o,D,y),o.child)}function e9(i,o,f,m,y){if(i===null){var C=f.type;if(Hoe(C)&&f.compare===null&&f.defaultProps===void 0){var w=C;return w=fg(C),o.tag=X,o.type=w,QR(o,C),t9(i,o,w,m,y)}{var P=C.propTypes;if(P&&Qs(P,m,"prop",An(C)),f.defaultProps!==void 0){var D=An(C)||"Unknown";p0[D]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",D),p0[D]=!0)}}var F=MP(f.type,null,m,o,o.mode,y);return F.ref=o.ref,F.return=o,o.child=F,F}{var B=f.type,ae=B.propTypes;ae&&Qs(ae,m,"prop",An(B))}var re=i.child,ge=rP(i,y);if(!ge){var be=re.memoizedProps,we=f.compare;if(we=we!==null?we:Ut,we(be,m)&&i.ref===o.ref)return oc(i,o,y)}o.flags|=Ws;var st=Oh(re,m);return st.ref=o.ref,st.return=o,o.child=st,st}function t9(i,o,f,m,y){if(o.type!==o.elementType){var C=o.elementType;if(C.$$typeof===Gt){var w=C,P=w._payload,D=w._init;try{C=D(P)}catch{C=null}var F=C&&C.propTypes;F&&Qs(F,m,"prop",An(C))}}if(i!==null){var B=i.memoizedProps;if(Ut(B,m)&&i.ref===o.ref&&o.type===i.type)if(rl=!1,o.pendingProps=m=B,rP(i,y))(i.flags&jo)!==Ot&&(rl=!0);else return o.lanes=i.lanes,oc(i,o,y)}return KR(i,o,f,m,y)}function n9(i,o,f){var m=o.pendingProps,y=m.children,C=i!==null?i.memoizedState:null;if(m.mode==="hidden"||J)if((o.mode&bn)===Mt){var w={baseLanes:Pe,cachePool:null,transitions:null};o.memoizedState=w,f1(o,f)}else if(Aa(f,Pa)){var ae={baseLanes:Pe,cachePool:null,transitions:null};o.memoizedState=ae;var re=C!==null?C.baseLanes:f;f1(o,re)}else{var P=null,D;if(C!==null){var F=C.baseLanes;D=ln(F,f)}else D=f;o.lanes=o.childLanes=Pa;var B={baseLanes:D,cachePool:P,transitions:null};return o.memoizedState=B,o.updateQueue=null,f1(o,D),null}else{var ge;C!==null?(ge=ln(C.baseLanes,f),o.memoizedState=null):ge=f,f1(o,ge)}return Ya(i,o,y,f),o.child}function jie(i,o,f){var m=o.pendingProps;return Ya(i,o,m,f),o.child}function Vie(i,o,f){var m=o.pendingProps.children;return Ya(i,o,m,f),o.child}function zie(i,o,f){{o.flags|=kn;{var m=o.stateNode;m.effectDuration=0,m.passiveEffectDuration=0}}var y=o.pendingProps,C=y.children;return Ya(i,o,C,f),o.child}function r9(i,o){var f=o.ref;(i===null&&f!==null||i!==null&&i.ref!==f)&&(o.flags|=ti,o.flags|=jf)}function KR(i,o,f,m,y){if(o.type!==o.elementType){var C=f.propTypes;C&&Qs(C,m,"prop",An(f))}var w;{var P=$m(o,f,!0);w=qm(o,P)}var D,F;Qm(o,y),bo(o);{if(f0.current=o,ho(!0),D=rg(i,o,f,m,w,y),F=ig(),o.mode&on){nr(!0);try{D=rg(i,o,f,m,w,y),F=ig()}finally{nr(!1)}}ho(!1)}return Ul(),i!==null&&!rl?(mF(i,o,y),oc(i,o,y)):(la()&&F&&PE(o),o.flags|=Ws,Ya(i,o,D,y),o.child)}function i9(i,o,f,m,y){{switch(ise(o)){case!1:{var C=o.stateNode,w=o.type,P=new w(o.memoizedProps,C.context),D=P.state;C.updater.enqueueSetState(C,D,null);break}case!0:{o.flags|=vn,o.flags|=Gi;var F=new Error("Simulated error coming from DevTools"),B=Si(y);o.lanes=ln(o.lanes,B);var ae=HR(o,_h(F,o),B);ZE(o,ae);break}}if(o.type!==o.elementType){var re=f.propTypes;re&&Qs(re,m,"prop",An(f))}}var ge;Xl(f)?(ge=!0,dk(o)):ge=!1,Qm(o,y);var be=o.stateNode,we;be===null?(t1(i,o),GF(o,f,m),VR(o,f,m,y),we=!0):i===null?we=Die(o,f,m,y):we=Aie(i,o,f,m,y);var st=ZR(i,o,f,we,ge,y);{var Vt=o.stateNode;we&&Vt.props!==m&&(Eh||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Zt(o)||"a component"),Eh=!0)}return st}function ZR(i,o,f,m,y,C){r9(i,o);var w=(o.flags&vn)!==Ot;if(!m&&!w)return y&&jU(o,f,!1),oc(i,o,C);var P=o.stateNode;f0.current=o;var D;if(w&&typeof f.getDerivedStateFromError!="function")D=null,BF();else{bo(o);{if(ho(!0),D=P.render(),o.mode&on){nr(!0);try{P.render()}finally{nr(!1)}}ho(!1)}Ul()}return o.flags|=Ws,i!==null&&w?Fie(i,o,D,C):Ya(i,o,D,C),o.memoizedState=P.state,y&&jU(o,f,!0),o.child}function a9(i){var o=i.stateNode;o.pendingContext?UU(i,o.pendingContext,o.pendingContext!==o.context):o.context&&UU(i,o.context,!1),QE(i,o.containerInfo)}function Bie(i,o,f){if(a9(o),i===null)throw new Error("Should have a current fiber. This is a bug in React.");var m=o.pendingProps,y=o.memoizedState,C=y.element;lF(i,o),Rk(o,m,null,f);var w=o.memoizedState;o.stateNode;var P=w.element;if(y.isDehydrated){var D={element:P,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},F=o.updateQueue;if(F.baseState=D,o.memoizedState=D,o.flags&Rr){var B=_h(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),o);return o9(i,o,P,f,B)}else if(P!==C){var ae=_h(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),o);return o9(i,o,P,f,ae)}else{qre(o);var re=tF(o,null,P,f);o.child=re;for(var ge=re;ge;)ge.flags=ge.flags&~Fr|jr,ge=ge.sibling}}else{if(Ym(),P===C)return oc(i,o,f);Ya(i,o,P,f)}return o.child}function o9(i,o,f,m,y){return Ym(),NE(y),o.flags|=Rr,Ya(i,o,f,m),o.child}function Hie(i,o,f){fF(o),i===null&&LE(o);var m=o.type,y=o.pendingProps,C=i!==null?i.memoizedProps:null,w=y.children,P=mE(m,y);return P?w=null:C!==null&&mE(m,C)&&(o.flags|=tr),r9(i,o),Ya(i,o,w,f),o.child}function $ie(i,o){return i===null&&LE(o),null}function qie(i,o,f,m){t1(i,o);var y=o.pendingProps,C=f,w=C._payload,P=C._init,D=P(w);o.type=D;var F=o.tag=$oe(D),B=nl(D,y),ae;switch(F){case p:return QR(o,D),o.type=D=fg(D),ae=KR(null,o,D,B,m),ae;case v:return o.type=D=EP(D),ae=i9(null,o,D,B,m),ae;case j:return o.type=D=RP(D),ae=JF(null,o,D,B,m),ae;case ne:{if(o.type!==o.elementType){var re=D.propTypes;re&&Qs(re,B,"prop",An(D))}return ae=e9(null,o,D,nl(D.type,B),m),ae}}var ge="";throw D!==null&&typeof D=="object"&&D.$$typeof===Gt&&(ge=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+D+". "+("Lazy element type must resolve to a class or function."+ge))}function Wie(i,o,f,m,y){t1(i,o),o.tag=v;var C;return Xl(f)?(C=!0,dk(o)):C=!1,Qm(o,y),GF(o,f,m),VR(o,f,m,y),ZR(null,o,f,!0,C,y)}function Gie(i,o,f,m){t1(i,o);var y=o.pendingProps,C;{var w=$m(o,f,!1);C=qm(o,w)}Qm(o,m);var P,D;bo(o);{if(f.prototype&&typeof f.prototype.render=="function"){var F=An(f)||"Unknown";$R[F]||(c("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",F,F),$R[F]=!0)}o.mode&on&&Js.recordLegacyContextWarning(o,null),ho(!0),f0.current=o,P=rg(null,o,f,y,C,m),D=ig(),ho(!1)}if(Ul(),o.flags|=Ws,typeof P=="object"&&P!==null&&typeof P.render=="function"&&P.$$typeof===void 0){var B=An(f)||"Unknown";h0[B]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",B,B,B),h0[B]=!0)}if(typeof P=="object"&&P!==null&&typeof P.render=="function"&&P.$$typeof===void 0){{var ae=An(f)||"Unknown";h0[ae]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ae,ae,ae),h0[ae]=!0)}o.tag=v,o.memoizedState=null,o.updateQueue=null;var re=!1;return Xl(f)?(re=!0,dk(o)):re=!1,o.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,KE(o),WF(o,P),VR(o,f,y,m),ZR(null,o,f,!0,re,m)}else{if(o.tag=p,o.mode&on){nr(!0);try{P=rg(null,o,f,y,C,m),D=ig()}finally{nr(!1)}}return la()&&D&&PE(o),Ya(null,o,P,m),QR(o,f),o.child}}function QR(i,o){{if(o&&o.childContextTypes&&c("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),i.ref!==null){var f="",m=na();m&&(f+=`
|
|
197
197
|
|
|
198
|
-
Check the render method of \``+m+"`.");var y=m||"",C=i._debugSource;C&&(y=C.fileName+":"+C.lineNumber),GR[y]||(GR[y]=!0,c("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",f))}if(o.defaultProps!==void 0){var w=An(o)||"Unknown";p0[w]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),p0[w]=!0)}if(typeof o.getDerivedStateFromProps=="function"){var P=An(o)||"Unknown";WR[P]||(c("%s: Function components do not support getDerivedStateFromProps.",P),WR[P]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var D=An(o)||"Unknown";qR[D]||(c("%s: Function components do not support contextType.",D),qR[D]=!0)}}}var XR={dehydrated:null,treeContext:null,retryLane:ri};function JR(i){return{baseLanes:i,cachePool:Uie(),transitions:null}}function Yie(i,o){var f=null;return{baseLanes:ln(i.baseLanes,o),cachePool:f,transitions:i.transitions}}function Kie(i,o,f,m){if(o!==null){var y=o.memoizedState;if(y===null)return!1}return eR(i,r0)}function Zie(i,o){return Jf(i.childLanes,o)}function s9(i,o,f){var m=o.pendingProps;ase(o)&&(o.flags|=gn);var y=el.current,C=!1,w=(o.flags&gn)!==Ot;if(w||Kie(y,i)?(C=!0,o.flags&=~gn):(i===null||i.memoizedState!==null)&&(y=pie(y,pF)),y=Jm(y),Ud(o,y),i===null){LE(o);var P=o.memoizedState;if(P!==null){var D=P.dehydrated;if(D!==null)return tae(o,D)}var F=m.children,B=m.fallback;if(C){var ae=Qie(o,F,B,f),re=o.child;return re.memoizedState=JR(f),o.memoizedState=XR,ae}else return eP(o,F)}else{var ge=i.memoizedState;if(ge!==null){var be=ge.dehydrated;if(be!==null)return nae(i,o,w,m,be,ge,f)}if(C){var we=m.fallback,st=m.children,Vt=Jie(i,o,st,we,f),Pt=o.child,Mn=i.child.memoizedState;return Pt.memoizedState=Mn===null?JR(f):Yie(Mn,f),Pt.childLanes=Zie(i,f),o.memoizedState=XR,Vt}else{var xn=m.children,ce=Xie(i,o,xn,f);return o.memoizedState=null,ce}}}function eP(i,o,f){var m=i.mode,y={mode:"visible",children:o},C=tP(y,m);return C.return=i,i.child=C,C}function Qie(i,o,f,m){var y=i.mode,C=i.child,w={mode:"hidden",children:o},P,D;return(y&yn)===Mt&&C!==null?(P=C,P.childLanes=Pe,P.pendingProps=w,i.mode&En&&(P.actualDuration=0,P.actualStartTime=-1,P.selfBaseDuration=0,P.treeBaseDuration=0),D=qd(f,y,m,null)):(P=tP(w,y),D=qd(f,y,m,null)),P.return=i,D.return=i,P.sibling=D,i.child=P,D}function tP(i,o,f){return lj(i,o,Pe,null)}function l9(i,o){return Oh(i,o)}function Xie(i,o,f,m){var y=i.child,C=y.sibling,w=l9(y,{mode:"visible",children:f});if((o.mode&yn)===Mt&&(w.lanes=m),w.return=o,w.sibling=null,C!==null){var P=o.deletions;P===null?(o.deletions=[C],o.flags|=wa):P.push(C)}return o.child=w,w}function Jie(i,o,f,m,y){var C=o.mode,w=i.child,P=w.sibling,D={mode:"hidden",children:f},F;if((C&yn)===Mt&&o.child!==w){var B=o.child;F=B,F.childLanes=Pe,F.pendingProps=D,o.mode&En&&(F.actualDuration=0,F.actualStartTime=-1,F.selfBaseDuration=w.selfBaseDuration,F.treeBaseDuration=w.treeBaseDuration),o.deletions=null}else F=l9(w,D),F.subtreeFlags=w.subtreeFlags∋var ae;return P!==null?ae=Oh(P,m):(ae=qd(m,C,y,null),ae.flags|=Fr),ae.return=o,F.return=o,F.sibling=ae,o.child=F,ae}function e1(i,o,f,m){m!==null&&NE(m),Km(o,i.child,null,f);var y=o.pendingProps,C=y.children,w=eP(o,C);return w.flags|=Fr,o.memoizedState=null,w}function eae(i,o,f,m,y){var C=o.mode,w={mode:"visible",children:f},P=tP(w,C),D=qd(m,C,y,null);return D.flags|=Fr,P.return=o,D.return=o,P.sibling=D,o.child=P,(o.mode&yn)!==Mt&&Km(o,i.child,null,y),D}function tae(i,o,f){return(i.mode&yn)===Mt?(c("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),i.lanes=Ht):bE(o)?i.lanes=bi:i.lanes=Pa,null}function nae(i,o,f,m,y,C,w){if(f)if(o.flags&Rr){o.flags&=~Rr;var ce=zR(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return e1(i,o,w,ce)}else{if(o.memoizedState!==null)return o.child=i.child,o.flags|=gn,null;var _e=m.children,de=m.fallback,$e=eae(i,o,_e,de,w),yt=o.child;return yt.memoizedState=JR(w),o.memoizedState=XR,$e}else{if(Hre(),(o.mode&yn)===Mt)return e1(i,o,w,null);if(bE(y)){var P,D,F;{var B=ore(y);P=B.digest,D=B.message,F=B.stack}var ae;D?ae=new Error(D):ae=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var re=zR(ae,P,F);return e1(i,o,w,re)}var ge=Aa(w,i.childLanes);if(rl||ge){var be=d1();if(be!==null){var we=bm(be,w);if(we!==ri&&we!==C.retryLane){C.retryLane=we;var st=rr;wo(i,we),Vi(be,i,we,st)}}kP();var Vt=zR(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return e1(i,o,w,Vt)}else if(AU(y)){o.flags|=gn,o.child=i.child;var Pt=Eoe.bind(null,i);return sre(y,Pt),null}else{Wre(o,y,C.treeContext);var Mn=m.children,xn=eP(o,Mn);return xn.flags|=jr,xn}}}function u9(i,o,f){i.lanes=ln(i.lanes,o);var m=i.alternate;m!==null&&(m.lanes=ln(m.lanes,o)),qE(i.return,o,f)}function rae(i,o,f){for(var m=o;m!==null;){if(m.tag===N){var y=m.memoizedState;y!==null&&u9(m,f,i)}else if(m.tag===te)u9(m,f,i);else if(m.child!==null){m.child.return=m,m=m.child;continue}if(m===i)return;for(;m.sibling===null;){if(m.return===null||m.return===i)return;m=m.return}m.sibling.return=m.return,m=m.sibling}}function iae(i){for(var o=i,f=null;o!==null;){var m=o.alternate;m!==null&&Ok(m)===null&&(f=o),o=o.sibling}return f}function aae(i){if(i!==void 0&&i!=="forwards"&&i!=="backwards"&&i!=="together"&&!YR[i])if(YR[i]=!0,typeof i=="string")switch(i.toLowerCase()){case"together":case"forwards":case"backwards":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',i,i.toLowerCase());break}case"forward":case"backward":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',i,i.toLowerCase());break}default:c('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i);break}else c('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i)}function oae(i,o){i!==void 0&&!Jk[i]&&(i!=="collapsed"&&i!=="hidden"?(Jk[i]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',i)):o!=="forwards"&&o!=="backwards"&&(Jk[i]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)))}function c9(i,o){{var f=sn(i),m=!f&&typeof Er(i)=="function";if(f||m){var y=f?"array":"iterable";return c("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",y,o,y),!1}}return!0}function sae(i,o){if((o==="forwards"||o==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(sn(i)){for(var f=0;f<i.length;f++)if(!c9(i[f],f))return}else{var m=Er(i);if(typeof m=="function"){var y=m.call(i);if(y)for(var C=y.next(),w=0;!C.done;C=y.next()){if(!c9(C.value,w))return;w++}}else c('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o)}}function nP(i,o,f,m,y){var C=i.memoizedState;C===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:y}:(C.isBackwards=o,C.rendering=null,C.renderingStartTime=0,C.last=m,C.tail=f,C.tailMode=y)}function d9(i,o,f){var m=o.pendingProps,y=m.revealOrder,C=m.tail,w=m.children;aae(y),oae(C,y),sae(w,y),Ya(i,o,w,f);var P=el.current,D=eR(P,r0);if(D)P=tR(P,r0),o.flags|=gn;else{var F=i!==null&&(i.flags&gn)!==Ot;F&&rae(o,o.child,f),P=Jm(P)}if(Ud(o,P),(o.mode&yn)===Mt)o.memoizedState=null;else switch(y){case"forwards":{var B=iae(o.child),ae;B===null?(ae=o.child,o.child=null):(ae=B.sibling,B.sibling=null),nP(o,!1,ae,B,C);break}case"backwards":{var re=null,ge=o.child;for(o.child=null;ge!==null;){var be=ge.alternate;if(be!==null&&Ok(be)===null){o.child=ge;break}var we=ge.sibling;ge.sibling=re,re=ge,ge=we}nP(o,!0,re,null,C);break}case"together":{nP(o,!1,null,null,void 0);break}default:o.memoizedState=null}return o.child}function lae(i,o,f){QE(o,o.stateNode.containerInfo);var m=o.pendingProps;return i===null?o.child=Km(o,null,m,f):Ya(i,o,m,f),o.child}var f9=!1;function uae(i,o,f){var m=o.type,y=m._context,C=o.pendingProps,w=o.memoizedProps,P=C.value;{"value"in C||f9||(f9=!0,c("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var D=o.type.propTypes;D&&Qs(D,C,"prop","Context.Provider")}if(iF(o,y,P),w!==null){var F=w.value;if(dt(F,P)){if(w.children===C.children&&!uk())return oc(i,o,f)}else aie(o,y,f)}var B=C.children;return Ya(i,o,B,f),o.child}var h9=!1;function cae(i,o,f){var m=o.type;m._context===void 0?m!==m.Consumer&&(h9||(h9=!0,c("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):m=m._context;var y=o.pendingProps,C=y.children;typeof C!="function"&&c("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Qm(o,f);var w=ki(m);bo(o);var P;return f0.current=o,ho(!0),P=C(w),ho(!1),Ul(),o.flags|=Ws,Ya(i,o,P,f),o.child}function m0(){rl=!0}function t1(i,o){(o.mode&yn)===Mt&&i!==null&&(i.alternate=null,o.alternate=null,o.flags|=Fr)}function oc(i,o,f){return i!==null&&(o.dependencies=i.dependencies),BF(),E0(o.lanes),Aa(f,o.childLanes)?(rie(i,o),o.child):null}function dae(i,o,f){{var m=o.return;if(m===null)throw new Error("Cannot swap the root fiber.");if(i.alternate=null,o.alternate=null,f.index=o.index,f.sibling=o.sibling,f.return=o.return,f.ref=o.ref,o===m.child)m.child=f;else{var y=m.child;if(y===null)throw new Error("Expected parent to have a child.");for(;y.sibling!==o;)if(y=y.sibling,y===null)throw new Error("Expected to find the previous sibling.");y.sibling=f}var C=m.deletions;return C===null?(m.deletions=[i],m.flags|=wa):C.push(i),f.flags|=Fr,f}}function rP(i,o){var f=i.lanes;return!!Aa(f,o)}function fae(i,o,f){switch(o.tag){case k:a9(o),o.stateNode,Ym();break;case E:fF(o);break;case v:{var m=o.type;Xl(m)&&dk(o);break}case T:QE(o,o.stateNode.containerInfo);break;case V:{var y=o.memoizedProps.value,C=o.type._context;iF(o,C,y);break}case I:{var w=Aa(f,o.childLanes);w&&(o.flags|=kn);{var P=o.stateNode;P.effectDuration=0,P.passiveEffectDuration=0}}break;case N:{var D=o.memoizedState;if(D!==null){if(D.dehydrated!==null)return Ud(o,Jm(el.current)),o.flags|=gn,null;var F=o.child,B=F.childLanes;if(Aa(f,B))return s9(i,o,f);Ud(o,Jm(el.current));var ae=oc(i,o,f);return ae!==null?ae.sibling:null}else Ud(o,Jm(el.current));break}case te:{var re=(i.flags&gn)!==Ot,ge=Aa(f,o.childLanes);if(re){if(ge)return d9(i,o,f);o.flags|=gn}var be=o.memoizedState;if(be!==null&&(be.rendering=null,be.tail=null,be.lastEffect=null),Ud(o,el.current),ge)break;return null}case ke:case Ge:return o.lanes=Pe,n9(i,o,f)}return oc(i,o,f)}function p9(i,o,f){if(o._debugNeedsRemount&&i!==null)return dae(i,o,MP(o.type,o.key,o.pendingProps,o._debugOwner||null,o.mode,o.lanes));if(i!==null){var m=i.memoizedProps,y=o.pendingProps;if(m!==y||uk()||o.type!==i.type)rl=!0;else{var C=rP(i,f);if(!C&&(o.flags&gn)===Ot)return rl=!1,fae(i,o,f);(i.flags&jo)!==Ot?rl=!0:rl=!1}}else if(rl=!1,la()&&Ure(o)){var w=o.index,P=Fre();BU(o,P,w)}switch(o.lanes=Pe,o.tag){case b:return Gie(i,o,o.type,f);case se:{var D=o.elementType;return qie(i,o,D,f)}case p:{var F=o.type,B=o.pendingProps,ae=o.elementType===F?B:nl(F,B);return KR(i,o,F,ae,f)}case v:{var re=o.type,ge=o.pendingProps,be=o.elementType===re?ge:nl(re,ge);return i9(i,o,re,be,f)}case k:return Bie(i,o,f);case E:return Hie(i,o,f);case R:return $ie(i,o);case N:return s9(i,o,f);case T:return lae(i,o,f);case j:{var we=o.type,st=o.pendingProps,Vt=o.elementType===we?st:nl(we,st);return JF(i,o,we,Vt,f)}case M:return jie(i,o,f);case A:return Vie(i,o,f);case I:return zie(i,o,f);case V:return uae(i,o,f);case U:return cae(i,o,f);case ne:{var Pt=o.type,Mn=o.pendingProps,xn=nl(Pt,Mn);if(o.type!==o.elementType){var ce=Pt.propTypes;ce&&Qs(ce,xn,"prop",An(Pt))}return xn=nl(Pt.type,xn),e9(i,o,Pt,xn,f)}case X:return t9(i,o,o.type,o.pendingProps,f);case $:{var _e=o.type,de=o.pendingProps,$e=o.elementType===_e?de:nl(_e,de);return Wie(i,o,_e,$e,f)}case te:return d9(i,o,f);case xe:break;case ke:return n9(i,o,f)}throw new Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ag(i){i.flags|=kn}function m9(i){i.flags|=ti,i.flags|=jf}var g9,iP,v9,y9;g9=function(i,o,f,m){for(var y=o.child;y!==null;){if(y.tag===E||y.tag===R)Lne(i,y.stateNode);else if(y.tag!==T){if(y.child!==null){y.child.return=y,y=y.child;continue}}if(y===o)return;for(;y.sibling===null;){if(y.return===null||y.return===o)return;y=y.return}y.sibling.return=y.return,y=y.sibling}},iP=function(i,o){},v9=function(i,o,f,m,y){var C=i.memoizedProps;if(C!==m){var w=o.stateNode,P=XE(),D=Ine(w,f,C,m,y,P);o.updateQueue=D,D&&ag(o)}},y9=function(i,o,f,m){f!==m&&ag(o)};function g0(i,o){if(!la())switch(i.tailMode){case"hidden":{for(var f=i.tail,m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?i.tail=null:m.sibling=null;break}case"collapsed":{for(var y=i.tail,C=null;y!==null;)y.alternate!==null&&(C=y),y=y.sibling;C===null?!o&&i.tail!==null?i.tail.sibling=null:i.tail=null:C.sibling=null;break}}}function ca(i){var o=i.alternate!==null&&i.alternate.child===i.child,f=Pe,m=Ot;if(o){if((i.mode&En)!==Mt){for(var D=i.selfBaseDuration,F=i.child;F!==null;)f=ln(f,ln(F.lanes,F.childLanes)),m|=F.subtreeFlags&ni,m|=F.flags&ni,D+=F.treeBaseDuration,F=F.sibling;i.treeBaseDuration=D}else for(var B=i.child;B!==null;)f=ln(f,ln(B.lanes,B.childLanes)),m|=B.subtreeFlags&ni,m|=B.flags&ni,B.return=i,B=B.sibling;i.subtreeFlags|=m}else{if((i.mode&En)!==Mt){for(var y=i.actualDuration,C=i.selfBaseDuration,w=i.child;w!==null;)f=ln(f,ln(w.lanes,w.childLanes)),m|=w.subtreeFlags,m|=w.flags,y+=w.actualDuration,C+=w.treeBaseDuration,w=w.sibling;i.actualDuration=y,i.treeBaseDuration=C}else for(var P=i.child;P!==null;)f=ln(f,ln(P.lanes,P.childLanes)),m|=P.subtreeFlags,m|=P.flags,P.return=i,P=P.sibling;i.subtreeFlags|=m}return i.childLanes=f,o}function hae(i,o,f){if(Qre()&&(o.mode&yn)!==Mt&&(o.flags&gn)===Ot)return KU(o),Ym(),o.flags|=Rr|Lu|Gi,!1;var m=gk(o);if(f!==null&&f.dehydrated!==null)if(i===null){if(!m)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Kre(o),ca(o),(o.mode&En)!==Mt){var y=f!==null;if(y){var C=o.child;C!==null&&(o.treeBaseDuration-=C.treeBaseDuration)}}return!1}else{if(Ym(),(o.flags&gn)===Ot&&(o.memoizedState=null),o.flags|=kn,ca(o),(o.mode&En)!==Mt){var w=f!==null;if(w){var P=o.child;P!==null&&(o.treeBaseDuration-=P.treeBaseDuration)}}return!1}else return ZU(),!0}function b9(i,o,f){var m=o.pendingProps;switch(DE(o),o.tag){case b:case se:case X:case p:case j:case M:case A:case I:case U:case ne:return ca(o),null;case v:{var y=o.type;return Xl(y)&&ck(o),ca(o),null}case k:{var C=o.stateNode;if(Xm(o),_E(o),rR(),C.pendingContext&&(C.context=C.pendingContext,C.pendingContext=null),i===null||i.child===null){var w=gk(o);if(w)ag(o);else if(i!==null){var P=i.memoizedState;(!P.isDehydrated||(o.flags&Rr)!==Ot)&&(o.flags|=yo,ZU())}}return iP(i,o),ca(o),null}case E:{JE(o);var D=dF(),F=o.type;if(i!==null&&o.stateNode!=null)v9(i,o,F,m,D),i.ref!==o.ref&&m9(o);else{if(!m){if(o.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ca(o),null}var B=XE(),ae=gk(o);if(ae)Gre(o,D,B)&&ag(o);else{var re=Mne(F,m,D,B,o);g9(re,o,!1,!1),o.stateNode=re,Nne(re,F,m,D)&&ag(o)}o.ref!==null&&m9(o)}return ca(o),null}case R:{var ge=m;if(i&&o.stateNode!=null){var be=i.memoizedProps;y9(i,o,be,ge)}else{if(typeof ge!="string"&&o.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var we=dF(),st=XE(),Vt=gk(o);Vt?Yre(o)&&ag(o):o.stateNode=Une(ge,we,st,o)}return ca(o),null}case N:{eg(o);var Pt=o.memoizedState;if(i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){var Mn=hae(i,o,Pt);if(!Mn)return o.flags&Gi?o:null}if((o.flags&gn)!==Ot)return o.lanes=f,(o.mode&En)!==Mt&&RR(o),o;var xn=Pt!==null,ce=i!==null&&i.memoizedState!==null;if(xn!==ce&&xn){var _e=o.child;if(_e.flags|=ls,(o.mode&yn)!==Mt){var de=i===null&&(o.memoizedProps.unstable_avoidThisFallback!==!0||!0);de||eR(el.current,pF)?poe():kP()}}var $e=o.updateQueue;if($e!==null&&(o.flags|=kn),ca(o),(o.mode&En)!==Mt&&xn){var yt=o.child;yt!==null&&(o.treeBaseDuration-=yt.treeBaseDuration)}return null}case T:return Xm(o),iP(i,o),i===null&&Dre(o.stateNode.containerInfo),ca(o),null;case V:var ft=o.type._context;return $E(ft,o),ca(o),null;case $:{var qt=o.type;return Xl(qt)&&ck(o),ca(o),null}case te:{eg(o);var rn=o.memoizedState;if(rn===null)return ca(o),null;var fr=(o.flags&gn)!==Ot,Bn=rn.rendering;if(Bn===null)if(fr)g0(rn,!1);else{var pi=goe()&&(i===null||(i.flags&gn)===Ot);if(!pi)for(var Hn=o.child;Hn!==null;){var ai=Ok(Hn);if(ai!==null){fr=!0,o.flags|=gn,g0(rn,!1);var Ua=ai.updateQueue;return Ua!==null&&(o.updateQueue=Ua,o.flags|=kn),o.subtreeFlags=Ot,iie(o,f),Ud(o,tR(el.current,r0)),o.child}Hn=Hn.sibling}rn.tail!==null&&Wr()>V9()&&(o.flags|=gn,fr=!0,g0(rn,!1),o.lanes=pC)}else{if(!fr){var ma=Ok(Bn);if(ma!==null){o.flags|=gn,fr=!0;var Wo=ma.updateQueue;if(Wo!==null&&(o.updateQueue=Wo,o.flags|=kn),g0(rn,!0),rn.tail===null&&rn.tailMode==="hidden"&&!Bn.alternate&&!la())return ca(o),null}else Wr()*2-rn.renderingStartTime>V9()&&f!==Pa&&(o.flags|=gn,fr=!0,g0(rn,!1),o.lanes=pC)}if(rn.isBackwards)Bn.sibling=o.child,o.child=Bn;else{var Qa=rn.last;Qa!==null?Qa.sibling=Bn:o.child=Bn,rn.last=Bn}}if(rn.tail!==null){var Xa=rn.tail;rn.rendering=Xa,rn.tail=Xa.sibling,rn.renderingStartTime=Wr(),Xa.sibling=null;var Fa=el.current;return fr?Fa=tR(Fa,r0):Fa=Jm(Fa),Ud(o,Fa),Xa}return ca(o),null}case xe:break;case ke:case Ge:{CP(o);var dc=o.memoizedState,hg=dc!==null;if(i!==null){var O0=i.memoizedState,ou=O0!==null;ou!==hg&&!J&&(o.flags|=ls)}return!hg||(o.mode&yn)===Mt?ca(o):Aa(au,Pa)&&(ca(o),o.subtreeFlags&(Fr|kn)&&(o.flags|=ls)),null}case Je:return null;case Fe:return null}throw new Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function pae(i,o,f){switch(DE(o),o.tag){case v:{var m=o.type;Xl(m)&&ck(o);var y=o.flags;return y&Gi?(o.flags=y&~Gi|gn,(o.mode&En)!==Mt&&RR(o),o):null}case k:{o.stateNode,Xm(o),_E(o),rR();var C=o.flags;return(C&Gi)!==Ot&&(C&gn)===Ot?(o.flags=C&~Gi|gn,o):null}case E:return JE(o),null;case N:{eg(o);var w=o.memoizedState;if(w!==null&&w.dehydrated!==null){if(o.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ym()}var P=o.flags;return P&Gi?(o.flags=P&~Gi|gn,(o.mode&En)!==Mt&&RR(o),o):null}case te:return eg(o),null;case T:return Xm(o),null;case V:var D=o.type._context;return $E(D,o),null;case ke:case Ge:return CP(o),null;case Je:return null;default:return null}}function S9(i,o,f){switch(DE(o),o.tag){case v:{var m=o.type.childContextTypes;m!=null&&ck(o);break}case k:{o.stateNode,Xm(o),_E(o),rR();break}case E:{JE(o);break}case T:Xm(o);break;case N:eg(o);break;case te:eg(o);break;case V:var y=o.type._context;$E(y,o);break;case ke:case Ge:CP(o);break}}var C9=null;C9=new Set;var n1=!1,da=!1,mae=typeof WeakSet=="function"?WeakSet:Set,_t=null,og=null,sg=null;function gae(i){vo(null,function(){throw i}),Gv()}var vae=function(i,o){if(o.props=i.memoizedProps,o.state=i.memoizedState,i.mode&En)try{ru(),o.componentWillUnmount()}finally{nu(i)}else o.componentWillUnmount()};function k9(i,o){try{Vd(Li,i)}catch(f){Tr(i,o,f)}}function aP(i,o,f){try{vae(i,f)}catch(m){Tr(i,o,m)}}function yae(i,o,f){try{f.componentDidMount()}catch(m){Tr(i,o,m)}}function T9(i,o){try{w9(i)}catch(f){Tr(i,o,f)}}function lg(i,o){var f=i.ref;if(f!==null)if(typeof f=="function"){var m;try{if(Rt&&ht&&i.mode&En)try{ru(),m=f(null)}finally{nu(i)}else m=f(null)}catch(y){Tr(i,o,y)}typeof m=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(i))}else f.current=null}function r1(i,o,f){try{f()}catch(m){Tr(i,o,m)}}var x9=!1;function bae(i,o){Ane(i.containerInfo),_t=o,Sae();var f=x9;return x9=!1,f}function Sae(){for(;_t!==null;){var i=_t,o=i.child;(i.subtreeFlags&Ll)!==Ot&&o!==null?(o.return=i,_t=o):Cae()}}function Cae(){for(;_t!==null;){var i=_t;sr(i);try{kae(i)}catch(f){Tr(i,i.return,f)}Ur();var o=i.sibling;if(o!==null){o.return=i.return,_t=o;return}_t=i.return}}function kae(i){var o=i.alternate,f=i.flags;if((f&yo)!==Ot){switch(sr(i),i.tag){case p:case j:case X:break;case v:{if(o!==null){var m=o.memoizedProps,y=o.memoizedState,C=i.stateNode;i.type===i.elementType&&!Eh&&(C.props!==i.memoizedProps&&c("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(i)||"instance"),C.state!==i.memoizedState&&c("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(i)||"instance"));var w=C.getSnapshotBeforeUpdate(i.elementType===i.type?m:nl(i.type,m),y);{var P=C9;w===void 0&&!P.has(i.type)&&(P.add(i.type),c("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Zt(i)))}C.__reactInternalSnapshotBeforeUpdate=w}break}case k:{{var D=i.stateNode;nre(D.containerInfo)}break}case E:case R:case T:case $:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Ur()}}function il(i,o,f){var m=o.updateQueue,y=m!==null?m.lastEffect:null;if(y!==null){var C=y.next,w=C;do{if((w.tag&i)===i){var P=w.destroy;w.destroy=void 0,P!==void 0&&((i&ua)!==_o?Fl(o):(i&Li)!==_o&&ay(o),(i&Jl)!==_o&&P0(!0),r1(o,f,P),(i&Jl)!==_o&&P0(!1),(i&ua)!==_o?Wp():(i&Li)!==_o&&fd())}w=w.next}while(w!==C)}}function Vd(i,o){var f=o.updateQueue,m=f!==null?f.lastEffect:null;if(m!==null){var y=m.next,C=y;do{if((C.tag&i)===i){(i&ua)!==_o?fC(o):(i&Li)!==_o&&hC(o);var w=C.create;(i&Jl)!==_o&&P0(!0),C.destroy=w(),(i&Jl)!==_o&&P0(!1),(i&ua)!==_o?Ys():(i&Li)!==_o&&Gp();{var P=C.destroy;if(P!==void 0&&typeof P!="function"){var D=void 0;(C.tag&Li)!==Ot?D="useLayoutEffect":(C.tag&Jl)!==Ot?D="useInsertionEffect":D="useEffect";var F=void 0;P===null?F=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof P.then=="function"?F=`
|
|
198
|
+
Check the render method of \``+m+"`.");var y=m||"",C=i._debugSource;C&&(y=C.fileName+":"+C.lineNumber),GR[y]||(GR[y]=!0,c("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",f))}if(o.defaultProps!==void 0){var w=An(o)||"Unknown";p0[w]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),p0[w]=!0)}if(typeof o.getDerivedStateFromProps=="function"){var P=An(o)||"Unknown";WR[P]||(c("%s: Function components do not support getDerivedStateFromProps.",P),WR[P]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var D=An(o)||"Unknown";qR[D]||(c("%s: Function components do not support contextType.",D),qR[D]=!0)}}}var XR={dehydrated:null,treeContext:null,retryLane:ri};function JR(i){return{baseLanes:i,cachePool:Uie(),transitions:null}}function Yie(i,o){var f=null;return{baseLanes:ln(i.baseLanes,o),cachePool:f,transitions:i.transitions}}function Kie(i,o,f,m){if(o!==null){var y=o.memoizedState;if(y===null)return!1}return eR(i,r0)}function Zie(i,o){return Jf(i.childLanes,o)}function s9(i,o,f){var m=o.pendingProps;ase(o)&&(o.flags|=vn);var y=el.current,C=!1,w=(o.flags&vn)!==Ot;if(w||Kie(y,i)?(C=!0,o.flags&=~vn):(i===null||i.memoizedState!==null)&&(y=pie(y,pF)),y=Jm(y),Ud(o,y),i===null){LE(o);var P=o.memoizedState;if(P!==null){var D=P.dehydrated;if(D!==null)return tae(o,D)}var F=m.children,B=m.fallback;if(C){var ae=Qie(o,F,B,f),re=o.child;return re.memoizedState=JR(f),o.memoizedState=XR,ae}else return eP(o,F)}else{var ge=i.memoizedState;if(ge!==null){var be=ge.dehydrated;if(be!==null)return nae(i,o,w,m,be,ge,f)}if(C){var we=m.fallback,st=m.children,Vt=Jie(i,o,st,we,f),Pt=o.child,Mn=i.child.memoizedState;return Pt.memoizedState=Mn===null?JR(f):Yie(Mn,f),Pt.childLanes=Zie(i,f),o.memoizedState=XR,Vt}else{var xn=m.children,ce=Xie(i,o,xn,f);return o.memoizedState=null,ce}}}function eP(i,o,f){var m=i.mode,y={mode:"visible",children:o},C=tP(y,m);return C.return=i,i.child=C,C}function Qie(i,o,f,m){var y=i.mode,C=i.child,w={mode:"hidden",children:o},P,D;return(y&bn)===Mt&&C!==null?(P=C,P.childLanes=Pe,P.pendingProps=w,i.mode&En&&(P.actualDuration=0,P.actualStartTime=-1,P.selfBaseDuration=0,P.treeBaseDuration=0),D=qd(f,y,m,null)):(P=tP(w,y),D=qd(f,y,m,null)),P.return=i,D.return=i,P.sibling=D,i.child=P,D}function tP(i,o,f){return lj(i,o,Pe,null)}function l9(i,o){return Oh(i,o)}function Xie(i,o,f,m){var y=i.child,C=y.sibling,w=l9(y,{mode:"visible",children:f});if((o.mode&bn)===Mt&&(w.lanes=m),w.return=o,w.sibling=null,C!==null){var P=o.deletions;P===null?(o.deletions=[C],o.flags|=wa):P.push(C)}return o.child=w,w}function Jie(i,o,f,m,y){var C=o.mode,w=i.child,P=w.sibling,D={mode:"hidden",children:f},F;if((C&bn)===Mt&&o.child!==w){var B=o.child;F=B,F.childLanes=Pe,F.pendingProps=D,o.mode&En&&(F.actualDuration=0,F.actualStartTime=-1,F.selfBaseDuration=w.selfBaseDuration,F.treeBaseDuration=w.treeBaseDuration),o.deletions=null}else F=l9(w,D),F.subtreeFlags=w.subtreeFlags∋var ae;return P!==null?ae=Oh(P,m):(ae=qd(m,C,y,null),ae.flags|=Fr),ae.return=o,F.return=o,F.sibling=ae,o.child=F,ae}function e1(i,o,f,m){m!==null&&NE(m),Km(o,i.child,null,f);var y=o.pendingProps,C=y.children,w=eP(o,C);return w.flags|=Fr,o.memoizedState=null,w}function eae(i,o,f,m,y){var C=o.mode,w={mode:"visible",children:f},P=tP(w,C),D=qd(m,C,y,null);return D.flags|=Fr,P.return=o,D.return=o,P.sibling=D,o.child=P,(o.mode&bn)!==Mt&&Km(o,i.child,null,y),D}function tae(i,o,f){return(i.mode&bn)===Mt?(c("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),i.lanes=Ht):bE(o)?i.lanes=bi:i.lanes=Pa,null}function nae(i,o,f,m,y,C,w){if(f)if(o.flags&Rr){o.flags&=~Rr;var ce=zR(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return e1(i,o,w,ce)}else{if(o.memoizedState!==null)return o.child=i.child,o.flags|=vn,null;var _e=m.children,de=m.fallback,$e=eae(i,o,_e,de,w),yt=o.child;return yt.memoizedState=JR(w),o.memoizedState=XR,$e}else{if(Hre(),(o.mode&bn)===Mt)return e1(i,o,w,null);if(bE(y)){var P,D,F;{var B=ore(y);P=B.digest,D=B.message,F=B.stack}var ae;D?ae=new Error(D):ae=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var re=zR(ae,P,F);return e1(i,o,w,re)}var ge=Aa(w,i.childLanes);if(rl||ge){var be=d1();if(be!==null){var we=bm(be,w);if(we!==ri&&we!==C.retryLane){C.retryLane=we;var st=rr;wo(i,we),Vi(be,i,we,st)}}kP();var Vt=zR(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return e1(i,o,w,Vt)}else if(AU(y)){o.flags|=vn,o.child=i.child;var Pt=Eoe.bind(null,i);return sre(y,Pt),null}else{Wre(o,y,C.treeContext);var Mn=m.children,xn=eP(o,Mn);return xn.flags|=jr,xn}}}function u9(i,o,f){i.lanes=ln(i.lanes,o);var m=i.alternate;m!==null&&(m.lanes=ln(m.lanes,o)),qE(i.return,o,f)}function rae(i,o,f){for(var m=o;m!==null;){if(m.tag===N){var y=m.memoizedState;y!==null&&u9(m,f,i)}else if(m.tag===te)u9(m,f,i);else if(m.child!==null){m.child.return=m,m=m.child;continue}if(m===i)return;for(;m.sibling===null;){if(m.return===null||m.return===i)return;m=m.return}m.sibling.return=m.return,m=m.sibling}}function iae(i){for(var o=i,f=null;o!==null;){var m=o.alternate;m!==null&&Ok(m)===null&&(f=o),o=o.sibling}return f}function aae(i){if(i!==void 0&&i!=="forwards"&&i!=="backwards"&&i!=="together"&&!YR[i])if(YR[i]=!0,typeof i=="string")switch(i.toLowerCase()){case"together":case"forwards":case"backwards":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',i,i.toLowerCase());break}case"forward":case"backward":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',i,i.toLowerCase());break}default:c('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i);break}else c('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i)}function oae(i,o){i!==void 0&&!Jk[i]&&(i!=="collapsed"&&i!=="hidden"?(Jk[i]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',i)):o!=="forwards"&&o!=="backwards"&&(Jk[i]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)))}function c9(i,o){{var f=sn(i),m=!f&&typeof Er(i)=="function";if(f||m){var y=f?"array":"iterable";return c("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",y,o,y),!1}}return!0}function sae(i,o){if((o==="forwards"||o==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(sn(i)){for(var f=0;f<i.length;f++)if(!c9(i[f],f))return}else{var m=Er(i);if(typeof m=="function"){var y=m.call(i);if(y)for(var C=y.next(),w=0;!C.done;C=y.next()){if(!c9(C.value,w))return;w++}}else c('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o)}}function nP(i,o,f,m,y){var C=i.memoizedState;C===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:y}:(C.isBackwards=o,C.rendering=null,C.renderingStartTime=0,C.last=m,C.tail=f,C.tailMode=y)}function d9(i,o,f){var m=o.pendingProps,y=m.revealOrder,C=m.tail,w=m.children;aae(y),oae(C,y),sae(w,y),Ya(i,o,w,f);var P=el.current,D=eR(P,r0);if(D)P=tR(P,r0),o.flags|=vn;else{var F=i!==null&&(i.flags&vn)!==Ot;F&&rae(o,o.child,f),P=Jm(P)}if(Ud(o,P),(o.mode&bn)===Mt)o.memoizedState=null;else switch(y){case"forwards":{var B=iae(o.child),ae;B===null?(ae=o.child,o.child=null):(ae=B.sibling,B.sibling=null),nP(o,!1,ae,B,C);break}case"backwards":{var re=null,ge=o.child;for(o.child=null;ge!==null;){var be=ge.alternate;if(be!==null&&Ok(be)===null){o.child=ge;break}var we=ge.sibling;ge.sibling=re,re=ge,ge=we}nP(o,!0,re,null,C);break}case"together":{nP(o,!1,null,null,void 0);break}default:o.memoizedState=null}return o.child}function lae(i,o,f){QE(o,o.stateNode.containerInfo);var m=o.pendingProps;return i===null?o.child=Km(o,null,m,f):Ya(i,o,m,f),o.child}var f9=!1;function uae(i,o,f){var m=o.type,y=m._context,C=o.pendingProps,w=o.memoizedProps,P=C.value;{"value"in C||f9||(f9=!0,c("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var D=o.type.propTypes;D&&Qs(D,C,"prop","Context.Provider")}if(iF(o,y,P),w!==null){var F=w.value;if(dt(F,P)){if(w.children===C.children&&!uk())return oc(i,o,f)}else aie(o,y,f)}var B=C.children;return Ya(i,o,B,f),o.child}var h9=!1;function cae(i,o,f){var m=o.type;m._context===void 0?m!==m.Consumer&&(h9||(h9=!0,c("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):m=m._context;var y=o.pendingProps,C=y.children;typeof C!="function"&&c("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Qm(o,f);var w=ki(m);bo(o);var P;return f0.current=o,ho(!0),P=C(w),ho(!1),Ul(),o.flags|=Ws,Ya(i,o,P,f),o.child}function m0(){rl=!0}function t1(i,o){(o.mode&bn)===Mt&&i!==null&&(i.alternate=null,o.alternate=null,o.flags|=Fr)}function oc(i,o,f){return i!==null&&(o.dependencies=i.dependencies),BF(),E0(o.lanes),Aa(f,o.childLanes)?(rie(i,o),o.child):null}function dae(i,o,f){{var m=o.return;if(m===null)throw new Error("Cannot swap the root fiber.");if(i.alternate=null,o.alternate=null,f.index=o.index,f.sibling=o.sibling,f.return=o.return,f.ref=o.ref,o===m.child)m.child=f;else{var y=m.child;if(y===null)throw new Error("Expected parent to have a child.");for(;y.sibling!==o;)if(y=y.sibling,y===null)throw new Error("Expected to find the previous sibling.");y.sibling=f}var C=m.deletions;return C===null?(m.deletions=[i],m.flags|=wa):C.push(i),f.flags|=Fr,f}}function rP(i,o){var f=i.lanes;return!!Aa(f,o)}function fae(i,o,f){switch(o.tag){case k:a9(o),o.stateNode,Ym();break;case E:fF(o);break;case v:{var m=o.type;Xl(m)&&dk(o);break}case T:QE(o,o.stateNode.containerInfo);break;case V:{var y=o.memoizedProps.value,C=o.type._context;iF(o,C,y);break}case I:{var w=Aa(f,o.childLanes);w&&(o.flags|=kn);{var P=o.stateNode;P.effectDuration=0,P.passiveEffectDuration=0}}break;case N:{var D=o.memoizedState;if(D!==null){if(D.dehydrated!==null)return Ud(o,Jm(el.current)),o.flags|=vn,null;var F=o.child,B=F.childLanes;if(Aa(f,B))return s9(i,o,f);Ud(o,Jm(el.current));var ae=oc(i,o,f);return ae!==null?ae.sibling:null}else Ud(o,Jm(el.current));break}case te:{var re=(i.flags&vn)!==Ot,ge=Aa(f,o.childLanes);if(re){if(ge)return d9(i,o,f);o.flags|=vn}var be=o.memoizedState;if(be!==null&&(be.rendering=null,be.tail=null,be.lastEffect=null),Ud(o,el.current),ge)break;return null}case ke:case Ge:return o.lanes=Pe,n9(i,o,f)}return oc(i,o,f)}function p9(i,o,f){if(o._debugNeedsRemount&&i!==null)return dae(i,o,MP(o.type,o.key,o.pendingProps,o._debugOwner||null,o.mode,o.lanes));if(i!==null){var m=i.memoizedProps,y=o.pendingProps;if(m!==y||uk()||o.type!==i.type)rl=!0;else{var C=rP(i,f);if(!C&&(o.flags&vn)===Ot)return rl=!1,fae(i,o,f);(i.flags&jo)!==Ot?rl=!0:rl=!1}}else if(rl=!1,la()&&Ure(o)){var w=o.index,P=Fre();BU(o,P,w)}switch(o.lanes=Pe,o.tag){case b:return Gie(i,o,o.type,f);case se:{var D=o.elementType;return qie(i,o,D,f)}case p:{var F=o.type,B=o.pendingProps,ae=o.elementType===F?B:nl(F,B);return KR(i,o,F,ae,f)}case v:{var re=o.type,ge=o.pendingProps,be=o.elementType===re?ge:nl(re,ge);return i9(i,o,re,be,f)}case k:return Bie(i,o,f);case E:return Hie(i,o,f);case R:return $ie(i,o);case N:return s9(i,o,f);case T:return lae(i,o,f);case j:{var we=o.type,st=o.pendingProps,Vt=o.elementType===we?st:nl(we,st);return JF(i,o,we,Vt,f)}case M:return jie(i,o,f);case A:return Vie(i,o,f);case I:return zie(i,o,f);case V:return uae(i,o,f);case U:return cae(i,o,f);case ne:{var Pt=o.type,Mn=o.pendingProps,xn=nl(Pt,Mn);if(o.type!==o.elementType){var ce=Pt.propTypes;ce&&Qs(ce,xn,"prop",An(Pt))}return xn=nl(Pt.type,xn),e9(i,o,Pt,xn,f)}case X:return t9(i,o,o.type,o.pendingProps,f);case $:{var _e=o.type,de=o.pendingProps,$e=o.elementType===_e?de:nl(_e,de);return Wie(i,o,_e,$e,f)}case te:return d9(i,o,f);case xe:break;case ke:return n9(i,o,f)}throw new Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ag(i){i.flags|=kn}function m9(i){i.flags|=ti,i.flags|=jf}var g9,iP,v9,y9;g9=function(i,o,f,m){for(var y=o.child;y!==null;){if(y.tag===E||y.tag===R)Lne(i,y.stateNode);else if(y.tag!==T){if(y.child!==null){y.child.return=y,y=y.child;continue}}if(y===o)return;for(;y.sibling===null;){if(y.return===null||y.return===o)return;y=y.return}y.sibling.return=y.return,y=y.sibling}},iP=function(i,o){},v9=function(i,o,f,m,y){var C=i.memoizedProps;if(C!==m){var w=o.stateNode,P=XE(),D=Ine(w,f,C,m,y,P);o.updateQueue=D,D&&ag(o)}},y9=function(i,o,f,m){f!==m&&ag(o)};function g0(i,o){if(!la())switch(i.tailMode){case"hidden":{for(var f=i.tail,m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?i.tail=null:m.sibling=null;break}case"collapsed":{for(var y=i.tail,C=null;y!==null;)y.alternate!==null&&(C=y),y=y.sibling;C===null?!o&&i.tail!==null?i.tail.sibling=null:i.tail=null:C.sibling=null;break}}}function ca(i){var o=i.alternate!==null&&i.alternate.child===i.child,f=Pe,m=Ot;if(o){if((i.mode&En)!==Mt){for(var D=i.selfBaseDuration,F=i.child;F!==null;)f=ln(f,ln(F.lanes,F.childLanes)),m|=F.subtreeFlags&ni,m|=F.flags&ni,D+=F.treeBaseDuration,F=F.sibling;i.treeBaseDuration=D}else for(var B=i.child;B!==null;)f=ln(f,ln(B.lanes,B.childLanes)),m|=B.subtreeFlags&ni,m|=B.flags&ni,B.return=i,B=B.sibling;i.subtreeFlags|=m}else{if((i.mode&En)!==Mt){for(var y=i.actualDuration,C=i.selfBaseDuration,w=i.child;w!==null;)f=ln(f,ln(w.lanes,w.childLanes)),m|=w.subtreeFlags,m|=w.flags,y+=w.actualDuration,C+=w.treeBaseDuration,w=w.sibling;i.actualDuration=y,i.treeBaseDuration=C}else for(var P=i.child;P!==null;)f=ln(f,ln(P.lanes,P.childLanes)),m|=P.subtreeFlags,m|=P.flags,P.return=i,P=P.sibling;i.subtreeFlags|=m}return i.childLanes=f,o}function hae(i,o,f){if(Qre()&&(o.mode&bn)!==Mt&&(o.flags&vn)===Ot)return KU(o),Ym(),o.flags|=Rr|Lu|Gi,!1;var m=gk(o);if(f!==null&&f.dehydrated!==null)if(i===null){if(!m)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Kre(o),ca(o),(o.mode&En)!==Mt){var y=f!==null;if(y){var C=o.child;C!==null&&(o.treeBaseDuration-=C.treeBaseDuration)}}return!1}else{if(Ym(),(o.flags&vn)===Ot&&(o.memoizedState=null),o.flags|=kn,ca(o),(o.mode&En)!==Mt){var w=f!==null;if(w){var P=o.child;P!==null&&(o.treeBaseDuration-=P.treeBaseDuration)}}return!1}else return ZU(),!0}function b9(i,o,f){var m=o.pendingProps;switch(DE(o),o.tag){case b:case se:case X:case p:case j:case M:case A:case I:case U:case ne:return ca(o),null;case v:{var y=o.type;return Xl(y)&&ck(o),ca(o),null}case k:{var C=o.stateNode;if(Xm(o),_E(o),rR(),C.pendingContext&&(C.context=C.pendingContext,C.pendingContext=null),i===null||i.child===null){var w=gk(o);if(w)ag(o);else if(i!==null){var P=i.memoizedState;(!P.isDehydrated||(o.flags&Rr)!==Ot)&&(o.flags|=yo,ZU())}}return iP(i,o),ca(o),null}case E:{JE(o);var D=dF(),F=o.type;if(i!==null&&o.stateNode!=null)v9(i,o,F,m,D),i.ref!==o.ref&&m9(o);else{if(!m){if(o.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ca(o),null}var B=XE(),ae=gk(o);if(ae)Gre(o,D,B)&&ag(o);else{var re=Mne(F,m,D,B,o);g9(re,o,!1,!1),o.stateNode=re,Nne(re,F,m,D)&&ag(o)}o.ref!==null&&m9(o)}return ca(o),null}case R:{var ge=m;if(i&&o.stateNode!=null){var be=i.memoizedProps;y9(i,o,be,ge)}else{if(typeof ge!="string"&&o.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var we=dF(),st=XE(),Vt=gk(o);Vt?Yre(o)&&ag(o):o.stateNode=Une(ge,we,st,o)}return ca(o),null}case N:{eg(o);var Pt=o.memoizedState;if(i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){var Mn=hae(i,o,Pt);if(!Mn)return o.flags&Gi?o:null}if((o.flags&vn)!==Ot)return o.lanes=f,(o.mode&En)!==Mt&&RR(o),o;var xn=Pt!==null,ce=i!==null&&i.memoizedState!==null;if(xn!==ce&&xn){var _e=o.child;if(_e.flags|=ls,(o.mode&bn)!==Mt){var de=i===null&&(o.memoizedProps.unstable_avoidThisFallback!==!0||!0);de||eR(el.current,pF)?poe():kP()}}var $e=o.updateQueue;if($e!==null&&(o.flags|=kn),ca(o),(o.mode&En)!==Mt&&xn){var yt=o.child;yt!==null&&(o.treeBaseDuration-=yt.treeBaseDuration)}return null}case T:return Xm(o),iP(i,o),i===null&&Dre(o.stateNode.containerInfo),ca(o),null;case V:var ft=o.type._context;return $E(ft,o),ca(o),null;case $:{var qt=o.type;return Xl(qt)&&ck(o),ca(o),null}case te:{eg(o);var rn=o.memoizedState;if(rn===null)return ca(o),null;var fr=(o.flags&vn)!==Ot,Bn=rn.rendering;if(Bn===null)if(fr)g0(rn,!1);else{var pi=goe()&&(i===null||(i.flags&vn)===Ot);if(!pi)for(var Hn=o.child;Hn!==null;){var ai=Ok(Hn);if(ai!==null){fr=!0,o.flags|=vn,g0(rn,!1);var Ua=ai.updateQueue;return Ua!==null&&(o.updateQueue=Ua,o.flags|=kn),o.subtreeFlags=Ot,iie(o,f),Ud(o,tR(el.current,r0)),o.child}Hn=Hn.sibling}rn.tail!==null&&Wr()>V9()&&(o.flags|=vn,fr=!0,g0(rn,!1),o.lanes=pC)}else{if(!fr){var ma=Ok(Bn);if(ma!==null){o.flags|=vn,fr=!0;var Wo=ma.updateQueue;if(Wo!==null&&(o.updateQueue=Wo,o.flags|=kn),g0(rn,!0),rn.tail===null&&rn.tailMode==="hidden"&&!Bn.alternate&&!la())return ca(o),null}else Wr()*2-rn.renderingStartTime>V9()&&f!==Pa&&(o.flags|=vn,fr=!0,g0(rn,!1),o.lanes=pC)}if(rn.isBackwards)Bn.sibling=o.child,o.child=Bn;else{var Qa=rn.last;Qa!==null?Qa.sibling=Bn:o.child=Bn,rn.last=Bn}}if(rn.tail!==null){var Xa=rn.tail;rn.rendering=Xa,rn.tail=Xa.sibling,rn.renderingStartTime=Wr(),Xa.sibling=null;var Fa=el.current;return fr?Fa=tR(Fa,r0):Fa=Jm(Fa),Ud(o,Fa),Xa}return ca(o),null}case xe:break;case ke:case Ge:{CP(o);var dc=o.memoizedState,hg=dc!==null;if(i!==null){var O0=i.memoizedState,ou=O0!==null;ou!==hg&&!J&&(o.flags|=ls)}return!hg||(o.mode&bn)===Mt?ca(o):Aa(au,Pa)&&(ca(o),o.subtreeFlags&(Fr|kn)&&(o.flags|=ls)),null}case Je:return null;case Fe:return null}throw new Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function pae(i,o,f){switch(DE(o),o.tag){case v:{var m=o.type;Xl(m)&&ck(o);var y=o.flags;return y&Gi?(o.flags=y&~Gi|vn,(o.mode&En)!==Mt&&RR(o),o):null}case k:{o.stateNode,Xm(o),_E(o),rR();var C=o.flags;return(C&Gi)!==Ot&&(C&vn)===Ot?(o.flags=C&~Gi|vn,o):null}case E:return JE(o),null;case N:{eg(o);var w=o.memoizedState;if(w!==null&&w.dehydrated!==null){if(o.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ym()}var P=o.flags;return P&Gi?(o.flags=P&~Gi|vn,(o.mode&En)!==Mt&&RR(o),o):null}case te:return eg(o),null;case T:return Xm(o),null;case V:var D=o.type._context;return $E(D,o),null;case ke:case Ge:return CP(o),null;case Je:return null;default:return null}}function S9(i,o,f){switch(DE(o),o.tag){case v:{var m=o.type.childContextTypes;m!=null&&ck(o);break}case k:{o.stateNode,Xm(o),_E(o),rR();break}case E:{JE(o);break}case T:Xm(o);break;case N:eg(o);break;case te:eg(o);break;case V:var y=o.type._context;$E(y,o);break;case ke:case Ge:CP(o);break}}var C9=null;C9=new Set;var n1=!1,da=!1,mae=typeof WeakSet=="function"?WeakSet:Set,_t=null,og=null,sg=null;function gae(i){vo(null,function(){throw i}),Gv()}var vae=function(i,o){if(o.props=i.memoizedProps,o.state=i.memoizedState,i.mode&En)try{ru(),o.componentWillUnmount()}finally{nu(i)}else o.componentWillUnmount()};function k9(i,o){try{Vd(Li,i)}catch(f){Tr(i,o,f)}}function aP(i,o,f){try{vae(i,f)}catch(m){Tr(i,o,m)}}function yae(i,o,f){try{f.componentDidMount()}catch(m){Tr(i,o,m)}}function T9(i,o){try{w9(i)}catch(f){Tr(i,o,f)}}function lg(i,o){var f=i.ref;if(f!==null)if(typeof f=="function"){var m;try{if(Rt&&ht&&i.mode&En)try{ru(),m=f(null)}finally{nu(i)}else m=f(null)}catch(y){Tr(i,o,y)}typeof m=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(i))}else f.current=null}function r1(i,o,f){try{f()}catch(m){Tr(i,o,m)}}var x9=!1;function bae(i,o){Ane(i.containerInfo),_t=o,Sae();var f=x9;return x9=!1,f}function Sae(){for(;_t!==null;){var i=_t,o=i.child;(i.subtreeFlags&Ll)!==Ot&&o!==null?(o.return=i,_t=o):Cae()}}function Cae(){for(;_t!==null;){var i=_t;sr(i);try{kae(i)}catch(f){Tr(i,i.return,f)}Ur();var o=i.sibling;if(o!==null){o.return=i.return,_t=o;return}_t=i.return}}function kae(i){var o=i.alternate,f=i.flags;if((f&yo)!==Ot){switch(sr(i),i.tag){case p:case j:case X:break;case v:{if(o!==null){var m=o.memoizedProps,y=o.memoizedState,C=i.stateNode;i.type===i.elementType&&!Eh&&(C.props!==i.memoizedProps&&c("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(i)||"instance"),C.state!==i.memoizedState&&c("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(i)||"instance"));var w=C.getSnapshotBeforeUpdate(i.elementType===i.type?m:nl(i.type,m),y);{var P=C9;w===void 0&&!P.has(i.type)&&(P.add(i.type),c("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Zt(i)))}C.__reactInternalSnapshotBeforeUpdate=w}break}case k:{{var D=i.stateNode;nre(D.containerInfo)}break}case E:case R:case T:case $:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Ur()}}function il(i,o,f){var m=o.updateQueue,y=m!==null?m.lastEffect:null;if(y!==null){var C=y.next,w=C;do{if((w.tag&i)===i){var P=w.destroy;w.destroy=void 0,P!==void 0&&((i&ua)!==_o?Fl(o):(i&Li)!==_o&&ay(o),(i&Jl)!==_o&&P0(!0),r1(o,f,P),(i&Jl)!==_o&&P0(!1),(i&ua)!==_o?Wp():(i&Li)!==_o&&fd())}w=w.next}while(w!==C)}}function Vd(i,o){var f=o.updateQueue,m=f!==null?f.lastEffect:null;if(m!==null){var y=m.next,C=y;do{if((C.tag&i)===i){(i&ua)!==_o?fC(o):(i&Li)!==_o&&hC(o);var w=C.create;(i&Jl)!==_o&&P0(!0),C.destroy=w(),(i&Jl)!==_o&&P0(!1),(i&ua)!==_o?Ys():(i&Li)!==_o&&Gp();{var P=C.destroy;if(P!==void 0&&typeof P!="function"){var D=void 0;(C.tag&Li)!==Ot?D="useLayoutEffect":(C.tag&Jl)!==Ot?D="useInsertionEffect":D="useEffect";var F=void 0;P===null?F=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof P.then=="function"?F=`
|
|
199
199
|
|
|
200
200
|
It looks like you wrote `+D+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
201
201
|
|
|
@@ -208,11 +208,11 @@ It looks like you wrote `+D+`(async () => ...) or returned a Promise. Instead, w
|
|
|
208
208
|
fetchData();
|
|
209
209
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
210
210
|
|
|
211
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:F=" You returned: "+P,c("%s must not return anything besides a function, which is used for clean-up.%s",D,F)}}}C=C.next}while(C!==y)}}function Tae(i,o){if((o.flags&kn)!==Ot)switch(o.tag){case I:{var f=o.stateNode.passiveEffectDuration,m=o.memoizedProps,y=m.id,C=m.onPostCommit,w=VF(),P=o.alternate===null?"mount":"update";jF()&&(P="nested-update"),typeof C=="function"&&C(y,P,f,w);var D=o.return;e:for(;D!==null;){switch(D.tag){case k:var F=D.stateNode;F.passiveEffectDuration+=f;break e;case I:var B=D.stateNode;B.passiveEffectDuration+=f;break e}D=D.return}break}}}function xae(i,o,f,m){if((f.flags&Nl)!==Ot)switch(f.tag){case p:case j:case X:{if(!da)if(f.mode&En)try{ru(),Vd(Li|Mi,f)}finally{nu(f)}else Vd(Li|Mi,f);break}case v:{var y=f.stateNode;if(f.flags&kn&&!da)if(o===null)if(f.type===f.elementType&&!Eh&&(y.props!==f.memoizedProps&&c("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(f)||"instance"),y.state!==f.memoizedState&&c("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(f)||"instance")),f.mode&En)try{ru(),y.componentDidMount()}finally{nu(f)}else y.componentDidMount();else{var C=f.elementType===f.type?o.memoizedProps:nl(f.type,o.memoizedProps),w=o.memoizedState;if(f.type===f.elementType&&!Eh&&(y.props!==f.memoizedProps&&c("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(f)||"instance"),y.state!==f.memoizedState&&c("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(f)||"instance")),f.mode&En)try{ru(),y.componentDidUpdate(C,w,y.__reactInternalSnapshotBeforeUpdate)}finally{nu(f)}else y.componentDidUpdate(C,w,y.__reactInternalSnapshotBeforeUpdate)}var P=f.updateQueue;P!==null&&(f.type===f.elementType&&!Eh&&(y.props!==f.memoizedProps&&c("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(f)||"instance"),y.state!==f.memoizedState&&c("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(f)||"instance")),cF(f,P,y));break}case k:{var D=f.updateQueue;if(D!==null){var F=null;if(f.child!==null)switch(f.child.tag){case E:F=f.child.stateNode;break;case v:F=f.child.stateNode;break}cF(f,D,F)}break}case E:{var B=f.stateNode;if(o===null&&f.flags&kn){var ae=f.type,re=f.memoizedProps;Bne(B,ae,re)}break}case R:break;case T:break;case I:{{var ge=f.memoizedProps,be=ge.onCommit,we=ge.onRender,st=f.stateNode.effectDuration,Vt=VF(),Pt=o===null?"mount":"update";jF()&&(Pt="nested-update"),typeof we=="function"&&we(f.memoizedProps.id,Pt,f.actualDuration,f.treeBaseDuration,f.actualStartTime,Vt);{typeof be=="function"&&be(f.memoizedProps.id,Pt,st,Vt),Coe(f);var Mn=f.return;e:for(;Mn!==null;){switch(Mn.tag){case k:var xn=Mn.stateNode;xn.effectDuration+=st;break e;case I:var ce=Mn.stateNode;ce.effectDuration+=st;break e}Mn=Mn.return}}}break}case N:{Oae(i,f);break}case te:case $:case xe:case ke:case Ge:case Fe:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}da||f.flags&ti&&w9(f)}function wae(i){switch(i.tag){case p:case j:case X:{if(i.mode&En)try{ru(),k9(i,i.return)}finally{nu(i)}else k9(i,i.return);break}case v:{var o=i.stateNode;typeof o.componentDidMount=="function"&&yae(i,i.return,o),T9(i,i.return);break}case E:{T9(i,i.return);break}}}function _ae(i,o){for(var f=null,m=i;;){if(m.tag===E){if(f===null){f=m;try{var y=m.stateNode;o?Xne(y):ere(m.stateNode,m.memoizedProps)}catch(w){Tr(i,i.return,w)}}}else if(m.tag===R){if(f===null)try{var C=m.stateNode;o?Jne(C):tre(C,m.memoizedProps)}catch(w){Tr(i,i.return,w)}}else if(!((m.tag===ke||m.tag===Ge)&&m.memoizedState!==null&&m!==i)){if(m.child!==null){m.child.return=m,m=m.child;continue}}if(m===i)return;for(;m.sibling===null;){if(m.return===null||m.return===i)return;f===m&&(f=null),m=m.return}f===m&&(f=null),m.sibling.return=m.return,m=m.sibling}}function w9(i){var o=i.ref;if(o!==null){var f=i.stateNode,m;switch(i.tag){case E:m=f;break;default:m=f}if(typeof o=="function"){var y;if(i.mode&En)try{ru(),y=o(m)}finally{nu(i)}else y=o(m);typeof y=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(i))}else o.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Zt(i)),o.current=m}}function Eae(i){var o=i.alternate;o!==null&&(o.return=null),i.return=null}function _9(i){var o=i.alternate;o!==null&&(i.alternate=null,_9(o));{if(i.child=null,i.deletions=null,i.sibling=null,i.tag===E){var f=i.stateNode;f!==null&&Mre(f)}i.stateNode=null,i._debugOwner=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}}function Rae(i){for(var o=i.return;o!==null;){if(E9(o))return o;o=o.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function E9(i){return i.tag===E||i.tag===k||i.tag===T}function R9(i){var o=i;e:for(;;){for(;o.sibling===null;){if(o.return===null||E9(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==E&&o.tag!==R&&o.tag!==oe;){if(o.flags&Fr||o.child===null||o.tag===T)continue e;o.child.return=o,o=o.child}if(!(o.flags&Fr))return o.stateNode}}function Pae(i){var o=Rae(i);switch(o.tag){case E:{var f=o.stateNode;o.flags&tr&&(DU(f),o.flags&=~tr);var m=R9(i);sP(i,m,f);break}case k:case T:{var y=o.stateNode.containerInfo,C=R9(i);oP(i,C,y);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function oP(i,o,f){var m=i.tag,y=m===E||m===R;if(y){var C=i.stateNode;o?Yne(f,C,o):Wne(f,C)}else if(m!==T){var w=i.child;if(w!==null){oP(w,o,f);for(var P=w.sibling;P!==null;)oP(P,o,f),P=P.sibling}}}function sP(i,o,f){var m=i.tag,y=m===E||m===R;if(y){var C=i.stateNode;o?Gne(f,C,o):qne(f,C)}else if(m!==T){var w=i.child;if(w!==null){sP(w,o,f);for(var P=w.sibling;P!==null;)sP(P,o,f),P=P.sibling}}}var fa=null,al=!1;function Dae(i,o,f){{var m=o;e:for(;m!==null;){switch(m.tag){case E:{fa=m.stateNode,al=!1;break e}case k:{fa=m.stateNode.containerInfo,al=!0;break e}case T:{fa=m.stateNode.containerInfo,al=!0;break e}}m=m.return}if(fa===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");P9(i,o,f),fa=null,al=!1}Eae(f)}function zd(i,o,f){for(var m=f.child;m!==null;)P9(i,o,m),m=m.sibling}function P9(i,o,f){switch(dd(f),f.tag){case E:da||lg(f,o);case R:{{var m=fa,y=al;fa=null,zd(i,o,f),fa=m,al=y,fa!==null&&(al?Zne(fa,f.stateNode):Kne(fa,f.stateNode))}return}case oe:{fa!==null&&(al?Qne(fa,f.stateNode):yE(fa,f.stateNode));return}case T:{{var C=fa,w=al;fa=f.stateNode.containerInfo,al=!0,zd(i,o,f),fa=C,al=w}return}case p:case j:case ne:case X:{if(!da){var P=f.updateQueue;if(P!==null){var D=P.lastEffect;if(D!==null){var F=D.next,B=F;do{var ae=B,re=ae.destroy,ge=ae.tag;re!==void 0&&((ge&Jl)!==_o?r1(f,o,re):(ge&Li)!==_o&&(ay(f),f.mode&En?(ru(),r1(f,o,re),nu(f)):r1(f,o,re),fd())),B=B.next}while(B!==F)}}}zd(i,o,f);return}case v:{if(!da){lg(f,o);var be=f.stateNode;typeof be.componentWillUnmount=="function"&&aP(f,o,be)}zd(i,o,f);return}case xe:{zd(i,o,f);return}case ke:{if(f.mode&yn){var we=da;da=we||f.memoizedState!==null,zd(i,o,f),da=we}else zd(i,o,f);break}default:{zd(i,o,f);return}}}function Aae(i){i.memoizedState}function Oae(i,o){var f=o.memoizedState;if(f===null){var m=o.alternate;if(m!==null){var y=m.memoizedState;if(y!==null){var C=y.dehydrated;C!==null&&gre(C)}}}}function D9(i){var o=i.updateQueue;if(o!==null){i.updateQueue=null;var f=i.stateNode;f===null&&(f=i.stateNode=new mae),o.forEach(function(m){var y=Roe.bind(null,i,m);if(!f.has(m)){if(f.add(m),Yi)if(og!==null&&sg!==null)R0(sg,og);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");m.then(y,y)}})}}function Mae(i,o,f){og=f,sg=i,sr(o),A9(o,i),sr(o),og=null,sg=null}function ol(i,o,f){var m=o.deletions;if(m!==null)for(var y=0;y<m.length;y++){var C=m[y];try{Dae(i,o,C)}catch(D){Tr(C,o,D)}}var w=No();if(o.subtreeFlags&ud)for(var P=o.child;P!==null;)sr(P),A9(P,i),P=P.sibling;sr(w)}function A9(i,o,f){var m=i.alternate,y=i.flags;switch(i.tag){case p:case j:case ne:case X:{if(ol(o,i),iu(i),y&kn){try{il(Jl|Mi,i,i.return),Vd(Jl|Mi,i)}catch(qt){Tr(i,i.return,qt)}if(i.mode&En){try{ru(),il(Li|Mi,i,i.return)}catch(qt){Tr(i,i.return,qt)}nu(i)}else try{il(Li|Mi,i,i.return)}catch(qt){Tr(i,i.return,qt)}}return}case v:{ol(o,i),iu(i),y&ti&&m!==null&&lg(m,m.return);return}case E:{ol(o,i),iu(i),y&ti&&m!==null&&lg(m,m.return);{if(i.flags&tr){var C=i.stateNode;try{DU(C)}catch(qt){Tr(i,i.return,qt)}}if(y&kn){var w=i.stateNode;if(w!=null){var P=i.memoizedProps,D=m!==null?m.memoizedProps:P,F=i.type,B=i.updateQueue;if(i.updateQueue=null,B!==null)try{Hne(w,B,F,D,P,i)}catch(qt){Tr(i,i.return,qt)}}}}return}case R:{if(ol(o,i),iu(i),y&kn){if(i.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var ae=i.stateNode,re=i.memoizedProps,ge=m!==null?m.memoizedProps:re;try{$ne(ae,ge,re)}catch(qt){Tr(i,i.return,qt)}}return}case k:{if(ol(o,i),iu(i),y&kn&&m!==null){var be=m.memoizedState;if(be.isDehydrated)try{mre(o.containerInfo)}catch(qt){Tr(i,i.return,qt)}}return}case T:{ol(o,i),iu(i);return}case N:{ol(o,i),iu(i);var we=i.child;if(we.flags&ls){var st=we.stateNode,Vt=we.memoizedState,Pt=Vt!==null;if(st.isHidden=Pt,Pt){var Mn=we.alternate!==null&&we.alternate.memoizedState!==null;Mn||hoe()}}if(y&kn){try{Aae(i)}catch(qt){Tr(i,i.return,qt)}D9(i)}return}case ke:{var xn=m!==null&&m.memoizedState!==null;if(i.mode&yn){var ce=da;da=ce||xn,ol(o,i),da=ce}else ol(o,i);if(iu(i),y&ls){var _e=i.stateNode,de=i.memoizedState,$e=de!==null,yt=i;if(_e.isHidden=$e,$e&&!xn&&(yt.mode&yn)!==Mt){_t=yt;for(var ft=yt.child;ft!==null;)_t=ft,Nae(ft),ft=ft.sibling}_ae(yt,$e)}return}case te:{ol(o,i),iu(i),y&kn&&D9(i);return}case xe:return;default:{ol(o,i),iu(i);return}}}function iu(i){var o=i.flags;if(o&Fr){try{Pae(i)}catch(f){Tr(i,i.return,f)}i.flags&=~Fr}o&jr&&(i.flags&=~jr)}function Lae(i,o,f){og=f,sg=o,_t=i,O9(i,o,f),og=null,sg=null}function O9(i,o,f){for(var m=(i.mode&yn)!==Mt;_t!==null;){var y=_t,C=y.child;if(y.tag===ke&&m){var w=y.memoizedState!==null,P=w||n1;if(P){lP(i,o,f);continue}else{var D=y.alternate,F=D!==null&&D.memoizedState!==null,B=F||da,ae=n1,re=da;n1=P,da=B,da&&!re&&(_t=y,Iae(y));for(var ge=C;ge!==null;)_t=ge,O9(ge,o,f),ge=ge.sibling;_t=y,n1=ae,da=re,lP(i,o,f);continue}}(y.subtreeFlags&Nl)!==Ot&&C!==null?(C.return=y,_t=C):lP(i,o,f)}}function lP(i,o,f){for(;_t!==null;){var m=_t;if((m.flags&Nl)!==Ot){var y=m.alternate;sr(m);try{xae(o,y,m,f)}catch(w){Tr(m,m.return,w)}Ur()}if(m===i){_t=null;return}var C=m.sibling;if(C!==null){C.return=m.return,_t=C;return}_t=m.return}}function Nae(i){for(;_t!==null;){var o=_t,f=o.child;switch(o.tag){case p:case j:case ne:case X:{if(o.mode&En)try{ru(),il(Li,o,o.return)}finally{nu(o)}else il(Li,o,o.return);break}case v:{lg(o,o.return);var m=o.stateNode;typeof m.componentWillUnmount=="function"&&aP(o,o.return,m);break}case E:{lg(o,o.return);break}case ke:{var y=o.memoizedState!==null;if(y){M9(i);continue}break}}f!==null?(f.return=o,_t=f):M9(i)}}function M9(i){for(;_t!==null;){var o=_t;if(o===i){_t=null;return}var f=o.sibling;if(f!==null){f.return=o.return,_t=f;return}_t=o.return}}function Iae(i){for(;_t!==null;){var o=_t,f=o.child;if(o.tag===ke){var m=o.memoizedState!==null;if(m){L9(i);continue}}f!==null?(f.return=o,_t=f):L9(i)}}function L9(i){for(;_t!==null;){var o=_t;sr(o);try{wae(o)}catch(m){Tr(o,o.return,m)}if(Ur(),o===i){_t=null;return}var f=o.sibling;if(f!==null){f.return=o.return,_t=f;return}_t=o.return}}function Uae(i,o,f,m){_t=o,Fae(o,i,f,m)}function Fae(i,o,f,m){for(;_t!==null;){var y=_t,C=y.child;(y.subtreeFlags&Ri)!==Ot&&C!==null?(C.return=y,_t=C):jae(i,o,f,m)}}function jae(i,o,f,m){for(;_t!==null;){var y=_t;if((y.flags&Ba)!==Ot){sr(y);try{Vae(o,y,f,m)}catch(w){Tr(y,y.return,w)}Ur()}if(y===i){_t=null;return}var C=y.sibling;if(C!==null){C.return=y.return,_t=C;return}_t=y.return}}function Vae(i,o,f,m){switch(o.tag){case p:case j:case X:{if(o.mode&En){ER();try{Vd(ua|Mi,o)}finally{_R(o)}}else Vd(ua|Mi,o);break}}}function zae(i){_t=i,Bae()}function Bae(){for(;_t!==null;){var i=_t,o=i.child;if((_t.flags&wa)!==Ot){var f=i.deletions;if(f!==null){for(var m=0;m<f.length;m++){var y=f[m];_t=y,qae(y,i)}{var C=i.alternate;if(C!==null){var w=C.child;if(w!==null){C.child=null;do{var P=w.sibling;w.sibling=null,w=P}while(w!==null)}}}_t=i}}(i.subtreeFlags&Ri)!==Ot&&o!==null?(o.return=i,_t=o):Hae()}}function Hae(){for(;_t!==null;){var i=_t;(i.flags&Ba)!==Ot&&(sr(i),$ae(i),Ur());var o=i.sibling;if(o!==null){o.return=i.return,_t=o;return}_t=i.return}}function $ae(i){switch(i.tag){case p:case j:case X:{i.mode&En?(ER(),il(ua|Mi,i,i.return),_R(i)):il(ua|Mi,i,i.return);break}}}function qae(i,o){for(;_t!==null;){var f=_t;sr(f),Gae(f,o),Ur();var m=f.child;m!==null?(m.return=f,_t=m):Wae(i)}}function Wae(i){for(;_t!==null;){var o=_t,f=o.sibling,m=o.return;if(_9(o),o===i){_t=null;return}if(f!==null){f.return=m,_t=f;return}_t=m}}function Gae(i,o){switch(i.tag){case p:case j:case X:{i.mode&En?(ER(),il(ua,i,o),_R(i)):il(ua,i,o);break}}}function Yae(i){switch(i.tag){case p:case j:case X:{try{Vd(Li|Mi,i)}catch(f){Tr(i,i.return,f)}break}case v:{var o=i.stateNode;try{o.componentDidMount()}catch(f){Tr(i,i.return,f)}break}}}function Kae(i){switch(i.tag){case p:case j:case X:{try{Vd(ua|Mi,i)}catch(o){Tr(i,i.return,o)}break}}}function Zae(i){switch(i.tag){case p:case j:case X:{try{il(Li|Mi,i,i.return)}catch(f){Tr(i,i.return,f)}break}case v:{var o=i.stateNode;typeof o.componentWillUnmount=="function"&&aP(i,i.return,o);break}}}function Qae(i){switch(i.tag){case p:case j:case X:try{il(ua|Mi,i,i.return)}catch(o){Tr(i,i.return,o)}}}if(typeof Symbol=="function"&&Symbol.for){var v0=Symbol.for;v0("selector.component"),v0("selector.has_pseudo_class"),v0("selector.role"),v0("selector.test_id"),v0("selector.text")}var Xae=[];function Jae(){Xae.forEach(function(i){return i()})}var eoe=r.ReactCurrentActQueue;function toe(i){{var o=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,f=typeof jest<"u";return f&&o!==!1}}function N9(){{var i=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!i&&eoe.current!==null&&c("The current testing environment is not configured to support act(...)"),i}}var noe=Math.ceil,uP=r.ReactCurrentDispatcher,cP=r.ReactCurrentOwner,ha=r.ReactCurrentBatchConfig,sl=r.ReactCurrentActQueue,Ui=0,I9=1,pa=2,bs=4,sc=0,y0=1,Rh=2,i1=3,b0=4,U9=5,dP=6,On=Ui,Ka=null,Zr=null,Fi=Pe,au=Pe,fP=Ad(Pe),ji=sc,S0=null,a1=Pe,C0=Pe,o1=Pe,k0=null,Eo=null,hP=0,F9=500,j9=1/0,roe=500,lc=null;function T0(){j9=Wr()+roe}function V9(){return j9}var s1=!1,pP=null,ug=null,Ph=!1,Bd=null,x0=Pe,mP=[],gP=null,ioe=50,w0=0,vP=null,yP=!1,l1=!1,aoe=50,cg=0,u1=null,_0=rr,c1=Pe,z9=!1;function d1(){return Ka}function Za(){return(On&(pa|bs))!==Ui?Wr():(_0!==rr||(_0=Wr()),_0)}function Hd(i){var o=i.mode;if((o&yn)===Mt)return Ht;if((On&pa)!==Ui&&Fi!==Pe)return Si(Fi);var f=eie()!==Jre;if(f){if(ha.transition!==null){var m=ha.transition;m._updatedFibers||(m._updatedFibers=new Set),m._updatedFibers.add(i)}return c1===ri&&(c1=my()),c1}var y=$a();if(y!==ri)return y;var C=Fne();return C}function ooe(i){var o=i.mode;return(o&yn)===Mt?Ht:SC()}function Vi(i,o,f,m){Doe(),z9&&c("useInsertionEffect must not schedule updates."),yP&&(l1=!0),yd(i,f,m),(On&pa)!==Pe&&i===Ka?Moe(o):(Yi&&kC(i,o,f),Loe(o),i===Ka&&((On&pa)===Ui&&(C0=ln(C0,f)),ji===b0&&$d(i,Fi)),Ro(i,m),f===Ht&&On===Ui&&(o.mode&yn)===Mt&&!sl.isBatchingLegacy&&(T0(),zU()))}function soe(i,o,f){var m=i.current;m.lanes=o,yd(i,o,f),Ro(i,f)}function loe(i){return(On&pa)!==Ui}function Ro(i,o){var f=i.callbackNode;vC(i,o);var m=Da(i,i===Ka?Fi:Pe);if(m===Pe){f!==null&&rj(f),i.callbackNode=null,i.callbackPriority=ri;return}var y=Bu(m),C=i.callbackPriority;if(C===y&&!(sl.current!==null&&f!==wP)){f==null&&C!==Ht&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}f!=null&&rj(f);var w;if(y===Ht)i.tag===Od?(sl.isBatchingLegacy!==null&&(sl.didScheduleLegacyUpdate=!0),Ire($9.bind(null,i))):VU($9.bind(null,i)),sl.current!==null?sl.current.push(Md):Vne(function(){(On&(pa|bs))===Ui&&Md()}),w=null;else{var P;switch(xC(m)){case Oa:P=Gs;break;case So:P=Vf;break;case Di:P=Iu;break;case Cm:P=cd;break;default:P=Iu;break}w=_P(P,B9.bind(null,i))}i.callbackPriority=y,i.callbackNode=w}function B9(i,o){if(_ie(),_0=rr,c1=Pe,(On&(pa|bs))!==Ui)throw new Error("Should not already be working.");var f=i.callbackNode,m=cc();if(m&&i.callbackNode!==f)return null;var y=Da(i,i===Ka?Fi:Pe);if(y===Pe)return null;var C=!Xf(i,y)&&!bC(i,y)&&!o,w=C?yoe(i,y):h1(i,y);if(w!==sc){if(w===Rh){var P=hm(i);P!==Pe&&(y=P,w=bP(i,P))}if(w===y0){var D=S0;throw Dh(i,Pe),$d(i,y),Ro(i,Wr()),D}if(w===dP)$d(i,y);else{var F=!Xf(i,y),B=i.current.alternate;if(F&&!coe(B)){if(w=h1(i,y),w===Rh){var ae=hm(i);ae!==Pe&&(y=ae,w=bP(i,ae))}if(w===y0){var re=S0;throw Dh(i,Pe),$d(i,y),Ro(i,Wr()),re}}i.finishedWork=B,i.finishedLanes=y,uoe(i,w,y)}}return Ro(i,Wr()),i.callbackNode===f?B9.bind(null,i):null}function bP(i,o){var f=k0;if($u(i)){var m=Dh(i,o);m.flags|=Rr,Pre(i.containerInfo)}var y=h1(i,o);if(y!==Rh){var C=Eo;Eo=f,C!==null&&H9(C)}return y}function H9(i){Eo===null?Eo=i:Eo.push.apply(Eo,i)}function uoe(i,o,f){switch(o){case sc:case y0:throw new Error("Root did not complete. This is a bug in React.");case Rh:{Ah(i,Eo,lc);break}case i1:{if($d(i,f),pm(f)&&!ij()){var m=hP+F9-Wr();if(m>10){var y=Da(i,Pe);if(y!==Pe)break;var C=i.suspendedLanes;if(!Hu(C,f)){Za(),ym(i,C);break}i.timeoutHandle=gE(Ah.bind(null,i,Eo,lc),m);break}}Ah(i,Eo,lc);break}case b0:{if($d(i,f),z_(f))break;if(!ij()){var w=dy(i,f),P=w,D=Wr()-P,F=Poe(D)-D;if(F>10){i.timeoutHandle=gE(Ah.bind(null,i,Eo,lc),F);break}}Ah(i,Eo,lc);break}case U9:{Ah(i,Eo,lc);break}default:throw new Error("Unknown root exit status.")}}function coe(i){for(var o=i;;){if(o.flags&$p){var f=o.updateQueue;if(f!==null){var m=f.stores;if(m!==null)for(var y=0;y<m.length;y++){var C=m[y],w=C.getSnapshot,P=C.value;try{if(!dt(w(),P))return!1}catch{return!1}}}}var D=o.child;if(o.subtreeFlags&$p&&D!==null){D.return=o,o=D;continue}if(o===i)return!0;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}return!0}function $d(i,o){o=Jf(o,o1),o=Jf(o,C0),vy(i,o)}function $9(i){if(Eie(),(On&(pa|bs))!==Ui)throw new Error("Should not already be working.");cc();var o=Da(i,Pe);if(!Aa(o,Ht))return Ro(i,Wr()),null;var f=h1(i,o);if(i.tag!==Od&&f===Rh){var m=hm(i);m!==Pe&&(o=m,f=bP(i,m))}if(f===y0){var y=S0;throw Dh(i,Pe),$d(i,o),Ro(i,Wr()),y}if(f===dP)throw new Error("Root did not complete. This is a bug in React.");var C=i.current.alternate;return i.finishedWork=C,i.finishedLanes=o,Ah(i,Eo,lc),Ro(i,Wr()),null}function doe(i,o){o!==Pe&&(eh(i,ln(o,Ht)),Ro(i,Wr()),(On&(pa|bs))===Ui&&(T0(),Md()))}function SP(i,o){var f=On;On|=I9;try{return i(o)}finally{On=f,On===Ui&&!sl.isBatchingLegacy&&(T0(),zU())}}function foe(i,o,f,m,y){var C=$a(),w=ha.transition;try{return ha.transition=null,di(Oa),i(o,f,m,y)}finally{di(C),ha.transition=w,On===Ui&&T0()}}function uc(i){Bd!==null&&Bd.tag===Od&&(On&(pa|bs))===Ui&&cc();var o=On;On|=I9;var f=ha.transition,m=$a();try{return ha.transition=null,di(Oa),i?i():void 0}finally{di(m),ha.transition=f,On=o,(On&(pa|bs))===Ui&&Md()}}function q9(){return(On&(pa|bs))!==Ui}function f1(i,o){Na(fP,au,i),au=ln(au,o)}function CP(i){au=fP.current,La(fP,i)}function Dh(i,o){i.finishedWork=null,i.finishedLanes=Pe;var f=i.timeoutHandle;if(f!==vE&&(i.timeoutHandle=vE,jne(f)),Zr!==null)for(var m=Zr.return;m!==null;){var y=m.alternate;S9(y,m),m=m.return}Ka=i;var C=Oh(i.current,null);return Zr=C,Fi=au=o,ji=sc,S0=null,a1=Pe,C0=Pe,o1=Pe,k0=null,Eo=null,sie(),Js.discardPendingWarnings(),C}function W9(i,o){do{var f=Zr;try{if(kk(),gF(),Ur(),cP.current=null,f===null||f.return===null){ji=y0,S0=o,Zr=null;return}if(Rt&&f.mode&En&&Qk(f,!0),Ct)if(Ul(),o!==null&&typeof o=="object"&&typeof o.then=="function"){var m=o;Bf(f,m,Fi)}else ds(f,o,Fi);Iie(i,f.return,f,o,Fi),Z9(f)}catch(y){o=y,Zr===f&&f!==null?(f=f.return,Zr=f):f=Zr;continue}return}while(!0)}function G9(){var i=uP.current;return uP.current=Wk,i===null?Wk:i}function Y9(i){uP.current=i}function hoe(){hP=Wr()}function E0(i){a1=ln(i,a1)}function poe(){ji===sc&&(ji=i1)}function kP(){(ji===sc||ji===i1||ji===Rh)&&(ji=b0),Ka!==null&&(Bl(a1)||Bl(C0))&&$d(Ka,Fi)}function moe(i){ji!==b0&&(ji=Rh),k0===null?k0=[i]:k0.push(i)}function goe(){return ji===sc}function h1(i,o){var f=On;On|=pa;var m=G9();if(Ka!==i||Fi!==o){if(Yi){var y=i.memoizedUpdaters;y.size>0&&(R0(i,Fi),y.clear()),yy(i,o)}lc=Sm(),Dh(i,o)}sy(o);do try{voe();break}catch(C){W9(i,C)}while(!0);if(kk(),On=f,Y9(m),Zr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Pr(),Ka=null,Fi=Pe,ji}function voe(){for(;Zr!==null;)K9(Zr)}function yoe(i,o){var f=On;On|=pa;var m=G9();if(Ka!==i||Fi!==o){if(Yi){var y=i.memoizedUpdaters;y.size>0&&(R0(i,Fi),y.clear()),yy(i,o)}lc=Sm(),T0(),Dh(i,o)}sy(o);do try{boe();break}catch(C){W9(i,C)}while(!0);return kk(),Y9(m),On=f,Zr!==null?(ly(),sc):(Pr(),Ka=null,Fi=Pe,ji)}function boe(){for(;Zr!==null&&!Jv();)K9(Zr)}function K9(i){var o=i.alternate;sr(i);var f;(i.mode&En)!==Mt?(wR(i),f=TP(o,i,au),Qk(i,!0)):f=TP(o,i,au),Ur(),i.memoizedProps=i.pendingProps,f===null?Z9(i):Zr=f,cP.current=null}function Z9(i){var o=i;do{var f=o.alternate,m=o.return;if((o.flags&Lu)===Ot){sr(o);var y=void 0;if((o.mode&En)===Mt?y=b9(f,o,au):(wR(o),y=b9(f,o,au),Qk(o,!1)),Ur(),y!==null){Zr=y;return}}else{var C=pae(f,o);if(C!==null){C.flags&=aC,Zr=C;return}if((o.mode&En)!==Mt){Qk(o,!1);for(var w=o.actualDuration,P=o.child;P!==null;)w+=P.actualDuration,P=P.sibling;o.actualDuration=w}if(m!==null)m.flags|=Lu,m.subtreeFlags=Ot,m.deletions=null;else{ji=dP,Zr=null;return}}var D=o.sibling;if(D!==null){Zr=D;return}o=m,Zr=o}while(o!==null);ji===sc&&(ji=U9)}function Ah(i,o,f){var m=$a(),y=ha.transition;try{ha.transition=null,di(Oa),Soe(i,o,f,m)}finally{ha.transition=y,di(m)}return null}function Soe(i,o,f,m){do cc();while(Bd!==null);if(Aoe(),(On&(pa|bs))!==Ui)throw new Error("Should not already be working.");var y=i.finishedWork,C=i.finishedLanes;if(dC(C),y===null)return cs(),null;if(C===Pe&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),i.finishedWork=null,i.finishedLanes=Pe,y===i.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");i.callbackNode=null,i.callbackPriority=ri;var w=ln(y.lanes,y.childLanes);CC(i,w),i===Ka&&(Ka=null,Zr=null,Fi=Pe),((y.subtreeFlags&Ri)!==Ot||(y.flags&Ri)!==Ot)&&(Ph||(Ph=!0,gP=f,_P(Iu,function(){return cc(),null})));var P=(y.subtreeFlags&(Ll|ud|Nl|Ri))!==Ot,D=(y.flags&(Ll|ud|Nl|Ri))!==Ot;if(P||D){var F=ha.transition;ha.transition=null;var B=$a();di(Oa);var ae=On;On|=bs,cP.current=null,bae(i,y),zF(),Mae(i,y,C),One(i.containerInfo),i.current=y,Hf(C),Lae(y,i,C),Fu(),sC(),On=ae,di(B),ha.transition=F}else i.current=y,zF();var re=Ph;if(Ph?(Ph=!1,Bd=i,x0=C):(cg=0,u1=null),w=i.pendingLanes,w===Pe&&(ug=null),re||ej(i.current,!1),ny(y.stateNode,m),Yi&&i.memoizedUpdaters.clear(),Jae(),Ro(i,Wr()),o!==null)for(var ge=i.onRecoverableError,be=0;be<o.length;be++){var we=o[be],st=we.stack,Vt=we.digest;ge(we.value,{componentStack:st,digest:Vt})}if(s1){s1=!1;var Pt=pP;throw pP=null,Pt}return Aa(x0,Ht)&&i.tag!==Od&&cc(),w=i.pendingLanes,Aa(w,Ht)?(wie(),i===vP?w0++:(w0=0,vP=i)):w0=0,Md(),cs(),null}function cc(){if(Bd!==null){var i=xC(x0),o=Ki(Di,i),f=ha.transition,m=$a();try{return ha.transition=null,di(o),koe()}finally{di(m),ha.transition=f}}return!1}function Coe(i){mP.push(i),Ph||(Ph=!0,_P(Iu,function(){return cc(),null}))}function koe(){if(Bd===null)return!1;var i=gP;gP=null;var o=Bd,f=x0;if(Bd=null,x0=Pe,(On&(pa|bs))!==Ui)throw new Error("Cannot flush passive effects while already rendering.");yP=!0,l1=!1,oy(f);var m=On;On|=bs,zae(o.current),Uae(o,o.current,f,i);{var y=mP;mP=[];for(var C=0;C<y.length;C++){var w=y[C];Tae(o,w)}}hd(),ej(o.current,!0),On=m,Md(),l1?o===u1?cg++:(cg=0,u1=o):cg=0,yP=!1,l1=!1,ry(o);{var P=o.current.stateNode;P.effectDuration=0,P.passiveEffectDuration=0}return!0}function Q9(i){return ug!==null&&ug.has(i)}function Toe(i){ug===null?ug=new Set([i]):ug.add(i)}function xoe(i){s1||(s1=!0,pP=i)}var woe=xoe;function X9(i,o,f){var m=_h(f,o),y=KF(i,m,Ht),C=Nd(i,y,Ht),w=Za();C!==null&&(yd(C,Ht,w),Ro(C,w))}function Tr(i,o,f){if(gae(f),P0(!1),i.tag===k){X9(i,i,f);return}var m=null;for(m=o;m!==null;){if(m.tag===k){X9(m,i,f);return}else if(m.tag===v){var y=m.type,C=m.stateNode;if(typeof y.getDerivedStateFromError=="function"||typeof C.componentDidCatch=="function"&&!Q9(C)){var w=_h(f,i),P=HR(m,w,Ht),D=Nd(m,P,Ht),F=Za();D!==null&&(yd(D,Ht,F),Ro(D,F));return}}m=m.return}c(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
211
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:F=" You returned: "+P,c("%s must not return anything besides a function, which is used for clean-up.%s",D,F)}}}C=C.next}while(C!==y)}}function Tae(i,o){if((o.flags&kn)!==Ot)switch(o.tag){case I:{var f=o.stateNode.passiveEffectDuration,m=o.memoizedProps,y=m.id,C=m.onPostCommit,w=VF(),P=o.alternate===null?"mount":"update";jF()&&(P="nested-update"),typeof C=="function"&&C(y,P,f,w);var D=o.return;e:for(;D!==null;){switch(D.tag){case k:var F=D.stateNode;F.passiveEffectDuration+=f;break e;case I:var B=D.stateNode;B.passiveEffectDuration+=f;break e}D=D.return}break}}}function xae(i,o,f,m){if((f.flags&Nl)!==Ot)switch(f.tag){case p:case j:case X:{if(!da)if(f.mode&En)try{ru(),Vd(Li|Mi,f)}finally{nu(f)}else Vd(Li|Mi,f);break}case v:{var y=f.stateNode;if(f.flags&kn&&!da)if(o===null)if(f.type===f.elementType&&!Eh&&(y.props!==f.memoizedProps&&c("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(f)||"instance"),y.state!==f.memoizedState&&c("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(f)||"instance")),f.mode&En)try{ru(),y.componentDidMount()}finally{nu(f)}else y.componentDidMount();else{var C=f.elementType===f.type?o.memoizedProps:nl(f.type,o.memoizedProps),w=o.memoizedState;if(f.type===f.elementType&&!Eh&&(y.props!==f.memoizedProps&&c("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(f)||"instance"),y.state!==f.memoizedState&&c("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(f)||"instance")),f.mode&En)try{ru(),y.componentDidUpdate(C,w,y.__reactInternalSnapshotBeforeUpdate)}finally{nu(f)}else y.componentDidUpdate(C,w,y.__reactInternalSnapshotBeforeUpdate)}var P=f.updateQueue;P!==null&&(f.type===f.elementType&&!Eh&&(y.props!==f.memoizedProps&&c("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Zt(f)||"instance"),y.state!==f.memoizedState&&c("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Zt(f)||"instance")),cF(f,P,y));break}case k:{var D=f.updateQueue;if(D!==null){var F=null;if(f.child!==null)switch(f.child.tag){case E:F=f.child.stateNode;break;case v:F=f.child.stateNode;break}cF(f,D,F)}break}case E:{var B=f.stateNode;if(o===null&&f.flags&kn){var ae=f.type,re=f.memoizedProps;Bne(B,ae,re)}break}case R:break;case T:break;case I:{{var ge=f.memoizedProps,be=ge.onCommit,we=ge.onRender,st=f.stateNode.effectDuration,Vt=VF(),Pt=o===null?"mount":"update";jF()&&(Pt="nested-update"),typeof we=="function"&&we(f.memoizedProps.id,Pt,f.actualDuration,f.treeBaseDuration,f.actualStartTime,Vt);{typeof be=="function"&&be(f.memoizedProps.id,Pt,st,Vt),Coe(f);var Mn=f.return;e:for(;Mn!==null;){switch(Mn.tag){case k:var xn=Mn.stateNode;xn.effectDuration+=st;break e;case I:var ce=Mn.stateNode;ce.effectDuration+=st;break e}Mn=Mn.return}}}break}case N:{Oae(i,f);break}case te:case $:case xe:case ke:case Ge:case Fe:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}da||f.flags&ti&&w9(f)}function wae(i){switch(i.tag){case p:case j:case X:{if(i.mode&En)try{ru(),k9(i,i.return)}finally{nu(i)}else k9(i,i.return);break}case v:{var o=i.stateNode;typeof o.componentDidMount=="function"&&yae(i,i.return,o),T9(i,i.return);break}case E:{T9(i,i.return);break}}}function _ae(i,o){for(var f=null,m=i;;){if(m.tag===E){if(f===null){f=m;try{var y=m.stateNode;o?Xne(y):ere(m.stateNode,m.memoizedProps)}catch(w){Tr(i,i.return,w)}}}else if(m.tag===R){if(f===null)try{var C=m.stateNode;o?Jne(C):tre(C,m.memoizedProps)}catch(w){Tr(i,i.return,w)}}else if(!((m.tag===ke||m.tag===Ge)&&m.memoizedState!==null&&m!==i)){if(m.child!==null){m.child.return=m,m=m.child;continue}}if(m===i)return;for(;m.sibling===null;){if(m.return===null||m.return===i)return;f===m&&(f=null),m=m.return}f===m&&(f=null),m.sibling.return=m.return,m=m.sibling}}function w9(i){var o=i.ref;if(o!==null){var f=i.stateNode,m;switch(i.tag){case E:m=f;break;default:m=f}if(typeof o=="function"){var y;if(i.mode&En)try{ru(),y=o(m)}finally{nu(i)}else y=o(m);typeof y=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(i))}else o.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Zt(i)),o.current=m}}function Eae(i){var o=i.alternate;o!==null&&(o.return=null),i.return=null}function _9(i){var o=i.alternate;o!==null&&(i.alternate=null,_9(o));{if(i.child=null,i.deletions=null,i.sibling=null,i.tag===E){var f=i.stateNode;f!==null&&Mre(f)}i.stateNode=null,i._debugOwner=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}}function Rae(i){for(var o=i.return;o!==null;){if(E9(o))return o;o=o.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function E9(i){return i.tag===E||i.tag===k||i.tag===T}function R9(i){var o=i;e:for(;;){for(;o.sibling===null;){if(o.return===null||E9(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==E&&o.tag!==R&&o.tag!==oe;){if(o.flags&Fr||o.child===null||o.tag===T)continue e;o.child.return=o,o=o.child}if(!(o.flags&Fr))return o.stateNode}}function Pae(i){var o=Rae(i);switch(o.tag){case E:{var f=o.stateNode;o.flags&tr&&(DU(f),o.flags&=~tr);var m=R9(i);sP(i,m,f);break}case k:case T:{var y=o.stateNode.containerInfo,C=R9(i);oP(i,C,y);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function oP(i,o,f){var m=i.tag,y=m===E||m===R;if(y){var C=i.stateNode;o?Yne(f,C,o):Wne(f,C)}else if(m!==T){var w=i.child;if(w!==null){oP(w,o,f);for(var P=w.sibling;P!==null;)oP(P,o,f),P=P.sibling}}}function sP(i,o,f){var m=i.tag,y=m===E||m===R;if(y){var C=i.stateNode;o?Gne(f,C,o):qne(f,C)}else if(m!==T){var w=i.child;if(w!==null){sP(w,o,f);for(var P=w.sibling;P!==null;)sP(P,o,f),P=P.sibling}}}var fa=null,al=!1;function Dae(i,o,f){{var m=o;e:for(;m!==null;){switch(m.tag){case E:{fa=m.stateNode,al=!1;break e}case k:{fa=m.stateNode.containerInfo,al=!0;break e}case T:{fa=m.stateNode.containerInfo,al=!0;break e}}m=m.return}if(fa===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");P9(i,o,f),fa=null,al=!1}Eae(f)}function zd(i,o,f){for(var m=f.child;m!==null;)P9(i,o,m),m=m.sibling}function P9(i,o,f){switch(dd(f),f.tag){case E:da||lg(f,o);case R:{{var m=fa,y=al;fa=null,zd(i,o,f),fa=m,al=y,fa!==null&&(al?Zne(fa,f.stateNode):Kne(fa,f.stateNode))}return}case oe:{fa!==null&&(al?Qne(fa,f.stateNode):yE(fa,f.stateNode));return}case T:{{var C=fa,w=al;fa=f.stateNode.containerInfo,al=!0,zd(i,o,f),fa=C,al=w}return}case p:case j:case ne:case X:{if(!da){var P=f.updateQueue;if(P!==null){var D=P.lastEffect;if(D!==null){var F=D.next,B=F;do{var ae=B,re=ae.destroy,ge=ae.tag;re!==void 0&&((ge&Jl)!==_o?r1(f,o,re):(ge&Li)!==_o&&(ay(f),f.mode&En?(ru(),r1(f,o,re),nu(f)):r1(f,o,re),fd())),B=B.next}while(B!==F)}}}zd(i,o,f);return}case v:{if(!da){lg(f,o);var be=f.stateNode;typeof be.componentWillUnmount=="function"&&aP(f,o,be)}zd(i,o,f);return}case xe:{zd(i,o,f);return}case ke:{if(f.mode&bn){var we=da;da=we||f.memoizedState!==null,zd(i,o,f),da=we}else zd(i,o,f);break}default:{zd(i,o,f);return}}}function Aae(i){i.memoizedState}function Oae(i,o){var f=o.memoizedState;if(f===null){var m=o.alternate;if(m!==null){var y=m.memoizedState;if(y!==null){var C=y.dehydrated;C!==null&&gre(C)}}}}function D9(i){var o=i.updateQueue;if(o!==null){i.updateQueue=null;var f=i.stateNode;f===null&&(f=i.stateNode=new mae),o.forEach(function(m){var y=Roe.bind(null,i,m);if(!f.has(m)){if(f.add(m),Yi)if(og!==null&&sg!==null)R0(sg,og);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");m.then(y,y)}})}}function Mae(i,o,f){og=f,sg=i,sr(o),A9(o,i),sr(o),og=null,sg=null}function ol(i,o,f){var m=o.deletions;if(m!==null)for(var y=0;y<m.length;y++){var C=m[y];try{Dae(i,o,C)}catch(D){Tr(C,o,D)}}var w=No();if(o.subtreeFlags&ud)for(var P=o.child;P!==null;)sr(P),A9(P,i),P=P.sibling;sr(w)}function A9(i,o,f){var m=i.alternate,y=i.flags;switch(i.tag){case p:case j:case ne:case X:{if(ol(o,i),iu(i),y&kn){try{il(Jl|Mi,i,i.return),Vd(Jl|Mi,i)}catch(qt){Tr(i,i.return,qt)}if(i.mode&En){try{ru(),il(Li|Mi,i,i.return)}catch(qt){Tr(i,i.return,qt)}nu(i)}else try{il(Li|Mi,i,i.return)}catch(qt){Tr(i,i.return,qt)}}return}case v:{ol(o,i),iu(i),y&ti&&m!==null&&lg(m,m.return);return}case E:{ol(o,i),iu(i),y&ti&&m!==null&&lg(m,m.return);{if(i.flags&tr){var C=i.stateNode;try{DU(C)}catch(qt){Tr(i,i.return,qt)}}if(y&kn){var w=i.stateNode;if(w!=null){var P=i.memoizedProps,D=m!==null?m.memoizedProps:P,F=i.type,B=i.updateQueue;if(i.updateQueue=null,B!==null)try{Hne(w,B,F,D,P,i)}catch(qt){Tr(i,i.return,qt)}}}}return}case R:{if(ol(o,i),iu(i),y&kn){if(i.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var ae=i.stateNode,re=i.memoizedProps,ge=m!==null?m.memoizedProps:re;try{$ne(ae,ge,re)}catch(qt){Tr(i,i.return,qt)}}return}case k:{if(ol(o,i),iu(i),y&kn&&m!==null){var be=m.memoizedState;if(be.isDehydrated)try{mre(o.containerInfo)}catch(qt){Tr(i,i.return,qt)}}return}case T:{ol(o,i),iu(i);return}case N:{ol(o,i),iu(i);var we=i.child;if(we.flags&ls){var st=we.stateNode,Vt=we.memoizedState,Pt=Vt!==null;if(st.isHidden=Pt,Pt){var Mn=we.alternate!==null&&we.alternate.memoizedState!==null;Mn||hoe()}}if(y&kn){try{Aae(i)}catch(qt){Tr(i,i.return,qt)}D9(i)}return}case ke:{var xn=m!==null&&m.memoizedState!==null;if(i.mode&bn){var ce=da;da=ce||xn,ol(o,i),da=ce}else ol(o,i);if(iu(i),y&ls){var _e=i.stateNode,de=i.memoizedState,$e=de!==null,yt=i;if(_e.isHidden=$e,$e&&!xn&&(yt.mode&bn)!==Mt){_t=yt;for(var ft=yt.child;ft!==null;)_t=ft,Nae(ft),ft=ft.sibling}_ae(yt,$e)}return}case te:{ol(o,i),iu(i),y&kn&&D9(i);return}case xe:return;default:{ol(o,i),iu(i);return}}}function iu(i){var o=i.flags;if(o&Fr){try{Pae(i)}catch(f){Tr(i,i.return,f)}i.flags&=~Fr}o&jr&&(i.flags&=~jr)}function Lae(i,o,f){og=f,sg=o,_t=i,O9(i,o,f),og=null,sg=null}function O9(i,o,f){for(var m=(i.mode&bn)!==Mt;_t!==null;){var y=_t,C=y.child;if(y.tag===ke&&m){var w=y.memoizedState!==null,P=w||n1;if(P){lP(i,o,f);continue}else{var D=y.alternate,F=D!==null&&D.memoizedState!==null,B=F||da,ae=n1,re=da;n1=P,da=B,da&&!re&&(_t=y,Iae(y));for(var ge=C;ge!==null;)_t=ge,O9(ge,o,f),ge=ge.sibling;_t=y,n1=ae,da=re,lP(i,o,f);continue}}(y.subtreeFlags&Nl)!==Ot&&C!==null?(C.return=y,_t=C):lP(i,o,f)}}function lP(i,o,f){for(;_t!==null;){var m=_t;if((m.flags&Nl)!==Ot){var y=m.alternate;sr(m);try{xae(o,y,m,f)}catch(w){Tr(m,m.return,w)}Ur()}if(m===i){_t=null;return}var C=m.sibling;if(C!==null){C.return=m.return,_t=C;return}_t=m.return}}function Nae(i){for(;_t!==null;){var o=_t,f=o.child;switch(o.tag){case p:case j:case ne:case X:{if(o.mode&En)try{ru(),il(Li,o,o.return)}finally{nu(o)}else il(Li,o,o.return);break}case v:{lg(o,o.return);var m=o.stateNode;typeof m.componentWillUnmount=="function"&&aP(o,o.return,m);break}case E:{lg(o,o.return);break}case ke:{var y=o.memoizedState!==null;if(y){M9(i);continue}break}}f!==null?(f.return=o,_t=f):M9(i)}}function M9(i){for(;_t!==null;){var o=_t;if(o===i){_t=null;return}var f=o.sibling;if(f!==null){f.return=o.return,_t=f;return}_t=o.return}}function Iae(i){for(;_t!==null;){var o=_t,f=o.child;if(o.tag===ke){var m=o.memoizedState!==null;if(m){L9(i);continue}}f!==null?(f.return=o,_t=f):L9(i)}}function L9(i){for(;_t!==null;){var o=_t;sr(o);try{wae(o)}catch(m){Tr(o,o.return,m)}if(Ur(),o===i){_t=null;return}var f=o.sibling;if(f!==null){f.return=o.return,_t=f;return}_t=o.return}}function Uae(i,o,f,m){_t=o,Fae(o,i,f,m)}function Fae(i,o,f,m){for(;_t!==null;){var y=_t,C=y.child;(y.subtreeFlags&Ri)!==Ot&&C!==null?(C.return=y,_t=C):jae(i,o,f,m)}}function jae(i,o,f,m){for(;_t!==null;){var y=_t;if((y.flags&Ba)!==Ot){sr(y);try{Vae(o,y,f,m)}catch(w){Tr(y,y.return,w)}Ur()}if(y===i){_t=null;return}var C=y.sibling;if(C!==null){C.return=y.return,_t=C;return}_t=y.return}}function Vae(i,o,f,m){switch(o.tag){case p:case j:case X:{if(o.mode&En){ER();try{Vd(ua|Mi,o)}finally{_R(o)}}else Vd(ua|Mi,o);break}}}function zae(i){_t=i,Bae()}function Bae(){for(;_t!==null;){var i=_t,o=i.child;if((_t.flags&wa)!==Ot){var f=i.deletions;if(f!==null){for(var m=0;m<f.length;m++){var y=f[m];_t=y,qae(y,i)}{var C=i.alternate;if(C!==null){var w=C.child;if(w!==null){C.child=null;do{var P=w.sibling;w.sibling=null,w=P}while(w!==null)}}}_t=i}}(i.subtreeFlags&Ri)!==Ot&&o!==null?(o.return=i,_t=o):Hae()}}function Hae(){for(;_t!==null;){var i=_t;(i.flags&Ba)!==Ot&&(sr(i),$ae(i),Ur());var o=i.sibling;if(o!==null){o.return=i.return,_t=o;return}_t=i.return}}function $ae(i){switch(i.tag){case p:case j:case X:{i.mode&En?(ER(),il(ua|Mi,i,i.return),_R(i)):il(ua|Mi,i,i.return);break}}}function qae(i,o){for(;_t!==null;){var f=_t;sr(f),Gae(f,o),Ur();var m=f.child;m!==null?(m.return=f,_t=m):Wae(i)}}function Wae(i){for(;_t!==null;){var o=_t,f=o.sibling,m=o.return;if(_9(o),o===i){_t=null;return}if(f!==null){f.return=m,_t=f;return}_t=m}}function Gae(i,o){switch(i.tag){case p:case j:case X:{i.mode&En?(ER(),il(ua,i,o),_R(i)):il(ua,i,o);break}}}function Yae(i){switch(i.tag){case p:case j:case X:{try{Vd(Li|Mi,i)}catch(f){Tr(i,i.return,f)}break}case v:{var o=i.stateNode;try{o.componentDidMount()}catch(f){Tr(i,i.return,f)}break}}}function Kae(i){switch(i.tag){case p:case j:case X:{try{Vd(ua|Mi,i)}catch(o){Tr(i,i.return,o)}break}}}function Zae(i){switch(i.tag){case p:case j:case X:{try{il(Li|Mi,i,i.return)}catch(f){Tr(i,i.return,f)}break}case v:{var o=i.stateNode;typeof o.componentWillUnmount=="function"&&aP(i,i.return,o);break}}}function Qae(i){switch(i.tag){case p:case j:case X:try{il(ua|Mi,i,i.return)}catch(o){Tr(i,i.return,o)}}}if(typeof Symbol=="function"&&Symbol.for){var v0=Symbol.for;v0("selector.component"),v0("selector.has_pseudo_class"),v0("selector.role"),v0("selector.test_id"),v0("selector.text")}var Xae=[];function Jae(){Xae.forEach(function(i){return i()})}var eoe=r.ReactCurrentActQueue;function toe(i){{var o=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,f=typeof jest<"u";return f&&o!==!1}}function N9(){{var i=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!i&&eoe.current!==null&&c("The current testing environment is not configured to support act(...)"),i}}var noe=Math.ceil,uP=r.ReactCurrentDispatcher,cP=r.ReactCurrentOwner,ha=r.ReactCurrentBatchConfig,sl=r.ReactCurrentActQueue,Ui=0,I9=1,pa=2,bs=4,sc=0,y0=1,Rh=2,i1=3,b0=4,U9=5,dP=6,On=Ui,Ka=null,Zr=null,Fi=Pe,au=Pe,fP=Ad(Pe),ji=sc,S0=null,a1=Pe,C0=Pe,o1=Pe,k0=null,Eo=null,hP=0,F9=500,j9=1/0,roe=500,lc=null;function T0(){j9=Wr()+roe}function V9(){return j9}var s1=!1,pP=null,ug=null,Ph=!1,Bd=null,x0=Pe,mP=[],gP=null,ioe=50,w0=0,vP=null,yP=!1,l1=!1,aoe=50,cg=0,u1=null,_0=rr,c1=Pe,z9=!1;function d1(){return Ka}function Za(){return(On&(pa|bs))!==Ui?Wr():(_0!==rr||(_0=Wr()),_0)}function Hd(i){var o=i.mode;if((o&bn)===Mt)return Ht;if((On&pa)!==Ui&&Fi!==Pe)return Si(Fi);var f=eie()!==Jre;if(f){if(ha.transition!==null){var m=ha.transition;m._updatedFibers||(m._updatedFibers=new Set),m._updatedFibers.add(i)}return c1===ri&&(c1=my()),c1}var y=$a();if(y!==ri)return y;var C=Fne();return C}function ooe(i){var o=i.mode;return(o&bn)===Mt?Ht:SC()}function Vi(i,o,f,m){Doe(),z9&&c("useInsertionEffect must not schedule updates."),yP&&(l1=!0),yd(i,f,m),(On&pa)!==Pe&&i===Ka?Moe(o):(Yi&&kC(i,o,f),Loe(o),i===Ka&&((On&pa)===Ui&&(C0=ln(C0,f)),ji===b0&&$d(i,Fi)),Ro(i,m),f===Ht&&On===Ui&&(o.mode&bn)===Mt&&!sl.isBatchingLegacy&&(T0(),zU()))}function soe(i,o,f){var m=i.current;m.lanes=o,yd(i,o,f),Ro(i,f)}function loe(i){return(On&pa)!==Ui}function Ro(i,o){var f=i.callbackNode;vC(i,o);var m=Da(i,i===Ka?Fi:Pe);if(m===Pe){f!==null&&rj(f),i.callbackNode=null,i.callbackPriority=ri;return}var y=Bu(m),C=i.callbackPriority;if(C===y&&!(sl.current!==null&&f!==wP)){f==null&&C!==Ht&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}f!=null&&rj(f);var w;if(y===Ht)i.tag===Od?(sl.isBatchingLegacy!==null&&(sl.didScheduleLegacyUpdate=!0),Ire($9.bind(null,i))):VU($9.bind(null,i)),sl.current!==null?sl.current.push(Md):Vne(function(){(On&(pa|bs))===Ui&&Md()}),w=null;else{var P;switch(xC(m)){case Oa:P=Gs;break;case So:P=Vf;break;case Di:P=Iu;break;case Cm:P=cd;break;default:P=Iu;break}w=_P(P,B9.bind(null,i))}i.callbackPriority=y,i.callbackNode=w}function B9(i,o){if(_ie(),_0=rr,c1=Pe,(On&(pa|bs))!==Ui)throw new Error("Should not already be working.");var f=i.callbackNode,m=cc();if(m&&i.callbackNode!==f)return null;var y=Da(i,i===Ka?Fi:Pe);if(y===Pe)return null;var C=!Xf(i,y)&&!bC(i,y)&&!o,w=C?yoe(i,y):h1(i,y);if(w!==sc){if(w===Rh){var P=hm(i);P!==Pe&&(y=P,w=bP(i,P))}if(w===y0){var D=S0;throw Dh(i,Pe),$d(i,y),Ro(i,Wr()),D}if(w===dP)$d(i,y);else{var F=!Xf(i,y),B=i.current.alternate;if(F&&!coe(B)){if(w=h1(i,y),w===Rh){var ae=hm(i);ae!==Pe&&(y=ae,w=bP(i,ae))}if(w===y0){var re=S0;throw Dh(i,Pe),$d(i,y),Ro(i,Wr()),re}}i.finishedWork=B,i.finishedLanes=y,uoe(i,w,y)}}return Ro(i,Wr()),i.callbackNode===f?B9.bind(null,i):null}function bP(i,o){var f=k0;if($u(i)){var m=Dh(i,o);m.flags|=Rr,Pre(i.containerInfo)}var y=h1(i,o);if(y!==Rh){var C=Eo;Eo=f,C!==null&&H9(C)}return y}function H9(i){Eo===null?Eo=i:Eo.push.apply(Eo,i)}function uoe(i,o,f){switch(o){case sc:case y0:throw new Error("Root did not complete. This is a bug in React.");case Rh:{Ah(i,Eo,lc);break}case i1:{if($d(i,f),pm(f)&&!ij()){var m=hP+F9-Wr();if(m>10){var y=Da(i,Pe);if(y!==Pe)break;var C=i.suspendedLanes;if(!Hu(C,f)){Za(),ym(i,C);break}i.timeoutHandle=gE(Ah.bind(null,i,Eo,lc),m);break}}Ah(i,Eo,lc);break}case b0:{if($d(i,f),z_(f))break;if(!ij()){var w=dy(i,f),P=w,D=Wr()-P,F=Poe(D)-D;if(F>10){i.timeoutHandle=gE(Ah.bind(null,i,Eo,lc),F);break}}Ah(i,Eo,lc);break}case U9:{Ah(i,Eo,lc);break}default:throw new Error("Unknown root exit status.")}}function coe(i){for(var o=i;;){if(o.flags&$p){var f=o.updateQueue;if(f!==null){var m=f.stores;if(m!==null)for(var y=0;y<m.length;y++){var C=m[y],w=C.getSnapshot,P=C.value;try{if(!dt(w(),P))return!1}catch{return!1}}}}var D=o.child;if(o.subtreeFlags&$p&&D!==null){D.return=o,o=D;continue}if(o===i)return!0;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}return!0}function $d(i,o){o=Jf(o,o1),o=Jf(o,C0),vy(i,o)}function $9(i){if(Eie(),(On&(pa|bs))!==Ui)throw new Error("Should not already be working.");cc();var o=Da(i,Pe);if(!Aa(o,Ht))return Ro(i,Wr()),null;var f=h1(i,o);if(i.tag!==Od&&f===Rh){var m=hm(i);m!==Pe&&(o=m,f=bP(i,m))}if(f===y0){var y=S0;throw Dh(i,Pe),$d(i,o),Ro(i,Wr()),y}if(f===dP)throw new Error("Root did not complete. This is a bug in React.");var C=i.current.alternate;return i.finishedWork=C,i.finishedLanes=o,Ah(i,Eo,lc),Ro(i,Wr()),null}function doe(i,o){o!==Pe&&(eh(i,ln(o,Ht)),Ro(i,Wr()),(On&(pa|bs))===Ui&&(T0(),Md()))}function SP(i,o){var f=On;On|=I9;try{return i(o)}finally{On=f,On===Ui&&!sl.isBatchingLegacy&&(T0(),zU())}}function foe(i,o,f,m,y){var C=$a(),w=ha.transition;try{return ha.transition=null,di(Oa),i(o,f,m,y)}finally{di(C),ha.transition=w,On===Ui&&T0()}}function uc(i){Bd!==null&&Bd.tag===Od&&(On&(pa|bs))===Ui&&cc();var o=On;On|=I9;var f=ha.transition,m=$a();try{return ha.transition=null,di(Oa),i?i():void 0}finally{di(m),ha.transition=f,On=o,(On&(pa|bs))===Ui&&Md()}}function q9(){return(On&(pa|bs))!==Ui}function f1(i,o){Na(fP,au,i),au=ln(au,o)}function CP(i){au=fP.current,La(fP,i)}function Dh(i,o){i.finishedWork=null,i.finishedLanes=Pe;var f=i.timeoutHandle;if(f!==vE&&(i.timeoutHandle=vE,jne(f)),Zr!==null)for(var m=Zr.return;m!==null;){var y=m.alternate;S9(y,m),m=m.return}Ka=i;var C=Oh(i.current,null);return Zr=C,Fi=au=o,ji=sc,S0=null,a1=Pe,C0=Pe,o1=Pe,k0=null,Eo=null,sie(),Js.discardPendingWarnings(),C}function W9(i,o){do{var f=Zr;try{if(kk(),gF(),Ur(),cP.current=null,f===null||f.return===null){ji=y0,S0=o,Zr=null;return}if(Rt&&f.mode&En&&Qk(f,!0),Ct)if(Ul(),o!==null&&typeof o=="object"&&typeof o.then=="function"){var m=o;Bf(f,m,Fi)}else ds(f,o,Fi);Iie(i,f.return,f,o,Fi),Z9(f)}catch(y){o=y,Zr===f&&f!==null?(f=f.return,Zr=f):f=Zr;continue}return}while(!0)}function G9(){var i=uP.current;return uP.current=Wk,i===null?Wk:i}function Y9(i){uP.current=i}function hoe(){hP=Wr()}function E0(i){a1=ln(i,a1)}function poe(){ji===sc&&(ji=i1)}function kP(){(ji===sc||ji===i1||ji===Rh)&&(ji=b0),Ka!==null&&(Bl(a1)||Bl(C0))&&$d(Ka,Fi)}function moe(i){ji!==b0&&(ji=Rh),k0===null?k0=[i]:k0.push(i)}function goe(){return ji===sc}function h1(i,o){var f=On;On|=pa;var m=G9();if(Ka!==i||Fi!==o){if(Yi){var y=i.memoizedUpdaters;y.size>0&&(R0(i,Fi),y.clear()),yy(i,o)}lc=Sm(),Dh(i,o)}sy(o);do try{voe();break}catch(C){W9(i,C)}while(!0);if(kk(),On=f,Y9(m),Zr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Pr(),Ka=null,Fi=Pe,ji}function voe(){for(;Zr!==null;)K9(Zr)}function yoe(i,o){var f=On;On|=pa;var m=G9();if(Ka!==i||Fi!==o){if(Yi){var y=i.memoizedUpdaters;y.size>0&&(R0(i,Fi),y.clear()),yy(i,o)}lc=Sm(),T0(),Dh(i,o)}sy(o);do try{boe();break}catch(C){W9(i,C)}while(!0);return kk(),Y9(m),On=f,Zr!==null?(ly(),sc):(Pr(),Ka=null,Fi=Pe,ji)}function boe(){for(;Zr!==null&&!Jv();)K9(Zr)}function K9(i){var o=i.alternate;sr(i);var f;(i.mode&En)!==Mt?(wR(i),f=TP(o,i,au),Qk(i,!0)):f=TP(o,i,au),Ur(),i.memoizedProps=i.pendingProps,f===null?Z9(i):Zr=f,cP.current=null}function Z9(i){var o=i;do{var f=o.alternate,m=o.return;if((o.flags&Lu)===Ot){sr(o);var y=void 0;if((o.mode&En)===Mt?y=b9(f,o,au):(wR(o),y=b9(f,o,au),Qk(o,!1)),Ur(),y!==null){Zr=y;return}}else{var C=pae(f,o);if(C!==null){C.flags&=aC,Zr=C;return}if((o.mode&En)!==Mt){Qk(o,!1);for(var w=o.actualDuration,P=o.child;P!==null;)w+=P.actualDuration,P=P.sibling;o.actualDuration=w}if(m!==null)m.flags|=Lu,m.subtreeFlags=Ot,m.deletions=null;else{ji=dP,Zr=null;return}}var D=o.sibling;if(D!==null){Zr=D;return}o=m,Zr=o}while(o!==null);ji===sc&&(ji=U9)}function Ah(i,o,f){var m=$a(),y=ha.transition;try{ha.transition=null,di(Oa),Soe(i,o,f,m)}finally{ha.transition=y,di(m)}return null}function Soe(i,o,f,m){do cc();while(Bd!==null);if(Aoe(),(On&(pa|bs))!==Ui)throw new Error("Should not already be working.");var y=i.finishedWork,C=i.finishedLanes;if(dC(C),y===null)return cs(),null;if(C===Pe&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),i.finishedWork=null,i.finishedLanes=Pe,y===i.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");i.callbackNode=null,i.callbackPriority=ri;var w=ln(y.lanes,y.childLanes);CC(i,w),i===Ka&&(Ka=null,Zr=null,Fi=Pe),((y.subtreeFlags&Ri)!==Ot||(y.flags&Ri)!==Ot)&&(Ph||(Ph=!0,gP=f,_P(Iu,function(){return cc(),null})));var P=(y.subtreeFlags&(Ll|ud|Nl|Ri))!==Ot,D=(y.flags&(Ll|ud|Nl|Ri))!==Ot;if(P||D){var F=ha.transition;ha.transition=null;var B=$a();di(Oa);var ae=On;On|=bs,cP.current=null,bae(i,y),zF(),Mae(i,y,C),One(i.containerInfo),i.current=y,Hf(C),Lae(y,i,C),Fu(),sC(),On=ae,di(B),ha.transition=F}else i.current=y,zF();var re=Ph;if(Ph?(Ph=!1,Bd=i,x0=C):(cg=0,u1=null),w=i.pendingLanes,w===Pe&&(ug=null),re||ej(i.current,!1),ny(y.stateNode,m),Yi&&i.memoizedUpdaters.clear(),Jae(),Ro(i,Wr()),o!==null)for(var ge=i.onRecoverableError,be=0;be<o.length;be++){var we=o[be],st=we.stack,Vt=we.digest;ge(we.value,{componentStack:st,digest:Vt})}if(s1){s1=!1;var Pt=pP;throw pP=null,Pt}return Aa(x0,Ht)&&i.tag!==Od&&cc(),w=i.pendingLanes,Aa(w,Ht)?(wie(),i===vP?w0++:(w0=0,vP=i)):w0=0,Md(),cs(),null}function cc(){if(Bd!==null){var i=xC(x0),o=Ki(Di,i),f=ha.transition,m=$a();try{return ha.transition=null,di(o),koe()}finally{di(m),ha.transition=f}}return!1}function Coe(i){mP.push(i),Ph||(Ph=!0,_P(Iu,function(){return cc(),null}))}function koe(){if(Bd===null)return!1;var i=gP;gP=null;var o=Bd,f=x0;if(Bd=null,x0=Pe,(On&(pa|bs))!==Ui)throw new Error("Cannot flush passive effects while already rendering.");yP=!0,l1=!1,oy(f);var m=On;On|=bs,zae(o.current),Uae(o,o.current,f,i);{var y=mP;mP=[];for(var C=0;C<y.length;C++){var w=y[C];Tae(o,w)}}hd(),ej(o.current,!0),On=m,Md(),l1?o===u1?cg++:(cg=0,u1=o):cg=0,yP=!1,l1=!1,ry(o);{var P=o.current.stateNode;P.effectDuration=0,P.passiveEffectDuration=0}return!0}function Q9(i){return ug!==null&&ug.has(i)}function Toe(i){ug===null?ug=new Set([i]):ug.add(i)}function xoe(i){s1||(s1=!0,pP=i)}var woe=xoe;function X9(i,o,f){var m=_h(f,o),y=KF(i,m,Ht),C=Nd(i,y,Ht),w=Za();C!==null&&(yd(C,Ht,w),Ro(C,w))}function Tr(i,o,f){if(gae(f),P0(!1),i.tag===k){X9(i,i,f);return}var m=null;for(m=o;m!==null;){if(m.tag===k){X9(m,i,f);return}else if(m.tag===v){var y=m.type,C=m.stateNode;if(typeof y.getDerivedStateFromError=="function"||typeof C.componentDidCatch=="function"&&!Q9(C)){var w=_h(f,i),P=HR(m,w,Ht),D=Nd(m,P,Ht),F=Za();D!==null&&(yd(D,Ht,F),Ro(D,F));return}}m=m.return}c(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
212
212
|
|
|
213
213
|
Error message:
|
|
214
214
|
|
|
215
|
-
%s`,f)}function _oe(i,o,f){var m=i.pingCache;m!==null&&m.delete(o);var y=Za();ym(i,f),Noe(i),Ka===i&&Hu(Fi,f)&&(ji===b0||ji===i1&&pm(Fi)&&Wr()-hP<F9?Dh(i,Pe):o1=ln(o1,f)),Ro(i,y)}function J9(i,o){o===ri&&(o=ooe(i));var f=Za(),m=wo(i,o);m!==null&&(yd(m,o,f),Ro(m,f))}function Eoe(i){var o=i.memoizedState,f=ri;o!==null&&(f=o.retryLane),J9(i,f)}function Roe(i,o){var f=ri,m;switch(i.tag){case N:m=i.stateNode;var y=i.memoizedState;y!==null&&(f=y.retryLane);break;case te:m=i.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}m!==null&&m.delete(o),J9(i,f)}function Poe(i){return i<120?120:i<480?480:i<1080?1080:i<1920?1920:i<3e3?3e3:i<4320?4320:noe(i/1960)*1960}function Doe(){if(w0>ioe)throw w0=0,vP=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");cg>aoe&&(cg=0,u1=null,c("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function Aoe(){Js.flushLegacyContextWarning(),Js.flushPendingUnsafeLifecycleWarnings()}function ej(i,o){sr(i),p1(i,ia,Zae),o&&p1(i,Ml,Qae),p1(i,ia,Yae),o&&p1(i,Ml,Kae),Ur()}function p1(i,o,f){for(var m=i,y=null;m!==null;){var C=m.subtreeFlags&o;m!==y&&m.child!==null&&C!==Ot?m=m.child:((m.flags&o)!==Ot&&f(m),m.sibling!==null?m=m.sibling:m=y=m.return)}}var m1=null;function tj(i){{if((On&pa)!==Ui||!(i.mode&
|
|
215
|
+
%s`,f)}function _oe(i,o,f){var m=i.pingCache;m!==null&&m.delete(o);var y=Za();ym(i,f),Noe(i),Ka===i&&Hu(Fi,f)&&(ji===b0||ji===i1&&pm(Fi)&&Wr()-hP<F9?Dh(i,Pe):o1=ln(o1,f)),Ro(i,y)}function J9(i,o){o===ri&&(o=ooe(i));var f=Za(),m=wo(i,o);m!==null&&(yd(m,o,f),Ro(m,f))}function Eoe(i){var o=i.memoizedState,f=ri;o!==null&&(f=o.retryLane),J9(i,f)}function Roe(i,o){var f=ri,m;switch(i.tag){case N:m=i.stateNode;var y=i.memoizedState;y!==null&&(f=y.retryLane);break;case te:m=i.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}m!==null&&m.delete(o),J9(i,f)}function Poe(i){return i<120?120:i<480?480:i<1080?1080:i<1920?1920:i<3e3?3e3:i<4320?4320:noe(i/1960)*1960}function Doe(){if(w0>ioe)throw w0=0,vP=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");cg>aoe&&(cg=0,u1=null,c("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function Aoe(){Js.flushLegacyContextWarning(),Js.flushPendingUnsafeLifecycleWarnings()}function ej(i,o){sr(i),p1(i,ia,Zae),o&&p1(i,Ml,Qae),p1(i,ia,Yae),o&&p1(i,Ml,Kae),Ur()}function p1(i,o,f){for(var m=i,y=null;m!==null;){var C=m.subtreeFlags&o;m!==y&&m.child!==null&&C!==Ot?m=m.child:((m.flags&o)!==Ot&&f(m),m.sibling!==null?m=m.sibling:m=y=m.return)}}var m1=null;function tj(i){{if((On&pa)!==Ui||!(i.mode&bn))return;var o=i.tag;if(o!==b&&o!==k&&o!==v&&o!==p&&o!==j&&o!==ne&&o!==X)return;var f=Zt(i)||"ReactComponent";if(m1!==null){if(m1.has(f))return;m1.add(f)}else m1=new Set([f]);var m=vi;try{sr(i),c("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{m?sr(i):Ur()}}}var TP;{var Ooe=null;TP=function(i,o,f){var m=uj(Ooe,o);try{return p9(i,o,f)}catch(C){if($re()||C!==null&&typeof C=="object"&&typeof C.then=="function")throw C;if(kk(),gF(),S9(i,o),uj(o,m),o.mode&En&&wR(o),vo(null,p9,null,i,o,f),Wv()){var y=Gv();typeof y=="object"&&y!==null&&y._suppressLogging&&typeof C=="object"&&C!==null&&!C._suppressLogging&&(C._suppressLogging=!0)}throw C}}}var nj=!1,xP;xP=new Set;function Moe(i){if(Ta&&!kie())switch(i.tag){case p:case j:case X:{var o=Zr&&Zt(Zr)||"Unknown",f=o;if(!xP.has(f)){xP.add(f);var m=Zt(i)||"Unknown";c("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",m,o,o)}break}case v:{nj||(c("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),nj=!0);break}}}function R0(i,o){if(Yi){var f=i.memoizedUpdaters;f.forEach(function(m){kC(i,m,o)})}}var wP={};function _P(i,o){{var f=sl.current;return f!==null?(f.push(o),wP):Qv(i,o)}}function rj(i){if(i!==wP)return Xv(i)}function ij(){return sl.current!==null}function Loe(i){{if(i.mode&bn){if(!N9())return}else if(!toe()||On!==Ui||i.tag!==p&&i.tag!==j&&i.tag!==X)return;if(sl.current===null){var o=vi;try{sr(i),c(`An update to %s inside a test was not wrapped in act(...).
|
|
216
216
|
|
|
217
217
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
218
218
|
|
|
@@ -230,7 +230,7 @@ act(() => {
|
|
|
230
230
|
});
|
|
231
231
|
/* assert on the output */
|
|
232
232
|
|
|
233
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function P0(i){z9=i}var Ss=null,dg=null,Ioe=function(i){Ss=i};function fg(i){{if(Ss===null)return i;var o=Ss(i);return o===void 0?i:o.current}}function EP(i){return fg(i)}function RP(i){{if(Ss===null)return i;var o=Ss(i);if(o===void 0){if(i!=null&&typeof i.render=="function"){var f=fg(i.render);if(i.render!==f){var m={$$typeof:Oe,render:f};return i.displayName!==void 0&&(m.displayName=i.displayName),m}}return i}return o.current}}function aj(i,o){{if(Ss===null)return!1;var f=i.elementType,m=o.type,y=!1,C=typeof m=="object"&&m!==null?m.$$typeof:null;switch(i.tag){case v:{typeof m=="function"&&(y=!0);break}case p:{(typeof m=="function"||C===Gt)&&(y=!0);break}case j:{(C===Oe||C===Gt)&&(y=!0);break}case ne:case X:{(C===en||C===Gt)&&(y=!0);break}default:return!1}if(y){var w=Ss(f);if(w!==void 0&&w===Ss(m))return!0}return!1}}function oj(i){{if(Ss===null||typeof WeakSet!="function")return;dg===null&&(dg=new WeakSet),dg.add(i)}}var Uoe=function(i,o){{if(Ss===null)return;var f=o.staleFamilies,m=o.updatedFamilies;cc(),uc(function(){PP(i.current,m,f)})}},Foe=function(i,o){{if(i.context!==$o)return;cc(),uc(function(){D0(o,i,null,null)})}};function PP(i,o,f){{var m=i.alternate,y=i.child,C=i.sibling,w=i.tag,P=i.type,D=null;switch(w){case p:case X:case v:D=P;break;case j:D=P.render;break}if(Ss===null)throw new Error("Expected resolveFamily to be set during hot reload.");var F=!1,B=!1;if(D!==null){var ae=Ss(D);ae!==void 0&&(f.has(ae)?B=!0:o.has(ae)&&(w===v?B=!0:F=!0))}if(dg!==null&&(dg.has(i)||m!==null&&dg.has(m))&&(B=!0),B&&(i._debugNeedsRemount=!0),B||F){var re=wo(i,Ht);re!==null&&Vi(re,i,Ht,rr)}y!==null&&!B&&PP(y,o,f),C!==null&&PP(C,o,f)}}var joe=function(i,o){{var f=new Set,m=new Set(o.map(function(y){return y.current}));return DP(i.current,m,f),f}};function DP(i,o,f){{var m=i.child,y=i.sibling,C=i.tag,w=i.type,P=null;switch(C){case p:case X:case v:P=w;break;case j:P=w.render;break}var D=!1;P!==null&&o.has(P)&&(D=!0),D?Voe(i,f):m!==null&&DP(m,o,f),y!==null&&DP(y,o,f)}}function Voe(i,o){{var f=zoe(i,o);if(f)return;for(var m=i;;){switch(m.tag){case E:o.add(m.stateNode);return;case T:o.add(m.stateNode.containerInfo);return;case k:o.add(m.stateNode.containerInfo);return}if(m.return===null)throw new Error("Expected to reach root first.");m=m.return}}}function zoe(i,o){for(var f=i,m=!1;;){if(f.tag===E)m=!0,o.add(f.stateNode);else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===i)return m;for(;f.sibling===null;){if(f.return===null||f.return===i)return m;f=f.return}f.sibling.return=f.return,f=f.sibling}return!1}var AP;{AP=!1;try{var sj=Object.preventExtensions({})}catch{AP=!0}}function Boe(i,o,f,m){this.tag=i,this.key=f,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=o,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=m,this.flags=Ot,this.subtreeFlags=Ot,this.deletions=null,this.lanes=Pe,this.childLanes=Pe,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!AP&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var qo=function(i,o,f,m){return new Boe(i,o,f,m)};function OP(i){var o=i.prototype;return!!(o&&o.isReactComponent)}function Hoe(i){return typeof i=="function"&&!OP(i)&&i.defaultProps===void 0}function $oe(i){if(typeof i=="function")return OP(i)?v:p;if(i!=null){var o=i.$$typeof;if(o===Oe)return j;if(o===en)return ne}return b}function Oh(i,o){var f=i.alternate;f===null?(f=qo(i.tag,o,i.key,i.mode),f.elementType=i.elementType,f.type=i.type,f.stateNode=i.stateNode,f._debugSource=i._debugSource,f._debugOwner=i._debugOwner,f._debugHookTypes=i._debugHookTypes,f.alternate=i,i.alternate=f):(f.pendingProps=o,f.type=i.type,f.flags=Ot,f.subtreeFlags=Ot,f.deletions=null,f.actualDuration=0,f.actualStartTime=-1),f.flags=i.flags&ni,f.childLanes=i.childLanes,f.lanes=i.lanes,f.child=i.child,f.memoizedProps=i.memoizedProps,f.memoizedState=i.memoizedState,f.updateQueue=i.updateQueue;var m=i.dependencies;switch(f.dependencies=m===null?null:{lanes:m.lanes,firstContext:m.firstContext},f.sibling=i.sibling,f.index=i.index,f.ref=i.ref,f.selfBaseDuration=i.selfBaseDuration,f.treeBaseDuration=i.treeBaseDuration,f._debugNeedsRemount=i._debugNeedsRemount,f.tag){case b:case p:case X:f.type=fg(i.type);break;case v:f.type=EP(i.type);break;case j:f.type=RP(i.type);break}return f}function qoe(i,o){i.flags&=ni|Fr;var f=i.alternate;if(f===null)i.childLanes=Pe,i.lanes=o,i.child=null,i.subtreeFlags=Ot,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null,i.selfBaseDuration=0,i.treeBaseDuration=0;else{i.childLanes=f.childLanes,i.lanes=f.lanes,i.child=f.child,i.subtreeFlags=Ot,i.deletions=null,i.memoizedProps=f.memoizedProps,i.memoizedState=f.memoizedState,i.updateQueue=f.updateQueue,i.type=f.type;var m=f.dependencies;i.dependencies=m===null?null:{lanes:m.lanes,firstContext:m.firstContext},i.selfBaseDuration=f.selfBaseDuration,i.treeBaseDuration=f.treeBaseDuration}return i}function Woe(i,o,f){var m;return i===fk?(m=
|
|
233
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function P0(i){z9=i}var Ss=null,dg=null,Ioe=function(i){Ss=i};function fg(i){{if(Ss===null)return i;var o=Ss(i);return o===void 0?i:o.current}}function EP(i){return fg(i)}function RP(i){{if(Ss===null)return i;var o=Ss(i);if(o===void 0){if(i!=null&&typeof i.render=="function"){var f=fg(i.render);if(i.render!==f){var m={$$typeof:Oe,render:f};return i.displayName!==void 0&&(m.displayName=i.displayName),m}}return i}return o.current}}function aj(i,o){{if(Ss===null)return!1;var f=i.elementType,m=o.type,y=!1,C=typeof m=="object"&&m!==null?m.$$typeof:null;switch(i.tag){case v:{typeof m=="function"&&(y=!0);break}case p:{(typeof m=="function"||C===Gt)&&(y=!0);break}case j:{(C===Oe||C===Gt)&&(y=!0);break}case ne:case X:{(C===en||C===Gt)&&(y=!0);break}default:return!1}if(y){var w=Ss(f);if(w!==void 0&&w===Ss(m))return!0}return!1}}function oj(i){{if(Ss===null||typeof WeakSet!="function")return;dg===null&&(dg=new WeakSet),dg.add(i)}}var Uoe=function(i,o){{if(Ss===null)return;var f=o.staleFamilies,m=o.updatedFamilies;cc(),uc(function(){PP(i.current,m,f)})}},Foe=function(i,o){{if(i.context!==$o)return;cc(),uc(function(){D0(o,i,null,null)})}};function PP(i,o,f){{var m=i.alternate,y=i.child,C=i.sibling,w=i.tag,P=i.type,D=null;switch(w){case p:case X:case v:D=P;break;case j:D=P.render;break}if(Ss===null)throw new Error("Expected resolveFamily to be set during hot reload.");var F=!1,B=!1;if(D!==null){var ae=Ss(D);ae!==void 0&&(f.has(ae)?B=!0:o.has(ae)&&(w===v?B=!0:F=!0))}if(dg!==null&&(dg.has(i)||m!==null&&dg.has(m))&&(B=!0),B&&(i._debugNeedsRemount=!0),B||F){var re=wo(i,Ht);re!==null&&Vi(re,i,Ht,rr)}y!==null&&!B&&PP(y,o,f),C!==null&&PP(C,o,f)}}var joe=function(i,o){{var f=new Set,m=new Set(o.map(function(y){return y.current}));return DP(i.current,m,f),f}};function DP(i,o,f){{var m=i.child,y=i.sibling,C=i.tag,w=i.type,P=null;switch(C){case p:case X:case v:P=w;break;case j:P=w.render;break}var D=!1;P!==null&&o.has(P)&&(D=!0),D?Voe(i,f):m!==null&&DP(m,o,f),y!==null&&DP(y,o,f)}}function Voe(i,o){{var f=zoe(i,o);if(f)return;for(var m=i;;){switch(m.tag){case E:o.add(m.stateNode);return;case T:o.add(m.stateNode.containerInfo);return;case k:o.add(m.stateNode.containerInfo);return}if(m.return===null)throw new Error("Expected to reach root first.");m=m.return}}}function zoe(i,o){for(var f=i,m=!1;;){if(f.tag===E)m=!0,o.add(f.stateNode);else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===i)return m;for(;f.sibling===null;){if(f.return===null||f.return===i)return m;f=f.return}f.sibling.return=f.return,f=f.sibling}return!1}var AP;{AP=!1;try{var sj=Object.preventExtensions({})}catch{AP=!0}}function Boe(i,o,f,m){this.tag=i,this.key=f,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=o,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=m,this.flags=Ot,this.subtreeFlags=Ot,this.deletions=null,this.lanes=Pe,this.childLanes=Pe,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!AP&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var qo=function(i,o,f,m){return new Boe(i,o,f,m)};function OP(i){var o=i.prototype;return!!(o&&o.isReactComponent)}function Hoe(i){return typeof i=="function"&&!OP(i)&&i.defaultProps===void 0}function $oe(i){if(typeof i=="function")return OP(i)?v:p;if(i!=null){var o=i.$$typeof;if(o===Oe)return j;if(o===en)return ne}return b}function Oh(i,o){var f=i.alternate;f===null?(f=qo(i.tag,o,i.key,i.mode),f.elementType=i.elementType,f.type=i.type,f.stateNode=i.stateNode,f._debugSource=i._debugSource,f._debugOwner=i._debugOwner,f._debugHookTypes=i._debugHookTypes,f.alternate=i,i.alternate=f):(f.pendingProps=o,f.type=i.type,f.flags=Ot,f.subtreeFlags=Ot,f.deletions=null,f.actualDuration=0,f.actualStartTime=-1),f.flags=i.flags&ni,f.childLanes=i.childLanes,f.lanes=i.lanes,f.child=i.child,f.memoizedProps=i.memoizedProps,f.memoizedState=i.memoizedState,f.updateQueue=i.updateQueue;var m=i.dependencies;switch(f.dependencies=m===null?null:{lanes:m.lanes,firstContext:m.firstContext},f.sibling=i.sibling,f.index=i.index,f.ref=i.ref,f.selfBaseDuration=i.selfBaseDuration,f.treeBaseDuration=i.treeBaseDuration,f._debugNeedsRemount=i._debugNeedsRemount,f.tag){case b:case p:case X:f.type=fg(i.type);break;case v:f.type=EP(i.type);break;case j:f.type=RP(i.type);break}return f}function qoe(i,o){i.flags&=ni|Fr;var f=i.alternate;if(f===null)i.childLanes=Pe,i.lanes=o,i.child=null,i.subtreeFlags=Ot,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null,i.selfBaseDuration=0,i.treeBaseDuration=0;else{i.childLanes=f.childLanes,i.lanes=f.lanes,i.child=f.child,i.subtreeFlags=Ot,i.deletions=null,i.memoizedProps=f.memoizedProps,i.memoizedState=f.memoizedState,i.updateQueue=f.updateQueue,i.type=f.type;var m=f.dependencies;i.dependencies=m===null?null:{lanes:m.lanes,firstContext:m.firstContext},i.selfBaseDuration=f.selfBaseDuration,i.treeBaseDuration=f.treeBaseDuration}return i}function Woe(i,o,f){var m;return i===fk?(m=bn,o===!0&&(m|=on,m|=cr)):m=Mt,Yi&&(m|=En),qo(k,null,null,m)}function MP(i,o,f,m,y,C){var w=b,P=i;if(typeof i=="function")OP(i)?(w=v,P=EP(P)):P=fg(P);else if(typeof i=="string")w=E;else e:switch(i){case fn:return qd(f.children,y,C,o);case In:w=A,y|=on,(y&bn)!==Mt&&(y|=cr);break;case er:return Goe(f,y,C,o);case Xe:return Yoe(f,y,C,o);case tt:return Koe(f,y,C,o);case $r:return lj(f,y,C,o);case yr:case Cn:case Cr:case $i:case hn:default:{if(typeof i=="object"&&i!==null)switch(i.$$typeof){case Ei:w=V;break e;case Y:w=U;break e;case Oe:w=j,P=RP(P);break e;case en:w=ne;break e;case Gt:w=se,P=null;break e}var D="";{(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(D+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var F=m?Zt(m):null;F&&(D+=`
|
|
234
234
|
|
|
235
235
|
Check the render method of \``+F+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(i==null?i:typeof i)+"."+D))}}var B=qo(w,f,o,y);return B.elementType=i,B.type=P,B.lanes=C,B._debugOwner=m,B}function LP(i,o,f){var m=null;m=i._owner;var y=i.type,C=i.key,w=i.props,P=MP(y,C,w,m,o,f);return P._debugSource=i._source,P._debugOwner=i._owner,P}function qd(i,o,f,m){var y=qo(M,i,m,o);return y.lanes=f,y}function Goe(i,o,f,m){typeof i.id!="string"&&c('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof i.id);var y=qo(I,i,m,o|En);return y.elementType=er,y.lanes=f,y.stateNode={effectDuration:0,passiveEffectDuration:0},y}function Yoe(i,o,f,m){var y=qo(N,i,m,o);return y.elementType=Xe,y.lanes=f,y}function Koe(i,o,f,m){var y=qo(te,i,m,o);return y.elementType=tt,y.lanes=f,y}function lj(i,o,f,m){var y=qo(ke,i,m,o);y.elementType=$r,y.lanes=f;var C={isHidden:!1};return y.stateNode=C,y}function NP(i,o,f){var m=qo(R,i,null,o);return m.lanes=f,m}function Zoe(){var i=qo(E,null,null,Mt);return i.elementType="DELETED",i}function Qoe(i){var o=qo(oe,null,null,Mt);return o.stateNode=i,o}function IP(i,o,f){var m=i.children!==null?i.children:[],y=qo(T,m,i.key,o);return y.lanes=f,y.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},y}function uj(i,o){return i===null&&(i=qo(b,null,null,Mt)),i.tag=o.tag,i.key=o.key,i.elementType=o.elementType,i.type=o.type,i.stateNode=o.stateNode,i.return=o.return,i.child=o.child,i.sibling=o.sibling,i.index=o.index,i.ref=o.ref,i.pendingProps=o.pendingProps,i.memoizedProps=o.memoizedProps,i.updateQueue=o.updateQueue,i.memoizedState=o.memoizedState,i.dependencies=o.dependencies,i.mode=o.mode,i.flags=o.flags,i.subtreeFlags=o.subtreeFlags,i.deletions=o.deletions,i.lanes=o.lanes,i.childLanes=o.childLanes,i.alternate=o.alternate,i.actualDuration=o.actualDuration,i.actualStartTime=o.actualStartTime,i.selfBaseDuration=o.selfBaseDuration,i.treeBaseDuration=o.treeBaseDuration,i._debugSource=o._debugSource,i._debugOwner=o._debugOwner,i._debugNeedsRemount=o._debugNeedsRemount,i._debugHookTypes=o._debugHookTypes,i}function Xoe(i,o,f,m,y){this.tag=o,this.containerInfo=i,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=vE,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=ri,this.eventTimes=vm(Pe),this.expirationTimes=vm(rr),this.pendingLanes=Pe,this.suspendedLanes=Pe,this.pingedLanes=Pe,this.expiredLanes=Pe,this.mutableReadLanes=Pe,this.finishedLanes=Pe,this.entangledLanes=Pe,this.entanglements=vm(Pe),this.identifierPrefix=m,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var C=this.pendingUpdatersLaneMap=[],w=0;w<cy;w++)C.push(new Set)}switch(o){case fk:this._debugRootType=f?"hydrateRoot()":"createRoot()";break;case Od:this._debugRootType=f?"hydrate()":"render()";break}}function cj(i,o,f,m,y,C,w,P,D,F){var B=new Xoe(i,o,f,P,D),ae=Woe(o,C);B.current=ae,ae.stateNode=B;{var re={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null};ae.memoizedState=re}return KE(ae),B}var UP="18.3.1";function Joe(i,o,f){var m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Z(m),{$$typeof:jt,key:m==null?null:""+m,children:i,containerInfo:o,implementation:f}}var FP,jP;FP=!1,jP={};function dj(i){if(!i)return $o;var o=ld(i),f=Nre(o);if(o.tag===v){var m=o.type;if(Xl(m))return FU(o,m,f)}return f}function ese(i,o){{var f=ld(i);if(f===void 0){if(typeof i.render=="function")throw new Error("Unable to find node on an unmounted component.");var m=Object.keys(i).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+m)}var y=Ea(f);if(y===null)return null;if(y.mode&on){var C=Zt(f)||"Component";if(!jP[C]){jP[C]=!0;var w=vi;try{sr(y),f.mode&on?c("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",o,o,C):c("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",o,o,C)}finally{w?sr(w):Ur()}}}return y.stateNode}}function fj(i,o,f,m,y,C,w,P){var D=!1,F=null;return cj(i,o,D,F,f,m,y,C,w)}function hj(i,o,f,m,y,C,w,P,D,F){var B=!0,ae=cj(f,m,B,i,y,C,w,P,D);ae.context=dj(null);var re=ae.current,ge=Za(),be=Hd(re),we=ac(ge,be);return we.callback=o??null,Nd(re,we,be),soe(ae,be,ge),ae}function D0(i,o,f,m){ty(o,i);var y=o.current,C=Za(),w=Hd(y);Yp(w);var P=dj(f);o.context===null?o.context=P:o.pendingContext=P,Ta&&vi!==null&&!FP&&(FP=!0,c(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
236
236
|
|
|
@@ -395,10 +395,10 @@ a=extmap-allow-mixed`)!==-1){const s=a.sdp.split(`
|
|
|
395
395
|
*
|
|
396
396
|
* This source code is licensed under the ISC license.
|
|
397
397
|
* See the LICENSE file in the root directory of this source tree.
|
|
398
|
-
*/const aW=Bi("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),oW=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M11.5253 1.30593C11.5508 1.21075 11.5947 1.12151 11.6547 1.04333C11.7147 0.965143 11.7894 0.899537 11.8748 0.85026C11.9601 0.800983 12.0543 0.769 12.152 0.756139C12.2496 0.743278 12.3489 0.749791 12.4441 0.775306C13.8344 1.13807 15.103 1.86491 16.119 2.88096C17.1351 3.89702 17.8619 5.16556 18.2247 6.55593C18.2502 6.6511 18.2567 6.75036 18.2439 6.84805C18.231 6.94573 18.199 7.03993 18.1497 7.12525C18.1005 7.21057 18.0349 7.28534 17.9567 7.3453C17.8785 7.40526 17.7893 7.44922 17.6941 7.47468C17.6307 7.49132 17.5655 7.49983 17.5 7.49999C17.3347 7.49999 17.1741 7.44539 17.043 7.34469C16.912 7.24399 16.8179 7.10282 16.7753 6.94312C16.4795 5.80811 15.8863 4.77253 15.0569 3.94314C14.2275 3.11375 13.1919 2.52054 12.0569 2.22468C11.9616 2.19932 11.8723 2.15543 11.794 2.09552C11.7157 2.0356 11.65 1.96084 11.6006 1.87551C11.5513 1.79018 11.5192 1.69595 11.5063 1.59822C11.4933 1.50048 11.4998 1.40116 11.5253 1.30593ZM11.3069 5.22468C12.5997 5.56968 13.4303 6.40031 13.7753 7.69312C13.8179 7.85282 13.912 7.99399 14.043 8.09469C14.1741 8.19539 14.3347 8.24999 14.5 8.24999C14.5655 8.24983 14.6307 8.24132 14.6941 8.22468C14.7893 8.19922 14.8785 8.15526 14.9567 8.0953C15.0349 8.03534 15.1005 7.96057 15.1497 7.87525C15.199 7.78993 15.231 7.69573 15.2439 7.59805C15.2567 7.50036 15.2502 7.4011 15.2247 7.30593C14.7447 5.50968 13.4903 4.25531 11.6941 3.77531C11.5019 3.72396 11.2971 3.75107 11.1249 3.85067C10.9527 3.95027 10.8271 4.1142 10.7758 4.3064C10.7244 4.4986 10.7516 4.70332 10.8512 4.87553C10.9508 5.04774 11.1147 5.17334 11.3069 5.22468ZM18.9888 14.1637C18.8216 15.4341 18.1977 16.6001 17.2337 17.4441C16.2696 18.2881 15.0313 18.7523 13.75 18.75C6.30626 18.75 0.250008 12.6937 0.250008 5.24999C0.247712 3.9687 0.711903 2.73039 1.55588 1.76633C2.39986 0.802276 3.56592 0.178406 4.83626 0.0112434C5.1575 -0.0279808 5.4828 0.0377391 5.76362 0.198592C6.04444 0.359445 6.2657 0.606804 6.39438 0.903743L8.37438 5.32406V5.33531C8.4729 5.56261 8.51359 5.81077 8.49282 6.05763C8.47204 6.30449 8.39044 6.54236 8.25532 6.74999C8.23845 6.77531 8.22063 6.79874 8.20188 6.82218L6.25001 9.13593C6.9522 10.5628 8.4447 12.0422 9.89032 12.7462L12.1722 10.8047C12.1946 10.7858 12.2181 10.7683 12.2425 10.7522C12.45 10.6138 12.6887 10.5293 12.937 10.5064C13.1853 10.4835 13.4354 10.5229 13.6647 10.6209L13.6769 10.6266L18.0934 12.6056C18.3909 12.7338 18.6389 12.9549 18.8003 13.2358C18.9616 13.5166 19.0278 13.8422 18.9888 14.1637ZM17.5 13.9762C17.5 13.9762 17.4934 13.9762 17.4897 13.9762L13.0834 12.0028L10.8006 13.9444C10.7785 13.9631 10.7553 13.9807 10.7313 13.9969C10.5154 14.1409 10.2659 14.2264 10.0071 14.2452C9.74828 14.2639 9.48904 14.2152 9.2547 14.1037C7.49876 13.2553 5.74845 11.5181 4.89907 9.78093C4.7866 9.5483 4.73613 9.29055 4.75255 9.03267C4.76898 8.7748 4.85174 8.52554 4.99282 8.30906C5.00872 8.28364 5.02659 8.2595 5.04626 8.23687L7.00001 5.92031L5.03126 1.51406C5.03089 1.51032 5.03089 1.50655 5.03126 1.50281C4.12212 1.6214 3.28739 2.06733 2.68339 2.7571C2.0794 3.44687 1.74755 4.33316 1.75001 5.24999C1.75348 8.43153 3.01888 11.4818 5.26856 13.7314C7.51825 15.9811 10.5685 17.2465 13.75 17.25C14.6663 17.2531 15.5523 16.9225 16.2425 16.3198C16.9327 15.7171 17.3797 14.8837 17.5 13.9753V13.9762Z"})}),sW=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M15.3727 11.3798L11.6922 9.73056L11.682 9.72587C11.491 9.64415 11.2825 9.61135 11.0756 9.63045C10.8687 9.64954 10.6698 9.71993 10.4969 9.83524C10.4765 9.84869 10.457 9.86329 10.4383 9.87899L8.53673 11.5001C7.33204 10.9149 6.08829 9.68055 5.50313 8.49149L7.12657 6.56102C7.14219 6.54149 7.15704 6.52196 7.1711 6.50087C7.28394 6.32845 7.35239 6.13081 7.37039 5.92553C7.38838 5.72026 7.35534 5.51372 7.27423 5.3243V5.31493L5.62032 1.62821C5.51309 1.38076 5.3287 1.17463 5.09468 1.04058C4.86067 0.906541 4.58958 0.851774 4.32188 0.884461C3.26326 1.02376 2.29155 1.54366 1.58824 2.34704C0.884919 3.15042 0.498093 4.18234 0.500007 5.25009C0.500007 11.4532 5.54688 16.5001 11.75 16.5001C12.8177 16.502 13.8497 16.1152 14.6531 15.4119C15.4564 14.7085 15.9763 13.7368 16.1156 12.6782C16.1484 12.4106 16.0937 12.1396 15.9598 11.9056C15.8259 11.6716 15.62 11.4871 15.3727 11.3798ZM11.75 15.2501C9.09873 15.2472 6.55687 14.1927 4.68214 12.318C2.8074 10.4432 1.7529 7.90136 1.75001 5.25009C1.74707 4.48719 2.02192 3.7493 2.52324 3.17423C3.02456 2.59916 3.71806 2.22623 4.47423 2.12509C4.47392 2.1282 4.47392 2.13134 4.47423 2.13446L6.11485 5.80634L4.50001 7.73915C4.48362 7.75801 4.46873 7.77812 4.45548 7.7993C4.33791 7.97971 4.26894 8.18743 4.25525 8.40232C4.24157 8.61722 4.28362 8.83201 4.37735 9.02587C5.08516 10.4735 6.54376 11.9212 8.00704 12.6282C8.20232 12.7211 8.41835 12.7617 8.63403 12.7461C8.8497 12.7304 9.05763 12.6592 9.23751 12.5391C9.25757 12.5256 9.27687 12.511 9.29532 12.4954L11.1945 10.8751L14.8664 12.5196C14.8664 12.5196 14.8727 12.5196 14.875 12.5196C14.7751 13.2769 14.4027 13.9718 13.8275 14.4743C13.2524 14.9769 12.5138 15.2527 11.75 15.2501Z"})}),lW=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 20 16",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M4.21328 0.704679C4.15839 0.642809 4.09177 0.592448 4.01728 0.556515C3.94278 0.520582 3.8619 0.499791 3.77931 0.495348C3.69672 0.490905 3.61408 0.502898 3.53616 0.530632C3.45824 0.558365 3.3866 0.601288 3.32539 0.656913C3.26419 0.712537 3.21463 0.779756 3.17959 0.854675C3.14455 0.929593 3.12473 1.01072 3.12128 1.09336C3.11783 1.17599 3.13081 1.25849 3.15948 1.33607C3.18814 1.41365 3.23192 1.48477 3.28828 1.5453L5.44375 3.91718C4.12152 4.47256 2.92021 5.28033 1.90703 6.2953C0.344526 7.8578 0.194526 10.1594 1.54062 11.8945C1.70579 12.1059 1.93457 12.2585 2.19315 12.3298C2.45172 12.4011 2.72639 12.3874 2.97656 12.2906L6.80468 10.9336L6.82734 10.925C7.02045 10.8478 7.19125 10.7236 7.32426 10.5637C7.45727 10.4039 7.54829 10.2133 7.58906 10.0094L8.05 7.7039C8.26906 7.62838 8.49236 7.56578 8.71875 7.5164L15.7898 15.2953C15.8447 15.3572 15.9113 15.4075 15.9858 15.4435C16.0603 15.4794 16.1412 15.5002 16.2238 15.5046C16.3064 15.5091 16.389 15.4971 16.467 15.4694C16.5449 15.4416 16.6165 15.3987 16.6777 15.3431C16.7389 15.2874 16.7885 15.2202 16.8235 15.1453C16.8586 15.0704 16.8784 14.9893 16.8818 14.9066C16.8853 14.824 16.8723 14.7415 16.8436 14.6639C16.815 14.5863 16.7712 14.5152 16.7148 14.4547L4.21328 0.704679ZM7.62734 6.52655C7.42378 6.59909 7.24251 6.72315 7.1012 6.88664C6.9599 7.05013 6.86339 7.24745 6.82109 7.45937L6.36015 9.76405L2.54921 11.1156C2.5414 11.1156 2.53593 11.1258 2.52812 11.1289C1.56484 9.88671 1.66874 8.29921 2.79062 7.1789C3.79625 6.17293 5.00827 5.39726 6.34296 4.90546L7.77265 6.4789C7.72421 6.49452 7.67578 6.50937 7.62734 6.52655ZM18.4594 11.8945C18.2942 12.1059 18.0654 12.2585 17.8068 12.3298C17.5483 12.4011 17.2736 12.3874 17.0234 12.2906L16.3008 12.0344C16.2234 12.0069 16.1522 11.9645 16.0913 11.9096C16.0303 11.8546 15.9808 11.7882 15.9455 11.7141C15.8742 11.5644 15.8653 11.3925 15.9207 11.2363C15.9481 11.159 15.9906 11.0878 16.0455 11.0268C16.1005 10.9658 16.1669 10.9163 16.241 10.881C16.3907 10.8097 16.5625 10.8008 16.7187 10.8562L17.4508 11.1156L17.4742 11.125C18.4352 9.88671 18.3336 8.29921 17.2094 7.1789C15.2047 5.17421 12.375 4.11093 9.44765 4.26405C9.36558 4.26831 9.28346 4.25636 9.20601 4.22889C9.12855 4.20141 9.05726 4.15895 8.99621 4.10392C8.93517 4.0489 8.88556 3.98238 8.85021 3.90819C8.81487 3.83399 8.79449 3.75355 8.79023 3.67148C8.78597 3.5894 8.79792 3.50729 8.8254 3.42983C8.85287 3.35237 8.89534 3.28109 8.95036 3.22004C9.00539 3.15899 9.0719 3.10938 9.1461 3.07404C9.2203 3.03869 9.30073 3.01831 9.38281 3.01405C12.6641 2.84296 15.8383 4.03749 18.093 6.2953C19.6547 7.85702 19.8055 10.1594 18.4594 11.8945Z"})}),uW=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 14 19",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M7 12.75C7.99424 12.749 8.94747 12.3535 9.65051 11.6505C10.3535 10.9475 10.749 9.99424 10.75 9V4C10.75 3.00544 10.3549 2.05161 9.65165 1.34835C8.94839 0.645088 7.99456 0.25 7 0.25C6.00544 0.25 5.05161 0.645088 4.34835 1.34835C3.64509 2.05161 3.25 3.00544 3.25 4V9C3.25103 9.99424 3.64645 10.9475 4.34949 11.6505C5.05253 12.3535 6.00576 12.749 7 12.75ZM4.5 4C4.5 3.33696 4.76339 2.70107 5.23223 2.23223C5.70107 1.76339 6.33696 1.5 7 1.5C7.66304 1.5 8.29893 1.76339 8.76777 2.23223C9.23661 2.70107 9.5 3.33696 9.5 4V9C9.5 9.66304 9.23661 10.2989 8.76777 10.7678C8.29893 11.2366 7.66304 11.5 7 11.5C6.33696 11.5 5.70107 11.2366 5.23223 10.7678C4.76339 10.2989 4.5 9.66304 4.5 9V4ZM7.625 15.2188V17.75C7.625 17.9158 7.55915 18.0747 7.44194 18.1919C7.32473 18.3092 7.16576 18.375 7 18.375C6.83424 18.375 6.67527 18.3092 6.55806 18.1919C6.44085 18.0747 6.375 17.9158 6.375 17.75V15.2188C4.8341 15.062 3.40607 14.3393 2.36707 13.1907C1.32806 12.042 0.751903 10.5489 0.75 9C0.75 8.83424 0.815848 8.67527 0.933058 8.55806C1.05027 8.44085 1.20924 8.375 1.375 8.375C1.54076 8.375 1.69973 8.44085 1.81694 8.55806C1.93415 8.67527 2 8.83424 2 9C2 10.3261 2.52678 11.5979 3.46447 12.5355C4.40215 13.4732 5.67392 14 7 14C8.32608 14 9.59785 13.4732 10.5355 12.5355C11.4732 11.5979 12 10.3261 12 9C12 8.83424 12.0658 8.67527 12.1831 8.55806C12.3003 8.44085 12.4592 8.375 12.625 8.375C12.7908 8.375 12.9497 8.44085 13.0669 8.55806C13.1842 8.67527 13.25 8.83424 13.25 9C13.2481 10.5489 12.6719 12.042 11.6329 13.1907C10.5939 14.3393 9.1659 15.062 7.625 15.2188Z"})}),HI=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M17.1305 13.5905C17.5623 12.6948 17.7742 11.709 17.7486 10.7149C17.7229 9.72084 17.4604 8.74725 16.983 7.87501C16.5055 7.00276 15.8267 6.25704 15.0032 5.69978C14.1796 5.14253 13.2349 4.78982 12.2477 4.67097C11.9192 3.9072 11.4416 3.21664 10.8429 2.63974C10.2442 2.06284 9.53637 1.6112 8.76093 1.31126C7.98549 1.01131 7.158 0.869103 6.32692 0.892953C5.49584 0.916802 4.67787 1.10623 3.9209 1.45015C3.16394 1.79407 2.48321 2.28556 1.91857 2.89584C1.35393 3.50612 0.916724 4.22293 0.632564 5.00429C0.348404 5.78565 0.222999 6.61585 0.263692 7.44628C0.304386 8.27671 0.510359 9.09067 0.869551 9.8405L0.301582 11.771C0.238079 11.9865 0.233833 12.2151 0.289291 12.4328C0.344749 12.6506 0.457861 12.8493 0.616727 13.0082C0.775593 13.167 0.97434 13.2801 1.19206 13.3356C1.40978 13.3911 1.63842 13.3868 1.85393 13.3233L3.7844 12.7553C4.40426 13.0532 5.06884 13.2472 5.75158 13.3296C6.08328 14.1068 6.56914 14.8086 7.17979 15.3927C7.79043 15.9768 8.51318 16.431 9.30434 16.7279C10.0955 17.0247 10.9386 17.158 11.7828 17.1198C12.6269 17.0815 13.4546 16.8725 14.2156 16.5053L16.1461 17.0733C16.3615 17.1367 16.5901 17.141 16.8077 17.0855C17.0253 17.0301 17.224 16.9171 17.3828 16.7583C17.5417 16.5996 17.6548 16.4009 17.7103 16.1834C17.7659 15.9658 17.7618 15.7372 17.6985 15.5218L17.1305 13.5905ZM3.84377 11.4608C3.78404 11.461 3.72463 11.4694 3.66721 11.4858L1.50002 12.1249L2.1383 9.95613C2.1837 9.79944 2.16603 9.63122 2.08908 9.48738C1.5237 8.43002 1.35711 7.2047 1.61968 6.03477C1.88225 4.86485 2.5565 3.82824 3.51951 3.1139C4.48252 2.39957 5.67017 2.05508 6.86595 2.14324C8.06173 2.2314 9.18601 2.74633 10.0339 3.59417C10.8817 4.44201 11.3966 5.5663 11.4848 6.76208C11.5729 7.95786 11.2285 9.1455 10.5141 10.1085C9.79979 11.0715 8.76318 11.7458 7.59325 12.0083C6.42333 12.2709 5.198 12.1043 4.14065 11.5389C4.04972 11.4886 3.94768 11.4618 3.84377 11.4608ZM15.8586 13.7053L16.5 15.8749L14.3313 15.2366C14.1746 15.1912 14.0064 15.2089 13.8625 15.2858C12.7116 15.9004 11.3662 16.0411 10.113 15.678C8.85983 15.3149 7.79803 14.4767 7.15393 13.3421C8.00969 13.2527 8.83776 12.9875 9.58619 12.5631C10.3346 12.1386 10.9873 11.5641 11.5032 10.8755C12.0191 10.1869 12.3871 9.39916 12.5842 8.56163C12.7813 7.72409 12.8032 6.85486 12.6485 6.00847C13.3941 6.18423 14.0893 6.52896 14.6806 7.01605C15.2718 7.50315 15.7432 8.11959 16.0584 8.81779C16.3736 9.51599 16.5242 10.2773 16.4985 11.0429C16.4728 11.8085 16.2715 12.558 15.9102 13.2335C15.8324 13.3782 15.8147 13.5477 15.861 13.7053H15.8586Z"})}),cW=({fill:t,width:e,height:n,size:r=18,className:a})=>W.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",className:a,width:e||r,height:n||r,fill:t||"currentColor",children:W.jsx("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"})}),$I={primaryColor:"#313335",primaryTextColor:"#ffffff",backgroundColor:"#fafafa",surfaceColor:"#F3F3F5",textColor:"#212121",mutedTextColor:"#11111180",borderColor:"#e5e5e5",errorColor:"#ef4444",successColor:"#10b981",buttonStyle:"rounded",borderRadius:"20px",fontFamily:"inherit"};function qI(t){return{...$I,...t}}function mw(t){switch(t){case"pill":return"9999px";case"square":return"6px";case"rounded":default:return"12px"}}const WI=G.createContext($I);function dW({theme:t,children:e}){const n=G.useMemo(()=>qI(t),[t]);return W.jsx(WI.Provider,{value:n,children:e})}function Zo(){return G.useContext(WI)}function GI(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(n=GI(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function YI(){for(var t,e,n=0,r="",a=arguments.length;n<a;n++)(t=arguments[n])&&(e=GI(t))&&(r&&(r+=" "),r+=e);return r}const gw="-",fW=t=>{const e=pW(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:l=>{const c=l.split(gw);return c[0]===""&&c.length!==1&&c.shift(),KI(c,e)||hW(l)},getConflictingClassGroupIds:(l,c)=>{const h=n[l]||[];return c&&r[l]?[...h,...r[l]]:h}}},KI=(t,e)=>{var l;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),a=r?KI(t.slice(1),r):void 0;if(a)return a;if(e.validators.length===0)return;const s=t.join(gw);return(l=e.validators.find(({validator:c})=>c(s)))==null?void 0:l.classGroupId},ZI=/^\[(.+)\]$/,hW=t=>{if(ZI.test(t)){const e=ZI.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},pW=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return gW(Object.entries(t.classGroups),n).forEach(([s,l])=>{vw(l,r,s,e)}),r},vw=(t,e,n,r)=>{t.forEach(a=>{if(typeof a=="string"){const s=a===""?e:QI(e,a);s.classGroupId=n;return}if(typeof a=="function"){if(mW(a)){vw(a(r),e,n,r);return}e.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([s,l])=>{vw(l,QI(e,s),n,r)})})},QI=(t,e)=>{let n=t;return e.split(gw).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},mW=t=>t.isThemeGetter,gW=(t,e)=>e?t.map(([n,r])=>{const a=r.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,c])=>[e+l,c])):s);return[n,a]}):t,vW=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;const a=(s,l)=>{n.set(s,l),e++,e>t&&(e=0,r=n,n=new Map)};return{get(s){let l=n.get(s);if(l!==void 0)return l;if((l=r.get(s))!==void 0)return a(s,l),l},set(s,l){n.has(s)?n.set(s,l):a(s,l)}}},XI="!",yW=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,a=e[0],s=e.length,l=c=>{const h=[];let p=0,v=0,b;for(let M=0;M<c.length;M++){let A=c[M];if(p===0){if(A===a&&(r||c.slice(M,M+s)===e)){h.push(c.slice(v,M)),v=M+s;continue}if(A==="/"){b=M;continue}}A==="["?p++:A==="]"&&p--}const k=h.length===0?c:c.substring(v),T=k.startsWith(XI),E=T?k.substring(1):k,R=b&&b>v?b-v:void 0;return{modifiers:h,hasImportantModifier:T,baseClassName:E,maybePostfixModifierPosition:R}};return n?c=>n({className:c,parseClassName:l}):l},bW=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e},SW=t=>({cache:vW(t.cacheSize),parseClassName:yW(t),...fW(t)}),CW=/\s+/,kW=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=e,s=[],l=t.trim().split(CW);let c="";for(let h=l.length-1;h>=0;h-=1){const p=l[h],{modifiers:v,hasImportantModifier:b,baseClassName:k,maybePostfixModifierPosition:T}=n(p);let E=!!T,R=r(E?k.substring(0,T):k);if(!R){if(!E){c=p+(c.length>0?" "+c:c);continue}if(R=r(k),!R){c=p+(c.length>0?" "+c:c);continue}E=!1}const M=bW(v).join(":"),A=b?M+XI:M,U=A+R;if(s.includes(U))continue;s.push(U);const V=a(R,E);for(let j=0;j<V.length;++j){const I=V[j];s.push(A+I)}c=p+(c.length>0?" "+c:c)}return c};function TW(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=JI(e))&&(r&&(r+=" "),r+=n);return r}const JI=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=JI(t[r]))&&(n&&(n+=" "),n+=e);return n};function xW(t,...e){let n,r,a,s=l;function l(h){const p=e.reduce((v,b)=>b(v),t());return n=SW(p),r=n.cache.get,a=n.cache.set,s=c,c(h)}function c(h){const p=r(h);if(p)return p;const v=kW(h,n);return a(h,v),v}return function(){return s(TW.apply(null,arguments))}}const Mr=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},e3=/^\[(?:([a-z-]+):)?(.+)\]$/i,wW=/^\d+\/\d+$/,_W=new Set(["px","full","screen"]),EW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,RW=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,PW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,DW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,AW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gu=t=>up(t)||_W.has(t)||wW.test(t),Mc=t=>cp(t,"length",jW),up=t=>!!t&&!Number.isNaN(Number(t)),yw=t=>cp(t,"number",up),Jg=t=>!!t&&Number.isInteger(Number(t)),OW=t=>t.endsWith("%")&&up(t.slice(0,-1)),vn=t=>e3.test(t),Lc=t=>EW.test(t),MW=new Set(["length","size","percentage"]),LW=t=>cp(t,MW,t3),NW=t=>cp(t,"position",t3),IW=new Set(["image","url"]),UW=t=>cp(t,IW,zW),FW=t=>cp(t,"",VW),ev=()=>!0,cp=(t,e,n)=>{const r=e3.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1},jW=t=>RW.test(t)&&!PW.test(t),t3=()=>!1,VW=t=>DW.test(t),zW=t=>AW.test(t),BW=xW(()=>{const t=Mr("colors"),e=Mr("spacing"),n=Mr("blur"),r=Mr("brightness"),a=Mr("borderColor"),s=Mr("borderRadius"),l=Mr("borderSpacing"),c=Mr("borderWidth"),h=Mr("contrast"),p=Mr("grayscale"),v=Mr("hueRotate"),b=Mr("invert"),k=Mr("gap"),T=Mr("gradientColorStops"),E=Mr("gradientColorStopPositions"),R=Mr("inset"),M=Mr("margin"),A=Mr("opacity"),U=Mr("padding"),V=Mr("saturate"),j=Mr("scale"),I=Mr("sepia"),N=Mr("skew"),ne=Mr("space"),X=Mr("translate"),se=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",vn,e],te=()=>[vn,e],xe=()=>["",gu,Mc],ke=()=>["auto",up,vn],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Je=()=>["solid","dashed","dotted","double","none"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>["start","end","center","between","around","evenly","stretch"],Be=()=>["","0",vn],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>[up,vn];return{cacheSize:500,separator:":",theme:{colors:[ev],spacing:[gu,Mc],blur:["none","",Lc,vn],brightness:J(),borderColor:[t],borderRadius:["none","","full",Lc,vn],borderSpacing:te(),borderWidth:xe(),contrast:J(),grayscale:Be(),hueRotate:J(),invert:Be(),gap:te(),gradientColorStops:[t],gradientColorStopPositions:[OW,Mc],inset:oe(),margin:oe(),opacity:J(),padding:te(),saturate:J(),scale:J(),sepia:Be(),skew:J(),space:te(),translate:te()},classGroups:{aspect:[{aspect:["auto","square","video",vn]}],container:["container"],columns:[{columns:[Lc]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ge(),vn]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jg,vn]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",vn]}],grow:[{grow:Be()}],shrink:[{shrink:Be()}],order:[{order:["first","last","none",Jg,vn]}],"grid-cols":[{"grid-cols":[ev]}],"col-start-end":[{col:["auto",{span:["full",Jg,vn]},vn]}],"col-start":[{"col-start":ke()}],"col-end":[{"col-end":ke()}],"grid-rows":[{"grid-rows":[ev]}],"row-start-end":[{row:["auto",{span:[Jg,vn]},vn]}],"row-start":[{"row-start":ke()}],"row-end":[{"row-end":ke()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",vn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",vn]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...ve()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ve(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ve(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[U]}],px:[{px:[U]}],py:[{py:[U]}],ps:[{ps:[U]}],pe:[{pe:[U]}],pt:[{pt:[U]}],pr:[{pr:[U]}],pb:[{pb:[U]}],pl:[{pl:[U]}],m:[{m:[M]}],mx:[{mx:[M]}],my:[{my:[M]}],ms:[{ms:[M]}],me:[{me:[M]}],mt:[{mt:[M]}],mr:[{mr:[M]}],mb:[{mb:[M]}],ml:[{ml:[M]}],"space-x":[{"space-x":[ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ne]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",vn,e]}],"min-w":[{"min-w":[vn,e,"min","max","fit"]}],"max-w":[{"max-w":[vn,e,"none","full","min","max","fit","prose",{screen:[Lc]},Lc]}],h:[{h:[vn,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[vn,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[vn,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[vn,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Lc,Mc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yw]}],"font-family":[{font:[ev]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",vn]}],"line-clamp":[{"line-clamp":["none",up,yw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",gu,vn]}],"list-image":[{"list-image":["none",vn]}],"list-style-type":[{list:["none","disc","decimal",vn]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Je(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",gu,Mc]}],"underline-offset":[{"underline-offset":["auto",gu,vn]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:te()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",vn]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",vn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),NW]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",LW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},UW]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Je(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Je()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Je()]}],"outline-offset":[{"outline-offset":[gu,vn]}],"outline-w":[{outline:[gu,Mc]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[gu,Mc]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Lc,FW]}],"shadow-color":[{shadow:[ev]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Fe()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",Lc,vn]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[b]}],saturate:[{saturate:[V]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",vn]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",vn]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",vn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Jg,vn]}],"translate-x":[{"translate-x":[X]}],"translate-y":[{"translate-y":[X]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",vn]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",vn]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":te()}],"scroll-mx":[{"scroll-mx":te()}],"scroll-my":[{"scroll-my":te()}],"scroll-ms":[{"scroll-ms":te()}],"scroll-me":[{"scroll-me":te()}],"scroll-mt":[{"scroll-mt":te()}],"scroll-mr":[{"scroll-mr":te()}],"scroll-mb":[{"scroll-mb":te()}],"scroll-ml":[{"scroll-ml":te()}],"scroll-p":[{"scroll-p":te()}],"scroll-px":[{"scroll-px":te()}],"scroll-py":[{"scroll-py":te()}],"scroll-ps":[{"scroll-ps":te()}],"scroll-pe":[{"scroll-pe":te()}],"scroll-pt":[{"scroll-pt":te()}],"scroll-pr":[{"scroll-pr":te()}],"scroll-pb":[{"scroll-pb":te()}],"scroll-pl":[{"scroll-pl":te()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",vn]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[gu,Mc,yw]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function xr(...t){return BW(YI(t))}const HW=t=>t.includes("agent")||t.includes("Agent");function bw(t,e,n){return{message:t.final?t.text:`${t.text} ...`,isSelf:n instanceof hb,timestamp:(e==null?void 0:e.timestamp)??Date.now(),name:n instanceof hb?"You":"Agent",...n instanceof hb?{}:{sourceUrl:(e==null?void 0:e.sourceUrl)||""}}}const $W=({callMode:t,isLoading:e,buttonConfig:n,isCalling:r,onCallTrigger:a})=>{var c,h,p;const s=Zo(),l=mw(s.buttonStyle);return W.jsx("button",{disabled:e,onClick:()=>a(t),className:xr("ringg_ai-h-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2 ringg_ai-font-medium ringg_ai-transition-all","hover:ringg_ai-opacity-90 disabled:ringg_ai-opacity-50 disabled:ringg_ai-cursor-not-allowed","ringg_ai-call-btn",r?"ringg_ai-w-fit ringg_ai-px-6":"ringg_ai-w-full"),style:{backgroundColor:s.primaryColor,color:s.primaryTextColor,borderRadius:s.buttonStyle==="pill"?"9999px":l,...(c=n==null?void 0:n.call)==null?void 0:c.styles},children:e&&t==="audio"?W.jsxs(W.Fragment,{children:[W.jsx(Gb,{className:"ringg_ai-h-4 ringg_ai-w-4 ringg_ai-animate-spin"}),W.jsx("span",{children:"Connecting..."})]}):W.jsxs(W.Fragment,{children:[t==="audio"&&W.jsx(oW,{className:"ringg_ai-h-4 ringg_ai-w-4"}),t==="text"&&W.jsx(HI,{className:"ringg_ai-h-4 ringg_ai-w-4"}),t==="audio"&&(((h=n==null?void 0:n.call)==null?void 0:h.textBeforeCall)||"Start Call"),t==="text"&&(((p=n==null?void 0:n.text)==null?void 0:p.textBeforeCall)||"Start Chat")]})})};var jn;(function(t){t.assertEqual=a=>a;function e(a){}t.assertIs=e;function n(a){throw new Error}t.assertNever=n,t.arrayToEnum=a=>{const s={};for(const l of a)s[l]=l;return s},t.getValidEnumValues=a=>{const s=t.objectKeys(a).filter(c=>typeof a[a[c]]!="number"),l={};for(const c of s)l[c]=a[c];return t.objectValues(l)},t.objectValues=a=>t.objectKeys(a).map(function(s){return a[s]}),t.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const l in a)Object.prototype.hasOwnProperty.call(a,l)&&s.push(l);return s},t.find=(a,s)=>{for(const l of a)if(s(l))return l},t.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&isFinite(a)&&Math.floor(a)===a;function r(a,s=" | "){return a.map(l=>typeof l=="string"?`'${l}'`:l).join(s)}t.joinValues=r,t.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(jn||(jn={}));var Sw;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(Sw||(Sw={}));const St=jn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),vu=t=>{switch(typeof t){case"undefined":return St.undefined;case"string":return St.string;case"number":return isNaN(t)?St.nan:St.number;case"boolean":return St.boolean;case"function":return St.function;case"bigint":return St.bigint;case"symbol":return St.symbol;case"object":return Array.isArray(t)?St.array:t===null?St.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?St.promise:typeof Map<"u"&&t instanceof Map?St.map:typeof Set<"u"&&t instanceof Set?St.set:typeof Date<"u"&&t instanceof Date?St.date:St.object;default:return St.unknown}},We=jn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),qW=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:");class Ao extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(s){return s.message},r={_errors:[]},a=s=>{for(const l of s.issues)if(l.code==="invalid_union")l.unionErrors.map(a);else if(l.code==="invalid_return_type")a(l.returnTypeError);else if(l.code==="invalid_arguments")a(l.argumentsError);else if(l.path.length===0)r._errors.push(n(l));else{let c=r,h=0;for(;h<l.path.length;){const p=l.path[h];h===l.path.length-1?(c[p]=c[p]||{_errors:[]},c[p]._errors.push(n(l))):c[p]=c[p]||{_errors:[]},c=c[p],h++}}};return a(this),r}static assert(e){if(!(e instanceof Ao))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,jn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},r=[];for(const a of this.issues)a.path.length>0?(n[a.path[0]]=n[a.path[0]]||[],n[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Ao.create=t=>new Ao(t);const dp=(t,e)=>{let n;switch(t.code){case We.invalid_type:t.received===St.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case We.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,jn.jsonStringifyReplacer)}`;break;case We.unrecognized_keys:n=`Unrecognized key(s) in object: ${jn.joinValues(t.keys,", ")}`;break;case We.invalid_union:n="Invalid input";break;case We.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${jn.joinValues(t.options)}`;break;case We.invalid_enum_value:n=`Invalid enum value. Expected ${jn.joinValues(t.options)}, received '${t.received}'`;break;case We.invalid_arguments:n="Invalid function arguments";break;case We.invalid_return_type:n="Invalid function return type";break;case We.invalid_date:n="Invalid date";break;case We.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:jn.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case We.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case We.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case We.custom:n="Invalid input";break;case We.invalid_intersection_types:n="Intersection results could not be merged";break;case We.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case We.not_finite:n="Number must be finite";break;default:n=e.defaultError,jn.assertNever(t)}return{message:n}};let n3=dp;function WW(t){n3=t}function Yb(){return n3}const Kb=t=>{const{data:e,path:n,errorMaps:r,issueData:a}=t,s=[...n,...a.path||[]],l={...a,path:s};if(a.message!==void 0)return{...a,path:s,message:a.message};let c="";const h=r.filter(p=>!!p).slice().reverse();for(const p of h)c=p(l,{data:e,defaultError:c}).message;return{...a,path:s,message:c}},GW=[];function lt(t,e){const n=Yb(),r=Kb({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===dp?void 0:dp].filter(a=>!!a)});t.common.issues.push(r)}class ya{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const r=[];for(const a of n){if(a.status==="aborted")return Xt;a.status==="dirty"&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){const r=[];for(const a of n){const s=await a.key,l=await a.value;r.push({key:s,value:l})}return ya.mergeObjectSync(e,r)}static mergeObjectSync(e,n){const r={};for(const a of n){const{key:s,value:l}=a;if(s.status==="aborted"||l.status==="aborted")return Xt;s.status==="dirty"&&e.dirty(),l.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof l.value<"u"||a.alwaysSet)&&(r[s.value]=l.value)}return{status:e.value,value:r}}}const Xt=Object.freeze({status:"aborted"}),fp=t=>({status:"dirty",value:t}),ja=t=>({status:"valid",value:t}),Cw=t=>t.status==="aborted",kw=t=>t.status==="dirty",sf=t=>t.status==="valid",tv=t=>typeof Promise<"u"&&t instanceof Promise;function Zb(t,e,n,r){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e.get(t)}function r3(t,e,n,r,a){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(t,n),n}typeof SuppressedError=="function"&&SuppressedError;var Dt;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(Dt||(Dt={}));var nv,rv;class gl{constructor(e,n,r,a){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const i3=(t,e)=>{if(sf(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Ao(t.common.issues);return this._error=n,this._error}}};function pn(t){if(!t)return{};const{errorMap:e,invalid_type_error:n,required_error:r,description:a}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(l,c)=>{var h,p;const{message:v}=t;return l.code==="invalid_enum_value"?{message:v??c.defaultError}:typeof c.data>"u"?{message:(h=v??r)!==null&&h!==void 0?h:c.defaultError}:l.code!=="invalid_type"?{message:c.defaultError}:{message:(p=v??n)!==null&&p!==void 0?p:c.defaultError}},description:a}}class bn{get description(){return this._def.description}_getType(e){return vu(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:vu(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new ya,ctx:{common:e.parent.common,data:e.data,parsedType:vu(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(tv(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){var r;const a={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:vu(e)},s=this._parseSync({data:e,path:a.path,parent:a});return i3(a,s)}"~validate"(e){var n,r;const a={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:vu(e)};if(!this["~standard"].async)try{const s=this._parseSync({data:e,path:[],parent:a});return sf(s)?{value:s.value}:{issues:a.common.issues}}catch(s){!((r=(n=s==null?void 0:s.message)===null||n===void 0?void 0:n.toLowerCase())===null||r===void 0)&&r.includes("encountered")&&(this["~standard"].async=!0),a.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:a}).then(s=>sf(s)?{value:s.value}:{issues:a.common.issues})}async parseAsync(e,n){const r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:vu(e)},a=this._parse({data:e,path:r.path,parent:r}),s=await(tv(a)?a:Promise.resolve(a));return i3(r,s)}refine(e,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,s)=>{const l=e(a),c=()=>s.addIssue({code:We.custom,...r(a)});return typeof Promise<"u"&&l instanceof Promise?l.then(h=>h?!0:(c(),!1)):l?!0:(c(),!1)})}refinement(e,n){return this._refinement((r,a)=>e(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(e){return new Ms({schema:this,typeName:Yt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return yl.create(this,this._def)}nullable(){return Fc.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Os.create(this)}promise(){return gp.create(this,this._def)}or(e){return sv.create([this,e],this._def)}and(e){return lv.create(this,e,this._def)}transform(e){return new Ms({...pn(this._def),schema:this,typeName:Yt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new hv({...pn(this._def),innerType:this,defaultValue:n,typeName:Yt.ZodDefault})}brand(){return new ww({typeName:Yt.ZodBranded,type:this,...pn(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new pv({...pn(this._def),innerType:this,catchValue:n,typeName:Yt.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return mv.create(this,e)}readonly(){return gv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const YW=/^c[^\s-]{8,}$/i,KW=/^[0-9a-z]+$/,ZW=/^[0-9A-HJKMNP-TV-Z]{26}$/i,QW=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,XW=/^[a-z0-9_-]{21}$/i,JW=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,eG=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,tG=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,nG="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Tw;const rG=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,iG=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,aG=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,oG=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,sG=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,lG=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,a3="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",uG=new RegExp(`^${a3}$`);function o3(t){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`),e}function cG(t){return new RegExp(`^${o3(t)}$`)}function s3(t){let e=`${a3}T${o3(t)}`;const n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function dG(t,e){return!!((e==="v4"||!e)&&rG.test(t)||(e==="v6"||!e)&&aG.test(t))}function fG(t,e){if(!JW.test(t))return!1;try{const[n]=t.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||!a.typ||!a.alg||e&&a.alg!==e)}catch{return!1}}function hG(t,e){return!!((e==="v4"||!e)&&iG.test(t)||(e==="v6"||!e)&&oG.test(t))}class As extends bn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==St.string){const s=this._getOrReturnCtx(e);return lt(s,{code:We.invalid_type,expected:St.string,received:s.parsedType}),Xt}const r=new ya;let a;for(const s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(a=this._getOrReturnCtx(e,a),lt(a,{code:We.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")e.data.length>s.value&&(a=this._getOrReturnCtx(e,a),lt(a,{code:We.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const l=e.data.length>s.value,c=e.data.length<s.value;(l||c)&&(a=this._getOrReturnCtx(e,a),l?lt(a,{code:We.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):c&<(a,{code:We.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")tG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"email",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")Tw||(Tw=new RegExp(nG,"u")),Tw.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"emoji",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")QW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"uuid",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")XW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"nanoid",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")YW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"cuid",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")KW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"cuid2",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")ZW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"ulid",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a),lt(a,{validation:"url",code:We.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"regex",code:We.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.dirty()):s.kind==="toLowerCase"?e.data=e.data.toLowerCase():s.kind==="toUpperCase"?e.data=e.data.toUpperCase():s.kind==="startsWith"?e.data.startsWith(s.value)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?s3(s).test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?uG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?cG(s).test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?eG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"duration",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?dG(e.data,s.version)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"ip",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="jwt"?fG(e.data,s.alg)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"jwt",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="cidr"?hG(e.data,s.version)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"cidr",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?sG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"base64",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="base64url"?lG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"base64url",code:We.invalid_string,message:s.message}),r.dirty()):jn.assertNever(s);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(a=>e.test(a),{validation:n,code:We.invalid_string,...Dt.errToObj(r)})}_addCheck(e){return new As({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Dt.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Dt.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Dt.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Dt.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Dt.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Dt.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Dt.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Dt.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Dt.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Dt.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Dt.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Dt.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Dt.errToObj(e)})}datetime(e){var n,r;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(n=e==null?void 0:e.offset)!==null&&n!==void 0?n:!1,local:(r=e==null?void 0:e.local)!==null&&r!==void 0?r:!1,...Dt.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...Dt.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...Dt.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...Dt.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n==null?void 0:n.position,...Dt.errToObj(n==null?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...Dt.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...Dt.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...Dt.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...Dt.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...Dt.errToObj(n)})}nonempty(e){return this.min(1,Dt.errToObj(e))}trim(){return new As({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new As({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new As({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}As.create=t=>{var e;return new As({checks:[],typeName:Yt.ZodString,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...pn(t)})};function pG(t,e){const n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,a=n>r?n:r,s=parseInt(t.toFixed(a).replace(".","")),l=parseInt(e.toFixed(a).replace(".",""));return s%l/Math.pow(10,a)}class Nc extends bn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==St.number){const s=this._getOrReturnCtx(e);return lt(s,{code:We.invalid_type,expected:St.number,received:s.parsedType}),Xt}let r;const a=new ya;for(const s of this._def.checks)s.kind==="int"?jn.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),lt(r,{code:We.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?pG(e.data,s.value)!==0&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),lt(r,{code:We.not_finite,message:s.message}),a.dirty()):jn.assertNever(s);return{status:a.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,Dt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Dt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Dt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Dt.toString(n))}setLimit(e,n,r,a){return new Nc({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:Dt.toString(a)}]})}_addCheck(e){return new Nc({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Dt.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Dt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Dt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Dt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Dt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Dt.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:Dt.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Dt.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Dt.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&jn.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}}Nc.create=t=>new Nc({checks:[],typeName:Yt.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...pn(t)});class Ic extends bn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==St.bigint)return this._getInvalidInput(e);let r;const a=new ya;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):jn.assertNever(s);return{status:a.value,value:e.data}}_getInvalidInput(e){const n=this._getOrReturnCtx(e);return lt(n,{code:We.invalid_type,expected:St.bigint,received:n.parsedType}),Xt}gte(e,n){return this.setLimit("min",e,!0,Dt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Dt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Dt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Dt.toString(n))}setLimit(e,n,r,a){return new Ic({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:Dt.toString(a)}]})}_addCheck(e){return new Ic({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Dt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Dt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Dt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Dt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Dt.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ic.create=t=>{var e;return new Ic({checks:[],typeName:Yt.ZodBigInt,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...pn(t)})};class iv extends bn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==St.boolean){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.boolean,received:r.parsedType}),Xt}return ja(e.data)}}iv.create=t=>new iv({typeName:Yt.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...pn(t)});class lf extends bn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==St.date){const s=this._getOrReturnCtx(e);return lt(s,{code:We.invalid_type,expected:St.date,received:s.parsedType}),Xt}if(isNaN(e.data.getTime())){const s=this._getOrReturnCtx(e);return lt(s,{code:We.invalid_date}),Xt}const r=new ya;let a;for(const s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(a=this._getOrReturnCtx(e,a),lt(a,{code:We.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(a=this._getOrReturnCtx(e,a),lt(a,{code:We.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):jn.assertNever(s);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new lf({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:Dt.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:Dt.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}lf.create=t=>new lf({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:Yt.ZodDate,...pn(t)});class Qb extends bn{_parse(e){if(this._getType(e)!==St.symbol){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.symbol,received:r.parsedType}),Xt}return ja(e.data)}}Qb.create=t=>new Qb({typeName:Yt.ZodSymbol,...pn(t)});class av extends bn{_parse(e){if(this._getType(e)!==St.undefined){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.undefined,received:r.parsedType}),Xt}return ja(e.data)}}av.create=t=>new av({typeName:Yt.ZodUndefined,...pn(t)});class ov extends bn{_parse(e){if(this._getType(e)!==St.null){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.null,received:r.parsedType}),Xt}return ja(e.data)}}ov.create=t=>new ov({typeName:Yt.ZodNull,...pn(t)});class hp extends bn{constructor(){super(...arguments),this._any=!0}_parse(e){return ja(e.data)}}hp.create=t=>new hp({typeName:Yt.ZodAny,...pn(t)});class uf extends bn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return ja(e.data)}}uf.create=t=>new uf({typeName:Yt.ZodUnknown,...pn(t)});class yu extends bn{_parse(e){const n=this._getOrReturnCtx(e);return lt(n,{code:We.invalid_type,expected:St.never,received:n.parsedType}),Xt}}yu.create=t=>new yu({typeName:Yt.ZodNever,...pn(t)});class Xb extends bn{_parse(e){if(this._getType(e)!==St.undefined){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.void,received:r.parsedType}),Xt}return ja(e.data)}}Xb.create=t=>new Xb({typeName:Yt.ZodVoid,...pn(t)});class Os extends bn{_parse(e){const{ctx:n,status:r}=this._processInputParams(e),a=this._def;if(n.parsedType!==St.array)return lt(n,{code:We.invalid_type,expected:St.array,received:n.parsedType}),Xt;if(a.exactLength!==null){const l=n.data.length>a.exactLength.value,c=n.data.length<a.exactLength.value;(l||c)&&(lt(n,{code:l?We.too_big:We.too_small,minimum:c?a.exactLength.value:void 0,maximum:l?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(lt(n,{code:We.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(lt(n,{code:We.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((l,c)=>a.type._parseAsync(new gl(n,l,n.path,c)))).then(l=>ya.mergeArray(r,l));const s=[...n.data].map((l,c)=>a.type._parseSync(new gl(n,l,n.path,c)));return ya.mergeArray(r,s)}get element(){return this._def.type}min(e,n){return new Os({...this._def,minLength:{value:e,message:Dt.toString(n)}})}max(e,n){return new Os({...this._def,maxLength:{value:e,message:Dt.toString(n)}})}length(e,n){return new Os({...this._def,exactLength:{value:e,message:Dt.toString(n)}})}nonempty(e){return this.min(1,e)}}Os.create=(t,e)=>new Os({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Yt.ZodArray,...pn(e)});function pp(t){if(t instanceof Hr){const e={};for(const n in t.shape){const r=t.shape[n];e[n]=yl.create(pp(r))}return new Hr({...t._def,shape:()=>e})}else return t instanceof Os?new Os({...t._def,type:pp(t.element)}):t instanceof yl?yl.create(pp(t.unwrap())):t instanceof Fc?Fc.create(pp(t.unwrap())):t instanceof vl?vl.create(t.items.map(e=>pp(e))):t}class Hr extends bn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=jn.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==St.object){const p=this._getOrReturnCtx(e);return lt(p,{code:We.invalid_type,expected:St.object,received:p.parsedType}),Xt}const{status:r,ctx:a}=this._processInputParams(e),{shape:s,keys:l}=this._getCached(),c=[];if(!(this._def.catchall instanceof yu&&this._def.unknownKeys==="strip"))for(const p in a.data)l.includes(p)||c.push(p);const h=[];for(const p of l){const v=s[p],b=a.data[p];h.push({key:{status:"valid",value:p},value:v._parse(new gl(a,b,a.path,p)),alwaysSet:p in a.data})}if(this._def.catchall instanceof yu){const p=this._def.unknownKeys;if(p==="passthrough")for(const v of c)h.push({key:{status:"valid",value:v},value:{status:"valid",value:a.data[v]}});else if(p==="strict")c.length>0&&(lt(a,{code:We.unrecognized_keys,keys:c}),r.dirty());else if(p!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const p=this._def.catchall;for(const v of c){const b=a.data[v];h.push({key:{status:"valid",value:v},value:p._parse(new gl(a,b,a.path,v)),alwaysSet:v in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const p=[];for(const v of h){const b=await v.key,k=await v.value;p.push({key:b,value:k,alwaysSet:v.alwaysSet})}return p}).then(p=>ya.mergeObjectSync(r,p)):ya.mergeObjectSync(r,h)}get shape(){return this._def.shape()}strict(e){return Dt.errToObj,new Hr({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{var a,s,l,c;const h=(l=(s=(a=this._def).errorMap)===null||s===void 0?void 0:s.call(a,n,r).message)!==null&&l!==void 0?l:r.defaultError;return n.code==="unrecognized_keys"?{message:(c=Dt.errToObj(e).message)!==null&&c!==void 0?c:h}:{message:h}}}:{}})}strip(){return new Hr({...this._def,unknownKeys:"strip"})}passthrough(){return new Hr({...this._def,unknownKeys:"passthrough"})}extend(e){return new Hr({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Hr({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Yt.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Hr({...this._def,catchall:e})}pick(e){const n={};return jn.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new Hr({...this._def,shape:()=>n})}omit(e){const n={};return jn.objectKeys(this.shape).forEach(r=>{e[r]||(n[r]=this.shape[r])}),new Hr({...this._def,shape:()=>n})}deepPartial(){return pp(this)}partial(e){const n={};return jn.objectKeys(this.shape).forEach(r=>{const a=this.shape[r];e&&!e[r]?n[r]=a:n[r]=a.optional()}),new Hr({...this._def,shape:()=>n})}required(e){const n={};return jn.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])n[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof yl;)s=s._def.innerType;n[r]=s}}),new Hr({...this._def,shape:()=>n})}keyof(){return l3(jn.objectKeys(this.shape))}}Hr.create=(t,e)=>new Hr({shape:()=>t,unknownKeys:"strip",catchall:yu.create(),typeName:Yt.ZodObject,...pn(e)}),Hr.strictCreate=(t,e)=>new Hr({shape:()=>t,unknownKeys:"strict",catchall:yu.create(),typeName:Yt.ZodObject,...pn(e)}),Hr.lazycreate=(t,e)=>new Hr({shape:t,unknownKeys:"strip",catchall:yu.create(),typeName:Yt.ZodObject,...pn(e)});class sv extends bn{_parse(e){const{ctx:n}=this._processInputParams(e),r=this._def.options;function a(s){for(const c of s)if(c.result.status==="valid")return c.result;for(const c of s)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;const l=s.map(c=>new Ao(c.ctx.common.issues));return lt(n,{code:We.invalid_union,unionErrors:l}),Xt}if(n.common.async)return Promise.all(r.map(async s=>{const l={...n,common:{...n.common,issues:[]},parent:null};return{result:await s._parseAsync({data:n.data,path:n.path,parent:l}),ctx:l}})).then(a);{let s;const l=[];for(const h of r){const p={...n,common:{...n.common,issues:[]},parent:null},v=h._parseSync({data:n.data,path:n.path,parent:p});if(v.status==="valid")return v;v.status==="dirty"&&!s&&(s={result:v,ctx:p}),p.common.issues.length&&l.push(p.common.issues)}if(s)return n.common.issues.push(...s.ctx.common.issues),s.result;const c=l.map(h=>new Ao(h));return lt(n,{code:We.invalid_union,unionErrors:c}),Xt}}get options(){return this._def.options}}sv.create=(t,e)=>new sv({options:t,typeName:Yt.ZodUnion,...pn(e)});const bu=t=>t instanceof cv?bu(t.schema):t instanceof Ms?bu(t.innerType()):t instanceof dv?[t.value]:t instanceof Uc?t.options:t instanceof fv?jn.objectValues(t.enum):t instanceof hv?bu(t._def.innerType):t instanceof av?[void 0]:t instanceof ov?[null]:t instanceof yl?[void 0,...bu(t.unwrap())]:t instanceof Fc?[null,...bu(t.unwrap())]:t instanceof ww||t instanceof gv?bu(t.unwrap()):t instanceof pv?bu(t._def.innerType):[];class Jb extends bn{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==St.object)return lt(n,{code:We.invalid_type,expected:St.object,received:n.parsedType}),Xt;const r=this.discriminator,a=n.data[r],s=this.optionsMap.get(a);return s?n.common.async?s._parseAsync({data:n.data,path:n.path,parent:n}):s._parseSync({data:n.data,path:n.path,parent:n}):(lt(n,{code:We.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),Xt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,r){const a=new Map;for(const s of n){const l=bu(s.shape[e]);if(!l.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const c of l){if(a.has(c))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(c)}`);a.set(c,s)}}return new Jb({typeName:Yt.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:a,...pn(r)})}}function xw(t,e){const n=vu(t),r=vu(e);if(t===e)return{valid:!0,data:t};if(n===St.object&&r===St.object){const a=jn.objectKeys(e),s=jn.objectKeys(t).filter(c=>a.indexOf(c)!==-1),l={...t,...e};for(const c of s){const h=xw(t[c],e[c]);if(!h.valid)return{valid:!1};l[c]=h.data}return{valid:!0,data:l}}else if(n===St.array&&r===St.array){if(t.length!==e.length)return{valid:!1};const a=[];for(let s=0;s<t.length;s++){const l=t[s],c=e[s],h=xw(l,c);if(!h.valid)return{valid:!1};a.push(h.data)}return{valid:!0,data:a}}else return n===St.date&&r===St.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class lv extends bn{_parse(e){const{status:n,ctx:r}=this._processInputParams(e),a=(s,l)=>{if(Cw(s)||Cw(l))return Xt;const c=xw(s.value,l.value);return c.valid?((kw(s)||kw(l))&&n.dirty(),{status:n.value,value:c.data}):(lt(r,{code:We.invalid_intersection_types}),Xt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,l])=>a(s,l)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}lv.create=(t,e,n)=>new lv({left:t,right:e,typeName:Yt.ZodIntersection,...pn(n)});class vl extends bn{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==St.array)return lt(r,{code:We.invalid_type,expected:St.array,received:r.parsedType}),Xt;if(r.data.length<this._def.items.length)return lt(r,{code:We.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Xt;!this._def.rest&&r.data.length>this._def.items.length&&(lt(r,{code:We.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const s=[...r.data].map((l,c)=>{const h=this._def.items[c]||this._def.rest;return h?h._parse(new gl(r,l,r.path,c)):null}).filter(l=>!!l);return r.common.async?Promise.all(s).then(l=>ya.mergeArray(n,l)):ya.mergeArray(n,s)}get items(){return this._def.items}rest(e){return new vl({...this._def,rest:e})}}vl.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new vl({items:t,typeName:Yt.ZodTuple,rest:null,...pn(e)})};class uv extends bn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==St.object)return lt(r,{code:We.invalid_type,expected:St.object,received:r.parsedType}),Xt;const a=[],s=this._def.keyType,l=this._def.valueType;for(const c in r.data)a.push({key:s._parse(new gl(r,c,r.path,c)),value:l._parse(new gl(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?ya.mergeObjectAsync(n,a):ya.mergeObjectSync(n,a)}get element(){return this._def.valueType}static create(e,n,r){return n instanceof bn?new uv({keyType:e,valueType:n,typeName:Yt.ZodRecord,...pn(r)}):new uv({keyType:As.create(),valueType:e,typeName:Yt.ZodRecord,...pn(n)})}}class eS extends bn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==St.map)return lt(r,{code:We.invalid_type,expected:St.map,received:r.parsedType}),Xt;const a=this._def.keyType,s=this._def.valueType,l=[...r.data.entries()].map(([c,h],p)=>({key:a._parse(new gl(r,c,r.path,[p,"key"])),value:s._parse(new gl(r,h,r.path,[p,"value"]))}));if(r.common.async){const c=new Map;return Promise.resolve().then(async()=>{for(const h of l){const p=await h.key,v=await h.value;if(p.status==="aborted"||v.status==="aborted")return Xt;(p.status==="dirty"||v.status==="dirty")&&n.dirty(),c.set(p.value,v.value)}return{status:n.value,value:c}})}else{const c=new Map;for(const h of l){const p=h.key,v=h.value;if(p.status==="aborted"||v.status==="aborted")return Xt;(p.status==="dirty"||v.status==="dirty")&&n.dirty(),c.set(p.value,v.value)}return{status:n.value,value:c}}}}eS.create=(t,e,n)=>new eS({valueType:e,keyType:t,typeName:Yt.ZodMap,...pn(n)});class cf extends bn{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==St.set)return lt(r,{code:We.invalid_type,expected:St.set,received:r.parsedType}),Xt;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(lt(r,{code:We.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(lt(r,{code:We.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const s=this._def.valueType;function l(h){const p=new Set;for(const v of h){if(v.status==="aborted")return Xt;v.status==="dirty"&&n.dirty(),p.add(v.value)}return{status:n.value,value:p}}const c=[...r.data.values()].map((h,p)=>s._parse(new gl(r,h,r.path,p)));return r.common.async?Promise.all(c).then(h=>l(h)):l(c)}min(e,n){return new cf({...this._def,minSize:{value:e,message:Dt.toString(n)}})}max(e,n){return new cf({...this._def,maxSize:{value:e,message:Dt.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}cf.create=(t,e)=>new cf({valueType:t,minSize:null,maxSize:null,typeName:Yt.ZodSet,...pn(e)});class mp extends bn{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==St.function)return lt(n,{code:We.invalid_type,expected:St.function,received:n.parsedType}),Xt;function r(c,h){return Kb({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Yb(),dp].filter(p=>!!p),issueData:{code:We.invalid_arguments,argumentsError:h}})}function a(c,h){return Kb({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Yb(),dp].filter(p=>!!p),issueData:{code:We.invalid_return_type,returnTypeError:h}})}const s={errorMap:n.common.contextualErrorMap},l=n.data;if(this._def.returns instanceof gp){const c=this;return ja(async function(...h){const p=new Ao([]),v=await c._def.args.parseAsync(h,s).catch(T=>{throw p.addIssue(r(h,T)),p}),b=await Reflect.apply(l,this,v);return await c._def.returns._def.type.parseAsync(b,s).catch(T=>{throw p.addIssue(a(b,T)),p})})}else{const c=this;return ja(function(...h){const p=c._def.args.safeParse(h,s);if(!p.success)throw new Ao([r(h,p.error)]);const v=Reflect.apply(l,this,p.data),b=c._def.returns.safeParse(v,s);if(!b.success)throw new Ao([a(v,b.error)]);return b.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new mp({...this._def,args:vl.create(e).rest(uf.create())})}returns(e){return new mp({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,r){return new mp({args:e||vl.create([]).rest(uf.create()),returns:n||uf.create(),typeName:Yt.ZodFunction,...pn(r)})}}class cv extends bn{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}cv.create=(t,e)=>new cv({getter:t,typeName:Yt.ZodLazy,...pn(e)});class dv extends bn{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return lt(n,{received:n.data,code:We.invalid_literal,expected:this._def.value}),Xt}return{status:"valid",value:e.data}}get value(){return this._def.value}}dv.create=(t,e)=>new dv({value:t,typeName:Yt.ZodLiteral,...pn(e)});function l3(t,e){return new Uc({values:t,typeName:Yt.ZodEnum,...pn(e)})}class Uc extends bn{constructor(){super(...arguments),nv.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),r=this._def.values;return lt(n,{expected:jn.joinValues(r),received:n.parsedType,code:We.invalid_type}),Xt}if(Zb(this,nv)||r3(this,nv,new Set(this._def.values)),!Zb(this,nv).has(e.data)){const n=this._getOrReturnCtx(e),r=this._def.values;return lt(n,{received:n.data,code:We.invalid_enum_value,options:r}),Xt}return ja(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return Uc.create(e,{...this._def,...n})}exclude(e,n=this._def){return Uc.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}}nv=new WeakMap,Uc.create=l3;class fv extends bn{constructor(){super(...arguments),rv.set(this,void 0)}_parse(e){const n=jn.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==St.string&&r.parsedType!==St.number){const a=jn.objectValues(n);return lt(r,{expected:jn.joinValues(a),received:r.parsedType,code:We.invalid_type}),Xt}if(Zb(this,rv)||r3(this,rv,new Set(jn.getValidEnumValues(this._def.values))),!Zb(this,rv).has(e.data)){const a=jn.objectValues(n);return lt(r,{received:r.data,code:We.invalid_enum_value,options:a}),Xt}return ja(e.data)}get enum(){return this._def.values}}rv=new WeakMap,fv.create=(t,e)=>new fv({values:t,typeName:Yt.ZodNativeEnum,...pn(e)});class gp extends bn{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==St.promise&&n.common.async===!1)return lt(n,{code:We.invalid_type,expected:St.promise,received:n.parsedType}),Xt;const r=n.parsedType===St.promise?n.data:Promise.resolve(n.data);return ja(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}gp.create=(t,e)=>new gp({type:t,typeName:Yt.ZodPromise,...pn(e)});class Ms extends bn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Yt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:r}=this._processInputParams(e),a=this._def.effect||null,s={addIssue:l=>{lt(r,l),l.fatal?n.abort():n.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const l=a.transform(r.data,s);if(r.common.async)return Promise.resolve(l).then(async c=>{if(n.value==="aborted")return Xt;const h=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return h.status==="aborted"?Xt:h.status==="dirty"||n.value==="dirty"?fp(h.value):h});{if(n.value==="aborted")return Xt;const c=this._def.schema._parseSync({data:l,path:r.path,parent:r});return c.status==="aborted"?Xt:c.status==="dirty"||n.value==="dirty"?fp(c.value):c}}if(a.type==="refinement"){const l=c=>{const h=a.refinement(c,s);if(r.common.async)return Promise.resolve(h);if(h instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?Xt:(c.status==="dirty"&&n.dirty(),l(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?Xt:(c.status==="dirty"&&n.dirty(),l(c.value).then(()=>({status:n.value,value:c.value}))))}if(a.type==="transform")if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!sf(l))return l;const c=a.transform(l.value,s);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>sf(l)?Promise.resolve(a.transform(l.value,s)).then(c=>({status:n.value,value:c})):l);jn.assertNever(a)}}Ms.create=(t,e,n)=>new Ms({schema:t,typeName:Yt.ZodEffects,effect:e,...pn(n)}),Ms.createWithPreprocess=(t,e,n)=>new Ms({schema:e,effect:{type:"preprocess",transform:t},typeName:Yt.ZodEffects,...pn(n)});class yl extends bn{_parse(e){return this._getType(e)===St.undefined?ja(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}yl.create=(t,e)=>new yl({innerType:t,typeName:Yt.ZodOptional,...pn(e)});class Fc extends bn{_parse(e){return this._getType(e)===St.null?ja(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Fc.create=(t,e)=>new Fc({innerType:t,typeName:Yt.ZodNullable,...pn(e)});class hv extends bn{_parse(e){const{ctx:n}=this._processInputParams(e);let r=n.data;return n.parsedType===St.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}hv.create=(t,e)=>new hv({innerType:t,typeName:Yt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...pn(e)});class pv extends bn{_parse(e){const{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return tv(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Ao(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Ao(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}pv.create=(t,e)=>new pv({innerType:t,typeName:Yt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...pn(e)});class tS extends bn{_parse(e){if(this._getType(e)!==St.nan){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.nan,received:r.parsedType}),Xt}return{status:"valid",value:e.data}}}tS.create=t=>new tS({typeName:Yt.ZodNaN,...pn(t)});const mG=Symbol("zod_brand");class ww extends bn{_parse(e){const{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class mv extends bn{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Xt:s.status==="dirty"?(n.dirty(),fp(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Xt:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(e,n){return new mv({in:e,out:n,typeName:Yt.ZodPipeline})}}class gv extends bn{_parse(e){const n=this._def.innerType._parse(e),r=a=>(sf(a)&&(a.value=Object.freeze(a.value)),a);return tv(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}gv.create=(t,e)=>new gv({innerType:t,typeName:Yt.ZodReadonly,...pn(e)});function u3(t,e={},n){return t?hp.create().superRefine((r,a)=>{var s,l;if(!t(r)){const c=typeof e=="function"?e(r):typeof e=="string"?{message:e}:e,h=(l=(s=c.fatal)!==null&&s!==void 0?s:n)!==null&&l!==void 0?l:!0,p=typeof c=="string"?{message:c}:c;a.addIssue({code:"custom",...p,fatal:h})}}):hp.create()}const gG={object:Hr.lazycreate};var Yt;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(Yt||(Yt={}));const vG=(t,e={message:`Input not instance of ${t.name}`})=>u3(n=>n instanceof t,e),c3=As.create,d3=Nc.create,yG=tS.create,bG=Ic.create,f3=iv.create,SG=lf.create,CG=Qb.create,kG=av.create,TG=ov.create,xG=hp.create,wG=uf.create,_G=yu.create,EG=Xb.create,RG=Os.create,PG=Hr.create,DG=Hr.strictCreate,AG=sv.create,OG=Jb.create,MG=lv.create,LG=vl.create,NG=uv.create,IG=eS.create,UG=cf.create,FG=mp.create,jG=cv.create,VG=dv.create,zG=Uc.create,BG=fv.create,HG=gp.create,h3=Ms.create,$G=yl.create,qG=Fc.create,WG=Ms.createWithPreprocess,GG=mv.create;var p3=Object.freeze({__proto__:null,defaultErrorMap:dp,setErrorMap:WW,getErrorMap:Yb,makeIssue:Kb,EMPTY_PATH:GW,addIssueToContext:lt,ParseStatus:ya,INVALID:Xt,DIRTY:fp,OK:ja,isAborted:Cw,isDirty:kw,isValid:sf,isAsync:tv,get util(){return jn},get objectUtil(){return Sw},ZodParsedType:St,getParsedType:vu,ZodType:bn,datetimeRegex:s3,ZodString:As,ZodNumber:Nc,ZodBigInt:Ic,ZodBoolean:iv,ZodDate:lf,ZodSymbol:Qb,ZodUndefined:av,ZodNull:ov,ZodAny:hp,ZodUnknown:uf,ZodNever:yu,ZodVoid:Xb,ZodArray:Os,ZodObject:Hr,ZodUnion:sv,ZodDiscriminatedUnion:Jb,ZodIntersection:lv,ZodTuple:vl,ZodRecord:uv,ZodMap:eS,ZodSet:cf,ZodFunction:mp,ZodLazy:cv,ZodLiteral:dv,ZodEnum:Uc,ZodNativeEnum:fv,ZodPromise:gp,ZodEffects:Ms,ZodTransformer:Ms,ZodOptional:yl,ZodNullable:Fc,ZodDefault:hv,ZodCatch:pv,ZodNaN:tS,BRAND:mG,ZodBranded:ww,ZodPipeline:mv,ZodReadonly:gv,custom:u3,Schema:bn,ZodSchema:bn,late:gG,get ZodFirstPartyTypeKind(){return Yt},coerce:{string:t=>As.create({...t,coerce:!0}),number:t=>Nc.create({...t,coerce:!0}),boolean:t=>iv.create({...t,coerce:!0}),bigint:t=>Ic.create({...t,coerce:!0}),date:t=>lf.create({...t,coerce:!0})},any:xG,array:RG,bigint:bG,boolean:f3,date:SG,discriminatedUnion:OG,effect:h3,enum:zG,function:FG,instanceof:vG,intersection:MG,lazy:jG,literal:VG,map:IG,nan:yG,nativeEnum:BG,never:_G,null:TG,nullable:qG,number:d3,object:PG,oboolean:()=>f3().optional(),onumber:()=>d3().optional(),optional:$G,ostring:()=>c3().optional(),pipeline:GG,preprocess:WG,promise:HG,record:NG,set:UG,strictObject:DG,string:c3,symbol:CG,transformer:h3,tuple:LG,undefined:kG,union:AG,unknown:wG,void:EG,NEVER:Xt,ZodIssueCode:We,quotelessJson:qW,ZodError:Ao});const YG=p3.object({message:p3.string().min(1,{message:"Please enter a message."})}),KG=[{id:"text",label:"Chat",icon:HI},{id:"audio",label:"Voice Call",icon:sW}];var vv=t=>t.type==="checkbox",df=t=>t instanceof Date,Va=t=>t==null;const m3=t=>typeof t=="object";var li=t=>!Va(t)&&!Array.isArray(t)&&m3(t)&&!df(t),g3=t=>li(t)&&t.target?vv(t.target)?t.target.checked:t.target.value:t,ZG=t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,v3=(t,e)=>t.has(ZG(e)),QG=t=>{const e=t.constructor&&t.constructor.prototype;return li(e)&&e.hasOwnProperty("isPrototypeOf")},_w=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function so(t){let e;const n=Array.isArray(t),r=typeof FileList<"u"?t instanceof FileList:!1;if(t instanceof Date)e=new Date(t);else if(t instanceof Set)e=new Set(t);else if(!(_w&&(t instanceof Blob||r))&&(n||li(t)))if(e=n?[]:{},!n&&!QG(t))e=t;else for(const a in t)t.hasOwnProperty(a)&&(e[a]=so(t[a]));else return t;return e}var nS=t=>Array.isArray(t)?t.filter(Boolean):[],ui=t=>t===void 0,rt=(t,e,n)=>{if(!e||!li(t))return n;const r=nS(e.split(/[,[\].]+?/)).reduce((a,s)=>Va(a)?a:a[s],t);return ui(r)||r===t?ui(t[e])?n:t[e]:r},Qo=t=>typeof t=="boolean",Ew=t=>/^\w*$/.test(t),y3=t=>nS(t.replace(/["|']|\]/g,"").split(/\.|\[/)),or=(t,e,n)=>{let r=-1;const a=Ew(e)?[e]:y3(e),s=a.length,l=s-1;for(;++r<s;){const c=a[r];let h=n;if(r!==l){const p=t[c];h=li(p)||Array.isArray(p)?p:isNaN(+a[r+1])?{}:[]}if(c==="__proto__"||c==="constructor"||c==="prototype")return;t[c]=h,t=t[c]}return t};const rS={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Ls={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Su={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},b3=ir.createContext(null),iS=()=>ir.useContext(b3),XG=t=>{const{children:e,...n}=t;return ir.createElement(b3.Provider,{value:n},e)};var S3=(t,e,n,r=!0)=>{const a={defaultValues:e._defaultValues};for(const s in t)Object.defineProperty(a,s,{get:()=>{const l=s;return e._proxyFormState[l]!==Ls.all&&(e._proxyFormState[l]=!r||Ls.all),n&&(n[l]=!0),t[l]}});return a},lo=t=>li(t)&&!Object.keys(t).length,C3=(t,e,n,r)=>{n(t);const{name:a,...s}=t;return lo(s)||Object.keys(s).length>=Object.keys(e).length||Object.keys(s).find(l=>e[l]===(!r||Ls.all))},yv=t=>Array.isArray(t)?t:[t],k3=(t,e,n)=>!t||!e||t===e||yv(t).some(r=>r&&(n?r===e:r.startsWith(e)||e.startsWith(r)));function Rw(t){const e=ir.useRef(t);e.current=t,ir.useEffect(()=>{const n=!t.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{n&&n.unsubscribe()}},[t.disabled])}function JG(t){const e=iS(),{control:n=e.control,disabled:r,name:a,exact:s}=t||{},[l,c]=ir.useState(n._formState),h=ir.useRef(!0),p=ir.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),v=ir.useRef(a);return v.current=a,Rw({disabled:r,next:b=>h.current&&k3(v.current,b.name,s)&&C3(b,p.current,n._updateFormState)&&c({...n._formState,...b}),subject:n._subjects.state}),ir.useEffect(()=>(h.current=!0,p.current.isValid&&n._updateValid(!0),()=>{h.current=!1}),[n]),ir.useMemo(()=>S3(l,n,p.current,!1),[l,n])}var bl=t=>typeof t=="string",T3=(t,e,n,r,a)=>bl(t)?(r&&e.watch.add(t),rt(n,t,a)):Array.isArray(t)?t.map(s=>(r&&e.watch.add(s),rt(n,s))):(r&&(e.watchAll=!0),n);function eY(t){const e=iS(),{control:n=e.control,name:r,defaultValue:a,disabled:s,exact:l}=t||{},c=ir.useRef(r);c.current=r,Rw({disabled:s,subject:n._subjects.values,next:v=>{k3(c.current,v.name,l)&&p(so(T3(c.current,n._names,v.values||n._formValues,!1,a)))}});const[h,p]=ir.useState(n._getWatch(r,a));return ir.useEffect(()=>n._removeUnmounted()),h}function tY(t){const e=iS(),{name:n,disabled:r,control:a=e.control,shouldUnregister:s}=t,l=v3(a._names.array,n),c=eY({control:a,name:n,defaultValue:rt(a._formValues,n,rt(a._defaultValues,n,t.defaultValue)),exact:!0}),h=JG({control:a,name:n,exact:!0}),p=ir.useRef(a.register(n,{...t.rules,value:c,...Qo(t.disabled)?{disabled:t.disabled}:{}})),v=ir.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!rt(h.errors,n)},isDirty:{enumerable:!0,get:()=>!!rt(h.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!rt(h.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!rt(h.validatingFields,n)},error:{enumerable:!0,get:()=>rt(h.errors,n)}}),[h,n]),b=ir.useMemo(()=>({name:n,value:c,...Qo(r)||h.disabled?{disabled:h.disabled||r}:{},onChange:k=>p.current.onChange({target:{value:g3(k),name:n},type:rS.CHANGE}),onBlur:()=>p.current.onBlur({target:{value:rt(a._formValues,n),name:n},type:rS.BLUR}),ref:k=>{const T=rt(a._fields,n);T&&k&&(T._f.ref={focus:()=>k.focus(),select:()=>k.select(),setCustomValidity:E=>k.setCustomValidity(E),reportValidity:()=>k.reportValidity()})}}),[n,a._formValues,r,h.disabled,c,a._fields]);return ir.useEffect(()=>{const k=a._options.shouldUnregister||s,T=(E,R)=>{const M=rt(a._fields,E);M&&M._f&&(M._f.mount=R)};if(T(n,!0),k){const E=so(rt(a._options.defaultValues,n));or(a._defaultValues,n,E),ui(rt(a._formValues,n))&&or(a._formValues,n,E)}return!l&&a.register(n),()=>{(l?k&&!a._state.action:k)?a.unregister(n):T(n,!1)}},[n,a,l,s]),ir.useEffect(()=>{a._updateDisabledField({disabled:r,fields:a._fields,name:n})},[r,n,a]),ir.useMemo(()=>({field:b,formState:h,fieldState:v}),[b,h,v])}const nY=t=>t.render(tY(t));var x3=(t,e,n,r,a)=>e?{...n[t],types:{...n[t]&&n[t].types?n[t].types:{},[r]:a||!0}}:{},w3=t=>({isOnSubmit:!t||t===Ls.onSubmit,isOnBlur:t===Ls.onBlur,isOnChange:t===Ls.onChange,isOnAll:t===Ls.all,isOnTouch:t===Ls.onTouched}),_3=(t,e,n)=>!n&&(e.watchAll||e.watch.has(t)||[...e.watch].some(r=>t.startsWith(r)&&/^\.\w+/.test(t.slice(r.length))));const bv=(t,e,n,r)=>{for(const a of n||Object.keys(t)){const s=rt(t,a);if(s){const{_f:l,...c}=s;if(l){if(l.refs&&l.refs[0]&&e(l.refs[0],a)&&!r)return!0;if(l.ref&&e(l.ref,l.name)&&!r)return!0;if(bv(c,e))break}else if(li(c)&&bv(c,e))break}}};var rY=(t,e,n)=>{const r=yv(rt(t,n));return or(r,"root",e[n]),or(t,n,r),t},Pw=t=>t.type==="file",Sl=t=>typeof t=="function",aS=t=>{if(!_w)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},oS=t=>bl(t),Dw=t=>t.type==="radio",sS=t=>t instanceof RegExp;const E3={value:!1,isValid:!1},R3={value:!0,isValid:!0};var P3=t=>{if(Array.isArray(t)){if(t.length>1){const e=t.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:e,isValid:!!e.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!ui(t[0].attributes.value)?ui(t[0].value)||t[0].value===""?R3:{value:t[0].value,isValid:!0}:R3:E3}return E3};const D3={isValid:!1,value:null};var A3=t=>Array.isArray(t)?t.reduce((e,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:e,D3):D3;function O3(t,e,n="validate"){if(oS(t)||Array.isArray(t)&&t.every(oS)||Qo(t)&&!t)return{type:n,message:oS(t)?t:"",ref:e}}var vp=t=>li(t)&&!sS(t)?t:{value:t,message:""},M3=async(t,e,n,r,a,s)=>{const{ref:l,refs:c,required:h,maxLength:p,minLength:v,min:b,max:k,pattern:T,validate:E,name:R,valueAsNumber:M,mount:A}=t._f,U=rt(n,R);if(!A||e.has(R))return{};const V=c?c[0]:l,j=te=>{a&&V.reportValidity&&(V.setCustomValidity(Qo(te)?"":te||""),V.reportValidity())},I={},N=Dw(l),ne=vv(l),X=N||ne,se=(M||Pw(l))&&ui(l.value)&&ui(U)||aS(l)&&l.value===""||U===""||Array.isArray(U)&&!U.length,$=x3.bind(null,R,r,I),oe=(te,xe,ke,Ge=Su.maxLength,Je=Su.minLength)=>{const Fe=te?xe:ke;I[R]={type:te?Ge:Je,message:Fe,ref:l,...$(te?Ge:Je,Fe)}};if(s?!Array.isArray(U)||!U.length:h&&(!X&&(se||Va(U))||Qo(U)&&!U||ne&&!P3(c).isValid||N&&!A3(c).isValid)){const{value:te,message:xe}=oS(h)?{value:!!h,message:h}:vp(h);if(te&&(I[R]={type:Su.required,message:xe,ref:V,...$(Su.required,xe)},!r))return j(xe),I}if(!se&&(!Va(b)||!Va(k))){let te,xe;const ke=vp(k),Ge=vp(b);if(!Va(U)&&!isNaN(U)){const Je=l.valueAsNumber||U&&+U;Va(ke.value)||(te=Je>ke.value),Va(Ge.value)||(xe=Je<Ge.value)}else{const Je=l.valueAsDate||new Date(U),Fe=z=>new Date(new Date().toDateString()+" "+z),ve=l.type=="time",Be=l.type=="week";bl(ke.value)&&U&&(te=ve?Fe(U)>Fe(ke.value):Be?U>ke.value:Je>new Date(ke.value)),bl(Ge.value)&&U&&(xe=ve?Fe(U)<Fe(Ge.value):Be?U<Ge.value:Je<new Date(Ge.value))}if((te||xe)&&(oe(!!te,ke.message,Ge.message,Su.max,Su.min),!r))return j(I[R].message),I}if((p||v)&&!se&&(bl(U)||s&&Array.isArray(U))){const te=vp(p),xe=vp(v),ke=!Va(te.value)&&U.length>+te.value,Ge=!Va(xe.value)&&U.length<+xe.value;if((ke||Ge)&&(oe(ke,te.message,xe.message),!r))return j(I[R].message),I}if(T&&!se&&bl(U)){const{value:te,message:xe}=vp(T);if(sS(te)&&!U.match(te)&&(I[R]={type:Su.pattern,message:xe,ref:l,...$(Su.pattern,xe)},!r))return j(xe),I}if(E){if(Sl(E)){const te=await E(U,n),xe=O3(te,V);if(xe&&(I[R]={...xe,...$(Su.validate,xe.message)},!r))return j(xe.message),I}else if(li(E)){let te={};for(const xe in E){if(!lo(te)&&!r)break;const ke=O3(await E[xe](U,n),V,xe);ke&&(te={...ke,...$(xe,ke.message)},j(ke.message),r&&(I[R]=te))}if(!lo(te)&&(I[R]={ref:V,...te},!r))return I}}return j(!0),I};function iY(t,e){const n=e.slice(0,-1).length;let r=0;for(;r<n;)t=ui(t)?r++:t[e[r++]];return t}function aY(t){for(const e in t)if(t.hasOwnProperty(e)&&!ui(t[e]))return!1;return!0}function _i(t,e){const n=Array.isArray(e)?e:Ew(e)?[e]:y3(e),r=n.length===1?t:iY(t,n),a=n.length-1,s=n[a];return r&&delete r[s],a!==0&&(li(r)&&lo(r)||Array.isArray(r)&&aY(r))&&_i(t,n.slice(0,-1)),t}var Aw=()=>{let t=[];return{get observers(){return t},next:a=>{for(const s of t)s.next&&s.next(a)},subscribe:a=>(t.push(a),{unsubscribe:()=>{t=t.filter(s=>s!==a)}}),unsubscribe:()=>{t=[]}}},Ow=t=>Va(t)||!m3(t);function jc(t,e){if(Ow(t)||Ow(e))return t===e;if(df(t)&&df(e))return t.getTime()===e.getTime();const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(const a of n){const s=t[a];if(!r.includes(a))return!1;if(a!=="ref"){const l=e[a];if(df(s)&&df(l)||li(s)&&li(l)||Array.isArray(s)&&Array.isArray(l)?!jc(s,l):s!==l)return!1}}return!0}var L3=t=>t.type==="select-multiple",oY=t=>Dw(t)||vv(t),Mw=t=>aS(t)&&t.isConnected,N3=t=>{for(const e in t)if(Sl(t[e]))return!0;return!1};function lS(t,e={}){const n=Array.isArray(t);if(li(t)||n)for(const r in t)Array.isArray(t[r])||li(t[r])&&!N3(t[r])?(e[r]=Array.isArray(t[r])?[]:{},lS(t[r],e[r])):Va(t[r])||(e[r]=!0);return e}function I3(t,e,n){const r=Array.isArray(t);if(li(t)||r)for(const a in t)Array.isArray(t[a])||li(t[a])&&!N3(t[a])?ui(e)||Ow(n[a])?n[a]=Array.isArray(t[a])?lS(t[a],[]):{...lS(t[a])}:I3(t[a],Va(e)?{}:e[a],n[a]):n[a]=!jc(t[a],e[a]);return n}var Sv=(t,e)=>I3(t,e,lS(e)),U3=(t,{valueAsNumber:e,valueAsDate:n,setValueAs:r})=>ui(t)?t:e?t===""?NaN:t&&+t:n&&bl(t)?new Date(t):r?r(t):t;function Lw(t){const e=t.ref;return Pw(e)?e.files:Dw(e)?A3(t.refs).value:L3(e)?[...e.selectedOptions].map(({value:n})=>n):vv(e)?P3(t.refs).value:U3(ui(e.value)?t.ref.value:e.value,t)}var sY=(t,e,n,r)=>{const a={};for(const s of t){const l=rt(e,s);l&&or(a,s,l._f)}return{criteriaMode:n,names:[...t],fields:a,shouldUseNativeValidation:r}},Cv=t=>ui(t)?t:sS(t)?t.source:li(t)?sS(t.value)?t.value.source:t.value:t;const F3="AsyncFunction";var lY=t=>!!t&&!!t.validate&&!!(Sl(t.validate)&&t.validate.constructor.name===F3||li(t.validate)&&Object.values(t.validate).find(e=>e.constructor.name===F3)),uY=t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate);function j3(t,e,n){const r=rt(t,n);if(r||Ew(n))return{error:r,name:n};const a=n.split(".");for(;a.length;){const s=a.join("."),l=rt(e,s),c=rt(t,s);if(l&&!Array.isArray(l)&&n!==s)return{name:n};if(c&&c.type)return{name:s,error:c};a.pop()}return{name:n}}var cY=(t,e,n,r,a)=>a.isOnAll?!1:!n&&a.isOnTouch?!(e||t):(n?r.isOnBlur:a.isOnBlur)?!t:(n?r.isOnChange:a.isOnChange)?t:!0,dY=(t,e)=>!nS(rt(t,e)).length&&_i(t,e);const fY={mode:Ls.onSubmit,reValidateMode:Ls.onChange,shouldFocusError:!0};function hY(t={}){let e={...fY,...t},n={submitCount:0,isDirty:!1,isLoading:Sl(e.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1},r={},a=li(e.defaultValues)||li(e.values)?so(e.defaultValues||e.values)||{}:{},s=e.shouldUnregister?{}:so(a),l={action:!1,mount:!1,watch:!1},c={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},h,p=0;const v={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},b={values:Aw(),array:Aw(),state:Aw()},k=w3(e.mode),T=w3(e.reValidateMode),E=e.criteriaMode===Ls.all,R=Z=>le=>{clearTimeout(p),p=setTimeout(Z,le)},M=async Z=>{if(!e.disabled&&(v.isValid||Z)){const le=e.resolver?lo((await X()).errors):await $(r,!0);le!==n.isValid&&b.state.next({isValid:le})}},A=(Z,le)=>{!e.disabled&&(v.isValidating||v.validatingFields)&&((Z||Array.from(c.mount)).forEach(me=>{me&&(le?or(n.validatingFields,me,le):_i(n.validatingFields,me))}),b.state.next({validatingFields:n.validatingFields,isValidating:!lo(n.validatingFields)}))},U=(Z,le=[],me,je,Ve=!0,Me=!0)=>{if(je&&me&&!e.disabled){if(l.action=!0,Me&&Array.isArray(rt(r,Z))){const ut=me(rt(r,Z),je.argA,je.argB);Ve&&or(r,Z,ut)}if(Me&&Array.isArray(rt(n.errors,Z))){const ut=me(rt(n.errors,Z),je.argA,je.argB);Ve&&or(n.errors,Z,ut),dY(n.errors,Z)}if(v.touchedFields&&Me&&Array.isArray(rt(n.touchedFields,Z))){const ut=me(rt(n.touchedFields,Z),je.argA,je.argB);Ve&&or(n.touchedFields,Z,ut)}v.dirtyFields&&(n.dirtyFields=Sv(a,s)),b.state.next({name:Z,isDirty:te(Z,le),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else or(s,Z,le)},V=(Z,le)=>{or(n.errors,Z,le),b.state.next({errors:n.errors})},j=Z=>{n.errors=Z,b.state.next({errors:n.errors,isValid:!1})},I=(Z,le,me,je)=>{const Ve=rt(r,Z);if(Ve){const Me=rt(s,Z,ui(me)?rt(a,Z):me);ui(Me)||je&&je.defaultChecked||le?or(s,Z,le?Me:Lw(Ve._f)):Ge(Z,Me),l.mount&&M()}},N=(Z,le,me,je,Ve)=>{let Me=!1,ut=!1;const Nt={name:Z};if(!e.disabled){const fe=!!(rt(r,Z)&&rt(r,Z)._f&&rt(r,Z)._f.disabled);if(!me||je){v.isDirty&&(ut=n.isDirty,n.isDirty=Nt.isDirty=te(),Me=ut!==Nt.isDirty);const Re=fe||jc(rt(a,Z),le);ut=!!(!fe&&rt(n.dirtyFields,Z)),Re||fe?_i(n.dirtyFields,Z):or(n.dirtyFields,Z,!0),Nt.dirtyFields=n.dirtyFields,Me=Me||v.dirtyFields&&ut!==!Re}if(me){const Re=rt(n.touchedFields,Z);Re||(or(n.touchedFields,Z,me),Nt.touchedFields=n.touchedFields,Me=Me||v.touchedFields&&Re!==me)}Me&&Ve&&b.state.next(Nt)}return Me?Nt:{}},ne=(Z,le,me,je)=>{const Ve=rt(n.errors,Z),Me=v.isValid&&Qo(le)&&n.isValid!==le;if(e.delayError&&me?(h=R(()=>V(Z,me)),h(e.delayError)):(clearTimeout(p),h=null,me?or(n.errors,Z,me):_i(n.errors,Z)),(me?!jc(Ve,me):Ve)||!lo(je)||Me){const ut={...je,...Me&&Qo(le)?{isValid:le}:{},errors:n.errors,name:Z};n={...n,...ut},b.state.next(ut)}},X=async Z=>{A(Z,!0);const le=await e.resolver(s,e.context,sY(Z||c.mount,r,e.criteriaMode,e.shouldUseNativeValidation));return A(Z),le},se=async Z=>{const{errors:le}=await X(Z);if(Z)for(const me of Z){const je=rt(le,me);je?or(n.errors,me,je):_i(n.errors,me)}else n.errors=le;return le},$=async(Z,le,me={valid:!0})=>{for(const je in Z){const Ve=Z[je];if(Ve){const{_f:Me,...ut}=Ve;if(Me){const Nt=c.array.has(Me.name),fe=Ve._f&&lY(Ve._f);fe&&v.validatingFields&&A([je],!0);const Re=await M3(Ve,c.disabled,s,E,e.shouldUseNativeValidation&&!le,Nt);if(fe&&v.validatingFields&&A([je]),Re[Me.name]&&(me.valid=!1,le))break;!le&&(rt(Re,Me.name)?Nt?rY(n.errors,Re,Me.name):or(n.errors,Me.name,Re[Me.name]):_i(n.errors,Me.name))}!lo(ut)&&await $(ut,le,me)}}return me.valid},oe=()=>{for(const Z of c.unMount){const le=rt(r,Z);le&&(le._f.refs?le._f.refs.every(me=>!Mw(me)):!Mw(le._f.ref))&&ht(Z)}c.unMount=new Set},te=(Z,le)=>!e.disabled&&(Z&&le&&or(s,Z,le),!jc(J(),a)),xe=(Z,le,me)=>T3(Z,c,{...l.mount?s:ui(le)?a:bl(Z)?{[Z]:le}:le},me,le),ke=Z=>nS(rt(l.mount?s:a,Z,e.shouldUnregister?rt(a,Z,[]):[])),Ge=(Z,le,me={})=>{const je=rt(r,Z);let Ve=le;if(je){const Me=je._f;Me&&(!Me.disabled&&or(s,Z,U3(le,Me)),Ve=aS(Me.ref)&&Va(le)?"":le,L3(Me.ref)?[...Me.ref.options].forEach(ut=>ut.selected=Ve.includes(ut.value)):Me.refs?vv(Me.ref)?Me.refs.length>1?Me.refs.forEach(ut=>(!ut.defaultChecked||!ut.disabled)&&(ut.checked=Array.isArray(Ve)?!!Ve.find(Nt=>Nt===ut.value):Ve===ut.value)):Me.refs[0]&&(Me.refs[0].checked=!!Ve):Me.refs.forEach(ut=>ut.checked=ut.value===Ve):Pw(Me.ref)?Me.ref.value="":(Me.ref.value=Ve,Me.ref.type||b.values.next({name:Z,values:{...s}})))}(me.shouldDirty||me.shouldTouch)&&N(Z,Ve,me.shouldTouch,me.shouldDirty,!0),me.shouldValidate&&z(Z)},Je=(Z,le,me)=>{for(const je in le){const Ve=le[je],Me=`${Z}.${je}`,ut=rt(r,Me);(c.array.has(Z)||li(Ve)||ut&&!ut._f)&&!df(Ve)?Je(Me,Ve,me):Ge(Me,Ve,me)}},Fe=(Z,le,me={})=>{const je=rt(r,Z),Ve=c.array.has(Z),Me=so(le);or(s,Z,Me),Ve?(b.array.next({name:Z,values:{...s}}),(v.isDirty||v.dirtyFields)&&me.shouldDirty&&b.state.next({name:Z,dirtyFields:Sv(a,s),isDirty:te(Z,Me)})):je&&!je._f&&!Va(Me)?Je(Z,Me,me):Ge(Z,Me,me),_3(Z,c)&&b.state.next({...n}),b.values.next({name:l.mount?Z:void 0,values:{...s}})},ve=async Z=>{l.mount=!0;const le=Z.target;let me=le.name,je=!0;const Ve=rt(r,me),Me=()=>le.type?Lw(Ve._f):g3(Z),ut=Nt=>{je=Number.isNaN(Nt)||df(Nt)&&isNaN(Nt.getTime())||jc(Nt,rt(s,me,Nt))};if(Ve){let Nt,fe;const Re=Me(),vt=Z.type===rS.BLUR||Z.type===rS.FOCUS_OUT,Ft=!uY(Ve._f)&&!e.resolver&&!rt(n.errors,me)&&!Ve._f.deps||cY(vt,rt(n.touchedFields,me),n.isSubmitted,T,k),Kt=_3(me,c,vt);or(s,me,Re),vt?(Ve._f.onBlur&&Ve._f.onBlur(Z),h&&h(0)):Ve._f.onChange&&Ve._f.onChange(Z);const ze=N(me,Re,vt,!1),ct=!lo(ze)||Kt;if(!vt&&b.values.next({name:me,type:Z.type,values:{...s}}),Ft)return v.isValid&&(e.mode==="onBlur"&&vt?M():vt||M()),ct&&b.state.next({name:me,...Kt?{}:ze});if(!vt&&Kt&&b.state.next({...n}),e.resolver){const{errors:At}=await X([me]);if(ut(Re),je){const un=j3(n.errors,r,me),_n=j3(At,r,un.name||me);Nt=_n.error,me=_n.name,fe=lo(At)}}else A([me],!0),Nt=(await M3(Ve,c.disabled,s,E,e.shouldUseNativeValidation))[me],A([me]),ut(Re),je&&(Nt?fe=!1:v.isValid&&(fe=await $(r,!0)));je&&(Ve._f.deps&&z(Ve._f.deps),ne(me,fe,Nt,ze))}},Be=(Z,le)=>{if(rt(n.errors,le)&&Z.focus)return Z.focus(),1},z=async(Z,le={})=>{let me,je;const Ve=yv(Z);if(e.resolver){const Me=await se(ui(Z)?Z:Ve);me=lo(Me),je=Z?!Ve.some(ut=>rt(Me,ut)):me}else Z?(je=(await Promise.all(Ve.map(async Me=>{const ut=rt(r,Me);return await $(ut&&ut._f?{[Me]:ut}:ut)}))).every(Boolean),!(!je&&!n.isValid)&&M()):je=me=await $(r);return b.state.next({...!bl(Z)||v.isValid&&me!==n.isValid?{}:{name:Z},...e.resolver||!Z?{isValid:me}:{},errors:n.errors}),le.shouldFocus&&!je&&bv(r,Be,Z?Ve:c.mount),je},J=Z=>{const le={...l.mount?s:a};return ui(Z)?le:bl(Z)?rt(le,Z):Z.map(me=>rt(le,me))},Ce=(Z,le)=>({invalid:!!rt((le||n).errors,Z),isDirty:!!rt((le||n).dirtyFields,Z),error:rt((le||n).errors,Z),isValidating:!!rt(n.validatingFields,Z),isTouched:!!rt((le||n).touchedFields,Z)}),H=Z=>{Z&&yv(Z).forEach(le=>_i(n.errors,le)),b.state.next({errors:Z?n.errors:{}})},Ct=(Z,le,me)=>{const je=(rt(r,Z,{_f:{}})._f||{}).ref,Ve=rt(n.errors,Z)||{},{ref:Me,message:ut,type:Nt,...fe}=Ve;or(n.errors,Z,{...fe,...le,ref:je}),b.state.next({name:Z,errors:n.errors,isValid:!1}),me&&me.shouldFocus&&je&&je.focus&&je.focus()},Rt=(Z,le)=>Sl(Z)?b.values.subscribe({next:me=>Z(xe(void 0,le),me)}):xe(Z,le,!0),ht=(Z,le={})=>{for(const me of Z?yv(Z):c.mount)c.mount.delete(me),c.array.delete(me),le.keepValue||(_i(r,me),_i(s,me)),!le.keepError&&_i(n.errors,me),!le.keepDirty&&_i(n.dirtyFields,me),!le.keepTouched&&_i(n.touchedFields,me),!le.keepIsValidating&&_i(n.validatingFields,me),!e.shouldUnregister&&!le.keepDefaultValue&&_i(a,me);b.values.next({values:{...s}}),b.state.next({...n,...le.keepDirty?{isDirty:te()}:{}}),!le.keepIsValid&&M()},bt=({disabled:Z,name:le,field:me,fields:je})=>{(Qo(Z)&&l.mount||Z||c.disabled.has(le))&&(Z?c.disabled.add(le):c.disabled.delete(le),N(le,Lw(me?me._f:rt(je,le)._f),!1,!1,!0))},it=(Z,le={})=>{let me=rt(r,Z);const je=Qo(le.disabled)||Qo(e.disabled);return or(r,Z,{...me||{},_f:{...me&&me._f?me._f:{ref:{name:Z}},name:Z,mount:!0,...le}}),c.mount.add(Z),me?bt({field:me,disabled:Qo(le.disabled)?le.disabled:e.disabled,name:Z}):I(Z,!0,le.value),{...je?{disabled:le.disabled||e.disabled}:{},...e.progressive?{required:!!le.required,min:Cv(le.min),max:Cv(le.max),minLength:Cv(le.minLength),maxLength:Cv(le.maxLength),pattern:Cv(le.pattern)}:{},name:Z,onChange:ve,onBlur:ve,ref:Ve=>{if(Ve){it(Z,le),me=rt(r,Z);const Me=ui(Ve.value)&&Ve.querySelectorAll&&Ve.querySelectorAll("input,select,textarea")[0]||Ve,ut=oY(Me),Nt=me._f.refs||[];if(ut?Nt.find(fe=>fe===Me):Me===me._f.ref)return;or(r,Z,{_f:{...me._f,...ut?{refs:[...Nt.filter(Mw),Me,...Array.isArray(rt(a,Z))?[{}]:[]],ref:{type:Me.type,name:Z}}:{ref:Me}}}),I(Z,!1,void 0,Me)}else me=rt(r,Z,{}),me._f&&(me._f.mount=!1),(e.shouldUnregister||le.shouldUnregister)&&!(v3(c.array,Z)&&l.action)&&c.unMount.add(Z)}}},xt=()=>e.shouldFocusError&&bv(r,Be,c.mount),nn=Z=>{Qo(Z)&&(b.state.next({disabled:Z}),bv(r,(le,me)=>{const je=rt(r,me);je&&(le.disabled=je._f.disabled||Z,Array.isArray(je._f.refs)&&je._f.refs.forEach(Ve=>{Ve.disabled=je._f.disabled||Z}))},0,!1))},qn=(Z,le)=>async me=>{let je;me&&(me.preventDefault&&me.preventDefault(),me.persist&&me.persist());let Ve=so(s);if(c.disabled.size)for(const Me of c.disabled)or(Ve,Me,void 0);if(b.state.next({isSubmitting:!0}),e.resolver){const{errors:Me,values:ut}=await X();n.errors=Me,Ve=ut}else await $(r);if(_i(n.errors,"root"),lo(n.errors)){b.state.next({errors:{}});try{await Z(Ve,me)}catch(Me){je=Me}}else le&&await le({...n.errors},me),xt(),setTimeout(xt);if(b.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:lo(n.errors)&&!je,submitCount:n.submitCount+1,errors:n.errors}),je)throw je},_r=(Z,le={})=>{rt(r,Z)&&(ui(le.defaultValue)?Fe(Z,so(rt(a,Z))):(Fe(Z,le.defaultValue),or(a,Z,so(le.defaultValue))),le.keepTouched||_i(n.touchedFields,Z),le.keepDirty||(_i(n.dirtyFields,Z),n.isDirty=le.defaultValue?te(Z,so(rt(a,Z))):te()),le.keepError||(_i(n.errors,Z),v.isValid&&M()),b.state.next({...n}))},vr=(Z,le={})=>{const me=Z?so(Z):a,je=so(me),Ve=lo(Z),Me=Ve?a:je;if(le.keepDefaultValues||(a=me),!le.keepValues){if(le.keepDirtyValues){const ut=new Set([...c.mount,...Object.keys(Sv(a,s))]);for(const Nt of Array.from(ut))rt(n.dirtyFields,Nt)?or(Me,Nt,rt(s,Nt)):Fe(Nt,rt(Me,Nt))}else{if(_w&&ui(Z))for(const ut of c.mount){const Nt=rt(r,ut);if(Nt&&Nt._f){const fe=Array.isArray(Nt._f.refs)?Nt._f.refs[0]:Nt._f.ref;if(aS(fe)){const Re=fe.closest("form");if(Re){Re.reset();break}}}}r={}}s=e.shouldUnregister?le.keepDefaultValues?so(a):{}:so(Me),b.array.next({values:{...Me}}),b.values.next({values:{...Me}})}c={mount:le.keepDirtyValues?c.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!v.isValid||!!le.keepIsValid||!!le.keepDirtyValues,l.watch=!!e.shouldUnregister,b.state.next({submitCount:le.keepSubmitCount?n.submitCount:0,isDirty:Ve?!1:le.keepDirty?n.isDirty:!!(le.keepDefaultValues&&!jc(Z,a)),isSubmitted:le.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Ve?{}:le.keepDirtyValues?le.keepDefaultValues&&s?Sv(a,s):n.dirtyFields:le.keepDefaultValues&&Z?Sv(a,Z):le.keepDirty?n.dirtyFields:{},touchedFields:le.keepTouched?n.touchedFields:{},errors:le.keepErrors?n.errors:{},isSubmitSuccessful:le.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Xn=(Z,le)=>vr(Sl(Z)?Z(s):Z,le);return{control:{register:it,unregister:ht,getFieldState:Ce,handleSubmit:qn,setError:Ct,_executeSchema:X,_getWatch:xe,_getDirty:te,_updateValid:M,_removeUnmounted:oe,_updateFieldArray:U,_updateDisabledField:bt,_getFieldArray:ke,_reset:vr,_resetDefaultValues:()=>Sl(e.defaultValues)&&e.defaultValues().then(Z=>{Xn(Z,e.resetOptions),b.state.next({isLoading:!1})}),_updateFormState:Z=>{n={...n,...Z}},_disableForm:nn,_subjects:b,_proxyFormState:v,_setErrors:j,get _fields(){return r},get _formValues(){return s},get _state(){return l},set _state(Z){l=Z},get _defaultValues(){return a},get _names(){return c},set _names(Z){c=Z},get _formState(){return n},set _formState(Z){n=Z},get _options(){return e},set _options(Z){e={...e,...Z}}},trigger:z,register:it,handleSubmit:qn,watch:Rt,setValue:Fe,getValues:J,reset:Xn,resetField:_r,clearErrors:H,unregister:ht,setError:Ct,setFocus:(Z,le={})=>{const me=rt(r,Z),je=me&&me._f;if(je){const Ve=je.refs?je.refs[0]:je.ref;Ve.focus&&(Ve.focus(),le.shouldSelect&&Sl(Ve.select)&&Ve.select())}},getFieldState:Ce}}function pY(t={}){const e=ir.useRef(void 0),n=ir.useRef(void 0),[r,a]=ir.useState({isDirty:!1,isValidating:!1,isLoading:Sl(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,defaultValues:Sl(t.defaultValues)?void 0:t.defaultValues});e.current||(e.current={...hY(t),formState:r});const s=e.current.control;return s._options=t,Rw({subject:s._subjects.state,next:l=>{C3(l,s._proxyFormState,s._updateFormState,!0)&&a({...s._formState})}}),ir.useEffect(()=>s._disableForm(t.disabled),[s,t.disabled]),ir.useEffect(()=>{if(s._proxyFormState.isDirty){const l=s._getDirty();l!==r.isDirty&&s._subjects.state.next({isDirty:l})}},[s,r.isDirty]),ir.useEffect(()=>{t.values&&!jc(t.values,n.current)?(s._reset(t.values,s._options.resetOptions),n.current=t.values,a(l=>({...l}))):s._resetDefaultValues()},[t.values,s]),ir.useEffect(()=>{t.errors&&s._setErrors(t.errors)},[t.errors,s]),ir.useEffect(()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),ir.useEffect(()=>{t.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})},[t.shouldUnregister,s]),e.current.formState=S3(r,s),e.current}const V3=(t,e,n)=>{if(t&&"reportValidity"in t){const r=rt(n,e);t.setCustomValidity(r&&r.message||""),t.reportValidity()}},z3=(t,e)=>{for(const n in e.fields){const r=e.fields[n];r&&r.ref&&"reportValidity"in r.ref?V3(r.ref,n,t):r.refs&&r.refs.forEach(a=>V3(a,n,t))}},mY=(t,e)=>{e.shouldUseNativeValidation&&z3(t,e);const n={};for(const r in t){const a=rt(e.fields,r),s=Object.assign(t[r]||{},{ref:a&&a.ref});if(gY(e.names||Object.keys(t),r)){const l=Object.assign({},rt(n,r));or(l,"root",s),or(n,r,l)}else or(n,r,s)}return n},gY=(t,e)=>t.some(n=>n.startsWith(e+"."));var vY=function(t,e){for(var n={};t.length;){var r=t[0],a=r.code,s=r.message,l=r.path.join(".");if(!n[l])if("unionErrors"in r){var c=r.unionErrors[0].errors[0];n[l]={message:c.message,type:c.code}}else n[l]={message:s,type:a};if("unionErrors"in r&&r.unionErrors.forEach(function(v){return v.errors.forEach(function(b){return t.push(b)})}),e){var h=n[l].types,p=h&&h[r.code];n[l]=x3(l,e,n,a,p?[].concat(p,r.message):r.message)}t.shift()}return n},yY=function(t,e,n){return n===void 0&&(n={}),function(r,a,s){try{return Promise.resolve(function(l,c){try{var h=Promise.resolve(t[n.mode==="sync"?"parse":"parseAsync"](r,e)).then(function(p){return s.shouldUseNativeValidation&&z3({},s),{errors:{},values:n.raw?r:p}})}catch(p){return c(p)}return h&&h.then?h.then(void 0,c):h}(0,function(l){if(function(c){return Array.isArray(c==null?void 0:c.errors)}(l))return{values:{},errors:mY(vY(l.errors,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}}};function B3(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function bY(...t){return e=>{let n=!1;const r=t.map(a=>{const s=B3(a,e);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():B3(t[a],null)}}}}var uS=G.forwardRef((t,e)=>{const{children:n,...r}=t,a=G.Children.toArray(n),s=a.find(CY);if(s){const l=s.props.children,c=a.map(h=>h===s?G.Children.count(l)>1?G.Children.only(null):G.isValidElement(l)?l.props.children:null:h);return W.jsx(Nw,{...r,ref:e,children:G.isValidElement(l)?G.cloneElement(l,void 0,c):null})}return W.jsx(Nw,{...r,ref:e,children:n})});uS.displayName="Slot";var Nw=G.forwardRef((t,e)=>{const{children:n,...r}=t;if(G.isValidElement(n)){const a=TY(n);return G.cloneElement(n,{...kY(r,n.props),ref:e?bY(e,a):a})}return G.Children.count(n)>1?G.Children.only(null):null});Nw.displayName="SlotClone";var SY=({children:t})=>W.jsx(W.Fragment,{children:t});function CY(t){return G.isValidElement(t)&&t.type===SY}function kY(t,e){const n={...e};for(const r in e){const a=t[r],s=e[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...c)=>{s(...c),a(...c)}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...t,...n}}function TY(t){var r,a;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var xY=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],wY=xY.reduce((t,e)=>{const n=G.forwardRef((r,a)=>{const{asChild:s,...l}=r,c=s?uS:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),W.jsx(c,{...l,ref:a})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),_Y="Label",H3=G.forwardRef((t,e)=>W.jsx(wY.label,{...t,ref:e,onMouseDown:n=>{var a;n.target.closest("button, input, select, textarea")||((a=t.onMouseDown)==null||a.call(t,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));H3.displayName=_Y;var $3=H3;const q3=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,W3=YI,G3=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return W3(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:s}=e,l=Object.keys(a).map(p=>{const v=n==null?void 0:n[p],b=s==null?void 0:s[p];if(v===null)return null;const k=q3(v)||q3(b);return a[p][k]}),c=n&&Object.entries(n).reduce((p,v)=>{let[b,k]=v;return k===void 0||(p[b]=k),p},{}),h=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((p,v)=>{let{class:b,className:k,...T}=v;return Object.entries(T).every(E=>{let[R,M]=E;return Array.isArray(M)?M.includes({...s,...c}[R]):{...s,...c}[R]===M})?[...p,b,k]:p},[]);return W3(t,l,h,n==null?void 0:n.class,n==null?void 0:n.className)},EY=G3("ringg_ai-text-sm ringg_ai-font-medium ringg_ai-leading-none peer-disabled:ringg_ai-cursor-not-allowed peer-disabled:ringg_ai-opacity-70"),Y3=G.forwardRef(({className:t,...e},n)=>W.jsx($3,{ref:n,className:xr(EY(),t),...e}));Y3.displayName=$3.displayName;const RY=XG,K3=G.createContext({}),PY=({...t})=>W.jsx(K3.Provider,{value:{name:t.name},children:W.jsx(nY,{...t})}),cS=()=>{const t=G.useContext(K3),e=G.useContext(Z3),{getFieldState:n,formState:r}=iS(),a=n(t.name,r);if(!t)throw new Error("useFormField should be used within <FormField>");const{id:s}=e;return{id:s,name:t.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...a}},Z3=G.createContext({}),Q3=G.forwardRef(({className:t,...e},n)=>{const r=G.useId();return W.jsx(Z3.Provider,{value:{id:r},children:W.jsx("div",{ref:n,className:xr("ringg_ai-space-y-2",t),...e})})});Q3.displayName="FormItem";const DY=G.forwardRef(({className:t,...e},n)=>{const{error:r,formItemId:a}=cS();return W.jsx(Y3,{ref:n,className:xr(r&&"ringg_ai-text-destructive",t),htmlFor:a,...e})});DY.displayName="FormLabel";const X3=G.forwardRef(({...t},e)=>{const{error:n,formItemId:r,formDescriptionId:a,formMessageId:s}=cS();return W.jsx(uS,{ref:e,id:r,"aria-describedby":n?`${a} ${s}`:`${a}`,"aria-invalid":!!n,...t})});X3.displayName="FormControl";const AY=G.forwardRef(({className:t,...e},n)=>{const{formDescriptionId:r}=cS();return W.jsx("p",{ref:n,id:r,className:xr("ringg_ai-text-[0.8rem] ringg_ai-text-muted-foreground",t),...e})});AY.displayName="FormDescription";const J3=G.forwardRef(({className:t,children:e,...n},r)=>{const{error:a,formMessageId:s}=cS(),l=a?String((a==null?void 0:a.message)??""):e;return l?W.jsx("p",{ref:r,id:s,className:xr("ringg_ai-text-[0.8rem] ringg_ai-font-medium ringg_ai-text-destructive",t),...n,children:l}):null});J3.displayName="FormMessage";const OY=({isSending:t,onMessageSubmit:e})=>{const n=Zo(),r=pY({defaultValues:{message:""},resolver:yY(YG),mode:"onSubmit"}),a=s=>{e==null||e(s.message),r.reset()};return W.jsx(RY,{...r,children:W.jsx("form",{onSubmit:r.handleSubmit(a),children:W.jsx(PY,{control:r.control,name:"message",render:({field:s})=>W.jsxs(Q3,{children:[W.jsxs("div",{className:"ringg_ai-relative",children:[W.jsx(X3,{children:W.jsx("input",{placeholder:"Type here",autoComplete:"off",className:"ringg_ai-w-full ringg_ai-rounded-full ringg_ai-h-12 ringg_ai-px-4 ringg_ai-pr-14 ringg_ai-text-sm ringg_ai-border focus:ringg_ai-outline-none focus:ringg_ai-ring-2",style:{backgroundColor:n.surfaceColor,color:n.textColor,borderColor:n.borderColor,"--tw-ring-color":n.primaryColor},...s})}),W.jsxs("button",{type:"submit",disabled:t,className:"ringg_ai-absolute ringg_ai-right-1 ringg_ai-top-1/2 ringg_ai-transform -ringg_ai-translate-y-1/2 ringg_ai-rounded-full ringg_ai-h-10 ringg_ai-w-10 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-transition-opacity hover:ringg_ai-opacity-80 disabled:ringg_ai-opacity-50",style:{backgroundColor:n.primaryColor,color:n.primaryTextColor},children:[W.jsx(cW,{className:"ringg_ai-h-4 ringg_ai-w-4"}),W.jsx("span",{className:"ringg_ai-sr-only",children:"Send message"})]})]}),W.jsx(J3,{})]})})})})},MY=({isCalling:t,callMode:e,buttonConfig:n,onCallEnd:r})=>{var v,b;const a=Zo(),s=JT(),{send:l,isSending:c}=HM(),h=async()=>s.localParticipant.setMicrophoneEnabled(!s.localParticipant.isMicrophoneEnabled),p=()=>r==null?void 0:r();return t&&e==="text"?W.jsx(OY,{isSending:c,onMessageSubmit:l}):t&&e==="audio"?W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-row ringg_ai-w-full ringg_ai-justify-between ringg_ai-items-center",children:[W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-1",children:[W.jsx("button",{onClick:h,className:xr("ringg_ai-rounded-full ringg_ai-h-12 ringg_ai-w-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-transition-opacity hover:ringg_ai-opacity-80"),style:{backgroundColor:a.surfaceColor,...(v=n==null?void 0:n.mic)==null?void 0:v.styles},children:s.localParticipant.isMicrophoneEnabled?W.jsx(uW,{className:"ringg_ai-h-4 ringg_ai-w-4",style:{color:a.textColor}}):W.jsx(eW,{className:"ringg_ai-h-4 ringg_ai-w-4",style:{color:a.textColor}})}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-text-center ringg_ai-font-normal",style:{color:a.mutedTextColor},children:s.localParticipant.isMicrophoneEnabled?"Mute":"Un-Mute"})]}),W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-1",children:[W.jsx("button",{onClick:p,className:xr("ringg_ai-rounded-full ringg_ai-h-12 ringg_ai-w-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-transition-opacity hover:ringg_ai-opacity-80"),style:{backgroundColor:a.errorColor,...(b=n==null?void 0:n.mic)==null?void 0:b.styles},children:W.jsx(lW,{className:"ringg_ai-h-4 ringg_ai-w-4 ringg_ai-text-white"})}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-text-center ringg_ai-font-normal",style:{color:a.mutedTextColor},children:"End Call"})]})]}):null},LY=({children:t,open:e,containerRef:n})=>{const r=Zo();return!e||!n.current?null:iD.createPortal(W.jsx("div",{className:"ringg_ai-absolute ringg_ai-inset-0 ringg_ai-z-[9999] ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-bg-black/50",children:W.jsx("div",{className:"ringg_ai-relative ringg_ai-shadow-lg ringg_ai-max-w-md ringg_ai-w-full ringg_ai-mx-4 ringg_ai-p-6",style:{backgroundColor:r.backgroundColor,borderRadius:r.borderRadius,color:r.textColor},children:t})}),n.current)},NY=({children:t,className:e=""})=>W.jsx("div",{className:xr("ringg_ai-space-y-4",e),children:t}),IY=({children:t})=>W.jsx("div",{className:"ringg_ai-space-y-2",children:t}),UY=({children:t})=>{const e=Zo();return W.jsx("h2",{className:"ringg_ai-text-md ringg_ai-font-medium",style:{color:e.textColor},children:t})},FY=({children:t})=>{const e=Zo();return W.jsx("p",{className:"ringg_ai-text-sm",style:{color:e.mutedTextColor},children:t})},jY=({children:t})=>W.jsx("div",{className:"ringg_ai-flex ringg_ai-justify-center ringg_ai-space-x-2 ringg_ai-pt-4",children:t}),VY=({filled:t,onClick:e,onMouseEnter:n,onMouseLeave:r,starsStyles:a})=>{const s=(a==null?void 0:a.filledColor)??"#FBBF24",l=(a==null?void 0:a.emptyColor)??"#D1D5DB";return W.jsx("button",{type:"button",onClick:e,onMouseEnter:n,onMouseLeave:r,className:"ringg_ai-p-1 ringg_ai-transition-transform hover:ringg_ai-scale-110",children:W.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:t?s:"none",stroke:t?s:l,strokeWidth:"2",className:"ringg_ai-w-8 ringg_ai-h-8 ringg_ai-cursor-pointer ringg_ai-transition-colors",children:W.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"})})})},zY=({callMode:t,isSubmitting:e,feedbackScreenConfig:n,onSubmit:r,onSkip:a})=>{const s=Zo(),l=mw(s.buttonStyle),[c,h]=G.useState(0),[p,v]=G.useState(0),[b,k]=G.useState(""),T=()=>{c>0&&r(c,b)},E=p||c,R=(n==null?void 0:n.starsCount)??5,M=Array.from({length:R},(A,U)=>U+1);return W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-items-center ringg_ai-justify-center ringg_ai-p-6 ringg_ai-h-full ringg_ai-gap-4",children:[W.jsxs("div",{className:"ringg_ai-text-center",children:[W.jsx("h3",{className:"ringg_ai-text-lg ringg_ai-font-semibold ringg_ai-mb-1",style:{color:s.textColor},children:(n==null?void 0:n.title)??`How was your ${t==="text"?"chat":"call"}?`}),W.jsx("p",{className:"ringg_ai-text-sm",style:{color:s.mutedTextColor},children:(n==null?void 0:n.description)??"Your feedback helps us improve!"})]}),W.jsx("div",{className:"ringg_ai-flex ringg_ai-gap-1 ringg_ai-my-2",children:M.map(A=>W.jsx(VY,{filled:A<=E,onClick:()=>h(A),onMouseEnter:()=>v(A),onMouseLeave:()=>v(0),starsStyles:n==null?void 0:n.starsStyles},A))}),W.jsx("textarea",{value:b,onChange:A=>k(A.target.value),placeholder:(n==null?void 0:n.placeholder)??"We'd love to hear more...",className:xr("ringg_ai-w-full ringg_ai-min-h-[80px] ringg_ai-p-3 ringg_ai-text-sm ringg_ai-border ringg_ai-resize-none focus:ringg_ai-outline-none focus:ringg_ai-ring-2"),style:{backgroundColor:s.surfaceColor,color:s.textColor,borderColor:s.borderColor,borderRadius:l,"--tw-ring-color":s.primaryColor},maxLength:500}),W.jsxs("div",{className:"ringg_ai-flex ringg_ai-w-full ringg_ai-flex-col ringg_ai-gap-3 ringg_ai-mt-2",children:[W.jsx("button",{onClick:T,disabled:c===0||e,className:xr("ringg_ai-w-full ringg_ai-py-2.5 ringg_ai-font-medium ringg_ai-transition-all","hover:ringg_ai-opacity-90 disabled:ringg_ai-opacity-50 disabled:ringg_ai-cursor-not-allowed"),style:{backgroundColor:s.primaryColor,color:s.primaryTextColor,borderRadius:l,...n==null?void 0:n.submitBtnStyles},children:(n==null?void 0:n.submitBtnCTA)??"Submit Feedback"}),W.jsx("button",{type:"button",onClick:a,disabled:e,className:"ringg_ai-text-sm ringg_ai-w-full ringg_ai-transition-colors hover:ringg_ai-opacity-80",style:{color:s.mutedTextColor},children:"Skip"})]})]})},BY=({isCalling:t,isLoading:e,title:n,description:r,logoUrl:a="https://assets.ringg.ai/images/logo/logo-dark.png",logoStyles:s})=>{const l=Zo();if(!t)return W.jsxs(W.Fragment,{children:[W.jsx("div",{className:"ringg_ai-mx-auto ringg_ai-overflow-clip ringg_ai-w-[70px] ringg_ai-h-[70px] ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center",style:{backgroundColor:l.primaryColor,...s},children:W.jsx("img",{src:a,alt:"Logo"})}),W.jsxs("div",{className:"ringg_ai-flex ringg_ai-gap-1 ringg_ai-flex-col",children:[W.jsx("h2",{className:"ringg_ai-text-xl ringg_ai-text-center ringg_ai-font-medium",style:{color:l.textColor},children:n}),!e&&W.jsxs("p",{className:"ringg_ai-text-sm ringg_ai-text-center ringg_ai-font-normal",style:{color:l.mutedTextColor},children:[r,"."]}),e&&W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-text-yellow-500 ringg_ai-text-center ringg_ai-font-normal",children:"Connecting.."})]})]});if(t)return W.jsxs("div",{className:"ringg_ai-absolute ringg_ai-overflow-clip ringg_ai-border-b ringg_ai-w-full ringg_ai-top-0 ringg_ai-left-0 ringg_ai-p-4 ringg_ai-flex ringg_ai-flex-row ringg_ai-gap-2 ringg_ai-justify-start ringg_ai-items-center",style:{backgroundColor:l.backgroundColor,borderColor:l.borderColor},children:[W.jsx("div",{className:"ringg_ai-w-[48px] ringg_ai-h-[48px] ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center",style:{backgroundColor:l.primaryColor,...s},children:W.jsx("img",{src:a,alt:"Logo"})}),W.jsxs("div",{className:"ringg_ai-w-fit ringg_ai-flex ringg_ai-flex-col",children:[W.jsx("h2",{className:"ringg_ai-text-xl ringg_ai-text-start ringg_ai-font-medium",style:{color:l.textColor},children:n}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-text-start ringg_ai-font-normal",style:{color:l.successColor},children:e?"Calling...":t?"Call in Progress":""})]})]})};function HY(t){const e=new Map;return t.forEach(n=>{const a=new Date(n.datetime).toISOString().split("T")[0];e.has(a)||e.set(a,[]),e.get(a).push(n)}),Array.from(e.entries()).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{const a=new Date(n);return{date:n,dateLabel:a.toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric"}),slots:r.sort((s,l)=>new Date(s.datetime).getTime()-new Date(l.datetime).getTime())}})}function e4(t,e){return new Date(t).toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:e})}function $Y(t,e){return new Date(t).toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",timeZone:e})}function qY(t,e){const n={};for(const[r,a]of Object.entries(t))if(typeof a=="string"&&a.startsWith("{")&&a.endsWith("}")){const s=a.slice(1,-1);n[r]=e[s]??a}else n[r]=a;return n}function WY(t){return t.component_type==="calendar_booking"}function GY(t){return t.component_type==="form"}function YY(t){return t.component_type==="buttons"}function KY(t){return t.component_type==="confirmation"}const ZY={primaryColor:"#313335",primaryTextColor:"#ffffff",backgroundColor:"#F3F3F5",surfaceColor:"#ffffff",textColor:"#212121",mutedTextColor:"#11111180",borderColor:"#e5e5e5",errorColor:"#ef4444",successColor:"#10b981",fontFamily:"inherit",fontSize:"14px",borderRadius:"12px",padding:"16px",buttonStyle:"rounded",buttonSize:"md"};function Iw(t){return{...ZY,...t}}function Uw(t){switch(t){case"pill":return"9999px";case"square":return"4px";case"rounded":default:return"8px"}}const t4=G.createContext(null),dS=()=>{const t=G.useContext(t4);let e;try{e=Zo()}catch{e=null}return t||Iw(e?{primaryColor:e.primaryColor,primaryTextColor:e.primaryTextColor,backgroundColor:e.surfaceColor,textColor:e.textColor,mutedTextColor:e.mutedTextColor,borderColor:e.borderColor,errorColor:e.errorColor,successColor:e.successColor,buttonStyle:e.buttonStyle}:{})},QY=({payload:t,isProcessing:e,onComplete:n})=>{var T;const r=dS(),a=Uw(r.buttonStyle),{data:s}=t,l=G.useMemo(()=>HY(s.available_slots),[s.available_slots]),[c,h]=G.useState(((T=l[0])==null?void 0:T.date)||""),[p,v]=G.useState(null),b=l.find(E=>E.date===c),k=()=>{p&&n(p.id,p.datetime)};return W.jsxs("div",{children:[W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-mb-3",children:[W.jsx(FI,{className:"ringg_ai-w-4 ringg_ai-h-4",style:{color:r.primaryColor}}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-font-medium",style:{color:r.textColor},children:s.title})]}),W.jsxs("p",{className:"ringg_ai-text-xs ringg_ai-mb-3",style:{color:r.mutedTextColor},children:["Timezone: ",s.timezone]}),W.jsxs("div",{className:"ringg_ai-mb-3",children:[W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-font-semibold ringg_ai-uppercase ringg_ai-tracking-wide ringg_ai-mb-2",style:{color:r.mutedTextColor},children:"Select Date"}),W.jsx("div",{className:"ringg_ai-flex ringg_ai-gap-2 ringg_ai-flex-wrap",children:l.map(E=>W.jsx("button",{onClick:()=>{h(E.date),v(null)},className:xr("ringg_ai-px-3 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-font-semibold ringg_ai-transition-all ringg_ai-duration-200","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-1"),style:{borderRadius:a,backgroundColor:c===E.date?r.primaryColor:"white",color:c===E.date?r.primaryTextColor:r.textColor,border:c===E.date?"none":`1px solid ${r.borderColor}`,boxShadow:c===E.date?"0 2px 4px rgba(0,0,0,0.1)":"none","--tw-ring-color":r.primaryColor},children:E.dateLabel},E.date))})]}),W.jsx(sx,{mode:"wait",children:b&&W.jsxs(mu.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"ringg_ai-mb-3",children:[W.jsxs("p",{className:"ringg_ai-text-xs ringg_ai-font-semibold ringg_ai-uppercase ringg_ai-tracking-wide ringg_ai-mb-2 ringg_ai-flex ringg_ai-items-center ringg_ai-gap-1",style:{color:r.mutedTextColor},children:[W.jsx(VI,{className:"ringg_ai-w-3 ringg_ai-h-3"}),"Select Time"]}),W.jsx("div",{className:"ringg_ai-grid ringg_ai-grid-cols-3 ringg_ai-gap-1.5",children:b.slots.map(E=>W.jsx("button",{onClick:()=>v(E),className:xr("ringg_ai-px-2 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-font-medium ringg_ai-transition-all ringg_ai-duration-200","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-1"),style:{borderRadius:a,backgroundColor:(p==null?void 0:p.id)===E.id?r.primaryColor:"white",color:(p==null?void 0:p.id)===E.id?r.primaryTextColor:r.textColor,border:`1px solid ${(p==null?void 0:p.id)===E.id?r.primaryColor:r.borderColor}`,boxShadow:(p==null?void 0:p.id)===E.id?"0 2px 4px rgba(0,0,0,0.1)":"none","--tw-ring-color":r.primaryColor},children:e4(E.datetime,s.timezone)},E.id))})]},c)}),W.jsx("button",{onClick:k,disabled:!p||e,className:xr("ringg_ai-w-full ringg_ai-h-9 ringg_ai-text-sm ringg_ai-font-semibold ringg_ai-transition-all ringg_ai-duration-200","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-2","disabled:ringg_ai-opacity-50 disabled:ringg_ai-cursor-not-allowed disabled:hover:ringg_ai-opacity-50"),style:{borderRadius:a,backgroundColor:!p||e?r.borderColor:r.primaryColor,color:!p||e?r.mutedTextColor:r.primaryTextColor,"--tw-ring-color":r.primaryColor},children:e?W.jsxs("span",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2",children:[W.jsx(Gb,{className:"ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin"}),"Processing..."]}):"Next"})]})},XY={text:pw,email:BI,tel:nW,number:pw,select:jI,textarea:zI},JY=({payload:t,isProcessing:e,onComplete:n})=>{const r=dS(),a=Uw(r.buttonStyle),{data:s}=t,[l,c]=G.useState({}),[h,p]=G.useState({}),v=(U,V)=>{if(U.required&&!V.trim())return`${U.label} is required`;if(V&&U.validation){if(U.validation.minLength&&V.length<U.validation.minLength)return U.validation.message||`${U.label} must be at least ${U.validation.minLength} characters`;if(U.validation.maxLength&&V.length>U.validation.maxLength)return U.validation.message||`${U.label} must be at most ${U.validation.maxLength} characters`;if(U.validation.pattern&&!new RegExp(U.validation.pattern).test(V))return U.validation.message||`${U.label} is invalid`}return U.type==="email"&&V&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(V)?"Please enter a valid email address":U.type==="tel"&&V&&!/^[\d\s\-+()]{7,}$/.test(V)?"Please enter a valid phone number":null},b=()=>{const U={};let V=!0;return s.fields.forEach(j=>{const I=v(j,l[j.name]||"");I&&(U[j.name]=I,V=!1)}),p(U),V},k=(U,V)=>{c(j=>({...j,[U]:V})),h[U]&&p(j=>{const I={...j};return delete I[U],I})},T=()=>{b()&&n(l)},E=U=>typeof U=="string"?U:U.label,R=U=>typeof U=="string"?U:U.value,M=U=>({backgroundColor:"white",color:r.textColor,borderColor:U?r.errorColor:r.borderColor,borderRadius:a}),A="focus:ringg_ai-outline-none focus:ringg_ai-ring-2";return W.jsxs("div",{children:[W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-mb-2",children:[W.jsx(zI,{className:"ringg_ai-w-4 ringg_ai-h-4",style:{color:r.primaryColor}}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-font-medium",style:{color:r.textColor},children:s.title})]}),s.description&&W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-mb-3",style:{color:r.mutedTextColor},children:s.description}),W.jsx("div",{className:"ringg_ai-space-y-2.5 ringg_ai-mb-3",children:s.fields.map(U=>{const V=XY[U.type]||pw,j=!!h[U.name];return W.jsxs("div",{children:[W.jsxs("label",{className:"ringg_ai-text-xs ringg_ai-font-medium ringg_ai-mb-1 ringg_ai-flex ringg_ai-items-center ringg_ai-gap-1",style:{color:r.mutedTextColor},children:[W.jsx(V,{className:"ringg_ai-w-3 ringg_ai-h-3"}),U.label,U.required&&W.jsx("span",{style:{color:r.errorColor},children:"*"})]}),U.type==="select"&&U.options&&W.jsxs("div",{className:"ringg_ai-relative",children:[W.jsxs("select",{value:l[U.name]||"",onChange:I=>k(U.name,I.target.value),className:xr("ringg_ai-w-full ringg_ai-px-3 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-border ringg_ai-transition-colors ringg_ai-appearance-none",A),style:{...M(j),"--tw-ring-color":r.primaryColor},children:[W.jsx("option",{value:"",children:U.placeholder||`Select ${U.label.toLowerCase()}`}),U.options.map((I,N)=>W.jsx("option",{value:R(I),children:E(I)},N))]}),W.jsx(jI,{className:"ringg_ai-absolute ringg_ai-right-3 ringg_ai-top-1/2 -ringg_ai-translate-y-1/2 ringg_ai-w-3.5 ringg_ai-h-3.5 ringg_ai-pointer-events-none",style:{color:r.mutedTextColor}})]}),U.type==="textarea"&&W.jsx("textarea",{placeholder:U.placeholder||`Enter ${U.label.toLowerCase()}`,value:l[U.name]||"",onChange:I=>k(U.name,I.target.value),rows:2,className:xr("ringg_ai-w-full ringg_ai-px-3 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-border ringg_ai-transition-colors ringg_ai-resize-none",A),style:{...M(j),"--tw-ring-color":r.primaryColor}}),U.type!=="select"&&U.type!=="textarea"&&W.jsx("input",{type:U.type,placeholder:U.placeholder||`Enter ${U.label.toLowerCase()}`,value:l[U.name]||"",onChange:I=>k(U.name,I.target.value),className:xr("ringg_ai-w-full ringg_ai-px-3 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-border ringg_ai-transition-colors",A),style:{...M(j),"--tw-ring-color":r.primaryColor}}),j&&W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-mt-0.5",style:{color:r.errorColor},children:h[U.name]})]},U.name)})}),W.jsx("button",{onClick:T,disabled:e,className:xr("ringg_ai-w-full ringg_ai-h-9 ringg_ai-text-sm ringg_ai-font-semibold ringg_ai-transition-all ringg_ai-duration-200","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-2","disabled:ringg_ai-opacity-50 disabled:ringg_ai-cursor-not-allowed disabled:hover:ringg_ai-opacity-50"),style:{borderRadius:a,backgroundColor:e?r.borderColor:r.primaryColor,color:e?r.mutedTextColor:r.primaryTextColor,"--tw-ring-color":r.primaryColor},children:e?W.jsxs("span",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2",children:[W.jsx(Gb,{className:"ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin"}),"Submitting..."]}):s.submit_label||"Next"})]})},eK=({payload:t,isProcessing:e,onButtonClick:n})=>{const r=dS(),a=Uw(r.buttonStyle),{data:s}=t,[l,c]=G.useState(null),h=async v=>{if(v.action.type==="navigate"){n(v.id,v.action);return}c(v.id);try{await n(v.id,v.action)}finally{c(null)}},p=v=>{const b={borderRadius:a};switch(v){case"primary":return{...b,backgroundColor:r.primaryColor,color:r.primaryTextColor};case"secondary":return{...b,backgroundColor:r.surfaceColor,color:r.textColor,border:`1px solid ${r.borderColor}`};case"outline":return{...b,backgroundColor:"transparent",color:r.primaryColor,border:`2px solid ${r.primaryColor}`};case"destructive":return{...b,backgroundColor:r.errorColor,color:r.primaryTextColor};default:return{...b,backgroundColor:r.primaryColor,color:r.primaryTextColor}}};return W.jsxs("div",{children:[s.title&&W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-font-medium ringg_ai-mb-3",style:{color:r.textColor},children:s.title}),W.jsx("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2",children:s.buttons.map(v=>{const b=l===v.id||e&&l===v.id,k=v.action.type==="navigate",T=b||e;return W.jsx("button",{onClick:()=>h(v),disabled:T,className:xr("ringg_ai-w-full ringg_ai-h-9 ringg_ai-text-sm ringg_ai-font-semibold ringg_ai-transition-all ringg_ai-duration-200 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-2",T&&"ringg_ai-opacity-50 ringg_ai-cursor-not-allowed hover:ringg_ai-opacity-50"),style:{...p(v.style),"--tw-ring-color":r.primaryColor},children:b?W.jsxs(W.Fragment,{children:[W.jsx(Gb,{className:"ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin"}),"Loading..."]}):W.jsxs(W.Fragment,{children:[v.label,k&&W.jsx(Xq,{className:"ringg_ai-w-3.5 ringg_ai-h-3.5"})]})},v.id)})})]})},n4=({data:t,collectedData:e})=>{const n=dS(),r=t.icon||"success",a=()=>{switch(r){case"success":return{icon:hw,bgColor:n.successColor};case"info":return{icon:Jq,bgColor:n.primaryColor};case"warning":return{icon:rW,bgColor:"#f59e0b"};case"error":return{icon:Qq,bgColor:n.errorColor};default:return{icon:hw,bgColor:n.successColor}}},{icon:s,bgColor:l}=a(),c=t.details||[],h=["slot_date","slot_time","name","email","phone"],p=e?Object.entries(e).filter(([k])=>h.includes(k)).sort((k,T)=>h.indexOf(k[0])-h.indexOf(T[0])).map(([k,T])=>({key:k,label:k.replace(/slot_/g,"").replace(/_/g," ").replace(/\b\w/g,E=>E.toUpperCase()),value:T})):[],v=c.length>0?c:p,b=k=>k?k.includes("date")?FI:k.includes("time")?VI:k.includes("email")?BI:k.includes("name")?iW:null:null;return W.jsxs(mu.div,{initial:{opacity:0},animate:{opacity:1},className:"ringg_ai-py-2",children:[W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-start ringg_ai-gap-3 ringg_ai-mb-4",children:[W.jsx(mu.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:400,damping:15},className:"ringg_ai-w-9 ringg_ai-h-9 ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-flex-shrink-0",style:{backgroundColor:l},children:W.jsx(s,{className:"ringg_ai-w-4.5 ringg_ai-h-4.5 ringg_ai-text-white"})}),W.jsxs(mu.div,{initial:{opacity:0,x:-8},animate:{opacity:1,x:0},transition:{delay:.1},className:"ringg_ai-flex-1 ringg_ai-min-w-0 ringg_ai-pt-0.5",children:[W.jsx("h3",{className:"ringg_ai-text-sm ringg_ai-font-semibold ringg_ai-leading-tight",style:{color:n.textColor},children:t.title}),t.message&&W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-mt-1 ringg_ai-leading-relaxed",style:{color:n.mutedTextColor},children:t.message})]})]}),v.length>0&&W.jsx(mu.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.15},className:"ringg_ai-rounded-lg ringg_ai-divide-y",style:{backgroundColor:n.surfaceColor,borderColor:n.borderColor},children:v.slice(0,4).map((k,T)=>{const E=k.key?b(k.key):null;return W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2.5 ringg_ai-px-3 ringg_ai-py-2.5",style:{borderColor:n.borderColor},children:[E&&W.jsx(E,{className:"ringg_ai-w-3.5 ringg_ai-h-3.5 ringg_ai-flex-shrink-0",style:{color:n.mutedTextColor}}),W.jsx("span",{className:"ringg_ai-text-xs ringg_ai-flex-shrink-0",style:{color:n.mutedTextColor},children:k.label}),W.jsx("span",{className:"ringg_ai-text-xs ringg_ai-font-medium ringg_ai-ml-auto ringg_ai-truncate",style:{color:n.textColor},title:k.value,children:k.value})]},T)})})]})};function tK(t){return t.component_type==="interactive_flow"}const nK=({initialComponent:t,onApiCall:e,onComplete:n,onSendResponse:r})=>{const a=tK(t),s=Zo(),l=G.useMemo(()=>{const X=t.theme||{};return Iw({primaryColor:s.primaryColor,primaryTextColor:s.primaryTextColor,backgroundColor:s.surfaceColor,surfaceColor:s.backgroundColor,textColor:s.textColor,mutedTextColor:s.mutedTextColor,borderColor:s.borderColor,...X})},[t.theme,s]),c=a?t.data.steps:[{id:"single",title:"",component:t}],h=c.length,[p,v]=G.useState(0),[b,k]=G.useState(!1),[T,E]=G.useState({}),[R,M]=G.useState(null),[A,U]=G.useState(new Array(h).fill(!1)),V=c[p],j=h>1,I=G.useCallback(()=>{p>0&&v(X=>X-1)},[p]),N=G.useCallback(async X=>{k(!0);const se={...T,...X};E(se),U($=>{const oe=[...$];return oe[p]=!0,oe});try{const $=p===h-1;if(r)await r(t.component_id,{step_index:p,step_data:X,all_data:se,is_final_step:$}),$?(M({title:"Success!",message:"Your selection has been submitted.",icon:"success"}),n==null||n(se)):v(oe=>oe+1);else if($)if(a){const{on_complete:oe}=t.data,te=qY(oe.payload,{...se,all_data:JSON.stringify(se)}),xe=await e(oe.method,oe.endpoint,te);if(xe.success)M(xe.confirmation||{title:"Success!",message:xe.message,icon:"success"}),n==null||n(se);else throw new Error(xe.message||"Failed to complete")}else n==null||n(se);else v(oe=>oe+1)}catch($){console.error("Error processing step:",$),M({title:"Something went wrong",message:$.message||"Please try again.",icon:"error"})}finally{k(!1)}},[T,p,h,a,t,V,e,n,r]),ne=G.useCallback(async(X,se)=>{if(se.type==="navigate"&&se.url){window.open(se.url,"_blank","noopener,noreferrer");return}if(r){N({selected_button:X});return}if(se.type==="api_call"&&se.endpoint){k(!0);try{(await e(se.method||"POST",se.endpoint,se.payload||{})).success&&N({selected_button:X})}catch($){console.error("Error in button action:",$)}finally{k(!1)}}else N({selected_button:X})},[e,N,r]);return W.jsx(t4.Provider,{value:l,children:W.jsxs(mu.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"ringg_ai-w-full ringg_ai-rounded-xl ringg_ai-overflow-hidden",style:{backgroundColor:l.backgroundColor,color:l.textColor,fontFamily:l.fontFamily,fontSize:l.fontSize,borderRadius:l.borderRadius},children:[j&&!R&&W.jsxs("div",{className:"ringg_ai-px-4 ringg_ai-pt-4 ringg_ai-pb-3",children:[W.jsx("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2",children:c.map((X,se)=>W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-flex-1 ringg_ai-min-w-0",children:[W.jsx("div",{className:"ringg_ai-w-7 ringg_ai-h-7 ringg_ai-rounded-full ringg_ai-text-xs ringg_ai-font-semibold ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-flex-shrink-0 ringg_ai-transition-all",style:{backgroundColor:A[se]?l.successColor:se===p?l.primaryColor:l.borderColor,color:A[se]||se===p?l.primaryTextColor:l.mutedTextColor},children:A[se]?W.jsx(hw,{className:"ringg_ai-w-3.5 ringg_ai-h-3.5"}):se+1}),se<c.length-1&&W.jsx("div",{className:"ringg_ai-flex-1 ringg_ai-h-[2px] ringg_ai-rounded-full ringg_ai-transition-all",style:{backgroundColor:A[se]?l.successColor:l.borderColor}})]},X.id))}),W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-font-medium ringg_ai-mt-3 ringg_ai-truncate",style:{color:l.textColor},children:V.title||`Step ${p+1} of ${h}`})]}),W.jsxs("div",{className:xr("ringg_ai-px-4 ringg_ai-pb-4",!j&&"ringg_ai-pt-4"),children:[p>0&&!R&&W.jsxs("button",{onClick:I,className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-1 ringg_ai-text-xs ringg_ai-mb-3 ringg_ai-transition-colors hover:ringg_ai-opacity-80",style:{color:l.mutedTextColor},children:[W.jsx(Zq,{className:"ringg_ai-w-3.5 ringg_ai-h-3.5"}),"Back"]}),W.jsx(sx,{mode:"wait",children:R?W.jsx(n4,{data:R,collectedData:T},"confirmation"):W.jsxs(mu.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.2},children:[WY(V.component)&&W.jsx(QY,{payload:V.component,isProcessing:b,onComplete:(X,se)=>{const $=V.component.data.timezone;N({slot_id:X,slot_datetime:se,slot_time:e4(se,$),slot_date:$Y(se,$)})}}),GY(V.component)&&W.jsx(JY,{payload:V.component,isProcessing:b,onComplete:X=>N(X)}),YY(V.component)&&W.jsx(eK,{payload:V.component,isProcessing:b,onButtonClick:ne}),KY(V.component)&&W.jsx(n4,{data:V.component.data})]},p)})]})]})})};function Vse(){}function zse(){}function rK(t,e){const n={};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const iK=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,aK=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,oK={};function r4(t,e){return(oK.jsx?aK:iK).test(t)}const sK=/[ \t\n\f\r]/g;function lK(t){return typeof t=="object"?t.type==="text"?i4(t.value):!1:i4(t)}function i4(t){return t.replace(sK,"")===""}class kv{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}}kv.prototype.property={},kv.prototype.normal={},kv.prototype.space=null;function a4(t,e){const n={},r={};let a=-1;for(;++a<t.length;)Object.assign(n,t[a].property),Object.assign(r,t[a].normal);return new kv(n,r,e)}function Fw(t){return t.toLowerCase()}class Xo{constructor(e,n){this.property=e,this.attribute=n}}Xo.prototype.space=null,Xo.prototype.boolean=!1,Xo.prototype.booleanish=!1,Xo.prototype.overloadedBoolean=!1,Xo.prototype.number=!1,Xo.prototype.commaSeparated=!1,Xo.prototype.spaceSeparated=!1,Xo.prototype.commaOrSpaceSeparated=!1,Xo.prototype.mustUseProperty=!1,Xo.prototype.defined=!1;let uK=0;const mn=ff(),gi=ff(),o4=ff(),Ye=ff(),wr=ff(),yp=ff(),Oo=ff();function ff(){return 2**++uK}const jw=Object.freeze(Object.defineProperty({__proto__:null,boolean:mn,booleanish:gi,commaOrSpaceSeparated:Oo,commaSeparated:yp,number:Ye,overloadedBoolean:o4,spaceSeparated:wr},Symbol.toStringTag,{value:"Module"})),Vw=Object.keys(jw);class zw extends Xo{constructor(e,n,r,a){let s=-1;if(super(e,n),s4(this,"space",a),typeof r=="number")for(;++s<Vw.length;){const l=Vw[s];s4(this,Vw[s],(r&jw[l])===jw[l])}}}zw.prototype.defined=!0;function s4(t,e,n){n&&(t[e]=n)}const cK={}.hasOwnProperty;function bp(t){const e={},n={};let r;for(r in t.properties)if(cK.call(t.properties,r)){const a=t.properties[r],s=new zw(r,t.transform(t.attributes||{},r),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),e[r]=s,n[Fw(r)]=r,n[Fw(s.attribute)]=r}return new kv(e,n,t.space)}const l4=bp({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),u4=bp({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function c4(t,e){return e in t?t[e]:e}function d4(t,e){return c4(t,e.toLowerCase())}const f4=bp({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:d4,properties:{xmlns:null,xmlnsXLink:null}}),h4=bp({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:gi,ariaAutoComplete:null,ariaBusy:gi,ariaChecked:gi,ariaColCount:Ye,ariaColIndex:Ye,ariaColSpan:Ye,ariaControls:wr,ariaCurrent:null,ariaDescribedBy:wr,ariaDetails:null,ariaDisabled:gi,ariaDropEffect:wr,ariaErrorMessage:null,ariaExpanded:gi,ariaFlowTo:wr,ariaGrabbed:gi,ariaHasPopup:null,ariaHidden:gi,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wr,ariaLevel:Ye,ariaLive:null,ariaModal:gi,ariaMultiLine:gi,ariaMultiSelectable:gi,ariaOrientation:null,ariaOwns:wr,ariaPlaceholder:null,ariaPosInSet:Ye,ariaPressed:gi,ariaReadOnly:gi,ariaRelevant:null,ariaRequired:gi,ariaRoleDescription:wr,ariaRowCount:Ye,ariaRowIndex:Ye,ariaRowSpan:Ye,ariaSelected:gi,ariaSetSize:Ye,ariaSort:null,ariaValueMax:Ye,ariaValueMin:Ye,ariaValueNow:Ye,ariaValueText:null,role:null}}),dK=bp({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:d4,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:yp,acceptCharset:wr,accessKey:wr,action:null,allow:null,allowFullScreen:mn,allowPaymentRequest:mn,allowUserMedia:mn,alt:null,as:null,async:mn,autoCapitalize:null,autoComplete:wr,autoFocus:mn,autoPlay:mn,blocking:wr,capture:null,charSet:null,checked:mn,cite:null,className:wr,cols:Ye,colSpan:null,content:null,contentEditable:gi,controls:mn,controlsList:wr,coords:Ye|yp,crossOrigin:null,data:null,dateTime:null,decoding:null,default:mn,defer:mn,dir:null,dirName:null,disabled:mn,download:o4,draggable:gi,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:mn,formTarget:null,headers:wr,height:Ye,hidden:mn,high:Ye,href:null,hrefLang:null,htmlFor:wr,httpEquiv:wr,id:null,imageSizes:null,imageSrcSet:null,inert:mn,inputMode:null,integrity:null,is:null,isMap:mn,itemId:null,itemProp:wr,itemRef:wr,itemScope:mn,itemType:wr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:mn,low:Ye,manifest:null,max:null,maxLength:Ye,media:null,method:null,min:null,minLength:Ye,multiple:mn,muted:mn,name:null,nonce:null,noModule:mn,noValidate:mn,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:mn,optimum:Ye,pattern:null,ping:wr,placeholder:null,playsInline:mn,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:mn,referrerPolicy:null,rel:wr,required:mn,reversed:mn,rows:Ye,rowSpan:Ye,sandbox:wr,scope:null,scoped:mn,seamless:mn,selected:mn,shadowRootClonable:mn,shadowRootDelegatesFocus:mn,shadowRootMode:null,shape:null,size:Ye,sizes:null,slot:null,span:Ye,spellCheck:gi,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ye,step:null,style:null,tabIndex:Ye,target:null,title:null,translate:null,type:null,typeMustMatch:mn,useMap:null,value:gi,width:Ye,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:wr,axis:null,background:null,bgColor:null,border:Ye,borderColor:null,bottomMargin:Ye,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:mn,declare:mn,event:null,face:null,frame:null,frameBorder:null,hSpace:Ye,leftMargin:Ye,link:null,longDesc:null,lowSrc:null,marginHeight:Ye,marginWidth:Ye,noResize:mn,noHref:mn,noShade:mn,noWrap:mn,object:null,profile:null,prompt:null,rev:null,rightMargin:Ye,rules:null,scheme:null,scrolling:gi,standby:null,summary:null,text:null,topMargin:Ye,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ye,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:mn,disableRemotePlayback:mn,prefix:null,property:null,results:Ye,security:null,unselectable:null}}),fK=bp({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:c4,properties:{about:Oo,accentHeight:Ye,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ye,amplitude:Ye,arabicForm:null,ascent:Ye,attributeName:null,attributeType:null,azimuth:Ye,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ye,by:null,calcMode:null,capHeight:Ye,className:wr,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ye,diffuseConstant:Ye,direction:null,display:null,dur:null,divisor:Ye,dominantBaseline:null,download:mn,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ye,enableBackground:null,end:null,event:null,exponent:Ye,externalResourcesRequired:null,fill:null,fillOpacity:Ye,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:yp,g2:yp,glyphName:yp,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ye,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ye,horizOriginX:Ye,horizOriginY:Ye,id:null,ideographic:Ye,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ye,k:Ye,k1:Ye,k2:Ye,k3:Ye,k4:Ye,kernelMatrix:Oo,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ye,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ye,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ye,overlineThickness:Ye,paintOrder:null,panose1:null,path:null,pathLength:Ye,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ye,pointsAtY:Ye,pointsAtZ:Ye,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oo,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oo,rev:Oo,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oo,requiredFeatures:Oo,requiredFonts:Oo,requiredFormats:Oo,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ye,specularExponent:Ye,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ye,strikethroughThickness:Ye,string:null,stroke:null,strokeDashArray:Oo,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ye,strokeOpacity:Ye,strokeWidth:null,style:null,surfaceScale:Ye,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oo,tabIndex:Ye,tableValues:null,target:null,targetX:Ye,targetY:Ye,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oo,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ye,underlineThickness:Ye,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ye,values:null,vAlphabetic:Ye,vMathematical:Ye,vectorEffect:null,vHanging:Ye,vIdeographic:Ye,version:null,vertAdvY:Ye,vertOriginX:Ye,vertOriginY:Ye,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ye,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),hK=/^data[-\w.:]+$/i,p4=/-[a-z]/g,pK=/[A-Z]/g;function mK(t,e){const n=Fw(e);let r=e,a=Xo;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&hK.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(p4,vK);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!p4.test(s)){let l=s.replace(pK,gK);l.charAt(0)!=="-"&&(l="-"+l),e="data"+l}}a=zw}return new a(r,e)}function gK(t){return"-"+t.toLowerCase()}function vK(t){return t.charAt(1).toUpperCase()}const yK={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},bK=a4([u4,l4,f4,h4,dK],"html"),Bw=a4([u4,l4,f4,h4,fK],"svg");function SK(t){return t.join(" ").trim()}var m4={},g4=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,CK=/\n/g,kK=/^\s*/,TK=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,xK=/^:\s*/,wK=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,_K=/^[;\s]*/,EK=/^\s+|\s+$/g,RK=`
|
|
398
|
+
*/const aW=Bi("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),oW=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M11.5253 1.30593C11.5508 1.21075 11.5947 1.12151 11.6547 1.04333C11.7147 0.965143 11.7894 0.899537 11.8748 0.85026C11.9601 0.800983 12.0543 0.769 12.152 0.756139C12.2496 0.743278 12.3489 0.749791 12.4441 0.775306C13.8344 1.13807 15.103 1.86491 16.119 2.88096C17.1351 3.89702 17.8619 5.16556 18.2247 6.55593C18.2502 6.6511 18.2567 6.75036 18.2439 6.84805C18.231 6.94573 18.199 7.03993 18.1497 7.12525C18.1005 7.21057 18.0349 7.28534 17.9567 7.3453C17.8785 7.40526 17.7893 7.44922 17.6941 7.47468C17.6307 7.49132 17.5655 7.49983 17.5 7.49999C17.3347 7.49999 17.1741 7.44539 17.043 7.34469C16.912 7.24399 16.8179 7.10282 16.7753 6.94312C16.4795 5.80811 15.8863 4.77253 15.0569 3.94314C14.2275 3.11375 13.1919 2.52054 12.0569 2.22468C11.9616 2.19932 11.8723 2.15543 11.794 2.09552C11.7157 2.0356 11.65 1.96084 11.6006 1.87551C11.5513 1.79018 11.5192 1.69595 11.5063 1.59822C11.4933 1.50048 11.4998 1.40116 11.5253 1.30593ZM11.3069 5.22468C12.5997 5.56968 13.4303 6.40031 13.7753 7.69312C13.8179 7.85282 13.912 7.99399 14.043 8.09469C14.1741 8.19539 14.3347 8.24999 14.5 8.24999C14.5655 8.24983 14.6307 8.24132 14.6941 8.22468C14.7893 8.19922 14.8785 8.15526 14.9567 8.0953C15.0349 8.03534 15.1005 7.96057 15.1497 7.87525C15.199 7.78993 15.231 7.69573 15.2439 7.59805C15.2567 7.50036 15.2502 7.4011 15.2247 7.30593C14.7447 5.50968 13.4903 4.25531 11.6941 3.77531C11.5019 3.72396 11.2971 3.75107 11.1249 3.85067C10.9527 3.95027 10.8271 4.1142 10.7758 4.3064C10.7244 4.4986 10.7516 4.70332 10.8512 4.87553C10.9508 5.04774 11.1147 5.17334 11.3069 5.22468ZM18.9888 14.1637C18.8216 15.4341 18.1977 16.6001 17.2337 17.4441C16.2696 18.2881 15.0313 18.7523 13.75 18.75C6.30626 18.75 0.250008 12.6937 0.250008 5.24999C0.247712 3.9687 0.711903 2.73039 1.55588 1.76633C2.39986 0.802276 3.56592 0.178406 4.83626 0.0112434C5.1575 -0.0279808 5.4828 0.0377391 5.76362 0.198592C6.04444 0.359445 6.2657 0.606804 6.39438 0.903743L8.37438 5.32406V5.33531C8.4729 5.56261 8.51359 5.81077 8.49282 6.05763C8.47204 6.30449 8.39044 6.54236 8.25532 6.74999C8.23845 6.77531 8.22063 6.79874 8.20188 6.82218L6.25001 9.13593C6.9522 10.5628 8.4447 12.0422 9.89032 12.7462L12.1722 10.8047C12.1946 10.7858 12.2181 10.7683 12.2425 10.7522C12.45 10.6138 12.6887 10.5293 12.937 10.5064C13.1853 10.4835 13.4354 10.5229 13.6647 10.6209L13.6769 10.6266L18.0934 12.6056C18.3909 12.7338 18.6389 12.9549 18.8003 13.2358C18.9616 13.5166 19.0278 13.8422 18.9888 14.1637ZM17.5 13.9762C17.5 13.9762 17.4934 13.9762 17.4897 13.9762L13.0834 12.0028L10.8006 13.9444C10.7785 13.9631 10.7553 13.9807 10.7313 13.9969C10.5154 14.1409 10.2659 14.2264 10.0071 14.2452C9.74828 14.2639 9.48904 14.2152 9.2547 14.1037C7.49876 13.2553 5.74845 11.5181 4.89907 9.78093C4.7866 9.5483 4.73613 9.29055 4.75255 9.03267C4.76898 8.7748 4.85174 8.52554 4.99282 8.30906C5.00872 8.28364 5.02659 8.2595 5.04626 8.23687L7.00001 5.92031L5.03126 1.51406C5.03089 1.51032 5.03089 1.50655 5.03126 1.50281C4.12212 1.6214 3.28739 2.06733 2.68339 2.7571C2.0794 3.44687 1.74755 4.33316 1.75001 5.24999C1.75348 8.43153 3.01888 11.4818 5.26856 13.7314C7.51825 15.9811 10.5685 17.2465 13.75 17.25C14.6663 17.2531 15.5523 16.9225 16.2425 16.3198C16.9327 15.7171 17.3797 14.8837 17.5 13.9753V13.9762Z"})}),sW=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M15.3727 11.3798L11.6922 9.73056L11.682 9.72587C11.491 9.64415 11.2825 9.61135 11.0756 9.63045C10.8687 9.64954 10.6698 9.71993 10.4969 9.83524C10.4765 9.84869 10.457 9.86329 10.4383 9.87899L8.53673 11.5001C7.33204 10.9149 6.08829 9.68055 5.50313 8.49149L7.12657 6.56102C7.14219 6.54149 7.15704 6.52196 7.1711 6.50087C7.28394 6.32845 7.35239 6.13081 7.37039 5.92553C7.38838 5.72026 7.35534 5.51372 7.27423 5.3243V5.31493L5.62032 1.62821C5.51309 1.38076 5.3287 1.17463 5.09468 1.04058C4.86067 0.906541 4.58958 0.851774 4.32188 0.884461C3.26326 1.02376 2.29155 1.54366 1.58824 2.34704C0.884919 3.15042 0.498093 4.18234 0.500007 5.25009C0.500007 11.4532 5.54688 16.5001 11.75 16.5001C12.8177 16.502 13.8497 16.1152 14.6531 15.4119C15.4564 14.7085 15.9763 13.7368 16.1156 12.6782C16.1484 12.4106 16.0937 12.1396 15.9598 11.9056C15.8259 11.6716 15.62 11.4871 15.3727 11.3798ZM11.75 15.2501C9.09873 15.2472 6.55687 14.1927 4.68214 12.318C2.8074 10.4432 1.7529 7.90136 1.75001 5.25009C1.74707 4.48719 2.02192 3.7493 2.52324 3.17423C3.02456 2.59916 3.71806 2.22623 4.47423 2.12509C4.47392 2.1282 4.47392 2.13134 4.47423 2.13446L6.11485 5.80634L4.50001 7.73915C4.48362 7.75801 4.46873 7.77812 4.45548 7.7993C4.33791 7.97971 4.26894 8.18743 4.25525 8.40232C4.24157 8.61722 4.28362 8.83201 4.37735 9.02587C5.08516 10.4735 6.54376 11.9212 8.00704 12.6282C8.20232 12.7211 8.41835 12.7617 8.63403 12.7461C8.8497 12.7304 9.05763 12.6592 9.23751 12.5391C9.25757 12.5256 9.27687 12.511 9.29532 12.4954L11.1945 10.8751L14.8664 12.5196C14.8664 12.5196 14.8727 12.5196 14.875 12.5196C14.7751 13.2769 14.4027 13.9718 13.8275 14.4743C13.2524 14.9769 12.5138 15.2527 11.75 15.2501Z"})}),lW=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 20 16",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M4.21328 0.704679C4.15839 0.642809 4.09177 0.592448 4.01728 0.556515C3.94278 0.520582 3.8619 0.499791 3.77931 0.495348C3.69672 0.490905 3.61408 0.502898 3.53616 0.530632C3.45824 0.558365 3.3866 0.601288 3.32539 0.656913C3.26419 0.712537 3.21463 0.779756 3.17959 0.854675C3.14455 0.929593 3.12473 1.01072 3.12128 1.09336C3.11783 1.17599 3.13081 1.25849 3.15948 1.33607C3.18814 1.41365 3.23192 1.48477 3.28828 1.5453L5.44375 3.91718C4.12152 4.47256 2.92021 5.28033 1.90703 6.2953C0.344526 7.8578 0.194526 10.1594 1.54062 11.8945C1.70579 12.1059 1.93457 12.2585 2.19315 12.3298C2.45172 12.4011 2.72639 12.3874 2.97656 12.2906L6.80468 10.9336L6.82734 10.925C7.02045 10.8478 7.19125 10.7236 7.32426 10.5637C7.45727 10.4039 7.54829 10.2133 7.58906 10.0094L8.05 7.7039C8.26906 7.62838 8.49236 7.56578 8.71875 7.5164L15.7898 15.2953C15.8447 15.3572 15.9113 15.4075 15.9858 15.4435C16.0603 15.4794 16.1412 15.5002 16.2238 15.5046C16.3064 15.5091 16.389 15.4971 16.467 15.4694C16.5449 15.4416 16.6165 15.3987 16.6777 15.3431C16.7389 15.2874 16.7885 15.2202 16.8235 15.1453C16.8586 15.0704 16.8784 14.9893 16.8818 14.9066C16.8853 14.824 16.8723 14.7415 16.8436 14.6639C16.815 14.5863 16.7712 14.5152 16.7148 14.4547L4.21328 0.704679ZM7.62734 6.52655C7.42378 6.59909 7.24251 6.72315 7.1012 6.88664C6.9599 7.05013 6.86339 7.24745 6.82109 7.45937L6.36015 9.76405L2.54921 11.1156C2.5414 11.1156 2.53593 11.1258 2.52812 11.1289C1.56484 9.88671 1.66874 8.29921 2.79062 7.1789C3.79625 6.17293 5.00827 5.39726 6.34296 4.90546L7.77265 6.4789C7.72421 6.49452 7.67578 6.50937 7.62734 6.52655ZM18.4594 11.8945C18.2942 12.1059 18.0654 12.2585 17.8068 12.3298C17.5483 12.4011 17.2736 12.3874 17.0234 12.2906L16.3008 12.0344C16.2234 12.0069 16.1522 11.9645 16.0913 11.9096C16.0303 11.8546 15.9808 11.7882 15.9455 11.7141C15.8742 11.5644 15.8653 11.3925 15.9207 11.2363C15.9481 11.159 15.9906 11.0878 16.0455 11.0268C16.1005 10.9658 16.1669 10.9163 16.241 10.881C16.3907 10.8097 16.5625 10.8008 16.7187 10.8562L17.4508 11.1156L17.4742 11.125C18.4352 9.88671 18.3336 8.29921 17.2094 7.1789C15.2047 5.17421 12.375 4.11093 9.44765 4.26405C9.36558 4.26831 9.28346 4.25636 9.20601 4.22889C9.12855 4.20141 9.05726 4.15895 8.99621 4.10392C8.93517 4.0489 8.88556 3.98238 8.85021 3.90819C8.81487 3.83399 8.79449 3.75355 8.79023 3.67148C8.78597 3.5894 8.79792 3.50729 8.8254 3.42983C8.85287 3.35237 8.89534 3.28109 8.95036 3.22004C9.00539 3.15899 9.0719 3.10938 9.1461 3.07404C9.2203 3.03869 9.30073 3.01831 9.38281 3.01405C12.6641 2.84296 15.8383 4.03749 18.093 6.2953C19.6547 7.85702 19.8055 10.1594 18.4594 11.8945Z"})}),uW=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 14 19",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M7 12.75C7.99424 12.749 8.94747 12.3535 9.65051 11.6505C10.3535 10.9475 10.749 9.99424 10.75 9V4C10.75 3.00544 10.3549 2.05161 9.65165 1.34835C8.94839 0.645088 7.99456 0.25 7 0.25C6.00544 0.25 5.05161 0.645088 4.34835 1.34835C3.64509 2.05161 3.25 3.00544 3.25 4V9C3.25103 9.99424 3.64645 10.9475 4.34949 11.6505C5.05253 12.3535 6.00576 12.749 7 12.75ZM4.5 4C4.5 3.33696 4.76339 2.70107 5.23223 2.23223C5.70107 1.76339 6.33696 1.5 7 1.5C7.66304 1.5 8.29893 1.76339 8.76777 2.23223C9.23661 2.70107 9.5 3.33696 9.5 4V9C9.5 9.66304 9.23661 10.2989 8.76777 10.7678C8.29893 11.2366 7.66304 11.5 7 11.5C6.33696 11.5 5.70107 11.2366 5.23223 10.7678C4.76339 10.2989 4.5 9.66304 4.5 9V4ZM7.625 15.2188V17.75C7.625 17.9158 7.55915 18.0747 7.44194 18.1919C7.32473 18.3092 7.16576 18.375 7 18.375C6.83424 18.375 6.67527 18.3092 6.55806 18.1919C6.44085 18.0747 6.375 17.9158 6.375 17.75V15.2188C4.8341 15.062 3.40607 14.3393 2.36707 13.1907C1.32806 12.042 0.751903 10.5489 0.75 9C0.75 8.83424 0.815848 8.67527 0.933058 8.55806C1.05027 8.44085 1.20924 8.375 1.375 8.375C1.54076 8.375 1.69973 8.44085 1.81694 8.55806C1.93415 8.67527 2 8.83424 2 9C2 10.3261 2.52678 11.5979 3.46447 12.5355C4.40215 13.4732 5.67392 14 7 14C8.32608 14 9.59785 13.4732 10.5355 12.5355C11.4732 11.5979 12 10.3261 12 9C12 8.83424 12.0658 8.67527 12.1831 8.55806C12.3003 8.44085 12.4592 8.375 12.625 8.375C12.7908 8.375 12.9497 8.44085 13.0669 8.55806C13.1842 8.67527 13.25 8.83424 13.25 9C13.2481 10.5489 12.6719 12.042 11.6329 13.1907C10.5939 14.3393 9.1659 15.062 7.625 15.2188Z"})}),HI=({fill:t,width:e,height:n,size:r=18,className:a,style:s})=>W.jsx("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",className:a,width:e||r,height:n||r,fill:t||"currentColor",style:s,children:W.jsx("path",{d:"M17.1305 13.5905C17.5623 12.6948 17.7742 11.709 17.7486 10.7149C17.7229 9.72084 17.4604 8.74725 16.983 7.87501C16.5055 7.00276 15.8267 6.25704 15.0032 5.69978C14.1796 5.14253 13.2349 4.78982 12.2477 4.67097C11.9192 3.9072 11.4416 3.21664 10.8429 2.63974C10.2442 2.06284 9.53637 1.6112 8.76093 1.31126C7.98549 1.01131 7.158 0.869103 6.32692 0.892953C5.49584 0.916802 4.67787 1.10623 3.9209 1.45015C3.16394 1.79407 2.48321 2.28556 1.91857 2.89584C1.35393 3.50612 0.916724 4.22293 0.632564 5.00429C0.348404 5.78565 0.222999 6.61585 0.263692 7.44628C0.304386 8.27671 0.510359 9.09067 0.869551 9.8405L0.301582 11.771C0.238079 11.9865 0.233833 12.2151 0.289291 12.4328C0.344749 12.6506 0.457861 12.8493 0.616727 13.0082C0.775593 13.167 0.97434 13.2801 1.19206 13.3356C1.40978 13.3911 1.63842 13.3868 1.85393 13.3233L3.7844 12.7553C4.40426 13.0532 5.06884 13.2472 5.75158 13.3296C6.08328 14.1068 6.56914 14.8086 7.17979 15.3927C7.79043 15.9768 8.51318 16.431 9.30434 16.7279C10.0955 17.0247 10.9386 17.158 11.7828 17.1198C12.6269 17.0815 13.4546 16.8725 14.2156 16.5053L16.1461 17.0733C16.3615 17.1367 16.5901 17.141 16.8077 17.0855C17.0253 17.0301 17.224 16.9171 17.3828 16.7583C17.5417 16.5996 17.6548 16.4009 17.7103 16.1834C17.7659 15.9658 17.7618 15.7372 17.6985 15.5218L17.1305 13.5905ZM3.84377 11.4608C3.78404 11.461 3.72463 11.4694 3.66721 11.4858L1.50002 12.1249L2.1383 9.95613C2.1837 9.79944 2.16603 9.63122 2.08908 9.48738C1.5237 8.43002 1.35711 7.2047 1.61968 6.03477C1.88225 4.86485 2.5565 3.82824 3.51951 3.1139C4.48252 2.39957 5.67017 2.05508 6.86595 2.14324C8.06173 2.2314 9.18601 2.74633 10.0339 3.59417C10.8817 4.44201 11.3966 5.5663 11.4848 6.76208C11.5729 7.95786 11.2285 9.1455 10.5141 10.1085C9.79979 11.0715 8.76318 11.7458 7.59325 12.0083C6.42333 12.2709 5.198 12.1043 4.14065 11.5389C4.04972 11.4886 3.94768 11.4618 3.84377 11.4608ZM15.8586 13.7053L16.5 15.8749L14.3313 15.2366C14.1746 15.1912 14.0064 15.2089 13.8625 15.2858C12.7116 15.9004 11.3662 16.0411 10.113 15.678C8.85983 15.3149 7.79803 14.4767 7.15393 13.3421C8.00969 13.2527 8.83776 12.9875 9.58619 12.5631C10.3346 12.1386 10.9873 11.5641 11.5032 10.8755C12.0191 10.1869 12.3871 9.39916 12.5842 8.56163C12.7813 7.72409 12.8032 6.85486 12.6485 6.00847C13.3941 6.18423 14.0893 6.52896 14.6806 7.01605C15.2718 7.50315 15.7432 8.11959 16.0584 8.81779C16.3736 9.51599 16.5242 10.2773 16.4985 11.0429C16.4728 11.8085 16.2715 12.558 15.9102 13.2335C15.8324 13.3782 15.8147 13.5477 15.861 13.7053H15.8586Z"})}),cW=({fill:t,width:e,height:n,size:r=18,className:a})=>W.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",className:a,width:e||r,height:n||r,fill:t||"currentColor",children:W.jsx("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"})}),$I={primaryColor:"#313335",primaryTextColor:"#ffffff",backgroundColor:"#fafafa",surfaceColor:"#F3F3F5",textColor:"#212121",mutedTextColor:"#11111180",borderColor:"#e5e5e5",errorColor:"#ef4444",successColor:"#10b981",buttonStyle:"rounded",borderRadius:"20px",fontFamily:"inherit"};function qI(t){return{...$I,...t}}function mw(t){switch(t){case"pill":return"9999px";case"square":return"6px";case"rounded":default:return"12px"}}const WI=G.createContext($I);function dW({theme:t,children:e}){const n=G.useMemo(()=>qI(t),[t]);return W.jsx(WI.Provider,{value:n,children:e})}function Zo(){return G.useContext(WI)}function GI(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(n=GI(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function YI(){for(var t,e,n=0,r="",a=arguments.length;n<a;n++)(t=arguments[n])&&(e=GI(t))&&(r&&(r+=" "),r+=e);return r}const gw="-",fW=t=>{const e=pW(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:l=>{const c=l.split(gw);return c[0]===""&&c.length!==1&&c.shift(),KI(c,e)||hW(l)},getConflictingClassGroupIds:(l,c)=>{const h=n[l]||[];return c&&r[l]?[...h,...r[l]]:h}}},KI=(t,e)=>{var l;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),a=r?KI(t.slice(1),r):void 0;if(a)return a;if(e.validators.length===0)return;const s=t.join(gw);return(l=e.validators.find(({validator:c})=>c(s)))==null?void 0:l.classGroupId},ZI=/^\[(.+)\]$/,hW=t=>{if(ZI.test(t)){const e=ZI.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},pW=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return gW(Object.entries(t.classGroups),n).forEach(([s,l])=>{vw(l,r,s,e)}),r},vw=(t,e,n,r)=>{t.forEach(a=>{if(typeof a=="string"){const s=a===""?e:QI(e,a);s.classGroupId=n;return}if(typeof a=="function"){if(mW(a)){vw(a(r),e,n,r);return}e.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([s,l])=>{vw(l,QI(e,s),n,r)})})},QI=(t,e)=>{let n=t;return e.split(gw).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},mW=t=>t.isThemeGetter,gW=(t,e)=>e?t.map(([n,r])=>{const a=r.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,c])=>[e+l,c])):s);return[n,a]}):t,vW=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;const a=(s,l)=>{n.set(s,l),e++,e>t&&(e=0,r=n,n=new Map)};return{get(s){let l=n.get(s);if(l!==void 0)return l;if((l=r.get(s))!==void 0)return a(s,l),l},set(s,l){n.has(s)?n.set(s,l):a(s,l)}}},XI="!",yW=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,a=e[0],s=e.length,l=c=>{const h=[];let p=0,v=0,b;for(let M=0;M<c.length;M++){let A=c[M];if(p===0){if(A===a&&(r||c.slice(M,M+s)===e)){h.push(c.slice(v,M)),v=M+s;continue}if(A==="/"){b=M;continue}}A==="["?p++:A==="]"&&p--}const k=h.length===0?c:c.substring(v),T=k.startsWith(XI),E=T?k.substring(1):k,R=b&&b>v?b-v:void 0;return{modifiers:h,hasImportantModifier:T,baseClassName:E,maybePostfixModifierPosition:R}};return n?c=>n({className:c,parseClassName:l}):l},bW=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e},SW=t=>({cache:vW(t.cacheSize),parseClassName:yW(t),...fW(t)}),CW=/\s+/,kW=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=e,s=[],l=t.trim().split(CW);let c="";for(let h=l.length-1;h>=0;h-=1){const p=l[h],{modifiers:v,hasImportantModifier:b,baseClassName:k,maybePostfixModifierPosition:T}=n(p);let E=!!T,R=r(E?k.substring(0,T):k);if(!R){if(!E){c=p+(c.length>0?" "+c:c);continue}if(R=r(k),!R){c=p+(c.length>0?" "+c:c);continue}E=!1}const M=bW(v).join(":"),A=b?M+XI:M,U=A+R;if(s.includes(U))continue;s.push(U);const V=a(R,E);for(let j=0;j<V.length;++j){const I=V[j];s.push(A+I)}c=p+(c.length>0?" "+c:c)}return c};function TW(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=JI(e))&&(r&&(r+=" "),r+=n);return r}const JI=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=JI(t[r]))&&(n&&(n+=" "),n+=e);return n};function xW(t,...e){let n,r,a,s=l;function l(h){const p=e.reduce((v,b)=>b(v),t());return n=SW(p),r=n.cache.get,a=n.cache.set,s=c,c(h)}function c(h){const p=r(h);if(p)return p;const v=kW(h,n);return a(h,v),v}return function(){return s(TW.apply(null,arguments))}}const Mr=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},e3=/^\[(?:([a-z-]+):)?(.+)\]$/i,wW=/^\d+\/\d+$/,_W=new Set(["px","full","screen"]),EW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,RW=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,PW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,DW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,AW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gu=t=>up(t)||_W.has(t)||wW.test(t),Mc=t=>cp(t,"length",jW),up=t=>!!t&&!Number.isNaN(Number(t)),yw=t=>cp(t,"number",up),Jg=t=>!!t&&Number.isInteger(Number(t)),OW=t=>t.endsWith("%")&&up(t.slice(0,-1)),yn=t=>e3.test(t),Lc=t=>EW.test(t),MW=new Set(["length","size","percentage"]),LW=t=>cp(t,MW,t3),NW=t=>cp(t,"position",t3),IW=new Set(["image","url"]),UW=t=>cp(t,IW,zW),FW=t=>cp(t,"",VW),ev=()=>!0,cp=(t,e,n)=>{const r=e3.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1},jW=t=>RW.test(t)&&!PW.test(t),t3=()=>!1,VW=t=>DW.test(t),zW=t=>AW.test(t),BW=xW(()=>{const t=Mr("colors"),e=Mr("spacing"),n=Mr("blur"),r=Mr("brightness"),a=Mr("borderColor"),s=Mr("borderRadius"),l=Mr("borderSpacing"),c=Mr("borderWidth"),h=Mr("contrast"),p=Mr("grayscale"),v=Mr("hueRotate"),b=Mr("invert"),k=Mr("gap"),T=Mr("gradientColorStops"),E=Mr("gradientColorStopPositions"),R=Mr("inset"),M=Mr("margin"),A=Mr("opacity"),U=Mr("padding"),V=Mr("saturate"),j=Mr("scale"),I=Mr("sepia"),N=Mr("skew"),ne=Mr("space"),X=Mr("translate"),se=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",yn,e],te=()=>[yn,e],xe=()=>["",gu,Mc],ke=()=>["auto",up,yn],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Je=()=>["solid","dashed","dotted","double","none"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>["start","end","center","between","around","evenly","stretch"],Be=()=>["","0",yn],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>[up,yn];return{cacheSize:500,separator:":",theme:{colors:[ev],spacing:[gu,Mc],blur:["none","",Lc,yn],brightness:J(),borderColor:[t],borderRadius:["none","","full",Lc,yn],borderSpacing:te(),borderWidth:xe(),contrast:J(),grayscale:Be(),hueRotate:J(),invert:Be(),gap:te(),gradientColorStops:[t],gradientColorStopPositions:[OW,Mc],inset:oe(),margin:oe(),opacity:J(),padding:te(),saturate:J(),scale:J(),sepia:Be(),skew:J(),space:te(),translate:te()},classGroups:{aspect:[{aspect:["auto","square","video",yn]}],container:["container"],columns:[{columns:[Lc]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ge(),yn]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[R]}],"inset-x":[{"inset-x":[R]}],"inset-y":[{"inset-y":[R]}],start:[{start:[R]}],end:[{end:[R]}],top:[{top:[R]}],right:[{right:[R]}],bottom:[{bottom:[R]}],left:[{left:[R]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jg,yn]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",yn]}],grow:[{grow:Be()}],shrink:[{shrink:Be()}],order:[{order:["first","last","none",Jg,yn]}],"grid-cols":[{"grid-cols":[ev]}],"col-start-end":[{col:["auto",{span:["full",Jg,yn]},yn]}],"col-start":[{"col-start":ke()}],"col-end":[{"col-end":ke()}],"grid-rows":[{"grid-rows":[ev]}],"row-start-end":[{row:["auto",{span:[Jg,yn]},yn]}],"row-start":[{"row-start":ke()}],"row-end":[{"row-end":ke()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",yn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",yn]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...ve()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ve(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ve(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[U]}],px:[{px:[U]}],py:[{py:[U]}],ps:[{ps:[U]}],pe:[{pe:[U]}],pt:[{pt:[U]}],pr:[{pr:[U]}],pb:[{pb:[U]}],pl:[{pl:[U]}],m:[{m:[M]}],mx:[{mx:[M]}],my:[{my:[M]}],ms:[{ms:[M]}],me:[{me:[M]}],mt:[{mt:[M]}],mr:[{mr:[M]}],mb:[{mb:[M]}],ml:[{ml:[M]}],"space-x":[{"space-x":[ne]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ne]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",yn,e]}],"min-w":[{"min-w":[yn,e,"min","max","fit"]}],"max-w":[{"max-w":[yn,e,"none","full","min","max","fit","prose",{screen:[Lc]},Lc]}],h:[{h:[yn,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[yn,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[yn,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[yn,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Lc,Mc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yw]}],"font-family":[{font:[ev]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",yn]}],"line-clamp":[{"line-clamp":["none",up,yw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",gu,yn]}],"list-image":[{"list-image":["none",yn]}],"list-style-type":[{list:["none","disc","decimal",yn]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Je(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",gu,Mc]}],"underline-offset":[{"underline-offset":["auto",gu,yn]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:te()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",yn]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",yn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),NW]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",LW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},UW]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...Je(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:Je()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...Je()]}],"outline-offset":[{"outline-offset":[gu,yn]}],"outline-w":[{outline:[gu,Mc]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[gu,Mc]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Lc,FW]}],"shadow-color":[{shadow:[ev]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Fe()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",Lc,yn]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[b]}],saturate:[{saturate:[V]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",yn]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",yn]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",yn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Jg,yn]}],"translate-x":[{"translate-x":[X]}],"translate-y":[{"translate-y":[X]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",yn]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",yn]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":te()}],"scroll-mx":[{"scroll-mx":te()}],"scroll-my":[{"scroll-my":te()}],"scroll-ms":[{"scroll-ms":te()}],"scroll-me":[{"scroll-me":te()}],"scroll-mt":[{"scroll-mt":te()}],"scroll-mr":[{"scroll-mr":te()}],"scroll-mb":[{"scroll-mb":te()}],"scroll-ml":[{"scroll-ml":te()}],"scroll-p":[{"scroll-p":te()}],"scroll-px":[{"scroll-px":te()}],"scroll-py":[{"scroll-py":te()}],"scroll-ps":[{"scroll-ps":te()}],"scroll-pe":[{"scroll-pe":te()}],"scroll-pt":[{"scroll-pt":te()}],"scroll-pr":[{"scroll-pr":te()}],"scroll-pb":[{"scroll-pb":te()}],"scroll-pl":[{"scroll-pl":te()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",yn]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[gu,Mc,yw]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function xr(...t){return BW(YI(t))}const HW=t=>t.includes("agent")||t.includes("Agent");function bw(t,e,n){return{message:t.final?t.text:`${t.text} ...`,isSelf:n instanceof hb,timestamp:(e==null?void 0:e.timestamp)??Date.now(),name:n instanceof hb?"You":"Agent",...n instanceof hb?{}:{sourceUrl:(e==null?void 0:e.sourceUrl)||""}}}const $W=({callMode:t,isLoading:e,buttonConfig:n,isCalling:r,onCallTrigger:a})=>{var c,h,p;const s=Zo(),l=mw(s.buttonStyle);return W.jsx("button",{disabled:e,onClick:()=>a(t),className:xr("ringg_ai-h-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2 ringg_ai-font-medium ringg_ai-transition-all","hover:ringg_ai-opacity-90 disabled:ringg_ai-opacity-50 disabled:ringg_ai-cursor-not-allowed","ringg_ai-call-btn",r?"ringg_ai-w-fit ringg_ai-px-6":"ringg_ai-w-full"),style:{backgroundColor:s.primaryColor,color:s.primaryTextColor,borderRadius:s.buttonStyle==="pill"?"9999px":l,...(c=n==null?void 0:n.call)==null?void 0:c.styles},children:e&&t==="audio"?W.jsxs(W.Fragment,{children:[W.jsx(Gb,{className:"ringg_ai-h-4 ringg_ai-w-4 ringg_ai-animate-spin"}),W.jsx("span",{children:"Connecting..."})]}):W.jsxs(W.Fragment,{children:[t==="audio"&&W.jsx(oW,{className:"ringg_ai-h-4 ringg_ai-w-4"}),t==="text"&&W.jsx(HI,{className:"ringg_ai-h-4 ringg_ai-w-4"}),t==="audio"&&(((h=n==null?void 0:n.call)==null?void 0:h.textBeforeCall)||"Start Call"),t==="text"&&(((p=n==null?void 0:n.text)==null?void 0:p.textBeforeCall)||"Start Chat")]})})};var jn;(function(t){t.assertEqual=a=>a;function e(a){}t.assertIs=e;function n(a){throw new Error}t.assertNever=n,t.arrayToEnum=a=>{const s={};for(const l of a)s[l]=l;return s},t.getValidEnumValues=a=>{const s=t.objectKeys(a).filter(c=>typeof a[a[c]]!="number"),l={};for(const c of s)l[c]=a[c];return t.objectValues(l)},t.objectValues=a=>t.objectKeys(a).map(function(s){return a[s]}),t.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const l in a)Object.prototype.hasOwnProperty.call(a,l)&&s.push(l);return s},t.find=(a,s)=>{for(const l of a)if(s(l))return l},t.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&isFinite(a)&&Math.floor(a)===a;function r(a,s=" | "){return a.map(l=>typeof l=="string"?`'${l}'`:l).join(s)}t.joinValues=r,t.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(jn||(jn={}));var Sw;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(Sw||(Sw={}));const St=jn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),vu=t=>{switch(typeof t){case"undefined":return St.undefined;case"string":return St.string;case"number":return isNaN(t)?St.nan:St.number;case"boolean":return St.boolean;case"function":return St.function;case"bigint":return St.bigint;case"symbol":return St.symbol;case"object":return Array.isArray(t)?St.array:t===null?St.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?St.promise:typeof Map<"u"&&t instanceof Map?St.map:typeof Set<"u"&&t instanceof Set?St.set:typeof Date<"u"&&t instanceof Date?St.date:St.object;default:return St.unknown}},We=jn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),qW=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:");class Ao extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(s){return s.message},r={_errors:[]},a=s=>{for(const l of s.issues)if(l.code==="invalid_union")l.unionErrors.map(a);else if(l.code==="invalid_return_type")a(l.returnTypeError);else if(l.code==="invalid_arguments")a(l.argumentsError);else if(l.path.length===0)r._errors.push(n(l));else{let c=r,h=0;for(;h<l.path.length;){const p=l.path[h];h===l.path.length-1?(c[p]=c[p]||{_errors:[]},c[p]._errors.push(n(l))):c[p]=c[p]||{_errors:[]},c=c[p],h++}}};return a(this),r}static assert(e){if(!(e instanceof Ao))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,jn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},r=[];for(const a of this.issues)a.path.length>0?(n[a.path[0]]=n[a.path[0]]||[],n[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Ao.create=t=>new Ao(t);const dp=(t,e)=>{let n;switch(t.code){case We.invalid_type:t.received===St.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case We.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,jn.jsonStringifyReplacer)}`;break;case We.unrecognized_keys:n=`Unrecognized key(s) in object: ${jn.joinValues(t.keys,", ")}`;break;case We.invalid_union:n="Invalid input";break;case We.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${jn.joinValues(t.options)}`;break;case We.invalid_enum_value:n=`Invalid enum value. Expected ${jn.joinValues(t.options)}, received '${t.received}'`;break;case We.invalid_arguments:n="Invalid function arguments";break;case We.invalid_return_type:n="Invalid function return type";break;case We.invalid_date:n="Invalid date";break;case We.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:jn.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case We.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case We.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case We.custom:n="Invalid input";break;case We.invalid_intersection_types:n="Intersection results could not be merged";break;case We.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case We.not_finite:n="Number must be finite";break;default:n=e.defaultError,jn.assertNever(t)}return{message:n}};let n3=dp;function WW(t){n3=t}function Yb(){return n3}const Kb=t=>{const{data:e,path:n,errorMaps:r,issueData:a}=t,s=[...n,...a.path||[]],l={...a,path:s};if(a.message!==void 0)return{...a,path:s,message:a.message};let c="";const h=r.filter(p=>!!p).slice().reverse();for(const p of h)c=p(l,{data:e,defaultError:c}).message;return{...a,path:s,message:c}},GW=[];function lt(t,e){const n=Yb(),r=Kb({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===dp?void 0:dp].filter(a=>!!a)});t.common.issues.push(r)}class ya{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const r=[];for(const a of n){if(a.status==="aborted")return Xt;a.status==="dirty"&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){const r=[];for(const a of n){const s=await a.key,l=await a.value;r.push({key:s,value:l})}return ya.mergeObjectSync(e,r)}static mergeObjectSync(e,n){const r={};for(const a of n){const{key:s,value:l}=a;if(s.status==="aborted"||l.status==="aborted")return Xt;s.status==="dirty"&&e.dirty(),l.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof l.value<"u"||a.alwaysSet)&&(r[s.value]=l.value)}return{status:e.value,value:r}}}const Xt=Object.freeze({status:"aborted"}),fp=t=>({status:"dirty",value:t}),ja=t=>({status:"valid",value:t}),Cw=t=>t.status==="aborted",kw=t=>t.status==="dirty",sf=t=>t.status==="valid",tv=t=>typeof Promise<"u"&&t instanceof Promise;function Zb(t,e,n,r){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e.get(t)}function r3(t,e,n,r,a){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(t,n),n}typeof SuppressedError=="function"&&SuppressedError;var Dt;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(Dt||(Dt={}));var nv,rv;class gl{constructor(e,n,r,a){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const i3=(t,e)=>{if(sf(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Ao(t.common.issues);return this._error=n,this._error}}};function mn(t){if(!t)return{};const{errorMap:e,invalid_type_error:n,required_error:r,description:a}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(l,c)=>{var h,p;const{message:v}=t;return l.code==="invalid_enum_value"?{message:v??c.defaultError}:typeof c.data>"u"?{message:(h=v??r)!==null&&h!==void 0?h:c.defaultError}:l.code!=="invalid_type"?{message:c.defaultError}:{message:(p=v??n)!==null&&p!==void 0?p:c.defaultError}},description:a}}class Sn{get description(){return this._def.description}_getType(e){return vu(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:vu(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new ya,ctx:{common:e.parent.common,data:e.data,parsedType:vu(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(tv(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){var r;const a={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:vu(e)},s=this._parseSync({data:e,path:a.path,parent:a});return i3(a,s)}"~validate"(e){var n,r;const a={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:vu(e)};if(!this["~standard"].async)try{const s=this._parseSync({data:e,path:[],parent:a});return sf(s)?{value:s.value}:{issues:a.common.issues}}catch(s){!((r=(n=s==null?void 0:s.message)===null||n===void 0?void 0:n.toLowerCase())===null||r===void 0)&&r.includes("encountered")&&(this["~standard"].async=!0),a.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:a}).then(s=>sf(s)?{value:s.value}:{issues:a.common.issues})}async parseAsync(e,n){const r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:vu(e)},a=this._parse({data:e,path:r.path,parent:r}),s=await(tv(a)?a:Promise.resolve(a));return i3(r,s)}refine(e,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,s)=>{const l=e(a),c=()=>s.addIssue({code:We.custom,...r(a)});return typeof Promise<"u"&&l instanceof Promise?l.then(h=>h?!0:(c(),!1)):l?!0:(c(),!1)})}refinement(e,n){return this._refinement((r,a)=>e(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(e){return new Ms({schema:this,typeName:Yt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return yl.create(this,this._def)}nullable(){return Fc.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Os.create(this)}promise(){return gp.create(this,this._def)}or(e){return sv.create([this,e],this._def)}and(e){return lv.create(this,e,this._def)}transform(e){return new Ms({...mn(this._def),schema:this,typeName:Yt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new hv({...mn(this._def),innerType:this,defaultValue:n,typeName:Yt.ZodDefault})}brand(){return new ww({typeName:Yt.ZodBranded,type:this,...mn(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new pv({...mn(this._def),innerType:this,catchValue:n,typeName:Yt.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return mv.create(this,e)}readonly(){return gv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const YW=/^c[^\s-]{8,}$/i,KW=/^[0-9a-z]+$/,ZW=/^[0-9A-HJKMNP-TV-Z]{26}$/i,QW=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,XW=/^[a-z0-9_-]{21}$/i,JW=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,eG=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,tG=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,nG="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Tw;const rG=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,iG=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,aG=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,oG=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,sG=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,lG=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,a3="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",uG=new RegExp(`^${a3}$`);function o3(t){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`),e}function cG(t){return new RegExp(`^${o3(t)}$`)}function s3(t){let e=`${a3}T${o3(t)}`;const n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function dG(t,e){return!!((e==="v4"||!e)&&rG.test(t)||(e==="v6"||!e)&&aG.test(t))}function fG(t,e){if(!JW.test(t))return!1;try{const[n]=t.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||!a.typ||!a.alg||e&&a.alg!==e)}catch{return!1}}function hG(t,e){return!!((e==="v4"||!e)&&iG.test(t)||(e==="v6"||!e)&&oG.test(t))}class As extends Sn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==St.string){const s=this._getOrReturnCtx(e);return lt(s,{code:We.invalid_type,expected:St.string,received:s.parsedType}),Xt}const r=new ya;let a;for(const s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(a=this._getOrReturnCtx(e,a),lt(a,{code:We.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")e.data.length>s.value&&(a=this._getOrReturnCtx(e,a),lt(a,{code:We.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const l=e.data.length>s.value,c=e.data.length<s.value;(l||c)&&(a=this._getOrReturnCtx(e,a),l?lt(a,{code:We.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):c&<(a,{code:We.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")tG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"email",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")Tw||(Tw=new RegExp(nG,"u")),Tw.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"emoji",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")QW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"uuid",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")XW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"nanoid",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")YW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"cuid",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")KW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"cuid2",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")ZW.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"ulid",code:We.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a),lt(a,{validation:"url",code:We.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"regex",code:We.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.dirty()):s.kind==="toLowerCase"?e.data=e.data.toLowerCase():s.kind==="toUpperCase"?e.data=e.data.toUpperCase():s.kind==="startsWith"?e.data.startsWith(s.value)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?s3(s).test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?uG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?cG(s).test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{code:We.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?eG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"duration",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?dG(e.data,s.version)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"ip",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="jwt"?fG(e.data,s.alg)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"jwt",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="cidr"?hG(e.data,s.version)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"cidr",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?sG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"base64",code:We.invalid_string,message:s.message}),r.dirty()):s.kind==="base64url"?lG.test(e.data)||(a=this._getOrReturnCtx(e,a),lt(a,{validation:"base64url",code:We.invalid_string,message:s.message}),r.dirty()):jn.assertNever(s);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(a=>e.test(a),{validation:n,code:We.invalid_string,...Dt.errToObj(r)})}_addCheck(e){return new As({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Dt.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Dt.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Dt.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Dt.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Dt.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Dt.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Dt.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Dt.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Dt.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Dt.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Dt.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Dt.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Dt.errToObj(e)})}datetime(e){var n,r;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(n=e==null?void 0:e.offset)!==null&&n!==void 0?n:!1,local:(r=e==null?void 0:e.local)!==null&&r!==void 0?r:!1,...Dt.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...Dt.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...Dt.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...Dt.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n==null?void 0:n.position,...Dt.errToObj(n==null?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...Dt.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...Dt.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...Dt.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...Dt.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...Dt.errToObj(n)})}nonempty(e){return this.min(1,Dt.errToObj(e))}trim(){return new As({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new As({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new As({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}As.create=t=>{var e;return new As({checks:[],typeName:Yt.ZodString,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...mn(t)})};function pG(t,e){const n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,a=n>r?n:r,s=parseInt(t.toFixed(a).replace(".","")),l=parseInt(e.toFixed(a).replace(".",""));return s%l/Math.pow(10,a)}class Nc extends Sn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==St.number){const s=this._getOrReturnCtx(e);return lt(s,{code:We.invalid_type,expected:St.number,received:s.parsedType}),Xt}let r;const a=new ya;for(const s of this._def.checks)s.kind==="int"?jn.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),lt(r,{code:We.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?pG(e.data,s.value)!==0&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),lt(r,{code:We.not_finite,message:s.message}),a.dirty()):jn.assertNever(s);return{status:a.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,Dt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Dt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Dt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Dt.toString(n))}setLimit(e,n,r,a){return new Nc({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:Dt.toString(a)}]})}_addCheck(e){return new Nc({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Dt.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Dt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Dt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Dt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Dt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Dt.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:Dt.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Dt.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Dt.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&jn.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}}Nc.create=t=>new Nc({checks:[],typeName:Yt.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...mn(t)});class Ic extends Sn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==St.bigint)return this._getInvalidInput(e);let r;const a=new ya;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),lt(r,{code:We.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):jn.assertNever(s);return{status:a.value,value:e.data}}_getInvalidInput(e){const n=this._getOrReturnCtx(e);return lt(n,{code:We.invalid_type,expected:St.bigint,received:n.parsedType}),Xt}gte(e,n){return this.setLimit("min",e,!0,Dt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Dt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Dt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Dt.toString(n))}setLimit(e,n,r,a){return new Ic({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:Dt.toString(a)}]})}_addCheck(e){return new Ic({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Dt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Dt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Dt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Dt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Dt.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ic.create=t=>{var e;return new Ic({checks:[],typeName:Yt.ZodBigInt,coerce:(e=t==null?void 0:t.coerce)!==null&&e!==void 0?e:!1,...mn(t)})};class iv extends Sn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==St.boolean){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.boolean,received:r.parsedType}),Xt}return ja(e.data)}}iv.create=t=>new iv({typeName:Yt.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...mn(t)});class lf extends Sn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==St.date){const s=this._getOrReturnCtx(e);return lt(s,{code:We.invalid_type,expected:St.date,received:s.parsedType}),Xt}if(isNaN(e.data.getTime())){const s=this._getOrReturnCtx(e);return lt(s,{code:We.invalid_date}),Xt}const r=new ya;let a;for(const s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(a=this._getOrReturnCtx(e,a),lt(a,{code:We.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(a=this._getOrReturnCtx(e,a),lt(a,{code:We.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):jn.assertNever(s);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new lf({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:Dt.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:Dt.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}lf.create=t=>new lf({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:Yt.ZodDate,...mn(t)});class Qb extends Sn{_parse(e){if(this._getType(e)!==St.symbol){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.symbol,received:r.parsedType}),Xt}return ja(e.data)}}Qb.create=t=>new Qb({typeName:Yt.ZodSymbol,...mn(t)});class av extends Sn{_parse(e){if(this._getType(e)!==St.undefined){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.undefined,received:r.parsedType}),Xt}return ja(e.data)}}av.create=t=>new av({typeName:Yt.ZodUndefined,...mn(t)});class ov extends Sn{_parse(e){if(this._getType(e)!==St.null){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.null,received:r.parsedType}),Xt}return ja(e.data)}}ov.create=t=>new ov({typeName:Yt.ZodNull,...mn(t)});class hp extends Sn{constructor(){super(...arguments),this._any=!0}_parse(e){return ja(e.data)}}hp.create=t=>new hp({typeName:Yt.ZodAny,...mn(t)});class uf extends Sn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return ja(e.data)}}uf.create=t=>new uf({typeName:Yt.ZodUnknown,...mn(t)});class yu extends Sn{_parse(e){const n=this._getOrReturnCtx(e);return lt(n,{code:We.invalid_type,expected:St.never,received:n.parsedType}),Xt}}yu.create=t=>new yu({typeName:Yt.ZodNever,...mn(t)});class Xb extends Sn{_parse(e){if(this._getType(e)!==St.undefined){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.void,received:r.parsedType}),Xt}return ja(e.data)}}Xb.create=t=>new Xb({typeName:Yt.ZodVoid,...mn(t)});class Os extends Sn{_parse(e){const{ctx:n,status:r}=this._processInputParams(e),a=this._def;if(n.parsedType!==St.array)return lt(n,{code:We.invalid_type,expected:St.array,received:n.parsedType}),Xt;if(a.exactLength!==null){const l=n.data.length>a.exactLength.value,c=n.data.length<a.exactLength.value;(l||c)&&(lt(n,{code:l?We.too_big:We.too_small,minimum:c?a.exactLength.value:void 0,maximum:l?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(lt(n,{code:We.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(lt(n,{code:We.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((l,c)=>a.type._parseAsync(new gl(n,l,n.path,c)))).then(l=>ya.mergeArray(r,l));const s=[...n.data].map((l,c)=>a.type._parseSync(new gl(n,l,n.path,c)));return ya.mergeArray(r,s)}get element(){return this._def.type}min(e,n){return new Os({...this._def,minLength:{value:e,message:Dt.toString(n)}})}max(e,n){return new Os({...this._def,maxLength:{value:e,message:Dt.toString(n)}})}length(e,n){return new Os({...this._def,exactLength:{value:e,message:Dt.toString(n)}})}nonempty(e){return this.min(1,e)}}Os.create=(t,e)=>new Os({type:t,minLength:null,maxLength:null,exactLength:null,typeName:Yt.ZodArray,...mn(e)});function pp(t){if(t instanceof Hr){const e={};for(const n in t.shape){const r=t.shape[n];e[n]=yl.create(pp(r))}return new Hr({...t._def,shape:()=>e})}else return t instanceof Os?new Os({...t._def,type:pp(t.element)}):t instanceof yl?yl.create(pp(t.unwrap())):t instanceof Fc?Fc.create(pp(t.unwrap())):t instanceof vl?vl.create(t.items.map(e=>pp(e))):t}class Hr extends Sn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=jn.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==St.object){const p=this._getOrReturnCtx(e);return lt(p,{code:We.invalid_type,expected:St.object,received:p.parsedType}),Xt}const{status:r,ctx:a}=this._processInputParams(e),{shape:s,keys:l}=this._getCached(),c=[];if(!(this._def.catchall instanceof yu&&this._def.unknownKeys==="strip"))for(const p in a.data)l.includes(p)||c.push(p);const h=[];for(const p of l){const v=s[p],b=a.data[p];h.push({key:{status:"valid",value:p},value:v._parse(new gl(a,b,a.path,p)),alwaysSet:p in a.data})}if(this._def.catchall instanceof yu){const p=this._def.unknownKeys;if(p==="passthrough")for(const v of c)h.push({key:{status:"valid",value:v},value:{status:"valid",value:a.data[v]}});else if(p==="strict")c.length>0&&(lt(a,{code:We.unrecognized_keys,keys:c}),r.dirty());else if(p!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const p=this._def.catchall;for(const v of c){const b=a.data[v];h.push({key:{status:"valid",value:v},value:p._parse(new gl(a,b,a.path,v)),alwaysSet:v in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const p=[];for(const v of h){const b=await v.key,k=await v.value;p.push({key:b,value:k,alwaysSet:v.alwaysSet})}return p}).then(p=>ya.mergeObjectSync(r,p)):ya.mergeObjectSync(r,h)}get shape(){return this._def.shape()}strict(e){return Dt.errToObj,new Hr({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{var a,s,l,c;const h=(l=(s=(a=this._def).errorMap)===null||s===void 0?void 0:s.call(a,n,r).message)!==null&&l!==void 0?l:r.defaultError;return n.code==="unrecognized_keys"?{message:(c=Dt.errToObj(e).message)!==null&&c!==void 0?c:h}:{message:h}}}:{}})}strip(){return new Hr({...this._def,unknownKeys:"strip"})}passthrough(){return new Hr({...this._def,unknownKeys:"passthrough"})}extend(e){return new Hr({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Hr({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Yt.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Hr({...this._def,catchall:e})}pick(e){const n={};return jn.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new Hr({...this._def,shape:()=>n})}omit(e){const n={};return jn.objectKeys(this.shape).forEach(r=>{e[r]||(n[r]=this.shape[r])}),new Hr({...this._def,shape:()=>n})}deepPartial(){return pp(this)}partial(e){const n={};return jn.objectKeys(this.shape).forEach(r=>{const a=this.shape[r];e&&!e[r]?n[r]=a:n[r]=a.optional()}),new Hr({...this._def,shape:()=>n})}required(e){const n={};return jn.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])n[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof yl;)s=s._def.innerType;n[r]=s}}),new Hr({...this._def,shape:()=>n})}keyof(){return l3(jn.objectKeys(this.shape))}}Hr.create=(t,e)=>new Hr({shape:()=>t,unknownKeys:"strip",catchall:yu.create(),typeName:Yt.ZodObject,...mn(e)}),Hr.strictCreate=(t,e)=>new Hr({shape:()=>t,unknownKeys:"strict",catchall:yu.create(),typeName:Yt.ZodObject,...mn(e)}),Hr.lazycreate=(t,e)=>new Hr({shape:t,unknownKeys:"strip",catchall:yu.create(),typeName:Yt.ZodObject,...mn(e)});class sv extends Sn{_parse(e){const{ctx:n}=this._processInputParams(e),r=this._def.options;function a(s){for(const c of s)if(c.result.status==="valid")return c.result;for(const c of s)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;const l=s.map(c=>new Ao(c.ctx.common.issues));return lt(n,{code:We.invalid_union,unionErrors:l}),Xt}if(n.common.async)return Promise.all(r.map(async s=>{const l={...n,common:{...n.common,issues:[]},parent:null};return{result:await s._parseAsync({data:n.data,path:n.path,parent:l}),ctx:l}})).then(a);{let s;const l=[];for(const h of r){const p={...n,common:{...n.common,issues:[]},parent:null},v=h._parseSync({data:n.data,path:n.path,parent:p});if(v.status==="valid")return v;v.status==="dirty"&&!s&&(s={result:v,ctx:p}),p.common.issues.length&&l.push(p.common.issues)}if(s)return n.common.issues.push(...s.ctx.common.issues),s.result;const c=l.map(h=>new Ao(h));return lt(n,{code:We.invalid_union,unionErrors:c}),Xt}}get options(){return this._def.options}}sv.create=(t,e)=>new sv({options:t,typeName:Yt.ZodUnion,...mn(e)});const bu=t=>t instanceof cv?bu(t.schema):t instanceof Ms?bu(t.innerType()):t instanceof dv?[t.value]:t instanceof Uc?t.options:t instanceof fv?jn.objectValues(t.enum):t instanceof hv?bu(t._def.innerType):t instanceof av?[void 0]:t instanceof ov?[null]:t instanceof yl?[void 0,...bu(t.unwrap())]:t instanceof Fc?[null,...bu(t.unwrap())]:t instanceof ww||t instanceof gv?bu(t.unwrap()):t instanceof pv?bu(t._def.innerType):[];class Jb extends Sn{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==St.object)return lt(n,{code:We.invalid_type,expected:St.object,received:n.parsedType}),Xt;const r=this.discriminator,a=n.data[r],s=this.optionsMap.get(a);return s?n.common.async?s._parseAsync({data:n.data,path:n.path,parent:n}):s._parseSync({data:n.data,path:n.path,parent:n}):(lt(n,{code:We.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),Xt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,r){const a=new Map;for(const s of n){const l=bu(s.shape[e]);if(!l.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const c of l){if(a.has(c))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(c)}`);a.set(c,s)}}return new Jb({typeName:Yt.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:a,...mn(r)})}}function xw(t,e){const n=vu(t),r=vu(e);if(t===e)return{valid:!0,data:t};if(n===St.object&&r===St.object){const a=jn.objectKeys(e),s=jn.objectKeys(t).filter(c=>a.indexOf(c)!==-1),l={...t,...e};for(const c of s){const h=xw(t[c],e[c]);if(!h.valid)return{valid:!1};l[c]=h.data}return{valid:!0,data:l}}else if(n===St.array&&r===St.array){if(t.length!==e.length)return{valid:!1};const a=[];for(let s=0;s<t.length;s++){const l=t[s],c=e[s],h=xw(l,c);if(!h.valid)return{valid:!1};a.push(h.data)}return{valid:!0,data:a}}else return n===St.date&&r===St.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class lv extends Sn{_parse(e){const{status:n,ctx:r}=this._processInputParams(e),a=(s,l)=>{if(Cw(s)||Cw(l))return Xt;const c=xw(s.value,l.value);return c.valid?((kw(s)||kw(l))&&n.dirty(),{status:n.value,value:c.data}):(lt(r,{code:We.invalid_intersection_types}),Xt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,l])=>a(s,l)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}lv.create=(t,e,n)=>new lv({left:t,right:e,typeName:Yt.ZodIntersection,...mn(n)});class vl extends Sn{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==St.array)return lt(r,{code:We.invalid_type,expected:St.array,received:r.parsedType}),Xt;if(r.data.length<this._def.items.length)return lt(r,{code:We.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Xt;!this._def.rest&&r.data.length>this._def.items.length&&(lt(r,{code:We.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const s=[...r.data].map((l,c)=>{const h=this._def.items[c]||this._def.rest;return h?h._parse(new gl(r,l,r.path,c)):null}).filter(l=>!!l);return r.common.async?Promise.all(s).then(l=>ya.mergeArray(n,l)):ya.mergeArray(n,s)}get items(){return this._def.items}rest(e){return new vl({...this._def,rest:e})}}vl.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new vl({items:t,typeName:Yt.ZodTuple,rest:null,...mn(e)})};class uv extends Sn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==St.object)return lt(r,{code:We.invalid_type,expected:St.object,received:r.parsedType}),Xt;const a=[],s=this._def.keyType,l=this._def.valueType;for(const c in r.data)a.push({key:s._parse(new gl(r,c,r.path,c)),value:l._parse(new gl(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?ya.mergeObjectAsync(n,a):ya.mergeObjectSync(n,a)}get element(){return this._def.valueType}static create(e,n,r){return n instanceof Sn?new uv({keyType:e,valueType:n,typeName:Yt.ZodRecord,...mn(r)}):new uv({keyType:As.create(),valueType:e,typeName:Yt.ZodRecord,...mn(n)})}}class eS extends Sn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==St.map)return lt(r,{code:We.invalid_type,expected:St.map,received:r.parsedType}),Xt;const a=this._def.keyType,s=this._def.valueType,l=[...r.data.entries()].map(([c,h],p)=>({key:a._parse(new gl(r,c,r.path,[p,"key"])),value:s._parse(new gl(r,h,r.path,[p,"value"]))}));if(r.common.async){const c=new Map;return Promise.resolve().then(async()=>{for(const h of l){const p=await h.key,v=await h.value;if(p.status==="aborted"||v.status==="aborted")return Xt;(p.status==="dirty"||v.status==="dirty")&&n.dirty(),c.set(p.value,v.value)}return{status:n.value,value:c}})}else{const c=new Map;for(const h of l){const p=h.key,v=h.value;if(p.status==="aborted"||v.status==="aborted")return Xt;(p.status==="dirty"||v.status==="dirty")&&n.dirty(),c.set(p.value,v.value)}return{status:n.value,value:c}}}}eS.create=(t,e,n)=>new eS({valueType:e,keyType:t,typeName:Yt.ZodMap,...mn(n)});class cf extends Sn{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==St.set)return lt(r,{code:We.invalid_type,expected:St.set,received:r.parsedType}),Xt;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(lt(r,{code:We.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(lt(r,{code:We.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const s=this._def.valueType;function l(h){const p=new Set;for(const v of h){if(v.status==="aborted")return Xt;v.status==="dirty"&&n.dirty(),p.add(v.value)}return{status:n.value,value:p}}const c=[...r.data.values()].map((h,p)=>s._parse(new gl(r,h,r.path,p)));return r.common.async?Promise.all(c).then(h=>l(h)):l(c)}min(e,n){return new cf({...this._def,minSize:{value:e,message:Dt.toString(n)}})}max(e,n){return new cf({...this._def,maxSize:{value:e,message:Dt.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}cf.create=(t,e)=>new cf({valueType:t,minSize:null,maxSize:null,typeName:Yt.ZodSet,...mn(e)});class mp extends Sn{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==St.function)return lt(n,{code:We.invalid_type,expected:St.function,received:n.parsedType}),Xt;function r(c,h){return Kb({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Yb(),dp].filter(p=>!!p),issueData:{code:We.invalid_arguments,argumentsError:h}})}function a(c,h){return Kb({data:c,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Yb(),dp].filter(p=>!!p),issueData:{code:We.invalid_return_type,returnTypeError:h}})}const s={errorMap:n.common.contextualErrorMap},l=n.data;if(this._def.returns instanceof gp){const c=this;return ja(async function(...h){const p=new Ao([]),v=await c._def.args.parseAsync(h,s).catch(T=>{throw p.addIssue(r(h,T)),p}),b=await Reflect.apply(l,this,v);return await c._def.returns._def.type.parseAsync(b,s).catch(T=>{throw p.addIssue(a(b,T)),p})})}else{const c=this;return ja(function(...h){const p=c._def.args.safeParse(h,s);if(!p.success)throw new Ao([r(h,p.error)]);const v=Reflect.apply(l,this,p.data),b=c._def.returns.safeParse(v,s);if(!b.success)throw new Ao([a(v,b.error)]);return b.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new mp({...this._def,args:vl.create(e).rest(uf.create())})}returns(e){return new mp({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,r){return new mp({args:e||vl.create([]).rest(uf.create()),returns:n||uf.create(),typeName:Yt.ZodFunction,...mn(r)})}}class cv extends Sn{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}cv.create=(t,e)=>new cv({getter:t,typeName:Yt.ZodLazy,...mn(e)});class dv extends Sn{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return lt(n,{received:n.data,code:We.invalid_literal,expected:this._def.value}),Xt}return{status:"valid",value:e.data}}get value(){return this._def.value}}dv.create=(t,e)=>new dv({value:t,typeName:Yt.ZodLiteral,...mn(e)});function l3(t,e){return new Uc({values:t,typeName:Yt.ZodEnum,...mn(e)})}class Uc extends Sn{constructor(){super(...arguments),nv.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),r=this._def.values;return lt(n,{expected:jn.joinValues(r),received:n.parsedType,code:We.invalid_type}),Xt}if(Zb(this,nv)||r3(this,nv,new Set(this._def.values)),!Zb(this,nv).has(e.data)){const n=this._getOrReturnCtx(e),r=this._def.values;return lt(n,{received:n.data,code:We.invalid_enum_value,options:r}),Xt}return ja(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return Uc.create(e,{...this._def,...n})}exclude(e,n=this._def){return Uc.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}}nv=new WeakMap,Uc.create=l3;class fv extends Sn{constructor(){super(...arguments),rv.set(this,void 0)}_parse(e){const n=jn.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==St.string&&r.parsedType!==St.number){const a=jn.objectValues(n);return lt(r,{expected:jn.joinValues(a),received:r.parsedType,code:We.invalid_type}),Xt}if(Zb(this,rv)||r3(this,rv,new Set(jn.getValidEnumValues(this._def.values))),!Zb(this,rv).has(e.data)){const a=jn.objectValues(n);return lt(r,{received:r.data,code:We.invalid_enum_value,options:a}),Xt}return ja(e.data)}get enum(){return this._def.values}}rv=new WeakMap,fv.create=(t,e)=>new fv({values:t,typeName:Yt.ZodNativeEnum,...mn(e)});class gp extends Sn{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==St.promise&&n.common.async===!1)return lt(n,{code:We.invalid_type,expected:St.promise,received:n.parsedType}),Xt;const r=n.parsedType===St.promise?n.data:Promise.resolve(n.data);return ja(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}gp.create=(t,e)=>new gp({type:t,typeName:Yt.ZodPromise,...mn(e)});class Ms extends Sn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Yt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:r}=this._processInputParams(e),a=this._def.effect||null,s={addIssue:l=>{lt(r,l),l.fatal?n.abort():n.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const l=a.transform(r.data,s);if(r.common.async)return Promise.resolve(l).then(async c=>{if(n.value==="aborted")return Xt;const h=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return h.status==="aborted"?Xt:h.status==="dirty"||n.value==="dirty"?fp(h.value):h});{if(n.value==="aborted")return Xt;const c=this._def.schema._parseSync({data:l,path:r.path,parent:r});return c.status==="aborted"?Xt:c.status==="dirty"||n.value==="dirty"?fp(c.value):c}}if(a.type==="refinement"){const l=c=>{const h=a.refinement(c,s);if(r.common.async)return Promise.resolve(h);if(h instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?Xt:(c.status==="dirty"&&n.dirty(),l(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?Xt:(c.status==="dirty"&&n.dirty(),l(c.value).then(()=>({status:n.value,value:c.value}))))}if(a.type==="transform")if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!sf(l))return l;const c=a.transform(l.value,s);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>sf(l)?Promise.resolve(a.transform(l.value,s)).then(c=>({status:n.value,value:c})):l);jn.assertNever(a)}}Ms.create=(t,e,n)=>new Ms({schema:t,typeName:Yt.ZodEffects,effect:e,...mn(n)}),Ms.createWithPreprocess=(t,e,n)=>new Ms({schema:e,effect:{type:"preprocess",transform:t},typeName:Yt.ZodEffects,...mn(n)});class yl extends Sn{_parse(e){return this._getType(e)===St.undefined?ja(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}yl.create=(t,e)=>new yl({innerType:t,typeName:Yt.ZodOptional,...mn(e)});class Fc extends Sn{_parse(e){return this._getType(e)===St.null?ja(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Fc.create=(t,e)=>new Fc({innerType:t,typeName:Yt.ZodNullable,...mn(e)});class hv extends Sn{_parse(e){const{ctx:n}=this._processInputParams(e);let r=n.data;return n.parsedType===St.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}hv.create=(t,e)=>new hv({innerType:t,typeName:Yt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...mn(e)});class pv extends Sn{_parse(e){const{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return tv(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Ao(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Ao(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}pv.create=(t,e)=>new pv({innerType:t,typeName:Yt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...mn(e)});class tS extends Sn{_parse(e){if(this._getType(e)!==St.nan){const r=this._getOrReturnCtx(e);return lt(r,{code:We.invalid_type,expected:St.nan,received:r.parsedType}),Xt}return{status:"valid",value:e.data}}}tS.create=t=>new tS({typeName:Yt.ZodNaN,...mn(t)});const mG=Symbol("zod_brand");class ww extends Sn{_parse(e){const{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class mv extends Sn{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Xt:s.status==="dirty"?(n.dirty(),fp(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Xt:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(e,n){return new mv({in:e,out:n,typeName:Yt.ZodPipeline})}}class gv extends Sn{_parse(e){const n=this._def.innerType._parse(e),r=a=>(sf(a)&&(a.value=Object.freeze(a.value)),a);return tv(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}gv.create=(t,e)=>new gv({innerType:t,typeName:Yt.ZodReadonly,...mn(e)});function u3(t,e={},n){return t?hp.create().superRefine((r,a)=>{var s,l;if(!t(r)){const c=typeof e=="function"?e(r):typeof e=="string"?{message:e}:e,h=(l=(s=c.fatal)!==null&&s!==void 0?s:n)!==null&&l!==void 0?l:!0,p=typeof c=="string"?{message:c}:c;a.addIssue({code:"custom",...p,fatal:h})}}):hp.create()}const gG={object:Hr.lazycreate};var Yt;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(Yt||(Yt={}));const vG=(t,e={message:`Input not instance of ${t.name}`})=>u3(n=>n instanceof t,e),c3=As.create,d3=Nc.create,yG=tS.create,bG=Ic.create,f3=iv.create,SG=lf.create,CG=Qb.create,kG=av.create,TG=ov.create,xG=hp.create,wG=uf.create,_G=yu.create,EG=Xb.create,RG=Os.create,PG=Hr.create,DG=Hr.strictCreate,AG=sv.create,OG=Jb.create,MG=lv.create,LG=vl.create,NG=uv.create,IG=eS.create,UG=cf.create,FG=mp.create,jG=cv.create,VG=dv.create,zG=Uc.create,BG=fv.create,HG=gp.create,h3=Ms.create,$G=yl.create,qG=Fc.create,WG=Ms.createWithPreprocess,GG=mv.create;var p3=Object.freeze({__proto__:null,defaultErrorMap:dp,setErrorMap:WW,getErrorMap:Yb,makeIssue:Kb,EMPTY_PATH:GW,addIssueToContext:lt,ParseStatus:ya,INVALID:Xt,DIRTY:fp,OK:ja,isAborted:Cw,isDirty:kw,isValid:sf,isAsync:tv,get util(){return jn},get objectUtil(){return Sw},ZodParsedType:St,getParsedType:vu,ZodType:Sn,datetimeRegex:s3,ZodString:As,ZodNumber:Nc,ZodBigInt:Ic,ZodBoolean:iv,ZodDate:lf,ZodSymbol:Qb,ZodUndefined:av,ZodNull:ov,ZodAny:hp,ZodUnknown:uf,ZodNever:yu,ZodVoid:Xb,ZodArray:Os,ZodObject:Hr,ZodUnion:sv,ZodDiscriminatedUnion:Jb,ZodIntersection:lv,ZodTuple:vl,ZodRecord:uv,ZodMap:eS,ZodSet:cf,ZodFunction:mp,ZodLazy:cv,ZodLiteral:dv,ZodEnum:Uc,ZodNativeEnum:fv,ZodPromise:gp,ZodEffects:Ms,ZodTransformer:Ms,ZodOptional:yl,ZodNullable:Fc,ZodDefault:hv,ZodCatch:pv,ZodNaN:tS,BRAND:mG,ZodBranded:ww,ZodPipeline:mv,ZodReadonly:gv,custom:u3,Schema:Sn,ZodSchema:Sn,late:gG,get ZodFirstPartyTypeKind(){return Yt},coerce:{string:t=>As.create({...t,coerce:!0}),number:t=>Nc.create({...t,coerce:!0}),boolean:t=>iv.create({...t,coerce:!0}),bigint:t=>Ic.create({...t,coerce:!0}),date:t=>lf.create({...t,coerce:!0})},any:xG,array:RG,bigint:bG,boolean:f3,date:SG,discriminatedUnion:OG,effect:h3,enum:zG,function:FG,instanceof:vG,intersection:MG,lazy:jG,literal:VG,map:IG,nan:yG,nativeEnum:BG,never:_G,null:TG,nullable:qG,number:d3,object:PG,oboolean:()=>f3().optional(),onumber:()=>d3().optional(),optional:$G,ostring:()=>c3().optional(),pipeline:GG,preprocess:WG,promise:HG,record:NG,set:UG,strictObject:DG,string:c3,symbol:CG,transformer:h3,tuple:LG,undefined:kG,union:AG,unknown:wG,void:EG,NEVER:Xt,ZodIssueCode:We,quotelessJson:qW,ZodError:Ao});const YG=p3.object({message:p3.string().min(1,{message:"Please enter a message."})}),KG=[{id:"text",label:"Chat",icon:HI},{id:"audio",label:"Voice Call",icon:sW}];var vv=t=>t.type==="checkbox",df=t=>t instanceof Date,Va=t=>t==null;const m3=t=>typeof t=="object";var li=t=>!Va(t)&&!Array.isArray(t)&&m3(t)&&!df(t),g3=t=>li(t)&&t.target?vv(t.target)?t.target.checked:t.target.value:t,ZG=t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,v3=(t,e)=>t.has(ZG(e)),QG=t=>{const e=t.constructor&&t.constructor.prototype;return li(e)&&e.hasOwnProperty("isPrototypeOf")},_w=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function so(t){let e;const n=Array.isArray(t),r=typeof FileList<"u"?t instanceof FileList:!1;if(t instanceof Date)e=new Date(t);else if(t instanceof Set)e=new Set(t);else if(!(_w&&(t instanceof Blob||r))&&(n||li(t)))if(e=n?[]:{},!n&&!QG(t))e=t;else for(const a in t)t.hasOwnProperty(a)&&(e[a]=so(t[a]));else return t;return e}var nS=t=>Array.isArray(t)?t.filter(Boolean):[],ui=t=>t===void 0,rt=(t,e,n)=>{if(!e||!li(t))return n;const r=nS(e.split(/[,[\].]+?/)).reduce((a,s)=>Va(a)?a:a[s],t);return ui(r)||r===t?ui(t[e])?n:t[e]:r},Qo=t=>typeof t=="boolean",Ew=t=>/^\w*$/.test(t),y3=t=>nS(t.replace(/["|']|\]/g,"").split(/\.|\[/)),or=(t,e,n)=>{let r=-1;const a=Ew(e)?[e]:y3(e),s=a.length,l=s-1;for(;++r<s;){const c=a[r];let h=n;if(r!==l){const p=t[c];h=li(p)||Array.isArray(p)?p:isNaN(+a[r+1])?{}:[]}if(c==="__proto__"||c==="constructor"||c==="prototype")return;t[c]=h,t=t[c]}return t};const rS={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Ls={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Su={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},b3=ir.createContext(null),iS=()=>ir.useContext(b3),XG=t=>{const{children:e,...n}=t;return ir.createElement(b3.Provider,{value:n},e)};var S3=(t,e,n,r=!0)=>{const a={defaultValues:e._defaultValues};for(const s in t)Object.defineProperty(a,s,{get:()=>{const l=s;return e._proxyFormState[l]!==Ls.all&&(e._proxyFormState[l]=!r||Ls.all),n&&(n[l]=!0),t[l]}});return a},lo=t=>li(t)&&!Object.keys(t).length,C3=(t,e,n,r)=>{n(t);const{name:a,...s}=t;return lo(s)||Object.keys(s).length>=Object.keys(e).length||Object.keys(s).find(l=>e[l]===(!r||Ls.all))},yv=t=>Array.isArray(t)?t:[t],k3=(t,e,n)=>!t||!e||t===e||yv(t).some(r=>r&&(n?r===e:r.startsWith(e)||e.startsWith(r)));function Rw(t){const e=ir.useRef(t);e.current=t,ir.useEffect(()=>{const n=!t.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{n&&n.unsubscribe()}},[t.disabled])}function JG(t){const e=iS(),{control:n=e.control,disabled:r,name:a,exact:s}=t||{},[l,c]=ir.useState(n._formState),h=ir.useRef(!0),p=ir.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),v=ir.useRef(a);return v.current=a,Rw({disabled:r,next:b=>h.current&&k3(v.current,b.name,s)&&C3(b,p.current,n._updateFormState)&&c({...n._formState,...b}),subject:n._subjects.state}),ir.useEffect(()=>(h.current=!0,p.current.isValid&&n._updateValid(!0),()=>{h.current=!1}),[n]),ir.useMemo(()=>S3(l,n,p.current,!1),[l,n])}var bl=t=>typeof t=="string",T3=(t,e,n,r,a)=>bl(t)?(r&&e.watch.add(t),rt(n,t,a)):Array.isArray(t)?t.map(s=>(r&&e.watch.add(s),rt(n,s))):(r&&(e.watchAll=!0),n);function eY(t){const e=iS(),{control:n=e.control,name:r,defaultValue:a,disabled:s,exact:l}=t||{},c=ir.useRef(r);c.current=r,Rw({disabled:s,subject:n._subjects.values,next:v=>{k3(c.current,v.name,l)&&p(so(T3(c.current,n._names,v.values||n._formValues,!1,a)))}});const[h,p]=ir.useState(n._getWatch(r,a));return ir.useEffect(()=>n._removeUnmounted()),h}function tY(t){const e=iS(),{name:n,disabled:r,control:a=e.control,shouldUnregister:s}=t,l=v3(a._names.array,n),c=eY({control:a,name:n,defaultValue:rt(a._formValues,n,rt(a._defaultValues,n,t.defaultValue)),exact:!0}),h=JG({control:a,name:n,exact:!0}),p=ir.useRef(a.register(n,{...t.rules,value:c,...Qo(t.disabled)?{disabled:t.disabled}:{}})),v=ir.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!rt(h.errors,n)},isDirty:{enumerable:!0,get:()=>!!rt(h.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!rt(h.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!rt(h.validatingFields,n)},error:{enumerable:!0,get:()=>rt(h.errors,n)}}),[h,n]),b=ir.useMemo(()=>({name:n,value:c,...Qo(r)||h.disabled?{disabled:h.disabled||r}:{},onChange:k=>p.current.onChange({target:{value:g3(k),name:n},type:rS.CHANGE}),onBlur:()=>p.current.onBlur({target:{value:rt(a._formValues,n),name:n},type:rS.BLUR}),ref:k=>{const T=rt(a._fields,n);T&&k&&(T._f.ref={focus:()=>k.focus(),select:()=>k.select(),setCustomValidity:E=>k.setCustomValidity(E),reportValidity:()=>k.reportValidity()})}}),[n,a._formValues,r,h.disabled,c,a._fields]);return ir.useEffect(()=>{const k=a._options.shouldUnregister||s,T=(E,R)=>{const M=rt(a._fields,E);M&&M._f&&(M._f.mount=R)};if(T(n,!0),k){const E=so(rt(a._options.defaultValues,n));or(a._defaultValues,n,E),ui(rt(a._formValues,n))&&or(a._formValues,n,E)}return!l&&a.register(n),()=>{(l?k&&!a._state.action:k)?a.unregister(n):T(n,!1)}},[n,a,l,s]),ir.useEffect(()=>{a._updateDisabledField({disabled:r,fields:a._fields,name:n})},[r,n,a]),ir.useMemo(()=>({field:b,formState:h,fieldState:v}),[b,h,v])}const nY=t=>t.render(tY(t));var x3=(t,e,n,r,a)=>e?{...n[t],types:{...n[t]&&n[t].types?n[t].types:{},[r]:a||!0}}:{},w3=t=>({isOnSubmit:!t||t===Ls.onSubmit,isOnBlur:t===Ls.onBlur,isOnChange:t===Ls.onChange,isOnAll:t===Ls.all,isOnTouch:t===Ls.onTouched}),_3=(t,e,n)=>!n&&(e.watchAll||e.watch.has(t)||[...e.watch].some(r=>t.startsWith(r)&&/^\.\w+/.test(t.slice(r.length))));const bv=(t,e,n,r)=>{for(const a of n||Object.keys(t)){const s=rt(t,a);if(s){const{_f:l,...c}=s;if(l){if(l.refs&&l.refs[0]&&e(l.refs[0],a)&&!r)return!0;if(l.ref&&e(l.ref,l.name)&&!r)return!0;if(bv(c,e))break}else if(li(c)&&bv(c,e))break}}};var rY=(t,e,n)=>{const r=yv(rt(t,n));return or(r,"root",e[n]),or(t,n,r),t},Pw=t=>t.type==="file",Sl=t=>typeof t=="function",aS=t=>{if(!_w)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},oS=t=>bl(t),Dw=t=>t.type==="radio",sS=t=>t instanceof RegExp;const E3={value:!1,isValid:!1},R3={value:!0,isValid:!0};var P3=t=>{if(Array.isArray(t)){if(t.length>1){const e=t.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:e,isValid:!!e.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!ui(t[0].attributes.value)?ui(t[0].value)||t[0].value===""?R3:{value:t[0].value,isValid:!0}:R3:E3}return E3};const D3={isValid:!1,value:null};var A3=t=>Array.isArray(t)?t.reduce((e,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:e,D3):D3;function O3(t,e,n="validate"){if(oS(t)||Array.isArray(t)&&t.every(oS)||Qo(t)&&!t)return{type:n,message:oS(t)?t:"",ref:e}}var vp=t=>li(t)&&!sS(t)?t:{value:t,message:""},M3=async(t,e,n,r,a,s)=>{const{ref:l,refs:c,required:h,maxLength:p,minLength:v,min:b,max:k,pattern:T,validate:E,name:R,valueAsNumber:M,mount:A}=t._f,U=rt(n,R);if(!A||e.has(R))return{};const V=c?c[0]:l,j=te=>{a&&V.reportValidity&&(V.setCustomValidity(Qo(te)?"":te||""),V.reportValidity())},I={},N=Dw(l),ne=vv(l),X=N||ne,se=(M||Pw(l))&&ui(l.value)&&ui(U)||aS(l)&&l.value===""||U===""||Array.isArray(U)&&!U.length,$=x3.bind(null,R,r,I),oe=(te,xe,ke,Ge=Su.maxLength,Je=Su.minLength)=>{const Fe=te?xe:ke;I[R]={type:te?Ge:Je,message:Fe,ref:l,...$(te?Ge:Je,Fe)}};if(s?!Array.isArray(U)||!U.length:h&&(!X&&(se||Va(U))||Qo(U)&&!U||ne&&!P3(c).isValid||N&&!A3(c).isValid)){const{value:te,message:xe}=oS(h)?{value:!!h,message:h}:vp(h);if(te&&(I[R]={type:Su.required,message:xe,ref:V,...$(Su.required,xe)},!r))return j(xe),I}if(!se&&(!Va(b)||!Va(k))){let te,xe;const ke=vp(k),Ge=vp(b);if(!Va(U)&&!isNaN(U)){const Je=l.valueAsNumber||U&&+U;Va(ke.value)||(te=Je>ke.value),Va(Ge.value)||(xe=Je<Ge.value)}else{const Je=l.valueAsDate||new Date(U),Fe=z=>new Date(new Date().toDateString()+" "+z),ve=l.type=="time",Be=l.type=="week";bl(ke.value)&&U&&(te=ve?Fe(U)>Fe(ke.value):Be?U>ke.value:Je>new Date(ke.value)),bl(Ge.value)&&U&&(xe=ve?Fe(U)<Fe(Ge.value):Be?U<Ge.value:Je<new Date(Ge.value))}if((te||xe)&&(oe(!!te,ke.message,Ge.message,Su.max,Su.min),!r))return j(I[R].message),I}if((p||v)&&!se&&(bl(U)||s&&Array.isArray(U))){const te=vp(p),xe=vp(v),ke=!Va(te.value)&&U.length>+te.value,Ge=!Va(xe.value)&&U.length<+xe.value;if((ke||Ge)&&(oe(ke,te.message,xe.message),!r))return j(I[R].message),I}if(T&&!se&&bl(U)){const{value:te,message:xe}=vp(T);if(sS(te)&&!U.match(te)&&(I[R]={type:Su.pattern,message:xe,ref:l,...$(Su.pattern,xe)},!r))return j(xe),I}if(E){if(Sl(E)){const te=await E(U,n),xe=O3(te,V);if(xe&&(I[R]={...xe,...$(Su.validate,xe.message)},!r))return j(xe.message),I}else if(li(E)){let te={};for(const xe in E){if(!lo(te)&&!r)break;const ke=O3(await E[xe](U,n),V,xe);ke&&(te={...ke,...$(xe,ke.message)},j(ke.message),r&&(I[R]=te))}if(!lo(te)&&(I[R]={ref:V,...te},!r))return I}}return j(!0),I};function iY(t,e){const n=e.slice(0,-1).length;let r=0;for(;r<n;)t=ui(t)?r++:t[e[r++]];return t}function aY(t){for(const e in t)if(t.hasOwnProperty(e)&&!ui(t[e]))return!1;return!0}function _i(t,e){const n=Array.isArray(e)?e:Ew(e)?[e]:y3(e),r=n.length===1?t:iY(t,n),a=n.length-1,s=n[a];return r&&delete r[s],a!==0&&(li(r)&&lo(r)||Array.isArray(r)&&aY(r))&&_i(t,n.slice(0,-1)),t}var Aw=()=>{let t=[];return{get observers(){return t},next:a=>{for(const s of t)s.next&&s.next(a)},subscribe:a=>(t.push(a),{unsubscribe:()=>{t=t.filter(s=>s!==a)}}),unsubscribe:()=>{t=[]}}},Ow=t=>Va(t)||!m3(t);function jc(t,e){if(Ow(t)||Ow(e))return t===e;if(df(t)&&df(e))return t.getTime()===e.getTime();const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(const a of n){const s=t[a];if(!r.includes(a))return!1;if(a!=="ref"){const l=e[a];if(df(s)&&df(l)||li(s)&&li(l)||Array.isArray(s)&&Array.isArray(l)?!jc(s,l):s!==l)return!1}}return!0}var L3=t=>t.type==="select-multiple",oY=t=>Dw(t)||vv(t),Mw=t=>aS(t)&&t.isConnected,N3=t=>{for(const e in t)if(Sl(t[e]))return!0;return!1};function lS(t,e={}){const n=Array.isArray(t);if(li(t)||n)for(const r in t)Array.isArray(t[r])||li(t[r])&&!N3(t[r])?(e[r]=Array.isArray(t[r])?[]:{},lS(t[r],e[r])):Va(t[r])||(e[r]=!0);return e}function I3(t,e,n){const r=Array.isArray(t);if(li(t)||r)for(const a in t)Array.isArray(t[a])||li(t[a])&&!N3(t[a])?ui(e)||Ow(n[a])?n[a]=Array.isArray(t[a])?lS(t[a],[]):{...lS(t[a])}:I3(t[a],Va(e)?{}:e[a],n[a]):n[a]=!jc(t[a],e[a]);return n}var Sv=(t,e)=>I3(t,e,lS(e)),U3=(t,{valueAsNumber:e,valueAsDate:n,setValueAs:r})=>ui(t)?t:e?t===""?NaN:t&&+t:n&&bl(t)?new Date(t):r?r(t):t;function Lw(t){const e=t.ref;return Pw(e)?e.files:Dw(e)?A3(t.refs).value:L3(e)?[...e.selectedOptions].map(({value:n})=>n):vv(e)?P3(t.refs).value:U3(ui(e.value)?t.ref.value:e.value,t)}var sY=(t,e,n,r)=>{const a={};for(const s of t){const l=rt(e,s);l&&or(a,s,l._f)}return{criteriaMode:n,names:[...t],fields:a,shouldUseNativeValidation:r}},Cv=t=>ui(t)?t:sS(t)?t.source:li(t)?sS(t.value)?t.value.source:t.value:t;const F3="AsyncFunction";var lY=t=>!!t&&!!t.validate&&!!(Sl(t.validate)&&t.validate.constructor.name===F3||li(t.validate)&&Object.values(t.validate).find(e=>e.constructor.name===F3)),uY=t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate);function j3(t,e,n){const r=rt(t,n);if(r||Ew(n))return{error:r,name:n};const a=n.split(".");for(;a.length;){const s=a.join("."),l=rt(e,s),c=rt(t,s);if(l&&!Array.isArray(l)&&n!==s)return{name:n};if(c&&c.type)return{name:s,error:c};a.pop()}return{name:n}}var cY=(t,e,n,r,a)=>a.isOnAll?!1:!n&&a.isOnTouch?!(e||t):(n?r.isOnBlur:a.isOnBlur)?!t:(n?r.isOnChange:a.isOnChange)?t:!0,dY=(t,e)=>!nS(rt(t,e)).length&&_i(t,e);const fY={mode:Ls.onSubmit,reValidateMode:Ls.onChange,shouldFocusError:!0};function hY(t={}){let e={...fY,...t},n={submitCount:0,isDirty:!1,isLoading:Sl(e.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1},r={},a=li(e.defaultValues)||li(e.values)?so(e.defaultValues||e.values)||{}:{},s=e.shouldUnregister?{}:so(a),l={action:!1,mount:!1,watch:!1},c={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},h,p=0;const v={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},b={values:Aw(),array:Aw(),state:Aw()},k=w3(e.mode),T=w3(e.reValidateMode),E=e.criteriaMode===Ls.all,R=Z=>le=>{clearTimeout(p),p=setTimeout(Z,le)},M=async Z=>{if(!e.disabled&&(v.isValid||Z)){const le=e.resolver?lo((await X()).errors):await $(r,!0);le!==n.isValid&&b.state.next({isValid:le})}},A=(Z,le)=>{!e.disabled&&(v.isValidating||v.validatingFields)&&((Z||Array.from(c.mount)).forEach(me=>{me&&(le?or(n.validatingFields,me,le):_i(n.validatingFields,me))}),b.state.next({validatingFields:n.validatingFields,isValidating:!lo(n.validatingFields)}))},U=(Z,le=[],me,je,Ve=!0,Me=!0)=>{if(je&&me&&!e.disabled){if(l.action=!0,Me&&Array.isArray(rt(r,Z))){const ut=me(rt(r,Z),je.argA,je.argB);Ve&&or(r,Z,ut)}if(Me&&Array.isArray(rt(n.errors,Z))){const ut=me(rt(n.errors,Z),je.argA,je.argB);Ve&&or(n.errors,Z,ut),dY(n.errors,Z)}if(v.touchedFields&&Me&&Array.isArray(rt(n.touchedFields,Z))){const ut=me(rt(n.touchedFields,Z),je.argA,je.argB);Ve&&or(n.touchedFields,Z,ut)}v.dirtyFields&&(n.dirtyFields=Sv(a,s)),b.state.next({name:Z,isDirty:te(Z,le),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else or(s,Z,le)},V=(Z,le)=>{or(n.errors,Z,le),b.state.next({errors:n.errors})},j=Z=>{n.errors=Z,b.state.next({errors:n.errors,isValid:!1})},I=(Z,le,me,je)=>{const Ve=rt(r,Z);if(Ve){const Me=rt(s,Z,ui(me)?rt(a,Z):me);ui(Me)||je&&je.defaultChecked||le?or(s,Z,le?Me:Lw(Ve._f)):Ge(Z,Me),l.mount&&M()}},N=(Z,le,me,je,Ve)=>{let Me=!1,ut=!1;const Nt={name:Z};if(!e.disabled){const fe=!!(rt(r,Z)&&rt(r,Z)._f&&rt(r,Z)._f.disabled);if(!me||je){v.isDirty&&(ut=n.isDirty,n.isDirty=Nt.isDirty=te(),Me=ut!==Nt.isDirty);const Re=fe||jc(rt(a,Z),le);ut=!!(!fe&&rt(n.dirtyFields,Z)),Re||fe?_i(n.dirtyFields,Z):or(n.dirtyFields,Z,!0),Nt.dirtyFields=n.dirtyFields,Me=Me||v.dirtyFields&&ut!==!Re}if(me){const Re=rt(n.touchedFields,Z);Re||(or(n.touchedFields,Z,me),Nt.touchedFields=n.touchedFields,Me=Me||v.touchedFields&&Re!==me)}Me&&Ve&&b.state.next(Nt)}return Me?Nt:{}},ne=(Z,le,me,je)=>{const Ve=rt(n.errors,Z),Me=v.isValid&&Qo(le)&&n.isValid!==le;if(e.delayError&&me?(h=R(()=>V(Z,me)),h(e.delayError)):(clearTimeout(p),h=null,me?or(n.errors,Z,me):_i(n.errors,Z)),(me?!jc(Ve,me):Ve)||!lo(je)||Me){const ut={...je,...Me&&Qo(le)?{isValid:le}:{},errors:n.errors,name:Z};n={...n,...ut},b.state.next(ut)}},X=async Z=>{A(Z,!0);const le=await e.resolver(s,e.context,sY(Z||c.mount,r,e.criteriaMode,e.shouldUseNativeValidation));return A(Z),le},se=async Z=>{const{errors:le}=await X(Z);if(Z)for(const me of Z){const je=rt(le,me);je?or(n.errors,me,je):_i(n.errors,me)}else n.errors=le;return le},$=async(Z,le,me={valid:!0})=>{for(const je in Z){const Ve=Z[je];if(Ve){const{_f:Me,...ut}=Ve;if(Me){const Nt=c.array.has(Me.name),fe=Ve._f&&lY(Ve._f);fe&&v.validatingFields&&A([je],!0);const Re=await M3(Ve,c.disabled,s,E,e.shouldUseNativeValidation&&!le,Nt);if(fe&&v.validatingFields&&A([je]),Re[Me.name]&&(me.valid=!1,le))break;!le&&(rt(Re,Me.name)?Nt?rY(n.errors,Re,Me.name):or(n.errors,Me.name,Re[Me.name]):_i(n.errors,Me.name))}!lo(ut)&&await $(ut,le,me)}}return me.valid},oe=()=>{for(const Z of c.unMount){const le=rt(r,Z);le&&(le._f.refs?le._f.refs.every(me=>!Mw(me)):!Mw(le._f.ref))&&ht(Z)}c.unMount=new Set},te=(Z,le)=>!e.disabled&&(Z&&le&&or(s,Z,le),!jc(J(),a)),xe=(Z,le,me)=>T3(Z,c,{...l.mount?s:ui(le)?a:bl(Z)?{[Z]:le}:le},me,le),ke=Z=>nS(rt(l.mount?s:a,Z,e.shouldUnregister?rt(a,Z,[]):[])),Ge=(Z,le,me={})=>{const je=rt(r,Z);let Ve=le;if(je){const Me=je._f;Me&&(!Me.disabled&&or(s,Z,U3(le,Me)),Ve=aS(Me.ref)&&Va(le)?"":le,L3(Me.ref)?[...Me.ref.options].forEach(ut=>ut.selected=Ve.includes(ut.value)):Me.refs?vv(Me.ref)?Me.refs.length>1?Me.refs.forEach(ut=>(!ut.defaultChecked||!ut.disabled)&&(ut.checked=Array.isArray(Ve)?!!Ve.find(Nt=>Nt===ut.value):Ve===ut.value)):Me.refs[0]&&(Me.refs[0].checked=!!Ve):Me.refs.forEach(ut=>ut.checked=ut.value===Ve):Pw(Me.ref)?Me.ref.value="":(Me.ref.value=Ve,Me.ref.type||b.values.next({name:Z,values:{...s}})))}(me.shouldDirty||me.shouldTouch)&&N(Z,Ve,me.shouldTouch,me.shouldDirty,!0),me.shouldValidate&&z(Z)},Je=(Z,le,me)=>{for(const je in le){const Ve=le[je],Me=`${Z}.${je}`,ut=rt(r,Me);(c.array.has(Z)||li(Ve)||ut&&!ut._f)&&!df(Ve)?Je(Me,Ve,me):Ge(Me,Ve,me)}},Fe=(Z,le,me={})=>{const je=rt(r,Z),Ve=c.array.has(Z),Me=so(le);or(s,Z,Me),Ve?(b.array.next({name:Z,values:{...s}}),(v.isDirty||v.dirtyFields)&&me.shouldDirty&&b.state.next({name:Z,dirtyFields:Sv(a,s),isDirty:te(Z,Me)})):je&&!je._f&&!Va(Me)?Je(Z,Me,me):Ge(Z,Me,me),_3(Z,c)&&b.state.next({...n}),b.values.next({name:l.mount?Z:void 0,values:{...s}})},ve=async Z=>{l.mount=!0;const le=Z.target;let me=le.name,je=!0;const Ve=rt(r,me),Me=()=>le.type?Lw(Ve._f):g3(Z),ut=Nt=>{je=Number.isNaN(Nt)||df(Nt)&&isNaN(Nt.getTime())||jc(Nt,rt(s,me,Nt))};if(Ve){let Nt,fe;const Re=Me(),vt=Z.type===rS.BLUR||Z.type===rS.FOCUS_OUT,Ft=!uY(Ve._f)&&!e.resolver&&!rt(n.errors,me)&&!Ve._f.deps||cY(vt,rt(n.touchedFields,me),n.isSubmitted,T,k),Kt=_3(me,c,vt);or(s,me,Re),vt?(Ve._f.onBlur&&Ve._f.onBlur(Z),h&&h(0)):Ve._f.onChange&&Ve._f.onChange(Z);const ze=N(me,Re,vt,!1),ct=!lo(ze)||Kt;if(!vt&&b.values.next({name:me,type:Z.type,values:{...s}}),Ft)return v.isValid&&(e.mode==="onBlur"&&vt?M():vt||M()),ct&&b.state.next({name:me,...Kt?{}:ze});if(!vt&&Kt&&b.state.next({...n}),e.resolver){const{errors:At}=await X([me]);if(ut(Re),je){const cn=j3(n.errors,r,me),_n=j3(At,r,cn.name||me);Nt=_n.error,me=_n.name,fe=lo(At)}}else A([me],!0),Nt=(await M3(Ve,c.disabled,s,E,e.shouldUseNativeValidation))[me],A([me]),ut(Re),je&&(Nt?fe=!1:v.isValid&&(fe=await $(r,!0)));je&&(Ve._f.deps&&z(Ve._f.deps),ne(me,fe,Nt,ze))}},Be=(Z,le)=>{if(rt(n.errors,le)&&Z.focus)return Z.focus(),1},z=async(Z,le={})=>{let me,je;const Ve=yv(Z);if(e.resolver){const Me=await se(ui(Z)?Z:Ve);me=lo(Me),je=Z?!Ve.some(ut=>rt(Me,ut)):me}else Z?(je=(await Promise.all(Ve.map(async Me=>{const ut=rt(r,Me);return await $(ut&&ut._f?{[Me]:ut}:ut)}))).every(Boolean),!(!je&&!n.isValid)&&M()):je=me=await $(r);return b.state.next({...!bl(Z)||v.isValid&&me!==n.isValid?{}:{name:Z},...e.resolver||!Z?{isValid:me}:{},errors:n.errors}),le.shouldFocus&&!je&&bv(r,Be,Z?Ve:c.mount),je},J=Z=>{const le={...l.mount?s:a};return ui(Z)?le:bl(Z)?rt(le,Z):Z.map(me=>rt(le,me))},Ce=(Z,le)=>({invalid:!!rt((le||n).errors,Z),isDirty:!!rt((le||n).dirtyFields,Z),error:rt((le||n).errors,Z),isValidating:!!rt(n.validatingFields,Z),isTouched:!!rt((le||n).touchedFields,Z)}),H=Z=>{Z&&yv(Z).forEach(le=>_i(n.errors,le)),b.state.next({errors:Z?n.errors:{}})},Ct=(Z,le,me)=>{const je=(rt(r,Z,{_f:{}})._f||{}).ref,Ve=rt(n.errors,Z)||{},{ref:Me,message:ut,type:Nt,...fe}=Ve;or(n.errors,Z,{...fe,...le,ref:je}),b.state.next({name:Z,errors:n.errors,isValid:!1}),me&&me.shouldFocus&&je&&je.focus&&je.focus()},Rt=(Z,le)=>Sl(Z)?b.values.subscribe({next:me=>Z(xe(void 0,le),me)}):xe(Z,le,!0),ht=(Z,le={})=>{for(const me of Z?yv(Z):c.mount)c.mount.delete(me),c.array.delete(me),le.keepValue||(_i(r,me),_i(s,me)),!le.keepError&&_i(n.errors,me),!le.keepDirty&&_i(n.dirtyFields,me),!le.keepTouched&&_i(n.touchedFields,me),!le.keepIsValidating&&_i(n.validatingFields,me),!e.shouldUnregister&&!le.keepDefaultValue&&_i(a,me);b.values.next({values:{...s}}),b.state.next({...n,...le.keepDirty?{isDirty:te()}:{}}),!le.keepIsValid&&M()},bt=({disabled:Z,name:le,field:me,fields:je})=>{(Qo(Z)&&l.mount||Z||c.disabled.has(le))&&(Z?c.disabled.add(le):c.disabled.delete(le),N(le,Lw(me?me._f:rt(je,le)._f),!1,!1,!0))},it=(Z,le={})=>{let me=rt(r,Z);const je=Qo(le.disabled)||Qo(e.disabled);return or(r,Z,{...me||{},_f:{...me&&me._f?me._f:{ref:{name:Z}},name:Z,mount:!0,...le}}),c.mount.add(Z),me?bt({field:me,disabled:Qo(le.disabled)?le.disabled:e.disabled,name:Z}):I(Z,!0,le.value),{...je?{disabled:le.disabled||e.disabled}:{},...e.progressive?{required:!!le.required,min:Cv(le.min),max:Cv(le.max),minLength:Cv(le.minLength),maxLength:Cv(le.maxLength),pattern:Cv(le.pattern)}:{},name:Z,onChange:ve,onBlur:ve,ref:Ve=>{if(Ve){it(Z,le),me=rt(r,Z);const Me=ui(Ve.value)&&Ve.querySelectorAll&&Ve.querySelectorAll("input,select,textarea")[0]||Ve,ut=oY(Me),Nt=me._f.refs||[];if(ut?Nt.find(fe=>fe===Me):Me===me._f.ref)return;or(r,Z,{_f:{...me._f,...ut?{refs:[...Nt.filter(Mw),Me,...Array.isArray(rt(a,Z))?[{}]:[]],ref:{type:Me.type,name:Z}}:{ref:Me}}}),I(Z,!1,void 0,Me)}else me=rt(r,Z,{}),me._f&&(me._f.mount=!1),(e.shouldUnregister||le.shouldUnregister)&&!(v3(c.array,Z)&&l.action)&&c.unMount.add(Z)}}},xt=()=>e.shouldFocusError&&bv(r,Be,c.mount),nn=Z=>{Qo(Z)&&(b.state.next({disabled:Z}),bv(r,(le,me)=>{const je=rt(r,me);je&&(le.disabled=je._f.disabled||Z,Array.isArray(je._f.refs)&&je._f.refs.forEach(Ve=>{Ve.disabled=je._f.disabled||Z}))},0,!1))},qn=(Z,le)=>async me=>{let je;me&&(me.preventDefault&&me.preventDefault(),me.persist&&me.persist());let Ve=so(s);if(c.disabled.size)for(const Me of c.disabled)or(Ve,Me,void 0);if(b.state.next({isSubmitting:!0}),e.resolver){const{errors:Me,values:ut}=await X();n.errors=Me,Ve=ut}else await $(r);if(_i(n.errors,"root"),lo(n.errors)){b.state.next({errors:{}});try{await Z(Ve,me)}catch(Me){je=Me}}else le&&await le({...n.errors},me),xt(),setTimeout(xt);if(b.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:lo(n.errors)&&!je,submitCount:n.submitCount+1,errors:n.errors}),je)throw je},_r=(Z,le={})=>{rt(r,Z)&&(ui(le.defaultValue)?Fe(Z,so(rt(a,Z))):(Fe(Z,le.defaultValue),or(a,Z,so(le.defaultValue))),le.keepTouched||_i(n.touchedFields,Z),le.keepDirty||(_i(n.dirtyFields,Z),n.isDirty=le.defaultValue?te(Z,so(rt(a,Z))):te()),le.keepError||(_i(n.errors,Z),v.isValid&&M()),b.state.next({...n}))},vr=(Z,le={})=>{const me=Z?so(Z):a,je=so(me),Ve=lo(Z),Me=Ve?a:je;if(le.keepDefaultValues||(a=me),!le.keepValues){if(le.keepDirtyValues){const ut=new Set([...c.mount,...Object.keys(Sv(a,s))]);for(const Nt of Array.from(ut))rt(n.dirtyFields,Nt)?or(Me,Nt,rt(s,Nt)):Fe(Nt,rt(Me,Nt))}else{if(_w&&ui(Z))for(const ut of c.mount){const Nt=rt(r,ut);if(Nt&&Nt._f){const fe=Array.isArray(Nt._f.refs)?Nt._f.refs[0]:Nt._f.ref;if(aS(fe)){const Re=fe.closest("form");if(Re){Re.reset();break}}}}r={}}s=e.shouldUnregister?le.keepDefaultValues?so(a):{}:so(Me),b.array.next({values:{...Me}}),b.values.next({values:{...Me}})}c={mount:le.keepDirtyValues?c.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!v.isValid||!!le.keepIsValid||!!le.keepDirtyValues,l.watch=!!e.shouldUnregister,b.state.next({submitCount:le.keepSubmitCount?n.submitCount:0,isDirty:Ve?!1:le.keepDirty?n.isDirty:!!(le.keepDefaultValues&&!jc(Z,a)),isSubmitted:le.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Ve?{}:le.keepDirtyValues?le.keepDefaultValues&&s?Sv(a,s):n.dirtyFields:le.keepDefaultValues&&Z?Sv(a,Z):le.keepDirty?n.dirtyFields:{},touchedFields:le.keepTouched?n.touchedFields:{},errors:le.keepErrors?n.errors:{},isSubmitSuccessful:le.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Xn=(Z,le)=>vr(Sl(Z)?Z(s):Z,le);return{control:{register:it,unregister:ht,getFieldState:Ce,handleSubmit:qn,setError:Ct,_executeSchema:X,_getWatch:xe,_getDirty:te,_updateValid:M,_removeUnmounted:oe,_updateFieldArray:U,_updateDisabledField:bt,_getFieldArray:ke,_reset:vr,_resetDefaultValues:()=>Sl(e.defaultValues)&&e.defaultValues().then(Z=>{Xn(Z,e.resetOptions),b.state.next({isLoading:!1})}),_updateFormState:Z=>{n={...n,...Z}},_disableForm:nn,_subjects:b,_proxyFormState:v,_setErrors:j,get _fields(){return r},get _formValues(){return s},get _state(){return l},set _state(Z){l=Z},get _defaultValues(){return a},get _names(){return c},set _names(Z){c=Z},get _formState(){return n},set _formState(Z){n=Z},get _options(){return e},set _options(Z){e={...e,...Z}}},trigger:z,register:it,handleSubmit:qn,watch:Rt,setValue:Fe,getValues:J,reset:Xn,resetField:_r,clearErrors:H,unregister:ht,setError:Ct,setFocus:(Z,le={})=>{const me=rt(r,Z),je=me&&me._f;if(je){const Ve=je.refs?je.refs[0]:je.ref;Ve.focus&&(Ve.focus(),le.shouldSelect&&Sl(Ve.select)&&Ve.select())}},getFieldState:Ce}}function pY(t={}){const e=ir.useRef(void 0),n=ir.useRef(void 0),[r,a]=ir.useState({isDirty:!1,isValidating:!1,isLoading:Sl(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,defaultValues:Sl(t.defaultValues)?void 0:t.defaultValues});e.current||(e.current={...hY(t),formState:r});const s=e.current.control;return s._options=t,Rw({subject:s._subjects.state,next:l=>{C3(l,s._proxyFormState,s._updateFormState,!0)&&a({...s._formState})}}),ir.useEffect(()=>s._disableForm(t.disabled),[s,t.disabled]),ir.useEffect(()=>{if(s._proxyFormState.isDirty){const l=s._getDirty();l!==r.isDirty&&s._subjects.state.next({isDirty:l})}},[s,r.isDirty]),ir.useEffect(()=>{t.values&&!jc(t.values,n.current)?(s._reset(t.values,s._options.resetOptions),n.current=t.values,a(l=>({...l}))):s._resetDefaultValues()},[t.values,s]),ir.useEffect(()=>{t.errors&&s._setErrors(t.errors)},[t.errors,s]),ir.useEffect(()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),ir.useEffect(()=>{t.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})},[t.shouldUnregister,s]),e.current.formState=S3(r,s),e.current}const V3=(t,e,n)=>{if(t&&"reportValidity"in t){const r=rt(n,e);t.setCustomValidity(r&&r.message||""),t.reportValidity()}},z3=(t,e)=>{for(const n in e.fields){const r=e.fields[n];r&&r.ref&&"reportValidity"in r.ref?V3(r.ref,n,t):r.refs&&r.refs.forEach(a=>V3(a,n,t))}},mY=(t,e)=>{e.shouldUseNativeValidation&&z3(t,e);const n={};for(const r in t){const a=rt(e.fields,r),s=Object.assign(t[r]||{},{ref:a&&a.ref});if(gY(e.names||Object.keys(t),r)){const l=Object.assign({},rt(n,r));or(l,"root",s),or(n,r,l)}else or(n,r,s)}return n},gY=(t,e)=>t.some(n=>n.startsWith(e+"."));var vY=function(t,e){for(var n={};t.length;){var r=t[0],a=r.code,s=r.message,l=r.path.join(".");if(!n[l])if("unionErrors"in r){var c=r.unionErrors[0].errors[0];n[l]={message:c.message,type:c.code}}else n[l]={message:s,type:a};if("unionErrors"in r&&r.unionErrors.forEach(function(v){return v.errors.forEach(function(b){return t.push(b)})}),e){var h=n[l].types,p=h&&h[r.code];n[l]=x3(l,e,n,a,p?[].concat(p,r.message):r.message)}t.shift()}return n},yY=function(t,e,n){return n===void 0&&(n={}),function(r,a,s){try{return Promise.resolve(function(l,c){try{var h=Promise.resolve(t[n.mode==="sync"?"parse":"parseAsync"](r,e)).then(function(p){return s.shouldUseNativeValidation&&z3({},s),{errors:{},values:n.raw?r:p}})}catch(p){return c(p)}return h&&h.then?h.then(void 0,c):h}(0,function(l){if(function(c){return Array.isArray(c==null?void 0:c.errors)}(l))return{values:{},errors:mY(vY(l.errors,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}}};function B3(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function bY(...t){return e=>{let n=!1;const r=t.map(a=>{const s=B3(a,e);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():B3(t[a],null)}}}}var uS=G.forwardRef((t,e)=>{const{children:n,...r}=t,a=G.Children.toArray(n),s=a.find(CY);if(s){const l=s.props.children,c=a.map(h=>h===s?G.Children.count(l)>1?G.Children.only(null):G.isValidElement(l)?l.props.children:null:h);return W.jsx(Nw,{...r,ref:e,children:G.isValidElement(l)?G.cloneElement(l,void 0,c):null})}return W.jsx(Nw,{...r,ref:e,children:n})});uS.displayName="Slot";var Nw=G.forwardRef((t,e)=>{const{children:n,...r}=t;if(G.isValidElement(n)){const a=TY(n);return G.cloneElement(n,{...kY(r,n.props),ref:e?bY(e,a):a})}return G.Children.count(n)>1?G.Children.only(null):null});Nw.displayName="SlotClone";var SY=({children:t})=>W.jsx(W.Fragment,{children:t});function CY(t){return G.isValidElement(t)&&t.type===SY}function kY(t,e){const n={...e};for(const r in e){const a=t[r],s=e[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...c)=>{s(...c),a(...c)}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...t,...n}}function TY(t){var r,a;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var xY=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],wY=xY.reduce((t,e)=>{const n=G.forwardRef((r,a)=>{const{asChild:s,...l}=r,c=s?uS:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),W.jsx(c,{...l,ref:a})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),_Y="Label",H3=G.forwardRef((t,e)=>W.jsx(wY.label,{...t,ref:e,onMouseDown:n=>{var a;n.target.closest("button, input, select, textarea")||((a=t.onMouseDown)==null||a.call(t,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));H3.displayName=_Y;var $3=H3;const q3=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,W3=YI,G3=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return W3(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:s}=e,l=Object.keys(a).map(p=>{const v=n==null?void 0:n[p],b=s==null?void 0:s[p];if(v===null)return null;const k=q3(v)||q3(b);return a[p][k]}),c=n&&Object.entries(n).reduce((p,v)=>{let[b,k]=v;return k===void 0||(p[b]=k),p},{}),h=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((p,v)=>{let{class:b,className:k,...T}=v;return Object.entries(T).every(E=>{let[R,M]=E;return Array.isArray(M)?M.includes({...s,...c}[R]):{...s,...c}[R]===M})?[...p,b,k]:p},[]);return W3(t,l,h,n==null?void 0:n.class,n==null?void 0:n.className)},EY=G3("ringg_ai-text-sm ringg_ai-font-medium ringg_ai-leading-none peer-disabled:ringg_ai-cursor-not-allowed peer-disabled:ringg_ai-opacity-70"),Y3=G.forwardRef(({className:t,...e},n)=>W.jsx($3,{ref:n,className:xr(EY(),t),...e}));Y3.displayName=$3.displayName;const RY=XG,K3=G.createContext({}),PY=({...t})=>W.jsx(K3.Provider,{value:{name:t.name},children:W.jsx(nY,{...t})}),cS=()=>{const t=G.useContext(K3),e=G.useContext(Z3),{getFieldState:n,formState:r}=iS(),a=n(t.name,r);if(!t)throw new Error("useFormField should be used within <FormField>");const{id:s}=e;return{id:s,name:t.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...a}},Z3=G.createContext({}),Q3=G.forwardRef(({className:t,...e},n)=>{const r=G.useId();return W.jsx(Z3.Provider,{value:{id:r},children:W.jsx("div",{ref:n,className:xr("ringg_ai-space-y-2",t),...e})})});Q3.displayName="FormItem";const DY=G.forwardRef(({className:t,...e},n)=>{const{error:r,formItemId:a}=cS();return W.jsx(Y3,{ref:n,className:xr(r&&"ringg_ai-text-destructive",t),htmlFor:a,...e})});DY.displayName="FormLabel";const X3=G.forwardRef(({...t},e)=>{const{error:n,formItemId:r,formDescriptionId:a,formMessageId:s}=cS();return W.jsx(uS,{ref:e,id:r,"aria-describedby":n?`${a} ${s}`:`${a}`,"aria-invalid":!!n,...t})});X3.displayName="FormControl";const AY=G.forwardRef(({className:t,...e},n)=>{const{formDescriptionId:r}=cS();return W.jsx("p",{ref:n,id:r,className:xr("ringg_ai-text-[0.8rem] ringg_ai-text-muted-foreground",t),...e})});AY.displayName="FormDescription";const J3=G.forwardRef(({className:t,children:e,...n},r)=>{const{error:a,formMessageId:s}=cS(),l=a?String((a==null?void 0:a.message)??""):e;return l?W.jsx("p",{ref:r,id:s,className:xr("ringg_ai-text-[0.8rem] ringg_ai-font-medium ringg_ai-text-destructive",t),...n,children:l}):null});J3.displayName="FormMessage";const OY=({isSending:t,onMessageSubmit:e})=>{const n=Zo(),r=pY({defaultValues:{message:""},resolver:yY(YG),mode:"onSubmit"}),a=s=>{e==null||e(s.message),r.reset()};return W.jsx(RY,{...r,children:W.jsx("form",{onSubmit:r.handleSubmit(a),children:W.jsx(PY,{control:r.control,name:"message",render:({field:s})=>W.jsxs(Q3,{children:[W.jsxs("div",{className:"ringg_ai-relative",children:[W.jsx(X3,{children:W.jsx("input",{placeholder:"Type here",autoComplete:"off",className:"ringg_ai-w-full ringg_ai-rounded-full ringg_ai-h-12 ringg_ai-px-4 ringg_ai-pr-14 ringg_ai-text-sm ringg_ai-border focus:ringg_ai-outline-none focus:ringg_ai-ring-2",style:{backgroundColor:n.surfaceColor,color:n.textColor,borderColor:n.borderColor,"--tw-ring-color":n.primaryColor},...s})}),W.jsxs("button",{type:"submit",disabled:t,className:"ringg_ai-absolute ringg_ai-right-1 ringg_ai-top-1/2 ringg_ai-transform -ringg_ai-translate-y-1/2 ringg_ai-rounded-full ringg_ai-h-10 ringg_ai-w-10 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-transition-opacity hover:ringg_ai-opacity-80 disabled:ringg_ai-opacity-50",style:{backgroundColor:n.primaryColor,color:n.primaryTextColor},children:[W.jsx(cW,{className:"ringg_ai-h-4 ringg_ai-w-4"}),W.jsx("span",{className:"ringg_ai-sr-only",children:"Send message"})]})]}),W.jsx(J3,{})]})})})})},MY=({isCalling:t,callMode:e,buttonConfig:n,onCallEnd:r})=>{var v,b;const a=Zo(),s=JT(),{send:l,isSending:c}=HM(),h=async()=>s.localParticipant.setMicrophoneEnabled(!s.localParticipant.isMicrophoneEnabled),p=()=>r==null?void 0:r();return t&&e==="text"?W.jsx(OY,{isSending:c,onMessageSubmit:l}):t&&e==="audio"?W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-row ringg_ai-w-full ringg_ai-justify-between ringg_ai-items-center",children:[W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-1",children:[W.jsx("button",{onClick:h,className:xr("ringg_ai-rounded-full ringg_ai-h-12 ringg_ai-w-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-transition-opacity hover:ringg_ai-opacity-80"),style:{backgroundColor:a.surfaceColor,...(v=n==null?void 0:n.mic)==null?void 0:v.styles},children:s.localParticipant.isMicrophoneEnabled?W.jsx(uW,{className:"ringg_ai-h-4 ringg_ai-w-4",style:{color:a.textColor}}):W.jsx(eW,{className:"ringg_ai-h-4 ringg_ai-w-4",style:{color:a.textColor}})}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-text-center ringg_ai-font-normal",style:{color:a.mutedTextColor},children:s.localParticipant.isMicrophoneEnabled?"Mute":"Un-Mute"})]}),W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-1",children:[W.jsx("button",{onClick:p,className:xr("ringg_ai-rounded-full ringg_ai-h-12 ringg_ai-w-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-transition-opacity hover:ringg_ai-opacity-80"),style:{backgroundColor:a.errorColor,...(b=n==null?void 0:n.mic)==null?void 0:b.styles},children:W.jsx(lW,{className:"ringg_ai-h-4 ringg_ai-w-4 ringg_ai-text-white"})}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-text-center ringg_ai-font-normal",style:{color:a.mutedTextColor},children:"End Call"})]})]}):null},LY=({children:t,open:e,containerRef:n})=>{const r=Zo();return!e||!n.current?null:iD.createPortal(W.jsx("div",{className:"ringg_ai-absolute ringg_ai-inset-0 ringg_ai-z-[9999] ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-bg-black/50",children:W.jsx("div",{className:"ringg_ai-relative ringg_ai-shadow-lg ringg_ai-max-w-md ringg_ai-w-full ringg_ai-mx-4 ringg_ai-p-6",style:{backgroundColor:r.backgroundColor,borderRadius:r.borderRadius,color:r.textColor},children:t})}),n.current)},NY=({children:t,className:e=""})=>W.jsx("div",{className:xr("ringg_ai-space-y-4",e),children:t}),IY=({children:t})=>W.jsx("div",{className:"ringg_ai-space-y-2",children:t}),UY=({children:t})=>{const e=Zo();return W.jsx("h2",{className:"ringg_ai-text-md ringg_ai-font-medium",style:{color:e.textColor},children:t})},FY=({children:t})=>{const e=Zo();return W.jsx("p",{className:"ringg_ai-text-sm",style:{color:e.mutedTextColor},children:t})},jY=({children:t})=>W.jsx("div",{className:"ringg_ai-flex ringg_ai-justify-center ringg_ai-space-x-2 ringg_ai-pt-4",children:t}),VY=({filled:t,onClick:e,onMouseEnter:n,onMouseLeave:r,starsStyles:a})=>{const s=(a==null?void 0:a.filledColor)??"#FBBF24",l=(a==null?void 0:a.emptyColor)??"#D1D5DB";return W.jsx("button",{type:"button",onClick:e,onMouseEnter:n,onMouseLeave:r,className:"ringg_ai-p-1 ringg_ai-transition-transform hover:ringg_ai-scale-110",children:W.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:t?s:"none",stroke:t?s:l,strokeWidth:"2",className:"ringg_ai-w-8 ringg_ai-h-8 ringg_ai-cursor-pointer ringg_ai-transition-colors",children:W.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"})})})},zY=({callMode:t,isSubmitting:e,feedbackScreenConfig:n,onSubmit:r,onSkip:a})=>{const s=Zo(),l=mw(s.buttonStyle),[c,h]=G.useState(0),[p,v]=G.useState(0),[b,k]=G.useState(""),T=()=>{c>0&&r(c,b)},E=p||c,R=(n==null?void 0:n.starsCount)??5,M=Array.from({length:R},(A,U)=>U+1);return W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-items-center ringg_ai-justify-center ringg_ai-p-6 ringg_ai-h-full ringg_ai-gap-4",children:[W.jsxs("div",{className:"ringg_ai-text-center",children:[W.jsx("h3",{className:"ringg_ai-text-lg ringg_ai-font-semibold ringg_ai-mb-1",style:{color:s.textColor},children:(n==null?void 0:n.title)??`How was your ${t==="text"?"chat":"call"}?`}),W.jsx("p",{className:"ringg_ai-text-sm",style:{color:s.mutedTextColor},children:(n==null?void 0:n.description)??"Your feedback helps us improve!"})]}),W.jsx("div",{className:"ringg_ai-flex ringg_ai-gap-1 ringg_ai-my-2",children:M.map(A=>W.jsx(VY,{filled:A<=E,onClick:()=>h(A),onMouseEnter:()=>v(A),onMouseLeave:()=>v(0),starsStyles:n==null?void 0:n.starsStyles},A))}),W.jsx("textarea",{value:b,onChange:A=>k(A.target.value),placeholder:(n==null?void 0:n.placeholder)??"We'd love to hear more...",className:xr("ringg_ai-w-full ringg_ai-min-h-[80px] ringg_ai-p-3 ringg_ai-text-sm ringg_ai-border ringg_ai-resize-none focus:ringg_ai-outline-none focus:ringg_ai-ring-2"),style:{backgroundColor:s.surfaceColor,color:s.textColor,borderColor:s.borderColor,borderRadius:l,"--tw-ring-color":s.primaryColor},maxLength:500}),W.jsxs("div",{className:"ringg_ai-flex ringg_ai-w-full ringg_ai-flex-col ringg_ai-gap-3 ringg_ai-mt-2",children:[W.jsx("button",{onClick:T,disabled:c===0||e,className:xr("ringg_ai-w-full ringg_ai-py-2.5 ringg_ai-font-medium ringg_ai-transition-all","hover:ringg_ai-opacity-90 disabled:ringg_ai-opacity-50 disabled:ringg_ai-cursor-not-allowed"),style:{backgroundColor:s.primaryColor,color:s.primaryTextColor,borderRadius:l,...n==null?void 0:n.submitBtnStyles},children:(n==null?void 0:n.submitBtnCTA)??"Submit Feedback"}),W.jsx("button",{type:"button",onClick:a,disabled:e,className:"ringg_ai-text-sm ringg_ai-w-full ringg_ai-transition-colors hover:ringg_ai-opacity-80",style:{color:s.mutedTextColor},children:"Skip"})]})]})},BY=({isCalling:t,isLoading:e,title:n,description:r,logoUrl:a="https://assets.ringg.ai/images/logo/logo-dark.png",logoStyles:s})=>{const l=Zo();if(!t)return W.jsxs(W.Fragment,{children:[W.jsx("div",{className:"ringg_ai-mx-auto ringg_ai-overflow-clip ringg_ai-w-[70px] ringg_ai-h-[70px] ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center",style:{backgroundColor:l.primaryColor,...s},children:W.jsx("img",{src:a,alt:"Logo"})}),W.jsxs("div",{className:"ringg_ai-flex ringg_ai-gap-1 ringg_ai-flex-col",children:[W.jsx("h2",{className:"ringg_ai-text-xl ringg_ai-text-center ringg_ai-font-medium",style:{color:l.textColor},children:n}),!e&&W.jsxs("p",{className:"ringg_ai-text-sm ringg_ai-text-center ringg_ai-font-normal",style:{color:l.mutedTextColor},children:[r,"."]}),e&&W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-text-yellow-500 ringg_ai-text-center ringg_ai-font-normal",children:"Connecting.."})]})]});if(t)return W.jsxs("div",{className:"ringg_ai-absolute ringg_ai-overflow-clip ringg_ai-border-b ringg_ai-w-full ringg_ai-top-0 ringg_ai-left-0 ringg_ai-p-4 ringg_ai-flex ringg_ai-flex-row ringg_ai-gap-2 ringg_ai-justify-start ringg_ai-items-center",style:{backgroundColor:l.backgroundColor,borderColor:l.borderColor},children:[W.jsx("div",{className:"ringg_ai-w-[48px] ringg_ai-h-[48px] ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center",style:{backgroundColor:l.primaryColor,...s},children:W.jsx("img",{src:a,alt:"Logo"})}),W.jsxs("div",{className:"ringg_ai-w-fit ringg_ai-flex ringg_ai-flex-col",children:[W.jsx("h2",{className:"ringg_ai-text-xl ringg_ai-text-start ringg_ai-font-medium",style:{color:l.textColor},children:n}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-text-start ringg_ai-font-normal",style:{color:l.successColor},children:e?"Calling...":t?"Call in Progress":""})]})]})};function HY(t){const e=new Map;return t.forEach(n=>{const a=new Date(n.datetime).toISOString().split("T")[0];e.has(a)||e.set(a,[]),e.get(a).push(n)}),Array.from(e.entries()).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{const a=new Date(n);return{date:n,dateLabel:a.toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric"}),slots:r.sort((s,l)=>new Date(s.datetime).getTime()-new Date(l.datetime).getTime())}})}function e4(t,e){return new Date(t).toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:e})}function $Y(t,e){return new Date(t).toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",timeZone:e})}function qY(t,e){const n={};for(const[r,a]of Object.entries(t))if(typeof a=="string"&&a.startsWith("{")&&a.endsWith("}")){const s=a.slice(1,-1);n[r]=e[s]??a}else n[r]=a;return n}function WY(t){return t.component_type==="calendar_booking"}function GY(t){return t.component_type==="form"}function YY(t){return t.component_type==="buttons"}function KY(t){return t.component_type==="confirmation"}const ZY={primaryColor:"#313335",primaryTextColor:"#ffffff",backgroundColor:"#F3F3F5",surfaceColor:"#ffffff",textColor:"#212121",mutedTextColor:"#11111180",borderColor:"#e5e5e5",errorColor:"#ef4444",successColor:"#10b981",fontFamily:"inherit",fontSize:"14px",borderRadius:"12px",padding:"16px",buttonStyle:"rounded",buttonSize:"md"};function Iw(t){return{...ZY,...t}}function Uw(t){switch(t){case"pill":return"9999px";case"square":return"4px";case"rounded":default:return"8px"}}const t4=G.createContext(null),dS=()=>{const t=G.useContext(t4);let e;try{e=Zo()}catch{e=null}return t||Iw(e?{primaryColor:e.primaryColor,primaryTextColor:e.primaryTextColor,backgroundColor:e.surfaceColor,textColor:e.textColor,mutedTextColor:e.mutedTextColor,borderColor:e.borderColor,errorColor:e.errorColor,successColor:e.successColor,buttonStyle:e.buttonStyle}:{})},QY=({payload:t,isProcessing:e,onComplete:n})=>{var T;const r=dS(),a=Uw(r.buttonStyle),{data:s}=t,l=G.useMemo(()=>HY(s.available_slots),[s.available_slots]),[c,h]=G.useState(((T=l[0])==null?void 0:T.date)||""),[p,v]=G.useState(null),b=l.find(E=>E.date===c),k=()=>{p&&n(p.id,p.datetime)};return W.jsxs("div",{children:[W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-mb-3",children:[W.jsx(FI,{className:"ringg_ai-w-4 ringg_ai-h-4",style:{color:r.primaryColor}}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-font-medium",style:{color:r.textColor},children:s.title})]}),W.jsxs("p",{className:"ringg_ai-text-xs ringg_ai-mb-3",style:{color:r.mutedTextColor},children:["Timezone: ",s.timezone]}),W.jsxs("div",{className:"ringg_ai-mb-3",children:[W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-font-semibold ringg_ai-uppercase ringg_ai-tracking-wide ringg_ai-mb-2",style:{color:r.mutedTextColor},children:"Select Date"}),W.jsx("div",{className:"ringg_ai-flex ringg_ai-gap-2 ringg_ai-flex-wrap",children:l.map(E=>W.jsx("button",{onClick:()=>{h(E.date),v(null)},className:xr("ringg_ai-px-3 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-font-semibold ringg_ai-transition-all ringg_ai-duration-200","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-1"),style:{borderRadius:a,backgroundColor:c===E.date?r.primaryColor:"white",color:c===E.date?r.primaryTextColor:r.textColor,border:c===E.date?"none":`1px solid ${r.borderColor}`,boxShadow:c===E.date?"0 2px 4px rgba(0,0,0,0.1)":"none","--tw-ring-color":r.primaryColor},children:E.dateLabel},E.date))})]}),W.jsx(sx,{mode:"wait",children:b&&W.jsxs(mu.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"ringg_ai-mb-3",children:[W.jsxs("p",{className:"ringg_ai-text-xs ringg_ai-font-semibold ringg_ai-uppercase ringg_ai-tracking-wide ringg_ai-mb-2 ringg_ai-flex ringg_ai-items-center ringg_ai-gap-1",style:{color:r.mutedTextColor},children:[W.jsx(VI,{className:"ringg_ai-w-3 ringg_ai-h-3"}),"Select Time"]}),W.jsx("div",{className:"ringg_ai-grid ringg_ai-grid-cols-3 ringg_ai-gap-1.5",children:b.slots.map(E=>W.jsx("button",{onClick:()=>v(E),className:xr("ringg_ai-px-2 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-font-medium ringg_ai-transition-all ringg_ai-duration-200","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-1"),style:{borderRadius:a,backgroundColor:(p==null?void 0:p.id)===E.id?r.primaryColor:"white",color:(p==null?void 0:p.id)===E.id?r.primaryTextColor:r.textColor,border:`1px solid ${(p==null?void 0:p.id)===E.id?r.primaryColor:r.borderColor}`,boxShadow:(p==null?void 0:p.id)===E.id?"0 2px 4px rgba(0,0,0,0.1)":"none","--tw-ring-color":r.primaryColor},children:e4(E.datetime,s.timezone)},E.id))})]},c)}),W.jsx("button",{onClick:k,disabled:!p||e,className:xr("ringg_ai-w-full ringg_ai-h-9 ringg_ai-text-sm ringg_ai-font-semibold ringg_ai-transition-all ringg_ai-duration-200","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-2","disabled:ringg_ai-opacity-50 disabled:ringg_ai-cursor-not-allowed disabled:hover:ringg_ai-opacity-50"),style:{borderRadius:a,backgroundColor:!p||e?r.borderColor:r.primaryColor,color:!p||e?r.mutedTextColor:r.primaryTextColor,"--tw-ring-color":r.primaryColor},children:e?W.jsxs("span",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2",children:[W.jsx(Gb,{className:"ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin"}),"Processing..."]}):"Next"})]})},XY={text:pw,email:BI,tel:nW,number:pw,select:jI,textarea:zI},JY=({payload:t,isProcessing:e,onComplete:n})=>{const r=dS(),a=Uw(r.buttonStyle),{data:s}=t,[l,c]=G.useState({}),[h,p]=G.useState({}),v=(U,V)=>{if(U.required&&!V.trim())return`${U.label} is required`;if(V&&U.validation){if(U.validation.minLength&&V.length<U.validation.minLength)return U.validation.message||`${U.label} must be at least ${U.validation.minLength} characters`;if(U.validation.maxLength&&V.length>U.validation.maxLength)return U.validation.message||`${U.label} must be at most ${U.validation.maxLength} characters`;if(U.validation.pattern&&!new RegExp(U.validation.pattern).test(V))return U.validation.message||`${U.label} is invalid`}return U.type==="email"&&V&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(V)?"Please enter a valid email address":U.type==="tel"&&V&&!/^[\d\s\-+()]{7,}$/.test(V)?"Please enter a valid phone number":null},b=()=>{const U={};let V=!0;return s.fields.forEach(j=>{const I=v(j,l[j.name]||"");I&&(U[j.name]=I,V=!1)}),p(U),V},k=(U,V)=>{c(j=>({...j,[U]:V})),h[U]&&p(j=>{const I={...j};return delete I[U],I})},T=()=>{b()&&n(l)},E=U=>typeof U=="string"?U:U.label,R=U=>typeof U=="string"?U:U.value,M=U=>({backgroundColor:"white",color:r.textColor,borderColor:U?r.errorColor:r.borderColor,borderRadius:a}),A="focus:ringg_ai-outline-none focus:ringg_ai-ring-2";return W.jsxs("div",{children:[W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-mb-2",children:[W.jsx(zI,{className:"ringg_ai-w-4 ringg_ai-h-4",style:{color:r.primaryColor}}),W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-font-medium",style:{color:r.textColor},children:s.title})]}),s.description&&W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-mb-3",style:{color:r.mutedTextColor},children:s.description}),W.jsx("div",{className:"ringg_ai-space-y-2.5 ringg_ai-mb-3",children:s.fields.map(U=>{const V=XY[U.type]||pw,j=!!h[U.name];return W.jsxs("div",{children:[W.jsxs("label",{className:"ringg_ai-text-xs ringg_ai-font-medium ringg_ai-mb-1 ringg_ai-flex ringg_ai-items-center ringg_ai-gap-1",style:{color:r.mutedTextColor},children:[W.jsx(V,{className:"ringg_ai-w-3 ringg_ai-h-3"}),U.label,U.required&&W.jsx("span",{style:{color:r.errorColor},children:"*"})]}),U.type==="select"&&U.options&&W.jsxs("div",{className:"ringg_ai-relative",children:[W.jsxs("select",{value:l[U.name]||"",onChange:I=>k(U.name,I.target.value),className:xr("ringg_ai-w-full ringg_ai-px-3 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-border ringg_ai-transition-colors ringg_ai-appearance-none",A),style:{...M(j),"--tw-ring-color":r.primaryColor},children:[W.jsx("option",{value:"",children:U.placeholder||`Select ${U.label.toLowerCase()}`}),U.options.map((I,N)=>W.jsx("option",{value:R(I),children:E(I)},N))]}),W.jsx(jI,{className:"ringg_ai-absolute ringg_ai-right-3 ringg_ai-top-1/2 -ringg_ai-translate-y-1/2 ringg_ai-w-3.5 ringg_ai-h-3.5 ringg_ai-pointer-events-none",style:{color:r.mutedTextColor}})]}),U.type==="textarea"&&W.jsx("textarea",{placeholder:U.placeholder||`Enter ${U.label.toLowerCase()}`,value:l[U.name]||"",onChange:I=>k(U.name,I.target.value),rows:2,className:xr("ringg_ai-w-full ringg_ai-px-3 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-border ringg_ai-transition-colors ringg_ai-resize-none",A),style:{...M(j),"--tw-ring-color":r.primaryColor}}),U.type!=="select"&&U.type!=="textarea"&&W.jsx("input",{type:U.type,placeholder:U.placeholder||`Enter ${U.label.toLowerCase()}`,value:l[U.name]||"",onChange:I=>k(U.name,I.target.value),className:xr("ringg_ai-w-full ringg_ai-px-3 ringg_ai-py-2 ringg_ai-text-xs ringg_ai-border ringg_ai-transition-colors",A),style:{...M(j),"--tw-ring-color":r.primaryColor}}),j&&W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-mt-0.5",style:{color:r.errorColor},children:h[U.name]})]},U.name)})}),W.jsx("button",{onClick:T,disabled:e,className:xr("ringg_ai-w-full ringg_ai-h-9 ringg_ai-text-sm ringg_ai-font-semibold ringg_ai-transition-all ringg_ai-duration-200","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-2","disabled:ringg_ai-opacity-50 disabled:ringg_ai-cursor-not-allowed disabled:hover:ringg_ai-opacity-50"),style:{borderRadius:a,backgroundColor:e?r.borderColor:r.primaryColor,color:e?r.mutedTextColor:r.primaryTextColor,"--tw-ring-color":r.primaryColor},children:e?W.jsxs("span",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2",children:[W.jsx(Gb,{className:"ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin"}),"Submitting..."]}):s.submit_label||"Next"})]})},eK=({payload:t,isProcessing:e,onButtonClick:n})=>{const r=dS(),a=Uw(r.buttonStyle),{data:s}=t,[l,c]=G.useState(null),h=async v=>{if(v.action.type==="navigate"){n(v.id,v.action);return}c(v.id);try{await n(v.id,v.action)}finally{c(null)}},p=v=>{const b={borderRadius:a};switch(v){case"primary":return{...b,backgroundColor:r.primaryColor,color:r.primaryTextColor};case"secondary":return{...b,backgroundColor:r.surfaceColor,color:r.textColor,border:`1px solid ${r.borderColor}`};case"outline":return{...b,backgroundColor:"transparent",color:r.primaryColor,border:`2px solid ${r.primaryColor}`};case"destructive":return{...b,backgroundColor:r.errorColor,color:r.primaryTextColor};default:return{...b,backgroundColor:r.primaryColor,color:r.primaryTextColor}}};return W.jsxs("div",{children:[s.title&&W.jsx("p",{className:"ringg_ai-text-sm ringg_ai-font-medium ringg_ai-mb-3",style:{color:r.textColor},children:s.title}),W.jsx("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2",children:s.buttons.map(v=>{const b=l===v.id||e&&l===v.id,k=v.action.type==="navigate",T=b||e;return W.jsx("button",{onClick:()=>h(v),disabled:T,className:xr("ringg_ai-w-full ringg_ai-h-9 ringg_ai-text-sm ringg_ai-font-semibold ringg_ai-transition-all ringg_ai-duration-200 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2","hover:ringg_ai-opacity-90 focus:ringg_ai-outline-none focus:ringg_ai-ring-2 focus:ringg_ai-ring-offset-2",T&&"ringg_ai-opacity-50 ringg_ai-cursor-not-allowed hover:ringg_ai-opacity-50"),style:{...p(v.style),"--tw-ring-color":r.primaryColor},children:b?W.jsxs(W.Fragment,{children:[W.jsx(Gb,{className:"ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin"}),"Loading..."]}):W.jsxs(W.Fragment,{children:[v.label,k&&W.jsx(Xq,{className:"ringg_ai-w-3.5 ringg_ai-h-3.5"})]})},v.id)})})]})},n4=({data:t,collectedData:e})=>{const n=dS(),r=t.icon||"success",a=()=>{switch(r){case"success":return{icon:hw,bgColor:n.successColor};case"info":return{icon:Jq,bgColor:n.primaryColor};case"warning":return{icon:rW,bgColor:"#f59e0b"};case"error":return{icon:Qq,bgColor:n.errorColor};default:return{icon:hw,bgColor:n.successColor}}},{icon:s,bgColor:l}=a(),c=t.details||[],h=["slot_date","slot_time","name","email","phone"],p=e?Object.entries(e).filter(([k])=>h.includes(k)).sort((k,T)=>h.indexOf(k[0])-h.indexOf(T[0])).map(([k,T])=>({key:k,label:k.replace(/slot_/g,"").replace(/_/g," ").replace(/\b\w/g,E=>E.toUpperCase()),value:T})):[],v=c.length>0?c:p,b=k=>k?k.includes("date")?FI:k.includes("time")?VI:k.includes("email")?BI:k.includes("name")?iW:null:null;return W.jsxs(mu.div,{initial:{opacity:0},animate:{opacity:1},className:"ringg_ai-py-2",children:[W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-start ringg_ai-gap-3 ringg_ai-mb-4",children:[W.jsx(mu.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:400,damping:15},className:"ringg_ai-w-9 ringg_ai-h-9 ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-flex-shrink-0",style:{backgroundColor:l},children:W.jsx(s,{className:"ringg_ai-w-4.5 ringg_ai-h-4.5 ringg_ai-text-white"})}),W.jsxs(mu.div,{initial:{opacity:0,x:-8},animate:{opacity:1,x:0},transition:{delay:.1},className:"ringg_ai-flex-1 ringg_ai-min-w-0 ringg_ai-pt-0.5",children:[W.jsx("h3",{className:"ringg_ai-text-sm ringg_ai-font-semibold ringg_ai-leading-tight",style:{color:n.textColor},children:t.title}),t.message&&W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-mt-1 ringg_ai-leading-relaxed",style:{color:n.mutedTextColor},children:t.message})]})]}),v.length>0&&W.jsx(mu.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.15},className:"ringg_ai-rounded-lg ringg_ai-divide-y",style:{backgroundColor:n.surfaceColor,borderColor:n.borderColor},children:v.slice(0,4).map((k,T)=>{const E=k.key?b(k.key):null;return W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2.5 ringg_ai-px-3 ringg_ai-py-2.5",style:{borderColor:n.borderColor},children:[E&&W.jsx(E,{className:"ringg_ai-w-3.5 ringg_ai-h-3.5 ringg_ai-flex-shrink-0",style:{color:n.mutedTextColor}}),W.jsx("span",{className:"ringg_ai-text-xs ringg_ai-flex-shrink-0",style:{color:n.mutedTextColor},children:k.label}),W.jsx("span",{className:"ringg_ai-text-xs ringg_ai-font-medium ringg_ai-ml-auto ringg_ai-truncate",style:{color:n.textColor},title:k.value,children:k.value})]},T)})})]})};function tK(t){return t.component_type==="interactive_flow"}const nK=({initialComponent:t,onApiCall:e,onComplete:n,onSendResponse:r})=>{const a=tK(t),s=Zo(),l=G.useMemo(()=>{const X=t.theme||{};return Iw({primaryColor:s.primaryColor,primaryTextColor:s.primaryTextColor,backgroundColor:s.surfaceColor,surfaceColor:s.backgroundColor,textColor:s.textColor,mutedTextColor:s.mutedTextColor,borderColor:s.borderColor,...X})},[t.theme,s]),c=a?t.data.steps:[{id:"single",title:"",component:t}],h=c.length,[p,v]=G.useState(0),[b,k]=G.useState(!1),[T,E]=G.useState({}),[R,M]=G.useState(null),[A,U]=G.useState(new Array(h).fill(!1)),V=c[p],j=h>1,I=G.useCallback(()=>{p>0&&v(X=>X-1)},[p]),N=G.useCallback(async X=>{k(!0);const se={...T,...X};E(se),U($=>{const oe=[...$];return oe[p]=!0,oe});try{const $=p===h-1;if(r)await r(t.component_id,{step_index:p,step_data:X,all_data:se,is_final_step:$}),$?(M({title:"Success!",message:"Your selection has been submitted.",icon:"success"}),n==null||n(se)):v(oe=>oe+1);else if($)if(a){const{on_complete:oe}=t.data,te=qY(oe.payload,{...se,all_data:JSON.stringify(se)}),xe=await e(oe.method,oe.endpoint,te);if(xe.success)M(xe.confirmation||{title:"Success!",message:xe.message,icon:"success"}),n==null||n(se);else throw new Error(xe.message||"Failed to complete")}else n==null||n(se);else v(oe=>oe+1)}catch($){console.error("Error processing step:",$),M({title:"Something went wrong",message:$.message||"Please try again.",icon:"error"})}finally{k(!1)}},[T,p,h,a,t,V,e,n,r]),ne=G.useCallback(async(X,se)=>{if(se.type==="navigate"&&se.url){window.open(se.url,"_blank","noopener,noreferrer");return}if(r){N({selected_button:X});return}if(se.type==="api_call"&&se.endpoint){k(!0);try{(await e(se.method||"POST",se.endpoint,se.payload||{})).success&&N({selected_button:X})}catch($){console.error("Error in button action:",$)}finally{k(!1)}}else N({selected_button:X})},[e,N,r]);return W.jsx(t4.Provider,{value:l,children:W.jsxs(mu.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"ringg_ai-w-full ringg_ai-rounded-xl ringg_ai-overflow-hidden",style:{backgroundColor:l.backgroundColor,color:l.textColor,fontFamily:l.fontFamily,fontSize:l.fontSize,borderRadius:l.borderRadius},children:[j&&!R&&W.jsxs("div",{className:"ringg_ai-px-4 ringg_ai-pt-4 ringg_ai-pb-3",children:[W.jsx("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2",children:c.map((X,se)=>W.jsxs("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-flex-1 ringg_ai-min-w-0",children:[W.jsx("div",{className:"ringg_ai-w-7 ringg_ai-h-7 ringg_ai-rounded-full ringg_ai-text-xs ringg_ai-font-semibold ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-flex-shrink-0 ringg_ai-transition-all",style:{backgroundColor:A[se]?l.successColor:se===p?l.primaryColor:l.borderColor,color:A[se]||se===p?l.primaryTextColor:l.mutedTextColor},children:A[se]?W.jsx(hw,{className:"ringg_ai-w-3.5 ringg_ai-h-3.5"}):se+1}),se<c.length-1&&W.jsx("div",{className:"ringg_ai-flex-1 ringg_ai-h-[2px] ringg_ai-rounded-full ringg_ai-transition-all",style:{backgroundColor:A[se]?l.successColor:l.borderColor}})]},X.id))}),W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-font-medium ringg_ai-mt-3 ringg_ai-truncate",style:{color:l.textColor},children:V.title||`Step ${p+1} of ${h}`})]}),W.jsxs("div",{className:xr("ringg_ai-px-4 ringg_ai-pb-4",!j&&"ringg_ai-pt-4"),children:[p>0&&!R&&W.jsxs("button",{onClick:I,className:"ringg_ai-flex ringg_ai-items-center ringg_ai-gap-1 ringg_ai-text-xs ringg_ai-mb-3 ringg_ai-transition-colors hover:ringg_ai-opacity-80",style:{color:l.mutedTextColor},children:[W.jsx(Zq,{className:"ringg_ai-w-3.5 ringg_ai-h-3.5"}),"Back"]}),W.jsx(sx,{mode:"wait",children:R?W.jsx(n4,{data:R,collectedData:T},"confirmation"):W.jsxs(mu.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.2},children:[WY(V.component)&&W.jsx(QY,{payload:V.component,isProcessing:b,onComplete:(X,se)=>{const $=V.component.data.timezone;N({slot_id:X,slot_datetime:se,slot_time:e4(se,$),slot_date:$Y(se,$)})}}),GY(V.component)&&W.jsx(JY,{payload:V.component,isProcessing:b,onComplete:X=>N(X)}),YY(V.component)&&W.jsx(eK,{payload:V.component,isProcessing:b,onButtonClick:ne}),KY(V.component)&&W.jsx(n4,{data:V.component.data})]},p)})]})]})})};function Vse(){}function zse(){}function rK(t,e){const n={};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const iK=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,aK=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,oK={};function r4(t,e){return(oK.jsx?aK:iK).test(t)}const sK=/[ \t\n\f\r]/g;function lK(t){return typeof t=="object"?t.type==="text"?i4(t.value):!1:i4(t)}function i4(t){return t.replace(sK,"")===""}class kv{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}}kv.prototype.property={},kv.prototype.normal={},kv.prototype.space=null;function a4(t,e){const n={},r={};let a=-1;for(;++a<t.length;)Object.assign(n,t[a].property),Object.assign(r,t[a].normal);return new kv(n,r,e)}function Fw(t){return t.toLowerCase()}class Xo{constructor(e,n){this.property=e,this.attribute=n}}Xo.prototype.space=null,Xo.prototype.boolean=!1,Xo.prototype.booleanish=!1,Xo.prototype.overloadedBoolean=!1,Xo.prototype.number=!1,Xo.prototype.commaSeparated=!1,Xo.prototype.spaceSeparated=!1,Xo.prototype.commaOrSpaceSeparated=!1,Xo.prototype.mustUseProperty=!1,Xo.prototype.defined=!1;let uK=0;const gn=ff(),gi=ff(),o4=ff(),Ye=ff(),wr=ff(),yp=ff(),Oo=ff();function ff(){return 2**++uK}const jw=Object.freeze(Object.defineProperty({__proto__:null,boolean:gn,booleanish:gi,commaOrSpaceSeparated:Oo,commaSeparated:yp,number:Ye,overloadedBoolean:o4,spaceSeparated:wr},Symbol.toStringTag,{value:"Module"})),Vw=Object.keys(jw);class zw extends Xo{constructor(e,n,r,a){let s=-1;if(super(e,n),s4(this,"space",a),typeof r=="number")for(;++s<Vw.length;){const l=Vw[s];s4(this,Vw[s],(r&jw[l])===jw[l])}}}zw.prototype.defined=!0;function s4(t,e,n){n&&(t[e]=n)}const cK={}.hasOwnProperty;function bp(t){const e={},n={};let r;for(r in t.properties)if(cK.call(t.properties,r)){const a=t.properties[r],s=new zw(r,t.transform(t.attributes||{},r),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),e[r]=s,n[Fw(r)]=r,n[Fw(s.attribute)]=r}return new kv(e,n,t.space)}const l4=bp({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),u4=bp({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function c4(t,e){return e in t?t[e]:e}function d4(t,e){return c4(t,e.toLowerCase())}const f4=bp({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:d4,properties:{xmlns:null,xmlnsXLink:null}}),h4=bp({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:gi,ariaAutoComplete:null,ariaBusy:gi,ariaChecked:gi,ariaColCount:Ye,ariaColIndex:Ye,ariaColSpan:Ye,ariaControls:wr,ariaCurrent:null,ariaDescribedBy:wr,ariaDetails:null,ariaDisabled:gi,ariaDropEffect:wr,ariaErrorMessage:null,ariaExpanded:gi,ariaFlowTo:wr,ariaGrabbed:gi,ariaHasPopup:null,ariaHidden:gi,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wr,ariaLevel:Ye,ariaLive:null,ariaModal:gi,ariaMultiLine:gi,ariaMultiSelectable:gi,ariaOrientation:null,ariaOwns:wr,ariaPlaceholder:null,ariaPosInSet:Ye,ariaPressed:gi,ariaReadOnly:gi,ariaRelevant:null,ariaRequired:gi,ariaRoleDescription:wr,ariaRowCount:Ye,ariaRowIndex:Ye,ariaRowSpan:Ye,ariaSelected:gi,ariaSetSize:Ye,ariaSort:null,ariaValueMax:Ye,ariaValueMin:Ye,ariaValueNow:Ye,ariaValueText:null,role:null}}),dK=bp({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:d4,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:yp,acceptCharset:wr,accessKey:wr,action:null,allow:null,allowFullScreen:gn,allowPaymentRequest:gn,allowUserMedia:gn,alt:null,as:null,async:gn,autoCapitalize:null,autoComplete:wr,autoFocus:gn,autoPlay:gn,blocking:wr,capture:null,charSet:null,checked:gn,cite:null,className:wr,cols:Ye,colSpan:null,content:null,contentEditable:gi,controls:gn,controlsList:wr,coords:Ye|yp,crossOrigin:null,data:null,dateTime:null,decoding:null,default:gn,defer:gn,dir:null,dirName:null,disabled:gn,download:o4,draggable:gi,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:gn,formTarget:null,headers:wr,height:Ye,hidden:gn,high:Ye,href:null,hrefLang:null,htmlFor:wr,httpEquiv:wr,id:null,imageSizes:null,imageSrcSet:null,inert:gn,inputMode:null,integrity:null,is:null,isMap:gn,itemId:null,itemProp:wr,itemRef:wr,itemScope:gn,itemType:wr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:gn,low:Ye,manifest:null,max:null,maxLength:Ye,media:null,method:null,min:null,minLength:Ye,multiple:gn,muted:gn,name:null,nonce:null,noModule:gn,noValidate:gn,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:gn,optimum:Ye,pattern:null,ping:wr,placeholder:null,playsInline:gn,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:gn,referrerPolicy:null,rel:wr,required:gn,reversed:gn,rows:Ye,rowSpan:Ye,sandbox:wr,scope:null,scoped:gn,seamless:gn,selected:gn,shadowRootClonable:gn,shadowRootDelegatesFocus:gn,shadowRootMode:null,shape:null,size:Ye,sizes:null,slot:null,span:Ye,spellCheck:gi,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ye,step:null,style:null,tabIndex:Ye,target:null,title:null,translate:null,type:null,typeMustMatch:gn,useMap:null,value:gi,width:Ye,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:wr,axis:null,background:null,bgColor:null,border:Ye,borderColor:null,bottomMargin:Ye,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:gn,declare:gn,event:null,face:null,frame:null,frameBorder:null,hSpace:Ye,leftMargin:Ye,link:null,longDesc:null,lowSrc:null,marginHeight:Ye,marginWidth:Ye,noResize:gn,noHref:gn,noShade:gn,noWrap:gn,object:null,profile:null,prompt:null,rev:null,rightMargin:Ye,rules:null,scheme:null,scrolling:gi,standby:null,summary:null,text:null,topMargin:Ye,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ye,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:gn,disableRemotePlayback:gn,prefix:null,property:null,results:Ye,security:null,unselectable:null}}),fK=bp({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:c4,properties:{about:Oo,accentHeight:Ye,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ye,amplitude:Ye,arabicForm:null,ascent:Ye,attributeName:null,attributeType:null,azimuth:Ye,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ye,by:null,calcMode:null,capHeight:Ye,className:wr,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ye,diffuseConstant:Ye,direction:null,display:null,dur:null,divisor:Ye,dominantBaseline:null,download:gn,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ye,enableBackground:null,end:null,event:null,exponent:Ye,externalResourcesRequired:null,fill:null,fillOpacity:Ye,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:yp,g2:yp,glyphName:yp,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ye,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ye,horizOriginX:Ye,horizOriginY:Ye,id:null,ideographic:Ye,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ye,k:Ye,k1:Ye,k2:Ye,k3:Ye,k4:Ye,kernelMatrix:Oo,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ye,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ye,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ye,overlineThickness:Ye,paintOrder:null,panose1:null,path:null,pathLength:Ye,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ye,pointsAtY:Ye,pointsAtZ:Ye,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oo,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oo,rev:Oo,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oo,requiredFeatures:Oo,requiredFonts:Oo,requiredFormats:Oo,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ye,specularExponent:Ye,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ye,strikethroughThickness:Ye,string:null,stroke:null,strokeDashArray:Oo,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ye,strokeOpacity:Ye,strokeWidth:null,style:null,surfaceScale:Ye,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oo,tabIndex:Ye,tableValues:null,target:null,targetX:Ye,targetY:Ye,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oo,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ye,underlineThickness:Ye,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ye,values:null,vAlphabetic:Ye,vMathematical:Ye,vectorEffect:null,vHanging:Ye,vIdeographic:Ye,version:null,vertAdvY:Ye,vertOriginX:Ye,vertOriginY:Ye,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ye,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),hK=/^data[-\w.:]+$/i,p4=/-[a-z]/g,pK=/[A-Z]/g;function mK(t,e){const n=Fw(e);let r=e,a=Xo;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&hK.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(p4,vK);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!p4.test(s)){let l=s.replace(pK,gK);l.charAt(0)!=="-"&&(l="-"+l),e="data"+l}}a=zw}return new a(r,e)}function gK(t){return"-"+t.toLowerCase()}function vK(t){return t.charAt(1).toUpperCase()}const yK={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},bK=a4([u4,l4,f4,h4,dK],"html"),Bw=a4([u4,l4,f4,h4,fK],"svg");function SK(t){return t.join(" ").trim()}var m4={},g4=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,CK=/\n/g,kK=/^\s*/,TK=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,xK=/^:\s*/,wK=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,_K=/^[;\s]*/,EK=/^\s+|\s+$/g,RK=`
|
|
399
399
|
`,v4="/",y4="*",hf="",PK="comment",DK="declaration",AK=function(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,r=1;function a(E){var R=E.match(CK);R&&(n+=R.length);var M=E.lastIndexOf(RK);r=~M?E.length-M:r+E.length}function s(){var E={line:n,column:r};return function(R){return R.position=new l(E),p(),R}}function l(E){this.start=E,this.end={line:n,column:r},this.source=e.source}l.prototype.content=t;function c(E){var R=new Error(e.source+":"+n+":"+r+": "+E);if(R.reason=E,R.filename=e.source,R.line=n,R.column=r,R.source=t,!e.silent)throw R}function h(E){var R=E.exec(t);if(R){var M=R[0];return a(M),t=t.slice(M.length),R}}function p(){h(kK)}function v(E){var R;for(E=E||[];R=b();)R!==!1&&E.push(R);return E}function b(){var E=s();if(!(v4!=t.charAt(0)||y4!=t.charAt(1))){for(var R=2;hf!=t.charAt(R)&&(y4!=t.charAt(R)||v4!=t.charAt(R+1));)++R;if(R+=2,hf===t.charAt(R-1))return c("End of comment missing");var M=t.slice(2,R-2);return r+=2,a(M),t=t.slice(R),r+=2,E({type:PK,comment:M})}}function k(){var E=s(),R=h(TK);if(R){if(b(),!h(xK))return c("property missing ':'");var M=h(wK),A=E({type:DK,property:b4(R[0].replace(g4,hf)),value:M?b4(M[0].replace(g4,hf)):hf});return h(_K),A}}function T(){var E=[];v(E);for(var R;R=k();)R!==!1&&(E.push(R),v(E));return E}return p(),T()};function b4(t){return t?t.replace(EK,hf):hf}var OK=pg&&pg.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(m4,"__esModule",{value:!0});var S4=m4.default=LK,MK=OK(AK);function LK(t,e){var n=null;if(!t||typeof t!="string")return n;var r=(0,MK.default)(t),a=typeof e=="function";return r.forEach(function(s){if(s.type==="declaration"){var l=s.property,c=s.value;a?e(l,c,s):c&&(n=n||{},n[l]=c)}}),n}const NK=S4.default||S4,C4=k4("end"),Hw=k4("start");function k4(t){return e;function e(n){const r=n&&n.position&&n.position[t]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function IK(t){const e=Hw(t),n=C4(t);if(e&&n)return{start:e,end:n}}function Tv(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?T4(t.position):"start"in t||"end"in t?T4(t):"line"in t||"column"in t?$w(t):""}function $w(t){return x4(t&&t.line)+":"+x4(t&&t.column)}function T4(t){return $w(t&&t.start)+"-"+$w(t&&t.end)}function x4(t){return t&&typeof t=="number"?t:1}class ba extends Error{constructor(e,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",s={},l=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof e=="string"?a=e:!s.cause&&e&&(l=!0,a=e.message,s.cause=e),!s.ruleId&&!s.source&&typeof r=="string"){const h=r.indexOf(":");h===-1?s.ruleId=r:(s.source=r.slice(0,h),s.ruleId=r.slice(h+1))}if(!s.place&&s.ancestors&&s.ancestors){const h=s.ancestors[s.ancestors.length-1];h&&(s.place=h.position)}const c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=c?c.line:void 0,this.name=Tv(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=l&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}ba.prototype.file="",ba.prototype.name="",ba.prototype.reason="",ba.prototype.message="",ba.prototype.stack="",ba.prototype.column=void 0,ba.prototype.line=void 0,ba.prototype.ancestors=void 0,ba.prototype.cause=void 0,ba.prototype.fatal=void 0,ba.prototype.place=void 0,ba.prototype.ruleId=void 0,ba.prototype.source=void 0;const qw={}.hasOwnProperty,UK=new Map,FK=/[A-Z]/g,jK=/-([a-z])/g,VK=new Set(["table","tbody","thead","tfoot","tr"]),zK=new Set(["td","th"]),w4="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function BK(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=e.filePath||void 0;let r;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=ZK(n,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=KK(n,e.jsx,e.jsxs)}const a={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:r,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?Bw:bK,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},s=_4(a,t,void 0);return s&&typeof s!="string"?s:a.create(t,a.Fragment,{children:s||void 0},void 0)}function _4(t,e,n){if(e.type==="element")return HK(t,e,n);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return $K(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return WK(t,e,n);if(e.type==="mdxjsEsm")return qK(t,e);if(e.type==="root")return GK(t,e,n);if(e.type==="text")return YK(t,e)}function HK(t,e,n){const r=t.schema;let a=r;e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=Bw,t.schema=a),t.ancestors.push(e);const s=R4(t,e.tagName,!1),l=QK(t,e);let c=Gw(t,e);return VK.has(e.tagName)&&(c=c.filter(function(h){return typeof h=="string"?!lK(h):!0})),E4(t,l,s,e),Ww(l,c),t.ancestors.pop(),t.schema=r,t.create(e,s,l,n)}function $K(t,e){if(e.data&&e.data.estree&&t.evaluater){const r=e.data.estree.body[0];return r.type,t.evaluater.evaluateExpression(r.expression)}xv(t,e.position)}function qK(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);xv(t,e.position)}function WK(t,e,n){const r=t.schema;let a=r;e.name==="svg"&&r.space==="html"&&(a=Bw,t.schema=a),t.ancestors.push(e);const s=e.name===null?t.Fragment:R4(t,e.name,!0),l=XK(t,e),c=Gw(t,e);return E4(t,l,s,e),Ww(l,c),t.ancestors.pop(),t.schema=r,t.create(e,s,l,n)}function GK(t,e,n){const r={};return Ww(r,Gw(t,e)),t.create(e,t.Fragment,r,n)}function YK(t,e){return e.value}function E4(t,e,n,r){typeof n!="string"&&n!==t.Fragment&&t.passNode&&(e.node=r)}function Ww(t,e){if(e.length>0){const n=e.length>1?e:e[0];n&&(t.children=n)}}function KK(t,e,n){return r;function r(a,s,l,c){const p=Array.isArray(l.children)?n:e;return c?p(s,l,c):p(s,l)}}function ZK(t,e){return n;function n(r,a,s,l){const c=Array.isArray(s.children),h=Hw(r);return e(a,s,l,c,{columnNumber:h?h.column-1:void 0,fileName:t,lineNumber:h?h.line:void 0},void 0)}}function QK(t,e){const n={};let r,a;for(a in e.properties)if(a!=="children"&&qw.call(e.properties,a)){const s=JK(t,a,e.properties[a]);if(s){const[l,c]=s;t.tableCellAlignToStyle&&l==="align"&&typeof c=="string"&&zK.has(e.tagName)?r=c:n[l]=c}}if(r){const s=n.style||(n.style={});s[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function XK(t,e){const n={};for(const r of e.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&t.evaluater){const s=r.data.estree.body[0];s.type;const l=s.expression;l.type;const c=l.properties[0];c.type,Object.assign(n,t.evaluater.evaluateExpression(c.argument))}else xv(t,e.position);else{const a=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&t.evaluater){const c=r.value.data.estree.body[0];c.type,s=t.evaluater.evaluateExpression(c.expression)}else xv(t,e.position);else s=r.value===null?!0:r.value;n[a]=s}return n}function Gw(t,e){const n=[];let r=-1;const a=t.passKeys?new Map:UK;for(;++r<e.children.length;){const s=e.children[r];let l;if(t.passKeys){const h=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(h){const p=a.get(h)||0;l=h+"-"+p,a.set(h,p+1)}}const c=_4(t,s,l);c!==void 0&&n.push(c)}return n}function JK(t,e,n){const r=mK(t.schema,e);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?rK(n):SK(n)),r.property==="style"){let a=typeof n=="object"?n:eZ(t,String(n));return t.stylePropertyNameCase==="css"&&(a=tZ(a)),["style",a]}return[t.elementAttributeNameCase==="react"&&r.space?yK[r.property]||r.property:r.attribute,n]}}function eZ(t,e){const n={};try{NK(e,r)}catch(a){if(!t.ignoreInvalidStyle){const s=a,l=new ba("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:s,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw l.file=t.filePath||void 0,l.url=w4+"#cannot-parse-style-attribute",l}}return n;function r(a,s){let l=a;l.slice(0,2)!=="--"&&(l.slice(0,4)==="-ms-"&&(l="ms-"+l.slice(4)),l=l.replace(jK,rZ)),n[l]=s}}function R4(t,e,n){let r;if(!n)r={type:"Literal",value:e};else if(e.includes(".")){const a=e.split(".");let s=-1,l;for(;++s<a.length;){const c=r4(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};l=l?{type:"MemberExpression",object:l,property:c,computed:!!(s&&c.type==="Literal"),optional:!1}:c}r=l}else r=r4(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(r.type==="Literal"){const a=r.value;return qw.call(t.components,a)?t.components[a]:a}if(t.evaluater)return t.evaluater.evaluateExpression(r);xv(t)}function xv(t,e){const n=new ba("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=t.filePath||void 0,n.url=w4+"#cannot-handle-mdx-estrees-without-createevaluater",n}function tZ(t){const e={};let n;for(n in t)qw.call(t,n)&&(e[nZ(n)]=t[n]);return e}function nZ(t){let e=t.replace(FK,iZ);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function rZ(t,e){return e.toUpperCase()}function iZ(t){return"-"+t.toLowerCase()}const Yw={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},aZ={};function Kw(t,e){const n=aZ,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return P4(t,r,a)}function P4(t,e,n){if(oZ(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return D4(t.children,e,n)}return Array.isArray(t)?D4(t,e,n):""}function D4(t,e,n){const r=[];let a=-1;for(;++a<t.length;)r[a]=P4(t[a],e,n);return r.join("")}function oZ(t){return!!(t&&typeof t=="object")}const A4=document.createElement("i");function Zw(t){const e="&"+t+";";A4.innerHTML=e;const n=A4.textContent;return n.charCodeAt(n.length-1)===59&&t!=="semi"||n===e?!1:n}function Mo(t,e,n,r){const a=t.length;let s=0,l;if(e<0?e=-e>a?0:a+e:e=e>a?a:e,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(e,n),t.splice(...l);else for(n&&t.splice(e,n);s<r.length;)l=r.slice(s,s+1e4),l.unshift(e,0),t.splice(...l),s+=1e4,e+=1e4}function Jo(t,e){return t.length>0?(Mo(t,t.length,0,e),t):e}const O4={}.hasOwnProperty;function M4(t){const e={};let n=-1;for(;++n<t.length;)sZ(e,t[n]);return e}function sZ(t,e){let n;for(n in e){const a=(O4.call(t,n)?t[n]:void 0)||(t[n]={}),s=e[n];let l;if(s)for(l in s){O4.call(a,l)||(a[l]=[]);const c=s[l];lZ(a[l],Array.isArray(c)?c:c?[c]:[])}}}function lZ(t,e){let n=-1;const r=[];for(;++n<e.length;)(e[n].add==="after"?t:r).push(e[n]);Mo(t,0,0,r)}function L4(t,e){const n=Number.parseInt(t,e);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Ns(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const za=Vc(/[A-Za-z]/),Sa=Vc(/[\dA-Za-z]/),uZ=Vc(/[#-'*+\--9=?A-Z^-~]/);function fS(t){return t!==null&&(t<32||t===127)}const Qw=Vc(/\d/),cZ=Vc(/[\dA-Fa-f]/),dZ=Vc(/[!-/:-@[-`{-~]/);function Bt(t){return t!==null&&t<-2}function Sr(t){return t!==null&&(t<0||t===32)}function Rn(t){return t===-2||t===-1||t===32}const hS=Vc(new RegExp("\\p{P}|\\p{S}","u")),pf=Vc(/\s/);function Vc(t){return e;function e(n){return n!==null&&n>-1&&t.test(String.fromCharCode(n))}}function Sp(t){const e=[];let n=-1,r=0,a=0;for(;++n<t.length;){const s=t.charCodeAt(n);let l="";if(s===37&&Sa(t.charCodeAt(n+1))&&Sa(t.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(l=String.fromCharCode(s));else if(s>55295&&s<57344){const c=t.charCodeAt(n+1);s<56320&&c>56319&&c<57344?(l=String.fromCharCode(s,c),a=1):l="�"}else l=String.fromCharCode(s);l&&(e.push(t.slice(r,n),encodeURIComponent(l)),r=n+a+1,l=""),a&&(n+=a,a=0)}return e.join("")+t.slice(r)}function Vn(t,e,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let s=0;return l;function l(h){return Rn(h)?(t.enter(n),c(h)):e(h)}function c(h){return Rn(h)&&s++<a?(t.consume(h),c):(t.exit(n),e(h))}}const fZ={tokenize:hZ};function hZ(t){const e=t.attempt(this.parser.constructs.contentInitial,r,a);let n;return e;function r(c){if(c===null){t.consume(c);return}return t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),Vn(t,e,"linePrefix")}function a(c){return t.enter("paragraph"),s(c)}function s(c){const h=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=h),n=h,l(c)}function l(c){if(c===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(c);return}return Bt(c)?(t.consume(c),t.exit("chunkText"),s):(t.consume(c),l)}}const pZ={tokenize:mZ},N4={tokenize:gZ};function mZ(t){const e=this,n=[];let r=0,a,s,l;return c;function c(V){if(r<n.length){const j=n[r];return e.containerState=j[1],t.attempt(j[0].continuation,h,p)(V)}return p(V)}function h(V){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,a&&U();const j=e.events.length;let I=j,N;for(;I--;)if(e.events[I][0]==="exit"&&e.events[I][1].type==="chunkFlow"){N=e.events[I][1].end;break}A(r);let ne=j;for(;ne<e.events.length;)e.events[ne][1].end={...N},ne++;return Mo(e.events,I+1,0,e.events.slice(j)),e.events.length=ne,p(V)}return c(V)}function p(V){if(r===n.length){if(!a)return k(V);if(a.currentConstruct&&a.currentConstruct.concrete)return E(V);e.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(N4,v,b)(V)}function v(V){return a&&U(),A(r),k(V)}function b(V){return e.parser.lazy[e.now().line]=r!==n.length,l=e.now().offset,E(V)}function k(V){return e.containerState={},t.attempt(N4,T,E)(V)}function T(V){return r++,n.push([e.currentConstruct,e.containerState]),k(V)}function E(V){if(V===null){a&&U(),A(0),t.consume(V);return}return a=a||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),R(V)}function R(V){if(V===null){M(t.exit("chunkFlow"),!0),A(0),t.consume(V);return}return Bt(V)?(t.consume(V),M(t.exit("chunkFlow")),r=0,e.interrupt=void 0,c):(t.consume(V),R)}function M(V,j){const I=e.sliceStream(V);if(j&&I.push(null),V.previous=s,s&&(s.next=V),s=V,a.defineSkip(V.start),a.write(I),e.parser.lazy[V.start.line]){let N=a.events.length;for(;N--;)if(a.events[N][1].start.offset<l&&(!a.events[N][1].end||a.events[N][1].end.offset>l))return;const ne=e.events.length;let X=ne,se,$;for(;X--;)if(e.events[X][0]==="exit"&&e.events[X][1].type==="chunkFlow"){if(se){$=e.events[X][1].end;break}se=!0}for(A(r),N=ne;N<e.events.length;)e.events[N][1].end={...$},N++;Mo(e.events,X+1,0,e.events.slice(ne)),e.events.length=N}}function A(V){let j=n.length;for(;j-- >V;){const I=n[j];e.containerState=I[1],I[0].exit.call(e,t)}n.length=V}function U(){a.write([null]),s=void 0,a=void 0,e.containerState._closeFlow=void 0}}function gZ(t,e,n){return Vn(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Cp(t){if(t===null||Sr(t)||pf(t))return 1;if(hS(t))return 2}function pS(t,e,n){const r=[];let a=-1;for(;++a<t.length;){const s=t[a].resolveAll;s&&!r.includes(s)&&(e=s(e,n),r.push(s))}return e}const Xw={name:"attention",resolveAll:vZ,tokenize:yZ};function vZ(t,e){let n=-1,r,a,s,l,c,h,p,v;for(;++n<t.length;)if(t[n][0]==="enter"&&t[n][1].type==="attentionSequence"&&t[n][1]._close){for(r=n;r--;)if(t[r][0]==="exit"&&t[r][1].type==="attentionSequence"&&t[r][1]._open&&e.sliceSerialize(t[r][1]).charCodeAt(0)===e.sliceSerialize(t[n][1]).charCodeAt(0)){if((t[r][1]._close||t[n][1]._open)&&(t[n][1].end.offset-t[n][1].start.offset)%3&&!((t[r][1].end.offset-t[r][1].start.offset+t[n][1].end.offset-t[n][1].start.offset)%3))continue;h=t[r][1].end.offset-t[r][1].start.offset>1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;const b={...t[r][1].end},k={...t[n][1].start};I4(b,-h),I4(k,h),l={type:h>1?"strongSequence":"emphasisSequence",start:b,end:{...t[r][1].end}},c={type:h>1?"strongSequence":"emphasisSequence",start:{...t[n][1].start},end:k},s={type:h>1?"strongText":"emphasisText",start:{...t[r][1].end},end:{...t[n][1].start}},a={type:h>1?"strong":"emphasis",start:{...l.start},end:{...c.end}},t[r][1].end={...l.start},t[n][1].start={...c.end},p=[],t[r][1].end.offset-t[r][1].start.offset&&(p=Jo(p,[["enter",t[r][1],e],["exit",t[r][1],e]])),p=Jo(p,[["enter",a,e],["enter",l,e],["exit",l,e],["enter",s,e]]),p=Jo(p,pS(e.parser.constructs.insideSpan.null,t.slice(r+1,n),e)),p=Jo(p,[["exit",s,e],["enter",c,e],["exit",c,e],["exit",a,e]]),t[n][1].end.offset-t[n][1].start.offset?(v=2,p=Jo(p,[["enter",t[n][1],e],["exit",t[n][1],e]])):v=0,Mo(t,r-1,n-r+3,p),n=r+p.length-v-2;break}}for(n=-1;++n<t.length;)t[n][1].type==="attentionSequence"&&(t[n][1].type="data");return t}function yZ(t,e){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=Cp(r);let s;return l;function l(h){return s=h,t.enter("attentionSequence"),c(h)}function c(h){if(h===s)return t.consume(h),c;const p=t.exit("attentionSequence"),v=Cp(h),b=!v||v===2&&a||n.includes(h),k=!a||a===2&&v||n.includes(r);return p._open=!!(s===42?b:b&&(a||!k)),p._close=!!(s===42?k:k&&(v||!b)),e(h)}}function I4(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const bZ={name:"autolink",tokenize:SZ};function SZ(t,e,n){let r=0;return a;function a(T){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(T),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),s}function s(T){return za(T)?(t.consume(T),l):T===64?n(T):p(T)}function l(T){return T===43||T===45||T===46||Sa(T)?(r=1,c(T)):p(T)}function c(T){return T===58?(t.consume(T),r=0,h):(T===43||T===45||T===46||Sa(T))&&r++<32?(t.consume(T),c):(r=0,p(T))}function h(T){return T===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(T),t.exit("autolinkMarker"),t.exit("autolink"),e):T===null||T===32||T===60||fS(T)?n(T):(t.consume(T),h)}function p(T){return T===64?(t.consume(T),v):uZ(T)?(t.consume(T),p):n(T)}function v(T){return Sa(T)?b(T):n(T)}function b(T){return T===46?(t.consume(T),r=0,v):T===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(T),t.exit("autolinkMarker"),t.exit("autolink"),e):k(T)}function k(T){if((T===45||Sa(T))&&r++<63){const E=T===45?k:b;return t.consume(T),E}return n(T)}}const wv={partial:!0,tokenize:CZ};function CZ(t,e,n){return r;function r(s){return Rn(s)?Vn(t,a,"linePrefix")(s):a(s)}function a(s){return s===null||Bt(s)?e(s):n(s)}}const U4={continuation:{tokenize:TZ},exit:xZ,name:"blockQuote",tokenize:kZ};function kZ(t,e,n){const r=this;return a;function a(l){if(l===62){const c=r.containerState;return c.open||(t.enter("blockQuote",{_container:!0}),c.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),s}return n(l)}function s(l){return Rn(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(l))}}function TZ(t,e,n){const r=this;return a;function a(l){return Rn(l)?Vn(t,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):s(l)}function s(l){return t.attempt(U4,e,n)(l)}}function xZ(t){t.exit("blockQuote")}const F4={name:"characterEscape",tokenize:wZ};function wZ(t,e,n){return r;function r(s){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(s),t.exit("escapeMarker"),a}function a(s){return dZ(s)?(t.enter("characterEscapeValue"),t.consume(s),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(s)}}const j4={name:"characterReference",tokenize:_Z};function _Z(t,e,n){const r=this;let a=0,s,l;return c;function c(b){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(b),t.exit("characterReferenceMarker"),h}function h(b){return b===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(b),t.exit("characterReferenceMarkerNumeric"),p):(t.enter("characterReferenceValue"),s=31,l=Sa,v(b))}function p(b){return b===88||b===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(b),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),s=6,l=cZ,v):(t.enter("characterReferenceValue"),s=7,l=Qw,v(b))}function v(b){if(b===59&&a){const k=t.exit("characterReferenceValue");return l===Sa&&!Zw(r.sliceSerialize(k))?n(b):(t.enter("characterReferenceMarker"),t.consume(b),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return l(b)&&a++<s?(t.consume(b),v):n(b)}}const V4={partial:!0,tokenize:RZ},z4={concrete:!0,name:"codeFenced",tokenize:EZ};function EZ(t,e,n){const r=this,a={partial:!0,tokenize:I};let s=0,l=0,c;return h;function h(N){return p(N)}function p(N){const ne=r.events[r.events.length-1];return s=ne&&ne[1].type==="linePrefix"?ne[2].sliceSerialize(ne[1],!0).length:0,c=N,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),v(N)}function v(N){return N===c?(l++,t.consume(N),v):l<3?n(N):(t.exit("codeFencedFenceSequence"),Rn(N)?Vn(t,b,"whitespace")(N):b(N))}function b(N){return N===null||Bt(N)?(t.exit("codeFencedFence"),r.interrupt?e(N):t.check(V4,R,j)(N)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),k(N))}function k(N){return N===null||Bt(N)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),b(N)):Rn(N)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Vn(t,T,"whitespace")(N)):N===96&&N===c?n(N):(t.consume(N),k)}function T(N){return N===null||Bt(N)?b(N):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),E(N))}function E(N){return N===null||Bt(N)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),b(N)):N===96&&N===c?n(N):(t.consume(N),E)}function R(N){return t.attempt(a,j,M)(N)}function M(N){return t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),A}function A(N){return s>0&&Rn(N)?Vn(t,U,"linePrefix",s+1)(N):U(N)}function U(N){return N===null||Bt(N)?t.check(V4,R,j)(N):(t.enter("codeFlowValue"),V(N))}function V(N){return N===null||Bt(N)?(t.exit("codeFlowValue"),U(N)):(t.consume(N),V)}function j(N){return t.exit("codeFenced"),e(N)}function I(N,ne,X){let se=0;return $;function $(Ge){return N.enter("lineEnding"),N.consume(Ge),N.exit("lineEnding"),oe}function oe(Ge){return N.enter("codeFencedFence"),Rn(Ge)?Vn(N,te,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Ge):te(Ge)}function te(Ge){return Ge===c?(N.enter("codeFencedFenceSequence"),xe(Ge)):X(Ge)}function xe(Ge){return Ge===c?(se++,N.consume(Ge),xe):se>=l?(N.exit("codeFencedFenceSequence"),Rn(Ge)?Vn(N,ke,"whitespace")(Ge):ke(Ge)):X(Ge)}function ke(Ge){return Ge===null||Bt(Ge)?(N.exit("codeFencedFence"),ne(Ge)):X(Ge)}}}function RZ(t,e,n){const r=this;return a;function a(l){return l===null?n(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s)}function s(l){return r.parser.lazy[r.now().line]?n(l):e(l)}}const Jw={name:"codeIndented",tokenize:DZ},PZ={partial:!0,tokenize:AZ};function DZ(t,e,n){const r=this;return a;function a(p){return t.enter("codeIndented"),Vn(t,s,"linePrefix",5)(p)}function s(p){const v=r.events[r.events.length-1];return v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?l(p):n(p)}function l(p){return p===null?h(p):Bt(p)?t.attempt(PZ,l,h)(p):(t.enter("codeFlowValue"),c(p))}function c(p){return p===null||Bt(p)?(t.exit("codeFlowValue"),l(p)):(t.consume(p),c)}function h(p){return t.exit("codeIndented"),e(p)}}function AZ(t,e,n){const r=this;return a;function a(l){return r.parser.lazy[r.now().line]?n(l):Bt(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),a):Vn(t,s,"linePrefix",5)(l)}function s(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?e(l):Bt(l)?a(l):n(l)}}const OZ={name:"codeText",previous:LZ,resolve:MZ,tokenize:NZ};function MZ(t){let e=t.length-4,n=3,r,a;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r<e;)if(t[r][1].type==="codeTextData"){t[n][1].type="codeTextPadding",t[e][1].type="codeTextPadding",n+=2,e-=2;break}}for(r=n-1,e++;++r<=e;)a===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(a=r):(r===e||t[r][1].type==="lineEnding")&&(t[a][1].type="codeTextData",r!==a+2&&(t[a][1].end=t[r-1][1].end,t.splice(a+2,r-a-2),e-=r-a-2,r=a+2),a=void 0);return t}function LZ(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function NZ(t,e,n){let r=0,a,s;return l;function l(b){return t.enter("codeText"),t.enter("codeTextSequence"),c(b)}function c(b){return b===96?(t.consume(b),r++,c):(t.exit("codeTextSequence"),h(b))}function h(b){return b===null?n(b):b===32?(t.enter("space"),t.consume(b),t.exit("space"),h):b===96?(s=t.enter("codeTextSequence"),a=0,v(b)):Bt(b)?(t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),h):(t.enter("codeTextData"),p(b))}function p(b){return b===null||b===32||b===96||Bt(b)?(t.exit("codeTextData"),h(b)):(t.consume(b),p)}function v(b){return b===96?(t.consume(b),a++,v):a===r?(t.exit("codeTextSequence"),t.exit("codeText"),e(b)):(s.type="codeTextData",p(b))}}class IZ{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,n,r){const a=n||0;this.setCursor(Math.trunc(e));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&_v(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),_v(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),_v(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const n=this.left.splice(e,Number.POSITIVE_INFINITY);_v(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);_v(this.left,n.reverse())}}}function _v(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function B4(t){const e={};let n=-1,r,a,s,l,c,h,p;const v=new IZ(t);for(;++n<v.length;){for(;n in e;)n=e[n];if(r=v.get(n),n&&r[1].type==="chunkFlow"&&v.get(n-1)[1].type==="listItemPrefix"&&(h=r[1]._tokenizer.events,s=0,s<h.length&&h[s][1].type==="lineEndingBlank"&&(s+=2),s<h.length&&h[s][1].type==="content"))for(;++s<h.length&&h[s][1].type!=="content";)h[s][1].type==="chunkText"&&(h[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,UZ(v,n)),n=e[n],p=!0);else if(r[1]._container){for(s=n,a=void 0;s--&&(l=v.get(s),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(a&&(v.get(a)[1].type="lineEndingBlank"),l[1].type="lineEnding",a=s);a&&(r[1].end={...v.get(a)[1].start},c=v.slice(a,n),c.unshift(r),v.splice(a,n-a+1,c))}}return Mo(t,0,Number.POSITIVE_INFINITY,v.slice(0)),!p}function UZ(t,e){const n=t.get(e)[1],r=t.get(e)[2];let a=e-1;const s=[],l=n._tokenizer||r.parser[n.contentType](n.start),c=l.events,h=[],p={};let v,b,k=-1,T=n,E=0,R=0;const M=[R];for(;T;){for(;t.get(++a)[1]!==T;);s.push(a),T._tokenizer||(v=r.sliceStream(T),T.next||v.push(null),b&&l.defineSkip(T.start),T._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(v),T._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),b=T,T=T.next}for(T=n;++k<c.length;)c[k][0]==="exit"&&c[k-1][0]==="enter"&&c[k][1].type===c[k-1][1].type&&c[k][1].start.line!==c[k][1].end.line&&(R=k+1,M.push(R),T._tokenizer=void 0,T.previous=void 0,T=T.next);for(l.events=[],T?(T._tokenizer=void 0,T.previous=void 0):M.pop(),k=M.length;k--;){const A=c.slice(M[k],M[k+1]),U=s.pop();h.push([U,U+A.length-1]),t.splice(U,2,A)}for(h.reverse(),k=-1;++k<h.length;)p[E+h[k][0]]=E+h[k][1],E+=h[k][1]-h[k][0]-1;return p}const FZ={resolve:VZ,tokenize:zZ},jZ={partial:!0,tokenize:BZ};function VZ(t){return B4(t),t}function zZ(t,e){let n;return r;function r(c){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),a(c)}function a(c){return c===null?s(c):Bt(c)?t.check(jZ,l,s)(c):(t.consume(c),a)}function s(c){return t.exit("chunkContent"),t.exit("content"),e(c)}function l(c){return t.consume(c),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function BZ(t,e,n){const r=this;return a;function a(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),Vn(t,s,"linePrefix")}function s(l){if(l===null||Bt(l))return n(l);const c=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?e(l):t.interrupt(r.parser.constructs.flow,n,e)(l)}}function H4(t,e,n,r,a,s,l,c,h){const p=h||Number.POSITIVE_INFINITY;let v=0;return b;function b(A){return A===60?(t.enter(r),t.enter(a),t.enter(s),t.consume(A),t.exit(s),k):A===null||A===32||A===41||fS(A)?n(A):(t.enter(r),t.enter(l),t.enter(c),t.enter("chunkString",{contentType:"string"}),R(A))}function k(A){return A===62?(t.enter(s),t.consume(A),t.exit(s),t.exit(a),t.exit(r),e):(t.enter(c),t.enter("chunkString",{contentType:"string"}),T(A))}function T(A){return A===62?(t.exit("chunkString"),t.exit(c),k(A)):A===null||A===60||Bt(A)?n(A):(t.consume(A),A===92?E:T)}function E(A){return A===60||A===62||A===92?(t.consume(A),T):T(A)}function R(A){return!v&&(A===null||A===41||Sr(A))?(t.exit("chunkString"),t.exit(c),t.exit(l),t.exit(r),e(A)):v<p&&A===40?(t.consume(A),v++,R):A===41?(t.consume(A),v--,R):A===null||A===32||A===40||fS(A)?n(A):(t.consume(A),A===92?M:R)}function M(A){return A===40||A===41||A===92?(t.consume(A),R):R(A)}}function $4(t,e,n,r,a,s){const l=this;let c=0,h;return p;function p(T){return t.enter(r),t.enter(a),t.consume(T),t.exit(a),t.enter(s),v}function v(T){return c>999||T===null||T===91||T===93&&!h||T===94&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs?n(T):T===93?(t.exit(s),t.enter(a),t.consume(T),t.exit(a),t.exit(r),e):Bt(T)?(t.enter("lineEnding"),t.consume(T),t.exit("lineEnding"),v):(t.enter("chunkString",{contentType:"string"}),b(T))}function b(T){return T===null||T===91||T===93||Bt(T)||c++>999?(t.exit("chunkString"),v(T)):(t.consume(T),h||(h=!Rn(T)),T===92?k:b)}function k(T){return T===91||T===92||T===93?(t.consume(T),c++,b):b(T)}}function q4(t,e,n,r,a,s){let l;return c;function c(k){return k===34||k===39||k===40?(t.enter(r),t.enter(a),t.consume(k),t.exit(a),l=k===40?41:k,h):n(k)}function h(k){return k===l?(t.enter(a),t.consume(k),t.exit(a),t.exit(r),e):(t.enter(s),p(k))}function p(k){return k===l?(t.exit(s),h(l)):k===null?n(k):Bt(k)?(t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),Vn(t,p,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),v(k))}function v(k){return k===l||k===null||Bt(k)?(t.exit("chunkString"),p(k)):(t.consume(k),k===92?b:v)}function b(k){return k===l||k===92?(t.consume(k),v):v(k)}}function Ev(t,e){let n;return r;function r(a){return Bt(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),n=!0,r):Rn(a)?Vn(t,r,n?"linePrefix":"lineSuffix")(a):e(a)}}const HZ={name:"definition",tokenize:qZ},$Z={partial:!0,tokenize:WZ};function qZ(t,e,n){const r=this;let a;return s;function s(T){return t.enter("definition"),l(T)}function l(T){return $4.call(r,t,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(T)}function c(T){return a=Ns(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),T===58?(t.enter("definitionMarker"),t.consume(T),t.exit("definitionMarker"),h):n(T)}function h(T){return Sr(T)?Ev(t,p)(T):p(T)}function p(T){return H4(t,v,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(T)}function v(T){return t.attempt($Z,b,b)(T)}function b(T){return Rn(T)?Vn(t,k,"whitespace")(T):k(T)}function k(T){return T===null||Bt(T)?(t.exit("definition"),r.parser.defined.push(a),e(T)):n(T)}}function WZ(t,e,n){return r;function r(c){return Sr(c)?Ev(t,a)(c):n(c)}function a(c){return q4(t,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return Rn(c)?Vn(t,l,"whitespace")(c):l(c)}function l(c){return c===null||Bt(c)?e(c):n(c)}}const GZ={name:"hardBreakEscape",tokenize:YZ};function YZ(t,e,n){return r;function r(s){return t.enter("hardBreakEscape"),t.consume(s),a}function a(s){return Bt(s)?(t.exit("hardBreakEscape"),e(s)):n(s)}}const KZ={name:"headingAtx",resolve:ZZ,tokenize:QZ};function ZZ(t,e){let n=t.length-2,r=3,a,s;return t[r][1].type==="whitespace"&&(r+=2),n-2>r&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&t[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:t[r][1].start,end:t[n][1].end},s={type:"chunkText",start:t[r][1].start,end:t[n][1].end,contentType:"text"},Mo(t,r,n-r+1,[["enter",a,e],["enter",s,e],["exit",s,e],["exit",a,e]])),t}function QZ(t,e,n){let r=0;return a;function a(v){return t.enter("atxHeading"),s(v)}function s(v){return t.enter("atxHeadingSequence"),l(v)}function l(v){return v===35&&r++<6?(t.consume(v),l):v===null||Sr(v)?(t.exit("atxHeadingSequence"),c(v)):n(v)}function c(v){return v===35?(t.enter("atxHeadingSequence"),h(v)):v===null||Bt(v)?(t.exit("atxHeading"),e(v)):Rn(v)?Vn(t,c,"whitespace")(v):(t.enter("atxHeadingText"),p(v))}function h(v){return v===35?(t.consume(v),h):(t.exit("atxHeadingSequence"),c(v))}function p(v){return v===null||v===35||Sr(v)?(t.exit("atxHeadingText"),c(v)):(t.consume(v),p)}}const XZ=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],W4=["pre","script","style","textarea"],JZ={concrete:!0,name:"htmlFlow",resolveTo:nQ,tokenize:rQ},eQ={partial:!0,tokenize:aQ},tQ={partial:!0,tokenize:iQ};function nQ(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function rQ(t,e,n){const r=this;let a,s,l,c,h;return p;function p(H){return v(H)}function v(H){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(H),b}function b(H){return H===33?(t.consume(H),k):H===47?(t.consume(H),s=!0,R):H===63?(t.consume(H),a=3,r.interrupt?e:z):za(H)?(t.consume(H),l=String.fromCharCode(H),M):n(H)}function k(H){return H===45?(t.consume(H),a=2,T):H===91?(t.consume(H),a=5,c=0,E):za(H)?(t.consume(H),a=4,r.interrupt?e:z):n(H)}function T(H){return H===45?(t.consume(H),r.interrupt?e:z):n(H)}function E(H){const Ct="CDATA[";return H===Ct.charCodeAt(c++)?(t.consume(H),c===Ct.length?r.interrupt?e:te:E):n(H)}function R(H){return za(H)?(t.consume(H),l=String.fromCharCode(H),M):n(H)}function M(H){if(H===null||H===47||H===62||Sr(H)){const Ct=H===47,Rt=l.toLowerCase();return!Ct&&!s&&W4.includes(Rt)?(a=1,r.interrupt?e(H):te(H)):XZ.includes(l.toLowerCase())?(a=6,Ct?(t.consume(H),A):r.interrupt?e(H):te(H)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(H):s?U(H):V(H))}return H===45||Sa(H)?(t.consume(H),l+=String.fromCharCode(H),M):n(H)}function A(H){return H===62?(t.consume(H),r.interrupt?e:te):n(H)}function U(H){return Rn(H)?(t.consume(H),U):$(H)}function V(H){return H===47?(t.consume(H),$):H===58||H===95||za(H)?(t.consume(H),j):Rn(H)?(t.consume(H),V):$(H)}function j(H){return H===45||H===46||H===58||H===95||Sa(H)?(t.consume(H),j):I(H)}function I(H){return H===61?(t.consume(H),N):Rn(H)?(t.consume(H),I):V(H)}function N(H){return H===null||H===60||H===61||H===62||H===96?n(H):H===34||H===39?(t.consume(H),h=H,ne):Rn(H)?(t.consume(H),N):X(H)}function ne(H){return H===h?(t.consume(H),h=null,se):H===null||Bt(H)?n(H):(t.consume(H),ne)}function X(H){return H===null||H===34||H===39||H===47||H===60||H===61||H===62||H===96||Sr(H)?I(H):(t.consume(H),X)}function se(H){return H===47||H===62||Rn(H)?V(H):n(H)}function $(H){return H===62?(t.consume(H),oe):n(H)}function oe(H){return H===null||Bt(H)?te(H):Rn(H)?(t.consume(H),oe):n(H)}function te(H){return H===45&&a===2?(t.consume(H),Je):H===60&&a===1?(t.consume(H),Fe):H===62&&a===4?(t.consume(H),J):H===63&&a===3?(t.consume(H),z):H===93&&a===5?(t.consume(H),Be):Bt(H)&&(a===6||a===7)?(t.exit("htmlFlowData"),t.check(eQ,Ce,xe)(H)):H===null||Bt(H)?(t.exit("htmlFlowData"),xe(H)):(t.consume(H),te)}function xe(H){return t.check(tQ,ke,Ce)(H)}function ke(H){return t.enter("lineEnding"),t.consume(H),t.exit("lineEnding"),Ge}function Ge(H){return H===null||Bt(H)?xe(H):(t.enter("htmlFlowData"),te(H))}function Je(H){return H===45?(t.consume(H),z):te(H)}function Fe(H){return H===47?(t.consume(H),l="",ve):te(H)}function ve(H){if(H===62){const Ct=l.toLowerCase();return W4.includes(Ct)?(t.consume(H),J):te(H)}return za(H)&&l.length<8?(t.consume(H),l+=String.fromCharCode(H),ve):te(H)}function Be(H){return H===93?(t.consume(H),z):te(H)}function z(H){return H===62?(t.consume(H),J):H===45&&a===2?(t.consume(H),z):te(H)}function J(H){return H===null||Bt(H)?(t.exit("htmlFlowData"),Ce(H)):(t.consume(H),J)}function Ce(H){return t.exit("htmlFlow"),e(H)}}function iQ(t,e,n){const r=this;return a;function a(l){return Bt(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),s):n(l)}function s(l){return r.parser.lazy[r.now().line]?n(l):e(l)}}function aQ(t,e,n){return r;function r(a){return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),t.attempt(wv,e,n)}}const oQ={name:"htmlText",tokenize:sQ};function sQ(t,e,n){const r=this;let a,s,l;return c;function c(z){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(z),h}function h(z){return z===33?(t.consume(z),p):z===47?(t.consume(z),I):z===63?(t.consume(z),V):za(z)?(t.consume(z),X):n(z)}function p(z){return z===45?(t.consume(z),v):z===91?(t.consume(z),s=0,E):za(z)?(t.consume(z),U):n(z)}function v(z){return z===45?(t.consume(z),T):n(z)}function b(z){return z===null?n(z):z===45?(t.consume(z),k):Bt(z)?(l=b,Fe(z)):(t.consume(z),b)}function k(z){return z===45?(t.consume(z),T):b(z)}function T(z){return z===62?Je(z):z===45?k(z):b(z)}function E(z){const J="CDATA[";return z===J.charCodeAt(s++)?(t.consume(z),s===J.length?R:E):n(z)}function R(z){return z===null?n(z):z===93?(t.consume(z),M):Bt(z)?(l=R,Fe(z)):(t.consume(z),R)}function M(z){return z===93?(t.consume(z),A):R(z)}function A(z){return z===62?Je(z):z===93?(t.consume(z),A):R(z)}function U(z){return z===null||z===62?Je(z):Bt(z)?(l=U,Fe(z)):(t.consume(z),U)}function V(z){return z===null?n(z):z===63?(t.consume(z),j):Bt(z)?(l=V,Fe(z)):(t.consume(z),V)}function j(z){return z===62?Je(z):V(z)}function I(z){return za(z)?(t.consume(z),N):n(z)}function N(z){return z===45||Sa(z)?(t.consume(z),N):ne(z)}function ne(z){return Bt(z)?(l=ne,Fe(z)):Rn(z)?(t.consume(z),ne):Je(z)}function X(z){return z===45||Sa(z)?(t.consume(z),X):z===47||z===62||Sr(z)?se(z):n(z)}function se(z){return z===47?(t.consume(z),Je):z===58||z===95||za(z)?(t.consume(z),$):Bt(z)?(l=se,Fe(z)):Rn(z)?(t.consume(z),se):Je(z)}function $(z){return z===45||z===46||z===58||z===95||Sa(z)?(t.consume(z),$):oe(z)}function oe(z){return z===61?(t.consume(z),te):Bt(z)?(l=oe,Fe(z)):Rn(z)?(t.consume(z),oe):se(z)}function te(z){return z===null||z===60||z===61||z===62||z===96?n(z):z===34||z===39?(t.consume(z),a=z,xe):Bt(z)?(l=te,Fe(z)):Rn(z)?(t.consume(z),te):(t.consume(z),ke)}function xe(z){return z===a?(t.consume(z),a=void 0,Ge):z===null?n(z):Bt(z)?(l=xe,Fe(z)):(t.consume(z),xe)}function ke(z){return z===null||z===34||z===39||z===60||z===61||z===96?n(z):z===47||z===62||Sr(z)?se(z):(t.consume(z),ke)}function Ge(z){return z===47||z===62||Sr(z)?se(z):n(z)}function Je(z){return z===62?(t.consume(z),t.exit("htmlTextData"),t.exit("htmlText"),e):n(z)}function Fe(z){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),ve}function ve(z){return Rn(z)?Vn(t,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):Be(z)}function Be(z){return t.enter("htmlTextData"),l(z)}}const e_={name:"labelEnd",resolveAll:dQ,resolveTo:fQ,tokenize:hQ},lQ={tokenize:pQ},uQ={tokenize:mQ},cQ={tokenize:gQ};function dQ(t){let e=-1;const n=[];for(;++e<t.length;){const r=t[e][1];if(n.push(t[e]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",e+=a}}return t.length!==n.length&&Mo(t,0,t.length,n),t}function fQ(t,e){let n=t.length,r=0,a,s,l,c;for(;n--;)if(a=t[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;t[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(l){if(t[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(l=n);const h={type:t[s][1].type==="labelLink"?"link":"image",start:{...t[s][1].start},end:{...t[t.length-1][1].end}},p={type:"label",start:{...t[s][1].start},end:{...t[l][1].end}},v={type:"labelText",start:{...t[s+r+2][1].end},end:{...t[l-2][1].start}};return c=[["enter",h,e],["enter",p,e]],c=Jo(c,t.slice(s+1,s+r+3)),c=Jo(c,[["enter",v,e]]),c=Jo(c,pS(e.parser.constructs.insideSpan.null,t.slice(s+r+4,l-3),e)),c=Jo(c,[["exit",v,e],t[l-2],t[l-1],["exit",p,e]]),c=Jo(c,t.slice(l+1)),c=Jo(c,[["exit",h,e]]),Mo(t,s,t.length,c),t}function hQ(t,e,n){const r=this;let a=r.events.length,s,l;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){s=r.events[a][1];break}return c;function c(k){return s?s._inactive?b(k):(l=r.parser.defined.includes(Ns(r.sliceSerialize({start:s.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(k),t.exit("labelMarker"),t.exit("labelEnd"),h):n(k)}function h(k){return k===40?t.attempt(lQ,v,l?v:b)(k):k===91?t.attempt(uQ,v,l?p:b)(k):l?v(k):b(k)}function p(k){return t.attempt(cQ,v,b)(k)}function v(k){return e(k)}function b(k){return s._balanced=!0,n(k)}}function pQ(t,e,n){return r;function r(b){return t.enter("resource"),t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),a}function a(b){return Sr(b)?Ev(t,s)(b):s(b)}function s(b){return b===41?v(b):H4(t,l,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function l(b){return Sr(b)?Ev(t,h)(b):v(b)}function c(b){return n(b)}function h(b){return b===34||b===39||b===40?q4(t,p,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):v(b)}function p(b){return Sr(b)?Ev(t,v)(b):v(b)}function v(b){return b===41?(t.enter("resourceMarker"),t.consume(b),t.exit("resourceMarker"),t.exit("resource"),e):n(b)}}function mQ(t,e,n){const r=this;return a;function a(c){return $4.call(r,t,s,l,"reference","referenceMarker","referenceString")(c)}function s(c){return r.parser.defined.includes(Ns(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(c):n(c)}function l(c){return n(c)}}function gQ(t,e,n){return r;function r(s){return t.enter("reference"),t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),a}function a(s){return s===93?(t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),t.exit("reference"),e):n(s)}}const vQ={name:"labelStartImage",resolveAll:e_.resolveAll,tokenize:yQ};function yQ(t,e,n){const r=this;return a;function a(c){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(c),t.exit("labelImageMarker"),s}function s(c){return c===91?(t.enter("labelMarker"),t.consume(c),t.exit("labelMarker"),t.exit("labelImage"),l):n(c)}function l(c){return c===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(c):e(c)}}const bQ={name:"labelStartLink",resolveAll:e_.resolveAll,tokenize:SQ};function SQ(t,e,n){const r=this;return a;function a(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),s}function s(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):e(l)}}const t_={name:"lineEnding",tokenize:CQ};function CQ(t,e){return n;function n(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),Vn(t,e,"linePrefix")}}const mS={name:"thematicBreak",tokenize:kQ};function kQ(t,e,n){let r=0,a;return s;function s(p){return t.enter("thematicBreak"),l(p)}function l(p){return a=p,c(p)}function c(p){return p===a?(t.enter("thematicBreakSequence"),h(p)):r>=3&&(p===null||Bt(p))?(t.exit("thematicBreak"),e(p)):n(p)}function h(p){return p===a?(t.consume(p),r++,h):(t.exit("thematicBreakSequence"),Rn(p)?Vn(t,c,"whitespace")(p):c(p))}}const uo={continuation:{tokenize:_Q},exit:RQ,name:"list",tokenize:wQ},TQ={partial:!0,tokenize:PQ},xQ={partial:!0,tokenize:EQ};function wQ(t,e,n){const r=this,a=r.events[r.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,l=0;return c;function c(T){const E=r.containerState.type||(T===42||T===43||T===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||T===r.containerState.marker:Qw(T)){if(r.containerState.type||(r.containerState.type=E,t.enter(E,{_container:!0})),E==="listUnordered")return t.enter("listItemPrefix"),T===42||T===45?t.check(mS,n,p)(T):p(T);if(!r.interrupt||T===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),h(T)}return n(T)}function h(T){return Qw(T)&&++l<10?(t.consume(T),h):(!r.interrupt||l<2)&&(r.containerState.marker?T===r.containerState.marker:T===41||T===46)?(t.exit("listItemValue"),p(T)):n(T)}function p(T){return t.enter("listItemMarker"),t.consume(T),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||T,t.check(wv,r.interrupt?n:v,t.attempt(TQ,k,b))}function v(T){return r.containerState.initialBlankLine=!0,s++,k(T)}function b(T){return Rn(T)?(t.enter("listItemPrefixWhitespace"),t.consume(T),t.exit("listItemPrefixWhitespace"),k):n(T)}function k(T){return r.containerState.size=s+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(T)}}function _Q(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(wv,a,s);function a(c){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Vn(t,e,"listItemIndent",r.containerState.size+1)(c)}function s(c){return r.containerState.furtherBlankLines||!Rn(c)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(c)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(xQ,e,l)(c))}function l(c){return r.containerState._closeFlow=!0,r.interrupt=void 0,Vn(t,t.attempt(uo,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function EQ(t,e,n){const r=this;return Vn(t,a,"listItemIndent",r.containerState.size+1);function a(s){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?e(s):n(s)}}function RQ(t){t.exit(this.containerState.type)}function PQ(t,e,n){const r=this;return Vn(t,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const l=r.events[r.events.length-1];return!Rn(s)&&l&&l[1].type==="listItemPrefixWhitespace"?e(s):n(s)}}const G4={name:"setextUnderline",resolveTo:DQ,tokenize:AQ};function DQ(t,e){let n=t.length,r,a,s;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){r=n;break}t[n][1].type==="paragraph"&&(a=n)}else t[n][1].type==="content"&&t.splice(n,1),!s&&t[n][1].type==="definition"&&(s=n);const l={type:"setextHeading",start:{...t[a][1].start},end:{...t[t.length-1][1].end}};return t[a][1].type="setextHeadingText",s?(t.splice(a,0,["enter",l,e]),t.splice(s+1,0,["exit",t[r][1],e]),t[r][1].end={...t[s][1].end}):t[r][1]=l,t.push(["exit",l,e]),t}function AQ(t,e,n){const r=this;let a;return s;function s(p){let v=r.events.length,b;for(;v--;)if(r.events[v][1].type!=="lineEnding"&&r.events[v][1].type!=="linePrefix"&&r.events[v][1].type!=="content"){b=r.events[v][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||b)?(t.enter("setextHeadingLine"),a=p,l(p)):n(p)}function l(p){return t.enter("setextHeadingLineSequence"),c(p)}function c(p){return p===a?(t.consume(p),c):(t.exit("setextHeadingLineSequence"),Rn(p)?Vn(t,h,"lineSuffix")(p):h(p))}function h(p){return p===null||Bt(p)?(t.exit("setextHeadingLine"),e(p)):n(p)}}const OQ={tokenize:MQ};function MQ(t){const e=this,n=t.attempt(wv,r,t.attempt(this.parser.constructs.flowInitial,a,Vn(t,t.attempt(this.parser.constructs.flow,a,t.attempt(FZ,a)),"linePrefix")));return n;function r(s){if(s===null){t.consume(s);return}return t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function a(s){if(s===null){t.consume(s);return}return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e.currentConstruct=void 0,n}}const LQ={resolveAll:K4()},NQ=Y4("string"),IQ=Y4("text");function Y4(t){return{resolveAll:K4(t==="text"?UQ:void 0),tokenize:e};function e(n){const r=this,a=this.parser.constructs[t],s=n.attempt(a,l,c);return l;function l(v){return p(v)?s(v):c(v)}function c(v){if(v===null){n.consume(v);return}return n.enter("data"),n.consume(v),h}function h(v){return p(v)?(n.exit("data"),s(v)):(n.consume(v),h)}function p(v){if(v===null)return!0;const b=a[v];let k=-1;if(b)for(;++k<b.length;){const T=b[k];if(!T.previous||T.previous.call(r,r.previous))return!0}return!1}}}function K4(t){return e;function e(n,r){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return t?t(n,r):n}}function UQ(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||t[n][1].type==="lineEnding")&&t[n-1][1].type==="data"){const r=t[n-1][1],a=e.sliceStream(r);let s=a.length,l=-1,c=0,h;for(;s--;){const p=a[s];if(typeof p=="string"){for(l=p.length;p.charCodeAt(l-1)===32;)c++,l--;if(l)break;l=-1}else if(p===-2)h=!0,c++;else if(p!==-1){s++;break}}if(c){const p={type:n===t.length||h||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?l:r.start._bufferIndex+l,_index:r.start._index+s,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...p.start},r.start.offset===r.end.offset?Object.assign(r,p):(t.splice(n,0,["enter",p,e],["exit",p,e]),n+=2)}n++}return t}const FQ=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:HZ},disable:{null:[]},document:{42:uo,43:uo,45:uo,48:uo,49:uo,50:uo,51:uo,52:uo,53:uo,54:uo,55:uo,56:uo,57:uo,62:U4},flow:{35:KZ,42:mS,45:[G4,mS],60:JZ,61:G4,95:mS,96:z4,126:z4},flowInitial:{[-2]:Jw,[-1]:Jw,32:Jw},insideSpan:{null:[Xw,LQ]},string:{38:j4,92:F4},text:{[-5]:t_,[-4]:t_,[-3]:t_,33:vQ,38:j4,42:Xw,60:[bZ,oQ],91:bQ,92:[GZ,F4],93:e_,95:Xw,96:OZ}},Symbol.toStringTag,{value:"Module"}));function jQ(t,e,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let l=[],c=[];const h={attempt:ne(I),check:ne(N),consume:U,enter:V,exit:j,interrupt:ne(N,{interrupt:!0})},p={code:null,containerState:{},defineSkip:R,events:[],now:E,parser:t,previous:null,sliceSerialize:k,sliceStream:T,write:b};let v=e.tokenize.call(p,h);return e.resolveAll&&s.push(e),p;function b(oe){return l=Jo(l,oe),M(),l[l.length-1]!==null?[]:(X(e,0),p.events=pS(s,p.events,p),p.events)}function k(oe,te){return zQ(T(oe),te)}function T(oe){return VQ(l,oe)}function E(){const{_bufferIndex:oe,_index:te,line:xe,column:ke,offset:Ge}=r;return{_bufferIndex:oe,_index:te,line:xe,column:ke,offset:Ge}}function R(oe){a[oe.line]=oe.column,$()}function M(){let oe;for(;r._index<l.length;){const te=l[r._index];if(typeof te=="string")for(oe=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===oe&&r._bufferIndex<te.length;)A(te.charCodeAt(r._bufferIndex));else A(te)}}function A(oe){v=v(oe)}function U(oe){Bt(oe)?(r.line++,r.column=1,r.offset+=oe===-3?2:1,$()):oe!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),p.previous=oe}function V(oe,te){const xe=te||{};return xe.type=oe,xe.start=E(),p.events.push(["enter",xe,p]),c.push(xe),xe}function j(oe){const te=c.pop();return te.end=E(),p.events.push(["exit",te,p]),te}function I(oe,te){X(oe,te.from)}function N(oe,te){te.restore()}function ne(oe,te){return xe;function xe(ke,Ge,Je){let Fe,ve,Be,z;return Array.isArray(ke)?Ce(ke):"tokenize"in ke?Ce([ke]):J(ke);function J(ht){return bt;function bt(it){const xt=it!==null&&ht[it],nn=it!==null&&ht.null,qn=[...Array.isArray(xt)?xt:xt?[xt]:[],...Array.isArray(nn)?nn:nn?[nn]:[]];return Ce(qn)(it)}}function Ce(ht){return Fe=ht,ve=0,ht.length===0?Je:H(ht[ve])}function H(ht){return bt;function bt(it){return z=se(),Be=ht,ht.partial||(p.currentConstruct=ht),ht.name&&p.parser.constructs.disable.null.includes(ht.name)?Rt():ht.tokenize.call(te?Object.assign(Object.create(p),te):p,h,Ct,Rt)(it)}}function Ct(ht){return oe(Be,z),Ge}function Rt(ht){return z.restore(),++ve<Fe.length?H(Fe[ve]):Je}}}function X(oe,te){oe.resolveAll&&!s.includes(oe)&&s.push(oe),oe.resolve&&Mo(p.events,te,p.events.length-te,oe.resolve(p.events.slice(te),p)),oe.resolveTo&&(p.events=oe.resolveTo(p.events,p))}function se(){const oe=E(),te=p.previous,xe=p.currentConstruct,ke=p.events.length,Ge=Array.from(c);return{from:ke,restore:Je};function Je(){r=oe,p.previous=te,p.currentConstruct=xe,p.events.length=ke,c=Ge,$()}}function $(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function VQ(t,e){const n=e.start._index,r=e.start._bufferIndex,a=e.end._index,s=e.end._bufferIndex;let l;if(n===a)l=[t[n].slice(r,s)];else{if(l=t.slice(n,a),r>-1){const c=l[0];typeof c=="string"?l[0]=c.slice(r):l.shift()}s>0&&l.push(t[a].slice(0,s))}return l}function zQ(t,e){let n=-1;const r=[];let a;for(;++n<t.length;){const s=t[n];let l;if(typeof s=="string")l=s;else switch(s){case-5:{l="\r";break}case-4:{l=`
|
|
400
400
|
`;break}case-3:{l=`\r
|
|
401
|
-
`;break}case-2:{l=e?" ":" ";break}case-1:{if(!e&&a)continue;l=" ";break}default:l=String.fromCharCode(s)}a=s===-2,r.push(l)}return r.join("")}function BQ(t){const r={constructs:M4([FQ,...(t||{}).extensions||[]]),content:a(fZ),defined:[],document:a(pZ),flow:a(OQ),lazy:{},string:a(NQ),text:a(IQ)};return r;function a(s){return l;function l(c){return jQ(r,s,c)}}}function HQ(t){for(;!B4(t););return t}const Z4=/[\0\t\n\r]/g;function $Q(){let t=1,e="",n=!0,r;return a;function a(s,l,c){const h=[];let p,v,b,k,T;for(s=e+(typeof s=="string"?s.toString():new TextDecoder(l||void 0).decode(s)),b=0,e="",n&&(s.charCodeAt(0)===65279&&b++,n=void 0);b<s.length;){if(Z4.lastIndex=b,p=Z4.exec(s),k=p&&p.index!==void 0?p.index:s.length,T=s.charCodeAt(k),!p){e=s.slice(b);break}if(T===10&&b===k&&r)h.push(-3),r=void 0;else switch(r&&(h.push(-5),r=void 0),b<k&&(h.push(s.slice(b,k)),t+=k-b),T){case 0:{h.push(65533),t++;break}case 9:{for(v=Math.ceil(t/4)*4,h.push(-2);t++<v;)h.push(-1);break}case 10:{h.push(-4),t=1;break}default:r=!0,t=1}b=k+1}return c&&(r&&h.push(-5),e&&h.push(e),h.push(null)),h}}const qQ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function WQ(t){return t.replace(qQ,GQ)}function GQ(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return L4(n.slice(s?2:1),s?16:10)}return Zw(n)||t}const Q4={}.hasOwnProperty;function YQ(t,e,n){return typeof e!="string"&&(n=e,e=void 0),KQ(n)(HQ(BQ(n).document().write($Q()(t,e,!0))))}function KQ(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(le),autolinkProtocol:se,autolinkEmail:se,atxHeading:s(Lr),blockQuote:s(nn),characterEscape:se,characterReference:se,codeFenced:s(qn),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(qn,l),codeText:s(_r,l),codeTextData:se,data:se,codeFlowValue:se,definition:s(vr),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(Xn),hardBreakEscape:s(Sn),hardBreakTrailing:s(Sn),htmlFlow:s(Lt,l),htmlFlowData:se,htmlText:s(Lt,l),htmlTextData:se,image:s(Z),label:l,link:s(le),listItem:s(je),listItemValue:k,listOrdered:s(me,b),listUnordered:s(me),paragraph:s(Ve),reference:H,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(Lr),strong:s(Me),thematicBreak:s(Nt)},exit:{atxHeading:h(),atxHeadingSequence:I,autolink:h(),autolinkEmail:xt,autolinkProtocol:it,blockQuote:h(),characterEscapeValue:$,characterReferenceMarkerHexadecimal:Rt,characterReferenceMarkerNumeric:Rt,characterReferenceValue:ht,characterReference:bt,codeFenced:h(M),codeFencedFence:R,codeFencedFenceInfo:T,codeFencedFenceMeta:E,codeFlowValue:$,codeIndented:h(A),codeText:h(Ge),codeTextData:$,data:$,definition:h(),definitionDestinationString:j,definitionLabelString:U,definitionTitleString:V,emphasis:h(),hardBreakEscape:h(te),hardBreakTrailing:h(te),htmlFlow:h(xe),htmlFlowData:$,htmlText:h(ke),htmlTextData:$,image:h(Fe),label:Be,labelText:ve,lineEnding:oe,link:h(Je),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:Ct,resourceDestinationString:z,resourceTitleString:J,resource:Ce,setextHeading:h(X),setextHeadingLineSequence:ne,setextHeadingText:N,strong:h(),thematicBreak:h()}};X4(e,(t||{}).mdastExtensions||[]);const n={};return r;function r(fe){let Re={type:"root",children:[]};const vt={stack:[Re],tokenStack:[],config:e,enter:c,exit:p,buffer:l,resume:v,data:n},Ft=[];let Kt=-1;for(;++Kt<fe.length;)if(fe[Kt][1].type==="listOrdered"||fe[Kt][1].type==="listUnordered")if(fe[Kt][0]==="enter")Ft.push(Kt);else{const ze=Ft.pop();Kt=a(fe,ze,Kt)}for(Kt=-1;++Kt<fe.length;){const ze=e[fe[Kt][0]];Q4.call(ze,fe[Kt][1].type)&&ze[fe[Kt][1].type].call(Object.assign({sliceSerialize:fe[Kt][2].sliceSerialize},vt),fe[Kt][1])}if(vt.tokenStack.length>0){const ze=vt.tokenStack[vt.tokenStack.length-1];(ze[1]||J4).call(vt,void 0,ze[0])}for(Re.position={start:zc(fe.length>0?fe[0][1].start:{line:1,column:1,offset:0}),end:zc(fe.length>0?fe[fe.length-2][1].end:{line:1,column:1,offset:0})},Kt=-1;++Kt<e.transforms.length;)Re=e.transforms[Kt](Re)||Re;return Re}function a(fe,Re,vt){let Ft=Re-1,Kt=-1,ze=!1,ct,At,un,_n;for(;++Ft<=vt;){const cn=fe[Ft];switch(cn[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{cn[0]==="enter"?Kt++:Kt--,_n=void 0;break}case"lineEndingBlank":{cn[0]==="enter"&&(ct&&!_n&&!Kt&&!un&&(un=Ft),_n=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:_n=void 0}if(!Kt&&cn[0]==="enter"&&cn[1].type==="listItemPrefix"||Kt===-1&&cn[0]==="exit"&&(cn[1].type==="listUnordered"||cn[1].type==="listOrdered")){if(ct){let Pn=Ft;for(At=void 0;Pn--;){const Wn=fe[Pn];if(Wn[1].type==="lineEnding"||Wn[1].type==="lineEndingBlank"){if(Wn[0]==="exit")continue;At&&(fe[At][1].type="lineEndingBlank",ze=!0),Wn[1].type="lineEnding",At=Pn}else if(!(Wn[1].type==="linePrefix"||Wn[1].type==="blockQuotePrefix"||Wn[1].type==="blockQuotePrefixWhitespace"||Wn[1].type==="blockQuoteMarker"||Wn[1].type==="listItemIndent"))break}un&&(!At||un<At)&&(ct._spread=!0),ct.end=Object.assign({},At?fe[At][1].start:cn[1].end),fe.splice(At||Ft,0,["exit",ct,cn[2]]),Ft++,vt++}if(cn[1].type==="listItemPrefix"){const Pn={type:"listItem",_spread:!1,start:Object.assign({},cn[1].start),end:void 0};ct=Pn,fe.splice(Ft,0,["enter",Pn,cn[2]]),Ft++,vt++,un=void 0,_n=!0}}}return fe[Re][1]._spread=ze,vt}function s(fe,Re){return vt;function vt(Ft){c.call(this,fe(Ft),Ft),Re&&Re.call(this,Ft)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(fe,Re,vt){this.stack[this.stack.length-1].children.push(fe),this.stack.push(fe),this.tokenStack.push([Re,vt||void 0]),fe.position={start:zc(Re.start),end:void 0}}function h(fe){return Re;function Re(vt){fe&&fe.call(this,vt),p.call(this,vt)}}function p(fe,Re){const vt=this.stack.pop(),Ft=this.tokenStack.pop();if(Ft)Ft[0].type!==fe.type&&(Re?Re.call(this,fe,Ft[0]):(Ft[1]||J4).call(this,fe,Ft[0]));else throw new Error("Cannot close `"+fe.type+"` ("+Tv({start:fe.start,end:fe.end})+"): it’s not open");vt.position.end=zc(fe.end)}function v(){return Kw(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function k(fe){if(this.data.expectingFirstListItemValue){const Re=this.stack[this.stack.length-2];Re.start=Number.parseInt(this.sliceSerialize(fe),10),this.data.expectingFirstListItemValue=void 0}}function T(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.lang=fe}function E(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.meta=fe}function R(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function M(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe.replace(/(\r?\n|\r)$/g,"")}function U(fe){const Re=this.resume(),vt=this.stack[this.stack.length-1];vt.label=Re,vt.identifier=Ns(this.sliceSerialize(fe)).toLowerCase()}function V(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.title=fe}function j(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.url=fe}function I(fe){const Re=this.stack[this.stack.length-1];if(!Re.depth){const vt=this.sliceSerialize(fe).length;Re.depth=vt}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function ne(fe){const Re=this.stack[this.stack.length-1];Re.depth=this.sliceSerialize(fe).codePointAt(0)===61?1:2}function X(){this.data.setextHeadingSlurpLineEnding=void 0}function se(fe){const vt=this.stack[this.stack.length-1].children;let Ft=vt[vt.length-1];(!Ft||Ft.type!=="text")&&(Ft=ut(),Ft.position={start:zc(fe.start),end:void 0},vt.push(Ft)),this.stack.push(Ft)}function $(fe){const Re=this.stack.pop();Re.value+=this.sliceSerialize(fe),Re.position.end=zc(fe.end)}function oe(fe){const Re=this.stack[this.stack.length-1];if(this.data.atHardBreak){const vt=Re.children[Re.children.length-1];vt.position.end=zc(fe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(Re.type)&&(se.call(this,fe),$.call(this,fe))}function te(){this.data.atHardBreak=!0}function xe(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe}function ke(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe}function Ge(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe}function Je(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const Re=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=Re,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function Fe(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const Re=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=Re,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function ve(fe){const Re=this.sliceSerialize(fe),vt=this.stack[this.stack.length-2];vt.label=WQ(Re),vt.identifier=Ns(Re).toLowerCase()}function Be(){const fe=this.stack[this.stack.length-1],Re=this.resume(),vt=this.stack[this.stack.length-1];if(this.data.inReference=!0,vt.type==="link"){const Ft=fe.children;vt.children=Ft}else vt.alt=Re}function z(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.url=fe}function J(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.title=fe}function Ce(){this.data.inReference=void 0}function H(){this.data.referenceType="collapsed"}function Ct(fe){const Re=this.resume(),vt=this.stack[this.stack.length-1];vt.label=Re,vt.identifier=Ns(this.sliceSerialize(fe)).toLowerCase(),this.data.referenceType="full"}function Rt(fe){this.data.characterReferenceType=fe.type}function ht(fe){const Re=this.sliceSerialize(fe),vt=this.data.characterReferenceType;let Ft;vt?(Ft=L4(Re,vt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ft=Zw(Re);const Kt=this.stack[this.stack.length-1];Kt.value+=Ft}function bt(fe){const Re=this.stack.pop();Re.position.end=zc(fe.end)}function it(fe){$.call(this,fe);const Re=this.stack[this.stack.length-1];Re.url=this.sliceSerialize(fe)}function xt(fe){$.call(this,fe);const Re=this.stack[this.stack.length-1];Re.url="mailto:"+this.sliceSerialize(fe)}function nn(){return{type:"blockquote",children:[]}}function qn(){return{type:"code",lang:null,meta:null,value:""}}function _r(){return{type:"inlineCode",value:""}}function vr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Xn(){return{type:"emphasis",children:[]}}function Lr(){return{type:"heading",depth:0,children:[]}}function Sn(){return{type:"break"}}function Lt(){return{type:"html",value:""}}function Z(){return{type:"image",title:null,url:"",alt:null}}function le(){return{type:"link",title:null,url:"",children:[]}}function me(fe){return{type:"list",ordered:fe.type==="listOrdered",start:null,spread:fe._spread,children:[]}}function je(fe){return{type:"listItem",spread:fe._spread,checked:null,children:[]}}function Ve(){return{type:"paragraph",children:[]}}function Me(){return{type:"strong",children:[]}}function ut(){return{type:"text",value:""}}function Nt(){return{type:"thematicBreak"}}}function zc(t){return{line:t.line,column:t.column,offset:t.offset}}function X4(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?X4(t,r):ZQ(t,r)}}function ZQ(t,e){let n;for(n in e)if(Q4.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function J4(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Tv({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Tv({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Tv({start:e.start,end:e.end})+") is still open")}function QQ(t){const e=this;e.parser=n;function n(r){return YQ(r,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function XQ(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function JQ(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
|
|
401
|
+
`;break}case-2:{l=e?" ":" ";break}case-1:{if(!e&&a)continue;l=" ";break}default:l=String.fromCharCode(s)}a=s===-2,r.push(l)}return r.join("")}function BQ(t){const r={constructs:M4([FQ,...(t||{}).extensions||[]]),content:a(fZ),defined:[],document:a(pZ),flow:a(OQ),lazy:{},string:a(NQ),text:a(IQ)};return r;function a(s){return l;function l(c){return jQ(r,s,c)}}}function HQ(t){for(;!B4(t););return t}const Z4=/[\0\t\n\r]/g;function $Q(){let t=1,e="",n=!0,r;return a;function a(s,l,c){const h=[];let p,v,b,k,T;for(s=e+(typeof s=="string"?s.toString():new TextDecoder(l||void 0).decode(s)),b=0,e="",n&&(s.charCodeAt(0)===65279&&b++,n=void 0);b<s.length;){if(Z4.lastIndex=b,p=Z4.exec(s),k=p&&p.index!==void 0?p.index:s.length,T=s.charCodeAt(k),!p){e=s.slice(b);break}if(T===10&&b===k&&r)h.push(-3),r=void 0;else switch(r&&(h.push(-5),r=void 0),b<k&&(h.push(s.slice(b,k)),t+=k-b),T){case 0:{h.push(65533),t++;break}case 9:{for(v=Math.ceil(t/4)*4,h.push(-2);t++<v;)h.push(-1);break}case 10:{h.push(-4),t=1;break}default:r=!0,t=1}b=k+1}return c&&(r&&h.push(-5),e&&h.push(e),h.push(null)),h}}const qQ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function WQ(t){return t.replace(qQ,GQ)}function GQ(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return L4(n.slice(s?2:1),s?16:10)}return Zw(n)||t}const Q4={}.hasOwnProperty;function YQ(t,e,n){return typeof e!="string"&&(n=e,e=void 0),KQ(n)(HQ(BQ(n).document().write($Q()(t,e,!0))))}function KQ(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(le),autolinkProtocol:se,autolinkEmail:se,atxHeading:s(Lr),blockQuote:s(nn),characterEscape:se,characterReference:se,codeFenced:s(qn),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(qn,l),codeText:s(_r,l),codeTextData:se,data:se,codeFlowValue:se,definition:s(vr),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(Xn),hardBreakEscape:s(un),hardBreakTrailing:s(un),htmlFlow:s(Lt,l),htmlFlowData:se,htmlText:s(Lt,l),htmlTextData:se,image:s(Z),label:l,link:s(le),listItem:s(je),listItemValue:k,listOrdered:s(me,b),listUnordered:s(me),paragraph:s(Ve),reference:H,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(Lr),strong:s(Me),thematicBreak:s(Nt)},exit:{atxHeading:h(),atxHeadingSequence:I,autolink:h(),autolinkEmail:xt,autolinkProtocol:it,blockQuote:h(),characterEscapeValue:$,characterReferenceMarkerHexadecimal:Rt,characterReferenceMarkerNumeric:Rt,characterReferenceValue:ht,characterReference:bt,codeFenced:h(M),codeFencedFence:R,codeFencedFenceInfo:T,codeFencedFenceMeta:E,codeFlowValue:$,codeIndented:h(A),codeText:h(Ge),codeTextData:$,data:$,definition:h(),definitionDestinationString:j,definitionLabelString:U,definitionTitleString:V,emphasis:h(),hardBreakEscape:h(te),hardBreakTrailing:h(te),htmlFlow:h(xe),htmlFlowData:$,htmlText:h(ke),htmlTextData:$,image:h(Fe),label:Be,labelText:ve,lineEnding:oe,link:h(Je),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:Ct,resourceDestinationString:z,resourceTitleString:J,resource:Ce,setextHeading:h(X),setextHeadingLineSequence:ne,setextHeadingText:N,strong:h(),thematicBreak:h()}};X4(e,(t||{}).mdastExtensions||[]);const n={};return r;function r(fe){let Re={type:"root",children:[]};const vt={stack:[Re],tokenStack:[],config:e,enter:c,exit:p,buffer:l,resume:v,data:n},Ft=[];let Kt=-1;for(;++Kt<fe.length;)if(fe[Kt][1].type==="listOrdered"||fe[Kt][1].type==="listUnordered")if(fe[Kt][0]==="enter")Ft.push(Kt);else{const ze=Ft.pop();Kt=a(fe,ze,Kt)}for(Kt=-1;++Kt<fe.length;){const ze=e[fe[Kt][0]];Q4.call(ze,fe[Kt][1].type)&&ze[fe[Kt][1].type].call(Object.assign({sliceSerialize:fe[Kt][2].sliceSerialize},vt),fe[Kt][1])}if(vt.tokenStack.length>0){const ze=vt.tokenStack[vt.tokenStack.length-1];(ze[1]||J4).call(vt,void 0,ze[0])}for(Re.position={start:zc(fe.length>0?fe[0][1].start:{line:1,column:1,offset:0}),end:zc(fe.length>0?fe[fe.length-2][1].end:{line:1,column:1,offset:0})},Kt=-1;++Kt<e.transforms.length;)Re=e.transforms[Kt](Re)||Re;return Re}function a(fe,Re,vt){let Ft=Re-1,Kt=-1,ze=!1,ct,At,cn,_n;for(;++Ft<=vt;){const dn=fe[Ft];switch(dn[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{dn[0]==="enter"?Kt++:Kt--,_n=void 0;break}case"lineEndingBlank":{dn[0]==="enter"&&(ct&&!_n&&!Kt&&!cn&&(cn=Ft),_n=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:_n=void 0}if(!Kt&&dn[0]==="enter"&&dn[1].type==="listItemPrefix"||Kt===-1&&dn[0]==="exit"&&(dn[1].type==="listUnordered"||dn[1].type==="listOrdered")){if(ct){let Pn=Ft;for(At=void 0;Pn--;){const Wn=fe[Pn];if(Wn[1].type==="lineEnding"||Wn[1].type==="lineEndingBlank"){if(Wn[0]==="exit")continue;At&&(fe[At][1].type="lineEndingBlank",ze=!0),Wn[1].type="lineEnding",At=Pn}else if(!(Wn[1].type==="linePrefix"||Wn[1].type==="blockQuotePrefix"||Wn[1].type==="blockQuotePrefixWhitespace"||Wn[1].type==="blockQuoteMarker"||Wn[1].type==="listItemIndent"))break}cn&&(!At||cn<At)&&(ct._spread=!0),ct.end=Object.assign({},At?fe[At][1].start:dn[1].end),fe.splice(At||Ft,0,["exit",ct,dn[2]]),Ft++,vt++}if(dn[1].type==="listItemPrefix"){const Pn={type:"listItem",_spread:!1,start:Object.assign({},dn[1].start),end:void 0};ct=Pn,fe.splice(Ft,0,["enter",Pn,dn[2]]),Ft++,vt++,cn=void 0,_n=!0}}}return fe[Re][1]._spread=ze,vt}function s(fe,Re){return vt;function vt(Ft){c.call(this,fe(Ft),Ft),Re&&Re.call(this,Ft)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(fe,Re,vt){this.stack[this.stack.length-1].children.push(fe),this.stack.push(fe),this.tokenStack.push([Re,vt||void 0]),fe.position={start:zc(Re.start),end:void 0}}function h(fe){return Re;function Re(vt){fe&&fe.call(this,vt),p.call(this,vt)}}function p(fe,Re){const vt=this.stack.pop(),Ft=this.tokenStack.pop();if(Ft)Ft[0].type!==fe.type&&(Re?Re.call(this,fe,Ft[0]):(Ft[1]||J4).call(this,fe,Ft[0]));else throw new Error("Cannot close `"+fe.type+"` ("+Tv({start:fe.start,end:fe.end})+"): it’s not open");vt.position.end=zc(fe.end)}function v(){return Kw(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function k(fe){if(this.data.expectingFirstListItemValue){const Re=this.stack[this.stack.length-2];Re.start=Number.parseInt(this.sliceSerialize(fe),10),this.data.expectingFirstListItemValue=void 0}}function T(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.lang=fe}function E(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.meta=fe}function R(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function M(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe.replace(/(\r?\n|\r)$/g,"")}function U(fe){const Re=this.resume(),vt=this.stack[this.stack.length-1];vt.label=Re,vt.identifier=Ns(this.sliceSerialize(fe)).toLowerCase()}function V(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.title=fe}function j(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.url=fe}function I(fe){const Re=this.stack[this.stack.length-1];if(!Re.depth){const vt=this.sliceSerialize(fe).length;Re.depth=vt}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function ne(fe){const Re=this.stack[this.stack.length-1];Re.depth=this.sliceSerialize(fe).codePointAt(0)===61?1:2}function X(){this.data.setextHeadingSlurpLineEnding=void 0}function se(fe){const vt=this.stack[this.stack.length-1].children;let Ft=vt[vt.length-1];(!Ft||Ft.type!=="text")&&(Ft=ut(),Ft.position={start:zc(fe.start),end:void 0},vt.push(Ft)),this.stack.push(Ft)}function $(fe){const Re=this.stack.pop();Re.value+=this.sliceSerialize(fe),Re.position.end=zc(fe.end)}function oe(fe){const Re=this.stack[this.stack.length-1];if(this.data.atHardBreak){const vt=Re.children[Re.children.length-1];vt.position.end=zc(fe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(Re.type)&&(se.call(this,fe),$.call(this,fe))}function te(){this.data.atHardBreak=!0}function xe(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe}function ke(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe}function Ge(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.value=fe}function Je(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const Re=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=Re,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function Fe(){const fe=this.stack[this.stack.length-1];if(this.data.inReference){const Re=this.data.referenceType||"shortcut";fe.type+="Reference",fe.referenceType=Re,delete fe.url,delete fe.title}else delete fe.identifier,delete fe.label;this.data.referenceType=void 0}function ve(fe){const Re=this.sliceSerialize(fe),vt=this.stack[this.stack.length-2];vt.label=WQ(Re),vt.identifier=Ns(Re).toLowerCase()}function Be(){const fe=this.stack[this.stack.length-1],Re=this.resume(),vt=this.stack[this.stack.length-1];if(this.data.inReference=!0,vt.type==="link"){const Ft=fe.children;vt.children=Ft}else vt.alt=Re}function z(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.url=fe}function J(){const fe=this.resume(),Re=this.stack[this.stack.length-1];Re.title=fe}function Ce(){this.data.inReference=void 0}function H(){this.data.referenceType="collapsed"}function Ct(fe){const Re=this.resume(),vt=this.stack[this.stack.length-1];vt.label=Re,vt.identifier=Ns(this.sliceSerialize(fe)).toLowerCase(),this.data.referenceType="full"}function Rt(fe){this.data.characterReferenceType=fe.type}function ht(fe){const Re=this.sliceSerialize(fe),vt=this.data.characterReferenceType;let Ft;vt?(Ft=L4(Re,vt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ft=Zw(Re);const Kt=this.stack[this.stack.length-1];Kt.value+=Ft}function bt(fe){const Re=this.stack.pop();Re.position.end=zc(fe.end)}function it(fe){$.call(this,fe);const Re=this.stack[this.stack.length-1];Re.url=this.sliceSerialize(fe)}function xt(fe){$.call(this,fe);const Re=this.stack[this.stack.length-1];Re.url="mailto:"+this.sliceSerialize(fe)}function nn(){return{type:"blockquote",children:[]}}function qn(){return{type:"code",lang:null,meta:null,value:""}}function _r(){return{type:"inlineCode",value:""}}function vr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Xn(){return{type:"emphasis",children:[]}}function Lr(){return{type:"heading",depth:0,children:[]}}function un(){return{type:"break"}}function Lt(){return{type:"html",value:""}}function Z(){return{type:"image",title:null,url:"",alt:null}}function le(){return{type:"link",title:null,url:"",children:[]}}function me(fe){return{type:"list",ordered:fe.type==="listOrdered",start:null,spread:fe._spread,children:[]}}function je(fe){return{type:"listItem",spread:fe._spread,checked:null,children:[]}}function Ve(){return{type:"paragraph",children:[]}}function Me(){return{type:"strong",children:[]}}function ut(){return{type:"text",value:""}}function Nt(){return{type:"thematicBreak"}}}function zc(t){return{line:t.line,column:t.column,offset:t.offset}}function X4(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?X4(t,r):ZQ(t,r)}}function ZQ(t,e){let n;for(n in e)if(Q4.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function J4(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Tv({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Tv({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Tv({start:e.start,end:e.end})+") is still open")}function QQ(t){const e=this;e.parser=n;function n(r){return YQ(r,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function XQ(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function JQ(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
|
|
402
402
|
`}]}function eX(t,e){const n=e.value?e.value+`
|
|
403
403
|
`:"",r={};e.lang&&(r.className=["language-"+e.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return e.meta&&(a.data={meta:e.meta}),t.patch(e,a),a=t.applyData(e,a),a={type:"element",tagName:"pre",properties:{},children:[a]},t.patch(e,a),a}function tX(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function nX(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function rX(t,e){const n=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),a=Sp(r.toLowerCase()),s=t.footnoteOrder.indexOf(r);let l,c=t.footnoteCounts.get(r);c===void 0?(c=0,t.footnoteOrder.push(r),l=t.footnoteOrder.length):l=s+1,c+=1,t.footnoteCounts.set(r,c);const h={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};t.patch(e,h);const p={type:"element",tagName:"sup",properties:{},children:[h]};return t.patch(e,p),t.applyData(e,p)}function iX(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function aX(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}}function e5(t,e){const n=e.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+r}];const a=t.all(e),s=a[0];s&&s.type==="text"?s.value="["+s.value:a.unshift({type:"text",value:"["});const l=a[a.length-1];return l&&l.type==="text"?l.value+=r:a.push({type:"text",value:r}),a}function oX(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return e5(t,e);const a={src:Sp(r.url||""),alt:e.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"img",properties:a,children:[]};return t.patch(e,s),t.applyData(e,s)}function sX(t,e){const n={src:Sp(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)}function lX(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)}function uX(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return e5(t,e);const a={href:Sp(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"a",properties:a,children:t.all(e)};return t.patch(e,s),t.applyData(e,s)}function cX(t,e){const n={href:Sp(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function dX(t,e,n){const r=t.all(e),a=n?fX(n):t5(e),s={},l=[];if(typeof e.checked=="boolean"){const v=r[0];let b;v&&v.type==="element"&&v.tagName==="p"?b=v:(b={type:"element",tagName:"p",properties:{},children:[]},r.unshift(b)),b.children.length>0&&b.children.unshift({type:"text",value:" "}),b.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c<r.length;){const v=r[c];(a||c!==0||v.type!=="element"||v.tagName!=="p")&&l.push({type:"text",value:`
|
|
404
404
|
`}),v.type==="element"&&v.tagName==="p"&&!a?l.push(...v.children):l.push(v)}const h=r[r.length-1];h&&(a||h.type!=="element"||h.tagName!=="p")&&l.push({type:"text",value:`
|
|
@@ -422,4 +422,4 @@ a=extmap-allow-mixed`)!==-1){const s=a.sdp.split(`
|
|
|
422
422
|
`))+1))}const l="#".repeat(a),c=n.enter("headingAtx"),h=n.enter("phrasing");s.move(l+" ");let p=n.containerPhrasing(t,{before:"# ",after:`
|
|
423
423
|
`,...s.current()});return/^[\t ]/.test(p)&&(p=Dv(p.charCodeAt(0))+p.slice(1)),p=p?l+" "+p:l,n.options.closeAtx&&(p+=" "+l),h(),c(),p}U5.peek=yee;function U5(t){return t.value||""}function yee(){return"<"}F5.peek=bee;function F5(t,e,n,r){const a=k_(n),s=a==='"'?"Quote":"Apostrophe",l=n.enter("image");let c=n.enter("label");const h=n.createTracker(r);let p=h.move("![");return p+=h.move(n.safe(t.alt,{before:p,after:"]",...h.current()})),p+=h.move("]("),c(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(c=n.enter("destinationLiteral"),p+=h.move("<"),p+=h.move(n.safe(t.url,{before:p,after:">",...h.current()})),p+=h.move(">")):(c=n.enter("destinationRaw"),p+=h.move(n.safe(t.url,{before:p,after:t.title?" ":")",...h.current()}))),c(),t.title&&(c=n.enter(`title${s}`),p+=h.move(" "+a),p+=h.move(n.safe(t.title,{before:p,after:a,...h.current()})),p+=h.move(a),c()),p+=h.move(")"),l(),p}function bee(){return"!"}j5.peek=See;function j5(t,e,n,r){const a=t.referenceType,s=n.enter("imageReference");let l=n.enter("label");const c=n.createTracker(r);let h=c.move("![");const p=n.safe(t.alt,{before:h,after:"]",...c.current()});h+=c.move(p+"]["),l();const v=n.stack;n.stack=[],l=n.enter("reference");const b=n.safe(n.associationId(t),{before:h,after:"]",...c.current()});return l(),n.stack=v,s(),a==="full"||!p||p!==b?h+=c.move(b+"]"):a==="shortcut"?h=h.slice(0,-1):h+=c.move("]"),h}function See(){return"!"}V5.peek=Cee;function V5(t,e,n){let r=t.value||"",a="`",s=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const l=n.unsafe[s],c=n.compilePattern(l);let h;if(l.atBreak)for(;h=c.exec(r);){let p=h.index;r.charCodeAt(p)===10&&r.charCodeAt(p-1)===13&&p--,r=r.slice(0,p)+" "+r.slice(h.index+1)}}return a+r+a}function Cee(){return"`"}function z5(t,e){const n=Kw(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}B5.peek=kee;function B5(t,e,n,r){const a=k_(n),s=a==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let c,h;if(z5(t,n)){const v=n.stack;n.stack=[],c=n.enter("autolink");let b=l.move("<");return b+=l.move(n.containerPhrasing(t,{before:b,after:">",...l.current()})),b+=l.move(">"),c(),n.stack=v,b}c=n.enter("link"),h=n.enter("label");let p=l.move("[");return p+=l.move(n.containerPhrasing(t,{before:p,after:"](",...l.current()})),p+=l.move("]("),h(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(h=n.enter("destinationLiteral"),p+=l.move("<"),p+=l.move(n.safe(t.url,{before:p,after:">",...l.current()})),p+=l.move(">")):(h=n.enter("destinationRaw"),p+=l.move(n.safe(t.url,{before:p,after:t.title?" ":")",...l.current()}))),h(),t.title&&(h=n.enter(`title${s}`),p+=l.move(" "+a),p+=l.move(n.safe(t.title,{before:p,after:a,...l.current()})),p+=l.move(a),h()),p+=l.move(")"),c(),p}function kee(t,e,n){return z5(t,n)?"<":"["}H5.peek=Tee;function H5(t,e,n,r){const a=t.referenceType,s=n.enter("linkReference");let l=n.enter("label");const c=n.createTracker(r);let h=c.move("[");const p=n.containerPhrasing(t,{before:h,after:"]",...c.current()});h+=c.move(p+"]["),l();const v=n.stack;n.stack=[],l=n.enter("reference");const b=n.safe(n.associationId(t),{before:h,after:"]",...c.current()});return l(),n.stack=v,s(),a==="full"||!p||p!==b?h+=c.move(b+"]"):a==="shortcut"?h=h.slice(0,-1):h+=c.move("]"),h}function Tee(){return"["}function T_(t){const e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function xee(t){const e=T_(t),n=t.options.bulletOther;if(!n)return e==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}function wee(t){const e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function $5(t){const e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function _ee(t,e,n,r){const a=n.enter("list"),s=n.bulletCurrent;let l=t.ordered?wee(n):T_(n);const c=t.ordered?l==="."?")":".":xee(n);let h=e&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!t.ordered){const v=t.children?t.children[0]:void 0;if((l==="*"||l==="-")&&v&&(!v.children||!v.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(h=!0),$5(n)===l&&v){let b=-1;for(;++b<t.children.length;){const k=t.children[b];if(k&&k.type==="listItem"&&k.children&&k.children[0]&&k.children[0].type==="thematicBreak"){h=!0;break}}}}h&&(l=c),n.bulletCurrent=l;const p=n.containerFlow(t,r);return n.bulletLastUsed=l,n.bulletCurrent=s,a(),p}function Eee(t){const e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function Ree(t,e,n,r){const a=Eee(n);let s=n.bulletCurrent||T_(n);e&&e.type==="list"&&e.ordered&&(s=(typeof e.start=="number"&&e.start>-1?e.start:1)+(n.options.incrementListMarker===!1?0:e.children.indexOf(t))+s);let l=s.length+1;(a==="tab"||a==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(l=Math.ceil(l/4)*4);const c=n.createTracker(r);c.move(s+" ".repeat(l-s.length)),c.shift(l);const h=n.enter("listItem"),p=n.indentLines(n.containerFlow(t,c.current()),v);return h(),p;function v(b,k,T){return k?(T?"":" ".repeat(l))+b:(T?s:s+" ".repeat(l-s.length))+b}}function Pee(t,e,n,r){const a=n.enter("paragraph"),s=n.enter("phrasing"),l=n.containerPhrasing(t,r);return s(),a(),l}const Dee=kS(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Aee(t,e,n,r){return(t.children.some(function(l){return Dee(l)})?n.containerPhrasing:n.containerFlow).call(n,t,r)}function Oee(t){const e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}q5.peek=Mee;function q5(t,e,n,r){const a=Oee(n),s=n.enter("strong"),l=n.createTracker(r),c=l.move(a+a);let h=l.move(n.containerPhrasing(t,{after:a,before:c,...l.current()}));const p=h.charCodeAt(0),v=_S(r.before.charCodeAt(r.before.length-1),p,a);v.inside&&(h=Dv(p)+h.slice(1));const b=h.charCodeAt(h.length-1),k=_S(r.after.charCodeAt(0),b,a);k.inside&&(h=h.slice(0,-1)+Dv(b));const T=l.move(a+a);return s(),n.attentionEncodeSurroundingInfo={after:k.outside,before:v.outside},c+h+T}function Mee(t,e,n){return n.options.strong||"*"}function Lee(t,e,n,r){return n.safe(t.value,r)}function Nee(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function Iee(t,e,n){const r=($5(n)+(n.options.ruleSpaces?" ":"")).repeat(Nee(n));return n.options.ruleSpaces?r.slice(0,-1):r}const W5={blockquote:aee,break:N5,code:dee,definition:hee,emphasis:I5,hardBreak:N5,heading:vee,html:U5,image:F5,imageReference:j5,inlineCode:V5,link:B5,linkReference:H5,list:_ee,listItem:Ree,paragraph:Pee,root:Aee,strong:q5,text:Lee,thematicBreak:Iee};function Uee(){return{enter:{table:Fee,tableData:G5,tableHeader:G5,tableRow:Vee},exit:{codeText:zee,table:jee,tableData:x_,tableHeader:x_,tableRow:x_}}}function Fee(t){const e=t._align;this.enter({type:"table",align:e.map(function(n){return n==="none"?null:n}),children:[]},t),this.data.inTable=!0}function jee(t){this.exit(t),this.data.inTable=void 0}function Vee(t){this.enter({type:"tableRow",children:[]},t)}function x_(t){this.exit(t)}function G5(t){this.enter({type:"tableCell",children:[]},t)}function zee(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,Bee));const n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function Bee(t,e){return e==="|"?e:t}function Hee(t){const e=t||{},n=e.tableCellPadding,r=e.tablePipeAlign,a=e.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
424
424
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:k,table:l,tableCell:h,tableRow:c}};function l(T,E,R,M){return p(v(T,R,M),T.align)}function c(T,E,R,M){const A=b(T,R,M),U=p([A]);return U.slice(0,U.indexOf(`
|
|
425
|
-
`))}function h(T,E,R,M){const A=R.enter("tableCell"),U=R.enter("phrasing"),V=R.containerPhrasing(T,{...M,before:s,after:s});return U(),A(),V}function p(T,E){return ree(T,{align:E,alignDelimiters:r,padding:n,stringLength:a})}function v(T,E,R){const M=T.children;let A=-1;const U=[],V=E.enter("table");for(;++A<M.length;)U[A]=b(M[A],E,R);return V(),U}function b(T,E,R){const M=T.children;let A=-1;const U=[],V=E.enter("tableRow");for(;++A<M.length;)U[A]=h(M[A],T,E,R);return V(),U}function k(T,E,R){let M=W5.inlineCode(T,E,R);return R.stack.includes("tableCell")&&(M=M.replace(/\|/g,"\\$&")),M}}function $ee(){return{exit:{taskListCheckValueChecked:Y5,taskListCheckValueUnchecked:Y5,paragraph:Wee}}}function qee(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Gee}}}function Y5(t){const e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function Wee(t){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=e.children;let s=-1,l;for(;++s<a.length;){const c=a[s];if(c.type==="paragraph"){l=c;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(t)}function Gee(t,e,n,r){const a=t.children[0],s=typeof t.checked=="boolean"&&a&&a.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",c=n.createTracker(r);s&&c.move(l);let h=W5.listItem(t,e,n,{...r,...c.current()});return s&&(h=h.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,p)),h;function p(v){return v+l}}function Yee(){return[wJ(),UJ(),QJ(),Uee(),$ee()]}function Kee(t){return{extensions:[_J(),FJ(),XJ(),Hee(t),qee()]}}const Zee={tokenize:nte,partial:!0},K5={tokenize:rte,partial:!0},Z5={tokenize:ite,partial:!0},Q5={tokenize:ate,partial:!0},Qee={tokenize:ote,partial:!0},X5={name:"wwwAutolink",tokenize:ete,previous:eU},J5={name:"protocolAutolink",tokenize:tte,previous:tU},Cu={name:"emailAutolink",tokenize:Jee,previous:nU},kl={};function Xee(){return{text:kl}}let mf=48;for(;mf<123;)kl[mf]=Cu,mf++,mf===58?mf=65:mf===91&&(mf=97);kl[43]=Cu,kl[45]=Cu,kl[46]=Cu,kl[95]=Cu,kl[72]=[Cu,J5],kl[104]=[Cu,J5],kl[87]=[Cu,X5],kl[119]=[Cu,X5];function Jee(t,e,n){const r=this;let a,s;return l;function l(b){return!w_(b)||!nU.call(r,r.previous)||__(r.events)?n(b):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),c(b))}function c(b){return w_(b)?(t.consume(b),c):b===64?(t.consume(b),h):n(b)}function h(b){return b===46?t.check(Qee,v,p)(b):b===45||b===95||Sa(b)?(s=!0,t.consume(b),h):v(b)}function p(b){return t.consume(b),a=!0,h}function v(b){return s&&a&&za(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(b)):n(b)}}function ete(t,e,n){const r=this;return a;function a(l){return l!==87&&l!==119||!eU.call(r,r.previous)||__(r.events)?n(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Zee,t.attempt(K5,t.attempt(Z5,s),n),n)(l))}function s(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(l)}}function tte(t,e,n){const r=this;let a="",s=!1;return l;function l(b){return(b===72||b===104)&&tU.call(r,r.previous)&&!__(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),a+=String.fromCodePoint(b),t.consume(b),c):n(b)}function c(b){if(za(b)&&a.length<5)return a+=String.fromCodePoint(b),t.consume(b),c;if(b===58){const k=a.toLowerCase();if(k==="http"||k==="https")return t.consume(b),h}return n(b)}function h(b){return b===47?(t.consume(b),s?p:(s=!0,h)):n(b)}function p(b){return b===null||fS(b)||Sr(b)||pf(b)||hS(b)?n(b):t.attempt(K5,t.attempt(Z5,v),n)(b)}function v(b){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(b)}}function nte(t,e,n){let r=0;return a;function a(l){return(l===87||l===119)&&r<3?(r++,t.consume(l),a):l===46&&r===3?(t.consume(l),s):n(l)}function s(l){return l===null?n(l):e(l)}}function rte(t,e,n){let r,a,s;return l;function l(p){return p===46||p===95?t.check(Q5,h,c)(p):p===null||Sr(p)||pf(p)||p!==45&&hS(p)?h(p):(s=!0,t.consume(p),l)}function c(p){return p===95?r=!0:(a=r,r=void 0),t.consume(p),l}function h(p){return a||r||!s?n(p):e(p)}}function ite(t,e){let n=0,r=0;return a;function a(l){return l===40?(n++,t.consume(l),a):l===41&&r<n?s(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?t.check(Q5,e,s)(l):l===null||Sr(l)||pf(l)?e(l):(t.consume(l),a)}function s(l){return l===41&&r++,t.consume(l),a}}function ate(t,e,n){return r;function r(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(t.consume(c),r):c===38?(t.consume(c),s):c===93?(t.consume(c),a):c===60||c===null||Sr(c)||pf(c)?e(c):n(c)}function a(c){return c===null||c===40||c===91||Sr(c)||pf(c)?e(c):r(c)}function s(c){return za(c)?l(c):n(c)}function l(c){return c===59?(t.consume(c),r):za(c)?(t.consume(c),l):n(c)}}function ote(t,e,n){return r;function r(s){return t.consume(s),a}function a(s){return Sa(s)?n(s):e(s)}}function eU(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Sr(t)}function tU(t){return!za(t)}function nU(t){return!(t===47||w_(t))}function w_(t){return t===43||t===45||t===46||t===95||Sa(t)}function __(t){let e=t.length,n=!1;for(;e--;){const r=t[e][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const ste={tokenize:mte,partial:!0};function lte(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:fte,continuation:{tokenize:hte},exit:pte}},text:{91:{name:"gfmFootnoteCall",tokenize:dte},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ute,resolveTo:cte}}}}function ute(t,e,n){const r=this;let a=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;a--;){const h=r.events[a][1];if(h.type==="labelImage"){l=h;break}if(h.type==="gfmFootnoteCall"||h.type==="labelLink"||h.type==="label"||h.type==="image"||h.type==="link")break}return c;function c(h){if(!l||!l._balanced)return n(h);const p=Ns(r.sliceSerialize({start:l.end,end:r.now()}));return p.codePointAt(0)!==94||!s.includes(p.slice(1))?n(h):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(h),t.exit("gfmFootnoteCallLabelMarker"),e(h))}}function cte(t,e){let n=t.length;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},t[t.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[t[n+1],t[n+2],["enter",r,e],t[n+3],t[n+4],["enter",a,e],["exit",a,e],["enter",s,e],["enter",l,e],["exit",l,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",r,e]];return t.splice(n,t.length-n+1,...c),t}function dte(t,e,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,l;return c;function c(b){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(b),t.exit("gfmFootnoteCallLabelMarker"),h}function h(b){return b!==94?n(b):(t.enter("gfmFootnoteCallMarker"),t.consume(b),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",p)}function p(b){if(s>999||b===93&&!l||b===null||b===91||Sr(b))return n(b);if(b===93){t.exit("chunkString");const k=t.exit("gfmFootnoteCallString");return a.includes(Ns(r.sliceSerialize(k)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(b),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(b)}return Sr(b)||(l=!0),s++,t.consume(b),b===92?v:p}function v(b){return b===91||b===92||b===93?(t.consume(b),s++,p):p(b)}}function fte(t,e,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,l=0,c;return h;function h(E){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(E),t.exit("gfmFootnoteDefinitionLabelMarker"),p}function p(E){return E===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(E),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",v):n(E)}function v(E){if(l>999||E===93&&!c||E===null||E===91||Sr(E))return n(E);if(E===93){t.exit("chunkString");const R=t.exit("gfmFootnoteDefinitionLabelString");return s=Ns(r.sliceSerialize(R)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(E),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),k}return Sr(E)||(c=!0),l++,t.consume(E),E===92?b:v}function b(E){return E===91||E===92||E===93?(t.consume(E),l++,v):v(E)}function k(E){return E===58?(t.enter("definitionMarker"),t.consume(E),t.exit("definitionMarker"),a.includes(s)||a.push(s),Vn(t,T,"gfmFootnoteDefinitionWhitespace")):n(E)}function T(E){return e(E)}}function hte(t,e,n){return t.check(wv,e,t.attempt(ste,e,n))}function pte(t){t.exit("gfmFootnoteDefinition")}function mte(t,e,n){const r=this;return Vn(t,a,"gfmFootnoteDefinitionIndent",5);function a(s){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?e(s):n(s)}}function gte(t){let n=(t||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(l,c){let h=-1;for(;++h<l.length;)if(l[h][0]==="enter"&&l[h][1].type==="strikethroughSequenceTemporary"&&l[h][1]._close){let p=h;for(;p--;)if(l[p][0]==="exit"&&l[p][1].type==="strikethroughSequenceTemporary"&&l[p][1]._open&&l[h][1].end.offset-l[h][1].start.offset===l[p][1].end.offset-l[p][1].start.offset){l[h][1].type="strikethroughSequence",l[p][1].type="strikethroughSequence";const v={type:"strikethrough",start:Object.assign({},l[p][1].start),end:Object.assign({},l[h][1].end)},b={type:"strikethroughText",start:Object.assign({},l[p][1].end),end:Object.assign({},l[h][1].start)},k=[["enter",v,c],["enter",l[p][1],c],["exit",l[p][1],c],["enter",b,c]],T=c.parser.constructs.insideSpan.null;T&&Mo(k,k.length,0,pS(T,l.slice(p+1,h),c)),Mo(k,k.length,0,[["exit",b,c],["enter",l[h][1],c],["exit",l[h][1],c],["exit",v,c]]),Mo(l,p-1,h-p+3,k),h=p+k.length-2;break}}for(h=-1;++h<l.length;)l[h][1].type==="strikethroughSequenceTemporary"&&(l[h][1].type="data");return l}function s(l,c,h){const p=this.previous,v=this.events;let b=0;return k;function k(E){return p===126&&v[v.length-1][1].type!=="characterEscape"?h(E):(l.enter("strikethroughSequenceTemporary"),T(E))}function T(E){const R=Cp(p);if(E===126)return b>1?h(E):(l.consume(E),b++,T);if(b<2&&!n)return h(E);const M=l.exit("strikethroughSequenceTemporary"),A=Cp(E);return M._open=!A||A===2&&!!R,M._close=!R||R===2&&!!A,c(E)}}}class vte{constructor(){this.map=[]}add(e,n,r){yte(this,e,n,r)}consume(e){if(this.map.sort(function(s,l){return s[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];r.push([...e]),e.length=0;let a=r.pop();for(;a;)e.push(...a),a=r.pop();this.map.length=0}}function yte(t,e,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<t.map.length;){if(t.map[a][0]===e){t.map[a][1]+=n,t.map[a][2].push(...r);return}a+=1}t.map.push([e,n,r])}}function bte(t,e){let n=!1;const r=[];for(;e<t.length;){const a=t[e];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);e+=1}return r}function Ste(){return{flow:{null:{name:"table",tokenize:Cte,resolveAll:kte}}}}function Cte(t,e,n){const r=this;let a=0,s=0,l;return c;function c($){let oe=r.events.length-1;for(;oe>-1;){const ke=r.events[oe][1].type;if(ke==="lineEnding"||ke==="linePrefix")oe--;else break}const te=oe>-1?r.events[oe][1].type:null,xe=te==="tableHead"||te==="tableRow"?N:h;return xe===N&&r.parser.lazy[r.now().line]?n($):xe($)}function h($){return t.enter("tableHead"),t.enter("tableRow"),p($)}function p($){return $===124||(l=!0,s+=1),v($)}function v($){return $===null?n($):Bt($)?s>1?(s=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume($),t.exit("lineEnding"),T):n($):Rn($)?Vn(t,v,"whitespace")($):(s+=1,l&&(l=!1,a+=1),$===124?(t.enter("tableCellDivider"),t.consume($),t.exit("tableCellDivider"),l=!0,v):(t.enter("data"),b($)))}function b($){return $===null||$===124||Sr($)?(t.exit("data"),v($)):(t.consume($),$===92?k:b)}function k($){return $===92||$===124?(t.consume($),b):b($)}function T($){return r.interrupt=!1,r.parser.lazy[r.now().line]?n($):(t.enter("tableDelimiterRow"),l=!1,Rn($)?Vn(t,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):E($))}function E($){return $===45||$===58?M($):$===124?(l=!0,t.enter("tableCellDivider"),t.consume($),t.exit("tableCellDivider"),R):I($)}function R($){return Rn($)?Vn(t,M,"whitespace")($):M($)}function M($){return $===58?(s+=1,l=!0,t.enter("tableDelimiterMarker"),t.consume($),t.exit("tableDelimiterMarker"),A):$===45?(s+=1,A($)):$===null||Bt($)?j($):I($)}function A($){return $===45?(t.enter("tableDelimiterFiller"),U($)):I($)}function U($){return $===45?(t.consume($),U):$===58?(l=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume($),t.exit("tableDelimiterMarker"),V):(t.exit("tableDelimiterFiller"),V($))}function V($){return Rn($)?Vn(t,j,"whitespace")($):j($)}function j($){return $===124?E($):$===null||Bt($)?!l||a!==s?I($):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e($)):I($)}function I($){return n($)}function N($){return t.enter("tableRow"),ne($)}function ne($){return $===124?(t.enter("tableCellDivider"),t.consume($),t.exit("tableCellDivider"),ne):$===null||Bt($)?(t.exit("tableRow"),e($)):Rn($)?Vn(t,ne,"whitespace")($):(t.enter("data"),X($))}function X($){return $===null||$===124||Sr($)?(t.exit("data"),ne($)):(t.consume($),$===92?se:X)}function se($){return $===92||$===124?(t.consume($),X):X($)}}function kte(t,e){let n=-1,r=!0,a=0,s=[0,0,0,0],l=[0,0,0,0],c=!1,h=0,p,v,b;const k=new vte;for(;++n<t.length;){const T=t[n],E=T[1];T[0]==="enter"?E.type==="tableHead"?(c=!1,h!==0&&(rU(k,e,h,p,v),v=void 0,h=0),p={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},k.add(n,0,[["enter",p,e]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,b=void 0,s=[0,0,0,0],l=[0,n+1,0,0],c&&(c=!1,v={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},k.add(n,0,[["enter",v,e]])),a=E.type==="tableDelimiterRow"?2:v?3:1):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(s[1]!==0&&(l[0]=l[1],b=ES(k,e,s,a,void 0,b),s=[0,0,0,0]),l[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(l[0]=l[1],b=ES(k,e,s,a,void 0,b)),s=l,l=[s[1],n,0,0])):E.type==="tableHead"?(c=!0,h=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(h=n,s[1]!==0?(l[0]=l[1],b=ES(k,e,s,a,n,b)):l[1]!==0&&(b=ES(k,e,l,a,n,b)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(l[3]=n)}for(h!==0&&rU(k,e,h,p,v),k.consume(e.events),n=-1;++n<e.events.length;){const T=e.events[n];T[0]==="enter"&&T[1].type==="table"&&(T[1]._align=bte(e.events,n))}return t}function ES(t,e,n,r,a,s){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(s.end=Object.assign({},Tp(e.events,n[0])),t.add(n[0],0,[["exit",s,e]]));const h=Tp(e.events,n[1]);if(s={type:l,start:Object.assign({},h),end:Object.assign({},h)},t.add(n[1],0,[["enter",s,e]]),n[2]!==0){const p=Tp(e.events,n[2]),v=Tp(e.events,n[3]),b={type:c,start:Object.assign({},p),end:Object.assign({},v)};if(t.add(n[2],0,[["enter",b,e]]),r!==2){const k=e.events[n[2]],T=e.events[n[3]];if(k[1].end=Object.assign({},T[1].end),k[1].type="chunkText",k[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,R=n[3]-n[2]-1;t.add(E,R,[])}}t.add(n[3]+1,0,[["exit",b,e]])}return a!==void 0&&(s.end=Object.assign({},Tp(e.events,a)),t.add(a,0,[["exit",s,e]]),s=void 0),s}function rU(t,e,n,r,a){const s=[],l=Tp(e.events,n);a&&(a.end=Object.assign({},l),s.push(["exit",a,e])),r.end=Object.assign({},l),s.push(["exit",r,e]),t.add(n+1,0,s)}function Tp(t,e){const n=t[e],r=n[0]==="enter"?"start":"end";return n[1][r]}const Tte={name:"tasklistCheck",tokenize:wte};function xte(){return{text:{91:Tte}}}function wte(t,e,n){const r=this;return a;function a(h){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(h):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(h),t.exit("taskListCheckMarker"),s)}function s(h){return Sr(h)?(t.enter("taskListCheckValueUnchecked"),t.consume(h),t.exit("taskListCheckValueUnchecked"),l):h===88||h===120?(t.enter("taskListCheckValueChecked"),t.consume(h),t.exit("taskListCheckValueChecked"),l):n(h)}function l(h){return h===93?(t.enter("taskListCheckMarker"),t.consume(h),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),c):n(h)}function c(h){return Bt(h)?e(h):Rn(h)?t.check({tokenize:_te},e,n)(h):n(h)}}function _te(t,e,n){return Vn(t,r,"whitespace");function r(a){return a===null?n(a):e(a)}}function Ete(t){return M4([Xee(),lte(),gte(t),Ste(),xte()])}const Rte={};function Pte(t){const e=this,n=t||Rte,r=e.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(Ete(n)),s.push(Yee()),l.push(Kee(n))}const Dte=({itemIndex:t,message:e})=>{const n=Zo(),r=HW(e.name),a=r?n.textColor:n.primaryTextColor;return W.jsx("div",{className:xr("ringg_ai-flex ringg_ai-flex-col ringg_ai-items-start ringg_ai-gap-1 ringg_ai-justify-start",r?"ringg_ai-flex-row":"ringg_ai-flex-row-reverse"),children:W.jsx("div",{className:xr("ringg_ai-flex ringg_ai-items-center ringg_ai-justify-start ringg_ai-gap-2 ringg_ai-px-4 ringg_ai-py-2 ringg_ai-rounded-xl ringg_ai-max-w-[90%]",r?"ringg_ai-mr-auto ringg_ai-text-left ringg_ai-rounded-bl-none":"ringg_ai-ml-auto ringg_ai-text-right ringg_ai-rounded-br-none"),style:{backgroundColor:r?n.surfaceColor:n.primaryColor,color:a},children:W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2.5 ringg_ai-w-full ringg_ai-overflow-x-auto",children:[W.jsx("div",{className:"ringg_ai-prose ringg_ai-prose-sm ringg_ai-max-w-none [&_p]:ringg_ai-text-sm [&_li]:ringg_ai-text-sm [&_table]:ringg_ai-w-max",style:{"--tw-prose-body":a,"--tw-prose-headings":a,"--tw-prose-bold":a,"--tw-prose-counters":a,"--tw-prose-bullets":a,"--tw-prose-quotes":a,"--tw-prose-code":a,"--tw-prose-th-borders":n.borderColor,"--tw-prose-td-borders":n.borderColor,color:a},children:W.jsx(mJ,{remarkPlugins:[Pte],children:e.message})}),(e==null?void 0:e.sourceUrl)&&W.jsxs("a",{href:e.sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"ringg_ai-text-sm ringg_ai-break-all ringg_ai-w-fit ringg_ai-hover:underline",style:{color:r?n.primaryColor:n.primaryTextColor},children:["Source: ",e.sourceUrl]})]})},`${e.name}__${t}`)},`${e.timestamp}__${t}`)};function Ate({tabs:t=[],activeTab:e="voice-call",onTabChange:n}){const r=Zo(),[a,s]=G.useState(e),l=c=>{s(c),n==null||n(c)};return W.jsx("div",{className:"ringg_ai-w-full ringg_ai-border-t",style:{backgroundColor:r.backgroundColor,borderColor:r.borderColor},children:W.jsx("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-px-0",children:t.map(c=>{const h=c.icon,p=a===c.id,v=p?r.primaryColor:r.mutedTextColor;return W.jsxs("button",{onClick:()=>l(c.id),className:xr("ringg_ai-flex ringg_ai-flex-col ringg_ai-items-center ringg_ai-gap-1 ringg_ai-border-t-2 ringg_ai-py-3 ringg_ai-transition-all ringg_ai-duration-200 ringg_ai-flex-1"),style:{borderTopColor:p?r.primaryColor:"transparent"},children:[W.jsx(h,{className:"ringg_ai-w-5 ringg_ai-h-5 ringg_ai-transition-colors",fill:v,style:{color:v}}),W.jsx("span",{className:"ringg_ai-text-xs ringg_ai-font-medium ringg_ai-transition-colors",style:{color:v},children:c.label})]},c.id)})})})}const Ote=G3("ringg_ai-inline-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2 ringg_ai-whitespace-nowrap ringg_ai-rounded-md ringg_ai-text-sm ringg_ai-font-medium ringg_ai-ring-offset-background ringg_ai-transition-colors focus-visible:ringg_ai-outline-none focus-visible:ringg_ai-ring-2 focus-visible:ringg_ai-ring-ring focus-visible:ringg_ai-ring-offset-2 disabled:ringg_ai-pointer-events-none disabled:ringg_ai-opacity-50 [&_svg]:ringg_ai-pointer-events-none [&_svg]:ringg_ai-size-4 [&_svg]:ringg_ai-shrink-0",{variants:{variant:{default:"ringg_ai-bg-primary ringg_ai-text-primary-foreground ringg_ai-shadow hover:ringg_ai-bg-primary/90",destructive:"ringg_ai-bg-destructive ringg_ai-text-destructive-foreground ringg_ai-shadow-sm hover:ringg_ai-bg-destructive/90",outline:"ringg_ai-border ringg_ai-border-input ringg_ai-bg-background ringg_ai-shadow-sm hover:ringg_ai-bg-accent hover:ringg_ai-text-accent-foreground",secondary:"ringg_ai-bg-secondary ringg_ai-text-secondary-foreground ringg_ai-shadow-sm hover:ringg_ai-bg-secondary/80",ghost:"hover:ringg_ai-bg-accent hover:ringg_ai-text-accent-foreground",link:"ringg_ai-text-primary ringg_ai-underline-offset-4 hover:ringg_ai-underline"},size:{default:"ringg_ai-h-9 ringg_ai-px-4 ringg_ai-py-2",sm:"ringg_ai-h-8 ringg_ai-rounded-md ringg_ai-px-3 ringg_ai-text-xs",lg:"ringg_ai-h-10 ringg_ai-rounded-md ringg_ai-px-8",icon:"ringg_ai-h-9 ringg_ai-w-9"}},defaultVariants:{variant:"default",size:"default"}}),Av=G.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...a},s)=>{const l=r?uS:"button";return W.jsx(l,{className:xr(Ote({variant:e,size:n,className:t})),ref:s,...a})});Av.displayName="Button";function Bc(t,e){typeof window<"u"&&window.dispatchEvent(new CustomEvent(t,{detail:e}))}function Mte({callMode:t}){const[e,n]=G.useState(!1),[r,a]=G.useState(!1),[s,l]=G.useState(null),c=G.useRef(!1),h=G.useRef(t);h.current=t;const p=G.useCallback(()=>{c.current||(c.current=!0,n(!0),Bc("ringg:widget_status",{status:"maximised",mode:h.current}))},[]),v=G.useCallback(()=>{c.current=!1,n(!1),Bc("ringg:widget_status",{status:"minimised",mode:h.current})},[]),b=G.useCallback(()=>{a(!1),l(null),v()},[v]),k=G.useCallback(()=>{c.current?v():p()},[p,v]);return G.useMemo(()=>({isOpen:e,showFeedback:r,currentCallId:s,setShowFeedback:a,setCurrentCallId:l,open:p,minimize:v,close:b,toggle:k}),[e,r,s,p,v,b,k])}function Lte({room:t,onError:e}){const[n,r]=G.useState("unknown"),a=G.useRef(e);a.current=e;const s=G.useCallback(async()=>{var h;try{if((h=navigator.permissions)!=null&&h.query){const p=await navigator.permissions.query({name:"microphone"});r(p.state),p.onchange=()=>{r(p.state)}}else try{await navigator.mediaDevices.getUserMedia({audio:!0}),r("granted")}catch{r("denied")}}catch(p){console.error("Error checking microphone permission:",p),r("unknown")}},[]),l=G.useCallback(async()=>{var h;try{const p=await navigator.mediaDevices.getUserMedia({audio:!0});return r("granted"),p.getTracks().forEach(v=>v.stop()),!0}catch(p){return console.error("Error requesting microphone permission:",p),r("denied"),(h=a.current)==null||h.call(a,"Microphone access was denied. Please enable it in your browser settings."),!1}},[]);G.useEffect(()=>{s();const h=()=>{var p;(p=a.current)==null||p.call(a,"Error acquiring microphone permission. Please make sure you grant the necessary permissions in your browser and reload the tab"),r("denied")};return t.on(Ee.MediaDevicesError,h),()=>{t.off(Ee.MediaDevicesError,h)}},[t,s]);const c=n==="granted";return G.useMemo(()=>({state:n,isGranted:c,check:s,request:l}),[n,c,s,l])}function Nte({containerRef:t,enabled:e}){G.useEffect(()=>{const n=t.current;if(!n||!e)return;const r=c=>{const h=n.querySelector('[data-scrollable="true"]');if(!h){c.preventDefault();return}const{scrollTop:p,scrollHeight:v,clientHeight:b}=h,k=p===0&&c.deltaY<0,T=p+b>=v-1&&c.deltaY>0;(k||T)&&c.preventDefault()};let a=0;const s=c=>{a=c.touches[0].clientY},l=c=>{const h=n.querySelector('[data-scrollable="true"]'),p=c.touches[0].clientY,v=a-p;if(!h){c.preventDefault();return}const{scrollTop:b,scrollHeight:k,clientHeight:T}=h,E=b===0&&v<0,R=b+T>=k-1&&v>0;(E||R)&&c.preventDefault()};return n.addEventListener("wheel",r,{passive:!1}),n.addEventListener("touchstart",s,{passive:!0}),n.addEventListener("touchmove",l,{passive:!1}),()=>{n.removeEventListener("wheel",r),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",l)}},[e])}const xp={mode:"prod",title:"Ringg AI Support",description:"Ringg AI offers 24/7 voice support to handle your business calls efficiently and professionally",defaultTab:"audio",hideTabSelector:!1,notificationTuneUrl:"https://assets.ringg.ai/audios/misc/widget_notification.mp3"};function E_(t){switch(t){case"dev":return"https://calling-dev.ringg.ai/ca/api/v0";case"stage":return"https://stage-api2.desivocal.com/ca/api/v0";default:return"https://prod-api.ringg.ai/ca/api/v0"}}function Ite(t){switch(t){case"dev":return"wss://ringg-ai-dev-92tubwpz.livekit.cloud";case"stage":return"wss://ringg-ai-ujrjmhgy.livekit.cloud";default:return"wss://ringg-ai-prod-r0vhjzhs.livekit.cloud"}}function Xse(t){return t}const iU={center:{top:0,left:0,right:0,bottom:0,margin:"auto"},"top-left":{top:"2%",left:"2%"},"top-right":{top:"2%",right:"2%"},"bottom-left":{bottom:"2%",left:"2%"},"bottom-right":{bottom:"2%",right:"2%"},"bottom-center":{bottom:"2%",left:"50%"}};function Ute(t){return iU[t]??iU["bottom-right"]}function Fte(t){return t==="bottom-center"?{left:"50%"}:t==="bottom-left"?{left:"2%"}:{right:"2%"}}function RS(t){if(t!==void 0)return typeof t=="number"?`${t}px`:t}function jte(t){return t?{width:RS(t.width),height:RS(t.height),borderRadius:RS(t.borderRadius)}:{}}function Vte(t,e){if(!e)return t;let n=[t];return Object.entries(e).forEach(([r,a])=>{n=n.flatMap((s,l)=>{if(typeof s!="string")return s;const c=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),h=new RegExp(`\\b(${c})\\b`,"g");return s.split(h).map((p,v)=>p===r?W.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:"ringg_ai-text-blue-500 hover:ringg_ai-underline",href:a,children:r},`${l}-${v}`):p)})}),n}const zte=({room:t,config:e})=>{var Hi,Ji,ea,co,es,ts,fo;const[n,r]=G.useState({}),a=e,{mode:s=xp.mode,title:l=xp.title,description:c=xp.description,agentId:h,variables:p,buttons:v,xApiKey:b="",defaultTab:k=xp.defaultTab,hideTabSelector:T=xp.hideTabSelector,innerWindowProps:E,logoUrl:R,logoStyles:M,legalDisclaimer:A,feedbackScreen:U,notificationTuneUrl:V=xp.notificationTuneUrl,widgetPosition:j,theme:I}=a,N=qI(I),ne=mw(N.buttonStyle),X=(j==null?void 0:j.triggerPlacement)??"fixed",se=(j==null?void 0:j.triggerAlignment)??"bottom-right",$=(j==null?void 0:j.hideTriggerOnExpand)??!0,oe=(j==null?void 0:j.widgetAlignment)??"bottom-right",te=Ute(se),xe=jte(E),[ke,Ge]=G.useState(k),[Je,Fe]=G.useState(!1),[ve,Be]=G.useState(!1),[z,J]=G.useState({hasError:!1,message:""}),[Ce,H]=G.useState([]),[Ct,Rt]=G.useState(new Map),ht=G.useRef(null),bt=G.useRef(null),it=G.useRef(null),xt=G.useRef(""),nn=G.useRef(),qn=G.useRef(new Set),_r=G.useRef(null),vr=G.useRef(!1),Xn=G.useRef(new Map),Lr=ex(t),Sn=Lr==="connected",Lt=Mte({callMode:ke}),Z=Lte({room:t,onError:ot=>J({hasError:!0,message:ot})});Nte({containerRef:bt,enabled:Lt.isOpen});const{chatMessages:le}=HM(),me=cB(),je=nB(),Ve=BM(),Me=tx(me.audioTrack||void 0),ut=tx({publication:je.microphoneTrack,source:De.Source.Microphone,participant:je.localParticipant}),Nt=G.useMemo(()=>Ve.find(ot=>{var qe;return(qe=ot.identity)==null?void 0:qe.includes("agent")}),[Ve]),fe=G.useCallback((ot,qe)=>{vr.current=!1,Bc("ringg:conversation_status",{status:"started",mode:ot,callId:qe})},[]),Re=G.useCallback((ot,qe)=>{vr.current||(vr.current=!0,Bc("ringg:conversation_status",{status:"ended",mode:ot,callId:qe}))},[]),vt=G.useCallback(async ot=>{if(!(ot==="audio"&&!Z.isGranted&&!await Z.request())){Fe(!0),Ge(ot);try{const qe=await fetch(`${E_(s)}/calling/webcall`,{method:"POST",body:JSON.stringify({agent_id:h,custom_args_values:p,media_type:ot}),headers:{"Content-Type":"application/json","X-API-KEY":b}}),It=await qe.json();if(!qe.ok)throw new Error((It==null?void 0:It.message)||"Failed to make call");It!=null&&It.call_id&&Lt.setCurrentCallId(It.call_id),await t.connect(Ite(s),It==null?void 0:It.user_token),ot==="audio"&&await t.localParticipant.setMicrophoneEnabled(!0),fe(ot,It.call_id),J({hasError:!1,message:""})}catch(qe){J({hasError:!0,message:qe.message})}finally{Fe(!1)}}},[t,s,h,p,b,Z,Lt,fe]),Ft=G.useCallback(async()=>{Fe(!0);try{Lt.currentCallId&&Re(ke,Lt.currentCallId),H([]),Rt(new Map),qn.current=new Set,xt.current="",nn.current=void 0,t.disconnect(),Be(!1),Lt.setShowFeedback(!0),Lt.open()}catch(ot){J({hasError:!0,message:"Error ending call: "+ot.message})}finally{Fe(!1)}},[t,ke,Lt,Re]),Kt=G.useCallback(async(ot,qe)=>{if(!Lt.currentCallId){Lt.close();return}Fe(!0);try{await fetch(`${E_(s)}/calling/${Lt.currentCallId}/feedback`,{method:"POST",body:JSON.stringify({rating:ot,comment:qe}),headers:{"Content-Type":"application/json","X-API-KEY":b}}),Bc("ringg:feedback_status",{status:"submitted",callId:Lt.currentCallId,rating:ot})}catch(It){console.error("Error submitting feedback:",It)}finally{Fe(!1),Lt.close()}},[s,b,Lt]),ze=G.useCallback(()=>{Lt.currentCallId&&Bc("ringg:feedback_status",{status:"skipped",callId:Lt.currentCallId}),Lt.close()},[Lt]),ct=G.useCallback(ot=>{var It;const qe={name:"Agent",message:"",isSelf:!1,timestamp:Date.now()+Math.random(),componentType:ot.component_type,componentData:ot};H(Jt=>[...Jt,qe]),Bc("ringg:calendar_booking",{status:"shown",componentId:ot.component_id}),(It=it.current)==null||It.play().catch(()=>{}),Lt.open()},[Lt]),At=G.useCallback(ot=>{qn.current.add(ot),Bc("ringg:calendar_booking",{status:"confirmed",componentId:ot,message:"Flow completed"})},[]),un=G.useCallback(async(ot,qe)=>{var Ei;const It=Xn.current.get(ot);if(!It||!Nt)return;const{name:Jt,originalConfig:jt}=It,dn="receive_dynamic_data";let In;if(Jt==="calendar"){const Y=qe.step_data&&qe.step_data.slot_id,Oe=jt,Xe=(Oe==null?void 0:Oe.slots)||[],tt=(Oe==null?void 0:Oe.timezone)||"UTC",en=Xe.find(Gt=>Gt.id===Y);In={id:(en==null?void 0:en.id)||Y,datetime:(en==null?void 0:en.datetime)||((Ei=qe.step_data)==null?void 0:Ei.slot_datetime),timezone:tt}}else if(Jt==="form")In=qe.step_data||qe.all_data;else if(Jt==="buttons"){const Y=qe.step_data&&qe.step_data.selected_button;In=(Array.isArray(jt)?jt:[]).find(tt=>tt.id===Y)||{id:Y}}else In=qe;const er=JSON.stringify({componant_type:`receive_component_${Jt}`,component_id:ot,componant_data:In});try{await je.localParticipant.performRpc({destinationIdentity:Nt.identity,method:dn,payload:er}),Xn.current.delete(ot)}catch(Y){console.error(`[RPC] Error sending ${dn}:`,Y)}},[Nt,je.localParticipant]),_n=G.useMemo(()=>null,[]),cn=G.useCallback(async(ot,qe,It)=>(await fetch(qe.startsWith("http")?qe:`${E_(s)}${qe}`,{method:ot,body:JSON.stringify(It),headers:{"Content-Type":"application/json","X-API-KEY":b}})).json(),[s,b,Sn,_n]),Pn=G.useCallback(async ot=>{try{const qe=JSON.parse(ot.payload);return Array.isArray(qe.source_urls)?xt.current=qe.source_urls.join(", "):qe.source_url&&(xt.current=qe.source_url),JSON.stringify({status:"received"})}catch(qe){throw console.error("Failed to parse RPC payload:",qe),new Error("Invalid payload for send_source_urls")}},[]),Wn=G.useCallback(async ot=>{try{const qe=JSON.parse(ot.payload);return qe.component_type&&qe.component_id&&ct(qe),JSON.stringify({status:"received"})}catch(qe){throw console.error("Failed to parse component payload:",qe),new Error("Invalid component payload")}},[ct]),Jn=G.useCallback((ot,qe)=>{const It=`${ot}_${Date.now()}`,Jt=qe.componant_config||qe.component_config;if(ot==="calendar"){const jt=Jt,dn=(jt==null?void 0:jt.slots)||[],In=(jt==null?void 0:jt.timezone)||"UTC";return{component_type:"calendar_booking",component_id:It,data:{available_slots:dn.map(er=>({id:er.id,datetime:er.datetime})),timezone:In,title:qe.title||"Select a time slot"}}}if(ot==="form"){const jt=Jt;return{component_type:"form",component_id:It,data:{title:(jt==null?void 0:jt.title)||"Form",description:jt==null?void 0:jt.description,fields:(jt==null?void 0:jt.fields)||[],submit_label:(jt==null?void 0:jt.submit_label)||"Submit"}}}return ot==="buttons"?{component_type:"buttons",component_id:It,data:{title:qe.title,buttons:Array.isArray(Jt)?Jt:[]}}:ot==="confirmation"?{component_type:"confirmation",component_id:It,data:{title:qe.title||"Confirmed",message:qe.message||"",icon:qe.icon||"success",details:qe.details}}:qe.component_type&&qe.component_id?qe:null},[]),Gn=G.useCallback(async ot=>{try{const qe=JSON.parse(ot.payload),It=qe.componant_type||qe.component_type;if(!It)return JSON.stringify({status:"error",message:"No componant_type provided"});const Jt=It.replace("render_component_",""),jt=Jn(Jt,qe);return jt?(Xn.current.set(jt.component_id,{name:Jt,originalConfig:qe.componant_config||qe.component_config}),ct(jt),JSON.stringify({status:"received",component_id:jt.component_id})):JSON.stringify({status:"error",message:`Unknown component type: ${Jt}`})}catch(qe){throw console.error("[RPC] Failed to parse send_dynamic_data payload:",qe),new Error("Invalid send_dynamic_data payload")}},[ct,Jn]);G.useEffect(()=>{_r.current=ct},[ct]);const Nn=G.useRef(Lt.open);return Nn.current=Lt.open,G.useEffect(()=>{},[]),G.useEffect(()=>{var Jt,jt;if(!t||ke!=="audio")return;const ot=new Map(Ct);me.audioTrack&&Me.segments.forEach(dn=>{const In=ot.get(dn.id),er=bw(dn,In,me.audioTrack.participant);ot.set(dn.id,er)}),ut.segments.forEach(dn=>{const In=ot.get(dn.id),er=bw(dn,In,je.localParticipant);ot.set(dn.id,er)});const qe=Array.from(ot.values()).sort((dn,In)=>dn.timestamp-In.timestamp),It=xt.current&&((Jt=qe[qe.length-1])==null?void 0:Jt.name.includes("Agent"))&&!((jt=qe[qe.length-1])!=null&&jt.sourceUrl)&&nn.current!==qe.length-1;if(It){nn.current=qe.length,qe[qe.length-1]={...qe[qe.length-1],sourceUrl:xt.current};const dn=qe.filter(er=>!er.isSelf).length-1,In=ot.get(Me.segments[dn].id);ot.set(Me.segments[dn].id,bw(Me.segments[dn],{...In,sourceUrl:xt.current},me.audioTrack.participant))}H(qe),Rt(ot),It||(xt.current="")},[ke,le,Me.segments,ut.segments,me.audioTrack,je.localParticipant]),G.useEffect(()=>{if(!t||ke!=="text")return;const ot=async(It,Jt)=>{var jt,dn;try{const In=await It.readAll(),er=(jt=Jt.identity)==null?void 0:jt.includes("agent");er&&((dn=it.current)==null||dn.play().catch(()=>{}),Lt.open());const Ei={message:In,isSelf:!er,name:er?"Agent":"You",timestamp:Date.now()+performance.now()%1,...er&&xt.current&&{sourceUrl:xt.current}};xt.current&&(xt.current=""),H(Y=>{const Oe=new Set;return[...Y,Ei].filter(Xe=>!Oe.has(Xe.timestamp)&&Oe.add(Xe.timestamp)).sort((Xe,tt)=>Xe.timestamp-tt.timestamp)})}catch(In){console.error("Error reading text stream",In)}},qe=le.map(It=>{var dn,In,er,Ei;const Jt=((dn=It.from)==null?void 0:dn.identity)===je.localParticipant.identity,jt=me.audioTrack?((In=It.from)==null?void 0:In.identity)===((er=me.audioTrack.participant)==null?void 0:er.identity):!Jt;return{name:((Ei=It.from)==null?void 0:Ei.name)||(jt?"Agent":Jt?"You":"Unknown"),isSelf:Jt,message:It.message,timestamp:It.timestamp}});return H(It=>{const Jt=new Set;return[...It,...qe].filter(jt=>!Jt.has(jt.timestamp)&&Jt.add(jt.timestamp)).sort((jt,dn)=>jt.timestamp-dn.timestamp)}),t.registerTextStreamHandler("lk.transcription",ot),()=>{t.unregisterTextStreamHandler("lk.transcription")}},[t,ke,le,Lt,je.localParticipant,me.audioTrack]),G.useEffect(()=>{if(t)return t.registerRpcMethod("send_source_urls",Pn),t.registerRpcMethod("render_component",Wn),t.registerRpcMethod("send_dynamic_data",Gn),()=>{t.unregisterRpcMethod("send_source_urls"),t.unregisterRpcMethod("render_component"),t.unregisterRpcMethod("send_dynamic_data")}},[t,Pn,Wn,Gn]),G.useEffect(()=>{if(t)return t.on(Ee.ParticipantDisconnected,Ft),t.on(Ee.Disconnected,Ft),()=>{t.off(Ee.ParticipantDisconnected,Ft),t.off(Ee.Disconnected,Ft)}},[Ft,t]),G.useEffect(()=>{ht.current&&(ht.current.scrollTop=ht.current.scrollHeight)},[Ce]),G.useEffect(()=>(it.current=new Audio(V),it.current.preload="auto",()=>{it.current&&(it.current.pause(),it.current.src="",it.current=null)}),[V]),W.jsxs(dW,{theme:I,children:[W.jsxs(sx,{children:[(!$||!Lt.isOpen)&&W.jsx(mu.button,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.8,opacity:0},transition:{type:"spring",stiffness:400,damping:25},"aria-label":"Open call widget",onClick:Lt.toggle,style:{position:X,...te,backgroundColor:N.primaryColor,color:N.primaryTextColor,...(Hi=v==null?void 0:v.modalTrigger)==null?void 0:Hi.styles},className:"ringg_ai-h-14 ringg_ai-w-14 !ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-shadow ringg_ai-trigger-btn !ringg_ai-z-[9999] hover:ringg_ai-opacity-90 ringg_ai-transition-opacity",children:W.jsx("img",{src:((ea=(Ji=v==null?void 0:v.modalTrigger)==null?void 0:Ji.icon)==null?void 0:ea.url)??"https://assets.ringg.ai/images/icons/widget-phone.svg",alt:"Widget trigger",style:{width:((es=(co=v==null?void 0:v.modalTrigger)==null?void 0:co.icon)==null?void 0:es.size)??25,height:((fo=(ts=v==null?void 0:v.modalTrigger)==null?void 0:ts.icon)==null?void 0:fo.size)??25}})},"trigger-button"),Lt.isOpen&&W.jsxs(mu.div,{ref:bt,initial:{y:"100%",opacity:0,x:oe==="bottom-center"?"-50%":0},animate:{y:0,opacity:1,x:oe==="bottom-center"?"-50%":0},exit:{y:"100%",opacity:0,x:oe==="bottom-center"?"-50%":0},transition:{type:"spring",stiffness:300,damping:28},className:xr("ringg_ai-relative ringg_ai-border ringg_ai-overflow-hidden ringg_ai-shadow-xl !ringg_ai-z-[9999] ringg_ai-w-[95vw] md:ringg_ai-w-[360px]",Sn&&"ringg_ai-h-[24.5rem]"),style:{position:"fixed",bottom:"2%",...Fte(oe),...Sn?xe:{},maxWidth:"96dvw",maxHeight:"96dvh",backgroundColor:N.backgroundColor,borderColor:N.borderColor,borderRadius:RS(E==null?void 0:E.borderRadius)??N.borderRadius,fontFamily:N.fontFamily,"--widget-primary":N.primaryColor,"--widget-primary-text":N.primaryTextColor,"--widget-bg":N.backgroundColor,"--widget-surface":N.surfaceColor,"--widget-text":N.textColor,"--widget-muted":N.mutedTextColor,"--widget-border":N.borderColor,"--widget-button-radius":ne},children:[Sn&&W.jsx(Av,{size:"icon",variant:"ghost","aria-label":"Minimize widget",onClick:Lt.minimize,className:"ringg_ai-absolute !ringg_ai-z-[9999] ringg_ai-top-2.5 ringg_ai-right-12 !ringg_ai-rounded-full ringg_ai-text-gray-500 hover:ringg_ai-text-gray-700",children:W.jsx(tW,{size:20})}),W.jsx(Av,{size:"icon",variant:"ghost","aria-label":Sn?"End call":"Close widget",onClick:()=>Sn?Be(!0):Lt.showFeedback?ze():Lt.minimize(),className:"ringg_ai-absolute !ringg_ai-z-[9999] ringg_ai-top-2.5 ringg_ai-right-2.5 !ringg_ai-rounded-full ringg_ai-text-gray-500 hover:ringg_ai-text-gray-700",children:W.jsx(aW,{size:20})}),W.jsx(LY,{open:ve,onOpenChange:Be,containerRef:bt,children:W.jsxs(NY,{children:[W.jsxs(IY,{children:[W.jsxs(UY,{children:["Are you sure you want to end ",ke==="text"?"chat":"call","?"]}),W.jsx(FY,{children:"Your current conversation will be closed and cannot be accessed later."})]}),W.jsxs(jY,{children:[W.jsx(Av,{variant:"outline",onClick:()=>Be(!1),style:{borderRadius:ne,borderColor:N.borderColor,backgroundColor:N.surfaceColor,color:N.textColor},children:"Cancel"}),W.jsxs(Av,{onClick:Ft,style:{borderRadius:ne,backgroundColor:N.primaryColor,color:N.primaryTextColor},children:["End ",ke==="text"?"Chat":"Call"]})]})]})}),Lt.showFeedback?W.jsx(zY,{callMode:ke,isSubmitting:Je,feedbackScreenConfig:U,onSubmit:Kt,onSkip:ze}):W.jsxs("div",{className:"ringg_ai-flex ringg_ai-h-full ringg_ai-flex-col",children:[W.jsxs("div",{className:xr("ringg_ai-relative ringg_ai-p-5 ringg_ai-h-full ringg_ai-mb-2 ringg_ai-flex ringg_ai-gap-5 ringg_ai-flex-col",!Sn&&"ringg_ai-mt-2"),children:[W.jsx(BY,{isCalling:Sn,isLoading:Je,title:l,description:c,logoUrl:R,logoStyles:M}),Ce.length===0&&Sn&&W.jsx("div",{className:"ringg_ai-mt-20 ringg_ai-h-full"}),Ce.length>0&&Sn&&W.jsx("div",{"data-scrollable":"true",ref:ht,className:"ringg_ai-mt-20 ringg_ai-h-full ringg_ai-overflow-y-auto ringg_ai-flex ringg_ai-flex-col",children:W.jsx("div",{className:"ringg_ai-mt-auto md:ringg_ai-mt-0 ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2.5",children:Ce.sort((ot,qe)=>ot.timestamp-qe.timestamp).map((ot,qe)=>ot.componentType&&ot.componentData?W.jsx(nK,{initialComponent:ot.componentData,onApiCall:cn,onComplete:()=>At(ot.componentData.component_id),onSendResponse:un},`flow_${ot.componentData.component_id}_${qe}`):W.jsx(Dte,{itemIndex:qe,message:ot},`${ot.timestamp}__${qe}`))})}),W.jsx(MY,{buttonConfig:v,callMode:ke,isCalling:Sn,onCallEnd:Ft}),z.hasError&&W.jsx("div",{className:"ringg_ai-text-center ringg_ai-text-sm ringg_ai-text-red-500 -ringg_ai-mt-3 -ringg_ai-mb-2",children:z.message}),Lr==="disconnected"&&W.jsx($W,{callMode:ke,buttonConfig:v,isCalling:Sn,isLoading:Je,onCallTrigger:vt}),!Sn&&W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-text-center",style:{color:N.mutedTextColor},children:A?Vte(A.text,A.links):W.jsxs(W.Fragment,{children:["By starting call you agree to ",W.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:"hover:ringg_ai-underline",style:{color:N.primaryColor},href:"https://www.ringg.ai/privacy",children:"Privacy policy"})," & ",W.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:"hover:ringg_ai-underline",style:{color:N.primaryColor},href:"https://www.ringg.ai/terms",children:"T&C"})]})})]}),!Sn&&!T&&W.jsx(Ate,{tabs:KG,activeTab:ke,onTabChange:ot=>Ge(ot)})]})]},"chat-widget")]}),W.jsx(pB,{}),!1]})},Bte=({config:t})=>{const[e]=G.useState(()=>new Gh({dynacast:!0,adaptiveStream:!0}));return W.jsx(XT.Provider,{value:e,children:W.jsx(zte,{config:t,room:e})})};{const t="ringg_ai_container";(function(e,n){function r(a){let s=n.getElementById(t);s||(s=n.createElement("div"),s.id=t,n.body.appendChild(s)),yg.createRoot(s).render(W.jsx(ir.StrictMode,{children:W.jsx(Bte,{config:a})}))}e.loadAgent=r})(window,document)}});
|
|
425
|
+
`))}function h(T,E,R,M){const A=R.enter("tableCell"),U=R.enter("phrasing"),V=R.containerPhrasing(T,{...M,before:s,after:s});return U(),A(),V}function p(T,E){return ree(T,{align:E,alignDelimiters:r,padding:n,stringLength:a})}function v(T,E,R){const M=T.children;let A=-1;const U=[],V=E.enter("table");for(;++A<M.length;)U[A]=b(M[A],E,R);return V(),U}function b(T,E,R){const M=T.children;let A=-1;const U=[],V=E.enter("tableRow");for(;++A<M.length;)U[A]=h(M[A],T,E,R);return V(),U}function k(T,E,R){let M=W5.inlineCode(T,E,R);return R.stack.includes("tableCell")&&(M=M.replace(/\|/g,"\\$&")),M}}function $ee(){return{exit:{taskListCheckValueChecked:Y5,taskListCheckValueUnchecked:Y5,paragraph:Wee}}}function qee(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Gee}}}function Y5(t){const e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function Wee(t){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=e.children;let s=-1,l;for(;++s<a.length;){const c=a[s];if(c.type==="paragraph"){l=c;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(t)}function Gee(t,e,n,r){const a=t.children[0],s=typeof t.checked=="boolean"&&a&&a.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",c=n.createTracker(r);s&&c.move(l);let h=W5.listItem(t,e,n,{...r,...c.current()});return s&&(h=h.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,p)),h;function p(v){return v+l}}function Yee(){return[wJ(),UJ(),QJ(),Uee(),$ee()]}function Kee(t){return{extensions:[_J(),FJ(),XJ(),Hee(t),qee()]}}const Zee={tokenize:nte,partial:!0},K5={tokenize:rte,partial:!0},Z5={tokenize:ite,partial:!0},Q5={tokenize:ate,partial:!0},Qee={tokenize:ote,partial:!0},X5={name:"wwwAutolink",tokenize:ete,previous:eU},J5={name:"protocolAutolink",tokenize:tte,previous:tU},Cu={name:"emailAutolink",tokenize:Jee,previous:nU},kl={};function Xee(){return{text:kl}}let mf=48;for(;mf<123;)kl[mf]=Cu,mf++,mf===58?mf=65:mf===91&&(mf=97);kl[43]=Cu,kl[45]=Cu,kl[46]=Cu,kl[95]=Cu,kl[72]=[Cu,J5],kl[104]=[Cu,J5],kl[87]=[Cu,X5],kl[119]=[Cu,X5];function Jee(t,e,n){const r=this;let a,s;return l;function l(b){return!w_(b)||!nU.call(r,r.previous)||__(r.events)?n(b):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),c(b))}function c(b){return w_(b)?(t.consume(b),c):b===64?(t.consume(b),h):n(b)}function h(b){return b===46?t.check(Qee,v,p)(b):b===45||b===95||Sa(b)?(s=!0,t.consume(b),h):v(b)}function p(b){return t.consume(b),a=!0,h}function v(b){return s&&a&&za(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(b)):n(b)}}function ete(t,e,n){const r=this;return a;function a(l){return l!==87&&l!==119||!eU.call(r,r.previous)||__(r.events)?n(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Zee,t.attempt(K5,t.attempt(Z5,s),n),n)(l))}function s(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(l)}}function tte(t,e,n){const r=this;let a="",s=!1;return l;function l(b){return(b===72||b===104)&&tU.call(r,r.previous)&&!__(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),a+=String.fromCodePoint(b),t.consume(b),c):n(b)}function c(b){if(za(b)&&a.length<5)return a+=String.fromCodePoint(b),t.consume(b),c;if(b===58){const k=a.toLowerCase();if(k==="http"||k==="https")return t.consume(b),h}return n(b)}function h(b){return b===47?(t.consume(b),s?p:(s=!0,h)):n(b)}function p(b){return b===null||fS(b)||Sr(b)||pf(b)||hS(b)?n(b):t.attempt(K5,t.attempt(Z5,v),n)(b)}function v(b){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(b)}}function nte(t,e,n){let r=0;return a;function a(l){return(l===87||l===119)&&r<3?(r++,t.consume(l),a):l===46&&r===3?(t.consume(l),s):n(l)}function s(l){return l===null?n(l):e(l)}}function rte(t,e,n){let r,a,s;return l;function l(p){return p===46||p===95?t.check(Q5,h,c)(p):p===null||Sr(p)||pf(p)||p!==45&&hS(p)?h(p):(s=!0,t.consume(p),l)}function c(p){return p===95?r=!0:(a=r,r=void 0),t.consume(p),l}function h(p){return a||r||!s?n(p):e(p)}}function ite(t,e){let n=0,r=0;return a;function a(l){return l===40?(n++,t.consume(l),a):l===41&&r<n?s(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?t.check(Q5,e,s)(l):l===null||Sr(l)||pf(l)?e(l):(t.consume(l),a)}function s(l){return l===41&&r++,t.consume(l),a}}function ate(t,e,n){return r;function r(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(t.consume(c),r):c===38?(t.consume(c),s):c===93?(t.consume(c),a):c===60||c===null||Sr(c)||pf(c)?e(c):n(c)}function a(c){return c===null||c===40||c===91||Sr(c)||pf(c)?e(c):r(c)}function s(c){return za(c)?l(c):n(c)}function l(c){return c===59?(t.consume(c),r):za(c)?(t.consume(c),l):n(c)}}function ote(t,e,n){return r;function r(s){return t.consume(s),a}function a(s){return Sa(s)?n(s):e(s)}}function eU(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Sr(t)}function tU(t){return!za(t)}function nU(t){return!(t===47||w_(t))}function w_(t){return t===43||t===45||t===46||t===95||Sa(t)}function __(t){let e=t.length,n=!1;for(;e--;){const r=t[e][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const ste={tokenize:mte,partial:!0};function lte(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:fte,continuation:{tokenize:hte},exit:pte}},text:{91:{name:"gfmFootnoteCall",tokenize:dte},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ute,resolveTo:cte}}}}function ute(t,e,n){const r=this;let a=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;a--;){const h=r.events[a][1];if(h.type==="labelImage"){l=h;break}if(h.type==="gfmFootnoteCall"||h.type==="labelLink"||h.type==="label"||h.type==="image"||h.type==="link")break}return c;function c(h){if(!l||!l._balanced)return n(h);const p=Ns(r.sliceSerialize({start:l.end,end:r.now()}));return p.codePointAt(0)!==94||!s.includes(p.slice(1))?n(h):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(h),t.exit("gfmFootnoteCallLabelMarker"),e(h))}}function cte(t,e){let n=t.length;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},t[t.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[t[n+1],t[n+2],["enter",r,e],t[n+3],t[n+4],["enter",a,e],["exit",a,e],["enter",s,e],["enter",l,e],["exit",l,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",r,e]];return t.splice(n,t.length-n+1,...c),t}function dte(t,e,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,l;return c;function c(b){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(b),t.exit("gfmFootnoteCallLabelMarker"),h}function h(b){return b!==94?n(b):(t.enter("gfmFootnoteCallMarker"),t.consume(b),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",p)}function p(b){if(s>999||b===93&&!l||b===null||b===91||Sr(b))return n(b);if(b===93){t.exit("chunkString");const k=t.exit("gfmFootnoteCallString");return a.includes(Ns(r.sliceSerialize(k)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(b),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(b)}return Sr(b)||(l=!0),s++,t.consume(b),b===92?v:p}function v(b){return b===91||b===92||b===93?(t.consume(b),s++,p):p(b)}}function fte(t,e,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,l=0,c;return h;function h(E){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(E),t.exit("gfmFootnoteDefinitionLabelMarker"),p}function p(E){return E===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(E),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",v):n(E)}function v(E){if(l>999||E===93&&!c||E===null||E===91||Sr(E))return n(E);if(E===93){t.exit("chunkString");const R=t.exit("gfmFootnoteDefinitionLabelString");return s=Ns(r.sliceSerialize(R)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(E),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),k}return Sr(E)||(c=!0),l++,t.consume(E),E===92?b:v}function b(E){return E===91||E===92||E===93?(t.consume(E),l++,v):v(E)}function k(E){return E===58?(t.enter("definitionMarker"),t.consume(E),t.exit("definitionMarker"),a.includes(s)||a.push(s),Vn(t,T,"gfmFootnoteDefinitionWhitespace")):n(E)}function T(E){return e(E)}}function hte(t,e,n){return t.check(wv,e,t.attempt(ste,e,n))}function pte(t){t.exit("gfmFootnoteDefinition")}function mte(t,e,n){const r=this;return Vn(t,a,"gfmFootnoteDefinitionIndent",5);function a(s){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?e(s):n(s)}}function gte(t){let n=(t||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(l,c){let h=-1;for(;++h<l.length;)if(l[h][0]==="enter"&&l[h][1].type==="strikethroughSequenceTemporary"&&l[h][1]._close){let p=h;for(;p--;)if(l[p][0]==="exit"&&l[p][1].type==="strikethroughSequenceTemporary"&&l[p][1]._open&&l[h][1].end.offset-l[h][1].start.offset===l[p][1].end.offset-l[p][1].start.offset){l[h][1].type="strikethroughSequence",l[p][1].type="strikethroughSequence";const v={type:"strikethrough",start:Object.assign({},l[p][1].start),end:Object.assign({},l[h][1].end)},b={type:"strikethroughText",start:Object.assign({},l[p][1].end),end:Object.assign({},l[h][1].start)},k=[["enter",v,c],["enter",l[p][1],c],["exit",l[p][1],c],["enter",b,c]],T=c.parser.constructs.insideSpan.null;T&&Mo(k,k.length,0,pS(T,l.slice(p+1,h),c)),Mo(k,k.length,0,[["exit",b,c],["enter",l[h][1],c],["exit",l[h][1],c],["exit",v,c]]),Mo(l,p-1,h-p+3,k),h=p+k.length-2;break}}for(h=-1;++h<l.length;)l[h][1].type==="strikethroughSequenceTemporary"&&(l[h][1].type="data");return l}function s(l,c,h){const p=this.previous,v=this.events;let b=0;return k;function k(E){return p===126&&v[v.length-1][1].type!=="characterEscape"?h(E):(l.enter("strikethroughSequenceTemporary"),T(E))}function T(E){const R=Cp(p);if(E===126)return b>1?h(E):(l.consume(E),b++,T);if(b<2&&!n)return h(E);const M=l.exit("strikethroughSequenceTemporary"),A=Cp(E);return M._open=!A||A===2&&!!R,M._close=!R||R===2&&!!A,c(E)}}}class vte{constructor(){this.map=[]}add(e,n,r){yte(this,e,n,r)}consume(e){if(this.map.sort(function(s,l){return s[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];r.push([...e]),e.length=0;let a=r.pop();for(;a;)e.push(...a),a=r.pop();this.map.length=0}}function yte(t,e,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<t.map.length;){if(t.map[a][0]===e){t.map[a][1]+=n,t.map[a][2].push(...r);return}a+=1}t.map.push([e,n,r])}}function bte(t,e){let n=!1;const r=[];for(;e<t.length;){const a=t[e];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);e+=1}return r}function Ste(){return{flow:{null:{name:"table",tokenize:Cte,resolveAll:kte}}}}function Cte(t,e,n){const r=this;let a=0,s=0,l;return c;function c($){let oe=r.events.length-1;for(;oe>-1;){const ke=r.events[oe][1].type;if(ke==="lineEnding"||ke==="linePrefix")oe--;else break}const te=oe>-1?r.events[oe][1].type:null,xe=te==="tableHead"||te==="tableRow"?N:h;return xe===N&&r.parser.lazy[r.now().line]?n($):xe($)}function h($){return t.enter("tableHead"),t.enter("tableRow"),p($)}function p($){return $===124||(l=!0,s+=1),v($)}function v($){return $===null?n($):Bt($)?s>1?(s=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume($),t.exit("lineEnding"),T):n($):Rn($)?Vn(t,v,"whitespace")($):(s+=1,l&&(l=!1,a+=1),$===124?(t.enter("tableCellDivider"),t.consume($),t.exit("tableCellDivider"),l=!0,v):(t.enter("data"),b($)))}function b($){return $===null||$===124||Sr($)?(t.exit("data"),v($)):(t.consume($),$===92?k:b)}function k($){return $===92||$===124?(t.consume($),b):b($)}function T($){return r.interrupt=!1,r.parser.lazy[r.now().line]?n($):(t.enter("tableDelimiterRow"),l=!1,Rn($)?Vn(t,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):E($))}function E($){return $===45||$===58?M($):$===124?(l=!0,t.enter("tableCellDivider"),t.consume($),t.exit("tableCellDivider"),R):I($)}function R($){return Rn($)?Vn(t,M,"whitespace")($):M($)}function M($){return $===58?(s+=1,l=!0,t.enter("tableDelimiterMarker"),t.consume($),t.exit("tableDelimiterMarker"),A):$===45?(s+=1,A($)):$===null||Bt($)?j($):I($)}function A($){return $===45?(t.enter("tableDelimiterFiller"),U($)):I($)}function U($){return $===45?(t.consume($),U):$===58?(l=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume($),t.exit("tableDelimiterMarker"),V):(t.exit("tableDelimiterFiller"),V($))}function V($){return Rn($)?Vn(t,j,"whitespace")($):j($)}function j($){return $===124?E($):$===null||Bt($)?!l||a!==s?I($):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e($)):I($)}function I($){return n($)}function N($){return t.enter("tableRow"),ne($)}function ne($){return $===124?(t.enter("tableCellDivider"),t.consume($),t.exit("tableCellDivider"),ne):$===null||Bt($)?(t.exit("tableRow"),e($)):Rn($)?Vn(t,ne,"whitespace")($):(t.enter("data"),X($))}function X($){return $===null||$===124||Sr($)?(t.exit("data"),ne($)):(t.consume($),$===92?se:X)}function se($){return $===92||$===124?(t.consume($),X):X($)}}function kte(t,e){let n=-1,r=!0,a=0,s=[0,0,0,0],l=[0,0,0,0],c=!1,h=0,p,v,b;const k=new vte;for(;++n<t.length;){const T=t[n],E=T[1];T[0]==="enter"?E.type==="tableHead"?(c=!1,h!==0&&(rU(k,e,h,p,v),v=void 0,h=0),p={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},k.add(n,0,[["enter",p,e]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,b=void 0,s=[0,0,0,0],l=[0,n+1,0,0],c&&(c=!1,v={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},k.add(n,0,[["enter",v,e]])),a=E.type==="tableDelimiterRow"?2:v?3:1):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(s[1]!==0&&(l[0]=l[1],b=ES(k,e,s,a,void 0,b),s=[0,0,0,0]),l[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(l[0]=l[1],b=ES(k,e,s,a,void 0,b)),s=l,l=[s[1],n,0,0])):E.type==="tableHead"?(c=!0,h=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(h=n,s[1]!==0?(l[0]=l[1],b=ES(k,e,s,a,n,b)):l[1]!==0&&(b=ES(k,e,l,a,n,b)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(l[3]=n)}for(h!==0&&rU(k,e,h,p,v),k.consume(e.events),n=-1;++n<e.events.length;){const T=e.events[n];T[0]==="enter"&&T[1].type==="table"&&(T[1]._align=bte(e.events,n))}return t}function ES(t,e,n,r,a,s){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(s.end=Object.assign({},Tp(e.events,n[0])),t.add(n[0],0,[["exit",s,e]]));const h=Tp(e.events,n[1]);if(s={type:l,start:Object.assign({},h),end:Object.assign({},h)},t.add(n[1],0,[["enter",s,e]]),n[2]!==0){const p=Tp(e.events,n[2]),v=Tp(e.events,n[3]),b={type:c,start:Object.assign({},p),end:Object.assign({},v)};if(t.add(n[2],0,[["enter",b,e]]),r!==2){const k=e.events[n[2]],T=e.events[n[3]];if(k[1].end=Object.assign({},T[1].end),k[1].type="chunkText",k[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,R=n[3]-n[2]-1;t.add(E,R,[])}}t.add(n[3]+1,0,[["exit",b,e]])}return a!==void 0&&(s.end=Object.assign({},Tp(e.events,a)),t.add(a,0,[["exit",s,e]]),s=void 0),s}function rU(t,e,n,r,a){const s=[],l=Tp(e.events,n);a&&(a.end=Object.assign({},l),s.push(["exit",a,e])),r.end=Object.assign({},l),s.push(["exit",r,e]),t.add(n+1,0,s)}function Tp(t,e){const n=t[e],r=n[0]==="enter"?"start":"end";return n[1][r]}const Tte={name:"tasklistCheck",tokenize:wte};function xte(){return{text:{91:Tte}}}function wte(t,e,n){const r=this;return a;function a(h){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(h):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(h),t.exit("taskListCheckMarker"),s)}function s(h){return Sr(h)?(t.enter("taskListCheckValueUnchecked"),t.consume(h),t.exit("taskListCheckValueUnchecked"),l):h===88||h===120?(t.enter("taskListCheckValueChecked"),t.consume(h),t.exit("taskListCheckValueChecked"),l):n(h)}function l(h){return h===93?(t.enter("taskListCheckMarker"),t.consume(h),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),c):n(h)}function c(h){return Bt(h)?e(h):Rn(h)?t.check({tokenize:_te},e,n)(h):n(h)}}function _te(t,e,n){return Vn(t,r,"whitespace");function r(a){return a===null?n(a):e(a)}}function Ete(t){return M4([Xee(),lte(),gte(t),Ste(),xte()])}const Rte={};function Pte(t){const e=this,n=t||Rte,r=e.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(Ete(n)),s.push(Yee()),l.push(Kee(n))}const Dte=({itemIndex:t,message:e})=>{const n=Zo(),r=HW(e.name),a=r?n.textColor:n.primaryTextColor;return W.jsx("div",{className:xr("ringg_ai-flex ringg_ai-flex-col ringg_ai-items-start ringg_ai-gap-1 ringg_ai-justify-start",r?"ringg_ai-flex-row":"ringg_ai-flex-row-reverse"),children:W.jsx("div",{className:xr("ringg_ai-flex ringg_ai-items-center ringg_ai-justify-start ringg_ai-gap-2 ringg_ai-px-4 ringg_ai-py-2 ringg_ai-rounded-xl ringg_ai-max-w-[90%]",r?"ringg_ai-mr-auto ringg_ai-text-left ringg_ai-rounded-bl-none":"ringg_ai-ml-auto ringg_ai-text-right ringg_ai-rounded-br-none"),style:{backgroundColor:r?n.surfaceColor:n.primaryColor,color:a},children:W.jsxs("div",{className:"ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2.5 ringg_ai-w-full ringg_ai-overflow-x-auto",children:[W.jsx("div",{className:"ringg_ai-prose ringg_ai-prose-sm ringg_ai-max-w-none [&_p]:ringg_ai-text-sm [&_li]:ringg_ai-text-sm [&_table]:ringg_ai-w-max",style:{"--tw-prose-body":a,"--tw-prose-headings":a,"--tw-prose-bold":a,"--tw-prose-counters":a,"--tw-prose-bullets":a,"--tw-prose-quotes":a,"--tw-prose-code":a,"--tw-prose-th-borders":n.borderColor,"--tw-prose-td-borders":n.borderColor,color:a},children:W.jsx(mJ,{remarkPlugins:[Pte],children:e.message})}),(e==null?void 0:e.sourceUrl)&&W.jsxs("a",{href:e.sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"ringg_ai-text-sm ringg_ai-break-all ringg_ai-w-fit ringg_ai-hover:underline",style:{color:r?n.primaryColor:n.primaryTextColor},children:["Source: ",e.sourceUrl]})]})},`${e.name}__${t}`)},`${e.timestamp}__${t}`)};function Ate({tabs:t=[],activeTab:e="voice-call",onTabChange:n}){const r=Zo(),[a,s]=G.useState(e),l=c=>{s(c),n==null||n(c)};return W.jsx("div",{className:"ringg_ai-w-full ringg_ai-border-t",style:{backgroundColor:r.backgroundColor,borderColor:r.borderColor},children:W.jsx("div",{className:"ringg_ai-flex ringg_ai-items-center ringg_ai-px-0",children:t.map(c=>{const h=c.icon,p=a===c.id,v=p?r.primaryColor:r.mutedTextColor;return W.jsxs("button",{onClick:()=>l(c.id),className:xr("ringg_ai-flex ringg_ai-flex-col ringg_ai-items-center ringg_ai-gap-1 ringg_ai-border-t-2 ringg_ai-py-3 ringg_ai-transition-all ringg_ai-duration-200 ringg_ai-flex-1"),style:{borderTopColor:p?r.primaryColor:"transparent"},children:[W.jsx(h,{className:"ringg_ai-w-5 ringg_ai-h-5 ringg_ai-transition-colors",fill:v,style:{color:v}}),W.jsx("span",{className:"ringg_ai-text-xs ringg_ai-font-medium ringg_ai-transition-colors",style:{color:v},children:c.label})]},c.id)})})})}const Ote=G3("ringg_ai-inline-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2 ringg_ai-whitespace-nowrap ringg_ai-rounded-md ringg_ai-text-sm ringg_ai-font-medium ringg_ai-ring-offset-background ringg_ai-transition-colors focus-visible:ringg_ai-outline-none focus-visible:ringg_ai-ring-2 focus-visible:ringg_ai-ring-ring focus-visible:ringg_ai-ring-offset-2 disabled:ringg_ai-pointer-events-none disabled:ringg_ai-opacity-50 [&_svg]:ringg_ai-pointer-events-none [&_svg]:ringg_ai-size-4 [&_svg]:ringg_ai-shrink-0",{variants:{variant:{default:"ringg_ai-bg-primary ringg_ai-text-primary-foreground ringg_ai-shadow hover:ringg_ai-bg-primary/90",destructive:"ringg_ai-bg-destructive ringg_ai-text-destructive-foreground ringg_ai-shadow-sm hover:ringg_ai-bg-destructive/90",outline:"ringg_ai-border ringg_ai-border-input ringg_ai-bg-background ringg_ai-shadow-sm hover:ringg_ai-bg-accent hover:ringg_ai-text-accent-foreground",secondary:"ringg_ai-bg-secondary ringg_ai-text-secondary-foreground ringg_ai-shadow-sm hover:ringg_ai-bg-secondary/80",ghost:"hover:ringg_ai-bg-accent hover:ringg_ai-text-accent-foreground",link:"ringg_ai-text-primary ringg_ai-underline-offset-4 hover:ringg_ai-underline"},size:{default:"ringg_ai-h-9 ringg_ai-px-4 ringg_ai-py-2",sm:"ringg_ai-h-8 ringg_ai-rounded-md ringg_ai-px-3 ringg_ai-text-xs",lg:"ringg_ai-h-10 ringg_ai-rounded-md ringg_ai-px-8",icon:"ringg_ai-h-9 ringg_ai-w-9"}},defaultVariants:{variant:"default",size:"default"}}),Av=G.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...a},s)=>{const l=r?uS:"button";return W.jsx(l,{className:xr(Ote({variant:e,size:n,className:t})),ref:s,...a})});Av.displayName="Button";function Bc(t,e){typeof window<"u"&&window.dispatchEvent(new CustomEvent(t,{detail:e}))}function Mte({callMode:t}){const[e,n]=G.useState(!1),[r,a]=G.useState(!1),[s,l]=G.useState(null),c=G.useRef(!1),h=G.useRef(t);h.current=t;const p=G.useCallback(()=>{c.current||(c.current=!0,n(!0),Bc("ringg:widget_status",{status:"maximised",mode:h.current}))},[]),v=G.useCallback(()=>{c.current=!1,n(!1),Bc("ringg:widget_status",{status:"minimised",mode:h.current})},[]),b=G.useCallback(()=>{a(!1),l(null),v()},[v]),k=G.useCallback(()=>{c.current?v():p()},[p,v]);return G.useMemo(()=>({isOpen:e,showFeedback:r,currentCallId:s,setShowFeedback:a,setCurrentCallId:l,open:p,minimize:v,close:b,toggle:k}),[e,r,s,p,v,b,k])}function Lte({room:t,onError:e}){const[n,r]=G.useState("unknown"),a=G.useRef(e);a.current=e;const s=G.useCallback(async()=>{var h;try{if((h=navigator.permissions)!=null&&h.query){const p=await navigator.permissions.query({name:"microphone"});r(p.state),p.onchange=()=>{r(p.state)}}else try{await navigator.mediaDevices.getUserMedia({audio:!0}),r("granted")}catch{r("denied")}}catch(p){console.error("Error checking microphone permission:",p),r("unknown")}},[]),l=G.useCallback(async()=>{var h;try{const p=await navigator.mediaDevices.getUserMedia({audio:!0});return r("granted"),p.getTracks().forEach(v=>v.stop()),!0}catch(p){return console.error("Error requesting microphone permission:",p),r("denied"),(h=a.current)==null||h.call(a,"Microphone access was denied. Please enable it in your browser settings."),!1}},[]);G.useEffect(()=>{s();const h=()=>{var p;(p=a.current)==null||p.call(a,"Error acquiring microphone permission. Please make sure you grant the necessary permissions in your browser and reload the tab"),r("denied")};return t.on(Ee.MediaDevicesError,h),()=>{t.off(Ee.MediaDevicesError,h)}},[t,s]);const c=n==="granted";return G.useMemo(()=>({state:n,isGranted:c,check:s,request:l}),[n,c,s,l])}function Nte({containerRef:t,enabled:e}){G.useEffect(()=>{const n=t.current;if(!n||!e)return;const r=c=>{const h=n.querySelector('[data-scrollable="true"]');if(!h){c.preventDefault();return}const{scrollTop:p,scrollHeight:v,clientHeight:b}=h,k=p===0&&c.deltaY<0,T=p+b>=v-1&&c.deltaY>0;(k||T)&&c.preventDefault()};let a=0;const s=c=>{a=c.touches[0].clientY},l=c=>{const h=n.querySelector('[data-scrollable="true"]'),p=c.touches[0].clientY,v=a-p;if(!h){c.preventDefault();return}const{scrollTop:b,scrollHeight:k,clientHeight:T}=h,E=b===0&&v<0,R=b+T>=k-1&&v>0;(E||R)&&c.preventDefault()};return n.addEventListener("wheel",r,{passive:!1}),n.addEventListener("touchstart",s,{passive:!0}),n.addEventListener("touchmove",l,{passive:!1}),()=>{n.removeEventListener("wheel",r),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",l)}},[e])}const xp={mode:"prod",title:"Ringg AI Support",description:"Ringg AI offers 24/7 voice support to handle your business calls efficiently and professionally",defaultTab:"audio",hideTabSelector:!1,notificationTuneUrl:"https://assets.ringg.ai/audios/misc/widget_notification.mp3"};function E_(t){switch(t){case"dev":return"https://calling-dev.ringg.ai/ca/api/v0";case"stage":return"https://stage-api2.desivocal.com/ca/api/v0";default:return"https://prod-api.ringg.ai/ca/api/v0"}}function Ite(t){switch(t){case"dev":return"wss://ringg-ai-dev-92tubwpz.livekit.cloud";case"stage":return"wss://ringg-ai-ujrjmhgy.livekit.cloud";default:return"wss://ringg-ai-prod-r0vhjzhs.livekit.cloud"}}function Xse(t){return t}const iU={center:{top:0,left:0,right:0,bottom:0,margin:"auto"},"top-left":{top:"2%",left:"2%"},"top-right":{top:"2%",right:"2%"},"bottom-left":{bottom:"2%",left:"2%"},"bottom-right":{bottom:"2%",right:"2%"},"bottom-center":{bottom:"2%",left:"50%"}};function Ute(t){return iU[t]??iU["bottom-right"]}function Fte(t){return t==="bottom-center"?{left:"50%"}:t==="bottom-left"?{left:"2%"}:{right:"2%"}}function RS(t){if(t!==void 0)return typeof t=="number"?`${t}px`:t}function jte(t){return t?{width:RS(t.width),height:RS(t.height),borderRadius:RS(t.borderRadius)}:{}}function Vte(t,e){if(!e)return t;let n=[t];return Object.entries(e).forEach(([r,a])=>{n=n.flatMap((s,l)=>{if(typeof s!="string")return s;const c=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),h=new RegExp(`\\b(${c})\\b`,"g");return s.split(h).map((p,v)=>p===r?W.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:"ringg_ai-text-blue-500 hover:ringg_ai-underline",href:a,children:r},`${l}-${v}`):p)})}),n}const zte=({room:t,config:e})=>{var Hi,Ji,ea,co,es,ts,fo;const[n,r]=G.useState({}),a=e,{mode:s=xp.mode,title:l=xp.title,description:c=xp.description,agentId:h,variables:p,buttons:v,xApiKey:b="",defaultTab:k=xp.defaultTab,hideTabSelector:T=xp.hideTabSelector,innerWindowProps:E,logoUrl:R,logoStyles:M,legalDisclaimer:A,feedbackScreen:U,notificationTuneUrl:V=xp.notificationTuneUrl,widgetPosition:j,theme:I}=a,N=qI(I),ne=mw(N.buttonStyle),X=(j==null?void 0:j.triggerPlacement)??"fixed",se=(j==null?void 0:j.triggerAlignment)??"bottom-right",$=(j==null?void 0:j.hideTriggerOnExpand)??!0,oe=(j==null?void 0:j.widgetAlignment)??"bottom-right",te=Ute(se),xe=jte(E),[ke,Ge]=G.useState(k),[Je,Fe]=G.useState(!1),[ve,Be]=G.useState(!1),[z,J]=G.useState({hasError:!1,message:""}),[Ce,H]=G.useState([]),[Ct,Rt]=G.useState(new Map),ht=G.useRef(null),bt=G.useRef(null),it=G.useRef(null),xt=G.useRef(""),nn=G.useRef(),qn=G.useRef(new Set),_r=G.useRef(null),vr=G.useRef(!1),Xn=G.useRef(new Map),Lr=ex(t),un=Lr==="connected",Lt=Mte({callMode:ke}),Z=Lte({room:t,onError:ot=>J({hasError:!0,message:ot})});Nte({containerRef:bt,enabled:Lt.isOpen});const{chatMessages:le}=HM(),me=cB(),je=nB(),Ve=BM(),Me=tx(me.audioTrack||void 0),ut=tx({publication:je.microphoneTrack,source:De.Source.Microphone,participant:je.localParticipant}),Nt=G.useMemo(()=>Ve.find(ot=>{var qe;return(qe=ot.identity)==null?void 0:qe.includes("agent")}),[Ve]),fe=G.useCallback((ot,qe)=>{vr.current=!1,Bc("ringg:conversation_status",{status:"started",mode:ot,callId:qe})},[]),Re=G.useCallback((ot,qe)=>{vr.current||(vr.current=!0,Bc("ringg:conversation_status",{status:"ended",mode:ot,callId:qe}))},[]),vt=G.useCallback(async ot=>{if(!(ot==="audio"&&!Z.isGranted&&!await Z.request())){Fe(!0),Ge(ot);try{const qe=await fetch(`${E_(s)}/calling/webcall`,{method:"POST",body:JSON.stringify({agent_id:h,custom_args_values:p,media_type:ot}),headers:{"Content-Type":"application/json","X-API-KEY":b}}),It=await qe.json();if(!qe.ok)throw new Error((It==null?void 0:It.message)||"Failed to make call");It!=null&&It.call_id&&Lt.setCurrentCallId(It.call_id),await t.connect(Ite(s),It==null?void 0:It.user_token),ot==="audio"&&await t.localParticipant.setMicrophoneEnabled(!0),fe(ot,It.call_id),J({hasError:!1,message:""})}catch(qe){J({hasError:!0,message:qe.message})}finally{Fe(!1)}}},[t,s,h,p,b,Z,Lt,fe]),Ft=G.useCallback(async()=>{Fe(!0);try{Lt.currentCallId&&Re(ke,Lt.currentCallId),H([]),Rt(new Map),qn.current=new Set,xt.current="",nn.current=void 0,t.disconnect(),Be(!1),Lt.setShowFeedback(!0),Lt.open()}catch(ot){J({hasError:!0,message:"Error ending call: "+ot.message})}finally{Fe(!1)}},[t,ke,Lt,Re]),Kt=G.useCallback(async(ot,qe)=>{if(!Lt.currentCallId){Lt.close();return}Fe(!0);try{await fetch(`${E_(s)}/calling/${Lt.currentCallId}/feedback`,{method:"POST",body:JSON.stringify({rating:ot,comment:qe}),headers:{"Content-Type":"application/json","X-API-KEY":b}}),Bc("ringg:feedback_status",{status:"submitted",callId:Lt.currentCallId,rating:ot})}catch(It){console.error("Error submitting feedback:",It)}finally{Fe(!1),Lt.close()}},[s,b,Lt]),ze=G.useCallback(()=>{Lt.currentCallId&&Bc("ringg:feedback_status",{status:"skipped",callId:Lt.currentCallId}),Lt.close()},[Lt]),ct=G.useCallback(ot=>{var It;const qe={name:"Agent",message:"",isSelf:!1,timestamp:Date.now()+Math.random(),componentType:ot.component_type,componentData:ot};H(Jt=>[...Jt,qe]),Bc("ringg:calendar_booking",{status:"shown",componentId:ot.component_id}),(It=it.current)==null||It.play().catch(()=>{}),Lt.open()},[Lt]),At=G.useCallback(ot=>{qn.current.add(ot),Bc("ringg:calendar_booking",{status:"confirmed",componentId:ot,message:"Flow completed"})},[]),cn=G.useCallback(async(ot,qe)=>{var Ei;const It=Xn.current.get(ot);if(!It||!Nt)return;const{name:Jt,originalConfig:jt}=It,fn="receive_dynamic_data";let In;if(Jt==="calendar"){const Y=qe.step_data&&qe.step_data.slot_id,Oe=jt,Xe=(Oe==null?void 0:Oe.slots)||[],tt=(Oe==null?void 0:Oe.timezone)||"UTC",en=Xe.find(Gt=>Gt.id===Y);In={id:(en==null?void 0:en.id)||Y,datetime:(en==null?void 0:en.datetime)||((Ei=qe.step_data)==null?void 0:Ei.slot_datetime),timezone:tt}}else if(Jt==="form")In=qe.step_data||qe.all_data;else if(Jt==="buttons"){const Y=qe.step_data&&qe.step_data.selected_button;In=(Array.isArray(jt)?jt:[]).find(tt=>tt.id===Y)||{id:Y}}else In=qe;const er=JSON.stringify({componant_type:`receive_component_${Jt}`,component_id:ot,componant_data:In});try{await je.localParticipant.performRpc({destinationIdentity:Nt.identity,method:fn,payload:er}),Xn.current.delete(ot)}catch(Y){console.error(`[RPC] Error sending ${fn}:`,Y)}},[Nt,je.localParticipant]),_n=G.useMemo(()=>null,[]),dn=G.useCallback(async(ot,qe,It)=>(await fetch(qe.startsWith("http")?qe:`${E_(s)}${qe}`,{method:ot,body:JSON.stringify(It),headers:{"Content-Type":"application/json","X-API-KEY":b}})).json(),[s,b,un,_n]),Pn=G.useCallback(async ot=>{try{const qe=JSON.parse(ot.payload);return Array.isArray(qe.source_urls)?xt.current=qe.source_urls.join(", "):qe.source_url&&(xt.current=qe.source_url),JSON.stringify({status:"received"})}catch(qe){throw console.error("Failed to parse RPC payload:",qe),new Error("Invalid payload for send_source_urls")}},[]),Wn=G.useCallback(async ot=>{try{const qe=JSON.parse(ot.payload);return qe.component_type&&qe.component_id&&ct(qe),JSON.stringify({status:"received"})}catch(qe){throw console.error("Failed to parse component payload:",qe),new Error("Invalid component payload")}},[ct]),Jn=G.useCallback((ot,qe)=>{const It=`${ot}_${Date.now()}`,Jt=qe.componant_config||qe.component_config;if(ot==="calendar"){const jt=Jt,fn=(jt==null?void 0:jt.slots)||[],In=(jt==null?void 0:jt.timezone)||"UTC";return{component_type:"calendar_booking",component_id:It,data:{available_slots:fn.map(er=>({id:er.id,datetime:er.datetime})),timezone:In,title:qe.title||"Select a time slot"}}}if(ot==="form"){const jt=Jt;return{component_type:"form",component_id:It,data:{title:(jt==null?void 0:jt.title)||"Form",description:jt==null?void 0:jt.description,fields:(jt==null?void 0:jt.fields)||[],submit_label:(jt==null?void 0:jt.submit_label)||"Submit"}}}return ot==="buttons"?{component_type:"buttons",component_id:It,data:{title:qe.title,buttons:Array.isArray(Jt)?Jt:[]}}:ot==="confirmation"?{component_type:"confirmation",component_id:It,data:{title:qe.title||"Confirmed",message:qe.message||"",icon:qe.icon||"success",details:qe.details}}:qe.component_type&&qe.component_id?qe:null},[]),Gn=G.useCallback(async ot=>{try{const qe=JSON.parse(ot.payload),It=qe.componant_type||qe.component_type;if(!It)return JSON.stringify({status:"error",message:"No componant_type provided"});const Jt=It.replace("render_component_",""),jt=Jn(Jt,qe);return jt?(Xn.current.set(jt.component_id,{name:Jt,originalConfig:qe.componant_config||qe.component_config}),ct(jt),JSON.stringify({status:"received",component_id:jt.component_id})):JSON.stringify({status:"error",message:`Unknown component type: ${Jt}`})}catch(qe){throw console.error("[RPC] Failed to parse send_dynamic_data payload:",qe),new Error("Invalid send_dynamic_data payload")}},[ct,Jn]);G.useEffect(()=>{_r.current=ct},[ct]);const Nn=G.useRef(Lt.open);return Nn.current=Lt.open,G.useEffect(()=>{},[]),G.useEffect(()=>{var Jt,jt;if(!t||ke!=="audio"||!un)return;const ot=new Map(Ct);me.audioTrack&&Me.segments.forEach(fn=>{const In=ot.get(fn.id),er=bw(fn,In,me.audioTrack.participant);ot.set(fn.id,er)}),ut.segments.forEach(fn=>{const In=ot.get(fn.id),er=bw(fn,In,je.localParticipant);ot.set(fn.id,er)});const qe=Array.from(ot.values()).sort((fn,In)=>fn.timestamp-In.timestamp),It=xt.current&&((Jt=qe[qe.length-1])==null?void 0:Jt.name.includes("Agent"))&&!((jt=qe[qe.length-1])!=null&&jt.sourceUrl)&&nn.current!==qe.length-1;if(It){nn.current=qe.length,qe[qe.length-1]={...qe[qe.length-1],sourceUrl:xt.current};const fn=qe.filter(er=>!er.isSelf).length-1,In=ot.get(Me.segments[fn].id);ot.set(Me.segments[fn].id,bw(Me.segments[fn],{...In,sourceUrl:xt.current},me.audioTrack.participant))}H(qe),Rt(ot),It||(xt.current="")},[ke,le,Me.segments,ut.segments,me.audioTrack,je.localParticipant,un]),G.useEffect(()=>{if(!t||ke!=="text"||!un)return;const ot=async(It,Jt)=>{var jt,fn;try{const In=await It.readAll(),er=(jt=Jt.identity)==null?void 0:jt.includes("agent");er&&((fn=it.current)==null||fn.play().catch(()=>{}),Lt.open());const Ei={message:In,isSelf:!er,name:er?"Agent":"You",timestamp:Date.now()+performance.now()%1,...er&&xt.current&&{sourceUrl:xt.current}};xt.current&&(xt.current=""),H(Y=>{const Oe=new Set;return[...Y,Ei].filter(Xe=>!Oe.has(Xe.timestamp)&&Oe.add(Xe.timestamp)).sort((Xe,tt)=>Xe.timestamp-tt.timestamp)})}catch(In){console.error("Error reading text stream",In)}},qe=le.map(It=>{var fn,In,er,Ei;const Jt=((fn=It.from)==null?void 0:fn.identity)===je.localParticipant.identity,jt=me.audioTrack?((In=It.from)==null?void 0:In.identity)===((er=me.audioTrack.participant)==null?void 0:er.identity):!Jt;return{name:((Ei=It.from)==null?void 0:Ei.name)||(jt?"Agent":Jt?"You":"Unknown"),isSelf:Jt,message:It.message,timestamp:It.timestamp}});return H(It=>{const Jt=new Set;return[...It,...qe].filter(jt=>!Jt.has(jt.timestamp)&&Jt.add(jt.timestamp)).sort((jt,fn)=>jt.timestamp-fn.timestamp)}),t.registerTextStreamHandler("lk.transcription",ot),()=>{t.unregisterTextStreamHandler("lk.transcription")}},[t,ke,le,Lt,je.localParticipant,me.audioTrack,un]),G.useEffect(()=>{if(t)return t.registerRpcMethod("send_source_urls",Pn),t.registerRpcMethod("render_component",Wn),t.registerRpcMethod("send_dynamic_data",Gn),()=>{t.unregisterRpcMethod("send_source_urls"),t.unregisterRpcMethod("render_component"),t.unregisterRpcMethod("send_dynamic_data")}},[t,Pn,Wn,Gn]),G.useEffect(()=>{if(t)return t.on(Ee.ParticipantDisconnected,Ft),t.on(Ee.Disconnected,Ft),()=>{t.off(Ee.ParticipantDisconnected,Ft),t.off(Ee.Disconnected,Ft)}},[Ft,t]),G.useEffect(()=>{ht.current&&(ht.current.scrollTop=ht.current.scrollHeight)},[Ce]),G.useEffect(()=>(it.current=new Audio(V),it.current.preload="auto",()=>{it.current&&(it.current.pause(),it.current.src="",it.current=null)}),[V]),W.jsxs(dW,{theme:I,children:[W.jsxs(sx,{children:[(!$||!Lt.isOpen)&&W.jsx(mu.button,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.8,opacity:0},transition:{type:"spring",stiffness:400,damping:25},"aria-label":"Open call widget",onClick:Lt.toggle,style:{position:X,...te,backgroundColor:N.primaryColor,color:N.primaryTextColor,...(Hi=v==null?void 0:v.modalTrigger)==null?void 0:Hi.styles},className:"ringg_ai-h-14 ringg_ai-w-14 !ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-shadow ringg_ai-trigger-btn !ringg_ai-z-[9999] hover:ringg_ai-opacity-90 ringg_ai-transition-opacity",children:W.jsx("img",{src:((ea=(Ji=v==null?void 0:v.modalTrigger)==null?void 0:Ji.icon)==null?void 0:ea.url)??"https://assets.ringg.ai/images/icons/widget-phone.svg",alt:"Widget trigger",style:{width:((es=(co=v==null?void 0:v.modalTrigger)==null?void 0:co.icon)==null?void 0:es.size)??25,height:((fo=(ts=v==null?void 0:v.modalTrigger)==null?void 0:ts.icon)==null?void 0:fo.size)??25}})},"trigger-button"),Lt.isOpen&&W.jsxs(mu.div,{ref:bt,initial:{y:"100%",opacity:0,x:oe==="bottom-center"?"-50%":0},animate:{y:0,opacity:1,x:oe==="bottom-center"?"-50%":0},exit:{y:"100%",opacity:0,x:oe==="bottom-center"?"-50%":0},transition:{type:"spring",stiffness:300,damping:28},className:xr("ringg_ai-relative ringg_ai-border ringg_ai-overflow-hidden ringg_ai-shadow-xl !ringg_ai-z-[9999] ringg_ai-w-[95vw] md:ringg_ai-w-[360px]",un&&"ringg_ai-h-[24.5rem]"),style:{position:"fixed",bottom:"2%",...Fte(oe),...un?xe:{},maxWidth:"96dvw",maxHeight:"96dvh",backgroundColor:N.backgroundColor,borderColor:N.borderColor,borderRadius:RS(E==null?void 0:E.borderRadius)??N.borderRadius,fontFamily:N.fontFamily,"--widget-primary":N.primaryColor,"--widget-primary-text":N.primaryTextColor,"--widget-bg":N.backgroundColor,"--widget-surface":N.surfaceColor,"--widget-text":N.textColor,"--widget-muted":N.mutedTextColor,"--widget-border":N.borderColor,"--widget-button-radius":ne},children:[un&&W.jsx(Av,{size:"icon",variant:"ghost","aria-label":"Minimize widget",onClick:Lt.minimize,className:"ringg_ai-absolute !ringg_ai-z-[9999] ringg_ai-top-2.5 ringg_ai-right-12 !ringg_ai-rounded-full ringg_ai-text-gray-500 hover:ringg_ai-text-gray-700",children:W.jsx(tW,{size:20})}),W.jsx(Av,{size:"icon",variant:"ghost","aria-label":un?"End call":"Close widget",onClick:()=>un?Be(!0):Lt.showFeedback?ze():Lt.minimize(),className:"ringg_ai-absolute !ringg_ai-z-[9999] ringg_ai-top-2.5 ringg_ai-right-2.5 !ringg_ai-rounded-full ringg_ai-text-gray-500 hover:ringg_ai-text-gray-700",children:W.jsx(aW,{size:20})}),W.jsx(LY,{open:ve,onOpenChange:Be,containerRef:bt,children:W.jsxs(NY,{children:[W.jsxs(IY,{children:[W.jsxs(UY,{children:["Are you sure you want to end ",ke==="text"?"chat":"call","?"]}),W.jsx(FY,{children:"Your current conversation will be closed and cannot be accessed later."})]}),W.jsxs(jY,{children:[W.jsx(Av,{variant:"outline",onClick:()=>Be(!1),style:{borderRadius:ne,borderColor:N.borderColor,backgroundColor:N.surfaceColor,color:N.textColor},children:"Cancel"}),W.jsxs(Av,{onClick:Ft,style:{borderRadius:ne,backgroundColor:N.primaryColor,color:N.primaryTextColor},children:["End ",ke==="text"?"Chat":"Call"]})]})]})}),Lt.showFeedback?W.jsx(zY,{callMode:ke,isSubmitting:Je,feedbackScreenConfig:U,onSubmit:Kt,onSkip:ze}):W.jsxs("div",{className:"ringg_ai-flex ringg_ai-h-full ringg_ai-flex-col",children:[W.jsxs("div",{className:xr("ringg_ai-relative ringg_ai-p-5 ringg_ai-h-full ringg_ai-mb-2 ringg_ai-flex ringg_ai-gap-5 ringg_ai-flex-col",!un&&"ringg_ai-mt-2"),children:[W.jsx(BY,{isCalling:un,isLoading:Je,title:l,description:c,logoUrl:R,logoStyles:M}),Ce.length===0&&un&&W.jsx("div",{className:"ringg_ai-mt-20 ringg_ai-h-full"}),Ce.length>0&&un&&W.jsx("div",{"data-scrollable":"true",ref:ht,className:"ringg_ai-mt-20 ringg_ai-h-full ringg_ai-overflow-y-auto ringg_ai-flex ringg_ai-flex-col",children:W.jsx("div",{className:"ringg_ai-mt-auto md:ringg_ai-mt-0 ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2.5",children:Ce.sort((ot,qe)=>ot.timestamp-qe.timestamp).map((ot,qe)=>ot.componentType&&ot.componentData?W.jsx(nK,{initialComponent:ot.componentData,onApiCall:dn,onComplete:()=>At(ot.componentData.component_id),onSendResponse:cn},`flow_${ot.componentData.component_id}_${qe}`):W.jsx(Dte,{itemIndex:qe,message:ot},`${ot.timestamp}__${qe}`))})}),W.jsx(MY,{buttonConfig:v,callMode:ke,isCalling:un,onCallEnd:Ft}),z.hasError&&W.jsx("div",{className:"ringg_ai-text-center ringg_ai-text-sm ringg_ai-text-red-500 -ringg_ai-mt-3 -ringg_ai-mb-2",children:z.message}),Lr==="disconnected"&&W.jsx($W,{callMode:ke,buttonConfig:v,isCalling:un,isLoading:Je,onCallTrigger:vt}),!un&&W.jsx("p",{className:"ringg_ai-text-xs ringg_ai-text-center",style:{color:N.mutedTextColor},children:A?Vte(A.text,A.links):W.jsxs(W.Fragment,{children:["By starting call you agree to ",W.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:"hover:ringg_ai-underline",style:{color:N.primaryColor},href:"https://www.ringg.ai/privacy",children:"Privacy policy"})," & ",W.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:"hover:ringg_ai-underline",style:{color:N.primaryColor},href:"https://www.ringg.ai/terms",children:"T&C"})]})})]}),!un&&!T&&W.jsx(Ate,{tabs:KG,activeTab:ke,onTabChange:ot=>Ge(ot)})]})]},"chat-widget")]}),W.jsx(pB,{}),!1]})},Bte=({config:t})=>{const[e]=G.useState(()=>new Gh({dynacast:!0,adaptiveStream:!0}));return W.jsx(XT.Provider,{value:e,children:W.jsx(zte,{config:t,room:e})})};{const t="ringg_ai_container";(function(e,n){function r(a){let s=n.getElementById(t);s||(s=n.createElement("div"),s.id=t,n.body.appendChild(s)),yg.createRoot(s).render(W.jsx(ir.StrictMode,{children:W.jsx(Bte,{config:a})}))}e.loadAgent=r})(window,document)}});
|