amotify 0.2.147 → 0.2.148

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.
@@ -1,4 +1,4 @@
1
- var SV=Object.create;var N_=Object.defineProperty;var wV=Object.getOwnPropertyDescriptor;var CV=Object.getOwnPropertyNames;var xV=Object.getPrototypeOf,kV=Object.prototype.hasOwnProperty;var TV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ue=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Ed=(r,a)=>{for(var o in a)N_(r,o,{get:a[o],enumerable:!0})},L_=(r,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of CV(a))!kV.call(r,l)&&l!==o&&N_(r,l,{get:()=>a[l],enumerable:!(s=wV(a,l))||s.enumerable});return r},Jr=(r,a,o)=>(L_(r,a,"default"),o&&L_(o,a,"default")),K=(r,a,o)=>(o=r!=null?SV(xV(r)):{},L_(a||!r||!r.__esModule?N_(o,"default",{value:r,enumerable:!0}):o,r)),EV=r=>L_(N_({},"__esModule",{value:!0}),r);var na=(r,a,o)=>new Promise((s,l)=>{var f=p=>{try{h(o.next(p))}catch(m){l(m)}},u=p=>{try{h(o.throw(p))}catch(m){l(m)}},h=p=>p.done?s(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Kk=Ue((wr,O_)=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",a=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function N(x){if(x===null||typeof x!="object")return null;var U=k&&x[k]||x[L];return typeof U=="function"?U:null}var Y={current:null},M={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Z={},O=null;function ae(x){O=x}Z.setExtraStackFrame=function(x){O=x},Z.getCurrentStack=null,Z.getStackAddendum=function(){var x="";O&&(x+=O);var U=Z.getCurrentStack;return U&&(x+=U()||""),x};var ge=!1,ee=!1,ye=!1,be=!1,he=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:M,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Z,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,me=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)me[Ee-1]=arguments[Ee];B("warn",x,me)}}function de(x){{for(var U=arguments.length,me=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)me[Ee-1]=arguments[Ee];B("error",x,me)}}function B(x,U,me){{var Ee=H.ReactDebugCurrentFrame,Qe=Ee.getStackAddendum();Qe!==""&&(U+="%s",me=me.concat([Qe]));var Pt=me.map(function(yt){return String(yt)});Pt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Pt)}}var W={};function ie(x,U){{var me=x.constructor,Ee=me&&(me.displayName||me.name)||"ReactClass",Qe=Ee+"."+U;if(W[Qe])return;de("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.",U,Ee),W[Qe]=!0}}var te={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,me){ie(x,"forceUpdate")},enqueueReplaceState:function(x,U,me,Ee){ie(x,"replaceState")},enqueueSetState:function(x,U,me,Ee){ie(x,"setState")}},se=Object.assign,we={};Object.freeze(we);function Se(x,U,me){this.props=x,this.context=U,this.refs=we,this.updater=me||te}Se.prototype.isReactComponent={},Se.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,U,"setState")},Se.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var je={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)."]},Ye=function(x,U){Object.defineProperty(Se.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Ge in je)je.hasOwnProperty(Ge)&&Ye(Ge,je[Ge])}function rt(){}rt.prototype=Se.prototype;function et(x,U,me){this.props=x,this.context=U,this.refs=we,this.updater=me||te}var Nt=et.prototype=new rt;Nt.constructor=et,se(Nt,Se.prototype),Nt.isPureReactComponent=!0;function $t(){var x={current:null};return Object.seal(x),x}var dt=Array.isArray;function Xe(x){return dt(x)}function ke(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,me=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return me}}function ot(x){try{return kt(x),!1}catch(U){return!0}}function kt(x){return""+x}function Tt(x){if(ot(x))return de("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ke(x)),kt(x)}function wt(x,U,me){var Ee=x.displayName;if(Ee)return Ee;var Qe=U.displayName||U.name||"";return Qe!==""?me+"("+Qe+")":me}function tr(x){return x.displayName||"Context"}function Ut(x){if(x==null)return null;if(typeof x.tag=="number"&&de("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case s:return"Fragment";case o:return"Portal";case f:return"Profiler";case l:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return tr(U)+".Consumer";case u:var me=x;return tr(me._context)+".Provider";case p:return wt(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:Ut(x.type)||"Memo";case S:{var Qe=x,Pt=Qe._payload,yt=Qe._init;try{return Ut(yt(Pt))}catch(Zt){return null}}}return null}var dr=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,xr;xr={};function pr(x){if(dr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function br(x){if(dr.call(x,"key")){var U=Object.getOwnPropertyDescriptor(x,"key").get;if(U&&U.isReactWarning)return!1}return x.key!==void 0}function pa(x,U){var me=function(){jr||(jr=!0,de("%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)",U))};me.isReactWarning=!0,Object.defineProperty(x,"key",{get:me,configurable:!0})}function kr(x,U){var me=function(){qr||(qr=!0,de("%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)",U))};me.isReactWarning=!0,Object.defineProperty(x,"ref",{get:me,configurable:!0})}function vr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=Ut(F.current.type);xr[U]||(de('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',U,x.ref),xr[U]=!0)}}var Pr=function(x,U,me,Ee,Qe,Pt,yt){var Zt={$$typeof:a,type:x,key:U,ref:me,props:yt,_owner:Pt};return Zt._store={},Object.defineProperty(Zt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Zt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Zt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Qe}),Object.freeze&&(Object.freeze(Zt.props),Object.freeze(Zt)),Zt};function ga(x,U,me){var Ee,Qe={},Pt=null,yt=null,Zt=null,Tr=null;if(U!=null){pr(U)&&(yt=U.ref,vr(U)),br(U)&&(Tt(U.key),Pt=""+U.key),Zt=U.__self===void 0?null:U.__self,Tr=U.__source===void 0?null:U.__source;for(Ee in U)dr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(Qe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Qe.children=me;else if(Ur>1){for(var sa=Array(Ur),ca=0;ca<Ur;ca++)sa[ca]=arguments[ca+2];Object.freeze&&Object.freeze(sa),Qe.children=sa}if(x&&x.defaultProps){var ha=x.defaultProps;for(Ee in ha)Qe[Ee]===void 0&&(Qe[Ee]=ha[Ee])}if(Pt||yt){var Da=typeof x=="function"?x.displayName||x.name||"Unknown":x;Pt&&pa(Qe,Da),yt&&kr(Qe,Da)}return Pr(x,Pt,yt,Zt,Tr,F.current,Qe)}function ze(x,U){var me=Pr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return me}function ct(x,U,me){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Qe=se({},x.props),Pt=x.key,yt=x.ref,Zt=x._self,Tr=x._source,Ur=x._owner;if(U!=null){pr(U)&&(yt=U.ref,Ur=F.current),br(U)&&(Tt(U.key),Pt=""+U.key);var sa;x.type&&x.type.defaultProps&&(sa=x.type.defaultProps);for(Ee in U)dr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(U[Ee]===void 0&&sa!==void 0?Qe[Ee]=sa[Ee]:Qe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Qe.children=me;else if(ca>1){for(var ha=Array(ca),Da=0;Da<ca;Da++)ha[Da]=arguments[Da+2];Qe.children=ha}return Pr(x.type,Pt,yt,Zt,Tr,Ur,Qe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Gt=".",Vt=":";function Rr(x){var U=/[=:]/g,me={"=":"=0",":":"=2"},Ee=x.replace(U,function(Qe){return me[Qe]});return"$"+Ee}var _r=!1,Yr=/\/+/g;function $(x){return x.replace(Yr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(Tt(x.key),Rr(""+x.key)):U.toString(36)}function R(x,U,me,Ee,Qe){var Pt=typeof x;(Pt==="undefined"||Pt==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(Pt){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var Zt=x,Tr=Qe(Zt),Ur=Ee===""?Gt+P(Zt,0):Ee;if(Xe(Tr)){var sa="";Ur!=null&&(sa=$(Ur)+"/"),R(Tr,U,sa,"",function(pp){return pp})}else Tr!=null&&(bt(Tr)&&(Tr.key&&(!Zt||Zt.key!==Tr.key)&&Tt(Tr.key),Tr=ze(Tr,me+(Tr.key&&(!Zt||Zt.key!==Tr.key)?$(""+Tr.key)+"/":"")+Ur)),U.push(Tr));return 1}var ca,ha,Da=0,rn=Ee===""?Gt:Ee+Vt;if(Xe(x))for(var Of=0;Of<x.length;Of++)ca=x[Of],ha=rn+P(ca,Of),Da+=R(ca,U,me,ha,Qe);else{var an=N(x);if(typeof an=="function"){var Mf=x;an===Mf.entries&&(_r||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_r=!0);for(var Lm=an.call(Mf),dp,$g=0;!(dp=Lm.next()).done;)ca=dp.value,ha=rn+P(ca,$g++),Da+=R(ca,U,me,ha,Qe)}else if(Pt==="object"){var zs=String(x);throw new Error("Objects are not valid as a React child (found: "+(zs==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":zs)+"). If you meant to render a collection of children, use an array instead.")}}return Da}function z(x,U,me){if(x==null)return x;var Ee=[],Qe=0;return R(x,Ee,"","",function(Pt){return U.call(me,Pt,Qe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function oe(x,U,me){z(x,function(){U.apply(this,arguments)},me)}function ne(x){return z(x,function(U){return U})||[]}function Oe(x){if(!bt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Pe(x){var U={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};U.Provider={$$typeof:u,_context:U};var me=!1,Ee=!1,Qe=!1;{var Pt={$$typeof:h,_context:U};Object.defineProperties(Pt,{Provider:{get:function(){return Ee||(Ee=!0,de("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),U.Provider},set:function(yt){U.Provider=yt}},_currentValue:{get:function(){return U._currentValue},set:function(yt){U._currentValue=yt}},_currentValue2:{get:function(){return U._currentValue2},set:function(yt){U._currentValue2=yt}},_threadCount:{get:function(){return U._threadCount},set:function(yt){U._threadCount=yt}},Consumer:{get:function(){return me||(me=!0,de("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),U.Consumer}},displayName:{get:function(){return U.displayName},set:function(yt){Qe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Qe=!0)}}}),U.Consumer=Pt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,We=0,Ae=1,Je=2;function I(x){if(x._status===Me){var U=x._result,me=U();if(me.then(function(Pt){if(x._status===We||x._status===Me){var yt=x;yt._status=Ae,yt._result=Pt}},function(Pt){if(x._status===We||x._status===Me){var yt=x;yt._status=Je,yt._result=Pt}}),x._status===Me){var Ee=x;Ee._status=We,Ee._result=me}}if(x._status===Ae){var Qe=x._result;return Qe===void 0&&de(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ var SV=Object.create;var N_=Object.defineProperty;var wV=Object.getOwnPropertyDescriptor;var CV=Object.getOwnPropertyNames;var xV=Object.getPrototypeOf,kV=Object.prototype.hasOwnProperty;var TV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ue=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Ed=(r,a)=>{for(var o in a)N_(r,o,{get:a[o],enumerable:!0})},L_=(r,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of CV(a))!kV.call(r,l)&&l!==o&&N_(r,l,{get:()=>a[l],enumerable:!(s=wV(a,l))||s.enumerable});return r},Jr=(r,a,o)=>(L_(r,a,"default"),o&&L_(o,a,"default")),K=(r,a,o)=>(o=r!=null?SV(xV(r)):{},L_(a||!r||!r.__esModule?N_(o,"default",{value:r,enumerable:!0}):o,r)),EV=r=>L_(N_({},"__esModule",{value:!0}),r);var na=(r,a,o)=>new Promise((s,l)=>{var f=p=>{try{h(o.next(p))}catch(m){l(m)}},u=p=>{try{h(o.throw(p))}catch(m){l(m)}},h=p=>p.done?s(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Kk=Ue((wr,O_)=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",a=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function N(x){if(x===null||typeof x!="object")return null;var U=k&&x[k]||x[L];return typeof U=="function"?U:null}var Y={current:null},M={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Z={},O=null;function ae(x){O=x}Z.setExtraStackFrame=function(x){O=x},Z.getCurrentStack=null,Z.getStackAddendum=function(){var x="";O&&(x+=O);var U=Z.getCurrentStack;return U&&(x+=U()||""),x};var ge=!1,ee=!1,ye=!1,be=!1,he=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:M,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Z,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,me=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)me[Ee-1]=arguments[Ee];B("warn",x,me)}}function de(x){{for(var U=arguments.length,me=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)me[Ee-1]=arguments[Ee];B("error",x,me)}}function B(x,U,me){{var Ee=H.ReactDebugCurrentFrame,Qe=Ee.getStackAddendum();Qe!==""&&(U+="%s",me=me.concat([Qe]));var Pt=me.map(function(yt){return String(yt)});Pt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Pt)}}var W={};function ie(x,U){{var me=x.constructor,Ee=me&&(me.displayName||me.name)||"ReactClass",Qe=Ee+"."+U;if(W[Qe])return;de("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.",U,Ee),W[Qe]=!0}}var te={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,me){ie(x,"forceUpdate")},enqueueReplaceState:function(x,U,me,Ee){ie(x,"replaceState")},enqueueSetState:function(x,U,me,Ee){ie(x,"setState")}},se=Object.assign,we={};Object.freeze(we);function Se(x,U,me){this.props=x,this.context=U,this.refs=we,this.updater=me||te}Se.prototype.isReactComponent={},Se.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,U,"setState")},Se.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var je={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)."]},Ye=function(x,U){Object.defineProperty(Se.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Ge in je)je.hasOwnProperty(Ge)&&Ye(Ge,je[Ge])}function rt(){}rt.prototype=Se.prototype;function et(x,U,me){this.props=x,this.context=U,this.refs=we,this.updater=me||te}var Nt=et.prototype=new rt;Nt.constructor=et,se(Nt,Se.prototype),Nt.isPureReactComponent=!0;function $t(){var x={current:null};return Object.seal(x),x}var dt=Array.isArray;function Xe(x){return dt(x)}function ke(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,me=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return me}}function it(x){try{return kt(x),!1}catch(U){return!0}}function kt(x){return""+x}function Tt(x){if(it(x))return de("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ke(x)),kt(x)}function wt(x,U,me){var Ee=x.displayName;if(Ee)return Ee;var Qe=U.displayName||U.name||"";return Qe!==""?me+"("+Qe+")":me}function tr(x){return x.displayName||"Context"}function Ut(x){if(x==null)return null;if(typeof x.tag=="number"&&de("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case s:return"Fragment";case o:return"Portal";case f:return"Profiler";case l:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return tr(U)+".Consumer";case u:var me=x;return tr(me._context)+".Provider";case p:return wt(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:Ut(x.type)||"Memo";case S:{var Qe=x,Pt=Qe._payload,yt=Qe._init;try{return Ut(yt(Pt))}catch(Zt){return null}}}return null}var dr=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,xr;xr={};function pr(x){if(dr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function br(x){if(dr.call(x,"key")){var U=Object.getOwnPropertyDescriptor(x,"key").get;if(U&&U.isReactWarning)return!1}return x.key!==void 0}function pa(x,U){var me=function(){jr||(jr=!0,de("%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)",U))};me.isReactWarning=!0,Object.defineProperty(x,"key",{get:me,configurable:!0})}function kr(x,U){var me=function(){qr||(qr=!0,de("%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)",U))};me.isReactWarning=!0,Object.defineProperty(x,"ref",{get:me,configurable:!0})}function vr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=Ut(F.current.type);xr[U]||(de('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',U,x.ref),xr[U]=!0)}}var Pr=function(x,U,me,Ee,Qe,Pt,yt){var Zt={$$typeof:a,type:x,key:U,ref:me,props:yt,_owner:Pt};return Zt._store={},Object.defineProperty(Zt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Zt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Zt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Qe}),Object.freeze&&(Object.freeze(Zt.props),Object.freeze(Zt)),Zt};function ga(x,U,me){var Ee,Qe={},Pt=null,yt=null,Zt=null,Tr=null;if(U!=null){pr(U)&&(yt=U.ref,vr(U)),br(U)&&(Tt(U.key),Pt=""+U.key),Zt=U.__self===void 0?null:U.__self,Tr=U.__source===void 0?null:U.__source;for(Ee in U)dr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(Qe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Qe.children=me;else if(Ur>1){for(var sa=Array(Ur),ca=0;ca<Ur;ca++)sa[ca]=arguments[ca+2];Object.freeze&&Object.freeze(sa),Qe.children=sa}if(x&&x.defaultProps){var ha=x.defaultProps;for(Ee in ha)Qe[Ee]===void 0&&(Qe[Ee]=ha[Ee])}if(Pt||yt){var Da=typeof x=="function"?x.displayName||x.name||"Unknown":x;Pt&&pa(Qe,Da),yt&&kr(Qe,Da)}return Pr(x,Pt,yt,Zt,Tr,F.current,Qe)}function ze(x,U){var me=Pr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return me}function ct(x,U,me){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Qe=se({},x.props),Pt=x.key,yt=x.ref,Zt=x._self,Tr=x._source,Ur=x._owner;if(U!=null){pr(U)&&(yt=U.ref,Ur=F.current),br(U)&&(Tt(U.key),Pt=""+U.key);var sa;x.type&&x.type.defaultProps&&(sa=x.type.defaultProps);for(Ee in U)dr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(U[Ee]===void 0&&sa!==void 0?Qe[Ee]=sa[Ee]:Qe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Qe.children=me;else if(ca>1){for(var ha=Array(ca),Da=0;Da<ca;Da++)ha[Da]=arguments[Da+2];Qe.children=ha}return Pr(x.type,Pt,yt,Zt,Tr,Ur,Qe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Gt=".",Vt=":";function Rr(x){var U=/[=:]/g,me={"=":"=0",":":"=2"},Ee=x.replace(U,function(Qe){return me[Qe]});return"$"+Ee}var _r=!1,Yr=/\/+/g;function $(x){return x.replace(Yr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(Tt(x.key),Rr(""+x.key)):U.toString(36)}function R(x,U,me,Ee,Qe){var Pt=typeof x;(Pt==="undefined"||Pt==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(Pt){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var Zt=x,Tr=Qe(Zt),Ur=Ee===""?Gt+P(Zt,0):Ee;if(Xe(Tr)){var sa="";Ur!=null&&(sa=$(Ur)+"/"),R(Tr,U,sa,"",function(pp){return pp})}else Tr!=null&&(bt(Tr)&&(Tr.key&&(!Zt||Zt.key!==Tr.key)&&Tt(Tr.key),Tr=ze(Tr,me+(Tr.key&&(!Zt||Zt.key!==Tr.key)?$(""+Tr.key)+"/":"")+Ur)),U.push(Tr));return 1}var ca,ha,Da=0,rn=Ee===""?Gt:Ee+Vt;if(Xe(x))for(var Of=0;Of<x.length;Of++)ca=x[Of],ha=rn+P(ca,Of),Da+=R(ca,U,me,ha,Qe);else{var an=N(x);if(typeof an=="function"){var Mf=x;an===Mf.entries&&(_r||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_r=!0);for(var Lm=an.call(Mf),dp,$g=0;!(dp=Lm.next()).done;)ca=dp.value,ha=rn+P(ca,$g++),Da+=R(ca,U,me,ha,Qe)}else if(Pt==="object"){var zs=String(x);throw new Error("Objects are not valid as a React child (found: "+(zs==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":zs)+"). If you meant to render a collection of children, use an array instead.")}}return Da}function z(x,U,me){if(x==null)return x;var Ee=[],Qe=0;return R(x,Ee,"","",function(Pt){return U.call(me,Pt,Qe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function oe(x,U,me){z(x,function(){U.apply(this,arguments)},me)}function ne(x){return z(x,function(U){return U})||[]}function Oe(x){if(!bt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Pe(x){var U={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};U.Provider={$$typeof:u,_context:U};var me=!1,Ee=!1,Qe=!1;{var Pt={$$typeof:h,_context:U};Object.defineProperties(Pt,{Provider:{get:function(){return Ee||(Ee=!0,de("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),U.Provider},set:function(yt){U.Provider=yt}},_currentValue:{get:function(){return U._currentValue},set:function(yt){U._currentValue=yt}},_currentValue2:{get:function(){return U._currentValue2},set:function(yt){U._currentValue2=yt}},_threadCount:{get:function(){return U._threadCount},set:function(yt){U._threadCount=yt}},Consumer:{get:function(){return me||(me=!0,de("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),U.Consumer}},displayName:{get:function(){return U.displayName},set:function(yt){Qe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Qe=!0)}}}),U.Consumer=Pt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,We=0,Ae=1,Je=2;function I(x){if(x._status===Me){var U=x._result,me=U();if(me.then(function(Pt){if(x._status===We||x._status===Me){var yt=x;yt._status=Ae,yt._result=Pt}},function(Pt){if(x._status===We||x._status===Me){var yt=x;yt._status=Je,yt._result=Pt}}),x._status===Me){var Ee=x;Ee._status=We,Ee._result=me}}if(x._status===Ae){var Qe=x._result;return Qe===void 0&&de(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -10,7 +10,7 @@ Your code should look like:
10
10
  1. You might have mismatching versions of React and the renderer (such as React DOM)
11
11
  2. You might be breaking the Rules of Hooks
12
12
  3. You might have more than one copy of React in the same app
13
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function q(x){var U=D();if(x._context!==void 0){var me=x._context;me.Consumer===x?de("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?"):me.Provider===x&&de("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return U.useContext(x)}function pe(x){var U=D();return U.useState(x)}function Te(x,U,me){var Ee=D();return Ee.useReducer(x,U,me)}function He(x){var U=D();return U.useRef(x)}function ft(x,U){var me=D();return me.useEffect(x,U)}function Ze(x,U){var me=D();return me.useInsertionEffect(x,U)}function Ke(x,U){var me=D();return me.useLayoutEffect(x,U)}function Ct(x,U){var me=D();return me.useCallback(x,U)}function Et(x,U){var me=D();return me.useMemo(x,U)}function Wt(x,U,me){var Ee=D();return Ee.useImperativeHandle(x,U,me)}function $r(x,U){{var me=D();return me.useDebugValue(x,U)}}function Ua(){var x=D();return x.useTransition()}function ia(x){var U=D();return U.useDeferredValue(x)}function la(){var x=D();return x.useId()}function Ka(x,U,me){var Ee=D();return Ee.useSyncExternalStore(x,U,me)}var Ot=0,qn,ss,cs,Jt,aa,tn,Gr;function Yn(){}Yn.__reactDisabledLog=!0;function Su(){{if(Ot===0){qn=console.log,ss=console.info,cs=console.warn,Jt=console.error,aa=console.group,tn=console.groupCollapsed,Gr=console.groupEnd;var x={configurable:!0,enumerable:!0,value:Yn,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}Ot++}}function ip(){{if(Ot--,Ot===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},x,{value:qn}),info:se({},x,{value:ss}),warn:se({},x,{value:cs}),error:se({},x,{value:Jt}),group:se({},x,{value:aa}),groupCollapsed:se({},x,{value:tn}),groupEnd:se({},x,{value:Gr})})}Ot<0&&de("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lp=H.ReactCurrentDispatcher,wu;function Cc(x,U,me){{if(wu===void 0)try{throw Error()}catch(Qe){var Ee=Qe.stack.trim().match(/\n( *(at )?)/);wu=Ee&&Ee[1]||""}return`
13
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function q(x){var U=D();if(x._context!==void 0){var me=x._context;me.Consumer===x?de("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?"):me.Provider===x&&de("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return U.useContext(x)}function pe(x){var U=D();return U.useState(x)}function Te(x,U,me){var Ee=D();return Ee.useReducer(x,U,me)}function He(x){var U=D();return U.useRef(x)}function ft(x,U){var me=D();return me.useEffect(x,U)}function Ze(x,U){var me=D();return me.useInsertionEffect(x,U)}function Ke(x,U){var me=D();return me.useLayoutEffect(x,U)}function Ct(x,U){var me=D();return me.useCallback(x,U)}function Et(x,U){var me=D();return me.useMemo(x,U)}function Wt(x,U,me){var Ee=D();return Ee.useImperativeHandle(x,U,me)}function $r(x,U){{var me=D();return me.useDebugValue(x,U)}}function Va(){var x=D();return x.useTransition()}function ia(x){var U=D();return U.useDeferredValue(x)}function la(){var x=D();return x.useId()}function Xa(x,U,me){var Ee=D();return Ee.useSyncExternalStore(x,U,me)}var Ot=0,qn,cs,us,Jt,aa,tn,Gr;function Yn(){}Yn.__reactDisabledLog=!0;function Su(){{if(Ot===0){qn=console.log,cs=console.info,us=console.warn,Jt=console.error,aa=console.group,tn=console.groupCollapsed,Gr=console.groupEnd;var x={configurable:!0,enumerable:!0,value:Yn,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}Ot++}}function ip(){{if(Ot--,Ot===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},x,{value:qn}),info:se({},x,{value:cs}),warn:se({},x,{value:us}),error:se({},x,{value:Jt}),group:se({},x,{value:aa}),groupCollapsed:se({},x,{value:tn}),groupEnd:se({},x,{value:Gr})})}Ot<0&&de("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lp=H.ReactCurrentDispatcher,wu;function Cc(x,U,me){{if(wu===void 0)try{throw Error()}catch(Qe){var Ee=Qe.stack.trim().match(/\n( *(at )?)/);wu=Ee&&Ee[1]||""}return`
14
14
  `+wu+x}}var _l=!1,xc;{var kf=typeof WeakMap=="function"?WeakMap:Map;xc=new kf}function wm(x,U){if(!x||_l)return"";{var me=xc.get(x);if(me!==void 0)return me}var Ee;_l=!0;var Qe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Pt;Pt=lp.current,lp.current=null,Su();try{if(U){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch(rn){Ee=rn}Reflect.construct(x,[],yt)}else{try{yt.call()}catch(rn){Ee=rn}x.call(yt.prototype)}}else{try{throw Error()}catch(rn){Ee=rn}x()}}catch(rn){if(rn&&Ee&&typeof rn.stack=="string"){for(var Zt=rn.stack.split(`
15
15
  `),Tr=Ee.stack.split(`
16
16
  `),Ur=Zt.length-1,sa=Tr.length-1;Ur>=1&&sa>=0&&Zt[Ur]!==Tr[sa];)sa--;for(;Ur>=1&&sa>=0;Ur--,sa--)if(Zt[Ur]!==Tr[sa]){if(Ur!==1||sa!==1)do if(Ur--,sa--,sa<0||Zt[Ur]!==Tr[sa]){var ca=`
@@ -20,7 +20,7 @@ Check the render method of \``+x+"`."}return""}function Wg(x){if(x!==void 0){var
20
20
 
21
21
  Check your code at `+U+":"+me+"."}return""}function km(x){return x!=null?Wg(x.__source):""}var rr={};function Tm(x){var U=Hr();if(!U){var me=typeof x=="string"?x:x.displayName||x.name;me&&(U=`
22
22
 
23
- Check the top-level render call using <`+me+">.")}return U}function In(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var me=Tm(U);if(!rr[me]){rr[me]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+Ut(x._owner.type)+"."),Tc(x),de('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',me,Ee),Tc(null)}}}function Ec(x,U){if(typeof x=="object"){if(Xe(x))for(var me=0;me<x.length;me++){var Ee=x[me];bt(Ee)&&In(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Qe=N(x);if(typeof Qe=="function"&&Qe!==x.entries)for(var Pt=Qe.call(x),yt;!(yt=Pt.next()).done;)bt(yt.value)&&In(yt.value,U)}}}function Rc(x){{var U=x.type;if(U==null||typeof U=="string")return;var me;if(typeof U=="function")me=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))me=U.propTypes;else return;if(me){var Ee=Ut(U);xm(me,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Rf){Rf=!0;var Qe=Ut(U);de("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Qe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&de("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function qg(x){{for(var U=Object.keys(x.props),me=0;me<U.length;me++){var Ee=U[me];if(Ee!=="children"&&Ee!=="key"){Tc(x),de("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),Tc(null);break}}x.ref!==null&&(Tc(x),de("Invalid attribute `ref` supplied to `React.Fragment`."),Tc(null))}}function _n(x,U,me){var Ee=Ve(x);if(!Ee){var Qe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Qe+=" 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 Pt=km(U);Pt?Qe+=Pt:Qe+=Hr();var yt;x===null?yt="null":Xe(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(Ut(x.type)||"Unknown")+" />",Qe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,de("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Qe)}var Zt=ga.apply(this,arguments);if(Zt==null)return Zt;if(Ee)for(var Tr=2;Tr<arguments.length;Tr++)Ec(arguments[Tr],x);return x===s?qg(Zt):Rc(Zt),Zt}var xa=!1;function Yg(x){var U=_n.bind(null,x);return U.type=x,xa||(xa=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(U,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),U}function gl(x,U,me){for(var Ee=ct.apply(this,arguments),Qe=2;Qe<arguments.length;Qe++)Ec(arguments[Qe],Ee.type);return Rc(Ee),Ee}function _o(x,U){var me=M.transition;M.transition={};var Ee=M.transition;M.transition._updatedFibers=new Set;try{x()}finally{if(M.transition=me,me===null&&Ee._updatedFibers){var Qe=Ee._updatedFibers.size;Qe>10&&le("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."),Ee._updatedFibers.clear()}}}var Il=!1,Df=null;function cp(x){if(Df===null)try{var U=("require"+Math.random()).slice(0,7),me=O_&&O_[U];Df=me.call(O_,"timers").setImmediate}catch(Ee){Df=function(Qe){Il===!1&&(Il=!0,typeof MessageChannel=="undefined"&&de("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 Pt=new MessageChannel;Pt.port1.onmessage=Qe,Pt.port2.postMessage(void 0)}}return Df(x)}var Is=0,up=!1;function Em(x){{var U=Is;Is++,j.current===null&&(j.current=[]);var me=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!me&&j.didScheduleLegacyUpdate){var Qe=j.current;Qe!==null&&(j.didScheduleLegacyUpdate=!1,Lf(Qe))}}catch(ha){throw Af(U),ha}finally{j.isBatchingLegacy=me}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Pt=Ee,yt=!1,Zt={then:function(ha,Da){yt=!0,Pt.then(function(rn){Af(U),Is===0?fp(rn,ha,Da):ha(rn)},function(rn){Af(U),Da(rn)})}};return!up&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(up=!0,de("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 () => ...);"))}),Zt}else{var Tr=Ee;if(Af(U),Is===0){var Ur=j.current;Ur!==null&&(Lf(Ur),j.current=null);var sa={then:function(ha,Da){j.current===null?(j.current=[],fp(Tr,ha,Da)):ha(Tr)}};return sa}else{var ca={then:function(ha,Da){ha(Tr)}};return ca}}}}function Af(x){x!==Is-1&&de("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Is=x}function fp(x,U,me){{var Ee=j.current;if(Ee!==null)try{Lf(Ee),cp(function(){Ee.length===0?(j.current=null,U(x)):fp(x,U,me)})}catch(Qe){me(Qe)}else U(x)}}var Dc=!1;function Lf(x){if(!Dc){Dc=!0;var U=0;try{for(;U<x.length;U++){var me=x[U];do me=me(!0);while(me!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Dc=!1}}}var Nf=_n,Rm=gl,Dm=Yg,Am={map:z,forEach:oe,count:G,toArray:ne,only:Oe};wr.Children=Am,wr.Component=Se,wr.Fragment=s,wr.Profiler=f,wr.PureComponent=et,wr.StrictMode=l,wr.Suspense=m,wr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,wr.act=Em,wr.cloneElement=Rm,wr.createContext=Pe,wr.createElement=Nf,wr.createFactory=Dm,wr.createRef=$t,wr.forwardRef=re,wr.isValidElement=bt,wr.lazy=V,wr.memo=Be,wr.startTransition=_o,wr.unstable_act=Em,wr.useCallback=Ct,wr.useContext=q,wr.useDebugValue=$r,wr.useDeferredValue=ia,wr.useEffect=ft,wr.useId=la,wr.useImperativeHandle=Wt,wr.useInsertionEffect=Ze,wr.useLayoutEffect=Ke,wr.useMemo=Et,wr.useReducer=Te,wr.useRef=He,wr.useState=pe,wr.useSyncExternalStore=Ka,wr.useTransition=Ua,wr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var fr=Ue((G$,Xk)=>{"use strict";Xk.exports=Kk()});var Qk=Ue(fa=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,a=!1,o=5;function s(ze,ct){var bt=ze.length;ze.push(ct),u(ze,ct,bt)}function l(ze){return ze.length===0?null:ze[0]}function f(ze){if(ze.length===0)return null;var ct=ze[0],bt=ze.pop();return bt!==ct&&(ze[0]=bt,h(ze,bt,0)),ct}function u(ze,ct,bt){for(var Gt=bt;Gt>0;){var Vt=Gt-1>>>1,Rr=ze[Vt];if(p(Rr,ct)>0)ze[Vt]=ct,ze[Gt]=Rr,Gt=Vt;else return}}function h(ze,ct,bt){for(var Gt=bt,Vt=ze.length,Rr=Vt>>>1;Gt<Rr;){var _r=(Gt+1)*2-1,Yr=ze[_r],$=_r+1,P=ze[$];if(p(Yr,ct)<0)$<Vt&&p(P,Yr)<0?(ze[Gt]=P,ze[$]=ct,Gt=$):(ze[Gt]=Yr,ze[_r]=ct,Gt=_r);else if($<Vt&&p(P,ct)<0)ze[Gt]=P,ze[$]=ct,Gt=$;else return}}function p(ze,ct){var bt=ze.sortIndex-ct.sortIndex;return bt!==0?bt:ze.id-ct.id}var m=1,g=2,b=3,S=4,w=5;function k(ze,ct){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var N=performance;fa.unstable_now=function(){return N.now()}}else{var Y=Date,M=Y.now();fa.unstable_now=function(){return Y.now()-M}}var j=1073741823,F=-1,Z=250,O=5e3,ae=1e4,ge=j,ee=[],ye=[],be=1,he=null,H=b,le=!1,de=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ie=typeof clearTimeout=="function"?clearTimeout:null,te=typeof setImmediate!="undefined"?setImmediate:null,se=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function we(ze){for(var ct=l(ye);ct!==null;){if(ct.callback===null)f(ye);else if(ct.startTime<=ze)f(ye),ct.sortIndex=ct.expirationTime,s(ee,ct);else return;ct=l(ye)}}function Se(ze){if(B=!1,we(ze),!de)if(l(ee)!==null)de=!0,pa(je);else{var ct=l(ye);ct!==null&&kr(Se,ct.startTime-ze)}}function je(ze,ct){de=!1,B&&(B=!1,vr()),le=!0;var bt=H;try{if(a)try{return Ye(ze,ct)}catch(Vt){if(he!==null){var Gt=fa.unstable_now();he.isQueued=!1}throw Vt}else return Ye(ze,ct)}finally{he=null,H=bt,le=!1}}function Ye(ze,ct){var bt=ct;for(we(bt),he=l(ee);he!==null&&!r&&!(he.expirationTime>bt&&(!ze||dr()));){var Gt=he.callback;if(typeof Gt=="function"){he.callback=null,H=he.priorityLevel;var Vt=he.expirationTime<=bt,Rr=Gt(Vt);bt=fa.unstable_now(),typeof Rr=="function"?he.callback=Rr:he===l(ee)&&f(ee),we(bt)}else f(ee);he=l(ee)}if(he!==null)return!0;var _r=l(ye);return _r!==null&&kr(Se,_r.startTime-bt),!1}function Ge(ze,ct){switch(ze){case m:case g:case b:case S:case w:break;default:ze=b}var bt=H;H=ze;try{return ct()}finally{H=bt}}function rt(ze){var ct;switch(H){case m:case g:case b:ct=b;break;default:ct=H;break}var bt=H;H=ct;try{return ze()}finally{H=bt}}function et(ze){var ct=H;return function(){var bt=H;H=ct;try{return ze.apply(this,arguments)}finally{H=bt}}}function Nt(ze,ct,bt){var Gt=fa.unstable_now(),Vt;if(typeof bt=="object"&&bt!==null){var Rr=bt.delay;typeof Rr=="number"&&Rr>0?Vt=Gt+Rr:Vt=Gt}else Vt=Gt;var _r;switch(ze){case m:_r=F;break;case g:_r=Z;break;case w:_r=ge;break;case S:_r=ae;break;case b:default:_r=O;break}var Yr=Vt+_r,$={id:be++,callback:ct,priorityLevel:ze,startTime:Vt,expirationTime:Yr,sortIndex:-1};return Vt>Gt?($.sortIndex=Vt,s(ye,$),l(ee)===null&&$===l(ye)&&(B?vr():B=!0,kr(Se,Vt-Gt))):($.sortIndex=Yr,s(ee,$),!de&&!le&&(de=!0,pa(je))),$}function $t(){}function dt(){!de&&!le&&(de=!0,pa(je))}function Xe(){return l(ee)}function ke(ze){ze.callback=null}function ot(){return H}var kt=!1,Tt=null,wt=-1,tr=o,Ut=-1;function dr(){var ze=fa.unstable_now()-Ut;return!(ze<tr)}function ra(){}function jr(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?tr=Math.floor(1e3/ze):tr=o}var qr=function(){if(Tt!==null){var ze=fa.unstable_now();Ut=ze;var ct=!0,bt=!0;try{bt=Tt(ct,ze)}finally{bt?xr():(kt=!1,Tt=null)}}else kt=!1},xr;if(typeof te=="function")xr=function(){te(qr)};else if(typeof MessageChannel!="undefined"){var pr=new MessageChannel,br=pr.port2;pr.port1.onmessage=qr,xr=function(){br.postMessage(null)}}else xr=function(){W(qr,0)};function pa(ze){Tt=ze,kt||(kt=!0,xr())}function kr(ze,ct){wt=W(function(){ze(fa.unstable_now())},ct)}function vr(){ie(wt),wt=-1}var Pr=ra,ga=null;fa.unstable_IdlePriority=w,fa.unstable_ImmediatePriority=m,fa.unstable_LowPriority=S,fa.unstable_NormalPriority=b,fa.unstable_Profiling=ga,fa.unstable_UserBlockingPriority=g,fa.unstable_cancelCallback=ke,fa.unstable_continueExecution=dt,fa.unstable_forceFrameRate=jr,fa.unstable_getCurrentPriorityLevel=ot,fa.unstable_getFirstCallbackNode=Xe,fa.unstable_next=rt,fa.unstable_pauseExecution=$t,fa.unstable_requestPaint=Pr,fa.unstable_runWithPriority=Ge,fa.unstable_scheduleCallback=Nt,fa.unstable_shouldYield=dr,fa.unstable_wrapCallback=et,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Zk=Ue((X$,Jk)=>{"use strict";Jk.exports=Qk()});var eT=Ue(Wo=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=fr(),a=Zk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=!1;function l(e){s=e}function f(e){if(!s){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function u(e){if(!s){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("error",e,n)}}function h(e,t,n){{var i=o.ReactDebugCurrentFrame,c=i.getStackAddendum();c!==""&&(t+="%s",n=n.concat([c]));var d=n.map(function(_){return String(_)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var p=0,m=1,g=2,b=3,S=4,w=5,k=6,L=7,N=8,Y=9,M=10,j=11,F=12,Z=13,O=14,ae=15,ge=16,ee=17,ye=18,be=19,he=21,H=22,le=23,de=24,B=25,W=!0,ie=!1,te=!1,se=!1,we=!1,Se=!0,je=!1,Ye=!0,Ge=!0,rt=!0,et=!0,Nt=new Set,$t={},dt={};function Xe(e,t){ke(e,t),ke(e+"Capture",t)}function ke(e,t){$t[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),$t[e]=t;{var n=e.toLowerCase();dt[n]=e,e==="onDoubleClick"&&(dt.ondblclick=e)}for(var i=0;i<t.length;i++)Nt.add(t[i])}var ot=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",kt=Object.prototype.hasOwnProperty;function Tt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function wt(e){try{return tr(e),!1}catch(t){return!0}}function tr(e){return""+e}function Ut(e,t){if(wt(e))return u("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function dr(e){if(wt(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Tt(e)),tr(e)}function ra(e,t){if(wt(e))return u("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function jr(e,t){if(wt(e))return u("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function qr(e){if(wt(e))return u("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Tt(e)),tr(e)}function xr(e){if(wt(e))return u("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.",Tt(e)),tr(e)}var pr=0,br=1,pa=2,kr=3,vr=4,Pr=5,ga=6,ze=":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",ct=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+ze+"]["+ct+"]*$"),Gt={},Vt={};function Rr(e){return kt.call(Vt,e)?!0:kt.call(Gt,e)?!1:bt.test(e)?(Vt[e]=!0,!0):(Gt[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function _r(e,t,n){return t!==null?t.type===pr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Yr(e,t,n,i){if(n!==null&&n.type===pr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var c=e.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function $(e,t,n,i){if(t===null||typeof t=="undefined"||Yr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case kr:return!t;case vr:return t===!1;case Pr:return isNaN(t);case ga:return isNaN(t)||t<1}return!1}function P(e){return z.hasOwnProperty(e)?z[e]:null}function R(e,t,n,i,c,d,_){this.acceptsBooleans=t===pa||t===kr||t===vr,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=_}var z={},G=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];G.forEach(function(e){z[e]=new R(e,pr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];z[t]=new R(t,br,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new R(e,pa,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new R(e,pa,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){z[e]=new R(e,kr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,kr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,vr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,ga,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Pr,!1,e.toLowerCase(),null,!1,!1)});var oe=/[\-\:]([a-z])/g,ne=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new R(t,br,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new R(t,br,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new R(t,br,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,br,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",br,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,br,!1,e.toLowerCase(),null,!0,!0)});var Pe=/^[\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,Me=!1;function We(e){!Me&&Pe.test(e)&&(Me=!0,u("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(e)))}function Ae(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{Ut(n,t),i.sanitizeURL&&We(""+n);var d=i.attributeName,_=null;if(i.type===vr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:$(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if($(t,n,i,!1))return e.getAttribute(d);if(i.type===kr)return n;_=e.getAttribute(d)}return $(t,n,i,!1)?_===null?n:_:_===""+n?n:_}}function Je(e,t,n,i){{if(!Rr(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var c=e.getAttribute(t);return Ut(n,t),c===""+n?n:c}}function I(e,t,n,i){var c=P(t);if(!_r(t,c,i)){if($(t,n,c,i)&&(n=null),i||c===null){if(Rr(t)){var d=t;n===null?e.removeAttribute(d):(Ut(n,t),e.setAttribute(d,""+n))}return}var _=c.mustUseProperty;if(_){var y=c.propertyName;if(n===null){var C=c.type;e[y]=C===kr?!1:""}else e[y]=n;return}var E=c.attributeName,A=c.attributeNamespace;if(n===null)e.removeAttribute(E);else{var J=c.type,Q;J===kr||J===vr&&n===!0?Q="":(Ut(n,E),Q=""+n,c.sanitizeURL&&We(Q.toString())),A?e.setAttributeNS(A,E,Q):e.setAttribute(E,Q)}}}var V=Symbol.for("react.element"),re=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Ze=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),Et=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),$r=Symbol.for("react.cache"),Ua=Symbol.for("react.tracing_marker"),ia=Symbol.iterator,la="@@iterator";function Ka(e){if(e===null||typeof e!="object")return null;var t=ia&&e[ia]||e[la];return typeof t=="function"?t:null}var Ot=Object.assign,qn=0,ss,cs,Jt,aa,tn,Gr,Yn;function Su(){}Su.__reactDisabledLog=!0;function ip(){{if(qn===0){ss=console.log,cs=console.info,Jt=console.warn,aa=console.error,tn=console.group,Gr=console.groupCollapsed,Yn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Su,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}qn++}}function lp(){{if(qn--,qn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ot({},e,{value:ss}),info:Ot({},e,{value:cs}),warn:Ot({},e,{value:Jt}),error:Ot({},e,{value:aa}),group:Ot({},e,{value:tn}),groupCollapsed:Ot({},e,{value:Gr}),groupEnd:Ot({},e,{value:Yn})})}qn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var wu=o.ReactCurrentDispatcher,Cc;function _l(e,t,n){{if(Cc===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);Cc=i&&i[1]||""}return`
23
+ Check the top-level render call using <`+me+">.")}return U}function In(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var me=Tm(U);if(!rr[me]){rr[me]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+Ut(x._owner.type)+"."),Tc(x),de('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',me,Ee),Tc(null)}}}function Ec(x,U){if(typeof x=="object"){if(Xe(x))for(var me=0;me<x.length;me++){var Ee=x[me];bt(Ee)&&In(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Qe=N(x);if(typeof Qe=="function"&&Qe!==x.entries)for(var Pt=Qe.call(x),yt;!(yt=Pt.next()).done;)bt(yt.value)&&In(yt.value,U)}}}function Rc(x){{var U=x.type;if(U==null||typeof U=="string")return;var me;if(typeof U=="function")me=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))me=U.propTypes;else return;if(me){var Ee=Ut(U);xm(me,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Rf){Rf=!0;var Qe=Ut(U);de("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Qe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&de("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function qg(x){{for(var U=Object.keys(x.props),me=0;me<U.length;me++){var Ee=U[me];if(Ee!=="children"&&Ee!=="key"){Tc(x),de("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),Tc(null);break}}x.ref!==null&&(Tc(x),de("Invalid attribute `ref` supplied to `React.Fragment`."),Tc(null))}}function _n(x,U,me){var Ee=Ve(x);if(!Ee){var Qe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Qe+=" 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 Pt=km(U);Pt?Qe+=Pt:Qe+=Hr();var yt;x===null?yt="null":Xe(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(Ut(x.type)||"Unknown")+" />",Qe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,de("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Qe)}var Zt=ga.apply(this,arguments);if(Zt==null)return Zt;if(Ee)for(var Tr=2;Tr<arguments.length;Tr++)Ec(arguments[Tr],x);return x===s?qg(Zt):Rc(Zt),Zt}var xa=!1;function Yg(x){var U=_n.bind(null,x);return U.type=x,xa||(xa=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(U,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),U}function gl(x,U,me){for(var Ee=ct.apply(this,arguments),Qe=2;Qe<arguments.length;Qe++)Ec(arguments[Qe],Ee.type);return Rc(Ee),Ee}function _o(x,U){var me=M.transition;M.transition={};var Ee=M.transition;M.transition._updatedFibers=new Set;try{x()}finally{if(M.transition=me,me===null&&Ee._updatedFibers){var Qe=Ee._updatedFibers.size;Qe>10&&le("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."),Ee._updatedFibers.clear()}}}var Il=!1,Df=null;function cp(x){if(Df===null)try{var U=("require"+Math.random()).slice(0,7),me=O_&&O_[U];Df=me.call(O_,"timers").setImmediate}catch(Ee){Df=function(Qe){Il===!1&&(Il=!0,typeof MessageChannel=="undefined"&&de("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 Pt=new MessageChannel;Pt.port1.onmessage=Qe,Pt.port2.postMessage(void 0)}}return Df(x)}var Is=0,up=!1;function Em(x){{var U=Is;Is++,j.current===null&&(j.current=[]);var me=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!me&&j.didScheduleLegacyUpdate){var Qe=j.current;Qe!==null&&(j.didScheduleLegacyUpdate=!1,Lf(Qe))}}catch(ha){throw Af(U),ha}finally{j.isBatchingLegacy=me}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Pt=Ee,yt=!1,Zt={then:function(ha,Da){yt=!0,Pt.then(function(rn){Af(U),Is===0?fp(rn,ha,Da):ha(rn)},function(rn){Af(U),Da(rn)})}};return!up&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(up=!0,de("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 () => ...);"))}),Zt}else{var Tr=Ee;if(Af(U),Is===0){var Ur=j.current;Ur!==null&&(Lf(Ur),j.current=null);var sa={then:function(ha,Da){j.current===null?(j.current=[],fp(Tr,ha,Da)):ha(Tr)}};return sa}else{var ca={then:function(ha,Da){ha(Tr)}};return ca}}}}function Af(x){x!==Is-1&&de("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Is=x}function fp(x,U,me){{var Ee=j.current;if(Ee!==null)try{Lf(Ee),cp(function(){Ee.length===0?(j.current=null,U(x)):fp(x,U,me)})}catch(Qe){me(Qe)}else U(x)}}var Dc=!1;function Lf(x){if(!Dc){Dc=!0;var U=0;try{for(;U<x.length;U++){var me=x[U];do me=me(!0);while(me!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Dc=!1}}}var Nf=_n,Rm=gl,Dm=Yg,Am={map:z,forEach:oe,count:G,toArray:ne,only:Oe};wr.Children=Am,wr.Component=Se,wr.Fragment=s,wr.Profiler=f,wr.PureComponent=et,wr.StrictMode=l,wr.Suspense=m,wr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,wr.act=Em,wr.cloneElement=Rm,wr.createContext=Pe,wr.createElement=Nf,wr.createFactory=Dm,wr.createRef=$t,wr.forwardRef=re,wr.isValidElement=bt,wr.lazy=V,wr.memo=Be,wr.startTransition=_o,wr.unstable_act=Em,wr.useCallback=Ct,wr.useContext=q,wr.useDebugValue=$r,wr.useDeferredValue=ia,wr.useEffect=ft,wr.useId=la,wr.useImperativeHandle=Wt,wr.useInsertionEffect=Ze,wr.useLayoutEffect=Ke,wr.useMemo=Et,wr.useReducer=Te,wr.useRef=He,wr.useState=pe,wr.useSyncExternalStore=Xa,wr.useTransition=Va,wr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var fr=Ue((G$,Xk)=>{"use strict";Xk.exports=Kk()});var Qk=Ue(fa=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,a=!1,o=5;function s(ze,ct){var bt=ze.length;ze.push(ct),u(ze,ct,bt)}function l(ze){return ze.length===0?null:ze[0]}function f(ze){if(ze.length===0)return null;var ct=ze[0],bt=ze.pop();return bt!==ct&&(ze[0]=bt,h(ze,bt,0)),ct}function u(ze,ct,bt){for(var Gt=bt;Gt>0;){var Vt=Gt-1>>>1,Rr=ze[Vt];if(p(Rr,ct)>0)ze[Vt]=ct,ze[Gt]=Rr,Gt=Vt;else return}}function h(ze,ct,bt){for(var Gt=bt,Vt=ze.length,Rr=Vt>>>1;Gt<Rr;){var _r=(Gt+1)*2-1,Yr=ze[_r],$=_r+1,P=ze[$];if(p(Yr,ct)<0)$<Vt&&p(P,Yr)<0?(ze[Gt]=P,ze[$]=ct,Gt=$):(ze[Gt]=Yr,ze[_r]=ct,Gt=_r);else if($<Vt&&p(P,ct)<0)ze[Gt]=P,ze[$]=ct,Gt=$;else return}}function p(ze,ct){var bt=ze.sortIndex-ct.sortIndex;return bt!==0?bt:ze.id-ct.id}var m=1,g=2,b=3,S=4,w=5;function k(ze,ct){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var N=performance;fa.unstable_now=function(){return N.now()}}else{var Y=Date,M=Y.now();fa.unstable_now=function(){return Y.now()-M}}var j=1073741823,F=-1,Z=250,O=5e3,ae=1e4,ge=j,ee=[],ye=[],be=1,he=null,H=b,le=!1,de=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ie=typeof clearTimeout=="function"?clearTimeout:null,te=typeof setImmediate!="undefined"?setImmediate:null,se=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function we(ze){for(var ct=l(ye);ct!==null;){if(ct.callback===null)f(ye);else if(ct.startTime<=ze)f(ye),ct.sortIndex=ct.expirationTime,s(ee,ct);else return;ct=l(ye)}}function Se(ze){if(B=!1,we(ze),!de)if(l(ee)!==null)de=!0,pa(je);else{var ct=l(ye);ct!==null&&kr(Se,ct.startTime-ze)}}function je(ze,ct){de=!1,B&&(B=!1,vr()),le=!0;var bt=H;try{if(a)try{return Ye(ze,ct)}catch(Vt){if(he!==null){var Gt=fa.unstable_now();he.isQueued=!1}throw Vt}else return Ye(ze,ct)}finally{he=null,H=bt,le=!1}}function Ye(ze,ct){var bt=ct;for(we(bt),he=l(ee);he!==null&&!r&&!(he.expirationTime>bt&&(!ze||dr()));){var Gt=he.callback;if(typeof Gt=="function"){he.callback=null,H=he.priorityLevel;var Vt=he.expirationTime<=bt,Rr=Gt(Vt);bt=fa.unstable_now(),typeof Rr=="function"?he.callback=Rr:he===l(ee)&&f(ee),we(bt)}else f(ee);he=l(ee)}if(he!==null)return!0;var _r=l(ye);return _r!==null&&kr(Se,_r.startTime-bt),!1}function Ge(ze,ct){switch(ze){case m:case g:case b:case S:case w:break;default:ze=b}var bt=H;H=ze;try{return ct()}finally{H=bt}}function rt(ze){var ct;switch(H){case m:case g:case b:ct=b;break;default:ct=H;break}var bt=H;H=ct;try{return ze()}finally{H=bt}}function et(ze){var ct=H;return function(){var bt=H;H=ct;try{return ze.apply(this,arguments)}finally{H=bt}}}function Nt(ze,ct,bt){var Gt=fa.unstable_now(),Vt;if(typeof bt=="object"&&bt!==null){var Rr=bt.delay;typeof Rr=="number"&&Rr>0?Vt=Gt+Rr:Vt=Gt}else Vt=Gt;var _r;switch(ze){case m:_r=F;break;case g:_r=Z;break;case w:_r=ge;break;case S:_r=ae;break;case b:default:_r=O;break}var Yr=Vt+_r,$={id:be++,callback:ct,priorityLevel:ze,startTime:Vt,expirationTime:Yr,sortIndex:-1};return Vt>Gt?($.sortIndex=Vt,s(ye,$),l(ee)===null&&$===l(ye)&&(B?vr():B=!0,kr(Se,Vt-Gt))):($.sortIndex=Yr,s(ee,$),!de&&!le&&(de=!0,pa(je))),$}function $t(){}function dt(){!de&&!le&&(de=!0,pa(je))}function Xe(){return l(ee)}function ke(ze){ze.callback=null}function it(){return H}var kt=!1,Tt=null,wt=-1,tr=o,Ut=-1;function dr(){var ze=fa.unstable_now()-Ut;return!(ze<tr)}function ra(){}function jr(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?tr=Math.floor(1e3/ze):tr=o}var qr=function(){if(Tt!==null){var ze=fa.unstable_now();Ut=ze;var ct=!0,bt=!0;try{bt=Tt(ct,ze)}finally{bt?xr():(kt=!1,Tt=null)}}else kt=!1},xr;if(typeof te=="function")xr=function(){te(qr)};else if(typeof MessageChannel!="undefined"){var pr=new MessageChannel,br=pr.port2;pr.port1.onmessage=qr,xr=function(){br.postMessage(null)}}else xr=function(){W(qr,0)};function pa(ze){Tt=ze,kt||(kt=!0,xr())}function kr(ze,ct){wt=W(function(){ze(fa.unstable_now())},ct)}function vr(){ie(wt),wt=-1}var Pr=ra,ga=null;fa.unstable_IdlePriority=w,fa.unstable_ImmediatePriority=m,fa.unstable_LowPriority=S,fa.unstable_NormalPriority=b,fa.unstable_Profiling=ga,fa.unstable_UserBlockingPriority=g,fa.unstable_cancelCallback=ke,fa.unstable_continueExecution=dt,fa.unstable_forceFrameRate=jr,fa.unstable_getCurrentPriorityLevel=it,fa.unstable_getFirstCallbackNode=Xe,fa.unstable_next=rt,fa.unstable_pauseExecution=$t,fa.unstable_requestPaint=Pr,fa.unstable_runWithPriority=Ge,fa.unstable_scheduleCallback=Nt,fa.unstable_shouldYield=dr,fa.unstable_wrapCallback=et,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Zk=Ue((X$,Jk)=>{"use strict";Jk.exports=Qk()});var eT=Ue(Wo=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=fr(),a=Zk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=!1;function l(e){s=e}function f(e){if(!s){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function u(e){if(!s){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("error",e,n)}}function h(e,t,n){{var i=o.ReactDebugCurrentFrame,c=i.getStackAddendum();c!==""&&(t+="%s",n=n.concat([c]));var d=n.map(function(_){return String(_)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var p=0,m=1,g=2,b=3,S=4,w=5,k=6,L=7,N=8,Y=9,M=10,j=11,F=12,Z=13,O=14,ae=15,ge=16,ee=17,ye=18,be=19,he=21,H=22,le=23,de=24,B=25,W=!0,ie=!1,te=!1,se=!1,we=!1,Se=!0,je=!1,Ye=!0,Ge=!0,rt=!0,et=!0,Nt=new Set,$t={},dt={};function Xe(e,t){ke(e,t),ke(e+"Capture",t)}function ke(e,t){$t[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),$t[e]=t;{var n=e.toLowerCase();dt[n]=e,e==="onDoubleClick"&&(dt.ondblclick=e)}for(var i=0;i<t.length;i++)Nt.add(t[i])}var it=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",kt=Object.prototype.hasOwnProperty;function Tt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function wt(e){try{return tr(e),!1}catch(t){return!0}}function tr(e){return""+e}function Ut(e,t){if(wt(e))return u("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function dr(e){if(wt(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Tt(e)),tr(e)}function ra(e,t){if(wt(e))return u("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function jr(e,t){if(wt(e))return u("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Tt(e)),tr(e)}function qr(e){if(wt(e))return u("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Tt(e)),tr(e)}function xr(e){if(wt(e))return u("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.",Tt(e)),tr(e)}var pr=0,br=1,pa=2,kr=3,vr=4,Pr=5,ga=6,ze=":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",ct=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+ze+"]["+ct+"]*$"),Gt={},Vt={};function Rr(e){return kt.call(Vt,e)?!0:kt.call(Gt,e)?!1:bt.test(e)?(Vt[e]=!0,!0):(Gt[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function _r(e,t,n){return t!==null?t.type===pr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Yr(e,t,n,i){if(n!==null&&n.type===pr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var c=e.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function $(e,t,n,i){if(t===null||typeof t=="undefined"||Yr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case kr:return!t;case vr:return t===!1;case Pr:return isNaN(t);case ga:return isNaN(t)||t<1}return!1}function P(e){return z.hasOwnProperty(e)?z[e]:null}function R(e,t,n,i,c,d,_){this.acceptsBooleans=t===pa||t===kr||t===vr,this.attributeName=i,this.attributeNamespace=c,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=_}var z={},G=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];G.forEach(function(e){z[e]=new R(e,pr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];z[t]=new R(t,br,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new R(e,pa,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new R(e,pa,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){z[e]=new R(e,kr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,kr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,vr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,ga,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Pr,!1,e.toLowerCase(),null,!1,!1)});var oe=/[\-\:]([a-z])/g,ne=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new R(t,br,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new R(t,br,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(oe,ne);z[t]=new R(t,br,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,br,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",br,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,br,!1,e.toLowerCase(),null,!0,!0)});var Pe=/^[\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,Me=!1;function We(e){!Me&&Pe.test(e)&&(Me=!0,u("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(e)))}function Ae(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{Ut(n,t),i.sanitizeURL&&We(""+n);var d=i.attributeName,_=null;if(i.type===vr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:$(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if($(t,n,i,!1))return e.getAttribute(d);if(i.type===kr)return n;_=e.getAttribute(d)}return $(t,n,i,!1)?_===null?n:_:_===""+n?n:_}}function Je(e,t,n,i){{if(!Rr(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var c=e.getAttribute(t);return Ut(n,t),c===""+n?n:c}}function I(e,t,n,i){var c=P(t);if(!_r(t,c,i)){if($(t,n,c,i)&&(n=null),i||c===null){if(Rr(t)){var d=t;n===null?e.removeAttribute(d):(Ut(n,t),e.setAttribute(d,""+n))}return}var _=c.mustUseProperty;if(_){var y=c.propertyName;if(n===null){var C=c.type;e[y]=C===kr?!1:""}else e[y]=n;return}var E=c.attributeName,A=c.attributeNamespace;if(n===null)e.removeAttribute(E);else{var J=c.type,Q;J===kr||J===vr&&n===!0?Q="":(Ut(n,E),Q=""+n,c.sanitizeURL&&We(Q.toString())),A?e.setAttributeNS(A,E,Q):e.setAttribute(E,Q)}}}var V=Symbol.for("react.element"),re=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Ze=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),Et=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),$r=Symbol.for("react.cache"),Va=Symbol.for("react.tracing_marker"),ia=Symbol.iterator,la="@@iterator";function Xa(e){if(e===null||typeof e!="object")return null;var t=ia&&e[ia]||e[la];return typeof t=="function"?t:null}var Ot=Object.assign,qn=0,cs,us,Jt,aa,tn,Gr,Yn;function Su(){}Su.__reactDisabledLog=!0;function ip(){{if(qn===0){cs=console.log,us=console.info,Jt=console.warn,aa=console.error,tn=console.group,Gr=console.groupCollapsed,Yn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Su,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}qn++}}function lp(){{if(qn--,qn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ot({},e,{value:cs}),info:Ot({},e,{value:us}),warn:Ot({},e,{value:Jt}),error:Ot({},e,{value:aa}),group:Ot({},e,{value:tn}),groupCollapsed:Ot({},e,{value:Gr}),groupEnd:Ot({},e,{value:Yn})})}qn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var wu=o.ReactCurrentDispatcher,Cc;function _l(e,t,n){{if(Cc===void 0)try{throw Error()}catch(c){var i=c.stack.trim().match(/\n( *(at )?)/);Cc=i&&i[1]||""}return`
24
24
  `+Cc+e}}var xc=!1,kf;{var wm=typeof WeakMap=="function"?WeakMap:Map;kf=new wm}function sp(e,t){if(!e||xc)return"";{var n=kf.get(e);if(n!==void 0)return n}var i;xc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=wu.current,wu.current=null,ip();try{if(t){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(_e){i=_e}Reflect.construct(e,[],_)}else{try{_.call()}catch(_e){i=_e}e.call(_.prototype)}}else{try{throw Error()}catch(_e){i=_e}e()}}catch(_e){if(_e&&i&&typeof _e.stack=="string"){for(var y=_e.stack.split(`
25
25
  `),C=i.stack.split(`
26
26
  `),E=y.length-1,A=C.length-1;E>=1&&A>=0&&y[E]!==C[A];)A--;for(;E>=1&&A>=0;E--,A--)if(y[E]!==C[A]){if(E!==1||A!==1)do if(E--,A--,A<0||y[E]!==C[A]){var J=`
@@ -28,8 +28,8 @@ Check the top-level render call using <`+me+">.")}return U}function In(x,U){if(!
28
28
  Error generating stack: `+i.message+`
29
29
  `+i.stack}}function Tc(e,t,n){var i=e.displayName;if(i)return i;var c=t.displayName||t.name||"";return c!==""?n+"("+c+")":n}function Rf(e){return e.displayName||"Context"}function Hr(e){if(e==null)return null;if(typeof e.tag=="number"&&u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ce:return"Fragment";case re:return"Portal";case Be:return"Profiler";case Ve:return"StrictMode";case Te:return"Suspense";case He:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q:var t=e;return Rf(t)+".Consumer";case D:var n=e;return Rf(n._context)+".Provider";case pe:return Tc(e,e.render,"ForwardRef");case ft:var i=e.displayName||null;return i!==null?i:Hr(e.type)||"Memo";case Ze:{var c=e,d=c._payload,_=c._init;try{return Hr(_(d))}catch(y){return null}}}return null}function Wg(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function km(e){return e.displayName||"Context"}function rr(e){var t=e.tag,n=e.type;switch(t){case de:return"Cache";case Y:var i=n;return km(i)+".Consumer";case M:var c=n;return km(c._context)+".Provider";case ye:return"DehydratedFragment";case j:return Wg(n,n.render,"ForwardRef");case L:return"Fragment";case w:return n;case S:return"Portal";case b:return"Root";case k:return"Text";case ge:return Hr(n);case N:return n===Ve?"StrictMode":"Mode";case H:return"Offscreen";case F:return"Profiler";case he:return"Scope";case Z:return"Suspense";case be:return"SuspenseList";case B:return"TracingMarker";case m:case p:case ee:case g:case O:case ae:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Tm=o.ReactDebugCurrentFrame,In=null,Ec=!1;function Rc(){{if(In===null)return null;var e=In._debugOwner;if(e!==null&&typeof e!="undefined")return rr(e)}return null}function qg(){return In===null?"":xm(In)}function _n(){Tm.getCurrentStack=null,In=null,Ec=!1}function xa(e){Tm.getCurrentStack=e===null?null:qg,In=e,Ec=!1}function Yg(){return In}function gl(e){Ec=e}function _o(e){return""+e}function Il(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return xr(e),e;default:return""}}var Df={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function cp(e,t){Df[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||u("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||u("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 Is(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function up(e){return e._valueTracker}function Em(e){e._valueTracker=null}function Af(e){var t="";return e&&(Is(e)?t=e.checked?"true":"false":t=e.value),t}function fp(e){var t=Is(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);xr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var c=n.get,d=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(y){xr(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var _={getValue:function(){return i},setValue:function(y){xr(y),i=""+y},stopTracking:function(){Em(e),delete e[t]}};return _}}function Dc(e){up(e)||(e._valueTracker=fp(e))}function Lf(e){if(!e)return!1;var t=up(e);if(!t)return!0;var n=t.getValue(),i=Af(e);return i!==n?(t.setValue(i),!0):!1}function Nf(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}var Rm=!1,Dm=!1,Am=!1,x=!1;function U(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function me(e,t){var n=e,i=t.checked,c=Ot({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return c}function Ee(e,t){cp("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Dm&&(u("%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",Rc()||"A component",t.type),Dm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Rm&&(u("%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",Rc()||"A component",t.type),Rm=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Il(t.value!=null?t.value:i),controlled:U(t)}}function Qe(e,t){var n=e,i=t.checked;i!=null&&I(n,"checked",i,!1)}function Pt(e,t){var n=e;{var i=U(t);!n._wrapperState.controlled&&i&&!x&&(u("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"),x=!0),n._wrapperState.controlled&&!i&&!Am&&(u("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"),Am=!0)}Qe(e,t);var c=Il(t.value),d=t.type;if(c!=null)d==="number"?(c===0&&n.value===""||n.value!=c)&&(n.value=_o(c)):n.value!==_o(c)&&(n.value=_o(c));else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Ur(n,t.type,c):t.hasOwnProperty("defaultValue")&&Ur(n,t.type,Il(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function yt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var c=t.type,d=c==="submit"||c==="reset";if(d&&(t.value===void 0||t.value===null))return;var _=_o(i._wrapperState.initialValue);n||_!==i.value&&(i.value=_),i.defaultValue=_}var y=i.name;y!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,y!==""&&(i.name=y)}function Zt(e,t){var n=e;Pt(n,t),Tr(n,t)}function Tr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;Ut(n,"name");for(var c=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),d=0;d<c.length;d++){var _=c[d];if(!(_===e||_.form!==e.form)){var y=_v(_);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Lf(_),Pt(_,y)}}}}function Ur(e,t,n){(t!=="number"||Nf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=_o(e._wrapperState.initialValue):e.defaultValue!==_o(n)&&(e.defaultValue=_o(n)))}var sa=!1,ca=!1,ha=!1;function Da(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||ca||(ca=!0,u("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ha||(ha=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!sa&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sa=!0)}function rn(e,t){t.value!=null&&e.setAttribute("value",_o(Il(t.value)))}var Of=Array.isArray;function an(e){return Of(e)}var Mf;Mf=!1;function Lm(){var e=Rc();return e?`
30
30
 
31
- Check the render method of \``+e+"`.":""}var dp=["value","defaultValue"];function $g(e){{cp("select",e);for(var t=0;t<dp.length;t++){var n=dp[t];if(e[n]!=null){var i=an(e[n]);e.multiple&&!i?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Lm()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Lm())}}}}function zs(e,t,n,i){var c=e.options;if(t){for(var d=n,_={},y=0;y<d.length;y++)_["$"+d[y]]=!0;for(var C=0;C<c.length;C++){var E=_.hasOwnProperty("$"+c[C].value);c[C].selected!==E&&(c[C].selected=E),E&&i&&(c[C].defaultSelected=!0)}}else{for(var A=_o(Il(n)),J=null,Q=0;Q<c.length;Q++){if(c[Q].value===A){c[Q].selected=!0,i&&(c[Q].defaultSelected=!0);return}J===null&&!c[Q].disabled&&(J=c[Q])}J!==null&&(J.selected=!0)}}function pp(e,t){return Ot({},t,{value:void 0})}function jw(e,t){var n=e;$g(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Mf&&(u("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"),Mf=!0)}function ZM(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?zs(n,!!t.multiple,i,!1):t.defaultValue!=null&&zs(n,!!t.multiple,t.defaultValue,!0)}function eP(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?zs(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?zs(n,!!t.multiple,t.defaultValue,!0):zs(n,!!t.multiple,t.multiple?[]:"",!1))}function tP(e,t){var n=e,i=t.value;i!=null&&zs(n,!!t.multiple,i,!1)}var Hw=!1;function Gg(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Ot({},t,{value:void 0,defaultValue:void 0,children:_o(n._wrapperState.initialValue)});return i}function Uw(e,t){var n=e;cp("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Hw&&(u("%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",Rc()||"A component"),Hw=!0);var i=t.value;if(i==null){var c=t.children,d=t.defaultValue;if(c!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(an(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}d=c}}d==null&&(d=""),i=d}n._wrapperState={initialValue:Il(i)}}function Vw(e,t){var n=e,i=Il(t.value),c=Il(t.defaultValue);if(i!=null){var d=_o(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}c!=null&&(n.defaultValue=_o(c))}function Ww(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function rP(e,t){Vw(e,t)}var Bs="http://www.w3.org/1999/xhtml",aP="http://www.w3.org/1998/Math/MathML",Kg="http://www.w3.org/2000/svg";function Xg(e){switch(e){case"svg":return Kg;case"math":return aP;default:return Bs}}function Qg(e,t){return e==null||e===Bs?Xg(t):e===Kg&&t==="foreignObject"?Bs:e}var nP=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Nm,qw=nP(function(e,t){if(e.namespaceURI===Kg&&!("innerHTML"in e)){Nm=Nm||document.createElement("div"),Nm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Nm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),go=1,Fs=3,Xa=8,js=9,Jg=11,Om=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Fs){n.nodeValue=t;return}}e.textContent=t},oP={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"]},hp={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 iP(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var lP=["Webkit","ms","Moz","O"];Object.keys(hp).forEach(function(e){lP.forEach(function(t){hp[iP(t,e)]=hp[e]})});function Zg(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(hp.hasOwnProperty(e)&&hp[e])?t+"px":(jr(t,e),(""+t).trim())}var sP=/([A-Z])/g,cP=/^ms-/;function uP(e){return e.replace(sP,"-$1").toLowerCase().replace(cP,"-ms-")}var Yw=function(){};{var fP=/^(?:webkit|moz|o)[A-Z]/,dP=/^-ms-/,pP=/-(.)/g,$w=/;\s*$/,Pf={},eb={},Gw=!1,Kw=!1,hP=function(e){return e.replace(pP,function(t,n){return n.toUpperCase()})},mP=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,hP(e.replace(dP,"ms-"))))},vP=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},_P=function(e,t){eb.hasOwnProperty(t)&&eb[t]||(eb[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace($w,"")))},gP=function(e,t){Gw||(Gw=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},bP=function(e,t){Kw||(Kw=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))};Yw=function(e,t){e.indexOf("-")>-1?mP(e):fP.test(e)?vP(e):$w.test(t)&&_P(e,t),typeof t=="number"&&(isNaN(t)?gP(e,t):isFinite(t)||bP(e,t))}}var yP=Yw;function SP(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var c=e[i];if(c!=null){var d=i.indexOf("--")===0;t+=n+(d?i:uP(i))+":",t+=Zg(i,c,d),n=";"}}return t||null}}function Xw(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var c=i.indexOf("--")===0;c||yP(i,t[i]);var d=Zg(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,d):n[i]=d}}function wP(e){return e==null||typeof e=="boolean"||e===""}function Qw(e){var t={};for(var n in e)for(var i=oP[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function CP(e,t){{if(!t)return;var n=Qw(e),i=Qw(t),c={};for(var d in n){var _=n[d],y=i[d];if(y&&_!==y){var C=_+","+y;if(c[C])continue;c[C]=!0,u("%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.",wP(e[_])?"Removing":"Updating",_,y)}}}}var xP={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},kP=Ot({menuitem:!0},xP),TP="__html";function tb(e,t){if(t){if(kP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(TP in t.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(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&u("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."),t.style!=null&&typeof t.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 Cu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Mm={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"},Jw={"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},If={},EP=new RegExp("^(aria)-["+ct+"]*$"),RP=new RegExp("^(aria)[A-Z]["+ct+"]*$");function DP(e,t){{if(kt.call(If,t)&&If[t])return!0;if(RP.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=Jw.hasOwnProperty(n)?n:null;if(i==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),If[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),If[t]=!0,!0}if(EP.test(t)){var c=t.toLowerCase(),d=Jw.hasOwnProperty(c)?c:null;if(d==null)return If[t]=!0,!1;if(t!==d)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),If[t]=!0,!0}}return!0}function AP(e,t){{var n=[];for(var i in t){var c=DP(e,i);c||n.push(i)}var d=n.map(function(_){return"`"+_+"`"}).join(", ");n.length===1?u("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function LP(e,t){Cu(e,t)||AP(e,t)}var Zw=!1;function NP(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Zw&&(Zw=!0,e==="select"&&t.multiple?u("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var e3=function(){};{var $n={},t3=/^on./,OP=/^on[^A-Z]/,MP=new RegExp("^(aria)-["+ct+"]*$"),PP=new RegExp("^(aria)[A-Z]["+ct+"]*$");e3=function(e,t,n,i){if(kt.call($n,t)&&$n[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return u("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."),$n[t]=!0,!0;if(i!=null){var d=i.registrationNameDependencies,_=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=_.hasOwnProperty(c)?_[c]:null;if(y!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,y),$n[t]=!0,!0;if(t3.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),$n[t]=!0,!0}else if(t3.test(t))return OP.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),$n[t]=!0,!0;if(MP.test(t)||PP.test(t))return!0;if(c==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),$n[t]=!0,!0;if(c==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),$n[t]=!0,!0;if(c==="is"&&n!==null&&n!==void 0&&typeof n!="string")return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),$n[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),$n[t]=!0,!0;var C=P(t),E=C!==null&&C.type===pr;if(Mm.hasOwnProperty(c)){var A=Mm[c];if(A!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,A),$n[t]=!0,!0}else if(!E&&t!==c)return u("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,c),$n[t]=!0,!0;return typeof n=="boolean"&&Yr(t,n,C,!1)?(n?u('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,t,t,n,t):u('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.',n,t,t,n,t,t,t),$n[t]=!0,!0):E?!0:Yr(t,n,C,!1)?($n[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===kr&&(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),$n[t]=!0),!0)}}var IP=function(e,t,n){{var i=[];for(var c in t){var d=e3(e,c,t[c],n);d||i.push(c)}var _=i.map(function(y){return"`"+y+"`"}).join(", ");i.length===1?u("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 ",_,e):i.length>1&&u("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 ",_,e)}};function zP(e,t,n){Cu(e,t)||IP(e,t,n)}var r3=1,rb=2,mp=4,BP=r3|rb|mp,vp=null;function FP(e){vp!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),vp=e}function jP(){vp===null&&u("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),vp=null}function HP(e){return e===vp}function ab(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Fs?t.parentNode:t}var nb=null,zf=null,Bf=null;function a3(e){var t=zc(e);if(t){if(typeof nb!="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 n=t.stateNode;if(n){var i=_v(n);nb(t.stateNode,t.type,i)}}}function UP(e){nb=e}function n3(e){zf?Bf?Bf.push(e):Bf=[e]:zf=e}function VP(){return zf!==null||Bf!==null}function o3(){if(zf){var e=zf,t=Bf;if(zf=null,Bf=null,a3(e),t)for(var n=0;n<t.length;n++)a3(t[n])}}var i3=function(e,t){return e(t)},l3=function(){},ob=!1;function WP(){var e=VP();e&&(l3(),o3())}function s3(e,t,n){if(ob)return e(t,n);ob=!0;try{return i3(e,t,n)}finally{ob=!1,WP()}}function qP(e,t,n){i3=e,l3=n}function YP(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function $P(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(n.disabled&&YP(t));default:return!1}}function _p(e,t){var n=e.stateNode;if(n===null)return null;var i=_v(n);if(i===null)return null;var c=i[t];if($P(t,e.type,i))return null;if(c&&typeof c!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof c+"` type.");return c}var ib=!1;if(ot)try{var gp={};Object.defineProperty(gp,"passive",{get:function(){ib=!0}}),window.addEventListener("test",gp,gp),window.removeEventListener("test",gp,gp)}catch(e){ib=!1}function c3(e,t,n,i,c,d,_,y,C){var E=Array.prototype.slice.call(arguments,3);try{t.apply(n,E)}catch(A){this.onError(A)}}var u3=c3;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var lb=document.createElement("react");u3=function(t,n,i,c,d,_,y,C,E){if(typeof document=="undefined"||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 A=document.createEvent("Event"),J=!1,Q=!0,ve=window.event,_e=Object.getOwnPropertyDescriptor(window,"event");function xe(){lb.removeEventListener(De,Dt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ve)}var at=Array.prototype.slice.call(arguments,3);function Dt(){J=!0,xe(),n.apply(i,at),Q=!1}var St,hr=!1,mr=!1;function ue(fe){if(St=fe.error,hr=!0,St===null&&fe.colno===0&&fe.lineno===0&&(mr=!0),fe.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(qe){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ue),lb.addEventListener(De,Dt,!1),A.initEvent(De,!1,!1),lb.dispatchEvent(A),_e&&Object.defineProperty(window,"event",_e),J&&Q&&(hr?mr&&(St=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.")):St=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(St)),window.removeEventListener("error",ue),!J)return xe(),c3.apply(this,arguments)}}var GP=u3,Ff=!1,Pm=null,Im=!1,sb=null,KP={onError:function(e){Ff=!0,Pm=e}};function cb(e,t,n,i,c,d,_,y,C){Ff=!1,Pm=null,GP.apply(KP,arguments)}function XP(e,t,n,i,c,d,_,y,C){if(cb.apply(this,arguments),Ff){var E=ub();Im||(Im=!0,sb=E)}}function QP(){if(Im){var e=sb;throw Im=!1,sb=null,e}}function JP(){return Ff}function ub(){if(Ff){var e=Pm;return Ff=!1,Pm=null,e}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 jf(e){return e._reactInternals}function ZP(e){return e._reactInternals!==void 0}function eI(e,t){e._reactInternals=t}var zt=0,Hf=1,Qa=2,Er=4,xu=16,bp=32,fb=64,Ir=128,Hs=256,Ac=512,ku=1024,zl=2048,Us=4096,Tu=8192,zm=16384,tI=zl|Er|fb|Ac|ku|zm,rI=32767,yp=32768,Gn=65536,db=131072,f3=1048576,pb=2097152,Eu=4194304,hb=8388608,Vs=16777216,Bm=33554432,mb=Er|ku|0,vb=Qa|Er|xu|bp|Ac|Us|Tu,Sp=Er|fb|Ac|Tu,Uf=zl|xu,Ws=Eu|hb|pb,aI=o.ReactCurrentOwner;function Ru(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Qa|Us))!==zt&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function d3(e){if(e.tag===Z){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function p3(e){return e.tag===b?e.stateNode.containerInfo:null}function nI(e){return Ru(e)===e}function oI(e){{var t=aI.current;if(t!==null&&t.tag===m){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||u("%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.",rr(n)||"A component"),i._warnedAboutRefsInRender=!0}}var c=jf(e);return c?Ru(c)===c:!1}function h3(e){if(Ru(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function m3(e){var t=e.alternate;if(!t){var n=Ru(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,c=t;;){var d=i.return;if(d===null)break;var _=d.alternate;if(_===null){var y=d.return;if(y!==null){i=c=y;continue}break}if(d.child===_.child){for(var C=d.child;C;){if(C===i)return h3(d),e;if(C===c)return h3(d),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==c.return)i=d,c=_;else{for(var E=!1,A=d.child;A;){if(A===i){E=!0,i=d,c=_;break}if(A===c){E=!0,c=d,i=_;break}A=A.sibling}if(!E){for(A=_.child;A;){if(A===i){E=!0,i=_,c=d;break}if(A===c){E=!0,c=_,i=d;break}A=A.sibling}if(!E)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(i.alternate!==c)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(i.tag!==b)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function v3(e){var t=m3(e);return t!==null?_3(t):null}function _3(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){var n=_3(t);if(n!==null)return n;t=t.sibling}return null}function iI(e){var t=m3(e);return t!==null?g3(t):null}function g3(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==S){var n=g3(t);if(n!==null)return n}t=t.sibling}return null}var b3=a.unstable_scheduleCallback,lI=a.unstable_cancelCallback,sI=a.unstable_shouldYield,cI=a.unstable_requestPaint,gn=a.unstable_now,uI=a.unstable_getCurrentPriorityLevel,Fm=a.unstable_ImmediatePriority,_b=a.unstable_UserBlockingPriority,Du=a.unstable_NormalPriority,fI=a.unstable_LowPriority,gb=a.unstable_IdlePriority,dI=a.unstable_yieldValue,pI=a.unstable_setDisableYieldValue,Au=null,xn=null,it=null,us=!1,Bl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function hI(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return u("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{Ge&&(e=Ot({},e,{getLaneLabelMap:yI,injectProfilingHooks:bI})),Au=t.inject(e),xn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function mI(e,t){if(xn&&typeof xn.onScheduleFiberRoot=="function")try{xn.onScheduleFiberRoot(Au,e,t)}catch(n){us||(us=!0,u("React instrumentation encountered an error: %s",n))}}function vI(e,t){if(xn&&typeof xn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Ir)===Ir;if(rt){var i;switch(t){case Bo:i=Fm;break;case Ys:i=_b;break;case $s:i=Du;break;case Ym:i=gb;break;default:i=Du;break}xn.onCommitFiberRoot(Au,e,i,n)}else xn.onCommitFiberRoot(Au,e,void 0,n)}catch(c){us||(us=!0,u("React instrumentation encountered an error: %s",c))}}function _I(e){if(xn&&typeof xn.onPostCommitFiberRoot=="function")try{xn.onPostCommitFiberRoot(Au,e)}catch(t){us||(us=!0,u("React instrumentation encountered an error: %s",t))}}function gI(e){if(xn&&typeof xn.onCommitFiberUnmount=="function")try{xn.onCommitFiberUnmount(Au,e)}catch(t){us||(us=!0,u("React instrumentation encountered an error: %s",t))}}function bn(e){if(typeof dI=="function"&&(pI(e),l(e)),xn&&typeof xn.setStrictMode=="function")try{xn.setStrictMode(Au,e)}catch(t){us||(us=!0,u("React instrumentation encountered an error: %s",t))}}function bI(e){it=e}function yI(){{for(var e=new Map,t=1,n=0;n<yb;n++){var i=jI(t);e.set(t,i),t*=2}return e}}function SI(e){it!==null&&typeof it.markCommitStarted=="function"&&it.markCommitStarted(e)}function y3(){it!==null&&typeof it.markCommitStopped=="function"&&it.markCommitStopped()}function wp(e){it!==null&&typeof it.markComponentRenderStarted=="function"&&it.markComponentRenderStarted(e)}function Vf(){it!==null&&typeof it.markComponentRenderStopped=="function"&&it.markComponentRenderStopped()}function wI(e){it!==null&&typeof it.markComponentPassiveEffectMountStarted=="function"&&it.markComponentPassiveEffectMountStarted(e)}function CI(){it!==null&&typeof it.markComponentPassiveEffectMountStopped=="function"&&it.markComponentPassiveEffectMountStopped()}function xI(e){it!==null&&typeof it.markComponentPassiveEffectUnmountStarted=="function"&&it.markComponentPassiveEffectUnmountStarted(e)}function kI(){it!==null&&typeof it.markComponentPassiveEffectUnmountStopped=="function"&&it.markComponentPassiveEffectUnmountStopped()}function TI(e){it!==null&&typeof it.markComponentLayoutEffectMountStarted=="function"&&it.markComponentLayoutEffectMountStarted(e)}function EI(){it!==null&&typeof it.markComponentLayoutEffectMountStopped=="function"&&it.markComponentLayoutEffectMountStopped()}function S3(e){it!==null&&typeof it.markComponentLayoutEffectUnmountStarted=="function"&&it.markComponentLayoutEffectUnmountStarted(e)}function w3(){it!==null&&typeof it.markComponentLayoutEffectUnmountStopped=="function"&&it.markComponentLayoutEffectUnmountStopped()}function RI(e,t,n){it!==null&&typeof it.markComponentErrored=="function"&&it.markComponentErrored(e,t,n)}function DI(e,t,n){it!==null&&typeof it.markComponentSuspended=="function"&&it.markComponentSuspended(e,t,n)}function AI(e){it!==null&&typeof it.markLayoutEffectsStarted=="function"&&it.markLayoutEffectsStarted(e)}function LI(){it!==null&&typeof it.markLayoutEffectsStopped=="function"&&it.markLayoutEffectsStopped()}function NI(e){it!==null&&typeof it.markPassiveEffectsStarted=="function"&&it.markPassiveEffectsStarted(e)}function OI(){it!==null&&typeof it.markPassiveEffectsStopped=="function"&&it.markPassiveEffectsStopped()}function C3(e){it!==null&&typeof it.markRenderStarted=="function"&&it.markRenderStarted(e)}function MI(){it!==null&&typeof it.markRenderYielded=="function"&&it.markRenderYielded()}function x3(){it!==null&&typeof it.markRenderStopped=="function"&&it.markRenderStopped()}function PI(e){it!==null&&typeof it.markRenderScheduled=="function"&&it.markRenderScheduled(e)}function II(e,t){it!==null&&typeof it.markForceUpdateScheduled=="function"&&it.markForceUpdateScheduled(e,t)}function bb(e,t){it!==null&&typeof it.markStateUpdateScheduled=="function"&&it.markStateUpdateScheduled(e,t)}var Mt=0,yr=1,Kr=2,Pa=8,fs=16,k3=Math.clz32?Math.clz32:FI,zI=Math.log,BI=Math.LN2;function FI(e){var t=e>>>0;return t===0?32:31-(zI(t)/BI|0)|0}var yb=31,Ie=0,yn=0,qt=1,Wf=2,qs=4,Lu=8,ds=16,Cp=32,qf=4194240,xp=64,Sb=128,wb=256,Cb=512,xb=1024,kb=2048,Tb=4096,Eb=8192,Rb=16384,Db=32768,Ab=65536,Lb=131072,Nb=262144,Ob=524288,Mb=1048576,Pb=2097152,jm=130023424,Yf=4194304,Ib=8388608,zb=16777216,Bb=33554432,Fb=67108864,T3=Yf,kp=134217728,E3=268435455,Tp=268435456,Nu=536870912,Io=1073741824;function jI(e){{if(e&qt)return"Sync";if(e&Wf)return"InputContinuousHydration";if(e&qs)return"InputContinuous";if(e&Lu)return"DefaultHydration";if(e&ds)return"Default";if(e&Cp)return"TransitionHydration";if(e&qf)return"Transition";if(e&jm)return"Retry";if(e&kp)return"SelectiveHydration";if(e&Tp)return"IdleHydration";if(e&Nu)return"Idle";if(e&Io)return"Offscreen"}}var ma=-1,Hm=xp,Um=Yf;function Ep(e){switch(Ou(e)){case qt:return qt;case Wf:return Wf;case qs:return qs;case Lu:return Lu;case ds:return ds;case Cp:return Cp;case xp:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:return e&qf;case Yf:case Ib:case zb:case Bb:case Fb:return e&jm;case kp:return kp;case Tp:return Tp;case Nu:return Nu;case Io:return Io;default:return u("Should have found matching lanes. This is a bug in React."),e}}function Vm(e,t){var n=e.pendingLanes;if(n===Ie)return Ie;var i=Ie,c=e.suspendedLanes,d=e.pingedLanes,_=n&E3;if(_!==Ie){var y=_&~c;if(y!==Ie)i=Ep(y);else{var C=_&d;C!==Ie&&(i=Ep(C))}}else{var E=n&~c;E!==Ie?i=Ep(E):d!==Ie&&(i=Ep(d))}if(i===Ie)return Ie;if(t!==Ie&&t!==i&&(t&c)===Ie){var A=Ou(i),J=Ou(t);if(A>=J||A===ds&&(J&qf)!==Ie)return t}(i&qs)!==Ie&&(i|=n&ds);var Q=e.entangledLanes;if(Q!==Ie)for(var ve=e.entanglements,_e=i&Q;_e>0;){var xe=Mu(_e),at=1<<xe;i|=ve[xe],_e&=~at}return i}function HI(e,t){for(var n=e.eventTimes,i=ma;t>0;){var c=Mu(t),d=1<<c,_=n[c];_>i&&(i=_),t&=~d}return i}function UI(e,t){switch(e){case qt:case Wf:case qs:return t+250;case Lu:case ds:case Cp:case xp:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:return t+5e3;case Yf:case Ib:case zb:case Bb:case Fb:return ma;case kp:case Tp:case Nu:case Io:return ma;default:return u("Should have found matching lanes. This is a bug in React."),ma}}function VI(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,d=e.expirationTimes,_=n;_>0;){var y=Mu(_),C=1<<y,E=d[y];E===ma?((C&i)===Ie||(C&c)!==Ie)&&(d[y]=UI(C,t)):E<=t&&(e.expiredLanes|=C),_&=~C}}function WI(e){return Ep(e.pendingLanes)}function jb(e){var t=e.pendingLanes&~Io;return t!==Ie?t:t&Io?Io:Ie}function qI(e){return(e&qt)!==Ie}function Hb(e){return(e&E3)!==Ie}function R3(e){return(e&jm)===e}function YI(e){var t=qt|qs|ds;return(e&t)===Ie}function $I(e){return(e&qf)===e}function Wm(e,t){var n=Wf|qs|Lu|ds;return(t&n)!==Ie}function GI(e,t){return(t&e.expiredLanes)!==Ie}function D3(e){return(e&qf)!==Ie}function A3(){var e=Hm;return Hm<<=1,(Hm&qf)===Ie&&(Hm=xp),e}function KI(){var e=Um;return Um<<=1,(Um&jm)===Ie&&(Um=Yf),e}function Ou(e){return e&-e}function Rp(e){return Ou(e)}function Mu(e){return 31-k3(e)}function Ub(e){return Mu(e)}function zo(e,t){return(e&t)!==Ie}function $f(e,t){return(e&t)===t}function ir(e,t){return e|t}function qm(e,t){return e&~t}function L3(e,t){return e&t}function V$(e){return e}function XI(e,t){return e!==yn&&e<t?e:t}function Vb(e){for(var t=[],n=0;n<yb;n++)t.push(e);return t}function Dp(e,t,n){e.pendingLanes|=t,t!==Nu&&(e.suspendedLanes=Ie,e.pingedLanes=Ie);var i=e.eventTimes,c=Ub(t);i[c]=n}function QI(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Mu(i),d=1<<c;n[c]=ma,i&=~d}}function N3(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function JI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ie,e.pingedLanes=Ie,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,d=e.expirationTimes,_=n;_>0;){var y=Mu(_),C=1<<y;i[y]=Ie,c[y]=ma,d[y]=ma,_&=~C}}function Wb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var d=Mu(c),_=1<<d;_&t|i[d]&t&&(i[d]|=t),c&=~_}}function ZI(e,t){var n=Ou(t),i;switch(n){case qs:i=Wf;break;case ds:i=Lu;break;case xp:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:case Yf:case Ib:case zb:case Bb:case Fb:i=Cp;break;case Nu:i=Tp;break;default:i=yn;break}return(i&(e.suspendedLanes|t))!==yn?yn:i}function O3(e,t,n){if(Bl)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=Ub(n),d=1<<c,_=i[c];_.add(t),n&=~d}}function M3(e,t){if(Bl)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=Ub(t),d=1<<c,_=n[c];_.size>0&&(_.forEach(function(y){var C=y.alternate;(C===null||!i.has(C))&&i.add(y)}),_.clear()),t&=~d}}function P3(e,t){return null}var Bo=qt,Ys=qs,$s=ds,Ym=Nu,Ap=yn;function Fl(){return Ap}function Sn(e){Ap=e}function ez(e,t){var n=Ap;try{return Ap=e,t()}finally{Ap=n}}function tz(e,t){return e!==0&&e<t?e:t}function rz(e,t){return e===0||e>t?e:t}function qb(e,t){return e!==0&&e<t}function I3(e){var t=Ou(e);return qb(Bo,t)?qb(Ys,t)?Hb(t)?$s:Ym:Ys:Bo}function $m(e){var t=e.current.memoizedState;return t.isDehydrated}var z3;function az(e){z3=e}function nz(e){z3(e)}var Yb;function oz(e){Yb=e}var B3;function iz(e){B3=e}var F3;function lz(e){F3=e}var j3;function sz(e){j3=e}var $b=!1,Gm=[],Lc=null,Nc=null,Oc=null,Lp=new Map,Np=new Map,Mc=[],cz=["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 uz(e){return cz.indexOf(e)>-1}function fz(e,t,n,i,c){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:c,targetContainers:[i]}}function H3(e,t){switch(e){case"focusin":case"focusout":Lc=null;break;case"dragenter":case"dragleave":Nc=null;break;case"mouseover":case"mouseout":Oc=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Lp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Np.delete(i);break}}}function Op(e,t,n,i,c,d){if(e===null||e.nativeEvent!==d){var _=fz(t,n,i,c,d);if(t!==null){var y=zc(t);y!==null&&Yb(y)}return _}e.eventSystemFlags|=i;var C=e.targetContainers;return c!==null&&C.indexOf(c)===-1&&C.push(c),e}function dz(e,t,n,i,c){switch(t){case"focusin":{var d=c;return Lc=Op(Lc,e,t,n,i,d),!0}case"dragenter":{var _=c;return Nc=Op(Nc,e,t,n,i,_),!0}case"mouseover":{var y=c;return Oc=Op(Oc,e,t,n,i,y),!0}case"pointerover":{var C=c,E=C.pointerId;return Lp.set(E,Op(Lp.get(E)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var A=c,J=A.pointerId;return Np.set(J,Op(Np.get(J)||null,e,t,n,i,A)),!0}}return!1}function U3(e){var t=zu(e.target);if(t!==null){var n=Ru(t);if(n!==null){var i=n.tag;if(i===Z){var c=d3(n);if(c!==null){e.blockedOn=c,j3(e.priority,function(){B3(n)});return}}else if(i===b){var d=n.stateNode;if($m(d)){e.blockedOn=p3(n);return}}}}e.blockedOn=null}function pz(e){for(var t=F3(),n={blockedOn:null,target:e,priority:t},i=0;i<Mc.length&&qb(t,Mc[i].priority);i++);Mc.splice(i,0,n),i===0&&U3(n)}function Km(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=Xb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,d=new c.constructor(c.type,c);FP(d),c.target.dispatchEvent(d),jP()}else{var _=zc(i);return _!==null&&Yb(_),e.blockedOn=i,!1}t.shift()}return!0}function V3(e,t,n){Km(e)&&n.delete(t)}function hz(){$b=!1,Lc!==null&&Km(Lc)&&(Lc=null),Nc!==null&&Km(Nc)&&(Nc=null),Oc!==null&&Km(Oc)&&(Oc=null),Lp.forEach(V3),Np.forEach(V3)}function Mp(e,t){e.blockedOn===t&&(e.blockedOn=null,$b||($b=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,hz)))}function Pp(e){if(Gm.length>0){Mp(Gm[0],e);for(var t=1;t<Gm.length;t++){var n=Gm[t];n.blockedOn===e&&(n.blockedOn=null)}}Lc!==null&&Mp(Lc,e),Nc!==null&&Mp(Nc,e),Oc!==null&&Mp(Oc,e);var i=function(y){return Mp(y,e)};Lp.forEach(i),Np.forEach(i);for(var c=0;c<Mc.length;c++){var d=Mc[c];d.blockedOn===e&&(d.blockedOn=null)}for(;Mc.length>0;){var _=Mc[0];if(_.blockedOn!==null)break;U3(_),_.blockedOn===null&&Mc.shift()}}var Gf=o.ReactCurrentBatchConfig,Gb=!0;function W3(e){Gb=!!e}function mz(){return Gb}function vz(e,t,n){var i=q3(t),c;switch(i){case Bo:c=_z;break;case Ys:c=gz;break;case $s:default:c=Kb;break}return c.bind(null,t,n,e)}function _z(e,t,n,i){var c=Fl(),d=Gf.transition;Gf.transition=null;try{Sn(Bo),Kb(e,t,n,i)}finally{Sn(c),Gf.transition=d}}function gz(e,t,n,i){var c=Fl(),d=Gf.transition;Gf.transition=null;try{Sn(Ys),Kb(e,t,n,i)}finally{Sn(c),Gf.transition=d}}function Kb(e,t,n,i){Gb&&bz(e,t,n,i)}function bz(e,t,n,i){var c=Xb(e,t,n,i);if(c===null){u1(e,t,i,Xm,n),H3(e,i);return}if(dz(c,e,t,n,i)){i.stopPropagation();return}if(H3(e,i),t&mp&&uz(e)){for(;c!==null;){var d=zc(c);d!==null&&nz(d);var _=Xb(e,t,n,i);if(_===null&&u1(e,t,i,Xm,n),_===c)break;c=_}c!==null&&i.stopPropagation();return}u1(e,t,i,null,n)}var Xm=null;function Xb(e,t,n,i){Xm=null;var c=ab(i),d=zu(c);if(d!==null){var _=Ru(d);if(_===null)d=null;else{var y=_.tag;if(y===Z){var C=d3(_);if(C!==null)return C;d=null}else if(y===b){var E=_.stateNode;if($m(E))return p3(_);d=null}else _!==d&&(d=null)}}return Xm=d,null}function q3(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Bo;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 Ys;case"message":{var t=uI();switch(t){case Fm:return Bo;case _b:return Ys;case Du:case fI:return $s;case gb:return Ym;default:return $s}}default:return $s}}function yz(e,t,n){return e.addEventListener(t,n,!1),n}function Sz(e,t,n){return e.addEventListener(t,n,!0),n}function wz(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function Cz(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Ip=null,Qb=null,zp=null;function xz(e){return Ip=e,Qb=$3(),!0}function kz(){Ip=null,Qb=null,zp=null}function Y3(){if(zp)return zp;var e,t=Qb,n=t.length,i,c=$3(),d=c.length;for(e=0;e<n&&t[e]===c[e];e++);var _=n-e;for(i=1;i<=_&&t[n-i]===c[d-i];i++);var y=i>1?1-i:void 0;return zp=c.slice(e,y),zp}function $3(){return"value"in Ip?Ip.value:Ip.textContent}function Qm(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}function Jm(){return!0}function G3(){return!1}function Fo(e){function t(n,i,c,d,_){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=d,this.target=_,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var C=e[y];C?this[y]=C(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=Jm:this.isDefaultPrevented=G3,this.isPropagationStopped=G3,this}return Ot(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Jm)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Jm)},persist:function(){},isPersistent:Jm}),t}var Kf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jb=Fo(Kf),Bp=Ot({},Kf,{view:0,detail:0}),Tz=Fo(Bp),Zb,e1,Fp;function Ez(e){e!==Fp&&(Fp&&e.type==="mousemove"?(Zb=e.screenX-Fp.screenX,e1=e.screenY-Fp.screenY):(Zb=0,e1=0),Fp=e)}var Zm=Ot({},Bp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:r1,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Ez(e),Zb)},movementY:function(e){return"movementY"in e?e.movementY:e1}}),K3=Fo(Zm),Rz=Ot({},Zm,{dataTransfer:0}),Dz=Fo(Rz),Az=Ot({},Bp,{relatedTarget:0}),t1=Fo(Az),Lz=Ot({},Kf,{animationName:0,elapsedTime:0,pseudoElement:0}),Nz=Fo(Lz),Oz=Ot({},Kf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mz=Fo(Oz),Pz=Ot({},Kf,{data:0}),X3=Fo(Pz),Iz=X3,zz={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bz={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 Fz(e){if(e.key){var t=zz[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Qm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?Bz[e.keyCode]||"Unidentified":""}var jz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hz(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=jz[e];return i?!!n[i]:!1}function r1(e){return Hz}var Uz=Ot({},Bp,{key:Fz,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:r1,charCode:function(e){return e.type==="keypress"?Qm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vz=Fo(Uz),Wz=Ot({},Zm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Q3=Fo(Wz),qz=Ot({},Bp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:r1}),Yz=Fo(qz),$z=Ot({},Kf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gz=Fo($z),Kz=Ot({},Zm,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Xz=Fo(Kz),Qz=[9,13,27,32],J3=229,a1=ot&&"CompositionEvent"in window,jp=null;ot&&"documentMode"in document&&(jp=document.documentMode);var Jz=ot&&"TextEvent"in window&&!jp,Z3=ot&&(!a1||jp&&jp>8&&jp<=11),eC=32,tC=String.fromCharCode(eC);function Zz(){Xe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xe("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Xe("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Xe("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var rC=!1;function eB(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function tB(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function rB(e,t){return e==="keydown"&&t.keyCode===J3}function aC(e,t){switch(e){case"keyup":return Qz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==J3;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nC(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function oC(e){return e.locale==="ko"}var Xf=!1;function aB(e,t,n,i,c){var d,_;if(a1?d=tB(t):Xf?aC(t,i)&&(d="onCompositionEnd"):rB(t,i)&&(d="onCompositionStart"),!d)return null;Z3&&!oC(i)&&(!Xf&&d==="onCompositionStart"?Xf=xz(c):d==="onCompositionEnd"&&Xf&&(_=Y3()));var y=nv(n,d);if(y.length>0){var C=new X3(d,t,null,i,c);if(e.push({event:C,listeners:y}),_)C.data=_;else{var E=nC(i);E!==null&&(C.data=E)}}}function nB(e,t){switch(e){case"compositionend":return nC(t);case"keypress":var n=t.which;return n!==eC?null:(rC=!0,tC);case"textInput":var i=t.data;return i===tC&&rC?null:i;default:return null}}function oB(e,t){if(Xf){if(e==="compositionend"||!a1&&aC(e,t)){var n=Y3();return kz(),Xf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!eB(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Z3&&!oC(t)?null:t.data;default:return null}}function iB(e,t,n,i,c){var d;if(Jz?d=nB(t,i):d=oB(t,i),!d)return null;var _=nv(n,"onBeforeInput");if(_.length>0){var y=new Iz("onBeforeInput","beforeinput",null,i,c);e.push({event:y,listeners:_}),y.data=d}}function lB(e,t,n,i,c,d,_){aB(e,t,n,i,c),iB(e,t,n,i,c)}var sB={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 iC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sB[e.type]:t==="textarea"}function cB(e){if(!ot)return!1;var t="on"+e,n=t in document;if(!n){var i=document.createElement("div");i.setAttribute(t,"return;"),n=typeof i[t]=="function"}return n}function uB(){Xe("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function lC(e,t,n,i){n3(i);var c=nv(t,"onChange");if(c.length>0){var d=new Jb("onChange","change",null,n,i);e.push({event:d,listeners:c})}}var Hp=null,Up=null;function fB(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function dB(e){var t=[];lC(t,Up,e,ab(e)),s3(pB,t)}function pB(e){kC(e,0)}function ev(e){var t=rd(e);if(Lf(t))return e}function hB(e,t){if(e==="change")return t}var sC=!1;ot&&(sC=cB("input")&&(!document.documentMode||document.documentMode>9));function mB(e,t){Hp=e,Up=t,Hp.attachEvent("onpropertychange",uC)}function cC(){Hp&&(Hp.detachEvent("onpropertychange",uC),Hp=null,Up=null)}function uC(e){e.propertyName==="value"&&ev(Up)&&dB(e)}function vB(e,t,n){e==="focusin"?(cC(),mB(t,n)):e==="focusout"&&cC()}function _B(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ev(Up)}function gB(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function bB(e,t){if(e==="click")return ev(t)}function yB(e,t){if(e==="input"||e==="change")return ev(t)}function SB(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function wB(e,t,n,i,c,d,_){var y=n?rd(n):window,C,E;if(fB(y)?C=hB:iC(y)?sC?C=yB:(C=_B,E=vB):gB(y)&&(C=bB),C){var A=C(t,n);if(A){lC(e,A,i,c);return}}E&&E(t,y,n),t==="focusout"&&SB(y)}function CB(){ke("onMouseEnter",["mouseout","mouseover"]),ke("onMouseLeave",["mouseout","mouseover"]),ke("onPointerEnter",["pointerout","pointerover"]),ke("onPointerLeave",["pointerout","pointerover"])}function xB(e,t,n,i,c,d,_){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!HP(i)){var E=i.relatedTarget||i.fromElement;if(E&&(zu(E)||ah(E)))return}if(!(!C&&!y)){var A;if(c.window===c)A=c;else{var J=c.ownerDocument;J?A=J.defaultView||J.parentWindow:A=window}var Q,ve;if(C){var _e=i.relatedTarget||i.toElement;if(Q=n,ve=_e?zu(_e):null,ve!==null){var xe=Ru(ve);(ve!==xe||ve.tag!==w&&ve.tag!==k)&&(ve=null)}}else Q=null,ve=n;if(Q!==ve){var at=K3,Dt="onMouseLeave",St="onMouseEnter",hr="mouse";(t==="pointerout"||t==="pointerover")&&(at=Q3,Dt="onPointerLeave",St="onPointerEnter",hr="pointer");var mr=Q==null?A:rd(Q),ue=ve==null?A:rd(ve),De=new at(Dt,hr+"leave",Q,i,c);De.target=mr,De.relatedTarget=ue;var fe=null,qe=zu(c);if(qe===n){var ut=new at(St,hr+"enter",ve,i,c);ut.target=ue,ut.relatedTarget=mr,fe=ut}GB(e,De,fe,Q,ve)}}}function kB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jo=typeof Object.is=="function"?Object.is:kB;function Vp(e,t){if(jo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var c=0;c<n.length;c++){var d=n[c];if(!kt.call(t,d)||!jo(e[d],t[d]))return!1}return!0}function fC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function TB(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function dC(e,t){for(var n=fC(e),i=0,c=0;n;){if(n.nodeType===Fs){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=fC(TB(n))}}function EB(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var c=i.anchorNode,d=i.anchorOffset,_=i.focusNode,y=i.focusOffset;try{c.nodeType,_.nodeType}catch(C){return null}return RB(e,c,d,_,y)}function RB(e,t,n,i,c){var d=0,_=-1,y=-1,C=0,E=0,A=e,J=null;e:for(;;){for(var Q=null;A===t&&(n===0||A.nodeType===Fs)&&(_=d+n),A===i&&(c===0||A.nodeType===Fs)&&(y=d+c),A.nodeType===Fs&&(d+=A.nodeValue.length),(Q=A.firstChild)!==null;)J=A,A=Q;for(;;){if(A===e)break e;if(J===t&&++C===n&&(_=d),J===i&&++E===c&&(y=d),(Q=A.nextSibling)!==null)break;A=J,J=A.parentNode}A=Q}return _===-1||y===-1?null:{start:_,end:y}}function DB(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var c=i.getSelection(),d=e.textContent.length,_=Math.min(t.start,d),y=t.end===void 0?_:Math.min(t.end,d);if(!c.extend&&_>y){var C=y;y=_,_=C}var E=dC(e,_),A=dC(e,y);if(E&&A){if(c.rangeCount===1&&c.anchorNode===E.node&&c.anchorOffset===E.offset&&c.focusNode===A.node&&c.focusOffset===A.offset)return;var J=n.createRange();J.setStart(E.node,E.offset),c.removeAllRanges(),_>y?(c.addRange(J),c.extend(A.node,A.offset)):(J.setEnd(A.node,A.offset),c.addRange(J))}}}function pC(e){return e&&e.nodeType===Fs}function hC(e,t){return!e||!t?!1:e===t?!0:pC(e)?!1:pC(t)?hC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function AB(e){return e&&e.ownerDocument&&hC(e.ownerDocument.documentElement,e)}function LB(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function mC(){for(var e=window,t=Nf();t instanceof e.HTMLIFrameElement;){if(LB(t))e=t.contentWindow;else return t;t=Nf(e.document)}return t}function n1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function NB(){var e=mC();return{focusedElem:e,selectionRange:n1(e)?MB(e):null}}function OB(e){var t=mC(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&AB(n)){i!==null&&n1(n)&&PB(n,i);for(var c=[],d=n;d=d.parentNode;)d.nodeType===go&&c.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var _=0;_<c.length;_++){var y=c[_];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function MB(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=EB(e),t||{start:0,end:0}}function PB(e,t){var n=t.start,i=t.end;i===void 0&&(i=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(i,e.value.length)):DB(e,t)}var IB=ot&&"documentMode"in document&&document.documentMode<=11;function zB(){Xe("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Qf=null,o1=null,Wp=null,i1=!1;function BB(e){if("selectionStart"in e&&n1(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,n=t.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}function FB(e){return e.window===e?e.document:e.nodeType===js?e:e.ownerDocument}function vC(e,t,n){var i=FB(n);if(!(i1||Qf==null||Qf!==Nf(i))){var c=BB(Qf);if(!Wp||!Vp(Wp,c)){Wp=c;var d=nv(o1,"onSelect");if(d.length>0){var _=new Jb("onSelect","select",null,t,n);e.push({event:_,listeners:d}),_.target=Qf}}}}function jB(e,t,n,i,c,d,_){var y=n?rd(n):window;switch(t){case"focusin":(iC(y)||y.contentEditable==="true")&&(Qf=y,o1=n,Wp=null);break;case"focusout":Qf=null,o1=null,Wp=null;break;case"mousedown":i1=!0;break;case"contextmenu":case"mouseup":case"dragend":i1=!1,vC(e,i,c);break;case"selectionchange":if(IB)break;case"keydown":case"keyup":vC(e,i,c)}}function tv(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jf={animationend:tv("Animation","AnimationEnd"),animationiteration:tv("Animation","AnimationIteration"),animationstart:tv("Animation","AnimationStart"),transitionend:tv("Transition","TransitionEnd")},l1={},_C={};ot&&(_C=document.createElement("div").style,"AnimationEvent"in window||(delete Jf.animationend.animation,delete Jf.animationiteration.animation,delete Jf.animationstart.animation),"TransitionEvent"in window||delete Jf.transitionend.transition);function rv(e){if(l1[e])return l1[e];if(!Jf[e])return e;var t=Jf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in _C)return l1[e]=t[n];return e}var gC=rv("animationend"),bC=rv("animationiteration"),yC=rv("animationstart"),SC=rv("transitionend"),wC=new Map,CC=["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 Pc(e,t){wC.set(e,t),Xe(t,[e])}function HB(){for(var e=0;e<CC.length;e++){var t=CC[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Pc(n,"on"+i)}Pc(gC,"onAnimationEnd"),Pc(bC,"onAnimationIteration"),Pc(yC,"onAnimationStart"),Pc("dblclick","onDoubleClick"),Pc("focusin","onFocus"),Pc("focusout","onBlur"),Pc(SC,"onTransitionEnd")}function UB(e,t,n,i,c,d,_){var y=wC.get(t);if(y!==void 0){var C=Jb,E=t;switch(t){case"keypress":if(Qm(i)===0)return;case"keydown":case"keyup":C=Vz;break;case"focusin":E="focus",C=t1;break;case"focusout":E="blur",C=t1;break;case"beforeblur":case"afterblur":C=t1;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=K3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=Dz;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=Yz;break;case gC:case bC:case yC:C=Nz;break;case SC:C=Gz;break;case"scroll":C=Tz;break;case"wheel":C=Xz;break;case"copy":case"cut":case"paste":C=Mz;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=Q3;break}var A=(d&mp)!==0;{var J=!A&&t==="scroll",Q=YB(n,y,i.type,A,J);if(Q.length>0){var ve=new C(y,E,null,i,c);e.push({event:ve,listeners:Q})}}}}HB(),CB(),uB(),zB(),Zz();function VB(e,t,n,i,c,d,_){UB(e,t,n,i,c,d);var y=(d&BP)===0;y&&(xB(e,t,n,i,c),wB(e,t,n,i,c),jB(e,t,n,i,c),lB(e,t,n,i,c))}var qp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],s1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(qp));function xC(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,XP(i,t,void 0,e),e.currentTarget=null}function WB(e,t,n){var i;if(n)for(var c=t.length-1;c>=0;c--){var d=t[c],_=d.instance,y=d.currentTarget,C=d.listener;if(_!==i&&e.isPropagationStopped())return;xC(e,C,y),i=_}else for(var E=0;E<t.length;E++){var A=t[E],J=A.instance,Q=A.currentTarget,ve=A.listener;if(J!==i&&e.isPropagationStopped())return;xC(e,ve,Q),i=J}}function kC(e,t){for(var n=(t&mp)!==0,i=0;i<e.length;i++){var c=e[i],d=c.event,_=c.listeners;WB(d,_,n)}QP()}function qB(e,t,n,i,c){var d=ab(n),_=[];VB(_,e,i,n,d,t),kC(_,t)}function ba(e,t){s1.has(e)||u('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,i=SF(t),c=KB(e,n);i.has(c)||(TC(t,e,rb,n),i.add(c))}function c1(e,t,n){s1.has(e)&&!t&&u('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=mp),TC(n,e,i,t)}var av="_reactListening"+Math.random().toString(36).slice(2);function Yp(e){if(!e[av]){e[av]=!0,Nt.forEach(function(n){n!=="selectionchange"&&(s1.has(n)||c1(n,!1,e),c1(n,!0,e))});var t=e.nodeType===js?e:e.ownerDocument;t!==null&&(t[av]||(t[av]=!0,c1("selectionchange",!1,t)))}}function TC(e,t,n,i,c){var d=vz(e,t,n),_=void 0;ib&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(_=!0),e=e;var y;i?_!==void 0?y=wz(e,t,d,_):y=Sz(e,t,d):_!==void 0?y=Cz(e,t,d,_):y=yz(e,t,d)}function EC(e,t){return e===t||e.nodeType===Xa&&e.parentNode===t}function u1(e,t,n,i,c){var d=i;if(!(t&r3)&&!(t&rb)){var _=c;if(i!==null){var y=i;e:for(;;){if(y===null)return;var C=y.tag;if(C===b||C===S){var E=y.stateNode.containerInfo;if(EC(E,_))break;if(C===S)for(var A=y.return;A!==null;){var J=A.tag;if(J===b||J===S){var Q=A.stateNode.containerInfo;if(EC(Q,_))return}A=A.return}for(;E!==null;){var ve=zu(E);if(ve===null)return;var _e=ve.tag;if(_e===w||_e===k){y=d=ve;continue e}E=E.parentNode}}y=y.return}}}s3(function(){return qB(e,t,n,d)})}function $p(e,t,n){return{instance:e,listener:t,currentTarget:n}}function YB(e,t,n,i,c,d){for(var _=t!==null?t+"Capture":null,y=i?_:t,C=[],E=e,A=null;E!==null;){var J=E,Q=J.stateNode,ve=J.tag;if(ve===w&&Q!==null&&(A=Q,y!==null)){var _e=_p(E,y);_e!=null&&C.push($p(E,_e,A))}if(c)break;E=E.return}return C}function nv(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var d=c,_=d.stateNode,y=d.tag;if(y===w&&_!==null){var C=_,E=_p(c,n);E!=null&&i.unshift($p(c,E,C));var A=_p(c,t);A!=null&&i.push($p(c,A,C))}c=c.return}return i}function Zf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function $B(e,t){for(var n=e,i=t,c=0,d=n;d;d=Zf(d))c++;for(var _=0,y=i;y;y=Zf(y))_++;for(;c-_>0;)n=Zf(n),c--;for(;_-c>0;)i=Zf(i),_--;for(var C=c;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=Zf(n),i=Zf(i)}return null}function RC(e,t,n,i,c){for(var d=t._reactName,_=[],y=n;y!==null&&y!==i;){var C=y,E=C.alternate,A=C.stateNode,J=C.tag;if(E!==null&&E===i)break;if(J===w&&A!==null){var Q=A;if(c){var ve=_p(y,d);ve!=null&&_.unshift($p(y,ve,Q))}else if(!c){var _e=_p(y,d);_e!=null&&_.push($p(y,_e,Q))}}y=y.return}_.length!==0&&e.push({event:t,listeners:_})}function GB(e,t,n,i,c){var d=i&&c?$B(i,c):null;i!==null&&RC(e,t,i,d,!1),c!==null&&n!==null&&RC(e,n,c,d,!0)}function KB(e,t){return e+"__"+(t?"capture":"bubble")}var bo=!1,Gp="dangerouslySetInnerHTML",ov="suppressContentEditableWarning",Ic="suppressHydrationWarning",DC="autoFocus",Pu="children",Iu="style",iv="__html",f1,lv,Kp,AC,sv,LC,NC;f1={dialog:!0,webview:!0},lv=function(e,t){LP(e,t),NP(e,t),zP(e,t,{registrationNameDependencies:$t,possibleRegistrationNames:dt})},LC=ot&&!document.documentMode,Kp=function(e,t,n){if(!bo){var i=cv(n),c=cv(t);c!==i&&(bo=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},AC=function(e){if(!bo){bo=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},sv=function(e,t){t===!1?u("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},NC=function(e,t){var n=e.namespaceURI===Bs?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var XB=/\r\n?/g,QB=/\u0000|\uFFFD/g;function cv(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(XB,`
32
- `).replace(QB,"")}function uv(e,t,n,i){var c=cv(t),d=cv(e);if(d!==c&&(i&&(bo||(bo=!0,u('Text content did not match. Server: "%s" Client: "%s"',d,c))),n&&W))throw new Error("Text content does not match server-rendered HTML.")}function OC(e){return e.nodeType===js?e:e.ownerDocument}function JB(){}function fv(e){e.onclick=JB}function ZB(e,t,n,i,c){for(var d in i)if(i.hasOwnProperty(d)){var _=i[d];if(d===Iu)_&&Object.freeze(_),Xw(t,_);else if(d===Gp){var y=_?_[iv]:void 0;y!=null&&qw(t,y)}else if(d===Pu)if(typeof _=="string"){var C=e!=="textarea"||_!=="";C&&Om(t,_)}else typeof _=="number"&&Om(t,""+_);else d===ov||d===Ic||d===DC||($t.hasOwnProperty(d)?_!=null&&(typeof _!="function"&&sv(d,_),d==="onScroll"&&ba("scroll",t)):_!=null&&I(t,d,_,c))}}function e9(e,t,n,i){for(var c=0;c<t.length;c+=2){var d=t[c],_=t[c+1];d===Iu?Xw(e,_):d===Gp?qw(e,_):d===Pu?Om(e,_):I(e,d,_,i)}}function t9(e,t,n,i){var c,d=OC(n),_,y=i;if(y===Bs&&(y=Xg(e)),y===Bs){if(c=Cu(e,t),!c&&e!==e.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=d.createElement("div");C.innerHTML="<script></script>";var E=C.firstChild;_=C.removeChild(E)}else if(typeof t.is=="string")_=d.createElement(e,{is:t.is});else if(_=d.createElement(e),e==="select"){var A=_;t.multiple?A.multiple=!0:t.size&&(A.size=t.size)}}else _=d.createElementNS(y,e);return y===Bs&&!c&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!kt.call(f1,e)&&(f1[e]=!0,u("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),_}function r9(e,t){return OC(t).createTextNode(e)}function a9(e,t,n,i){var c=Cu(t,n);lv(t,n);var d;switch(t){case"dialog":ba("cancel",e),ba("close",e),d=n;break;case"iframe":case"object":case"embed":ba("load",e),d=n;break;case"video":case"audio":for(var _=0;_<qp.length;_++)ba(qp[_],e);d=n;break;case"source":ba("error",e),d=n;break;case"img":case"image":case"link":ba("error",e),ba("load",e),d=n;break;case"details":ba("toggle",e),d=n;break;case"input":Ee(e,n),d=me(e,n),ba("invalid",e);break;case"option":Da(e,n),d=n;break;case"select":jw(e,n),d=pp(e,n),ba("invalid",e);break;case"textarea":Uw(e,n),d=Gg(e,n),ba("invalid",e);break;default:d=n}switch(tb(t,d),ZB(t,e,i,d,c),t){case"input":Dc(e),yt(e,n,!1);break;case"textarea":Dc(e),Ww(e);break;case"option":rn(e,n);break;case"select":ZM(e,n);break;default:typeof d.onClick=="function"&&fv(e);break}}function n9(e,t,n,i,c){lv(t,i);var d=null,_,y;switch(t){case"input":_=me(e,n),y=me(e,i),d=[];break;case"select":_=pp(e,n),y=pp(e,i),d=[];break;case"textarea":_=Gg(e,n),y=Gg(e,i),d=[];break;default:_=n,y=i,typeof _.onClick!="function"&&typeof y.onClick=="function"&&fv(e);break}tb(t,y);var C,E,A=null;for(C in _)if(!(y.hasOwnProperty(C)||!_.hasOwnProperty(C)||_[C]==null))if(C===Iu){var J=_[C];for(E in J)J.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else C===Gp||C===Pu||C===ov||C===Ic||C===DC||($t.hasOwnProperty(C)?d||(d=[]):(d=d||[]).push(C,null));for(C in y){var Q=y[C],ve=_!=null?_[C]:void 0;if(!(!y.hasOwnProperty(C)||Q===ve||Q==null&&ve==null))if(C===Iu)if(Q&&Object.freeze(Q),ve){for(E in ve)ve.hasOwnProperty(E)&&(!Q||!Q.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in Q)Q.hasOwnProperty(E)&&ve[E]!==Q[E]&&(A||(A={}),A[E]=Q[E])}else A||(d||(d=[]),d.push(C,A)),A=Q;else if(C===Gp){var _e=Q?Q[iv]:void 0,xe=ve?ve[iv]:void 0;_e!=null&&xe!==_e&&(d=d||[]).push(C,_e)}else C===Pu?(typeof Q=="string"||typeof Q=="number")&&(d=d||[]).push(C,""+Q):C===ov||C===Ic||($t.hasOwnProperty(C)?(Q!=null&&(typeof Q!="function"&&sv(C,Q),C==="onScroll"&&ba("scroll",e)),!d&&ve!==Q&&(d=[])):(d=d||[]).push(C,Q))}return A&&(CP(A,y[Iu]),(d=d||[]).push(Iu,A)),d}function o9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&Qe(e,c);var d=Cu(n,i),_=Cu(n,c);switch(e9(e,t,d,_),n){case"input":Pt(e,c);break;case"textarea":Vw(e,c);break;case"select":eP(e,c);break}}function i9(e){{var t=e.toLowerCase();return Mm.hasOwnProperty(t)&&Mm[t]||null}}function l9(e,t,n,i,c,d,_){var y,C;switch(y=Cu(t,n),lv(t,n),t){case"dialog":ba("cancel",e),ba("close",e);break;case"iframe":case"object":case"embed":ba("load",e);break;case"video":case"audio":for(var E=0;E<qp.length;E++)ba(qp[E],e);break;case"source":ba("error",e);break;case"img":case"image":case"link":ba("error",e),ba("load",e);break;case"details":ba("toggle",e);break;case"input":Ee(e,n),ba("invalid",e);break;case"option":Da(e,n);break;case"select":jw(e,n),ba("invalid",e);break;case"textarea":Uw(e,n),ba("invalid",e);break}tb(t,n);{C=new Set;for(var A=e.attributes,J=0;J<A.length;J++){var Q=A[J].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:C.add(A[J].name)}}}var ve=null;for(var _e in n)if(n.hasOwnProperty(_e)){var xe=n[_e];if(_e===Pu)typeof xe=="string"?e.textContent!==xe&&(n[Ic]!==!0&&uv(e.textContent,xe,d,_),ve=[Pu,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(n[Ic]!==!0&&uv(e.textContent,xe,d,_),ve=[Pu,""+xe]);else if($t.hasOwnProperty(_e))xe!=null&&(typeof xe!="function"&&sv(_e,xe),_e==="onScroll"&&ba("scroll",e));else if(_&&typeof y=="boolean"){var at=void 0,Dt=y&&je?null:P(_e);if(n[Ic]!==!0){if(!(_e===ov||_e===Ic||_e==="value"||_e==="checked"||_e==="selected")){if(_e===Gp){var St=e.innerHTML,hr=xe?xe[iv]:void 0;if(hr!=null){var mr=NC(e,hr);mr!==St&&Kp(_e,St,mr)}}else if(_e===Iu){if(C.delete(_e),LC){var ue=SP(xe);at=e.getAttribute("style"),ue!==at&&Kp(_e,at,ue)}}else if(y&&!je)C.delete(_e.toLowerCase()),at=Je(e,_e,xe),xe!==at&&Kp(_e,at,xe);else if(!_r(_e,Dt,y)&&!$(_e,xe,Dt,y)){var De=!1;if(Dt!==null)C.delete(Dt.attributeName),at=Ae(e,_e,xe,Dt);else{var fe=i;if(fe===Bs&&(fe=Xg(t)),fe===Bs)C.delete(_e.toLowerCase());else{var qe=i9(_e);qe!==null&&qe!==_e&&(De=!0,C.delete(qe)),C.delete(_e)}at=Je(e,_e,xe)}var ut=je;!ut&&xe!==at&&!De&&Kp(_e,at,xe)}}}}}switch(_&&C.size>0&&n[Ic]!==!0&&AC(C),t){case"input":Dc(e),yt(e,n,!0);break;case"textarea":Dc(e),Ww(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&fv(e);break}return ve}function s9(e,t,n){var i=e.nodeValue!==t;return i}function d1(e,t){{if(bo)return;bo=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function p1(e,t){{if(bo)return;bo=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function h1(e,t,n){{if(bo)return;bo=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function m1(e,t){{if(t===""||bo)return;bo=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function c9(e,t,n){switch(t){case"input":Zt(e,n);return;case"textarea":rP(e,n);return;case"select":tP(e,n);return}}var Xp=function(){},Qp=function(){};{var u9=["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"],MC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],f9=MC.concat(["button"]),d9=["dd","dt","li","option","optgroup","p","rp","rt"],PC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Qp=function(e,t){var n=Ot({},e||PC),i={tag:t};return MC.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),f9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),u9.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=i,t==="form"&&(n.formTag=i),t==="a"&&(n.aTagInScope=i),t==="button"&&(n.buttonTagInScope=i),t==="nobr"&&(n.nobrTagInScope=i),t==="p"&&(n.pTagInButtonScope=i),t==="li"&&(n.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=i),n};var p9=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return d9.indexOf(t)===-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 t==null}return!0},h9=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},IC={};Xp=function(e,t,n){n=n||PC;var i=n.current,c=i&&i.tag;t!=null&&(e!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=p9(e,c)?null:i,_=d?null:h9(e,n),y=d||_;if(y){var C=y.tag,E=!!d+"|"+e+"|"+C;if(!IC[E]){IC[E]=!0;var A=e,J="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",J=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var Q="";C==="table"&&e==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",A,C,J,Q)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,C)}}}}var dv="suppressHydrationWarning",pv="$",hv="/$",Jp="$?",Zp="$!",m9="style",v1=null,_1=null;function v9(e){var t,n,i=e.nodeType;switch(i){case js:case Jg:{t=i===js?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:Qg(null,"");break}default:{var d=i===Xa?e.parentNode:e,_=d.namespaceURI||null;t=d.tagName,n=Qg(_,t);break}}{var y=t.toLowerCase(),C=Qp(null,y);return{namespace:n,ancestorInfo:C}}}function _9(e,t,n){{var i=e,c=Qg(i.namespace,t),d=Qp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:d}}}function W$(e){return e}function g9(e){v1=mz(),_1=NB();var t=null;return W3(!1),t}function b9(e){OB(_1),W3(v1),v1=null,_1=null}function y9(e,t,n,i,c){var d;{var _=i;if(Xp(e,null,_.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Qp(_.ancestorInfo,e);Xp(null,y,C)}d=_.namespace}var E=t9(e,t,n,d);return rh(c,E),k1(E,t),E}function S9(e,t){e.appendChild(t)}function w9(e,t,n,i,c){switch(a9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function C9(e,t,n,i,c,d){{var _=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,C=Qp(_.ancestorInfo,t);Xp(null,y,C)}}return n9(e,t,n,i)}function g1(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function x9(e,t,n,i){{var c=n;Xp(null,e,c.ancestorInfo)}var d=r9(e,t);return rh(i,d),d}function k9(){var e=window.event;return e===void 0?$s:q3(e.type)}var b1=typeof setTimeout=="function"?setTimeout:void 0,T9=typeof clearTimeout=="function"?clearTimeout:void 0,y1=-1,zC=typeof Promise=="function"?Promise:void 0,E9=typeof queueMicrotask=="function"?queueMicrotask:typeof zC!="undefined"?function(e){return zC.resolve(null).then(e).catch(R9)}:b1;function R9(e){setTimeout(function(){throw e})}function D9(e,t,n,i){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function A9(e,t,n,i,c,d){o9(e,t,n,i,c),k1(e,c)}function BC(e){Om(e,"")}function L9(e,t,n){e.nodeValue=n}function N9(e,t){e.appendChild(t)}function O9(e,t){var n;e.nodeType===Xa?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&fv(n)}function M9(e,t,n){e.insertBefore(t,n)}function P9(e,t,n){e.nodeType===Xa?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function I9(e,t){e.removeChild(t)}function z9(e,t){e.nodeType===Xa?e.parentNode.removeChild(t):e.removeChild(t)}function S1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Xa){var d=c.data;if(d===hv)if(i===0){e.removeChild(c),Pp(t);return}else i--;else(d===pv||d===Jp||d===Zp)&&i++}n=c}while(n);Pp(t)}function B9(e,t){e.nodeType===Xa?S1(e.parentNode,t):e.nodeType===go&&S1(e,t),Pp(e)}function F9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function j9(e){e.nodeValue=""}function H9(e,t){e=e;var n=t[m9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Zg("display",i)}function U9(e,t){e.nodeValue=t}function V9(e){e.nodeType===go?e.textContent="":e.nodeType===js&&e.documentElement&&e.removeChild(e.documentElement)}function W9(e,t,n){return e.nodeType!==go||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function q9(e,t){return t===""||e.nodeType!==Fs?null:e}function Y9(e){return e.nodeType!==Xa?null:e}function FC(e){return e.data===Jp}function w1(e){return e.data===Zp}function $9(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,c;return t&&(n=t.dgst,i=t.msg,c=t.stck),{message:i,digest:n,stack:c}}function G9(e,t){e._reactRetry=t}function mv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===go||t===Fs)break;if(t===Xa){var n=e.data;if(n===pv||n===Zp||n===Jp)break;if(n===hv)return null}}return e}function eh(e){return mv(e.nextSibling)}function K9(e){return mv(e.firstChild)}function X9(e){return mv(e.firstChild)}function Q9(e){return mv(e.nextSibling)}function J9(e,t,n,i,c,d,_){rh(d,e),k1(e,n);var y;{var C=c;y=C.namespace}var E=(d.mode&yr)!==Mt;return l9(e,t,n,y,i,E,_)}function Z9(e,t,n,i){rh(n,e);var c=(n.mode&yr)!==Mt;return s9(e,t)}function eF(e,t){rh(t,e)}function tF(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Xa){var i=t.data;if(i===hv){if(n===0)return eh(t);n--}else(i===pv||i===Zp||i===Jp)&&n++}t=t.nextSibling}return null}function jC(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Xa){var i=t.data;if(i===pv||i===Zp||i===Jp){if(n===0)return t;n--}else i===hv&&n++}t=t.previousSibling}return null}function rF(e){Pp(e)}function aF(e){Pp(e)}function nF(e){return e!=="head"&&e!=="body"}function oF(e,t,n,i){var c=!0;uv(t.nodeValue,n,i,c)}function iF(e,t,n,i,c,d){if(t[dv]!==!0){var _=!0;uv(i.nodeValue,c,d,_)}}function lF(e,t){t.nodeType===go?d1(e,t):t.nodeType===Xa||p1(e,t)}function sF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===go?d1(n,t):t.nodeType===Xa||p1(n,t))}}function cF(e,t,n,i,c){(c||t[dv]!==!0)&&(i.nodeType===go?d1(n,i):i.nodeType===Xa||p1(n,i))}function uF(e,t,n){h1(e,t)}function fF(e,t){m1(e,t)}function dF(e,t,n){{var i=e.parentNode;i!==null&&h1(i,t)}}function pF(e,t){{var n=e.parentNode;n!==null&&m1(n,t)}}function hF(e,t,n,i,c,d){(d||t[dv]!==!0)&&h1(n,i)}function mF(e,t,n,i,c){(c||t[dv]!==!0)&&m1(n,i)}function vF(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function _F(e){Yp(e)}var ed=Math.random().toString(36).slice(2),td="__reactFiber$"+ed,C1="__reactProps$"+ed,th="__reactContainer$"+ed,x1="__reactEvents$"+ed,gF="__reactListeners$"+ed,bF="__reactHandles$"+ed;function yF(e){delete e[td],delete e[C1],delete e[x1],delete e[gF],delete e[bF]}function rh(e,t){t[td]=e}function vv(e,t){t[th]=e}function HC(e){e[th]=null}function ah(e){return!!e[th]}function zu(e){var t=e[td];if(t)return t;for(var n=e.parentNode;n;){if(t=n[th]||n[td],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=jC(e);c!==null;){var d=c[td];if(d)return d;c=jC(c)}return t}e=n,n=e.parentNode}return null}function zc(e){var t=e[td]||e[th];return t&&(t.tag===w||t.tag===k||t.tag===Z||t.tag===b)?t:null}function rd(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function _v(e){return e[C1]||null}function k1(e,t){e[C1]=t}function SF(e){var t=e[x1];return t===void 0&&(t=e[x1]=new Set),t}var UC={},VC=o.ReactDebugCurrentFrame;function gv(e){if(e){var t=e._owner,n=Tf(e.type,e._source,t?t.type:null);VC.setExtraStackFrame(n)}else VC.setExtraStackFrame(null)}function jl(e,t,n,i,c){{var d=Function.call.bind(kt);for(var _ in e)if(d(e,_)){var y=void 0;try{if(typeof e[_]!="function"){var C=Error((i||"React class")+": "+n+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}y=e[_](t,_,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){y=E}y&&!(y instanceof Error)&&(gv(c),u("%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).",i||"React class",n,_,typeof y),gv(null)),y instanceof Error&&!(y.message in UC)&&(UC[y.message]=!0,gv(c),u("Failed %s type: %s",n,y.message),gv(null))}}}var T1=[],bv;bv=[];var Gs=-1;function Bc(e){return{current:e}}function zn(e,t){if(Gs<0){u("Unexpected pop.");return}t!==bv[Gs]&&u("Unexpected Fiber popped."),e.current=T1[Gs],T1[Gs]=null,bv[Gs]=null,Gs--}function Bn(e,t,n){Gs++,T1[Gs]=e.current,bv[Gs]=n,e.current=t}var E1;E1={};var Ho={};Object.freeze(Ho);var Ks=Bc(Ho),ps=Bc(!1),R1=Ho;function ad(e,t,n){return n&&hs(t)?R1:Ks.current}function WC(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function nd(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Ho;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var d={};for(var _ in i)d[_]=t[_];{var y=rr(e)||"Unknown";jl(i,d,"context",y)}return c&&WC(e,t,d),d}}function yv(){return ps.current}function hs(e){{var t=e.childContextTypes;return t!=null}}function Sv(e){zn(ps,e),zn(Ks,e)}function D1(e){zn(ps,e),zn(Ks,e)}function qC(e,t,n){{if(Ks.current!==Ho)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bn(Ks,t,e),Bn(ps,n,e)}}function YC(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=rr(e)||"Unknown";E1[d]||(E1[d]=!0,u("%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.",d,d))}return n}var _=i.getChildContext();for(var y in _)if(!(y in c))throw new Error((rr(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var C=rr(e)||"Unknown";jl(c,_,"child context",C)}return Ot({},n,_)}}function wv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Ho;return R1=Ks.current,Bn(Ks,n,e),Bn(ps,ps.current,e),!0}}function $C(e,t,n){{var i=e.stateNode;if(!i)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(n){var c=YC(e,t,R1);i.__reactInternalMemoizedMergedChildContext=c,zn(ps,e),zn(Ks,e),Bn(Ks,c,e),Bn(ps,n,e)}else zn(ps,e),Bn(ps,n,e)}}function wF(e){{if(!nI(e)||e.tag!==m)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 t=e;do{switch(t.tag){case b:return t.stateNode.context;case m:{var n=t.type;if(hs(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Fc=0,Cv=1,Xs=null,A1=!1,L1=!1;function GC(e){Xs===null?Xs=[e]:Xs.push(e)}function CF(e){A1=!0,GC(e)}function KC(){A1&&jc()}function jc(){if(!L1&&Xs!==null){L1=!0;var e=0,t=Fl();try{var n=!0,i=Xs;for(Sn(Bo);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}Xs=null,A1=!1}catch(d){throw Xs!==null&&(Xs=Xs.slice(e+1)),b3(Fm,jc),d}finally{Sn(t),L1=!1}}return null}var od=[],id=0,xv=null,kv=0,bl=[],yl=0,Bu=null,Qs=1,Js="";function xF(e){return ju(),(e.flags&f3)!==zt}function kF(e){return ju(),kv}function TF(){var e=Js,t=Qs,n=t&~EF(t);return n.toString(32)+e}function Fu(e,t){ju(),od[id++]=kv,od[id++]=xv,xv=e,kv=t}function XC(e,t,n){ju(),bl[yl++]=Qs,bl[yl++]=Js,bl[yl++]=Bu,Bu=e;var i=Qs,c=Js,d=Tv(i)-1,_=i&~(1<<d),y=n+1,C=Tv(t)+d;if(C>30){var E=d-d%5,A=(1<<E)-1,J=(_&A).toString(32),Q=_>>E,ve=d-E,_e=Tv(t)+ve,xe=y<<ve,at=xe|Q,Dt=J+c;Qs=1<<_e|at,Js=Dt}else{var St=y<<d,hr=St|_,mr=c;Qs=1<<C|hr,Js=mr}}function N1(e){ju();var t=e.return;if(t!==null){var n=1,i=0;Fu(e,n),XC(e,n,i)}}function Tv(e){return 32-k3(e)}function EF(e){return 1<<Tv(e)-1}function O1(e){for(;e===xv;)xv=od[--id],od[id]=null,kv=od[--id],od[id]=null;for(;e===Bu;)Bu=bl[--yl],bl[yl]=null,Js=bl[--yl],bl[yl]=null,Qs=bl[--yl],bl[yl]=null}function RF(){return ju(),Bu!==null?{id:Qs,overflow:Js}:null}function DF(e,t){ju(),bl[yl++]=Qs,bl[yl++]=Js,bl[yl++]=Bu,Qs=t.id,Js=t.overflow,Bu=e}function ju(){Tn()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var kn=null,Sl=null,Hl=!1,Hu=!1,Hc=null;function AF(){Hl&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function QC(){Hu=!0}function LF(){return Hu}function NF(e){var t=e.stateNode.containerInfo;return Sl=X9(t),kn=e,Hl=!0,Hc=null,Hu=!1,!0}function OF(e,t,n){return Sl=Q9(t),kn=e,Hl=!0,Hc=null,Hu=!1,n!==null&&DF(e,n),!0}function JC(e,t){switch(e.tag){case b:{lF(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&yr)!==Mt;cF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Z:{var i=e.memoizedState;i.dehydrated!==null&&sF(i.dehydrated,t);break}}}function ZC(e,t){JC(e,t);var n=UU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=xu):i.push(n)}function M1(e,t){{if(Hu)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,c=t.pendingProps;uF(n,i);break;case k:var d=t.pendingProps;fF(n,d);break}break}case w:{var _=e.type,y=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var E=t.type,A=t.pendingProps,J=(e.mode&yr)!==Mt;hF(_,y,C,E,A,J);break}case k:{var Q=t.pendingProps,ve=(e.mode&yr)!==Mt;mF(_,y,C,Q,ve);break}}break}case Z:{var _e=e.memoizedState,xe=_e.dehydrated;if(xe!==null)switch(t.tag){case w:var at=t.type,Dt=t.pendingProps;dF(xe,at);break;case k:var St=t.pendingProps;pF(xe,St);break}break}default:return}}}function ex(e,t){t.flags=t.flags&~Us|Qa,M1(e,t)}function tx(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,c=W9(t,n);return c!==null?(e.stateNode=c,kn=e,Sl=K9(c),!0):!1}case k:{var d=e.pendingProps,_=q9(t,d);return _!==null?(e.stateNode=_,kn=e,Sl=null,!0):!1}case Z:{var y=Y9(t);if(y!==null){var C={dehydrated:y,treeContext:RF(),retryLane:Io};e.memoizedState=C;var E=VU(y);return E.return=e,e.child=E,kn=e,Sl=null,!0}return!1}default:return!1}}function P1(e){return(e.mode&yr)!==Mt&&(e.flags&Ir)===zt}function I1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function z1(e){if(Hl){var t=Sl;if(!t){P1(e)&&(M1(kn,e),I1()),ex(kn,e),Hl=!1,kn=e;return}var n=t;if(!tx(e,t)){P1(e)&&(M1(kn,e),I1()),t=eh(n);var i=kn;if(!t||!tx(e,t)){ex(kn,e),Hl=!1,kn=e;return}ZC(i,n)}}}function MF(e,t,n){var i=e.stateNode,c=!Hu,d=J9(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=d,d!==null}function PF(e){var t=e.stateNode,n=e.memoizedProps,i=Z9(t,n,e);if(i){var c=kn;if(c!==null)switch(c.tag){case b:{var d=c.stateNode.containerInfo,_=(c.mode&yr)!==Mt;oF(d,t,n,_);break}case w:{var y=c.type,C=c.memoizedProps,E=c.stateNode,A=(c.mode&yr)!==Mt;iF(y,C,E,t,n,A);break}}}return i}function IF(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");eF(n,e)}function zF(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)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 tF(n)}function rx(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==b&&t.tag!==Z;)t=t.return;kn=t}function Ev(e){if(e!==kn)return!1;if(!Hl)return rx(e),Hl=!0,!1;if(e.tag!==b&&(e.tag!==w||nF(e.type)&&!g1(e.type,e.memoizedProps))){var t=Sl;if(t)if(P1(e))ax(e),I1();else for(;t;)ZC(e,t),t=eh(t)}return rx(e),e.tag===Z?Sl=zF(e):Sl=kn?eh(e.stateNode):null,!0}function BF(){return Hl&&Sl!==null}function ax(e){for(var t=Sl;t;)JC(e,t),t=eh(t)}function ld(){kn=null,Sl=null,Hl=!1,Hu=!1}function nx(){Hc!==null&&(J4(Hc),Hc=null)}function Tn(){return Hl}function B1(e){Hc===null?Hc=[e]:Hc.push(e)}var FF=o.ReactCurrentBatchConfig,jF=null;function HF(){return FF.transition}var Ul={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var UF=function(e){for(var t=null,n=e;n!==null;)n.mode&Pa&&(t=n),n=n.return;return t},Uu=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},nh=[],oh=[],ih=[],lh=[],sh=[],ch=[],Vu=new Set;Ul.recordUnsafeLifecycleWarnings=function(e,t){Vu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&nh.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillMount=="function"&&oh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ih.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&lh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sh.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillUpdate=="function"&&ch.push(e))},Ul.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;nh.length>0&&(nh.forEach(function(Q){e.add(rr(Q)||"Component"),Vu.add(Q.type)}),nh=[]);var t=new Set;oh.length>0&&(oh.forEach(function(Q){t.add(rr(Q)||"Component"),Vu.add(Q.type)}),oh=[]);var n=new Set;ih.length>0&&(ih.forEach(function(Q){n.add(rr(Q)||"Component"),Vu.add(Q.type)}),ih=[]);var i=new Set;lh.length>0&&(lh.forEach(function(Q){i.add(rr(Q)||"Component"),Vu.add(Q.type)}),lh=[]);var c=new Set;sh.length>0&&(sh.forEach(function(Q){c.add(rr(Q)||"Component"),Vu.add(Q.type)}),sh=[]);var d=new Set;if(ch.length>0&&(ch.forEach(function(Q){d.add(rr(Q)||"Component"),Vu.add(Q.type)}),ch=[]),t.size>0){var _=Uu(t);u(`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.
31
+ Check the render method of \``+e+"`.":""}var dp=["value","defaultValue"];function $g(e){{cp("select",e);for(var t=0;t<dp.length;t++){var n=dp[t];if(e[n]!=null){var i=an(e[n]);e.multiple&&!i?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Lm()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Lm())}}}}function zs(e,t,n,i){var c=e.options;if(t){for(var d=n,_={},y=0;y<d.length;y++)_["$"+d[y]]=!0;for(var C=0;C<c.length;C++){var E=_.hasOwnProperty("$"+c[C].value);c[C].selected!==E&&(c[C].selected=E),E&&i&&(c[C].defaultSelected=!0)}}else{for(var A=_o(Il(n)),J=null,Q=0;Q<c.length;Q++){if(c[Q].value===A){c[Q].selected=!0,i&&(c[Q].defaultSelected=!0);return}J===null&&!c[Q].disabled&&(J=c[Q])}J!==null&&(J.selected=!0)}}function pp(e,t){return Ot({},t,{value:void 0})}function jw(e,t){var n=e;$g(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Mf&&(u("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"),Mf=!0)}function ZM(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?zs(n,!!t.multiple,i,!1):t.defaultValue!=null&&zs(n,!!t.multiple,t.defaultValue,!0)}function eP(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?zs(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?zs(n,!!t.multiple,t.defaultValue,!0):zs(n,!!t.multiple,t.multiple?[]:"",!1))}function tP(e,t){var n=e,i=t.value;i!=null&&zs(n,!!t.multiple,i,!1)}var Hw=!1;function Gg(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Ot({},t,{value:void 0,defaultValue:void 0,children:_o(n._wrapperState.initialValue)});return i}function Uw(e,t){var n=e;cp("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Hw&&(u("%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",Rc()||"A component"),Hw=!0);var i=t.value;if(i==null){var c=t.children,d=t.defaultValue;if(c!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(an(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}d=c}}d==null&&(d=""),i=d}n._wrapperState={initialValue:Il(i)}}function Vw(e,t){var n=e,i=Il(t.value),c=Il(t.defaultValue);if(i!=null){var d=_o(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}c!=null&&(n.defaultValue=_o(c))}function Ww(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function rP(e,t){Vw(e,t)}var Bs="http://www.w3.org/1999/xhtml",aP="http://www.w3.org/1998/Math/MathML",Kg="http://www.w3.org/2000/svg";function Xg(e){switch(e){case"svg":return Kg;case"math":return aP;default:return Bs}}function Qg(e,t){return e==null||e===Bs?Xg(t):e===Kg&&t==="foreignObject"?Bs:e}var nP=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Nm,qw=nP(function(e,t){if(e.namespaceURI===Kg&&!("innerHTML"in e)){Nm=Nm||document.createElement("div"),Nm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Nm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),go=1,Fs=3,Qa=8,js=9,Jg=11,Om=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Fs){n.nodeValue=t;return}}e.textContent=t},oP={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"]},hp={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 iP(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var lP=["Webkit","ms","Moz","O"];Object.keys(hp).forEach(function(e){lP.forEach(function(t){hp[iP(t,e)]=hp[e]})});function Zg(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(hp.hasOwnProperty(e)&&hp[e])?t+"px":(jr(t,e),(""+t).trim())}var sP=/([A-Z])/g,cP=/^ms-/;function uP(e){return e.replace(sP,"-$1").toLowerCase().replace(cP,"-ms-")}var Yw=function(){};{var fP=/^(?:webkit|moz|o)[A-Z]/,dP=/^-ms-/,pP=/-(.)/g,$w=/;\s*$/,Pf={},eb={},Gw=!1,Kw=!1,hP=function(e){return e.replace(pP,function(t,n){return n.toUpperCase()})},mP=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,hP(e.replace(dP,"ms-"))))},vP=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},_P=function(e,t){eb.hasOwnProperty(t)&&eb[t]||(eb[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace($w,"")))},gP=function(e,t){Gw||(Gw=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},bP=function(e,t){Kw||(Kw=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))};Yw=function(e,t){e.indexOf("-")>-1?mP(e):fP.test(e)?vP(e):$w.test(t)&&_P(e,t),typeof t=="number"&&(isNaN(t)?gP(e,t):isFinite(t)||bP(e,t))}}var yP=Yw;function SP(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var c=e[i];if(c!=null){var d=i.indexOf("--")===0;t+=n+(d?i:uP(i))+":",t+=Zg(i,c,d),n=";"}}return t||null}}function Xw(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var c=i.indexOf("--")===0;c||yP(i,t[i]);var d=Zg(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,d):n[i]=d}}function wP(e){return e==null||typeof e=="boolean"||e===""}function Qw(e){var t={};for(var n in e)for(var i=oP[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function CP(e,t){{if(!t)return;var n=Qw(e),i=Qw(t),c={};for(var d in n){var _=n[d],y=i[d];if(y&&_!==y){var C=_+","+y;if(c[C])continue;c[C]=!0,u("%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.",wP(e[_])?"Removing":"Updating",_,y)}}}}var xP={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},kP=Ot({menuitem:!0},xP),TP="__html";function tb(e,t){if(t){if(kP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(TP in t.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(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&u("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."),t.style!=null&&typeof t.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 Cu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Mm={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"},Jw={"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},If={},EP=new RegExp("^(aria)-["+ct+"]*$"),RP=new RegExp("^(aria)[A-Z]["+ct+"]*$");function DP(e,t){{if(kt.call(If,t)&&If[t])return!0;if(RP.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=Jw.hasOwnProperty(n)?n:null;if(i==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),If[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),If[t]=!0,!0}if(EP.test(t)){var c=t.toLowerCase(),d=Jw.hasOwnProperty(c)?c:null;if(d==null)return If[t]=!0,!1;if(t!==d)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),If[t]=!0,!0}}return!0}function AP(e,t){{var n=[];for(var i in t){var c=DP(e,i);c||n.push(i)}var d=n.map(function(_){return"`"+_+"`"}).join(", ");n.length===1?u("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function LP(e,t){Cu(e,t)||AP(e,t)}var Zw=!1;function NP(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Zw&&(Zw=!0,e==="select"&&t.multiple?u("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var e3=function(){};{var $n={},t3=/^on./,OP=/^on[^A-Z]/,MP=new RegExp("^(aria)-["+ct+"]*$"),PP=new RegExp("^(aria)[A-Z]["+ct+"]*$");e3=function(e,t,n,i){if(kt.call($n,t)&&$n[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return u("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."),$n[t]=!0,!0;if(i!=null){var d=i.registrationNameDependencies,_=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=_.hasOwnProperty(c)?_[c]:null;if(y!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,y),$n[t]=!0,!0;if(t3.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),$n[t]=!0,!0}else if(t3.test(t))return OP.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),$n[t]=!0,!0;if(MP.test(t)||PP.test(t))return!0;if(c==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),$n[t]=!0,!0;if(c==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),$n[t]=!0,!0;if(c==="is"&&n!==null&&n!==void 0&&typeof n!="string")return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),$n[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),$n[t]=!0,!0;var C=P(t),E=C!==null&&C.type===pr;if(Mm.hasOwnProperty(c)){var A=Mm[c];if(A!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,A),$n[t]=!0,!0}else if(!E&&t!==c)return u("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,c),$n[t]=!0,!0;return typeof n=="boolean"&&Yr(t,n,C,!1)?(n?u('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,t,t,n,t):u('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.',n,t,t,n,t,t,t),$n[t]=!0,!0):E?!0:Yr(t,n,C,!1)?($n[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===kr&&(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),$n[t]=!0),!0)}}var IP=function(e,t,n){{var i=[];for(var c in t){var d=e3(e,c,t[c],n);d||i.push(c)}var _=i.map(function(y){return"`"+y+"`"}).join(", ");i.length===1?u("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 ",_,e):i.length>1&&u("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 ",_,e)}};function zP(e,t,n){Cu(e,t)||IP(e,t,n)}var r3=1,rb=2,mp=4,BP=r3|rb|mp,vp=null;function FP(e){vp!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),vp=e}function jP(){vp===null&&u("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),vp=null}function HP(e){return e===vp}function ab(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Fs?t.parentNode:t}var nb=null,zf=null,Bf=null;function a3(e){var t=zc(e);if(t){if(typeof nb!="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 n=t.stateNode;if(n){var i=_v(n);nb(t.stateNode,t.type,i)}}}function UP(e){nb=e}function n3(e){zf?Bf?Bf.push(e):Bf=[e]:zf=e}function VP(){return zf!==null||Bf!==null}function o3(){if(zf){var e=zf,t=Bf;if(zf=null,Bf=null,a3(e),t)for(var n=0;n<t.length;n++)a3(t[n])}}var i3=function(e,t){return e(t)},l3=function(){},ob=!1;function WP(){var e=VP();e&&(l3(),o3())}function s3(e,t,n){if(ob)return e(t,n);ob=!0;try{return i3(e,t,n)}finally{ob=!1,WP()}}function qP(e,t,n){i3=e,l3=n}function YP(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function $P(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(n.disabled&&YP(t));default:return!1}}function _p(e,t){var n=e.stateNode;if(n===null)return null;var i=_v(n);if(i===null)return null;var c=i[t];if($P(t,e.type,i))return null;if(c&&typeof c!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof c+"` type.");return c}var ib=!1;if(it)try{var gp={};Object.defineProperty(gp,"passive",{get:function(){ib=!0}}),window.addEventListener("test",gp,gp),window.removeEventListener("test",gp,gp)}catch(e){ib=!1}function c3(e,t,n,i,c,d,_,y,C){var E=Array.prototype.slice.call(arguments,3);try{t.apply(n,E)}catch(A){this.onError(A)}}var u3=c3;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var lb=document.createElement("react");u3=function(t,n,i,c,d,_,y,C,E){if(typeof document=="undefined"||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 A=document.createEvent("Event"),J=!1,Q=!0,ve=window.event,_e=Object.getOwnPropertyDescriptor(window,"event");function xe(){lb.removeEventListener(De,Dt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ve)}var at=Array.prototype.slice.call(arguments,3);function Dt(){J=!0,xe(),n.apply(i,at),Q=!1}var St,hr=!1,mr=!1;function ue(fe){if(St=fe.error,hr=!0,St===null&&fe.colno===0&&fe.lineno===0&&(mr=!0),fe.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(qe){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ue),lb.addEventListener(De,Dt,!1),A.initEvent(De,!1,!1),lb.dispatchEvent(A),_e&&Object.defineProperty(window,"event",_e),J&&Q&&(hr?mr&&(St=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.")):St=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(St)),window.removeEventListener("error",ue),!J)return xe(),c3.apply(this,arguments)}}var GP=u3,Ff=!1,Pm=null,Im=!1,sb=null,KP={onError:function(e){Ff=!0,Pm=e}};function cb(e,t,n,i,c,d,_,y,C){Ff=!1,Pm=null,GP.apply(KP,arguments)}function XP(e,t,n,i,c,d,_,y,C){if(cb.apply(this,arguments),Ff){var E=ub();Im||(Im=!0,sb=E)}}function QP(){if(Im){var e=sb;throw Im=!1,sb=null,e}}function JP(){return Ff}function ub(){if(Ff){var e=Pm;return Ff=!1,Pm=null,e}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 jf(e){return e._reactInternals}function ZP(e){return e._reactInternals!==void 0}function eI(e,t){e._reactInternals=t}var zt=0,Hf=1,Ja=2,Er=4,xu=16,bp=32,fb=64,Ir=128,Hs=256,Ac=512,ku=1024,zl=2048,Us=4096,Tu=8192,zm=16384,tI=zl|Er|fb|Ac|ku|zm,rI=32767,yp=32768,Gn=65536,db=131072,f3=1048576,pb=2097152,Eu=4194304,hb=8388608,Vs=16777216,Bm=33554432,mb=Er|ku|0,vb=Ja|Er|xu|bp|Ac|Us|Tu,Sp=Er|fb|Ac|Tu,Uf=zl|xu,Ws=Eu|hb|pb,aI=o.ReactCurrentOwner;function Ru(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Ja|Us))!==zt&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function d3(e){if(e.tag===Z){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function p3(e){return e.tag===b?e.stateNode.containerInfo:null}function nI(e){return Ru(e)===e}function oI(e){{var t=aI.current;if(t!==null&&t.tag===m){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||u("%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.",rr(n)||"A component"),i._warnedAboutRefsInRender=!0}}var c=jf(e);return c?Ru(c)===c:!1}function h3(e){if(Ru(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function m3(e){var t=e.alternate;if(!t){var n=Ru(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,c=t;;){var d=i.return;if(d===null)break;var _=d.alternate;if(_===null){var y=d.return;if(y!==null){i=c=y;continue}break}if(d.child===_.child){for(var C=d.child;C;){if(C===i)return h3(d),e;if(C===c)return h3(d),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==c.return)i=d,c=_;else{for(var E=!1,A=d.child;A;){if(A===i){E=!0,i=d,c=_;break}if(A===c){E=!0,c=d,i=_;break}A=A.sibling}if(!E){for(A=_.child;A;){if(A===i){E=!0,i=_,c=d;break}if(A===c){E=!0,c=_,i=d;break}A=A.sibling}if(!E)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(i.alternate!==c)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(i.tag!==b)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function v3(e){var t=m3(e);return t!==null?_3(t):null}function _3(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){var n=_3(t);if(n!==null)return n;t=t.sibling}return null}function iI(e){var t=m3(e);return t!==null?g3(t):null}function g3(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==S){var n=g3(t);if(n!==null)return n}t=t.sibling}return null}var b3=a.unstable_scheduleCallback,lI=a.unstable_cancelCallback,sI=a.unstable_shouldYield,cI=a.unstable_requestPaint,gn=a.unstable_now,uI=a.unstable_getCurrentPriorityLevel,Fm=a.unstable_ImmediatePriority,_b=a.unstable_UserBlockingPriority,Du=a.unstable_NormalPriority,fI=a.unstable_LowPriority,gb=a.unstable_IdlePriority,dI=a.unstable_yieldValue,pI=a.unstable_setDisableYieldValue,Au=null,xn=null,lt=null,fs=!1,Bl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function hI(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return u("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{Ge&&(e=Ot({},e,{getLaneLabelMap:yI,injectProfilingHooks:bI})),Au=t.inject(e),xn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function mI(e,t){if(xn&&typeof xn.onScheduleFiberRoot=="function")try{xn.onScheduleFiberRoot(Au,e,t)}catch(n){fs||(fs=!0,u("React instrumentation encountered an error: %s",n))}}function vI(e,t){if(xn&&typeof xn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Ir)===Ir;if(rt){var i;switch(t){case Bo:i=Fm;break;case Ys:i=_b;break;case $s:i=Du;break;case Ym:i=gb;break;default:i=Du;break}xn.onCommitFiberRoot(Au,e,i,n)}else xn.onCommitFiberRoot(Au,e,void 0,n)}catch(c){fs||(fs=!0,u("React instrumentation encountered an error: %s",c))}}function _I(e){if(xn&&typeof xn.onPostCommitFiberRoot=="function")try{xn.onPostCommitFiberRoot(Au,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function gI(e){if(xn&&typeof xn.onCommitFiberUnmount=="function")try{xn.onCommitFiberUnmount(Au,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function bn(e){if(typeof dI=="function"&&(pI(e),l(e)),xn&&typeof xn.setStrictMode=="function")try{xn.setStrictMode(Au,e)}catch(t){fs||(fs=!0,u("React instrumentation encountered an error: %s",t))}}function bI(e){lt=e}function yI(){{for(var e=new Map,t=1,n=0;n<yb;n++){var i=jI(t);e.set(t,i),t*=2}return e}}function SI(e){lt!==null&&typeof lt.markCommitStarted=="function"&&lt.markCommitStarted(e)}function y3(){lt!==null&&typeof lt.markCommitStopped=="function"&&lt.markCommitStopped()}function wp(e){lt!==null&&typeof lt.markComponentRenderStarted=="function"&&lt.markComponentRenderStarted(e)}function Vf(){lt!==null&&typeof lt.markComponentRenderStopped=="function"&&lt.markComponentRenderStopped()}function wI(e){lt!==null&&typeof lt.markComponentPassiveEffectMountStarted=="function"&&lt.markComponentPassiveEffectMountStarted(e)}function CI(){lt!==null&&typeof lt.markComponentPassiveEffectMountStopped=="function"&&lt.markComponentPassiveEffectMountStopped()}function xI(e){lt!==null&&typeof lt.markComponentPassiveEffectUnmountStarted=="function"&&lt.markComponentPassiveEffectUnmountStarted(e)}function kI(){lt!==null&&typeof lt.markComponentPassiveEffectUnmountStopped=="function"&&lt.markComponentPassiveEffectUnmountStopped()}function TI(e){lt!==null&&typeof lt.markComponentLayoutEffectMountStarted=="function"&&lt.markComponentLayoutEffectMountStarted(e)}function EI(){lt!==null&&typeof lt.markComponentLayoutEffectMountStopped=="function"&&lt.markComponentLayoutEffectMountStopped()}function S3(e){lt!==null&&typeof lt.markComponentLayoutEffectUnmountStarted=="function"&&lt.markComponentLayoutEffectUnmountStarted(e)}function w3(){lt!==null&&typeof lt.markComponentLayoutEffectUnmountStopped=="function"&&lt.markComponentLayoutEffectUnmountStopped()}function RI(e,t,n){lt!==null&&typeof lt.markComponentErrored=="function"&&lt.markComponentErrored(e,t,n)}function DI(e,t,n){lt!==null&&typeof lt.markComponentSuspended=="function"&&lt.markComponentSuspended(e,t,n)}function AI(e){lt!==null&&typeof lt.markLayoutEffectsStarted=="function"&&lt.markLayoutEffectsStarted(e)}function LI(){lt!==null&&typeof lt.markLayoutEffectsStopped=="function"&&lt.markLayoutEffectsStopped()}function NI(e){lt!==null&&typeof lt.markPassiveEffectsStarted=="function"&&lt.markPassiveEffectsStarted(e)}function OI(){lt!==null&&typeof lt.markPassiveEffectsStopped=="function"&&lt.markPassiveEffectsStopped()}function C3(e){lt!==null&&typeof lt.markRenderStarted=="function"&&lt.markRenderStarted(e)}function MI(){lt!==null&&typeof lt.markRenderYielded=="function"&&lt.markRenderYielded()}function x3(){lt!==null&&typeof lt.markRenderStopped=="function"&&lt.markRenderStopped()}function PI(e){lt!==null&&typeof lt.markRenderScheduled=="function"&&lt.markRenderScheduled(e)}function II(e,t){lt!==null&&typeof lt.markForceUpdateScheduled=="function"&&lt.markForceUpdateScheduled(e,t)}function bb(e,t){lt!==null&&typeof lt.markStateUpdateScheduled=="function"&&lt.markStateUpdateScheduled(e,t)}var Mt=0,yr=1,Kr=2,Pa=8,ds=16,k3=Math.clz32?Math.clz32:FI,zI=Math.log,BI=Math.LN2;function FI(e){var t=e>>>0;return t===0?32:31-(zI(t)/BI|0)|0}var yb=31,Ie=0,yn=0,qt=1,Wf=2,qs=4,Lu=8,ps=16,Cp=32,qf=4194240,xp=64,Sb=128,wb=256,Cb=512,xb=1024,kb=2048,Tb=4096,Eb=8192,Rb=16384,Db=32768,Ab=65536,Lb=131072,Nb=262144,Ob=524288,Mb=1048576,Pb=2097152,jm=130023424,Yf=4194304,Ib=8388608,zb=16777216,Bb=33554432,Fb=67108864,T3=Yf,kp=134217728,E3=268435455,Tp=268435456,Nu=536870912,Io=1073741824;function jI(e){{if(e&qt)return"Sync";if(e&Wf)return"InputContinuousHydration";if(e&qs)return"InputContinuous";if(e&Lu)return"DefaultHydration";if(e&ps)return"Default";if(e&Cp)return"TransitionHydration";if(e&qf)return"Transition";if(e&jm)return"Retry";if(e&kp)return"SelectiveHydration";if(e&Tp)return"IdleHydration";if(e&Nu)return"Idle";if(e&Io)return"Offscreen"}}var ma=-1,Hm=xp,Um=Yf;function Ep(e){switch(Ou(e)){case qt:return qt;case Wf:return Wf;case qs:return qs;case Lu:return Lu;case ps:return ps;case Cp:return Cp;case xp:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:return e&qf;case Yf:case Ib:case zb:case Bb:case Fb:return e&jm;case kp:return kp;case Tp:return Tp;case Nu:return Nu;case Io:return Io;default:return u("Should have found matching lanes. This is a bug in React."),e}}function Vm(e,t){var n=e.pendingLanes;if(n===Ie)return Ie;var i=Ie,c=e.suspendedLanes,d=e.pingedLanes,_=n&E3;if(_!==Ie){var y=_&~c;if(y!==Ie)i=Ep(y);else{var C=_&d;C!==Ie&&(i=Ep(C))}}else{var E=n&~c;E!==Ie?i=Ep(E):d!==Ie&&(i=Ep(d))}if(i===Ie)return Ie;if(t!==Ie&&t!==i&&(t&c)===Ie){var A=Ou(i),J=Ou(t);if(A>=J||A===ps&&(J&qf)!==Ie)return t}(i&qs)!==Ie&&(i|=n&ps);var Q=e.entangledLanes;if(Q!==Ie)for(var ve=e.entanglements,_e=i&Q;_e>0;){var xe=Mu(_e),at=1<<xe;i|=ve[xe],_e&=~at}return i}function HI(e,t){for(var n=e.eventTimes,i=ma;t>0;){var c=Mu(t),d=1<<c,_=n[c];_>i&&(i=_),t&=~d}return i}function UI(e,t){switch(e){case qt:case Wf:case qs:return t+250;case Lu:case ps:case Cp:case xp:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:return t+5e3;case Yf:case Ib:case zb:case Bb:case Fb:return ma;case kp:case Tp:case Nu:case Io:return ma;default:return u("Should have found matching lanes. This is a bug in React."),ma}}function VI(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,d=e.expirationTimes,_=n;_>0;){var y=Mu(_),C=1<<y,E=d[y];E===ma?((C&i)===Ie||(C&c)!==Ie)&&(d[y]=UI(C,t)):E<=t&&(e.expiredLanes|=C),_&=~C}}function WI(e){return Ep(e.pendingLanes)}function jb(e){var t=e.pendingLanes&~Io;return t!==Ie?t:t&Io?Io:Ie}function qI(e){return(e&qt)!==Ie}function Hb(e){return(e&E3)!==Ie}function R3(e){return(e&jm)===e}function YI(e){var t=qt|qs|ps;return(e&t)===Ie}function $I(e){return(e&qf)===e}function Wm(e,t){var n=Wf|qs|Lu|ps;return(t&n)!==Ie}function GI(e,t){return(t&e.expiredLanes)!==Ie}function D3(e){return(e&qf)!==Ie}function A3(){var e=Hm;return Hm<<=1,(Hm&qf)===Ie&&(Hm=xp),e}function KI(){var e=Um;return Um<<=1,(Um&jm)===Ie&&(Um=Yf),e}function Ou(e){return e&-e}function Rp(e){return Ou(e)}function Mu(e){return 31-k3(e)}function Ub(e){return Mu(e)}function zo(e,t){return(e&t)!==Ie}function $f(e,t){return(e&t)===t}function ir(e,t){return e|t}function qm(e,t){return e&~t}function L3(e,t){return e&t}function V$(e){return e}function XI(e,t){return e!==yn&&e<t?e:t}function Vb(e){for(var t=[],n=0;n<yb;n++)t.push(e);return t}function Dp(e,t,n){e.pendingLanes|=t,t!==Nu&&(e.suspendedLanes=Ie,e.pingedLanes=Ie);var i=e.eventTimes,c=Ub(t);i[c]=n}function QI(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Mu(i),d=1<<c;n[c]=ma,i&=~d}}function N3(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function JI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ie,e.pingedLanes=Ie,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,d=e.expirationTimes,_=n;_>0;){var y=Mu(_),C=1<<y;i[y]=Ie,c[y]=ma,d[y]=ma,_&=~C}}function Wb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var d=Mu(c),_=1<<d;_&t|i[d]&t&&(i[d]|=t),c&=~_}}function ZI(e,t){var n=Ou(t),i;switch(n){case qs:i=Wf;break;case ps:i=Lu;break;case xp:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Lb:case Nb:case Ob:case Mb:case Pb:case Yf:case Ib:case zb:case Bb:case Fb:i=Cp;break;case Nu:i=Tp;break;default:i=yn;break}return(i&(e.suspendedLanes|t))!==yn?yn:i}function O3(e,t,n){if(Bl)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=Ub(n),d=1<<c,_=i[c];_.add(t),n&=~d}}function M3(e,t){if(Bl)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=Ub(t),d=1<<c,_=n[c];_.size>0&&(_.forEach(function(y){var C=y.alternate;(C===null||!i.has(C))&&i.add(y)}),_.clear()),t&=~d}}function P3(e,t){return null}var Bo=qt,Ys=qs,$s=ps,Ym=Nu,Ap=yn;function Fl(){return Ap}function Sn(e){Ap=e}function ez(e,t){var n=Ap;try{return Ap=e,t()}finally{Ap=n}}function tz(e,t){return e!==0&&e<t?e:t}function rz(e,t){return e===0||e>t?e:t}function qb(e,t){return e!==0&&e<t}function I3(e){var t=Ou(e);return qb(Bo,t)?qb(Ys,t)?Hb(t)?$s:Ym:Ys:Bo}function $m(e){var t=e.current.memoizedState;return t.isDehydrated}var z3;function az(e){z3=e}function nz(e){z3(e)}var Yb;function oz(e){Yb=e}var B3;function iz(e){B3=e}var F3;function lz(e){F3=e}var j3;function sz(e){j3=e}var $b=!1,Gm=[],Lc=null,Nc=null,Oc=null,Lp=new Map,Np=new Map,Mc=[],cz=["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 uz(e){return cz.indexOf(e)>-1}function fz(e,t,n,i,c){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:c,targetContainers:[i]}}function H3(e,t){switch(e){case"focusin":case"focusout":Lc=null;break;case"dragenter":case"dragleave":Nc=null;break;case"mouseover":case"mouseout":Oc=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Lp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Np.delete(i);break}}}function Op(e,t,n,i,c,d){if(e===null||e.nativeEvent!==d){var _=fz(t,n,i,c,d);if(t!==null){var y=zc(t);y!==null&&Yb(y)}return _}e.eventSystemFlags|=i;var C=e.targetContainers;return c!==null&&C.indexOf(c)===-1&&C.push(c),e}function dz(e,t,n,i,c){switch(t){case"focusin":{var d=c;return Lc=Op(Lc,e,t,n,i,d),!0}case"dragenter":{var _=c;return Nc=Op(Nc,e,t,n,i,_),!0}case"mouseover":{var y=c;return Oc=Op(Oc,e,t,n,i,y),!0}case"pointerover":{var C=c,E=C.pointerId;return Lp.set(E,Op(Lp.get(E)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var A=c,J=A.pointerId;return Np.set(J,Op(Np.get(J)||null,e,t,n,i,A)),!0}}return!1}function U3(e){var t=zu(e.target);if(t!==null){var n=Ru(t);if(n!==null){var i=n.tag;if(i===Z){var c=d3(n);if(c!==null){e.blockedOn=c,j3(e.priority,function(){B3(n)});return}}else if(i===b){var d=n.stateNode;if($m(d)){e.blockedOn=p3(n);return}}}}e.blockedOn=null}function pz(e){for(var t=F3(),n={blockedOn:null,target:e,priority:t},i=0;i<Mc.length&&qb(t,Mc[i].priority);i++);Mc.splice(i,0,n),i===0&&U3(n)}function Km(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=Xb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,d=new c.constructor(c.type,c);FP(d),c.target.dispatchEvent(d),jP()}else{var _=zc(i);return _!==null&&Yb(_),e.blockedOn=i,!1}t.shift()}return!0}function V3(e,t,n){Km(e)&&n.delete(t)}function hz(){$b=!1,Lc!==null&&Km(Lc)&&(Lc=null),Nc!==null&&Km(Nc)&&(Nc=null),Oc!==null&&Km(Oc)&&(Oc=null),Lp.forEach(V3),Np.forEach(V3)}function Mp(e,t){e.blockedOn===t&&(e.blockedOn=null,$b||($b=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,hz)))}function Pp(e){if(Gm.length>0){Mp(Gm[0],e);for(var t=1;t<Gm.length;t++){var n=Gm[t];n.blockedOn===e&&(n.blockedOn=null)}}Lc!==null&&Mp(Lc,e),Nc!==null&&Mp(Nc,e),Oc!==null&&Mp(Oc,e);var i=function(y){return Mp(y,e)};Lp.forEach(i),Np.forEach(i);for(var c=0;c<Mc.length;c++){var d=Mc[c];d.blockedOn===e&&(d.blockedOn=null)}for(;Mc.length>0;){var _=Mc[0];if(_.blockedOn!==null)break;U3(_),_.blockedOn===null&&Mc.shift()}}var Gf=o.ReactCurrentBatchConfig,Gb=!0;function W3(e){Gb=!!e}function mz(){return Gb}function vz(e,t,n){var i=q3(t),c;switch(i){case Bo:c=_z;break;case Ys:c=gz;break;case $s:default:c=Kb;break}return c.bind(null,t,n,e)}function _z(e,t,n,i){var c=Fl(),d=Gf.transition;Gf.transition=null;try{Sn(Bo),Kb(e,t,n,i)}finally{Sn(c),Gf.transition=d}}function gz(e,t,n,i){var c=Fl(),d=Gf.transition;Gf.transition=null;try{Sn(Ys),Kb(e,t,n,i)}finally{Sn(c),Gf.transition=d}}function Kb(e,t,n,i){Gb&&bz(e,t,n,i)}function bz(e,t,n,i){var c=Xb(e,t,n,i);if(c===null){u1(e,t,i,Xm,n),H3(e,i);return}if(dz(c,e,t,n,i)){i.stopPropagation();return}if(H3(e,i),t&mp&&uz(e)){for(;c!==null;){var d=zc(c);d!==null&&nz(d);var _=Xb(e,t,n,i);if(_===null&&u1(e,t,i,Xm,n),_===c)break;c=_}c!==null&&i.stopPropagation();return}u1(e,t,i,null,n)}var Xm=null;function Xb(e,t,n,i){Xm=null;var c=ab(i),d=zu(c);if(d!==null){var _=Ru(d);if(_===null)d=null;else{var y=_.tag;if(y===Z){var C=d3(_);if(C!==null)return C;d=null}else if(y===b){var E=_.stateNode;if($m(E))return p3(_);d=null}else _!==d&&(d=null)}}return Xm=d,null}function q3(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Bo;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 Ys;case"message":{var t=uI();switch(t){case Fm:return Bo;case _b:return Ys;case Du:case fI:return $s;case gb:return Ym;default:return $s}}default:return $s}}function yz(e,t,n){return e.addEventListener(t,n,!1),n}function Sz(e,t,n){return e.addEventListener(t,n,!0),n}function wz(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function Cz(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Ip=null,Qb=null,zp=null;function xz(e){return Ip=e,Qb=$3(),!0}function kz(){Ip=null,Qb=null,zp=null}function Y3(){if(zp)return zp;var e,t=Qb,n=t.length,i,c=$3(),d=c.length;for(e=0;e<n&&t[e]===c[e];e++);var _=n-e;for(i=1;i<=_&&t[n-i]===c[d-i];i++);var y=i>1?1-i:void 0;return zp=c.slice(e,y),zp}function $3(){return"value"in Ip?Ip.value:Ip.textContent}function Qm(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}function Jm(){return!0}function G3(){return!1}function Fo(e){function t(n,i,c,d,_){this._reactName=n,this._targetInst=c,this.type=i,this.nativeEvent=d,this.target=_,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var C=e[y];C?this[y]=C(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=Jm:this.isDefaultPrevented=G3,this.isPropagationStopped=G3,this}return Ot(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Jm)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Jm)},persist:function(){},isPersistent:Jm}),t}var Kf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jb=Fo(Kf),Bp=Ot({},Kf,{view:0,detail:0}),Tz=Fo(Bp),Zb,e1,Fp;function Ez(e){e!==Fp&&(Fp&&e.type==="mousemove"?(Zb=e.screenX-Fp.screenX,e1=e.screenY-Fp.screenY):(Zb=0,e1=0),Fp=e)}var Zm=Ot({},Bp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:r1,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Ez(e),Zb)},movementY:function(e){return"movementY"in e?e.movementY:e1}}),K3=Fo(Zm),Rz=Ot({},Zm,{dataTransfer:0}),Dz=Fo(Rz),Az=Ot({},Bp,{relatedTarget:0}),t1=Fo(Az),Lz=Ot({},Kf,{animationName:0,elapsedTime:0,pseudoElement:0}),Nz=Fo(Lz),Oz=Ot({},Kf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mz=Fo(Oz),Pz=Ot({},Kf,{data:0}),X3=Fo(Pz),Iz=X3,zz={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bz={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 Fz(e){if(e.key){var t=zz[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Qm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?Bz[e.keyCode]||"Unidentified":""}var jz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hz(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=jz[e];return i?!!n[i]:!1}function r1(e){return Hz}var Uz=Ot({},Bp,{key:Fz,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:r1,charCode:function(e){return e.type==="keypress"?Qm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vz=Fo(Uz),Wz=Ot({},Zm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Q3=Fo(Wz),qz=Ot({},Bp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:r1}),Yz=Fo(qz),$z=Ot({},Kf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gz=Fo($z),Kz=Ot({},Zm,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Xz=Fo(Kz),Qz=[9,13,27,32],J3=229,a1=it&&"CompositionEvent"in window,jp=null;it&&"documentMode"in document&&(jp=document.documentMode);var Jz=it&&"TextEvent"in window&&!jp,Z3=it&&(!a1||jp&&jp>8&&jp<=11),eC=32,tC=String.fromCharCode(eC);function Zz(){Xe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xe("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Xe("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Xe("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var rC=!1;function eB(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function tB(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function rB(e,t){return e==="keydown"&&t.keyCode===J3}function aC(e,t){switch(e){case"keyup":return Qz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==J3;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nC(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function oC(e){return e.locale==="ko"}var Xf=!1;function aB(e,t,n,i,c){var d,_;if(a1?d=tB(t):Xf?aC(t,i)&&(d="onCompositionEnd"):rB(t,i)&&(d="onCompositionStart"),!d)return null;Z3&&!oC(i)&&(!Xf&&d==="onCompositionStart"?Xf=xz(c):d==="onCompositionEnd"&&Xf&&(_=Y3()));var y=nv(n,d);if(y.length>0){var C=new X3(d,t,null,i,c);if(e.push({event:C,listeners:y}),_)C.data=_;else{var E=nC(i);E!==null&&(C.data=E)}}}function nB(e,t){switch(e){case"compositionend":return nC(t);case"keypress":var n=t.which;return n!==eC?null:(rC=!0,tC);case"textInput":var i=t.data;return i===tC&&rC?null:i;default:return null}}function oB(e,t){if(Xf){if(e==="compositionend"||!a1&&aC(e,t)){var n=Y3();return kz(),Xf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!eB(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Z3&&!oC(t)?null:t.data;default:return null}}function iB(e,t,n,i,c){var d;if(Jz?d=nB(t,i):d=oB(t,i),!d)return null;var _=nv(n,"onBeforeInput");if(_.length>0){var y=new Iz("onBeforeInput","beforeinput",null,i,c);e.push({event:y,listeners:_}),y.data=d}}function lB(e,t,n,i,c,d,_){aB(e,t,n,i,c),iB(e,t,n,i,c)}var sB={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 iC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sB[e.type]:t==="textarea"}function cB(e){if(!it)return!1;var t="on"+e,n=t in document;if(!n){var i=document.createElement("div");i.setAttribute(t,"return;"),n=typeof i[t]=="function"}return n}function uB(){Xe("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function lC(e,t,n,i){n3(i);var c=nv(t,"onChange");if(c.length>0){var d=new Jb("onChange","change",null,n,i);e.push({event:d,listeners:c})}}var Hp=null,Up=null;function fB(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function dB(e){var t=[];lC(t,Up,e,ab(e)),s3(pB,t)}function pB(e){kC(e,0)}function ev(e){var t=rd(e);if(Lf(t))return e}function hB(e,t){if(e==="change")return t}var sC=!1;it&&(sC=cB("input")&&(!document.documentMode||document.documentMode>9));function mB(e,t){Hp=e,Up=t,Hp.attachEvent("onpropertychange",uC)}function cC(){Hp&&(Hp.detachEvent("onpropertychange",uC),Hp=null,Up=null)}function uC(e){e.propertyName==="value"&&ev(Up)&&dB(e)}function vB(e,t,n){e==="focusin"?(cC(),mB(t,n)):e==="focusout"&&cC()}function _B(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ev(Up)}function gB(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function bB(e,t){if(e==="click")return ev(t)}function yB(e,t){if(e==="input"||e==="change")return ev(t)}function SB(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function wB(e,t,n,i,c,d,_){var y=n?rd(n):window,C,E;if(fB(y)?C=hB:iC(y)?sC?C=yB:(C=_B,E=vB):gB(y)&&(C=bB),C){var A=C(t,n);if(A){lC(e,A,i,c);return}}E&&E(t,y,n),t==="focusout"&&SB(y)}function CB(){ke("onMouseEnter",["mouseout","mouseover"]),ke("onMouseLeave",["mouseout","mouseover"]),ke("onPointerEnter",["pointerout","pointerover"]),ke("onPointerLeave",["pointerout","pointerover"])}function xB(e,t,n,i,c,d,_){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!HP(i)){var E=i.relatedTarget||i.fromElement;if(E&&(zu(E)||ah(E)))return}if(!(!C&&!y)){var A;if(c.window===c)A=c;else{var J=c.ownerDocument;J?A=J.defaultView||J.parentWindow:A=window}var Q,ve;if(C){var _e=i.relatedTarget||i.toElement;if(Q=n,ve=_e?zu(_e):null,ve!==null){var xe=Ru(ve);(ve!==xe||ve.tag!==w&&ve.tag!==k)&&(ve=null)}}else Q=null,ve=n;if(Q!==ve){var at=K3,Dt="onMouseLeave",St="onMouseEnter",hr="mouse";(t==="pointerout"||t==="pointerover")&&(at=Q3,Dt="onPointerLeave",St="onPointerEnter",hr="pointer");var mr=Q==null?A:rd(Q),ue=ve==null?A:rd(ve),De=new at(Dt,hr+"leave",Q,i,c);De.target=mr,De.relatedTarget=ue;var fe=null,qe=zu(c);if(qe===n){var ut=new at(St,hr+"enter",ve,i,c);ut.target=ue,ut.relatedTarget=mr,fe=ut}GB(e,De,fe,Q,ve)}}}function kB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jo=typeof Object.is=="function"?Object.is:kB;function Vp(e,t){if(jo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var c=0;c<n.length;c++){var d=n[c];if(!kt.call(t,d)||!jo(e[d],t[d]))return!1}return!0}function fC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function TB(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function dC(e,t){for(var n=fC(e),i=0,c=0;n;){if(n.nodeType===Fs){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=fC(TB(n))}}function EB(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var c=i.anchorNode,d=i.anchorOffset,_=i.focusNode,y=i.focusOffset;try{c.nodeType,_.nodeType}catch(C){return null}return RB(e,c,d,_,y)}function RB(e,t,n,i,c){var d=0,_=-1,y=-1,C=0,E=0,A=e,J=null;e:for(;;){for(var Q=null;A===t&&(n===0||A.nodeType===Fs)&&(_=d+n),A===i&&(c===0||A.nodeType===Fs)&&(y=d+c),A.nodeType===Fs&&(d+=A.nodeValue.length),(Q=A.firstChild)!==null;)J=A,A=Q;for(;;){if(A===e)break e;if(J===t&&++C===n&&(_=d),J===i&&++E===c&&(y=d),(Q=A.nextSibling)!==null)break;A=J,J=A.parentNode}A=Q}return _===-1||y===-1?null:{start:_,end:y}}function DB(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var c=i.getSelection(),d=e.textContent.length,_=Math.min(t.start,d),y=t.end===void 0?_:Math.min(t.end,d);if(!c.extend&&_>y){var C=y;y=_,_=C}var E=dC(e,_),A=dC(e,y);if(E&&A){if(c.rangeCount===1&&c.anchorNode===E.node&&c.anchorOffset===E.offset&&c.focusNode===A.node&&c.focusOffset===A.offset)return;var J=n.createRange();J.setStart(E.node,E.offset),c.removeAllRanges(),_>y?(c.addRange(J),c.extend(A.node,A.offset)):(J.setEnd(A.node,A.offset),c.addRange(J))}}}function pC(e){return e&&e.nodeType===Fs}function hC(e,t){return!e||!t?!1:e===t?!0:pC(e)?!1:pC(t)?hC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function AB(e){return e&&e.ownerDocument&&hC(e.ownerDocument.documentElement,e)}function LB(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function mC(){for(var e=window,t=Nf();t instanceof e.HTMLIFrameElement;){if(LB(t))e=t.contentWindow;else return t;t=Nf(e.document)}return t}function n1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function NB(){var e=mC();return{focusedElem:e,selectionRange:n1(e)?MB(e):null}}function OB(e){var t=mC(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&AB(n)){i!==null&&n1(n)&&PB(n,i);for(var c=[],d=n;d=d.parentNode;)d.nodeType===go&&c.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var _=0;_<c.length;_++){var y=c[_];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function MB(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=EB(e),t||{start:0,end:0}}function PB(e,t){var n=t.start,i=t.end;i===void 0&&(i=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(i,e.value.length)):DB(e,t)}var IB=it&&"documentMode"in document&&document.documentMode<=11;function zB(){Xe("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Qf=null,o1=null,Wp=null,i1=!1;function BB(e){if("selectionStart"in e&&n1(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,n=t.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}function FB(e){return e.window===e?e.document:e.nodeType===js?e:e.ownerDocument}function vC(e,t,n){var i=FB(n);if(!(i1||Qf==null||Qf!==Nf(i))){var c=BB(Qf);if(!Wp||!Vp(Wp,c)){Wp=c;var d=nv(o1,"onSelect");if(d.length>0){var _=new Jb("onSelect","select",null,t,n);e.push({event:_,listeners:d}),_.target=Qf}}}}function jB(e,t,n,i,c,d,_){var y=n?rd(n):window;switch(t){case"focusin":(iC(y)||y.contentEditable==="true")&&(Qf=y,o1=n,Wp=null);break;case"focusout":Qf=null,o1=null,Wp=null;break;case"mousedown":i1=!0;break;case"contextmenu":case"mouseup":case"dragend":i1=!1,vC(e,i,c);break;case"selectionchange":if(IB)break;case"keydown":case"keyup":vC(e,i,c)}}function tv(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jf={animationend:tv("Animation","AnimationEnd"),animationiteration:tv("Animation","AnimationIteration"),animationstart:tv("Animation","AnimationStart"),transitionend:tv("Transition","TransitionEnd")},l1={},_C={};it&&(_C=document.createElement("div").style,"AnimationEvent"in window||(delete Jf.animationend.animation,delete Jf.animationiteration.animation,delete Jf.animationstart.animation),"TransitionEvent"in window||delete Jf.transitionend.transition);function rv(e){if(l1[e])return l1[e];if(!Jf[e])return e;var t=Jf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in _C)return l1[e]=t[n];return e}var gC=rv("animationend"),bC=rv("animationiteration"),yC=rv("animationstart"),SC=rv("transitionend"),wC=new Map,CC=["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 Pc(e,t){wC.set(e,t),Xe(t,[e])}function HB(){for(var e=0;e<CC.length;e++){var t=CC[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Pc(n,"on"+i)}Pc(gC,"onAnimationEnd"),Pc(bC,"onAnimationIteration"),Pc(yC,"onAnimationStart"),Pc("dblclick","onDoubleClick"),Pc("focusin","onFocus"),Pc("focusout","onBlur"),Pc(SC,"onTransitionEnd")}function UB(e,t,n,i,c,d,_){var y=wC.get(t);if(y!==void 0){var C=Jb,E=t;switch(t){case"keypress":if(Qm(i)===0)return;case"keydown":case"keyup":C=Vz;break;case"focusin":E="focus",C=t1;break;case"focusout":E="blur",C=t1;break;case"beforeblur":case"afterblur":C=t1;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=K3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=Dz;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=Yz;break;case gC:case bC:case yC:C=Nz;break;case SC:C=Gz;break;case"scroll":C=Tz;break;case"wheel":C=Xz;break;case"copy":case"cut":case"paste":C=Mz;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=Q3;break}var A=(d&mp)!==0;{var J=!A&&t==="scroll",Q=YB(n,y,i.type,A,J);if(Q.length>0){var ve=new C(y,E,null,i,c);e.push({event:ve,listeners:Q})}}}}HB(),CB(),uB(),zB(),Zz();function VB(e,t,n,i,c,d,_){UB(e,t,n,i,c,d);var y=(d&BP)===0;y&&(xB(e,t,n,i,c),wB(e,t,n,i,c),jB(e,t,n,i,c),lB(e,t,n,i,c))}var qp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],s1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(qp));function xC(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,XP(i,t,void 0,e),e.currentTarget=null}function WB(e,t,n){var i;if(n)for(var c=t.length-1;c>=0;c--){var d=t[c],_=d.instance,y=d.currentTarget,C=d.listener;if(_!==i&&e.isPropagationStopped())return;xC(e,C,y),i=_}else for(var E=0;E<t.length;E++){var A=t[E],J=A.instance,Q=A.currentTarget,ve=A.listener;if(J!==i&&e.isPropagationStopped())return;xC(e,ve,Q),i=J}}function kC(e,t){for(var n=(t&mp)!==0,i=0;i<e.length;i++){var c=e[i],d=c.event,_=c.listeners;WB(d,_,n)}QP()}function qB(e,t,n,i,c){var d=ab(n),_=[];VB(_,e,i,n,d,t),kC(_,t)}function ba(e,t){s1.has(e)||u('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,i=SF(t),c=KB(e,n);i.has(c)||(TC(t,e,rb,n),i.add(c))}function c1(e,t,n){s1.has(e)&&!t&&u('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=mp),TC(n,e,i,t)}var av="_reactListening"+Math.random().toString(36).slice(2);function Yp(e){if(!e[av]){e[av]=!0,Nt.forEach(function(n){n!=="selectionchange"&&(s1.has(n)||c1(n,!1,e),c1(n,!0,e))});var t=e.nodeType===js?e:e.ownerDocument;t!==null&&(t[av]||(t[av]=!0,c1("selectionchange",!1,t)))}}function TC(e,t,n,i,c){var d=vz(e,t,n),_=void 0;ib&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(_=!0),e=e;var y;i?_!==void 0?y=wz(e,t,d,_):y=Sz(e,t,d):_!==void 0?y=Cz(e,t,d,_):y=yz(e,t,d)}function EC(e,t){return e===t||e.nodeType===Qa&&e.parentNode===t}function u1(e,t,n,i,c){var d=i;if(!(t&r3)&&!(t&rb)){var _=c;if(i!==null){var y=i;e:for(;;){if(y===null)return;var C=y.tag;if(C===b||C===S){var E=y.stateNode.containerInfo;if(EC(E,_))break;if(C===S)for(var A=y.return;A!==null;){var J=A.tag;if(J===b||J===S){var Q=A.stateNode.containerInfo;if(EC(Q,_))return}A=A.return}for(;E!==null;){var ve=zu(E);if(ve===null)return;var _e=ve.tag;if(_e===w||_e===k){y=d=ve;continue e}E=E.parentNode}}y=y.return}}}s3(function(){return qB(e,t,n,d)})}function $p(e,t,n){return{instance:e,listener:t,currentTarget:n}}function YB(e,t,n,i,c,d){for(var _=t!==null?t+"Capture":null,y=i?_:t,C=[],E=e,A=null;E!==null;){var J=E,Q=J.stateNode,ve=J.tag;if(ve===w&&Q!==null&&(A=Q,y!==null)){var _e=_p(E,y);_e!=null&&C.push($p(E,_e,A))}if(c)break;E=E.return}return C}function nv(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var d=c,_=d.stateNode,y=d.tag;if(y===w&&_!==null){var C=_,E=_p(c,n);E!=null&&i.unshift($p(c,E,C));var A=_p(c,t);A!=null&&i.push($p(c,A,C))}c=c.return}return i}function Zf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function $B(e,t){for(var n=e,i=t,c=0,d=n;d;d=Zf(d))c++;for(var _=0,y=i;y;y=Zf(y))_++;for(;c-_>0;)n=Zf(n),c--;for(;_-c>0;)i=Zf(i),_--;for(var C=c;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=Zf(n),i=Zf(i)}return null}function RC(e,t,n,i,c){for(var d=t._reactName,_=[],y=n;y!==null&&y!==i;){var C=y,E=C.alternate,A=C.stateNode,J=C.tag;if(E!==null&&E===i)break;if(J===w&&A!==null){var Q=A;if(c){var ve=_p(y,d);ve!=null&&_.unshift($p(y,ve,Q))}else if(!c){var _e=_p(y,d);_e!=null&&_.push($p(y,_e,Q))}}y=y.return}_.length!==0&&e.push({event:t,listeners:_})}function GB(e,t,n,i,c){var d=i&&c?$B(i,c):null;i!==null&&RC(e,t,i,d,!1),c!==null&&n!==null&&RC(e,n,c,d,!0)}function KB(e,t){return e+"__"+(t?"capture":"bubble")}var bo=!1,Gp="dangerouslySetInnerHTML",ov="suppressContentEditableWarning",Ic="suppressHydrationWarning",DC="autoFocus",Pu="children",Iu="style",iv="__html",f1,lv,Kp,AC,sv,LC,NC;f1={dialog:!0,webview:!0},lv=function(e,t){LP(e,t),NP(e,t),zP(e,t,{registrationNameDependencies:$t,possibleRegistrationNames:dt})},LC=it&&!document.documentMode,Kp=function(e,t,n){if(!bo){var i=cv(n),c=cv(t);c!==i&&(bo=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},AC=function(e){if(!bo){bo=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},sv=function(e,t){t===!1?u("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},NC=function(e,t){var n=e.namespaceURI===Bs?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var XB=/\r\n?/g,QB=/\u0000|\uFFFD/g;function cv(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(XB,`
32
+ `).replace(QB,"")}function uv(e,t,n,i){var c=cv(t),d=cv(e);if(d!==c&&(i&&(bo||(bo=!0,u('Text content did not match. Server: "%s" Client: "%s"',d,c))),n&&W))throw new Error("Text content does not match server-rendered HTML.")}function OC(e){return e.nodeType===js?e:e.ownerDocument}function JB(){}function fv(e){e.onclick=JB}function ZB(e,t,n,i,c){for(var d in i)if(i.hasOwnProperty(d)){var _=i[d];if(d===Iu)_&&Object.freeze(_),Xw(t,_);else if(d===Gp){var y=_?_[iv]:void 0;y!=null&&qw(t,y)}else if(d===Pu)if(typeof _=="string"){var C=e!=="textarea"||_!=="";C&&Om(t,_)}else typeof _=="number"&&Om(t,""+_);else d===ov||d===Ic||d===DC||($t.hasOwnProperty(d)?_!=null&&(typeof _!="function"&&sv(d,_),d==="onScroll"&&ba("scroll",t)):_!=null&&I(t,d,_,c))}}function e9(e,t,n,i){for(var c=0;c<t.length;c+=2){var d=t[c],_=t[c+1];d===Iu?Xw(e,_):d===Gp?qw(e,_):d===Pu?Om(e,_):I(e,d,_,i)}}function t9(e,t,n,i){var c,d=OC(n),_,y=i;if(y===Bs&&(y=Xg(e)),y===Bs){if(c=Cu(e,t),!c&&e!==e.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=d.createElement("div");C.innerHTML="<script></script>";var E=C.firstChild;_=C.removeChild(E)}else if(typeof t.is=="string")_=d.createElement(e,{is:t.is});else if(_=d.createElement(e),e==="select"){var A=_;t.multiple?A.multiple=!0:t.size&&(A.size=t.size)}}else _=d.createElementNS(y,e);return y===Bs&&!c&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!kt.call(f1,e)&&(f1[e]=!0,u("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),_}function r9(e,t){return OC(t).createTextNode(e)}function a9(e,t,n,i){var c=Cu(t,n);lv(t,n);var d;switch(t){case"dialog":ba("cancel",e),ba("close",e),d=n;break;case"iframe":case"object":case"embed":ba("load",e),d=n;break;case"video":case"audio":for(var _=0;_<qp.length;_++)ba(qp[_],e);d=n;break;case"source":ba("error",e),d=n;break;case"img":case"image":case"link":ba("error",e),ba("load",e),d=n;break;case"details":ba("toggle",e),d=n;break;case"input":Ee(e,n),d=me(e,n),ba("invalid",e);break;case"option":Da(e,n),d=n;break;case"select":jw(e,n),d=pp(e,n),ba("invalid",e);break;case"textarea":Uw(e,n),d=Gg(e,n),ba("invalid",e);break;default:d=n}switch(tb(t,d),ZB(t,e,i,d,c),t){case"input":Dc(e),yt(e,n,!1);break;case"textarea":Dc(e),Ww(e);break;case"option":rn(e,n);break;case"select":ZM(e,n);break;default:typeof d.onClick=="function"&&fv(e);break}}function n9(e,t,n,i,c){lv(t,i);var d=null,_,y;switch(t){case"input":_=me(e,n),y=me(e,i),d=[];break;case"select":_=pp(e,n),y=pp(e,i),d=[];break;case"textarea":_=Gg(e,n),y=Gg(e,i),d=[];break;default:_=n,y=i,typeof _.onClick!="function"&&typeof y.onClick=="function"&&fv(e);break}tb(t,y);var C,E,A=null;for(C in _)if(!(y.hasOwnProperty(C)||!_.hasOwnProperty(C)||_[C]==null))if(C===Iu){var J=_[C];for(E in J)J.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else C===Gp||C===Pu||C===ov||C===Ic||C===DC||($t.hasOwnProperty(C)?d||(d=[]):(d=d||[]).push(C,null));for(C in y){var Q=y[C],ve=_!=null?_[C]:void 0;if(!(!y.hasOwnProperty(C)||Q===ve||Q==null&&ve==null))if(C===Iu)if(Q&&Object.freeze(Q),ve){for(E in ve)ve.hasOwnProperty(E)&&(!Q||!Q.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in Q)Q.hasOwnProperty(E)&&ve[E]!==Q[E]&&(A||(A={}),A[E]=Q[E])}else A||(d||(d=[]),d.push(C,A)),A=Q;else if(C===Gp){var _e=Q?Q[iv]:void 0,xe=ve?ve[iv]:void 0;_e!=null&&xe!==_e&&(d=d||[]).push(C,_e)}else C===Pu?(typeof Q=="string"||typeof Q=="number")&&(d=d||[]).push(C,""+Q):C===ov||C===Ic||($t.hasOwnProperty(C)?(Q!=null&&(typeof Q!="function"&&sv(C,Q),C==="onScroll"&&ba("scroll",e)),!d&&ve!==Q&&(d=[])):(d=d||[]).push(C,Q))}return A&&(CP(A,y[Iu]),(d=d||[]).push(Iu,A)),d}function o9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&Qe(e,c);var d=Cu(n,i),_=Cu(n,c);switch(e9(e,t,d,_),n){case"input":Pt(e,c);break;case"textarea":Vw(e,c);break;case"select":eP(e,c);break}}function i9(e){{var t=e.toLowerCase();return Mm.hasOwnProperty(t)&&Mm[t]||null}}function l9(e,t,n,i,c,d,_){var y,C;switch(y=Cu(t,n),lv(t,n),t){case"dialog":ba("cancel",e),ba("close",e);break;case"iframe":case"object":case"embed":ba("load",e);break;case"video":case"audio":for(var E=0;E<qp.length;E++)ba(qp[E],e);break;case"source":ba("error",e);break;case"img":case"image":case"link":ba("error",e),ba("load",e);break;case"details":ba("toggle",e);break;case"input":Ee(e,n),ba("invalid",e);break;case"option":Da(e,n);break;case"select":jw(e,n),ba("invalid",e);break;case"textarea":Uw(e,n),ba("invalid",e);break}tb(t,n);{C=new Set;for(var A=e.attributes,J=0;J<A.length;J++){var Q=A[J].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:C.add(A[J].name)}}}var ve=null;for(var _e in n)if(n.hasOwnProperty(_e)){var xe=n[_e];if(_e===Pu)typeof xe=="string"?e.textContent!==xe&&(n[Ic]!==!0&&uv(e.textContent,xe,d,_),ve=[Pu,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(n[Ic]!==!0&&uv(e.textContent,xe,d,_),ve=[Pu,""+xe]);else if($t.hasOwnProperty(_e))xe!=null&&(typeof xe!="function"&&sv(_e,xe),_e==="onScroll"&&ba("scroll",e));else if(_&&typeof y=="boolean"){var at=void 0,Dt=y&&je?null:P(_e);if(n[Ic]!==!0){if(!(_e===ov||_e===Ic||_e==="value"||_e==="checked"||_e==="selected")){if(_e===Gp){var St=e.innerHTML,hr=xe?xe[iv]:void 0;if(hr!=null){var mr=NC(e,hr);mr!==St&&Kp(_e,St,mr)}}else if(_e===Iu){if(C.delete(_e),LC){var ue=SP(xe);at=e.getAttribute("style"),ue!==at&&Kp(_e,at,ue)}}else if(y&&!je)C.delete(_e.toLowerCase()),at=Je(e,_e,xe),xe!==at&&Kp(_e,at,xe);else if(!_r(_e,Dt,y)&&!$(_e,xe,Dt,y)){var De=!1;if(Dt!==null)C.delete(Dt.attributeName),at=Ae(e,_e,xe,Dt);else{var fe=i;if(fe===Bs&&(fe=Xg(t)),fe===Bs)C.delete(_e.toLowerCase());else{var qe=i9(_e);qe!==null&&qe!==_e&&(De=!0,C.delete(qe)),C.delete(_e)}at=Je(e,_e,xe)}var ut=je;!ut&&xe!==at&&!De&&Kp(_e,at,xe)}}}}}switch(_&&C.size>0&&n[Ic]!==!0&&AC(C),t){case"input":Dc(e),yt(e,n,!0);break;case"textarea":Dc(e),Ww(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&fv(e);break}return ve}function s9(e,t,n){var i=e.nodeValue!==t;return i}function d1(e,t){{if(bo)return;bo=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function p1(e,t){{if(bo)return;bo=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function h1(e,t,n){{if(bo)return;bo=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function m1(e,t){{if(t===""||bo)return;bo=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function c9(e,t,n){switch(t){case"input":Zt(e,n);return;case"textarea":rP(e,n);return;case"select":tP(e,n);return}}var Xp=function(){},Qp=function(){};{var u9=["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"],MC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],f9=MC.concat(["button"]),d9=["dd","dt","li","option","optgroup","p","rp","rt"],PC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Qp=function(e,t){var n=Ot({},e||PC),i={tag:t};return MC.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),f9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),u9.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=i,t==="form"&&(n.formTag=i),t==="a"&&(n.aTagInScope=i),t==="button"&&(n.buttonTagInScope=i),t==="nobr"&&(n.nobrTagInScope=i),t==="p"&&(n.pTagInButtonScope=i),t==="li"&&(n.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=i),n};var p9=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return d9.indexOf(t)===-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 t==null}return!0},h9=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},IC={};Xp=function(e,t,n){n=n||PC;var i=n.current,c=i&&i.tag;t!=null&&(e!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=p9(e,c)?null:i,_=d?null:h9(e,n),y=d||_;if(y){var C=y.tag,E=!!d+"|"+e+"|"+C;if(!IC[E]){IC[E]=!0;var A=e,J="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",J=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var Q="";C==="table"&&e==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",A,C,J,Q)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,C)}}}}var dv="suppressHydrationWarning",pv="$",hv="/$",Jp="$?",Zp="$!",m9="style",v1=null,_1=null;function v9(e){var t,n,i=e.nodeType;switch(i){case js:case Jg:{t=i===js?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:Qg(null,"");break}default:{var d=i===Qa?e.parentNode:e,_=d.namespaceURI||null;t=d.tagName,n=Qg(_,t);break}}{var y=t.toLowerCase(),C=Qp(null,y);return{namespace:n,ancestorInfo:C}}}function _9(e,t,n){{var i=e,c=Qg(i.namespace,t),d=Qp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:d}}}function W$(e){return e}function g9(e){v1=mz(),_1=NB();var t=null;return W3(!1),t}function b9(e){OB(_1),W3(v1),v1=null,_1=null}function y9(e,t,n,i,c){var d;{var _=i;if(Xp(e,null,_.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Qp(_.ancestorInfo,e);Xp(null,y,C)}d=_.namespace}var E=t9(e,t,n,d);return rh(c,E),k1(E,t),E}function S9(e,t){e.appendChild(t)}function w9(e,t,n,i,c){switch(a9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function C9(e,t,n,i,c,d){{var _=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,C=Qp(_.ancestorInfo,t);Xp(null,y,C)}}return n9(e,t,n,i)}function g1(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function x9(e,t,n,i){{var c=n;Xp(null,e,c.ancestorInfo)}var d=r9(e,t);return rh(i,d),d}function k9(){var e=window.event;return e===void 0?$s:q3(e.type)}var b1=typeof setTimeout=="function"?setTimeout:void 0,T9=typeof clearTimeout=="function"?clearTimeout:void 0,y1=-1,zC=typeof Promise=="function"?Promise:void 0,E9=typeof queueMicrotask=="function"?queueMicrotask:typeof zC!="undefined"?function(e){return zC.resolve(null).then(e).catch(R9)}:b1;function R9(e){setTimeout(function(){throw e})}function D9(e,t,n,i){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function A9(e,t,n,i,c,d){o9(e,t,n,i,c),k1(e,c)}function BC(e){Om(e,"")}function L9(e,t,n){e.nodeValue=n}function N9(e,t){e.appendChild(t)}function O9(e,t){var n;e.nodeType===Qa?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&fv(n)}function M9(e,t,n){e.insertBefore(t,n)}function P9(e,t,n){e.nodeType===Qa?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function I9(e,t){e.removeChild(t)}function z9(e,t){e.nodeType===Qa?e.parentNode.removeChild(t):e.removeChild(t)}function S1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Qa){var d=c.data;if(d===hv)if(i===0){e.removeChild(c),Pp(t);return}else i--;else(d===pv||d===Jp||d===Zp)&&i++}n=c}while(n);Pp(t)}function B9(e,t){e.nodeType===Qa?S1(e.parentNode,t):e.nodeType===go&&S1(e,t),Pp(e)}function F9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function j9(e){e.nodeValue=""}function H9(e,t){e=e;var n=t[m9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Zg("display",i)}function U9(e,t){e.nodeValue=t}function V9(e){e.nodeType===go?e.textContent="":e.nodeType===js&&e.documentElement&&e.removeChild(e.documentElement)}function W9(e,t,n){return e.nodeType!==go||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function q9(e,t){return t===""||e.nodeType!==Fs?null:e}function Y9(e){return e.nodeType!==Qa?null:e}function FC(e){return e.data===Jp}function w1(e){return e.data===Zp}function $9(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,c;return t&&(n=t.dgst,i=t.msg,c=t.stck),{message:i,digest:n,stack:c}}function G9(e,t){e._reactRetry=t}function mv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===go||t===Fs)break;if(t===Qa){var n=e.data;if(n===pv||n===Zp||n===Jp)break;if(n===hv)return null}}return e}function eh(e){return mv(e.nextSibling)}function K9(e){return mv(e.firstChild)}function X9(e){return mv(e.firstChild)}function Q9(e){return mv(e.nextSibling)}function J9(e,t,n,i,c,d,_){rh(d,e),k1(e,n);var y;{var C=c;y=C.namespace}var E=(d.mode&yr)!==Mt;return l9(e,t,n,y,i,E,_)}function Z9(e,t,n,i){rh(n,e);var c=(n.mode&yr)!==Mt;return s9(e,t)}function eF(e,t){rh(t,e)}function tF(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Qa){var i=t.data;if(i===hv){if(n===0)return eh(t);n--}else(i===pv||i===Zp||i===Jp)&&n++}t=t.nextSibling}return null}function jC(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Qa){var i=t.data;if(i===pv||i===Zp||i===Jp){if(n===0)return t;n--}else i===hv&&n++}t=t.previousSibling}return null}function rF(e){Pp(e)}function aF(e){Pp(e)}function nF(e){return e!=="head"&&e!=="body"}function oF(e,t,n,i){var c=!0;uv(t.nodeValue,n,i,c)}function iF(e,t,n,i,c,d){if(t[dv]!==!0){var _=!0;uv(i.nodeValue,c,d,_)}}function lF(e,t){t.nodeType===go?d1(e,t):t.nodeType===Qa||p1(e,t)}function sF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===go?d1(n,t):t.nodeType===Qa||p1(n,t))}}function cF(e,t,n,i,c){(c||t[dv]!==!0)&&(i.nodeType===go?d1(n,i):i.nodeType===Qa||p1(n,i))}function uF(e,t,n){h1(e,t)}function fF(e,t){m1(e,t)}function dF(e,t,n){{var i=e.parentNode;i!==null&&h1(i,t)}}function pF(e,t){{var n=e.parentNode;n!==null&&m1(n,t)}}function hF(e,t,n,i,c,d){(d||t[dv]!==!0)&&h1(n,i)}function mF(e,t,n,i,c){(c||t[dv]!==!0)&&m1(n,i)}function vF(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function _F(e){Yp(e)}var ed=Math.random().toString(36).slice(2),td="__reactFiber$"+ed,C1="__reactProps$"+ed,th="__reactContainer$"+ed,x1="__reactEvents$"+ed,gF="__reactListeners$"+ed,bF="__reactHandles$"+ed;function yF(e){delete e[td],delete e[C1],delete e[x1],delete e[gF],delete e[bF]}function rh(e,t){t[td]=e}function vv(e,t){t[th]=e}function HC(e){e[th]=null}function ah(e){return!!e[th]}function zu(e){var t=e[td];if(t)return t;for(var n=e.parentNode;n;){if(t=n[th]||n[td],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=jC(e);c!==null;){var d=c[td];if(d)return d;c=jC(c)}return t}e=n,n=e.parentNode}return null}function zc(e){var t=e[td]||e[th];return t&&(t.tag===w||t.tag===k||t.tag===Z||t.tag===b)?t:null}function rd(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function _v(e){return e[C1]||null}function k1(e,t){e[C1]=t}function SF(e){var t=e[x1];return t===void 0&&(t=e[x1]=new Set),t}var UC={},VC=o.ReactDebugCurrentFrame;function gv(e){if(e){var t=e._owner,n=Tf(e.type,e._source,t?t.type:null);VC.setExtraStackFrame(n)}else VC.setExtraStackFrame(null)}function jl(e,t,n,i,c){{var d=Function.call.bind(kt);for(var _ in e)if(d(e,_)){var y=void 0;try{if(typeof e[_]!="function"){var C=Error((i||"React class")+": "+n+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}y=e[_](t,_,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){y=E}y&&!(y instanceof Error)&&(gv(c),u("%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).",i||"React class",n,_,typeof y),gv(null)),y instanceof Error&&!(y.message in UC)&&(UC[y.message]=!0,gv(c),u("Failed %s type: %s",n,y.message),gv(null))}}}var T1=[],bv;bv=[];var Gs=-1;function Bc(e){return{current:e}}function zn(e,t){if(Gs<0){u("Unexpected pop.");return}t!==bv[Gs]&&u("Unexpected Fiber popped."),e.current=T1[Gs],T1[Gs]=null,bv[Gs]=null,Gs--}function Bn(e,t,n){Gs++,T1[Gs]=e.current,bv[Gs]=n,e.current=t}var E1;E1={};var Ho={};Object.freeze(Ho);var Ks=Bc(Ho),hs=Bc(!1),R1=Ho;function ad(e,t,n){return n&&ms(t)?R1:Ks.current}function WC(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function nd(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Ho;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var d={};for(var _ in i)d[_]=t[_];{var y=rr(e)||"Unknown";jl(i,d,"context",y)}return c&&WC(e,t,d),d}}function yv(){return hs.current}function ms(e){{var t=e.childContextTypes;return t!=null}}function Sv(e){zn(hs,e),zn(Ks,e)}function D1(e){zn(hs,e),zn(Ks,e)}function qC(e,t,n){{if(Ks.current!==Ho)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bn(Ks,t,e),Bn(hs,n,e)}}function YC(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=rr(e)||"Unknown";E1[d]||(E1[d]=!0,u("%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.",d,d))}return n}var _=i.getChildContext();for(var y in _)if(!(y in c))throw new Error((rr(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var C=rr(e)||"Unknown";jl(c,_,"child context",C)}return Ot({},n,_)}}function wv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Ho;return R1=Ks.current,Bn(Ks,n,e),Bn(hs,hs.current,e),!0}}function $C(e,t,n){{var i=e.stateNode;if(!i)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(n){var c=YC(e,t,R1);i.__reactInternalMemoizedMergedChildContext=c,zn(hs,e),zn(Ks,e),Bn(Ks,c,e),Bn(hs,n,e)}else zn(hs,e),Bn(hs,n,e)}}function wF(e){{if(!nI(e)||e.tag!==m)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 t=e;do{switch(t.tag){case b:return t.stateNode.context;case m:{var n=t.type;if(ms(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Fc=0,Cv=1,Xs=null,A1=!1,L1=!1;function GC(e){Xs===null?Xs=[e]:Xs.push(e)}function CF(e){A1=!0,GC(e)}function KC(){A1&&jc()}function jc(){if(!L1&&Xs!==null){L1=!0;var e=0,t=Fl();try{var n=!0,i=Xs;for(Sn(Bo);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}Xs=null,A1=!1}catch(d){throw Xs!==null&&(Xs=Xs.slice(e+1)),b3(Fm,jc),d}finally{Sn(t),L1=!1}}return null}var od=[],id=0,xv=null,kv=0,bl=[],yl=0,Bu=null,Qs=1,Js="";function xF(e){return ju(),(e.flags&f3)!==zt}function kF(e){return ju(),kv}function TF(){var e=Js,t=Qs,n=t&~EF(t);return n.toString(32)+e}function Fu(e,t){ju(),od[id++]=kv,od[id++]=xv,xv=e,kv=t}function XC(e,t,n){ju(),bl[yl++]=Qs,bl[yl++]=Js,bl[yl++]=Bu,Bu=e;var i=Qs,c=Js,d=Tv(i)-1,_=i&~(1<<d),y=n+1,C=Tv(t)+d;if(C>30){var E=d-d%5,A=(1<<E)-1,J=(_&A).toString(32),Q=_>>E,ve=d-E,_e=Tv(t)+ve,xe=y<<ve,at=xe|Q,Dt=J+c;Qs=1<<_e|at,Js=Dt}else{var St=y<<d,hr=St|_,mr=c;Qs=1<<C|hr,Js=mr}}function N1(e){ju();var t=e.return;if(t!==null){var n=1,i=0;Fu(e,n),XC(e,n,i)}}function Tv(e){return 32-k3(e)}function EF(e){return 1<<Tv(e)-1}function O1(e){for(;e===xv;)xv=od[--id],od[id]=null,kv=od[--id],od[id]=null;for(;e===Bu;)Bu=bl[--yl],bl[yl]=null,Js=bl[--yl],bl[yl]=null,Qs=bl[--yl],bl[yl]=null}function RF(){return ju(),Bu!==null?{id:Qs,overflow:Js}:null}function DF(e,t){ju(),bl[yl++]=Qs,bl[yl++]=Js,bl[yl++]=Bu,Qs=t.id,Js=t.overflow,Bu=e}function ju(){Tn()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var kn=null,Sl=null,Hl=!1,Hu=!1,Hc=null;function AF(){Hl&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function QC(){Hu=!0}function LF(){return Hu}function NF(e){var t=e.stateNode.containerInfo;return Sl=X9(t),kn=e,Hl=!0,Hc=null,Hu=!1,!0}function OF(e,t,n){return Sl=Q9(t),kn=e,Hl=!0,Hc=null,Hu=!1,n!==null&&DF(e,n),!0}function JC(e,t){switch(e.tag){case b:{lF(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&yr)!==Mt;cF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Z:{var i=e.memoizedState;i.dehydrated!==null&&sF(i.dehydrated,t);break}}}function ZC(e,t){JC(e,t);var n=UU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=xu):i.push(n)}function M1(e,t){{if(Hu)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,c=t.pendingProps;uF(n,i);break;case k:var d=t.pendingProps;fF(n,d);break}break}case w:{var _=e.type,y=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var E=t.type,A=t.pendingProps,J=(e.mode&yr)!==Mt;hF(_,y,C,E,A,J);break}case k:{var Q=t.pendingProps,ve=(e.mode&yr)!==Mt;mF(_,y,C,Q,ve);break}}break}case Z:{var _e=e.memoizedState,xe=_e.dehydrated;if(xe!==null)switch(t.tag){case w:var at=t.type,Dt=t.pendingProps;dF(xe,at);break;case k:var St=t.pendingProps;pF(xe,St);break}break}default:return}}}function ex(e,t){t.flags=t.flags&~Us|Ja,M1(e,t)}function tx(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,c=W9(t,n);return c!==null?(e.stateNode=c,kn=e,Sl=K9(c),!0):!1}case k:{var d=e.pendingProps,_=q9(t,d);return _!==null?(e.stateNode=_,kn=e,Sl=null,!0):!1}case Z:{var y=Y9(t);if(y!==null){var C={dehydrated:y,treeContext:RF(),retryLane:Io};e.memoizedState=C;var E=VU(y);return E.return=e,e.child=E,kn=e,Sl=null,!0}return!1}default:return!1}}function P1(e){return(e.mode&yr)!==Mt&&(e.flags&Ir)===zt}function I1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function z1(e){if(Hl){var t=Sl;if(!t){P1(e)&&(M1(kn,e),I1()),ex(kn,e),Hl=!1,kn=e;return}var n=t;if(!tx(e,t)){P1(e)&&(M1(kn,e),I1()),t=eh(n);var i=kn;if(!t||!tx(e,t)){ex(kn,e),Hl=!1,kn=e;return}ZC(i,n)}}}function MF(e,t,n){var i=e.stateNode,c=!Hu,d=J9(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=d,d!==null}function PF(e){var t=e.stateNode,n=e.memoizedProps,i=Z9(t,n,e);if(i){var c=kn;if(c!==null)switch(c.tag){case b:{var d=c.stateNode.containerInfo,_=(c.mode&yr)!==Mt;oF(d,t,n,_);break}case w:{var y=c.type,C=c.memoizedProps,E=c.stateNode,A=(c.mode&yr)!==Mt;iF(y,C,E,t,n,A);break}}}return i}function IF(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");eF(n,e)}function zF(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)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 tF(n)}function rx(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==b&&t.tag!==Z;)t=t.return;kn=t}function Ev(e){if(e!==kn)return!1;if(!Hl)return rx(e),Hl=!0,!1;if(e.tag!==b&&(e.tag!==w||nF(e.type)&&!g1(e.type,e.memoizedProps))){var t=Sl;if(t)if(P1(e))ax(e),I1();else for(;t;)ZC(e,t),t=eh(t)}return rx(e),e.tag===Z?Sl=zF(e):Sl=kn?eh(e.stateNode):null,!0}function BF(){return Hl&&Sl!==null}function ax(e){for(var t=Sl;t;)JC(e,t),t=eh(t)}function ld(){kn=null,Sl=null,Hl=!1,Hu=!1}function nx(){Hc!==null&&(J4(Hc),Hc=null)}function Tn(){return Hl}function B1(e){Hc===null?Hc=[e]:Hc.push(e)}var FF=o.ReactCurrentBatchConfig,jF=null;function HF(){return FF.transition}var Ul={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var UF=function(e){for(var t=null,n=e;n!==null;)n.mode&Pa&&(t=n),n=n.return;return t},Uu=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},nh=[],oh=[],ih=[],lh=[],sh=[],ch=[],Vu=new Set;Ul.recordUnsafeLifecycleWarnings=function(e,t){Vu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&nh.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillMount=="function"&&oh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ih.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&lh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sh.push(e),e.mode&Pa&&typeof t.UNSAFE_componentWillUpdate=="function"&&ch.push(e))},Ul.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;nh.length>0&&(nh.forEach(function(Q){e.add(rr(Q)||"Component"),Vu.add(Q.type)}),nh=[]);var t=new Set;oh.length>0&&(oh.forEach(function(Q){t.add(rr(Q)||"Component"),Vu.add(Q.type)}),oh=[]);var n=new Set;ih.length>0&&(ih.forEach(function(Q){n.add(rr(Q)||"Component"),Vu.add(Q.type)}),ih=[]);var i=new Set;lh.length>0&&(lh.forEach(function(Q){i.add(rr(Q)||"Component"),Vu.add(Q.type)}),lh=[]);var c=new Set;sh.length>0&&(sh.forEach(function(Q){c.add(rr(Q)||"Component"),Vu.add(Q.type)}),sh=[]);var d=new Set;if(ch.length>0&&(ch.forEach(function(Q){d.add(rr(Q)||"Component"),Vu.add(Q.type)}),ch=[]),t.size>0){var _=Uu(t);u(`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.
33
33
 
34
34
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
35
35
 
@@ -68,7 +68,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}
68
68
  1. You may be adding a ref to a function component
69
69
  2. You may be adding a ref to a component that was not created inside a component's render method
70
70
  3. You have multiple copies of React loaded
71
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Dv(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Av(e){{var t=rr(e)||"Component";if(V1[t])return;V1[t]=!0,u("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 lx(e){var t=e._payload,n=e._init;return n(t)}function sx(e){function t(ue,De){if(e){var fe=ue.deletions;fe===null?(ue.deletions=[De],ue.flags|=xu):fe.push(De)}}function n(ue,De){if(!e)return null;for(var fe=De;fe!==null;)t(ue,fe),fe=fe.sibling;return null}function i(ue,De){for(var fe=new Map,qe=De;qe!==null;)qe.key!==null?fe.set(qe.key,qe):fe.set(qe.index,qe),qe=qe.sibling;return fe}function c(ue,De){var fe=Ju(ue,De);return fe.index=0,fe.sibling=null,fe}function d(ue,De,fe){if(ue.index=fe,!e)return ue.flags|=f3,De;var qe=ue.alternate;if(qe!==null){var ut=qe.index;return ut<De?(ue.flags|=Qa,De):ut}else return ue.flags|=Qa,De}function _(ue){return e&&ue.alternate===null&&(ue.flags|=Qa),ue}function y(ue,De,fe,qe){if(De===null||De.tag!==k){var ut=F0(fe,ue.mode,qe);return ut.return=ue,ut}else{var nt=c(De,fe);return nt.return=ue,nt}}function C(ue,De,fe,qe){var ut=fe.type;if(ut===ce)return A(ue,De,fe.props.children,qe,fe.key);if(De!==null&&(De.elementType===ut||hk(De,fe)||typeof ut=="object"&&ut!==null&&ut.$$typeof===Ze&&lx(ut)===De.type)){var nt=c(De,fe.props);return nt.ref=uh(ue,De,fe),nt.return=ue,nt._debugSource=fe._source,nt._debugOwner=fe._owner,nt}var Ht=B0(fe,ue.mode,qe);return Ht.ref=uh(ue,De,fe),Ht.return=ue,Ht}function E(ue,De,fe,qe){if(De===null||De.tag!==S||De.stateNode.containerInfo!==fe.containerInfo||De.stateNode.implementation!==fe.implementation){var ut=j0(fe,ue.mode,qe);return ut.return=ue,ut}else{var nt=c(De,fe.children||[]);return nt.return=ue,nt}}function A(ue,De,fe,qe,ut){if(De===null||De.tag!==L){var nt=Jc(fe,ue.mode,qe,ut);return nt.return=ue,nt}else{var Ht=c(De,fe);return Ht.return=ue,Ht}}function J(ue,De,fe){if(typeof De=="string"&&De!==""||typeof De=="number"){var qe=F0(""+De,ue.mode,fe);return qe.return=ue,qe}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var ut=B0(De,ue.mode,fe);return ut.ref=uh(ue,null,De),ut.return=ue,ut}case re:{var nt=j0(De,ue.mode,fe);return nt.return=ue,nt}case Ze:{var Ht=De._payload,Kt=De._init;return J(ue,Kt(Ht),fe)}}if(an(De)||Ka(De)){var Qr=Jc(De,ue.mode,fe,null);return Qr.return=ue,Qr}Dv(ue,De)}return typeof De=="function"&&Av(ue),null}function Q(ue,De,fe,qe){var ut=De!==null?De.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number")return ut!==null?null:y(ue,De,""+fe,qe);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case V:return fe.key===ut?C(ue,De,fe,qe):null;case re:return fe.key===ut?E(ue,De,fe,qe):null;case Ze:{var nt=fe._payload,Ht=fe._init;return Q(ue,De,Ht(nt),qe)}}if(an(fe)||Ka(fe))return ut!==null?null:A(ue,De,fe,qe,null);Dv(ue,fe)}return typeof fe=="function"&&Av(ue),null}function ve(ue,De,fe,qe,ut){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var nt=ue.get(fe)||null;return y(De,nt,""+qe,ut)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case V:{var Ht=ue.get(qe.key===null?fe:qe.key)||null;return C(De,Ht,qe,ut)}case re:{var Kt=ue.get(qe.key===null?fe:qe.key)||null;return E(De,Kt,qe,ut)}case Ze:var Qr=qe._payload,Lr=qe._init;return ve(ue,De,fe,Lr(Qr),ut)}if(an(qe)||Ka(qe)){var Va=ue.get(fe)||null;return A(De,Va,qe,ut,null)}Dv(De,qe)}return typeof qe=="function"&&Av(De),null}function _e(ue,De,fe){{if(typeof ue!="object"||ue===null)return De;switch(ue.$$typeof){case V:case re:ix(ue,fe);var qe=ue.key;if(typeof qe!="string")break;if(De===null){De=new Set,De.add(qe);break}if(!De.has(qe)){De.add(qe);break}u("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 \u2014 the behavior is unsupported and could change in a future version.",qe);break;case Ze:var ut=ue._payload,nt=ue._init;_e(nt(ut),De,fe);break}}return De}function xe(ue,De,fe,qe){for(var ut=null,nt=0;nt<fe.length;nt++){var Ht=fe[nt];ut=_e(Ht,ut,ue)}for(var Kt=null,Qr=null,Lr=De,Va=0,Nr=0,Ia=null;Lr!==null&&Nr<fe.length;Nr++){Lr.index>Nr?(Ia=Lr,Lr=null):Ia=Lr.sibling;var jn=Q(ue,Lr,fe[Nr],qe);if(jn===null){Lr===null&&(Lr=Ia);break}e&&Lr&&jn.alternate===null&&t(ue,Lr),Va=d(jn,Va,Nr),Qr===null?Kt=jn:Qr.sibling=jn,Qr=jn,Lr=Ia}if(Nr===fe.length){if(n(ue,Lr),Tn()){var On=Nr;Fu(ue,On)}return Kt}if(Lr===null){for(;Nr<fe.length;Nr++){var Vo=J(ue,fe[Nr],qe);Vo!==null&&(Va=d(Vo,Va,Nr),Qr===null?Kt=Vo:Qr.sibling=Vo,Qr=Vo)}if(Tn()){var Jn=Nr;Fu(ue,Jn)}return Kt}for(var Zn=i(ue,Lr);Nr<fe.length;Nr++){var Hn=ve(Zn,ue,Nr,fe[Nr],qe);Hn!==null&&(e&&Hn.alternate!==null&&Zn.delete(Hn.key===null?Nr:Hn.key),Va=d(Hn,Va,Nr),Qr===null?Kt=Hn:Qr.sibling=Hn,Qr=Hn)}if(e&&Zn.forEach(function(Td){return t(ue,Td)}),Tn()){var oc=Nr;Fu(ue,oc)}return Kt}function at(ue,De,fe,qe){var ut=Ka(fe);if(typeof ut!="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"&&fe[Symbol.toStringTag]==="Generator"&&(j1||u("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."),j1=!0),fe.entries===ut&&(F1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),F1=!0);var nt=ut.call(fe);if(nt)for(var Ht=null,Kt=nt.next();!Kt.done;Kt=nt.next()){var Qr=Kt.value;Ht=_e(Qr,Ht,ue)}}var Lr=ut.call(fe);if(Lr==null)throw new Error("An iterable object provided no iterator.");for(var Va=null,Nr=null,Ia=De,jn=0,On=0,Vo=null,Jn=Lr.next();Ia!==null&&!Jn.done;On++,Jn=Lr.next()){Ia.index>On?(Vo=Ia,Ia=null):Vo=Ia.sibling;var Zn=Q(ue,Ia,Jn.value,qe);if(Zn===null){Ia===null&&(Ia=Vo);break}e&&Ia&&Zn.alternate===null&&t(ue,Ia),jn=d(Zn,jn,On),Nr===null?Va=Zn:Nr.sibling=Zn,Nr=Zn,Ia=Vo}if(Jn.done){if(n(ue,Ia),Tn()){var Hn=On;Fu(ue,Hn)}return Va}if(Ia===null){for(;!Jn.done;On++,Jn=Lr.next()){var oc=J(ue,Jn.value,qe);oc!==null&&(jn=d(oc,jn,On),Nr===null?Va=oc:Nr.sibling=oc,Nr=oc)}if(Tn()){var Td=On;Fu(ue,Td)}return Va}for(var Uh=i(ue,Ia);!Jn.done;On++,Jn=Lr.next()){var ws=ve(Uh,ue,On,Jn.value,qe);ws!==null&&(e&&ws.alternate!==null&&Uh.delete(ws.key===null?On:ws.key),jn=d(ws,jn,On),Nr===null?Va=ws:Nr.sibling=ws,Nr=ws)}if(e&&Uh.forEach(function(yV){return t(ue,yV)}),Tn()){var bV=On;Fu(ue,bV)}return Va}function Dt(ue,De,fe,qe){if(De!==null&&De.tag===k){n(ue,De.sibling);var ut=c(De,fe);return ut.return=ue,ut}n(ue,De);var nt=F0(fe,ue.mode,qe);return nt.return=ue,nt}function St(ue,De,fe,qe){for(var ut=fe.key,nt=De;nt!==null;){if(nt.key===ut){var Ht=fe.type;if(Ht===ce){if(nt.tag===L){n(ue,nt.sibling);var Kt=c(nt,fe.props.children);return Kt.return=ue,Kt._debugSource=fe._source,Kt._debugOwner=fe._owner,Kt}}else if(nt.elementType===Ht||hk(nt,fe)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Ze&&lx(Ht)===nt.type){n(ue,nt.sibling);var Qr=c(nt,fe.props);return Qr.ref=uh(ue,nt,fe),Qr.return=ue,Qr._debugSource=fe._source,Qr._debugOwner=fe._owner,Qr}n(ue,nt);break}else t(ue,nt);nt=nt.sibling}if(fe.type===ce){var Lr=Jc(fe.props.children,ue.mode,qe,fe.key);return Lr.return=ue,Lr}else{var Va=B0(fe,ue.mode,qe);return Va.ref=uh(ue,De,fe),Va.return=ue,Va}}function hr(ue,De,fe,qe){for(var ut=fe.key,nt=De;nt!==null;){if(nt.key===ut)if(nt.tag===S&&nt.stateNode.containerInfo===fe.containerInfo&&nt.stateNode.implementation===fe.implementation){n(ue,nt.sibling);var Ht=c(nt,fe.children||[]);return Ht.return=ue,Ht}else{n(ue,nt);break}else t(ue,nt);nt=nt.sibling}var Kt=j0(fe,ue.mode,qe);return Kt.return=ue,Kt}function mr(ue,De,fe,qe){var ut=typeof fe=="object"&&fe!==null&&fe.type===ce&&fe.key===null;if(ut&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case V:return _(St(ue,De,fe,qe));case re:return _(hr(ue,De,fe,qe));case Ze:var nt=fe._payload,Ht=fe._init;return mr(ue,De,Ht(nt),qe)}if(an(fe))return xe(ue,De,fe,qe);if(Ka(fe))return at(ue,De,fe,qe);Dv(ue,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"?_(Dt(ue,De,""+fe,qe)):(typeof fe=="function"&&Av(ue),n(ue,De))}return mr}var sd=sx(!0),cx=sx(!1);function WF(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,i=Ju(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Ju(n,n.pendingProps),i.return=t;i.sibling=null}}function qF(e,t){for(var n=e.child;n!==null;)zU(n,t),n=n.sibling}var W1=Bc(null),q1;q1={};var Lv=null,cd=null,Y1=null,Nv=!1;function Ov(){Lv=null,cd=null,Y1=null,Nv=!1}function ux(){Nv=!0}function fx(){Nv=!1}function dx(e,t,n){Bn(W1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==q1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=q1}function $1(e,t){var n=W1.current;zn(W1,t),e._currentValue=n}function G1(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if($f(i.childLanes,t)?c!==null&&!$f(c.childLanes,t)&&(c.childLanes=ir(c.childLanes,t)):(i.childLanes=ir(i.childLanes,t),c!==null&&(c.childLanes=ir(c.childLanes,t))),i===n)break;i=i.return}i!==n&&u("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 YF(e,t,n){$F(e,t,n)}function $F(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=void 0,d=i.dependencies;if(d!==null){c=i.child;for(var _=d.firstContext;_!==null;){if(_.context===t){if(i.tag===m){var y=Rp(n),C=Zs(ma,y);C.tag=Pv;var E=i.updateQueue;if(E!==null){var A=E.shared,J=A.pending;J===null?C.next=C:(C.next=J.next,J.next=C),A.pending=C}}i.lanes=ir(i.lanes,n);var Q=i.alternate;Q!==null&&(Q.lanes=ir(Q.lanes,n)),G1(i.return,n,e),d.lanes=ir(d.lanes,n);break}_=_.next}}else if(i.tag===M)c=i.type===e.type?null:i.child;else if(i.tag===ye){var ve=i.return;if(ve===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ve.lanes=ir(ve.lanes,n);var _e=ve.alternate;_e!==null&&(_e.lanes=ir(_e.lanes,n)),G1(ve,n,e),c=i.sibling}else c=i.child;if(c!==null)c.return=i;else for(c=i;c!==null;){if(c===e){c=null;break}var xe=c.sibling;if(xe!==null){xe.return=c.return,c=xe;break}c=c.return}i=c}}function ud(e,t){Lv=e,cd=null,Y1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(zo(n.lanes,t)&&kh(),n.firstContext=null)}}function Ja(e){Nv&&u("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 t=e._currentValue;if(Y1!==e){var n={context:e,memoizedValue:t,next:null};if(cd===null){if(Lv===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().");cd=n,Lv.dependencies={lanes:Ie,firstContext:n}}else cd=cd.next=n}return t}var Wu=null;function K1(e){Wu===null?Wu=[e]:Wu.push(e)}function GF(){if(Wu!==null){for(var e=0;e<Wu.length;e++){var t=Wu[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,c=t.pending;if(c!==null){var d=c.next;c.next=i,n.next=d}t.pending=n}}Wu=null}}function px(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,K1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Mv(e,i)}function KF(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,K1(t)):(n.next=c.next,c.next=n),t.interleaved=n}function XF(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,K1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Mv(e,i)}function yo(e,t){return Mv(e,t)}var QF=Mv;function Mv(e,t){e.lanes=ir(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=ir(n.lanes,t)),n===null&&(e.flags&(Qa|Us))!==zt&&uk(e);for(var i=e,c=e.return;c!==null;)c.childLanes=ir(c.childLanes,t),n=c.alternate,n!==null?n.childLanes=ir(n.childLanes,t):(c.flags&(Qa|Us))!==zt&&uk(e),i=c,c=c.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var hx=0,mx=1,Pv=2,X1=3,Iv=!1,Q1,zv;Q1=!1,zv=null;function J1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ie},effects:null};e.updateQueue=t}function vx(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var c={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=c}}function Zs(e,t){var n={eventTime:e,lane:t,tag:hx,payload:null,callback:null,next:null};return n}function Uc(e,t,n){var i=e.updateQueue;if(i===null)return null;var c=i.shared;if(zv===c&&!Q1&&(u("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."),Q1=!0),eU()){var d=c.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),c.pending=t,QF(e,n)}else return XF(e,c,t,n)}function Bv(e,t,n){var i=t.updateQueue;if(i!==null){var c=i.shared;if(D3(n)){var d=c.lanes;d=L3(d,e.pendingLanes);var _=ir(d,n);c.lanes=_,Wb(e,_)}}}function Z1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var c=i.updateQueue;if(n===c){var d=null,_=null,y=n.firstBaseUpdate;if(y!==null){var C=y;do{var E={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};_===null?d=_=E:(_.next=E,_=E),C=C.next}while(C!==null);_===null?d=_=t:(_.next=t,_=t)}else d=_=t;n={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:_,shared:c.shared,effects:c.effects},e.updateQueue=n;return}}var A=n.lastBaseUpdate;A===null?n.firstBaseUpdate=t:A.next=t,n.lastBaseUpdate=t}function JF(e,t,n,i,c,d){switch(n.tag){case mx:{var _=n.payload;if(typeof _=="function"){ux();var y=_.call(d,i,c);{if(e.mode&Pa){bn(!0);try{_.call(d,i,c)}finally{bn(!1)}}fx()}return y}return _}case X1:e.flags=e.flags&~Gn|Ir;case hx:{var C=n.payload,E;if(typeof C=="function"){ux(),E=C.call(d,i,c);{if(e.mode&Pa){bn(!0);try{C.call(d,i,c)}finally{bn(!1)}}fx()}}else E=C;return E==null?i:Ot({},i,E)}case Pv:return Iv=!0,i}return i}function Fv(e,t,n,i){var c=e.updateQueue;Iv=!1,zv=c.shared;var d=c.firstBaseUpdate,_=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var C=y,E=C.next;C.next=null,_===null?d=E:_.next=E,_=C;var A=e.alternate;if(A!==null){var J=A.updateQueue,Q=J.lastBaseUpdate;Q!==_&&(Q===null?J.firstBaseUpdate=E:Q.next=E,J.lastBaseUpdate=C)}}if(d!==null){var ve=c.baseState,_e=Ie,xe=null,at=null,Dt=null,St=d;do{var hr=St.lane,mr=St.eventTime;if($f(i,hr)){if(Dt!==null){var De={eventTime:mr,lane:yn,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Dt=Dt.next=De}ve=JF(e,c,St,ve,t,n);var fe=St.callback;if(fe!==null&&St.lane!==yn){e.flags|=fb;var qe=c.effects;qe===null?c.effects=[St]:qe.push(St)}}else{var ue={eventTime:mr,lane:hr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Dt===null?(at=Dt=ue,xe=ve):Dt=Dt.next=ue,_e=ir(_e,hr)}if(St=St.next,St===null){if(y=c.shared.pending,y===null)break;var ut=y,nt=ut.next;ut.next=null,St=nt,c.lastBaseUpdate=ut,c.shared.pending=null}}while(!0);Dt===null&&(xe=ve),c.baseState=xe,c.firstBaseUpdate=at,c.lastBaseUpdate=Dt;var Ht=c.shared.interleaved;if(Ht!==null){var Kt=Ht;do _e=ir(_e,Kt.lane),Kt=Kt.next;while(Kt!==Ht)}else d===null&&(c.shared.lanes=Ie);zh(_e),e.lanes=_e,e.memoizedState=ve}zv=null}function ZF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function _x(){Iv=!1}function jv(){return Iv}function gx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var c=0;c<i.length;c++){var d=i[c],_=d.callback;_!==null&&(d.callback=null,ZF(_,n))}}var fh={},Vc=Bc(fh),dh=Bc(fh),Hv=Bc(fh);function Uv(e){if(e===fh)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function bx(){var e=Uv(Hv.current);return e}function ey(e,t){Bn(Hv,t,e),Bn(dh,e,e),Bn(Vc,fh,e);var n=v9(t);zn(Vc,e),Bn(Vc,n,e)}function fd(e){zn(Vc,e),zn(dh,e),zn(Hv,e)}function ty(){var e=Uv(Vc.current);return e}function yx(e){var t=Uv(Hv.current),n=Uv(Vc.current),i=_9(n,e.type);n!==i&&(Bn(dh,e,e),Bn(Vc,i,e))}function ry(e){dh.current===e&&(zn(Vc,e),zn(dh,e))}var ej=0,Sx=1,wx=1,ph=2,Vl=Bc(ej);function ay(e,t){return(e&t)!==0}function dd(e){return e&Sx}function ny(e,t){return e&Sx|t}function tj(e,t){return e|t}function Wc(e,t){Bn(Vl,t,e)}function pd(e){zn(Vl,e)}function rj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Vv(e){for(var t=e;t!==null;){if(t.tag===Z){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||FC(i)||w1(i))return t}}else if(t.tag===be&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Ir)!==zt;if(c)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var So=0,nn=1,ms=2,on=4,En=8,oy=[];function iy(){for(var e=0;e<oy.length;e++){var t=oy[e];t._workInProgressVersionPrimary=null}oy.length=0}function aj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var st=o.ReactCurrentDispatcher,hh=o.ReactCurrentBatchConfig,ly,hd;ly=new Set;var qu=Ie,Xr=null,ln=null,sn=null,Wv=!1,mh=!1,vh=0,nj=0,oj=25,Le=null,wl=null,qc=-1,sy=!1;function Br(){{var e=Le;wl===null?wl=[e]:wl.push(e)}}function tt(){{var e=Le;wl!==null&&(qc++,wl[qc]!==e&&ij(e))}}function md(e){e!=null&&!an(e)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Le,typeof e)}function ij(e){{var t=rr(Xr);if(!ly.has(t)&&(ly.add(t),wl!==null)){for(var n="",i=30,c=0;c<=qc;c++){for(var d=wl[c],_=c===qc?e:d,y=c+1+". "+d;y.length<i;)y+=" ";y+=_+`
71
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Dv(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Av(e){{var t=rr(e)||"Component";if(V1[t])return;V1[t]=!0,u("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 lx(e){var t=e._payload,n=e._init;return n(t)}function sx(e){function t(ue,De){if(e){var fe=ue.deletions;fe===null?(ue.deletions=[De],ue.flags|=xu):fe.push(De)}}function n(ue,De){if(!e)return null;for(var fe=De;fe!==null;)t(ue,fe),fe=fe.sibling;return null}function i(ue,De){for(var fe=new Map,qe=De;qe!==null;)qe.key!==null?fe.set(qe.key,qe):fe.set(qe.index,qe),qe=qe.sibling;return fe}function c(ue,De){var fe=Ju(ue,De);return fe.index=0,fe.sibling=null,fe}function d(ue,De,fe){if(ue.index=fe,!e)return ue.flags|=f3,De;var qe=ue.alternate;if(qe!==null){var ut=qe.index;return ut<De?(ue.flags|=Ja,De):ut}else return ue.flags|=Ja,De}function _(ue){return e&&ue.alternate===null&&(ue.flags|=Ja),ue}function y(ue,De,fe,qe){if(De===null||De.tag!==k){var ut=F0(fe,ue.mode,qe);return ut.return=ue,ut}else{var ot=c(De,fe);return ot.return=ue,ot}}function C(ue,De,fe,qe){var ut=fe.type;if(ut===ce)return A(ue,De,fe.props.children,qe,fe.key);if(De!==null&&(De.elementType===ut||hk(De,fe)||typeof ut=="object"&&ut!==null&&ut.$$typeof===Ze&&lx(ut)===De.type)){var ot=c(De,fe.props);return ot.ref=uh(ue,De,fe),ot.return=ue,ot._debugSource=fe._source,ot._debugOwner=fe._owner,ot}var Ht=B0(fe,ue.mode,qe);return Ht.ref=uh(ue,De,fe),Ht.return=ue,Ht}function E(ue,De,fe,qe){if(De===null||De.tag!==S||De.stateNode.containerInfo!==fe.containerInfo||De.stateNode.implementation!==fe.implementation){var ut=j0(fe,ue.mode,qe);return ut.return=ue,ut}else{var ot=c(De,fe.children||[]);return ot.return=ue,ot}}function A(ue,De,fe,qe,ut){if(De===null||De.tag!==L){var ot=Jc(fe,ue.mode,qe,ut);return ot.return=ue,ot}else{var Ht=c(De,fe);return Ht.return=ue,Ht}}function J(ue,De,fe){if(typeof De=="string"&&De!==""||typeof De=="number"){var qe=F0(""+De,ue.mode,fe);return qe.return=ue,qe}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var ut=B0(De,ue.mode,fe);return ut.ref=uh(ue,null,De),ut.return=ue,ut}case re:{var ot=j0(De,ue.mode,fe);return ot.return=ue,ot}case Ze:{var Ht=De._payload,Kt=De._init;return J(ue,Kt(Ht),fe)}}if(an(De)||Xa(De)){var Qr=Jc(De,ue.mode,fe,null);return Qr.return=ue,Qr}Dv(ue,De)}return typeof De=="function"&&Av(ue),null}function Q(ue,De,fe,qe){var ut=De!==null?De.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number")return ut!==null?null:y(ue,De,""+fe,qe);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case V:return fe.key===ut?C(ue,De,fe,qe):null;case re:return fe.key===ut?E(ue,De,fe,qe):null;case Ze:{var ot=fe._payload,Ht=fe._init;return Q(ue,De,Ht(ot),qe)}}if(an(fe)||Xa(fe))return ut!==null?null:A(ue,De,fe,qe,null);Dv(ue,fe)}return typeof fe=="function"&&Av(ue),null}function ve(ue,De,fe,qe,ut){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var ot=ue.get(fe)||null;return y(De,ot,""+qe,ut)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case V:{var Ht=ue.get(qe.key===null?fe:qe.key)||null;return C(De,Ht,qe,ut)}case re:{var Kt=ue.get(qe.key===null?fe:qe.key)||null;return E(De,Kt,qe,ut)}case Ze:var Qr=qe._payload,Lr=qe._init;return ve(ue,De,fe,Lr(Qr),ut)}if(an(qe)||Xa(qe)){var Wa=ue.get(fe)||null;return A(De,Wa,qe,ut,null)}Dv(De,qe)}return typeof qe=="function"&&Av(De),null}function _e(ue,De,fe){{if(typeof ue!="object"||ue===null)return De;switch(ue.$$typeof){case V:case re:ix(ue,fe);var qe=ue.key;if(typeof qe!="string")break;if(De===null){De=new Set,De.add(qe);break}if(!De.has(qe)){De.add(qe);break}u("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 \u2014 the behavior is unsupported and could change in a future version.",qe);break;case Ze:var ut=ue._payload,ot=ue._init;_e(ot(ut),De,fe);break}}return De}function xe(ue,De,fe,qe){for(var ut=null,ot=0;ot<fe.length;ot++){var Ht=fe[ot];ut=_e(Ht,ut,ue)}for(var Kt=null,Qr=null,Lr=De,Wa=0,Nr=0,Ia=null;Lr!==null&&Nr<fe.length;Nr++){Lr.index>Nr?(Ia=Lr,Lr=null):Ia=Lr.sibling;var jn=Q(ue,Lr,fe[Nr],qe);if(jn===null){Lr===null&&(Lr=Ia);break}e&&Lr&&jn.alternate===null&&t(ue,Lr),Wa=d(jn,Wa,Nr),Qr===null?Kt=jn:Qr.sibling=jn,Qr=jn,Lr=Ia}if(Nr===fe.length){if(n(ue,Lr),Tn()){var On=Nr;Fu(ue,On)}return Kt}if(Lr===null){for(;Nr<fe.length;Nr++){var Vo=J(ue,fe[Nr],qe);Vo!==null&&(Wa=d(Vo,Wa,Nr),Qr===null?Kt=Vo:Qr.sibling=Vo,Qr=Vo)}if(Tn()){var Jn=Nr;Fu(ue,Jn)}return Kt}for(var Zn=i(ue,Lr);Nr<fe.length;Nr++){var Hn=ve(Zn,ue,Nr,fe[Nr],qe);Hn!==null&&(e&&Hn.alternate!==null&&Zn.delete(Hn.key===null?Nr:Hn.key),Wa=d(Hn,Wa,Nr),Qr===null?Kt=Hn:Qr.sibling=Hn,Qr=Hn)}if(e&&Zn.forEach(function(Td){return t(ue,Td)}),Tn()){var oc=Nr;Fu(ue,oc)}return Kt}function at(ue,De,fe,qe){var ut=Xa(fe);if(typeof ut!="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"&&fe[Symbol.toStringTag]==="Generator"&&(j1||u("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."),j1=!0),fe.entries===ut&&(F1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),F1=!0);var ot=ut.call(fe);if(ot)for(var Ht=null,Kt=ot.next();!Kt.done;Kt=ot.next()){var Qr=Kt.value;Ht=_e(Qr,Ht,ue)}}var Lr=ut.call(fe);if(Lr==null)throw new Error("An iterable object provided no iterator.");for(var Wa=null,Nr=null,Ia=De,jn=0,On=0,Vo=null,Jn=Lr.next();Ia!==null&&!Jn.done;On++,Jn=Lr.next()){Ia.index>On?(Vo=Ia,Ia=null):Vo=Ia.sibling;var Zn=Q(ue,Ia,Jn.value,qe);if(Zn===null){Ia===null&&(Ia=Vo);break}e&&Ia&&Zn.alternate===null&&t(ue,Ia),jn=d(Zn,jn,On),Nr===null?Wa=Zn:Nr.sibling=Zn,Nr=Zn,Ia=Vo}if(Jn.done){if(n(ue,Ia),Tn()){var Hn=On;Fu(ue,Hn)}return Wa}if(Ia===null){for(;!Jn.done;On++,Jn=Lr.next()){var oc=J(ue,Jn.value,qe);oc!==null&&(jn=d(oc,jn,On),Nr===null?Wa=oc:Nr.sibling=oc,Nr=oc)}if(Tn()){var Td=On;Fu(ue,Td)}return Wa}for(var Uh=i(ue,Ia);!Jn.done;On++,Jn=Lr.next()){var Cs=ve(Uh,ue,On,Jn.value,qe);Cs!==null&&(e&&Cs.alternate!==null&&Uh.delete(Cs.key===null?On:Cs.key),jn=d(Cs,jn,On),Nr===null?Wa=Cs:Nr.sibling=Cs,Nr=Cs)}if(e&&Uh.forEach(function(yV){return t(ue,yV)}),Tn()){var bV=On;Fu(ue,bV)}return Wa}function Dt(ue,De,fe,qe){if(De!==null&&De.tag===k){n(ue,De.sibling);var ut=c(De,fe);return ut.return=ue,ut}n(ue,De);var ot=F0(fe,ue.mode,qe);return ot.return=ue,ot}function St(ue,De,fe,qe){for(var ut=fe.key,ot=De;ot!==null;){if(ot.key===ut){var Ht=fe.type;if(Ht===ce){if(ot.tag===L){n(ue,ot.sibling);var Kt=c(ot,fe.props.children);return Kt.return=ue,Kt._debugSource=fe._source,Kt._debugOwner=fe._owner,Kt}}else if(ot.elementType===Ht||hk(ot,fe)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Ze&&lx(Ht)===ot.type){n(ue,ot.sibling);var Qr=c(ot,fe.props);return Qr.ref=uh(ue,ot,fe),Qr.return=ue,Qr._debugSource=fe._source,Qr._debugOwner=fe._owner,Qr}n(ue,ot);break}else t(ue,ot);ot=ot.sibling}if(fe.type===ce){var Lr=Jc(fe.props.children,ue.mode,qe,fe.key);return Lr.return=ue,Lr}else{var Wa=B0(fe,ue.mode,qe);return Wa.ref=uh(ue,De,fe),Wa.return=ue,Wa}}function hr(ue,De,fe,qe){for(var ut=fe.key,ot=De;ot!==null;){if(ot.key===ut)if(ot.tag===S&&ot.stateNode.containerInfo===fe.containerInfo&&ot.stateNode.implementation===fe.implementation){n(ue,ot.sibling);var Ht=c(ot,fe.children||[]);return Ht.return=ue,Ht}else{n(ue,ot);break}else t(ue,ot);ot=ot.sibling}var Kt=j0(fe,ue.mode,qe);return Kt.return=ue,Kt}function mr(ue,De,fe,qe){var ut=typeof fe=="object"&&fe!==null&&fe.type===ce&&fe.key===null;if(ut&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case V:return _(St(ue,De,fe,qe));case re:return _(hr(ue,De,fe,qe));case Ze:var ot=fe._payload,Ht=fe._init;return mr(ue,De,Ht(ot),qe)}if(an(fe))return xe(ue,De,fe,qe);if(Xa(fe))return at(ue,De,fe,qe);Dv(ue,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"?_(Dt(ue,De,""+fe,qe)):(typeof fe=="function"&&Av(ue),n(ue,De))}return mr}var sd=sx(!0),cx=sx(!1);function WF(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,i=Ju(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Ju(n,n.pendingProps),i.return=t;i.sibling=null}}function qF(e,t){for(var n=e.child;n!==null;)zU(n,t),n=n.sibling}var W1=Bc(null),q1;q1={};var Lv=null,cd=null,Y1=null,Nv=!1;function Ov(){Lv=null,cd=null,Y1=null,Nv=!1}function ux(){Nv=!0}function fx(){Nv=!1}function dx(e,t,n){Bn(W1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==q1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=q1}function $1(e,t){var n=W1.current;zn(W1,t),e._currentValue=n}function G1(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if($f(i.childLanes,t)?c!==null&&!$f(c.childLanes,t)&&(c.childLanes=ir(c.childLanes,t)):(i.childLanes=ir(i.childLanes,t),c!==null&&(c.childLanes=ir(c.childLanes,t))),i===n)break;i=i.return}i!==n&&u("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 YF(e,t,n){$F(e,t,n)}function $F(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=void 0,d=i.dependencies;if(d!==null){c=i.child;for(var _=d.firstContext;_!==null;){if(_.context===t){if(i.tag===m){var y=Rp(n),C=Zs(ma,y);C.tag=Pv;var E=i.updateQueue;if(E!==null){var A=E.shared,J=A.pending;J===null?C.next=C:(C.next=J.next,J.next=C),A.pending=C}}i.lanes=ir(i.lanes,n);var Q=i.alternate;Q!==null&&(Q.lanes=ir(Q.lanes,n)),G1(i.return,n,e),d.lanes=ir(d.lanes,n);break}_=_.next}}else if(i.tag===M)c=i.type===e.type?null:i.child;else if(i.tag===ye){var ve=i.return;if(ve===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ve.lanes=ir(ve.lanes,n);var _e=ve.alternate;_e!==null&&(_e.lanes=ir(_e.lanes,n)),G1(ve,n,e),c=i.sibling}else c=i.child;if(c!==null)c.return=i;else for(c=i;c!==null;){if(c===e){c=null;break}var xe=c.sibling;if(xe!==null){xe.return=c.return,c=xe;break}c=c.return}i=c}}function ud(e,t){Lv=e,cd=null,Y1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(zo(n.lanes,t)&&kh(),n.firstContext=null)}}function Za(e){Nv&&u("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 t=e._currentValue;if(Y1!==e){var n={context:e,memoizedValue:t,next:null};if(cd===null){if(Lv===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().");cd=n,Lv.dependencies={lanes:Ie,firstContext:n}}else cd=cd.next=n}return t}var Wu=null;function K1(e){Wu===null?Wu=[e]:Wu.push(e)}function GF(){if(Wu!==null){for(var e=0;e<Wu.length;e++){var t=Wu[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,c=t.pending;if(c!==null){var d=c.next;c.next=i,n.next=d}t.pending=n}}Wu=null}}function px(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,K1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Mv(e,i)}function KF(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,K1(t)):(n.next=c.next,c.next=n),t.interleaved=n}function XF(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,K1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Mv(e,i)}function yo(e,t){return Mv(e,t)}var QF=Mv;function Mv(e,t){e.lanes=ir(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=ir(n.lanes,t)),n===null&&(e.flags&(Ja|Us))!==zt&&uk(e);for(var i=e,c=e.return;c!==null;)c.childLanes=ir(c.childLanes,t),n=c.alternate,n!==null?n.childLanes=ir(n.childLanes,t):(c.flags&(Ja|Us))!==zt&&uk(e),i=c,c=c.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var hx=0,mx=1,Pv=2,X1=3,Iv=!1,Q1,zv;Q1=!1,zv=null;function J1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ie},effects:null};e.updateQueue=t}function vx(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var c={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=c}}function Zs(e,t){var n={eventTime:e,lane:t,tag:hx,payload:null,callback:null,next:null};return n}function Uc(e,t,n){var i=e.updateQueue;if(i===null)return null;var c=i.shared;if(zv===c&&!Q1&&(u("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."),Q1=!0),eU()){var d=c.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),c.pending=t,QF(e,n)}else return XF(e,c,t,n)}function Bv(e,t,n){var i=t.updateQueue;if(i!==null){var c=i.shared;if(D3(n)){var d=c.lanes;d=L3(d,e.pendingLanes);var _=ir(d,n);c.lanes=_,Wb(e,_)}}}function Z1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var c=i.updateQueue;if(n===c){var d=null,_=null,y=n.firstBaseUpdate;if(y!==null){var C=y;do{var E={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};_===null?d=_=E:(_.next=E,_=E),C=C.next}while(C!==null);_===null?d=_=t:(_.next=t,_=t)}else d=_=t;n={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:_,shared:c.shared,effects:c.effects},e.updateQueue=n;return}}var A=n.lastBaseUpdate;A===null?n.firstBaseUpdate=t:A.next=t,n.lastBaseUpdate=t}function JF(e,t,n,i,c,d){switch(n.tag){case mx:{var _=n.payload;if(typeof _=="function"){ux();var y=_.call(d,i,c);{if(e.mode&Pa){bn(!0);try{_.call(d,i,c)}finally{bn(!1)}}fx()}return y}return _}case X1:e.flags=e.flags&~Gn|Ir;case hx:{var C=n.payload,E;if(typeof C=="function"){ux(),E=C.call(d,i,c);{if(e.mode&Pa){bn(!0);try{C.call(d,i,c)}finally{bn(!1)}}fx()}}else E=C;return E==null?i:Ot({},i,E)}case Pv:return Iv=!0,i}return i}function Fv(e,t,n,i){var c=e.updateQueue;Iv=!1,zv=c.shared;var d=c.firstBaseUpdate,_=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var C=y,E=C.next;C.next=null,_===null?d=E:_.next=E,_=C;var A=e.alternate;if(A!==null){var J=A.updateQueue,Q=J.lastBaseUpdate;Q!==_&&(Q===null?J.firstBaseUpdate=E:Q.next=E,J.lastBaseUpdate=C)}}if(d!==null){var ve=c.baseState,_e=Ie,xe=null,at=null,Dt=null,St=d;do{var hr=St.lane,mr=St.eventTime;if($f(i,hr)){if(Dt!==null){var De={eventTime:mr,lane:yn,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Dt=Dt.next=De}ve=JF(e,c,St,ve,t,n);var fe=St.callback;if(fe!==null&&St.lane!==yn){e.flags|=fb;var qe=c.effects;qe===null?c.effects=[St]:qe.push(St)}}else{var ue={eventTime:mr,lane:hr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Dt===null?(at=Dt=ue,xe=ve):Dt=Dt.next=ue,_e=ir(_e,hr)}if(St=St.next,St===null){if(y=c.shared.pending,y===null)break;var ut=y,ot=ut.next;ut.next=null,St=ot,c.lastBaseUpdate=ut,c.shared.pending=null}}while(!0);Dt===null&&(xe=ve),c.baseState=xe,c.firstBaseUpdate=at,c.lastBaseUpdate=Dt;var Ht=c.shared.interleaved;if(Ht!==null){var Kt=Ht;do _e=ir(_e,Kt.lane),Kt=Kt.next;while(Kt!==Ht)}else d===null&&(c.shared.lanes=Ie);zh(_e),e.lanes=_e,e.memoizedState=ve}zv=null}function ZF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function _x(){Iv=!1}function jv(){return Iv}function gx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var c=0;c<i.length;c++){var d=i[c],_=d.callback;_!==null&&(d.callback=null,ZF(_,n))}}var fh={},Vc=Bc(fh),dh=Bc(fh),Hv=Bc(fh);function Uv(e){if(e===fh)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function bx(){var e=Uv(Hv.current);return e}function ey(e,t){Bn(Hv,t,e),Bn(dh,e,e),Bn(Vc,fh,e);var n=v9(t);zn(Vc,e),Bn(Vc,n,e)}function fd(e){zn(Vc,e),zn(dh,e),zn(Hv,e)}function ty(){var e=Uv(Vc.current);return e}function yx(e){var t=Uv(Hv.current),n=Uv(Vc.current),i=_9(n,e.type);n!==i&&(Bn(dh,e,e),Bn(Vc,i,e))}function ry(e){dh.current===e&&(zn(Vc,e),zn(dh,e))}var ej=0,Sx=1,wx=1,ph=2,Vl=Bc(ej);function ay(e,t){return(e&t)!==0}function dd(e){return e&Sx}function ny(e,t){return e&Sx|t}function tj(e,t){return e|t}function Wc(e,t){Bn(Vl,t,e)}function pd(e){zn(Vl,e)}function rj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Vv(e){for(var t=e;t!==null;){if(t.tag===Z){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||FC(i)||w1(i))return t}}else if(t.tag===be&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Ir)!==zt;if(c)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var So=0,nn=1,vs=2,on=4,En=8,oy=[];function iy(){for(var e=0;e<oy.length;e++){var t=oy[e];t._workInProgressVersionPrimary=null}oy.length=0}function aj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var st=o.ReactCurrentDispatcher,hh=o.ReactCurrentBatchConfig,ly,hd;ly=new Set;var qu=Ie,Xr=null,ln=null,sn=null,Wv=!1,mh=!1,vh=0,nj=0,oj=25,Le=null,wl=null,qc=-1,sy=!1;function Br(){{var e=Le;wl===null?wl=[e]:wl.push(e)}}function tt(){{var e=Le;wl!==null&&(qc++,wl[qc]!==e&&ij(e))}}function md(e){e!=null&&!an(e)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Le,typeof e)}function ij(e){{var t=rr(Xr);if(!ly.has(t)&&(ly.add(t),wl!==null)){for(var n="",i=30,c=0;c<=qc;c++){for(var d=wl[c],_=c===qc?e:d,y=c+1+". "+d;y.length<i;)y+=" ";y+=_+`
72
72
  `,n+=y}u(`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
73
73
 
74
74
  Previous render Next render
@@ -81,11 +81,11 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
81
81
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function cy(e,t){if(sy)return!1;if(t===null)return u("%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.",Le),!1;e.length!==t.length&&u(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
82
82
 
83
83
  Previous: %s
84
- Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!jo(e[n],t[n]))return!1;return!0}function vd(e,t,n,i,c,d){qu=d,Xr=t,wl=e!==null?e._debugHookTypes:null,qc=-1,sy=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ie,e!==null&&e.memoizedState!==null?st.current=Wx:wl!==null?st.current=Vx:st.current=Ux;var _=n(i,c);if(mh){var y=0;do{if(mh=!1,vh=0,y>=oj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,sy=!1,ln=null,sn=null,t.updateQueue=null,qc=-1,st.current=qx,_=n(i,c)}while(mh)}st.current=a_,t._debugHookTypes=wl;var C=ln!==null&&ln.next!==null;if(qu=Ie,Xr=null,ln=null,sn=null,Le=null,wl=null,qc=-1,e!==null&&(e.flags&Ws)!==(t.flags&Ws)&&(e.mode&yr)!==Mt&&u("Internal React error: Expected static flag was missing. Please notify the React team."),Wv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return _}function _d(){var e=vh!==0;return vh=0,e}function Cx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&fs)!==Mt?t.flags&=~(Bm|Vs|zl|Er):t.flags&=~(zl|Er),e.lanes=qm(e.lanes,n)}function xx(){if(st.current=a_,Wv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wv=!1}qu=Ie,Xr=null,ln=null,sn=null,wl=null,qc=-1,Le=null,zx=!1,mh=!1,vh=0}function vs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sn===null?Xr.memoizedState=sn=e:sn=sn.next=e,sn}function Cl(){var e;if(ln===null){var t=Xr.alternate;t!==null?e=t.memoizedState:e=null}else e=ln.next;var n;if(sn===null?n=Xr.memoizedState:n=sn.next,n!==null)sn=n,n=sn.next,ln=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ln=e;var i={memoizedState:ln.memoizedState,baseState:ln.baseState,baseQueue:ln.baseQueue,queue:ln.queue,next:null};sn===null?Xr.memoizedState=sn=i:sn=sn.next=i}return sn}function kx(){return{lastEffect:null,stores:null}}function uy(e,t){return typeof t=="function"?t(e):t}function fy(e,t,n){var i=vs(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var d={pending:null,interleaved:null,lanes:Ie,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=d;var _=d.dispatch=uj.bind(null,Xr,d);return[i.memoizedState,_]}function dy(e,t,n){var i=Cl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=ln,_=d.baseQueue,y=c.pending;if(y!==null){if(_!==null){var C=_.next,E=y.next;_.next=E,y.next=C}d.baseQueue!==_&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=_=y,c.pending=null}if(_!==null){var A=_.next,J=d.baseState,Q=null,ve=null,_e=null,xe=A;do{var at=xe.lane;if($f(qu,at)){if(_e!==null){var St={lane:yn,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e=_e.next=St}if(xe.hasEagerState)J=xe.eagerState;else{var hr=xe.action;J=e(J,hr)}}else{var Dt={lane:at,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e===null?(ve=_e=Dt,Q=J):_e=_e.next=Dt,Xr.lanes=ir(Xr.lanes,at),zh(at)}xe=xe.next}while(xe!==null&&xe!==A);_e===null?Q=J:_e.next=ve,jo(J,i.memoizedState)||kh(),i.memoizedState=J,i.baseState=Q,i.baseQueue=_e,c.lastRenderedState=J}var mr=c.interleaved;if(mr!==null){var ue=mr;do{var De=ue.lane;Xr.lanes=ir(Xr.lanes,De),zh(De),ue=ue.next}while(ue!==mr)}else _===null&&(c.lanes=Ie);var fe=c.dispatch;return[i.memoizedState,fe]}function py(e,t,n){var i=Cl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=c.dispatch,_=c.pending,y=i.memoizedState;if(_!==null){c.pending=null;var C=_.next,E=C;do{var A=E.action;y=e(y,A),E=E.next}while(E!==C);jo(y,i.memoizedState)||kh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),c.lastRenderedState=y}return[y,d]}function q$(e,t,n){}function Y$(e,t,n){}function hy(e,t,n){var i=Xr,c=vs(),d,_=Tn();if(_){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=n(),hd||d!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),hd=!0)}else{if(d=t(),!hd){var y=t();jo(d,y)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var C=w_();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wm(C,qu)||Tx(i,t,d)}c.memoizedState=d;var E={value:d,getSnapshot:t};return c.queue=E,Kv(Rx.bind(null,i,E,e),[e]),i.flags|=zl,_h(nn|En,Ex.bind(null,i,E,d,t),void 0,null),d}function qv(e,t,n){var i=Xr,c=Cl(),d=t();if(!hd){var _=t();jo(d,_)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var y=c.memoizedState,C=!jo(y,d);C&&(c.memoizedState=d,kh());var E=c.queue;if(bh(Rx.bind(null,i,E,e),[e]),E.getSnapshot!==t||C||sn!==null&&sn.memoizedState.tag&nn){i.flags|=zl,_h(nn|En,Ex.bind(null,i,E,d,t),void 0,null);var A=w_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wm(A,qu)||Tx(i,t,d)}return d}function Tx(e,t,n){e.flags|=zm;var i={getSnapshot:t,value:n},c=Xr.updateQueue;if(c===null)c=kx(),Xr.updateQueue=c,c.stores=[i];else{var d=c.stores;d===null?c.stores=[i]:d.push(i)}}function Ex(e,t,n,i){t.value=n,t.getSnapshot=i,Dx(t)&&Ax(e)}function Rx(e,t,n){var i=function(){Dx(t)&&Ax(e)};return n(i)}function Dx(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!jo(n,i)}catch(c){return!0}}function Ax(e){var t=yo(e,qt);t!==null&&dn(t,e,qt,ma)}function Yv(e){var t=vs();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:Ie,dispatch:null,lastRenderedReducer:uy,lastRenderedState:e};t.queue=n;var i=n.dispatch=fj.bind(null,Xr,n);return[t.memoizedState,i]}function my(e){return dy(uy)}function vy(e){return py(uy)}function _h(e,t,n,i){var c={tag:e,create:t,destroy:n,deps:i,next:null},d=Xr.updateQueue;if(d===null)d=kx(),Xr.updateQueue=d,d.lastEffect=c.next=c;else{var _=d.lastEffect;if(_===null)d.lastEffect=c.next=c;else{var y=_.next;_.next=c,c.next=y,d.lastEffect=c}}return c}function _y(e){var t=vs();{var n={current:e};return t.memoizedState=n,n}}function $v(e){var t=Cl();return t.memoizedState}function gh(e,t,n,i){var c=vs(),d=i===void 0?null:i;Xr.flags|=e,c.memoizedState=_h(nn|t,n,void 0,d)}function Gv(e,t,n,i){var c=Cl(),d=i===void 0?null:i,_=void 0;if(ln!==null){var y=ln.memoizedState;if(_=y.destroy,d!==null){var C=y.deps;if(cy(d,C)){c.memoizedState=_h(t,n,_,d);return}}}Xr.flags|=e,c.memoizedState=_h(nn|t,n,_,d)}function Kv(e,t){return(Xr.mode&fs)!==Mt?gh(Bm|zl|hb,En,e,t):gh(zl|hb,En,e,t)}function bh(e,t){return Gv(zl,En,e,t)}function gy(e,t){return gh(Er,ms,e,t)}function Xv(e,t){return Gv(Er,ms,e,t)}function by(e,t){var n=Er;return n|=Eu,(Xr.mode&fs)!==Mt&&(n|=Vs),gh(n,on,e,t)}function Qv(e,t){return Gv(Er,on,e,t)}function Lx(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),function(){n(null)}}else if(t!=null){var c=t;c.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(c).join(", ")+"}");var d=e();return c.current=d,function(){c.current=null}}}function yy(e,t,n){typeof t!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null,c=Er;return c|=Eu,(Xr.mode&fs)!==Mt&&(c|=Vs),gh(c,on,Lx.bind(null,t,e),i)}function Jv(e,t,n){typeof t!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null;return Gv(Er,on,Lx.bind(null,t,e),i)}function lj(e,t){}var Zv=lj;function Sy(e,t){var n=vs(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function e_(e,t){var n=Cl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(cy(i,d))return c[0]}return n.memoizedState=[e,i],e}function wy(e,t){var n=vs(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function t_(e,t){var n=Cl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(cy(i,d))return c[0]}var _=e();return n.memoizedState=[_,i],_}function Cy(e){var t=vs();return t.memoizedState=e,e}function Nx(e){var t=Cl(),n=ln,i=n.memoizedState;return Mx(t,i,e)}function Ox(e){var t=Cl();if(ln===null)return t.memoizedState=e,e;var n=ln.memoizedState;return Mx(t,n,e)}function Mx(e,t,n){var i=!YI(qu);if(i){if(!jo(n,t)){var c=A3();Xr.lanes=ir(Xr.lanes,c),zh(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,kh()),e.memoizedState=n,n}function sj(e,t,n){var i=Fl();Sn(tz(i,Ys)),e(!0);var c=hh.transition;hh.transition={};var d=hh.transition;hh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Sn(i),hh.transition=c,c===null&&d._updatedFibers){var _=d._updatedFibers.size;_>10&&f("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."),d._updatedFibers.clear()}}}function xy(){var e=Yv(!1),t=e[0],n=e[1],i=sj.bind(null,n),c=vs();return c.memoizedState=i,[t,i]}function Px(){var e=my(),t=e[0],n=Cl(),i=n.memoizedState;return[t,i]}function Ix(){var e=vy(),t=e[0],n=Cl(),i=n.memoizedState;return[t,i]}var zx=!1;function cj(){return zx}function ky(){var e=vs(),t=w_(),n=t.identifierPrefix,i;if(Tn()){var c=TF();i=":"+n+"R"+c;var d=vh++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var _=nj++;i=":"+n+"r"+_.toString(32)+":"}return e.memoizedState=i,i}function r_(){var e=Cl(),t=e.memoizedState;return t}function uj(e,t,n){typeof arguments[3]=="function"&&u("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 i=Xc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bx(e))Fx(t,c);else{var d=px(e,t,c,i);if(d!==null){var _=Qn();dn(d,e,i,_),jx(d,t,i)}}Hx(e,i)}function fj(e,t,n){typeof arguments[3]=="function"&&u("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 i=Xc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bx(e))Fx(t,c);else{var d=e.alternate;if(e.lanes===Ie&&(d===null||d.lanes===Ie)){var _=t.lastRenderedReducer;if(_!==null){var y;y=st.current,st.current=Wl;try{var C=t.lastRenderedState,E=_(C,n);if(c.hasEagerState=!0,c.eagerState=E,jo(E,C)){KF(e,t,c,i);return}}catch(Q){}finally{st.current=y}}}var A=px(e,t,c,i);if(A!==null){var J=Qn();dn(A,e,i,J),jx(A,t,i)}}Hx(e,i)}function Bx(e){var t=e.alternate;return e===Xr||t!==null&&t===Xr}function Fx(e,t){mh=Wv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function jx(e,t,n){if(D3(n)){var i=t.lanes;i=L3(i,e.pendingLanes);var c=ir(i,n);t.lanes=c,Wb(e,c)}}function Hx(e,t,n){bb(e,t)}var a_={readContext:Ja,useCallback:Fn,useContext:Fn,useEffect:Fn,useImperativeHandle:Fn,useInsertionEffect:Fn,useLayoutEffect:Fn,useMemo:Fn,useReducer:Fn,useRef:Fn,useState:Fn,useDebugValue:Fn,useDeferredValue:Fn,useTransition:Fn,useMutableSource:Fn,useSyncExternalStore:Fn,useId:Fn,unstable_isNewReconciler:ie},Ux=null,Vx=null,Wx=null,qx=null,_s=null,Wl=null,n_=null;{var Ty=function(){u("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().")},Yt=function(){u("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")};Ux={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Le="useCallback",Br(),md(t),Sy(e,t)},useContext:function(e){return Le="useContext",Br(),Ja(e)},useEffect:function(e,t){return Le="useEffect",Br(),md(t),Kv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Br(),md(n),yy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Br(),md(t),gy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Br(),md(t),by(e,t)},useMemo:function(e,t){Le="useMemo",Br(),md(t);var n=st.current;st.current=_s;try{return wy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Br();var i=st.current;st.current=_s;try{return fy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Br(),_y(e)},useState:function(e){Le="useState",Br();var t=st.current;st.current=_s;try{return Yv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Br(),Cy(e)},useTransition:function(){return Le="useTransition",Br(),xy()},useMutableSource:function(e,t,n){return Le="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Br(),hy(e,t,n)},useId:function(){return Le="useId",Br(),ky()},unstable_isNewReconciler:ie},Vx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Le="useCallback",tt(),Sy(e,t)},useContext:function(e){return Le="useContext",tt(),Ja(e)},useEffect:function(e,t){return Le="useEffect",tt(),Kv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),yy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),gy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),by(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=_s;try{return wy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=_s;try{return fy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),_y(e)},useState:function(e){Le="useState",tt();var t=st.current;st.current=_s;try{return Yv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Cy(e)},useTransition:function(){return Le="useTransition",tt(),xy()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),hy(e,t,n)},useId:function(){return Le="useId",tt(),ky()},unstable_isNewReconciler:ie},Wx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Le="useCallback",tt(),e_(e,t)},useContext:function(e){return Le="useContext",tt(),Ja(e)},useEffect:function(e,t){return Le="useEffect",tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),Qv(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=Wl;try{return t_(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=Wl;try{return dy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),$v()},useState:function(e){Le="useState",tt();var t=st.current;st.current=Wl;try{return my(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Zv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Nx(e)},useTransition:function(){return Le="useTransition",tt(),Px()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),qv(e,t)},useId:function(){return Le="useId",tt(),r_()},unstable_isNewReconciler:ie},qx={readContext:function(e){return Ja(e)},useCallback:function(e,t){return Le="useCallback",tt(),e_(e,t)},useContext:function(e){return Le="useContext",tt(),Ja(e)},useEffect:function(e,t){return Le="useEffect",tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),Qv(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=n_;try{return t_(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=n_;try{return py(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),$v()},useState:function(e){Le="useState",tt();var t=st.current;st.current=n_;try{return vy(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Zv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Ox(e)},useTransition:function(){return Le="useTransition",tt(),Ix()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),qv(e,t)},useId:function(){return Le="useId",tt(),r_()},unstable_isNewReconciler:ie},_s={readContext:function(e){return Ty(),Ja(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Br(),Sy(e,t)},useContext:function(e){return Le="useContext",Yt(),Br(),Ja(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Br(),Kv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Br(),yy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Br(),gy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Br(),by(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Br();var n=st.current;st.current=_s;try{return wy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Br();var i=st.current;st.current=_s;try{return fy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),Br(),_y(e)},useState:function(e){Le="useState",Yt(),Br();var t=st.current;st.current=_s;try{return Yv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Br(),Cy(e)},useTransition:function(){return Le="useTransition",Yt(),Br(),xy()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Br(),hy(e,t,n)},useId:function(){return Le="useId",Yt(),Br(),ky()},unstable_isNewReconciler:ie},Wl={readContext:function(e){return Ty(),Ja(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),e_(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Ja(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),Qv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=st.current;st.current=Wl;try{return t_(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=st.current;st.current=Wl;try{return dy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),$v()},useState:function(e){Le="useState",Yt(),tt();var t=st.current;st.current=Wl;try{return my(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Zv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Nx(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Px()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),qv(e,t)},useId:function(){return Le="useId",Yt(),tt(),r_()},unstable_isNewReconciler:ie},n_={readContext:function(e){return Ty(),Ja(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),e_(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Ja(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),Qv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=st.current;st.current=Wl;try{return t_(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=st.current;st.current=Wl;try{return py(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),$v()},useState:function(e){Le="useState",Yt(),tt();var t=st.current;st.current=Wl;try{return vy(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Zv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Ox(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Ix()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),qv(e,t)},useId:function(){return Le="useId",Yt(),tt(),r_()},unstable_isNewReconciler:ie}}var Yc=a.unstable_now,Yx=0,o_=-1,yh=-1,i_=-1,Ey=!1,l_=!1;function $x(){return Ey}function dj(){l_=!0}function pj(){Ey=!1,l_=!1}function hj(){Ey=l_,l_=!1}function Gx(){return Yx}function Kx(){Yx=Yc()}function Ry(e){yh=Yc(),e.actualStartTime<0&&(e.actualStartTime=Yc())}function Xx(e){yh=-1}function s_(e,t){if(yh>=0){var n=Yc()-yh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),yh=-1}}function gs(e){if(o_>=0){var t=Yc()-o_;o_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i.effectDuration+=t;return;case F:var c=n.stateNode;c.effectDuration+=t;return}n=n.return}}}function Dy(e){if(i_>=0){var t=Yc()-i_;i_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case F:var c=n.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}n=n.return}}}function bs(){o_=Yc()}function Ay(){i_=Yc()}function Ly(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ql(e,t){if(e&&e.defaultProps){var n=Ot({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var Ny={},Oy,My,Py,Iy,zy,Qx,c_,By,Fy,jy,Sh;{Oy=new Set,My=new Set,Py=new Set,Iy=new Set,By=new Set,zy=new Set,Fy=new Set,jy=new Set,Sh=new Set;var Jx=new Set;c_=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Jx.has(n)||(Jx.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Qx=function(e,t){if(t===void 0){var n=Hr(e)||"Component";zy.has(n)||(zy.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ny,"_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(Ny)}function Hy(e,t,n,i){var c=e.memoizedState,d=n(i,c);{if(e.mode&Pa){bn(!0);try{d=n(i,c)}finally{bn(!1)}}Qx(t,d)}var _=d==null?c:Ot({},c,d);if(e.memoizedState=_,e.lanes===Ie){var y=e.updateQueue;y.baseState=_}}var Uy={isMounted:oI,enqueueSetState:function(e,t,n){var i=jf(e),c=Qn(),d=Xc(i),_=Zs(c,d);_.payload=t,n!=null&&(c_(n,"setState"),_.callback=n);var y=Uc(i,_,d);y!==null&&(dn(y,i,d,c),Bv(y,i,d)),bb(i,d)},enqueueReplaceState:function(e,t,n){var i=jf(e),c=Qn(),d=Xc(i),_=Zs(c,d);_.tag=mx,_.payload=t,n!=null&&(c_(n,"replaceState"),_.callback=n);var y=Uc(i,_,d);y!==null&&(dn(y,i,d,c),Bv(y,i,d)),bb(i,d)},enqueueForceUpdate:function(e,t){var n=jf(e),i=Qn(),c=Xc(n),d=Zs(i,c);d.tag=Pv,t!=null&&(c_(t,"forceUpdate"),d.callback=t);var _=Uc(n,d,c);_!==null&&(dn(_,n,c,i),Bv(_,n,c)),II(n,c)}};function Zx(e,t,n,i,c,d,_){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var C=y.shouldComponentUpdate(i,d,_);{if(e.mode&Pa){bn(!0);try{C=y.shouldComponentUpdate(i,d,_)}finally{bn(!1)}}C===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Vp(n,i)||!Vp(c,d):!0}function mj(e,t,n){var i=e.stateNode;{var c=Hr(t)||"Component",d=i.render;d||(t.prototype&&typeof t.prototype.render=="function"?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&u("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?",c),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&u("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.",c),i.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),i.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),t.childContextTypes&&!Sh.has(t)&&(e.mode&Pa)===Mt&&(Sh.add(t),u(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
84
+ Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!jo(e[n],t[n]))return!1;return!0}function vd(e,t,n,i,c,d){qu=d,Xr=t,wl=e!==null?e._debugHookTypes:null,qc=-1,sy=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ie,e!==null&&e.memoizedState!==null?st.current=Wx:wl!==null?st.current=Vx:st.current=Ux;var _=n(i,c);if(mh){var y=0;do{if(mh=!1,vh=0,y>=oj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,sy=!1,ln=null,sn=null,t.updateQueue=null,qc=-1,st.current=qx,_=n(i,c)}while(mh)}st.current=a_,t._debugHookTypes=wl;var C=ln!==null&&ln.next!==null;if(qu=Ie,Xr=null,ln=null,sn=null,Le=null,wl=null,qc=-1,e!==null&&(e.flags&Ws)!==(t.flags&Ws)&&(e.mode&yr)!==Mt&&u("Internal React error: Expected static flag was missing. Please notify the React team."),Wv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return _}function _d(){var e=vh!==0;return vh=0,e}function Cx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ds)!==Mt?t.flags&=~(Bm|Vs|zl|Er):t.flags&=~(zl|Er),e.lanes=qm(e.lanes,n)}function xx(){if(st.current=a_,Wv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wv=!1}qu=Ie,Xr=null,ln=null,sn=null,wl=null,qc=-1,Le=null,zx=!1,mh=!1,vh=0}function _s(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sn===null?Xr.memoizedState=sn=e:sn=sn.next=e,sn}function Cl(){var e;if(ln===null){var t=Xr.alternate;t!==null?e=t.memoizedState:e=null}else e=ln.next;var n;if(sn===null?n=Xr.memoizedState:n=sn.next,n!==null)sn=n,n=sn.next,ln=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ln=e;var i={memoizedState:ln.memoizedState,baseState:ln.baseState,baseQueue:ln.baseQueue,queue:ln.queue,next:null};sn===null?Xr.memoizedState=sn=i:sn=sn.next=i}return sn}function kx(){return{lastEffect:null,stores:null}}function uy(e,t){return typeof t=="function"?t(e):t}function fy(e,t,n){var i=_s(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var d={pending:null,interleaved:null,lanes:Ie,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=d;var _=d.dispatch=uj.bind(null,Xr,d);return[i.memoizedState,_]}function dy(e,t,n){var i=Cl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=ln,_=d.baseQueue,y=c.pending;if(y!==null){if(_!==null){var C=_.next,E=y.next;_.next=E,y.next=C}d.baseQueue!==_&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=_=y,c.pending=null}if(_!==null){var A=_.next,J=d.baseState,Q=null,ve=null,_e=null,xe=A;do{var at=xe.lane;if($f(qu,at)){if(_e!==null){var St={lane:yn,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e=_e.next=St}if(xe.hasEagerState)J=xe.eagerState;else{var hr=xe.action;J=e(J,hr)}}else{var Dt={lane:at,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};_e===null?(ve=_e=Dt,Q=J):_e=_e.next=Dt,Xr.lanes=ir(Xr.lanes,at),zh(at)}xe=xe.next}while(xe!==null&&xe!==A);_e===null?Q=J:_e.next=ve,jo(J,i.memoizedState)||kh(),i.memoizedState=J,i.baseState=Q,i.baseQueue=_e,c.lastRenderedState=J}var mr=c.interleaved;if(mr!==null){var ue=mr;do{var De=ue.lane;Xr.lanes=ir(Xr.lanes,De),zh(De),ue=ue.next}while(ue!==mr)}else _===null&&(c.lanes=Ie);var fe=c.dispatch;return[i.memoizedState,fe]}function py(e,t,n){var i=Cl(),c=i.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var d=c.dispatch,_=c.pending,y=i.memoizedState;if(_!==null){c.pending=null;var C=_.next,E=C;do{var A=E.action;y=e(y,A),E=E.next}while(E!==C);jo(y,i.memoizedState)||kh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),c.lastRenderedState=y}return[y,d]}function q$(e,t,n){}function Y$(e,t,n){}function hy(e,t,n){var i=Xr,c=_s(),d,_=Tn();if(_){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=n(),hd||d!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),hd=!0)}else{if(d=t(),!hd){var y=t();jo(d,y)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var C=w_();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wm(C,qu)||Tx(i,t,d)}c.memoizedState=d;var E={value:d,getSnapshot:t};return c.queue=E,Kv(Rx.bind(null,i,E,e),[e]),i.flags|=zl,_h(nn|En,Ex.bind(null,i,E,d,t),void 0,null),d}function qv(e,t,n){var i=Xr,c=Cl(),d=t();if(!hd){var _=t();jo(d,_)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var y=c.memoizedState,C=!jo(y,d);C&&(c.memoizedState=d,kh());var E=c.queue;if(bh(Rx.bind(null,i,E,e),[e]),E.getSnapshot!==t||C||sn!==null&&sn.memoizedState.tag&nn){i.flags|=zl,_h(nn|En,Ex.bind(null,i,E,d,t),void 0,null);var A=w_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wm(A,qu)||Tx(i,t,d)}return d}function Tx(e,t,n){e.flags|=zm;var i={getSnapshot:t,value:n},c=Xr.updateQueue;if(c===null)c=kx(),Xr.updateQueue=c,c.stores=[i];else{var d=c.stores;d===null?c.stores=[i]:d.push(i)}}function Ex(e,t,n,i){t.value=n,t.getSnapshot=i,Dx(t)&&Ax(e)}function Rx(e,t,n){var i=function(){Dx(t)&&Ax(e)};return n(i)}function Dx(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!jo(n,i)}catch(c){return!0}}function Ax(e){var t=yo(e,qt);t!==null&&dn(t,e,qt,ma)}function Yv(e){var t=_s();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:Ie,dispatch:null,lastRenderedReducer:uy,lastRenderedState:e};t.queue=n;var i=n.dispatch=fj.bind(null,Xr,n);return[t.memoizedState,i]}function my(e){return dy(uy)}function vy(e){return py(uy)}function _h(e,t,n,i){var c={tag:e,create:t,destroy:n,deps:i,next:null},d=Xr.updateQueue;if(d===null)d=kx(),Xr.updateQueue=d,d.lastEffect=c.next=c;else{var _=d.lastEffect;if(_===null)d.lastEffect=c.next=c;else{var y=_.next;_.next=c,c.next=y,d.lastEffect=c}}return c}function _y(e){var t=_s();{var n={current:e};return t.memoizedState=n,n}}function $v(e){var t=Cl();return t.memoizedState}function gh(e,t,n,i){var c=_s(),d=i===void 0?null:i;Xr.flags|=e,c.memoizedState=_h(nn|t,n,void 0,d)}function Gv(e,t,n,i){var c=Cl(),d=i===void 0?null:i,_=void 0;if(ln!==null){var y=ln.memoizedState;if(_=y.destroy,d!==null){var C=y.deps;if(cy(d,C)){c.memoizedState=_h(t,n,_,d);return}}}Xr.flags|=e,c.memoizedState=_h(nn|t,n,_,d)}function Kv(e,t){return(Xr.mode&ds)!==Mt?gh(Bm|zl|hb,En,e,t):gh(zl|hb,En,e,t)}function bh(e,t){return Gv(zl,En,e,t)}function gy(e,t){return gh(Er,vs,e,t)}function Xv(e,t){return Gv(Er,vs,e,t)}function by(e,t){var n=Er;return n|=Eu,(Xr.mode&ds)!==Mt&&(n|=Vs),gh(n,on,e,t)}function Qv(e,t){return Gv(Er,on,e,t)}function Lx(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),function(){n(null)}}else if(t!=null){var c=t;c.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(c).join(", ")+"}");var d=e();return c.current=d,function(){c.current=null}}}function yy(e,t,n){typeof t!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null,c=Er;return c|=Eu,(Xr.mode&ds)!==Mt&&(c|=Vs),gh(c,on,Lx.bind(null,t,e),i)}function Jv(e,t,n){typeof t!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=n!=null?n.concat([e]):null;return Gv(Er,on,Lx.bind(null,t,e),i)}function lj(e,t){}var Zv=lj;function Sy(e,t){var n=_s(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function e_(e,t){var n=Cl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(cy(i,d))return c[0]}return n.memoizedState=[e,i],e}function wy(e,t){var n=_s(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function t_(e,t){var n=Cl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(cy(i,d))return c[0]}var _=e();return n.memoizedState=[_,i],_}function Cy(e){var t=_s();return t.memoizedState=e,e}function Nx(e){var t=Cl(),n=ln,i=n.memoizedState;return Mx(t,i,e)}function Ox(e){var t=Cl();if(ln===null)return t.memoizedState=e,e;var n=ln.memoizedState;return Mx(t,n,e)}function Mx(e,t,n){var i=!YI(qu);if(i){if(!jo(n,t)){var c=A3();Xr.lanes=ir(Xr.lanes,c),zh(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,kh()),e.memoizedState=n,n}function sj(e,t,n){var i=Fl();Sn(tz(i,Ys)),e(!0);var c=hh.transition;hh.transition={};var d=hh.transition;hh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Sn(i),hh.transition=c,c===null&&d._updatedFibers){var _=d._updatedFibers.size;_>10&&f("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."),d._updatedFibers.clear()}}}function xy(){var e=Yv(!1),t=e[0],n=e[1],i=sj.bind(null,n),c=_s();return c.memoizedState=i,[t,i]}function Px(){var e=my(),t=e[0],n=Cl(),i=n.memoizedState;return[t,i]}function Ix(){var e=vy(),t=e[0],n=Cl(),i=n.memoizedState;return[t,i]}var zx=!1;function cj(){return zx}function ky(){var e=_s(),t=w_(),n=t.identifierPrefix,i;if(Tn()){var c=TF();i=":"+n+"R"+c;var d=vh++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var _=nj++;i=":"+n+"r"+_.toString(32)+":"}return e.memoizedState=i,i}function r_(){var e=Cl(),t=e.memoizedState;return t}function uj(e,t,n){typeof arguments[3]=="function"&&u("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 i=Xc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bx(e))Fx(t,c);else{var d=px(e,t,c,i);if(d!==null){var _=Qn();dn(d,e,i,_),jx(d,t,i)}}Hx(e,i)}function fj(e,t,n){typeof arguments[3]=="function"&&u("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 i=Xc(e),c={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bx(e))Fx(t,c);else{var d=e.alternate;if(e.lanes===Ie&&(d===null||d.lanes===Ie)){var _=t.lastRenderedReducer;if(_!==null){var y;y=st.current,st.current=Wl;try{var C=t.lastRenderedState,E=_(C,n);if(c.hasEagerState=!0,c.eagerState=E,jo(E,C)){KF(e,t,c,i);return}}catch(Q){}finally{st.current=y}}}var A=px(e,t,c,i);if(A!==null){var J=Qn();dn(A,e,i,J),jx(A,t,i)}}Hx(e,i)}function Bx(e){var t=e.alternate;return e===Xr||t!==null&&t===Xr}function Fx(e,t){mh=Wv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function jx(e,t,n){if(D3(n)){var i=t.lanes;i=L3(i,e.pendingLanes);var c=ir(i,n);t.lanes=c,Wb(e,c)}}function Hx(e,t,n){bb(e,t)}var a_={readContext:Za,useCallback:Fn,useContext:Fn,useEffect:Fn,useImperativeHandle:Fn,useInsertionEffect:Fn,useLayoutEffect:Fn,useMemo:Fn,useReducer:Fn,useRef:Fn,useState:Fn,useDebugValue:Fn,useDeferredValue:Fn,useTransition:Fn,useMutableSource:Fn,useSyncExternalStore:Fn,useId:Fn,unstable_isNewReconciler:ie},Ux=null,Vx=null,Wx=null,qx=null,gs=null,Wl=null,n_=null;{var Ty=function(){u("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().")},Yt=function(){u("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")};Ux={readContext:function(e){return Za(e)},useCallback:function(e,t){return Le="useCallback",Br(),md(t),Sy(e,t)},useContext:function(e){return Le="useContext",Br(),Za(e)},useEffect:function(e,t){return Le="useEffect",Br(),md(t),Kv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Br(),md(n),yy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Br(),md(t),gy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Br(),md(t),by(e,t)},useMemo:function(e,t){Le="useMemo",Br(),md(t);var n=st.current;st.current=gs;try{return wy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Br();var i=st.current;st.current=gs;try{return fy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Br(),_y(e)},useState:function(e){Le="useState",Br();var t=st.current;st.current=gs;try{return Yv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Br(),Cy(e)},useTransition:function(){return Le="useTransition",Br(),xy()},useMutableSource:function(e,t,n){return Le="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Br(),hy(e,t,n)},useId:function(){return Le="useId",Br(),ky()},unstable_isNewReconciler:ie},Vx={readContext:function(e){return Za(e)},useCallback:function(e,t){return Le="useCallback",tt(),Sy(e,t)},useContext:function(e){return Le="useContext",tt(),Za(e)},useEffect:function(e,t){return Le="useEffect",tt(),Kv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),yy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),gy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),by(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=gs;try{return wy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=gs;try{return fy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),_y(e)},useState:function(e){Le="useState",tt();var t=st.current;st.current=gs;try{return Yv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Cy(e)},useTransition:function(){return Le="useTransition",tt(),xy()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),hy(e,t,n)},useId:function(){return Le="useId",tt(),ky()},unstable_isNewReconciler:ie},Wx={readContext:function(e){return Za(e)},useCallback:function(e,t){return Le="useCallback",tt(),e_(e,t)},useContext:function(e){return Le="useContext",tt(),Za(e)},useEffect:function(e,t){return Le="useEffect",tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),Qv(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=Wl;try{return t_(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=Wl;try{return dy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),$v()},useState:function(e){Le="useState",tt();var t=st.current;st.current=Wl;try{return my(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Zv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Nx(e)},useTransition:function(){return Le="useTransition",tt(),Px()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),qv(e,t)},useId:function(){return Le="useId",tt(),r_()},unstable_isNewReconciler:ie},qx={readContext:function(e){return Za(e)},useCallback:function(e,t){return Le="useCallback",tt(),e_(e,t)},useContext:function(e){return Le="useContext",tt(),Za(e)},useEffect:function(e,t){return Le="useEffect",tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),Qv(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=st.current;st.current=n_;try{return t_(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=st.current;st.current=n_;try{return py(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",tt(),$v()},useState:function(e){Le="useState",tt();var t=st.current;st.current=n_;try{return vy(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Zv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Ox(e)},useTransition:function(){return Le="useTransition",tt(),Ix()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),qv(e,t)},useId:function(){return Le="useId",tt(),r_()},unstable_isNewReconciler:ie},gs={readContext:function(e){return Ty(),Za(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Br(),Sy(e,t)},useContext:function(e){return Le="useContext",Yt(),Br(),Za(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Br(),Kv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Br(),yy(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Br(),gy(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Br(),by(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Br();var n=st.current;st.current=gs;try{return wy(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Br();var i=st.current;st.current=gs;try{return fy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),Br(),_y(e)},useState:function(e){Le="useState",Yt(),Br();var t=st.current;st.current=gs;try{return Yv(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Br(),Cy(e)},useTransition:function(){return Le="useTransition",Yt(),Br(),xy()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Br(),hy(e,t,n)},useId:function(){return Le="useId",Yt(),Br(),ky()},unstable_isNewReconciler:ie},Wl={readContext:function(e){return Ty(),Za(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),e_(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Za(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),Qv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=st.current;st.current=Wl;try{return t_(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=st.current;st.current=Wl;try{return dy(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),$v()},useState:function(e){Le="useState",Yt(),tt();var t=st.current;st.current=Wl;try{return my(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Zv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Nx(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Px()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),qv(e,t)},useId:function(){return Le="useId",Yt(),tt(),r_()},unstable_isNewReconciler:ie},n_={readContext:function(e){return Ty(),Za(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),e_(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Za(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),Qv(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=st.current;st.current=Wl;try{return t_(e,t)}finally{st.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=st.current;st.current=Wl;try{return py(e,t,n)}finally{st.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),$v()},useState:function(e){Le="useState",Yt(),tt();var t=st.current;st.current=Wl;try{return vy(e)}finally{st.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Zv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Ox(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Ix()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),qv(e,t)},useId:function(){return Le="useId",Yt(),tt(),r_()},unstable_isNewReconciler:ie}}var Yc=a.unstable_now,Yx=0,o_=-1,yh=-1,i_=-1,Ey=!1,l_=!1;function $x(){return Ey}function dj(){l_=!0}function pj(){Ey=!1,l_=!1}function hj(){Ey=l_,l_=!1}function Gx(){return Yx}function Kx(){Yx=Yc()}function Ry(e){yh=Yc(),e.actualStartTime<0&&(e.actualStartTime=Yc())}function Xx(e){yh=-1}function s_(e,t){if(yh>=0){var n=Yc()-yh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),yh=-1}}function bs(e){if(o_>=0){var t=Yc()-o_;o_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i.effectDuration+=t;return;case F:var c=n.stateNode;c.effectDuration+=t;return}n=n.return}}}function Dy(e){if(i_>=0){var t=Yc()-i_;i_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case F:var c=n.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}n=n.return}}}function ys(){o_=Yc()}function Ay(){i_=Yc()}function Ly(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ql(e,t){if(e&&e.defaultProps){var n=Ot({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var Ny={},Oy,My,Py,Iy,zy,Qx,c_,By,Fy,jy,Sh;{Oy=new Set,My=new Set,Py=new Set,Iy=new Set,By=new Set,zy=new Set,Fy=new Set,jy=new Set,Sh=new Set;var Jx=new Set;c_=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Jx.has(n)||(Jx.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Qx=function(e,t){if(t===void 0){var n=Hr(e)||"Component";zy.has(n)||(zy.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ny,"_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(Ny)}function Hy(e,t,n,i){var c=e.memoizedState,d=n(i,c);{if(e.mode&Pa){bn(!0);try{d=n(i,c)}finally{bn(!1)}}Qx(t,d)}var _=d==null?c:Ot({},c,d);if(e.memoizedState=_,e.lanes===Ie){var y=e.updateQueue;y.baseState=_}}var Uy={isMounted:oI,enqueueSetState:function(e,t,n){var i=jf(e),c=Qn(),d=Xc(i),_=Zs(c,d);_.payload=t,n!=null&&(c_(n,"setState"),_.callback=n);var y=Uc(i,_,d);y!==null&&(dn(y,i,d,c),Bv(y,i,d)),bb(i,d)},enqueueReplaceState:function(e,t,n){var i=jf(e),c=Qn(),d=Xc(i),_=Zs(c,d);_.tag=mx,_.payload=t,n!=null&&(c_(n,"replaceState"),_.callback=n);var y=Uc(i,_,d);y!==null&&(dn(y,i,d,c),Bv(y,i,d)),bb(i,d)},enqueueForceUpdate:function(e,t){var n=jf(e),i=Qn(),c=Xc(n),d=Zs(i,c);d.tag=Pv,t!=null&&(c_(t,"forceUpdate"),d.callback=t);var _=Uc(n,d,c);_!==null&&(dn(_,n,c,i),Bv(_,n,c)),II(n,c)}};function Zx(e,t,n,i,c,d,_){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var C=y.shouldComponentUpdate(i,d,_);{if(e.mode&Pa){bn(!0);try{C=y.shouldComponentUpdate(i,d,_)}finally{bn(!1)}}C===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Vp(n,i)||!Vp(c,d):!0}function mj(e,t,n){var i=e.stateNode;{var c=Hr(t)||"Component",d=i.render;d||(t.prototype&&typeof t.prototype.render=="function"?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&u("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?",c),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&u("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.",c),i.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),i.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),t.childContextTypes&&!Sh.has(t)&&(e.mode&Pa)===Mt&&(Sh.add(t),u(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
85
85
 
86
86
  .Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!Sh.has(t)&&(e.mode&Pa)===Mt&&(Sh.add(t),u(`%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.
87
87
 
88
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),i.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),t.contextType&&t.contextTypes&&!Fy.has(t)&&(Fy.add(t),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof i.componentShouldUpdate=="function"&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate!="undefined"&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Hr(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof i.componentDidReceiveProps=="function"&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof i.componentWillRecieveProps=="function"&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof i.UNSAFE_componentWillRecieveProps=="function"&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var _=i.props!==n;i.props!==void 0&&_&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),i.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!Py.has(t)&&(Py.add(t),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Hr(t))),typeof i.getDerivedStateFromProps=="function"&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof i.getDerivedStateFromError=="function"&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof t.getSnapshotBeforeUpdate=="function"&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var y=i.state;y&&(typeof y!="object"||an(y))&&u("%s.state: must be set to an object or null",c),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function e4(e,t){t.updater=Uy,e.stateNode=t,eI(t,e),t._reactInternalInstance=Ny}function t4(e,t,n){var i=!1,c=Ho,d=Ho,_=t.contextType;if("contextType"in t){var y=_===null||_!==void 0&&_.$$typeof===q&&_._context===void 0;if(!y&&!jy.has(t)){jy.add(t);var C="";_===void 0?C=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof _!="object"?C=" However, it is set to a "+typeof _+".":_.$$typeof===D?C=" Did you accidentally pass the Context.Provider instead?":_._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(_).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Hr(t)||"Component",C)}}if(typeof _=="object"&&_!==null)d=Ja(_);else{c=ad(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?nd(e,c):Ho}var A=new t(n,d);if(e.mode&Pa){bn(!0);try{A=new t(n,d)}finally{bn(!1)}}var J=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;e4(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&J===null){var Q=Hr(t)||"Component";My.has(Q)||(My.add(Q),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Q,A.state===null?"null":"undefined",Q))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var ve=null,_e=null,xe=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?ve="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(ve="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?_e="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(_e="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?xe="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(xe="UNSAFE_componentWillUpdate"),ve!==null||_e!==null||xe!==null){var at=Hr(t)||"Component",Dt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Iy.has(at)||(Iy.add(at),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
88
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),i.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),t.contextType&&t.contextTypes&&!Fy.has(t)&&(Fy.add(t),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof i.componentShouldUpdate=="function"&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate!="undefined"&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Hr(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof i.componentDidReceiveProps=="function"&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof i.componentWillRecieveProps=="function"&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof i.UNSAFE_componentWillRecieveProps=="function"&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var _=i.props!==n;i.props!==void 0&&_&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),i.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!Py.has(t)&&(Py.add(t),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Hr(t))),typeof i.getDerivedStateFromProps=="function"&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof i.getDerivedStateFromError=="function"&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof t.getSnapshotBeforeUpdate=="function"&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var y=i.state;y&&(typeof y!="object"||an(y))&&u("%s.state: must be set to an object or null",c),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function e4(e,t){t.updater=Uy,e.stateNode=t,eI(t,e),t._reactInternalInstance=Ny}function t4(e,t,n){var i=!1,c=Ho,d=Ho,_=t.contextType;if("contextType"in t){var y=_===null||_!==void 0&&_.$$typeof===q&&_._context===void 0;if(!y&&!jy.has(t)){jy.add(t);var C="";_===void 0?C=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof _!="object"?C=" However, it is set to a "+typeof _+".":_.$$typeof===D?C=" Did you accidentally pass the Context.Provider instead?":_._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(_).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Hr(t)||"Component",C)}}if(typeof _=="object"&&_!==null)d=Za(_);else{c=ad(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?nd(e,c):Ho}var A=new t(n,d);if(e.mode&Pa){bn(!0);try{A=new t(n,d)}finally{bn(!1)}}var J=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;e4(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&J===null){var Q=Hr(t)||"Component";My.has(Q)||(My.add(Q),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Q,A.state===null?"null":"undefined",Q))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var ve=null,_e=null,xe=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?ve="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(ve="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?_e="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(_e="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?xe="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(xe="UNSAFE_componentWillUpdate"),ve!==null||_e!==null||xe!==null){var at=Hr(t)||"Component",Dt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Iy.has(at)||(Iy.add(at),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
89
89
 
90
90
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
91
91
 
@@ -93,13 +93,13 @@ The above lifecycles should be removed. Learn more about this warning here:
93
93
  https://reactjs.org/link/unsafe-component-lifecycles`,at,Dt,ve!==null?`
94
94
  `+ve:"",_e!==null?`
95
95
  `+_e:"",xe!==null?`
96
- `+xe:""))}}}return i&&WC(e,c,d),A}function vj(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rr(e)||"Component"),Uy.enqueueReplaceState(t,t.state,null))}function r4(e,t,n,i){var c=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==c){{var d=rr(e)||"Component";Oy.has(d)||(Oy.add(d),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}Uy.enqueueReplaceState(t,t.state,null)}}function Vy(e,t,n,i){mj(e,t,n);var c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs={},J1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)c.context=Ja(d);else{var _=ad(e,t,!0);c.context=nd(e,_)}{if(c.state===n){var y=Hr(t)||"Component";By.has(y)||(By.add(y),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))}e.mode&Pa&&Ul.recordLegacyContextWarning(e,c),Ul.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(Hy(e,t,C,n),c.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(vj(e,c),Fv(e,n,c,i),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var E=Er;E|=Eu,(e.mode&fs)!==Mt&&(E|=Vs),e.flags|=E}}function _j(e,t,n,i){var c=e.stateNode,d=e.memoizedProps;c.props=d;var _=c.context,y=t.contextType,C=Ho;if(typeof y=="object"&&y!==null)C=Ja(y);else{var E=ad(e,t,!0);C=nd(e,E)}var A=t.getDerivedStateFromProps,J=typeof A=="function"||typeof c.getSnapshotBeforeUpdate=="function";!J&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==n||_!==C)&&r4(e,c,n,C),_x();var Q=e.memoizedState,ve=c.state=Q;if(Fv(e,n,c,i),ve=e.memoizedState,d===n&&Q===ve&&!yv()&&!jv()){if(typeof c.componentDidMount=="function"){var _e=Er;_e|=Eu,(e.mode&fs)!==Mt&&(_e|=Vs),e.flags|=_e}return!1}typeof A=="function"&&(Hy(e,t,A,n),ve=e.memoizedState);var xe=jv()||Zx(e,t,d,n,Q,ve,C);if(xe){if(!J&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"){var at=Er;at|=Eu,(e.mode&fs)!==Mt&&(at|=Vs),e.flags|=at}}else{if(typeof c.componentDidMount=="function"){var Dt=Er;Dt|=Eu,(e.mode&fs)!==Mt&&(Dt|=Vs),e.flags|=Dt}e.memoizedProps=n,e.memoizedState=ve}return c.props=n,c.state=ve,c.context=C,xe}function gj(e,t,n,i,c){var d=t.stateNode;vx(e,t);var _=t.memoizedProps,y=t.type===t.elementType?_:ql(t.type,_);d.props=y;var C=t.pendingProps,E=d.context,A=n.contextType,J=Ho;if(typeof A=="object"&&A!==null)J=Ja(A);else{var Q=ad(t,n,!0);J=nd(t,Q)}var ve=n.getDerivedStateFromProps,_e=typeof ve=="function"||typeof d.getSnapshotBeforeUpdate=="function";!_e&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(_!==C||E!==J)&&r4(t,d,i,J),_x();var xe=t.memoizedState,at=d.state=xe;if(Fv(t,i,d,c),at=t.memoizedState,_===C&&xe===at&&!yv()&&!jv()&&!te)return typeof d.componentDidUpdate=="function"&&(_!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(_!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=ku),!1;typeof ve=="function"&&(Hy(t,n,ve,i),at=t.memoizedState);var Dt=jv()||Zx(t,n,y,i,xe,at,J)||te;return Dt?(!_e&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,at,J),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,at,J)),typeof d.componentDidUpdate=="function"&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=ku)):(typeof d.componentDidUpdate=="function"&&(_!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(_!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=ku),t.memoizedProps=i,t.memoizedState=at),d.props=i,d.state=at,d.context=J,Dt}function Yu(e,t){return{value:e,source:t,stack:xm(t),digest:null}}function Wy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function bj(e,t){return!0}function qy(e,t){try{var n=bj(e,t);if(n===!1)return;var i=t.value,c=t.source,d=t.stack,_=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=c?rr(c):null,C=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===b)E=`Consider adding an error boundary to your tree to customize error handling behavior.
96
+ `+xe:""))}}}return i&&WC(e,c,d),A}function vj(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rr(e)||"Component"),Uy.enqueueReplaceState(t,t.state,null))}function r4(e,t,n,i){var c=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==c){{var d=rr(e)||"Component";Oy.has(d)||(Oy.add(d),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}Uy.enqueueReplaceState(t,t.state,null)}}function Vy(e,t,n,i){mj(e,t,n);var c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs={},J1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)c.context=Za(d);else{var _=ad(e,t,!0);c.context=nd(e,_)}{if(c.state===n){var y=Hr(t)||"Component";By.has(y)||(By.add(y),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))}e.mode&Pa&&Ul.recordLegacyContextWarning(e,c),Ul.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(Hy(e,t,C,n),c.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(vj(e,c),Fv(e,n,c,i),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var E=Er;E|=Eu,(e.mode&ds)!==Mt&&(E|=Vs),e.flags|=E}}function _j(e,t,n,i){var c=e.stateNode,d=e.memoizedProps;c.props=d;var _=c.context,y=t.contextType,C=Ho;if(typeof y=="object"&&y!==null)C=Za(y);else{var E=ad(e,t,!0);C=nd(e,E)}var A=t.getDerivedStateFromProps,J=typeof A=="function"||typeof c.getSnapshotBeforeUpdate=="function";!J&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==n||_!==C)&&r4(e,c,n,C),_x();var Q=e.memoizedState,ve=c.state=Q;if(Fv(e,n,c,i),ve=e.memoizedState,d===n&&Q===ve&&!yv()&&!jv()){if(typeof c.componentDidMount=="function"){var _e=Er;_e|=Eu,(e.mode&ds)!==Mt&&(_e|=Vs),e.flags|=_e}return!1}typeof A=="function"&&(Hy(e,t,A,n),ve=e.memoizedState);var xe=jv()||Zx(e,t,d,n,Q,ve,C);if(xe){if(!J&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"){var at=Er;at|=Eu,(e.mode&ds)!==Mt&&(at|=Vs),e.flags|=at}}else{if(typeof c.componentDidMount=="function"){var Dt=Er;Dt|=Eu,(e.mode&ds)!==Mt&&(Dt|=Vs),e.flags|=Dt}e.memoizedProps=n,e.memoizedState=ve}return c.props=n,c.state=ve,c.context=C,xe}function gj(e,t,n,i,c){var d=t.stateNode;vx(e,t);var _=t.memoizedProps,y=t.type===t.elementType?_:ql(t.type,_);d.props=y;var C=t.pendingProps,E=d.context,A=n.contextType,J=Ho;if(typeof A=="object"&&A!==null)J=Za(A);else{var Q=ad(t,n,!0);J=nd(t,Q)}var ve=n.getDerivedStateFromProps,_e=typeof ve=="function"||typeof d.getSnapshotBeforeUpdate=="function";!_e&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(_!==C||E!==J)&&r4(t,d,i,J),_x();var xe=t.memoizedState,at=d.state=xe;if(Fv(t,i,d,c),at=t.memoizedState,_===C&&xe===at&&!yv()&&!jv()&&!te)return typeof d.componentDidUpdate=="function"&&(_!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(_!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=ku),!1;typeof ve=="function"&&(Hy(t,n,ve,i),at=t.memoizedState);var Dt=jv()||Zx(t,n,y,i,xe,at,J)||te;return Dt?(!_e&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,at,J),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,at,J)),typeof d.componentDidUpdate=="function"&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=ku)):(typeof d.componentDidUpdate=="function"&&(_!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=Er),typeof d.getSnapshotBeforeUpdate=="function"&&(_!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=ku),t.memoizedProps=i,t.memoizedState=at),d.props=i,d.state=at,d.context=J,Dt}function Yu(e,t){return{value:e,source:t,stack:xm(t),digest:null}}function Wy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function bj(e,t){return!0}function qy(e,t){try{var n=bj(e,t);if(n===!1)return;var i=t.value,c=t.source,d=t.stack,_=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=c?rr(c):null,C=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===b)E=`Consider adding an error boundary to your tree to customize error handling behavior.
97
97
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var A=rr(e)||"Anonymous";E="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+A+".")}var J=C+`
98
98
  `+_+`
99
99
 
100
- `+(""+E);console.error(J)}catch(Q){setTimeout(function(){throw Q})}}var yj=typeof WeakMap=="function"?WeakMap:Map;function a4(e,t,n){var i=Zs(ma,n);i.tag=X1,i.payload={element:null};var c=t.value;return i.callback=function(){_U(c),qy(e,t)},i}function Yy(e,t,n){var i=Zs(ma,n);i.tag=X1;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var d=t.value;i.payload=function(){return c(d)},i.callback=function(){mk(e),qy(e,t)}}var _=e.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){mk(e),qy(e,t),typeof c!="function"&&mU(this);var C=t.value,E=t.stack;this.componentDidCatch(C,{componentStack:E!==null?E:""}),typeof c!="function"&&(zo(e.lanes,qt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",rr(e)||"Unknown"))}),i}function n4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new yj,c=new Set,i.set(t,c)):(c=i.get(t),c===void 0&&(c=new Set,i.set(t,c))),!c.has(n)){c.add(n);var d=gU.bind(null,e,t,n);Bl&&Bh(e,n),t.then(d,d)}}function Sj(e,t,n,i){var c=e.updateQueue;if(c===null){var d=new Set;d.add(n),e.updateQueue=d}else c.add(n)}function wj(e,t){var n=e.tag;if((e.mode&yr)===Mt&&(n===p||n===j||n===ae)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function o4(e){var t=e;do{if(t.tag===Z&&rj(t))return t;t=t.return}while(t!==null);return null}function i4(e,t,n,i,c){if((e.mode&yr)===Mt){if(e===t)e.flags|=Gn;else{if(e.flags|=Ir,n.flags|=db,n.flags&=~(tI|yp),n.tag===m){var d=n.alternate;if(d===null)n.tag=ee;else{var _=Zs(ma,qt);_.tag=Pv,Uc(n,_,qt)}}n.lanes=ir(n.lanes,qt)}return e}return e.flags|=Gn,e.lanes=c,e}function Cj(e,t,n,i,c){if(n.flags|=yp,Bl&&Bh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;wj(n),Tn()&&n.mode&yr&&QC();var _=o4(t);if(_!==null){_.flags&=~Hs,i4(_,t,n,e,c),_.mode&yr&&n4(e,d,c),Sj(_,e,d);return}else{if(!qI(c)){n4(e,d,c),T0();return}var y=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.");i=y}}else if(Tn()&&n.mode&yr){QC();var C=o4(t);if(C!==null){(C.flags&Gn)===zt&&(C.flags|=Hs),i4(C,t,n,e,c),B1(Yu(i,n));return}}i=Yu(i,n),lU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=Gn;var J=Rp(c);E.lanes=ir(E.lanes,J);var Q=a4(E,A,J);Z1(E,Q);return}case m:var ve=i,_e=E.type,xe=E.stateNode;if((E.flags&Ir)===zt&&(typeof _e.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!ik(xe))){E.flags|=Gn;var at=Rp(c);E.lanes=ir(E.lanes,at);var Dt=Yy(E,ve,at);Z1(E,Dt);return}break}E=E.return}while(E!==null)}function xj(){return null}var wh=o.ReactCurrentOwner,Yl=!1,$y,Ch,Gy,Ky,Xy,$u,Qy,u_,xh;$y={},Ch={},Gy={},Ky={},Xy={},$u=!1,Qy={},u_={},xh={};function Kn(e,t,n,i){e===null?t.child=cx(t,null,n,i):t.child=sd(t,e.child,n,i)}function kj(e,t,n,i){t.child=sd(t,e.child,null,i),t.child=sd(t,null,n,i)}function l4(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&jl(d,i,"prop",Hr(n))}var _=n.render,y=t.ref,C,E;ud(t,c),wp(t);{if(wh.current=t,gl(!0),C=vd(e,t,_,i,y,c),E=_d(),t.mode&Pa){bn(!0);try{C=vd(e,t,_,i,y,c),E=_d()}finally{bn(!1)}}gl(!1)}return Vf(),e!==null&&!Yl?(Cx(e,t,c),ec(e,t,c)):(Tn()&&E&&N1(t),t.flags|=Hf,Kn(e,t,C,c),t.child)}function s4(e,t,n,i,c){if(e===null){var d=n.type;if(PU(d)&&n.compare===null&&n.defaultProps===void 0){var _=d;return _=kd(d),t.tag=ae,t.type=_,e0(t,d),c4(e,t,_,i,c)}{var y=d.propTypes;if(y&&jl(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var C=Hr(d)||"Unknown";xh[C]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),xh[C]=!0)}}var E=z0(n.type,null,i,t,t.mode,c);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,J=A.propTypes;J&&jl(J,i,"prop",Hr(A))}var Q=e.child,ve=i0(e,c);if(!ve){var _e=Q.memoizedProps,xe=n.compare;if(xe=xe!==null?xe:Vp,xe(_e,i)&&e.ref===t.ref)return ec(e,t,c)}t.flags|=Hf;var at=Ju(Q,i);return at.ref=t.ref,at.return=t,t.child=at,at}function c4(e,t,n,i,c){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Ze){var _=d,y=_._payload,C=_._init;try{d=C(y)}catch(J){d=null}var E=d&&d.propTypes;E&&jl(E,i,"prop",Hr(d))}}if(e!==null){var A=e.memoizedProps;if(Vp(A,i)&&e.ref===t.ref&&t.type===e.type)if(Yl=!1,t.pendingProps=i=A,i0(e,c))(e.flags&db)!==zt&&(Yl=!0);else return t.lanes=e.lanes,ec(e,t,c)}return Jy(e,t,n,i,c)}function u4(e,t,n){var i=t.pendingProps,c=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||se)if((t.mode&yr)===Mt){var _={baseLanes:Ie,cachePool:null,transitions:null};t.memoizedState=_,C_(t,n)}else if(zo(n,Io)){var J={baseLanes:Ie,cachePool:null,transitions:null};t.memoizedState=J;var Q=d!==null?d.baseLanes:n;C_(t,Q)}else{var y=null,C;if(d!==null){var E=d.baseLanes;C=ir(E,n)}else C=n;t.lanes=t.childLanes=Io;var A={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,C_(t,C),null}else{var ve;d!==null?(ve=ir(d.baseLanes,n),t.memoizedState=null):ve=n,C_(t,ve)}return Kn(e,t,c,n),t.child}function Tj(e,t,n){var i=t.pendingProps;return Kn(e,t,i,n),t.child}function Ej(e,t,n){var i=t.pendingProps.children;return Kn(e,t,i,n),t.child}function Rj(e,t,n){{t.flags|=Er;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var c=t.pendingProps,d=c.children;return Kn(e,t,d,n),t.child}function f4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Ac,t.flags|=pb)}function Jy(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&jl(d,i,"prop",Hr(n))}var _;{var y=ad(t,n,!0);_=nd(t,y)}var C,E;ud(t,c),wp(t);{if(wh.current=t,gl(!0),C=vd(e,t,n,i,_,c),E=_d(),t.mode&Pa){bn(!0);try{C=vd(e,t,n,i,_,c),E=_d()}finally{bn(!1)}}gl(!1)}return Vf(),e!==null&&!Yl?(Cx(e,t,c),ec(e,t,c)):(Tn()&&E&&N1(t),t.flags|=Hf,Kn(e,t,C,c),t.child)}function d4(e,t,n,i,c){{switch(XU(t)){case!1:{var d=t.stateNode,_=t.type,y=new _(t.memoizedProps,d.context),C=y.state;d.updater.enqueueSetState(d,C,null);break}case!0:{t.flags|=Ir,t.flags|=Gn;var E=new Error("Simulated error coming from DevTools"),A=Rp(c);t.lanes=ir(t.lanes,A);var J=Yy(t,Yu(E,t),A);Z1(t,J);break}}if(t.type!==t.elementType){var Q=n.propTypes;Q&&jl(Q,i,"prop",Hr(n))}}var ve;hs(n)?(ve=!0,wv(t)):ve=!1,ud(t,c);var _e=t.stateNode,xe;_e===null?(d_(e,t),t4(t,n,i),Vy(t,n,i,c),xe=!0):e===null?xe=_j(t,n,i,c):xe=gj(e,t,n,i,c);var at=Zy(e,t,n,xe,ve,c);{var Dt=t.stateNode;xe&&Dt.props!==i&&($u||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rr(t)||"a component"),$u=!0)}return at}function Zy(e,t,n,i,c,d){f4(e,t);var _=(t.flags&Ir)!==zt;if(!i&&!_)return c&&$C(t,n,!1),ec(e,t,d);var y=t.stateNode;wh.current=t;var C;if(_&&typeof n.getDerivedStateFromError!="function")C=null,Xx();else{wp(t);{if(gl(!0),C=y.render(),t.mode&Pa){bn(!0);try{y.render()}finally{bn(!1)}}gl(!1)}Vf()}return t.flags|=Hf,e!==null&&_?kj(e,t,C,d):Kn(e,t,C,d),t.memoizedState=y.state,c&&$C(t,n,!0),t.child}function p4(e){var t=e.stateNode;t.pendingContext?qC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&qC(e,t.context,!1),ey(e,t.containerInfo)}function Dj(e,t,n){if(p4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,c=t.memoizedState,d=c.element;vx(e,t),Fv(t,i,null,n);var _=t.memoizedState,y=t.stateNode,C=_.element;if(c.isDehydrated){var E={element:C,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},A=t.updateQueue;if(A.baseState=E,t.memoizedState=E,t.flags&Hs){var J=Yu(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."),t);return h4(e,t,C,n,J)}else if(C!==d){var Q=Yu(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return h4(e,t,C,n,Q)}else{NF(t);var ve=cx(t,null,C,n);t.child=ve;for(var _e=ve;_e;)_e.flags=_e.flags&~Qa|Us,_e=_e.sibling}}else{if(ld(),C===d)return ec(e,t,n);Kn(e,t,C,n)}return t.child}function h4(e,t,n,i,c){return ld(),B1(c),t.flags|=Hs,Kn(e,t,n,i),t.child}function Aj(e,t,n){yx(t),e===null&&z1(t);var i=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,_=c.children,y=g1(i,c);return y?_=null:d!==null&&g1(i,d)&&(t.flags|=bp),f4(e,t),Kn(e,t,_,n),t.child}function Lj(e,t){return e===null&&z1(t),null}function Nj(e,t,n,i){d_(e,t);var c=t.pendingProps,d=n,_=d._payload,y=d._init,C=y(_);t.type=C;var E=t.tag=IU(C),A=ql(C,c),J;switch(E){case p:return e0(t,C),t.type=C=kd(C),J=Jy(null,t,C,A,i),J;case m:return t.type=C=L0(C),J=d4(null,t,C,A,i),J;case j:return t.type=C=N0(C),J=l4(null,t,C,A,i),J;case O:{if(t.type!==t.elementType){var Q=C.propTypes;Q&&jl(Q,A,"prop",Hr(C))}return J=s4(null,t,C,ql(C.type,A),i),J}}var ve="";throw C!==null&&typeof C=="object"&&C.$$typeof===Ze&&(ve=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+ve))}function Oj(e,t,n,i,c){d_(e,t),t.tag=m;var d;return hs(n)?(d=!0,wv(t)):d=!1,ud(t,c),t4(t,n,i),Vy(t,n,i,c),Zy(null,t,n,!0,d,c)}function Mj(e,t,n,i){d_(e,t);var c=t.pendingProps,d;{var _=ad(t,n,!1);d=nd(t,_)}ud(t,i);var y,C;wp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";$y[E]||(u("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.",E,E),$y[E]=!0)}t.mode&Pa&&Ul.recordLegacyContextWarning(t,null),gl(!0),wh.current=t,y=vd(null,t,n,c,d,i),C=_d(),gl(!1)}if(Vf(),t.flags|=Hf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var A=Hr(n)||"Unknown";Ch[A]||(u("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.",A,A,A),Ch[A]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var J=Hr(n)||"Unknown";Ch[J]||(u("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.",J,J,J),Ch[J]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var Q=!1;return hs(n)?(Q=!0,wv(t)):Q=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,J1(t),e4(t,y),Vy(t,n,c,i),Zy(null,t,n,!0,Q,i)}else{if(t.tag=p,t.mode&Pa){bn(!0);try{y=vd(null,t,n,c,d,i),C=_d()}finally{bn(!1)}}return Tn()&&C&&N1(t),Kn(null,t,y,i),e0(t,n),t.child}}function e0(e,t){{if(t&&t.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",i=Rc();i&&(n+=`
100
+ `+(""+E);console.error(J)}catch(Q){setTimeout(function(){throw Q})}}var yj=typeof WeakMap=="function"?WeakMap:Map;function a4(e,t,n){var i=Zs(ma,n);i.tag=X1,i.payload={element:null};var c=t.value;return i.callback=function(){_U(c),qy(e,t)},i}function Yy(e,t,n){var i=Zs(ma,n);i.tag=X1;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var d=t.value;i.payload=function(){return c(d)},i.callback=function(){mk(e),qy(e,t)}}var _=e.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){mk(e),qy(e,t),typeof c!="function"&&mU(this);var C=t.value,E=t.stack;this.componentDidCatch(C,{componentStack:E!==null?E:""}),typeof c!="function"&&(zo(e.lanes,qt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",rr(e)||"Unknown"))}),i}function n4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new yj,c=new Set,i.set(t,c)):(c=i.get(t),c===void 0&&(c=new Set,i.set(t,c))),!c.has(n)){c.add(n);var d=gU.bind(null,e,t,n);Bl&&Bh(e,n),t.then(d,d)}}function Sj(e,t,n,i){var c=e.updateQueue;if(c===null){var d=new Set;d.add(n),e.updateQueue=d}else c.add(n)}function wj(e,t){var n=e.tag;if((e.mode&yr)===Mt&&(n===p||n===j||n===ae)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function o4(e){var t=e;do{if(t.tag===Z&&rj(t))return t;t=t.return}while(t!==null);return null}function i4(e,t,n,i,c){if((e.mode&yr)===Mt){if(e===t)e.flags|=Gn;else{if(e.flags|=Ir,n.flags|=db,n.flags&=~(tI|yp),n.tag===m){var d=n.alternate;if(d===null)n.tag=ee;else{var _=Zs(ma,qt);_.tag=Pv,Uc(n,_,qt)}}n.lanes=ir(n.lanes,qt)}return e}return e.flags|=Gn,e.lanes=c,e}function Cj(e,t,n,i,c){if(n.flags|=yp,Bl&&Bh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;wj(n),Tn()&&n.mode&yr&&QC();var _=o4(t);if(_!==null){_.flags&=~Hs,i4(_,t,n,e,c),_.mode&yr&&n4(e,d,c),Sj(_,e,d);return}else{if(!qI(c)){n4(e,d,c),T0();return}var y=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.");i=y}}else if(Tn()&&n.mode&yr){QC();var C=o4(t);if(C!==null){(C.flags&Gn)===zt&&(C.flags|=Hs),i4(C,t,n,e,c),B1(Yu(i,n));return}}i=Yu(i,n),lU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=Gn;var J=Rp(c);E.lanes=ir(E.lanes,J);var Q=a4(E,A,J);Z1(E,Q);return}case m:var ve=i,_e=E.type,xe=E.stateNode;if((E.flags&Ir)===zt&&(typeof _e.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!ik(xe))){E.flags|=Gn;var at=Rp(c);E.lanes=ir(E.lanes,at);var Dt=Yy(E,ve,at);Z1(E,Dt);return}break}E=E.return}while(E!==null)}function xj(){return null}var wh=o.ReactCurrentOwner,Yl=!1,$y,Ch,Gy,Ky,Xy,$u,Qy,u_,xh;$y={},Ch={},Gy={},Ky={},Xy={},$u=!1,Qy={},u_={},xh={};function Kn(e,t,n,i){e===null?t.child=cx(t,null,n,i):t.child=sd(t,e.child,n,i)}function kj(e,t,n,i){t.child=sd(t,e.child,null,i),t.child=sd(t,null,n,i)}function l4(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&jl(d,i,"prop",Hr(n))}var _=n.render,y=t.ref,C,E;ud(t,c),wp(t);{if(wh.current=t,gl(!0),C=vd(e,t,_,i,y,c),E=_d(),t.mode&Pa){bn(!0);try{C=vd(e,t,_,i,y,c),E=_d()}finally{bn(!1)}}gl(!1)}return Vf(),e!==null&&!Yl?(Cx(e,t,c),ec(e,t,c)):(Tn()&&E&&N1(t),t.flags|=Hf,Kn(e,t,C,c),t.child)}function s4(e,t,n,i,c){if(e===null){var d=n.type;if(PU(d)&&n.compare===null&&n.defaultProps===void 0){var _=d;return _=kd(d),t.tag=ae,t.type=_,e0(t,d),c4(e,t,_,i,c)}{var y=d.propTypes;if(y&&jl(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var C=Hr(d)||"Unknown";xh[C]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),xh[C]=!0)}}var E=z0(n.type,null,i,t,t.mode,c);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,J=A.propTypes;J&&jl(J,i,"prop",Hr(A))}var Q=e.child,ve=i0(e,c);if(!ve){var _e=Q.memoizedProps,xe=n.compare;if(xe=xe!==null?xe:Vp,xe(_e,i)&&e.ref===t.ref)return ec(e,t,c)}t.flags|=Hf;var at=Ju(Q,i);return at.ref=t.ref,at.return=t,t.child=at,at}function c4(e,t,n,i,c){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Ze){var _=d,y=_._payload,C=_._init;try{d=C(y)}catch(J){d=null}var E=d&&d.propTypes;E&&jl(E,i,"prop",Hr(d))}}if(e!==null){var A=e.memoizedProps;if(Vp(A,i)&&e.ref===t.ref&&t.type===e.type)if(Yl=!1,t.pendingProps=i=A,i0(e,c))(e.flags&db)!==zt&&(Yl=!0);else return t.lanes=e.lanes,ec(e,t,c)}return Jy(e,t,n,i,c)}function u4(e,t,n){var i=t.pendingProps,c=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||se)if((t.mode&yr)===Mt){var _={baseLanes:Ie,cachePool:null,transitions:null};t.memoizedState=_,C_(t,n)}else if(zo(n,Io)){var J={baseLanes:Ie,cachePool:null,transitions:null};t.memoizedState=J;var Q=d!==null?d.baseLanes:n;C_(t,Q)}else{var y=null,C;if(d!==null){var E=d.baseLanes;C=ir(E,n)}else C=n;t.lanes=t.childLanes=Io;var A={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,C_(t,C),null}else{var ve;d!==null?(ve=ir(d.baseLanes,n),t.memoizedState=null):ve=n,C_(t,ve)}return Kn(e,t,c,n),t.child}function Tj(e,t,n){var i=t.pendingProps;return Kn(e,t,i,n),t.child}function Ej(e,t,n){var i=t.pendingProps.children;return Kn(e,t,i,n),t.child}function Rj(e,t,n){{t.flags|=Er;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var c=t.pendingProps,d=c.children;return Kn(e,t,d,n),t.child}function f4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Ac,t.flags|=pb)}function Jy(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&jl(d,i,"prop",Hr(n))}var _;{var y=ad(t,n,!0);_=nd(t,y)}var C,E;ud(t,c),wp(t);{if(wh.current=t,gl(!0),C=vd(e,t,n,i,_,c),E=_d(),t.mode&Pa){bn(!0);try{C=vd(e,t,n,i,_,c),E=_d()}finally{bn(!1)}}gl(!1)}return Vf(),e!==null&&!Yl?(Cx(e,t,c),ec(e,t,c)):(Tn()&&E&&N1(t),t.flags|=Hf,Kn(e,t,C,c),t.child)}function d4(e,t,n,i,c){{switch(XU(t)){case!1:{var d=t.stateNode,_=t.type,y=new _(t.memoizedProps,d.context),C=y.state;d.updater.enqueueSetState(d,C,null);break}case!0:{t.flags|=Ir,t.flags|=Gn;var E=new Error("Simulated error coming from DevTools"),A=Rp(c);t.lanes=ir(t.lanes,A);var J=Yy(t,Yu(E,t),A);Z1(t,J);break}}if(t.type!==t.elementType){var Q=n.propTypes;Q&&jl(Q,i,"prop",Hr(n))}}var ve;ms(n)?(ve=!0,wv(t)):ve=!1,ud(t,c);var _e=t.stateNode,xe;_e===null?(d_(e,t),t4(t,n,i),Vy(t,n,i,c),xe=!0):e===null?xe=_j(t,n,i,c):xe=gj(e,t,n,i,c);var at=Zy(e,t,n,xe,ve,c);{var Dt=t.stateNode;xe&&Dt.props!==i&&($u||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rr(t)||"a component"),$u=!0)}return at}function Zy(e,t,n,i,c,d){f4(e,t);var _=(t.flags&Ir)!==zt;if(!i&&!_)return c&&$C(t,n,!1),ec(e,t,d);var y=t.stateNode;wh.current=t;var C;if(_&&typeof n.getDerivedStateFromError!="function")C=null,Xx();else{wp(t);{if(gl(!0),C=y.render(),t.mode&Pa){bn(!0);try{y.render()}finally{bn(!1)}}gl(!1)}Vf()}return t.flags|=Hf,e!==null&&_?kj(e,t,C,d):Kn(e,t,C,d),t.memoizedState=y.state,c&&$C(t,n,!0),t.child}function p4(e){var t=e.stateNode;t.pendingContext?qC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&qC(e,t.context,!1),ey(e,t.containerInfo)}function Dj(e,t,n){if(p4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,c=t.memoizedState,d=c.element;vx(e,t),Fv(t,i,null,n);var _=t.memoizedState,y=t.stateNode,C=_.element;if(c.isDehydrated){var E={element:C,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},A=t.updateQueue;if(A.baseState=E,t.memoizedState=E,t.flags&Hs){var J=Yu(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."),t);return h4(e,t,C,n,J)}else if(C!==d){var Q=Yu(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return h4(e,t,C,n,Q)}else{NF(t);var ve=cx(t,null,C,n);t.child=ve;for(var _e=ve;_e;)_e.flags=_e.flags&~Ja|Us,_e=_e.sibling}}else{if(ld(),C===d)return ec(e,t,n);Kn(e,t,C,n)}return t.child}function h4(e,t,n,i,c){return ld(),B1(c),t.flags|=Hs,Kn(e,t,n,i),t.child}function Aj(e,t,n){yx(t),e===null&&z1(t);var i=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,_=c.children,y=g1(i,c);return y?_=null:d!==null&&g1(i,d)&&(t.flags|=bp),f4(e,t),Kn(e,t,_,n),t.child}function Lj(e,t){return e===null&&z1(t),null}function Nj(e,t,n,i){d_(e,t);var c=t.pendingProps,d=n,_=d._payload,y=d._init,C=y(_);t.type=C;var E=t.tag=IU(C),A=ql(C,c),J;switch(E){case p:return e0(t,C),t.type=C=kd(C),J=Jy(null,t,C,A,i),J;case m:return t.type=C=L0(C),J=d4(null,t,C,A,i),J;case j:return t.type=C=N0(C),J=l4(null,t,C,A,i),J;case O:{if(t.type!==t.elementType){var Q=C.propTypes;Q&&jl(Q,A,"prop",Hr(C))}return J=s4(null,t,C,ql(C.type,A),i),J}}var ve="";throw C!==null&&typeof C=="object"&&C.$$typeof===Ze&&(ve=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+ve))}function Oj(e,t,n,i,c){d_(e,t),t.tag=m;var d;return ms(n)?(d=!0,wv(t)):d=!1,ud(t,c),t4(t,n,i),Vy(t,n,i,c),Zy(null,t,n,!0,d,c)}function Mj(e,t,n,i){d_(e,t);var c=t.pendingProps,d;{var _=ad(t,n,!1);d=nd(t,_)}ud(t,i);var y,C;wp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";$y[E]||(u("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.",E,E),$y[E]=!0)}t.mode&Pa&&Ul.recordLegacyContextWarning(t,null),gl(!0),wh.current=t,y=vd(null,t,n,c,d,i),C=_d(),gl(!1)}if(Vf(),t.flags|=Hf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var A=Hr(n)||"Unknown";Ch[A]||(u("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.",A,A,A),Ch[A]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var J=Hr(n)||"Unknown";Ch[J]||(u("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.",J,J,J),Ch[J]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var Q=!1;return ms(n)?(Q=!0,wv(t)):Q=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,J1(t),e4(t,y),Vy(t,n,c,i),Zy(null,t,n,!0,Q,i)}else{if(t.tag=p,t.mode&Pa){bn(!0);try{y=vd(null,t,n,c,d,i),C=_d()}finally{bn(!1)}}return Tn()&&C&&N1(t),Kn(null,t,y,i),e0(t,n),t.child}}function e0(e,t){{if(t&&t.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",i=Rc();i&&(n+=`
101
101
 
102
- Check the render method of \``+i+"`.");var c=i||"",d=e._debugSource;d&&(c=d.fileName+":"+d.lineNumber),Xy[c]||(Xy[c]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var _=Hr(t)||"Unknown";xh[_]||(u("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",_),xh[_]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";Ky[y]||(u("%s: Function components do not support getDerivedStateFromProps.",y),Ky[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Hr(t)||"Unknown";Gy[C]||(u("%s: Function components do not support contextType.",C),Gy[C]=!0)}}}var t0={dehydrated:null,treeContext:null,retryLane:yn};function r0(e){return{baseLanes:e,cachePool:xj(),transitions:null}}function Pj(e,t){var n=null;return{baseLanes:ir(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Ij(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return ay(e,ph)}function zj(e,t){return qm(e.childLanes,t)}function m4(e,t,n){var i=t.pendingProps;QU(t)&&(t.flags|=Ir);var c=Vl.current,d=!1,_=(t.flags&Ir)!==zt;if(_||Ij(c,e)?(d=!0,t.flags&=~Ir):(e===null||e.memoizedState!==null)&&(c=tj(c,wx)),c=dd(c),Wc(t,c),e===null){z1(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return Uj(t,C)}var E=i.children,A=i.fallback;if(d){var J=Bj(t,E,A,n),Q=t.child;return Q.memoizedState=r0(n),t.memoizedState=t0,J}else return a0(t,E)}else{var ve=e.memoizedState;if(ve!==null){var _e=ve.dehydrated;if(_e!==null)return Vj(e,t,_,i,_e,ve,n)}if(d){var xe=i.fallback,at=i.children,Dt=jj(e,t,at,xe,n),St=t.child,hr=e.child.memoizedState;return St.memoizedState=hr===null?r0(n):Pj(hr,n),St.childLanes=zj(e,n),t.memoizedState=t0,Dt}else{var mr=i.children,ue=Fj(e,t,mr,n);return t.memoizedState=null,ue}}}function a0(e,t,n){var i=e.mode,c={mode:"visible",children:t},d=n0(c,i);return d.return=e,e.child=d,d}function Bj(e,t,n,i){var c=e.mode,d=e.child,_={mode:"hidden",children:t},y,C;return(c&yr)===Mt&&d!==null?(y=d,y.childLanes=Ie,y.pendingProps=_,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Jc(n,c,i,null)):(y=n0(_,c),C=Jc(n,c,i,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function n0(e,t,n){return _k(e,t,Ie,null)}function v4(e,t){return Ju(e,t)}function Fj(e,t,n,i){var c=e.child,d=c.sibling,_=v4(c,{mode:"visible",children:n});if((t.mode&yr)===Mt&&(_.lanes=i),_.return=t,_.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=xu):y.push(d)}return t.child=_,_}function jj(e,t,n,i,c){var d=t.mode,_=e.child,y=_.sibling,C={mode:"hidden",children:n},E;if((d&yr)===Mt&&t.child!==_){var A=t.child;E=A,E.childLanes=Ie,E.pendingProps=C,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=_.selfBaseDuration,E.treeBaseDuration=_.treeBaseDuration),t.deletions=null}else E=v4(_,C),E.subtreeFlags=_.subtreeFlags&Ws;var J;return y!==null?J=Ju(y,i):(J=Jc(i,d,c,null),J.flags|=Qa),J.return=t,E.return=t,E.sibling=J,t.child=E,J}function f_(e,t,n,i){i!==null&&B1(i),sd(t,e.child,null,n);var c=t.pendingProps,d=c.children,_=a0(t,d);return _.flags|=Qa,t.memoizedState=null,_}function Hj(e,t,n,i,c){var d=t.mode,_={mode:"visible",children:n},y=n0(_,d),C=Jc(i,d,c,null);return C.flags|=Qa,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&yr)!==Mt&&sd(t,e.child,null,c),C}function Uj(e,t,n){return(e.mode&yr)===Mt?(u("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."),e.lanes=qt):w1(t)?e.lanes=Lu:e.lanes=Io,null}function Vj(e,t,n,i,c,d,_){if(n)if(t.flags&Hs){t.flags&=~Hs;var ue=Wy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return f_(e,t,_,ue)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ir,null;var De=i.children,fe=i.fallback,qe=Hj(e,t,De,fe,_),ut=t.child;return ut.memoizedState=r0(_),t.memoizedState=t0,qe}else{if(AF(),(t.mode&yr)===Mt)return f_(e,t,_,null);if(w1(c)){var y,C,E;{var A=$9(c);y=A.digest,C=A.message,E=A.stack}var J;C?J=new Error(C):J=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=Wy(J,y,E);return f_(e,t,_,Q)}var ve=zo(_,e.childLanes);if(Yl||ve){var _e=w_();if(_e!==null){var xe=ZI(_e,_);if(xe!==yn&&xe!==d.retryLane){d.retryLane=xe;var at=ma;yo(e,xe),dn(_e,e,xe,at)}}T0();var Dt=Wy(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 f_(e,t,_,Dt)}else if(FC(c)){t.flags|=Ir,t.child=e.child;var St=bU.bind(null,e);return G9(c,St),null}else{OF(t,c,d.treeContext);var hr=i.children,mr=a0(t,hr);return mr.flags|=Us,mr}}}function _4(e,t,n){e.lanes=ir(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ir(i.lanes,t)),G1(e.return,t,n)}function Wj(e,t,n){for(var i=t;i!==null;){if(i.tag===Z){var c=i.memoizedState;c!==null&&_4(i,n,e)}else if(i.tag===be)_4(i,n,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function qj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Vv(i)===null&&(n=t),t=t.sibling}return n}function Yj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Qy[e])if(Qy[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function $j(e,t){e!==void 0&&!u_[e]&&(e!=="collapsed"&&e!=="hidden"?(u_[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(u_[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function g4(e,t){{var n=an(e),i=!n&&typeof Ka(e)=="function";if(n||i){var c=n?"array":"iterable";return u("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>",c,t,c),!1}}return!0}function Gj(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(an(e)){for(var n=0;n<e.length;n++)if(!g4(e[n],n))return}else{var i=Ka(e);if(typeof i=="function"){var c=i.call(e);if(c)for(var d=c.next(),_=0;!d.done;d=c.next()){if(!g4(d.value,_))return;_++}}else u('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?',t)}}function o0(e,t,n,i,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=c)}function b4(e,t,n){var i=t.pendingProps,c=i.revealOrder,d=i.tail,_=i.children;Yj(c),$j(d,c),Gj(_,c),Kn(e,t,_,n);var y=Vl.current,C=ay(y,ph);if(C)y=ny(y,ph),t.flags|=Ir;else{var E=e!==null&&(e.flags&Ir)!==zt;E&&Wj(t,t.child,n),y=dd(y)}if(Wc(t,y),(t.mode&yr)===Mt)t.memoizedState=null;else switch(c){case"forwards":{var A=qj(t.child),J;A===null?(J=t.child,t.child=null):(J=A.sibling,A.sibling=null),o0(t,!1,J,A,d);break}case"backwards":{var Q=null,ve=t.child;for(t.child=null;ve!==null;){var _e=ve.alternate;if(_e!==null&&Vv(_e)===null){t.child=ve;break}var xe=ve.sibling;ve.sibling=Q,Q=ve,ve=xe}o0(t,!0,Q,null,d);break}case"together":{o0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Kj(e,t,n){ey(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=sd(t,null,i,n):Kn(e,t,i,n),t.child}var y4=!1;function Xj(e,t,n){var i=t.type,c=i._context,d=t.pendingProps,_=t.memoizedProps,y=d.value;{"value"in d||y4||(y4=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&jl(C,d,"prop","Context.Provider")}if(dx(t,c,y),_!==null){var E=_.value;if(jo(E,y)){if(_.children===d.children&&!yv())return ec(e,t,n)}else YF(t,c,n)}var A=d.children;return Kn(e,t,A,n),t.child}var S4=!1;function Qj(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(S4||(S4=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var c=t.pendingProps,d=c.children;typeof d!="function"&&u("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."),ud(t,n);var _=Ja(i);wp(t);var y;return wh.current=t,gl(!0),y=d(_),gl(!1),Vf(),t.flags|=Hf,Kn(e,t,y,n),t.child}function kh(){Yl=!0}function d_(e,t){(t.mode&yr)===Mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Qa)}function ec(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Xx(),zh(t.lanes),zo(n,t.childLanes)?(WF(e,t),t.child):null}function Jj(e,t,n){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===i.child)i.child=n;else{var c=i.child;if(c===null)throw new Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw new Error("Expected to find the previous sibling.");c.sibling=n}var d=i.deletions;return d===null?(i.deletions=[e],i.flags|=xu):d.push(e),n.flags|=Qa,n}}function i0(e,t){var n=e.lanes;return!!zo(n,t)}function Zj(e,t,n){switch(t.tag){case b:p4(t);var i=t.stateNode;ld();break;case w:yx(t);break;case m:{var c=t.type;hs(c)&&wv(t);break}case S:ey(t,t.stateNode.containerInfo);break;case M:{var d=t.memoizedProps.value,_=t.type._context;dx(t,_,d);break}case F:{var y=zo(n,t.childLanes);y&&(t.flags|=Er);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case Z:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return Wc(t,dd(Vl.current)),t.flags|=Ir,null;var A=t.child,J=A.childLanes;if(zo(n,J))return m4(e,t,n);Wc(t,dd(Vl.current));var Q=ec(e,t,n);return Q!==null?Q.sibling:null}else Wc(t,dd(Vl.current));break}case be:{var ve=(e.flags&Ir)!==zt,_e=zo(n,t.childLanes);if(ve){if(_e)return b4(e,t,n);t.flags|=Ir}var xe=t.memoizedState;if(xe!==null&&(xe.rendering=null,xe.tail=null,xe.lastEffect=null),Wc(t,Vl.current),_e)break;return null}case H:case le:return t.lanes=Ie,u4(e,t,n)}return ec(e,t,n)}function w4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Jj(e,t,z0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,c=t.pendingProps;if(i!==c||yv()||t.type!==e.type)Yl=!0;else{var d=i0(e,n);if(!d&&(t.flags&Ir)===zt)return Yl=!1,Zj(e,t,n);(e.flags&db)!==zt?Yl=!0:Yl=!1}}else if(Yl=!1,Tn()&&xF(t)){var _=t.index,y=kF();XC(t,y,_)}switch(t.lanes=Ie,t.tag){case g:return Mj(e,t,t.type,n);case ge:{var C=t.elementType;return Nj(e,t,C,n)}case p:{var E=t.type,A=t.pendingProps,J=t.elementType===E?A:ql(E,A);return Jy(e,t,E,J,n)}case m:{var Q=t.type,ve=t.pendingProps,_e=t.elementType===Q?ve:ql(Q,ve);return d4(e,t,Q,_e,n)}case b:return Dj(e,t,n);case w:return Aj(e,t,n);case k:return Lj(e,t);case Z:return m4(e,t,n);case S:return Kj(e,t,n);case j:{var xe=t.type,at=t.pendingProps,Dt=t.elementType===xe?at:ql(xe,at);return l4(e,t,xe,Dt,n)}case L:return Tj(e,t,n);case N:return Ej(e,t,n);case F:return Rj(e,t,n);case M:return Xj(e,t,n);case Y:return Qj(e,t,n);case O:{var St=t.type,hr=t.pendingProps,mr=ql(St,hr);if(t.type!==t.elementType){var ue=St.propTypes;ue&&jl(ue,mr,"prop",Hr(St))}return mr=ql(St.type,mr),s4(e,t,St,mr,n)}case ae:return c4(e,t,t.type,t.pendingProps,n);case ee:{var De=t.type,fe=t.pendingProps,qe=t.elementType===De?fe:ql(De,fe);return Oj(e,t,De,qe,n)}case be:return b4(e,t,n);case he:break;case H:return u4(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function gd(e){e.flags|=Er}function C4(e){e.flags|=Ac,e.flags|=pb}var x4,l0,k4,T4;x4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===w||c.tag===k)S9(e,c.stateNode);else if(c.tag!==S){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},l0=function(e,t){},k4=function(e,t,n,i,c){var d=e.memoizedProps;if(d!==i){var _=t.stateNode,y=ty(),C=C9(_,n,d,i,c,y);t.updateQueue=C,C&&gd(t)}},T4=function(e,t,n,i){n!==i&&gd(t)};function Th(e,t){if(!Tn())switch(e.tailMode){case"hidden":{for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var c=e.tail,d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function Rn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=Ie,i=zt;if(t){if((e.mode&Kr)!==Mt){for(var C=e.selfBaseDuration,E=e.child;E!==null;)n=ir(n,ir(E.lanes,E.childLanes)),i|=E.subtreeFlags&Ws,i|=E.flags&Ws,C+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=C}else for(var A=e.child;A!==null;)n=ir(n,ir(A.lanes,A.childLanes)),i|=A.subtreeFlags&Ws,i|=A.flags&Ws,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Mt){for(var c=e.actualDuration,d=e.selfBaseDuration,_=e.child;_!==null;)n=ir(n,ir(_.lanes,_.childLanes)),i|=_.subtreeFlags,i|=_.flags,c+=_.actualDuration,d+=_.treeBaseDuration,_=_.sibling;e.actualDuration=c,e.treeBaseDuration=d}else for(var y=e.child;y!==null;)n=ir(n,ir(y.lanes,y.childLanes)),i|=y.subtreeFlags,i|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function eH(e,t,n){if(BF()&&(t.mode&yr)!==Mt&&(t.flags&Ir)===zt)return ax(t),ld(),t.flags|=Hs|yp|Gn,!1;var i=Ev(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(IF(t),Rn(t),(t.mode&Kr)!==Mt){var c=n!==null;if(c){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(ld(),(t.flags&Ir)===zt&&(t.memoizedState=null),t.flags|=Er,Rn(t),(t.mode&Kr)!==Mt){var _=n!==null;if(_){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return nx(),!0}function E4(e,t,n){var i=t.pendingProps;switch(O1(t),t.tag){case g:case ge:case ae:case p:case j:case L:case N:case F:case Y:case O:return Rn(t),null;case m:{var c=t.type;return hs(c)&&Sv(t),Rn(t),null}case b:{var d=t.stateNode;if(fd(t),D1(t),iy(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var _=Ev(t);if(_)gd(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Hs)!==zt)&&(t.flags|=ku,nx())}}return l0(e,t),Rn(t),null}case w:{ry(t);var C=bx(),E=t.type;if(e!==null&&t.stateNode!=null)k4(e,t,E,i,C),e.ref!==t.ref&&C4(t);else{if(!i){if(t.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 Rn(t),null}var A=ty(),J=Ev(t);if(J)MF(t,C,A)&&gd(t);else{var Q=y9(E,i,C,A,t);x4(Q,t,!1,!1),t.stateNode=Q,w9(Q,E,i,C)&&gd(t)}t.ref!==null&&C4(t)}return Rn(t),null}case k:{var ve=i;if(e&&t.stateNode!=null){var _e=e.memoizedProps;T4(e,t,_e,ve)}else{if(typeof ve!="string"&&t.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 xe=bx(),at=ty(),Dt=Ev(t);Dt?PF(t)&&gd(t):t.stateNode=x9(ve,xe,at,t)}return Rn(t),null}case Z:{pd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var hr=eH(e,t,St);if(!hr)return t.flags&Gn?t:null}if((t.flags&Ir)!==zt)return t.lanes=n,(t.mode&Kr)!==Mt&&Ly(t),t;var mr=St!==null,ue=e!==null&&e.memoizedState!==null;if(mr!==ue&&mr){var De=t.child;if(De.flags|=Tu,(t.mode&yr)!==Mt){var fe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!we);fe||ay(Vl.current,wx)?iU():T0()}}var qe=t.updateQueue;if(qe!==null&&(t.flags|=Er),Rn(t),(t.mode&Kr)!==Mt&&mr){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case S:return fd(t),l0(e,t),e===null&&_F(t.stateNode.containerInfo),Rn(t),null;case M:var nt=t.type._context;return $1(nt,t),Rn(t),null;case ee:{var Ht=t.type;return hs(Ht)&&Sv(t),Rn(t),null}case be:{pd(t);var Kt=t.memoizedState;if(Kt===null)return Rn(t),null;var Qr=(t.flags&Ir)!==zt,Lr=Kt.rendering;if(Lr===null)if(Qr)Th(Kt,!1);else{var Va=sU()&&(e===null||(e.flags&Ir)===zt);if(!Va)for(var Nr=t.child;Nr!==null;){var Ia=Vv(Nr);if(Ia!==null){Qr=!0,t.flags|=Ir,Th(Kt,!1);var jn=Ia.updateQueue;return jn!==null&&(t.updateQueue=jn,t.flags|=Er),t.subtreeFlags=zt,qF(t,n),Wc(t,ny(Vl.current,ph)),t.child}Nr=Nr.sibling}Kt.tail!==null&&gn()>K4()&&(t.flags|=Ir,Qr=!0,Th(Kt,!1),t.lanes=T3)}else{if(!Qr){var On=Vv(Lr);if(On!==null){t.flags|=Ir,Qr=!0;var Vo=On.updateQueue;if(Vo!==null&&(t.updateQueue=Vo,t.flags|=Er),Th(Kt,!0),Kt.tail===null&&Kt.tailMode==="hidden"&&!Lr.alternate&&!Tn())return Rn(t),null}else gn()*2-Kt.renderingStartTime>K4()&&n!==Io&&(t.flags|=Ir,Qr=!0,Th(Kt,!1),t.lanes=T3)}if(Kt.isBackwards)Lr.sibling=t.child,t.child=Lr;else{var Jn=Kt.last;Jn!==null?Jn.sibling=Lr:t.child=Lr,Kt.last=Lr}}if(Kt.tail!==null){var Zn=Kt.tail;Kt.rendering=Zn,Kt.tail=Zn.sibling,Kt.renderingStartTime=gn(),Zn.sibling=null;var Hn=Vl.current;return Qr?Hn=ny(Hn,ph):Hn=dd(Hn),Wc(t,Hn),Zn}return Rn(t),null}case he:break;case H:case le:{k0(t);var oc=t.memoizedState,Td=oc!==null;if(e!==null){var Uh=e.memoizedState,ws=Uh!==null;ws!==Td&&!se&&(t.flags|=Tu)}return!Td||(t.mode&yr)===Mt?Rn(t):zo(Ss,Io)&&(Rn(t),t.subtreeFlags&(Qa|Er)&&(t.flags|=Tu)),null}case de:return null;case B:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function tH(e,t,n){switch(O1(t),t.tag){case m:{var i=t.type;hs(i)&&Sv(t);var c=t.flags;return c&Gn?(t.flags=c&~Gn|Ir,(t.mode&Kr)!==Mt&&Ly(t),t):null}case b:{var d=t.stateNode;fd(t),D1(t),iy();var _=t.flags;return(_&Gn)!==zt&&(_&Ir)===zt?(t.flags=_&~Gn|Ir,t):null}case w:return ry(t),null;case Z:{pd(t);var y=t.memoizedState;if(y!==null&&y.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ld()}var C=t.flags;return C&Gn?(t.flags=C&~Gn|Ir,(t.mode&Kr)!==Mt&&Ly(t),t):null}case be:return pd(t),null;case S:return fd(t),null;case M:var E=t.type._context;return $1(E,t),null;case H:case le:return k0(t),null;case de:return null;default:return null}}function R4(e,t,n){switch(O1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&Sv(t);break}case b:{var c=t.stateNode;fd(t),D1(t),iy();break}case w:{ry(t);break}case S:fd(t);break;case Z:pd(t);break;case be:pd(t);break;case M:var d=t.type._context;$1(d,t);break;case H:case le:k0(t);break}}var D4=null;D4=new Set;var p_=!1,Dn=!1,rH=typeof WeakSet=="function"?WeakSet:Set,_t=null,bd=null,yd=null;function aH(e){cb(null,function(){throw e}),ub()}var nH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Kr)try{bs(),t.componentWillUnmount()}finally{gs(e)}else t.componentWillUnmount()};function A4(e,t){try{$c(on,e)}catch(n){ua(e,t,n)}}function s0(e,t,n){try{nH(e,n)}catch(i){ua(e,t,i)}}function oH(e,t,n){try{n.componentDidMount()}catch(i){ua(e,t,i)}}function L4(e,t){try{M4(e)}catch(n){ua(e,t,n)}}function Sd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(rt&&et&&e.mode&Kr)try{bs(),i=n(null)}finally{gs(e)}else i=n(null)}catch(c){ua(e,t,c)}typeof i=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rr(e))}else n.current=null}function h_(e,t,n){try{n()}catch(i){ua(e,t,i)}}var N4=null,O4=!1;function iH(e,t){N4=g9(e.containerInfo),_t=t,lH();var n=O4;return O4=!1,N4=null,n}function lH(){for(;_t!==null;){var e=_t,t=e.child;(e.subtreeFlags&mb)!==zt&&t!==null?(t.return=e,_t=t):sH()}}function sH(){for(;_t!==null;){var e=_t;xa(e);try{cH(e)}catch(n){ua(e,e.return,n)}_n();var t=e.sibling;if(t!==null){t.return=e.return,_t=t;return}_t=e.return}}function cH(e){var t=e.alternate,n=e.flags;if((n&ku)!==zt){switch(xa(e),e.tag){case p:case j:case ae:break;case m:{if(t!==null){var i=t.memoizedProps,c=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!$u&&(d.props!==e.memoizedProps&&u("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.",rr(e)||"instance"),d.state!==e.memoizedState&&u("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.",rr(e)||"instance"));var _=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:ql(e.type,i),c);{var y=D4;_===void 0&&!y.has(e.type)&&(y.add(e.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",rr(e)))}d.__reactInternalSnapshotBeforeUpdate=_}break}case b:{{var C=e.stateNode;V9(C.containerInfo)}break}case w:case k:case S:case ee: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.")}_n()}}function $l(e,t,n){var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var d=c.next,_=d;do{if((_.tag&e)===e){var y=_.destroy;_.destroy=void 0,y!==void 0&&((e&En)!==So?xI(t):(e&on)!==So&&S3(t),(e&ms)!==So&&Fh(!0),h_(t,n,y),(e&ms)!==So&&Fh(!1),(e&En)!==So?kI():(e&on)!==So&&w3())}_=_.next}while(_!==d)}}function $c(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var c=i.next,d=c;do{if((d.tag&e)===e){(e&En)!==So?wI(t):(e&on)!==So&&TI(t);var _=d.create;(e&ms)!==So&&Fh(!0),d.destroy=_(),(e&ms)!==So&&Fh(!1),(e&En)!==So?CI():(e&on)!==So&&EI();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(d.tag&on)!==zt?C="useLayoutEffect":(d.tag&ms)!==zt?C="useInsertionEffect":C="useEffect";var E=void 0;y===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?E=`
102
+ Check the render method of \``+i+"`.");var c=i||"",d=e._debugSource;d&&(c=d.fileName+":"+d.lineNumber),Xy[c]||(Xy[c]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var _=Hr(t)||"Unknown";xh[_]||(u("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",_),xh[_]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";Ky[y]||(u("%s: Function components do not support getDerivedStateFromProps.",y),Ky[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Hr(t)||"Unknown";Gy[C]||(u("%s: Function components do not support contextType.",C),Gy[C]=!0)}}}var t0={dehydrated:null,treeContext:null,retryLane:yn};function r0(e){return{baseLanes:e,cachePool:xj(),transitions:null}}function Pj(e,t){var n=null;return{baseLanes:ir(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Ij(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return ay(e,ph)}function zj(e,t){return qm(e.childLanes,t)}function m4(e,t,n){var i=t.pendingProps;QU(t)&&(t.flags|=Ir);var c=Vl.current,d=!1,_=(t.flags&Ir)!==zt;if(_||Ij(c,e)?(d=!0,t.flags&=~Ir):(e===null||e.memoizedState!==null)&&(c=tj(c,wx)),c=dd(c),Wc(t,c),e===null){z1(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return Uj(t,C)}var E=i.children,A=i.fallback;if(d){var J=Bj(t,E,A,n),Q=t.child;return Q.memoizedState=r0(n),t.memoizedState=t0,J}else return a0(t,E)}else{var ve=e.memoizedState;if(ve!==null){var _e=ve.dehydrated;if(_e!==null)return Vj(e,t,_,i,_e,ve,n)}if(d){var xe=i.fallback,at=i.children,Dt=jj(e,t,at,xe,n),St=t.child,hr=e.child.memoizedState;return St.memoizedState=hr===null?r0(n):Pj(hr,n),St.childLanes=zj(e,n),t.memoizedState=t0,Dt}else{var mr=i.children,ue=Fj(e,t,mr,n);return t.memoizedState=null,ue}}}function a0(e,t,n){var i=e.mode,c={mode:"visible",children:t},d=n0(c,i);return d.return=e,e.child=d,d}function Bj(e,t,n,i){var c=e.mode,d=e.child,_={mode:"hidden",children:t},y,C;return(c&yr)===Mt&&d!==null?(y=d,y.childLanes=Ie,y.pendingProps=_,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Jc(n,c,i,null)):(y=n0(_,c),C=Jc(n,c,i,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function n0(e,t,n){return _k(e,t,Ie,null)}function v4(e,t){return Ju(e,t)}function Fj(e,t,n,i){var c=e.child,d=c.sibling,_=v4(c,{mode:"visible",children:n});if((t.mode&yr)===Mt&&(_.lanes=i),_.return=t,_.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=xu):y.push(d)}return t.child=_,_}function jj(e,t,n,i,c){var d=t.mode,_=e.child,y=_.sibling,C={mode:"hidden",children:n},E;if((d&yr)===Mt&&t.child!==_){var A=t.child;E=A,E.childLanes=Ie,E.pendingProps=C,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=_.selfBaseDuration,E.treeBaseDuration=_.treeBaseDuration),t.deletions=null}else E=v4(_,C),E.subtreeFlags=_.subtreeFlags&Ws;var J;return y!==null?J=Ju(y,i):(J=Jc(i,d,c,null),J.flags|=Ja),J.return=t,E.return=t,E.sibling=J,t.child=E,J}function f_(e,t,n,i){i!==null&&B1(i),sd(t,e.child,null,n);var c=t.pendingProps,d=c.children,_=a0(t,d);return _.flags|=Ja,t.memoizedState=null,_}function Hj(e,t,n,i,c){var d=t.mode,_={mode:"visible",children:n},y=n0(_,d),C=Jc(i,d,c,null);return C.flags|=Ja,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&yr)!==Mt&&sd(t,e.child,null,c),C}function Uj(e,t,n){return(e.mode&yr)===Mt?(u("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."),e.lanes=qt):w1(t)?e.lanes=Lu:e.lanes=Io,null}function Vj(e,t,n,i,c,d,_){if(n)if(t.flags&Hs){t.flags&=~Hs;var ue=Wy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return f_(e,t,_,ue)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ir,null;var De=i.children,fe=i.fallback,qe=Hj(e,t,De,fe,_),ut=t.child;return ut.memoizedState=r0(_),t.memoizedState=t0,qe}else{if(AF(),(t.mode&yr)===Mt)return f_(e,t,_,null);if(w1(c)){var y,C,E;{var A=$9(c);y=A.digest,C=A.message,E=A.stack}var J;C?J=new Error(C):J=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=Wy(J,y,E);return f_(e,t,_,Q)}var ve=zo(_,e.childLanes);if(Yl||ve){var _e=w_();if(_e!==null){var xe=ZI(_e,_);if(xe!==yn&&xe!==d.retryLane){d.retryLane=xe;var at=ma;yo(e,xe),dn(_e,e,xe,at)}}T0();var Dt=Wy(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 f_(e,t,_,Dt)}else if(FC(c)){t.flags|=Ir,t.child=e.child;var St=bU.bind(null,e);return G9(c,St),null}else{OF(t,c,d.treeContext);var hr=i.children,mr=a0(t,hr);return mr.flags|=Us,mr}}}function _4(e,t,n){e.lanes=ir(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ir(i.lanes,t)),G1(e.return,t,n)}function Wj(e,t,n){for(var i=t;i!==null;){if(i.tag===Z){var c=i.memoizedState;c!==null&&_4(i,n,e)}else if(i.tag===be)_4(i,n,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function qj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Vv(i)===null&&(n=t),t=t.sibling}return n}function Yj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Qy[e])if(Qy[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function $j(e,t){e!==void 0&&!u_[e]&&(e!=="collapsed"&&e!=="hidden"?(u_[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(u_[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function g4(e,t){{var n=an(e),i=!n&&typeof Xa(e)=="function";if(n||i){var c=n?"array":"iterable";return u("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>",c,t,c),!1}}return!0}function Gj(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(an(e)){for(var n=0;n<e.length;n++)if(!g4(e[n],n))return}else{var i=Xa(e);if(typeof i=="function"){var c=i.call(e);if(c)for(var d=c.next(),_=0;!d.done;d=c.next()){if(!g4(d.value,_))return;_++}}else u('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?',t)}}function o0(e,t,n,i,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=c)}function b4(e,t,n){var i=t.pendingProps,c=i.revealOrder,d=i.tail,_=i.children;Yj(c),$j(d,c),Gj(_,c),Kn(e,t,_,n);var y=Vl.current,C=ay(y,ph);if(C)y=ny(y,ph),t.flags|=Ir;else{var E=e!==null&&(e.flags&Ir)!==zt;E&&Wj(t,t.child,n),y=dd(y)}if(Wc(t,y),(t.mode&yr)===Mt)t.memoizedState=null;else switch(c){case"forwards":{var A=qj(t.child),J;A===null?(J=t.child,t.child=null):(J=A.sibling,A.sibling=null),o0(t,!1,J,A,d);break}case"backwards":{var Q=null,ve=t.child;for(t.child=null;ve!==null;){var _e=ve.alternate;if(_e!==null&&Vv(_e)===null){t.child=ve;break}var xe=ve.sibling;ve.sibling=Q,Q=ve,ve=xe}o0(t,!0,Q,null,d);break}case"together":{o0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Kj(e,t,n){ey(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=sd(t,null,i,n):Kn(e,t,i,n),t.child}var y4=!1;function Xj(e,t,n){var i=t.type,c=i._context,d=t.pendingProps,_=t.memoizedProps,y=d.value;{"value"in d||y4||(y4=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&jl(C,d,"prop","Context.Provider")}if(dx(t,c,y),_!==null){var E=_.value;if(jo(E,y)){if(_.children===d.children&&!yv())return ec(e,t,n)}else YF(t,c,n)}var A=d.children;return Kn(e,t,A,n),t.child}var S4=!1;function Qj(e,t,n){var i=t.type;i._context===void 0?i!==i.Consumer&&(S4||(S4=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var c=t.pendingProps,d=c.children;typeof d!="function"&&u("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."),ud(t,n);var _=Za(i);wp(t);var y;return wh.current=t,gl(!0),y=d(_),gl(!1),Vf(),t.flags|=Hf,Kn(e,t,y,n),t.child}function kh(){Yl=!0}function d_(e,t){(t.mode&yr)===Mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ja)}function ec(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Xx(),zh(t.lanes),zo(n,t.childLanes)?(WF(e,t),t.child):null}function Jj(e,t,n){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===i.child)i.child=n;else{var c=i.child;if(c===null)throw new Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw new Error("Expected to find the previous sibling.");c.sibling=n}var d=i.deletions;return d===null?(i.deletions=[e],i.flags|=xu):d.push(e),n.flags|=Ja,n}}function i0(e,t){var n=e.lanes;return!!zo(n,t)}function Zj(e,t,n){switch(t.tag){case b:p4(t);var i=t.stateNode;ld();break;case w:yx(t);break;case m:{var c=t.type;ms(c)&&wv(t);break}case S:ey(t,t.stateNode.containerInfo);break;case M:{var d=t.memoizedProps.value,_=t.type._context;dx(t,_,d);break}case F:{var y=zo(n,t.childLanes);y&&(t.flags|=Er);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case Z:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return Wc(t,dd(Vl.current)),t.flags|=Ir,null;var A=t.child,J=A.childLanes;if(zo(n,J))return m4(e,t,n);Wc(t,dd(Vl.current));var Q=ec(e,t,n);return Q!==null?Q.sibling:null}else Wc(t,dd(Vl.current));break}case be:{var ve=(e.flags&Ir)!==zt,_e=zo(n,t.childLanes);if(ve){if(_e)return b4(e,t,n);t.flags|=Ir}var xe=t.memoizedState;if(xe!==null&&(xe.rendering=null,xe.tail=null,xe.lastEffect=null),Wc(t,Vl.current),_e)break;return null}case H:case le:return t.lanes=Ie,u4(e,t,n)}return ec(e,t,n)}function w4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Jj(e,t,z0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,c=t.pendingProps;if(i!==c||yv()||t.type!==e.type)Yl=!0;else{var d=i0(e,n);if(!d&&(t.flags&Ir)===zt)return Yl=!1,Zj(e,t,n);(e.flags&db)!==zt?Yl=!0:Yl=!1}}else if(Yl=!1,Tn()&&xF(t)){var _=t.index,y=kF();XC(t,y,_)}switch(t.lanes=Ie,t.tag){case g:return Mj(e,t,t.type,n);case ge:{var C=t.elementType;return Nj(e,t,C,n)}case p:{var E=t.type,A=t.pendingProps,J=t.elementType===E?A:ql(E,A);return Jy(e,t,E,J,n)}case m:{var Q=t.type,ve=t.pendingProps,_e=t.elementType===Q?ve:ql(Q,ve);return d4(e,t,Q,_e,n)}case b:return Dj(e,t,n);case w:return Aj(e,t,n);case k:return Lj(e,t);case Z:return m4(e,t,n);case S:return Kj(e,t,n);case j:{var xe=t.type,at=t.pendingProps,Dt=t.elementType===xe?at:ql(xe,at);return l4(e,t,xe,Dt,n)}case L:return Tj(e,t,n);case N:return Ej(e,t,n);case F:return Rj(e,t,n);case M:return Xj(e,t,n);case Y:return Qj(e,t,n);case O:{var St=t.type,hr=t.pendingProps,mr=ql(St,hr);if(t.type!==t.elementType){var ue=St.propTypes;ue&&jl(ue,mr,"prop",Hr(St))}return mr=ql(St.type,mr),s4(e,t,St,mr,n)}case ae:return c4(e,t,t.type,t.pendingProps,n);case ee:{var De=t.type,fe=t.pendingProps,qe=t.elementType===De?fe:ql(De,fe);return Oj(e,t,De,qe,n)}case be:return b4(e,t,n);case he:break;case H:return u4(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function gd(e){e.flags|=Er}function C4(e){e.flags|=Ac,e.flags|=pb}var x4,l0,k4,T4;x4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===w||c.tag===k)S9(e,c.stateNode);else if(c.tag!==S){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},l0=function(e,t){},k4=function(e,t,n,i,c){var d=e.memoizedProps;if(d!==i){var _=t.stateNode,y=ty(),C=C9(_,n,d,i,c,y);t.updateQueue=C,C&&gd(t)}},T4=function(e,t,n,i){n!==i&&gd(t)};function Th(e,t){if(!Tn())switch(e.tailMode){case"hidden":{for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var c=e.tail,d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function Rn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=Ie,i=zt;if(t){if((e.mode&Kr)!==Mt){for(var C=e.selfBaseDuration,E=e.child;E!==null;)n=ir(n,ir(E.lanes,E.childLanes)),i|=E.subtreeFlags&Ws,i|=E.flags&Ws,C+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=C}else for(var A=e.child;A!==null;)n=ir(n,ir(A.lanes,A.childLanes)),i|=A.subtreeFlags&Ws,i|=A.flags&Ws,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Mt){for(var c=e.actualDuration,d=e.selfBaseDuration,_=e.child;_!==null;)n=ir(n,ir(_.lanes,_.childLanes)),i|=_.subtreeFlags,i|=_.flags,c+=_.actualDuration,d+=_.treeBaseDuration,_=_.sibling;e.actualDuration=c,e.treeBaseDuration=d}else for(var y=e.child;y!==null;)n=ir(n,ir(y.lanes,y.childLanes)),i|=y.subtreeFlags,i|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function eH(e,t,n){if(BF()&&(t.mode&yr)!==Mt&&(t.flags&Ir)===zt)return ax(t),ld(),t.flags|=Hs|yp|Gn,!1;var i=Ev(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(IF(t),Rn(t),(t.mode&Kr)!==Mt){var c=n!==null;if(c){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(ld(),(t.flags&Ir)===zt&&(t.memoizedState=null),t.flags|=Er,Rn(t),(t.mode&Kr)!==Mt){var _=n!==null;if(_){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return nx(),!0}function E4(e,t,n){var i=t.pendingProps;switch(O1(t),t.tag){case g:case ge:case ae:case p:case j:case L:case N:case F:case Y:case O:return Rn(t),null;case m:{var c=t.type;return ms(c)&&Sv(t),Rn(t),null}case b:{var d=t.stateNode;if(fd(t),D1(t),iy(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var _=Ev(t);if(_)gd(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Hs)!==zt)&&(t.flags|=ku,nx())}}return l0(e,t),Rn(t),null}case w:{ry(t);var C=bx(),E=t.type;if(e!==null&&t.stateNode!=null)k4(e,t,E,i,C),e.ref!==t.ref&&C4(t);else{if(!i){if(t.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 Rn(t),null}var A=ty(),J=Ev(t);if(J)MF(t,C,A)&&gd(t);else{var Q=y9(E,i,C,A,t);x4(Q,t,!1,!1),t.stateNode=Q,w9(Q,E,i,C)&&gd(t)}t.ref!==null&&C4(t)}return Rn(t),null}case k:{var ve=i;if(e&&t.stateNode!=null){var _e=e.memoizedProps;T4(e,t,_e,ve)}else{if(typeof ve!="string"&&t.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 xe=bx(),at=ty(),Dt=Ev(t);Dt?PF(t)&&gd(t):t.stateNode=x9(ve,xe,at,t)}return Rn(t),null}case Z:{pd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var hr=eH(e,t,St);if(!hr)return t.flags&Gn?t:null}if((t.flags&Ir)!==zt)return t.lanes=n,(t.mode&Kr)!==Mt&&Ly(t),t;var mr=St!==null,ue=e!==null&&e.memoizedState!==null;if(mr!==ue&&mr){var De=t.child;if(De.flags|=Tu,(t.mode&yr)!==Mt){var fe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!we);fe||ay(Vl.current,wx)?iU():T0()}}var qe=t.updateQueue;if(qe!==null&&(t.flags|=Er),Rn(t),(t.mode&Kr)!==Mt&&mr){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case S:return fd(t),l0(e,t),e===null&&_F(t.stateNode.containerInfo),Rn(t),null;case M:var ot=t.type._context;return $1(ot,t),Rn(t),null;case ee:{var Ht=t.type;return ms(Ht)&&Sv(t),Rn(t),null}case be:{pd(t);var Kt=t.memoizedState;if(Kt===null)return Rn(t),null;var Qr=(t.flags&Ir)!==zt,Lr=Kt.rendering;if(Lr===null)if(Qr)Th(Kt,!1);else{var Wa=sU()&&(e===null||(e.flags&Ir)===zt);if(!Wa)for(var Nr=t.child;Nr!==null;){var Ia=Vv(Nr);if(Ia!==null){Qr=!0,t.flags|=Ir,Th(Kt,!1);var jn=Ia.updateQueue;return jn!==null&&(t.updateQueue=jn,t.flags|=Er),t.subtreeFlags=zt,qF(t,n),Wc(t,ny(Vl.current,ph)),t.child}Nr=Nr.sibling}Kt.tail!==null&&gn()>K4()&&(t.flags|=Ir,Qr=!0,Th(Kt,!1),t.lanes=T3)}else{if(!Qr){var On=Vv(Lr);if(On!==null){t.flags|=Ir,Qr=!0;var Vo=On.updateQueue;if(Vo!==null&&(t.updateQueue=Vo,t.flags|=Er),Th(Kt,!0),Kt.tail===null&&Kt.tailMode==="hidden"&&!Lr.alternate&&!Tn())return Rn(t),null}else gn()*2-Kt.renderingStartTime>K4()&&n!==Io&&(t.flags|=Ir,Qr=!0,Th(Kt,!1),t.lanes=T3)}if(Kt.isBackwards)Lr.sibling=t.child,t.child=Lr;else{var Jn=Kt.last;Jn!==null?Jn.sibling=Lr:t.child=Lr,Kt.last=Lr}}if(Kt.tail!==null){var Zn=Kt.tail;Kt.rendering=Zn,Kt.tail=Zn.sibling,Kt.renderingStartTime=gn(),Zn.sibling=null;var Hn=Vl.current;return Qr?Hn=ny(Hn,ph):Hn=dd(Hn),Wc(t,Hn),Zn}return Rn(t),null}case he:break;case H:case le:{k0(t);var oc=t.memoizedState,Td=oc!==null;if(e!==null){var Uh=e.memoizedState,Cs=Uh!==null;Cs!==Td&&!se&&(t.flags|=Tu)}return!Td||(t.mode&yr)===Mt?Rn(t):zo(ws,Io)&&(Rn(t),t.subtreeFlags&(Ja|Er)&&(t.flags|=Tu)),null}case de:return null;case B:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function tH(e,t,n){switch(O1(t),t.tag){case m:{var i=t.type;ms(i)&&Sv(t);var c=t.flags;return c&Gn?(t.flags=c&~Gn|Ir,(t.mode&Kr)!==Mt&&Ly(t),t):null}case b:{var d=t.stateNode;fd(t),D1(t),iy();var _=t.flags;return(_&Gn)!==zt&&(_&Ir)===zt?(t.flags=_&~Gn|Ir,t):null}case w:return ry(t),null;case Z:{pd(t);var y=t.memoizedState;if(y!==null&&y.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ld()}var C=t.flags;return C&Gn?(t.flags=C&~Gn|Ir,(t.mode&Kr)!==Mt&&Ly(t),t):null}case be:return pd(t),null;case S:return fd(t),null;case M:var E=t.type._context;return $1(E,t),null;case H:case le:return k0(t),null;case de:return null;default:return null}}function R4(e,t,n){switch(O1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&Sv(t);break}case b:{var c=t.stateNode;fd(t),D1(t),iy();break}case w:{ry(t);break}case S:fd(t);break;case Z:pd(t);break;case be:pd(t);break;case M:var d=t.type._context;$1(d,t);break;case H:case le:k0(t);break}}var D4=null;D4=new Set;var p_=!1,Dn=!1,rH=typeof WeakSet=="function"?WeakSet:Set,_t=null,bd=null,yd=null;function aH(e){cb(null,function(){throw e}),ub()}var nH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Kr)try{ys(),t.componentWillUnmount()}finally{bs(e)}else t.componentWillUnmount()};function A4(e,t){try{$c(on,e)}catch(n){ua(e,t,n)}}function s0(e,t,n){try{nH(e,n)}catch(i){ua(e,t,i)}}function oH(e,t,n){try{n.componentDidMount()}catch(i){ua(e,t,i)}}function L4(e,t){try{M4(e)}catch(n){ua(e,t,n)}}function Sd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(rt&&et&&e.mode&Kr)try{ys(),i=n(null)}finally{bs(e)}else i=n(null)}catch(c){ua(e,t,c)}typeof i=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rr(e))}else n.current=null}function h_(e,t,n){try{n()}catch(i){ua(e,t,i)}}var N4=null,O4=!1;function iH(e,t){N4=g9(e.containerInfo),_t=t,lH();var n=O4;return O4=!1,N4=null,n}function lH(){for(;_t!==null;){var e=_t,t=e.child;(e.subtreeFlags&mb)!==zt&&t!==null?(t.return=e,_t=t):sH()}}function sH(){for(;_t!==null;){var e=_t;xa(e);try{cH(e)}catch(n){ua(e,e.return,n)}_n();var t=e.sibling;if(t!==null){t.return=e.return,_t=t;return}_t=e.return}}function cH(e){var t=e.alternate,n=e.flags;if((n&ku)!==zt){switch(xa(e),e.tag){case p:case j:case ae:break;case m:{if(t!==null){var i=t.memoizedProps,c=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!$u&&(d.props!==e.memoizedProps&&u("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.",rr(e)||"instance"),d.state!==e.memoizedState&&u("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.",rr(e)||"instance"));var _=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:ql(e.type,i),c);{var y=D4;_===void 0&&!y.has(e.type)&&(y.add(e.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",rr(e)))}d.__reactInternalSnapshotBeforeUpdate=_}break}case b:{{var C=e.stateNode;V9(C.containerInfo)}break}case w:case k:case S:case ee: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.")}_n()}}function $l(e,t,n){var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var d=c.next,_=d;do{if((_.tag&e)===e){var y=_.destroy;_.destroy=void 0,y!==void 0&&((e&En)!==So?xI(t):(e&on)!==So&&S3(t),(e&vs)!==So&&Fh(!0),h_(t,n,y),(e&vs)!==So&&Fh(!1),(e&En)!==So?kI():(e&on)!==So&&w3())}_=_.next}while(_!==d)}}function $c(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var c=i.next,d=c;do{if((d.tag&e)===e){(e&En)!==So?wI(t):(e&on)!==So&&TI(t);var _=d.create;(e&vs)!==So&&Fh(!0),d.destroy=_(),(e&vs)!==So&&Fh(!1),(e&En)!==So?CI():(e&on)!==So&&EI();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(d.tag&on)!==zt?C="useLayoutEffect":(d.tag&vs)!==zt?C="useInsertionEffect":C="useEffect";var E=void 0;y===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?E=`
103
103
 
104
104
  It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
105
105
 
@@ -112,7 +112,7 @@ It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, w
112
112
  fetchData();
113
113
  }, [someId]); // Or [] if effect doesn't need props or state
114
114
 
115
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+y,u("%s must not return anything besides a function, which is used for clean-up.%s",C,E)}}}d=d.next}while(d!==c)}}function uH(e,t){if((t.flags&Er)!==zt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,c=i.id,d=i.onPostCommit,_=Gx(),y=t.alternate===null?"mount":"update";$x()&&(y="nested-update"),typeof d=="function"&&d(c,y,n,_);var C=t.return;e:for(;C!==null;){switch(C.tag){case b:var E=C.stateNode;E.passiveEffectDuration+=n;break e;case F:var A=C.stateNode;A.passiveEffectDuration+=n;break e}C=C.return}break}}}function fH(e,t,n,i){if((n.flags&Sp)!==zt)switch(n.tag){case p:case j:case ae:{if(!Dn)if(n.mode&Kr)try{bs(),$c(on|nn,n)}finally{gs(n)}else $c(on|nn,n);break}case m:{var c=n.stateNode;if(n.flags&Er&&!Dn)if(t===null)if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),n.mode&Kr)try{bs(),c.componentDidMount()}finally{gs(n)}else c.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:ql(n.type,t.memoizedProps),_=t.memoizedState;if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),n.mode&Kr)try{bs(),c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}finally{gs(n)}else c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),gx(n,y,c));break}case b:{var C=n.updateQueue;if(C!==null){var E=null;if(n.child!==null)switch(n.child.tag){case w:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}gx(n,C,E)}break}case w:{var A=n.stateNode;if(t===null&&n.flags&Er){var J=n.type,Q=n.memoizedProps;D9(A,J,Q)}break}case k:break;case S:break;case F:{{var ve=n.memoizedProps,_e=ve.onCommit,xe=ve.onRender,at=n.stateNode.effectDuration,Dt=Gx(),St=t===null?"mount":"update";$x()&&(St="nested-update"),typeof xe=="function"&&xe(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Dt);{typeof _e=="function"&&_e(n.memoizedProps.id,St,at,Dt),pU(n);var hr=n.return;e:for(;hr!==null;){switch(hr.tag){case b:var mr=hr.stateNode;mr.effectDuration+=at;break e;case F:var ue=hr.stateNode;ue.effectDuration+=at;break e}hr=hr.return}}}break}case Z:{bH(e,n);break}case be:case ee:case he:case H:case le:case B: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.")}Dn||n.flags&Ac&&M4(n)}function dH(e){switch(e.tag){case p:case j:case ae:{if(e.mode&Kr)try{bs(),A4(e,e.return)}finally{gs(e)}else A4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&oH(e,e.return,t),L4(e,e.return);break}case w:{L4(e,e.return);break}}}function pH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var c=i.stateNode;t?F9(c):H9(i.stateNode,i.memoizedProps)}catch(_){ua(e,e.return,_)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?j9(d):U9(d,i.memoizedProps)}catch(_){ua(e,e.return,_)}}else if(!((i.tag===H||i.tag===le)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;n===i&&(n=null),i=i.return}n===i&&(n=null),i.sibling.return=i.return,i=i.sibling}}function M4(e){var t=e.ref;if(t!==null){var n=e.stateNode,i;switch(e.tag){case w:i=n;break;default:i=n}if(typeof t=="function"){var c;if(e.mode&Kr)try{bs(),c=t(i)}finally{gs(e)}else c=t(i);typeof c=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rr(e))}else t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",rr(e)),t.current=i}}function hH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function P4(e){var t=e.alternate;t!==null&&(e.alternate=null,P4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===w){var n=e.stateNode;n!==null&&yF(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function mH(e){for(var t=e.return;t!==null;){if(I4(t))return t;t=t.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 I4(e){return e.tag===w||e.tag===b||e.tag===S}function z4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||I4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==k&&t.tag!==ye;){if(t.flags&Qa||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Qa))return t.stateNode}}function vH(e){var t=mH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&bp&&(BC(n),t.flags&=~bp);var i=z4(e);u0(e,i,n);break}case b:case S:{var c=t.stateNode.containerInfo,d=z4(e);c0(e,d,c);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function c0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?P9(n,d,t):O9(n,d)}else if(i!==S){var _=e.child;if(_!==null){c0(_,t,n);for(var y=_.sibling;y!==null;)c0(y,t,n),y=y.sibling}}}function u0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?M9(n,d,t):N9(n,d)}else if(i!==S){var _=e.child;if(_!==null){u0(_,t,n);for(var y=_.sibling;y!==null;)u0(y,t,n),y=y.sibling}}}var An=null,Gl=!1;function _H(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{An=i.stateNode,Gl=!1;break e}case b:{An=i.stateNode.containerInfo,Gl=!0;break e}case S:{An=i.stateNode.containerInfo,Gl=!0;break e}}i=i.return}if(An===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");B4(e,t,n),An=null,Gl=!1}hH(n)}function Gc(e,t,n){for(var i=n.child;i!==null;)B4(e,t,i),i=i.sibling}function B4(e,t,n){switch(gI(n),n.tag){case w:Dn||Sd(n,t);case k:{{var i=An,c=Gl;An=null,Gc(e,t,n),An=i,Gl=c,An!==null&&(Gl?z9(An,n.stateNode):I9(An,n.stateNode))}return}case ye:{An!==null&&(Gl?B9(An,n.stateNode):S1(An,n.stateNode));return}case S:{{var d=An,_=Gl;An=n.stateNode.containerInfo,Gl=!0,Gc(e,t,n),An=d,Gl=_}return}case p:case j:case O:case ae:{if(!Dn){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var E=C.next,A=E;do{var J=A,Q=J.destroy,ve=J.tag;Q!==void 0&&((ve&ms)!==So?h_(n,t,Q):(ve&on)!==So&&(S3(n),n.mode&Kr?(bs(),h_(n,t,Q),gs(n)):h_(n,t,Q),w3())),A=A.next}while(A!==E)}}}Gc(e,t,n);return}case m:{if(!Dn){Sd(n,t);var _e=n.stateNode;typeof _e.componentWillUnmount=="function"&&s0(n,t,_e)}Gc(e,t,n);return}case he:{Gc(e,t,n);return}case H:{if(n.mode&yr){var xe=Dn;Dn=xe||n.memoizedState!==null,Gc(e,t,n),Dn=xe}else Gc(e,t,n);break}default:{Gc(e,t,n);return}}}function gH(e){var t=e.memoizedState}function bH(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var c=i.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&aF(d)}}}}function F4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rH),t.forEach(function(i){var c=yU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Bl)if(bd!==null&&yd!==null)Bh(yd,bd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(c,c)}})}}function yH(e,t,n){bd=n,yd=e,xa(t),j4(t,e),xa(t),bd=null,yd=null}function Kl(e,t,n){var i=t.deletions;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c];try{_H(e,t,d)}catch(C){ua(d,t,C)}}var _=Yg();if(t.subtreeFlags&vb)for(var y=t.child;y!==null;)xa(y),j4(y,e),y=y.sibling;xa(_)}function j4(e,t,n){var i=e.alternate,c=e.flags;switch(e.tag){case p:case j:case O:case ae:{if(Kl(t,e),ys(e),c&Er){try{$l(ms|nn,e,e.return),$c(ms|nn,e)}catch(Ht){ua(e,e.return,Ht)}if(e.mode&Kr){try{bs(),$l(on|nn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}gs(e)}else try{$l(on|nn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}}return}case m:{Kl(t,e),ys(e),c&Ac&&i!==null&&Sd(i,i.return);return}case w:{Kl(t,e),ys(e),c&Ac&&i!==null&&Sd(i,i.return);{if(e.flags&bp){var d=e.stateNode;try{BC(d)}catch(Ht){ua(e,e.return,Ht)}}if(c&Er){var _=e.stateNode;if(_!=null){var y=e.memoizedProps,C=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{A9(_,A,E,C,y,e)}catch(Ht){ua(e,e.return,Ht)}}}}return}case k:{if(Kl(t,e),ys(e),c&Er){if(e.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 J=e.stateNode,Q=e.memoizedProps,ve=i!==null?i.memoizedProps:Q;try{L9(J,ve,Q)}catch(Ht){ua(e,e.return,Ht)}}return}case b:{if(Kl(t,e),ys(e),c&Er&&i!==null){var _e=i.memoizedState;if(_e.isDehydrated)try{rF(t.containerInfo)}catch(Ht){ua(e,e.return,Ht)}}return}case S:{Kl(t,e),ys(e);return}case Z:{Kl(t,e),ys(e);var xe=e.child;if(xe.flags&Tu){var at=xe.stateNode,Dt=xe.memoizedState,St=Dt!==null;if(at.isHidden=St,St){var hr=xe.alternate!==null&&xe.alternate.memoizedState!==null;hr||oU()}}if(c&Er){try{gH(e)}catch(Ht){ua(e,e.return,Ht)}F4(e)}return}case H:{var mr=i!==null&&i.memoizedState!==null;if(e.mode&yr){var ue=Dn;Dn=ue||mr,Kl(t,e),Dn=ue}else Kl(t,e);if(ys(e),c&Tu){var De=e.stateNode,fe=e.memoizedState,qe=fe!==null,ut=e;if(De.isHidden=qe,qe&&!mr&&(ut.mode&yr)!==Mt){_t=ut;for(var nt=ut.child;nt!==null;)_t=nt,wH(nt),nt=nt.sibling}pH(ut,qe)}return}case be:{Kl(t,e),ys(e),c&Er&&F4(e);return}case he:return;default:{Kl(t,e),ys(e);return}}}function ys(e){var t=e.flags;if(t&Qa){try{vH(e)}catch(n){ua(e,e.return,n)}e.flags&=~Qa}t&Us&&(e.flags&=~Us)}function SH(e,t,n){bd=n,yd=t,_t=e,H4(e,t,n),bd=null,yd=null}function H4(e,t,n){for(var i=(e.mode&yr)!==Mt;_t!==null;){var c=_t,d=c.child;if(c.tag===H&&i){var _=c.memoizedState!==null,y=_||p_;if(y){f0(e,t,n);continue}else{var C=c.alternate,E=C!==null&&C.memoizedState!==null,A=E||Dn,J=p_,Q=Dn;p_=y,Dn=A,Dn&&!Q&&(_t=c,CH(c));for(var ve=d;ve!==null;)_t=ve,H4(ve,t,n),ve=ve.sibling;_t=c,p_=J,Dn=Q,f0(e,t,n);continue}}(c.subtreeFlags&Sp)!==zt&&d!==null?(d.return=c,_t=d):f0(e,t,n)}}function f0(e,t,n){for(;_t!==null;){var i=_t;if((i.flags&Sp)!==zt){var c=i.alternate;xa(i);try{fH(t,c,i,n)}catch(_){ua(i,i.return,_)}_n()}if(i===e){_t=null;return}var d=i.sibling;if(d!==null){d.return=i.return,_t=d;return}_t=i.return}}function wH(e){for(;_t!==null;){var t=_t,n=t.child;switch(t.tag){case p:case j:case O:case ae:{if(t.mode&Kr)try{bs(),$l(on,t,t.return)}finally{gs(t)}else $l(on,t,t.return);break}case m:{Sd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&s0(t,t.return,i);break}case w:{Sd(t,t.return);break}case H:{var c=t.memoizedState!==null;if(c){U4(e);continue}break}}n!==null?(n.return=t,_t=n):U4(e)}}function U4(e){for(;_t!==null;){var t=_t;if(t===e){_t=null;return}var n=t.sibling;if(n!==null){n.return=t.return,_t=n;return}_t=t.return}}function CH(e){for(;_t!==null;){var t=_t,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){V4(e);continue}}n!==null?(n.return=t,_t=n):V4(e)}}function V4(e){for(;_t!==null;){var t=_t;xa(t);try{dH(t)}catch(i){ua(t,t.return,i)}if(_n(),t===e){_t=null;return}var n=t.sibling;if(n!==null){n.return=t.return,_t=n;return}_t=t.return}}function xH(e,t,n,i){_t=t,kH(t,e,n,i)}function kH(e,t,n,i){for(;_t!==null;){var c=_t,d=c.child;(c.subtreeFlags&Uf)!==zt&&d!==null?(d.return=c,_t=d):TH(e,t,n,i)}}function TH(e,t,n,i){for(;_t!==null;){var c=_t;if((c.flags&zl)!==zt){xa(c);try{EH(t,c,n,i)}catch(_){ua(c,c.return,_)}_n()}if(c===e){_t=null;return}var d=c.sibling;if(d!==null){d.return=c.return,_t=d;return}_t=c.return}}function EH(e,t,n,i){switch(t.tag){case p:case j:case ae:{if(t.mode&Kr){Ay();try{$c(En|nn,t)}finally{Dy(t)}}else $c(En|nn,t);break}}}function RH(e){_t=e,DH()}function DH(){for(;_t!==null;){var e=_t,t=e.child;if((_t.flags&xu)!==zt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var c=n[i];_t=c,NH(c,e)}{var d=e.alternate;if(d!==null){var _=d.child;if(_!==null){d.child=null;do{var y=_.sibling;_.sibling=null,_=y}while(_!==null)}}}_t=e}}(e.subtreeFlags&Uf)!==zt&&t!==null?(t.return=e,_t=t):AH()}}function AH(){for(;_t!==null;){var e=_t;(e.flags&zl)!==zt&&(xa(e),LH(e),_n());var t=e.sibling;if(t!==null){t.return=e.return,_t=t;return}_t=e.return}}function LH(e){switch(e.tag){case p:case j:case ae:{e.mode&Kr?(Ay(),$l(En|nn,e,e.return),Dy(e)):$l(En|nn,e,e.return);break}}}function NH(e,t){for(;_t!==null;){var n=_t;xa(n),MH(n,t),_n();var i=n.child;i!==null?(i.return=n,_t=i):OH(e)}}function OH(e){for(;_t!==null;){var t=_t,n=t.sibling,i=t.return;if(P4(t),t===e){_t=null;return}if(n!==null){n.return=i,_t=n;return}_t=i}}function MH(e,t){switch(e.tag){case p:case j:case ae:{e.mode&Kr?(Ay(),$l(En,e,t),Dy(e)):$l(En,e,t);break}}}function PH(e){switch(e.tag){case p:case j:case ae:{try{$c(on|nn,e)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;try{t.componentDidMount()}catch(n){ua(e,e.return,n)}break}}}function IH(e){switch(e.tag){case p:case j:case ae:{try{$c(En|nn,e)}catch(t){ua(e,e.return,t)}break}}}function zH(e){switch(e.tag){case p:case j:case ae:{try{$l(on|nn,e,e.return)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&s0(e,e.return,t);break}}}function BH(e){switch(e.tag){case p:case j:case ae:try{$l(En|nn,e,e.return)}catch(t){ua(e,e.return,t)}}}var FH=0,jH=1,HH=2,UH=3,VH=4;if(typeof Symbol=="function"&&Symbol.for){var Eh=Symbol.for;FH=Eh("selector.component"),jH=Eh("selector.has_pseudo_class"),HH=Eh("selector.role"),UH=Eh("selector.test_id"),VH=Eh("selector.text")}var WH=[];function qH(){WH.forEach(function(e){return e()})}var YH=o.ReactCurrentActQueue;function $H(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function W4(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&YH.current!==null&&u("The current testing environment is not configured to support act(...)"),e}}var GH=Math.ceil,d0=o.ReactCurrentDispatcher,p0=o.ReactCurrentOwner,Ln=o.ReactCurrentBatchConfig,Xl=o.ReactCurrentActQueue,cn=0,q4=1,Nn=2,xl=4,tc=0,Rh=1,Gu=2,m_=3,Dh=4,Y4=5,h0=6,Sr=cn,Xn=null,Aa=null,un=Ie,Ss=Ie,m0=Bc(Ie),fn=tc,Ah=null,v0=Ie,v_=Ie,Lh=Ie,__=Ie,Nh=null,wo=null,_0=0,$4=500,G4=1/0,KH=500,rc=null;function Oh(){G4=gn()+KH}function K4(){return G4}var g_=!1,g0=null,wd=null,Ku=!1,Kc=null,Mh=Ie,b0=[],y0=null,XH=50,Ph=0,S0=null,w0=!1,b_=!1,QH=50,Cd=0,y_=null,Ih=ma,S_=Ie,X4=!1;function w_(){return Xn}function Qn(){return(Sr&(Nn|xl))!==cn?gn():(Ih!==ma||(Ih=gn()),Ih)}function Xc(e){var t=e.mode;if((t&yr)===Mt)return qt;if((Sr&Nn)!==cn&&un!==Ie)return Rp(un);var n=HF()!==jF;if(n){if(Ln.transition!==null){var i=Ln.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return S_===yn&&(S_=A3()),S_}var c=Fl();if(c!==yn)return c;var d=k9();return d}function JH(e){var t=e.mode;return(t&yr)===Mt?qt:KI()}function dn(e,t,n,i){wU(),X4&&u("useInsertionEffect must not schedule updates."),w0&&(b_=!0),Dp(e,n,i),(Sr&Nn)!==Ie&&e===Xn?kU(t):(Bl&&O3(e,t,n),TU(t),e===Xn&&((Sr&Nn)===cn&&(Lh=ir(Lh,n)),fn===Dh&&Qc(e,un)),Co(e,i),n===qt&&Sr===cn&&(t.mode&yr)===Mt&&!Xl.isBatchingLegacy&&(Oh(),KC()))}function ZH(e,t,n){var i=e.current;i.lanes=t,Dp(e,t,n),Co(e,n)}function eU(e){return(Sr&Nn)!==cn}function Co(e,t){var n=e.callbackNode;VI(e,t);var i=Vm(e,e===Xn?un:Ie);if(i===Ie){n!==null&&dk(n),e.callbackNode=null,e.callbackPriority=yn;return}var c=Ou(i),d=e.callbackPriority;if(d===c&&!(Xl.current!==null&&n!==D0)){n==null&&d!==qt&&u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&dk(n);var _;if(c===qt)e.tag===Fc?(Xl.isBatchingLegacy!==null&&(Xl.didScheduleLegacyUpdate=!0),CF(Z4.bind(null,e))):GC(Z4.bind(null,e)),Xl.current!==null?Xl.current.push(jc):E9(function(){(Sr&(Nn|xl))===cn&&jc()}),_=null;else{var y;switch(I3(i)){case Bo:y=Fm;break;case Ys:y=_b;break;case $s:y=Du;break;case Ym:y=gb;break;default:y=Du;break}_=A0(y,Q4.bind(null,e))}e.callbackPriority=c,e.callbackNode=_}function Q4(e,t){if(pj(),Ih=ma,S_=Ie,(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");var n=e.callbackNode,i=nc();if(i&&e.callbackNode!==n)return null;var c=Vm(e,e===Xn?un:Ie);if(c===Ie)return null;var d=!Wm(e,c)&&!GI(e,c)&&!t,_=d?uU(e,c):x_(e,c);if(_!==tc){if(_===Gu){var y=jb(e);y!==Ie&&(c=y,_=C0(e,y))}if(_===Rh){var C=Ah;throw Xu(e,Ie),Qc(e,c),Co(e,gn()),C}if(_===h0)Qc(e,c);else{var E=!Wm(e,c),A=e.current.alternate;if(E&&!rU(A)){if(_=x_(e,c),_===Gu){var J=jb(e);J!==Ie&&(c=J,_=C0(e,J))}if(_===Rh){var Q=Ah;throw Xu(e,Ie),Qc(e,c),Co(e,gn()),Q}}e.finishedWork=A,e.finishedLanes=c,tU(e,_,c)}}return Co(e,gn()),e.callbackNode===n?Q4.bind(null,e):null}function C0(e,t){var n=Nh;if($m(e)){var i=Xu(e,t);i.flags|=Hs,vF(e.containerInfo)}var c=x_(e,t);if(c!==Gu){var d=wo;wo=n,d!==null&&J4(d)}return c}function J4(e){wo===null?wo=e:wo.push.apply(wo,e)}function tU(e,t,n){switch(t){case tc:case Rh:throw new Error("Root did not complete. This is a bug in React.");case Gu:{Qu(e,wo,rc);break}case m_:{if(Qc(e,n),R3(n)&&!pk()){var i=_0+$4-gn();if(i>10){var c=Vm(e,Ie);if(c!==Ie)break;var d=e.suspendedLanes;if(!$f(d,n)){var _=Qn();N3(e,d);break}e.timeoutHandle=b1(Qu.bind(null,e,wo,rc),i);break}}Qu(e,wo,rc);break}case Dh:{if(Qc(e,n),$I(n))break;if(!pk()){var y=HI(e,n),C=y,E=gn()-C,A=SU(E)-E;if(A>10){e.timeoutHandle=b1(Qu.bind(null,e,wo,rc),A);break}}Qu(e,wo,rc);break}case Y4:{Qu(e,wo,rc);break}default:throw new Error("Unknown root exit status.")}}function rU(e){for(var t=e;;){if(t.flags&zm){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c],_=d.getSnapshot,y=d.value;try{if(!jo(_(),y))return!1}catch(E){return!1}}}}var C=t.child;if(t.subtreeFlags&zm&&C!==null){C.return=t,t=C;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Qc(e,t){t=qm(t,__),t=qm(t,Lh),QI(e,t)}function Z4(e){if(hj(),(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");nc();var t=Vm(e,Ie);if(!zo(t,qt))return Co(e,gn()),null;var n=x_(e,t);if(e.tag!==Fc&&n===Gu){var i=jb(e);i!==Ie&&(t=i,n=C0(e,i))}if(n===Rh){var c=Ah;throw Xu(e,Ie),Qc(e,t),Co(e,gn()),c}if(n===h0)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,Qu(e,wo,rc),Co(e,gn()),null}function aU(e,t){t!==Ie&&(Wb(e,ir(t,qt)),Co(e,gn()),(Sr&(Nn|xl))===cn&&(Oh(),jc()))}function x0(e,t){var n=Sr;Sr|=q4;try{return e(t)}finally{Sr=n,Sr===cn&&!Xl.isBatchingLegacy&&(Oh(),KC())}}function nU(e,t,n,i,c){var d=Fl(),_=Ln.transition;try{return Ln.transition=null,Sn(Bo),e(t,n,i,c)}finally{Sn(d),Ln.transition=_,Sr===cn&&Oh()}}function ac(e){Kc!==null&&Kc.tag===Fc&&(Sr&(Nn|xl))===cn&&nc();var t=Sr;Sr|=q4;var n=Ln.transition,i=Fl();try{return Ln.transition=null,Sn(Bo),e?e():void 0}finally{Sn(i),Ln.transition=n,Sr=t,(Sr&(Nn|xl))===cn&&jc()}}function ek(){return(Sr&(Nn|xl))!==cn}function C_(e,t){Bn(m0,Ss,e),Ss=ir(Ss,t),v0=ir(v0,t)}function k0(e){Ss=m0.current,zn(m0,e)}function Xu(e,t){e.finishedWork=null,e.finishedLanes=Ie;var n=e.timeoutHandle;if(n!==y1&&(e.timeoutHandle=y1,T9(n)),Aa!==null)for(var i=Aa.return;i!==null;){var c=i.alternate;R4(c,i),i=i.return}Xn=e;var d=Ju(e.current,null);return Aa=d,un=Ss=v0=t,fn=tc,Ah=null,v_=Ie,Lh=Ie,__=Ie,Nh=null,wo=null,GF(),Ul.discardPendingWarnings(),d}function tk(e,t){do{var n=Aa;try{if(Ov(),xx(),_n(),p0.current=null,n===null||n.return===null){fn=Rh,Ah=t,Aa=null;return}if(rt&&n.mode&Kr&&s_(n,!0),Ge)if(Vf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;DI(n,i,un)}else RI(n,t,un);Cj(e,n.return,n,t,un),ok(n)}catch(c){t=c,Aa===n&&n!==null?(n=n.return,Aa=n):n=Aa;continue}return}while(!0)}function rk(){var e=d0.current;return d0.current=a_,e===null?a_:e}function ak(e){d0.current=e}function oU(){_0=gn()}function zh(e){v_=ir(e,v_)}function iU(){fn===tc&&(fn=m_)}function T0(){(fn===tc||fn===m_||fn===Gu)&&(fn=Dh),Xn!==null&&(Hb(v_)||Hb(Lh))&&Qc(Xn,un)}function lU(e){fn!==Dh&&(fn=Gu),Nh===null?Nh=[e]:Nh.push(e)}function sU(){return fn===tc}function x_(e,t){var n=Sr;Sr|=Nn;var i=rk();if(Xn!==e||un!==t){if(Bl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,un),c.clear()),M3(e,t)}rc=P3(),Xu(e,t)}C3(t);do try{cU();break}catch(d){tk(e,d)}while(!0);if(Ov(),Sr=n,ak(i),Aa!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return x3(),Xn=null,un=Ie,fn}function cU(){for(;Aa!==null;)nk(Aa)}function uU(e,t){var n=Sr;Sr|=Nn;var i=rk();if(Xn!==e||un!==t){if(Bl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,un),c.clear()),M3(e,t)}rc=P3(),Oh(),Xu(e,t)}C3(t);do try{fU();break}catch(d){tk(e,d)}while(!0);return Ov(),ak(i),Sr=n,Aa!==null?(MI(),tc):(x3(),Xn=null,un=Ie,fn)}function fU(){for(;Aa!==null&&!sI();)nk(Aa)}function nk(e){var t=e.alternate;xa(e);var n;(e.mode&Kr)!==Mt?(Ry(e),n=E0(t,e,Ss),s_(e,!0)):n=E0(t,e,Ss),_n(),e.memoizedProps=e.pendingProps,n===null?ok(e):Aa=n,p0.current=null}function ok(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&yp)===zt){xa(t);var c=void 0;if((t.mode&Kr)===Mt?c=E4(n,t,Ss):(Ry(t),c=E4(n,t,Ss),s_(t,!1)),_n(),c!==null){Aa=c;return}}else{var d=tH(n,t);if(d!==null){d.flags&=rI,Aa=d;return}if((t.mode&Kr)!==Mt){s_(t,!1);for(var _=t.actualDuration,y=t.child;y!==null;)_+=y.actualDuration,y=y.sibling;t.actualDuration=_}if(i!==null)i.flags|=yp,i.subtreeFlags=zt,i.deletions=null;else{fn=h0,Aa=null;return}}var C=t.sibling;if(C!==null){Aa=C;return}t=i,Aa=t}while(t!==null);fn===tc&&(fn=Y4)}function Qu(e,t,n){var i=Fl(),c=Ln.transition;try{Ln.transition=null,Sn(Bo),dU(e,t,n,i)}finally{Ln.transition=c,Sn(i)}return null}function dU(e,t,n,i){do nc();while(Kc!==null);if(CU(),(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");var c=e.finishedWork,d=e.finishedLanes;if(SI(d),c===null)return y3(),null;if(d===Ie&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ie,c===e.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.");e.callbackNode=null,e.callbackPriority=yn;var _=ir(c.lanes,c.childLanes);JI(e,_),e===Xn&&(Xn=null,Aa=null,un=Ie),((c.subtreeFlags&Uf)!==zt||(c.flags&Uf)!==zt)&&(Ku||(Ku=!0,y0=n,A0(Du,function(){return nc(),null})));var y=(c.subtreeFlags&(mb|vb|Sp|Uf))!==zt,C=(c.flags&(mb|vb|Sp|Uf))!==zt;if(y||C){var E=Ln.transition;Ln.transition=null;var A=Fl();Sn(Bo);var J=Sr;Sr|=xl,p0.current=null;var Q=iH(e,c);Kx(),yH(e,c,d),b9(e.containerInfo),e.current=c,AI(d),SH(c,e,d),LI(),cI(),Sr=J,Sn(A),Ln.transition=E}else e.current=c,Kx();var ve=Ku;if(Ku?(Ku=!1,Kc=e,Mh=d):(Cd=0,y_=null),_=e.pendingLanes,_===Ie&&(wd=null),ve||ck(e.current,!1),vI(c.stateNode,i),Bl&&e.memoizedUpdaters.clear(),qH(),Co(e,gn()),t!==null)for(var _e=e.onRecoverableError,xe=0;xe<t.length;xe++){var at=t[xe],Dt=at.stack,St=at.digest;_e(at.value,{componentStack:Dt,digest:St})}if(g_){g_=!1;var hr=g0;throw g0=null,hr}return zo(Mh,qt)&&e.tag!==Fc&&nc(),_=e.pendingLanes,zo(_,qt)?(dj(),e===S0?Ph++:(Ph=0,S0=e)):Ph=0,jc(),y3(),null}function nc(){if(Kc!==null){var e=I3(Mh),t=rz($s,e),n=Ln.transition,i=Fl();try{return Ln.transition=null,Sn(t),hU()}finally{Sn(i),Ln.transition=n}}return!1}function pU(e){b0.push(e),Ku||(Ku=!0,A0(Du,function(){return nc(),null}))}function hU(){if(Kc===null)return!1;var e=y0;y0=null;var t=Kc,n=Mh;if(Kc=null,Mh=Ie,(Sr&(Nn|xl))!==cn)throw new Error("Cannot flush passive effects while already rendering.");w0=!0,b_=!1,NI(n);var i=Sr;Sr|=xl,RH(t.current),xH(t,t.current,n,e);{var c=b0;b0=[];for(var d=0;d<c.length;d++){var _=c[d];uH(t,_)}}OI(),ck(t.current,!0),Sr=i,jc(),b_?t===y_?Cd++:(Cd=0,y_=t):Cd=0,w0=!1,b_=!1,_I(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ik(e){return wd!==null&&wd.has(e)}function mU(e){wd===null?wd=new Set([e]):wd.add(e)}function vU(e){g_||(g_=!0,g0=e)}var _U=vU;function lk(e,t,n){var i=Yu(n,t),c=a4(e,i,qt),d=Uc(e,c,qt),_=Qn();d!==null&&(Dp(d,qt,_),Co(d,_))}function ua(e,t,n){if(aH(n),Fh(!1),e.tag===b){lk(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){lk(i,e,n);return}else if(i.tag===m){var c=i.type,d=i.stateNode;if(typeof c.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!ik(d)){var _=Yu(n,e),y=Yy(i,_,qt),C=Uc(i,y,qt),E=Qn();C!==null&&(Dp(C,qt,E),Co(C,E));return}}i=i.return}u(`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.
115
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+y,u("%s must not return anything besides a function, which is used for clean-up.%s",C,E)}}}d=d.next}while(d!==c)}}function uH(e,t){if((t.flags&Er)!==zt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,c=i.id,d=i.onPostCommit,_=Gx(),y=t.alternate===null?"mount":"update";$x()&&(y="nested-update"),typeof d=="function"&&d(c,y,n,_);var C=t.return;e:for(;C!==null;){switch(C.tag){case b:var E=C.stateNode;E.passiveEffectDuration+=n;break e;case F:var A=C.stateNode;A.passiveEffectDuration+=n;break e}C=C.return}break}}}function fH(e,t,n,i){if((n.flags&Sp)!==zt)switch(n.tag){case p:case j:case ae:{if(!Dn)if(n.mode&Kr)try{ys(),$c(on|nn,n)}finally{bs(n)}else $c(on|nn,n);break}case m:{var c=n.stateNode;if(n.flags&Er&&!Dn)if(t===null)if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),n.mode&Kr)try{ys(),c.componentDidMount()}finally{bs(n)}else c.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:ql(n.type,t.memoizedProps),_=t.memoizedState;if(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),n.mode&Kr)try{ys(),c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}finally{bs(n)}else c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!$u&&(c.props!==n.memoizedProps&&u("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.",rr(n)||"instance"),c.state!==n.memoizedState&&u("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.",rr(n)||"instance")),gx(n,y,c));break}case b:{var C=n.updateQueue;if(C!==null){var E=null;if(n.child!==null)switch(n.child.tag){case w:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}gx(n,C,E)}break}case w:{var A=n.stateNode;if(t===null&&n.flags&Er){var J=n.type,Q=n.memoizedProps;D9(A,J,Q)}break}case k:break;case S:break;case F:{{var ve=n.memoizedProps,_e=ve.onCommit,xe=ve.onRender,at=n.stateNode.effectDuration,Dt=Gx(),St=t===null?"mount":"update";$x()&&(St="nested-update"),typeof xe=="function"&&xe(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Dt);{typeof _e=="function"&&_e(n.memoizedProps.id,St,at,Dt),pU(n);var hr=n.return;e:for(;hr!==null;){switch(hr.tag){case b:var mr=hr.stateNode;mr.effectDuration+=at;break e;case F:var ue=hr.stateNode;ue.effectDuration+=at;break e}hr=hr.return}}}break}case Z:{bH(e,n);break}case be:case ee:case he:case H:case le:case B: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.")}Dn||n.flags&Ac&&M4(n)}function dH(e){switch(e.tag){case p:case j:case ae:{if(e.mode&Kr)try{ys(),A4(e,e.return)}finally{bs(e)}else A4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&oH(e,e.return,t),L4(e,e.return);break}case w:{L4(e,e.return);break}}}function pH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var c=i.stateNode;t?F9(c):H9(i.stateNode,i.memoizedProps)}catch(_){ua(e,e.return,_)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?j9(d):U9(d,i.memoizedProps)}catch(_){ua(e,e.return,_)}}else if(!((i.tag===H||i.tag===le)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;n===i&&(n=null),i=i.return}n===i&&(n=null),i.sibling.return=i.return,i=i.sibling}}function M4(e){var t=e.ref;if(t!==null){var n=e.stateNode,i;switch(e.tag){case w:i=n;break;default:i=n}if(typeof t=="function"){var c;if(e.mode&Kr)try{ys(),c=t(i)}finally{bs(e)}else c=t(i);typeof c=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rr(e))}else t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",rr(e)),t.current=i}}function hH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function P4(e){var t=e.alternate;t!==null&&(e.alternate=null,P4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===w){var n=e.stateNode;n!==null&&yF(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function mH(e){for(var t=e.return;t!==null;){if(I4(t))return t;t=t.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 I4(e){return e.tag===w||e.tag===b||e.tag===S}function z4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||I4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==k&&t.tag!==ye;){if(t.flags&Ja||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ja))return t.stateNode}}function vH(e){var t=mH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&bp&&(BC(n),t.flags&=~bp);var i=z4(e);u0(e,i,n);break}case b:case S:{var c=t.stateNode.containerInfo,d=z4(e);c0(e,d,c);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function c0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?P9(n,d,t):O9(n,d)}else if(i!==S){var _=e.child;if(_!==null){c0(_,t,n);for(var y=_.sibling;y!==null;)c0(y,t,n),y=y.sibling}}}function u0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?M9(n,d,t):N9(n,d)}else if(i!==S){var _=e.child;if(_!==null){u0(_,t,n);for(var y=_.sibling;y!==null;)u0(y,t,n),y=y.sibling}}}var An=null,Gl=!1;function _H(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{An=i.stateNode,Gl=!1;break e}case b:{An=i.stateNode.containerInfo,Gl=!0;break e}case S:{An=i.stateNode.containerInfo,Gl=!0;break e}}i=i.return}if(An===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");B4(e,t,n),An=null,Gl=!1}hH(n)}function Gc(e,t,n){for(var i=n.child;i!==null;)B4(e,t,i),i=i.sibling}function B4(e,t,n){switch(gI(n),n.tag){case w:Dn||Sd(n,t);case k:{{var i=An,c=Gl;An=null,Gc(e,t,n),An=i,Gl=c,An!==null&&(Gl?z9(An,n.stateNode):I9(An,n.stateNode))}return}case ye:{An!==null&&(Gl?B9(An,n.stateNode):S1(An,n.stateNode));return}case S:{{var d=An,_=Gl;An=n.stateNode.containerInfo,Gl=!0,Gc(e,t,n),An=d,Gl=_}return}case p:case j:case O:case ae:{if(!Dn){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var E=C.next,A=E;do{var J=A,Q=J.destroy,ve=J.tag;Q!==void 0&&((ve&vs)!==So?h_(n,t,Q):(ve&on)!==So&&(S3(n),n.mode&Kr?(ys(),h_(n,t,Q),bs(n)):h_(n,t,Q),w3())),A=A.next}while(A!==E)}}}Gc(e,t,n);return}case m:{if(!Dn){Sd(n,t);var _e=n.stateNode;typeof _e.componentWillUnmount=="function"&&s0(n,t,_e)}Gc(e,t,n);return}case he:{Gc(e,t,n);return}case H:{if(n.mode&yr){var xe=Dn;Dn=xe||n.memoizedState!==null,Gc(e,t,n),Dn=xe}else Gc(e,t,n);break}default:{Gc(e,t,n);return}}}function gH(e){var t=e.memoizedState}function bH(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var c=i.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&aF(d)}}}}function F4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rH),t.forEach(function(i){var c=yU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Bl)if(bd!==null&&yd!==null)Bh(yd,bd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(c,c)}})}}function yH(e,t,n){bd=n,yd=e,xa(t),j4(t,e),xa(t),bd=null,yd=null}function Kl(e,t,n){var i=t.deletions;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c];try{_H(e,t,d)}catch(C){ua(d,t,C)}}var _=Yg();if(t.subtreeFlags&vb)for(var y=t.child;y!==null;)xa(y),j4(y,e),y=y.sibling;xa(_)}function j4(e,t,n){var i=e.alternate,c=e.flags;switch(e.tag){case p:case j:case O:case ae:{if(Kl(t,e),Ss(e),c&Er){try{$l(vs|nn,e,e.return),$c(vs|nn,e)}catch(Ht){ua(e,e.return,Ht)}if(e.mode&Kr){try{ys(),$l(on|nn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}bs(e)}else try{$l(on|nn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}}return}case m:{Kl(t,e),Ss(e),c&Ac&&i!==null&&Sd(i,i.return);return}case w:{Kl(t,e),Ss(e),c&Ac&&i!==null&&Sd(i,i.return);{if(e.flags&bp){var d=e.stateNode;try{BC(d)}catch(Ht){ua(e,e.return,Ht)}}if(c&Er){var _=e.stateNode;if(_!=null){var y=e.memoizedProps,C=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{A9(_,A,E,C,y,e)}catch(Ht){ua(e,e.return,Ht)}}}}return}case k:{if(Kl(t,e),Ss(e),c&Er){if(e.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 J=e.stateNode,Q=e.memoizedProps,ve=i!==null?i.memoizedProps:Q;try{L9(J,ve,Q)}catch(Ht){ua(e,e.return,Ht)}}return}case b:{if(Kl(t,e),Ss(e),c&Er&&i!==null){var _e=i.memoizedState;if(_e.isDehydrated)try{rF(t.containerInfo)}catch(Ht){ua(e,e.return,Ht)}}return}case S:{Kl(t,e),Ss(e);return}case Z:{Kl(t,e),Ss(e);var xe=e.child;if(xe.flags&Tu){var at=xe.stateNode,Dt=xe.memoizedState,St=Dt!==null;if(at.isHidden=St,St){var hr=xe.alternate!==null&&xe.alternate.memoizedState!==null;hr||oU()}}if(c&Er){try{gH(e)}catch(Ht){ua(e,e.return,Ht)}F4(e)}return}case H:{var mr=i!==null&&i.memoizedState!==null;if(e.mode&yr){var ue=Dn;Dn=ue||mr,Kl(t,e),Dn=ue}else Kl(t,e);if(Ss(e),c&Tu){var De=e.stateNode,fe=e.memoizedState,qe=fe!==null,ut=e;if(De.isHidden=qe,qe&&!mr&&(ut.mode&yr)!==Mt){_t=ut;for(var ot=ut.child;ot!==null;)_t=ot,wH(ot),ot=ot.sibling}pH(ut,qe)}return}case be:{Kl(t,e),Ss(e),c&Er&&F4(e);return}case he:return;default:{Kl(t,e),Ss(e);return}}}function Ss(e){var t=e.flags;if(t&Ja){try{vH(e)}catch(n){ua(e,e.return,n)}e.flags&=~Ja}t&Us&&(e.flags&=~Us)}function SH(e,t,n){bd=n,yd=t,_t=e,H4(e,t,n),bd=null,yd=null}function H4(e,t,n){for(var i=(e.mode&yr)!==Mt;_t!==null;){var c=_t,d=c.child;if(c.tag===H&&i){var _=c.memoizedState!==null,y=_||p_;if(y){f0(e,t,n);continue}else{var C=c.alternate,E=C!==null&&C.memoizedState!==null,A=E||Dn,J=p_,Q=Dn;p_=y,Dn=A,Dn&&!Q&&(_t=c,CH(c));for(var ve=d;ve!==null;)_t=ve,H4(ve,t,n),ve=ve.sibling;_t=c,p_=J,Dn=Q,f0(e,t,n);continue}}(c.subtreeFlags&Sp)!==zt&&d!==null?(d.return=c,_t=d):f0(e,t,n)}}function f0(e,t,n){for(;_t!==null;){var i=_t;if((i.flags&Sp)!==zt){var c=i.alternate;xa(i);try{fH(t,c,i,n)}catch(_){ua(i,i.return,_)}_n()}if(i===e){_t=null;return}var d=i.sibling;if(d!==null){d.return=i.return,_t=d;return}_t=i.return}}function wH(e){for(;_t!==null;){var t=_t,n=t.child;switch(t.tag){case p:case j:case O:case ae:{if(t.mode&Kr)try{ys(),$l(on,t,t.return)}finally{bs(t)}else $l(on,t,t.return);break}case m:{Sd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&s0(t,t.return,i);break}case w:{Sd(t,t.return);break}case H:{var c=t.memoizedState!==null;if(c){U4(e);continue}break}}n!==null?(n.return=t,_t=n):U4(e)}}function U4(e){for(;_t!==null;){var t=_t;if(t===e){_t=null;return}var n=t.sibling;if(n!==null){n.return=t.return,_t=n;return}_t=t.return}}function CH(e){for(;_t!==null;){var t=_t,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){V4(e);continue}}n!==null?(n.return=t,_t=n):V4(e)}}function V4(e){for(;_t!==null;){var t=_t;xa(t);try{dH(t)}catch(i){ua(t,t.return,i)}if(_n(),t===e){_t=null;return}var n=t.sibling;if(n!==null){n.return=t.return,_t=n;return}_t=t.return}}function xH(e,t,n,i){_t=t,kH(t,e,n,i)}function kH(e,t,n,i){for(;_t!==null;){var c=_t,d=c.child;(c.subtreeFlags&Uf)!==zt&&d!==null?(d.return=c,_t=d):TH(e,t,n,i)}}function TH(e,t,n,i){for(;_t!==null;){var c=_t;if((c.flags&zl)!==zt){xa(c);try{EH(t,c,n,i)}catch(_){ua(c,c.return,_)}_n()}if(c===e){_t=null;return}var d=c.sibling;if(d!==null){d.return=c.return,_t=d;return}_t=c.return}}function EH(e,t,n,i){switch(t.tag){case p:case j:case ae:{if(t.mode&Kr){Ay();try{$c(En|nn,t)}finally{Dy(t)}}else $c(En|nn,t);break}}}function RH(e){_t=e,DH()}function DH(){for(;_t!==null;){var e=_t,t=e.child;if((_t.flags&xu)!==zt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var c=n[i];_t=c,NH(c,e)}{var d=e.alternate;if(d!==null){var _=d.child;if(_!==null){d.child=null;do{var y=_.sibling;_.sibling=null,_=y}while(_!==null)}}}_t=e}}(e.subtreeFlags&Uf)!==zt&&t!==null?(t.return=e,_t=t):AH()}}function AH(){for(;_t!==null;){var e=_t;(e.flags&zl)!==zt&&(xa(e),LH(e),_n());var t=e.sibling;if(t!==null){t.return=e.return,_t=t;return}_t=e.return}}function LH(e){switch(e.tag){case p:case j:case ae:{e.mode&Kr?(Ay(),$l(En|nn,e,e.return),Dy(e)):$l(En|nn,e,e.return);break}}}function NH(e,t){for(;_t!==null;){var n=_t;xa(n),MH(n,t),_n();var i=n.child;i!==null?(i.return=n,_t=i):OH(e)}}function OH(e){for(;_t!==null;){var t=_t,n=t.sibling,i=t.return;if(P4(t),t===e){_t=null;return}if(n!==null){n.return=i,_t=n;return}_t=i}}function MH(e,t){switch(e.tag){case p:case j:case ae:{e.mode&Kr?(Ay(),$l(En,e,t),Dy(e)):$l(En,e,t);break}}}function PH(e){switch(e.tag){case p:case j:case ae:{try{$c(on|nn,e)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;try{t.componentDidMount()}catch(n){ua(e,e.return,n)}break}}}function IH(e){switch(e.tag){case p:case j:case ae:{try{$c(En|nn,e)}catch(t){ua(e,e.return,t)}break}}}function zH(e){switch(e.tag){case p:case j:case ae:{try{$l(on|nn,e,e.return)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&s0(e,e.return,t);break}}}function BH(e){switch(e.tag){case p:case j:case ae:try{$l(En|nn,e,e.return)}catch(t){ua(e,e.return,t)}}}var FH=0,jH=1,HH=2,UH=3,VH=4;if(typeof Symbol=="function"&&Symbol.for){var Eh=Symbol.for;FH=Eh("selector.component"),jH=Eh("selector.has_pseudo_class"),HH=Eh("selector.role"),UH=Eh("selector.test_id"),VH=Eh("selector.text")}var WH=[];function qH(){WH.forEach(function(e){return e()})}var YH=o.ReactCurrentActQueue;function $H(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function W4(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&YH.current!==null&&u("The current testing environment is not configured to support act(...)"),e}}var GH=Math.ceil,d0=o.ReactCurrentDispatcher,p0=o.ReactCurrentOwner,Ln=o.ReactCurrentBatchConfig,Xl=o.ReactCurrentActQueue,cn=0,q4=1,Nn=2,xl=4,tc=0,Rh=1,Gu=2,m_=3,Dh=4,Y4=5,h0=6,Sr=cn,Xn=null,Aa=null,un=Ie,ws=Ie,m0=Bc(Ie),fn=tc,Ah=null,v0=Ie,v_=Ie,Lh=Ie,__=Ie,Nh=null,wo=null,_0=0,$4=500,G4=1/0,KH=500,rc=null;function Oh(){G4=gn()+KH}function K4(){return G4}var g_=!1,g0=null,wd=null,Ku=!1,Kc=null,Mh=Ie,b0=[],y0=null,XH=50,Ph=0,S0=null,w0=!1,b_=!1,QH=50,Cd=0,y_=null,Ih=ma,S_=Ie,X4=!1;function w_(){return Xn}function Qn(){return(Sr&(Nn|xl))!==cn?gn():(Ih!==ma||(Ih=gn()),Ih)}function Xc(e){var t=e.mode;if((t&yr)===Mt)return qt;if((Sr&Nn)!==cn&&un!==Ie)return Rp(un);var n=HF()!==jF;if(n){if(Ln.transition!==null){var i=Ln.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return S_===yn&&(S_=A3()),S_}var c=Fl();if(c!==yn)return c;var d=k9();return d}function JH(e){var t=e.mode;return(t&yr)===Mt?qt:KI()}function dn(e,t,n,i){wU(),X4&&u("useInsertionEffect must not schedule updates."),w0&&(b_=!0),Dp(e,n,i),(Sr&Nn)!==Ie&&e===Xn?kU(t):(Bl&&O3(e,t,n),TU(t),e===Xn&&((Sr&Nn)===cn&&(Lh=ir(Lh,n)),fn===Dh&&Qc(e,un)),Co(e,i),n===qt&&Sr===cn&&(t.mode&yr)===Mt&&!Xl.isBatchingLegacy&&(Oh(),KC()))}function ZH(e,t,n){var i=e.current;i.lanes=t,Dp(e,t,n),Co(e,n)}function eU(e){return(Sr&Nn)!==cn}function Co(e,t){var n=e.callbackNode;VI(e,t);var i=Vm(e,e===Xn?un:Ie);if(i===Ie){n!==null&&dk(n),e.callbackNode=null,e.callbackPriority=yn;return}var c=Ou(i),d=e.callbackPriority;if(d===c&&!(Xl.current!==null&&n!==D0)){n==null&&d!==qt&&u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&dk(n);var _;if(c===qt)e.tag===Fc?(Xl.isBatchingLegacy!==null&&(Xl.didScheduleLegacyUpdate=!0),CF(Z4.bind(null,e))):GC(Z4.bind(null,e)),Xl.current!==null?Xl.current.push(jc):E9(function(){(Sr&(Nn|xl))===cn&&jc()}),_=null;else{var y;switch(I3(i)){case Bo:y=Fm;break;case Ys:y=_b;break;case $s:y=Du;break;case Ym:y=gb;break;default:y=Du;break}_=A0(y,Q4.bind(null,e))}e.callbackPriority=c,e.callbackNode=_}function Q4(e,t){if(pj(),Ih=ma,S_=Ie,(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");var n=e.callbackNode,i=nc();if(i&&e.callbackNode!==n)return null;var c=Vm(e,e===Xn?un:Ie);if(c===Ie)return null;var d=!Wm(e,c)&&!GI(e,c)&&!t,_=d?uU(e,c):x_(e,c);if(_!==tc){if(_===Gu){var y=jb(e);y!==Ie&&(c=y,_=C0(e,y))}if(_===Rh){var C=Ah;throw Xu(e,Ie),Qc(e,c),Co(e,gn()),C}if(_===h0)Qc(e,c);else{var E=!Wm(e,c),A=e.current.alternate;if(E&&!rU(A)){if(_=x_(e,c),_===Gu){var J=jb(e);J!==Ie&&(c=J,_=C0(e,J))}if(_===Rh){var Q=Ah;throw Xu(e,Ie),Qc(e,c),Co(e,gn()),Q}}e.finishedWork=A,e.finishedLanes=c,tU(e,_,c)}}return Co(e,gn()),e.callbackNode===n?Q4.bind(null,e):null}function C0(e,t){var n=Nh;if($m(e)){var i=Xu(e,t);i.flags|=Hs,vF(e.containerInfo)}var c=x_(e,t);if(c!==Gu){var d=wo;wo=n,d!==null&&J4(d)}return c}function J4(e){wo===null?wo=e:wo.push.apply(wo,e)}function tU(e,t,n){switch(t){case tc:case Rh:throw new Error("Root did not complete. This is a bug in React.");case Gu:{Qu(e,wo,rc);break}case m_:{if(Qc(e,n),R3(n)&&!pk()){var i=_0+$4-gn();if(i>10){var c=Vm(e,Ie);if(c!==Ie)break;var d=e.suspendedLanes;if(!$f(d,n)){var _=Qn();N3(e,d);break}e.timeoutHandle=b1(Qu.bind(null,e,wo,rc),i);break}}Qu(e,wo,rc);break}case Dh:{if(Qc(e,n),$I(n))break;if(!pk()){var y=HI(e,n),C=y,E=gn()-C,A=SU(E)-E;if(A>10){e.timeoutHandle=b1(Qu.bind(null,e,wo,rc),A);break}}Qu(e,wo,rc);break}case Y4:{Qu(e,wo,rc);break}default:throw new Error("Unknown root exit status.")}}function rU(e){for(var t=e;;){if(t.flags&zm){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c],_=d.getSnapshot,y=d.value;try{if(!jo(_(),y))return!1}catch(E){return!1}}}}var C=t.child;if(t.subtreeFlags&zm&&C!==null){C.return=t,t=C;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Qc(e,t){t=qm(t,__),t=qm(t,Lh),QI(e,t)}function Z4(e){if(hj(),(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");nc();var t=Vm(e,Ie);if(!zo(t,qt))return Co(e,gn()),null;var n=x_(e,t);if(e.tag!==Fc&&n===Gu){var i=jb(e);i!==Ie&&(t=i,n=C0(e,i))}if(n===Rh){var c=Ah;throw Xu(e,Ie),Qc(e,t),Co(e,gn()),c}if(n===h0)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,Qu(e,wo,rc),Co(e,gn()),null}function aU(e,t){t!==Ie&&(Wb(e,ir(t,qt)),Co(e,gn()),(Sr&(Nn|xl))===cn&&(Oh(),jc()))}function x0(e,t){var n=Sr;Sr|=q4;try{return e(t)}finally{Sr=n,Sr===cn&&!Xl.isBatchingLegacy&&(Oh(),KC())}}function nU(e,t,n,i,c){var d=Fl(),_=Ln.transition;try{return Ln.transition=null,Sn(Bo),e(t,n,i,c)}finally{Sn(d),Ln.transition=_,Sr===cn&&Oh()}}function ac(e){Kc!==null&&Kc.tag===Fc&&(Sr&(Nn|xl))===cn&&nc();var t=Sr;Sr|=q4;var n=Ln.transition,i=Fl();try{return Ln.transition=null,Sn(Bo),e?e():void 0}finally{Sn(i),Ln.transition=n,Sr=t,(Sr&(Nn|xl))===cn&&jc()}}function ek(){return(Sr&(Nn|xl))!==cn}function C_(e,t){Bn(m0,ws,e),ws=ir(ws,t),v0=ir(v0,t)}function k0(e){ws=m0.current,zn(m0,e)}function Xu(e,t){e.finishedWork=null,e.finishedLanes=Ie;var n=e.timeoutHandle;if(n!==y1&&(e.timeoutHandle=y1,T9(n)),Aa!==null)for(var i=Aa.return;i!==null;){var c=i.alternate;R4(c,i),i=i.return}Xn=e;var d=Ju(e.current,null);return Aa=d,un=ws=v0=t,fn=tc,Ah=null,v_=Ie,Lh=Ie,__=Ie,Nh=null,wo=null,GF(),Ul.discardPendingWarnings(),d}function tk(e,t){do{var n=Aa;try{if(Ov(),xx(),_n(),p0.current=null,n===null||n.return===null){fn=Rh,Ah=t,Aa=null;return}if(rt&&n.mode&Kr&&s_(n,!0),Ge)if(Vf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;DI(n,i,un)}else RI(n,t,un);Cj(e,n.return,n,t,un),ok(n)}catch(c){t=c,Aa===n&&n!==null?(n=n.return,Aa=n):n=Aa;continue}return}while(!0)}function rk(){var e=d0.current;return d0.current=a_,e===null?a_:e}function ak(e){d0.current=e}function oU(){_0=gn()}function zh(e){v_=ir(e,v_)}function iU(){fn===tc&&(fn=m_)}function T0(){(fn===tc||fn===m_||fn===Gu)&&(fn=Dh),Xn!==null&&(Hb(v_)||Hb(Lh))&&Qc(Xn,un)}function lU(e){fn!==Dh&&(fn=Gu),Nh===null?Nh=[e]:Nh.push(e)}function sU(){return fn===tc}function x_(e,t){var n=Sr;Sr|=Nn;var i=rk();if(Xn!==e||un!==t){if(Bl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,un),c.clear()),M3(e,t)}rc=P3(),Xu(e,t)}C3(t);do try{cU();break}catch(d){tk(e,d)}while(!0);if(Ov(),Sr=n,ak(i),Aa!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return x3(),Xn=null,un=Ie,fn}function cU(){for(;Aa!==null;)nk(Aa)}function uU(e,t){var n=Sr;Sr|=Nn;var i=rk();if(Xn!==e||un!==t){if(Bl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,un),c.clear()),M3(e,t)}rc=P3(),Oh(),Xu(e,t)}C3(t);do try{fU();break}catch(d){tk(e,d)}while(!0);return Ov(),ak(i),Sr=n,Aa!==null?(MI(),tc):(x3(),Xn=null,un=Ie,fn)}function fU(){for(;Aa!==null&&!sI();)nk(Aa)}function nk(e){var t=e.alternate;xa(e);var n;(e.mode&Kr)!==Mt?(Ry(e),n=E0(t,e,ws),s_(e,!0)):n=E0(t,e,ws),_n(),e.memoizedProps=e.pendingProps,n===null?ok(e):Aa=n,p0.current=null}function ok(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&yp)===zt){xa(t);var c=void 0;if((t.mode&Kr)===Mt?c=E4(n,t,ws):(Ry(t),c=E4(n,t,ws),s_(t,!1)),_n(),c!==null){Aa=c;return}}else{var d=tH(n,t);if(d!==null){d.flags&=rI,Aa=d;return}if((t.mode&Kr)!==Mt){s_(t,!1);for(var _=t.actualDuration,y=t.child;y!==null;)_+=y.actualDuration,y=y.sibling;t.actualDuration=_}if(i!==null)i.flags|=yp,i.subtreeFlags=zt,i.deletions=null;else{fn=h0,Aa=null;return}}var C=t.sibling;if(C!==null){Aa=C;return}t=i,Aa=t}while(t!==null);fn===tc&&(fn=Y4)}function Qu(e,t,n){var i=Fl(),c=Ln.transition;try{Ln.transition=null,Sn(Bo),dU(e,t,n,i)}finally{Ln.transition=c,Sn(i)}return null}function dU(e,t,n,i){do nc();while(Kc!==null);if(CU(),(Sr&(Nn|xl))!==cn)throw new Error("Should not already be working.");var c=e.finishedWork,d=e.finishedLanes;if(SI(d),c===null)return y3(),null;if(d===Ie&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ie,c===e.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.");e.callbackNode=null,e.callbackPriority=yn;var _=ir(c.lanes,c.childLanes);JI(e,_),e===Xn&&(Xn=null,Aa=null,un=Ie),((c.subtreeFlags&Uf)!==zt||(c.flags&Uf)!==zt)&&(Ku||(Ku=!0,y0=n,A0(Du,function(){return nc(),null})));var y=(c.subtreeFlags&(mb|vb|Sp|Uf))!==zt,C=(c.flags&(mb|vb|Sp|Uf))!==zt;if(y||C){var E=Ln.transition;Ln.transition=null;var A=Fl();Sn(Bo);var J=Sr;Sr|=xl,p0.current=null;var Q=iH(e,c);Kx(),yH(e,c,d),b9(e.containerInfo),e.current=c,AI(d),SH(c,e,d),LI(),cI(),Sr=J,Sn(A),Ln.transition=E}else e.current=c,Kx();var ve=Ku;if(Ku?(Ku=!1,Kc=e,Mh=d):(Cd=0,y_=null),_=e.pendingLanes,_===Ie&&(wd=null),ve||ck(e.current,!1),vI(c.stateNode,i),Bl&&e.memoizedUpdaters.clear(),qH(),Co(e,gn()),t!==null)for(var _e=e.onRecoverableError,xe=0;xe<t.length;xe++){var at=t[xe],Dt=at.stack,St=at.digest;_e(at.value,{componentStack:Dt,digest:St})}if(g_){g_=!1;var hr=g0;throw g0=null,hr}return zo(Mh,qt)&&e.tag!==Fc&&nc(),_=e.pendingLanes,zo(_,qt)?(dj(),e===S0?Ph++:(Ph=0,S0=e)):Ph=0,jc(),y3(),null}function nc(){if(Kc!==null){var e=I3(Mh),t=rz($s,e),n=Ln.transition,i=Fl();try{return Ln.transition=null,Sn(t),hU()}finally{Sn(i),Ln.transition=n}}return!1}function pU(e){b0.push(e),Ku||(Ku=!0,A0(Du,function(){return nc(),null}))}function hU(){if(Kc===null)return!1;var e=y0;y0=null;var t=Kc,n=Mh;if(Kc=null,Mh=Ie,(Sr&(Nn|xl))!==cn)throw new Error("Cannot flush passive effects while already rendering.");w0=!0,b_=!1,NI(n);var i=Sr;Sr|=xl,RH(t.current),xH(t,t.current,n,e);{var c=b0;b0=[];for(var d=0;d<c.length;d++){var _=c[d];uH(t,_)}}OI(),ck(t.current,!0),Sr=i,jc(),b_?t===y_?Cd++:(Cd=0,y_=t):Cd=0,w0=!1,b_=!1,_I(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ik(e){return wd!==null&&wd.has(e)}function mU(e){wd===null?wd=new Set([e]):wd.add(e)}function vU(e){g_||(g_=!0,g0=e)}var _U=vU;function lk(e,t,n){var i=Yu(n,t),c=a4(e,i,qt),d=Uc(e,c,qt),_=Qn();d!==null&&(Dp(d,qt,_),Co(d,_))}function ua(e,t,n){if(aH(n),Fh(!1),e.tag===b){lk(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){lk(i,e,n);return}else if(i.tag===m){var c=i.type,d=i.stateNode;if(typeof c.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!ik(d)){var _=Yu(n,e),y=Yy(i,_,qt),C=Uc(i,y,qt),E=Qn();C!==null&&(Dp(C,qt,E),Co(C,E));return}}i=i.return}u(`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.
116
116
 
117
117
  Error message:
118
118
 
@@ -134,37 +134,37 @@ act(() => {
134
134
  });
135
135
  /* assert on the output */
136
136
 
137
- 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 Fh(e){X4=e}var kl=null,xd=null,RU=function(e){kl=e};function kd(e){{if(kl===null)return e;var t=kl(e);return t===void 0?e:t.current}}function L0(e){return kd(e)}function N0(e){{if(kl===null)return e;var t=kl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=kd(e.render);if(e.render!==n){var i={$$typeof:pe,render:n};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function hk(e,t){{if(kl===null)return!1;var n=e.elementType,i=t.type,c=!1,d=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case m:{typeof i=="function"&&(c=!0);break}case p:{(typeof i=="function"||d===Ze)&&(c=!0);break}case j:{(d===pe||d===Ze)&&(c=!0);break}case O:case ae:{(d===ft||d===Ze)&&(c=!0);break}default:return!1}if(c){var _=kl(n);if(_!==void 0&&_===kl(i))return!0}return!1}}function mk(e){{if(kl===null||typeof WeakSet!="function")return;xd===null&&(xd=new WeakSet),xd.add(e)}}var DU=function(e,t){{if(kl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;nc(),ac(function(){O0(e.current,i,n)})}},AU=function(e,t){{if(e.context!==Ho)return;nc(),ac(function(){jh(t,e,null,null)})}};function O0(e,t,n){{var i=e.alternate,c=e.child,d=e.sibling,_=e.tag,y=e.type,C=null;switch(_){case p:case ae:case m:C=y;break;case j:C=y.render;break}if(kl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,A=!1;if(C!==null){var J=kl(C);J!==void 0&&(n.has(J)?A=!0:t.has(J)&&(_===m?A=!0:E=!0))}if(xd!==null&&(xd.has(e)||i!==null&&xd.has(i))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||E){var Q=yo(e,qt);Q!==null&&dn(Q,e,qt,ma)}c!==null&&!A&&O0(c,t,n),d!==null&&O0(d,t,n)}}var LU=function(e,t){{var n=new Set,i=new Set(t.map(function(c){return c.current}));return M0(e.current,i,n),n}};function M0(e,t,n){{var i=e.child,c=e.sibling,d=e.tag,_=e.type,y=null;switch(d){case p:case ae:case m:y=_;break;case j:y=_.render;break}var C=!1;y!==null&&t.has(y)&&(C=!0),C?NU(e,n):i!==null&&M0(i,t,n),c!==null&&M0(c,t,n)}}function NU(e,t){{var n=OU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case w:t.add(i.stateNode);return;case S:t.add(i.stateNode.containerInfo);return;case b:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function OU(e,t){for(var n=e,i=!1;;){if(n.tag===w)i=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return i;for(;n.sibling===null;){if(n.return===null||n.return===e)return i;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var P0;{P0=!1;try{var vk=Object.preventExtensions({})}catch(e){P0=!0}}function MU(e,t,n,i){this.tag=e,this.key=n,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=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=zt,this.subtreeFlags=zt,this.deletions=null,this.lanes=Ie,this.childLanes=Ie,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,!P0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Uo=function(e,t,n,i){return new MU(e,t,n,i)};function I0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function PU(e){return typeof e=="function"&&!I0(e)&&e.defaultProps===void 0}function IU(e){if(typeof e=="function")return I0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return j;if(t===ft)return O}return g}function Ju(e,t){var n=e.alternate;n===null?(n=Uo(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=zt,n.subtreeFlags=zt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Ws,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var i=e.dependencies;switch(n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case g:case p:case ae:n.type=kd(e.type);break;case m:n.type=L0(e.type);break;case j:n.type=N0(e.type);break}return n}function zU(e,t){e.flags&=Ws|Qa;var n=e.alternate;if(n===null)e.childLanes=Ie,e.lanes=t,e.child=null,e.subtreeFlags=zt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=zt,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var i=n.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function BU(e,t,n){var i;return e===Cv?(i=yr,t===!0&&(i|=Pa,i|=fs)):i=Mt,Bl&&(i|=Kr),Uo(b,null,null,i)}function z0(e,t,n,i,c,d){var _=g,y=e;if(typeof e=="function")I0(e)?(_=m,y=L0(y)):y=kd(y);else if(typeof e=="string")_=w;else e:switch(e){case ce:return Jc(n.children,c,d,t);case Ve:_=N,c|=Pa,(c&yr)!==Mt&&(c|=fs);break;case Be:return FU(n,c,d,t);case Te:return jU(n,c,d,t);case He:return HU(n,c,d,t);case Et:return _k(n,c,d,t);case Wt:case Ke:case $r:case Ua:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:_=M;break e;case q:_=Y;break e;case pe:_=j,y=N0(y);break e;case ft:_=O;break e;case Ze:_=ge,y=null;break e}var C="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(C+=" 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 E=i?rr(i):null;E&&(C+=`
137
+ 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 Fh(e){X4=e}var kl=null,xd=null,RU=function(e){kl=e};function kd(e){{if(kl===null)return e;var t=kl(e);return t===void 0?e:t.current}}function L0(e){return kd(e)}function N0(e){{if(kl===null)return e;var t=kl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=kd(e.render);if(e.render!==n){var i={$$typeof:pe,render:n};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function hk(e,t){{if(kl===null)return!1;var n=e.elementType,i=t.type,c=!1,d=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case m:{typeof i=="function"&&(c=!0);break}case p:{(typeof i=="function"||d===Ze)&&(c=!0);break}case j:{(d===pe||d===Ze)&&(c=!0);break}case O:case ae:{(d===ft||d===Ze)&&(c=!0);break}default:return!1}if(c){var _=kl(n);if(_!==void 0&&_===kl(i))return!0}return!1}}function mk(e){{if(kl===null||typeof WeakSet!="function")return;xd===null&&(xd=new WeakSet),xd.add(e)}}var DU=function(e,t){{if(kl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;nc(),ac(function(){O0(e.current,i,n)})}},AU=function(e,t){{if(e.context!==Ho)return;nc(),ac(function(){jh(t,e,null,null)})}};function O0(e,t,n){{var i=e.alternate,c=e.child,d=e.sibling,_=e.tag,y=e.type,C=null;switch(_){case p:case ae:case m:C=y;break;case j:C=y.render;break}if(kl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,A=!1;if(C!==null){var J=kl(C);J!==void 0&&(n.has(J)?A=!0:t.has(J)&&(_===m?A=!0:E=!0))}if(xd!==null&&(xd.has(e)||i!==null&&xd.has(i))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||E){var Q=yo(e,qt);Q!==null&&dn(Q,e,qt,ma)}c!==null&&!A&&O0(c,t,n),d!==null&&O0(d,t,n)}}var LU=function(e,t){{var n=new Set,i=new Set(t.map(function(c){return c.current}));return M0(e.current,i,n),n}};function M0(e,t,n){{var i=e.child,c=e.sibling,d=e.tag,_=e.type,y=null;switch(d){case p:case ae:case m:y=_;break;case j:y=_.render;break}var C=!1;y!==null&&t.has(y)&&(C=!0),C?NU(e,n):i!==null&&M0(i,t,n),c!==null&&M0(c,t,n)}}function NU(e,t){{var n=OU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case w:t.add(i.stateNode);return;case S:t.add(i.stateNode.containerInfo);return;case b:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function OU(e,t){for(var n=e,i=!1;;){if(n.tag===w)i=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return i;for(;n.sibling===null;){if(n.return===null||n.return===e)return i;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var P0;{P0=!1;try{var vk=Object.preventExtensions({})}catch(e){P0=!0}}function MU(e,t,n,i){this.tag=e,this.key=n,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=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=zt,this.subtreeFlags=zt,this.deletions=null,this.lanes=Ie,this.childLanes=Ie,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,!P0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Uo=function(e,t,n,i){return new MU(e,t,n,i)};function I0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function PU(e){return typeof e=="function"&&!I0(e)&&e.defaultProps===void 0}function IU(e){if(typeof e=="function")return I0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return j;if(t===ft)return O}return g}function Ju(e,t){var n=e.alternate;n===null?(n=Uo(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=zt,n.subtreeFlags=zt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Ws,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var i=e.dependencies;switch(n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case g:case p:case ae:n.type=kd(e.type);break;case m:n.type=L0(e.type);break;case j:n.type=N0(e.type);break}return n}function zU(e,t){e.flags&=Ws|Ja;var n=e.alternate;if(n===null)e.childLanes=Ie,e.lanes=t,e.child=null,e.subtreeFlags=zt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=zt,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var i=n.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function BU(e,t,n){var i;return e===Cv?(i=yr,t===!0&&(i|=Pa,i|=ds)):i=Mt,Bl&&(i|=Kr),Uo(b,null,null,i)}function z0(e,t,n,i,c,d){var _=g,y=e;if(typeof e=="function")I0(e)?(_=m,y=L0(y)):y=kd(y);else if(typeof e=="string")_=w;else e:switch(e){case ce:return Jc(n.children,c,d,t);case Ve:_=N,c|=Pa,(c&yr)!==Mt&&(c|=ds);break;case Be:return FU(n,c,d,t);case Te:return jU(n,c,d,t);case He:return HU(n,c,d,t);case Et:return _k(n,c,d,t);case Wt:case Ke:case $r:case Va:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:_=M;break e;case q:_=Y;break e;case pe:_=j,y=N0(y);break e;case ft:_=O;break e;case Ze:_=ge,y=null;break e}var C="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(C+=" 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 E=i?rr(i):null;E&&(C+=`
138
138
 
139
- Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+C))}}var A=Uo(_,n,t,c);return A.elementType=e,A.type=y,A.lanes=d,A._debugOwner=i,A}function B0(e,t,n){var i=null;i=e._owner;var c=e.type,d=e.key,_=e.props,y=z0(c,d,_,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Jc(e,t,n,i){var c=Uo(L,e,i,t);return c.lanes=n,c}function FU(e,t,n,i){typeof e.id!="string"&&u('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var c=Uo(F,e,i,t|Kr);return c.elementType=Be,c.lanes=n,c.stateNode={effectDuration:0,passiveEffectDuration:0},c}function jU(e,t,n,i){var c=Uo(Z,e,i,t);return c.elementType=Te,c.lanes=n,c}function HU(e,t,n,i){var c=Uo(be,e,i,t);return c.elementType=He,c.lanes=n,c}function _k(e,t,n,i){var c=Uo(H,e,i,t);c.elementType=Et,c.lanes=n;var d={isHidden:!1};return c.stateNode=d,c}function F0(e,t,n){var i=Uo(k,e,null,t);return i.lanes=n,i}function UU(){var e=Uo(w,null,null,Mt);return e.elementType="DELETED",e}function VU(e){var t=Uo(ye,null,null,Mt);return t.stateNode=e,t}function j0(e,t,n){var i=e.children!==null?e.children:[],c=Uo(S,i,e.key,t);return c.lanes=n,c.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},c}function gk(e,t){return e===null&&(e=Uo(g,null,null,Mt)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function WU(e,t,n,i,c){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=y1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=yn,this.eventTimes=Vb(Ie),this.expirationTimes=Vb(ma),this.pendingLanes=Ie,this.suspendedLanes=Ie,this.pingedLanes=Ie,this.expiredLanes=Ie,this.mutableReadLanes=Ie,this.finishedLanes=Ie,this.entangledLanes=Ie,this.entanglements=Vb(Ie),this.identifierPrefix=i,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],_=0;_<yb;_++)d.push(new Set)}switch(t){case Cv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Fc:this._debugRootType=n?"hydrate()":"render()";break}}function bk(e,t,n,i,c,d,_,y,C,E){var A=new WU(e,t,n,y,C),J=BU(t,d);A.current=J,J.stateNode=A;{var Q={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};J.memoizedState=Q}return J1(J),A}var H0="18.3.1";function qU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return dr(i),{$$typeof:re,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var U0,V0;U0=!1,V0={};function yk(e){if(!e)return Ho;var t=jf(e),n=wF(t);if(t.tag===m){var i=t.type;if(hs(i))return YC(t,i,n)}return n}function YU(e,t){{var n=jf(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var c=v3(n);if(c===null)return null;if(c.mode&Pa){var d=rr(n)||"Component";if(!V0[d]){V0[d]=!0;var _=In;try{xa(c),n.mode&Pa?u("%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",t,t,d):u("%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",t,t,d)}finally{_?xa(_):_n()}}}return c.stateNode}}function Sk(e,t,n,i,c,d,_,y){var C=!1,E=null;return bk(e,t,C,E,n,i,c,d,_)}function wk(e,t,n,i,c,d,_,y,C,E){var A=!0,J=bk(n,i,A,e,c,d,_,y,C);J.context=yk(null);var Q=J.current,ve=Qn(),_e=Xc(Q),xe=Zs(ve,_e);return xe.callback=t!=null?t:null,Uc(Q,xe,_e),ZH(J,_e,ve),J}function jh(e,t,n,i){mI(t,e);var c=t.current,d=Qn(),_=Xc(c);PI(_);var y=yk(n);t.context===null?t.context=y:t.pendingContext=y,Ec&&In!==null&&!U0&&(U0=!0,u(`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.
139
+ Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+C))}}var A=Uo(_,n,t,c);return A.elementType=e,A.type=y,A.lanes=d,A._debugOwner=i,A}function B0(e,t,n){var i=null;i=e._owner;var c=e.type,d=e.key,_=e.props,y=z0(c,d,_,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Jc(e,t,n,i){var c=Uo(L,e,i,t);return c.lanes=n,c}function FU(e,t,n,i){typeof e.id!="string"&&u('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var c=Uo(F,e,i,t|Kr);return c.elementType=Be,c.lanes=n,c.stateNode={effectDuration:0,passiveEffectDuration:0},c}function jU(e,t,n,i){var c=Uo(Z,e,i,t);return c.elementType=Te,c.lanes=n,c}function HU(e,t,n,i){var c=Uo(be,e,i,t);return c.elementType=He,c.lanes=n,c}function _k(e,t,n,i){var c=Uo(H,e,i,t);c.elementType=Et,c.lanes=n;var d={isHidden:!1};return c.stateNode=d,c}function F0(e,t,n){var i=Uo(k,e,null,t);return i.lanes=n,i}function UU(){var e=Uo(w,null,null,Mt);return e.elementType="DELETED",e}function VU(e){var t=Uo(ye,null,null,Mt);return t.stateNode=e,t}function j0(e,t,n){var i=e.children!==null?e.children:[],c=Uo(S,i,e.key,t);return c.lanes=n,c.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},c}function gk(e,t){return e===null&&(e=Uo(g,null,null,Mt)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function WU(e,t,n,i,c){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=y1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=yn,this.eventTimes=Vb(Ie),this.expirationTimes=Vb(ma),this.pendingLanes=Ie,this.suspendedLanes=Ie,this.pingedLanes=Ie,this.expiredLanes=Ie,this.mutableReadLanes=Ie,this.finishedLanes=Ie,this.entangledLanes=Ie,this.entanglements=Vb(Ie),this.identifierPrefix=i,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],_=0;_<yb;_++)d.push(new Set)}switch(t){case Cv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Fc:this._debugRootType=n?"hydrate()":"render()";break}}function bk(e,t,n,i,c,d,_,y,C,E){var A=new WU(e,t,n,y,C),J=BU(t,d);A.current=J,J.stateNode=A;{var Q={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};J.memoizedState=Q}return J1(J),A}var H0="18.3.1";function qU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return dr(i),{$$typeof:re,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var U0,V0;U0=!1,V0={};function yk(e){if(!e)return Ho;var t=jf(e),n=wF(t);if(t.tag===m){var i=t.type;if(ms(i))return YC(t,i,n)}return n}function YU(e,t){{var n=jf(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var c=v3(n);if(c===null)return null;if(c.mode&Pa){var d=rr(n)||"Component";if(!V0[d]){V0[d]=!0;var _=In;try{xa(c),n.mode&Pa?u("%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",t,t,d):u("%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",t,t,d)}finally{_?xa(_):_n()}}}return c.stateNode}}function Sk(e,t,n,i,c,d,_,y){var C=!1,E=null;return bk(e,t,C,E,n,i,c,d,_)}function wk(e,t,n,i,c,d,_,y,C,E){var A=!0,J=bk(n,i,A,e,c,d,_,y,C);J.context=yk(null);var Q=J.current,ve=Qn(),_e=Xc(Q),xe=Zs(ve,_e);return xe.callback=t!=null?t:null,Uc(Q,xe,_e),ZH(J,_e,ve),J}function jh(e,t,n,i){mI(t,e);var c=t.current,d=Qn(),_=Xc(c);PI(_);var y=yk(n);t.context===null?t.context=y:t.pendingContext=y,Ec&&In!==null&&!U0&&(U0=!0,u(`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.
140
140
 
141
- Check the render method of %s.`,rr(In)||"Unknown"));var C=Zs(d,_);C.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),C.callback=i);var E=Uc(c,C,_);return E!==null&&(dn(E,c,_,d),Bv(E,c,_)),_}function E_(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case w:return t.child.stateNode;default:return t.child.stateNode}}function $U(e){switch(e.tag){case b:{var t=e.stateNode;if($m(t)){var n=WI(t);aU(t,n)}break}case Z:{ac(function(){var c=yo(e,qt);if(c!==null){var d=Qn();dn(c,e,qt,d)}});var i=qt;W0(e,i);break}}}function Ck(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=XI(n.retryLane,t))}function W0(e,t){Ck(e,t);var n=e.alternate;n&&Ck(n,t)}function GU(e){if(e.tag===Z){var t=kp,n=yo(e,t);if(n!==null){var i=Qn();dn(n,e,t,i)}W0(e,t)}}function KU(e){if(e.tag===Z){var t=Xc(e),n=yo(e,t);if(n!==null){var i=Qn();dn(n,e,t,i)}W0(e,t)}}function xk(e){var t=iI(e);return t===null?null:t.stateNode}var kk=function(e){return null};function XU(e){return kk(e)}var Tk=function(e){return!1};function QU(e){return Tk(e)}var Ek=null,Rk=null,Dk=null,Ak=null,Lk=null,Nk=null,Ok=null,Mk=null,Pk=null;{var Ik=function(e,t,n){var i=t[n],c=an(e)?e.slice():Ot({},e);return n+1===t.length?(an(c)?c.splice(i,1):delete c[i],c):(c[i]=Ik(e[i],t,n+1),c)},zk=function(e,t){return Ik(e,t,0)},Bk=function(e,t,n,i){var c=t[i],d=an(e)?e.slice():Ot({},e);if(i+1===t.length){var _=n[i];d[_]=d[c],an(d)?d.splice(c,1):delete d[c]}else d[c]=Bk(e[c],t,n,i+1);return d},Fk=function(e,t,n){if(t.length!==n.length){f("copyWithRename() expects paths of the same length");return}else for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){f("copyWithRename() expects paths to be the same except for the deepest key");return}return Bk(e,t,n,0)},jk=function(e,t,n,i){if(n>=t.length)return i;var c=t[n],d=an(e)?e.slice():Ot({},e);return d[c]=jk(e[c],t,n+1,i),d},Hk=function(e,t,n){return jk(e,t,0,n)},q0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};Ek=function(e,t,n,i){var c=q0(e,t);if(c!==null){var d=Hk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Ot({},e.memoizedProps);var _=yo(e,qt);_!==null&&dn(_,e,qt,ma)}},Rk=function(e,t,n){var i=q0(e,t);if(i!==null){var c=zk(i.memoizedState,n);i.memoizedState=c,i.baseState=c,e.memoizedProps=Ot({},e.memoizedProps);var d=yo(e,qt);d!==null&&dn(d,e,qt,ma)}},Dk=function(e,t,n,i){var c=q0(e,t);if(c!==null){var d=Fk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Ot({},e.memoizedProps);var _=yo(e,qt);_!==null&&dn(_,e,qt,ma)}},Ak=function(e,t,n){e.pendingProps=Hk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=yo(e,qt);i!==null&&dn(i,e,qt,ma)},Lk=function(e,t){e.pendingProps=zk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=yo(e,qt);n!==null&&dn(n,e,qt,ma)},Nk=function(e,t,n){e.pendingProps=Fk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=yo(e,qt);i!==null&&dn(i,e,qt,ma)},Ok=function(e){var t=yo(e,qt);t!==null&&dn(t,e,qt,ma)},Mk=function(e){kk=e},Pk=function(e){Tk=e}}function JU(e){var t=v3(e);return t===null?null:t.stateNode}function ZU(e){return null}function eV(){return In}function tV(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return hI({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Ek,overrideHookStateDeletePath:Rk,overrideHookStateRenamePath:Dk,overrideProps:Ak,overridePropsDeletePath:Lk,overridePropsRenamePath:Nk,setErrorHandler:Mk,setSuspenseHandler:Pk,scheduleUpdate:Ok,currentDispatcherRef:n,findHostInstanceByFiber:JU,findFiberByHostInstance:t||ZU,findHostInstancesForRefresh:LU,scheduleRefresh:DU,scheduleRoot:AU,setRefreshHandler:RU,getCurrentFiber:eV,reconcilerVersion:H0})}var Uk=typeof reportError=="function"?reportError:function(e){console.error(e)};function Y0(e){this._internalRoot=e}R_.prototype.render=Y0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):D_(arguments[1])?u("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]!="undefined"&&u("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Xa){var i=xk(t.current);i&&i.parentNode!==n&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}jh(e,t,null,null)},R_.prototype.unmount=Y0.prototype.unmount=function(){typeof arguments[0]=="function"&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ek()&&u("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ac(function(){jh(null,e,null,null)}),HC(t)}};function rV(e,t){if(!D_(e))throw new Error("createRoot(...): Target container is not a DOM element.");Vk(e);var n=!1,i=!1,c="",d=Uk,_=null;t!=null&&(t.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===V&&u(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
141
+ Check the render method of %s.`,rr(In)||"Unknown"));var C=Zs(d,_);C.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),C.callback=i);var E=Uc(c,C,_);return E!==null&&(dn(E,c,_,d),Bv(E,c,_)),_}function E_(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case w:return t.child.stateNode;default:return t.child.stateNode}}function $U(e){switch(e.tag){case b:{var t=e.stateNode;if($m(t)){var n=WI(t);aU(t,n)}break}case Z:{ac(function(){var c=yo(e,qt);if(c!==null){var d=Qn();dn(c,e,qt,d)}});var i=qt;W0(e,i);break}}}function Ck(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=XI(n.retryLane,t))}function W0(e,t){Ck(e,t);var n=e.alternate;n&&Ck(n,t)}function GU(e){if(e.tag===Z){var t=kp,n=yo(e,t);if(n!==null){var i=Qn();dn(n,e,t,i)}W0(e,t)}}function KU(e){if(e.tag===Z){var t=Xc(e),n=yo(e,t);if(n!==null){var i=Qn();dn(n,e,t,i)}W0(e,t)}}function xk(e){var t=iI(e);return t===null?null:t.stateNode}var kk=function(e){return null};function XU(e){return kk(e)}var Tk=function(e){return!1};function QU(e){return Tk(e)}var Ek=null,Rk=null,Dk=null,Ak=null,Lk=null,Nk=null,Ok=null,Mk=null,Pk=null;{var Ik=function(e,t,n){var i=t[n],c=an(e)?e.slice():Ot({},e);return n+1===t.length?(an(c)?c.splice(i,1):delete c[i],c):(c[i]=Ik(e[i],t,n+1),c)},zk=function(e,t){return Ik(e,t,0)},Bk=function(e,t,n,i){var c=t[i],d=an(e)?e.slice():Ot({},e);if(i+1===t.length){var _=n[i];d[_]=d[c],an(d)?d.splice(c,1):delete d[c]}else d[c]=Bk(e[c],t,n,i+1);return d},Fk=function(e,t,n){if(t.length!==n.length){f("copyWithRename() expects paths of the same length");return}else for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){f("copyWithRename() expects paths to be the same except for the deepest key");return}return Bk(e,t,n,0)},jk=function(e,t,n,i){if(n>=t.length)return i;var c=t[n],d=an(e)?e.slice():Ot({},e);return d[c]=jk(e[c],t,n+1,i),d},Hk=function(e,t,n){return jk(e,t,0,n)},q0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};Ek=function(e,t,n,i){var c=q0(e,t);if(c!==null){var d=Hk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Ot({},e.memoizedProps);var _=yo(e,qt);_!==null&&dn(_,e,qt,ma)}},Rk=function(e,t,n){var i=q0(e,t);if(i!==null){var c=zk(i.memoizedState,n);i.memoizedState=c,i.baseState=c,e.memoizedProps=Ot({},e.memoizedProps);var d=yo(e,qt);d!==null&&dn(d,e,qt,ma)}},Dk=function(e,t,n,i){var c=q0(e,t);if(c!==null){var d=Fk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Ot({},e.memoizedProps);var _=yo(e,qt);_!==null&&dn(_,e,qt,ma)}},Ak=function(e,t,n){e.pendingProps=Hk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=yo(e,qt);i!==null&&dn(i,e,qt,ma)},Lk=function(e,t){e.pendingProps=zk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=yo(e,qt);n!==null&&dn(n,e,qt,ma)},Nk=function(e,t,n){e.pendingProps=Fk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=yo(e,qt);i!==null&&dn(i,e,qt,ma)},Ok=function(e){var t=yo(e,qt);t!==null&&dn(t,e,qt,ma)},Mk=function(e){kk=e},Pk=function(e){Tk=e}}function JU(e){var t=v3(e);return t===null?null:t.stateNode}function ZU(e){return null}function eV(){return In}function tV(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return hI({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Ek,overrideHookStateDeletePath:Rk,overrideHookStateRenamePath:Dk,overrideProps:Ak,overridePropsDeletePath:Lk,overridePropsRenamePath:Nk,setErrorHandler:Mk,setSuspenseHandler:Pk,scheduleUpdate:Ok,currentDispatcherRef:n,findHostInstanceByFiber:JU,findFiberByHostInstance:t||ZU,findHostInstancesForRefresh:LU,scheduleRefresh:DU,scheduleRoot:AU,setRefreshHandler:RU,getCurrentFiber:eV,reconcilerVersion:H0})}var Uk=typeof reportError=="function"?reportError:function(e){console.error(e)};function Y0(e){this._internalRoot=e}R_.prototype.render=Y0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):D_(arguments[1])?u("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]!="undefined"&&u("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Qa){var i=xk(t.current);i&&i.parentNode!==n&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}jh(e,t,null,null)},R_.prototype.unmount=Y0.prototype.unmount=function(){typeof arguments[0]=="function"&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ek()&&u("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ac(function(){jh(null,e,null,null)}),HC(t)}};function rV(e,t){if(!D_(e))throw new Error("createRoot(...): Target container is not a DOM element.");Vk(e);var n=!1,i=!1,c="",d=Uk,_=null;t!=null&&(t.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===V&&u(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
142
142
 
143
143
  let root = createRoot(domContainer);
144
- root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(_=t.transitionCallbacks));var y=Sk(e,Cv,null,n,i,c,d);vv(y.current,e);var C=e.nodeType===Xa?e.parentNode:e;return Yp(C),new Y0(y)}function R_(e){this._internalRoot=e}function aV(e){e&&pz(e)}R_.prototype.unstable_scheduleHydration=aV;function nV(e,t,n){if(!D_(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Vk(e),t===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,c=n!=null&&n.hydratedSources||null,d=!1,_=!1,y="",C=Uk;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var E=wk(t,null,e,Cv,i,d,_,y,C);if(vv(E.current,e),Yp(e),c)for(var A=0;A<c.length;A++){var J=c[A];aj(E,J)}return new R_(E)}function D_(e){return!!(e&&(e.nodeType===go||e.nodeType===js||e.nodeType===Jg||!Se))}function Hh(e){return!!(e&&(e.nodeType===go||e.nodeType===js||e.nodeType===Jg||e.nodeType===Xa&&e.nodeValue===" react-mount-point-unstable "))}function Vk(e){e.nodeType===go&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),ah(e)&&(e._reactRootContainer?u("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):u("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var oV=o.ReactCurrentOwner,Wk;Wk=function(e){if(e._reactRootContainer&&e.nodeType!==Xa){var t=xk(e._reactRootContainer.current);t&&t.parentNode!==e&&u("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,i=$0(e),c=!!(i&&zc(i));c&&!n&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===go&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function $0(e){return e?e.nodeType===js?e.documentElement:e.firstChild:null}function qk(){}function iV(e,t,n,i,c){if(c){if(typeof i=="function"){var d=i;i=function(){var Q=E_(_);d.call(Q)}}var _=wk(t,i,e,Fc,null,!1,!1,"",qk);e._reactRootContainer=_,vv(_.current,e);var y=e.nodeType===Xa?e.parentNode:e;return Yp(y),ac(),_}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof i=="function"){var E=i;i=function(){var Q=E_(A);E.call(Q)}}var A=Sk(e,Fc,null,!1,!1,"",qk);e._reactRootContainer=A,vv(A.current,e);var J=e.nodeType===Xa?e.parentNode:e;return Yp(J),ac(function(){jh(t,A,n,i)}),A}}function lV(e,t){e!==null&&typeof e!="function"&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function A_(e,t,n,i,c){Wk(n),lV(c===void 0?null:c,"render");var d=n._reactRootContainer,_;if(!d)_=iV(n,t,e,c,i);else{if(_=d,typeof c=="function"){var y=c;c=function(){var C=E_(_);y.call(C)}}jh(t,_,e,c)}return E_(_)}var Yk=!1;function sV(e){{Yk||(Yk=!0,u("findDOMNode is deprecated and will be removed in the next major release. 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"));var t=oV.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||u("%s is accessing findDOMNode inside its render(). 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.",Hr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===go?e:YU(e,"findDOMNode")}function cV(e,t,n){if(u("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hh(t))throw new Error("Target container is not a DOM element.");{var i=ah(t)&&t._reactRootContainer===void 0;i&&u("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return A_(null,e,t,!0,n)}function uV(e,t,n){if(u("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hh(t))throw new Error("Target container is not a DOM element.");{var i=ah(t)&&t._reactRootContainer===void 0;i&&u("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return A_(null,e,t,!1,n)}function fV(e,t,n,i){if(u("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hh(n))throw new Error("Target container is not a DOM element.");if(e==null||!ZP(e))throw new Error("parentComponent must be a valid React Component");return A_(e,t,n,!1,i)}var $k=!1;function dV(e){if($k||($k=!0,u("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Hh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=ah(e)&&e._reactRootContainer===void 0;t&&u("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var n=$0(e),i=n&&!zc(n);i&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return ac(function(){A_(null,null,e,!1,function(){e._reactRootContainer=null,HC(e)})}),!0}else{{var c=$0(e),d=!!(c&&zc(c)),_=e.nodeType===go&&Hh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",_?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}az($U),oz(GU),iz(KU),lz(Fl),sz(ez),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&u("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),UP(c9),qP(x0,nU,ac);function pV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!D_(t))throw new Error("Target container is not a DOM element.");return qU(e,t,null,n)}function hV(e,t,n,i){return fV(e,t,n,i)}var G0={usingClientEntryPoint:!1,Events:[zc,rd,_v,n3,o3,x0]};function mV(e,t){return G0.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rV(e,t)}function vV(e,t,n){return G0.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),nV(e,t,n)}function _V(e){return ek()&&u("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),ac(e)}var gV=tV({findFiberByHostInstance:zu,bundleType:1,version:H0,rendererPackageName:"react-dom"});if(!gV&&ot&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Gk=window.location.protocol;/^(https?|file):$/.test(Gk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Gk==="file:"?`
145
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Wo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G0,Wo.createPortal=pV,Wo.createRoot=mV,Wo.findDOMNode=sV,Wo.flushSync=_V,Wo.hydrate=cV,Wo.hydrateRoot=vV,Wo.render=uV,Wo.unmountComponentAtNode=dV,Wo.unstable_batchedUpdates=x0,Wo.unstable_renderSubtreeIntoContainer=hV,Wo.version=H0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var K0=Ue((J$,tT)=>{"use strict";tT.exports=eT()});var rT=Ue(Q0=>{"use strict";var X0=K0();Vh=X0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Q0.createRoot=function(r,a){Vh.usingClientEntryPoint=!0;try{return X0.createRoot(r,a)}finally{Vh.usingClientEntryPoint=!1}},Q0.hydrateRoot=function(r,a,o){Vh.usingClientEntryPoint=!0;try{return X0.hydrateRoot(r,a,o)}finally{Vh.usingClientEntryPoint=!1}};var Vh});var c2=Ue(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});function zr(){return zr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])}return r},zr.apply(this,arguments)}var za=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),aT="popstate";function RV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:s=!1}=r,l;l=a.map((w,k)=>g(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let f=p(o==null?l.length-1:o),u=za.Pop,h=null;function p(w){return Math.min(Math.max(w,0),l.length-1)}function m(){return l[f]}function g(w,k,L){k===void 0&&(k=null);let N=lc(l?m().pathname:"/",w,k,L);return Cs(N.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),N}function b(w){return typeof w=="string"?w:xs(w)}return{get index(){return f},get action(){return u},get location(){return m()},createHref:b,createURL(w){return new URL(b(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Ql(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){u=za.Push;let L=g(w,k);f+=1,l.splice(f,l.length,L),s&&h&&h({action:u,location:L,delta:1})},replace(w,k){u=za.Replace;let L=g(w,k);l[f]=L,s&&h&&h({action:u,location:L,delta:0})},go(w){u=za.Pop;let k=p(f+w),L=l[k];f=k,h&&h({action:u,location:L,delta:w})},listen(w){return h=w,()=>{h=null}}}}function DV(r){r===void 0&&(r={});function a(s,l){let{pathname:f,search:u,hash:h}=s.location;return lc("",{pathname:f,search:u,hash:h},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function o(s,l){return typeof l=="string"?l:xs(l)}return bT(a,o,null,r)}function AV(r){r===void 0&&(r={});function a(l,f){let{pathname:u="/",search:h="",hash:p=""}=Ql(l.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),lc("",{pathname:u,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(l,f){let u=l.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=l.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:xs(f))}function s(l,f){Cs(l.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return bT(a,o,s,r)}function Or(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Cs(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function LV(){return Math.random().toString(36).substr(2,8)}function nT(r,a){return{usr:r.state,key:r.key,idx:a}}function lc(r,a,o,s){return o===void 0&&(o=null),zr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Ql(a):a,{state:o,key:a&&a.key||s||LV()})}function xs(r){let{pathname:a="/",search:o="",hash:s=""}=r;return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),s&&s!=="#"&&(a+=s.charAt(0)==="#"?s:"#"+s),a}function Ql(r){let a={};if(r){let o=r.indexOf("#");o>=0&&(a.hash=r.substr(o),r=r.substr(0,o));let s=r.indexOf("?");s>=0&&(a.search=r.substr(s),r=r.substr(0,s)),r&&(a.pathname=r)}return a}function bT(r,a,o,s){s===void 0&&(s={});let{window:l=document.defaultView,v5Compat:f=!1}=s,u=l.history,h=za.Pop,p=null,m=g();m==null&&(m=0,u.replaceState(zr({},u.state,{idx:m}),""));function g(){return(u.state||{idx:null}).idx}function b(){h=za.Pop;let N=g(),Y=N==null?null:N-m;m=N,p&&p({action:h,location:L.location,delta:Y})}function S(N,Y){h=za.Push;let M=lc(L.location,N,Y);o&&o(M,N),m=g()+1;let j=nT(M,m),F=L.createHref(M);try{u.pushState(j,"",F)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;l.location.assign(F)}f&&p&&p({action:h,location:L.location,delta:1})}function w(N,Y){h=za.Replace;let M=lc(L.location,N,Y);o&&o(M,N),m=g();let j=nT(M,m),F=L.createHref(M);u.replaceState(j,"",F),f&&p&&p({action:h,location:L.location,delta:0})}function k(N){let Y=l.location.origin!=="null"?l.location.origin:l.location.href,M=typeof N=="string"?N:xs(N);return M=M.replace(/ $/,"%20"),Or(Y,"No window.location.(origin|href) available to create URL for href: "+M),new URL(M,Y)}let L={get action(){return h},get location(){return r(l,u)},listen(N){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(aT,b),p=N,()=>{l.removeEventListener(aT,b),p=null}},createHref(N){return a(l,N)},createURL:k,encodeLocation(N){let Y=k(N);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:w,go(N){return u.go(N)}};return L}var Vr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),NV=new Set(["lazy","caseSensitive","path","id","index","children"]);function OV(r){return r.index===!0}function tf(r,a,o,s){return o===void 0&&(o=[]),s===void 0&&(s={}),r.map((l,f)=>{let u=[...o,String(f)],h=typeof l.id=="string"?l.id:u.join("-");if(Or(l.index!==!0||!l.children,"Cannot specify children on an index route"),Or(!s[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),OV(l)){let p=zr({},l,a(l),{id:h});return s[h]=p,p}else{let p=zr({},l,a(l),{id:h,children:void 0});return s[h]=p,l.children&&(p.children=tf(l.children,a,u,s)),p}})}function ic(r,a,o){return o===void 0&&(o="/"),M_(r,a,o,!1)}function M_(r,a,o,s){let l=typeof a=="string"?Ql(a):a,f=Yh(l.pathname||"/",o);if(f==null)return null;let u=ST(r);MV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=CT(f);h=VV(u[p],m,s)}return h}function yT(r,a){let{route:o,pathname:s,params:l}=r;return{id:o.id,pathname:s,params:l,data:a[o.id],handle:o.handle}}function ST(r,a,o,s){a===void 0&&(a=[]),o===void 0&&(o=[]),s===void 0&&(s="");let l=(f,u,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:u,route:f};p.relativePath.startsWith("/")&&(Or(p.relativePath.startsWith(s),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(s.length));let m=Ad([s,p.relativePath]),g=o.concat(p);f.children&&f.children.length>0&&(Or(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),ST(f.children,a,g,m)),!(f.path==null&&!f.index)&&a.push({path:m,score:HV(m,f.index),routesMeta:g})};return r.forEach((f,u)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))l(f,u);else for(let p of wT(f.path))l(f,u,p)}),a}function wT(r){let a=r.split("/");if(a.length===0)return[];let[o,...s]=a,l=o.endsWith("?"),f=o.replace(/\?$/,"");if(s.length===0)return l?[f,""]:[f];let u=wT(s.join("/")),h=[];return h.push(...u.map(p=>p===""?f:[f,p].join("/"))),l&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function MV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:UV(a.routesMeta.map(s=>s.childrenIndex),o.routesMeta.map(s=>s.childrenIndex)))}var PV=/^:[\w-]+$/,IV=3,zV=2,BV=1,FV=10,jV=-2,oT=r=>r==="*";function HV(r,a){let o=r.split("/"),s=o.length;return o.some(oT)&&(s+=jV),a&&(s+=zV),o.filter(l=>!oT(l)).reduce((l,f)=>l+(PV.test(f)?IV:f===""?BV:FV),s)}function UV(r,a){return r.length===a.length&&r.slice(0,-1).every((s,l)=>s===a[l])?r[r.length-1]-a[a.length-1]:0}function VV(r,a,o){o===void 0&&(o=!1);let{routesMeta:s}=r,l={},f="/",u=[];for(let h=0;h<s.length;++h){let p=s[h],m=h===s.length-1,g=f==="/"?a:a.slice(f.length)||"/",b=e2({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),S=p.route;if(!b&&m&&o&&!s[s.length-1].route.index&&(b=e2({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(l,b.params),u.push({params:l,pathname:Ad([f,b.pathname]),pathnameBase:RT(Ad([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Ad([f,b.pathnameBase]))}return u}function WV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Cs(!1,'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".')),o=o.replace(/\*$/,"/*"));let s=o.startsWith("/")?"/":"",l=u=>u==null?"":typeof u=="string"?u:String(u),f=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return l(a["*"]);let g=u.match(/^:([\w-]+)(\??)$/);if(g){let[,b,S]=g,w=a[b];return Or(S==="?"||w!=null,'Missing ":'+b+'" param'),l(w)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return s+f.join("/")}function e2(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,s]=qV(r.path,r.caseSensitive,r.end),l=a.match(o);if(!l)return null;let f=l[0],u=f.replace(/(.)\/+$/,"$1"),h=l.slice(1);return{params:s.reduce((m,g,b)=>{let{paramName:S,isOptional:w}=g;if(S==="*"){let L=h[b]||"";u=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return w&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:u,pattern:r}}function qV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Cs(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let s=[],l="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,h,p)=>(s.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(s.push({paramName:"*"}),l+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?l+="\\/*$":r!==""&&r!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,a?void 0:"i"),s]}function CT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Cs(!1,'The URL path "'+r+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),r}}function Yh(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let o=a.endsWith("/")?a.length-1:a.length,s=r.charAt(o);return s&&s!=="/"?null:r.slice(o)||"/"}function xT(r,a){a===void 0&&(a="/");let{pathname:o,search:s="",hash:l=""}=typeof r=="string"?Ql(r):r;return{pathname:o?o.startsWith("/")?o:YV(o,a):a,search:GV(s),hash:KV(l)}}function YV(r,a){let o=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(l=>{l===".."?o.length>1&&o.pop():l!=="."&&o.push(l)}),o.length>1?o.join("/"):"/"}function J0(r,a,o,s){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(s)+"]. Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function kT(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function TT(r,a){let o=kT(r);return a?o.map((s,l)=>l===o.length-1?s.pathname:s.pathnameBase):o.map(s=>s.pathnameBase)}function ET(r,a,o,s){s===void 0&&(s=!1);let l;typeof r=="string"?l=Ql(r):(l=zr({},r),Or(!l.pathname||!l.pathname.includes("?"),J0("?","pathname","search",l)),Or(!l.pathname||!l.pathname.includes("#"),J0("#","pathname","hash",l)),Or(!l.search||!l.search.includes("#"),J0("#","search","hash",l)));let f=r===""||l.pathname==="",u=f?"/":l.pathname,h;if(u==null)h=o;else{let b=a.length-1;if(!s&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),b-=1;l.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=xT(l,h),m=u&&u!=="/"&&u.endsWith("/"),g=(f||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function $V(r){return r===""||r.pathname===""?"/":typeof r=="string"?Ql(r).pathname:r.pathname}var Ad=r=>r.join("/").replace(/\/\/+/g,"/"),RT=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),GV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,KV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,XV=function(a,o){o===void 0&&(o={});let s=typeof o=="number"?{status:o}:o,l=new Headers(s.headers);return l.has("Content-Type")||l.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),zr({},s,{headers:l}))},t2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function QV(r,a){return new t2(r,typeof a=="number"?{status:a}:a)}var qh=class extends Error{},I_=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Or(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let s;this.abortPromise=new Promise((f,u)=>s=u),this.controller=new AbortController;let l=()=>s(new qh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",l),this.controller.signal.addEventListener("abort",l),this.data=Object.entries(a).reduce((f,u)=>{let[h,p]=u;return Object.assign(f,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let s=Promise.race([o,this.abortPromise]).then(l=>this.onSettle(s,a,void 0,l),l=>this.onSettle(s,a,l));return s.catch(()=>{}),Object.defineProperty(s,"_tracked",{get:()=>!0}),s}onSettle(a,o,s,l){if(this.controller.signal.aborted&&s instanceof qh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>s}),Promise.reject(s);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),s===void 0&&l===void 0){let f=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>f}),this.emit(!1,o),Promise.reject(f)}return l===void 0?(Object.defineProperty(a,"_error",{get:()=>s}),this.emit(!1,o),Promise.reject(s)):(Object.defineProperty(a,"_data",{get:()=>l}),this.emit(!1,o),l)}emit(a,o){this.subscribers.forEach(s=>s(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return na(this,null,function*(){let o=!1;if(!this.done){let s=()=>this.cancel();a.addEventListener("abort",s),o=yield new Promise(l=>{this.subscribe(f=>{a.removeEventListener("abort",s),(f||this.done)&&l(f)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Or(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((a,o)=>{let[s,l]=o;return Object.assign(a,{[s]:ZV(l)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function JV(r){return r instanceof Promise&&r._tracked===!0}function ZV(r){if(!JV(r))return r;if(r._error)throw r._error;return r._data}var eW=function(a,o){o===void 0&&(o={});let s=typeof o=="number"?{status:o}:o;return new I_(a,s)},i2=function(a,o){o===void 0&&(o=302);let s=o;typeof s=="number"?s={status:s}:typeof s.status=="undefined"&&(s.status=302);let l=new Headers(s.headers);return l.set("Location",a),new Response(null,zr({},s,{headers:l}))},tW=(r,a)=>{let o=i2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},rW=(r,a)=>{let o=i2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ld=class{constructor(a,o,s,l){l===void 0&&(l=!1),this.status=a,this.statusText=o||"",this.internal=l,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function Nd(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var DT=["post","put","patch","delete"],aW=new Set(DT),nW=["get",...DT],oW=new Set(nW),iW=new Set([301,302,303,307,308]),lW=new Set([307,308]),P_={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},AT={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Dd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},l2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,LT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),NT="remix-router-transitions";function sW(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,o=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",s=!o;Or(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(r.mapRouteProperties)l=r.mapRouteProperties;else if(r.detectErrorBoundary){let I=r.detectErrorBoundary;l=V=>({hasErrorBoundary:I(V)})}else l=LT;let f={},u=tf(r.routes,l,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||zT,g=r.unstable_patchRoutesOnMiss,b=zr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,w=new Set,k=null,L=null,N=null,Y=r.hydrationData!=null,M=ic(u,r.history.location,p),j=null;if(M==null&&!g){let I=ka(404,{pathname:r.history.location.pathname}),{matches:V,route:re}=z_(u);M=V,j={[re.id]:I}}M&&!r.hydrationData&&Me(M,u,r.history.location.pathname).active&&(M=null);let F;if(M)if(M.some(I=>I.route.lazy))F=!1;else if(!M.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,re=ce=>ce.route.loader?typeof ce.route.loader=="function"&&ce.route.loader.hydrate===!0?!1:I&&I[ce.route.id]!==void 0||V&&V[ce.route.id]!==void 0:!0;if(V){let ce=M.findIndex(Ve=>V[Ve.route.id]!==void 0);F=M.slice(0,ce+1).every(re)}else F=M.every(re)}else F=r.hydrationData!=null;else if(F=!1,M=[],b.v7_partialHydration){let I=Me(null,u,r.history.location.pathname);I.active&&I.matches&&(M=I.matches)}let Z,O={historyAction:r.history.action,location:r.history.location,matches:M,initialized:F,navigation:P_,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||j,fetchers:new Map,blockers:new Map},ae=za.Pop,ge=!1,ee,ye=!1,be=new Map,he=null,H=!1,le=!1,de=[],B=new Set,W=new Map,ie=0,te=-1,se=new Map,we=new Set,Se=new Map,je=new Map,Ye=new Set,Ge=new Map,rt=new Map,et=new Map,Nt=!1;function $t(){if(S=r.history.listen(I=>{let{action:V,location:re,delta:ce}=I;if(Nt){Nt=!1;return}Cs(rt.size===0||ce!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Ve=P({currentLocation:O.location,nextLocation:re,historyAction:V});if(Ve&&ce!=null){Nt=!0,r.history.go(ce*-1),$(Ve,{state:"blocked",location:re,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),r.history.go(ce)},reset(){let Be=new Map(O.blockers);Be.set(Ve,Dd),ke({blockers:Be})}});return}return wt(V,re)}),o){SW(a,be);let I=()=>wW(a,be);a.addEventListener("pagehide",I),he=()=>a.removeEventListener("pagehide",I)}return O.initialized||wt(za.Pop,O.location,{initialHydration:!0}),Z}function dt(){S&&S(),he&&he(),w.clear(),ee&&ee.abort(),O.fetchers.forEach((I,V)=>ze(V)),O.blockers.forEach((I,V)=>Yr(V))}function Xe(I){return w.add(I),()=>w.delete(I)}function ke(I,V){V===void 0&&(V={}),O=zr({},O,I);let re=[],ce=[];b.v7_fetcherPersist&&O.fetchers.forEach((Ve,Be)=>{Ve.state==="idle"&&(Ye.has(Be)?ce.push(Be):re.push(Be))}),[...w].forEach(Ve=>Ve(O,{deletedFetchers:ce,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(re.forEach(Ve=>O.fetchers.delete(Ve)),ce.forEach(Ve=>ze(Ve)))}function ot(I,V,re){var ce,Ve;let{flushSync:Be}=re===void 0?{}:re,D=O.actionData!=null&&O.navigation.formMethod!=null&&Tl(O.navigation.formMethod)&&O.navigation.state==="loading"&&((ce=I.state)==null?void 0:ce._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=O.actionData:q=null;let pe=V.loaderData?hT(O.loaderData,V.loaderData,V.matches||[],V.errors):O.loaderData,Te=O.blockers;Te.size>0&&(Te=new Map(Te),Te.forEach((Ze,Ke)=>Te.set(Ke,Dd)));let He=ge===!0||O.navigation.formMethod!=null&&Tl(O.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(u=h,h=void 0),H||ae===za.Pop||(ae===za.Push?r.history.push(I,I.state):ae===za.Replace&&r.history.replace(I,I.state));let ft;if(ae===za.Pop){let Ze=be.get(O.location.pathname);Ze&&Ze.has(I.pathname)?ft={currentLocation:O.location,nextLocation:I}:be.has(I.pathname)&&(ft={currentLocation:I,nextLocation:O.location})}else if(ye){let Ze=be.get(O.location.pathname);Ze?Ze.add(I.pathname):(Ze=new Set([I.pathname]),be.set(O.location.pathname,Ze)),ft={currentLocation:O.location,nextLocation:I}}ke(zr({},V,{actionData:q,loaderData:pe,historyAction:ae,location:I,initialized:!0,navigation:P_,revalidation:"idle",restoreScrollPosition:Pe(I,V.matches||O.matches),preventScrollReset:He,blockers:Te}),{viewTransitionOpts:ft,flushSync:Be===!0}),ae=za.Pop,ge=!1,ye=!1,H=!1,le=!1,de=[]}function kt(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let re=r2(O.location,O.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:ce,submission:Ve,error:Be}=lT(b.v7_normalizeFormMethod,!1,re,V),D=O.location,q=lc(O.location,ce,V&&V.state);q=zr({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,Te=za.Push;pe===!0?Te=za.Replace:pe===!1||Ve!=null&&Tl(Ve.formMethod)&&Ve.formAction===O.location.pathname+O.location.search&&(Te=za.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Ze=P({currentLocation:D,nextLocation:q,historyAction:Te});if(Ze){$(Ze,{state:"blocked",location:q,proceed(){$(Ze,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),kt(I,V)},reset(){let Ke=new Map(O.blockers);Ke.set(Ze,Dd),ke({blockers:Ke})}});return}return yield wt(Te,q,{submission:Ve,pendingError:Be,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function Tt(){if(kr(),ke({revalidation:"loading"}),O.navigation.state!=="submitting"){if(O.navigation.state==="idle"){wt(O.historyAction,O.location,{startUninterruptedRevalidation:!0});return}wt(ae||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation})}}function wt(I,V,re){return na(this,null,function*(){ee&&ee.abort(),ee=null,ae=I,H=(re&&re.startUninterruptedRevalidation)===!0,Oe(O.location,O.matches),ge=(re&&re.preventScrollReset)===!0,ye=(re&&re.enableViewTransition)===!0;let ce=h||u,Ve=re&&re.overrideNavigation,Be=ic(ce,V,p),D=(re&&re.flushSync)===!0,q=Me(Be,ce,V.pathname);if(q.active&&q.matches&&(Be=q.matches),!Be){let{error:Ct,notFoundMatches:Et,route:Wt}=R(V.pathname);ot(V,{matches:Et,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:D});return}if(O.initialized&&!le&&mW(O.location,V)&&!(re&&re.submission&&Tl(re.submission.formMethod))){ot(V,{matches:Be},{flushSync:D});return}ee=new AbortController;let pe=Rd(r.history,V,ee.signal,re&&re.submission),Te;if(re&&re.pendingError)Te=[Zu(Be).route.id,{type:Vr.error,error:re.pendingError}];else if(re&&re.submission&&Tl(re.submission.formMethod)){let Ct=yield tr(pe,V,re.submission,Be,q.active,{replace:re.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[Et,Wt]=Ct.pendingActionResult;if(Mn(Wt)&&Nd(Wt.error)&&Wt.error.status===404){ee=null,ot(V,{matches:Ct.matches,loaderData:{},errors:{[Et]:Wt.error}});return}}Be=Ct.matches||Be,Te=Ct.pendingActionResult,Ve=Z0(V,re.submission),D=!1,q.active=!1,pe=Rd(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ft,loaderData:Ze,errors:Ke}=yield Ut(pe,V,Be,q.active,Ve,re&&re.submission,re&&re.fetcherSubmission,re&&re.replace,re&&re.initialHydration===!0,D,Te);He||(ee=null,ot(V,zr({matches:ft||Be},mT(Te),{loaderData:Ze,errors:Ke})))})}function tr(I,V,re,ce,Ve,Be){return na(this,null,function*(){Be===void 0&&(Be={}),kr();let D=bW(V,re);if(ke({navigation:D},{flushSync:Be.flushSync===!0}),Ve){let Te=yield We(ce,V.pathname,I.signal);if(Te.type==="aborted")return{shortCircuited:!0};if(Te.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,Te);return{matches:Te.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ft}]}}else if(Te.matches)ce=Te.matches;else{let{notFoundMatches:He,error:ft,route:Ze}=R(V.pathname);return{matches:He,pendingActionResult:[Ze.id,{type:Vr.error,error:ft}]}}}let q,pe=ef(ce,V);if(!pe.route.action&&!pe.route.lazy)q={type:Vr.error,error:ka(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield br("action",I,[pe],ce))[0],I.signal.aborted)return{shortCircuited:!0};if(ru(q)){let Te;return Be&&Be.replace!=null?Te=Be.replace:Te=fT(q.response.headers.get("Location"),new URL(I.url),p)===O.location.pathname+O.location.search,yield pr(I,q,{submission:re,replace:Te}),{shortCircuited:!0}}if(tu(q))throw ka(400,{type:"defer-action"});if(Mn(q)){let Te=Zu(ce,pe.route.id);return(Be&&Be.replace)!==!0&&(ae=za.Push),{matches:ce,pendingActionResult:[Te.route.id,q]}}return{matches:ce,pendingActionResult:[pe.route.id,q]}})}function Ut(I,V,re,ce,Ve,Be,D,q,pe,Te,He){return na(this,null,function*(){let ft=Ve||Z0(V,Be),Ze=Be||D||gT(ft),Ke=!H&&(!b.v7_partialHydration||!pe);if(ce){if(Ke){let aa=dr(He);ke(zr({navigation:ft},aa!==void 0?{actionData:aa}:{}),{flushSync:Te})}let Jt=yield We(re,V.pathname,I.signal);if(Jt.type==="aborted")return{shortCircuited:!0};if(Jt.type==="error"){let{boundaryId:aa,error:tn}=z(V.pathname,Jt);return{matches:Jt.partialMatches,loaderData:{},errors:{[aa]:tn}}}else if(Jt.matches)re=Jt.matches;else{let{error:aa,notFoundMatches:tn,route:Gr}=R(V.pathname);return{matches:tn,loaderData:{},errors:{[Gr.id]:aa}}}}let Ct=h||u,[Et,Wt]=sT(r.history,O,re,Ze,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,de,B,Ye,Se,we,Ct,p,He);if(G(Jt=>!(re&&re.some(aa=>aa.route.id===Jt))||Et&&Et.some(aa=>aa.route.id===Jt)),te=++ie,Et.length===0&&Wt.length===0){let Jt=Vt();return ot(V,zr({matches:re,loaderData:{},errors:He&&Mn(He[1])?{[He[0]]:He[1].error}:null},mT(He),Jt?{fetchers:new Map(O.fetchers)}:{}),{flushSync:Te}),{shortCircuited:!0}}if(Ke){let Jt={};if(!ce){Jt.navigation=ft;let aa=dr(He);aa!==void 0&&(Jt.actionData=aa)}Wt.length>0&&(Jt.fetchers=ra(Wt)),ke(Jt,{flushSync:Te})}Wt.forEach(Jt=>{W.has(Jt.key)&&bt(Jt.key),Jt.controller&&W.set(Jt.key,Jt.controller)});let $r=()=>Wt.forEach(Jt=>bt(Jt.key));ee&&ee.signal.addEventListener("abort",$r);let{loaderResults:Ua,fetcherResults:ia}=yield pa(O.matches,re,Et,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};ee&&ee.signal.removeEventListener("abort",$r),Wt.forEach(Jt=>W.delete(Jt.key));let la=vT([...Ua,...ia]);if(la){if(la.idx>=Et.length){let Jt=Wt[la.idx-Et.length].key;we.add(Jt)}return yield pr(I,la.result,{replace:q}),{shortCircuited:!0}}let{loaderData:Ka,errors:Ot}=pT(O,re,Et,Ua,He,Wt,ia,Ge);Ge.forEach((Jt,aa)=>{Jt.subscribe(tn=>{(tn||Jt.done)&&Ge.delete(aa)})}),b.v7_partialHydration&&pe&&O.errors&&Object.entries(O.errors).filter(Jt=>{let[aa]=Jt;return!Et.some(tn=>tn.route.id===aa)}).forEach(Jt=>{let[aa,tn]=Jt;Ot=Object.assign(Ot||{},{[aa]:tn})});let qn=Vt(),ss=Rr(te),cs=qn||ss||Wt.length>0;return zr({matches:re,loaderData:Ka,errors:Ot},cs?{fetchers:new Map(O.fetchers)}:{})})}function dr(I){if(I&&!Mn(I[1]))return{[I[0]]:I[1].data};if(O.actionData)return Object.keys(O.actionData).length===0?null:O.actionData}function ra(I){return I.forEach(V=>{let re=O.fetchers.get(V.key),ce=Wh(void 0,re?re.data:void 0);O.fetchers.set(V.key,ce)}),new Map(O.fetchers)}function jr(I,V,re,ce){if(s)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");W.has(I)&&bt(I);let Ve=(ce&&ce.unstable_flushSync)===!0,Be=h||u,D=r2(O.location,O.matches,p,b.v7_prependBasename,re,b.v7_relativeSplatPath,V,ce==null?void 0:ce.relative),q=ic(Be,D,p),pe=Me(q,Be,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Pr(I,V,ka(404,{pathname:D}),{flushSync:Ve});return}let{path:Te,submission:He,error:ft}=lT(b.v7_normalizeFormMethod,!0,D,ce);if(ft){Pr(I,V,ft,{flushSync:Ve});return}let Ze=ef(q,Te);if(ge=(ce&&ce.preventScrollReset)===!0,He&&Tl(He.formMethod)){qr(I,V,Te,Ze,q,pe.active,Ve,He);return}Se.set(I,{routeId:V,path:Te}),xr(I,V,Te,Ze,q,pe.active,Ve,He)}function qr(I,V,re,ce,Ve,Be,D,q){return na(this,null,function*(){kr(),Se.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let Yn=ka(405,{method:q.formMethod,pathname:re,routeId:V});return Pr(I,V,Yn,{flushSync:D}),!0}return!1}if(!Be&&pe(ce))return;let Te=O.fetchers.get(I);vr(I,yW(q,Te),{flushSync:D});let He=new AbortController,ft=Rd(r.history,re,He.signal,q);if(Be){let Gr=yield We(Ve,re,ft.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:Yn}=z(re,Gr);Pr(I,V,Yn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,ce=ef(Ve,re),pe(ce))return}else{Pr(I,V,ka(404,{pathname:re}),{flushSync:D});return}}W.set(I,He);let Ze=ie,Ct=(yield br("action",ft,[ce],Ve))[0];if(ft.signal.aborted){W.get(I)===He&&W.delete(I);return}if(b.v7_fetcherPersist&&Ye.has(I)){if(ru(Ct)||Mn(Ct)){vr(I,Zc(void 0));return}}else{if(ru(Ct))if(W.delete(I),te>Ze){vr(I,Zc(void 0));return}else return we.add(I),vr(I,Wh(q)),pr(ft,Ct,{fetcherSubmission:q});if(Mn(Ct)){Pr(I,V,Ct.error);return}}if(tu(Ct))throw ka(400,{type:"defer-action"});let Et=O.navigation.location||O.location,Wt=Rd(r.history,Et,He.signal),$r=h||u,Ua=O.navigation.state!=="idle"?ic($r,O.navigation.location,p):O.matches;Or(Ua,"Didn't find any matches after fetcher action");let ia=++ie;se.set(I,ia);let la=Wh(q,Ct.data);O.fetchers.set(I,la);let[Ka,Ot]=sT(r.history,O,Ua,q,Et,!1,b.v7_skipActionErrorRevalidation,le,de,B,Ye,Se,we,$r,p,[ce.route.id,Ct]);Ot.filter(Gr=>Gr.key!==I).forEach(Gr=>{let Yn=Gr.key,Su=O.fetchers.get(Yn),ip=Wh(void 0,Su?Su.data:void 0);O.fetchers.set(Yn,ip),W.has(Yn)&&bt(Yn),Gr.controller&&W.set(Yn,Gr.controller)}),ke({fetchers:new Map(O.fetchers)});let qn=()=>Ot.forEach(Gr=>bt(Gr.key));He.signal.addEventListener("abort",qn);let{loaderResults:ss,fetcherResults:cs}=yield pa(O.matches,Ua,Ka,Ot,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",qn),se.delete(I),W.delete(I),Ot.forEach(Gr=>W.delete(Gr.key));let Jt=vT([...ss,...cs]);if(Jt){if(Jt.idx>=Ka.length){let Gr=Ot[Jt.idx-Ka.length].key;we.add(Gr)}return pr(Wt,Jt.result)}let{loaderData:aa,errors:tn}=pT(O,O.matches,Ka,ss,void 0,Ot,cs,Ge);if(O.fetchers.has(I)){let Gr=Zc(Ct.data);O.fetchers.set(I,Gr)}Rr(ia),O.navigation.state==="loading"&&ia>te?(Or(ae,"Expected pending action"),ee&&ee.abort(),ot(O.navigation.location,{matches:Ua,loaderData:aa,errors:tn,fetchers:new Map(O.fetchers)})):(ke({errors:tn,loaderData:hT(O.loaderData,aa,Ua,tn),fetchers:new Map(O.fetchers)}),le=!1)})}function xr(I,V,re,ce,Ve,Be,D,q){return na(this,null,function*(){let pe=O.fetchers.get(I);vr(I,Wh(q,pe?pe.data:void 0),{flushSync:D});let Te=new AbortController,He=Rd(r.history,re,Te.signal);if(Be){let Ct=yield We(Ve,re,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:Et}=z(re,Ct);Pr(I,V,Et,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,ce=ef(Ve,re);else{Pr(I,V,ka(404,{pathname:re}),{flushSync:D});return}}W.set(I,Te);let ft=ie,Ke=(yield br("loader",He,[ce],Ve))[0];if(tu(Ke)&&(Ke=(yield qT(Ke,He.signal,!0))||Ke),W.get(I)===Te&&W.delete(I),!He.signal.aborted){if(Ye.has(I)){vr(I,Zc(void 0));return}if(ru(Ke))if(te>ft){vr(I,Zc(void 0));return}else{we.add(I),yield pr(He,Ke);return}if(Mn(Ke)){Pr(I,V,Ke.error);return}Or(!tu(Ke),"Unhandled fetcher deferred data"),vr(I,Zc(Ke.data))}})}function pr(I,V,re){return na(this,null,function*(){let{submission:ce,fetcherSubmission:Ve,replace:Be}=re===void 0?{}:re;V.response.headers.has("X-Remix-Revalidate")&&(le=!0);let D=V.response.headers.get("Location");Or(D,"Expected a Location header on the redirect Response"),D=fT(D,new URL(I.url),p);let q=lc(O.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(l2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||Yh(Ct.pathname,p)==null}if(Ke){Be?a.location.replace(D):a.location.assign(D);return}}ee=null;let pe=Be===!0||V.response.headers.has("X-Remix-Replace")?za.Replace:za.Push,{formMethod:Te,formAction:He,formEncType:ft}=O.navigation;!ce&&!Ve&&Te&&He&&ft&&(ce=gT(O.navigation));let Ze=ce||Ve;if(lW.has(V.response.status)&&Ze&&Tl(Ze.formMethod))yield wt(pe,q,{submission:zr({},Ze,{formAction:D}),preventScrollReset:ge});else{let Ke=Z0(q,ce);yield wt(pe,q,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:ge})}})}function br(I,V,re,ce){return na(this,null,function*(){try{let Ve=yield BT(m,I,V,re,ce,f,l);return yield Promise.all(Ve.map((Be,D)=>{if(VT(Be)){let q=Be.result;return{type:Vr.redirect,response:jT(q,V,re[D].route.id,ce,p,b.v7_relativeSplatPath)}}return FT(Be)}))}catch(Ve){return re.map(()=>({type:Vr.error,error:Ve}))}})}function pa(I,V,re,ce,Ve){return na(this,null,function*(){let[Be,...D]=yield Promise.all([re.length?br("loader",Ve,re,V):[],...ce.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Rd(r.history,q.path,q.controller.signal);return br("loader",pe,[q.match],q.matches).then(Te=>Te[0])}else return Promise.resolve({type:Vr.error,error:ka(404,{pathname:q.path})})})]);return yield Promise.all([_T(I,re,Be,Be.map(()=>Ve.signal),!1,O.loaderData),_T(I,ce.map(q=>q.match),D,ce.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Be,fetcherResults:D}})}function kr(){le=!0,de.push(...G()),Se.forEach((I,V)=>{W.has(V)&&(B.add(V),bt(V))})}function vr(I,V,re){re===void 0&&(re={}),O.fetchers.set(I,V),ke({fetchers:new Map(O.fetchers)},{flushSync:(re&&re.flushSync)===!0})}function Pr(I,V,re,ce){ce===void 0&&(ce={});let Ve=Zu(O.matches,V);ze(I),ke({errors:{[Ve.route.id]:re},fetchers:new Map(O.fetchers)},{flushSync:(ce&&ce.flushSync)===!0})}function ga(I){return b.v7_fetcherPersist&&(je.set(I,(je.get(I)||0)+1),Ye.has(I)&&Ye.delete(I)),O.fetchers.get(I)||AT}function ze(I){let V=O.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&se.has(I))&&bt(I),Se.delete(I),se.delete(I),we.delete(I),Ye.delete(I),B.delete(I),O.fetchers.delete(I)}function ct(I){if(b.v7_fetcherPersist){let V=(je.get(I)||0)-1;V<=0?(je.delete(I),Ye.add(I)):je.set(I,V)}else ze(I);ke({fetchers:new Map(O.fetchers)})}function bt(I){let V=W.get(I);Or(V,"Expected fetch controller: "+I),V.abort(),W.delete(I)}function Gt(I){for(let V of I){let re=ga(V),ce=Zc(re.data);O.fetchers.set(V,ce)}}function Vt(){let I=[],V=!1;for(let re of we){let ce=O.fetchers.get(re);Or(ce,"Expected fetcher: "+re),ce.state==="loading"&&(we.delete(re),I.push(re),V=!0)}return Gt(I),V}function Rr(I){let V=[];for(let[re,ce]of se)if(ce<I){let Ve=O.fetchers.get(re);Or(Ve,"Expected fetcher: "+re),Ve.state==="loading"&&(bt(re),se.delete(re),V.push(re))}return Gt(V),V.length>0}function _r(I,V){let re=O.blockers.get(I)||Dd;return rt.get(I)!==V&&rt.set(I,V),re}function Yr(I){O.blockers.delete(I),rt.delete(I)}function $(I,V){let re=O.blockers.get(I)||Dd;Or(re.state==="unblocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="proceeding"||re.state==="blocked"&&V.state==="unblocked"||re.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+re.state+" -> "+V.state);let ce=new Map(O.blockers);ce.set(I,V),ke({blockers:ce})}function P(I){let{currentLocation:V,nextLocation:re,historyAction:ce}=I;if(rt.size===0)return;rt.size>1&&Cs(!1,"A router only supports one blocker at a time");let Ve=Array.from(rt.entries()),[Be,D]=Ve[Ve.length-1],q=O.blockers.get(Be);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:re,historyAction:ce}))return Be}function R(I){let V=ka(404,{pathname:I}),re=h||u,{matches:ce,route:Ve}=z_(re);return G(),{notFoundMatches:ce,route:Ve,error:V}}function z(I,V){return{boundaryId:Zu(V.partialMatches).route.id,error:ka(400,{type:"route-discovery",pathname:I,message:V.error!=null&&"message"in V.error?V.error:String(V.error)})}}function G(I){let V=[];return Ge.forEach((re,ce)=>{(!I||I(ce))&&(re.cancel(),V.push(ce),Ge.delete(ce))}),V}function oe(I,V,re){if(k=I,N=V,L=re||null,!Y&&O.navigation===P_){Y=!0;let ce=Pe(O.location,O.matches);ce!=null&&ke({restoreScrollPosition:ce})}return()=>{k=null,N=null,L=null}}function ne(I,V){return L&&L(I,V.map(ce=>yT(ce,O.loaderData)))||I.key}function Oe(I,V){if(k&&N){let re=ne(I,V);k[re]=N()}}function Pe(I,V){if(k){let re=ne(I,V),ce=k[re];if(typeof ce=="number")return ce}return null}function Me(I,V,re){if(g)if(I){let ce=I[I.length-1].route;if(ce.path&&(ce.path==="*"||ce.path.endsWith("/*")))return{active:!0,matches:M_(V,re,p,!0)}}else return{active:!0,matches:M_(V,re,p,!0)||[]};return{active:!1,matches:null}}function We(I,V,re){return na(this,null,function*(){let ce=I,Ve=ce.length>0?ce[ce.length-1].route:null;for(;;){let Be=h==null,D=h||u;try{yield pW(g,V,ce,D,f,l,et,re)}catch(He){return{type:"error",error:He,partialMatches:ce}}finally{Be&&(u=[...u])}if(re.aborted)return{type:"aborted"};let q=ic(D,V,p),pe=!1;if(q){let He=q[q.length-1].route;if(He.index)return{type:"success",matches:q};if(He.path&&He.path.length>0)if(He.path==="*")pe=!0;else return{type:"success",matches:q}}let Te=M_(D,V,p,!0);if(!Te||ce.map(He=>He.route.id).join("-")===Te.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?q:null};if(ce=Te,Ve=ce[ce.length-1].route,Ve.path==="*")return{type:"success",matches:ce}}})}function Ae(I){f={},h=tf(I,l,void 0,f)}function Je(I,V){let re=h==null;IT(I,V,h||u,f,l),re&&(u=[...u],ke({}))}return Z={get basename(){return p},get future(){return b},get state(){return O},get routes(){return u},get window(){return a},initialize:$t,subscribe:Xe,enableScrollRestoration:oe,navigate:kt,fetch:jr,revalidate:Tt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:ga,deleteFetcher:ct,dispose:dt,getBlocker:_r,deleteBlocker:Yr,patchRoutes:Je,_internalFetchControllers:W,_internalActiveDeferreds:Ge,_internalSetRoutes:Ae},Z}var OT=Symbol("deferred");function cW(r,a){Or(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let o={},s=(a?a.basename:null)||"/",l;if(a!=null&&a.mapRouteProperties)l=a.mapRouteProperties;else if(a!=null&&a.detectErrorBoundary){let w=a.detectErrorBoundary;l=k=>({hasErrorBoundary:w(k)})}else l=LT;let f=zr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=tf(r,l,void 0,o);function h(w,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:N,unstable_dataStrategy:Y}=k===void 0?{}:k,M=new URL(w.url),j=w.method,F=lc("",xs(M),null,"default"),Z=ic(u,F,s);if(!o2(j)&&j!=="HEAD"){let ae=ka(405,{method:j}),{matches:ge,route:ee}=z_(u);return{basename:s,location:F,matches:ge,loaderData:{},actionData:null,errors:{[ee.id]:ae},statusCode:ae.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Z){let ae=ka(404,{pathname:F.pathname}),{matches:ge,route:ee}=z_(u);return{basename:s,location:F,matches:ge,loaderData:{},actionData:null,errors:{[ee.id]:ae},statusCode:ae.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let O=yield m(w,F,Z,L,Y||null,N===!0,null);return eu(O)?O:zr({location:F,basename:s},O)})}function p(w,k){return na(this,null,function*(){let{routeId:L,requestContext:N,unstable_dataStrategy:Y}=k===void 0?{}:k,M=new URL(w.url),j=w.method,F=lc("",xs(M),null,"default"),Z=ic(u,F,s);if(!o2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw ka(405,{method:j});if(!Z)throw ka(404,{pathname:F.pathname});let O=L?Z.find(ye=>ye.route.id===L):ef(Z,F);if(L&&!O)throw ka(403,{pathname:F.pathname,routeId:L});if(!O)throw ka(404,{pathname:F.pathname});let ae=yield m(w,F,Z,N,Y||null,!1,O);if(eu(ae))return ae;let ge=ae.errors?Object.values(ae.errors)[0]:void 0;if(ge!==void 0)throw ge;if(ae.actionData)return Object.values(ae.actionData)[0];if(ae.loaderData){var ee;let ye=Object.values(ae.loaderData)[0];return(ee=ae.activeDeferreds)!=null&&ee[O.route.id]&&(ye[OT]=ae.activeDeferreds[O.route.id]),ye}})}function m(w,k,L,N,Y,M,j){return na(this,null,function*(){Or(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Tl(w.method.toLowerCase()))return yield g(w,L,j||ef(L,k),N,Y,M,j!=null);let F=yield b(w,L,N,Y,M,j);return eu(F)?F:zr({},F,{actionData:null,actionHeaders:{}})}catch(F){if(_W(F)&&eu(F.result)){if(F.type===Vr.error)throw F.result;return F.result}if(gW(F))return F;throw F}})}function g(w,k,L,N,Y,M,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let ae=ka(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:L.route.id});if(j)throw ae;F={type:Vr.error,error:ae}}else F=(yield S("action",w,[L],k,j,N,Y))[0],w.signal.aborted&&iT(w,j,f);if(ru(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(tu(F)){let ae=ka(400,{type:"defer-action"});if(j)throw ae;F={type:Vr.error,error:ae}}if(j){if(Mn(F))throw F.error;return{matches:[L],loaderData:{},actionData:{[L.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let Z=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Mn(F)){let ae=M?L:Zu(k,L.route.id),ge=yield b(Z,k,N,Y,M,null,[ae.route.id,F]);return zr({},ge,{statusCode:Nd(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:zr({},F.headers?{[L.route.id]:F.headers}:{})})}let O=yield b(Z,k,N,Y,M,null);return zr({},O,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(w,k,L,N,Y,M,j){return na(this,null,function*(){let F=M!=null;if(F&&!(M!=null&&M.route.loader)&&!(M!=null&&M.route.lazy))throw ka(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:M==null?void 0:M.route.id});let O=(M?[M]:j&&Mn(j[1])?MT(k,j[0]):k).filter(be=>be.route.loader||be.route.lazy);if(O.length===0)return{matches:k,loaderData:k.reduce((be,he)=>Object.assign(be,{[he.route.id]:null}),{}),errors:j&&Mn(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let ae=yield S("loader",w,O,k,F,L,N);w.signal.aborted&&iT(w,F,f);let ge=new Map,ee=HT(k,O,ae,j,ge,Y),ye=new Set(O.map(be=>be.route.id));return k.forEach(be=>{ye.has(be.route.id)||(ee.loaderData[be.route.id]=null)}),zr({},ee,{matches:k,activeDeferreds:ge.size>0?Object.fromEntries(ge.entries()):null})})}function S(w,k,L,N,Y,M,j){return na(this,null,function*(){let F=yield BT(j||zT,w,k,L,N,o,l,M);return yield Promise.all(F.map((Z,O)=>{if(VT(Z)){let ae=Z.result;throw jT(ae,k,L[O].route.id,N,s,f.v7_relativeSplatPath)}if(eu(Z.result)&&Y)throw Z;return FT(Z)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function uW(r,a,o){return zr({},a,{statusCode:Nd(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function iT(r,a,o){if(o.v7_throwAbortReason&&r.signal.reason!==void 0)throw r.signal.reason;let s=a?"queryRoute":"query";throw new Error(s+"() call aborted: "+r.method+" "+r.url)}function fW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function r2(r,a,o,s,l,f,u,h){let p,m;if(u){p=[];for(let b of a)if(p.push(b),b.route.id===u){m=b;break}}else p=a,m=a[a.length-1];let g=ET(l||".",TT(p,f),Yh(r.pathname,o)||r.pathname,h==="path");return l==null&&(g.search=r.search,g.hash=r.hash),(l==null||l===""||l===".")&&m&&m.route.index&&!s2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),s&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Ad([o,g.pathname])),xs(g)}function lT(r,a,o,s){if(!s||!fW(s))return{path:o};if(s.formMethod&&!o2(s.formMethod))return{path:o,error:ka(405,{method:s.formMethod})};let l=()=>({path:o,error:ka(400,{type:"invalid-body"})}),f=s.formMethod||"get",u=r?f.toUpperCase():f.toLowerCase(),h=UT(o);if(s.body!==void 0){if(s.formEncType==="text/plain"){if(!Tl(u))return l();let S=typeof s.body=="string"?s.body:s.body instanceof FormData||s.body instanceof URLSearchParams?Array.from(s.body.entries()).reduce((w,k)=>{let[L,N]=k;return""+w+L+"="+N+`
146
- `},""):String(s.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:s.formEncType,formData:void 0,json:void 0,text:S}}}else if(s.formEncType==="application/json"){if(!Tl(u))return l();try{let S=typeof s.body=="string"?JSON.parse(s.body):s.body;return{path:o,submission:{formMethod:u,formAction:h,formEncType:s.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return l()}}}Or(typeof FormData=="function","FormData is not available in this environment");let p,m;if(s.formData)p=a2(s.formData),m=s.formData;else if(s.body instanceof FormData)p=a2(s.body),m=s.body;else if(s.body instanceof URLSearchParams)p=s.body,m=dT(p);else if(s.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(s.body),m=dT(p)}catch(S){return l()}let g={formMethod:u,formAction:h,formEncType:s&&s.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Tl(g.formMethod))return{path:o,submission:g};let b=Ql(o);return a&&b.search&&s2(b.search)&&p.append("index",""),b.search="?"+p,{path:xs(b),submission:g}}function MT(r,a){let o=r;if(a){let s=r.findIndex(l=>l.route.id===a);s>=0&&(o=r.slice(0,s))}return o}function sT(r,a,o,s,l,f,u,h,p,m,g,b,S,w,k,L){let N=L?Mn(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),M=r.createURL(l),j=L&&Mn(L[1])?L[0]:void 0,F=j?MT(o,j):o,Z=L?L[1].statusCode:void 0,O=u&&Z&&Z>=400,ae=F.filter((ee,ye)=>{let{route:be}=ee;if(be.lazy)return!0;if(be.loader==null)return!1;if(f)return typeof be.loader!="function"||be.loader.hydrate?!0:a.loaderData[be.id]===void 0&&(!a.errors||a.errors[be.id]===void 0);if(dW(a.loaderData,a.matches[ye],ee)||p.some(le=>le===ee.route.id))return!0;let he=a.matches[ye],H=ee;return cT(ee,zr({currentUrl:Y,currentParams:he.params,nextUrl:M,nextParams:H.params},s,{actionResult:N,actionStatus:Z,defaultShouldRevalidate:O?!1:h||Y.pathname+Y.search===M.pathname+M.search||Y.search!==M.search||PT(he,H)}))}),ge=[];return b.forEach((ee,ye)=>{if(f||!o.some(de=>de.route.id===ee.routeId)||g.has(ye))return;let be=ic(w,ee.path,k);if(!be){ge.push({key:ye,routeId:ee.routeId,path:ee.path,matches:null,match:null,controller:null});return}let he=a.fetchers.get(ye),H=ef(be,ee.path),le=!1;S.has(ye)?le=!1:m.has(ye)?(m.delete(ye),le=!0):he&&he.state!=="idle"&&he.data===void 0?le=h:le=cT(H,zr({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:M,nextParams:o[o.length-1].params},s,{actionResult:N,actionStatus:Z,defaultShouldRevalidate:O?!1:h})),le&&ge.push({key:ye,routeId:ee.routeId,path:ee.path,matches:be,match:H,controller:new AbortController})}),[ae,ge]}function dW(r,a,o){let s=!a||o.route.id!==a.route.id,l=r[o.route.id]===void 0;return s||l}function PT(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function cT(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function pW(r,a,o,s,l,f,u,h){return na(this,null,function*(){let p=[a,...o.map(m=>m.route.id)].join("-");try{let m=u.get(p);m||(m=r({path:a,matches:o,patch:(g,b)=>{h.aborted||IT(g,b,s,l,f)}}),u.set(p,m)),m&&vW(m)&&(yield m)}finally{u.delete(p)}})}function IT(r,a,o,s,l){if(r){var f;let u=s[r];Or(u,"No route found to patch children into: routeId = "+r);let h=tf(a,l,[r,"patch",String(((f=u.children)==null?void 0:f.length)||"0")],s);u.children?u.children.push(...h):u.children=h}else{let u=tf(a,l,["patch",String(o.length||"0")],s);o.push(...u)}}function uT(r,a,o){return na(this,null,function*(){if(!r.lazy)return;let s=yield r.lazy();if(!r.lazy)return;let l=o[r.id];Or(l,"No route found in manifest");let f={};for(let u in s){let p=l[u]!==void 0&&u!=="hasErrorBoundary";Cs(!p,'Route "'+l.id+'" has a static property "'+u+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+u+'" will be ignored.')),!p&&!NV.has(u)&&(f[u]=s[u])}Object.assign(l,f),Object.assign(l,zr({},a(l),{lazy:void 0}))})}function zT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function BT(r,a,o,s,l,f,u,h){return na(this,null,function*(){let p=s.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,g=yield r({matches:l.map(b=>{let S=p.has(b.route.id);return zr({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?hW(a,o,b,f,u,k,h):Promise.resolve({type:Vr.data,result:void 0}))})}),request:o,params:l[0].params,context:h});return l.forEach(b=>Or(m.has(b.route.id),'`match.resolve()` was not called for route id "'+b.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),g.filter((b,S)=>p.has(l[S].route.id))})}function hW(r,a,o,s,l,f,u){return na(this,null,function*(){let h,p,m=g=>{let b,S=new Promise((L,N)=>b=N);p=()=>b(),a.signal.addEventListener("abort",p);let w=L=>typeof g!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):g({request:a,params:o.params,context:u},...L!==void 0?[L]:[]),k;return f?k=f(L=>w(L)):k=na(this,null,function*(){try{return{type:"data",result:yield w()}}catch(L){return{type:"error",result:L}}}),Promise.race([k,S])};try{let g=o.route[r];if(o.route.lazy)if(g){let b,[S]=yield Promise.all([m(g).catch(w=>{b=w}),uT(o.route,l,s)]);if(b!==void 0)throw b;h=S}else if(yield uT(o.route,l,s),g=o.route[r],g)h=yield m(g);else if(r==="action"){let b=new URL(a.url),S=b.pathname+b.search;throw ka(405,{method:a.method,pathname:S,routeId:o.route.id})}else return{type:Vr.data,result:void 0};else if(g)h=yield m(g);else{let b=new URL(a.url),S=b.pathname+b.search;throw ka(404,{pathname:S})}Or(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+o.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(g){return{type:Vr.error,result:g}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function FT(r){return na(this,null,function*(){let{result:a,type:o}=r;if(eu(a)){let m;try{let g=a.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?a.body==null?m=null:m=yield a.json():m=yield a.text()}catch(g){return{type:Vr.error,error:g}}return o===Vr.error?{type:Vr.error,error:new Ld(a.status,a.statusText,m),statusCode:a.status,headers:a.headers}:{type:Vr.data,data:m,statusCode:a.status,headers:a.headers}}if(o===Vr.error){if(n2(a)){var s;if(a.data instanceof Error){var l;return{type:Vr.error,error:a.data,statusCode:(l=a.init)==null?void 0:l.status}}a=new Ld(((s=a.init)==null?void 0:s.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Nd(a)?a.status:void 0}}if(WT(a)){var f,u;return{type:Vr.deferred,deferredData:a,statusCode:(f=a.init)==null?void 0:f.status,headers:((u=a.init)==null?void 0:u.headers)&&new Headers(a.init.headers)}}if(n2(a)){var h,p;return{type:Vr.data,data:a.data,statusCode:(h=a.init)==null?void 0:h.status,headers:(p=a.init)!=null&&p.headers?new Headers(a.init.headers):void 0}}return{type:Vr.data,data:a}})}function jT(r,a,o,s,l,f){let u=r.headers.get("Location");if(Or(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!l2.test(u)){let h=s.slice(0,s.findIndex(p=>p.route.id===o)+1);u=r2(new URL(a.url),h,l,!0,u,f),r.headers.set("Location",u)}return r}function fT(r,a,o){if(l2.test(r)){let s=r,l=s.startsWith("//")?new URL(a.protocol+s):new URL(s),f=Yh(l.pathname,o)!=null;if(l.origin===a.origin&&f)return l.pathname+l.search+l.hash}return r}function Rd(r,a,o,s){let l=r.createURL(UT(a)).toString(),f={signal:o};if(s&&Tl(s.formMethod)){let{formMethod:u,formEncType:h}=s;f.method=u.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(s.json)):h==="text/plain"?f.body=s.text:h==="application/x-www-form-urlencoded"&&s.formData?f.body=a2(s.formData):f.body=s.formData}return new Request(l,f)}function a2(r){let a=new URLSearchParams;for(let[o,s]of r.entries())a.append(o,typeof s=="string"?s:s.name);return a}function dT(r){let a=new FormData;for(let[o,s]of r.entries())a.append(o,s);return a}function HT(r,a,o,s,l,f){let u={},h=null,p,m=!1,g={},b=s&&Mn(s[1])?s[1].error:void 0;return o.forEach((S,w)=>{let k=a[w].route.id;if(Or(!ru(S),"Cannot handle redirect results in processLoaderData"),Mn(S)){let L=S.error;if(b!==void 0&&(L=b,b=void 0),h=h||{},f)h[k]=L;else{let N=Zu(r,k);h[N.route.id]==null&&(h[N.route.id]=L)}u[k]=void 0,m||(m=!0,p=Nd(S.error)?S.error.status:500),S.headers&&(g[k]=S.headers)}else tu(S)?(l.set(k,S.deferredData),u[k]=S.deferredData.data,S.statusCode!=null&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers)):(u[k]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers))}),b!==void 0&&s&&(h={[s[0]]:b},u[s[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:g}}function pT(r,a,o,s,l,f,u,h){let{loaderData:p,errors:m}=HT(a,o,s,l,h,!1);for(let g=0;g<f.length;g++){let{key:b,match:S,controller:w}=f[g];Or(u!==void 0&&u[g]!==void 0,"Did not find corresponding fetcher result");let k=u[g];if(!(w&&w.signal.aborted))if(Mn(k)){let L=Zu(r.matches,S==null?void 0:S.route.id);m&&m[L.route.id]||(m=zr({},m,{[L.route.id]:k.error})),r.fetchers.delete(b)}else if(ru(k))Or(!1,"Unhandled fetcher revalidation redirect");else if(tu(k))Or(!1,"Unhandled fetcher deferred data");else{let L=Zc(k.data);r.fetchers.set(b,L)}}return{loaderData:p,errors:m}}function hT(r,a,o,s){let l=zr({},a);for(let f of o){let u=f.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(l[u]=a[u]):r[u]!==void 0&&f.route.loader&&(l[u]=r[u]),s&&s.hasOwnProperty(u))break}return l}function mT(r){return r?Mn(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Zu(r,a){return(a?r.slice(0,r.findIndex(s=>s.route.id===a)+1):[...r]).reverse().find(s=>s.route.hasErrorBoundary===!0)||r[0]}function z_(r){let a=r.length===1?r[0]:r.find(o=>o.index||!o.path||o.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function ka(r,a){let{pathname:o,routeId:s,method:l,type:f,message:u}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",f==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
147
- `+u):l&&o&&s?p="You made a "+l+' request to "'+o+'" but '+('did not provide a `loader` for route "'+s+'", ')+"so there is no way to handle the request.":f==="defer-action"?p="defer() is not supported in actions":f==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+s+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",l&&o&&s?p="You made a "+l.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+s+'", ')+"so there is no way to handle the request.":l&&(p='Invalid request method "'+l.toUpperCase()+'"')),new Ld(r||500,h,new Error(p),!0)}function vT(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(ru(o))return{result:o,idx:a}}}function UT(r){let a=typeof r=="string"?Ql(r):r;return xs(zr({},a,{hash:""}))}function mW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function vW(r){return typeof r=="object"&&r!=null&&"then"in r}function _W(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Vr.data||r.type===Vr.error)}function VT(r){return eu(r.result)&&iW.has(r.result.status)}function tu(r){return r.type===Vr.deferred}function Mn(r){return r.type===Vr.error}function ru(r){return(r&&r.type)===Vr.redirect}function n2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function WT(r){let a=r;return a&&typeof a=="object"&&typeof a.data=="object"&&typeof a.subscribe=="function"&&typeof a.cancel=="function"&&typeof a.resolveData=="function"}function eu(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function gW(r){if(!eu(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function o2(r){return oW.has(r.toLowerCase())}function Tl(r){return aW.has(r.toLowerCase())}function _T(r,a,o,s,l,f){return na(this,null,function*(){for(let u=0;u<o.length;u++){let h=o[u],p=a[u];if(!p)continue;let m=r.find(b=>b.route.id===p.route.id),g=m!=null&&!PT(m,p)&&(f&&f[p.route.id])!==void 0;if(tu(h)&&(l||g)){let b=s[u];Or(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield qT(h,b,l).then(S=>{S&&(o[u]=S||o[u])})}}})}function qT(r,a,o){return na(this,null,function*(){if(o===void 0&&(o=!1),!(yield r.deferredData.resolveData(a))){if(o)try{return{type:Vr.data,data:r.deferredData.unwrappedData}}catch(l){return{type:Vr.error,error:l}}return{type:Vr.data,data:r.deferredData.data}}})}function s2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function ef(r,a){let o=typeof a=="string"?Ql(a).search:a.search;if(r[r.length-1].route.index&&s2(o||""))return r[r.length-1];let s=kT(r);return s[s.length-1]}function gT(r){let{formMethod:a,formAction:o,formEncType:s,text:l,formData:f,json:u}=r;if(!(!a||!o||!s)){if(l!=null)return{formMethod:a,formAction:o,formEncType:s,formData:void 0,json:void 0,text:l};if(f!=null)return{formMethod:a,formAction:o,formEncType:s,formData:f,json:void 0,text:void 0};if(u!==void 0)return{formMethod:a,formAction:o,formEncType:s,formData:void 0,json:u,text:void 0}}}function Z0(r,a){return a?{state:"loading",location:r,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function bW(r,a){return{state:"submitting",location:r,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function Wh(r,a){return r?{state:"loading",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function yW(r,a){return{state:"submitting",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:a?a.data:void 0}}function Zc(r){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function SW(r,a){try{let o=r.sessionStorage.getItem(NT);if(o){let s=JSON.parse(o);for(let[l,f]of Object.entries(s||{}))f&&Array.isArray(f)&&a.set(l,new Set(f||[]))}}catch(o){}}function wW(r,a){if(a.size>0){let o={};for(let[s,l]of a)o[s]=[...l];try{r.sessionStorage.setItem(NT,JSON.stringify(o))}catch(s){Cs(!1,"Failed to save applied view transitions in sessionStorage ("+s+").")}}}lr.AbortedDeferredError=qh;lr.Action=za;lr.IDLE_BLOCKER=Dd;lr.IDLE_FETCHER=AT;lr.IDLE_NAVIGATION=P_;lr.UNSAFE_DEFERRED_SYMBOL=OT;lr.UNSAFE_DeferredData=I_;lr.UNSAFE_ErrorResponseImpl=Ld;lr.UNSAFE_convertRouteMatchToUiMatch=yT;lr.UNSAFE_convertRoutesToDataRoutes=tf;lr.UNSAFE_decodePath=CT;lr.UNSAFE_getResolveToMatches=TT;lr.UNSAFE_invariant=Or;lr.UNSAFE_warning=Cs;lr.createBrowserHistory=DV;lr.createHashHistory=AV;lr.createMemoryHistory=RV;lr.createPath=xs;lr.createRouter=sW;lr.createStaticHandler=cW;lr.defer=eW;lr.generatePath=WV;lr.getStaticContextFromError=uW;lr.getToPathname=$V;lr.isDataWithResponseInit=n2;lr.isDeferredData=WT;lr.isRouteErrorResponse=Nd;lr.joinPaths=Ad;lr.json=XV;lr.matchPath=e2;lr.matchRoutes=ic;lr.normalizePathname=RT;lr.parsePath=Ql;lr.redirect=i2;lr.redirectDocument=tW;lr.replace=rW;lr.resolvePath=xT;lr.resolveTo=ET;lr.stripBasename=Yh;lr.unstable_data=QV});var $T=Ue((B_,YT)=>{(function(r,a){typeof B_=="object"&&typeof YT!="undefined"?a(B_,fr(),c2()):typeof define=="function"&&define.amd?define(["exports","react","@remix-run/router"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r.ReactRouter={},r.React,r.RemixRouter))})(B_,function(r,a,o){"use strict";function s($){if($&&$.__esModule)return $;var P=Object.create(null);return $&&Object.keys($).forEach(function(R){if(R!=="default"){var z=Object.getOwnPropertyDescriptor($,R);Object.defineProperty(P,R,z.get?z:{enumerable:!0,get:function(){return $[R]}})}}),P.default=$,Object.freeze(P)}var l=s(a);function f(){return f=Object.assign?Object.assign.bind():function($){for(var P=1;P<arguments.length;P++){var R=arguments[P];for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&($[z]=R[z])}return $},f.apply(this,arguments)}let u=l.createContext(null);u.displayName="DataRouter";let h=l.createContext(null);h.displayName="DataRouterState";let p=l.createContext(null);p.displayName="Await";let m=l.createContext(null);m.displayName="Navigation";let g=l.createContext(null);g.displayName="Location";let b=l.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";let S=l.createContext(null);S.displayName="RouteError";function w($,P){let{relative:R}=P===void 0?{}:P;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:z,navigator:G}=l.useContext(m),{hash:oe,pathname:ne,search:Oe}=ye($,{relative:R}),Pe=ne;return z!=="/"&&(Pe=ne==="/"?z:o.joinPaths([z,ne])),G.createHref({pathname:Pe,search:Oe,hash:oe})}function k(){return l.useContext(g)!=null}function L(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),l.useContext(g).location}function N(){return l.useContext(g).navigationType}function Y($){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:P}=L();return l.useMemo(()=>o.matchPath($,o.UNSAFE_decodePath(P)),[P,$])}let M="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j($){l.useContext(m).static||l.useLayoutEffect($)}function F(){let{isDataRoute:$}=l.useContext(b);return $?tr():Z()}function Z(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let $=l.useContext(u),{basename:P,future:R,navigator:z}=l.useContext(m),{matches:G}=l.useContext(b),{pathname:oe}=L(),ne=JSON.stringify(o.UNSAFE_getResolveToMatches(G,R.v7_relativeSplatPath)),Oe=l.useRef(!1);return j(()=>{Oe.current=!0}),l.useCallback(function(Me,We){if(We===void 0&&(We={}),o.UNSAFE_warning(Oe.current,M),!Oe.current)return;if(typeof Me=="number"){z.go(Me);return}let Ae=o.resolveTo(Me,JSON.parse(ne),oe,We.relative==="path");$==null&&P!=="/"&&(Ae.pathname=Ae.pathname==="/"?P:o.joinPaths([P,Ae.pathname])),(We.replace?z.replace:z.push)(Ae,We.state,We)},[P,z,ne,oe,$])}let O=l.createContext(null);function ae(){return l.useContext(O)}function ge($){let P=l.useContext(b).outlet;return P&&l.createElement(O.Provider,{value:$},P)}function ee(){let{matches:$}=l.useContext(b),P=$[$.length-1];return P?P.params:{}}function ye($,P){let{relative:R}=P===void 0?{}:P,{future:z}=l.useContext(m),{matches:G}=l.useContext(b),{pathname:oe}=L(),ne=JSON.stringify(o.UNSAFE_getResolveToMatches(G,z.v7_relativeSplatPath));return l.useMemo(()=>o.resolveTo($,JSON.parse(ne),oe,R==="path"),[$,ne,oe,R])}function be($,P){return he($,P)}function he($,P,R,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=l.useContext(m),{matches:oe}=l.useContext(b),ne=oe[oe.length-1],Oe=ne?ne.params:{},Pe=ne?ne.pathname:"/",Me=ne?ne.pathnameBase:"/",We=ne&&ne.route;{let Be=We&&We.path||"";dr(Pe,!We||Be.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Pe+'" (under <Route path="'+Be+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
144
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(_=t.transitionCallbacks));var y=Sk(e,Cv,null,n,i,c,d);vv(y.current,e);var C=e.nodeType===Qa?e.parentNode:e;return Yp(C),new Y0(y)}function R_(e){this._internalRoot=e}function aV(e){e&&pz(e)}R_.prototype.unstable_scheduleHydration=aV;function nV(e,t,n){if(!D_(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Vk(e),t===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,c=n!=null&&n.hydratedSources||null,d=!1,_=!1,y="",C=Uk;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var E=wk(t,null,e,Cv,i,d,_,y,C);if(vv(E.current,e),Yp(e),c)for(var A=0;A<c.length;A++){var J=c[A];aj(E,J)}return new R_(E)}function D_(e){return!!(e&&(e.nodeType===go||e.nodeType===js||e.nodeType===Jg||!Se))}function Hh(e){return!!(e&&(e.nodeType===go||e.nodeType===js||e.nodeType===Jg||e.nodeType===Qa&&e.nodeValue===" react-mount-point-unstable "))}function Vk(e){e.nodeType===go&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),ah(e)&&(e._reactRootContainer?u("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):u("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var oV=o.ReactCurrentOwner,Wk;Wk=function(e){if(e._reactRootContainer&&e.nodeType!==Qa){var t=xk(e._reactRootContainer.current);t&&t.parentNode!==e&&u("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,i=$0(e),c=!!(i&&zc(i));c&&!n&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===go&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function $0(e){return e?e.nodeType===js?e.documentElement:e.firstChild:null}function qk(){}function iV(e,t,n,i,c){if(c){if(typeof i=="function"){var d=i;i=function(){var Q=E_(_);d.call(Q)}}var _=wk(t,i,e,Fc,null,!1,!1,"",qk);e._reactRootContainer=_,vv(_.current,e);var y=e.nodeType===Qa?e.parentNode:e;return Yp(y),ac(),_}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof i=="function"){var E=i;i=function(){var Q=E_(A);E.call(Q)}}var A=Sk(e,Fc,null,!1,!1,"",qk);e._reactRootContainer=A,vv(A.current,e);var J=e.nodeType===Qa?e.parentNode:e;return Yp(J),ac(function(){jh(t,A,n,i)}),A}}function lV(e,t){e!==null&&typeof e!="function"&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function A_(e,t,n,i,c){Wk(n),lV(c===void 0?null:c,"render");var d=n._reactRootContainer,_;if(!d)_=iV(n,t,e,c,i);else{if(_=d,typeof c=="function"){var y=c;c=function(){var C=E_(_);y.call(C)}}jh(t,_,e,c)}return E_(_)}var Yk=!1;function sV(e){{Yk||(Yk=!0,u("findDOMNode is deprecated and will be removed in the next major release. 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"));var t=oV.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||u("%s is accessing findDOMNode inside its render(). 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.",Hr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===go?e:YU(e,"findDOMNode")}function cV(e,t,n){if(u("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hh(t))throw new Error("Target container is not a DOM element.");{var i=ah(t)&&t._reactRootContainer===void 0;i&&u("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return A_(null,e,t,!0,n)}function uV(e,t,n){if(u("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hh(t))throw new Error("Target container is not a DOM element.");{var i=ah(t)&&t._reactRootContainer===void 0;i&&u("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return A_(null,e,t,!1,n)}function fV(e,t,n,i){if(u("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Hh(n))throw new Error("Target container is not a DOM element.");if(e==null||!ZP(e))throw new Error("parentComponent must be a valid React Component");return A_(e,t,n,!1,i)}var $k=!1;function dV(e){if($k||($k=!0,u("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Hh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=ah(e)&&e._reactRootContainer===void 0;t&&u("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var n=$0(e),i=n&&!zc(n);i&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return ac(function(){A_(null,null,e,!1,function(){e._reactRootContainer=null,HC(e)})}),!0}else{{var c=$0(e),d=!!(c&&zc(c)),_=e.nodeType===go&&Hh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",_?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}az($U),oz(GU),iz(KU),lz(Fl),sz(ez),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&u("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),UP(c9),qP(x0,nU,ac);function pV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!D_(t))throw new Error("Target container is not a DOM element.");return qU(e,t,null,n)}function hV(e,t,n,i){return fV(e,t,n,i)}var G0={usingClientEntryPoint:!1,Events:[zc,rd,_v,n3,o3,x0]};function mV(e,t){return G0.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rV(e,t)}function vV(e,t,n){return G0.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),nV(e,t,n)}function _V(e){return ek()&&u("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),ac(e)}var gV=tV({findFiberByHostInstance:zu,bundleType:1,version:H0,rendererPackageName:"react-dom"});if(!gV&&it&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Gk=window.location.protocol;/^(https?|file):$/.test(Gk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Gk==="file:"?`
145
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Wo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G0,Wo.createPortal=pV,Wo.createRoot=mV,Wo.findDOMNode=sV,Wo.flushSync=_V,Wo.hydrate=cV,Wo.hydrateRoot=vV,Wo.render=uV,Wo.unmountComponentAtNode=dV,Wo.unstable_batchedUpdates=x0,Wo.unstable_renderSubtreeIntoContainer=hV,Wo.version=H0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var K0=Ue((J$,tT)=>{"use strict";tT.exports=eT()});var rT=Ue(Q0=>{"use strict";var X0=K0();Vh=X0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Q0.createRoot=function(r,a){Vh.usingClientEntryPoint=!0;try{return X0.createRoot(r,a)}finally{Vh.usingClientEntryPoint=!1}},Q0.hydrateRoot=function(r,a,o){Vh.usingClientEntryPoint=!0;try{return X0.hydrateRoot(r,a,o)}finally{Vh.usingClientEntryPoint=!1}};var Vh});var c2=Ue(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});function zr(){return zr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])}return r},zr.apply(this,arguments)}var za=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),aT="popstate";function RV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:s=!1}=r,l;l=a.map((w,k)=>g(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let f=p(o==null?l.length-1:o),u=za.Pop,h=null;function p(w){return Math.min(Math.max(w,0),l.length-1)}function m(){return l[f]}function g(w,k,L){k===void 0&&(k=null);let N=lc(l?m().pathname:"/",w,k,L);return xs(N.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),N}function b(w){return typeof w=="string"?w:ks(w)}return{get index(){return f},get action(){return u},get location(){return m()},createHref:b,createURL(w){return new URL(b(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Ql(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){u=za.Push;let L=g(w,k);f+=1,l.splice(f,l.length,L),s&&h&&h({action:u,location:L,delta:1})},replace(w,k){u=za.Replace;let L=g(w,k);l[f]=L,s&&h&&h({action:u,location:L,delta:0})},go(w){u=za.Pop;let k=p(f+w),L=l[k];f=k,h&&h({action:u,location:L,delta:w})},listen(w){return h=w,()=>{h=null}}}}function DV(r){r===void 0&&(r={});function a(s,l){let{pathname:f,search:u,hash:h}=s.location;return lc("",{pathname:f,search:u,hash:h},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function o(s,l){return typeof l=="string"?l:ks(l)}return bT(a,o,null,r)}function AV(r){r===void 0&&(r={});function a(l,f){let{pathname:u="/",search:h="",hash:p=""}=Ql(l.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),lc("",{pathname:u,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(l,f){let u=l.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=l.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:ks(f))}function s(l,f){xs(l.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return bT(a,o,s,r)}function Or(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function xs(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function LV(){return Math.random().toString(36).substr(2,8)}function nT(r,a){return{usr:r.state,key:r.key,idx:a}}function lc(r,a,o,s){return o===void 0&&(o=null),zr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Ql(a):a,{state:o,key:a&&a.key||s||LV()})}function ks(r){let{pathname:a="/",search:o="",hash:s=""}=r;return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),s&&s!=="#"&&(a+=s.charAt(0)==="#"?s:"#"+s),a}function Ql(r){let a={};if(r){let o=r.indexOf("#");o>=0&&(a.hash=r.substr(o),r=r.substr(0,o));let s=r.indexOf("?");s>=0&&(a.search=r.substr(s),r=r.substr(0,s)),r&&(a.pathname=r)}return a}function bT(r,a,o,s){s===void 0&&(s={});let{window:l=document.defaultView,v5Compat:f=!1}=s,u=l.history,h=za.Pop,p=null,m=g();m==null&&(m=0,u.replaceState(zr({},u.state,{idx:m}),""));function g(){return(u.state||{idx:null}).idx}function b(){h=za.Pop;let N=g(),Y=N==null?null:N-m;m=N,p&&p({action:h,location:L.location,delta:Y})}function S(N,Y){h=za.Push;let M=lc(L.location,N,Y);o&&o(M,N),m=g()+1;let j=nT(M,m),F=L.createHref(M);try{u.pushState(j,"",F)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;l.location.assign(F)}f&&p&&p({action:h,location:L.location,delta:1})}function w(N,Y){h=za.Replace;let M=lc(L.location,N,Y);o&&o(M,N),m=g();let j=nT(M,m),F=L.createHref(M);u.replaceState(j,"",F),f&&p&&p({action:h,location:L.location,delta:0})}function k(N){let Y=l.location.origin!=="null"?l.location.origin:l.location.href,M=typeof N=="string"?N:ks(N);return M=M.replace(/ $/,"%20"),Or(Y,"No window.location.(origin|href) available to create URL for href: "+M),new URL(M,Y)}let L={get action(){return h},get location(){return r(l,u)},listen(N){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(aT,b),p=N,()=>{l.removeEventListener(aT,b),p=null}},createHref(N){return a(l,N)},createURL:k,encodeLocation(N){let Y=k(N);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:w,go(N){return u.go(N)}};return L}var Vr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),NV=new Set(["lazy","caseSensitive","path","id","index","children"]);function OV(r){return r.index===!0}function tf(r,a,o,s){return o===void 0&&(o=[]),s===void 0&&(s={}),r.map((l,f)=>{let u=[...o,String(f)],h=typeof l.id=="string"?l.id:u.join("-");if(Or(l.index!==!0||!l.children,"Cannot specify children on an index route"),Or(!s[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),OV(l)){let p=zr({},l,a(l),{id:h});return s[h]=p,p}else{let p=zr({},l,a(l),{id:h,children:void 0});return s[h]=p,l.children&&(p.children=tf(l.children,a,u,s)),p}})}function ic(r,a,o){return o===void 0&&(o="/"),M_(r,a,o,!1)}function M_(r,a,o,s){let l=typeof a=="string"?Ql(a):a,f=Yh(l.pathname||"/",o);if(f==null)return null;let u=ST(r);MV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=CT(f);h=VV(u[p],m,s)}return h}function yT(r,a){let{route:o,pathname:s,params:l}=r;return{id:o.id,pathname:s,params:l,data:a[o.id],handle:o.handle}}function ST(r,a,o,s){a===void 0&&(a=[]),o===void 0&&(o=[]),s===void 0&&(s="");let l=(f,u,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:u,route:f};p.relativePath.startsWith("/")&&(Or(p.relativePath.startsWith(s),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(s.length));let m=Ad([s,p.relativePath]),g=o.concat(p);f.children&&f.children.length>0&&(Or(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),ST(f.children,a,g,m)),!(f.path==null&&!f.index)&&a.push({path:m,score:HV(m,f.index),routesMeta:g})};return r.forEach((f,u)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))l(f,u);else for(let p of wT(f.path))l(f,u,p)}),a}function wT(r){let a=r.split("/");if(a.length===0)return[];let[o,...s]=a,l=o.endsWith("?"),f=o.replace(/\?$/,"");if(s.length===0)return l?[f,""]:[f];let u=wT(s.join("/")),h=[];return h.push(...u.map(p=>p===""?f:[f,p].join("/"))),l&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function MV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:UV(a.routesMeta.map(s=>s.childrenIndex),o.routesMeta.map(s=>s.childrenIndex)))}var PV=/^:[\w-]+$/,IV=3,zV=2,BV=1,FV=10,jV=-2,oT=r=>r==="*";function HV(r,a){let o=r.split("/"),s=o.length;return o.some(oT)&&(s+=jV),a&&(s+=zV),o.filter(l=>!oT(l)).reduce((l,f)=>l+(PV.test(f)?IV:f===""?BV:FV),s)}function UV(r,a){return r.length===a.length&&r.slice(0,-1).every((s,l)=>s===a[l])?r[r.length-1]-a[a.length-1]:0}function VV(r,a,o){o===void 0&&(o=!1);let{routesMeta:s}=r,l={},f="/",u=[];for(let h=0;h<s.length;++h){let p=s[h],m=h===s.length-1,g=f==="/"?a:a.slice(f.length)||"/",b=e2({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),S=p.route;if(!b&&m&&o&&!s[s.length-1].route.index&&(b=e2({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(l,b.params),u.push({params:l,pathname:Ad([f,b.pathname]),pathnameBase:RT(Ad([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Ad([f,b.pathnameBase]))}return u}function WV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(xs(!1,'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".')),o=o.replace(/\*$/,"/*"));let s=o.startsWith("/")?"/":"",l=u=>u==null?"":typeof u=="string"?u:String(u),f=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return l(a["*"]);let g=u.match(/^:([\w-]+)(\??)$/);if(g){let[,b,S]=g,w=a[b];return Or(S==="?"||w!=null,'Missing ":'+b+'" param'),l(w)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return s+f.join("/")}function e2(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,s]=qV(r.path,r.caseSensitive,r.end),l=a.match(o);if(!l)return null;let f=l[0],u=f.replace(/(.)\/+$/,"$1"),h=l.slice(1);return{params:s.reduce((m,g,b)=>{let{paramName:S,isOptional:w}=g;if(S==="*"){let L=h[b]||"";u=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return w&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:u,pattern:r}}function qV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),xs(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let s=[],l="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,h,p)=>(s.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(s.push({paramName:"*"}),l+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?l+="\\/*$":r!==""&&r!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,a?void 0:"i"),s]}function CT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return xs(!1,'The URL path "'+r+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),r}}function Yh(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let o=a.endsWith("/")?a.length-1:a.length,s=r.charAt(o);return s&&s!=="/"?null:r.slice(o)||"/"}function xT(r,a){a===void 0&&(a="/");let{pathname:o,search:s="",hash:l=""}=typeof r=="string"?Ql(r):r;return{pathname:o?o.startsWith("/")?o:YV(o,a):a,search:GV(s),hash:KV(l)}}function YV(r,a){let o=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(l=>{l===".."?o.length>1&&o.pop():l!=="."&&o.push(l)}),o.length>1?o.join("/"):"/"}function J0(r,a,o,s){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(s)+"]. Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function kT(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function TT(r,a){let o=kT(r);return a?o.map((s,l)=>l===o.length-1?s.pathname:s.pathnameBase):o.map(s=>s.pathnameBase)}function ET(r,a,o,s){s===void 0&&(s=!1);let l;typeof r=="string"?l=Ql(r):(l=zr({},r),Or(!l.pathname||!l.pathname.includes("?"),J0("?","pathname","search",l)),Or(!l.pathname||!l.pathname.includes("#"),J0("#","pathname","hash",l)),Or(!l.search||!l.search.includes("#"),J0("#","search","hash",l)));let f=r===""||l.pathname==="",u=f?"/":l.pathname,h;if(u==null)h=o;else{let b=a.length-1;if(!s&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),b-=1;l.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=xT(l,h),m=u&&u!=="/"&&u.endsWith("/"),g=(f||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function $V(r){return r===""||r.pathname===""?"/":typeof r=="string"?Ql(r).pathname:r.pathname}var Ad=r=>r.join("/").replace(/\/\/+/g,"/"),RT=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),GV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,KV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,XV=function(a,o){o===void 0&&(o={});let s=typeof o=="number"?{status:o}:o,l=new Headers(s.headers);return l.has("Content-Type")||l.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),zr({},s,{headers:l}))},t2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function QV(r,a){return new t2(r,typeof a=="number"?{status:a}:a)}var qh=class extends Error{},I_=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Or(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let s;this.abortPromise=new Promise((f,u)=>s=u),this.controller=new AbortController;let l=()=>s(new qh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",l),this.controller.signal.addEventListener("abort",l),this.data=Object.entries(a).reduce((f,u)=>{let[h,p]=u;return Object.assign(f,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let s=Promise.race([o,this.abortPromise]).then(l=>this.onSettle(s,a,void 0,l),l=>this.onSettle(s,a,l));return s.catch(()=>{}),Object.defineProperty(s,"_tracked",{get:()=>!0}),s}onSettle(a,o,s,l){if(this.controller.signal.aborted&&s instanceof qh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>s}),Promise.reject(s);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),s===void 0&&l===void 0){let f=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>f}),this.emit(!1,o),Promise.reject(f)}return l===void 0?(Object.defineProperty(a,"_error",{get:()=>s}),this.emit(!1,o),Promise.reject(s)):(Object.defineProperty(a,"_data",{get:()=>l}),this.emit(!1,o),l)}emit(a,o){this.subscribers.forEach(s=>s(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return na(this,null,function*(){let o=!1;if(!this.done){let s=()=>this.cancel();a.addEventListener("abort",s),o=yield new Promise(l=>{this.subscribe(f=>{a.removeEventListener("abort",s),(f||this.done)&&l(f)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Or(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((a,o)=>{let[s,l]=o;return Object.assign(a,{[s]:ZV(l)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function JV(r){return r instanceof Promise&&r._tracked===!0}function ZV(r){if(!JV(r))return r;if(r._error)throw r._error;return r._data}var eW=function(a,o){o===void 0&&(o={});let s=typeof o=="number"?{status:o}:o;return new I_(a,s)},i2=function(a,o){o===void 0&&(o=302);let s=o;typeof s=="number"?s={status:s}:typeof s.status=="undefined"&&(s.status=302);let l=new Headers(s.headers);return l.set("Location",a),new Response(null,zr({},s,{headers:l}))},tW=(r,a)=>{let o=i2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},rW=(r,a)=>{let o=i2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ld=class{constructor(a,o,s,l){l===void 0&&(l=!1),this.status=a,this.statusText=o||"",this.internal=l,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function Nd(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var DT=["post","put","patch","delete"],aW=new Set(DT),nW=["get",...DT],oW=new Set(nW),iW=new Set([301,302,303,307,308]),lW=new Set([307,308]),P_={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},AT={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Dd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},l2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,LT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),NT="remix-router-transitions";function sW(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,o=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",s=!o;Or(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(r.mapRouteProperties)l=r.mapRouteProperties;else if(r.detectErrorBoundary){let I=r.detectErrorBoundary;l=V=>({hasErrorBoundary:I(V)})}else l=LT;let f={},u=tf(r.routes,l,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||zT,g=r.unstable_patchRoutesOnMiss,b=zr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,w=new Set,k=null,L=null,N=null,Y=r.hydrationData!=null,M=ic(u,r.history.location,p),j=null;if(M==null&&!g){let I=ka(404,{pathname:r.history.location.pathname}),{matches:V,route:re}=z_(u);M=V,j={[re.id]:I}}M&&!r.hydrationData&&Me(M,u,r.history.location.pathname).active&&(M=null);let F;if(M)if(M.some(I=>I.route.lazy))F=!1;else if(!M.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,re=ce=>ce.route.loader?typeof ce.route.loader=="function"&&ce.route.loader.hydrate===!0?!1:I&&I[ce.route.id]!==void 0||V&&V[ce.route.id]!==void 0:!0;if(V){let ce=M.findIndex(Ve=>V[Ve.route.id]!==void 0);F=M.slice(0,ce+1).every(re)}else F=M.every(re)}else F=r.hydrationData!=null;else if(F=!1,M=[],b.v7_partialHydration){let I=Me(null,u,r.history.location.pathname);I.active&&I.matches&&(M=I.matches)}let Z,O={historyAction:r.history.action,location:r.history.location,matches:M,initialized:F,navigation:P_,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||j,fetchers:new Map,blockers:new Map},ae=za.Pop,ge=!1,ee,ye=!1,be=new Map,he=null,H=!1,le=!1,de=[],B=new Set,W=new Map,ie=0,te=-1,se=new Map,we=new Set,Se=new Map,je=new Map,Ye=new Set,Ge=new Map,rt=new Map,et=new Map,Nt=!1;function $t(){if(S=r.history.listen(I=>{let{action:V,location:re,delta:ce}=I;if(Nt){Nt=!1;return}xs(rt.size===0||ce!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Ve=P({currentLocation:O.location,nextLocation:re,historyAction:V});if(Ve&&ce!=null){Nt=!0,r.history.go(ce*-1),$(Ve,{state:"blocked",location:re,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),r.history.go(ce)},reset(){let Be=new Map(O.blockers);Be.set(Ve,Dd),ke({blockers:Be})}});return}return wt(V,re)}),o){SW(a,be);let I=()=>wW(a,be);a.addEventListener("pagehide",I),he=()=>a.removeEventListener("pagehide",I)}return O.initialized||wt(za.Pop,O.location,{initialHydration:!0}),Z}function dt(){S&&S(),he&&he(),w.clear(),ee&&ee.abort(),O.fetchers.forEach((I,V)=>ze(V)),O.blockers.forEach((I,V)=>Yr(V))}function Xe(I){return w.add(I),()=>w.delete(I)}function ke(I,V){V===void 0&&(V={}),O=zr({},O,I);let re=[],ce=[];b.v7_fetcherPersist&&O.fetchers.forEach((Ve,Be)=>{Ve.state==="idle"&&(Ye.has(Be)?ce.push(Be):re.push(Be))}),[...w].forEach(Ve=>Ve(O,{deletedFetchers:ce,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(re.forEach(Ve=>O.fetchers.delete(Ve)),ce.forEach(Ve=>ze(Ve)))}function it(I,V,re){var ce,Ve;let{flushSync:Be}=re===void 0?{}:re,D=O.actionData!=null&&O.navigation.formMethod!=null&&Tl(O.navigation.formMethod)&&O.navigation.state==="loading"&&((ce=I.state)==null?void 0:ce._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=O.actionData:q=null;let pe=V.loaderData?hT(O.loaderData,V.loaderData,V.matches||[],V.errors):O.loaderData,Te=O.blockers;Te.size>0&&(Te=new Map(Te),Te.forEach((Ze,Ke)=>Te.set(Ke,Dd)));let He=ge===!0||O.navigation.formMethod!=null&&Tl(O.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(u=h,h=void 0),H||ae===za.Pop||(ae===za.Push?r.history.push(I,I.state):ae===za.Replace&&r.history.replace(I,I.state));let ft;if(ae===za.Pop){let Ze=be.get(O.location.pathname);Ze&&Ze.has(I.pathname)?ft={currentLocation:O.location,nextLocation:I}:be.has(I.pathname)&&(ft={currentLocation:I,nextLocation:O.location})}else if(ye){let Ze=be.get(O.location.pathname);Ze?Ze.add(I.pathname):(Ze=new Set([I.pathname]),be.set(O.location.pathname,Ze)),ft={currentLocation:O.location,nextLocation:I}}ke(zr({},V,{actionData:q,loaderData:pe,historyAction:ae,location:I,initialized:!0,navigation:P_,revalidation:"idle",restoreScrollPosition:Pe(I,V.matches||O.matches),preventScrollReset:He,blockers:Te}),{viewTransitionOpts:ft,flushSync:Be===!0}),ae=za.Pop,ge=!1,ye=!1,H=!1,le=!1,de=[]}function kt(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let re=r2(O.location,O.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:ce,submission:Ve,error:Be}=lT(b.v7_normalizeFormMethod,!1,re,V),D=O.location,q=lc(O.location,ce,V&&V.state);q=zr({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,Te=za.Push;pe===!0?Te=za.Replace:pe===!1||Ve!=null&&Tl(Ve.formMethod)&&Ve.formAction===O.location.pathname+O.location.search&&(Te=za.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Ze=P({currentLocation:D,nextLocation:q,historyAction:Te});if(Ze){$(Ze,{state:"blocked",location:q,proceed(){$(Ze,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),kt(I,V)},reset(){let Ke=new Map(O.blockers);Ke.set(Ze,Dd),ke({blockers:Ke})}});return}return yield wt(Te,q,{submission:Ve,pendingError:Be,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function Tt(){if(kr(),ke({revalidation:"loading"}),O.navigation.state!=="submitting"){if(O.navigation.state==="idle"){wt(O.historyAction,O.location,{startUninterruptedRevalidation:!0});return}wt(ae||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation})}}function wt(I,V,re){return na(this,null,function*(){ee&&ee.abort(),ee=null,ae=I,H=(re&&re.startUninterruptedRevalidation)===!0,Oe(O.location,O.matches),ge=(re&&re.preventScrollReset)===!0,ye=(re&&re.enableViewTransition)===!0;let ce=h||u,Ve=re&&re.overrideNavigation,Be=ic(ce,V,p),D=(re&&re.flushSync)===!0,q=Me(Be,ce,V.pathname);if(q.active&&q.matches&&(Be=q.matches),!Be){let{error:Ct,notFoundMatches:Et,route:Wt}=R(V.pathname);it(V,{matches:Et,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:D});return}if(O.initialized&&!le&&mW(O.location,V)&&!(re&&re.submission&&Tl(re.submission.formMethod))){it(V,{matches:Be},{flushSync:D});return}ee=new AbortController;let pe=Rd(r.history,V,ee.signal,re&&re.submission),Te;if(re&&re.pendingError)Te=[Zu(Be).route.id,{type:Vr.error,error:re.pendingError}];else if(re&&re.submission&&Tl(re.submission.formMethod)){let Ct=yield tr(pe,V,re.submission,Be,q.active,{replace:re.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[Et,Wt]=Ct.pendingActionResult;if(Mn(Wt)&&Nd(Wt.error)&&Wt.error.status===404){ee=null,it(V,{matches:Ct.matches,loaderData:{},errors:{[Et]:Wt.error}});return}}Be=Ct.matches||Be,Te=Ct.pendingActionResult,Ve=Z0(V,re.submission),D=!1,q.active=!1,pe=Rd(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ft,loaderData:Ze,errors:Ke}=yield Ut(pe,V,Be,q.active,Ve,re&&re.submission,re&&re.fetcherSubmission,re&&re.replace,re&&re.initialHydration===!0,D,Te);He||(ee=null,it(V,zr({matches:ft||Be},mT(Te),{loaderData:Ze,errors:Ke})))})}function tr(I,V,re,ce,Ve,Be){return na(this,null,function*(){Be===void 0&&(Be={}),kr();let D=bW(V,re);if(ke({navigation:D},{flushSync:Be.flushSync===!0}),Ve){let Te=yield We(ce,V.pathname,I.signal);if(Te.type==="aborted")return{shortCircuited:!0};if(Te.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,Te);return{matches:Te.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ft}]}}else if(Te.matches)ce=Te.matches;else{let{notFoundMatches:He,error:ft,route:Ze}=R(V.pathname);return{matches:He,pendingActionResult:[Ze.id,{type:Vr.error,error:ft}]}}}let q,pe=ef(ce,V);if(!pe.route.action&&!pe.route.lazy)q={type:Vr.error,error:ka(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield br("action",I,[pe],ce))[0],I.signal.aborted)return{shortCircuited:!0};if(ru(q)){let Te;return Be&&Be.replace!=null?Te=Be.replace:Te=fT(q.response.headers.get("Location"),new URL(I.url),p)===O.location.pathname+O.location.search,yield pr(I,q,{submission:re,replace:Te}),{shortCircuited:!0}}if(tu(q))throw ka(400,{type:"defer-action"});if(Mn(q)){let Te=Zu(ce,pe.route.id);return(Be&&Be.replace)!==!0&&(ae=za.Push),{matches:ce,pendingActionResult:[Te.route.id,q]}}return{matches:ce,pendingActionResult:[pe.route.id,q]}})}function Ut(I,V,re,ce,Ve,Be,D,q,pe,Te,He){return na(this,null,function*(){let ft=Ve||Z0(V,Be),Ze=Be||D||gT(ft),Ke=!H&&(!b.v7_partialHydration||!pe);if(ce){if(Ke){let aa=dr(He);ke(zr({navigation:ft},aa!==void 0?{actionData:aa}:{}),{flushSync:Te})}let Jt=yield We(re,V.pathname,I.signal);if(Jt.type==="aborted")return{shortCircuited:!0};if(Jt.type==="error"){let{boundaryId:aa,error:tn}=z(V.pathname,Jt);return{matches:Jt.partialMatches,loaderData:{},errors:{[aa]:tn}}}else if(Jt.matches)re=Jt.matches;else{let{error:aa,notFoundMatches:tn,route:Gr}=R(V.pathname);return{matches:tn,loaderData:{},errors:{[Gr.id]:aa}}}}let Ct=h||u,[Et,Wt]=sT(r.history,O,re,Ze,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,de,B,Ye,Se,we,Ct,p,He);if(G(Jt=>!(re&&re.some(aa=>aa.route.id===Jt))||Et&&Et.some(aa=>aa.route.id===Jt)),te=++ie,Et.length===0&&Wt.length===0){let Jt=Vt();return it(V,zr({matches:re,loaderData:{},errors:He&&Mn(He[1])?{[He[0]]:He[1].error}:null},mT(He),Jt?{fetchers:new Map(O.fetchers)}:{}),{flushSync:Te}),{shortCircuited:!0}}if(Ke){let Jt={};if(!ce){Jt.navigation=ft;let aa=dr(He);aa!==void 0&&(Jt.actionData=aa)}Wt.length>0&&(Jt.fetchers=ra(Wt)),ke(Jt,{flushSync:Te})}Wt.forEach(Jt=>{W.has(Jt.key)&&bt(Jt.key),Jt.controller&&W.set(Jt.key,Jt.controller)});let $r=()=>Wt.forEach(Jt=>bt(Jt.key));ee&&ee.signal.addEventListener("abort",$r);let{loaderResults:Va,fetcherResults:ia}=yield pa(O.matches,re,Et,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};ee&&ee.signal.removeEventListener("abort",$r),Wt.forEach(Jt=>W.delete(Jt.key));let la=vT([...Va,...ia]);if(la){if(la.idx>=Et.length){let Jt=Wt[la.idx-Et.length].key;we.add(Jt)}return yield pr(I,la.result,{replace:q}),{shortCircuited:!0}}let{loaderData:Xa,errors:Ot}=pT(O,re,Et,Va,He,Wt,ia,Ge);Ge.forEach((Jt,aa)=>{Jt.subscribe(tn=>{(tn||Jt.done)&&Ge.delete(aa)})}),b.v7_partialHydration&&pe&&O.errors&&Object.entries(O.errors).filter(Jt=>{let[aa]=Jt;return!Et.some(tn=>tn.route.id===aa)}).forEach(Jt=>{let[aa,tn]=Jt;Ot=Object.assign(Ot||{},{[aa]:tn})});let qn=Vt(),cs=Rr(te),us=qn||cs||Wt.length>0;return zr({matches:re,loaderData:Xa,errors:Ot},us?{fetchers:new Map(O.fetchers)}:{})})}function dr(I){if(I&&!Mn(I[1]))return{[I[0]]:I[1].data};if(O.actionData)return Object.keys(O.actionData).length===0?null:O.actionData}function ra(I){return I.forEach(V=>{let re=O.fetchers.get(V.key),ce=Wh(void 0,re?re.data:void 0);O.fetchers.set(V.key,ce)}),new Map(O.fetchers)}function jr(I,V,re,ce){if(s)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");W.has(I)&&bt(I);let Ve=(ce&&ce.unstable_flushSync)===!0,Be=h||u,D=r2(O.location,O.matches,p,b.v7_prependBasename,re,b.v7_relativeSplatPath,V,ce==null?void 0:ce.relative),q=ic(Be,D,p),pe=Me(q,Be,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Pr(I,V,ka(404,{pathname:D}),{flushSync:Ve});return}let{path:Te,submission:He,error:ft}=lT(b.v7_normalizeFormMethod,!0,D,ce);if(ft){Pr(I,V,ft,{flushSync:Ve});return}let Ze=ef(q,Te);if(ge=(ce&&ce.preventScrollReset)===!0,He&&Tl(He.formMethod)){qr(I,V,Te,Ze,q,pe.active,Ve,He);return}Se.set(I,{routeId:V,path:Te}),xr(I,V,Te,Ze,q,pe.active,Ve,He)}function qr(I,V,re,ce,Ve,Be,D,q){return na(this,null,function*(){kr(),Se.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let Yn=ka(405,{method:q.formMethod,pathname:re,routeId:V});return Pr(I,V,Yn,{flushSync:D}),!0}return!1}if(!Be&&pe(ce))return;let Te=O.fetchers.get(I);vr(I,yW(q,Te),{flushSync:D});let He=new AbortController,ft=Rd(r.history,re,He.signal,q);if(Be){let Gr=yield We(Ve,re,ft.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:Yn}=z(re,Gr);Pr(I,V,Yn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,ce=ef(Ve,re),pe(ce))return}else{Pr(I,V,ka(404,{pathname:re}),{flushSync:D});return}}W.set(I,He);let Ze=ie,Ct=(yield br("action",ft,[ce],Ve))[0];if(ft.signal.aborted){W.get(I)===He&&W.delete(I);return}if(b.v7_fetcherPersist&&Ye.has(I)){if(ru(Ct)||Mn(Ct)){vr(I,Zc(void 0));return}}else{if(ru(Ct))if(W.delete(I),te>Ze){vr(I,Zc(void 0));return}else return we.add(I),vr(I,Wh(q)),pr(ft,Ct,{fetcherSubmission:q});if(Mn(Ct)){Pr(I,V,Ct.error);return}}if(tu(Ct))throw ka(400,{type:"defer-action"});let Et=O.navigation.location||O.location,Wt=Rd(r.history,Et,He.signal),$r=h||u,Va=O.navigation.state!=="idle"?ic($r,O.navigation.location,p):O.matches;Or(Va,"Didn't find any matches after fetcher action");let ia=++ie;se.set(I,ia);let la=Wh(q,Ct.data);O.fetchers.set(I,la);let[Xa,Ot]=sT(r.history,O,Va,q,Et,!1,b.v7_skipActionErrorRevalidation,le,de,B,Ye,Se,we,$r,p,[ce.route.id,Ct]);Ot.filter(Gr=>Gr.key!==I).forEach(Gr=>{let Yn=Gr.key,Su=O.fetchers.get(Yn),ip=Wh(void 0,Su?Su.data:void 0);O.fetchers.set(Yn,ip),W.has(Yn)&&bt(Yn),Gr.controller&&W.set(Yn,Gr.controller)}),ke({fetchers:new Map(O.fetchers)});let qn=()=>Ot.forEach(Gr=>bt(Gr.key));He.signal.addEventListener("abort",qn);let{loaderResults:cs,fetcherResults:us}=yield pa(O.matches,Va,Xa,Ot,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",qn),se.delete(I),W.delete(I),Ot.forEach(Gr=>W.delete(Gr.key));let Jt=vT([...cs,...us]);if(Jt){if(Jt.idx>=Xa.length){let Gr=Ot[Jt.idx-Xa.length].key;we.add(Gr)}return pr(Wt,Jt.result)}let{loaderData:aa,errors:tn}=pT(O,O.matches,Xa,cs,void 0,Ot,us,Ge);if(O.fetchers.has(I)){let Gr=Zc(Ct.data);O.fetchers.set(I,Gr)}Rr(ia),O.navigation.state==="loading"&&ia>te?(Or(ae,"Expected pending action"),ee&&ee.abort(),it(O.navigation.location,{matches:Va,loaderData:aa,errors:tn,fetchers:new Map(O.fetchers)})):(ke({errors:tn,loaderData:hT(O.loaderData,aa,Va,tn),fetchers:new Map(O.fetchers)}),le=!1)})}function xr(I,V,re,ce,Ve,Be,D,q){return na(this,null,function*(){let pe=O.fetchers.get(I);vr(I,Wh(q,pe?pe.data:void 0),{flushSync:D});let Te=new AbortController,He=Rd(r.history,re,Te.signal);if(Be){let Ct=yield We(Ve,re,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:Et}=z(re,Ct);Pr(I,V,Et,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,ce=ef(Ve,re);else{Pr(I,V,ka(404,{pathname:re}),{flushSync:D});return}}W.set(I,Te);let ft=ie,Ke=(yield br("loader",He,[ce],Ve))[0];if(tu(Ke)&&(Ke=(yield qT(Ke,He.signal,!0))||Ke),W.get(I)===Te&&W.delete(I),!He.signal.aborted){if(Ye.has(I)){vr(I,Zc(void 0));return}if(ru(Ke))if(te>ft){vr(I,Zc(void 0));return}else{we.add(I),yield pr(He,Ke);return}if(Mn(Ke)){Pr(I,V,Ke.error);return}Or(!tu(Ke),"Unhandled fetcher deferred data"),vr(I,Zc(Ke.data))}})}function pr(I,V,re){return na(this,null,function*(){let{submission:ce,fetcherSubmission:Ve,replace:Be}=re===void 0?{}:re;V.response.headers.has("X-Remix-Revalidate")&&(le=!0);let D=V.response.headers.get("Location");Or(D,"Expected a Location header on the redirect Response"),D=fT(D,new URL(I.url),p);let q=lc(O.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(l2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||Yh(Ct.pathname,p)==null}if(Ke){Be?a.location.replace(D):a.location.assign(D);return}}ee=null;let pe=Be===!0||V.response.headers.has("X-Remix-Replace")?za.Replace:za.Push,{formMethod:Te,formAction:He,formEncType:ft}=O.navigation;!ce&&!Ve&&Te&&He&&ft&&(ce=gT(O.navigation));let Ze=ce||Ve;if(lW.has(V.response.status)&&Ze&&Tl(Ze.formMethod))yield wt(pe,q,{submission:zr({},Ze,{formAction:D}),preventScrollReset:ge});else{let Ke=Z0(q,ce);yield wt(pe,q,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:ge})}})}function br(I,V,re,ce){return na(this,null,function*(){try{let Ve=yield BT(m,I,V,re,ce,f,l);return yield Promise.all(Ve.map((Be,D)=>{if(VT(Be)){let q=Be.result;return{type:Vr.redirect,response:jT(q,V,re[D].route.id,ce,p,b.v7_relativeSplatPath)}}return FT(Be)}))}catch(Ve){return re.map(()=>({type:Vr.error,error:Ve}))}})}function pa(I,V,re,ce,Ve){return na(this,null,function*(){let[Be,...D]=yield Promise.all([re.length?br("loader",Ve,re,V):[],...ce.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Rd(r.history,q.path,q.controller.signal);return br("loader",pe,[q.match],q.matches).then(Te=>Te[0])}else return Promise.resolve({type:Vr.error,error:ka(404,{pathname:q.path})})})]);return yield Promise.all([_T(I,re,Be,Be.map(()=>Ve.signal),!1,O.loaderData),_T(I,ce.map(q=>q.match),D,ce.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Be,fetcherResults:D}})}function kr(){le=!0,de.push(...G()),Se.forEach((I,V)=>{W.has(V)&&(B.add(V),bt(V))})}function vr(I,V,re){re===void 0&&(re={}),O.fetchers.set(I,V),ke({fetchers:new Map(O.fetchers)},{flushSync:(re&&re.flushSync)===!0})}function Pr(I,V,re,ce){ce===void 0&&(ce={});let Ve=Zu(O.matches,V);ze(I),ke({errors:{[Ve.route.id]:re},fetchers:new Map(O.fetchers)},{flushSync:(ce&&ce.flushSync)===!0})}function ga(I){return b.v7_fetcherPersist&&(je.set(I,(je.get(I)||0)+1),Ye.has(I)&&Ye.delete(I)),O.fetchers.get(I)||AT}function ze(I){let V=O.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&se.has(I))&&bt(I),Se.delete(I),se.delete(I),we.delete(I),Ye.delete(I),B.delete(I),O.fetchers.delete(I)}function ct(I){if(b.v7_fetcherPersist){let V=(je.get(I)||0)-1;V<=0?(je.delete(I),Ye.add(I)):je.set(I,V)}else ze(I);ke({fetchers:new Map(O.fetchers)})}function bt(I){let V=W.get(I);Or(V,"Expected fetch controller: "+I),V.abort(),W.delete(I)}function Gt(I){for(let V of I){let re=ga(V),ce=Zc(re.data);O.fetchers.set(V,ce)}}function Vt(){let I=[],V=!1;for(let re of we){let ce=O.fetchers.get(re);Or(ce,"Expected fetcher: "+re),ce.state==="loading"&&(we.delete(re),I.push(re),V=!0)}return Gt(I),V}function Rr(I){let V=[];for(let[re,ce]of se)if(ce<I){let Ve=O.fetchers.get(re);Or(Ve,"Expected fetcher: "+re),Ve.state==="loading"&&(bt(re),se.delete(re),V.push(re))}return Gt(V),V.length>0}function _r(I,V){let re=O.blockers.get(I)||Dd;return rt.get(I)!==V&&rt.set(I,V),re}function Yr(I){O.blockers.delete(I),rt.delete(I)}function $(I,V){let re=O.blockers.get(I)||Dd;Or(re.state==="unblocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="proceeding"||re.state==="blocked"&&V.state==="unblocked"||re.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+re.state+" -> "+V.state);let ce=new Map(O.blockers);ce.set(I,V),ke({blockers:ce})}function P(I){let{currentLocation:V,nextLocation:re,historyAction:ce}=I;if(rt.size===0)return;rt.size>1&&xs(!1,"A router only supports one blocker at a time");let Ve=Array.from(rt.entries()),[Be,D]=Ve[Ve.length-1],q=O.blockers.get(Be);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:re,historyAction:ce}))return Be}function R(I){let V=ka(404,{pathname:I}),re=h||u,{matches:ce,route:Ve}=z_(re);return G(),{notFoundMatches:ce,route:Ve,error:V}}function z(I,V){return{boundaryId:Zu(V.partialMatches).route.id,error:ka(400,{type:"route-discovery",pathname:I,message:V.error!=null&&"message"in V.error?V.error:String(V.error)})}}function G(I){let V=[];return Ge.forEach((re,ce)=>{(!I||I(ce))&&(re.cancel(),V.push(ce),Ge.delete(ce))}),V}function oe(I,V,re){if(k=I,N=V,L=re||null,!Y&&O.navigation===P_){Y=!0;let ce=Pe(O.location,O.matches);ce!=null&&ke({restoreScrollPosition:ce})}return()=>{k=null,N=null,L=null}}function ne(I,V){return L&&L(I,V.map(ce=>yT(ce,O.loaderData)))||I.key}function Oe(I,V){if(k&&N){let re=ne(I,V);k[re]=N()}}function Pe(I,V){if(k){let re=ne(I,V),ce=k[re];if(typeof ce=="number")return ce}return null}function Me(I,V,re){if(g)if(I){let ce=I[I.length-1].route;if(ce.path&&(ce.path==="*"||ce.path.endsWith("/*")))return{active:!0,matches:M_(V,re,p,!0)}}else return{active:!0,matches:M_(V,re,p,!0)||[]};return{active:!1,matches:null}}function We(I,V,re){return na(this,null,function*(){let ce=I,Ve=ce.length>0?ce[ce.length-1].route:null;for(;;){let Be=h==null,D=h||u;try{yield pW(g,V,ce,D,f,l,et,re)}catch(He){return{type:"error",error:He,partialMatches:ce}}finally{Be&&(u=[...u])}if(re.aborted)return{type:"aborted"};let q=ic(D,V,p),pe=!1;if(q){let He=q[q.length-1].route;if(He.index)return{type:"success",matches:q};if(He.path&&He.path.length>0)if(He.path==="*")pe=!0;else return{type:"success",matches:q}}let Te=M_(D,V,p,!0);if(!Te||ce.map(He=>He.route.id).join("-")===Te.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?q:null};if(ce=Te,Ve=ce[ce.length-1].route,Ve.path==="*")return{type:"success",matches:ce}}})}function Ae(I){f={},h=tf(I,l,void 0,f)}function Je(I,V){let re=h==null;IT(I,V,h||u,f,l),re&&(u=[...u],ke({}))}return Z={get basename(){return p},get future(){return b},get state(){return O},get routes(){return u},get window(){return a},initialize:$t,subscribe:Xe,enableScrollRestoration:oe,navigate:kt,fetch:jr,revalidate:Tt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:ga,deleteFetcher:ct,dispose:dt,getBlocker:_r,deleteBlocker:Yr,patchRoutes:Je,_internalFetchControllers:W,_internalActiveDeferreds:Ge,_internalSetRoutes:Ae},Z}var OT=Symbol("deferred");function cW(r,a){Or(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let o={},s=(a?a.basename:null)||"/",l;if(a!=null&&a.mapRouteProperties)l=a.mapRouteProperties;else if(a!=null&&a.detectErrorBoundary){let w=a.detectErrorBoundary;l=k=>({hasErrorBoundary:w(k)})}else l=LT;let f=zr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=tf(r,l,void 0,o);function h(w,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:N,unstable_dataStrategy:Y}=k===void 0?{}:k,M=new URL(w.url),j=w.method,F=lc("",ks(M),null,"default"),Z=ic(u,F,s);if(!o2(j)&&j!=="HEAD"){let ae=ka(405,{method:j}),{matches:ge,route:ee}=z_(u);return{basename:s,location:F,matches:ge,loaderData:{},actionData:null,errors:{[ee.id]:ae},statusCode:ae.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Z){let ae=ka(404,{pathname:F.pathname}),{matches:ge,route:ee}=z_(u);return{basename:s,location:F,matches:ge,loaderData:{},actionData:null,errors:{[ee.id]:ae},statusCode:ae.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let O=yield m(w,F,Z,L,Y||null,N===!0,null);return eu(O)?O:zr({location:F,basename:s},O)})}function p(w,k){return na(this,null,function*(){let{routeId:L,requestContext:N,unstable_dataStrategy:Y}=k===void 0?{}:k,M=new URL(w.url),j=w.method,F=lc("",ks(M),null,"default"),Z=ic(u,F,s);if(!o2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw ka(405,{method:j});if(!Z)throw ka(404,{pathname:F.pathname});let O=L?Z.find(ye=>ye.route.id===L):ef(Z,F);if(L&&!O)throw ka(403,{pathname:F.pathname,routeId:L});if(!O)throw ka(404,{pathname:F.pathname});let ae=yield m(w,F,Z,N,Y||null,!1,O);if(eu(ae))return ae;let ge=ae.errors?Object.values(ae.errors)[0]:void 0;if(ge!==void 0)throw ge;if(ae.actionData)return Object.values(ae.actionData)[0];if(ae.loaderData){var ee;let ye=Object.values(ae.loaderData)[0];return(ee=ae.activeDeferreds)!=null&&ee[O.route.id]&&(ye[OT]=ae.activeDeferreds[O.route.id]),ye}})}function m(w,k,L,N,Y,M,j){return na(this,null,function*(){Or(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Tl(w.method.toLowerCase()))return yield g(w,L,j||ef(L,k),N,Y,M,j!=null);let F=yield b(w,L,N,Y,M,j);return eu(F)?F:zr({},F,{actionData:null,actionHeaders:{}})}catch(F){if(_W(F)&&eu(F.result)){if(F.type===Vr.error)throw F.result;return F.result}if(gW(F))return F;throw F}})}function g(w,k,L,N,Y,M,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let ae=ka(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:L.route.id});if(j)throw ae;F={type:Vr.error,error:ae}}else F=(yield S("action",w,[L],k,j,N,Y))[0],w.signal.aborted&&iT(w,j,f);if(ru(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(tu(F)){let ae=ka(400,{type:"defer-action"});if(j)throw ae;F={type:Vr.error,error:ae}}if(j){if(Mn(F))throw F.error;return{matches:[L],loaderData:{},actionData:{[L.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let Z=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Mn(F)){let ae=M?L:Zu(k,L.route.id),ge=yield b(Z,k,N,Y,M,null,[ae.route.id,F]);return zr({},ge,{statusCode:Nd(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:zr({},F.headers?{[L.route.id]:F.headers}:{})})}let O=yield b(Z,k,N,Y,M,null);return zr({},O,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(w,k,L,N,Y,M,j){return na(this,null,function*(){let F=M!=null;if(F&&!(M!=null&&M.route.loader)&&!(M!=null&&M.route.lazy))throw ka(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:M==null?void 0:M.route.id});let O=(M?[M]:j&&Mn(j[1])?MT(k,j[0]):k).filter(be=>be.route.loader||be.route.lazy);if(O.length===0)return{matches:k,loaderData:k.reduce((be,he)=>Object.assign(be,{[he.route.id]:null}),{}),errors:j&&Mn(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let ae=yield S("loader",w,O,k,F,L,N);w.signal.aborted&&iT(w,F,f);let ge=new Map,ee=HT(k,O,ae,j,ge,Y),ye=new Set(O.map(be=>be.route.id));return k.forEach(be=>{ye.has(be.route.id)||(ee.loaderData[be.route.id]=null)}),zr({},ee,{matches:k,activeDeferreds:ge.size>0?Object.fromEntries(ge.entries()):null})})}function S(w,k,L,N,Y,M,j){return na(this,null,function*(){let F=yield BT(j||zT,w,k,L,N,o,l,M);return yield Promise.all(F.map((Z,O)=>{if(VT(Z)){let ae=Z.result;throw jT(ae,k,L[O].route.id,N,s,f.v7_relativeSplatPath)}if(eu(Z.result)&&Y)throw Z;return FT(Z)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function uW(r,a,o){return zr({},a,{statusCode:Nd(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function iT(r,a,o){if(o.v7_throwAbortReason&&r.signal.reason!==void 0)throw r.signal.reason;let s=a?"queryRoute":"query";throw new Error(s+"() call aborted: "+r.method+" "+r.url)}function fW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function r2(r,a,o,s,l,f,u,h){let p,m;if(u){p=[];for(let b of a)if(p.push(b),b.route.id===u){m=b;break}}else p=a,m=a[a.length-1];let g=ET(l||".",TT(p,f),Yh(r.pathname,o)||r.pathname,h==="path");return l==null&&(g.search=r.search,g.hash=r.hash),(l==null||l===""||l===".")&&m&&m.route.index&&!s2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),s&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Ad([o,g.pathname])),ks(g)}function lT(r,a,o,s){if(!s||!fW(s))return{path:o};if(s.formMethod&&!o2(s.formMethod))return{path:o,error:ka(405,{method:s.formMethod})};let l=()=>({path:o,error:ka(400,{type:"invalid-body"})}),f=s.formMethod||"get",u=r?f.toUpperCase():f.toLowerCase(),h=UT(o);if(s.body!==void 0){if(s.formEncType==="text/plain"){if(!Tl(u))return l();let S=typeof s.body=="string"?s.body:s.body instanceof FormData||s.body instanceof URLSearchParams?Array.from(s.body.entries()).reduce((w,k)=>{let[L,N]=k;return""+w+L+"="+N+`
146
+ `},""):String(s.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:s.formEncType,formData:void 0,json:void 0,text:S}}}else if(s.formEncType==="application/json"){if(!Tl(u))return l();try{let S=typeof s.body=="string"?JSON.parse(s.body):s.body;return{path:o,submission:{formMethod:u,formAction:h,formEncType:s.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return l()}}}Or(typeof FormData=="function","FormData is not available in this environment");let p,m;if(s.formData)p=a2(s.formData),m=s.formData;else if(s.body instanceof FormData)p=a2(s.body),m=s.body;else if(s.body instanceof URLSearchParams)p=s.body,m=dT(p);else if(s.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(s.body),m=dT(p)}catch(S){return l()}let g={formMethod:u,formAction:h,formEncType:s&&s.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Tl(g.formMethod))return{path:o,submission:g};let b=Ql(o);return a&&b.search&&s2(b.search)&&p.append("index",""),b.search="?"+p,{path:ks(b),submission:g}}function MT(r,a){let o=r;if(a){let s=r.findIndex(l=>l.route.id===a);s>=0&&(o=r.slice(0,s))}return o}function sT(r,a,o,s,l,f,u,h,p,m,g,b,S,w,k,L){let N=L?Mn(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),M=r.createURL(l),j=L&&Mn(L[1])?L[0]:void 0,F=j?MT(o,j):o,Z=L?L[1].statusCode:void 0,O=u&&Z&&Z>=400,ae=F.filter((ee,ye)=>{let{route:be}=ee;if(be.lazy)return!0;if(be.loader==null)return!1;if(f)return typeof be.loader!="function"||be.loader.hydrate?!0:a.loaderData[be.id]===void 0&&(!a.errors||a.errors[be.id]===void 0);if(dW(a.loaderData,a.matches[ye],ee)||p.some(le=>le===ee.route.id))return!0;let he=a.matches[ye],H=ee;return cT(ee,zr({currentUrl:Y,currentParams:he.params,nextUrl:M,nextParams:H.params},s,{actionResult:N,actionStatus:Z,defaultShouldRevalidate:O?!1:h||Y.pathname+Y.search===M.pathname+M.search||Y.search!==M.search||PT(he,H)}))}),ge=[];return b.forEach((ee,ye)=>{if(f||!o.some(de=>de.route.id===ee.routeId)||g.has(ye))return;let be=ic(w,ee.path,k);if(!be){ge.push({key:ye,routeId:ee.routeId,path:ee.path,matches:null,match:null,controller:null});return}let he=a.fetchers.get(ye),H=ef(be,ee.path),le=!1;S.has(ye)?le=!1:m.has(ye)?(m.delete(ye),le=!0):he&&he.state!=="idle"&&he.data===void 0?le=h:le=cT(H,zr({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:M,nextParams:o[o.length-1].params},s,{actionResult:N,actionStatus:Z,defaultShouldRevalidate:O?!1:h})),le&&ge.push({key:ye,routeId:ee.routeId,path:ee.path,matches:be,match:H,controller:new AbortController})}),[ae,ge]}function dW(r,a,o){let s=!a||o.route.id!==a.route.id,l=r[o.route.id]===void 0;return s||l}function PT(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function cT(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function pW(r,a,o,s,l,f,u,h){return na(this,null,function*(){let p=[a,...o.map(m=>m.route.id)].join("-");try{let m=u.get(p);m||(m=r({path:a,matches:o,patch:(g,b)=>{h.aborted||IT(g,b,s,l,f)}}),u.set(p,m)),m&&vW(m)&&(yield m)}finally{u.delete(p)}})}function IT(r,a,o,s,l){if(r){var f;let u=s[r];Or(u,"No route found to patch children into: routeId = "+r);let h=tf(a,l,[r,"patch",String(((f=u.children)==null?void 0:f.length)||"0")],s);u.children?u.children.push(...h):u.children=h}else{let u=tf(a,l,["patch",String(o.length||"0")],s);o.push(...u)}}function uT(r,a,o){return na(this,null,function*(){if(!r.lazy)return;let s=yield r.lazy();if(!r.lazy)return;let l=o[r.id];Or(l,"No route found in manifest");let f={};for(let u in s){let p=l[u]!==void 0&&u!=="hasErrorBoundary";xs(!p,'Route "'+l.id+'" has a static property "'+u+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+u+'" will be ignored.')),!p&&!NV.has(u)&&(f[u]=s[u])}Object.assign(l,f),Object.assign(l,zr({},a(l),{lazy:void 0}))})}function zT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function BT(r,a,o,s,l,f,u,h){return na(this,null,function*(){let p=s.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,g=yield r({matches:l.map(b=>{let S=p.has(b.route.id);return zr({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?hW(a,o,b,f,u,k,h):Promise.resolve({type:Vr.data,result:void 0}))})}),request:o,params:l[0].params,context:h});return l.forEach(b=>Or(m.has(b.route.id),'`match.resolve()` was not called for route id "'+b.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),g.filter((b,S)=>p.has(l[S].route.id))})}function hW(r,a,o,s,l,f,u){return na(this,null,function*(){let h,p,m=g=>{let b,S=new Promise((L,N)=>b=N);p=()=>b(),a.signal.addEventListener("abort",p);let w=L=>typeof g!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):g({request:a,params:o.params,context:u},...L!==void 0?[L]:[]),k;return f?k=f(L=>w(L)):k=na(this,null,function*(){try{return{type:"data",result:yield w()}}catch(L){return{type:"error",result:L}}}),Promise.race([k,S])};try{let g=o.route[r];if(o.route.lazy)if(g){let b,[S]=yield Promise.all([m(g).catch(w=>{b=w}),uT(o.route,l,s)]);if(b!==void 0)throw b;h=S}else if(yield uT(o.route,l,s),g=o.route[r],g)h=yield m(g);else if(r==="action"){let b=new URL(a.url),S=b.pathname+b.search;throw ka(405,{method:a.method,pathname:S,routeId:o.route.id})}else return{type:Vr.data,result:void 0};else if(g)h=yield m(g);else{let b=new URL(a.url),S=b.pathname+b.search;throw ka(404,{pathname:S})}Or(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+o.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(g){return{type:Vr.error,result:g}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function FT(r){return na(this,null,function*(){let{result:a,type:o}=r;if(eu(a)){let m;try{let g=a.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?a.body==null?m=null:m=yield a.json():m=yield a.text()}catch(g){return{type:Vr.error,error:g}}return o===Vr.error?{type:Vr.error,error:new Ld(a.status,a.statusText,m),statusCode:a.status,headers:a.headers}:{type:Vr.data,data:m,statusCode:a.status,headers:a.headers}}if(o===Vr.error){if(n2(a)){var s;if(a.data instanceof Error){var l;return{type:Vr.error,error:a.data,statusCode:(l=a.init)==null?void 0:l.status}}a=new Ld(((s=a.init)==null?void 0:s.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Nd(a)?a.status:void 0}}if(WT(a)){var f,u;return{type:Vr.deferred,deferredData:a,statusCode:(f=a.init)==null?void 0:f.status,headers:((u=a.init)==null?void 0:u.headers)&&new Headers(a.init.headers)}}if(n2(a)){var h,p;return{type:Vr.data,data:a.data,statusCode:(h=a.init)==null?void 0:h.status,headers:(p=a.init)!=null&&p.headers?new Headers(a.init.headers):void 0}}return{type:Vr.data,data:a}})}function jT(r,a,o,s,l,f){let u=r.headers.get("Location");if(Or(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!l2.test(u)){let h=s.slice(0,s.findIndex(p=>p.route.id===o)+1);u=r2(new URL(a.url),h,l,!0,u,f),r.headers.set("Location",u)}return r}function fT(r,a,o){if(l2.test(r)){let s=r,l=s.startsWith("//")?new URL(a.protocol+s):new URL(s),f=Yh(l.pathname,o)!=null;if(l.origin===a.origin&&f)return l.pathname+l.search+l.hash}return r}function Rd(r,a,o,s){let l=r.createURL(UT(a)).toString(),f={signal:o};if(s&&Tl(s.formMethod)){let{formMethod:u,formEncType:h}=s;f.method=u.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(s.json)):h==="text/plain"?f.body=s.text:h==="application/x-www-form-urlencoded"&&s.formData?f.body=a2(s.formData):f.body=s.formData}return new Request(l,f)}function a2(r){let a=new URLSearchParams;for(let[o,s]of r.entries())a.append(o,typeof s=="string"?s:s.name);return a}function dT(r){let a=new FormData;for(let[o,s]of r.entries())a.append(o,s);return a}function HT(r,a,o,s,l,f){let u={},h=null,p,m=!1,g={},b=s&&Mn(s[1])?s[1].error:void 0;return o.forEach((S,w)=>{let k=a[w].route.id;if(Or(!ru(S),"Cannot handle redirect results in processLoaderData"),Mn(S)){let L=S.error;if(b!==void 0&&(L=b,b=void 0),h=h||{},f)h[k]=L;else{let N=Zu(r,k);h[N.route.id]==null&&(h[N.route.id]=L)}u[k]=void 0,m||(m=!0,p=Nd(S.error)?S.error.status:500),S.headers&&(g[k]=S.headers)}else tu(S)?(l.set(k,S.deferredData),u[k]=S.deferredData.data,S.statusCode!=null&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers)):(u[k]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers))}),b!==void 0&&s&&(h={[s[0]]:b},u[s[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:g}}function pT(r,a,o,s,l,f,u,h){let{loaderData:p,errors:m}=HT(a,o,s,l,h,!1);for(let g=0;g<f.length;g++){let{key:b,match:S,controller:w}=f[g];Or(u!==void 0&&u[g]!==void 0,"Did not find corresponding fetcher result");let k=u[g];if(!(w&&w.signal.aborted))if(Mn(k)){let L=Zu(r.matches,S==null?void 0:S.route.id);m&&m[L.route.id]||(m=zr({},m,{[L.route.id]:k.error})),r.fetchers.delete(b)}else if(ru(k))Or(!1,"Unhandled fetcher revalidation redirect");else if(tu(k))Or(!1,"Unhandled fetcher deferred data");else{let L=Zc(k.data);r.fetchers.set(b,L)}}return{loaderData:p,errors:m}}function hT(r,a,o,s){let l=zr({},a);for(let f of o){let u=f.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(l[u]=a[u]):r[u]!==void 0&&f.route.loader&&(l[u]=r[u]),s&&s.hasOwnProperty(u))break}return l}function mT(r){return r?Mn(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Zu(r,a){return(a?r.slice(0,r.findIndex(s=>s.route.id===a)+1):[...r]).reverse().find(s=>s.route.hasErrorBoundary===!0)||r[0]}function z_(r){let a=r.length===1?r[0]:r.find(o=>o.index||!o.path||o.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function ka(r,a){let{pathname:o,routeId:s,method:l,type:f,message:u}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",f==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
147
+ `+u):l&&o&&s?p="You made a "+l+' request to "'+o+'" but '+('did not provide a `loader` for route "'+s+'", ')+"so there is no way to handle the request.":f==="defer-action"?p="defer() is not supported in actions":f==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+s+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",l&&o&&s?p="You made a "+l.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+s+'", ')+"so there is no way to handle the request.":l&&(p='Invalid request method "'+l.toUpperCase()+'"')),new Ld(r||500,h,new Error(p),!0)}function vT(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(ru(o))return{result:o,idx:a}}}function UT(r){let a=typeof r=="string"?Ql(r):r;return ks(zr({},a,{hash:""}))}function mW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function vW(r){return typeof r=="object"&&r!=null&&"then"in r}function _W(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Vr.data||r.type===Vr.error)}function VT(r){return eu(r.result)&&iW.has(r.result.status)}function tu(r){return r.type===Vr.deferred}function Mn(r){return r.type===Vr.error}function ru(r){return(r&&r.type)===Vr.redirect}function n2(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function WT(r){let a=r;return a&&typeof a=="object"&&typeof a.data=="object"&&typeof a.subscribe=="function"&&typeof a.cancel=="function"&&typeof a.resolveData=="function"}function eu(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function gW(r){if(!eu(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function o2(r){return oW.has(r.toLowerCase())}function Tl(r){return aW.has(r.toLowerCase())}function _T(r,a,o,s,l,f){return na(this,null,function*(){for(let u=0;u<o.length;u++){let h=o[u],p=a[u];if(!p)continue;let m=r.find(b=>b.route.id===p.route.id),g=m!=null&&!PT(m,p)&&(f&&f[p.route.id])!==void 0;if(tu(h)&&(l||g)){let b=s[u];Or(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield qT(h,b,l).then(S=>{S&&(o[u]=S||o[u])})}}})}function qT(r,a,o){return na(this,null,function*(){if(o===void 0&&(o=!1),!(yield r.deferredData.resolveData(a))){if(o)try{return{type:Vr.data,data:r.deferredData.unwrappedData}}catch(l){return{type:Vr.error,error:l}}return{type:Vr.data,data:r.deferredData.data}}})}function s2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function ef(r,a){let o=typeof a=="string"?Ql(a).search:a.search;if(r[r.length-1].route.index&&s2(o||""))return r[r.length-1];let s=kT(r);return s[s.length-1]}function gT(r){let{formMethod:a,formAction:o,formEncType:s,text:l,formData:f,json:u}=r;if(!(!a||!o||!s)){if(l!=null)return{formMethod:a,formAction:o,formEncType:s,formData:void 0,json:void 0,text:l};if(f!=null)return{formMethod:a,formAction:o,formEncType:s,formData:f,json:void 0,text:void 0};if(u!==void 0)return{formMethod:a,formAction:o,formEncType:s,formData:void 0,json:u,text:void 0}}}function Z0(r,a){return a?{state:"loading",location:r,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function bW(r,a){return{state:"submitting",location:r,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function Wh(r,a){return r?{state:"loading",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function yW(r,a){return{state:"submitting",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:a?a.data:void 0}}function Zc(r){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function SW(r,a){try{let o=r.sessionStorage.getItem(NT);if(o){let s=JSON.parse(o);for(let[l,f]of Object.entries(s||{}))f&&Array.isArray(f)&&a.set(l,new Set(f||[]))}}catch(o){}}function wW(r,a){if(a.size>0){let o={};for(let[s,l]of a)o[s]=[...l];try{r.sessionStorage.setItem(NT,JSON.stringify(o))}catch(s){xs(!1,"Failed to save applied view transitions in sessionStorage ("+s+").")}}}lr.AbortedDeferredError=qh;lr.Action=za;lr.IDLE_BLOCKER=Dd;lr.IDLE_FETCHER=AT;lr.IDLE_NAVIGATION=P_;lr.UNSAFE_DEFERRED_SYMBOL=OT;lr.UNSAFE_DeferredData=I_;lr.UNSAFE_ErrorResponseImpl=Ld;lr.UNSAFE_convertRouteMatchToUiMatch=yT;lr.UNSAFE_convertRoutesToDataRoutes=tf;lr.UNSAFE_decodePath=CT;lr.UNSAFE_getResolveToMatches=TT;lr.UNSAFE_invariant=Or;lr.UNSAFE_warning=xs;lr.createBrowserHistory=DV;lr.createHashHistory=AV;lr.createMemoryHistory=RV;lr.createPath=ks;lr.createRouter=sW;lr.createStaticHandler=cW;lr.defer=eW;lr.generatePath=WV;lr.getStaticContextFromError=uW;lr.getToPathname=$V;lr.isDataWithResponseInit=n2;lr.isDeferredData=WT;lr.isRouteErrorResponse=Nd;lr.joinPaths=Ad;lr.json=XV;lr.matchPath=e2;lr.matchRoutes=ic;lr.normalizePathname=RT;lr.parsePath=Ql;lr.redirect=i2;lr.redirectDocument=tW;lr.replace=rW;lr.resolvePath=xT;lr.resolveTo=ET;lr.stripBasename=Yh;lr.unstable_data=QV});var $T=Ue((B_,YT)=>{(function(r,a){typeof B_=="object"&&typeof YT!="undefined"?a(B_,fr(),c2()):typeof define=="function"&&define.amd?define(["exports","react","@remix-run/router"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r.ReactRouter={},r.React,r.RemixRouter))})(B_,function(r,a,o){"use strict";function s($){if($&&$.__esModule)return $;var P=Object.create(null);return $&&Object.keys($).forEach(function(R){if(R!=="default"){var z=Object.getOwnPropertyDescriptor($,R);Object.defineProperty(P,R,z.get?z:{enumerable:!0,get:function(){return $[R]}})}}),P.default=$,Object.freeze(P)}var l=s(a);function f(){return f=Object.assign?Object.assign.bind():function($){for(var P=1;P<arguments.length;P++){var R=arguments[P];for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&($[z]=R[z])}return $},f.apply(this,arguments)}let u=l.createContext(null);u.displayName="DataRouter";let h=l.createContext(null);h.displayName="DataRouterState";let p=l.createContext(null);p.displayName="Await";let m=l.createContext(null);m.displayName="Navigation";let g=l.createContext(null);g.displayName="Location";let b=l.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";let S=l.createContext(null);S.displayName="RouteError";function w($,P){let{relative:R}=P===void 0?{}:P;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:z,navigator:G}=l.useContext(m),{hash:oe,pathname:ne,search:Oe}=ye($,{relative:R}),Pe=ne;return z!=="/"&&(Pe=ne==="/"?z:o.joinPaths([z,ne])),G.createHref({pathname:Pe,search:Oe,hash:oe})}function k(){return l.useContext(g)!=null}function L(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),l.useContext(g).location}function N(){return l.useContext(g).navigationType}function Y($){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:P}=L();return l.useMemo(()=>o.matchPath($,o.UNSAFE_decodePath(P)),[P,$])}let M="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j($){l.useContext(m).static||l.useLayoutEffect($)}function F(){let{isDataRoute:$}=l.useContext(b);return $?tr():Z()}function Z(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let $=l.useContext(u),{basename:P,future:R,navigator:z}=l.useContext(m),{matches:G}=l.useContext(b),{pathname:oe}=L(),ne=JSON.stringify(o.UNSAFE_getResolveToMatches(G,R.v7_relativeSplatPath)),Oe=l.useRef(!1);return j(()=>{Oe.current=!0}),l.useCallback(function(Me,We){if(We===void 0&&(We={}),o.UNSAFE_warning(Oe.current,M),!Oe.current)return;if(typeof Me=="number"){z.go(Me);return}let Ae=o.resolveTo(Me,JSON.parse(ne),oe,We.relative==="path");$==null&&P!=="/"&&(Ae.pathname=Ae.pathname==="/"?P:o.joinPaths([P,Ae.pathname])),(We.replace?z.replace:z.push)(Ae,We.state,We)},[P,z,ne,oe,$])}let O=l.createContext(null);function ae(){return l.useContext(O)}function ge($){let P=l.useContext(b).outlet;return P&&l.createElement(O.Provider,{value:$},P)}function ee(){let{matches:$}=l.useContext(b),P=$[$.length-1];return P?P.params:{}}function ye($,P){let{relative:R}=P===void 0?{}:P,{future:z}=l.useContext(m),{matches:G}=l.useContext(b),{pathname:oe}=L(),ne=JSON.stringify(o.UNSAFE_getResolveToMatches(G,z.v7_relativeSplatPath));return l.useMemo(()=>o.resolveTo($,JSON.parse(ne),oe,R==="path"),[$,ne,oe,R])}function be($,P){return he($,P)}function he($,P,R,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=l.useContext(m),{matches:oe}=l.useContext(b),ne=oe[oe.length-1],Oe=ne?ne.params:{},Pe=ne?ne.pathname:"/",Me=ne?ne.pathnameBase:"/",We=ne&&ne.route;{let Be=We&&We.path||"";dr(Pe,!We||Be.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Pe+'" (under <Route path="'+Be+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
148
148
 
149
- `+('Please change the parent <Route path="'+Be+'"> to <Route ')+('path="'+(Be==="/"?"*":Be+"/*")+'">.'))}let Ae=L(),Je;if(P){var I;let Be=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Be.pathname)!=null&&I.startsWith(Me)||o.UNSAFE_invariant(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+Me+'" ')+('but pathname "'+Be.pathname+'" was given in the `location` prop.')),Je=Be}else Je=Ae;let V=Je.pathname||"/",re=V;if(Me!=="/"){let Be=Me.replace(/^\//,"").split("/");re="/"+V.replace(/^\//,"").split("/").slice(Be.length).join("/")}let ce=o.matchRoutes($,{pathname:re});o.UNSAFE_warning(We||ce!=null,'No routes matched location "'+Je.pathname+Je.search+Je.hash+'" '),o.UNSAFE_warning(ce==null||ce[ce.length-1].route.element!==void 0||ce[ce.length-1].route.Component!==void 0||ce[ce.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Je.pathname+Je.search+Je.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let Ve=W(ce&&ce.map(Be=>Object.assign({},Be,{params:Object.assign({},Oe,Be.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Be.pathname).pathname:Be.pathname]),pathnameBase:Be.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Be.pathnameBase).pathname:Be.pathnameBase])})),oe,R,z);return P&&Ve?l.createElement(g.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Je),navigationType:o.Action.Pop}},Ve):Ve}function H(){let $=ke(),P=o.isRouteErrorResponse($)?$.status+" "+$.statusText:$ instanceof Error?$.message:JSON.stringify($),R=$ instanceof Error?$.stack:null,z="rgba(200,200,200, 0.5)",G={padding:"0.5rem",backgroundColor:z},oe={padding:"2px 4px",backgroundColor:z},ne=null;return console.error("Error handled by React Router default ErrorBoundary:",$),ne=l.createElement(l.Fragment,null,l.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),l.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",l.createElement("code",{style:oe},"ErrorBoundary")," or"," ",l.createElement("code",{style:oe},"errorElement")," prop on your route.")),l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},P),R?l.createElement("pre",{style:G},R):null,ne)}let le=l.createElement(H,null);class de extends l.Component{constructor(P){super(P),this.state={location:P.location,revalidation:P.revalidation,error:P.error}}static getDerivedStateFromError(P){return{error:P}}static getDerivedStateFromProps(P,R){return R.location!==P.location||R.revalidation!=="idle"&&P.revalidation==="idle"?{error:P.error,location:P.location,revalidation:P.revalidation}:{error:P.error!==void 0?P.error:R.error,location:R.location,revalidation:P.revalidation||R.revalidation}}componentDidCatch(P,R){console.error("React Router caught the following error during render",P,R)}render(){return this.state.error!==void 0?l.createElement(b.Provider,{value:this.props.routeContext},l.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=l.useContext(u);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),l.createElement(b.Provider,{value:P},z)}function W($,P,R,z){var G;if(P===void 0&&(P=[]),R===void 0&&(R=null),z===void 0&&(z=null),$==null){var oe;if(!R)return null;if(R.errors)$=R.matches;else if((oe=z)!=null&&oe.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let ne=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let We=ne.findIndex(Ae=>Ae.route.id&&(Oe==null?void 0:Oe[Ae.route.id])!==void 0);We>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Oe).join(",")),ne=ne.slice(0,Math.min(ne.length,We+1))}let Pe=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let We=0;We<ne.length;We++){let Ae=ne[We];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Me=We),Ae.route.id){let{loaderData:Je,errors:I}=R,V=Ae.route.loader&&Je[Ae.route.id]===void 0&&(!I||I[Ae.route.id]===void 0);if(Ae.route.lazy||V){Pe=!0,Me>=0?ne=ne.slice(0,Me+1):ne=[ne[0]];break}}}return ne.reduceRight((We,Ae,Je)=>{let I,V=!1,re=null,ce=null;R&&(I=Oe&&Ae.route.id?Oe[Ae.route.id]:void 0,re=Ae.route.errorElement||le,Pe&&(Me<0&&Je===0?(dr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,ce=null):Me===Je&&(V=!0,ce=Ae.route.hydrateFallbackElement||null)));let Ve=P.concat(ne.slice(0,Je+1)),Be=()=>{let D;return I?D=re:V?D=ce:Ae.route.Component?D=l.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=We,l.createElement(B,{match:Ae,routeContext:{outlet:We,matches:Ve,isDataRoute:R!=null},children:D})};return R&&(Ae.route.ErrorBoundary||Ae.route.errorElement||Je===0)?l.createElement(de,{location:R.location,revalidation:R.revalidation,component:re,error:I,children:Be(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Be()},null)}var ie=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ie||{}),te=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(te||{});function se($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function we($){let P=l.useContext(u);return P||o.UNSAFE_invariant(!1,se($)),P}function Se($){let P=l.useContext(h);return P||o.UNSAFE_invariant(!1,se($)),P}function je($){let P=l.useContext(b);return P||o.UNSAFE_invariant(!1,se($)),P}function Ye($){let P=je($),R=P.matches[P.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,$+' can only be used on routes that contain a unique "id"'),R.route.id}function Ge(){return Ye(te.UseRouteId)}function rt(){return Se(te.UseNavigation).navigation}function et(){let $=we(ie.UseRevalidator),P=Se(te.UseRevalidator);return l.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function Nt(){let{matches:$,loaderData:P}=Se(te.UseMatches);return l.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function $t(){let $=Se(te.UseLoaderData),P=Ye(te.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function dt($){return Se(te.UseRouteLoaderData).loaderData[$]}function Xe(){let $=Se(te.UseActionData),P=Ye(te.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function ke(){var $;let P=l.useContext(S),R=Se(te.UseRouteError),z=Ye(te.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function ot(){let $=l.useContext(p);return $==null?void 0:$._data}function kt(){let $=l.useContext(p);return $==null?void 0:$._error}let Tt=0;function wt($){let{router:P,basename:R}=we(ie.UseBlocker),z=Se(te.UseBlocker),[G,oe]=l.useState(""),ne=l.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Pe,nextLocation:Me,historyAction:We}=Oe;return $({currentLocation:f({},Pe,{pathname:o.stripBasename(Pe.pathname,R)||Pe.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:We})},[R,$]);return l.useEffect(()=>{let Oe=String(++Tt);return oe(Oe),()=>P.deleteBlocker(Oe)},[P]),l.useEffect(()=>{G!==""&&P.getBlocker(G,ne)},[P,G,ne]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function tr(){let{router:$}=we(ie.UseNavigateStable),P=Ye(te.UseNavigateStable),R=l.useRef(!1);return j(()=>{R.current=!0}),l.useCallback(function(G,oe){oe===void 0&&(oe={}),o.UNSAFE_warning(R.current,M),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},oe)))},[$,P])}let Ut={};function dr($,P,R){!P&&!Ut[$]&&(Ut[$]=!0,o.UNSAFE_warning(!1,R))}let jr=l["startTransition"];function qr($){let{fallbackElement:P,router:R,future:z}=$,[G,oe]=l.useState(R.state),{v7_startTransition:ne}=z||{},Oe=l.useCallback(Ae=>{ne&&jr?jr(()=>oe(Ae)):oe(Ae)},[oe,ne]);l.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),l.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Pe=l.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Ae=>R.navigate(Ae),push:(Ae,Je,I)=>R.navigate(Ae,{state:Je,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Ae,Je,I)=>R.navigate(Ae,{replace:!0,state:Je,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",We=l.useMemo(()=>({router:R,navigator:Pe,static:!1,basename:Me}),[R,Pe,Me]);return l.createElement(l.Fragment,null,l.createElement(u.Provider,{value:We},l.createElement(h.Provider,{value:G},l.createElement(vr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Pe,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?l.createElement(xr,{routes:R.routes,future:R.future,state:G}):P))),null)}function xr($){let{routes:P,future:R,state:z}=$;return he(P,void 0,z,R)}function pr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:oe}=$,ne=l.useRef();ne.current==null&&(ne.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=ne.current,[Pe,Me]=l.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:We}=oe||{},Ae=l.useCallback(Je=>{We&&jr?jr(()=>Me(Je)):Me(Je)},[Me,We]);return l.useLayoutEffect(()=>Oe.listen(Ae),[Oe,Ae]),l.createElement(vr,{basename:P,children:R,location:Pe.location,navigationType:Pe.action,navigator:Oe,future:oe})}function br($){let{to:P,replace:R,state:z,relative:G}=$;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:oe,static:ne}=l.useContext(m);o.UNSAFE_warning(!ne,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Oe}=l.useContext(b),{pathname:Pe}=L(),Me=F(),We=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,oe.v7_relativeSplatPath),Pe,G==="path"),Ae=JSON.stringify(We);return l.useEffect(()=>Me(JSON.parse(Ae),{replace:R,state:z,relative:G}),[Me,Ae,G,R,z]),null}function pa($){return ge($.context)}function kr($){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function vr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:oe,static:ne=!1,future:Oe}=$;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Pe=P.replace(/^\/*/,"/"),Me=l.useMemo(()=>({basename:Pe,navigator:oe,static:ne,future:f({v7_relativeSplatPath:!1},Oe)}),[Pe,Oe,oe,ne]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:We="/",search:Ae="",hash:Je="",state:I=null,key:V="default"}=z,re=l.useMemo(()=>{let ce=o.stripBasename(We,Pe);return ce==null?null:{location:{pathname:ce,search:Ae,hash:Je,state:I,key:V},navigationType:G}},[Pe,We,Ae,Je,I,V,G]);return o.UNSAFE_warning(re!=null,'<Router basename="'+Pe+'"> is not able to match the URL '+('"'+We+Ae+Je+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),re==null?null:l.createElement(m.Provider,{value:Me},l.createElement(g.Provider,{children:R,value:re}))}function Pr($){let{children:P,location:R}=$;return be(Vt(P),R)}function ga($){let{children:P,errorElement:R,resolve:z}=$;return l.createElement(bt,{resolve:z,errorElement:R},l.createElement(Gt,null,P))}var ze=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(ze||{});let ct=new Promise(()=>{});class bt extends l.Component{constructor(P){super(P),this.state={error:null}}static getDerivedStateFromError(P){return{error:P}}componentDidCatch(P,R){console.error("<Await> caught the following error during render",P,R)}render(){let{children:P,errorElement:R,resolve:z}=this.props,G=null,oe=ze.pending;if(!(z instanceof Promise))oe=ze.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){oe=ze.error;let ne=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>ne})}else z._tracked?(G=z,oe="_error"in G?ze.error:"_data"in G?ze.success:ze.pending):(oe=ze.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(ne=>Object.defineProperty(z,"_data",{get:()=>ne}),ne=>Object.defineProperty(z,"_error",{get:()=>ne})));if(oe===ze.error&&G._error instanceof o.AbortedDeferredError)throw ct;if(oe===ze.error&&!R)throw G._error;if(oe===ze.error)return l.createElement(p.Provider,{value:G,children:R});if(oe===ze.success)return l.createElement(p.Provider,{value:G,children:P});throw G}}function Gt($){let{children:P}=$,R=ot(),z=typeof P=="function"?P(R):P;return l.createElement(l.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let R=[];return l.Children.forEach($,(z,G)=>{if(!l.isValidElement(z))return;let oe=[...P,G];if(z.type===l.Fragment){R.push.apply(R,Vt(z.props.children,oe));return}z.type!==kr&&o.UNSAFE_invariant(!1,"["+(typeof z.type=="string"?z.type:z.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!z.props.index||!z.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ne={id:z.props.id||oe.join("-"),caseSensitive:z.props.caseSensitive,element:z.props.element,Component:z.props.Component,index:z.props.index,path:z.props.path,loader:z.props.loader,action:z.props.action,errorElement:z.props.errorElement,ErrorBoundary:z.props.ErrorBoundary,hasErrorBoundary:z.props.ErrorBoundary!=null||z.props.errorElement!=null,shouldRevalidate:z.props.shouldRevalidate,handle:z.props.handle,lazy:z.props.lazy};z.props.children&&(ne.children=Vt(z.props.children,oe)),R.push(ne)}),R}function Rr($){return W($)}function _r($){let P={hasErrorBoundary:$.ErrorBoundary!=null||$.errorElement!=null};return $.Component&&($.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(P,{element:l.createElement($.Component),Component:void 0})),$.HydrateFallback&&($.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(P,{hydrateFallbackElement:l.createElement($.HydrateFallback),HydrateFallback:void 0})),$.ErrorBoundary&&($.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(P,{errorElement:l.createElement($.ErrorBoundary),ErrorBoundary:void 0})),P}function Yr($,P){return o.createRouter({basename:P==null?void 0:P.basename,future:f({},P==null?void 0:P.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:P==null?void 0:P.initialEntries,initialIndex:P==null?void 0:P.initialIndex}),hydrationData:P==null?void 0:P.hydrationData,routes:$,mapRouteProperties:_r,unstable_dataStrategy:P==null?void 0:P.unstable_dataStrategy,unstable_patchRoutesOnMiss:P==null?void 0:P.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return o.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return o.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return o.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return o.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return o.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return o.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return o.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return o.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return o.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return o.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return o.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return o.resolvePath}}),r.Await=ga,r.MemoryRouter=pr,r.Navigate=br,r.Outlet=pa,r.Route=kr,r.Router=vr,r.RouterProvider=qr,r.Routes=Pr,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=_r,r.UNSAFE_useRouteId=Ge,r.UNSAFE_useRoutesImpl=he,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Rr,r.useActionData=Xe,r.useAsyncError=kt,r.useAsyncValue=ot,r.useBlocker=wt,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=$t,r.useLocation=L,r.useMatch=Y,r.useMatches=Nt,r.useNavigate=F,r.useNavigation=rt,r.useNavigationType=N,r.useOutlet=ge,r.useOutletContext=ae,r.useParams=ee,r.useResolvedPath=ye,r.useRevalidator=et,r.useRouteError=ke,r.useRouteLoaderData=dt,r.useRoutes=be,Object.defineProperty(r,"__esModule",{value:!0})})});var KT=Ue((rG,GT)=>{"use strict";GT.exports=$T()});var QT=Ue((F_,XT)=>{(function(r,a){typeof F_=="object"&&typeof XT!="undefined"?a(F_,fr(),K0(),KT(),c2()):typeof define=="function"&&define.amd?define(["exports","react","react-dom","react-router","@remix-run/router"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r.ReactRouterDOM={},r.React,r.ReactDOM,r.ReactRouter,r.RemixRouter))})(F_,function(r,a,o,s,l){"use strict";function f(R){if(R&&R.__esModule)return R;var z=Object.create(null);return R&&Object.keys(R).forEach(function(G){if(G!=="default"){var oe=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,oe.get?oe:{enumerable:!0,get:function(){return R[G]}})}}),z.default=R,Object.freeze(z)}var u=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(R){for(var z=1;z<arguments.length;z++){var G=arguments[z];for(var oe in G)Object.prototype.hasOwnProperty.call(G,oe)&&(R[oe]=G[oe])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},oe=Object.keys(R),ne,Oe;for(Oe=0;Oe<oe.length;Oe++)ne=oe[Oe],!(z.indexOf(ne)>=0)&&(G[ne]=R[ne]);return G}let g="get",b="application/x-www-form-urlencoded";function S(R){return R!=null&&typeof R.tagName=="string"}function w(R){return S(R)&&R.tagName.toLowerCase()==="button"}function k(R){return S(R)&&R.tagName.toLowerCase()==="form"}function L(R){return S(R)&&R.tagName.toLowerCase()==="input"}function N(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!N(R)}function M(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((z,G)=>{let oe=R[G];return z.concat(Array.isArray(oe)?oe.map(ne=>[G,ne]):[[G,oe]])},[]))}function j(R,z){let G=M(R);return z&&z.forEach((oe,ne)=>{G.has(ne)||z.getAll(ne).forEach(Oe=>{G.append(ne,Oe)})}),G}let F=null;function Z(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let O=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ae(R){return R!=null&&!O.has(R)?(l.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function ge(R,z){let G,oe,ne,Oe,Pe;if(k(R)){let Me=R.getAttribute("action");oe=Me?l.stripBasename(Me,z):null,G=R.getAttribute("method")||g,ne=ae(R.getAttribute("enctype"))||b,Oe=new FormData(R)}else if(w(R)||L(R)&&(R.type==="submit"||R.type==="image")){let Me=R.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let We=R.getAttribute("formaction")||Me.getAttribute("action");if(oe=We?l.stripBasename(We,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||g,ne=ae(R.getAttribute("formenctype"))||ae(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!Z()){let{name:Ae,type:Je,value:I}=R;if(Je==="image"){let V=Ae?Ae+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Ae&&Oe.append(Ae,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=g,oe=null,ne=b,Pe=R}return Oe&&ne==="text/plain"&&(Pe=Oe,Oe=void 0),{action:oe,method:G.toLowerCase(),encType:ne,formData:Oe,body:Pe}}let ee=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ye=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],be=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],he="6";try{window.__reactRouterVersion=he}catch(R){}function H(R,z){return l.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:l.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||de(),routes:R,mapRouteProperties:s.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function le(R,z){return l.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:l.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||de(),routes:R,mapRouteProperties:s.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function de(){var R;let z=(R=window)==null?void 0:R.__staticRouterHydrationData;return z&&z.errors&&(z=p({},z,{errors:B(z.errors)})),z}function B(R){if(!R)return null;let z=Object.entries(R),G={};for(let[oe,ne]of z)if(ne&&ne.__type==="RouteErrorResponse")G[oe]=new l.UNSAFE_ErrorResponseImpl(ne.status,ne.statusText,ne.data,ne.internal===!0);else if(ne&&ne.__type==="Error"){if(ne.__subType){let Oe=window[ne.__subType];if(typeof Oe=="function")try{let Pe=new Oe(ne.message);Pe.stack="",G[oe]=Pe}catch(Pe){}}if(G[oe]==null){let Oe=new Error(ne.message);Oe.stack="",G[oe]=Oe}}else G[oe]=ne;return G}let W=u.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ie=u.createContext(new Map);ie.displayName="Fetchers";let se=u["startTransition"],Se=h["flushSync"],Ye=u["useId"];function Ge(R){se?se(R):R()}function rt(R){Se?Se(R):R()}class et{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=oe=>{this.status==="pending"&&(this.status="resolved",z(oe))},this.reject=oe=>{this.status==="pending"&&(this.status="rejected",G(oe))}})}}function Nt(R){let{fallbackElement:z,router:G,future:oe}=R,[ne,Oe]=u.useState(G.state),[Pe,Me]=u.useState(),[We,Ae]=u.useState({isTransitioning:!1}),[Je,I]=u.useState(),[V,re]=u.useState(),[ce,Ve]=u.useState(),Be=u.useRef(new Map),{v7_startTransition:D}=oe||{},q=u.useCallback(Ke=>{D?Ge(Ke):Ke()},[D]),pe=u.useCallback((Ke,Ct)=>{let{deletedFetchers:Et,unstable_flushSync:Wt,unstable_viewTransitionOpts:$r}=Ct;Et.forEach(ia=>Be.current.delete(ia)),Ke.fetchers.forEach((ia,la)=>{ia.data!==void 0&&Be.current.set(la,ia.data)});let Ua=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!$r||Ua){Wt?rt(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Wt){rt(()=>{V&&(Je&&Je.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let ia=G.window.document.startViewTransition(()=>{rt(()=>Oe(Ke))});ia.finished.finally(()=>{rt(()=>{I(void 0),re(void 0),Me(void 0),Ae({isTransitioning:!1})})}),rt(()=>re(ia));return}V?(Je&&Je.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Me(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[G.window,V,Je,Be,q]);u.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),u.useEffect(()=>{We.isTransitioning&&!We.flushSync&&I(new et)},[We]),u.useEffect(()=>{if(Je&&Pe&&G.window){let Ke=Pe,Ct=Je.promise,Et=G.window.document.startViewTransition(()=>na(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));Et.finished.finally(()=>{I(void 0),re(void 0),Me(void 0),Ae({isTransitioning:!1})}),re(Et)}},[q,Pe,Je,G.window]),u.useEffect(()=>{Je&&Pe&&ne.location.key===Pe.location.key&&Je.resolve()},[Je,V,ne.location,Pe]),u.useEffect(()=>{!We.isTransitioning&&ce&&(Me(ce.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:ce.currentLocation,nextLocation:ce.nextLocation}),Ve(void 0))},[We.isTransitioning,ce]),u.useEffect(()=>{l.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Te=u.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,Et)=>G.navigate(Ke,{state:Ct,preventScrollReset:Et==null?void 0:Et.preventScrollReset}),replace:(Ke,Ct,Et)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:Et==null?void 0:Et.preventScrollReset})}),[G]),He=G.basename||"/",ft=u.useMemo(()=>({router:G,navigator:Te,static:!1,basename:He}),[G,Te,He]),Ze=u.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(s.UNSAFE_DataRouterContext.Provider,{value:ft},u.createElement(s.UNSAFE_DataRouterStateContext.Provider,{value:ne},u.createElement(ie.Provider,{value:Be.current},u.createElement(W.Provider,{value:We},u.createElement(s.Router,{basename:He,location:ne.location,navigationType:ne.historyAction,navigator:Te,future:Ze},ne.initialized||G.future.v7_partialHydration?u.createElement($t,{routes:G.routes,future:G.future,state:ne}):z))))),null)}let $t=u.memo(dt);function dt(R){let{routes:z,future:G,state:oe}=R;return s.UNSAFE_useRoutesImpl(z,void 0,oe,G)}function Xe(R){let{basename:z,children:G,future:oe,window:ne}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=l.createBrowserHistory({window:ne,v5Compat:!0}));let Pe=Oe.current,[Me,We]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ae}=oe||{},Je=u.useCallback(I=>{Ae&&se?se(()=>We(I)):We(I)},[We,Ae]);return u.useLayoutEffect(()=>Pe.listen(Je),[Pe,Je]),u.createElement(s.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Pe,future:oe})}function ke(R){let{basename:z,children:G,future:oe,window:ne}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=l.createHashHistory({window:ne,v5Compat:!0}));let Pe=Oe.current,[Me,We]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ae}=oe||{},Je=u.useCallback(I=>{Ae&&se?se(()=>We(I)):We(I)},[We,Ae]);return u.useLayoutEffect(()=>Pe.listen(Je),[Pe,Je]),u.createElement(s.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Pe,future:oe})}function ot(R){let{basename:z,children:G,future:oe,history:ne}=R,[Oe,Pe]=u.useState({action:ne.action,location:ne.location}),{v7_startTransition:Me}=oe||{},We=u.useCallback(Ae=>{Me&&se?se(()=>Pe(Ae)):Pe(Ae)},[Pe,Me]);return u.useLayoutEffect(()=>ne.listen(We),[ne,We]),u.createElement(s.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:ne,future:oe})}ot.displayName="unstable_HistoryRouter";let kt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Tt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wt=u.forwardRef(function(z,G){let{onClick:oe,relative:ne,reloadDocument:Oe,replace:Pe,state:Me,target:We,to:Ae,preventScrollReset:Je,unstable_viewTransition:I}=z,V=m(z,ee),{basename:re}=u.useContext(s.UNSAFE_NavigationContext),ce,Ve=!1;if(typeof Ae=="string"&&Tt.test(Ae)&&(ce=Ae,kt))try{let pe=new URL(window.location.href),Te=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),He=l.stripBasename(Te.pathname,re);Te.origin===pe.origin&&He!=null?Ae=He+Te.search+Te.hash:Ve=!0}catch(pe){l.UNSAFE_warning(!1,'<Link to="'+Ae+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Be=s.useHref(Ae,{relative:ne}),D=br(Ae,{replace:Pe,state:Me,target:We,preventScrollReset:Je,relative:ne,unstable_viewTransition:I});function q(pe){oe&&oe(pe),pe.defaultPrevented||D(pe)}return u.createElement("a",p({},V,{href:ce||Be,onClick:Ve||Oe?oe:q,ref:G,target:We}))});wt.displayName="Link";let tr=u.forwardRef(function(z,G){let{"aria-current":oe="page",caseSensitive:ne=!1,className:Oe="",end:Pe=!1,style:Me,to:We,unstable_viewTransition:Ae,children:Je}=z,I=m(z,ye),V=s.useResolvedPath(We,{relative:I.relative}),re=s.useLocation(),ce=u.useContext(s.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Be}=u.useContext(s.UNSAFE_NavigationContext),D=ce!=null&&P(V)&&Ae===!0,q=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=re.pathname,Te=ce&&ce.navigation&&ce.navigation.location?ce.navigation.location.pathname:null;ne||(pe=pe.toLowerCase(),Te=Te?Te.toLowerCase():null,q=q.toLowerCase()),Te&&Be&&(Te=l.stripBasename(Te,Be)||Te);let He=q!=="/"&&q.endsWith("/")?q.length-1:q.length,ft=pe===q||!Pe&&pe.startsWith(q)&&pe.charAt(He)==="/",Ze=Te!=null&&(Te===q||!Pe&&Te.startsWith(q)&&Te.charAt(q.length)==="/"),Ke={isActive:ft,isPending:Ze,isTransitioning:D},Ct=ft?oe:void 0,Et;typeof Oe=="function"?Et=Oe(Ke):Et=[Oe,ft?"active":null,Ze?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Ke):Me;return u.createElement(wt,p({},I,{"aria-current":Ct,className:Et,ref:G,style:Wt,to:We,unstable_viewTransition:Ae}),typeof Je=="function"?Je(Ke):Je)});tr.displayName="NavLink";let Ut=u.forwardRef((R,z)=>{let{fetcherKey:G,navigate:oe,reloadDocument:ne,replace:Oe,state:Pe,method:Me=g,action:We,onSubmit:Ae,relative:Je,preventScrollReset:I,unstable_viewTransition:V}=R,re=m(R,be),ce=ga(),Ve=ze(We,{relative:Je}),Be=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Ae&&Ae(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,Te=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;ce(pe||q.currentTarget,{fetcherKey:G,method:Te,navigate:oe,replace:Oe,state:Pe,relative:Je,preventScrollReset:I,unstable_viewTransition:V})};return u.createElement("form",p({ref:z,method:Be,action:Ve,onSubmit:ne?Ae:D},re))});Ut.displayName="Form";function dr(R){let{getKey:z,storageKey:G}=R;return Rr({getKey:z,storageKey:G}),null}dr.displayName="ScrollRestoration";var ra=function(R){return R.UseScrollRestoration="useScrollRestoration",R.UseSubmit="useSubmit",R.UseSubmitFetcher="useSubmitFetcher",R.UseFetcher="useFetcher",R.useViewTransitionState="useViewTransitionState",R}(ra||{}),jr=function(R){return R.UseFetcher="useFetcher",R.UseFetchers="useFetchers",R.UseScrollRestoration="useScrollRestoration",R}(jr||{});function qr(R){return R+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function xr(R){let z=u.useContext(s.UNSAFE_DataRouterContext);return z||l.UNSAFE_invariant(!1,qr(R)),z}function pr(R){let z=u.useContext(s.UNSAFE_DataRouterStateContext);return z||l.UNSAFE_invariant(!1,qr(R)),z}function br(R,z){let{target:G,replace:oe,state:ne,preventScrollReset:Oe,relative:Pe,unstable_viewTransition:Me}=z===void 0?{}:z,We=s.useNavigate(),Ae=s.useLocation(),Je=s.useResolvedPath(R,{relative:Pe});return u.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=oe!==void 0?oe:s.createPath(Ae)===s.createPath(Je);We(R,{replace:V,state:ne,preventScrollReset:Oe,relative:Pe,unstable_viewTransition:Me})}},[Ae,We,Je,oe,ne,G,R,Oe,Pe,Me])}function pa(R){l.UNSAFE_warning(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let z=u.useRef(M(R)),G=u.useRef(!1),oe=s.useLocation(),ne=u.useMemo(()=>j(oe.search,G.current?null:z.current),[oe.search]),Oe=s.useNavigate(),Pe=u.useCallback((Me,We)=>{let Ae=M(typeof Me=="function"?Me(ne):Me);G.current=!0,Oe("?"+Ae,We)},[Oe,ne]);return[ne,Pe]}function kr(){if(typeof document=="undefined")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let vr=0,Pr=()=>"__"+String(++vr)+"__";function ga(){let{router:R}=xr(ra.UseSubmit),{basename:z}=u.useContext(s.UNSAFE_NavigationContext),G=s.UNSAFE_useRouteId();return u.useCallback(function(oe,ne){ne===void 0&&(ne={}),kr();let{action:Oe,method:Pe,encType:Me,formData:We,body:Ae}=ge(oe,z);if(ne.navigate===!1){let Je=ne.fetcherKey||Pr();R.fetch(Je,G,ne.action||Oe,{preventScrollReset:ne.preventScrollReset,formData:We,body:Ae,formMethod:ne.method||Pe,formEncType:ne.encType||Me,unstable_flushSync:ne.unstable_flushSync})}else R.navigate(ne.action||Oe,{preventScrollReset:ne.preventScrollReset,formData:We,body:Ae,formMethod:ne.method||Pe,formEncType:ne.encType||Me,replace:ne.replace,state:ne.state,fromRouteId:G,unstable_flushSync:ne.unstable_flushSync,unstable_viewTransition:ne.unstable_viewTransition})},[R,z,G])}function ze(R,z){let{relative:G}=z===void 0?{}:z,{basename:oe}=u.useContext(s.UNSAFE_NavigationContext),ne=u.useContext(s.UNSAFE_RouteContext);ne||l.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=ne.matches.slice(-1),Pe=p({},s.useResolvedPath(R||".",{relative:G})),Me=s.useLocation();if(R==null){Pe.search=Me.search;let We=new URLSearchParams(Pe.search);We.has("index")&&We.get("index")===""&&(We.delete("index"),Pe.search=We.toString()?"?"+We.toString():"")}return(!R||R===".")&&Oe.route.index&&(Pe.search=Pe.search?Pe.search.replace(/^\?/,"?index&"):"?index"),oe!=="/"&&(Pe.pathname=Pe.pathname==="/"?oe:l.joinPaths([oe,Pe.pathname])),s.createPath(Pe)}function ct(R){var z;let{key:G}=R===void 0?{}:R,{router:oe}=xr(ra.UseFetcher),ne=pr(jr.UseFetcher),Oe=u.useContext(ie),Pe=u.useContext(s.UNSAFE_RouteContext),Me=(z=Pe.matches[Pe.matches.length-1])==null?void 0:z.route.id;Oe||l.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Pe||l.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&l.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let We=Ye?Ye():"",[Ae,Je]=u.useState(G||We);G&&G!==Ae?Je(G):Ae||Je(Pr()),u.useEffect(()=>(oe.getFetcher(Ae),()=>{oe.deleteFetcher(Ae)}),[oe,Ae]);let I=u.useCallback((q,pe)=>{Me||l.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),oe.fetch(Ae,Me,q,pe)},[Ae,Me,oe]),V=ga(),re=u.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),ce=u.useMemo(()=>{let q=u.forwardRef((pe,Te)=>u.createElement(Ut,p({},pe,{navigate:!1,fetcherKey:Ae,ref:Te})));return q.displayName="fetcher.Form",q},[Ae]),Ve=ne.fetchers.get(Ae)||l.IDLE_FETCHER,Be=Oe.get(Ae);return u.useMemo(()=>p({Form:ce,submit:re,load:I},Ve,{data:Be}),[ce,re,I,Ve,Be])}function bt(){let R=pr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,oe]=z;return p({},oe,{key:G})})}let Gt="react-router-scroll-positions",Vt={};function Rr(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:oe}=xr(ra.UseScrollRestoration),{restoreScrollPosition:ne,preventScrollReset:Oe}=pr(jr.UseScrollRestoration),{basename:Pe}=u.useContext(s.UNSAFE_NavigationContext),Me=s.useLocation(),We=s.useMatches(),Ae=s.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(u.useCallback(()=>{if(Ae.state==="idle"){let Je=(z?z(Me,We):null)||Me.key;Vt[Je]=window.scrollY}try{sessionStorage.setItem(G||Gt,JSON.stringify(Vt))}catch(Je){l.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Je+").")}window.history.scrollRestoration="auto"},[G,z,Ae.state,Me,We])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let Je=sessionStorage.getItem(G||Gt);Je&&(Vt=JSON.parse(Je))}catch(Je){}},[G]),u.useLayoutEffect(()=>{let Je=z&&Pe!=="/"?(V,re)=>z(p({},V,{pathname:l.stripBasename(V.pathname,Pe)||V.pathname}),re):z,I=oe==null?void 0:oe.enableScrollRestoration(Vt,()=>window.scrollY,Je);return()=>I&&I()},[oe,Pe,z]),u.useLayoutEffect(()=>{if(ne!==!1){if(typeof ne=="number"){window.scrollTo(0,ne);return}if(Me.hash){let Je=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Je){Je.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,ne,Oe]))}function _r(R,z){let{capture:G}=z||{};u.useEffect(()=>{let oe=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,oe),()=>{window.removeEventListener("beforeunload",R,oe)}},[R,G])}function Yr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let oe=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,oe),()=>{window.removeEventListener("pagehide",R,oe)}},[R,G])}function $(R){let{when:z,message:G}=R,oe=s.useBlocker(z);u.useEffect(()=>{oe.state==="blocked"&&(window.confirm(G)?setTimeout(oe.proceed,0):oe.reset())},[oe,G]),u.useEffect(()=>{oe.state==="blocked"&&!z&&oe.reset()},[oe,z])}function P(R,z){z===void 0&&(z={});let G=u.useContext(W);G==null&&l.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:oe}=xr(ra.useViewTransitionState),ne=s.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=l.stripBasename(G.currentLocation.pathname,oe)||G.currentLocation.pathname,Pe=l.stripBasename(G.nextLocation.pathname,oe)||G.nextLocation.pathname;return l.matchPath(ne.pathname,Pe)!=null||l.matchPath(ne.pathname,Oe)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return s.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return s.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return s.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return s.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return s.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return s.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return s.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return s.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return s.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return s.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return s.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return s.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return s.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return s.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return s.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return s.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return s.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return s.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return s.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return s.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return s.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return s.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return s.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return s.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return s.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return s.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return s.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return s.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return s.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return s.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return s.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return s.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return s.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return s.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return s.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return s.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return s.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return s.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return s.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return s.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return s.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return s.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return s.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return s.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return s.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return s.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return s.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return s.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return s.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return s.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return s.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return s.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return l.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=Xe,r.Form=Ut,r.HashRouter=ke,r.Link=wt,r.NavLink=tr,r.RouterProvider=Nt,r.ScrollRestoration=dr,r.UNSAFE_FetchersContext=ie,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=Rr,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=M,r.unstable_HistoryRouter=ot,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=_r,r.useFetcher=ct,r.useFetchers=bt,r.useFormAction=ze,r.useLinkClickHandler=br,r.useSearchParams=pa,r.useSubmit=ga,Object.defineProperty(r,"__esModule",{value:!0})})});var ZT=Ue((nG,JT)=>{"use strict";JT.exports=QT()});var ar=Ue((oG,o5)=>{"use strict";var U_=Object.defineProperty,CW=Object.defineProperties,xW=Object.getOwnPropertyDescriptor,kW=Object.getOwnPropertyDescriptors,TW=Object.getOwnPropertyNames,H_=Object.getOwnPropertySymbols,f2=Object.prototype.hasOwnProperty,t5=Object.prototype.propertyIsEnumerable,u2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),j_=Math.pow,e5=(r,a,o)=>a in r?U_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,nu=(r,a)=>{for(var o in a||(a={}))f2.call(a,o)&&e5(r,o,a[o]);if(H_)for(var o of H_(a))t5.call(a,o)&&e5(r,o,a[o]);return r},r5=(r,a)=>CW(r,kW(a)),EW=(r,a)=>{var o={};for(var s in r)f2.call(r,s)&&a.indexOf(s)<0&&(o[s]=r[s]);if(r!=null&&H_)for(var s of H_(r))a.indexOf(s)<0&&t5.call(r,s)&&(o[s]=r[s]);return o},RW=(r,a)=>{for(var o in a)U_(r,o,{get:a[o],enumerable:!0})},DW=(r,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of TW(a))!f2.call(r,l)&&l!==o&&U_(r,l,{get:()=>a[l],enumerable:!(s=xW(a,l))||s.enumerable});return r},AW=r=>DW(U_({},"__esModule",{value:!0}),r),qa=(r,a,o)=>new Promise((s,l)=>{var f=p=>{try{h(o.next(p))}catch(m){l(m)}},u=p=>{try{h(o.throw(p))}catch(m){l(m)}},h=p=>p.done?s(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())}),a5=function(r,a){this[0]=r,this[1]=a},LW=(r,a,o)=>{var s=(u,h,p,m)=>{try{var g=o[u](h),b=(h=g.value)instanceof a5,S=g.done;Promise.resolve(b?h[0]:h).then(w=>b?s(u==="return"?u:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:S})).catch(w=>s("throw",w,p,m))}catch(w){m(w)}},l=u=>f[u]=h=>new Promise((p,m)=>s(u,h,p,m)),f={};return o=o.apply(r,a),f[u2("asyncIterator")]=()=>f,l("next"),l("throw"),l("return"),f},NW=(r,a,o)=>(a=r[u2("asyncIterator")])?a.call(r):(r=r[u2("iterator")](),a={},o=(s,l)=>(l=r[s])&&(a[s]=f=>new Promise((u,h,p)=>(f=l.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>u({value:m,done:p}),h)))),o("next"),o("return"),a),n5={};RW(n5,{Fetcher:()=>Zr,Filer:()=>wn,Server:()=>p2,Time:()=>Dr,UUID:()=>rf,default:()=>qW,useStore:()=>V_});o5.exports=AW(n5);typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()});typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var s=0;s<a.length;s++)o[s]=a.charCodeAt(s);try{var l=new Blob([o.buffer],{type:r})}catch(f){return!1}return l},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")},String.prototype.escapeRegExChar=function(){return this.replace(/\\/g,"\\\\").replace(/(\?|\^|\$|\.|\||\*|\+|\(|\)|\{|\}|\[|\])/g,"\\$1")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=j_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=j_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=j_(10,r),o=Number(this),s=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/j_(1e3,s)*a)/a+("KMGTPEZY"[s-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),s=a.slice(4,6),l=a.slice(6,8),f=[];return o.length!=4||f.push(o),s.length!=2||f.push(s),l.length!=2||f.push(l),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var s;let l=a;for(let f of o){if(!f)break;l=(s=(l||{})[f||""])!=null?s:null}return l};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,s)=>{for(let l of a){let f=String(l||""),u=this.every(m=>{let g=Number(r(m,f.split(".")));return typeof g=="number"&&!isNaN(g)}),h=r(o,f.split(".")),p=r(s,f.split("."));if(u){if(h=Number(h),p=Number(p),h>p)return 1;if(h<p)return-1}else{if(h=String(h).replace(/(\d+)/g,m=>m.padStart(18,"0")),p=String(p).replace(/(\d+)/g,m=>m.padStart(18,"0")),h>p)return 1;if(h<p)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let s=new FileReader;s.onload=f=>a(f),s.onerror=f=>o(f);let l="readAs"+(r==null?void 0:r.toCapital());s[l](this)})});var OW=(r=24)=>Array.from({length:r}).map((a,o)=>{let s=o==0?25:35,l=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*s)][l?"toUpper":"toLower"]()}).join(""),rf=OW;rf.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");rf.gen32Hex=(r="Formatted",a="-")=>{let o=Array.from({length:32}).map((s,l)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(o=[o.slice(0,8),o.slice(8,12),o.slice(12,16),o.slice(16,20),o.slice(20,32)].join(a)),o};rf.to32Format=r=>[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-").toUpper();var MW=r=>new Ce.prototype.jmini(r),Ce=MW;Ce.prototype={};Ce.extend=function(r,a=Ce){for(var[o,s]of Object.entries(r))a.prototype[o]=s};Ce.expando="__jmini_"+rf();var Wa=(r,a)=>(r.queue.push(a),d2(r),r),d2=r=>qa(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,d2(r)}}),au=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,s]of Object.entries(a))o.match(/queue/)||(r[o]=s);return r},PW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let s=a[o];s&&(s[Ce.expando]||(Ce.is.element(s)||Ce.is.shadowRoot(s))&&(s[Ce.expando]={events:{}})),r[o]=s}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,d2(r),r};Ce.extend({constructor:Ce,jmini:function(r){return this.src=r,this.srcType=Ce.is.what(r),this.queueProcess=!0,this.queue=[],PW(this,Ce.is.jmini(r)?r.get():Ce.is.element(r)?[r]:Ce.is.elements(r)?r:Ce.is.shadowRoot(r)?[r]:Ce.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});Ce.prototype[String(Symbol.iterator)]=[][Symbol.iterator];Ce.prototype.jmini.prototype=Ce.prototype;{let r=function(l,f,u){let h=[];for(let p=0;p<(l.length||0);p++)h.push(f(l[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=l=>(l.for((f,u)=>{if(!(Ce.is.element(f)||Ce.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),l[u]=h}),l),o=(l,f)=>(Ce(f).for(u=>{if(l&&(Ce.is.element(u)||Ce.is.shadowRoot(u)))if(Ce.is.string(l)||Ce.is.number(l))l=String(l),u.insertAdjacentHTML("beforeend",String(l));else if(Ce.is.element(l))u.appendChild(l);else{Ce.is.jmini(l)?l=l.get():Ce.is.element(l)?l=[l]:Ce.is.keyValueDictionary(l)&&(l=[Ce(l)]);for(var h=0;h<l.length;h++)o(l[h],u)}}),f),s=(l,f,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return l.for(m=>{if(Ce.is.string(u[0]))m.insertAdjacentHTML(h,u[0]);else{if(!m.parentNode)return;Ce(u[0]).for(g=>{u[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),l};Ce.extend({get:function(l){return l?this[0]:r(this,f=>f)},for:function(l,f=1){let u=r(this,(h,p)=>l(h,p),1);return f?u:[]},await:function(l){return Wa(this,()=>new Promise((f,u)=>{setTimeout(()=>{f(this)},l)}))},abort:function(){return Wa(this,()=>qa(this,null,function*(){return this.queue=[],this}))},callback:function(l){return Wa(this,()=>qa(this,null,function*(){return yield l(this),this}))},click:function(){return Wa(this,()=>{for(var l=0;l<this.length;l++){let f=this[l];Ce.is.element(f)&&f.click()}return this})},focus:function(){return Wa(this,()=>{for(var l=0;l<this.length;l++){let f=this[l];Ce.is.element(f)&&f.focus()}return this})},addEvent:function(l){return Wa(this,()=>{let{eventType:f,eventID:u=rf(),target:h,callback:p,options:m}=l;return m=nu({passive:!0,capture:!1},m),this.for(g=>{if(!(Ce.is.element(g)||Ce.is.shadowRoot(g)))return;let{events:b}=g[Ce.expando];if(h){let S=p;p=w=>{if(w.target){if(Ce.is.string(h)){let k=w.target.closest(h);k&&(!k||S.call(k,w))}else if(Ce.is.elements(h)){for(let k of h)if(w.target==k)return S.call(k,w)}}}}if(b[u]){let S=b[u];g.removeEventListener(S.eventType,S.callback,S.options)}b[u]={eventType:f,callback:p,options:m},g.addEventListener(f,p,m)}),this})},removeEvent:function(l){return Wa(this,()=>{let f=Ce.is.array(l)?l:[l];return this.for(u=>{let{events:h}=u[Ce.expando];for(let p of f){let m=h[p];m&&u.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(l){return Wa(this,()=>au(this,o(l,a(this))))},empty:function(){return Wa(this,()=>au(this,a(this)))},append:function(l){return Wa(this,()=>{o(l,this)})},remove:function(){return Wa(this,()=>(this.for((l,f)=>{l&&Ce.is.element(l)&&(l.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...l){return Wa(this,()=>au(this,s(this,"before",...l)))},after:function(...l){return Wa(this,()=>au(this,s(this,"after",...l)))},find:function(l){return Wa(this,()=>{let f=[],u=this[0];u||au(this,Ce()),(Ce.is.element(u)||Ce.is.shadowRoot(u))&&(Ce.is.string(l)?f=u.querySelectorAll(l):Ce.is.element(u)&&Ce(l).for(h=>{let p=u.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...Ce(m).find(h).for(g=>g)])})),au(this,Ce(f))})},parent:function(l){return Wa(this,()=>{var f,u;let h=Ce(l?(f=this[0])==null?void 0:f.closest(l):(u=this[0])==null?void 0:u.parentNode);au(this,h)})},children:function(l){return Wa(this,()=>{let f=this[0].children;Ce.is.exist(l)&&(l=String(l).replace(/^ : /,""),f=l=="first"?f[0]:l=="last"?f[f.length-1]:f[Number(l)]);let u=Ce(f);return au(this,u)})},addClass:function(l){return Wa(this,()=>(l&&this.for(f=>{let u=Ce.is.string(l)?l.split(" "):l;f&&Ce.is.element(f)&&f.classList.add(...u)}),this))},removeClass:function(l){return Wa(this,()=>(l&&this.for(f=>{let u=Ce.is.string(l)?l.split(" "):l;f&&Ce.is.element(f)&&f.classList.remove(...u)}),this))},toggleClass:function(l){return Wa(this,()=>(l&&this.for(f=>{f.classList.toggle(l)}),this))},hasClass:function(l=""){if(this[0])return this[0].classList.contains(l.replace(/^\./,""))},findClass:function(l){let f=[];return this[0]&&(f=[...this[0].classList].filter(u=>u.match(l))),f},css:function(l){return Wa(this,()=>(this.for(f=>{if(Ce.is.element(f))for(let[u,h]of Object.entries(l)){if(Ce.is.number(h)&&u.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){f.style[u]=h+"px";continue}f.style[u]=String(h)}}),this))},getAttribute:function(l){return this[0].getAttribute(String(l))},setAttribute:function(l,f){return Wa(this,()=>(this.for(u=>u.setAttribute(l,f)),this))},getStyleProperty:function(l){let f=this[0];return f&&Ce.is.element(f)?getComputedStyle(f).getPropertyValue(l):""},setStyleProperty:function(l,f){let u=this[0];return u&&Ce.is.element(u)&&u.style.setProperty(l,f),this},val:function(){var l;let f=this[0];return(f==null?void 0:f.value)||((l=f==null?void 0:f.dataset)==null?void 0:l.value)},position:function(){return Ce.is.element(this[0])?this[0].getBoundingClientRect():{}}})}Ce.flatArray=(r,a)=>{if(!Ce.is.array(r))return[r];let o=[];for(let s of r)o.push(...a=="-R"?Ce.flatArray(s,"-R"):[s]);return o};Ce.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(s=>[Ce.getKeyValue(s,a||"0"),s])).values()):o=Array.from(new Set(r)),o};Ce.getKeyValue=(r,a)=>{let o={},s=r;return a.split(".").forEach(l=>{s=s==null?void 0:s[l],o=s}),o};Ce.Stringify=JSON.stringify;Ce.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};Ce.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let s=[],l=r;for(;l<=a;){if(o&&o.length&&o.includes(l)){l++;continue}s.push(l),l++}let f=Math.round(Math.random()*(s.length-1))+0;return s[f]};Ce.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};Ce.trySync=r=>qa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});Ce.scope=r=>r();Ce.scopeSync=r=>qa(void 0,null,function*(){return yield r()});Ce.createElement=function(r){var a;let{tag:o,className:s="",id:l,html:f,attr:u,style:h,parent:p}=r,m=document.createElement(o||"div");if(s&&m.classList.add(...s.split(" ")),l&&(m.id=l),u)for(let S of Object.entries(u)){let w=S[0],k=(a=S[1])!=null?a:"";if(w=="data"&&Ce.is.keyValueDictionary(k))for(let[L,N]of Object.entries(k))m.dataset[L]=N;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),m[w]=k}if(f&&Ce(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&Ce(p).append(m),m};Ce.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:s="",age:l=60*60*24*365,path:f="/",domain:u=a,secure:h=!1}=r,p=`${o}=${s}max-age=${l}path=${f}domain=${u}`;h&&(p+=" Secure"),document.cookie=p};Ce.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};Ce.localStrage={set:(r,a)=>{localStorage.setItem(r,Ce.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return Ce.Objectify(a,a)}};Ce.deleteCookie=r=>{document.cookie=r+"=max-age=0"};Ce.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:s,pageXOffset:l,pageYOffset:f}=window,u=Number(Ce(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Ce(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-u-h,scrollY:o,scrollX:s,pageXOffset:l,pageYOffset:f,safeAreaTop:u,safeAreaBottom:h}};Ce.getCursor=r=>{var a,o,s,l,f,u,h,p;let m=(l=r.pageX)!=null?l:(s=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?s:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,g=(p=r.pageY)!=null?p:(h=(f=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:f.pageY)!=null?h:(((u=r==null?void 0:r.originalEvent)==null?void 0:u.touches)||[])[0].pageY;return{x:m,y:g}};Ce.pending=(r,a)=>new Promise((o,s)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});Ce.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(Ce.is.keyValueDictionary(r)&&Ce.is.keyValueDictionary(o))for(let s in o)Ce.is.keyValueDictionary(o[s])?(r[s]||Object.assign(r,{[s]:{}}),Ce.deepMerge(r[s],o[s])):Object.assign(r,{[s]:o[s]});return Ce.deepMerge(r,...a)};Ce.deepCopy=r=>{if(Ce.is.array(r))return r.map(a=>Ce.deepCopy(a));if(Ce.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,s])=>{a[o]=Ce.deepCopy(s)}),a}return r};Ce.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((s,l)=>o[l]=s),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([s,l])=>{o.searchParams.set(s,String(l))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(s=>{o.searchParams.delete(s)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};Ce.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};Ce.is={equal:function(r,a,o){return o==null||o?Ce.Stringify(r)===Ce.Stringify(a):r===a},what:function(r){let a="other";return this.jmini(r)?a="jmini":this.element(r)?a="element":this.elements(r)?a="elements":this.shadowRoot(r)?a="shadowRoot":this.string(r)?a="string":this.number(r)?a="number":this.array(r)?a="array":this.function(r)?a="function":this.date(r)?a="date":typeof r=="undefined"?a="undefined":this.keyValueDictionary(r)?a="keyValueDictionary":r==null?a="null":isNaN(r)&&(a="NaN"),a},exist:function(r){return r===(r!=null?r:!r)},nullish:function(r){return!this.exist(r)},jmini:function(r){return(r||{}).constructor===Ce},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jmini(r)},element:function(r){return r&&(r.nodeType==1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"||[window,document].includes(r))},elements:function(r){let a={}.toString.call(r),o=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(o&&a!=="[object NodeList]")for(var s of r)o&=Number(this.element(s));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var IW=r=>new Dr.prototype.Time(r),Dr=IW;Dr.prototype={};var zW=function(r){Dr.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return this.set(a)};Ce.extend({value:new Date,validate:!1,ms:-1,weekday:-1,weekInMonth:-1,weekInYear:-1,isLastWeekInMonth:!1,year:-1,month:-1,date:-1,hours:-1,minutes:-1,seconds:-1,constructor:Dr,Time:zW,clone:function(){return Dr(this)},set:function(r){this.value=r;let a=Ce.is.date(r);if(this.validate=a,!a)return this.ms=-1,this.year=-1,this.month=-1,this.weekday=-1,this.weekInYear=-1,this.date=-1,this.hours=-1,this.minutes=-1,this.seconds=-1,this;this.ms=r.getTime(),this.weekday=r.getDay(),this.year=r.getFullYear(),this.month=r.getMonth()+1,this.date=r.getDate();{let o=new Date(this.year,0,1),s=new Date(o.valueOf());s.setDate(s.getDate()-(o.getDay()+1));let l=r.getTime()-s.getTime(),f=Math.ceil(l/(1e3*60*60*24));this.weekInYear=Math.ceil(f/7)}{let o=new Date(this.year,this.month-1,1),s=new Date(o.valueOf());s.setDate(s.getDate()-(o.getDay()+1));let l=r.getTime()-s.getTime(),f=Math.ceil(l/(1e3*60*60*24)),u=Math.ceil(f/7);this.weekInMonth=u}{let o=new Date(this.year,this.month,0),s=o.getDay(),l=new Date(new Date(o).setDate(o.getDate()-s));this.isLastWeekInMonth=this.date>=l.getDate()}return this.hours=r.getHours(),this.minutes=r.getMinutes(),this.seconds=r.getSeconds(),this},isSameYear:function(r){let a=Dr(r);return this.year==a.year},isSameMonth:function(r){let a=Dr(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Dr(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Dr(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),this.set(a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),this.set(a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),this.set(a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),this.set(a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),this.set(a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),this.set(a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),this.set(a)},addYear:function(r){return this.setYear(this.year+r)},addMonth:function(r){return this.setMonth(this.month+r)},addWeek:function(r){return this.addDate(7*r)},addDate:function(r){return this.setDate(this.date+r)},addHours:function(r){return this.setHours(this.hours+r)},addMinutes:function(r){return this.setMinutes(this.minutes+r)},addSeconds:function(r){return this.setSeconds(this.seconds+r)},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%i\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%i\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},toLangYMD:function(r){if(!this.validate)return"";let a=Dr(),o=a.diff(this);return o.dates==0?"\u4ECA\u65E5":o.dates==1?"\u6628\u65E5":o.dates>=-7&&o.dates<0?-1*o.dates+"\u65E5\u5F8C":o.dates<=7&&o.dates>0?o.dates+"\u65E5\u524D":this.isSameYear(a)?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D")},setFirstOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),this.set(r)},setLastOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),this.set(r)},getFirstDayOfTheYear:function(){return Dr(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Dr(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Dr(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Dr(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Dr(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Dr(this.value);return r.addDate(6-r.weekday)},diff:function(r){return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Ce.scope(()=>{let a=864e5,o=this.clone().setFirstOfTheDay(),s=r.clone().setFirstOfTheDay();return Math.floor((o.ms-s.ms)/a)}),hours:Ce.scope(()=>{let a=36e5,o=this.clone().setMinutes(0).setSeconds(0).setMilliseconds(0),s=r.clone().setMinutes(0).setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-s.ms)/a)}),minutes:Ce.scope(()=>{let a=6e4,o=this.clone().setSeconds(0).setMilliseconds(0),s=r.clone().setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-s.ms)/a)}),seconds:Ce.scope(()=>{let a=this.clone().setMilliseconds(0),o=r.clone().setMilliseconds(0);return Math.floor((a.ms-o.ms)/1e3)}),ms:this.ms-r.ms}},getAge:function(r){let a=r||Dr(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Dr);Dr.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Dr};Dr.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Dr(a+" 00:00")};Dr.getShortYMDs=(r,a)=>{let o="",s="";return r.year==a.year&&r.year==Dr().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?s=a.toFormatYMD():s=a.toFormatMD(),[o,s]};Dr.getPeriodArray=(r,a,o)=>{let s=[],l=a;if(!a.validate||!o.validate)return s;for(;l.toFormatYMDHMS().toNumber()<=o.toFormatYMDHMS().toNumber();)s.push(l),r=="year"?l=Dr(l).addYear(1):r=="month"?l=Dr(l).addMonth(1):r=="week"?l=Dr(l).addWeek(1):r=="day"?l=Dr(l).addDate(1):r=="hours"?l=Dr(l).addHours(1):r=="minutes"?l=Dr(l).addMinutes(1):r=="seconds"&&(l=Dr(l).addSeconds(1));return s};Dr.prototype.Time.prototype=Dr.prototype;var sc={},V_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([s,l])=>{let f=sc[s]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),sc[s]={privateKey:a,value:l}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([s,l])=>{var f;let u=sc[s]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),sc[s]=r5(nu({},sc[s]),{value:nu(nu({},(f=sc[s])==null?void 0:f.value),l)})}),o},get:(r,a)=>{let o=sc[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=sc[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete sc[r],!0)}},BW=(...[r,a,o])=>new xo.prototype.Interval(r,a,o),xo=BW;xo.prototype={};var FW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,xo.abort(this.key),this.store(),this};Ce.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:FW,store:function(){V_.set({["Interval_"+this.key]:this})},once:function(){return this.fn&&(this.timeoutIndex=setTimeout(this.fn,this.ms)),this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return xo.abort(this.timeoutIndex),this},set_ms:function(r){return this.ms=r,this.store(),this},set_fn:function(r){return this.fn=r,this.store(),this}},xo);xo.abort=r=>{if(Ce.is.number(r))return clearInterval(r);let a=V_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};xo.get=r=>V_.get("Interval_"+r);xo.once=(r,a,o)=>xo(r,a,o).once();xo.start=(r,a,o)=>xo(r,a,o).start();xo.prototype.Interval.prototype=xo.prototype;var jW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=jW;Zr.prototype={};Zr.waitList=[];Zr.setDefaultTrafficControl=0;Zr.setDefaultTimeout=1e3*60*10;Zr.isReadableStream=r=>r instanceof ReadableStream;Zr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Zr.streamToContext=(r,a)=>qa(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!Zr.isReadableStreamReader(o))return{ok:!1,done:!0,data:null};if(!o)return{ok:!1,done:!0,data:null};let s=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),l=yield o.read();return{ok:!0,done:l.done,data:s.decode(l.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var HW=function(r,a){var o;a=a||{};let s=a.body;a.body&&!Ce.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(s=Ce.Stringify(a.body||{}));let l=r;return Ce.is.string(r)&&!r.match(/https?:/)&&(l=location.origin+"/"+r.replace(/^\//,"")),this.url=l,this.method=a.method||"get",this.streamStatus="open",this.params=r5(nu({key:rf(),response_format:"json",timeout:Zr.setDefaultTimeout,trafficControl:Zr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:nu(nu({"Content-Type":"application/json"},Zr.setDefaultHeaders&&Zr.setDefaultHeaders()),a.headers),body:s}),this};Ce.extend({Fetcher:HW,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return qa(this,null,function*(){let{response:a,errorCB:o,streamCB:s,reader:l,decoder:f}=r,u=a.body,h=this,p=function(){return LW(this,null,function*(){if(!a.ok){Ce.scope(()=>qa(this,null,function*(){let{ok:k,done:L,data:N}=yield Zr.streamToContext(u,{reader:l,decoder:f});k&&o(N)}));return}let w=!1;for(;!w;){let{ok:k,done:L,data:N}=yield new a5(Zr.streamToContext(u,{reader:l,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",l.cancel(),L=!0):h.streamStatus=="closed"&&(L=!0),L&&(w=L,l.releaseLock()),s(N,L)}})};try{for(var m=NW(p()),g,b,S;g=!(b=yield m.next()).done;g=!1){let w=b.value}}catch(w){S=[w]}finally{try{g&&(b=m.return)&&(yield b.call(m))}finally{if(S)throw S[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return qa(this,null,function*(){var r;let a=this.params,o=performance.now(),s=0,l=new AbortController,f=setTimeout(()=>{l.abort()},a.timeout);a.signal=l.signal;let u=!1,h=500,p="InternalServerError",m={},g=null;try{Zr.setDefaultOnStart&&Zr.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let S=a,{key:w,response_format:k,trafficControl:L,preventMultiRequest:N,timeout:Y,queries:M}=S,j=EW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(w);if(N&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,w];let Z=Ce.queryParams.set(nu({},M),String(this.url));m=yield fetch(Z,j).then(O=>qa(this,null,function*(){return u=O.ok,h=O.status,p=O.statusText,g=O,k=="none"||k=="stream"?O:O[k]()})).catch(O=>{throw new Error(O)})}catch(S){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),l.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),s=performance.now()-o}a.trafficControl&&(yield Ce.pending(()=>{},a.trafficControl)),Zr.waitList.splice(Zr.waitList.findIndex(S=>S==a.key),1);let b={ok:u,status:h,statusText:p,body:m,requestTime:s,rawData:g};if(!u&&this.onErrorCB&&this.onErrorCB(b.body),u&&this.onStreamCB&&a.response_format=="stream"){let S=(r=g.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:S,decoder:new TextDecoder("utf-8")})}return u&&this.onCompleteCB&&this.onCompleteCB(b.body),this.onResultCB&&this.onResultCB(b,a),Zr.setDefaultOnEnd&&Zr.setDefaultOnEnd(b,a),b})},abortStream:function(){this.streamStatus="abort"}},Zr);Zr.prototype.Fetcher.prototype=Zr.prototype;var UW=r=>new wn.prototype.Filer(r),wn=UW;wn.prototype={};var VW=function(r){this.ok=!0;try{let[a,o]=r.name.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" ");this.file=r,this.extension=o,this.fileName=a,this.type=r.type}catch(a){console.log(a),this.ok=!1}return this};Ce.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:VW,isValid:function(){return this.ok},toBlob:function(){return qa(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return qa(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return qa(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return qa(this,null,function*(){return URL.createObjectURL(this.file)})},updateFileName:function(r){let a=new File([this.file],r+"."+this.extension);return this.file=a,this.fileName=r,this},updateMimeType:function(r){return this.file=new File([this.file],this.fileName+"."+this.extension,{type:r}),this.type=r,this},updateExtension:function(r){let a=new File([this.file],this.fileName+"."+r);return this.file=a,this.extension=r,this}},wn);wn.fromFile=r=>qa(void 0,null,function*(){return wn(r)});wn.fromBlob=(r,a)=>qa(void 0,null,function*(){let o=(a==null?void 0:a.fileName)||"file",s=(a==null?void 0:a.extension)||"",l=new File([r],o+"."+s,{type:a==null?void 0:a.mimeType});return wn(l)});wn.fromArrayBuffer=(r,a)=>qa(void 0,null,function*(){return wn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});wn.fromObjectURL=(r,a)=>qa(void 0,null,function*(){let o=yield Zr(r,{response_format:"blob"}).get();return o.ok?wn.fromBlob(o.body,a):wn({})});wn.fromDataURL=(r,a)=>qa(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?wn.fromBlob(o,a):wn({})});wn.prototype.Filer.prototype=wn.prototype;var WW=function(r){let a=r,o=null;return a.use((s,l,f)=>{let u=l;u.return=h=>{let{status:p=200,body:m={},bodyStringify:g=!0}=h||{},b=m;return g&&!Ce.is.string(m)&&(b=Ce.Stringify(m)),l.status(p).end(b)},f()}),a.onPathRouter=function(s){return o=s,this},a.pathRouter=function(s){if(!o)return;let l=o(s);return l.route(s),a.use(s,l),l},a.exception=function(s){return a.use(s),this},a},p2=WW;p2.getLocalIP=r=>{let a="";return Ce.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[s,l]of Object.entries(o))l.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};p2.getIP=function(r){var a;return(((r==null?void 0:r.headers["x-forwarded-for"])||((a=r==null?void 0:r.socket)==null?void 0:a.remoteAddress)||"").toString().match(new RegExp(/(::ffff:)?(\d+\.\d+.\d+\.\d+(:\d+)?)/))||[])[2]||"UNKNOWN IP"};Ce.copyToClipboard=r=>qa(void 0,null,function*(){let a="";Ce.is.string(r)?a=r:Ce.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield qa(void 0,null,function*(){let s;if(navigator.clipboard){if(s=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!s)return}else{let l=document.createElement("input");if(Ce(document.body).append(l),l.value=a,l.select(),s=document.execCommand("copy"),document.body.removeChild(l),!s)return}o={ok:!0,body:""}}),o});Ce.ImageLoader=(r,a)=>new Promise((o,s)=>{let l=a||new Image;l.onload=()=>o(l),l.onerror=f=>s(f),l.src=r});Ce.formatCharacter={postal:{JP:r=>{let a="--";return r=String(r).replace(/\D/ig,""),r.length==7&&(a=r.replace(/^(\d{3})(.*)/,"$1-$2")),a}},tel:{_:r=>{let a=r;return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a},mobile:r=>{let a="--";return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),a},fixed:r=>{let a="--";return r=String(r).removeLetters(),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a}}};Ce.transformer={weekday:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],s=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(l=>{let{From:f,To:u,name:h}=l;if(f<=r&&r<=u){let p=r-f+1;p==1&&(s=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:s}}};Ce.interval=xo;Zr.setDefaultHeaders=()=>({});var qW=Ce});var u5=Ue(q_=>{"use strict";(function(){"use strict";var r=fr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function N(D){if(D===null||typeof D!="object")return null;var q=k&&D[k]||D[L];return typeof q=="function"?q:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),Te=1;Te<q;Te++)pe[Te-1]=arguments[Te];j("error",D,pe)}}function j(D,q,pe){{var Te=Y.ReactDebugCurrentFrame,He=Te.getStackAddendum();He!==""&&(q+="%s",pe=pe.concat([He]));var ft=pe.map(function(Ze){return String(Ze)});ft.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,ft)}}var F=!1,Z=!1,O=!1,ae=!1,ge=!1,ee;ee=Symbol.for("react.module.reference");function ye(D){return!!(typeof D=="string"||typeof D=="function"||D===s||D===f||ge||D===l||D===m||D===g||ae||D===w||F||Z||O||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===u||D.$$typeof===h||D.$$typeof===p||D.$$typeof===ee||D.getModuleId!==void 0))}function be(D,q,pe){var Te=D.displayName;if(Te)return Te;var He=q.displayName||q.name||"";return He!==""?pe+"("+He+")":pe}function he(D){return D.displayName||"Context"}function H(D){if(D==null)return null;if(typeof D.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case s:return"Fragment";case o:return"Portal";case f:return"Profiler";case l:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return he(q)+".Consumer";case u:var pe=D;return he(pe._context)+".Provider";case p:return be(D,D.render,"ForwardRef");case b:var Te=D.displayName||null;return Te!==null?Te:H(D.type)||"Memo";case S:{var He=D,ft=He._payload,Ze=He._init;try{return H(Ze(ft))}catch(Ke){return null}}}return null}var le=Object.assign,de=0,B,W,ie,te,se,we,Se;function je(){}je.__reactDisabledLog=!0;function Ye(){{if(de===0){B=console.log,W=console.info,ie=console.warn,te=console.error,se=console.group,we=console.groupCollapsed,Se=console.groupEnd;var D={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}de++}}function Ge(){{if(de--,de===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},D,{value:B}),info:le({},D,{value:W}),warn:le({},D,{value:ie}),error:le({},D,{value:te}),group:le({},D,{value:se}),groupCollapsed:le({},D,{value:we}),groupEnd:le({},D,{value:Se})})}de<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rt=Y.ReactCurrentDispatcher,et;function Nt(D,q,pe){{if(et===void 0)try{throw Error()}catch(He){var Te=He.stack.trim().match(/\n( *(at )?)/);et=Te&&Te[1]||""}return`
149
+ `+('Please change the parent <Route path="'+Be+'"> to <Route ')+('path="'+(Be==="/"?"*":Be+"/*")+'">.'))}let Ae=L(),Je;if(P){var I;let Be=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Be.pathname)!=null&&I.startsWith(Me)||o.UNSAFE_invariant(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+Me+'" ')+('but pathname "'+Be.pathname+'" was given in the `location` prop.')),Je=Be}else Je=Ae;let V=Je.pathname||"/",re=V;if(Me!=="/"){let Be=Me.replace(/^\//,"").split("/");re="/"+V.replace(/^\//,"").split("/").slice(Be.length).join("/")}let ce=o.matchRoutes($,{pathname:re});o.UNSAFE_warning(We||ce!=null,'No routes matched location "'+Je.pathname+Je.search+Je.hash+'" '),o.UNSAFE_warning(ce==null||ce[ce.length-1].route.element!==void 0||ce[ce.length-1].route.Component!==void 0||ce[ce.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Je.pathname+Je.search+Je.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let Ve=W(ce&&ce.map(Be=>Object.assign({},Be,{params:Object.assign({},Oe,Be.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Be.pathname).pathname:Be.pathname]),pathnameBase:Be.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Be.pathnameBase).pathname:Be.pathnameBase])})),oe,R,z);return P&&Ve?l.createElement(g.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Je),navigationType:o.Action.Pop}},Ve):Ve}function H(){let $=ke(),P=o.isRouteErrorResponse($)?$.status+" "+$.statusText:$ instanceof Error?$.message:JSON.stringify($),R=$ instanceof Error?$.stack:null,z="rgba(200,200,200, 0.5)",G={padding:"0.5rem",backgroundColor:z},oe={padding:"2px 4px",backgroundColor:z},ne=null;return console.error("Error handled by React Router default ErrorBoundary:",$),ne=l.createElement(l.Fragment,null,l.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),l.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",l.createElement("code",{style:oe},"ErrorBoundary")," or"," ",l.createElement("code",{style:oe},"errorElement")," prop on your route.")),l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},P),R?l.createElement("pre",{style:G},R):null,ne)}let le=l.createElement(H,null);class de extends l.Component{constructor(P){super(P),this.state={location:P.location,revalidation:P.revalidation,error:P.error}}static getDerivedStateFromError(P){return{error:P}}static getDerivedStateFromProps(P,R){return R.location!==P.location||R.revalidation!=="idle"&&P.revalidation==="idle"?{error:P.error,location:P.location,revalidation:P.revalidation}:{error:P.error!==void 0?P.error:R.error,location:R.location,revalidation:P.revalidation||R.revalidation}}componentDidCatch(P,R){console.error("React Router caught the following error during render",P,R)}render(){return this.state.error!==void 0?l.createElement(b.Provider,{value:this.props.routeContext},l.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=l.useContext(u);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),l.createElement(b.Provider,{value:P},z)}function W($,P,R,z){var G;if(P===void 0&&(P=[]),R===void 0&&(R=null),z===void 0&&(z=null),$==null){var oe;if(!R)return null;if(R.errors)$=R.matches;else if((oe=z)!=null&&oe.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let ne=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let We=ne.findIndex(Ae=>Ae.route.id&&(Oe==null?void 0:Oe[Ae.route.id])!==void 0);We>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Oe).join(",")),ne=ne.slice(0,Math.min(ne.length,We+1))}let Pe=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let We=0;We<ne.length;We++){let Ae=ne[We];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Me=We),Ae.route.id){let{loaderData:Je,errors:I}=R,V=Ae.route.loader&&Je[Ae.route.id]===void 0&&(!I||I[Ae.route.id]===void 0);if(Ae.route.lazy||V){Pe=!0,Me>=0?ne=ne.slice(0,Me+1):ne=[ne[0]];break}}}return ne.reduceRight((We,Ae,Je)=>{let I,V=!1,re=null,ce=null;R&&(I=Oe&&Ae.route.id?Oe[Ae.route.id]:void 0,re=Ae.route.errorElement||le,Pe&&(Me<0&&Je===0?(dr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,ce=null):Me===Je&&(V=!0,ce=Ae.route.hydrateFallbackElement||null)));let Ve=P.concat(ne.slice(0,Je+1)),Be=()=>{let D;return I?D=re:V?D=ce:Ae.route.Component?D=l.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=We,l.createElement(B,{match:Ae,routeContext:{outlet:We,matches:Ve,isDataRoute:R!=null},children:D})};return R&&(Ae.route.ErrorBoundary||Ae.route.errorElement||Je===0)?l.createElement(de,{location:R.location,revalidation:R.revalidation,component:re,error:I,children:Be(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Be()},null)}var ie=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ie||{}),te=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(te||{});function se($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function we($){let P=l.useContext(u);return P||o.UNSAFE_invariant(!1,se($)),P}function Se($){let P=l.useContext(h);return P||o.UNSAFE_invariant(!1,se($)),P}function je($){let P=l.useContext(b);return P||o.UNSAFE_invariant(!1,se($)),P}function Ye($){let P=je($),R=P.matches[P.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,$+' can only be used on routes that contain a unique "id"'),R.route.id}function Ge(){return Ye(te.UseRouteId)}function rt(){return Se(te.UseNavigation).navigation}function et(){let $=we(ie.UseRevalidator),P=Se(te.UseRevalidator);return l.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function Nt(){let{matches:$,loaderData:P}=Se(te.UseMatches);return l.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function $t(){let $=Se(te.UseLoaderData),P=Ye(te.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function dt($){return Se(te.UseRouteLoaderData).loaderData[$]}function Xe(){let $=Se(te.UseActionData),P=Ye(te.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function ke(){var $;let P=l.useContext(S),R=Se(te.UseRouteError),z=Ye(te.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function it(){let $=l.useContext(p);return $==null?void 0:$._data}function kt(){let $=l.useContext(p);return $==null?void 0:$._error}let Tt=0;function wt($){let{router:P,basename:R}=we(ie.UseBlocker),z=Se(te.UseBlocker),[G,oe]=l.useState(""),ne=l.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Pe,nextLocation:Me,historyAction:We}=Oe;return $({currentLocation:f({},Pe,{pathname:o.stripBasename(Pe.pathname,R)||Pe.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:We})},[R,$]);return l.useEffect(()=>{let Oe=String(++Tt);return oe(Oe),()=>P.deleteBlocker(Oe)},[P]),l.useEffect(()=>{G!==""&&P.getBlocker(G,ne)},[P,G,ne]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function tr(){let{router:$}=we(ie.UseNavigateStable),P=Ye(te.UseNavigateStable),R=l.useRef(!1);return j(()=>{R.current=!0}),l.useCallback(function(G,oe){oe===void 0&&(oe={}),o.UNSAFE_warning(R.current,M),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},oe)))},[$,P])}let Ut={};function dr($,P,R){!P&&!Ut[$]&&(Ut[$]=!0,o.UNSAFE_warning(!1,R))}let jr=l["startTransition"];function qr($){let{fallbackElement:P,router:R,future:z}=$,[G,oe]=l.useState(R.state),{v7_startTransition:ne}=z||{},Oe=l.useCallback(Ae=>{ne&&jr?jr(()=>oe(Ae)):oe(Ae)},[oe,ne]);l.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),l.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Pe=l.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Ae=>R.navigate(Ae),push:(Ae,Je,I)=>R.navigate(Ae,{state:Je,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Ae,Je,I)=>R.navigate(Ae,{replace:!0,state:Je,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",We=l.useMemo(()=>({router:R,navigator:Pe,static:!1,basename:Me}),[R,Pe,Me]);return l.createElement(l.Fragment,null,l.createElement(u.Provider,{value:We},l.createElement(h.Provider,{value:G},l.createElement(vr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Pe,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?l.createElement(xr,{routes:R.routes,future:R.future,state:G}):P))),null)}function xr($){let{routes:P,future:R,state:z}=$;return he(P,void 0,z,R)}function pr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:oe}=$,ne=l.useRef();ne.current==null&&(ne.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=ne.current,[Pe,Me]=l.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:We}=oe||{},Ae=l.useCallback(Je=>{We&&jr?jr(()=>Me(Je)):Me(Je)},[Me,We]);return l.useLayoutEffect(()=>Oe.listen(Ae),[Oe,Ae]),l.createElement(vr,{basename:P,children:R,location:Pe.location,navigationType:Pe.action,navigator:Oe,future:oe})}function br($){let{to:P,replace:R,state:z,relative:G}=$;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:oe,static:ne}=l.useContext(m);o.UNSAFE_warning(!ne,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Oe}=l.useContext(b),{pathname:Pe}=L(),Me=F(),We=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,oe.v7_relativeSplatPath),Pe,G==="path"),Ae=JSON.stringify(We);return l.useEffect(()=>Me(JSON.parse(Ae),{replace:R,state:z,relative:G}),[Me,Ae,G,R,z]),null}function pa($){return ge($.context)}function kr($){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function vr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:oe,static:ne=!1,future:Oe}=$;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Pe=P.replace(/^\/*/,"/"),Me=l.useMemo(()=>({basename:Pe,navigator:oe,static:ne,future:f({v7_relativeSplatPath:!1},Oe)}),[Pe,Oe,oe,ne]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:We="/",search:Ae="",hash:Je="",state:I=null,key:V="default"}=z,re=l.useMemo(()=>{let ce=o.stripBasename(We,Pe);return ce==null?null:{location:{pathname:ce,search:Ae,hash:Je,state:I,key:V},navigationType:G}},[Pe,We,Ae,Je,I,V,G]);return o.UNSAFE_warning(re!=null,'<Router basename="'+Pe+'"> is not able to match the URL '+('"'+We+Ae+Je+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),re==null?null:l.createElement(m.Provider,{value:Me},l.createElement(g.Provider,{children:R,value:re}))}function Pr($){let{children:P,location:R}=$;return be(Vt(P),R)}function ga($){let{children:P,errorElement:R,resolve:z}=$;return l.createElement(bt,{resolve:z,errorElement:R},l.createElement(Gt,null,P))}var ze=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(ze||{});let ct=new Promise(()=>{});class bt extends l.Component{constructor(P){super(P),this.state={error:null}}static getDerivedStateFromError(P){return{error:P}}componentDidCatch(P,R){console.error("<Await> caught the following error during render",P,R)}render(){let{children:P,errorElement:R,resolve:z}=this.props,G=null,oe=ze.pending;if(!(z instanceof Promise))oe=ze.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){oe=ze.error;let ne=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>ne})}else z._tracked?(G=z,oe="_error"in G?ze.error:"_data"in G?ze.success:ze.pending):(oe=ze.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(ne=>Object.defineProperty(z,"_data",{get:()=>ne}),ne=>Object.defineProperty(z,"_error",{get:()=>ne})));if(oe===ze.error&&G._error instanceof o.AbortedDeferredError)throw ct;if(oe===ze.error&&!R)throw G._error;if(oe===ze.error)return l.createElement(p.Provider,{value:G,children:R});if(oe===ze.success)return l.createElement(p.Provider,{value:G,children:P});throw G}}function Gt($){let{children:P}=$,R=it(),z=typeof P=="function"?P(R):P;return l.createElement(l.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let R=[];return l.Children.forEach($,(z,G)=>{if(!l.isValidElement(z))return;let oe=[...P,G];if(z.type===l.Fragment){R.push.apply(R,Vt(z.props.children,oe));return}z.type!==kr&&o.UNSAFE_invariant(!1,"["+(typeof z.type=="string"?z.type:z.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!z.props.index||!z.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ne={id:z.props.id||oe.join("-"),caseSensitive:z.props.caseSensitive,element:z.props.element,Component:z.props.Component,index:z.props.index,path:z.props.path,loader:z.props.loader,action:z.props.action,errorElement:z.props.errorElement,ErrorBoundary:z.props.ErrorBoundary,hasErrorBoundary:z.props.ErrorBoundary!=null||z.props.errorElement!=null,shouldRevalidate:z.props.shouldRevalidate,handle:z.props.handle,lazy:z.props.lazy};z.props.children&&(ne.children=Vt(z.props.children,oe)),R.push(ne)}),R}function Rr($){return W($)}function _r($){let P={hasErrorBoundary:$.ErrorBoundary!=null||$.errorElement!=null};return $.Component&&($.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(P,{element:l.createElement($.Component),Component:void 0})),$.HydrateFallback&&($.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(P,{hydrateFallbackElement:l.createElement($.HydrateFallback),HydrateFallback:void 0})),$.ErrorBoundary&&($.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(P,{errorElement:l.createElement($.ErrorBoundary),ErrorBoundary:void 0})),P}function Yr($,P){return o.createRouter({basename:P==null?void 0:P.basename,future:f({},P==null?void 0:P.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:P==null?void 0:P.initialEntries,initialIndex:P==null?void 0:P.initialIndex}),hydrationData:P==null?void 0:P.hydrationData,routes:$,mapRouteProperties:_r,unstable_dataStrategy:P==null?void 0:P.unstable_dataStrategy,unstable_patchRoutesOnMiss:P==null?void 0:P.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return o.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return o.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return o.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return o.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return o.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return o.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return o.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return o.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return o.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return o.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return o.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return o.resolvePath}}),r.Await=ga,r.MemoryRouter=pr,r.Navigate=br,r.Outlet=pa,r.Route=kr,r.Router=vr,r.RouterProvider=qr,r.Routes=Pr,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=_r,r.UNSAFE_useRouteId=Ge,r.UNSAFE_useRoutesImpl=he,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Rr,r.useActionData=Xe,r.useAsyncError=kt,r.useAsyncValue=it,r.useBlocker=wt,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=$t,r.useLocation=L,r.useMatch=Y,r.useMatches=Nt,r.useNavigate=F,r.useNavigation=rt,r.useNavigationType=N,r.useOutlet=ge,r.useOutletContext=ae,r.useParams=ee,r.useResolvedPath=ye,r.useRevalidator=et,r.useRouteError=ke,r.useRouteLoaderData=dt,r.useRoutes=be,Object.defineProperty(r,"__esModule",{value:!0})})});var KT=Ue((rG,GT)=>{"use strict";GT.exports=$T()});var QT=Ue((F_,XT)=>{(function(r,a){typeof F_=="object"&&typeof XT!="undefined"?a(F_,fr(),K0(),KT(),c2()):typeof define=="function"&&define.amd?define(["exports","react","react-dom","react-router","@remix-run/router"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r.ReactRouterDOM={},r.React,r.ReactDOM,r.ReactRouter,r.RemixRouter))})(F_,function(r,a,o,s,l){"use strict";function f(R){if(R&&R.__esModule)return R;var z=Object.create(null);return R&&Object.keys(R).forEach(function(G){if(G!=="default"){var oe=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,oe.get?oe:{enumerable:!0,get:function(){return R[G]}})}}),z.default=R,Object.freeze(z)}var u=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(R){for(var z=1;z<arguments.length;z++){var G=arguments[z];for(var oe in G)Object.prototype.hasOwnProperty.call(G,oe)&&(R[oe]=G[oe])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},oe=Object.keys(R),ne,Oe;for(Oe=0;Oe<oe.length;Oe++)ne=oe[Oe],!(z.indexOf(ne)>=0)&&(G[ne]=R[ne]);return G}let g="get",b="application/x-www-form-urlencoded";function S(R){return R!=null&&typeof R.tagName=="string"}function w(R){return S(R)&&R.tagName.toLowerCase()==="button"}function k(R){return S(R)&&R.tagName.toLowerCase()==="form"}function L(R){return S(R)&&R.tagName.toLowerCase()==="input"}function N(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!N(R)}function M(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((z,G)=>{let oe=R[G];return z.concat(Array.isArray(oe)?oe.map(ne=>[G,ne]):[[G,oe]])},[]))}function j(R,z){let G=M(R);return z&&z.forEach((oe,ne)=>{G.has(ne)||z.getAll(ne).forEach(Oe=>{G.append(ne,Oe)})}),G}let F=null;function Z(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let O=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ae(R){return R!=null&&!O.has(R)?(l.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function ge(R,z){let G,oe,ne,Oe,Pe;if(k(R)){let Me=R.getAttribute("action");oe=Me?l.stripBasename(Me,z):null,G=R.getAttribute("method")||g,ne=ae(R.getAttribute("enctype"))||b,Oe=new FormData(R)}else if(w(R)||L(R)&&(R.type==="submit"||R.type==="image")){let Me=R.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let We=R.getAttribute("formaction")||Me.getAttribute("action");if(oe=We?l.stripBasename(We,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||g,ne=ae(R.getAttribute("formenctype"))||ae(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!Z()){let{name:Ae,type:Je,value:I}=R;if(Je==="image"){let V=Ae?Ae+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Ae&&Oe.append(Ae,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=g,oe=null,ne=b,Pe=R}return Oe&&ne==="text/plain"&&(Pe=Oe,Oe=void 0),{action:oe,method:G.toLowerCase(),encType:ne,formData:Oe,body:Pe}}let ee=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ye=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],be=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],he="6";try{window.__reactRouterVersion=he}catch(R){}function H(R,z){return l.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:l.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||de(),routes:R,mapRouteProperties:s.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function le(R,z){return l.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:l.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||de(),routes:R,mapRouteProperties:s.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function de(){var R;let z=(R=window)==null?void 0:R.__staticRouterHydrationData;return z&&z.errors&&(z=p({},z,{errors:B(z.errors)})),z}function B(R){if(!R)return null;let z=Object.entries(R),G={};for(let[oe,ne]of z)if(ne&&ne.__type==="RouteErrorResponse")G[oe]=new l.UNSAFE_ErrorResponseImpl(ne.status,ne.statusText,ne.data,ne.internal===!0);else if(ne&&ne.__type==="Error"){if(ne.__subType){let Oe=window[ne.__subType];if(typeof Oe=="function")try{let Pe=new Oe(ne.message);Pe.stack="",G[oe]=Pe}catch(Pe){}}if(G[oe]==null){let Oe=new Error(ne.message);Oe.stack="",G[oe]=Oe}}else G[oe]=ne;return G}let W=u.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ie=u.createContext(new Map);ie.displayName="Fetchers";let se=u["startTransition"],Se=h["flushSync"],Ye=u["useId"];function Ge(R){se?se(R):R()}function rt(R){Se?Se(R):R()}class et{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=oe=>{this.status==="pending"&&(this.status="resolved",z(oe))},this.reject=oe=>{this.status==="pending"&&(this.status="rejected",G(oe))}})}}function Nt(R){let{fallbackElement:z,router:G,future:oe}=R,[ne,Oe]=u.useState(G.state),[Pe,Me]=u.useState(),[We,Ae]=u.useState({isTransitioning:!1}),[Je,I]=u.useState(),[V,re]=u.useState(),[ce,Ve]=u.useState(),Be=u.useRef(new Map),{v7_startTransition:D}=oe||{},q=u.useCallback(Ke=>{D?Ge(Ke):Ke()},[D]),pe=u.useCallback((Ke,Ct)=>{let{deletedFetchers:Et,unstable_flushSync:Wt,unstable_viewTransitionOpts:$r}=Ct;Et.forEach(ia=>Be.current.delete(ia)),Ke.fetchers.forEach((ia,la)=>{ia.data!==void 0&&Be.current.set(la,ia.data)});let Va=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!$r||Va){Wt?rt(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Wt){rt(()=>{V&&(Je&&Je.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let ia=G.window.document.startViewTransition(()=>{rt(()=>Oe(Ke))});ia.finished.finally(()=>{rt(()=>{I(void 0),re(void 0),Me(void 0),Ae({isTransitioning:!1})})}),rt(()=>re(ia));return}V?(Je&&Je.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Me(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[G.window,V,Je,Be,q]);u.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),u.useEffect(()=>{We.isTransitioning&&!We.flushSync&&I(new et)},[We]),u.useEffect(()=>{if(Je&&Pe&&G.window){let Ke=Pe,Ct=Je.promise,Et=G.window.document.startViewTransition(()=>na(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));Et.finished.finally(()=>{I(void 0),re(void 0),Me(void 0),Ae({isTransitioning:!1})}),re(Et)}},[q,Pe,Je,G.window]),u.useEffect(()=>{Je&&Pe&&ne.location.key===Pe.location.key&&Je.resolve()},[Je,V,ne.location,Pe]),u.useEffect(()=>{!We.isTransitioning&&ce&&(Me(ce.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:ce.currentLocation,nextLocation:ce.nextLocation}),Ve(void 0))},[We.isTransitioning,ce]),u.useEffect(()=>{l.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Te=u.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,Et)=>G.navigate(Ke,{state:Ct,preventScrollReset:Et==null?void 0:Et.preventScrollReset}),replace:(Ke,Ct,Et)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:Et==null?void 0:Et.preventScrollReset})}),[G]),He=G.basename||"/",ft=u.useMemo(()=>({router:G,navigator:Te,static:!1,basename:He}),[G,Te,He]),Ze=u.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(s.UNSAFE_DataRouterContext.Provider,{value:ft},u.createElement(s.UNSAFE_DataRouterStateContext.Provider,{value:ne},u.createElement(ie.Provider,{value:Be.current},u.createElement(W.Provider,{value:We},u.createElement(s.Router,{basename:He,location:ne.location,navigationType:ne.historyAction,navigator:Te,future:Ze},ne.initialized||G.future.v7_partialHydration?u.createElement($t,{routes:G.routes,future:G.future,state:ne}):z))))),null)}let $t=u.memo(dt);function dt(R){let{routes:z,future:G,state:oe}=R;return s.UNSAFE_useRoutesImpl(z,void 0,oe,G)}function Xe(R){let{basename:z,children:G,future:oe,window:ne}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=l.createBrowserHistory({window:ne,v5Compat:!0}));let Pe=Oe.current,[Me,We]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ae}=oe||{},Je=u.useCallback(I=>{Ae&&se?se(()=>We(I)):We(I)},[We,Ae]);return u.useLayoutEffect(()=>Pe.listen(Je),[Pe,Je]),u.createElement(s.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Pe,future:oe})}function ke(R){let{basename:z,children:G,future:oe,window:ne}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=l.createHashHistory({window:ne,v5Compat:!0}));let Pe=Oe.current,[Me,We]=u.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ae}=oe||{},Je=u.useCallback(I=>{Ae&&se?se(()=>We(I)):We(I)},[We,Ae]);return u.useLayoutEffect(()=>Pe.listen(Je),[Pe,Je]),u.createElement(s.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Pe,future:oe})}function it(R){let{basename:z,children:G,future:oe,history:ne}=R,[Oe,Pe]=u.useState({action:ne.action,location:ne.location}),{v7_startTransition:Me}=oe||{},We=u.useCallback(Ae=>{Me&&se?se(()=>Pe(Ae)):Pe(Ae)},[Pe,Me]);return u.useLayoutEffect(()=>ne.listen(We),[ne,We]),u.createElement(s.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:ne,future:oe})}it.displayName="unstable_HistoryRouter";let kt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Tt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wt=u.forwardRef(function(z,G){let{onClick:oe,relative:ne,reloadDocument:Oe,replace:Pe,state:Me,target:We,to:Ae,preventScrollReset:Je,unstable_viewTransition:I}=z,V=m(z,ee),{basename:re}=u.useContext(s.UNSAFE_NavigationContext),ce,Ve=!1;if(typeof Ae=="string"&&Tt.test(Ae)&&(ce=Ae,kt))try{let pe=new URL(window.location.href),Te=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),He=l.stripBasename(Te.pathname,re);Te.origin===pe.origin&&He!=null?Ae=He+Te.search+Te.hash:Ve=!0}catch(pe){l.UNSAFE_warning(!1,'<Link to="'+Ae+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Be=s.useHref(Ae,{relative:ne}),D=br(Ae,{replace:Pe,state:Me,target:We,preventScrollReset:Je,relative:ne,unstable_viewTransition:I});function q(pe){oe&&oe(pe),pe.defaultPrevented||D(pe)}return u.createElement("a",p({},V,{href:ce||Be,onClick:Ve||Oe?oe:q,ref:G,target:We}))});wt.displayName="Link";let tr=u.forwardRef(function(z,G){let{"aria-current":oe="page",caseSensitive:ne=!1,className:Oe="",end:Pe=!1,style:Me,to:We,unstable_viewTransition:Ae,children:Je}=z,I=m(z,ye),V=s.useResolvedPath(We,{relative:I.relative}),re=s.useLocation(),ce=u.useContext(s.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Be}=u.useContext(s.UNSAFE_NavigationContext),D=ce!=null&&P(V)&&Ae===!0,q=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=re.pathname,Te=ce&&ce.navigation&&ce.navigation.location?ce.navigation.location.pathname:null;ne||(pe=pe.toLowerCase(),Te=Te?Te.toLowerCase():null,q=q.toLowerCase()),Te&&Be&&(Te=l.stripBasename(Te,Be)||Te);let He=q!=="/"&&q.endsWith("/")?q.length-1:q.length,ft=pe===q||!Pe&&pe.startsWith(q)&&pe.charAt(He)==="/",Ze=Te!=null&&(Te===q||!Pe&&Te.startsWith(q)&&Te.charAt(q.length)==="/"),Ke={isActive:ft,isPending:Ze,isTransitioning:D},Ct=ft?oe:void 0,Et;typeof Oe=="function"?Et=Oe(Ke):Et=[Oe,ft?"active":null,Ze?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Ke):Me;return u.createElement(wt,p({},I,{"aria-current":Ct,className:Et,ref:G,style:Wt,to:We,unstable_viewTransition:Ae}),typeof Je=="function"?Je(Ke):Je)});tr.displayName="NavLink";let Ut=u.forwardRef((R,z)=>{let{fetcherKey:G,navigate:oe,reloadDocument:ne,replace:Oe,state:Pe,method:Me=g,action:We,onSubmit:Ae,relative:Je,preventScrollReset:I,unstable_viewTransition:V}=R,re=m(R,be),ce=ga(),Ve=ze(We,{relative:Je}),Be=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Ae&&Ae(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,Te=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;ce(pe||q.currentTarget,{fetcherKey:G,method:Te,navigate:oe,replace:Oe,state:Pe,relative:Je,preventScrollReset:I,unstable_viewTransition:V})};return u.createElement("form",p({ref:z,method:Be,action:Ve,onSubmit:ne?Ae:D},re))});Ut.displayName="Form";function dr(R){let{getKey:z,storageKey:G}=R;return Rr({getKey:z,storageKey:G}),null}dr.displayName="ScrollRestoration";var ra=function(R){return R.UseScrollRestoration="useScrollRestoration",R.UseSubmit="useSubmit",R.UseSubmitFetcher="useSubmitFetcher",R.UseFetcher="useFetcher",R.useViewTransitionState="useViewTransitionState",R}(ra||{}),jr=function(R){return R.UseFetcher="useFetcher",R.UseFetchers="useFetchers",R.UseScrollRestoration="useScrollRestoration",R}(jr||{});function qr(R){return R+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function xr(R){let z=u.useContext(s.UNSAFE_DataRouterContext);return z||l.UNSAFE_invariant(!1,qr(R)),z}function pr(R){let z=u.useContext(s.UNSAFE_DataRouterStateContext);return z||l.UNSAFE_invariant(!1,qr(R)),z}function br(R,z){let{target:G,replace:oe,state:ne,preventScrollReset:Oe,relative:Pe,unstable_viewTransition:Me}=z===void 0?{}:z,We=s.useNavigate(),Ae=s.useLocation(),Je=s.useResolvedPath(R,{relative:Pe});return u.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=oe!==void 0?oe:s.createPath(Ae)===s.createPath(Je);We(R,{replace:V,state:ne,preventScrollReset:Oe,relative:Pe,unstable_viewTransition:Me})}},[Ae,We,Je,oe,ne,G,R,Oe,Pe,Me])}function pa(R){l.UNSAFE_warning(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let z=u.useRef(M(R)),G=u.useRef(!1),oe=s.useLocation(),ne=u.useMemo(()=>j(oe.search,G.current?null:z.current),[oe.search]),Oe=s.useNavigate(),Pe=u.useCallback((Me,We)=>{let Ae=M(typeof Me=="function"?Me(ne):Me);G.current=!0,Oe("?"+Ae,We)},[Oe,ne]);return[ne,Pe]}function kr(){if(typeof document=="undefined")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let vr=0,Pr=()=>"__"+String(++vr)+"__";function ga(){let{router:R}=xr(ra.UseSubmit),{basename:z}=u.useContext(s.UNSAFE_NavigationContext),G=s.UNSAFE_useRouteId();return u.useCallback(function(oe,ne){ne===void 0&&(ne={}),kr();let{action:Oe,method:Pe,encType:Me,formData:We,body:Ae}=ge(oe,z);if(ne.navigate===!1){let Je=ne.fetcherKey||Pr();R.fetch(Je,G,ne.action||Oe,{preventScrollReset:ne.preventScrollReset,formData:We,body:Ae,formMethod:ne.method||Pe,formEncType:ne.encType||Me,unstable_flushSync:ne.unstable_flushSync})}else R.navigate(ne.action||Oe,{preventScrollReset:ne.preventScrollReset,formData:We,body:Ae,formMethod:ne.method||Pe,formEncType:ne.encType||Me,replace:ne.replace,state:ne.state,fromRouteId:G,unstable_flushSync:ne.unstable_flushSync,unstable_viewTransition:ne.unstable_viewTransition})},[R,z,G])}function ze(R,z){let{relative:G}=z===void 0?{}:z,{basename:oe}=u.useContext(s.UNSAFE_NavigationContext),ne=u.useContext(s.UNSAFE_RouteContext);ne||l.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=ne.matches.slice(-1),Pe=p({},s.useResolvedPath(R||".",{relative:G})),Me=s.useLocation();if(R==null){Pe.search=Me.search;let We=new URLSearchParams(Pe.search);We.has("index")&&We.get("index")===""&&(We.delete("index"),Pe.search=We.toString()?"?"+We.toString():"")}return(!R||R===".")&&Oe.route.index&&(Pe.search=Pe.search?Pe.search.replace(/^\?/,"?index&"):"?index"),oe!=="/"&&(Pe.pathname=Pe.pathname==="/"?oe:l.joinPaths([oe,Pe.pathname])),s.createPath(Pe)}function ct(R){var z;let{key:G}=R===void 0?{}:R,{router:oe}=xr(ra.UseFetcher),ne=pr(jr.UseFetcher),Oe=u.useContext(ie),Pe=u.useContext(s.UNSAFE_RouteContext),Me=(z=Pe.matches[Pe.matches.length-1])==null?void 0:z.route.id;Oe||l.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Pe||l.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&l.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let We=Ye?Ye():"",[Ae,Je]=u.useState(G||We);G&&G!==Ae?Je(G):Ae||Je(Pr()),u.useEffect(()=>(oe.getFetcher(Ae),()=>{oe.deleteFetcher(Ae)}),[oe,Ae]);let I=u.useCallback((q,pe)=>{Me||l.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),oe.fetch(Ae,Me,q,pe)},[Ae,Me,oe]),V=ga(),re=u.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),ce=u.useMemo(()=>{let q=u.forwardRef((pe,Te)=>u.createElement(Ut,p({},pe,{navigate:!1,fetcherKey:Ae,ref:Te})));return q.displayName="fetcher.Form",q},[Ae]),Ve=ne.fetchers.get(Ae)||l.IDLE_FETCHER,Be=Oe.get(Ae);return u.useMemo(()=>p({Form:ce,submit:re,load:I},Ve,{data:Be}),[ce,re,I,Ve,Be])}function bt(){let R=pr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,oe]=z;return p({},oe,{key:G})})}let Gt="react-router-scroll-positions",Vt={};function Rr(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:oe}=xr(ra.UseScrollRestoration),{restoreScrollPosition:ne,preventScrollReset:Oe}=pr(jr.UseScrollRestoration),{basename:Pe}=u.useContext(s.UNSAFE_NavigationContext),Me=s.useLocation(),We=s.useMatches(),Ae=s.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(u.useCallback(()=>{if(Ae.state==="idle"){let Je=(z?z(Me,We):null)||Me.key;Vt[Je]=window.scrollY}try{sessionStorage.setItem(G||Gt,JSON.stringify(Vt))}catch(Je){l.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Je+").")}window.history.scrollRestoration="auto"},[G,z,Ae.state,Me,We])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let Je=sessionStorage.getItem(G||Gt);Je&&(Vt=JSON.parse(Je))}catch(Je){}},[G]),u.useLayoutEffect(()=>{let Je=z&&Pe!=="/"?(V,re)=>z(p({},V,{pathname:l.stripBasename(V.pathname,Pe)||V.pathname}),re):z,I=oe==null?void 0:oe.enableScrollRestoration(Vt,()=>window.scrollY,Je);return()=>I&&I()},[oe,Pe,z]),u.useLayoutEffect(()=>{if(ne!==!1){if(typeof ne=="number"){window.scrollTo(0,ne);return}if(Me.hash){let Je=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Je){Je.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,ne,Oe]))}function _r(R,z){let{capture:G}=z||{};u.useEffect(()=>{let oe=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,oe),()=>{window.removeEventListener("beforeunload",R,oe)}},[R,G])}function Yr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let oe=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,oe),()=>{window.removeEventListener("pagehide",R,oe)}},[R,G])}function $(R){let{when:z,message:G}=R,oe=s.useBlocker(z);u.useEffect(()=>{oe.state==="blocked"&&(window.confirm(G)?setTimeout(oe.proceed,0):oe.reset())},[oe,G]),u.useEffect(()=>{oe.state==="blocked"&&!z&&oe.reset()},[oe,z])}function P(R,z){z===void 0&&(z={});let G=u.useContext(W);G==null&&l.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:oe}=xr(ra.useViewTransitionState),ne=s.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=l.stripBasename(G.currentLocation.pathname,oe)||G.currentLocation.pathname,Pe=l.stripBasename(G.nextLocation.pathname,oe)||G.nextLocation.pathname;return l.matchPath(ne.pathname,Pe)!=null||l.matchPath(ne.pathname,Oe)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return s.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return s.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return s.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return s.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return s.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return s.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return s.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return s.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return s.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return s.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return s.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return s.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return s.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return s.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return s.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return s.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return s.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return s.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return s.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return s.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return s.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return s.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return s.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return s.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return s.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return s.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return s.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return s.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return s.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return s.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return s.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return s.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return s.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return s.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return s.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return s.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return s.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return s.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return s.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return s.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return s.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return s.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return s.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return s.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return s.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return s.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return s.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return s.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return s.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return s.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return s.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return s.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return l.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=Xe,r.Form=Ut,r.HashRouter=ke,r.Link=wt,r.NavLink=tr,r.RouterProvider=Nt,r.ScrollRestoration=dr,r.UNSAFE_FetchersContext=ie,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=Rr,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=M,r.unstable_HistoryRouter=it,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=_r,r.useFetcher=ct,r.useFetchers=bt,r.useFormAction=ze,r.useLinkClickHandler=br,r.useSearchParams=pa,r.useSubmit=ga,Object.defineProperty(r,"__esModule",{value:!0})})});var ZT=Ue((nG,JT)=>{"use strict";JT.exports=QT()});var ar=Ue((oG,o5)=>{"use strict";var U_=Object.defineProperty,CW=Object.defineProperties,xW=Object.getOwnPropertyDescriptor,kW=Object.getOwnPropertyDescriptors,TW=Object.getOwnPropertyNames,H_=Object.getOwnPropertySymbols,f2=Object.prototype.hasOwnProperty,t5=Object.prototype.propertyIsEnumerable,u2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),j_=Math.pow,e5=(r,a,o)=>a in r?U_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,nu=(r,a)=>{for(var o in a||(a={}))f2.call(a,o)&&e5(r,o,a[o]);if(H_)for(var o of H_(a))t5.call(a,o)&&e5(r,o,a[o]);return r},r5=(r,a)=>CW(r,kW(a)),EW=(r,a)=>{var o={};for(var s in r)f2.call(r,s)&&a.indexOf(s)<0&&(o[s]=r[s]);if(r!=null&&H_)for(var s of H_(r))a.indexOf(s)<0&&t5.call(r,s)&&(o[s]=r[s]);return o},RW=(r,a)=>{for(var o in a)U_(r,o,{get:a[o],enumerable:!0})},DW=(r,a,o,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of TW(a))!f2.call(r,l)&&l!==o&&U_(r,l,{get:()=>a[l],enumerable:!(s=xW(a,l))||s.enumerable});return r},AW=r=>DW(U_({},"__esModule",{value:!0}),r),Ya=(r,a,o)=>new Promise((s,l)=>{var f=p=>{try{h(o.next(p))}catch(m){l(m)}},u=p=>{try{h(o.throw(p))}catch(m){l(m)}},h=p=>p.done?s(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())}),a5=function(r,a){this[0]=r,this[1]=a},LW=(r,a,o)=>{var s=(u,h,p,m)=>{try{var g=o[u](h),b=(h=g.value)instanceof a5,S=g.done;Promise.resolve(b?h[0]:h).then(w=>b?s(u==="return"?u:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:S})).catch(w=>s("throw",w,p,m))}catch(w){m(w)}},l=u=>f[u]=h=>new Promise((p,m)=>s(u,h,p,m)),f={};return o=o.apply(r,a),f[u2("asyncIterator")]=()=>f,l("next"),l("throw"),l("return"),f},NW=(r,a,o)=>(a=r[u2("asyncIterator")])?a.call(r):(r=r[u2("iterator")](),a={},o=(s,l)=>(l=r[s])&&(a[s]=f=>new Promise((u,h,p)=>(f=l.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>u({value:m,done:p}),h)))),o("next"),o("return"),a),n5={};RW(n5,{Fetcher:()=>Zr,Filer:()=>wn,Server:()=>p2,Time:()=>Dr,UUID:()=>rf,default:()=>qW,useStore:()=>V_});o5.exports=AW(n5);typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()});typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var s=0;s<a.length;s++)o[s]=a.charCodeAt(s);try{var l=new Blob([o.buffer],{type:r})}catch(f){return!1}return l},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")},String.prototype.escapeRegExChar=function(){return this.replace(/\\/g,"\\\\").replace(/(\?|\^|\$|\.|\||\*|\+|\(|\)|\{|\}|\[|\])/g,"\\$1")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=j_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=j_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=j_(10,r),o=Number(this),s=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/j_(1e3,s)*a)/a+("KMGTPEZY"[s-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),s=a.slice(4,6),l=a.slice(6,8),f=[];return o.length!=4||f.push(o),s.length!=2||f.push(s),l.length!=2||f.push(l),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var s;let l=a;for(let f of o){if(!f)break;l=(s=(l||{})[f||""])!=null?s:null}return l};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,s)=>{for(let l of a){let f=String(l||""),u=this.every(m=>{let g=Number(r(m,f.split(".")));return typeof g=="number"&&!isNaN(g)}),h=r(o,f.split(".")),p=r(s,f.split("."));if(u){if(h=Number(h),p=Number(p),h>p)return 1;if(h<p)return-1}else{if(h=String(h).replace(/(\d+)/g,m=>m.padStart(18,"0")),p=String(p).replace(/(\d+)/g,m=>m.padStart(18,"0")),h>p)return 1;if(h<p)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let s=new FileReader;s.onload=f=>a(f),s.onerror=f=>o(f);let l="readAs"+(r==null?void 0:r.toCapital());s[l](this)})});var OW=(r=24)=>Array.from({length:r}).map((a,o)=>{let s=o==0?25:35,l=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*s)][l?"toUpper":"toLower"]()}).join(""),rf=OW;rf.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");rf.gen32Hex=(r="Formatted",a="-")=>{let o=Array.from({length:32}).map((s,l)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(o=[o.slice(0,8),o.slice(8,12),o.slice(12,16),o.slice(16,20),o.slice(20,32)].join(a)),o};rf.to32Format=r=>[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-").toUpper();var MW=r=>new Ce.prototype.jmini(r),Ce=MW;Ce.prototype={};Ce.extend=function(r,a=Ce){for(var[o,s]of Object.entries(r))a.prototype[o]=s};Ce.expando="__jmini_"+rf();var qa=(r,a)=>(r.queue.push(a),d2(r),r),d2=r=>Ya(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,d2(r)}}),au=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,s]of Object.entries(a))o.match(/queue/)||(r[o]=s);return r},PW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let s=a[o];s&&(s[Ce.expando]||(Ce.is.element(s)||Ce.is.shadowRoot(s))&&(s[Ce.expando]={events:{}})),r[o]=s}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,d2(r),r};Ce.extend({constructor:Ce,jmini:function(r){return this.src=r,this.srcType=Ce.is.what(r),this.queueProcess=!0,this.queue=[],PW(this,Ce.is.jmini(r)?r.get():Ce.is.element(r)?[r]:Ce.is.elements(r)?r:Ce.is.shadowRoot(r)?[r]:Ce.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});Ce.prototype[String(Symbol.iterator)]=[][Symbol.iterator];Ce.prototype.jmini.prototype=Ce.prototype;{let r=function(l,f,u){let h=[];for(let p=0;p<(l.length||0);p++)h.push(f(l[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=l=>(l.for((f,u)=>{if(!(Ce.is.element(f)||Ce.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),l[u]=h}),l),o=(l,f)=>(Ce(f).for(u=>{if(l&&(Ce.is.element(u)||Ce.is.shadowRoot(u)))if(Ce.is.string(l)||Ce.is.number(l))l=String(l),u.insertAdjacentHTML("beforeend",String(l));else if(Ce.is.element(l))u.appendChild(l);else{Ce.is.jmini(l)?l=l.get():Ce.is.element(l)?l=[l]:Ce.is.keyValueDictionary(l)&&(l=[Ce(l)]);for(var h=0;h<l.length;h++)o(l[h],u)}}),f),s=(l,f,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return l.for(m=>{if(Ce.is.string(u[0]))m.insertAdjacentHTML(h,u[0]);else{if(!m.parentNode)return;Ce(u[0]).for(g=>{u[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),l};Ce.extend({get:function(l){return l?this[0]:r(this,f=>f)},for:function(l,f=1){let u=r(this,(h,p)=>l(h,p),1);return f?u:[]},await:function(l){return qa(this,()=>new Promise((f,u)=>{setTimeout(()=>{f(this)},l)}))},abort:function(){return qa(this,()=>Ya(this,null,function*(){return this.queue=[],this}))},callback:function(l){return qa(this,()=>Ya(this,null,function*(){return yield l(this),this}))},click:function(){return qa(this,()=>{for(var l=0;l<this.length;l++){let f=this[l];Ce.is.element(f)&&f.click()}return this})},focus:function(){return qa(this,()=>{for(var l=0;l<this.length;l++){let f=this[l];Ce.is.element(f)&&f.focus()}return this})},addEvent:function(l){return qa(this,()=>{let{eventType:f,eventID:u=rf(),target:h,callback:p,options:m}=l;return m=nu({passive:!0,capture:!1},m),this.for(g=>{if(!(Ce.is.element(g)||Ce.is.shadowRoot(g)))return;let{events:b}=g[Ce.expando];if(h){let S=p;p=w=>{if(w.target){if(Ce.is.string(h)){let k=w.target.closest(h);k&&(!k||S.call(k,w))}else if(Ce.is.elements(h)){for(let k of h)if(w.target==k)return S.call(k,w)}}}}if(b[u]){let S=b[u];g.removeEventListener(S.eventType,S.callback,S.options)}b[u]={eventType:f,callback:p,options:m},g.addEventListener(f,p,m)}),this})},removeEvent:function(l){return qa(this,()=>{let f=Ce.is.array(l)?l:[l];return this.for(u=>{let{events:h}=u[Ce.expando];for(let p of f){let m=h[p];m&&u.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(l){return qa(this,()=>au(this,o(l,a(this))))},empty:function(){return qa(this,()=>au(this,a(this)))},append:function(l){return qa(this,()=>{o(l,this)})},remove:function(){return qa(this,()=>(this.for((l,f)=>{l&&Ce.is.element(l)&&(l.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...l){return qa(this,()=>au(this,s(this,"before",...l)))},after:function(...l){return qa(this,()=>au(this,s(this,"after",...l)))},find:function(l){return qa(this,()=>{let f=[],u=this[0];u||au(this,Ce()),(Ce.is.element(u)||Ce.is.shadowRoot(u))&&(Ce.is.string(l)?f=u.querySelectorAll(l):Ce.is.element(u)&&Ce(l).for(h=>{let p=u.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...Ce(m).find(h).for(g=>g)])})),au(this,Ce(f))})},parent:function(l){return qa(this,()=>{var f,u;let h=Ce(l?(f=this[0])==null?void 0:f.closest(l):(u=this[0])==null?void 0:u.parentNode);au(this,h)})},children:function(l){return qa(this,()=>{let f=this[0].children;Ce.is.exist(l)&&(l=String(l).replace(/^ : /,""),f=l=="first"?f[0]:l=="last"?f[f.length-1]:f[Number(l)]);let u=Ce(f);return au(this,u)})},addClass:function(l){return qa(this,()=>(l&&this.for(f=>{let u=Ce.is.string(l)?l.split(" "):l;f&&Ce.is.element(f)&&f.classList.add(...u)}),this))},removeClass:function(l){return qa(this,()=>(l&&this.for(f=>{let u=Ce.is.string(l)?l.split(" "):l;f&&Ce.is.element(f)&&f.classList.remove(...u)}),this))},toggleClass:function(l){return qa(this,()=>(l&&this.for(f=>{f.classList.toggle(l)}),this))},hasClass:function(l=""){if(this[0])return this[0].classList.contains(l.replace(/^\./,""))},findClass:function(l){let f=[];return this[0]&&(f=[...this[0].classList].filter(u=>u.match(l))),f},css:function(l){return qa(this,()=>(this.for(f=>{if(Ce.is.element(f))for(let[u,h]of Object.entries(l)){if(Ce.is.number(h)&&u.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){f.style[u]=h+"px";continue}f.style[u]=String(h)}}),this))},getAttribute:function(l){return this[0].getAttribute(String(l))},setAttribute:function(l,f){return qa(this,()=>(this.for(u=>u.setAttribute(l,f)),this))},getStyleProperty:function(l){let f=this[0];return f&&Ce.is.element(f)?getComputedStyle(f).getPropertyValue(l):""},setStyleProperty:function(l,f){let u=this[0];return u&&Ce.is.element(u)&&u.style.setProperty(l,f),this},val:function(){var l;let f=this[0];return(f==null?void 0:f.value)||((l=f==null?void 0:f.dataset)==null?void 0:l.value)},position:function(){return Ce.is.element(this[0])?this[0].getBoundingClientRect():{}}})}Ce.flatArray=(r,a)=>{if(!Ce.is.array(r))return[r];let o=[];for(let s of r)o.push(...a=="-R"?Ce.flatArray(s,"-R"):[s]);return o};Ce.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(s=>[Ce.getKeyValue(s,a||"0"),s])).values()):o=Array.from(new Set(r)),o};Ce.getKeyValue=(r,a)=>{let o={},s=r;return a.split(".").forEach(l=>{s=s==null?void 0:s[l],o=s}),o};Ce.Stringify=JSON.stringify;Ce.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};Ce.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let s=[],l=r;for(;l<=a;){if(o&&o.length&&o.includes(l)){l++;continue}s.push(l),l++}let f=Math.round(Math.random()*(s.length-1))+0;return s[f]};Ce.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};Ce.trySync=r=>Ya(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});Ce.scope=r=>r();Ce.scopeSync=r=>Ya(void 0,null,function*(){return yield r()});Ce.createElement=function(r){var a;let{tag:o,className:s="",id:l,html:f,attr:u,style:h,parent:p}=r,m=document.createElement(o||"div");if(s&&m.classList.add(...s.split(" ")),l&&(m.id=l),u)for(let S of Object.entries(u)){let w=S[0],k=(a=S[1])!=null?a:"";if(w=="data"&&Ce.is.keyValueDictionary(k))for(let[L,N]of Object.entries(k))m.dataset[L]=N;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),m[w]=k}if(f&&Ce(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&Ce(p).append(m),m};Ce.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:s="",age:l=60*60*24*365,path:f="/",domain:u=a,secure:h=!1}=r,p=`${o}=${s}max-age=${l}path=${f}domain=${u}`;h&&(p+=" Secure"),document.cookie=p};Ce.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};Ce.localStrage={set:(r,a)=>{localStorage.setItem(r,Ce.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return Ce.Objectify(a,a)}};Ce.deleteCookie=r=>{document.cookie=r+"=max-age=0"};Ce.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:s,pageXOffset:l,pageYOffset:f}=window,u=Number(Ce(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Ce(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-u-h,scrollY:o,scrollX:s,pageXOffset:l,pageYOffset:f,safeAreaTop:u,safeAreaBottom:h}};Ce.getCursor=r=>{var a,o,s,l,f,u,h,p;let m=(l=r.pageX)!=null?l:(s=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?s:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,g=(p=r.pageY)!=null?p:(h=(f=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:f.pageY)!=null?h:(((u=r==null?void 0:r.originalEvent)==null?void 0:u.touches)||[])[0].pageY;return{x:m,y:g}};Ce.pending=(r,a)=>new Promise((o,s)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});Ce.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(Ce.is.keyValueDictionary(r)&&Ce.is.keyValueDictionary(o))for(let s in o)Ce.is.keyValueDictionary(o[s])?(r[s]||Object.assign(r,{[s]:{}}),Ce.deepMerge(r[s],o[s])):Object.assign(r,{[s]:o[s]});return Ce.deepMerge(r,...a)};Ce.deepCopy=r=>{if(Ce.is.array(r))return r.map(a=>Ce.deepCopy(a));if(Ce.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,s])=>{a[o]=Ce.deepCopy(s)}),a}return r};Ce.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((s,l)=>o[l]=s),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([s,l])=>{o.searchParams.set(s,String(l))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(s=>{o.searchParams.delete(s)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};Ce.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};Ce.is={equal:function(r,a,o){return o==null||o?Ce.Stringify(r)===Ce.Stringify(a):r===a},what:function(r){let a="other";return this.jmini(r)?a="jmini":this.element(r)?a="element":this.elements(r)?a="elements":this.shadowRoot(r)?a="shadowRoot":this.string(r)?a="string":this.number(r)?a="number":this.array(r)?a="array":this.function(r)?a="function":this.date(r)?a="date":typeof r=="undefined"?a="undefined":this.keyValueDictionary(r)?a="keyValueDictionary":r==null?a="null":isNaN(r)&&(a="NaN"),a},exist:function(r){return r===(r!=null?r:!r)},nullish:function(r){return!this.exist(r)},jmini:function(r){return(r||{}).constructor===Ce},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jmini(r)},element:function(r){return r&&(r.nodeType==1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"||[window,document].includes(r))},elements:function(r){let a={}.toString.call(r),o=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(o&&a!=="[object NodeList]")for(var s of r)o&=Number(this.element(s));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var IW=r=>new Dr.prototype.Time(r),Dr=IW;Dr.prototype={};var zW=function(r){Dr.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return this.set(a)};Ce.extend({value:new Date,validate:!1,ms:-1,weekday:-1,weekInMonth:-1,weekInYear:-1,isLastWeekInMonth:!1,year:-1,month:-1,date:-1,hours:-1,minutes:-1,seconds:-1,constructor:Dr,Time:zW,clone:function(){return Dr(this)},set:function(r){this.value=r;let a=Ce.is.date(r);if(this.validate=a,!a)return this.ms=-1,this.year=-1,this.month=-1,this.weekday=-1,this.weekInYear=-1,this.date=-1,this.hours=-1,this.minutes=-1,this.seconds=-1,this;this.ms=r.getTime(),this.weekday=r.getDay(),this.year=r.getFullYear(),this.month=r.getMonth()+1,this.date=r.getDate();{let o=new Date(this.year,0,1),s=new Date(o.valueOf());s.setDate(s.getDate()-(o.getDay()+1));let l=r.getTime()-s.getTime(),f=Math.ceil(l/(1e3*60*60*24));this.weekInYear=Math.ceil(f/7)}{let o=new Date(this.year,this.month-1,1),s=new Date(o.valueOf());s.setDate(s.getDate()-(o.getDay()+1));let l=r.getTime()-s.getTime(),f=Math.ceil(l/(1e3*60*60*24)),u=Math.ceil(f/7);this.weekInMonth=u}{let o=new Date(this.year,this.month,0),s=o.getDay(),l=new Date(new Date(o).setDate(o.getDate()-s));this.isLastWeekInMonth=this.date>=l.getDate()}return this.hours=r.getHours(),this.minutes=r.getMinutes(),this.seconds=r.getSeconds(),this},isSameYear:function(r){let a=Dr(r);return this.year==a.year},isSameMonth:function(r){let a=Dr(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Dr(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Dr(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),this.set(a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),this.set(a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),this.set(a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),this.set(a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),this.set(a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),this.set(a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),this.set(a)},addYear:function(r){return this.setYear(this.year+r)},addMonth:function(r){return this.setMonth(this.month+r)},addWeek:function(r){return this.addDate(7*r)},addDate:function(r){return this.setDate(this.date+r)},addHours:function(r){return this.setHours(this.hours+r)},addMinutes:function(r){return this.setMinutes(this.minutes+r)},addSeconds:function(r){return this.setSeconds(this.seconds+r)},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%i\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%i\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},toLangYMD:function(r){if(!this.validate)return"";let a=Dr(),o=a.diff(this);return o.dates==0?"\u4ECA\u65E5":o.dates==1?"\u6628\u65E5":o.dates>=-7&&o.dates<0?-1*o.dates+"\u65E5\u5F8C":o.dates<=7&&o.dates>0?o.dates+"\u65E5\u524D":this.isSameYear(a)?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D")},setFirstOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),this.set(r)},setLastOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),this.set(r)},getFirstDayOfTheYear:function(){return Dr(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Dr(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Dr(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Dr(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Dr(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Dr(this.value);return r.addDate(6-r.weekday)},diff:function(r){return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Ce.scope(()=>{let a=864e5,o=this.clone().setFirstOfTheDay(),s=r.clone().setFirstOfTheDay();return Math.floor((o.ms-s.ms)/a)}),hours:Ce.scope(()=>{let a=36e5,o=this.clone().setMinutes(0).setSeconds(0).setMilliseconds(0),s=r.clone().setMinutes(0).setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-s.ms)/a)}),minutes:Ce.scope(()=>{let a=6e4,o=this.clone().setSeconds(0).setMilliseconds(0),s=r.clone().setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-s.ms)/a)}),seconds:Ce.scope(()=>{let a=this.clone().setMilliseconds(0),o=r.clone().setMilliseconds(0);return Math.floor((a.ms-o.ms)/1e3)}),ms:this.ms-r.ms}},getAge:function(r){let a=r||Dr(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Dr);Dr.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Dr};Dr.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Dr(a+" 00:00")};Dr.getShortYMDs=(r,a)=>{let o="",s="";return r.year==a.year&&r.year==Dr().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?s=a.toFormatYMD():s=a.toFormatMD(),[o,s]};Dr.getPeriodArray=(r,a,o)=>{let s=[],l=a;if(!a.validate||!o.validate)return s;for(;l.toFormatYMDHMS().toNumber()<=o.toFormatYMDHMS().toNumber();)s.push(l),r=="year"?l=Dr(l).addYear(1):r=="month"?l=Dr(l).addMonth(1):r=="week"?l=Dr(l).addWeek(1):r=="day"?l=Dr(l).addDate(1):r=="hours"?l=Dr(l).addHours(1):r=="minutes"?l=Dr(l).addMinutes(1):r=="seconds"&&(l=Dr(l).addSeconds(1));return s};Dr.prototype.Time.prototype=Dr.prototype;var sc={},V_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([s,l])=>{let f=sc[s]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),sc[s]={privateKey:a,value:l}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([s,l])=>{var f;let u=sc[s]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),sc[s]=r5(nu({},sc[s]),{value:nu(nu({},(f=sc[s])==null?void 0:f.value),l)})}),o},get:(r,a)=>{let o=sc[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=sc[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete sc[r],!0)}},BW=(...[r,a,o])=>new xo.prototype.Interval(r,a,o),xo=BW;xo.prototype={};var FW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,xo.abort(this.key),this.store(),this};Ce.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:FW,store:function(){V_.set({["Interval_"+this.key]:this})},once:function(){return this.fn&&(this.timeoutIndex=setTimeout(this.fn,this.ms)),this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return xo.abort(this.timeoutIndex),this},set_ms:function(r){return this.ms=r,this.store(),this},set_fn:function(r){return this.fn=r,this.store(),this}},xo);xo.abort=r=>{if(Ce.is.number(r))return clearInterval(r);let a=V_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};xo.get=r=>V_.get("Interval_"+r);xo.once=(r,a,o)=>xo(r,a,o).once();xo.start=(r,a,o)=>xo(r,a,o).start();xo.prototype.Interval.prototype=xo.prototype;var jW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=jW;Zr.prototype={};Zr.waitList=[];Zr.setDefaultTrafficControl=0;Zr.setDefaultTimeout=1e3*60*10;Zr.isReadableStream=r=>r instanceof ReadableStream;Zr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Zr.streamToContext=(r,a)=>Ya(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!Zr.isReadableStreamReader(o))return{ok:!1,done:!0,data:null};if(!o)return{ok:!1,done:!0,data:null};let s=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),l=yield o.read();return{ok:!0,done:l.done,data:s.decode(l.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var HW=function(r,a){var o;a=a||{};let s=a.body;a.body&&!Ce.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(s=Ce.Stringify(a.body||{}));let l=r;return Ce.is.string(r)&&!r.match(/https?:/)&&(l=location.origin+"/"+r.replace(/^\//,"")),this.url=l,this.method=a.method||"get",this.streamStatus="open",this.params=r5(nu({key:rf(),response_format:"json",timeout:Zr.setDefaultTimeout,trafficControl:Zr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:nu(nu({"Content-Type":"application/json"},Zr.setDefaultHeaders&&Zr.setDefaultHeaders()),a.headers),body:s}),this};Ce.extend({Fetcher:HW,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return Ya(this,null,function*(){let{response:a,errorCB:o,streamCB:s,reader:l,decoder:f}=r,u=a.body,h=this,p=function(){return LW(this,null,function*(){if(!a.ok){Ce.scope(()=>Ya(this,null,function*(){let{ok:k,done:L,data:N}=yield Zr.streamToContext(u,{reader:l,decoder:f});k&&o(N)}));return}let w=!1;for(;!w;){let{ok:k,done:L,data:N}=yield new a5(Zr.streamToContext(u,{reader:l,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",l.cancel(),L=!0):h.streamStatus=="closed"&&(L=!0),L&&(w=L,l.releaseLock()),s(N,L)}})};try{for(var m=NW(p()),g,b,S;g=!(b=yield m.next()).done;g=!1){let w=b.value}}catch(w){S=[w]}finally{try{g&&(b=m.return)&&(yield b.call(m))}finally{if(S)throw S[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return Ya(this,null,function*(){var r;let a=this.params,o=performance.now(),s=0,l=new AbortController,f=setTimeout(()=>{l.abort()},a.timeout);a.signal=l.signal;let u=!1,h=500,p="InternalServerError",m={},g=null;try{Zr.setDefaultOnStart&&Zr.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let S=a,{key:w,response_format:k,trafficControl:L,preventMultiRequest:N,timeout:Y,queries:M}=S,j=EW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(w);if(N&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,w];let Z=Ce.queryParams.set(nu({},M),String(this.url));m=yield fetch(Z,j).then(O=>Ya(this,null,function*(){return u=O.ok,h=O.status,p=O.statusText,g=O,k=="none"||k=="stream"?O:O[k]()})).catch(O=>{throw new Error(O)})}catch(S){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),l.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),s=performance.now()-o}a.trafficControl&&(yield Ce.pending(()=>{},a.trafficControl)),Zr.waitList.splice(Zr.waitList.findIndex(S=>S==a.key),1);let b={ok:u,status:h,statusText:p,body:m,requestTime:s,rawData:g};if(!u&&this.onErrorCB&&this.onErrorCB(b.body),u&&this.onStreamCB&&a.response_format=="stream"){let S=(r=g.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:S,decoder:new TextDecoder("utf-8")})}return u&&this.onCompleteCB&&this.onCompleteCB(b.body),this.onResultCB&&this.onResultCB(b,a),Zr.setDefaultOnEnd&&Zr.setDefaultOnEnd(b,a),b})},abortStream:function(){this.streamStatus="abort"}},Zr);Zr.prototype.Fetcher.prototype=Zr.prototype;var UW=r=>new wn.prototype.Filer(r),wn=UW;wn.prototype={};var VW=function(r){this.ok=!0;try{let[a,o]=r.name.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" ");this.file=r,this.extension=o,this.fileName=a,this.type=r.type}catch(a){console.log(a),this.ok=!1}return this};Ce.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:VW,isValid:function(){return this.ok},toBlob:function(){return Ya(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Ya(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Ya(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Ya(this,null,function*(){return URL.createObjectURL(this.file)})},updateFileName:function(r){let a=new File([this.file],r+"."+this.extension);return this.file=a,this.fileName=r,this},updateMimeType:function(r){return this.file=new File([this.file],this.fileName+"."+this.extension,{type:r}),this.type=r,this},updateExtension:function(r){let a=new File([this.file],this.fileName+"."+r);return this.file=a,this.extension=r,this}},wn);wn.fromFile=r=>Ya(void 0,null,function*(){return wn(r)});wn.fromBlob=(r,a)=>Ya(void 0,null,function*(){let o=(a==null?void 0:a.fileName)||"file",s=(a==null?void 0:a.extension)||"",l=new File([r],o+"."+s,{type:a==null?void 0:a.mimeType});return wn(l)});wn.fromArrayBuffer=(r,a)=>Ya(void 0,null,function*(){return wn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});wn.fromObjectURL=(r,a)=>Ya(void 0,null,function*(){let o=yield Zr(r,{response_format:"blob"}).get();return o.ok?wn.fromBlob(o.body,a):wn({})});wn.fromDataURL=(r,a)=>Ya(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?wn.fromBlob(o,a):wn({})});wn.prototype.Filer.prototype=wn.prototype;var WW=function(r){let a=r,o=null;return a.use((s,l,f)=>{let u=l;u.return=h=>{let{status:p=200,body:m={},bodyStringify:g=!0}=h||{},b=m;return g&&!Ce.is.string(m)&&(b=Ce.Stringify(m)),l.status(p).end(b)},f()}),a.onPathRouter=function(s){return o=s,this},a.pathRouter=function(s){if(!o)return;let l=o(s);return l.route(s),a.use(s,l),l},a.exception=function(s){return a.use(s),this},a},p2=WW;p2.getLocalIP=r=>{let a="";return Ce.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[s,l]of Object.entries(o))l.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};p2.getIP=function(r){var a;return(((r==null?void 0:r.headers["x-forwarded-for"])||((a=r==null?void 0:r.socket)==null?void 0:a.remoteAddress)||"").toString().match(new RegExp(/(::ffff:)?(\d+\.\d+.\d+\.\d+(:\d+)?)/))||[])[2]||"UNKNOWN IP"};Ce.copyToClipboard=r=>Ya(void 0,null,function*(){let a="";Ce.is.string(r)?a=r:Ce.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Ya(void 0,null,function*(){let s;if(navigator.clipboard){if(s=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!s)return}else{let l=document.createElement("input");if(Ce(document.body).append(l),l.value=a,l.select(),s=document.execCommand("copy"),document.body.removeChild(l),!s)return}o={ok:!0,body:""}}),o});Ce.ImageLoader=(r,a)=>new Promise((o,s)=>{let l=a||new Image;l.onload=()=>o(l),l.onerror=f=>s(f),l.src=r});Ce.formatCharacter={postal:{JP:r=>{let a="--";return r=String(r).replace(/\D/ig,""),r.length==7&&(a=r.replace(/^(\d{3})(.*)/,"$1-$2")),a}},tel:{_:r=>{let a=r;return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a},mobile:r=>{let a="--";return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),a},fixed:r=>{let a="--";return r=String(r).removeLetters(),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a}}};Ce.transformer={weekday:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],s=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(l=>{let{From:f,To:u,name:h}=l;if(f<=r&&r<=u){let p=r-f+1;p==1&&(s=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:s}}};Ce.interval=xo;Zr.setDefaultHeaders=()=>({});var qW=Ce});var u5=Ue(q_=>{"use strict";(function(){"use strict";var r=fr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function N(D){if(D===null||typeof D!="object")return null;var q=k&&D[k]||D[L];return typeof q=="function"?q:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),Te=1;Te<q;Te++)pe[Te-1]=arguments[Te];j("error",D,pe)}}function j(D,q,pe){{var Te=Y.ReactDebugCurrentFrame,He=Te.getStackAddendum();He!==""&&(q+="%s",pe=pe.concat([He]));var ft=pe.map(function(Ze){return String(Ze)});ft.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,ft)}}var F=!1,Z=!1,O=!1,ae=!1,ge=!1,ee;ee=Symbol.for("react.module.reference");function ye(D){return!!(typeof D=="string"||typeof D=="function"||D===s||D===f||ge||D===l||D===m||D===g||ae||D===w||F||Z||O||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===u||D.$$typeof===h||D.$$typeof===p||D.$$typeof===ee||D.getModuleId!==void 0))}function be(D,q,pe){var Te=D.displayName;if(Te)return Te;var He=q.displayName||q.name||"";return He!==""?pe+"("+He+")":pe}function he(D){return D.displayName||"Context"}function H(D){if(D==null)return null;if(typeof D.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case s:return"Fragment";case o:return"Portal";case f:return"Profiler";case l:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return he(q)+".Consumer";case u:var pe=D;return he(pe._context)+".Provider";case p:return be(D,D.render,"ForwardRef");case b:var Te=D.displayName||null;return Te!==null?Te:H(D.type)||"Memo";case S:{var He=D,ft=He._payload,Ze=He._init;try{return H(Ze(ft))}catch(Ke){return null}}}return null}var le=Object.assign,de=0,B,W,ie,te,se,we,Se;function je(){}je.__reactDisabledLog=!0;function Ye(){{if(de===0){B=console.log,W=console.info,ie=console.warn,te=console.error,se=console.group,we=console.groupCollapsed,Se=console.groupEnd;var D={configurable:!0,enumerable:!0,value:je,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}de++}}function Ge(){{if(de--,de===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},D,{value:B}),info:le({},D,{value:W}),warn:le({},D,{value:ie}),error:le({},D,{value:te}),group:le({},D,{value:se}),groupCollapsed:le({},D,{value:we}),groupEnd:le({},D,{value:Se})})}de<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rt=Y.ReactCurrentDispatcher,et;function Nt(D,q,pe){{if(et===void 0)try{throw Error()}catch(He){var Te=He.stack.trim().match(/\n( *(at )?)/);et=Te&&Te[1]||""}return`
150
150
  `+et+D}}var $t=!1,dt;{var Xe=typeof WeakMap=="function"?WeakMap:Map;dt=new Xe}function ke(D,q){if(!D||$t)return"";{var pe=dt.get(D);if(pe!==void 0)return pe}var Te;$t=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ft;ft=rt.current,rt.current=null,Ye();try{if(q){var Ze=function(){throw Error()};if(Object.defineProperty(Ze.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ze,[])}catch(la){Te=la}Reflect.construct(D,[],Ze)}else{try{Ze.call()}catch(la){Te=la}D.call(Ze.prototype)}}else{try{throw Error()}catch(la){Te=la}D()}}catch(la){if(la&&Te&&typeof la.stack=="string"){for(var Ke=la.stack.split(`
151
151
  `),Ct=Te.stack.split(`
152
152
  `),Et=Ke.length-1,Wt=Ct.length-1;Et>=1&&Wt>=0&&Ke[Et]!==Ct[Wt];)Wt--;for(;Et>=1&&Wt>=0;Et--,Wt--)if(Ke[Et]!==Ct[Wt]){if(Et!==1||Wt!==1)do if(Et--,Wt--,Wt<0||Ke[Et]!==Ct[Wt]){var $r=`
153
- `+Ke[Et].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&dt.set(D,$r),$r}while(Et>=1&&Wt>=0);break}}}finally{$t=!1,rt.current=ft,Ge(),Error.prepareStackTrace=He}var Ua=D?D.displayName||D.name:"",ia=Ua?Nt(Ua):"";return typeof D=="function"&&dt.set(D,ia),ia}function ot(D,q,pe){return ke(D,!1)}function kt(D){var q=D.prototype;return!!(q&&q.isReactComponent)}function Tt(D,q,pe){if(D==null)return"";if(typeof D=="function")return ke(D,kt(D));if(typeof D=="string")return Nt(D);switch(D){case m:return Nt("Suspense");case g:return Nt("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return ot(D.render);case b:return Tt(D.type,q,pe);case S:{var Te=D,He=Te._payload,ft=Te._init;try{return Tt(ft(He),q,pe)}catch(Ze){}}}return""}var wt=Object.prototype.hasOwnProperty,tr={},Ut=Y.ReactDebugCurrentFrame;function dr(D){if(D){var q=D._owner,pe=Tt(D.type,D._source,q?q.type:null);Ut.setExtraStackFrame(pe)}else Ut.setExtraStackFrame(null)}function ra(D,q,pe,Te,He){{var ft=Function.call.bind(wt);for(var Ze in D)if(ft(D,Ze)){var Ke=void 0;try{if(typeof D[Ze]!="function"){var Ct=Error((Te||"React class")+": "+pe+" type `"+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[Ze]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Ke=D[Ze](q,Ze,Te,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Et){Ke=Et}Ke&&!(Ke instanceof Error)&&(dr(He),M("%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,Ze,typeof Ke),dr(null)),Ke instanceof Error&&!(Ke.message in tr)&&(tr[Ke.message]=!0,dr(He),M("Failed %s type: %s",pe,Ke.message),dr(null))}}}var jr=Array.isArray;function qr(D){return jr(D)}function xr(D){{var q=typeof Symbol=="function"&&Symbol.toStringTag,pe=q&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function pr(D){try{return br(D),!1}catch(q){return!0}}function br(D){return""+D}function pa(D){if(pr(D))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xr(D)),br(D)}var kr=Y.ReactCurrentOwner,vr={key:!0,ref:!0,__self:!0,__source:!0},Pr,ga,ze;ze={};function ct(D){if(wt.call(D,"ref")){var q=Object.getOwnPropertyDescriptor(D,"ref").get;if(q&&q.isReactWarning)return!1}return D.ref!==void 0}function bt(D){if(wt.call(D,"key")){var q=Object.getOwnPropertyDescriptor(D,"key").get;if(q&&q.isReactWarning)return!1}return D.key!==void 0}function Gt(D,q){if(typeof D.ref=="string"&&kr.current&&q&&kr.current.stateNode!==q){var pe=H(kr.current.type);ze[pe]||(M('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',H(kr.current.type),D.ref),ze[pe]=!0)}}function Vt(D,q){{var pe=function(){Pr||(Pr=!0,M("%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)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"key",{get:pe,configurable:!0})}}function Rr(D,q){{var pe=function(){ga||(ga=!0,M("%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)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"ref",{get:pe,configurable:!0})}}var _r=function(D,q,pe,Te,He,ft,Ze){var Ke={$$typeof:a,type:D,key:q,ref:pe,props:Ze,_owner:ft};return Ke._store={},Object.defineProperty(Ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty(Ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:He}),Object.freeze&&(Object.freeze(Ke.props),Object.freeze(Ke)),Ke};function Yr(D,q,pe,Te,He){{var ft,Ze={},Ke=null,Ct=null;pe!==void 0&&(pa(pe),Ke=""+pe),bt(q)&&(pa(q.key),Ke=""+q.key),ct(q)&&(Ct=q.ref,Gt(q,He));for(ft in q)wt.call(q,ft)&&!vr.hasOwnProperty(ft)&&(Ze[ft]=q[ft]);if(D&&D.defaultProps){var Et=D.defaultProps;for(ft in Et)Ze[ft]===void 0&&(Ze[ft]=Et[ft])}if(Ke||Ct){var Wt=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Vt(Ze,Wt),Ct&&Rr(Ze,Wt)}return _r(D,Ke,Ct,He,Te,kr.current,Ze)}}var $=Y.ReactCurrentOwner,P=Y.ReactDebugCurrentFrame;function R(D){if(D){var q=D._owner,pe=Tt(D.type,D._source,q?q.type:null);P.setExtraStackFrame(pe)}else P.setExtraStackFrame(null)}var z;z=!1;function G(D){return typeof D=="object"&&D!==null&&D.$$typeof===a}function oe(){{if($.current){var D=H($.current.type);if(D)return`
153
+ `+Ke[Et].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&dt.set(D,$r),$r}while(Et>=1&&Wt>=0);break}}}finally{$t=!1,rt.current=ft,Ge(),Error.prepareStackTrace=He}var Va=D?D.displayName||D.name:"",ia=Va?Nt(Va):"";return typeof D=="function"&&dt.set(D,ia),ia}function it(D,q,pe){return ke(D,!1)}function kt(D){var q=D.prototype;return!!(q&&q.isReactComponent)}function Tt(D,q,pe){if(D==null)return"";if(typeof D=="function")return ke(D,kt(D));if(typeof D=="string")return Nt(D);switch(D){case m:return Nt("Suspense");case g:return Nt("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return it(D.render);case b:return Tt(D.type,q,pe);case S:{var Te=D,He=Te._payload,ft=Te._init;try{return Tt(ft(He),q,pe)}catch(Ze){}}}return""}var wt=Object.prototype.hasOwnProperty,tr={},Ut=Y.ReactDebugCurrentFrame;function dr(D){if(D){var q=D._owner,pe=Tt(D.type,D._source,q?q.type:null);Ut.setExtraStackFrame(pe)}else Ut.setExtraStackFrame(null)}function ra(D,q,pe,Te,He){{var ft=Function.call.bind(wt);for(var Ze in D)if(ft(D,Ze)){var Ke=void 0;try{if(typeof D[Ze]!="function"){var Ct=Error((Te||"React class")+": "+pe+" type `"+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[Ze]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Ke=D[Ze](q,Ze,Te,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Et){Ke=Et}Ke&&!(Ke instanceof Error)&&(dr(He),M("%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,Ze,typeof Ke),dr(null)),Ke instanceof Error&&!(Ke.message in tr)&&(tr[Ke.message]=!0,dr(He),M("Failed %s type: %s",pe,Ke.message),dr(null))}}}var jr=Array.isArray;function qr(D){return jr(D)}function xr(D){{var q=typeof Symbol=="function"&&Symbol.toStringTag,pe=q&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function pr(D){try{return br(D),!1}catch(q){return!0}}function br(D){return""+D}function pa(D){if(pr(D))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xr(D)),br(D)}var kr=Y.ReactCurrentOwner,vr={key:!0,ref:!0,__self:!0,__source:!0},Pr,ga,ze;ze={};function ct(D){if(wt.call(D,"ref")){var q=Object.getOwnPropertyDescriptor(D,"ref").get;if(q&&q.isReactWarning)return!1}return D.ref!==void 0}function bt(D){if(wt.call(D,"key")){var q=Object.getOwnPropertyDescriptor(D,"key").get;if(q&&q.isReactWarning)return!1}return D.key!==void 0}function Gt(D,q){if(typeof D.ref=="string"&&kr.current&&q&&kr.current.stateNode!==q){var pe=H(kr.current.type);ze[pe]||(M('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',H(kr.current.type),D.ref),ze[pe]=!0)}}function Vt(D,q){{var pe=function(){Pr||(Pr=!0,M("%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)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"key",{get:pe,configurable:!0})}}function Rr(D,q){{var pe=function(){ga||(ga=!0,M("%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)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"ref",{get:pe,configurable:!0})}}var _r=function(D,q,pe,Te,He,ft,Ze){var Ke={$$typeof:a,type:D,key:q,ref:pe,props:Ze,_owner:ft};return Ke._store={},Object.defineProperty(Ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty(Ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:He}),Object.freeze&&(Object.freeze(Ke.props),Object.freeze(Ke)),Ke};function Yr(D,q,pe,Te,He){{var ft,Ze={},Ke=null,Ct=null;pe!==void 0&&(pa(pe),Ke=""+pe),bt(q)&&(pa(q.key),Ke=""+q.key),ct(q)&&(Ct=q.ref,Gt(q,He));for(ft in q)wt.call(q,ft)&&!vr.hasOwnProperty(ft)&&(Ze[ft]=q[ft]);if(D&&D.defaultProps){var Et=D.defaultProps;for(ft in Et)Ze[ft]===void 0&&(Ze[ft]=Et[ft])}if(Ke||Ct){var Wt=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Vt(Ze,Wt),Ct&&Rr(Ze,Wt)}return _r(D,Ke,Ct,He,Te,kr.current,Ze)}}var $=Y.ReactCurrentOwner,P=Y.ReactDebugCurrentFrame;function R(D){if(D){var q=D._owner,pe=Tt(D.type,D._source,q?q.type:null);P.setExtraStackFrame(pe)}else P.setExtraStackFrame(null)}var z;z=!1;function G(D){return typeof D=="object"&&D!==null&&D.$$typeof===a}function oe(){{if($.current){var D=H($.current.type);if(D)return`
154
154
 
155
155
  Check the render method of \``+D+"`."}return""}}function ne(D){{if(D!==void 0){var q=D.fileName.replace(/^.*[\\\/]/,""),pe=D.lineNumber;return`
156
156
 
157
157
  Check your code at `+q+":"+pe+"."}return""}}var Oe={};function Pe(D){{var q=oe();if(!q){var pe=typeof D=="string"?D:D.displayName||D.name;pe&&(q=`
158
158
 
159
- Check the top-level render call using <`+pe+">.")}return q}}function Me(D,q){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Pe(q);if(Oe[pe])return;Oe[pe]=!0;var Te="";D&&D._owner&&D._owner!==$.current&&(Te=" It was passed a child from "+H(D._owner.type)+"."),R(D),M('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),R(null)}}function We(D,q){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var Te=D[pe];G(Te)&&Me(Te,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var He=N(D);if(typeof He=="function"&&He!==D.entries)for(var ft=He.call(D),Ze;!(Ze=ft.next()).done;)G(Ze.value)&&Me(Ze.value,q)}}}function Ae(D){{var q=D.type;if(q==null||typeof q=="string")return;var pe;if(typeof q=="function")pe=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===p||q.$$typeof===b))pe=q.propTypes;else return;if(pe){var Te=H(q);ra(pe,D.props,"prop",Te,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var He=H(q);M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Je(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var Te=q[pe];if(Te!=="children"&&Te!=="key"){R(D),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),R(null);break}}D.ref!==null&&(R(D),M("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,Te,He,ft){{var Ze=ye(D);if(!Ze){var Ke="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Ke+=" 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 Ct=ne(He);Ct?Ke+=Ct:Ke+=oe();var Et;D===null?Et="null":qr(D)?Et="array":D!==void 0&&D.$$typeof===a?(Et="<"+(H(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):Et=typeof D,M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Et,Ke)}var Wt=Yr(D,q,pe,He,ft);if(Wt==null)return Wt;if(Ze){var $r=q.children;if($r!==void 0)if(Te)if(qr($r)){for(var Ua=0;Ua<$r.length;Ua++)We($r[Ua],D);Object.freeze&&Object.freeze($r)}else M("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 We($r,D)}if(wt.call(q,"key")){var ia=H(D),la=Object.keys(q).filter(function(qn){return qn!=="key"}),Ka=la.length>0?"{key: someKey, "+la.join(": ..., ")+": ...}":"{key: someKey}";if(!I[ia+Ka]){var Ot=la.length>0?"{"+la.join(": ..., ")+": ...}":"{}";M(`A props object containing a "key" prop is being spread into JSX:
159
+ Check the top-level render call using <`+pe+">.")}return q}}function Me(D,q){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Pe(q);if(Oe[pe])return;Oe[pe]=!0;var Te="";D&&D._owner&&D._owner!==$.current&&(Te=" It was passed a child from "+H(D._owner.type)+"."),R(D),M('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),R(null)}}function We(D,q){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var Te=D[pe];G(Te)&&Me(Te,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var He=N(D);if(typeof He=="function"&&He!==D.entries)for(var ft=He.call(D),Ze;!(Ze=ft.next()).done;)G(Ze.value)&&Me(Ze.value,q)}}}function Ae(D){{var q=D.type;if(q==null||typeof q=="string")return;var pe;if(typeof q=="function")pe=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===p||q.$$typeof===b))pe=q.propTypes;else return;if(pe){var Te=H(q);ra(pe,D.props,"prop",Te,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var He=H(q);M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Je(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var Te=q[pe];if(Te!=="children"&&Te!=="key"){R(D),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),R(null);break}}D.ref!==null&&(R(D),M("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,Te,He,ft){{var Ze=ye(D);if(!Ze){var Ke="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Ke+=" 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 Ct=ne(He);Ct?Ke+=Ct:Ke+=oe();var Et;D===null?Et="null":qr(D)?Et="array":D!==void 0&&D.$$typeof===a?(Et="<"+(H(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):Et=typeof D,M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Et,Ke)}var Wt=Yr(D,q,pe,He,ft);if(Wt==null)return Wt;if(Ze){var $r=q.children;if($r!==void 0)if(Te)if(qr($r)){for(var Va=0;Va<$r.length;Va++)We($r[Va],D);Object.freeze&&Object.freeze($r)}else M("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 We($r,D)}if(wt.call(q,"key")){var ia=H(D),la=Object.keys(q).filter(function(qn){return qn!=="key"}),Xa=la.length>0?"{key: someKey, "+la.join(": ..., ")+": ...}":"{key: someKey}";if(!I[ia+Xa]){var Ot=la.length>0?"{"+la.join(": ..., ")+": ...}":"{}";M(`A props object containing a "key" prop is being spread into JSX:
160
160
  let props = %s;
161
161
  <%s {...props} />
162
162
  React keys must be passed directly to JSX without using spread:
163
163
  let props = %s;
164
- <%s key={someKey} {...props} />`,Ka,ia,Ot,ia),I[ia+Ka]=!0}}return D===s?Je(Wt):Ae(Wt),Wt}}function re(D,q,pe){return V(D,q,pe,!0)}function ce(D,q,pe){return V(D,q,pe,!1)}var Ve=ce,Be=re;q_.Fragment=s,q_.jsx=Ve,q_.jsxs=Be})()});var At=Ue((pG,f5)=>{"use strict";f5.exports=u5()});var dE={};Ed(dE,{api:()=>Eo,config:()=>EY,counter:()=>IY,dom:()=>DY,findIconDefinition:()=>LY,icon:()=>OY,layer:()=>MY,library:()=>RY,noAuto:()=>TY,parse:()=>AY,text:()=>PY,toHtml:()=>NY});function p5(r,a){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);a&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),o.push.apply(o,s)}return o}function mt(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?p5(Object(o),!0).forEach(function(s){pn(r,s,o[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):p5(Object(o)).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(o,s))})}return r}function ag(r){"@babel/helpers - typeof";return ag=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},ag(r)}function KW(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function h5(r,a){for(var o=0;o<a.length;o++){var s=a[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}function XW(r,a,o){return a&&h5(r.prototype,a),o&&h5(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function pn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function D2(r,a){return JW(r)||eq(r,a)||F5(r,a)||rq()}function am(r){return QW(r)||ZW(r)||F5(r)||tq()}function QW(r){if(Array.isArray(r))return g2(r)}function JW(r){if(Array.isArray(r))return r}function ZW(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function eq(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var s=[],l=!0,f=!1,u,h;try{for(o=o.call(r);!(l=(u=o.next()).done)&&(s.push(u.value),!(a&&s.length===a));l=!0);}catch(p){f=!0,h=p}finally{try{!l&&o.return!=null&&o.return()}finally{if(f)throw h}}return s}}function F5(r,a){if(r){if(typeof r=="string")return g2(r,a);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return g2(r,a)}}function g2(r,a){(a==null||a>r.length)&&(a=r.length);for(var o=0,s=new Array(a);o<a;o++)s[o]=r[o];return s}function tq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
164
+ <%s key={someKey} {...props} />`,Xa,ia,Ot,ia),I[ia+Xa]=!0}}return D===s?Je(Wt):Ae(Wt),Wt}}function re(D,q,pe){return V(D,q,pe,!0)}function ce(D,q,pe){return V(D,q,pe,!1)}var Ve=ce,Be=re;q_.Fragment=s,q_.jsx=Ve,q_.jsxs=Be})()});var At=Ue((pG,f5)=>{"use strict";f5.exports=u5()});var dE={};Ed(dE,{api:()=>Eo,config:()=>EY,counter:()=>IY,dom:()=>DY,findIconDefinition:()=>LY,icon:()=>OY,layer:()=>MY,library:()=>RY,noAuto:()=>TY,parse:()=>AY,text:()=>PY,toHtml:()=>NY});function p5(r,a){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);a&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),o.push.apply(o,s)}return o}function mt(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?p5(Object(o),!0).forEach(function(s){pn(r,s,o[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):p5(Object(o)).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(o,s))})}return r}function ag(r){"@babel/helpers - typeof";return ag=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},ag(r)}function KW(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function h5(r,a){for(var o=0;o<a.length;o++){var s=a[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}function XW(r,a,o){return a&&h5(r.prototype,a),o&&h5(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function pn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function D2(r,a){return JW(r)||eq(r,a)||F5(r,a)||rq()}function am(r){return QW(r)||ZW(r)||F5(r)||tq()}function QW(r){if(Array.isArray(r))return g2(r)}function JW(r){if(Array.isArray(r))return r}function ZW(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function eq(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var s=[],l=!0,f=!1,u,h;try{for(o=o.call(r);!(l=(u=o.next()).done)&&(s.push(u.value),!(a&&s.length===a));l=!0);}catch(p){f=!0,h=p}finally{try{!l&&o.return!=null&&o.return()}finally{if(f)throw h}}return s}}function F5(r,a){if(r){if(typeof r=="string")return g2(r,a);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return g2(r,a)}}function g2(r,a){(a==null||a>r.length)&&(a=r.length);for(var o=0,s=new Array(a);o<a;o++)s[o]=r[o];return s}function tq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
165
165
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
166
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nm(r){return new Proxy(r,{get:function(o,s){return s in o?o[s]:o[ya]}})}function hq(r){var a=Sa.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function mq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function vq(r){return Qh.push(r),function(){Qh.splice(Qh.indexOf(r),1)}}function _q(r){if(!(!r||!dc)){var a=Sa.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=Sa.head.childNodes,s=null,l=o.length-1;l>-1;l--){var f=o[l],u=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(u)>-1&&(s=f)}return Sa.head.insertBefore(a,s),r}}function rm(){for(var r=12,a="";r-- >0;)a+=gq[Math.random()*62|0];return a}function Bd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function M2(r){return r.classList?Bd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function X5(r){return"".concat(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function bq(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat(X5(r[o]),'" ')},"").trim()}function ig(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function P2(r){return r.size!==ks.size||r.x!==ks.x||r.y!==ks.y||r.rotate!==ks.rotate||r.flipX||r.flipY}function yq(r){var a=r.transform,o=r.containerWidth,s=r.iconWidth,l={transform:"translate(".concat(o/2," 256)")},f="translate(".concat(a.x*32,", ").concat(a.y*32,") "),u="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),h="rotate(".concat(a.rotate," 0 0)"),p={transform:"".concat(f," ").concat(u," ").concat(h)},m={transform:"translate(".concat(s/2*-1," -256)")};return{outer:l,inner:p,path:m}}function Sq(r){var a=r.transform,o=r.width,s=o===void 0?b2:o,l=r.height,f=l===void 0?b2:l,u=r.startCentered,h=u===void 0?!1:u,p="";return h&&V5?p+="translate(".concat(a.x/ou-s/2,"em, ").concat(a.y/ou-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/ou,"em), calc(-50% + ").concat(a.y/ou,"em)) "):p+="translate(".concat(a.x/ou,"em, ").concat(a.y/ou,"em) "),p+="scale(".concat(a.size/ou*(a.flipX?-1:1),", ").concat(a.size/ou*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function Q5(){var r=W5,a=q5,o=xt.cssPrefix,s=xt.replacementClass,l=wq;if(o!==r||s!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),u=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");l=l.replace(f,".".concat(o,"-")).replace(u,"--".concat(o,"-")).replace(h,".".concat(s))}return l}function h2(){xt.autoAddCss&&!S5&&(_q(Q5()),S5=!0)}function kq(r){dc&&(ng?setTimeout(r,0):J5.push(r))}function om(r){var a=r.tag,o=r.attributes,s=o===void 0?{}:o,l=r.children,f=l===void 0?[]:l;return typeof r=="string"?X5(r):"<".concat(a," ").concat(bq(s),">").concat(f.map(om).join(""),"</").concat(a,">")}function w5(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function Eq(r){for(var a=[],o=0,s=r.length;o<s;){var l=r.charCodeAt(o++);if(l>=55296&&l<=56319&&o<s){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((l&1023)<<10)+(f&1023)+65536):(a.push(l),o--)}else a.push(l)}return a}function S2(r){var a=Eq(r);return a.length===1?a[0].toString(16):null}function Rq(r,a){var o=r.length,s=r.charCodeAt(a),l;return s>=55296&&s<=56319&&o>a+1&&(l=r.charCodeAt(a+1),l>=56320&&l<=57343)?(s-55296)*1024+l-56320+65536:s}function C5(r){return Object.keys(r).reduce(function(a,o){var s=r[o],l=!!s.icon;return l?a[s.iconName]=s.icon:a[o]=s,a},{})}function w2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=o.skipHooks,l=s===void 0?!1:s,f=C5(a);typeof Jl.hooks.addPack=="function"&&!l?Jl.hooks.addPack(r,C5(a)):Jl.styles[r]=mt(mt({},Jl.styles[r]||{}),f),r==="fas"&&w2("fa",a)}function Nq(r){return~pq.indexOf(r)}function Oq(r,a){var o=a.split("-"),s=o[0],l=o.slice(1).join("-");return s===r&&l!==""&&!Nq(l)?l:null}function z2(r,a){return(Z5[r]||{})[a]}function Mq(r,a){return(eE[r]||{})[a]}function nf(r,a){return(aE[r]||{})[a]}function oE(r){return tE[r]||{prefix:null,iconName:null}}function Pq(r){var a=rE[r],o=z2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lu(){return I2}function lg(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,s=o===void 0?ya:o,l=Jh[s][r],f=Zh[s][r]||Zh[s][l],u=r in Jl.styles?r:null;return f||u||null}function sg(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.skipLookups,l=s===void 0?!1:s,f=(a={},pn(a,ya,"".concat(xt.cssPrefix,"-").concat(ya)),pn(a,Ba,"".concat(xt.cssPrefix,"-").concat(Ba)),a),u=null,h=ya;(r.includes(f[ya])||r.some(function(m){return x5[ya].includes(m)}))&&(h=ya),(r.includes(f[Ba])||r.some(function(m){return x5[Ba].includes(m)}))&&(h=Ba);var p=r.reduce(function(m,g){var b=Oq(xt.cssPrefix,g);if(Md[g]?(g=Aq[h].includes(g)?lq[h][g]:g,u=g,m.prefix=g):Lq[h].indexOf(g)>-1?(u=g,m.prefix=lg(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ya]&&g!==f[Ba]&&m.rest.push(g),!l&&m.prefix&&m.iconName){var S=u==="fa"?oE(m.iconName):{},w=nf(m.prefix,m.iconName);S.prefix&&(u=null),m.iconName=S.iconName||w||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Md.far&&Md.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},B2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===Ba&&(Md.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=nf(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||u==="fa")&&(p.prefix=lu()||"fas"),p}function Bq(r,a){var o=a.mixoutsTo;return k5=r,Pd={},Object.keys(Id).forEach(function(s){zq.indexOf(s)===-1&&delete Id[s]}),k5.forEach(function(s){var l=s.mixout?s.mixout():{};if(Object.keys(l).forEach(function(u){typeof l[u]=="function"&&(o[u]=l[u]),ag(l[u])==="object"&&Object.keys(l[u]).forEach(function(h){o[u]||(o[u]={}),o[u][h]=l[u][h]})}),s.hooks){var f=s.hooks();Object.keys(f).forEach(function(u){Pd[u]||(Pd[u]=[]),Pd[u].push(f[u])})}s.provides&&s.provides(Id)}),o}function C2(r,a){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l<o;l++)s[l-2]=arguments[l];var f=Pd[r]||[];return f.forEach(function(u){a=u.apply(null,[a].concat(s))}),a}function lf(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];var l=Pd[r]||[];l.forEach(function(f){f.apply(null,o)})}function fc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Id[r]?Id[r].apply(null,a):void 0}function x2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lu();if(a)return a=nf(o,a)||a,w5(iE.definitions,o,a)||w5(Jl.styles,o,a)}function cg(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(s){return om(s)})}}),Object.defineProperty(r,"node",{get:function(){if(dc){var s=Sa.createElement("div");return s.innerHTML=r.html,s.children}}}),r}function Vq(r){var a=r.children,o=r.main,s=r.mask,l=r.attributes,f=r.styles,u=r.transform;if(P2(u)&&o.found&&!s.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};l.style=ig(mt(mt({},f),{},{"transform-origin":"".concat(m.x+u.x/16,"em ").concat(m.y+u.y/16,"em")}))}return[{tag:"svg",attributes:l,children:a}]}function Wq(r){var a=r.prefix,o=r.iconName,s=r.children,l=r.attributes,f=r.symbol,u=f===!0?"".concat(a,"-").concat(xt.cssPrefix,"-").concat(o):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mt(mt({},l),{},{id:u}),children:s}]}]}function F2(r){var a=r.icons,o=a.main,s=a.mask,l=r.prefix,f=r.iconName,u=r.transform,h=r.symbol,p=r.title,m=r.maskId,g=r.titleId,b=r.extra,S=r.watchable,w=S===void 0?!1:S,k=s.found?s:o,L=k.width,N=k.height,Y=l==="fak",M=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(ee){return b.classes.indexOf(ee)===-1}).filter(function(ee){return ee!==""||!!ee}).concat(b.classes).join(" "),j={children:[],attributes:mt(mt({},b.attributes),{},{"data-prefix":l,"data-icon":f,class:M,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(N)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(L/N*16*.0625,"em")}:{};w&&(j.attributes[of]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(g||rm())},children:[p]}),delete j.attributes.title);var Z=mt(mt({},j),{},{prefix:l,iconName:f,main:o,mask:s,maskId:m,transform:u,symbol:h,styles:mt(mt({},F),b.styles)}),O=s.found&&o.found?fc("generateAbstractMask",Z)||{children:[],attributes:{}}:fc("generateAbstractIcon",Z)||{children:[],attributes:{}},ae=O.children,ge=O.attributes;return Z.children=ae,Z.attributes=ge,h?Wq(Z):Vq(Z)}function T5(r){var a=r.content,o=r.width,s=r.height,l=r.transform,f=r.title,u=r.extra,h=r.watchable,p=h===void 0?!1:h,m=mt(mt(mt({},u.attributes),f?{title:f}:{}),{},{class:u.classes.join(" ")});p&&(m[of]="");var g=mt({},u.styles);P2(l)&&(g.transform=Sq({transform:l,startCentered:!0,width:o,height:s}),g["-webkit-transform"]=g.transform);var b=ig(g);b.length>0&&(m.style=b);var S=[];return S.push({tag:"span",attributes:m,children:[a]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}function qq(r){var a=r.content,o=r.title,s=r.extra,l=mt(mt(mt({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")}),f=ig(s.styles);f.length>0&&(l.style=f);var u=[];return u.push({tag:"span",attributes:l,children:[a]}),o&&u.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),u}function k2(r){var a=r[0],o=r[1],s=r.slice(4),l=D2(s,1),f=l[0],u=null;return Array.isArray(f)?u={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.PRIMARY),fill:"currentColor",d:f[1]}}]}:u={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:u}}function $q(r,a){!Y5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function T2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lu()),new Promise(function(s,l){var f={found:!1,width:512,height:512,icon:fc("missingIconAbstract")||{}};if(o==="fa"){var u=oE(r)||{};r=u.iconName||r,a=u.prefix||a}if(r&&a&&v2[a]&&v2[a][r]){var h=v2[a][r];return s(k2(h))}$q(r,a),s(mt(mt({},Yq),{},{icon:xt.showMissingIcons&&r?fc("missingIconAbstract")||{}:{}}))})}function R5(r){var a=r.getAttribute?r.getAttribute(of):null;return typeof a=="string"}function Kq(r){var a=r.getAttribute?r.getAttribute(L2):null,o=r.getAttribute?r.getAttribute(N2):null;return a&&o}function Xq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Qq(){if(xt.autoReplaceSvg===!0)return rg.replace;var r=rg[xt.autoReplaceSvg];return r||rg.replace}function Jq(r){return Sa.createElementNS("http://www.w3.org/2000/svg",r)}function Zq(r){return Sa.createElement(r)}function sE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,s=o===void 0?r.tag==="svg"?Jq:Zq:o;if(typeof r=="string")return Sa.createTextNode(r);var l=s(r.tag);Object.keys(r.attributes||[]).forEach(function(u){l.setAttribute(u,r.attributes[u])});var f=r.children||[];return f.forEach(function(u){l.appendChild(sE(u,{ceFn:s}))}),l}function eY(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function D5(r){r()}function cE(r,a){var o=typeof a=="function"?a:tg;if(r.length===0)o();else{var s=D5;xt.mutateApproach===oq&&(s=iu.requestAnimationFrame||D5),s(function(){var l=Qq(),f=j2.begin("mutate");r.map(l),f(),o()})}}function uE(){H2=!0}function R2(){H2=!1}function A5(r){if(g5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?tg:a,s=r.nodeCallback,l=s===void 0?tg:s,f=r.pseudoElementsCallback,u=f===void 0?tg:f,h=r.observeMutationsRoot,p=h===void 0?Sa:h;og=new g5(function(m){if(!H2){var g=lu();Bd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!R5(b.addedNodes[0])&&(xt.searchPseudoElements&&u(b.target),o(b.target)),b.type==="attributes"&&b.target.parentNode&&xt.searchPseudoElements&&u(b.target.parentNode),b.type==="attributes"&&R5(b.target)&&~dq.indexOf(b.attributeName))if(b.attributeName==="class"&&Kq(b.target)){var S=sg(M2(b.target)),w=S.prefix,k=S.iconName;b.target.setAttribute(L2,w||g),k&&b.target.setAttribute(N2,k)}else Xq(b.target)&&l(b.target)})}}),dc&&og.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function tY(){og&&og.disconnect()}function rY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(s,l){var f=l.split(":"),u=f[0],h=f.slice(1);return u&&h.length>0&&(s[u]=h.join(":").trim()),s},{})),o}function aY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),s=r.innerText!==void 0?r.innerText.trim():"",l=sg(M2(r));return l.prefix||(l.prefix=lu()),a&&o&&(l.prefix=a,l.iconName=o),l.iconName&&l.prefix||(l.prefix&&s.length>0&&(l.iconName=Mq(l.prefix,r.innerText)||z2(l.prefix,S2(r.innerText))),!l.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(l.iconName=r.firstChild.data)),l}function nY(r){var a=Bd(r.attributes).reduce(function(l,f){return l.name!=="class"&&l.name!=="style"&&(l[f.name]=f.value),l},{}),o=r.getAttribute("title"),s=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(s||rm()):(a["aria-hidden"]="true",a.focusable="false")),a}function oY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ks,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function L5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=aY(r),s=o.iconName,l=o.prefix,f=o.rest,u=nY(r),h=C2("parseNodeAttributes",{},r),p=a.styleParser?rY(r):[];return mt({iconName:s,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:l,transform:ks,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:p,attributes:u}},h)}function fE(r){var a=xt.autoReplaceSvg==="nest"?L5(r,{styleParser:!1}):L5(r);return~a.extra.classes.indexOf($5)?fc("generateLayersText",r,a):fc("generateSvgReplacementMutation",r,a)}function N5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!dc)return Promise.resolve();var o=Sa.documentElement.classList,s=function(b){return o.add("".concat(b5,"-").concat(b))},l=function(b){return o.remove("".concat(b5,"-").concat(b))},f=xt.autoFetchSvg?su:O2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(iY));f.includes("fa")||f.push("fa");var u=[".".concat($5,":not([").concat(of,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(of,"])")})).join(", ");if(u.length===0)return Promise.resolve();var h=[];try{h=Bd(r.querySelectorAll(u))}catch(g){}if(h.length>0)s("pending"),l("complete");else return Promise.resolve();var p=j2.begin("onTree"),m=h.reduce(function(g,b){try{var S=fE(b);S&&g.push(S)}catch(w){Y5||w.name==="MissingIcon"&&console.error(w)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(S){cE(S,function(){s("active"),s("complete"),l("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(S){p(),b(S)})})}function lY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;fE(r).then(function(o){o&&cE([o],a)})}function sY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=(a||{}).icon?a:x2(a||{}),l=o.mask;return l&&(l=(l||{}).icon?l:x2(l||{})),r(s,mt(mt({},o),{},{mask:l}))}}function mY(r){var a=r.replace(hY,""),o=Rq(a,0),s=o>=O5[0]&&o<=O5[1],l=a.length===2?a[0]===a[1]:!1;return{value:S2(l?a[0]:a),isSecondary:s||l}}function M5(r,a){var o="".concat(nq).concat(a.replace(":","-"));return new Promise(function(s,l){if(r.getAttribute(o)!==null)return s();var f=Bd(r.children),u=f.filter(function(ae){return ae.getAttribute(y2)===a})[0],h=iu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(cq),m=h.getPropertyValue("font-weight"),g=h.getPropertyValue("content");if(u&&!p)return r.removeChild(u),s();if(p&&g!=="none"&&g!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?Ba:ya,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Zh[S][p[2].toLowerCase()]:uq[S][m],k=mY(b),L=k.value,N=k.isSecondary,Y=p[0].startsWith("FontAwesome"),M=z2(w,L),j=M;if(Y){var F=Pq(L);F.iconName&&F.prefix&&(M=F.iconName,w=F.prefix)}if(M&&!N&&(!u||u.getAttribute(L2)!==w||u.getAttribute(N2)!==j)){r.setAttribute(o,j),u&&r.removeChild(u);var Z=oY(),O=Z.extra;O.attributes[y2]=a,T2(M,w).then(function(ae){var ge=F2(mt(mt({},Z),{},{icons:{main:ae,mask:B2()},prefix:w,iconName:j,extra:O,watchable:!0})),ee=Sa.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(ee,r.firstChild):r.appendChild(ee),ee.outerHTML=ge.map(function(ye){return om(ye)}).join(`
167
- `),r.removeAttribute(o),s()}).catch(l)}else s()}else s()})}function vY(r){return Promise.all([M5(r,"::before"),M5(r,"::after")])}function _Y(r){return r.parentNode!==document.head&&!~iq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(y2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function P5(r){if(dc)return new Promise(function(a,o){var s=Bd(r.querySelectorAll("*")).filter(_Y).map(vY),l=j2.begin("searchPseudoElements");uE(),Promise.all(s).then(function(){l(),R2(),a()}).catch(function(){l(),R2(),o()})})}function B5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.attributes&&(r.attributes.fill||a)&&(r.attributes.fill="black"),r}function SY(r){return r.tag==="g"?r.children:[r]}var m5,A2,j5,H5,U5,aq,v5,_5,iu,Sa,g5,Y_,_G,dc,V5,$_,G_,K_,X_,Q_,cc,b2,W5,q5,of,y2,nq,L2,N2,b5,oq,iq,Y5,ya,Ba,O2,Jh,Zh,em,lq,sq,$5,cq,uq,G5,fq,dq,af,tm,pq,Xh,y5,K5,zd,xt,Qh,ou,ks,gq,wq,S5,Cq,uc,Jl,J5,xq,ng,Tq,m2,J_,Z_,eg,Md,Dq,Aq,I2,Z5,eE,tE,rE,aE,Lq,nE,B2,x5,Iq,k5,Pd,Id,zq,iE,Fq,jq,Hq,Eo,Uq,v2,Yq,E5,E2,Kh,Gq,lE,j2,tg,rg,H2,og,iY,su,cY,uY,fY,dY,pY,hY,O5,gY,I5,bY,z5,yY,_2,wY,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,MY,PY,IY,pE=TV(()=>{m5=function(){},A2={},j5={},H5=null,U5={mark:m5,measure:m5};try{typeof window!="undefined"&&(A2=window),typeof document!="undefined"&&(j5=document),typeof MutationObserver!="undefined"&&(H5=MutationObserver),typeof performance!="undefined"&&(U5=performance)}catch(r){}aq=A2.navigator||{},v5=aq.userAgent,_5=v5===void 0?"":v5,iu=A2,Sa=j5,g5=H5,Y_=U5,_G=!!iu.document,dc=!!Sa.documentElement&&!!Sa.head&&typeof Sa.addEventListener=="function"&&typeof Sa.createElement=="function",V5=~_5.indexOf("MSIE")||~_5.indexOf("Trident/"),cc="___FONT_AWESOME___",b2=16,W5="fa",q5="svg-inline--fa",of="data-fa-i2svg",y2="data-fa-pseudo-element",nq="data-fa-pseudo-element-pending",L2="data-prefix",N2="data-icon",b5="fontawesome-i2svg",oq="async",iq=["HTML","HEAD","STYLE","SCRIPT"],Y5=function(){try{return!1}catch(r){return!1}}(),ya="classic",Ba="sharp",O2=[ya,Ba];Jh=nm(($_={},pn($_,ya,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),pn($_,Ba,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),$_)),Zh=nm((G_={},pn(G_,ya,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),pn(G_,Ba,{solid:"fass",regular:"fasr",light:"fasl"}),G_)),em=nm((K_={},pn(K_,ya,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),pn(K_,Ba,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),K_)),lq=nm((X_={},pn(X_,ya,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),pn(X_,Ba,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),X_)),sq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,$5="fa-layers-text",cq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,uq=nm((Q_={},pn(Q_,ya,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),pn(Q_,Ba,{900:"fass",400:"fasr",300:"fasl"}),Q_)),G5=[1,2,3,4,5,6,7,8,9,10],fq=G5.concat([11,12,13,14,15,16,17,18,19,20]),dq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],af={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},tm=new Set;Object.keys(Zh[ya]).map(tm.add.bind(tm));Object.keys(Zh[Ba]).map(tm.add.bind(tm));pq=[].concat(O2,am(tm),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",af.GROUP,af.SWAP_OPACITY,af.PRIMARY,af.SECONDARY]).concat(G5.map(function(r){return"".concat(r,"x")})).concat(fq.map(function(r){return"w-".concat(r)})),Xh=iu.FontAwesomeConfig||{};Sa&&typeof Sa.querySelector=="function"&&(y5=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]],y5.forEach(function(r){var a=D2(r,2),o=a[0],s=a[1],l=mq(hq(o));l!=null&&(Xh[s]=l)}));K5={styleDefault:"solid",familyDefault:"classic",cssPrefix:W5,replacementClass:q5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Xh.familyPrefix&&(Xh.cssPrefix=Xh.familyPrefix);zd=mt(mt({},K5),Xh);zd.autoReplaceSvg||(zd.observeMutations=!1);xt={};Object.keys(K5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){zd[r]=o,Qh.forEach(function(s){return s(xt)})},get:function(){return zd[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){zd.cssPrefix=a,Qh.forEach(function(o){return o(xt)})},get:function(){return zd.cssPrefix}});iu.FontAwesomeConfig=xt;Qh=[];ou=b2,ks={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};gq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";wq=`:root, :host {
166
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nm(r){return new Proxy(r,{get:function(o,s){return s in o?o[s]:o[ya]}})}function hq(r){var a=Sa.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function mq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function vq(r){return Qh.push(r),function(){Qh.splice(Qh.indexOf(r),1)}}function _q(r){if(!(!r||!dc)){var a=Sa.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=Sa.head.childNodes,s=null,l=o.length-1;l>-1;l--){var f=o[l],u=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(u)>-1&&(s=f)}return Sa.head.insertBefore(a,s),r}}function rm(){for(var r=12,a="";r-- >0;)a+=gq[Math.random()*62|0];return a}function Bd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function M2(r){return r.classList?Bd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function X5(r){return"".concat(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function bq(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat(X5(r[o]),'" ')},"").trim()}function ig(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function P2(r){return r.size!==Ts.size||r.x!==Ts.x||r.y!==Ts.y||r.rotate!==Ts.rotate||r.flipX||r.flipY}function yq(r){var a=r.transform,o=r.containerWidth,s=r.iconWidth,l={transform:"translate(".concat(o/2," 256)")},f="translate(".concat(a.x*32,", ").concat(a.y*32,") "),u="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),h="rotate(".concat(a.rotate," 0 0)"),p={transform:"".concat(f," ").concat(u," ").concat(h)},m={transform:"translate(".concat(s/2*-1," -256)")};return{outer:l,inner:p,path:m}}function Sq(r){var a=r.transform,o=r.width,s=o===void 0?b2:o,l=r.height,f=l===void 0?b2:l,u=r.startCentered,h=u===void 0?!1:u,p="";return h&&V5?p+="translate(".concat(a.x/ou-s/2,"em, ").concat(a.y/ou-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/ou,"em), calc(-50% + ").concat(a.y/ou,"em)) "):p+="translate(".concat(a.x/ou,"em, ").concat(a.y/ou,"em) "),p+="scale(".concat(a.size/ou*(a.flipX?-1:1),", ").concat(a.size/ou*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function Q5(){var r=W5,a=q5,o=xt.cssPrefix,s=xt.replacementClass,l=wq;if(o!==r||s!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),u=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");l=l.replace(f,".".concat(o,"-")).replace(u,"--".concat(o,"-")).replace(h,".".concat(s))}return l}function h2(){xt.autoAddCss&&!S5&&(_q(Q5()),S5=!0)}function kq(r){dc&&(ng?setTimeout(r,0):J5.push(r))}function om(r){var a=r.tag,o=r.attributes,s=o===void 0?{}:o,l=r.children,f=l===void 0?[]:l;return typeof r=="string"?X5(r):"<".concat(a," ").concat(bq(s),">").concat(f.map(om).join(""),"</").concat(a,">")}function w5(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function Eq(r){for(var a=[],o=0,s=r.length;o<s;){var l=r.charCodeAt(o++);if(l>=55296&&l<=56319&&o<s){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((l&1023)<<10)+(f&1023)+65536):(a.push(l),o--)}else a.push(l)}return a}function S2(r){var a=Eq(r);return a.length===1?a[0].toString(16):null}function Rq(r,a){var o=r.length,s=r.charCodeAt(a),l;return s>=55296&&s<=56319&&o>a+1&&(l=r.charCodeAt(a+1),l>=56320&&l<=57343)?(s-55296)*1024+l-56320+65536:s}function C5(r){return Object.keys(r).reduce(function(a,o){var s=r[o],l=!!s.icon;return l?a[s.iconName]=s.icon:a[o]=s,a},{})}function w2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=o.skipHooks,l=s===void 0?!1:s,f=C5(a);typeof Jl.hooks.addPack=="function"&&!l?Jl.hooks.addPack(r,C5(a)):Jl.styles[r]=mt(mt({},Jl.styles[r]||{}),f),r==="fas"&&w2("fa",a)}function Nq(r){return~pq.indexOf(r)}function Oq(r,a){var o=a.split("-"),s=o[0],l=o.slice(1).join("-");return s===r&&l!==""&&!Nq(l)?l:null}function z2(r,a){return(Z5[r]||{})[a]}function Mq(r,a){return(eE[r]||{})[a]}function nf(r,a){return(aE[r]||{})[a]}function oE(r){return tE[r]||{prefix:null,iconName:null}}function Pq(r){var a=rE[r],o=z2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lu(){return I2}function lg(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,s=o===void 0?ya:o,l=Jh[s][r],f=Zh[s][r]||Zh[s][l],u=r in Jl.styles?r:null;return f||u||null}function sg(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.skipLookups,l=s===void 0?!1:s,f=(a={},pn(a,ya,"".concat(xt.cssPrefix,"-").concat(ya)),pn(a,Ba,"".concat(xt.cssPrefix,"-").concat(Ba)),a),u=null,h=ya;(r.includes(f[ya])||r.some(function(m){return x5[ya].includes(m)}))&&(h=ya),(r.includes(f[Ba])||r.some(function(m){return x5[Ba].includes(m)}))&&(h=Ba);var p=r.reduce(function(m,g){var b=Oq(xt.cssPrefix,g);if(Md[g]?(g=Aq[h].includes(g)?lq[h][g]:g,u=g,m.prefix=g):Lq[h].indexOf(g)>-1?(u=g,m.prefix=lg(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ya]&&g!==f[Ba]&&m.rest.push(g),!l&&m.prefix&&m.iconName){var S=u==="fa"?oE(m.iconName):{},w=nf(m.prefix,m.iconName);S.prefix&&(u=null),m.iconName=S.iconName||w||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Md.far&&Md.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},B2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===Ba&&(Md.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=nf(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||u==="fa")&&(p.prefix=lu()||"fas"),p}function Bq(r,a){var o=a.mixoutsTo;return k5=r,Pd={},Object.keys(Id).forEach(function(s){zq.indexOf(s)===-1&&delete Id[s]}),k5.forEach(function(s){var l=s.mixout?s.mixout():{};if(Object.keys(l).forEach(function(u){typeof l[u]=="function"&&(o[u]=l[u]),ag(l[u])==="object"&&Object.keys(l[u]).forEach(function(h){o[u]||(o[u]={}),o[u][h]=l[u][h]})}),s.hooks){var f=s.hooks();Object.keys(f).forEach(function(u){Pd[u]||(Pd[u]=[]),Pd[u].push(f[u])})}s.provides&&s.provides(Id)}),o}function C2(r,a){for(var o=arguments.length,s=new Array(o>2?o-2:0),l=2;l<o;l++)s[l-2]=arguments[l];var f=Pd[r]||[];return f.forEach(function(u){a=u.apply(null,[a].concat(s))}),a}function lf(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];var l=Pd[r]||[];l.forEach(function(f){f.apply(null,o)})}function fc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Id[r]?Id[r].apply(null,a):void 0}function x2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lu();if(a)return a=nf(o,a)||a,w5(iE.definitions,o,a)||w5(Jl.styles,o,a)}function cg(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(s){return om(s)})}}),Object.defineProperty(r,"node",{get:function(){if(dc){var s=Sa.createElement("div");return s.innerHTML=r.html,s.children}}}),r}function Vq(r){var a=r.children,o=r.main,s=r.mask,l=r.attributes,f=r.styles,u=r.transform;if(P2(u)&&o.found&&!s.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};l.style=ig(mt(mt({},f),{},{"transform-origin":"".concat(m.x+u.x/16,"em ").concat(m.y+u.y/16,"em")}))}return[{tag:"svg",attributes:l,children:a}]}function Wq(r){var a=r.prefix,o=r.iconName,s=r.children,l=r.attributes,f=r.symbol,u=f===!0?"".concat(a,"-").concat(xt.cssPrefix,"-").concat(o):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mt(mt({},l),{},{id:u}),children:s}]}]}function F2(r){var a=r.icons,o=a.main,s=a.mask,l=r.prefix,f=r.iconName,u=r.transform,h=r.symbol,p=r.title,m=r.maskId,g=r.titleId,b=r.extra,S=r.watchable,w=S===void 0?!1:S,k=s.found?s:o,L=k.width,N=k.height,Y=l==="fak",M=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(ee){return b.classes.indexOf(ee)===-1}).filter(function(ee){return ee!==""||!!ee}).concat(b.classes).join(" "),j={children:[],attributes:mt(mt({},b.attributes),{},{"data-prefix":l,"data-icon":f,class:M,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(N)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(L/N*16*.0625,"em")}:{};w&&(j.attributes[of]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(g||rm())},children:[p]}),delete j.attributes.title);var Z=mt(mt({},j),{},{prefix:l,iconName:f,main:o,mask:s,maskId:m,transform:u,symbol:h,styles:mt(mt({},F),b.styles)}),O=s.found&&o.found?fc("generateAbstractMask",Z)||{children:[],attributes:{}}:fc("generateAbstractIcon",Z)||{children:[],attributes:{}},ae=O.children,ge=O.attributes;return Z.children=ae,Z.attributes=ge,h?Wq(Z):Vq(Z)}function T5(r){var a=r.content,o=r.width,s=r.height,l=r.transform,f=r.title,u=r.extra,h=r.watchable,p=h===void 0?!1:h,m=mt(mt(mt({},u.attributes),f?{title:f}:{}),{},{class:u.classes.join(" ")});p&&(m[of]="");var g=mt({},u.styles);P2(l)&&(g.transform=Sq({transform:l,startCentered:!0,width:o,height:s}),g["-webkit-transform"]=g.transform);var b=ig(g);b.length>0&&(m.style=b);var S=[];return S.push({tag:"span",attributes:m,children:[a]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}function qq(r){var a=r.content,o=r.title,s=r.extra,l=mt(mt(mt({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")}),f=ig(s.styles);f.length>0&&(l.style=f);var u=[];return u.push({tag:"span",attributes:l,children:[a]}),o&&u.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),u}function k2(r){var a=r[0],o=r[1],s=r.slice(4),l=D2(s,1),f=l[0],u=null;return Array.isArray(f)?u={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(af.PRIMARY),fill:"currentColor",d:f[1]}}]}:u={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:u}}function $q(r,a){!Y5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function T2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lu()),new Promise(function(s,l){var f={found:!1,width:512,height:512,icon:fc("missingIconAbstract")||{}};if(o==="fa"){var u=oE(r)||{};r=u.iconName||r,a=u.prefix||a}if(r&&a&&v2[a]&&v2[a][r]){var h=v2[a][r];return s(k2(h))}$q(r,a),s(mt(mt({},Yq),{},{icon:xt.showMissingIcons&&r?fc("missingIconAbstract")||{}:{}}))})}function R5(r){var a=r.getAttribute?r.getAttribute(of):null;return typeof a=="string"}function Kq(r){var a=r.getAttribute?r.getAttribute(L2):null,o=r.getAttribute?r.getAttribute(N2):null;return a&&o}function Xq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Qq(){if(xt.autoReplaceSvg===!0)return rg.replace;var r=rg[xt.autoReplaceSvg];return r||rg.replace}function Jq(r){return Sa.createElementNS("http://www.w3.org/2000/svg",r)}function Zq(r){return Sa.createElement(r)}function sE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,s=o===void 0?r.tag==="svg"?Jq:Zq:o;if(typeof r=="string")return Sa.createTextNode(r);var l=s(r.tag);Object.keys(r.attributes||[]).forEach(function(u){l.setAttribute(u,r.attributes[u])});var f=r.children||[];return f.forEach(function(u){l.appendChild(sE(u,{ceFn:s}))}),l}function eY(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function D5(r){r()}function cE(r,a){var o=typeof a=="function"?a:tg;if(r.length===0)o();else{var s=D5;xt.mutateApproach===oq&&(s=iu.requestAnimationFrame||D5),s(function(){var l=Qq(),f=j2.begin("mutate");r.map(l),f(),o()})}}function uE(){H2=!0}function R2(){H2=!1}function A5(r){if(g5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?tg:a,s=r.nodeCallback,l=s===void 0?tg:s,f=r.pseudoElementsCallback,u=f===void 0?tg:f,h=r.observeMutationsRoot,p=h===void 0?Sa:h;og=new g5(function(m){if(!H2){var g=lu();Bd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!R5(b.addedNodes[0])&&(xt.searchPseudoElements&&u(b.target),o(b.target)),b.type==="attributes"&&b.target.parentNode&&xt.searchPseudoElements&&u(b.target.parentNode),b.type==="attributes"&&R5(b.target)&&~dq.indexOf(b.attributeName))if(b.attributeName==="class"&&Kq(b.target)){var S=sg(M2(b.target)),w=S.prefix,k=S.iconName;b.target.setAttribute(L2,w||g),k&&b.target.setAttribute(N2,k)}else Xq(b.target)&&l(b.target)})}}),dc&&og.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function tY(){og&&og.disconnect()}function rY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(s,l){var f=l.split(":"),u=f[0],h=f.slice(1);return u&&h.length>0&&(s[u]=h.join(":").trim()),s},{})),o}function aY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),s=r.innerText!==void 0?r.innerText.trim():"",l=sg(M2(r));return l.prefix||(l.prefix=lu()),a&&o&&(l.prefix=a,l.iconName=o),l.iconName&&l.prefix||(l.prefix&&s.length>0&&(l.iconName=Mq(l.prefix,r.innerText)||z2(l.prefix,S2(r.innerText))),!l.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(l.iconName=r.firstChild.data)),l}function nY(r){var a=Bd(r.attributes).reduce(function(l,f){return l.name!=="class"&&l.name!=="style"&&(l[f.name]=f.value),l},{}),o=r.getAttribute("title"),s=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(s||rm()):(a["aria-hidden"]="true",a.focusable="false")),a}function oY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ts,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function L5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=aY(r),s=o.iconName,l=o.prefix,f=o.rest,u=nY(r),h=C2("parseNodeAttributes",{},r),p=a.styleParser?rY(r):[];return mt({iconName:s,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:l,transform:Ts,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:p,attributes:u}},h)}function fE(r){var a=xt.autoReplaceSvg==="nest"?L5(r,{styleParser:!1}):L5(r);return~a.extra.classes.indexOf($5)?fc("generateLayersText",r,a):fc("generateSvgReplacementMutation",r,a)}function N5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!dc)return Promise.resolve();var o=Sa.documentElement.classList,s=function(b){return o.add("".concat(b5,"-").concat(b))},l=function(b){return o.remove("".concat(b5,"-").concat(b))},f=xt.autoFetchSvg?su:O2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(iY));f.includes("fa")||f.push("fa");var u=[".".concat($5,":not([").concat(of,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(of,"])")})).join(", ");if(u.length===0)return Promise.resolve();var h=[];try{h=Bd(r.querySelectorAll(u))}catch(g){}if(h.length>0)s("pending"),l("complete");else return Promise.resolve();var p=j2.begin("onTree"),m=h.reduce(function(g,b){try{var S=fE(b);S&&g.push(S)}catch(w){Y5||w.name==="MissingIcon"&&console.error(w)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(S){cE(S,function(){s("active"),s("complete"),l("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(S){p(),b(S)})})}function lY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;fE(r).then(function(o){o&&cE([o],a)})}function sY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=(a||{}).icon?a:x2(a||{}),l=o.mask;return l&&(l=(l||{}).icon?l:x2(l||{})),r(s,mt(mt({},o),{},{mask:l}))}}function mY(r){var a=r.replace(hY,""),o=Rq(a,0),s=o>=O5[0]&&o<=O5[1],l=a.length===2?a[0]===a[1]:!1;return{value:S2(l?a[0]:a),isSecondary:s||l}}function M5(r,a){var o="".concat(nq).concat(a.replace(":","-"));return new Promise(function(s,l){if(r.getAttribute(o)!==null)return s();var f=Bd(r.children),u=f.filter(function(ae){return ae.getAttribute(y2)===a})[0],h=iu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(cq),m=h.getPropertyValue("font-weight"),g=h.getPropertyValue("content");if(u&&!p)return r.removeChild(u),s();if(p&&g!=="none"&&g!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?Ba:ya,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Zh[S][p[2].toLowerCase()]:uq[S][m],k=mY(b),L=k.value,N=k.isSecondary,Y=p[0].startsWith("FontAwesome"),M=z2(w,L),j=M;if(Y){var F=Pq(L);F.iconName&&F.prefix&&(M=F.iconName,w=F.prefix)}if(M&&!N&&(!u||u.getAttribute(L2)!==w||u.getAttribute(N2)!==j)){r.setAttribute(o,j),u&&r.removeChild(u);var Z=oY(),O=Z.extra;O.attributes[y2]=a,T2(M,w).then(function(ae){var ge=F2(mt(mt({},Z),{},{icons:{main:ae,mask:B2()},prefix:w,iconName:j,extra:O,watchable:!0})),ee=Sa.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(ee,r.firstChild):r.appendChild(ee),ee.outerHTML=ge.map(function(ye){return om(ye)}).join(`
167
+ `),r.removeAttribute(o),s()}).catch(l)}else s()}else s()})}function vY(r){return Promise.all([M5(r,"::before"),M5(r,"::after")])}function _Y(r){return r.parentNode!==document.head&&!~iq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(y2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function P5(r){if(dc)return new Promise(function(a,o){var s=Bd(r.querySelectorAll("*")).filter(_Y).map(vY),l=j2.begin("searchPseudoElements");uE(),Promise.all(s).then(function(){l(),R2(),a()}).catch(function(){l(),R2(),o()})})}function B5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.attributes&&(r.attributes.fill||a)&&(r.attributes.fill="black"),r}function SY(r){return r.tag==="g"?r.children:[r]}var m5,A2,j5,H5,U5,aq,v5,_5,iu,Sa,g5,Y_,_G,dc,V5,$_,G_,K_,X_,Q_,cc,b2,W5,q5,of,y2,nq,L2,N2,b5,oq,iq,Y5,ya,Ba,O2,Jh,Zh,em,lq,sq,$5,cq,uq,G5,fq,dq,af,tm,pq,Xh,y5,K5,zd,xt,Qh,ou,Ts,gq,wq,S5,Cq,uc,Jl,J5,xq,ng,Tq,m2,J_,Z_,eg,Md,Dq,Aq,I2,Z5,eE,tE,rE,aE,Lq,nE,B2,x5,Iq,k5,Pd,Id,zq,iE,Fq,jq,Hq,Eo,Uq,v2,Yq,E5,E2,Kh,Gq,lE,j2,tg,rg,H2,og,iY,su,cY,uY,fY,dY,pY,hY,O5,gY,I5,bY,z5,yY,_2,wY,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,MY,PY,IY,pE=TV(()=>{m5=function(){},A2={},j5={},H5=null,U5={mark:m5,measure:m5};try{typeof window!="undefined"&&(A2=window),typeof document!="undefined"&&(j5=document),typeof MutationObserver!="undefined"&&(H5=MutationObserver),typeof performance!="undefined"&&(U5=performance)}catch(r){}aq=A2.navigator||{},v5=aq.userAgent,_5=v5===void 0?"":v5,iu=A2,Sa=j5,g5=H5,Y_=U5,_G=!!iu.document,dc=!!Sa.documentElement&&!!Sa.head&&typeof Sa.addEventListener=="function"&&typeof Sa.createElement=="function",V5=~_5.indexOf("MSIE")||~_5.indexOf("Trident/"),cc="___FONT_AWESOME___",b2=16,W5="fa",q5="svg-inline--fa",of="data-fa-i2svg",y2="data-fa-pseudo-element",nq="data-fa-pseudo-element-pending",L2="data-prefix",N2="data-icon",b5="fontawesome-i2svg",oq="async",iq=["HTML","HEAD","STYLE","SCRIPT"],Y5=function(){try{return!1}catch(r){return!1}}(),ya="classic",Ba="sharp",O2=[ya,Ba];Jh=nm(($_={},pn($_,ya,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),pn($_,Ba,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),$_)),Zh=nm((G_={},pn(G_,ya,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),pn(G_,Ba,{solid:"fass",regular:"fasr",light:"fasl"}),G_)),em=nm((K_={},pn(K_,ya,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),pn(K_,Ba,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),K_)),lq=nm((X_={},pn(X_,ya,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),pn(X_,Ba,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),X_)),sq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,$5="fa-layers-text",cq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,uq=nm((Q_={},pn(Q_,ya,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),pn(Q_,Ba,{900:"fass",400:"fasr",300:"fasl"}),Q_)),G5=[1,2,3,4,5,6,7,8,9,10],fq=G5.concat([11,12,13,14,15,16,17,18,19,20]),dq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],af={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},tm=new Set;Object.keys(Zh[ya]).map(tm.add.bind(tm));Object.keys(Zh[Ba]).map(tm.add.bind(tm));pq=[].concat(O2,am(tm),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",af.GROUP,af.SWAP_OPACITY,af.PRIMARY,af.SECONDARY]).concat(G5.map(function(r){return"".concat(r,"x")})).concat(fq.map(function(r){return"w-".concat(r)})),Xh=iu.FontAwesomeConfig||{};Sa&&typeof Sa.querySelector=="function"&&(y5=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]],y5.forEach(function(r){var a=D2(r,2),o=a[0],s=a[1],l=mq(hq(o));l!=null&&(Xh[s]=l)}));K5={styleDefault:"solid",familyDefault:"classic",cssPrefix:W5,replacementClass:q5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Xh.familyPrefix&&(Xh.cssPrefix=Xh.familyPrefix);zd=mt(mt({},K5),Xh);zd.autoReplaceSvg||(zd.observeMutations=!1);xt={};Object.keys(K5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){zd[r]=o,Qh.forEach(function(s){return s(xt)})},get:function(){return zd[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){zd.cssPrefix=a,Qh.forEach(function(o){return o(xt)})},get:function(){return zd.cssPrefix}});iu.FontAwesomeConfig=xt;Qh=[];ou=b2,Ts={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};gq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";wq=`:root, :host {
168
168
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
169
169
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
170
170
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
@@ -921,9 +921,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
921
921
  .fa-duotone.fa-inverse {
922
922
  color: var(--fa-inverse, #fff);
923
923
  }`;S5=!1;Cq={mixout:function(){return{dom:{css:Q5,insertCss:h2}}},hooks:function(){return{beforeDOMElementCreation:function(){h2()},beforeI2svg:function(){h2()}}}},uc=iu||{};uc[cc]||(uc[cc]={});uc[cc].styles||(uc[cc].styles={});uc[cc].hooks||(uc[cc].hooks={});uc[cc].shims||(uc[cc].shims=[]);Jl=uc[cc],J5=[],xq=function r(){Sa.removeEventListener("DOMContentLoaded",r),ng=1,J5.map(function(a){return a()})},ng=!1;dc&&(ng=(Sa.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Sa.readyState),ng||Sa.addEventListener("DOMContentLoaded",xq));Tq=function(a,o){return function(s,l,f,u){return a.call(o,s,l,f,u)}},m2=function(a,o,s,l){var f=Object.keys(a),u=f.length,h=l!==void 0?Tq(o,l):o,p,m,g;for(s===void 0?(p=1,g=a[f[0]]):(p=0,g=s);p<u;p++)m=f[p],g=h(g,a[m],m,a);return g};Md=Jl.styles,Dq=Jl.shims,Aq=(J_={},pn(J_,ya,Object.values(em[ya])),pn(J_,Ba,Object.values(em[Ba])),J_),I2=null,Z5={},eE={},tE={},rE={},aE={},Lq=(Z_={},pn(Z_,ya,Object.keys(Jh[ya])),pn(Z_,Ba,Object.keys(Jh[Ba])),Z_);nE=function(){var a=function(f){return m2(Md,function(u,h,p){return u[p]=m2(h,f,{}),u},{})};Z5=a(function(l,f,u){if(f[3]&&(l[f[3]]=u),f[2]){var h=f[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){l[p.toString(16)]=u})}return l}),eE=a(function(l,f,u){if(l[u]=u,f[2]){var h=f[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){l[p]=u})}return l}),aE=a(function(l,f,u){var h=f[2];return l[u]=u,h.forEach(function(p){l[p]=u}),l});var o="far"in Md||xt.autoFetchSvg,s=m2(Dq,function(l,f){var u=f[0],h=f[1],p=f[2];return h==="far"&&!o&&(h="fas"),typeof u=="string"&&(l.names[u]={prefix:h,iconName:p}),typeof u=="number"&&(l.unicodes[u.toString(16)]={prefix:h,iconName:p}),l},{names:{},unicodes:{}});tE=s.names,rE=s.unicodes,I2=lg(xt.styleDefault,{family:xt.familyDefault})};vq(function(r){I2=lg(r.styleDefault,{family:xt.familyDefault})});nE();B2=function(){return{prefix:null,iconName:null,rest:[]}};x5=(eg={},pn(eg,ya,Object.keys(em[ya])),pn(eg,Ba,Object.keys(em[Ba])),eg);Iq=function(){function r(){KW(this,r),this.definitions={}}return XW(r,[{key:"add",value:function(){for(var o=this,s=arguments.length,l=new Array(s),f=0;f<s;f++)l[f]=arguments[f];var u=l.reduce(this._pullDefinitions,{});Object.keys(u).forEach(function(h){o.definitions[h]=mt(mt({},o.definitions[h]||{}),u[h]),w2(h,u[h]);var p=em[ya][h];p&&w2(p,u[h]),nE()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,s){var l=s.prefix&&s.iconName&&s.icon?{0:s}:s;return Object.keys(l).map(function(f){var u=l[f],h=u.prefix,p=u.iconName,m=u.icon,g=m[2];o[h]||(o[h]={}),g.length>0&&g.forEach(function(b){typeof b=="string"&&(o[h][b]=m)}),o[h][p]=m}),o}}]),r}(),k5=[],Pd={},Id={},zq=Object.keys(Id);iE=new Iq,Fq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,lf("noAuto")},jq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return dc?(lf("beforeI2svg",a),fc("pseudoElements2svg",a),fc("i2svg",a)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot;xt.autoReplaceSvg===!1&&(xt.autoReplaceSvg=!0),xt.observeMutations=!0,kq(function(){Uq({autoReplaceSvgRoot:o}),lf("watch",a)})}},Hq={icon:function(a){if(a===null)return null;if(ag(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:nf(a.prefix,a.iconName)||a.iconName};if(Array.isArray(a)&&a.length===2){var o=a[1].indexOf("fa-")===0?a[1].slice(3):a[1],s=lg(a[0]);return{prefix:s,iconName:nf(s,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(sq))){var l=sg(a.split(" "),{skipLookups:!0});return{prefix:l.prefix||lu(),iconName:nf(l.prefix,l.iconName)||l.iconName}}if(typeof a=="string"){var f=lu();return{prefix:f,iconName:nf(f,a)||a}}}},Eo={noAuto:Fq,config:xt,dom:jq,parse:Hq,library:iE,findIconDefinition:x2,toHtml:om},Uq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,s=o===void 0?Sa:o;(Object.keys(Jl.styles).length>0||xt.autoFetchSvg)&&dc&&xt.autoReplaceSvg&&Eo.dom.i2svg({node:s})};v2=Jl.styles;Yq={found:!1,width:512,height:512};E5=function(){},E2=xt.measurePerformance&&Y_&&Y_.mark&&Y_.measure?Y_:{mark:E5,measure:E5},Kh='FA "6.4.2"',Gq=function(a){return E2.mark("".concat(Kh," ").concat(a," begins")),function(){return lE(a)}},lE=function(a){E2.mark("".concat(Kh," ").concat(a," ends")),E2.measure("".concat(Kh," ").concat(a),"".concat(Kh," ").concat(a," begins"),"".concat(Kh," ").concat(a," ends"))},j2={begin:Gq,end:lE},tg=function(){};rg={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(l){o.parentNode.insertBefore(sE(l),o)}),o.getAttribute(of)===null&&xt.keepOriginalSource){var s=Sa.createComment(eY(o));o.parentNode.replaceChild(s,o)}else o.remove()},nest:function(a){var o=a[0],s=a[1];if(~M2(o).indexOf(xt.replacementClass))return rg.replace(a);var l=new RegExp("".concat(xt.cssPrefix,"-.*"));if(delete s[0].attributes.id,s[0].attributes.class){var f=s[0].attributes.class.split(" ").reduce(function(h,p){return p===xt.replacementClass||p.match(l)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});s[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",f.toNode.join(" "))}var u=s.map(function(h){return om(h)}).join(`
924
- `);o.setAttribute(of,""),o.innerHTML=u}};H2=!1;og=null;iY=Jl.styles;su=new Set;O2.map(function(r){su.add("fa-".concat(r))});Object.keys(Jh[ya]).map(su.add.bind(su));Object.keys(Jh[Ba]).map(su.add.bind(su));su=am(su);cY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.transform,l=s===void 0?ks:s,f=o.symbol,u=f===void 0?!1:f,h=o.mask,p=h===void 0?null:h,m=o.maskId,g=m===void 0?null:m,b=o.title,S=b===void 0?null:b,w=o.titleId,k=w===void 0?null:w,L=o.classes,N=L===void 0?[]:L,Y=o.attributes,M=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Z=a.prefix,O=a.iconName,ae=a.icon;return cg(mt({type:"icon"},a),function(){return lf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?M["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||rm()):(M["aria-hidden"]="true",M.focusable="false")),F2({icons:{main:k2(ae),mask:p?k2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Z,iconName:O,transform:mt(mt({},ks),l),symbol:u,title:S,maskId:g,titleId:k,extra:{attributes:M,styles:F,classes:N}})})}},uY={mixout:function(){return{icon:sY(cY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=N5,o.nodeCallback=lY,o}}},provides:function(a){a.i2svg=function(o){var s=o.node,l=s===void 0?Sa:s,f=o.callback,u=f===void 0?function(){}:f;return N5(l,u)},a.generateSvgReplacementMutation=function(o,s){var l=s.iconName,f=s.title,u=s.titleId,h=s.prefix,p=s.transform,m=s.symbol,g=s.mask,b=s.maskId,S=s.extra;return new Promise(function(w,k){Promise.all([T2(l,h),g.iconName?T2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var N=D2(L,2),Y=N[0],M=N[1];w([o,F2({icons:{main:Y,mask:M},prefix:h,iconName:l,transform:p,symbol:m,maskId:b,title:f,titleId:u,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var s=o.children,l=o.attributes,f=o.main,u=o.transform,h=o.styles,p=ig(h);p.length>0&&(l.style=p);var m;return P2(u)&&(m=fc("generateAbstractTransformGrouping",{main:f,transform:u,containerWidth:f.width,iconWidth:f.width})),s.push(m||f.icon),{children:s,attributes:l}}}},fY={mixout:function(){return{layer:function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.classes,f=l===void 0?[]:l;return cg({type:"layer"},function(){lf("beforeDOMElementCreation",{assembler:o,params:s});var u=[];return o(function(h){Array.isArray(h)?h.map(function(p){u=u.concat(p.abstract)}):u=u.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(xt.cssPrefix,"-layers")].concat(am(f)).join(" ")},children:u}]})}}}},dY={mixout:function(){return{counter:function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.title,f=l===void 0?null:l,u=s.classes,h=u===void 0?[]:u,p=s.attributes,m=p===void 0?{}:p,g=s.styles,b=g===void 0?{}:g;return cg({type:"counter",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:s}),qq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(am(h))}})})}}}},pY={mixout:function(){return{text:function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.transform,f=l===void 0?ks:l,u=s.title,h=u===void 0?null:u,p=s.classes,m=p===void 0?[]:p,g=s.attributes,b=g===void 0?{}:g,S=s.styles,w=S===void 0?{}:S;return cg({type:"text",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:s}),T5({content:o,transform:mt(mt({},ks),f),title:h,extra:{attributes:b,styles:w,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(am(m))}})})}}},provides:function(a){a.generateLayersText=function(o,s){var l=s.title,f=s.transform,u=s.extra,h=null,p=null;if(V5){var m=parseInt(getComputedStyle(o).fontSize,10),g=o.getBoundingClientRect();h=g.width/m,p=g.height/m}return xt.autoA11y&&!l&&(u.attributes["aria-hidden"]="true"),Promise.resolve([o,T5({content:o.innerHTML,width:h,height:p,transform:f,title:l,extra:u,watchable:!0})])}}},hY=new RegExp('"',"ug"),O5=[1105920,1112319];gY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=P5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var s=o.node,l=s===void 0?Sa:s;xt.searchPseudoElements&&P5(l)}}},I5=!1,bY={mixout:function(){return{dom:{unwatch:function(){uE(),I5=!0}}}},hooks:function(){return{bootstrap:function(){A5(C2("mutationObserverCallbacks",{}))},noAuto:function(){tY()},watch:function(o){var s=o.observeMutationsRoot;I5?R2():A5(C2("mutationObserverCallbacks",{observeMutationsRoot:s}))}}}},z5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(s,l){var f=l.toLowerCase().split("-"),u=f[0],h=f.slice(1).join("-");if(u&&h==="h")return s.flipX=!0,s;if(u&&h==="v")return s.flipY=!0,s;if(h=parseFloat(h),isNaN(h))return s;switch(u){case"grow":s.size=s.size+h;break;case"shrink":s.size=s.size-h;break;case"left":s.x=s.x-h;break;case"right":s.x=s.x+h;break;case"up":s.y=s.y-h;break;case"down":s.y=s.y+h;break;case"rotate":s.rotate=s.rotate+h;break}return s},o)},yY={mixout:function(){return{parse:{transform:function(o){return z5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,s){var l=s.getAttribute("data-fa-transform");return l&&(o.transform=z5(l)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var s=o.main,l=o.transform,f=o.containerWidth,u=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(l.x*32,", ").concat(l.y*32,") "),m="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),g="rotate(".concat(l.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(g)},S={transform:"translate(".concat(u/2*-1," -256)")},w={outer:h,inner:b,path:S};return{tag:"g",attributes:mt({},w.outer),children:[{tag:"g",attributes:mt({},w.inner),children:[{tag:s.icon.tag,children:s.icon.children,attributes:mt(mt({},s.icon.attributes),w.path)}]}]}}}},_2={x:0,y:0,width:"100%",height:"100%"};wY={hooks:function(){return{parseNodeAttributes:function(o,s){var l=s.getAttribute("data-fa-mask"),f=l?sg(l.split(" ").map(function(u){return u.trim()})):B2();return f.prefix||(f.prefix=lu()),o.mask=f,o.maskId=s.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var s=o.children,l=o.attributes,f=o.main,u=o.mask,h=o.maskId,p=o.transform,m=f.width,g=f.icon,b=u.width,S=u.icon,w=yq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:mt(mt({},_2),{},{fill:"white"})},L=g.children?{children:g.children.map(B5)}:{},N={tag:"g",attributes:mt({},w.inner),children:[B5(mt({tag:g.tag,attributes:mt(mt({},g.attributes),w.path)},L))]},Y={tag:"g",attributes:mt({},w.outer),children:[N]},M="mask-".concat(h||rm()),j="clip-".concat(h||rm()),F={tag:"mask",attributes:mt(mt({},_2),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Z={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:SY(S)},F]};return s.push(Z,{tag:"rect",attributes:mt({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(M,")")},_2)}),{children:s,attributes:l}}}},CY={provides:function(a){var o=!1;iu.matchMedia&&(o=iu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var s=[],l={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};s.push({tag:"path",attributes:mt(mt({},l),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var u=mt(mt({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:mt(mt({},l),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:mt(mt({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mt(mt({},u),{},{values:"1;0;1;1;0;1;"})}),s.push(h),s.push({tag:"path",attributes:mt(mt({},l),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:o?[]:[{tag:"animate",attributes:mt(mt({},u),{},{values:"1;0;0;0;0;1;"})}]}),o||s.push({tag:"path",attributes:mt(mt({},l),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:mt(mt({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:s}}}},xY={hooks:function(){return{parseNodeAttributes:function(o,s){var l=s.getAttribute("data-fa-symbol"),f=l===null?!1:l===""?!0:l;return o.symbol=f,o}}}},kY=[Cq,uY,fY,dY,pY,gY,bY,yY,wY,CY,xY];Bq(kY,{mixoutsTo:Eo});TY=Eo.noAuto,EY=Eo.config,RY=Eo.library,DY=Eo.dom,AY=Eo.parse,LY=Eo.findIconDefinition,NY=Eo.toHtml,OY=Eo.icon,MY=Eo.layer,PY=Eo.text,IY=Eo.counter});var hE=Ue(ea=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,f=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,g=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,S=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,L=r?Symbol.for("react.block"):60121,N=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,M=r?Symbol.for("react.scope"):60119;function j(ke){return typeof ke=="string"||typeof ke=="function"||ke===s||ke===m||ke===f||ke===l||ke===b||ke===S||typeof ke=="object"&&ke!==null&&(ke.$$typeof===k||ke.$$typeof===w||ke.$$typeof===u||ke.$$typeof===h||ke.$$typeof===g||ke.$$typeof===N||ke.$$typeof===Y||ke.$$typeof===M||ke.$$typeof===L)}function F(ke){if(typeof ke=="object"&&ke!==null){var ot=ke.$$typeof;switch(ot){case a:var kt=ke.type;switch(kt){case p:case m:case s:case f:case l:case b:return kt;default:var Tt=kt&&kt.$$typeof;switch(Tt){case h:case g:case k:case w:case u:return Tt;default:return ot}}case o:return ot}}}var Z=p,O=m,ae=h,ge=u,ee=a,ye=g,be=s,he=k,H=w,le=o,de=f,B=l,W=b,ie=!1;function te(ke){return ie||(ie=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),se(ke)||F(ke)===p}function se(ke){return F(ke)===m}function we(ke){return F(ke)===h}function Se(ke){return F(ke)===u}function je(ke){return typeof ke=="object"&&ke!==null&&ke.$$typeof===a}function Ye(ke){return F(ke)===g}function Ge(ke){return F(ke)===s}function rt(ke){return F(ke)===k}function et(ke){return F(ke)===w}function Nt(ke){return F(ke)===o}function $t(ke){return F(ke)===f}function dt(ke){return F(ke)===l}function Xe(ke){return F(ke)===b}ea.AsyncMode=Z,ea.ConcurrentMode=O,ea.ContextConsumer=ae,ea.ContextProvider=ge,ea.Element=ee,ea.ForwardRef=ye,ea.Fragment=be,ea.Lazy=he,ea.Memo=H,ea.Portal=le,ea.Profiler=de,ea.StrictMode=B,ea.Suspense=W,ea.isAsyncMode=te,ea.isConcurrentMode=se,ea.isContextConsumer=we,ea.isContextProvider=Se,ea.isElement=je,ea.isForwardRef=Ye,ea.isFragment=Ge,ea.isLazy=rt,ea.isMemo=et,ea.isPortal=Nt,ea.isProfiler=$t,ea.isStrictMode=dt,ea.isSuspense=Xe,ea.isValidElementType=j,ea.typeOf=F})()});var U2=Ue((bG,mE)=>{"use strict";mE.exports=hE()});var gE=Ue((yG,_E)=>{"use strict";var vE=Object.getOwnPropertySymbols,zY=Object.prototype.hasOwnProperty,BY=Object.prototype.propertyIsEnumerable;function FY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function jY(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var s=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(s.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(f){l[f]=f}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}_E.exports=jY()?Object.assign:function(r,a){for(var o,s=FY(r),l,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var u in o)zY.call(o,u)&&(s[u]=o[u]);if(vE){l=vE(o);for(var h=0;h<l.length;h++)BY.call(o,l[h])&&(s[l[h]]=o[l[h]])}}return s}});var V2=Ue((SG,bE)=>{"use strict";var HY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";bE.exports=HY});var W2=Ue((wG,yE)=>{yE.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var kE=Ue((CG,xE)=>{"use strict";var q2=function(){};SE=V2(),ug={},wE=W2(),q2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var SE,ug,wE;function CE(r,a,o,s,l){for(var f in r)if(wE(r,f)){var u;try{if(typeof r[f]!="function"){var h=Error((s||"React class")+": "+o+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}u=r[f](a,f,s,o,null,SE)}catch(m){u=m}if(u&&!(u instanceof Error)&&q2((s||"React class")+": type specification of "+o+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in ug)){ug[u.message]=!0;var p=l?l():"";q2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}CE.resetWarningCache=function(){ug={}};xE.exports=CE});var RE=Ue((xG,EE)=>{"use strict";var UY=U2(),VY=gE(),Fd=V2(),Y2=W2(),TE=kE(),jd=function(){};jd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function fg(){return null}EE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,s="@@iterator";function l(H){var le=H&&(o&&H[o]||H[s]);if(typeof le=="function")return le}var f="<<anonymous>>",u={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:b(),arrayOf:S,element:w(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:N,oneOfType:M,shape:Z,exact:O};function h(H,le){return H===le?H!==0||1/H===1/le:H!==H&&le!==le}function p(H,le){this.message=H,this.data=le&&typeof le=="object"?le:{},this.stack=""}p.prototype=Error.prototype;function m(H){var le={},de=0;function B(ie,te,se,we,Se,je,Ye){if(we=we||f,je=je||se,Ye!==Fd){if(a){var Ge=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Ge.name="Invariant Violation",Ge}else if(typeof console!="undefined"){var rt=we+":"+se;!le[rt]&&de<3&&(jd("You are manually calling a React.PropTypes validation function for the `"+je+"` prop on `"+we+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),le[rt]=!0,de++)}}return te[se]==null?ie?te[se]===null?new p("The "+Se+" `"+je+"` is marked as required "+("in `"+we+"`, but its value is `null`.")):new p("The "+Se+" `"+je+"` is marked as required in "+("`"+we+"`, but its value is `undefined`.")):null:H(te,se,we,Se,je)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function g(H){function le(de,B,W,ie,te,se){var we=de[B],Se=ee(we);if(Se!==H){var je=ye(we);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+je+"` supplied to `"+W+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(fg)}function S(H){function le(de,B,W,ie,te){if(typeof H!="function")return new p("Property `"+te+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var se=de[B];if(!Array.isArray(se)){var we=ee(se);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected an array."))}for(var Se=0;Se<se.length;Se++){var je=H(se,Se,W,ie,te+"["+Se+"]",Fd);if(je instanceof Error)return je}return null}return m(le)}function w(){function H(le,de,B,W,ie){var te=le[de];if(!r(te)){var se=ee(te);return new p("Invalid "+W+" `"+ie+"` of type "+("`"+se+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,de,B,W,ie){var te=le[de];if(!UY.isValidElementType(te)){var se=ee(te);return new p("Invalid "+W+" `"+ie+"` of type "+("`"+se+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function le(de,B,W,ie,te){if(!(de[B]instanceof H)){var se=H.name||f,we=he(de[B]);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected ")+("instance of `"+se+"`."))}return null}return m(le)}function N(H){if(!Array.isArray(H))return arguments.length>1?jd("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):jd("Invalid argument supplied to oneOf, expected an array."),fg;function le(de,B,W,ie,te){for(var se=de[B],we=0;we<H.length;we++)if(h(se,H[we]))return null;var Se=JSON.stringify(H,function(Ye,Ge){var rt=ye(Ge);return rt==="symbol"?String(Ge):Ge});return new p("Invalid "+ie+" `"+te+"` of value `"+String(se)+"` "+("supplied to `"+W+"`, expected one of "+Se+"."))}return m(le)}function Y(H){function le(de,B,W,ie,te){if(typeof H!="function")return new p("Property `"+te+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected an object."));for(var Se in se)if(Y2(se,Se)){var je=H(se,Se,W,ie,te+"."+Se,Fd);if(je instanceof Error)return je}return null}return m(le)}function M(H){if(!Array.isArray(H))return jd("Invalid argument supplied to oneOfType, expected an instance of array."),fg;for(var le=0;le<H.length;le++){var de=H[le];if(typeof de!="function")return jd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(de)+" at index "+le+"."),fg}function B(W,ie,te,se,we){for(var Se=[],je=0;je<H.length;je++){var Ye=H[je],Ge=Ye(W,ie,te,se,we,Fd);if(Ge==null)return null;Ge.data&&Y2(Ge.data,"expectedType")&&Se.push(Ge.data.expectedType)}var rt=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new p("Invalid "+se+" `"+we+"` supplied to "+("`"+te+"`"+rt+"."))}return m(B)}function j(){function H(le,de,B,W,ie){return ae(le[de])?null:new p("Invalid "+W+" `"+ie+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,de,B,W){return new p((H||"React class")+": "+le+" type `"+de+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function Z(H){function le(de,B,W,ie,te){var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type `"+we+"` "+("supplied to `"+W+"`, expected `object`."));for(var Se in H){var je=H[Se];if(typeof je!="function")return F(W,ie,te,Se,ye(je));var Ye=je(se,Se,W,ie,te+"."+Se,Fd);if(Ye)return Ye}return null}return m(le)}function O(H){function le(de,B,W,ie,te){var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type `"+we+"` "+("supplied to `"+W+"`, expected `object`."));var Se=VY({},de[B],H);for(var je in Se){var Ye=H[je];if(Y2(H,je)&&typeof Ye!="function")return F(W,ie,te,je,ye(Ye));if(!Ye)return new p("Invalid "+ie+" `"+te+"` key `"+je+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(de[B],null," ")+`
924
+ `);o.setAttribute(of,""),o.innerHTML=u}};H2=!1;og=null;iY=Jl.styles;su=new Set;O2.map(function(r){su.add("fa-".concat(r))});Object.keys(Jh[ya]).map(su.add.bind(su));Object.keys(Jh[Ba]).map(su.add.bind(su));su=am(su);cY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.transform,l=s===void 0?Ts:s,f=o.symbol,u=f===void 0?!1:f,h=o.mask,p=h===void 0?null:h,m=o.maskId,g=m===void 0?null:m,b=o.title,S=b===void 0?null:b,w=o.titleId,k=w===void 0?null:w,L=o.classes,N=L===void 0?[]:L,Y=o.attributes,M=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Z=a.prefix,O=a.iconName,ae=a.icon;return cg(mt({type:"icon"},a),function(){return lf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?M["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||rm()):(M["aria-hidden"]="true",M.focusable="false")),F2({icons:{main:k2(ae),mask:p?k2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Z,iconName:O,transform:mt(mt({},Ts),l),symbol:u,title:S,maskId:g,titleId:k,extra:{attributes:M,styles:F,classes:N}})})}},uY={mixout:function(){return{icon:sY(cY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=N5,o.nodeCallback=lY,o}}},provides:function(a){a.i2svg=function(o){var s=o.node,l=s===void 0?Sa:s,f=o.callback,u=f===void 0?function(){}:f;return N5(l,u)},a.generateSvgReplacementMutation=function(o,s){var l=s.iconName,f=s.title,u=s.titleId,h=s.prefix,p=s.transform,m=s.symbol,g=s.mask,b=s.maskId,S=s.extra;return new Promise(function(w,k){Promise.all([T2(l,h),g.iconName?T2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var N=D2(L,2),Y=N[0],M=N[1];w([o,F2({icons:{main:Y,mask:M},prefix:h,iconName:l,transform:p,symbol:m,maskId:b,title:f,titleId:u,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var s=o.children,l=o.attributes,f=o.main,u=o.transform,h=o.styles,p=ig(h);p.length>0&&(l.style=p);var m;return P2(u)&&(m=fc("generateAbstractTransformGrouping",{main:f,transform:u,containerWidth:f.width,iconWidth:f.width})),s.push(m||f.icon),{children:s,attributes:l}}}},fY={mixout:function(){return{layer:function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.classes,f=l===void 0?[]:l;return cg({type:"layer"},function(){lf("beforeDOMElementCreation",{assembler:o,params:s});var u=[];return o(function(h){Array.isArray(h)?h.map(function(p){u=u.concat(p.abstract)}):u=u.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(xt.cssPrefix,"-layers")].concat(am(f)).join(" ")},children:u}]})}}}},dY={mixout:function(){return{counter:function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.title,f=l===void 0?null:l,u=s.classes,h=u===void 0?[]:u,p=s.attributes,m=p===void 0?{}:p,g=s.styles,b=g===void 0?{}:g;return cg({type:"counter",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:s}),qq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(am(h))}})})}}}},pY={mixout:function(){return{text:function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=s.transform,f=l===void 0?Ts:l,u=s.title,h=u===void 0?null:u,p=s.classes,m=p===void 0?[]:p,g=s.attributes,b=g===void 0?{}:g,S=s.styles,w=S===void 0?{}:S;return cg({type:"text",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:s}),T5({content:o,transform:mt(mt({},Ts),f),title:h,extra:{attributes:b,styles:w,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(am(m))}})})}}},provides:function(a){a.generateLayersText=function(o,s){var l=s.title,f=s.transform,u=s.extra,h=null,p=null;if(V5){var m=parseInt(getComputedStyle(o).fontSize,10),g=o.getBoundingClientRect();h=g.width/m,p=g.height/m}return xt.autoA11y&&!l&&(u.attributes["aria-hidden"]="true"),Promise.resolve([o,T5({content:o.innerHTML,width:h,height:p,transform:f,title:l,extra:u,watchable:!0})])}}},hY=new RegExp('"',"ug"),O5=[1105920,1112319];gY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=P5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var s=o.node,l=s===void 0?Sa:s;xt.searchPseudoElements&&P5(l)}}},I5=!1,bY={mixout:function(){return{dom:{unwatch:function(){uE(),I5=!0}}}},hooks:function(){return{bootstrap:function(){A5(C2("mutationObserverCallbacks",{}))},noAuto:function(){tY()},watch:function(o){var s=o.observeMutationsRoot;I5?R2():A5(C2("mutationObserverCallbacks",{observeMutationsRoot:s}))}}}},z5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(s,l){var f=l.toLowerCase().split("-"),u=f[0],h=f.slice(1).join("-");if(u&&h==="h")return s.flipX=!0,s;if(u&&h==="v")return s.flipY=!0,s;if(h=parseFloat(h),isNaN(h))return s;switch(u){case"grow":s.size=s.size+h;break;case"shrink":s.size=s.size-h;break;case"left":s.x=s.x-h;break;case"right":s.x=s.x+h;break;case"up":s.y=s.y-h;break;case"down":s.y=s.y+h;break;case"rotate":s.rotate=s.rotate+h;break}return s},o)},yY={mixout:function(){return{parse:{transform:function(o){return z5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,s){var l=s.getAttribute("data-fa-transform");return l&&(o.transform=z5(l)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var s=o.main,l=o.transform,f=o.containerWidth,u=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(l.x*32,", ").concat(l.y*32,") "),m="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),g="rotate(".concat(l.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(g)},S={transform:"translate(".concat(u/2*-1," -256)")},w={outer:h,inner:b,path:S};return{tag:"g",attributes:mt({},w.outer),children:[{tag:"g",attributes:mt({},w.inner),children:[{tag:s.icon.tag,children:s.icon.children,attributes:mt(mt({},s.icon.attributes),w.path)}]}]}}}},_2={x:0,y:0,width:"100%",height:"100%"};wY={hooks:function(){return{parseNodeAttributes:function(o,s){var l=s.getAttribute("data-fa-mask"),f=l?sg(l.split(" ").map(function(u){return u.trim()})):B2();return f.prefix||(f.prefix=lu()),o.mask=f,o.maskId=s.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var s=o.children,l=o.attributes,f=o.main,u=o.mask,h=o.maskId,p=o.transform,m=f.width,g=f.icon,b=u.width,S=u.icon,w=yq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:mt(mt({},_2),{},{fill:"white"})},L=g.children?{children:g.children.map(B5)}:{},N={tag:"g",attributes:mt({},w.inner),children:[B5(mt({tag:g.tag,attributes:mt(mt({},g.attributes),w.path)},L))]},Y={tag:"g",attributes:mt({},w.outer),children:[N]},M="mask-".concat(h||rm()),j="clip-".concat(h||rm()),F={tag:"mask",attributes:mt(mt({},_2),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Z={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:SY(S)},F]};return s.push(Z,{tag:"rect",attributes:mt({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(M,")")},_2)}),{children:s,attributes:l}}}},CY={provides:function(a){var o=!1;iu.matchMedia&&(o=iu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var s=[],l={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};s.push({tag:"path",attributes:mt(mt({},l),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var u=mt(mt({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:mt(mt({},l),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:mt(mt({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mt(mt({},u),{},{values:"1;0;1;1;0;1;"})}),s.push(h),s.push({tag:"path",attributes:mt(mt({},l),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:o?[]:[{tag:"animate",attributes:mt(mt({},u),{},{values:"1;0;0;0;0;1;"})}]}),o||s.push({tag:"path",attributes:mt(mt({},l),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:mt(mt({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:s}}}},xY={hooks:function(){return{parseNodeAttributes:function(o,s){var l=s.getAttribute("data-fa-symbol"),f=l===null?!1:l===""?!0:l;return o.symbol=f,o}}}},kY=[Cq,uY,fY,dY,pY,gY,bY,yY,wY,CY,xY];Bq(kY,{mixoutsTo:Eo});TY=Eo.noAuto,EY=Eo.config,RY=Eo.library,DY=Eo.dom,AY=Eo.parse,LY=Eo.findIconDefinition,NY=Eo.toHtml,OY=Eo.icon,MY=Eo.layer,PY=Eo.text,IY=Eo.counter});var hE=Ue(ea=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,f=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,g=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,S=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,L=r?Symbol.for("react.block"):60121,N=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,M=r?Symbol.for("react.scope"):60119;function j(ke){return typeof ke=="string"||typeof ke=="function"||ke===s||ke===m||ke===f||ke===l||ke===b||ke===S||typeof ke=="object"&&ke!==null&&(ke.$$typeof===k||ke.$$typeof===w||ke.$$typeof===u||ke.$$typeof===h||ke.$$typeof===g||ke.$$typeof===N||ke.$$typeof===Y||ke.$$typeof===M||ke.$$typeof===L)}function F(ke){if(typeof ke=="object"&&ke!==null){var it=ke.$$typeof;switch(it){case a:var kt=ke.type;switch(kt){case p:case m:case s:case f:case l:case b:return kt;default:var Tt=kt&&kt.$$typeof;switch(Tt){case h:case g:case k:case w:case u:return Tt;default:return it}}case o:return it}}}var Z=p,O=m,ae=h,ge=u,ee=a,ye=g,be=s,he=k,H=w,le=o,de=f,B=l,W=b,ie=!1;function te(ke){return ie||(ie=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),se(ke)||F(ke)===p}function se(ke){return F(ke)===m}function we(ke){return F(ke)===h}function Se(ke){return F(ke)===u}function je(ke){return typeof ke=="object"&&ke!==null&&ke.$$typeof===a}function Ye(ke){return F(ke)===g}function Ge(ke){return F(ke)===s}function rt(ke){return F(ke)===k}function et(ke){return F(ke)===w}function Nt(ke){return F(ke)===o}function $t(ke){return F(ke)===f}function dt(ke){return F(ke)===l}function Xe(ke){return F(ke)===b}ea.AsyncMode=Z,ea.ConcurrentMode=O,ea.ContextConsumer=ae,ea.ContextProvider=ge,ea.Element=ee,ea.ForwardRef=ye,ea.Fragment=be,ea.Lazy=he,ea.Memo=H,ea.Portal=le,ea.Profiler=de,ea.StrictMode=B,ea.Suspense=W,ea.isAsyncMode=te,ea.isConcurrentMode=se,ea.isContextConsumer=we,ea.isContextProvider=Se,ea.isElement=je,ea.isForwardRef=Ye,ea.isFragment=Ge,ea.isLazy=rt,ea.isMemo=et,ea.isPortal=Nt,ea.isProfiler=$t,ea.isStrictMode=dt,ea.isSuspense=Xe,ea.isValidElementType=j,ea.typeOf=F})()});var U2=Ue((bG,mE)=>{"use strict";mE.exports=hE()});var gE=Ue((yG,_E)=>{"use strict";var vE=Object.getOwnPropertySymbols,zY=Object.prototype.hasOwnProperty,BY=Object.prototype.propertyIsEnumerable;function FY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function jY(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var s=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(s.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(f){l[f]=f}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}_E.exports=jY()?Object.assign:function(r,a){for(var o,s=FY(r),l,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var u in o)zY.call(o,u)&&(s[u]=o[u]);if(vE){l=vE(o);for(var h=0;h<l.length;h++)BY.call(o,l[h])&&(s[l[h]]=o[l[h]])}}return s}});var V2=Ue((SG,bE)=>{"use strict";var HY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";bE.exports=HY});var W2=Ue((wG,yE)=>{yE.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var kE=Ue((CG,xE)=>{"use strict";var q2=function(){};SE=V2(),ug={},wE=W2(),q2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var SE,ug,wE;function CE(r,a,o,s,l){for(var f in r)if(wE(r,f)){var u;try{if(typeof r[f]!="function"){var h=Error((s||"React class")+": "+o+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}u=r[f](a,f,s,o,null,SE)}catch(m){u=m}if(u&&!(u instanceof Error)&&q2((s||"React class")+": type specification of "+o+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in ug)){ug[u.message]=!0;var p=l?l():"";q2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}CE.resetWarningCache=function(){ug={}};xE.exports=CE});var RE=Ue((xG,EE)=>{"use strict";var UY=U2(),VY=gE(),Fd=V2(),Y2=W2(),TE=kE(),jd=function(){};jd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function fg(){return null}EE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,s="@@iterator";function l(H){var le=H&&(o&&H[o]||H[s]);if(typeof le=="function")return le}var f="<<anonymous>>",u={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:b(),arrayOf:S,element:w(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:N,oneOfType:M,shape:Z,exact:O};function h(H,le){return H===le?H!==0||1/H===1/le:H!==H&&le!==le}function p(H,le){this.message=H,this.data=le&&typeof le=="object"?le:{},this.stack=""}p.prototype=Error.prototype;function m(H){var le={},de=0;function B(ie,te,se,we,Se,je,Ye){if(we=we||f,je=je||se,Ye!==Fd){if(a){var Ge=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Ge.name="Invariant Violation",Ge}else if(typeof console!="undefined"){var rt=we+":"+se;!le[rt]&&de<3&&(jd("You are manually calling a React.PropTypes validation function for the `"+je+"` prop on `"+we+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),le[rt]=!0,de++)}}return te[se]==null?ie?te[se]===null?new p("The "+Se+" `"+je+"` is marked as required "+("in `"+we+"`, but its value is `null`.")):new p("The "+Se+" `"+je+"` is marked as required in "+("`"+we+"`, but its value is `undefined`.")):null:H(te,se,we,Se,je)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function g(H){function le(de,B,W,ie,te,se){var we=de[B],Se=ee(we);if(Se!==H){var je=ye(we);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+je+"` supplied to `"+W+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(fg)}function S(H){function le(de,B,W,ie,te){if(typeof H!="function")return new p("Property `"+te+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var se=de[B];if(!Array.isArray(se)){var we=ee(se);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected an array."))}for(var Se=0;Se<se.length;Se++){var je=H(se,Se,W,ie,te+"["+Se+"]",Fd);if(je instanceof Error)return je}return null}return m(le)}function w(){function H(le,de,B,W,ie){var te=le[de];if(!r(te)){var se=ee(te);return new p("Invalid "+W+" `"+ie+"` of type "+("`"+se+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,de,B,W,ie){var te=le[de];if(!UY.isValidElementType(te)){var se=ee(te);return new p("Invalid "+W+" `"+ie+"` of type "+("`"+se+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function le(de,B,W,ie,te){if(!(de[B]instanceof H)){var se=H.name||f,we=he(de[B]);return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected ")+("instance of `"+se+"`."))}return null}return m(le)}function N(H){if(!Array.isArray(H))return arguments.length>1?jd("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):jd("Invalid argument supplied to oneOf, expected an array."),fg;function le(de,B,W,ie,te){for(var se=de[B],we=0;we<H.length;we++)if(h(se,H[we]))return null;var Se=JSON.stringify(H,function(Ye,Ge){var rt=ye(Ge);return rt==="symbol"?String(Ge):Ge});return new p("Invalid "+ie+" `"+te+"` of value `"+String(se)+"` "+("supplied to `"+W+"`, expected one of "+Se+"."))}return m(le)}function Y(H){function le(de,B,W,ie,te){if(typeof H!="function")return new p("Property `"+te+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type "+("`"+we+"` supplied to `"+W+"`, expected an object."));for(var Se in se)if(Y2(se,Se)){var je=H(se,Se,W,ie,te+"."+Se,Fd);if(je instanceof Error)return je}return null}return m(le)}function M(H){if(!Array.isArray(H))return jd("Invalid argument supplied to oneOfType, expected an instance of array."),fg;for(var le=0;le<H.length;le++){var de=H[le];if(typeof de!="function")return jd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(de)+" at index "+le+"."),fg}function B(W,ie,te,se,we){for(var Se=[],je=0;je<H.length;je++){var Ye=H[je],Ge=Ye(W,ie,te,se,we,Fd);if(Ge==null)return null;Ge.data&&Y2(Ge.data,"expectedType")&&Se.push(Ge.data.expectedType)}var rt=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new p("Invalid "+se+" `"+we+"` supplied to "+("`"+te+"`"+rt+"."))}return m(B)}function j(){function H(le,de,B,W,ie){return ae(le[de])?null:new p("Invalid "+W+" `"+ie+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,de,B,W){return new p((H||"React class")+": "+le+" type `"+de+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function Z(H){function le(de,B,W,ie,te){var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type `"+we+"` "+("supplied to `"+W+"`, expected `object`."));for(var Se in H){var je=H[Se];if(typeof je!="function")return F(W,ie,te,Se,ye(je));var Ye=je(se,Se,W,ie,te+"."+Se,Fd);if(Ye)return Ye}return null}return m(le)}function O(H){function le(de,B,W,ie,te){var se=de[B],we=ee(se);if(we!=="object")return new p("Invalid "+ie+" `"+te+"` of type `"+we+"` "+("supplied to `"+W+"`, expected `object`."));var Se=VY({},de[B],H);for(var je in Se){var Ye=H[je];if(Y2(H,je)&&typeof Ye!="function")return F(W,ie,te,je,ye(Ye));if(!Ye)return new p("Invalid "+ie+" `"+te+"` key `"+je+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(de[B],null," ")+`
925
925
  Valid keys: `+JSON.stringify(Object.keys(H),null," "));var Ge=Ye(se,je,W,ie,te+"."+je,Fd);if(Ge)return Ge}return null}return m(le)}function ae(H){switch(typeof H){case"number":case"string":case"undefined":return!0;case"boolean":return!H;case"object":if(Array.isArray(H))return H.every(ae);if(H===null||r(H))return!0;var le=l(H);if(le){var de=le.call(H),B;if(le!==H.entries){for(;!(B=de.next()).done;)if(!ae(B.value))return!1}else for(;!(B=de.next()).done;){var W=B.value;if(W&&!ae(W[1]))return!1}}else return!1;return!0;default:return!1}}function ge(H,le){return H==="symbol"?!0:le?le["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&le instanceof Symbol:!1}function ee(H){var le=typeof H;return Array.isArray(H)?"array":H instanceof RegExp?"object":ge(le,H)?"symbol":le}function ye(H){if(typeof H=="undefined"||H===null)return""+H;var le=ee(H);if(le==="object"){if(H instanceof Date)return"date";if(H instanceof RegExp)return"regexp"}return le}function be(H){var le=ye(H);switch(le){case"array":case"object":return"an "+le;case"boolean":case"date":case"regexp":return"a "+le;default:return le}}function he(H){return!H.constructor||!H.constructor.name?f:H.constructor.name}return u.checkPropTypes=TE,u.resetWarningCache=TE.resetWarningCache,u.PropTypes=u,u}});var NE=Ue((kG,LE)=>{DE=U2(),AE=!0,LE.exports=RE()(DE.isElement,AE);var DE,AE});var ME=Ue((dg,OE)=>{(function(r,a){typeof dg=="object"&&typeof OE!="undefined"?a(dg,(pE(),EV(dE)),NE(),fr()):typeof define=="function"&&define.amd?define(["exports","@fortawesome/fontawesome-svg-core","prop-types","react"],a):(r=typeof globalThis!="undefined"?globalThis:r||self,a(r["react-fontawesome"]={},r.FontAwesome,r.PropTypes,r.React))})(dg,function(r,a,o,s){"use strict";function l(B){return B&&typeof B=="object"&&"default"in B?B:{default:B}}var f=l(o),u=l(s);function h(B,W){var ie=Object.keys(B);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(B);W&&(te=te.filter(function(se){return Object.getOwnPropertyDescriptor(B,se).enumerable})),ie.push.apply(ie,te)}return ie}function p(B){for(var W=1;W<arguments.length;W++){var ie=arguments[W]!=null?arguments[W]:{};W%2?h(Object(ie),!0).forEach(function(te){g(B,te,ie[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(ie)):h(Object(ie)).forEach(function(te){Object.defineProperty(B,te,Object.getOwnPropertyDescriptor(ie,te))})}return B}function m(B){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},m(B)}function g(B,W,ie){return W in B?Object.defineProperty(B,W,{value:ie,enumerable:!0,configurable:!0,writable:!0}):B[W]=ie,B}function b(B,W){if(B==null)return{};var ie={},te=Object.keys(B),se,we;for(we=0;we<te.length;we++)se=te[we],!(W.indexOf(se)>=0)&&(ie[se]=B[se]);return ie}function S(B,W){if(B==null)return{};var ie=b(B,W),te,se;if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(B);for(se=0;se<we.length;se++)te=we[se],!(W.indexOf(te)>=0)&&Object.prototype.propertyIsEnumerable.call(B,te)&&(ie[te]=B[te])}return ie}function w(B){return k(B)||L(B)||N(B)||M()}function k(B){if(Array.isArray(B))return Y(B)}function L(B){if(typeof Symbol!="undefined"&&B[Symbol.iterator]!=null||B["@@iterator"]!=null)return Array.from(B)}function N(B,W){if(B){if(typeof B=="string")return Y(B,W);var ie=Object.prototype.toString.call(B).slice(8,-1);if(ie==="Object"&&B.constructor&&(ie=B.constructor.name),ie==="Map"||ie==="Set")return Array.from(B);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return Y(B,W)}}function Y(B,W){(W==null||W>B.length)&&(W=B.length);for(var ie=0,te=new Array(W);ie<W;ie++)te[ie]=B[ie];return te}function M(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
926
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(B){var W,ie=B.beat,te=B.fade,se=B.beatFade,we=B.bounce,Se=B.shake,je=B.flash,Ye=B.spin,Ge=B.spinPulse,rt=B.spinReverse,et=B.pulse,Nt=B.fixedWidth,$t=B.inverse,dt=B.border,Xe=B.listItem,ke=B.flip,ot=B.size,kt=B.rotation,Tt=B.pull,wt=(W={"fa-beat":ie,"fa-fade":te,"fa-beat-fade":se,"fa-bounce":we,"fa-shake":Se,"fa-flash":je,"fa-spin":Ye,"fa-spin-reverse":rt,"fa-spin-pulse":Ge,"fa-pulse":et,"fa-fw":Nt,"fa-inverse":$t,"fa-border":dt,"fa-li":Xe,"fa-flip":ke===!0,"fa-flip-horizontal":ke==="horizontal"||ke==="both","fa-flip-vertical":ke==="vertical"||ke==="both"},g(W,"fa-".concat(ot),typeof ot!="undefined"&&ot!==null),g(W,"fa-rotate-".concat(kt),typeof kt!="undefined"&&kt!==null&&kt!==0),g(W,"fa-pull-".concat(Tt),typeof Tt!="undefined"&&Tt!==null),g(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(wt).map(function(tr){return wt[tr]?tr:null}).filter(function(tr){return tr})}function F(B){return B=B-0,B===B}function Z(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ie){return ie?ie.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var O=["style"];function ae(B){return B.charAt(0).toUpperCase()+B.slice(1)}function ge(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ie){var te=ie.indexOf(":"),se=Z(ie.slice(0,te)),we=ie.slice(te+1).trim();return se.startsWith("webkit")?W[ae(se)]=we:W[se]=we,W},{})}function ee(B,W){var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var te=(W.children||[]).map(function(Ye){return ee(B,Ye)}),se=Object.keys(W.attributes||{}).reduce(function(Ye,Ge){var rt=W.attributes[Ge];switch(Ge){case"class":Ye.attrs.className=rt,delete W.attributes.class;break;case"style":Ye.attrs.style=ge(rt);break;default:Ge.indexOf("aria-")===0||Ge.indexOf("data-")===0?Ye.attrs[Ge.toLowerCase()]=rt:Ye.attrs[Z(Ge)]=rt}return Ye},{attrs:{}}),we=ie.style,Se=we===void 0?{}:we,je=S(ie,O);return se.attrs.style=p(p({},se.attrs.style),Se),B.apply(void 0,[W.tag,p(p({},se.attrs),je)].concat(w(te)))}var ye=!1;try{ye=!1}catch(B){}function be(){if(!ye&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function he(B){if(B&&m(B)==="object"&&B.prefix&&B.iconName&&B.icon)return B;if(a.parse.icon)return a.parse.icon(B);if(B===null)return null;if(B&&m(B)==="object"&&B.prefix&&B.iconName)return B;if(Array.isArray(B)&&B.length===2)return{prefix:B[0],iconName:B[1]};if(typeof B=="string")return{prefix:"fas",iconName:B}}function H(B,W){return Array.isArray(W)&&W.length>0||!Array.isArray(W)&&W?g({},B,W):{}}var le=u.default.forwardRef(function(B,W){var ie=B.icon,te=B.mask,se=B.symbol,we=B.className,Se=B.title,je=B.titleId,Ye=B.maskId,Ge=he(ie),rt=H("classes",[].concat(w(j(B)),w(we.split(" ")))),et=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),Nt=H("mask",he(te)),$t=a.icon(Ge,p(p(p(p({},rt),et),Nt),{},{symbol:se,title:Se,titleId:je,maskId:Ye}));if(!$t)return be("Could not find icon",Ge),null;var dt=$t.abstract,Xe={ref:W};return Object.keys(B).forEach(function(ke){le.defaultProps.hasOwnProperty(ke)||(Xe[ke]=B[ke])}),de(dt[0],Xe)});le.displayName="FontAwesomeIcon",le.propTypes={beat:f.default.bool,border:f.default.bool,beatFade:f.default.bool,bounce:f.default.bool,className:f.default.string,fade:f.default.bool,flash:f.default.bool,mask:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),maskId:f.default.string,fixedWidth:f.default.bool,inverse:f.default.bool,flip:f.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),listItem:f.default.bool,pull:f.default.oneOf(["right","left"]),pulse:f.default.bool,rotation:f.default.oneOf([0,90,180,270]),shake:f.default.bool,size:f.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:f.default.bool,spinPulse:f.default.bool,spinReverse:f.default.bool,symbol:f.default.oneOfType([f.default.bool,f.default.string]),title:f.default.string,titleId:f.default.string,transform:f.default.oneOfType([f.default.string,f.default.object]),swapOpacity:f.default.bool},le.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var de=ee.bind(null,u.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var HE=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var PE="fas",IE="xmark",zE=384,BE=512,$2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],FE="f00d",jE="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";$o.definition={prefix:PE,iconName:IE,icon:[zE,BE,$2,FE,jE]};$o.faXmark=$o.definition;$o.prefix=PE;$o.iconName=IE;$o.width=zE;$o.height=BE;$o.ligatures=$2;$o.unicode=FE;$o.svgPathData=jE;$o.aliases=$2});var UE=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var eo=HE();Go.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};Go.faTimes=Go.definition;Go.prefix=eo.prefix;Go.iconName=eo.iconName;Go.width=eo.width;Go.height=eo.height;Go.ligatures=eo.aliases;Go.unicode=eo.unicode;Go.svgPathData=eo.svgPathData;Go.aliases=eo.aliases});var KE=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var VE="fas",WE="angle-right",qE=320,YE=512,G2=[8250],$E="f105",GE="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z";Ko.definition={prefix:VE,iconName:WE,icon:[qE,YE,G2,$E,GE]};Ko.faAngleRight=Ko.definition;Ko.prefix=VE;Ko.iconName=WE;Ko.width=qE;Ko.height=YE;Ko.ligatures=G2;Ko.unicode=$E;Ko.svgPathData=GE;Ko.aliases=G2});var rR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var XE="fas",QE="angle-left",JE=320,ZE=512,K2=[8249],eR="f104",tR="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";Xo.definition={prefix:XE,iconName:QE,icon:[JE,ZE,K2,eR,tR]};Xo.faAngleLeft=Xo.definition;Xo.prefix=XE;Xo.iconName=QE;Xo.width=JE;Xo.height=ZE;Xo.ligatures=K2;Xo.unicode=eR;Xo.svgPathData=tR;Xo.aliases=K2});var cR=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var aR="fas",nR="angle-up",oR=448,iR=512,X2=[8963],lR="f106",sR="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z";Qo.definition={prefix:aR,iconName:nR,icon:[oR,iR,X2,lR,sR]};Qo.faAngleUp=Qo.definition;Qo.prefix=aR;Qo.iconName=nR;Qo.width=oR;Qo.height=iR;Qo.ligatures=X2;Qo.unicode=lR;Qo.svgPathData=sR;Qo.aliases=X2});var vR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var uR="fas",fR="angle-down",dR=448,pR=512,Q2=[8964],hR="f107",mR="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";Jo.definition={prefix:uR,iconName:fR,icon:[dR,pR,Q2,hR,mR]};Jo.faAngleDown=Jo.definition;Jo.prefix=uR;Jo.iconName=fR;Jo.width=dR;Jo.height=pR;Jo.ligatures=Q2;Jo.unicode=hR;Jo.svgPathData=mR;Jo.aliases=Q2});var CR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var _R="fas",gR="chevron-left",bR=320,yR=512,J2=[9001],SR="f053",wR="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";Zo.definition={prefix:_R,iconName:gR,icon:[bR,yR,J2,SR,wR]};Zo.faChevronLeft=Zo.definition;Zo.prefix=_R;Zo.iconName=gR;Zo.width=bR;Zo.height=yR;Zo.ligatures=J2;Zo.unicode=SR;Zo.svgPathData=wR;Zo.aliases=J2});var AR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var xR="fas",kR="chevron-right",TR=320,ER=512,Z2=[9002],RR="f054",DR="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";ei.definition={prefix:xR,iconName:kR,icon:[TR,ER,Z2,RR,DR]};ei.faChevronRight=ei.definition;ei.prefix=xR;ei.iconName=kR;ei.width=TR;ei.height=ER;ei.ligatures=Z2;ei.unicode=RR;ei.svgPathData=DR;ei.aliases=Z2});var zR=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var LR="fas",NR="chevron-up",OR=512,MR=512,eS=[],PR="f077",IR="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";ti.definition={prefix:LR,iconName:NR,icon:[OR,MR,eS,PR,IR]};ti.faChevronUp=ti.definition;ti.prefix=LR;ti.iconName=NR;ti.width=OR;ti.height=MR;ti.ligatures=eS;ti.unicode=PR;ti.svgPathData=IR;ti.aliases=eS});var WR=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var BR="fas",FR="chevron-down",jR=512,HR=512,tS=[],UR="f078",VR="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";ri.definition={prefix:BR,iconName:FR,icon:[jR,HR,tS,UR,VR]};ri.faChevronDown=ri.definition;ri.prefix=BR;ri.iconName=FR;ri.width=jR;ri.height=HR;ri.ligatures=tS;ri.unicode=UR;ri.svgPathData=VR;ri.aliases=tS});var QR=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var qR="fas",YR="caret-left",$R=256,GR=512,rS=[],KR="f0d9",XR="M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z";ai.definition={prefix:qR,iconName:YR,icon:[$R,GR,rS,KR,XR]};ai.faCaretLeft=ai.definition;ai.prefix=qR;ai.iconName=YR;ai.width=$R;ai.height=GR;ai.ligatures=rS;ai.unicode=KR;ai.svgPathData=XR;ai.aliases=rS});var n6=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var JR="fas",ZR="caret-right",e6=256,t6=512,aS=[],r6="f0da",a6="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z";ni.definition={prefix:JR,iconName:ZR,icon:[e6,t6,aS,r6,a6]};ni.faCaretRight=ni.definition;ni.prefix=JR;ni.iconName=ZR;ni.width=e6;ni.height=t6;ni.ligatures=aS;ni.unicode=r6;ni.svgPathData=a6;ni.aliases=aS});var f6=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var o6="fas",i6="caret-up",l6=320,s6=512,nS=[],c6="f0d8",u6="M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z";oi.definition={prefix:o6,iconName:i6,icon:[l6,s6,nS,c6,u6]};oi.faCaretUp=oi.definition;oi.prefix=o6;oi.iconName=i6;oi.width=l6;oi.height=s6;oi.ligatures=nS;oi.unicode=c6;oi.svgPathData=u6;oi.aliases=nS});var g6=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var d6="fas",p6="caret-down",h6=320,m6=512,oS=[],v6="f0d7",_6="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z";ii.definition={prefix:d6,iconName:p6,icon:[h6,m6,oS,v6,_6]};ii.faCaretDown=ii.definition;ii.prefix=d6;ii.iconName=p6;ii.width=h6;ii.height=m6;ii.ligatures=oS;ii.unicode=v6;ii.svgPathData=_6;ii.aliases=oS});var k6=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var b6="fas",y6="arrow-left",S6=448,w6=512,iS=[8592],C6="f060",x6="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";li.definition={prefix:b6,iconName:y6,icon:[S6,w6,iS,C6,x6]};li.faArrowLeft=li.definition;li.prefix=b6;li.iconName=y6;li.width=S6;li.height=w6;li.ligatures=iS;li.unicode=C6;li.svgPathData=x6;li.aliases=iS});var sS=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var T6="fas",E6="arrow-right",R6=448,D6=512,lS=[8594],A6="f061",L6="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z";si.definition={prefix:T6,iconName:E6,icon:[R6,D6,lS,A6,L6]};si.faArrowRight=si.definition;si.prefix=T6;si.iconName=E6;si.width=R6;si.height=D6;si.ligatures=lS;si.unicode=A6;si.svgPathData=L6;si.aliases=lS});var uS=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var N6="fas",O6="arrow-up",M6=384,P6=512,cS=[8593],I6="f062",z6="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z";ci.definition={prefix:N6,iconName:O6,icon:[M6,P6,cS,I6,z6]};ci.faArrowUp=ci.definition;ci.prefix=N6;ci.iconName=O6;ci.width=M6;ci.height=P6;ci.ligatures=cS;ci.unicode=I6;ci.svgPathData=z6;ci.aliases=cS});var dS=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var B6="fas",F6="arrow-down",j6=384,H6=512,fS=[8595],U6="f063",V6="M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";ui.definition={prefix:B6,iconName:F6,icon:[j6,H6,fS,U6,V6]};ui.faArrowDown=ui.definition;ui.prefix=B6;ui.iconName=F6;ui.width=j6;ui.height=H6;ui.ligatures=fS;ui.unicode=U6;ui.svgPathData=V6;ui.aliases=fS});var X6=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var W6="fas",q6="rotate",Y6=512,$6=512,pS=[128260,"sync-alt"],G6="f2f1",K6="M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z";fi.definition={prefix:W6,iconName:q6,icon:[Y6,$6,pS,G6,K6]};fi.faRotate=fi.definition;fi.prefix=W6;fi.iconName=q6;fi.width=Y6;fi.height=$6;fi.ligatures=pS;fi.unicode=G6;fi.svgPathData=K6;fi.aliases=pS});var aD=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var Q6="fas",J6="arrow-rotate-right",Z6=512,eD=512,hS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],tD="f01e",rD="M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z";di.definition={prefix:Q6,iconName:J6,icon:[Z6,eD,hS,tD,rD]};di.faArrowRotateRight=di.definition;di.prefix=Q6;di.iconName=J6;di.width=Z6;di.height=eD;di.ligatures=hS;di.unicode=tD;di.svgPathData=rD;di.aliases=hS});var nD=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var to=aD();pi.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};pi.faRedo=pi.definition;pi.prefix=to.prefix;pi.iconName=to.iconName;pi.width=to.width;pi.height=to.height;pi.ligatures=to.aliases;pi.unicode=to.unicode;pi.svgPathData=to.svgPathData;pi.aliases=to.aliases});var fD=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var oD="fas",iD="check",lD=448,sD=512,mS=[10003,10004],cD="f00c",uD="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";hi.definition={prefix:oD,iconName:iD,icon:[lD,sD,mS,cD,uD]};hi.faCheck=hi.definition;hi.prefix=oD;hi.iconName=iD;hi.width=lD;hi.height=sD;hi.ligatures=mS;hi.unicode=cD;hi.svgPathData=uD;hi.aliases=mS});var gD=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var dD="fas",pD="question",hD=320,mD=512,vS=[10067,10068,61736],vD="3f",_D="M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";mi.definition={prefix:dD,iconName:pD,icon:[hD,mD,vS,vD,_D]};mi.faQuestion=mi.definition;mi.prefix=dD;mi.iconName=pD;mi.width=hD;mi.height=mD;mi.ligatures=vS;mi.unicode=vD;mi.svgPathData=_D;mi.aliases=vS});var kD=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var bD="fas",yD="exclamation",SD=128,wD=512,_S=[10069,10071,61738],CD="21",xD="M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32L96 64zM64 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";vi.definition={prefix:bD,iconName:yD,icon:[SD,wD,_S,CD,xD]};vi.faExclamation=vi.definition;vi.prefix=bD;vi.iconName=yD;vi.width=SD;vi.height=wD;vi.ligatures=_S;vi.unicode=CD;vi.svgPathData=xD;vi.aliases=_S});var ND=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var TD="fas",ED="triangle-exclamation",RD=512,DD=512,gS=[9888,"exclamation-triangle","warning"],AD="f071",LD="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";_i.definition={prefix:TD,iconName:ED,icon:[RD,DD,gS,AD,LD]};_i.faTriangleExclamation=_i.definition;_i.prefix=TD;_i.iconName=ED;_i.width=RD;_i.height=DD;_i.ligatures=gS;_i.unicode=AD;_i.svgPathData=LD;_i.aliases=gS});var OD=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var ro=ND();gi.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};gi.faExclamationTriangle=gi.definition;gi.prefix=ro.prefix;gi.iconName=ro.iconName;gi.width=ro.width;gi.height=ro.height;gi.ligatures=ro.aliases;gi.unicode=ro.unicode;gi.svgPathData=ro.svgPathData;gi.aliases=ro.aliases});var jD=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var MD="fas",PD="house",ID=576,zD=512,bS=[127968,63498,63500,"home","home-alt","home-lg-alt"],BD="f015",FD="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z";bi.definition={prefix:MD,iconName:PD,icon:[ID,zD,bS,BD,FD]};bi.faHouse=bi.definition;bi.prefix=MD;bi.iconName=PD;bi.width=ID;bi.height=zD;bi.ligatures=bS;bi.unicode=BD;bi.svgPathData=FD;bi.aliases=bS});var HD=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var ao=jD();yi.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};yi.faHome=yi.definition;yi.prefix=ao.prefix;yi.iconName=ao.iconName;yi.width=ao.width;yi.height=ao.height;yi.ligatures=ao.aliases;yi.unicode=ao.unicode;yi.svgPathData=ao.svgPathData;yi.aliases=ao.aliases});var GD=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var UD="fas",VD="share",WD=512,qD=512,yS=["mail-forward"],YD="f064",$D="M307 34.8c-11.5 5.1-19 16.6-19 29.2l0 64-112 0C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96l96 0 0 64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z";Si.definition={prefix:UD,iconName:VD,icon:[WD,qD,yS,YD,$D]};Si.faShare=Si.definition;Si.prefix=UD;Si.iconName=VD;Si.width=WD;Si.height=qD;Si.ligatures=yS;Si.unicode=YD;Si.svgPathData=$D;Si.aliases=yS});var tA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var KD="fas",XD="magnifying-glass",QD=512,JD=512,SS=[128269,"search"],ZD="f002",eA="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";wi.definition={prefix:KD,iconName:XD,icon:[QD,JD,SS,ZD,eA]};wi.faMagnifyingGlass=wi.definition;wi.prefix=KD;wi.iconName=XD;wi.width=QD;wi.height=JD;wi.ligatures=SS;wi.unicode=ZD;wi.svgPathData=eA;wi.aliases=SS});var rA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var no=tA();Ci.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};Ci.faSearch=Ci.definition;Ci.prefix=no.prefix;Ci.iconName=no.iconName;Ci.width=no.width;Ci.height=no.height;Ci.ligatures=no.aliases;Ci.unicode=no.unicode;Ci.svgPathData=no.svgPathData;Ci.aliases=no.aliases});var cA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var aA="fas",nA="yen-sign",oA=320,iA=512,wS=[165,"cny","jpy","rmb","yen"],lA="f157",sA="M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z";xi.definition={prefix:aA,iconName:nA,icon:[oA,iA,wS,lA,sA]};xi.faYenSign=xi.definition;xi.prefix=aA;xi.iconName=nA;xi.width=oA;xi.height=iA;xi.ligatures=wS;xi.unicode=lA;xi.svgPathData=sA;xi.aliases=wS});var vA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var uA="fas",fA="pen",dA=512,pA=512,CS=[128394],hA="f304",mA="M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z";ki.definition={prefix:uA,iconName:fA,icon:[dA,pA,CS,hA,mA]};ki.faPen=ki.definition;ki.prefix=uA;ki.iconName=fA;ki.width=dA;ki.height=pA;ki.ligatures=CS;ki.unicode=hA;ki.svgPathData=mA;ki.aliases=CS});var CA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var _A="fas",gA="bars",bA=448,yA=512,xS=["navicon"],SA="f0c9",wA="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";Ti.definition={prefix:_A,iconName:gA,icon:[bA,yA,xS,SA,wA]};Ti.faBars=Ti.definition;Ti.prefix=_A;Ti.iconName=gA;Ti.width=bA;Ti.height=yA;Ti.ligatures=xS;Ti.unicode=SA;Ti.svgPathData=wA;Ti.aliases=xS});var AA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var xA="fas",kA="download",TA=512,EA=512,kS=[],RA="f019",DA="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";Ei.definition={prefix:xA,iconName:kA,icon:[TA,EA,kS,RA,DA]};Ei.faDownload=Ei.definition;Ei.prefix=xA;Ei.iconName=kA;Ei.width=TA;Ei.height=EA;Ei.ligatures=kS;Ei.unicode=RA;Ei.svgPathData=DA;Ei.aliases=kS});var zA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var LA="fas",NA="link",OA=640,MA=512,TS=[128279,"chain"],PA="f0c1",IA="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z";Ri.definition={prefix:LA,iconName:NA,icon:[OA,MA,TS,PA,IA]};Ri.faLink=Ri.definition;Ri.prefix=LA;Ri.iconName=NA;Ri.width=OA;Ri.height=MA;Ri.ligatures=TS;Ri.unicode=PA;Ri.svgPathData=IA;Ri.aliases=TS});var WA=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var BA="fas",FA="link-slash",jA=640,HA=512,ES=["chain-broken","chain-slash","unlink"],UA="f127",VA="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z";Di.definition={prefix:BA,iconName:FA,icon:[jA,HA,ES,UA,VA]};Di.faLinkSlash=Di.definition;Di.prefix=BA;Di.iconName=FA;Di.width=jA;Di.height=HA;Di.ligatures=ES;Di.unicode=UA;Di.svgPathData=VA;Di.aliases=ES});var QA=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var qA="fas",YA="up-right-from-square",$A=512,GA=512,RS=["external-link-alt"],KA="f35d",XA="M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z";Ai.definition={prefix:qA,iconName:YA,icon:[$A,GA,RS,KA,XA]};Ai.faUpRightFromSquare=Ai.definition;Ai.prefix=qA;Ai.iconName=YA;Ai.width=$A;Ai.height=GA;Ai.ligatures=RS;Ai.unicode=KA;Ai.svgPathData=XA;Ai.aliases=RS});var JA=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var oo=QA();Li.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Li.faExternalLinkAlt=Li.definition;Li.prefix=oo.prefix;Li.iconName=oo.iconName;Li.width=oo.width;Li.height=oo.height;Li.ligatures=oo.aliases;Li.unicode=oo.unicode;Li.svgPathData=oo.svgPathData;Li.aliases=oo.aliases});var o8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var ZA="fas",e8="gear",t8=512,r8=512,DS=[9881,"cog"],a8="f013",n8="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z";Ni.definition={prefix:ZA,iconName:e8,icon:[t8,r8,DS,a8,n8]};Ni.faGear=Ni.definition;Ni.prefix=ZA;Ni.iconName=e8;Ni.width=t8;Ni.height=r8;Ni.ligatures=DS;Ni.unicode=a8;Ni.svgPathData=n8;Ni.aliases=DS});var d8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var i8="fas",l8="plus",s8=448,c8=512,AS=[10133,61543,"add"],u8="2b",f8="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z";Oi.definition={prefix:i8,iconName:l8,icon:[s8,c8,AS,u8,f8]};Oi.faPlus=Oi.definition;Oi.prefix=i8;Oi.iconName=l8;Oi.width=s8;Oi.height=c8;Oi.ligatures=AS;Oi.unicode=u8;Oi.svgPathData=f8;Oi.aliases=AS});var b8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var p8="fas",h8="minus",m8=448,v8=512,LS=[8211,8722,10134,"subtract"],_8="f068",g8="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";Mi.definition={prefix:p8,iconName:h8,icon:[m8,v8,LS,_8,g8]};Mi.faMinus=Mi.definition;Mi.prefix=p8;Mi.iconName=h8;Mi.width=m8;Mi.height=v8;Mi.ligatures=LS;Mi.unicode=_8;Mi.svgPathData=g8;Mi.aliases=LS});var T8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var y8="fas",S8="ellipsis",w8=448,C8=512,NS=["ellipsis-h"],x8="f141",k8="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z";Pi.definition={prefix:y8,iconName:S8,icon:[w8,C8,NS,x8,k8]};Pi.faEllipsis=Pi.definition;Pi.prefix=y8;Pi.iconName=S8;Pi.width=w8;Pi.height=C8;Pi.ligatures=NS;Pi.unicode=x8;Pi.svgPathData=k8;Pi.aliases=NS});var E8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var io=T8();Ii.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Ii.faEllipsisH=Ii.definition;Ii.prefix=io.prefix;Ii.iconName=io.iconName;Ii.width=io.width;Ii.height=io.height;Ii.ligatures=io.aliases;Ii.unicode=io.unicode;Ii.svgPathData=io.svgPathData;Ii.aliases=io.aliases});var M8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var R8="fas",D8="ellipsis-vertical",A8=128,L8=512,OS=["ellipsis-v"],N8="f142",O8="M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z";zi.definition={prefix:R8,iconName:D8,icon:[A8,L8,OS,N8,O8]};zi.faEllipsisVertical=zi.definition;zi.prefix=R8;zi.iconName=D8;zi.width=A8;zi.height=L8;zi.ligatures=OS;zi.unicode=N8;zi.svgPathData=O8;zi.aliases=OS});var P8=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var lo=M8();Bi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Bi.faEllipsisV=Bi.definition;Bi.prefix=lo.prefix;Bi.iconName=lo.iconName;Bi.width=lo.width;Bi.height=lo.height;Bi.ligatures=lo.aliases;Bi.unicode=lo.unicode;Bi.svgPathData=lo.svgPathData;Bi.aliases=lo.aliases});var U8=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var I8="fas",z8="star",B8=576,F8=512,MS=[11088,61446],j8="f005",H8="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z";Fi.definition={prefix:I8,iconName:z8,icon:[B8,F8,MS,j8,H8]};Fi.faStar=Fi.definition;Fi.prefix=I8;Fi.iconName=z8;Fi.width=B8;Fi.height=F8;Fi.ligatures=MS;Fi.unicode=j8;Fi.svgPathData=H8;Fi.aliases=MS});var K8=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var V8="fas",W8="paper-plane",q8=512,Y8=512,PS=[61913],$8="f1d8",G8="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";ji.definition={prefix:V8,iconName:W8,icon:[q8,Y8,PS,$8,G8]};ji.faPaperPlane=ji.definition;ji.prefix=V8;ji.iconName=W8;ji.width=q8;ji.height=Y8;ji.ligatures=PS;ji.unicode=$8;ji.svgPathData=G8;ji.aliases=PS});var rL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var X8="fas",Q8="heart",J8=512,Z8=512,IS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],eL="f004",tL="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z";Hi.definition={prefix:X8,iconName:Q8,icon:[J8,Z8,IS,eL,tL]};Hi.faHeart=Hi.definition;Hi.prefix=X8;Hi.iconName=Q8;Hi.width=J8;Hi.height=Z8;Hi.ligatures=IS;Hi.unicode=eL;Hi.svgPathData=tL;Hi.aliases=IS});var cL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var aL="fas",nL="ban",oL=512,iL=512,zS=[128683,"cancel"],lL="f05e",sL="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";Ui.definition={prefix:aL,iconName:nL,icon:[oL,iL,zS,lL,sL]};Ui.faBan=Ui.definition;Ui.prefix=aL;Ui.iconName=nL;Ui.width=oL;Ui.height=iL;Ui.ligatures=zS;Ui.unicode=lL;Ui.svgPathData=sL;Ui.aliases=zS});var vL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var uL="fas",fL="location-crosshairs",dL=512,pL=512,BS=["location"],hL="f601",mL="M256 0c17.7 0 32 14.3 32 32l0 34.7C368.4 80.1 431.9 143.6 445.3 224l34.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-34.7 0C431.9 368.4 368.4 431.9 288 445.3l0 34.7c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.7C143.6 431.9 80.1 368.4 66.7 288L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l34.7 0C80.1 143.6 143.6 80.1 224 66.7L224 32c0-17.7 14.3-32 32-32zM128 256a128 128 0 1 0 256 0 128 128 0 1 0 -256 0zm128-80a80 80 0 1 1 0 160 80 80 0 1 1 0-160z";Vi.definition={prefix:uL,iconName:fL,icon:[dL,pL,BS,hL,mL]};Vi.faLocationCrosshairs=Vi.definition;Vi.prefix=uL;Vi.iconName=fL;Vi.width=dL;Vi.height=pL;Vi.ligatures=BS;Vi.unicode=hL;Vi.svgPathData=mL;Vi.aliases=BS});var CL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var _L="far",gL="user",bL=448,yL=512,FS=[128100,62144],SL="f007",wL="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z";Wi.definition={prefix:_L,iconName:gL,icon:[bL,yL,FS,SL,wL]};Wi.faUser=Wi.definition;Wi.prefix=_L;Wi.iconName=gL;Wi.width=bL;Wi.height=yL;Wi.ligatures=FS;Wi.unicode=SL;Wi.svgPathData=wL;Wi.aliases=FS});var AL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var xL="far",kL="circle-check",TL=512,EL=512,jS=[61533,"check-circle"],RL="f058",DL="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";qi.definition={prefix:xL,iconName:kL,icon:[TL,EL,jS,RL,DL]};qi.faCircleCheck=qi.definition;qi.prefix=xL;qi.iconName=kL;qi.width=TL;qi.height=EL;qi.ligatures=jS;qi.unicode=RL;qi.svgPathData=DL;qi.aliases=jS});var LL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var so=AL();Yi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Yi.faCheckCircle=Yi.definition;Yi.prefix=so.prefix;Yi.iconName=so.iconName;Yi.width=so.width;Yi.height=so.height;Yi.ligatures=so.aliases;Yi.unicode=so.unicode;Yi.svgPathData=so.svgPathData;Yi.aliases=so.aliases});var BL=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var NL="far",OL="circle-question",ML=512,PL=512,HS=[62108,"question-circle"],IL="f059",zL="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";$i.definition={prefix:NL,iconName:OL,icon:[ML,PL,HS,IL,zL]};$i.faCircleQuestion=$i.definition;$i.prefix=NL;$i.iconName=OL;$i.width=ML;$i.height=PL;$i.ligatures=HS;$i.unicode=IL;$i.svgPathData=zL;$i.aliases=HS});var FL=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var co=BL();Gi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Gi.faQuestionCircle=Gi.definition;Gi.prefix=co.prefix;Gi.iconName=co.iconName;Gi.width=co.width;Gi.height=co.height;Gi.ligatures=co.aliases;Gi.unicode=co.unicode;Gi.svgPathData=co.svgPathData;Gi.aliases=co.aliases});var YL=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var jL="far",HL="pen-to-square",UL=512,VL=512,US=["edit"],WL="f044",qL="M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z";Ki.definition={prefix:jL,iconName:HL,icon:[UL,VL,US,WL,qL]};Ki.faPenToSquare=Ki.definition;Ki.prefix=jL;Ki.iconName=HL;Ki.width=UL;Ki.height=VL;Ki.ligatures=US;Ki.unicode=WL;Ki.svgPathData=qL;Ki.aliases=US});var $L=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var uo=YL();Xi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};Xi.faEdit=Xi.definition;Xi.prefix=uo.prefix;Xi.iconName=uo.iconName;Xi.width=uo.width;Xi.height=uo.height;Xi.ligatures=uo.aliases;Xi.unicode=uo.unicode;Xi.svgPathData=uo.svgPathData;Xi.aliases=uo.aliases});var eN=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var GL="far",KL="copy",XL=448,QL=512,VS=[],JL="f0c5",ZL="M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z";Qi.definition={prefix:GL,iconName:KL,icon:[XL,QL,VS,JL,ZL]};Qi.faCopy=Qi.definition;Qi.prefix=GL;Qi.iconName=KL;Qi.width=XL;Qi.height=QL;Qi.ligatures=VS;Qi.unicode=JL;Qi.svgPathData=ZL;Qi.aliases=VS});var lN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var tN="far",rN="file",aN=384,nN=512,WS=[128196,128459,61462],oN="f15b",iN="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z";Ji.definition={prefix:tN,iconName:rN,icon:[aN,nN,WS,oN,iN]};Ji.faFile=Ji.definition;Ji.prefix=tN;Ji.iconName=rN;Ji.width=aN;Ji.height=nN;Ji.ligatures=WS;Ji.unicode=oN;Ji.svgPathData=iN;Ji.aliases=WS});var hN=Ue(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var sN="far",cN="trash-can",uN=448,fN=512,qS=[61460,"trash-alt"],dN="f2ed",pN="M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z";Zi.definition={prefix:sN,iconName:cN,icon:[uN,fN,qS,dN,pN]};Zi.faTrashCan=Zi.definition;Zi.prefix=sN;Zi.iconName=cN;Zi.width=uN;Zi.height=fN;Zi.ligatures=qS;Zi.unicode=dN;Zi.svgPathData=pN;Zi.aliases=qS});var mN=Ue(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});var fo=hN();el.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};el.faTrashAlt=el.definition;el.prefix=fo.prefix;el.iconName=fo.iconName;el.width=fo.width;el.height=fo.height;el.ligatures=fo.aliases;el.unicode=fo.unicode;el.svgPathData=fo.svgPathData;el.aliases=fo.aliases});var wN=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var vN="far",_N="image",gN=512,bN=512,YS=[],yN="f03e",SN="M448 80c8.8 0 16 7.2 16 16V415.8l-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3V96c0-8.8 7.2-16 16-16H448zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";tl.definition={prefix:vN,iconName:_N,icon:[gN,bN,YS,yN,SN]};tl.faImage=tl.definition;tl.prefix=vN;tl.iconName=_N;tl.width=gN;tl.height=bN;tl.ligatures=YS;tl.unicode=yN;tl.svgPathData=SN;tl.aliases=YS});var X7=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var W7="fas",q7="eye",Y7=576,$7=512,sw=[128065],G7="f06e",K7="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z";nl.definition={prefix:W7,iconName:q7,icon:[Y7,$7,sw,G7,K7]};nl.faEye=nl.definition;nl.prefix=W7;nl.iconName=q7;nl.width=Y7;nl.height=$7;nl.ligatures=sw;nl.unicode=G7;nl.svgPathData=K7;nl.aliases=sw});var sO=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var rO="fas",aO="clock",nO=512,oO=512,fw=[128339,"clock-four"],iO="f017",lO="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z";ol.definition={prefix:rO,iconName:aO,icon:[nO,oO,fw,iO,lO]};ol.faClock=ol.definition;ol.prefix=rO;ol.iconName=aO;ol.width=nO;ol.height=oO;ol.ligatures=fw;ol.unicode=iO;ol.svgPathData=lO;ol.aliases=fw});var mO=Ue(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});var cO="fas",uO="calendar-days",fO=448,dO=512,dw=["calendar-alt"],pO="f073",hO="M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z";il.definition={prefix:cO,iconName:uO,icon:[fO,dO,dw,pO,hO]};il.faCalendarDays=il.definition;il.prefix=cO;il.iconName=uO;il.width=fO;il.height=dO;il.ligatures=dw;il.unicode=pO;il.svgPathData=hO;il.aliases=dw});var vO=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var ho=mO();ll.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};ll.faCalendarAlt=ll.definition;ll.prefix=ho.prefix;ll.iconName=ho.iconName;ll.width=ho.width;ll.height=ho.height;ll.ligatures=ho.aliases;ll.unicode=ho.unicode;ll.svgPathData=ho.svgPathData;ll.aliases=ho.aliases});var MO=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var RO="fas",DO="cloud-arrow-up",AO=640,LO=512,_w=[62338,"cloud-upload","cloud-upload-alt"],NO="f0ee",OO="M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39L296 392c0 13.3 10.7 24 24 24s24-10.7 24-24l0-134.1 39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z";sl.definition={prefix:RO,iconName:DO,icon:[AO,LO,_w,NO,OO]};sl.faCloudArrowUp=sl.definition;sl.prefix=RO;sl.iconName=DO;sl.width=AO;sl.height=LO;sl.ligatures=_w;sl.unicode=NO;sl.svgPathData=OO;sl.aliases=_w});var aM=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var QO="fas",JO="grip-vertical",ZO=320,eM=512,xw=[],tM="f58e",rM="M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z";ul.definition={prefix:QO,iconName:JO,icon:[ZO,eM,xw,tM,rM]};ul.faGripVertical=ul.definition;ul.prefix=QO;ul.iconName=JO;ul.width=ZO;ul.height=eM;ul.ligatures=xw;ul.unicode=tM;ul.svgPathData=rM;ul.aliases=xw});var fM=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var oM="fas",iM="filter",lM=512,sM=512,Ew=[],cM="f0b0",uM="M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z";fl.definition={prefix:oM,iconName:iM,icon:[lM,sM,Ew,cM,uM]};fl.faFilter=fl.definition;fl.prefix=oM;fl.iconName=iM;fl.width=lM;fl.height=sM;fl.ligatures=Ew;fl.unicode=cM;fl.svgPathData=uM;fl.aliases=Ew});var wM=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var vM="fas",_M="palette",gM=512,bM=512,Dw=[127912],yM="f53f",SM="M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";dl.definition={prefix:vM,iconName:_M,icon:[gM,bM,Dw,yM,SM]};dl.faPalette=dl.definition;dl.prefix=vM;dl.iconName=_M;dl.width=gM;dl.height=bM;dl.ligatures=Dw;dl.unicode=yM;dl.svgPathData=SM;dl.aliases=Dw});var DM=Ue(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var CM="fas",xM="bars-staggered",kM=512,TM=512,Aw=["reorder","stream"],EM="f550",RM="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";pl.definition={prefix:CM,iconName:xM,icon:[kM,TM,Aw,EM,RM]};pl.faBarsStaggered=pl.definition;pl.prefix=CM;pl.iconName=xM;pl.width=kM;pl.height=TM;pl.ligatures=Aw;pl.unicode=EM;pl.svgPathData=RM;pl.aliases=Aw});var IM=Ue(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var AM="fas",LM="rotate-left",NM=512,OM=512,Lw=["rotate-back","rotate-backward","undo-alt"],MM="f2ea",PM="M48.5 224L40 224c-13.3 0-24-10.7-24-24L16 72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8L48.5 224z";hl.definition={prefix:AM,iconName:LM,icon:[NM,OM,Lw,MM,PM]};hl.faRotateLeft=hl.definition;hl.prefix=AM;hl.iconName=LM;hl.width=NM;hl.height=OM;hl.ligatures=Lw;hl.unicode=MM;hl.svgPathData=PM;hl.aliases=Lw});var VM=Ue(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});var zM="fas",BM="rotate-right",FM=512,jM=512,Nw=["redo-alt","rotate-forward"],HM="f2f9",UM="M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z";ml.definition={prefix:zM,iconName:BM,icon:[FM,jM,Nw,HM,UM]};ml.faRotateRight=ml.definition;ml.prefix=zM;ml.iconName=BM;ml.width=FM;ml.height=jM;ml.ligatures=Nw;ml.unicode=HM;ml.svgPathData=UM;ml.aliases=Nw});var Bw=Ue(()=>{"use strict"});var Fw=Ue(()=>{"use strict"});var JM=K(rT()),Ps=K(ZT()),op=K(fr()),Ug=K(ar());var Fr={};Ed(Fr,{$$fromRoot:()=>vt,Accordion:()=>aw,Anchor:()=>df,Box:()=>X,Button:()=>lt,Card:()=>Vd,ColorObjects:()=>Gh,Column:()=>er,Config:()=>ht,Cropper:()=>Mw,DarkmodeColors:()=>QM,Effect:()=>mc,ExtractStyles:()=>Ol,FAI:()=>Ne,Flex:()=>Lt,FlexBr:()=>k7,GenerateHTMLProps:()=>To,Grid:()=>Wd,Img:()=>Es,Input:()=>wa,Label:()=>vg,LaunchReactApp:()=>jg,LeftIcon:()=>$d,LeftIndicator:()=>wg,LinkifyText:()=>F7,List:()=>j7,ListItem:()=>Gd,Loader:()=>Ao,Logo:()=>Rs,OmitSign:()=>Sg,P:()=>x7,PageNotFound:()=>KM,PageViewController:()=>M7,Placeholder:()=>C7,Plate:()=>_g,ReadStyleSet:()=>sm,RequiredShortSign:()=>yg,RequiredSign:()=>bg,RightIcon:()=>Fa,RightIndicator:()=>Cg,RootViewController:()=>As,Row:()=>gt,SetThemeColorTag:()=>$h,Sheet:()=>sr,Snackbar:()=>ns,Span:()=>Cn,SwipeView:()=>P7,TabBar:()=>$O,Table:()=>Bg,Text:()=>or,ThemeColors:()=>Iw,Tips:()=>_c,Tooltips:()=>Oa,amotify:()=>H$,default:()=>H$,pageRouter:()=>Pn,useRefresh:()=>El,useRouterEffect:()=>Fg});var YW=Object.defineProperty,$W=Object.defineProperties,GW=Object.getOwnPropertyDescriptors,W_=Object.getOwnPropertySymbols,l5=Object.prototype.hasOwnProperty,s5=Object.prototype.propertyIsEnumerable,c5=Math.pow,i5=(r,a,o)=>a in r?YW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,v=(r,a)=>{for(var o in a||(a={}))l5.call(a,o)&&i5(r,o,a[o]);if(W_)for(var o of W_(a))s5.call(a,o)&&i5(r,o,a[o]);return r},T=(r,a)=>$W(r,GW(a)),$e=(r,a)=>{var o={};for(var s in r)l5.call(r,s)&&a.indexOf(s)<0&&(o[s]=r[s]);if(r!=null&&W_)for(var s of W_(r))a.indexOf(s)<0&&s5.call(r,s)&&(o[s]=r[s]);return o},La=(r,a,o)=>new Promise((s,l)=>{var f=p=>{try{h(o.next(p))}catch(m){l(m)}},u=p=>{try{h(o.throw(p))}catch(m){l(m)}},h=p=>p.done?s(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var zw={};Ed(zw,{$$fromRoot:()=>vt,ColorObjects:()=>Gh,Config:()=>ht,DarkmodeColors:()=>QM,ExtractStyles:()=>Ol,GenerateHTMLProps:()=>To,LaunchReactApp:()=>jg,ReadStyleSet:()=>sm,SetThemeColorTag:()=>$h,ThemeColors:()=>Iw,pageRouter:()=>Pn,useRefresh:()=>El,useRouterEffect:()=>Fg});var qo=K(ar());var ko={sessionUID:(0,qo.UUID)(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},ht={get:()=>ko,set:r=>{ko=v(v({},ko),r)},update:{themeColor:r=>{if(Gh.find(o=>o.key==r)||(r="comun"),r==ht.get().themeColor)return;ht.set(T(v({},ht.get()),{themeColor:r}));let a=(0,qo.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{$h()}),ht.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==ht.get().darkMode)return;let a=r=="auto"?ht.get().isSystemDarkmode()?"dark":"light":r;ht.set(T(v({},ht.get()),{darkMode:a}));let o=(0,qo.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),ht.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=ht.get().roundness&&(ht.set(T(v({},ht.get()),{roundness:r})),ht.restart((0,qo.UUID)()))},screen:r=>{ht.get().screen=v(v({},ht.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",s=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";ko.appRoot=r.appRoot||document.body,ko.appRoot instanceof HTMLElement&&(ko.appRoot.tabIndex=0),qo.default.is.exist(r.roundness)&&ht.update.roundness(r.roundness),qo.default.is.exist(r.themeColor)&&ht.update.themeColor(r.themeColor),qo.default.is.exist(r.darkMode)&&ht.update.darkMode(r.darkMode),ko.deviceIs=o,ko.browserIs=s,ko.isPhone=["Android","iPhone"].includes(o),ko.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,ko.isIOS=["iPhone","iPad"].includes(o),ko.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,ko.isIOS=["iPhone","iPad"].includes(o),ko.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(l=834)=>window.innerWidth<=l,isPhonepoint:(l=690)=>window.innerWidth<=l},(0,qo.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+ht.get().deviceIs,"bdsDM_"+ht.get().darkMode,"bdsTC_"+ht.get().themeColor]),(0,qo.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let l=document.body.style,f=(0,qo.default)(document.body),u=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-u-h;l.setProperty("--viewHeight",window.innerHeight+"px"),l.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{ht.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let l=(0,qo.default)(document.body),f=window.innerHeight,u=Number(l.getStyleProperty("--topNavHeight").removeLetters()),h=Number(l.getStyleProperty("--footerNavHeight").removeLetters()),p=f-u-h;l.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),$h()},restart:r=>{El.release("LaunchReactApp_"+ht.get().sessionUID,r)}};var Yo=K(ar()),Od=K(fr()),El={catch:r=>{let[a]=(0,Od.useState)((0,Yo.UUID)()),[o,s]=(0,Od.useState)((0,Yo.UUID)()),[l,f]=(0,Od.useState)(null),u="RefreshKey_"+a;return(0,Od.useEffect)(()=>{var h;Yo.useStore.set({[u]:m=>{s((0,Yo.UUID)()),f(m||null)}});let p=((h=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Yo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Yo.useStore.delete(u);let g=((m=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=g.indexOf(a);b!==-1&&(g.splice(b,1),Yo.useStore.update({["RefreshKeys_"+r]:{keys:g}}))}},[]),l},release:(r,a)=>{var o;let s=((o=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(s&&s.length)for(let l of s){let f=Yo.useStore.get("RefreshKey_"+l);f&&f(a)}}};var yu=K(fr());var Pw={};Ed(Pw,{Anchor:()=>df,Button:()=>lt,Cropper:()=>Mw,Effect:()=>mc,Input:()=>wa,Label:()=>vg,LeftIcon:()=>$d,LeftIndicator:()=>wg,Loader:()=>Ao,OmitSign:()=>Sg,PageNotFound:()=>KM,PageViewController:()=>M7,Plate:()=>_g,RequiredShortSign:()=>yg,RequiredSign:()=>bg,RightIcon:()=>Fa,RightIndicator:()=>Cg,RootViewController:()=>As,Sheet:()=>sr,Snackbar:()=>ns,SwipeView:()=>P7,TabBar:()=>$O,Table:()=>Bg,Tips:()=>_c,Tooltips:()=>Oa});var Dl=K(At()),du=K(fr()),Ya=K(ar());var QS={};Ed(QS,{Box:()=>X,Card:()=>Vd,Column:()=>er,FAI:()=>Ne,Flex:()=>Lt,FlexBr:()=>k7,Grid:()=>Wd,Img:()=>Es,Logo:()=>Rs,P:()=>x7,Placeholder:()=>C7,Span:()=>Cn});var ff=K(At());var d5=K(At());var X=r=>{let a=To(r),{htmlTag:o}=a,s=$e(a,["htmlTag"]),l=o||"div";return l?(0,d5.jsx)(l,v({},s)):null};var It=K(At());var CN=K(ME()),xN=K(UE()),kN=K(KE()),TN=K(rR()),EN=K(cR()),RN=K(vR()),DN=K(CR()),AN=K(AR()),LN=K(zR()),NN=K(WR()),ON=K(QR()),MN=K(n6()),PN=K(f6()),IN=K(g6()),zN=K(k6()),BN=K(sS()),FN=K(uS()),jN=K(dS()),HN=K(X6()),UN=K(nD()),VN=K(fD()),WN=K(gD()),qN=K(kD()),YN=K(OD()),$N=K(HD()),GN=K(GD()),KN=K(rA()),XN=K(cA()),QN=K(vA()),JN=K(CA()),ZN=K(AA()),e7=K(zA()),t7=K(WA()),r7=K(JA()),a7=K(o8()),n7=K(d8()),o7=K(b8()),i7=K(E8()),l7=K(P8()),s7=K(U8()),c7=K(K8()),u7=K(rL()),f7=K(cL()),d7=K(vL()),p7=K(CL()),h7=K(LL()),m7=K(FL()),v7=K($L()),_7=K(eN()),g7=K(lN()),b7=K(mN()),y7=K(wN()),Bt=r=>{let a=r,{icon:o}=a,s=$e(a,["icon"]),l=To(s);return(0,It.jsx)(CN.FontAwesomeIcon,T(v({icon:o,size:"1x"},l),{style:v({aspectRatio:"1"},l==null?void 0:l.style)}))},Ne=Bt;Ne.User=r=>(0,It.jsx)(Bt,T(v({},r),{icon:p7.faUser})),Ne.Times=r=>(0,It.jsx)(Bt,T(v({},r),{icon:xN.faTimes})),Ne.AngleRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:kN.faAngleRight})),Ne.AngleLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:TN.faAngleLeft})),Ne.AngleUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:EN.faAngleUp})),Ne.AngleDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:RN.faAngleDown})),Ne.ChevronLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:DN.faChevronLeft})),Ne.ChevronRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:AN.faChevronRight})),Ne.ChevronUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:LN.faChevronUp})),Ne.ChevronDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:NN.faChevronDown})),Ne.CaretLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:ON.faCaretLeft})),Ne.CaretRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:MN.faCaretRight})),Ne.CaretUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:PN.faCaretUp})),Ne.CaretDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:IN.faCaretDown})),Ne.ArrowLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:zN.faArrowLeft})),Ne.ArrowRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:BN.faArrowRight})),Ne.ArrowUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:FN.faArrowUp})),Ne.ArrowDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:jN.faArrowDown})),Ne.Rotate=r=>(0,It.jsx)(Bt,T(v({},r),{icon:HN.faRotate})),Ne.Redo=r=>(0,It.jsx)(Bt,T(v({},r),{icon:UN.faRedo})),Ne.Check=r=>(0,It.jsx)(Bt,T(v({},r),{icon:VN.faCheck})),Ne.CheckCircle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:h7.faCheckCircle})),Ne.Question=r=>(0,It.jsx)(Bt,T(v({},r),{icon:WN.faQuestion})),Ne.QuestionCircle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:m7.faQuestionCircle})),Ne.Exclamation=r=>(0,It.jsx)(Bt,T(v({},r),{icon:qN.faExclamation})),Ne.ExclamationTriangle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:YN.faExclamationTriangle})),Ne.Home=r=>(0,It.jsx)(Bt,T(v({},r),{icon:$N.faHome})),Ne.Share=r=>(0,It.jsx)(Bt,T(v({},r),{icon:GN.faShare})),Ne.Search=r=>(0,It.jsx)(Bt,T(v({},r),{icon:KN.faSearch})),Ne.YenSign=r=>(0,It.jsx)(Bt,T(v({},r),{icon:XN.faYenSign})),Ne.Heart=r=>(0,It.jsx)(Bt,T(v({},r),{icon:u7.faHeart})),Ne.Star=r=>(0,It.jsx)(Bt,T(v({},r),{icon:s7.faStar})),Ne.Edit=r=>(0,It.jsx)(Bt,T(v({},r),{icon:v7.faEdit})),Ne.Pen=r=>(0,It.jsx)(Bt,T(v({},r),{icon:QN.faPen})),Ne.Copy=r=>(0,It.jsx)(Bt,T(v({},r),{icon:_7.faCopy})),Ne.File=r=>(0,It.jsx)(Bt,T(v({},r),{icon:g7.faFile})),Ne.TrashAlt=r=>(0,It.jsx)(Bt,T(v({},r),{icon:b7.faTrashAlt})),Ne.Bars=r=>(0,It.jsx)(Bt,T(v({},r),{icon:JN.faBars})),Ne.Download=r=>(0,It.jsx)(Bt,T(v({},r),{icon:ZN.faDownload})),Ne.Link=r=>(0,It.jsx)(Bt,T(v({},r),{icon:e7.faLink})),Ne.LinkSlash=r=>(0,It.jsx)(Bt,T(v({},r),{icon:t7.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,It.jsx)(Bt,T(v({},r),{icon:r7.faExternalLinkAlt})),Ne.Gear=r=>(0,It.jsx)(Bt,T(v({},r),{icon:a7.faGear})),Ne.Plus=r=>(0,It.jsx)(Bt,T(v({},r),{icon:n7.faPlus})),Ne.Minus=r=>(0,It.jsx)(Bt,T(v({},r),{icon:o7.faMinus})),Ne.EllipsisH=r=>(0,It.jsx)(Bt,T(v({},r),{icon:i7.faEllipsisH})),Ne.EllipsisV=r=>(0,It.jsx)(Bt,T(v({},r),{icon:l7.faEllipsisV})),Ne.PaperPlane=r=>(0,It.jsx)(Bt,T(v({},r),{icon:c7.faPaperPlane})),Ne.Image=r=>(0,It.jsx)(Bt,T(v({},r),{icon:y7.faImage})),Ne.Ban=r=>(0,It.jsx)(Bt,T(v({},r),{icon:f7.faBan})),Ne.Location=r=>(0,It.jsx)(Bt,T(v({},r),{icon:d7.faLocationCrosshairs}));var S7=K(At());var WY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},qY={Size_S:"_Size_S_10jdu_1",Size_R:"_Size_R_10jdu_6",Size_L:"_Size_L_10jdu_11",Size_2L:"_Size_2L_10jdu_16",Size_3L:"_Size_3L_10jdu_21",Icon:"_Icon_10jdu_27",Title:"_Title_10jdu_31",ComunIcon:"_ComunIcon_10jdu_38",ComunTitle:"_ComunTitle_10jdu_42",MingooIcon:"_MingooIcon_10jdu_46",P:"_P_10jdu_46",P_0:"_P_0_10jdu_50",P_1:"_P_1_10jdu_53",P_2:"_P_2_10jdu_56",P_3:"_P_3_10jdu_59",P_4:"_P_4_10jdu_62",P_5:"_P_5_10jdu_65",P_6:"_P_6_10jdu_68",P_7:"_P_7_10jdu_71",P_8:"_P_8_10jdu_74",P_9:"_P_9_10jdu_77",P_10:"_P_10_10jdu_81",P_11:"_P_11_10jdu_85",P_12:"_P_12_10jdu_89"},YY={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},$Y={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},GY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},KY={Wrapper:"_Wrapper_3nb6i_2",Wrap:"_Wrap_3nb6i_2",Content:"_Content_3nb6i_9",TapSensor:"_TapSensor_3nb6i_28",TapContent:"_TapContent_3nb6i_38",Hide:"_Hide_3nb6i_45",Open:"_Open_3nb6i_48",isMainSheet_true:"_isMainSheet_true_3nb6i_48",isMainSheet_false:"_isMainSheet_false_3nb6i_52",BB:"_BB_3nb6i_52",Tcate_normal:"_Tcate_normal_3nb6i_55",BaseBody:"_BaseBody_3nb6i_59",Tcate_drawer:"_Tcate_drawer_3nb6i_74",Tpos_left:"_Tpos_left_3nb6i_74",Tpos_right:"_Tpos_right_3nb6i_89",Tpos_bottom:"_Tpos_bottom_3nb6i_104",DragBar:"_DragBar_3nb6i_111",Tcate_custom:"_Tcate_custom_3nb6i_119",CustomSheet:"_CustomSheet_3nb6i_127",GPT:"_GPT_3nb6i_130",Col_1:"_Col_1_3nb6i_130",Row_1:"_Row_1_3nb6i_130",Row_4:"_Row_4_3nb6i_130",Col_4:"_Col_4_3nb6i_130",Row_2:"_Row_2_3nb6i_133",Row_5:"_Row_5_3nb6i_133",Col_2:"_Col_2_3nb6i_136",Col_5:"_Col_5_3nb6i_136",GPT_3:"_GPT_3_3nb6i_142",GPT_18:"_GPT_18_3nb6i_142",GPT_8:"_GPT_8_3nb6i_145",GPT_23:"_GPT_23_3nb6i_145",GPT_11:"_GPT_11_3nb6i_148",GPT_14:"_GPT_14_3nb6i_148",GPT_12:"_GPT_12_3nb6i_151",GPT_15:"_GPT_15_3nb6i_151",Col_3:"_Col_3_3nb6i_161"},XY={Wrapper:"_Wrapper_jip2p_1",CornerLoader:"_CornerLoader_jip2p_17",Wrap:"_Wrap_jip2p_1",isActive:"_isActive_jip2p_28",ldAnm:"_ldAnm_jip2p_1",Ld1:"_Ld1_jip2p_34",Ld2:"_Ld2_jip2p_37",Ld3:"_Ld3_jip2p_40",Ld4:"_Ld4_jip2p_43",MiniLoader:"_MiniLoader_jip2p_61",Active_false:"_Active_false_jip2p_64",Hide:"_Hide_jip2p_67",Active:"_Active_jip2p_64",Core:"_Core_jip2p_77",spin:"_spin_jip2p_1",SVG1:"_SVG1_jip2p_85",loader:"_loader_jip2p_1",loading:"_loading_jip2p_1",SVG2:"_SVG2_jip2p_92"},QY={RootViewController:"_RootViewController_czfgs_2",Content:"_Content_czfgs_7",TopNav:"_TopNav_czfgs_11",FooterNav:"_FooterNav_czfgs_14",Body:"_Body_czfgs_17",SideNav:"_SideNav_czfgs_17",SwipeView:"_SwipeView_czfgs_24",Rail:"_Rail_czfgs_24",ShowOther_true:"_ShowOther_true_czfgs_24",Child:"_Child_czfgs_24",Display:"_Display_czfgs_32",LoopAdjusting:"_LoopAdjusting_czfgs_36"},JY={Wrap:"_Wrap_1rtvv_1",RowClickable_true:"_RowClickable_true_1rtvv_4",Row:"_Row_1rtvv_4",BodyRow:"_BodyRow_1rtvv_4",DataNotFound:"_DataNotFound_1rtvv_4",Cell:"_Cell_1rtvv_7",Table:"_Table_1rtvv_13",TableType_drag:"_TableType_drag_1rtvv_24",DraggerOrigin:"_DraggerOrigin_1rtvv_28",DragableButton:"_DragableButton_1rtvv_34",TableType_data:"_TableType_data_1rtvv_43",Console:"_Console_1rtvv_43",TableBase:"_TableBase_1rtvv_50",HeadRow:"_HeadRow_1rtvv_60",FilterRegion:"_FilterRegion_1rtvv_66",Filtering_true:"_Filtering_true_1rtvv_69"},ZY={RippleElement:"_RippleElement_17vcx_1",Color_cloud:"_Color_cloud_17vcx_7",RippleWrap:"_RippleWrap_17vcx_7",Wave:"_Wave_17vcx_7",Color_theme:"_Color_theme_17vcx_10",PuddingEffect:"_PuddingEffect_17vcx_39",pdAnm:"_pdAnm_17vcx_1"},e$={Wrap:"_Wrap_8x4zl_1",Use_profile:"_Use_profile_8x4zl_4",Use_head:"_Use_head_8x4zl_7",Canvas:"_Canvas_8x4zl_11",Preview:"_Preview_8x4zl_17",ToneBall:"_ToneBall_8x4zl_21",ToneBall_1:"_ToneBall_1_8x4zl_25",ToneBall_2:"_ToneBall_2_8x4zl_28",ToneBall_3:"_ToneBall_3_8x4zl_31",ToneBall_4:"_ToneBall_4_8x4zl_34",ToneBall_5:"_ToneBall_5_8x4zl_37",ToneBall_6:"_ToneBall_6_8x4zl_40",ToneBall_7:"_ToneBall_7_8x4zl_43",ToneBall_8:"_ToneBall_8_8x4zl_46",ToneBall_9:"_ToneBall_9_8x4zl_49",ToneBall_10:"_ToneBall_10_8x4zl_52"},t$={Wrap:"_Wrap_kr7qs_1",isLocked_true:"_isLocked_true_kr7qs_16",Tone_sub_Color_theme:"_Tone_sub_Color_theme_kr7qs_21",Tone_clear_Color_theme:"_Tone_clear_Color_theme_kr7qs_21",Tone_sub_Color_posi:"_Tone_sub_Color_posi_kr7qs_24",Tone_clear_Color_posi:"_Tone_clear_Color_posi_kr7qs_24",Tone_sub_Color_nega:"_Tone_sub_Color_nega_kr7qs_27",Tone_clear_Color_nega:"_Tone_clear_Color_nega_kr7qs_27",Tone_sub_Color_warn:"_Tone_sub_Color_warn_kr7qs_30",Tone_clear_Color_warn:"_Tone_clear_Color_warn_kr7qs_30",Tone_sub_Color_white:"_Tone_sub_Color_white_kr7qs_33",Tone_clear_Color_white:"_Tone_clear_Color_white_kr7qs_33",Tone_sub_Color_cloud:"_Tone_sub_Color_cloud_kr7qs_36",Tone_clear_Color_cloud:"_Tone_clear_Color_cloud_kr7qs_36",Tone_sub_Color_layer:"_Tone_sub_Color_layer_kr7qs_39",Tone_clear_Color_layer:"_Tone_clear_Color_layer_kr7qs_39",isNeutral_true:"_isNeutral_true_kr7qs_43",Tone_clear:"_Tone_clear_kr7qs_21",Tone_borderToFill:"_Tone_borderToFill_kr7qs_46",Tone_fillToBorder:"_Tone_fillToBorder_kr7qs_49",Tone_fillToBorder_Color_white:"_Tone_fillToBorder_Color_white_kr7qs_52",Tone_fillToBorder_Color_cloud:"_Tone_fillToBorder_Color_cloud_kr7qs_52",Tone_link:"_Tone_link_kr7qs_55",Tone_normal_Color_plain:"_Tone_normal_Color_plain_kr7qs_62",Tone_normal_Color_theme:"_Tone_normal_Color_theme_kr7qs_66",Tone_normal_Color_posi:"_Tone_normal_Color_posi_kr7qs_70",Tone_normal_Color_nega:"_Tone_normal_Color_nega_kr7qs_74",Tone_normal_Color_warn:"_Tone_normal_Color_warn_kr7qs_78",Tone_border:"_Tone_border_kr7qs_46",Tone_prime:"_Tone_prime_kr7qs_85",Tone_borderToFill_Color_white:"_Tone_borderToFill_Color_white_kr7qs_120",Tone_borderToFill_Color_cloud:"_Tone_borderToFill_Color_cloud_kr7qs_120"},r$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var a$={Input:"_Input_1g1ty_1",List:"_List_1g1ty_1",AddButton:"_AddButton_1g1ty_1",FileName:"_FileName_1g1ty_5",Draggable:"_Draggable_1g1ty_18",AddIcon:"_AddIcon_1g1ty_21",IconAnimation:"_IconAnimation_1g1ty_1"},n$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},o$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},i$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},l$={Label:"_Label_qfhyi_1",Wrap:"_Wrap_qfhyi_18",Rail:"_Rail_qfhyi_18",Bar:"_Bar_qfhyi_18",BarColor:"_BarColor_qfhyi_21",Labels:"_Labels_qfhyi_24",ShowLegendsAlways_true:"_ShowLegendsAlways_true_qfhyi_27",Ball:"_Ball_qfhyi_38"},s$={Header:"_Header_1rlyc_1",Body:"_Body_1rlyc_8",Footer:"_Footer_1rlyc_13",ClockBase:"_ClockBase_1rlyc_20",DesignSide:"_DesignSide_1rlyc_20",ClockUiBase:"_ClockUiBase_1rlyc_20",ClockUi:"_ClockUi_1rlyc_20",Needle:"_Needle_1rlyc_24",hour:"_hour_1rlyc_31",minute:"_minute_1rlyc_36",DateBase:"_DateBase_1rlyc_42",LeftButton:"_LeftButton_1rlyc_42",RightButton:"_RightButton_1rlyc_45",MonthBase:"_MonthBase_1rlyc_49",Cell:"_Cell_1rlyc_55",isThisMonth:"_isThisMonth_1rlyc_55",miniYearInput:"_miniYearInput_1rlyc_61",CalendarDay:"_CalendarDay_1rlyc_66",isToday_true:"_isToday_true_1rlyc_66"};var c$={Label:"_Label_1kvwn_1",Tone_plain:"_Tone_plain_1kvwn_6",Checked:"_Checked_1kvwn_6",Tone_cloud:"_Tone_cloud_1kvwn_9",Tone_cloudmono:"_Tone_cloudmono_1kvwn_12",Tone_cloudtheme:"_Tone_cloudtheme_1kvwn_15",Tone_bordervivid:"_Tone_bordervivid_1kvwn_21",Tone_bottomline:"_Tone_bottomline_1kvwn_27"},$S=r=>WY[r],rl=r=>qY[r],pg=r=>YY[r],GS=r=>$Y[r],im=r=>GY[r],va=r=>KY[r],Ta=r=>XY[r],Na=r=>QY[r],Xt=r=>JY[r],Zl=r=>ZY[r],cu=r=>e$[r],sf=r=>t$[r],Hd=r=>r$[r];var es=r=>a$[r],cf=r=>n$[r],Rl=r=>o$[r],uf=r=>i$[r],Ts=r=>l$[r],Ea=r=>s$[r];var hg=r=>c$[r];var Es=r=>{let a=r,{src:o="",alt:s="",showExpand:l}=a,f=$e(a,["src","alt","showExpand"]);return(0,S7.jsx)(X,T(v({htmlTag:"img",src:o,alt:s},f),{className:[$S("Img"),$S("ShowExpand_"+!!l),f.className].join(" "),onPointerDown:u=>{f.onPointerDown&&f.onPointerDown(u),l&&u.stopPropagation()},onClick:u=>{f.onClick&&f.onClick(u),l&&(u.stopPropagation(),sr.open({type:"image",src:l!=!0?l:o}))},freeCSS:v({cursor:l?"zoom-in":"inherit"},f.freeCSS)}))};var nr=K(At()),KS=K(ar());var w7={ComunIcon:()=>(0,nr.jsx)("svg",{viewBox:"0,0,1200,1200",className:rl("ComunIcon"),children:(0,nr.jsxs)("g",{children:[(0,nr.jsx)("path",{d:`
926
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(B){var W,ie=B.beat,te=B.fade,se=B.beatFade,we=B.bounce,Se=B.shake,je=B.flash,Ye=B.spin,Ge=B.spinPulse,rt=B.spinReverse,et=B.pulse,Nt=B.fixedWidth,$t=B.inverse,dt=B.border,Xe=B.listItem,ke=B.flip,it=B.size,kt=B.rotation,Tt=B.pull,wt=(W={"fa-beat":ie,"fa-fade":te,"fa-beat-fade":se,"fa-bounce":we,"fa-shake":Se,"fa-flash":je,"fa-spin":Ye,"fa-spin-reverse":rt,"fa-spin-pulse":Ge,"fa-pulse":et,"fa-fw":Nt,"fa-inverse":$t,"fa-border":dt,"fa-li":Xe,"fa-flip":ke===!0,"fa-flip-horizontal":ke==="horizontal"||ke==="both","fa-flip-vertical":ke==="vertical"||ke==="both"},g(W,"fa-".concat(it),typeof it!="undefined"&&it!==null),g(W,"fa-rotate-".concat(kt),typeof kt!="undefined"&&kt!==null&&kt!==0),g(W,"fa-pull-".concat(Tt),typeof Tt!="undefined"&&Tt!==null),g(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(wt).map(function(tr){return wt[tr]?tr:null}).filter(function(tr){return tr})}function F(B){return B=B-0,B===B}function Z(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ie){return ie?ie.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var O=["style"];function ae(B){return B.charAt(0).toUpperCase()+B.slice(1)}function ge(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ie){var te=ie.indexOf(":"),se=Z(ie.slice(0,te)),we=ie.slice(te+1).trim();return se.startsWith("webkit")?W[ae(se)]=we:W[se]=we,W},{})}function ee(B,W){var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var te=(W.children||[]).map(function(Ye){return ee(B,Ye)}),se=Object.keys(W.attributes||{}).reduce(function(Ye,Ge){var rt=W.attributes[Ge];switch(Ge){case"class":Ye.attrs.className=rt,delete W.attributes.class;break;case"style":Ye.attrs.style=ge(rt);break;default:Ge.indexOf("aria-")===0||Ge.indexOf("data-")===0?Ye.attrs[Ge.toLowerCase()]=rt:Ye.attrs[Z(Ge)]=rt}return Ye},{attrs:{}}),we=ie.style,Se=we===void 0?{}:we,je=S(ie,O);return se.attrs.style=p(p({},se.attrs.style),Se),B.apply(void 0,[W.tag,p(p({},se.attrs),je)].concat(w(te)))}var ye=!1;try{ye=!1}catch(B){}function be(){if(!ye&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function he(B){if(B&&m(B)==="object"&&B.prefix&&B.iconName&&B.icon)return B;if(a.parse.icon)return a.parse.icon(B);if(B===null)return null;if(B&&m(B)==="object"&&B.prefix&&B.iconName)return B;if(Array.isArray(B)&&B.length===2)return{prefix:B[0],iconName:B[1]};if(typeof B=="string")return{prefix:"fas",iconName:B}}function H(B,W){return Array.isArray(W)&&W.length>0||!Array.isArray(W)&&W?g({},B,W):{}}var le=u.default.forwardRef(function(B,W){var ie=B.icon,te=B.mask,se=B.symbol,we=B.className,Se=B.title,je=B.titleId,Ye=B.maskId,Ge=he(ie),rt=H("classes",[].concat(w(j(B)),w(we.split(" ")))),et=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),Nt=H("mask",he(te)),$t=a.icon(Ge,p(p(p(p({},rt),et),Nt),{},{symbol:se,title:Se,titleId:je,maskId:Ye}));if(!$t)return be("Could not find icon",Ge),null;var dt=$t.abstract,Xe={ref:W};return Object.keys(B).forEach(function(ke){le.defaultProps.hasOwnProperty(ke)||(Xe[ke]=B[ke])}),de(dt[0],Xe)});le.displayName="FontAwesomeIcon",le.propTypes={beat:f.default.bool,border:f.default.bool,beatFade:f.default.bool,bounce:f.default.bool,className:f.default.string,fade:f.default.bool,flash:f.default.bool,mask:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),maskId:f.default.string,fixedWidth:f.default.bool,inverse:f.default.bool,flip:f.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),listItem:f.default.bool,pull:f.default.oneOf(["right","left"]),pulse:f.default.bool,rotation:f.default.oneOf([0,90,180,270]),shake:f.default.bool,size:f.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:f.default.bool,spinPulse:f.default.bool,spinReverse:f.default.bool,symbol:f.default.oneOfType([f.default.bool,f.default.string]),title:f.default.string,titleId:f.default.string,transform:f.default.oneOfType([f.default.string,f.default.object]),swapOpacity:f.default.bool},le.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var de=ee.bind(null,u.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var HE=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var PE="fas",IE="xmark",zE=384,BE=512,$2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],FE="f00d",jE="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";$o.definition={prefix:PE,iconName:IE,icon:[zE,BE,$2,FE,jE]};$o.faXmark=$o.definition;$o.prefix=PE;$o.iconName=IE;$o.width=zE;$o.height=BE;$o.ligatures=$2;$o.unicode=FE;$o.svgPathData=jE;$o.aliases=$2});var UE=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var eo=HE();Go.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};Go.faTimes=Go.definition;Go.prefix=eo.prefix;Go.iconName=eo.iconName;Go.width=eo.width;Go.height=eo.height;Go.ligatures=eo.aliases;Go.unicode=eo.unicode;Go.svgPathData=eo.svgPathData;Go.aliases=eo.aliases});var KE=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var VE="fas",WE="angle-right",qE=320,YE=512,G2=[8250],$E="f105",GE="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z";Ko.definition={prefix:VE,iconName:WE,icon:[qE,YE,G2,$E,GE]};Ko.faAngleRight=Ko.definition;Ko.prefix=VE;Ko.iconName=WE;Ko.width=qE;Ko.height=YE;Ko.ligatures=G2;Ko.unicode=$E;Ko.svgPathData=GE;Ko.aliases=G2});var rR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var XE="fas",QE="angle-left",JE=320,ZE=512,K2=[8249],eR="f104",tR="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";Xo.definition={prefix:XE,iconName:QE,icon:[JE,ZE,K2,eR,tR]};Xo.faAngleLeft=Xo.definition;Xo.prefix=XE;Xo.iconName=QE;Xo.width=JE;Xo.height=ZE;Xo.ligatures=K2;Xo.unicode=eR;Xo.svgPathData=tR;Xo.aliases=K2});var cR=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var aR="fas",nR="angle-up",oR=448,iR=512,X2=[8963],lR="f106",sR="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z";Qo.definition={prefix:aR,iconName:nR,icon:[oR,iR,X2,lR,sR]};Qo.faAngleUp=Qo.definition;Qo.prefix=aR;Qo.iconName=nR;Qo.width=oR;Qo.height=iR;Qo.ligatures=X2;Qo.unicode=lR;Qo.svgPathData=sR;Qo.aliases=X2});var vR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var uR="fas",fR="angle-down",dR=448,pR=512,Q2=[8964],hR="f107",mR="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";Jo.definition={prefix:uR,iconName:fR,icon:[dR,pR,Q2,hR,mR]};Jo.faAngleDown=Jo.definition;Jo.prefix=uR;Jo.iconName=fR;Jo.width=dR;Jo.height=pR;Jo.ligatures=Q2;Jo.unicode=hR;Jo.svgPathData=mR;Jo.aliases=Q2});var CR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var _R="fas",gR="chevron-left",bR=320,yR=512,J2=[9001],SR="f053",wR="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";Zo.definition={prefix:_R,iconName:gR,icon:[bR,yR,J2,SR,wR]};Zo.faChevronLeft=Zo.definition;Zo.prefix=_R;Zo.iconName=gR;Zo.width=bR;Zo.height=yR;Zo.ligatures=J2;Zo.unicode=SR;Zo.svgPathData=wR;Zo.aliases=J2});var AR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var xR="fas",kR="chevron-right",TR=320,ER=512,Z2=[9002],RR="f054",DR="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";ei.definition={prefix:xR,iconName:kR,icon:[TR,ER,Z2,RR,DR]};ei.faChevronRight=ei.definition;ei.prefix=xR;ei.iconName=kR;ei.width=TR;ei.height=ER;ei.ligatures=Z2;ei.unicode=RR;ei.svgPathData=DR;ei.aliases=Z2});var zR=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var LR="fas",NR="chevron-up",OR=512,MR=512,eS=[],PR="f077",IR="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";ti.definition={prefix:LR,iconName:NR,icon:[OR,MR,eS,PR,IR]};ti.faChevronUp=ti.definition;ti.prefix=LR;ti.iconName=NR;ti.width=OR;ti.height=MR;ti.ligatures=eS;ti.unicode=PR;ti.svgPathData=IR;ti.aliases=eS});var WR=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var BR="fas",FR="chevron-down",jR=512,HR=512,tS=[],UR="f078",VR="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";ri.definition={prefix:BR,iconName:FR,icon:[jR,HR,tS,UR,VR]};ri.faChevronDown=ri.definition;ri.prefix=BR;ri.iconName=FR;ri.width=jR;ri.height=HR;ri.ligatures=tS;ri.unicode=UR;ri.svgPathData=VR;ri.aliases=tS});var QR=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var qR="fas",YR="caret-left",$R=256,GR=512,rS=[],KR="f0d9",XR="M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z";ai.definition={prefix:qR,iconName:YR,icon:[$R,GR,rS,KR,XR]};ai.faCaretLeft=ai.definition;ai.prefix=qR;ai.iconName=YR;ai.width=$R;ai.height=GR;ai.ligatures=rS;ai.unicode=KR;ai.svgPathData=XR;ai.aliases=rS});var n6=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var JR="fas",ZR="caret-right",e6=256,t6=512,aS=[],r6="f0da",a6="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z";ni.definition={prefix:JR,iconName:ZR,icon:[e6,t6,aS,r6,a6]};ni.faCaretRight=ni.definition;ni.prefix=JR;ni.iconName=ZR;ni.width=e6;ni.height=t6;ni.ligatures=aS;ni.unicode=r6;ni.svgPathData=a6;ni.aliases=aS});var f6=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var o6="fas",i6="caret-up",l6=320,s6=512,nS=[],c6="f0d8",u6="M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z";oi.definition={prefix:o6,iconName:i6,icon:[l6,s6,nS,c6,u6]};oi.faCaretUp=oi.definition;oi.prefix=o6;oi.iconName=i6;oi.width=l6;oi.height=s6;oi.ligatures=nS;oi.unicode=c6;oi.svgPathData=u6;oi.aliases=nS});var g6=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var d6="fas",p6="caret-down",h6=320,m6=512,oS=[],v6="f0d7",_6="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z";ii.definition={prefix:d6,iconName:p6,icon:[h6,m6,oS,v6,_6]};ii.faCaretDown=ii.definition;ii.prefix=d6;ii.iconName=p6;ii.width=h6;ii.height=m6;ii.ligatures=oS;ii.unicode=v6;ii.svgPathData=_6;ii.aliases=oS});var k6=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var b6="fas",y6="arrow-left",S6=448,w6=512,iS=[8592],C6="f060",x6="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";li.definition={prefix:b6,iconName:y6,icon:[S6,w6,iS,C6,x6]};li.faArrowLeft=li.definition;li.prefix=b6;li.iconName=y6;li.width=S6;li.height=w6;li.ligatures=iS;li.unicode=C6;li.svgPathData=x6;li.aliases=iS});var sS=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var T6="fas",E6="arrow-right",R6=448,D6=512,lS=[8594],A6="f061",L6="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z";si.definition={prefix:T6,iconName:E6,icon:[R6,D6,lS,A6,L6]};si.faArrowRight=si.definition;si.prefix=T6;si.iconName=E6;si.width=R6;si.height=D6;si.ligatures=lS;si.unicode=A6;si.svgPathData=L6;si.aliases=lS});var uS=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var N6="fas",O6="arrow-up",M6=384,P6=512,cS=[8593],I6="f062",z6="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z";ci.definition={prefix:N6,iconName:O6,icon:[M6,P6,cS,I6,z6]};ci.faArrowUp=ci.definition;ci.prefix=N6;ci.iconName=O6;ci.width=M6;ci.height=P6;ci.ligatures=cS;ci.unicode=I6;ci.svgPathData=z6;ci.aliases=cS});var dS=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var B6="fas",F6="arrow-down",j6=384,H6=512,fS=[8595],U6="f063",V6="M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";ui.definition={prefix:B6,iconName:F6,icon:[j6,H6,fS,U6,V6]};ui.faArrowDown=ui.definition;ui.prefix=B6;ui.iconName=F6;ui.width=j6;ui.height=H6;ui.ligatures=fS;ui.unicode=U6;ui.svgPathData=V6;ui.aliases=fS});var X6=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var W6="fas",q6="rotate",Y6=512,$6=512,pS=[128260,"sync-alt"],G6="f2f1",K6="M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z";fi.definition={prefix:W6,iconName:q6,icon:[Y6,$6,pS,G6,K6]};fi.faRotate=fi.definition;fi.prefix=W6;fi.iconName=q6;fi.width=Y6;fi.height=$6;fi.ligatures=pS;fi.unicode=G6;fi.svgPathData=K6;fi.aliases=pS});var aD=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var Q6="fas",J6="arrow-rotate-right",Z6=512,eD=512,hS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],tD="f01e",rD="M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z";di.definition={prefix:Q6,iconName:J6,icon:[Z6,eD,hS,tD,rD]};di.faArrowRotateRight=di.definition;di.prefix=Q6;di.iconName=J6;di.width=Z6;di.height=eD;di.ligatures=hS;di.unicode=tD;di.svgPathData=rD;di.aliases=hS});var nD=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var to=aD();pi.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};pi.faRedo=pi.definition;pi.prefix=to.prefix;pi.iconName=to.iconName;pi.width=to.width;pi.height=to.height;pi.ligatures=to.aliases;pi.unicode=to.unicode;pi.svgPathData=to.svgPathData;pi.aliases=to.aliases});var fD=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var oD="fas",iD="check",lD=448,sD=512,mS=[10003,10004],cD="f00c",uD="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";hi.definition={prefix:oD,iconName:iD,icon:[lD,sD,mS,cD,uD]};hi.faCheck=hi.definition;hi.prefix=oD;hi.iconName=iD;hi.width=lD;hi.height=sD;hi.ligatures=mS;hi.unicode=cD;hi.svgPathData=uD;hi.aliases=mS});var gD=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var dD="fas",pD="question",hD=320,mD=512,vS=[10067,10068,61736],vD="3f",_D="M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";mi.definition={prefix:dD,iconName:pD,icon:[hD,mD,vS,vD,_D]};mi.faQuestion=mi.definition;mi.prefix=dD;mi.iconName=pD;mi.width=hD;mi.height=mD;mi.ligatures=vS;mi.unicode=vD;mi.svgPathData=_D;mi.aliases=vS});var kD=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var bD="fas",yD="exclamation",SD=128,wD=512,_S=[10069,10071,61738],CD="21",xD="M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32L96 64zM64 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";vi.definition={prefix:bD,iconName:yD,icon:[SD,wD,_S,CD,xD]};vi.faExclamation=vi.definition;vi.prefix=bD;vi.iconName=yD;vi.width=SD;vi.height=wD;vi.ligatures=_S;vi.unicode=CD;vi.svgPathData=xD;vi.aliases=_S});var ND=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var TD="fas",ED="triangle-exclamation",RD=512,DD=512,gS=[9888,"exclamation-triangle","warning"],AD="f071",LD="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";_i.definition={prefix:TD,iconName:ED,icon:[RD,DD,gS,AD,LD]};_i.faTriangleExclamation=_i.definition;_i.prefix=TD;_i.iconName=ED;_i.width=RD;_i.height=DD;_i.ligatures=gS;_i.unicode=AD;_i.svgPathData=LD;_i.aliases=gS});var OD=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var ro=ND();gi.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};gi.faExclamationTriangle=gi.definition;gi.prefix=ro.prefix;gi.iconName=ro.iconName;gi.width=ro.width;gi.height=ro.height;gi.ligatures=ro.aliases;gi.unicode=ro.unicode;gi.svgPathData=ro.svgPathData;gi.aliases=ro.aliases});var jD=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var MD="fas",PD="house",ID=576,zD=512,bS=[127968,63498,63500,"home","home-alt","home-lg-alt"],BD="f015",FD="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z";bi.definition={prefix:MD,iconName:PD,icon:[ID,zD,bS,BD,FD]};bi.faHouse=bi.definition;bi.prefix=MD;bi.iconName=PD;bi.width=ID;bi.height=zD;bi.ligatures=bS;bi.unicode=BD;bi.svgPathData=FD;bi.aliases=bS});var HD=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var ao=jD();yi.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};yi.faHome=yi.definition;yi.prefix=ao.prefix;yi.iconName=ao.iconName;yi.width=ao.width;yi.height=ao.height;yi.ligatures=ao.aliases;yi.unicode=ao.unicode;yi.svgPathData=ao.svgPathData;yi.aliases=ao.aliases});var GD=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var UD="fas",VD="share",WD=512,qD=512,yS=["mail-forward"],YD="f064",$D="M307 34.8c-11.5 5.1-19 16.6-19 29.2l0 64-112 0C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96l96 0 0 64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z";Si.definition={prefix:UD,iconName:VD,icon:[WD,qD,yS,YD,$D]};Si.faShare=Si.definition;Si.prefix=UD;Si.iconName=VD;Si.width=WD;Si.height=qD;Si.ligatures=yS;Si.unicode=YD;Si.svgPathData=$D;Si.aliases=yS});var tA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var KD="fas",XD="magnifying-glass",QD=512,JD=512,SS=[128269,"search"],ZD="f002",eA="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";wi.definition={prefix:KD,iconName:XD,icon:[QD,JD,SS,ZD,eA]};wi.faMagnifyingGlass=wi.definition;wi.prefix=KD;wi.iconName=XD;wi.width=QD;wi.height=JD;wi.ligatures=SS;wi.unicode=ZD;wi.svgPathData=eA;wi.aliases=SS});var rA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var no=tA();Ci.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};Ci.faSearch=Ci.definition;Ci.prefix=no.prefix;Ci.iconName=no.iconName;Ci.width=no.width;Ci.height=no.height;Ci.ligatures=no.aliases;Ci.unicode=no.unicode;Ci.svgPathData=no.svgPathData;Ci.aliases=no.aliases});var cA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var aA="fas",nA="yen-sign",oA=320,iA=512,wS=[165,"cny","jpy","rmb","yen"],lA="f157",sA="M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z";xi.definition={prefix:aA,iconName:nA,icon:[oA,iA,wS,lA,sA]};xi.faYenSign=xi.definition;xi.prefix=aA;xi.iconName=nA;xi.width=oA;xi.height=iA;xi.ligatures=wS;xi.unicode=lA;xi.svgPathData=sA;xi.aliases=wS});var vA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var uA="fas",fA="pen",dA=512,pA=512,CS=[128394],hA="f304",mA="M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z";ki.definition={prefix:uA,iconName:fA,icon:[dA,pA,CS,hA,mA]};ki.faPen=ki.definition;ki.prefix=uA;ki.iconName=fA;ki.width=dA;ki.height=pA;ki.ligatures=CS;ki.unicode=hA;ki.svgPathData=mA;ki.aliases=CS});var CA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var _A="fas",gA="bars",bA=448,yA=512,xS=["navicon"],SA="f0c9",wA="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";Ti.definition={prefix:_A,iconName:gA,icon:[bA,yA,xS,SA,wA]};Ti.faBars=Ti.definition;Ti.prefix=_A;Ti.iconName=gA;Ti.width=bA;Ti.height=yA;Ti.ligatures=xS;Ti.unicode=SA;Ti.svgPathData=wA;Ti.aliases=xS});var AA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var xA="fas",kA="download",TA=512,EA=512,kS=[],RA="f019",DA="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";Ei.definition={prefix:xA,iconName:kA,icon:[TA,EA,kS,RA,DA]};Ei.faDownload=Ei.definition;Ei.prefix=xA;Ei.iconName=kA;Ei.width=TA;Ei.height=EA;Ei.ligatures=kS;Ei.unicode=RA;Ei.svgPathData=DA;Ei.aliases=kS});var zA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var LA="fas",NA="link",OA=640,MA=512,TS=[128279,"chain"],PA="f0c1",IA="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z";Ri.definition={prefix:LA,iconName:NA,icon:[OA,MA,TS,PA,IA]};Ri.faLink=Ri.definition;Ri.prefix=LA;Ri.iconName=NA;Ri.width=OA;Ri.height=MA;Ri.ligatures=TS;Ri.unicode=PA;Ri.svgPathData=IA;Ri.aliases=TS});var WA=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var BA="fas",FA="link-slash",jA=640,HA=512,ES=["chain-broken","chain-slash","unlink"],UA="f127",VA="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z";Di.definition={prefix:BA,iconName:FA,icon:[jA,HA,ES,UA,VA]};Di.faLinkSlash=Di.definition;Di.prefix=BA;Di.iconName=FA;Di.width=jA;Di.height=HA;Di.ligatures=ES;Di.unicode=UA;Di.svgPathData=VA;Di.aliases=ES});var QA=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var qA="fas",YA="up-right-from-square",$A=512,GA=512,RS=["external-link-alt"],KA="f35d",XA="M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z";Ai.definition={prefix:qA,iconName:YA,icon:[$A,GA,RS,KA,XA]};Ai.faUpRightFromSquare=Ai.definition;Ai.prefix=qA;Ai.iconName=YA;Ai.width=$A;Ai.height=GA;Ai.ligatures=RS;Ai.unicode=KA;Ai.svgPathData=XA;Ai.aliases=RS});var JA=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var oo=QA();Li.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Li.faExternalLinkAlt=Li.definition;Li.prefix=oo.prefix;Li.iconName=oo.iconName;Li.width=oo.width;Li.height=oo.height;Li.ligatures=oo.aliases;Li.unicode=oo.unicode;Li.svgPathData=oo.svgPathData;Li.aliases=oo.aliases});var o8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var ZA="fas",e8="gear",t8=512,r8=512,DS=[9881,"cog"],a8="f013",n8="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z";Ni.definition={prefix:ZA,iconName:e8,icon:[t8,r8,DS,a8,n8]};Ni.faGear=Ni.definition;Ni.prefix=ZA;Ni.iconName=e8;Ni.width=t8;Ni.height=r8;Ni.ligatures=DS;Ni.unicode=a8;Ni.svgPathData=n8;Ni.aliases=DS});var d8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var i8="fas",l8="plus",s8=448,c8=512,AS=[10133,61543,"add"],u8="2b",f8="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z";Oi.definition={prefix:i8,iconName:l8,icon:[s8,c8,AS,u8,f8]};Oi.faPlus=Oi.definition;Oi.prefix=i8;Oi.iconName=l8;Oi.width=s8;Oi.height=c8;Oi.ligatures=AS;Oi.unicode=u8;Oi.svgPathData=f8;Oi.aliases=AS});var b8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var p8="fas",h8="minus",m8=448,v8=512,LS=[8211,8722,10134,"subtract"],_8="f068",g8="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";Mi.definition={prefix:p8,iconName:h8,icon:[m8,v8,LS,_8,g8]};Mi.faMinus=Mi.definition;Mi.prefix=p8;Mi.iconName=h8;Mi.width=m8;Mi.height=v8;Mi.ligatures=LS;Mi.unicode=_8;Mi.svgPathData=g8;Mi.aliases=LS});var T8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var y8="fas",S8="ellipsis",w8=448,C8=512,NS=["ellipsis-h"],x8="f141",k8="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z";Pi.definition={prefix:y8,iconName:S8,icon:[w8,C8,NS,x8,k8]};Pi.faEllipsis=Pi.definition;Pi.prefix=y8;Pi.iconName=S8;Pi.width=w8;Pi.height=C8;Pi.ligatures=NS;Pi.unicode=x8;Pi.svgPathData=k8;Pi.aliases=NS});var E8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var io=T8();Ii.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Ii.faEllipsisH=Ii.definition;Ii.prefix=io.prefix;Ii.iconName=io.iconName;Ii.width=io.width;Ii.height=io.height;Ii.ligatures=io.aliases;Ii.unicode=io.unicode;Ii.svgPathData=io.svgPathData;Ii.aliases=io.aliases});var M8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var R8="fas",D8="ellipsis-vertical",A8=128,L8=512,OS=["ellipsis-v"],N8="f142",O8="M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z";zi.definition={prefix:R8,iconName:D8,icon:[A8,L8,OS,N8,O8]};zi.faEllipsisVertical=zi.definition;zi.prefix=R8;zi.iconName=D8;zi.width=A8;zi.height=L8;zi.ligatures=OS;zi.unicode=N8;zi.svgPathData=O8;zi.aliases=OS});var P8=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var lo=M8();Bi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Bi.faEllipsisV=Bi.definition;Bi.prefix=lo.prefix;Bi.iconName=lo.iconName;Bi.width=lo.width;Bi.height=lo.height;Bi.ligatures=lo.aliases;Bi.unicode=lo.unicode;Bi.svgPathData=lo.svgPathData;Bi.aliases=lo.aliases});var U8=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var I8="fas",z8="star",B8=576,F8=512,MS=[11088,61446],j8="f005",H8="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z";Fi.definition={prefix:I8,iconName:z8,icon:[B8,F8,MS,j8,H8]};Fi.faStar=Fi.definition;Fi.prefix=I8;Fi.iconName=z8;Fi.width=B8;Fi.height=F8;Fi.ligatures=MS;Fi.unicode=j8;Fi.svgPathData=H8;Fi.aliases=MS});var K8=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var V8="fas",W8="paper-plane",q8=512,Y8=512,PS=[61913],$8="f1d8",G8="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";ji.definition={prefix:V8,iconName:W8,icon:[q8,Y8,PS,$8,G8]};ji.faPaperPlane=ji.definition;ji.prefix=V8;ji.iconName=W8;ji.width=q8;ji.height=Y8;ji.ligatures=PS;ji.unicode=$8;ji.svgPathData=G8;ji.aliases=PS});var rL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var X8="fas",Q8="heart",J8=512,Z8=512,IS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],eL="f004",tL="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z";Hi.definition={prefix:X8,iconName:Q8,icon:[J8,Z8,IS,eL,tL]};Hi.faHeart=Hi.definition;Hi.prefix=X8;Hi.iconName=Q8;Hi.width=J8;Hi.height=Z8;Hi.ligatures=IS;Hi.unicode=eL;Hi.svgPathData=tL;Hi.aliases=IS});var cL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var aL="fas",nL="ban",oL=512,iL=512,zS=[128683,"cancel"],lL="f05e",sL="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";Ui.definition={prefix:aL,iconName:nL,icon:[oL,iL,zS,lL,sL]};Ui.faBan=Ui.definition;Ui.prefix=aL;Ui.iconName=nL;Ui.width=oL;Ui.height=iL;Ui.ligatures=zS;Ui.unicode=lL;Ui.svgPathData=sL;Ui.aliases=zS});var vL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var uL="fas",fL="location-crosshairs",dL=512,pL=512,BS=["location"],hL="f601",mL="M256 0c17.7 0 32 14.3 32 32l0 34.7C368.4 80.1 431.9 143.6 445.3 224l34.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-34.7 0C431.9 368.4 368.4 431.9 288 445.3l0 34.7c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.7C143.6 431.9 80.1 368.4 66.7 288L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l34.7 0C80.1 143.6 143.6 80.1 224 66.7L224 32c0-17.7 14.3-32 32-32zM128 256a128 128 0 1 0 256 0 128 128 0 1 0 -256 0zm128-80a80 80 0 1 1 0 160 80 80 0 1 1 0-160z";Vi.definition={prefix:uL,iconName:fL,icon:[dL,pL,BS,hL,mL]};Vi.faLocationCrosshairs=Vi.definition;Vi.prefix=uL;Vi.iconName=fL;Vi.width=dL;Vi.height=pL;Vi.ligatures=BS;Vi.unicode=hL;Vi.svgPathData=mL;Vi.aliases=BS});var CL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var _L="far",gL="user",bL=448,yL=512,FS=[128100,62144],SL="f007",wL="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z";Wi.definition={prefix:_L,iconName:gL,icon:[bL,yL,FS,SL,wL]};Wi.faUser=Wi.definition;Wi.prefix=_L;Wi.iconName=gL;Wi.width=bL;Wi.height=yL;Wi.ligatures=FS;Wi.unicode=SL;Wi.svgPathData=wL;Wi.aliases=FS});var AL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var xL="far",kL="circle-check",TL=512,EL=512,jS=[61533,"check-circle"],RL="f058",DL="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";qi.definition={prefix:xL,iconName:kL,icon:[TL,EL,jS,RL,DL]};qi.faCircleCheck=qi.definition;qi.prefix=xL;qi.iconName=kL;qi.width=TL;qi.height=EL;qi.ligatures=jS;qi.unicode=RL;qi.svgPathData=DL;qi.aliases=jS});var LL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var so=AL();Yi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Yi.faCheckCircle=Yi.definition;Yi.prefix=so.prefix;Yi.iconName=so.iconName;Yi.width=so.width;Yi.height=so.height;Yi.ligatures=so.aliases;Yi.unicode=so.unicode;Yi.svgPathData=so.svgPathData;Yi.aliases=so.aliases});var BL=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var NL="far",OL="circle-question",ML=512,PL=512,HS=[62108,"question-circle"],IL="f059",zL="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";$i.definition={prefix:NL,iconName:OL,icon:[ML,PL,HS,IL,zL]};$i.faCircleQuestion=$i.definition;$i.prefix=NL;$i.iconName=OL;$i.width=ML;$i.height=PL;$i.ligatures=HS;$i.unicode=IL;$i.svgPathData=zL;$i.aliases=HS});var FL=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var co=BL();Gi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Gi.faQuestionCircle=Gi.definition;Gi.prefix=co.prefix;Gi.iconName=co.iconName;Gi.width=co.width;Gi.height=co.height;Gi.ligatures=co.aliases;Gi.unicode=co.unicode;Gi.svgPathData=co.svgPathData;Gi.aliases=co.aliases});var YL=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var jL="far",HL="pen-to-square",UL=512,VL=512,US=["edit"],WL="f044",qL="M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z";Ki.definition={prefix:jL,iconName:HL,icon:[UL,VL,US,WL,qL]};Ki.faPenToSquare=Ki.definition;Ki.prefix=jL;Ki.iconName=HL;Ki.width=UL;Ki.height=VL;Ki.ligatures=US;Ki.unicode=WL;Ki.svgPathData=qL;Ki.aliases=US});var $L=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var uo=YL();Xi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};Xi.faEdit=Xi.definition;Xi.prefix=uo.prefix;Xi.iconName=uo.iconName;Xi.width=uo.width;Xi.height=uo.height;Xi.ligatures=uo.aliases;Xi.unicode=uo.unicode;Xi.svgPathData=uo.svgPathData;Xi.aliases=uo.aliases});var eN=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var GL="far",KL="copy",XL=448,QL=512,VS=[],JL="f0c5",ZL="M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z";Qi.definition={prefix:GL,iconName:KL,icon:[XL,QL,VS,JL,ZL]};Qi.faCopy=Qi.definition;Qi.prefix=GL;Qi.iconName=KL;Qi.width=XL;Qi.height=QL;Qi.ligatures=VS;Qi.unicode=JL;Qi.svgPathData=ZL;Qi.aliases=VS});var lN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var tN="far",rN="file",aN=384,nN=512,WS=[128196,128459,61462],oN="f15b",iN="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z";Ji.definition={prefix:tN,iconName:rN,icon:[aN,nN,WS,oN,iN]};Ji.faFile=Ji.definition;Ji.prefix=tN;Ji.iconName=rN;Ji.width=aN;Ji.height=nN;Ji.ligatures=WS;Ji.unicode=oN;Ji.svgPathData=iN;Ji.aliases=WS});var hN=Ue(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var sN="far",cN="trash-can",uN=448,fN=512,qS=[61460,"trash-alt"],dN="f2ed",pN="M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z";Zi.definition={prefix:sN,iconName:cN,icon:[uN,fN,qS,dN,pN]};Zi.faTrashCan=Zi.definition;Zi.prefix=sN;Zi.iconName=cN;Zi.width=uN;Zi.height=fN;Zi.ligatures=qS;Zi.unicode=dN;Zi.svgPathData=pN;Zi.aliases=qS});var mN=Ue(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});var fo=hN();el.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};el.faTrashAlt=el.definition;el.prefix=fo.prefix;el.iconName=fo.iconName;el.width=fo.width;el.height=fo.height;el.ligatures=fo.aliases;el.unicode=fo.unicode;el.svgPathData=fo.svgPathData;el.aliases=fo.aliases});var wN=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var vN="far",_N="image",gN=512,bN=512,YS=[],yN="f03e",SN="M448 80c8.8 0 16 7.2 16 16V415.8l-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3V96c0-8.8 7.2-16 16-16H448zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";tl.definition={prefix:vN,iconName:_N,icon:[gN,bN,YS,yN,SN]};tl.faImage=tl.definition;tl.prefix=vN;tl.iconName=_N;tl.width=gN;tl.height=bN;tl.ligatures=YS;tl.unicode=yN;tl.svgPathData=SN;tl.aliases=YS});var X7=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var W7="fas",q7="eye",Y7=576,$7=512,sw=[128065],G7="f06e",K7="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z";nl.definition={prefix:W7,iconName:q7,icon:[Y7,$7,sw,G7,K7]};nl.faEye=nl.definition;nl.prefix=W7;nl.iconName=q7;nl.width=Y7;nl.height=$7;nl.ligatures=sw;nl.unicode=G7;nl.svgPathData=K7;nl.aliases=sw});var sO=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var rO="fas",aO="clock",nO=512,oO=512,fw=[128339,"clock-four"],iO="f017",lO="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z";ol.definition={prefix:rO,iconName:aO,icon:[nO,oO,fw,iO,lO]};ol.faClock=ol.definition;ol.prefix=rO;ol.iconName=aO;ol.width=nO;ol.height=oO;ol.ligatures=fw;ol.unicode=iO;ol.svgPathData=lO;ol.aliases=fw});var mO=Ue(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});var cO="fas",uO="calendar-days",fO=448,dO=512,dw=["calendar-alt"],pO="f073",hO="M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z";il.definition={prefix:cO,iconName:uO,icon:[fO,dO,dw,pO,hO]};il.faCalendarDays=il.definition;il.prefix=cO;il.iconName=uO;il.width=fO;il.height=dO;il.ligatures=dw;il.unicode=pO;il.svgPathData=hO;il.aliases=dw});var vO=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var ho=mO();ll.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};ll.faCalendarAlt=ll.definition;ll.prefix=ho.prefix;ll.iconName=ho.iconName;ll.width=ho.width;ll.height=ho.height;ll.ligatures=ho.aliases;ll.unicode=ho.unicode;ll.svgPathData=ho.svgPathData;ll.aliases=ho.aliases});var MO=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var RO="fas",DO="cloud-arrow-up",AO=640,LO=512,_w=[62338,"cloud-upload","cloud-upload-alt"],NO="f0ee",OO="M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39L296 392c0 13.3 10.7 24 24 24s24-10.7 24-24l0-134.1 39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z";sl.definition={prefix:RO,iconName:DO,icon:[AO,LO,_w,NO,OO]};sl.faCloudArrowUp=sl.definition;sl.prefix=RO;sl.iconName=DO;sl.width=AO;sl.height=LO;sl.ligatures=_w;sl.unicode=NO;sl.svgPathData=OO;sl.aliases=_w});var aM=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var QO="fas",JO="grip-vertical",ZO=320,eM=512,xw=[],tM="f58e",rM="M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z";ul.definition={prefix:QO,iconName:JO,icon:[ZO,eM,xw,tM,rM]};ul.faGripVertical=ul.definition;ul.prefix=QO;ul.iconName=JO;ul.width=ZO;ul.height=eM;ul.ligatures=xw;ul.unicode=tM;ul.svgPathData=rM;ul.aliases=xw});var fM=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var oM="fas",iM="filter",lM=512,sM=512,Ew=[],cM="f0b0",uM="M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z";fl.definition={prefix:oM,iconName:iM,icon:[lM,sM,Ew,cM,uM]};fl.faFilter=fl.definition;fl.prefix=oM;fl.iconName=iM;fl.width=lM;fl.height=sM;fl.ligatures=Ew;fl.unicode=cM;fl.svgPathData=uM;fl.aliases=Ew});var wM=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var vM="fas",_M="palette",gM=512,bM=512,Dw=[127912],yM="f53f",SM="M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";dl.definition={prefix:vM,iconName:_M,icon:[gM,bM,Dw,yM,SM]};dl.faPalette=dl.definition;dl.prefix=vM;dl.iconName=_M;dl.width=gM;dl.height=bM;dl.ligatures=Dw;dl.unicode=yM;dl.svgPathData=SM;dl.aliases=Dw});var DM=Ue(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var CM="fas",xM="bars-staggered",kM=512,TM=512,Aw=["reorder","stream"],EM="f550",RM="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";pl.definition={prefix:CM,iconName:xM,icon:[kM,TM,Aw,EM,RM]};pl.faBarsStaggered=pl.definition;pl.prefix=CM;pl.iconName=xM;pl.width=kM;pl.height=TM;pl.ligatures=Aw;pl.unicode=EM;pl.svgPathData=RM;pl.aliases=Aw});var IM=Ue(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var AM="fas",LM="rotate-left",NM=512,OM=512,Lw=["rotate-back","rotate-backward","undo-alt"],MM="f2ea",PM="M48.5 224L40 224c-13.3 0-24-10.7-24-24L16 72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8L48.5 224z";hl.definition={prefix:AM,iconName:LM,icon:[NM,OM,Lw,MM,PM]};hl.faRotateLeft=hl.definition;hl.prefix=AM;hl.iconName=LM;hl.width=NM;hl.height=OM;hl.ligatures=Lw;hl.unicode=MM;hl.svgPathData=PM;hl.aliases=Lw});var VM=Ue(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});var zM="fas",BM="rotate-right",FM=512,jM=512,Nw=["redo-alt","rotate-forward"],HM="f2f9",UM="M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z";ml.definition={prefix:zM,iconName:BM,icon:[FM,jM,Nw,HM,UM]};ml.faRotateRight=ml.definition;ml.prefix=zM;ml.iconName=BM;ml.width=FM;ml.height=jM;ml.ligatures=Nw;ml.unicode=HM;ml.svgPathData=UM;ml.aliases=Nw});var Bw=Ue(()=>{"use strict"});var Fw=Ue(()=>{"use strict"});var JM=K(rT()),Ps=K(ZT()),op=K(fr()),Ug=K(ar());var Fr={};Ed(Fr,{$$fromRoot:()=>vt,Accordion:()=>aw,Anchor:()=>df,Box:()=>X,Button:()=>nt,Card:()=>Vd,ColorObjects:()=>Gh,Column:()=>er,Config:()=>ht,Cropper:()=>Mw,DarkmodeColors:()=>QM,Effect:()=>mc,ExtractStyles:()=>Ol,FAI:()=>Ne,Flex:()=>Lt,FlexBr:()=>k7,GenerateHTMLProps:()=>To,Grid:()=>Wd,Img:()=>Rs,Input:()=>wa,Label:()=>vg,LaunchReactApp:()=>jg,LeftIcon:()=>$d,LeftIndicator:()=>wg,LinkifyText:()=>F7,List:()=>j7,ListItem:()=>Gd,Loader:()=>Ao,Logo:()=>Ds,OmitSign:()=>Sg,P:()=>x7,PageNotFound:()=>KM,PageViewController:()=>M7,Placeholder:()=>C7,Plate:()=>_g,ReadStyleSet:()=>sm,RequiredShortSign:()=>yg,RequiredSign:()=>bg,RightIcon:()=>Fa,RightIndicator:()=>Cg,RootViewController:()=>As,Row:()=>gt,SetThemeColorTag:()=>$h,Sheet:()=>sr,Snackbar:()=>os,Span:()=>Cn,SwipeView:()=>P7,TabBar:()=>$O,Table:()=>Bg,Text:()=>or,ThemeColors:()=>Iw,Tips:()=>_c,Tooltips:()=>Oa,amotify:()=>H$,default:()=>H$,pageRouter:()=>Pn,useRefresh:()=>El,useRouterEffect:()=>Fg});var YW=Object.defineProperty,$W=Object.defineProperties,GW=Object.getOwnPropertyDescriptors,W_=Object.getOwnPropertySymbols,l5=Object.prototype.hasOwnProperty,s5=Object.prototype.propertyIsEnumerable,c5=Math.pow,i5=(r,a,o)=>a in r?YW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,v=(r,a)=>{for(var o in a||(a={}))l5.call(a,o)&&i5(r,o,a[o]);if(W_)for(var o of W_(a))s5.call(a,o)&&i5(r,o,a[o]);return r},T=(r,a)=>$W(r,GW(a)),$e=(r,a)=>{var o={};for(var s in r)l5.call(r,s)&&a.indexOf(s)<0&&(o[s]=r[s]);if(r!=null&&W_)for(var s of W_(r))a.indexOf(s)<0&&s5.call(r,s)&&(o[s]=r[s]);return o},La=(r,a,o)=>new Promise((s,l)=>{var f=p=>{try{h(o.next(p))}catch(m){l(m)}},u=p=>{try{h(o.throw(p))}catch(m){l(m)}},h=p=>p.done?s(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var zw={};Ed(zw,{$$fromRoot:()=>vt,ColorObjects:()=>Gh,Config:()=>ht,DarkmodeColors:()=>QM,ExtractStyles:()=>Ol,GenerateHTMLProps:()=>To,LaunchReactApp:()=>jg,ReadStyleSet:()=>sm,SetThemeColorTag:()=>$h,ThemeColors:()=>Iw,pageRouter:()=>Pn,useRefresh:()=>El,useRouterEffect:()=>Fg});var qo=K(ar());var ko={sessionUID:(0,qo.UUID)(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},ht={get:()=>ko,set:r=>{ko=v(v({},ko),r)},update:{themeColor:r=>{if(Gh.find(o=>o.key==r)||(r="comun"),r==ht.get().themeColor)return;ht.set(T(v({},ht.get()),{themeColor:r}));let a=(0,qo.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{$h()}),ht.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==ht.get().darkMode)return;let a=r=="auto"?ht.get().isSystemDarkmode()?"dark":"light":r;ht.set(T(v({},ht.get()),{darkMode:a}));let o=(0,qo.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),ht.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=ht.get().roundness&&(ht.set(T(v({},ht.get()),{roundness:r})),ht.restart((0,qo.UUID)()))},screen:r=>{ht.get().screen=v(v({},ht.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",s=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";ko.appRoot=r.appRoot||document.body,ko.appRoot instanceof HTMLElement&&(ko.appRoot.tabIndex=0),qo.default.is.exist(r.roundness)&&ht.update.roundness(r.roundness),qo.default.is.exist(r.themeColor)&&ht.update.themeColor(r.themeColor),qo.default.is.exist(r.darkMode)&&ht.update.darkMode(r.darkMode),ko.deviceIs=o,ko.browserIs=s,ko.isPhone=["Android","iPhone"].includes(o),ko.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,ko.isIOS=["iPhone","iPad"].includes(o),ko.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,ko.isIOS=["iPhone","iPad"].includes(o),ko.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(l=834)=>window.innerWidth<=l,isPhonepoint:(l=690)=>window.innerWidth<=l},(0,qo.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+ht.get().deviceIs,"bdsDM_"+ht.get().darkMode,"bdsTC_"+ht.get().themeColor]),(0,qo.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let l=document.body.style,f=(0,qo.default)(document.body),u=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-u-h;l.setProperty("--viewHeight",window.innerHeight+"px"),l.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{ht.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let l=(0,qo.default)(document.body),f=window.innerHeight,u=Number(l.getStyleProperty("--topNavHeight").removeLetters()),h=Number(l.getStyleProperty("--footerNavHeight").removeLetters()),p=f-u-h;l.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),$h()},restart:r=>{El.release("LaunchReactApp_"+ht.get().sessionUID,r)}};var Yo=K(ar()),Od=K(fr()),El={catch:r=>{let[a]=(0,Od.useState)((0,Yo.UUID)()),[o,s]=(0,Od.useState)((0,Yo.UUID)()),[l,f]=(0,Od.useState)(null),u="RefreshKey_"+a;return(0,Od.useEffect)(()=>{var h;Yo.useStore.set({[u]:m=>{s((0,Yo.UUID)()),f(m||null)}});let p=((h=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Yo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Yo.useStore.delete(u);let g=((m=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=g.indexOf(a);b!==-1&&(g.splice(b,1),Yo.useStore.update({["RefreshKeys_"+r]:{keys:g}}))}},[]),l},release:(r,a)=>{var o;let s=((o=Yo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(s&&s.length)for(let l of s){let f=Yo.useStore.get("RefreshKey_"+l);f&&f(a)}}};var yu=K(fr());var Pw={};Ed(Pw,{Anchor:()=>df,Button:()=>nt,Cropper:()=>Mw,Effect:()=>mc,Input:()=>wa,Label:()=>vg,LeftIcon:()=>$d,LeftIndicator:()=>wg,Loader:()=>Ao,OmitSign:()=>Sg,PageNotFound:()=>KM,PageViewController:()=>M7,Plate:()=>_g,RequiredShortSign:()=>yg,RequiredSign:()=>bg,RightIcon:()=>Fa,RightIndicator:()=>Cg,RootViewController:()=>As,Sheet:()=>sr,Snackbar:()=>os,SwipeView:()=>P7,TabBar:()=>$O,Table:()=>Bg,Tips:()=>_c,Tooltips:()=>Oa});var Dl=K(At()),du=K(fr()),$a=K(ar());var QS={};Ed(QS,{Box:()=>X,Card:()=>Vd,Column:()=>er,FAI:()=>Ne,Flex:()=>Lt,FlexBr:()=>k7,Grid:()=>Wd,Img:()=>Rs,Logo:()=>Ds,P:()=>x7,Placeholder:()=>C7,Span:()=>Cn});var ff=K(At());var d5=K(At());var X=r=>{let a=To(r),{htmlTag:o}=a,s=$e(a,["htmlTag"]),l=o||"div";return l?(0,d5.jsx)(l,v({},s)):null};var It=K(At());var CN=K(ME()),xN=K(UE()),kN=K(KE()),TN=K(rR()),EN=K(cR()),RN=K(vR()),DN=K(CR()),AN=K(AR()),LN=K(zR()),NN=K(WR()),ON=K(QR()),MN=K(n6()),PN=K(f6()),IN=K(g6()),zN=K(k6()),BN=K(sS()),FN=K(uS()),jN=K(dS()),HN=K(X6()),UN=K(nD()),VN=K(fD()),WN=K(gD()),qN=K(kD()),YN=K(OD()),$N=K(HD()),GN=K(GD()),KN=K(rA()),XN=K(cA()),QN=K(vA()),JN=K(CA()),ZN=K(AA()),e7=K(zA()),t7=K(WA()),r7=K(JA()),a7=K(o8()),n7=K(d8()),o7=K(b8()),i7=K(E8()),l7=K(P8()),s7=K(U8()),c7=K(K8()),u7=K(rL()),f7=K(cL()),d7=K(vL()),p7=K(CL()),h7=K(LL()),m7=K(FL()),v7=K($L()),_7=K(eN()),g7=K(lN()),b7=K(mN()),y7=K(wN()),Bt=r=>{let a=r,{icon:o}=a,s=$e(a,["icon"]),l=To(s);return(0,It.jsx)(CN.FontAwesomeIcon,T(v({icon:o,size:"1x"},l),{style:v({aspectRatio:"1"},l==null?void 0:l.style)}))},Ne=Bt;Ne.User=r=>(0,It.jsx)(Bt,T(v({},r),{icon:p7.faUser})),Ne.Times=r=>(0,It.jsx)(Bt,T(v({},r),{icon:xN.faTimes})),Ne.AngleRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:kN.faAngleRight})),Ne.AngleLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:TN.faAngleLeft})),Ne.AngleUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:EN.faAngleUp})),Ne.AngleDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:RN.faAngleDown})),Ne.ChevronLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:DN.faChevronLeft})),Ne.ChevronRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:AN.faChevronRight})),Ne.ChevronUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:LN.faChevronUp})),Ne.ChevronDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:NN.faChevronDown})),Ne.CaretLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:ON.faCaretLeft})),Ne.CaretRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:MN.faCaretRight})),Ne.CaretUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:PN.faCaretUp})),Ne.CaretDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:IN.faCaretDown})),Ne.ArrowLeft=r=>(0,It.jsx)(Bt,T(v({},r),{icon:zN.faArrowLeft})),Ne.ArrowRight=r=>(0,It.jsx)(Bt,T(v({},r),{icon:BN.faArrowRight})),Ne.ArrowUp=r=>(0,It.jsx)(Bt,T(v({},r),{icon:FN.faArrowUp})),Ne.ArrowDown=r=>(0,It.jsx)(Bt,T(v({},r),{icon:jN.faArrowDown})),Ne.Rotate=r=>(0,It.jsx)(Bt,T(v({},r),{icon:HN.faRotate})),Ne.Redo=r=>(0,It.jsx)(Bt,T(v({},r),{icon:UN.faRedo})),Ne.Check=r=>(0,It.jsx)(Bt,T(v({},r),{icon:VN.faCheck})),Ne.CheckCircle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:h7.faCheckCircle})),Ne.Question=r=>(0,It.jsx)(Bt,T(v({},r),{icon:WN.faQuestion})),Ne.QuestionCircle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:m7.faQuestionCircle})),Ne.Exclamation=r=>(0,It.jsx)(Bt,T(v({},r),{icon:qN.faExclamation})),Ne.ExclamationTriangle=r=>(0,It.jsx)(Bt,T(v({},r),{icon:YN.faExclamationTriangle})),Ne.Home=r=>(0,It.jsx)(Bt,T(v({},r),{icon:$N.faHome})),Ne.Share=r=>(0,It.jsx)(Bt,T(v({},r),{icon:GN.faShare})),Ne.Search=r=>(0,It.jsx)(Bt,T(v({},r),{icon:KN.faSearch})),Ne.YenSign=r=>(0,It.jsx)(Bt,T(v({},r),{icon:XN.faYenSign})),Ne.Heart=r=>(0,It.jsx)(Bt,T(v({},r),{icon:u7.faHeart})),Ne.Star=r=>(0,It.jsx)(Bt,T(v({},r),{icon:s7.faStar})),Ne.Edit=r=>(0,It.jsx)(Bt,T(v({},r),{icon:v7.faEdit})),Ne.Pen=r=>(0,It.jsx)(Bt,T(v({},r),{icon:QN.faPen})),Ne.Copy=r=>(0,It.jsx)(Bt,T(v({},r),{icon:_7.faCopy})),Ne.File=r=>(0,It.jsx)(Bt,T(v({},r),{icon:g7.faFile})),Ne.TrashAlt=r=>(0,It.jsx)(Bt,T(v({},r),{icon:b7.faTrashAlt})),Ne.Bars=r=>(0,It.jsx)(Bt,T(v({},r),{icon:JN.faBars})),Ne.Download=r=>(0,It.jsx)(Bt,T(v({},r),{icon:ZN.faDownload})),Ne.Link=r=>(0,It.jsx)(Bt,T(v({},r),{icon:e7.faLink})),Ne.LinkSlash=r=>(0,It.jsx)(Bt,T(v({},r),{icon:t7.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,It.jsx)(Bt,T(v({},r),{icon:r7.faExternalLinkAlt})),Ne.Gear=r=>(0,It.jsx)(Bt,T(v({},r),{icon:a7.faGear})),Ne.Plus=r=>(0,It.jsx)(Bt,T(v({},r),{icon:n7.faPlus})),Ne.Minus=r=>(0,It.jsx)(Bt,T(v({},r),{icon:o7.faMinus})),Ne.EllipsisH=r=>(0,It.jsx)(Bt,T(v({},r),{icon:i7.faEllipsisH})),Ne.EllipsisV=r=>(0,It.jsx)(Bt,T(v({},r),{icon:l7.faEllipsisV})),Ne.PaperPlane=r=>(0,It.jsx)(Bt,T(v({},r),{icon:c7.faPaperPlane})),Ne.Image=r=>(0,It.jsx)(Bt,T(v({},r),{icon:y7.faImage})),Ne.Ban=r=>(0,It.jsx)(Bt,T(v({},r),{icon:f7.faBan})),Ne.Location=r=>(0,It.jsx)(Bt,T(v({},r),{icon:d7.faLocationCrosshairs}));var S7=K(At());var WY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},qY={Size_S:"_Size_S_10jdu_1",Size_R:"_Size_R_10jdu_6",Size_L:"_Size_L_10jdu_11",Size_2L:"_Size_2L_10jdu_16",Size_3L:"_Size_3L_10jdu_21",Icon:"_Icon_10jdu_27",Title:"_Title_10jdu_31",ComunIcon:"_ComunIcon_10jdu_38",ComunTitle:"_ComunTitle_10jdu_42",MingooIcon:"_MingooIcon_10jdu_46",P:"_P_10jdu_46",P_0:"_P_0_10jdu_50",P_1:"_P_1_10jdu_53",P_2:"_P_2_10jdu_56",P_3:"_P_3_10jdu_59",P_4:"_P_4_10jdu_62",P_5:"_P_5_10jdu_65",P_6:"_P_6_10jdu_68",P_7:"_P_7_10jdu_71",P_8:"_P_8_10jdu_74",P_9:"_P_9_10jdu_77",P_10:"_P_10_10jdu_81",P_11:"_P_11_10jdu_85",P_12:"_P_12_10jdu_89"},YY={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},$Y={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},GY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},KY={Wrapper:"_Wrapper_3nb6i_2",Wrap:"_Wrap_3nb6i_2",Content:"_Content_3nb6i_9",TapSensor:"_TapSensor_3nb6i_28",TapContent:"_TapContent_3nb6i_38",Hide:"_Hide_3nb6i_45",Open:"_Open_3nb6i_48",isMainSheet_true:"_isMainSheet_true_3nb6i_48",isMainSheet_false:"_isMainSheet_false_3nb6i_52",BB:"_BB_3nb6i_52",Tcate_normal:"_Tcate_normal_3nb6i_55",BaseBody:"_BaseBody_3nb6i_59",Tcate_drawer:"_Tcate_drawer_3nb6i_74",Tpos_left:"_Tpos_left_3nb6i_74",Tpos_right:"_Tpos_right_3nb6i_89",Tpos_bottom:"_Tpos_bottom_3nb6i_104",DragBar:"_DragBar_3nb6i_111",Tcate_custom:"_Tcate_custom_3nb6i_119",CustomSheet:"_CustomSheet_3nb6i_127",GPT:"_GPT_3nb6i_130",Col_1:"_Col_1_3nb6i_130",Row_1:"_Row_1_3nb6i_130",Row_4:"_Row_4_3nb6i_130",Col_4:"_Col_4_3nb6i_130",Row_2:"_Row_2_3nb6i_133",Row_5:"_Row_5_3nb6i_133",Col_2:"_Col_2_3nb6i_136",Col_5:"_Col_5_3nb6i_136",GPT_3:"_GPT_3_3nb6i_142",GPT_18:"_GPT_18_3nb6i_142",GPT_8:"_GPT_8_3nb6i_145",GPT_23:"_GPT_23_3nb6i_145",GPT_11:"_GPT_11_3nb6i_148",GPT_14:"_GPT_14_3nb6i_148",GPT_12:"_GPT_12_3nb6i_151",GPT_15:"_GPT_15_3nb6i_151",Col_3:"_Col_3_3nb6i_161"},XY={Wrapper:"_Wrapper_jip2p_1",CornerLoader:"_CornerLoader_jip2p_17",Wrap:"_Wrap_jip2p_1",isActive:"_isActive_jip2p_28",ldAnm:"_ldAnm_jip2p_1",Ld1:"_Ld1_jip2p_34",Ld2:"_Ld2_jip2p_37",Ld3:"_Ld3_jip2p_40",Ld4:"_Ld4_jip2p_43",MiniLoader:"_MiniLoader_jip2p_61",Active_false:"_Active_false_jip2p_64",Hide:"_Hide_jip2p_67",Active:"_Active_jip2p_64",Core:"_Core_jip2p_77",spin:"_spin_jip2p_1",SVG1:"_SVG1_jip2p_85",loader:"_loader_jip2p_1",loading:"_loading_jip2p_1",SVG2:"_SVG2_jip2p_92"},QY={RootViewController:"_RootViewController_czfgs_2",Content:"_Content_czfgs_7",TopNav:"_TopNav_czfgs_11",FooterNav:"_FooterNav_czfgs_14",Body:"_Body_czfgs_17",SideNav:"_SideNav_czfgs_17",SwipeView:"_SwipeView_czfgs_24",Rail:"_Rail_czfgs_24",ShowOther_true:"_ShowOther_true_czfgs_24",Child:"_Child_czfgs_24",Display:"_Display_czfgs_32",LoopAdjusting:"_LoopAdjusting_czfgs_36"},JY={Wrap:"_Wrap_1rtvv_1",RowClickable_true:"_RowClickable_true_1rtvv_4",Row:"_Row_1rtvv_4",BodyRow:"_BodyRow_1rtvv_4",DataNotFound:"_DataNotFound_1rtvv_4",Cell:"_Cell_1rtvv_7",Table:"_Table_1rtvv_13",TableType_drag:"_TableType_drag_1rtvv_24",DraggerOrigin:"_DraggerOrigin_1rtvv_28",DragableButton:"_DragableButton_1rtvv_34",TableType_data:"_TableType_data_1rtvv_43",Console:"_Console_1rtvv_43",TableBase:"_TableBase_1rtvv_50",HeadRow:"_HeadRow_1rtvv_60",FilterRegion:"_FilterRegion_1rtvv_66",Filtering_true:"_Filtering_true_1rtvv_69"},ZY={RippleElement:"_RippleElement_17vcx_1",Color_cloud:"_Color_cloud_17vcx_7",RippleWrap:"_RippleWrap_17vcx_7",Wave:"_Wave_17vcx_7",Color_theme:"_Color_theme_17vcx_10",PuddingEffect:"_PuddingEffect_17vcx_39",pdAnm:"_pdAnm_17vcx_1"},e$={Wrap:"_Wrap_8x4zl_1",Use_profile:"_Use_profile_8x4zl_4",Use_head:"_Use_head_8x4zl_7",Canvas:"_Canvas_8x4zl_11",Preview:"_Preview_8x4zl_17",ToneBall:"_ToneBall_8x4zl_21",ToneBall_1:"_ToneBall_1_8x4zl_25",ToneBall_2:"_ToneBall_2_8x4zl_28",ToneBall_3:"_ToneBall_3_8x4zl_31",ToneBall_4:"_ToneBall_4_8x4zl_34",ToneBall_5:"_ToneBall_5_8x4zl_37",ToneBall_6:"_ToneBall_6_8x4zl_40",ToneBall_7:"_ToneBall_7_8x4zl_43",ToneBall_8:"_ToneBall_8_8x4zl_46",ToneBall_9:"_ToneBall_9_8x4zl_49",ToneBall_10:"_ToneBall_10_8x4zl_52"},t$={Wrap:"_Wrap_kr7qs_1",isLocked_true:"_isLocked_true_kr7qs_16",Tone_sub_Color_theme:"_Tone_sub_Color_theme_kr7qs_21",Tone_clear_Color_theme:"_Tone_clear_Color_theme_kr7qs_21",Tone_sub_Color_posi:"_Tone_sub_Color_posi_kr7qs_24",Tone_clear_Color_posi:"_Tone_clear_Color_posi_kr7qs_24",Tone_sub_Color_nega:"_Tone_sub_Color_nega_kr7qs_27",Tone_clear_Color_nega:"_Tone_clear_Color_nega_kr7qs_27",Tone_sub_Color_warn:"_Tone_sub_Color_warn_kr7qs_30",Tone_clear_Color_warn:"_Tone_clear_Color_warn_kr7qs_30",Tone_sub_Color_white:"_Tone_sub_Color_white_kr7qs_33",Tone_clear_Color_white:"_Tone_clear_Color_white_kr7qs_33",Tone_sub_Color_cloud:"_Tone_sub_Color_cloud_kr7qs_36",Tone_clear_Color_cloud:"_Tone_clear_Color_cloud_kr7qs_36",Tone_sub_Color_layer:"_Tone_sub_Color_layer_kr7qs_39",Tone_clear_Color_layer:"_Tone_clear_Color_layer_kr7qs_39",isNeutral_true:"_isNeutral_true_kr7qs_43",Tone_clear:"_Tone_clear_kr7qs_21",Tone_borderToFill:"_Tone_borderToFill_kr7qs_46",Tone_fillToBorder:"_Tone_fillToBorder_kr7qs_49",Tone_fillToBorder_Color_white:"_Tone_fillToBorder_Color_white_kr7qs_52",Tone_fillToBorder_Color_cloud:"_Tone_fillToBorder_Color_cloud_kr7qs_52",Tone_link:"_Tone_link_kr7qs_55",Tone_normal_Color_plain:"_Tone_normal_Color_plain_kr7qs_62",Tone_normal_Color_theme:"_Tone_normal_Color_theme_kr7qs_66",Tone_normal_Color_posi:"_Tone_normal_Color_posi_kr7qs_70",Tone_normal_Color_nega:"_Tone_normal_Color_nega_kr7qs_74",Tone_normal_Color_warn:"_Tone_normal_Color_warn_kr7qs_78",Tone_border:"_Tone_border_kr7qs_46",Tone_prime:"_Tone_prime_kr7qs_85",Tone_borderToFill_Color_white:"_Tone_borderToFill_Color_white_kr7qs_120",Tone_borderToFill_Color_cloud:"_Tone_borderToFill_Color_cloud_kr7qs_120"},r$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var a$={Input:"_Input_1g1ty_1",List:"_List_1g1ty_1",AddButton:"_AddButton_1g1ty_1",FileName:"_FileName_1g1ty_5",Draggable:"_Draggable_1g1ty_18",AddIcon:"_AddIcon_1g1ty_21",IconAnimation:"_IconAnimation_1g1ty_1"},n$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},o$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},i$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},l$={Label:"_Label_qfhyi_1",Wrap:"_Wrap_qfhyi_18",Rail:"_Rail_qfhyi_18",Bar:"_Bar_qfhyi_18",BarColor:"_BarColor_qfhyi_21",Labels:"_Labels_qfhyi_24",ShowLegendsAlways_true:"_ShowLegendsAlways_true_qfhyi_27",Ball:"_Ball_qfhyi_38"},s$={Header:"_Header_1rlyc_1",Body:"_Body_1rlyc_8",Footer:"_Footer_1rlyc_13",ClockBase:"_ClockBase_1rlyc_20",DesignSide:"_DesignSide_1rlyc_20",ClockUiBase:"_ClockUiBase_1rlyc_20",ClockUi:"_ClockUi_1rlyc_20",Needle:"_Needle_1rlyc_24",hour:"_hour_1rlyc_31",minute:"_minute_1rlyc_36",DateBase:"_DateBase_1rlyc_42",LeftButton:"_LeftButton_1rlyc_42",RightButton:"_RightButton_1rlyc_45",MonthBase:"_MonthBase_1rlyc_49",Cell:"_Cell_1rlyc_55",isThisMonth:"_isThisMonth_1rlyc_55",miniYearInput:"_miniYearInput_1rlyc_61",CalendarDay:"_CalendarDay_1rlyc_66",isToday_true:"_isToday_true_1rlyc_66"};var c$={Label:"_Label_1kvwn_1",Tone_plain:"_Tone_plain_1kvwn_6",Checked:"_Checked_1kvwn_6",Tone_cloud:"_Tone_cloud_1kvwn_9",Tone_cloudmono:"_Tone_cloudmono_1kvwn_12",Tone_cloudtheme:"_Tone_cloudtheme_1kvwn_15",Tone_bordervivid:"_Tone_bordervivid_1kvwn_21",Tone_bottomline:"_Tone_bottomline_1kvwn_27"},$S=r=>WY[r],rl=r=>qY[r],pg=r=>YY[r],GS=r=>$Y[r],im=r=>GY[r],va=r=>KY[r],Ta=r=>XY[r],Na=r=>QY[r],Xt=r=>JY[r],Zl=r=>ZY[r],cu=r=>e$[r],sf=r=>t$[r],Hd=r=>r$[r];var es=r=>a$[r],cf=r=>n$[r],Rl=r=>o$[r],uf=r=>i$[r],Es=r=>l$[r],Ea=r=>s$[r];var hg=r=>c$[r];var Rs=r=>{let a=r,{src:o="",alt:s="",showExpand:l}=a,f=$e(a,["src","alt","showExpand"]);return(0,S7.jsx)(X,T(v({htmlTag:"img",src:o,alt:s},f),{className:[$S("Img"),$S("ShowExpand_"+!!l),f.className].join(" "),onPointerDown:u=>{f.onPointerDown&&f.onPointerDown(u),l&&u.stopPropagation()},onClick:u=>{f.onClick&&f.onClick(u),l&&(u.stopPropagation(),sr.open({type:"image",src:l!=!0?l:o}))},freeCSS:v({cursor:l?"zoom-in":"inherit"},f.freeCSS)}))};var nr=K(At()),KS=K(ar());var w7={ComunIcon:()=>(0,nr.jsx)("svg",{viewBox:"0,0,1200,1200",className:rl("ComunIcon"),children:(0,nr.jsxs)("g",{children:[(0,nr.jsx)("path",{d:`
927
927
  M
928
928
  100,600
929
929
  A 500,500 0 0,0 600,1100
@@ -973,11 +973,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
973
973
  L600,600
974
974
  L600,300
975
975
  Z
976
- `,className:[rl("P"),rl("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,nr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:rl("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},uu={Icon:r=>(0,nr.jsx)(Rs.Icon,T(v({},r),{children:(0,nr.jsx)(w7.MingooIcon,{})})),Title:r=>(0,nr.jsx)(Rs.Title,T(v({className:rl("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:s}=a,l=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({gap:"1/2",flexCenter:!0},l),{children:[(0,nr.jsx)(uu.Icon,{size:o,color:s}),(0,nr.jsx)(uu.Title,{size:o,color:s})]}))},LogoV:r=>{let a=r,{size:o,color:s}=a,l=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({flexType:"col",gap:"1/2"},l),{children:[(0,nr.jsx)(uu.Icon,{margin:"auto",size:o,color:s}),(0,nr.jsx)(uu.Title,{size:o,color:s})]}))}},fu={Icon:r=>(0,nr.jsx)(Rs.Icon,T(v({},r),{children:(0,nr.jsx)(w7.ComunIcon,{})})),Title:r=>(0,nr.jsx)(Rs.Title,T(v({className:rl("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:s}=a,l=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({gap:"1/2",flexCenter:!0},l),{children:[(0,nr.jsx)(fu.Icon,{size:o,color:s}),(0,nr.jsx)(fu.Title,{size:o,color:s})]}))},LogoV:r=>{let a=r,{size:o,color:s}=a,l=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({flexType:"col",gap:"1/2"},l),{children:[(0,nr.jsx)(fu.Icon,{margin:"auto",size:o,color:s}),(0,nr.jsx)(fu.Title,{size:o,color:s})]}))}},pc="https://cdn.amotify.com/",Rs={Icon:r=>{let a=r,{size:o="R",color:s="normal",className:l="",children:f}=a,u=$e(a,["size","color","className","children"]);return(0,nr.jsx)(Lt,T(v({className:[l,rl("Icon"),rl("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:KS.default.is.function(f)?(0,nr.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:s="normal",className:l="",children:f}=a,u=$e(a,["size","color","className","children"]);return(0,nr.jsx)(Lt,T(v({className:[l,rl("Title"),rl("Size_"+o)].join(" "),verticalAlign:"center",fontColor:s=="white"?"white":"logo"},u),{children:KS.default.is.function(f)?(0,nr.jsx)(f,{}):f}))},Brands:{MingooIcon:uu.Icon,MingooTitle:uu.Title,MingooLogoH:uu.LogoH,MingooLogoV:uu.LogoV,ComunIcon:fu.Icon,ComunTitle:fu.Title,ComunLogoH:fu.LogoH,ComunLogoV:fu.LogoV,Google:r=>(0,nr.jsx)(Rs.Icon,T(v({},r),{children:(0,nr.jsx)(Es,{src:pc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,nr.jsx)(Rs.Icon,T(v({},r),{children:(0,nr.jsx)(Es,{src:pc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,nr.jsx)(Rs.Icon,T(v({},r),{children:(0,nr.jsx)(Es,{src:pc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,nr.jsx)(Rs.Icon,T(v({},r),{children:(0,nr.jsx)(Es,{src:pc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:pc+"@env/@logos/mingoo/icon.png",mingooIconClear:pc+"@env/@logos/mingoo/iconClear.png",comunIcon:pc+"@env/@logos/comun/icon.png",comunIconClear:pc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>pc+"@env/@icon/"+(r||"image")+".png"}};var XS=K(At());var C7=r=>{let a=r,{color:o="cloud"}=a,s=$e(a,["color"]);return(0,XS.jsx)(X,T(v({className:[pg("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},s),{children:(0,XS.jsx)(X,{className:[pg("Body"),pg("Color_"+o)].join(" ")})}))};var Ud=K(At());var lm=r=>{let a=$e(r,[]);return(0,Ud.jsx)(X,v({ssCardBox:!0,padding:1.5},a))},Vd=lm;Vd.Border=r=>(0,Ud.jsx)(lm,v({ssCardBox:"border"},r)),Vd.Plain=r=>(0,Ud.jsx)(lm,v({ssCardBox:"plain"},r)),Vd.Cloud=r=>(0,Ud.jsx)(lm,v({ssCardBox:"cloud"},r)),Vd.Shadow=r=>(0,Ud.jsx)(lm,v({ssCardBox:"shadow"},r));var Cn=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"span"})),x7=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"p"})),Wd=r=>(0,ff.jsx)(X,v({display:"grid"},r)),Lt=r=>(0,ff.jsx)(X,T(v({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:v({wordBreak:"break-word"},r.freeCSS)})),k7=r=>(0,ff.jsx)(X,v({width:1,flexSizing:"none"},r)),er=r=>(0,ff.jsx)(Lt,v({flexType:"col",gap:1},r));var Ds=K(At()),mg=K(ar());var T7={Size:(r,a,o,s)=>{let l={fontSize:"inherit"};return o=o||"R",a=="plain"?{}:(a=="link"?o=="xsmall"?l.fontSize="0.xs":o=="small"?l.fontSize="1.mini":o=="regular"||o=="large"&&(l.fontSize="3.paragraph"):l=v({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},l),o=="xsmall"?l=T(v({},l),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?l=T(v({},l),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(l.padding=["3/4",1],a=="prime"&&(l.padding=["3/4",1.5])):o=="large"&&(l.padding=[1,2],l.fontSize="3.paragraph",l.isSemiBoldFont=!0),l)},Tone:(r,a,o,s)=>{let l={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(l.fontColor="theme",l.textAlign="left",l.backgroundColor="trans"):a=="normal"?l=T(v({},l),{backgroundColor:"trans"}):a=="border"?l=T(v({},l),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(l=T(v({},l),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:s,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),s=="white"&&(l=T(v({},l),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?l=T(v({},l),{fontColor:s,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?l=T(v({},l),{fontColor:s,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?l=T(v({},l),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:s,fontColor:s,backgroundColor:s}):a=="borderToFill"&&(l=T(v({},l),{fontColor:s,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:s,backgroundColor:s})),s=="cloud"&&(l.fontColor="2.normal"),a!="link"&&(l=v({position:"relative",ssEffectsOnActive:["shrink","push"]},l))),l}},E7=r=>{let a=sm(v({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,mg.UUID)()},r)),o=a.seed;{let{isLocked:s=!1,isActive:l=!1,isActiveStyles:f={},isActiveClassName:u="",tone:h="border",size:p="regular",color:m="theme",className:g=""}=a;a=v(v(v({},T7.Size(r.seed,h,p,m)),T7.Tone(r.seed,h,p,m)),a),a.className=[g,sf("Wrap"),sf("isNeutral_"+!l),sf("isLocked_"+s),sf("Tone_"+h),sf("Color_"+m),sf("Tone_"+h+"_Color_"+m)].join(" "),l&&(a=v(v({className:[a.className,u].join(" ")},a),f))}if(o=="button"){let s=a,{isLocked:l,isActive:f,isActiveClassName:u,isActiveStyles:h,submitOption:p,onClick:m}=s,g=$e(s,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=v({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),g=T(v({},g),{"data-form-submit-button":p.formName,"data-sdfike":mg.default.flatArray(p.submitDelegationKey).join(",")})),(0,Ds.jsx)(X,T(v({htmlTag:"button",fontHeight:"inherit"},g),{onClick:b=>La(void 0,null,function*(){if(l||(m&&m(b),!p))return;let S=yield wa.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let s=a,{isLocked:l,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p}=s,m=$e(s,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Ds.jsx)(X,T(v({htmlTag:"label"},m),{onClick:g=>{l||p&&p(g)}}))}else if(o=="anchor"){let s=a,{isLocked:l,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p,href:m="",newTab:g,sync:b,shiftQueryParams:S}=s,w=$e(s,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Ds.jsx)(X,T(v({htmlTag:"button"},w),{onClick:k=>{if(l)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,N=g||!!L,Y=m;if(S&&(Y+=location.search),b){Pn.pushSync(Y);return}Pn.push(Y,!!N)}}))}return null},hc=function(r,a){let o=l=>(0,Ds.jsx)(E7,v({seed:r,tone:a,size:"regular"},l)),s=o;return s.XS=l=>(0,Ds.jsx)(o,v({size:"xsmall",tone:a},l)),s.S=l=>(0,Ds.jsx)(o,v({size:"small",tone:a},l)),s.R=l=>(0,Ds.jsx)(o,v({size:"regular",tone:a},l)),s.L=l=>(0,Ds.jsx)(o,v({size:"large",tone:a},l)),s},JS=function(r){let a=o=>(0,Ds.jsx)(E7,v({seed:r,tone:"prime",size:"regular"},o));return a.Plain=hc(r,"plain"),a.Link=hc(r,"link"),a.Normal=hc(r,"normal"),a.Border=hc(r,"border"),a.Prime=hc(r,"prime"),a.Sub=hc(r,"sub"),a.Clear=hc(r,"clear"),a.FillToBorder=hc(r,"fillToBorder"),a.BorderToFill=hc(r,"borderToFill"),a},lt=JS("button"),vg=JS("label"),df=JS("anchor");var As={Base:r=>{let a=r,{topNavigation:o,sideNavigation:s,footerNavigation:l,children:f,className:u}=a,h=$e(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,du.useEffect)(()=>{As.fn.updateCSSProperty.reset(),setTimeout(()=>{As.fn.updateCSSProperty.reset()},100);let m="ResizeCB",g="RemovePageEventCB";return(0,Ya.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{ht.get().screen.isPhonepoint()||Ya.default.interval.once(()=>{As.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,Ya.default)(window).removeEvent(g),(0,Ya.default)(window).removeEvent(m)}},[]);let p=f;return(0,Dl.jsxs)(er,T(v({className:[u,Na("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Dl.jsxs)(Lt,{className:Na("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[s,(0,Dl.jsx)(X,{className:Na("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),l]}))},TopNavigation:r=>{let a=r,{className:o,children:s}=a,l=$e(a,["className","children"]),[f]=(0,du.useState)((0,Ya.UUID)());return(0,du.useEffect)(()=>{As.fn.updateCSSProperty.topNav()},[]),(0,Dl.jsx)(Lt,T(v({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},l),{id:"__RVC_TopNavigation",className:[o,Na("TopNav")].join(" "),children:s}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,s=$e(a,["className"]);return(0,du.useEffect)(()=>{As.fn.updateCSSProperty.sideNav()},[]),(0,Dl.jsx)(X,T(v({className:[o,Na("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},s),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:s}=a,l=$e(a,["className","baseStyles"]),[f]=(0,du.useState)((0,Ya.UUID)());return(0,du.useEffect)(()=>{As.fn.updateCSSProperty.footer()},[]),(0,Dl.jsx)(Lt,T(v({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},s),{id:"__RVC_FooterNavigation",className:[Na("FooterNav"),o].join(" "),children:(0,Dl.jsx)(Lt,v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},l))}))},Comps:{Button:r=>{let a=r,{isActive:o,path:s,pathGroup:l,currentPath:f}=a,u=$e(a,["isActive","path","pathGroup","currentPath"]),h=Ya.default.flatArray(l),p=f||location.pathname;{let m=!1;Ya.default.scope(()=>{Ya.default.is.string(s)&&(Ya.default.is.nullish(s)||(m=p.replace(/^\//,"").replace(/\/$/,"")==s.replace(/^\//,"").replace(/\/$/,"")))}),Ya.default.scope(()=>{if(!m&&h.length)for(let g of h){if(m)break;Ya.default.is.nullish(g)||(Ya.default.is.string(g)&&(g=String(g).escapeRegExChar()),p.match(new RegExp(g))&&(m=!0))}}),o=o!=null?o:m}return(0,Dl.jsx)(lt.Clear,v({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:m=>{Ya.default.is.exist(s)&&Ya.default.is.string(s)&&Pn.push(s,m.ctrlKey||m.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",width:1,flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},u))},Bar:r=>(0,Dl.jsx)(X,v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Dl.jsx)(X,v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Ya.default)(document.body),a=vt("#__RVC_TopNavigation"),o=a.position().height||0,s=o;a.getStyleProperty("position")!="sticky"&&(s=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",s+"px")},footer:()=>{let r=(0,Ya.default)(document.body),a=vt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,Ya.default)(document.body),a=vt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,Ya.default)(document.body),a=vt("#__RVC_TopNavigation"),o=vt("#__RVC_FooterNavigation"),s=vt("#__RVC_SideNavigation"),l=a.position().height||0,f=l,u=o.position().height||0,h=s.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,g=p-l-u,b=m-h;r.setStyleProperty("--topNavHeight",l+"px").setStyleProperty("--topBase",f+"px").setStyleProperty("--footerNavHeight",u+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",g+"px").setStyleProperty("--contentHeight",g+"px").setStyleProperty("--contentWidth",b+"px")}}}};var R7=K(At());var _g=r=>{let a=r,{size:o="R"}=a,s=$e(a,["size"]),l={MIN:36,XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,R7.jsx)(X,T(v({margin:[0,"auto"],width:1},s),{freeCSS:v({maxWidth:12*l},s.freeCSS)}))};var cm=K(At()),O7=K(fr());var ZS=K(At()),ew=K(ar());var qd=K(fr());var D7=r=>{let a=r,{animationDelay:o=100,animationTime:s=300,componentID:l=(0,ew.UUID)()}=a,f=$e(a,["animationDelay","animationTime","componentID"]),[u]=(0,qd.useState)(l);return(0,qd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:s+"ms"}).await(1).css({opacity:1})},o)},[]),(0,ZS.jsx)(X,T(v({},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))},A7=r=>{let a=r,{animationDelay:o=100,animationTime:s=300,componentID:l=(0,ew.UUID)()}=a,f=$e(a,["animationDelay","animationTime","componentID"]),[u]=(0,qd.useState)(l);return(0,qd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:s+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,ZS.jsx)(X,T(v({paddingTop:2},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))};var al=K(ar());var pf={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,al.Time)().ms,o=r.target,s=(0,al.default)(o);if(!s[0])return;let l=s.getAttribute("data-effect-tone");if(!l){let M=s.parent('[data-effect-ripple="1"]');if(!M[0])return;s=M,l=M.getAttribute("data-effect-tone")}if(!l)return;let f="RippleWrap-"+(0,al.UUID)(),{left:u,top:h,height:p,width:m}=s.position(),{pageXOffset:g,pageYOffset:b}=al.default.getScreenSize(),{x:S,y:w}=al.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(S-(u+g),0),N=Math.max(w-(h+b),0),Y={RippleElement:s,startedAt:a,size:k};(0,al.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{pf.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{pf.End(Y)},20)}}),(0,al.default)(s).addClass([Zl("RippleElement"),Zl("Color_"+l)]).append(`<div class="${Zl("RippleWrap")}" id="${f}">
976
+ `,className:[rl("P"),rl("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,nr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:rl("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},uu={Icon:r=>(0,nr.jsx)(Ds.Icon,T(v({},r),{children:(0,nr.jsx)(w7.MingooIcon,{})})),Title:r=>(0,nr.jsx)(Ds.Title,T(v({className:rl("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:s}=a,l=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({gap:"1/2",flexCenter:!0},l),{children:[(0,nr.jsx)(uu.Icon,{size:o,color:s}),(0,nr.jsx)(uu.Title,{size:o,color:s})]}))},LogoV:r=>{let a=r,{size:o,color:s}=a,l=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({flexType:"col",gap:"1/2"},l),{children:[(0,nr.jsx)(uu.Icon,{margin:"auto",size:o,color:s}),(0,nr.jsx)(uu.Title,{size:o,color:s})]}))}},fu={Icon:r=>(0,nr.jsx)(Ds.Icon,T(v({},r),{children:(0,nr.jsx)(w7.ComunIcon,{})})),Title:r=>(0,nr.jsx)(Ds.Title,T(v({className:rl("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:s}=a,l=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({gap:"1/2",flexCenter:!0},l),{children:[(0,nr.jsx)(fu.Icon,{size:o,color:s}),(0,nr.jsx)(fu.Title,{size:o,color:s})]}))},LogoV:r=>{let a=r,{size:o,color:s}=a,l=$e(a,["size","color"]);return(0,nr.jsxs)(Lt,T(v({flexType:"col",gap:"1/2"},l),{children:[(0,nr.jsx)(fu.Icon,{margin:"auto",size:o,color:s}),(0,nr.jsx)(fu.Title,{size:o,color:s})]}))}},pc="https://cdn.amotify.com/",Ds={Icon:r=>{let a=r,{size:o="R",color:s="normal",className:l="",children:f}=a,u=$e(a,["size","color","className","children"]);return(0,nr.jsx)(Lt,T(v({className:[l,rl("Icon"),rl("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:KS.default.is.function(f)?(0,nr.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:s="normal",className:l="",children:f}=a,u=$e(a,["size","color","className","children"]);return(0,nr.jsx)(Lt,T(v({className:[l,rl("Title"),rl("Size_"+o)].join(" "),verticalAlign:"center",fontColor:s=="white"?"white":"logo"},u),{children:KS.default.is.function(f)?(0,nr.jsx)(f,{}):f}))},Brands:{MingooIcon:uu.Icon,MingooTitle:uu.Title,MingooLogoH:uu.LogoH,MingooLogoV:uu.LogoV,ComunIcon:fu.Icon,ComunTitle:fu.Title,ComunLogoH:fu.LogoH,ComunLogoV:fu.LogoV,Google:r=>(0,nr.jsx)(Ds.Icon,T(v({},r),{children:(0,nr.jsx)(Rs,{src:pc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,nr.jsx)(Ds.Icon,T(v({},r),{children:(0,nr.jsx)(Rs,{src:pc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,nr.jsx)(Ds.Icon,T(v({},r),{children:(0,nr.jsx)(Rs,{src:pc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,nr.jsx)(Ds.Icon,T(v({},r),{children:(0,nr.jsx)(Rs,{src:pc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:pc+"@env/@logos/mingoo/icon.png",mingooIconClear:pc+"@env/@logos/mingoo/iconClear.png",comunIcon:pc+"@env/@logos/comun/icon.png",comunIconClear:pc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>pc+"@env/@icon/"+(r||"image")+".png"}};var XS=K(At());var C7=r=>{let a=r,{color:o="cloud"}=a,s=$e(a,["color"]);return(0,XS.jsx)(X,T(v({className:[pg("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},s),{children:(0,XS.jsx)(X,{className:[pg("Body"),pg("Color_"+o)].join(" ")})}))};var Ud=K(At());var lm=r=>{let a=$e(r,[]);return(0,Ud.jsx)(X,v({ssCardBox:!0,padding:1.5},a))},Vd=lm;Vd.Border=r=>(0,Ud.jsx)(lm,v({ssCardBox:"border"},r)),Vd.Plain=r=>(0,Ud.jsx)(lm,v({ssCardBox:"plain"},r)),Vd.Cloud=r=>(0,Ud.jsx)(lm,v({ssCardBox:"cloud"},r)),Vd.Shadow=r=>(0,Ud.jsx)(lm,v({ssCardBox:"shadow"},r));var Cn=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"span"})),x7=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"p"})),Wd=r=>(0,ff.jsx)(X,v({display:"grid"},r)),Lt=r=>(0,ff.jsx)(X,T(v({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:v({wordBreak:"break-word"},r.freeCSS)})),k7=r=>(0,ff.jsx)(X,v({width:1,flexSizing:"none"},r)),er=r=>(0,ff.jsx)(Lt,v({flexType:"col",gap:1},r));var ts=K(At()),mg=K(ar());var T7={Size:(r,a,o,s)=>{let l={fontSize:"inherit"};return o=o||"R",console.log(a,o,s),a=="plain"?{}:(a=="link"?o=="xsmall"?l.fontSize="0.xs":o=="small"?l.fontSize="1.mini":o=="regular"||o=="large"&&(l.fontSize="3.paragraph"):l=v({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},l),o=="xsmall"?l=T(v({},l),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?l=T(v({},l),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(l.padding=["3/4",1],a=="prime"&&(l.padding=["3/4",1.5])):o=="large"&&(l.padding=[1,2],l.fontSize="3.paragraph",l.isSemiBoldFont=!0),l)},Tone:(r,a,o,s)=>{let l={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(l.fontColor="theme",l.textAlign="left",l.backgroundColor="trans"):a=="normal"?l=T(v({},l),{backgroundColor:"trans"}):a=="border"?l=T(v({},l),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(l=T(v({},l),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:s,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),s=="white"&&(l=T(v({},l),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?l=T(v({},l),{fontColor:s,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?l=T(v({},l),{fontColor:s,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?l=T(v({},l),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:s,fontColor:s,backgroundColor:s}):a=="borderToFill"&&(l=T(v({},l),{fontColor:s,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:s,backgroundColor:s})),s=="cloud"&&(l.fontColor="2.normal"),a!="link"&&(l=v({position:"relative",ssEffectsOnActive:["shrink","push"]},l))),l}},E7=r=>{let a=sm(v({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,mg.UUID)()},r)),o=a.seed;{let{isLocked:s=!1,isActive:l=!1,isActiveStyles:f={},isActiveClassName:u="",tone:h="border",size:p="regular",color:m="theme",className:g=""}=a;a=v(v(v({},T7.Size(r.seed,h,p,m)),T7.Tone(r.seed,h,p,m)),a),a.className=[g,sf("Wrap"),sf("isNeutral_"+!l),sf("isLocked_"+s),sf("Tone_"+h),sf("Color_"+m),sf("Tone_"+h+"_Color_"+m)].join(" "),l&&(a=v(v({className:[a.className,u].join(" ")},a),f))}if(o=="button"){let s=a,{isLocked:l,isActive:f,isActiveClassName:u,isActiveStyles:h,submitOption:p,onClick:m}=s,g=$e(s,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=v({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),g=T(v({},g),{"data-form-submit-button":p.formName,"data-sdfike":mg.default.flatArray(p.submitDelegationKey).join(",")})),(0,ts.jsx)(X,T(v({htmlTag:"button",fontHeight:"inherit"},g),{onClick:b=>La(void 0,null,function*(){if(l||(m&&m(b),!p))return;let S=yield wa.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let s=a,{isLocked:l,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p}=s,m=$e(s,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,ts.jsx)(X,T(v({htmlTag:"label"},m),{onClick:g=>{l||p&&p(g)}}))}else if(o=="anchor"){let s=a,{isLocked:l,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p,href:m="",newTab:g,sync:b,shiftQueryParams:S}=s,w=$e(s,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,ts.jsx)(X,T(v({htmlTag:"button"},w),{onClick:k=>{if(l)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,N=g||!!L,Y=m;if(S&&(Y+=location.search),b){Pn.pushSync(Y);return}Pn.push(Y,!!N)}}))}return null},hc=function(r,a){let o=l=>(0,ts.jsx)(E7,v({seed:r,tone:a,size:"regular"},l)),s=o;return s.Plain=l=>(0,ts.jsx)(o,v({size:"plain",tone:a},l)),s.XS=l=>(0,ts.jsx)(o,v({size:"xsmall",tone:a},l)),s.S=l=>(0,ts.jsx)(o,v({size:"small",tone:a},l)),s.R=l=>(0,ts.jsx)(o,v({size:"regular",tone:a},l)),s.L=l=>(0,ts.jsx)(o,v({size:"large",tone:a},l)),s},JS=function(r){let a=o=>(0,ts.jsx)(E7,v({seed:r,tone:"prime",size:"regular"},o));return a.Plain=hc(r,"plain"),a.Link=hc(r,"link"),a.Normal=hc(r,"normal"),a.Border=hc(r,"border"),a.Prime=hc(r,"prime"),a.Sub=hc(r,"sub"),a.Clear=hc(r,"clear"),a.FillToBorder=hc(r,"fillToBorder"),a.BorderToFill=hc(r,"borderToFill"),a},nt=JS("button"),vg=JS("label"),df=JS("anchor");var As={Base:r=>{let a=r,{topNavigation:o,sideNavigation:s,footerNavigation:l,children:f,className:u}=a,h=$e(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,du.useEffect)(()=>{As.fn.updateCSSProperty.reset(),setTimeout(()=>{As.fn.updateCSSProperty.reset()},100);let m="ResizeCB",g="RemovePageEventCB";return(0,$a.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{ht.get().screen.isPhonepoint()||$a.default.interval.once(()=>{As.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,$a.default)(window).removeEvent(g),(0,$a.default)(window).removeEvent(m)}},[]);let p=f;return(0,Dl.jsxs)(er,T(v({className:[u,Na("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Dl.jsxs)(Lt,{className:Na("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[s,(0,Dl.jsx)(X,{className:Na("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),l]}))},TopNavigation:r=>{let a=r,{className:o,children:s}=a,l=$e(a,["className","children"]),[f]=(0,du.useState)((0,$a.UUID)());return(0,du.useEffect)(()=>{As.fn.updateCSSProperty.topNav()},[]),(0,Dl.jsx)(Lt,T(v({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},l),{id:"__RVC_TopNavigation",className:[o,Na("TopNav")].join(" "),children:s}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,s=$e(a,["className"]);return(0,du.useEffect)(()=>{As.fn.updateCSSProperty.sideNav()},[]),(0,Dl.jsx)(X,T(v({className:[o,Na("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},s),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:s}=a,l=$e(a,["className","baseStyles"]),[f]=(0,du.useState)((0,$a.UUID)());return(0,du.useEffect)(()=>{As.fn.updateCSSProperty.footer()},[]),(0,Dl.jsx)(Lt,T(v({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},s),{id:"__RVC_FooterNavigation",className:[Na("FooterNav"),o].join(" "),children:(0,Dl.jsx)(Lt,v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},l))}))},Comps:{Button:r=>{let a=r,{isActive:o,path:s,pathGroup:l,currentPath:f}=a,u=$e(a,["isActive","path","pathGroup","currentPath"]),h=$a.default.flatArray(l),p=f||location.pathname;{let m=!1;$a.default.scope(()=>{$a.default.is.string(s)&&($a.default.is.nullish(s)||(m=p.replace(/^\//,"").replace(/\/$/,"")==s.replace(/^\//,"").replace(/\/$/,"")))}),$a.default.scope(()=>{if(!m&&h.length)for(let g of h){if(m)break;$a.default.is.nullish(g)||($a.default.is.string(g)&&(g=String(g).escapeRegExChar()),p.match(new RegExp(g))&&(m=!0))}}),o=o!=null?o:m}return(0,Dl.jsx)(nt.Clear,v({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:m=>{$a.default.is.exist(s)&&$a.default.is.string(s)&&Pn.push(s,m.ctrlKey||m.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},u))},Bar:r=>(0,Dl.jsx)(X,v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Dl.jsx)(X,v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,$a.default)(document.body),a=vt("#__RVC_TopNavigation"),o=a.position().height||0,s=o;a.getStyleProperty("position")!="sticky"&&(s=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",s+"px")},footer:()=>{let r=(0,$a.default)(document.body),a=vt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,$a.default)(document.body),a=vt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,$a.default)(document.body),a=vt("#__RVC_TopNavigation"),o=vt("#__RVC_FooterNavigation"),s=vt("#__RVC_SideNavigation"),l=a.position().height||0,f=l,u=o.position().height||0,h=s.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,g=p-l-u,b=m-h;r.setStyleProperty("--topNavHeight",l+"px").setStyleProperty("--topBase",f+"px").setStyleProperty("--footerNavHeight",u+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",g+"px").setStyleProperty("--contentHeight",g+"px").setStyleProperty("--contentWidth",b+"px")}}}};var R7=K(At());var _g=r=>{let a=r,{size:o="R"}=a,s=$e(a,["size"]),l={MIN:36,XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,R7.jsx)(X,T(v({margin:[0,"auto"],width:1},s),{freeCSS:v({maxWidth:12*l},s.freeCSS)}))};var cm=K(At()),O7=K(fr());var ZS=K(At()),ew=K(ar());var qd=K(fr());var D7=r=>{let a=r,{animationDelay:o=100,animationTime:s=300,componentID:l=(0,ew.UUID)()}=a,f=$e(a,["animationDelay","animationTime","componentID"]),[u]=(0,qd.useState)(l);return(0,qd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:s+"ms"}).await(1).css({opacity:1})},o)},[]),(0,ZS.jsx)(X,T(v({},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))},A7=r=>{let a=r,{animationDelay:o=100,animationTime:s=300,componentID:l=(0,ew.UUID)()}=a,f=$e(a,["animationDelay","animationTime","componentID"]),[u]=(0,qd.useState)(l);return(0,qd.useEffect)(()=>{setTimeout(()=>{let h=vt('[data-component-id="'+u+'"]');h[0]&&h.css({transition:s+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,ZS.jsx)(X,T(v({paddingTop:2},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))};var al=K(ar());var pf={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,al.Time)().ms,o=r.target,s=(0,al.default)(o);if(!s[0])return;let l=s.getAttribute("data-effect-tone");if(!l){let M=s.parent('[data-effect-ripple="1"]');if(!M[0])return;s=M,l=M.getAttribute("data-effect-tone")}if(!l)return;let f="RippleWrap-"+(0,al.UUID)(),{left:u,top:h,height:p,width:m}=s.position(),{pageXOffset:g,pageYOffset:b}=al.default.getScreenSize(),{x:S,y:w}=al.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(S-(u+g),0),N=Math.max(w-(h+b),0),Y={RippleElement:s,startedAt:a,size:k};(0,al.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{pf.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{pf.End(Y)},20)}}),(0,al.default)(s).addClass([Zl("RippleElement"),Zl("Color_"+l)]).append(`<div class="${Zl("RippleWrap")}" id="${f}">
977
977
  <div class="${Zl("Wave")}" />
978
- </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:M=>{pf.End(Y)}}).find("#"+f).find("."+Zl("Wave")).css({left:L,top:N}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:s}=r,l=(0,al.Time)().ms-o<=400?".75s":".55s",f=s*2.5;(0,al.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Zl("Wave")).css({height:f,width:f,opacity:"0",transition:l}).await(750).parent().callback(u=>{u.remove()})}},L7={Wrapper:()=>(typeof window=="undefined"||(0,al.default)(ht.get().appRoot).addEvent({eventType:"touchstart",target:pf.RippleElementTag,callback:r=>{pf.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:pf.RippleElementTag,callback:r=>{ht.get().isTouchDevice||pf.Start(r)}}),null)};var tw=K(ar());var N7={Wrapper:()=>(typeof window=="undefined"||(0,tw.default)(ht.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,tw.default)(r.target).removeClass(Zl("PuddingEffect")).await(1).addClass(Zl("PuddingEffect")).await(510).removeClass(Zl("PuddingEffect"))}}),null)};var mc={Ripple:L7,Pudding:N7,FadeIn:D7,FadeUp:A7};var M7=r=>{let{viewIndex:a=0,views:o,wrapper:s=u=>(0,cm.jsx)(mc.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[l,f]=(0,O7.useState)(a);return l!=a&&f(a),(0,cm.jsx)(cm.Fragment,{children:s(o[a])})};var fm=K(At()),Al=K(ar()),pu=K(fr());var u$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:s=!0,autoSwipems:l=0,loop:f=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:g}=a,b=$e(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pu.useState)((0,Al.UUID)()),[w,k]=(0,pu.useState)({eventType:"init",index:r.slideIndex}),L=(0,pu.useRef)(!1);(0,pu.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),L.current||(L.current=!0)},[r.slideIndex]),(0,pu.useEffect)(()=>{let j=w.index+(f?1:0),F=[-1,m.length].includes(w.index);F||o&&setTimeout(()=>{o(w.index)},300);let Z=vt("#Swiper-"+S);if(w.eventType=="adjustLoop")Z.await(250).css({transition:"0s",transform:Yd(j)}).children().removeClass(Na("Display")).parent().children(j).addClass([Na("Display"),Na("LoopAdjusting")]).await(100).removeClass(Na("LoopAdjusting"));else if(w.eventType=="sys")Z.await(250).css({transform:Yd(j)}).children().removeClass(Na("Display")).parent().children(j).addClass(Na("Display"));else if(Z.children().removeClass(Na("Display")).parent().children(j).addClass(Na("Display")).parent().css({transition:"0.3s",transform:Yd(j)}).await(250).css({transition:"0s"}),F){let O=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:O})}l&&!F&&Al.default.interval.once(()=>{let O=w.index+1;!f&&O>m.length-1&&(O=0),k({eventType:"usr",index:O})},l-(w.eventType=="sys"?310:0),"SwipeTimer-"+S)},[w]);let N=m.map((j,F)=>(0,fm.jsx)(X,{flexSizing:"none",width:1,height:0,className:Na("Child"),children:p(j)},F));f&&(N.push(T(v({},N[0]),{key:N[0].key+"-Shallow0"})),N.unshift(T(v({},N[N.length-2]),{key:N[N.length-2].key+"-Shallow0"})));let Y={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:w.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},M=w.index+ +!!f;return(0,fm.jsx)(X,T(v({overflow:"hidden",position:"relative"},b),{className:[b.className,Na("SwipeView")].join(" "),freeCSS:v({zIndex:1},b.freeCSS),"data-swipe-id":S,onPointerDown:j=>{if(j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(u||j.buttons!=1))return;um.Start(j,Y)},children:(0,fm.jsx)(Lt,{flexWrap:!1,gap:1,transition:"long",className:[Na("Rail"),Na("ShowOther_"+s)].join(" "),id:"Swiper-"+S,freeCSS:v({},L.current?{}:{transform:Yd(M)}),children:N})}))},Yd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,um={Start:(r,a)=>{let{x:o,y:s}=Al.default.getCursor(r),l=r.currentTarget,f=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(f.tagName))return;a=T(v({},a),{x:o-a.x+window.scrollX,y:s-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:vt("#Swiper-"+a.id).position().width});let{swipeId:u}=l.dataset;u==a.id&&(0,Al.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{um.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{um.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:s}=Al.default.getCursor(r),l=Math.abs(o-a.x+window.scrollX),f=Math.abs(s-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+l<15))if(f>l/2)(0,Al.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);vt("#Swiper-"+a.id).children(u-1).addClass(Na("Display")),(0,Al.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{um.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{um.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Al.default.getCursor(r),s=o-a.x+window.scrollX,l=a.index+(a.loop?1:0)-s/a.width;if(l<0)l/=2;else if(l>a.maxIndex){let f=l-a.maxIndex;l=a.maxIndex+f/2}vt("#Swiper-"+a.id).css({transition:"0s",transform:Yd(l)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Al.default.getCursor(r).x-a.x+window.scrollX,s=new Date().getTime(),l=s-a.effectStartAt,f=a.index+(a.loop?1:0),u=0;l<400?u=f-(+(o>0)*2-1):u=Math.round(f-o/a.width),u=Math.max(Math.min(u,a.maxIndex),a.minIndex),a.process=!1,f===u?(a.effectStartAt=s,vt("#Swiper-"+a.id).css({transition:".2s",transform:Yd(u)}).await(310).css({transition:"0s"}).children().removeClass(Na("Display")).parent().children(f).addClass(Na("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,Al.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},P7=r=>(0,fm.jsx)(u$,T(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var Ig=K(At()),YO=K(fr());var hu=K(At());var I7=r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",padding:"3/4",borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=T(v({},a),{border:!0}):r=="cloud"?a=T(v({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=T(v({},a),{borderRadius:0,borderBottom:!0})),a},gg={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},bg=r=>(0,hu.jsx)(Cn,v({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),yg=r=>(0,hu.jsx)(Cn,v({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),Sg=r=>(0,hu.jsx)(Cn,v({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),wg=r=>{let a=r,{tone:o}=a,s=$e(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},I7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),s))},Cg=r=>{let a=r,{tone:o}=a,s=$e(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},I7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),s))},Fa=r=>{let a=r,{tone:o="border"}=a,s=$e(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},gg),{right:"3/4"}),s),{freeCSS:v(v({},gg.freeCSS),s.freeCSS)}))},$d=r=>{let a=r,{tone:o="border"}=a,s=$e(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},gg),{left:"3/4"}),s),{freeCSS:v(v({},gg.freeCSS),s.freeCSS)}))};var z7=K(At());var B7=r=>(0,z7.jsx)(X,v({htmlTag:"input"},r));var lw=K(At()),Kd=K(ar()),hm=K(fr());var Un=K(At()),mf=K(fr()),da=K(ar());var nw={};Ed(nw,{Accordion:()=>aw,LinkifyText:()=>F7,List:()=>j7,ListItem:()=>Gd,Row:()=>gt,Text:()=>or});var rw=K(At()),po=K(ar()),Ls=K(fr());var d$=r=>{r=v({},r);let a=r,{accordionID:o="",slideAnimation:s="fast",defaultOpen:l=!1,override:f=!1}=a,u=$e(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,Ls.useState)((0,po.UUID)()),[p]=(0,Ls.useState)((0,po.UUID)()),[m,g]=(0,Ls.useState)(l),[b,S]=(0,Ls.useState)(0);f&&m!=l&&g(l);let w=(0,Ls.useRef)(!1);return(0,Ls.useEffect)(()=>{po.default.scope(()=>{let k=vt('[data-accordion-content-id="'+p+'"]')[0];if(!k)return;let L=k.offsetHeight,N=0;s=="fast"?(N=L/1e3,N=Math.max(N,.2)):s=="slow"&&(N=L/300),S(L),vt("#"+h).css({transition:N+"s"})}),po.default.scope(()=>{o&&po.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(k=>!k)}}})})},[]),po.useStore.update({["Accordion-"+o]:{isOpen:!!m}}),(0,Ls.useEffect)(()=>{let k=vt("#"+h),L=vt('[data-accordion-content-id="'+p+'"]')[0];w.current||(w.current=!0),po.default.scope(()=>{if(!L||po.default.is.nullish(b))return;let N=L.offsetHeight;b!=N&&S(N),b&&k.css({maxHeight:N+1+"px"}).await(100),m?k.css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):k.css({maxHeight:"0px",overflow:"hidden"})})},[m]),(0,rw.jsx)(X,{className:[GS("Wrap"),GS("Open_"+m)].join(" "),id:h,children:(0,rw.jsx)(X,v({"data-accordion-content-id":p},u))})},aw=d$;aw.fn={open:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.toggle()},isOpen:r=>{let a=po.useStore.get("Accordion-"+r);if(a)return a.isOpen}};var dm=K(At());var F7=r=>{let{text:a,placeholder:o}=r,s=[];if(a){let l=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...u)=>{let h=u[0];return l.push(h),"[$_url]"});let f=a.split("[$_url]");for(let u=0;u<=f.length-1;u++){let h=f[u],p=l[u];s.push(h),u<f.length-1&&s.push((0,dm.jsx)(df.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(s=[o]);return(0,dm.jsx)(dm.Fragment,{children:s})};var Ll=K(At());var j7=r=>{let a=r,{items:o=[],ListChildCallback:s}=a,l=$e(a,["items","ListChildCallback"]);s=s||H7;let f=o.map((u,h)=>(0,Ll.jsx)(s,{children:u,index:h},h));return(0,Ll.jsx)(X,T(v({htmlTag:"ul",children:f},l),{freeCSS:v({listStyle:"none"},l.freeCSS)}))},H7=r=>(0,Ll.jsx)(X,v({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Gd=H7;Gd.Center=r=>(0,Ll.jsx)(X,{htmlTag:"li",children:(0,Ll.jsx)(gt.Center,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Left=r=>(0,Ll.jsx)(X,{htmlTag:"li",children:(0,Ll.jsx)(gt.Left,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Right=r=>(0,Ll.jsx)(X,{htmlTag:"li",children:(0,Ll.jsx)(gt.Right,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Separate=r=>(0,Ll.jsx)(X,{htmlTag:"li",children:(0,Ll.jsx)(gt.Separate,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var pm=K(At());var gt={Center:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var vc=K(At());var hf=r=>(0,vc.jsx)(X,v({},r)),or=hf;or.Title=r=>(0,vc.jsx)(hf,v({fontSize:"6.title",fontWeight:"3.semiBold"},r)),or.SubTitle=r=>(0,vc.jsx)(hf,v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),or.ThirdTitle=r=>(0,vc.jsx)(hf,v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),or.Paragraph=r=>(0,vc.jsx)(hf,v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),or.Description=r=>(0,vc.jsx)(hf,T(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),or.Supplement=r=>(0,vc.jsx)(hf,v({fontSize:"1.mini"},r)),or.NowrapSpan=r=>(0,vc.jsx)(Cn,T(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}));var U7=K(At()),ow=K(ar());var gr=K(At()),Ft=K(ar()),hn=K(fr());var Ro={currentIndex:0,openQueue:{},getSessionStates:()=>Ft.useStore.get("sessionStates-"+ht.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=T(v({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,closeAtPageTransit:!0,closeAtEscapeKeyDown:!0,closeAtAroundClick:r.type=="custom"},r),{sheetID:r.sheetID||(0,Ft.UUID)(),isOpen:!0,created_at:(0,Ft.Time)()});if(o.type=="custom"){let s=o;s.parent=s.parent||((a=s==null?void 0:s.event)==null?void 0:a.currentTarget),o=s}return o}},xg={Wrapper:()=>{let[r,a]=(0,hn.useState)([]),o={val_sheets:r,set_sheets:a},s="sessionStates-"+ht.get().sessionUID;Ft.useStore.set({[s]:o}),(0,hn.useEffect)(()=>{let f="Sheet-"+ht.get().sessionUID;Ft.useStore.set({[f]:{add:(u,h)=>{let p=Ft.useStore.get(f);if(!p)return;let m=Ro.getNewSheetStates(u);if(!Ro.openQueue[m.sheetID]){if(Ro.openQueue[m.sheetID]=!0,h!="inherit"&&(m.isOpen=h!=null?h:!0),!!p.find(m.sheetID)){a(g=>{let b=[...g],S=b.findIndex(w=>w.sheetID==m.sheetID);return S==-1||(b[S]=m),b}),delete Ro.openQueue[m.sheetID];return}a(g=>[m,...g])}},find:u=>{let h=Ro.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==u)}}}),(0,Ft.default)(ht.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(u){let{key:h,metaKey:p}=u;if(h=="Escape"||h==","&&p){let m=Ro.getSessionStates();if(!m)return;let{val_sheets:g}=m,b=g.filter(w=>w.isOpen);if(!b.length)return;let S=b.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);sr.close(S.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(u){let h=Ro.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=u.target;if(!m||m!=null&&m.closest("."+va("CustomSheet")))return;let g=p.filter(b=>b.type=="custom");g.length&&g.forEach(b=>{let{parent:S}=b;if(!b.closeAtAroundClick)return;let w=vt(S)[0];S!==m&&w!==m&&((0,Ft.default)(w).find(m).length||sr.close(b.sheetID))})}})},[]);let l=r.map(f=>(0,gr.jsx)(xg.Core,T(v({},o),{val_sheet:f,patch_sheet:u=>{a(h=>{let p=[...h],m=p.findIndex(g=>g.sheetID==f.sheetID);return m==-1||(p[m]=v(v({},p[m]),u)),p})},delete_sheet:()=>{a(u=>{let h=[...u],p=h.findIndex(m=>m.sheetID==f.sheetID);return p==-1||h.splice(p,1),h})}}),f.sheetID));return(0,gr.jsx)(X,{className:["AMOTIFY_be",va("Wrapper")].join(" "),children:l})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[s,l]=(0,hn.useState)(Ro.currentIndex+2),[f]=(0,hn.useState)((0,Ft.UUID)()),u=a.type!="custom"&&!a.overwrap;(0,hn.useEffect)(()=>{Ro.currentIndex++,Ft.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,Ft.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),Ft.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=Ft.useStore.get(f);b&&b.resize&&b.resize(g)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:g})},close:g=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,hn.useEffect)(()=>{Ft.default.scope(()=>{let g=vt("#"+f);if(a.isOpen){a.hold_state&&l(Ro.currentIndex+1),g.await(10).removeClass(va("Hide")).await(10).addClass(va("Open")).callback(()=>{delete Ro.openQueue[a.sheetID],a.openAfter&&a.openAfter()});return}g.await(10).removeClass(va("Open")).await(251).addClass(va("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),u&&ht.get().browserIs!="safari"&&(0,Ft.default)(ht.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=xg.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[a.type]];return(0,gr.jsx)(X,{className:[va("Wrap"),va("Tcate_"+h),va("Tpos_"+p),va("isMainSheet_"+u)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:s},id:f,children:(0,gr.jsxs)(er,{className:va("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!u&&(0,gr.jsx)(xg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,gr.jsx)(m,v({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:s,bodyScrolls:l,content:f,className:u="",type:h,size:p="R",freeCSS:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:N,hold_state:Y,overwrap:M,isOpen:j,backgroundEffect:F}=a,Z=$e(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[O,ae]=h.split("."),ge={},ee=[];return ae.match(/top/)?(ee.push("top"),ge.marginBottom="auto"):ae.match(/middle/)?(ee.push("center"),ge.marginTop="auto",ge.marginBottom="auto"):ae.match(/bottom/)&&(ee.push("bottom"),ge.marginTop="auto"),ae.match(/left/i)?(ee.push("left"),ge.marginRight="auto"):ae.match(/center/i)?(ee.push("center"),ge.marginLeft="auto",ge.marginRight="auto"):ae.match(/right/i)&&(ee.push("right"),ge.marginLeft="auto"),(0,gr.jsx)(X,T(v(v({className:[va("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},Z),ge),{freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:ee.join(" ")},m),children:Ft.default.is.function(f)?(0,gr.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:s,bodyScrolls:l,type:f,content:u,className:h="",size:p="R",openAfter:m,closeAfter:g,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:w,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:N,overwrap:Y,isOpen:M,backgroundEffect:j}=a,F=$e(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,gr.jsx)(X,T(v(T(v({className:[va("BB"),h].join(" ")},f=="drawer.right"?{marginLeft:"auto"}:f=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),F),{freeCSS:v({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},F.freeCSS),children:Ft.default.is.function(u)?(0,gr.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:s,sheetGroups:l,bodyScrolls:f,content:u,size:h="R",sizeChanged:p,baseStyles:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:N=!0,hold_state:Y,overwrap:M,isOpen:j,backgroundEffect:F}=a,Z=$e(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),O=Ft.default.getScreenSize(),ae=[0,.2,.6,.95],ge={ZERO:0,S:1,R:2,L:3},[ee,ye]=(0,hn.useState)(h),[be,he]=(0,hn.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:ae[ge[h]]});Ft.useStore.update({[o]:{val_edit:be,resize:de=>{let B=ae[ge[de]];he(W=>T(v({},W),{value:B})),ye(de)}}});let H={Start:de=>{(0,Ft.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:H.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:H.End});let B=Ft.default.getCursor(de),W=T(v({},be),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:be.value,viewHeight:Ft.default.getScreenSize().height});Ft.useStore.update({[o]:{val_edit:W}}),he(W)},Move:de=>{var B;let W=(B=Ft.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ie=(Ft.default.getCursor(de).y-W.originY)/W.viewHeight,te=W.originValue-ie;if(te>.95)te=.95+(te-.95)*.5;else if(te<.2){let se=.2-te;se-=.1,te=.1+(.1-se)*.5}return he(T(v({},W),{value:te})),de.preventDefault(),de.stopPropagation(),!1},End:de=>{var B;let W=(B=Ft.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,Ft.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ie=0;if(W.value<.1||(W.value<.5?ie=1:W.value>.75?ie=3:ie=2),new Date().getTime()-W.processStart<300){let te=Ft.default.getCursor(de).y-W.originY;if(Math.abs(te)>=20){let se=+(te<0)*2-1;ie+=se,ie=Math.min(Math.max(ie,0),ae.length-1)}}ie==0&&(N||(ie=1)),ye(["ZERO","S","R","L"][ie]),he(T(v({},W),{value:ae[ie],process:!1}))}},le=(0,hn.useRef)(!1);return(0,hn.useEffect)(()=>{le.current?ee=="ZERO"?N&&sr.close(s):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(ee)},250):le.current=!0},[ee]),(0,gr.jsx)(X,{className:va("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:v({maxWidth:12*60,height:O.height*be.value},be.process?{transition:"0s"}:{}),children:(0,gr.jsxs)(er,T(v({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},m),{children:[(0,gr.jsxs)(gt.Separate,{padding:1,backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:[(0,gr.jsx)(X,{ssSphere:2.5}),(0,gr.jsx)(gt.Center,{onPointerDown:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,gr.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:va("DragBar")})}),(0,gr.jsx)(lt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{sr.close(s)},children:(0,gr.jsx)(Ne.Times,{})})]}),(0,gr.jsx)(X,T(v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Z),{children:Ft.default.is.function(u)?(0,gr.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:s,bodyScrolls:l,event:f,parent:u,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:g,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:w,closeAtSwipeDown:k,hold_state:L,openAfter:N,closeAfter:Y,overwrap:M,isOpen:j,resize:F,backgroundEffect:Z}=a,O=$e(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[ae]=(0,hn.useState)((0,Ft.UUID)()),ge=Ft.default.is.element(u)||Ft.default.is.jmini(u)?(0,Ft.default)(u):vt(u),ee='[data-sheet-id="'+ae+'"]',ye='[data-sheet-content="'+ae+'"]';p=p;let be=p%5||5,he=Math.ceil(p/5),H={Init:()=>{if(h&&f){let Se=Ft.default.getScreenSize(),je=Ft.default.getCursor(f);return{top:je.y-Se.pageYOffset,left:je.x-Se.pageXOffset}}let de={};if(!ge||!ge[0])return de;let{top:B,right:W,bottom:ie,left:te,height:se,width:we}=ge.position();return[1,2].includes(be)?de.left=te:be==3?de.left=te+we/2:[4,5].includes(be)&&(de.left=W),p<=10?de.top=B:p<=15?de.top=B+se/2:p<=25&&(de.top=ie),de},Adjust:()=>{let de=vt(ee).position(),B=vt(ye).position(),W=ge.position(),ie=Ft.default.getScreenSize(),te={};for(let Se in B)te[Se]=B[Se];if(Ft.default.scope(()=>{if(r.nextToCursor)return;let Se=0;he==1?Se=W.top-te.bottom:he==2?Se=W.top-te.top:he==3?Se=W.top-te.top+(W.height-te.height)/2:he==4?Se=W.bottom-te.bottom:he==5&&(Se=W.bottom-te.top),te.top+=Se,te.bottom+=Se}),Ft.default.scope(()=>{if(r.nextToCursor)return;let Se=0;be==1?Se=W.left-te.right:be==2?Se=W.left-te.left:be==3?Se=W.left-te.left+(W.width-te.width)/2:be==4?Se=W.right-te.right:be==5&&(Se=W.right-te.left),te.left+=Se,te.right+=Se}),te.top<0){let Se=-te.top;te.top+=Se,te.bottom+=Se}if(te.bottom>ie.height){let Se=te.bottom-ie.height;te.top-=Se,te.bottom-=Se}if(te.left<0){let Se=-te.left;te.left+=Se,te.right+=Se}if(te.right>ie.width){let Se=te.right-ie.width;te.left-=Se,te.right-=Se}let se=te.top-B.top,we=te.left-B.left;(0,Ft.default)(ee).css({top:de.top+se+"px",left:de.left+we+"px"})}},[le]=(0,hn.useState)(H.Init());return(0,hn.useEffect)(()=>{vt(ee).await(10).addClass(va("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),Ft.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),ge[0]?(0,gr.jsx)(X,{className:[va("BB"),va("CustomSheet")].join(" "),"data-sheet-id":ae,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,gr.jsx)(Lt,{position:"absolute",className:[va("GPT"),va("GPT_"+p),va("Col_"+be),va("Row_"+he)].join(" "),children:(0,gr.jsx)(X,T(v({"data-sheet-content":ae,flexSizing:"none",maxHeight:"viewHeight"},O),{freeCSS:v({maxWidth:"98vw"},O.freeCSS),children:Ft.default.is.function(m)?(0,gr.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,gr.jsx)(X,{className:va("TapSensor"),children:(0,gr.jsx)(lt.Plain,{className:va("TapContent"),onClick:a=>{var o;(o=r.delegateAroundClick)!=null&&o&&sr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},sr={Wrapper:()=>(0,gr.jsx)(xg.Wrapper,{}),Element:r=>{let a=r,{isOpen:o,children:s}=a,l=$e(a,["isOpen","children"]);return(0,hn.useEffect)(()=>{if(o){sr.open(T(v({},l),{content:s}));return}l.sheetID&&sr.close(l.sheetID)},[o]),null},open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let s=r.sheetID||(0,Ft.UUID)(),l=r,{type:f,src:u}=l,h=$e(l,["type","src"]);sr.open(T(v({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:s,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,hn.useState)(Ft.default.flatArray(u)),[m,g]=(0,hn.useState)(0),b=[];return p.forEach((S,w)=>{b.push({value:w,label:(0,gr.jsx)(Es,{src:Ft.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,gr.jsxs)(er,{gap:0,height:1,position:"relative",children:[(0,gr.jsxs)(gt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,gr.jsx)(wa.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:S=>{g(S)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,gr.jsx)(lt.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{sr.close(s)},children:(0,gr.jsx)(Ne.Times,{})})]}),(0,gr.jsx)(mc.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,gr.jsx)(Es,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=Ft.useStore.get("Sheet-"+ht.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Ft.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=Ft.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let s=Ro.getSessionStates();if(!s)return;let{val_sheets:l}=s;r=r==null?void 0:r.replace(/\./g,"-");let f=l.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let u=Ft.useStore.get(f.sheetID);u&&u.close&&u.close(o)},closeGroup:r=>{let a=Ro.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let s of o)s.sheetGroups&&s.sheetGroups==r&&sr.close(s.sheetID)},closeAll:r=>{let a=Ro.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let s of o)r&&!s.closeAtPageTransit||sr.close(s.sheetID,"pageTransit",!0)},Body:r=>(0,gr.jsx)(X,v({className:va("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Oa={__memoryID:(0,ow.UUID)(),open:r=>{let a=r,{tipsID:o=(0,ow.UUID)(),tipsGroups:s=[]}=a,l=$e(a,["tipsID","tipsGroups"]);sr.open(T(v({sheetID:o,sheetGroups:["tooltips",...s],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},l),{type:"custom"}))},close:r=>{r&&sr.close(r)},closeALL:()=>{sr.closeGroup("tooltips")},Body:r=>(0,U7.jsx)(X,v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ra=r=>{let[a]=(0,mf.useState)(r.componentID||(0,da.UUID)());r=v({},r),r.states=T(v({enableFormSubmit:!0,status_id:(0,da.UUID)(),override:"never",form:"",id:(0,da.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Un.jsx)(o,v({},r.states))},ja=r=>{let{children:a,val_status:o,val_validate:s,states:l}=r,{leftIcon:f,wrapStyles:u}=l;return o.eventType=="init"&&!l.checkValidationAtFirst&&(s.notice=[]),(0,Un.jsxs)(gt.Center,T(v({position:"relative",verticalAlign:"unset",gap:0},u),{className:Hd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Un.jsx)(iw.Notice,{notice:s.notice,val_status:o}),l.leftIndicator,(0,Un.jsxs)(Lt,{position:"relative",flexSizing:"auto",children:[a,f,(0,Un.jsx)(iw.RightIcon,v({},r)),(0,Un.jsx)(iw.ClearButton,v({},r))]}),l.rightIndicator]}))},iw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Un.jsx)(lt.Normal,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{r.set_status(a=>T(v({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,da.UUID)()}))},children:(0,Un.jsx)(Ne.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:s}=o,l="NoticeTimer-"+s,f="NoticeTimerClose-"+s,u="notice-tips-"+s;return(0,mf.useEffect)(()=>{da.default.interval.once(()=>{if(!a.length){Oa.close(u);return}Oa.open({tipsID:u,parent:`[data-notice-uid="${s}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Un.jsxs)(Oa.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Un.jsx)(X,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Un.jsx)(er,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:g}=h,b=m=="invalid"?Ne.Times:m=="warn"?Ne.Exclamation:Ne.Check;return(0,Un.jsxs)(gt.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Un.jsx)(b,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),(0,Un.jsx)(or.Supplement,{fontSize:"0.xs",fontColor:"white",children:g})]},p+"-"+da.default.Stringify(h))})})]})})},350,l),da.default.interval.once(()=>{Oa.close(u)},6e3,f)},[a]),null}},jt={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,da.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:s,set_status:l,val_validate:f,set_validate:u,SystemValidation:h}=r;o=v({},o);let{componentID:p}=s;(0,mf.useEffect)(()=>(da.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,g)=>{da.useStore.get(p).ResolveRefresh=m,l(b=>T(v({},b),{eventType:"refresh",eventID:(0,da.UUID)()}))}),GenNotice:m=>{let{ok:g,notice:b}=m;u({ok:g,notice:b})}}}),()=>{da.useStore.delete(p)}),[]),da.default.scope(()=>{let{override:m}=o;if(m=="never"||m=="beforeModified"&&!["init","override"].includes(s.eventType))return;let g=da.useStore.get(s.componentID);g&&(o.value!=s.dataValue&&o.status_id!=g.status_id&&l(b=>T(v(T(v({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,da.UUID)()})),g.status_id=o.status_id)}),(0,mf.useEffect)(()=>{jt.ValidationCheck({val_status:s,set_validate:u,SystemValidation:h,states:o})},[s.eventID,s.dataValue]),(0,mf.useEffect)(()=>(da.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=s,S=b;if(a=="autocomplete.single"||a=="list.radio"?S=S[0]:o.isChecker&&(S=!!S[0]),o.form=o.form||"testForm",o.name&&o.form&&da.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:m,type:a,value:S,validation:f.ok}}}),g=="refresh"){let w=da.useStore.get(m);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else g=="update"&&(o.onUpdateValue&&o.onUpdateValue(S,g,m),da.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue(S,g,m)}))}),()=>{da.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[f])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;da.default.interval.abort(o);let s=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!s.ok){r.set_validate(s);return}let l=s.notice,f=()=>La(void 0,null,function*(){if(!a.onValidate)return;let u=yield a.onValidate(r.val_status.dataValue,r.val_status.eventType,r);r.set_validate({ok:u.ok,notice:[...l,...u.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}da.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:l})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let s=vt(`[data-form-submit-button="${a}"]`)[0];if(!s)return o;let l=s.dataset.sdfike||"",f=r.key,u=r.ctrlKey||r.metaKey;return da.default.scope(()=>{l.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||ht.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(l.includes("enter")||l.includes("auxEnter")&&u)||f==" "&&l.includes("space"))&&(s.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let s=r.ok;return!o&&a.eventType=="init"&&(s=!0),s}},Vn=function(r){r=v({tone:"border"},r);let a=da.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=T(v({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=T(v({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=T(v({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return T(v(v(v(v(v(v({fontColor:"2.normal"},a),!!r.rightIcon&&{paddingRight:3}),!!r.leftIcon&&{paddingLeft:3}),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r),{freeCSS:v({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Hd("Input"),r.className].join(" ")})};var p$=r=>{let a=r,{componentID:o="",enableFormSubmit:s,form:l,value:f=""}=a,u=$e(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,hm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,Kd.UUID)()}),[m,g]=(0,hm.useState)({ok:!1,notice:[]});return(0,hm.useEffect)(()=>{Kd.default.is.equal(h.dataValue,f)||p(b=>T(v({},b),{dataValue:f,eventType:"update",eventID:(0,Kd.UUID)()}))},[r.value]),jt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,lw.jsx)("input",T(v({value:Kd.default.Stringify(f),"data-component-id":o},u),{type:"hidden"}))},V7=r=>(0,lw.jsx)(Ra,{componentID:r.componentID,children:p$,states:r});var cr=K(At()),_a=K(ar()),Ns=K(fr());var Q7=K(X7());var mm=K(At()),Tg=K(fr()),kg=K(ar());var mu=r=>{if(!r.label)return null;let[a,o]=(0,Tg.useState)({});return(0,Tg.useEffect)(()=>{let s=(0,kg.default)('[data-input-origin="'+r.componentID+'"]'),l=(0,kg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,kg.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!s[0]||!l[0]||!f[0])return;let u=s.position(),h=f.position();if(r.isActive){let p=h.left-u.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-u.left,m=h.top-u.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${m}px)`}})}l.getAttribute("data-label-init")=="true"&&l.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,mm.jsx)(X,T(v({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min",fontHeight:"inherit"},a),{freeCSS:v({zIndex:2,transformOrigin:"top left",pointerEvents:"none"},a.freeCSS),children:(0,mm.jsxs)(gt.Left,{gap:"1/3",children:[r.label,r.required&&(0,mm.jsx)(Cn,{fontColor:"nega",children:" * "})]})}))};var h$={katakana:{reg:/^[ァ-ヶー  ヲ-゚  ]*$/g,exist:!0,reason:"\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},"hankaku.katakana":{reg:/^[ヲ-゚  ]*$/g,exist:!0,reason:"\u534A\u89D2\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},number:{reg:/^-?[0-9\.]{0,}[0-9]{1,}$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},digitNumber:{reg:/^-?[0-9\,\.]{0,}[0-9]{1,}$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},fileName:{reg:/[¥\/:*\?\"\'\|\.\s\n\r\<\>]/g,exist:!1,reason:"\u7A7A\u767D\u307E\u305F\u306F\u4E00\u90E8\u306E\u7279\u6B8A\u6587\u5B57\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093"},creditCard:{reg:/^\d{14,16}$/g,exist:!0,reason:"14~16\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},email:{reg:/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]+\.[A-Za-z0-9]+$/,exist:!0,reason:(0,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(X,{children:"\u25CB\u25CB\u25CB\u25CB@\u25CB\u25CB\u25CB\u25CB.\u25CB\u25CB\u25CB\u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,cr.jsx)(X,{children:"\u6700\u5F8C\u306E\u6587\u5B57\u306B.(\u30C9\u30C3\u30C8)\u3092\u5165\u308C\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"})]})},password:{reg:/^(?=[^A-Z]*[A-Z])(?=[^a-z]*[a-z])(?=[^0-9]*[0-9]).{8,}$/,exist:!0,reason:"8\u6587\u5B57\u4EE5\u4E0A\u3001\u534A\u89D2\u82F1\u6570\u5927\u5C0F\u6587\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tel:{reg:/.*$/g,exist:!0,reason:(0,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,cr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,cr.jsx)(X,{children:"\u6570\u5B57\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"})]})},url:{reg:/^https?:\/\/[^\n\s]+(\.|\:)[^\n\s\.\:]+$/,exist:!0,reason:"URL\u5F62\u5F0F : http(s)://\u25EF\u25EF\u25EF\u25EF"},postal:{reg:/^\d{7}$/g,exist:!0,reason:"7\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}},Nl={setSelection:r=>{let{id:a,restrict:o,val_status:s}=r,l=vt("#"+a)[0];if(l&&s.prevValue&&s.formatValue){let{formatValue:f,prevValue:u,caretFrom:h,caretTo:p}=s;if(o=="creditCard")f.length>=u.length&&h%5==0&&(h++,p++),l.setSelectionRange(h,p);else if(o=="postal")f.length==5&&u.length==3&&(h++,p++),l.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-u.length;m==2&&(h++,p++),m==-2&&(h--,p--),l.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:s="text",maxLength:l,multiline:f,required:u}=o,h=[];if(f||(l=l||255),_a.default.is.exist(l)&&a.length>=Number(l)&&h.push({type:"invalid",label:l+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let p=Nl.Validation.Text(a,s);p.ok||h.push({type:"invalid",label:p.body})}else u&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!h.filter(({type:p})=>p=="invalid").length,notice:h}},Text:(r,a)=>{let o={ok:!0,body:""};return(()=>{let s=h$[a];if(!s)return;let l=s.reason;if(s){let f=!!(+!!r.match(s.reg)^+!s.exist);o={ok:f,body:f?"":l}}})(),o},DataLeveling:r=>{let{restrict:a,allowDecimals:o,allowZeroStart:s,value:l=""}=r,f=String(l);["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(f=f.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(f=f.removeLetters()),_a.default.scope(()=>{if(!["number","digitNumber"].includes(a))return;f=f.replace(/(\.\d+)\..*/g,"$1").replace(/\.+/g,".").replace(/[^0-9.-]/g,"");let h=Number(f)<0||f[0]=="-";f=f.replace(/[^0-9.]/g,""),h&&(f="-"+f),o||(f=f.replace(/\.\d?/g,"")),_a.default.scope(()=>{a=="number"&&(s||(f=f.replace(/^0(\d+)/g,"$1").replace(/^-0(\d+)/g,"-$1")))}),_a.default.scope(()=>{let p=f.slice(-1);f&&p!="."&&p!="-"&&(_a.default.is.exist(r.min)&&(f=String(Math.max(Number(f),Number(r.min)))),_a.default.is.exist(r.max)&&(f=String(Math.min(Number(f),Number(r.max)))))}),_a.default.scope(()=>{if(!f||f=="-"||a!="digitNumber")return;let p=Number(f)<0,m=String(Math.abs(Math.round(Number(f)))),g=f.split("."),b=[];for(let S=m.length-1;S>=0;S--){b.unshift(m[S]);let w=m.length-1-S+1;S!=0&&w%3==0&&b.unshift(",")}f=b.join(""),p&&(f="-"+f),(g==null?void 0:g.length)==2&&(f+="."+g[1]||"")})});let u=f;return a=="digitNumber"||(a=="postal"?f.length>=4&&(u=f.clip(0,3)+"-"+f.clip(3)):a=="creditCard"&&(u=f.replace(/.{4}(?=.)/g,"$& "))),f=f.replace(/,/g,""),{formatValue:u,dataValue:f}}},Shallow:r=>{let{rootStates:a,val_status:o}=r,s=o.dataValue||"";(0,Ns.useEffect)(()=>{_a.default.scope(()=>La(void 0,null,function*(){if(!a.multiline)return;let p=(0,_a.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,_a.default)('[data-input-shallow="'+o.componentID+'"]'),g=(0,_a.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,_a.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!g[0]||!b[0])return;let S=m.position(),w=g.position(),k=b.position(),L=0;a.autoHeight&&(L=S.height),L=Math.max(L,w.height),L=Math.min(L,k.height),p[0].style.height=L+"px"}))},[s]);let l=s||"";(s.match(/\n$/)||!s)&&(l+="T");let f="",u="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
978
+ </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:M=>{pf.End(Y)}}).find("#"+f).find("."+Zl("Wave")).css({left:L,top:N}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:s}=r,l=(0,al.Time)().ms-o<=400?".75s":".55s",f=s*2.5;(0,al.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Zl("Wave")).css({height:f,width:f,opacity:"0",transition:l}).await(750).parent().callback(u=>{u.remove()})}},L7={Wrapper:()=>(typeof window=="undefined"||(0,al.default)(ht.get().appRoot).addEvent({eventType:"touchstart",target:pf.RippleElementTag,callback:r=>{pf.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:pf.RippleElementTag,callback:r=>{ht.get().isTouchDevice||pf.Start(r)}}),null)};var tw=K(ar());var N7={Wrapper:()=>(typeof window=="undefined"||(0,tw.default)(ht.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,tw.default)(r.target).removeClass(Zl("PuddingEffect")).await(1).addClass(Zl("PuddingEffect")).await(510).removeClass(Zl("PuddingEffect"))}}),null)};var mc={Ripple:L7,Pudding:N7,FadeIn:D7,FadeUp:A7};var M7=r=>{let{viewIndex:a=0,views:o,wrapper:s=u=>(0,cm.jsx)(mc.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[l,f]=(0,O7.useState)(a);return l!=a&&f(a),(0,cm.jsx)(cm.Fragment,{children:s(o[a])})};var fm=K(At()),Al=K(ar()),pu=K(fr());var u$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:s=!0,autoSwipems:l=0,loop:f=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:g}=a,b=$e(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pu.useState)((0,Al.UUID)()),[w,k]=(0,pu.useState)({eventType:"init",index:r.slideIndex}),L=(0,pu.useRef)(!1);(0,pu.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),L.current||(L.current=!0)},[r.slideIndex]),(0,pu.useEffect)(()=>{let j=w.index+(f?1:0),F=[-1,m.length].includes(w.index);F||o&&setTimeout(()=>{o(w.index)},300);let Z=vt("#Swiper-"+S);if(w.eventType=="adjustLoop")Z.await(250).css({transition:"0s",transform:Yd(j)}).children().removeClass(Na("Display")).parent().children(j).addClass([Na("Display"),Na("LoopAdjusting")]).await(100).removeClass(Na("LoopAdjusting"));else if(w.eventType=="sys")Z.await(250).css({transform:Yd(j)}).children().removeClass(Na("Display")).parent().children(j).addClass(Na("Display"));else if(Z.children().removeClass(Na("Display")).parent().children(j).addClass(Na("Display")).parent().css({transition:"0.3s",transform:Yd(j)}).await(250).css({transition:"0s"}),F){let O=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:O})}l&&!F&&Al.default.interval.once(()=>{let O=w.index+1;!f&&O>m.length-1&&(O=0),k({eventType:"usr",index:O})},l-(w.eventType=="sys"?310:0),"SwipeTimer-"+S)},[w]);let N=m.map((j,F)=>(0,fm.jsx)(X,{flexSizing:"none",width:1,height:0,className:Na("Child"),children:p(j)},F));f&&(N.push(T(v({},N[0]),{key:N[0].key+"-Shallow0"})),N.unshift(T(v({},N[N.length-2]),{key:N[N.length-2].key+"-Shallow0"})));let Y={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:w.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},M=w.index+ +!!f;return(0,fm.jsx)(X,T(v({overflow:"hidden",position:"relative"},b),{className:[b.className,Na("SwipeView")].join(" "),freeCSS:v({zIndex:1},b.freeCSS),"data-swipe-id":S,onPointerDown:j=>{if(j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(u||j.buttons!=1))return;um.Start(j,Y)},children:(0,fm.jsx)(Lt,{flexWrap:!1,gap:1,transition:"long",className:[Na("Rail"),Na("ShowOther_"+s)].join(" "),id:"Swiper-"+S,freeCSS:v({},L.current?{}:{transform:Yd(M)}),children:N})}))},Yd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,um={Start:(r,a)=>{let{x:o,y:s}=Al.default.getCursor(r),l=r.currentTarget,f=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(f.tagName))return;a=T(v({},a),{x:o-a.x+window.scrollX,y:s-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:vt("#Swiper-"+a.id).position().width});let{swipeId:u}=l.dataset;u==a.id&&(0,Al.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{um.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{um.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:s}=Al.default.getCursor(r),l=Math.abs(o-a.x+window.scrollX),f=Math.abs(s-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+l<15))if(f>l/2)(0,Al.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);vt("#Swiper-"+a.id).children(u-1).addClass(Na("Display")),(0,Al.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{um.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{um.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Al.default.getCursor(r),s=o-a.x+window.scrollX,l=a.index+(a.loop?1:0)-s/a.width;if(l<0)l/=2;else if(l>a.maxIndex){let f=l-a.maxIndex;l=a.maxIndex+f/2}vt("#Swiper-"+a.id).css({transition:"0s",transform:Yd(l)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Al.default.getCursor(r).x-a.x+window.scrollX,s=new Date().getTime(),l=s-a.effectStartAt,f=a.index+(a.loop?1:0),u=0;l<400?u=f-(+(o>0)*2-1):u=Math.round(f-o/a.width),u=Math.max(Math.min(u,a.maxIndex),a.minIndex),a.process=!1,f===u?(a.effectStartAt=s,vt("#Swiper-"+a.id).css({transition:".2s",transform:Yd(u)}).await(310).css({transition:"0s"}).children().removeClass(Na("Display")).parent().children(f).addClass(Na("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,Al.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},P7=r=>(0,fm.jsx)(u$,T(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var Ig=K(At()),YO=K(fr());var hu=K(At());var I7=r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",padding:"3/4",borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=T(v({},a),{border:!0}):r=="cloud"?a=T(v({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=T(v({},a),{borderRadius:0,borderBottom:!0})),a},gg={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},bg=r=>(0,hu.jsx)(Cn,v({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),yg=r=>(0,hu.jsx)(Cn,v({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),Sg=r=>(0,hu.jsx)(Cn,v({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),wg=r=>{let a=r,{tone:o}=a,s=$e(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},I7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),s))},Cg=r=>{let a=r,{tone:o}=a,s=$e(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},I7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),s))},Fa=r=>{let a=r,{tone:o="border"}=a,s=$e(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},gg),{right:"3/4"}),s),{freeCSS:v(v({},gg.freeCSS),s.freeCSS)}))},$d=r=>{let a=r,{tone:o="border"}=a,s=$e(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},gg),{left:"3/4"}),s),{freeCSS:v(v({},gg.freeCSS),s.freeCSS)}))};var z7=K(At());var B7=r=>(0,z7.jsx)(X,v({htmlTag:"input"},r));var lw=K(At()),Kd=K(ar()),hm=K(fr());var Un=K(At()),mf=K(fr()),da=K(ar());var nw={};Ed(nw,{Accordion:()=>aw,LinkifyText:()=>F7,List:()=>j7,ListItem:()=>Gd,Row:()=>gt,Text:()=>or});var rw=K(At()),po=K(ar()),Ls=K(fr());var d$=r=>{r=v({},r);let a=r,{accordionID:o="",slideAnimation:s="fast",defaultOpen:l=!1,override:f=!1}=a,u=$e(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,Ls.useState)((0,po.UUID)()),[p]=(0,Ls.useState)((0,po.UUID)()),[m,g]=(0,Ls.useState)(l),[b,S]=(0,Ls.useState)(0);f&&m!=l&&g(l);let w=(0,Ls.useRef)(!1);return(0,Ls.useEffect)(()=>{po.default.scope(()=>{let k=vt('[data-accordion-content-id="'+p+'"]')[0];if(!k)return;let L=k.offsetHeight,N=0;s=="fast"?(N=L/1e3,N=Math.max(N,.2)):s=="slow"&&(N=L/300),S(L),vt("#"+h).css({transition:N+"s"})}),po.default.scope(()=>{o&&po.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(k=>!k)}}})})},[]),po.useStore.update({["Accordion-"+o]:{isOpen:!!m}}),(0,Ls.useEffect)(()=>{let k=vt("#"+h),L=vt('[data-accordion-content-id="'+p+'"]')[0];w.current||(w.current=!0),po.default.scope(()=>{if(!L||po.default.is.nullish(b))return;let N=L.offsetHeight;b!=N&&S(N),b&&k.css({maxHeight:N+1+"px"}).await(100),m?k.css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):k.css({maxHeight:"0px",overflow:"hidden"})})},[m]),(0,rw.jsx)(X,{className:[GS("Wrap"),GS("Open_"+m)].join(" "),id:h,children:(0,rw.jsx)(X,v({"data-accordion-content-id":p},u))})},aw=d$;aw.fn={open:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=po.useStore.get("Accordion-"+r);!a||a.toggle()},isOpen:r=>{let a=po.useStore.get("Accordion-"+r);if(a)return a.isOpen}};var dm=K(At());var F7=r=>{let{text:a,placeholder:o}=r,s=[];if(a){let l=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...u)=>{let h=u[0];return l.push(h),"[$_url]"});let f=a.split("[$_url]");for(let u=0;u<=f.length-1;u++){let h=f[u],p=l[u];s.push(h),u<f.length-1&&s.push((0,dm.jsx)(df.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(s=[o]);return(0,dm.jsx)(dm.Fragment,{children:s})};var Ll=K(At());var j7=r=>{let a=r,{items:o=[],ListChildCallback:s}=a,l=$e(a,["items","ListChildCallback"]);s=s||H7;let f=o.map((u,h)=>(0,Ll.jsx)(s,{children:u,index:h},h));return(0,Ll.jsx)(X,T(v({htmlTag:"ul",children:f},l),{freeCSS:v({listStyle:"none"},l.freeCSS)}))},H7=r=>(0,Ll.jsx)(X,v({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Gd=H7;Gd.Center=r=>(0,Ll.jsx)(X,{htmlTag:"li",children:(0,Ll.jsx)(gt.Center,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Left=r=>(0,Ll.jsx)(X,{htmlTag:"li",children:(0,Ll.jsx)(gt.Left,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Right=r=>(0,Ll.jsx)(X,{htmlTag:"li",children:(0,Ll.jsx)(gt.Right,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Separate=r=>(0,Ll.jsx)(X,{htmlTag:"li",children:(0,Ll.jsx)(gt.Separate,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var pm=K(At());var gt={Center:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,pm.jsx)(Lt,v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var vc=K(At());var hf=r=>(0,vc.jsx)(X,v({},r)),or=hf;or.Title=r=>(0,vc.jsx)(hf,v({fontSize:"6.title",fontWeight:"3.semiBold"},r)),or.SubTitle=r=>(0,vc.jsx)(hf,v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),or.ThirdTitle=r=>(0,vc.jsx)(hf,v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),or.Paragraph=r=>(0,vc.jsx)(hf,v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),or.Description=r=>(0,vc.jsx)(hf,T(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),or.Supplement=r=>(0,vc.jsx)(hf,v({fontSize:"1.mini"},r)),or.NowrapSpan=r=>(0,vc.jsx)(Cn,T(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}));var U7=K(At()),ow=K(ar());var gr=K(At()),Ft=K(ar()),hn=K(fr());var Ro={currentIndex:0,openQueue:{},getSessionStates:()=>Ft.useStore.get("sessionStates-"+ht.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=T(v({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,closeAtPageTransit:!0,closeAtEscapeKeyDown:!0,closeAtAroundClick:r.type=="custom"},r),{sheetID:r.sheetID||(0,Ft.UUID)(),isOpen:!0,created_at:(0,Ft.Time)()});if(o.type=="custom"){let s=o;s.parent=s.parent||((a=s==null?void 0:s.event)==null?void 0:a.currentTarget),o=s}return o}},xg={Wrapper:()=>{let[r,a]=(0,hn.useState)([]),o={val_sheets:r,set_sheets:a},s="sessionStates-"+ht.get().sessionUID;Ft.useStore.set({[s]:o}),(0,hn.useEffect)(()=>{let f="Sheet-"+ht.get().sessionUID;Ft.useStore.set({[f]:{add:(u,h)=>{let p=Ft.useStore.get(f);if(!p)return;let m=Ro.getNewSheetStates(u);if(!Ro.openQueue[m.sheetID]){if(Ro.openQueue[m.sheetID]=!0,h!="inherit"&&(m.isOpen=h!=null?h:!0),!!p.find(m.sheetID)){a(g=>{let b=[...g],S=b.findIndex(w=>w.sheetID==m.sheetID);return S==-1||(b[S]=m),b}),delete Ro.openQueue[m.sheetID];return}a(g=>[m,...g])}},find:u=>{let h=Ro.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==u)}}}),(0,Ft.default)(ht.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(u){let{key:h,metaKey:p}=u;if(h=="Escape"||h==","&&p){let m=Ro.getSessionStates();if(!m)return;let{val_sheets:g}=m,b=g.filter(w=>w.isOpen);if(!b.length)return;let S=b.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);sr.close(S.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(u){let h=Ro.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=u.target;if(!m||m!=null&&m.closest("."+va("CustomSheet")))return;let g=p.filter(b=>b.type=="custom");g.length&&g.forEach(b=>{let{parent:S}=b;if(!b.closeAtAroundClick)return;let w=vt(S)[0];S!==m&&w!==m&&((0,Ft.default)(w).find(m).length||sr.close(b.sheetID))})}})},[]);let l=r.map(f=>(0,gr.jsx)(xg.Core,T(v({},o),{val_sheet:f,patch_sheet:u=>{a(h=>{let p=[...h],m=p.findIndex(g=>g.sheetID==f.sheetID);return m==-1||(p[m]=v(v({},p[m]),u)),p})},delete_sheet:()=>{a(u=>{let h=[...u],p=h.findIndex(m=>m.sheetID==f.sheetID);return p==-1||h.splice(p,1),h})}}),f.sheetID));return(0,gr.jsx)(X,{className:["AMOTIFY_be",va("Wrapper")].join(" "),children:l})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[s,l]=(0,hn.useState)(Ro.currentIndex+2),[f]=(0,hn.useState)((0,Ft.UUID)()),u=a.type!="custom"&&!a.overwrap;(0,hn.useEffect)(()=>{Ro.currentIndex++,Ft.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,Ft.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),Ft.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=Ft.useStore.get(f);b&&b.resize&&b.resize(g)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:g})},close:g=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,hn.useEffect)(()=>{Ft.default.scope(()=>{let g=vt("#"+f);if(a.isOpen){a.hold_state&&l(Ro.currentIndex+1),g.await(10).removeClass(va("Hide")).await(10).addClass(va("Open")).callback(()=>{delete Ro.openQueue[a.sheetID],a.openAfter&&a.openAfter()});return}g.await(10).removeClass(va("Open")).await(251).addClass(va("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),u&&ht.get().browserIs!="safari"&&(0,Ft.default)(ht.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=xg.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[a.type]];return(0,gr.jsx)(X,{className:[va("Wrap"),va("Tcate_"+h),va("Tpos_"+p),va("isMainSheet_"+u)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:s},id:f,children:(0,gr.jsxs)(er,{className:va("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!u&&(0,gr.jsx)(xg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,gr.jsx)(m,v({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:s,bodyScrolls:l,content:f,className:u="",type:h,size:p="R",freeCSS:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:N,hold_state:Y,overwrap:M,isOpen:j,backgroundEffect:F}=a,Z=$e(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[O,ae]=h.split("."),ge={},ee=[];return ae.match(/top/)?(ee.push("top"),ge.marginBottom="auto"):ae.match(/middle/)?(ee.push("center"),ge.marginTop="auto",ge.marginBottom="auto"):ae.match(/bottom/)&&(ee.push("bottom"),ge.marginTop="auto"),ae.match(/left/i)?(ee.push("left"),ge.marginRight="auto"):ae.match(/center/i)?(ee.push("center"),ge.marginLeft="auto",ge.marginRight="auto"):ae.match(/right/i)&&(ee.push("right"),ge.marginLeft="auto"),(0,gr.jsx)(X,T(v(v({className:[va("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},Z),ge),{freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:ee.join(" ")},m),children:Ft.default.is.function(f)?(0,gr.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:s,bodyScrolls:l,type:f,content:u,className:h="",size:p="R",openAfter:m,closeAfter:g,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:w,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:N,overwrap:Y,isOpen:M,backgroundEffect:j}=a,F=$e(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,gr.jsx)(X,T(v(T(v({className:[va("BB"),h].join(" ")},f=="drawer.right"?{marginLeft:"auto"}:f=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),F),{freeCSS:v({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},F.freeCSS),children:Ft.default.is.function(u)?(0,gr.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:s,sheetGroups:l,bodyScrolls:f,content:u,size:h="R",sizeChanged:p,baseStyles:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:N=!0,hold_state:Y,overwrap:M,isOpen:j,backgroundEffect:F}=a,Z=$e(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),O=Ft.default.getScreenSize(),ae=[0,.2,.6,.95],ge={ZERO:0,S:1,R:2,L:3},[ee,ye]=(0,hn.useState)(h),[be,he]=(0,hn.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:ae[ge[h]]});Ft.useStore.update({[o]:{val_edit:be,resize:de=>{let B=ae[ge[de]];he(W=>T(v({},W),{value:B})),ye(de)}}});let H={Start:de=>{(0,Ft.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:H.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:H.End});let B=Ft.default.getCursor(de),W=T(v({},be),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:be.value,viewHeight:Ft.default.getScreenSize().height});Ft.useStore.update({[o]:{val_edit:W}}),he(W)},Move:de=>{var B;let W=(B=Ft.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ie=(Ft.default.getCursor(de).y-W.originY)/W.viewHeight,te=W.originValue-ie;if(te>.95)te=.95+(te-.95)*.5;else if(te<.2){let se=.2-te;se-=.1,te=.1+(.1-se)*.5}return he(T(v({},W),{value:te})),de.preventDefault(),de.stopPropagation(),!1},End:de=>{var B;let W=(B=Ft.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,Ft.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ie=0;if(W.value<.1||(W.value<.5?ie=1:W.value>.75?ie=3:ie=2),new Date().getTime()-W.processStart<300){let te=Ft.default.getCursor(de).y-W.originY;if(Math.abs(te)>=20){let se=+(te<0)*2-1;ie+=se,ie=Math.min(Math.max(ie,0),ae.length-1)}}ie==0&&(N||(ie=1)),ye(["ZERO","S","R","L"][ie]),he(T(v({},W),{value:ae[ie],process:!1}))}},le=(0,hn.useRef)(!1);return(0,hn.useEffect)(()=>{le.current?ee=="ZERO"?N&&sr.close(s):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(ee)},250):le.current=!0},[ee]),(0,gr.jsx)(X,{className:va("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:v({maxWidth:12*60,height:O.height*be.value},be.process?{transition:"0s"}:{}),children:(0,gr.jsxs)(er,T(v({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},m),{children:[(0,gr.jsxs)(gt.Separate,{padding:1,backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:[(0,gr.jsx)(X,{ssSphere:2.5}),(0,gr.jsx)(gt.Center,{onPointerDown:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,gr.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:va("DragBar")})}),(0,gr.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{sr.close(s)},children:(0,gr.jsx)(Ne.Times,{})})]}),(0,gr.jsx)(X,T(v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Z),{children:Ft.default.is.function(u)?(0,gr.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:s,bodyScrolls:l,event:f,parent:u,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:g,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:w,closeAtSwipeDown:k,hold_state:L,openAfter:N,closeAfter:Y,overwrap:M,isOpen:j,resize:F,backgroundEffect:Z}=a,O=$e(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[ae]=(0,hn.useState)((0,Ft.UUID)()),ge=Ft.default.is.element(u)||Ft.default.is.jmini(u)?(0,Ft.default)(u):vt(u),ee='[data-sheet-id="'+ae+'"]',ye='[data-sheet-content="'+ae+'"]';p=p;let be=p%5||5,he=Math.ceil(p/5),H={Init:()=>{if(h&&f){let Se=Ft.default.getScreenSize(),je=Ft.default.getCursor(f);return{top:je.y-Se.pageYOffset,left:je.x-Se.pageXOffset}}let de={};if(!ge||!ge[0])return de;let{top:B,right:W,bottom:ie,left:te,height:se,width:we}=ge.position();return[1,2].includes(be)?de.left=te:be==3?de.left=te+we/2:[4,5].includes(be)&&(de.left=W),p<=10?de.top=B:p<=15?de.top=B+se/2:p<=25&&(de.top=ie),de},Adjust:()=>{let de=vt(ee).position(),B=vt(ye).position(),W=ge.position(),ie=Ft.default.getScreenSize(),te={};for(let Se in B)te[Se]=B[Se];if(Ft.default.scope(()=>{if(r.nextToCursor)return;let Se=0;he==1?Se=W.top-te.bottom:he==2?Se=W.top-te.top:he==3?Se=W.top-te.top+(W.height-te.height)/2:he==4?Se=W.bottom-te.bottom:he==5&&(Se=W.bottom-te.top),te.top+=Se,te.bottom+=Se}),Ft.default.scope(()=>{if(r.nextToCursor)return;let Se=0;be==1?Se=W.left-te.right:be==2?Se=W.left-te.left:be==3?Se=W.left-te.left+(W.width-te.width)/2:be==4?Se=W.right-te.right:be==5&&(Se=W.right-te.left),te.left+=Se,te.right+=Se}),te.top<0){let Se=-te.top;te.top+=Se,te.bottom+=Se}if(te.bottom>ie.height){let Se=te.bottom-ie.height;te.top-=Se,te.bottom-=Se}if(te.left<0){let Se=-te.left;te.left+=Se,te.right+=Se}if(te.right>ie.width){let Se=te.right-ie.width;te.left-=Se,te.right-=Se}let se=te.top-B.top,we=te.left-B.left;(0,Ft.default)(ee).css({top:de.top+se+"px",left:de.left+we+"px"})}},[le]=(0,hn.useState)(H.Init());return(0,hn.useEffect)(()=>{vt(ee).await(10).addClass(va("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),Ft.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),ge[0]?(0,gr.jsx)(X,{className:[va("BB"),va("CustomSheet")].join(" "),"data-sheet-id":ae,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,gr.jsx)(Lt,{position:"absolute",className:[va("GPT"),va("GPT_"+p),va("Col_"+be),va("Row_"+he)].join(" "),children:(0,gr.jsx)(X,T(v({"data-sheet-content":ae,flexSizing:"none",maxHeight:"viewHeight"},O),{freeCSS:v({maxWidth:"98vw"},O.freeCSS),children:Ft.default.is.function(m)?(0,gr.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,gr.jsx)(X,{className:va("TapSensor"),children:(0,gr.jsx)(nt.Plain,{className:va("TapContent"),onClick:a=>{var o;(o=r.delegateAroundClick)!=null&&o&&sr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},sr={Wrapper:()=>(0,gr.jsx)(xg.Wrapper,{}),Element:r=>{let a=r,{isOpen:o,children:s}=a,l=$e(a,["isOpen","children"]);return(0,hn.useEffect)(()=>{if(o){sr.open(T(v({},l),{content:s}));return}l.sheetID&&sr.close(l.sheetID)},[o]),null},open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let s=r.sheetID||(0,Ft.UUID)(),l=r,{type:f,src:u}=l,h=$e(l,["type","src"]);sr.open(T(v({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:s,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,hn.useState)(Ft.default.flatArray(u)),[m,g]=(0,hn.useState)(0),b=[];return p.forEach((S,w)=>{b.push({value:w,label:(0,gr.jsx)(Rs,{src:Ft.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,gr.jsxs)(er,{gap:0,height:1,position:"relative",children:[(0,gr.jsxs)(gt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,gr.jsx)(wa.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:S=>{g(S)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,gr.jsx)(nt.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{sr.close(s)},children:(0,gr.jsx)(Ne.Times,{})})]}),(0,gr.jsx)(mc.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,gr.jsx)(Rs,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=Ft.useStore.get("Sheet-"+ht.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Ft.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=Ft.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let s=Ro.getSessionStates();if(!s)return;let{val_sheets:l}=s;r=r==null?void 0:r.replace(/\./g,"-");let f=l.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let u=Ft.useStore.get(f.sheetID);u&&u.close&&u.close(o)},closeGroup:r=>{let a=Ro.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let s of o)s.sheetGroups&&s.sheetGroups==r&&sr.close(s.sheetID)},closeAll:r=>{let a=Ro.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let s of o)r&&!s.closeAtPageTransit||sr.close(s.sheetID,"pageTransit",!0)},Body:r=>(0,gr.jsx)(X,v({className:va("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Oa={__memoryID:(0,ow.UUID)(),open:r=>{let a=r,{tipsID:o=(0,ow.UUID)(),tipsGroups:s=[]}=a,l=$e(a,["tipsID","tipsGroups"]);sr.open(T(v({sheetID:o,sheetGroups:["tooltips",...s],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},l),{type:"custom"}))},close:r=>{r&&sr.close(r)},closeALL:()=>{sr.closeGroup("tooltips")},Body:r=>(0,U7.jsx)(X,v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ra=r=>{let[a]=(0,mf.useState)(r.componentID||(0,da.UUID)());r=v({},r),r.states=T(v({enableFormSubmit:!0,status_id:(0,da.UUID)(),override:"never",form:"",id:(0,da.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Un.jsx)(o,v({},r.states))},ja=r=>{let{children:a,val_status:o,val_validate:s,states:l}=r,{leftIcon:f,wrapStyles:u}=l;return o.eventType=="init"&&!l.checkValidationAtFirst&&(s.notice=[]),(0,Un.jsxs)(gt.Center,T(v({position:"relative",verticalAlign:"unset",gap:0},u),{className:Hd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Un.jsx)(iw.Notice,{notice:s.notice,val_status:o}),l.leftIndicator,(0,Un.jsxs)(Lt,{position:"relative",flexSizing:"auto",children:[a,f,(0,Un.jsx)(iw.RightIcon,v({},r)),(0,Un.jsx)(iw.ClearButton,v({},r))]}),l.rightIndicator]}))},iw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Un.jsx)(nt.Normal,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{r.set_status(a=>T(v({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,da.UUID)()}))},children:(0,Un.jsx)(Ne.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:s}=o,l="NoticeTimer-"+s,f="NoticeTimerClose-"+s,u="notice-tips-"+s;return(0,mf.useEffect)(()=>{da.default.interval.once(()=>{if(!a.length){Oa.close(u);return}Oa.open({tipsID:u,parent:`[data-notice-uid="${s}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Un.jsxs)(Oa.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Un.jsx)(X,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Un.jsx)(er,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:g}=h,b=m=="invalid"?Ne.Times:m=="warn"?Ne.Exclamation:Ne.Check;return(0,Un.jsxs)(gt.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Un.jsx)(b,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),(0,Un.jsx)(or.Supplement,{fontSize:"0.xs",fontColor:"white",children:g})]},p+"-"+da.default.Stringify(h))})})]})})},350,l),da.default.interval.once(()=>{Oa.close(u)},6e3,f)},[a]),null}},jt={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,da.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:s,set_status:l,val_validate:f,set_validate:u,SystemValidation:h}=r;o=v({},o);let{componentID:p}=s;(0,mf.useEffect)(()=>(da.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,g)=>{da.useStore.get(p).ResolveRefresh=m,l(b=>T(v({},b),{eventType:"refresh",eventID:(0,da.UUID)()}))}),GenNotice:m=>{let{ok:g,notice:b}=m;u({ok:g,notice:b})}}}),()=>{da.useStore.delete(p)}),[]),da.default.scope(()=>{let{override:m}=o;if(m=="never"||m=="beforeModified"&&!["init","override"].includes(s.eventType))return;let g=da.useStore.get(s.componentID);g&&(o.value!=s.dataValue&&o.status_id!=g.status_id&&l(b=>T(v(T(v({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,da.UUID)()})),g.status_id=o.status_id)}),(0,mf.useEffect)(()=>{jt.ValidationCheck({val_status:s,set_validate:u,SystemValidation:h,states:o})},[s.eventID,s.dataValue]),(0,mf.useEffect)(()=>(da.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=s,S=b;if(a=="autocomplete.single"||a=="list.radio"?S=S[0]:o.isChecker&&(S=!!S[0]),o.form=o.form||"testForm",o.name&&o.form&&da.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:m,type:a,value:S,validation:f.ok}}}),g=="refresh"){let w=da.useStore.get(m);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else g=="update"&&(o.onUpdateValue&&o.onUpdateValue(S,g,m),da.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue(S,g,m)}))}),()=>{da.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[f])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;da.default.interval.abort(o);let s=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!s.ok){r.set_validate(s);return}let l=s.notice,f=()=>La(void 0,null,function*(){if(!a.onValidate)return;let u=yield a.onValidate(r.val_status.dataValue,r.val_status.eventType,r);r.set_validate({ok:u.ok,notice:[...l,...u.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}da.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:l})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let s=vt(`[data-form-submit-button="${a}"]`)[0];if(!s)return o;let l=s.dataset.sdfike||"",f=r.key,u=r.ctrlKey||r.metaKey;return da.default.scope(()=>{l.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||ht.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(l.includes("enter")||l.includes("auxEnter")&&u)||f==" "&&l.includes("space"))&&(s.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let s=r.ok;return!o&&a.eventType=="init"&&(s=!0),s}},Vn=function(r){r=v({tone:"border"},r);let a=da.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=T(v({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=T(v({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=T(v({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return T(v(v(v(v(v(v({fontColor:"2.normal"},a),!!r.rightIcon&&{paddingRight:3}),!!r.leftIcon&&{paddingLeft:3}),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r),{freeCSS:v({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Hd("Input"),r.className].join(" ")})};var p$=r=>{let a=r,{componentID:o="",enableFormSubmit:s,form:l,value:f=""}=a,u=$e(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,hm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,Kd.UUID)()}),[m,g]=(0,hm.useState)({ok:!1,notice:[]});return(0,hm.useEffect)(()=>{Kd.default.is.equal(h.dataValue,f)||p(b=>T(v({},b),{dataValue:f,eventType:"update",eventID:(0,Kd.UUID)()}))},[r.value]),jt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,lw.jsx)("input",T(v({value:Kd.default.Stringify(f),"data-component-id":o},u),{type:"hidden"}))},V7=r=>(0,lw.jsx)(Ra,{componentID:r.componentID,children:p$,states:r});var cr=K(At()),_a=K(ar()),Ns=K(fr());var Q7=K(X7());var mm=K(At()),Tg=K(fr()),kg=K(ar());var mu=r=>{if(!r.label)return null;let[a,o]=(0,Tg.useState)({});return(0,Tg.useEffect)(()=>{let s=(0,kg.default)('[data-input-origin="'+r.componentID+'"]'),l=(0,kg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,kg.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!s[0]||!l[0]||!f[0])return;let u=s.position(),h=f.position();if(r.isActive){let p=h.left-u.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-u.left,m=h.top-u.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${m}px)`}})}l.getAttribute("data-label-init")=="true"&&l.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,mm.jsx)(X,T(v({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min",fontHeight:"inherit"},a),{freeCSS:v({zIndex:2,transformOrigin:"top left",pointerEvents:"none"},a.freeCSS),children:(0,mm.jsxs)(gt.Left,{gap:"1/3",children:[r.label,r.required&&(0,mm.jsx)(Cn,{fontColor:"nega",children:" * "})]})}))};var h$={katakana:{reg:/^[ァ-ヶー  ヲ-゚  ]*$/g,exist:!0,reason:"\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},"hankaku.katakana":{reg:/^[ヲ-゚  ]*$/g,exist:!0,reason:"\u534A\u89D2\u30AB\u30BF\u30AB\u30CA\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},number:{reg:/^-?[0-9\.]{0,}[0-9]{1,}$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},digitNumber:{reg:/^-?[0-9\,\.]{0,}[0-9]{1,}$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},fileName:{reg:/[¥\/:*\?\"\'\|\.\s\n\r\<\>]/g,exist:!1,reason:"\u7A7A\u767D\u307E\u305F\u306F\u4E00\u90E8\u306E\u7279\u6B8A\u6587\u5B57\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093"},creditCard:{reg:/^\d{14,16}$/g,exist:!0,reason:"14~16\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},email:{reg:/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]+\.[A-Za-z0-9]+$/,exist:!0,reason:(0,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(X,{children:"\u25CB\u25CB\u25CB\u25CB@\u25CB\u25CB\u25CB\u25CB.\u25CB\u25CB\u25CB\u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,cr.jsx)(X,{children:"\u6700\u5F8C\u306E\u6587\u5B57\u306B.(\u30C9\u30C3\u30C8)\u3092\u5165\u308C\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"})]})},password:{reg:/^(?=[^A-Z]*[A-Z])(?=[^a-z]*[a-z])(?=[^0-9]*[0-9]).{8,}$/,exist:!0,reason:"8\u6587\u5B57\u4EE5\u4E0A\u3001\u534A\u89D2\u82F1\u6570\u5927\u5C0F\u6587\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tel:{reg:/.*$/g,exist:!0,reason:(0,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,cr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,cr.jsx)(X,{children:"\u6570\u5B57\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"})]})},url:{reg:/^https?:\/\/[^\n\s]+(\.|\:)[^\n\s\.\:]+$/,exist:!0,reason:"URL\u5F62\u5F0F : http(s)://\u25EF\u25EF\u25EF\u25EF"},postal:{reg:/^\d{7}$/g,exist:!0,reason:"7\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}},Nl={setSelection:r=>{let{id:a,restrict:o,val_status:s}=r,l=vt("#"+a)[0];if(l&&s.prevValue&&s.formatValue){let{formatValue:f,prevValue:u,caretFrom:h,caretTo:p}=s;if(o=="creditCard")f.length>=u.length&&h%5==0&&(h++,p++),l.setSelectionRange(h,p);else if(o=="postal")f.length==5&&u.length==3&&(h++,p++),l.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-u.length;m==2&&(h++,p++),m==-2&&(h--,p--),l.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:s="text",maxLength:l,multiline:f,required:u}=o,h=[];if(f||(l=l||255),_a.default.is.exist(l)&&a.length>=Number(l)&&h.push({type:"invalid",label:l+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let p=Nl.Validation.Text(a,s);p.ok||h.push({type:"invalid",label:p.body})}else u&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!h.filter(({type:p})=>p=="invalid").length,notice:h}},Text:(r,a)=>{let o={ok:!0,body:""};return(()=>{let s=h$[a];if(!s)return;let l=s.reason;if(s){let f=!!(+!!r.match(s.reg)^+!s.exist);o={ok:f,body:f?"":l}}})(),o},DataLeveling:r=>{let{restrict:a,allowDecimals:o,allowZeroStart:s,value:l=""}=r,f=String(l);["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(f=f.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(f=f.removeLetters()),_a.default.scope(()=>{if(!["number","digitNumber"].includes(a))return;f=f.replace(/(\.\d+)\..*/g,"$1").replace(/\.+/g,".").replace(/[^0-9.-]/g,"");let h=Number(f)<0||f[0]=="-";f=f.replace(/[^0-9.]/g,""),h&&(f="-"+f),o||(f=f.replace(/\.\d?/g,"")),_a.default.scope(()=>{a=="number"&&(s||(f=f.replace(/^0(\d+)/g,"$1").replace(/^-0(\d+)/g,"-$1")))}),_a.default.scope(()=>{let p=f.slice(-1);f&&p!="."&&p!="-"&&(_a.default.is.exist(r.min)&&(f=String(Math.max(Number(f),Number(r.min)))),_a.default.is.exist(r.max)&&(f=String(Math.min(Number(f),Number(r.max)))))}),_a.default.scope(()=>{if(!f||f=="-"||a!="digitNumber")return;let p=Number(f)<0,m=String(Math.abs(Math.round(Number(f)))),g=f.split("."),b=[];for(let S=m.length-1;S>=0;S--){b.unshift(m[S]);let w=m.length-1-S+1;S!=0&&w%3==0&&b.unshift(",")}f=b.join(""),p&&(f="-"+f),(g==null?void 0:g.length)==2&&(f+="."+g[1]||"")})});let u=f;return a=="digitNumber"||(a=="postal"?f.length>=4&&(u=f.clip(0,3)+"-"+f.clip(3)):a=="creditCard"&&(u=f.replace(/.{4}(?=.)/g,"$& "))),f=f.replace(/,/g,""),{formatValue:u,dataValue:f}}},Shallow:r=>{let{rootStates:a,val_status:o}=r,s=o.dataValue||"";(0,Ns.useEffect)(()=>{_a.default.scope(()=>La(void 0,null,function*(){if(!a.multiline)return;let p=(0,_a.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,_a.default)('[data-input-shallow="'+o.componentID+'"]'),g=(0,_a.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,_a.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!g[0]||!b[0])return;let S=m.position(),w=g.position(),k=b.position(),L=0;a.autoHeight&&(L=S.height),L=Math.max(L,w.height),L=Math.min(L,k.height),p[0].style.height=L+"px"}))},[s]);let l=s||"";(s.match(/\n$/)||!s)&&(l+="T");let f="",u="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
979
979
  T`.repeat(p-1),u=`
980
- T`.repeat(m-1)}let h=Ol(a);return(0,cr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",width:1,freeCSS:T(v({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,cr.jsx)(X,{"data-input-value-shallow":o.componentID,children:l})})),(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",left:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:f})),(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",right:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:u}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:s,val_status:l,set_status:f,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m}=r;if(a.multiline)return null;let g=a,{componentID:b,tone:S,required:w,restrict:k="text",form:L,autoComplete:N="off",autoCapitalize:Y="off",minRows:M,maxRows:j,multiline:F,autoHeight:Z,enableFormSubmit:O,clearButton:ae=!1,allowDecimals:ge,allowZeroStart:ee,checkValidationAtFirst:ye,onChange:be,onKeyDown:he,onValidate:H,onUpdateValue:le,onUpdateValidValue:de,value:B="",leftIndicator:W,rightIndicator:ie,leftIcon:te,rightIcon:se,maxLength:we,min:Se,max:je,label:Ye,isLabelActive:Ge,wrapStyles:rt}=g,et=$e(g,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","allowDecimals","allowZeroStart","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),Nt=k=="password"||k=="concealed"?"password":"text",$t=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,cr.jsx)(X,T(v({htmlTag:"input",type:Nt,inputMode:$t,"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(o,l,!!ye),"data-component-id":l.componentID,"data-input-origin":l.componentID,value:l.formatValue,autoComplete:N,autoCapitalize:Y,onKeyDown:dt=>{let{key:Xe,target:ke}=dt;{let ot=ke,{selectionStart:kt,selectionEnd:Tt}=ot,wt=Number(kt),tr=Number(Tt),Ut=l.formatValue[Number(wt)],dr=l.formatValue[Number(wt)-1];Xe=="Delete"&&(k=="creditCard"&&Ut==" "||k=="postal"&&Ut=="-"||k=="digitNumber"&&Ut==",")&&(ot.setSelectionRange(wt+1,tr+1),dt.preventDefault()),Xe=="Backspace"&&(k=="creditCard"&&dr==" "||k=="postal"&&dr=="-"||k=="digitNumber"&&dr==",")&&(ot.setSelectionRange(wt-1,tr-1),dt.preventDefault()),Xe=="Enter"||Xe=="Tab"}_a.default.scope(()=>{["number","digitNumber","creditCard"].includes(k)&&Xe=="Clear"&&f(ot=>T(v({},ot),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,_a.UUID)()}))}),_a.default.scope(()=>{var ot;if(!["number","digitNumber"].includes(k)||!["ArrowUp","ArrowDown"].includes(Xe))return;let kt=+(Xe=="ArrowUp")*2-1,Tt=l.dataValue.slice(-1),wt=l.dataValue,tr=((ot=l.dataValue.split(".")[1])==null?void 0:ot.length)||0;if(!Tt)wt+="0";else if(Tt=="-")wt+="0";else if(Tt==".")wt+="0";else if(tr){let Ut=Number(Tt)+kt;wt=wt.slice(0,-1),Ut<0?wt+="9":Ut>9?wt+="0":wt+=String(Ut)}else wt=String(Number(l.dataValue.replace(/,/g,""))+kt);o.ok&&s({ok:!1,notice:[]}),f(Ut=>T(v(v({},Ut),Nl.Validation.DataLeveling({allowDecimals:ge,allowZeroStart:ee,min:Se,max:je,restrict:k,value:wt})),{eventType:"update",eventID:(0,_a.UUID)()})),dt.preventDefault()}),he&&he(dt),O&&jt.SubmitForm(dt,L)},onChange:dt=>{let{value:Xe,selectionStart:ke,selectionEnd:ot}=dt.target,kt=Nl.Validation.DataLeveling({allowDecimals:ge,allowZeroStart:ee,min:Se,max:je,restrict:k,value:Xe});p&&(kt.formatValue=Xe),kt.formatValue!=l.formatValue&&(o.ok&&s({ok:!1,notice:[]}),f(Tt=>T(v(v({},Tt),kt),{prevValue:l.formatValue,eventType:"update",eventID:(0,_a.UUID)(),caretFrom:Number(ke),caretTo:Number(ot)})),be&&be(dt))},width:1},et),{onFocus:dt=>{et!=null&&et.onFocus&&(et==null||et.onFocus(dt)),h(!0)},onBlur:dt=>{et!=null&&et.onBlur&&(et==null||et.onBlur(dt)),h(!1)},onCompositionStart:dt=>{et!=null&&et.onCompositionStart&&(et==null||et.onCompositionStart(dt)),m(!0)},onCompositionEnd:dt=>{if(et!=null&&et.onCompositionEnd&&(et==null||et.onCompositionEnd(dt)),k=="text")return;let Xe=Nl.Validation.DataLeveling({allowDecimals:ge,allowZeroStart:ee,min:Se,max:je,restrict:k,value:l.formatValue});f(ke=>T(v(v({},ke),Xe),{prevValue:ke.formatValue,eventType:"update",eventID:(0,_a.UUID)(),caretFrom:Number(ke.formatValue.length+1),caretTo:Number(ke.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:s,val_validate:l,set_validate:f,val_status:u,set_status:h,isShallow:p}=r,m=a,{componentID:g,tone:b,required:S,form:w,label:k,isLabelActive:L,minRows:N,maxRows:Y,multiline:M,autoHeight:j,allowDecimals:F,allowZeroStart:Z,enableFormSubmit:O,maxLength:ae,checkValidationAtFirst:ge,onChange:ee,onKeyDown:ye,onValidate:be,onUpdateValue:he,onUpdateValidValue:H,value:le="",leftIndicator:de,rightIndicator:B,leftIcon:W,rightIcon:ie,wrapStyles:te}=m,se=$e(m,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","allowDecimals","allowZeroStart","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,cr.jsx)(X,T(v({htmlTag:"textarea","data-show-validation":jt.isShowValidation(l,u,!!ge),"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},se),{onFocus:we=>{se!=null&&se.onFocus&&(se==null||se.onFocus(we)),s(!0)},onBlur:we=>{se!=null&&se.onBlur&&(se==null||se.onBlur(we)),s(!1)},onKeyDown:we=>{ye&&ye(we),O&&jt.SubmitForm(we,w)},onChange:we=>{let{value:Se}=we.target;l.ok&&f({ok:!1,notice:[]}),h(je=>T(v({},je),{dataValue:Se,eventType:"update",eventID:(0,_a.UUID)()})),ee&&ee(we)}})):null}},m$=r=>{let{componentID:a,restrict:o="text",value:s="",min:l,max:f,allowDecimals:u,allowZeroStart:h}=r,[p,m]=(0,Ns.useState)(!1),[g,b]=(0,Ns.useState)(!1),[S,w]=(0,Ns.useState)(T(v({componentID:a},Nl.Validation.DataLeveling({allowDecimals:u,allowZeroStart:h,min:l,max:f,restrict:o,value:s})),{prevValue:"",eventType:"init",eventID:(0,_a.UUID)(),caretFrom:null,caretTo:null})),[k,L]=(0,Ns.useState)({ok:!1,notice:[]}),N={rootStates:r,val_focus:p,set_focus:m,val_isComposing:g,set_isComposing:b,val_status:S,set_status:w,val_validate:k,set_validate:L};return jt.CommonEffects({type:"textfield",states:r,val_status:S,set_status:w,val_validate:k,set_validate:L,SystemValidation:Nl.Validation.System,ExtraOverrideStates:v({},Nl.Validation.DataLeveling({allowDecimals:u,allowZeroStart:h,min:l,max:f,restrict:o,value:s}))}),(0,Ns.useEffect)(()=>{Nl.setSelection({id:r.id,restrict:o,val_status:S})},[S]),(0,cr.jsxs)(ja,{val_status:S,set_status:w,val_validate:k,states:N.rootStates,children:[(0,cr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||p||!!S.dataValue}),(0,cr.jsx)(Nl.Shallow,v({},N)),(0,cr.jsx)(Nl.InputBox,v({},N)),(0,cr.jsx)(Nl.TextAreaBox,v({},N))]})},ts=r=>(r=v({autoHeight:!0,restrict:"text",fontSize:"inherit"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,cr.jsx)(Ra,{componentID:r.componentID,children:m$,states:Vn(r)})),mn=ts;mn.Validate=Nl.Validation.Text,mn.Katakana=r=>(0,cr.jsx)(ts,T(v({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),mn.HankakuKatakana=r=>(0,cr.jsx)(ts,T(v({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),mn.CreditCard=r=>(0,cr.jsx)(ts,T(v({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),mn.Tel=r=>(0,cr.jsx)(ts,T(v({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),mn.Number=r=>(0,cr.jsx)(ts,T(v({},r),{restrict:"number",multiline:!1,autoHeight:!1})),mn.DigitNumber=r=>(0,cr.jsx)(ts,T(v({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),mn.Email=r=>(0,cr.jsx)(ts,T(v({},r),{restrict:"email",multiline:!1,autoHeight:!1})),mn.Url=r=>(0,cr.jsx)(ts,T(v({},r),{restrict:"url",multiline:!1,autoHeight:!1})),mn.Postal=r=>{let[a]=(0,Ns.useState)((0,_a.UUID)());return(0,Ns.useEffect)(()=>()=>{_a.useStore.delete(a)},[]),(0,cr.jsx)(ts,T(v({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,cr.jsx)($d,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},mn.Password=r=>(0,cr.jsx)(ts,T(v({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,cr.jsx)(Fa,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,cr.jsx)(lt.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{_c.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:_c.abort,tabIndex:-1,onClick:a=>{(0,_a.default)(a.target).parent().parent().find("input").callback(o=>{let s=o[0];s.type=s.type==="password"?"text":"password"})},children:(0,cr.jsx)(Ne,{icon:Q7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),mn.Concealed=r=>(0,cr.jsx)(mn.Password,T(v({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),mn.Money={JPY:r=>(0,cr.jsx)(mn.DigitNumber,T(v({rightIcon:(0,cr.jsx)(Fa,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var Eg=K(At()),J7=K(ar()),cw=K(fr());function v$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a&&l.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var _$=r=>{let a=r,{componentID:o,tone:s,required:l,form:f,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,children:k="",leftIndicator:L,rightIndicator:N,leftIcon:Y,rightIcon:M,freeCSS:j,wrapStyles:F}=a,Z=$e(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[O,ae]=(0,cw.useState)(jt.DefaultStatus(o,u)),[ge,ee]=(0,cw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"contenteditable",states:r,val_status:O,set_status:ae,val_validate:ge,set_validate:ee,SystemValidation:v$}),(0,Eg.jsx)(ja,{val_status:O,set_status:ae,val_validate:ge,states:r,children:(0,Eg.jsx)(X,T(v({contentEditable:!0,"data-show-validation":jt.isShowValidation(ge,O,!!p),"data-component-id":O.componentID,onKeyDown:ye=>{g&&g(ye),h&&jt.SubmitForm(ye,f)},onInput:ye=>{let be=ye.currentTarget,{innerHTML:he,innerText:H}=be;ge.ok&&ee({ok:!1,notice:[]}),ae(le=>T(v({},le),{dataValue:H,eventType:"update",eventID:(0,J7.UUID)()})),m&&m(ye)}},Z),{children:k}))})},Z7=r=>{r=T(v({rows:5},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Vn(r);return(0,Eg.jsx)(Ra,{componentID:r.componentID,children:_$,states:a})};var vm=K(At()),uw=K(fr()),Xd=K(ar());function g$(r){let{value:a,states:o}=r,{required:s,numericOnly:l=!1,digits:f}=o,u=[];return s&&!a&&u.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(l&&a.match(/\D/)&&u.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=f&&u.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!u.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:u}}var b$=(r,a="")=>{let o=String(a),s=[];for(let l=0;l<r;l++)s[l]=o[l]||"";return{formatValue:s,dataValue:o}},eO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},y$=r=>{let a=r,{tone:o,required:s,form:l,name:f,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:N="",override:Y,freeCSS:M,wrapStyles:j,combineInput:F,componentID:Z,listStyles:O}=a,ae=$e(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[ge,ee]=(0,uw.useState)(T(v({componentID:r.componentID||""},b$(h,N)),{eventType:"init",eventID:(0,Xd.UUID)()})),[ye,be]=(0,uw.useState)({ok:!1,notice:[]});jt.CommonEffects({type:"textfield",states:r,val_status:ge,set_status:ee,val_validate:ye,set_validate:be,SystemValidation:g$});let he=[];for(let H=0;H<h;H++){let le=ge.formatValue[H],de={},B=u;r.combineInput&&(B=[u,Hd("DigitCharacterCell"),Hd("Combined")].join(" ")),he.push((0,vm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+ge.componentID,className:B,style:v(v({},r.style),de),onKeyDown:W=>{let{key:ie,code:te}=W;if(ie=="Tab")return;W.preventDefault();let se=null;if(ie=="Backspace"){let we=ge.formatValue;we[H]="",ee(Se=>T(v(v({},Se),eO(we)),{eventType:"update",eventID:(0,Xd.UUID)()})),se=H-1}else if(["ArrowLeft","ArrowRight"].includes(ie)){let we=+(ie=="ArrowRight")*2-1;se=H+we}else m&&jt.SubmitForm(W,l),(()=>{let we=te.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!we)return;let Se=we[2]||we[3]||we[4];if(p&&!Se.match(/\d/)||!Se)return;let je=ge.formatValue;je[H]=Se,ee(Ye=>T(v(v({},Ye),eO(je)),{eventType:"update",eventID:(0,Xd.UUID)()})),se=H+1})();Xd.default.is.exist(se)&&vt("#Digit-"+se+"-"+ge.componentID).focus()},onChange:()=>{}},H))}return(0,vm.jsx)(ja,{val_status:ge,set_status:ee,val_validate:ye,states:r,children:(0,vm.jsx)(Lt,T(v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},O),{children:he}))})},tO=r=>{r=v({},r),r=v({textAlign:"center",width:0},r),r.combineInput&&(r=T(v({textAlign:"center",width:0},r),{freeCSS:v({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:v({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=To(Vn(r));return(0,vm.jsx)(Ra,{componentID:r.componentID,children:y$,states:a})};var ta=K(At()),vn=K(ar()),_m=K(ar()),Do=K(fr());var yO=K(sO()),SO=K(vO());var ur=K(At()),Za=K(ar()),gc=K(fr());function S$(r){let{value:a,states:o}=r,{required:s,options:l}=o,f=[];return s&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:u})=>u=="invalid").length,notice:f}}var pw={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(s=>s.type!="label")),o}},vu={Shallow:r=>{let{rootStates:a,val_status:o}=r,s=Ol(a);return(0,ur.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ur.jsx)(or.Description,T(v({className:a.className},s),{position:"absolute",width:1,freeCSS:T(v({},s.freeCSS),{color:"orange"}),children:(0,ur.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(vu.LegacySelector,v({},r)),(0,ur.jsx)(vu.Original,v({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,ur.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:s,val_optionFocused:l,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:N,label:Y,isLabelActive:M,placeholder:j,enableFormSubmit:F,emptySelect:Z,checkValidationAtFirst:O,onValidate:ae,onUpdateValue:ge,onUpdateValidValue:ee,value:ye="",options:be,leftIndicator:he,rightIndicator:H,leftIcon:le,rightIcon:de,componentID:B,status_id:W,wrapStyles:ie,SelectedCellStyles:te,SelectorCellStyles:se,SelectorMode:we,SelectorStyles:Se,SelectorPosition:je}=S,Ye=$e(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return(0,gc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||a.disabled)return;let Ge="select-click-"+a.componentID;if(g){if(!(0,Za.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Za.default)(document).addEvent({eventID:Ge,eventType:"click",callback:rt=>{let et=(0,Za.default)(rt.target),Nt=!!(0,Za.default)(et).parent("."+Rl("Core")).length;(0,Za.default)(et).parent("."+Rl("Selector")).length||Nt||b(!1)}})}else(0,Za.default)(document).removeEvent([Ge])},[g]),(0,gc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!g)return;let Ge=(0,Za.default)('[data-input-origin="'+a.componentID+'"]');Ge&&Ge.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(X,T(v({tabIndex:0},Ye),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(u,p,!!O),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[N,Rl("Core")].join(" "),onFocus:Ge=>{if(Ye!=null&&Ye.onFocus&&(Ye==null||Ye.onFocus(Ge)),!a.disabled){if(o)return s(!1);b(!0)}},onClick:Ge=>{Ye!=null&&Ye.onClick&&(Ye==null||Ye.onClick(Ge)),!a.disabled&&b(!0)},onKeyDown:Ge=>{let{key:rt,metaKey:et,ctrlKey:Nt}=Ge,$t=et||Nt;if(Ye!=null&&Ye.onKeyDown&&(Ye==null||Ye.onKeyDown(Ge)),F&&jt.SubmitForm(Ge,L),!a.disabled){if(Za.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(rt))return;if(Ge.preventDefault(),!g)return b(!0);let dt=rt=="ArrowDown"?1:-1,Xe=pw.FilterSelectableOptions(r),ke=Xe.length-1,ot=null;Za.default.scope(()=>{var kt,Tt,wt,tr,Ut,dr,ra,jr,qr,xr;let pr=Xe.findIndex(br=>br.value==l);if(dt==1){if(ot=(Tt=(kt=Xe[0])==null?void 0:kt.value)!=null?Tt:null,$t){ot=(wt=Xe[ke].value)!=null?wt:null;return}if(pr==-1||pr==ke)return;ot=(Ut=(tr=Xe[pr+1])==null?void 0:tr.value)!=null?Ut:null}else{if(ot=(dr=Xe[ke].value)!=null?dr:null,$t){ot=(jr=(ra=Xe[0])==null?void 0:ra.value)!=null?jr:null;return}if(pr==-1||pr==0)return;ot=(xr=(qr=Xe[pr-1])==null?void 0:qr.value)!=null?xr:null}}),f(ot)}),rt=="Escape")b(!1);else if(rt=="Tab")b(!1);else if(rt=="Backspace")m(dt=>T(v({},dt),{dataValue:null,eventType:"update",eventID:(0,Za.UUID)()}));else if(rt==" ")Ge.preventDefault(),b(!0);else if(rt=="Enter"){if(!g)return b(!0);Ge.preventDefault();let dt=a.options.find(Xe=>Xe.value==l);if(!dt)return;m(Xe=>T(v({},Xe),{dataValue:dt.value,eventType:"update",eventID:(0,Za.UUID)()})),b(!1)}}},children:(0,ur.jsxs)(gt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,ur.jsx)(vu.Placeholder,v({},r)),(0,ur.jsx)(vu.Selected,v({},r)),(0,ur.jsx)(Cn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,ur.jsx)(vu.Selector,v({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:s,val_optionFocused:l,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:N,label:Y,isLabelActive:M,placeholder:j,enableFormSubmit:F,emptySelect:Z,checkValidationAtFirst:O,onValidate:ae,onUpdateValue:ge,onUpdateValidValue:ee,onKeyDown:ye,onChange:be,value:he="",options:H,leftIndicator:le,rightIndicator:de,leftIcon:B,rightIcon:W,componentID:ie,status_id:te,wrapStyles:se,SelectedCellStyles:we,SelectorCellStyles:Se,SelectorMode:je,SelectorStyles:Ye,SelectorPosition:Ge}=S,rt=$e(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","onKeyDown","onChange","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return r.rootStates.SelectorMode!="legacy"?null:(0,ur.jsxs)(X,T(v({htmlTag:"select",tabIndex:0},rt),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(u,p,!!O),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[N,Rl("Core")].join(" "),onKeyDown:et=>{ye&&ye(et),F&&jt.SubmitForm(et,L)},onChange:et=>{let{value:Nt}=et.target;u.ok&&h({ok:!1,notice:[]}),m($t=>T(v({},$t),{dataValue:Nt,eventType:"update",eventID:(0,Za.UUID)()})),be&&be(et)},children:[!!Z&&(0,ur.jsx)("option",{value:"null",children:"\u9078\u629E"}),H.map(et=>Za.default.is.nullish(et.value)?null:(0,ur.jsx)("option",{value:et.value,children:et.label},String(et.value)))]}))},Selector:r=>{var a;let o=[],s=pw.FilterSelectableOptions(r,!0),l=pw.FilterSelectableOptions(r);s.forEach((u,h)=>{let{type:p,value:m}=u,g=r.val_optionFocused==m,b=r.val_status.dataValue===m;if(p=="selector"){o.push((0,ur.jsx)(lt.Sub.S,T(v({color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:b||g,isActiveStyles:g?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"}},r.rootStates.SelectorCellStyles),{onClick:S=>{r.set_status(w=>T(v({},w),{dataValue:m,eventType:"update",eventID:(0,Za.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,ur.jsxs)(gt.Left,{gap:"1/2",children:[b&&(0,ur.jsx)(Ne.Check,{fontColor:"theme"}),(0,ur.jsx)(or.Supplement,{transition:"short",flexSizing:0,children:u.label})]})}),String(m)));return}o.push((0,ur.jsx)(X,{children:u.label},(0,Za.UUID)()))}),l.length||(o=[(0,ur.jsx)(or.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let f={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:f.bottom="100%",f.left=0,f.paddingBottom="1/3";break;case 2:f.bottom="100%",f.right=0,f.paddingBottom="1/3";break;case 3:f.top="100%",f.left=0,f.paddingTop="1/3";break;case 4:f.top="100%",f.right=0,f.paddingTop="1/3";break;default:break}return(0,ur.jsx)(X,T(v({},f),{children:(0,ur.jsx)(sr.Body,T(v({className:Rl("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,ur.jsx)(er,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&Za.default.scope(()=>{let o=r.rootStates.options.find(s=>Za.default.is.equal(s.value,r.val_status.dataValue));o&&a.push((0,ur.jsx)(X,T(v({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,ur.jsx)(ur.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[s,l]=(0,gc.useState)(jt.DefaultStatus(r.componentID,o)),[f,u]=(0,gc.useState)(!1),[h,p]=(0,gc.useState)(!1),[m,g]=(0,gc.useState)((a=r.value)!=null?a:null),[b,S]=(0,gc.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:u,val_optionFocused:m,set_optionFocused:g,val_selectorOpen:h,set_selectorOpen:p,val_status:s,set_status:l,val_validate:b,set_validate:S};return jt.CommonEffects({type:"select",states:r,val_status:s,set_status:l,val_validate:b,set_validate:S,SystemValidation:S$}),(0,ur.jsxs)(ja,{val_status:s,set_status:l,val_validate:b,states:r,children:[(0,ur.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||s.dataValue!==null}),(0,ur.jsx)(vu.Shallow,v({},w)),(0,ur.jsx)(vu.Button,v({},w))]})}},rs=r=>{var a;let o=v({},r);return o=T(v({emptySelect:!0,SelectorMode:"original",SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,ur.jsx)(or.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((s,l)=>{let{type:f,value:u}=s;o.options[l]=T(v({},s),{value:u,type:f||"selector"})}),Za.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,ur.jsx)(Fa,{ssSphere:2,children:(0,ur.jsx)(Ne.AngleDown,{})})),(0,ur.jsx)(Ra,{componentID:o.componentID,children:vu.Core,states:Vn(o)})};var Fe=K(At()),gO=K(fr()),Ar=K(ar()),bc=K(fr());var Ma=K(At()),Ml=K(ar()),hw=K(fr());function w$(r){let{value:a,states:o}=r,{type:s,required:l,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.length;return l&&(p||s=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var _u={InitOptions:r=>{let a=[];return r.forEach(o=>{let{label:s,value:l}=o;Ml.default.is.nullish(s)&&(s=String(l)),a.push(T(v({},o),{label:s,value:l}))}),a},OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,s=Ml.default.is.exist(a)?Ml.default.flatArray(a):[],l=[];return s.forEach(f=>{o.findIndex(u=>Ml.default.is.equal(u.value,f))!=-1&&l.push(f)}),(0,Ma.jsx)(_u.Core,T(v({},r),{value:l,options:o}))},Core:r=>{let a=r,{type:o,tone:s,required:l,componentID:f="",form:u,override:h,icon:p,iconType:m,iconSize:g,iconPosition:b,iconColor:S,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:N,onUpdateValue:Y,onUpdateValidValue:M,value:j,options:F,className:Z,cellStyles:O,cellClassName:ae,cellCheckedStyles:ge,cellCheckedClassName:ee,min:ye,max:be,hideInput:he,freeCSS:H,wrapStyles:le}=a,de=$e(a,["type","tone","required","componentID","form","override","icon","iconType","iconSize","iconPosition","iconColor","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[B,W]=(0,hw.useState)(jt.DefaultStatus(f,j)),[ie,te]=(0,hw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ie,set_validate:te,SystemValidation:w$}),(0,Ma.jsx)(ja,{val_status:B,set_status:W,val_validate:ie,states:r,children:(0,Ma.jsx)(_u.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:s}=r,{componentID:l,type:f,tone:u,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:S,form:w,tabIndex:k,hideInput:L,disabled:N,className:Y,cellStyles:M,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Z="",enableFormSubmit:O}=a,{dataValue:ae}=o,ge=a.CustomIcon,ee=b.map((ye,be)=>{let he=ye,{value:H,label:le,disabled:de,className:B="",checkedStyles:W,checkedClassName:ie="",freeCSS:te}=he,se=$e(he,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),we=(0,Ml.UUID)(),Se=ae.findIndex(et=>et===H)!=-1,je=v(v({},M),se),Ye=[cf("Label"),j,B];Se&&(je=T(v(v(v({},je),F),W),{freeCSS:v(v(v({},je==null?void 0:je.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),Ye=[...Ye,Z,ie]);let Ge=()=>{if(N||de)return;let et=[];if(f=="radio")et=[H];else if(f=="checkbox"||g)if(!Se)et=[...o.dataValue,H];else{let Nt=[...o.dataValue];Nt.splice(o.dataValue.findIndex($t=>$t==H),1),et=Nt}s(Nt=>T(v({},Nt),{dataValue:et,eventType:"update",eventID:(0,Ml.UUID)()}))},rt=[(0,Ma.jsx)(Cn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:Ml.default.is.string(le)?(0,Ma.jsx)(X,{children:le}):le},"content")];return h&&rt[a.iconPosition=="right"?"push":"unshift"]((0,Ma.jsx)(ge,{isChecked:Se,iconSize:p,iconColor:m,toggle:Ge},"icon")),[(0,Ma.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:cf("Input"),name:"RadioCheckbox-"+S,"data-list-index":l+"-"+be,id:we,value:String(H),disabled:N||de,checked:Se,onFocus:et=>{de||f=="radio"&&(o.dataValue.length||s(Nt=>T(v({},Nt),{dataValue:[H],eventType:"update",eventID:(0,Ml.UUID)()})))},onChange:()=>{Ge()},onKeyDown:et=>{let{key:Nt,shiftKey:$t}=et;if((f=="checkbox"||r.rootStates.isChecker)&&Nt!="Tab"&&Nt.match(/Arrow/)){et.preventDefault();let dt=["ArrowLeft","ArrowUp"].includes(Nt)?-1:1,Xe=be+dt;Xe<0?Xe=b.length-1:Xe>=b.length&&(Xe=0),vt(`input[data-list-index="${l}-${Xe}"]`).focus()}O&&jt.SubmitForm(et,w)},tabIndex:k},"List-"+Ml.default.Stringify(H)),(0,Ma.jsx)(X,T(v({htmlTag:"label","data-disabled":N||de,htmlFor:we,className:Ye.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},je),{children:rt}),"ListTrigger-"+Ml.default.Stringify(H))]});return(0,Ma.jsx)(Lt,{flexSizing:"auto",style:a.style,freeCSS:v({},a.freeCSS),className:[Y,cf("CellBase"),cf("HideInput_"+L),cf("IconIndicator_"+!!h),cf("Tone_"+u)].join(" "),children:ee})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Ma.jsx)(lt.Normal,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:2,freeCSS:{transform:`scale(${a})`},onClick:o=>{o.preventDefault(),o.stopPropagation(),r.toggle()},children:r.children})},RadioIcon:r=>(0,Ma.jsx)(_u._Icon,T(v({type:"radio"},r),{children:(0,Ma.jsx)(X,{flexCenter:!0,isRounded:!0,border:r.isChecked?"0.trans":"3.thick",borderColor:r.isChecked?r.iconColor:"3.thick",position:"relative",transition:"middle",freeCSS:{width:"50%",height:"50%"},children:(0,Ma.jsx)(X,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.iconColor,opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.4)"}})})})),CheckboxIcon:r=>(0,Ma.jsx)(_u._Icon,T(v({type:"checkbox"},r),{children:(0,Ma.jsx)(X,{flexCenter:!0,boxShadow:r.isChecked?"0.remark":"none",border:r.isChecked?"0.trans":"3.thick",backgroundColor:r.isChecked?r.iconColor:"trans",position:"relative",transition:"middle",fontColor:"white",freeCSS:{borderRadius:"25%",padding:"4%",width:"50%",height:"50%"},children:(0,Ma.jsx)(Ne.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},mw=r=>{r=r||"checkbox";let a=s=>(s=T(v({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},s),{type:r,cellStyles:v({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},s.cellStyles)}),s.CustomIcon||(s.iconType=="radio"?s.CustomIcon=_u.RadioIcon:s.iconType=="checkbox"&&(s.CustomIcon=_u.CheckboxIcon)),s.iconSize=="small"?s.cellStyles.gap=0:s.iconSize=="large"&&(s.cellStyles.gap="1/2"),s.tone=="normal"?(s.cellStyles=v({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},s.cellStyles),s.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},s.cellCheckedStyles)):s.tone=="border"?(s.cellStyles=v({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},s.cellStyles),s.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},s.cellCheckedStyles)):s.tone=="cloud"&&(s.cellStyles=v({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},s.cellStyles),s.cellCheckedStyles=v({backgroundColor:"cloud",fontColor:"theme"},s.cellCheckedStyles)),s=To(s),s.options=_u.InitOptions(s.options),(0,Ma.jsx)(Ra,{componentID:s.componentID,children:_u.OptionalListWrapper,states:s})),o=a;return o.Normal=s=>(0,Ma.jsx)(a,v({type:r,tone:"normal",icon:!1},s)),o.Border=s=>(0,Ma.jsx)(a,v({type:r,tone:"border"},s)),o.Cloud=s=>(0,Ma.jsx)(a,v({type:r,tone:"cloud"},s)),o.Vivid=s=>(0,Ma.jsx)(a,v({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},s)),o.Simple=s=>(0,Ma.jsx)(a,v({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},s)),o},vf=mw("radio"),Rg=mw("checkbox"),_O=mw();var vw=r=>{var a,o;let s=[],l=Number((a=r==null?void 0:r.min)!=null?a:1900),f=Number((o=r==null?void 0:r.max)!=null?o:(0,Ar.Time)().addYear(10).year);for(let u=l;u<=f;u++)s.unshift({value:u,label:[u,...Ar.default.transformer.wareki(u).value].join(" -")});return s},bO=r=>{let{restrict:a,era:o="year",defaultValue:s=""}=r;r=v({},r),r.sheetID=r.sheetID||(0,Ar.UUID)();let l=(0,bc.useRef)(!1),[f,u]=(0,bc.useState)((()=>{var p,m;if(a=="clock"){let g=String(s).split(/[^\d]/);g[0]||(g=[0,0]);let b=Number(g[0]),S=Number(g[1]);return{modifiedType:"init",hour:b,minutes:S}}else if(a=="date"){let[g,b,S]=(p=String(s))==null?void 0:p.split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b)||Ar.default.is.nullish(S))&&([g,b,S]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(g),month:Number(b),date:Number(S)}}else if(a!="week"){if(a=="month"){let[g,b]=String(s).split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b))&&([g,b]=(0,Ar.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(g),month:Number(b)}}else if(a=="year"){let[g]=String(s).split(/\D/);return Ar.default.is.nullish(g)&&([g]=(0,Ar.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(g)}}else if(a=="dateWareki"){let[g,b,S]=(m=String(s))==null?void 0:m.split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b)||Ar.default.is.nullish(S))&&([g,b,S]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(g),month:Number(b),date:Number(S)}}}return{}})());(0,bc.useEffect)(()=>{if(l.current){if(f.modifiedType=="update"){let p="",m=o||"year";if(a=="clock"){let{hour:g,minutes:b}=f;p=[g.zeroEmbed(2),b.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:g,month:b,date:S}=f;p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:g,month:b}=f;p=[g,b.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:g}=f;p=String(g)}else if(a=="dateWareki"){let{year:g,month:b,date:S,era:w}=f;m=w,p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else l.current=!0},[f]);let h=T(v({},r),{val_value:f,set_value:u});return(0,Fe.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,Fe.jsx)(X,{className:Ea(a.toCapital()+"Base"),children:a=="clock"?(0,Fe.jsx)($a.Clock.index,v({},h)):a=="date"?(0,Fe.jsx)($a.Date.index,v({},h)):a=="week"?"":a=="month"?(0,Fe.jsx)($a.Month.index,v({},h)):a=="year"?(0,Fe.jsx)($a.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Fe.jsx)($a.DateWareki.index,v({},h)):(0,Fe.jsx)(Fe.Fragment,{})})})},$a={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,[h,p]=(0,bc.useState)(f.hour>12?2:1),[m,g]=(0,bc.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,bc.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:S}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(Lt,{flexType:"row",flexWrap:!1,gap:1,className:Ea("Body"),children:[(0,Fe.jsxs)(er,{className:Ea("DesignSide"),flexSizing:0,children:[(0,Fe.jsx)(X,{className:Ea("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,Fe.jsxs)(X,{className:Ea("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,Fe.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,Fe.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,Fe.jsx)(vf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{let k=f.hour%12+(w==2?12:0);p(w),u({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,Fe.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,Fe.jsx)(vf,{icon:!0,value:[m],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{g(w)}})]}),(0,Fe.jsxs)(er,{children:[(0,Fe.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,Fe.jsxs)(Lt,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,Fe.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:$a.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,Fe.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:$a.Clock.Minutes({onClick:w=>{u({modifiedType:"update",hour:f.hour,minutes:w})},min:a,max:o,unit:m})})]})]})]}),(0,Fe.jsx)($a.Variables.Footer,{sheetID:l,onValueUpdate:s})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let s=r.ampm==2?o+12:o,l=!1;{let f=Number(String(s*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(l=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));f>u&&(l=!0)}}a.push((0,Fe.jsx)(lt.Normal,{isLocked:l,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:s.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let s=o*r.unit;a.push((0,Fe.jsx)(lt.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(s)},children:s.zeroEmbed(2)},s))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,{year:h,month:p,date:m}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(gt.Separate,{flexWrap:!0,children:[(0,Fe.jsxs)(Lt,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,Fe.jsx)(rs,{override:"force",emptySelect:!1,value:h,options:vw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:g=>{u({modifiedType:"update",year:Number(g),month:p,date:m})},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})})}),(0,Fe.jsx)(rs,{override:"force",emptySelect:!1,value:p,options:(()=>{let g=[];for(let b=1;b<=12;b++)g.push({value:b,label:String(b)+"\u6708"});return g})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:g=>{u({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,Fe.jsx)($a.Variables.ShiftButtons,{callback:g=>{let b=p+g,S=h;b<=0&&(S--,b=12),b>12&&(S++,b=1),u({modifiedType:"update",year:S,month:b,date:f.date})}})]}),(0,Fe.jsx)(X,{borderTop:!0}),(0,Fe.jsx)(X,{children:$a.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:g=>{let[b,S,w]=g;u({modifiedType:"update",year:b,month:S,date:w})}})}),(0,Fe.jsx)($a.Variables.Footer,{sheetID:l,onValueUpdate:s})]})},MonthCalendar:r=>{let{min:a,max:o,year:s,month:l,current:f,callback:u}=r,h=(0,Ar.Time)(),p=(0,Ar.Time)([s,l.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Ar.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],w=[],k=[],L={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var N=0;N<7;N++)b.push((0,Fe.jsx)(X,T(v({className:[Ea("CalendarDay"),Ea("Legend")].join(" ")},L),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][N]}),N));for(var N=0;N<p.weekday;N++)S.unshift((0,gO.createElement)(X,T(v({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},L),{key:N}),g-N));for(var N=1;N<=m.date;N++){let M=N,j=s==h.year&&l==h.month&&N==h.date,F=!1;{let Z=Number(String([s,l.zeroEmbed(2),N.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Z&&(F=!0),r.max){let O=Number(String(r.max).replace(/\D/ig,""));Z>O&&(F=!0)}}w.push((0,Fe.jsx)(lt.Clear,T(v({className:[Ea("CalendarDay"),Ea("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([s,l,M])},tabIndex:-1,isLocked:F,children:N}),M))}for(var N=1;N<7-m.weekday;N++)k.push((0,Fe.jsx)(X,T(v({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},L),{children:N}),N));return(0,Fe.jsxs)(Wd,{gridCols:7,gap:"1/6",children:[b,S,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,{year:h,month:p}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(gt.Separate,{gap:0,children:[(0,Fe.jsx)(gt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,Fe.jsx)(rs,{emptySelect:!1,value:h,options:vw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:m=>{u({modifiedType:"update",year:Number(m),month:p})}})}),(0,Fe.jsx)($a.Variables.ShiftButtons,{callback:m=>{let g=Math.min(Math.max(h+m,1900),2100);u({modifiedType:"update",year:g,month:p})}})]}),(0,Fe.jsx)(X,{borderTop:!0}),$a.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[g,b]=m;u({modifiedType:"update",year:g,month:b})}}),(0,Fe.jsx)($a.Variables.Footer,{sheetID:l,onValueUpdate:s})]})},Months:r=>{let{year:a,callback:o}=r,s=(0,Ar.Time)(),l=[];for(let f=1;f<=12;f++){let u=a==s.year&&f==s.month,h=!1;{let m=Number(String([a,f.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>m&&(h=!0),r.max){let g=Number(String(r.max).replace(/\D/ig,""));m>g&&(h=!0)}}let p=[Ea("Cell"),u?Ea("isThisMonth"):""].join(" ");l.push((0,Fe.jsxs)(lt.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,f])},children:[f," \u6708"]},a+"-"+f))}return(0,Fe.jsx)(Wd,{gridCols:4,gap:"2/3",children:l})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,{year:h}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsx)(rs,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Ar.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:vw({min:a,max:o}),onUpdateValidValue:p=>{u({modifiedType:"update",year:Number(p)})}}),(0,Fe.jsx)($a.Variables.Footer,{sheetID:l,onValueUpdate:s,onSubmit:()=>{u({modifiedType:"update",year:Number(h||(0,Ar.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,{era:h,year:p,month:m,date:g}=f,b={val_value:f,set_value:u};return(0,Fe.jsxs)(X,{children:[(0,Fe.jsxs)(gt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,Fe.jsx)($a.DateWareki.EraSelect,v({},b)),(0,Fe.jsx)(X,{borderRight:!0}),(0,Fe.jsx)($a.DateWareki.Calendar,v({},b))]}),(0,Fe.jsx)(gt.Right,{padding:1,children:(0,Fe.jsx)($a.Variables.Footer,{sheetID:l,onValueUpdate:s})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,s={padding:["1/2",1.5],fontColor:"3.blur"},l={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,Fe.jsxs)(er,{padding:1,gap:0,children:[(0,Fe.jsx)(lt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="year",onClick:()=>{let f=(0,Ar.Time)();o({modifiedType:"update",era:"year",year:f.year,month:f.month,date:f.date})},children:"\u897F\u66A6"})),(0,Fe.jsx)(lt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="reiwa",onClick:()=>{let f=(0,Ar.Time)();o({modifiedType:"update",era:"reiwa",year:f.year,month:f.month,date:f.date})},children:"\u4EE4\u548C"})),(0,Fe.jsx)(lt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,Fe.jsx)(lt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,Fe.jsx)(lt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,Fe.jsx)(lt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="meiji",onClick:()=>{o({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"}))]})},Calendar:r=>{let{val_value:a,set_value:o}=r,s=[];if(a.era=="year"){let l=(0,Ar.Time)().year+10;for(let f=1900;f<l;f++)s.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let l=(0,Ar.Time)().year-2018;for(let f=1;f<=l+10;f++)s.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\u5E74"})}else if(a.era=="heisei")for(let l=1;l<=31;l++)s.unshift({value:1989+l-1,label:"\u5E73\u6210"+(l==1?"\u5143":l)+"\u5E74"});else if(a.era=="shouwa")for(let l=1;l<=64;l++)s.unshift({value:1926+l-1,label:"\u662D\u548C"+(l==1?"\u5143":l)+"\u5E74"});else if(a.era=="taisho")for(let l=1;l<=15;l++)s.unshift({value:1912+l-1,label:"\u5927\u6B63"+(l==1?"\u5143":l)+"\u5E74"});else if(a.era=="meiji")for(let l=1;l<=45;l++)s.unshift({value:1868+l-1,label:"\u660E\u6CBB"+(l==1?"\u5143":l)+"\u5E74"});return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(gt.Separate,{children:[(0,Fe.jsx)(rs,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),options:s,value:a.year,onUpdateValidValue:l=>{o(f=>T(v({},f),{modifiedType:"update",year:Number(l)}))}}),(0,Fe.jsxs)(gt.Center,{gap:"1/3",children:[(0,Fe.jsx)(rs,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:l=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(l),date:1})}}),(0,Fe.jsx)(lt.Clear.S,{ssSphere:2.5,onClick:()=>{let l=a.month-1;o({modifiedType:"update",era:a.era,year:l==0?a.year-1:a.year,month:l==0?12:l,date:1})},children:(0,Fe.jsx)(Ne.ChevronLeft,{})}),(0,Fe.jsx)(lt.Clear.S,{ssSphere:2.5,onClick:()=>{let l=a.month+1;o({modifiedType:"update",era:a.era,year:l==13?a.year+1:a.year,month:l==13?1:l,date:1})},children:(0,Fe.jsx)(Ne.ChevronRight,{})})]})]}),(0,Fe.jsx)($a.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,s=(0,Ar.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!s.validate)return;let l=s.getFirstDayOfTheMonth().weekday,f=s.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,Fe.jsx)(or.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Ar.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<l;p++){let m=(0,Ar.Time)(s).getFirstDayOfTheMonth().addDate(p-l);u.push((0,Fe.jsx)(lt.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"lastMonth-"+p))}let h=(0,Ar.Time)();for(let p=1;p<=f.date;p++){let m=(0,Ar.Time)(s).setDate(p),g=h.diff(m).dates==0;u.push((0,Fe.jsx)(lt.Clear,{ssSquare:3,fontColor:"2.normal",className:[Ea("CalendarDay"),Ea("isToday_"+g)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"currentMonth-"+p))}for(let p=0;p<7-f.weekday-1;p++){let m=(0,Ar.Time)(s).addMonth(1).setDate(1).addDate(p);u.push((0,Fe.jsx)(lt.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"nextMonth-"+p))}return(0,Fe.jsx)(Wd,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,Fe.jsxs)(Lt,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,Fe.jsxs)(lt.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,Fe.jsx)(Ne.Times,{})," \u524A\u9664"]}),(0,Fe.jsx)(lt.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),sr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Fe.jsxs)(Lt,{gap:"1/3",flexWrap:!1,children:[(0,Fe.jsx)(lt.Clear,T(v({className:Ea("LeftButton"),tabIndex:-1,right:0},$a.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,Fe.jsx)(Ne.ChevronLeft,{})})),(0,Fe.jsx)(lt.Clear,T(v({className:Ea("RightButton"),tabIndex:-1,left:0},$a.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,Fe.jsx)(Ne.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var gf=" ~ ",x$={clock:{defaultValue:"--:--",format:/^\d{2}\D\d{2}$/,ranges:[{type:"hour",from:0,length:2},{type:"minute",from:3,length:2}],sets:1},date:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2}],sets:1},week:{defaultValue:"----\u5E74\u7B2C--\u9031",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4,region:6},{type:"week",from:6,length:2,region:3}],sets:1},month:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:3}],sets:1},year:{defaultValue:"----\u5E74",format:/^\d{4}$/,ranges:[{type:"year",from:0,length:4,region:5}],sets:1},dates:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2,region:5},{type:"year",from:10+gf.length,length:4},{type:"month",from:15+gf.length,length:2},{type:"date",from:18+gf.length,length:2}],sets:2},months:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:6},{type:"year",from:8+gf.length,length:4},{type:"month",from:13+gf.length,length:2,region:3}],sets:2},dateWareki:{defaultValue:"----\u5E74--\u6708--\u65E5",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"dateWareki",from:0,length:4,region:5},{type:"month",from:5,length:2,region:3},{type:"date",from:8,length:2,region:3}],sets:1}},_f={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:s}=r,l=vn.default.flatArray(o||""),{defaultValue:f,format:u,ranges:h,sets:p}=x$[a],m=[],g=a=="clock"?":":"/";for(let b=0;b<l.length;b++)l[b]=String(l[b]).replace(/\D/ig,g);for(let b=0;b<p;b++){let S=l[b]||"";if(!S.match(u))l[b]="",m.push(f);else{let w=f;S.split(/\D/).forEach((k,L)=>{if(L==0&&a=="dateWareki"){let N=Number(k);s!="year"&&(N>=2019?s=="reiwa"?N-=2018:s=="heisei"&&(N=31):N>=1989?s=="heisei"?N-=1988:s=="shouwa"&&(N=64):N>=1926?s=="shouwa"?N-=1925:s=="taisho"&&(N=15):N>=1912?s=="taisho"?N-=1911:s=="meiji"&&(N=45):N>=1868&&(N-=1867)),k=N.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(w)}}return{formatValue:m.join(gf),dataValue:["dates","months"].includes(a)?l:l[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:s,max:l,required:f}=a,u=[],h=vn.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let m=o=="clock"?":":"/";for(let g=0;g<h.length;g++)h[g]=String(h[g]).replace(/\D/ig,m);for(let g=0;g<h.length;g++){let b=h[g],S=h[g-1];b.removeLetters()||(p.empty=!0),g>0&&(p.escalated&=+(b>=S))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:(Number(b)>23||Number(S)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(g=>{let[b,S,w]=g.split(/\D+/);if(!b||!S||!w)p.filled=!1;else{let k=_m.Time(g);(!k.validate||g!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);if(!b||!S)p.filled=!1;else{let w=_m.Time(b+"/01/01").weekday,k=_m.Time(b+"/01/0"+(7-w+1)).addWeek(Number(S)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:_m.Time([b,S,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(g=>{{let b=Number(String(g).replace(/\D/ig,""));if(s&&Number(String(s).replace(/\D/ig,""))>b&&(p.prohibited=!0),l){let S=Number(String(l).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:S,prohibited:w}=p;m&&f&&(u=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),g||u.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),S||u.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||u.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&u.push({type:"invalid",label:(0,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)(X,{children:"\u5165\u529B\u7BC4\u56F2\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059"}),"[",s||"\u4E0B\u9650\u7121\u3057","] ~ [",l||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!u.filter(({type:m})=>m=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:s,val_status:l,set_status:f,val_focus:u,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:g,metaKey:b}=s,S=g||b,{selectionStart:w,selectionEnd:k}=s.target,{index:L,prevIndex:N}=u,{ranges:Y,formatValue:M}=l,j=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Z=+!m*2-1;if(F=u.index+Z,F<0||F>j)return}else{let Z=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||w==0&&k==String(l.formatValue).length?F=Z==1?j:0:F=Math.max(0,Math.min(L+Z,j))}h(Z=>T(v({},Z),{index:F,prevIndex:L})),s.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){s.preventDefault();let F=L;F=Math.max(F,0),F=Math.min(F,j);let{type:Z,from:O,length:ae}=Y[F],ge=M.slice(O,O+ae),ee;if(p=="Backspace")ee="------".slice(0,ae);else if(["ArrowUp","ArrowDown"].includes(p)){let ye=p=="ArrowUp"?1:-1;ge=ge|0,ee=ge+ye;let[be,he,H]=Z=="dateWareki"?a=="year"?[0,2999,4]:a=="reiwa"?[1,2999,4]:a=="heisei"?[1,31,4]:a=="shouwa"?[1,64,4]:a=="taisho"?[1,15,4]:a=="meiji"?[1,45,4]:[0,0,0]:Z=="minute"?[0,59,2]:Z=="hour"?[0,23,2]:Z=="date"?[1,31,2]:Z=="week"?[1,53,2]:Z=="month"?[1,12,2]:Z=="year"?[0,2999,4]:[0,0,0];ee>he?ee=be:ee<be&&(ee=he),ee=Number(ee).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let ye=ge|0,be=p,he=`${ye}${be}`;if(N!=L&&(ye=0,he="0"+be),Z=="year"||Z=="dateWareki"&&a=="year")Number(he)>1e4?ee=be:ee=he,(ee|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Z)||Z=="dateWareki"&&a!="year"){let H=Z=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Z=="minute"?59:Z=="hour"?23:Z=="date"?31:Z=="week"?53:Z=="month"?12:0;ee=(he|0)>H?be:he,(Number(be)>Number(String(H)[0])||ge=="0000".slice(0,String(H).length)&&(he!="0000".slice(0,String(H).length)||["minute","hour"].includes(Z)&&N==L)||(he|0)>=c5(10,String(H).length-1))&&F++}Z=="year"||Z=="dateWareki"?ee=(ee|0).zeroEmbed(4):ee=(ee|0).zeroEmbed(2)}{let ye=String(M).partReplace(O,String(ee)),be=ye.split(gf).map(he=>he.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let he=be[0].split(/\D/),[H,le,de]=he;he.length==3&&H&&(be=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,de].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(he=>T(v({},he),{dataValue:["dates","months"].includes(o)?be:be[0],formatValue:ye,eventType:"update",eventID:(0,vn.UUID)()})),h(he=>T(v({},he),{index:F,prevIndex:he.index}))}}}},wO={picker:{launch:r=>{let a=r.sheetID||(0,vn.UUID)(),o=r,{onValueUpdate:s,min:l,max:f,era:u,restrict:h,defaultValue:p}=o,m=$e(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);sr.open(T(v({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(gt.Center,{children:(0,ta.jsx)(bO,{restrict:h,min:l,max:f,era:u,defaultValue:p,sheetID:a,onValueUpdate:(g,b)=>{s(g,b)}})})}))},remove:r=>{Oa.close(r)}}},k$={Shallow:r=>{let{rootStates:a,val_status:o}=r,s=Ol(a);return(0,ta.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ta.jsx)(or.Description,T(v({className:a.className},s),{position:"absolute",width:1,freeCSS:T(v({},s.freeCSS),{color:"orange"}),children:(0,ta.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},T$=r=>{let a=r,{tone:o,required:s,restrict:l="clock",componentID:f,era:u,form:h,name:p,min:m,max:g,className:b,enableFormSubmit:S,checkValidationAtFirst:w,onKeyDown:k,onValidate:L,onUpdateValue:N,onUpdateValidValue:Y,value:M="",leftIndicator:j,rightIndicator:F,leftIcon:Z,rightIcon:O,freeCSS:ae,wrapStyles:ge}=a,ee=$e(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[ye,be]=(0,Do.useState)(u),[he,H]=(0,Do.useState)(T(v({componentID:r.componentID||""},_f.DataLeveling({restrict:l,value:M,era:ye})),{eventType:"init",eventID:(0,vn.UUID)()})),[le,de]=(0,Do.useState)({ok:!1,notice:[]}),[B,W]=(0,Do.useState)({active:!1,index:0,prevIndex:-1}),ie={rootStates:r,val_status:he,set_status:H,val_validate:le,set_validate:de,val_era:ye,set_era:be,val_focus:B,set_focus:W};jt.CommonEffects({type:"time",states:r,val_status:he,set_status:H,val_validate:le,set_validate:de,SystemValidation:_f.SystemValidation,ExtraOverrideStates:v({},_f.DataLeveling({restrict:l,value:M,era:ye}))});let te=(0,Do.useRef)(!1);return(0,Do.useEffect)(()=>{if(te.current){H(we=>v(v({},we),_f.DataLeveling({restrict:l,value:we.dataValue,era:ye})));let se=vn.useStore.get("refreshEra_"+he.componentID);se&&se.refreshEra(ye)}else te.current=!0},[ye]),vn.useStore.update({[he.componentID]:{openPicker:se=>{r.disabled||wO.picker.launch({parent:se,sheetID:"PickerTips-"+he.componentID,restrict:l,min:m,max:g,defaultValue:he.dataValue,era:ye,onValueUpdate:(we,Se)=>{H(je=>T(v(v({},je),_f.DataLeveling({restrict:l,value:we,era:Se})),{eventType:"update",eventID:(0,vn.UUID)()})),be(Se)}})},resetEra:se=>{be(se),H(we=>T(v(v({},we),_f.DataLeveling({restrict:l,value:"",era:ye})),{eventType:"update",eventID:(0,vn.UUID)()}))}}}),(0,Do.useEffect)(()=>{let{index:se,active:we}=B;if(we){se=Math.max(se,0),se=Math.min(se,he.ranges.length-1);let{from:Se,length:je}=he.ranges[se],Ye=vt("#"+r.id)[0];Ye&&Ye.setSelectionRange(Se,Se+je)}},[B]),(0,ta.jsxs)(ja,{val_status:he,set_status:H,val_validate:le,states:r,children:[(0,ta.jsx)(k$.Shallow,v({},ie)),(0,ta.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),ht.get().isTouchDevice?(0,ta.jsx)(lt.Plain,T(v({"data-show-validation":jt.isShowValidation(le,he,!!w),"data-component-id":he.componentID,"data-input-origin":he.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},ee),{children:he.formatValue,onClick:se=>{let we=vn.useStore.get(he.componentID);we&&we.openPicker(`[data-input-origin="${he.componentID}"]`),se.stopPropagation()}})):(0,ta.jsx)(X,v({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":jt.isShowValidation(le,he,!!w),"data-input-origin":he.componentID,"data-disabled":r.disabled,value:he.formatValue,className:b,tabIndex:ht.get().isTouchDevice?-1:0,onKeyDown:se=>{_f.KeyDownEvent({restrict:l,event:se,val_era:ye,val_status:he,set_status:H,val_focus:B,set_focus:W}),k&&k(se),S&&jt.SubmitForm(se,h)},onKeyUp:se=>{se.key=="Tab"&&W(we=>T(v({},we),{active:!0}))},onClick:se=>{let we=se.target.selectionEnd,Se=0;he.ranges.forEach((je,Ye)=>{let{from:Ge,length:rt,region:et}=je;Ge<=we&&we<=Ge+(et||rt)&&(Se=Ye)}),W(je=>T(v({},je),{active:!0,index:Se})),se.preventDefault()},onChange:()=>{}},ee))]})},Os={Origin:r=>{let a=v({fontSize:"inherit",width:1},r),[o]=(0,Do.useState)(r.componentID||(0,vn.UUID)());if(a.componentID=o,vn.default.is.nullish(a.rightIcon)){let s=(r.restrict||"").match(/clock/)?yO.faClock:SO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(Fa,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ta.jsx)(lt.Sub,{color:"cloud",border:"unset",ssSphere:2,fontColor:"theme",boxShadow:"0.normal",borderRadius:"3.tone.tertiary",flexCenter:!0,ssEffectsOnActive:"push",tabIndex:-1,id:"Picker-"+a.componentID,onClick:()=>{let l=vn.useStore.get(a.componentID);l&&l.openPicker("#Picker-"+a.componentID)},children:(0,ta.jsx)(Ne,{icon:s})})})}return(0,ta.jsx)(Ra,{componentID:a.componentID,children:T$,states:Vn(a)})},Clock:r=>(0,ta.jsx)(Os.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,ta.jsx)(Os.Origin,v({restrict:"date"},r)),Week:r=>(0,ta.jsx)(Os.Origin,v({restrict:"week"},r)),Month:r=>(0,ta.jsx)(Os.Origin,v({restrict:"month"},r)),Year:r=>(0,ta.jsx)(Os.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Do.useState)(r.componentID||(0,vn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[s,l]=(0,Do.useState)((()=>{let f="year";if(o=="wareki"&&(f="reiwa",r.value)){let[u,h,p]=r.value.split(/\D/);if(u&&h&&p){let m=Number(u);m>=2019?(m-=2019,f="reiwa"):m>=1989?(m-=1989,f="heisei"):m>=1926?(m-=1926,f="shouwa"):m>=1912?(m-=1912,f="taisho"):m>=1868&&(m-=1868,f="meiji"),m+=1}}return f})());return(0,Do.useEffect)(()=>{vn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{l(f)}}})},[]),(0,ta.jsx)(Os.Origin,T(v({restrict:"dateWareki",leftIndicator:(0,ta.jsx)(rs,{label:"\u5143\u53F7",emptySelect:!1,value:s,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:f=>{l(f);let u=vn.useStore.get(r.componentID);u&&u.resetEra&&u.resetEra(f)}})},r),{era:s}))},Periods:{Date:r=>(0,ta.jsx)(Os.Origin,v({restrict:"dates"},r)),Month:r=>(0,ta.jsx)(Os.Origin,v({restrict:"months"},r))},fn:wO};var Qt=K(At()),Ha=K(fr()),Mr=K(ar());var Sf=K(At()),Zd=K(ar());var bf=K(At()),Dg=K(ar());var yf=K(fr());var Qd=r=>{let a=r,{color:o="theme",size:s="R",showInitial:l=!1,loaderID:f=""}=a,u=$e(a,["color","size","showInitial","loaderID"]),[h]=(0,yf.useState)(f),[p]=(0,yf.useState)((0,Dg.UUID)()),[m,g]=(0,yf.useState)(l),b=0;s=="S"?b=1:s=="R"?b=1.5:s=="L"?b=3:s=="XL"?b=4:s=="MAX"&&(b=6);let S={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,yf.useEffect)(()=>{let w=vt('[data-component-id="'+p+'"]');m?w.removeClass(Ta("Hide")).await(10).addClass(Ta("Active")):w.removeClass(Ta("Active")).await(210).addClass(Ta("Hide"))},[m]),(0,yf.useEffect)(()=>{Dg.useStore.set({[p]:{active:w=>{h==w&&g(!0)},stop:w=>{h==w&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,bf.jsxs)(gt.Center,T(v({className:[Ta("MiniLoader"),Ta(l?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},u),{children:[(0,bf.jsx)("svg",{className:Ta("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,bf.jsx)("svg",{className:Ta("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var as=K(At()),CO=K(ar());var Ag=K(fr());var xO=()=>{let[r,a]=(0,Ag.useState)(!1);return(0,Ag.useEffect)(()=>{CO.useStore.set({["Loader-corner-"+ht.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,as.jsx)(Lt,{className:[Ta("CornerLoader"),r?Ta("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"3.tone.tertiary",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",bottom:1,right:1,opacity:"trans",transition:"middle",freeCSS:{zIndex:10,pointerEvents:"none"},children:(0,as.jsxs)(Lt,{className:Ta("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,as.jsx)(X,{className:Ta("Ld4")}),(0,as.jsx)(X,{className:Ta("Ld3")}),(0,as.jsx)(X,{className:Ta("Ld2")}),(0,as.jsx)(X,{className:Ta("Ld1")}),(0,as.jsx)(X,{className:Ta("Ld2")}),(0,as.jsx)(X,{className:Ta("Ld3")}),(0,as.jsx)(X,{className:Ta("Ld4")})]})})};var Jd=r=>{let a=r.color;return{S:o=>(0,Sf.jsx)(Qd,v({size:"S",color:a},o)),R:o=>(0,Sf.jsx)(Qd,v({size:"R",color:a},o)),L:o=>(0,Sf.jsx)(Qd,v({size:"L",color:a},o)),XL:o=>(0,Sf.jsx)(Qd,v({size:"XL",color:a},o)),MAX:o=>(0,Sf.jsx)(Qd,v({size:"MAX",color:a},o))}},Ao={Wrapper:()=>(0,Sf.jsx)(xO,{}),Theme:Jd({color:"theme"}),Posi:Jd({color:"posi"}),Nega:Jd({color:"nega"}),Warn:Jd({color:"warn"}),White:Jd({color:"white"}),Cloud:Jd({color:"cloud"}),fn:{corner:{active:()=>{let r=Zd.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Zd.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{vt("."+Ta("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let s=Zd.useStore.get(o);s&&s.active&&s.active(r)})},stop:(r="")=>{vt("."+Ta("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let s=Zd.useStore.get(o);s&&s.stop&&s.stop(r)})},stopALL:()=>{vt("."+Ta("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=Zd.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Ao.fn.corner.stop(),Ao.fn.mini.stopALL()}}};function E$(r){let{value:a,states:o}=r,{required:s,options:l,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.filter(m=>m!==null).length;return s&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var ep={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:s,label:l,value:f,searchValue:u}=o,h=u||(Mr.default.is.string(l)?l:"")||(Mr.default.is.string(f)?f:"");Mr.default.is.nullish(l)&&(l=String(f)),a.push(T(v({},o),{searchValue:h,type:s||"selector",label:l,value:f}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(s=>s.type!="label")),r.val_keyword){let s=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(l=>(l.searchValue||"").toLower().replace(/ /g,"").includes(s))}return o}},tp={Shallow:r=>{let{rootStates:a,val_status:o}=r,s=Ol(a);return(0,Qt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Qt.jsx)(or.Description,T(v({className:a.className},s),{position:"absolute",width:1,freeCSS:T(v({},s.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Qt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:s,val_optionFocused:l,set_optionFocused:f,val_options:u,set_options:h,val_optionsDict:p,set_optionsDict:m,val_preventOpenSelectorOnFocus:g,set_preventOpenSelectorOnFocus:b,val_selectorOpen:S,set_selectorOpen:w,val_status:k,set_status:L,val_validate:N,set_validate:Y}=r,M=a,{tone:j,required:F,form:Z,className:O,multiSelect:ae,enableFormSubmit:ge,checkValidationAtFirst:ee,onValidate:ye,onUpdateValue:be,onUpdateValidValue:he,value:H="",options:le,leftIndicator:de,rightIndicator:B,leftIcon:W,rightIcon:ie,componentID:te,status_id:se,wrapStyles:we,emptySelect:Se,SearchInput:je,SearchInputPlaceholder:Ye,SelectedComponent:Ge,SelectorComponent:rt,SelectorStyles:et,SelectorPosition:Nt,DynamicOptionsOnSearch:$t}=M,dt=$e(M,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,Ha.useEffect)(()=>{var Xe,ke;if(a.disabled||!S)return;let ot=ep.FilterSelectableOptions(r);f((ke=(Xe=ot[0])==null?void 0:Xe.value)!=null?ke:null)},[o]),(0,Ha.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let Xe=(0,Mr.default)('[data-input-origin="'+a.componentID+'"]');Xe&&Xe.focus()},10)):(0,Mr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,Ha.useEffect)(()=>{let Xe="autocomplete-click-"+a.componentID;if(S){if(!(0,Mr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Mr.default)("#SearchInput_"+a.componentID).focus(),(0,Mr.default)(document).addEvent({eventID:Xe,eventType:"mousedown",callback:ke=>{let ot=(0,Mr.default)(ke.target),kt=!!(0,Mr.default)(ot).parent("."+Rl("Core")).length,Tt=!!(0,Mr.default)(ot).parent("."+Rl("Selector")).length;kt||Tt||(w(!1),ke.preventDefault(),ke.stopPropagation())}})}else(0,Mr.default)(document).removeEvent([Xe]),s("")},[S]),(0,Qt.jsxs)(Qt.Fragment,{children:[(0,Qt.jsx)(X,T(v({tabIndex:0},dt),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(N,k,!!ee),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[O,Rl("Core")].join(" "),onFocus:Xe=>{if(dt!=null&&dt.onFocus&&(dt==null||dt.onFocus(Xe)),!a.disabled){if(g)return b(!1);w(!0),Xe.preventDefault()}},onClick:Xe=>{dt!=null&&dt.onClick&&(dt==null||dt.onClick(Xe)),!a.disabled&&w(!0)},onKeyDown:Xe=>{let{key:ke}=Xe;ge&&jt.SubmitForm(Xe,Z),!S&&(ke==" "||ke=="ArrowDown"||ke=="ArrowUp"||ke=="Enter")&&w(!0)},children:(0,Qt.jsxs)(gt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Qt.jsx)(tp.Selected,v({},r)),(0,Qt.jsx)(Cn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Qt.jsx)(tp.SearchInput,v({},r))]})})),S&&(0,Qt.jsx)(tp.Selector,v({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,s]=(0,Ha.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Qt.jsx)(X,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans",transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onCompositionStart:l=>{a.onCompositionStart&&a.onCompositionStart(l),s(!0)},onCompositionEnd:l=>{a.onCompositionEnd&&a.onCompositionEnd(l),s(!1)},onKeyDown:l=>{let{key:f,metaKey:u,ctrlKey:h}=l,p=u||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,Mr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?Mr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(l.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?Mr.default.scope(()=>{if(r.val_keyword)return;let m=[...r.val_status.dataValue];m.pop(),r.set_status(g=>T(v({},g),{dataValue:m,eventType:"update",eventID:(0,Mr.UUID)()}))}):f=="Enter"&&Mr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=r.val_options.find(b=>b.value==r.val_optionFocused);if(!m)return;let{value:g}=m;r.set_status(b=>{let S=[...b.dataValue];return Mr.default.scope(()=>{if(g===null)return S=[];b.dataValue.includes(g)?S=S.filter(w=>w!==g):a.multiSelect?S.push(g):S=[g]}),T(v({},b),{dataValue:S,eventType:"update",eventID:(0,Mr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),Mr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(l.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,g=ep.FilterSelectableOptions(r),b=g.length-1,S=null;Mr.default.scope(()=>{var w,k,L,N,Y,M,j,F,Z,O;let ae=g.findIndex(ge=>ge.value==r.val_optionFocused);if(ae==-1&&(ae=0),m==1){if(S=(k=(w=g[0])==null?void 0:w.value)!=null?k:null,p){S=(L=g[b].value)!=null?L:null;return}if(ae==-1||ae==b)return;S=(Y=(N=g[ae+1])==null?void 0:N.value)!=null?Y:null}else{if(S=(M=g[b].value)!=null?M:null,p){S=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(ae==-1||ae==0)return;S=(O=(Z=g[ae-1])==null?void 0:Z.value)!=null?O:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&jt.SubmitForm(l,r.rootStates.form)},onChange:l=>{let f=l.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,s]=(0,Ha.useState)("idle"),[l,f]=(0,Ha.useState)("idle");(0,Ha.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return s("ok");f("fetch");let g="autocomplete-search-"+r.rootStates.componentID;Mr.default.interval.once(()=>La(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let S=ep.InitOptions(b||[]);r.set_options(S)}),300,g)},[r.val_keyword]);let u=[],h=ep.FilterSelectableOptions(r,!0),p=ep.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:S,value:w}=g,k=r.val_optionFocused==w,L=r.val_status.dataValue.includes(w),N=r.rootStates.SelectorComponent;u.push((0,Qt.jsx)(N,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let M=[...Y.dataValue];return Mr.default.scope(()=>{if(w===null)return M=[];Y.dataValue.includes(w)?M=M.filter(j=>j!==w):r.rootStates.multiSelect?M.push(w):M=[w]}),T(v({},Y),{dataValue:M,eventType:"update",eventID:(0,Mr.UUID)()})})}},Mr.default.Stringify(w)||(0,Mr.UUID)()))}),p.length||(u=[(0,Qt.jsx)(or.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),l=="fetch"&&(u=[(0,Qt.jsxs)(gt.Left,{padding:1,fontColor:"3.blur",children:[(0,Qt.jsx)(Ao.Theme.R,{showInitial:!0}),(0,Qt.jsx)(or.Supplement,{children:"Loading..."})]},"loader")]);let m={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:m.bottom="100%",m.left=0,m.paddingBottom="1/3";break;case 2:m.bottom="100%",m.right=0,m.paddingBottom="1/3";break;case 3:m.top="100%",m.left=0,m.paddingTop="1/3";break;case 4:m.top="100%",m.right=0,m.paddingTop="1/3";break;default:break}return(0,Qt.jsx)(X,T(v({},m),{children:(0,Qt.jsx)(sr.Body,T(v({className:Rl("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Qt.jsx)(er,{gap:"1/12",padding:[1,0],children:u})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:s,val_optionsDict:l}=r,f=[];return o.dataValue.forEach(u=>{let h=l[Mr.default.Stringify(u)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Qt.jsx)(X,{className:Rl("SelectedCell"),children:(0,Qt.jsx)(p,{value:h.value,label:m,removeCallback:g=>{if(g.stopPropagation(),g.preventDefault(),a.disabled)return;let b=[...o.dataValue];b=b.filter(S=>S!==u),s(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Mr.UUID)()}))}})},Mr.default.Stringify(h.value)))}),(0,Qt.jsx)(Qt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[s,l]=(0,Ha.useState)(!1),[f,u]=(0,Ha.useState)(!1),[h,p]=(0,Ha.useState)(!1),[m,g]=(0,Ha.useState)(""),[b,S]=(0,Ha.useState)(r.options),[w,k]=(0,Ha.useState)((a=r.value[0])!=null?a:null),[L,N]=(0,Ha.useState)({}),[Y,M]=(0,Ha.useState)(jt.DefaultStatus(r.componentID,o)),[j,F]=(0,Ha.useState)({ok:!1,notice:[]}),Z=(0,Ha.useRef)(!1);(0,Ha.useEffect)(()=>{Z.current?S(r.options):Z.current=!0},[r.options]),(0,Ha.useEffect)(()=>{if(!b.length)return;let ee=[...b],ye=v({},L);ee.forEach(be=>{be.type!="label"&&(ye[Mr.default.Stringify(be.value)]=be)}),N(ye)},[b]);let O={rootStates:r,val_options:b,set_options:S,val_optionFocused:w,set_optionFocused:k,val_optionsDict:L,set_optionsDict:N,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:u,val_preventOpenSelectorOnFocus:s,set_preventOpenSelectorOnFocus:l,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:g,val_status:Y,set_status:M,val_validate:j,set_validate:F},ae=!!r.multiSelect;jt.CommonEffects({type:ae?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:M,val_validate:j,set_validate:F,SystemValidation:E$});let ge=Y.dataValue.length&&Y.dataValue[0]!==null;return ge=ge||h,(0,Qt.jsxs)(ja,{val_status:Y,set_status:M,val_validate:j,states:r,children:[(0,Qt.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:ge}),(0,Qt.jsx)(tp.Shallow,v({},O)),(0,Qt.jsx)(tp.Button,v({},O))]})}},Lg=r=>{var a;let o=v({},r);return o=T(v({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:s,isSelected:l,isFocused:f,addCallback:u})=>s.type=="selector"?(0,Qt.jsx)(lt.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:f,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{u()},children:(0,Qt.jsxs)(gt.Left,{gap:"1/2",children:[l&&(0,Qt.jsx)(Ne.Check,{fontColor:"theme"}),(0,Qt.jsx)(or.Supplement,{transition:"short",children:s.label})]})}):(0,Qt.jsx)(Qt.Fragment,{children:s.label}),SelectedComponent:({value:s,label:l,removeCallback:f})=>(0,Qt.jsxs)(gt.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Qt.jsx)(X,{padding:[0,"1/4"],children:l}),(0,Qt.jsx)(lt.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:f,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,Qt.jsx)(Ne.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,Qt.jsx)(or.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=Mr.default.flatArray((a=o.value)!=null?a:null),o.options=ep.InitOptions(o.options),Mr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Qt.jsx)(Fa,{ssSphere:2,children:(0,Qt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Qt.jsx)(Fa,{ssSphere:2,fontColor:"5.translucent",children:(0,Qt.jsx)(Ne.Ban,{})}))),o.rightIcon&&(o=v({paddingRight:3},o)),o.leftIcon&&(o=v({paddingLeft:3},o)),(0,Qt.jsx)(Ra,{componentID:o.componentID,children:tp.Core,states:Vn(o)})};var wf=K(At());var kO=r=>(0,wf.jsx)(Lg,v({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wf.jsx)(wf.Fragment,{children:o}),rightIcon:(0,wf.jsx)(Fa,{ssSphere:2,children:(0,wf.jsx)(Ne.AngleDown,{})})},r));var Cr=K(At()),Cf=K(fr()),Pl=K(ar());var Lo=K(At()),TO=K(fr()),mo=K(ar());var yc=K(fr());var ns={add:function(r){let a=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Lo.jsx)(EO.Wrapper,{})},EO={Cell:r=>{let a=r,{snackID:o,secondsToClose:s,componentID:l=(0,mo.UUID)(),children:f,customChildren:u}=a,h=$e(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,yc.useState)(l),[m,g]=(0,yc.useState)(r.secondsToClose||10);(0,yc.useEffect)(()=>{let S=vt('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(im("FadeIn"))},10),mo.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(im("FadeOut"))}}})},[]),(0,yc.useEffect)(()=>{mo.default.interval.once(()=>{m<=0||g(m-1)},1e3,"Snackbar-"+p),m===0&&ns.remove(o)},[m]);let b=(0,Lo.jsx)(Lo.Fragment,{});return u?b=(0,Lo.jsx)(u,{close:()=>{ns.remove(o)}}):b=(0,Lo.jsxs)(gt.Separate,{verticalAlign:"top",children:[(0,Lo.jsx)(X,{padding:["1/4",0],flexSizing:0,children:mo.default.is.function(f)?(0,Lo.jsx)(f,{}):f}),(0,Lo.jsx)(lt.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{ns.remove(o)},children:(0,Lo.jsx)(Ne.Times,{})})]}),(0,Lo.jsx)(X,T(v({className:im("Cell"),componentID:p,onMouseOver:()=>{g(-1)},onMouseOut:()=>{g(s||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:b}))},Wrapper:()=>{let[r,a]=(0,yc.useState)((0,mo.UUID)()),[o,s]=(0,yc.useState)([]);(0,yc.useEffect)(()=>{mo.useStore.set({["Snackbar-"+ht.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,mo.UUID)();let u=o.findIndex(h=>h.snackID==f.snackID);if(u==-1)o.unshift(T(v({},f),{snackID:f.snackID}));else{let h=[...o];h[u]=T(v({},f),{snackID:f.snackID}),o=h}a((0,mo.UUID)())},remove:f=>{let u=mo.useStore.get("Snackbar-"+f);u&&u.remove&&(u.remove(),setTimeout(()=>{let h=o.findIndex(m=>m.snackID==f);if(h==-1)return;let p=[...o];p.splice(h,1),s(p)},210))},removeALL:()=>{s([])}}})},[o.length]);let l=o.map(f=>(0,TO.createElement)(EO.Cell,T(v({},f),{key:f.snackID})));return(0,Lo.jsx)(Lt,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",im("Wrapper")].join(" "),position:"fixed",right:0,bottom:0,paddingLeft:0,paddingRight:1,paddingBottom:"safeAreaBottom",verticalAlign:"bottom",overflow:"auto",UnderBreakPointStyles:{left:0,paddingLeft:1,width:"auto"},children:l})}};var PO=K(MO());function R$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a.length&&l.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var IO={List:r=>{let{rootStates:a,val_status:o,set_status:s}=r;if(a.useSystemOnly)return null;let l=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((u,h)=>(0,Cr.jsx)(IO.ListCell,T(v({},r),{index:h,val_file:u}),u.name));return l>0&&f.push((0,Cr.jsx)(X,T(v({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,es("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:u=>{let{key:h}=u;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&vt("#"+a.id).click()},children:(0,Cr.jsxs)(gt.Center,{padding:["1/3",0],children:[(0,Cr.jsx)(X,{isRounded:!0,className:es("AddIcon"),children:(0,Cr.jsx)(Ne,{icon:PO.faCloudArrowUp,className:es("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,Cr.jsxs)(X,{children:[(0,Cr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",l,")"]}),(0,Cr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,Cr.jsx)(er,T(v({flexSizing:"auto"},Ol(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:s,val_status:l,set_status:f}=r,{name:u,size:h,type:p}=s,[m,g]=(0,Cf.useState)(!1),b=(0,Pl.UUID)(),S=h.rank(),[w,k]=u.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),L="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?L=p.replace(/image\//,""):p.match(/pdf/)?L="PDF":p.match(/csv/)?L="CSV":p.match(/spreadsheet/)?L="SpreadSheet":p.match(/presentation/)?L="PowerPoint":p.match(/word/)?L="Word":p.match(/zip/)?L="Zip":p.match(/powerpoint/)?L="PowerPoint":p.match(/html/)?L="HTML":p.match(/js/)?L="JavaScript":p.match(/css/)?L="CSS":p.match(/text\/plain/)&&(L="\u30C6\u30AD\u30B9\u30C8"),(0,Cf.useEffect)(()=>{m&&setTimeout(()=>{vt("#"+b).focus()},100)},[m]),(0,Cr.jsxs)(Lt,T(v({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,Cr.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,Cr.jsxs)(X,{flexSizing:0,children:[(0,Cr.jsx)(X,{children:(0,Cr.jsx)(Lt,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:es("FileName"),children:m?(0,Cr.jsx)(Cr.Fragment,{children:(0,Cr.jsxs)(er,{flexSizing:0,gap:"1/2",children:[(0,Cr.jsxs)(Lt,{gap:"2/3",verticalAlign:"center",children:[(0,Cr.jsx)(mn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:w,onKeyDown:N=>{let{key:Y}=N;Y=="Escape"&&g(!1)}}),(0,Cr.jsxs)(X,{children:[". ",k]})]}),(0,Cr.jsxs)(Lt,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,Cr.jsx)(lt.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,Cr.jsx)(lt,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:N=>La(void 0,null,function*(){let{name:Y}=N,M=[...l.dataValue],j=M[a],F=j.id;if(!j)return;let{target:Z}=yield j.convert();if(!Z)return;let O=yield String(Z.result).toBlob(s.type);if(!O)return;let ae=new File([O],Y+"."+k,{type:j.type});ae.id=F,M[a]=ae,f(ge=>T(v({},ge),{dataValue:M,eventType:"update",eventID:(0,Pl.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,Cr.jsxs)(Cr.Fragment,{children:[u,!!o.isNameEditable&&(0,Cr.jsx)(lt.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,Cr.jsx)(Ne.Pen,{})})]})})}),!m&&(0,Cr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,Cr.jsx)(lt.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let N=[...l.dataValue];N[a]&&(N.splice(a,1),f(Y=>T(v({},Y),{dataValue:N,eventType:"update",eventID:(0,Pl.UUID)()})))},children:(0,Cr.jsx)(Ne.Times,{})})]}))}},D$=r=>{let a=r,{tone:o,required:s,form:l,isNameEditable:f,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,value:k=[],className:L,cellStyles:N,cellClassName:Y,componentID:M,status_id:j,enableFormSubmit:F,freeCSS:Z,wrapStyles:O}=a,ae=$e(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[ge,ee]=(0,Cf.useState)(jt.DefaultStatus(r.componentID||"",k)),[ye,be]=(0,Cf.useState)({ok:!1,notice:[]}),he={rootStates:r,val_status:ge,set_status:ee};(0,Cf.useEffect)(()=>{Pl.useStore.set({["AddFiles-"+ge.componentID]:le=>{ee(de=>{let B=de.dataValue,W=[];for(var ie=0;ie<(le==null?void 0:le.length);ie++){let te=le[ie],{type:se,name:we}=te;if(ie+1+B.length>p){ns.add({componentID:we,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${we}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!se.match(/image/)){ns.add({componentID:we,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${we} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(te)}return T(v({},de),{dataValue:[...B,...W],eventType:"update",eventID:(0,Pl.UUID)()})})}})},[]),jt.CommonEffects({type:"file",states:r,val_status:ge,set_status:ee,val_validate:ye,set_validate:be,SystemValidation:R$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,Cr.jsxs)(ja,{val_status:ge,set_status:ee,val_validate:ye,states:r,children:[(0,Cr.jsx)(X,T(v({htmlTag:"input",type:"file",className:es("Input"),"data-component-id":ge.componentID,accept:H,multiple:p!=1,onChange:le=>La(void 0,null,function*(){g&&g(le);let de=le.target,B=de.files,W=[];for(var ie=0;ie<(B==null?void 0:B.length);ie++){let te=B[ie],se=te.name;if(te.id=(0,Pl.UUID)(),ie+1+ge.dataValue.length>p){ns.add({componentID:se,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${se}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(te)}ee(te=>T(v({},te),{dataValue:[...te.dataValue,...W],eventType:"update",eventID:(0,Pl.UUID)()})),de.value=""})},ae),{opacity:"low",tabIndex:-1,value:""})),(0,Cr.jsx)(IO.List,v({},he))]})},gw=r=>(r=T(v({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:v(v({},Vn({tone:r.tone||"border"})),r.cellStyles)}),(0,Cr.jsx)(Ra,{componentID:r.componentID,children:D$,states:r}));gw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(s=>{let l=document.createElement("input");l.type="file",l.multiple=a!=null?a:!0,o&&(o=="image"?l.accept="image/png,image/jpeg":l.accept=o),l.onchange=f=>{s(f.target.files)},l.click()})}},typeof window!="undefined"&&window.document&&(0,Pl.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),vt("."+es("AddButton")).addClass(es("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),vt("."+es("AddButton")).removeClass(es("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(vt(o).hasClass(es("AddButton"))){let{componentId:s}=o.dataset,l=Pl.useStore.get("AddFiles-"+s);l&&l(a)}}},options:{passive:!1}});var vo=K(At()),Ms=K(ar()),gm=K(fr());function A$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a&&l.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var BO=r=>{let{value:a,val_status:o}=r,{min:s,max:l,step:f}=o;a=Math.max(a,s),a=Math.min(a,l);let u=a/l*l;return u=Math.round(u/f),{stepValue:u*f,stepIndex:u,positionLeft:u*f/l*100+"%"}},zO={IndicatorLabels:r=>{let{componentID:a,min:o,max:s,step:l,customLegends:f}=r,u=[],h=Math.round(o/l),p=Math.round(s/l),m=p-h+1;for(var g=h;g<=p;g++){let b=g*l;b=Math.max(b,o),b=Math.min(b,s);let S=b/s*100+"%";u.push((0,vo.jsx)(X,{className:Ts("Label"),id:"Legend-"+a+"-"+g,display:g==h||g==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:S,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,gm.useEffect)(()=>{let b=()=>{let S=vt("#Labels-"+a),{width:w}=S.position(),k=Math.round(w/50)-1,L=Math.round(m/k);for(let N=h+1;N<p;N++)vt("#Legend-"+a+"-"+N).css({display:N%L==0?"flex":"none"})};return(0,Ms.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ms.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,vo.jsx)(Lt,{className:Ts("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,vo.jsx)(X,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:u})})},Rail:r=>{let{val_status:a,set_status:o,DotData:s,form:l,enableFormSubmit:f}=r,{componentID:u}=a;return(0,vo.jsxs)(Lt,{className:Ts("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),rp.Effects.Start(h,{val_status:a,set_status:o,DotData:s}))},children:[(0,vo.jsx)(X,{className:Ts("Bar"),backgroundColor:"layer.4",position:"relative",borderRadius:"1.tone.primary",transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,vo.jsx)(X,{className:Ts("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:s.positionLeft},id:u+"_BarColor"})}),(0,vo.jsx)(X,{className:Ts("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,vo.jsx)(lt.Plain,{className:Ts("Ball"),position:"absolute",boxShadow:"1.remark",backgroundColor:r.color,top:0,left:0,ssSquare:1.5,borderRadius:"1.tone.primary",freeCSS:{zIndex:2,left:s.positionLeft},id:u+"_Ball",onKeyDown:h=>{rp.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:s}),f&&jt.SubmitForm(h,l)}})})]})}},rp={Effects:{Start:(r,a)=>{(0,Ms.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{rp.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{rp.Effects.End()}})},Move:(r,a)=>{let o=Ms.default.getCursor(r).x,{val_status:s,set_status:l}=a,{componentID:f,min:u,max:h}=s,p=vt("#"+f+"_Ball"),m=vt("#"+f+"_Bar"),g=vt("#"+f+"_BarColor"),{width:b,left:S}=m.position(),w=(o-S)/b;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,L=BO({value:k,val_status:s}),N=L.positionLeft,Y=L.stepValue;return p.css({left:N}),g.css({width:N}),l(M=>{let j=M.dataValue;return Y==j?M:T(v({},M),{dataValue:Y,eventType:"update",eventID:(0,Ms.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ms.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:s}=r,{min:l,max:f,step:u}=o,{key:h,metaKey:p,ctrlKey:m}=a,g=m||p,b=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?g?b=l:b-=u:h.match(/Right|Down/)&&(g?b=f:b+=u),b=Math.max(Math.min(b,f),l),s(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Ms.UUID)()})))}},L$=r=>{let a=r,{color:o="theme",required:s,form:l="",legends:{enable:f=!0,custom:u,showAlways:h=!1}={},min:p,max:m,step:g,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:N="",className:Y,wrapStyles:M}=a,j=$e(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","wrapStyles"]),[F,Z]=(0,gm.useState)({componentID:r.componentID||"",dataValue:N,min:p,max:m,step:g,eventType:"init",eventID:(0,Ms.UUID)()}),[O,ae]=(0,gm.useState)({ok:!1,notice:[]});jt.CommonEffects({type:"slider",states:r,val_status:F,set_status:Z,val_validate:O,set_validate:ae,SystemValidation:A$});let ge=BO({value:F.dataValue,val_status:F});return(0,vo.jsx)(ja,{val_status:F,set_status:Z,val_validate:O,states:r,children:(0,vo.jsxs)(er,T(v({gap:"1/2",flexSizing:"auto"},j),{className:[Ts("Wrap"),Y,Ts("ShowLegendsAlways_"+h)].join(" "),children:[(0,vo.jsx)(zO.Rail,{rootStates:r,color:o,val_status:F,set_status:Z,DotData:ge,form:l,enableFormSubmit:b}),!!f&&(0,vo.jsx)(zO.IndicatorLabels,{componentID:F.componentID,min:p,max:m,step:g,customLegends:u})]}))})},FO=r=>{let a=T(v({},r),{freeCSS:v({minWidth:120},r.freeCSS)});return(0,vo.jsx)(Ra,{componentID:r.componentID,children:L$,states:To(a)})};var No=K(At()),bw=K(ar()),yw=K(fr());function N$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a&&l.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var O$=r=>{let a=r,{componentID:o,color:s="posi",required:l,form:f,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,size:k="regular",value:L="",icon:N="",isApply:Y=!1}=a,M=$e(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,yw.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,bw.UUID)()}),[Z,O]=(0,yw.useState)({ok:!1,notice:[]}),ae=!!j.dataValue;jt.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Z,set_validate:O,SystemValidation:N$});let ge="middle",ee=5,ye=3;return Y&&(ye=4),(0,No.jsxs)(ja,{val_status:j,set_status:F,val_validate:Z,states:r,children:[(0,No.jsx)(X,v({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:uf("Input"),id:u,onKeyDown:be=>{g&&g(be),h&&jt.SubmitForm(be,f)},onChange:be=>{let{checked:he}=be.target;Z.ok&&O({ok:!1,notice:[]}),F(H=>T(v({},H),{dataValue:he,eventType:"update",eventID:(0,bw.UUID)()})),m&&m(be)}},M)),(0,No.jsx)(vg.Plain,{tabIndex:-1,htmlFor:u,padding:"1/4",transition:ge,borderRadius:"1.tone.primary",className:uf("Label"),children:(0,No.jsx)(X,T(v({},Y?{padding:"1/4",isRounded:!0,backgroundColor:ae?s:"layer.3"}:{}),{children:(0,No.jsxs)(gt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:(ee+ye)/ee},children:[!Y&&(0,No.jsx)(X,{position:"absolute",backgroundColor:ae?s:"layer.5",isRounded:!0,transition:ge,width:1,opacity:"middle",className:uf("Bar"),freeCSS:{height:"40%"}}),(0,No.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&ae?s:"white",transition:ge,isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:uf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:ae?`calc(${ye.ratio(ee+ye)}%)`:0},children:N&&(0,No.jsx)(X,{transition:ge,flexCenter:!0,fontColor:ae?Y?s:"white":"6.clear",children:N})})]})}))})]})},Ng=r=>{let a=v({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,No.jsx)(Ra,{componentID:a.componentID,children:O$,states:a})},bm=Ng;bm.S=r=>(0,No.jsx)(Ng,T(v({},r),{size:"small"})),bm.R=r=>(0,No.jsx)(Ng,T(v({},r),{size:"regular"})),bm.L=r=>(0,No.jsx)(Ng,T(v({},r),{size:"large"}));var jO=K(At());var HO=r=>(0,jO.jsx)(Rg,T(v({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Sc=K(At()),UO=K(ar()),Og=K(fr());var M$=r=>{let a=r,{__sys_segmented_type:o,tone:s,value:l,options:f,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:g,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:w,freeCSS:k,wrapStyles:L}=a,N=$e(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,Og.useState)((0,UO.UUID)()),[M,j]=(0,Og.useState)(l),[F,Z]=(0,Og.useState)(M);return M!=l&&(j(l),Z(l)),(0,Sc.jsx)(vf,T(v({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},N),{freeCSS:v({whiteSpace:"nowrap"},k),cellStyles:v({flexCenter:!0,ssEffectsOnActive:"push"},g),cellCheckedStyles:v({},w),cellClassName:[b,hg("Label"),hg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,hg("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:(...O)=>{h&&h(...O),o=="bottomline"&&Z(O[0])}}))},Mg=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=T(v({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:v({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Sc.jsx)(M$,v({__sys_segmented_type:"plain"},r))},os=Mg;os.Cloud=r=>{let a=T(v({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:v({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Sc.jsx)(Mg,v({},a))},os.CloudTheme=r=>{let a=v({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Sc.jsx)(os.Cloud,v({},a))},os.CloudMono=r=>{let a=T(v({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:v({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Sc.jsx)(os.Cloud,v({},a))},os.Border=r=>{let a=T(v({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:v({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,Sc.jsx)(Mg,v({},a))},os.BorderVivid=r=>{let a=T(v({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:v({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Sc.jsx)(os.Border,v({},a))},os.Bottomline=r=>{let a=T(v({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:v({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:v({fontColor:"theme"},r.cellCheckedStyles)});return(0,Sc.jsx)(Mg,v({},a))};var Pg=K(At()),VO=K(ar()),Sw=K(fr());function P$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a&&l.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var I$=r=>{let a=r,{componentID:o,required:s,form:l,enableFormSubmit:f,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:g,onUpdateValidValue:b,value:S=""}=a,w=$e(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,Sw.useState)(jt.DefaultStatus(r.componentID||"",S)),[N,Y]=(0,Sw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:N,set_validate:Y,SystemValidation:P$}),(0,Pg.jsx)(ja,{val_status:k,set_status:L,val_validate:N,states:r,children:(0,Pg.jsx)(X,v({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:uf("Input"),onKeyDown:M=>{p&&p(M),f&&jt.SubmitForm(M,l)},onChange:M=>{let{value:j}=M.target;N.ok&&Y({ok:!1,notice:[]}),L(F=>T(v({},F),{dataValue:j,eventType:"update",eventID:(0,VO.UUID)()})),h&&h(M)}},w))})},WO=r=>{let a=T(v(T(v({},Vn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:v({minWidth:108},r.freeCSS)});return(0,Pg.jsx)(Ra,{componentID:r.componentID,children:I$,states:a})};var is=K(ar()),qO=r=>La(void 0,null,function*(){let a=1,o={};return yield is.default.scope(()=>La(void 0,null,function*(){if(is.useStore.get("form-process-"+r))return;is.useStore.set({["form-process-"+r]:!0});let s=document.activeElement;s&&s.blur();{let l=is.useStore.get(["form-data",r].join("-"));if(!l){is.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(l)){if(!u)continue;let h=is.useStore.get(u.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let l=is.useStore.get(["form-data",r].join("-"));if(!l){is.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(l))u&&(a&=Number(u.validation),o[f]=u.value)}is.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var wa;(r=>(r.Plain=B7,r.Hidden=V7,r.TextField=mn,r.Contenteditable=Z7,r.DigitCharacters=tO,r.Time=Os,r.Select=rs,r.Autocomplete=Lg,r.List=_O,r.Radio=vf,r.Checkbox=Rg,r.Checker=HO,r.Search=kO,r.Filer=gw,r.Slider=FO,r.Switch=bm,r.Segmented=os,r.Color=WO,r.LeftIcon=$d,r.RightIcon=Fa,r.LeftIndicator=wg,r.RightIndicator=Cg,r.RequiredSign=bg,r.RequiredShortSign=yg,r.OmitSign=Sg,r.CollectForm=qO))(wa||(wa={}));var $O=r=>{let a=r,{tabIndex:o,tabs:s,onTabChange:l,componentDidMount:f}=a,u=$e(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,YO.useEffect)(()=>{f&&f()},[]),(0,Ig.jsx)(Lt,T(v({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:v({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,Ig.jsx)(X,{margin:[0,"auto"],children:(0,Ig.jsx)(wa.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:s.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{l&&l(h)}})})}))};var gu=K(At());var Wr={Table:r=>(0,gu.jsx)(X,T(v({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,gu.jsx)(X,v({htmlTag:"thead"},r)),Body:r=>(0,gu.jsx)(X,v({htmlTag:"tbody"},r)),Row:r=>(0,gu.jsx)(X,v({htmlTag:"tr"},r)),TH:r=>(0,gu.jsx)(X,v({htmlTag:"th"},r)),TD:r=>(0,gu.jsx)(X,v({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,gu.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Oo=K(At());var ww=K(At()),KO=K(ar());var GO=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),v({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},cl=r=>{let a={};return r.right&&(a.borderRight="unset"),r.top&&(r.left&&(a.borderTopLeftRadius="inherit"),r.right&&(a.borderTopRightRadius="inherit")),r.bottom&&(a.borderBottom="unset",r.left&&(a.borderBottomLeftRadius="inherit"),r.right&&(a.borderBottomRightRadius="inherit")),a};var ap=r=>{let a=v({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let s=T(v({tableID:a.tableID||(0,KO.UUID)(),tone:a.tone},a),{cellStyles:v(v({},GO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(s=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},s));let l=To(s),{className:f,style:u}=l,h=$e(l,["className","style"]),p=[f,Xt("Wrap"),Xt("TableType_"+a.type),Xt("RowClickable_"+!!s.onRowClick)].join(" ");return(0,ww.jsx)(X,{className:p,style:u,children:(0,ww.jsx)(o,v({},h))})};var Cw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:s,colLength:l,head:f,rows:u}=r;if(!f)return null;let h=[];return f.forEach((p,m)=>{let g=Wr[p.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:m==0,right:m==l-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=cl(b),w=s?s(b):{},k=T(v(v(v(v({},a),S),w),p),{freeCSS:v(v(v({},a.freeCSS),w.freeCSS),p.freeCSS),className:[Xt("Cell"),o,p.className].join(" ")});h.push((0,Oo.jsx)(g,v({},k),m))}),(0,Oo.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:s,head:l,rows:f,colLength:u,onRowClick:h}=r,p=[];return f.forEach((m,g)=>{let b=[];m.forEach((S,w)=>{let k=Wr[S.type=="th"?"TH":"TD"],L={top:g==0&&!l,bottom:g==f.length-1,left:w==0,right:w==u-1,rowIndex:g,colIndex:w,isBody:!0,isHeader:!1},N=cl(L),Y=s?s(L):{};b.push((0,Oo.jsx)(k,T(v(v(v(v({},a),N),S),Y),{freeCSS:v(v(v({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Xt("Cell"),o,S.className].join(" ")}),w))}),p.push((0,Oo.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},g))}),(0,Oo.jsx)(Oo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Oo.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Oo.jsxs)(Wr.Body,{children:[(0,Oo.jsx)(Cw.HeadRow,v({},r)),(0,Oo.jsx)(Cw.BodyRows,v({},r))]})}))},XO=r=>(0,Oo.jsx)(ap,T(v({type:"normal"},r),{JSXChildren:Cw.Normal}));var Ca=K(At()),Mo=K(ar()),np=K(fr());var kw=K(aM());var Tw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:s,colLength:l,head:f,rows:u}=r;if(!f)return null;let h=[];for(let p=0;p<l;p++){let m=f[p],g=Wr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:p==0,right:p==l-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=cl(b),w=s?s(b):{};h.push((0,Ca.jsx)(g,T(v(v(v(v({},a),S),m),w),{freeCSS:v(v(v({},a.freeCSS),w.freeCSS),m.freeCSS),className:[Xt("Cell"),o,m.className].join(" ")}),p))}return(0,Ca.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:s,head:l,rows:f,colLength:u,onOrderChanged:h}=r,[p]=(0,np.useState)((0,Mo.UUID)()),[m,g]=(0,np.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,w)=>{let k=[];{let L={top:w==0&&!l,bottom:w==f.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},N=cl(L),Y=s?s(L):{};k.push((0,Ca.jsx)(Wr.TH,T(v(v(v({padding:0,borderRight:!0},a),N),Y),{freeCSS:v(v({},a.freeCSS),Y.freeCSS),className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,Ca.jsx)(lt.Clear,{className:Xt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:M=>{ym.Start(M,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,Ca.jsx)(Ne,{icon:kw.faGripVertical})})}),"DragOrigin"))}S.forEach((L,N)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],M={top:!!l&&!l.length,bottom:w==f.length-1,left:!1,right:N==u-2,rowIndex:w,colIndex:N,isBody:!0,isHeader:!1},j=cl(M),F=s?s(M):{};k.push((0,Ca.jsx)(Y,T(v(v(v(v({},a),j),L),F),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),L.freeCSS),className:[Xt("Cell"),o,L.className].join(" ")}),N))}),b.push((0,Ca.jsx)(Wr.Row,{id:"TableRow-"+p+"-"+w,className:[Xt("Row"),Xt("BodyRow")].join(" "),children:k},w))}),!isNaN(m.to)){let{origin:S,to:w}=m,k=[];k.push((0,Ca.jsx)(Wr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,Ca.jsx)(Ne.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((L,N)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],M={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=cl(M),F=s?s(M):{};k.push((0,Ca.jsx)(Y,T(v(v(T(v({className:[Xt("Cell"),o,L.className].join(" ")},j),{backgroundColor:"theme.opa.low"}),F),L),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),L.freeCSS)})))}),b.splice(w,0,(0,Ca.jsx)(Wr.Row,{className:[Xt("Row"),Xt("Pre")].join(" "),children:k},"preSet"))}return(0,np.useEffect)(()=>{Mo.useStore.set({[p]:{swap:(S,w)=>{if(w||w==0){let k=m.rows[S],L=[...m.rows];L.splice(S,1),L.splice(w-(S<w?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(N=>Mo.default.Objectify(N.rowID)))}},preSet:S=>{let{origin:w,index:k}=S;g({rows:m.rows,origin:w,to:k})}}})}),(0,np.useEffect)(()=>()=>{Mo.useStore.delete(p)},[]),(0,Ca.jsx)(Ca.Fragment,{children:b})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Ca.jsx)(lt.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Oa.open({parent:a.currentTarget,content:(0,Ca.jsxs)(Oa.Body,{children:[(0,Ca.jsx)(Ne,{icon:kw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Ca.jsx)(Ne.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=Mo.default.Stringify(a.rowID||o),a)),(0,Ca.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Ca.jsxs)(Wr.Body,{children:[(0,Ca.jsx)(Tw.HeadRow,v({},r)),(0,Ca.jsx)(Tw.BodyRows,v({},r))]})}))},nM=r=>(0,Ca.jsx)(ap,T(v({type:"drag"},r),{JSXChildren:Tw.Drag})),ym={Start:function(r,a){return La(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:s,rows:l,maxLength:f}=a;vt("#TableRow-"+o+"-"+s).addClass(Xt("DraggerOrigin")),(0,Mo.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:u=>{ym.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{ym.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:u=>{ym.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{ym.End(u,a)}})})},Move:function(r,a){let{id:o,maxLength:s}=a,l=Mo.default.getCursor(r).y-Mo.default.getScreenSize().scrollY;for(let f=0;f<s;f++){let u=vt("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=u.position();f==0&&l<h?a.insertIndex=0:f===s-1&&p<=l?a.insertIndex=s:l>=h&&l<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:u}=a,h=Mo.useStore.get(o);h&&h.preSet&&h.preSet({origin:f,index:u})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:s,insertIndex:l}=a,f=Mo.useStore.get(o);f&&f.swap&&f.swap(s,l),vt("#TableRow-"+o+"-"+s).removeClass(Xt("DraggerOrigin")),(0,Mo.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Rt=K(At()),Wn=K(ar()),xf=K(fr());var dM=K(uS()),pM=K(dS()),hM=K(sS()),mM=K(fM());var wc={__memoryID:(0,Wn.UUID)(),Header:r=>{var a,o;let{val_status:s,set_status:l,KeywordFilterRows:f}=v({},r),{order:u,filter:h}=s,[p,m]=u.current,g=[],b=[...s.head];if(s.checker){let S={top:!0,bottom:!s.rows.length,left:!0,right:!s.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=cl(S),k=s.cellStylesCallback?s.cellStylesCallback(S):{};g.push((0,Rt.jsx)(Wr.TH,T(v(v(v({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},s.cellStyles),w),k),{freeCSS:T(v(v({},(a=s.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Xt("Cell"),s.cellClassName].join(" "),children:(0,Rt.jsx)(X,{flexCenter:!0,children:(0,Rt.jsx)(wa.Checker,{label:null,value:!1,onUpdateValidValue:L=>{let N=s.rows;N.forEach(Y=>{Y.checked=L}),l(T(v({},s),{rows:N}))}})})}),-1))}for(let S=0;S<s.colLength;S++){let w=b[S];if(!w)continue;let k=w.children||w.data,L=u.enabled&&u.column[S],N=h.enabled&&h.column[S],Y=L?(0,Rt.jsx)(Ne,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?pM.faArrowDown:dM.faArrowUp:hM.faArrowRight}):null,M=(0,Rt.jsx)(Rt.Fragment,{});if(N){let O=f.map(ge=>{var ee;return(ee=ge[S])==null?void 0:ee.data});O=[...new Set(O)].toASC();let ae=h.current[S];if(ae){let ge=O.filter(H=>!ae.includes(H)),ee=[];O.forEach(H=>{H&&ee.push({value:H,label:(0,Rt.jsx)(X,{flexSizing:"auto",children:H})})});let ye="BUTTON-"+s.componentID+"-"+S,be=s.componentID+"-"+S,he={sheetID:be,parent:"#"+ye,gravityPoint:23,type:"custom",content:(0,Rt.jsxs)(Lt,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Rt.jsx)(er,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Rt.jsx)(wa.Checkbox,{icon:!0,value:ge,display:"flex",gap:"2/3",override:"force",options:ee,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+s.componentID,onUpdateValidValue:H=>{let le=O.filter(B=>!H.includes(B)),de=v({},s);de.filter.current[S]=le,l(de)}})}),(0,Rt.jsxs)(gt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Rt.jsx)(lt.Border.S,{isRounded:!0,onClick:()=>{sr.close(be)},children:"\u9589\u3058\u308B"}),(0,Rt.jsx)(lt.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];ae.length||(H=O);let le=v({},s);le.filter.current[S]=H,l(le)},children:"\u5168\u9078\u629E"})]})]})};M=(0,Rt.jsx)(X,{className:Xt("FilterRegion"),children:(0,Rt.jsx)(lt.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Xt("Filtering_"+!!ae.length),id:ye,onClick:H=>{H.stopPropagation(),sr.open(he)},children:(0,Rt.jsx)(Ne,{icon:mM.faFilter})})})}}let j={top:!0,bottom:!s.rows.length,left:s.checker?!1:S==0,right:S==s.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=cl(j),Z=s.cellStylesCallback?s.cellStylesCallback(j):{};w=T(v(v(v(v({},s.cellStyles),F),w),Z),{ssPushable:L,freeCSS:v(v(v({},(o=s.cellStyles)==null?void 0:o.freeCSS),Z.freeCSS),w.freeCSS),className:[Xt("Cell"),s.cellClassName,w.className].join(" ")}),delete w.orderIndex,g.push((0,Rt.jsx)(Wr.TH,T(v({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:v({zIndex:2},w.freeCSS),onClick:O=>{if(L){let ae=v({},s),ge=[S,p===S&&m=="ASC"?"DESC":"ASC"];ae.order.current=ge,l(ae),s.onOrderChanged&&s.onOrderChanged(ge)}},children:(0,Rt.jsxs)(Lt,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[M,(0,Rt.jsxs)(Lt,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Rt.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:g})},Body:r=>{let{val_status:a,PageRows:o}=r,s=[];if(o.forEach((l,f)=>{var u;let h=[...l],p=[];if(a.checker){let m={top:f==0&&!a.head,bottom:f==o.length-1,left:!0,right:!a.colLength,rowIndex:f,colIndex:0,isBody:!0,isHeader:!1},g=cl(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Rt.jsx)(Wr.TH,T(v(v(v({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),g),b),{freeCSS:v(v({},(u=a.cellStyles)==null?void 0:u.freeCSS),b.freeCSS),className:[Xt("Cell"),a.cellClassName].join(" "),children:(0,Rt.jsx)(X,{flexCenter:!0,children:(0,Rt.jsx)(wa.Checker,{label:null,value:l.checked,override:"force",onUpdateValidValue:S=>{let w=a.rows,k=w.findIndex(L=>Wn.default.is.equal(L.rowID,l.rowID));k!=-1&&(w[k].checked=S,r.set_status(L=>T(v({},L),{rows:w})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let S=m,{type:w="td"}=S,k=$e(S,["type"]),L={top:f==0&&!a.head,bottom:f==o.length-1,left:a.checker?!1:g==0,right:g==a.colLength-1,rowIndex:f,colIndex:g,isBody:!0,isHeader:!1},N=cl(L),Y=a.cellStylesCallback?a.cellStylesCallback(L):{};k=T(v(v(v(v({},a.cellStyles),N),k),Y),{freeCSS:v(v(v({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),Y.freeCSS),className:[Xt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let M=Wr[w=="td"?"TD":"TH"];p.push((0,Rt.jsx)(M,v({},k),g))}),s.push((0,Rt.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(l.rowID,m)}},f))}),!o.length){let l=(0,Rt.jsx)(X,{padding:2,fontColor:"4.thin",textAlign:"center",borderTop:"1.thin",children:"\u30C6\u30FC\u30D6\u30EB\u304C\u3042\u308A\u307E\u305B\u3093"});a.noRecords&&(l=(0,Rt.jsx)(Rt.Fragment,{children:a.noRecords})),s.push((0,Rt.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow"),Xt("DataNotFound")].join(" "),children:(0,Rt.jsx)(Wr.TD,{colSpan:a.colLength,className:Xt("Cell"),children:l})},"dataNotFound"))}return(0,Rt.jsx)(Rt.Fragment,{children:s})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:s,filter:l,order:f,paging:u}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],g=[...a.rows];if(s&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(String(s).escapeRegExChar(),"i"))?1:0),m=[...p],g=[...p]),l.enabled)for(let w=0;w<a.colLength;w++){let k=l.column[w],L=l.current[w];k&&L&&L.length&&(m=m.filter(N=>!L.includes(N[w].data)),g=[...m])}f.enabled&&(f.current[1]=="ASC"?m=m.toASC([f.current[0],"orderIndex"].join(".")):m=m.toDESC([f.current[0],"orderIndex"].join(".")),g=[...m]);{let{currentPageIndex:w,rowLength:k}=u;g=[...g].splice((w-1)*k,k)}let b=wc.__memoryID+"_"+a.tableID,S={rows:{total:h.length,page:g.length,filtered:m.length},val_status:T(v({},a),{paging:T(v({},a.paging),{pageLength:Math.ceil(m.length/a.paging.rowLength)})}),set_status:o};return Wn.useStore.update({[b]:{getRowData:()=>{let w=[...h];return f.enabled&&(f.current[1]=="ASC"?w=w.toASC([f.current[0],"orderIndex"].join(".")):w=w.toDESC([f.current[0],"orderIndex"].join("."))),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),g.forEach(k=>{let{rowID:L}=k;w.find(N=>Wn.default.is.equal(N.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;w.find(N=>Wn.default.is.equal(N.rowID,L)).filtered=!0}),w}}}),(0,xf.useEffect)(()=>{El.release(a.tableID,S)}),(0,Rt.jsx)(X,{className:Xt("TableBase"),children:(0,Rt.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Rt.jsxs)(Wr.Body,{children:[(0,Rt.jsx)(wc.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Rt.jsx)(wc.Body,{val_status:a,set_status:o,PageRows:g})]})})},s)},Propagations:{},DataLeveler:r=>{var a,o;return r=v({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((s,l)=>{var f;return Wn.default.is.boolean(r.filter)?r.filter:(f=r.filter[l])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((s,l)=>{var f;return Wn.default.is.boolean(r.order)?r.order:(f=r.order[l])!=null?f:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((s,l)=>{s.rowID=s.rowID||l;let f=[];s.forEach((u,h)=>{let{data:p,children:m,orderIndex:g}=u;u.orderIndex=Wn.default.is.exist(g)?String(g):String(p),u.children=m||String(p),f.push(String(u.data))}),s.__sys4SearchKey=f.join("/")}),(0,Rt.jsx)(wc.StateManager,v({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:s="",filter:l,order:f,defaultOrder:u=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,xf.useState)((0,Wn.UUID)()),m={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:s,filter:{enabled:l!==!1,column:l,current:Array.from({length:a},()=>[])},order:{enabled:f!==!1,column:f,current:u},paging:{rowLength:h,pageLength:Math.ceil(r.rows.length/h),currentPageIndex:1},head:r.head,rows:r.rows,noRecords:r.noRecords,cellStyles:r.cellStyles||{},cellClassName:r.cellClassName||"",cellStylesCallback:r.cellStylesCallback,onRowClick:r.onRowClick,onOrderChanged:r.onOrderChanged},[g,b]=(0,xf.useState)(m);return(0,xf.useEffect)(()=>{b(S=>T(v({},S),{rows:m.rows}))},[Wn.default.Stringify(m.rows)]),(0,xf.useEffect)(()=>{b(S=>T(v({},S),{head:m.head}))},[Wn.default.Stringify(m.head)]),(0,Rt.jsx)(wc.Core,{val_status:g,set_status:b})}},z$={__memoryID:wc.__memoryID,getRowData:r=>{let a=Wn.useStore.get(wc.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},zg={SearchInput:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:s}=a;return(0,Rt.jsx)(wa.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Rt.jsx)(wa.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Rt.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:l=>{r.onChange(l),Wn.default.interval.once(()=>{s(f=>T(v({},f),{paging:T(v({},f.paging),{currentPageIndex:1}),filter:T(v({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:l}))},200,"InputSearchTime")}})},Info:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:s}=a,l=a.rows.filtered.ratio(a.rows.total)||0;return(0,Rt.jsxs)(Lt,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Rt.jsx)(Cn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",l,"%)"]})},Paging:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:s}=a,l=[];for(let u=0;u<o.paging.pageLength;u++)l.push({value:u+1,label:(u+1).toString()});let f=u=>{let h=Math.min(Math.max(1,u),o.paging.pageLength),p=v({},o);p.paging.currentPageIndex=h,s(m=>T(v({},m),{paging:T(v({},m.paging),{currentPageIndex:h})}))};return(0,Rt.jsxs)(gt.Center,{children:[(0,Rt.jsxs)(gt.Center,{gap:"1/2",children:[(0,Rt.jsx)(wa.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:l,onUpdateValidValue:u=>{f(u)}}),"/ ",o.paging.pageLength]}),(0,Rt.jsxs)(gt.Right,{gap:"1/2",children:[(0,Rt.jsx)(lt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Rt.jsx)(Ne.ChevronLeft,{})}),(0,Rt.jsx)(lt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Rt.jsx)(Ne.ChevronRight,{})})]})]})},RowLength:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:s}=a,l=o.paging.rowLength,f=0,u=r.lengthSelect.map(h=>(f|=+(h==l),{value:h,label:h.toString()}));return f||u.push({value:l,label:l.toString()}),(0,Rt.jsx)(gt.Center,{gap:"1/2",children:(0,Rt.jsx)(wa.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],SelectorStyles:{freeCSS:{minWidth:12*9}},SelectorPosition:4,value:o.paging.rowLength,options:u.toASC("value"),onUpdateValidValue:h=>{s(p=>T(v({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},B$=r=>(0,Rt.jsx)(ap,T(v({},r),{type:"data",JSXChildren:wc.DataLeveler})),bu=B$;bu.__memoryID=wc.__memoryID,bu.getRowData=z$.getRowData,bu.Info=zg.Info,bu.Paging=zg.Paging,bu.RowLength=zg.RowLength,bu.SearchInput=zg.SearchInput;var Bg;(r=>(r.Normal=XO,r.Data=bu,r.Drag=nM,r.Parts=Wr))(Bg||(Bg={}));var Rw=K(At()),Sm=K(ar());var _c={uid:(0,Sm.UUID)(),open:(r,a,o=24,s=.35)=>{r&&Sm.default.interval.once(()=>{Oa.open({tipsID:_c.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Rw.jsx)(Oa.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Rw.jsx)(or.Supplement,{children:a})})})},s*1e3,_c.uid)},abort:()=>{Sm.default.interval.abort(_c.uid),Oa.close(_c.uid)}};var pt=K(At()),oa=K(ar());var ls=K(fr());var WM=K(wM()),qM=K(DM()),YM=K(IM()),$M=K(VM());var Ow=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops,this.use=a.use,this.componentID=a.componentID,this.scale={current:a.scale.default,default:a.scale.default,min:a.scale.min,max:a.scale.max};let o=a.canvas;this.Canvas={elm:o,ctx:o.getContext("2d")};let s=a.picture.image,{width:l,height:f}=s,u=l/f;this.Picture={elm:s,originDataUrl:s.src,aspect:u,revisedAspect:1,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:0,y:0,w:0,h:0,aspect:1},outImage:{x:0,y:0,w:0,h:0},imageX:l/2,imageY:f/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,s=0,l=0;if(this.use=="square"){let g=a.width/3*2,b=a.height/3*2;s=Math.min(g,b),l=s}else this.use=="wallpaper.horizontal"?(s=a.width*(7/9),l=s/3):this.use=="wallpaper.vertical"&&(l=a.height*(7/9),s=l/2);let{width:f,height:u}=o,h=(a.width-s)/2,p=(a.height-l)/2,m=s/l;this.pst={frame:{x:h,y:p,w:s,h:l,aspect:m},outImage:{x:0,y:0,w:0,h:0},imageX:f/2,imageY:u/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:s,y:l}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:s,y:l},frameExpandRate:{x:this.Canvas.elm.width/f.width,y:this.Canvas.elm.height/f.height}}}else{let{origin:f,frameExpandRate:u}=this.dragEffectInfo,h=f.x-s,p=f.y-l,m=this.scale.current*this.Picture.revisedAspect/100,g=h/m*u.x,b=p/m*u.y;o=="move"?this.drawImage(this.pst.imageX+g,this.pst.imageY+b):o=="end"&&this.drawImage(this.pst.imageX+=g,this.pst.imageY+=b)}}pinchEffect(a){let{eventType:o,event:s}=a,{x:l,y:f}=oa.default.getCursor(s.touches[0]),{x:u,y:h}=oa.default.getCursor(s.touches[1]),p=u-l,m=h-f;if(o=="start")this.pinchEffectInfo.origin={x:p,y:m,scale:this.scale.current};else if(o=="move"){let{origin:g}=this.pinchEffectInfo,b=Math.sqrt(Math.pow(g.x,2)+Math.pow(g.y,2)),S=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,w=Number(g.scale*S);this.set_scale(w)}}updateScale(a){let o=a;o=Math.max(o,this.scale.min),o=Math.min(o,this.scale.max),this.scale.current=o,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return La(this,null,function*(){let{grayScale:a,tone:o,rotate:s}=this.Picture,l=document.createElement("canvas"),f=l.getContext("2d"),u=yield oa.default.ImageLoader(this.Picture.originDataUrl),h=u.width,p=u.height;(s==90||s==270)&&(h=u.height,p=u.width),l.width=h,l.height=p,a&&(f.filter="grayscale("+a+"%)"),s&&(f.translate(h/2,p/2),f.rotate(s*Math.PI/180),[90,270].includes(s)?f.translate(-p/2,-h/2):f.translate(-h/2,-p/2)),f.drawImage(u,0,0,u.width,u.height);let m=f.getImageData(0,0,l.width,l.height),g=m.data;{a/=100;let k=[[255,255,255],[255,200,100],[170,170,255],[240,200,145],[128,255,255],[255,128,255],[255,255,128],[128,158,169],[128,112,162],[50,192,87],[246,100,140]][o],L=k[0]/255,N=k[1]/255,Y=k[2]/255;for(let M=0;M<p;M++)for(let j=0;j<h;j++){var b=(M*h+j)*4;if(a){let F=.3*g[b]+.59*g[b+1]+.11*g[b+2];for(var S=0;S<3;S++){let Z=g[b+S];g[b+S]=Z+(F-Z)*a}}g[b]*=L,g[b+1]*=N,g[b+2]*=Y}}f.putImageData(m,0,0);let w=l.toDataURL("image/jpeg");{let k=yield oa.default.ImageLoader(w),{width:L,height:N}=k,Y=L/N;this.Picture=T(v({},this.Picture),{elm:k,aspect:Y,revisedAspect:this.pst.frame.aspect>Y?this.pst.frame.w/L:this.pst.frame.h/N})}this.drawImage()})}drawImage(a,o){let{use:s,Canvas:{ctx:l,elm:f},pst:{frame:u}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let m=this.scale.current/100,g=this.Picture.revisedAspect*m,b=this.pst.centerX-h*g,S=this.pst.centerY-p*g,w=this.Picture.elm.width*g,k=this.Picture.elm.height*g;{let L=this.pst.frame.x+this.pst.frame.w-w,N=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,M=this.pst.frame.y,j=0;b<L&&(j=b-L),b>N&&(j=b-N);let F=0;S<Y&&(F=S-Y),S>M&&(F=S-M),this.dragEffectInfo.origin.x+=j/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=F/2/this.dragEffectInfo.frameExpandRate.y,b=Math.min(Math.max(b,L),N),S=Math.min(Math.max(S,Y),M)}this.pst.outImage={x:b,y:S,w,h:k},l.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),l.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,b,S,w,k)}{if(s=="square"){l.fillStyle="rgba( 20,24,20,.3 )",l.beginPath();let g=f.width/3*2,b=f.height/3*2,S=Math.min(g,b),w=Math.max(g,b);l.arc(f.width/2,f.height/2,w,0,Math.PI*2,!0),l.arc(f.width/2,f.height/2,S/2,0,Math.PI*2,!1),l.closePath(),l.fill()}else(s=="wallpaper.horizontal"||s=="wallpaper.vertical")&&(l.fillStyle="rgba( 20,24,20,.3 )");l.beginPath(),l.moveTo(0,0),l.lineTo(f.width,0),l.lineTo(f.width,f.height),l.lineTo(0,f.height),l.lineTo(0,0),l.closePath(),l.lineTo(u.x,u.y),l.lineTo(u.x,u.y+u.h),l.lineTo(u.x+u.w,u.y+u.h),l.lineTo(u.x+u.w,u.y),l.lineTo(u.x,u.y),l.fill();let m=(0,oa.default)(document.body).getStyleProperty("--color-theme-hsl");l.lineWidth=4,l.strokeStyle=`hsla( ${m},1 )`,l.strokeRect(u.x,u.y,u.w,u.h)}}export(){return La(this,null,function*(){let{Canvas:a,develops:o,Picture:s,pst:{outImage:l,frame:f}}=this,u=l.w/s.elm.width,h=l.h/s.elm.height,p=(f.x-l.x)/u,m=(f.x-l.x+f.w)/u,g=(f.y-l.y)/h,b=(f.y-l.y+f.h)/h,S=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:L,maxSize:N}=o[k];N=N||{S:1024*20,R:1024*100,L:1024*350}[L];let Y={S:140,R:600,L:1200}[L],M=Y;this.use=="wallpaper.horizontal"?M=Y/3:this.use=="wallpaper.vertical"&&(M=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=M;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,M),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,M);let Z=j.toDataURL(w),O=yield Z.toBlob(w);if(!O)return;if(O.size>=N){let ge=N/O.size;if(Z=j.toDataURL(w,ge*.92),O=yield Z.toBlob(w),!O)return}let ae=new File([O],this.val_file.name,{type:w});S[k]=ae}return S})}},GM={Core:r=>{let{val_file:a,options:o,finishedCallback:s,abortCallback:l}=r,{use:f,develops:u=[]}=o,[h]=(0,ls.useState)((0,oa.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,g]=(0,ls.useState)(p.scale.default),[b,S]=(0,ls.useState)(p.rotate),[w,k]=(0,ls.useState)(p.grayScale),[L,N]=(0,ls.useState)(p.tone);return(0,ls.useEffect)(()=>{let Y="CropperResize";return(0,oa.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{oa.default.interval.once(()=>{var M;let j=vt("#Canvas-"+h)[0];if(!j)return;let F=(M=oa.useStore.get(h))==null?void 0:M.Instance;if(!F)return;let Z=j.position(),O=Z.width/Z.height;j.width=2400,j.height=2400/O;let{width:ae,height:ge}=j;F.pst.centerX=ae/2,F.pst.centerY=ge/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,oa.default)(window).removeEvent(Y)}},[]),(0,ls.useEffect)(()=>{oa.useStore.set({[h]:{}}),La(void 0,null,function*(){Ao.fn.corner.active(),yield oa.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let M=Y.result,j=vt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Z=F.width/F.height;j.width=2400,j.height=2400/Z;let O=new Ow({set_scale:g,val_file:a,develops:u,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield oa.default.ImageLoader(M),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});oa.useStore.set({[h]:{Instance:O}});let ae=function(ye){if(ye.preventDefault(),ye.touches&&ye.touches.length>1)O.pinchEffect({eventType:"start",event:ye}),(0,oa.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:be=>{be.preventDefault(),O.pinchEffect({eventType:"move",event:be})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ee});else{O.dragEffect(v({eventType:"start"},oa.default.getCursor(ye)));let{type:be}=ye;(0,oa.default)(document).addEvent({eventType:be=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:he=>{ge("move",he)}}).addEvent({eventType:be=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:he=>{ge("end",he),ee(he)}})}},ge=function(ye,be){be.preventDefault(),O.dragEffect(v({eventType:ye},oa.default.getCursor(be)))},ee=function(ye){ye.preventDefault(),(0,oa.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,oa.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:ye=>{ye.preventDefault();let be=Number(ye.wheelDelta*.04),he=O.scale.current+be;he=Math.max(he,O.scale.min),he=Math.min(he,O.scale.max),g(he)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:ae,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:ae,options:{passive:!1}}),setTimeout(()=>{Ao.fn.corner.stop()},1e3)})},[a.id]),(0,ls.useEffect)(()=>{var Y;let M=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;M&&M.updateScale(m)},[m]),(0,ls.useEffect)(()=>{var Y;let M=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;M&&M.updateFilter({grayScale:w,tone:L,rotate:b})},[w,L,b]),(0,pt.jsx)(sr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,pt.jsxs)(er,{className:[cu("Wrap"),cu("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,pt.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,pt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:cu("Canvas"),id:"Canvas-"+h})}),(0,pt.jsxs)(gt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,pt.jsx)(GM.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:N,val_grayScale:w,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,pt.jsxs)(gt.Right,{flexSizing:"none",children:[(0,pt.jsx)(lt.Border,{isRounded:!0,onClick:()=>{l()},children:"\u9589\u3058\u308B"}),(0,pt.jsx)(lt,{isRounded:!0,boxShadow:"3.remark",onClick:()=>La(void 0,null,function*(){var Y;let M=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;if(!M)return;Ao.fn.mini.active("CropperExportation");let j=yield M.export();setTimeout(()=>{Ao.fn.mini.stop("CropperExportation"),s(j)},3e3)}),children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ao.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=["","\u6696\u8272","\u5BD2\u8272","\u30BB\u30D4\u30A2","\u30B7\u30A2\u30F3","\u30DE\u30BC\u30F3\u30BF","\u30A4\u30A8\u30ED\u30FC","\u30AA\u30EA\u30B8\u30CA\u30EB1","\u30AA\u30EA\u30B8\u30CA\u30EB2","\u30AA\u30EA\u30B8\u30CA\u30EB3","\u30AA\u30EA\u30B8\u30CA\u30EB4"],o=s=>a[s]||"\u306A\u3057";return(0,pt.jsxs)(gt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,pt.jsxs)(er,{gap:"1/3",children:[(0,pt.jsx)(or.Supplement,{children:"Rotate"}),(0,pt.jsxs)(gt.Left,{flexChilds:"even",gap:"1/6",children:[(0,pt.jsx)(lt.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let s=r.val_rotate-90;s<0&&(s+=360),r.set_rotate(s)},children:(0,pt.jsxs)(gt.Center,{gap:"1/4",children:["90\xB0",(0,pt.jsx)(Ne,{icon:YM.faRotateLeft})]})}),(0,pt.jsx)(lt.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,pt.jsxs)(gt.Center,{gap:"1/4",children:[(0,pt.jsx)(Ne,{icon:$M.faRotateRight}),"90\xB0"]})})]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"Zoom"}),(0,pt.jsxs)(lt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:s=>{let l="CropperZoomEdit";Oa.open({tipsID:l,gravityPoint:3,event:s,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,pt.jsx)(lt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(l)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(wa.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:(f,u)=>{oa.default.interval.once(()=>{r.set_scale(f+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"GrayScale"}),(0,pt.jsxs)(lt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:s=>{let l="CropperGrayScaleEdit";Oa.open({tipsID:l,gravityPoint:3,event:s,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:WM.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,pt.jsx)(lt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(l)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(wa.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:f=>{oa.default.interval.once(()=>{r.set_grayScale(f)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:f=>f+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"Tone"}),(0,pt.jsx)(lt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:s=>{let l="CropperToneEdit";Oa.open({tipsID:l,gravityPoint:3,event:s,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let f=[];for(let u=1;u<=10;u++)f.push({value:u,label:(0,pt.jsxs)(gt.Left,{gap:"1/3",children:[(0,pt.jsx)(X,{ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+u)].join(" ")}),(0,pt.jsx)(X,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:qM.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,pt.jsx)(lt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(l)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(wa.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,pt.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:u=>{r.set_tone(u)}})]})})}})},children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Mw={openDialogNEdit:r=>La(void 0,null,function*(){let a=yield wa.Filer.fn.openDialog({accept:"image",multiple:!1});Mw.openEditor(v({imageFile:a[0]},r))}),openEditor:r=>La(void 0,null,function*(){let a="CropperImage";sr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,pt.jsx)(GM.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{sr.close(a),r.onProcessFinished(o)},abortCallback:()=>{sr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Po=K(At());var KM=()=>{let{href:r}=location;return(0,Po.jsx)(gt.Center,{padding:[4,1],children:(0,Po.jsxs)(er,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Po.jsx)(Ne.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Po.jsxs)(X,{children:[(0,Po.jsx)(or.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Po.jsx)(or.Supplement,{fontColor:"3.blur",children:"\u5165\u529B\u3055\u308C\u305F\u30EA\u30F3\u30AF\u306E\u30DA\u30FC\u30B8\u306F\u5B58\u5728\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002"})]}),(0,Po.jsxs)(er,{children:[(0,Po.jsxs)(or,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Po.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Po.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,Po.jsx)(df.Link,{newTab:!0,href:r,children:r}),(0,Po.jsx)(df.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Fg=r=>{let[a,o]=(0,yu.useState)(r.pathname),s=!0;a!==r.pathname&&(s=!1,o(r.pathname));let l=(0,yu.useRef)(!1);(0,yu.useEffect)(()=>{s&&(l.current?(sr.closeAll(!0),As.fn.updateCSSProperty.reset()):l.current=!0)},[a]),s&&r.beforeCB&&r.beforeCB(location.href),(0,yu.useEffect)(()=>{s&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,yu.useEffect)(()=>{s&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Pn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Pn.open(r);return}Pn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Pn.pushSync(r);return}Pn.__push(r)},back:()=>{Pn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Pn.__push=r},setBackEffect:r=>{Pn.__back=r}};var XM=K(ar());var Gh=[{key:"comun",isBrand:!1,isAvocado:!0},{key:"leaf",isBrand:!1,isAvocado:!0},{key:"heart",isBrand:!1,isAvocado:!0},{key:"droplet",isBrand:!1,isAvocado:!0},{key:"brick",isBrand:!1,isAvocado:!1},{key:"flower",isBrand:!1,isAvocado:!1},{key:"lip",isBrand:!1,isAvocado:!1},{key:"wine",isBrand:!1,isAvocado:!1},{key:"theater",isBrand:!1,isAvocado:!1},{key:"bat",isBrand:!1,isAvocado:!1},{key:"poizon",isBrand:!1,isAvocado:!1},{key:"eggplant",isBrand:!1,isAvocado:!1},{key:"ufo",isBrand:!1,isAvocado:!1},{key:"alien",isBrand:!1,isAvocado:!1},{key:"tombstone",isBrand:!1,isAvocado:!1},{key:"ninja",isBrand:!1,isAvocado:!1},{key:"moon",isBrand:!1,isAvocado:!1},{key:"rain",isBrand:!1,isAvocado:!1},{key:"unicorn",isBrand:!1,isAvocado:!1},{key:"axe",isBrand:!1,isAvocado:!1},{key:"gem",isBrand:!1,isAvocado:!1},{key:"soap",isBrand:!1,isAvocado:!1},{key:"drizzle",isBrand:!1,isAvocado:!1},{key:"building",isBrand:!1,isAvocado:!1},{key:"fish",isBrand:!1,isAvocado:!1},{key:"icicles",isBrand:!1,isAvocado:!1},{key:"water",isBrand:!1,isAvocado:!1},{key:"tree1",isBrand:!1,isAvocado:!1},{key:"tree2",isBrand:!1,isAvocado:!1},{key:"tree3",isBrand:!1,isAvocado:!1},{key:"battery",isBrand:!1,isAvocado:!1},{key:"seedle",isBrand:!1,isAvocado:!1},{key:"greenTea",isBrand:!1,isAvocado:!1},{key:"oak",isBrand:!1,isAvocado:!1},{key:"salad",isBrand:!1,isAvocado:!1},{key:"cloudy",isBrand:!1,isAvocado:!1},{key:"lemon",isBrand:!1,isAvocado:!1},{key:"angel",isBrand:!1,isAvocado:!1},{key:"parasol",isBrand:!1,isAvocado:!1},{key:"pizza",isBrand:!1,isAvocado:!1},{key:"thunder",isBrand:!1,isAvocado:!1},{key:"latte",isBrand:!1,isAvocado:!1},{key:"island",isBrand:!1,isAvocado:!1},{key:"shovel",isBrand:!1,isAvocado:!1},{key:"coffee",isBrand:!1,isAvocado:!1},{key:"carrot",isBrand:!1,isAvocado:!1},{key:"cactus",isBrand:!1,isAvocado:!1},{key:"volcano",isBrand:!1,isAvocado:!1},{key:"choco",isBrand:!1,isAvocado:!1},{key:"industry",isBrand:!1,isAvocado:!1},{key:"gun",isBrand:!1,isAvocado:!1},{key:"galaxy",isBrand:!1,isAvocado:!1},{key:"line",isBrand:!0,isAvocado:!1},{key:"twitter",isBrand:!0,isAvocado:!1},{key:"amazon",isBrand:!0,isAvocado:!1},{key:"facebook",isBrand:!0,isAvocado:!1},{key:"android",isBrand:!0,isAvocado:!1},{key:"slackBlue",isBrand:!0,isAvocado:!1},{key:"slackGreen",isBrand:!0,isAvocado:!1},{key:"slackRed",isBrand:!0,isAvocado:!1},{key:"slackYellow",isBrand:!0,isAvocado:!1},{key:"slackBase",isBrand:!0,isAvocado:!1},{key:"googleBlue",isBrand:!0,isAvocado:!1},{key:"googleGreen",isBrand:!0,isAvocado:!1},{key:"googleYellow",isBrand:!0,isAvocado:!1},{key:"googleRed",isBrand:!0,isAvocado:!1}],$h=()=>{let r="#45515c",a=(0,XM.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},QM={light:"#FFF",dark:"#333",dim:"#666",auto:()=>ht.get().isSystemDarkmode()?"#333":"#FFF"},Iw={};Gh.forEach(r=>{let{key:a,isAvocado:o,isBrand:s}=r;Iw[a]={alfa:l=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${l!=null?l:1} ) `,isAvocado:o,isBrand:s}});var Ga=K(ar());var Re={toConcreteBorderRadius:r=>{let a=ht.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>Ga.default.is.exist(r),ClassNames:(r,a)=>{var o,s,l,f,u,h,p,m,g,b;let S=[],{gap:w,display:k,position:L,overflow:N,fontColor:Y,fontSize:M,fontWeight:j,fontHeight:F,backgroundColor:Z,textAlign:O,textDecoration:ae,boxShadow:ge,margin:ee,marginTop:ye,marginRight:be,marginBottom:he,marginLeft:H,padding:le,paddingTop:de,paddingRight:B,paddingBottom:W,paddingLeft:ie,top:te,right:se,bottom:we,left:Se,border:je,borderTop:Ye,borderRight:Ge,borderBottom:rt,borderLeft:et,borderWidth:Nt,borderColor:$t,borderStyle:dt,borderRadius:Xe,borderTopLeftRadius:ke,borderTopRightRadius:ot,borderBottomLeftRadius:kt,borderBottomRightRadius:Tt,flexSizing:wt,flexWrap:tr,flexType:Ut,flexChilds:dr,flexGrid:ra,horizontalAlign:jr,verticalAlign:qr,transition:xr,gridCenter:pr,gridCols:br,maxHeight:pa,minHeight:kr,maxWidth:vr,minWidth:Pr,width:ga,height:ze,unitHeight:ct,unitWidth:bt,opacity:Gt}=a;{if(Re.ev(k)&&S.push("dsp"+k),N){let G=Ga.default.flatArray(N);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(L)&&S.push("ps"+L),Re.ev(O)&&S.push("txtalg"+O),Re.ev(O)&&S.push("txtdeco"+ae),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(M)&&S.push("ftsz"+((s=String(M))==null?void 0:s.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((l=String(j))==null?void 0:l.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Z)&&S.push("bgc"+((u=String(Z))==null?void 0:u.replace(/\./g,"_"))),Re.ev(ge)&&S.push("bs"+ge);let Vt,Rr,_r,Yr;Ga.default.is.exist(ee)&&(Ga.default.is.array(ee)?ee.length==2?[Vt,Rr,_r,Yr]=[...ee,...ee]:ee.length==4&&([Vt,Rr,_r,Yr]=ee):Vt=Rr=_r=Yr=ee,ye=ye!=null?ye:Vt,be=be!=null?be:Rr,he=he!=null?he:_r,H=H!=null?H:Yr),Re.ev(ye)&&S.push("mrgt"+ye),Re.ev(be)&&S.push("mrgr"+be),Re.ev(he)&&S.push("mrgb"+he),Re.ev(H)&&S.push("mrgl"+H);let $,P,R,z;Ga.default.is.exist(le)&&(Ga.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,de=de!=null?de:$,B=B!=null?B:P,W=W!=null?W:R,ie=ie!=null?ie:z),Re.ev(de)&&S.push("pdt"+de),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ie)&&S.push("pdl"+ie),Re.ev(te)&&S.push("pstt"+te),Re.ev(se)&&S.push("pstr"+se),Re.ev(we)&&S.push("pstb"+we),Re.ev(Se)&&S.push("pstl"+Se);{Ga.default.is.exist(je)&&(Ye=Ye!=null?Ye:je,Ge=Ge!=null?Ge:je,rt=rt!=null?rt:je,et=et!=null?et:je),Ga.default.is.boolean(Ye)&&(Ye=["unset","2.normal"][Number(Ye)]),Ga.default.is.boolean(Ge)&&(Ge=["unset","2.normal"][Number(Ge)]),Ga.default.is.boolean(rt)&&(rt=["unset","2.normal"][Number(rt)]),Ga.default.is.boolean(et)&&(et=["unset","2.normal"][Number(et)]),Re.ev(Ye)&&S.push("b_t_ss"+((h=String(Ye))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Ge)&&S.push("b_r_ss"+((p=String(Ge))==null?void 0:p.replace(/\./g,"_"))),Re.ev(rt)&&S.push("b_b_ss"+((m=String(rt))==null?void 0:m.replace(/\./g,"_"))),Re.ev(et)&&S.push("b_l_ss"+((g=String(et))==null?void 0:g.replace(/\./g,"_"))),Ga.default.is.exist(Nt)&&S.push("b_wth"+String(Nt)),Ga.default.is.exist($t)&&S.push("b_cl"+((b=String($t))==null?void 0:b.replace(/\./g,"_"))),Ga.default.is.exist(dt)&&S.push("b_st"+String(dt));{let G,oe,ne,Oe;Ga.default.is.exist(Xe)&&(Ga.default.is.array(Xe)?Xe.length==4&&([G,oe,Oe,ne]=Xe):G=oe=ne=Oe=Xe,ke=ke!=null?ke:G,ot=ot!=null?ot:oe,kt=kt!=null?kt:ne,Tt=Tt!=null?Tt:Oe)}Re.ev(ke)&&S.push("br_tl"+Re.toConcreteBorderRadius(ke)),Re.ev(ot)&&S.push("br_tr"+Re.toConcreteBorderRadius(ot)),Re.ev(kt)&&S.push("br_bl"+Re.toConcreteBorderRadius(kt)),Re.ev(Tt)&&S.push("br_br"+Re.toConcreteBorderRadius(Tt))}if(Re.ev(Gt)&&S.push("op"+Gt),Ga.default.is.exist(w)){let G,oe;Ga.default.is.array(w)?(G=w[0],oe=w[1]):G=oe=w,S.push("gapRow"+G,"gapCol"+oe)}Re.ev(wt)&&S.push("flsz"+wt),Re.ev(tr)&&S.push("flwrp"+tr),Re.ev(Ut)&&S.push("fltyp"+Ut),Re.ev(dr)&&S.push("flchld"+dr),Re.ev(ra)&&S.push("flgrid"+ra),Re.ev(qr)&&S.push("flvrt"+qr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(pr)&&S.push("grcnt"+pr),Re.ev(br)&&S.push("grcol"+br),Re.ev(ze)&&S.push("hgt"+ze),Re.ev(ga)&&S.push("wdt"+ga),Re.ev(ct)&&S.push("unthgt"+ct),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(xr)&&S.push("trnst"+xr),Re.ev(pa)&&S.push("maxh"+pa),Re.ev(kr)&&S.push("minh"+kr),Re.ev(vr)&&S.push("maxw"+vr),Re.ev(Pr)&&S.push("minw"+Pr)}return S.length?r+S.join(" "+r):""}},sm=r=>{let a=v({},r),{gradients:o,ssCardBox:s,ssSphere:l,ssSquare:f,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:S,isSemiBoldFont:w,isRounded:k,isSquare:L,freeCSS:N={}}=a,Y=$e(N,[]),M=$e(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},M=M||{},o){let{deg:j,colors:F}=o;Y=T(v({},Y),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(s){s===!0&&(s="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};s=="border"?j.border=!0:s=="plain"?(j.backgroundColor="layer.1",j.boxShadow="none"):s=="cloud"?j.backgroundColor="cloud":s=="shadow"&&(j.boxShadow="0.normal"),ht.get().darkMode=="dim"&&(j.boxShadow="1.normal"),ht.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=v(v({},j.freeCSS),Y),M=v(v({},j),M)}return l&&(m=m!=null?m:!0,M=v({padding:0,unitWidth:l,unitHeight:l,borderRadius:"sphere",flexSizing:"none"},M)),f&&(m=m!=null?m:!0,M=v({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},M)),u&&(M=v({transition:"middle"},M),M=T(v({},M),{className:[M.className,"ssPushable"].join(" ")})),h&&(M=v({position:"absolute",top:0,left:0,right:0,bottom:0},M)),p&&(M=v({overflow:"hidden"},M),Y=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(M=v({width:1,flexSizing:"none"},M)),m&&(M=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},M)),b&&(M.fontWeight="1.light"),w&&(M.fontWeight="3.semiBold"),S&&(M.fontWeight="4.bold"),k&&(M.borderRadius="sphere",Ga.default.is.number(k)&&(Y.borderRadius=k*12)),L&&(Y.aspectRatio="1"),T(v({},M),{freeCSS:Y})},To=r=>{let a=sm(r),{componentID:o,gap:s,display:l,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:N,marginRight:Y,marginBottom:M,marginLeft:j,padding:F,paddingTop:Z,paddingRight:O,paddingBottom:ae,paddingLeft:ge,top:ee,right:ye,bottom:be,left:he,border:H,borderTop:le,borderRight:de,borderBottom:B,borderLeft:W,borderWidth:ie,borderColor:te,borderStyle:se,borderRadius:we,borderTopLeftRadius:Se,borderTopRightRadius:je,borderBottomLeftRadius:Ye,borderBottomRightRadius:Ge,flexSizing:rt,flexWrap:et,flexType:Nt,flexChilds:$t,flexGrid:dt,horizontalAlign:Xe,verticalAlign:ke,transition:ot,gridCenter:kt,gridCols:Tt,maxHeight:wt,minHeight:tr,maxWidth:Ut,minWidth:dr,width:ra,height:jr,unitHeight:qr,unitWidth:xr,opacity:pr,ssLastChildLossBorder:br,ssAbsoluteCovered:pa,ssCardBox:kr,ssEffectsOnActive:vr,ssPushable:Pr,ssSphere:ga,ssSquare:ze,ssTextEllipsis:ct,isBoldFont:bt,isLightFont:Gt,isSemiBoldFont:Vt,isRounded:Rr,flexCenter:_r,flexNewLine:Yr,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=$e(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","fontHeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),oe=v({},G),ne=[R];if(br&&ne.push("ssLastChildLossBorder_"+br),vr){vr=Ga.default.flatArray(vr);for(let Oe of vr){let[Pe,Me]=Oe.split(".");oe["data-effect-"+Pe]="1",Me&&(oe["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:s,display:l,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:N,marginRight:Y,marginBottom:M,marginLeft:j,padding:F,paddingTop:Z,paddingRight:O,paddingBottom:ae,paddingLeft:ge,top:ee,right:ye,bottom:be,left:he,border:H,borderTop:le,borderRight:de,borderBottom:B,borderLeft:W,borderWidth:ie,borderColor:te,borderStyle:se,borderRadius:we,borderTopLeftRadius:Se,borderTopRightRadius:je,borderBottomLeftRadius:Ye,borderBottomRightRadius:Ge,flexSizing:rt,flexWrap:et,flexType:Nt,flexChilds:$t,flexGrid:dt,horizontalAlign:Xe,verticalAlign:ke,transition:ot,gridCenter:kt,gridCols:Tt,maxHeight:wt,minHeight:tr,maxWidth:Ut,minWidth:dr,width:ra,height:jr,unitHeight:qr,unitWidth:xr,opacity:pr});ne.push(Oe)}return P&&ne.push(Re.ClassNames("amotf_bp",P)),z&&(oe.style=v(v({},z),oe.style)),(o||oe["data-component-id"])&&(oe["data-component-id"]=oe["data-component-id"]||o),ne.length&&ne.join("")&&(oe.className=ne.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),oe},Ol=r=>{let{gap:a,display:o,position:s,overflow:l,fontColor:f,fontSize:u,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:g,textDecoration:b,boxShadow:S,margin:w,marginTop:k,marginRight:L,marginBottom:N,marginLeft:Y,padding:M,paddingTop:j,paddingRight:F,paddingBottom:Z,paddingLeft:O,top:ae,right:ge,bottom:ee,left:ye,border:be,borderTop:he,borderRight:H,borderBottom:le,borderLeft:de,borderWidth:B,borderColor:W,borderStyle:ie,borderRadius:te,borderTopLeftRadius:se,borderTopRightRadius:we,borderBottomLeftRadius:Se,borderBottomRightRadius:je,flexSizing:Ye,flexWrap:Ge,flexType:rt,flexChilds:et,flexGrid:Nt,horizontalAlign:$t,verticalAlign:dt,transition:Xe,gridCenter:ke,gridCols:ot,maxHeight:kt,minHeight:Tt,maxWidth:wt,minWidth:tr,width:Ut,height:dr,unitHeight:ra,unitWidth:jr,opacity:qr,ssLastChildLossBorder:xr,ssAbsoluteCovered:pr,ssCardBox:br,ssEffectsOnActive:pa,ssPushable:kr,ssSphere:vr,ssSquare:Pr,ssTextEllipsis:ga,isBoldFont:ze,isLightFont:ct,isSemiBoldFont:bt,isRounded:Gt,flexCenter:Vt,flexNewLine:Rr,gradients:_r,UnderBreakPointStyles:Yr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(s)&&(P.position=s),Re.ev(l)&&(P.overflow=l),Re.ev(f)&&(P.fontColor=f),Re.ev(u)&&(P.fontSize=u),Re.ev(h)&&(P.fontWeight=h),Re.ev(p)&&(P.fontHeight=p),Re.ev(m)&&(P.backgroundColor=m),Re.ev(g)&&(P.textAlign=g),Re.ev(b)&&(P.textDecoration=b),Re.ev(S)&&(P.boxShadow=S),Re.ev(w)&&(P.margin=w),Re.ev(k)&&(P.marginTop=k),Re.ev(L)&&(P.marginRight=L),Re.ev(N)&&(P.marginBottom=N),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(M)&&(P.padding=M),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(Z)&&(P.paddingBottom=Z),Re.ev(O)&&(P.paddingLeft=O),Re.ev(ae)&&(P.top=ae),Re.ev(ge)&&(P.right=ge),Re.ev(ee)&&(P.bottom=ee),Re.ev(ye)&&(P.left=ye),Re.ev(be)&&(P.border=be),Re.ev(he)&&(P.borderTop=he),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(de)&&(P.borderLeft=de),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ie)&&(P.borderStyle=ie),Re.ev(te)&&(P.borderRadius=te),Re.ev(se)&&(P.borderTopLeftRadius=se),Re.ev(we)&&(P.borderTopRightRadius=we),Re.ev(Se)&&(P.borderBottomLeftRadius=Se),Re.ev(je)&&(P.borderBottomRightRadius=je),Re.ev(Ye)&&(P.flexSizing=Ye),Re.ev(Ge)&&(P.flexWrap=Ge),Re.ev(rt)&&(P.flexType=rt),Re.ev(et)&&(P.flexChilds=et),Re.ev(Nt)&&(P.flexGrid=Nt),Re.ev($t)&&(P.horizontalAlign=$t),Re.ev(dt)&&(P.verticalAlign=dt),Re.ev(Xe)&&(P.transition=Xe),Re.ev(ke)&&(P.gridCenter=ke),Re.ev(ot)&&(P.gridCols=ot),Re.ev(kt)&&(P.maxHeight=kt),Re.ev(Tt)&&(P.minHeight=Tt),Re.ev(wt)&&(P.maxWidth=wt),Re.ev(tr)&&(P.minWidth=tr),Re.ev(Ut)&&(P.width=Ut),Re.ev(dr)&&(P.height=dr),Re.ev(ra)&&(P.unitHeight=ra),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(qr)&&(P.opacity=qr),Re.ev(xr)&&(P.ssLastChildLossBorder=xr),Re.ev(pr)&&(P.ssAbsoluteCovered=pr),Re.ev(br)&&(P.ssCardBox=br),Re.ev(pa)&&(P.ssEffectsOnActive=pa),Re.ev(kr)&&(P.ssPushable=kr),Re.ev(vr)&&(P.ssSphere=vr),Re.ev(Pr)&&(P.ssSquare=Pr),Re.ev(ga)&&(P.ssTextEllipsis=ga),Re.ev(ze)&&(P.isBoldFont=ze),Re.ev(ct)&&(P.isLightFont=ct),Re.ev(bt)&&(P.isSemiBoldFont=bt),Re.ev(Gt)&&(P.isRounded=Gt),Re.ev(Vt)&&(P.flexCenter=Vt),Re.ev(Rr)&&(P.flexNewLine=Rr),Re.ev(_r)&&(P.gradients=_r),Re.ev($)&&(P.freeCSS=$),Re.ev(Yr)&&(P.UnderBreakPointStyles=Yr),P};var vl=K(At());var jg=r=>{var a;let o=El.catch("LaunchReactApp_"+ht.get().sessionUID);return(0,vl.jsxs)(vl.Fragment,{children:[(0,vl.jsx)("style",{children:r.inlineCSS}),(0,vl.jsxs)("amotify-app",{id:"appRoot_"+ht.get().sessionUID,children:[(0,vl.jsx)(mc.Pudding.Wrapper,{}),(0,vl.jsx)(mc.Ripple.Wrapper,{}),(0,vl.jsx)(Ao.Wrapper,{}),(0,vl.jsx)(ns.Wrapper,{}),(0,vl.jsx)(sr.Wrapper,{}),(0,vl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o||"")]})]})};var Hg=K(ar()),vt=r=>{let a=ht.get().appRoot;return Hg.default.is.shadowRoot(a)?(0,Hg.default)(a).find(r):(0,Hg.default)(r)};var F$=K(Bw());Jr(Fr,K(Bw()));var j$=K(Fw());Jr(Fr,K(Fw()));var H$=v(v(v(v(v(v({},zw),QS),nw),F$),j$),Pw);var en=K(At()),U$=()=>{let[r,a]=(0,op.useState)((0,en.jsxs)(en.Fragment,{children:["Hello World ",(0,en.jsx)("br",{}),"Hello World ",(0,en.jsx)("br",{}),"Hello World ",(0,en.jsx)("br",{}),"Hello World"]})),o="accordionIDD";return(0,en.jsx)(X,{children:(0,en.jsx)(_g,{size:"S",children:(0,en.jsxs)(er,{padding:2,children:[(0,en.jsx)(wa.TextField.Money.JPY,{label:"\u91D1\u984D",form:"test",name:"price",required:!0,allowDecimals:!0,onUpdateValidValue:s=>{console.log(s,Number(s))}}),(0,en.jsx)(lt.Sub,{submitOption:{formName:"test",callback:s=>{console.log(s)}},children:"Submit"})]})})})};Ug.default.scope(()=>{var o;let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),ht.launch({appRoot:r,roundness:(o=Ug.default.localStrage.get("prf.roundness"))!=null?o:4,themeColor:"battery",darkMode:Ug.default.localStrage.get("prf.darkMode")||"auto"});let a=()=>{let s=Ps.useLocation(),l=Ps.useNavigate();return(0,op.useEffect)(()=>{Pn.setPushEffect(f=>{if(f.match(/^#/)){console.log(f),console.log(window.location.pathname);return}l(f)}),Pn.setBackEffect(()=>{l(-1)})},[]),Fg({pathname:s.pathname}),(0,en.jsx)(Ps.Routes,{children:(0,en.jsx)(Ps.Route,{path:"*",element:(0,en.jsx)(U$,{})},"*")})};JM.default.createRoot(r).render((0,en.jsx)(op.StrictMode,{children:(0,en.jsx)(jg,{children:(0,en.jsx)(Ps.BrowserRouter,{children:(0,en.jsx)(a,{})})})}))});
980
+ T`.repeat(m-1)}let h=Ol(a);return(0,cr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",width:1,freeCSS:T(v({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,cr.jsx)(X,{"data-input-value-shallow":o.componentID,children:l})})),(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",left:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:f})),(0,cr.jsx)(or.Description,T(v({className:a.className},h),{position:"absolute",right:0,freeCSS:T(v({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:u}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:s,val_status:l,set_status:f,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m}=r;if(a.multiline)return null;let g=a,{componentID:b,tone:S,required:w,restrict:k="text",form:L,autoComplete:N="off",autoCapitalize:Y="off",minRows:M,maxRows:j,multiline:F,autoHeight:Z,enableFormSubmit:O,clearButton:ae=!1,allowDecimals:ge,allowZeroStart:ee,checkValidationAtFirst:ye,onChange:be,onKeyDown:he,onValidate:H,onUpdateValue:le,onUpdateValidValue:de,value:B="",leftIndicator:W,rightIndicator:ie,leftIcon:te,rightIcon:se,maxLength:we,min:Se,max:je,label:Ye,isLabelActive:Ge,wrapStyles:rt}=g,et=$e(g,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","allowDecimals","allowZeroStart","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),Nt=k=="password"||k=="concealed"?"password":"text",$t=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,cr.jsx)(X,T(v({htmlTag:"input",type:Nt,inputMode:$t,"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(o,l,!!ye),"data-component-id":l.componentID,"data-input-origin":l.componentID,value:l.formatValue,autoComplete:N,autoCapitalize:Y,onKeyDown:dt=>{let{key:Xe,target:ke}=dt;{let it=ke,{selectionStart:kt,selectionEnd:Tt}=it,wt=Number(kt),tr=Number(Tt),Ut=l.formatValue[Number(wt)],dr=l.formatValue[Number(wt)-1];Xe=="Delete"&&(k=="creditCard"&&Ut==" "||k=="postal"&&Ut=="-"||k=="digitNumber"&&Ut==",")&&(it.setSelectionRange(wt+1,tr+1),dt.preventDefault()),Xe=="Backspace"&&(k=="creditCard"&&dr==" "||k=="postal"&&dr=="-"||k=="digitNumber"&&dr==",")&&(it.setSelectionRange(wt-1,tr-1),dt.preventDefault()),Xe=="Enter"||Xe=="Tab"}_a.default.scope(()=>{["number","digitNumber","creditCard"].includes(k)&&Xe=="Clear"&&f(it=>T(v({},it),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,_a.UUID)()}))}),_a.default.scope(()=>{var it;if(!["number","digitNumber"].includes(k)||!["ArrowUp","ArrowDown"].includes(Xe))return;let kt=+(Xe=="ArrowUp")*2-1,Tt=l.dataValue.slice(-1),wt=l.dataValue,tr=((it=l.dataValue.split(".")[1])==null?void 0:it.length)||0;if(!Tt)wt+="0";else if(Tt=="-")wt+="0";else if(Tt==".")wt+="0";else if(tr){let Ut=Number(Tt)+kt;wt=wt.slice(0,-1),Ut<0?wt+="9":Ut>9?wt+="0":wt+=String(Ut)}else wt=String(Number(l.dataValue.replace(/,/g,""))+kt);o.ok&&s({ok:!1,notice:[]}),f(Ut=>T(v(v({},Ut),Nl.Validation.DataLeveling({allowDecimals:ge,allowZeroStart:ee,min:Se,max:je,restrict:k,value:wt})),{eventType:"update",eventID:(0,_a.UUID)()})),dt.preventDefault()}),he&&he(dt),O&&jt.SubmitForm(dt,L)},onChange:dt=>{let{value:Xe,selectionStart:ke,selectionEnd:it}=dt.target,kt=Nl.Validation.DataLeveling({allowDecimals:ge,allowZeroStart:ee,min:Se,max:je,restrict:k,value:Xe});p&&(kt.formatValue=Xe),kt.formatValue!=l.formatValue&&(o.ok&&s({ok:!1,notice:[]}),f(Tt=>T(v(v({},Tt),kt),{prevValue:l.formatValue,eventType:"update",eventID:(0,_a.UUID)(),caretFrom:Number(ke),caretTo:Number(it)})),be&&be(dt))},width:1},et),{onFocus:dt=>{et!=null&&et.onFocus&&(et==null||et.onFocus(dt)),h(!0)},onBlur:dt=>{et!=null&&et.onBlur&&(et==null||et.onBlur(dt)),h(!1)},onCompositionStart:dt=>{et!=null&&et.onCompositionStart&&(et==null||et.onCompositionStart(dt)),m(!0)},onCompositionEnd:dt=>{if(et!=null&&et.onCompositionEnd&&(et==null||et.onCompositionEnd(dt)),k=="text")return;let Xe=Nl.Validation.DataLeveling({allowDecimals:ge,allowZeroStart:ee,min:Se,max:je,restrict:k,value:l.formatValue});f(ke=>T(v(v({},ke),Xe),{prevValue:ke.formatValue,eventType:"update",eventID:(0,_a.UUID)(),caretFrom:Number(ke.formatValue.length+1),caretTo:Number(ke.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:s,val_validate:l,set_validate:f,val_status:u,set_status:h,isShallow:p}=r,m=a,{componentID:g,tone:b,required:S,form:w,label:k,isLabelActive:L,minRows:N,maxRows:Y,multiline:M,autoHeight:j,allowDecimals:F,allowZeroStart:Z,enableFormSubmit:O,maxLength:ae,checkValidationAtFirst:ge,onChange:ee,onKeyDown:ye,onValidate:be,onUpdateValue:he,onUpdateValidValue:H,value:le="",leftIndicator:de,rightIndicator:B,leftIcon:W,rightIcon:ie,wrapStyles:te}=m,se=$e(m,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","allowDecimals","allowZeroStart","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,cr.jsx)(X,T(v({htmlTag:"textarea","data-show-validation":jt.isShowValidation(l,u,!!ge),"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},se),{onFocus:we=>{se!=null&&se.onFocus&&(se==null||se.onFocus(we)),s(!0)},onBlur:we=>{se!=null&&se.onBlur&&(se==null||se.onBlur(we)),s(!1)},onKeyDown:we=>{ye&&ye(we),O&&jt.SubmitForm(we,w)},onChange:we=>{let{value:Se}=we.target;l.ok&&f({ok:!1,notice:[]}),h(je=>T(v({},je),{dataValue:Se,eventType:"update",eventID:(0,_a.UUID)()})),ee&&ee(we)}})):null}},m$=r=>{let{componentID:a,restrict:o="text",value:s="",min:l,max:f,allowDecimals:u,allowZeroStart:h}=r,[p,m]=(0,Ns.useState)(!1),[g,b]=(0,Ns.useState)(!1),[S,w]=(0,Ns.useState)(T(v({componentID:a},Nl.Validation.DataLeveling({allowDecimals:u,allowZeroStart:h,min:l,max:f,restrict:o,value:s})),{prevValue:"",eventType:"init",eventID:(0,_a.UUID)(),caretFrom:null,caretTo:null})),[k,L]=(0,Ns.useState)({ok:!1,notice:[]}),N={rootStates:r,val_focus:p,set_focus:m,val_isComposing:g,set_isComposing:b,val_status:S,set_status:w,val_validate:k,set_validate:L};return jt.CommonEffects({type:"textfield",states:r,val_status:S,set_status:w,val_validate:k,set_validate:L,SystemValidation:Nl.Validation.System,ExtraOverrideStates:v({},Nl.Validation.DataLeveling({allowDecimals:u,allowZeroStart:h,min:l,max:f,restrict:o,value:s}))}),(0,Ns.useEffect)(()=>{Nl.setSelection({id:r.id,restrict:o,val_status:S})},[S]),(0,cr.jsxs)(ja,{val_status:S,set_status:w,val_validate:k,states:N.rootStates,children:[(0,cr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||p||!!S.dataValue}),(0,cr.jsx)(Nl.Shallow,v({},N)),(0,cr.jsx)(Nl.InputBox,v({},N)),(0,cr.jsx)(Nl.TextAreaBox,v({},N))]})},rs=r=>(r=v({autoHeight:!0,restrict:"text",fontSize:"inherit"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,cr.jsx)(Ra,{componentID:r.componentID,children:m$,states:Vn(r)})),mn=rs;mn.Validate=Nl.Validation.Text,mn.Katakana=r=>(0,cr.jsx)(rs,T(v({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),mn.HankakuKatakana=r=>(0,cr.jsx)(rs,T(v({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),mn.CreditCard=r=>(0,cr.jsx)(rs,T(v({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),mn.Tel=r=>(0,cr.jsx)(rs,T(v({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),mn.Number=r=>(0,cr.jsx)(rs,T(v({},r),{restrict:"number",multiline:!1,autoHeight:!1})),mn.DigitNumber=r=>(0,cr.jsx)(rs,T(v({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),mn.Email=r=>(0,cr.jsx)(rs,T(v({},r),{restrict:"email",multiline:!1,autoHeight:!1})),mn.Url=r=>(0,cr.jsx)(rs,T(v({},r),{restrict:"url",multiline:!1,autoHeight:!1})),mn.Postal=r=>{let[a]=(0,Ns.useState)((0,_a.UUID)());return(0,Ns.useEffect)(()=>()=>{_a.useStore.delete(a)},[]),(0,cr.jsx)(rs,T(v({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,cr.jsx)($d,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},mn.Password=r=>(0,cr.jsx)(rs,T(v({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,cr.jsx)(Fa,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,cr.jsx)(nt.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{_c.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:_c.abort,tabIndex:-1,onClick:a=>{(0,_a.default)(a.target).parent().parent().find("input").callback(o=>{let s=o[0];s.type=s.type==="password"?"text":"password"})},children:(0,cr.jsx)(Ne,{icon:Q7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),mn.Concealed=r=>(0,cr.jsx)(mn.Password,T(v({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),mn.Money={JPY:r=>(0,cr.jsx)(mn.DigitNumber,T(v({rightIcon:(0,cr.jsx)(Fa,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var Eg=K(At()),J7=K(ar()),cw=K(fr());function v$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a&&l.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var _$=r=>{let a=r,{componentID:o,tone:s,required:l,form:f,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,children:k="",leftIndicator:L,rightIndicator:N,leftIcon:Y,rightIcon:M,freeCSS:j,wrapStyles:F}=a,Z=$e(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[O,ae]=(0,cw.useState)(jt.DefaultStatus(o,u)),[ge,ee]=(0,cw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"contenteditable",states:r,val_status:O,set_status:ae,val_validate:ge,set_validate:ee,SystemValidation:v$}),(0,Eg.jsx)(ja,{val_status:O,set_status:ae,val_validate:ge,states:r,children:(0,Eg.jsx)(X,T(v({contentEditable:!0,"data-show-validation":jt.isShowValidation(ge,O,!!p),"data-component-id":O.componentID,onKeyDown:ye=>{g&&g(ye),h&&jt.SubmitForm(ye,f)},onInput:ye=>{let be=ye.currentTarget,{innerHTML:he,innerText:H}=be;ge.ok&&ee({ok:!1,notice:[]}),ae(le=>T(v({},le),{dataValue:H,eventType:"update",eventID:(0,J7.UUID)()})),m&&m(ye)}},Z),{children:k}))})},Z7=r=>{r=T(v({rows:5},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Vn(r);return(0,Eg.jsx)(Ra,{componentID:r.componentID,children:_$,states:a})};var vm=K(At()),uw=K(fr()),Xd=K(ar());function g$(r){let{value:a,states:o}=r,{required:s,numericOnly:l=!1,digits:f}=o,u=[];return s&&!a&&u.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(l&&a.match(/\D/)&&u.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=f&&u.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!u.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:u}}var b$=(r,a="")=>{let o=String(a),s=[];for(let l=0;l<r;l++)s[l]=o[l]||"";return{formatValue:s,dataValue:o}},eO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},y$=r=>{let a=r,{tone:o,required:s,form:l,name:f,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:N="",override:Y,freeCSS:M,wrapStyles:j,combineInput:F,componentID:Z,listStyles:O}=a,ae=$e(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[ge,ee]=(0,uw.useState)(T(v({componentID:r.componentID||""},b$(h,N)),{eventType:"init",eventID:(0,Xd.UUID)()})),[ye,be]=(0,uw.useState)({ok:!1,notice:[]});jt.CommonEffects({type:"textfield",states:r,val_status:ge,set_status:ee,val_validate:ye,set_validate:be,SystemValidation:g$});let he=[];for(let H=0;H<h;H++){let le=ge.formatValue[H],de={},B=u;r.combineInput&&(B=[u,Hd("DigitCharacterCell"),Hd("Combined")].join(" ")),he.push((0,vm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+ge.componentID,className:B,style:v(v({},r.style),de),onKeyDown:W=>{let{key:ie,code:te}=W;if(ie=="Tab")return;W.preventDefault();let se=null;if(ie=="Backspace"){let we=ge.formatValue;we[H]="",ee(Se=>T(v(v({},Se),eO(we)),{eventType:"update",eventID:(0,Xd.UUID)()})),se=H-1}else if(["ArrowLeft","ArrowRight"].includes(ie)){let we=+(ie=="ArrowRight")*2-1;se=H+we}else m&&jt.SubmitForm(W,l),(()=>{let we=te.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!we)return;let Se=we[2]||we[3]||we[4];if(p&&!Se.match(/\d/)||!Se)return;let je=ge.formatValue;je[H]=Se,ee(Ye=>T(v(v({},Ye),eO(je)),{eventType:"update",eventID:(0,Xd.UUID)()})),se=H+1})();Xd.default.is.exist(se)&&vt("#Digit-"+se+"-"+ge.componentID).focus()},onChange:()=>{}},H))}return(0,vm.jsx)(ja,{val_status:ge,set_status:ee,val_validate:ye,states:r,children:(0,vm.jsx)(Lt,T(v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},O),{children:he}))})},tO=r=>{r=v({},r),r=v({textAlign:"center",width:0},r),r.combineInput&&(r=T(v({textAlign:"center",width:0},r),{freeCSS:v({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:v({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=To(Vn(r));return(0,vm.jsx)(Ra,{componentID:r.componentID,children:y$,states:a})};var ta=K(At()),vn=K(ar()),_m=K(ar()),Do=K(fr());var yO=K(sO()),SO=K(vO());var ur=K(At()),en=K(ar()),gc=K(fr());function S$(r){let{value:a,states:o}=r,{required:s,options:l}=o,f=[];return s&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:u})=>u=="invalid").length,notice:f}}var pw={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(s=>s.type!="label")),o}},vu={Shallow:r=>{let{rootStates:a,val_status:o}=r,s=Ol(a);return(0,ur.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ur.jsx)(or.Description,T(v({className:a.className},s),{position:"absolute",width:1,freeCSS:T(v({},s.freeCSS),{color:"orange"}),children:(0,ur.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(vu.LegacySelector,v({},r)),(0,ur.jsx)(vu.Original,v({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,ur.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:s,val_optionFocused:l,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:N,label:Y,isLabelActive:M,placeholder:j,enableFormSubmit:F,emptySelect:Z,checkValidationAtFirst:O,onValidate:ae,onUpdateValue:ge,onUpdateValidValue:ee,value:ye="",options:be,leftIndicator:he,rightIndicator:H,leftIcon:le,rightIcon:de,componentID:B,status_id:W,wrapStyles:ie,SelectedCellStyles:te,SelectorCellStyles:se,SelectorMode:we,SelectorStyles:Se,SelectorPosition:je}=S,Ye=$e(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return(0,gc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||a.disabled)return;let Ge="select-click-"+a.componentID;if(g){if(!(0,en.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,en.default)(document).addEvent({eventID:Ge,eventType:"click",callback:rt=>{let et=(0,en.default)(rt.target),Nt=!!(0,en.default)(et).parent("."+Rl("Core")).length;(0,en.default)(et).parent("."+Rl("Selector")).length||Nt||b(!1)}})}else(0,en.default)(document).removeEvent([Ge])},[g]),(0,gc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!g)return;let Ge=(0,en.default)('[data-input-origin="'+a.componentID+'"]');Ge&&Ge.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,ur.jsxs)(ur.Fragment,{children:[(0,ur.jsx)(X,T(v({tabIndex:0},Ye),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(u,p,!!O),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[N,Rl("Core")].join(" "),onFocus:Ge=>{if(Ye!=null&&Ye.onFocus&&(Ye==null||Ye.onFocus(Ge)),!a.disabled){if(o)return s(!1);b(!0)}},onClick:Ge=>{Ye!=null&&Ye.onClick&&(Ye==null||Ye.onClick(Ge)),!a.disabled&&b(!0)},onKeyDown:Ge=>{let{key:rt,metaKey:et,ctrlKey:Nt}=Ge,$t=et||Nt;if(Ye!=null&&Ye.onKeyDown&&(Ye==null||Ye.onKeyDown(Ge)),F&&jt.SubmitForm(Ge,L),!a.disabled){if(en.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(rt))return;if(Ge.preventDefault(),!g)return b(!0);let dt=rt=="ArrowDown"?1:-1,Xe=pw.FilterSelectableOptions(r),ke=Xe.length-1,it=null;en.default.scope(()=>{var kt,Tt,wt,tr,Ut,dr,ra,jr,qr,xr;let pr=Xe.findIndex(br=>br.value==l);if(dt==1){if(it=(Tt=(kt=Xe[0])==null?void 0:kt.value)!=null?Tt:null,$t){it=(wt=Xe[ke].value)!=null?wt:null;return}if(pr==-1||pr==ke)return;it=(Ut=(tr=Xe[pr+1])==null?void 0:tr.value)!=null?Ut:null}else{if(it=(dr=Xe[ke].value)!=null?dr:null,$t){it=(jr=(ra=Xe[0])==null?void 0:ra.value)!=null?jr:null;return}if(pr==-1||pr==0)return;it=(xr=(qr=Xe[pr-1])==null?void 0:qr.value)!=null?xr:null}}),f(it)}),rt=="Escape")b(!1);else if(rt=="Tab")b(!1);else if(rt=="Backspace")m(dt=>T(v({},dt),{dataValue:null,eventType:"update",eventID:(0,en.UUID)()}));else if(rt==" ")Ge.preventDefault(),b(!0);else if(rt=="Enter"){if(!g)return b(!0);Ge.preventDefault();let dt=a.options.find(Xe=>Xe.value==l);if(!dt)return;m(Xe=>T(v({},Xe),{dataValue:dt.value,eventType:"update",eventID:(0,en.UUID)()})),b(!1)}}},children:(0,ur.jsxs)(gt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,ur.jsx)(vu.Placeholder,v({},r)),(0,ur.jsx)(vu.Selected,v({},r)),(0,ur.jsx)(Cn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,ur.jsx)(vu.Selector,v({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:s,val_optionFocused:l,set_optionFocused:f,val_validate:u,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:N,label:Y,isLabelActive:M,placeholder:j,enableFormSubmit:F,emptySelect:Z,checkValidationAtFirst:O,onValidate:ae,onUpdateValue:ge,onUpdateValidValue:ee,onKeyDown:ye,onChange:be,value:he="",options:H,leftIndicator:le,rightIndicator:de,leftIcon:B,rightIcon:W,componentID:ie,status_id:te,wrapStyles:se,SelectedCellStyles:we,SelectorCellStyles:Se,SelectorMode:je,SelectorStyles:Ye,SelectorPosition:Ge}=S,rt=$e(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","onKeyDown","onChange","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return r.rootStates.SelectorMode!="legacy"?null:(0,ur.jsxs)(X,T(v({htmlTag:"select",tabIndex:0},rt),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(u,p,!!O),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[N,Rl("Core")].join(" "),onKeyDown:et=>{ye&&ye(et),F&&jt.SubmitForm(et,L)},onChange:et=>{let{value:Nt}=et.target;u.ok&&h({ok:!1,notice:[]}),m($t=>T(v({},$t),{dataValue:Nt,eventType:"update",eventID:(0,en.UUID)()})),be&&be(et)},children:[!!Z&&(0,ur.jsx)("option",{value:"null",children:"\u9078\u629E"}),H.map(et=>en.default.is.nullish(et.value)?null:(0,ur.jsx)("option",{value:et.value,children:et.label},String(et.value)))]}))},Selector:r=>{var a;let o=[],s=pw.FilterSelectableOptions(r,!0),l=pw.FilterSelectableOptions(r);s.forEach((u,h)=>{let{type:p,value:m}=u,g=r.val_optionFocused==m,b=r.val_status.dataValue===m;if(p=="selector"){o.push((0,ur.jsx)(nt.Sub.S,T(v({color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:b||g,isActiveStyles:g?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"}},r.rootStates.SelectorCellStyles),{onClick:S=>{r.set_status(w=>T(v({},w),{dataValue:m,eventType:"update",eventID:(0,en.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,ur.jsxs)(gt.Left,{gap:"1/2",children:[b&&(0,ur.jsx)(Ne.Check,{fontColor:"theme"}),(0,ur.jsx)(or.Supplement,{transition:"short",flexSizing:0,children:u.label})]})}),String(m)));return}o.push((0,ur.jsx)(X,{children:u.label},(0,en.UUID)()))}),l.length||(o=[(0,ur.jsx)(or.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let f={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:f.bottom="100%",f.left=0,f.paddingBottom="1/3";break;case 2:f.bottom="100%",f.right=0,f.paddingBottom="1/3";break;case 3:f.top="100%",f.left=0,f.paddingTop="1/3";break;case 4:f.top="100%",f.right=0,f.paddingTop="1/3";break;default:break}return(0,ur.jsx)(X,T(v({},f),{children:(0,ur.jsx)(sr.Body,T(v({className:Rl("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,ur.jsx)(er,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&en.default.scope(()=>{let o=r.rootStates.options.find(s=>en.default.is.equal(s.value,r.val_status.dataValue));o&&a.push((0,ur.jsx)(X,T(v({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,ur.jsx)(ur.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[s,l]=(0,gc.useState)(jt.DefaultStatus(r.componentID,o)),[f,u]=(0,gc.useState)(!1),[h,p]=(0,gc.useState)(!1),[m,g]=(0,gc.useState)((a=r.value)!=null?a:null),[b,S]=(0,gc.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:u,val_optionFocused:m,set_optionFocused:g,val_selectorOpen:h,set_selectorOpen:p,val_status:s,set_status:l,val_validate:b,set_validate:S};return jt.CommonEffects({type:"select",states:r,val_status:s,set_status:l,val_validate:b,set_validate:S,SystemValidation:S$}),(0,ur.jsxs)(ja,{val_status:s,set_status:l,val_validate:b,states:r,children:[(0,ur.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||s.dataValue!==null}),(0,ur.jsx)(vu.Shallow,v({},w)),(0,ur.jsx)(vu.Button,v({},w))]})}},as=r=>{var a;let o=v({},r);return o=T(v({emptySelect:!0,SelectorMode:"original",SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,ur.jsx)(or.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((s,l)=>{let{type:f,value:u}=s;o.options[l]=T(v({},s),{value:u,type:f||"selector"})}),en.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,ur.jsx)(Fa,{ssSphere:2,children:(0,ur.jsx)(Ne.AngleDown,{})})),(0,ur.jsx)(Ra,{componentID:o.componentID,children:vu.Core,states:Vn(o)})};var Fe=K(At()),gO=K(fr()),Ar=K(ar()),bc=K(fr());var Ma=K(At()),Ml=K(ar()),hw=K(fr());function w$(r){let{value:a,states:o}=r,{type:s,required:l,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.length;return l&&(p||s=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var _u={InitOptions:r=>{let a=[];return r.forEach(o=>{let{label:s,value:l}=o;Ml.default.is.nullish(s)&&(s=String(l)),a.push(T(v({},o),{label:s,value:l}))}),a},OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,s=Ml.default.is.exist(a)?Ml.default.flatArray(a):[],l=[];return s.forEach(f=>{o.findIndex(u=>Ml.default.is.equal(u.value,f))!=-1&&l.push(f)}),(0,Ma.jsx)(_u.Core,T(v({},r),{value:l,options:o}))},Core:r=>{let a=r,{type:o,tone:s,required:l,componentID:f="",form:u,override:h,icon:p,iconType:m,iconSize:g,iconPosition:b,iconColor:S,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:N,onUpdateValue:Y,onUpdateValidValue:M,value:j,options:F,className:Z,cellStyles:O,cellClassName:ae,cellCheckedStyles:ge,cellCheckedClassName:ee,min:ye,max:be,hideInput:he,freeCSS:H,wrapStyles:le}=a,de=$e(a,["type","tone","required","componentID","form","override","icon","iconType","iconSize","iconPosition","iconColor","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[B,W]=(0,hw.useState)(jt.DefaultStatus(f,j)),[ie,te]=(0,hw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ie,set_validate:te,SystemValidation:w$}),(0,Ma.jsx)(ja,{val_status:B,set_status:W,val_validate:ie,states:r,children:(0,Ma.jsx)(_u.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:s}=r,{componentID:l,type:f,tone:u,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:S,form:w,tabIndex:k,hideInput:L,disabled:N,className:Y,cellStyles:M,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Z="",enableFormSubmit:O}=a,{dataValue:ae}=o,ge=a.CustomIcon,ee=b.map((ye,be)=>{let he=ye,{value:H,label:le,disabled:de,className:B="",checkedStyles:W,checkedClassName:ie="",freeCSS:te}=he,se=$e(he,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),we=(0,Ml.UUID)(),Se=ae.findIndex(et=>et===H)!=-1,je=v(v({},M),se),Ye=[cf("Label"),j,B];Se&&(je=T(v(v(v({},je),F),W),{freeCSS:v(v(v({},je==null?void 0:je.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),Ye=[...Ye,Z,ie]);let Ge=()=>{if(N||de)return;let et=[];if(f=="radio")et=[H];else if(f=="checkbox"||g)if(!Se)et=[...o.dataValue,H];else{let Nt=[...o.dataValue];Nt.splice(o.dataValue.findIndex($t=>$t==H),1),et=Nt}s(Nt=>T(v({},Nt),{dataValue:et,eventType:"update",eventID:(0,Ml.UUID)()}))},rt=[(0,Ma.jsx)(Cn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:Ml.default.is.string(le)?(0,Ma.jsx)(X,{children:le}):le},"content")];return h&&rt[a.iconPosition=="right"?"push":"unshift"]((0,Ma.jsx)(ge,{isChecked:Se,iconSize:p,iconColor:m,toggle:Ge},"icon")),[(0,Ma.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:cf("Input"),name:"RadioCheckbox-"+S,"data-list-index":l+"-"+be,id:we,value:String(H),disabled:N||de,checked:Se,onFocus:et=>{de||f=="radio"&&(o.dataValue.length||s(Nt=>T(v({},Nt),{dataValue:[H],eventType:"update",eventID:(0,Ml.UUID)()})))},onChange:()=>{Ge()},onKeyDown:et=>{let{key:Nt,shiftKey:$t}=et;if((f=="checkbox"||r.rootStates.isChecker)&&Nt!="Tab"&&Nt.match(/Arrow/)){et.preventDefault();let dt=["ArrowLeft","ArrowUp"].includes(Nt)?-1:1,Xe=be+dt;Xe<0?Xe=b.length-1:Xe>=b.length&&(Xe=0),vt(`input[data-list-index="${l}-${Xe}"]`).focus()}O&&jt.SubmitForm(et,w)},tabIndex:k},"List-"+Ml.default.Stringify(H)),(0,Ma.jsx)(X,T(v({htmlTag:"label","data-disabled":N||de,htmlFor:we,className:Ye.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},je),{children:rt}),"ListTrigger-"+Ml.default.Stringify(H))]});return(0,Ma.jsx)(Lt,{flexSizing:"auto",style:a.style,freeCSS:v({},a.freeCSS),className:[Y,cf("CellBase"),cf("HideInput_"+L),cf("IconIndicator_"+!!h),cf("Tone_"+u)].join(" "),children:ee})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Ma.jsx)(nt.Normal,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:2,freeCSS:{transform:`scale(${a})`},onClick:o=>{o.preventDefault(),o.stopPropagation(),r.toggle()},children:r.children})},RadioIcon:r=>(0,Ma.jsx)(_u._Icon,T(v({type:"radio"},r),{children:(0,Ma.jsx)(X,{flexCenter:!0,isRounded:!0,border:r.isChecked?"0.trans":"3.thick",borderColor:r.isChecked?r.iconColor:"3.thick",position:"relative",transition:"middle",freeCSS:{width:"50%",height:"50%"},children:(0,Ma.jsx)(X,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.iconColor,opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.4)"}})})})),CheckboxIcon:r=>(0,Ma.jsx)(_u._Icon,T(v({type:"checkbox"},r),{children:(0,Ma.jsx)(X,{flexCenter:!0,boxShadow:r.isChecked?"0.remark":"none",border:r.isChecked?"0.trans":"3.thick",backgroundColor:r.isChecked?r.iconColor:"trans",position:"relative",transition:"middle",fontColor:"white",freeCSS:{borderRadius:"25%",padding:"4%",width:"50%",height:"50%"},children:(0,Ma.jsx)(Ne.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},mw=r=>{r=r||"checkbox";let a=s=>(s=T(v({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},s),{type:r,cellStyles:v({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},s.cellStyles)}),s.CustomIcon||(s.iconType=="radio"?s.CustomIcon=_u.RadioIcon:s.iconType=="checkbox"&&(s.CustomIcon=_u.CheckboxIcon)),s.iconSize=="small"?s.cellStyles.gap=0:s.iconSize=="large"&&(s.cellStyles.gap="1/2"),s.tone=="normal"?(s.cellStyles=v({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},s.cellStyles),s.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},s.cellCheckedStyles)):s.tone=="border"?(s.cellStyles=v({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},s.cellStyles),s.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},s.cellCheckedStyles)):s.tone=="cloud"&&(s.cellStyles=v({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},s.cellStyles),s.cellCheckedStyles=v({backgroundColor:"cloud",fontColor:"theme"},s.cellCheckedStyles)),s=To(s),s.options=_u.InitOptions(s.options),(0,Ma.jsx)(Ra,{componentID:s.componentID,children:_u.OptionalListWrapper,states:s})),o=a;return o.Normal=s=>(0,Ma.jsx)(a,v({type:r,tone:"normal",icon:!1},s)),o.Border=s=>(0,Ma.jsx)(a,v({type:r,tone:"border"},s)),o.Cloud=s=>(0,Ma.jsx)(a,v({type:r,tone:"cloud"},s)),o.Vivid=s=>(0,Ma.jsx)(a,v({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},s)),o.Simple=s=>(0,Ma.jsx)(a,v({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},s)),o},vf=mw("radio"),Rg=mw("checkbox"),_O=mw();var vw=r=>{var a,o;let s=[],l=Number((a=r==null?void 0:r.min)!=null?a:1900),f=Number((o=r==null?void 0:r.max)!=null?o:(0,Ar.Time)().addYear(10).year);for(let u=l;u<=f;u++)s.unshift({value:u,label:[u,...Ar.default.transformer.wareki(u).value].join(" -")});return s},bO=r=>{let{restrict:a,era:o="year",defaultValue:s=""}=r;r=v({},r),r.sheetID=r.sheetID||(0,Ar.UUID)();let l=(0,bc.useRef)(!1),[f,u]=(0,bc.useState)((()=>{var p,m;if(a=="clock"){let g=String(s).split(/[^\d]/);g[0]||(g=[0,0]);let b=Number(g[0]),S=Number(g[1]);return{modifiedType:"init",hour:b,minutes:S}}else if(a=="date"){let[g,b,S]=(p=String(s))==null?void 0:p.split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b)||Ar.default.is.nullish(S))&&([g,b,S]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(g),month:Number(b),date:Number(S)}}else if(a!="week"){if(a=="month"){let[g,b]=String(s).split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b))&&([g,b]=(0,Ar.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(g),month:Number(b)}}else if(a=="year"){let[g]=String(s).split(/\D/);return Ar.default.is.nullish(g)&&([g]=(0,Ar.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(g)}}else if(a=="dateWareki"){let[g,b,S]=(m=String(s))==null?void 0:m.split(/\D/);return(Ar.default.is.nullish(g)||Ar.default.is.nullish(b)||Ar.default.is.nullish(S))&&([g,b,S]=(0,Ar.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(g),month:Number(b),date:Number(S)}}}return{}})());(0,bc.useEffect)(()=>{if(l.current){if(f.modifiedType=="update"){let p="",m=o||"year";if(a=="clock"){let{hour:g,minutes:b}=f;p=[g.zeroEmbed(2),b.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:g,month:b,date:S}=f;p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:g,month:b}=f;p=[g,b.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:g}=f;p=String(g)}else if(a=="dateWareki"){let{year:g,month:b,date:S,era:w}=f;m=w,p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else l.current=!0},[f]);let h=T(v({},r),{val_value:f,set_value:u});return(0,Fe.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,Fe.jsx)(X,{className:Ea(a.toCapital()+"Base"),children:a=="clock"?(0,Fe.jsx)(Ga.Clock.index,v({},h)):a=="date"?(0,Fe.jsx)(Ga.Date.index,v({},h)):a=="week"?"":a=="month"?(0,Fe.jsx)(Ga.Month.index,v({},h)):a=="year"?(0,Fe.jsx)(Ga.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Fe.jsx)(Ga.DateWareki.index,v({},h)):(0,Fe.jsx)(Fe.Fragment,{})})})},Ga={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,[h,p]=(0,bc.useState)(f.hour>12?2:1),[m,g]=(0,bc.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,bc.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:S}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(Lt,{flexType:"row",flexWrap:!1,gap:1,className:Ea("Body"),children:[(0,Fe.jsxs)(er,{className:Ea("DesignSide"),flexSizing:0,children:[(0,Fe.jsx)(X,{className:Ea("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,Fe.jsxs)(X,{className:Ea("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,Fe.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,Fe.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ea("Needle"),Ea("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,Fe.jsx)(vf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{let k=f.hour%12+(w==2?12:0);p(w),u({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,Fe.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,Fe.jsx)(vf,{icon:!0,value:[m],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{g(w)}})]}),(0,Fe.jsxs)(er,{children:[(0,Fe.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,Fe.jsxs)(Lt,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,Fe.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:Ga.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,Fe.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ga.Clock.Minutes({onClick:w=>{u({modifiedType:"update",hour:f.hour,minutes:w})},min:a,max:o,unit:m})})]})]})]}),(0,Fe.jsx)(Ga.Variables.Footer,{sheetID:l,onValueUpdate:s})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let s=r.ampm==2?o+12:o,l=!1;{let f=Number(String(s*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(l=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));f>u&&(l=!0)}}a.push((0,Fe.jsx)(nt.Normal,{isLocked:l,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:s.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let s=o*r.unit;a.push((0,Fe.jsx)(nt.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(s)},children:s.zeroEmbed(2)},s))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,{year:h,month:p,date:m}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(gt.Separate,{flexWrap:!0,children:[(0,Fe.jsxs)(Lt,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,Fe.jsx)(as,{override:"force",emptySelect:!1,value:h,options:vw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:g=>{u({modifiedType:"update",year:Number(g),month:p,date:m})},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})})}),(0,Fe.jsx)(as,{override:"force",emptySelect:!1,value:p,options:(()=>{let g=[];for(let b=1;b<=12;b++)g.push({value:b,label:String(b)+"\u6708"});return g})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:g=>{u({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,Fe.jsx)(Ga.Variables.ShiftButtons,{callback:g=>{let b=p+g,S=h;b<=0&&(S--,b=12),b>12&&(S++,b=1),u({modifiedType:"update",year:S,month:b,date:f.date})}})]}),(0,Fe.jsx)(X,{borderTop:!0}),(0,Fe.jsx)(X,{children:Ga.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:g=>{let[b,S,w]=g;u({modifiedType:"update",year:b,month:S,date:w})}})}),(0,Fe.jsx)(Ga.Variables.Footer,{sheetID:l,onValueUpdate:s})]})},MonthCalendar:r=>{let{min:a,max:o,year:s,month:l,current:f,callback:u}=r,h=(0,Ar.Time)(),p=(0,Ar.Time)([s,l.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Ar.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],w=[],k=[],L={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var N=0;N<7;N++)b.push((0,Fe.jsx)(X,T(v({className:[Ea("CalendarDay"),Ea("Legend")].join(" ")},L),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][N]}),N));for(var N=0;N<p.weekday;N++)S.unshift((0,gO.createElement)(X,T(v({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},L),{key:N}),g-N));for(var N=1;N<=m.date;N++){let M=N,j=s==h.year&&l==h.month&&N==h.date,F=!1;{let Z=Number(String([s,l.zeroEmbed(2),N.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Z&&(F=!0),r.max){let O=Number(String(r.max).replace(/\D/ig,""));Z>O&&(F=!0)}}w.push((0,Fe.jsx)(nt.Clear,T(v({className:[Ea("CalendarDay"),Ea("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([s,l,M])},tabIndex:-1,isLocked:F,children:N}),M))}for(var N=1;N<7-m.weekday;N++)k.push((0,Fe.jsx)(X,T(v({className:[Ea("CalendarDay"),Ea("Dummy")].join(" "),fontColor:"4.thin"},L),{children:N}),N));return(0,Fe.jsxs)(Wd,{gridCols:7,gap:"1/6",children:[b,S,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,{year:h,month:p}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(gt.Separate,{gap:0,children:[(0,Fe.jsx)(gt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,Fe.jsx)(as,{emptySelect:!1,value:h,options:vw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:m=>{u({modifiedType:"update",year:Number(m),month:p})}})}),(0,Fe.jsx)(Ga.Variables.ShiftButtons,{callback:m=>{let g=Math.min(Math.max(h+m,1900),2100);u({modifiedType:"update",year:g,month:p})}})]}),(0,Fe.jsx)(X,{borderTop:!0}),Ga.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[g,b]=m;u({modifiedType:"update",year:g,month:b})}}),(0,Fe.jsx)(Ga.Variables.Footer,{sheetID:l,onValueUpdate:s})]})},Months:r=>{let{year:a,callback:o}=r,s=(0,Ar.Time)(),l=[];for(let f=1;f<=12;f++){let u=a==s.year&&f==s.month,h=!1;{let m=Number(String([a,f.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>m&&(h=!0),r.max){let g=Number(String(r.max).replace(/\D/ig,""));m>g&&(h=!0)}}let p=[Ea("Cell"),u?Ea("isThisMonth"):""].join(" ");l.push((0,Fe.jsxs)(nt.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,f])},children:[f," \u6708"]},a+"-"+f))}return(0,Fe.jsx)(Wd,{gridCols:4,gap:"2/3",children:l})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,{year:h}=f;return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsx)(as,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Ar.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:vw({min:a,max:o}),onUpdateValidValue:p=>{u({modifiedType:"update",year:Number(p)})}}),(0,Fe.jsx)(Ga.Variables.Footer,{sheetID:l,onValueUpdate:s,onSubmit:()=>{u({modifiedType:"update",year:Number(h||(0,Ar.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:s,sheetID:l,val_value:f,set_value:u}=r,{era:h,year:p,month:m,date:g}=f,b={val_value:f,set_value:u};return(0,Fe.jsxs)(X,{children:[(0,Fe.jsxs)(gt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,Fe.jsx)(Ga.DateWareki.EraSelect,v({},b)),(0,Fe.jsx)(X,{borderRight:!0}),(0,Fe.jsx)(Ga.DateWareki.Calendar,v({},b))]}),(0,Fe.jsx)(gt.Right,{padding:1,children:(0,Fe.jsx)(Ga.Variables.Footer,{sheetID:l,onValueUpdate:s})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,s={padding:["1/2",1.5],fontColor:"3.blur"},l={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,Fe.jsxs)(er,{padding:1,gap:0,children:[(0,Fe.jsx)(nt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="year",onClick:()=>{let f=(0,Ar.Time)();o({modifiedType:"update",era:"year",year:f.year,month:f.month,date:f.date})},children:"\u897F\u66A6"})),(0,Fe.jsx)(nt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="reiwa",onClick:()=>{let f=(0,Ar.Time)();o({modifiedType:"update",era:"reiwa",year:f.year,month:f.month,date:f.date})},children:"\u4EE4\u548C"})),(0,Fe.jsx)(nt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,Fe.jsx)(nt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,Fe.jsx)(nt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,Fe.jsx)(nt.Clear,T(v({color:"cloud"},s),{isActiveStyles:l,isActive:a.era=="meiji",onClick:()=>{o({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"}))]})},Calendar:r=>{let{val_value:a,set_value:o}=r,s=[];if(a.era=="year"){let l=(0,Ar.Time)().year+10;for(let f=1900;f<l;f++)s.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let l=(0,Ar.Time)().year-2018;for(let f=1;f<=l+10;f++)s.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\u5E74"})}else if(a.era=="heisei")for(let l=1;l<=31;l++)s.unshift({value:1989+l-1,label:"\u5E73\u6210"+(l==1?"\u5143":l)+"\u5E74"});else if(a.era=="shouwa")for(let l=1;l<=64;l++)s.unshift({value:1926+l-1,label:"\u662D\u548C"+(l==1?"\u5143":l)+"\u5E74"});else if(a.era=="taisho")for(let l=1;l<=15;l++)s.unshift({value:1912+l-1,label:"\u5927\u6B63"+(l==1?"\u5143":l)+"\u5E74"});else if(a.era=="meiji")for(let l=1;l<=45;l++)s.unshift({value:1868+l-1,label:"\u660E\u6CBB"+(l==1?"\u5143":l)+"\u5E74"});return(0,Fe.jsxs)(er,{padding:1,children:[(0,Fe.jsxs)(gt.Separate,{children:[(0,Fe.jsx)(as,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),options:s,value:a.year,onUpdateValidValue:l=>{o(f=>T(v({},f),{modifiedType:"update",year:Number(l)}))}}),(0,Fe.jsxs)(gt.Center,{gap:"1/3",children:[(0,Fe.jsx)(as,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,Fe.jsx)(Fa,{ssSphere:2,right:"1/3",children:(0,Fe.jsx)(Ne.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:l=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(l),date:1})}}),(0,Fe.jsx)(nt.Clear.S,{ssSphere:2.5,onClick:()=>{let l=a.month-1;o({modifiedType:"update",era:a.era,year:l==0?a.year-1:a.year,month:l==0?12:l,date:1})},children:(0,Fe.jsx)(Ne.ChevronLeft,{})}),(0,Fe.jsx)(nt.Clear.S,{ssSphere:2.5,onClick:()=>{let l=a.month+1;o({modifiedType:"update",era:a.era,year:l==13?a.year+1:a.year,month:l==13?1:l,date:1})},children:(0,Fe.jsx)(Ne.ChevronRight,{})})]})]}),(0,Fe.jsx)(Ga.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,s=(0,Ar.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!s.validate)return;let l=s.getFirstDayOfTheMonth().weekday,f=s.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,Fe.jsx)(or.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Ar.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<l;p++){let m=(0,Ar.Time)(s).getFirstDayOfTheMonth().addDate(p-l);u.push((0,Fe.jsx)(nt.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"lastMonth-"+p))}let h=(0,Ar.Time)();for(let p=1;p<=f.date;p++){let m=(0,Ar.Time)(s).setDate(p),g=h.diff(m).dates==0;u.push((0,Fe.jsx)(nt.Clear,{ssSquare:3,fontColor:"2.normal",className:[Ea("CalendarDay"),Ea("isToday_"+g)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"currentMonth-"+p))}for(let p=0;p<7-f.weekday-1;p++){let m=(0,Ar.Time)(s).addMonth(1).setDate(1).addDate(p);u.push((0,Fe.jsx)(nt.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"nextMonth-"+p))}return(0,Fe.jsx)(Wd,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,Fe.jsxs)(Lt,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,Fe.jsxs)(nt.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,Fe.jsx)(Ne.Times,{})," \u524A\u9664"]}),(0,Fe.jsx)(nt.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),sr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Fe.jsxs)(Lt,{gap:"1/3",flexWrap:!1,children:[(0,Fe.jsx)(nt.Clear,T(v({className:Ea("LeftButton"),tabIndex:-1,right:0},Ga.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,Fe.jsx)(Ne.ChevronLeft,{})})),(0,Fe.jsx)(nt.Clear,T(v({className:Ea("RightButton"),tabIndex:-1,left:0},Ga.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,Fe.jsx)(Ne.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var gf=" ~ ",x$={clock:{defaultValue:"--:--",format:/^\d{2}\D\d{2}$/,ranges:[{type:"hour",from:0,length:2},{type:"minute",from:3,length:2}],sets:1},date:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2}],sets:1},week:{defaultValue:"----\u5E74\u7B2C--\u9031",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4,region:6},{type:"week",from:6,length:2,region:3}],sets:1},month:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:3}],sets:1},year:{defaultValue:"----\u5E74",format:/^\d{4}$/,ranges:[{type:"year",from:0,length:4,region:5}],sets:1},dates:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2,region:5},{type:"year",from:10+gf.length,length:4},{type:"month",from:15+gf.length,length:2},{type:"date",from:18+gf.length,length:2}],sets:2},months:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:6},{type:"year",from:8+gf.length,length:4},{type:"month",from:13+gf.length,length:2,region:3}],sets:2},dateWareki:{defaultValue:"----\u5E74--\u6708--\u65E5",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"dateWareki",from:0,length:4,region:5},{type:"month",from:5,length:2,region:3},{type:"date",from:8,length:2,region:3}],sets:1}},_f={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:s}=r,l=vn.default.flatArray(o||""),{defaultValue:f,format:u,ranges:h,sets:p}=x$[a],m=[],g=a=="clock"?":":"/";for(let b=0;b<l.length;b++)l[b]=String(l[b]).replace(/\D/ig,g);for(let b=0;b<p;b++){let S=l[b]||"";if(!S.match(u))l[b]="",m.push(f);else{let w=f;S.split(/\D/).forEach((k,L)=>{if(L==0&&a=="dateWareki"){let N=Number(k);s!="year"&&(N>=2019?s=="reiwa"?N-=2018:s=="heisei"&&(N=31):N>=1989?s=="heisei"?N-=1988:s=="shouwa"&&(N=64):N>=1926?s=="shouwa"?N-=1925:s=="taisho"&&(N=15):N>=1912?s=="taisho"?N-=1911:s=="meiji"&&(N=45):N>=1868&&(N-=1867)),k=N.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(w)}}return{formatValue:m.join(gf),dataValue:["dates","months"].includes(a)?l:l[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:s,max:l,required:f}=a,u=[],h=vn.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let m=o=="clock"?":":"/";for(let g=0;g<h.length;g++)h[g]=String(h[g]).replace(/\D/ig,m);for(let g=0;g<h.length;g++){let b=h[g],S=h[g-1];b.removeLetters()||(p.empty=!0),g>0&&(p.escalated&=+(b>=S))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:(Number(b)>23||Number(S)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(g=>{let[b,S,w]=g.split(/\D+/);if(!b||!S||!w)p.filled=!1;else{let k=_m.Time(g);(!k.validate||g!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);if(!b||!S)p.filled=!1;else{let w=_m.Time(b+"/01/01").weekday,k=_m.Time(b+"/01/0"+(7-w+1)).addWeek(Number(S)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:_m.Time([b,S,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(g=>{{let b=Number(String(g).replace(/\D/ig,""));if(s&&Number(String(s).replace(/\D/ig,""))>b&&(p.prohibited=!0),l){let S=Number(String(l).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:S,prohibited:w}=p;m&&f&&(u=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),g||u.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),S||u.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||u.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&u.push({type:"invalid",label:(0,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)(X,{children:"\u5165\u529B\u7BC4\u56F2\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059"}),"[",s||"\u4E0B\u9650\u7121\u3057","] ~ [",l||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!u.filter(({type:m})=>m=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:s,val_status:l,set_status:f,val_focus:u,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:g,metaKey:b}=s,S=g||b,{selectionStart:w,selectionEnd:k}=s.target,{index:L,prevIndex:N}=u,{ranges:Y,formatValue:M}=l,j=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Z=+!m*2-1;if(F=u.index+Z,F<0||F>j)return}else{let Z=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||w==0&&k==String(l.formatValue).length?F=Z==1?j:0:F=Math.max(0,Math.min(L+Z,j))}h(Z=>T(v({},Z),{index:F,prevIndex:L})),s.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){s.preventDefault();let F=L;F=Math.max(F,0),F=Math.min(F,j);let{type:Z,from:O,length:ae}=Y[F],ge=M.slice(O,O+ae),ee;if(p=="Backspace")ee="------".slice(0,ae);else if(["ArrowUp","ArrowDown"].includes(p)){let ye=p=="ArrowUp"?1:-1;ge=ge|0,ee=ge+ye;let[be,he,H]=Z=="dateWareki"?a=="year"?[0,2999,4]:a=="reiwa"?[1,2999,4]:a=="heisei"?[1,31,4]:a=="shouwa"?[1,64,4]:a=="taisho"?[1,15,4]:a=="meiji"?[1,45,4]:[0,0,0]:Z=="minute"?[0,59,2]:Z=="hour"?[0,23,2]:Z=="date"?[1,31,2]:Z=="week"?[1,53,2]:Z=="month"?[1,12,2]:Z=="year"?[0,2999,4]:[0,0,0];ee>he?ee=be:ee<be&&(ee=he),ee=Number(ee).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let ye=ge|0,be=p,he=`${ye}${be}`;if(N!=L&&(ye=0,he="0"+be),Z=="year"||Z=="dateWareki"&&a=="year")Number(he)>1e4?ee=be:ee=he,(ee|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Z)||Z=="dateWareki"&&a!="year"){let H=Z=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Z=="minute"?59:Z=="hour"?23:Z=="date"?31:Z=="week"?53:Z=="month"?12:0;ee=(he|0)>H?be:he,(Number(be)>Number(String(H)[0])||ge=="0000".slice(0,String(H).length)&&(he!="0000".slice(0,String(H).length)||["minute","hour"].includes(Z)&&N==L)||(he|0)>=c5(10,String(H).length-1))&&F++}Z=="year"||Z=="dateWareki"?ee=(ee|0).zeroEmbed(4):ee=(ee|0).zeroEmbed(2)}{let ye=String(M).partReplace(O,String(ee)),be=ye.split(gf).map(he=>he.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let he=be[0].split(/\D/),[H,le,de]=he;he.length==3&&H&&(be=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,de].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(he=>T(v({},he),{dataValue:["dates","months"].includes(o)?be:be[0],formatValue:ye,eventType:"update",eventID:(0,vn.UUID)()})),h(he=>T(v({},he),{index:F,prevIndex:he.index}))}}}},wO={picker:{launch:r=>{let a=r.sheetID||(0,vn.UUID)(),o=r,{onValueUpdate:s,min:l,max:f,era:u,restrict:h,defaultValue:p}=o,m=$e(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);sr.open(T(v({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(gt.Center,{children:(0,ta.jsx)(bO,{restrict:h,min:l,max:f,era:u,defaultValue:p,sheetID:a,onValueUpdate:(g,b)=>{s(g,b)}})})}))},remove:r=>{Oa.close(r)}}},k$={Shallow:r=>{let{rootStates:a,val_status:o}=r,s=Ol(a);return(0,ta.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ta.jsx)(or.Description,T(v({className:a.className},s),{position:"absolute",width:1,freeCSS:T(v({},s.freeCSS),{color:"orange"}),children:(0,ta.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},T$=r=>{let a=r,{tone:o,required:s,restrict:l="clock",componentID:f,era:u,form:h,name:p,min:m,max:g,className:b,enableFormSubmit:S,checkValidationAtFirst:w,onKeyDown:k,onValidate:L,onUpdateValue:N,onUpdateValidValue:Y,value:M="",leftIndicator:j,rightIndicator:F,leftIcon:Z,rightIcon:O,freeCSS:ae,wrapStyles:ge}=a,ee=$e(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[ye,be]=(0,Do.useState)(u),[he,H]=(0,Do.useState)(T(v({componentID:r.componentID||""},_f.DataLeveling({restrict:l,value:M,era:ye})),{eventType:"init",eventID:(0,vn.UUID)()})),[le,de]=(0,Do.useState)({ok:!1,notice:[]}),[B,W]=(0,Do.useState)({active:!1,index:0,prevIndex:-1}),ie={rootStates:r,val_status:he,set_status:H,val_validate:le,set_validate:de,val_era:ye,set_era:be,val_focus:B,set_focus:W};jt.CommonEffects({type:"time",states:r,val_status:he,set_status:H,val_validate:le,set_validate:de,SystemValidation:_f.SystemValidation,ExtraOverrideStates:v({},_f.DataLeveling({restrict:l,value:M,era:ye}))});let te=(0,Do.useRef)(!1);return(0,Do.useEffect)(()=>{if(te.current){H(we=>v(v({},we),_f.DataLeveling({restrict:l,value:we.dataValue,era:ye})));let se=vn.useStore.get("refreshEra_"+he.componentID);se&&se.refreshEra(ye)}else te.current=!0},[ye]),vn.useStore.update({[he.componentID]:{openPicker:se=>{r.disabled||wO.picker.launch({parent:se,sheetID:"PickerTips-"+he.componentID,restrict:l,min:m,max:g,defaultValue:he.dataValue,era:ye,onValueUpdate:(we,Se)=>{H(je=>T(v(v({},je),_f.DataLeveling({restrict:l,value:we,era:Se})),{eventType:"update",eventID:(0,vn.UUID)()})),be(Se)}})},resetEra:se=>{be(se),H(we=>T(v(v({},we),_f.DataLeveling({restrict:l,value:"",era:ye})),{eventType:"update",eventID:(0,vn.UUID)()}))}}}),(0,Do.useEffect)(()=>{let{index:se,active:we}=B;if(we){se=Math.max(se,0),se=Math.min(se,he.ranges.length-1);let{from:Se,length:je}=he.ranges[se],Ye=vt("#"+r.id)[0];Ye&&Ye.setSelectionRange(Se,Se+je)}},[B]),(0,ta.jsxs)(ja,{val_status:he,set_status:H,val_validate:le,states:r,children:[(0,ta.jsx)(k$.Shallow,v({},ie)),(0,ta.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),ht.get().isTouchDevice?(0,ta.jsx)(nt.Plain,T(v({"data-show-validation":jt.isShowValidation(le,he,!!w),"data-component-id":he.componentID,"data-input-origin":he.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},ee),{children:he.formatValue,onClick:se=>{let we=vn.useStore.get(he.componentID);we&&we.openPicker(`[data-input-origin="${he.componentID}"]`),se.stopPropagation()}})):(0,ta.jsx)(X,v({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":jt.isShowValidation(le,he,!!w),"data-input-origin":he.componentID,"data-disabled":r.disabled,value:he.formatValue,className:b,tabIndex:ht.get().isTouchDevice?-1:0,onKeyDown:se=>{_f.KeyDownEvent({restrict:l,event:se,val_era:ye,val_status:he,set_status:H,val_focus:B,set_focus:W}),k&&k(se),S&&jt.SubmitForm(se,h)},onKeyUp:se=>{se.key=="Tab"&&W(we=>T(v({},we),{active:!0}))},onClick:se=>{let we=se.target.selectionEnd,Se=0;he.ranges.forEach((je,Ye)=>{let{from:Ge,length:rt,region:et}=je;Ge<=we&&we<=Ge+(et||rt)&&(Se=Ye)}),W(je=>T(v({},je),{active:!0,index:Se})),se.preventDefault()},onChange:()=>{}},ee))]})},Os={Origin:r=>{let a=v({fontSize:"inherit",width:1},r),[o]=(0,Do.useState)(r.componentID||(0,vn.UUID)());if(a.componentID=o,vn.default.is.nullish(a.rightIcon)){let s=(r.restrict||"").match(/clock/)?yO.faClock:SO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(Fa,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ta.jsx)(nt.Sub,{color:"cloud",border:"unset",ssSphere:2,fontColor:"theme",boxShadow:"0.normal",borderRadius:"3.tone.tertiary",flexCenter:!0,ssEffectsOnActive:"push",tabIndex:-1,id:"Picker-"+a.componentID,onClick:()=>{let l=vn.useStore.get(a.componentID);l&&l.openPicker("#Picker-"+a.componentID)},children:(0,ta.jsx)(Ne,{icon:s})})})}return(0,ta.jsx)(Ra,{componentID:a.componentID,children:T$,states:Vn(a)})},Clock:r=>(0,ta.jsx)(Os.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,ta.jsx)(Os.Origin,v({restrict:"date"},r)),Week:r=>(0,ta.jsx)(Os.Origin,v({restrict:"week"},r)),Month:r=>(0,ta.jsx)(Os.Origin,v({restrict:"month"},r)),Year:r=>(0,ta.jsx)(Os.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Do.useState)(r.componentID||(0,vn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[s,l]=(0,Do.useState)((()=>{let f="year";if(o=="wareki"&&(f="reiwa",r.value)){let[u,h,p]=r.value.split(/\D/);if(u&&h&&p){let m=Number(u);m>=2019?(m-=2019,f="reiwa"):m>=1989?(m-=1989,f="heisei"):m>=1926?(m-=1926,f="shouwa"):m>=1912?(m-=1912,f="taisho"):m>=1868&&(m-=1868,f="meiji"),m+=1}}return f})());return(0,Do.useEffect)(()=>{vn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{l(f)}}})},[]),(0,ta.jsx)(Os.Origin,T(v({restrict:"dateWareki",leftIndicator:(0,ta.jsx)(as,{label:"\u5143\u53F7",emptySelect:!1,value:s,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:f=>{l(f);let u=vn.useStore.get(r.componentID);u&&u.resetEra&&u.resetEra(f)}})},r),{era:s}))},Periods:{Date:r=>(0,ta.jsx)(Os.Origin,v({restrict:"dates"},r)),Month:r=>(0,ta.jsx)(Os.Origin,v({restrict:"months"},r))},fn:wO};var Qt=K(At()),Ha=K(fr()),Mr=K(ar());var Sf=K(At()),Zd=K(ar());var bf=K(At()),Dg=K(ar());var yf=K(fr());var Qd=r=>{let a=r,{color:o="theme",size:s="R",showInitial:l=!1,loaderID:f=""}=a,u=$e(a,["color","size","showInitial","loaderID"]),[h]=(0,yf.useState)(f),[p]=(0,yf.useState)((0,Dg.UUID)()),[m,g]=(0,yf.useState)(l),b=0;s=="S"?b=1:s=="R"?b=1.5:s=="L"?b=3:s=="XL"?b=4:s=="MAX"&&(b=6);let S={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,yf.useEffect)(()=>{let w=vt('[data-component-id="'+p+'"]');m?w.removeClass(Ta("Hide")).await(10).addClass(Ta("Active")):w.removeClass(Ta("Active")).await(210).addClass(Ta("Hide"))},[m]),(0,yf.useEffect)(()=>{Dg.useStore.set({[p]:{active:w=>{h==w&&g(!0)},stop:w=>{h==w&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,bf.jsxs)(gt.Center,T(v({className:[Ta("MiniLoader"),Ta(l?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},u),{children:[(0,bf.jsx)("svg",{className:Ta("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,bf.jsx)("svg",{className:Ta("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var ns=K(At()),CO=K(ar());var Ag=K(fr());var xO=()=>{let[r,a]=(0,Ag.useState)(!1);return(0,Ag.useEffect)(()=>{CO.useStore.set({["Loader-corner-"+ht.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,ns.jsx)(Lt,{className:[Ta("CornerLoader"),r?Ta("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"3.tone.tertiary",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",bottom:1,right:1,opacity:"trans",transition:"middle",freeCSS:{zIndex:10,pointerEvents:"none"},children:(0,ns.jsxs)(Lt,{className:Ta("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,ns.jsx)(X,{className:Ta("Ld4")}),(0,ns.jsx)(X,{className:Ta("Ld3")}),(0,ns.jsx)(X,{className:Ta("Ld2")}),(0,ns.jsx)(X,{className:Ta("Ld1")}),(0,ns.jsx)(X,{className:Ta("Ld2")}),(0,ns.jsx)(X,{className:Ta("Ld3")}),(0,ns.jsx)(X,{className:Ta("Ld4")})]})})};var Jd=r=>{let a=r.color;return{S:o=>(0,Sf.jsx)(Qd,v({size:"S",color:a},o)),R:o=>(0,Sf.jsx)(Qd,v({size:"R",color:a},o)),L:o=>(0,Sf.jsx)(Qd,v({size:"L",color:a},o)),XL:o=>(0,Sf.jsx)(Qd,v({size:"XL",color:a},o)),MAX:o=>(0,Sf.jsx)(Qd,v({size:"MAX",color:a},o))}},Ao={Wrapper:()=>(0,Sf.jsx)(xO,{}),Theme:Jd({color:"theme"}),Posi:Jd({color:"posi"}),Nega:Jd({color:"nega"}),Warn:Jd({color:"warn"}),White:Jd({color:"white"}),Cloud:Jd({color:"cloud"}),fn:{corner:{active:()=>{let r=Zd.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Zd.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{vt("."+Ta("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let s=Zd.useStore.get(o);s&&s.active&&s.active(r)})},stop:(r="")=>{vt("."+Ta("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let s=Zd.useStore.get(o);s&&s.stop&&s.stop(r)})},stopALL:()=>{vt("."+Ta("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=Zd.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Ao.fn.corner.stop(),Ao.fn.mini.stopALL()}}};function E$(r){let{value:a,states:o}=r,{required:s,options:l,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.filter(m=>m!==null).length;return s&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>u&&h.push({type:"invalid",label:u+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var ep={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:s,label:l,value:f,searchValue:u}=o,h=u||(Mr.default.is.string(l)?l:"")||(Mr.default.is.string(f)?f:"");Mr.default.is.nullish(l)&&(l=String(f)),a.push(T(v({},o),{searchValue:h,type:s||"selector",label:l,value:f}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(s=>s.type!="label")),r.val_keyword){let s=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(l=>(l.searchValue||"").toLower().replace(/ /g,"").includes(s))}return o}},tp={Shallow:r=>{let{rootStates:a,val_status:o}=r,s=Ol(a);return(0,Qt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Qt.jsx)(or.Description,T(v({className:a.className},s),{position:"absolute",width:1,freeCSS:T(v({},s.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Qt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:s,val_optionFocused:l,set_optionFocused:f,val_options:u,set_options:h,val_optionsDict:p,set_optionsDict:m,val_preventOpenSelectorOnFocus:g,set_preventOpenSelectorOnFocus:b,val_selectorOpen:S,set_selectorOpen:w,val_status:k,set_status:L,val_validate:N,set_validate:Y}=r,M=a,{tone:j,required:F,form:Z,className:O,multiSelect:ae,enableFormSubmit:ge,checkValidationAtFirst:ee,onValidate:ye,onUpdateValue:be,onUpdateValidValue:he,value:H="",options:le,leftIndicator:de,rightIndicator:B,leftIcon:W,rightIcon:ie,componentID:te,status_id:se,wrapStyles:we,emptySelect:Se,SearchInput:je,SearchInputPlaceholder:Ye,SelectedComponent:Ge,SelectorComponent:rt,SelectorStyles:et,SelectorPosition:Nt,DynamicOptionsOnSearch:$t}=M,dt=$e(M,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,Ha.useEffect)(()=>{var Xe,ke;if(a.disabled||!S)return;let it=ep.FilterSelectableOptions(r);f((ke=(Xe=it[0])==null?void 0:Xe.value)!=null?ke:null)},[o]),(0,Ha.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let Xe=(0,Mr.default)('[data-input-origin="'+a.componentID+'"]');Xe&&Xe.focus()},10)):(0,Mr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,Ha.useEffect)(()=>{let Xe="autocomplete-click-"+a.componentID;if(S){if(!(0,Mr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Mr.default)("#SearchInput_"+a.componentID).focus(),(0,Mr.default)(document).addEvent({eventID:Xe,eventType:"mousedown",callback:ke=>{let it=(0,Mr.default)(ke.target),kt=!!(0,Mr.default)(it).parent("."+Rl("Core")).length,Tt=!!(0,Mr.default)(it).parent("."+Rl("Selector")).length;kt||Tt||(w(!1),ke.preventDefault(),ke.stopPropagation())}})}else(0,Mr.default)(document).removeEvent([Xe]),s("")},[S]),(0,Qt.jsxs)(Qt.Fragment,{children:[(0,Qt.jsx)(X,T(v({tabIndex:0},dt),{"data-disabled":a.disabled,"data-show-validation":jt.isShowValidation(N,k,!!ee),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[O,Rl("Core")].join(" "),onFocus:Xe=>{if(dt!=null&&dt.onFocus&&(dt==null||dt.onFocus(Xe)),!a.disabled){if(g)return b(!1);w(!0),Xe.preventDefault()}},onClick:Xe=>{dt!=null&&dt.onClick&&(dt==null||dt.onClick(Xe)),!a.disabled&&w(!0)},onKeyDown:Xe=>{let{key:ke}=Xe;ge&&jt.SubmitForm(Xe,Z),!S&&(ke==" "||ke=="ArrowDown"||ke=="ArrowUp"||ke=="Enter")&&w(!0)},children:(0,Qt.jsxs)(gt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Qt.jsx)(tp.Selected,v({},r)),(0,Qt.jsx)(Cn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Qt.jsx)(tp.SearchInput,v({},r))]})})),S&&(0,Qt.jsx)(tp.Selector,v({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,s]=(0,Ha.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Qt.jsx)(X,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans",transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onCompositionStart:l=>{a.onCompositionStart&&a.onCompositionStart(l),s(!0)},onCompositionEnd:l=>{a.onCompositionEnd&&a.onCompositionEnd(l),s(!1)},onKeyDown:l=>{let{key:f,metaKey:u,ctrlKey:h}=l,p=u||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,Mr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?Mr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(l.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?Mr.default.scope(()=>{if(r.val_keyword)return;let m=[...r.val_status.dataValue];m.pop(),r.set_status(g=>T(v({},g),{dataValue:m,eventType:"update",eventID:(0,Mr.UUID)()}))}):f=="Enter"&&Mr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=r.val_options.find(b=>b.value==r.val_optionFocused);if(!m)return;let{value:g}=m;r.set_status(b=>{let S=[...b.dataValue];return Mr.default.scope(()=>{if(g===null)return S=[];b.dataValue.includes(g)?S=S.filter(w=>w!==g):a.multiSelect?S.push(g):S=[g]}),T(v({},b),{dataValue:S,eventType:"update",eventID:(0,Mr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),Mr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(l.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,g=ep.FilterSelectableOptions(r),b=g.length-1,S=null;Mr.default.scope(()=>{var w,k,L,N,Y,M,j,F,Z,O;let ae=g.findIndex(ge=>ge.value==r.val_optionFocused);if(ae==-1&&(ae=0),m==1){if(S=(k=(w=g[0])==null?void 0:w.value)!=null?k:null,p){S=(L=g[b].value)!=null?L:null;return}if(ae==-1||ae==b)return;S=(Y=(N=g[ae+1])==null?void 0:N.value)!=null?Y:null}else{if(S=(M=g[b].value)!=null?M:null,p){S=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(ae==-1||ae==0)return;S=(O=(Z=g[ae-1])==null?void 0:Z.value)!=null?O:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&jt.SubmitForm(l,r.rootStates.form)},onChange:l=>{let f=l.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,s]=(0,Ha.useState)("idle"),[l,f]=(0,Ha.useState)("idle");(0,Ha.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return s("ok");f("fetch");let g="autocomplete-search-"+r.rootStates.componentID;Mr.default.interval.once(()=>La(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let S=ep.InitOptions(b||[]);r.set_options(S)}),300,g)},[r.val_keyword]);let u=[],h=ep.FilterSelectableOptions(r,!0),p=ep.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:S,value:w}=g,k=r.val_optionFocused==w,L=r.val_status.dataValue.includes(w),N=r.rootStates.SelectorComponent;u.push((0,Qt.jsx)(N,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let M=[...Y.dataValue];return Mr.default.scope(()=>{if(w===null)return M=[];Y.dataValue.includes(w)?M=M.filter(j=>j!==w):r.rootStates.multiSelect?M.push(w):M=[w]}),T(v({},Y),{dataValue:M,eventType:"update",eventID:(0,Mr.UUID)()})})}},Mr.default.Stringify(w)||(0,Mr.UUID)()))}),p.length||(u=[(0,Qt.jsx)(or.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),l=="fetch"&&(u=[(0,Qt.jsxs)(gt.Left,{padding:1,fontColor:"3.blur",children:[(0,Qt.jsx)(Ao.Theme.R,{showInitial:!0}),(0,Qt.jsx)(or.Supplement,{children:"Loading..."})]},"loader")]);let m={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:m.bottom="100%",m.left=0,m.paddingBottom="1/3";break;case 2:m.bottom="100%",m.right=0,m.paddingBottom="1/3";break;case 3:m.top="100%",m.left=0,m.paddingTop="1/3";break;case 4:m.top="100%",m.right=0,m.paddingTop="1/3";break;default:break}return(0,Qt.jsx)(X,T(v({},m),{children:(0,Qt.jsx)(sr.Body,T(v({className:Rl("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:v({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Qt.jsx)(er,{gap:"1/12",padding:[1,0],children:u})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:s,val_optionsDict:l}=r,f=[];return o.dataValue.forEach(u=>{let h=l[Mr.default.Stringify(u)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Qt.jsx)(X,{className:Rl("SelectedCell"),children:(0,Qt.jsx)(p,{value:h.value,label:m,removeCallback:g=>{if(g.stopPropagation(),g.preventDefault(),a.disabled)return;let b=[...o.dataValue];b=b.filter(S=>S!==u),s(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Mr.UUID)()}))}})},Mr.default.Stringify(h.value)))}),(0,Qt.jsx)(Qt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[s,l]=(0,Ha.useState)(!1),[f,u]=(0,Ha.useState)(!1),[h,p]=(0,Ha.useState)(!1),[m,g]=(0,Ha.useState)(""),[b,S]=(0,Ha.useState)(r.options),[w,k]=(0,Ha.useState)((a=r.value[0])!=null?a:null),[L,N]=(0,Ha.useState)({}),[Y,M]=(0,Ha.useState)(jt.DefaultStatus(r.componentID,o)),[j,F]=(0,Ha.useState)({ok:!1,notice:[]}),Z=(0,Ha.useRef)(!1);(0,Ha.useEffect)(()=>{Z.current?S(r.options):Z.current=!0},[r.options]),(0,Ha.useEffect)(()=>{if(!b.length)return;let ee=[...b],ye=v({},L);ee.forEach(be=>{be.type!="label"&&(ye[Mr.default.Stringify(be.value)]=be)}),N(ye)},[b]);let O={rootStates:r,val_options:b,set_options:S,val_optionFocused:w,set_optionFocused:k,val_optionsDict:L,set_optionsDict:N,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:u,val_preventOpenSelectorOnFocus:s,set_preventOpenSelectorOnFocus:l,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:g,val_status:Y,set_status:M,val_validate:j,set_validate:F},ae=!!r.multiSelect;jt.CommonEffects({type:ae?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:M,val_validate:j,set_validate:F,SystemValidation:E$});let ge=Y.dataValue.length&&Y.dataValue[0]!==null;return ge=ge||h,(0,Qt.jsxs)(ja,{val_status:Y,set_status:M,val_validate:j,states:r,children:[(0,Qt.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:ge}),(0,Qt.jsx)(tp.Shallow,v({},O)),(0,Qt.jsx)(tp.Button,v({},O))]})}},Lg=r=>{var a;let o=v({},r);return o=T(v({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:s,isSelected:l,isFocused:f,addCallback:u})=>s.type=="selector"?(0,Qt.jsx)(nt.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:f,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{u()},children:(0,Qt.jsxs)(gt.Left,{gap:"1/2",children:[l&&(0,Qt.jsx)(Ne.Check,{fontColor:"theme"}),(0,Qt.jsx)(or.Supplement,{transition:"short",children:s.label})]})}):(0,Qt.jsx)(Qt.Fragment,{children:s.label}),SelectedComponent:({value:s,label:l,removeCallback:f})=>(0,Qt.jsxs)(gt.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Qt.jsx)(X,{padding:[0,"1/4"],children:l}),(0,Qt.jsx)(nt.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:f,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,Qt.jsx)(Ne.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:v({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,Qt.jsx)(or.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=Mr.default.flatArray((a=o.value)!=null?a:null),o.options=ep.InitOptions(o.options),Mr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Qt.jsx)(Fa,{ssSphere:2,children:(0,Qt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Qt.jsx)(Fa,{ssSphere:2,fontColor:"5.translucent",children:(0,Qt.jsx)(Ne.Ban,{})}))),o.rightIcon&&(o=v({paddingRight:3},o)),o.leftIcon&&(o=v({paddingLeft:3},o)),(0,Qt.jsx)(Ra,{componentID:o.componentID,children:tp.Core,states:Vn(o)})};var wf=K(At());var kO=r=>(0,wf.jsx)(Lg,v({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wf.jsx)(wf.Fragment,{children:o}),rightIcon:(0,wf.jsx)(Fa,{ssSphere:2,children:(0,wf.jsx)(Ne.AngleDown,{})})},r));var Cr=K(At()),Cf=K(fr()),Pl=K(ar());var Lo=K(At()),TO=K(fr()),mo=K(ar());var yc=K(fr());var os={add:function(r){let a=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=mo.useStore.get("Snackbar-"+ht.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Lo.jsx)(EO.Wrapper,{})},EO={Cell:r=>{let a=r,{snackID:o,secondsToClose:s,componentID:l=(0,mo.UUID)(),children:f,customChildren:u}=a,h=$e(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,yc.useState)(l),[m,g]=(0,yc.useState)(r.secondsToClose||10);(0,yc.useEffect)(()=>{let S=vt('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(im("FadeIn"))},10),mo.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(im("FadeOut"))}}})},[]),(0,yc.useEffect)(()=>{mo.default.interval.once(()=>{m<=0||g(m-1)},1e3,"Snackbar-"+p),m===0&&os.remove(o)},[m]);let b=(0,Lo.jsx)(Lo.Fragment,{});return u?b=(0,Lo.jsx)(u,{close:()=>{os.remove(o)}}):b=(0,Lo.jsxs)(gt.Separate,{verticalAlign:"top",children:[(0,Lo.jsx)(X,{padding:["1/4",0],flexSizing:0,children:mo.default.is.function(f)?(0,Lo.jsx)(f,{}):f}),(0,Lo.jsx)(nt.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{os.remove(o)},children:(0,Lo.jsx)(Ne.Times,{})})]}),(0,Lo.jsx)(X,T(v({className:im("Cell"),componentID:p,onMouseOver:()=>{g(-1)},onMouseOut:()=>{g(s||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:b}))},Wrapper:()=>{let[r,a]=(0,yc.useState)((0,mo.UUID)()),[o,s]=(0,yc.useState)([]);(0,yc.useEffect)(()=>{mo.useStore.set({["Snackbar-"+ht.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,mo.UUID)();let u=o.findIndex(h=>h.snackID==f.snackID);if(u==-1)o.unshift(T(v({},f),{snackID:f.snackID}));else{let h=[...o];h[u]=T(v({},f),{snackID:f.snackID}),o=h}a((0,mo.UUID)())},remove:f=>{let u=mo.useStore.get("Snackbar-"+f);u&&u.remove&&(u.remove(),setTimeout(()=>{let h=o.findIndex(m=>m.snackID==f);if(h==-1)return;let p=[...o];p.splice(h,1),s(p)},210))},removeALL:()=>{s([])}}})},[o.length]);let l=o.map(f=>(0,TO.createElement)(EO.Cell,T(v({},f),{key:f.snackID})));return(0,Lo.jsx)(Lt,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",im("Wrapper")].join(" "),position:"fixed",right:0,bottom:0,paddingLeft:0,paddingRight:1,paddingBottom:"safeAreaBottom",verticalAlign:"bottom",overflow:"auto",UnderBreakPointStyles:{left:0,paddingLeft:1,width:"auto"},children:l})}};var PO=K(MO());function R$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a.length&&l.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var IO={List:r=>{let{rootStates:a,val_status:o,set_status:s}=r;if(a.useSystemOnly)return null;let l=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((u,h)=>(0,Cr.jsx)(IO.ListCell,T(v({},r),{index:h,val_file:u}),u.name));return l>0&&f.push((0,Cr.jsx)(X,T(v({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,es("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:u=>{let{key:h}=u;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&vt("#"+a.id).click()},children:(0,Cr.jsxs)(gt.Center,{padding:["1/3",0],children:[(0,Cr.jsx)(X,{isRounded:!0,className:es("AddIcon"),children:(0,Cr.jsx)(Ne,{icon:PO.faCloudArrowUp,className:es("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,Cr.jsxs)(X,{children:[(0,Cr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",l,")"]}),(0,Cr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,Cr.jsx)(er,T(v({flexSizing:"auto"},Ol(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:s,val_status:l,set_status:f}=r,{name:u,size:h,type:p}=s,[m,g]=(0,Cf.useState)(!1),b=(0,Pl.UUID)(),S=h.rank(),[w,k]=u.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),L="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?L=p.replace(/image\//,""):p.match(/pdf/)?L="PDF":p.match(/csv/)?L="CSV":p.match(/spreadsheet/)?L="SpreadSheet":p.match(/presentation/)?L="PowerPoint":p.match(/word/)?L="Word":p.match(/zip/)?L="Zip":p.match(/powerpoint/)?L="PowerPoint":p.match(/html/)?L="HTML":p.match(/js/)?L="JavaScript":p.match(/css/)?L="CSS":p.match(/text\/plain/)&&(L="\u30C6\u30AD\u30B9\u30C8"),(0,Cf.useEffect)(()=>{m&&setTimeout(()=>{vt("#"+b).focus()},100)},[m]),(0,Cr.jsxs)(Lt,T(v({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,Cr.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,Cr.jsxs)(X,{flexSizing:0,children:[(0,Cr.jsx)(X,{children:(0,Cr.jsx)(Lt,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:es("FileName"),children:m?(0,Cr.jsx)(Cr.Fragment,{children:(0,Cr.jsxs)(er,{flexSizing:0,gap:"1/2",children:[(0,Cr.jsxs)(Lt,{gap:"2/3",verticalAlign:"center",children:[(0,Cr.jsx)(mn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:w,onKeyDown:N=>{let{key:Y}=N;Y=="Escape"&&g(!1)}}),(0,Cr.jsxs)(X,{children:[". ",k]})]}),(0,Cr.jsxs)(Lt,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,Cr.jsx)(nt.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,Cr.jsx)(nt,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:N=>La(void 0,null,function*(){let{name:Y}=N,M=[...l.dataValue],j=M[a],F=j.id;if(!j)return;let{target:Z}=yield j.convert();if(!Z)return;let O=yield String(Z.result).toBlob(s.type);if(!O)return;let ae=new File([O],Y+"."+k,{type:j.type});ae.id=F,M[a]=ae,f(ge=>T(v({},ge),{dataValue:M,eventType:"update",eventID:(0,Pl.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,Cr.jsxs)(Cr.Fragment,{children:[u,!!o.isNameEditable&&(0,Cr.jsx)(nt.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,Cr.jsx)(Ne.Pen,{})})]})})}),!m&&(0,Cr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,Cr.jsx)(nt.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let N=[...l.dataValue];N[a]&&(N.splice(a,1),f(Y=>T(v({},Y),{dataValue:N,eventType:"update",eventID:(0,Pl.UUID)()})))},children:(0,Cr.jsx)(Ne.Times,{})})]}))}},D$=r=>{let a=r,{tone:o,required:s,form:l,isNameEditable:f,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,value:k=[],className:L,cellStyles:N,cellClassName:Y,componentID:M,status_id:j,enableFormSubmit:F,freeCSS:Z,wrapStyles:O}=a,ae=$e(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[ge,ee]=(0,Cf.useState)(jt.DefaultStatus(r.componentID||"",k)),[ye,be]=(0,Cf.useState)({ok:!1,notice:[]}),he={rootStates:r,val_status:ge,set_status:ee};(0,Cf.useEffect)(()=>{Pl.useStore.set({["AddFiles-"+ge.componentID]:le=>{ee(de=>{let B=de.dataValue,W=[];for(var ie=0;ie<(le==null?void 0:le.length);ie++){let te=le[ie],{type:se,name:we}=te;if(ie+1+B.length>p){os.add({componentID:we,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${we}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!se.match(/image/)){os.add({componentID:we,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${we} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(te)}return T(v({},de),{dataValue:[...B,...W],eventType:"update",eventID:(0,Pl.UUID)()})})}})},[]),jt.CommonEffects({type:"file",states:r,val_status:ge,set_status:ee,val_validate:ye,set_validate:be,SystemValidation:R$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,Cr.jsxs)(ja,{val_status:ge,set_status:ee,val_validate:ye,states:r,children:[(0,Cr.jsx)(X,T(v({htmlTag:"input",type:"file",className:es("Input"),"data-component-id":ge.componentID,accept:H,multiple:p!=1,onChange:le=>La(void 0,null,function*(){g&&g(le);let de=le.target,B=de.files,W=[];for(var ie=0;ie<(B==null?void 0:B.length);ie++){let te=B[ie],se=te.name;if(te.id=(0,Pl.UUID)(),ie+1+ge.dataValue.length>p){os.add({componentID:se,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${se}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(te)}ee(te=>T(v({},te),{dataValue:[...te.dataValue,...W],eventType:"update",eventID:(0,Pl.UUID)()})),de.value=""})},ae),{opacity:"low",tabIndex:-1,value:""})),(0,Cr.jsx)(IO.List,v({},he))]})},gw=r=>(r=T(v({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:v(v({},Vn({tone:r.tone||"border"})),r.cellStyles)}),(0,Cr.jsx)(Ra,{componentID:r.componentID,children:D$,states:r}));gw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(s=>{let l=document.createElement("input");l.type="file",l.multiple=a!=null?a:!0,o&&(o=="image"?l.accept="image/png,image/jpeg":l.accept=o),l.onchange=f=>{s(f.target.files)},l.click()})}},typeof window!="undefined"&&window.document&&(0,Pl.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),vt("."+es("AddButton")).addClass(es("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),vt("."+es("AddButton")).removeClass(es("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(vt(o).hasClass(es("AddButton"))){let{componentId:s}=o.dataset,l=Pl.useStore.get("AddFiles-"+s);l&&l(a)}}},options:{passive:!1}});var vo=K(At()),Ms=K(ar()),gm=K(fr());function A$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a&&l.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var BO=r=>{let{value:a,val_status:o}=r,{min:s,max:l,step:f}=o;a=Math.max(a,s),a=Math.min(a,l);let u=a/l*l;return u=Math.round(u/f),{stepValue:u*f,stepIndex:u,positionLeft:u*f/l*100+"%"}},zO={IndicatorLabels:r=>{let{componentID:a,min:o,max:s,step:l,customLegends:f}=r,u=[],h=Math.round(o/l),p=Math.round(s/l),m=p-h+1;for(var g=h;g<=p;g++){let b=g*l;b=Math.max(b,o),b=Math.min(b,s);let S=b/s*100+"%";u.push((0,vo.jsx)(X,{className:Es("Label"),id:"Legend-"+a+"-"+g,display:g==h||g==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:S,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,gm.useEffect)(()=>{let b=()=>{let S=vt("#Labels-"+a),{width:w}=S.position(),k=Math.round(w/50)-1,L=Math.round(m/k);for(let N=h+1;N<p;N++)vt("#Legend-"+a+"-"+N).css({display:N%L==0?"flex":"none"})};return(0,Ms.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ms.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,vo.jsx)(Lt,{className:Es("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,vo.jsx)(X,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:u})})},Rail:r=>{let{val_status:a,set_status:o,DotData:s,form:l,enableFormSubmit:f}=r,{componentID:u}=a;return(0,vo.jsxs)(Lt,{className:Es("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),rp.Effects.Start(h,{val_status:a,set_status:o,DotData:s}))},children:[(0,vo.jsx)(X,{className:Es("Bar"),backgroundColor:"layer.4",position:"relative",borderRadius:"1.tone.primary",transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,vo.jsx)(X,{className:Es("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:s.positionLeft},id:u+"_BarColor"})}),(0,vo.jsx)(X,{className:Es("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,vo.jsx)(nt.Plain,{className:Es("Ball"),position:"absolute",boxShadow:"1.remark",backgroundColor:r.color,top:0,left:0,ssSquare:1.5,borderRadius:"1.tone.primary",freeCSS:{zIndex:2,left:s.positionLeft},id:u+"_Ball",onKeyDown:h=>{rp.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:s}),f&&jt.SubmitForm(h,l)}})})]})}},rp={Effects:{Start:(r,a)=>{(0,Ms.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{rp.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{rp.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{rp.Effects.End()}})},Move:(r,a)=>{let o=Ms.default.getCursor(r).x,{val_status:s,set_status:l}=a,{componentID:f,min:u,max:h}=s,p=vt("#"+f+"_Ball"),m=vt("#"+f+"_Bar"),g=vt("#"+f+"_BarColor"),{width:b,left:S}=m.position(),w=(o-S)/b;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,L=BO({value:k,val_status:s}),N=L.positionLeft,Y=L.stepValue;return p.css({left:N}),g.css({width:N}),l(M=>{let j=M.dataValue;return Y==j?M:T(v({},M),{dataValue:Y,eventType:"update",eventID:(0,Ms.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ms.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:s}=r,{min:l,max:f,step:u}=o,{key:h,metaKey:p,ctrlKey:m}=a,g=m||p,b=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?g?b=l:b-=u:h.match(/Right|Down/)&&(g?b=f:b+=u),b=Math.max(Math.min(b,f),l),s(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Ms.UUID)()})))}},L$=r=>{let a=r,{color:o="theme",required:s,form:l="",legends:{enable:f=!0,custom:u,showAlways:h=!1}={},min:p,max:m,step:g,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:N="",className:Y,wrapStyles:M}=a,j=$e(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","wrapStyles"]),[F,Z]=(0,gm.useState)({componentID:r.componentID||"",dataValue:N,min:p,max:m,step:g,eventType:"init",eventID:(0,Ms.UUID)()}),[O,ae]=(0,gm.useState)({ok:!1,notice:[]});jt.CommonEffects({type:"slider",states:r,val_status:F,set_status:Z,val_validate:O,set_validate:ae,SystemValidation:A$});let ge=BO({value:F.dataValue,val_status:F});return(0,vo.jsx)(ja,{val_status:F,set_status:Z,val_validate:O,states:r,children:(0,vo.jsxs)(er,T(v({gap:"1/2",flexSizing:"auto"},j),{className:[Es("Wrap"),Y,Es("ShowLegendsAlways_"+h)].join(" "),children:[(0,vo.jsx)(zO.Rail,{rootStates:r,color:o,val_status:F,set_status:Z,DotData:ge,form:l,enableFormSubmit:b}),!!f&&(0,vo.jsx)(zO.IndicatorLabels,{componentID:F.componentID,min:p,max:m,step:g,customLegends:u})]}))})},FO=r=>{let a=T(v({},r),{freeCSS:v({minWidth:120},r.freeCSS)});return(0,vo.jsx)(Ra,{componentID:r.componentID,children:L$,states:To(a)})};var No=K(At()),bw=K(ar()),yw=K(fr());function N$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a&&l.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var O$=r=>{let a=r,{componentID:o,color:s="posi",required:l,form:f,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,size:k="regular",value:L="",icon:N="",isApply:Y=!1}=a,M=$e(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,yw.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,bw.UUID)()}),[Z,O]=(0,yw.useState)({ok:!1,notice:[]}),ae=!!j.dataValue;jt.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Z,set_validate:O,SystemValidation:N$});let ge="middle",ee=5,ye=3;return Y&&(ye=4),(0,No.jsxs)(ja,{val_status:j,set_status:F,val_validate:Z,states:r,children:[(0,No.jsx)(X,v({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:uf("Input"),id:u,onKeyDown:be=>{g&&g(be),h&&jt.SubmitForm(be,f)},onChange:be=>{let{checked:he}=be.target;Z.ok&&O({ok:!1,notice:[]}),F(H=>T(v({},H),{dataValue:he,eventType:"update",eventID:(0,bw.UUID)()})),m&&m(be)}},M)),(0,No.jsx)(vg.Plain,{tabIndex:-1,htmlFor:u,padding:"1/4",transition:ge,borderRadius:"1.tone.primary",className:uf("Label"),children:(0,No.jsx)(X,T(v({},Y?{padding:"1/4",isRounded:!0,backgroundColor:ae?s:"layer.3"}:{}),{children:(0,No.jsxs)(gt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:(ee+ye)/ee},children:[!Y&&(0,No.jsx)(X,{position:"absolute",backgroundColor:ae?s:"layer.5",isRounded:!0,transition:ge,width:1,opacity:"middle",className:uf("Bar"),freeCSS:{height:"40%"}}),(0,No.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&ae?s:"white",transition:ge,isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:uf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:ae?`calc(${ye.ratio(ee+ye)}%)`:0},children:N&&(0,No.jsx)(X,{transition:ge,flexCenter:!0,fontColor:ae?Y?s:"white":"6.clear",children:N})})]})}))})]})},Ng=r=>{let a=v({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,No.jsx)(Ra,{componentID:a.componentID,children:O$,states:a})},bm=Ng;bm.S=r=>(0,No.jsx)(Ng,T(v({},r),{size:"small"})),bm.R=r=>(0,No.jsx)(Ng,T(v({},r),{size:"regular"})),bm.L=r=>(0,No.jsx)(Ng,T(v({},r),{size:"large"}));var jO=K(At());var HO=r=>(0,jO.jsx)(Rg,T(v({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Sc=K(At()),UO=K(ar()),Og=K(fr());var M$=r=>{let a=r,{__sys_segmented_type:o,tone:s,value:l,options:f,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:g,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:w,freeCSS:k,wrapStyles:L}=a,N=$e(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,Og.useState)((0,UO.UUID)()),[M,j]=(0,Og.useState)(l),[F,Z]=(0,Og.useState)(M);return M!=l&&(j(l),Z(l)),(0,Sc.jsx)(vf,T(v({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},N),{freeCSS:v({whiteSpace:"nowrap"},k),cellStyles:v({flexCenter:!0,ssEffectsOnActive:"push"},g),cellCheckedStyles:v({},w),cellClassName:[b,hg("Label"),hg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,hg("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:(...O)=>{h&&h(...O),o=="bottomline"&&Z(O[0])}}))},Mg=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=T(v({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:v({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Sc.jsx)(M$,v({__sys_segmented_type:"plain"},r))},is=Mg;is.Cloud=r=>{let a=T(v({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:v({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Sc.jsx)(Mg,v({},a))},is.CloudTheme=r=>{let a=v({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Sc.jsx)(is.Cloud,v({},a))},is.CloudMono=r=>{let a=T(v({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:v({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Sc.jsx)(is.Cloud,v({},a))},is.Border=r=>{let a=T(v({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:v({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,Sc.jsx)(Mg,v({},a))},is.BorderVivid=r=>{let a=T(v({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:v({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Sc.jsx)(is.Border,v({},a))},is.Bottomline=r=>{let a=T(v({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:v({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:v({fontColor:"theme"},r.cellCheckedStyles)});return(0,Sc.jsx)(Mg,v({},a))};var Pg=K(At()),VO=K(ar()),Sw=K(fr());function P$(r){let{value:a,states:o}=r,{required:s}=o,l=[];return s&&!a&&l.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!l.filter(({type:f})=>f=="invalid").length,notice:l}}var I$=r=>{let a=r,{componentID:o,required:s,form:l,enableFormSubmit:f,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:g,onUpdateValidValue:b,value:S=""}=a,w=$e(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,Sw.useState)(jt.DefaultStatus(r.componentID||"",S)),[N,Y]=(0,Sw.useState)({ok:!1,notice:[]});return jt.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:N,set_validate:Y,SystemValidation:P$}),(0,Pg.jsx)(ja,{val_status:k,set_status:L,val_validate:N,states:r,children:(0,Pg.jsx)(X,v({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:uf("Input"),onKeyDown:M=>{p&&p(M),f&&jt.SubmitForm(M,l)},onChange:M=>{let{value:j}=M.target;N.ok&&Y({ok:!1,notice:[]}),L(F=>T(v({},F),{dataValue:j,eventType:"update",eventID:(0,VO.UUID)()})),h&&h(M)}},w))})},WO=r=>{let a=T(v(T(v({},Vn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:v({minWidth:108},r.freeCSS)});return(0,Pg.jsx)(Ra,{componentID:r.componentID,children:I$,states:a})};var ls=K(ar()),qO=r=>La(void 0,null,function*(){let a=1,o={};return yield ls.default.scope(()=>La(void 0,null,function*(){if(ls.useStore.get("form-process-"+r))return;ls.useStore.set({["form-process-"+r]:!0});let s=document.activeElement;s&&s.blur();{let l=ls.useStore.get(["form-data",r].join("-"));if(!l){ls.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(l)){if(!u)continue;let h=ls.useStore.get(u.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let l=ls.useStore.get(["form-data",r].join("-"));if(!l){ls.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(l))u&&(a&=Number(u.validation),o[f]=u.value)}ls.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var wa;(r=>(r.Plain=B7,r.Hidden=V7,r.TextField=mn,r.Contenteditable=Z7,r.DigitCharacters=tO,r.Time=Os,r.Select=as,r.Autocomplete=Lg,r.List=_O,r.Radio=vf,r.Checkbox=Rg,r.Checker=HO,r.Search=kO,r.Filer=gw,r.Slider=FO,r.Switch=bm,r.Segmented=is,r.Color=WO,r.LeftIcon=$d,r.RightIcon=Fa,r.LeftIndicator=wg,r.RightIndicator=Cg,r.RequiredSign=bg,r.RequiredShortSign=yg,r.OmitSign=Sg,r.CollectForm=qO))(wa||(wa={}));var $O=r=>{let a=r,{tabIndex:o,tabs:s,onTabChange:l,componentDidMount:f}=a,u=$e(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,YO.useEffect)(()=>{f&&f()},[]),(0,Ig.jsx)(Lt,T(v({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:v({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,Ig.jsx)(X,{margin:[0,"auto"],children:(0,Ig.jsx)(wa.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:s.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{l&&l(h)}})})}))};var gu=K(At());var Wr={Table:r=>(0,gu.jsx)(X,T(v({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,gu.jsx)(X,v({htmlTag:"thead"},r)),Body:r=>(0,gu.jsx)(X,v({htmlTag:"tbody"},r)),Row:r=>(0,gu.jsx)(X,v({htmlTag:"tr"},r)),TH:r=>(0,gu.jsx)(X,v({htmlTag:"th"},r)),TD:r=>(0,gu.jsx)(X,v({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,gu.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Oo=K(At());var ww=K(At()),KO=K(ar());var GO=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),v({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},cl=r=>{let a={};return r.right&&(a.borderRight="unset"),r.top&&(r.left&&(a.borderTopLeftRadius="inherit"),r.right&&(a.borderTopRightRadius="inherit")),r.bottom&&(a.borderBottom="unset",r.left&&(a.borderBottomLeftRadius="inherit"),r.right&&(a.borderBottomRightRadius="inherit")),a};var ap=r=>{let a=v({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let s=T(v({tableID:a.tableID||(0,KO.UUID)(),tone:a.tone},a),{cellStyles:v(v({},GO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(s=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},s));let l=To(s),{className:f,style:u}=l,h=$e(l,["className","style"]),p=[f,Xt("Wrap"),Xt("TableType_"+a.type),Xt("RowClickable_"+!!s.onRowClick)].join(" ");return(0,ww.jsx)(X,{className:p,style:u,children:(0,ww.jsx)(o,v({},h))})};var Cw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:s,colLength:l,head:f,rows:u}=r;if(!f)return null;let h=[];return f.forEach((p,m)=>{let g=Wr[p.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:m==0,right:m==l-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=cl(b),w=s?s(b):{},k=T(v(v(v(v({},a),S),w),p),{freeCSS:v(v(v({},a.freeCSS),w.freeCSS),p.freeCSS),className:[Xt("Cell"),o,p.className].join(" ")});h.push((0,Oo.jsx)(g,v({},k),m))}),(0,Oo.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:s,head:l,rows:f,colLength:u,onRowClick:h}=r,p=[];return f.forEach((m,g)=>{let b=[];m.forEach((S,w)=>{let k=Wr[S.type=="th"?"TH":"TD"],L={top:g==0&&!l,bottom:g==f.length-1,left:w==0,right:w==u-1,rowIndex:g,colIndex:w,isBody:!0,isHeader:!1},N=cl(L),Y=s?s(L):{};b.push((0,Oo.jsx)(k,T(v(v(v(v({},a),N),S),Y),{freeCSS:v(v(v({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Xt("Cell"),o,S.className].join(" ")}),w))}),p.push((0,Oo.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},g))}),(0,Oo.jsx)(Oo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Oo.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Oo.jsxs)(Wr.Body,{children:[(0,Oo.jsx)(Cw.HeadRow,v({},r)),(0,Oo.jsx)(Cw.BodyRows,v({},r))]})}))},XO=r=>(0,Oo.jsx)(ap,T(v({type:"normal"},r),{JSXChildren:Cw.Normal}));var Ca=K(At()),Mo=K(ar()),np=K(fr());var kw=K(aM());var Tw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:s,colLength:l,head:f,rows:u}=r;if(!f)return null;let h=[];for(let p=0;p<l;p++){let m=f[p],g=Wr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:p==0,right:p==l-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=cl(b),w=s?s(b):{};h.push((0,Ca.jsx)(g,T(v(v(v(v({},a),S),m),w),{freeCSS:v(v(v({},a.freeCSS),w.freeCSS),m.freeCSS),className:[Xt("Cell"),o,m.className].join(" ")}),p))}return(0,Ca.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:s,head:l,rows:f,colLength:u,onOrderChanged:h}=r,[p]=(0,np.useState)((0,Mo.UUID)()),[m,g]=(0,np.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,w)=>{let k=[];{let L={top:w==0&&!l,bottom:w==f.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},N=cl(L),Y=s?s(L):{};k.push((0,Ca.jsx)(Wr.TH,T(v(v(v({padding:0,borderRight:!0},a),N),Y),{freeCSS:v(v({},a.freeCSS),Y.freeCSS),className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,Ca.jsx)(nt.Clear,{className:Xt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:M=>{ym.Start(M,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,Ca.jsx)(Ne,{icon:kw.faGripVertical})})}),"DragOrigin"))}S.forEach((L,N)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],M={top:!!l&&!l.length,bottom:w==f.length-1,left:!1,right:N==u-2,rowIndex:w,colIndex:N,isBody:!0,isHeader:!1},j=cl(M),F=s?s(M):{};k.push((0,Ca.jsx)(Y,T(v(v(v(v({},a),j),L),F),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),L.freeCSS),className:[Xt("Cell"),o,L.className].join(" ")}),N))}),b.push((0,Ca.jsx)(Wr.Row,{id:"TableRow-"+p+"-"+w,className:[Xt("Row"),Xt("BodyRow")].join(" "),children:k},w))}),!isNaN(m.to)){let{origin:S,to:w}=m,k=[];k.push((0,Ca.jsx)(Wr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,Ca.jsx)(Ne.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((L,N)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],M={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=cl(M),F=s?s(M):{};k.push((0,Ca.jsx)(Y,T(v(v(T(v({className:[Xt("Cell"),o,L.className].join(" ")},j),{backgroundColor:"theme.opa.low"}),F),L),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),L.freeCSS)})))}),b.splice(w,0,(0,Ca.jsx)(Wr.Row,{className:[Xt("Row"),Xt("Pre")].join(" "),children:k},"preSet"))}return(0,np.useEffect)(()=>{Mo.useStore.set({[p]:{swap:(S,w)=>{if(w||w==0){let k=m.rows[S],L=[...m.rows];L.splice(S,1),L.splice(w-(S<w?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(N=>Mo.default.Objectify(N.rowID)))}},preSet:S=>{let{origin:w,index:k}=S;g({rows:m.rows,origin:w,to:k})}}})}),(0,np.useEffect)(()=>()=>{Mo.useStore.delete(p)},[]),(0,Ca.jsx)(Ca.Fragment,{children:b})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Ca.jsx)(nt.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Oa.open({parent:a.currentTarget,content:(0,Ca.jsxs)(Oa.Body,{children:[(0,Ca.jsx)(Ne,{icon:kw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Ca.jsx)(Ne.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=Mo.default.Stringify(a.rowID||o),a)),(0,Ca.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Ca.jsxs)(Wr.Body,{children:[(0,Ca.jsx)(Tw.HeadRow,v({},r)),(0,Ca.jsx)(Tw.BodyRows,v({},r))]})}))},nM=r=>(0,Ca.jsx)(ap,T(v({type:"drag"},r),{JSXChildren:Tw.Drag})),ym={Start:function(r,a){return La(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:s,rows:l,maxLength:f}=a;vt("#TableRow-"+o+"-"+s).addClass(Xt("DraggerOrigin")),(0,Mo.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:u=>{ym.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{ym.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:u=>{ym.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{ym.End(u,a)}})})},Move:function(r,a){let{id:o,maxLength:s}=a,l=Mo.default.getCursor(r).y-Mo.default.getScreenSize().scrollY;for(let f=0;f<s;f++){let u=vt("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=u.position();f==0&&l<h?a.insertIndex=0:f===s-1&&p<=l?a.insertIndex=s:l>=h&&l<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:u}=a,h=Mo.useStore.get(o);h&&h.preSet&&h.preSet({origin:f,index:u})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:s,insertIndex:l}=a,f=Mo.useStore.get(o);f&&f.swap&&f.swap(s,l),vt("#TableRow-"+o+"-"+s).removeClass(Xt("DraggerOrigin")),(0,Mo.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Rt=K(At()),Wn=K(ar()),xf=K(fr());var dM=K(uS()),pM=K(dS()),hM=K(sS()),mM=K(fM());var wc={__memoryID:(0,Wn.UUID)(),Header:r=>{var a,o;let{val_status:s,set_status:l,KeywordFilterRows:f}=v({},r),{order:u,filter:h}=s,[p,m]=u.current,g=[],b=[...s.head];if(s.checker){let S={top:!0,bottom:!s.rows.length,left:!0,right:!s.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=cl(S),k=s.cellStylesCallback?s.cellStylesCallback(S):{};g.push((0,Rt.jsx)(Wr.TH,T(v(v(v({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},s.cellStyles),w),k),{freeCSS:T(v(v({},(a=s.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Xt("Cell"),s.cellClassName].join(" "),children:(0,Rt.jsx)(X,{flexCenter:!0,children:(0,Rt.jsx)(wa.Checker,{label:null,value:!1,onUpdateValidValue:L=>{let N=s.rows;N.forEach(Y=>{Y.checked=L}),l(T(v({},s),{rows:N}))}})})}),-1))}for(let S=0;S<s.colLength;S++){let w=b[S];if(!w)continue;let k=w.children||w.data,L=u.enabled&&u.column[S],N=h.enabled&&h.column[S],Y=L?(0,Rt.jsx)(Ne,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?pM.faArrowDown:dM.faArrowUp:hM.faArrowRight}):null,M=(0,Rt.jsx)(Rt.Fragment,{});if(N){let O=f.map(ge=>{var ee;return(ee=ge[S])==null?void 0:ee.data});O=[...new Set(O)].toASC();let ae=h.current[S];if(ae){let ge=O.filter(H=>!ae.includes(H)),ee=[];O.forEach(H=>{H&&ee.push({value:H,label:(0,Rt.jsx)(X,{flexSizing:"auto",children:H})})});let ye="BUTTON-"+s.componentID+"-"+S,be=s.componentID+"-"+S,he={sheetID:be,parent:"#"+ye,gravityPoint:23,type:"custom",content:(0,Rt.jsxs)(Lt,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Rt.jsx)(er,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Rt.jsx)(wa.Checkbox,{icon:!0,value:ge,display:"flex",gap:"2/3",override:"force",options:ee,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+s.componentID,onUpdateValidValue:H=>{let le=O.filter(B=>!H.includes(B)),de=v({},s);de.filter.current[S]=le,l(de)}})}),(0,Rt.jsxs)(gt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Rt.jsx)(nt.Border.S,{isRounded:!0,onClick:()=>{sr.close(be)},children:"\u9589\u3058\u308B"}),(0,Rt.jsx)(nt.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];ae.length||(H=O);let le=v({},s);le.filter.current[S]=H,l(le)},children:"\u5168\u9078\u629E"})]})]})};M=(0,Rt.jsx)(X,{className:Xt("FilterRegion"),children:(0,Rt.jsx)(nt.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Xt("Filtering_"+!!ae.length),id:ye,onClick:H=>{H.stopPropagation(),sr.open(he)},children:(0,Rt.jsx)(Ne,{icon:mM.faFilter})})})}}let j={top:!0,bottom:!s.rows.length,left:s.checker?!1:S==0,right:S==s.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=cl(j),Z=s.cellStylesCallback?s.cellStylesCallback(j):{};w=T(v(v(v(v({},s.cellStyles),F),w),Z),{ssPushable:L,freeCSS:v(v(v({},(o=s.cellStyles)==null?void 0:o.freeCSS),Z.freeCSS),w.freeCSS),className:[Xt("Cell"),s.cellClassName,w.className].join(" ")}),delete w.orderIndex,g.push((0,Rt.jsx)(Wr.TH,T(v({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:v({zIndex:2},w.freeCSS),onClick:O=>{if(L){let ae=v({},s),ge=[S,p===S&&m=="ASC"?"DESC":"ASC"];ae.order.current=ge,l(ae),s.onOrderChanged&&s.onOrderChanged(ge)}},children:(0,Rt.jsxs)(Lt,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[M,(0,Rt.jsxs)(Lt,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Rt.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:g})},Body:r=>{let{val_status:a,PageRows:o}=r,s=[];if(o.forEach((l,f)=>{var u;let h=[...l],p=[];if(a.checker){let m={top:f==0&&!a.head,bottom:f==o.length-1,left:!0,right:!a.colLength,rowIndex:f,colIndex:0,isBody:!0,isHeader:!1},g=cl(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Rt.jsx)(Wr.TH,T(v(v(v({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),g),b),{freeCSS:v(v({},(u=a.cellStyles)==null?void 0:u.freeCSS),b.freeCSS),className:[Xt("Cell"),a.cellClassName].join(" "),children:(0,Rt.jsx)(X,{flexCenter:!0,children:(0,Rt.jsx)(wa.Checker,{label:null,value:l.checked,override:"force",onUpdateValidValue:S=>{let w=a.rows,k=w.findIndex(L=>Wn.default.is.equal(L.rowID,l.rowID));k!=-1&&(w[k].checked=S,r.set_status(L=>T(v({},L),{rows:w})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let S=m,{type:w="td"}=S,k=$e(S,["type"]),L={top:f==0&&!a.head,bottom:f==o.length-1,left:a.checker?!1:g==0,right:g==a.colLength-1,rowIndex:f,colIndex:g,isBody:!0,isHeader:!1},N=cl(L),Y=a.cellStylesCallback?a.cellStylesCallback(L):{};k=T(v(v(v(v({},a.cellStyles),N),k),Y),{freeCSS:v(v(v({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),Y.freeCSS),className:[Xt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let M=Wr[w=="td"?"TD":"TH"];p.push((0,Rt.jsx)(M,v({},k),g))}),s.push((0,Rt.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(l.rowID,m)}},f))}),!o.length){let l=(0,Rt.jsx)(X,{padding:2,fontColor:"4.thin",textAlign:"center",borderTop:"1.thin",children:"\u30C6\u30FC\u30D6\u30EB\u304C\u3042\u308A\u307E\u305B\u3093"});a.noRecords&&(l=(0,Rt.jsx)(Rt.Fragment,{children:a.noRecords})),s.push((0,Rt.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow"),Xt("DataNotFound")].join(" "),children:(0,Rt.jsx)(Wr.TD,{colSpan:a.colLength,className:Xt("Cell"),children:l})},"dataNotFound"))}return(0,Rt.jsx)(Rt.Fragment,{children:s})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:s,filter:l,order:f,paging:u}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],g=[...a.rows];if(s&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(String(s).escapeRegExChar(),"i"))?1:0),m=[...p],g=[...p]),l.enabled)for(let w=0;w<a.colLength;w++){let k=l.column[w],L=l.current[w];k&&L&&L.length&&(m=m.filter(N=>!L.includes(N[w].data)),g=[...m])}f.enabled&&(f.current[1]=="ASC"?m=m.toASC([f.current[0],"orderIndex"].join(".")):m=m.toDESC([f.current[0],"orderIndex"].join(".")),g=[...m]);{let{currentPageIndex:w,rowLength:k}=u;g=[...g].splice((w-1)*k,k)}let b=wc.__memoryID+"_"+a.tableID,S={rows:{total:h.length,page:g.length,filtered:m.length},val_status:T(v({},a),{paging:T(v({},a.paging),{pageLength:Math.ceil(m.length/a.paging.rowLength)})}),set_status:o};return Wn.useStore.update({[b]:{getRowData:()=>{let w=[...h];return f.enabled&&(f.current[1]=="ASC"?w=w.toASC([f.current[0],"orderIndex"].join(".")):w=w.toDESC([f.current[0],"orderIndex"].join("."))),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),g.forEach(k=>{let{rowID:L}=k;w.find(N=>Wn.default.is.equal(N.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;w.find(N=>Wn.default.is.equal(N.rowID,L)).filtered=!0}),w}}}),(0,xf.useEffect)(()=>{El.release(a.tableID,S)}),(0,Rt.jsx)(X,{className:Xt("TableBase"),children:(0,Rt.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Rt.jsxs)(Wr.Body,{children:[(0,Rt.jsx)(wc.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Rt.jsx)(wc.Body,{val_status:a,set_status:o,PageRows:g})]})})},s)},Propagations:{},DataLeveler:r=>{var a,o;return r=v({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((s,l)=>{var f;return Wn.default.is.boolean(r.filter)?r.filter:(f=r.filter[l])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((s,l)=>{var f;return Wn.default.is.boolean(r.order)?r.order:(f=r.order[l])!=null?f:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((s,l)=>{s.rowID=s.rowID||l;let f=[];s.forEach((u,h)=>{let{data:p,children:m,orderIndex:g}=u;u.orderIndex=Wn.default.is.exist(g)?String(g):String(p),u.children=m||String(p),f.push(String(u.data))}),s.__sys4SearchKey=f.join("/")}),(0,Rt.jsx)(wc.StateManager,v({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:s="",filter:l,order:f,defaultOrder:u=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,xf.useState)((0,Wn.UUID)()),m={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:s,filter:{enabled:l!==!1,column:l,current:Array.from({length:a},()=>[])},order:{enabled:f!==!1,column:f,current:u},paging:{rowLength:h,pageLength:Math.ceil(r.rows.length/h),currentPageIndex:1},head:r.head,rows:r.rows,noRecords:r.noRecords,cellStyles:r.cellStyles||{},cellClassName:r.cellClassName||"",cellStylesCallback:r.cellStylesCallback,onRowClick:r.onRowClick,onOrderChanged:r.onOrderChanged},[g,b]=(0,xf.useState)(m);return(0,xf.useEffect)(()=>{b(S=>T(v({},S),{rows:m.rows}))},[Wn.default.Stringify(m.rows)]),(0,xf.useEffect)(()=>{b(S=>T(v({},S),{head:m.head}))},[Wn.default.Stringify(m.head)]),(0,Rt.jsx)(wc.Core,{val_status:g,set_status:b})}},z$={__memoryID:wc.__memoryID,getRowData:r=>{let a=Wn.useStore.get(wc.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},zg={SearchInput:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:s}=a;return(0,Rt.jsx)(wa.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Rt.jsx)(wa.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Rt.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:l=>{r.onChange(l),Wn.default.interval.once(()=>{s(f=>T(v({},f),{paging:T(v({},f.paging),{currentPageIndex:1}),filter:T(v({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:l}))},200,"InputSearchTime")}})},Info:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:s}=a,l=a.rows.filtered.ratio(a.rows.total)||0;return(0,Rt.jsxs)(Lt,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Rt.jsx)(Cn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",l,"%)"]})},Paging:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:s}=a,l=[];for(let u=0;u<o.paging.pageLength;u++)l.push({value:u+1,label:(u+1).toString()});let f=u=>{let h=Math.min(Math.max(1,u),o.paging.pageLength),p=v({},o);p.paging.currentPageIndex=h,s(m=>T(v({},m),{paging:T(v({},m.paging),{currentPageIndex:h})}))};return(0,Rt.jsxs)(gt.Center,{children:[(0,Rt.jsxs)(gt.Center,{gap:"1/2",children:[(0,Rt.jsx)(wa.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:l,onUpdateValidValue:u=>{f(u)}}),"/ ",o.paging.pageLength]}),(0,Rt.jsxs)(gt.Right,{gap:"1/2",children:[(0,Rt.jsx)(nt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Rt.jsx)(Ne.ChevronLeft,{})}),(0,Rt.jsx)(nt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Rt.jsx)(Ne.ChevronRight,{})})]})]})},RowLength:r=>{let a=El.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:s}=a,l=o.paging.rowLength,f=0,u=r.lengthSelect.map(h=>(f|=+(h==l),{value:h,label:h.toString()}));return f||u.push({value:l,label:l.toString()}),(0,Rt.jsx)(gt.Center,{gap:"1/2",children:(0,Rt.jsx)(wa.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],SelectorStyles:{freeCSS:{minWidth:12*9}},SelectorPosition:4,value:o.paging.rowLength,options:u.toASC("value"),onUpdateValidValue:h=>{s(p=>T(v({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},B$=r=>(0,Rt.jsx)(ap,T(v({},r),{type:"data",JSXChildren:wc.DataLeveler})),bu=B$;bu.__memoryID=wc.__memoryID,bu.getRowData=z$.getRowData,bu.Info=zg.Info,bu.Paging=zg.Paging,bu.RowLength=zg.RowLength,bu.SearchInput=zg.SearchInput;var Bg;(r=>(r.Normal=XO,r.Data=bu,r.Drag=nM,r.Parts=Wr))(Bg||(Bg={}));var Rw=K(At()),Sm=K(ar());var _c={uid:(0,Sm.UUID)(),open:(r,a,o=24,s=.35)=>{r&&Sm.default.interval.once(()=>{Oa.open({tipsID:_c.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Rw.jsx)(Oa.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Rw.jsx)(or.Supplement,{children:a})})})},s*1e3,_c.uid)},abort:()=>{Sm.default.interval.abort(_c.uid),Oa.close(_c.uid)}};var pt=K(At()),oa=K(ar());var ss=K(fr());var WM=K(wM()),qM=K(DM()),YM=K(IM()),$M=K(VM());var Ow=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops,this.use=a.use,this.componentID=a.componentID,this.scale={current:a.scale.default,default:a.scale.default,min:a.scale.min,max:a.scale.max};let o=a.canvas;this.Canvas={elm:o,ctx:o.getContext("2d")};let s=a.picture.image,{width:l,height:f}=s,u=l/f;this.Picture={elm:s,originDataUrl:s.src,aspect:u,revisedAspect:1,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:0,y:0,w:0,h:0,aspect:1},outImage:{x:0,y:0,w:0,h:0},imageX:l/2,imageY:f/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,s=0,l=0;if(this.use=="square"){let g=a.width/3*2,b=a.height/3*2;s=Math.min(g,b),l=s}else this.use=="wallpaper.horizontal"?(s=a.width*(7/9),l=s/3):this.use=="wallpaper.vertical"&&(l=a.height*(7/9),s=l/2);let{width:f,height:u}=o,h=(a.width-s)/2,p=(a.height-l)/2,m=s/l;this.pst={frame:{x:h,y:p,w:s,h:l,aspect:m},outImage:{x:0,y:0,w:0,h:0},imageX:f/2,imageY:u/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:s,y:l}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:s,y:l},frameExpandRate:{x:this.Canvas.elm.width/f.width,y:this.Canvas.elm.height/f.height}}}else{let{origin:f,frameExpandRate:u}=this.dragEffectInfo,h=f.x-s,p=f.y-l,m=this.scale.current*this.Picture.revisedAspect/100,g=h/m*u.x,b=p/m*u.y;o=="move"?this.drawImage(this.pst.imageX+g,this.pst.imageY+b):o=="end"&&this.drawImage(this.pst.imageX+=g,this.pst.imageY+=b)}}pinchEffect(a){let{eventType:o,event:s}=a,{x:l,y:f}=oa.default.getCursor(s.touches[0]),{x:u,y:h}=oa.default.getCursor(s.touches[1]),p=u-l,m=h-f;if(o=="start")this.pinchEffectInfo.origin={x:p,y:m,scale:this.scale.current};else if(o=="move"){let{origin:g}=this.pinchEffectInfo,b=Math.sqrt(Math.pow(g.x,2)+Math.pow(g.y,2)),S=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,w=Number(g.scale*S);this.set_scale(w)}}updateScale(a){let o=a;o=Math.max(o,this.scale.min),o=Math.min(o,this.scale.max),this.scale.current=o,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return La(this,null,function*(){let{grayScale:a,tone:o,rotate:s}=this.Picture,l=document.createElement("canvas"),f=l.getContext("2d"),u=yield oa.default.ImageLoader(this.Picture.originDataUrl),h=u.width,p=u.height;(s==90||s==270)&&(h=u.height,p=u.width),l.width=h,l.height=p,a&&(f.filter="grayscale("+a+"%)"),s&&(f.translate(h/2,p/2),f.rotate(s*Math.PI/180),[90,270].includes(s)?f.translate(-p/2,-h/2):f.translate(-h/2,-p/2)),f.drawImage(u,0,0,u.width,u.height);let m=f.getImageData(0,0,l.width,l.height),g=m.data;{a/=100;let k=[[255,255,255],[255,200,100],[170,170,255],[240,200,145],[128,255,255],[255,128,255],[255,255,128],[128,158,169],[128,112,162],[50,192,87],[246,100,140]][o],L=k[0]/255,N=k[1]/255,Y=k[2]/255;for(let M=0;M<p;M++)for(let j=0;j<h;j++){var b=(M*h+j)*4;if(a){let F=.3*g[b]+.59*g[b+1]+.11*g[b+2];for(var S=0;S<3;S++){let Z=g[b+S];g[b+S]=Z+(F-Z)*a}}g[b]*=L,g[b+1]*=N,g[b+2]*=Y}}f.putImageData(m,0,0);let w=l.toDataURL("image/jpeg");{let k=yield oa.default.ImageLoader(w),{width:L,height:N}=k,Y=L/N;this.Picture=T(v({},this.Picture),{elm:k,aspect:Y,revisedAspect:this.pst.frame.aspect>Y?this.pst.frame.w/L:this.pst.frame.h/N})}this.drawImage()})}drawImage(a,o){let{use:s,Canvas:{ctx:l,elm:f},pst:{frame:u}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let m=this.scale.current/100,g=this.Picture.revisedAspect*m,b=this.pst.centerX-h*g,S=this.pst.centerY-p*g,w=this.Picture.elm.width*g,k=this.Picture.elm.height*g;{let L=this.pst.frame.x+this.pst.frame.w-w,N=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,M=this.pst.frame.y,j=0;b<L&&(j=b-L),b>N&&(j=b-N);let F=0;S<Y&&(F=S-Y),S>M&&(F=S-M),this.dragEffectInfo.origin.x+=j/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=F/2/this.dragEffectInfo.frameExpandRate.y,b=Math.min(Math.max(b,L),N),S=Math.min(Math.max(S,Y),M)}this.pst.outImage={x:b,y:S,w,h:k},l.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),l.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,b,S,w,k)}{if(s=="square"){l.fillStyle="rgba( 20,24,20,.3 )",l.beginPath();let g=f.width/3*2,b=f.height/3*2,S=Math.min(g,b),w=Math.max(g,b);l.arc(f.width/2,f.height/2,w,0,Math.PI*2,!0),l.arc(f.width/2,f.height/2,S/2,0,Math.PI*2,!1),l.closePath(),l.fill()}else(s=="wallpaper.horizontal"||s=="wallpaper.vertical")&&(l.fillStyle="rgba( 20,24,20,.3 )");l.beginPath(),l.moveTo(0,0),l.lineTo(f.width,0),l.lineTo(f.width,f.height),l.lineTo(0,f.height),l.lineTo(0,0),l.closePath(),l.lineTo(u.x,u.y),l.lineTo(u.x,u.y+u.h),l.lineTo(u.x+u.w,u.y+u.h),l.lineTo(u.x+u.w,u.y),l.lineTo(u.x,u.y),l.fill();let m=(0,oa.default)(document.body).getStyleProperty("--color-theme-hsl");l.lineWidth=4,l.strokeStyle=`hsla( ${m},1 )`,l.strokeRect(u.x,u.y,u.w,u.h)}}export(){return La(this,null,function*(){let{Canvas:a,develops:o,Picture:s,pst:{outImage:l,frame:f}}=this,u=l.w/s.elm.width,h=l.h/s.elm.height,p=(f.x-l.x)/u,m=(f.x-l.x+f.w)/u,g=(f.y-l.y)/h,b=(f.y-l.y+f.h)/h,S=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:L,maxSize:N}=o[k];N=N||{S:1024*20,R:1024*100,L:1024*350}[L];let Y={S:140,R:600,L:1200}[L],M=Y;this.use=="wallpaper.horizontal"?M=Y/3:this.use=="wallpaper.vertical"&&(M=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=M;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,M),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,M);let Z=j.toDataURL(w),O=yield Z.toBlob(w);if(!O)return;if(O.size>=N){let ge=N/O.size;if(Z=j.toDataURL(w,ge*.92),O=yield Z.toBlob(w),!O)return}let ae=new File([O],this.val_file.name,{type:w});S[k]=ae}return S})}},GM={Core:r=>{let{val_file:a,options:o,finishedCallback:s,abortCallback:l}=r,{use:f,develops:u=[]}=o,[h]=(0,ss.useState)((0,oa.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,g]=(0,ss.useState)(p.scale.default),[b,S]=(0,ss.useState)(p.rotate),[w,k]=(0,ss.useState)(p.grayScale),[L,N]=(0,ss.useState)(p.tone);return(0,ss.useEffect)(()=>{let Y="CropperResize";return(0,oa.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{oa.default.interval.once(()=>{var M;let j=vt("#Canvas-"+h)[0];if(!j)return;let F=(M=oa.useStore.get(h))==null?void 0:M.Instance;if(!F)return;let Z=j.position(),O=Z.width/Z.height;j.width=2400,j.height=2400/O;let{width:ae,height:ge}=j;F.pst.centerX=ae/2,F.pst.centerY=ge/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,oa.default)(window).removeEvent(Y)}},[]),(0,ss.useEffect)(()=>{oa.useStore.set({[h]:{}}),La(void 0,null,function*(){Ao.fn.corner.active(),yield oa.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let M=Y.result,j=vt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Z=F.width/F.height;j.width=2400,j.height=2400/Z;let O=new Ow({set_scale:g,val_file:a,develops:u,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield oa.default.ImageLoader(M),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});oa.useStore.set({[h]:{Instance:O}});let ae=function(ye){if(ye.preventDefault(),ye.touches&&ye.touches.length>1)O.pinchEffect({eventType:"start",event:ye}),(0,oa.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:be=>{be.preventDefault(),O.pinchEffect({eventType:"move",event:be})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ee});else{O.dragEffect(v({eventType:"start"},oa.default.getCursor(ye)));let{type:be}=ye;(0,oa.default)(document).addEvent({eventType:be=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:he=>{ge("move",he)}}).addEvent({eventType:be=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:he=>{ge("end",he),ee(he)}})}},ge=function(ye,be){be.preventDefault(),O.dragEffect(v({eventType:ye},oa.default.getCursor(be)))},ee=function(ye){ye.preventDefault(),(0,oa.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,oa.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:ye=>{ye.preventDefault();let be=Number(ye.wheelDelta*.04),he=O.scale.current+be;he=Math.max(he,O.scale.min),he=Math.min(he,O.scale.max),g(he)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:ae,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:ae,options:{passive:!1}}),setTimeout(()=>{Ao.fn.corner.stop()},1e3)})},[a.id]),(0,ss.useEffect)(()=>{var Y;let M=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;M&&M.updateScale(m)},[m]),(0,ss.useEffect)(()=>{var Y;let M=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;M&&M.updateFilter({grayScale:w,tone:L,rotate:b})},[w,L,b]),(0,pt.jsx)(sr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,pt.jsxs)(er,{className:[cu("Wrap"),cu("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,pt.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,pt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:cu("Canvas"),id:"Canvas-"+h})}),(0,pt.jsxs)(gt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,pt.jsx)(GM.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:N,val_grayScale:w,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,pt.jsxs)(gt.Right,{flexSizing:"none",children:[(0,pt.jsx)(nt.Border,{isRounded:!0,onClick:()=>{l()},children:"\u9589\u3058\u308B"}),(0,pt.jsx)(nt,{isRounded:!0,boxShadow:"3.remark",onClick:()=>La(void 0,null,function*(){var Y;let M=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;if(!M)return;Ao.fn.mini.active("CropperExportation");let j=yield M.export();setTimeout(()=>{Ao.fn.mini.stop("CropperExportation"),s(j)},3e3)}),children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ao.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=["","\u6696\u8272","\u5BD2\u8272","\u30BB\u30D4\u30A2","\u30B7\u30A2\u30F3","\u30DE\u30BC\u30F3\u30BF","\u30A4\u30A8\u30ED\u30FC","\u30AA\u30EA\u30B8\u30CA\u30EB1","\u30AA\u30EA\u30B8\u30CA\u30EB2","\u30AA\u30EA\u30B8\u30CA\u30EB3","\u30AA\u30EA\u30B8\u30CA\u30EB4"],o=s=>a[s]||"\u306A\u3057";return(0,pt.jsxs)(gt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,pt.jsxs)(er,{gap:"1/3",children:[(0,pt.jsx)(or.Supplement,{children:"Rotate"}),(0,pt.jsxs)(gt.Left,{flexChilds:"even",gap:"1/6",children:[(0,pt.jsx)(nt.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let s=r.val_rotate-90;s<0&&(s+=360),r.set_rotate(s)},children:(0,pt.jsxs)(gt.Center,{gap:"1/4",children:["90\xB0",(0,pt.jsx)(Ne,{icon:YM.faRotateLeft})]})}),(0,pt.jsx)(nt.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,pt.jsxs)(gt.Center,{gap:"1/4",children:[(0,pt.jsx)(Ne,{icon:$M.faRotateRight}),"90\xB0"]})})]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"Zoom"}),(0,pt.jsxs)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:s=>{let l="CropperZoomEdit";Oa.open({tipsID:l,gravityPoint:3,event:s,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,pt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(l)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(wa.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:(f,u)=>{oa.default.interval.once(()=>{r.set_scale(f+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"GrayScale"}),(0,pt.jsxs)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:s=>{let l="CropperGrayScaleEdit";Oa.open({tipsID:l,gravityPoint:3,event:s,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:WM.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,pt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(l)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(wa.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:f=>{oa.default.interval.once(()=>{r.set_grayScale(f)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:f=>f+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(or.Supplement,{children:"Tone"}),(0,pt.jsx)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:s=>{let l="CropperToneEdit";Oa.open({tipsID:l,gravityPoint:3,event:s,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let f=[];for(let u=1;u<=10;u++)f.push({value:u,label:(0,pt.jsxs)(gt.Left,{gap:"1/3",children:[(0,pt.jsx)(X,{ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+u)].join(" ")}),(0,pt.jsx)(X,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,pt.jsx)(sr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(gt.Separate,{children:[(0,pt.jsx)(or.Paragraph,{children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ne,{icon:qM.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,pt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Oa.close(l)},children:(0,pt.jsx)(Ne.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(wa.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,pt.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:u=>{r.set_tone(u)}})]})})}})},children:(0,pt.jsxs)(gt.Center,{gap:"1/2",children:[(0,pt.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Mw={openDialogNEdit:r=>La(void 0,null,function*(){let a=yield wa.Filer.fn.openDialog({accept:"image",multiple:!1});Mw.openEditor(v({imageFile:a[0]},r))}),openEditor:r=>La(void 0,null,function*(){let a="CropperImage";sr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,pt.jsx)(GM.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{sr.close(a),r.onProcessFinished(o)},abortCallback:()=>{sr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Po=K(At());var KM=()=>{let{href:r}=location;return(0,Po.jsx)(gt.Center,{padding:[4,1],children:(0,Po.jsxs)(er,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Po.jsx)(Ne.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Po.jsxs)(X,{children:[(0,Po.jsx)(or.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Po.jsx)(or.Supplement,{fontColor:"3.blur",children:"\u5165\u529B\u3055\u308C\u305F\u30EA\u30F3\u30AF\u306E\u30DA\u30FC\u30B8\u306F\u5B58\u5728\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002"})]}),(0,Po.jsxs)(er,{children:[(0,Po.jsxs)(or,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Po.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Po.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,Po.jsx)(df.Link,{newTab:!0,href:r,children:r}),(0,Po.jsx)(df.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Fg=r=>{let[a,o]=(0,yu.useState)(r.pathname),s=!0;a!==r.pathname&&(s=!1,o(r.pathname));let l=(0,yu.useRef)(!1);(0,yu.useEffect)(()=>{s&&(l.current?(sr.closeAll(!0),As.fn.updateCSSProperty.reset()):l.current=!0)},[a]),s&&r.beforeCB&&r.beforeCB(location.href),(0,yu.useEffect)(()=>{s&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,yu.useEffect)(()=>{s&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Pn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Pn.open(r);return}Pn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Pn.pushSync(r);return}Pn.__push(r)},back:()=>{Pn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Pn.__push=r},setBackEffect:r=>{Pn.__back=r}};var XM=K(ar());var Gh=[{key:"comun",isBrand:!1,isAvocado:!0},{key:"leaf",isBrand:!1,isAvocado:!0},{key:"heart",isBrand:!1,isAvocado:!0},{key:"droplet",isBrand:!1,isAvocado:!0},{key:"brick",isBrand:!1,isAvocado:!1},{key:"flower",isBrand:!1,isAvocado:!1},{key:"lip",isBrand:!1,isAvocado:!1},{key:"wine",isBrand:!1,isAvocado:!1},{key:"theater",isBrand:!1,isAvocado:!1},{key:"bat",isBrand:!1,isAvocado:!1},{key:"poizon",isBrand:!1,isAvocado:!1},{key:"eggplant",isBrand:!1,isAvocado:!1},{key:"ufo",isBrand:!1,isAvocado:!1},{key:"alien",isBrand:!1,isAvocado:!1},{key:"tombstone",isBrand:!1,isAvocado:!1},{key:"ninja",isBrand:!1,isAvocado:!1},{key:"moon",isBrand:!1,isAvocado:!1},{key:"rain",isBrand:!1,isAvocado:!1},{key:"unicorn",isBrand:!1,isAvocado:!1},{key:"axe",isBrand:!1,isAvocado:!1},{key:"gem",isBrand:!1,isAvocado:!1},{key:"soap",isBrand:!1,isAvocado:!1},{key:"drizzle",isBrand:!1,isAvocado:!1},{key:"building",isBrand:!1,isAvocado:!1},{key:"fish",isBrand:!1,isAvocado:!1},{key:"icicles",isBrand:!1,isAvocado:!1},{key:"water",isBrand:!1,isAvocado:!1},{key:"tree1",isBrand:!1,isAvocado:!1},{key:"tree2",isBrand:!1,isAvocado:!1},{key:"tree3",isBrand:!1,isAvocado:!1},{key:"battery",isBrand:!1,isAvocado:!1},{key:"seedle",isBrand:!1,isAvocado:!1},{key:"greenTea",isBrand:!1,isAvocado:!1},{key:"oak",isBrand:!1,isAvocado:!1},{key:"salad",isBrand:!1,isAvocado:!1},{key:"cloudy",isBrand:!1,isAvocado:!1},{key:"lemon",isBrand:!1,isAvocado:!1},{key:"angel",isBrand:!1,isAvocado:!1},{key:"parasol",isBrand:!1,isAvocado:!1},{key:"pizza",isBrand:!1,isAvocado:!1},{key:"thunder",isBrand:!1,isAvocado:!1},{key:"latte",isBrand:!1,isAvocado:!1},{key:"island",isBrand:!1,isAvocado:!1},{key:"shovel",isBrand:!1,isAvocado:!1},{key:"coffee",isBrand:!1,isAvocado:!1},{key:"carrot",isBrand:!1,isAvocado:!1},{key:"cactus",isBrand:!1,isAvocado:!1},{key:"volcano",isBrand:!1,isAvocado:!1},{key:"choco",isBrand:!1,isAvocado:!1},{key:"industry",isBrand:!1,isAvocado:!1},{key:"gun",isBrand:!1,isAvocado:!1},{key:"galaxy",isBrand:!1,isAvocado:!1},{key:"line",isBrand:!0,isAvocado:!1},{key:"twitter",isBrand:!0,isAvocado:!1},{key:"amazon",isBrand:!0,isAvocado:!1},{key:"facebook",isBrand:!0,isAvocado:!1},{key:"android",isBrand:!0,isAvocado:!1},{key:"slackBlue",isBrand:!0,isAvocado:!1},{key:"slackGreen",isBrand:!0,isAvocado:!1},{key:"slackRed",isBrand:!0,isAvocado:!1},{key:"slackYellow",isBrand:!0,isAvocado:!1},{key:"slackBase",isBrand:!0,isAvocado:!1},{key:"googleBlue",isBrand:!0,isAvocado:!1},{key:"googleGreen",isBrand:!0,isAvocado:!1},{key:"googleYellow",isBrand:!0,isAvocado:!1},{key:"googleRed",isBrand:!0,isAvocado:!1}],$h=()=>{let r="#45515c",a=(0,XM.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},QM={light:"#FFF",dark:"#333",dim:"#666",auto:()=>ht.get().isSystemDarkmode()?"#333":"#FFF"},Iw={};Gh.forEach(r=>{let{key:a,isAvocado:o,isBrand:s}=r;Iw[a]={alfa:l=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${l!=null?l:1} ) `,isAvocado:o,isBrand:s}});var Ka=K(ar());var Re={toConcreteBorderRadius:r=>{let a=ht.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>Ka.default.is.exist(r),ClassNames:(r,a)=>{var o,s,l,f,u,h,p,m,g,b;let S=[],{gap:w,display:k,position:L,overflow:N,fontColor:Y,fontSize:M,fontWeight:j,fontHeight:F,backgroundColor:Z,textAlign:O,textDecoration:ae,boxShadow:ge,margin:ee,marginTop:ye,marginRight:be,marginBottom:he,marginLeft:H,padding:le,paddingTop:de,paddingRight:B,paddingBottom:W,paddingLeft:ie,top:te,right:se,bottom:we,left:Se,border:je,borderTop:Ye,borderRight:Ge,borderBottom:rt,borderLeft:et,borderWidth:Nt,borderColor:$t,borderStyle:dt,borderRadius:Xe,borderTopLeftRadius:ke,borderTopRightRadius:it,borderBottomLeftRadius:kt,borderBottomRightRadius:Tt,flexSizing:wt,flexWrap:tr,flexType:Ut,flexChilds:dr,flexGrid:ra,horizontalAlign:jr,verticalAlign:qr,transition:xr,gridCenter:pr,gridCols:br,maxHeight:pa,minHeight:kr,maxWidth:vr,minWidth:Pr,width:ga,height:ze,unitHeight:ct,unitWidth:bt,opacity:Gt}=a;{if(Re.ev(k)&&S.push("dsp"+k),N){let G=Ka.default.flatArray(N);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(L)&&S.push("ps"+L),Re.ev(O)&&S.push("txtalg"+O),Re.ev(O)&&S.push("txtdeco"+ae),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(M)&&S.push("ftsz"+((s=String(M))==null?void 0:s.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((l=String(j))==null?void 0:l.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Z)&&S.push("bgc"+((u=String(Z))==null?void 0:u.replace(/\./g,"_"))),Re.ev(ge)&&S.push("bs"+ge);let Vt,Rr,_r,Yr;Ka.default.is.exist(ee)&&(Ka.default.is.array(ee)?ee.length==2?[Vt,Rr,_r,Yr]=[...ee,...ee]:ee.length==4&&([Vt,Rr,_r,Yr]=ee):Vt=Rr=_r=Yr=ee,ye=ye!=null?ye:Vt,be=be!=null?be:Rr,he=he!=null?he:_r,H=H!=null?H:Yr),Re.ev(ye)&&S.push("mrgt"+ye),Re.ev(be)&&S.push("mrgr"+be),Re.ev(he)&&S.push("mrgb"+he),Re.ev(H)&&S.push("mrgl"+H);let $,P,R,z;Ka.default.is.exist(le)&&(Ka.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,de=de!=null?de:$,B=B!=null?B:P,W=W!=null?W:R,ie=ie!=null?ie:z),Re.ev(de)&&S.push("pdt"+de),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ie)&&S.push("pdl"+ie),Re.ev(te)&&S.push("pstt"+te),Re.ev(se)&&S.push("pstr"+se),Re.ev(we)&&S.push("pstb"+we),Re.ev(Se)&&S.push("pstl"+Se);{Ka.default.is.exist(je)&&(Ye=Ye!=null?Ye:je,Ge=Ge!=null?Ge:je,rt=rt!=null?rt:je,et=et!=null?et:je),Ka.default.is.boolean(Ye)&&(Ye=["unset","2.normal"][Number(Ye)]),Ka.default.is.boolean(Ge)&&(Ge=["unset","2.normal"][Number(Ge)]),Ka.default.is.boolean(rt)&&(rt=["unset","2.normal"][Number(rt)]),Ka.default.is.boolean(et)&&(et=["unset","2.normal"][Number(et)]),Re.ev(Ye)&&S.push("b_t_ss"+((h=String(Ye))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Ge)&&S.push("b_r_ss"+((p=String(Ge))==null?void 0:p.replace(/\./g,"_"))),Re.ev(rt)&&S.push("b_b_ss"+((m=String(rt))==null?void 0:m.replace(/\./g,"_"))),Re.ev(et)&&S.push("b_l_ss"+((g=String(et))==null?void 0:g.replace(/\./g,"_"))),Ka.default.is.exist(Nt)&&S.push("b_wth"+String(Nt)),Ka.default.is.exist($t)&&S.push("b_cl"+((b=String($t))==null?void 0:b.replace(/\./g,"_"))),Ka.default.is.exist(dt)&&S.push("b_st"+String(dt));{let G,oe,ne,Oe;Ka.default.is.exist(Xe)&&(Ka.default.is.array(Xe)?Xe.length==4&&([G,oe,Oe,ne]=Xe):G=oe=ne=Oe=Xe,ke=ke!=null?ke:G,it=it!=null?it:oe,kt=kt!=null?kt:ne,Tt=Tt!=null?Tt:Oe)}Re.ev(ke)&&S.push("br_tl"+Re.toConcreteBorderRadius(ke)),Re.ev(it)&&S.push("br_tr"+Re.toConcreteBorderRadius(it)),Re.ev(kt)&&S.push("br_bl"+Re.toConcreteBorderRadius(kt)),Re.ev(Tt)&&S.push("br_br"+Re.toConcreteBorderRadius(Tt))}if(Re.ev(Gt)&&S.push("op"+Gt),Ka.default.is.exist(w)){let G,oe;Ka.default.is.array(w)?(G=w[0],oe=w[1]):G=oe=w,S.push("gapRow"+G,"gapCol"+oe)}Re.ev(wt)&&S.push("flsz"+wt),Re.ev(tr)&&S.push("flwrp"+tr),Re.ev(Ut)&&S.push("fltyp"+Ut),Re.ev(dr)&&S.push("flchld"+dr),Re.ev(ra)&&S.push("flgrid"+ra),Re.ev(qr)&&S.push("flvrt"+qr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(pr)&&S.push("grcnt"+pr),Re.ev(br)&&S.push("grcol"+br),Re.ev(ze)&&S.push("hgt"+ze),Re.ev(ga)&&S.push("wdt"+ga),Re.ev(ct)&&S.push("unthgt"+ct),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(xr)&&S.push("trnst"+xr),Re.ev(pa)&&S.push("maxh"+pa),Re.ev(kr)&&S.push("minh"+kr),Re.ev(vr)&&S.push("maxw"+vr),Re.ev(Pr)&&S.push("minw"+Pr)}return S.length?r+S.join(" "+r):""}},sm=r=>{let a=v({},r),{gradients:o,ssCardBox:s,ssSphere:l,ssSquare:f,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:S,isSemiBoldFont:w,isRounded:k,isSquare:L,freeCSS:N={}}=a,Y=$e(N,[]),M=$e(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},M=M||{},o){let{deg:j,colors:F}=o;Y=T(v({},Y),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(s){s===!0&&(s="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};s=="border"?j.border=!0:s=="plain"?(j.backgroundColor="layer.1",j.boxShadow="none"):s=="cloud"?j.backgroundColor="cloud":s=="shadow"&&(j.boxShadow="0.normal"),ht.get().darkMode=="dim"&&(j.boxShadow="1.normal"),ht.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=v(v({},j.freeCSS),Y),M=v(v({},j),M)}return l&&(m=m!=null?m:!0,M=v({padding:0,unitWidth:l,unitHeight:l,borderRadius:"sphere",flexSizing:"none"},M)),f&&(m=m!=null?m:!0,M=v({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},M)),u&&(M=v({transition:"middle"},M),M=T(v({},M),{className:[M.className,"ssPushable"].join(" ")})),h&&(M=v({position:"absolute",top:0,left:0,right:0,bottom:0},M)),p&&(M=v({overflow:"hidden"},M),Y=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(M=v({width:1,flexSizing:"none"},M)),m&&(M=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},M)),b&&(M.fontWeight="1.light"),w&&(M.fontWeight="3.semiBold"),S&&(M.fontWeight="4.bold"),k&&(M.borderRadius="sphere",Ka.default.is.number(k)&&(Y.borderRadius=k*12)),L&&(Y.aspectRatio="1"),T(v({},M),{freeCSS:Y})},To=r=>{let a=sm(r),{componentID:o,gap:s,display:l,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:N,marginRight:Y,marginBottom:M,marginLeft:j,padding:F,paddingTop:Z,paddingRight:O,paddingBottom:ae,paddingLeft:ge,top:ee,right:ye,bottom:be,left:he,border:H,borderTop:le,borderRight:de,borderBottom:B,borderLeft:W,borderWidth:ie,borderColor:te,borderStyle:se,borderRadius:we,borderTopLeftRadius:Se,borderTopRightRadius:je,borderBottomLeftRadius:Ye,borderBottomRightRadius:Ge,flexSizing:rt,flexWrap:et,flexType:Nt,flexChilds:$t,flexGrid:dt,horizontalAlign:Xe,verticalAlign:ke,transition:it,gridCenter:kt,gridCols:Tt,maxHeight:wt,minHeight:tr,maxWidth:Ut,minWidth:dr,width:ra,height:jr,unitHeight:qr,unitWidth:xr,opacity:pr,ssLastChildLossBorder:br,ssAbsoluteCovered:pa,ssCardBox:kr,ssEffectsOnActive:vr,ssPushable:Pr,ssSphere:ga,ssSquare:ze,ssTextEllipsis:ct,isBoldFont:bt,isLightFont:Gt,isSemiBoldFont:Vt,isRounded:Rr,flexCenter:_r,flexNewLine:Yr,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=$e(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","fontHeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),oe=v({},G),ne=[R];if(br&&ne.push("ssLastChildLossBorder_"+br),vr){vr=Ka.default.flatArray(vr);for(let Oe of vr){let[Pe,Me]=Oe.split(".");oe["data-effect-"+Pe]="1",Me&&(oe["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:s,display:l,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:N,marginRight:Y,marginBottom:M,marginLeft:j,padding:F,paddingTop:Z,paddingRight:O,paddingBottom:ae,paddingLeft:ge,top:ee,right:ye,bottom:be,left:he,border:H,borderTop:le,borderRight:de,borderBottom:B,borderLeft:W,borderWidth:ie,borderColor:te,borderStyle:se,borderRadius:we,borderTopLeftRadius:Se,borderTopRightRadius:je,borderBottomLeftRadius:Ye,borderBottomRightRadius:Ge,flexSizing:rt,flexWrap:et,flexType:Nt,flexChilds:$t,flexGrid:dt,horizontalAlign:Xe,verticalAlign:ke,transition:it,gridCenter:kt,gridCols:Tt,maxHeight:wt,minHeight:tr,maxWidth:Ut,minWidth:dr,width:ra,height:jr,unitHeight:qr,unitWidth:xr,opacity:pr});ne.push(Oe)}return P&&ne.push(Re.ClassNames("amotf_bp",P)),z&&(oe.style=v(v({},z),oe.style)),(o||oe["data-component-id"])&&(oe["data-component-id"]=oe["data-component-id"]||o),ne.length&&ne.join("")&&(oe.className=ne.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),oe},Ol=r=>{let{gap:a,display:o,position:s,overflow:l,fontColor:f,fontSize:u,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:g,textDecoration:b,boxShadow:S,margin:w,marginTop:k,marginRight:L,marginBottom:N,marginLeft:Y,padding:M,paddingTop:j,paddingRight:F,paddingBottom:Z,paddingLeft:O,top:ae,right:ge,bottom:ee,left:ye,border:be,borderTop:he,borderRight:H,borderBottom:le,borderLeft:de,borderWidth:B,borderColor:W,borderStyle:ie,borderRadius:te,borderTopLeftRadius:se,borderTopRightRadius:we,borderBottomLeftRadius:Se,borderBottomRightRadius:je,flexSizing:Ye,flexWrap:Ge,flexType:rt,flexChilds:et,flexGrid:Nt,horizontalAlign:$t,verticalAlign:dt,transition:Xe,gridCenter:ke,gridCols:it,maxHeight:kt,minHeight:Tt,maxWidth:wt,minWidth:tr,width:Ut,height:dr,unitHeight:ra,unitWidth:jr,opacity:qr,ssLastChildLossBorder:xr,ssAbsoluteCovered:pr,ssCardBox:br,ssEffectsOnActive:pa,ssPushable:kr,ssSphere:vr,ssSquare:Pr,ssTextEllipsis:ga,isBoldFont:ze,isLightFont:ct,isSemiBoldFont:bt,isRounded:Gt,flexCenter:Vt,flexNewLine:Rr,gradients:_r,UnderBreakPointStyles:Yr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(s)&&(P.position=s),Re.ev(l)&&(P.overflow=l),Re.ev(f)&&(P.fontColor=f),Re.ev(u)&&(P.fontSize=u),Re.ev(h)&&(P.fontWeight=h),Re.ev(p)&&(P.fontHeight=p),Re.ev(m)&&(P.backgroundColor=m),Re.ev(g)&&(P.textAlign=g),Re.ev(b)&&(P.textDecoration=b),Re.ev(S)&&(P.boxShadow=S),Re.ev(w)&&(P.margin=w),Re.ev(k)&&(P.marginTop=k),Re.ev(L)&&(P.marginRight=L),Re.ev(N)&&(P.marginBottom=N),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(M)&&(P.padding=M),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(Z)&&(P.paddingBottom=Z),Re.ev(O)&&(P.paddingLeft=O),Re.ev(ae)&&(P.top=ae),Re.ev(ge)&&(P.right=ge),Re.ev(ee)&&(P.bottom=ee),Re.ev(ye)&&(P.left=ye),Re.ev(be)&&(P.border=be),Re.ev(he)&&(P.borderTop=he),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(de)&&(P.borderLeft=de),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ie)&&(P.borderStyle=ie),Re.ev(te)&&(P.borderRadius=te),Re.ev(se)&&(P.borderTopLeftRadius=se),Re.ev(we)&&(P.borderTopRightRadius=we),Re.ev(Se)&&(P.borderBottomLeftRadius=Se),Re.ev(je)&&(P.borderBottomRightRadius=je),Re.ev(Ye)&&(P.flexSizing=Ye),Re.ev(Ge)&&(P.flexWrap=Ge),Re.ev(rt)&&(P.flexType=rt),Re.ev(et)&&(P.flexChilds=et),Re.ev(Nt)&&(P.flexGrid=Nt),Re.ev($t)&&(P.horizontalAlign=$t),Re.ev(dt)&&(P.verticalAlign=dt),Re.ev(Xe)&&(P.transition=Xe),Re.ev(ke)&&(P.gridCenter=ke),Re.ev(it)&&(P.gridCols=it),Re.ev(kt)&&(P.maxHeight=kt),Re.ev(Tt)&&(P.minHeight=Tt),Re.ev(wt)&&(P.maxWidth=wt),Re.ev(tr)&&(P.minWidth=tr),Re.ev(Ut)&&(P.width=Ut),Re.ev(dr)&&(P.height=dr),Re.ev(ra)&&(P.unitHeight=ra),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(qr)&&(P.opacity=qr),Re.ev(xr)&&(P.ssLastChildLossBorder=xr),Re.ev(pr)&&(P.ssAbsoluteCovered=pr),Re.ev(br)&&(P.ssCardBox=br),Re.ev(pa)&&(P.ssEffectsOnActive=pa),Re.ev(kr)&&(P.ssPushable=kr),Re.ev(vr)&&(P.ssSphere=vr),Re.ev(Pr)&&(P.ssSquare=Pr),Re.ev(ga)&&(P.ssTextEllipsis=ga),Re.ev(ze)&&(P.isBoldFont=ze),Re.ev(ct)&&(P.isLightFont=ct),Re.ev(bt)&&(P.isSemiBoldFont=bt),Re.ev(Gt)&&(P.isRounded=Gt),Re.ev(Vt)&&(P.flexCenter=Vt),Re.ev(Rr)&&(P.flexNewLine=Rr),Re.ev(_r)&&(P.gradients=_r),Re.ev($)&&(P.freeCSS=$),Re.ev(Yr)&&(P.UnderBreakPointStyles=Yr),P};var vl=K(At());var jg=r=>{var a;let o=El.catch("LaunchReactApp_"+ht.get().sessionUID);return(0,vl.jsxs)(vl.Fragment,{children:[(0,vl.jsx)("style",{children:r.inlineCSS}),(0,vl.jsxs)("amotify-app",{id:"appRoot_"+ht.get().sessionUID,children:[(0,vl.jsx)(mc.Pudding.Wrapper,{}),(0,vl.jsx)(mc.Ripple.Wrapper,{}),(0,vl.jsx)(Ao.Wrapper,{}),(0,vl.jsx)(os.Wrapper,{}),(0,vl.jsx)(sr.Wrapper,{}),(0,vl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o||"")]})]})};var Hg=K(ar()),vt=r=>{let a=ht.get().appRoot;return Hg.default.is.shadowRoot(a)?(0,Hg.default)(a).find(r):(0,Hg.default)(r)};var F$=K(Bw());Jr(Fr,K(Bw()));var j$=K(Fw());Jr(Fr,K(Fw()));var H$=v(v(v(v(v(v({},zw),QS),nw),F$),j$),Pw);var Ua=K(At()),U$=()=>{let[r,a]=(0,op.useState)((0,Ua.jsxs)(Ua.Fragment,{children:["Hello World ",(0,Ua.jsx)("br",{}),"Hello World ",(0,Ua.jsx)("br",{}),"Hello World ",(0,Ua.jsx)("br",{}),"Hello World"]})),o="accordionIDD";return(0,Ua.jsx)(X,{children:(0,Ua.jsx)(_g,{size:"S",children:(0,Ua.jsxs)(er,{padding:2,children:[(0,Ua.jsx)(wa.TextField.Money.JPY,{label:"\u91D1\u984D",form:"test",name:"price",required:!0,allowDecimals:!0,onUpdateValidValue:s=>{console.log(s,Number(s))}}),(0,Ua.jsx)(nt.Sub,{submitOption:{formName:"test",callback:s=>{console.log(s)}},children:"Submit"}),(0,Ua.jsx)(nt.Sub.L,{backgroundColor:"nega",children:"Sub L"}),(0,Ua.jsx)(nt.Link.Plain,{backgroundColor:"nega",padding:3,children:"Link"})]})})})};Ug.default.scope(()=>{var o;let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),ht.launch({appRoot:r,roundness:(o=Ug.default.localStrage.get("prf.roundness"))!=null?o:4,themeColor:"battery",darkMode:Ug.default.localStrage.get("prf.darkMode")||"auto"});let a=()=>{let s=Ps.useLocation(),l=Ps.useNavigate();return(0,op.useEffect)(()=>{Pn.setPushEffect(f=>{if(f.match(/^#/)){console.log(f),console.log(window.location.pathname);return}l(f)}),Pn.setBackEffect(()=>{l(-1)})},[]),Fg({pathname:s.pathname}),(0,Ua.jsx)(Ps.Routes,{children:(0,Ua.jsx)(Ps.Route,{path:"*",element:(0,Ua.jsx)(U$,{})},"*")})};JM.default.createRoot(r).render((0,Ua.jsx)(op.StrictMode,{children:(0,Ua.jsx)(jg,{children:(0,Ua.jsx)(Ps.BrowserRouter,{children:(0,Ua.jsx)(a,{})})})}))});
981
981
  /*! Bundled license information:
982
982
 
983
983
  react/cjs/react.development.js: