amotify 0.2.128 → 0.2.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo/esbuild/app.tsx +27 -2
- package/demo/esbuild/public/index.js +58 -58
- package/dist/fn/Sheet.d.ts +9 -8
- package/dist/fn/Sheet.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var wV=Object.create;var N_=Object.defineProperty;var CV=Object.getOwnPropertyDescriptor;var xV=Object.getOwnPropertyNames;var kV=Object.getPrototypeOf,TV=Object.prototype.hasOwnProperty;var EV=(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,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of xV(a))!TV.call(r,s)&&s!==o&&N_(r,s,{get:()=>a[s],enumerable:!(l=CV(a,s))||l.enumerable});return r},Jr=(r,a,o)=>(L_(r,a,"default"),o&&L_(o,a,"default")),K=(r,a,o)=>(o=r!=null?wV(kV(r)):{},L_(a||!r||!r.__esModule?N_(o,"default",{value:r,enumerable:!0}):o,r)),RV=r=>L_(N_({},"__esModule",{value:!0}),r);var na=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Kk=Ue((Sr,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"),l=Symbol.for("react.fragment"),s=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"),C=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(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},O={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Q={},N=null;function te(x){N=x}Q.setExtraStackFrame=function(x){N=x},Q.getCurrentStack=null,Q.getStackAddendum=function(){var x="";N&&(x+=N);var U=Q.getCurrentStack;return U&&(x+=U()||""),x};var _e=!1,re=!1,be=!1,ye=!1,ge=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:O,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Q,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("warn",x,he)}}function fe(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("error",x,he)}}function B(x,U,he){{var Ee=H.ReactDebugCurrentFrame,Xe=Ee.getStackAddendum();Xe!==""&&(U+="%s",he=he.concat([Xe]));var Mt=he.map(function(yt){return String(yt)});Mt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Mt)}}var W={};function ne(x,U){{var he=x.constructor,Ee=he&&(he.displayName||he.name)||"ReactClass",Xe=Ee+"."+U;if(W[Xe])return;fe("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[Xe]=!0}}var ee={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,he){ne(x,"forceUpdate")},enqueueReplaceState:function(x,U,he,Ee){ne(x,"replaceState")},enqueueSetState:function(x,U,he,Ee){ne(x,"setState")}},de=Object.assign,xe={};Object.freeze(xe);function we(x,U,he){this.props=x,this.context=U,this.refs=xe,this.updater=he||ee}we.prototype.isReactComponent={},we.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")},we.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Ye={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)."]},$e=function(x,U){Object.defineProperty(we.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Pe in Ye)Ye.hasOwnProperty(Pe)&&$e(Pe,Ye[Pe])}function et(){}et.prototype=we.prototype;function ut(x,U,he){this.props=x,this.context=U,this.refs=xe,this.updater=he||ee}var lt=ut.prototype=new et;lt.constructor=ut,de(lt,we.prototype),lt.isPureReactComponent=!0;function Tt(){var x={current:null};return Object.seal(x),x}var wt=Array.isArray;function Ze(x){return wt(x)}function Te(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,he=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return he}}function ht(x){try{return Lt(x),!1}catch(U){return!0}}function Lt(x){return""+x}function jt(x){if(ht(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Te(x)),Lt(x)}function Ut(x,U,he){var Ee=x.displayName;if(Ee)return Ee;var Xe=U.displayName||U.name||"";return Xe!==""?he+"("+Xe+")":he}function ar(x){return x.displayName||"Context"}function ur(x){if(x==null)return null;if(typeof x.tag=="number"&&fe("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 l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return ar(U)+".Consumer";case u:var he=x;return ar(he._context)+".Provider";case p:return Ut(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:ur(x.type)||"Memo";case S:{var Xe=x,Mt=Xe._payload,yt=Xe._init;try{return ur(yt(Mt))}catch(Zt){return null}}}return null}var Er=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,Cr;Cr={};function dr(x){if(Er.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function gr(x){if(Er.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 he=function(){jr||(jr=!0,fe("%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))};he.isReactWarning=!0,Object.defineProperty(x,"key",{get:he,configurable:!0})}function xr(x,U){var he=function(){qr||(qr=!0,fe("%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))};he.isReactWarning=!0,Object.defineProperty(x,"ref",{get:he,configurable:!0})}function mr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=ur(F.current.type);Cr[U]||(fe('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),Cr[U]=!0)}}var Mr=function(x,U,he,Ee,Xe,Mt,yt){var Zt={$$typeof:a,type:x,key:U,ref:he,props:yt,_owner:Mt};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:Xe}),Object.freeze&&(Object.freeze(Zt.props),Object.freeze(Zt)),Zt};function _a(x,U,he){var Ee,Xe={},Mt=null,yt=null,Zt=null,kr=null;if(U!=null){dr(U)&&(yt=U.ref,mr(U)),gr(U)&&(jt(U.key),Mt=""+U.key),Zt=U.__self===void 0?null:U.__self,kr=U.__source===void 0?null:U.__source;for(Ee in U)Er.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(Xe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Xe.children=he;else if(Ur>1){for(var sa=Array(Ur),ca=0;ca<Ur;ca++)sa[ca]=arguments[ca+2];Object.freeze&&Object.freeze(sa),Xe.children=sa}if(x&&x.defaultProps){var ha=x.defaultProps;for(Ee in ha)Xe[Ee]===void 0&&(Xe[Ee]=ha[Ee])}if(Mt||yt){var Ea=typeof x=="function"?x.displayName||x.name||"Unknown":x;Mt&&pa(Xe,Ea),yt&&xr(Xe,Ea)}return Mr(x,Mt,yt,Zt,kr,F.current,Xe)}function Be(x,U){var he=Mr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return he}function st(x,U,he){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Xe=de({},x.props),Mt=x.key,yt=x.ref,Zt=x._self,kr=x._source,Ur=x._owner;if(U!=null){dr(U)&&(yt=U.ref,Ur=F.current),gr(U)&&(jt(U.key),Mt=""+U.key);var sa;x.type&&x.type.defaultProps&&(sa=x.type.defaultProps);for(Ee in U)Er.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(U[Ee]===void 0&&sa!==void 0?Xe[Ee]=sa[Ee]:Xe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Xe.children=he;else if(ca>1){for(var ha=Array(ca),Ea=0;Ea<ca;Ea++)ha[Ea]=arguments[Ea+2];Xe.children=ha}return Mr(x.type,Mt,yt,Zt,kr,Ur,Xe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var $t=".",Vt=":";function Rr(x){var U=/[=:]/g,he={"=":"=0",":":"=2"},Ee=x.replace(U,function(Xe){return he[Xe]});return"$"+Ee}var vr=!1,Yr=/\/+/g;function $(x){return x.replace(Yr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(jt(x.key),Rr(""+x.key)):U.toString(36)}function R(x,U,he,Ee,Xe){var Mt=typeof x;(Mt==="undefined"||Mt==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(Mt){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var Zt=x,kr=Xe(Zt),Ur=Ee===""?$t+P(Zt,0):Ee;if(Ze(kr)){var sa="";Ur!=null&&(sa=$(Ur)+"/"),R(kr,U,sa,"",function(pp){return pp})}else kr!=null&&(bt(kr)&&(kr.key&&(!Zt||Zt.key!==kr.key)&&jt(kr.key),kr=Be(kr,he+(kr.key&&(!Zt||Zt.key!==kr.key)?$(""+kr.key)+"/":"")+Ur)),U.push(kr));return 1}var ca,ha,Ea=0,en=Ee===""?$t:Ee+Vt;if(Ze(x))for(var Of=0;Of<x.length;Of++)ca=x[Of],ha=en+P(ca,Of),Ea+=R(ca,U,he,ha,Xe);else{var tn=M(x);if(typeof tn=="function"){var Mf=x;tn===Mf.entries&&(vr||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vr=!0);for(var Lm=tn.call(Mf),dp,qg=0;!(dp=Lm.next()).done;)ca=dp.value,ha=en+P(ca,qg++),Ea+=R(ca,U,he,ha,Xe)}else if(Mt==="object"){var Ps=String(x);throw new Error("Objects are not valid as a React child (found: "+(Ps==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Ps)+"). If you meant to render a collection of children, use an array instead.")}}return Ea}function z(x,U,he){if(x==null)return x;var Ee=[],Xe=0;return R(x,Ee,"","",function(Mt){return U.call(he,Mt,Xe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function ie(x,U,he){z(x,function(){U.apply(this,arguments)},he)}function oe(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 Ie(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 he=!1,Ee=!1,Xe=!1;{var Mt={$$typeof:h,_context:U};Object.defineProperties(Mt,{Provider:{get:function(){return Ee||(Ee=!0,fe("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 he||(he=!0,fe("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){Xe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Xe=!0)}}}),U.Consumer=Mt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,We=0,Le=1,Qe=2;function I(x){if(x._status===Me){var U=x._result,he=U();if(he.then(function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Le,yt._result=Mt}},function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Qe,yt._result=Mt}}),x._status===Me){var Ee=x;Ee._status=We,Ee._result=he}}if(x._status===Le){var Xe=x._result;return Xe===void 0&&fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
var wV=Object.create;var O_=Object.defineProperty;var CV=Object.getOwnPropertyDescriptor;var xV=Object.getOwnPropertyNames;var kV=Object.getPrototypeOf,TV=Object.prototype.hasOwnProperty;var EV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ue=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Dd=(r,a)=>{for(var o in a)O_(r,o,{get:a[o],enumerable:!0})},N_=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of xV(a))!TV.call(r,s)&&s!==o&&O_(r,s,{get:()=>a[s],enumerable:!(l=CV(a,s))||l.enumerable});return r},Jr=(r,a,o)=>(N_(r,a,"default"),o&&N_(o,a,"default")),K=(r,a,o)=>(o=r!=null?wV(kV(r)):{},N_(a||!r||!r.__esModule?O_(o,"default",{value:r,enumerable:!0}):o,r)),RV=r=>N_(O_({},"__esModule",{value:!0}),r);var na=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Kk=Ue((Sr,M_)=>{"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"),l=Symbol.for("react.fragment"),s=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 M(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},O={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Q={},N=null;function te(x){N=x}Q.setExtraStackFrame=function(x){N=x},Q.getCurrentStack=null,Q.getStackAddendum=function(){var x="";N&&(x+=N);var U=Q.getCurrentStack;return U&&(x+=U()||""),x};var _e=!1,re=!1,be=!1,ye=!1,ge=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:O,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Q,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("warn",x,he)}}function fe(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("error",x,he)}}function B(x,U,he){{var Ee=H.ReactDebugCurrentFrame,Xe=Ee.getStackAddendum();Xe!==""&&(U+="%s",he=he.concat([Xe]));var Mt=he.map(function(yt){return String(yt)});Mt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Mt)}}var W={};function ne(x,U){{var he=x.constructor,Ee=he&&(he.displayName||he.name)||"ReactClass",Xe=Ee+"."+U;if(W[Xe])return;fe("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[Xe]=!0}}var ee={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,he){ne(x,"forceUpdate")},enqueueReplaceState:function(x,U,he,Ee){ne(x,"replaceState")},enqueueSetState:function(x,U,he,Ee){ne(x,"setState")}},de=Object.assign,xe={};Object.freeze(xe);function we(x,U,he){this.props=x,this.context=U,this.refs=xe,this.updater=he||ee}we.prototype.isReactComponent={},we.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")},we.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Ye={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)."]},$e=function(x,U){Object.defineProperty(we.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Pe in Ye)Ye.hasOwnProperty(Pe)&&$e(Pe,Ye[Pe])}function et(){}et.prototype=we.prototype;function ut(x,U,he){this.props=x,this.context=U,this.refs=xe,this.updater=he||ee}var lt=ut.prototype=new et;lt.constructor=ut,de(lt,we.prototype),lt.isPureReactComponent=!0;function Tt(){var x={current:null};return Object.seal(x),x}var wt=Array.isArray;function Ze(x){return wt(x)}function Te(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,he=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return he}}function pt(x){try{return Lt(x),!1}catch(U){return!0}}function Lt(x){return""+x}function jt(x){if(pt(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Te(x)),Lt(x)}function Ut(x,U,he){var Ee=x.displayName;if(Ee)return Ee;var Xe=U.displayName||U.name||"";return Xe!==""?he+"("+Xe+")":he}function ar(x){return x.displayName||"Context"}function ur(x){if(x==null)return null;if(typeof x.tag=="number"&&fe("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 l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return ar(U)+".Consumer";case u:var he=x;return ar(he._context)+".Provider";case p:return Ut(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:ur(x.type)||"Memo";case S:{var Xe=x,Mt=Xe._payload,yt=Xe._init;try{return ur(yt(Mt))}catch(er){return null}}}return null}var Er=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,Cr;Cr={};function dr(x){if(Er.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function gr(x){if(Er.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 he=function(){jr||(jr=!0,fe("%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))};he.isReactWarning=!0,Object.defineProperty(x,"key",{get:he,configurable:!0})}function xr(x,U){var he=function(){qr||(qr=!0,fe("%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))};he.isReactWarning=!0,Object.defineProperty(x,"ref",{get:he,configurable:!0})}function mr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=ur(F.current.type);Cr[U]||(fe('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),Cr[U]=!0)}}var Mr=function(x,U,he,Ee,Xe,Mt,yt){var er={$$typeof:a,type:x,key:U,ref:he,props:yt,_owner:Mt};return er._store={},Object.defineProperty(er._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(er,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(er,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Xe}),Object.freeze&&(Object.freeze(er.props),Object.freeze(er)),er};function _a(x,U,he){var Ee,Xe={},Mt=null,yt=null,er=null,kr=null;if(U!=null){dr(U)&&(yt=U.ref,mr(U)),gr(U)&&(jt(U.key),Mt=""+U.key),er=U.__self===void 0?null:U.__self,kr=U.__source===void 0?null:U.__source;for(Ee in U)Er.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(Xe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Xe.children=he;else if(Ur>1){for(var sa=Array(Ur),ca=0;ca<Ur;ca++)sa[ca]=arguments[ca+2];Object.freeze&&Object.freeze(sa),Xe.children=sa}if(x&&x.defaultProps){var ha=x.defaultProps;for(Ee in ha)Xe[Ee]===void 0&&(Xe[Ee]=ha[Ee])}if(Mt||yt){var Ea=typeof x=="function"?x.displayName||x.name||"Unknown":x;Mt&&pa(Xe,Ea),yt&&xr(Xe,Ea)}return Mr(x,Mt,yt,er,kr,F.current,Xe)}function Be(x,U){var he=Mr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return he}function st(x,U,he){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Xe=de({},x.props),Mt=x.key,yt=x.ref,er=x._self,kr=x._source,Ur=x._owner;if(U!=null){dr(U)&&(yt=U.ref,Ur=F.current),gr(U)&&(jt(U.key),Mt=""+U.key);var sa;x.type&&x.type.defaultProps&&(sa=x.type.defaultProps);for(Ee in U)Er.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(U[Ee]===void 0&&sa!==void 0?Xe[Ee]=sa[Ee]:Xe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Xe.children=he;else if(ca>1){for(var ha=Array(ca),Ea=0;Ea<ca;Ea++)ha[Ea]=arguments[Ea+2];Xe.children=ha}return Mr(x.type,Mt,yt,er,kr,Ur,Xe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Gt=".",Vt=":";function Rr(x){var U=/[=:]/g,he={"=":"=0",":":"=2"},Ee=x.replace(U,function(Xe){return he[Xe]});return"$"+Ee}var vr=!1,Yr=/\/+/g;function $(x){return x.replace(Yr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(jt(x.key),Rr(""+x.key)):U.toString(36)}function R(x,U,he,Ee,Xe){var Mt=typeof x;(Mt==="undefined"||Mt==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(Mt){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var er=x,kr=Xe(er),Ur=Ee===""?Gt+P(er,0):Ee;if(Ze(kr)){var sa="";Ur!=null&&(sa=$(Ur)+"/"),R(kr,U,sa,"",function(hp){return hp})}else kr!=null&&(bt(kr)&&(kr.key&&(!er||er.key!==kr.key)&&jt(kr.key),kr=Be(kr,he+(kr.key&&(!er||er.key!==kr.key)?$(""+kr.key)+"/":"")+Ur)),U.push(kr));return 1}var ca,ha,Ea=0,tn=Ee===""?Gt:Ee+Vt;if(Ze(x))for(var Pf=0;Pf<x.length;Pf++)ca=x[Pf],ha=tn+P(ca,Pf),Ea+=R(ca,U,he,ha,Xe);else{var rn=M(x);if(typeof rn=="function"){var If=x;rn===If.entries&&(vr||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vr=!0);for(var Nm=rn.call(If),pp,Yg=0;!(pp=Nm.next()).done;)ca=pp.value,ha=tn+P(ca,Yg++),Ea+=R(ca,U,he,ha,Xe)}else if(Mt==="object"){var Ps=String(x);throw new Error("Objects are not valid as a React child (found: "+(Ps==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Ps)+"). If you meant to render a collection of children, use an array instead.")}}return Ea}function z(x,U,he){if(x==null)return x;var Ee=[],Xe=0;return R(x,Ee,"","",function(Mt){return U.call(he,Mt,Xe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function ie(x,U,he){z(x,function(){U.apply(this,arguments)},he)}function oe(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 Ie(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 he=!1,Ee=!1,Xe=!1;{var Mt={$$typeof:h,_context:U};Object.defineProperties(Mt,{Provider:{get:function(){return Ee||(Ee=!0,fe("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 he||(he=!0,fe("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){Xe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Xe=!0)}}}),U.Consumer=Mt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,We=0,Le=1,Qe=2;function I(x){if(x._status===Me){var U=x._result,he=U();if(he.then(function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Le,yt._result=Mt}},function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Qe,yt._result=Mt}}),x._status===Me){var Ee=x;Ee._status=We,Ee._result=he}}if(x._status===Le){var Xe=x._result;return Xe===void 0&&fe(`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'))
|
|
@@ -6,69 +6,69 @@ Your code should look like:
|
|
|
6
6
|
Did you accidentally put curly braces around the import?`,Xe),"default"in Xe||fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
7
|
|
|
8
8
|
Your code should look like:
|
|
9
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,Xe),Xe.default}else throw x._result}function V(x){var U={_status:Me,_result:x},he={$$typeof:S,_payload:U,_init:I};{var Ee,Xe;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Ee},set:function(Mt){fe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ee=Mt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Xe},set:function(Mt){fe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Xe=Mt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function ae(x){x!=null&&x.$$typeof===b?fe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?fe("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&fe("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&(x.defaultProps!=null||x.propTypes!=null)&&fe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var U={$$typeof:p,render:x};{var he;Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(Ee){he=Ee,!x.name&&!x.displayName&&(x.displayName=Ee)}})}return U}var se;se=Symbol.for("react.module.reference");function Ve(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===f||ge||x===s||x===m||x===g||ye||x===
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,Xe),Xe.default}else throw x._result}function V(x){var U={_status:Me,_result:x},he={$$typeof:S,_payload:U,_init:I};{var Ee,Xe;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Ee},set:function(Mt){fe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ee=Mt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Xe},set:function(Mt){fe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Xe=Mt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function ae(x){x!=null&&x.$$typeof===b?fe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?fe("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&fe("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&(x.defaultProps!=null||x.propTypes!=null)&&fe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var U={$$typeof:p,render:x};{var he;Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(Ee){he=Ee,!x.name&&!x.displayName&&(x.displayName=Ee)}})}return U}var se;se=Symbol.for("react.module.reference");function Ve(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===f||ge||x===s||x===m||x===g||ye||x===w||_e||re||be||typeof x=="object"&&x!==null&&(x.$$typeof===S||x.$$typeof===b||x.$$typeof===u||x.$$typeof===h||x.$$typeof===p||x.$$typeof===se||x.getModuleId!==void 0))}function Fe(x,U){Ve(x)||fe("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x);var he={$$typeof:b,type:x,compare:U===void 0?null:U};{var Ee;Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return Ee},set:function(Xe){Ee=Xe,!x.name&&!x.displayName&&(x.displayName=Xe)}})}return he}function D(){var x=Y.current;return x===null&&fe(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
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 he=x._context;he.Consumer===x?fe("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?"):he.Provider===x&&fe("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 ke(x,U,he){var Ee=D();return Ee.useReducer(x,U,he)}function He(x){var U=D();return U.useRef(x)}function ft(x,U){var he=D();return he.useEffect(x,U)}function Je(x,U){var he=D();return he.useInsertionEffect(x,U)}function Ke(x,U){var he=D();return he.useLayoutEffect(x,U)}function Ct(x,U){var he=D();return he.useCallback(x,U)}function kt(x,U){var he=D();return he.useMemo(x,U)}function Wt(x,U,he){var Ee=D();return Ee.useImperativeHandle(x,U,he)}function $r(x,U){{var he=D();return he.useDebugValue(x,U)}}function Ha(){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
|
|
14
|
-
`+
|
|
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 he=x._context;he.Consumer===x?fe("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?"):he.Provider===x&&fe("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 ke(x,U,he){var Ee=D();return Ee.useReducer(x,U,he)}function He(x){var U=D();return U.useRef(x)}function ft(x,U){var he=D();return he.useEffect(x,U)}function Je(x,U){var he=D();return he.useInsertionEffect(x,U)}function Ke(x,U){var he=D();return he.useLayoutEffect(x,U)}function Ct(x,U){var he=D();return he.useCallback(x,U)}function kt(x,U){var he=D();return he.useMemo(x,U)}function Wt(x,U,he){var Ee=D();return Ee.useImperativeHandle(x,U,he)}function $r(x,U){{var he=D();return he.useDebugValue(x,U)}}function Ha(){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 Ga(x,U,he){var Ee=D();return Ee.useSyncExternalStore(x,U,he)}var Nt=0,qn,ls,ss,Zt,aa,en,Gr;function Yn(){}Yn.__reactDisabledLog=!0;function Su(){{if(Nt===0){qn=console.log,ls=console.info,ss=console.warn,Zt=console.error,aa=console.group,en=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})}Nt++}}function lp(){{if(Nt--,Nt===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:de({},x,{value:qn}),info:de({},x,{value:ls}),warn:de({},x,{value:ss}),error:de({},x,{value:Zt}),group:de({},x,{value:aa}),groupCollapsed:de({},x,{value:en}),groupEnd:de({},x,{value:Gr})})}Nt<0&&fe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var sp=H.ReactCurrentDispatcher,wu;function Cc(x,U,he){{if(wu===void 0)try{throw Error()}catch(Xe){var Ee=Xe.stack.trim().match(/\n( *(at )?)/);wu=Ee&&Ee[1]||""}return`
|
|
14
|
+
`+wu+x}}var ml=!1,xc;{var Ef=typeof WeakMap=="function"?WeakMap:Map;xc=new Ef}function Cm(x,U){if(!x||ml)return"";{var he=xc.get(x);if(he!==void 0)return he}var Ee;ml=!0;var Xe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Mt;Mt=sp.current,sp.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(tn){Ee=tn}Reflect.construct(x,[],yt)}else{try{yt.call()}catch(tn){Ee=tn}x.call(yt.prototype)}}else{try{throw Error()}catch(tn){Ee=tn}x()}}catch(tn){if(tn&&Ee&&typeof tn.stack=="string"){for(var er=tn.stack.split(`
|
|
15
15
|
`),kr=Ee.stack.split(`
|
|
16
|
-
`),Ur=
|
|
17
|
-
`+
|
|
16
|
+
`),Ur=er.length-1,sa=kr.length-1;Ur>=1&&sa>=0&&er[Ur]!==kr[sa];)sa--;for(;Ur>=1&&sa>=0;Ur--,sa--)if(er[Ur]!==kr[sa]){if(Ur!==1||sa!==1)do if(Ur--,sa--,sa<0||er[Ur]!==kr[sa]){var ca=`
|
|
17
|
+
`+er[Ur].replace(" at new "," at ");return x.displayName&&ca.includes("<anonymous>")&&(ca=ca.replace("<anonymous>",x.displayName)),typeof x=="function"&&xc.set(x,ca),ca}while(Ur>=1&&sa>=0);break}}}finally{ml=!1,sp.current=Mt,lp(),Error.prepareStackTrace=Xe}var ha=x?x.displayName||x.name:"",Ea=ha?Cc(ha):"";return typeof x=="function"&&xc.set(x,Ea),Ea}function cp(x,U,he){return Cm(x,!1)}function Ug(x){var U=x.prototype;return!!(U&&U.isReactComponent)}function kc(x,U,he){if(x==null)return"";if(typeof x=="function")return Cm(x,Ug(x));if(typeof x=="string")return Cc(x);switch(x){case m:return Cc("Suspense");case g:return Cc("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return cp(x.render);case b:return kc(x.type,U,he);case S:{var Ee=x,Xe=Ee._payload,Mt=Ee._init;try{return kc(Mt(Xe),U,he)}catch(yt){}}}return""}var xm={},Rf=H.ReactDebugCurrentFrame;function Df(x){if(x){var U=x._owner,he=kc(x.type,x._source,U?U.type:null);Rf.setExtraStackFrame(he)}else Rf.setExtraStackFrame(null)}function km(x,U,he,Ee,Xe){{var Mt=Function.call.bind(Er);for(var yt in x)if(Mt(x,yt)){var er=void 0;try{if(typeof x[yt]!="function"){var kr=Error((Ee||"React class")+": "+he+" type `"+yt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[yt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw kr.name="Invariant Violation",kr}er=x[yt](U,yt,Ee,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ur){er=Ur}er&&!(er instanceof Error)&&(Df(Xe),fe("%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).",Ee||"React class",he,yt,typeof er),Df(null)),er instanceof Error&&!(er.message in xm)&&(xm[er.message]=!0,Df(Xe),fe("Failed %s type: %s",he,er.message),Df(null))}}}function Tc(x){if(x){var U=x._owner,he=kc(x.type,x._source,U?U.type:null);te(he)}else te(null)}var Af;Af=!1;function Hr(){if(F.current){var x=ur(F.current.type);if(x)return`
|
|
18
18
|
|
|
19
|
-
Check the render method of \``+x+"`."}return""}function
|
|
19
|
+
Check the render method of \``+x+"`."}return""}function Vg(x){if(x!==void 0){var U=x.fileName.replace(/^.*[\\\/]/,""),he=x.lineNumber;return`
|
|
20
20
|
|
|
21
|
-
Check your code at `+U+":"+he+"."}return""}function
|
|
21
|
+
Check your code at `+U+":"+he+"."}return""}function Tm(x){return x!=null?Vg(x.__source):""}var rr={};function Em(x){var U=Hr();if(!U){var he=typeof x=="string"?x:x.displayName||x.name;he&&(U=`
|
|
22
22
|
|
|
23
|
-
Check the top-level render call using <`+he+">.")}return U}function In(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var he=Tm(U);if(!tr[he]){tr[he]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+ur(x._owner.type)+"."),Tc(x),fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,Ee),Tc(null)}}}function Ec(x,U){if(typeof x=="object"){if(Ze(x))for(var he=0;he<x.length;he++){var Ee=x[he];bt(Ee)&&In(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Xe=M(x);if(typeof Xe=="function"&&Xe!==x.entries)for(var Mt=Xe.call(x),yt;!(yt=Mt.next()).done;)bt(yt.value)&&In(yt.value,U)}}}function Rc(x){{var U=x.type;if(U==null||typeof U=="string")return;var he;if(typeof U=="function")he=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))he=U.propTypes;else return;if(he){var Ee=ur(U);xm(he,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Rf){Rf=!0;var Xe=ur(U);fe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Xe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&fe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Vg(x){{for(var U=Object.keys(x.props),he=0;he<U.length;he++){var Ee=U[he];if(Ee!=="children"&&Ee!=="key"){Tc(x),fe("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),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Tc(null))}}function vn(x,U,he){var Ee=Ve(x);if(!Ee){var Xe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Xe+=" 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 Mt=km(U);Mt?Xe+=Mt:Xe+=Hr();var yt;x===null?yt="null":Ze(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(ur(x.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,fe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Xe)}var Zt=_a.apply(this,arguments);if(Zt==null)return Zt;if(Ee)for(var kr=2;kr<arguments.length;kr++)Ec(arguments[kr],x);return x===l?Vg(Zt):Rc(Zt),Zt}var wa=!1;function Wg(x){var U=vn.bind(null,x);return U.type=x,wa||(wa=!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 ml(x,U,he){for(var Ee=st.apply(this,arguments),Xe=2;Xe<arguments.length;Xe++)Ec(arguments[Xe],Ee.type);return Rc(Ee),Ee}function vo(x,U){var he=O.transition;O.transition={};var Ee=O.transition;O.transition._updatedFibers=new Set;try{x()}finally{if(O.transition=he,he===null&&Ee._updatedFibers){var Xe=Ee._updatedFibers.size;Xe>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 Ol=!1,Df=null;function cp(x){if(Df===null)try{var U=("require"+Math.random()).slice(0,7),he=O_&&O_[U];Df=he.call(O_,"timers").setImmediate}catch(Ee){Df=function(Xe){Ol===!1&&(Ol=!0,typeof MessageChannel=="undefined"&&fe("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 Mt=new MessageChannel;Mt.port1.onmessage=Xe,Mt.port2.postMessage(void 0)}}return Df(x)}var Ms=0,up=!1;function Em(x){{var U=Ms;Ms++,j.current===null&&(j.current=[]);var he=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!he&&j.didScheduleLegacyUpdate){var Xe=j.current;Xe!==null&&(j.didScheduleLegacyUpdate=!1,Lf(Xe))}}catch(ha){throw Af(U),ha}finally{j.isBatchingLegacy=he}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Mt=Ee,yt=!1,Zt={then:function(ha,Ea){yt=!0,Mt.then(function(en){Af(U),Ms===0?fp(en,ha,Ea):ha(en)},function(en){Af(U),Ea(en)})}};return!up&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(up=!0,fe("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 kr=Ee;if(Af(U),Ms===0){var Ur=j.current;Ur!==null&&(Lf(Ur),j.current=null);var sa={then:function(ha,Ea){j.current===null?(j.current=[],fp(kr,ha,Ea)):ha(kr)}};return sa}else{var ca={then:function(ha,Ea){ha(kr)}};return ca}}}}function Af(x){x!==Ms-1&&fe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ms=x}function fp(x,U,he){{var Ee=j.current;if(Ee!==null)try{Lf(Ee),cp(function(){Ee.length===0?(j.current=null,U(x)):fp(x,U,he)})}catch(Xe){he(Xe)}else U(x)}}var Dc=!1;function Lf(x){if(!Dc){Dc=!0;var U=0;try{for(;U<x.length;U++){var he=x[U];do he=he(!0);while(he!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Dc=!1}}}var Nf=vn,Rm=ml,Dm=Wg,Am={map:z,forEach:ie,count:G,toArray:oe,only:Oe};Sr.Children=Am,Sr.Component=we,Sr.Fragment=l,Sr.Profiler=f,Sr.PureComponent=ut,Sr.StrictMode=s,Sr.Suspense=m,Sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,Sr.act=Em,Sr.cloneElement=Rm,Sr.createContext=Ie,Sr.createElement=Nf,Sr.createFactory=Dm,Sr.createRef=Tt,Sr.forwardRef=ae,Sr.isValidElement=bt,Sr.lazy=V,Sr.memo=Fe,Sr.startTransition=vo,Sr.unstable_act=Em,Sr.useCallback=Ct,Sr.useContext=q,Sr.useDebugValue=$r,Sr.useDeferredValue=ia,Sr.useEffect=ft,Sr.useId=la,Sr.useImperativeHandle=Wt,Sr.useInsertionEffect=Je,Sr.useLayoutEffect=Ke,Sr.useMemo=kt,Sr.useReducer=ke,Sr.useRef=He,Sr.useState=pe,Sr.useSyncExternalStore=$a,Sr.useTransition=Ha,Sr.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((K$,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 l(Be,st){var bt=Be.length;Be.push(st),u(Be,st,bt)}function s(Be){return Be.length===0?null:Be[0]}function f(Be){if(Be.length===0)return null;var st=Be[0],bt=Be.pop();return bt!==st&&(Be[0]=bt,h(Be,bt,0)),st}function u(Be,st,bt){for(var $t=bt;$t>0;){var Vt=$t-1>>>1,Rr=Be[Vt];if(p(Rr,st)>0)Be[Vt]=st,Be[$t]=Rr,$t=Vt;else return}}function h(Be,st,bt){for(var $t=bt,Vt=Be.length,Rr=Vt>>>1;$t<Rr;){var vr=($t+1)*2-1,Yr=Be[vr],$=vr+1,P=Be[$];if(p(Yr,st)<0)$<Vt&&p(P,Yr)<0?(Be[$t]=P,Be[$]=st,$t=$):(Be[$t]=Yr,Be[vr]=st,$t=vr);else if($<Vt&&p(P,st)<0)Be[$t]=P,Be[$]=st,$t=$;else return}}function p(Be,st){var bt=Be.sortIndex-st.sortIndex;return bt!==0?bt:Be.id-st.id}var m=1,g=2,b=3,S=4,C=5;function k(Be,st){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var M=performance;fa.unstable_now=function(){return M.now()}}else{var Y=Date,O=Y.now();fa.unstable_now=function(){return Y.now()-O}}var j=1073741823,F=-1,Q=250,N=5e3,te=1e4,_e=j,re=[],be=[],ye=1,ge=null,H=b,le=!1,fe=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate!="undefined"?setImmediate:null,de=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function xe(Be){for(var st=s(be);st!==null;){if(st.callback===null)f(be);else if(st.startTime<=Be)f(be),st.sortIndex=st.expirationTime,l(re,st);else return;st=s(be)}}function we(Be){if(B=!1,xe(Be),!fe)if(s(re)!==null)fe=!0,pa(Ye);else{var st=s(be);st!==null&&xr(we,st.startTime-Be)}}function Ye(Be,st){fe=!1,B&&(B=!1,mr()),le=!0;var bt=H;try{if(a)try{return $e(Be,st)}catch(Vt){if(ge!==null){var $t=fa.unstable_now();ge.isQueued=!1}throw Vt}else return $e(Be,st)}finally{ge=null,H=bt,le=!1}}function $e(Be,st){var bt=st;for(xe(bt),ge=s(re);ge!==null&&!r&&!(ge.expirationTime>bt&&(!Be||Er()));){var $t=ge.callback;if(typeof $t=="function"){ge.callback=null,H=ge.priorityLevel;var Vt=ge.expirationTime<=bt,Rr=$t(Vt);bt=fa.unstable_now(),typeof Rr=="function"?ge.callback=Rr:ge===s(re)&&f(re),xe(bt)}else f(re);ge=s(re)}if(ge!==null)return!0;var vr=s(be);return vr!==null&&xr(we,vr.startTime-bt),!1}function Pe(Be,st){switch(Be){case m:case g:case b:case S:case C:break;default:Be=b}var bt=H;H=Be;try{return st()}finally{H=bt}}function et(Be){var st;switch(H){case m:case g:case b:st=b;break;default:st=H;break}var bt=H;H=st;try{return Be()}finally{H=bt}}function ut(Be){var st=H;return function(){var bt=H;H=st;try{return Be.apply(this,arguments)}finally{H=bt}}}function lt(Be,st,bt){var $t=fa.unstable_now(),Vt;if(typeof bt=="object"&&bt!==null){var Rr=bt.delay;typeof Rr=="number"&&Rr>0?Vt=$t+Rr:Vt=$t}else Vt=$t;var vr;switch(Be){case m:vr=F;break;case g:vr=Q;break;case C:vr=_e;break;case S:vr=te;break;case b:default:vr=N;break}var Yr=Vt+vr,$={id:ye++,callback:st,priorityLevel:Be,startTime:Vt,expirationTime:Yr,sortIndex:-1};return Vt>$t?($.sortIndex=Vt,l(be,$),s(re)===null&&$===s(be)&&(B?mr():B=!0,xr(we,Vt-$t))):($.sortIndex=Yr,l(re,$),!fe&&!le&&(fe=!0,pa(Ye))),$}function Tt(){}function wt(){!fe&&!le&&(fe=!0,pa(Ye))}function Ze(){return s(re)}function Te(Be){Be.callback=null}function ht(){return H}var Lt=!1,jt=null,Ut=-1,ar=o,ur=-1;function Er(){var Be=fa.unstable_now()-ur;return!(Be<ar)}function ra(){}function jr(Be){if(Be<0||Be>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Be>0?ar=Math.floor(1e3/Be):ar=o}var qr=function(){if(jt!==null){var Be=fa.unstable_now();ur=Be;var st=!0,bt=!0;try{bt=jt(st,Be)}finally{bt?Cr():(Lt=!1,jt=null)}}else Lt=!1},Cr;if(typeof ee=="function")Cr=function(){ee(qr)};else if(typeof MessageChannel!="undefined"){var dr=new MessageChannel,gr=dr.port2;dr.port1.onmessage=qr,Cr=function(){gr.postMessage(null)}}else Cr=function(){W(qr,0)};function pa(Be){jt=Be,Lt||(Lt=!0,Cr())}function xr(Be,st){Ut=W(function(){Be(fa.unstable_now())},st)}function mr(){ne(Ut),Ut=-1}var Mr=ra,_a=null;fa.unstable_IdlePriority=C,fa.unstable_ImmediatePriority=m,fa.unstable_LowPriority=S,fa.unstable_NormalPriority=b,fa.unstable_Profiling=_a,fa.unstable_UserBlockingPriority=g,fa.unstable_cancelCallback=Te,fa.unstable_continueExecution=wt,fa.unstable_forceFrameRate=jr,fa.unstable_getCurrentPriorityLevel=ht,fa.unstable_getFirstCallbackNode=Ze,fa.unstable_next=et,fa.unstable_pauseExecution=Tt,fa.unstable_requestPaint=Mr,fa.unstable_runWithPriority=Pe,fa.unstable_scheduleCallback=lt,fa.unstable_shouldYield=Er,fa.unstable_wrapCallback=ut,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Zk=Ue((Q$,Jk)=>{"use strict";Jk.exports=Qk()});var eT=Ue(Uo=>{"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,l=!1;function s(e){l=e}function f(e){if(!l){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(!l){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,C=5,k=6,L=7,M=8,Y=9,O=10,j=11,F=12,Q=13,N=14,te=15,_e=16,re=17,be=18,ye=19,ge=21,H=22,le=23,fe=24,B=25,W=!0,ne=!1,ee=!1,de=!1,xe=!1,we=!0,Ye=!1,$e=!0,Pe=!0,et=!0,ut=!0,lt=new Set,Tt={},wt={};function Ze(e,t){Te(e,t),Te(e+"Capture",t)}function Te(e,t){Tt[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Tt[e]=t;{var n=e.toLowerCase();wt[n]=e,e==="onDoubleClick"&&(wt.ondblclick=e)}for(var i=0;i<t.length;i++)lt.add(t[i])}var ht=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Lt=Object.prototype.hasOwnProperty;function jt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Ut(e){try{return ar(e),!1}catch(t){return!0}}function ar(e){return""+e}function ur(e,t){if(Ut(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,jt(e)),ar(e)}function Er(e){if(Ut(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(e)),ar(e)}function ra(e,t){if(Ut(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,jt(e)),ar(e)}function jr(e,t){if(Ut(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,jt(e)),ar(e)}function qr(e){if(Ut(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.",jt(e)),ar(e)}function Cr(e){if(Ut(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.",jt(e)),ar(e)}var dr=0,gr=1,pa=2,xr=3,mr=4,Mr=5,_a=6,Be=":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",st=Be+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+Be+"]["+st+"]*$"),$t={},Vt={};function Rr(e){return Lt.call(Vt,e)?!0:Lt.call($t,e)?!1:bt.test(e)?(Vt[e]=!0,!0):($t[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function vr(e,t,n){return t!==null?t.type===dr: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===dr)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 xr:return!t;case mr:return t===!1;case Mr:return isNaN(t);case _a: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===xr||t===mr,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,dr,!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,gr,!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,xr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,xr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,mr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,_a,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Mr,!1,e.toLowerCase(),null,!1,!1)});var ie=/[\-\:]([a-z])/g,oe=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(ie,oe);z[t]=new R(t,gr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,gr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,gr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,gr,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",gr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,gr,!1,e.toLowerCase(),null,!0,!0)});var Ie=/^[\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&&Ie.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 Le(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{ur(n,t),i.sanitizeURL&&We(""+n);var d=i.attributeName,_=null;if(i.type===mr){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===xr)return n;_=e.getAttribute(d)}return $(t,n,i,!1)?_===null?n:_:_===""+n?n:_}}function Qe(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 ur(n,t),c===""+n?n:c}}function I(e,t,n,i){var c=P(t);if(!vr(t,c,i)){if($(t,n,c,i)&&(n=null),i||c===null){if(Rr(t)){var d=t;n===null?e.removeAttribute(d):(ur(n,t),e.setAttribute(d,""+n))}return}var _=c.mustUseProperty;if(_){var y=c.propertyName;if(n===null){var w=c.type;e[y]=w===xr?!1:""}else e[y]=n;return}var E=c.attributeName,A=c.attributeNamespace;if(n===null)e.removeAttribute(E);else{var Z=c.type,J;Z===xr||Z===mr&&n===!0?J="":(ur(n,E),J=""+n,c.sanitizeURL&&We(J.toString())),A?e.setAttributeNS(A,E,J):e.setAttribute(E,J)}}}var V=Symbol.for("react.element"),ae=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),kt=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),$r=Symbol.for("react.cache"),Ha=Symbol.for("react.tracing_marker"),ia=Symbol.iterator,la="@@iterator";function $a(e){if(e===null||typeof e!="object")return null;var t=ia&&e[ia]||e[la];return typeof t=="function"?t:null}var Nt=Object.assign,qn=0,is,ls,Jt,aa,Za,Gr,Yn;function yu(){}yu.__reactDisabledLog=!0;function ip(){{if(qn===0){is=console.log,ls=console.info,Jt=console.warn,aa=console.error,Za=console.group,Gr=console.groupCollapsed,Yn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:yu,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:Nt({},e,{value:is}),info:Nt({},e,{value:ls}),warn:Nt({},e,{value:Jt}),error:Nt({},e,{value:aa}),group:Nt({},e,{value:Za}),groupCollapsed:Nt({},e,{value:Gr}),groupEnd:Nt({},e,{value:Yn})})}qn<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Su=o.ReactCurrentDispatcher,Cc;function hl(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
|
-
`+Cc+e}}var xc=!1,
|
|
25
|
-
`),
|
|
26
|
-
`),E=y.length-1,A=
|
|
27
|
-
`+y[E].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&
|
|
23
|
+
Check the top-level render call using <`+he+">.")}return U}function In(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var he=Em(U);if(!rr[he]){rr[he]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+ur(x._owner.type)+"."),Tc(x),fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,Ee),Tc(null)}}}function Ec(x,U){if(typeof x=="object"){if(Ze(x))for(var he=0;he<x.length;he++){var Ee=x[he];bt(Ee)&&In(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Xe=M(x);if(typeof Xe=="function"&&Xe!==x.entries)for(var Mt=Xe.call(x),yt;!(yt=Mt.next()).done;)bt(yt.value)&&In(yt.value,U)}}}function Rc(x){{var U=x.type;if(U==null||typeof U=="string")return;var he;if(typeof U=="function")he=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))he=U.propTypes;else return;if(he){var Ee=ur(U);km(he,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Af){Af=!0;var Xe=ur(U);fe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Xe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&fe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wg(x){{for(var U=Object.keys(x.props),he=0;he<U.length;he++){var Ee=U[he];if(Ee!=="children"&&Ee!=="key"){Tc(x),fe("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),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Tc(null))}}function vn(x,U,he){var Ee=Ve(x);if(!Ee){var Xe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Xe+=" 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 Mt=Tm(U);Mt?Xe+=Mt:Xe+=Hr();var yt;x===null?yt="null":Ze(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(ur(x.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,fe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Xe)}var er=_a.apply(this,arguments);if(er==null)return er;if(Ee)for(var kr=2;kr<arguments.length;kr++)Ec(arguments[kr],x);return x===l?Wg(er):Rc(er),er}var wa=!1;function qg(x){var U=vn.bind(null,x);return U.type=x,wa||(wa=!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 vl(x,U,he){for(var Ee=st.apply(this,arguments),Xe=2;Xe<arguments.length;Xe++)Ec(arguments[Xe],Ee.type);return Rc(Ee),Ee}function vo(x,U){var he=O.transition;O.transition={};var Ee=O.transition;O.transition._updatedFibers=new Set;try{x()}finally{if(O.transition=he,he===null&&Ee._updatedFibers){var Xe=Ee._updatedFibers.size;Xe>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 Ml=!1,Lf=null;function up(x){if(Lf===null)try{var U=("require"+Math.random()).slice(0,7),he=M_&&M_[U];Lf=he.call(M_,"timers").setImmediate}catch(Ee){Lf=function(Xe){Ml===!1&&(Ml=!0,typeof MessageChannel=="undefined"&&fe("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 Mt=new MessageChannel;Mt.port1.onmessage=Xe,Mt.port2.postMessage(void 0)}}return Lf(x)}var Ms=0,fp=!1;function Rm(x){{var U=Ms;Ms++,j.current===null&&(j.current=[]);var he=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!he&&j.didScheduleLegacyUpdate){var Xe=j.current;Xe!==null&&(j.didScheduleLegacyUpdate=!1,Of(Xe))}}catch(ha){throw Nf(U),ha}finally{j.isBatchingLegacy=he}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Mt=Ee,yt=!1,er={then:function(ha,Ea){yt=!0,Mt.then(function(tn){Nf(U),Ms===0?dp(tn,ha,Ea):ha(tn)},function(tn){Nf(U),Ea(tn)})}};return!fp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(fp=!0,fe("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 () => ...);"))}),er}else{var kr=Ee;if(Nf(U),Ms===0){var Ur=j.current;Ur!==null&&(Of(Ur),j.current=null);var sa={then:function(ha,Ea){j.current===null?(j.current=[],dp(kr,ha,Ea)):ha(kr)}};return sa}else{var ca={then:function(ha,Ea){ha(kr)}};return ca}}}}function Nf(x){x!==Ms-1&&fe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ms=x}function dp(x,U,he){{var Ee=j.current;if(Ee!==null)try{Of(Ee),up(function(){Ee.length===0?(j.current=null,U(x)):dp(x,U,he)})}catch(Xe){he(Xe)}else U(x)}}var Dc=!1;function Of(x){if(!Dc){Dc=!0;var U=0;try{for(;U<x.length;U++){var he=x[U];do he=he(!0);while(he!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Dc=!1}}}var Mf=vn,Dm=vl,Am=qg,Lm={map:z,forEach:ie,count:G,toArray:oe,only:Oe};Sr.Children=Lm,Sr.Component=we,Sr.Fragment=l,Sr.Profiler=f,Sr.PureComponent=ut,Sr.StrictMode=s,Sr.Suspense=m,Sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,Sr.act=Rm,Sr.cloneElement=Dm,Sr.createContext=Ie,Sr.createElement=Mf,Sr.createFactory=Am,Sr.createRef=Tt,Sr.forwardRef=ae,Sr.isValidElement=bt,Sr.lazy=V,Sr.memo=Fe,Sr.startTransition=vo,Sr.unstable_act=Rm,Sr.useCallback=Ct,Sr.useContext=q,Sr.useDebugValue=$r,Sr.useDeferredValue=ia,Sr.useEffect=ft,Sr.useId=la,Sr.useImperativeHandle=Wt,Sr.useInsertionEffect=Je,Sr.useLayoutEffect=Ke,Sr.useMemo=kt,Sr.useReducer=ke,Sr.useRef=He,Sr.useState=pe,Sr.useSyncExternalStore=Ga,Sr.useTransition=Ha,Sr.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((K$,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 l(Be,st){var bt=Be.length;Be.push(st),u(Be,st,bt)}function s(Be){return Be.length===0?null:Be[0]}function f(Be){if(Be.length===0)return null;var st=Be[0],bt=Be.pop();return bt!==st&&(Be[0]=bt,h(Be,bt,0)),st}function u(Be,st,bt){for(var Gt=bt;Gt>0;){var Vt=Gt-1>>>1,Rr=Be[Vt];if(p(Rr,st)>0)Be[Vt]=st,Be[Gt]=Rr,Gt=Vt;else return}}function h(Be,st,bt){for(var Gt=bt,Vt=Be.length,Rr=Vt>>>1;Gt<Rr;){var vr=(Gt+1)*2-1,Yr=Be[vr],$=vr+1,P=Be[$];if(p(Yr,st)<0)$<Vt&&p(P,Yr)<0?(Be[Gt]=P,Be[$]=st,Gt=$):(Be[Gt]=Yr,Be[vr]=st,Gt=vr);else if($<Vt&&p(P,st)<0)Be[Gt]=P,Be[$]=st,Gt=$;else return}}function p(Be,st){var bt=Be.sortIndex-st.sortIndex;return bt!==0?bt:Be.id-st.id}var m=1,g=2,b=3,S=4,w=5;function k(Be,st){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var M=performance;fa.unstable_now=function(){return M.now()}}else{var Y=Date,O=Y.now();fa.unstable_now=function(){return Y.now()-O}}var j=1073741823,F=-1,Q=250,N=5e3,te=1e4,_e=j,re=[],be=[],ye=1,ge=null,H=b,le=!1,fe=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate!="undefined"?setImmediate:null,de=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function xe(Be){for(var st=s(be);st!==null;){if(st.callback===null)f(be);else if(st.startTime<=Be)f(be),st.sortIndex=st.expirationTime,l(re,st);else return;st=s(be)}}function we(Be){if(B=!1,xe(Be),!fe)if(s(re)!==null)fe=!0,pa(Ye);else{var st=s(be);st!==null&&xr(we,st.startTime-Be)}}function Ye(Be,st){fe=!1,B&&(B=!1,mr()),le=!0;var bt=H;try{if(a)try{return $e(Be,st)}catch(Vt){if(ge!==null){var Gt=fa.unstable_now();ge.isQueued=!1}throw Vt}else return $e(Be,st)}finally{ge=null,H=bt,le=!1}}function $e(Be,st){var bt=st;for(xe(bt),ge=s(re);ge!==null&&!r&&!(ge.expirationTime>bt&&(!Be||Er()));){var Gt=ge.callback;if(typeof Gt=="function"){ge.callback=null,H=ge.priorityLevel;var Vt=ge.expirationTime<=bt,Rr=Gt(Vt);bt=fa.unstable_now(),typeof Rr=="function"?ge.callback=Rr:ge===s(re)&&f(re),xe(bt)}else f(re);ge=s(re)}if(ge!==null)return!0;var vr=s(be);return vr!==null&&xr(we,vr.startTime-bt),!1}function Pe(Be,st){switch(Be){case m:case g:case b:case S:case w:break;default:Be=b}var bt=H;H=Be;try{return st()}finally{H=bt}}function et(Be){var st;switch(H){case m:case g:case b:st=b;break;default:st=H;break}var bt=H;H=st;try{return Be()}finally{H=bt}}function ut(Be){var st=H;return function(){var bt=H;H=st;try{return Be.apply(this,arguments)}finally{H=bt}}}function lt(Be,st,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 vr;switch(Be){case m:vr=F;break;case g:vr=Q;break;case w:vr=_e;break;case S:vr=te;break;case b:default:vr=N;break}var Yr=Vt+vr,$={id:ye++,callback:st,priorityLevel:Be,startTime:Vt,expirationTime:Yr,sortIndex:-1};return Vt>Gt?($.sortIndex=Vt,l(be,$),s(re)===null&&$===s(be)&&(B?mr():B=!0,xr(we,Vt-Gt))):($.sortIndex=Yr,l(re,$),!fe&&!le&&(fe=!0,pa(Ye))),$}function Tt(){}function wt(){!fe&&!le&&(fe=!0,pa(Ye))}function Ze(){return s(re)}function Te(Be){Be.callback=null}function pt(){return H}var Lt=!1,jt=null,Ut=-1,ar=o,ur=-1;function Er(){var Be=fa.unstable_now()-ur;return!(Be<ar)}function ra(){}function jr(Be){if(Be<0||Be>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Be>0?ar=Math.floor(1e3/Be):ar=o}var qr=function(){if(jt!==null){var Be=fa.unstable_now();ur=Be;var st=!0,bt=!0;try{bt=jt(st,Be)}finally{bt?Cr():(Lt=!1,jt=null)}}else Lt=!1},Cr;if(typeof ee=="function")Cr=function(){ee(qr)};else if(typeof MessageChannel!="undefined"){var dr=new MessageChannel,gr=dr.port2;dr.port1.onmessage=qr,Cr=function(){gr.postMessage(null)}}else Cr=function(){W(qr,0)};function pa(Be){jt=Be,Lt||(Lt=!0,Cr())}function xr(Be,st){Ut=W(function(){Be(fa.unstable_now())},st)}function mr(){ne(Ut),Ut=-1}var Mr=ra,_a=null;fa.unstable_IdlePriority=w,fa.unstable_ImmediatePriority=m,fa.unstable_LowPriority=S,fa.unstable_NormalPriority=b,fa.unstable_Profiling=_a,fa.unstable_UserBlockingPriority=g,fa.unstable_cancelCallback=Te,fa.unstable_continueExecution=wt,fa.unstable_forceFrameRate=jr,fa.unstable_getCurrentPriorityLevel=pt,fa.unstable_getFirstCallbackNode=Ze,fa.unstable_next=et,fa.unstable_pauseExecution=Tt,fa.unstable_requestPaint=Mr,fa.unstable_runWithPriority=Pe,fa.unstable_scheduleCallback=lt,fa.unstable_shouldYield=Er,fa.unstable_wrapCallback=ut,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Zk=Ue((Q$,Jk)=>{"use strict";Jk.exports=Qk()});var eT=Ue(Uo=>{"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,l=!1;function s(e){l=e}function f(e){if(!l){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(!l){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,M=8,Y=9,O=10,j=11,F=12,Q=13,N=14,te=15,_e=16,re=17,be=18,ye=19,ge=21,H=22,le=23,fe=24,B=25,W=!0,ne=!1,ee=!1,de=!1,xe=!1,we=!0,Ye=!1,$e=!0,Pe=!0,et=!0,ut=!0,lt=new Set,Tt={},wt={};function Ze(e,t){Te(e,t),Te(e+"Capture",t)}function Te(e,t){Tt[e]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Tt[e]=t;{var n=e.toLowerCase();wt[n]=e,e==="onDoubleClick"&&(wt.ondblclick=e)}for(var i=0;i<t.length;i++)lt.add(t[i])}var pt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Lt=Object.prototype.hasOwnProperty;function jt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Ut(e){try{return ar(e),!1}catch(t){return!0}}function ar(e){return""+e}function ur(e,t){if(Ut(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,jt(e)),ar(e)}function Er(e){if(Ut(e))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(e)),ar(e)}function ra(e,t){if(Ut(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,jt(e)),ar(e)}function jr(e,t){if(Ut(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,jt(e)),ar(e)}function qr(e){if(Ut(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.",jt(e)),ar(e)}function Cr(e){if(Ut(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.",jt(e)),ar(e)}var dr=0,gr=1,pa=2,xr=3,mr=4,Mr=5,_a=6,Be=":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",st=Be+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+Be+"]["+st+"]*$"),Gt={},Vt={};function Rr(e){return Lt.call(Vt,e)?!0:Lt.call(Gt,e)?!1:bt.test(e)?(Vt[e]=!0,!0):(Gt[e]=!0,u("Invalid attribute name: `%s`",e),!1)}function vr(e,t,n){return t!==null?t.type===dr: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===dr)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 xr:return!t;case mr:return t===!1;case Mr:return isNaN(t);case _a: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===xr||t===mr,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,dr,!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,gr,!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,xr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,xr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,mr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,_a,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Mr,!1,e.toLowerCase(),null,!1,!1)});var ie=/[\-\:]([a-z])/g,oe=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(ie,oe);z[t]=new R(t,gr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,gr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,gr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,gr,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",gr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,gr,!1,e.toLowerCase(),null,!0,!0)});var Ie=/^[\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&&Ie.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 Le(e,t,n,i){if(i.mustUseProperty){var c=i.propertyName;return e[c]}else{ur(n,t),i.sanitizeURL&&We(""+n);var d=i.attributeName,_=null;if(i.type===mr){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===xr)return n;_=e.getAttribute(d)}return $(t,n,i,!1)?_===null?n:_:_===""+n?n:_}}function Qe(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 ur(n,t),c===""+n?n:c}}function I(e,t,n,i){var c=P(t);if(!vr(t,c,i)){if($(t,n,c,i)&&(n=null),i||c===null){if(Rr(t)){var d=t;n===null?e.removeAttribute(d):(ur(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===xr?!1:""}else e[y]=n;return}var E=c.attributeName,A=c.attributeNamespace;if(n===null)e.removeAttribute(E);else{var Z=c.type,J;Z===xr||Z===mr&&n===!0?J="":(ur(n,E),J=""+n,c.sanitizeURL&&We(J.toString())),A?e.setAttributeNS(A,E,J):e.setAttribute(E,J)}}}var V=Symbol.for("react.element"),ae=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),kt=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),$r=Symbol.for("react.cache"),Ha=Symbol.for("react.tracing_marker"),ia=Symbol.iterator,la="@@iterator";function Ga(e){if(e===null||typeof e!="object")return null;var t=ia&&e[ia]||e[la];return typeof t=="function"?t:null}var Nt=Object.assign,qn=0,ls,ss,Zt,aa,en,Gr,Yn;function Su(){}Su.__reactDisabledLog=!0;function lp(){{if(qn===0){ls=console.log,ss=console.info,Zt=console.warn,aa=console.error,en=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 sp(){{if(qn--,qn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Nt({},e,{value:ls}),info:Nt({},e,{value:ss}),warn:Nt({},e,{value:Zt}),error:Nt({},e,{value:aa}),group:Nt({},e,{value:en}),groupCollapsed:Nt({},e,{value:Gr}),groupEnd:Nt({},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 ml(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
|
+
`+Cc+e}}var xc=!1,Ef;{var Cm=typeof WeakMap=="function"?WeakMap:Map;Ef=new Cm}function cp(e,t){if(!e||xc)return"";{var n=Ef.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,lp();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(ve){i=ve}Reflect.construct(e,[],_)}else{try{_.call()}catch(ve){i=ve}e.call(_.prototype)}}else{try{throw Error()}catch(ve){i=ve}e()}}catch(ve){if(ve&&i&&typeof ve.stack=="string"){for(var y=ve.stack.split(`
|
|
25
|
+
`),C=i.stack.split(`
|
|
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 Z=`
|
|
27
|
+
`+y[E].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&Ef.set(e,Z),Z}while(E>=1&&A>=0);break}}}finally{xc=!1,wu.current=d,sp(),Error.prepareStackTrace=c}var J=e?e.displayName||e.name:"",me=J?ml(J):"";return typeof e=="function"&&Ef.set(e,me),me}function Ug(e,t,n){return cp(e,!0)}function kc(e,t,n){return cp(e,!1)}function xm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Rf(e,t,n){if(e==null)return"";if(typeof e=="function")return cp(e,xm(e));if(typeof e=="string")return ml(e);switch(e){case ke:return ml("Suspense");case He:return ml("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case pe:return kc(e.render);case ft:return Rf(e.type,t,n);case Je:{var i=e,c=i._payload,d=i._init;try{return Rf(d(c),t,n)}catch(_){}}}return""}function Df(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return ml(e.type);case _e:return ml("Lazy");case Q:return ml("Suspense");case ye:return ml("SuspenseList");case p:case g:case te:return kc(e.type);case j:return kc(e.type.render);case m:return Ug(e.type);default:return""}}function km(e){try{var t="",n=e;do t+=Df(n),n=n.return;while(n);return t}catch(i){return`
|
|
28
28
|
Error generating stack: `+i.message+`
|
|
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
|
|
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 Af(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 se:return"Fragment";case ae:return"Portal";case Fe:return"Profiler";case Ve:return"StrictMode";case ke:return"Suspense";case He:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q:var t=e;return Af(t)+".Consumer";case D:var n=e;return Af(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 Je:{var c=e,d=c._payload,_=c._init;try{return Hr(_(d))}catch(y){return null}}}return null}function Vg(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Tm(e){return e.displayName||"Context"}function rr(e){var t=e.tag,n=e.type;switch(t){case fe:return"Cache";case Y:var i=n;return Tm(i)+".Consumer";case O:var c=n;return Tm(c._context)+".Provider";case be:return"DehydratedFragment";case j:return Vg(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 _e:return Hr(n);case M:return n===Ve?"StrictMode":"Mode";case H:return"Offscreen";case F:return"Profiler";case ge:return"Scope";case Q:return"Suspense";case ye:return"SuspenseList";case B:return"TracingMarker";case m:case p:case re:case g:case N:case te:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Em=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 Wg(){return In===null?"":km(In)}function vn(){Em.getCurrentStack=null,In=null,Ec=!1}function wa(e){Em.getCurrentStack=e===null?null:Wg,In=e,Ec=!1}function qg(){return In}function vl(e){Ec=e}function vo(e){return""+e}function Ml(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Cr(e),e;default:return""}}var Lf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function up(e,t){Lf[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 Ms(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fp(e){return e._valueTracker}function Rm(e){e._valueTracker=null}function Nf(e){var t="";return e&&(Ms(e)?t=e.checked?"true":"false":t=e.value),t}function dp(e){var t=Ms(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Cr(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){Cr(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var _={getValue:function(){return i},setValue:function(y){Cr(y),i=""+y},stopTracking:function(){Rm(e),delete e[t]}};return _}}function Dc(e){fp(e)||(e._valueTracker=dp(e))}function Of(e){if(!e)return!1;var t=fp(e);if(!t)return!0;var n=t.getValue(),i=Nf(e);return i!==n?(t.setValue(i),!0):!1}function Mf(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 Dm=!1,Am=!1,Lm=!1,x=!1;function U(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function he(e,t){var n=e,i=t.checked,c=Nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return c}function Ee(e,t){up("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Am&&(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),Am=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Dm&&(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),Dm=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ml(t.value!=null?t.value:i),controlled:U(t)}}function Xe(e,t){var n=e,i=t.checked;i!=null&&I(n,"checked",i,!1)}function Mt(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&&!Lm&&(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"),Lm=!0)}Xe(e,t);var c=Ml(t.value),d=t.type;if(c!=null)d==="number"?(c===0&&n.value===""||n.value!=c)&&(n.value=vo(c)):n.value!==vo(c)&&(n.value=vo(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,Ml(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 _=vo(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 er(e,t){var n=e;Mt(n,t),kr(n,t)}function kr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;ur(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=gv(_);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Of(_),Mt(_,y)}}}}function Ur(e,t,n){(t!=="number"||Mf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=vo(e._wrapperState.initialValue):e.defaultValue!==vo(n)&&(e.defaultValue=vo(n)))}var sa=!1,ca=!1,ha=!1;function Ea(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 tn(e,t){t.value!=null&&e.setAttribute("value",vo(Ml(t.value)))}var Pf=Array.isArray;function rn(e){return Pf(e)}var If;If=!1;function Nm(){var e=Rc();return e?`
|
|
30
30
|
|
|
31
|
-
Check the render method of \``+e+"`.":""}var dp=["value","defaultValue"];function qg(e){{cp("select",e);for(var t=0;t<dp.length;t++){var n=dp[t];if(e[n]!=null){var i=tn(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 Ps(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 w=0;w<c.length;w++){var E=_.hasOwnProperty("$"+c[w].value);c[w].selected!==E&&(c[w].selected=E),E&&i&&(c[w].defaultSelected=!0)}}else{for(var A=vo(Ol(n)),Z=null,J=0;J<c.length;J++){if(c[J].value===A){c[J].selected=!0,i&&(c[J].defaultSelected=!0);return}Z===null&&!c[J].disabled&&(Z=c[J])}Z!==null&&(Z.selected=!0)}}function pp(e,t){return Nt({},t,{value:void 0})}function jw(e,t){var n=e;qg(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 eP(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Ps(n,!!t.multiple,i,!1):t.defaultValue!=null&&Ps(n,!!t.multiple,t.defaultValue,!0)}function tP(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?Ps(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?Ps(n,!!t.multiple,t.defaultValue,!0):Ps(n,!!t.multiple,t.multiple?[]:"",!1))}function rP(e,t){var n=e,i=t.value;i!=null&&Ps(n,!!t.multiple,i,!1)}var Hw=!1;function Yg(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Nt({},t,{value:void 0,defaultValue:void 0,children:vo(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(tn(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:Ol(i)}}function Vw(e,t){var n=e,i=Ol(t.value),c=Ol(t.defaultValue);if(i!=null){var d=vo(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}c!=null&&(n.defaultValue=vo(c))}function Ww(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function aP(e,t){Vw(e,t)}var Is="http://www.w3.org/1999/xhtml",nP="http://www.w3.org/1998/Math/MathML",$g="http://www.w3.org/2000/svg";function Gg(e){switch(e){case"svg":return $g;case"math":return nP;default:return Is}}function Kg(e,t){return e==null||e===Is?Gg(t):e===$g&&t==="foreignObject"?Is:e}var oP=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=oP(function(e,t){if(e.namespaceURI===$g&&!("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}),_o=1,zs=3,Ga=8,Bs=9,Xg=11,Om=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===zs){n.nodeValue=t;return}}e.textContent=t},iP={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 lP(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var sP=["Webkit","ms","Moz","O"];Object.keys(hp).forEach(function(e){sP.forEach(function(t){hp[lP(t,e)]=hp[e]})});function Qg(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 cP=/([A-Z])/g,uP=/^ms-/;function fP(e){return e.replace(cP,"-$1").toLowerCase().replace(uP,"-ms-")}var Yw=function(){};{var dP=/^(?:webkit|moz|o)[A-Z]/,pP=/^-ms-/,hP=/-(.)/g,$w=/;\s*$/,Pf={},Jg={},Gw=!1,Kw=!1,mP=function(e){return e.replace(hP,function(t,n){return n.toUpperCase()})},vP=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,mP(e.replace(pP,"ms-"))))},_P=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)))},gP=function(e,t){Jg.hasOwnProperty(t)&&Jg[t]||(Jg[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace($w,"")))},bP=function(e,t){Gw||(Gw=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},yP=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?vP(e):dP.test(e)?_P(e):$w.test(t)&&gP(e,t),typeof t=="number"&&(isNaN(t)?bP(e,t):isFinite(t)||yP(e,t))}}var SP=Yw;function wP(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:fP(i))+":",t+=Qg(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||SP(i,t[i]);var d=Qg(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,d):n[i]=d}}function CP(e){return e==null||typeof e=="boolean"||e===""}function Qw(e){var t={};for(var n in e)for(var i=iP[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function xP(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 w=_+","+y;if(c[w])continue;c[w]=!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.",CP(e[_])?"Removing":"Updating",_,y)}}}}var kP={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},TP=Nt({menuitem:!0},kP),EP="__html";function Zg(e,t){if(t){if(TP[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"||!(EP 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 wu(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={},RP=new RegExp("^(aria)-["+st+"]*$"),DP=new RegExp("^(aria)[A-Z]["+st+"]*$");function AP(e,t){{if(Lt.call(If,t)&&If[t])return!0;if(DP.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(RP.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 LP(e,t){{var n=[];for(var i in t){var c=AP(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 NP(e,t){wu(e,t)||LP(e,t)}var Zw=!1;function OP(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./,MP=/^on[^A-Z]/,PP=new RegExp("^(aria)-["+st+"]*$"),IP=new RegExp("^(aria)[A-Z]["+st+"]*$");e3=function(e,t,n,i){if(Lt.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 MP.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),$n[t]=!0,!0;if(PP.test(t)||IP.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 w=P(t),E=w!==null&&w.type===dr;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,w,!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,w,!1)?($n[t]=!0,!1):((n==="false"||n==="true")&&w!==null&&w.type===xr&&(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 zP=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 BP(e,t,n){wu(e,t)||zP(e,t,n)}var r3=1,eb=2,mp=4,FP=r3|eb|mp,vp=null;function jP(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 HP(){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 UP(e){return e===vp}function tb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===zs?t.parentNode:t}var rb=null,zf=null,Bf=null;function a3(e){var t=zc(e);if(t){if(typeof rb!="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);rb(t.stateNode,t.type,i)}}}function VP(e){rb=e}function n3(e){zf?Bf?Bf.push(e):Bf=[e]:zf=e}function WP(){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(){},ab=!1;function qP(){var e=WP();e&&(l3(),o3())}function s3(e,t,n){if(ab)return e(t,n);ab=!0;try{return i3(e,t,n)}finally{ab=!1,qP()}}function YP(e,t,n){i3=e,l3=n}function $P(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function GP(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&&$P(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(GP(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 nb=!1;if(ht)try{var gp={};Object.defineProperty(gp,"passive",{get:function(){nb=!0}}),window.addEventListener("test",gp,gp),window.removeEventListener("test",gp,gp)}catch(e){nb=!1}function c3(e,t,n,i,c,d,_,y,w){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 ob=document.createElement("react");u3=function(t,n,i,c,d,_,y,w,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"),Z=!1,J=!0,me=window.event,ve=Object.getOwnPropertyDescriptor(window,"event");function Ce(){ob.removeEventListener(De,Rt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=me)}var rt=Array.prototype.slice.call(arguments,3);function Rt(){Z=!0,Ce(),n.apply(i,rt),J=!1}var St,pr=!1,hr=!1;function ce(ue){if(St=ue.error,pr=!0,St===null&&ue.colno===0&&ue.lineno===0&&(hr=!0),ue.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(qe){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ce),ob.addEventListener(De,Rt,!1),A.initEvent(De,!1,!1),ob.dispatchEvent(A),ve&&Object.defineProperty(window,"event",ve),Z&&J&&(pr?hr&&(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",ce),!Z)return Ce(),c3.apply(this,arguments)}}var KP=u3,Ff=!1,Pm=null,Im=!1,ib=null,XP={onError:function(e){Ff=!0,Pm=e}};function lb(e,t,n,i,c,d,_,y,w){Ff=!1,Pm=null,KP.apply(XP,arguments)}function QP(e,t,n,i,c,d,_,y,w){if(lb.apply(this,arguments),Ff){var E=sb();Im||(Im=!0,ib=E)}}function JP(){if(Im){var e=ib;throw Im=!1,ib=null,e}}function ZP(){return Ff}function sb(){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 eI(e){return e._reactInternals!==void 0}function tI(e,t){e._reactInternals=t}var It=0,Hf=1,Ka=2,Tr=4,Cu=16,bp=32,cb=64,Pr=128,Fs=256,Ac=512,xu=1024,Ml=2048,js=4096,ku=8192,zm=16384,rI=Ml|Tr|cb|Ac|xu|zm,aI=32767,yp=32768,Gn=65536,ub=131072,f3=1048576,fb=2097152,Tu=4194304,db=8388608,Hs=16777216,Bm=33554432,pb=Tr|xu|0,hb=Ka|Tr|Cu|bp|Ac|js|ku,Sp=Tr|cb|Ac|ku,Uf=Ml|Cu,Us=Tu|db|fb,nI=o.ReactCurrentOwner;function Eu(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Ka|js))!==It&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function d3(e){if(e.tag===Q){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 oI(e){return Eu(e)===e}function iI(e){{var t=nI.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.",tr(n)||"A component"),i._warnedAboutRefsInRender=!0}}var c=jf(e);return c?Eu(c)===c:!1}function h3(e){if(Eu(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function m3(e){var t=e.alternate;if(!t){var n=Eu(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 w=d.child;w;){if(w===i)return h3(d),e;if(w===c)return h3(d),t;w=w.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===C||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 lI(e){var t=m3(e);return t!==null?g3(t):null}function g3(e){if(e.tag===C||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,sI=a.unstable_cancelCallback,cI=a.unstable_shouldYield,uI=a.unstable_requestPaint,_n=a.unstable_now,fI=a.unstable_getCurrentPriorityLevel,Fm=a.unstable_ImmediatePriority,mb=a.unstable_UserBlockingPriority,Ru=a.unstable_NormalPriority,dI=a.unstable_LowPriority,vb=a.unstable_IdlePriority,pI=a.unstable_yieldValue,hI=a.unstable_setDisableYieldValue,Du=null,xn=null,ot=null,ss=!1,Pl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function mI(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{Pe&&(e=Nt({},e,{getLaneLabelMap:SI,injectProfilingHooks:yI})),Du=t.inject(e),xn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function vI(e,t){if(xn&&typeof xn.onScheduleFiberRoot=="function")try{xn.onScheduleFiberRoot(Du,e,t)}catch(n){ss||(ss=!0,u("React instrumentation encountered an error: %s",n))}}function _I(e,t){if(xn&&typeof xn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(et){var i;switch(t){case Io:i=Fm;break;case Ws:i=mb;break;case qs:i=Ru;break;case Ym:i=vb;break;default:i=Ru;break}xn.onCommitFiberRoot(Du,e,i,n)}else xn.onCommitFiberRoot(Du,e,void 0,n)}catch(c){ss||(ss=!0,u("React instrumentation encountered an error: %s",c))}}function gI(e){if(xn&&typeof xn.onPostCommitFiberRoot=="function")try{xn.onPostCommitFiberRoot(Du,e)}catch(t){ss||(ss=!0,u("React instrumentation encountered an error: %s",t))}}function bI(e){if(xn&&typeof xn.onCommitFiberUnmount=="function")try{xn.onCommitFiberUnmount(Du,e)}catch(t){ss||(ss=!0,u("React instrumentation encountered an error: %s",t))}}function gn(e){if(typeof pI=="function"&&(hI(e),s(e)),xn&&typeof xn.setStrictMode=="function")try{xn.setStrictMode(Du,e)}catch(t){ss||(ss=!0,u("React instrumentation encountered an error: %s",t))}}function yI(e){ot=e}function SI(){{for(var e=new Map,t=1,n=0;n<gb;n++){var i=HI(t);e.set(t,i),t*=2}return e}}function wI(e){ot!==null&&typeof ot.markCommitStarted=="function"&&ot.markCommitStarted(e)}function y3(){ot!==null&&typeof ot.markCommitStopped=="function"&&ot.markCommitStopped()}function wp(e){ot!==null&&typeof ot.markComponentRenderStarted=="function"&&ot.markComponentRenderStarted(e)}function Vf(){ot!==null&&typeof ot.markComponentRenderStopped=="function"&&ot.markComponentRenderStopped()}function CI(e){ot!==null&&typeof ot.markComponentPassiveEffectMountStarted=="function"&&ot.markComponentPassiveEffectMountStarted(e)}function xI(){ot!==null&&typeof ot.markComponentPassiveEffectMountStopped=="function"&&ot.markComponentPassiveEffectMountStopped()}function kI(e){ot!==null&&typeof ot.markComponentPassiveEffectUnmountStarted=="function"&&ot.markComponentPassiveEffectUnmountStarted(e)}function TI(){ot!==null&&typeof ot.markComponentPassiveEffectUnmountStopped=="function"&&ot.markComponentPassiveEffectUnmountStopped()}function EI(e){ot!==null&&typeof ot.markComponentLayoutEffectMountStarted=="function"&&ot.markComponentLayoutEffectMountStarted(e)}function RI(){ot!==null&&typeof ot.markComponentLayoutEffectMountStopped=="function"&&ot.markComponentLayoutEffectMountStopped()}function S3(e){ot!==null&&typeof ot.markComponentLayoutEffectUnmountStarted=="function"&&ot.markComponentLayoutEffectUnmountStarted(e)}function w3(){ot!==null&&typeof ot.markComponentLayoutEffectUnmountStopped=="function"&&ot.markComponentLayoutEffectUnmountStopped()}function DI(e,t,n){ot!==null&&typeof ot.markComponentErrored=="function"&&ot.markComponentErrored(e,t,n)}function AI(e,t,n){ot!==null&&typeof ot.markComponentSuspended=="function"&&ot.markComponentSuspended(e,t,n)}function LI(e){ot!==null&&typeof ot.markLayoutEffectsStarted=="function"&&ot.markLayoutEffectsStarted(e)}function NI(){ot!==null&&typeof ot.markLayoutEffectsStopped=="function"&&ot.markLayoutEffectsStopped()}function OI(e){ot!==null&&typeof ot.markPassiveEffectsStarted=="function"&&ot.markPassiveEffectsStarted(e)}function MI(){ot!==null&&typeof ot.markPassiveEffectsStopped=="function"&&ot.markPassiveEffectsStopped()}function C3(e){ot!==null&&typeof ot.markRenderStarted=="function"&&ot.markRenderStarted(e)}function PI(){ot!==null&&typeof ot.markRenderYielded=="function"&&ot.markRenderYielded()}function x3(){ot!==null&&typeof ot.markRenderStopped=="function"&&ot.markRenderStopped()}function II(e){ot!==null&&typeof ot.markRenderScheduled=="function"&&ot.markRenderScheduled(e)}function zI(e,t){ot!==null&&typeof ot.markForceUpdateScheduled=="function"&&ot.markForceUpdateScheduled(e,t)}function _b(e,t){ot!==null&&typeof ot.markStateUpdateScheduled=="function"&&ot.markStateUpdateScheduled(e,t)}var Ot=0,br=1,Kr=2,Ma=8,cs=16,k3=Math.clz32?Math.clz32:jI,BI=Math.log,FI=Math.LN2;function jI(e){var t=e>>>0;return t===0?32:31-(BI(t)/FI|0)|0}var gb=31,ze=0,bn=0,qt=1,Wf=2,Vs=4,Au=8,us=16,Cp=32,qf=4194240,xp=64,bb=128,yb=256,Sb=512,wb=1024,Cb=2048,xb=4096,kb=8192,Tb=16384,Eb=32768,Rb=65536,Db=131072,Ab=262144,Lb=524288,Nb=1048576,Ob=2097152,jm=130023424,Yf=4194304,Mb=8388608,Pb=16777216,Ib=33554432,zb=67108864,T3=Yf,kp=134217728,E3=268435455,Tp=268435456,Lu=536870912,Mo=1073741824;function HI(e){{if(e&qt)return"Sync";if(e&Wf)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Au)return"DefaultHydration";if(e&us)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&Lu)return"Idle";if(e&Mo)return"Offscreen"}}var ma=-1,Hm=xp,Um=Yf;function Ep(e){switch(Nu(e)){case qt:return qt;case Wf:return Wf;case Vs:return Vs;case Au:return Au;case us:return us;case Cp:return Cp;case xp:case bb:case yb: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:return e&qf;case Yf:case Mb:case Pb:case Ib:case zb:return e&jm;case kp:return kp;case Tp:return Tp;case Lu:return Lu;case Mo:return Mo;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===ze)return ze;var i=ze,c=e.suspendedLanes,d=e.pingedLanes,_=n&E3;if(_!==ze){var y=_&~c;if(y!==ze)i=Ep(y);else{var w=_&d;w!==ze&&(i=Ep(w))}}else{var E=n&~c;E!==ze?i=Ep(E):d!==ze&&(i=Ep(d))}if(i===ze)return ze;if(t!==ze&&t!==i&&(t&c)===ze){var A=Nu(i),Z=Nu(t);if(A>=Z||A===us&&(Z&qf)!==ze)return t}(i&Vs)!==ze&&(i|=n&us);var J=e.entangledLanes;if(J!==ze)for(var me=e.entanglements,ve=i&J;ve>0;){var Ce=Ou(ve),rt=1<<Ce;i|=me[Ce],ve&=~rt}return i}function UI(e,t){for(var n=e.eventTimes,i=ma;t>0;){var c=Ou(t),d=1<<c,_=n[c];_>i&&(i=_),t&=~d}return i}function VI(e,t){switch(e){case qt:case Wf:case Vs:return t+250;case Au:case us:case Cp:case xp:case bb:case yb: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:return t+5e3;case Yf:case Mb:case Pb:case Ib:case zb:return ma;case kp:case Tp:case Lu:case Mo:return ma;default:return u("Should have found matching lanes. This is a bug in React."),ma}}function WI(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,c=e.pingedLanes,d=e.expirationTimes,_=n;_>0;){var y=Ou(_),w=1<<y,E=d[y];E===ma?((w&i)===ze||(w&c)!==ze)&&(d[y]=VI(w,t)):E<=t&&(e.expiredLanes|=w),_&=~w}}function qI(e){return Ep(e.pendingLanes)}function Bb(e){var t=e.pendingLanes&~Mo;return t!==ze?t:t&Mo?Mo:ze}function YI(e){return(e&qt)!==ze}function Fb(e){return(e&E3)!==ze}function R3(e){return(e&jm)===e}function $I(e){var t=qt|Vs|us;return(e&t)===ze}function GI(e){return(e&qf)===e}function Wm(e,t){var n=Wf|Vs|Au|us;return(t&n)!==ze}function KI(e,t){return(t&e.expiredLanes)!==ze}function D3(e){return(e&qf)!==ze}function A3(){var e=Hm;return Hm<<=1,(Hm&qf)===ze&&(Hm=xp),e}function XI(){var e=Um;return Um<<=1,(Um&jm)===ze&&(Um=Yf),e}function Nu(e){return e&-e}function Rp(e){return Nu(e)}function Ou(e){return 31-k3(e)}function jb(e){return Ou(e)}function Po(e,t){return(e&t)!==ze}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 W$(e){return e}function QI(e,t){return e!==bn&&e<t?e:t}function Hb(e){for(var t=[],n=0;n<gb;n++)t.push(e);return t}function Dp(e,t,n){e.pendingLanes|=t,t!==Lu&&(e.suspendedLanes=ze,e.pingedLanes=ze);var i=e.eventTimes,c=jb(t);i[c]=n}function JI(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var c=Ou(i),d=1<<c;n[c]=ma,i&=~d}}function N3(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function ZI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ze,e.pingedLanes=ze,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,c=e.eventTimes,d=e.expirationTimes,_=n;_>0;){var y=Ou(_),w=1<<y;i[y]=ze,c[y]=ma,d[y]=ma,_&=~w}}function Ub(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,c=n;c;){var d=Ou(c),_=1<<d;_&t|i[d]&t&&(i[d]|=t),c&=~_}}function ez(e,t){var n=Nu(t),i;switch(n){case Vs:i=Wf;break;case us:i=Au;break;case xp:case bb:case yb: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 Yf:case Mb:case Pb:case Ib:case zb:i=Cp;break;case Lu:i=Tp;break;default:i=bn;break}return(i&(e.suspendedLanes|t))!==bn?bn:i}function O3(e,t,n){if(Pl)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=jb(n),d=1<<c,_=i[c];_.add(t),n&=~d}}function M3(e,t){if(Pl)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=jb(t),d=1<<c,_=n[c];_.size>0&&(_.forEach(function(y){var w=y.alternate;(w===null||!i.has(w))&&i.add(y)}),_.clear()),t&=~d}}function P3(e,t){return null}var Io=qt,Ws=Vs,qs=us,Ym=Lu,Ap=bn;function Il(){return Ap}function yn(e){Ap=e}function tz(e,t){var n=Ap;try{return Ap=e,t()}finally{Ap=n}}function rz(e,t){return e!==0&&e<t?e:t}function az(e,t){return e===0||e>t?e:t}function Vb(e,t){return e!==0&&e<t}function I3(e){var t=Nu(e);return Vb(Io,t)?Vb(Ws,t)?Fb(t)?qs:Ym:Ws:Io}function $m(e){var t=e.current.memoizedState;return t.isDehydrated}var z3;function nz(e){z3=e}function oz(e){z3(e)}var Wb;function iz(e){Wb=e}var B3;function lz(e){B3=e}var F3;function sz(e){F3=e}var j3;function cz(e){j3=e}var qb=!1,Gm=[],Lc=null,Nc=null,Oc=null,Lp=new Map,Np=new Map,Mc=[],uz=["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 fz(e){return uz.indexOf(e)>-1}function dz(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 _=dz(t,n,i,c,d);if(t!==null){var y=zc(t);y!==null&&Wb(y)}return _}e.eventSystemFlags|=i;var w=e.targetContainers;return c!==null&&w.indexOf(c)===-1&&w.push(c),e}function pz(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 w=c,E=w.pointerId;return Lp.set(E,Op(Lp.get(E)||null,e,t,n,i,w)),!0}case"gotpointercapture":{var A=c,Z=A.pointerId;return Np.set(Z,Op(Np.get(Z)||null,e,t,n,i,A)),!0}}return!1}function U3(e){var t=Iu(e.target);if(t!==null){var n=Eu(t);if(n!==null){var i=n.tag;if(i===Q){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 hz(e){for(var t=F3(),n={blockedOn:null,target:e,priority:t},i=0;i<Mc.length&&Vb(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=Gb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,d=new c.constructor(c.type,c);jP(d),c.target.dispatchEvent(d),HP()}else{var _=zc(i);return _!==null&&Wb(_),e.blockedOn=i,!1}t.shift()}return!0}function V3(e,t,n){Km(e)&&n.delete(t)}function mz(){qb=!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,qb||(qb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,mz)))}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,Yb=!0;function W3(e){Yb=!!e}function vz(){return Yb}function _z(e,t,n){var i=q3(t),c;switch(i){case Io:c=gz;break;case Ws:c=bz;break;case qs:default:c=$b;break}return c.bind(null,t,n,e)}function gz(e,t,n,i){var c=Il(),d=Gf.transition;Gf.transition=null;try{yn(Io),$b(e,t,n,i)}finally{yn(c),Gf.transition=d}}function bz(e,t,n,i){var c=Il(),d=Gf.transition;Gf.transition=null;try{yn(Ws),$b(e,t,n,i)}finally{yn(c),Gf.transition=d}}function $b(e,t,n,i){Yb&&yz(e,t,n,i)}function yz(e,t,n,i){var c=Gb(e,t,n,i);if(c===null){s1(e,t,i,Xm,n),H3(e,i);return}if(pz(c,e,t,n,i)){i.stopPropagation();return}if(H3(e,i),t&mp&&fz(e)){for(;c!==null;){var d=zc(c);d!==null&&oz(d);var _=Gb(e,t,n,i);if(_===null&&s1(e,t,i,Xm,n),_===c)break;c=_}c!==null&&i.stopPropagation();return}s1(e,t,i,null,n)}var Xm=null;function Gb(e,t,n,i){Xm=null;var c=tb(i),d=Iu(c);if(d!==null){var _=Eu(d);if(_===null)d=null;else{var y=_.tag;if(y===Q){var w=d3(_);if(w!==null)return w;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 Io;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 Ws;case"message":{var t=fI();switch(t){case Fm:return Io;case mb:return Ws;case Ru:case dI:return qs;case vb:return Ym;default:return qs}}default:return qs}}function Sz(e,t,n){return e.addEventListener(t,n,!1),n}function wz(e,t,n){return e.addEventListener(t,n,!0),n}function Cz(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function xz(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Ip=null,Kb=null,zp=null;function kz(e){return Ip=e,Kb=$3(),!0}function Tz(){Ip=null,Kb=null,zp=null}function Y3(){if(zp)return zp;var e,t=Kb,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 zo(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 w=e[y];w?this[y]=w(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 Nt(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},Xb=zo(Kf),Bp=Nt({},Kf,{view:0,detail:0}),Ez=zo(Bp),Qb,Jb,Fp;function Rz(e){e!==Fp&&(Fp&&e.type==="mousemove"?(Qb=e.screenX-Fp.screenX,Jb=e.screenY-Fp.screenY):(Qb=0,Jb=0),Fp=e)}var Zm=Nt({},Bp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:e1,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:(Rz(e),Qb)},movementY:function(e){return"movementY"in e?e.movementY:Jb}}),K3=zo(Zm),Dz=Nt({},Zm,{dataTransfer:0}),Az=zo(Dz),Lz=Nt({},Bp,{relatedTarget:0}),Zb=zo(Lz),Nz=Nt({},Kf,{animationName:0,elapsedTime:0,pseudoElement:0}),Oz=zo(Nz),Mz=Nt({},Kf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pz=zo(Mz),Iz=Nt({},Kf,{data:0}),X3=zo(Iz),zz=X3,Bz={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fz={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 jz(e){if(e.key){var t=Bz[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"?Fz[e.keyCode]||"Unidentified":""}var Hz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Uz(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=Hz[e];return i?!!n[i]:!1}function e1(e){return Uz}var Vz=Nt({},Bp,{key:jz,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:e1,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}}),Wz=zo(Vz),qz=Nt({},Zm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Q3=zo(qz),Yz=Nt({},Bp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:e1}),$z=zo(Yz),Gz=Nt({},Kf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kz=zo(Gz),Xz=Nt({},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}),Qz=zo(Xz),Jz=[9,13,27,32],J3=229,t1=ht&&"CompositionEvent"in window,jp=null;ht&&"documentMode"in document&&(jp=document.documentMode);var Zz=ht&&"TextEvent"in window&&!jp,Z3=ht&&(!t1||jp&&jp>8&&jp<=11),eC=32,tC=String.fromCharCode(eC);function eB(){Ze("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ze("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var rC=!1;function tB(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function rB(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function aB(e,t){return e==="keydown"&&t.keyCode===J3}function aC(e,t){switch(e){case"keyup":return Jz.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 nB(e,t,n,i,c){var d,_;if(t1?d=rB(t):Xf?aC(t,i)&&(d="onCompositionEnd"):aB(t,i)&&(d="onCompositionStart"),!d)return null;Z3&&!oC(i)&&(!Xf&&d==="onCompositionStart"?Xf=kz(c):d==="onCompositionEnd"&&Xf&&(_=Y3()));var y=nv(n,d);if(y.length>0){var w=new X3(d,t,null,i,c);if(e.push({event:w,listeners:y}),_)w.data=_;else{var E=nC(i);E!==null&&(w.data=E)}}}function oB(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 iB(e,t){if(Xf){if(e==="compositionend"||!t1&&aC(e,t)){var n=Y3();return Tz(),Xf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!tB(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 lB(e,t,n,i,c){var d;if(Zz?d=oB(t,i):d=iB(t,i),!d)return null;var _=nv(n,"onBeforeInput");if(_.length>0){var y=new zz("onBeforeInput","beforeinput",null,i,c);e.push({event:y,listeners:_}),y.data=d}}function sB(e,t,n,i,c,d,_){nB(e,t,n,i,c),lB(e,t,n,i,c)}var cB={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"?!!cB[e.type]:t==="textarea"}function uB(e){if(!ht)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 fB(){Ze("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 Xb("onChange","change",null,n,i);e.push({event:d,listeners:c})}}var Hp=null,Up=null;function dB(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function pB(e){var t=[];lC(t,Up,e,tb(e)),s3(hB,t)}function hB(e){kC(e,0)}function ev(e){var t=rd(e);if(Lf(t))return e}function mB(e,t){if(e==="change")return t}var sC=!1;ht&&(sC=uB("input")&&(!document.documentMode||document.documentMode>9));function vB(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)&&pB(e)}function _B(e,t,n){e==="focusin"?(cC(),vB(t,n)):e==="focusout"&&cC()}function gB(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ev(Up)}function bB(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function yB(e,t){if(e==="click")return ev(t)}function SB(e,t){if(e==="input"||e==="change")return ev(t)}function wB(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function CB(e,t,n,i,c,d,_){var y=n?rd(n):window,w,E;if(dB(y)?w=mB:iC(y)?sC?w=SB:(w=gB,E=_B):bB(y)&&(w=yB),w){var A=w(t,n);if(A){lC(e,A,i,c);return}}E&&E(t,y,n),t==="focusout"&&wB(y)}function xB(){Te("onMouseEnter",["mouseout","mouseover"]),Te("onMouseLeave",["mouseout","mouseover"]),Te("onPointerEnter",["pointerout","pointerover"]),Te("onPointerLeave",["pointerout","pointerover"])}function kB(e,t,n,i,c,d,_){var y=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout";if(y&&!UP(i)){var E=i.relatedTarget||i.fromElement;if(E&&(Iu(E)||ah(E)))return}if(!(!w&&!y)){var A;if(c.window===c)A=c;else{var Z=c.ownerDocument;Z?A=Z.defaultView||Z.parentWindow:A=window}var J,me;if(w){var ve=i.relatedTarget||i.toElement;if(J=n,me=ve?Iu(ve):null,me!==null){var Ce=Eu(me);(me!==Ce||me.tag!==C&&me.tag!==k)&&(me=null)}}else J=null,me=n;if(J!==me){var rt=K3,Rt="onMouseLeave",St="onMouseEnter",pr="mouse";(t==="pointerout"||t==="pointerover")&&(rt=Q3,Rt="onPointerLeave",St="onPointerEnter",pr="pointer");var hr=J==null?A:rd(J),ce=me==null?A:rd(me),De=new rt(Rt,pr+"leave",J,i,c);De.target=hr,De.relatedTarget=ce;var ue=null,qe=Iu(c);if(qe===n){var ct=new rt(St,pr+"enter",me,i,c);ct.target=ce,ct.relatedTarget=hr,ue=ct}KB(e,De,ue,J,me)}}}function TB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bo=typeof Object.is=="function"?Object.is:TB;function Vp(e,t){if(Bo(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(!Lt.call(t,d)||!Bo(e[d],t[d]))return!1}return!0}function fC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function EB(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===zs){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=fC(EB(n))}}function RB(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(w){return null}return DB(e,c,d,_,y)}function DB(e,t,n,i,c){var d=0,_=-1,y=-1,w=0,E=0,A=e,Z=null;e:for(;;){for(var J=null;A===t&&(n===0||A.nodeType===zs)&&(_=d+n),A===i&&(c===0||A.nodeType===zs)&&(y=d+c),A.nodeType===zs&&(d+=A.nodeValue.length),(J=A.firstChild)!==null;)Z=A,A=J;for(;;){if(A===e)break e;if(Z===t&&++w===n&&(_=d),Z===i&&++E===c&&(y=d),(J=A.nextSibling)!==null)break;A=Z,Z=A.parentNode}A=J}return _===-1||y===-1?null:{start:_,end:y}}function AB(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 w=y;y=_,_=w}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 Z=n.createRange();Z.setStart(E.node,E.offset),c.removeAllRanges(),_>y?(c.addRange(Z),c.extend(A.node,A.offset)):(Z.setEnd(A.node,A.offset),c.addRange(Z))}}}function pC(e){return e&&e.nodeType===zs}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 LB(e){return e&&e.ownerDocument&&hC(e.ownerDocument.documentElement,e)}function NB(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(NB(t))e=t.contentWindow;else return t;t=Nf(e.document)}return t}function r1(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 OB(){var e=mC();return{focusedElem:e,selectionRange:r1(e)?PB(e):null}}function MB(e){var t=mC(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&LB(n)){i!==null&&r1(n)&&IB(n,i);for(var c=[],d=n;d=d.parentNode;)d.nodeType===_o&&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 PB(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=RB(e),t||{start:0,end:0}}function IB(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)):AB(e,t)}var zB=ht&&"documentMode"in document&&document.documentMode<=11;function BB(){Ze("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Qf=null,a1=null,Wp=null,n1=!1;function FB(e){if("selectionStart"in e&&r1(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 jB(e){return e.window===e?e.document:e.nodeType===Bs?e:e.ownerDocument}function vC(e,t,n){var i=jB(n);if(!(n1||Qf==null||Qf!==Nf(i))){var c=FB(Qf);if(!Wp||!Vp(Wp,c)){Wp=c;var d=nv(a1,"onSelect");if(d.length>0){var _=new Xb("onSelect","select",null,t,n);e.push({event:_,listeners:d}),_.target=Qf}}}}function HB(e,t,n,i,c,d,_){var y=n?rd(n):window;switch(t){case"focusin":(iC(y)||y.contentEditable==="true")&&(Qf=y,a1=n,Wp=null);break;case"focusout":Qf=null,a1=null,Wp=null;break;case"mousedown":n1=!0;break;case"contextmenu":case"mouseup":case"dragend":n1=!1,vC(e,i,c);break;case"selectionchange":if(zB)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")},o1={},_C={};ht&&(_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(o1[e])return o1[e];if(!Jf[e])return e;var t=Jf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in _C)return o1[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),Ze(t,[e])}function UB(){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 VB(e,t,n,i,c,d,_){var y=wC.get(t);if(y!==void 0){var w=Xb,E=t;switch(t){case"keypress":if(Qm(i)===0)return;case"keydown":case"keyup":w=Wz;break;case"focusin":E="focus",w=Zb;break;case"focusout":E="blur",w=Zb;break;case"beforeblur":case"afterblur":w=Zb;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=K3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Az;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=$z;break;case gC:case bC:case yC:w=Oz;break;case SC:w=Kz;break;case"scroll":w=Ez;break;case"wheel":w=Qz;break;case"copy":case"cut":case"paste":w=Pz;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Q3;break}var A=(d&mp)!==0;{var Z=!A&&t==="scroll",J=$B(n,y,i.type,A,Z);if(J.length>0){var me=new w(y,E,null,i,c);e.push({event:me,listeners:J})}}}}UB(),xB(),fB(),BB(),eB();function WB(e,t,n,i,c,d,_){VB(e,t,n,i,c,d);var y=(d&FP)===0;y&&(kB(e,t,n,i,c),CB(e,t,n,i,c),HB(e,t,n,i,c),sB(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"],i1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(qp));function xC(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,QP(i,t,void 0,e),e.currentTarget=null}function qB(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,w=d.listener;if(_!==i&&e.isPropagationStopped())return;xC(e,w,y),i=_}else for(var E=0;E<t.length;E++){var A=t[E],Z=A.instance,J=A.currentTarget,me=A.listener;if(Z!==i&&e.isPropagationStopped())return;xC(e,me,J),i=Z}}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;qB(d,_,n)}JP()}function YB(e,t,n,i,c){var d=tb(n),_=[];WB(_,e,i,n,d,t),kC(_,t)}function ga(e,t){i1.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=wF(t),c=XB(e,n);i.has(c)||(TC(t,e,eb,n),i.add(c))}function l1(e,t,n){i1.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,lt.forEach(function(n){n!=="selectionchange"&&(i1.has(n)||l1(n,!1,e),l1(n,!0,e))});var t=e.nodeType===Bs?e:e.ownerDocument;t!==null&&(t[av]||(t[av]=!0,l1("selectionchange",!1,t)))}}function TC(e,t,n,i,c){var d=_z(e,t,n),_=void 0;nb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(_=!0),e=e;var y;i?_!==void 0?y=Cz(e,t,d,_):y=wz(e,t,d):_!==void 0?y=xz(e,t,d,_):y=Sz(e,t,d)}function EC(e,t){return e===t||e.nodeType===Ga&&e.parentNode===t}function s1(e,t,n,i,c){var d=i;if(!(t&r3)&&!(t&eb)){var _=c;if(i!==null){var y=i;e:for(;;){if(y===null)return;var w=y.tag;if(w===b||w===S){var E=y.stateNode.containerInfo;if(EC(E,_))break;if(w===S)for(var A=y.return;A!==null;){var Z=A.tag;if(Z===b||Z===S){var J=A.stateNode.containerInfo;if(EC(J,_))return}A=A.return}for(;E!==null;){var me=Iu(E);if(me===null)return;var ve=me.tag;if(ve===C||ve===k){y=d=me;continue e}E=E.parentNode}}y=y.return}}}s3(function(){return YB(e,t,n,d)})}function $p(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $B(e,t,n,i,c,d){for(var _=t!==null?t+"Capture":null,y=i?_:t,w=[],E=e,A=null;E!==null;){var Z=E,J=Z.stateNode,me=Z.tag;if(me===C&&J!==null&&(A=J,y!==null)){var ve=_p(E,y);ve!=null&&w.push($p(E,ve,A))}if(c)break;E=E.return}return w}function nv(e,t){for(var n=t+"Capture",i=[],c=e;c!==null;){var d=c,_=d.stateNode,y=d.tag;if(y===C&&_!==null){var w=_,E=_p(c,n);E!=null&&i.unshift($p(c,E,w));var A=_p(c,t);A!=null&&i.push($p(c,A,w))}c=c.return}return i}function Zf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==C);return e||null}function GB(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 w=c;w--;){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 w=y,E=w.alternate,A=w.stateNode,Z=w.tag;if(E!==null&&E===i)break;if(Z===C&&A!==null){var J=A;if(c){var me=_p(y,d);me!=null&&_.unshift($p(y,me,J))}else if(!c){var ve=_p(y,d);ve!=null&&_.push($p(y,ve,J))}}y=y.return}_.length!==0&&e.push({event:t,listeners:_})}function KB(e,t,n,i,c){var d=i&&c?GB(i,c):null;i!==null&&RC(e,t,i,d,!1),c!==null&&n!==null&&RC(e,n,c,d,!0)}function XB(e,t){return e+"__"+(t?"capture":"bubble")}var go=!1,Gp="dangerouslySetInnerHTML",ov="suppressContentEditableWarning",Ic="suppressHydrationWarning",DC="autoFocus",Mu="children",Pu="style",iv="__html",c1,lv,Kp,AC,sv,LC,NC;c1={dialog:!0,webview:!0},lv=function(e,t){NP(e,t),OP(e,t),BP(e,t,{registrationNameDependencies:Tt,possibleRegistrationNames:wt})},LC=ht&&!document.documentMode,Kp=function(e,t,n){if(!go){var i=cv(n),c=cv(t);c!==i&&(go=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},AC=function(e){if(!go){go=!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===Is?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var QB=/\r\n?/g,JB=/\u0000|\uFFFD/g;function cv(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(QB,`
|
|
32
|
-
`).replace(JB,"")}function uv(e,t,n,i){var c=cv(t),d=cv(e);if(d!==c&&(i&&(go||(go=!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===Bs?e:e.ownerDocument}function ZB(){}function fv(e){e.onclick=ZB}function e9(e,t,n,i,c){for(var d in i)if(i.hasOwnProperty(d)){var _=i[d];if(d===Pu)_&&Object.freeze(_),Xw(t,_);else if(d===Gp){var y=_?_[iv]:void 0;y!=null&&qw(t,y)}else if(d===Mu)if(typeof _=="string"){var w=e!=="textarea"||_!=="";w&&Om(t,_)}else typeof _=="number"&&Om(t,""+_);else d===ov||d===Ic||d===DC||(Tt.hasOwnProperty(d)?_!=null&&(typeof _!="function"&&sv(d,_),d==="onScroll"&&ga("scroll",t)):_!=null&&I(t,d,_,c))}}function t9(e,t,n,i){for(var c=0;c<t.length;c+=2){var d=t[c],_=t[c+1];d===Pu?Xw(e,_):d===Gp?qw(e,_):d===Mu?Om(e,_):I(e,d,_,i)}}function r9(e,t,n,i){var c,d=OC(n),_,y=i;if(y===Is&&(y=Gg(e)),y===Is){if(c=wu(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 w=d.createElement("div");w.innerHTML="<script></script>";var E=w.firstChild;_=w.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===Is&&!c&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!Lt.call(c1,e)&&(c1[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 a9(e,t){return OC(t).createTextNode(e)}function n9(e,t,n,i){var c=wu(t,n);lv(t,n);var d;switch(t){case"dialog":ga("cancel",e),ga("close",e),d=n;break;case"iframe":case"object":case"embed":ga("load",e),d=n;break;case"video":case"audio":for(var _=0;_<qp.length;_++)ga(qp[_],e);d=n;break;case"source":ga("error",e),d=n;break;case"img":case"image":case"link":ga("error",e),ga("load",e),d=n;break;case"details":ga("toggle",e),d=n;break;case"input":Ee(e,n),d=he(e,n),ga("invalid",e);break;case"option":Ea(e,n),d=n;break;case"select":jw(e,n),d=pp(e,n),ga("invalid",e);break;case"textarea":Uw(e,n),d=Yg(e,n),ga("invalid",e);break;default:d=n}switch(Zg(t,d),e9(t,e,i,d,c),t){case"input":Dc(e),yt(e,n,!1);break;case"textarea":Dc(e),Ww(e);break;case"option":en(e,n);break;case"select":eP(e,n);break;default:typeof d.onClick=="function"&&fv(e);break}}function o9(e,t,n,i,c){lv(t,i);var d=null,_,y;switch(t){case"input":_=he(e,n),y=he(e,i),d=[];break;case"select":_=pp(e,n),y=pp(e,i),d=[];break;case"textarea":_=Yg(e,n),y=Yg(e,i),d=[];break;default:_=n,y=i,typeof _.onClick!="function"&&typeof y.onClick=="function"&&fv(e);break}Zg(t,y);var w,E,A=null;for(w in _)if(!(y.hasOwnProperty(w)||!_.hasOwnProperty(w)||_[w]==null))if(w===Pu){var Z=_[w];for(E in Z)Z.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else w===Gp||w===Mu||w===ov||w===Ic||w===DC||(Tt.hasOwnProperty(w)?d||(d=[]):(d=d||[]).push(w,null));for(w in y){var J=y[w],me=_!=null?_[w]:void 0;if(!(!y.hasOwnProperty(w)||J===me||J==null&&me==null))if(w===Pu)if(J&&Object.freeze(J),me){for(E in me)me.hasOwnProperty(E)&&(!J||!J.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in J)J.hasOwnProperty(E)&&me[E]!==J[E]&&(A||(A={}),A[E]=J[E])}else A||(d||(d=[]),d.push(w,A)),A=J;else if(w===Gp){var ve=J?J[iv]:void 0,Ce=me?me[iv]:void 0;ve!=null&&Ce!==ve&&(d=d||[]).push(w,ve)}else w===Mu?(typeof J=="string"||typeof J=="number")&&(d=d||[]).push(w,""+J):w===ov||w===Ic||(Tt.hasOwnProperty(w)?(J!=null&&(typeof J!="function"&&sv(w,J),w==="onScroll"&&ga("scroll",e)),!d&&me!==J&&(d=[])):(d=d||[]).push(w,J))}return A&&(xP(A,y[Pu]),(d=d||[]).push(Pu,A)),d}function i9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&Xe(e,c);var d=wu(n,i),_=wu(n,c);switch(t9(e,t,d,_),n){case"input":Mt(e,c);break;case"textarea":Vw(e,c);break;case"select":tP(e,c);break}}function l9(e){{var t=e.toLowerCase();return Mm.hasOwnProperty(t)&&Mm[t]||null}}function s9(e,t,n,i,c,d,_){var y,w;switch(y=wu(t,n),lv(t,n),t){case"dialog":ga("cancel",e),ga("close",e);break;case"iframe":case"object":case"embed":ga("load",e);break;case"video":case"audio":for(var E=0;E<qp.length;E++)ga(qp[E],e);break;case"source":ga("error",e);break;case"img":case"image":case"link":ga("error",e),ga("load",e);break;case"details":ga("toggle",e);break;case"input":Ee(e,n),ga("invalid",e);break;case"option":Ea(e,n);break;case"select":jw(e,n),ga("invalid",e);break;case"textarea":Uw(e,n),ga("invalid",e);break}Zg(t,n);{w=new Set;for(var A=e.attributes,Z=0;Z<A.length;Z++){var J=A[Z].name.toLowerCase();switch(J){case"value":break;case"checked":break;case"selected":break;default:w.add(A[Z].name)}}}var me=null;for(var ve in n)if(n.hasOwnProperty(ve)){var Ce=n[ve];if(ve===Mu)typeof Ce=="string"?e.textContent!==Ce&&(n[Ic]!==!0&&uv(e.textContent,Ce,d,_),me=[Mu,Ce]):typeof Ce=="number"&&e.textContent!==""+Ce&&(n[Ic]!==!0&&uv(e.textContent,Ce,d,_),me=[Mu,""+Ce]);else if(Tt.hasOwnProperty(ve))Ce!=null&&(typeof Ce!="function"&&sv(ve,Ce),ve==="onScroll"&&ga("scroll",e));else if(_&&typeof y=="boolean"){var rt=void 0,Rt=y&&Ye?null:P(ve);if(n[Ic]!==!0){if(!(ve===ov||ve===Ic||ve==="value"||ve==="checked"||ve==="selected")){if(ve===Gp){var St=e.innerHTML,pr=Ce?Ce[iv]:void 0;if(pr!=null){var hr=NC(e,pr);hr!==St&&Kp(ve,St,hr)}}else if(ve===Pu){if(w.delete(ve),LC){var ce=wP(Ce);rt=e.getAttribute("style"),ce!==rt&&Kp(ve,rt,ce)}}else if(y&&!Ye)w.delete(ve.toLowerCase()),rt=Qe(e,ve,Ce),Ce!==rt&&Kp(ve,rt,Ce);else if(!vr(ve,Rt,y)&&!$(ve,Ce,Rt,y)){var De=!1;if(Rt!==null)w.delete(Rt.attributeName),rt=Le(e,ve,Ce,Rt);else{var ue=i;if(ue===Is&&(ue=Gg(t)),ue===Is)w.delete(ve.toLowerCase());else{var qe=l9(ve);qe!==null&&qe!==ve&&(De=!0,w.delete(qe)),w.delete(ve)}rt=Qe(e,ve,Ce)}var ct=Ye;!ct&&Ce!==rt&&!De&&Kp(ve,rt,Ce)}}}}}switch(_&&w.size>0&&n[Ic]!==!0&&AC(w),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 me}function c9(e,t,n){var i=e.nodeValue!==t;return i}function u1(e,t){{if(go)return;go=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function f1(e,t){{if(go)return;go=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function d1(e,t,n){{if(go)return;go=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function p1(e,t){{if(t===""||go)return;go=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function u9(e,t,n){switch(t){case"input":Zt(e,n);return;case"textarea":aP(e,n);return;case"select":rP(e,n);return}}var Xp=function(){},Qp=function(){};{var f9=["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"],d9=MC.concat(["button"]),p9=["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=Nt({},e||PC),i={tag:t};return MC.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),d9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),f9.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 h9=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 p9.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},m9=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=h9(e,c)?null:i,_=d?null:m9(e,n),y=d||_;if(y){var w=y.tag,E=!!d+"|"+e+"|"+w;if(!IC[E]){IC[E]=!0;var A=e,Z="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var J="";w==="table"&&e==="tr"&&(J+=" 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,w,Z,J)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,w)}}}}var dv="suppressHydrationWarning",pv="$",hv="/$",Jp="$?",Zp="$!",v9="style",h1=null,m1=null;function _9(e){var t,n,i=e.nodeType;switch(i){case Bs:case Xg:{t=i===Bs?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:Kg(null,"");break}default:{var d=i===Ga?e.parentNode:e,_=d.namespaceURI||null;t=d.tagName,n=Kg(_,t);break}}{var y=t.toLowerCase(),w=Qp(null,y);return{namespace:n,ancestorInfo:w}}}function g9(e,t,n){{var i=e,c=Kg(i.namespace,t),d=Qp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:d}}}function q$(e){return e}function b9(e){h1=vz(),m1=OB();var t=null;return W3(!1),t}function y9(e){MB(m1),W3(h1),h1=null,m1=null}function S9(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,w=Qp(_.ancestorInfo,e);Xp(null,y,w)}d=_.namespace}var E=r9(e,t,n,d);return rh(c,E),C1(E,t),E}function w9(e,t){e.appendChild(t)}function C9(e,t,n,i,c){switch(n9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function x9(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,w=Qp(_.ancestorInfo,t);Xp(null,y,w)}}return o9(e,t,n,i)}function v1(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 k9(e,t,n,i){{var c=n;Xp(null,e,c.ancestorInfo)}var d=a9(e,t);return rh(i,d),d}function T9(){var e=window.event;return e===void 0?qs:q3(e.type)}var _1=typeof setTimeout=="function"?setTimeout:void 0,E9=typeof clearTimeout=="function"?clearTimeout:void 0,g1=-1,zC=typeof Promise=="function"?Promise:void 0,R9=typeof queueMicrotask=="function"?queueMicrotask:typeof zC!="undefined"?function(e){return zC.resolve(null).then(e).catch(D9)}:_1;function D9(e){setTimeout(function(){throw e})}function A9(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 L9(e,t,n,i,c,d){i9(e,t,n,i,c),C1(e,c)}function BC(e){Om(e,"")}function N9(e,t,n){e.nodeValue=n}function O9(e,t){e.appendChild(t)}function M9(e,t){var n;e.nodeType===Ga?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&fv(n)}function P9(e,t,n){e.insertBefore(t,n)}function I9(e,t,n){e.nodeType===Ga?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function z9(e,t){e.removeChild(t)}function B9(e,t){e.nodeType===Ga?e.parentNode.removeChild(t):e.removeChild(t)}function b1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Ga){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 F9(e,t){e.nodeType===Ga?b1(e.parentNode,t):e.nodeType===_o&&b1(e,t),Pp(e)}function j9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function H9(e){e.nodeValue=""}function U9(e,t){e=e;var n=t[v9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Qg("display",i)}function V9(e,t){e.nodeValue=t}function W9(e){e.nodeType===_o?e.textContent="":e.nodeType===Bs&&e.documentElement&&e.removeChild(e.documentElement)}function q9(e,t,n){return e.nodeType!==_o||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Y9(e,t){return t===""||e.nodeType!==zs?null:e}function $9(e){return e.nodeType!==Ga?null:e}function FC(e){return e.data===Jp}function y1(e){return e.data===Zp}function G9(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 K9(e,t){e._reactRetry=t}function mv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===_o||t===zs)break;if(t===Ga){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 X9(e){return mv(e.firstChild)}function Q9(e){return mv(e.firstChild)}function J9(e){return mv(e.nextSibling)}function Z9(e,t,n,i,c,d,_){rh(d,e),C1(e,n);var y;{var w=c;y=w.namespace}var E=(d.mode&br)!==Ot;return s9(e,t,n,y,i,E,_)}function eF(e,t,n,i){rh(n,e);var c=(n.mode&br)!==Ot;return c9(e,t)}function tF(e,t){rh(t,e)}function rF(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ga){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===Ga){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 aF(e){Pp(e)}function nF(e){Pp(e)}function oF(e){return e!=="head"&&e!=="body"}function iF(e,t,n,i){var c=!0;uv(t.nodeValue,n,i,c)}function lF(e,t,n,i,c,d){if(t[dv]!==!0){var _=!0;uv(i.nodeValue,c,d,_)}}function sF(e,t){t.nodeType===_o?u1(e,t):t.nodeType===Ga||f1(e,t)}function cF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===_o?u1(n,t):t.nodeType===Ga||f1(n,t))}}function uF(e,t,n,i,c){(c||t[dv]!==!0)&&(i.nodeType===_o?u1(n,i):i.nodeType===Ga||f1(n,i))}function fF(e,t,n){d1(e,t)}function dF(e,t){p1(e,t)}function pF(e,t,n){{var i=e.parentNode;i!==null&&d1(i,t)}}function hF(e,t){{var n=e.parentNode;n!==null&&p1(n,t)}}function mF(e,t,n,i,c,d){(d||t[dv]!==!0)&&d1(n,i)}function vF(e,t,n,i,c){(c||t[dv]!==!0)&&p1(n,i)}function _F(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function gF(e){Yp(e)}var ed=Math.random().toString(36).slice(2),td="__reactFiber$"+ed,S1="__reactProps$"+ed,th="__reactContainer$"+ed,w1="__reactEvents$"+ed,bF="__reactListeners$"+ed,yF="__reactHandles$"+ed;function SF(e){delete e[td],delete e[S1],delete e[w1],delete e[bF],delete e[yF]}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 Iu(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===C||t.tag===k||t.tag===Q||t.tag===b)?t:null}function rd(e){if(e.tag===C||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function _v(e){return e[S1]||null}function C1(e,t){e[S1]=t}function wF(e){var t=e[w1];return t===void 0&&(t=e[w1]=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 zl(e,t,n,i,c){{var d=Function.call.bind(Lt);for(var _ in e)if(d(e,_)){var y=void 0;try{if(typeof e[_]!="function"){var w=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 w.name="Invariant Violation",w}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 x1=[],bv;bv=[];var Ys=-1;function Bc(e){return{current:e}}function zn(e,t){if(Ys<0){u("Unexpected pop.");return}t!==bv[Ys]&&u("Unexpected Fiber popped."),e.current=x1[Ys],x1[Ys]=null,bv[Ys]=null,Ys--}function Bn(e,t,n){Ys++,x1[Ys]=e.current,bv[Ys]=n,e.current=t}var k1;k1={};var Fo={};Object.freeze(Fo);var $s=Bc(Fo),fs=Bc(!1),T1=Fo;function ad(e,t,n){return n&&ds(t)?T1:$s.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 Fo;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var d={};for(var _ in i)d[_]=t[_];{var y=tr(e)||"Unknown";zl(i,d,"context",y)}return c&&WC(e,t,d),d}}function yv(){return fs.current}function ds(e){{var t=e.childContextTypes;return t!=null}}function Sv(e){zn(fs,e),zn($s,e)}function E1(e){zn(fs,e),zn($s,e)}function qC(e,t,n){{if($s.current!==Fo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bn($s,t,e),Bn(fs,n,e)}}function YC(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=tr(e)||"Unknown";k1[d]||(k1[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((tr(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var w=tr(e)||"Unknown";zl(c,_,"child context",w)}return Nt({},n,_)}}function wv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Fo;return T1=$s.current,Bn($s,n,e),Bn(fs,fs.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,T1);i.__reactInternalMemoizedMergedChildContext=c,zn(fs,e),zn($s,e),Bn($s,c,e),Bn(fs,n,e)}else zn(fs,e),Bn(fs,n,e)}}function CF(e){{if(!oI(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(ds(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,Gs=null,R1=!1,D1=!1;function GC(e){Gs===null?Gs=[e]:Gs.push(e)}function xF(e){R1=!0,GC(e)}function KC(){R1&&jc()}function jc(){if(!D1&&Gs!==null){D1=!0;var e=0,t=Il();try{var n=!0,i=Gs;for(yn(Io);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}Gs=null,R1=!1}catch(d){throw Gs!==null&&(Gs=Gs.slice(e+1)),b3(Fm,jc),d}finally{yn(t),D1=!1}}return null}var od=[],id=0,xv=null,kv=0,vl=[],_l=0,zu=null,Ks=1,Xs="";function kF(e){return Fu(),(e.flags&f3)!==It}function TF(e){return Fu(),kv}function EF(){var e=Xs,t=Ks,n=t&~RF(t);return n.toString(32)+e}function Bu(e,t){Fu(),od[id++]=kv,od[id++]=xv,xv=e,kv=t}function XC(e,t,n){Fu(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=zu,zu=e;var i=Ks,c=Xs,d=Tv(i)-1,_=i&~(1<<d),y=n+1,w=Tv(t)+d;if(w>30){var E=d-d%5,A=(1<<E)-1,Z=(_&A).toString(32),J=_>>E,me=d-E,ve=Tv(t)+me,Ce=y<<me,rt=Ce|J,Rt=Z+c;Ks=1<<ve|rt,Xs=Rt}else{var St=y<<d,pr=St|_,hr=c;Ks=1<<w|pr,Xs=hr}}function A1(e){Fu();var t=e.return;if(t!==null){var n=1,i=0;Bu(e,n),XC(e,n,i)}}function Tv(e){return 32-k3(e)}function RF(e){return 1<<Tv(e)-1}function L1(e){for(;e===xv;)xv=od[--id],od[id]=null,kv=od[--id],od[id]=null;for(;e===zu;)zu=vl[--_l],vl[_l]=null,Xs=vl[--_l],vl[_l]=null,Ks=vl[--_l],vl[_l]=null}function DF(){return Fu(),zu!==null?{id:Ks,overflow:Xs}:null}function AF(e,t){Fu(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=zu,Ks=t.id,Xs=t.overflow,zu=e}function Fu(){Tn()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var kn=null,gl=null,Bl=!1,ju=!1,Hc=null;function LF(){Bl&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function QC(){ju=!0}function NF(){return ju}function OF(e){var t=e.stateNode.containerInfo;return gl=Q9(t),kn=e,Bl=!0,Hc=null,ju=!1,!0}function MF(e,t,n){return gl=J9(t),kn=e,Bl=!0,Hc=null,ju=!1,n!==null&&AF(e,n),!0}function JC(e,t){switch(e.tag){case b:{sF(e.stateNode.containerInfo,t);break}case C:{var n=(e.mode&br)!==Ot;uF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Q:{var i=e.memoizedState;i.dehydrated!==null&&cF(i.dehydrated,t);break}}}function ZC(e,t){JC(e,t);var n=VU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=Cu):i.push(n)}function N1(e,t){{if(ju)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case C:var i=t.type,c=t.pendingProps;fF(n,i);break;case k:var d=t.pendingProps;dF(n,d);break}break}case C:{var _=e.type,y=e.memoizedProps,w=e.stateNode;switch(t.tag){case C:{var E=t.type,A=t.pendingProps,Z=(e.mode&br)!==Ot;mF(_,y,w,E,A,Z);break}case k:{var J=t.pendingProps,me=(e.mode&br)!==Ot;vF(_,y,w,J,me);break}}break}case Q:{var ve=e.memoizedState,Ce=ve.dehydrated;if(Ce!==null)switch(t.tag){case C:var rt=t.type,Rt=t.pendingProps;pF(Ce,rt);break;case k:var St=t.pendingProps;hF(Ce,St);break}break}default:return}}}function ex(e,t){t.flags=t.flags&~js|Ka,N1(e,t)}function tx(e,t){switch(e.tag){case C:{var n=e.type,i=e.pendingProps,c=q9(t,n);return c!==null?(e.stateNode=c,kn=e,gl=X9(c),!0):!1}case k:{var d=e.pendingProps,_=Y9(t,d);return _!==null?(e.stateNode=_,kn=e,gl=null,!0):!1}case Q:{var y=$9(t);if(y!==null){var w={dehydrated:y,treeContext:DF(),retryLane:Mo};e.memoizedState=w;var E=WU(y);return E.return=e,e.child=E,kn=e,gl=null,!0}return!1}default:return!1}}function O1(e){return(e.mode&br)!==Ot&&(e.flags&Pr)===It}function M1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function P1(e){if(Bl){var t=gl;if(!t){O1(e)&&(N1(kn,e),M1()),ex(kn,e),Bl=!1,kn=e;return}var n=t;if(!tx(e,t)){O1(e)&&(N1(kn,e),M1()),t=eh(n);var i=kn;if(!t||!tx(e,t)){ex(kn,e),Bl=!1,kn=e;return}ZC(i,n)}}}function PF(e,t,n){var i=e.stateNode,c=!ju,d=Z9(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=d,d!==null}function IF(e){var t=e.stateNode,n=e.memoizedProps,i=eF(t,n,e);if(i){var c=kn;if(c!==null)switch(c.tag){case b:{var d=c.stateNode.containerInfo,_=(c.mode&br)!==Ot;iF(d,t,n,_);break}case C:{var y=c.type,w=c.memoizedProps,E=c.stateNode,A=(c.mode&br)!==Ot;lF(y,w,E,t,n,A);break}}}return i}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.");tF(n,e)}function BF(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 rF(n)}function rx(e){for(var t=e.return;t!==null&&t.tag!==C&&t.tag!==b&&t.tag!==Q;)t=t.return;kn=t}function Ev(e){if(e!==kn)return!1;if(!Bl)return rx(e),Bl=!0,!1;if(e.tag!==b&&(e.tag!==C||oF(e.type)&&!v1(e.type,e.memoizedProps))){var t=gl;if(t)if(O1(e))ax(e),M1();else for(;t;)ZC(e,t),t=eh(t)}return rx(e),e.tag===Q?gl=BF(e):gl=kn?eh(e.stateNode):null,!0}function FF(){return Bl&&gl!==null}function ax(e){for(var t=gl;t;)JC(e,t),t=eh(t)}function ld(){kn=null,gl=null,Bl=!1,ju=!1}function nx(){Hc!==null&&(J4(Hc),Hc=null)}function Tn(){return Bl}function I1(e){Hc===null?Hc=[e]:Hc.push(e)}var jF=o.ReactCurrentBatchConfig,HF=null;function UF(){return jF.transition}var Fl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var VF=function(e){for(var t=null,n=e;n!==null;)n.mode&Ma&&(t=n),n=n.return;return t},Hu=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},nh=[],oh=[],ih=[],lh=[],sh=[],ch=[],Uu=new Set;Fl.recordUnsafeLifecycleWarnings=function(e,t){Uu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&nh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&oh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ih.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&lh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&sh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&ch.push(e))},Fl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;nh.length>0&&(nh.forEach(function(J){e.add(tr(J)||"Component"),Uu.add(J.type)}),nh=[]);var t=new Set;oh.length>0&&(oh.forEach(function(J){t.add(tr(J)||"Component"),Uu.add(J.type)}),oh=[]);var n=new Set;ih.length>0&&(ih.forEach(function(J){n.add(tr(J)||"Component"),Uu.add(J.type)}),ih=[]);var i=new Set;lh.length>0&&(lh.forEach(function(J){i.add(tr(J)||"Component"),Uu.add(J.type)}),lh=[]);var c=new Set;sh.length>0&&(sh.forEach(function(J){c.add(tr(J)||"Component"),Uu.add(J.type)}),sh=[]);var d=new Set;if(ch.length>0&&(ch.forEach(function(J){d.add(tr(J)||"Component"),Uu.add(J.type)}),ch=[]),t.size>0){var _=Hu(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 pp=["value","defaultValue"];function Yg(e){{up("select",e);for(var t=0;t<pp.length;t++){var n=pp[t];if(e[n]!=null){var i=rn(e[n]);e.multiple&&!i?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Nm()):!e.multiple&&i&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Nm())}}}}function Ps(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=vo(Ml(n)),Z=null,J=0;J<c.length;J++){if(c[J].value===A){c[J].selected=!0,i&&(c[J].defaultSelected=!0);return}Z===null&&!c[J].disabled&&(Z=c[J])}Z!==null&&(Z.selected=!0)}}function hp(e,t){return Nt({},t,{value:void 0})}function jw(e,t){var n=e;Yg(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!If&&(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"),If=!0)}function eP(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Ps(n,!!t.multiple,i,!1):t.defaultValue!=null&&Ps(n,!!t.multiple,t.defaultValue,!0)}function tP(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?Ps(n,!!t.multiple,c,!1):i!==!!t.multiple&&(t.defaultValue!=null?Ps(n,!!t.multiple,t.defaultValue,!0):Ps(n,!!t.multiple,t.multiple?[]:"",!1))}function rP(e,t){var n=e,i=t.value;i!=null&&Ps(n,!!t.multiple,i,!1)}var Hw=!1;function $g(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Nt({},t,{value:void 0,defaultValue:void 0,children:vo(n._wrapperState.initialValue)});return i}function Uw(e,t){var n=e;up("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(rn(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:Ml(i)}}function Vw(e,t){var n=e,i=Ml(t.value),c=Ml(t.defaultValue);if(i!=null){var d=vo(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}c!=null&&(n.defaultValue=vo(c))}function Ww(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function aP(e,t){Vw(e,t)}var Is="http://www.w3.org/1999/xhtml",nP="http://www.w3.org/1998/Math/MathML",Gg="http://www.w3.org/2000/svg";function Kg(e){switch(e){case"svg":return Gg;case"math":return nP;default:return Is}}function Xg(e,t){return e==null||e===Is?Kg(t):e===Gg&&t==="foreignObject"?Is:e}var oP=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,c){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,c)})}:e},Om,qw=oP(function(e,t){if(e.namespaceURI===Gg&&!("innerHTML"in e)){Om=Om||document.createElement("div"),Om.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Om.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),_o=1,zs=3,Ka=8,Bs=9,Qg=11,Mm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===zs){n.nodeValue=t;return}}e.textContent=t},iP={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"]},mp={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 lP(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var sP=["Webkit","ms","Moz","O"];Object.keys(mp).forEach(function(e){sP.forEach(function(t){mp[lP(t,e)]=mp[e]})});function Jg(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(mp.hasOwnProperty(e)&&mp[e])?t+"px":(jr(t,e),(""+t).trim())}var cP=/([A-Z])/g,uP=/^ms-/;function fP(e){return e.replace(cP,"-$1").toLowerCase().replace(uP,"-ms-")}var Yw=function(){};{var dP=/^(?:webkit|moz|o)[A-Z]/,pP=/^-ms-/,hP=/-(.)/g,$w=/;\s*$/,zf={},Zg={},Gw=!1,Kw=!1,mP=function(e){return e.replace(hP,function(t,n){return n.toUpperCase()})},vP=function(e){zf.hasOwnProperty(e)&&zf[e]||(zf[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,mP(e.replace(pP,"ms-"))))},_P=function(e){zf.hasOwnProperty(e)&&zf[e]||(zf[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},gP=function(e,t){Zg.hasOwnProperty(t)&&Zg[t]||(Zg[t]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace($w,"")))},bP=function(e,t){Gw||(Gw=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))},yP=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?vP(e):dP.test(e)?_P(e):$w.test(t)&&gP(e,t),typeof t=="number"&&(isNaN(t)?bP(e,t):isFinite(t)||yP(e,t))}}var SP=Yw;function wP(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:fP(i))+":",t+=Jg(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||SP(i,t[i]);var d=Jg(i,t[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,d):n[i]=d}}function CP(e){return e==null||typeof e=="boolean"||e===""}function Qw(e){var t={};for(var n in e)for(var i=iP[n]||[n],c=0;c<i.length;c++)t[i[c]]=n;return t}function xP(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.",CP(e[_])?"Removing":"Updating",_,y)}}}}var kP={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},TP=Nt({menuitem:!0},kP),EP="__html";function eb(e,t){if(t){if(TP[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"||!(EP 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 Pm={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},Bf={},RP=new RegExp("^(aria)-["+st+"]*$"),DP=new RegExp("^(aria)[A-Z]["+st+"]*$");function AP(e,t){{if(Lt.call(Bf,t)&&Bf[t])return!0;if(DP.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),Bf[t]=!0,!0;if(t!==i)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Bf[t]=!0,!0}if(RP.test(t)){var c=t.toLowerCase(),d=Jw.hasOwnProperty(c)?c:null;if(d==null)return Bf[t]=!0,!1;if(t!==d)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),Bf[t]=!0,!0}}return!0}function LP(e,t){{var n=[];for(var i in t){var c=AP(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 NP(e,t){Cu(e,t)||LP(e,t)}var Zw=!1;function OP(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./,MP=/^on[^A-Z]/,PP=new RegExp("^(aria)-["+st+"]*$"),IP=new RegExp("^(aria)[A-Z]["+st+"]*$");e3=function(e,t,n,i){if(Lt.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 MP.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),$n[t]=!0,!0;if(PP.test(t)||IP.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===dr;if(Pm.hasOwnProperty(c)){var A=Pm[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===xr&&(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 zP=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 BP(e,t,n){Cu(e,t)||zP(e,t,n)}var r3=1,tb=2,vp=4,FP=r3|tb|vp,_p=null;function jP(e){_p!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),_p=e}function HP(){_p===null&&u("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),_p=null}function UP(e){return e===_p}function rb(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===zs?t.parentNode:t}var ab=null,Ff=null,jf=null;function a3(e){var t=zc(e);if(t){if(typeof ab!="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=gv(n);ab(t.stateNode,t.type,i)}}}function VP(e){ab=e}function n3(e){Ff?jf?jf.push(e):jf=[e]:Ff=e}function WP(){return Ff!==null||jf!==null}function o3(){if(Ff){var e=Ff,t=jf;if(Ff=null,jf=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(){},nb=!1;function qP(){var e=WP();e&&(l3(),o3())}function s3(e,t,n){if(nb)return e(t,n);nb=!0;try{return i3(e,t,n)}finally{nb=!1,qP()}}function YP(e,t,n){i3=e,l3=n}function $P(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function GP(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&&$P(t));default:return!1}}function gp(e,t){var n=e.stateNode;if(n===null)return null;var i=gv(n);if(i===null)return null;var c=i[t];if(GP(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 ob=!1;if(pt)try{var bp={};Object.defineProperty(bp,"passive",{get:function(){ob=!0}}),window.addEventListener("test",bp,bp),window.removeEventListener("test",bp,bp)}catch(e){ob=!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 ib=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"),Z=!1,J=!0,me=window.event,ve=Object.getOwnPropertyDescriptor(window,"event");function Ce(){ib.removeEventListener(De,Rt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=me)}var rt=Array.prototype.slice.call(arguments,3);function Rt(){Z=!0,Ce(),n.apply(i,rt),J=!1}var St,pr=!1,hr=!1;function ce(ue){if(St=ue.error,pr=!0,St===null&&ue.colno===0&&ue.lineno===0&&(hr=!0),ue.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(qe){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ce),ib.addEventListener(De,Rt,!1),A.initEvent(De,!1,!1),ib.dispatchEvent(A),ve&&Object.defineProperty(window,"event",ve),Z&&J&&(pr?hr&&(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",ce),!Z)return Ce(),c3.apply(this,arguments)}}var KP=u3,Hf=!1,Im=null,zm=!1,lb=null,XP={onError:function(e){Hf=!0,Im=e}};function sb(e,t,n,i,c,d,_,y,C){Hf=!1,Im=null,KP.apply(XP,arguments)}function QP(e,t,n,i,c,d,_,y,C){if(sb.apply(this,arguments),Hf){var E=cb();zm||(zm=!0,lb=E)}}function JP(){if(zm){var e=lb;throw zm=!1,lb=null,e}}function ZP(){return Hf}function cb(){if(Hf){var e=Im;return Hf=!1,Im=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 Uf(e){return e._reactInternals}function eI(e){return e._reactInternals!==void 0}function tI(e,t){e._reactInternals=t}var It=0,Vf=1,Xa=2,Tr=4,xu=16,yp=32,ub=64,Pr=128,Fs=256,Ac=512,ku=1024,Pl=2048,js=4096,Tu=8192,Bm=16384,rI=Pl|Tr|ub|Ac|ku|Bm,aI=32767,Sp=32768,Gn=65536,fb=131072,f3=1048576,db=2097152,Eu=4194304,pb=8388608,Hs=16777216,Fm=33554432,hb=Tr|ku|0,mb=Xa|Tr|xu|yp|Ac|js|Tu,wp=Tr|ub|Ac|Tu,Wf=Pl|xu,Us=Eu|pb|db,nI=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&(Xa|js))!==It&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function d3(e){if(e.tag===Q){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 oI(e){return Ru(e)===e}function iI(e){{var t=nI.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=Uf(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 lI(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,sI=a.unstable_cancelCallback,cI=a.unstable_shouldYield,uI=a.unstable_requestPaint,_n=a.unstable_now,fI=a.unstable_getCurrentPriorityLevel,jm=a.unstable_ImmediatePriority,vb=a.unstable_UserBlockingPriority,Du=a.unstable_NormalPriority,dI=a.unstable_LowPriority,_b=a.unstable_IdlePriority,pI=a.unstable_yieldValue,hI=a.unstable_setDisableYieldValue,Au=null,xn=null,ot=null,cs=!1,Il=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function mI(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{Pe&&(e=Nt({},e,{getLaneLabelMap:SI,injectProfilingHooks:yI})),Au=t.inject(e),xn=t}catch(n){u("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function vI(e,t){if(xn&&typeof xn.onScheduleFiberRoot=="function")try{xn.onScheduleFiberRoot(Au,e,t)}catch(n){cs||(cs=!0,u("React instrumentation encountered an error: %s",n))}}function _I(e,t){if(xn&&typeof xn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(et){var i;switch(t){case Io:i=jm;break;case Ws:i=vb;break;case qs:i=Du;break;case $m:i=_b;break;default:i=Du;break}xn.onCommitFiberRoot(Au,e,i,n)}else xn.onCommitFiberRoot(Au,e,void 0,n)}catch(c){cs||(cs=!0,u("React instrumentation encountered an error: %s",c))}}function gI(e){if(xn&&typeof xn.onPostCommitFiberRoot=="function")try{xn.onPostCommitFiberRoot(Au,e)}catch(t){cs||(cs=!0,u("React instrumentation encountered an error: %s",t))}}function bI(e){if(xn&&typeof xn.onCommitFiberUnmount=="function")try{xn.onCommitFiberUnmount(Au,e)}catch(t){cs||(cs=!0,u("React instrumentation encountered an error: %s",t))}}function gn(e){if(typeof pI=="function"&&(hI(e),s(e)),xn&&typeof xn.setStrictMode=="function")try{xn.setStrictMode(Au,e)}catch(t){cs||(cs=!0,u("React instrumentation encountered an error: %s",t))}}function yI(e){ot=e}function SI(){{for(var e=new Map,t=1,n=0;n<bb;n++){var i=HI(t);e.set(t,i),t*=2}return e}}function wI(e){ot!==null&&typeof ot.markCommitStarted=="function"&&ot.markCommitStarted(e)}function y3(){ot!==null&&typeof ot.markCommitStopped=="function"&&ot.markCommitStopped()}function Cp(e){ot!==null&&typeof ot.markComponentRenderStarted=="function"&&ot.markComponentRenderStarted(e)}function qf(){ot!==null&&typeof ot.markComponentRenderStopped=="function"&&ot.markComponentRenderStopped()}function CI(e){ot!==null&&typeof ot.markComponentPassiveEffectMountStarted=="function"&&ot.markComponentPassiveEffectMountStarted(e)}function xI(){ot!==null&&typeof ot.markComponentPassiveEffectMountStopped=="function"&&ot.markComponentPassiveEffectMountStopped()}function kI(e){ot!==null&&typeof ot.markComponentPassiveEffectUnmountStarted=="function"&&ot.markComponentPassiveEffectUnmountStarted(e)}function TI(){ot!==null&&typeof ot.markComponentPassiveEffectUnmountStopped=="function"&&ot.markComponentPassiveEffectUnmountStopped()}function EI(e){ot!==null&&typeof ot.markComponentLayoutEffectMountStarted=="function"&&ot.markComponentLayoutEffectMountStarted(e)}function RI(){ot!==null&&typeof ot.markComponentLayoutEffectMountStopped=="function"&&ot.markComponentLayoutEffectMountStopped()}function S3(e){ot!==null&&typeof ot.markComponentLayoutEffectUnmountStarted=="function"&&ot.markComponentLayoutEffectUnmountStarted(e)}function w3(){ot!==null&&typeof ot.markComponentLayoutEffectUnmountStopped=="function"&&ot.markComponentLayoutEffectUnmountStopped()}function DI(e,t,n){ot!==null&&typeof ot.markComponentErrored=="function"&&ot.markComponentErrored(e,t,n)}function AI(e,t,n){ot!==null&&typeof ot.markComponentSuspended=="function"&&ot.markComponentSuspended(e,t,n)}function LI(e){ot!==null&&typeof ot.markLayoutEffectsStarted=="function"&&ot.markLayoutEffectsStarted(e)}function NI(){ot!==null&&typeof ot.markLayoutEffectsStopped=="function"&&ot.markLayoutEffectsStopped()}function OI(e){ot!==null&&typeof ot.markPassiveEffectsStarted=="function"&&ot.markPassiveEffectsStarted(e)}function MI(){ot!==null&&typeof ot.markPassiveEffectsStopped=="function"&&ot.markPassiveEffectsStopped()}function C3(e){ot!==null&&typeof ot.markRenderStarted=="function"&&ot.markRenderStarted(e)}function PI(){ot!==null&&typeof ot.markRenderYielded=="function"&&ot.markRenderYielded()}function x3(){ot!==null&&typeof ot.markRenderStopped=="function"&&ot.markRenderStopped()}function II(e){ot!==null&&typeof ot.markRenderScheduled=="function"&&ot.markRenderScheduled(e)}function zI(e,t){ot!==null&&typeof ot.markForceUpdateScheduled=="function"&&ot.markForceUpdateScheduled(e,t)}function gb(e,t){ot!==null&&typeof ot.markStateUpdateScheduled=="function"&&ot.markStateUpdateScheduled(e,t)}var Ot=0,br=1,Kr=2,Ma=8,us=16,k3=Math.clz32?Math.clz32:jI,BI=Math.log,FI=Math.LN2;function jI(e){var t=e>>>0;return t===0?32:31-(BI(t)/FI|0)|0}var bb=31,ze=0,bn=0,qt=1,Yf=2,Vs=4,Lu=8,fs=16,xp=32,$f=4194240,kp=64,yb=128,Sb=256,wb=512,Cb=1024,xb=2048,kb=4096,Tb=8192,Eb=16384,Rb=32768,Db=65536,Ab=131072,Lb=262144,Nb=524288,Ob=1048576,Mb=2097152,Hm=130023424,Gf=4194304,Pb=8388608,Ib=16777216,zb=33554432,Bb=67108864,T3=Gf,Tp=134217728,E3=268435455,Ep=268435456,Nu=536870912,Mo=1073741824;function HI(e){{if(e&qt)return"Sync";if(e&Yf)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Lu)return"DefaultHydration";if(e&fs)return"Default";if(e&xp)return"TransitionHydration";if(e&$f)return"Transition";if(e&Hm)return"Retry";if(e&Tp)return"SelectiveHydration";if(e&Ep)return"IdleHydration";if(e&Nu)return"Idle";if(e&Mo)return"Offscreen"}}var ma=-1,Um=kp,Vm=Gf;function Rp(e){switch(Ou(e)){case qt:return qt;case Yf:return Yf;case Vs:return Vs;case Lu:return Lu;case fs:return fs;case xp:return xp;case kp:case yb: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:return e&$f;case Gf:case Pb:case Ib:case zb:case Bb:return e&Hm;case Tp:return Tp;case Ep:return Ep;case Nu:return Nu;case Mo:return Mo;default:return u("Should have found matching lanes. This is a bug in React."),e}}function Wm(e,t){var n=e.pendingLanes;if(n===ze)return ze;var i=ze,c=e.suspendedLanes,d=e.pingedLanes,_=n&E3;if(_!==ze){var y=_&~c;if(y!==ze)i=Rp(y);else{var C=_&d;C!==ze&&(i=Rp(C))}}else{var E=n&~c;E!==ze?i=Rp(E):d!==ze&&(i=Rp(d))}if(i===ze)return ze;if(t!==ze&&t!==i&&(t&c)===ze){var A=Ou(i),Z=Ou(t);if(A>=Z||A===fs&&(Z&$f)!==ze)return t}(i&Vs)!==ze&&(i|=n&fs);var J=e.entangledLanes;if(J!==ze)for(var me=e.entanglements,ve=i&J;ve>0;){var Ce=Mu(ve),rt=1<<Ce;i|=me[Ce],ve&=~rt}return i}function UI(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 VI(e,t){switch(e){case qt:case Yf:case Vs:return t+250;case Lu:case fs:case xp:case kp:case yb: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:return t+5e3;case Gf:case Pb:case Ib:case zb:case Bb:return ma;case Tp:case Ep:case Nu:case Mo:return ma;default:return u("Should have found matching lanes. This is a bug in React."),ma}}function WI(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)===ze||(C&c)!==ze)&&(d[y]=VI(C,t)):E<=t&&(e.expiredLanes|=C),_&=~C}}function qI(e){return Rp(e.pendingLanes)}function Fb(e){var t=e.pendingLanes&~Mo;return t!==ze?t:t&Mo?Mo:ze}function YI(e){return(e&qt)!==ze}function jb(e){return(e&E3)!==ze}function R3(e){return(e&Hm)===e}function $I(e){var t=qt|Vs|fs;return(e&t)===ze}function GI(e){return(e&$f)===e}function qm(e,t){var n=Yf|Vs|Lu|fs;return(t&n)!==ze}function KI(e,t){return(t&e.expiredLanes)!==ze}function D3(e){return(e&$f)!==ze}function A3(){var e=Um;return Um<<=1,(Um&$f)===ze&&(Um=kp),e}function XI(){var e=Vm;return Vm<<=1,(Vm&Hm)===ze&&(Vm=Gf),e}function Ou(e){return e&-e}function Dp(e){return Ou(e)}function Mu(e){return 31-k3(e)}function Hb(e){return Mu(e)}function Po(e,t){return(e&t)!==ze}function Kf(e,t){return(e&t)===t}function ir(e,t){return e|t}function Ym(e,t){return e&~t}function L3(e,t){return e&t}function W$(e){return e}function QI(e,t){return e!==bn&&e<t?e:t}function Ub(e){for(var t=[],n=0;n<bb;n++)t.push(e);return t}function Ap(e,t,n){e.pendingLanes|=t,t!==Nu&&(e.suspendedLanes=ze,e.pingedLanes=ze);var i=e.eventTimes,c=Hb(t);i[c]=n}function JI(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 ZI(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ze,e.pingedLanes=ze,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]=ze,c[y]=ma,d[y]=ma,_&=~C}}function Vb(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 ez(e,t){var n=Ou(t),i;switch(n){case Vs:i=Yf;break;case fs:i=Lu;break;case kp:case yb: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 Gf:case Pb:case Ib:case zb:case Bb:i=xp;break;case Nu:i=Ep;break;default:i=bn;break}return(i&(e.suspendedLanes|t))!==bn?bn:i}function O3(e,t,n){if(Il)for(var i=e.pendingUpdatersLaneMap;n>0;){var c=Hb(n),d=1<<c,_=i[c];_.add(t),n&=~d}}function M3(e,t){if(Il)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var c=Hb(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 Io=qt,Ws=Vs,qs=fs,$m=Nu,Lp=bn;function zl(){return Lp}function yn(e){Lp=e}function tz(e,t){var n=Lp;try{return Lp=e,t()}finally{Lp=n}}function rz(e,t){return e!==0&&e<t?e:t}function az(e,t){return e===0||e>t?e:t}function Wb(e,t){return e!==0&&e<t}function I3(e){var t=Ou(e);return Wb(Io,t)?Wb(Ws,t)?jb(t)?qs:$m:Ws:Io}function Gm(e){var t=e.current.memoizedState;return t.isDehydrated}var z3;function nz(e){z3=e}function oz(e){z3(e)}var qb;function iz(e){qb=e}var B3;function lz(e){B3=e}var F3;function sz(e){F3=e}var j3;function cz(e){j3=e}var Yb=!1,Km=[],Lc=null,Nc=null,Oc=null,Np=new Map,Op=new Map,Mc=[],uz=["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 fz(e){return uz.indexOf(e)>-1}function dz(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;Np.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Op.delete(i);break}}}function Mp(e,t,n,i,c,d){if(e===null||e.nativeEvent!==d){var _=dz(t,n,i,c,d);if(t!==null){var y=zc(t);y!==null&&qb(y)}return _}e.eventSystemFlags|=i;var C=e.targetContainers;return c!==null&&C.indexOf(c)===-1&&C.push(c),e}function pz(e,t,n,i,c){switch(t){case"focusin":{var d=c;return Lc=Mp(Lc,e,t,n,i,d),!0}case"dragenter":{var _=c;return Nc=Mp(Nc,e,t,n,i,_),!0}case"mouseover":{var y=c;return Oc=Mp(Oc,e,t,n,i,y),!0}case"pointerover":{var C=c,E=C.pointerId;return Np.set(E,Mp(Np.get(E)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var A=c,Z=A.pointerId;return Op.set(Z,Mp(Op.get(Z)||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===Q){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(Gm(d)){e.blockedOn=p3(n);return}}}}e.blockedOn=null}function hz(e){for(var t=F3(),n={blockedOn:null,target:e,priority:t},i=0;i<Mc.length&&Wb(t,Mc[i].priority);i++);Mc.splice(i,0,n),i===0&&U3(n)}function Xm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=Kb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var c=e.nativeEvent,d=new c.constructor(c.type,c);jP(d),c.target.dispatchEvent(d),HP()}else{var _=zc(i);return _!==null&&qb(_),e.blockedOn=i,!1}t.shift()}return!0}function V3(e,t,n){Xm(e)&&n.delete(t)}function mz(){Yb=!1,Lc!==null&&Xm(Lc)&&(Lc=null),Nc!==null&&Xm(Nc)&&(Nc=null),Oc!==null&&Xm(Oc)&&(Oc=null),Np.forEach(V3),Op.forEach(V3)}function Pp(e,t){e.blockedOn===t&&(e.blockedOn=null,Yb||(Yb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,mz)))}function Ip(e){if(Km.length>0){Pp(Km[0],e);for(var t=1;t<Km.length;t++){var n=Km[t];n.blockedOn===e&&(n.blockedOn=null)}}Lc!==null&&Pp(Lc,e),Nc!==null&&Pp(Nc,e),Oc!==null&&Pp(Oc,e);var i=function(y){return Pp(y,e)};Np.forEach(i),Op.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 Xf=o.ReactCurrentBatchConfig,$b=!0;function W3(e){$b=!!e}function vz(){return $b}function _z(e,t,n){var i=q3(t),c;switch(i){case Io:c=gz;break;case Ws:c=bz;break;case qs:default:c=Gb;break}return c.bind(null,t,n,e)}function gz(e,t,n,i){var c=zl(),d=Xf.transition;Xf.transition=null;try{yn(Io),Gb(e,t,n,i)}finally{yn(c),Xf.transition=d}}function bz(e,t,n,i){var c=zl(),d=Xf.transition;Xf.transition=null;try{yn(Ws),Gb(e,t,n,i)}finally{yn(c),Xf.transition=d}}function Gb(e,t,n,i){$b&&yz(e,t,n,i)}function yz(e,t,n,i){var c=Kb(e,t,n,i);if(c===null){c1(e,t,i,Qm,n),H3(e,i);return}if(pz(c,e,t,n,i)){i.stopPropagation();return}if(H3(e,i),t&vp&&fz(e)){for(;c!==null;){var d=zc(c);d!==null&&oz(d);var _=Kb(e,t,n,i);if(_===null&&c1(e,t,i,Qm,n),_===c)break;c=_}c!==null&&i.stopPropagation();return}c1(e,t,i,null,n)}var Qm=null;function Kb(e,t,n,i){Qm=null;var c=rb(i),d=zu(c);if(d!==null){var _=Ru(d);if(_===null)d=null;else{var y=_.tag;if(y===Q){var C=d3(_);if(C!==null)return C;d=null}else if(y===b){var E=_.stateNode;if(Gm(E))return p3(_);d=null}else _!==d&&(d=null)}}return Qm=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 Io;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 Ws;case"message":{var t=fI();switch(t){case jm:return Io;case vb:return Ws;case Du:case dI:return qs;case _b:return $m;default:return qs}}default:return qs}}function Sz(e,t,n){return e.addEventListener(t,n,!1),n}function wz(e,t,n){return e.addEventListener(t,n,!0),n}function Cz(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function xz(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var zp=null,Xb=null,Bp=null;function kz(e){return zp=e,Xb=$3(),!0}function Tz(){zp=null,Xb=null,Bp=null}function Y3(){if(Bp)return Bp;var e,t=Xb,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 Bp=c.slice(e,y),Bp}function $3(){return"value"in zp?zp.value:zp.textContent}function Jm(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 Zm(){return!0}function G3(){return!1}function zo(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=Zm:this.isDefaultPrevented=G3,this.isPropagationStopped=G3,this}return Nt(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=Zm)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Zm)},persist:function(){},isPersistent:Zm}),t}var Qf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qb=zo(Qf),Fp=Nt({},Qf,{view:0,detail:0}),Ez=zo(Fp),Jb,Zb,jp;function Rz(e){e!==jp&&(jp&&e.type==="mousemove"?(Jb=e.screenX-jp.screenX,Zb=e.screenY-jp.screenY):(Jb=0,Zb=0),jp=e)}var ev=Nt({},Fp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t1,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:(Rz(e),Jb)},movementY:function(e){return"movementY"in e?e.movementY:Zb}}),K3=zo(ev),Dz=Nt({},ev,{dataTransfer:0}),Az=zo(Dz),Lz=Nt({},Fp,{relatedTarget:0}),e1=zo(Lz),Nz=Nt({},Qf,{animationName:0,elapsedTime:0,pseudoElement:0}),Oz=zo(Nz),Mz=Nt({},Qf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pz=zo(Mz),Iz=Nt({},Qf,{data:0}),X3=zo(Iz),zz=X3,Bz={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fz={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 jz(e){if(e.key){var t=Bz[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Jm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?Fz[e.keyCode]||"Unidentified":""}var Hz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Uz(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=Hz[e];return i?!!n[i]:!1}function t1(e){return Uz}var Vz=Nt({},Fp,{key:jz,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t1,charCode:function(e){return e.type==="keypress"?Jm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Jm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Wz=zo(Vz),qz=Nt({},ev,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Q3=zo(qz),Yz=Nt({},Fp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t1}),$z=zo(Yz),Gz=Nt({},Qf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kz=zo(Gz),Xz=Nt({},ev,{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}),Qz=zo(Xz),Jz=[9,13,27,32],J3=229,r1=pt&&"CompositionEvent"in window,Hp=null;pt&&"documentMode"in document&&(Hp=document.documentMode);var Zz=pt&&"TextEvent"in window&&!Hp,Z3=pt&&(!r1||Hp&&Hp>8&&Hp<=11),eC=32,tC=String.fromCharCode(eC);function eB(){Ze("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ze("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var rC=!1;function tB(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function rB(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function aB(e,t){return e==="keydown"&&t.keyCode===J3}function aC(e,t){switch(e){case"keyup":return Jz.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 Jf=!1;function nB(e,t,n,i,c){var d,_;if(r1?d=rB(t):Jf?aC(t,i)&&(d="onCompositionEnd"):aB(t,i)&&(d="onCompositionStart"),!d)return null;Z3&&!oC(i)&&(!Jf&&d==="onCompositionStart"?Jf=kz(c):d==="onCompositionEnd"&&Jf&&(_=Y3()));var y=ov(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 oB(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 iB(e,t){if(Jf){if(e==="compositionend"||!r1&&aC(e,t)){var n=Y3();return Tz(),Jf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!tB(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 lB(e,t,n,i,c){var d;if(Zz?d=oB(t,i):d=iB(t,i),!d)return null;var _=ov(n,"onBeforeInput");if(_.length>0){var y=new zz("onBeforeInput","beforeinput",null,i,c);e.push({event:y,listeners:_}),y.data=d}}function sB(e,t,n,i,c,d,_){nB(e,t,n,i,c),lB(e,t,n,i,c)}var cB={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"?!!cB[e.type]:t==="textarea"}function uB(e){if(!pt)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 fB(){Ze("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function lC(e,t,n,i){n3(i);var c=ov(t,"onChange");if(c.length>0){var d=new Qb("onChange","change",null,n,i);e.push({event:d,listeners:c})}}var Up=null,Vp=null;function dB(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function pB(e){var t=[];lC(t,Vp,e,rb(e)),s3(hB,t)}function hB(e){kC(e,0)}function tv(e){var t=nd(e);if(Of(t))return e}function mB(e,t){if(e==="change")return t}var sC=!1;pt&&(sC=uB("input")&&(!document.documentMode||document.documentMode>9));function vB(e,t){Up=e,Vp=t,Up.attachEvent("onpropertychange",uC)}function cC(){Up&&(Up.detachEvent("onpropertychange",uC),Up=null,Vp=null)}function uC(e){e.propertyName==="value"&&tv(Vp)&&pB(e)}function _B(e,t,n){e==="focusin"?(cC(),vB(t,n)):e==="focusout"&&cC()}function gB(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return tv(Vp)}function bB(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function yB(e,t){if(e==="click")return tv(t)}function SB(e,t){if(e==="input"||e==="change")return tv(t)}function wB(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function CB(e,t,n,i,c,d,_){var y=n?nd(n):window,C,E;if(dB(y)?C=mB:iC(y)?sC?C=SB:(C=gB,E=_B):bB(y)&&(C=yB),C){var A=C(t,n);if(A){lC(e,A,i,c);return}}E&&E(t,y,n),t==="focusout"&&wB(y)}function xB(){Te("onMouseEnter",["mouseout","mouseover"]),Te("onMouseLeave",["mouseout","mouseover"]),Te("onPointerEnter",["pointerout","pointerover"]),Te("onPointerLeave",["pointerout","pointerover"])}function kB(e,t,n,i,c,d,_){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!UP(i)){var E=i.relatedTarget||i.fromElement;if(E&&(zu(E)||nh(E)))return}if(!(!C&&!y)){var A;if(c.window===c)A=c;else{var Z=c.ownerDocument;Z?A=Z.defaultView||Z.parentWindow:A=window}var J,me;if(C){var ve=i.relatedTarget||i.toElement;if(J=n,me=ve?zu(ve):null,me!==null){var Ce=Ru(me);(me!==Ce||me.tag!==w&&me.tag!==k)&&(me=null)}}else J=null,me=n;if(J!==me){var rt=K3,Rt="onMouseLeave",St="onMouseEnter",pr="mouse";(t==="pointerout"||t==="pointerover")&&(rt=Q3,Rt="onPointerLeave",St="onPointerEnter",pr="pointer");var hr=J==null?A:nd(J),ce=me==null?A:nd(me),De=new rt(Rt,pr+"leave",J,i,c);De.target=hr,De.relatedTarget=ce;var ue=null,qe=zu(c);if(qe===n){var ct=new rt(St,pr+"enter",me,i,c);ct.target=ce,ct.relatedTarget=hr,ue=ct}KB(e,De,ue,J,me)}}}function TB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bo=typeof Object.is=="function"?Object.is:TB;function Wp(e,t){if(Bo(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(!Lt.call(t,d)||!Bo(e[d],t[d]))return!1}return!0}function fC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function EB(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===zs){if(c=i+n.textContent.length,i<=t&&c>=t)return{node:n,offset:t-i};i=c}n=fC(EB(n))}}function RB(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 DB(e,c,d,_,y)}function DB(e,t,n,i,c){var d=0,_=-1,y=-1,C=0,E=0,A=e,Z=null;e:for(;;){for(var J=null;A===t&&(n===0||A.nodeType===zs)&&(_=d+n),A===i&&(c===0||A.nodeType===zs)&&(y=d+c),A.nodeType===zs&&(d+=A.nodeValue.length),(J=A.firstChild)!==null;)Z=A,A=J;for(;;){if(A===e)break e;if(Z===t&&++C===n&&(_=d),Z===i&&++E===c&&(y=d),(J=A.nextSibling)!==null)break;A=Z,Z=A.parentNode}A=J}return _===-1||y===-1?null:{start:_,end:y}}function AB(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 Z=n.createRange();Z.setStart(E.node,E.offset),c.removeAllRanges(),_>y?(c.addRange(Z),c.extend(A.node,A.offset)):(Z.setEnd(A.node,A.offset),c.addRange(Z))}}}function pC(e){return e&&e.nodeType===zs}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 LB(e){return e&&e.ownerDocument&&hC(e.ownerDocument.documentElement,e)}function NB(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function mC(){for(var e=window,t=Mf();t instanceof e.HTMLIFrameElement;){if(NB(t))e=t.contentWindow;else return t;t=Mf(e.document)}return t}function a1(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 OB(){var e=mC();return{focusedElem:e,selectionRange:a1(e)?PB(e):null}}function MB(e){var t=mC(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&LB(n)){i!==null&&a1(n)&&IB(n,i);for(var c=[],d=n;d=d.parentNode;)d.nodeType===_o&&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 PB(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=RB(e),t||{start:0,end:0}}function IB(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)):AB(e,t)}var zB=pt&&"documentMode"in document&&document.documentMode<=11;function BB(){Ze("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Zf=null,n1=null,qp=null,o1=!1;function FB(e){if("selectionStart"in e&&a1(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 jB(e){return e.window===e?e.document:e.nodeType===Bs?e:e.ownerDocument}function vC(e,t,n){var i=jB(n);if(!(o1||Zf==null||Zf!==Mf(i))){var c=FB(Zf);if(!qp||!Wp(qp,c)){qp=c;var d=ov(n1,"onSelect");if(d.length>0){var _=new Qb("onSelect","select",null,t,n);e.push({event:_,listeners:d}),_.target=Zf}}}}function HB(e,t,n,i,c,d,_){var y=n?nd(n):window;switch(t){case"focusin":(iC(y)||y.contentEditable==="true")&&(Zf=y,n1=n,qp=null);break;case"focusout":Zf=null,n1=null,qp=null;break;case"mousedown":o1=!0;break;case"contextmenu":case"mouseup":case"dragend":o1=!1,vC(e,i,c);break;case"selectionchange":if(zB)break;case"keydown":case"keyup":vC(e,i,c)}}function rv(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ed={animationend:rv("Animation","AnimationEnd"),animationiteration:rv("Animation","AnimationIteration"),animationstart:rv("Animation","AnimationStart"),transitionend:rv("Transition","TransitionEnd")},i1={},_C={};pt&&(_C=document.createElement("div").style,"AnimationEvent"in window||(delete ed.animationend.animation,delete ed.animationiteration.animation,delete ed.animationstart.animation),"TransitionEvent"in window||delete ed.transitionend.transition);function av(e){if(i1[e])return i1[e];if(!ed[e])return e;var t=ed[e];for(var n in t)if(t.hasOwnProperty(n)&&n in _C)return i1[e]=t[n];return e}var gC=av("animationend"),bC=av("animationiteration"),yC=av("animationstart"),SC=av("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),Ze(t,[e])}function UB(){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 VB(e,t,n,i,c,d,_){var y=wC.get(t);if(y!==void 0){var C=Qb,E=t;switch(t){case"keypress":if(Jm(i)===0)return;case"keydown":case"keyup":C=Wz;break;case"focusin":E="focus",C=e1;break;case"focusout":E="blur",C=e1;break;case"beforeblur":case"afterblur":C=e1;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=Az;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=$z;break;case gC:case bC:case yC:C=Oz;break;case SC:C=Kz;break;case"scroll":C=Ez;break;case"wheel":C=Qz;break;case"copy":case"cut":case"paste":C=Pz;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=Q3;break}var A=(d&vp)!==0;{var Z=!A&&t==="scroll",J=$B(n,y,i.type,A,Z);if(J.length>0){var me=new C(y,E,null,i,c);e.push({event:me,listeners:J})}}}}UB(),xB(),fB(),BB(),eB();function WB(e,t,n,i,c,d,_){VB(e,t,n,i,c,d);var y=(d&FP)===0;y&&(kB(e,t,n,i,c),CB(e,t,n,i,c),HB(e,t,n,i,c),sB(e,t,n,i,c))}var Yp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],l1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Yp));function xC(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,QP(i,t,void 0,e),e.currentTarget=null}function qB(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],Z=A.instance,J=A.currentTarget,me=A.listener;if(Z!==i&&e.isPropagationStopped())return;xC(e,me,J),i=Z}}function kC(e,t){for(var n=(t&vp)!==0,i=0;i<e.length;i++){var c=e[i],d=c.event,_=c.listeners;qB(d,_,n)}JP()}function YB(e,t,n,i,c){var d=rb(n),_=[];WB(_,e,i,n,d,t),kC(_,t)}function ga(e,t){l1.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=wF(t),c=XB(e,n);i.has(c)||(TC(t,e,tb,n),i.add(c))}function s1(e,t,n){l1.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|=vp),TC(n,e,i,t)}var nv="_reactListening"+Math.random().toString(36).slice(2);function $p(e){if(!e[nv]){e[nv]=!0,lt.forEach(function(n){n!=="selectionchange"&&(l1.has(n)||s1(n,!1,e),s1(n,!0,e))});var t=e.nodeType===Bs?e:e.ownerDocument;t!==null&&(t[nv]||(t[nv]=!0,s1("selectionchange",!1,t)))}}function TC(e,t,n,i,c){var d=_z(e,t,n),_=void 0;ob&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(_=!0),e=e;var y;i?_!==void 0?y=Cz(e,t,d,_):y=wz(e,t,d):_!==void 0?y=xz(e,t,d,_):y=Sz(e,t,d)}function EC(e,t){return e===t||e.nodeType===Ka&&e.parentNode===t}function c1(e,t,n,i,c){var d=i;if(!(t&r3)&&!(t&tb)){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 Z=A.tag;if(Z===b||Z===S){var J=A.stateNode.containerInfo;if(EC(J,_))return}A=A.return}for(;E!==null;){var me=zu(E);if(me===null)return;var ve=me.tag;if(ve===w||ve===k){y=d=me;continue e}E=E.parentNode}}y=y.return}}}s3(function(){return YB(e,t,n,d)})}function Gp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $B(e,t,n,i,c,d){for(var _=t!==null?t+"Capture":null,y=i?_:t,C=[],E=e,A=null;E!==null;){var Z=E,J=Z.stateNode,me=Z.tag;if(me===w&&J!==null&&(A=J,y!==null)){var ve=gp(E,y);ve!=null&&C.push(Gp(E,ve,A))}if(c)break;E=E.return}return C}function ov(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=gp(c,n);E!=null&&i.unshift(Gp(c,E,C));var A=gp(c,t);A!=null&&i.push(Gp(c,A,C))}c=c.return}return i}function td(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function GB(e,t){for(var n=e,i=t,c=0,d=n;d;d=td(d))c++;for(var _=0,y=i;y;y=td(y))_++;for(;c-_>0;)n=td(n),c--;for(;_-c>0;)i=td(i),_--;for(var C=c;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=td(n),i=td(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,Z=C.tag;if(E!==null&&E===i)break;if(Z===w&&A!==null){var J=A;if(c){var me=gp(y,d);me!=null&&_.unshift(Gp(y,me,J))}else if(!c){var ve=gp(y,d);ve!=null&&_.push(Gp(y,ve,J))}}y=y.return}_.length!==0&&e.push({event:t,listeners:_})}function KB(e,t,n,i,c){var d=i&&c?GB(i,c):null;i!==null&&RC(e,t,i,d,!1),c!==null&&n!==null&&RC(e,n,c,d,!0)}function XB(e,t){return e+"__"+(t?"capture":"bubble")}var go=!1,Kp="dangerouslySetInnerHTML",iv="suppressContentEditableWarning",Ic="suppressHydrationWarning",DC="autoFocus",Pu="children",Iu="style",lv="__html",u1,sv,Xp,AC,cv,LC,NC;u1={dialog:!0,webview:!0},sv=function(e,t){NP(e,t),OP(e,t),BP(e,t,{registrationNameDependencies:Tt,possibleRegistrationNames:wt})},LC=pt&&!document.documentMode,Xp=function(e,t,n){if(!go){var i=uv(n),c=uv(t);c!==i&&(go=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(i)))}},AC=function(e){if(!go){go=!0;var t=[];e.forEach(function(n){t.push(n)}),u("Extra attributes from the server: %s",t)}},cv=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===Is?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var QB=/\r\n?/g,JB=/\u0000|\uFFFD/g;function uv(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(QB,`
|
|
32
|
+
`).replace(JB,"")}function fv(e,t,n,i){var c=uv(t),d=uv(e);if(d!==c&&(i&&(go||(go=!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===Bs?e:e.ownerDocument}function ZB(){}function dv(e){e.onclick=ZB}function e9(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===Kp){var y=_?_[lv]:void 0;y!=null&&qw(t,y)}else if(d===Pu)if(typeof _=="string"){var C=e!=="textarea"||_!=="";C&&Mm(t,_)}else typeof _=="number"&&Mm(t,""+_);else d===iv||d===Ic||d===DC||(Tt.hasOwnProperty(d)?_!=null&&(typeof _!="function"&&cv(d,_),d==="onScroll"&&ga("scroll",t)):_!=null&&I(t,d,_,c))}}function t9(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===Kp?qw(e,_):d===Pu?Mm(e,_):I(e,d,_,i)}}function r9(e,t,n,i){var c,d=OC(n),_,y=i;if(y===Is&&(y=Kg(e)),y===Is){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===Is&&!c&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!Lt.call(u1,e)&&(u1[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 a9(e,t){return OC(t).createTextNode(e)}function n9(e,t,n,i){var c=Cu(t,n);sv(t,n);var d;switch(t){case"dialog":ga("cancel",e),ga("close",e),d=n;break;case"iframe":case"object":case"embed":ga("load",e),d=n;break;case"video":case"audio":for(var _=0;_<Yp.length;_++)ga(Yp[_],e);d=n;break;case"source":ga("error",e),d=n;break;case"img":case"image":case"link":ga("error",e),ga("load",e),d=n;break;case"details":ga("toggle",e),d=n;break;case"input":Ee(e,n),d=he(e,n),ga("invalid",e);break;case"option":Ea(e,n),d=n;break;case"select":jw(e,n),d=hp(e,n),ga("invalid",e);break;case"textarea":Uw(e,n),d=$g(e,n),ga("invalid",e);break;default:d=n}switch(eb(t,d),e9(t,e,i,d,c),t){case"input":Dc(e),yt(e,n,!1);break;case"textarea":Dc(e),Ww(e);break;case"option":tn(e,n);break;case"select":eP(e,n);break;default:typeof d.onClick=="function"&&dv(e);break}}function o9(e,t,n,i,c){sv(t,i);var d=null,_,y;switch(t){case"input":_=he(e,n),y=he(e,i),d=[];break;case"select":_=hp(e,n),y=hp(e,i),d=[];break;case"textarea":_=$g(e,n),y=$g(e,i),d=[];break;default:_=n,y=i,typeof _.onClick!="function"&&typeof y.onClick=="function"&&dv(e);break}eb(t,y);var C,E,A=null;for(C in _)if(!(y.hasOwnProperty(C)||!_.hasOwnProperty(C)||_[C]==null))if(C===Iu){var Z=_[C];for(E in Z)Z.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else C===Kp||C===Pu||C===iv||C===Ic||C===DC||(Tt.hasOwnProperty(C)?d||(d=[]):(d=d||[]).push(C,null));for(C in y){var J=y[C],me=_!=null?_[C]:void 0;if(!(!y.hasOwnProperty(C)||J===me||J==null&&me==null))if(C===Iu)if(J&&Object.freeze(J),me){for(E in me)me.hasOwnProperty(E)&&(!J||!J.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in J)J.hasOwnProperty(E)&&me[E]!==J[E]&&(A||(A={}),A[E]=J[E])}else A||(d||(d=[]),d.push(C,A)),A=J;else if(C===Kp){var ve=J?J[lv]:void 0,Ce=me?me[lv]:void 0;ve!=null&&Ce!==ve&&(d=d||[]).push(C,ve)}else C===Pu?(typeof J=="string"||typeof J=="number")&&(d=d||[]).push(C,""+J):C===iv||C===Ic||(Tt.hasOwnProperty(C)?(J!=null&&(typeof J!="function"&&cv(C,J),C==="onScroll"&&ga("scroll",e)),!d&&me!==J&&(d=[])):(d=d||[]).push(C,J))}return A&&(xP(A,y[Iu]),(d=d||[]).push(Iu,A)),d}function i9(e,t,n,i,c){n==="input"&&c.type==="radio"&&c.name!=null&&Xe(e,c);var d=Cu(n,i),_=Cu(n,c);switch(t9(e,t,d,_),n){case"input":Mt(e,c);break;case"textarea":Vw(e,c);break;case"select":tP(e,c);break}}function l9(e){{var t=e.toLowerCase();return Pm.hasOwnProperty(t)&&Pm[t]||null}}function s9(e,t,n,i,c,d,_){var y,C;switch(y=Cu(t,n),sv(t,n),t){case"dialog":ga("cancel",e),ga("close",e);break;case"iframe":case"object":case"embed":ga("load",e);break;case"video":case"audio":for(var E=0;E<Yp.length;E++)ga(Yp[E],e);break;case"source":ga("error",e);break;case"img":case"image":case"link":ga("error",e),ga("load",e);break;case"details":ga("toggle",e);break;case"input":Ee(e,n),ga("invalid",e);break;case"option":Ea(e,n);break;case"select":jw(e,n),ga("invalid",e);break;case"textarea":Uw(e,n),ga("invalid",e);break}eb(t,n);{C=new Set;for(var A=e.attributes,Z=0;Z<A.length;Z++){var J=A[Z].name.toLowerCase();switch(J){case"value":break;case"checked":break;case"selected":break;default:C.add(A[Z].name)}}}var me=null;for(var ve in n)if(n.hasOwnProperty(ve)){var Ce=n[ve];if(ve===Pu)typeof Ce=="string"?e.textContent!==Ce&&(n[Ic]!==!0&&fv(e.textContent,Ce,d,_),me=[Pu,Ce]):typeof Ce=="number"&&e.textContent!==""+Ce&&(n[Ic]!==!0&&fv(e.textContent,Ce,d,_),me=[Pu,""+Ce]);else if(Tt.hasOwnProperty(ve))Ce!=null&&(typeof Ce!="function"&&cv(ve,Ce),ve==="onScroll"&&ga("scroll",e));else if(_&&typeof y=="boolean"){var rt=void 0,Rt=y&&Ye?null:P(ve);if(n[Ic]!==!0){if(!(ve===iv||ve===Ic||ve==="value"||ve==="checked"||ve==="selected")){if(ve===Kp){var St=e.innerHTML,pr=Ce?Ce[lv]:void 0;if(pr!=null){var hr=NC(e,pr);hr!==St&&Xp(ve,St,hr)}}else if(ve===Iu){if(C.delete(ve),LC){var ce=wP(Ce);rt=e.getAttribute("style"),ce!==rt&&Xp(ve,rt,ce)}}else if(y&&!Ye)C.delete(ve.toLowerCase()),rt=Qe(e,ve,Ce),Ce!==rt&&Xp(ve,rt,Ce);else if(!vr(ve,Rt,y)&&!$(ve,Ce,Rt,y)){var De=!1;if(Rt!==null)C.delete(Rt.attributeName),rt=Le(e,ve,Ce,Rt);else{var ue=i;if(ue===Is&&(ue=Kg(t)),ue===Is)C.delete(ve.toLowerCase());else{var qe=l9(ve);qe!==null&&qe!==ve&&(De=!0,C.delete(qe)),C.delete(ve)}rt=Qe(e,ve,Ce)}var ct=Ye;!ct&&Ce!==rt&&!De&&Xp(ve,rt,Ce)}}}}}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"&&dv(e);break}return me}function c9(e,t,n){var i=e.nodeValue!==t;return i}function f1(e,t){{if(go)return;go=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function d1(e,t){{if(go)return;go=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function p1(e,t,n){{if(go)return;go=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function h1(e,t){{if(t===""||go)return;go=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function u9(e,t,n){switch(t){case"input":er(e,n);return;case"textarea":aP(e,n);return;case"select":rP(e,n);return}}var Qp=function(){},Jp=function(){};{var f9=["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"],d9=MC.concat(["button"]),p9=["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};Jp=function(e,t){var n=Nt({},e||PC),i={tag:t};return MC.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),d9.indexOf(t)!==-1&&(n.pTagInButtonScope=null),f9.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 h9=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 p9.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},m9=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={};Qp=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=h9(e,c)?null:i,_=d?null:m9(e,n),y=d||_;if(y){var C=y.tag,E=!!d+"|"+e+"|"+C;if(!IC[E]){IC[E]=!0;var A=e,Z="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var J="";C==="table"&&e==="tr"&&(J+=" 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,Z,J)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,C)}}}}var pv="suppressHydrationWarning",hv="$",mv="/$",Zp="$?",eh="$!",v9="style",m1=null,v1=null;function _9(e){var t,n,i=e.nodeType;switch(i){case Bs:case Qg:{t=i===Bs?"#document":"#fragment";var c=e.documentElement;n=c?c.namespaceURI:Xg(null,"");break}default:{var d=i===Ka?e.parentNode:e,_=d.namespaceURI||null;t=d.tagName,n=Xg(_,t);break}}{var y=t.toLowerCase(),C=Jp(null,y);return{namespace:n,ancestorInfo:C}}}function g9(e,t,n){{var i=e,c=Xg(i.namespace,t),d=Jp(i.ancestorInfo,t);return{namespace:c,ancestorInfo:d}}}function q$(e){return e}function b9(e){m1=vz(),v1=OB();var t=null;return W3(!1),t}function y9(e){MB(v1),W3(m1),m1=null,v1=null}function S9(e,t,n,i,c){var d;{var _=i;if(Qp(e,null,_.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Jp(_.ancestorInfo,e);Qp(null,y,C)}d=_.namespace}var E=r9(e,t,n,d);return ah(c,E),x1(E,t),E}function w9(e,t){e.appendChild(t)}function C9(e,t,n,i,c){switch(n9(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function x9(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=Jp(_.ancestorInfo,t);Qp(null,y,C)}}return o9(e,t,n,i)}function _1(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 k9(e,t,n,i){{var c=n;Qp(null,e,c.ancestorInfo)}var d=a9(e,t);return ah(i,d),d}function T9(){var e=window.event;return e===void 0?qs:q3(e.type)}var g1=typeof setTimeout=="function"?setTimeout:void 0,E9=typeof clearTimeout=="function"?clearTimeout:void 0,b1=-1,zC=typeof Promise=="function"?Promise:void 0,R9=typeof queueMicrotask=="function"?queueMicrotask:typeof zC!="undefined"?function(e){return zC.resolve(null).then(e).catch(D9)}:g1;function D9(e){setTimeout(function(){throw e})}function A9(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 L9(e,t,n,i,c,d){i9(e,t,n,i,c),x1(e,c)}function BC(e){Mm(e,"")}function N9(e,t,n){e.nodeValue=n}function O9(e,t){e.appendChild(t)}function M9(e,t){var n;e.nodeType===Ka?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&dv(n)}function P9(e,t,n){e.insertBefore(t,n)}function I9(e,t,n){e.nodeType===Ka?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function z9(e,t){e.removeChild(t)}function B9(e,t){e.nodeType===Ka?e.parentNode.removeChild(t):e.removeChild(t)}function y1(e,t){var n=t,i=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===Ka){var d=c.data;if(d===mv)if(i===0){e.removeChild(c),Ip(t);return}else i--;else(d===hv||d===Zp||d===eh)&&i++}n=c}while(n);Ip(t)}function F9(e,t){e.nodeType===Ka?y1(e.parentNode,t):e.nodeType===_o&&y1(e,t),Ip(e)}function j9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function H9(e){e.nodeValue=""}function U9(e,t){e=e;var n=t[v9],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Jg("display",i)}function V9(e,t){e.nodeValue=t}function W9(e){e.nodeType===_o?e.textContent="":e.nodeType===Bs&&e.documentElement&&e.removeChild(e.documentElement)}function q9(e,t,n){return e.nodeType!==_o||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Y9(e,t){return t===""||e.nodeType!==zs?null:e}function $9(e){return e.nodeType!==Ka?null:e}function FC(e){return e.data===Zp}function S1(e){return e.data===eh}function G9(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 K9(e,t){e._reactRetry=t}function vv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===_o||t===zs)break;if(t===Ka){var n=e.data;if(n===hv||n===eh||n===Zp)break;if(n===mv)return null}}return e}function th(e){return vv(e.nextSibling)}function X9(e){return vv(e.firstChild)}function Q9(e){return vv(e.firstChild)}function J9(e){return vv(e.nextSibling)}function Z9(e,t,n,i,c,d,_){ah(d,e),x1(e,n);var y;{var C=c;y=C.namespace}var E=(d.mode&br)!==Ot;return s9(e,t,n,y,i,E,_)}function eF(e,t,n,i){ah(n,e);var c=(n.mode&br)!==Ot;return c9(e,t)}function tF(e,t){ah(t,e)}function rF(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===mv){if(n===0)return th(t);n--}else(i===hv||i===eh||i===Zp)&&n++}t=t.nextSibling}return null}function jC(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===hv||i===eh||i===Zp){if(n===0)return t;n--}else i===mv&&n++}t=t.previousSibling}return null}function aF(e){Ip(e)}function nF(e){Ip(e)}function oF(e){return e!=="head"&&e!=="body"}function iF(e,t,n,i){var c=!0;fv(t.nodeValue,n,i,c)}function lF(e,t,n,i,c,d){if(t[pv]!==!0){var _=!0;fv(i.nodeValue,c,d,_)}}function sF(e,t){t.nodeType===_o?f1(e,t):t.nodeType===Ka||d1(e,t)}function cF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===_o?f1(n,t):t.nodeType===Ka||d1(n,t))}}function uF(e,t,n,i,c){(c||t[pv]!==!0)&&(i.nodeType===_o?f1(n,i):i.nodeType===Ka||d1(n,i))}function fF(e,t,n){p1(e,t)}function dF(e,t){h1(e,t)}function pF(e,t,n){{var i=e.parentNode;i!==null&&p1(i,t)}}function hF(e,t){{var n=e.parentNode;n!==null&&h1(n,t)}}function mF(e,t,n,i,c,d){(d||t[pv]!==!0)&&p1(n,i)}function vF(e,t,n,i,c){(c||t[pv]!==!0)&&h1(n,i)}function _F(e){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function gF(e){$p(e)}var rd=Math.random().toString(36).slice(2),ad="__reactFiber$"+rd,w1="__reactProps$"+rd,rh="__reactContainer$"+rd,C1="__reactEvents$"+rd,bF="__reactListeners$"+rd,yF="__reactHandles$"+rd;function SF(e){delete e[ad],delete e[w1],delete e[C1],delete e[bF],delete e[yF]}function ah(e,t){t[ad]=e}function _v(e,t){t[rh]=e}function HC(e){e[rh]=null}function nh(e){return!!e[rh]}function zu(e){var t=e[ad];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rh]||n[ad],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var c=jC(e);c!==null;){var d=c[ad];if(d)return d;c=jC(c)}return t}e=n,n=e.parentNode}return null}function zc(e){var t=e[ad]||e[rh];return t&&(t.tag===w||t.tag===k||t.tag===Q||t.tag===b)?t:null}function nd(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function gv(e){return e[w1]||null}function x1(e,t){e[w1]=t}function wF(e){var t=e[C1];return t===void 0&&(t=e[C1]=new Set),t}var UC={},VC=o.ReactDebugCurrentFrame;function bv(e){if(e){var t=e._owner,n=Rf(e.type,e._source,t?t.type:null);VC.setExtraStackFrame(n)}else VC.setExtraStackFrame(null)}function Bl(e,t,n,i,c){{var d=Function.call.bind(Lt);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)&&(bv(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),bv(null)),y instanceof Error&&!(y.message in UC)&&(UC[y.message]=!0,bv(c),u("Failed %s type: %s",n,y.message),bv(null))}}}var k1=[],yv;yv=[];var Ys=-1;function Bc(e){return{current:e}}function zn(e,t){if(Ys<0){u("Unexpected pop.");return}t!==yv[Ys]&&u("Unexpected Fiber popped."),e.current=k1[Ys],k1[Ys]=null,yv[Ys]=null,Ys--}function Bn(e,t,n){Ys++,k1[Ys]=e.current,yv[Ys]=n,e.current=t}var T1;T1={};var Fo={};Object.freeze(Fo);var $s=Bc(Fo),ds=Bc(!1),E1=Fo;function od(e,t,n){return n&&ps(t)?E1:$s.current}function WC(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function id(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Fo;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";Bl(i,d,"context",y)}return c&&WC(e,t,d),d}}function Sv(){return ds.current}function ps(e){{var t=e.childContextTypes;return t!=null}}function wv(e){zn(ds,e),zn($s,e)}function R1(e){zn(ds,e),zn($s,e)}function qC(e,t,n){{if($s.current!==Fo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bn($s,t,e),Bn(ds,n,e)}}function YC(e,t,n){{var i=e.stateNode,c=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=rr(e)||"Unknown";T1[d]||(T1[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";Bl(c,_,"child context",C)}return Nt({},n,_)}}function Cv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Fo;return E1=$s.current,Bn($s,n,e),Bn(ds,ds.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,E1);i.__reactInternalMemoizedMergedChildContext=c,zn(ds,e),zn($s,e),Bn($s,c,e),Bn(ds,n,e)}else zn(ds,e),Bn(ds,n,e)}}function CF(e){{if(!oI(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(ps(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,xv=1,Gs=null,D1=!1,A1=!1;function GC(e){Gs===null?Gs=[e]:Gs.push(e)}function xF(e){D1=!0,GC(e)}function KC(){D1&&jc()}function jc(){if(!A1&&Gs!==null){A1=!0;var e=0,t=zl();try{var n=!0,i=Gs;for(yn(Io);e<i.length;e++){var c=i[e];do c=c(n);while(c!==null)}Gs=null,D1=!1}catch(d){throw Gs!==null&&(Gs=Gs.slice(e+1)),b3(jm,jc),d}finally{yn(t),A1=!1}}return null}var ld=[],sd=0,kv=null,Tv=0,_l=[],gl=0,Bu=null,Ks=1,Xs="";function kF(e){return ju(),(e.flags&f3)!==It}function TF(e){return ju(),Tv}function EF(){var e=Xs,t=Ks,n=t&~RF(t);return n.toString(32)+e}function Fu(e,t){ju(),ld[sd++]=Tv,ld[sd++]=kv,kv=e,Tv=t}function XC(e,t,n){ju(),_l[gl++]=Ks,_l[gl++]=Xs,_l[gl++]=Bu,Bu=e;var i=Ks,c=Xs,d=Ev(i)-1,_=i&~(1<<d),y=n+1,C=Ev(t)+d;if(C>30){var E=d-d%5,A=(1<<E)-1,Z=(_&A).toString(32),J=_>>E,me=d-E,ve=Ev(t)+me,Ce=y<<me,rt=Ce|J,Rt=Z+c;Ks=1<<ve|rt,Xs=Rt}else{var St=y<<d,pr=St|_,hr=c;Ks=1<<C|pr,Xs=hr}}function L1(e){ju();var t=e.return;if(t!==null){var n=1,i=0;Fu(e,n),XC(e,n,i)}}function Ev(e){return 32-k3(e)}function RF(e){return 1<<Ev(e)-1}function N1(e){for(;e===kv;)kv=ld[--sd],ld[sd]=null,Tv=ld[--sd],ld[sd]=null;for(;e===Bu;)Bu=_l[--gl],_l[gl]=null,Xs=_l[--gl],_l[gl]=null,Ks=_l[--gl],_l[gl]=null}function DF(){return ju(),Bu!==null?{id:Ks,overflow:Xs}:null}function AF(e,t){ju(),_l[gl++]=Ks,_l[gl++]=Xs,_l[gl++]=Bu,Ks=t.id,Xs=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,bl=null,Fl=!1,Hu=!1,Hc=null;function LF(){Fl&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function QC(){Hu=!0}function NF(){return Hu}function OF(e){var t=e.stateNode.containerInfo;return bl=Q9(t),kn=e,Fl=!0,Hc=null,Hu=!1,!0}function MF(e,t,n){return bl=J9(t),kn=e,Fl=!0,Hc=null,Hu=!1,n!==null&&AF(e,n),!0}function JC(e,t){switch(e.tag){case b:{sF(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&br)!==Ot;uF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Q:{var i=e.memoizedState;i.dehydrated!==null&&cF(i.dehydrated,t);break}}}function ZC(e,t){JC(e,t);var n=VU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=xu):i.push(n)}function O1(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;fF(n,i);break;case k:var d=t.pendingProps;dF(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,Z=(e.mode&br)!==Ot;mF(_,y,C,E,A,Z);break}case k:{var J=t.pendingProps,me=(e.mode&br)!==Ot;vF(_,y,C,J,me);break}}break}case Q:{var ve=e.memoizedState,Ce=ve.dehydrated;if(Ce!==null)switch(t.tag){case w:var rt=t.type,Rt=t.pendingProps;pF(Ce,rt);break;case k:var St=t.pendingProps;hF(Ce,St);break}break}default:return}}}function ex(e,t){t.flags=t.flags&~js|Xa,O1(e,t)}function tx(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,c=q9(t,n);return c!==null?(e.stateNode=c,kn=e,bl=X9(c),!0):!1}case k:{var d=e.pendingProps,_=Y9(t,d);return _!==null?(e.stateNode=_,kn=e,bl=null,!0):!1}case Q:{var y=$9(t);if(y!==null){var C={dehydrated:y,treeContext:DF(),retryLane:Mo};e.memoizedState=C;var E=WU(y);return E.return=e,e.child=E,kn=e,bl=null,!0}return!1}default:return!1}}function M1(e){return(e.mode&br)!==Ot&&(e.flags&Pr)===It}function P1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function I1(e){if(Fl){var t=bl;if(!t){M1(e)&&(O1(kn,e),P1()),ex(kn,e),Fl=!1,kn=e;return}var n=t;if(!tx(e,t)){M1(e)&&(O1(kn,e),P1()),t=th(n);var i=kn;if(!t||!tx(e,t)){ex(kn,e),Fl=!1,kn=e;return}ZC(i,n)}}}function PF(e,t,n){var i=e.stateNode,c=!Hu,d=Z9(i,e.type,e.memoizedProps,t,n,e,c);return e.updateQueue=d,d!==null}function IF(e){var t=e.stateNode,n=e.memoizedProps,i=eF(t,n,e);if(i){var c=kn;if(c!==null)switch(c.tag){case b:{var d=c.stateNode.containerInfo,_=(c.mode&br)!==Ot;iF(d,t,n,_);break}case w:{var y=c.type,C=c.memoizedProps,E=c.stateNode,A=(c.mode&br)!==Ot;lF(y,C,E,t,n,A);break}}}return i}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.");tF(n,e)}function BF(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 rF(n)}function rx(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==b&&t.tag!==Q;)t=t.return;kn=t}function Rv(e){if(e!==kn)return!1;if(!Fl)return rx(e),Fl=!0,!1;if(e.tag!==b&&(e.tag!==w||oF(e.type)&&!_1(e.type,e.memoizedProps))){var t=bl;if(t)if(M1(e))ax(e),P1();else for(;t;)ZC(e,t),t=th(t)}return rx(e),e.tag===Q?bl=BF(e):bl=kn?th(e.stateNode):null,!0}function FF(){return Fl&&bl!==null}function ax(e){for(var t=bl;t;)JC(e,t),t=th(t)}function cd(){kn=null,bl=null,Fl=!1,Hu=!1}function nx(){Hc!==null&&(J4(Hc),Hc=null)}function Tn(){return Fl}function z1(e){Hc===null?Hc=[e]:Hc.push(e)}var jF=o.ReactCurrentBatchConfig,HF=null;function UF(){return jF.transition}var jl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var VF=function(e){for(var t=null,n=e;n!==null;)n.mode&Ma&&(t=n),n=n.return;return t},Uu=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},oh=[],ih=[],lh=[],sh=[],ch=[],uh=[],Vu=new Set;jl.recordUnsafeLifecycleWarnings=function(e,t){Vu.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&oh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&ih.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&lh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&sh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ch.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&uh.push(e))},jl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;oh.length>0&&(oh.forEach(function(J){e.add(rr(J)||"Component"),Vu.add(J.type)}),oh=[]);var t=new Set;ih.length>0&&(ih.forEach(function(J){t.add(rr(J)||"Component"),Vu.add(J.type)}),ih=[]);var n=new Set;lh.length>0&&(lh.forEach(function(J){n.add(rr(J)||"Component"),Vu.add(J.type)}),lh=[]);var i=new Set;sh.length>0&&(sh.forEach(function(J){i.add(rr(J)||"Component"),Vu.add(J.type)}),sh=[]);var c=new Set;ch.length>0&&(ch.forEach(function(J){c.add(rr(J)||"Component"),Vu.add(J.type)}),ch=[]);var d=new Set;if(uh.length>0&&(uh.forEach(function(J){d.add(rr(J)||"Component"),Vu.add(J.type)}),uh=[]),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
|
|
|
36
|
-
Please update the following components: %s`,_)}if(i.size>0){var y=
|
|
36
|
+
Please update the following components: %s`,_)}if(i.size>0){var y=Uu(i);u(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
37
37
|
|
|
38
38
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
39
39
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
40
40
|
|
|
41
|
-
Please update the following components: %s`,y)}if(d.size>0){var
|
|
41
|
+
Please update the following components: %s`,y)}if(d.size>0){var C=Uu(d);u(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
42
42
|
|
|
43
43
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
44
44
|
|
|
45
|
-
Please update the following components: %s`,
|
|
45
|
+
Please update the following components: %s`,C)}if(e.size>0){var E=Uu(e);f(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
46
46
|
|
|
47
47
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
48
48
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
49
49
|
|
|
50
|
-
Please update the following components: %s`,E)}if(n.size>0){var A=
|
|
50
|
+
Please update the following components: %s`,E)}if(n.size>0){var A=Uu(n);f(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
51
51
|
|
|
52
52
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
53
53
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
54
54
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
55
55
|
|
|
56
|
-
Please update the following components: %s`,A)}if(c.size>0){var Z=
|
|
56
|
+
Please update the following components: %s`,A)}if(c.size>0){var Z=Uu(c);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
57
57
|
|
|
58
58
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
59
59
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
60
60
|
|
|
61
|
-
Please update the following components: %s`,Z)}};var
|
|
61
|
+
Please update the following components: %s`,Z)}};var Dv=new Map,ox=new Set;jl.recordLegacyContextWarning=function(e,t){var n=VF(e);if(n===null){u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!ox.has(e.type)){var i=Dv.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Dv.set(n,i)),i.push(e))}},jl.flushLegacyContextWarning=function(){Dv.forEach(function(e,t){if(e.length!==0){var n=e[0],i=new Set;e.forEach(function(d){i.add(rr(d)||"Component"),ox.add(d.type)});var c=Uu(i);try{wa(n),u(`Legacy context API has been detected within a strict-mode tree.
|
|
62
62
|
|
|
63
63
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
64
64
|
|
|
65
65
|
Please update the following components: %s
|
|
66
66
|
|
|
67
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{vn()}}})},
|
|
67
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{vn()}}})},jl.discardPendingWarnings=function(){oh=[],ih=[],lh=[],sh=[],ch=[],uh=[],Dv=new Map}}var B1,F1,j1,H1,U1,ix=function(e,t){};B1=!1,F1=!1,j1={},H1={},U1={},ix=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=rr(t)||"Component";H1[n]||(H1[n]=!0,u('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function WF(e){return e.prototype&&e.prototype.isReactComponent}function fh(e,t,n){var i=n.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Ma||$e)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==m)&&!(typeof n.type=="function"&&!WF(n.type))&&n._owner){var c=rr(e)||"Component";j1[c]||(u('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',c,i),j1[c]=!0)}if(n._owner){var d=n._owner,_;if(d){var y=d;if(y.tag!==m)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");_=y.stateNode}if(!_)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var C=_;ra(i,"ref");var E=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var A=function(Z){var J=C.refs;Z===null?delete J[E]:J[E]=Z};return A._stringRef=E,A}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
|
|
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=tr(e)||"Component";if(H1[t])return;H1[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(ce,De){if(e){var ue=ce.deletions;ue===null?(ce.deletions=[De],ce.flags|=Cu):ue.push(De)}}function n(ce,De){if(!e)return null;for(var ue=De;ue!==null;)t(ce,ue),ue=ue.sibling;return null}function i(ce,De){for(var ue=new Map,qe=De;qe!==null;)qe.key!==null?ue.set(qe.key,qe):ue.set(qe.index,qe),qe=qe.sibling;return ue}function c(ce,De){var ue=Qu(ce,De);return ue.index=0,ue.sibling=null,ue}function d(ce,De,ue){if(ce.index=ue,!e)return ce.flags|=f3,De;var qe=ce.alternate;if(qe!==null){var ct=qe.index;return ct<De?(ce.flags|=Ka,De):ct}else return ce.flags|=Ka,De}function _(ce){return e&&ce.alternate===null&&(ce.flags|=Ka),ce}function y(ce,De,ue,qe){if(De===null||De.tag!==k){var ct=z0(ue,ce.mode,qe);return ct.return=ce,ct}else{var at=c(De,ue);return at.return=ce,at}}function w(ce,De,ue,qe){var ct=ue.type;if(ct===se)return A(ce,De,ue.props.children,qe,ue.key);if(De!==null&&(De.elementType===ct||hk(De,ue)||typeof ct=="object"&&ct!==null&&ct.$$typeof===Je&&lx(ct)===De.type)){var at=c(De,ue.props);return at.ref=uh(ce,De,ue),at.return=ce,at._debugSource=ue._source,at._debugOwner=ue._owner,at}var Ht=I0(ue,ce.mode,qe);return Ht.ref=uh(ce,De,ue),Ht.return=ce,Ht}function E(ce,De,ue,qe){if(De===null||De.tag!==S||De.stateNode.containerInfo!==ue.containerInfo||De.stateNode.implementation!==ue.implementation){var ct=B0(ue,ce.mode,qe);return ct.return=ce,ct}else{var at=c(De,ue.children||[]);return at.return=ce,at}}function A(ce,De,ue,qe,ct){if(De===null||De.tag!==L){var at=Jc(ue,ce.mode,qe,ct);return at.return=ce,at}else{var Ht=c(De,ue);return Ht.return=ce,Ht}}function Z(ce,De,ue){if(typeof De=="string"&&De!==""||typeof De=="number"){var qe=z0(""+De,ce.mode,ue);return qe.return=ce,qe}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var ct=I0(De,ce.mode,ue);return ct.ref=uh(ce,null,De),ct.return=ce,ct}case ae:{var at=B0(De,ce.mode,ue);return at.return=ce,at}case Je:{var Ht=De._payload,Gt=De._init;return Z(ce,Gt(Ht),ue)}}if(tn(De)||$a(De)){var Qr=Jc(De,ce.mode,ue,null);return Qr.return=ce,Qr}Dv(ce,De)}return typeof De=="function"&&Av(ce),null}function J(ce,De,ue,qe){var ct=De!==null?De.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number")return ct!==null?null:y(ce,De,""+ue,qe);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return ue.key===ct?w(ce,De,ue,qe):null;case ae:return ue.key===ct?E(ce,De,ue,qe):null;case Je:{var at=ue._payload,Ht=ue._init;return J(ce,De,Ht(at),qe)}}if(tn(ue)||$a(ue))return ct!==null?null:A(ce,De,ue,qe,null);Dv(ce,ue)}return typeof ue=="function"&&Av(ce),null}function me(ce,De,ue,qe,ct){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var at=ce.get(ue)||null;return y(De,at,""+qe,ct)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case V:{var Ht=ce.get(qe.key===null?ue:qe.key)||null;return w(De,Ht,qe,ct)}case ae:{var Gt=ce.get(qe.key===null?ue:qe.key)||null;return E(De,Gt,qe,ct)}case Je:var Qr=qe._payload,Lr=qe._init;return me(ce,De,ue,Lr(Qr),ct)}if(tn(qe)||$a(qe)){var Ua=ce.get(ue)||null;return A(De,Ua,qe,ct,null)}Dv(De,qe)}return typeof qe=="function"&&Av(De),null}function ve(ce,De,ue){{if(typeof ce!="object"||ce===null)return De;switch(ce.$$typeof){case V:case ae:ix(ce,ue);var qe=ce.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 Je:var ct=ce._payload,at=ce._init;ve(at(ct),De,ue);break}}return De}function Ce(ce,De,ue,qe){for(var ct=null,at=0;at<ue.length;at++){var Ht=ue[at];ct=ve(Ht,ct,ce)}for(var Gt=null,Qr=null,Lr=De,Ua=0,Nr=0,Pa=null;Lr!==null&&Nr<ue.length;Nr++){Lr.index>Nr?(Pa=Lr,Lr=null):Pa=Lr.sibling;var jn=J(ce,Lr,ue[Nr],qe);if(jn===null){Lr===null&&(Lr=Pa);break}e&&Lr&&jn.alternate===null&&t(ce,Lr),Ua=d(jn,Ua,Nr),Qr===null?Gt=jn:Qr.sibling=jn,Qr=jn,Lr=Pa}if(Nr===ue.length){if(n(ce,Lr),Tn()){var On=Nr;Bu(ce,On)}return Gt}if(Lr===null){for(;Nr<ue.length;Nr++){var Ho=Z(ce,ue[Nr],qe);Ho!==null&&(Ua=d(Ho,Ua,Nr),Qr===null?Gt=Ho:Qr.sibling=Ho,Qr=Ho)}if(Tn()){var Jn=Nr;Bu(ce,Jn)}return Gt}for(var Zn=i(ce,Lr);Nr<ue.length;Nr++){var Hn=me(Zn,ce,Nr,ue[Nr],qe);Hn!==null&&(e&&Hn.alternate!==null&&Zn.delete(Hn.key===null?Nr:Hn.key),Ua=d(Hn,Ua,Nr),Qr===null?Gt=Hn:Qr.sibling=Hn,Qr=Hn)}if(e&&Zn.forEach(function(Td){return t(ce,Td)}),Tn()){var ac=Nr;Bu(ce,ac)}return Gt}function rt(ce,De,ue,qe){var ct=$a(ue);if(typeof ct!="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"&&ue[Symbol.toStringTag]==="Generator"&&(B1||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."),B1=!0),ue.entries===ct&&(z1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),z1=!0);var at=ct.call(ue);if(at)for(var Ht=null,Gt=at.next();!Gt.done;Gt=at.next()){var Qr=Gt.value;Ht=ve(Qr,Ht,ce)}}var Lr=ct.call(ue);if(Lr==null)throw new Error("An iterable object provided no iterator.");for(var Ua=null,Nr=null,Pa=De,jn=0,On=0,Ho=null,Jn=Lr.next();Pa!==null&&!Jn.done;On++,Jn=Lr.next()){Pa.index>On?(Ho=Pa,Pa=null):Ho=Pa.sibling;var Zn=J(ce,Pa,Jn.value,qe);if(Zn===null){Pa===null&&(Pa=Ho);break}e&&Pa&&Zn.alternate===null&&t(ce,Pa),jn=d(Zn,jn,On),Nr===null?Ua=Zn:Nr.sibling=Zn,Nr=Zn,Pa=Ho}if(Jn.done){if(n(ce,Pa),Tn()){var Hn=On;Bu(ce,Hn)}return Ua}if(Pa===null){for(;!Jn.done;On++,Jn=Lr.next()){var ac=Z(ce,Jn.value,qe);ac!==null&&(jn=d(ac,jn,On),Nr===null?Ua=ac:Nr.sibling=ac,Nr=ac)}if(Tn()){var Td=On;Bu(ce,Td)}return Ua}for(var Uh=i(ce,Pa);!Jn.done;On++,Jn=Lr.next()){var ys=me(Uh,ce,On,Jn.value,qe);ys!==null&&(e&&ys.alternate!==null&&Uh.delete(ys.key===null?On:ys.key),jn=d(ys,jn,On),Nr===null?Ua=ys:Nr.sibling=ys,Nr=ys)}if(e&&Uh.forEach(function(SV){return t(ce,SV)}),Tn()){var yV=On;Bu(ce,yV)}return Ua}function Rt(ce,De,ue,qe){if(De!==null&&De.tag===k){n(ce,De.sibling);var ct=c(De,ue);return ct.return=ce,ct}n(ce,De);var at=z0(ue,ce.mode,qe);return at.return=ce,at}function St(ce,De,ue,qe){for(var ct=ue.key,at=De;at!==null;){if(at.key===ct){var Ht=ue.type;if(Ht===se){if(at.tag===L){n(ce,at.sibling);var Gt=c(at,ue.props.children);return Gt.return=ce,Gt._debugSource=ue._source,Gt._debugOwner=ue._owner,Gt}}else if(at.elementType===Ht||hk(at,ue)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Je&&lx(Ht)===at.type){n(ce,at.sibling);var Qr=c(at,ue.props);return Qr.ref=uh(ce,at,ue),Qr.return=ce,Qr._debugSource=ue._source,Qr._debugOwner=ue._owner,Qr}n(ce,at);break}else t(ce,at);at=at.sibling}if(ue.type===se){var Lr=Jc(ue.props.children,ce.mode,qe,ue.key);return Lr.return=ce,Lr}else{var Ua=I0(ue,ce.mode,qe);return Ua.ref=uh(ce,De,ue),Ua.return=ce,Ua}}function pr(ce,De,ue,qe){for(var ct=ue.key,at=De;at!==null;){if(at.key===ct)if(at.tag===S&&at.stateNode.containerInfo===ue.containerInfo&&at.stateNode.implementation===ue.implementation){n(ce,at.sibling);var Ht=c(at,ue.children||[]);return Ht.return=ce,Ht}else{n(ce,at);break}else t(ce,at);at=at.sibling}var Gt=B0(ue,ce.mode,qe);return Gt.return=ce,Gt}function hr(ce,De,ue,qe){var ct=typeof ue=="object"&&ue!==null&&ue.type===se&&ue.key===null;if(ct&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return _(St(ce,De,ue,qe));case ae:return _(pr(ce,De,ue,qe));case Je:var at=ue._payload,Ht=ue._init;return hr(ce,De,Ht(at),qe)}if(tn(ue))return Ce(ce,De,ue,qe);if($a(ue))return rt(ce,De,ue,qe);Dv(ce,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?_(Rt(ce,De,""+ue,qe)):(typeof ue=="function"&&Av(ce),n(ce,De))}return hr}var sd=sx(!0),cx=sx(!1);function qF(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=Qu(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Qu(n,n.pendingProps),i.return=t;i.sibling=null}}function YF(e,t){for(var n=e.child;n!==null;)BU(n,t),n=n.sibling}var U1=Bc(null),V1;V1={};var Lv=null,cd=null,W1=null,Nv=!1;function Ov(){Lv=null,cd=null,W1=null,Nv=!1}function ux(){Nv=!0}function fx(){Nv=!1}function dx(e,t,n){Bn(U1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==V1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=V1}function q1(e,t){var n=U1.current;zn(U1,t),e._currentValue=n}function Y1(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 $F(e,t,n){GF(e,t,n)}function GF(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),w=Qs(ma,y);w.tag=Pv;var E=i.updateQueue;if(E!==null){var A=E.shared,Z=A.pending;Z===null?w.next=w:(w.next=Z.next,Z.next=w),A.pending=w}}i.lanes=ir(i.lanes,n);var J=i.alternate;J!==null&&(J.lanes=ir(J.lanes,n)),Y1(i.return,n,e),d.lanes=ir(d.lanes,n);break}_=_.next}}else if(i.tag===O)c=i.type===e.type?null:i.child;else if(i.tag===be){var me=i.return;if(me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");me.lanes=ir(me.lanes,n);var ve=me.alternate;ve!==null&&(ve.lanes=ir(ve.lanes,n)),Y1(me,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 Ce=c.sibling;if(Ce!==null){Ce.return=c.return,c=Ce;break}c=c.return}i=c}}function ud(e,t){Lv=e,cd=null,W1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Po(n.lanes,t)&&kh(),n.firstContext=null)}}function Xa(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(W1!==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:ze,firstContext:n}}else cd=cd.next=n}return t}var Vu=null;function $1(e){Vu===null?Vu=[e]:Vu.push(e)}function KF(){if(Vu!==null){for(var e=0;e<Vu.length;e++){var t=Vu[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}}Vu=null}}function px(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,$1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Mv(e,i)}function XF(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,$1(t)):(n.next=c.next,c.next=n),t.interleaved=n}function QF(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,$1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Mv(e,i)}function bo(e,t){return Mv(e,t)}var JF=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&(Ka|js))!==It&&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&(Ka|js))!==It&&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,G1=3,Iv=!1,K1,zv;K1=!1,zv=null;function X1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ze},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 Qs(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&&!K1&&(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."),K1=!0),tU()){var d=c.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),c.pending=t,JF(e,n)}else return QF(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=_,Ub(e,_)}}}function Q1(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 w=y;do{var E={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};_===null?d=_=E:(_.next=E,_=E),w=w.next}while(w!==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 ZF(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&Ma){gn(!0);try{_.call(d,i,c)}finally{gn(!1)}}fx()}return y}return _}case G1:e.flags=e.flags&~Gn|Pr;case hx:{var w=n.payload,E;if(typeof w=="function"){ux(),E=w.call(d,i,c);{if(e.mode&Ma){gn(!0);try{w.call(d,i,c)}finally{gn(!1)}}fx()}}else E=w;return E==null?i:Nt({},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 w=y,E=w.next;w.next=null,_===null?d=E:_.next=E,_=w;var A=e.alternate;if(A!==null){var Z=A.updateQueue,J=Z.lastBaseUpdate;J!==_&&(J===null?Z.firstBaseUpdate=E:J.next=E,Z.lastBaseUpdate=w)}}if(d!==null){var me=c.baseState,ve=ze,Ce=null,rt=null,Rt=null,St=d;do{var pr=St.lane,hr=St.eventTime;if($f(i,pr)){if(Rt!==null){var De={eventTime:hr,lane:bn,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt=Rt.next=De}me=ZF(e,c,St,me,t,n);var ue=St.callback;if(ue!==null&&St.lane!==bn){e.flags|=cb;var qe=c.effects;qe===null?c.effects=[St]:qe.push(St)}}else{var ce={eventTime:hr,lane:pr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt===null?(rt=Rt=ce,Ce=me):Rt=Rt.next=ce,ve=ir(ve,pr)}if(St=St.next,St===null){if(y=c.shared.pending,y===null)break;var ct=y,at=ct.next;ct.next=null,St=at,c.lastBaseUpdate=ct,c.shared.pending=null}}while(!0);Rt===null&&(Ce=me),c.baseState=Ce,c.firstBaseUpdate=rt,c.lastBaseUpdate=Rt;var Ht=c.shared.interleaved;if(Ht!==null){var Gt=Ht;do ve=ir(ve,Gt.lane),Gt=Gt.next;while(Gt!==Ht)}else d===null&&(c.shared.lanes=ze);zh(ve),e.lanes=ve,e.memoizedState=me}zv=null}function ej(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,ej(_,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 J1(e,t){Bn(Hv,t,e),Bn(dh,e,e),Bn(Vc,fh,e);var n=_9(t);zn(Vc,e),Bn(Vc,n,e)}function fd(e){zn(Vc,e),zn(dh,e),zn(Hv,e)}function Z1(){var e=Uv(Vc.current);return e}function yx(e){var t=Uv(Hv.current),n=Uv(Vc.current),i=g9(n,e.type);n!==i&&(Bn(dh,e,e),Bn(Vc,i,e))}function ey(e){dh.current===e&&(zn(Vc,e),zn(dh,e))}var tj=0,Sx=1,wx=1,ph=2,jl=Bc(tj);function ty(e,t){return(e&t)!==0}function dd(e){return e&Sx}function ry(e,t){return e&Sx|t}function rj(e,t){return e|t}function Wc(e,t){Bn(jl,t,e)}function pd(e){zn(jl,e)}function aj(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===Q){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||FC(i)||y1(i))return t}}else if(t.tag===ye&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Pr)!==It;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 yo=0,rn=1,ps=2,an=4,En=8,ay=[];function ny(){for(var e=0;e<ay.length;e++){var t=ay[e];t._workInProgressVersionPrimary=null}ay.length=0}function nj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var it=o.ReactCurrentDispatcher,hh=o.ReactCurrentBatchConfig,oy,hd;oy=new Set;var Wu=ze,Xr=null,nn=null,on=null,Wv=!1,mh=!1,vh=0,oj=0,ij=25,Ne=null,bl=null,qc=-1,iy=!1;function Br(){{var e=Ne;bl===null?bl=[e]:bl.push(e)}}function tt(){{var e=Ne;bl!==null&&(qc++,bl[qc]!==e&&lj(e))}}function md(e){e!=null&&!tn(e)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ne,typeof e)}function lj(e){{var t=tr(Xr);if(!oy.has(t)&&(oy.add(t),bl!==null)){for(var n="",i=30,c=0;c<=qc;c++){for(var d=bl[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 Av(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 Lv(e){{var t=rr(e)||"Component";if(U1[t])return;U1[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(ce,De){if(e){var ue=ce.deletions;ue===null?(ce.deletions=[De],ce.flags|=xu):ue.push(De)}}function n(ce,De){if(!e)return null;for(var ue=De;ue!==null;)t(ce,ue),ue=ue.sibling;return null}function i(ce,De){for(var ue=new Map,qe=De;qe!==null;)qe.key!==null?ue.set(qe.key,qe):ue.set(qe.index,qe),qe=qe.sibling;return ue}function c(ce,De){var ue=Ju(ce,De);return ue.index=0,ue.sibling=null,ue}function d(ce,De,ue){if(ce.index=ue,!e)return ce.flags|=f3,De;var qe=ce.alternate;if(qe!==null){var ct=qe.index;return ct<De?(ce.flags|=Xa,De):ct}else return ce.flags|=Xa,De}function _(ce){return e&&ce.alternate===null&&(ce.flags|=Xa),ce}function y(ce,De,ue,qe){if(De===null||De.tag!==k){var ct=B0(ue,ce.mode,qe);return ct.return=ce,ct}else{var at=c(De,ue);return at.return=ce,at}}function C(ce,De,ue,qe){var ct=ue.type;if(ct===se)return A(ce,De,ue.props.children,qe,ue.key);if(De!==null&&(De.elementType===ct||hk(De,ue)||typeof ct=="object"&&ct!==null&&ct.$$typeof===Je&&lx(ct)===De.type)){var at=c(De,ue.props);return at.ref=fh(ce,De,ue),at.return=ce,at._debugSource=ue._source,at._debugOwner=ue._owner,at}var Ht=z0(ue,ce.mode,qe);return Ht.ref=fh(ce,De,ue),Ht.return=ce,Ht}function E(ce,De,ue,qe){if(De===null||De.tag!==S||De.stateNode.containerInfo!==ue.containerInfo||De.stateNode.implementation!==ue.implementation){var ct=F0(ue,ce.mode,qe);return ct.return=ce,ct}else{var at=c(De,ue.children||[]);return at.return=ce,at}}function A(ce,De,ue,qe,ct){if(De===null||De.tag!==L){var at=Jc(ue,ce.mode,qe,ct);return at.return=ce,at}else{var Ht=c(De,ue);return Ht.return=ce,Ht}}function Z(ce,De,ue){if(typeof De=="string"&&De!==""||typeof De=="number"){var qe=B0(""+De,ce.mode,ue);return qe.return=ce,qe}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var ct=z0(De,ce.mode,ue);return ct.ref=fh(ce,null,De),ct.return=ce,ct}case ae:{var at=F0(De,ce.mode,ue);return at.return=ce,at}case Je:{var Ht=De._payload,Kt=De._init;return Z(ce,Kt(Ht),ue)}}if(rn(De)||Ga(De)){var Qr=Jc(De,ce.mode,ue,null);return Qr.return=ce,Qr}Av(ce,De)}return typeof De=="function"&&Lv(ce),null}function J(ce,De,ue,qe){var ct=De!==null?De.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number")return ct!==null?null:y(ce,De,""+ue,qe);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return ue.key===ct?C(ce,De,ue,qe):null;case ae:return ue.key===ct?E(ce,De,ue,qe):null;case Je:{var at=ue._payload,Ht=ue._init;return J(ce,De,Ht(at),qe)}}if(rn(ue)||Ga(ue))return ct!==null?null:A(ce,De,ue,qe,null);Av(ce,ue)}return typeof ue=="function"&&Lv(ce),null}function me(ce,De,ue,qe,ct){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var at=ce.get(ue)||null;return y(De,at,""+qe,ct)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case V:{var Ht=ce.get(qe.key===null?ue:qe.key)||null;return C(De,Ht,qe,ct)}case ae:{var Kt=ce.get(qe.key===null?ue:qe.key)||null;return E(De,Kt,qe,ct)}case Je:var Qr=qe._payload,Lr=qe._init;return me(ce,De,ue,Lr(Qr),ct)}if(rn(qe)||Ga(qe)){var Ua=ce.get(ue)||null;return A(De,Ua,qe,ct,null)}Av(De,qe)}return typeof qe=="function"&&Lv(De),null}function ve(ce,De,ue){{if(typeof ce!="object"||ce===null)return De;switch(ce.$$typeof){case V:case ae:ix(ce,ue);var qe=ce.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 Je:var ct=ce._payload,at=ce._init;ve(at(ct),De,ue);break}}return De}function Ce(ce,De,ue,qe){for(var ct=null,at=0;at<ue.length;at++){var Ht=ue[at];ct=ve(Ht,ct,ce)}for(var Kt=null,Qr=null,Lr=De,Ua=0,Nr=0,Pa=null;Lr!==null&&Nr<ue.length;Nr++){Lr.index>Nr?(Pa=Lr,Lr=null):Pa=Lr.sibling;var jn=J(ce,Lr,ue[Nr],qe);if(jn===null){Lr===null&&(Lr=Pa);break}e&&Lr&&jn.alternate===null&&t(ce,Lr),Ua=d(jn,Ua,Nr),Qr===null?Kt=jn:Qr.sibling=jn,Qr=jn,Lr=Pa}if(Nr===ue.length){if(n(ce,Lr),Tn()){var On=Nr;Fu(ce,On)}return Kt}if(Lr===null){for(;Nr<ue.length;Nr++){var Ho=Z(ce,ue[Nr],qe);Ho!==null&&(Ua=d(Ho,Ua,Nr),Qr===null?Kt=Ho:Qr.sibling=Ho,Qr=Ho)}if(Tn()){var Jn=Nr;Fu(ce,Jn)}return Kt}for(var Zn=i(ce,Lr);Nr<ue.length;Nr++){var Hn=me(Zn,ce,Nr,ue[Nr],qe);Hn!==null&&(e&&Hn.alternate!==null&&Zn.delete(Hn.key===null?Nr:Hn.key),Ua=d(Hn,Ua,Nr),Qr===null?Kt=Hn:Qr.sibling=Hn,Qr=Hn)}if(e&&Zn.forEach(function(Rd){return t(ce,Rd)}),Tn()){var ac=Nr;Fu(ce,ac)}return Kt}function rt(ce,De,ue,qe){var ct=Ga(ue);if(typeof ct!="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"&&ue[Symbol.toStringTag]==="Generator"&&(F1||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."),F1=!0),ue.entries===ct&&(B1||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),B1=!0);var at=ct.call(ue);if(at)for(var Ht=null,Kt=at.next();!Kt.done;Kt=at.next()){var Qr=Kt.value;Ht=ve(Qr,Ht,ce)}}var Lr=ct.call(ue);if(Lr==null)throw new Error("An iterable object provided no iterator.");for(var Ua=null,Nr=null,Pa=De,jn=0,On=0,Ho=null,Jn=Lr.next();Pa!==null&&!Jn.done;On++,Jn=Lr.next()){Pa.index>On?(Ho=Pa,Pa=null):Ho=Pa.sibling;var Zn=J(ce,Pa,Jn.value,qe);if(Zn===null){Pa===null&&(Pa=Ho);break}e&&Pa&&Zn.alternate===null&&t(ce,Pa),jn=d(Zn,jn,On),Nr===null?Ua=Zn:Nr.sibling=Zn,Nr=Zn,Pa=Ho}if(Jn.done){if(n(ce,Pa),Tn()){var Hn=On;Fu(ce,Hn)}return Ua}if(Pa===null){for(;!Jn.done;On++,Jn=Lr.next()){var ac=Z(ce,Jn.value,qe);ac!==null&&(jn=d(ac,jn,On),Nr===null?Ua=ac:Nr.sibling=ac,Nr=ac)}if(Tn()){var Rd=On;Fu(ce,Rd)}return Ua}for(var Vh=i(ce,Pa);!Jn.done;On++,Jn=Lr.next()){var Ss=me(Vh,ce,On,Jn.value,qe);Ss!==null&&(e&&Ss.alternate!==null&&Vh.delete(Ss.key===null?On:Ss.key),jn=d(Ss,jn,On),Nr===null?Ua=Ss:Nr.sibling=Ss,Nr=Ss)}if(e&&Vh.forEach(function(SV){return t(ce,SV)}),Tn()){var yV=On;Fu(ce,yV)}return Ua}function Rt(ce,De,ue,qe){if(De!==null&&De.tag===k){n(ce,De.sibling);var ct=c(De,ue);return ct.return=ce,ct}n(ce,De);var at=B0(ue,ce.mode,qe);return at.return=ce,at}function St(ce,De,ue,qe){for(var ct=ue.key,at=De;at!==null;){if(at.key===ct){var Ht=ue.type;if(Ht===se){if(at.tag===L){n(ce,at.sibling);var Kt=c(at,ue.props.children);return Kt.return=ce,Kt._debugSource=ue._source,Kt._debugOwner=ue._owner,Kt}}else if(at.elementType===Ht||hk(at,ue)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Je&&lx(Ht)===at.type){n(ce,at.sibling);var Qr=c(at,ue.props);return Qr.ref=fh(ce,at,ue),Qr.return=ce,Qr._debugSource=ue._source,Qr._debugOwner=ue._owner,Qr}n(ce,at);break}else t(ce,at);at=at.sibling}if(ue.type===se){var Lr=Jc(ue.props.children,ce.mode,qe,ue.key);return Lr.return=ce,Lr}else{var Ua=z0(ue,ce.mode,qe);return Ua.ref=fh(ce,De,ue),Ua.return=ce,Ua}}function pr(ce,De,ue,qe){for(var ct=ue.key,at=De;at!==null;){if(at.key===ct)if(at.tag===S&&at.stateNode.containerInfo===ue.containerInfo&&at.stateNode.implementation===ue.implementation){n(ce,at.sibling);var Ht=c(at,ue.children||[]);return Ht.return=ce,Ht}else{n(ce,at);break}else t(ce,at);at=at.sibling}var Kt=F0(ue,ce.mode,qe);return Kt.return=ce,Kt}function hr(ce,De,ue,qe){var ct=typeof ue=="object"&&ue!==null&&ue.type===se&&ue.key===null;if(ct&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case V:return _(St(ce,De,ue,qe));case ae:return _(pr(ce,De,ue,qe));case Je:var at=ue._payload,Ht=ue._init;return hr(ce,De,Ht(at),qe)}if(rn(ue))return Ce(ce,De,ue,qe);if(Ga(ue))return rt(ce,De,ue,qe);Av(ce,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"?_(Rt(ce,De,""+ue,qe)):(typeof ue=="function"&&Lv(ce),n(ce,De))}return hr}var ud=sx(!0),cx=sx(!1);function qF(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 YF(e,t){for(var n=e.child;n!==null;)BU(n,t),n=n.sibling}var V1=Bc(null),W1;W1={};var Nv=null,fd=null,q1=null,Ov=!1;function Mv(){Nv=null,fd=null,q1=null,Ov=!1}function ux(){Ov=!0}function fx(){Ov=!1}function dx(e,t,n){Bn(V1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==W1&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=W1}function Y1(e,t){var n=V1.current;zn(V1,t),e._currentValue=n}function $1(e,t,n){for(var i=e;i!==null;){var c=i.alternate;if(Kf(i.childLanes,t)?c!==null&&!Kf(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 $F(e,t,n){GF(e,t,n)}function GF(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=Dp(n),C=Qs(ma,y);C.tag=Iv;var E=i.updateQueue;if(E!==null){var A=E.shared,Z=A.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),A.pending=C}}i.lanes=ir(i.lanes,n);var J=i.alternate;J!==null&&(J.lanes=ir(J.lanes,n)),$1(i.return,n,e),d.lanes=ir(d.lanes,n);break}_=_.next}}else if(i.tag===O)c=i.type===e.type?null:i.child;else if(i.tag===be){var me=i.return;if(me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");me.lanes=ir(me.lanes,n);var ve=me.alternate;ve!==null&&(ve.lanes=ir(ve.lanes,n)),$1(me,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 Ce=c.sibling;if(Ce!==null){Ce.return=c.return,c=Ce;break}c=c.return}i=c}}function dd(e,t){Nv=e,fd=null,q1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Po(n.lanes,t)&&Th(),n.firstContext=null)}}function Qa(e){Ov&&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(q1!==e){var n={context:e,memoizedValue:t,next:null};if(fd===null){if(Nv===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().");fd=n,Nv.dependencies={lanes:ze,firstContext:n}}else fd=fd.next=n}return t}var Wu=null;function G1(e){Wu===null?Wu=[e]:Wu.push(e)}function KF(){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,G1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Pv(e,i)}function XF(e,t,n,i){var c=t.interleaved;c===null?(n.next=n,G1(t)):(n.next=c.next,c.next=n),t.interleaved=n}function QF(e,t,n,i){var c=t.interleaved;return c===null?(n.next=n,G1(t)):(n.next=c.next,c.next=n),t.interleaved=n,Pv(e,i)}function bo(e,t){return Pv(e,t)}var JF=Pv;function Pv(e,t){e.lanes=ir(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=ir(n.lanes,t)),n===null&&(e.flags&(Xa|js))!==It&&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&(Xa|js))!==It&&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,Iv=2,K1=3,zv=!1,X1,Bv;X1=!1,Bv=null;function Q1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ze},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 Qs(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(Bv===c&&!X1&&(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."),X1=!0),tU()){var d=c.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),c.pending=t,JF(e,n)}else return QF(e,c,t,n)}function Fv(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=_,Vb(e,_)}}}function J1(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 ZF(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&Ma){gn(!0);try{_.call(d,i,c)}finally{gn(!1)}}fx()}return y}return _}case K1:e.flags=e.flags&~Gn|Pr;case hx:{var C=n.payload,E;if(typeof C=="function"){ux(),E=C.call(d,i,c);{if(e.mode&Ma){gn(!0);try{C.call(d,i,c)}finally{gn(!1)}}fx()}}else E=C;return E==null?i:Nt({},i,E)}case Iv:return zv=!0,i}return i}function jv(e,t,n,i){var c=e.updateQueue;zv=!1,Bv=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 Z=A.updateQueue,J=Z.lastBaseUpdate;J!==_&&(J===null?Z.firstBaseUpdate=E:J.next=E,Z.lastBaseUpdate=C)}}if(d!==null){var me=c.baseState,ve=ze,Ce=null,rt=null,Rt=null,St=d;do{var pr=St.lane,hr=St.eventTime;if(Kf(i,pr)){if(Rt!==null){var De={eventTime:hr,lane:bn,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt=Rt.next=De}me=ZF(e,c,St,me,t,n);var ue=St.callback;if(ue!==null&&St.lane!==bn){e.flags|=ub;var qe=c.effects;qe===null?c.effects=[St]:qe.push(St)}}else{var ce={eventTime:hr,lane:pr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt===null?(rt=Rt=ce,Ce=me):Rt=Rt.next=ce,ve=ir(ve,pr)}if(St=St.next,St===null){if(y=c.shared.pending,y===null)break;var ct=y,at=ct.next;ct.next=null,St=at,c.lastBaseUpdate=ct,c.shared.pending=null}}while(!0);Rt===null&&(Ce=me),c.baseState=Ce,c.firstBaseUpdate=rt,c.lastBaseUpdate=Rt;var Ht=c.shared.interleaved;if(Ht!==null){var Kt=Ht;do ve=ir(ve,Kt.lane),Kt=Kt.next;while(Kt!==Ht)}else d===null&&(c.shared.lanes=ze);Bh(ve),e.lanes=ve,e.memoizedState=me}Bv=null}function ej(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(){zv=!1}function Hv(){return zv}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,ej(_,n))}}var dh={},Vc=Bc(dh),ph=Bc(dh),Uv=Bc(dh);function Vv(e){if(e===dh)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=Vv(Uv.current);return e}function Z1(e,t){Bn(Uv,t,e),Bn(ph,e,e),Bn(Vc,dh,e);var n=_9(t);zn(Vc,e),Bn(Vc,n,e)}function pd(e){zn(Vc,e),zn(ph,e),zn(Uv,e)}function ey(){var e=Vv(Vc.current);return e}function yx(e){var t=Vv(Uv.current),n=Vv(Vc.current),i=g9(n,e.type);n!==i&&(Bn(ph,e,e),Bn(Vc,i,e))}function ty(e){ph.current===e&&(zn(Vc,e),zn(ph,e))}var tj=0,Sx=1,wx=1,hh=2,Hl=Bc(tj);function ry(e,t){return(e&t)!==0}function hd(e){return e&Sx}function ay(e,t){return e&Sx|t}function rj(e,t){return e|t}function Wc(e,t){Bn(Hl,t,e)}function md(e){zn(Hl,e)}function aj(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Wv(e){for(var t=e;t!==null;){if(t.tag===Q){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||FC(i)||S1(i))return t}}else if(t.tag===ye&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Pr)!==It;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 yo=0,an=1,hs=2,nn=4,En=8,ny=[];function oy(){for(var e=0;e<ny.length;e++){var t=ny[e];t._workInProgressVersionPrimary=null}ny.length=0}function nj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var it=o.ReactCurrentDispatcher,mh=o.ReactCurrentBatchConfig,iy,vd;iy=new Set;var qu=ze,Xr=null,on=null,ln=null,qv=!1,vh=!1,_h=0,oj=0,ij=25,Ne=null,yl=null,qc=-1,ly=!1;function Br(){{var e=Ne;yl===null?yl=[e]:yl.push(e)}}function tt(){{var e=Ne;yl!==null&&(qc++,yl[qc]!==e&&lj(e))}}function _d(e){e!=null&&!rn(e)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ne,typeof e)}function lj(e){{var t=rr(Xr);if(!iy.has(t)&&(iy.add(t),yl!==null)){for(var n="",i=30,c=0;c<=qc;c++){for(var d=yl[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
|
|
@@ -78,14 +78,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
78
78
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
79
79
|
2. You might be breaking the Rules of Hooks
|
|
80
80
|
3. You might have more than one copy of React in the same app
|
|
81
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function
|
|
81
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function sy(e,t){if(ly)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.",Ne),!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`,Ne,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Bo(e[n],t[n]))return!1;return!0}function vd(e,t,n,i,c,d){Wu=d,Xr=t,bl=e!==null?e._debugHookTypes:null,qc=-1,iy=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ze,e!==null&&e.memoizedState!==null?it.current=Wx:bl!==null?it.current=Vx:it.current=Ux;var _=n(i,c);if(mh){var y=0;do{if(mh=!1,vh=0,y>=ij)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,iy=!1,nn=null,on=null,t.updateQueue=null,qc=-1,it.current=qx,_=n(i,c)}while(mh)}it.current=a_,t._debugHookTypes=bl;var w=nn!==null&&nn.next!==null;if(Wu=ze,Xr=null,nn=null,on=null,Ne=null,bl=null,qc=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&br)!==Ot&&u("Internal React error: Expected static flag was missing. Please notify the React team."),Wv=!1,w)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&cs)!==Ot?t.flags&=~(Bm|Hs|Ml|Tr):t.flags&=~(Ml|Tr),e.lanes=qm(e.lanes,n)}function xx(){if(it.current=a_,Wv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wv=!1}Wu=ze,Xr=null,nn=null,on=null,bl=null,qc=-1,Ne=null,zx=!1,mh=!1,vh=0}function hs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return on===null?Xr.memoizedState=on=e:on=on.next=e,on}function yl(){var e;if(nn===null){var t=Xr.alternate;t!==null?e=t.memoizedState:e=null}else e=nn.next;var n;if(on===null?n=Xr.memoizedState:n=on.next,n!==null)on=n,n=on.next,nn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");nn=e;var i={memoizedState:nn.memoizedState,baseState:nn.baseState,baseQueue:nn.baseQueue,queue:nn.queue,next:null};on===null?Xr.memoizedState=on=i:on=on.next=i}return on}function kx(){return{lastEffect:null,stores:null}}function sy(e,t){return typeof t=="function"?t(e):t}function cy(e,t,n){var i=hs(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var d={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=d;var _=d.dispatch=fj.bind(null,Xr,d);return[i.memoizedState,_]}function uy(e,t,n){var i=yl(),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=nn,_=d.baseQueue,y=c.pending;if(y!==null){if(_!==null){var w=_.next,E=y.next;_.next=E,y.next=w}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,Z=d.baseState,J=null,me=null,ve=null,Ce=A;do{var rt=Ce.lane;if($f(Wu,rt)){if(ve!==null){var St={lane:bn,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ve=ve.next=St}if(Ce.hasEagerState)Z=Ce.eagerState;else{var pr=Ce.action;Z=e(Z,pr)}}else{var Rt={lane:rt,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ve===null?(me=ve=Rt,J=Z):ve=ve.next=Rt,Xr.lanes=ir(Xr.lanes,rt),zh(rt)}Ce=Ce.next}while(Ce!==null&&Ce!==A);ve===null?J=Z:ve.next=me,Bo(Z,i.memoizedState)||kh(),i.memoizedState=Z,i.baseState=J,i.baseQueue=ve,c.lastRenderedState=Z}var hr=c.interleaved;if(hr!==null){var ce=hr;do{var De=ce.lane;Xr.lanes=ir(Xr.lanes,De),zh(De),ce=ce.next}while(ce!==hr)}else _===null&&(c.lanes=ze);var ue=c.dispatch;return[i.memoizedState,ue]}function fy(e,t,n){var i=yl(),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 w=_.next,E=w;do{var A=E.action;y=e(y,A),E=E.next}while(E!==w);Bo(y,i.memoizedState)||kh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),c.lastRenderedState=y}return[y,d]}function Y$(e,t,n){}function $$(e,t,n){}function dy(e,t,n){var i=Xr,c=hs(),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();Bo(d,y)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var w=w_();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Wm(w,Wu)||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|=Ml,_h(rn|En,Ex.bind(null,i,E,d,t),void 0,null),d}function qv(e,t,n){var i=Xr,c=yl(),d=t();if(!hd){var _=t();Bo(d,_)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var y=c.memoizedState,w=!Bo(y,d);w&&(c.memoizedState=d,kh());var E=c.queue;if(bh(Rx.bind(null,i,E,e),[e]),E.getSnapshot!==t||w||on!==null&&on.memoizedState.tag&rn){i.flags|=Ml,_h(rn|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,Wu)||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!Bo(n,i)}catch(c){return!0}}function Ax(e){var t=bo(e,qt);t!==null&&un(t,e,qt,ma)}function Yv(e){var t=hs();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:sy,lastRenderedState:e};t.queue=n;var i=n.dispatch=dj.bind(null,Xr,n);return[t.memoizedState,i]}function py(e){return uy(sy)}function hy(e){return fy(sy)}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 my(e){var t=hs();{var n={current:e};return t.memoizedState=n,n}}function $v(e){var t=yl();return t.memoizedState}function gh(e,t,n,i){var c=hs(),d=i===void 0?null:i;Xr.flags|=e,c.memoizedState=_h(rn|t,n,void 0,d)}function Gv(e,t,n,i){var c=yl(),d=i===void 0?null:i,_=void 0;if(nn!==null){var y=nn.memoizedState;if(_=y.destroy,d!==null){var w=y.deps;if(ly(d,w)){c.memoizedState=_h(t,n,_,d);return}}}Xr.flags|=e,c.memoizedState=_h(rn|t,n,_,d)}function Kv(e,t){return(Xr.mode&cs)!==Ot?gh(Bm|Ml|db,En,e,t):gh(Ml|db,En,e,t)}function bh(e,t){return Gv(Ml,En,e,t)}function vy(e,t){return gh(Tr,ps,e,t)}function Xv(e,t){return Gv(Tr,ps,e,t)}function _y(e,t){var n=Tr;return n|=Tu,(Xr.mode&cs)!==Ot&&(n|=Hs),gh(n,an,e,t)}function Qv(e,t){return Gv(Tr,an,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 gy(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=Tr;return c|=Tu,(Xr.mode&cs)!==Ot&&(c|=Hs),gh(c,an,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(Tr,an,Lx.bind(null,t,e),i)}function sj(e,t){}var Zv=sj;function by(e,t){var n=hs(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function e_(e,t){var n=yl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(ly(i,d))return c[0]}return n.memoizedState=[e,i],e}function yy(e,t){var n=hs(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function t_(e,t){var n=yl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(ly(i,d))return c[0]}var _=e();return n.memoizedState=[_,i],_}function Sy(e){var t=hs();return t.memoizedState=e,e}function Nx(e){var t=yl(),n=nn,i=n.memoizedState;return Mx(t,i,e)}function Ox(e){var t=yl();if(nn===null)return t.memoizedState=e,e;var n=nn.memoizedState;return Mx(t,n,e)}function Mx(e,t,n){var i=!$I(Wu);if(i){if(!Bo(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 cj(e,t,n){var i=Il();yn(rz(i,Ws)),e(!0);var c=hh.transition;hh.transition={};var d=hh.transition;hh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(yn(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 wy(){var e=Yv(!1),t=e[0],n=e[1],i=cj.bind(null,n),c=hs();return c.memoizedState=i,[t,i]}function Px(){var e=py(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}function Ix(){var e=hy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}var zx=!1;function uj(){return zx}function Cy(){var e=hs(),t=w_(),n=t.identifierPrefix,i;if(Tn()){var c=EF();i=":"+n+"R"+c;var d=vh++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var _=oj++;i=":"+n+"r"+_.toString(32)+":"}return e.memoizedState=i,i}function r_(){var e=yl(),t=e.memoizedState;return t}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=px(e,t,c,i);if(d!==null){var _=Qn();un(d,e,i,_),jx(d,t,i)}}Hx(e,i)}function dj(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===ze&&(d===null||d.lanes===ze)){var _=t.lastRenderedReducer;if(_!==null){var y;y=it.current,it.current=Hl;try{var w=t.lastRenderedState,E=_(w,n);if(c.hasEagerState=!0,c.eagerState=E,Bo(E,w)){XF(e,t,c,i);return}}catch(J){}finally{it.current=y}}}var A=px(e,t,c,i);if(A!==null){var Z=Qn();un(A,e,i,Z),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,Ub(e,c)}}function Hx(e,t,n){_b(e,t)}var a_={readContext:Xa,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:ne},Ux=null,Vx=null,Wx=null,qx=null,ms=null,Hl=null,n_=null;{var xy=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 Xa(e)},useCallback:function(e,t){return Ne="useCallback",Br(),md(t),by(e,t)},useContext:function(e){return Ne="useContext",Br(),Xa(e)},useEffect:function(e,t){return Ne="useEffect",Br(),md(t),Kv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Br(),md(n),gy(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Br(),md(t),vy(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Br(),md(t),_y(e,t)},useMemo:function(e,t){Ne="useMemo",Br(),md(t);var n=it.current;it.current=ms;try{return yy(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",Br();var i=it.current;it.current=ms;try{return cy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",Br(),my(e)},useState:function(e){Ne="useState",Br();var t=it.current;it.current=ms;try{return Yv(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",Br(),Sy(e)},useTransition:function(){return Ne="useTransition",Br(),wy()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Br(),dy(e,t,n)},useId:function(){return Ne="useId",Br(),Cy()},unstable_isNewReconciler:ne},Vx={readContext:function(e){return Xa(e)},useCallback:function(e,t){return Ne="useCallback",tt(),by(e,t)},useContext:function(e){return Ne="useContext",tt(),Xa(e)},useEffect:function(e,t){return Ne="useEffect",tt(),Kv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",tt(),gy(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",tt(),vy(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",tt(),_y(e,t)},useMemo:function(e,t){Ne="useMemo",tt();var n=it.current;it.current=ms;try{return yy(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",tt();var i=it.current;it.current=ms;try{return cy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",tt(),my(e)},useState:function(e){Ne="useState",tt();var t=it.current;it.current=ms;try{return Yv(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",tt(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",tt(),Sy(e)},useTransition:function(){return Ne="useTransition",tt(),wy()},useMutableSource:function(e,t,n){return Ne="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",tt(),dy(e,t,n)},useId:function(){return Ne="useId",tt(),Cy()},unstable_isNewReconciler:ne},Wx={readContext:function(e){return Xa(e)},useCallback:function(e,t){return Ne="useCallback",tt(),e_(e,t)},useContext:function(e){return Ne="useContext",tt(),Xa(e)},useEffect:function(e,t){return Ne="useEffect",tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",tt(),Qv(e,t)},useMemo:function(e,t){Ne="useMemo",tt();var n=it.current;it.current=Hl;try{return t_(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",tt();var i=it.current;it.current=Hl;try{return uy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",tt(),$v()},useState:function(e){Ne="useState",tt();var t=it.current;it.current=Hl;try{return py(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",tt(),Zv()},useDeferredValue:function(e){return Ne="useDeferredValue",tt(),Nx(e)},useTransition:function(){return Ne="useTransition",tt(),Px()},useMutableSource:function(e,t,n){return Ne="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",tt(),qv(e,t)},useId:function(){return Ne="useId",tt(),r_()},unstable_isNewReconciler:ne},qx={readContext:function(e){return Xa(e)},useCallback:function(e,t){return Ne="useCallback",tt(),e_(e,t)},useContext:function(e){return Ne="useContext",tt(),Xa(e)},useEffect:function(e,t){return Ne="useEffect",tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",tt(),Qv(e,t)},useMemo:function(e,t){Ne="useMemo",tt();var n=it.current;it.current=n_;try{return t_(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",tt();var i=it.current;it.current=n_;try{return fy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",tt(),$v()},useState:function(e){Ne="useState",tt();var t=it.current;it.current=n_;try{return hy(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",tt(),Zv()},useDeferredValue:function(e){return Ne="useDeferredValue",tt(),Ox(e)},useTransition:function(){return Ne="useTransition",tt(),Ix()},useMutableSource:function(e,t,n){return Ne="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",tt(),qv(e,t)},useId:function(){return Ne="useId",tt(),r_()},unstable_isNewReconciler:ne},ms={readContext:function(e){return xy(),Xa(e)},useCallback:function(e,t){return Ne="useCallback",Yt(),Br(),by(e,t)},useContext:function(e){return Ne="useContext",Yt(),Br(),Xa(e)},useEffect:function(e,t){return Ne="useEffect",Yt(),Br(),Kv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Yt(),Br(),gy(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Yt(),Br(),vy(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Yt(),Br(),_y(e,t)},useMemo:function(e,t){Ne="useMemo",Yt(),Br();var n=it.current;it.current=ms;try{return yy(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",Yt(),Br();var i=it.current;it.current=ms;try{return cy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",Yt(),Br(),my(e)},useState:function(e){Ne="useState",Yt(),Br();var t=it.current;it.current=ms;try{return Yv(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",Yt(),Br(),Sy(e)},useTransition:function(){return Ne="useTransition",Yt(),Br(),wy()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Yt(),Br(),dy(e,t,n)},useId:function(){return Ne="useId",Yt(),Br(),Cy()},unstable_isNewReconciler:ne},Hl={readContext:function(e){return xy(),Xa(e)},useCallback:function(e,t){return Ne="useCallback",Yt(),tt(),e_(e,t)},useContext:function(e){return Ne="useContext",Yt(),tt(),Xa(e)},useEffect:function(e,t){return Ne="useEffect",Yt(),tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Yt(),tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Yt(),tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Yt(),tt(),Qv(e,t)},useMemo:function(e,t){Ne="useMemo",Yt(),tt();var n=it.current;it.current=Hl;try{return t_(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",Yt(),tt();var i=it.current;it.current=Hl;try{return uy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",Yt(),tt(),$v()},useState:function(e){Ne="useState",Yt(),tt();var t=it.current;it.current=Hl;try{return py(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Yt(),tt(),Zv()},useDeferredValue:function(e){return Ne="useDeferredValue",Yt(),tt(),Nx(e)},useTransition:function(){return Ne="useTransition",Yt(),tt(),Px()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Yt(),tt(),qv(e,t)},useId:function(){return Ne="useId",Yt(),tt(),r_()},unstable_isNewReconciler:ne},n_={readContext:function(e){return xy(),Xa(e)},useCallback:function(e,t){return Ne="useCallback",Yt(),tt(),e_(e,t)},useContext:function(e){return Ne="useContext",Yt(),tt(),Xa(e)},useEffect:function(e,t){return Ne="useEffect",Yt(),tt(),bh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Yt(),tt(),Jv(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Yt(),tt(),Xv(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Yt(),tt(),Qv(e,t)},useMemo:function(e,t){Ne="useMemo",Yt(),tt();var n=it.current;it.current=Hl;try{return t_(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",Yt(),tt();var i=it.current;it.current=Hl;try{return fy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",Yt(),tt(),$v()},useState:function(e){Ne="useState",Yt(),tt();var t=it.current;it.current=Hl;try{return hy(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Yt(),tt(),Zv()},useDeferredValue:function(e){return Ne="useDeferredValue",Yt(),tt(),Ox(e)},useTransition:function(){return Ne="useTransition",Yt(),tt(),Ix()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Yt(),tt(),qv(e,t)},useId:function(){return Ne="useId",Yt(),tt(),r_()},unstable_isNewReconciler:ne}}var Yc=a.unstable_now,Yx=0,o_=-1,yh=-1,i_=-1,ky=!1,l_=!1;function $x(){return ky}function pj(){l_=!0}function hj(){ky=!1,l_=!1}function mj(){ky=l_,l_=!1}function Gx(){return Yx}function Kx(){Yx=Yc()}function Ty(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 vs(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 Ey(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 _s(){o_=Yc()}function Ry(){i_=Yc()}function Dy(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ul(e,t){if(e&&e.defaultProps){var n=Nt({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var Ay={},Ly,Ny,Oy,My,Py,Qx,c_,Iy,zy,By,Sh;{Ly=new Set,Ny=new Set,Oy=new Set,My=new Set,Iy=new Set,Py=new Set,zy=new Set,By=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";Py.has(n)||(Py.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ay,"_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(Ay)}function Fy(e,t,n,i){var c=e.memoizedState,d=n(i,c);{if(e.mode&Ma){gn(!0);try{d=n(i,c)}finally{gn(!1)}}Qx(t,d)}var _=d==null?c:Nt({},c,d);if(e.memoizedState=_,e.lanes===ze){var y=e.updateQueue;y.baseState=_}}var jy={isMounted:iI,enqueueSetState:function(e,t,n){var i=jf(e),c=Qn(),d=Xc(i),_=Qs(c,d);_.payload=t,n!=null&&(c_(n,"setState"),_.callback=n);var y=Uc(i,_,d);y!==null&&(un(y,i,d,c),Bv(y,i,d)),_b(i,d)},enqueueReplaceState:function(e,t,n){var i=jf(e),c=Qn(),d=Xc(i),_=Qs(c,d);_.tag=mx,_.payload=t,n!=null&&(c_(n,"replaceState"),_.callback=n);var y=Uc(i,_,d);y!==null&&(un(y,i,d,c),Bv(y,i,d)),_b(i,d)},enqueueForceUpdate:function(e,t){var n=jf(e),i=Qn(),c=Xc(n),d=Qs(i,c);d.tag=Pv,t!=null&&(c_(t,"forceUpdate"),d.callback=t);var _=Uc(n,d,c);_!==null&&(un(_,n,c,i),Bv(_,n,c)),zI(n,c)}};function Zx(e,t,n,i,c,d,_){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var w=y.shouldComponentUpdate(i,d,_);{if(e.mode&Ma){gn(!0);try{w=y.shouldComponentUpdate(i,d,_)}finally{gn(!1)}}w===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return w}return t.prototype&&t.prototype.isPureReactComponent?!Vp(n,i)||!Vp(c,d):!0}function vj(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&Ma)===Ot&&(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`,Ne,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Bo(e[n],t[n]))return!1;return!0}function gd(e,t,n,i,c,d){qu=d,Xr=t,yl=e!==null?e._debugHookTypes:null,qc=-1,ly=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ze,e!==null&&e.memoizedState!==null?it.current=Wx:yl!==null?it.current=Vx:it.current=Ux;var _=n(i,c);if(vh){var y=0;do{if(vh=!1,_h=0,y>=ij)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,ly=!1,on=null,ln=null,t.updateQueue=null,qc=-1,it.current=qx,_=n(i,c)}while(vh)}it.current=n_,t._debugHookTypes=yl;var C=on!==null&&on.next!==null;if(qu=ze,Xr=null,on=null,ln=null,Ne=null,yl=null,qc=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&br)!==Ot&&u("Internal React error: Expected static flag was missing. Please notify the React team."),qv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return _}function bd(){var e=_h!==0;return _h=0,e}function Cx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&us)!==Ot?t.flags&=~(Fm|Hs|Pl|Tr):t.flags&=~(Pl|Tr),e.lanes=Ym(e.lanes,n)}function xx(){if(it.current=n_,qv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}qv=!1}qu=ze,Xr=null,on=null,ln=null,yl=null,qc=-1,Ne=null,zx=!1,vh=!1,_h=0}function ms(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ln===null?Xr.memoizedState=ln=e:ln=ln.next=e,ln}function Sl(){var e;if(on===null){var t=Xr.alternate;t!==null?e=t.memoizedState:e=null}else e=on.next;var n;if(ln===null?n=Xr.memoizedState:n=ln.next,n!==null)ln=n,n=ln.next,on=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");on=e;var i={memoizedState:on.memoizedState,baseState:on.baseState,baseQueue:on.baseQueue,queue:on.queue,next:null};ln===null?Xr.memoizedState=ln=i:ln=ln.next=i}return ln}function kx(){return{lastEffect:null,stores:null}}function cy(e,t){return typeof t=="function"?t(e):t}function uy(e,t,n){var i=ms(),c;n!==void 0?c=n(t):c=t,i.memoizedState=i.baseState=c;var d={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};i.queue=d;var _=d.dispatch=fj.bind(null,Xr,d);return[i.memoizedState,_]}function fy(e,t,n){var i=Sl(),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=on,_=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,Z=d.baseState,J=null,me=null,ve=null,Ce=A;do{var rt=Ce.lane;if(Kf(qu,rt)){if(ve!==null){var St={lane:bn,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ve=ve.next=St}if(Ce.hasEagerState)Z=Ce.eagerState;else{var pr=Ce.action;Z=e(Z,pr)}}else{var Rt={lane:rt,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ve===null?(me=ve=Rt,J=Z):ve=ve.next=Rt,Xr.lanes=ir(Xr.lanes,rt),Bh(rt)}Ce=Ce.next}while(Ce!==null&&Ce!==A);ve===null?J=Z:ve.next=me,Bo(Z,i.memoizedState)||Th(),i.memoizedState=Z,i.baseState=J,i.baseQueue=ve,c.lastRenderedState=Z}var hr=c.interleaved;if(hr!==null){var ce=hr;do{var De=ce.lane;Xr.lanes=ir(Xr.lanes,De),Bh(De),ce=ce.next}while(ce!==hr)}else _===null&&(c.lanes=ze);var ue=c.dispatch;return[i.memoizedState,ue]}function dy(e,t,n){var i=Sl(),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);Bo(y,i.memoizedState)||Th(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),c.lastRenderedState=y}return[y,d]}function Y$(e,t,n){}function $$(e,t,n){}function py(e,t,n){var i=Xr,c=ms(),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(),vd||d!==n()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),vd=!0)}else{if(d=t(),!vd){var y=t();Bo(d,y)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),vd=!0)}var C=C_();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");qm(C,qu)||Tx(i,t,d)}c.memoizedState=d;var E={value:d,getSnapshot:t};return c.queue=E,Xv(Rx.bind(null,i,E,e),[e]),i.flags|=Pl,gh(an|En,Ex.bind(null,i,E,d,t),void 0,null),d}function Yv(e,t,n){var i=Xr,c=Sl(),d=t();if(!vd){var _=t();Bo(d,_)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),vd=!0)}var y=c.memoizedState,C=!Bo(y,d);C&&(c.memoizedState=d,Th());var E=c.queue;if(yh(Rx.bind(null,i,E,e),[e]),E.getSnapshot!==t||C||ln!==null&&ln.memoizedState.tag&an){i.flags|=Pl,gh(an|En,Ex.bind(null,i,E,d,t),void 0,null);var A=C_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");qm(A,qu)||Tx(i,t,d)}return d}function Tx(e,t,n){e.flags|=Bm;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!Bo(n,i)}catch(c){return!0}}function Ax(e){var t=bo(e,qt);t!==null&&fn(t,e,qt,ma)}function $v(e){var t=ms();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:cy,lastRenderedState:e};t.queue=n;var i=n.dispatch=dj.bind(null,Xr,n);return[t.memoizedState,i]}function hy(e){return fy(cy)}function my(e){return dy(cy)}function gh(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 vy(e){var t=ms();{var n={current:e};return t.memoizedState=n,n}}function Gv(e){var t=Sl();return t.memoizedState}function bh(e,t,n,i){var c=ms(),d=i===void 0?null:i;Xr.flags|=e,c.memoizedState=gh(an|t,n,void 0,d)}function Kv(e,t,n,i){var c=Sl(),d=i===void 0?null:i,_=void 0;if(on!==null){var y=on.memoizedState;if(_=y.destroy,d!==null){var C=y.deps;if(sy(d,C)){c.memoizedState=gh(t,n,_,d);return}}}Xr.flags|=e,c.memoizedState=gh(an|t,n,_,d)}function Xv(e,t){return(Xr.mode&us)!==Ot?bh(Fm|Pl|pb,En,e,t):bh(Pl|pb,En,e,t)}function yh(e,t){return Kv(Pl,En,e,t)}function _y(e,t){return bh(Tr,hs,e,t)}function Qv(e,t){return Kv(Tr,hs,e,t)}function gy(e,t){var n=Tr;return n|=Eu,(Xr.mode&us)!==Ot&&(n|=Hs),bh(n,nn,e,t)}function Jv(e,t){return Kv(Tr,nn,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 by(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=Tr;return c|=Eu,(Xr.mode&us)!==Ot&&(c|=Hs),bh(c,nn,Lx.bind(null,t,e),i)}function Zv(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 Kv(Tr,nn,Lx.bind(null,t,e),i)}function sj(e,t){}var e_=sj;function yy(e,t){var n=ms(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function t_(e,t){var n=Sl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(sy(i,d))return c[0]}return n.memoizedState=[e,i],e}function Sy(e,t){var n=ms(),i=t===void 0?null:t,c=e();return n.memoizedState=[c,i],c}function r_(e,t){var n=Sl(),i=t===void 0?null:t,c=n.memoizedState;if(c!==null&&i!==null){var d=c[1];if(sy(i,d))return c[0]}var _=e();return n.memoizedState=[_,i],_}function wy(e){var t=ms();return t.memoizedState=e,e}function Nx(e){var t=Sl(),n=on,i=n.memoizedState;return Mx(t,i,e)}function Ox(e){var t=Sl();if(on===null)return t.memoizedState=e,e;var n=on.memoizedState;return Mx(t,n,e)}function Mx(e,t,n){var i=!$I(qu);if(i){if(!Bo(n,t)){var c=A3();Xr.lanes=ir(Xr.lanes,c),Bh(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Th()),e.memoizedState=n,n}function cj(e,t,n){var i=zl();yn(rz(i,Ws)),e(!0);var c=mh.transition;mh.transition={};var d=mh.transition;mh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(yn(i),mh.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 Cy(){var e=$v(!1),t=e[0],n=e[1],i=cj.bind(null,n),c=ms();return c.memoizedState=i,[t,i]}function Px(){var e=hy(),t=e[0],n=Sl(),i=n.memoizedState;return[t,i]}function Ix(){var e=my(),t=e[0],n=Sl(),i=n.memoizedState;return[t,i]}var zx=!1;function uj(){return zx}function xy(){var e=ms(),t=C_(),n=t.identifierPrefix,i;if(Tn()){var c=EF();i=":"+n+"R"+c;var d=_h++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var _=oj++;i=":"+n+"r"+_.toString(32)+":"}return e.memoizedState=i,i}function a_(){var e=Sl(),t=e.memoizedState;return t}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=px(e,t,c,i);if(d!==null){var _=Qn();fn(d,e,i,_),jx(d,t,i)}}Hx(e,i)}function dj(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===ze&&(d===null||d.lanes===ze)){var _=t.lastRenderedReducer;if(_!==null){var y;y=it.current,it.current=Ul;try{var C=t.lastRenderedState,E=_(C,n);if(c.hasEagerState=!0,c.eagerState=E,Bo(E,C)){XF(e,t,c,i);return}}catch(J){}finally{it.current=y}}}var A=px(e,t,c,i);if(A!==null){var Z=Qn();fn(A,e,i,Z),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){vh=qv=!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,Vb(e,c)}}function Hx(e,t,n){gb(e,t)}var n_={readContext:Qa,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:ne},Ux=null,Vx=null,Wx=null,qx=null,vs=null,Ul=null,o_=null;{var ky=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 Qa(e)},useCallback:function(e,t){return Ne="useCallback",Br(),_d(t),yy(e,t)},useContext:function(e){return Ne="useContext",Br(),Qa(e)},useEffect:function(e,t){return Ne="useEffect",Br(),_d(t),Xv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Br(),_d(n),by(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Br(),_d(t),_y(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Br(),_d(t),gy(e,t)},useMemo:function(e,t){Ne="useMemo",Br(),_d(t);var n=it.current;it.current=vs;try{return Sy(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",Br();var i=it.current;it.current=vs;try{return uy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",Br(),vy(e)},useState:function(e){Ne="useState",Br();var t=it.current;it.current=vs;try{return $v(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",Br(),wy(e)},useTransition:function(){return Ne="useTransition",Br(),Cy()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Br(),py(e,t,n)},useId:function(){return Ne="useId",Br(),xy()},unstable_isNewReconciler:ne},Vx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Ne="useCallback",tt(),yy(e,t)},useContext:function(e){return Ne="useContext",tt(),Qa(e)},useEffect:function(e,t){return Ne="useEffect",tt(),Xv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",tt(),by(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",tt(),_y(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",tt(),gy(e,t)},useMemo:function(e,t){Ne="useMemo",tt();var n=it.current;it.current=vs;try{return Sy(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",tt();var i=it.current;it.current=vs;try{return uy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",tt(),vy(e)},useState:function(e){Ne="useState",tt();var t=it.current;it.current=vs;try{return $v(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",tt(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",tt(),wy(e)},useTransition:function(){return Ne="useTransition",tt(),Cy()},useMutableSource:function(e,t,n){return Ne="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",tt(),py(e,t,n)},useId:function(){return Ne="useId",tt(),xy()},unstable_isNewReconciler:ne},Wx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Ne="useCallback",tt(),t_(e,t)},useContext:function(e){return Ne="useContext",tt(),Qa(e)},useEffect:function(e,t){return Ne="useEffect",tt(),yh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",tt(),Zv(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",tt(),Qv(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",tt(),Jv(e,t)},useMemo:function(e,t){Ne="useMemo",tt();var n=it.current;it.current=Ul;try{return r_(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",tt();var i=it.current;it.current=Ul;try{return fy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",tt(),Gv()},useState:function(e){Ne="useState",tt();var t=it.current;it.current=Ul;try{return hy(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",tt(),e_()},useDeferredValue:function(e){return Ne="useDeferredValue",tt(),Nx(e)},useTransition:function(){return Ne="useTransition",tt(),Px()},useMutableSource:function(e,t,n){return Ne="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",tt(),Yv(e,t)},useId:function(){return Ne="useId",tt(),a_()},unstable_isNewReconciler:ne},qx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Ne="useCallback",tt(),t_(e,t)},useContext:function(e){return Ne="useContext",tt(),Qa(e)},useEffect:function(e,t){return Ne="useEffect",tt(),yh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",tt(),Zv(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",tt(),Qv(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",tt(),Jv(e,t)},useMemo:function(e,t){Ne="useMemo",tt();var n=it.current;it.current=o_;try{return r_(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",tt();var i=it.current;it.current=o_;try{return dy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",tt(),Gv()},useState:function(e){Ne="useState",tt();var t=it.current;it.current=o_;try{return my(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",tt(),e_()},useDeferredValue:function(e){return Ne="useDeferredValue",tt(),Ox(e)},useTransition:function(){return Ne="useTransition",tt(),Ix()},useMutableSource:function(e,t,n){return Ne="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",tt(),Yv(e,t)},useId:function(){return Ne="useId",tt(),a_()},unstable_isNewReconciler:ne},vs={readContext:function(e){return ky(),Qa(e)},useCallback:function(e,t){return Ne="useCallback",Yt(),Br(),yy(e,t)},useContext:function(e){return Ne="useContext",Yt(),Br(),Qa(e)},useEffect:function(e,t){return Ne="useEffect",Yt(),Br(),Xv(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Yt(),Br(),by(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Yt(),Br(),_y(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Yt(),Br(),gy(e,t)},useMemo:function(e,t){Ne="useMemo",Yt(),Br();var n=it.current;it.current=vs;try{return Sy(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",Yt(),Br();var i=it.current;it.current=vs;try{return uy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",Yt(),Br(),vy(e)},useState:function(e){Ne="useState",Yt(),Br();var t=it.current;it.current=vs;try{return $v(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Ne="useDeferredValue",Yt(),Br(),wy(e)},useTransition:function(){return Ne="useTransition",Yt(),Br(),Cy()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Yt(),Br(),py(e,t,n)},useId:function(){return Ne="useId",Yt(),Br(),xy()},unstable_isNewReconciler:ne},Ul={readContext:function(e){return ky(),Qa(e)},useCallback:function(e,t){return Ne="useCallback",Yt(),tt(),t_(e,t)},useContext:function(e){return Ne="useContext",Yt(),tt(),Qa(e)},useEffect:function(e,t){return Ne="useEffect",Yt(),tt(),yh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Yt(),tt(),Zv(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Yt(),tt(),Qv(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Yt(),tt(),Jv(e,t)},useMemo:function(e,t){Ne="useMemo",Yt(),tt();var n=it.current;it.current=Ul;try{return r_(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",Yt(),tt();var i=it.current;it.current=Ul;try{return fy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",Yt(),tt(),Gv()},useState:function(e){Ne="useState",Yt(),tt();var t=it.current;it.current=Ul;try{return hy(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Yt(),tt(),e_()},useDeferredValue:function(e){return Ne="useDeferredValue",Yt(),tt(),Nx(e)},useTransition:function(){return Ne="useTransition",Yt(),tt(),Px()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Yt(),tt(),Yv(e,t)},useId:function(){return Ne="useId",Yt(),tt(),a_()},unstable_isNewReconciler:ne},o_={readContext:function(e){return ky(),Qa(e)},useCallback:function(e,t){return Ne="useCallback",Yt(),tt(),t_(e,t)},useContext:function(e){return Ne="useContext",Yt(),tt(),Qa(e)},useEffect:function(e,t){return Ne="useEffect",Yt(),tt(),yh(e,t)},useImperativeHandle:function(e,t,n){return Ne="useImperativeHandle",Yt(),tt(),Zv(e,t,n)},useInsertionEffect:function(e,t){return Ne="useInsertionEffect",Yt(),tt(),Qv(e,t)},useLayoutEffect:function(e,t){return Ne="useLayoutEffect",Yt(),tt(),Jv(e,t)},useMemo:function(e,t){Ne="useMemo",Yt(),tt();var n=it.current;it.current=Ul;try{return r_(e,t)}finally{it.current=n}},useReducer:function(e,t,n){Ne="useReducer",Yt(),tt();var i=it.current;it.current=Ul;try{return dy(e,t,n)}finally{it.current=i}},useRef:function(e){return Ne="useRef",Yt(),tt(),Gv()},useState:function(e){Ne="useState",Yt(),tt();var t=it.current;it.current=Ul;try{return my(e)}finally{it.current=t}},useDebugValue:function(e,t){return Ne="useDebugValue",Yt(),tt(),e_()},useDeferredValue:function(e){return Ne="useDeferredValue",Yt(),tt(),Ox(e)},useTransition:function(){return Ne="useTransition",Yt(),tt(),Ix()},useMutableSource:function(e,t,n){return Ne="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Ne="useSyncExternalStore",Yt(),tt(),Yv(e,t)},useId:function(){return Ne="useId",Yt(),tt(),a_()},unstable_isNewReconciler:ne}}var Yc=a.unstable_now,Yx=0,i_=-1,Sh=-1,l_=-1,Ty=!1,s_=!1;function $x(){return Ty}function pj(){s_=!0}function hj(){Ty=!1,s_=!1}function mj(){Ty=s_,s_=!1}function Gx(){return Yx}function Kx(){Yx=Yc()}function Ey(e){Sh=Yc(),e.actualStartTime<0&&(e.actualStartTime=Yc())}function Xx(e){Sh=-1}function c_(e,t){if(Sh>=0){var n=Yc()-Sh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Sh=-1}}function _s(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.effectDuration+=t;return;case F:var c=n.stateNode;c.effectDuration+=t;return}n=n.return}}}function Ry(e){if(l_>=0){var t=Yc()-l_;l_=-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 gs(){i_=Yc()}function Dy(){l_=Yc()}function Ay(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Vl(e,t){if(e&&e.defaultProps){var n=Nt({},t),i=e.defaultProps;for(var c in i)n[c]===void 0&&(n[c]=i[c]);return n}return t}var Ly={},Ny,Oy,My,Py,Iy,Qx,u_,zy,By,Fy,wh;{Ny=new Set,Oy=new Set,My=new Set,Py=new Set,zy=new Set,Iy=new Set,By=new Set,Fy=new Set,wh=new Set;var Jx=new Set;u_=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";Iy.has(n)||(Iy.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ly,"_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(Ly)}function jy(e,t,n,i){var c=e.memoizedState,d=n(i,c);{if(e.mode&Ma){gn(!0);try{d=n(i,c)}finally{gn(!1)}}Qx(t,d)}var _=d==null?c:Nt({},c,d);if(e.memoizedState=_,e.lanes===ze){var y=e.updateQueue;y.baseState=_}}var Hy={isMounted:iI,enqueueSetState:function(e,t,n){var i=Uf(e),c=Qn(),d=Xc(i),_=Qs(c,d);_.payload=t,n!=null&&(u_(n,"setState"),_.callback=n);var y=Uc(i,_,d);y!==null&&(fn(y,i,d,c),Fv(y,i,d)),gb(i,d)},enqueueReplaceState:function(e,t,n){var i=Uf(e),c=Qn(),d=Xc(i),_=Qs(c,d);_.tag=mx,_.payload=t,n!=null&&(u_(n,"replaceState"),_.callback=n);var y=Uc(i,_,d);y!==null&&(fn(y,i,d,c),Fv(y,i,d)),gb(i,d)},enqueueForceUpdate:function(e,t){var n=Uf(e),i=Qn(),c=Xc(n),d=Qs(i,c);d.tag=Iv,t!=null&&(u_(t,"forceUpdate"),d.callback=t);var _=Uc(n,d,c);_!==null&&(fn(_,n,c,i),Fv(_,n,c)),zI(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&Ma){gn(!0);try{C=y.shouldComponentUpdate(i,d,_)}finally{gn(!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?!Wp(n,i)||!Wp(c,d):!0}function vj(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&&!wh.has(t)&&(e.mode&Ma)===Ot&&(wh.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
|
-
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!
|
|
86
|
+
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!wh.has(t)&&(e.mode&Ma)===Ot&&(wh.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&&!
|
|
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&&!By.has(t)&&(By.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"&&!My.has(t)&&(My.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"||rn(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=Hy,e.stateNode=t,tI(t,e),t._reactInternalInstance=Ly}function t4(e,t,n){var i=!1,c=Fo,d=Fo,_=t.contextType;if("contextType"in t){var y=_===null||_!==void 0&&_.$$typeof===q&&_._context===void 0;if(!y&&!Fy.has(t)){Fy.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=Qa(_);else{c=od(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?id(e,c):Fo}var A=new t(n,d);if(e.mode&Ma){gn(!0);try{A=new t(n,d)}finally{gn(!1)}}var Z=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;e4(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&Z===null){var J=Hr(t)||"Component";Oy.has(J)||(Oy.add(J),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.",J,A.state===null?"null":"undefined",J))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var me=null,ve=null,Ce=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?me="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(me="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ve="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(ve="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?Ce="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(Ce="UNSAFE_componentWillUpdate"),me!==null||ve!==null||Ce!==null){var rt=Hr(t)||"Component",Rt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Py.has(rt)||(Py.add(rt),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,17 +93,17 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
93
93
|
https://reactjs.org/link/unsafe-component-lifecycles`,rt,Rt,me!==null?`
|
|
94
94
|
`+me:"",ve!==null?`
|
|
95
95
|
`+ve:"",Ce!==null?`
|
|
96
|
-
`+Ce:""))}}}return i&&WC(e,c,d),A}function _j(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.",
|
|
97
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var A=
|
|
96
|
+
`+Ce:""))}}}return i&&WC(e,c,d),A}function _j(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"),Hy.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";Ny.has(d)||(Ny.add(d),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}Hy.enqueueReplaceState(t,t.state,null)}}function Uy(e,t,n,i){vj(e,t,n);var c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs={},Q1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)c.context=Qa(d);else{var _=od(e,t,!0);c.context=id(e,_)}{if(c.state===n){var y=Hr(t)||"Component";zy.has(y)||(zy.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&Ma&&jl.recordLegacyContextWarning(e,c),jl.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(jy(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")&&(_j(e,c),jv(e,n,c,i),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var E=Tr;E|=Eu,(e.mode&us)!==Ot&&(E|=Hs),e.flags|=E}}function gj(e,t,n,i){var c=e.stateNode,d=e.memoizedProps;c.props=d;var _=c.context,y=t.contextType,C=Fo;if(typeof y=="object"&&y!==null)C=Qa(y);else{var E=od(e,t,!0);C=id(e,E)}var A=t.getDerivedStateFromProps,Z=typeof A=="function"||typeof c.getSnapshotBeforeUpdate=="function";!Z&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(d!==n||_!==C)&&r4(e,c,n,C),_x();var J=e.memoizedState,me=c.state=J;if(jv(e,n,c,i),me=e.memoizedState,d===n&&J===me&&!Sv()&&!Hv()){if(typeof c.componentDidMount=="function"){var ve=Tr;ve|=Eu,(e.mode&us)!==Ot&&(ve|=Hs),e.flags|=ve}return!1}typeof A=="function"&&(jy(e,t,A,n),me=e.memoizedState);var Ce=Hv()||Zx(e,t,d,n,J,me,C);if(Ce){if(!Z&&(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 rt=Tr;rt|=Eu,(e.mode&us)!==Ot&&(rt|=Hs),e.flags|=rt}}else{if(typeof c.componentDidMount=="function"){var Rt=Tr;Rt|=Eu,(e.mode&us)!==Ot&&(Rt|=Hs),e.flags|=Rt}e.memoizedProps=n,e.memoizedState=me}return c.props=n,c.state=me,c.context=C,Ce}function bj(e,t,n,i,c){var d=t.stateNode;vx(e,t);var _=t.memoizedProps,y=t.type===t.elementType?_:Vl(t.type,_);d.props=y;var C=t.pendingProps,E=d.context,A=n.contextType,Z=Fo;if(typeof A=="object"&&A!==null)Z=Qa(A);else{var J=od(t,n,!0);Z=id(t,J)}var me=n.getDerivedStateFromProps,ve=typeof me=="function"||typeof d.getSnapshotBeforeUpdate=="function";!ve&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(_!==C||E!==Z)&&r4(t,d,i,Z),_x();var Ce=t.memoizedState,rt=d.state=Ce;if(jv(t,i,d,c),rt=t.memoizedState,_===C&&Ce===rt&&!Sv()&&!Hv()&&!ee)return typeof d.componentDidUpdate=="function"&&(_!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=Tr),typeof d.getSnapshotBeforeUpdate=="function"&&(_!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=ku),!1;typeof me=="function"&&(jy(t,n,me,i),rt=t.memoizedState);var Rt=Hv()||Zx(t,n,y,i,Ce,rt,Z)||ee;return Rt?(!ve&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,rt,Z),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,rt,Z)),typeof d.componentDidUpdate=="function"&&(t.flags|=Tr),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=ku)):(typeof d.componentDidUpdate=="function"&&(_!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=Tr),typeof d.getSnapshotBeforeUpdate=="function"&&(_!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=ku),t.memoizedProps=i,t.memoizedState=rt),d.props=i,d.state=rt,d.context=Z,Rt}function Yu(e,t){return{value:e,source:t,stack:km(t),digest:null}}function Vy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function yj(e,t){return!0}function Wy(e,t){try{var n=yj(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
|
+
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 Z=C+`
|
|
98
98
|
`+_+`
|
|
99
99
|
|
|
100
|
-
`+(""+E);console.error(Z)}catch(J){setTimeout(function(){throw J})}}var Sj=typeof WeakMap=="function"?WeakMap:Map;function a4(e,t,n){var i=Qs(ma,n);i.tag=G1,i.payload={element:null};var c=t.value;return i.callback=function(){gU(c),Vy(e,t)},i}function Wy(e,t,n){var i=Qs(ma,n);i.tag=G1;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var d=t.value;i.payload=function(){return c(d)},i.callback=function(){mk(e),Vy(e,t)}}var _=e.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){mk(e),Vy(e,t),typeof c!="function"&&vU(this);var w=t.value,E=t.stack;this.componentDidCatch(w,{componentStack:E!==null?E:""}),typeof c!="function"&&(Po(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.",tr(e)||"Unknown"))}),i}function n4(e,t,n){var i=e.pingCache,c;if(i===null?(i=e.pingCache=new Sj,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=bU.bind(null,e,t,n);Pl&&Bh(e,n),t.then(d,d)}}function wj(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 Cj(e,t){var n=e.tag;if((e.mode&br)===Ot&&(n===p||n===j||n===te)){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===Q&&aj(t))return t;t=t.return}while(t!==null);return null}function i4(e,t,n,i,c){if((e.mode&br)===Ot){if(e===t)e.flags|=Gn;else{if(e.flags|=Pr,n.flags|=ub,n.flags&=~(rI|yp),n.tag===m){var d=n.alternate;if(d===null)n.tag=re;else{var _=Qs(ma,qt);_.tag=Pv,Uc(n,_,qt)}}n.lanes=ir(n.lanes,qt)}return e}return e.flags|=Gn,e.lanes=c,e}function xj(e,t,n,i,c){if(n.flags|=yp,Pl&&Bh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;Cj(n),Tn()&&n.mode&br&&QC();var _=o4(t);if(_!==null){_.flags&=~Fs,i4(_,t,n,e,c),_.mode&br&&n4(e,d,c),wj(_,e,d);return}else{if(!YI(c)){n4(e,d,c),x0();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&br){QC();var w=o4(t);if(w!==null){(w.flags&Gn)===It&&(w.flags|=Fs),i4(w,t,n,e,c),I1(qu(i,n));return}}i=qu(i,n),sU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=Gn;var Z=Rp(c);E.lanes=ir(E.lanes,Z);var J=a4(E,A,Z);Q1(E,J);return}case m:var me=i,ve=E.type,Ce=E.stateNode;if((E.flags&Pr)===It&&(typeof ve.getDerivedStateFromError=="function"||Ce!==null&&typeof Ce.componentDidCatch=="function"&&!ik(Ce))){E.flags|=Gn;var rt=Rp(c);E.lanes=ir(E.lanes,rt);var Rt=Wy(E,me,rt);Q1(E,Rt);return}break}E=E.return}while(E!==null)}function kj(){return null}var wh=o.ReactCurrentOwner,Vl=!1,qy,Ch,Yy,$y,Gy,Yu,Ky,u_,xh;qy={},Ch={},Yy={},$y={},Gy={},Yu=!1,Ky={},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 Tj(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&&zl(d,i,"prop",Hr(n))}var _=n.render,y=t.ref,w,E;ud(t,c),wp(t);{if(wh.current=t,ml(!0),w=vd(e,t,_,i,y,c),E=_d(),t.mode&Ma){gn(!0);try{w=vd(e,t,_,i,y,c),E=_d()}finally{gn(!1)}}ml(!1)}return Vf(),e!==null&&!Vl?(Cx(e,t,c),Js(e,t,c)):(Tn()&&E&&A1(t),t.flags|=Hf,Kn(e,t,w,c),t.child)}function s4(e,t,n,i,c){if(e===null){var d=n.type;if(IU(d)&&n.compare===null&&n.defaultProps===void 0){var _=d;return _=kd(d),t.tag=te,t.type=_,Jy(t,d),c4(e,t,_,i,c)}{var y=d.propTypes;if(y&&zl(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var w=Hr(d)||"Unknown";xh[w]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",w),xh[w]=!0)}}var E=P0(n.type,null,i,t,t.mode,c);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,Z=A.propTypes;Z&&zl(Z,i,"prop",Hr(A))}var J=e.child,me=n0(e,c);if(!me){var ve=J.memoizedProps,Ce=n.compare;if(Ce=Ce!==null?Ce:Vp,Ce(ve,i)&&e.ref===t.ref)return Js(e,t,c)}t.flags|=Hf;var rt=Qu(J,i);return rt.ref=t.ref,rt.return=t,t.child=rt,rt}function c4(e,t,n,i,c){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Je){var _=d,y=_._payload,w=_._init;try{d=w(y)}catch(Z){d=null}var E=d&&d.propTypes;E&&zl(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(Vl=!1,t.pendingProps=i=A,n0(e,c))(e.flags&ub)!==It&&(Vl=!0);else return t.lanes=e.lanes,Js(e,t,c)}return Xy(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"||de)if((t.mode&br)===Ot){var _={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=_,C_(t,n)}else if(Po(n,Mo)){var Z={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=Z;var J=d!==null?d.baseLanes:n;C_(t,J)}else{var y=null,w;if(d!==null){var E=d.baseLanes;w=ir(E,n)}else w=n;t.lanes=t.childLanes=Mo;var A={baseLanes:w,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,C_(t,w),null}else{var me;d!==null?(me=ir(d.baseLanes,n),t.memoizedState=null):me=n,C_(t,me)}return Kn(e,t,c,n),t.child}function Ej(e,t,n){var i=t.pendingProps;return Kn(e,t,i,n),t.child}function Rj(e,t,n){var i=t.pendingProps.children;return Kn(e,t,i,n),t.child}function Dj(e,t,n){{t.flags|=Tr;{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|=fb)}function Xy(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&zl(d,i,"prop",Hr(n))}var _;{var y=ad(t,n,!0);_=nd(t,y)}var w,E;ud(t,c),wp(t);{if(wh.current=t,ml(!0),w=vd(e,t,n,i,_,c),E=_d(),t.mode&Ma){gn(!0);try{w=vd(e,t,n,i,_,c),E=_d()}finally{gn(!1)}}ml(!1)}return Vf(),e!==null&&!Vl?(Cx(e,t,c),Js(e,t,c)):(Tn()&&E&&A1(t),t.flags|=Hf,Kn(e,t,w,c),t.child)}function d4(e,t,n,i,c){{switch(QU(t)){case!1:{var d=t.stateNode,_=t.type,y=new _(t.memoizedProps,d.context),w=y.state;d.updater.enqueueSetState(d,w,null);break}case!0:{t.flags|=Pr,t.flags|=Gn;var E=new Error("Simulated error coming from DevTools"),A=Rp(c);t.lanes=ir(t.lanes,A);var Z=Wy(t,qu(E,t),A);Q1(t,Z);break}}if(t.type!==t.elementType){var J=n.propTypes;J&&zl(J,i,"prop",Hr(n))}}var me;ds(n)?(me=!0,wv(t)):me=!1,ud(t,c);var ve=t.stateNode,Ce;ve===null?(d_(e,t),t4(t,n,i),Hy(t,n,i,c),Ce=!0):e===null?Ce=gj(t,n,i,c):Ce=bj(e,t,n,i,c);var rt=Qy(e,t,n,Ce,me,c);{var Rt=t.stateNode;Ce&&Rt.props!==i&&(Yu||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",tr(t)||"a component"),Yu=!0)}return rt}function Qy(e,t,n,i,c,d){f4(e,t);var _=(t.flags&Pr)!==It;if(!i&&!_)return c&&$C(t,n,!1),Js(e,t,d);var y=t.stateNode;wh.current=t;var w;if(_&&typeof n.getDerivedStateFromError!="function")w=null,Xx();else{wp(t);{if(ml(!0),w=y.render(),t.mode&Ma){gn(!0);try{y.render()}finally{gn(!1)}}ml(!1)}Vf()}return t.flags|=Hf,e!==null&&_?Tj(e,t,w,d):Kn(e,t,w,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),J1(e,t.containerInfo)}function Aj(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,w=_.element;if(c.isDehydrated){var E={element:w,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},A=t.updateQueue;if(A.baseState=E,t.memoizedState=E,t.flags&Fs){var Z=qu(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,w,n,Z)}else if(w!==d){var J=qu(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,w,n,J)}else{OF(t);var me=cx(t,null,w,n);t.child=me;for(var ve=me;ve;)ve.flags=ve.flags&~Ka|js,ve=ve.sibling}}else{if(ld(),w===d)return Js(e,t,n);Kn(e,t,w,n)}return t.child}function h4(e,t,n,i,c){return ld(),I1(c),t.flags|=Fs,Kn(e,t,n,i),t.child}function Lj(e,t,n){yx(t),e===null&&P1(t);var i=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,_=c.children,y=v1(i,c);return y?_=null:d!==null&&v1(i,d)&&(t.flags|=bp),f4(e,t),Kn(e,t,_,n),t.child}function Nj(e,t){return e===null&&P1(t),null}function Oj(e,t,n,i){d_(e,t);var c=t.pendingProps,d=n,_=d._payload,y=d._init,w=y(_);t.type=w;var E=t.tag=zU(w),A=Ul(w,c),Z;switch(E){case p:return Jy(t,w),t.type=w=kd(w),Z=Xy(null,t,w,A,i),Z;case m:return t.type=w=D0(w),Z=d4(null,t,w,A,i),Z;case j:return t.type=w=A0(w),Z=l4(null,t,w,A,i),Z;case N:{if(t.type!==t.elementType){var J=w.propTypes;J&&zl(J,A,"prop",Hr(w))}return Z=s4(null,t,w,Ul(w.type,A),i),Z}}var me="";throw w!==null&&typeof w=="object"&&w.$$typeof===Je&&(me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+w+". "+("Lazy element type must resolve to a class or function."+me))}function Mj(e,t,n,i,c){d_(e,t),t.tag=m;var d;return ds(n)?(d=!0,wv(t)):d=!1,ud(t,c),t4(t,n,i),Hy(t,n,i,c),Qy(null,t,n,!0,d,c)}function Pj(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,w;wp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";qy[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),qy[E]=!0)}t.mode&Ma&&Fl.recordLegacyContextWarning(t,null),ml(!0),wh.current=t,y=vd(null,t,n,c,d,i),w=_d(),ml(!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 Z=Hr(n)||"Unknown";Ch[Z]||(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.",Z,Z,Z),Ch[Z]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var J=!1;return ds(n)?(J=!0,wv(t)):J=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,X1(t),e4(t,y),Hy(t,n,c,i),Qy(null,t,n,!0,J,i)}else{if(t.tag=p,t.mode&Ma){gn(!0);try{y=vd(null,t,n,c,d,i),w=_d()}finally{gn(!1)}}return Tn()&&w&&A1(t),Kn(null,t,y,i),Jy(t,n),t.child}}function Jy(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(Z)}catch(J){setTimeout(function(){throw J})}}var Sj=typeof WeakMap=="function"?WeakMap:Map;function a4(e,t,n){var i=Qs(ma,n);i.tag=K1,i.payload={element:null};var c=t.value;return i.callback=function(){gU(c),Wy(e,t)},i}function qy(e,t,n){var i=Qs(ma,n);i.tag=K1;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var d=t.value;i.payload=function(){return c(d)},i.callback=function(){mk(e),Wy(e,t)}}var _=e.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){mk(e),Wy(e,t),typeof c!="function"&&vU(this);var C=t.value,E=t.stack;this.componentDidCatch(C,{componentStack:E!==null?E:""}),typeof c!="function"&&(Po(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 Sj,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=bU.bind(null,e,t,n);Il&&Fh(e,n),t.then(d,d)}}function wj(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 Cj(e,t){var n=e.tag;if((e.mode&br)===Ot&&(n===p||n===j||n===te)){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===Q&&aj(t))return t;t=t.return}while(t!==null);return null}function i4(e,t,n,i,c){if((e.mode&br)===Ot){if(e===t)e.flags|=Gn;else{if(e.flags|=Pr,n.flags|=fb,n.flags&=~(rI|Sp),n.tag===m){var d=n.alternate;if(d===null)n.tag=re;else{var _=Qs(ma,qt);_.tag=Iv,Uc(n,_,qt)}}n.lanes=ir(n.lanes,qt)}return e}return e.flags|=Gn,e.lanes=c,e}function xj(e,t,n,i,c){if(n.flags|=Sp,Il&&Fh(e,c),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;Cj(n),Tn()&&n.mode&br&&QC();var _=o4(t);if(_!==null){_.flags&=~Fs,i4(_,t,n,e,c),_.mode&br&&n4(e,d,c),wj(_,e,d);return}else{if(!YI(c)){n4(e,d,c),k0();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&br){QC();var C=o4(t);if(C!==null){(C.flags&Gn)===It&&(C.flags|=Fs),i4(C,t,n,e,c),z1(Yu(i,n));return}}i=Yu(i,n),sU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=Gn;var Z=Dp(c);E.lanes=ir(E.lanes,Z);var J=a4(E,A,Z);J1(E,J);return}case m:var me=i,ve=E.type,Ce=E.stateNode;if((E.flags&Pr)===It&&(typeof ve.getDerivedStateFromError=="function"||Ce!==null&&typeof Ce.componentDidCatch=="function"&&!ik(Ce))){E.flags|=Gn;var rt=Dp(c);E.lanes=ir(E.lanes,rt);var Rt=qy(E,me,rt);J1(E,Rt);return}break}E=E.return}while(E!==null)}function kj(){return null}var Ch=o.ReactCurrentOwner,Wl=!1,Yy,xh,$y,Gy,Ky,$u,Xy,f_,kh;Yy={},xh={},$y={},Gy={},Ky={},$u=!1,Xy={},f_={},kh={};function Kn(e,t,n,i){e===null?t.child=cx(t,null,n,i):t.child=ud(t,e.child,n,i)}function Tj(e,t,n,i){t.child=ud(t,e.child,null,i),t.child=ud(t,null,n,i)}function l4(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Bl(d,i,"prop",Hr(n))}var _=n.render,y=t.ref,C,E;dd(t,c),Cp(t);{if(Ch.current=t,vl(!0),C=gd(e,t,_,i,y,c),E=bd(),t.mode&Ma){gn(!0);try{C=gd(e,t,_,i,y,c),E=bd()}finally{gn(!1)}}vl(!1)}return qf(),e!==null&&!Wl?(Cx(e,t,c),Js(e,t,c)):(Tn()&&E&&L1(t),t.flags|=Vf,Kn(e,t,C,c),t.child)}function s4(e,t,n,i,c){if(e===null){var d=n.type;if(IU(d)&&n.compare===null&&n.defaultProps===void 0){var _=d;return _=Ed(d),t.tag=te,t.type=_,Zy(t,d),c4(e,t,_,i,c)}{var y=d.propTypes;if(y&&Bl(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var C=Hr(d)||"Unknown";kh[C]||(u("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),kh[C]=!0)}}var E=I0(n.type,null,i,t,t.mode,c);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,Z=A.propTypes;Z&&Bl(Z,i,"prop",Hr(A))}var J=e.child,me=o0(e,c);if(!me){var ve=J.memoizedProps,Ce=n.compare;if(Ce=Ce!==null?Ce:Wp,Ce(ve,i)&&e.ref===t.ref)return Js(e,t,c)}t.flags|=Vf;var rt=Ju(J,i);return rt.ref=t.ref,rt.return=t,t.child=rt,rt}function c4(e,t,n,i,c){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Je){var _=d,y=_._payload,C=_._init;try{d=C(y)}catch(Z){d=null}var E=d&&d.propTypes;E&&Bl(E,i,"prop",Hr(d))}}if(e!==null){var A=e.memoizedProps;if(Wp(A,i)&&e.ref===t.ref&&t.type===e.type)if(Wl=!1,t.pendingProps=i=A,o0(e,c))(e.flags&fb)!==It&&(Wl=!0);else return t.lanes=e.lanes,Js(e,t,c)}return Qy(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"||de)if((t.mode&br)===Ot){var _={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=_,x_(t,n)}else if(Po(n,Mo)){var Z={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=Z;var J=d!==null?d.baseLanes:n;x_(t,J)}else{var y=null,C;if(d!==null){var E=d.baseLanes;C=ir(E,n)}else C=n;t.lanes=t.childLanes=Mo;var A={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,x_(t,C),null}else{var me;d!==null?(me=ir(d.baseLanes,n),t.memoizedState=null):me=n,x_(t,me)}return Kn(e,t,c,n),t.child}function Ej(e,t,n){var i=t.pendingProps;return Kn(e,t,i,n),t.child}function Rj(e,t,n){var i=t.pendingProps.children;return Kn(e,t,i,n),t.child}function Dj(e,t,n){{t.flags|=Tr;{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|=db)}function Qy(e,t,n,i,c){if(t.type!==t.elementType){var d=n.propTypes;d&&Bl(d,i,"prop",Hr(n))}var _;{var y=od(t,n,!0);_=id(t,y)}var C,E;dd(t,c),Cp(t);{if(Ch.current=t,vl(!0),C=gd(e,t,n,i,_,c),E=bd(),t.mode&Ma){gn(!0);try{C=gd(e,t,n,i,_,c),E=bd()}finally{gn(!1)}}vl(!1)}return qf(),e!==null&&!Wl?(Cx(e,t,c),Js(e,t,c)):(Tn()&&E&&L1(t),t.flags|=Vf,Kn(e,t,C,c),t.child)}function d4(e,t,n,i,c){{switch(QU(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|=Pr,t.flags|=Gn;var E=new Error("Simulated error coming from DevTools"),A=Dp(c);t.lanes=ir(t.lanes,A);var Z=qy(t,Yu(E,t),A);J1(t,Z);break}}if(t.type!==t.elementType){var J=n.propTypes;J&&Bl(J,i,"prop",Hr(n))}}var me;ps(n)?(me=!0,Cv(t)):me=!1,dd(t,c);var ve=t.stateNode,Ce;ve===null?(p_(e,t),t4(t,n,i),Uy(t,n,i,c),Ce=!0):e===null?Ce=gj(t,n,i,c):Ce=bj(e,t,n,i,c);var rt=Jy(e,t,n,Ce,me,c);{var Rt=t.stateNode;Ce&&Rt.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 rt}function Jy(e,t,n,i,c,d){f4(e,t);var _=(t.flags&Pr)!==It;if(!i&&!_)return c&&$C(t,n,!1),Js(e,t,d);var y=t.stateNode;Ch.current=t;var C;if(_&&typeof n.getDerivedStateFromError!="function")C=null,Xx();else{Cp(t);{if(vl(!0),C=y.render(),t.mode&Ma){gn(!0);try{y.render()}finally{gn(!1)}}vl(!1)}qf()}return t.flags|=Vf,e!==null&&_?Tj(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),Z1(e,t.containerInfo)}function Aj(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),jv(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&Fs){var Z=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,Z)}else if(C!==d){var J=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,J)}else{OF(t);var me=cx(t,null,C,n);t.child=me;for(var ve=me;ve;)ve.flags=ve.flags&~Xa|js,ve=ve.sibling}}else{if(cd(),C===d)return Js(e,t,n);Kn(e,t,C,n)}return t.child}function h4(e,t,n,i,c){return cd(),z1(c),t.flags|=Fs,Kn(e,t,n,i),t.child}function Lj(e,t,n){yx(t),e===null&&I1(t);var i=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,_=c.children,y=_1(i,c);return y?_=null:d!==null&&_1(i,d)&&(t.flags|=yp),f4(e,t),Kn(e,t,_,n),t.child}function Nj(e,t){return e===null&&I1(t),null}function Oj(e,t,n,i){p_(e,t);var c=t.pendingProps,d=n,_=d._payload,y=d._init,C=y(_);t.type=C;var E=t.tag=zU(C),A=Vl(C,c),Z;switch(E){case p:return Zy(t,C),t.type=C=Ed(C),Z=Qy(null,t,C,A,i),Z;case m:return t.type=C=A0(C),Z=d4(null,t,C,A,i),Z;case j:return t.type=C=L0(C),Z=l4(null,t,C,A,i),Z;case N:{if(t.type!==t.elementType){var J=C.propTypes;J&&Bl(J,A,"prop",Hr(C))}return Z=s4(null,t,C,Vl(C.type,A),i),Z}}var me="";throw C!==null&&typeof C=="object"&&C.$$typeof===Je&&(me=" 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."+me))}function Mj(e,t,n,i,c){p_(e,t),t.tag=m;var d;return ps(n)?(d=!0,Cv(t)):d=!1,dd(t,c),t4(t,n,i),Uy(t,n,i,c),Jy(null,t,n,!0,d,c)}function Pj(e,t,n,i){p_(e,t);var c=t.pendingProps,d;{var _=od(t,n,!1);d=id(t,_)}dd(t,i);var y,C;Cp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";Yy[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),Yy[E]=!0)}t.mode&Ma&&jl.recordLegacyContextWarning(t,null),vl(!0),Ch.current=t,y=gd(null,t,n,c,d,i),C=bd(),vl(!1)}if(qf(),t.flags|=Vf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var A=Hr(n)||"Unknown";xh[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),xh[A]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var Z=Hr(n)||"Unknown";xh[Z]||(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.",Z,Z,Z),xh[Z]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var J=!1;return ps(n)?(J=!0,Cv(t)):J=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,Q1(t),e4(t,y),Uy(t,n,c,i),Jy(null,t,n,!0,J,i)}else{if(t.tag=p,t.mode&Ma){gn(!0);try{y=gd(null,t,n,c,d,i),C=bd()}finally{gn(!1)}}return Tn()&&C&&L1(t),Kn(null,t,y,i),Zy(t,n),t.child}}function Zy(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),Gy[c]||(Gy[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";$y[y]||(u("%s: Function components do not support getDerivedStateFromProps.",y),$y[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var w=Hr(t)||"Unknown";Yy[w]||(u("%s: Function components do not support contextType.",w),Yy[w]=!0)}}}var Zy={dehydrated:null,treeContext:null,retryLane:bn};function e0(e){return{baseLanes:e,cachePool:kj(),transitions:null}}function Ij(e,t){var n=null;return{baseLanes:ir(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function zj(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return ty(e,ph)}function Bj(e,t){return qm(e.childLanes,t)}function m4(e,t,n){var i=t.pendingProps;JU(t)&&(t.flags|=Pr);var c=jl.current,d=!1,_=(t.flags&Pr)!==It;if(_||zj(c,e)?(d=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(c=rj(c,wx)),c=dd(c),Wc(t,c),e===null){P1(t);var y=t.memoizedState;if(y!==null){var w=y.dehydrated;if(w!==null)return Vj(t,w)}var E=i.children,A=i.fallback;if(d){var Z=Fj(t,E,A,n),J=t.child;return J.memoizedState=e0(n),t.memoizedState=Zy,Z}else return t0(t,E)}else{var me=e.memoizedState;if(me!==null){var ve=me.dehydrated;if(ve!==null)return Wj(e,t,_,i,ve,me,n)}if(d){var Ce=i.fallback,rt=i.children,Rt=Hj(e,t,rt,Ce,n),St=t.child,pr=e.child.memoizedState;return St.memoizedState=pr===null?e0(n):Ij(pr,n),St.childLanes=Bj(e,n),t.memoizedState=Zy,Rt}else{var hr=i.children,ce=jj(e,t,hr,n);return t.memoizedState=null,ce}}}function t0(e,t,n){var i=e.mode,c={mode:"visible",children:t},d=r0(c,i);return d.return=e,e.child=d,d}function Fj(e,t,n,i){var c=e.mode,d=e.child,_={mode:"hidden",children:t},y,w;return(c&br)===Ot&&d!==null?(y=d,y.childLanes=ze,y.pendingProps=_,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),w=Jc(n,c,i,null)):(y=r0(_,c),w=Jc(n,c,i,null)),y.return=e,w.return=e,y.sibling=w,e.child=y,w}function r0(e,t,n){return _k(e,t,ze,null)}function v4(e,t){return Qu(e,t)}function jj(e,t,n,i){var c=e.child,d=c.sibling,_=v4(c,{mode:"visible",children:n});if((t.mode&br)===Ot&&(_.lanes=i),_.return=t,_.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=Cu):y.push(d)}return t.child=_,_}function Hj(e,t,n,i,c){var d=t.mode,_=e.child,y=_.sibling,w={mode:"hidden",children:n},E;if((d&br)===Ot&&t.child!==_){var A=t.child;E=A,E.childLanes=ze,E.pendingProps=w,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=_.selfBaseDuration,E.treeBaseDuration=_.treeBaseDuration),t.deletions=null}else E=v4(_,w),E.subtreeFlags=_.subtreeFlags&Us;var Z;return y!==null?Z=Qu(y,i):(Z=Jc(i,d,c,null),Z.flags|=Ka),Z.return=t,E.return=t,E.sibling=Z,t.child=E,Z}function f_(e,t,n,i){i!==null&&I1(i),sd(t,e.child,null,n);var c=t.pendingProps,d=c.children,_=t0(t,d);return _.flags|=Ka,t.memoizedState=null,_}function Uj(e,t,n,i,c){var d=t.mode,_={mode:"visible",children:n},y=r0(_,d),w=Jc(i,d,c,null);return w.flags|=Ka,y.return=t,w.return=t,y.sibling=w,t.child=y,(t.mode&br)!==Ot&&sd(t,e.child,null,c),w}function Vj(e,t,n){return(e.mode&br)===Ot?(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):y1(t)?e.lanes=Au:e.lanes=Mo,null}function Wj(e,t,n,i,c,d,_){if(n)if(t.flags&Fs){t.flags&=~Fs;var ce=Uy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return f_(e,t,_,ce)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var De=i.children,ue=i.fallback,qe=Uj(e,t,De,ue,_),ct=t.child;return ct.memoizedState=e0(_),t.memoizedState=Zy,qe}else{if(LF(),(t.mode&br)===Ot)return f_(e,t,_,null);if(y1(c)){var y,w,E;{var A=G9(c);y=A.digest,w=A.message,E=A.stack}var Z;w?Z=new Error(w):Z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var J=Uy(Z,y,E);return f_(e,t,_,J)}var me=Po(_,e.childLanes);if(Vl||me){var ve=w_();if(ve!==null){var Ce=ez(ve,_);if(Ce!==bn&&Ce!==d.retryLane){d.retryLane=Ce;var rt=ma;bo(e,Ce),un(ve,e,Ce,rt)}}x0();var Rt=Uy(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,_,Rt)}else if(FC(c)){t.flags|=Pr,t.child=e.child;var St=yU.bind(null,e);return K9(c,St),null}else{MF(t,c,d.treeContext);var pr=i.children,hr=t0(t,pr);return hr.flags|=js,hr}}}function _4(e,t,n){e.lanes=ir(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ir(i.lanes,t)),Y1(e.return,t,n)}function qj(e,t,n){for(var i=t;i!==null;){if(i.tag===Q){var c=i.memoizedState;c!==null&&_4(i,n,e)}else if(i.tag===ye)_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 Yj(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 $j(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Ky[e])if(Ky[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 Gj(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=tn(e),i=!n&&typeof $a(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 Kj(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(tn(e)){for(var n=0;n<e.length;n++)if(!g4(e[n],n))return}else{var i=$a(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 a0(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;$j(c),Gj(d,c),Kj(_,c),Kn(e,t,_,n);var y=jl.current,w=ty(y,ph);if(w)y=ry(y,ph),t.flags|=Pr;else{var E=e!==null&&(e.flags&Pr)!==It;E&&qj(t,t.child,n),y=dd(y)}if(Wc(t,y),(t.mode&br)===Ot)t.memoizedState=null;else switch(c){case"forwards":{var A=Yj(t.child),Z;A===null?(Z=t.child,t.child=null):(Z=A.sibling,A.sibling=null),a0(t,!1,Z,A,d);break}case"backwards":{var J=null,me=t.child;for(t.child=null;me!==null;){var ve=me.alternate;if(ve!==null&&Vv(ve)===null){t.child=me;break}var Ce=me.sibling;me.sibling=J,J=me,me=Ce}a0(t,!0,J,null,d);break}case"together":{a0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Xj(e,t,n){J1(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 Qj(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 w=t.type.propTypes;w&&zl(w,d,"prop","Context.Provider")}if(dx(t,c,y),_!==null){var E=_.value;if(Bo(E,y)){if(_.children===d.children&&!yv())return Js(e,t,n)}else $F(t,c,n)}var A=d.children;return Kn(e,t,A,n),t.child}var S4=!1;function Jj(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 _=Xa(i);wp(t);var y;return wh.current=t,ml(!0),y=d(_),ml(!1),Vf(),t.flags|=Hf,Kn(e,t,y,n),t.child}function kh(){Vl=!0}function d_(e,t){(t.mode&br)===Ot&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ka)}function Js(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Xx(),zh(t.lanes),Po(n,t.childLanes)?(qF(e,t),t.child):null}function Zj(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|=Cu):d.push(e),n.flags|=Ka,n}}function n0(e,t){var n=e.lanes;return!!Po(n,t)}function eH(e,t,n){switch(t.tag){case b:p4(t);var i=t.stateNode;ld();break;case C:yx(t);break;case m:{var c=t.type;ds(c)&&wv(t);break}case S:J1(t,t.stateNode.containerInfo);break;case O:{var d=t.memoizedProps.value,_=t.type._context;dx(t,_,d);break}case F:{var y=Po(n,t.childLanes);y&&(t.flags|=Tr);{var w=t.stateNode;w.effectDuration=0,w.passiveEffectDuration=0}}break;case Q:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return Wc(t,dd(jl.current)),t.flags|=Pr,null;var A=t.child,Z=A.childLanes;if(Po(n,Z))return m4(e,t,n);Wc(t,dd(jl.current));var J=Js(e,t,n);return J!==null?J.sibling:null}else Wc(t,dd(jl.current));break}case ye:{var me=(e.flags&Pr)!==It,ve=Po(n,t.childLanes);if(me){if(ve)return b4(e,t,n);t.flags|=Pr}var Ce=t.memoizedState;if(Ce!==null&&(Ce.rendering=null,Ce.tail=null,Ce.lastEffect=null),Wc(t,jl.current),ve)break;return null}case H:case le:return t.lanes=ze,u4(e,t,n)}return Js(e,t,n)}function w4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Zj(e,t,P0(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)Vl=!0;else{var d=n0(e,n);if(!d&&(t.flags&Pr)===It)return Vl=!1,eH(e,t,n);(e.flags&ub)!==It?Vl=!0:Vl=!1}}else if(Vl=!1,Tn()&&kF(t)){var _=t.index,y=TF();XC(t,y,_)}switch(t.lanes=ze,t.tag){case g:return Pj(e,t,t.type,n);case _e:{var w=t.elementType;return Oj(e,t,w,n)}case p:{var E=t.type,A=t.pendingProps,Z=t.elementType===E?A:Ul(E,A);return Xy(e,t,E,Z,n)}case m:{var J=t.type,me=t.pendingProps,ve=t.elementType===J?me:Ul(J,me);return d4(e,t,J,ve,n)}case b:return Aj(e,t,n);case C:return Lj(e,t,n);case k:return Nj(e,t);case Q:return m4(e,t,n);case S:return Xj(e,t,n);case j:{var Ce=t.type,rt=t.pendingProps,Rt=t.elementType===Ce?rt:Ul(Ce,rt);return l4(e,t,Ce,Rt,n)}case L:return Ej(e,t,n);case M:return Rj(e,t,n);case F:return Dj(e,t,n);case O:return Qj(e,t,n);case Y:return Jj(e,t,n);case N:{var St=t.type,pr=t.pendingProps,hr=Ul(St,pr);if(t.type!==t.elementType){var ce=St.propTypes;ce&&zl(ce,hr,"prop",Hr(St))}return hr=Ul(St.type,hr),s4(e,t,St,hr,n)}case te:return c4(e,t,t.type,t.pendingProps,n);case re:{var De=t.type,ue=t.pendingProps,qe=t.elementType===De?ue:Ul(De,ue);return Mj(e,t,De,qe,n)}case ye:return b4(e,t,n);case ge: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|=Tr}function C4(e){e.flags|=Ac,e.flags|=fb}var x4,o0,k4,T4;x4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===C||c.tag===k)w9(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}},o0=function(e,t){},k4=function(e,t,n,i,c){var d=e.memoizedProps;if(d!==i){var _=t.stateNode,y=Z1(),w=x9(_,n,d,i,c,y);t.updateQueue=w,w&&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=ze,i=It;if(t){if((e.mode&Kr)!==Ot){for(var w=e.selfBaseDuration,E=e.child;E!==null;)n=ir(n,ir(E.lanes,E.childLanes)),i|=E.subtreeFlags&Us,i|=E.flags&Us,w+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=w}else for(var A=e.child;A!==null;)n=ir(n,ir(A.lanes,A.childLanes)),i|=A.subtreeFlags&Us,i|=A.flags&Us,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Ot){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 tH(e,t,n){if(FF()&&(t.mode&br)!==Ot&&(t.flags&Pr)===It)return ax(t),ld(),t.flags|=Fs|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(zF(t),Rn(t),(t.mode&Kr)!==Ot){var c=n!==null;if(c){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(ld(),(t.flags&Pr)===It&&(t.memoizedState=null),t.flags|=Tr,Rn(t),(t.mode&Kr)!==Ot){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(L1(t),t.tag){case g:case _e:case te:case p:case j:case L:case M:case F:case Y:case N:return Rn(t),null;case m:{var c=t.type;return ds(c)&&Sv(t),Rn(t),null}case b:{var d=t.stateNode;if(fd(t),E1(t),ny(),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&Fs)!==It)&&(t.flags|=xu,nx())}}return o0(e,t),Rn(t),null}case C:{ey(t);var w=bx(),E=t.type;if(e!==null&&t.stateNode!=null)k4(e,t,E,i,w),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=Z1(),Z=Ev(t);if(Z)PF(t,w,A)&&gd(t);else{var J=S9(E,i,w,A,t);x4(J,t,!1,!1),t.stateNode=J,C9(J,E,i,w)&&gd(t)}t.ref!==null&&C4(t)}return Rn(t),null}case k:{var me=i;if(e&&t.stateNode!=null){var ve=e.memoizedProps;T4(e,t,ve,me)}else{if(typeof me!="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 Ce=bx(),rt=Z1(),Rt=Ev(t);Rt?IF(t)&&gd(t):t.stateNode=k9(me,Ce,rt,t)}return Rn(t),null}case Q:{pd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pr=tH(e,t,St);if(!pr)return t.flags&Gn?t:null}if((t.flags&Pr)!==It)return t.lanes=n,(t.mode&Kr)!==Ot&&Dy(t),t;var hr=St!==null,ce=e!==null&&e.memoizedState!==null;if(hr!==ce&&hr){var De=t.child;if(De.flags|=ku,(t.mode&br)!==Ot){var ue=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!xe);ue||ty(jl.current,wx)?lU():x0()}}var qe=t.updateQueue;if(qe!==null&&(t.flags|=Tr),Rn(t),(t.mode&Kr)!==Ot&&hr){var ct=t.child;ct!==null&&(t.treeBaseDuration-=ct.treeBaseDuration)}return null}case S:return fd(t),o0(e,t),e===null&&gF(t.stateNode.containerInfo),Rn(t),null;case O:var at=t.type._context;return q1(at,t),Rn(t),null;case re:{var Ht=t.type;return ds(Ht)&&Sv(t),Rn(t),null}case ye:{pd(t);var Gt=t.memoizedState;if(Gt===null)return Rn(t),null;var Qr=(t.flags&Pr)!==It,Lr=Gt.rendering;if(Lr===null)if(Qr)Th(Gt,!1);else{var Ua=cU()&&(e===null||(e.flags&Pr)===It);if(!Ua)for(var Nr=t.child;Nr!==null;){var Pa=Vv(Nr);if(Pa!==null){Qr=!0,t.flags|=Pr,Th(Gt,!1);var jn=Pa.updateQueue;return jn!==null&&(t.updateQueue=jn,t.flags|=Tr),t.subtreeFlags=It,YF(t,n),Wc(t,ry(jl.current,ph)),t.child}Nr=Nr.sibling}Gt.tail!==null&&_n()>K4()&&(t.flags|=Pr,Qr=!0,Th(Gt,!1),t.lanes=T3)}else{if(!Qr){var On=Vv(Lr);if(On!==null){t.flags|=Pr,Qr=!0;var Ho=On.updateQueue;if(Ho!==null&&(t.updateQueue=Ho,t.flags|=Tr),Th(Gt,!0),Gt.tail===null&&Gt.tailMode==="hidden"&&!Lr.alternate&&!Tn())return Rn(t),null}else _n()*2-Gt.renderingStartTime>K4()&&n!==Mo&&(t.flags|=Pr,Qr=!0,Th(Gt,!1),t.lanes=T3)}if(Gt.isBackwards)Lr.sibling=t.child,t.child=Lr;else{var Jn=Gt.last;Jn!==null?Jn.sibling=Lr:t.child=Lr,Gt.last=Lr}}if(Gt.tail!==null){var Zn=Gt.tail;Gt.rendering=Zn,Gt.tail=Zn.sibling,Gt.renderingStartTime=_n(),Zn.sibling=null;var Hn=jl.current;return Qr?Hn=ry(Hn,ph):Hn=dd(Hn),Wc(t,Hn),Zn}return Rn(t),null}case ge:break;case H:case le:{C0(t);var ac=t.memoizedState,Td=ac!==null;if(e!==null){var Uh=e.memoizedState,ys=Uh!==null;ys!==Td&&!de&&(t.flags|=ku)}return!Td||(t.mode&br)===Ot?Rn(t):Po(bs,Mo)&&(Rn(t),t.subtreeFlags&(Ka|Tr)&&(t.flags|=ku)),null}case fe: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 rH(e,t,n){switch(L1(t),t.tag){case m:{var i=t.type;ds(i)&&Sv(t);var c=t.flags;return c&Gn?(t.flags=c&~Gn|Pr,(t.mode&Kr)!==Ot&&Dy(t),t):null}case b:{var d=t.stateNode;fd(t),E1(t),ny();var _=t.flags;return(_&Gn)!==It&&(_&Pr)===It?(t.flags=_&~Gn|Pr,t):null}case C:return ey(t),null;case Q:{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 w=t.flags;return w&Gn?(t.flags=w&~Gn|Pr,(t.mode&Kr)!==Ot&&Dy(t),t):null}case ye:return pd(t),null;case S:return fd(t),null;case O:var E=t.type._context;return q1(E,t),null;case H:case le:return C0(t),null;case fe:return null;default:return null}}function R4(e,t,n){switch(L1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&Sv(t);break}case b:{var c=t.stateNode;fd(t),E1(t),ny();break}case C:{ey(t);break}case S:fd(t);break;case Q:pd(t);break;case ye:pd(t);break;case O:var d=t.type._context;q1(d,t);break;case H:case le:C0(t);break}}var D4=null;D4=new Set;var p_=!1,Dn=!1,aH=typeof WeakSet=="function"?WeakSet:Set,gt=null,bd=null,yd=null;function nH(e){lb(null,function(){throw e}),sb()}var oH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Kr)try{_s(),t.componentWillUnmount()}finally{vs(e)}else t.componentWillUnmount()};function A4(e,t){try{$c(an,e)}catch(n){ua(e,t,n)}}function i0(e,t,n){try{oH(e,n)}catch(i){ua(e,t,i)}}function iH(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(et&&ut&&e.mode&Kr)try{_s(),i=n(null)}finally{vs(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.",tr(e))}else n.current=null}function h_(e,t,n){try{n()}catch(i){ua(e,t,i)}}var N4=null,O4=!1;function lH(e,t){N4=b9(e.containerInfo),gt=t,sH();var n=O4;return O4=!1,N4=null,n}function sH(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&pb)!==It&&t!==null?(t.return=e,gt=t):cH()}}function cH(){for(;gt!==null;){var e=gt;wa(e);try{uH(e)}catch(n){ua(e,e.return,n)}vn();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function uH(e){var t=e.alternate,n=e.flags;if((n&xu)!==It){switch(wa(e),e.tag){case p:case j:case te:break;case m:{if(t!==null){var i=t.memoizedProps,c=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!Yu&&(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.",tr(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.",tr(e)||"instance"));var _=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Ul(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.",tr(e)))}d.__reactInternalSnapshotBeforeUpdate=_}break}case b:{{var w=e.stateNode;W9(w.containerInfo)}break}case C:case k:case S:case re: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.")}vn()}}function Wl(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)!==yo?kI(t):(e&an)!==yo&&S3(t),(e&ps)!==yo&&Fh(!0),h_(t,n,y),(e&ps)!==yo&&Fh(!1),(e&En)!==yo?TI():(e&an)!==yo&&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)!==yo?CI(t):(e&an)!==yo&&EI(t);var _=d.create;(e&ps)!==yo&&Fh(!0),d.destroy=_(),(e&ps)!==yo&&Fh(!1),(e&En)!==yo?xI():(e&an)!==yo&&RI();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var w=void 0;(d.tag&an)!==It?w="useLayoutEffect":(d.tag&ps)!==It?w="useInsertionEffect":w="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),Ky[c]||(Ky[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";kh[_]||(u("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",_),kh[_]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";Gy[y]||(u("%s: Function components do not support getDerivedStateFromProps.",y),Gy[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Hr(t)||"Unknown";$y[C]||(u("%s: Function components do not support contextType.",C),$y[C]=!0)}}}var e0={dehydrated:null,treeContext:null,retryLane:bn};function t0(e){return{baseLanes:e,cachePool:kj(),transitions:null}}function Ij(e,t){var n=null;return{baseLanes:ir(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function zj(e,t,n,i){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return ry(e,hh)}function Bj(e,t){return Ym(e.childLanes,t)}function m4(e,t,n){var i=t.pendingProps;JU(t)&&(t.flags|=Pr);var c=Hl.current,d=!1,_=(t.flags&Pr)!==It;if(_||zj(c,e)?(d=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(c=rj(c,wx)),c=hd(c),Wc(t,c),e===null){I1(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return Vj(t,C)}var E=i.children,A=i.fallback;if(d){var Z=Fj(t,E,A,n),J=t.child;return J.memoizedState=t0(n),t.memoizedState=e0,Z}else return r0(t,E)}else{var me=e.memoizedState;if(me!==null){var ve=me.dehydrated;if(ve!==null)return Wj(e,t,_,i,ve,me,n)}if(d){var Ce=i.fallback,rt=i.children,Rt=Hj(e,t,rt,Ce,n),St=t.child,pr=e.child.memoizedState;return St.memoizedState=pr===null?t0(n):Ij(pr,n),St.childLanes=Bj(e,n),t.memoizedState=e0,Rt}else{var hr=i.children,ce=jj(e,t,hr,n);return t.memoizedState=null,ce}}}function r0(e,t,n){var i=e.mode,c={mode:"visible",children:t},d=a0(c,i);return d.return=e,e.child=d,d}function Fj(e,t,n,i){var c=e.mode,d=e.child,_={mode:"hidden",children:t},y,C;return(c&br)===Ot&&d!==null?(y=d,y.childLanes=ze,y.pendingProps=_,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Jc(n,c,i,null)):(y=a0(_,c),C=Jc(n,c,i,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function a0(e,t,n){return _k(e,t,ze,null)}function v4(e,t){return Ju(e,t)}function jj(e,t,n,i){var c=e.child,d=c.sibling,_=v4(c,{mode:"visible",children:n});if((t.mode&br)===Ot&&(_.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 Hj(e,t,n,i,c){var d=t.mode,_=e.child,y=_.sibling,C={mode:"hidden",children:n},E;if((d&br)===Ot&&t.child!==_){var A=t.child;E=A,E.childLanes=ze,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&Us;var Z;return y!==null?Z=Ju(y,i):(Z=Jc(i,d,c,null),Z.flags|=Xa),Z.return=t,E.return=t,E.sibling=Z,t.child=E,Z}function d_(e,t,n,i){i!==null&&z1(i),ud(t,e.child,null,n);var c=t.pendingProps,d=c.children,_=r0(t,d);return _.flags|=Xa,t.memoizedState=null,_}function Uj(e,t,n,i,c){var d=t.mode,_={mode:"visible",children:n},y=a0(_,d),C=Jc(i,d,c,null);return C.flags|=Xa,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&br)!==Ot&&ud(t,e.child,null,c),C}function Vj(e,t,n){return(e.mode&br)===Ot?(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):S1(t)?e.lanes=Lu:e.lanes=Mo,null}function Wj(e,t,n,i,c,d,_){if(n)if(t.flags&Fs){t.flags&=~Fs;var ce=Vy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return d_(e,t,_,ce)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var De=i.children,ue=i.fallback,qe=Uj(e,t,De,ue,_),ct=t.child;return ct.memoizedState=t0(_),t.memoizedState=e0,qe}else{if(LF(),(t.mode&br)===Ot)return d_(e,t,_,null);if(S1(c)){var y,C,E;{var A=G9(c);y=A.digest,C=A.message,E=A.stack}var Z;C?Z=new Error(C):Z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var J=Vy(Z,y,E);return d_(e,t,_,J)}var me=Po(_,e.childLanes);if(Wl||me){var ve=C_();if(ve!==null){var Ce=ez(ve,_);if(Ce!==bn&&Ce!==d.retryLane){d.retryLane=Ce;var rt=ma;bo(e,Ce),fn(ve,e,Ce,rt)}}k0();var Rt=Vy(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 d_(e,t,_,Rt)}else if(FC(c)){t.flags|=Pr,t.child=e.child;var St=yU.bind(null,e);return K9(c,St),null}else{MF(t,c,d.treeContext);var pr=i.children,hr=r0(t,pr);return hr.flags|=js,hr}}}function _4(e,t,n){e.lanes=ir(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ir(i.lanes,t)),$1(e.return,t,n)}function qj(e,t,n){for(var i=t;i!==null;){if(i.tag===Q){var c=i.memoizedState;c!==null&&_4(i,n,e)}else if(i.tag===ye)_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 Yj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Wv(i)===null&&(n=t),t=t.sibling}return n}function $j(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Xy[e])if(Xy[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 Gj(e,t){e!==void 0&&!f_[e]&&(e!=="collapsed"&&e!=="hidden"?(f_[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(f_[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=rn(e),i=!n&&typeof Ga(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 Kj(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(rn(e)){for(var n=0;n<e.length;n++)if(!g4(e[n],n))return}else{var i=Ga(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 n0(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;$j(c),Gj(d,c),Kj(_,c),Kn(e,t,_,n);var y=Hl.current,C=ry(y,hh);if(C)y=ay(y,hh),t.flags|=Pr;else{var E=e!==null&&(e.flags&Pr)!==It;E&&qj(t,t.child,n),y=hd(y)}if(Wc(t,y),(t.mode&br)===Ot)t.memoizedState=null;else switch(c){case"forwards":{var A=Yj(t.child),Z;A===null?(Z=t.child,t.child=null):(Z=A.sibling,A.sibling=null),n0(t,!1,Z,A,d);break}case"backwards":{var J=null,me=t.child;for(t.child=null;me!==null;){var ve=me.alternate;if(ve!==null&&Wv(ve)===null){t.child=me;break}var Ce=me.sibling;me.sibling=J,J=me,me=Ce}n0(t,!0,J,null,d);break}case"together":{n0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Xj(e,t,n){Z1(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=ud(t,null,i,n):Kn(e,t,i,n),t.child}var y4=!1;function Qj(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&&Bl(C,d,"prop","Context.Provider")}if(dx(t,c,y),_!==null){var E=_.value;if(Bo(E,y)){if(_.children===d.children&&!Sv())return Js(e,t,n)}else $F(t,c,n)}var A=d.children;return Kn(e,t,A,n),t.child}var S4=!1;function Jj(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."),dd(t,n);var _=Qa(i);Cp(t);var y;return Ch.current=t,vl(!0),y=d(_),vl(!1),qf(),t.flags|=Vf,Kn(e,t,y,n),t.child}function Th(){Wl=!0}function p_(e,t){(t.mode&br)===Ot&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Xa)}function Js(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Xx(),Bh(t.lanes),Po(n,t.childLanes)?(qF(e,t),t.child):null}function Zj(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|=Xa,n}}function o0(e,t){var n=e.lanes;return!!Po(n,t)}function eH(e,t,n){switch(t.tag){case b:p4(t);var i=t.stateNode;cd();break;case w:yx(t);break;case m:{var c=t.type;ps(c)&&Cv(t);break}case S:Z1(t,t.stateNode.containerInfo);break;case O:{var d=t.memoizedProps.value,_=t.type._context;dx(t,_,d);break}case F:{var y=Po(n,t.childLanes);y&&(t.flags|=Tr);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case Q:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return Wc(t,hd(Hl.current)),t.flags|=Pr,null;var A=t.child,Z=A.childLanes;if(Po(n,Z))return m4(e,t,n);Wc(t,hd(Hl.current));var J=Js(e,t,n);return J!==null?J.sibling:null}else Wc(t,hd(Hl.current));break}case ye:{var me=(e.flags&Pr)!==It,ve=Po(n,t.childLanes);if(me){if(ve)return b4(e,t,n);t.flags|=Pr}var Ce=t.memoizedState;if(Ce!==null&&(Ce.rendering=null,Ce.tail=null,Ce.lastEffect=null),Wc(t,Hl.current),ve)break;return null}case H:case le:return t.lanes=ze,u4(e,t,n)}return Js(e,t,n)}function w4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Zj(e,t,I0(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||Sv()||t.type!==e.type)Wl=!0;else{var d=o0(e,n);if(!d&&(t.flags&Pr)===It)return Wl=!1,eH(e,t,n);(e.flags&fb)!==It?Wl=!0:Wl=!1}}else if(Wl=!1,Tn()&&kF(t)){var _=t.index,y=TF();XC(t,y,_)}switch(t.lanes=ze,t.tag){case g:return Pj(e,t,t.type,n);case _e:{var C=t.elementType;return Oj(e,t,C,n)}case p:{var E=t.type,A=t.pendingProps,Z=t.elementType===E?A:Vl(E,A);return Qy(e,t,E,Z,n)}case m:{var J=t.type,me=t.pendingProps,ve=t.elementType===J?me:Vl(J,me);return d4(e,t,J,ve,n)}case b:return Aj(e,t,n);case w:return Lj(e,t,n);case k:return Nj(e,t);case Q:return m4(e,t,n);case S:return Xj(e,t,n);case j:{var Ce=t.type,rt=t.pendingProps,Rt=t.elementType===Ce?rt:Vl(Ce,rt);return l4(e,t,Ce,Rt,n)}case L:return Ej(e,t,n);case M:return Rj(e,t,n);case F:return Dj(e,t,n);case O:return Qj(e,t,n);case Y:return Jj(e,t,n);case N:{var St=t.type,pr=t.pendingProps,hr=Vl(St,pr);if(t.type!==t.elementType){var ce=St.propTypes;ce&&Bl(ce,hr,"prop",Hr(St))}return hr=Vl(St.type,hr),s4(e,t,St,hr,n)}case te:return c4(e,t,t.type,t.pendingProps,n);case re:{var De=t.type,ue=t.pendingProps,qe=t.elementType===De?ue:Vl(De,ue);return Mj(e,t,De,qe,n)}case ye:return b4(e,t,n);case ge: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 yd(e){e.flags|=Tr}function C4(e){e.flags|=Ac,e.flags|=db}var x4,i0,k4,T4;x4=function(e,t,n,i){for(var c=t.child;c!==null;){if(c.tag===w||c.tag===k)w9(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}},i0=function(e,t){},k4=function(e,t,n,i,c){var d=e.memoizedProps;if(d!==i){var _=t.stateNode,y=ey(),C=x9(_,n,d,i,c,y);t.updateQueue=C,C&&yd(t)}},T4=function(e,t,n,i){n!==i&&yd(t)};function Eh(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=ze,i=It;if(t){if((e.mode&Kr)!==Ot){for(var C=e.selfBaseDuration,E=e.child;E!==null;)n=ir(n,ir(E.lanes,E.childLanes)),i|=E.subtreeFlags&Us,i|=E.flags&Us,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&Us,i|=A.flags&Us,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Ot){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 tH(e,t,n){if(FF()&&(t.mode&br)!==Ot&&(t.flags&Pr)===It)return ax(t),cd(),t.flags|=Fs|Sp|Gn,!1;var i=Rv(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(zF(t),Rn(t),(t.mode&Kr)!==Ot){var c=n!==null;if(c){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(cd(),(t.flags&Pr)===It&&(t.memoizedState=null),t.flags|=Tr,Rn(t),(t.mode&Kr)!==Ot){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(N1(t),t.tag){case g:case _e:case te:case p:case j:case L:case M:case F:case Y:case N:return Rn(t),null;case m:{var c=t.type;return ps(c)&&wv(t),Rn(t),null}case b:{var d=t.stateNode;if(pd(t),R1(t),oy(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var _=Rv(t);if(_)yd(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Fs)!==It)&&(t.flags|=ku,nx())}}return i0(e,t),Rn(t),null}case w:{ty(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=ey(),Z=Rv(t);if(Z)PF(t,C,A)&&yd(t);else{var J=S9(E,i,C,A,t);x4(J,t,!1,!1),t.stateNode=J,C9(J,E,i,C)&&yd(t)}t.ref!==null&&C4(t)}return Rn(t),null}case k:{var me=i;if(e&&t.stateNode!=null){var ve=e.memoizedProps;T4(e,t,ve,me)}else{if(typeof me!="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 Ce=bx(),rt=ey(),Rt=Rv(t);Rt?IF(t)&&yd(t):t.stateNode=k9(me,Ce,rt,t)}return Rn(t),null}case Q:{md(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pr=tH(e,t,St);if(!pr)return t.flags&Gn?t:null}if((t.flags&Pr)!==It)return t.lanes=n,(t.mode&Kr)!==Ot&&Ay(t),t;var hr=St!==null,ce=e!==null&&e.memoizedState!==null;if(hr!==ce&&hr){var De=t.child;if(De.flags|=Tu,(t.mode&br)!==Ot){var ue=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!xe);ue||ry(Hl.current,wx)?lU():k0()}}var qe=t.updateQueue;if(qe!==null&&(t.flags|=Tr),Rn(t),(t.mode&Kr)!==Ot&&hr){var ct=t.child;ct!==null&&(t.treeBaseDuration-=ct.treeBaseDuration)}return null}case S:return pd(t),i0(e,t),e===null&&gF(t.stateNode.containerInfo),Rn(t),null;case O:var at=t.type._context;return Y1(at,t),Rn(t),null;case re:{var Ht=t.type;return ps(Ht)&&wv(t),Rn(t),null}case ye:{md(t);var Kt=t.memoizedState;if(Kt===null)return Rn(t),null;var Qr=(t.flags&Pr)!==It,Lr=Kt.rendering;if(Lr===null)if(Qr)Eh(Kt,!1);else{var Ua=cU()&&(e===null||(e.flags&Pr)===It);if(!Ua)for(var Nr=t.child;Nr!==null;){var Pa=Wv(Nr);if(Pa!==null){Qr=!0,t.flags|=Pr,Eh(Kt,!1);var jn=Pa.updateQueue;return jn!==null&&(t.updateQueue=jn,t.flags|=Tr),t.subtreeFlags=It,YF(t,n),Wc(t,ay(Hl.current,hh)),t.child}Nr=Nr.sibling}Kt.tail!==null&&_n()>K4()&&(t.flags|=Pr,Qr=!0,Eh(Kt,!1),t.lanes=T3)}else{if(!Qr){var On=Wv(Lr);if(On!==null){t.flags|=Pr,Qr=!0;var Ho=On.updateQueue;if(Ho!==null&&(t.updateQueue=Ho,t.flags|=Tr),Eh(Kt,!0),Kt.tail===null&&Kt.tailMode==="hidden"&&!Lr.alternate&&!Tn())return Rn(t),null}else _n()*2-Kt.renderingStartTime>K4()&&n!==Mo&&(t.flags|=Pr,Qr=!0,Eh(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=_n(),Zn.sibling=null;var Hn=Hl.current;return Qr?Hn=ay(Hn,hh):Hn=hd(Hn),Wc(t,Hn),Zn}return Rn(t),null}case ge:break;case H:case le:{x0(t);var ac=t.memoizedState,Rd=ac!==null;if(e!==null){var Vh=e.memoizedState,Ss=Vh!==null;Ss!==Rd&&!de&&(t.flags|=Tu)}return!Rd||(t.mode&br)===Ot?Rn(t):Po(ys,Mo)&&(Rn(t),t.subtreeFlags&(Xa|Tr)&&(t.flags|=Tu)),null}case fe: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 rH(e,t,n){switch(N1(t),t.tag){case m:{var i=t.type;ps(i)&&wv(t);var c=t.flags;return c&Gn?(t.flags=c&~Gn|Pr,(t.mode&Kr)!==Ot&&Ay(t),t):null}case b:{var d=t.stateNode;pd(t),R1(t),oy();var _=t.flags;return(_&Gn)!==It&&(_&Pr)===It?(t.flags=_&~Gn|Pr,t):null}case w:return ty(t),null;case Q:{md(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.");cd()}var C=t.flags;return C&Gn?(t.flags=C&~Gn|Pr,(t.mode&Kr)!==Ot&&Ay(t),t):null}case ye:return md(t),null;case S:return pd(t),null;case O:var E=t.type._context;return Y1(E,t),null;case H:case le:return x0(t),null;case fe:return null;default:return null}}function R4(e,t,n){switch(N1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&wv(t);break}case b:{var c=t.stateNode;pd(t),R1(t),oy();break}case w:{ty(t);break}case S:pd(t);break;case Q:md(t);break;case ye:md(t);break;case O:var d=t.type._context;Y1(d,t);break;case H:case le:x0(t);break}}var D4=null;D4=new Set;var h_=!1,Dn=!1,aH=typeof WeakSet=="function"?WeakSet:Set,gt=null,Sd=null,wd=null;function nH(e){sb(null,function(){throw e}),cb()}var oH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Kr)try{gs(),t.componentWillUnmount()}finally{_s(e)}else t.componentWillUnmount()};function A4(e,t){try{$c(nn,e)}catch(n){ua(e,t,n)}}function l0(e,t,n){try{oH(e,n)}catch(i){ua(e,t,i)}}function iH(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 Cd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(et&&ut&&e.mode&Kr)try{gs(),i=n(null)}finally{_s(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 m_(e,t,n){try{n()}catch(i){ua(e,t,i)}}var N4=null,O4=!1;function lH(e,t){N4=b9(e.containerInfo),gt=t,sH();var n=O4;return O4=!1,N4=null,n}function sH(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&hb)!==It&&t!==null?(t.return=e,gt=t):cH()}}function cH(){for(;gt!==null;){var e=gt;wa(e);try{uH(e)}catch(n){ua(e,e.return,n)}vn();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function uH(e){var t=e.alternate,n=e.flags;if((n&ku)!==It){switch(wa(e),e.tag){case p:case j:case te: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:Vl(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;W9(C.containerInfo)}break}case w:case k:case S:case re: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.")}vn()}}function ql(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)!==yo?kI(t):(e&nn)!==yo&&S3(t),(e&hs)!==yo&&jh(!0),m_(t,n,y),(e&hs)!==yo&&jh(!1),(e&En)!==yo?TI():(e&nn)!==yo&&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)!==yo?CI(t):(e&nn)!==yo&&EI(t);var _=d.create;(e&hs)!==yo&&jh(!0),d.destroy=_(),(e&hs)!==yo&&jh(!1),(e&En)!==yo?xI():(e&nn)!==yo&&RI();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(d.tag&nn)!==It?C="useLayoutEffect":(d.tag&hs)!==It?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
|
-
It looks like you wrote `+
|
|
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
|
|
|
106
|
-
`+
|
|
106
|
+
`+C+`(() => {
|
|
107
107
|
async function fetchData() {
|
|
108
108
|
// You can await here
|
|
109
109
|
const response = await MyAPI.getData(someId);
|
|
@@ -112,11 +112,11 @@ It looks like you wrote `+w+`(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",w,E)}}}d=d.next}while(d!==c)}}function fH(e,t){if((t.flags&Tr)!==It)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 w=t.return;e:for(;w!==null;){switch(w.tag){case b:var E=w.stateNode;E.passiveEffectDuration+=n;break e;case F:var A=w.stateNode;A.passiveEffectDuration+=n;break e}w=w.return}break}}}function dH(e,t,n,i){if((n.flags&Sp)!==It)switch(n.tag){case p:case j:case te:{if(!Dn)if(n.mode&Kr)try{_s(),$c(an|rn,n)}finally{vs(n)}else $c(an|rn,n);break}case m:{var c=n.stateNode;if(n.flags&Tr&&!Dn)if(t===null)if(n.type===n.elementType&&!Yu&&(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.",tr(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.",tr(n)||"instance")),n.mode&Kr)try{_s(),c.componentDidMount()}finally{vs(n)}else c.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Ul(n.type,t.memoizedProps),_=t.memoizedState;if(n.type===n.elementType&&!Yu&&(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.",tr(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.",tr(n)||"instance")),n.mode&Kr)try{_s(),c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}finally{vs(n)}else c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!Yu&&(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.",tr(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.",tr(n)||"instance")),gx(n,y,c));break}case b:{var w=n.updateQueue;if(w!==null){var E=null;if(n.child!==null)switch(n.child.tag){case C:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}gx(n,w,E)}break}case C:{var A=n.stateNode;if(t===null&&n.flags&Tr){var Z=n.type,J=n.memoizedProps;A9(A,Z,J)}break}case k:break;case S:break;case F:{{var me=n.memoizedProps,ve=me.onCommit,Ce=me.onRender,rt=n.stateNode.effectDuration,Rt=Gx(),St=t===null?"mount":"update";$x()&&(St="nested-update"),typeof Ce=="function"&&Ce(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Rt);{typeof ve=="function"&&ve(n.memoizedProps.id,St,rt,Rt),hU(n);var pr=n.return;e:for(;pr!==null;){switch(pr.tag){case b:var hr=pr.stateNode;hr.effectDuration+=rt;break e;case F:var ce=pr.stateNode;ce.effectDuration+=rt;break e}pr=pr.return}}}break}case Q:{yH(e,n);break}case ye:case re:case ge: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 pH(e){switch(e.tag){case p:case j:case te:{if(e.mode&Kr)try{_s(),A4(e,e.return)}finally{vs(e)}else A4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&iH(e,e.return,t),L4(e,e.return);break}case C:{L4(e,e.return);break}}}function hH(e,t){for(var n=null,i=e;;){if(i.tag===C){if(n===null){n=i;try{var c=i.stateNode;t?j9(c):U9(i.stateNode,i.memoizedProps)}catch(_){ua(e,e.return,_)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?H9(d):V9(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 C:i=n;break;default:i=n}if(typeof t=="function"){var c;if(e.mode&Kr)try{_s(),c=t(i)}finally{vs(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.",tr(e))}else t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",tr(e)),t.current=i}}function mH(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===C){var n=e.stateNode;n!==null&&SF(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 vH(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===C||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!==C&&t.tag!==k&&t.tag!==be;){if(t.flags&Ka||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ka))return t.stateNode}}function _H(e){var t=vH(e);switch(t.tag){case C:{var n=t.stateNode;t.flags&bp&&(BC(n),t.flags&=~bp);var i=z4(e);s0(e,i,n);break}case b:case S:{var c=t.stateNode.containerInfo,d=z4(e);l0(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 l0(e,t,n){var i=e.tag,c=i===C||i===k;if(c){var d=e.stateNode;t?I9(n,d,t):M9(n,d)}else if(i!==S){var _=e.child;if(_!==null){l0(_,t,n);for(var y=_.sibling;y!==null;)l0(y,t,n),y=y.sibling}}}function s0(e,t,n){var i=e.tag,c=i===C||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){s0(_,t,n);for(var y=_.sibling;y!==null;)s0(y,t,n),y=y.sibling}}}var An=null,ql=!1;function gH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case C:{An=i.stateNode,ql=!1;break e}case b:{An=i.stateNode.containerInfo,ql=!0;break e}case S:{An=i.stateNode.containerInfo,ql=!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,ql=!1}mH(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(bI(n),n.tag){case C:Dn||Sd(n,t);case k:{{var i=An,c=ql;An=null,Gc(e,t,n),An=i,ql=c,An!==null&&(ql?B9(An,n.stateNode):z9(An,n.stateNode))}return}case be:{An!==null&&(ql?F9(An,n.stateNode):b1(An,n.stateNode));return}case S:{{var d=An,_=ql;An=n.stateNode.containerInfo,ql=!0,Gc(e,t,n),An=d,ql=_}return}case p:case j:case N:case te:{if(!Dn){var y=n.updateQueue;if(y!==null){var w=y.lastEffect;if(w!==null){var E=w.next,A=E;do{var Z=A,J=Z.destroy,me=Z.tag;J!==void 0&&((me&ps)!==yo?h_(n,t,J):(me&an)!==yo&&(S3(n),n.mode&Kr?(_s(),h_(n,t,J),vs(n)):h_(n,t,J),w3())),A=A.next}while(A!==E)}}}Gc(e,t,n);return}case m:{if(!Dn){Sd(n,t);var ve=n.stateNode;typeof ve.componentWillUnmount=="function"&&i0(n,t,ve)}Gc(e,t,n);return}case ge:{Gc(e,t,n);return}case H:{if(n.mode&br){var Ce=Dn;Dn=Ce||n.memoizedState!==null,Gc(e,t,n),Dn=Ce}else Gc(e,t,n);break}default:{Gc(e,t,n);return}}}function bH(e){var t=e.memoizedState}function yH(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&&nF(d)}}}}function F4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new aH),t.forEach(function(i){var c=SU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Pl)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 SH(e,t,n){bd=n,yd=e,wa(t),j4(t,e),wa(t),bd=null,yd=null}function Yl(e,t,n){var i=t.deletions;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c];try{gH(e,t,d)}catch(w){ua(d,t,w)}}var _=Wg();if(t.subtreeFlags&hb)for(var y=t.child;y!==null;)wa(y),j4(y,e),y=y.sibling;wa(_)}function j4(e,t,n){var i=e.alternate,c=e.flags;switch(e.tag){case p:case j:case N:case te:{if(Yl(t,e),gs(e),c&Tr){try{Wl(ps|rn,e,e.return),$c(ps|rn,e)}catch(Ht){ua(e,e.return,Ht)}if(e.mode&Kr){try{_s(),Wl(an|rn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}vs(e)}else try{Wl(an|rn,e,e.return)}catch(Ht){ua(e,e.return,Ht)}}return}case m:{Yl(t,e),gs(e),c&Ac&&i!==null&&Sd(i,i.return);return}case C:{Yl(t,e),gs(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&Tr){var _=e.stateNode;if(_!=null){var y=e.memoizedProps,w=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{L9(_,A,E,w,y,e)}catch(Ht){ua(e,e.return,Ht)}}}}return}case k:{if(Yl(t,e),gs(e),c&Tr){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 Z=e.stateNode,J=e.memoizedProps,me=i!==null?i.memoizedProps:J;try{N9(Z,me,J)}catch(Ht){ua(e,e.return,Ht)}}return}case b:{if(Yl(t,e),gs(e),c&Tr&&i!==null){var ve=i.memoizedState;if(ve.isDehydrated)try{aF(t.containerInfo)}catch(Ht){ua(e,e.return,Ht)}}return}case S:{Yl(t,e),gs(e);return}case Q:{Yl(t,e),gs(e);var Ce=e.child;if(Ce.flags&ku){var rt=Ce.stateNode,Rt=Ce.memoizedState,St=Rt!==null;if(rt.isHidden=St,St){var pr=Ce.alternate!==null&&Ce.alternate.memoizedState!==null;pr||iU()}}if(c&Tr){try{bH(e)}catch(Ht){ua(e,e.return,Ht)}F4(e)}return}case H:{var hr=i!==null&&i.memoizedState!==null;if(e.mode&br){var ce=Dn;Dn=ce||hr,Yl(t,e),Dn=ce}else Yl(t,e);if(gs(e),c&ku){var De=e.stateNode,ue=e.memoizedState,qe=ue!==null,ct=e;if(De.isHidden=qe,qe&&!hr&&(ct.mode&br)!==Ot){gt=ct;for(var at=ct.child;at!==null;)gt=at,CH(at),at=at.sibling}hH(ct,qe)}return}case ye:{Yl(t,e),gs(e),c&Tr&&F4(e);return}case ge:return;default:{Yl(t,e),gs(e);return}}}function gs(e){var t=e.flags;if(t&Ka){try{_H(e)}catch(n){ua(e,e.return,n)}e.flags&=~Ka}t&js&&(e.flags&=~js)}function wH(e,t,n){bd=n,yd=t,gt=e,H4(e,t,n),bd=null,yd=null}function H4(e,t,n){for(var i=(e.mode&br)!==Ot;gt!==null;){var c=gt,d=c.child;if(c.tag===H&&i){var _=c.memoizedState!==null,y=_||p_;if(y){c0(e,t,n);continue}else{var w=c.alternate,E=w!==null&&w.memoizedState!==null,A=E||Dn,Z=p_,J=Dn;p_=y,Dn=A,Dn&&!J&&(gt=c,xH(c));for(var me=d;me!==null;)gt=me,H4(me,t,n),me=me.sibling;gt=c,p_=Z,Dn=J,c0(e,t,n);continue}}(c.subtreeFlags&Sp)!==It&&d!==null?(d.return=c,gt=d):c0(e,t,n)}}function c0(e,t,n){for(;gt!==null;){var i=gt;if((i.flags&Sp)!==It){var c=i.alternate;wa(i);try{dH(t,c,i,n)}catch(_){ua(i,i.return,_)}vn()}if(i===e){gt=null;return}var d=i.sibling;if(d!==null){d.return=i.return,gt=d;return}gt=i.return}}function CH(e){for(;gt!==null;){var t=gt,n=t.child;switch(t.tag){case p:case j:case N:case te:{if(t.mode&Kr)try{_s(),Wl(an,t,t.return)}finally{vs(t)}else Wl(an,t,t.return);break}case m:{Sd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&i0(t,t.return,i);break}case C:{Sd(t,t.return);break}case H:{var c=t.memoizedState!==null;if(c){U4(e);continue}break}}n!==null?(n.return=t,gt=n):U4(e)}}function U4(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function xH(e){for(;gt!==null;){var t=gt,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){V4(e);continue}}n!==null?(n.return=t,gt=n):V4(e)}}function V4(e){for(;gt!==null;){var t=gt;wa(t);try{pH(t)}catch(i){ua(t,t.return,i)}if(vn(),t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function kH(e,t,n,i){gt=t,TH(t,e,n,i)}function TH(e,t,n,i){for(;gt!==null;){var c=gt,d=c.child;(c.subtreeFlags&Uf)!==It&&d!==null?(d.return=c,gt=d):EH(e,t,n,i)}}function EH(e,t,n,i){for(;gt!==null;){var c=gt;if((c.flags&Ml)!==It){wa(c);try{RH(t,c,n,i)}catch(_){ua(c,c.return,_)}vn()}if(c===e){gt=null;return}var d=c.sibling;if(d!==null){d.return=c.return,gt=d;return}gt=c.return}}function RH(e,t,n,i){switch(t.tag){case p:case j:case te:{if(t.mode&Kr){Ry();try{$c(En|rn,t)}finally{Ey(t)}}else $c(En|rn,t);break}}}function DH(e){gt=e,AH()}function AH(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&Cu)!==It){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var c=n[i];gt=c,OH(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)}}}gt=e}}(e.subtreeFlags&Uf)!==It&&t!==null?(t.return=e,gt=t):LH()}}function LH(){for(;gt!==null;){var e=gt;(e.flags&Ml)!==It&&(wa(e),NH(e),vn());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function NH(e){switch(e.tag){case p:case j:case te:{e.mode&Kr?(Ry(),Wl(En|rn,e,e.return),Ey(e)):Wl(En|rn,e,e.return);break}}}function OH(e,t){for(;gt!==null;){var n=gt;wa(n),PH(n,t),vn();var i=n.child;i!==null?(i.return=n,gt=i):MH(e)}}function MH(e){for(;gt!==null;){var t=gt,n=t.sibling,i=t.return;if(P4(t),t===e){gt=null;return}if(n!==null){n.return=i,gt=n;return}gt=i}}function PH(e,t){switch(e.tag){case p:case j:case te:{e.mode&Kr?(Ry(),Wl(En,e,t),Ey(e)):Wl(En,e,t);break}}}function IH(e){switch(e.tag){case p:case j:case te:{try{$c(an|rn,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 zH(e){switch(e.tag){case p:case j:case te:{try{$c(En|rn,e)}catch(t){ua(e,e.return,t)}break}}}function BH(e){switch(e.tag){case p:case j:case te:{try{Wl(an|rn,e,e.return)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&i0(e,e.return,t);break}}}function FH(e){switch(e.tag){case p:case j:case te:try{Wl(En|rn,e,e.return)}catch(t){ua(e,e.return,t)}}}var jH=0,HH=1,UH=2,VH=3,WH=4;if(typeof Symbol=="function"&&Symbol.for){var Eh=Symbol.for;jH=Eh("selector.component"),HH=Eh("selector.has_pseudo_class"),UH=Eh("selector.role"),VH=Eh("selector.test_id"),WH=Eh("selector.text")}var qH=[];function YH(){qH.forEach(function(e){return e()})}var $H=o.ReactCurrentActQueue;function GH(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&&$H.current!==null&&u("The current testing environment is not configured to support act(...)"),e}}var KH=Math.ceil,u0=o.ReactCurrentDispatcher,f0=o.ReactCurrentOwner,Ln=o.ReactCurrentBatchConfig,$l=o.ReactCurrentActQueue,ln=0,q4=1,Nn=2,Sl=4,Zs=0,Rh=1,$u=2,m_=3,Dh=4,Y4=5,d0=6,yr=ln,Xn=null,Ra=null,sn=ze,bs=ze,p0=Bc(ze),cn=Zs,Ah=null,h0=ze,v_=ze,Lh=ze,__=ze,Nh=null,So=null,m0=0,$4=500,G4=1/0,XH=500,ec=null;function Oh(){G4=_n()+XH}function K4(){return G4}var g_=!1,v0=null,wd=null,Gu=!1,Kc=null,Mh=ze,_0=[],g0=null,QH=50,Ph=0,b0=null,y0=!1,b_=!1,JH=50,Cd=0,y_=null,Ih=ma,S_=ze,X4=!1;function w_(){return Xn}function Qn(){return(yr&(Nn|Sl))!==ln?_n():(Ih!==ma||(Ih=_n()),Ih)}function Xc(e){var t=e.mode;if((t&br)===Ot)return qt;if((yr&Nn)!==ln&&sn!==ze)return Rp(sn);var n=UF()!==HF;if(n){if(Ln.transition!==null){var i=Ln.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return S_===bn&&(S_=A3()),S_}var c=Il();if(c!==bn)return c;var d=T9();return d}function ZH(e){var t=e.mode;return(t&br)===Ot?qt:XI()}function un(e,t,n,i){CU(),X4&&u("useInsertionEffect must not schedule updates."),y0&&(b_=!0),Dp(e,n,i),(yr&Nn)!==ze&&e===Xn?TU(t):(Pl&&O3(e,t,n),EU(t),e===Xn&&((yr&Nn)===ln&&(Lh=ir(Lh,n)),cn===Dh&&Qc(e,sn)),wo(e,i),n===qt&&yr===ln&&(t.mode&br)===Ot&&!$l.isBatchingLegacy&&(Oh(),KC()))}function eU(e,t,n){var i=e.current;i.lanes=t,Dp(e,t,n),wo(e,n)}function tU(e){return(yr&Nn)!==ln}function wo(e,t){var n=e.callbackNode;WI(e,t);var i=Vm(e,e===Xn?sn:ze);if(i===ze){n!==null&&dk(n),e.callbackNode=null,e.callbackPriority=bn;return}var c=Nu(i),d=e.callbackPriority;if(d===c&&!($l.current!==null&&n!==E0)){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?($l.isBatchingLegacy!==null&&($l.didScheduleLegacyUpdate=!0),xF(Z4.bind(null,e))):GC(Z4.bind(null,e)),$l.current!==null?$l.current.push(jc):R9(function(){(yr&(Nn|Sl))===ln&&jc()}),_=null;else{var y;switch(I3(i)){case Io:y=Fm;break;case Ws:y=mb;break;case qs:y=Ru;break;case Ym:y=vb;break;default:y=Ru;break}_=R0(y,Q4.bind(null,e))}e.callbackPriority=c,e.callbackNode=_}function Q4(e,t){if(hj(),Ih=ma,S_=ze,(yr&(Nn|Sl))!==ln)throw new Error("Should not already be working.");var n=e.callbackNode,i=rc();if(i&&e.callbackNode!==n)return null;var c=Vm(e,e===Xn?sn:ze);if(c===ze)return null;var d=!Wm(e,c)&&!KI(e,c)&&!t,_=d?fU(e,c):x_(e,c);if(_!==Zs){if(_===$u){var y=Bb(e);y!==ze&&(c=y,_=S0(e,y))}if(_===Rh){var w=Ah;throw Ku(e,ze),Qc(e,c),wo(e,_n()),w}if(_===d0)Qc(e,c);else{var E=!Wm(e,c),A=e.current.alternate;if(E&&!aU(A)){if(_=x_(e,c),_===$u){var Z=Bb(e);Z!==ze&&(c=Z,_=S0(e,Z))}if(_===Rh){var J=Ah;throw Ku(e,ze),Qc(e,c),wo(e,_n()),J}}e.finishedWork=A,e.finishedLanes=c,rU(e,_,c)}}return wo(e,_n()),e.callbackNode===n?Q4.bind(null,e):null}function S0(e,t){var n=Nh;if($m(e)){var i=Ku(e,t);i.flags|=Fs,_F(e.containerInfo)}var c=x_(e,t);if(c!==$u){var d=So;So=n,d!==null&&J4(d)}return c}function J4(e){So===null?So=e:So.push.apply(So,e)}function rU(e,t,n){switch(t){case Zs:case Rh:throw new Error("Root did not complete. This is a bug in React.");case $u:{Xu(e,So,ec);break}case m_:{if(Qc(e,n),R3(n)&&!pk()){var i=m0+$4-_n();if(i>10){var c=Vm(e,ze);if(c!==ze)break;var d=e.suspendedLanes;if(!$f(d,n)){var _=Qn();N3(e,d);break}e.timeoutHandle=_1(Xu.bind(null,e,So,ec),i);break}}Xu(e,So,ec);break}case Dh:{if(Qc(e,n),GI(n))break;if(!pk()){var y=UI(e,n),w=y,E=_n()-w,A=wU(E)-E;if(A>10){e.timeoutHandle=_1(Xu.bind(null,e,So,ec),A);break}}Xu(e,So,ec);break}case Y4:{Xu(e,So,ec);break}default:throw new Error("Unknown root exit status.")}}function aU(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(!Bo(_(),y))return!1}catch(E){return!1}}}}var w=t.child;if(t.subtreeFlags&zm&&w!==null){w.return=t,t=w;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),JI(e,t)}function Z4(e){if(mj(),(yr&(Nn|Sl))!==ln)throw new Error("Should not already be working.");rc();var t=Vm(e,ze);if(!Po(t,qt))return wo(e,_n()),null;var n=x_(e,t);if(e.tag!==Fc&&n===$u){var i=Bb(e);i!==ze&&(t=i,n=S0(e,i))}if(n===Rh){var c=Ah;throw Ku(e,ze),Qc(e,t),wo(e,_n()),c}if(n===d0)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,Xu(e,So,ec),wo(e,_n()),null}function nU(e,t){t!==ze&&(Ub(e,ir(t,qt)),wo(e,_n()),(yr&(Nn|Sl))===ln&&(Oh(),jc()))}function w0(e,t){var n=yr;yr|=q4;try{return e(t)}finally{yr=n,yr===ln&&!$l.isBatchingLegacy&&(Oh(),KC())}}function oU(e,t,n,i,c){var d=Il(),_=Ln.transition;try{return Ln.transition=null,yn(Io),e(t,n,i,c)}finally{yn(d),Ln.transition=_,yr===ln&&Oh()}}function tc(e){Kc!==null&&Kc.tag===Fc&&(yr&(Nn|Sl))===ln&&rc();var t=yr;yr|=q4;var n=Ln.transition,i=Il();try{return Ln.transition=null,yn(Io),e?e():void 0}finally{yn(i),Ln.transition=n,yr=t,(yr&(Nn|Sl))===ln&&jc()}}function ek(){return(yr&(Nn|Sl))!==ln}function C_(e,t){Bn(p0,bs,e),bs=ir(bs,t),h0=ir(h0,t)}function C0(e){bs=p0.current,zn(p0,e)}function Ku(e,t){e.finishedWork=null,e.finishedLanes=ze;var n=e.timeoutHandle;if(n!==g1&&(e.timeoutHandle=g1,E9(n)),Ra!==null)for(var i=Ra.return;i!==null;){var c=i.alternate;R4(c,i),i=i.return}Xn=e;var d=Qu(e.current,null);return Ra=d,sn=bs=h0=t,cn=Zs,Ah=null,v_=ze,Lh=ze,__=ze,Nh=null,So=null,KF(),Fl.discardPendingWarnings(),d}function tk(e,t){do{var n=Ra;try{if(Ov(),xx(),vn(),f0.current=null,n===null||n.return===null){cn=Rh,Ah=t,Ra=null;return}if(et&&n.mode&Kr&&s_(n,!0),Pe)if(Vf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;AI(n,i,sn)}else DI(n,t,sn);xj(e,n.return,n,t,sn),ok(n)}catch(c){t=c,Ra===n&&n!==null?(n=n.return,Ra=n):n=Ra;continue}return}while(!0)}function rk(){var e=u0.current;return u0.current=a_,e===null?a_:e}function ak(e){u0.current=e}function iU(){m0=_n()}function zh(e){v_=ir(e,v_)}function lU(){cn===Zs&&(cn=m_)}function x0(){(cn===Zs||cn===m_||cn===$u)&&(cn=Dh),Xn!==null&&(Fb(v_)||Fb(Lh))&&Qc(Xn,sn)}function sU(e){cn!==Dh&&(cn=$u),Nh===null?Nh=[e]:Nh.push(e)}function cU(){return cn===Zs}function x_(e,t){var n=yr;yr|=Nn;var i=rk();if(Xn!==e||sn!==t){if(Pl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,sn),c.clear()),M3(e,t)}ec=P3(),Ku(e,t)}C3(t);do try{uU();break}catch(d){tk(e,d)}while(!0);if(Ov(),yr=n,ak(i),Ra!==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,sn=ze,cn}function uU(){for(;Ra!==null;)nk(Ra)}function fU(e,t){var n=yr;yr|=Nn;var i=rk();if(Xn!==e||sn!==t){if(Pl){var c=e.memoizedUpdaters;c.size>0&&(Bh(e,sn),c.clear()),M3(e,t)}ec=P3(),Oh(),Ku(e,t)}C3(t);do try{dU();break}catch(d){tk(e,d)}while(!0);return Ov(),ak(i),yr=n,Ra!==null?(PI(),Zs):(x3(),Xn=null,sn=ze,cn)}function dU(){for(;Ra!==null&&!cI();)nk(Ra)}function nk(e){var t=e.alternate;wa(e);var n;(e.mode&Kr)!==Ot?(Ty(e),n=k0(t,e,bs),s_(e,!0)):n=k0(t,e,bs),vn(),e.memoizedProps=e.pendingProps,n===null?ok(e):Ra=n,f0.current=null}function ok(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&yp)===It){wa(t);var c=void 0;if((t.mode&Kr)===Ot?c=E4(n,t,bs):(Ty(t),c=E4(n,t,bs),s_(t,!1)),vn(),c!==null){Ra=c;return}}else{var d=rH(n,t);if(d!==null){d.flags&=aI,Ra=d;return}if((t.mode&Kr)!==Ot){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=It,i.deletions=null;else{cn=d0,Ra=null;return}}var w=t.sibling;if(w!==null){Ra=w;return}t=i,Ra=t}while(t!==null);cn===Zs&&(cn=Y4)}function Xu(e,t,n){var i=Il(),c=Ln.transition;try{Ln.transition=null,yn(Io),pU(e,t,n,i)}finally{Ln.transition=c,yn(i)}return null}function pU(e,t,n,i){do rc();while(Kc!==null);if(xU(),(yr&(Nn|Sl))!==ln)throw new Error("Should not already be working.");var c=e.finishedWork,d=e.finishedLanes;if(wI(d),c===null)return y3(),null;if(d===ze&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ze,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=bn;var _=ir(c.lanes,c.childLanes);ZI(e,_),e===Xn&&(Xn=null,Ra=null,sn=ze),((c.subtreeFlags&Uf)!==It||(c.flags&Uf)!==It)&&(Gu||(Gu=!0,g0=n,R0(Ru,function(){return rc(),null})));var y=(c.subtreeFlags&(pb|hb|Sp|Uf))!==It,w=(c.flags&(pb|hb|Sp|Uf))!==It;if(y||w){var E=Ln.transition;Ln.transition=null;var A=Il();yn(Io);var Z=yr;yr|=Sl,f0.current=null;var J=lH(e,c);Kx(),SH(e,c,d),y9(e.containerInfo),e.current=c,LI(d),wH(c,e,d),NI(),uI(),yr=Z,yn(A),Ln.transition=E}else e.current=c,Kx();var me=Gu;if(Gu?(Gu=!1,Kc=e,Mh=d):(Cd=0,y_=null),_=e.pendingLanes,_===ze&&(wd=null),me||ck(e.current,!1),_I(c.stateNode,i),Pl&&e.memoizedUpdaters.clear(),YH(),wo(e,_n()),t!==null)for(var ve=e.onRecoverableError,Ce=0;Ce<t.length;Ce++){var rt=t[Ce],Rt=rt.stack,St=rt.digest;ve(rt.value,{componentStack:Rt,digest:St})}if(g_){g_=!1;var pr=v0;throw v0=null,pr}return Po(Mh,qt)&&e.tag!==Fc&&rc(),_=e.pendingLanes,Po(_,qt)?(pj(),e===b0?Ph++:(Ph=0,b0=e)):Ph=0,jc(),y3(),null}function rc(){if(Kc!==null){var e=I3(Mh),t=az(qs,e),n=Ln.transition,i=Il();try{return Ln.transition=null,yn(t),mU()}finally{yn(i),Ln.transition=n}}return!1}function hU(e){_0.push(e),Gu||(Gu=!0,R0(Ru,function(){return rc(),null}))}function mU(){if(Kc===null)return!1;var e=g0;g0=null;var t=Kc,n=Mh;if(Kc=null,Mh=ze,(yr&(Nn|Sl))!==ln)throw new Error("Cannot flush passive effects while already rendering.");y0=!0,b_=!1,OI(n);var i=yr;yr|=Sl,DH(t.current),kH(t,t.current,n,e);{var c=_0;_0=[];for(var d=0;d<c.length;d++){var _=c[d];fH(t,_)}}MI(),ck(t.current,!0),yr=i,jc(),b_?t===y_?Cd++:(Cd=0,y_=t):Cd=0,y0=!1,b_=!1,gI(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ik(e){return wd!==null&&wd.has(e)}function vU(e){wd===null?wd=new Set([e]):wd.add(e)}function _U(e){g_||(g_=!0,v0=e)}var gU=_U;function lk(e,t,n){var i=qu(n,t),c=a4(e,i,qt),d=Uc(e,c,qt),_=Qn();d!==null&&(Dp(d,qt,_),wo(d,_))}function ua(e,t,n){if(nH(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 _=qu(n,e),y=Wy(i,_,qt),w=Uc(i,y,qt),E=Qn();w!==null&&(Dp(w,qt,E),wo(w,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 fH(e,t){if((t.flags&Tr)!==It)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 dH(e,t,n,i){if((n.flags&wp)!==It)switch(n.tag){case p:case j:case te:{if(!Dn)if(n.mode&Kr)try{gs(),$c(nn|an,n)}finally{_s(n)}else $c(nn|an,n);break}case m:{var c=n.stateNode;if(n.flags&Tr&&!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{gs(),c.componentDidMount()}finally{_s(n)}else c.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Vl(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{gs(),c.componentDidUpdate(d,_,c.__reactInternalSnapshotBeforeUpdate)}finally{_s(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&Tr){var Z=n.type,J=n.memoizedProps;A9(A,Z,J)}break}case k:break;case S:break;case F:{{var me=n.memoizedProps,ve=me.onCommit,Ce=me.onRender,rt=n.stateNode.effectDuration,Rt=Gx(),St=t===null?"mount":"update";$x()&&(St="nested-update"),typeof Ce=="function"&&Ce(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Rt);{typeof ve=="function"&&ve(n.memoizedProps.id,St,rt,Rt),hU(n);var pr=n.return;e:for(;pr!==null;){switch(pr.tag){case b:var hr=pr.stateNode;hr.effectDuration+=rt;break e;case F:var ce=pr.stateNode;ce.effectDuration+=rt;break e}pr=pr.return}}}break}case Q:{yH(e,n);break}case ye:case re:case ge: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 pH(e){switch(e.tag){case p:case j:case te:{if(e.mode&Kr)try{gs(),A4(e,e.return)}finally{_s(e)}else A4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&iH(e,e.return,t),L4(e,e.return);break}case w:{L4(e,e.return);break}}}function hH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var c=i.stateNode;t?j9(c):U9(i.stateNode,i.memoizedProps)}catch(_){ua(e,e.return,_)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?H9(d):V9(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{gs(),c=t(i)}finally{_s(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 mH(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&&SF(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 vH(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!==be;){if(t.flags&Xa||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Xa))return t.stateNode}}function _H(e){var t=vH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&yp&&(BC(n),t.flags&=~yp);var i=z4(e);c0(e,i,n);break}case b:case S:{var c=t.stateNode.containerInfo,d=z4(e);s0(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 s0(e,t,n){var i=e.tag,c=i===w||i===k;if(c){var d=e.stateNode;t?I9(n,d,t):M9(n,d)}else if(i!==S){var _=e.child;if(_!==null){s0(_,t,n);for(var y=_.sibling;y!==null;)s0(y,t,n),y=y.sibling}}}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}}}var An=null,Yl=!1;function gH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{An=i.stateNode,Yl=!1;break e}case b:{An=i.stateNode.containerInfo,Yl=!0;break e}case S:{An=i.stateNode.containerInfo,Yl=!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,Yl=!1}mH(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(bI(n),n.tag){case w:Dn||Cd(n,t);case k:{{var i=An,c=Yl;An=null,Gc(e,t,n),An=i,Yl=c,An!==null&&(Yl?B9(An,n.stateNode):z9(An,n.stateNode))}return}case be:{An!==null&&(Yl?F9(An,n.stateNode):y1(An,n.stateNode));return}case S:{{var d=An,_=Yl;An=n.stateNode.containerInfo,Yl=!0,Gc(e,t,n),An=d,Yl=_}return}case p:case j:case N:case te:{if(!Dn){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var E=C.next,A=E;do{var Z=A,J=Z.destroy,me=Z.tag;J!==void 0&&((me&hs)!==yo?m_(n,t,J):(me&nn)!==yo&&(S3(n),n.mode&Kr?(gs(),m_(n,t,J),_s(n)):m_(n,t,J),w3())),A=A.next}while(A!==E)}}}Gc(e,t,n);return}case m:{if(!Dn){Cd(n,t);var ve=n.stateNode;typeof ve.componentWillUnmount=="function"&&l0(n,t,ve)}Gc(e,t,n);return}case ge:{Gc(e,t,n);return}case H:{if(n.mode&br){var Ce=Dn;Dn=Ce||n.memoizedState!==null,Gc(e,t,n),Dn=Ce}else Gc(e,t,n);break}default:{Gc(e,t,n);return}}}function bH(e){var t=e.memoizedState}function yH(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&&nF(d)}}}}function F4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new aH),t.forEach(function(i){var c=SU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Il)if(Sd!==null&&wd!==null)Fh(wd,Sd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(c,c)}})}}function SH(e,t,n){Sd=n,wd=e,wa(t),j4(t,e),wa(t),Sd=null,wd=null}function $l(e,t,n){var i=t.deletions;if(i!==null)for(var c=0;c<i.length;c++){var d=i[c];try{gH(e,t,d)}catch(C){ua(d,t,C)}}var _=qg();if(t.subtreeFlags&mb)for(var y=t.child;y!==null;)wa(y),j4(y,e),y=y.sibling;wa(_)}function j4(e,t,n){var i=e.alternate,c=e.flags;switch(e.tag){case p:case j:case N:case te:{if($l(t,e),bs(e),c&Tr){try{ql(hs|an,e,e.return),$c(hs|an,e)}catch(Ht){ua(e,e.return,Ht)}if(e.mode&Kr){try{gs(),ql(nn|an,e,e.return)}catch(Ht){ua(e,e.return,Ht)}_s(e)}else try{ql(nn|an,e,e.return)}catch(Ht){ua(e,e.return,Ht)}}return}case m:{$l(t,e),bs(e),c&Ac&&i!==null&&Cd(i,i.return);return}case w:{$l(t,e),bs(e),c&Ac&&i!==null&&Cd(i,i.return);{if(e.flags&yp){var d=e.stateNode;try{BC(d)}catch(Ht){ua(e,e.return,Ht)}}if(c&Tr){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{L9(_,A,E,C,y,e)}catch(Ht){ua(e,e.return,Ht)}}}}return}case k:{if($l(t,e),bs(e),c&Tr){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 Z=e.stateNode,J=e.memoizedProps,me=i!==null?i.memoizedProps:J;try{N9(Z,me,J)}catch(Ht){ua(e,e.return,Ht)}}return}case b:{if($l(t,e),bs(e),c&Tr&&i!==null){var ve=i.memoizedState;if(ve.isDehydrated)try{aF(t.containerInfo)}catch(Ht){ua(e,e.return,Ht)}}return}case S:{$l(t,e),bs(e);return}case Q:{$l(t,e),bs(e);var Ce=e.child;if(Ce.flags&Tu){var rt=Ce.stateNode,Rt=Ce.memoizedState,St=Rt!==null;if(rt.isHidden=St,St){var pr=Ce.alternate!==null&&Ce.alternate.memoizedState!==null;pr||iU()}}if(c&Tr){try{bH(e)}catch(Ht){ua(e,e.return,Ht)}F4(e)}return}case H:{var hr=i!==null&&i.memoizedState!==null;if(e.mode&br){var ce=Dn;Dn=ce||hr,$l(t,e),Dn=ce}else $l(t,e);if(bs(e),c&Tu){var De=e.stateNode,ue=e.memoizedState,qe=ue!==null,ct=e;if(De.isHidden=qe,qe&&!hr&&(ct.mode&br)!==Ot){gt=ct;for(var at=ct.child;at!==null;)gt=at,CH(at),at=at.sibling}hH(ct,qe)}return}case ye:{$l(t,e),bs(e),c&Tr&&F4(e);return}case ge:return;default:{$l(t,e),bs(e);return}}}function bs(e){var t=e.flags;if(t&Xa){try{_H(e)}catch(n){ua(e,e.return,n)}e.flags&=~Xa}t&js&&(e.flags&=~js)}function wH(e,t,n){Sd=n,wd=t,gt=e,H4(e,t,n),Sd=null,wd=null}function H4(e,t,n){for(var i=(e.mode&br)!==Ot;gt!==null;){var c=gt,d=c.child;if(c.tag===H&&i){var _=c.memoizedState!==null,y=_||h_;if(y){u0(e,t,n);continue}else{var C=c.alternate,E=C!==null&&C.memoizedState!==null,A=E||Dn,Z=h_,J=Dn;h_=y,Dn=A,Dn&&!J&&(gt=c,xH(c));for(var me=d;me!==null;)gt=me,H4(me,t,n),me=me.sibling;gt=c,h_=Z,Dn=J,u0(e,t,n);continue}}(c.subtreeFlags&wp)!==It&&d!==null?(d.return=c,gt=d):u0(e,t,n)}}function u0(e,t,n){for(;gt!==null;){var i=gt;if((i.flags&wp)!==It){var c=i.alternate;wa(i);try{dH(t,c,i,n)}catch(_){ua(i,i.return,_)}vn()}if(i===e){gt=null;return}var d=i.sibling;if(d!==null){d.return=i.return,gt=d;return}gt=i.return}}function CH(e){for(;gt!==null;){var t=gt,n=t.child;switch(t.tag){case p:case j:case N:case te:{if(t.mode&Kr)try{gs(),ql(nn,t,t.return)}finally{_s(t)}else ql(nn,t,t.return);break}case m:{Cd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&l0(t,t.return,i);break}case w:{Cd(t,t.return);break}case H:{var c=t.memoizedState!==null;if(c){U4(e);continue}break}}n!==null?(n.return=t,gt=n):U4(e)}}function U4(e){for(;gt!==null;){var t=gt;if(t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function xH(e){for(;gt!==null;){var t=gt,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){V4(e);continue}}n!==null?(n.return=t,gt=n):V4(e)}}function V4(e){for(;gt!==null;){var t=gt;wa(t);try{pH(t)}catch(i){ua(t,t.return,i)}if(vn(),t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function kH(e,t,n,i){gt=t,TH(t,e,n,i)}function TH(e,t,n,i){for(;gt!==null;){var c=gt,d=c.child;(c.subtreeFlags&Wf)!==It&&d!==null?(d.return=c,gt=d):EH(e,t,n,i)}}function EH(e,t,n,i){for(;gt!==null;){var c=gt;if((c.flags&Pl)!==It){wa(c);try{RH(t,c,n,i)}catch(_){ua(c,c.return,_)}vn()}if(c===e){gt=null;return}var d=c.sibling;if(d!==null){d.return=c.return,gt=d;return}gt=c.return}}function RH(e,t,n,i){switch(t.tag){case p:case j:case te:{if(t.mode&Kr){Dy();try{$c(En|an,t)}finally{Ry(t)}}else $c(En|an,t);break}}}function DH(e){gt=e,AH()}function AH(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&xu)!==It){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var c=n[i];gt=c,OH(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)}}}gt=e}}(e.subtreeFlags&Wf)!==It&&t!==null?(t.return=e,gt=t):LH()}}function LH(){for(;gt!==null;){var e=gt;(e.flags&Pl)!==It&&(wa(e),NH(e),vn());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function NH(e){switch(e.tag){case p:case j:case te:{e.mode&Kr?(Dy(),ql(En|an,e,e.return),Ry(e)):ql(En|an,e,e.return);break}}}function OH(e,t){for(;gt!==null;){var n=gt;wa(n),PH(n,t),vn();var i=n.child;i!==null?(i.return=n,gt=i):MH(e)}}function MH(e){for(;gt!==null;){var t=gt,n=t.sibling,i=t.return;if(P4(t),t===e){gt=null;return}if(n!==null){n.return=i,gt=n;return}gt=i}}function PH(e,t){switch(e.tag){case p:case j:case te:{e.mode&Kr?(Dy(),ql(En,e,t),Ry(e)):ql(En,e,t);break}}}function IH(e){switch(e.tag){case p:case j:case te:{try{$c(nn|an,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 zH(e){switch(e.tag){case p:case j:case te:{try{$c(En|an,e)}catch(t){ua(e,e.return,t)}break}}}function BH(e){switch(e.tag){case p:case j:case te:{try{ql(nn|an,e,e.return)}catch(n){ua(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&l0(e,e.return,t);break}}}function FH(e){switch(e.tag){case p:case j:case te:try{ql(En|an,e,e.return)}catch(t){ua(e,e.return,t)}}}var jH=0,HH=1,UH=2,VH=3,WH=4;if(typeof Symbol=="function"&&Symbol.for){var Rh=Symbol.for;jH=Rh("selector.component"),HH=Rh("selector.has_pseudo_class"),UH=Rh("selector.role"),VH=Rh("selector.test_id"),WH=Rh("selector.text")}var qH=[];function YH(){qH.forEach(function(e){return e()})}var $H=o.ReactCurrentActQueue;function GH(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&&$H.current!==null&&u("The current testing environment is not configured to support act(...)"),e}}var KH=Math.ceil,f0=o.ReactCurrentDispatcher,d0=o.ReactCurrentOwner,Ln=o.ReactCurrentBatchConfig,Gl=o.ReactCurrentActQueue,sn=0,q4=1,Nn=2,wl=4,Zs=0,Dh=1,Gu=2,v_=3,Ah=4,Y4=5,p0=6,yr=sn,Xn=null,Ra=null,cn=ze,ys=ze,h0=Bc(ze),un=Zs,Lh=null,m0=ze,__=ze,Nh=ze,g_=ze,Oh=null,So=null,v0=0,$4=500,G4=1/0,XH=500,ec=null;function Mh(){G4=_n()+XH}function K4(){return G4}var b_=!1,_0=null,xd=null,Ku=!1,Kc=null,Ph=ze,g0=[],b0=null,QH=50,Ih=0,y0=null,S0=!1,y_=!1,JH=50,kd=0,S_=null,zh=ma,w_=ze,X4=!1;function C_(){return Xn}function Qn(){return(yr&(Nn|wl))!==sn?_n():(zh!==ma||(zh=_n()),zh)}function Xc(e){var t=e.mode;if((t&br)===Ot)return qt;if((yr&Nn)!==sn&&cn!==ze)return Dp(cn);var n=UF()!==HF;if(n){if(Ln.transition!==null){var i=Ln.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return w_===bn&&(w_=A3()),w_}var c=zl();if(c!==bn)return c;var d=T9();return d}function ZH(e){var t=e.mode;return(t&br)===Ot?qt:XI()}function fn(e,t,n,i){CU(),X4&&u("useInsertionEffect must not schedule updates."),S0&&(y_=!0),Ap(e,n,i),(yr&Nn)!==ze&&e===Xn?TU(t):(Il&&O3(e,t,n),EU(t),e===Xn&&((yr&Nn)===sn&&(Nh=ir(Nh,n)),un===Ah&&Qc(e,cn)),wo(e,i),n===qt&&yr===sn&&(t.mode&br)===Ot&&!Gl.isBatchingLegacy&&(Mh(),KC()))}function eU(e,t,n){var i=e.current;i.lanes=t,Ap(e,t,n),wo(e,n)}function tU(e){return(yr&Nn)!==sn}function wo(e,t){var n=e.callbackNode;WI(e,t);var i=Wm(e,e===Xn?cn:ze);if(i===ze){n!==null&&dk(n),e.callbackNode=null,e.callbackPriority=bn;return}var c=Ou(i),d=e.callbackPriority;if(d===c&&!(Gl.current!==null&&n!==R0)){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?(Gl.isBatchingLegacy!==null&&(Gl.didScheduleLegacyUpdate=!0),xF(Z4.bind(null,e))):GC(Z4.bind(null,e)),Gl.current!==null?Gl.current.push(jc):R9(function(){(yr&(Nn|wl))===sn&&jc()}),_=null;else{var y;switch(I3(i)){case Io:y=jm;break;case Ws:y=vb;break;case qs:y=Du;break;case $m:y=_b;break;default:y=Du;break}_=D0(y,Q4.bind(null,e))}e.callbackPriority=c,e.callbackNode=_}function Q4(e,t){if(hj(),zh=ma,w_=ze,(yr&(Nn|wl))!==sn)throw new Error("Should not already be working.");var n=e.callbackNode,i=rc();if(i&&e.callbackNode!==n)return null;var c=Wm(e,e===Xn?cn:ze);if(c===ze)return null;var d=!qm(e,c)&&!KI(e,c)&&!t,_=d?fU(e,c):k_(e,c);if(_!==Zs){if(_===Gu){var y=Fb(e);y!==ze&&(c=y,_=w0(e,y))}if(_===Dh){var C=Lh;throw Xu(e,ze),Qc(e,c),wo(e,_n()),C}if(_===p0)Qc(e,c);else{var E=!qm(e,c),A=e.current.alternate;if(E&&!aU(A)){if(_=k_(e,c),_===Gu){var Z=Fb(e);Z!==ze&&(c=Z,_=w0(e,Z))}if(_===Dh){var J=Lh;throw Xu(e,ze),Qc(e,c),wo(e,_n()),J}}e.finishedWork=A,e.finishedLanes=c,rU(e,_,c)}}return wo(e,_n()),e.callbackNode===n?Q4.bind(null,e):null}function w0(e,t){var n=Oh;if(Gm(e)){var i=Xu(e,t);i.flags|=Fs,_F(e.containerInfo)}var c=k_(e,t);if(c!==Gu){var d=So;So=n,d!==null&&J4(d)}return c}function J4(e){So===null?So=e:So.push.apply(So,e)}function rU(e,t,n){switch(t){case Zs:case Dh:throw new Error("Root did not complete. This is a bug in React.");case Gu:{Qu(e,So,ec);break}case v_:{if(Qc(e,n),R3(n)&&!pk()){var i=v0+$4-_n();if(i>10){var c=Wm(e,ze);if(c!==ze)break;var d=e.suspendedLanes;if(!Kf(d,n)){var _=Qn();N3(e,d);break}e.timeoutHandle=g1(Qu.bind(null,e,So,ec),i);break}}Qu(e,So,ec);break}case Ah:{if(Qc(e,n),GI(n))break;if(!pk()){var y=UI(e,n),C=y,E=_n()-C,A=wU(E)-E;if(A>10){e.timeoutHandle=g1(Qu.bind(null,e,So,ec),A);break}}Qu(e,So,ec);break}case Y4:{Qu(e,So,ec);break}default:throw new Error("Unknown root exit status.")}}function aU(e){for(var t=e;;){if(t.flags&Bm){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(!Bo(_(),y))return!1}catch(E){return!1}}}}var C=t.child;if(t.subtreeFlags&Bm&&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=Ym(t,g_),t=Ym(t,Nh),JI(e,t)}function Z4(e){if(mj(),(yr&(Nn|wl))!==sn)throw new Error("Should not already be working.");rc();var t=Wm(e,ze);if(!Po(t,qt))return wo(e,_n()),null;var n=k_(e,t);if(e.tag!==Fc&&n===Gu){var i=Fb(e);i!==ze&&(t=i,n=w0(e,i))}if(n===Dh){var c=Lh;throw Xu(e,ze),Qc(e,t),wo(e,_n()),c}if(n===p0)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,So,ec),wo(e,_n()),null}function nU(e,t){t!==ze&&(Vb(e,ir(t,qt)),wo(e,_n()),(yr&(Nn|wl))===sn&&(Mh(),jc()))}function C0(e,t){var n=yr;yr|=q4;try{return e(t)}finally{yr=n,yr===sn&&!Gl.isBatchingLegacy&&(Mh(),KC())}}function oU(e,t,n,i,c){var d=zl(),_=Ln.transition;try{return Ln.transition=null,yn(Io),e(t,n,i,c)}finally{yn(d),Ln.transition=_,yr===sn&&Mh()}}function tc(e){Kc!==null&&Kc.tag===Fc&&(yr&(Nn|wl))===sn&&rc();var t=yr;yr|=q4;var n=Ln.transition,i=zl();try{return Ln.transition=null,yn(Io),e?e():void 0}finally{yn(i),Ln.transition=n,yr=t,(yr&(Nn|wl))===sn&&jc()}}function ek(){return(yr&(Nn|wl))!==sn}function x_(e,t){Bn(h0,ys,e),ys=ir(ys,t),m0=ir(m0,t)}function x0(e){ys=h0.current,zn(h0,e)}function Xu(e,t){e.finishedWork=null,e.finishedLanes=ze;var n=e.timeoutHandle;if(n!==b1&&(e.timeoutHandle=b1,E9(n)),Ra!==null)for(var i=Ra.return;i!==null;){var c=i.alternate;R4(c,i),i=i.return}Xn=e;var d=Ju(e.current,null);return Ra=d,cn=ys=m0=t,un=Zs,Lh=null,__=ze,Nh=ze,g_=ze,Oh=null,So=null,KF(),jl.discardPendingWarnings(),d}function tk(e,t){do{var n=Ra;try{if(Mv(),xx(),vn(),d0.current=null,n===null||n.return===null){un=Dh,Lh=t,Ra=null;return}if(et&&n.mode&Kr&&c_(n,!0),Pe)if(qf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;AI(n,i,cn)}else DI(n,t,cn);xj(e,n.return,n,t,cn),ok(n)}catch(c){t=c,Ra===n&&n!==null?(n=n.return,Ra=n):n=Ra;continue}return}while(!0)}function rk(){var e=f0.current;return f0.current=n_,e===null?n_:e}function ak(e){f0.current=e}function iU(){v0=_n()}function Bh(e){__=ir(e,__)}function lU(){un===Zs&&(un=v_)}function k0(){(un===Zs||un===v_||un===Gu)&&(un=Ah),Xn!==null&&(jb(__)||jb(Nh))&&Qc(Xn,cn)}function sU(e){un!==Ah&&(un=Gu),Oh===null?Oh=[e]:Oh.push(e)}function cU(){return un===Zs}function k_(e,t){var n=yr;yr|=Nn;var i=rk();if(Xn!==e||cn!==t){if(Il){var c=e.memoizedUpdaters;c.size>0&&(Fh(e,cn),c.clear()),M3(e,t)}ec=P3(),Xu(e,t)}C3(t);do try{uU();break}catch(d){tk(e,d)}while(!0);if(Mv(),yr=n,ak(i),Ra!==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,cn=ze,un}function uU(){for(;Ra!==null;)nk(Ra)}function fU(e,t){var n=yr;yr|=Nn;var i=rk();if(Xn!==e||cn!==t){if(Il){var c=e.memoizedUpdaters;c.size>0&&(Fh(e,cn),c.clear()),M3(e,t)}ec=P3(),Mh(),Xu(e,t)}C3(t);do try{dU();break}catch(d){tk(e,d)}while(!0);return Mv(),ak(i),yr=n,Ra!==null?(PI(),Zs):(x3(),Xn=null,cn=ze,un)}function dU(){for(;Ra!==null&&!cI();)nk(Ra)}function nk(e){var t=e.alternate;wa(e);var n;(e.mode&Kr)!==Ot?(Ey(e),n=T0(t,e,ys),c_(e,!0)):n=T0(t,e,ys),vn(),e.memoizedProps=e.pendingProps,n===null?ok(e):Ra=n,d0.current=null}function ok(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&Sp)===It){wa(t);var c=void 0;if((t.mode&Kr)===Ot?c=E4(n,t,ys):(Ey(t),c=E4(n,t,ys),c_(t,!1)),vn(),c!==null){Ra=c;return}}else{var d=rH(n,t);if(d!==null){d.flags&=aI,Ra=d;return}if((t.mode&Kr)!==Ot){c_(t,!1);for(var _=t.actualDuration,y=t.child;y!==null;)_+=y.actualDuration,y=y.sibling;t.actualDuration=_}if(i!==null)i.flags|=Sp,i.subtreeFlags=It,i.deletions=null;else{un=p0,Ra=null;return}}var C=t.sibling;if(C!==null){Ra=C;return}t=i,Ra=t}while(t!==null);un===Zs&&(un=Y4)}function Qu(e,t,n){var i=zl(),c=Ln.transition;try{Ln.transition=null,yn(Io),pU(e,t,n,i)}finally{Ln.transition=c,yn(i)}return null}function pU(e,t,n,i){do rc();while(Kc!==null);if(xU(),(yr&(Nn|wl))!==sn)throw new Error("Should not already be working.");var c=e.finishedWork,d=e.finishedLanes;if(wI(d),c===null)return y3(),null;if(d===ze&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ze,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=bn;var _=ir(c.lanes,c.childLanes);ZI(e,_),e===Xn&&(Xn=null,Ra=null,cn=ze),((c.subtreeFlags&Wf)!==It||(c.flags&Wf)!==It)&&(Ku||(Ku=!0,b0=n,D0(Du,function(){return rc(),null})));var y=(c.subtreeFlags&(hb|mb|wp|Wf))!==It,C=(c.flags&(hb|mb|wp|Wf))!==It;if(y||C){var E=Ln.transition;Ln.transition=null;var A=zl();yn(Io);var Z=yr;yr|=wl,d0.current=null;var J=lH(e,c);Kx(),SH(e,c,d),y9(e.containerInfo),e.current=c,LI(d),wH(c,e,d),NI(),uI(),yr=Z,yn(A),Ln.transition=E}else e.current=c,Kx();var me=Ku;if(Ku?(Ku=!1,Kc=e,Ph=d):(kd=0,S_=null),_=e.pendingLanes,_===ze&&(xd=null),me||ck(e.current,!1),_I(c.stateNode,i),Il&&e.memoizedUpdaters.clear(),YH(),wo(e,_n()),t!==null)for(var ve=e.onRecoverableError,Ce=0;Ce<t.length;Ce++){var rt=t[Ce],Rt=rt.stack,St=rt.digest;ve(rt.value,{componentStack:Rt,digest:St})}if(b_){b_=!1;var pr=_0;throw _0=null,pr}return Po(Ph,qt)&&e.tag!==Fc&&rc(),_=e.pendingLanes,Po(_,qt)?(pj(),e===y0?Ih++:(Ih=0,y0=e)):Ih=0,jc(),y3(),null}function rc(){if(Kc!==null){var e=I3(Ph),t=az(qs,e),n=Ln.transition,i=zl();try{return Ln.transition=null,yn(t),mU()}finally{yn(i),Ln.transition=n}}return!1}function hU(e){g0.push(e),Ku||(Ku=!0,D0(Du,function(){return rc(),null}))}function mU(){if(Kc===null)return!1;var e=b0;b0=null;var t=Kc,n=Ph;if(Kc=null,Ph=ze,(yr&(Nn|wl))!==sn)throw new Error("Cannot flush passive effects while already rendering.");S0=!0,y_=!1,OI(n);var i=yr;yr|=wl,DH(t.current),kH(t,t.current,n,e);{var c=g0;g0=[];for(var d=0;d<c.length;d++){var _=c[d];fH(t,_)}}MI(),ck(t.current,!0),yr=i,jc(),y_?t===S_?kd++:(kd=0,S_=t):kd=0,S0=!1,y_=!1,gI(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ik(e){return xd!==null&&xd.has(e)}function vU(e){xd===null?xd=new Set([e]):xd.add(e)}function _U(e){b_||(b_=!0,_0=e)}var gU=_U;function lk(e,t,n){var i=Yu(n,t),c=a4(e,i,qt),d=Uc(e,c,qt),_=Qn();d!==null&&(Ap(d,qt,_),wo(d,_))}function ua(e,t,n){if(nH(n),jh(!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=qy(i,_,qt),C=Uc(i,y,qt),E=Qn();C!==null&&(Ap(C,qt,E),wo(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
|
|
|
119
|
-
%s`,n)}function bU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var c=Qn();N3(e,n),RU(e),Xn===e
|
|
119
|
+
%s`,n)}function bU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var c=Qn();N3(e,n),RU(e),Xn===e&&Kf(cn,n)&&(un===Ah||un===v_&&R3(cn)&&_n()-v0<$4?Xu(e,ze):g_=ir(g_,n)),wo(e,c)}function sk(e,t){t===bn&&(t=ZH(e));var n=Qn(),i=bo(e,t);i!==null&&(Ap(i,t,n),wo(i,n))}function yU(e){var t=e.memoizedState,n=bn;t!==null&&(n=t.retryLane),sk(e,n)}function SU(e,t){var n=bn,i;switch(e.tag){case Q:i=e.stateNode;var c=e.memoizedState;c!==null&&(n=c.retryLane);break;case ye:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),sk(e,n)}function wU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:KH(e/1960)*1960}function CU(){if(Ih>QH)throw Ih=0,y0=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");kd>JH&&(kd=0,S_=null,u("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function xU(){jl.flushLegacyContextWarning(),jl.flushPendingUnsafeLifecycleWarnings()}function ck(e,t){wa(e),T_(e,Hs,BH),t&&T_(e,Fm,FH),T_(e,Hs,IH),t&&T_(e,Fm,zH),vn()}function T_(e,t,n){for(var i=e,c=null;i!==null;){var d=i.subtreeFlags&t;i!==c&&i.child!==null&&d!==It?i=i.child:((i.flags&t)!==It&&n(i),i.sibling!==null?i=i.sibling:i=c=i.return)}}var E_=null;function uk(e){{if((yr&Nn)!==sn||!(e.mode&br))return;var t=e.tag;if(t!==g&&t!==b&&t!==m&&t!==p&&t!==j&&t!==N&&t!==te)return;var n=rr(e)||"ReactComponent";if(E_!==null){if(E_.has(n))return;E_.add(n)}else E_=new Set([n]);var i=In;try{wa(e),u("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{i?wa(e):vn()}}}var T0;{var kU=null;T0=function(e,t,n){var i=gk(kU,t);try{return w4(e,t,n)}catch(d){if(NF()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Mv(),xx(),R4(e,t),gk(t,i),t.mode&Kr&&Ey(t),sb(null,w4,null,e,t,n),ZP()){var c=cb();typeof c=="object"&&c!==null&&c._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var fk=!1,E0;E0=new Set;function TU(e){if(Ec&&!uj())switch(e.tag){case p:case j:case te:{var t=Ra&&rr(Ra)||"Unknown",n=t;if(!E0.has(n)){E0.add(n);var i=rr(e)||"Unknown";u("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",i,t,t)}break}case m:{fk||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),fk=!0);break}}}function Fh(e,t){if(Il){var n=e.memoizedUpdaters;n.forEach(function(i){O3(e,i,t)})}}var R0={};function D0(e,t){{var n=Gl.current;return n!==null?(n.push(t),R0):b3(e,t)}}function dk(e){if(e!==R0)return sI(e)}function pk(){return Gl.current!==null}function EU(e){{if(e.mode&br){if(!W4())return}else if(!GH()||yr!==sn||e.tag!==p&&e.tag!==j&&e.tag!==te)return;if(Gl.current===null){var t=In;try{wa(e),u(`An update to %s inside a test was not wrapped in act(...).
|
|
120
120
|
|
|
121
121
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
122
122
|
|
|
@@ -125,7 +125,7 @@ act(() => {
|
|
|
125
125
|
});
|
|
126
126
|
/* assert on the output */
|
|
127
127
|
|
|
128
|
-
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`,
|
|
128
|
+
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`,rr(e))}finally{t?wa(e):vn()}}}}function RU(e){e.tag!==Fc&&W4()&&Gl.current===null&&u(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
129
129
|
|
|
130
130
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
131
131
|
|
|
@@ -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
|
|
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 jh(e){X4=e}var Cl=null,Td=null,DU=function(e){Cl=e};function Ed(e){{if(Cl===null)return e;var t=Cl(e);return t===void 0?e:t.current}}function A0(e){return Ed(e)}function L0(e){{if(Cl===null)return e;var t=Cl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=Ed(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(Cl===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===Je)&&(c=!0);break}case j:{(d===pe||d===Je)&&(c=!0);break}case N:case te:{(d===ft||d===Je)&&(c=!0);break}default:return!1}if(c){var _=Cl(n);if(_!==void 0&&_===Cl(i))return!0}return!1}}function mk(e){{if(Cl===null||typeof WeakSet!="function")return;Td===null&&(Td=new WeakSet),Td.add(e)}}var AU=function(e,t){{if(Cl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;rc(),tc(function(){N0(e.current,i,n)})}},LU=function(e,t){{if(e.context!==Fo)return;rc(),tc(function(){Hh(t,e,null,null)})}};function N0(e,t,n){{var i=e.alternate,c=e.child,d=e.sibling,_=e.tag,y=e.type,C=null;switch(_){case p:case te:case m:C=y;break;case j:C=y.render;break}if(Cl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,A=!1;if(C!==null){var Z=Cl(C);Z!==void 0&&(n.has(Z)?A=!0:t.has(Z)&&(_===m?A=!0:E=!0))}if(Td!==null&&(Td.has(e)||i!==null&&Td.has(i))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||E){var J=bo(e,qt);J!==null&&fn(J,e,qt,ma)}c!==null&&!A&&N0(c,t,n),d!==null&&N0(d,t,n)}}var NU=function(e,t){{var n=new Set,i=new Set(t.map(function(c){return c.current}));return O0(e.current,i,n),n}};function O0(e,t,n){{var i=e.child,c=e.sibling,d=e.tag,_=e.type,y=null;switch(d){case p:case te:case m:y=_;break;case j:y=_.render;break}var C=!1;y!==null&&t.has(y)&&(C=!0),C?OU(e,n):i!==null&&O0(i,t,n),c!==null&&O0(c,t,n)}}function OU(e,t){{var n=MU(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 MU(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 M0;{M0=!1;try{var vk=Object.preventExtensions({})}catch(e){M0=!0}}function PU(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=It,this.subtreeFlags=It,this.deletions=null,this.lanes=ze,this.childLanes=ze,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,!M0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var jo=function(e,t,n,i){return new PU(e,t,n,i)};function P0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function IU(e){return typeof e=="function"&&!P0(e)&&e.defaultProps===void 0}function zU(e){if(typeof e=="function")return P0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return j;if(t===ft)return N}return g}function Ju(e,t){var n=e.alternate;n===null?(n=jo(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=It,n.subtreeFlags=It,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Us,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 te:n.type=Ed(e.type);break;case m:n.type=A0(e.type);break;case j:n.type=L0(e.type);break}return n}function BU(e,t){e.flags&=Us|Xa;var n=e.alternate;if(n===null)e.childLanes=ze,e.lanes=t,e.child=null,e.subtreeFlags=It,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=It,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 FU(e,t,n){var i;return e===xv?(i=br,t===!0&&(i|=Ma,i|=us)):i=Ot,Il&&(i|=Kr),jo(b,null,null,i)}function I0(e,t,n,i,c,d){var _=g,y=e;if(typeof e=="function")P0(e)?(_=m,y=A0(y)):y=Ed(y);else if(typeof e=="string")_=w;else e:switch(e){case se:return Jc(n.children,c,d,t);case Ve:_=M,c|=Ma,(c&br)!==Ot&&(c|=us);break;case Fe:return jU(n,c,d,t);case ke:return HU(n,c,d,t);case He:return UU(n,c,d,t);case kt:return _k(n,c,d,t);case Wt:case Ke:case $r:case Ha:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:_=O;break e;case q:_=Y;break e;case pe:_=j,y=L0(y);break e;case ft:_=N;break e;case Je:_=_e,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)+"."+
|
|
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=jo(_,n,t,c);return A.elementType=e,A.type=y,A.lanes=d,A._debugOwner=i,A}function z0(e,t,n){var i=null;i=e._owner;var c=e.type,d=e.key,_=e.props,y=I0(c,d,_,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Jc(e,t,n,i){var c=jo(L,e,i,t);return c.lanes=n,c}function jU(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=jo(F,e,i,t|Kr);return c.elementType=Fe,c.lanes=n,c.stateNode={effectDuration:0,passiveEffectDuration:0},c}function HU(e,t,n,i){var c=jo(Q,e,i,t);return c.elementType=ke,c.lanes=n,c}function UU(e,t,n,i){var c=jo(ye,e,i,t);return c.elementType=He,c.lanes=n,c}function _k(e,t,n,i){var c=jo(H,e,i,t);c.elementType=kt,c.lanes=n;var d={isHidden:!1};return c.stateNode=d,c}function B0(e,t,n){var i=jo(k,e,null,t);return i.lanes=n,i}function VU(){var e=jo(w,null,null,Ot);return e.elementType="DELETED",e}function WU(e){var t=jo(be,null,null,Ot);return t.stateNode=e,t}function F0(e,t,n){var i=e.children!==null?e.children:[],c=jo(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=jo(g,null,null,Ot)),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 qU(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=b1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=bn,this.eventTimes=Ub(ze),this.expirationTimes=Ub(ma),this.pendingLanes=ze,this.suspendedLanes=ze,this.pingedLanes=ze,this.expiredLanes=ze,this.mutableReadLanes=ze,this.finishedLanes=ze,this.entangledLanes=ze,this.entanglements=Ub(ze),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;_<bb;_++)d.push(new Set)}switch(t){case xv: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 qU(e,t,n,y,C),Z=FU(t,d);A.current=Z,Z.stateNode=A;{var J={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};Z.memoizedState=J}return Q1(Z),A}var j0="18.3.1";function YU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Er(i),{$$typeof:ae,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var H0,U0;H0=!1,U0={};function yk(e){if(!e)return Fo;var t=Uf(e),n=CF(t);if(t.tag===m){var i=t.type;if(ps(i))return YC(t,i,n)}return n}function $U(e,t){{var n=Uf(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&Ma){var d=rr(n)||"Component";if(!U0[d]){U0[d]=!0;var _=In;try{wa(c),n.mode&Ma?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{_?wa(_):vn()}}}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,Z=bk(n,i,A,e,c,d,_,y,C);Z.context=yk(null);var J=Z.current,me=Qn(),ve=Xc(J),Ce=Qs(me,ve);return Ce.callback=t!=null?t:null,Uc(J,Ce,ve),eU(Z,ve,me),Z}function Hh(e,t,n,i){vI(t,e);var c=t.current,d=Qn(),_=Xc(c);II(_);var y=yk(n);t.context===null?t.context=y:t.pendingContext=y,Ec&&In!==null&&!H0&&(H0=!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.`,
|
|
141
|
+
Check the render method of %s.`,rr(In)||"Unknown"));var C=Qs(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&&(fn(E,c,_,d),Fv(E,c,_)),_}function R_(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 GU(e){switch(e.tag){case b:{var t=e.stateNode;if(Gm(t)){var n=qI(t);nU(t,n)}break}case Q:{tc(function(){var c=bo(e,qt);if(c!==null){var d=Qn();fn(c,e,qt,d)}});var i=qt;V0(e,i);break}}}function Ck(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=QI(n.retryLane,t))}function V0(e,t){Ck(e,t);var n=e.alternate;n&&Ck(n,t)}function KU(e){if(e.tag===Q){var t=Tp,n=bo(e,t);if(n!==null){var i=Qn();fn(n,e,t,i)}V0(e,t)}}function XU(e){if(e.tag===Q){var t=Xc(e),n=bo(e,t);if(n!==null){var i=Qn();fn(n,e,t,i)}V0(e,t)}}function xk(e){var t=lI(e);return t===null?null:t.stateNode}var kk=function(e){return null};function QU(e){return kk(e)}var Tk=function(e){return!1};function JU(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=rn(e)?e.slice():Nt({},e);return n+1===t.length?(rn(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=rn(e)?e.slice():Nt({},e);if(i+1===t.length){var _=n[i];d[_]=d[c],rn(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=rn(e)?e.slice():Nt({},e);return d[c]=jk(e[c],t,n+1,i),d},Hk=function(e,t,n){return jk(e,t,0,n)},W0=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=W0(e,t);if(c!==null){var d=Hk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Nt({},e.memoizedProps);var _=bo(e,qt);_!==null&&fn(_,e,qt,ma)}},Rk=function(e,t,n){var i=W0(e,t);if(i!==null){var c=zk(i.memoizedState,n);i.memoizedState=c,i.baseState=c,e.memoizedProps=Nt({},e.memoizedProps);var d=bo(e,qt);d!==null&&fn(d,e,qt,ma)}},Dk=function(e,t,n,i){var c=W0(e,t);if(c!==null){var d=Fk(c.memoizedState,n,i);c.memoizedState=d,c.baseState=d,e.memoizedProps=Nt({},e.memoizedProps);var _=bo(e,qt);_!==null&&fn(_,e,qt,ma)}},Ak=function(e,t,n){e.pendingProps=Hk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=bo(e,qt);i!==null&&fn(i,e,qt,ma)},Lk=function(e,t){e.pendingProps=zk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=bo(e,qt);n!==null&&fn(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=bo(e,qt);i!==null&&fn(i,e,qt,ma)},Ok=function(e){var t=bo(e,qt);t!==null&&fn(t,e,qt,ma)},Mk=function(e){kk=e},Pk=function(e){Tk=e}}function ZU(e){var t=v3(e);return t===null?null:t.stateNode}function eV(e){return null}function tV(){return In}function rV(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return mI({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:ZU,findFiberByHostInstance:t||eV,findHostInstancesForRefresh:NU,scheduleRefresh:AU,scheduleRoot:LU,setRefreshHandler:DU,getCurrentFiber:tV,reconcilerVersion:j0})}var Uk=typeof reportError=="function"?reportError:function(e){console.error(e)};function q0(e){this._internalRoot=e}D_.prototype.render=q0.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()."):A_(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!==Ka){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.")}}Hh(e,t,null,null)},D_.prototype.unmount=q0.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."),tc(function(){Hh(null,e,null,null)}),HC(t)}};function aV(e,t){if(!A_(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,
|
|
145
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Uo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y0,Uo.createPortal=hV,Uo.createRoot=vV,Uo.findDOMNode=cV,Uo.flushSync=gV,Uo.hydrate=uV,Uo.hydrateRoot=_V,Uo.render=fV,Uo.unmountComponentAtNode=pV,Uo.unstable_batchedUpdates=w0,Uo.unstable_renderSubtreeIntoContainer=mV,Uo.version=F0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var $0=Ue((Z$,tT)=>{"use strict";tT.exports=eT()});var rT=Ue(K0=>{"use strict";var G0=$0();Vh=G0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,K0.createRoot=function(r,a){Vh.usingClientEntryPoint=!0;try{return G0.createRoot(r,a)}finally{Vh.usingClientEntryPoint=!1}},K0.hydrateRoot=function(r,a,o){Vh.usingClientEntryPoint=!0;try{return G0.hydrateRoot(r,a,o)}finally{Vh.usingClientEntryPoint=!1}};var Vh});var l2=Ue(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});function Ir(){return Ir=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Ir.apply(this,arguments)}var Ia=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),aT="popstate";function DV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((C,k)=>g(C,typeof C=="string"?null:C.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),u=Ia.Pop,h=null;function p(C){return Math.min(Math.max(C,0),s.length-1)}function m(){return s[f]}function g(C,k,L){k===void 0&&(k=null);let M=oc(s?m().pathname:"/",C,k,L);return Ss(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(C)),M}function b(C){return typeof C=="string"?C:ws(C)}return{get index(){return f},get action(){return u},get location(){return m()},createHref:b,createURL(C){return new URL(b(C),"http://localhost")},encodeLocation(C){let k=typeof C=="string"?Gl(C):C;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(C,k){u=Ia.Push;let L=g(C,k);f+=1,s.splice(f,s.length,L),l&&h&&h({action:u,location:L,delta:1})},replace(C,k){u=Ia.Replace;let L=g(C,k);s[f]=L,l&&h&&h({action:u,location:L,delta:0})},go(C){u=Ia.Pop;let k=p(f+C),L=s[k];f=k,h&&h({action:u,location:L,delta:C})},listen(C){return h=C,()=>{h=null}}}}function AV(r){r===void 0&&(r={});function a(l,s){let{pathname:f,search:u,hash:h}=l.location;return oc("",{pathname:f,search:u,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:ws(s)}return bT(a,o,null,r)}function LV(r){r===void 0&&(r={});function a(s,f){let{pathname:u="/",search:h="",hash:p=""}=Gl(s.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),oc("",{pathname:u,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(s,f){let u=s.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=s.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:ws(f))}function l(s,f){Ss(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return bT(a,o,l,r)}function Or(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Ss(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function NV(){return Math.random().toString(36).substr(2,8)}function nT(r,a){return{usr:r.state,key:r.key,idx:a}}function oc(r,a,o,l){return o===void 0&&(o=null),Ir({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Gl(a):a,{state:o,key:a&&a.key||l||NV()})}function ws(r){let{pathname:a="/",search:o="",hash:l=""}=r;return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function Gl(r){let a={};if(r){let o=r.indexOf("#");o>=0&&(a.hash=r.substr(o),r=r.substr(0,o));let l=r.indexOf("?");l>=0&&(a.search=r.substr(l),r=r.substr(0,l)),r&&(a.pathname=r)}return a}function bT(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:f=!1}=l,u=s.history,h=Ia.Pop,p=null,m=g();m==null&&(m=0,u.replaceState(Ir({},u.state,{idx:m}),""));function g(){return(u.state||{idx:null}).idx}function b(){h=Ia.Pop;let M=g(),Y=M==null?null:M-m;m=M,p&&p({action:h,location:L.location,delta:Y})}function S(M,Y){h=Ia.Push;let O=oc(L.location,M,Y);o&&o(O,M),m=g()+1;let j=nT(O,m),F=L.createHref(O);try{u.pushState(j,"",F)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;s.location.assign(F)}f&&p&&p({action:h,location:L.location,delta:1})}function C(M,Y){h=Ia.Replace;let O=oc(L.location,M,Y);o&&o(O,M),m=g();let j=nT(O,m),F=L.createHref(O);u.replaceState(j,"",F),f&&p&&p({action:h,location:L.location,delta:0})}function k(M){let Y=s.location.origin!=="null"?s.location.origin:s.location.href,O=typeof M=="string"?M:ws(M);return O=O.replace(/ $/,"%20"),Or(Y,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,Y)}let L={get action(){return h},get location(){return r(s,u)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(aT,b),p=M,()=>{s.removeEventListener(aT,b),p=null}},createHref(M){return a(s,M)},createURL:k,encodeLocation(M){let Y=k(M);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:C,go(M){return u.go(M)}};return L}var Vr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),OV=new Set(["lazy","caseSensitive","path","id","index","children"]);function MV(r){return r.index===!0}function ef(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,f)=>{let u=[...o,String(f)],h=typeof s.id=="string"?s.id:u.join("-");if(Or(s.index!==!0||!s.children,"Cannot specify children on an index route"),Or(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),MV(s)){let p=Ir({},s,a(s),{id:h});return l[h]=p,p}else{let p=Ir({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=ef(s.children,a,u,l)),p}})}function nc(r,a,o){return o===void 0&&(o="/"),M_(r,a,o,!1)}function M_(r,a,o,l){let s=typeof a=="string"?Gl(a):a,f=Yh(s.pathname||"/",o);if(f==null)return null;let u=ST(r);PV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=CT(f);h=WV(u[p],m,l)}return h}function yT(r,a){let{route:o,pathname:l,params:s}=r;return{id:o.id,pathname:l,params:s,data:a[o.id],handle:o.handle}}function ST(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(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(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let m=Ad([l,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:UV(m,f.index),routesMeta:g})};return r.forEach((f,u)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,u);else for(let p of wT(f.path))s(f,u,p)}),a}function wT(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return s?[f,""]:[f];let u=wT(l.join("/")),h=[];return h.push(...u.map(p=>p===""?f:[f,p].join("/"))),s&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function PV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:VV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var IV=/^:[\w-]+$/,zV=3,BV=2,FV=1,jV=10,HV=-2,oT=r=>r==="*";function UV(r,a){let o=r.split("/"),l=o.length;return o.some(oT)&&(l+=HV),a&&(l+=BV),o.filter(s=>!oT(s)).reduce((s,f)=>s+(IV.test(f)?zV:f===""?FV:jV),l)}function VV(r,a){return r.length===a.length&&r.slice(0,-1).every((l,s)=>l===a[s])?r[r.length-1]-a[a.length-1]:0}function WV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},f="/",u=[];for(let h=0;h<l.length;++h){let p=l[h],m=h===l.length-1,g=f==="/"?a:a.slice(f.length)||"/",b=J0({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),S=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=J0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:Ad([f,b.pathname]),pathnameBase:RT(Ad([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Ad([f,b.pathnameBase]))}return u}function qV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Ss(!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 l=o.startsWith("/")?"/":"",s=u=>u==null?"":typeof u=="string"?u:String(u),f=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return s(a["*"]);let g=u.match(/^:([\w-]+)(\??)$/);if(g){let[,b,S]=g,C=a[b];return Or(S==="?"||C!=null,'Missing ":'+b+'" param'),s(C)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return l+f.join("/")}function J0(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=YV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let f=s[0],u=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((m,g,b)=>{let{paramName:S,isOptional:C}=g;if(S==="*"){let L=h[b]||"";u=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return C&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:u,pattern:r}}function YV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Ss(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 l=[],s="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function CT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ss(!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,l=r.charAt(o);return l&&l!=="/"?null:r.slice(o)||"/"}function xT(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Gl(r):r;return{pathname:o?o.startsWith("/")?o:$V(o,a):a,search:KV(l),hash:XV(s)}}function $V(r,a){let o=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function X0(r,a,o,l){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. 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((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function ET(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Gl(r):(s=Ir({},r),Or(!s.pathname||!s.pathname.includes("?"),X0("?","pathname","search",s)),Or(!s.pathname||!s.pathname.includes("#"),X0("#","pathname","hash",s)),Or(!s.search||!s.search.includes("#"),X0("#","search","hash",s)));let f=r===""||s.pathname==="",u=f?"/":s.pathname,h;if(u==null)h=o;else{let b=a.length-1;if(!l&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),b-=1;s.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=xT(s,h),m=u&&u!=="/"&&u.endsWith("/"),g=(f||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function GV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Gl(r).pathname:r.pathname}var Ad=r=>r.join("/").replace(/\/\/+/g,"/"),RT=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),KV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,XV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,QV=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Ir({},l,{headers:s}))},Z0=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function JV(r,a){return new Z0(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 l;this.abortPromise=new Promise((f,u)=>l=u),this.controller=new AbortController;let s=()=>l(new qh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),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 l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof qh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===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 s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(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 l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(f=>{a.removeEventListener("abort",l),(f||this.done)&&s(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[l,s]=o;return Object.assign(a,{[l]:eW(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function ZV(r){return r instanceof Promise&&r._tracked===!0}function eW(r){if(!ZV(r))return r;if(r._error)throw r._error;return r._data}var tW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new I_(a,l)},n2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Ir({},l,{headers:s}))},rW=(r,a)=>{let o=n2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},aW=(r,a)=>{let o=n2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ld=class{constructor(a,o,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=o||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};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"],nW=new Set(DT),oW=["get",...DT],iW=new Set(oW),lW=new Set([301,302,303,307,308]),sW=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},o2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,LT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),NT="remix-router-transitions";function cW(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",l=!o;Or(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(r.mapRouteProperties)s=r.mapRouteProperties;else if(r.detectErrorBoundary){let I=r.detectErrorBoundary;s=V=>({hasErrorBoundary:I(V)})}else s=LT;let f={},u=ef(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||zT,g=r.unstable_patchRoutesOnMiss,b=Ir({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,C=new Set,k=null,L=null,M=null,Y=r.hydrationData!=null,O=nc(u,r.history.location,p),j=null;if(O==null&&!g){let I=Ca(404,{pathname:r.history.location.pathname}),{matches:V,route:ae}=z_(u);O=V,j={[ae.id]:I}}O&&!r.hydrationData&&Me(O,u,r.history.location.pathname).active&&(O=null);let F;if(O)if(O.some(I=>I.route.lazy))F=!1;else if(!O.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,ae=se=>se.route.loader?typeof se.route.loader=="function"&&se.route.loader.hydrate===!0?!1:I&&I[se.route.id]!==void 0||V&&V[se.route.id]!==void 0:!0;if(V){let se=O.findIndex(Ve=>V[Ve.route.id]!==void 0);F=O.slice(0,se+1).every(ae)}else F=O.every(ae)}else F=r.hydrationData!=null;else if(F=!1,O=[],b.v7_partialHydration){let I=Me(null,u,r.history.location.pathname);I.active&&I.matches&&(O=I.matches)}let Q,N={historyAction:r.history.action,location:r.history.location,matches:O,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},te=Ia.Pop,_e=!1,re,be=!1,ye=new Map,ge=null,H=!1,le=!1,fe=[],B=new Set,W=new Map,ne=0,ee=-1,de=new Map,xe=new Set,we=new Map,Ye=new Map,$e=new Set,Pe=new Map,et=new Map,ut=new Map,lt=!1;function Tt(){if(S=r.history.listen(I=>{let{action:V,location:ae,delta:se}=I;if(lt){lt=!1;return}Ss(et.size===0||se!=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:N.location,nextLocation:ae,historyAction:V});if(Ve&&se!=null){lt=!0,r.history.go(se*-1),$(Ve,{state:"blocked",location:ae,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),r.history.go(se)},reset(){let Fe=new Map(N.blockers);Fe.set(Ve,Dd),Te({blockers:Fe})}});return}return Ut(V,ae)}),o){wW(a,ye);let I=()=>CW(a,ye);a.addEventListener("pagehide",I),ge=()=>a.removeEventListener("pagehide",I)}return N.initialized||Ut(Ia.Pop,N.location,{initialHydration:!0}),Q}function wt(){S&&S(),ge&&ge(),C.clear(),re&&re.abort(),N.fetchers.forEach((I,V)=>Be(V)),N.blockers.forEach((I,V)=>Yr(V))}function Ze(I){return C.add(I),()=>C.delete(I)}function Te(I,V){V===void 0&&(V={}),N=Ir({},N,I);let ae=[],se=[];b.v7_fetcherPersist&&N.fetchers.forEach((Ve,Fe)=>{Ve.state==="idle"&&($e.has(Fe)?se.push(Fe):ae.push(Fe))}),[...C].forEach(Ve=>Ve(N,{deletedFetchers:se,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(ae.forEach(Ve=>N.fetchers.delete(Ve)),se.forEach(Ve=>Be(Ve)))}function ht(I,V,ae){var se,Ve;let{flushSync:Fe}=ae===void 0?{}:ae,D=N.actionData!=null&&N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&N.navigation.state==="loading"&&((se=I.state)==null?void 0:se._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=N.actionData:q=null;let pe=V.loaderData?hT(N.loaderData,V.loaderData,V.matches||[],V.errors):N.loaderData,ke=N.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((Je,Ke)=>ke.set(Ke,Dd)));let He=_e===!0||N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(u=h,h=void 0),H||te===Ia.Pop||(te===Ia.Push?r.history.push(I,I.state):te===Ia.Replace&&r.history.replace(I,I.state));let ft;if(te===Ia.Pop){let Je=ye.get(N.location.pathname);Je&&Je.has(I.pathname)?ft={currentLocation:N.location,nextLocation:I}:ye.has(I.pathname)&&(ft={currentLocation:I,nextLocation:N.location})}else if(be){let Je=ye.get(N.location.pathname);Je?Je.add(I.pathname):(Je=new Set([I.pathname]),ye.set(N.location.pathname,Je)),ft={currentLocation:N.location,nextLocation:I}}Te(Ir({},V,{actionData:q,loaderData:pe,historyAction:te,location:I,initialized:!0,navigation:P_,revalidation:"idle",restoreScrollPosition:Ie(I,V.matches||N.matches),preventScrollReset:He,blockers:ke}),{viewTransitionOpts:ft,flushSync:Fe===!0}),te=Ia.Pop,_e=!1,be=!1,H=!1,le=!1,fe=[]}function Lt(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let ae=e2(N.location,N.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:se,submission:Ve,error:Fe}=lT(b.v7_normalizeFormMethod,!1,ae,V),D=N.location,q=oc(N.location,se,V&&V.state);q=Ir({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,ke=Ia.Push;pe===!0?ke=Ia.Replace:pe===!1||Ve!=null&&Cl(Ve.formMethod)&&Ve.formAction===N.location.pathname+N.location.search&&(ke=Ia.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Je=P({currentLocation:D,nextLocation:q,historyAction:ke});if(Je){$(Je,{state:"blocked",location:q,proceed(){$(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),Lt(I,V)},reset(){let Ke=new Map(N.blockers);Ke.set(Je,Dd),Te({blockers:Ke})}});return}return yield Ut(ke,q,{submission:Ve,pendingError:Fe,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function jt(){if(xr(),Te({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){Ut(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}Ut(te||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function Ut(I,V,ae){return na(this,null,function*(){re&&re.abort(),re=null,te=I,H=(ae&&ae.startUninterruptedRevalidation)===!0,Oe(N.location,N.matches),_e=(ae&&ae.preventScrollReset)===!0,be=(ae&&ae.enableViewTransition)===!0;let se=h||u,Ve=ae&&ae.overrideNavigation,Fe=nc(se,V,p),D=(ae&&ae.flushSync)===!0,q=Me(Fe,se,V.pathname);if(q.active&&q.matches&&(Fe=q.matches),!Fe){let{error:Ct,notFoundMatches:kt,route:Wt}=R(V.pathname);ht(V,{matches:kt,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:D});return}if(N.initialized&&!le&&vW(N.location,V)&&!(ae&&ae.submission&&Cl(ae.submission.formMethod))){ht(V,{matches:Fe},{flushSync:D});return}re=new AbortController;let pe=Rd(r.history,V,re.signal,ae&&ae.submission),ke;if(ae&&ae.pendingError)ke=[Ju(Fe).route.id,{type:Vr.error,error:ae.pendingError}];else if(ae&&ae.submission&&Cl(ae.submission.formMethod)){let Ct=yield ar(pe,V,ae.submission,Fe,q.active,{replace:ae.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[kt,Wt]=Ct.pendingActionResult;if(Mn(Wt)&&Nd(Wt.error)&&Wt.error.status===404){re=null,ht(V,{matches:Ct.matches,loaderData:{},errors:{[kt]:Wt.error}});return}}Fe=Ct.matches||Fe,ke=Ct.pendingActionResult,Ve=Q0(V,ae.submission),D=!1,q.active=!1,pe=Rd(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ft,loaderData:Je,errors:Ke}=yield ur(pe,V,Fe,q.active,Ve,ae&&ae.submission,ae&&ae.fetcherSubmission,ae&&ae.replace,ae&&ae.initialHydration===!0,D,ke);He||(re=null,ht(V,Ir({matches:ft||Fe},mT(ke),{loaderData:Je,errors:Ke})))})}function ar(I,V,ae,se,Ve,Fe){return na(this,null,function*(){Fe===void 0&&(Fe={}),xr();let D=yW(V,ae);if(Te({navigation:D},{flushSync:Fe.flushSync===!0}),Ve){let ke=yield We(se,V.pathname,I.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ft}]}}else if(ke.matches)se=ke.matches;else{let{notFoundMatches:He,error:ft,route:Je}=R(V.pathname);return{matches:He,pendingActionResult:[Je.id,{type:Vr.error,error:ft}]}}}let q,pe=Zu(se,V);if(!pe.route.action&&!pe.route.lazy)q={type:Vr.error,error:Ca(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield gr("action",I,[pe],se))[0],I.signal.aborted)return{shortCircuited:!0};if(ru(q)){let ke;return Fe&&Fe.replace!=null?ke=Fe.replace:ke=fT(q.response.headers.get("Location"),new URL(I.url),p)===N.location.pathname+N.location.search,yield dr(I,q,{submission:ae,replace:ke}),{shortCircuited:!0}}if(tu(q))throw Ca(400,{type:"defer-action"});if(Mn(q)){let ke=Ju(se,pe.route.id);return(Fe&&Fe.replace)!==!0&&(te=Ia.Push),{matches:se,pendingActionResult:[ke.route.id,q]}}return{matches:se,pendingActionResult:[pe.route.id,q]}})}function ur(I,V,ae,se,Ve,Fe,D,q,pe,ke,He){return na(this,null,function*(){let ft=Ve||Q0(V,Fe),Je=Fe||D||gT(ft),Ke=!H&&(!b.v7_partialHydration||!pe);if(se){if(Ke){let aa=Er(He);Te(Ir({navigation:ft},aa!==void 0?{actionData:aa}:{}),{flushSync:ke})}let Jt=yield We(ae,V.pathname,I.signal);if(Jt.type==="aborted")return{shortCircuited:!0};if(Jt.type==="error"){let{boundaryId:aa,error:Za}=z(V.pathname,Jt);return{matches:Jt.partialMatches,loaderData:{},errors:{[aa]:Za}}}else if(Jt.matches)ae=Jt.matches;else{let{error:aa,notFoundMatches:Za,route:Gr}=R(V.pathname);return{matches:Za,loaderData:{},errors:{[Gr.id]:aa}}}}let Ct=h||u,[kt,Wt]=sT(r.history,N,ae,Je,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,fe,B,$e,we,xe,Ct,p,He);if(G(Jt=>!(ae&&ae.some(aa=>aa.route.id===Jt))||kt&&kt.some(aa=>aa.route.id===Jt)),ee=++ne,kt.length===0&&Wt.length===0){let Jt=Vt();return ht(V,Ir({matches:ae,loaderData:{},errors:He&&Mn(He[1])?{[He[0]]:He[1].error}:null},mT(He),Jt?{fetchers:new Map(N.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ke){let Jt={};if(!se){Jt.navigation=ft;let aa=Er(He);aa!==void 0&&(Jt.actionData=aa)}Wt.length>0&&(Jt.fetchers=ra(Wt)),Te(Jt,{flushSync:ke})}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));re&&re.signal.addEventListener("abort",$r);let{loaderResults:Ha,fetcherResults:ia}=yield pa(N.matches,ae,kt,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};re&&re.signal.removeEventListener("abort",$r),Wt.forEach(Jt=>W.delete(Jt.key));let la=vT([...Ha,...ia]);if(la){if(la.idx>=kt.length){let Jt=Wt[la.idx-kt.length].key;xe.add(Jt)}return yield dr(I,la.result,{replace:q}),{shortCircuited:!0}}let{loaderData:$a,errors:Nt}=pT(N,ae,kt,Ha,He,Wt,ia,Pe);Pe.forEach((Jt,aa)=>{Jt.subscribe(Za=>{(Za||Jt.done)&&Pe.delete(aa)})}),b.v7_partialHydration&&pe&&N.errors&&Object.entries(N.errors).filter(Jt=>{let[aa]=Jt;return!kt.some(Za=>Za.route.id===aa)}).forEach(Jt=>{let[aa,Za]=Jt;Nt=Object.assign(Nt||{},{[aa]:Za})});let qn=Vt(),is=Rr(ee),ls=qn||is||Wt.length>0;return Ir({matches:ae,loaderData:$a,errors:Nt},ls?{fetchers:new Map(N.fetchers)}:{})})}function Er(I){if(I&&!Mn(I[1]))return{[I[0]]:I[1].data};if(N.actionData)return Object.keys(N.actionData).length===0?null:N.actionData}function ra(I){return I.forEach(V=>{let ae=N.fetchers.get(V.key),se=Wh(void 0,ae?ae.data:void 0);N.fetchers.set(V.key,se)}),new Map(N.fetchers)}function jr(I,V,ae,se){if(l)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=(se&&se.unstable_flushSync)===!0,Fe=h||u,D=e2(N.location,N.matches,p,b.v7_prependBasename,ae,b.v7_relativeSplatPath,V,se==null?void 0:se.relative),q=nc(Fe,D,p),pe=Me(q,Fe,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Mr(I,V,Ca(404,{pathname:D}),{flushSync:Ve});return}let{path:ke,submission:He,error:ft}=lT(b.v7_normalizeFormMethod,!0,D,se);if(ft){Mr(I,V,ft,{flushSync:Ve});return}let Je=Zu(q,ke);if(_e=(se&&se.preventScrollReset)===!0,He&&Cl(He.formMethod)){qr(I,V,ke,Je,q,pe.active,Ve,He);return}we.set(I,{routeId:V,path:ke}),Cr(I,V,ke,Je,q,pe.active,Ve,He)}function qr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){xr(),we.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let Yn=Ca(405,{method:q.formMethod,pathname:ae,routeId:V});return Mr(I,V,Yn,{flushSync:D}),!0}return!1}if(!Fe&&pe(se))return;let ke=N.fetchers.get(I);mr(I,SW(q,ke),{flushSync:D});let He=new AbortController,ft=Rd(r.history,ae,He.signal,q);if(Fe){let Gr=yield We(Ve,ae,ft.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:Yn}=z(ae,Gr);Mr(I,V,Yn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,se=Zu(Ve,ae),pe(se))return}else{Mr(I,V,Ca(404,{pathname:ae}),{flushSync:D});return}}W.set(I,He);let Je=ne,Ct=(yield gr("action",ft,[se],Ve))[0];if(ft.signal.aborted){W.get(I)===He&&W.delete(I);return}if(b.v7_fetcherPersist&&$e.has(I)){if(ru(Ct)||Mn(Ct)){mr(I,Zc(void 0));return}}else{if(ru(Ct))if(W.delete(I),ee>Je){mr(I,Zc(void 0));return}else return xe.add(I),mr(I,Wh(q)),dr(ft,Ct,{fetcherSubmission:q});if(Mn(Ct)){Mr(I,V,Ct.error);return}}if(tu(Ct))throw Ca(400,{type:"defer-action"});let kt=N.navigation.location||N.location,Wt=Rd(r.history,kt,He.signal),$r=h||u,Ha=N.navigation.state!=="idle"?nc($r,N.navigation.location,p):N.matches;Or(Ha,"Didn't find any matches after fetcher action");let ia=++ne;de.set(I,ia);let la=Wh(q,Ct.data);N.fetchers.set(I,la);let[$a,Nt]=sT(r.history,N,Ha,q,kt,!1,b.v7_skipActionErrorRevalidation,le,fe,B,$e,we,xe,$r,p,[se.route.id,Ct]);Nt.filter(Gr=>Gr.key!==I).forEach(Gr=>{let Yn=Gr.key,yu=N.fetchers.get(Yn),ip=Wh(void 0,yu?yu.data:void 0);N.fetchers.set(Yn,ip),W.has(Yn)&&bt(Yn),Gr.controller&&W.set(Yn,Gr.controller)}),Te({fetchers:new Map(N.fetchers)});let qn=()=>Nt.forEach(Gr=>bt(Gr.key));He.signal.addEventListener("abort",qn);let{loaderResults:is,fetcherResults:ls}=yield pa(N.matches,Ha,$a,Nt,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",qn),de.delete(I),W.delete(I),Nt.forEach(Gr=>W.delete(Gr.key));let Jt=vT([...is,...ls]);if(Jt){if(Jt.idx>=$a.length){let Gr=Nt[Jt.idx-$a.length].key;xe.add(Gr)}return dr(Wt,Jt.result)}let{loaderData:aa,errors:Za}=pT(N,N.matches,$a,is,void 0,Nt,ls,Pe);if(N.fetchers.has(I)){let Gr=Zc(Ct.data);N.fetchers.set(I,Gr)}Rr(ia),N.navigation.state==="loading"&&ia>ee?(Or(te,"Expected pending action"),re&&re.abort(),ht(N.navigation.location,{matches:Ha,loaderData:aa,errors:Za,fetchers:new Map(N.fetchers)})):(Te({errors:Za,loaderData:hT(N.loaderData,aa,Ha,Za),fetchers:new Map(N.fetchers)}),le=!1)})}function Cr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){let pe=N.fetchers.get(I);mr(I,Wh(q,pe?pe.data:void 0),{flushSync:D});let ke=new AbortController,He=Rd(r.history,ae,ke.signal);if(Fe){let Ct=yield We(Ve,ae,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:kt}=z(ae,Ct);Mr(I,V,kt,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,se=Zu(Ve,ae);else{Mr(I,V,Ca(404,{pathname:ae}),{flushSync:D});return}}W.set(I,ke);let ft=ne,Ke=(yield gr("loader",He,[se],Ve))[0];if(tu(Ke)&&(Ke=(yield qT(Ke,He.signal,!0))||Ke),W.get(I)===ke&&W.delete(I),!He.signal.aborted){if($e.has(I)){mr(I,Zc(void 0));return}if(ru(Ke))if(ee>ft){mr(I,Zc(void 0));return}else{xe.add(I),yield dr(He,Ke);return}if(Mn(Ke)){Mr(I,V,Ke.error);return}Or(!tu(Ke),"Unhandled fetcher deferred data"),mr(I,Zc(Ke.data))}})}function dr(I,V,ae){return na(this,null,function*(){let{submission:se,fetcherSubmission:Ve,replace:Fe}=ae===void 0?{}:ae;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=oc(N.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(o2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||Yh(Ct.pathname,p)==null}if(Ke){Fe?a.location.replace(D):a.location.assign(D);return}}re=null;let pe=Fe===!0||V.response.headers.has("X-Remix-Replace")?Ia.Replace:Ia.Push,{formMethod:ke,formAction:He,formEncType:ft}=N.navigation;!se&&!Ve&&ke&&He&&ft&&(se=gT(N.navigation));let Je=se||Ve;if(sW.has(V.response.status)&&Je&&Cl(Je.formMethod))yield Ut(pe,q,{submission:Ir({},Je,{formAction:D}),preventScrollReset:_e});else{let Ke=Q0(q,se);yield Ut(pe,q,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:_e})}})}function gr(I,V,ae,se){return na(this,null,function*(){try{let Ve=yield BT(m,I,V,ae,se,f,s);return yield Promise.all(Ve.map((Fe,D)=>{if(VT(Fe)){let q=Fe.result;return{type:Vr.redirect,response:jT(q,V,ae[D].route.id,se,p,b.v7_relativeSplatPath)}}return FT(Fe)}))}catch(Ve){return ae.map(()=>({type:Vr.error,error:Ve}))}})}function pa(I,V,ae,se,Ve){return na(this,null,function*(){let[Fe,...D]=yield Promise.all([ae.length?gr("loader",Ve,ae,V):[],...se.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Rd(r.history,q.path,q.controller.signal);return gr("loader",pe,[q.match],q.matches).then(ke=>ke[0])}else return Promise.resolve({type:Vr.error,error:Ca(404,{pathname:q.path})})})]);return yield Promise.all([_T(I,ae,Fe,Fe.map(()=>Ve.signal),!1,N.loaderData),_T(I,se.map(q=>q.match),D,se.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:D}})}function xr(){le=!0,fe.push(...G()),we.forEach((I,V)=>{W.has(V)&&(B.add(V),bt(V))})}function mr(I,V,ae){ae===void 0&&(ae={}),N.fetchers.set(I,V),Te({fetchers:new Map(N.fetchers)},{flushSync:(ae&&ae.flushSync)===!0})}function Mr(I,V,ae,se){se===void 0&&(se={});let Ve=Ju(N.matches,V);Be(I),Te({errors:{[Ve.route.id]:ae},fetchers:new Map(N.fetchers)},{flushSync:(se&&se.flushSync)===!0})}function _a(I){return b.v7_fetcherPersist&&(Ye.set(I,(Ye.get(I)||0)+1),$e.has(I)&&$e.delete(I)),N.fetchers.get(I)||AT}function Be(I){let V=N.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&de.has(I))&&bt(I),we.delete(I),de.delete(I),xe.delete(I),$e.delete(I),B.delete(I),N.fetchers.delete(I)}function st(I){if(b.v7_fetcherPersist){let V=(Ye.get(I)||0)-1;V<=0?(Ye.delete(I),$e.add(I)):Ye.set(I,V)}else Be(I);Te({fetchers:new Map(N.fetchers)})}function bt(I){let V=W.get(I);Or(V,"Expected fetch controller: "+I),V.abort(),W.delete(I)}function $t(I){for(let V of I){let ae=_a(V),se=Zc(ae.data);N.fetchers.set(V,se)}}function Vt(){let I=[],V=!1;for(let ae of xe){let se=N.fetchers.get(ae);Or(se,"Expected fetcher: "+ae),se.state==="loading"&&(xe.delete(ae),I.push(ae),V=!0)}return $t(I),V}function Rr(I){let V=[];for(let[ae,se]of de)if(se<I){let Ve=N.fetchers.get(ae);Or(Ve,"Expected fetcher: "+ae),Ve.state==="loading"&&(bt(ae),de.delete(ae),V.push(ae))}return $t(V),V.length>0}function vr(I,V){let ae=N.blockers.get(I)||Dd;return et.get(I)!==V&&et.set(I,V),ae}function Yr(I){N.blockers.delete(I),et.delete(I)}function $(I,V){let ae=N.blockers.get(I)||Dd;Or(ae.state==="unblocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="proceeding"||ae.state==="blocked"&&V.state==="unblocked"||ae.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+ae.state+" -> "+V.state);let se=new Map(N.blockers);se.set(I,V),Te({blockers:se})}function P(I){let{currentLocation:V,nextLocation:ae,historyAction:se}=I;if(et.size===0)return;et.size>1&&Ss(!1,"A router only supports one blocker at a time");let Ve=Array.from(et.entries()),[Fe,D]=Ve[Ve.length-1],q=N.blockers.get(Fe);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:ae,historyAction:se}))return Fe}function R(I){let V=Ca(404,{pathname:I}),ae=h||u,{matches:se,route:Ve}=z_(ae);return G(),{notFoundMatches:se,route:Ve,error:V}}function z(I,V){return{boundaryId:Ju(V.partialMatches).route.id,error:Ca(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 Pe.forEach((ae,se)=>{(!I||I(se))&&(ae.cancel(),V.push(se),Pe.delete(se))}),V}function ie(I,V,ae){if(k=I,M=V,L=ae||null,!Y&&N.navigation===P_){Y=!0;let se=Ie(N.location,N.matches);se!=null&&Te({restoreScrollPosition:se})}return()=>{k=null,M=null,L=null}}function oe(I,V){return L&&L(I,V.map(se=>yT(se,N.loaderData)))||I.key}function Oe(I,V){if(k&&M){let ae=oe(I,V);k[ae]=M()}}function Ie(I,V){if(k){let ae=oe(I,V),se=k[ae];if(typeof se=="number")return se}return null}function Me(I,V,ae){if(g)if(I){let se=I[I.length-1].route;if(se.path&&(se.path==="*"||se.path.endsWith("/*")))return{active:!0,matches:M_(V,ae,p,!0)}}else return{active:!0,matches:M_(V,ae,p,!0)||[]};return{active:!1,matches:null}}function We(I,V,ae){return na(this,null,function*(){let se=I,Ve=se.length>0?se[se.length-1].route:null;for(;;){let Fe=h==null,D=h||u;try{yield hW(g,V,se,D,f,s,ut,ae)}catch(He){return{type:"error",error:He,partialMatches:se}}finally{Fe&&(u=[...u])}if(ae.aborted)return{type:"aborted"};let q=nc(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 ke=M_(D,V,p,!0);if(!ke||se.map(He=>He.route.id).join("-")===ke.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?q:null};if(se=ke,Ve=se[se.length-1].route,Ve.path==="*")return{type:"success",matches:se}}})}function Le(I){f={},h=ef(I,s,void 0,f)}function Qe(I,V){let ae=h==null;IT(I,V,h||u,f,s),ae&&(u=[...u],Te({}))}return Q={get basename(){return p},get future(){return b},get state(){return N},get routes(){return u},get window(){return a},initialize:Tt,subscribe:Ze,enableScrollRestoration:ie,navigate:Lt,fetch:jr,revalidate:jt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:_a,deleteFetcher:st,dispose:wt,getBlocker:vr,deleteBlocker:Yr,patchRoutes:Qe,_internalFetchControllers:W,_internalActiveDeferreds:Pe,_internalSetRoutes:Le},Q}var OT=Symbol("deferred");function uW(r,a){Or(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let o={},l=(a?a.basename:null)||"/",s;if(a!=null&&a.mapRouteProperties)s=a.mapRouteProperties;else if(a!=null&&a.detectErrorBoundary){let C=a.detectErrorBoundary;s=k=>({hasErrorBoundary:C(k)})}else s=LT;let f=Ir({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=ef(r,s,void 0,o);function h(C,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(C.url),j=C.method,F=oc("",ws(O),null,"default"),Q=nc(u,F,l);if(!a2(j)&&j!=="HEAD"){let te=Ca(405,{method:j}),{matches:_e,route:re}=z_(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Q){let te=Ca(404,{pathname:F.pathname}),{matches:_e,route:re}=z_(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let N=yield m(C,F,Q,L,Y||null,M===!0,null);return eu(N)?N:Ir({location:F,basename:l},N)})}function p(C,k){return na(this,null,function*(){let{routeId:L,requestContext:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(C.url),j=C.method,F=oc("",ws(O),null,"default"),Q=nc(u,F,l);if(!a2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw Ca(405,{method:j});if(!Q)throw Ca(404,{pathname:F.pathname});let N=L?Q.find(be=>be.route.id===L):Zu(Q,F);if(L&&!N)throw Ca(403,{pathname:F.pathname,routeId:L});if(!N)throw Ca(404,{pathname:F.pathname});let te=yield m(C,F,Q,M,Y||null,!1,N);if(eu(te))return te;let _e=te.errors?Object.values(te.errors)[0]:void 0;if(_e!==void 0)throw _e;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var re;let be=Object.values(te.loaderData)[0];return(re=te.activeDeferreds)!=null&&re[N.route.id]&&(be[OT]=te.activeDeferreds[N.route.id]),be}})}function m(C,k,L,M,Y,O,j){return na(this,null,function*(){Or(C.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Cl(C.method.toLowerCase()))return yield g(C,L,j||Zu(L,k),M,Y,O,j!=null);let F=yield b(C,L,M,Y,O,j);return eu(F)?F:Ir({},F,{actionData:null,actionHeaders:{}})}catch(F){if(gW(F)&&eu(F.result)){if(F.type===Vr.error)throw F.result;return F.result}if(bW(F))return F;throw F}})}function g(C,k,L,M,Y,O,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let te=Ca(405,{method:C.method,pathname:new URL(C.url).pathname,routeId:L.route.id});if(j)throw te;F={type:Vr.error,error:te}}else F=(yield S("action",C,[L],k,j,M,Y))[0],C.signal.aborted&&iT(C,j,f);if(ru(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(tu(F)){let te=Ca(400,{type:"defer-action"});if(j)throw te;F={type:Vr.error,error:te}}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 Q=new Request(C.url,{headers:C.headers,redirect:C.redirect,signal:C.signal});if(Mn(F)){let te=O?L:Ju(k,L.route.id),_e=yield b(Q,k,M,Y,O,null,[te.route.id,F]);return Ir({},_e,{statusCode:Nd(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Ir({},F.headers?{[L.route.id]:F.headers}:{})})}let N=yield b(Q,k,M,Y,O,null);return Ir({},N,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(C,k,L,M,Y,O,j){return na(this,null,function*(){let F=O!=null;if(F&&!(O!=null&&O.route.loader)&&!(O!=null&&O.route.lazy))throw Ca(400,{method:C.method,pathname:new URL(C.url).pathname,routeId:O==null?void 0:O.route.id});let N=(O?[O]:j&&Mn(j[1])?MT(k,j[0]):k).filter(ye=>ye.route.loader||ye.route.lazy);if(N.length===0)return{matches:k,loaderData:k.reduce((ye,ge)=>Object.assign(ye,{[ge.route.id]:null}),{}),errors:j&&Mn(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield S("loader",C,N,k,F,L,M);C.signal.aborted&&iT(C,F,f);let _e=new Map,re=HT(k,N,te,j,_e,Y),be=new Set(N.map(ye=>ye.route.id));return k.forEach(ye=>{be.has(ye.route.id)||(re.loaderData[ye.route.id]=null)}),Ir({},re,{matches:k,activeDeferreds:_e.size>0?Object.fromEntries(_e.entries()):null})})}function S(C,k,L,M,Y,O,j){return na(this,null,function*(){let F=yield BT(j||zT,C,k,L,M,o,s,O);return yield Promise.all(F.map((Q,N)=>{if(VT(Q)){let te=Q.result;throw jT(te,k,L[N].route.id,M,l,f.v7_relativeSplatPath)}if(eu(Q.result)&&Y)throw Q;return FT(Q)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function fW(r,a,o){return Ir({},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 l=a?"queryRoute":"query";throw new Error(l+"() call aborted: "+r.method+" "+r.url)}function dW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function e2(r,a,o,l,s,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(s||".",TT(p,f),Yh(r.pathname,o)||r.pathname,h==="path");return s==null&&(g.search=r.search,g.hash=r.hash),(s==null||s===""||s===".")&&m&&m.route.index&&!i2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Ad([o,g.pathname])),ws(g)}function lT(r,a,o,l){if(!l||!dW(l))return{path:o};if(l.formMethod&&!a2(l.formMethod))return{path:o,error:Ca(405,{method:l.formMethod})};let s=()=>({path:o,error:Ca(400,{type:"invalid-body"})}),f=l.formMethod||"get",u=r?f.toUpperCase():f.toLowerCase(),h=UT(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cl(u))return s();let S=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((C,k)=>{let[L,M]=k;return""+C+L+"="+M+`
|
|
146
|
-
`},""):String(l.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:S}}}else if(l.formEncType==="application/json"){if(!Cl(u))return s();try{let S=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return s()}}}Or(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=t2(l.formData),m=l.formData;else if(l.body instanceof FormData)p=t2(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=dT(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=dT(p)}catch(S){return s()}let g={formMethod:u,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Cl(g.formMethod))return{path:o,submission:g};let b=Gl(o);return a&&b.search&&i2(b.search)&&p.append("index",""),b.search="?"+p,{path:ws(b),submission:g}}function MT(r,a){let o=r;if(a){let l=r.findIndex(s=>s.route.id===a);l>=0&&(o=r.slice(0,l))}return o}function sT(r,a,o,l,s,f,u,h,p,m,g,b,S,C,k,L){let M=L?Mn(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),O=r.createURL(s),j=L&&Mn(L[1])?L[0]:void 0,F=j?MT(o,j):o,Q=L?L[1].statusCode:void 0,N=u&&Q&&Q>=400,te=F.filter((re,be)=>{let{route:ye}=re;if(ye.lazy)return!0;if(ye.loader==null)return!1;if(f)return typeof ye.loader!="function"||ye.loader.hydrate?!0:a.loaderData[ye.id]===void 0&&(!a.errors||a.errors[ye.id]===void 0);if(pW(a.loaderData,a.matches[be],re)||p.some(le=>le===re.route.id))return!0;let ge=a.matches[be],H=re;return cT(re,Ir({currentUrl:Y,currentParams:ge.params,nextUrl:O,nextParams:H.params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h||Y.pathname+Y.search===O.pathname+O.search||Y.search!==O.search||PT(ge,H)}))}),_e=[];return b.forEach((re,be)=>{if(f||!o.some(fe=>fe.route.id===re.routeId)||g.has(be))return;let ye=nc(C,re.path,k);if(!ye){_e.push({key:be,routeId:re.routeId,path:re.path,matches:null,match:null,controller:null});return}let ge=a.fetchers.get(be),H=Zu(ye,re.path),le=!1;S.has(be)?le=!1:m.has(be)?(m.delete(be),le=!0):ge&&ge.state!=="idle"&&ge.data===void 0?le=h:le=cT(H,Ir({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:O,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h})),le&&_e.push({key:be,routeId:re.routeId,path:re.path,matches:ye,match:H,controller:new AbortController})}),[te,_e]}function pW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}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 hW(r,a,o,l,s,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,l,s,f)}}),u.set(p,m)),m&&_W(m)&&(yield m)}finally{u.delete(p)}})}function IT(r,a,o,l,s){if(r){var f;let u=l[r];Or(u,"No route found to patch children into: routeId = "+r);let h=ef(a,s,[r,"patch",String(((f=u.children)==null?void 0:f.length)||"0")],l);u.children?u.children.push(...h):u.children=h}else{let u=ef(a,s,["patch",String(o.length||"0")],l);o.push(...u)}}function uT(r,a,o){return na(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Or(s,"No route found in manifest");let f={};for(let u in l){let p=s[u]!==void 0&&u!=="hasErrorBoundary";Ss(!p,'Route "'+s.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&&!OV.has(u)&&(f[u]=l[u])}Object.assign(s,f),Object.assign(s,Ir({},a(s),{lazy:void 0}))})}function zT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function BT(r,a,o,l,s,f,u,h){return na(this,null,function*(){let p=l.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,g=yield r({matches:s.map(b=>{let S=p.has(b.route.id);return Ir({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?mW(a,o,b,f,u,k,h):Promise.resolve({type:Vr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.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(s[S].route.id))})}function mW(r,a,o,l,s,f,u){return na(this,null,function*(){let h,p,m=g=>{let b,S=new Promise((L,M)=>b=M);p=()=>b(),a.signal.addEventListener("abort",p);let C=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=>C(L)):k=na(this,null,function*(){try{return{type:"data",result:yield C()}}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(C=>{b=C}),uT(o.route,s,l)]);if(b!==void 0)throw b;h=S}else if(yield uT(o.route,s,l),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 Ca(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 Ca(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(r2(a)){var l;if(a.data instanceof Error){var s;return{type:Vr.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Ld(((l=a.init)==null?void 0:l.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(r2(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,l,s,f){let u=r.headers.get("Location");if(Or(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!o2.test(u)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);u=e2(new URL(a.url),h,s,!0,u,f),r.headers.set("Location",u)}return r}function fT(r,a,o){if(o2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),f=Yh(s.pathname,o)!=null;if(s.origin===a.origin&&f)return s.pathname+s.search+s.hash}return r}function Rd(r,a,o,l){let s=r.createURL(UT(a)).toString(),f={signal:o};if(l&&Cl(l.formMethod)){let{formMethod:u,formEncType:h}=l;f.method=u.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(l.json)):h==="text/plain"?f.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?f.body=t2(l.formData):f.body=l.formData}return new Request(s,f)}function t2(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function dT(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function HT(r,a,o,l,s,f){let u={},h=null,p,m=!1,g={},b=l&&Mn(l[1])?l[1].error:void 0;return o.forEach((S,C)=>{let k=a[C].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 M=Ju(r,k);h[M.route.id]==null&&(h[M.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)?(s.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&&l&&(h={[l[0]]:b},u[l[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:g}}function pT(r,a,o,l,s,f,u,h){let{loaderData:p,errors:m}=HT(a,o,l,s,h,!1);for(let g=0;g<f.length;g++){let{key:b,match:S,controller:C}=f[g];Or(u!==void 0&&u[g]!==void 0,"Did not find corresponding fetcher result");let k=u[g];if(!(C&&C.signal.aborted))if(Mn(k)){let L=Ju(r.matches,S==null?void 0:S.route.id);m&&m[L.route.id]||(m=Ir({},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,l){let s=Ir({},a);for(let f of o){let u=f.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(s[u]=a[u]):r[u]!==void 0&&f.route.loader&&(s[u]=r[u]),l&&l.hasOwnProperty(u))break}return s}function mT(r){return r?Mn(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Ju(r,a){return(a?r.slice(0,r.findIndex(l=>l.route.id===a)+1):[...r]).reverse().find(l=>l.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 Ca(r,a){let{pathname:o,routeId:l,method:s,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):s&&o&&l?p="You made a "+s+' request to "'+o+'" but '+('did not provide a `loader` for route "'+l+'", ')+"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 "'+l+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",s&&o&&l?p="You made a "+s.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+l+'", ')+"so there is no way to handle the request.":s&&(p='Invalid request method "'+s.toUpperCase()+'"')),new
|
|
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,xv,null,n,i,c,d);_v(y.current,e);var C=e.nodeType===Ka?e.parentNode:e;return $p(C),new q0(y)}function D_(e){this._internalRoot=e}function nV(e){e&&hz(e)}D_.prototype.unstable_scheduleHydration=nV;function oV(e,t,n){if(!A_(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,xv,i,d,_,y,C);if(_v(E.current,e),$p(e),c)for(var A=0;A<c.length;A++){var Z=c[A];nj(E,Z)}return new D_(E)}function A_(e){return!!(e&&(e.nodeType===_o||e.nodeType===Bs||e.nodeType===Qg||!we))}function Uh(e){return!!(e&&(e.nodeType===_o||e.nodeType===Bs||e.nodeType===Qg||e.nodeType===Ka&&e.nodeValue===" react-mount-point-unstable "))}function Vk(e){e.nodeType===_o&&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."),nh(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 iV=o.ReactCurrentOwner,Wk;Wk=function(e){if(e._reactRootContainer&&e.nodeType!==Ka){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=Y0(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===_o&&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 Y0(e){return e?e.nodeType===Bs?e.documentElement:e.firstChild:null}function qk(){}function lV(e,t,n,i,c){if(c){if(typeof i=="function"){var d=i;i=function(){var J=R_(_);d.call(J)}}var _=wk(t,i,e,Fc,null,!1,!1,"",qk);e._reactRootContainer=_,_v(_.current,e);var y=e.nodeType===Ka?e.parentNode:e;return $p(y),tc(),_}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof i=="function"){var E=i;i=function(){var J=R_(A);E.call(J)}}var A=Sk(e,Fc,null,!1,!1,"",qk);e._reactRootContainer=A,_v(A.current,e);var Z=e.nodeType===Ka?e.parentNode:e;return $p(Z),tc(function(){Hh(t,A,n,i)}),A}}function sV(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 L_(e,t,n,i,c){Wk(n),sV(c===void 0?null:c,"render");var d=n._reactRootContainer,_;if(!d)_=lV(n,t,e,c,i);else{if(_=d,typeof c=="function"){var y=c;c=function(){var C=R_(_);y.call(C)}}Hh(t,_,e,c)}return R_(_)}var Yk=!1;function cV(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=iV.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===_o?e:$U(e,"findDOMNode")}function uV(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"),!Uh(t))throw new Error("Target container is not a DOM element.");{var i=nh(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 L_(null,e,t,!0,n)}function fV(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"),!Uh(t))throw new Error("Target container is not a DOM element.");{var i=nh(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 L_(null,e,t,!1,n)}function dV(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"),!Uh(n))throw new Error("Target container is not a DOM element.");if(e==null||!eI(e))throw new Error("parentComponent must be a valid React Component");return L_(e,t,n,!1,i)}var $k=!1;function pV(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")),!Uh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=nh(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=Y0(e),i=n&&!zc(n);i&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return tc(function(){L_(null,null,e,!1,function(){e._reactRootContainer=null,HC(e)})}),!0}else{{var c=Y0(e),d=!!(c&&zc(c)),_=e.nodeType===_o&&Uh(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}}nz(GU),iz(KU),lz(XU),sz(zl),cz(tz),(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"),VP(u9),YP(C0,oU,tc);function hV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!A_(t))throw new Error("Target container is not a DOM element.");return YU(e,t,null,n)}function mV(e,t,n,i){return dV(e,t,n,i)}var $0={usingClientEntryPoint:!1,Events:[zc,nd,gv,n3,o3,C0]};function vV(e,t){return $0.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),aV(e,t)}function _V(e,t,n){return $0.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),oV(e,t,n)}function gV(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."),tc(e)}var bV=rV({findFiberByHostInstance:zu,bundleType:1,version:j0,rendererPackageName:"react-dom"});if(!bV&&pt&&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")}Uo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$0,Uo.createPortal=hV,Uo.createRoot=vV,Uo.findDOMNode=cV,Uo.flushSync=gV,Uo.hydrate=uV,Uo.hydrateRoot=_V,Uo.render=fV,Uo.unmountComponentAtNode=pV,Uo.unstable_batchedUpdates=C0,Uo.unstable_renderSubtreeIntoContainer=mV,Uo.version=j0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var G0=Ue((Z$,tT)=>{"use strict";tT.exports=eT()});var rT=Ue(X0=>{"use strict";var K0=G0();Wh=K0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,X0.createRoot=function(r,a){Wh.usingClientEntryPoint=!0;try{return K0.createRoot(r,a)}finally{Wh.usingClientEntryPoint=!1}},X0.hydrateRoot=function(r,a,o){Wh.usingClientEntryPoint=!0;try{return K0.hydrateRoot(r,a,o)}finally{Wh.usingClientEntryPoint=!1}};var Wh});var s2=Ue(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});function Ir(){return Ir=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Ir.apply(this,arguments)}var Ia=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),aT="popstate";function DV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,k)=>g(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),u=Ia.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function m(){return s[f]}function g(w,k,L){k===void 0&&(k=null);let M=oc(s?m().pathname:"/",w,k,L);return ws(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function b(w){return typeof w=="string"?w:Cs(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"?Kl(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){u=Ia.Push;let L=g(w,k);f+=1,s.splice(f,s.length,L),l&&h&&h({action:u,location:L,delta:1})},replace(w,k){u=Ia.Replace;let L=g(w,k);s[f]=L,l&&h&&h({action:u,location:L,delta:0})},go(w){u=Ia.Pop;let k=p(f+w),L=s[k];f=k,h&&h({action:u,location:L,delta:w})},listen(w){return h=w,()=>{h=null}}}}function AV(r){r===void 0&&(r={});function a(l,s){let{pathname:f,search:u,hash:h}=l.location;return oc("",{pathname:f,search:u,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:Cs(s)}return bT(a,o,null,r)}function LV(r){r===void 0&&(r={});function a(s,f){let{pathname:u="/",search:h="",hash:p=""}=Kl(s.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),oc("",{pathname:u,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(s,f){let u=s.document.querySelector("base"),h="";if(u&&u.getAttribute("href")){let p=s.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:Cs(f))}function l(s,f){ws(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return bT(a,o,l,r)}function Or(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function ws(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function NV(){return Math.random().toString(36).substr(2,8)}function nT(r,a){return{usr:r.state,key:r.key,idx:a}}function oc(r,a,o,l){return o===void 0&&(o=null),Ir({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Kl(a):a,{state:o,key:a&&a.key||l||NV()})}function Cs(r){let{pathname:a="/",search:o="",hash:l=""}=r;return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function Kl(r){let a={};if(r){let o=r.indexOf("#");o>=0&&(a.hash=r.substr(o),r=r.substr(0,o));let l=r.indexOf("?");l>=0&&(a.search=r.substr(l),r=r.substr(0,l)),r&&(a.pathname=r)}return a}function bT(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:f=!1}=l,u=s.history,h=Ia.Pop,p=null,m=g();m==null&&(m=0,u.replaceState(Ir({},u.state,{idx:m}),""));function g(){return(u.state||{idx:null}).idx}function b(){h=Ia.Pop;let M=g(),Y=M==null?null:M-m;m=M,p&&p({action:h,location:L.location,delta:Y})}function S(M,Y){h=Ia.Push;let O=oc(L.location,M,Y);o&&o(O,M),m=g()+1;let j=nT(O,m),F=L.createHref(O);try{u.pushState(j,"",F)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;s.location.assign(F)}f&&p&&p({action:h,location:L.location,delta:1})}function w(M,Y){h=Ia.Replace;let O=oc(L.location,M,Y);o&&o(O,M),m=g();let j=nT(O,m),F=L.createHref(O);u.replaceState(j,"",F),f&&p&&p({action:h,location:L.location,delta:0})}function k(M){let Y=s.location.origin!=="null"?s.location.origin:s.location.href,O=typeof M=="string"?M:Cs(M);return O=O.replace(/ $/,"%20"),Or(Y,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,Y)}let L={get action(){return h},get location(){return r(s,u)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(aT,b),p=M,()=>{s.removeEventListener(aT,b),p=null}},createHref(M){return a(s,M)},createURL:k,encodeLocation(M){let Y=k(M);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:w,go(M){return u.go(M)}};return L}var Vr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),OV=new Set(["lazy","caseSensitive","path","id","index","children"]);function MV(r){return r.index===!0}function tf(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,f)=>{let u=[...o,String(f)],h=typeof s.id=="string"?s.id:u.join("-");if(Or(s.index!==!0||!s.children,"Cannot specify children on an index route"),Or(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),MV(s)){let p=Ir({},s,a(s),{id:h});return l[h]=p,p}else{let p=Ir({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=tf(s.children,a,u,l)),p}})}function nc(r,a,o){return o===void 0&&(o="/"),P_(r,a,o,!1)}function P_(r,a,o,l){let s=typeof a=="string"?Kl(a):a,f=$h(s.pathname||"/",o);if(f==null)return null;let u=ST(r);PV(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let m=CT(f);h=WV(u[p],m,l)}return h}function yT(r,a){let{route:o,pathname:l,params:s}=r;return{id:o.id,pathname:l,params:s,data:a[o.id],handle:o.handle}}function ST(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(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(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let m=Nd([l,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:UV(m,f.index),routesMeta:g})};return r.forEach((f,u)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,u);else for(let p of wT(f.path))s(f,u,p)}),a}function wT(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return s?[f,""]:[f];let u=wT(l.join("/")),h=[];return h.push(...u.map(p=>p===""?f:[f,p].join("/"))),s&&h.push(...u),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function PV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:VV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var IV=/^:[\w-]+$/,zV=3,BV=2,FV=1,jV=10,HV=-2,oT=r=>r==="*";function UV(r,a){let o=r.split("/"),l=o.length;return o.some(oT)&&(l+=HV),a&&(l+=BV),o.filter(s=>!oT(s)).reduce((s,f)=>s+(IV.test(f)?zV:f===""?FV:jV),l)}function VV(r,a){return r.length===a.length&&r.slice(0,-1).every((l,s)=>l===a[s])?r[r.length-1]-a[a.length-1]:0}function WV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},f="/",u=[];for(let h=0;h<l.length;++h){let p=l[h],m=h===l.length-1,g=f==="/"?a:a.slice(f.length)||"/",b=Z0({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),S=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=Z0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:Nd([f,b.pathname]),pathnameBase:RT(Nd([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Nd([f,b.pathnameBase]))}return u}function qV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(ws(!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 l=o.startsWith("/")?"/":"",s=u=>u==null?"":typeof u=="string"?u:String(u),f=o.split(/\/+/).map((u,h,p)=>{if(h===p.length-1&&u==="*")return s(a["*"]);let g=u.match(/^:([\w-]+)(\??)$/);if(g){let[,b,S]=g,w=a[b];return Or(S==="?"||w!=null,'Missing ":'+b+'" param'),s(w)}return u.replace(/\?$/g,"")}).filter(u=>!!u);return l+f.join("/")}function Z0(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=YV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let f=s[0],u=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.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 YV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),ws(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 l=[],s="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function CT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return ws(!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 $h(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let o=a.endsWith("/")?a.length-1:a.length,l=r.charAt(o);return l&&l!=="/"?null:r.slice(o)||"/"}function xT(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Kl(r):r;return{pathname:o?o.startsWith("/")?o:$V(o,a):a,search:KV(l),hash:XV(s)}}function $V(r,a){let o=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function Q0(r,a,o,l){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. 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((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function ET(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Kl(r):(s=Ir({},r),Or(!s.pathname||!s.pathname.includes("?"),Q0("?","pathname","search",s)),Or(!s.pathname||!s.pathname.includes("#"),Q0("#","pathname","hash",s)),Or(!s.search||!s.search.includes("#"),Q0("#","search","hash",s)));let f=r===""||s.pathname==="",u=f?"/":s.pathname,h;if(u==null)h=o;else{let b=a.length-1;if(!l&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),b-=1;s.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=xT(s,h),m=u&&u!=="/"&&u.endsWith("/"),g=(f||u===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function GV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Kl(r).pathname:r.pathname}var Nd=r=>r.join("/").replace(/\/\/+/g,"/"),RT=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),KV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,XV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,QV=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Ir({},l,{headers:s}))},e2=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function JV(r,a){return new e2(r,typeof a=="number"?{status:a}:a)}var Yh=class extends Error{},z_=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 l;this.abortPromise=new Promise((f,u)=>l=u),this.controller=new AbortController;let s=()=>l(new Yh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),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 l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Yh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===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 s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(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 l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(f=>{a.removeEventListener("abort",l),(f||this.done)&&s(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[l,s]=o;return Object.assign(a,{[l]:eW(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function ZV(r){return r instanceof Promise&&r._tracked===!0}function eW(r){if(!ZV(r))return r;if(r._error)throw r._error;return r._data}var tW=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new z_(a,l)},o2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Ir({},l,{headers:s}))},rW=(r,a)=>{let o=o2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},aW=(r,a)=>{let o=o2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Od=class{constructor(a,o,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=o||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function Md(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"],nW=new Set(DT),oW=["get",...DT],iW=new Set(oW),lW=new Set([301,302,303,307,308]),sW=new Set([307,308]),I_={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},Ld={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},i2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,LT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),NT="remix-router-transitions";function cW(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",l=!o;Or(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(r.mapRouteProperties)s=r.mapRouteProperties;else if(r.detectErrorBoundary){let I=r.detectErrorBoundary;s=V=>({hasErrorBoundary:I(V)})}else s=LT;let f={},u=tf(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||zT,g=r.unstable_patchRoutesOnMiss,b=Ir({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,M=null,Y=r.hydrationData!=null,O=nc(u,r.history.location,p),j=null;if(O==null&&!g){let I=Ca(404,{pathname:r.history.location.pathname}),{matches:V,route:ae}=B_(u);O=V,j={[ae.id]:I}}O&&!r.hydrationData&&Me(O,u,r.history.location.pathname).active&&(O=null);let F;if(O)if(O.some(I=>I.route.lazy))F=!1;else if(!O.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,ae=se=>se.route.loader?typeof se.route.loader=="function"&&se.route.loader.hydrate===!0?!1:I&&I[se.route.id]!==void 0||V&&V[se.route.id]!==void 0:!0;if(V){let se=O.findIndex(Ve=>V[Ve.route.id]!==void 0);F=O.slice(0,se+1).every(ae)}else F=O.every(ae)}else F=r.hydrationData!=null;else if(F=!1,O=[],b.v7_partialHydration){let I=Me(null,u,r.history.location.pathname);I.active&&I.matches&&(O=I.matches)}let Q,N={historyAction:r.history.action,location:r.history.location,matches:O,initialized:F,navigation:I_,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},te=Ia.Pop,_e=!1,re,be=!1,ye=new Map,ge=null,H=!1,le=!1,fe=[],B=new Set,W=new Map,ne=0,ee=-1,de=new Map,xe=new Set,we=new Map,Ye=new Map,$e=new Set,Pe=new Map,et=new Map,ut=new Map,lt=!1;function Tt(){if(S=r.history.listen(I=>{let{action:V,location:ae,delta:se}=I;if(lt){lt=!1;return}ws(et.size===0||se!=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:N.location,nextLocation:ae,historyAction:V});if(Ve&&se!=null){lt=!0,r.history.go(se*-1),$(Ve,{state:"blocked",location:ae,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),r.history.go(se)},reset(){let Fe=new Map(N.blockers);Fe.set(Ve,Ld),Te({blockers:Fe})}});return}return Ut(V,ae)}),o){wW(a,ye);let I=()=>CW(a,ye);a.addEventListener("pagehide",I),ge=()=>a.removeEventListener("pagehide",I)}return N.initialized||Ut(Ia.Pop,N.location,{initialHydration:!0}),Q}function wt(){S&&S(),ge&&ge(),w.clear(),re&&re.abort(),N.fetchers.forEach((I,V)=>Be(V)),N.blockers.forEach((I,V)=>Yr(V))}function Ze(I){return w.add(I),()=>w.delete(I)}function Te(I,V){V===void 0&&(V={}),N=Ir({},N,I);let ae=[],se=[];b.v7_fetcherPersist&&N.fetchers.forEach((Ve,Fe)=>{Ve.state==="idle"&&($e.has(Fe)?se.push(Fe):ae.push(Fe))}),[...w].forEach(Ve=>Ve(N,{deletedFetchers:se,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(ae.forEach(Ve=>N.fetchers.delete(Ve)),se.forEach(Ve=>Be(Ve)))}function pt(I,V,ae){var se,Ve;let{flushSync:Fe}=ae===void 0?{}:ae,D=N.actionData!=null&&N.navigation.formMethod!=null&&xl(N.navigation.formMethod)&&N.navigation.state==="loading"&&((se=I.state)==null?void 0:se._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=N.actionData:q=null;let pe=V.loaderData?hT(N.loaderData,V.loaderData,V.matches||[],V.errors):N.loaderData,ke=N.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((Je,Ke)=>ke.set(Ke,Ld)));let He=_e===!0||N.navigation.formMethod!=null&&xl(N.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(u=h,h=void 0),H||te===Ia.Pop||(te===Ia.Push?r.history.push(I,I.state):te===Ia.Replace&&r.history.replace(I,I.state));let ft;if(te===Ia.Pop){let Je=ye.get(N.location.pathname);Je&&Je.has(I.pathname)?ft={currentLocation:N.location,nextLocation:I}:ye.has(I.pathname)&&(ft={currentLocation:I,nextLocation:N.location})}else if(be){let Je=ye.get(N.location.pathname);Je?Je.add(I.pathname):(Je=new Set([I.pathname]),ye.set(N.location.pathname,Je)),ft={currentLocation:N.location,nextLocation:I}}Te(Ir({},V,{actionData:q,loaderData:pe,historyAction:te,location:I,initialized:!0,navigation:I_,revalidation:"idle",restoreScrollPosition:Ie(I,V.matches||N.matches),preventScrollReset:He,blockers:ke}),{viewTransitionOpts:ft,flushSync:Fe===!0}),te=Ia.Pop,_e=!1,be=!1,H=!1,le=!1,fe=[]}function Lt(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let ae=t2(N.location,N.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:se,submission:Ve,error:Fe}=lT(b.v7_normalizeFormMethod,!1,ae,V),D=N.location,q=oc(N.location,se,V&&V.state);q=Ir({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,ke=Ia.Push;pe===!0?ke=Ia.Replace:pe===!1||Ve!=null&&xl(Ve.formMethod)&&Ve.formAction===N.location.pathname+N.location.search&&(ke=Ia.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Je=P({currentLocation:D,nextLocation:q,historyAction:ke});if(Je){$(Je,{state:"blocked",location:q,proceed(){$(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),Lt(I,V)},reset(){let Ke=new Map(N.blockers);Ke.set(Je,Ld),Te({blockers:Ke})}});return}return yield Ut(ke,q,{submission:Ve,pendingError:Fe,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function jt(){if(xr(),Te({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){Ut(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}Ut(te||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function Ut(I,V,ae){return na(this,null,function*(){re&&re.abort(),re=null,te=I,H=(ae&&ae.startUninterruptedRevalidation)===!0,Oe(N.location,N.matches),_e=(ae&&ae.preventScrollReset)===!0,be=(ae&&ae.enableViewTransition)===!0;let se=h||u,Ve=ae&&ae.overrideNavigation,Fe=nc(se,V,p),D=(ae&&ae.flushSync)===!0,q=Me(Fe,se,V.pathname);if(q.active&&q.matches&&(Fe=q.matches),!Fe){let{error:Ct,notFoundMatches:kt,route:Wt}=R(V.pathname);pt(V,{matches:kt,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:D});return}if(N.initialized&&!le&&vW(N.location,V)&&!(ae&&ae.submission&&xl(ae.submission.formMethod))){pt(V,{matches:Fe},{flushSync:D});return}re=new AbortController;let pe=Ad(r.history,V,re.signal,ae&&ae.submission),ke;if(ae&&ae.pendingError)ke=[Zu(Fe).route.id,{type:Vr.error,error:ae.pendingError}];else if(ae&&ae.submission&&xl(ae.submission.formMethod)){let Ct=yield ar(pe,V,ae.submission,Fe,q.active,{replace:ae.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[kt,Wt]=Ct.pendingActionResult;if(Mn(Wt)&&Md(Wt.error)&&Wt.error.status===404){re=null,pt(V,{matches:Ct.matches,loaderData:{},errors:{[kt]:Wt.error}});return}}Fe=Ct.matches||Fe,ke=Ct.pendingActionResult,Ve=J0(V,ae.submission),D=!1,q.active=!1,pe=Ad(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ft,loaderData:Je,errors:Ke}=yield ur(pe,V,Fe,q.active,Ve,ae&&ae.submission,ae&&ae.fetcherSubmission,ae&&ae.replace,ae&&ae.initialHydration===!0,D,ke);He||(re=null,pt(V,Ir({matches:ft||Fe},mT(ke),{loaderData:Je,errors:Ke})))})}function ar(I,V,ae,se,Ve,Fe){return na(this,null,function*(){Fe===void 0&&(Fe={}),xr();let D=yW(V,ae);if(Te({navigation:D},{flushSync:Fe.flushSync===!0}),Ve){let ke=yield We(se,V.pathname,I.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ft}]}}else if(ke.matches)se=ke.matches;else{let{notFoundMatches:He,error:ft,route:Je}=R(V.pathname);return{matches:He,pendingActionResult:[Je.id,{type:Vr.error,error:ft}]}}}let q,pe=ef(se,V);if(!pe.route.action&&!pe.route.lazy)q={type:Vr.error,error:Ca(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield gr("action",I,[pe],se))[0],I.signal.aborted)return{shortCircuited:!0};if(ru(q)){let ke;return Fe&&Fe.replace!=null?ke=Fe.replace:ke=fT(q.response.headers.get("Location"),new URL(I.url),p)===N.location.pathname+N.location.search,yield dr(I,q,{submission:ae,replace:ke}),{shortCircuited:!0}}if(tu(q))throw Ca(400,{type:"defer-action"});if(Mn(q)){let ke=Zu(se,pe.route.id);return(Fe&&Fe.replace)!==!0&&(te=Ia.Push),{matches:se,pendingActionResult:[ke.route.id,q]}}return{matches:se,pendingActionResult:[pe.route.id,q]}})}function ur(I,V,ae,se,Ve,Fe,D,q,pe,ke,He){return na(this,null,function*(){let ft=Ve||J0(V,Fe),Je=Fe||D||gT(ft),Ke=!H&&(!b.v7_partialHydration||!pe);if(se){if(Ke){let aa=Er(He);Te(Ir({navigation:ft},aa!==void 0?{actionData:aa}:{}),{flushSync:ke})}let Zt=yield We(ae,V.pathname,I.signal);if(Zt.type==="aborted")return{shortCircuited:!0};if(Zt.type==="error"){let{boundaryId:aa,error:en}=z(V.pathname,Zt);return{matches:Zt.partialMatches,loaderData:{},errors:{[aa]:en}}}else if(Zt.matches)ae=Zt.matches;else{let{error:aa,notFoundMatches:en,route:Gr}=R(V.pathname);return{matches:en,loaderData:{},errors:{[Gr.id]:aa}}}}let Ct=h||u,[kt,Wt]=sT(r.history,N,ae,Je,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,fe,B,$e,we,xe,Ct,p,He);if(G(Zt=>!(ae&&ae.some(aa=>aa.route.id===Zt))||kt&&kt.some(aa=>aa.route.id===Zt)),ee=++ne,kt.length===0&&Wt.length===0){let Zt=Vt();return pt(V,Ir({matches:ae,loaderData:{},errors:He&&Mn(He[1])?{[He[0]]:He[1].error}:null},mT(He),Zt?{fetchers:new Map(N.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ke){let Zt={};if(!se){Zt.navigation=ft;let aa=Er(He);aa!==void 0&&(Zt.actionData=aa)}Wt.length>0&&(Zt.fetchers=ra(Wt)),Te(Zt,{flushSync:ke})}Wt.forEach(Zt=>{W.has(Zt.key)&&bt(Zt.key),Zt.controller&&W.set(Zt.key,Zt.controller)});let $r=()=>Wt.forEach(Zt=>bt(Zt.key));re&&re.signal.addEventListener("abort",$r);let{loaderResults:Ha,fetcherResults:ia}=yield pa(N.matches,ae,kt,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};re&&re.signal.removeEventListener("abort",$r),Wt.forEach(Zt=>W.delete(Zt.key));let la=vT([...Ha,...ia]);if(la){if(la.idx>=kt.length){let Zt=Wt[la.idx-kt.length].key;xe.add(Zt)}return yield dr(I,la.result,{replace:q}),{shortCircuited:!0}}let{loaderData:Ga,errors:Nt}=pT(N,ae,kt,Ha,He,Wt,ia,Pe);Pe.forEach((Zt,aa)=>{Zt.subscribe(en=>{(en||Zt.done)&&Pe.delete(aa)})}),b.v7_partialHydration&&pe&&N.errors&&Object.entries(N.errors).filter(Zt=>{let[aa]=Zt;return!kt.some(en=>en.route.id===aa)}).forEach(Zt=>{let[aa,en]=Zt;Nt=Object.assign(Nt||{},{[aa]:en})});let qn=Vt(),ls=Rr(ee),ss=qn||ls||Wt.length>0;return Ir({matches:ae,loaderData:Ga,errors:Nt},ss?{fetchers:new Map(N.fetchers)}:{})})}function Er(I){if(I&&!Mn(I[1]))return{[I[0]]:I[1].data};if(N.actionData)return Object.keys(N.actionData).length===0?null:N.actionData}function ra(I){return I.forEach(V=>{let ae=N.fetchers.get(V.key),se=qh(void 0,ae?ae.data:void 0);N.fetchers.set(V.key,se)}),new Map(N.fetchers)}function jr(I,V,ae,se){if(l)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=(se&&se.unstable_flushSync)===!0,Fe=h||u,D=t2(N.location,N.matches,p,b.v7_prependBasename,ae,b.v7_relativeSplatPath,V,se==null?void 0:se.relative),q=nc(Fe,D,p),pe=Me(q,Fe,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Mr(I,V,Ca(404,{pathname:D}),{flushSync:Ve});return}let{path:ke,submission:He,error:ft}=lT(b.v7_normalizeFormMethod,!0,D,se);if(ft){Mr(I,V,ft,{flushSync:Ve});return}let Je=ef(q,ke);if(_e=(se&&se.preventScrollReset)===!0,He&&xl(He.formMethod)){qr(I,V,ke,Je,q,pe.active,Ve,He);return}we.set(I,{routeId:V,path:ke}),Cr(I,V,ke,Je,q,pe.active,Ve,He)}function qr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){xr(),we.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let Yn=Ca(405,{method:q.formMethod,pathname:ae,routeId:V});return Mr(I,V,Yn,{flushSync:D}),!0}return!1}if(!Fe&&pe(se))return;let ke=N.fetchers.get(I);mr(I,SW(q,ke),{flushSync:D});let He=new AbortController,ft=Ad(r.history,ae,He.signal,q);if(Fe){let Gr=yield We(Ve,ae,ft.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:Yn}=z(ae,Gr);Mr(I,V,Yn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,se=ef(Ve,ae),pe(se))return}else{Mr(I,V,Ca(404,{pathname:ae}),{flushSync:D});return}}W.set(I,He);let Je=ne,Ct=(yield gr("action",ft,[se],Ve))[0];if(ft.signal.aborted){W.get(I)===He&&W.delete(I);return}if(b.v7_fetcherPersist&&$e.has(I)){if(ru(Ct)||Mn(Ct)){mr(I,Zc(void 0));return}}else{if(ru(Ct))if(W.delete(I),ee>Je){mr(I,Zc(void 0));return}else return xe.add(I),mr(I,qh(q)),dr(ft,Ct,{fetcherSubmission:q});if(Mn(Ct)){Mr(I,V,Ct.error);return}}if(tu(Ct))throw Ca(400,{type:"defer-action"});let kt=N.navigation.location||N.location,Wt=Ad(r.history,kt,He.signal),$r=h||u,Ha=N.navigation.state!=="idle"?nc($r,N.navigation.location,p):N.matches;Or(Ha,"Didn't find any matches after fetcher action");let ia=++ne;de.set(I,ia);let la=qh(q,Ct.data);N.fetchers.set(I,la);let[Ga,Nt]=sT(r.history,N,Ha,q,kt,!1,b.v7_skipActionErrorRevalidation,le,fe,B,$e,we,xe,$r,p,[se.route.id,Ct]);Nt.filter(Gr=>Gr.key!==I).forEach(Gr=>{let Yn=Gr.key,Su=N.fetchers.get(Yn),lp=qh(void 0,Su?Su.data:void 0);N.fetchers.set(Yn,lp),W.has(Yn)&&bt(Yn),Gr.controller&&W.set(Yn,Gr.controller)}),Te({fetchers:new Map(N.fetchers)});let qn=()=>Nt.forEach(Gr=>bt(Gr.key));He.signal.addEventListener("abort",qn);let{loaderResults:ls,fetcherResults:ss}=yield pa(N.matches,Ha,Ga,Nt,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",qn),de.delete(I),W.delete(I),Nt.forEach(Gr=>W.delete(Gr.key));let Zt=vT([...ls,...ss]);if(Zt){if(Zt.idx>=Ga.length){let Gr=Nt[Zt.idx-Ga.length].key;xe.add(Gr)}return dr(Wt,Zt.result)}let{loaderData:aa,errors:en}=pT(N,N.matches,Ga,ls,void 0,Nt,ss,Pe);if(N.fetchers.has(I)){let Gr=Zc(Ct.data);N.fetchers.set(I,Gr)}Rr(ia),N.navigation.state==="loading"&&ia>ee?(Or(te,"Expected pending action"),re&&re.abort(),pt(N.navigation.location,{matches:Ha,loaderData:aa,errors:en,fetchers:new Map(N.fetchers)})):(Te({errors:en,loaderData:hT(N.loaderData,aa,Ha,en),fetchers:new Map(N.fetchers)}),le=!1)})}function Cr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){let pe=N.fetchers.get(I);mr(I,qh(q,pe?pe.data:void 0),{flushSync:D});let ke=new AbortController,He=Ad(r.history,ae,ke.signal);if(Fe){let Ct=yield We(Ve,ae,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:kt}=z(ae,Ct);Mr(I,V,kt,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,se=ef(Ve,ae);else{Mr(I,V,Ca(404,{pathname:ae}),{flushSync:D});return}}W.set(I,ke);let ft=ne,Ke=(yield gr("loader",He,[se],Ve))[0];if(tu(Ke)&&(Ke=(yield qT(Ke,He.signal,!0))||Ke),W.get(I)===ke&&W.delete(I),!He.signal.aborted){if($e.has(I)){mr(I,Zc(void 0));return}if(ru(Ke))if(ee>ft){mr(I,Zc(void 0));return}else{xe.add(I),yield dr(He,Ke);return}if(Mn(Ke)){Mr(I,V,Ke.error);return}Or(!tu(Ke),"Unhandled fetcher deferred data"),mr(I,Zc(Ke.data))}})}function dr(I,V,ae){return na(this,null,function*(){let{submission:se,fetcherSubmission:Ve,replace:Fe}=ae===void 0?{}:ae;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=oc(N.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(i2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||$h(Ct.pathname,p)==null}if(Ke){Fe?a.location.replace(D):a.location.assign(D);return}}re=null;let pe=Fe===!0||V.response.headers.has("X-Remix-Replace")?Ia.Replace:Ia.Push,{formMethod:ke,formAction:He,formEncType:ft}=N.navigation;!se&&!Ve&&ke&&He&&ft&&(se=gT(N.navigation));let Je=se||Ve;if(sW.has(V.response.status)&&Je&&xl(Je.formMethod))yield Ut(pe,q,{submission:Ir({},Je,{formAction:D}),preventScrollReset:_e});else{let Ke=J0(q,se);yield Ut(pe,q,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:_e})}})}function gr(I,V,ae,se){return na(this,null,function*(){try{let Ve=yield BT(m,I,V,ae,se,f,s);return yield Promise.all(Ve.map((Fe,D)=>{if(VT(Fe)){let q=Fe.result;return{type:Vr.redirect,response:jT(q,V,ae[D].route.id,se,p,b.v7_relativeSplatPath)}}return FT(Fe)}))}catch(Ve){return ae.map(()=>({type:Vr.error,error:Ve}))}})}function pa(I,V,ae,se,Ve){return na(this,null,function*(){let[Fe,...D]=yield Promise.all([ae.length?gr("loader",Ve,ae,V):[],...se.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Ad(r.history,q.path,q.controller.signal);return gr("loader",pe,[q.match],q.matches).then(ke=>ke[0])}else return Promise.resolve({type:Vr.error,error:Ca(404,{pathname:q.path})})})]);return yield Promise.all([_T(I,ae,Fe,Fe.map(()=>Ve.signal),!1,N.loaderData),_T(I,se.map(q=>q.match),D,se.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:D}})}function xr(){le=!0,fe.push(...G()),we.forEach((I,V)=>{W.has(V)&&(B.add(V),bt(V))})}function mr(I,V,ae){ae===void 0&&(ae={}),N.fetchers.set(I,V),Te({fetchers:new Map(N.fetchers)},{flushSync:(ae&&ae.flushSync)===!0})}function Mr(I,V,ae,se){se===void 0&&(se={});let Ve=Zu(N.matches,V);Be(I),Te({errors:{[Ve.route.id]:ae},fetchers:new Map(N.fetchers)},{flushSync:(se&&se.flushSync)===!0})}function _a(I){return b.v7_fetcherPersist&&(Ye.set(I,(Ye.get(I)||0)+1),$e.has(I)&&$e.delete(I)),N.fetchers.get(I)||AT}function Be(I){let V=N.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&de.has(I))&&bt(I),we.delete(I),de.delete(I),xe.delete(I),$e.delete(I),B.delete(I),N.fetchers.delete(I)}function st(I){if(b.v7_fetcherPersist){let V=(Ye.get(I)||0)-1;V<=0?(Ye.delete(I),$e.add(I)):Ye.set(I,V)}else Be(I);Te({fetchers:new Map(N.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 ae=_a(V),se=Zc(ae.data);N.fetchers.set(V,se)}}function Vt(){let I=[],V=!1;for(let ae of xe){let se=N.fetchers.get(ae);Or(se,"Expected fetcher: "+ae),se.state==="loading"&&(xe.delete(ae),I.push(ae),V=!0)}return Gt(I),V}function Rr(I){let V=[];for(let[ae,se]of de)if(se<I){let Ve=N.fetchers.get(ae);Or(Ve,"Expected fetcher: "+ae),Ve.state==="loading"&&(bt(ae),de.delete(ae),V.push(ae))}return Gt(V),V.length>0}function vr(I,V){let ae=N.blockers.get(I)||Ld;return et.get(I)!==V&&et.set(I,V),ae}function Yr(I){N.blockers.delete(I),et.delete(I)}function $(I,V){let ae=N.blockers.get(I)||Ld;Or(ae.state==="unblocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="proceeding"||ae.state==="blocked"&&V.state==="unblocked"||ae.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+ae.state+" -> "+V.state);let se=new Map(N.blockers);se.set(I,V),Te({blockers:se})}function P(I){let{currentLocation:V,nextLocation:ae,historyAction:se}=I;if(et.size===0)return;et.size>1&&ws(!1,"A router only supports one blocker at a time");let Ve=Array.from(et.entries()),[Fe,D]=Ve[Ve.length-1],q=N.blockers.get(Fe);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:ae,historyAction:se}))return Fe}function R(I){let V=Ca(404,{pathname:I}),ae=h||u,{matches:se,route:Ve}=B_(ae);return G(),{notFoundMatches:se,route:Ve,error:V}}function z(I,V){return{boundaryId:Zu(V.partialMatches).route.id,error:Ca(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 Pe.forEach((ae,se)=>{(!I||I(se))&&(ae.cancel(),V.push(se),Pe.delete(se))}),V}function ie(I,V,ae){if(k=I,M=V,L=ae||null,!Y&&N.navigation===I_){Y=!0;let se=Ie(N.location,N.matches);se!=null&&Te({restoreScrollPosition:se})}return()=>{k=null,M=null,L=null}}function oe(I,V){return L&&L(I,V.map(se=>yT(se,N.loaderData)))||I.key}function Oe(I,V){if(k&&M){let ae=oe(I,V);k[ae]=M()}}function Ie(I,V){if(k){let ae=oe(I,V),se=k[ae];if(typeof se=="number")return se}return null}function Me(I,V,ae){if(g)if(I){let se=I[I.length-1].route;if(se.path&&(se.path==="*"||se.path.endsWith("/*")))return{active:!0,matches:P_(V,ae,p,!0)}}else return{active:!0,matches:P_(V,ae,p,!0)||[]};return{active:!1,matches:null}}function We(I,V,ae){return na(this,null,function*(){let se=I,Ve=se.length>0?se[se.length-1].route:null;for(;;){let Fe=h==null,D=h||u;try{yield hW(g,V,se,D,f,s,ut,ae)}catch(He){return{type:"error",error:He,partialMatches:se}}finally{Fe&&(u=[...u])}if(ae.aborted)return{type:"aborted"};let q=nc(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 ke=P_(D,V,p,!0);if(!ke||se.map(He=>He.route.id).join("-")===ke.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?q:null};if(se=ke,Ve=se[se.length-1].route,Ve.path==="*")return{type:"success",matches:se}}})}function Le(I){f={},h=tf(I,s,void 0,f)}function Qe(I,V){let ae=h==null;IT(I,V,h||u,f,s),ae&&(u=[...u],Te({}))}return Q={get basename(){return p},get future(){return b},get state(){return N},get routes(){return u},get window(){return a},initialize:Tt,subscribe:Ze,enableScrollRestoration:ie,navigate:Lt,fetch:jr,revalidate:jt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:_a,deleteFetcher:st,dispose:wt,getBlocker:vr,deleteBlocker:Yr,patchRoutes:Qe,_internalFetchControllers:W,_internalActiveDeferreds:Pe,_internalSetRoutes:Le},Q}var OT=Symbol("deferred");function uW(r,a){Or(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let o={},l=(a?a.basename:null)||"/",s;if(a!=null&&a.mapRouteProperties)s=a.mapRouteProperties;else if(a!=null&&a.detectErrorBoundary){let w=a.detectErrorBoundary;s=k=>({hasErrorBoundary:w(k)})}else s=LT;let f=Ir({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),u=tf(r,s,void 0,o);function h(w,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=oc("",Cs(O),null,"default"),Q=nc(u,F,l);if(!n2(j)&&j!=="HEAD"){let te=Ca(405,{method:j}),{matches:_e,route:re}=B_(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Q){let te=Ca(404,{pathname:F.pathname}),{matches:_e,route:re}=B_(u);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let N=yield m(w,F,Q,L,Y||null,M===!0,null);return eu(N)?N:Ir({location:F,basename:l},N)})}function p(w,k){return na(this,null,function*(){let{routeId:L,requestContext:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=oc("",Cs(O),null,"default"),Q=nc(u,F,l);if(!n2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw Ca(405,{method:j});if(!Q)throw Ca(404,{pathname:F.pathname});let N=L?Q.find(be=>be.route.id===L):ef(Q,F);if(L&&!N)throw Ca(403,{pathname:F.pathname,routeId:L});if(!N)throw Ca(404,{pathname:F.pathname});let te=yield m(w,F,Q,M,Y||null,!1,N);if(eu(te))return te;let _e=te.errors?Object.values(te.errors)[0]:void 0;if(_e!==void 0)throw _e;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var re;let be=Object.values(te.loaderData)[0];return(re=te.activeDeferreds)!=null&&re[N.route.id]&&(be[OT]=te.activeDeferreds[N.route.id]),be}})}function m(w,k,L,M,Y,O,j){return na(this,null,function*(){Or(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(xl(w.method.toLowerCase()))return yield g(w,L,j||ef(L,k),M,Y,O,j!=null);let F=yield b(w,L,M,Y,O,j);return eu(F)?F:Ir({},F,{actionData:null,actionHeaders:{}})}catch(F){if(gW(F)&&eu(F.result)){if(F.type===Vr.error)throw F.result;return F.result}if(bW(F))return F;throw F}})}function g(w,k,L,M,Y,O,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let te=Ca(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:L.route.id});if(j)throw te;F={type:Vr.error,error:te}}else F=(yield S("action",w,[L],k,j,M,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 te=Ca(400,{type:"defer-action"});if(j)throw te;F={type:Vr.error,error:te}}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 Q=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(Mn(F)){let te=O?L:Zu(k,L.route.id),_e=yield b(Q,k,M,Y,O,null,[te.route.id,F]);return Ir({},_e,{statusCode:Md(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Ir({},F.headers?{[L.route.id]:F.headers}:{})})}let N=yield b(Q,k,M,Y,O,null);return Ir({},N,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(w,k,L,M,Y,O,j){return na(this,null,function*(){let F=O!=null;if(F&&!(O!=null&&O.route.loader)&&!(O!=null&&O.route.lazy))throw Ca(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:O==null?void 0:O.route.id});let N=(O?[O]:j&&Mn(j[1])?MT(k,j[0]):k).filter(ye=>ye.route.loader||ye.route.lazy);if(N.length===0)return{matches:k,loaderData:k.reduce((ye,ge)=>Object.assign(ye,{[ge.route.id]:null}),{}),errors:j&&Mn(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield S("loader",w,N,k,F,L,M);w.signal.aborted&&iT(w,F,f);let _e=new Map,re=HT(k,N,te,j,_e,Y),be=new Set(N.map(ye=>ye.route.id));return k.forEach(ye=>{be.has(ye.route.id)||(re.loaderData[ye.route.id]=null)}),Ir({},re,{matches:k,activeDeferreds:_e.size>0?Object.fromEntries(_e.entries()):null})})}function S(w,k,L,M,Y,O,j){return na(this,null,function*(){let F=yield BT(j||zT,w,k,L,M,o,s,O);return yield Promise.all(F.map((Q,N)=>{if(VT(Q)){let te=Q.result;throw jT(te,k,L[N].route.id,M,l,f.v7_relativeSplatPath)}if(eu(Q.result)&&Y)throw Q;return FT(Q)}))})}return{dataRoutes:u,query:h,queryRoute:p}}function fW(r,a,o){return Ir({},a,{statusCode:Md(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 l=a?"queryRoute":"query";throw new Error(l+"() call aborted: "+r.method+" "+r.url)}function dW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function t2(r,a,o,l,s,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(s||".",TT(p,f),$h(r.pathname,o)||r.pathname,h==="path");return s==null&&(g.search=r.search,g.hash=r.hash),(s==null||s===""||s===".")&&m&&m.route.index&&!l2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Nd([o,g.pathname])),Cs(g)}function lT(r,a,o,l){if(!l||!dW(l))return{path:o};if(l.formMethod&&!n2(l.formMethod))return{path:o,error:Ca(405,{method:l.formMethod})};let s=()=>({path:o,error:Ca(400,{type:"invalid-body"})}),f=l.formMethod||"get",u=r?f.toUpperCase():f.toLowerCase(),h=UT(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!xl(u))return s();let S=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[L,M]=k;return""+w+L+"="+M+`
|
|
146
|
+
`},""):String(l.body);return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:S}}}else if(l.formEncType==="application/json"){if(!xl(u))return s();try{let S=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:u,formAction:h,formEncType:l.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return s()}}}Or(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=r2(l.formData),m=l.formData;else if(l.body instanceof FormData)p=r2(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=dT(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=dT(p)}catch(S){return s()}let g={formMethod:u,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(xl(g.formMethod))return{path:o,submission:g};let b=Kl(o);return a&&b.search&&l2(b.search)&&p.append("index",""),b.search="?"+p,{path:Cs(b),submission:g}}function MT(r,a){let o=r;if(a){let l=r.findIndex(s=>s.route.id===a);l>=0&&(o=r.slice(0,l))}return o}function sT(r,a,o,l,s,f,u,h,p,m,g,b,S,w,k,L){let M=L?Mn(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),O=r.createURL(s),j=L&&Mn(L[1])?L[0]:void 0,F=j?MT(o,j):o,Q=L?L[1].statusCode:void 0,N=u&&Q&&Q>=400,te=F.filter((re,be)=>{let{route:ye}=re;if(ye.lazy)return!0;if(ye.loader==null)return!1;if(f)return typeof ye.loader!="function"||ye.loader.hydrate?!0:a.loaderData[ye.id]===void 0&&(!a.errors||a.errors[ye.id]===void 0);if(pW(a.loaderData,a.matches[be],re)||p.some(le=>le===re.route.id))return!0;let ge=a.matches[be],H=re;return cT(re,Ir({currentUrl:Y,currentParams:ge.params,nextUrl:O,nextParams:H.params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h||Y.pathname+Y.search===O.pathname+O.search||Y.search!==O.search||PT(ge,H)}))}),_e=[];return b.forEach((re,be)=>{if(f||!o.some(fe=>fe.route.id===re.routeId)||g.has(be))return;let ye=nc(w,re.path,k);if(!ye){_e.push({key:be,routeId:re.routeId,path:re.path,matches:null,match:null,controller:null});return}let ge=a.fetchers.get(be),H=ef(ye,re.path),le=!1;S.has(be)?le=!1:m.has(be)?(m.delete(be),le=!0):ge&&ge.state!=="idle"&&ge.data===void 0?le=h:le=cT(H,Ir({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:O,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h})),le&&_e.push({key:be,routeId:re.routeId,path:re.path,matches:ye,match:H,controller:new AbortController})}),[te,_e]}function pW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}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 hW(r,a,o,l,s,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,l,s,f)}}),u.set(p,m)),m&&_W(m)&&(yield m)}finally{u.delete(p)}})}function IT(r,a,o,l,s){if(r){var f;let u=l[r];Or(u,"No route found to patch children into: routeId = "+r);let h=tf(a,s,[r,"patch",String(((f=u.children)==null?void 0:f.length)||"0")],l);u.children?u.children.push(...h):u.children=h}else{let u=tf(a,s,["patch",String(o.length||"0")],l);o.push(...u)}}function uT(r,a,o){return na(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Or(s,"No route found in manifest");let f={};for(let u in l){let p=s[u]!==void 0&&u!=="hasErrorBoundary";ws(!p,'Route "'+s.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&&!OV.has(u)&&(f[u]=l[u])}Object.assign(s,f),Object.assign(s,Ir({},a(s),{lazy:void 0}))})}function zT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function BT(r,a,o,l,s,f,u,h){return na(this,null,function*(){let p=l.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,g=yield r({matches:s.map(b=>{let S=p.has(b.route.id);return Ir({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?mW(a,o,b,f,u,k,h):Promise.resolve({type:Vr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.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(s[S].route.id))})}function mW(r,a,o,l,s,f,u){return na(this,null,function*(){let h,p,m=g=>{let b,S=new Promise((L,M)=>b=M);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,s,l)]);if(b!==void 0)throw b;h=S}else if(yield uT(o.route,s,l),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 Ca(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 Ca(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 Od(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(a2(a)){var l;if(a.data instanceof Error){var s;return{type:Vr.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Od(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Md(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(a2(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,l,s,f){let u=r.headers.get("Location");if(Or(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!i2.test(u)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);u=t2(new URL(a.url),h,s,!0,u,f),r.headers.set("Location",u)}return r}function fT(r,a,o){if(i2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),f=$h(s.pathname,o)!=null;if(s.origin===a.origin&&f)return s.pathname+s.search+s.hash}return r}function Ad(r,a,o,l){let s=r.createURL(UT(a)).toString(),f={signal:o};if(l&&xl(l.formMethod)){let{formMethod:u,formEncType:h}=l;f.method=u.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(l.json)):h==="text/plain"?f.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?f.body=r2(l.formData):f.body=l.formData}return new Request(s,f)}function r2(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function dT(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function HT(r,a,o,l,s,f){let u={},h=null,p,m=!1,g={},b=l&&Mn(l[1])?l[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 M=Zu(r,k);h[M.route.id]==null&&(h[M.route.id]=L)}u[k]=void 0,m||(m=!0,p=Md(S.error)?S.error.status:500),S.headers&&(g[k]=S.headers)}else tu(S)?(s.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&&l&&(h={[l[0]]:b},u[l[0]]=void 0),{loaderData:u,errors:h,statusCode:p||200,loaderHeaders:g}}function pT(r,a,o,l,s,f,u,h){let{loaderData:p,errors:m}=HT(a,o,l,s,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=Ir({},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,l){let s=Ir({},a);for(let f of o){let u=f.route.id;if(a.hasOwnProperty(u)?a[u]!==void 0&&(s[u]=a[u]):r[u]!==void 0&&f.route.loader&&(s[u]=r[u]),l&&l.hasOwnProperty(u))break}return s}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(l=>l.route.id===a)+1):[...r]).reverse().find(l=>l.route.hasErrorBoundary===!0)||r[0]}function B_(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 Ca(r,a){let{pathname:o,routeId:l,method:s,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):s&&o&&l?p="You made a "+s+' request to "'+o+'" but '+('did not provide a `loader` for route "'+l+'", ')+"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 "'+l+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",s&&o&&l?p="You made a "+s.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+l+'", ')+"so there is no way to handle the request.":s&&(p='Invalid request method "'+s.toUpperCase()+'"')),new Od(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"?Kl(r):r;return Cs(Ir({},a,{hash:""}))}function vW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function _W(r){return typeof r=="object"&&r!=null&&"then"in r}function gW(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)&&lW.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 a2(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 bW(r){if(!eu(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function n2(r){return iW.has(r.toLowerCase())}function xl(r){return nW.has(r.toLowerCase())}function _T(r,a,o,l,s,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)&&(s||g)){let b=l[u];Or(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield qT(h,b,s).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(s){return{type:Vr.error,error:s}}return{type:Vr.data,data:r.deferredData.data}}})}function l2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function ef(r,a){let o=typeof a=="string"?Kl(a).search:a.search;if(r[r.length-1].route.index&&l2(o||""))return r[r.length-1];let l=kT(r);return l[l.length-1]}function gT(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:f,json:u}=r;if(!(!a||!o||!l)){if(s!=null)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(f!=null)return{formMethod:a,formAction:o,formEncType:l,formData:f,json:void 0,text:void 0};if(u!==void 0)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:u,text:void 0}}}function J0(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 yW(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 qh(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 SW(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 wW(r,a){try{let o=r.sessionStorage.getItem(NT);if(o){let l=JSON.parse(o);for(let[s,f]of Object.entries(l||{}))f&&Array.isArray(f)&&a.set(s,new Set(f||[]))}}catch(o){}}function CW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(NT,JSON.stringify(o))}catch(l){ws(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}lr.AbortedDeferredError=Yh;lr.Action=Ia;lr.IDLE_BLOCKER=Ld;lr.IDLE_FETCHER=AT;lr.IDLE_NAVIGATION=I_;lr.UNSAFE_DEFERRED_SYMBOL=OT;lr.UNSAFE_DeferredData=z_;lr.UNSAFE_ErrorResponseImpl=Od;lr.UNSAFE_convertRouteMatchToUiMatch=yT;lr.UNSAFE_convertRoutesToDataRoutes=tf;lr.UNSAFE_decodePath=CT;lr.UNSAFE_getResolveToMatches=TT;lr.UNSAFE_invariant=Or;lr.UNSAFE_warning=ws;lr.createBrowserHistory=AV;lr.createHashHistory=LV;lr.createMemoryHistory=DV;lr.createPath=Cs;lr.createRouter=cW;lr.createStaticHandler=uW;lr.defer=tW;lr.generatePath=qV;lr.getStaticContextFromError=fW;lr.getToPathname=GV;lr.isDataWithResponseInit=a2;lr.isDeferredData=WT;lr.isRouteErrorResponse=Md;lr.joinPaths=Nd;lr.json=QV;lr.matchPath=Z0;lr.matchRoutes=nc;lr.normalizePathname=RT;lr.parsePath=Kl;lr.redirect=o2;lr.redirectDocument=rW;lr.replace=aW;lr.resolvePath=xT;lr.resolveTo=ET;lr.stripBasename=$h;lr.unstable_data=JV});var $T=Ue((F_,YT)=>{(function(r,a){typeof F_=="object"&&typeof YT!="undefined"?a(F_,fr(),s2()):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))})(F_,function(r,a,o){"use strict";function l($){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 s=l(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=s.createContext(null);u.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let m=s.createContext(null);m.displayName="Navigation";let g=s.createContext(null);g.displayName="Location";let b=s.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";let S=s.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}=s.useContext(m),{hash:ie,pathname:oe,search:Oe}=be($,{relative:R}),Ie=oe;return z!=="/"&&(Ie=oe==="/"?z:o.joinPaths([z,oe])),G.createHref({pathname:Ie,search:Oe,hash:ie})}function k(){return s.useContext(g)!=null}function L(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(g).location}function M(){return s.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 s.useMemo(()=>o.matchPath($,o.UNSAFE_decodePath(P)),[P,$])}let O="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j($){s.useContext(m).static||s.useLayoutEffect($)}function F(){let{isDataRoute:$}=s.useContext(b);return $?ar():Q()}function Q(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let $=s.useContext(u),{basename:P,future:R,navigator:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:ie}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches(G,R.v7_relativeSplatPath)),Oe=s.useRef(!1);return j(()=>{Oe.current=!0}),s.useCallback(function(Me,We){if(We===void 0&&(We={}),o.UNSAFE_warning(Oe.current,O),!Oe.current)return;if(typeof Me=="number"){z.go(Me);return}let Le=o.resolveTo(Me,JSON.parse(oe),ie,We.relative==="path");$==null&&P!=="/"&&(Le.pathname=Le.pathname==="/"?P:o.joinPaths([P,Le.pathname])),(We.replace?z.replace:z.push)(Le,We.state,We)},[P,z,oe,ie,$])}let N=s.createContext(null);function te(){return s.useContext(N)}function _e($){let P=s.useContext(b).outlet;return P&&s.createElement(N.Provider,{value:$},P)}function re(){let{matches:$}=s.useContext(b),P=$[$.length-1];return P?P.params:{}}function be($,P){let{relative:R}=P===void 0?{}:P,{future:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:ie}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches(G,z.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo($,JSON.parse(oe),ie,R==="path"),[$,oe,ie,R])}function ye($,P){return ge($,P)}function ge($,P,R,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=s.useContext(m),{matches:ie}=s.useContext(b),oe=ie[ie.length-1],Oe=oe?oe.params:{},Ie=oe?oe.pathname:"/",Me=oe?oe.pathnameBase:"/",We=oe&&oe.route;{let Fe=We&&We.path||"";Er(Ie,!We||Fe.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Ie+'" (under <Route path="'+Fe+'">) 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="'+Fe+'"> to <Route ')+('path="'+(Fe==="/"?"*":Fe+"/*")+'">.'))}let Le=L(),Qe;if(P){var I;let Fe=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Fe.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 "'+Fe.pathname+'" was given in the `location` prop.')),Qe=Fe}else Qe=Le;let V=Qe.pathname||"/",ae=V;if(Me!=="/"){let Fe=Me.replace(/^\//,"").split("/");ae="/"+V.replace(/^\//,"").split("/").slice(Fe.length).join("/")}let se=o.matchRoutes($,{pathname:ae});o.UNSAFE_warning(We||se!=null,'No routes matched location "'+Qe.pathname+Qe.search+Qe.hash+'" '),o.UNSAFE_warning(se==null||se[se.length-1].route.element!==void 0||se[se.length-1].route.Component!==void 0||se[se.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Qe.pathname+Qe.search+Qe.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(se&&se.map(Fe=>Object.assign({},Fe,{params:Object.assign({},Oe,Fe.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathname).pathname:Fe.pathname]),pathnameBase:Fe.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathnameBase).pathname:Fe.pathnameBase])})),ie,R,z);return P&&Ve?s.createElement(g.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Qe),navigationType:o.Action.Pop}},Ve):Ve}function H(){let $=Te(),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},ie={padding:"2px 4px",backgroundColor:z},oe=null;return console.error("Error handled by React Router default ErrorBoundary:",$),oe=s.createElement(s.Fragment,null,s.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:ie},"ErrorBoundary")," or"," ",s.createElement("code",{style:ie},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},P),R?s.createElement("pre",{style:G},R):null,oe)}let le=s.createElement(H,null);class fe extends s.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?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=s.useContext(u);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),s.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 ie;if(!R)return null;if(R.errors)$=R.matches;else if((ie=z)!=null&&ie.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let oe=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let We=oe.findIndex(Le=>Le.route.id&&(Oe==null?void 0:Oe[Le.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(",")),oe=oe.slice(0,Math.min(oe.length,We+1))}let Ie=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let We=0;We<oe.length;We++){let Le=oe[We];if((Le.route.HydrateFallback||Le.route.hydrateFallbackElement)&&(Me=We),Le.route.id){let{loaderData:Qe,errors:I}=R,V=Le.route.loader&&Qe[Le.route.id]===void 0&&(!I||I[Le.route.id]===void 0);if(Le.route.lazy||V){Ie=!0,Me>=0?oe=oe.slice(0,Me+1):oe=[oe[0]];break}}}return oe.reduceRight((We,Le,Qe)=>{let I,V=!1,ae=null,se=null;R&&(I=Oe&&Le.route.id?Oe[Le.route.id]:void 0,ae=Le.route.errorElement||le,Ie&&(Me<0&&Qe===0?(Er("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,se=null):Me===Qe&&(V=!0,se=Le.route.hydrateFallbackElement||null)));let Ve=P.concat(oe.slice(0,Qe+1)),Fe=()=>{let D;return I?D=ae:V?D=se:Le.route.Component?D=s.createElement(Le.route.Component,null):Le.route.element?D=Le.route.element:D=We,s.createElement(B,{match:Le,routeContext:{outlet:We,matches:Ve,isDataRoute:R!=null},children:D})};return R&&(Le.route.ErrorBoundary||Le.route.errorElement||Qe===0)?s.createElement(fe,{location:R.location,revalidation:R.revalidation,component:ae,error:I,children:Fe(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Fe()},null)}var ne=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ne||{}),ee=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(ee||{});function de($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function xe($){let P=s.useContext(u);return P||o.UNSAFE_invariant(!1,de($)),P}function we($){let P=s.useContext(h);return P||o.UNSAFE_invariant(!1,de($)),P}function Ye($){let P=s.useContext(b);return P||o.UNSAFE_invariant(!1,de($)),P}function $e($){let P=Ye($),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 Pe(){return $e(ee.UseRouteId)}function et(){return we(ee.UseNavigation).navigation}function ut(){let $=xe(ne.UseRevalidator),P=we(ee.UseRevalidator);return s.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function lt(){let{matches:$,loaderData:P}=we(ee.UseMatches);return s.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function Tt(){let $=we(ee.UseLoaderData),P=$e(ee.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function wt($){return we(ee.UseRouteLoaderData).loaderData[$]}function Ze(){let $=we(ee.UseActionData),P=$e(ee.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function Te(){var $;let P=s.useContext(S),R=we(ee.UseRouteError),z=$e(ee.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function ht(){let $=s.useContext(p);return $==null?void 0:$._data}function Lt(){let $=s.useContext(p);return $==null?void 0:$._error}let jt=0;function Ut($){let{router:P,basename:R}=xe(ne.UseBlocker),z=we(ee.UseBlocker),[G,ie]=s.useState(""),oe=s.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Ie,nextLocation:Me,historyAction:We}=Oe;return $({currentLocation:f({},Ie,{pathname:o.stripBasename(Ie.pathname,R)||Ie.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:We})},[R,$]);return s.useEffect(()=>{let Oe=String(++jt);return ie(Oe),()=>P.deleteBlocker(Oe)},[P]),s.useEffect(()=>{G!==""&&P.getBlocker(G,oe)},[P,G,oe]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function ar(){let{router:$}=xe(ne.UseNavigateStable),P=$e(ee.UseNavigateStable),R=s.useRef(!1);return j(()=>{R.current=!0}),s.useCallback(function(G,ie){ie===void 0&&(ie={}),o.UNSAFE_warning(R.current,O),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},ie)))},[$,P])}let ur={};function Er($,P,R){!P&&!ur[$]&&(ur[$]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function qr($){let{fallbackElement:P,router:R,future:z}=$,[G,ie]=s.useState(R.state),{v7_startTransition:oe}=z||{},Oe=s.useCallback(Le=>{oe&&jr?jr(()=>ie(Le)):ie(Le)},[ie,oe]);s.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),s.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ie=s.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Le=>R.navigate(Le),push:(Le,Qe,I)=>R.navigate(Le,{state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Le,Qe,I)=>R.navigate(Le,{replace:!0,state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",We=s.useMemo(()=>({router:R,navigator:Ie,static:!1,basename:Me}),[R,Ie,Me]);return s.createElement(s.Fragment,null,s.createElement(u.Provider,{value:We},s.createElement(h.Provider,{value:G},s.createElement(mr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Ie,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?s.createElement(Cr,{routes:R.routes,future:R.future,state:G}):P))),null)}function Cr($){let{routes:P,future:R,state:z}=$;return ge(P,void 0,z,R)}function dr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:ie}=$,oe=s.useRef();oe.current==null&&(oe.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=oe.current,[Ie,Me]=s.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:We}=ie||{},Le=s.useCallback(Qe=>{We&&jr?jr(()=>Me(Qe)):Me(Qe)},[Me,We]);return s.useLayoutEffect(()=>Oe.listen(Le),[Oe,Le]),s.createElement(mr,{basename:P,children:R,location:Ie.location,navigationType:Ie.action,navigator:Oe,future:ie})}function gr($){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:ie,static:oe}=s.useContext(m);o.UNSAFE_warning(!oe,"<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}=s.useContext(b),{pathname:Ie}=L(),Me=F(),We=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,ie.v7_relativeSplatPath),Ie,G==="path"),Le=JSON.stringify(We);return s.useEffect(()=>Me(JSON.parse(Le),{replace:R,state:z,relative:G}),[Me,Le,G,R,z]),null}function pa($){return _e($.context)}function xr($){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 mr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:ie,static:oe=!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 Ie=P.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Ie,navigator:ie,static:oe,future:f({v7_relativeSplatPath:!1},Oe)}),[Ie,Oe,ie,oe]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:We="/",search:Le="",hash:Qe="",state:I=null,key:V="default"}=z,ae=s.useMemo(()=>{let se=o.stripBasename(We,Ie);return se==null?null:{location:{pathname:se,search:Le,hash:Qe,state:I,key:V},navigationType:G}},[Ie,We,Le,Qe,I,V,G]);return o.UNSAFE_warning(ae!=null,'<Router basename="'+Ie+'"> is not able to match the URL '+('"'+We+Le+Qe+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ae==null?null:s.createElement(m.Provider,{value:Me},s.createElement(g.Provider,{children:R,value:ae}))}function Mr($){let{children:P,location:R}=$;return ye(Vt(P),R)}function _a($){let{children:P,errorElement:R,resolve:z}=$;return s.createElement(bt,{resolve:z,errorElement:R},s.createElement($t,null,P))}var Be=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(Be||{});let st=new Promise(()=>{});class bt extends s.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,ie=Be.pending;if(!(z instanceof Promise))ie=Be.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){ie=Be.error;let oe=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>oe})}else z._tracked?(G=z,ie="_error"in G?Be.error:"_data"in G?Be.success:Be.pending):(ie=Be.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(oe=>Object.defineProperty(z,"_data",{get:()=>oe}),oe=>Object.defineProperty(z,"_error",{get:()=>oe})));if(ie===Be.error&&G._error instanceof o.AbortedDeferredError)throw st;if(ie===Be.error&&!R)throw G._error;if(ie===Be.error)return s.createElement(p.Provider,{value:G,children:R});if(ie===Be.success)return s.createElement(p.Provider,{value:G,children:P});throw G}}function $t($){let{children:P}=$,R=ht(),z=typeof P=="function"?P(R):P;return s.createElement(s.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let R=[];return s.Children.forEach($,(z,G)=>{if(!s.isValidElement(z))return;let ie=[...P,G];if(z.type===s.Fragment){R.push.apply(R,Vt(z.props.children,ie));return}z.type!==xr&&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 oe={id:z.props.id||ie.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&&(oe.children=Vt(z.props.children,ie)),R.push(oe)}),R}function Rr($){return W($)}function vr($){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:s.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:s.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:s.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:vr,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=_a,r.MemoryRouter=dr,r.Navigate=gr,r.Outlet=pa,r.Route=xr,r.Router=mr,r.RouterProvider=qr,r.Routes=Mr,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=vr,r.UNSAFE_useRouteId=Pe,r.UNSAFE_useRoutesImpl=ge,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Rr,r.useActionData=Ze,r.useAsyncError=Lt,r.useAsyncValue=ht,r.useBlocker=Ut,r.useHref=C,r.useInRouterContext=k,r.useLoaderData=Tt,r.useLocation=L,r.useMatch=Y,r.useMatches=lt,r.useNavigate=F,r.useNavigation=et,r.useNavigationType=M,r.useOutlet=_e,r.useOutletContext=te,r.useParams=re,r.useResolvedPath=be,r.useRevalidator=ut,r.useRouteError=Te,r.useRouteLoaderData=wt,r.useRoutes=ye,Object.defineProperty(r,"__esModule",{value:!0})})});var KT=Ue((aG,GT)=>{"use strict";GT.exports=$T()});var QT=Ue((F_,XT)=>{(function(r,a){typeof F_=="object"&&typeof XT!="undefined"?a(F_,fr(),$0(),KT(),l2()):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,l,s){"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 ie=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,ie.get?ie:{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 ie in G)Object.prototype.hasOwnProperty.call(G,ie)&&(R[ie]=G[ie])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},ie=Object.keys(R),oe,Oe;for(Oe=0;Oe<ie.length;Oe++)oe=ie[Oe],!(z.indexOf(oe)>=0)&&(G[oe]=R[oe]);return G}let g="get",b="application/x-www-form-urlencoded";function S(R){return R!=null&&typeof R.tagName=="string"}function C(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 M(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!M(R)}function O(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 ie=R[G];return z.concat(Array.isArray(ie)?ie.map(oe=>[G,oe]):[[G,ie]])},[]))}function j(R,z){let G=O(R);return z&&z.forEach((ie,oe)=>{G.has(oe)||z.getAll(oe).forEach(Oe=>{G.append(oe,Oe)})}),G}let F=null;function Q(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let N=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(R){return R!=null&&!N.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function _e(R,z){let G,ie,oe,Oe,Ie;if(k(R)){let Me=R.getAttribute("action");ie=Me?s.stripBasename(Me,z):null,G=R.getAttribute("method")||g,oe=te(R.getAttribute("enctype"))||b,Oe=new FormData(R)}else if(C(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(ie=We?s.stripBasename(We,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||g,oe=te(R.getAttribute("formenctype"))||te(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!Q()){let{name:Le,type:Qe,value:I}=R;if(Qe==="image"){let V=Le?Le+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Le&&Oe.append(Le,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=g,ie=null,oe=b,Ie=R}return Oe&&oe==="text/plain"&&(Ie=Oe,Oe=void 0),{action:ie,method:G.toLowerCase(),encType:oe,formData:Oe,body:Ie}}let re=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],be=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ye=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],ge="6";try{window.__reactRouterVersion=ge}catch(R){}function H(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.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 s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.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 fe(){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[ie,oe]of z)if(oe&&oe.__type==="RouteErrorResponse")G[ie]=new s.UNSAFE_ErrorResponseImpl(oe.status,oe.statusText,oe.data,oe.internal===!0);else if(oe&&oe.__type==="Error"){if(oe.__subType){let Oe=window[oe.__subType];if(typeof Oe=="function")try{let Ie=new Oe(oe.message);Ie.stack="",G[ie]=Ie}catch(Ie){}}if(G[ie]==null){let Oe=new Error(oe.message);Oe.stack="",G[ie]=Oe}}else G[ie]=oe;return G}let W=u.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ne=u.createContext(new Map);ne.displayName="Fetchers";let de=u["startTransition"],we=h["flushSync"],$e=u["useId"];function Pe(R){de?de(R):R()}function et(R){we?we(R):R()}class ut{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=ie=>{this.status==="pending"&&(this.status="resolved",z(ie))},this.reject=ie=>{this.status==="pending"&&(this.status="rejected",G(ie))}})}}function lt(R){let{fallbackElement:z,router:G,future:ie}=R,[oe,Oe]=u.useState(G.state),[Ie,Me]=u.useState(),[We,Le]=u.useState({isTransitioning:!1}),[Qe,I]=u.useState(),[V,ae]=u.useState(),[se,Ve]=u.useState(),Fe=u.useRef(new Map),{v7_startTransition:D}=ie||{},q=u.useCallback(Ke=>{D?Pe(Ke):Ke()},[D]),pe=u.useCallback((Ke,Ct)=>{let{deletedFetchers:kt,unstable_flushSync:Wt,unstable_viewTransitionOpts:$r}=Ct;kt.forEach(ia=>Fe.current.delete(ia)),Ke.fetchers.forEach((ia,la)=>{ia.data!==void 0&&Fe.current.set(la,ia.data)});let Ha=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!$r||Ha){Wt?et(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Wt){et(()=>{V&&(Qe&&Qe.resolve(),V.skipTransition()),Le({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let ia=G.window.document.startViewTransition(()=>{et(()=>Oe(Ke))});ia.finished.finally(()=>{et(()=>{I(void 0),ae(void 0),Me(void 0),Le({isTransitioning:!1})})}),et(()=>ae(ia));return}V?(Qe&&Qe.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Me(Ke),Le({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[G.window,V,Qe,Fe,q]);u.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),u.useEffect(()=>{We.isTransitioning&&!We.flushSync&&I(new ut)},[We]),u.useEffect(()=>{if(Qe&&Ie&&G.window){let Ke=Ie,Ct=Qe.promise,kt=G.window.document.startViewTransition(()=>na(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));kt.finished.finally(()=>{I(void 0),ae(void 0),Me(void 0),Le({isTransitioning:!1})}),ae(kt)}},[q,Ie,Qe,G.window]),u.useEffect(()=>{Qe&&Ie&&oe.location.key===Ie.location.key&&Qe.resolve()},[Qe,V,oe.location,Ie]),u.useEffect(()=>{!We.isTransitioning&&se&&(Me(se.state),Le({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}),Ve(void 0))},[We.isTransitioning,se]),u.useEffect(()=>{s.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=u.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,kt)=>G.navigate(Ke,{state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset}),replace:(Ke,Ct,kt)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset})}),[G]),He=G.basename||"/",ft=u.useMemo(()=>({router:G,navigator:ke,static:!1,basename:He}),[G,ke,He]),Je=u.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},u.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:oe},u.createElement(ne.Provider,{value:Fe.current},u.createElement(W.Provider,{value:We},u.createElement(l.Router,{basename:He,location:oe.location,navigationType:oe.historyAction,navigator:ke,future:Je},oe.initialized||G.future.v7_partialHydration?u.createElement(Tt,{routes:G.routes,future:G.future,state:oe}):z))))),null)}let Tt=u.memo(wt);function wt(R){let{routes:z,future:G,state:ie}=R;return l.UNSAFE_useRoutesImpl(z,void 0,ie,G)}function Ze(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createBrowserHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=u.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Le}=ie||{},Qe=u.useCallback(I=>{Le&&de?de(()=>We(I)):We(I)},[We,Le]);return u.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function Te(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createHashHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=u.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Le}=ie||{},Qe=u.useCallback(I=>{Le&&de?de(()=>We(I)):We(I)},[We,Le]);return u.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function ht(R){let{basename:z,children:G,future:ie,history:oe}=R,[Oe,Ie]=u.useState({action:oe.action,location:oe.location}),{v7_startTransition:Me}=ie||{},We=u.useCallback(Le=>{Me&&de?de(()=>Ie(Le)):Ie(Le)},[Ie,Me]);return u.useLayoutEffect(()=>oe.listen(We),[oe,We]),u.createElement(l.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:oe,future:ie})}ht.displayName="unstable_HistoryRouter";let Lt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",jt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ut=u.forwardRef(function(z,G){let{onClick:ie,relative:oe,reloadDocument:Oe,replace:Ie,state:Me,target:We,to:Le,preventScrollReset:Qe,unstable_viewTransition:I}=z,V=m(z,re),{basename:ae}=u.useContext(l.UNSAFE_NavigationContext),se,Ve=!1;if(typeof Le=="string"&&jt.test(Le)&&(se=Le,Lt))try{let pe=new URL(window.location.href),ke=Le.startsWith("//")?new URL(pe.protocol+Le):new URL(Le),He=s.stripBasename(ke.pathname,ae);ke.origin===pe.origin&&He!=null?Le=He+ke.search+ke.hash:Ve=!0}catch(pe){s.UNSAFE_warning(!1,'<Link to="'+Le+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Fe=l.useHref(Le,{relative:oe}),D=gr(Le,{replace:Ie,state:Me,target:We,preventScrollReset:Qe,relative:oe,unstable_viewTransition:I});function q(pe){ie&&ie(pe),pe.defaultPrevented||D(pe)}return u.createElement("a",p({},V,{href:se||Fe,onClick:Ve||Oe?ie:q,ref:G,target:We}))});Ut.displayName="Link";let ar=u.forwardRef(function(z,G){let{"aria-current":ie="page",caseSensitive:oe=!1,className:Oe="",end:Ie=!1,style:Me,to:We,unstable_viewTransition:Le,children:Qe}=z,I=m(z,be),V=l.useResolvedPath(We,{relative:I.relative}),ae=l.useLocation(),se=u.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Fe}=u.useContext(l.UNSAFE_NavigationContext),D=se!=null&&P(V)&&Le===!0,q=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=ae.pathname,ke=se&&se.navigation&&se.navigation.location?se.navigation.location.pathname:null;oe||(pe=pe.toLowerCase(),ke=ke?ke.toLowerCase():null,q=q.toLowerCase()),ke&&Fe&&(ke=s.stripBasename(ke,Fe)||ke);let He=q!=="/"&&q.endsWith("/")?q.length-1:q.length,ft=pe===q||!Ie&&pe.startsWith(q)&&pe.charAt(He)==="/",Je=ke!=null&&(ke===q||!Ie&&ke.startsWith(q)&&ke.charAt(q.length)==="/"),Ke={isActive:ft,isPending:Je,isTransitioning:D},Ct=ft?ie:void 0,kt;typeof Oe=="function"?kt=Oe(Ke):kt=[Oe,ft?"active":null,Je?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Ke):Me;return u.createElement(Ut,p({},I,{"aria-current":Ct,className:kt,ref:G,style:Wt,to:We,unstable_viewTransition:Le}),typeof Qe=="function"?Qe(Ke):Qe)});ar.displayName="NavLink";let ur=u.forwardRef((R,z)=>{let{fetcherKey:G,navigate:ie,reloadDocument:oe,replace:Oe,state:Ie,method:Me=g,action:We,onSubmit:Le,relative:Qe,preventScrollReset:I,unstable_viewTransition:V}=R,ae=m(R,ye),se=_a(),Ve=Be(We,{relative:Qe}),Fe=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Le&&Le(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,ke=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;se(pe||q.currentTarget,{fetcherKey:G,method:ke,navigate:ie,replace:Oe,state:Ie,relative:Qe,preventScrollReset:I,unstable_viewTransition:V})};return u.createElement("form",p({ref:z,method:Fe,action:Ve,onSubmit:oe?Le:D},ae))});ur.displayName="Form";function Er(R){let{getKey:z,storageKey:G}=R;return Rr({getKey:z,storageKey:G}),null}Er.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 Cr(R){let z=u.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function dr(R){let z=u.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function gr(R,z){let{target:G,replace:ie,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me}=z===void 0?{}:z,We=l.useNavigate(),Le=l.useLocation(),Qe=l.useResolvedPath(R,{relative:Ie});return u.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=ie!==void 0?ie:l.createPath(Le)===l.createPath(Qe);We(R,{replace:V,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me})}},[Le,We,Qe,ie,oe,G,R,Oe,Ie,Me])}function pa(R){s.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(O(R)),G=u.useRef(!1),ie=l.useLocation(),oe=u.useMemo(()=>j(ie.search,G.current?null:z.current),[ie.search]),Oe=l.useNavigate(),Ie=u.useCallback((Me,We)=>{let Le=O(typeof Me=="function"?Me(oe):Me);G.current=!0,Oe("?"+Le,We)},[Oe,oe]);return[oe,Ie]}function xr(){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 mr=0,Mr=()=>"__"+String(++mr)+"__";function _a(){let{router:R}=Cr(ra.UseSubmit),{basename:z}=u.useContext(l.UNSAFE_NavigationContext),G=l.UNSAFE_useRouteId();return u.useCallback(function(ie,oe){oe===void 0&&(oe={}),xr();let{action:Oe,method:Ie,encType:Me,formData:We,body:Le}=_e(ie,z);if(oe.navigate===!1){let Qe=oe.fetcherKey||Mr();R.fetch(Qe,G,oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Le,formMethod:oe.method||Ie,formEncType:oe.encType||Me,unstable_flushSync:oe.unstable_flushSync})}else R.navigate(oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Le,formMethod:oe.method||Ie,formEncType:oe.encType||Me,replace:oe.replace,state:oe.state,fromRouteId:G,unstable_flushSync:oe.unstable_flushSync,unstable_viewTransition:oe.unstable_viewTransition})},[R,z,G])}function Be(R,z){let{relative:G}=z===void 0?{}:z,{basename:ie}=u.useContext(l.UNSAFE_NavigationContext),oe=u.useContext(l.UNSAFE_RouteContext);oe||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=oe.matches.slice(-1),Ie=p({},l.useResolvedPath(R||".",{relative:G})),Me=l.useLocation();if(R==null){Ie.search=Me.search;let We=new URLSearchParams(Ie.search);We.has("index")&&We.get("index")===""&&(We.delete("index"),Ie.search=We.toString()?"?"+We.toString():"")}return(!R||R===".")&&Oe.route.index&&(Ie.search=Ie.search?Ie.search.replace(/^\?/,"?index&"):"?index"),ie!=="/"&&(Ie.pathname=Ie.pathname==="/"?ie:s.joinPaths([ie,Ie.pathname])),l.createPath(Ie)}function st(R){var z;let{key:G}=R===void 0?{}:R,{router:ie}=Cr(ra.UseFetcher),oe=dr(jr.UseFetcher),Oe=u.useContext(ne),Ie=u.useContext(l.UNSAFE_RouteContext),Me=(z=Ie.matches[Ie.matches.length-1])==null?void 0:z.route.id;Oe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Ie||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let We=$e?$e():"",[Le,Qe]=u.useState(G||We);G&&G!==Le?Qe(G):Le||Qe(Mr()),u.useEffect(()=>(ie.getFetcher(Le),()=>{ie.deleteFetcher(Le)}),[ie,Le]);let I=u.useCallback((q,pe)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),ie.fetch(Le,Me,q,pe)},[Le,Me,ie]),V=_a(),ae=u.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Le}))},[Le,V]),se=u.useMemo(()=>{let q=u.forwardRef((pe,ke)=>u.createElement(ur,p({},pe,{navigate:!1,fetcherKey:Le,ref:ke})));return q.displayName="fetcher.Form",q},[Le]),Ve=oe.fetchers.get(Le)||s.IDLE_FETCHER,Fe=Oe.get(Le);return u.useMemo(()=>p({Form:se,submit:ae,load:I},Ve,{data:Fe}),[se,ae,I,Ve,Fe])}function bt(){let R=dr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,ie]=z;return p({},ie,{key:G})})}let $t="react-router-scroll-positions",Vt={};function Rr(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:ie}=Cr(ra.UseScrollRestoration),{restoreScrollPosition:oe,preventScrollReset:Oe}=dr(jr.UseScrollRestoration),{basename:Ie}=u.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),We=l.useMatches(),Le=l.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(u.useCallback(()=>{if(Le.state==="idle"){let Qe=(z?z(Me,We):null)||Me.key;Vt[Qe]=window.scrollY}try{sessionStorage.setItem(G||$t,JSON.stringify(Vt))}catch(Qe){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Qe+").")}window.history.scrollRestoration="auto"},[G,z,Le.state,Me,We])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let Qe=sessionStorage.getItem(G||$t);Qe&&(Vt=JSON.parse(Qe))}catch(Qe){}},[G]),u.useLayoutEffect(()=>{let Qe=z&&Ie!=="/"?(V,ae)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Ie)||V.pathname}),ae):z,I=ie==null?void 0:ie.enableScrollRestoration(Vt,()=>window.scrollY,Qe);return()=>I&&I()},[ie,Ie,z]),u.useLayoutEffect(()=>{if(oe!==!1){if(typeof oe=="number"){window.scrollTo(0,oe);return}if(Me.hash){let Qe=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Qe){Qe.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,oe,Oe]))}function vr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,ie),()=>{window.removeEventListener("beforeunload",R,ie)}},[R,G])}function Yr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,ie),()=>{window.removeEventListener("pagehide",R,ie)}},[R,G])}function $(R){let{when:z,message:G}=R,ie=l.useBlocker(z);u.useEffect(()=>{ie.state==="blocked"&&(window.confirm(G)?setTimeout(ie.proceed,0):ie.reset())},[ie,G]),u.useEffect(()=>{ie.state==="blocked"&&!z&&ie.reset()},[ie,z])}function P(R,z){z===void 0&&(z={});let G=u.useContext(W);G==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:ie}=Cr(ra.useViewTransitionState),oe=l.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=s.stripBasename(G.currentLocation.pathname,ie)||G.currentLocation.pathname,Ie=s.stripBasename(G.nextLocation.pathname,ie)||G.nextLocation.pathname;return s.matchPath(oe.pathname,Ie)!=null||s.matchPath(oe.pathname,Oe)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return l.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return l.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return l.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return l.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return l.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return l.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return l.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return l.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return l.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return l.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return l.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return l.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return l.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return l.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return l.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return l.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return l.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return l.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return l.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return l.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return l.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return l.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return l.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return l.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return l.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return l.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return l.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return l.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return l.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return l.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return l.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return l.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return l.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return l.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return l.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return l.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return l.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return l.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return l.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return l.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return l.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return l.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return l.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return l.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return l.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return l.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return l.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return l.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return l.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return l.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return s.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=Ze,r.Form=ur,r.HashRouter=Te,r.Link=Ut,r.NavLink=ar,r.RouterProvider=lt,r.ScrollRestoration=Er,r.UNSAFE_FetchersContext=ne,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=Rr,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=O,r.unstable_HistoryRouter=ht,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=vr,r.useFetcher=st,r.useFetchers=bt,r.useFormAction=Be,r.useLinkClickHandler=gr,r.useSearchParams=pa,r.useSubmit=_a,Object.defineProperty(r,"__esModule",{value:!0})})});var ZT=Ue((oG,JT)=>{"use strict";JT.exports=QT()});var nr=Ue((iG,o5)=>{"use strict";var U_=Object.defineProperty,xW=Object.defineProperties,kW=Object.getOwnPropertyDescriptor,TW=Object.getOwnPropertyDescriptors,EW=Object.getOwnPropertyNames,H_=Object.getOwnPropertySymbols,c2=Object.prototype.hasOwnProperty,t5=Object.prototype.propertyIsEnumerable,s2=(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={}))c2.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)=>xW(r,TW(a)),RW=(r,a)=>{var o={};for(var l in r)c2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&H_)for(var l of H_(r))a.indexOf(l)<0&&t5.call(r,l)&&(o[l]=r[l]);return o},DW=(r,a)=>{for(var o in a)U_(r,o,{get:a[o],enumerable:!0})},AW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of EW(a))!c2.call(r,s)&&s!==o&&U_(r,s,{get:()=>a[s],enumerable:!(l=kW(a,s))||l.enumerable});return r},LW=r=>AW(U_({},"__esModule",{value:!0}),r),Wa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(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},NW=(r,a,o)=>{var l=(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(C=>b?l(u==="return"?u:"next",h[1]?{done:C.done,value:C.value}:C,p,m):p({value:C,done:S})).catch(C=>l("throw",C,p,m))}catch(C){m(C)}},s=u=>f[u]=h=>new Promise((p,m)=>l(u,h,p,m)),f={};return o=o.apply(r,a),f[s2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},OW=(r,a,o)=>(a=r[s2("asyncIterator")])?a.call(r):(r=r[s2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=f=>new Promise((u,h,p)=>(f=s.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>u({value:m,done:p}),h)))),o("next"),o("return"),a),n5={};DW(n5,{Fetcher:()=>Zr,Filer:()=>Sn,Server:()=>f2,Time:()=>Dr,UUID:()=>tf,default:()=>YW,useStore:()=>V_});o5.exports=LW(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 l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(f){return!1}return s},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(/+/,"+")});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),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/j_(1e3,l)*a)/a+("KMGTPEZY"[l-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),l=a.slice(4,6),s=a.slice(6,8),f=[];return o.length!=4||f.push(o),l.length!=2||f.push(l),s.length!=2||f.push(s),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let f of o){if(!f)break;s=(l=(s||{})[f||""])!=null?l:null}return s};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,l)=>{for(let s of a){let f=String(s||""),u=this.every(m=>{let g=Number(r(m,f.split(".")));return typeof g=="number"&&!isNaN(g)}),h=r(o,f.split(".")),p=r(l,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 l=new FileReader;l.onload=f=>a(f),l.onerror=f=>o(f);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var MW=(r=24)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35,s=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)][s?"toUpper":"toLower"]()}).join(""),tf=MW;tf.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");tf.gen32Hex=(r="Formatted",a="-")=>{let o=Array.from({length:32}).map((l,s)=>"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};tf.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 PW=r=>new Se.prototype.jmini(r),Se=PW;Se.prototype={};Se.extend=function(r,a=Se){for(var[o,l]of Object.entries(r))a.prototype[o]=l};Se.expando="__jmini_"+tf();var Va=(r,a)=>(r.queue.push(a),u2(r),r),u2=r=>Wa(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,u2(r)}}),au=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,l]of Object.entries(a))o.match(/queue/)||(r[o]=l);return r},IW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[Se.expando]||(Se.is.element(l)||Se.is.shadowRoot(l))&&(l[Se.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,u2(r),r};Se.extend({constructor:Se,jmini:function(r){return this.src=r,this.srcType=Se.is.what(r),this.queueProcess=!0,this.queue=[],IW(this,Se.is.jmini(r)?r.get():Se.is.element(r)?[r]:Se.is.elements(r)?r:Se.is.shadowRoot(r)?[r]:Se.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});Se.prototype[String(Symbol.iterator)]=[][Symbol.iterator];Se.prototype.jmini.prototype=Se.prototype;{let r=function(s,f,u){let h=[];for(let p=0;p<(s.length||0);p++)h.push(f(s[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((f,u)=>{if(!(Se.is.element(f)||Se.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[u]=h}),s),o=(s,f)=>(Se(f).for(u=>{if(s&&(Se.is.element(u)||Se.is.shadowRoot(u)))if(Se.is.string(s)||Se.is.number(s))s=String(s),u.insertAdjacentHTML("beforeend",String(s));else if(Se.is.element(s))u.appendChild(s);else{Se.is.jmini(s)?s=s.get():Se.is.element(s)?s=[s]:Se.is.keyValueDictionary(s)&&(s=[Se(s)]);for(var h=0;h<s.length;h++)o(s[h],u)}}),f),l=(s,f,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return s.for(m=>{if(Se.is.string(u[0]))m.insertAdjacentHTML(h,u[0]);else{if(!m.parentNode)return;Se(u[0]).for(g=>{u[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),s};Se.extend({get:function(s){return s?this[0]:r(this,f=>f)},for:function(s,f=1){let u=r(this,(h,p)=>s(h,p),1);return f?u:[]},await:function(s){return Va(this,()=>new Promise((f,u)=>{setTimeout(()=>{f(this)},s)}))},abort:function(){return Va(this,()=>Wa(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Va(this,()=>Wa(this,null,function*(){return yield s(this),this}))},click:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];Se.is.element(f)&&f.click()}return this})},focus:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];Se.is.element(f)&&f.focus()}return this})},addEvent:function(s){return Va(this,()=>{let{eventType:f,eventID:u=tf(),target:h,callback:p,options:m}=s;return m=nu({passive:!0,capture:!1},m),this.for(g=>{if(!(Se.is.element(g)||Se.is.shadowRoot(g)))return;let{events:b}=g[Se.expando];if(h){let S=p;p=C=>{if(C.target){if(Se.is.string(h)){let k=C.target.closest(h);k&&(!k||S.call(k,C))}else if(Se.is.elements(h)){for(let k of h)if(C.target==k)return S.call(k,C)}}}}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(s){return Va(this,()=>{let f=Se.is.array(s)?s:[s];return this.for(u=>{let{events:h}=u[Se.expando];for(let p of f){let m=h[p];m&&u.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(s){return Va(this,()=>au(this,o(s,a(this))))},empty:function(){return Va(this,()=>au(this,a(this)))},append:function(s){return Va(this,()=>{o(s,this)})},remove:function(){return Va(this,()=>(this.for((s,f)=>{s&&Se.is.element(s)&&(s.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Va(this,()=>au(this,l(this,"before",...s)))},after:function(...s){return Va(this,()=>au(this,l(this,"after",...s)))},find:function(s){return Va(this,()=>{let f=[],u=this[0];u||au(this,Se()),(Se.is.element(u)||Se.is.shadowRoot(u))&&(Se.is.string(s)?f=u.querySelectorAll(s):Se.is.element(u)&&Se(s).for(h=>{let p=u.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...Se(m).find(h).for(g=>g)])})),au(this,Se(f))})},parent:function(s){return Va(this,()=>{var f,u;let h=Se(s?(f=this[0])==null?void 0:f.closest(s):(u=this[0])==null?void 0:u.parentNode);au(this,h)})},children:function(s){return Va(this,()=>{let f=this[0].children;Se.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let u=Se(f);return au(this,u)})},addClass:function(s){return Va(this,()=>(s&&this.for(f=>{let u=Se.is.string(s)?s.split(" "):s;f&&Se.is.element(f)&&f.classList.add(...u)}),this))},removeClass:function(s){return Va(this,()=>(s&&this.for(f=>{let u=Se.is.string(s)?s.split(" "):s;f&&Se.is.element(f)&&f.classList.remove(...u)}),this))},toggleClass:function(s){return Va(this,()=>(s&&this.for(f=>{f.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let f=[];return this[0]&&(f=[...this[0].classList].filter(u=>u.match(s))),f},css:function(s){return Va(this,()=>(this.for(f=>{if(Se.is.element(f))for(let[u,h]of Object.entries(s)){if(Se.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(s){return this[0].getAttribute(String(s))},setAttribute:function(s,f){return Va(this,()=>(this.for(u=>u.setAttribute(s,f)),this))},getStyleProperty:function(s){let f=this[0];return f&&Se.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let u=this[0];return u&&Se.is.element(u)&&u.style.setProperty(s,f),this},val:function(){var s;let f=this[0];return(f==null?void 0:f.value)||((s=f==null?void 0:f.dataset)==null?void 0:s.value)},position:function(){return Se.is.element(this[0])?this[0].getBoundingClientRect():{}}})}Se.flatArray=(r,a)=>{if(!Se.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?Se.flatArray(l,"-R"):[l]);return o};Se.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(l=>[Se.getKeyValue(l,a||"0"),l])).values()):o=Array.from(new Set(r)),o};Se.getKeyValue=(r,a)=>{let o={},l=r;return a.split(".").forEach(s=>{l=l==null?void 0:l[s],o=l}),o};Se.Stringify=JSON.stringify;Se.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};Se.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let l=[],s=r;for(;s<=a;){if(o&&o.length&&o.includes(s)){s++;continue}l.push(s),s++}let f=Math.round(Math.random()*(l.length-1))+0;return l[f]};Se.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};Se.trySync=r=>Wa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});Se.scope=r=>r();Se.scopeSync=r=>Wa(void 0,null,function*(){return yield r()});Se.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:f,attr:u,style:h,parent:p}=r,m=document.createElement(o||"div");if(l&&m.classList.add(...l.split(" ")),s&&(m.id=s),u)for(let S of Object.entries(u)){let C=S[0],k=(a=S[1])!=null?a:"";if(C=="data"&&Se.is.keyValueDictionary(k))for(let[L,M]of Object.entries(k))m.dataset[L]=M;else C=="for"?C="htmlFor":C=="tabindex"?C="tabIndex":C=="aria-label"&&(C="ariaLabel"),m[C]=k}if(f&&Se(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&Se(p).append(m),m};Se.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:f="/",domain:u=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${f}domain=${u}`;h&&(p+=" Secure"),document.cookie=p};Se.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};Se.localStrage={set:(r,a)=>{localStorage.setItem(r,Se.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return Se.Objectify(a,a)}};Se.deleteCookie=r=>{document.cookie=r+"=max-age=0"};Se.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,u=Number(Se(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Se(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-u-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f,safeAreaTop:u,safeAreaBottom:h}};Se.getCursor=r=>{var a,o,l,s,f,u,h,p;let m=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((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}};Se.pending=(r,a)=>new Promise((o,l)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});Se.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(Se.is.keyValueDictionary(r)&&Se.is.keyValueDictionary(o))for(let l in o)Se.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),Se.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return Se.deepMerge(r,...a)};Se.deepCopy=r=>{if(Se.is.array(r))return r.map(a=>Se.deepCopy(a));if(Se.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,l])=>{a[o]=Se.deepCopy(l)}),a}return r};Se.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((l,s)=>o[s]=l),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{o.searchParams.set(l,String(s))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(l=>{o.searchParams.delete(l)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};Se.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};Se.is={equal:function(r,a,o){return o==null||o?Se.Stringify(r)===Se.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===Se},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 l of r)o&=Number(this.element(l));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var zW=r=>new Dr.prototype.Time(r),Dr=zW;Dr.prototype={};var BW=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)};Se.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:BW,clone:function(){return Dr(this)},set:function(r){this.value=r;let a=Se.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),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(f/7)}{let o=new Date(this.year,this.month-1,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24)),u=Math.ceil(f/7);this.weekInMonth=u}{let o=new Date(this.year,this.month,0),l=o.getDay(),s=new Date(new Date(o).setDate(o.getDate()-l));this.isLastWeekInMonth=this.date>=s.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%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\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:Se.scope(()=>{let a=864e5,o=this.clone().setFirstOfTheDay(),l=r.clone().setFirstOfTheDay();return Math.floor((o.ms-l.ms)/a)}),hours:Se.scope(()=>{let a=36e5,o=this.clone().setMinutes(0).setSeconds(0).setMilliseconds(0),l=r.clone().setMinutes(0).setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),minutes:Se.scope(()=>{let a=6e4,o=this.clone().setSeconds(0).setMilliseconds(0),l=r.clone().setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),seconds:Se.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="",l="";return r.year==a.year&&r.year==Dr().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?l=a.toFormatYMD():l=a.toFormatMD(),[o,l]};Dr.getPeriodArray=(r,a,o)=>{let l=[],s=a;if(!a.validate||!o.validate)return l;for(;s.toFormatYMDHMS().toNumber()<=o.toFormatYMDHMS().toNumber();)l.push(s),r=="year"?s=Dr(s).addYear(1):r=="month"?s=Dr(s).addMonth(1):r=="week"?s=Dr(s).addWeek(1):r=="day"?s=Dr(s).addDate(1):r=="hours"?s=Dr(s).addHours(1):r=="minutes"?s=Dr(s).addMinutes(1):r=="seconds"&&(s=Dr(s).addSeconds(1));return l};Dr.prototype.Time.prototype=Dr.prototype;var ic={},V_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=ic[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),ic[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let u=ic[l]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),ic[l]=r5(nu({},ic[l]),{value:nu(nu({},(f=ic[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=ic[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=ic[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete ic[r],!0)}},FW=(...[r,a,o])=>new Co.prototype.Interval(r,a,o),Co=FW;Co.prototype={};var jW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,Co.abort(this.key),this.store(),this};Se.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:jW,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 Co.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}},Co);Co.abort=r=>{if(Se.is.number(r))return clearInterval(r);let a=V_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};Co.get=r=>V_.get("Interval_"+r);Co.once=(r,a,o)=>Co(r,a,o).once();Co.start=(r,a,o)=>Co(r,a,o).start();Co.prototype.Interval.prototype=Co.prototype;var HW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=HW;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)=>Wa(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 l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield o.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var UW=function(r,a){var o;a=a||{};let l=a.body;a.body&&!Se.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=Se.Stringify(a.body||{}));let s=r;return Se.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=r5(nu({key:tf(),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:l}),this};Se.extend({Fetcher:UW,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 Wa(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:f}=r,u=a.body,h=this,p=function(){return NW(this,null,function*(){if(!a.ok){Se.scope(()=>Wa(this,null,function*(){let{ok:k,done:L,data:M}=yield Zr.streamToContext(u,{reader:s,decoder:f});k&&o(M)}));return}let C=!1;for(;!C;){let{ok:k,done:L,data:M}=yield new a5(Zr.streamToContext(u,{reader:s,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),L=!0):h.streamStatus=="closed"&&(L=!0),L&&(C=L,s.releaseLock()),l(M,L)}})};try{for(var m=OW(p()),g,b,S;g=!(b=yield m.next()).done;g=!1){let C=b.value}}catch(C){S=[C]}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 Wa(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,f=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.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:C,response_format:k,trafficControl:L,preventMultiRequest:M,timeout:Y,queries:O}=S,j=RW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(C);if(M&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,C];let Q=Se.queryParams.set(nu({},O),String(this.url));m=yield fetch(Q,j).then(N=>Wa(this,null,function*(){return u=N.ok,h=N.status,p=N.statusText,g=N,k=="none"||k=="stream"?N:N[k]()})).catch(N=>{throw new Error(N)})}catch(S){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield Se.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:l,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 VW=r=>new Sn.prototype.Filer(r),Sn=VW;Sn.prototype={};var WW=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};Se.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:WW,isValid:function(){return this.ok},toBlob:function(){return Wa(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Wa(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}},Sn);Sn.fromFile=r=>Wa(void 0,null,function*(){return Sn(r)});Sn.fromBlob=(r,a)=>Wa(void 0,null,function*(){let o=(a==null?void 0:a.fileName)||"file",l=(a==null?void 0:a.extension)||"",s=new File([r],o+"."+l,{type:a==null?void 0:a.mimeType});return Sn(s)});Sn.fromArrayBuffer=(r,a)=>Wa(void 0,null,function*(){return Sn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});Sn.fromObjectURL=(r,a)=>Wa(void 0,null,function*(){let o=yield Zr(r,{response_format:"blob"}).get();return o.ok?Sn.fromBlob(o.body,a):Sn({})});Sn.fromDataURL=(r,a)=>Wa(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?Sn.fromBlob(o,a):Sn({})});Sn.prototype.Filer.prototype=Sn.prototype;var qW=function(r){let a=r,o=null;return a.use((l,s,f)=>{let u=s;u.return=h=>{let{status:p=200,body:m={},bodyStringify:g=!0}=h||{},b=m;return g&&!Se.is.string(m)&&(b=Se.Stringify(m)),s.status(p).end(b)},f()}),a.onPathRouter=function(l){return o=l,this},a.pathRouter=function(l){if(!o)return;let s=o(l);return s.route(l),a.use(l,s),s},a.exception=function(l){return a.use(l),this},a},f2=qW;f2.getLocalIP=r=>{let a="";return Se.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};f2.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"};Se.copyToClipboard=r=>Wa(void 0,null,function*(){let a="";Se.is.string(r)?a=r:Se.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Wa(void 0,null,function*(){let l;if(navigator.clipboard){if(l=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!l)return}else{let s=document.createElement("input");if(Se(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});Se.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});Se.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}}};Se.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=[],l=!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(s=>{let{From:f,To:u,name:h}=s;if(f<=r&&r<=u){let p=r-f+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};Se.interval=Co;Zr.setDefaultHeaders=()=>({});var YW=Se});var u5=Ue(q_=>{"use strict";(function(){"use strict";var r=fr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=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"),C=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(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 O(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),ke=1;ke<q;ke++)pe[ke-1]=arguments[ke];j("error",D,pe)}}function j(D,q,pe){{var ke=Y.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(q+="%s",pe=pe.concat([He]));var ft=pe.map(function(Je){return String(Je)});ft.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,ft)}}var F=!1,Q=!1,N=!1,te=!1,_e=!1,re;re=Symbol.for("react.module.reference");function be(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||_e||D===s||D===m||D===g||te||D===C||F||Q||N||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===u||D.$$typeof===h||D.$$typeof===p||D.$$typeof===re||D.getModuleId!==void 0))}function ye(D,q,pe){var ke=D.displayName;if(ke)return ke;var He=q.displayName||q.name||"";return He!==""?pe+"("+He+")":pe}function ge(D){return D.displayName||"Context"}function H(D){if(D==null)return null;if(typeof D.tag=="number"&&O("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 l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return ge(q)+".Consumer";case u:var pe=D;return ge(pe._context)+".Provider";case p:return ye(D,D.render,"ForwardRef");case b:var ke=D.displayName||null;return ke!==null?ke:H(D.type)||"Memo";case S:{var He=D,ft=He._payload,Je=He._init;try{return H(Je(ft))}catch(Ke){return null}}}return null}var le=Object.assign,fe=0,B,W,ne,ee,de,xe,we;function Ye(){}Ye.__reactDisabledLog=!0;function $e(){{if(fe===0){B=console.log,W=console.info,ne=console.warn,ee=console.error,de=console.group,xe=console.groupCollapsed,we=console.groupEnd;var D={configurable:!0,enumerable:!0,value:Ye,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fe++}}function Pe(){{if(fe--,fe===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:ne}),error:le({},D,{value:ee}),group:le({},D,{value:de}),groupCollapsed:le({},D,{value:xe}),groupEnd:le({},D,{value:we})})}fe<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var et=Y.ReactCurrentDispatcher,ut;function lt(D,q,pe){{if(ut===void 0)try{throw Error()}catch(He){var ke=He.stack.trim().match(/\n( *(at )?)/);ut=ke&&ke[1]||""}return`
|
|
149
|
+
`+('Please change the parent <Route path="'+Fe+'"> to <Route ')+('path="'+(Fe==="/"?"*":Fe+"/*")+'">.'))}let Le=L(),Qe;if(P){var I;let Fe=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Fe.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 "'+Fe.pathname+'" was given in the `location` prop.')),Qe=Fe}else Qe=Le;let V=Qe.pathname||"/",ae=V;if(Me!=="/"){let Fe=Me.replace(/^\//,"").split("/");ae="/"+V.replace(/^\//,"").split("/").slice(Fe.length).join("/")}let se=o.matchRoutes($,{pathname:ae});o.UNSAFE_warning(We||se!=null,'No routes matched location "'+Qe.pathname+Qe.search+Qe.hash+'" '),o.UNSAFE_warning(se==null||se[se.length-1].route.element!==void 0||se[se.length-1].route.Component!==void 0||se[se.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Qe.pathname+Qe.search+Qe.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(se&&se.map(Fe=>Object.assign({},Fe,{params:Object.assign({},Oe,Fe.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathname).pathname:Fe.pathname]),pathnameBase:Fe.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathnameBase).pathname:Fe.pathnameBase])})),ie,R,z);return P&&Ve?s.createElement(g.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Qe),navigationType:o.Action.Pop}},Ve):Ve}function H(){let $=Te(),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},ie={padding:"2px 4px",backgroundColor:z},oe=null;return console.error("Error handled by React Router default ErrorBoundary:",$),oe=s.createElement(s.Fragment,null,s.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:ie},"ErrorBoundary")," or"," ",s.createElement("code",{style:ie},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},P),R?s.createElement("pre",{style:G},R):null,oe)}let le=s.createElement(H,null);class fe extends s.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?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=s.useContext(u);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),s.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 ie;if(!R)return null;if(R.errors)$=R.matches;else if((ie=z)!=null&&ie.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let oe=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let We=oe.findIndex(Le=>Le.route.id&&(Oe==null?void 0:Oe[Le.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(",")),oe=oe.slice(0,Math.min(oe.length,We+1))}let Ie=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let We=0;We<oe.length;We++){let Le=oe[We];if((Le.route.HydrateFallback||Le.route.hydrateFallbackElement)&&(Me=We),Le.route.id){let{loaderData:Qe,errors:I}=R,V=Le.route.loader&&Qe[Le.route.id]===void 0&&(!I||I[Le.route.id]===void 0);if(Le.route.lazy||V){Ie=!0,Me>=0?oe=oe.slice(0,Me+1):oe=[oe[0]];break}}}return oe.reduceRight((We,Le,Qe)=>{let I,V=!1,ae=null,se=null;R&&(I=Oe&&Le.route.id?Oe[Le.route.id]:void 0,ae=Le.route.errorElement||le,Ie&&(Me<0&&Qe===0?(Er("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,se=null):Me===Qe&&(V=!0,se=Le.route.hydrateFallbackElement||null)));let Ve=P.concat(oe.slice(0,Qe+1)),Fe=()=>{let D;return I?D=ae:V?D=se:Le.route.Component?D=s.createElement(Le.route.Component,null):Le.route.element?D=Le.route.element:D=We,s.createElement(B,{match:Le,routeContext:{outlet:We,matches:Ve,isDataRoute:R!=null},children:D})};return R&&(Le.route.ErrorBoundary||Le.route.errorElement||Qe===0)?s.createElement(fe,{location:R.location,revalidation:R.revalidation,component:ae,error:I,children:Fe(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Fe()},null)}var ne=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ne||{}),ee=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(ee||{});function de($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function xe($){let P=s.useContext(u);return P||o.UNSAFE_invariant(!1,de($)),P}function we($){let P=s.useContext(h);return P||o.UNSAFE_invariant(!1,de($)),P}function Ye($){let P=s.useContext(b);return P||o.UNSAFE_invariant(!1,de($)),P}function $e($){let P=Ye($),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 Pe(){return $e(ee.UseRouteId)}function et(){return we(ee.UseNavigation).navigation}function ut(){let $=xe(ne.UseRevalidator),P=we(ee.UseRevalidator);return s.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function lt(){let{matches:$,loaderData:P}=we(ee.UseMatches);return s.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function Tt(){let $=we(ee.UseLoaderData),P=$e(ee.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function wt($){return we(ee.UseRouteLoaderData).loaderData[$]}function Ze(){let $=we(ee.UseActionData),P=$e(ee.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function Te(){var $;let P=s.useContext(S),R=we(ee.UseRouteError),z=$e(ee.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function pt(){let $=s.useContext(p);return $==null?void 0:$._data}function Lt(){let $=s.useContext(p);return $==null?void 0:$._error}let jt=0;function Ut($){let{router:P,basename:R}=xe(ne.UseBlocker),z=we(ee.UseBlocker),[G,ie]=s.useState(""),oe=s.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Ie,nextLocation:Me,historyAction:We}=Oe;return $({currentLocation:f({},Ie,{pathname:o.stripBasename(Ie.pathname,R)||Ie.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:We})},[R,$]);return s.useEffect(()=>{let Oe=String(++jt);return ie(Oe),()=>P.deleteBlocker(Oe)},[P]),s.useEffect(()=>{G!==""&&P.getBlocker(G,oe)},[P,G,oe]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function ar(){let{router:$}=xe(ne.UseNavigateStable),P=$e(ee.UseNavigateStable),R=s.useRef(!1);return j(()=>{R.current=!0}),s.useCallback(function(G,ie){ie===void 0&&(ie={}),o.UNSAFE_warning(R.current,O),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},ie)))},[$,P])}let ur={};function Er($,P,R){!P&&!ur[$]&&(ur[$]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function qr($){let{fallbackElement:P,router:R,future:z}=$,[G,ie]=s.useState(R.state),{v7_startTransition:oe}=z||{},Oe=s.useCallback(Le=>{oe&&jr?jr(()=>ie(Le)):ie(Le)},[ie,oe]);s.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),s.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ie=s.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Le=>R.navigate(Le),push:(Le,Qe,I)=>R.navigate(Le,{state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Le,Qe,I)=>R.navigate(Le,{replace:!0,state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",We=s.useMemo(()=>({router:R,navigator:Ie,static:!1,basename:Me}),[R,Ie,Me]);return s.createElement(s.Fragment,null,s.createElement(u.Provider,{value:We},s.createElement(h.Provider,{value:G},s.createElement(mr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Ie,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?s.createElement(Cr,{routes:R.routes,future:R.future,state:G}):P))),null)}function Cr($){let{routes:P,future:R,state:z}=$;return ge(P,void 0,z,R)}function dr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:ie}=$,oe=s.useRef();oe.current==null&&(oe.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=oe.current,[Ie,Me]=s.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:We}=ie||{},Le=s.useCallback(Qe=>{We&&jr?jr(()=>Me(Qe)):Me(Qe)},[Me,We]);return s.useLayoutEffect(()=>Oe.listen(Le),[Oe,Le]),s.createElement(mr,{basename:P,children:R,location:Ie.location,navigationType:Ie.action,navigator:Oe,future:ie})}function gr($){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:ie,static:oe}=s.useContext(m);o.UNSAFE_warning(!oe,"<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}=s.useContext(b),{pathname:Ie}=L(),Me=F(),We=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,ie.v7_relativeSplatPath),Ie,G==="path"),Le=JSON.stringify(We);return s.useEffect(()=>Me(JSON.parse(Le),{replace:R,state:z,relative:G}),[Me,Le,G,R,z]),null}function pa($){return _e($.context)}function xr($){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 mr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:ie,static:oe=!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 Ie=P.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Ie,navigator:ie,static:oe,future:f({v7_relativeSplatPath:!1},Oe)}),[Ie,Oe,ie,oe]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:We="/",search:Le="",hash:Qe="",state:I=null,key:V="default"}=z,ae=s.useMemo(()=>{let se=o.stripBasename(We,Ie);return se==null?null:{location:{pathname:se,search:Le,hash:Qe,state:I,key:V},navigationType:G}},[Ie,We,Le,Qe,I,V,G]);return o.UNSAFE_warning(ae!=null,'<Router basename="'+Ie+'"> is not able to match the URL '+('"'+We+Le+Qe+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ae==null?null:s.createElement(m.Provider,{value:Me},s.createElement(g.Provider,{children:R,value:ae}))}function Mr($){let{children:P,location:R}=$;return ye(Vt(P),R)}function _a($){let{children:P,errorElement:R,resolve:z}=$;return s.createElement(bt,{resolve:z,errorElement:R},s.createElement(Gt,null,P))}var Be=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(Be||{});let st=new Promise(()=>{});class bt extends s.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,ie=Be.pending;if(!(z instanceof Promise))ie=Be.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){ie=Be.error;let oe=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>oe})}else z._tracked?(G=z,ie="_error"in G?Be.error:"_data"in G?Be.success:Be.pending):(ie=Be.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(oe=>Object.defineProperty(z,"_data",{get:()=>oe}),oe=>Object.defineProperty(z,"_error",{get:()=>oe})));if(ie===Be.error&&G._error instanceof o.AbortedDeferredError)throw st;if(ie===Be.error&&!R)throw G._error;if(ie===Be.error)return s.createElement(p.Provider,{value:G,children:R});if(ie===Be.success)return s.createElement(p.Provider,{value:G,children:P});throw G}}function Gt($){let{children:P}=$,R=pt(),z=typeof P=="function"?P(R):P;return s.createElement(s.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let R=[];return s.Children.forEach($,(z,G)=>{if(!s.isValidElement(z))return;let ie=[...P,G];if(z.type===s.Fragment){R.push.apply(R,Vt(z.props.children,ie));return}z.type!==xr&&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 oe={id:z.props.id||ie.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&&(oe.children=Vt(z.props.children,ie)),R.push(oe)}),R}function Rr($){return W($)}function vr($){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:s.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:s.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:s.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:vr,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=_a,r.MemoryRouter=dr,r.Navigate=gr,r.Outlet=pa,r.Route=xr,r.Router=mr,r.RouterProvider=qr,r.Routes=Mr,r.UNSAFE_DataRouterContext=u,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=vr,r.UNSAFE_useRouteId=Pe,r.UNSAFE_useRoutesImpl=ge,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Rr,r.useActionData=Ze,r.useAsyncError=Lt,r.useAsyncValue=pt,r.useBlocker=Ut,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=Tt,r.useLocation=L,r.useMatch=Y,r.useMatches=lt,r.useNavigate=F,r.useNavigation=et,r.useNavigationType=M,r.useOutlet=_e,r.useOutletContext=te,r.useParams=re,r.useResolvedPath=be,r.useRevalidator=ut,r.useRouteError=Te,r.useRouteLoaderData=wt,r.useRoutes=ye,Object.defineProperty(r,"__esModule",{value:!0})})});var KT=Ue((aG,GT)=>{"use strict";GT.exports=$T()});var QT=Ue((j_,XT)=>{(function(r,a){typeof j_=="object"&&typeof XT!="undefined"?a(j_,fr(),G0(),KT(),s2()):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))})(j_,function(r,a,o,l,s){"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 ie=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,ie.get?ie:{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 ie in G)Object.prototype.hasOwnProperty.call(G,ie)&&(R[ie]=G[ie])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},ie=Object.keys(R),oe,Oe;for(Oe=0;Oe<ie.length;Oe++)oe=ie[Oe],!(z.indexOf(oe)>=0)&&(G[oe]=R[oe]);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 M(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!M(R)}function O(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 ie=R[G];return z.concat(Array.isArray(ie)?ie.map(oe=>[G,oe]):[[G,ie]])},[]))}function j(R,z){let G=O(R);return z&&z.forEach((ie,oe)=>{G.has(oe)||z.getAll(oe).forEach(Oe=>{G.append(oe,Oe)})}),G}let F=null;function Q(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let N=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(R){return R!=null&&!N.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function _e(R,z){let G,ie,oe,Oe,Ie;if(k(R)){let Me=R.getAttribute("action");ie=Me?s.stripBasename(Me,z):null,G=R.getAttribute("method")||g,oe=te(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(ie=We?s.stripBasename(We,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||g,oe=te(R.getAttribute("formenctype"))||te(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!Q()){let{name:Le,type:Qe,value:I}=R;if(Qe==="image"){let V=Le?Le+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Le&&Oe.append(Le,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=g,ie=null,oe=b,Ie=R}return Oe&&oe==="text/plain"&&(Ie=Oe,Oe=void 0),{action:ie,method:G.toLowerCase(),encType:oe,formData:Oe,body:Ie}}let re=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],be=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ye=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],ge="6";try{window.__reactRouterVersion=ge}catch(R){}function H(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.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 s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.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 fe(){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[ie,oe]of z)if(oe&&oe.__type==="RouteErrorResponse")G[ie]=new s.UNSAFE_ErrorResponseImpl(oe.status,oe.statusText,oe.data,oe.internal===!0);else if(oe&&oe.__type==="Error"){if(oe.__subType){let Oe=window[oe.__subType];if(typeof Oe=="function")try{let Ie=new Oe(oe.message);Ie.stack="",G[ie]=Ie}catch(Ie){}}if(G[ie]==null){let Oe=new Error(oe.message);Oe.stack="",G[ie]=Oe}}else G[ie]=oe;return G}let W=u.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ne=u.createContext(new Map);ne.displayName="Fetchers";let de=u["startTransition"],we=h["flushSync"],$e=u["useId"];function Pe(R){de?de(R):R()}function et(R){we?we(R):R()}class ut{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=ie=>{this.status==="pending"&&(this.status="resolved",z(ie))},this.reject=ie=>{this.status==="pending"&&(this.status="rejected",G(ie))}})}}function lt(R){let{fallbackElement:z,router:G,future:ie}=R,[oe,Oe]=u.useState(G.state),[Ie,Me]=u.useState(),[We,Le]=u.useState({isTransitioning:!1}),[Qe,I]=u.useState(),[V,ae]=u.useState(),[se,Ve]=u.useState(),Fe=u.useRef(new Map),{v7_startTransition:D}=ie||{},q=u.useCallback(Ke=>{D?Pe(Ke):Ke()},[D]),pe=u.useCallback((Ke,Ct)=>{let{deletedFetchers:kt,unstable_flushSync:Wt,unstable_viewTransitionOpts:$r}=Ct;kt.forEach(ia=>Fe.current.delete(ia)),Ke.fetchers.forEach((ia,la)=>{ia.data!==void 0&&Fe.current.set(la,ia.data)});let Ha=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!$r||Ha){Wt?et(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Wt){et(()=>{V&&(Qe&&Qe.resolve(),V.skipTransition()),Le({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let ia=G.window.document.startViewTransition(()=>{et(()=>Oe(Ke))});ia.finished.finally(()=>{et(()=>{I(void 0),ae(void 0),Me(void 0),Le({isTransitioning:!1})})}),et(()=>ae(ia));return}V?(Qe&&Qe.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Me(Ke),Le({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[G.window,V,Qe,Fe,q]);u.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),u.useEffect(()=>{We.isTransitioning&&!We.flushSync&&I(new ut)},[We]),u.useEffect(()=>{if(Qe&&Ie&&G.window){let Ke=Ie,Ct=Qe.promise,kt=G.window.document.startViewTransition(()=>na(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));kt.finished.finally(()=>{I(void 0),ae(void 0),Me(void 0),Le({isTransitioning:!1})}),ae(kt)}},[q,Ie,Qe,G.window]),u.useEffect(()=>{Qe&&Ie&&oe.location.key===Ie.location.key&&Qe.resolve()},[Qe,V,oe.location,Ie]),u.useEffect(()=>{!We.isTransitioning&&se&&(Me(se.state),Le({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}),Ve(void 0))},[We.isTransitioning,se]),u.useEffect(()=>{s.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=u.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,kt)=>G.navigate(Ke,{state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset}),replace:(Ke,Ct,kt)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset})}),[G]),He=G.basename||"/",ft=u.useMemo(()=>({router:G,navigator:ke,static:!1,basename:He}),[G,ke,He]),Je=u.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},u.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:oe},u.createElement(ne.Provider,{value:Fe.current},u.createElement(W.Provider,{value:We},u.createElement(l.Router,{basename:He,location:oe.location,navigationType:oe.historyAction,navigator:ke,future:Je},oe.initialized||G.future.v7_partialHydration?u.createElement(Tt,{routes:G.routes,future:G.future,state:oe}):z))))),null)}let Tt=u.memo(wt);function wt(R){let{routes:z,future:G,state:ie}=R;return l.UNSAFE_useRoutesImpl(z,void 0,ie,G)}function Ze(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createBrowserHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=u.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Le}=ie||{},Qe=u.useCallback(I=>{Le&&de?de(()=>We(I)):We(I)},[We,Le]);return u.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function Te(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=u.useRef();Oe.current==null&&(Oe.current=s.createHashHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=u.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Le}=ie||{},Qe=u.useCallback(I=>{Le&&de?de(()=>We(I)):We(I)},[We,Le]);return u.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),u.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function pt(R){let{basename:z,children:G,future:ie,history:oe}=R,[Oe,Ie]=u.useState({action:oe.action,location:oe.location}),{v7_startTransition:Me}=ie||{},We=u.useCallback(Le=>{Me&&de?de(()=>Ie(Le)):Ie(Le)},[Ie,Me]);return u.useLayoutEffect(()=>oe.listen(We),[oe,We]),u.createElement(l.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:oe,future:ie})}pt.displayName="unstable_HistoryRouter";let Lt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",jt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ut=u.forwardRef(function(z,G){let{onClick:ie,relative:oe,reloadDocument:Oe,replace:Ie,state:Me,target:We,to:Le,preventScrollReset:Qe,unstable_viewTransition:I}=z,V=m(z,re),{basename:ae}=u.useContext(l.UNSAFE_NavigationContext),se,Ve=!1;if(typeof Le=="string"&&jt.test(Le)&&(se=Le,Lt))try{let pe=new URL(window.location.href),ke=Le.startsWith("//")?new URL(pe.protocol+Le):new URL(Le),He=s.stripBasename(ke.pathname,ae);ke.origin===pe.origin&&He!=null?Le=He+ke.search+ke.hash:Ve=!0}catch(pe){s.UNSAFE_warning(!1,'<Link to="'+Le+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Fe=l.useHref(Le,{relative:oe}),D=gr(Le,{replace:Ie,state:Me,target:We,preventScrollReset:Qe,relative:oe,unstable_viewTransition:I});function q(pe){ie&&ie(pe),pe.defaultPrevented||D(pe)}return u.createElement("a",p({},V,{href:se||Fe,onClick:Ve||Oe?ie:q,ref:G,target:We}))});Ut.displayName="Link";let ar=u.forwardRef(function(z,G){let{"aria-current":ie="page",caseSensitive:oe=!1,className:Oe="",end:Ie=!1,style:Me,to:We,unstable_viewTransition:Le,children:Qe}=z,I=m(z,be),V=l.useResolvedPath(We,{relative:I.relative}),ae=l.useLocation(),se=u.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Fe}=u.useContext(l.UNSAFE_NavigationContext),D=se!=null&&P(V)&&Le===!0,q=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=ae.pathname,ke=se&&se.navigation&&se.navigation.location?se.navigation.location.pathname:null;oe||(pe=pe.toLowerCase(),ke=ke?ke.toLowerCase():null,q=q.toLowerCase()),ke&&Fe&&(ke=s.stripBasename(ke,Fe)||ke);let He=q!=="/"&&q.endsWith("/")?q.length-1:q.length,ft=pe===q||!Ie&&pe.startsWith(q)&&pe.charAt(He)==="/",Je=ke!=null&&(ke===q||!Ie&&ke.startsWith(q)&&ke.charAt(q.length)==="/"),Ke={isActive:ft,isPending:Je,isTransitioning:D},Ct=ft?ie:void 0,kt;typeof Oe=="function"?kt=Oe(Ke):kt=[Oe,ft?"active":null,Je?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Ke):Me;return u.createElement(Ut,p({},I,{"aria-current":Ct,className:kt,ref:G,style:Wt,to:We,unstable_viewTransition:Le}),typeof Qe=="function"?Qe(Ke):Qe)});ar.displayName="NavLink";let ur=u.forwardRef((R,z)=>{let{fetcherKey:G,navigate:ie,reloadDocument:oe,replace:Oe,state:Ie,method:Me=g,action:We,onSubmit:Le,relative:Qe,preventScrollReset:I,unstable_viewTransition:V}=R,ae=m(R,ye),se=_a(),Ve=Be(We,{relative:Qe}),Fe=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Le&&Le(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,ke=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;se(pe||q.currentTarget,{fetcherKey:G,method:ke,navigate:ie,replace:Oe,state:Ie,relative:Qe,preventScrollReset:I,unstable_viewTransition:V})};return u.createElement("form",p({ref:z,method:Fe,action:Ve,onSubmit:oe?Le:D},ae))});ur.displayName="Form";function Er(R){let{getKey:z,storageKey:G}=R;return Rr({getKey:z,storageKey:G}),null}Er.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 Cr(R){let z=u.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function dr(R){let z=u.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function gr(R,z){let{target:G,replace:ie,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me}=z===void 0?{}:z,We=l.useNavigate(),Le=l.useLocation(),Qe=l.useResolvedPath(R,{relative:Ie});return u.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=ie!==void 0?ie:l.createPath(Le)===l.createPath(Qe);We(R,{replace:V,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me})}},[Le,We,Qe,ie,oe,G,R,Oe,Ie,Me])}function pa(R){s.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(O(R)),G=u.useRef(!1),ie=l.useLocation(),oe=u.useMemo(()=>j(ie.search,G.current?null:z.current),[ie.search]),Oe=l.useNavigate(),Ie=u.useCallback((Me,We)=>{let Le=O(typeof Me=="function"?Me(oe):Me);G.current=!0,Oe("?"+Le,We)},[Oe,oe]);return[oe,Ie]}function xr(){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 mr=0,Mr=()=>"__"+String(++mr)+"__";function _a(){let{router:R}=Cr(ra.UseSubmit),{basename:z}=u.useContext(l.UNSAFE_NavigationContext),G=l.UNSAFE_useRouteId();return u.useCallback(function(ie,oe){oe===void 0&&(oe={}),xr();let{action:Oe,method:Ie,encType:Me,formData:We,body:Le}=_e(ie,z);if(oe.navigate===!1){let Qe=oe.fetcherKey||Mr();R.fetch(Qe,G,oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Le,formMethod:oe.method||Ie,formEncType:oe.encType||Me,unstable_flushSync:oe.unstable_flushSync})}else R.navigate(oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Le,formMethod:oe.method||Ie,formEncType:oe.encType||Me,replace:oe.replace,state:oe.state,fromRouteId:G,unstable_flushSync:oe.unstable_flushSync,unstable_viewTransition:oe.unstable_viewTransition})},[R,z,G])}function Be(R,z){let{relative:G}=z===void 0?{}:z,{basename:ie}=u.useContext(l.UNSAFE_NavigationContext),oe=u.useContext(l.UNSAFE_RouteContext);oe||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=oe.matches.slice(-1),Ie=p({},l.useResolvedPath(R||".",{relative:G})),Me=l.useLocation();if(R==null){Ie.search=Me.search;let We=new URLSearchParams(Ie.search);We.has("index")&&We.get("index")===""&&(We.delete("index"),Ie.search=We.toString()?"?"+We.toString():"")}return(!R||R===".")&&Oe.route.index&&(Ie.search=Ie.search?Ie.search.replace(/^\?/,"?index&"):"?index"),ie!=="/"&&(Ie.pathname=Ie.pathname==="/"?ie:s.joinPaths([ie,Ie.pathname])),l.createPath(Ie)}function st(R){var z;let{key:G}=R===void 0?{}:R,{router:ie}=Cr(ra.UseFetcher),oe=dr(jr.UseFetcher),Oe=u.useContext(ne),Ie=u.useContext(l.UNSAFE_RouteContext),Me=(z=Ie.matches[Ie.matches.length-1])==null?void 0:z.route.id;Oe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Ie||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let We=$e?$e():"",[Le,Qe]=u.useState(G||We);G&&G!==Le?Qe(G):Le||Qe(Mr()),u.useEffect(()=>(ie.getFetcher(Le),()=>{ie.deleteFetcher(Le)}),[ie,Le]);let I=u.useCallback((q,pe)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),ie.fetch(Le,Me,q,pe)},[Le,Me,ie]),V=_a(),ae=u.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Le}))},[Le,V]),se=u.useMemo(()=>{let q=u.forwardRef((pe,ke)=>u.createElement(ur,p({},pe,{navigate:!1,fetcherKey:Le,ref:ke})));return q.displayName="fetcher.Form",q},[Le]),Ve=oe.fetchers.get(Le)||s.IDLE_FETCHER,Fe=Oe.get(Le);return u.useMemo(()=>p({Form:se,submit:ae,load:I},Ve,{data:Fe}),[se,ae,I,Ve,Fe])}function bt(){let R=dr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,ie]=z;return p({},ie,{key:G})})}let Gt="react-router-scroll-positions",Vt={};function Rr(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:ie}=Cr(ra.UseScrollRestoration),{restoreScrollPosition:oe,preventScrollReset:Oe}=dr(jr.UseScrollRestoration),{basename:Ie}=u.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),We=l.useMatches(),Le=l.useNavigation();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(u.useCallback(()=>{if(Le.state==="idle"){let Qe=(z?z(Me,We):null)||Me.key;Vt[Qe]=window.scrollY}try{sessionStorage.setItem(G||Gt,JSON.stringify(Vt))}catch(Qe){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Qe+").")}window.history.scrollRestoration="auto"},[G,z,Le.state,Me,We])),typeof document!="undefined"&&(u.useLayoutEffect(()=>{try{let Qe=sessionStorage.getItem(G||Gt);Qe&&(Vt=JSON.parse(Qe))}catch(Qe){}},[G]),u.useLayoutEffect(()=>{let Qe=z&&Ie!=="/"?(V,ae)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Ie)||V.pathname}),ae):z,I=ie==null?void 0:ie.enableScrollRestoration(Vt,()=>window.scrollY,Qe);return()=>I&&I()},[ie,Ie,z]),u.useLayoutEffect(()=>{if(oe!==!1){if(typeof oe=="number"){window.scrollTo(0,oe);return}if(Me.hash){let Qe=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Qe){Qe.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,oe,Oe]))}function vr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,ie),()=>{window.removeEventListener("beforeunload",R,ie)}},[R,G])}function Yr(R,z){let{capture:G}=z||{};u.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,ie),()=>{window.removeEventListener("pagehide",R,ie)}},[R,G])}function $(R){let{when:z,message:G}=R,ie=l.useBlocker(z);u.useEffect(()=>{ie.state==="blocked"&&(window.confirm(G)?setTimeout(ie.proceed,0):ie.reset())},[ie,G]),u.useEffect(()=>{ie.state==="blocked"&&!z&&ie.reset()},[ie,z])}function P(R,z){z===void 0&&(z={});let G=u.useContext(W);G==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:ie}=Cr(ra.useViewTransitionState),oe=l.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=s.stripBasename(G.currentLocation.pathname,ie)||G.currentLocation.pathname,Ie=s.stripBasename(G.nextLocation.pathname,ie)||G.nextLocation.pathname;return s.matchPath(oe.pathname,Ie)!=null||s.matchPath(oe.pathname,Oe)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return l.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return l.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return l.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return l.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return l.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return l.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return l.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return l.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return l.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return l.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return l.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return l.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return l.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return l.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return l.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return l.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return l.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return l.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return l.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return l.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return l.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return l.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return l.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return l.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return l.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return l.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return l.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return l.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return l.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return l.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return l.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return l.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return l.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return l.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return l.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return l.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return l.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return l.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return l.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return l.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return l.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return l.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return l.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return l.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return l.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return l.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return l.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return l.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return l.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return l.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return s.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=Ze,r.Form=ur,r.HashRouter=Te,r.Link=Ut,r.NavLink=ar,r.RouterProvider=lt,r.ScrollRestoration=Er,r.UNSAFE_FetchersContext=ne,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=Rr,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=O,r.unstable_HistoryRouter=pt,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=vr,r.useFetcher=st,r.useFetchers=bt,r.useFormAction=Be,r.useLinkClickHandler=gr,r.useSearchParams=pa,r.useSubmit=_a,Object.defineProperty(r,"__esModule",{value:!0})})});var ZT=Ue((oG,JT)=>{"use strict";JT.exports=QT()});var nr=Ue((iG,o5)=>{"use strict";var V_=Object.defineProperty,xW=Object.defineProperties,kW=Object.getOwnPropertyDescriptor,TW=Object.getOwnPropertyDescriptors,EW=Object.getOwnPropertyNames,U_=Object.getOwnPropertySymbols,u2=Object.prototype.hasOwnProperty,t5=Object.prototype.propertyIsEnumerable,c2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),H_=Math.pow,e5=(r,a,o)=>a in r?V_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,nu=(r,a)=>{for(var o in a||(a={}))u2.call(a,o)&&e5(r,o,a[o]);if(U_)for(var o of U_(a))t5.call(a,o)&&e5(r,o,a[o]);return r},r5=(r,a)=>xW(r,TW(a)),RW=(r,a)=>{var o={};for(var l in r)u2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&U_)for(var l of U_(r))a.indexOf(l)<0&&t5.call(r,l)&&(o[l]=r[l]);return o},DW=(r,a)=>{for(var o in a)V_(r,o,{get:a[o],enumerable:!0})},AW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of EW(a))!u2.call(r,s)&&s!==o&&V_(r,s,{get:()=>a[s],enumerable:!(l=kW(a,s))||l.enumerable});return r},LW=r=>AW(V_({},"__esModule",{value:!0}),r),Wa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(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},NW=(r,a,o)=>{var l=(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?l(u==="return"?u:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:S})).catch(w=>l("throw",w,p,m))}catch(w){m(w)}},s=u=>f[u]=h=>new Promise((p,m)=>l(u,h,p,m)),f={};return o=o.apply(r,a),f[c2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},OW=(r,a,o)=>(a=r[c2("asyncIterator")])?a.call(r):(r=r[c2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=f=>new Promise((u,h,p)=>(f=s.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>u({value:m,done:p}),h)))),o("next"),o("return"),a),n5={};DW(n5,{Fetcher:()=>Zr,Filer:()=>Sn,Server:()=>d2,Time:()=>Dr,UUID:()=>rf,default:()=>YW,useStore:()=>W_});o5.exports=LW(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 l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(f){return!1}return s},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(/+/,"+")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=H_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=H_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=H_(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/H_(1e3,l)*a)/a+("KMGTPEZY"[l-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),l=a.slice(4,6),s=a.slice(6,8),f=[];return o.length!=4||f.push(o),l.length!=2||f.push(l),s.length!=2||f.push(s),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let f of o){if(!f)break;s=(l=(s||{})[f||""])!=null?l:null}return s};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,l)=>{for(let s of a){let f=String(s||""),u=this.every(m=>{let g=Number(r(m,f.split(".")));return typeof g=="number"&&!isNaN(g)}),h=r(o,f.split(".")),p=r(l,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 l=new FileReader;l.onload=f=>a(f),l.onerror=f=>o(f);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var MW=(r=24)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35,s=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)][s?"toUpper":"toLower"]()}).join(""),rf=MW;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((l,s)=>"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 PW=r=>new Se.prototype.jmini(r),Se=PW;Se.prototype={};Se.extend=function(r,a=Se){for(var[o,l]of Object.entries(r))a.prototype[o]=l};Se.expando="__jmini_"+rf();var Va=(r,a)=>(r.queue.push(a),f2(r),r),f2=r=>Wa(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,f2(r)}}),au=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,l]of Object.entries(a))o.match(/queue/)||(r[o]=l);return r},IW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[Se.expando]||(Se.is.element(l)||Se.is.shadowRoot(l))&&(l[Se.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,f2(r),r};Se.extend({constructor:Se,jmini:function(r){return this.src=r,this.srcType=Se.is.what(r),this.queueProcess=!0,this.queue=[],IW(this,Se.is.jmini(r)?r.get():Se.is.element(r)?[r]:Se.is.elements(r)?r:Se.is.shadowRoot(r)?[r]:Se.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});Se.prototype[String(Symbol.iterator)]=[][Symbol.iterator];Se.prototype.jmini.prototype=Se.prototype;{let r=function(s,f,u){let h=[];for(let p=0;p<(s.length||0);p++)h.push(f(s[p],p));return u&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((f,u)=>{if(!(Se.is.element(f)||Se.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[u]=h}),s),o=(s,f)=>(Se(f).for(u=>{if(s&&(Se.is.element(u)||Se.is.shadowRoot(u)))if(Se.is.string(s)||Se.is.number(s))s=String(s),u.insertAdjacentHTML("beforeend",String(s));else if(Se.is.element(s))u.appendChild(s);else{Se.is.jmini(s)?s=s.get():Se.is.element(s)?s=[s]:Se.is.keyValueDictionary(s)&&(s=[Se(s)]);for(var h=0;h<s.length;h++)o(s[h],u)}}),f),l=(s,f,...u)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return s.for(m=>{if(Se.is.string(u[0]))m.insertAdjacentHTML(h,u[0]);else{if(!m.parentNode)return;Se(u[0]).for(g=>{u[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),s};Se.extend({get:function(s){return s?this[0]:r(this,f=>f)},for:function(s,f=1){let u=r(this,(h,p)=>s(h,p),1);return f?u:[]},await:function(s){return Va(this,()=>new Promise((f,u)=>{setTimeout(()=>{f(this)},s)}))},abort:function(){return Va(this,()=>Wa(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Va(this,()=>Wa(this,null,function*(){return yield s(this),this}))},click:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];Se.is.element(f)&&f.click()}return this})},focus:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];Se.is.element(f)&&f.focus()}return this})},addEvent:function(s){return Va(this,()=>{let{eventType:f,eventID:u=rf(),target:h,callback:p,options:m}=s;return m=nu({passive:!0,capture:!1},m),this.for(g=>{if(!(Se.is.element(g)||Se.is.shadowRoot(g)))return;let{events:b}=g[Se.expando];if(h){let S=p;p=w=>{if(w.target){if(Se.is.string(h)){let k=w.target.closest(h);k&&(!k||S.call(k,w))}else if(Se.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(s){return Va(this,()=>{let f=Se.is.array(s)?s:[s];return this.for(u=>{let{events:h}=u[Se.expando];for(let p of f){let m=h[p];m&&u.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(s){return Va(this,()=>au(this,o(s,a(this))))},empty:function(){return Va(this,()=>au(this,a(this)))},append:function(s){return Va(this,()=>{o(s,this)})},remove:function(){return Va(this,()=>(this.for((s,f)=>{s&&Se.is.element(s)&&(s.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Va(this,()=>au(this,l(this,"before",...s)))},after:function(...s){return Va(this,()=>au(this,l(this,"after",...s)))},find:function(s){return Va(this,()=>{let f=[],u=this[0];u||au(this,Se()),(Se.is.element(u)||Se.is.shadowRoot(u))&&(Se.is.string(s)?f=u.querySelectorAll(s):Se.is.element(u)&&Se(s).for(h=>{let p=u.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...Se(m).find(h).for(g=>g)])})),au(this,Se(f))})},parent:function(s){return Va(this,()=>{var f,u;let h=Se(s?(f=this[0])==null?void 0:f.closest(s):(u=this[0])==null?void 0:u.parentNode);au(this,h)})},children:function(s){return Va(this,()=>{let f=this[0].children;Se.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let u=Se(f);return au(this,u)})},addClass:function(s){return Va(this,()=>(s&&this.for(f=>{let u=Se.is.string(s)?s.split(" "):s;f&&Se.is.element(f)&&f.classList.add(...u)}),this))},removeClass:function(s){return Va(this,()=>(s&&this.for(f=>{let u=Se.is.string(s)?s.split(" "):s;f&&Se.is.element(f)&&f.classList.remove(...u)}),this))},toggleClass:function(s){return Va(this,()=>(s&&this.for(f=>{f.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let f=[];return this[0]&&(f=[...this[0].classList].filter(u=>u.match(s))),f},css:function(s){return Va(this,()=>(this.for(f=>{if(Se.is.element(f))for(let[u,h]of Object.entries(s)){if(Se.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(s){return this[0].getAttribute(String(s))},setAttribute:function(s,f){return Va(this,()=>(this.for(u=>u.setAttribute(s,f)),this))},getStyleProperty:function(s){let f=this[0];return f&&Se.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let u=this[0];return u&&Se.is.element(u)&&u.style.setProperty(s,f),this},val:function(){var s;let f=this[0];return(f==null?void 0:f.value)||((s=f==null?void 0:f.dataset)==null?void 0:s.value)},position:function(){return Se.is.element(this[0])?this[0].getBoundingClientRect():{}}})}Se.flatArray=(r,a)=>{if(!Se.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?Se.flatArray(l,"-R"):[l]);return o};Se.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(l=>[Se.getKeyValue(l,a||"0"),l])).values()):o=Array.from(new Set(r)),o};Se.getKeyValue=(r,a)=>{let o={},l=r;return a.split(".").forEach(s=>{l=l==null?void 0:l[s],o=l}),o};Se.Stringify=JSON.stringify;Se.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};Se.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let l=[],s=r;for(;s<=a;){if(o&&o.length&&o.includes(s)){s++;continue}l.push(s),s++}let f=Math.round(Math.random()*(l.length-1))+0;return l[f]};Se.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};Se.trySync=r=>Wa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});Se.scope=r=>r();Se.scopeSync=r=>Wa(void 0,null,function*(){return yield r()});Se.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:f,attr:u,style:h,parent:p}=r,m=document.createElement(o||"div");if(l&&m.classList.add(...l.split(" ")),s&&(m.id=s),u)for(let S of Object.entries(u)){let w=S[0],k=(a=S[1])!=null?a:"";if(w=="data"&&Se.is.keyValueDictionary(k))for(let[L,M]of Object.entries(k))m.dataset[L]=M;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),m[w]=k}if(f&&Se(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&Se(p).append(m),m};Se.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:f="/",domain:u=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${f}domain=${u}`;h&&(p+=" Secure"),document.cookie=p};Se.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};Se.localStrage={set:(r,a)=>{localStorage.setItem(r,Se.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return Se.Objectify(a,a)}};Se.deleteCookie=r=>{document.cookie=r+"=max-age=0"};Se.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,u=Number(Se(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Se(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-u-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f,safeAreaTop:u,safeAreaBottom:h}};Se.getCursor=r=>{var a,o,l,s,f,u,h,p;let m=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((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}};Se.pending=(r,a)=>new Promise((o,l)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});Se.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(Se.is.keyValueDictionary(r)&&Se.is.keyValueDictionary(o))for(let l in o)Se.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),Se.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return Se.deepMerge(r,...a)};Se.deepCopy=r=>{if(Se.is.array(r))return r.map(a=>Se.deepCopy(a));if(Se.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,l])=>{a[o]=Se.deepCopy(l)}),a}return r};Se.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((l,s)=>o[s]=l),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{o.searchParams.set(l,String(s))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(l=>{o.searchParams.delete(l)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};Se.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};Se.is={equal:function(r,a,o){return o==null||o?Se.Stringify(r)===Se.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===Se},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 l of r)o&=Number(this.element(l));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var zW=r=>new Dr.prototype.Time(r),Dr=zW;Dr.prototype={};var BW=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)};Se.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:BW,clone:function(){return Dr(this)},set:function(r){this.value=r;let a=Se.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),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(f/7)}{let o=new Date(this.year,this.month-1,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24)),u=Math.ceil(f/7);this.weekInMonth=u}{let o=new Date(this.year,this.month,0),l=o.getDay(),s=new Date(new Date(o).setDate(o.getDate()-l));this.isLastWeekInMonth=this.date>=s.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%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\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:Se.scope(()=>{let a=864e5,o=this.clone().setFirstOfTheDay(),l=r.clone().setFirstOfTheDay();return Math.floor((o.ms-l.ms)/a)}),hours:Se.scope(()=>{let a=36e5,o=this.clone().setMinutes(0).setSeconds(0).setMilliseconds(0),l=r.clone().setMinutes(0).setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),minutes:Se.scope(()=>{let a=6e4,o=this.clone().setSeconds(0).setMilliseconds(0),l=r.clone().setSeconds(0).setMilliseconds(0);return Math.floor((o.ms-l.ms)/a)}),seconds:Se.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="",l="";return r.year==a.year&&r.year==Dr().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?l=a.toFormatYMD():l=a.toFormatMD(),[o,l]};Dr.getPeriodArray=(r,a,o)=>{let l=[],s=a;if(!a.validate||!o.validate)return l;for(;s.toFormatYMDHMS().toNumber()<=o.toFormatYMDHMS().toNumber();)l.push(s),r=="year"?s=Dr(s).addYear(1):r=="month"?s=Dr(s).addMonth(1):r=="week"?s=Dr(s).addWeek(1):r=="day"?s=Dr(s).addDate(1):r=="hours"?s=Dr(s).addHours(1):r=="minutes"?s=Dr(s).addMinutes(1):r=="seconds"&&(s=Dr(s).addSeconds(1));return l};Dr.prototype.Time.prototype=Dr.prototype;var ic={},W_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=ic[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),ic[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let u=ic[l]||{};u&&u.privateKey&&u.privateKey!=a&&(o=!1),ic[l]=r5(nu({},ic[l]),{value:nu(nu({},(f=ic[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=ic[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=ic[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete ic[r],!0)}},FW=(...[r,a,o])=>new Co.prototype.Interval(r,a,o),Co=FW;Co.prototype={};var jW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,Co.abort(this.key),this.store(),this};Se.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:jW,store:function(){W_.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 Co.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}},Co);Co.abort=r=>{if(Se.is.number(r))return clearInterval(r);let a=W_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};Co.get=r=>W_.get("Interval_"+r);Co.once=(r,a,o)=>Co(r,a,o).once();Co.start=(r,a,o)=>Co(r,a,o).start();Co.prototype.Interval.prototype=Co.prototype;var HW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=HW;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)=>Wa(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 l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield o.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var UW=function(r,a){var o;a=a||{};let l=a.body;a.body&&!Se.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=Se.Stringify(a.body||{}));let s=r;return Se.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,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:l}),this};Se.extend({Fetcher:UW,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 Wa(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:f}=r,u=a.body,h=this,p=function(){return NW(this,null,function*(){if(!a.ok){Se.scope(()=>Wa(this,null,function*(){let{ok:k,done:L,data:M}=yield Zr.streamToContext(u,{reader:s,decoder:f});k&&o(M)}));return}let w=!1;for(;!w;){let{ok:k,done:L,data:M}=yield new a5(Zr.streamToContext(u,{reader:s,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),L=!0):h.streamStatus=="closed"&&(L=!0),L&&(w=L,s.releaseLock()),l(M,L)}})};try{for(var m=OW(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 Wa(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,f=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.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:M,timeout:Y,queries:O}=S,j=RW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(w);if(M&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,w];let Q=Se.queryParams.set(nu({},O),String(this.url));m=yield fetch(Q,j).then(N=>Wa(this,null,function*(){return u=N.ok,h=N.status,p=N.statusText,g=N,k=="none"||k=="stream"?N:N[k]()})).catch(N=>{throw new Error(N)})}catch(S){h==200&&(h=500,u=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield Se.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:l,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 VW=r=>new Sn.prototype.Filer(r),Sn=VW;Sn.prototype={};var WW=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};Se.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:WW,isValid:function(){return this.ok},toBlob:function(){return Wa(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Wa(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}},Sn);Sn.fromFile=r=>Wa(void 0,null,function*(){return Sn(r)});Sn.fromBlob=(r,a)=>Wa(void 0,null,function*(){let o=(a==null?void 0:a.fileName)||"file",l=(a==null?void 0:a.extension)||"",s=new File([r],o+"."+l,{type:a==null?void 0:a.mimeType});return Sn(s)});Sn.fromArrayBuffer=(r,a)=>Wa(void 0,null,function*(){return Sn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});Sn.fromObjectURL=(r,a)=>Wa(void 0,null,function*(){let o=yield Zr(r,{response_format:"blob"}).get();return o.ok?Sn.fromBlob(o.body,a):Sn({})});Sn.fromDataURL=(r,a)=>Wa(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?Sn.fromBlob(o,a):Sn({})});Sn.prototype.Filer.prototype=Sn.prototype;var qW=function(r){let a=r,o=null;return a.use((l,s,f)=>{let u=s;u.return=h=>{let{status:p=200,body:m={},bodyStringify:g=!0}=h||{},b=m;return g&&!Se.is.string(m)&&(b=Se.Stringify(m)),s.status(p).end(b)},f()}),a.onPathRouter=function(l){return o=l,this},a.pathRouter=function(l){if(!o)return;let s=o(l);return s.route(l),a.use(l,s),s},a.exception=function(l){return a.use(l),this},a},d2=qW;d2.getLocalIP=r=>{let a="";return Se.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};d2.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"};Se.copyToClipboard=r=>Wa(void 0,null,function*(){let a="";Se.is.string(r)?a=r:Se.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Wa(void 0,null,function*(){let l;if(navigator.clipboard){if(l=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!l)return}else{let s=document.createElement("input");if(Se(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});Se.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});Se.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}}};Se.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=[],l=!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(s=>{let{From:f,To:u,name:h}=s;if(f<=r&&r<=u){let p=r-f+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};Se.interval=Co;Zr.setDefaultHeaders=()=>({});var YW=Se});var u5=Ue(Y_=>{"use strict";(function(){"use strict";var r=fr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=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 M(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 O(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),ke=1;ke<q;ke++)pe[ke-1]=arguments[ke];j("error",D,pe)}}function j(D,q,pe){{var ke=Y.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(q+="%s",pe=pe.concat([He]));var ft=pe.map(function(Je){return String(Je)});ft.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,ft)}}var F=!1,Q=!1,N=!1,te=!1,_e=!1,re;re=Symbol.for("react.module.reference");function be(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||_e||D===s||D===m||D===g||te||D===w||F||Q||N||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===u||D.$$typeof===h||D.$$typeof===p||D.$$typeof===re||D.getModuleId!==void 0))}function ye(D,q,pe){var ke=D.displayName;if(ke)return ke;var He=q.displayName||q.name||"";return He!==""?pe+"("+He+")":pe}function ge(D){return D.displayName||"Context"}function H(D){if(D==null)return null;if(typeof D.tag=="number"&&O("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 l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return ge(q)+".Consumer";case u:var pe=D;return ge(pe._context)+".Provider";case p:return ye(D,D.render,"ForwardRef");case b:var ke=D.displayName||null;return ke!==null?ke:H(D.type)||"Memo";case S:{var He=D,ft=He._payload,Je=He._init;try{return H(Je(ft))}catch(Ke){return null}}}return null}var le=Object.assign,fe=0,B,W,ne,ee,de,xe,we;function Ye(){}Ye.__reactDisabledLog=!0;function $e(){{if(fe===0){B=console.log,W=console.info,ne=console.warn,ee=console.error,de=console.group,xe=console.groupCollapsed,we=console.groupEnd;var D={configurable:!0,enumerable:!0,value:Ye,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fe++}}function Pe(){{if(fe--,fe===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:ne}),error:le({},D,{value:ee}),group:le({},D,{value:de}),groupCollapsed:le({},D,{value:xe}),groupEnd:le({},D,{value:we})})}fe<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var et=Y.ReactCurrentDispatcher,ut;function lt(D,q,pe){{if(ut===void 0)try{throw Error()}catch(He){var ke=He.stack.trim().match(/\n( *(at )?)/);ut=ke&&ke[1]||""}return`
|
|
150
150
|
`+ut+D}}var Tt=!1,wt;{var Ze=typeof WeakMap=="function"?WeakMap:Map;wt=new Ze}function Te(D,q){if(!D||Tt)return"";{var pe=wt.get(D);if(pe!==void 0)return pe}var ke;Tt=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ft;ft=et.current,et.current=null,$e();try{if(q){var Je=function(){throw Error()};if(Object.defineProperty(Je.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Je,[])}catch(la){ke=la}Reflect.construct(D,[],Je)}else{try{Je.call()}catch(la){ke=la}D.call(Je.prototype)}}else{try{throw Error()}catch(la){ke=la}D()}}catch(la){if(la&&ke&&typeof la.stack=="string"){for(var Ke=la.stack.split(`
|
|
151
151
|
`),Ct=ke.stack.split(`
|
|
152
152
|
`),kt=Ke.length-1,Wt=Ct.length-1;kt>=1&&Wt>=0&&Ke[kt]!==Ct[Wt];)Wt--;for(;kt>=1&&Wt>=0;kt--,Wt--)if(Ke[kt]!==Ct[Wt]){if(kt!==1||Wt!==1)do if(kt--,Wt--,Wt<0||Ke[kt]!==Ct[Wt]){var $r=`
|
|
153
|
-
`+Ke[kt].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&wt.set(D,$r),$r}while(kt>=1&&Wt>=0);break}}}finally{Tt=!1,et.current=ft,Pe(),Error.prepareStackTrace=He}var Ha=D?D.displayName||D.name:"",ia=Ha?lt(Ha):"";return typeof D=="function"&&wt.set(D,ia),ia}function
|
|
153
|
+
`+Ke[kt].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&wt.set(D,$r),$r}while(kt>=1&&Wt>=0);break}}}finally{Tt=!1,et.current=ft,Pe(),Error.prepareStackTrace=He}var Ha=D?D.displayName||D.name:"",ia=Ha?lt(Ha):"";return typeof D=="function"&&wt.set(D,ia),ia}function pt(D,q,pe){return Te(D,!1)}function Lt(D){var q=D.prototype;return!!(q&&q.isReactComponent)}function jt(D,q,pe){if(D==null)return"";if(typeof D=="function")return Te(D,Lt(D));if(typeof D=="string")return lt(D);switch(D){case m:return lt("Suspense");case g:return lt("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return pt(D.render);case b:return jt(D.type,q,pe);case S:{var ke=D,He=ke._payload,ft=ke._init;try{return jt(ft(He),q,pe)}catch(Je){}}}return""}var Ut=Object.prototype.hasOwnProperty,ar={},ur=Y.ReactDebugCurrentFrame;function Er(D){if(D){var q=D._owner,pe=jt(D.type,D._source,q?q.type:null);ur.setExtraStackFrame(pe)}else ur.setExtraStackFrame(null)}function ra(D,q,pe,ke,He){{var ft=Function.call.bind(Ut);for(var Je in D)if(ft(D,Je)){var Ke=void 0;try{if(typeof D[Je]!="function"){var Ct=Error((ke||"React class")+": "+pe+" type `"+Je+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[Je]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Ke=D[Je](q,Je,ke,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kt){Ke=kt}Ke&&!(Ke instanceof Error)&&(Er(He),O("%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).",ke||"React class",pe,Je,typeof Ke),Er(null)),Ke instanceof Error&&!(Ke.message in ar)&&(ar[Ke.message]=!0,Er(He),O("Failed %s type: %s",pe,Ke.message),Er(null))}}}var jr=Array.isArray;function qr(D){return jr(D)}function Cr(D){{var q=typeof Symbol=="function"&&Symbol.toStringTag,pe=q&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function dr(D){try{return gr(D),!1}catch(q){return!0}}function gr(D){return""+D}function pa(D){if(dr(D))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Cr(D)),gr(D)}var xr=Y.ReactCurrentOwner,mr={key:!0,ref:!0,__self:!0,__source:!0},Mr,_a,Be;Be={};function st(D){if(Ut.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(Ut.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"&&xr.current&&q&&xr.current.stateNode!==q){var pe=H(xr.current.type);Be[pe]||(O('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(xr.current.type),D.ref),Be[pe]=!0)}}function Vt(D,q){{var pe=function(){Mr||(Mr=!0,O("%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(){_a||(_a=!0,O("%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 vr=function(D,q,pe,ke,He,ft,Je){var Ke={$$typeof:a,type:D,key:q,ref:pe,props:Je,_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:ke}),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,ke,He){{var ft,Je={},Ke=null,Ct=null;pe!==void 0&&(pa(pe),Ke=""+pe),bt(q)&&(pa(q.key),Ke=""+q.key),st(q)&&(Ct=q.ref,Gt(q,He));for(ft in q)Ut.call(q,ft)&&!mr.hasOwnProperty(ft)&&(Je[ft]=q[ft]);if(D&&D.defaultProps){var kt=D.defaultProps;for(ft in kt)Je[ft]===void 0&&(Je[ft]=kt[ft])}if(Ke||Ct){var Wt=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Vt(Je,Wt),Ct&&Rr(Je,Wt)}return vr(D,Ke,Ct,He,ke,xr.current,Je)}}var $=Y.ReactCurrentOwner,P=Y.ReactDebugCurrentFrame;function R(D){if(D){var q=D._owner,pe=jt(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 ie(){{if($.current){var D=H($.current.type);if(D)return`
|
|
154
154
|
|
|
155
155
|
Check the render method of \``+D+"`."}return""}}function oe(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 Ie(D){{var q=ie();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=Ie(q);if(Oe[pe])return;Oe[pe]=!0;var ke="";D&&D._owner&&D._owner!==$.current&&(ke=" It was passed a child from "+H(D._owner.type)+"."),R(D),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,ke),R(null)}}function We(D,q){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var ke=D[pe];G(ke)&&Me(ke,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var He=M(D);if(typeof He=="function"&&He!==D.entries)for(var ft=He.call(D),Je;!(Je=ft.next()).done;)G(Je.value)&&Me(Je.value,q)}}}function Le(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 ke=H(q);ra(pe,D.props,"prop",ke,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var He=H(q);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qe(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var ke=q[pe];if(ke!=="children"&&ke!=="key"){R(D),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),R(null);break}}D.ref!==null&&(R(D),O("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,ke,He,ft){{var Je=be(D);if(!Je){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=oe(He);Ct?Ke+=Ct:Ke+=ie();var kt;D===null?kt="null":qr(D)?kt="array":D!==void 0&&D.$$typeof===a?(kt="<"+(H(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof D,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,Ke)}var Wt=Yr(D,q,pe,He,ft);if(Wt==null)return Wt;if(Je){var $r=q.children;if($r!==void 0)if(ke)if(qr($r)){for(var Ha=0;Ha<$r.length;Ha++)We($r[Ha],D);Object.freeze&&Object.freeze($r)}else O("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(Ut.call(q,"key")){var ia=H(D),la=Object.keys(q).filter(function(qn){return qn!=="key"})
|
|
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=Ie(q);if(Oe[pe])return;Oe[pe]=!0;var ke="";D&&D._owner&&D._owner!==$.current&&(ke=" It was passed a child from "+H(D._owner.type)+"."),R(D),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,ke),R(null)}}function We(D,q){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var ke=D[pe];G(ke)&&Me(ke,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var He=M(D);if(typeof He=="function"&&He!==D.entries)for(var ft=He.call(D),Je;!(Je=ft.next()).done;)G(Je.value)&&Me(Je.value,q)}}}function Le(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 ke=H(q);ra(pe,D.props,"prop",ke,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var He=H(q);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qe(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var ke=q[pe];if(ke!=="children"&&ke!=="key"){R(D),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),R(null);break}}D.ref!==null&&(R(D),O("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,ke,He,ft){{var Je=be(D);if(!Je){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=oe(He);Ct?Ke+=Ct:Ke+=ie();var kt;D===null?kt="null":qr(D)?kt="array":D!==void 0&&D.$$typeof===a?(kt="<"+(H(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof D,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,Ke)}var Wt=Yr(D,q,pe,He,ft);if(Wt==null)return Wt;if(Je){var $r=q.children;if($r!==void 0)if(ke)if(qr($r)){for(var Ha=0;Ha<$r.length;Ha++)We($r[Ha],D);Object.freeze&&Object.freeze($r)}else O("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(Ut.call(q,"key")){var ia=H(D),la=Object.keys(q).filter(function(qn){return qn!=="key"}),Ga=la.length>0?"{key: someKey, "+la.join(": ..., ")+": ...}":"{key: someKey}";if(!I[ia+Ga]){var Nt=la.length>0?"{"+la.join(": ..., ")+": ...}":"{}";O(`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}
|
|
164
|
+
<%s key={someKey} {...props} />`,Ga,ia,Nt,ia),I[ia+Ga]=!0}}return D===l?Qe(Wt):Le(Wt),Wt}}function ae(D,q,pe){return V(D,q,pe,!0)}function se(D,q,pe){return V(D,q,pe,!1)}var Ve=se,Fe=ae;Y_.Fragment=l,Y_.jsx=Ve,Y_.jsxs=Fe})()});var Dt=Ue((hG,f5)=>{"use strict";f5.exports=u5()});var dE={};Dd(dE,{api:()=>To,config:()=>RY,counter:()=>zY,dom:()=>AY,findIconDefinition:()=>NY,icon:()=>MY,layer:()=>PY,library:()=>DY,noAuto:()=>EY,parse:()=>LY,text:()=>IY,toHtml:()=>OY});function p5(r,a){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);a&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),o.push.apply(o,l)}return o}function vt(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?p5(Object(o),!0).forEach(function(l){dn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):p5(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function ng(r){"@babel/helpers - typeof";return ng=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},ng(r)}function XW(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 l=a[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}function QW(r,a,o){return a&&h5(r.prototype,a),o&&h5(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function dn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function R2(r,a){return ZW(r)||tq(r,a)||F5(r,a)||aq()}function nm(r){return JW(r)||eq(r)||F5(r)||rq()}function JW(r){if(Array.isArray(r))return _2(r)}function ZW(r){if(Array.isArray(r))return r}function eq(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function tq(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var l=[],s=!0,f=!1,u,h;try{for(o=o.call(r);!(s=(u=o.next()).done)&&(l.push(u.value),!(a&&l.length===a));s=!0);}catch(p){f=!0,h=p}finally{try{!s&&o.return!=null&&o.return()}finally{if(f)throw h}}return l}}function F5(r,a){if(r){if(typeof r=="string")return _2(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 _2(r,a)}}function _2(r,a){(a==null||a>r.length)&&(a=r.length);for(var o=0,l=new Array(a);o<a;o++)l[o]=r[o];return l}function rq(){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 aq(){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,l){return l in o?o[l]:o[ba]}})}function mq(r){var a=ya.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function vq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function _q(r){return Qh.push(r),function(){Qh.splice(Qh.indexOf(r),1)}}function gq(r){if(!(!r||!uc)){var a=ya.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=ya.head.childNodes,l=null,s=o.length-1;s>-1;s--){var f=o[s],u=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(u)>-1&&(l=f)}return ya.head.insertBefore(a,l),r}}function rm(){for(var r=12,a="";r-- >0;)a+=bq[Math.random()*62|0];return a}function Bd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function N2(r){return r.classList?Bd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function X5(r){return"".concat(r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function yq(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 O2(r){return r.size!==Cs.size||r.x!==Cs.x||r.y!==Cs.y||r.rotate!==Cs.rotate||r.flipX||r.flipY}function Sq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={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(l/2*-1," -256)")};return{outer:s,inner:p,path:m}}function wq(r){var a=r.transform,o=r.width,l=o===void 0?_2:o,s=r.height,f=s===void 0?_2:s,u=r.startCentered,h=u===void 0?!1:u,p="";return h&&V5?p+="translate(".concat(a.x/ou-l/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,l=xt.replacementClass,s=Cq;if(o!==r||l!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),u=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(f,".".concat(o,"-")).replace(u,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function d2(){xt.autoAddCss&&!S5&&(gq(Q5()),S5=!0)}function Tq(r){uc&&(ng?setTimeout(r,0):J5.push(r))}function om(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,f=s===void 0?[]:s;return typeof r=="string"?X5(r):"<".concat(a," ").concat(yq(l),">").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 Rq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((s&1023)<<10)+(f&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function b2(r){var a=Rq(r);return a.length===1?a[0].toString(16):null}function Dq(r,a){var o=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&o>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function C5(r){return Object.keys(r).reduce(function(a,o){var l=r[o],s=!!l.icon;return s?a[l.iconName]=l.icon:a[o]=l,a},{})}function y2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=C5(a);typeof Kl.hooks.addPack=="function"&&!s?Kl.hooks.addPack(r,C5(a)):Kl.styles[r]=vt(vt({},Kl.styles[r]||{}),f),r==="fas"&&y2("fa",a)}function Oq(r){return~hq.indexOf(r)}function Mq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!Oq(s)?s:null}function P2(r,a){return(Z5[r]||{})[a]}function Pq(r,a){return(eE[r]||{})[a]}function af(r,a){return(aE[r]||{})[a]}function oE(r){return tE[r]||{prefix:null,iconName:null}}function Iq(r){var a=rE[r],o=P2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lu(){return M2}function lg(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?ba:o,s=Jh[l][r],f=Zh[l][r]||Zh[l][s],u=r in Kl.styles?r:null;return f||u||null}function sg(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,f=(a={},fn(a,ba,"".concat(xt.cssPrefix,"-").concat(ba)),fn(a,za,"".concat(xt.cssPrefix,"-").concat(za)),a),u=null,h=ba;(r.includes(f[ba])||r.some(function(m){return x5[ba].includes(m)}))&&(h=ba),(r.includes(f[za])||r.some(function(m){return x5[za].includes(m)}))&&(h=za);var p=r.reduce(function(m,g){var b=Mq(xt.cssPrefix,g);if(Md[g]?(g=Lq[h].includes(g)?sq[h][g]:g,u=g,m.prefix=g):Nq[h].indexOf(g)>-1?(u=g,m.prefix=lg(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ba]&&g!==f[za]&&m.rest.push(g),!s&&m.prefix&&m.iconName){var S=u==="fa"?oE(m.iconName):{},C=af(m.prefix,m.iconName);S.prefix&&(u=null),m.iconName=S.iconName||C||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Md.far&&Md.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},I2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===za&&(Md.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=af(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||u==="fa")&&(p.prefix=lu()||"fas"),p}function Fq(r,a){var o=a.mixoutsTo;return k5=r,Pd={},Object.keys(Id).forEach(function(l){Bq.indexOf(l)===-1&&delete Id[l]}),k5.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(u){typeof s[u]=="function"&&(o[u]=s[u]),ag(s[u])==="object"&&Object.keys(s[u]).forEach(function(h){o[u]||(o[u]={}),o[u][h]=s[u][h]})}),l.hooks){var f=l.hooks();Object.keys(f).forEach(function(u){Pd[u]||(Pd[u]=[]),Pd[u].push(f[u])})}l.provides&&l.provides(Id)}),o}function S2(r,a){for(var o=arguments.length,l=new Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];var f=Pd[r]||[];return f.forEach(function(u){a=u.apply(null,[a].concat(l))}),a}function of(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];var s=Pd[r]||[];s.forEach(function(f){f.apply(null,o)})}function cc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Id[r]?Id[r].apply(null,a):void 0}function w2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lu();if(a)return a=af(o,a)||a,w5(iE.definitions,o,a)||w5(Kl.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(l){return om(l)})}}),Object.defineProperty(r,"node",{get:function(){if(uc){var l=ya.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function Wq(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,f=r.styles,u=r.transform;if(O2(u)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=ig(vt(vt({},f),{},{"transform-origin":"".concat(m.x+u.x/16,"em ").concat(m.y+u.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function qq(r){var a=r.prefix,o=r.iconName,l=r.children,s=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:vt(vt({},s),{},{id:u}),children:l}]}]}function z2(r){var a=r.icons,o=a.main,l=a.mask,s=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,C=S===void 0?!1:S,k=l.found?l:o,L=k.width,M=k.height,Y=s==="fak",O=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(re){return b.classes.indexOf(re)===-1}).filter(function(re){return re!==""||!!re}).concat(b.classes).join(" "),j={children:[],attributes:vt(vt({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:O,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(M)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(L/M*16*.0625,"em")}:{};C&&(j.attributes[nf]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(g||rm())},children:[p]}),delete j.attributes.title);var Q=vt(vt({},j),{},{prefix:s,iconName:f,main:o,mask:l,maskId:m,transform:u,symbol:h,styles:vt(vt({},F),b.styles)}),N=l.found&&o.found?cc("generateAbstractMask",Q)||{children:[],attributes:{}}:cc("generateAbstractIcon",Q)||{children:[],attributes:{}},te=N.children,_e=N.attributes;return Q.children=te,Q.attributes=_e,h?qq(Q):Wq(Q)}function T5(r){var a=r.content,o=r.width,l=r.height,s=r.transform,f=r.title,u=r.extra,h=r.watchable,p=h===void 0?!1:h,m=vt(vt(vt({},u.attributes),f?{title:f}:{}),{},{class:u.classes.join(" ")});p&&(m[nf]="");var g=vt({},u.styles);O2(s)&&(g.transform=wq({transform:s,startCentered:!0,width:o,height:l}),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 Yq(r){var a=r.content,o=r.title,l=r.extra,s=vt(vt(vt({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),f=ig(l.styles);f.length>0&&(s.style=f);var u=[];return u.push({tag:"span",attributes:s,children:[a]}),o&&u.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),u}function C2(r){var a=r[0],o=r[1],l=r.slice(4),s=E2(l,1),f=s[0],u=null;return Array.isArray(f)?u={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.PRIMARY),fill:"currentColor",d:f[1]}}]}:u={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:u}}function Gq(r,a){!Y5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function x2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lu()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:cc("missingIconAbstract")||{}};if(o==="fa"){var u=oE(r)||{};r=u.iconName||r,a=u.prefix||a}if(r&&a&&h2[a]&&h2[a][r]){var h=h2[a][r];return l(C2(h))}Gq(r,a),l(vt(vt({},$q),{},{icon:xt.showMissingIcons&&r?cc("missingIconAbstract")||{}:{}}))})}function R5(r){var a=r.getAttribute?r.getAttribute(nf):null;return typeof a=="string"}function Xq(r){var a=r.getAttribute?r.getAttribute(D2):null,o=r.getAttribute?r.getAttribute(A2):null;return a&&o}function Qq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Jq(){if(xt.autoReplaceSvg===!0)return rg.replace;var r=rg[xt.autoReplaceSvg];return r||rg.replace}function Zq(r){return ya.createElementNS("http://www.w3.org/2000/svg",r)}function eY(r){return ya.createElement(r)}function sE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?Zq:eY:o;if(typeof r=="string")return ya.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(u){s.setAttribute(u,r.attributes[u])});var f=r.children||[];return f.forEach(function(u){s.appendChild(sE(u,{ceFn:l}))}),s}function tY(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 l=D5;xt.mutateApproach===iq&&(l=iu.requestAnimationFrame||D5),l(function(){var s=Jq(),f=B2.begin("mutate");r.map(s),f(),o()})}}function uE(){F2=!0}function T2(){F2=!1}function A5(r){if(g5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?tg:a,l=r.nodeCallback,s=l===void 0?tg:l,f=r.pseudoElementsCallback,u=f===void 0?tg:f,h=r.observeMutationsRoot,p=h===void 0?ya:h;og=new g5(function(m){if(!F2){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)&&~pq.indexOf(b.attributeName))if(b.attributeName==="class"&&Xq(b.target)){var S=sg(N2(b.target)),C=S.prefix,k=S.iconName;b.target.setAttribute(D2,C||g),k&&b.target.setAttribute(A2,k)}else Qq(b.target)&&s(b.target)})}}),uc&&og.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function rY(){og&&og.disconnect()}function aY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var f=s.split(":"),u=f[0],h=f.slice(1);return u&&h.length>0&&(l[u]=h.join(":").trim()),l},{})),o}function nY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=sg(N2(r));return s.prefix||(s.prefix=lu()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Pq(s.prefix,r.innerText)||P2(s.prefix,b2(r.innerText))),!s.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function oY(r){var a=Bd(r.attributes).reduce(function(s,f){return s.name!=="class"&&s.name!=="style"&&(s[f.name]=f.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(l||rm()):(a["aria-hidden"]="true",a.focusable="false")),a}function iY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Cs,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=nY(r),l=o.iconName,s=o.prefix,f=o.rest,u=oY(r),h=S2("parseNodeAttributes",{},r),p=a.styleParser?aY(r):[];return vt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:Cs,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)?cc("generateLayersText",r,a):cc("generateSvgReplacementMutation",r,a)}function N5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!uc)return Promise.resolve();var o=ya.documentElement.classList,l=function(b){return o.add("".concat(b5,"-").concat(b))},s=function(b){return o.remove("".concat(b5,"-").concat(b))},f=xt.autoFetchSvg?su:L2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(lY));f.includes("fa")||f.push("fa");var u=[".".concat($5,":not([").concat(nf,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(nf,"])")})).join(", ");if(u.length===0)return Promise.resolve();var h=[];try{h=Bd(r.querySelectorAll(u))}catch(g){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=B2.begin("onTree"),m=h.reduce(function(g,b){try{var S=fE(b);S&&g.push(S)}catch(C){Y5||C.name==="MissingIcon"&&console.error(C)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(S){cE(S,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(S){p(),b(S)})})}function sY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;fE(r).then(function(o){o&&cE([o],a)})}function cY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:w2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:w2(s||{})),r(l,vt(vt({},o),{},{mask:s}))}}function vY(r){var a=r.replace(mY,""),o=Dq(a,0),l=o>=O5[0]&&o<=O5[1],s=a.length===2?a[0]===a[1]:!1;return{value:b2(s?a[0]:a),isSecondary:l||s}}function M5(r,a){var o="".concat(oq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var f=Bd(r.children),u=f.filter(function(te){return te.getAttribute(g2)===a})[0],h=iu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(uq),m=h.getPropertyValue("font-weight"),g=h.getPropertyValue("content");if(u&&!p)return r.removeChild(u),l();if(p&&g!=="none"&&g!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?za:ba,C=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Zh[S][p[2].toLowerCase()]:fq[S][m],k=vY(b),L=k.value,M=k.isSecondary,Y=p[0].startsWith("FontAwesome"),O=P2(C,L),j=O;if(Y){var F=Iq(L);F.iconName&&F.prefix&&(O=F.iconName,C=F.prefix)}if(O&&!M&&(!u||u.getAttribute(D2)!==C||u.getAttribute(A2)!==j)){r.setAttribute(o,j),u&&r.removeChild(u);var Q=iY(),N=Q.extra;N.attributes[g2]=a,x2(O,C).then(function(te){var _e=z2(vt(vt({},Q),{},{icons:{main:te,mask:I2()},prefix:C,iconName:j,extra:N,watchable:!0})),re=ya.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(re,r.firstChild):r.appendChild(re),re.outerHTML=_e.map(function(be){return om(be)}).join(`
|
|
167
|
-
`),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function _Y(r){return Promise.all([M5(r,"::before"),M5(r,"::after")])}function gY(r){return r.parentNode!==document.head&&!~lq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(
|
|
166
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function om(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[ba]}})}function mq(r){var a=ya.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function vq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function _q(r){return Jh.push(r),function(){Jh.splice(Jh.indexOf(r),1)}}function gq(r){if(!(!r||!uc)){var a=ya.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=ya.head.childNodes,l=null,s=o.length-1;s>-1;s--){var f=o[s],u=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(u)>-1&&(l=f)}return ya.head.insertBefore(a,l),r}}function am(){for(var r=12,a="";r-- >0;)a+=bq[Math.random()*62|0];return a}function jd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function O2(r){return r.classList?jd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function X5(r){return"".concat(r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function yq(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat(X5(r[o]),'" ')},"").trim()}function lg(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function M2(r){return r.size!==xs.size||r.x!==xs.x||r.y!==xs.y||r.rotate!==xs.rotate||r.flipX||r.flipY}function Sq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={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(l/2*-1," -256)")};return{outer:s,inner:p,path:m}}function wq(r){var a=r.transform,o=r.width,l=o===void 0?g2:o,s=r.height,f=s===void 0?g2:s,u=r.startCentered,h=u===void 0?!1:u,p="";return h&&V5?p+="translate(".concat(a.x/ou-l/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,l=xt.replacementClass,s=Cq;if(o!==r||l!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),u=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(f,".".concat(o,"-")).replace(u,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function p2(){xt.autoAddCss&&!S5&&(gq(Q5()),S5=!0)}function Tq(r){uc&&(og?setTimeout(r,0):J5.push(r))}function im(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,f=s===void 0?[]:s;return typeof r=="string"?X5(r):"<".concat(a," ").concat(yq(l),">").concat(f.map(im).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 Rq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((s&1023)<<10)+(f&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function y2(r){var a=Rq(r);return a.length===1?a[0].toString(16):null}function Dq(r,a){var o=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&o>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function C5(r){return Object.keys(r).reduce(function(a,o){var l=r[o],s=!!l.icon;return s?a[l.iconName]=l.icon:a[o]=l,a},{})}function S2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=C5(a);typeof Xl.hooks.addPack=="function"&&!s?Xl.hooks.addPack(r,C5(a)):Xl.styles[r]=vt(vt({},Xl.styles[r]||{}),f),r==="fas"&&S2("fa",a)}function Oq(r){return~hq.indexOf(r)}function Mq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!Oq(s)?s:null}function I2(r,a){return(Z5[r]||{})[a]}function Pq(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 Iq(r){var a=rE[r],o=I2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lu(){return P2}function sg(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?ba:o,s=Zh[l][r],f=em[l][r]||em[l][s],u=r in Xl.styles?r:null;return f||u||null}function cg(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,f=(a={},dn(a,ba,"".concat(xt.cssPrefix,"-").concat(ba)),dn(a,za,"".concat(xt.cssPrefix,"-").concat(za)),a),u=null,h=ba;(r.includes(f[ba])||r.some(function(m){return x5[ba].includes(m)}))&&(h=ba),(r.includes(f[za])||r.some(function(m){return x5[za].includes(m)}))&&(h=za);var p=r.reduce(function(m,g){var b=Mq(xt.cssPrefix,g);if(Id[g]?(g=Lq[h].includes(g)?sq[h][g]:g,u=g,m.prefix=g):Nq[h].indexOf(g)>-1?(u=g,m.prefix=sg(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ba]&&g!==f[za]&&m.rest.push(g),!s&&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"&&!Id.far&&Id.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},z2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===za&&(Id.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 Fq(r,a){var o=a.mixoutsTo;return k5=r,zd={},Object.keys(Bd).forEach(function(l){Bq.indexOf(l)===-1&&delete Bd[l]}),k5.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(u){typeof s[u]=="function"&&(o[u]=s[u]),ng(s[u])==="object"&&Object.keys(s[u]).forEach(function(h){o[u]||(o[u]={}),o[u][h]=s[u][h]})}),l.hooks){var f=l.hooks();Object.keys(f).forEach(function(u){zd[u]||(zd[u]=[]),zd[u].push(f[u])})}l.provides&&l.provides(Bd)}),o}function w2(r,a){for(var o=arguments.length,l=new Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];var f=zd[r]||[];return f.forEach(function(u){a=u.apply(null,[a].concat(l))}),a}function lf(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];var s=zd[r]||[];s.forEach(function(f){f.apply(null,o)})}function cc(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Bd[r]?Bd[r].apply(null,a):void 0}function C2(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(Xl.styles,o,a)}function ug(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return im(l)})}}),Object.defineProperty(r,"node",{get:function(){if(uc){var l=ya.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function Wq(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,f=r.styles,u=r.transform;if(M2(u)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=lg(vt(vt({},f),{},{"transform-origin":"".concat(m.x+u.x/16,"em ").concat(m.y+u.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function qq(r){var a=r.prefix,o=r.iconName,l=r.children,s=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:vt(vt({},s),{},{id:u}),children:l}]}]}function B2(r){var a=r.icons,o=a.main,l=a.mask,s=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=l.found?l:o,L=k.width,M=k.height,Y=s==="fak",O=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(re){return b.classes.indexOf(re)===-1}).filter(function(re){return re!==""||!!re}).concat(b.classes).join(" "),j={children:[],attributes:vt(vt({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:O,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(M)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(L/M*16*.0625,"em")}:{};w&&(j.attributes[of]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(g||am())},children:[p]}),delete j.attributes.title);var Q=vt(vt({},j),{},{prefix:s,iconName:f,main:o,mask:l,maskId:m,transform:u,symbol:h,styles:vt(vt({},F),b.styles)}),N=l.found&&o.found?cc("generateAbstractMask",Q)||{children:[],attributes:{}}:cc("generateAbstractIcon",Q)||{children:[],attributes:{}},te=N.children,_e=N.attributes;return Q.children=te,Q.attributes=_e,h?qq(Q):Wq(Q)}function T5(r){var a=r.content,o=r.width,l=r.height,s=r.transform,f=r.title,u=r.extra,h=r.watchable,p=h===void 0?!1:h,m=vt(vt(vt({},u.attributes),f?{title:f}:{}),{},{class:u.classes.join(" ")});p&&(m[of]="");var g=vt({},u.styles);M2(s)&&(g.transform=wq({transform:s,startCentered:!0,width:o,height:l}),g["-webkit-transform"]=g.transform);var b=lg(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 Yq(r){var a=r.content,o=r.title,l=r.extra,s=vt(vt(vt({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),f=lg(l.styles);f.length>0&&(s.style=f);var u=[];return u.push({tag:"span",attributes:s,children:[a]}),o&&u.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),u}function x2(r){var a=r[0],o=r[1],l=r.slice(4),s=R2(l,1),f=s[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 Gq(r,a){!Y5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function k2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lu()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:cc("missingIconAbstract")||{}};if(o==="fa"){var u=oE(r)||{};r=u.iconName||r,a=u.prefix||a}if(r&&a&&m2[a]&&m2[a][r]){var h=m2[a][r];return l(x2(h))}Gq(r,a),l(vt(vt({},$q),{},{icon:xt.showMissingIcons&&r?cc("missingIconAbstract")||{}:{}}))})}function R5(r){var a=r.getAttribute?r.getAttribute(of):null;return typeof a=="string"}function Xq(r){var a=r.getAttribute?r.getAttribute(A2):null,o=r.getAttribute?r.getAttribute(L2):null;return a&&o}function Qq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Jq(){if(xt.autoReplaceSvg===!0)return ag.replace;var r=ag[xt.autoReplaceSvg];return r||ag.replace}function Zq(r){return ya.createElementNS("http://www.w3.org/2000/svg",r)}function eY(r){return ya.createElement(r)}function sE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?Zq:eY:o;if(typeof r=="string")return ya.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(u){s.setAttribute(u,r.attributes[u])});var f=r.children||[];return f.forEach(function(u){s.appendChild(sE(u,{ceFn:l}))}),s}function tY(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:rg;if(r.length===0)o();else{var l=D5;xt.mutateApproach===iq&&(l=iu.requestAnimationFrame||D5),l(function(){var s=Jq(),f=F2.begin("mutate");r.map(s),f(),o()})}}function uE(){j2=!0}function E2(){j2=!1}function A5(r){if(g5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?rg:a,l=r.nodeCallback,s=l===void 0?rg:l,f=r.pseudoElementsCallback,u=f===void 0?rg:f,h=r.observeMutationsRoot,p=h===void 0?ya:h;ig=new g5(function(m){if(!j2){var g=lu();jd(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)&&~pq.indexOf(b.attributeName))if(b.attributeName==="class"&&Xq(b.target)){var S=cg(O2(b.target)),w=S.prefix,k=S.iconName;b.target.setAttribute(A2,w||g),k&&b.target.setAttribute(L2,k)}else Qq(b.target)&&s(b.target)})}}),uc&&ig.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function rY(){ig&&ig.disconnect()}function aY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var f=s.split(":"),u=f[0],h=f.slice(1);return u&&h.length>0&&(l[u]=h.join(":").trim()),l},{})),o}function nY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=cg(O2(r));return s.prefix||(s.prefix=lu()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Pq(s.prefix,r.innerText)||I2(s.prefix,y2(r.innerText))),!s.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function oY(r){var a=jd(r.attributes).reduce(function(s,f){return s.name!=="class"&&s.name!=="style"&&(s[f.name]=f.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(l||am()):(a["aria-hidden"]="true",a.focusable="false")),a}function iY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:xs,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=nY(r),l=o.iconName,s=o.prefix,f=o.rest,u=oY(r),h=w2("parseNodeAttributes",{},r),p=a.styleParser?aY(r):[];return vt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:xs,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)?cc("generateLayersText",r,a):cc("generateSvgReplacementMutation",r,a)}function N5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!uc)return Promise.resolve();var o=ya.documentElement.classList,l=function(b){return o.add("".concat(b5,"-").concat(b))},s=function(b){return o.remove("".concat(b5,"-").concat(b))},f=xt.autoFetchSvg?su:N2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(lY));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=jd(r.querySelectorAll(u))}catch(g){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=F2.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(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(S){p(),b(S)})})}function sY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;fE(r).then(function(o){o&&cE([o],a)})}function cY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:C2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:C2(s||{})),r(l,vt(vt({},o),{},{mask:s}))}}function vY(r){var a=r.replace(mY,""),o=Dq(a,0),l=o>=O5[0]&&o<=O5[1],s=a.length===2?a[0]===a[1]:!1;return{value:y2(s?a[0]:a),isSecondary:l||s}}function M5(r,a){var o="".concat(oq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var f=jd(r.children),u=f.filter(function(te){return te.getAttribute(b2)===a})[0],h=iu.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(uq),m=h.getPropertyValue("font-weight"),g=h.getPropertyValue("content");if(u&&!p)return r.removeChild(u),l();if(p&&g!=="none"&&g!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?za:ba,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?em[S][p[2].toLowerCase()]:fq[S][m],k=vY(b),L=k.value,M=k.isSecondary,Y=p[0].startsWith("FontAwesome"),O=I2(w,L),j=O;if(Y){var F=Iq(L);F.iconName&&F.prefix&&(O=F.iconName,w=F.prefix)}if(O&&!M&&(!u||u.getAttribute(A2)!==w||u.getAttribute(L2)!==j)){r.setAttribute(o,j),u&&r.removeChild(u);var Q=iY(),N=Q.extra;N.attributes[b2]=a,k2(O,w).then(function(te){var _e=B2(vt(vt({},Q),{},{icons:{main:te,mask:z2()},prefix:w,iconName:j,extra:N,watchable:!0})),re=ya.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(re,r.firstChild):r.appendChild(re),re.outerHTML=_e.map(function(be){return im(be)}).join(`
|
|
167
|
+
`),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function _Y(r){return Promise.all([M5(r,"::before"),M5(r,"::after")])}function gY(r){return r.parentNode!==document.head&&!~lq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(b2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function P5(r){if(uc)return new Promise(function(a,o){var l=jd(r.querySelectorAll("*")).filter(gY).map(_Y),s=F2.begin("searchPseudoElements");uE(),Promise.all(l).then(function(){s(),E2(),a()}).catch(function(){s(),E2(),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 wY(r){return r.tag==="g"?r.children:[r]}var m5,D2,j5,H5,U5,nq,v5,_5,iu,ya,g5,$_,gG,uc,V5,G_,K_,X_,Q_,J_,lc,g2,W5,q5,of,b2,oq,A2,L2,b5,iq,lq,Y5,ba,za,N2,Zh,em,tm,sq,cq,$5,uq,fq,G5,dq,pq,af,rm,hq,Qh,y5,K5,Fd,xt,Jh,ou,xs,bq,Cq,S5,xq,sc,Xl,J5,kq,og,Eq,h2,Z_,eg,tg,Id,Aq,Lq,P2,Z5,eE,tE,rE,aE,Nq,nE,z2,x5,zq,k5,zd,Bd,Bq,iE,jq,Hq,Uq,To,Vq,m2,$q,E5,T2,Xh,Kq,lE,F2,rg,ag,j2,ig,lY,su,uY,fY,dY,pY,hY,mY,O5,bY,I5,yY,z5,SY,v2,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,MY,PY,IY,zY,pE=EV(()=>{m5=function(){},D2={},j5={},H5=null,U5={mark:m5,measure:m5};try{typeof window!="undefined"&&(D2=window),typeof document!="undefined"&&(j5=document),typeof MutationObserver!="undefined"&&(H5=MutationObserver),typeof performance!="undefined"&&(U5=performance)}catch(r){}nq=D2.navigator||{},v5=nq.userAgent,_5=v5===void 0?"":v5,iu=D2,ya=j5,g5=H5,$_=U5,gG=!!iu.document,uc=!!ya.documentElement&&!!ya.head&&typeof ya.addEventListener=="function"&&typeof ya.createElement=="function",V5=~_5.indexOf("MSIE")||~_5.indexOf("Trident/"),lc="___FONT_AWESOME___",g2=16,W5="fa",q5="svg-inline--fa",of="data-fa-i2svg",b2="data-fa-pseudo-element",oq="data-fa-pseudo-element-pending",A2="data-prefix",L2="data-icon",b5="fontawesome-i2svg",iq="async",lq=["HTML","HEAD","STYLE","SCRIPT"],Y5=function(){try{return!1}catch(r){return!1}}(),ba="classic",za="sharp",N2=[ba,za];Zh=om((G_={},dn(G_,ba,{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"}),dn(G_,za,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),G_)),em=om((K_={},dn(K_,ba,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),dn(K_,za,{solid:"fass",regular:"fasr",light:"fasl"}),K_)),tm=om((X_={},dn(X_,ba,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),dn(X_,za,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),X_)),sq=om((Q_={},dn(Q_,ba,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),dn(Q_,za,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Q_)),cq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,$5="fa-layers-text",uq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,fq=om((J_={},dn(J_,ba,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),dn(J_,za,{900:"fass",400:"fasr",300:"fasl"}),J_)),G5=[1,2,3,4,5,6,7,8,9,10],dq=G5.concat([11,12,13,14,15,16,17,18,19,20]),pq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],af={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},rm=new Set;Object.keys(em[ba]).map(rm.add.bind(rm));Object.keys(em[za]).map(rm.add.bind(rm));hq=[].concat(N2,nm(rm),["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(dq.map(function(r){return"w-".concat(r)})),Qh=iu.FontAwesomeConfig||{};ya&&typeof ya.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=R2(r,2),o=a[0],l=a[1],s=vq(mq(o));s!=null&&(Qh[l]=s)}));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};Qh.familyPrefix&&(Qh.cssPrefix=Qh.familyPrefix);Fd=vt(vt({},K5),Qh);Fd.autoReplaceSvg||(Fd.observeMutations=!1);xt={};Object.keys(K5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){Fd[r]=o,Jh.forEach(function(l){return l(xt)})},get:function(){return Fd[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){Fd.cssPrefix=a,Jh.forEach(function(o){return o(xt)})},get:function(){return Fd.cssPrefix}});iu.FontAwesomeConfig=xt;Jh=[];ou=g2,xs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};bq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";Cq=`: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";
|
|
@@ -920,10 +920,10 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
920
920
|
.fad.fa-inverse,
|
|
921
921
|
.fa-duotone.fa-inverse {
|
|
922
922
|
color: var(--fa-inverse, #fff);
|
|
923
|
-
}`;S5=!1;xq={mixout:function(){return{dom:{css:Q5,insertCss:
|
|
924
|
-
`);o.setAttribute(nf,""),o.innerHTML=u}};F2=!1;og=null;lY=Kl.styles;su=new Set;L2.map(function(r){su.add("fa-".concat(r))});Object.keys(Jh[ba]).map(su.add.bind(su));Object.keys(Jh[za]).map(su.add.bind(su));su=am(su);uY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Cs:l,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,C=o.titleId,k=C===void 0?null:C,L=o.classes,M=L===void 0?[]:L,Y=o.attributes,O=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Q=a.prefix,N=a.iconName,te=a.icon;return cg(vt({type:"icon"},a),function(){return of("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?O["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||rm()):(O["aria-hidden"]="true",O.focusable="false")),z2({icons:{main:C2(te),mask:p?C2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Q,iconName:N,transform:vt(vt({},Cs),s),symbol:u,title:S,maskId:g,titleId:k,extra:{attributes:O,styles:F,classes:M}})})}},fY={mixout:function(){return{icon:cY(uY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=N5,o.nodeCallback=sY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?ya:l,f=o.callback,u=f===void 0?function(){}:f;return N5(s,u)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,f=l.title,u=l.titleId,h=l.prefix,p=l.transform,m=l.symbol,g=l.mask,b=l.maskId,S=l.extra;return new Promise(function(C,k){Promise.all([x2(s,h),g.iconName?x2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var M=E2(L,2),Y=M[0],O=M[1];C([o,z2({icons:{main:Y,mask:O},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:u,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.transform,h=o.styles,p=ig(h);p.length>0&&(s.style=p);var m;return O2(u)&&(m=cc("generateAbstractTransformGrouping",{main:f,transform:u,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},dY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,f=s===void 0?[]:s;return cg({type:"layer"},function(){of("beforeDOMElementCreation",{assembler:o,params:l});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}]})}}}},pY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,f=s===void 0?null:s,u=l.classes,h=u===void 0?[]:u,p=l.attributes,m=p===void 0?{}:p,g=l.styles,b=g===void 0?{}:g;return cg({type:"counter",content:o},function(){return of("beforeDOMElementCreation",{content:o,params:l}),Yq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(am(h))}})})}}}},hY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,f=s===void 0?Cs:s,u=l.title,h=u===void 0?null:u,p=l.classes,m=p===void 0?[]:p,g=l.attributes,b=g===void 0?{}:g,S=l.styles,C=S===void 0?{}:S;return cg({type:"text",content:o},function(){return of("beforeDOMElementCreation",{content:o,params:l}),T5({content:o,transform:vt(vt({},Cs),f),title:h,extra:{attributes:b,styles:C,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(am(m))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,f=l.transform,u=l.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&&!s&&(u.attributes["aria-hidden"]="true"),Promise.resolve([o,T5({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:u,watchable:!0})])}}},mY=new RegExp('"',"ug"),O5=[1105920,1112319];bY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=P5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?ya:l;xt.searchPseudoElements&&P5(s)}}},I5=!1,yY={mixout:function(){return{dom:{unwatch:function(){uE(),I5=!0}}}},hooks:function(){return{bootstrap:function(){A5(S2("mutationObserverCallbacks",{}))},noAuto:function(){rY()},watch:function(o){var l=o.observeMutationsRoot;I5?T2():A5(S2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},z5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var f=s.toLowerCase().split("-"),u=f[0],h=f.slice(1).join("-");if(u&&h==="h")return l.flipX=!0,l;if(u&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(u){case"grow":l.size=l.size+h;break;case"shrink":l.size=l.size-h;break;case"left":l.x=l.x-h;break;case"right":l.x=l.x+h;break;case"up":l.y=l.y-h;break;case"down":l.y=l.y+h;break;case"rotate":l.rotate=l.rotate+h;break}return l},o)},SY={mixout:function(){return{parse:{transform:function(o){return z5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=z5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,f=o.containerWidth,u=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),m="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),g="rotate(".concat(s.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(g)},S={transform:"translate(".concat(u/2*-1," -256)")},C={outer:h,inner:b,path:S};return{tag:"g",attributes:vt({},C.outer),children:[{tag:"g",attributes:vt({},C.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:vt(vt({},l.icon.attributes),C.path)}]}]}}}},m2={x:0,y:0,width:"100%",height:"100%"};CY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),f=s?sg(s.split(" ").map(function(u){return u.trim()})):I2();return f.prefix||(f.prefix=lu()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=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,C=Sq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:vt(vt({},m2),{},{fill:"white"})},L=g.children?{children:g.children.map(B5)}:{},M={tag:"g",attributes:vt({},C.inner),children:[B5(vt({tag:g.tag,attributes:vt(vt({},g.attributes),C.path)},L))]},Y={tag:"g",attributes:vt({},C.outer),children:[M]},O="mask-".concat(h||rm()),j="clip-".concat(h||rm()),F={tag:"mask",attributes:vt(vt({},m2),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:wY(S)},F]};return l.push(Q,{tag:"rect",attributes:vt({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(O,")")},m2)}),{children:l,attributes:s}}}},xY={provides:function(a){var o=!1;iu.matchMedia&&(o=iu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:vt(vt({},s),{},{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=vt(vt({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:vt(vt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:vt(vt({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:vt(vt({},u),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:vt(vt({},s),{},{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:vt(vt({},u),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:vt(vt({},s),{},{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:vt(vt({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},kY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),f=s===null?!1:s===""?!0:s;return o.symbol=f,o}}}},TY=[xq,fY,dY,pY,hY,bY,yY,SY,CY,xY,kY];Fq(TY,{mixoutsTo:To});EY=To.noAuto,RY=To.config,DY=To.library,AY=To.dom,LY=To.parse,NY=To.findIconDefinition,OY=To.toHtml,MY=To.icon,PY=To.layer,IY=To.text,zY=To.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,l=r?Symbol.for("react.fragment"):60107,s=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,C=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,L=r?Symbol.for("react.block"):60121,M=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(Te){return typeof Te=="string"||typeof Te=="function"||Te===l||Te===m||Te===f||Te===s||Te===b||Te===S||typeof Te=="object"&&Te!==null&&(Te.$$typeof===k||Te.$$typeof===C||Te.$$typeof===u||Te.$$typeof===h||Te.$$typeof===g||Te.$$typeof===M||Te.$$typeof===Y||Te.$$typeof===O||Te.$$typeof===L)}function F(Te){if(typeof Te=="object"&&Te!==null){var ht=Te.$$typeof;switch(ht){case a:var Lt=Te.type;switch(Lt){case p:case m:case l:case f:case s:case b:return Lt;default:var jt=Lt&&Lt.$$typeof;switch(jt){case h:case g:case k:case C:case u:return jt;default:return ht}}case o:return ht}}}var Q=p,N=m,te=h,_e=u,re=a,be=g,ye=l,ge=k,H=C,le=o,fe=f,B=s,W=b,ne=!1;function ee(Te){return ne||(ne=!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.")),de(Te)||F(Te)===p}function de(Te){return F(Te)===m}function xe(Te){return F(Te)===h}function we(Te){return F(Te)===u}function Ye(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===a}function $e(Te){return F(Te)===g}function Pe(Te){return F(Te)===l}function et(Te){return F(Te)===k}function ut(Te){return F(Te)===C}function lt(Te){return F(Te)===o}function Tt(Te){return F(Te)===f}function wt(Te){return F(Te)===s}function Ze(Te){return F(Te)===b}ea.AsyncMode=Q,ea.ConcurrentMode=N,ea.ContextConsumer=te,ea.ContextProvider=_e,ea.Element=re,ea.ForwardRef=be,ea.Fragment=ye,ea.Lazy=ge,ea.Memo=H,ea.Portal=le,ea.Profiler=fe,ea.StrictMode=B,ea.Suspense=W,ea.isAsyncMode=ee,ea.isConcurrentMode=de,ea.isContextConsumer=xe,ea.isContextProvider=we,ea.isElement=Ye,ea.isForwardRef=$e,ea.isFragment=Pe,ea.isLazy=et,ea.isMemo=ut,ea.isPortal=lt,ea.isProfiler=Tt,ea.isStrictMode=wt,ea.isSuspense=Ze,ea.isValidElementType=j,ea.typeOf=F})()});var j2=Ue((yG,mE)=>{"use strict";mE.exports=hE()});var gE=Ue((SG,_E)=>{"use strict";var vE=Object.getOwnPropertySymbols,BY=Object.prototype.hasOwnProperty,FY=Object.prototype.propertyIsEnumerable;function jY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function HY(){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 l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}_E.exports=HY()?Object.assign:function(r,a){for(var o,l=jY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var u in o)BY.call(o,u)&&(l[u]=o[u]);if(vE){s=vE(o);for(var h=0;h<s.length;h++)FY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var H2=Ue((wG,bE)=>{"use strict";var UY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";bE.exports=UY});var U2=Ue((CG,yE)=>{yE.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var kE=Ue((xG,xE)=>{"use strict";var V2=function(){};SE=H2(),ug={},wE=U2(),V2=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,l,s){for(var f in r)if(wE(r,f)){var u;try{if(typeof r[f]!="function"){var h=Error((l||"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,l,o,null,SE)}catch(m){u=m}if(u&&!(u instanceof Error)&&V2((l||"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=s?s():"";V2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}CE.resetWarningCache=function(){ug={}};xE.exports=CE});var RE=Ue((kG,EE)=>{"use strict";var VY=j2(),WY=gE(),Fd=H2(),W2=U2(),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,l="@@iterator";function s(H){var le=H&&(o&&H[o]||H[l]);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:C(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:M,oneOfType:O,shape:Q,exact:N};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={},fe=0;function B(ne,ee,de,xe,we,Ye,$e){if(xe=xe||f,Ye=Ye||de,$e!==Fd){if(a){var Pe=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 Pe.name="Invariant Violation",Pe}else if(typeof console!="undefined"){var et=xe+":"+de;!le[et]&&fe<3&&(jd("You are manually calling a React.PropTypes validation function for the `"+Ye+"` prop on `"+xe+"`. 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[et]=!0,fe++)}}return ee[de]==null?ne?ee[de]===null?new p("The "+we+" `"+Ye+"` is marked as required "+("in `"+xe+"`, but its value is `null`.")):new p("The "+we+" `"+Ye+"` is marked as required in "+("`"+xe+"`, but its value is `undefined`.")):null:H(ee,de,xe,we,Ye)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function g(H){function le(fe,B,W,ne,ee,de){var xe=fe[B],we=re(xe);if(we!==H){var Ye=be(xe);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ye+"` supplied to `"+W+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(fg)}function S(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var de=fe[B];if(!Array.isArray(de)){var xe=re(de);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected an array."))}for(var we=0;we<de.length;we++){var Ye=H(de,we,W,ne,ee+"["+we+"]",Fd);if(Ye instanceof Error)return Ye}return null}return m(le)}function C(){function H(le,fe,B,W,ne){var ee=le[fe];if(!r(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,fe,B,W,ne){var ee=le[fe];if(!VY.isValidElementType(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function le(fe,B,W,ne,ee){if(!(fe[B]instanceof H)){var de=H.name||f,xe=ge(fe[B]);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected ")+("instance of `"+de+"`."))}return null}return m(le)}function M(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(fe,B,W,ne,ee){for(var de=fe[B],xe=0;xe<H.length;xe++)if(h(de,H[xe]))return null;var we=JSON.stringify(H,function($e,Pe){var et=be(Pe);return et==="symbol"?String(Pe):Pe});return new p("Invalid "+ne+" `"+ee+"` of value `"+String(de)+"` "+("supplied to `"+W+"`, expected one of "+we+"."))}return m(le)}function Y(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected an object."));for(var we in de)if(W2(de,we)){var Ye=H(de,we,W,ne,ee+"."+we,Fd);if(Ye instanceof Error)return Ye}return null}return m(le)}function O(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 fe=H[le];if(typeof fe!="function")return jd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ye(fe)+" at index "+le+"."),fg}function B(W,ne,ee,de,xe){for(var we=[],Ye=0;Ye<H.length;Ye++){var $e=H[Ye],Pe=$e(W,ne,ee,de,xe,Fd);if(Pe==null)return null;Pe.data&&W2(Pe.data,"expectedType")&&we.push(Pe.data.expectedType)}var et=we.length>0?", expected one of type ["+we.join(", ")+"]":"";return new p("Invalid "+de+" `"+xe+"` supplied to "+("`"+ee+"`"+et+"."))}return m(B)}function j(){function H(le,fe,B,W,ne){return te(le[fe])?null:new p("Invalid "+W+" `"+ne+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,fe,B,W){return new p((H||"React class")+": "+le+" type `"+fe+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function Q(H){function le(fe,B,W,ne,ee){var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+xe+"` "+("supplied to `"+W+"`, expected `object`."));for(var we in H){var Ye=H[we];if(typeof Ye!="function")return F(W,ne,ee,we,be(Ye));var $e=Ye(de,we,W,ne,ee+"."+we,Fd);if($e)return $e}return null}return m(le)}function N(H){function le(fe,B,W,ne,ee){var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+xe+"` "+("supplied to `"+W+"`, expected `object`."));var we=WY({},fe[B],H);for(var Ye in we){var $e=H[Ye];if(W2(H,Ye)&&typeof $e!="function")return F(W,ne,ee,Ye,be($e));if(!$e)return new p("Invalid "+ne+" `"+ee+"` key `"+Ye+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(fe[B],null," ")+`
|
|
925
|
-
Valid keys: `+JSON.stringify(Object.keys(H),null," "));var Pe=$e(de,Ye,W,ne,ee+"."+Ye,
|
|
926
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(B){var W,ne=B.beat,ee=B.fade,de=B.beatFade,xe=B.bounce,we=B.shake,Ye=B.flash,$e=B.spin,Pe=B.spinPulse,et=B.spinReverse,ut=B.pulse,lt=B.fixedWidth,Tt=B.inverse,wt=B.border,Ze=B.listItem,Te=B.flip,ht=B.size,Lt=B.rotation,jt=B.pull,Ut=(W={"fa-beat":ne,"fa-fade":ee,"fa-beat-fade":de,"fa-bounce":xe,"fa-shake":we,"fa-flash":Ye,"fa-spin":$e,"fa-spin-reverse":et,"fa-spin-pulse":Pe,"fa-pulse":ut,"fa-fw":lt,"fa-inverse":Tt,"fa-border":wt,"fa-li":Ze,"fa-flip":Te===!0,"fa-flip-horizontal":Te==="horizontal"||Te==="both","fa-flip-vertical":Te==="vertical"||Te==="both"},g(W,"fa-".concat(ht),typeof ht!="undefined"&&ht!==null),g(W,"fa-rotate-".concat(Lt),typeof Lt!="undefined"&&Lt!==null&&Lt!==0),g(W,"fa-pull-".concat(jt),typeof jt!="undefined"&&jt!==null),g(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(Ut).map(function(ar){return Ut[ar]?ar:null}).filter(function(ar){return ar})}function F(B){return B=B-0,B===B}function Q(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ne){return ne?ne.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var N=["style"];function te(B){return B.charAt(0).toUpperCase()+B.slice(1)}function _e(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ne){var ee=ne.indexOf(":"),de=Q(ne.slice(0,ee)),xe=ne.slice(ee+1).trim();return de.startsWith("webkit")?W[te(de)]=xe:W[de]=xe,W},{})}function re(B,W){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var ee=(W.children||[]).map(function($e){return re(B,$e)}),de=Object.keys(W.attributes||{}).reduce(function($e,Pe){var et=W.attributes[Pe];switch(Pe){case"class":$e.attrs.className=et,delete W.attributes.class;break;case"style":$e.attrs.style=_e(et);break;default:Pe.indexOf("aria-")===0||Pe.indexOf("data-")===0?$e.attrs[Pe.toLowerCase()]=et:$e.attrs[Q(Pe)]=et}return $e},{attrs:{}}),xe=ne.style,we=xe===void 0?{}:xe,Ye=S(ne,N);return de.attrs.style=p(p({},de.attrs.style),we),B.apply(void 0,[W.tag,p(p({},de.attrs),Ye)].concat(C(ee)))}var be=!1;try{be=!1}catch(B){}function ye(){if(!be&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function ge(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 ne=B.icon,ee=B.mask,de=B.symbol,xe=B.className,we=B.title,Ye=B.titleId,$e=B.maskId,Pe=ge(ne),et=H("classes",[].concat(C(j(B)),C(xe.split(" ")))),ut=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),lt=H("mask",ge(ee)),Tt=a.icon(Pe,p(p(p(p({},et),ut),lt),{},{symbol:de,title:we,titleId:Ye,maskId:$e}));if(!Tt)return ye("Could not find icon",Pe),null;var wt=Tt.abstract,Ze={ref:W};return Object.keys(B).forEach(function(Te){le.defaultProps.hasOwnProperty(Te)||(Ze[Te]=B[Te])}),fe(wt[0],Ze)});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 fe=re.bind(null,u.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var HE=Ue(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var PE="fas",IE="xmark",zE=384,BE=512,q2=[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";Wo.definition={prefix:PE,iconName:IE,icon:[zE,BE,q2,FE,jE]};Wo.faXmark=Wo.definition;Wo.prefix=PE;Wo.iconName=IE;Wo.width=zE;Wo.height=BE;Wo.ligatures=q2;Wo.unicode=FE;Wo.svgPathData=jE;Wo.aliases=q2});var UE=Ue(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var eo=HE();qo.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};qo.faTimes=qo.definition;qo.prefix=eo.prefix;qo.iconName=eo.iconName;qo.width=eo.width;qo.height=eo.height;qo.ligatures=eo.aliases;qo.unicode=eo.unicode;qo.svgPathData=eo.svgPathData;qo.aliases=eo.aliases});var KE=Ue(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var VE="fas",WE="angle-right",qE=320,YE=512,Y2=[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";Yo.definition={prefix:VE,iconName:WE,icon:[qE,YE,Y2,$E,GE]};Yo.faAngleRight=Yo.definition;Yo.prefix=VE;Yo.iconName=WE;Yo.width=qE;Yo.height=YE;Yo.ligatures=Y2;Yo.unicode=$E;Yo.svgPathData=GE;Yo.aliases=Y2});var rR=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var XE="fas",QE="angle-left",JE=320,ZE=512,$2=[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";$o.definition={prefix:XE,iconName:QE,icon:[JE,ZE,$2,eR,tR]};$o.faAngleLeft=$o.definition;$o.prefix=XE;$o.iconName=QE;$o.width=JE;$o.height=ZE;$o.ligatures=$2;$o.unicode=eR;$o.svgPathData=tR;$o.aliases=$2});var cR=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var aR="fas",nR="angle-up",oR=448,iR=512,G2=[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";Go.definition={prefix:aR,iconName:nR,icon:[oR,iR,G2,lR,sR]};Go.faAngleUp=Go.definition;Go.prefix=aR;Go.iconName=nR;Go.width=oR;Go.height=iR;Go.ligatures=G2;Go.unicode=lR;Go.svgPathData=sR;Go.aliases=G2});var vR=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var uR="fas",fR="angle-down",dR=448,pR=512,K2=[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";Ko.definition={prefix:uR,iconName:fR,icon:[dR,pR,K2,hR,mR]};Ko.faAngleDown=Ko.definition;Ko.prefix=uR;Ko.iconName=fR;Ko.width=dR;Ko.height=pR;Ko.ligatures=K2;Ko.unicode=hR;Ko.svgPathData=mR;Ko.aliases=K2});var CR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var _R="fas",gR="chevron-left",bR=320,yR=512,X2=[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";Xo.definition={prefix:_R,iconName:gR,icon:[bR,yR,X2,SR,wR]};Xo.faChevronLeft=Xo.definition;Xo.prefix=_R;Xo.iconName=gR;Xo.width=bR;Xo.height=yR;Xo.ligatures=X2;Xo.unicode=SR;Xo.svgPathData=wR;Xo.aliases=X2});var AR=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var xR="fas",kR="chevron-right",TR=320,ER=512,Q2=[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";Qo.definition={prefix:xR,iconName:kR,icon:[TR,ER,Q2,RR,DR]};Qo.faChevronRight=Qo.definition;Qo.prefix=xR;Qo.iconName=kR;Qo.width=TR;Qo.height=ER;Qo.ligatures=Q2;Qo.unicode=RR;Qo.svgPathData=DR;Qo.aliases=Q2});var zR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var LR="fas",NR="chevron-up",OR=512,MR=512,J2=[],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";Jo.definition={prefix:LR,iconName:NR,icon:[OR,MR,J2,PR,IR]};Jo.faChevronUp=Jo.definition;Jo.prefix=LR;Jo.iconName=NR;Jo.width=OR;Jo.height=MR;Jo.ligatures=J2;Jo.unicode=PR;Jo.svgPathData=IR;Jo.aliases=J2});var WR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var BR="fas",FR="chevron-down",jR=512,HR=512,Z2=[],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";Zo.definition={prefix:BR,iconName:FR,icon:[jR,HR,Z2,UR,VR]};Zo.faChevronDown=Zo.definition;Zo.prefix=BR;Zo.iconName=FR;Zo.width=jR;Zo.height=HR;Zo.ligatures=Z2;Zo.unicode=UR;Zo.svgPathData=VR;Zo.aliases=Z2});var QR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var qR="fas",YR="caret-left",$R=256,GR=512,eS=[],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";ei.definition={prefix:qR,iconName:YR,icon:[$R,GR,eS,KR,XR]};ei.faCaretLeft=ei.definition;ei.prefix=qR;ei.iconName=YR;ei.width=$R;ei.height=GR;ei.ligatures=eS;ei.unicode=KR;ei.svgPathData=XR;ei.aliases=eS});var n6=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var JR="fas",ZR="caret-right",e6=256,t6=512,tS=[],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";ti.definition={prefix:JR,iconName:ZR,icon:[e6,t6,tS,r6,a6]};ti.faCaretRight=ti.definition;ti.prefix=JR;ti.iconName=ZR;ti.width=e6;ti.height=t6;ti.ligatures=tS;ti.unicode=r6;ti.svgPathData=a6;ti.aliases=tS});var f6=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var o6="fas",i6="caret-up",l6=320,s6=512,rS=[],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";ri.definition={prefix:o6,iconName:i6,icon:[l6,s6,rS,c6,u6]};ri.faCaretUp=ri.definition;ri.prefix=o6;ri.iconName=i6;ri.width=l6;ri.height=s6;ri.ligatures=rS;ri.unicode=c6;ri.svgPathData=u6;ri.aliases=rS});var g6=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var d6="fas",p6="caret-down",h6=320,m6=512,aS=[],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";ai.definition={prefix:d6,iconName:p6,icon:[h6,m6,aS,v6,_6]};ai.faCaretDown=ai.definition;ai.prefix=d6;ai.iconName=p6;ai.width=h6;ai.height=m6;ai.ligatures=aS;ai.unicode=v6;ai.svgPathData=_6;ai.aliases=aS});var k6=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var b6="fas",y6="arrow-left",S6=448,w6=512,nS=[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";ni.definition={prefix:b6,iconName:y6,icon:[S6,w6,nS,C6,x6]};ni.faArrowLeft=ni.definition;ni.prefix=b6;ni.iconName=y6;ni.width=S6;ni.height=w6;ni.ligatures=nS;ni.unicode=C6;ni.svgPathData=x6;ni.aliases=nS});var iS=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var T6="fas",E6="arrow-right",R6=448,D6=512,oS=[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";oi.definition={prefix:T6,iconName:E6,icon:[R6,D6,oS,A6,L6]};oi.faArrowRight=oi.definition;oi.prefix=T6;oi.iconName=E6;oi.width=R6;oi.height=D6;oi.ligatures=oS;oi.unicode=A6;oi.svgPathData=L6;oi.aliases=oS});var sS=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var N6="fas",O6="arrow-up",M6=384,P6=512,lS=[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";ii.definition={prefix:N6,iconName:O6,icon:[M6,P6,lS,I6,z6]};ii.faArrowUp=ii.definition;ii.prefix=N6;ii.iconName=O6;ii.width=M6;ii.height=P6;ii.ligatures=lS;ii.unicode=I6;ii.svgPathData=z6;ii.aliases=lS});var uS=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var B6="fas",F6="arrow-down",j6=384,H6=512,cS=[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";li.definition={prefix:B6,iconName:F6,icon:[j6,H6,cS,U6,V6]};li.faArrowDown=li.definition;li.prefix=B6;li.iconName=F6;li.width=j6;li.height=H6;li.ligatures=cS;li.unicode=U6;li.svgPathData=V6;li.aliases=cS});var X6=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var W6="fas",q6="rotate",Y6=512,$6=512,fS=[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";si.definition={prefix:W6,iconName:q6,icon:[Y6,$6,fS,G6,K6]};si.faRotate=si.definition;si.prefix=W6;si.iconName=q6;si.width=Y6;si.height=$6;si.ligatures=fS;si.unicode=G6;si.svgPathData=K6;si.aliases=fS});var aD=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var Q6="fas",J6="arrow-rotate-right",Z6=512,eD=512,dS=[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";ci.definition={prefix:Q6,iconName:J6,icon:[Z6,eD,dS,tD,rD]};ci.faArrowRotateRight=ci.definition;ci.prefix=Q6;ci.iconName=J6;ci.width=Z6;ci.height=eD;ci.ligatures=dS;ci.unicode=tD;ci.svgPathData=rD;ci.aliases=dS});var nD=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var to=aD();ui.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};ui.faRedo=ui.definition;ui.prefix=to.prefix;ui.iconName=to.iconName;ui.width=to.width;ui.height=to.height;ui.ligatures=to.aliases;ui.unicode=to.unicode;ui.svgPathData=to.svgPathData;ui.aliases=to.aliases});var fD=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var oD="fas",iD="check",lD=448,sD=512,pS=[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";fi.definition={prefix:oD,iconName:iD,icon:[lD,sD,pS,cD,uD]};fi.faCheck=fi.definition;fi.prefix=oD;fi.iconName=iD;fi.width=lD;fi.height=sD;fi.ligatures=pS;fi.unicode=cD;fi.svgPathData=uD;fi.aliases=pS});var gD=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var dD="fas",pD="question",hD=320,mD=512,hS=[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";di.definition={prefix:dD,iconName:pD,icon:[hD,mD,hS,vD,_D]};di.faQuestion=di.definition;di.prefix=dD;di.iconName=pD;di.width=hD;di.height=mD;di.ligatures=hS;di.unicode=vD;di.svgPathData=_D;di.aliases=hS});var kD=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var bD="fas",yD="exclamation",SD=128,wD=512,mS=[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";pi.definition={prefix:bD,iconName:yD,icon:[SD,wD,mS,CD,xD]};pi.faExclamation=pi.definition;pi.prefix=bD;pi.iconName=yD;pi.width=SD;pi.height=wD;pi.ligatures=mS;pi.unicode=CD;pi.svgPathData=xD;pi.aliases=mS});var ND=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var TD="fas",ED="triangle-exclamation",RD=512,DD=512,vS=[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";hi.definition={prefix:TD,iconName:ED,icon:[RD,DD,vS,AD,LD]};hi.faTriangleExclamation=hi.definition;hi.prefix=TD;hi.iconName=ED;hi.width=RD;hi.height=DD;hi.ligatures=vS;hi.unicode=AD;hi.svgPathData=LD;hi.aliases=vS});var OD=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var ro=ND();mi.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};mi.faExclamationTriangle=mi.definition;mi.prefix=ro.prefix;mi.iconName=ro.iconName;mi.width=ro.width;mi.height=ro.height;mi.ligatures=ro.aliases;mi.unicode=ro.unicode;mi.svgPathData=ro.svgPathData;mi.aliases=ro.aliases});var jD=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var MD="fas",PD="house",ID=576,zD=512,_S=[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";vi.definition={prefix:MD,iconName:PD,icon:[ID,zD,_S,BD,FD]};vi.faHouse=vi.definition;vi.prefix=MD;vi.iconName=PD;vi.width=ID;vi.height=zD;vi.ligatures=_S;vi.unicode=BD;vi.svgPathData=FD;vi.aliases=_S});var HD=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ao=jD();_i.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};_i.faHome=_i.definition;_i.prefix=ao.prefix;_i.iconName=ao.iconName;_i.width=ao.width;_i.height=ao.height;_i.ligatures=ao.aliases;_i.unicode=ao.unicode;_i.svgPathData=ao.svgPathData;_i.aliases=ao.aliases});var GD=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var UD="fas",VD="share",WD=512,qD=512,gS=["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";gi.definition={prefix:UD,iconName:VD,icon:[WD,qD,gS,YD,$D]};gi.faShare=gi.definition;gi.prefix=UD;gi.iconName=VD;gi.width=WD;gi.height=qD;gi.ligatures=gS;gi.unicode=YD;gi.svgPathData=$D;gi.aliases=gS});var tA=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var KD="fas",XD="magnifying-glass",QD=512,JD=512,bS=[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";bi.definition={prefix:KD,iconName:XD,icon:[QD,JD,bS,ZD,eA]};bi.faMagnifyingGlass=bi.definition;bi.prefix=KD;bi.iconName=XD;bi.width=QD;bi.height=JD;bi.ligatures=bS;bi.unicode=ZD;bi.svgPathData=eA;bi.aliases=bS});var rA=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var no=tA();yi.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};yi.faSearch=yi.definition;yi.prefix=no.prefix;yi.iconName=no.iconName;yi.width=no.width;yi.height=no.height;yi.ligatures=no.aliases;yi.unicode=no.unicode;yi.svgPathData=no.svgPathData;yi.aliases=no.aliases});var cA=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var aA="fas",nA="yen-sign",oA=320,iA=512,yS=[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";Si.definition={prefix:aA,iconName:nA,icon:[oA,iA,yS,lA,sA]};Si.faYenSign=Si.definition;Si.prefix=aA;Si.iconName=nA;Si.width=oA;Si.height=iA;Si.ligatures=yS;Si.unicode=lA;Si.svgPathData=sA;Si.aliases=yS});var vA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var uA="fas",fA="pen",dA=512,pA=512,SS=[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";wi.definition={prefix:uA,iconName:fA,icon:[dA,pA,SS,hA,mA]};wi.faPen=wi.definition;wi.prefix=uA;wi.iconName=fA;wi.width=dA;wi.height=pA;wi.ligatures=SS;wi.unicode=hA;wi.svgPathData=mA;wi.aliases=SS});var CA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var _A="fas",gA="bars",bA=448,yA=512,wS=["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";Ci.definition={prefix:_A,iconName:gA,icon:[bA,yA,wS,SA,wA]};Ci.faBars=Ci.definition;Ci.prefix=_A;Ci.iconName=gA;Ci.width=bA;Ci.height=yA;Ci.ligatures=wS;Ci.unicode=SA;Ci.svgPathData=wA;Ci.aliases=wS});var AA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var xA="fas",kA="download",TA=512,EA=512,CS=[],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";xi.definition={prefix:xA,iconName:kA,icon:[TA,EA,CS,RA,DA]};xi.faDownload=xi.definition;xi.prefix=xA;xi.iconName=kA;xi.width=TA;xi.height=EA;xi.ligatures=CS;xi.unicode=RA;xi.svgPathData=DA;xi.aliases=CS});var zA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var LA="fas",NA="link",OA=640,MA=512,xS=[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";ki.definition={prefix:LA,iconName:NA,icon:[OA,MA,xS,PA,IA]};ki.faLink=ki.definition;ki.prefix=LA;ki.iconName=NA;ki.width=OA;ki.height=MA;ki.ligatures=xS;ki.unicode=PA;ki.svgPathData=IA;ki.aliases=xS});var WA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var BA="fas",FA="link-slash",jA=640,HA=512,kS=["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";Ti.definition={prefix:BA,iconName:FA,icon:[jA,HA,kS,UA,VA]};Ti.faLinkSlash=Ti.definition;Ti.prefix=BA;Ti.iconName=FA;Ti.width=jA;Ti.height=HA;Ti.ligatures=kS;Ti.unicode=UA;Ti.svgPathData=VA;Ti.aliases=kS});var QA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var qA="fas",YA="up-right-from-square",$A=512,GA=512,TS=["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";Ei.definition={prefix:qA,iconName:YA,icon:[$A,GA,TS,KA,XA]};Ei.faUpRightFromSquare=Ei.definition;Ei.prefix=qA;Ei.iconName=YA;Ei.width=$A;Ei.height=GA;Ei.ligatures=TS;Ei.unicode=KA;Ei.svgPathData=XA;Ei.aliases=TS});var JA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var oo=QA();Ri.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Ri.faExternalLinkAlt=Ri.definition;Ri.prefix=oo.prefix;Ri.iconName=oo.iconName;Ri.width=oo.width;Ri.height=oo.height;Ri.ligatures=oo.aliases;Ri.unicode=oo.unicode;Ri.svgPathData=oo.svgPathData;Ri.aliases=oo.aliases});var o8=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var ZA="fas",e8="gear",t8=512,r8=512,ES=[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";Di.definition={prefix:ZA,iconName:e8,icon:[t8,r8,ES,a8,n8]};Di.faGear=Di.definition;Di.prefix=ZA;Di.iconName=e8;Di.width=t8;Di.height=r8;Di.ligatures=ES;Di.unicode=a8;Di.svgPathData=n8;Di.aliases=ES});var d8=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var i8="fas",l8="plus",s8=448,c8=512,RS=[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";Ai.definition={prefix:i8,iconName:l8,icon:[s8,c8,RS,u8,f8]};Ai.faPlus=Ai.definition;Ai.prefix=i8;Ai.iconName=l8;Ai.width=s8;Ai.height=c8;Ai.ligatures=RS;Ai.unicode=u8;Ai.svgPathData=f8;Ai.aliases=RS});var b8=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var p8="fas",h8="minus",m8=448,v8=512,DS=[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";Li.definition={prefix:p8,iconName:h8,icon:[m8,v8,DS,_8,g8]};Li.faMinus=Li.definition;Li.prefix=p8;Li.iconName=h8;Li.width=m8;Li.height=v8;Li.ligatures=DS;Li.unicode=_8;Li.svgPathData=g8;Li.aliases=DS});var T8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var y8="fas",S8="ellipsis",w8=448,C8=512,AS=["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";Ni.definition={prefix:y8,iconName:S8,icon:[w8,C8,AS,x8,k8]};Ni.faEllipsis=Ni.definition;Ni.prefix=y8;Ni.iconName=S8;Ni.width=w8;Ni.height=C8;Ni.ligatures=AS;Ni.unicode=x8;Ni.svgPathData=k8;Ni.aliases=AS});var E8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var io=T8();Oi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Oi.faEllipsisH=Oi.definition;Oi.prefix=io.prefix;Oi.iconName=io.iconName;Oi.width=io.width;Oi.height=io.height;Oi.ligatures=io.aliases;Oi.unicode=io.unicode;Oi.svgPathData=io.svgPathData;Oi.aliases=io.aliases});var M8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var R8="fas",D8="ellipsis-vertical",A8=128,L8=512,LS=["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";Mi.definition={prefix:R8,iconName:D8,icon:[A8,L8,LS,N8,O8]};Mi.faEllipsisVertical=Mi.definition;Mi.prefix=R8;Mi.iconName=D8;Mi.width=A8;Mi.height=L8;Mi.ligatures=LS;Mi.unicode=N8;Mi.svgPathData=O8;Mi.aliases=LS});var P8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var lo=M8();Pi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Pi.faEllipsisV=Pi.definition;Pi.prefix=lo.prefix;Pi.iconName=lo.iconName;Pi.width=lo.width;Pi.height=lo.height;Pi.ligatures=lo.aliases;Pi.unicode=lo.unicode;Pi.svgPathData=lo.svgPathData;Pi.aliases=lo.aliases});var U8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var I8="fas",z8="star",B8=576,F8=512,NS=[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";Ii.definition={prefix:I8,iconName:z8,icon:[B8,F8,NS,j8,H8]};Ii.faStar=Ii.definition;Ii.prefix=I8;Ii.iconName=z8;Ii.width=B8;Ii.height=F8;Ii.ligatures=NS;Ii.unicode=j8;Ii.svgPathData=H8;Ii.aliases=NS});var K8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var V8="fas",W8="paper-plane",q8=512,Y8=512,OS=[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";zi.definition={prefix:V8,iconName:W8,icon:[q8,Y8,OS,$8,G8]};zi.faPaperPlane=zi.definition;zi.prefix=V8;zi.iconName=W8;zi.width=q8;zi.height=Y8;zi.ligatures=OS;zi.unicode=$8;zi.svgPathData=G8;zi.aliases=OS});var rL=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var X8="fas",Q8="heart",J8=512,Z8=512,MS=[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";Bi.definition={prefix:X8,iconName:Q8,icon:[J8,Z8,MS,eL,tL]};Bi.faHeart=Bi.definition;Bi.prefix=X8;Bi.iconName=Q8;Bi.width=J8;Bi.height=Z8;Bi.ligatures=MS;Bi.unicode=eL;Bi.svgPathData=tL;Bi.aliases=MS});var cL=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var aL="fas",nL="ban",oL=512,iL=512,PS=[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";Fi.definition={prefix:aL,iconName:nL,icon:[oL,iL,PS,lL,sL]};Fi.faBan=Fi.definition;Fi.prefix=aL;Fi.iconName=nL;Fi.width=oL;Fi.height=iL;Fi.ligatures=PS;Fi.unicode=lL;Fi.svgPathData=sL;Fi.aliases=PS});var vL=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var uL="fas",fL="location-crosshairs",dL=512,pL=512,IS=["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";ji.definition={prefix:uL,iconName:fL,icon:[dL,pL,IS,hL,mL]};ji.faLocationCrosshairs=ji.definition;ji.prefix=uL;ji.iconName=fL;ji.width=dL;ji.height=pL;ji.ligatures=IS;ji.unicode=hL;ji.svgPathData=mL;ji.aliases=IS});var CL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var _L="far",gL="user",bL=448,yL=512,zS=[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";Hi.definition={prefix:_L,iconName:gL,icon:[bL,yL,zS,SL,wL]};Hi.faUser=Hi.definition;Hi.prefix=_L;Hi.iconName=gL;Hi.width=bL;Hi.height=yL;Hi.ligatures=zS;Hi.unicode=SL;Hi.svgPathData=wL;Hi.aliases=zS});var AL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var xL="far",kL="circle-check",TL=512,EL=512,BS=[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";Ui.definition={prefix:xL,iconName:kL,icon:[TL,EL,BS,RL,DL]};Ui.faCircleCheck=Ui.definition;Ui.prefix=xL;Ui.iconName=kL;Ui.width=TL;Ui.height=EL;Ui.ligatures=BS;Ui.unicode=RL;Ui.svgPathData=DL;Ui.aliases=BS});var LL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var so=AL();Vi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Vi.faCheckCircle=Vi.definition;Vi.prefix=so.prefix;Vi.iconName=so.iconName;Vi.width=so.width;Vi.height=so.height;Vi.ligatures=so.aliases;Vi.unicode=so.unicode;Vi.svgPathData=so.svgPathData;Vi.aliases=so.aliases});var BL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var NL="far",OL="circle-question",ML=512,PL=512,FS=[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";Wi.definition={prefix:NL,iconName:OL,icon:[ML,PL,FS,IL,zL]};Wi.faCircleQuestion=Wi.definition;Wi.prefix=NL;Wi.iconName=OL;Wi.width=ML;Wi.height=PL;Wi.ligatures=FS;Wi.unicode=IL;Wi.svgPathData=zL;Wi.aliases=FS});var FL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var co=BL();qi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};qi.faQuestionCircle=qi.definition;qi.prefix=co.prefix;qi.iconName=co.iconName;qi.width=co.width;qi.height=co.height;qi.ligatures=co.aliases;qi.unicode=co.unicode;qi.svgPathData=co.svgPathData;qi.aliases=co.aliases});var YL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var jL="far",HL="pen-to-square",UL=512,VL=512,jS=["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";Yi.definition={prefix:jL,iconName:HL,icon:[UL,VL,jS,WL,qL]};Yi.faPenToSquare=Yi.definition;Yi.prefix=jL;Yi.iconName=HL;Yi.width=UL;Yi.height=VL;Yi.ligatures=jS;Yi.unicode=WL;Yi.svgPathData=qL;Yi.aliases=jS});var $L=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var uo=YL();$i.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};$i.faEdit=$i.definition;$i.prefix=uo.prefix;$i.iconName=uo.iconName;$i.width=uo.width;$i.height=uo.height;$i.ligatures=uo.aliases;$i.unicode=uo.unicode;$i.svgPathData=uo.svgPathData;$i.aliases=uo.aliases});var eN=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var GL="far",KL="copy",XL=448,QL=512,HS=[],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";Gi.definition={prefix:GL,iconName:KL,icon:[XL,QL,HS,JL,ZL]};Gi.faCopy=Gi.definition;Gi.prefix=GL;Gi.iconName=KL;Gi.width=XL;Gi.height=QL;Gi.ligatures=HS;Gi.unicode=JL;Gi.svgPathData=ZL;Gi.aliases=HS});var lN=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var tN="far",rN="file",aN=384,nN=512,US=[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";Ki.definition={prefix:tN,iconName:rN,icon:[aN,nN,US,oN,iN]};Ki.faFile=Ki.definition;Ki.prefix=tN;Ki.iconName=rN;Ki.width=aN;Ki.height=nN;Ki.ligatures=US;Ki.unicode=oN;Ki.svgPathData=iN;Ki.aliases=US});var hN=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var sN="far",cN="trash-can",uN=448,fN=512,VS=[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";Xi.definition={prefix:sN,iconName:cN,icon:[uN,fN,VS,dN,pN]};Xi.faTrashCan=Xi.definition;Xi.prefix=sN;Xi.iconName=cN;Xi.width=uN;Xi.height=fN;Xi.ligatures=VS;Xi.unicode=dN;Xi.svgPathData=pN;Xi.aliases=VS});var mN=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var fo=hN();Qi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Qi.faTrashAlt=Qi.definition;Qi.prefix=fo.prefix;Qi.iconName=fo.iconName;Qi.width=fo.width;Qi.height=fo.height;Qi.ligatures=fo.aliases;Qi.unicode=fo.unicode;Qi.svgPathData=fo.svgPathData;Qi.aliases=fo.aliases});var wN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var vN="far",_N="image",gN=512,bN=512,WS=[],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";Ji.definition={prefix:vN,iconName:_N,icon:[gN,bN,WS,yN,SN]};Ji.faImage=Ji.definition;Ji.prefix=vN;Ji.iconName=_N;Ji.width=gN;Ji.height=bN;Ji.ligatures=WS;Ji.unicode=yN;Ji.svgPathData=SN;Ji.aliases=WS});var Q7=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var q7="fas",Y7="eye",$7=576,G7=512,iw=[128065],K7="f06e",X7="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";tl.definition={prefix:q7,iconName:Y7,icon:[$7,G7,iw,K7,X7]};tl.faEye=tl.definition;tl.prefix=q7;tl.iconName=Y7;tl.width=$7;tl.height=G7;tl.ligatures=iw;tl.unicode=K7;tl.svgPathData=X7;tl.aliases=iw});var cO=Ue(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var aO="fas",nO="clock",oO=512,iO=512,uw=[128339,"clock-four"],lO="f017",sO="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";rl.definition={prefix:aO,iconName:nO,icon:[oO,iO,uw,lO,sO]};rl.faClock=rl.definition;rl.prefix=aO;rl.iconName=nO;rl.width=oO;rl.height=iO;rl.ligatures=uw;rl.unicode=lO;rl.svgPathData=sO;rl.aliases=uw});var vO=Ue(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var uO="fas",fO="calendar-days",dO=448,pO=512,fw=["calendar-alt"],hO="f073",mO="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";al.definition={prefix:uO,iconName:fO,icon:[dO,pO,fw,hO,mO]};al.faCalendarDays=al.definition;al.prefix=uO;al.iconName=fO;al.width=dO;al.height=pO;al.ligatures=fw;al.unicode=hO;al.svgPathData=mO;al.aliases=fw});var _O=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var po=vO();nl.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};nl.faCalendarAlt=nl.definition;nl.prefix=po.prefix;nl.iconName=po.iconName;nl.width=po.width;nl.height=po.height;nl.ligatures=po.aliases;nl.unicode=po.unicode;nl.svgPathData=po.svgPathData;nl.aliases=po.aliases});var PO=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var DO="fas",AO="cloud-arrow-up",LO=640,NO=512,vw=[62338,"cloud-upload","cloud-upload-alt"],OO="f0ee",MO="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";ol.definition={prefix:DO,iconName:AO,icon:[LO,NO,vw,OO,MO]};ol.faCloudArrowUp=ol.definition;ol.prefix=DO;ol.iconName=AO;ol.width=LO;ol.height=NO;ol.ligatures=vw;ol.unicode=OO;ol.svgPathData=MO;ol.aliases=vw});var nM=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var JO="fas",ZO="grip-vertical",eM=320,tM=512,Cw=[],rM="f58e",aM="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";ll.definition={prefix:JO,iconName:ZO,icon:[eM,tM,Cw,rM,aM]};ll.faGripVertical=ll.definition;ll.prefix=JO;ll.iconName=ZO;ll.width=eM;ll.height=tM;ll.ligatures=Cw;ll.unicode=rM;ll.svgPathData=aM;ll.aliases=Cw});var dM=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var iM="fas",lM="filter",sM=512,cM=512,Tw=[],uM="f0b0",fM="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";sl.definition={prefix:iM,iconName:lM,icon:[sM,cM,Tw,uM,fM]};sl.faFilter=sl.definition;sl.prefix=iM;sl.iconName=lM;sl.width=sM;sl.height=cM;sl.ligatures=Tw;sl.unicode=uM;sl.svgPathData=fM;sl.aliases=Tw});var CM=Ue(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var _M="fas",gM="palette",bM=512,yM=512,Rw=[127912],SM="f53f",wM="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";cl.definition={prefix:_M,iconName:gM,icon:[bM,yM,Rw,SM,wM]};cl.faPalette=cl.definition;cl.prefix=_M;cl.iconName=gM;cl.width=bM;cl.height=yM;cl.ligatures=Rw;cl.unicode=SM;cl.svgPathData=wM;cl.aliases=Rw});var AM=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var xM="fas",kM="bars-staggered",TM=512,EM=512,Dw=["reorder","stream"],RM="f550",DM="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";ul.definition={prefix:xM,iconName:kM,icon:[TM,EM,Dw,RM,DM]};ul.faBarsStaggered=ul.definition;ul.prefix=xM;ul.iconName=kM;ul.width=TM;ul.height=EM;ul.ligatures=Dw;ul.unicode=RM;ul.svgPathData=DM;ul.aliases=Dw});var zM=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var LM="fas",NM="rotate-left",OM=512,MM=512,Aw=["rotate-back","rotate-backward","undo-alt"],PM="f2ea",IM="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";fl.definition={prefix:LM,iconName:NM,icon:[OM,MM,Aw,PM,IM]};fl.faRotateLeft=fl.definition;fl.prefix=LM;fl.iconName=NM;fl.width=OM;fl.height=MM;fl.ligatures=Aw;fl.unicode=PM;fl.svgPathData=IM;fl.aliases=Aw});var WM=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var BM="fas",FM="rotate-right",jM=512,HM=512,Lw=["redo-alt","rotate-forward"],UM="f2f9",VM="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";dl.definition={prefix:BM,iconName:FM,icon:[jM,HM,Lw,UM,VM]};dl.faRotateRight=dl.definition;dl.prefix=BM;dl.iconName=FM;dl.width=jM;dl.height=HM;dl.ligatures=Lw;dl.unicode=UM;dl.svgPathData=VM;dl.aliases=Lw});var zw=Ue(()=>{"use strict"});var Bw=Ue(()=>{"use strict"});var ZM=K(rT()),Os=K(ZT()),op=K(fr()),Fw=K(nr());var Fr={};Ed(Fr,{$$fromRoot:()=>_t,Accordion:()=>tw,Anchor:()=>ff,Box:()=>X,Button:()=>nt,Card:()=>Vd,ColorObjects:()=>Gh,Column:()=>er,Config:()=>dt,Cropper:()=>Ow,DarkmodeColors:()=>JM,Effect:()=>pc,ExtractStyles:()=>Al,FAI:()=>Ae,Flex:()=>At,FlexBr:()=>k7,GenerateHTMLProps:()=>ko,Grid:()=>Wd,Img:()=>ks,Input:()=>La,Label:()=>vg,LaunchReactApp:()=>Fg,LeftIcon:()=>$d,LeftIndicator:()=>Sg,LinkifyText:()=>j7,List:()=>H7,ListItem:()=>Gd,Loader:()=>Ro,Logo:()=>Ts,OmitSign:()=>yg,P:()=>x7,PageNotFound:()=>XM,PageViewController:()=>P7,Placeholder:()=>C7,Plate:()=>D7,ReadStyleSet:()=>sm,RequiredShortSign:()=>bg,RequiredSign:()=>gg,RightIcon:()=>Ba,RightIndicator:()=>wg,RootViewController:()=>Rs,Row:()=>mt,SetThemeColorTag:()=>$h,Sheet:()=>rr,Snackbar:()=>rs,Span:()=>wn,SwipeView:()=>I7,TabBar:()=>GO,Table:()=>zg,Text:()=>Xt,ThemeColors:()=>Pw,Tips:()=>_c,Tooltips:()=>Na,amotify:()=>U$,default:()=>U$,pageRouter:()=>Pn,useRefresh:()=>kl,useRouterEffect:()=>Bg});var $W=Object.defineProperty,GW=Object.defineProperties,KW=Object.getOwnPropertyDescriptors,W_=Object.getOwnPropertySymbols,l5=Object.prototype.hasOwnProperty,s5=Object.prototype.propertyIsEnumerable,c5=Math.pow,i5=(r,a,o)=>a in r?$W(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)=>GW(r,KW(a)),Ge=(r,a)=>{var o={};for(var l in r)l5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&W_)for(var l of W_(r))a.indexOf(l)<0&&s5.call(r,l)&&(o[l]=r[l]);return o},Da=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var Iw={};Ed(Iw,{$$fromRoot:()=>_t,ColorObjects:()=>Gh,Config:()=>dt,DarkmodeColors:()=>JM,ExtractStyles:()=>Al,GenerateHTMLProps:()=>ko,LaunchReactApp:()=>Fg,ReadStyleSet:()=>sm,SetThemeColorTag:()=>$h,ThemeColors:()=>Pw,pageRouter:()=>Pn,useRefresh:()=>kl,useRouterEffect:()=>Bg});var xl=K(nr());var xo={sessionUID:(0,xl.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}},dt={get:()=>xo,set:r=>{xo=v(v({},xo),r)},update:{themeColor:r=>{if(Gh.find(o=>o.key==r)||(r="comun"),r==dt.get().themeColor)return;dt.set(T(v({},dt.get()),{themeColor:r}));let a=(0,xl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{$h()}),dt.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==dt.get().darkMode)return;let a=r=="auto"?dt.get().isSystemDarkmode()?"dark":"light":r;dt.set(T(v({},dt.get()),{darkMode:a}));let o=(0,xl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),dt.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=dt.get().roundness&&(dt.set(T(v({},dt.get()),{roundness:r})),dt.restart())},screen:r=>{dt.get().screen=v(v({},dt.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",l=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";xo.appRoot=r.appRoot||document.body,xo.appRoot instanceof HTMLElement&&(xo.appRoot.tabIndex=0),xl.default.is.exist(r.roundness)&&dt.update.roundness(r.roundness),xl.default.is.exist(r.themeColor)&&dt.update.themeColor(r.themeColor),xl.default.is.exist(r.darkMode)&&dt.update.darkMode(r.darkMode),xo.deviceIs=o,xo.browserIs=l,xo.isPhone=["Android","iPhone"].includes(o),xo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,xo.isIOS=["iPhone","iPad"].includes(o),xo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,xo.isIOS=["iPhone","iPad"].includes(o),xo.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,xl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+dt.get().deviceIs,"bdsDM_"+dt.get().darkMode,"bdsTC_"+dt.get().themeColor]),(0,xl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,f=(0,xl.default)(document.body),u=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-u-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{dt.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,xl.default)(document.body),f=window.innerHeight,u=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=f-u-h;s.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),$h()},restart:()=>{kl.release("RootViewController_"+dt.get().sessionUID)}};var Vo=K(nr()),Od=K(fr()),kl={catch:r=>{let[a]=(0,Od.useState)((0,Vo.UUID)()),[o,l]=(0,Od.useState)((0,Vo.UUID)()),[s,f]=(0,Od.useState)(null),u="RefreshKey_"+a;return(0,Od.useEffect)(()=>{var h;Vo.useStore.set({[u]:m=>{l((0,Vo.UUID)()),f(m||null)}});let p=((h=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Vo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Vo.useStore.delete(u);let g=((m=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=g.indexOf(a);b!==-1&&(g.splice(b,1),Vo.useStore.update({["RefreshKeys_"+r]:{keys:g}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let f=Vo.useStore.get("RefreshKey_"+s);f&&f(a)}}};var bu=K(fr());var Mw={};Ed(Mw,{Anchor:()=>ff,Button:()=>nt,Cropper:()=>Ow,Effect:()=>pc,Input:()=>La,Label:()=>vg,LeftIcon:()=>$d,LeftIndicator:()=>Sg,Loader:()=>Ro,OmitSign:()=>yg,PageNotFound:()=>XM,PageViewController:()=>P7,Plate:()=>D7,RequiredShortSign:()=>bg,RequiredSign:()=>gg,RightIcon:()=>Ba,RightIndicator:()=>wg,RootViewController:()=>Rs,Sheet:()=>rr,Snackbar:()=>rs,SwipeView:()=>I7,TabBar:()=>GO,Table:()=>zg,Tips:()=>_c,Tooltips:()=>Na});var El=K(Dt()),du=K(fr()),Cn=K(nr());var KS={};Ed(KS,{Box:()=>X,Card:()=>Vd,Column:()=>er,FAI:()=>Ae,Flex:()=>At,FlexBr:()=>k7,Grid:()=>Wd,Img:()=>ks,Logo:()=>Ts,P:()=>x7,Placeholder:()=>C7,Span:()=>wn});var uf=K(Dt());var d5=K(Dt());var X=r=>{let a=ko(r),{htmlTag:o}=a,l=Ge(a,["htmlTag"]),s=o||"div";return s?(0,d5.jsx)(s,v({},l)):null};var Pt=K(Dt());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(iS()),FN=K(sS()),jN=K(uS()),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()),zt=r=>{let a=r,{icon:o}=a,l=Ge(a,["icon"]),s=ko(l);return(0,Pt.jsx)(CN.FontAwesomeIcon,T(v({icon:o,size:"1x"},s),{style:v({aspectRatio:"1"},s==null?void 0:s.style)}))},Ae=zt;Ae.User=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:p7.faUser})),Ae.Times=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:xN.faTimes})),Ae.AngleRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:kN.faAngleRight})),Ae.AngleLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:TN.faAngleLeft})),Ae.AngleUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:EN.faAngleUp})),Ae.AngleDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:RN.faAngleDown})),Ae.ChevronLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:DN.faChevronLeft})),Ae.ChevronRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:AN.faChevronRight})),Ae.ChevronUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:LN.faChevronUp})),Ae.ChevronDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:NN.faChevronDown})),Ae.CaretLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:ON.faCaretLeft})),Ae.CaretRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:MN.faCaretRight})),Ae.CaretUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:PN.faCaretUp})),Ae.CaretDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:IN.faCaretDown})),Ae.ArrowLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:zN.faArrowLeft})),Ae.ArrowRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:BN.faArrowRight})),Ae.ArrowUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:FN.faArrowUp})),Ae.ArrowDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:jN.faArrowDown})),Ae.Rotate=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:HN.faRotate})),Ae.Redo=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:UN.faRedo})),Ae.Check=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:VN.faCheck})),Ae.CheckCircle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:h7.faCheckCircle})),Ae.Question=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:WN.faQuestion})),Ae.QuestionCircle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:m7.faQuestionCircle})),Ae.Exclamation=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:qN.faExclamation})),Ae.ExclamationTriangle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:YN.faExclamationTriangle})),Ae.Home=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:$N.faHome})),Ae.Share=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:GN.faShare})),Ae.Search=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:KN.faSearch})),Ae.YenSign=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:XN.faYenSign})),Ae.Heart=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:u7.faHeart})),Ae.Star=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:s7.faStar})),Ae.Edit=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:v7.faEdit})),Ae.Pen=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:QN.faPen})),Ae.Copy=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:_7.faCopy})),Ae.File=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:g7.faFile})),Ae.TrashAlt=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:b7.faTrashAlt})),Ae.Bars=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:JN.faBars})),Ae.Download=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:ZN.faDownload})),Ae.Link=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:e7.faLink})),Ae.LinkSlash=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:t7.faLinkSlash})),Ae.ExternalLinkAlt=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:r7.faExternalLinkAlt})),Ae.Gear=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:a7.faGear})),Ae.Plus=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:n7.faPlus})),Ae.Minus=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:o7.faMinus})),Ae.EllipsisH=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:i7.faEllipsisH})),Ae.EllipsisV=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:l7.faEllipsisV})),Ae.PaperPlane=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:c7.faPaperPlane})),Ae.Image=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:y7.faImage})),Ae.Ban=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:f7.faBan})),Ae.Location=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:d7.faLocationCrosshairs}));var S7=K(Dt());var qY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},YY={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"},$Y={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},GY={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},KY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},XY={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"},QY={Wrapper:"_Wrapper_11vvw_1",CornerLoader:"_CornerLoader_11vvw_17",Wrap:"_Wrap_11vvw_1",isActive:"_isActive_11vvw_28",ldAnm:"_ldAnm_11vvw_1",Ld1:"_Ld1_11vvw_34",Ld2:"_Ld2_11vvw_37",Ld3:"_Ld3_11vvw_40",Ld4:"_Ld4_11vvw_43",MiniLoader:"_MiniLoader_11vvw_61",Active_false:"_Active_false_11vvw_64",Hide:"_Hide_11vvw_67",Active:"_Active_11vvw_64",Core:"_Core_11vvw_77",spin:"_spin_11vvw_1",SVG1:"_SVG1_11vvw_85",loader:"_loader_11vvw_1",loading:"_loading_11vvw_1",SVG2:"_SVG2_11vvw_92"},JY={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"},ZY={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"},e$={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"},t$={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"},r$={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"},a$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var n$={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"},o$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},i$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},l$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},s$={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"},c$={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 u$={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"},qS=r=>qY[r],Zi=r=>YY[r],pg=r=>$Y[r],YS=r=>GY[r],im=r=>KY[r],va=r=>XY[r],xa=r=>QY[r],Aa=r=>JY[r],Kt=r=>ZY[r],Xl=r=>e$[r],cu=r=>t$[r],lf=r=>r$[r],Hd=r=>a$[r];var Ql=r=>n$[r],sf=r=>o$[r],Tl=r=>i$[r],cf=r=>l$[r],xs=r=>s$[r],ka=r=>c$[r];var hg=r=>u$[r];var ks=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,f=Ge(a,["src","alt","showExpand"]);return(0,S7.jsx)(X,T(v({htmlTag:"img",src:o,alt:l},f),{className:[qS("Img"),qS("ShowExpand_"+!!s),f.className].join(" "),onPointerDown:u=>{f.onPointerDown&&f.onPointerDown(u),s&&u.stopPropagation()},onClick:u=>{f.onClick&&f.onClick(u),s&&(u.stopPropagation(),rr.open({type:"image",src:s!=!0?s:o}))},freeCSS:v({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var or=K(Dt()),$S=K(nr());var w7={ComunIcon:()=>(0,or.jsx)("svg",{viewBox:"0,0,1200,1200",className:Zi("ComunIcon"),children:(0,or.jsxs)("g",{children:[(0,or.jsx)("path",{d:`
|
|
923
|
+
}`;S5=!1;xq={mixout:function(){return{dom:{css:Q5,insertCss:p2}}},hooks:function(){return{beforeDOMElementCreation:function(){p2()},beforeI2svg:function(){p2()}}}},sc=iu||{};sc[lc]||(sc[lc]={});sc[lc].styles||(sc[lc].styles={});sc[lc].hooks||(sc[lc].hooks={});sc[lc].shims||(sc[lc].shims=[]);Xl=sc[lc],J5=[],kq=function r(){ya.removeEventListener("DOMContentLoaded",r),og=1,J5.map(function(a){return a()})},og=!1;uc&&(og=(ya.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ya.readyState),og||ya.addEventListener("DOMContentLoaded",kq));Eq=function(a,o){return function(l,s,f,u){return a.call(o,l,s,f,u)}},h2=function(a,o,l,s){var f=Object.keys(a),u=f.length,h=s!==void 0?Eq(o,s):o,p,m,g;for(l===void 0?(p=1,g=a[f[0]]):(p=0,g=l);p<u;p++)m=f[p],g=h(g,a[m],m,a);return g};Id=Xl.styles,Aq=Xl.shims,Lq=(Z_={},dn(Z_,ba,Object.values(tm[ba])),dn(Z_,za,Object.values(tm[za])),Z_),P2=null,Z5={},eE={},tE={},rE={},aE={},Nq=(eg={},dn(eg,ba,Object.keys(Zh[ba])),dn(eg,za,Object.keys(Zh[za])),eg);nE=function(){var a=function(f){return h2(Id,function(u,h,p){return u[p]=h2(h,f,{}),u},{})};Z5=a(function(s,f,u){if(f[3]&&(s[f[3]]=u),f[2]){var h=f[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=u})}return s}),eE=a(function(s,f,u){if(s[u]=u,f[2]){var h=f[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=u})}return s}),aE=a(function(s,f,u){var h=f[2];return s[u]=u,h.forEach(function(p){s[p]=u}),s});var o="far"in Id||xt.autoFetchSvg,l=h2(Aq,function(s,f){var u=f[0],h=f[1],p=f[2];return h==="far"&&!o&&(h="fas"),typeof u=="string"&&(s.names[u]={prefix:h,iconName:p}),typeof u=="number"&&(s.unicodes[u.toString(16)]={prefix:h,iconName:p}),s},{names:{},unicodes:{}});tE=l.names,rE=l.unicodes,P2=sg(xt.styleDefault,{family:xt.familyDefault})};_q(function(r){P2=sg(r.styleDefault,{family:xt.familyDefault})});nE();z2=function(){return{prefix:null,iconName:null,rest:[]}};x5=(tg={},dn(tg,ba,Object.keys(tm[ba])),dn(tg,za,Object.keys(tm[za])),tg);zq=function(){function r(){XW(this,r),this.definitions={}}return QW(r,[{key:"add",value:function(){for(var o=this,l=arguments.length,s=new Array(l),f=0;f<l;f++)s[f]=arguments[f];var u=s.reduce(this._pullDefinitions,{});Object.keys(u).forEach(function(h){o.definitions[h]=vt(vt({},o.definitions[h]||{}),u[h]),S2(h,u[h]);var p=tm[ba][h];p&&S2(p,u[h]),nE()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,l){var s=l.prefix&&l.iconName&&l.icon?{0:l}:l;return Object.keys(s).map(function(f){var u=s[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=[],zd={},Bd={},Bq=Object.keys(Bd);iE=new zq,jq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,lf("noAuto")},Hq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return uc?(lf("beforeI2svg",a),cc("pseudoElements2svg",a),cc("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,Tq(function(){Vq({autoReplaceSvgRoot:o}),lf("watch",a)})}},Uq={icon:function(a){if(a===null)return null;if(ng(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],l=sg(a[0]);return{prefix:l,iconName:nf(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(cq))){var s=cg(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||lu(),iconName:nf(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var f=lu();return{prefix:f,iconName:nf(f,a)||a}}}},To={noAuto:jq,config:xt,dom:Hq,parse:Uq,library:iE,findIconDefinition:C2,toHtml:im},Vq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?ya:o;(Object.keys(Xl.styles).length>0||xt.autoFetchSvg)&&uc&&xt.autoReplaceSvg&&To.dom.i2svg({node:l})};m2=Xl.styles;$q={found:!1,width:512,height:512};E5=function(){},T2=xt.measurePerformance&&$_&&$_.mark&&$_.measure?$_:{mark:E5,measure:E5},Xh='FA "6.4.2"',Kq=function(a){return T2.mark("".concat(Xh," ").concat(a," begins")),function(){return lE(a)}},lE=function(a){T2.mark("".concat(Xh," ").concat(a," ends")),T2.measure("".concat(Xh," ").concat(a),"".concat(Xh," ").concat(a," begins"),"".concat(Xh," ").concat(a," ends"))},F2={begin:Kq,end:lE},rg=function(){};ag={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(sE(s),o)}),o.getAttribute(of)===null&&xt.keepOriginalSource){var l=ya.createComment(tY(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~O2(o).indexOf(xt.replacementClass))return ag.replace(a);var s=new RegExp("".concat(xt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var f=l[0].attributes.class.split(" ").reduce(function(h,p){return p===xt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",f.toNode.join(" "))}var u=l.map(function(h){return im(h)}).join(`
|
|
924
|
+
`);o.setAttribute(of,""),o.innerHTML=u}};j2=!1;ig=null;lY=Xl.styles;su=new Set;N2.map(function(r){su.add("fa-".concat(r))});Object.keys(Zh[ba]).map(su.add.bind(su));Object.keys(Zh[za]).map(su.add.bind(su));su=nm(su);uY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?xs:l,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,M=L===void 0?[]:L,Y=o.attributes,O=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Q=a.prefix,N=a.iconName,te=a.icon;return ug(vt({type:"icon"},a),function(){return lf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?O["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||am()):(O["aria-hidden"]="true",O.focusable="false")),B2({icons:{main:x2(te),mask:p?x2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Q,iconName:N,transform:vt(vt({},xs),s),symbol:u,title:S,maskId:g,titleId:k,extra:{attributes:O,styles:F,classes:M}})})}},fY={mixout:function(){return{icon:cY(uY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=N5,o.nodeCallback=sY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?ya:l,f=o.callback,u=f===void 0?function(){}:f;return N5(s,u)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,f=l.title,u=l.titleId,h=l.prefix,p=l.transform,m=l.symbol,g=l.mask,b=l.maskId,S=l.extra;return new Promise(function(w,k){Promise.all([k2(s,h),g.iconName?k2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var M=R2(L,2),Y=M[0],O=M[1];w([o,B2({icons:{main:Y,mask:O},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:u,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,f=o.main,u=o.transform,h=o.styles,p=lg(h);p.length>0&&(s.style=p);var m;return M2(u)&&(m=cc("generateAbstractTransformGrouping",{main:f,transform:u,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},dY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,f=s===void 0?[]:s;return ug({type:"layer"},function(){lf("beforeDOMElementCreation",{assembler:o,params:l});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(nm(f)).join(" ")},children:u}]})}}}},pY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,f=s===void 0?null:s,u=l.classes,h=u===void 0?[]:u,p=l.attributes,m=p===void 0?{}:p,g=l.styles,b=g===void 0?{}:g;return ug({type:"counter",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:l}),Yq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(nm(h))}})})}}}},hY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,f=s===void 0?xs:s,u=l.title,h=u===void 0?null:u,p=l.classes,m=p===void 0?[]:p,g=l.attributes,b=g===void 0?{}:g,S=l.styles,w=S===void 0?{}:S;return ug({type:"text",content:o},function(){return lf("beforeDOMElementCreation",{content:o,params:l}),T5({content:o,transform:vt(vt({},xs),f),title:h,extra:{attributes:b,styles:w,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(nm(m))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,f=l.transform,u=l.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&&!s&&(u.attributes["aria-hidden"]="true"),Promise.resolve([o,T5({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:u,watchable:!0})])}}},mY=new RegExp('"',"ug"),O5=[1105920,1112319];bY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=P5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?ya:l;xt.searchPseudoElements&&P5(s)}}},I5=!1,yY={mixout:function(){return{dom:{unwatch:function(){uE(),I5=!0}}}},hooks:function(){return{bootstrap:function(){A5(w2("mutationObserverCallbacks",{}))},noAuto:function(){rY()},watch:function(o){var l=o.observeMutationsRoot;I5?E2():A5(w2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},z5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var f=s.toLowerCase().split("-"),u=f[0],h=f.slice(1).join("-");if(u&&h==="h")return l.flipX=!0,l;if(u&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(u){case"grow":l.size=l.size+h;break;case"shrink":l.size=l.size-h;break;case"left":l.x=l.x-h;break;case"right":l.x=l.x+h;break;case"up":l.y=l.y-h;break;case"down":l.y=l.y+h;break;case"rotate":l.rotate=l.rotate+h;break}return l},o)},SY={mixout:function(){return{parse:{transform:function(o){return z5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=z5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,f=o.containerWidth,u=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),m="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),g="rotate(".concat(s.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:vt({},w.outer),children:[{tag:"g",attributes:vt({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:vt(vt({},l.icon.attributes),w.path)}]}]}}}},v2={x:0,y:0,width:"100%",height:"100%"};CY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),f=s?cg(s.split(" ").map(function(u){return u.trim()})):z2();return f.prefix||(f.prefix=lu()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=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=Sq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:vt(vt({},v2),{},{fill:"white"})},L=g.children?{children:g.children.map(B5)}:{},M={tag:"g",attributes:vt({},w.inner),children:[B5(vt({tag:g.tag,attributes:vt(vt({},g.attributes),w.path)},L))]},Y={tag:"g",attributes:vt({},w.outer),children:[M]},O="mask-".concat(h||am()),j="clip-".concat(h||am()),F={tag:"mask",attributes:vt(vt({},v2),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:wY(S)},F]};return l.push(Q,{tag:"rect",attributes:vt({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(O,")")},v2)}),{children:l,attributes:s}}}},xY={provides:function(a){var o=!1;iu.matchMedia&&(o=iu.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:vt(vt({},s),{},{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=vt(vt({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:vt(vt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:vt(vt({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:vt(vt({},u),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:vt(vt({},s),{},{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:vt(vt({},u),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:vt(vt({},s),{},{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:vt(vt({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},kY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),f=s===null?!1:s===""?!0:s;return o.symbol=f,o}}}},TY=[xq,fY,dY,pY,hY,bY,yY,SY,CY,xY,kY];Fq(TY,{mixoutsTo:To});EY=To.noAuto,RY=To.config,DY=To.library,AY=To.dom,LY=To.parse,NY=To.findIconDefinition,OY=To.toHtml,MY=To.icon,PY=To.layer,IY=To.text,zY=To.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,l=r?Symbol.for("react.fragment"):60107,s=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,M=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(Te){return typeof Te=="string"||typeof Te=="function"||Te===l||Te===m||Te===f||Te===s||Te===b||Te===S||typeof Te=="object"&&Te!==null&&(Te.$$typeof===k||Te.$$typeof===w||Te.$$typeof===u||Te.$$typeof===h||Te.$$typeof===g||Te.$$typeof===M||Te.$$typeof===Y||Te.$$typeof===O||Te.$$typeof===L)}function F(Te){if(typeof Te=="object"&&Te!==null){var pt=Te.$$typeof;switch(pt){case a:var Lt=Te.type;switch(Lt){case p:case m:case l:case f:case s:case b:return Lt;default:var jt=Lt&&Lt.$$typeof;switch(jt){case h:case g:case k:case w:case u:return jt;default:return pt}}case o:return pt}}}var Q=p,N=m,te=h,_e=u,re=a,be=g,ye=l,ge=k,H=w,le=o,fe=f,B=s,W=b,ne=!1;function ee(Te){return ne||(ne=!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.")),de(Te)||F(Te)===p}function de(Te){return F(Te)===m}function xe(Te){return F(Te)===h}function we(Te){return F(Te)===u}function Ye(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===a}function $e(Te){return F(Te)===g}function Pe(Te){return F(Te)===l}function et(Te){return F(Te)===k}function ut(Te){return F(Te)===w}function lt(Te){return F(Te)===o}function Tt(Te){return F(Te)===f}function wt(Te){return F(Te)===s}function Ze(Te){return F(Te)===b}ea.AsyncMode=Q,ea.ConcurrentMode=N,ea.ContextConsumer=te,ea.ContextProvider=_e,ea.Element=re,ea.ForwardRef=be,ea.Fragment=ye,ea.Lazy=ge,ea.Memo=H,ea.Portal=le,ea.Profiler=fe,ea.StrictMode=B,ea.Suspense=W,ea.isAsyncMode=ee,ea.isConcurrentMode=de,ea.isContextConsumer=xe,ea.isContextProvider=we,ea.isElement=Ye,ea.isForwardRef=$e,ea.isFragment=Pe,ea.isLazy=et,ea.isMemo=ut,ea.isPortal=lt,ea.isProfiler=Tt,ea.isStrictMode=wt,ea.isSuspense=Ze,ea.isValidElementType=j,ea.typeOf=F})()});var H2=Ue((yG,mE)=>{"use strict";mE.exports=hE()});var gE=Ue((SG,_E)=>{"use strict";var vE=Object.getOwnPropertySymbols,BY=Object.prototype.hasOwnProperty,FY=Object.prototype.propertyIsEnumerable;function jY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function HY(){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 l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}_E.exports=HY()?Object.assign:function(r,a){for(var o,l=jY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var u in o)BY.call(o,u)&&(l[u]=o[u]);if(vE){s=vE(o);for(var h=0;h<s.length;h++)FY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var U2=Ue((wG,bE)=>{"use strict";var UY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";bE.exports=UY});var V2=Ue((CG,yE)=>{yE.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var kE=Ue((xG,xE)=>{"use strict";var W2=function(){};SE=U2(),fg={},wE=V2(),W2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var SE,fg,wE;function CE(r,a,o,l,s){for(var f in r)if(wE(r,f)){var u;try{if(typeof r[f]!="function"){var h=Error((l||"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,l,o,null,SE)}catch(m){u=m}if(u&&!(u instanceof Error)&&W2((l||"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 fg)){fg[u.message]=!0;var p=s?s():"";W2("Failed "+o+" type: "+u.message+(p!=null?p:""))}}}CE.resetWarningCache=function(){fg={}};xE.exports=CE});var RE=Ue((kG,EE)=>{"use strict";var VY=H2(),WY=gE(),Hd=U2(),q2=V2(),TE=kE(),Ud=function(){};Ud=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function dg(){return null}EE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(H){var le=H&&(o&&H[o]||H[l]);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:M,oneOfType:O,shape:Q,exact:N};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={},fe=0;function B(ne,ee,de,xe,we,Ye,$e){if(xe=xe||f,Ye=Ye||de,$e!==Hd){if(a){var Pe=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 Pe.name="Invariant Violation",Pe}else if(typeof console!="undefined"){var et=xe+":"+de;!le[et]&&fe<3&&(Ud("You are manually calling a React.PropTypes validation function for the `"+Ye+"` prop on `"+xe+"`. 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[et]=!0,fe++)}}return ee[de]==null?ne?ee[de]===null?new p("The "+we+" `"+Ye+"` is marked as required "+("in `"+xe+"`, but its value is `null`.")):new p("The "+we+" `"+Ye+"` is marked as required in "+("`"+xe+"`, but its value is `undefined`.")):null:H(ee,de,xe,we,Ye)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function g(H){function le(fe,B,W,ne,ee,de){var xe=fe[B],we=re(xe);if(we!==H){var Ye=be(xe);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ye+"` supplied to `"+W+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(dg)}function S(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var de=fe[B];if(!Array.isArray(de)){var xe=re(de);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected an array."))}for(var we=0;we<de.length;we++){var Ye=H(de,we,W,ne,ee+"["+we+"]",Hd);if(Ye instanceof Error)return Ye}return null}return m(le)}function w(){function H(le,fe,B,W,ne){var ee=le[fe];if(!r(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,fe,B,W,ne){var ee=le[fe];if(!VY.isValidElementType(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function le(fe,B,W,ne,ee){if(!(fe[B]instanceof H)){var de=H.name||f,xe=ge(fe[B]);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected ")+("instance of `"+de+"`."))}return null}return m(le)}function M(H){if(!Array.isArray(H))return arguments.length>1?Ud("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])."):Ud("Invalid argument supplied to oneOf, expected an array."),dg;function le(fe,B,W,ne,ee){for(var de=fe[B],xe=0;xe<H.length;xe++)if(h(de,H[xe]))return null;var we=JSON.stringify(H,function($e,Pe){var et=be(Pe);return et==="symbol"?String(Pe):Pe});return new p("Invalid "+ne+" `"+ee+"` of value `"+String(de)+"` "+("supplied to `"+W+"`, expected one of "+we+"."))}return m(le)}function Y(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+xe+"` supplied to `"+W+"`, expected an object."));for(var we in de)if(q2(de,we)){var Ye=H(de,we,W,ne,ee+"."+we,Hd);if(Ye instanceof Error)return Ye}return null}return m(le)}function O(H){if(!Array.isArray(H))return Ud("Invalid argument supplied to oneOfType, expected an instance of array."),dg;for(var le=0;le<H.length;le++){var fe=H[le];if(typeof fe!="function")return Ud("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ye(fe)+" at index "+le+"."),dg}function B(W,ne,ee,de,xe){for(var we=[],Ye=0;Ye<H.length;Ye++){var $e=H[Ye],Pe=$e(W,ne,ee,de,xe,Hd);if(Pe==null)return null;Pe.data&&q2(Pe.data,"expectedType")&&we.push(Pe.data.expectedType)}var et=we.length>0?", expected one of type ["+we.join(", ")+"]":"";return new p("Invalid "+de+" `"+xe+"` supplied to "+("`"+ee+"`"+et+"."))}return m(B)}function j(){function H(le,fe,B,W,ne){return te(le[fe])?null:new p("Invalid "+W+" `"+ne+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,fe,B,W){return new p((H||"React class")+": "+le+" type `"+fe+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function Q(H){function le(fe,B,W,ne,ee){var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+xe+"` "+("supplied to `"+W+"`, expected `object`."));for(var we in H){var Ye=H[we];if(typeof Ye!="function")return F(W,ne,ee,we,be(Ye));var $e=Ye(de,we,W,ne,ee+"."+we,Hd);if($e)return $e}return null}return m(le)}function N(H){function le(fe,B,W,ne,ee){var de=fe[B],xe=re(de);if(xe!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+xe+"` "+("supplied to `"+W+"`, expected `object`."));var we=WY({},fe[B],H);for(var Ye in we){var $e=H[Ye];if(q2(H,Ye)&&typeof $e!="function")return F(W,ne,ee,Ye,be($e));if(!$e)return new p("Invalid "+ne+" `"+ee+"` key `"+Ye+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(fe[B],null," ")+`
|
|
925
|
+
Valid keys: `+JSON.stringify(Object.keys(H),null," "));var Pe=$e(de,Ye,W,ne,ee+"."+Ye,Hd);if(Pe)return Pe}return null}return m(le)}function te(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(te);if(H===null||r(H))return!0;var le=s(H);if(le){var fe=le.call(H),B;if(le!==H.entries){for(;!(B=fe.next()).done;)if(!te(B.value))return!1}else for(;!(B=fe.next()).done;){var W=B.value;if(W&&!te(W[1]))return!1}}else return!1;return!0;default:return!1}}function _e(H,le){return H==="symbol"?!0:le?le["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&le instanceof Symbol:!1}function re(H){var le=typeof H;return Array.isArray(H)?"array":H instanceof RegExp?"object":_e(le,H)?"symbol":le}function be(H){if(typeof H=="undefined"||H===null)return""+H;var le=re(H);if(le==="object"){if(H instanceof Date)return"date";if(H instanceof RegExp)return"regexp"}return le}function ye(H){var le=be(H);switch(le){case"array":case"object":return"an "+le;case"boolean":case"date":case"regexp":return"a "+le;default:return le}}function ge(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((TG,LE)=>{DE=H2(),AE=!0,LE.exports=RE()(DE.isElement,AE);var DE,AE});var ME=Ue((pg,OE)=>{(function(r,a){typeof pg=="object"&&typeof OE!="undefined"?a(pg,(pE(),RV(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))})(pg,function(r,a,o,l){"use strict";function s(B){return B&&typeof B=="object"&&"default"in B?B:{default:B}}var f=s(o),u=s(l);function h(B,W){var ne=Object.keys(B);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(B);W&&(ee=ee.filter(function(de){return Object.getOwnPropertyDescriptor(B,de).enumerable})),ne.push.apply(ne,ee)}return ne}function p(B){for(var W=1;W<arguments.length;W++){var ne=arguments[W]!=null?arguments[W]:{};W%2?h(Object(ne),!0).forEach(function(ee){g(B,ee,ne[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(ne)):h(Object(ne)).forEach(function(ee){Object.defineProperty(B,ee,Object.getOwnPropertyDescriptor(ne,ee))})}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,ne){return W in B?Object.defineProperty(B,W,{value:ne,enumerable:!0,configurable:!0,writable:!0}):B[W]=ne,B}function b(B,W){if(B==null)return{};var ne={},ee=Object.keys(B),de,xe;for(xe=0;xe<ee.length;xe++)de=ee[xe],!(W.indexOf(de)>=0)&&(ne[de]=B[de]);return ne}function S(B,W){if(B==null)return{};var ne=b(B,W),ee,de;if(Object.getOwnPropertySymbols){var xe=Object.getOwnPropertySymbols(B);for(de=0;de<xe.length;de++)ee=xe[de],!(W.indexOf(ee)>=0)&&Object.prototype.propertyIsEnumerable.call(B,ee)&&(ne[ee]=B[ee])}return ne}function w(B){return k(B)||L(B)||M(B)||O()}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 M(B,W){if(B){if(typeof B=="string")return Y(B,W);var ne=Object.prototype.toString.call(B).slice(8,-1);if(ne==="Object"&&B.constructor&&(ne=B.constructor.name),ne==="Map"||ne==="Set")return Array.from(B);if(ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ne))return Y(B,W)}}function Y(B,W){(W==null||W>B.length)&&(W=B.length);for(var ne=0,ee=new Array(W);ne<W;ne++)ee[ne]=B[ne];return ee}function O(){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,ne=B.beat,ee=B.fade,de=B.beatFade,xe=B.bounce,we=B.shake,Ye=B.flash,$e=B.spin,Pe=B.spinPulse,et=B.spinReverse,ut=B.pulse,lt=B.fixedWidth,Tt=B.inverse,wt=B.border,Ze=B.listItem,Te=B.flip,pt=B.size,Lt=B.rotation,jt=B.pull,Ut=(W={"fa-beat":ne,"fa-fade":ee,"fa-beat-fade":de,"fa-bounce":xe,"fa-shake":we,"fa-flash":Ye,"fa-spin":$e,"fa-spin-reverse":et,"fa-spin-pulse":Pe,"fa-pulse":ut,"fa-fw":lt,"fa-inverse":Tt,"fa-border":wt,"fa-li":Ze,"fa-flip":Te===!0,"fa-flip-horizontal":Te==="horizontal"||Te==="both","fa-flip-vertical":Te==="vertical"||Te==="both"},g(W,"fa-".concat(pt),typeof pt!="undefined"&&pt!==null),g(W,"fa-rotate-".concat(Lt),typeof Lt!="undefined"&&Lt!==null&&Lt!==0),g(W,"fa-pull-".concat(jt),typeof jt!="undefined"&&jt!==null),g(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(Ut).map(function(ar){return Ut[ar]?ar:null}).filter(function(ar){return ar})}function F(B){return B=B-0,B===B}function Q(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ne){return ne?ne.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var N=["style"];function te(B){return B.charAt(0).toUpperCase()+B.slice(1)}function _e(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ne){var ee=ne.indexOf(":"),de=Q(ne.slice(0,ee)),xe=ne.slice(ee+1).trim();return de.startsWith("webkit")?W[te(de)]=xe:W[de]=xe,W},{})}function re(B,W){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var ee=(W.children||[]).map(function($e){return re(B,$e)}),de=Object.keys(W.attributes||{}).reduce(function($e,Pe){var et=W.attributes[Pe];switch(Pe){case"class":$e.attrs.className=et,delete W.attributes.class;break;case"style":$e.attrs.style=_e(et);break;default:Pe.indexOf("aria-")===0||Pe.indexOf("data-")===0?$e.attrs[Pe.toLowerCase()]=et:$e.attrs[Q(Pe)]=et}return $e},{attrs:{}}),xe=ne.style,we=xe===void 0?{}:xe,Ye=S(ne,N);return de.attrs.style=p(p({},de.attrs.style),we),B.apply(void 0,[W.tag,p(p({},de.attrs),Ye)].concat(w(ee)))}var be=!1;try{be=!1}catch(B){}function ye(){if(!be&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function ge(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 ne=B.icon,ee=B.mask,de=B.symbol,xe=B.className,we=B.title,Ye=B.titleId,$e=B.maskId,Pe=ge(ne),et=H("classes",[].concat(w(j(B)),w(xe.split(" ")))),ut=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),lt=H("mask",ge(ee)),Tt=a.icon(Pe,p(p(p(p({},et),ut),lt),{},{symbol:de,title:we,titleId:Ye,maskId:$e}));if(!Tt)return ye("Could not find icon",Pe),null;var wt=Tt.abstract,Ze={ref:W};return Object.keys(B).forEach(function(Te){le.defaultProps.hasOwnProperty(Te)||(Ze[Te]=B[Te])}),fe(wt[0],Ze)});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 fe=re.bind(null,u.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var HE=Ue(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var PE="fas",IE="xmark",zE=384,BE=512,Y2=[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";Wo.definition={prefix:PE,iconName:IE,icon:[zE,BE,Y2,FE,jE]};Wo.faXmark=Wo.definition;Wo.prefix=PE;Wo.iconName=IE;Wo.width=zE;Wo.height=BE;Wo.ligatures=Y2;Wo.unicode=FE;Wo.svgPathData=jE;Wo.aliases=Y2});var UE=Ue(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var eo=HE();qo.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};qo.faTimes=qo.definition;qo.prefix=eo.prefix;qo.iconName=eo.iconName;qo.width=eo.width;qo.height=eo.height;qo.ligatures=eo.aliases;qo.unicode=eo.unicode;qo.svgPathData=eo.svgPathData;qo.aliases=eo.aliases});var KE=Ue(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var VE="fas",WE="angle-right",qE=320,YE=512,$2=[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";Yo.definition={prefix:VE,iconName:WE,icon:[qE,YE,$2,$E,GE]};Yo.faAngleRight=Yo.definition;Yo.prefix=VE;Yo.iconName=WE;Yo.width=qE;Yo.height=YE;Yo.ligatures=$2;Yo.unicode=$E;Yo.svgPathData=GE;Yo.aliases=$2});var rR=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var XE="fas",QE="angle-left",JE=320,ZE=512,G2=[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";$o.definition={prefix:XE,iconName:QE,icon:[JE,ZE,G2,eR,tR]};$o.faAngleLeft=$o.definition;$o.prefix=XE;$o.iconName=QE;$o.width=JE;$o.height=ZE;$o.ligatures=G2;$o.unicode=eR;$o.svgPathData=tR;$o.aliases=G2});var cR=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var aR="fas",nR="angle-up",oR=448,iR=512,K2=[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";Go.definition={prefix:aR,iconName:nR,icon:[oR,iR,K2,lR,sR]};Go.faAngleUp=Go.definition;Go.prefix=aR;Go.iconName=nR;Go.width=oR;Go.height=iR;Go.ligatures=K2;Go.unicode=lR;Go.svgPathData=sR;Go.aliases=K2});var vR=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var uR="fas",fR="angle-down",dR=448,pR=512,X2=[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";Ko.definition={prefix:uR,iconName:fR,icon:[dR,pR,X2,hR,mR]};Ko.faAngleDown=Ko.definition;Ko.prefix=uR;Ko.iconName=fR;Ko.width=dR;Ko.height=pR;Ko.ligatures=X2;Ko.unicode=hR;Ko.svgPathData=mR;Ko.aliases=X2});var CR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var _R="fas",gR="chevron-left",bR=320,yR=512,Q2=[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";Xo.definition={prefix:_R,iconName:gR,icon:[bR,yR,Q2,SR,wR]};Xo.faChevronLeft=Xo.definition;Xo.prefix=_R;Xo.iconName=gR;Xo.width=bR;Xo.height=yR;Xo.ligatures=Q2;Xo.unicode=SR;Xo.svgPathData=wR;Xo.aliases=Q2});var AR=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var xR="fas",kR="chevron-right",TR=320,ER=512,J2=[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";Qo.definition={prefix:xR,iconName:kR,icon:[TR,ER,J2,RR,DR]};Qo.faChevronRight=Qo.definition;Qo.prefix=xR;Qo.iconName=kR;Qo.width=TR;Qo.height=ER;Qo.ligatures=J2;Qo.unicode=RR;Qo.svgPathData=DR;Qo.aliases=J2});var zR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var LR="fas",NR="chevron-up",OR=512,MR=512,Z2=[],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";Jo.definition={prefix:LR,iconName:NR,icon:[OR,MR,Z2,PR,IR]};Jo.faChevronUp=Jo.definition;Jo.prefix=LR;Jo.iconName=NR;Jo.width=OR;Jo.height=MR;Jo.ligatures=Z2;Jo.unicode=PR;Jo.svgPathData=IR;Jo.aliases=Z2});var WR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var BR="fas",FR="chevron-down",jR=512,HR=512,eS=[],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";Zo.definition={prefix:BR,iconName:FR,icon:[jR,HR,eS,UR,VR]};Zo.faChevronDown=Zo.definition;Zo.prefix=BR;Zo.iconName=FR;Zo.width=jR;Zo.height=HR;Zo.ligatures=eS;Zo.unicode=UR;Zo.svgPathData=VR;Zo.aliases=eS});var QR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var qR="fas",YR="caret-left",$R=256,GR=512,tS=[],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";ei.definition={prefix:qR,iconName:YR,icon:[$R,GR,tS,KR,XR]};ei.faCaretLeft=ei.definition;ei.prefix=qR;ei.iconName=YR;ei.width=$R;ei.height=GR;ei.ligatures=tS;ei.unicode=KR;ei.svgPathData=XR;ei.aliases=tS});var n6=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var JR="fas",ZR="caret-right",e6=256,t6=512,rS=[],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";ti.definition={prefix:JR,iconName:ZR,icon:[e6,t6,rS,r6,a6]};ti.faCaretRight=ti.definition;ti.prefix=JR;ti.iconName=ZR;ti.width=e6;ti.height=t6;ti.ligatures=rS;ti.unicode=r6;ti.svgPathData=a6;ti.aliases=rS});var f6=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var o6="fas",i6="caret-up",l6=320,s6=512,aS=[],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";ri.definition={prefix:o6,iconName:i6,icon:[l6,s6,aS,c6,u6]};ri.faCaretUp=ri.definition;ri.prefix=o6;ri.iconName=i6;ri.width=l6;ri.height=s6;ri.ligatures=aS;ri.unicode=c6;ri.svgPathData=u6;ri.aliases=aS});var g6=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var d6="fas",p6="caret-down",h6=320,m6=512,nS=[],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";ai.definition={prefix:d6,iconName:p6,icon:[h6,m6,nS,v6,_6]};ai.faCaretDown=ai.definition;ai.prefix=d6;ai.iconName=p6;ai.width=h6;ai.height=m6;ai.ligatures=nS;ai.unicode=v6;ai.svgPathData=_6;ai.aliases=nS});var k6=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var b6="fas",y6="arrow-left",S6=448,w6=512,oS=[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";ni.definition={prefix:b6,iconName:y6,icon:[S6,w6,oS,C6,x6]};ni.faArrowLeft=ni.definition;ni.prefix=b6;ni.iconName=y6;ni.width=S6;ni.height=w6;ni.ligatures=oS;ni.unicode=C6;ni.svgPathData=x6;ni.aliases=oS});var lS=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var T6="fas",E6="arrow-right",R6=448,D6=512,iS=[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";oi.definition={prefix:T6,iconName:E6,icon:[R6,D6,iS,A6,L6]};oi.faArrowRight=oi.definition;oi.prefix=T6;oi.iconName=E6;oi.width=R6;oi.height=D6;oi.ligatures=iS;oi.unicode=A6;oi.svgPathData=L6;oi.aliases=iS});var cS=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var N6="fas",O6="arrow-up",M6=384,P6=512,sS=[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";ii.definition={prefix:N6,iconName:O6,icon:[M6,P6,sS,I6,z6]};ii.faArrowUp=ii.definition;ii.prefix=N6;ii.iconName=O6;ii.width=M6;ii.height=P6;ii.ligatures=sS;ii.unicode=I6;ii.svgPathData=z6;ii.aliases=sS});var fS=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var B6="fas",F6="arrow-down",j6=384,H6=512,uS=[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";li.definition={prefix:B6,iconName:F6,icon:[j6,H6,uS,U6,V6]};li.faArrowDown=li.definition;li.prefix=B6;li.iconName=F6;li.width=j6;li.height=H6;li.ligatures=uS;li.unicode=U6;li.svgPathData=V6;li.aliases=uS});var X6=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var W6="fas",q6="rotate",Y6=512,$6=512,dS=[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";si.definition={prefix:W6,iconName:q6,icon:[Y6,$6,dS,G6,K6]};si.faRotate=si.definition;si.prefix=W6;si.iconName=q6;si.width=Y6;si.height=$6;si.ligatures=dS;si.unicode=G6;si.svgPathData=K6;si.aliases=dS});var aD=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var Q6="fas",J6="arrow-rotate-right",Z6=512,eD=512,pS=[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";ci.definition={prefix:Q6,iconName:J6,icon:[Z6,eD,pS,tD,rD]};ci.faArrowRotateRight=ci.definition;ci.prefix=Q6;ci.iconName=J6;ci.width=Z6;ci.height=eD;ci.ligatures=pS;ci.unicode=tD;ci.svgPathData=rD;ci.aliases=pS});var nD=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var to=aD();ui.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};ui.faRedo=ui.definition;ui.prefix=to.prefix;ui.iconName=to.iconName;ui.width=to.width;ui.height=to.height;ui.ligatures=to.aliases;ui.unicode=to.unicode;ui.svgPathData=to.svgPathData;ui.aliases=to.aliases});var fD=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var oD="fas",iD="check",lD=448,sD=512,hS=[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";fi.definition={prefix:oD,iconName:iD,icon:[lD,sD,hS,cD,uD]};fi.faCheck=fi.definition;fi.prefix=oD;fi.iconName=iD;fi.width=lD;fi.height=sD;fi.ligatures=hS;fi.unicode=cD;fi.svgPathData=uD;fi.aliases=hS});var gD=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var dD="fas",pD="question",hD=320,mD=512,mS=[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";di.definition={prefix:dD,iconName:pD,icon:[hD,mD,mS,vD,_D]};di.faQuestion=di.definition;di.prefix=dD;di.iconName=pD;di.width=hD;di.height=mD;di.ligatures=mS;di.unicode=vD;di.svgPathData=_D;di.aliases=mS});var kD=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var bD="fas",yD="exclamation",SD=128,wD=512,vS=[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";pi.definition={prefix:bD,iconName:yD,icon:[SD,wD,vS,CD,xD]};pi.faExclamation=pi.definition;pi.prefix=bD;pi.iconName=yD;pi.width=SD;pi.height=wD;pi.ligatures=vS;pi.unicode=CD;pi.svgPathData=xD;pi.aliases=vS});var ND=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var TD="fas",ED="triangle-exclamation",RD=512,DD=512,_S=[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";hi.definition={prefix:TD,iconName:ED,icon:[RD,DD,_S,AD,LD]};hi.faTriangleExclamation=hi.definition;hi.prefix=TD;hi.iconName=ED;hi.width=RD;hi.height=DD;hi.ligatures=_S;hi.unicode=AD;hi.svgPathData=LD;hi.aliases=_S});var OD=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var ro=ND();mi.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};mi.faExclamationTriangle=mi.definition;mi.prefix=ro.prefix;mi.iconName=ro.iconName;mi.width=ro.width;mi.height=ro.height;mi.ligatures=ro.aliases;mi.unicode=ro.unicode;mi.svgPathData=ro.svgPathData;mi.aliases=ro.aliases});var jD=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var MD="fas",PD="house",ID=576,zD=512,gS=[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";vi.definition={prefix:MD,iconName:PD,icon:[ID,zD,gS,BD,FD]};vi.faHouse=vi.definition;vi.prefix=MD;vi.iconName=PD;vi.width=ID;vi.height=zD;vi.ligatures=gS;vi.unicode=BD;vi.svgPathData=FD;vi.aliases=gS});var HD=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ao=jD();_i.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};_i.faHome=_i.definition;_i.prefix=ao.prefix;_i.iconName=ao.iconName;_i.width=ao.width;_i.height=ao.height;_i.ligatures=ao.aliases;_i.unicode=ao.unicode;_i.svgPathData=ao.svgPathData;_i.aliases=ao.aliases});var GD=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var UD="fas",VD="share",WD=512,qD=512,bS=["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";gi.definition={prefix:UD,iconName:VD,icon:[WD,qD,bS,YD,$D]};gi.faShare=gi.definition;gi.prefix=UD;gi.iconName=VD;gi.width=WD;gi.height=qD;gi.ligatures=bS;gi.unicode=YD;gi.svgPathData=$D;gi.aliases=bS});var tA=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var KD="fas",XD="magnifying-glass",QD=512,JD=512,yS=[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";bi.definition={prefix:KD,iconName:XD,icon:[QD,JD,yS,ZD,eA]};bi.faMagnifyingGlass=bi.definition;bi.prefix=KD;bi.iconName=XD;bi.width=QD;bi.height=JD;bi.ligatures=yS;bi.unicode=ZD;bi.svgPathData=eA;bi.aliases=yS});var rA=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var no=tA();yi.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};yi.faSearch=yi.definition;yi.prefix=no.prefix;yi.iconName=no.iconName;yi.width=no.width;yi.height=no.height;yi.ligatures=no.aliases;yi.unicode=no.unicode;yi.svgPathData=no.svgPathData;yi.aliases=no.aliases});var cA=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var aA="fas",nA="yen-sign",oA=320,iA=512,SS=[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";Si.definition={prefix:aA,iconName:nA,icon:[oA,iA,SS,lA,sA]};Si.faYenSign=Si.definition;Si.prefix=aA;Si.iconName=nA;Si.width=oA;Si.height=iA;Si.ligatures=SS;Si.unicode=lA;Si.svgPathData=sA;Si.aliases=SS});var vA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var uA="fas",fA="pen",dA=512,pA=512,wS=[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";wi.definition={prefix:uA,iconName:fA,icon:[dA,pA,wS,hA,mA]};wi.faPen=wi.definition;wi.prefix=uA;wi.iconName=fA;wi.width=dA;wi.height=pA;wi.ligatures=wS;wi.unicode=hA;wi.svgPathData=mA;wi.aliases=wS});var CA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var _A="fas",gA="bars",bA=448,yA=512,CS=["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";Ci.definition={prefix:_A,iconName:gA,icon:[bA,yA,CS,SA,wA]};Ci.faBars=Ci.definition;Ci.prefix=_A;Ci.iconName=gA;Ci.width=bA;Ci.height=yA;Ci.ligatures=CS;Ci.unicode=SA;Ci.svgPathData=wA;Ci.aliases=CS});var AA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var xA="fas",kA="download",TA=512,EA=512,xS=[],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";xi.definition={prefix:xA,iconName:kA,icon:[TA,EA,xS,RA,DA]};xi.faDownload=xi.definition;xi.prefix=xA;xi.iconName=kA;xi.width=TA;xi.height=EA;xi.ligatures=xS;xi.unicode=RA;xi.svgPathData=DA;xi.aliases=xS});var zA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var LA="fas",NA="link",OA=640,MA=512,kS=[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";ki.definition={prefix:LA,iconName:NA,icon:[OA,MA,kS,PA,IA]};ki.faLink=ki.definition;ki.prefix=LA;ki.iconName=NA;ki.width=OA;ki.height=MA;ki.ligatures=kS;ki.unicode=PA;ki.svgPathData=IA;ki.aliases=kS});var WA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var BA="fas",FA="link-slash",jA=640,HA=512,TS=["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";Ti.definition={prefix:BA,iconName:FA,icon:[jA,HA,TS,UA,VA]};Ti.faLinkSlash=Ti.definition;Ti.prefix=BA;Ti.iconName=FA;Ti.width=jA;Ti.height=HA;Ti.ligatures=TS;Ti.unicode=UA;Ti.svgPathData=VA;Ti.aliases=TS});var QA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var qA="fas",YA="up-right-from-square",$A=512,GA=512,ES=["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";Ei.definition={prefix:qA,iconName:YA,icon:[$A,GA,ES,KA,XA]};Ei.faUpRightFromSquare=Ei.definition;Ei.prefix=qA;Ei.iconName=YA;Ei.width=$A;Ei.height=GA;Ei.ligatures=ES;Ei.unicode=KA;Ei.svgPathData=XA;Ei.aliases=ES});var JA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var oo=QA();Ri.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Ri.faExternalLinkAlt=Ri.definition;Ri.prefix=oo.prefix;Ri.iconName=oo.iconName;Ri.width=oo.width;Ri.height=oo.height;Ri.ligatures=oo.aliases;Ri.unicode=oo.unicode;Ri.svgPathData=oo.svgPathData;Ri.aliases=oo.aliases});var o8=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var ZA="fas",e8="gear",t8=512,r8=512,RS=[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";Di.definition={prefix:ZA,iconName:e8,icon:[t8,r8,RS,a8,n8]};Di.faGear=Di.definition;Di.prefix=ZA;Di.iconName=e8;Di.width=t8;Di.height=r8;Di.ligatures=RS;Di.unicode=a8;Di.svgPathData=n8;Di.aliases=RS});var d8=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var i8="fas",l8="plus",s8=448,c8=512,DS=[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";Ai.definition={prefix:i8,iconName:l8,icon:[s8,c8,DS,u8,f8]};Ai.faPlus=Ai.definition;Ai.prefix=i8;Ai.iconName=l8;Ai.width=s8;Ai.height=c8;Ai.ligatures=DS;Ai.unicode=u8;Ai.svgPathData=f8;Ai.aliases=DS});var b8=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var p8="fas",h8="minus",m8=448,v8=512,AS=[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";Li.definition={prefix:p8,iconName:h8,icon:[m8,v8,AS,_8,g8]};Li.faMinus=Li.definition;Li.prefix=p8;Li.iconName=h8;Li.width=m8;Li.height=v8;Li.ligatures=AS;Li.unicode=_8;Li.svgPathData=g8;Li.aliases=AS});var T8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var y8="fas",S8="ellipsis",w8=448,C8=512,LS=["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";Ni.definition={prefix:y8,iconName:S8,icon:[w8,C8,LS,x8,k8]};Ni.faEllipsis=Ni.definition;Ni.prefix=y8;Ni.iconName=S8;Ni.width=w8;Ni.height=C8;Ni.ligatures=LS;Ni.unicode=x8;Ni.svgPathData=k8;Ni.aliases=LS});var E8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var io=T8();Oi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Oi.faEllipsisH=Oi.definition;Oi.prefix=io.prefix;Oi.iconName=io.iconName;Oi.width=io.width;Oi.height=io.height;Oi.ligatures=io.aliases;Oi.unicode=io.unicode;Oi.svgPathData=io.svgPathData;Oi.aliases=io.aliases});var M8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var R8="fas",D8="ellipsis-vertical",A8=128,L8=512,NS=["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";Mi.definition={prefix:R8,iconName:D8,icon:[A8,L8,NS,N8,O8]};Mi.faEllipsisVertical=Mi.definition;Mi.prefix=R8;Mi.iconName=D8;Mi.width=A8;Mi.height=L8;Mi.ligatures=NS;Mi.unicode=N8;Mi.svgPathData=O8;Mi.aliases=NS});var P8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var lo=M8();Pi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Pi.faEllipsisV=Pi.definition;Pi.prefix=lo.prefix;Pi.iconName=lo.iconName;Pi.width=lo.width;Pi.height=lo.height;Pi.ligatures=lo.aliases;Pi.unicode=lo.unicode;Pi.svgPathData=lo.svgPathData;Pi.aliases=lo.aliases});var U8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var I8="fas",z8="star",B8=576,F8=512,OS=[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";Ii.definition={prefix:I8,iconName:z8,icon:[B8,F8,OS,j8,H8]};Ii.faStar=Ii.definition;Ii.prefix=I8;Ii.iconName=z8;Ii.width=B8;Ii.height=F8;Ii.ligatures=OS;Ii.unicode=j8;Ii.svgPathData=H8;Ii.aliases=OS});var K8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var V8="fas",W8="paper-plane",q8=512,Y8=512,MS=[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";zi.definition={prefix:V8,iconName:W8,icon:[q8,Y8,MS,$8,G8]};zi.faPaperPlane=zi.definition;zi.prefix=V8;zi.iconName=W8;zi.width=q8;zi.height=Y8;zi.ligatures=MS;zi.unicode=$8;zi.svgPathData=G8;zi.aliases=MS});var rL=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var X8="fas",Q8="heart",J8=512,Z8=512,PS=[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";Bi.definition={prefix:X8,iconName:Q8,icon:[J8,Z8,PS,eL,tL]};Bi.faHeart=Bi.definition;Bi.prefix=X8;Bi.iconName=Q8;Bi.width=J8;Bi.height=Z8;Bi.ligatures=PS;Bi.unicode=eL;Bi.svgPathData=tL;Bi.aliases=PS});var cL=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var aL="fas",nL="ban",oL=512,iL=512,IS=[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";Fi.definition={prefix:aL,iconName:nL,icon:[oL,iL,IS,lL,sL]};Fi.faBan=Fi.definition;Fi.prefix=aL;Fi.iconName=nL;Fi.width=oL;Fi.height=iL;Fi.ligatures=IS;Fi.unicode=lL;Fi.svgPathData=sL;Fi.aliases=IS});var vL=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var uL="fas",fL="location-crosshairs",dL=512,pL=512,zS=["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";ji.definition={prefix:uL,iconName:fL,icon:[dL,pL,zS,hL,mL]};ji.faLocationCrosshairs=ji.definition;ji.prefix=uL;ji.iconName=fL;ji.width=dL;ji.height=pL;ji.ligatures=zS;ji.unicode=hL;ji.svgPathData=mL;ji.aliases=zS});var CL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var _L="far",gL="user",bL=448,yL=512,BS=[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";Hi.definition={prefix:_L,iconName:gL,icon:[bL,yL,BS,SL,wL]};Hi.faUser=Hi.definition;Hi.prefix=_L;Hi.iconName=gL;Hi.width=bL;Hi.height=yL;Hi.ligatures=BS;Hi.unicode=SL;Hi.svgPathData=wL;Hi.aliases=BS});var AL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var xL="far",kL="circle-check",TL=512,EL=512,FS=[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";Ui.definition={prefix:xL,iconName:kL,icon:[TL,EL,FS,RL,DL]};Ui.faCircleCheck=Ui.definition;Ui.prefix=xL;Ui.iconName=kL;Ui.width=TL;Ui.height=EL;Ui.ligatures=FS;Ui.unicode=RL;Ui.svgPathData=DL;Ui.aliases=FS});var LL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var so=AL();Vi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Vi.faCheckCircle=Vi.definition;Vi.prefix=so.prefix;Vi.iconName=so.iconName;Vi.width=so.width;Vi.height=so.height;Vi.ligatures=so.aliases;Vi.unicode=so.unicode;Vi.svgPathData=so.svgPathData;Vi.aliases=so.aliases});var BL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var NL="far",OL="circle-question",ML=512,PL=512,jS=[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";Wi.definition={prefix:NL,iconName:OL,icon:[ML,PL,jS,IL,zL]};Wi.faCircleQuestion=Wi.definition;Wi.prefix=NL;Wi.iconName=OL;Wi.width=ML;Wi.height=PL;Wi.ligatures=jS;Wi.unicode=IL;Wi.svgPathData=zL;Wi.aliases=jS});var FL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var co=BL();qi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};qi.faQuestionCircle=qi.definition;qi.prefix=co.prefix;qi.iconName=co.iconName;qi.width=co.width;qi.height=co.height;qi.ligatures=co.aliases;qi.unicode=co.unicode;qi.svgPathData=co.svgPathData;qi.aliases=co.aliases});var YL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var jL="far",HL="pen-to-square",UL=512,VL=512,HS=["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";Yi.definition={prefix:jL,iconName:HL,icon:[UL,VL,HS,WL,qL]};Yi.faPenToSquare=Yi.definition;Yi.prefix=jL;Yi.iconName=HL;Yi.width=UL;Yi.height=VL;Yi.ligatures=HS;Yi.unicode=WL;Yi.svgPathData=qL;Yi.aliases=HS});var $L=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var uo=YL();$i.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};$i.faEdit=$i.definition;$i.prefix=uo.prefix;$i.iconName=uo.iconName;$i.width=uo.width;$i.height=uo.height;$i.ligatures=uo.aliases;$i.unicode=uo.unicode;$i.svgPathData=uo.svgPathData;$i.aliases=uo.aliases});var eN=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var GL="far",KL="copy",XL=448,QL=512,US=[],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";Gi.definition={prefix:GL,iconName:KL,icon:[XL,QL,US,JL,ZL]};Gi.faCopy=Gi.definition;Gi.prefix=GL;Gi.iconName=KL;Gi.width=XL;Gi.height=QL;Gi.ligatures=US;Gi.unicode=JL;Gi.svgPathData=ZL;Gi.aliases=US});var lN=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var tN="far",rN="file",aN=384,nN=512,VS=[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";Ki.definition={prefix:tN,iconName:rN,icon:[aN,nN,VS,oN,iN]};Ki.faFile=Ki.definition;Ki.prefix=tN;Ki.iconName=rN;Ki.width=aN;Ki.height=nN;Ki.ligatures=VS;Ki.unicode=oN;Ki.svgPathData=iN;Ki.aliases=VS});var hN=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var sN="far",cN="trash-can",uN=448,fN=512,WS=[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";Xi.definition={prefix:sN,iconName:cN,icon:[uN,fN,WS,dN,pN]};Xi.faTrashCan=Xi.definition;Xi.prefix=sN;Xi.iconName=cN;Xi.width=uN;Xi.height=fN;Xi.ligatures=WS;Xi.unicode=dN;Xi.svgPathData=pN;Xi.aliases=WS});var mN=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var fo=hN();Qi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Qi.faTrashAlt=Qi.definition;Qi.prefix=fo.prefix;Qi.iconName=fo.iconName;Qi.width=fo.width;Qi.height=fo.height;Qi.ligatures=fo.aliases;Qi.unicode=fo.unicode;Qi.svgPathData=fo.svgPathData;Qi.aliases=fo.aliases});var wN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var vN="far",_N="image",gN=512,bN=512,qS=[],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";Ji.definition={prefix:vN,iconName:_N,icon:[gN,bN,qS,yN,SN]};Ji.faImage=Ji.definition;Ji.prefix=vN;Ji.iconName=_N;Ji.width=gN;Ji.height=bN;Ji.ligatures=qS;Ji.unicode=yN;Ji.svgPathData=SN;Ji.aliases=qS});var Q7=Ue(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var q7="fas",Y7="eye",$7=576,G7=512,lw=[128065],K7="f06e",X7="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";rl.definition={prefix:q7,iconName:Y7,icon:[$7,G7,lw,K7,X7]};rl.faEye=rl.definition;rl.prefix=q7;rl.iconName=Y7;rl.width=$7;rl.height=G7;rl.ligatures=lw;rl.unicode=K7;rl.svgPathData=X7;rl.aliases=lw});var cO=Ue(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var aO="fas",nO="clock",oO=512,iO=512,fw=[128339,"clock-four"],lO="f017",sO="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";al.definition={prefix:aO,iconName:nO,icon:[oO,iO,fw,lO,sO]};al.faClock=al.definition;al.prefix=aO;al.iconName=nO;al.width=oO;al.height=iO;al.ligatures=fw;al.unicode=lO;al.svgPathData=sO;al.aliases=fw});var vO=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var uO="fas",fO="calendar-days",dO=448,pO=512,dw=["calendar-alt"],hO="f073",mO="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";nl.definition={prefix:uO,iconName:fO,icon:[dO,pO,dw,hO,mO]};nl.faCalendarDays=nl.definition;nl.prefix=uO;nl.iconName=fO;nl.width=dO;nl.height=pO;nl.ligatures=dw;nl.unicode=hO;nl.svgPathData=mO;nl.aliases=dw});var _O=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var po=vO();ol.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};ol.faCalendarAlt=ol.definition;ol.prefix=po.prefix;ol.iconName=po.iconName;ol.width=po.width;ol.height=po.height;ol.ligatures=po.aliases;ol.unicode=po.unicode;ol.svgPathData=po.svgPathData;ol.aliases=po.aliases});var PO=Ue(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});var DO="fas",AO="cloud-arrow-up",LO=640,NO=512,_w=[62338,"cloud-upload","cloud-upload-alt"],OO="f0ee",MO="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";il.definition={prefix:DO,iconName:AO,icon:[LO,NO,_w,OO,MO]};il.faCloudArrowUp=il.definition;il.prefix=DO;il.iconName=AO;il.width=LO;il.height=NO;il.ligatures=_w;il.unicode=OO;il.svgPathData=MO;il.aliases=_w});var nM=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var JO="fas",ZO="grip-vertical",eM=320,tM=512,xw=[],rM="f58e",aM="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";sl.definition={prefix:JO,iconName:ZO,icon:[eM,tM,xw,rM,aM]};sl.faGripVertical=sl.definition;sl.prefix=JO;sl.iconName=ZO;sl.width=eM;sl.height=tM;sl.ligatures=xw;sl.unicode=rM;sl.svgPathData=aM;sl.aliases=xw});var dM=Ue(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var iM="fas",lM="filter",sM=512,cM=512,Ew=[],uM="f0b0",fM="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";cl.definition={prefix:iM,iconName:lM,icon:[sM,cM,Ew,uM,fM]};cl.faFilter=cl.definition;cl.prefix=iM;cl.iconName=lM;cl.width=sM;cl.height=cM;cl.ligatures=Ew;cl.unicode=uM;cl.svgPathData=fM;cl.aliases=Ew});var CM=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var _M="fas",gM="palette",bM=512,yM=512,Dw=[127912],SM="f53f",wM="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";ul.definition={prefix:_M,iconName:gM,icon:[bM,yM,Dw,SM,wM]};ul.faPalette=ul.definition;ul.prefix=_M;ul.iconName=gM;ul.width=bM;ul.height=yM;ul.ligatures=Dw;ul.unicode=SM;ul.svgPathData=wM;ul.aliases=Dw});var AM=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var xM="fas",kM="bars-staggered",TM=512,EM=512,Aw=["reorder","stream"],RM="f550",DM="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";fl.definition={prefix:xM,iconName:kM,icon:[TM,EM,Aw,RM,DM]};fl.faBarsStaggered=fl.definition;fl.prefix=xM;fl.iconName=kM;fl.width=TM;fl.height=EM;fl.ligatures=Aw;fl.unicode=RM;fl.svgPathData=DM;fl.aliases=Aw});var zM=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var LM="fas",NM="rotate-left",OM=512,MM=512,Lw=["rotate-back","rotate-backward","undo-alt"],PM="f2ea",IM="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";dl.definition={prefix:LM,iconName:NM,icon:[OM,MM,Lw,PM,IM]};dl.faRotateLeft=dl.definition;dl.prefix=LM;dl.iconName=NM;dl.width=OM;dl.height=MM;dl.ligatures=Lw;dl.unicode=PM;dl.svgPathData=IM;dl.aliases=Lw});var WM=Ue(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var BM="fas",FM="rotate-right",jM=512,HM=512,Nw=["redo-alt","rotate-forward"],UM="f2f9",VM="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";pl.definition={prefix:BM,iconName:FM,icon:[jM,HM,Nw,UM,VM]};pl.faRotateRight=pl.definition;pl.prefix=BM;pl.iconName=FM;pl.width=jM;pl.height=HM;pl.ligatures=Nw;pl.unicode=UM;pl.svgPathData=VM;pl.aliases=Nw});var Bw=Ue(()=>{"use strict"});var Fw=Ue(()=>{"use strict"});var ZM=K(rT()),Os=K(ZT()),yu=K(fr()),Tf=K(nr());var Fr={};Dd(Fr,{$$fromRoot:()=>_t,Accordion:()=>rw,Anchor:()=>df,Box:()=>X,Button:()=>nt,Card:()=>qd,ColorObjects:()=>Kh,Column:()=>tr,Config:()=>ht,Cropper:()=>Mw,DarkmodeColors:()=>JM,Effect:()=>pc,ExtractStyles:()=>Ll,FAI:()=>Ae,Flex:()=>At,FlexBr:()=>k7,GenerateHTMLProps:()=>ko,Grid:()=>Yd,Img:()=>Ts,Input:()=>La,Label:()=>_g,LaunchReactApp:()=>jg,LeftIcon:()=>Kd,LeftIndicator:()=>wg,LinkifyText:()=>j7,List:()=>H7,ListItem:()=>Xd,Loader:()=>Ro,Logo:()=>Es,OmitSign:()=>Sg,P:()=>x7,PageNotFound:()=>XM,PageViewController:()=>P7,Placeholder:()=>C7,Plate:()=>D7,ReadStyleSet:()=>cm,RequiredShortSign:()=>yg,RequiredSign:()=>bg,RightIcon:()=>Ba,RightIndicator:()=>Cg,RootViewController:()=>Ds,Row:()=>mt,SetThemeColorTag:()=>Gh,Sheet:()=>$t,Snackbar:()=>as,Span:()=>wn,SwipeView:()=>I7,TabBar:()=>GO,Table:()=>Bg,Text:()=>Qt,ThemeColors:()=>Iw,Tips:()=>_c,Tooltips:()=>Na,amotify:()=>U$,default:()=>U$,pageRouter:()=>Pn,useRefresh:()=>Tl,useRouterEffect:()=>Fg});var $W=Object.defineProperty,GW=Object.defineProperties,KW=Object.getOwnPropertyDescriptors,q_=Object.getOwnPropertySymbols,l5=Object.prototype.hasOwnProperty,s5=Object.prototype.propertyIsEnumerable,c5=Math.pow,i5=(r,a,o)=>a in r?$W(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(q_)for(var o of q_(a))s5.call(a,o)&&i5(r,o,a[o]);return r},T=(r,a)=>GW(r,KW(a)),Ge=(r,a)=>{var o={};for(var l in r)l5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&q_)for(var l of q_(r))a.indexOf(l)<0&&s5.call(r,l)&&(o[l]=r[l]);return o},Da=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},u=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,u);h((o=o.apply(r,a)).next())});var zw={};Dd(zw,{$$fromRoot:()=>_t,ColorObjects:()=>Kh,Config:()=>ht,DarkmodeColors:()=>JM,ExtractStyles:()=>Ll,GenerateHTMLProps:()=>ko,LaunchReactApp:()=>jg,ReadStyleSet:()=>cm,SetThemeColorTag:()=>Gh,ThemeColors:()=>Iw,pageRouter:()=>Pn,useRefresh:()=>Tl,useRouterEffect:()=>Fg});var kl=K(nr());var xo={sessionUID:(0,kl.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:()=>xo,set:r=>{xo=v(v({},xo),r)},update:{themeColor:r=>{if(Kh.find(o=>o.key==r)||(r="comun"),r==ht.get().themeColor)return;ht.set(T(v({},ht.get()),{themeColor:r}));let a=(0,kl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Gh()}),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,kl.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())},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",l=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";xo.appRoot=r.appRoot||document.body,xo.appRoot instanceof HTMLElement&&(xo.appRoot.tabIndex=0),kl.default.is.exist(r.roundness)&&ht.update.roundness(r.roundness),kl.default.is.exist(r.themeColor)&&ht.update.themeColor(r.themeColor),kl.default.is.exist(r.darkMode)&&ht.update.darkMode(r.darkMode),xo.deviceIs=o,xo.browserIs=l,xo.isPhone=["Android","iPhone"].includes(o),xo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,xo.isIOS=["iPhone","iPad"].includes(o),xo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,xo.isIOS=["iPhone","iPad"].includes(o),xo.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,kl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+ht.get().deviceIs,"bdsDM_"+ht.get().darkMode,"bdsTC_"+ht.get().themeColor]),(0,kl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,f=(0,kl.default)(document.body),u=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-u-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{ht.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,kl.default)(document.body),f=window.innerHeight,u=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=f-u-h;s.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Gh()},restart:()=>{Tl.release("RootViewController_"+ht.get().sessionUID)}};var Vo=K(nr()),Pd=K(fr()),Tl={catch:r=>{let[a]=(0,Pd.useState)((0,Vo.UUID)()),[o,l]=(0,Pd.useState)((0,Vo.UUID)()),[s,f]=(0,Pd.useState)(null),u="RefreshKey_"+a;return(0,Pd.useEffect)(()=>{var h;Vo.useStore.set({[u]:m=>{l((0,Vo.UUID)()),f(m||null)}});let p=((h=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Vo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Vo.useStore.delete(u);let g=((m=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=g.indexOf(a);b!==-1&&(g.splice(b,1),Vo.useStore.update({["RefreshKeys_"+r]:{keys:g}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let f=Vo.useStore.get("RefreshKey_"+s);f&&f(a)}}};var bu=K(fr());var Pw={};Dd(Pw,{Anchor:()=>df,Button:()=>nt,Cropper:()=>Mw,Effect:()=>pc,Input:()=>La,Label:()=>_g,LeftIcon:()=>Kd,LeftIndicator:()=>wg,Loader:()=>Ro,OmitSign:()=>Sg,PageNotFound:()=>XM,PageViewController:()=>P7,Plate:()=>D7,RequiredShortSign:()=>yg,RequiredSign:()=>bg,RightIcon:()=>Ba,RightIndicator:()=>Cg,RootViewController:()=>Ds,Sheet:()=>$t,Snackbar:()=>as,SwipeView:()=>I7,TabBar:()=>GO,Table:()=>Bg,Tips:()=>_c,Tooltips:()=>Na});var Rl=K(Dt()),du=K(fr()),Cn=K(nr());var XS={};Dd(XS,{Box:()=>X,Card:()=>qd,Column:()=>tr,FAI:()=>Ae,Flex:()=>At,FlexBr:()=>k7,Grid:()=>Yd,Img:()=>Ts,Logo:()=>Es,P:()=>x7,Placeholder:()=>C7,Span:()=>wn});var ff=K(Dt());var d5=K(Dt());var X=r=>{let a=ko(r),{htmlTag:o}=a,l=Ge(a,["htmlTag"]),s=o||"div";return s?(0,d5.jsx)(s,v({},l)):null};var Pt=K(Dt());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(lS()),FN=K(cS()),jN=K(fS()),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()),zt=r=>{let a=r,{icon:o}=a,l=Ge(a,["icon"]),s=ko(l);return(0,Pt.jsx)(CN.FontAwesomeIcon,T(v({icon:o,size:"1x"},s),{style:v({aspectRatio:"1"},s==null?void 0:s.style)}))},Ae=zt;Ae.User=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:p7.faUser})),Ae.Times=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:xN.faTimes})),Ae.AngleRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:kN.faAngleRight})),Ae.AngleLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:TN.faAngleLeft})),Ae.AngleUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:EN.faAngleUp})),Ae.AngleDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:RN.faAngleDown})),Ae.ChevronLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:DN.faChevronLeft})),Ae.ChevronRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:AN.faChevronRight})),Ae.ChevronUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:LN.faChevronUp})),Ae.ChevronDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:NN.faChevronDown})),Ae.CaretLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:ON.faCaretLeft})),Ae.CaretRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:MN.faCaretRight})),Ae.CaretUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:PN.faCaretUp})),Ae.CaretDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:IN.faCaretDown})),Ae.ArrowLeft=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:zN.faArrowLeft})),Ae.ArrowRight=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:BN.faArrowRight})),Ae.ArrowUp=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:FN.faArrowUp})),Ae.ArrowDown=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:jN.faArrowDown})),Ae.Rotate=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:HN.faRotate})),Ae.Redo=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:UN.faRedo})),Ae.Check=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:VN.faCheck})),Ae.CheckCircle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:h7.faCheckCircle})),Ae.Question=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:WN.faQuestion})),Ae.QuestionCircle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:m7.faQuestionCircle})),Ae.Exclamation=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:qN.faExclamation})),Ae.ExclamationTriangle=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:YN.faExclamationTriangle})),Ae.Home=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:$N.faHome})),Ae.Share=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:GN.faShare})),Ae.Search=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:KN.faSearch})),Ae.YenSign=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:XN.faYenSign})),Ae.Heart=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:u7.faHeart})),Ae.Star=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:s7.faStar})),Ae.Edit=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:v7.faEdit})),Ae.Pen=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:QN.faPen})),Ae.Copy=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:_7.faCopy})),Ae.File=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:g7.faFile})),Ae.TrashAlt=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:b7.faTrashAlt})),Ae.Bars=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:JN.faBars})),Ae.Download=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:ZN.faDownload})),Ae.Link=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:e7.faLink})),Ae.LinkSlash=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:t7.faLinkSlash})),Ae.ExternalLinkAlt=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:r7.faExternalLinkAlt})),Ae.Gear=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:a7.faGear})),Ae.Plus=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:n7.faPlus})),Ae.Minus=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:o7.faMinus})),Ae.EllipsisH=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:i7.faEllipsisH})),Ae.EllipsisV=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:l7.faEllipsisV})),Ae.PaperPlane=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:c7.faPaperPlane})),Ae.Image=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:y7.faImage})),Ae.Ban=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:f7.faBan})),Ae.Location=r=>(0,Pt.jsx)(zt,T(v({},r),{icon:d7.faLocationCrosshairs}));var S7=K(Dt());var qY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},YY={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"},$Y={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},GY={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},KY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},XY={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"},QY={Wrapper:"_Wrapper_11vvw_1",CornerLoader:"_CornerLoader_11vvw_17",Wrap:"_Wrap_11vvw_1",isActive:"_isActive_11vvw_28",ldAnm:"_ldAnm_11vvw_1",Ld1:"_Ld1_11vvw_34",Ld2:"_Ld2_11vvw_37",Ld3:"_Ld3_11vvw_40",Ld4:"_Ld4_11vvw_43",MiniLoader:"_MiniLoader_11vvw_61",Active_false:"_Active_false_11vvw_64",Hide:"_Hide_11vvw_67",Active:"_Active_11vvw_64",Core:"_Core_11vvw_77",spin:"_spin_11vvw_1",SVG1:"_SVG1_11vvw_85",loader:"_loader_11vvw_1",loading:"_loading_11vvw_1",SVG2:"_SVG2_11vvw_92"},JY={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"},ZY={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"},e$={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"},t$={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"},r$={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"},a$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var n$={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"},o$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},i$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},l$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},s$={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"},c$={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 u$={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"},YS=r=>qY[r],Zi=r=>YY[r],hg=r=>$Y[r],$S=r=>GY[r],lm=r=>KY[r],va=r=>XY[r],xa=r=>QY[r],Aa=r=>JY[r],Xt=r=>ZY[r],Ql=r=>e$[r],cu=r=>t$[r],sf=r=>r$[r],Vd=r=>a$[r];var Jl=r=>n$[r],cf=r=>o$[r],El=r=>i$[r],uf=r=>l$[r],ks=r=>s$[r],ka=r=>c$[r];var mg=r=>u$[r];var Ts=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,f=Ge(a,["src","alt","showExpand"]);return(0,S7.jsx)(X,T(v({htmlTag:"img",src:o,alt:l},f),{className:[YS("Img"),YS("ShowExpand_"+!!s),f.className].join(" "),onPointerDown:u=>{f.onPointerDown&&f.onPointerDown(u),s&&u.stopPropagation()},onClick:u=>{f.onClick&&f.onClick(u),s&&(u.stopPropagation(),$t.open({type:"image",src:s!=!0?s:o}))},freeCSS:v({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var or=K(Dt()),GS=K(nr());var w7={ComunIcon:()=>(0,or.jsx)("svg",{viewBox:"0,0,1200,1200",className:Zi("ComunIcon"),children:(0,or.jsxs)("g",{children:[(0,or.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:[Zi("P"),Zi("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,or.jsxs)("svg",{viewBox:"0,0,1200,1200",className:Zi("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},uu={Icon:r=>(0,or.jsx)(Ts.Icon,T(v({},r),{children:(0,or.jsx)(w7.MingooIcon,{})})),Title:r=>(0,or.jsx)(Ts.Title,T(v({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,or.jsxs)(At,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,or.jsx)(uu.Icon,{size:o,color:l}),(0,or.jsx)(uu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,or.jsxs)(At,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,or.jsx)(uu.Icon,{margin:"auto",size:o,color:l}),(0,or.jsx)(uu.Title,{size:o,color:l})]}))}},fu={Icon:r=>(0,or.jsx)(Ts.Icon,T(v({},r),{children:(0,or.jsx)(w7.ComunIcon,{})})),Title:r=>(0,or.jsx)(Ts.Title,T(v({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,or.jsxs)(At,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,or.jsx)(fu.Icon,{size:o,color:l}),(0,or.jsx)(fu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,or.jsxs)(At,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,or.jsx)(fu.Icon,{margin:"auto",size:o,color:l}),(0,or.jsx)(fu.Title,{size:o,color:l})]}))}},fc="https://cdn.amotify.com/",Ts={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=Ge(a,["size","color","className","children"]);return(0,or.jsx)(At,T(v({className:[s,Zi("Icon"),Zi("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:$S.default.is.function(f)?(0,or.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=Ge(a,["size","color","className","children"]);return(0,or.jsx)(At,T(v({className:[s,Zi("Title"),Zi("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},u),{children:$S.default.is.function(f)?(0,or.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,or.jsx)(Ts.Icon,T(v({},r),{children:(0,or.jsx)(ks,{src:fc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,or.jsx)(Ts.Icon,T(v({},r),{children:(0,or.jsx)(ks,{src:fc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,or.jsx)(Ts.Icon,T(v({},r),{children:(0,or.jsx)(ks,{src:fc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,or.jsx)(Ts.Icon,T(v({},r),{children:(0,or.jsx)(ks,{src:fc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:fc+"@env/@logos/mingoo/icon.png",mingooIconClear:fc+"@env/@logos/mingoo/iconClear.png",comunIcon:fc+"@env/@logos/comun/icon.png",comunIconClear:fc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>fc+"@env/@icon/"+(r||"image")+".png"}};var GS=K(Dt());var C7=r=>{let a=r,{color:o="cloud"}=a,l=Ge(a,["color"]);return(0,GS.jsx)(X,T(v({className:[pg("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,GS.jsx)(X,{className:[pg("Body"),pg("Color_"+o)].join(" ")})}))};var Ud=K(Dt());var lm=r=>{let a=Ge(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 wn=r=>(0,uf.jsx)(X,T(v({},r),{htmlTag:"span"})),x7=r=>(0,uf.jsx)(X,T(v({},r),{htmlTag:"p"})),Wd=r=>(0,uf.jsx)(X,v({display:"grid"},r)),At=r=>(0,uf.jsx)(X,T(v({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:v({wordBreak:"break-word"},r.freeCSS)})),k7=r=>(0,uf.jsx)(X,v({width:1,flexSizing:"none"},r)),er=r=>(0,uf.jsx)(At,v({flexType:"col",gap:1},r));var Es=K(Dt()),mg=K(nr());var T7={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["plain","link"].includes(a)?{}:(o=="xsmall"?s=T(v({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=T(v({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(s.padding=["3/4",1],a=="prime"&&(s.padding=["3/4",1.5])):o=="large"&&(s.padding=[1,2],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=v({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,o,l)=>{let s={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(s.fontColor="theme",s.textAlign="left",s.backgroundColor="trans"):a=="normal"?s=T(v({},s),{backgroundColor:"trans"}):a=="border"?s=T(v({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=T(v({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=T(v({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=T(v({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=T(v({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=T(v({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=T(v({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=v({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},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:l=!1,isActive:s=!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,lf("Wrap"),lf("isNeutral_"+!s),lf("isLocked_"+l),lf("Tone_"+h),lf("Color_"+m),lf("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=v(v({className:[a.className,u].join(" ")},a),f))}if(o=="button"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,submitOption:p,onClick:m}=l,g=Ge(l,["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,Es.jsx)(X,T(v({htmlTag:"button"},g),{onClick:b=>Da(void 0,null,function*(){if(s||(m&&m(b),!p))return;let S=yield La.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p}=l,m=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Es.jsx)(X,T(v({htmlTag:"label"},m),{onClick:g=>{s||p&&p(g)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p,href:m="",newTab:g,sync:b,shiftQueryParams:S}=l,C=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Es.jsx)(X,T(v({htmlTag:"button"},C),{onClick:k=>{if(s)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,M=g||!!L,Y=m;if(S&&(Y+=location.search),b){Pn.pushSync(Y);return}Pn.push(Y,!!M)}}))}return null},dc=function(r,a){let o=s=>(0,Es.jsx)(E7,v({seed:r,tone:a,size:"regular"},s)),l=o;return l.XS=s=>(0,Es.jsx)(o,v({size:"xsmall",tone:a},s)),l.S=s=>(0,Es.jsx)(o,v({size:"small",tone:a},s)),l.R=s=>(0,Es.jsx)(o,v({size:"regular",tone:a},s)),l.L=s=>(0,Es.jsx)(o,v({size:"large",tone:a},s)),l},XS=function(r){let a=o=>(0,Es.jsx)(E7,v({seed:r,tone:"prime",size:"regular"},o));return a.Plain=dc(r,"plain"),a.Link=dc(r,"link"),a.Normal=dc(r,"normal"),a.Border=dc(r,"border"),a.Prime=dc(r,"prime"),a.Sub=dc(r,"sub"),a.Clear=dc(r,"clear"),a.FillToBorder=dc(r,"fillToBorder"),a.BorderToFill=dc(r,"borderToFill"),a},nt=XS("button"),vg=XS("label"),ff=XS("anchor");var Rs={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:f,className:u}=a,h=Ge(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,du.useEffect)(()=>{Rs.fn.updateCSSProperty.reset(),setTimeout(()=>{Rs.fn.updateCSSProperty.reset()},100);let m="ResizeCB",g="RemovePageEventCB";return(0,Cn.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{dt.get().screen.isPhonepoint()||Cn.default.interval.once(()=>{Rs.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,Cn.default)(window).removeEvent(g),(0,Cn.default)(window).removeEvent(m)}},[]);let p=f;return(0,El.jsxs)(er,T(v({className:[u,Aa("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,El.jsxs)(At,{className:Aa("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,El.jsx)(X,{className:Aa("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Ge(a,["className","children"]),[f]=(0,du.useState)((0,Cn.UUID)());return(0,du.useEffect)(()=>{Rs.fn.updateCSSProperty.topNav()},[]),(0,El.jsx)(At,T(v({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Aa("TopNav")].join(" "),children:l}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Ge(a,["className"]);return(0,du.useEffect)(()=>{Rs.fn.updateCSSProperty.sideNav()},[]),(0,El.jsx)(X,T(v({className:[o,Aa("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Ge(a,["className","baseStyles"]),[f]=(0,du.useState)((0,Cn.UUID)());return(0,du.useEffect)(()=>{Rs.fn.updateCSSProperty.footer()},[]),(0,El.jsx)(At,T(v({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Aa("FooterNav"),o].join(" "),children:(0,El.jsx)(At,v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,f=Ge(a,["isActive","uri","uriGroup"]),u=Cn.default.flatArray(s),h=location.pathname;{let p=!1;if(Cn.default.is.exist(l)&&Cn.default.is.string(l)){let m=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(m).pathname}if(!p&&u.length)for(let m of u)Cn.default.is.nullish(m)||h.match(new RegExp(m))&&(p=!0);o=o!=null?o:p}return(0,El.jsx)(nt.Clear,v({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{Cn.default.is.exist(l)&&Cn.default.is.string(l)&&Pn.push(l,p.ctrlKey||p.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},f))},Bar:r=>(0,El.jsx)(X,v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,El.jsx)(X,v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Cn.default)(document.body),a=_t("#__RVC_TopNavigation"),o=a.position().height||0,l=o;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,Cn.default)(document.body),a=_t("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,Cn.default)(document.body),a=_t("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,Cn.default)(document.body),a=_t("#__RVC_TopNavigation"),o=_t("#__RVC_FooterNavigation"),l=_t("#__RVC_SideNavigation"),s=a.position().height||0,f=s,u=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,g=p-s-u,b=m-h;r.setStyleProperty("--topNavHeight",s+"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(Dt());var D7=r=>{let a=r,{size:o="R"}=a,l=Ge(a,["size"]),s={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},l),{freeCSS:v({maxWidth:12*s},l.freeCSS)}))};var cm=K(Dt()),M7=K(fr());var QS=K(Dt()),JS=K(nr());var qd=K(fr());var A7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,JS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[u]=(0,qd.useState)(s);return(0,qd.useEffect)(()=>{setTimeout(()=>{let h=_t('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,QS.jsx)(X,T(v({},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))},L7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,JS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[u]=(0,qd.useState)(s);return(0,qd.useEffect)(()=>{setTimeout(()=>{let h=_t('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,QS.jsx)(X,T(v({paddingTop:2},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))};var el=K(nr());var df={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,el.Time)().ms,o=r.target,l=(0,el.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let O=l.parent('[data-effect-ripple="1"]');if(!O[0])return;l=O,s=O.getAttribute("data-effect-tone")}if(!s)return;let f="RippleWrap-"+(0,el.UUID)(),{left:u,top:h,height:p,width:m}=l.position(),{pageXOffset:g,pageYOffset:b}=el.default.getScreenSize(),{x:S,y:C}=el.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(S-(u+g),0),M=Math.max(C-(h+b),0),Y={RippleElement:l,startedAt:a,size:k};(0,el.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{df.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{df.End(Y)},20)}}),(0,el.default)(l).addClass([Xl("RippleElement"),Xl("Color_"+s)]).append(`<div class="${Xl("RippleWrap")}" id="${f}">
|
|
977
|
-
<div class="${
|
|
978
|
-
</div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:O=>{df.End(Y)}}).find("#"+f).find("."+Xl("Wave")).css({left:L,top:M}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,el.Time)().ms-o<=400?".75s":".55s",f=l*2.5;(0,el.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Xl("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(u=>{u.remove()})}},N7={Wrapper:()=>(typeof window=="undefined"||(0,el.default)(dt.get().appRoot).addEvent({eventType:"touchstart",target:df.RippleElementTag,callback:r=>{df.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:df.RippleElementTag,callback:r=>{dt.get().isTouchDevice||df.Start(r)}}),null)};var ZS=K(nr());var O7={Wrapper:()=>(typeof window=="undefined"||(0,ZS.default)(dt.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,ZS.default)(r.target).removeClass(Xl("PuddingEffect")).await(1).addClass(Xl("PuddingEffect")).await(510).removeClass(Xl("PuddingEffect"))}}),null)};var pc={Ripple:N7,Pudding:O7,FadeIn:A7,FadeUp:L7};var P7=r=>{let{viewIndex:a=0,views:o,wrapper:l=u=>(0,cm.jsx)(pc.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,f]=(0,M7.useState)(a);return s!=a&&f(a),(0,cm.jsx)(cm.Fragment,{children:l(o[a])})};var fm=K(Dt()),Rl=K(nr()),pu=K(fr());var f$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:f=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:g}=a,b=Ge(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pu.useState)((0,Rl.UUID)()),[C,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=C.index+(f?1:0),F=[-1,m.length].includes(C.index);F||o&&setTimeout(()=>{o(C.index)},300);let Q=_t("#Swiper-"+S);if(C.eventType=="adjustLoop")Q.await(250).css({transition:"0s",transform:Yd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass([Aa("Display"),Aa("LoopAdjusting")]).await(100).removeClass(Aa("LoopAdjusting"));else if(C.eventType=="sys")Q.await(250).css({transform:Yd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass(Aa("Display"));else if(Q.children().removeClass(Aa("Display")).parent().children(j).addClass(Aa("Display")).parent().css({transition:"0.3s",transform:Yd(j)}).await(250).css({transition:"0s"}),F){let N=C.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:N})}s&&!F&&Rl.default.interval.once(()=>{let N=C.index+1;!f&&N>m.length-1&&(N=0),k({eventType:"usr",index:N})},s-(C.eventType=="sys"?310:0),"SwipeTimer-"+S)},[C]);let M=m.map((j,F)=>(0,fm.jsx)(X,{flexSizing:"none",width:1,height:0,className:Aa("Child"),children:p(j)},F));f&&(M.push(T(v({},M[0]),{key:M[0].key+"-Shallow0"})),M.unshift(T(v({},M[M.length-2]),{key:M[M.length-2].key+"-Shallow0"})));let Y={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:C.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},O=C.index+ +!!f;return(0,fm.jsx)(X,T(v({overflow:"hidden",position:"relative"},b),{className:[b.className,Aa("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)(At,{flexWrap:!1,gap:1,transition:"long",className:[Aa("Rail"),Aa("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:v({},L.current?{}:{transform:Yd(O)}),children:M})}))},Yd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,um={Start:(r,a)=>{let{x:o,y:l}=Rl.default.getCursor(r),s=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:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:_t("#Swiper-"+a.id).position().width});let{swipeId:u}=s.dataset;u==a.id&&(0,Rl.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:l}=Rl.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),f=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+s<15))if(f>s/2)(0,Rl.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);_t("#Swiper-"+a.id).children(u-1).addClass(Aa("Display")),(0,Rl.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}=Rl.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let f=s-a.maxIndex;s=a.maxIndex+f/2}_t("#Swiper-"+a.id).css({transition:"0s",transform:Yd(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Rl.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,f=a.index+(a.loop?1:0),u=0;s<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=l,_t("#Swiper-"+a.id).css({transition:".2s",transform:Yd(u)}).await(310).css({transition:"0s"}).children().removeClass(Aa("Display")).parent().children(f).addClass(Aa("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,Rl.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},I7=r=>(0,fm.jsx)(f$,T(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var Pg=K(Dt()),$O=K(fr());var hu=K(Dt());var z7=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},_g={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},gg=r=>(0,hu.jsx)(wn,v({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),bg=r=>(0,hu.jsx)(wn,v({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),yg=r=>(0,hu.jsx)(wn,v({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),Sg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},z7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},wg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},z7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},Ba=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},_g),{right:"3/4"}),l),{freeCSS:v(v({},_g.freeCSS),l.freeCSS)}))},$d=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},_g),{left:"3/4"}),l),{freeCSS:v(v({},_g.freeCSS),l.freeCSS)}))};var B7=K(Dt());var F7=r=>(0,B7.jsx)(X,v({htmlTag:"input"},r));var ow=K(Dt()),Kd=K(nr()),hm=K(fr());var Un=K(Dt()),hf=K(fr()),da=K(nr());var rw={};Ed(rw,{Accordion:()=>tw,LinkifyText:()=>j7,List:()=>H7,ListItem:()=>Gd,Row:()=>mt,Text:()=>Xt});var ew=K(Dt()),Jl=K(nr()),hc=K(fr());var p$=r=>{r=v({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:f=!1}=a,u=Ge(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,hc.useState)((0,Jl.UUID)()),[p]=(0,hc.useState)((0,Jl.UUID)()),[m,g]=(0,hc.useState)(s);m!=s&&f&&g(s);let b=(0,hc.useRef)(!1);return(0,hc.useEffect)(()=>{let S=_t('[data-accordion-content-id="'+p+'"]')[0];if(S){let C=S.offsetHeight,k=0;l=="fast"?(k=C/1e3,k=Math.max(k,.2)):l=="slow"&&(k=C/300),_t("#"+h).css({transition:k+"s"})}},[]),(0,hc.useEffect)(()=>{let S=_t("#"+h),C=_t('[data-accordion-content-id="'+p+'"]')[0];if(b.current){if(C){let k=C.offsetHeight;Jl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(b.current=!0,C){let k=C.offsetHeight;Jl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:"0px",overflow:"hidden"}))}},[m]),o&&Jl.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(!m)}}}),(0,ew.jsx)(X,{className:[YS("Wrap"),YS("Open_"+m)].join(" "),id:h,children:(0,ew.jsx)(X,v({"data-accordion-content-id":p},u))})},tw=p$;tw.fn={open:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.toggle()}};var dm=K(Dt());var j7=r=>{let{text:a,placeholder:o}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...u)=>{let h=u[0];return s.push(h),"[$_url]"});let f=a.split("[$_url]");for(let u=0;u<=f.length-1;u++){let h=f[u],p=s[u];l.push(h),u<f.length-1&&l.push((0,dm.jsx)(ff.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(l=[o]);return(0,dm.jsx)(dm.Fragment,{children:l})};var Dl=K(Dt());var H7=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Ge(a,["items","ListChildCallback"]);l=l||U7;let f=o.map((u,h)=>(0,Dl.jsx)(l,{children:u,index:h},h));return(0,Dl.jsx)(X,T(v({htmlTag:"ul",children:f},s),{freeCSS:v({listStyle:"none"},s.freeCSS)}))},U7=r=>(0,Dl.jsx)(X,v({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Gd=U7;Gd.Center=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(mt.Center,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Left=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(mt.Left,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Right=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(mt.Right,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Gd.Separate=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(mt.Separate,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var pm=K(Dt());var mt={Center:r=>(0,pm.jsx)(At,v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,pm.jsx)(At,v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,pm.jsx)(At,v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,pm.jsx)(At,v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var mc=K(Dt());var pf=r=>(0,mc.jsx)(X,v({},r)),Xt=pf;Xt.Title=r=>(0,mc.jsx)(pf,v({fontSize:"6.title",fontWeight:"3.semiBold"},r)),Xt.SubTitle=r=>(0,mc.jsx)(pf,v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),Xt.ThirdTitle=r=>(0,mc.jsx)(pf,v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),Xt.Paragraph=r=>(0,mc.jsx)(pf,v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),Xt.Description=r=>(0,mc.jsx)(pf,T(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),Xt.Supplement=r=>(0,mc.jsx)(pf,v({fontSize:"1.mini"},r)),Xt.NowrapSpan=r=>(0,mc.jsx)(wn,T(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}));var V7=K(Dt()),aw=K(nr());var _r=K(Dt()),Bt=K(nr()),dn=K(fr());var Ds={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>Bt.useStore.get("sessionStates-"+dt.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,Bt.UUID)(),isOpen:!0,created_at:(0,Bt.Time)()});if(o.type=="custom"){let l=o;l.parent=l.parent||((a=l==null?void 0:l.event)==null?void 0:a.currentTarget),o=l}return o}},Cg={Wrapper:()=>{let[r,a]=(0,dn.useState)([]),o={val_sheets:r,set_sheets:a};Bt.useStore.set({["sessionStates-"+dt.get().sessionUID]:o}),(0,dn.useEffect)(()=>{Bt.useStore.set({["Sheet-"+dt.get().sessionUID]:{add:(s,f)=>{let u=Bt.useStore.get("Sheet-"+dt.get().sessionUID);if(!u)return;let h=Ds.getNewSheetStates(s);if(f!="inherit"&&(h.isOpen=f!=null?f:!0),!!u.find(h.sheetID)){a(p=>{let m=[...p],g=m.findIndex(b=>b.sheetID==h.sheetID);return g==-1||(m[g]=h),m});return}a(p=>[h,...p])},find:s=>{let f=Ds.getSessionStates();if(!f)return null;let{val_sheets:u}=f;return u.find(h=>h.sheetID==s)}}}),(0,Bt.default)(dt.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(s){let{key:f,metaKey:u}=s;if(f=="Escape"||f==","&&u){let h=Ds.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=p.filter(b=>b.isOpen);if(!m.length)return;let g=m.reduce((b,S)=>b.created_at.value>S.created_at.value?b:S);rr.close(g.sheetID,f)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(s){let f=Ds.getSessionStates();if(!f)return;let{val_sheets:u}=f,h=s.target;if(!h||h!=null&&h.closest("."+va("CustomSheet")))return;let p=u.filter(m=>m.type=="custom");p.length&&p.forEach(m=>{let{parent:g}=m;if(!m.closeAtAroundClick)return;let b=_t(g)[0];g!==h&&b!==h&&((0,Bt.default)(b).find(h).length||rr.close(m.sheetID))})}})},[]);let l=r.map(s=>(0,_r.jsx)(Cg.Core,T(v({},o),{val_sheet:s,patch_sheet:f=>{a(u=>{let h=[...u],p=h.findIndex(m=>m.sheetID==s.sheetID);return p==-1||(h[p]=v(v({},h[p]),f)),h})},delete_sheet:()=>{a(f=>{let u=[...f],h=u.findIndex(p=>p.sheetID==s.sheetID);return h==-1||u.splice(h,1),u})}}),s.sheetID));return(0,_r.jsx)(X,{className:["AMOTIFY_be",va("Wrapper")].join(" "),children:l})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,dn.useState)(Ds.currentIndex+2),[f]=(0,dn.useState)((0,Bt.UUID)()),u=a.type!="custom"&&!a.overwrap;(0,dn.useEffect)(()=>{Ds.currentIndex++,Bt.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,Bt.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),Bt.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=Bt.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,dn.useEffect)(()=>{Bt.default.scope(()=>{let g=_t("#"+f);if(a.isOpen){a.hold_state&&s(Ds.currentIndex+1),g.await(10).removeClass(va("Hide")).await(10).addClass(va("Open")).callback(()=>{a.openAfter&&a.openAfter()});return}g.await(10).removeClass(va("Open")).await(251).addClass(va("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),u&&dt.get().browserIs!="safari"&&(0,Bt.default)(dt.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=Cg.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,_r.jsx)(X,{className:[va("Wrap"),va("Tcate_"+h),va("Tpos_"+p),va("isMainSheet_"+u)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,_r.jsxs)(er,{className:va("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!u&&(0,_r.jsx)(Cg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,_r.jsx)(m,v({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:f,className:u="",type:h,size:p="R",freeCSS:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:C,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[N,te]=h.split("."),_e={},re=[];return te.match(/top/)?(re.push("top"),_e.marginBottom="auto"):te.match(/middle/)?(re.push("center"),_e.marginTop="auto",_e.marginBottom="auto"):te.match(/bottom/)&&(re.push("bottom"),_e.marginTop="auto"),te.match(/left/i)?(re.push("left"),_e.marginRight="auto"):te.match(/center/i)?(re.push("center"),_e.marginLeft="auto",_e.marginRight="auto"):te.match(/right/i)&&(re.push("right"),_e.marginLeft="auto"),(0,_r.jsx)(X,T(v(v({className:[va("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},Q),_e),{freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:re.join(" ")},m),children:Bt.default.is.function(f)?(0,_r.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:f,content:u,className:h="",size:p="R",openAfter:m,closeAfter:g,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:C,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:M,overwrap:Y,isOpen:O,backgroundEffect:j}=a,F=Ge(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,_r.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:Bt.default.is.function(u)?(0,_r.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:f,content:u,size:h="R",sizeChanged:p,baseStyles:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:C,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M=!0,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),N=Bt.default.getScreenSize(),te=[0,.2,.6,.95],_e={ZERO:0,S:1,R:2,L:3},[re,be]=(0,dn.useState)(h),[ye,ge]=(0,dn.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[_e[h]]});Bt.useStore.update({[o]:{val_edit:ye,resize:fe=>{let B=te[_e[fe]];ge(W=>T(v({},W),{value:B})),be(fe)}}});let H={Start:fe=>{(0,Bt.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=Bt.default.getCursor(fe),W=T(v({},ye),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:ye.value,viewHeight:Bt.default.getScreenSize().height});Bt.useStore.update({[o]:{val_edit:W}}),ge(W)},Move:fe=>{var B;let W=(B=Bt.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ne=(Bt.default.getCursor(fe).y-W.originY)/W.viewHeight,ee=W.originValue-ne;if(ee>.95)ee=.95+(ee-.95)*.5;else if(ee<.2){let de=.2-ee;de-=.1,ee=.1+(.1-de)*.5}return ge(T(v({},W),{value:ee})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var B;let W=(B=Bt.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,Bt.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ne=0;if(W.value<.1||(W.value<.5?ne=1:W.value>.75?ne=3:ne=2),new Date().getTime()-W.processStart<300){let ee=Bt.default.getCursor(fe).y-W.originY;if(Math.abs(ee)>=20){let de=+(ee<0)*2-1;ne+=de,ne=Math.min(Math.max(ne,0),te.length-1)}}ne==0&&(M||(ne=1)),be(["ZERO","S","R","L"][ne]),ge(T(v({},W),{value:te[ne],process:!1}))}},le=(0,dn.useRef)(!1);return(0,dn.useEffect)(()=>{le.current?re=="ZERO"?M&&rr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(re)},250):le.current=!0},[re]),(0,_r.jsx)(X,{className:va("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:v({maxWidth:12*60,height:N.height*ye.value},ye.process?{transition:"0s"}:{}),children:(0,_r.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,_r.jsxs)(mt.Separate,{padding:1,backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:[(0,_r.jsx)(X,{ssSphere:2.5}),(0,_r.jsx)(mt.Center,{onPointerDown:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,_r.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:va("DragBar")})}),(0,_r.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{rr.close(l)},children:(0,_r.jsx)(Ae.Times,{})})]}),(0,_r.jsx)(X,T(v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Q),{children:Bt.default.is.function(u)?(0,_r.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:f,parent:u,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:g,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:C,closeAtSwipeDown:k,hold_state:L,openAfter:M,closeAfter:Y,overwrap:O,isOpen:j,resize:F,backgroundEffect:Q}=a,N=Ge(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[te]=(0,dn.useState)((0,Bt.UUID)()),_e=Bt.default.is.element(u)||Bt.default.is.jmini(u)?(0,Bt.default)(u):_t(u),re='[data-sheet-id="'+te+'"]',be='[data-sheet-content="'+te+'"]';p=p;let ye=p%5||5,ge=Math.ceil(p/5),H={Init:()=>{if(h&&f){let we=Bt.default.getScreenSize(),Ye=Bt.default.getCursor(f);return{top:Ye.y-we.pageYOffset,left:Ye.x-we.pageXOffset}}let fe={};if(!_e||!_e[0])return fe;let{top:B,right:W,bottom:ne,left:ee,height:de,width:xe}=_e.position();return[1,2].includes(ye)?fe.left=ee:ye==3?fe.left=ee+xe/2:[4,5].includes(ye)&&(fe.left=W),p<=10?fe.top=B:p<=15?fe.top=B+de/2:p<=25&&(fe.top=ne),fe},Adjust:()=>{let fe=_t(re).position(),B=_t(be).position(),W=_e.position(),ne=Bt.default.getScreenSize(),ee={};for(let we in B)ee[we]=B[we];if(Bt.default.scope(()=>{if(r.nextToCursor)return;let we=0;ge==1?we=W.top-ee.bottom:ge==2?we=W.top-ee.top:ge==3?we=W.top-ee.top+(W.height-ee.height)/2:ge==4?we=W.bottom-ee.bottom:ge==5&&(we=W.bottom-ee.top),ee.top+=we,ee.bottom+=we}),Bt.default.scope(()=>{if(r.nextToCursor)return;let we=0;ye==1?we=W.left-ee.right:ye==2?we=W.left-ee.left:ye==3?we=W.left-ee.left+(W.width-ee.width)/2:ye==4?we=W.right-ee.right:ye==5&&(we=W.right-ee.left),ee.left+=we,ee.right+=we}),ee.top<0){let we=-ee.top;ee.top+=we,ee.bottom+=we}if(ee.bottom>ne.height){let we=ee.bottom-ne.height;ee.top-=we,ee.bottom-=we}if(ee.left<0){let we=-ee.left;ee.left+=we,ee.right+=we}if(ee.right>ne.width){let we=ee.right-ne.width;ee.left-=we,ee.right-=we}let de=ee.top-B.top,xe=ee.left-B.left;(0,Bt.default)(re).css({top:fe.top+de+"px",left:fe.left+xe+"px"})}},[le]=(0,dn.useState)(H.Init());return(0,dn.useEffect)(()=>{_t(re).await(10).addClass(va("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),Bt.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),_e[0]?(0,_r.jsx)(X,{className:[va("BB"),va("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,_r.jsx)(At,{position:"absolute",className:[va("GPT"),va("GPT_"+p),va("Col_"+ye),va("Row_"+ge)].join(" "),children:(0,_r.jsx)(X,T(v({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},N),{freeCSS:v({maxWidth:"98vw"},N.freeCSS),children:Bt.default.is.function(m)?(0,_r.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,_r.jsx)(X,{className:va("TapSensor"),children:(0,_r.jsx)(nt.Plain,{className:va("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&rr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},rr={Wrapper:()=>(0,_r.jsx)(Cg.Wrapper,{}),Element:r=>{let a=r,{isOpen:o,children:l}=a,s=Ge(a,["isOpen","children"]);return(0,dn.useEffect)(()=>{if(o){rr.open(T(v({},s),{content:l}));return}s.sheetID&&rr.close(s.sheetID)},[o]),null},open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,Bt.UUID)(),s=r,{type:f,src:u}=s,h=Ge(s,["type","src"]);rr.open(T(v({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,dn.useState)(Bt.default.flatArray(u)),[m,g]=(0,dn.useState)(0),b=[];return p.forEach((S,C)=>{b.push({value:C,label:(0,_r.jsx)(ks,{src:Bt.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,_r.jsxs)(er,{gap:0,height:1,position:"relative",children:[(0,_r.jsxs)(mt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,_r.jsx)(La.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,_r.jsx)(nt.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{rr.close(l)},children:(0,_r.jsx)(Ae.Times,{})})]}),(0,_r.jsx)(pc.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,_r.jsx)(ks,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=Bt.useStore.get("Sheet-"+dt.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Bt.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=Bt.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let l=Ds.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let f=s.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let u=Bt.useStore.get(f.sheetID);u&&u.close&&u.close(o)},closeGroup:r=>{let a=Ds.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&rr.close(l.sheetID)},closeAll:r=>{let a=Ds.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||rr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,_r.jsx)(X,v({className:va("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Na={__memoryID:(0,aw.UUID)(),open:r=>{let a=r,{tipsID:o=(0,aw.UUID)(),tipsGroups:l=[]}=a,s=Ge(a,["tipsID","tipsGroups"]);rr.open(T(v({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&rr.close(r)},closeALL:()=>{rr.closeGroup("tooltips")},Body:r=>(0,V7.jsx)(X,v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ta=r=>{let[a]=(0,hf.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))},Fa=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:f,wrapStyles:u}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,Un.jsxs)(mt.Center,T(v({position:"relative",verticalAlign:"unset",gap:0},u),{className:Hd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Un.jsx)(nw.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Un.jsxs)(At,{position:"relative",flexSizing:"auto",children:[a,f,(0,Un.jsx)(nw.RightIcon,v({},r)),(0,Un.jsx)(nw.ClearButton,v({},r))]}),s.rightIndicator]}))},nw={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)(Ae.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,f="NoticeTimerClose-"+l,u="notice-tips-"+l;return(0,hf.useEffect)(()=>{da.default.interval.once(()=>{if(!a.length){Na.close(u);return}Na.open({tipsID:u,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Un.jsxs)(Na.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"?Ae.Times:m=="warn"?Ae.Exclamation:Ae.Check;return(0,Un.jsxs)(mt.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)(Xt.Supplement,{fontSize:"0.xs",fontColor:"white",children:g})]},p+"-"+da.default.Stringify(h))})})]})})},350,s),da.default.interval.once(()=>{Na.close(u)},6e3,f)},[a]),null}},Ft={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,da.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:u,SystemValidation:h}=r;o=v({},o);let{componentID:p}=l;(0,hf.useEffect)(()=>(da.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,g)=>{da.useStore.get(p).ResolveRefresh=m,s(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(l.eventType))return;let g=da.useStore.get(l.componentID);g&&(o.value!=l.dataValue&&o.status_id!=g.status_id&&s(b=>T(v(T(v({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,da.UUID)()})),g.status_id=o.status_id)}),(0,hf.useEffect)(()=>{Ft.ValidationCheck({val_status:l,set_validate:u,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,hf.useEffect)(()=>(da.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=l,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 C=da.useStore.get(m);C&&C.ResolveRefresh&&C.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 l=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!l.ok){r.set_validate(l);return}let s=l.notice,f=()=>Da(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:[...s,...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:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=_t(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,u=r.ctrlKey||r.metaKey;return da.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||dt.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&u)||f==" "&&s.includes("space"))&&(l.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},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 h$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,u=Ge(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]),Ft.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,ow.jsx)("input",T(v({value:Kd.default.Stringify(f),"data-component-id":o},u),{type:"hidden"}))},W7=r=>(0,ow.jsx)(Ta,{componentID:r.componentID,children:h$,states:r});var sr=K(Dt()),Qa=K(nr()),As=K(fr());var J7=K(Q7());var mm=K(Dt()),kg=K(fr()),xg=K(nr());var mu=r=>{if(!r.label)return null;let[a,o]=(0,kg.useState)({});return(0,kg.useEffect)(()=>{let l=(0,xg.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,xg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,xg.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!f[0])return;let u=l.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)`}})}s.getAttribute("data-label-init")=="true"&&s.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"},a),{freeCSS:v({zIndex:2,transformOrigin:"top left",pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,mm.jsxs)(mt.Left,{gap:"1/3",children:[r.label,r.required&&(0,mm.jsx)(wn,{fontColor:"nega",children:" * "})]})}))};var m$={number:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},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"},digitNumber:{reg:/^-?[0-9\.]+$/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,sr.jsxs)(sr.Fragment,{children:[(0,sr.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,sr.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,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,sr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,sr.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"}},vc={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=_t("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:f,prevValue:u,caretFrom:h,caretTo:p}=l;if(o=="creditCard")f.length>=u.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")f.length==5&&u.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-u.length;m==2&&(h++,p++),m==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:f,required:u}=o,h=[];if(f||(s=s||255),Qa.default.is.exist(s)&&a.length>=Number(s)&&h.push({type:"invalid",label:s+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let p=vc.Validation.Text(a,l);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 l=m$[a];if(!l)return;let s=l.reason;if(l){let f=!!(+!!r.match(l.reg)^+!l.exist);o={ok:f,body:f?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,value:o=""}=r,l=String(o),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let u=l[0]=="0";if(l){if(l!="-")if(l=="0-")l="-";else{l[0]=="-"&&(s=!0),l=l.replace(/[^0-9\.]/ig,"");let h=Number(l);h===0&&(s=!1),s&&(h=-1*h),Qa.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),Qa.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}u&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let f=l;if(a=="digitNumber"){if(l&&l!="-"){let u=[];for(let h=l.length-1;h>=0;h--){u.unshift(l[h]);let p=l.length-1-h+1;h!=0&&p%3==0&&u.unshift(",")}f=u.join("")}}else a=="postal"?l.length>=4&&(f=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(f=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,f="-"+f),{formatValue:f,dataValue:l}}}},lw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Qa.default.scope(()=>Da(void 0,null,function*(){if(!a.multiline)return;let p=(0,Qa.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,Qa.default)('[data-input-shallow="'+o.componentID+'"]'),g=(0,Qa.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,Qa.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!g[0]||!b[0])return;let S=m.position(),C=g.position(),k=b.position(),L=0;a.autoHeight&&(L=S.height),L=Math.max(L,C.height),L=Math.min(L,k.height),p[0].style.height=L+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let f="",u="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
|
|
976
|
+
`,className:[Zi("P"),Zi("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,or.jsxs)("svg",{viewBox:"0,0,1200,1200",className:Zi("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},uu={Icon:r=>(0,or.jsx)(Es.Icon,T(v({},r),{children:(0,or.jsx)(w7.MingooIcon,{})})),Title:r=>(0,or.jsx)(Es.Title,T(v({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,or.jsxs)(At,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,or.jsx)(uu.Icon,{size:o,color:l}),(0,or.jsx)(uu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,or.jsxs)(At,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,or.jsx)(uu.Icon,{margin:"auto",size:o,color:l}),(0,or.jsx)(uu.Title,{size:o,color:l})]}))}},fu={Icon:r=>(0,or.jsx)(Es.Icon,T(v({},r),{children:(0,or.jsx)(w7.ComunIcon,{})})),Title:r=>(0,or.jsx)(Es.Title,T(v({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,or.jsxs)(At,T(v({gap:"1/2",flexCenter:!0},s),{children:[(0,or.jsx)(fu.Icon,{size:o,color:l}),(0,or.jsx)(fu.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,or.jsxs)(At,T(v({flexType:"col",gap:"1/2"},s),{children:[(0,or.jsx)(fu.Icon,{margin:"auto",size:o,color:l}),(0,or.jsx)(fu.Title,{size:o,color:l})]}))}},fc="https://cdn.amotify.com/",Es={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=Ge(a,["size","color","className","children"]);return(0,or.jsx)(At,T(v({className:[s,Zi("Icon"),Zi("Size_"+o)].join(" "),verticalAlign:"center"},u),{children:GS.default.is.function(f)?(0,or.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,u=Ge(a,["size","color","className","children"]);return(0,or.jsx)(At,T(v({className:[s,Zi("Title"),Zi("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},u),{children:GS.default.is.function(f)?(0,or.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,or.jsx)(Es.Icon,T(v({},r),{children:(0,or.jsx)(Ts,{src:fc+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,or.jsx)(Es.Icon,T(v({},r),{children:(0,or.jsx)(Ts,{src:fc+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,or.jsx)(Es.Icon,T(v({},r),{children:(0,or.jsx)(Ts,{src:fc+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,or.jsx)(Es.Icon,T(v({},r),{children:(0,or.jsx)(Ts,{src:fc+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:fc+"@env/@logos/mingoo/icon.png",mingooIconClear:fc+"@env/@logos/mingoo/iconClear.png",comunIcon:fc+"@env/@logos/comun/icon.png",comunIconClear:fc+"@env/@logos/comun/iconClear.png",defaultIcon:r=>fc+"@env/@icon/"+(r||"image")+".png"}};var KS=K(Dt());var C7=r=>{let a=r,{color:o="cloud"}=a,l=Ge(a,["color"]);return(0,KS.jsx)(X,T(v({className:[hg("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,KS.jsx)(X,{className:[hg("Body"),hg("Color_"+o)].join(" ")})}))};var Wd=K(Dt());var sm=r=>{let a=Ge(r,[]);return(0,Wd.jsx)(X,v({ssCardBox:!0,padding:1.5},a))},qd=sm;qd.Border=r=>(0,Wd.jsx)(sm,v({ssCardBox:"border"},r)),qd.Plain=r=>(0,Wd.jsx)(sm,v({ssCardBox:"plain"},r)),qd.Cloud=r=>(0,Wd.jsx)(sm,v({ssCardBox:"cloud"},r)),qd.Shadow=r=>(0,Wd.jsx)(sm,v({ssCardBox:"shadow"},r));var wn=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"span"})),x7=r=>(0,ff.jsx)(X,T(v({},r),{htmlTag:"p"})),Yd=r=>(0,ff.jsx)(X,v({display:"grid"},r)),At=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)),tr=r=>(0,ff.jsx)(At,v({flexType:"col",gap:1},r));var Rs=K(Dt()),vg=K(nr());var T7={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["plain","link"].includes(a)?{}:(o=="xsmall"?s=T(v({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=T(v({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(s.padding=["3/4",1],a=="prime"&&(s.padding=["3/4",1.5])):o=="large"&&(s.padding=[1,2],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=v({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,o,l)=>{let s={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(s.fontColor="theme",s.textAlign="left",s.backgroundColor="trans"):a=="normal"?s=T(v({},s),{backgroundColor:"trans"}):a=="border"?s=T(v({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=T(v({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=T(v({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=T(v({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=T(v({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=T(v({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=T(v({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=v({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},E7=r=>{let a=cm(v({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,vg.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!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_"+!s),sf("isLocked_"+l),sf("Tone_"+h),sf("Color_"+m),sf("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=v(v({className:[a.className,u].join(" ")},a),f))}if(o=="button"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,submitOption:p,onClick:m}=l,g=Ge(l,["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":vg.default.flatArray(p.submitDelegationKey).join(",")})),(0,Rs.jsx)(X,T(v({htmlTag:"button"},g),{onClick:b=>Da(void 0,null,function*(){if(s||(m&&m(b),!p))return;let S=yield La.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p}=l,m=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Rs.jsx)(X,T(v({htmlTag:"label"},m),{onClick:g=>{s||p&&p(g)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:f,isActiveClassName:u,isActiveStyles:h,onClick:p,href:m="",newTab:g,sync:b,shiftQueryParams:S}=l,w=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Rs.jsx)(X,T(v({htmlTag:"button"},w),{onClick:k=>{if(s)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,M=g||!!L,Y=m;if(S&&(Y+=location.search),b){Pn.pushSync(Y);return}Pn.push(Y,!!M)}}))}return null},dc=function(r,a){let o=s=>(0,Rs.jsx)(E7,v({seed:r,tone:a,size:"regular"},s)),l=o;return l.XS=s=>(0,Rs.jsx)(o,v({size:"xsmall",tone:a},s)),l.S=s=>(0,Rs.jsx)(o,v({size:"small",tone:a},s)),l.R=s=>(0,Rs.jsx)(o,v({size:"regular",tone:a},s)),l.L=s=>(0,Rs.jsx)(o,v({size:"large",tone:a},s)),l},QS=function(r){let a=o=>(0,Rs.jsx)(E7,v({seed:r,tone:"prime",size:"regular"},o));return a.Plain=dc(r,"plain"),a.Link=dc(r,"link"),a.Normal=dc(r,"normal"),a.Border=dc(r,"border"),a.Prime=dc(r,"prime"),a.Sub=dc(r,"sub"),a.Clear=dc(r,"clear"),a.FillToBorder=dc(r,"fillToBorder"),a.BorderToFill=dc(r,"borderToFill"),a},nt=QS("button"),_g=QS("label"),df=QS("anchor");var Ds={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:f,className:u}=a,h=Ge(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,du.useEffect)(()=>{Ds.fn.updateCSSProperty.reset(),setTimeout(()=>{Ds.fn.updateCSSProperty.reset()},100);let m="ResizeCB",g="RemovePageEventCB";return(0,Cn.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{ht.get().screen.isPhonepoint()||Cn.default.interval.once(()=>{Ds.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,Cn.default)(window).removeEvent(g),(0,Cn.default)(window).removeEvent(m)}},[]);let p=f;return(0,Rl.jsxs)(tr,T(v({className:[u,Aa("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Rl.jsxs)(At,{className:Aa("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Rl.jsx)(X,{className:Aa("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Ge(a,["className","children"]),[f]=(0,du.useState)((0,Cn.UUID)());return(0,du.useEffect)(()=>{Ds.fn.updateCSSProperty.topNav()},[]),(0,Rl.jsx)(At,T(v({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Aa("TopNav")].join(" "),children:l}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Ge(a,["className"]);return(0,du.useEffect)(()=>{Ds.fn.updateCSSProperty.sideNav()},[]),(0,Rl.jsx)(X,T(v({className:[o,Aa("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Ge(a,["className","baseStyles"]),[f]=(0,du.useState)((0,Cn.UUID)());return(0,du.useEffect)(()=>{Ds.fn.updateCSSProperty.footer()},[]),(0,Rl.jsx)(At,T(v({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Aa("FooterNav"),o].join(" "),children:(0,Rl.jsx)(At,v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,f=Ge(a,["isActive","uri","uriGroup"]),u=Cn.default.flatArray(s),h=location.pathname;{let p=!1;if(Cn.default.is.exist(l)&&Cn.default.is.string(l)){let m=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(m).pathname}if(!p&&u.length)for(let m of u)Cn.default.is.nullish(m)||h.match(new RegExp(m))&&(p=!0);o=o!=null?o:p}return(0,Rl.jsx)(nt.Clear,v({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{Cn.default.is.exist(l)&&Cn.default.is.string(l)&&Pn.push(l,p.ctrlKey||p.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},f))},Bar:r=>(0,Rl.jsx)(X,v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Rl.jsx)(X,v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Cn.default)(document.body),a=_t("#__RVC_TopNavigation"),o=a.position().height||0,l=o;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,Cn.default)(document.body),a=_t("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,Cn.default)(document.body),a=_t("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,Cn.default)(document.body),a=_t("#__RVC_TopNavigation"),o=_t("#__RVC_FooterNavigation"),l=_t("#__RVC_SideNavigation"),s=a.position().height||0,f=s,u=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,g=p-s-u,b=m-h;r.setStyleProperty("--topNavHeight",s+"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(Dt());var D7=r=>{let a=r,{size:o="R"}=a,l=Ge(a,["size"]),s={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},l),{freeCSS:v({maxWidth:12*s},l.freeCSS)}))};var um=K(Dt()),M7=K(fr());var JS=K(Dt()),ZS=K(nr());var $d=K(fr());var A7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,ZS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[u]=(0,$d.useState)(s);return(0,$d.useEffect)(()=>{setTimeout(()=>{let h=_t('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,JS.jsx)(X,T(v({},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))},L7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,ZS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[u]=(0,$d.useState)(s);return(0,$d.useEffect)(()=>{setTimeout(()=>{let h=_t('[data-component-id="'+u+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,JS.jsx)(X,T(v({paddingTop:2},f),{freeCSS:T(v({},f.freeCSS),{opacity:0}),componentID:u}))};var el=K(nr());var pf={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,el.Time)().ms,o=r.target,l=(0,el.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let O=l.parent('[data-effect-ripple="1"]');if(!O[0])return;l=O,s=O.getAttribute("data-effect-tone")}if(!s)return;let f="RippleWrap-"+(0,el.UUID)(),{left:u,top:h,height:p,width:m}=l.position(),{pageXOffset:g,pageYOffset:b}=el.default.getScreenSize(),{x:S,y:w}=el.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(S-(u+g),0),M=Math.max(w-(h+b),0),Y={RippleElement:l,startedAt:a,size:k};(0,el.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{pf.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{pf.End(Y)},20)}}),(0,el.default)(l).addClass([Ql("RippleElement"),Ql("Color_"+s)]).append(`<div class="${Ql("RippleWrap")}" id="${f}">
|
|
977
|
+
<div class="${Ql("Wave")}" />
|
|
978
|
+
</div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:O=>{pf.End(Y)}}).find("#"+f).find("."+Ql("Wave")).css({left:L,top:M}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,el.Time)().ms-o<=400?".75s":".55s",f=l*2.5;(0,el.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Ql("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(u=>{u.remove()})}},N7={Wrapper:()=>(typeof window=="undefined"||(0,el.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 ew=K(nr());var O7={Wrapper:()=>(typeof window=="undefined"||(0,ew.default)(ht.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,ew.default)(r.target).removeClass(Ql("PuddingEffect")).await(1).addClass(Ql("PuddingEffect")).await(510).removeClass(Ql("PuddingEffect"))}}),null)};var pc={Ripple:N7,Pudding:O7,FadeIn:A7,FadeUp:L7};var P7=r=>{let{viewIndex:a=0,views:o,wrapper:l=u=>(0,um.jsx)(pc.FadeIn,{animationTime:400,children:u},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,f]=(0,M7.useState)(a);return s!=a&&f(a),(0,um.jsx)(um.Fragment,{children:l(o[a])})};var dm=K(Dt()),Dl=K(nr()),pu=K(fr());var f$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:f=!1,disableMousedrag:u=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:g}=a,b=Ge(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pu.useState)((0,Dl.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 Q=_t("#Swiper-"+S);if(w.eventType=="adjustLoop")Q.await(250).css({transition:"0s",transform:Gd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass([Aa("Display"),Aa("LoopAdjusting")]).await(100).removeClass(Aa("LoopAdjusting"));else if(w.eventType=="sys")Q.await(250).css({transform:Gd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass(Aa("Display"));else if(Q.children().removeClass(Aa("Display")).parent().children(j).addClass(Aa("Display")).parent().css({transition:"0.3s",transform:Gd(j)}).await(250).css({transition:"0s"}),F){let N=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:N})}s&&!F&&Dl.default.interval.once(()=>{let N=w.index+1;!f&&N>m.length-1&&(N=0),k({eventType:"usr",index:N})},s-(w.eventType=="sys"?310:0),"SwipeTimer-"+S)},[w]);let M=m.map((j,F)=>(0,dm.jsx)(X,{flexSizing:"none",width:1,height:0,className:Aa("Child"),children:p(j)},F));f&&(M.push(T(v({},M[0]),{key:M[0].key+"-Shallow0"})),M.unshift(T(v({},M[M.length-2]),{key:M[M.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},O=w.index+ +!!f;return(0,dm.jsx)(X,T(v({overflow:"hidden",position:"relative"},b),{className:[b.className,Aa("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;fm.Start(j,Y)},children:(0,dm.jsx)(At,{flexWrap:!1,gap:1,transition:"long",className:[Aa("Rail"),Aa("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:v({},L.current?{}:{transform:Gd(O)}),children:M})}))},Gd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,fm={Start:(r,a)=>{let{x:o,y:l}=Dl.default.getCursor(r),s=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:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:_t("#Swiper-"+a.id).position().width});let{swipeId:u}=s.dataset;u==a.id&&(0,Dl.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{fm.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{fm.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:l}=Dl.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),f=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+s<15))if(f>s/2)(0,Dl.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let u=a.index+(a.loop?1:0);_t("#Swiper-"+a.id).children(u-1).addClass(Aa("Display")),(0,Dl.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{fm.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{fm.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Dl.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let f=s-a.maxIndex;s=a.maxIndex+f/2}_t("#Swiper-"+a.id).css({transition:"0s",transform:Gd(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Dl.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,f=a.index+(a.loop?1:0),u=0;s<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=l,_t("#Swiper-"+a.id).css({transition:".2s",transform:Gd(u)}).await(310).css({transition:"0s"}).children().removeClass(Aa("Display")).parent().children(f).addClass(Aa("Display"))):a.set_event({eventType:"usr",index:u+a.minIndex})}(0,Dl.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},I7=r=>(0,dm.jsx)(f$,T(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var Ig=K(Dt()),$O=K(fr());var hu=K(Dt());var z7=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)(wn,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)(wn,v({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),Sg=r=>(0,hu.jsx)(wn,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,l=Ge(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},z7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},Cg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(X,v(T(v({},z7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},Ba=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},gg),{right:"3/4"}),l),{freeCSS:v(v({},gg.freeCSS),l.freeCSS)}))},Kd=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hu.jsx)(X,T(v(T(v({},gg),{left:"3/4"}),l),{freeCSS:v(v({},gg.freeCSS),l.freeCSS)}))};var B7=K(Dt());var F7=r=>(0,B7.jsx)(X,v({htmlTag:"input"},r));var iw=K(Dt()),Qd=K(nr()),mm=K(fr());var Un=K(Dt()),mf=K(fr()),da=K(nr());var aw={};Dd(aw,{Accordion:()=>rw,LinkifyText:()=>j7,List:()=>H7,ListItem:()=>Xd,Row:()=>mt,Text:()=>Qt});var tw=K(Dt()),Zl=K(nr()),hc=K(fr());var p$=r=>{r=v({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:f=!1}=a,u=Ge(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,hc.useState)((0,Zl.UUID)()),[p]=(0,hc.useState)((0,Zl.UUID)()),[m,g]=(0,hc.useState)(s);m!=s&&f&&g(s);let b=(0,hc.useRef)(!1);return(0,hc.useEffect)(()=>{let S=_t('[data-accordion-content-id="'+p+'"]')[0];if(S){let w=S.offsetHeight,k=0;l=="fast"?(k=w/1e3,k=Math.max(k,.2)):l=="slow"&&(k=w/300),_t("#"+h).css({transition:k+"s"})}},[]),(0,hc.useEffect)(()=>{let S=_t("#"+h),w=_t('[data-accordion-content-id="'+p+'"]')[0];if(b.current){if(w){let k=w.offsetHeight;Zl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(b.current=!0,w){let k=w.offsetHeight;Zl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:"0px",overflow:"hidden"}))}},[m]),o&&Zl.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(!m)}}}),(0,tw.jsx)(X,{className:[$S("Wrap"),$S("Open_"+m)].join(" "),id:h,children:(0,tw.jsx)(X,v({"data-accordion-content-id":p},u))})},rw=p$;rw.fn={open:r=>{let a=Zl.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=Zl.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=Zl.useStore.get("Accordion-"+r);!a||a.toggle()}};var pm=K(Dt());var j7=r=>{let{text:a,placeholder:o}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...u)=>{let h=u[0];return s.push(h),"[$_url]"});let f=a.split("[$_url]");for(let u=0;u<=f.length-1;u++){let h=f[u],p=s[u];l.push(h),u<f.length-1&&l.push((0,pm.jsx)(df.Link,{href:p,newTab:!0,children:p},"Link-"+u))}}else o&&(l=[o]);return(0,pm.jsx)(pm.Fragment,{children:l})};var Al=K(Dt());var H7=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Ge(a,["items","ListChildCallback"]);l=l||U7;let f=o.map((u,h)=>(0,Al.jsx)(l,{children:u,index:h},h));return(0,Al.jsx)(X,T(v({htmlTag:"ul",children:f},s),{freeCSS:v({listStyle:"none"},s.freeCSS)}))},U7=r=>(0,Al.jsx)(X,v({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Xd=U7;Xd.Center=r=>(0,Al.jsx)(X,{htmlTag:"li",children:(0,Al.jsx)(mt.Center,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Xd.Left=r=>(0,Al.jsx)(X,{htmlTag:"li",children:(0,Al.jsx)(mt.Left,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Xd.Right=r=>(0,Al.jsx)(X,{htmlTag:"li",children:(0,Al.jsx)(mt.Right,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Xd.Separate=r=>(0,Al.jsx)(X,{htmlTag:"li",children:(0,Al.jsx)(mt.Separate,v({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var hm=K(Dt());var mt={Center:r=>(0,hm.jsx)(At,v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,hm.jsx)(At,v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,hm.jsx)(At,v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,hm.jsx)(At,v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var mc=K(Dt());var hf=r=>(0,mc.jsx)(X,v({},r)),Qt=hf;Qt.Title=r=>(0,mc.jsx)(hf,v({fontSize:"6.title",fontWeight:"3.semiBold"},r)),Qt.SubTitle=r=>(0,mc.jsx)(hf,v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),Qt.ThirdTitle=r=>(0,mc.jsx)(hf,v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),Qt.Paragraph=r=>(0,mc.jsx)(hf,v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),Qt.Description=r=>(0,mc.jsx)(hf,T(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),Qt.Supplement=r=>(0,mc.jsx)(hf,v({fontSize:"1.mini"},r)),Qt.NowrapSpan=r=>(0,mc.jsx)(wn,T(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}));var V7=K(Dt()),nw=K(nr());var _r=K(Dt()),Bt=K(nr()),pn=K(fr());var tl={currentIndex:0,openQueue:{},getSessionStates:()=>Bt.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,Bt.UUID)(),isOpen:!0,created_at:(0,Bt.Time)()});if(o.type=="custom"){let l=o;l.parent=l.parent||((a=l==null?void 0:l.event)==null?void 0:a.currentTarget),o=l}return o}},xg={Wrapper:()=>{let[r,a]=(0,pn.useState)([]),o={val_sheets:r,set_sheets:a},l="sessionStates-"+ht.get().sessionUID;Bt.useStore.set({[l]:o}),(0,pn.useEffect)(()=>{let f="Sheet-"+ht.get().sessionUID;Bt.useStore.set({[f]:{add:(u,h)=>{let p=Bt.useStore.get(f);if(!p)return;let m=tl.getNewSheetStates(u);if(!tl.openQueue[m.sheetID]){if(tl.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});return}a(g=>[m,...g])}},find:u=>{let h=tl.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==u)}}}),(0,Bt.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=tl.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);$t.close(S.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(u){let h=tl.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=_t(S)[0];S!==m&&w!==m&&((0,Bt.default)(w).find(m).length||$t.close(b.sheetID))})}})},[]);let s=r.map(f=>(0,_r.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,_r.jsx)(X,{className:["AMOTIFY_be",va("Wrapper")].join(" "),children:s})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,pn.useState)(tl.currentIndex+2),[f]=(0,pn.useState)((0,Bt.UUID)()),u=a.type!="custom"&&!a.overwrap;(0,pn.useEffect)(()=>{tl.currentIndex++,Bt.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,Bt.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),Bt.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=Bt.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,pn.useEffect)(()=>{Bt.default.scope(()=>{let g=_t("#"+f);if(a.isOpen){a.hold_state&&s(tl.currentIndex+1),g.await(10).removeClass(va("Hide")).await(10).addClass(va("Open")).callback(()=>{delete tl.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,Bt.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,_r.jsx)(X,{className:[va("Wrap"),va("Tcate_"+h),va("Tpos_"+p),va("isMainSheet_"+u)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,_r.jsxs)(tr,{className:va("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!u&&(0,_r.jsx)(xg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,_r.jsx)(m,v({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:f,className:u="",type:h,size:p="R",freeCSS:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[N,te]=h.split("."),_e={},re=[];return te.match(/top/)?(re.push("top"),_e.marginBottom="auto"):te.match(/middle/)?(re.push("center"),_e.marginTop="auto",_e.marginBottom="auto"):te.match(/bottom/)&&(re.push("bottom"),_e.marginTop="auto"),te.match(/left/i)?(re.push("left"),_e.marginRight="auto"):te.match(/center/i)?(re.push("center"),_e.marginLeft="auto",_e.marginRight="auto"):te.match(/right/i)&&(re.push("right"),_e.marginLeft="auto"),(0,_r.jsx)(X,T(v(v({className:[va("BB"),u].join(" "),padding:1,transition:"long",opacity:"trans"},Q),_e),{freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:re.join(" ")},m),children:Bt.default.is.function(f)?(0,_r.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,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:M,overwrap:Y,isOpen:O,backgroundEffect:j}=a,F=Ge(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,_r.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:Bt.default.is.function(u)?(0,_r.jsx)(u,{}):u}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:f,content:u,size:h="R",sizeChanged:p,baseStyles:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M=!0,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),N=Bt.default.getScreenSize(),te=[0,.2,.6,.95],_e={ZERO:0,S:1,R:2,L:3},[re,be]=(0,pn.useState)(h),[ye,ge]=(0,pn.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[_e[h]]});Bt.useStore.update({[o]:{val_edit:ye,resize:fe=>{let B=te[_e[fe]];ge(W=>T(v({},W),{value:B})),be(fe)}}});let H={Start:fe=>{(0,Bt.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=Bt.default.getCursor(fe),W=T(v({},ye),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:ye.value,viewHeight:Bt.default.getScreenSize().height});Bt.useStore.update({[o]:{val_edit:W}}),ge(W)},Move:fe=>{var B;let W=(B=Bt.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ne=(Bt.default.getCursor(fe).y-W.originY)/W.viewHeight,ee=W.originValue-ne;if(ee>.95)ee=.95+(ee-.95)*.5;else if(ee<.2){let de=.2-ee;de-=.1,ee=.1+(.1-de)*.5}return ge(T(v({},W),{value:ee})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var B;let W=(B=Bt.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,Bt.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ne=0;if(W.value<.1||(W.value<.5?ne=1:W.value>.75?ne=3:ne=2),new Date().getTime()-W.processStart<300){let ee=Bt.default.getCursor(fe).y-W.originY;if(Math.abs(ee)>=20){let de=+(ee<0)*2-1;ne+=de,ne=Math.min(Math.max(ne,0),te.length-1)}}ne==0&&(M||(ne=1)),be(["ZERO","S","R","L"][ne]),ge(T(v({},W),{value:te[ne],process:!1}))}},le=(0,pn.useRef)(!1);return(0,pn.useEffect)(()=>{le.current?re=="ZERO"?M&&$t.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(re)},250):le.current=!0},[re]),(0,_r.jsx)(X,{className:va("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:v({maxWidth:12*60,height:N.height*ye.value},ye.process?{transition:"0s"}:{}),children:(0,_r.jsxs)(tr,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,_r.jsxs)(mt.Separate,{padding:1,backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:[(0,_r.jsx)(X,{ssSphere:2.5}),(0,_r.jsx)(mt.Center,{onPointerDown:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,_r.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:va("DragBar")})}),(0,_r.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{$t.close(l)},children:(0,_r.jsx)(Ae.Times,{})})]}),(0,_r.jsx)(X,T(v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Q),{children:Bt.default.is.function(u)?(0,_r.jsx)(u,{}):u}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,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:M,closeAfter:Y,overwrap:O,isOpen:j,resize:F,backgroundEffect:Q}=a,N=Ge(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[te]=(0,pn.useState)((0,Bt.UUID)()),_e=Bt.default.is.element(u)||Bt.default.is.jmini(u)?(0,Bt.default)(u):_t(u),re='[data-sheet-id="'+te+'"]',be='[data-sheet-content="'+te+'"]';p=p;let ye=p%5||5,ge=Math.ceil(p/5),H={Init:()=>{if(h&&f){let we=Bt.default.getScreenSize(),Ye=Bt.default.getCursor(f);return{top:Ye.y-we.pageYOffset,left:Ye.x-we.pageXOffset}}let fe={};if(!_e||!_e[0])return fe;let{top:B,right:W,bottom:ne,left:ee,height:de,width:xe}=_e.position();return[1,2].includes(ye)?fe.left=ee:ye==3?fe.left=ee+xe/2:[4,5].includes(ye)&&(fe.left=W),p<=10?fe.top=B:p<=15?fe.top=B+de/2:p<=25&&(fe.top=ne),fe},Adjust:()=>{let fe=_t(re).position(),B=_t(be).position(),W=_e.position(),ne=Bt.default.getScreenSize(),ee={};for(let we in B)ee[we]=B[we];if(Bt.default.scope(()=>{if(r.nextToCursor)return;let we=0;ge==1?we=W.top-ee.bottom:ge==2?we=W.top-ee.top:ge==3?we=W.top-ee.top+(W.height-ee.height)/2:ge==4?we=W.bottom-ee.bottom:ge==5&&(we=W.bottom-ee.top),ee.top+=we,ee.bottom+=we}),Bt.default.scope(()=>{if(r.nextToCursor)return;let we=0;ye==1?we=W.left-ee.right:ye==2?we=W.left-ee.left:ye==3?we=W.left-ee.left+(W.width-ee.width)/2:ye==4?we=W.right-ee.right:ye==5&&(we=W.right-ee.left),ee.left+=we,ee.right+=we}),ee.top<0){let we=-ee.top;ee.top+=we,ee.bottom+=we}if(ee.bottom>ne.height){let we=ee.bottom-ne.height;ee.top-=we,ee.bottom-=we}if(ee.left<0){let we=-ee.left;ee.left+=we,ee.right+=we}if(ee.right>ne.width){let we=ee.right-ne.width;ee.left-=we,ee.right-=we}let de=ee.top-B.top,xe=ee.left-B.left;(0,Bt.default)(re).css({top:fe.top+de+"px",left:fe.left+xe+"px"})}},[le]=(0,pn.useState)(H.Init());return(0,pn.useEffect)(()=>{_t(re).await(10).addClass(va("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),Bt.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),_e[0]?(0,_r.jsx)(X,{className:[va("BB"),va("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,_r.jsx)(At,{position:"absolute",className:[va("GPT"),va("GPT_"+p),va("Col_"+ye),va("Row_"+ge)].join(" "),children:(0,_r.jsx)(X,T(v({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},N),{freeCSS:v({maxWidth:"98vw"},N.freeCSS),children:Bt.default.is.function(m)?(0,_r.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,_r.jsx)(X,{className:va("TapSensor"),children:(0,_r.jsx)(nt.Plain,{className:va("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&$t.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},$t={Wrapper:()=>(0,_r.jsx)(xg.Wrapper,{}),Element:r=>{let a=r,{isOpen:o,children:l}=a,s=Ge(a,["isOpen","children"]);return(0,pn.useEffect)(()=>{if(o){$t.open(T(v({},s),{content:l}));return}s.sheetID&&$t.close(s.sheetID)},[o]),null},open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,Bt.UUID)(),s=r,{type:f,src:u}=s,h=Ge(s,["type","src"]);$t.open(T(v({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,pn.useState)(Bt.default.flatArray(u)),[m,g]=(0,pn.useState)(0),b=[];return p.forEach((S,w)=>{b.push({value:w,label:(0,_r.jsx)(Ts,{src:Bt.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,_r.jsxs)(tr,{gap:0,height:1,position:"relative",children:[(0,_r.jsxs)(mt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,_r.jsx)(La.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,_r.jsx)(nt.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{$t.close(l)},children:(0,_r.jsx)(Ae.Times,{})})]}),(0,_r.jsx)(pc.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,_r.jsx)(Ts,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=Bt.useStore.get("Sheet-"+ht.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Bt.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=Bt.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let l=tl.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let f=s.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let u=Bt.useStore.get(f.sheetID);u&&u.close&&u.close(o)},closeGroup:r=>{let a=tl.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&$t.close(l.sheetID)},closeAll:r=>{let a=tl.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||$t.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,_r.jsx)(X,v({className:va("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Na={__memoryID:(0,nw.UUID)(),open:r=>{let a=r,{tipsID:o=(0,nw.UUID)(),tipsGroups:l=[]}=a,s=Ge(a,["tipsID","tipsGroups"]);$t.open(T(v({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&$t.close(r)},closeALL:()=>{$t.closeGroup("tooltips")},Body:r=>(0,V7.jsx)(X,v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ta=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))},Fa=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:f,wrapStyles:u}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,Un.jsxs)(mt.Center,T(v({position:"relative",verticalAlign:"unset",gap:0},u),{className:Vd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Un.jsx)(ow.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Un.jsxs)(At,{position:"relative",flexSizing:"auto",children:[a,f,(0,Un.jsx)(ow.RightIcon,v({},r)),(0,Un.jsx)(ow.ClearButton,v({},r))]}),s.rightIndicator]}))},ow={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)(Ae.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,f="NoticeTimerClose-"+l,u="notice-tips-"+l;return(0,mf.useEffect)(()=>{da.default.interval.once(()=>{if(!a.length){Na.close(u);return}Na.open({tipsID:u,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Un.jsxs)(Na.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)(tr,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:g}=h,b=m=="invalid"?Ae.Times:m=="warn"?Ae.Exclamation:Ae.Check;return(0,Un.jsxs)(mt.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)(Qt.Supplement,{fontSize:"0.xs",fontColor:"white",children:g})]},p+"-"+da.default.Stringify(h))})})]})})},350,s),da.default.interval.once(()=>{Na.close(u)},6e3,f)},[a]),null}},Ft={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,da.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:u,SystemValidation:h}=r;o=v({},o);let{componentID:p}=l;(0,mf.useEffect)(()=>(da.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,g)=>{da.useStore.get(p).ResolveRefresh=m,s(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(l.eventType))return;let g=da.useStore.get(l.componentID);g&&(o.value!=l.dataValue&&o.status_id!=g.status_id&&s(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)(()=>{Ft.ValidationCheck({val_status:l,set_validate:u,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,mf.useEffect)(()=>(da.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=l,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 l=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!l.ok){r.set_validate(l);return}let s=l.notice,f=()=>Da(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:[...s,...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:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=_t(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,u=r.ctrlKey||r.metaKey;return da.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||ht.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&u)||f==" "&&s.includes("space"))&&(l.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},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:[Vd("Input"),r.className].join(" ")})};var h$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,u=Ge(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,mm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,Qd.UUID)()}),[m,g]=(0,mm.useState)({ok:!1,notice:[]});return(0,mm.useEffect)(()=>{Qd.default.is.equal(h.dataValue,f)||p(b=>T(v({},b),{dataValue:f,eventType:"update",eventID:(0,Qd.UUID)()}))},[r.value]),Ft.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,iw.jsx)("input",T(v({value:Qd.default.Stringify(f),"data-component-id":o},u),{type:"hidden"}))},W7=r=>(0,iw.jsx)(Ta,{componentID:r.componentID,children:h$,states:r});var sr=K(Dt()),Ja=K(nr()),As=K(fr());var J7=K(Q7());var vm=K(Dt()),Tg=K(fr()),kg=K(nr());var mu=r=>{if(!r.label)return null;let[a,o]=(0,Tg.useState)({});return(0,Tg.useEffect)(()=>{let l=(0,kg.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,kg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,kg.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!f[0])return;let u=l.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)`}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,vm.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"},a),{freeCSS:v({zIndex:2,transformOrigin:"top left",pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,vm.jsxs)(mt.Left,{gap:"1/3",children:[r.label,r.required&&(0,vm.jsx)(wn,{fontColor:"nega",children:" * "})]})}))};var m$={number:{reg:/^-?[0-9\.]+$/g,exist:!0,reason:"\u534A\u89D2\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},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"},digitNumber:{reg:/^-?[0-9\.]+$/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,sr.jsxs)(sr.Fragment,{children:[(0,sr.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,sr.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,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,sr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,sr.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"}},vc={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=_t("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:f,prevValue:u,caretFrom:h,caretTo:p}=l;if(o=="creditCard")f.length>=u.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")f.length==5&&u.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-u.length;m==2&&(h++,p++),m==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:f,required:u}=o,h=[];if(f||(s=s||255),Ja.default.is.exist(s)&&a.length>=Number(s)&&h.push({type:"invalid",label:s+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let p=vc.Validation.Text(a,l);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 l=m$[a];if(!l)return;let s=l.reason;if(l){let f=!!(+!!r.match(l.reg)^+!l.exist);o={ok:f,body:f?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,value:o=""}=r,l=String(o),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let u=l[0]=="0";if(l){if(l!="-")if(l=="0-")l="-";else{l[0]=="-"&&(s=!0),l=l.replace(/[^0-9\.]/ig,"");let h=Number(l);h===0&&(s=!1),s&&(h=-1*h),Ja.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),Ja.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}u&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let f=l;if(a=="digitNumber"){if(l&&l!="-"){let u=[];for(let h=l.length-1;h>=0;h--){u.unshift(l[h]);let p=l.length-1-h+1;h!=0&&p%3==0&&u.unshift(",")}f=u.join("")}}else a=="postal"?l.length>=4&&(f=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(f=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,f="-"+f),{formatValue:f,dataValue:l}}}},sw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Ja.default.scope(()=>Da(void 0,null,function*(){if(!a.multiline)return;let p=(0,Ja.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,Ja.default)('[data-input-shallow="'+o.componentID+'"]'),g=(0,Ja.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,Ja.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"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="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=Al(a);return(0,sr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,sr.jsx)(Xt.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,sr.jsx)(X,{"data-input-value-shallow":o.componentID,children:s})})),(0,sr.jsx)(Xt.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,sr.jsx)(Xt.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:l,val_status:s,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:C,restrict:k="text",form:L,autoComplete:M="off",autoCapitalize:Y="off",minRows:O,maxRows:j,multiline:F,autoHeight:Q,enableFormSubmit:N,clearButton:te=!1,checkValidationAtFirst:_e,onChange:re,onKeyDown:be,onValidate:ye,onUpdateValue:ge,onUpdateValidValue:H,value:le="",leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,maxLength:ee,min:de,max:xe,label:we,isLabelActive:Ye,wrapStyles:$e}=g,Pe=Ge(g,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),et=k=="password"||k=="concealed"?"password":"text",ut=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,sr.jsx)(X,T(v({htmlTag:"input",type:et,inputMode:ut,"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(o,s,!!_e),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:Y,onKeyDown:lt=>{let{key:Tt,target:wt}=lt;{let Ze=wt,{selectionStart:Te,selectionEnd:ht}=Ze,Lt=Number(Te),jt=Number(ht),Ut=s.formatValue[Number(Lt)],ar=s.formatValue[Number(Lt)-1];Tt=="Delete"&&(k=="creditCard"&&Ut==" "||k=="postal"&&Ut=="-"||k=="digitNumber"&&Ut==",")&&(Ze.setSelectionRange(Lt+1,jt+1),lt.preventDefault()),Tt=="Backspace"&&(k=="creditCard"&&ar==" "||k=="postal"&&ar=="-"||k=="digitNumber"&&ar==",")&&(Ze.setSelectionRange(Lt-1,jt-1),lt.preventDefault()),Tt=="Enter"||Tt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&Tt=="Clear"&&f(Ze=>T(v({},Ze),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,Qa.UUID)()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(Tt)){let Ze=+(Tt=="ArrowUp")*2-1,Te=String(Number(s.dataValue)+Ze);o.ok&&l({ok:!1,notice:[]}),f(ht=>T(v(v({},ht),vc.Validation.DataLeveling({min:de,max:xe,restrict:k,value:Te})),{eventType:"update",eventID:(0,Qa.UUID)()})),lt.preventDefault()}be&&be(lt),N&&Ft.SubmitForm(lt,L)},onChange:lt=>{let{value:Tt,selectionStart:wt,selectionEnd:Ze}=lt.target,Te=vc.Validation.DataLeveling({min:de,max:xe,restrict:k,value:Tt});p&&(Te.formatValue=Tt),Te.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(ht=>T(v(v({},ht),Te),{prevValue:s.formatValue,eventType:"update",eventID:(0,Qa.UUID)(),caretFrom:Number(wt),caretTo:Number(Ze)})),re&&re(lt))},width:1},Pe),{onFocus:lt=>{Pe!=null&&Pe.onFocus&&(Pe==null||Pe.onFocus(lt)),h(!0)},onBlur:lt=>{Pe!=null&&Pe.onBlur&&(Pe==null||Pe.onBlur(lt)),h(!1)},onCompositionStart:lt=>{Pe!=null&&Pe.onCompositionStart&&(Pe==null||Pe.onCompositionStart(lt)),m(!0)},onCompositionEnd:lt=>{if(Pe!=null&&Pe.onCompositionEnd&&(Pe==null||Pe.onCompositionEnd(lt)),k=="text")return;let Tt=vc.Validation.DataLeveling({min:de,max:xe,restrict:k,value:s.formatValue});f(wt=>T(v(v({},wt),Tt),{prevValue:wt.formatValue,eventType:"update",eventID:(0,Qa.UUID)(),caretFrom:Number(wt.formatValue.length+1),caretTo:Number(wt.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:f,val_status:u,set_status:h,isShallow:p}=r,m=a,{componentID:g,tone:b,required:S,form:C,label:k,isLabelActive:L,minRows:M,maxRows:Y,multiline:O,autoHeight:j,enableFormSubmit:F,maxLength:Q,checkValidationAtFirst:N,onChange:te,onKeyDown:_e,onValidate:re,onUpdateValue:be,onUpdateValidValue:ye,value:ge="",leftIndicator:H,rightIndicator:le,leftIcon:fe,rightIcon:B,wrapStyles:W}=m,ne=Ge(m,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,sr.jsx)(X,T(v({htmlTag:"textarea","data-show-validation":Ft.isShowValidation(s,u,!!N),"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},ne),{onFocus:ee=>{ne!=null&&ne.onFocus&&(ne==null||ne.onFocus(ee)),l(!0)},onBlur:ee=>{ne!=null&&ne.onBlur&&(ne==null||ne.onBlur(ee)),l(!1)},onKeyDown:ee=>{_e&&_e(ee),F&&Ft.SubmitForm(ee,C)},onChange:ee=>{let{value:de}=ee.target;s.ok&&f({ok:!1,notice:[]}),h(xe=>T(v({},xe),{dataValue:de,eventType:"update",eventID:(0,Qa.UUID)()})),te&&te(ee)}})):null}},v$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f}=r,[u,h]=(0,As.useState)(!1),[p,m]=(0,As.useState)(!1),[g,b]=(0,As.useState)(T(v({componentID:a},vc.Validation.DataLeveling({min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,Qa.UUID)(),caretFrom:null,caretTo:null})),[S,C]=(0,As.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m,val_status:g,set_status:b,val_validate:S,set_validate:C};return Ft.CommonEffects({type:"textfield",states:r,val_status:g,set_status:b,val_validate:S,set_validate:C,SystemValidation:vc.Validation.System,ExtraOverrideStates:v({},vc.Validation.DataLeveling({min:s,max:f,restrict:o,value:l}))}),(0,As.useEffect)(()=>{vc.setSelection({id:r.id,restrict:o,val_status:g})},[g]),(0,sr.jsxs)(Fa,{val_status:g,set_status:b,val_validate:S,states:k.rootStates,children:[(0,sr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||u||!!g.dataValue}),(0,sr.jsx)(lw.Shallow,v({},k)),(0,sr.jsx)(lw.InputBox,v({},k)),(0,sr.jsx)(lw.TextAreaBox,v({},k))]})},Zl=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,sr.jsx)(Ta,{componentID:r.componentID,children:v$,states:Vn(r)})),pn=Zl;pn.Validate=vc.Validation.Text,pn.Katakana=r=>(0,sr.jsx)(Zl,T(v({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),pn.HankakuKatakana=r=>(0,sr.jsx)(Zl,T(v({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),pn.CreditCard=r=>(0,sr.jsx)(Zl,T(v({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),pn.Tel=r=>(0,sr.jsx)(Zl,T(v({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),pn.Number=r=>(0,sr.jsx)(Zl,T(v({},r),{restrict:"number",multiline:!1,autoHeight:!1})),pn.DigitNumber=r=>(0,sr.jsx)(Zl,T(v({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),pn.Email=r=>(0,sr.jsx)(Zl,T(v({},r),{restrict:"email",multiline:!1,autoHeight:!1})),pn.Url=r=>(0,sr.jsx)(Zl,T(v({},r),{restrict:"url",multiline:!1,autoHeight:!1})),pn.Postal=r=>{let[a]=(0,As.useState)((0,Qa.UUID)());return(0,As.useEffect)(()=>()=>{Qa.useStore.delete(a)},[]),(0,sr.jsx)(Zl,T(v({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,sr.jsx)($d,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},pn.Password=r=>(0,sr.jsx)(Zl,T(v({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,sr.jsx)(Ba,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,sr.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,Qa.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,sr.jsx)(Ae,{icon:J7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),pn.Concealed=r=>(0,sr.jsx)(pn.Password,T(v({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),pn.Money={JPY:r=>(0,sr.jsx)(pn.DigitNumber,T(v({rightIcon:(0,sr.jsx)(Ba,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var Tg=K(Dt()),Z7=K(nr()),sw=K(fr());function _$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var g$=r=>{let a=r,{componentID:o,tone:l,required:s,form:f,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:C,children:k="",leftIndicator:L,rightIndicator:M,leftIcon:Y,rightIcon:O,freeCSS:j,wrapStyles:F}=a,Q=Ge(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[N,te]=(0,sw.useState)(Ft.DefaultStatus(o,u)),[_e,re]=(0,sw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"contenteditable",states:r,val_status:N,set_status:te,val_validate:_e,set_validate:re,SystemValidation:_$}),(0,Tg.jsx)(Fa,{val_status:N,set_status:te,val_validate:_e,states:r,children:(0,Tg.jsx)(X,T(v({contentEditable:!0,"data-show-validation":Ft.isShowValidation(_e,N,!!p),"data-component-id":N.componentID,onKeyDown:be=>{g&&g(be),h&&Ft.SubmitForm(be,f)},onInput:be=>{let ye=be.currentTarget,{innerHTML:ge,innerText:H}=ye;_e.ok&&re({ok:!1,notice:[]}),te(le=>T(v({},le),{dataValue:H,eventType:"update",eventID:(0,Z7.UUID)()})),m&&m(be)}},Q),{children:k}))})},eO=r=>{r=T(v({rows:5},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Vn(r);return(0,Tg.jsx)(Ta,{componentID:r.componentID,children:g$,states:a})};var vm=K(Dt()),cw=K(fr()),Xd=K(nr());function b$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:f}=o,u=[];return l&&!a&&u.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&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 y$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},tO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},S$=r=>{let a=r,{tone:o,required:l,form:s,name:f,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:S,onValidate:C,onUpdateValue:k,onUpdateValidValue:L,value:M="",override:Y,freeCSS:O,wrapStyles:j,combineInput:F,componentID:Q,listStyles:N}=a,te=Ge(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[_e,re]=(0,cw.useState)(T(v({componentID:r.componentID||""},y$(h,M)),{eventType:"init",eventID:(0,Xd.UUID)()})),[be,ye]=(0,cw.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"textfield",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:b$});let ge=[];for(let H=0;H<h;H++){let le=_e.formatValue[H],fe={},B=u;r.combineInput&&(B=[u,Hd("DigitCharacterCell"),Hd("Combined")].join(" ")),ge.push((0,vm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+_e.componentID,className:B,style:v(v({},r.style),fe),onKeyDown:W=>{let{key:ne,code:ee}=W;if(ne=="Tab")return;W.preventDefault();let de=null;if(ne=="Backspace"){let xe=_e.formatValue;xe[H]="",re(we=>T(v(v({},we),tO(xe)),{eventType:"update",eventID:(0,Xd.UUID)()})),de=H-1}else if(["ArrowLeft","ArrowRight"].includes(ne)){let xe=+(ne=="ArrowRight")*2-1;de=H+xe}else m&&Ft.SubmitForm(W,s),(()=>{let xe=ee.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!xe)return;let we=xe[2]||xe[3]||xe[4];if(p&&!we.match(/\d/)||!we)return;let Ye=_e.formatValue;Ye[H]=we,re($e=>T(v(v({},$e),tO(Ye)),{eventType:"update",eventID:(0,Xd.UUID)()})),de=H+1})();Xd.default.is.exist(de)&&_t("#Digit-"+de+"-"+_e.componentID).focus()},onChange:()=>{}},H))}return(0,vm.jsx)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:(0,vm.jsx)(At,T(v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},N),{children:ge}))})},rO=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=ko(Vn(r));return(0,vm.jsx)(Ta,{componentID:r.componentID,children:S$,states:a})};var ta=K(Dt()),hn=K(nr()),_m=K(nr()),Eo=K(fr());var SO=K(cO()),wO=K(_O());var cr=K(Dt()),Ja=K(nr()),gc=K(fr());function w$(r){let{value:a,states:o}=r,{required:l,options:s}=o,f=[];return l&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:u})=>u=="invalid").length,notice:f}}var dw={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},vu={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(a);return(0,cr.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,cr.jsx)(Xt.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,cr.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(vu.LegacySelector,v({},r)),(0,cr.jsx)(vu.Original,v({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,cr.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,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:C,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,value:be="",options:ye,leftIndicator:ge,rightIndicator:H,leftIcon:le,rightIcon:fe,componentID:B,status_id:W,wrapStyles:ne,SelectedCellStyles:ee,SelectorCellStyles:de,SelectorMode:xe,SelectorStyles:we,SelectorPosition:Ye}=S,$e=Ge(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 Pe="select-click-"+a.componentID;if(g){if(!(0,Ja.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Ja.default)(document).addEvent({eventID:Pe,eventType:"click",callback:et=>{let ut=(0,Ja.default)(et.target),lt=!!(0,Ja.default)(ut).parent("."+Tl("Core")).length;(0,Ja.default)(ut).parent("."+Tl("Selector")).length||lt||b(!1)}})}else(0,Ja.default)(document).removeEvent([Pe])},[g]),(0,gc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!g)return;let Pe=(0,Ja.default)('[data-input-origin="'+a.componentID+'"]');Pe&&Pe.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(X,T(v({tabIndex:0},$e),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(u,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Tl("Core")].join(" "),onFocus:Pe=>{if($e!=null&&$e.onFocus&&($e==null||$e.onFocus(Pe)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:Pe=>{$e!=null&&$e.onClick&&($e==null||$e.onClick(Pe)),!a.disabled&&b(!0)},onKeyDown:Pe=>{let{key:et,metaKey:ut,ctrlKey:lt}=Pe,Tt=ut||lt;if($e!=null&&$e.onKeyDown&&($e==null||$e.onKeyDown(Pe)),F&&Ft.SubmitForm(Pe,L),!a.disabled){if(Ja.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(et))return;if(Pe.preventDefault(),!g)return b(!0);let wt=et=="ArrowDown"?1:-1,Ze=dw.FilterSelectableOptions(r),Te=Ze.length-1,ht=null;Ja.default.scope(()=>{var Lt,jt,Ut,ar,ur,Er,ra,jr,qr,Cr;let dr=Ze.findIndex(gr=>gr.value==s);if(wt==1){if(ht=(jt=(Lt=Ze[0])==null?void 0:Lt.value)!=null?jt:null,Tt){ht=(Ut=Ze[Te].value)!=null?Ut:null;return}if(dr==-1||dr==Te)return;ht=(ur=(ar=Ze[dr+1])==null?void 0:ar.value)!=null?ur:null}else{if(ht=(Er=Ze[Te].value)!=null?Er:null,Tt){ht=(jr=(ra=Ze[0])==null?void 0:ra.value)!=null?jr:null;return}if(dr==-1||dr==0)return;ht=(Cr=(qr=Ze[dr-1])==null?void 0:qr.value)!=null?Cr:null}}),f(ht)}),et=="Escape")b(!1);else if(et=="Tab")b(!1);else if(et=="Backspace")m(wt=>T(v({},wt),{dataValue:null,eventType:"update",eventID:(0,Ja.UUID)()}));else if(et==" ")Pe.preventDefault(),b(!0);else if(et=="Enter"){if(!g)return b(!0);Pe.preventDefault();let wt=a.options.find(Ze=>Ze.value==s);if(!wt)return;m(Ze=>T(v({},Ze),{dataValue:wt.value,eventType:"update",eventID:(0,Ja.UUID)()})),b(!1)}}},children:(0,cr.jsxs)(mt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,cr.jsx)(vu.Placeholder,v({},r)),(0,cr.jsx)(vu.Selected,v({},r)),(0,cr.jsx)(wn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,cr.jsx)(vu.Selector,v({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,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:C,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,onKeyDown:be,onChange:ye,value:ge="",options:H,leftIndicator:le,rightIndicator:fe,leftIcon:B,rightIcon:W,componentID:ne,status_id:ee,wrapStyles:de,SelectedCellStyles:xe,SelectorCellStyles:we,SelectorMode:Ye,SelectorStyles:$e,SelectorPosition:Pe}=S,et=Ge(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,cr.jsxs)(X,T(v({htmlTag:"select",tabIndex:0},et),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(u,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Tl("Core")].join(" "),onKeyDown:ut=>{be&&be(ut),F&&Ft.SubmitForm(ut,L)},onChange:ut=>{let{value:lt}=ut.target;u.ok&&h({ok:!1,notice:[]}),m(Tt=>T(v({},Tt),{dataValue:lt,eventType:"update",eventID:(0,Ja.UUID)()})),ye&&ye(ut)},children:[!!Q&&(0,cr.jsx)("option",{value:"null",children:"\u9078\u629E"}),H.map(ut=>Ja.default.is.nullish(ut.value)?null:(0,cr.jsx)("option",{value:ut.value,children:ut.label},String(ut.value)))]}))},Selector:r=>{var a;let o=[],l=dw.FilterSelectableOptions(r,!0),s=dw.FilterSelectableOptions(r);l.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,cr.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(C=>T(v({},C),{dataValue:m,eventType:"update",eventID:(0,Ja.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,cr.jsxs)(mt.Left,{gap:"1/2",children:[b&&(0,cr.jsx)(Ae.Check,{fontColor:"theme"}),(0,cr.jsx)(Xt.Supplement,{transition:"short",flexSizing:0,children:u.label})]})}),String(m)));return}o.push((0,cr.jsx)(X,{children:u.label},(0,Ja.UUID)()))}),s.length||(o=[(0,cr.jsx)(Xt.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,cr.jsx)(X,T(v({},f),{children:(0,cr.jsx)(rr.Body,T(v({className:Tl("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,cr.jsx)(er,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&Ja.default.scope(()=>{let o=r.rootStates.options.find(l=>Ja.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,cr.jsx)(X,T(v({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,cr.jsx)(cr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,gc.useState)(Ft.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:[]}),C={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:u,val_optionFocused:m,set_optionFocused:g,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:b,set_validate:S};return Ft.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:S,SystemValidation:w$}),(0,cr.jsxs)(Fa,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,cr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,cr.jsx)(vu.Shallow,v({},C)),(0,cr.jsx)(vu.Button,v({},C))]})}},es=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,cr.jsx)(Xt.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((l,s)=>{let{type:f,value:u}=l;o.options[s]=T(v({},l),{value:u,type:f||"selector"})}),Ja.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,cr.jsx)(Ba,{ssSphere:2,children:(0,cr.jsx)(Ae.AngleDown,{})})),(0,cr.jsx)(Ta,{componentID:o.componentID,children:vu.Core,states:Vn(o)})};var je=K(Dt()),bO=K(fr()),Ar=K(nr()),bc=K(fr());var Oa=K(Dt()),ts=K(nr()),pw=K(fr());function C$(r){let{value:a,states:o}=r,{type:l,required:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.length;return s&&(p||l=="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 mf={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=ts.default.is.exist(a)?ts.default.flatArray(a):[],s=[];return l.forEach(f=>{o.findIndex(u=>ts.default.is.equal(u.value,f))!=-1&&s.push(f)}),(0,Oa.jsx)(mf.Core,T(v({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:f="",form:u,override:h,icon:p,iconType:m,iconSize:g,iconPosition:b,iconColor:S,CustomIcon:C,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:M,onUpdateValue:Y,onUpdateValidValue:O,value:j,options:F,className:Q,cellStyles:N,cellClassName:te,cellCheckedStyles:_e,cellCheckedClassName:re,min:be,max:ye,hideInput:ge,freeCSS:H,wrapStyles:le}=a,fe=Ge(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,pw.useState)(Ft.DefaultStatus(f,j)),[ne,ee]=(0,pw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ne,set_validate:ee,SystemValidation:C$}),(0,Oa.jsx)(Fa,{val_status:B,set_status:W,val_validate:ne,states:r,children:(0,Oa.jsx)(mf.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:u,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:S,form:C,tabIndex:k,hideInput:L,disabled:M,className:Y,cellStyles:O,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Q="",enableFormSubmit:N}=a,{dataValue:te}=o,_e=a.CustomIcon,re=b.map((be,ye)=>{let ge=be,{value:H,label:le,disabled:fe,className:B="",checkedStyles:W,checkedClassName:ne="",freeCSS:ee}=ge,de=Ge(ge,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),xe=(0,ts.UUID)(),we=te.findIndex(ut=>ut===H)!=-1,Ye=v(v({},O),de),$e=[sf("Label"),j,B];we&&(Ye=T(v(v(v({},Ye),F),W),{freeCSS:v(v(v({},Ye==null?void 0:Ye.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),$e=[...$e,Q,ne]);let Pe=()=>{if(M||fe)return;let ut=[];if(f=="radio")ut=[H];else if(f=="checkbox"||g)if(!we)ut=[...o.dataValue,H];else{let lt=[...o.dataValue];lt.splice(o.dataValue.findIndex(Tt=>Tt==H),1),ut=lt}l(lt=>T(v({},lt),{dataValue:ut,eventType:"update",eventID:(0,ts.UUID)()}))},et=[(0,Oa.jsx)(wn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:ts.default.is.string(le)?(0,Oa.jsx)(X,{children:le}):le},"content")];return h&&et[a.iconPosition=="right"?"push":"unshift"]((0,Oa.jsx)(_e,{isChecked:we,iconSize:p,iconColor:m,toggle:Pe},"icon")),[(0,Oa.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:sf("Input"),name:"RadioCheckbox-"+S,"data-list-index":s+"-"+ye,id:xe,value:String(H),disabled:M||fe,checked:we,onFocus:ut=>{fe||f=="radio"&&(o.dataValue.length||l(lt=>T(v({},lt),{dataValue:[H],eventType:"update",eventID:(0,ts.UUID)()})))},onChange:()=>{Pe()},onKeyDown:ut=>{let{key:lt,shiftKey:Tt}=ut;if((f=="checkbox"||r.rootStates.isChecker)&<!="Tab"&<.match(/Arrow/)){ut.preventDefault();let wt=["ArrowLeft","ArrowUp"].includes(lt)?-1:1,Ze=ye+wt;Ze<0?Ze=b.length-1:Ze>=b.length&&(Ze=0),_t(`input[data-list-index="${s}-${Ze}"]`).focus()}N&&Ft.SubmitForm(ut,C)},tabIndex:k},"List-"+ts.default.Stringify(H)),(0,Oa.jsx)(X,T(v({htmlTag:"label","data-disabled":M||fe,htmlFor:xe,className:$e.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Ye),{children:et}),"ListTrigger-"+ts.default.Stringify(H))]});return(0,Oa.jsx)(At,{flexSizing:"auto",style:a.style,freeCSS:v({},a.freeCSS),className:[Y,sf("CellBase"),sf("HideInput_"+L),sf("IconIndicator_"+!!h),sf("Tone_"+u)].join(" "),children:re})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Oa.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,Oa.jsx)(mf._Icon,T(v({type:"radio"},r),{children:(0,Oa.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,Oa.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,Oa.jsx)(mf._Icon,T(v({type:"checkbox"},r),{children:(0,Oa.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,Oa.jsx)(Ae.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},hw=r=>{r=r||"checkbox";let a=l=>(l=T(v({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:v({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=mf.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=mf.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=v({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=ko(l),(0,Oa.jsx)(Ta,{componentID:l.componentID,children:mf.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Oa.jsx)(a,v({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Oa.jsx)(a,v({type:r,tone:"border"},l)),o.Cloud=l=>(0,Oa.jsx)(a,v({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Oa.jsx)(a,v({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Oa.jsx)(a,v({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},vf=hw("radio"),Eg=hw("checkbox"),gO=hw();var mw=r=>{var a,o;let l=[],s=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=s;u<=f;u++)l.unshift({value:u,label:[u,...Ar.default.transformer.wareki(u).value].join(" -")});return l},yO=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=v({},r),r.sheetID=r.sheetID||(0,Ar.UUID)();let s=(0,bc.useRef)(!1),[f,u]=(0,bc.useState)((()=>{var p,m;if(a=="clock"){let g=String(l).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(l))==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(l).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(l).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(l))==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(s.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:C}=f;m=C,p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else s.current=!0},[f]);let h=T(v({},r),{val_value:f,set_value:u});return(0,je.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,je.jsx)(X,{className:ka(a.toCapital()+"Base"),children:a=="clock"?(0,je.jsx)(qa.Clock.index,v({},h)):a=="date"?(0,je.jsx)(qa.Date.index,v({},h)):a=="week"?"":a=="month"?(0,je.jsx)(qa.Month.index,v({},h)):a=="year"?(0,je.jsx)(qa.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,je.jsx)(qa.DateWareki.index,v({},h)):(0,je.jsx)(je.Fragment,{})})})},qa={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,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,je.jsxs)(er,{padding:1,children:[(0,je.jsxs)(At,{flexType:"row",flexWrap:!1,gap:1,className:ka("Body"),children:[(0,je.jsxs)(er,{className:ka("DesignSide"),flexSizing:0,children:[(0,je.jsx)(X,{className:ka("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,je.jsxs)(X,{className:ka("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,je.jsx)(vf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:C=>{let k=f.hour%12+(C==2?12:0);p(C),u({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,je.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,je.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:C=>{g(C)}})]}),(0,je.jsxs)(er,{children:[(0,je.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,je.jsxs)(At,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,je.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:qa.Clock.Hours({onClick:C=>{let k=C+(h==2?12:0);u({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,je.jsx)(er,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:qa.Clock.Minutes({onClick:C=>{u({modifiedType:"update",hour:f.hour,minutes:C})},min:a,max:o,unit:m})})]})]})]}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let f=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(s=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));f>u&&(s=!0)}}a.push((0,je.jsx)(nt.Normal,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,je.jsx)(nt.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(l)},children:l.zeroEmbed(2)},l))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p,date:m}=f;return(0,je.jsxs)(er,{padding:1,children:[(0,je.jsxs)(mt.Separate,{flexWrap:!0,children:[(0,je.jsxs)(At,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,je.jsx)(es,{override:"force",emptySelect:!1,value:h,options:mw(),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,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.AngleDown,{})})}),(0,je.jsx)(es,{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,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.AngleDown,{})}),onUpdateValidValue:g=>{u({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,je.jsx)(qa.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,je.jsx)(X,{borderTop:!0}),(0,je.jsx)(X,{children:qa.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:g=>{let[b,S,C]=g;u({modifiedType:"update",year:b,month:S,date:C})}})}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:f,callback:u}=r,h=(0,Ar.Time)(),p=(0,Ar.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Ar.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],C=[],k=[],L={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)b.push((0,je.jsx)(X,T(v({className:[ka("CalendarDay"),ka("Legend")].join(" ")},L),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)S.unshift((0,bO.createElement)(X,T(v({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{key:M}),g-M));for(var M=1;M<=m.date;M++){let O=M,j=l==h.year&&s==h.month&&M==h.date,F=!1;{let Q=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Q&&(F=!0),r.max){let N=Number(String(r.max).replace(/\D/ig,""));Q>N&&(F=!0)}}C.push((0,je.jsx)(nt.Clear,T(v({className:[ka("CalendarDay"),ka("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([l,s,O])},tabIndex:-1,isLocked:F,children:M}),O))}for(var M=1;M<7-m.weekday;M++)k.push((0,je.jsx)(X,T(v({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{children:M}),M));return(0,je.jsxs)(Wd,{gridCols:7,gap:"1/6",children:[b,S,C,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p}=f;return(0,je.jsxs)(er,{padding:1,children:[(0,je.jsxs)(mt.Separate,{gap:0,children:[(0,je.jsx)(mt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,je.jsx)(es,{emptySelect:!1,value:h,options:mw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.AngleDown,{})}),onUpdateValidValue:m=>{u({modifiedType:"update",year:Number(m),month:p})}})}),(0,je.jsx)(qa.Variables.ShiftButtons,{callback:m=>{let g=Math.min(Math.max(h+m,1900),2100);u({modifiedType:"update",year:g,month:p})}})]}),(0,je.jsx)(X,{borderTop:!0}),qa.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[g,b]=m;u({modifiedType:"update",year:g,month:b})}}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Ar.Time)(),s=[];for(let f=1;f<=12;f++){let u=a==l.year&&f==l.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=[ka("Cell"),u?ka("isThisMonth"):""].join(" ");s.push((0,je.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,je.jsx)(Wd,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h}=f;return(0,je.jsxs)(er,{padding:1,children:[(0,je.jsx)(es,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Ar.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:mw({min:a,max:o}),onUpdateValidValue:p=>{u({modifiedType:"update",year:Number(p)})}}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{u({modifiedType:"update",year:Number(h||(0,Ar.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,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,je.jsxs)(X,{children:[(0,je.jsxs)(mt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,je.jsx)(qa.DateWareki.EraSelect,v({},b)),(0,je.jsx)(X,{borderRight:!0}),(0,je.jsx)(qa.DateWareki.Calendar,v({},b))]}),(0,je.jsx)(mt.Right,{padding:1,children:(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,je.jsxs)(er,{padding:1,gap:0,children:[(0,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,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,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,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,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,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,l=[];if(a.era=="year"){let s=(0,Ar.Time)().year+10;for(let f=1900;f<s;f++)l.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Ar.Time)().year-2018;for(let f=1;f<=s+10;f++)l.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,je.jsxs)(er,{padding:1,children:[(0,je.jsxs)(mt.Separate,{children:[(0,je.jsx)(es,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:s=>{o(f=>T(v({},f),{modifiedType:"update",year:Number(s)}))}}),(0,je.jsxs)(mt.Center,{gap:"1/3",children:[(0,je.jsx)(es,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.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:s=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,je.jsx)(nt.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month-1;o({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,je.jsx)(Ae.ChevronLeft,{})}),(0,je.jsx)(nt.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month+1;o({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,je.jsx)(Ae.ChevronRight,{})})]})]}),(0,je.jsx)(qa.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Ar.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,f=l.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,je.jsx)(Xt.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<s;p++){let m=(0,Ar.Time)(l).getFirstDayOfTheMonth().addDate(p-s);u.push((0,je.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)(l).setDate(p),g=h.diff(m).dates==0;u.push((0,je.jsx)(nt.Clear,{ssSquare:3,fontColor:"2.normal",className:[ka("CalendarDay"),ka("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)(l).addMonth(1).setDate(1).addDate(p);u.push((0,je.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,je.jsx)(Wd,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,je.jsxs)(At,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,je.jsxs)(nt.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,je.jsx)(Ae.Times,{})," \u524A\u9664"]}),(0,je.jsx)(nt.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),rr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,je.jsxs)(At,{gap:"1/3",flexWrap:!1,children:[(0,je.jsx)(nt.Clear,T(v({className:ka("LeftButton"),tabIndex:-1,right:0},qa.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,je.jsx)(Ae.ChevronLeft,{})})),(0,je.jsx)(nt.Clear,T(v({className:ka("RightButton"),tabIndex:-1,left:0},qa.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,je.jsx)(Ae.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var gf=" ~ ",k$={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:l}=r,s=hn.default.flatArray(o||""),{defaultValue:f,format:u,ranges:h,sets:p}=k$[a],m=[],g=a=="clock"?":":"/";for(let b=0;b<s.length;b++)s[b]=String(s[b]).replace(/\D/ig,g);for(let b=0;b<p;b++){let S=s[b]||"";if(!S.match(u))s[b]="",m.push(f);else{let C=f;S.split(/\D/).forEach((k,L)=>{if(L==0&&a=="dateWareki"){let M=Number(k);l!="year"&&(M>=2019?l=="reiwa"?M-=2018:l=="heisei"&&(M=31):M>=1989?l=="heisei"?M-=1988:l=="shouwa"&&(M=64):M>=1926?l=="shouwa"?M-=1925:l=="taisho"&&(M=15):M>=1912?l=="taisho"?M-=1911:l=="meiji"&&(M=45):M>=1868&&(M-=1867)),k=M.zeroEmbed(4)}C=C.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(C)}}return{formatValue:m.join(gf),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,u=[],h=hn.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,C]=g.split(/\D+/);if(!b||!S||!C)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 C=_m.Time(b+"/01/01").weekday,k=_m.Time(b+"/01/0"+(7-C+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(l&&Number(String(l).replace(/\D/ig,""))>b&&(p.prohibited=!0),s){let S=Number(String(s).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:S,prohibited:C}=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"}),C&&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"}),"[",l||"\u4E0B\u9650\u7121\u3057","] ~ [",s||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!u.filter(({type:m})=>m=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:f,val_focus:u,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:g,metaKey:b}=l,S=g||b,{selectionStart:C,selectionEnd:k}=l.target,{index:L,prevIndex:M}=u,{ranges:Y,formatValue:O}=s,j=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Q=+!m*2-1;if(F=u.index+Q,F<0||F>j)return}else{let Q=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||C==0&&k==String(s.formatValue).length?F=Q==1?j:0:F=Math.max(0,Math.min(L+Q,j))}h(Q=>T(v({},Q),{index:F,prevIndex:L})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=L;F=Math.max(F,0),F=Math.min(F,j);let{type:Q,from:N,length:te}=Y[F],_e=O.slice(N,N+te),re;if(p=="Backspace")re="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let be=p=="ArrowUp"?1:-1;_e=_e|0,re=_e+be;let[ye,ge,H]=Q=="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]:Q=="minute"?[0,59,2]:Q=="hour"?[0,23,2]:Q=="date"?[1,31,2]:Q=="week"?[1,53,2]:Q=="month"?[1,12,2]:Q=="year"?[0,2999,4]:[0,0,0];re>ge?re=ye:re<ye&&(re=ge),re=Number(re).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let be=_e|0,ye=p,ge=`${be}${ye}`;if(M!=L&&(be=0,ge="0"+ye),Q=="year"||Q=="dateWareki"&&a=="year")Number(ge)>1e4?re=ye:re=ge,(re|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Q)||Q=="dateWareki"&&a!="year"){let H=Q=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Q=="minute"?59:Q=="hour"?23:Q=="date"?31:Q=="week"?53:Q=="month"?12:0;re=(ge|0)>H?ye:ge,(Number(ye)>Number(String(H)[0])||_e=="0000".slice(0,String(H).length)&&(ge!="0000".slice(0,String(H).length)||["minute","hour"].includes(Q)&&M==L)||(ge|0)>=c5(10,String(H).length-1))&&F++}Q=="year"||Q=="dateWareki"?re=(re|0).zeroEmbed(4):re=(re|0).zeroEmbed(2)}{let be=String(O).partReplace(N,String(re)),ye=be.split(gf).map(ge=>ge.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ge=ye[0].split(/\D/),[H,le,fe]=ge;ge.length==3&&H&&(ye=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ge=>T(v({},ge),{dataValue:["dates","months"].includes(o)?ye:ye[0],formatValue:be,eventType:"update",eventID:(0,hn.UUID)()})),h(ge=>T(v({},ge),{index:F,prevIndex:ge.index}))}}}},CO={picker:{launch:r=>{let a=r.sheetID||(0,hn.UUID)(),o=r,{onValueUpdate:l,min:s,max:f,era:u,restrict:h,defaultValue:p}=o,m=Ge(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);rr.open(T(v({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(mt.Center,{children:(0,ta.jsx)(yO,{restrict:h,min:s,max:f,era:u,defaultValue:p,sheetID:a,onValueUpdate:(g,b)=>{l(g,b)}})})}))},remove:r=>{Na.close(r)}}},T$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(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)(Xt.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,ta.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},E$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:f,era:u,form:h,name:p,min:m,max:g,className:b,enableFormSubmit:S,checkValidationAtFirst:C,onKeyDown:k,onValidate:L,onUpdateValue:M,onUpdateValidValue:Y,value:O="",leftIndicator:j,rightIndicator:F,leftIcon:Q,rightIcon:N,freeCSS:te,wrapStyles:_e}=a,re=Ge(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[be,ye]=(0,Eo.useState)(u),[ge,H]=(0,Eo.useState)(T(v({componentID:r.componentID||""},_f.DataLeveling({restrict:s,value:O,era:be})),{eventType:"init",eventID:(0,hn.UUID)()})),[le,fe]=(0,Eo.useState)({ok:!1,notice:[]}),[B,W]=(0,Eo.useState)({active:!1,index:0,prevIndex:-1}),ne={rootStates:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,val_era:be,set_era:ye,val_focus:B,set_focus:W};Ft.CommonEffects({type:"time",states:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,SystemValidation:_f.SystemValidation,ExtraOverrideStates:v({},_f.DataLeveling({restrict:s,value:O,era:be}))});let ee=(0,Eo.useRef)(!1);return(0,Eo.useEffect)(()=>{if(ee.current){H(xe=>v(v({},xe),_f.DataLeveling({restrict:s,value:xe.dataValue,era:be})));let de=hn.useStore.get("refreshEra_"+ge.componentID);de&&de.refreshEra(be)}else ee.current=!0},[be]),hn.useStore.update({[ge.componentID]:{openPicker:de=>{r.disabled||CO.picker.launch({parent:de,sheetID:"PickerTips-"+ge.componentID,restrict:s,min:m,max:g,defaultValue:ge.dataValue,era:be,onValueUpdate:(xe,we)=>{H(Ye=>T(v(v({},Ye),_f.DataLeveling({restrict:s,value:xe,era:we})),{eventType:"update",eventID:(0,hn.UUID)()})),ye(we)}})},resetEra:de=>{ye(de),H(xe=>T(v(v({},xe),_f.DataLeveling({restrict:s,value:"",era:be})),{eventType:"update",eventID:(0,hn.UUID)()}))}}}),(0,Eo.useEffect)(()=>{let{index:de,active:xe}=B;if(xe){de=Math.max(de,0),de=Math.min(de,ge.ranges.length-1);let{from:we,length:Ye}=ge.ranges[de],$e=_t("#"+r.id)[0];$e&&$e.setSelectionRange(we,we+Ye)}},[B]),(0,ta.jsxs)(Fa,{val_status:ge,set_status:H,val_validate:le,states:r,children:[(0,ta.jsx)(T$.Shallow,v({},ne)),(0,ta.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),dt.get().isTouchDevice?(0,ta.jsx)(nt.Plain,T(v({"data-show-validation":Ft.isShowValidation(le,ge,!!C),"data-component-id":ge.componentID,"data-input-origin":ge.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},re),{children:ge.formatValue,onClick:de=>{let xe=hn.useStore.get(ge.componentID);xe&&xe.openPicker(`[data-input-origin="${ge.componentID}"]`),de.stopPropagation()}})):(0,ta.jsx)(X,v({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Ft.isShowValidation(le,ge,!!C),"data-input-origin":ge.componentID,"data-disabled":r.disabled,value:ge.formatValue,className:b,tabIndex:dt.get().isTouchDevice?-1:0,onKeyDown:de=>{_f.KeyDownEvent({restrict:s,event:de,val_era:be,val_status:ge,set_status:H,val_focus:B,set_focus:W}),k&&k(de),S&&Ft.SubmitForm(de,h)},onKeyUp:de=>{de.key=="Tab"&&W(xe=>T(v({},xe),{active:!0}))},onClick:de=>{let xe=de.target.selectionEnd,we=0;ge.ranges.forEach((Ye,$e)=>{let{from:Pe,length:et,region:ut}=Ye;Pe<=xe&&xe<=Pe+(ut||et)&&(we=$e)}),W(Ye=>T(v({},Ye),{active:!0,index:we})),de.preventDefault()},onChange:()=>{}},re))]})},Ls={Origin:r=>{let a=v({fontSize:"inherit",width:1},r),[o]=(0,Eo.useState)(r.componentID||(0,hn.UUID)());if(a.componentID=o,hn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?SO.faClock:wO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(Ba,{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 s=hn.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ta.jsx)(Ae,{icon:l})})})}return(0,ta.jsx)(Ta,{componentID:a.componentID,children:E$,states:Vn(a)})},Clock:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"date"},r)),Week:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"week"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"month"},r)),Year:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Eo.useState)(r.componentID||(0,hn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Eo.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,Eo.useEffect)(()=>{hn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{s(f)}}})},[]),(0,ta.jsx)(Ls.Origin,T(v({restrict:"dateWareki",leftIndicator:(0,ta.jsx)(es,{label:"\u5143\u53F7",emptySelect:!1,value:l,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=>{s(f);let u=hn.useStore.get(r.componentID);u&&u.resetEra&&u.resetEra(f)}})},r),{era:l}))},Periods:{Date:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"dates"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"months"},r))},fn:CO};var Qt=K(Dt()),ja=K(fr()),zr=K(nr());var Sf=K(Dt()),Zd=K(nr());var bf=K(Dt()),Rg=K(nr());var yf=K(fr());var Qd=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:f=""}=a,u=Ge(a,["color","size","showInitial","loaderID"]),[h]=(0,yf.useState)(f),[p]=(0,yf.useState)((0,Rg.UUID)()),[m,g]=(0,yf.useState)(s),b=0;l=="S"?b=1:l=="R"?b=1.5:l=="L"?b=3:l=="XL"?b=4:l=="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 C=_t('[data-component-id="'+p+'"]');m?C.removeClass(xa("Hide")).await(10).addClass(xa("Active")):C.removeClass(xa("Active")).await(210).addClass(xa("Hide"))},[m]),(0,yf.useEffect)(()=>{Rg.useStore.set({[p]:{active:C=>{h==C&&g(!0)},stop:C=>{h==C&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,bf.jsxs)(mt.Center,T(v({className:[xa("MiniLoader"),xa(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},u),{children:[(0,bf.jsx)("svg",{className:xa("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:xa("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 Ll=K(Dt()),xO=K(nr());var Dg=K(fr());var kO=()=>{let[r,a]=(0,Dg.useState)(!1);return(0,Dg.useEffect)(()=>{xO.useStore.set({["Loader-corner-"+dt.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Ll.jsxs)(At,{className:[xa("CornerLoader"),r?xa("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"2/3",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",left:"50%",top:1,opacity:"trans",transition:"short",isRounded:!0,freeCSS:{zIndex:10,pointerEvents:"none",transform:"translateX(-50%)"},children:[(0,Ll.jsxs)(At,{className:xa("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Ll.jsx)(X,{className:xa("Ld4")}),(0,Ll.jsx)(X,{className:xa("Ld3")}),(0,Ll.jsx)(X,{className:xa("Ld2")}),(0,Ll.jsx)(X,{className:xa("Ld1")}),(0,Ll.jsx)(X,{className:xa("Ld2")}),(0,Ll.jsx)(X,{className:xa("Ld3")}),(0,Ll.jsx)(X,{className:xa("Ld4")})]}),(0,Ll.jsx)(X,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};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))}},Ro={Wrapper:()=>(0,Sf.jsx)(kO,{}),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-"+dt.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Zd.useStore.get("Loader-corner-"+dt.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{_t("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Zd.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{_t("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Zd.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{_t("."+xa("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=Zd.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Ro.fn.corner.stop(),Ro.fn.mini.stopALL()}}};function R$(r){let{value:a,states:o}=r,{required:l,options:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.filter(m=>m!==null).length;return l&&(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:l,label:s,value:f,searchValue:u}=o,h=u||(zr.default.is.string(s)?s:"")||(zr.default.is.string(f)?f:"");a.push(T(v({},o),{searchValue:h,type:l||"selector",value:f}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(l=>l.type!="label")),r.val_keyword){let l=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(s=>(s.searchValue||"").toLower().replace(/ /g,"").includes(l))}return o}},tp={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(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)(Xt.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.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:l,val_optionFocused:s,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:C,val_status:k,set_status:L,val_validate:M,set_validate:Y}=r,O=a,{tone:j,required:F,form:Q,className:N,multiSelect:te,enableFormSubmit:_e,checkValidationAtFirst:re,onValidate:be,onUpdateValue:ye,onUpdateValidValue:ge,value:H="",options:le,leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,componentID:ee,status_id:de,wrapStyles:xe,emptySelect:we,SearchInput:Ye,SearchInputPlaceholder:$e,SelectedComponent:Pe,SelectorComponent:et,SelectorStyles:ut,SelectorPosition:lt,DynamicOptionsOnSearch:Tt}=O,wt=Ge(O,["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,ja.useEffect)(()=>{var Ze,Te;if(a.disabled||!S)return;let ht=ep.FilterSelectableOptions(r);f((Te=(Ze=ht[0])==null?void 0:Ze.value)!=null?Te:null)},[o]),(0,ja.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(C(!1),b(!0),setTimeout(()=>{let Ze=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');Ze&&Ze.focus()},10)):(0,zr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,ja.useEffect)(()=>{let Ze="autocomplete-click-"+a.componentID;if(S){if(!(0,zr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,zr.default)("#SearchInput_"+a.componentID).focus(),(0,zr.default)(document).addEvent({eventID:Ze,eventType:"mousedown",callback:Te=>{let ht=(0,zr.default)(Te.target),Lt=!!(0,zr.default)(ht).parent("."+Tl("Core")).length;(0,zr.default)(ht).parent("."+Tl("Selector")).length||Lt||C(!1)}})}else(0,zr.default)(document).removeEvent([Ze]),l("")},[S]),(0,Qt.jsxs)(Qt.Fragment,{children:[(0,Qt.jsx)(X,T(v({tabIndex:0},wt),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(M,k,!!re),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[N,Tl("Core")].join(" "),onFocus:Ze=>{if(wt!=null&&wt.onFocus&&(wt==null||wt.onFocus(Ze)),!a.disabled){if(g)return b(!1);C(!0),Ze.preventDefault()}},onClick:Ze=>{wt!=null&&wt.onClick&&(wt==null||wt.onClick(Ze)),!a.disabled&&C(!0)},onKeyDown:Ze=>{let{key:Te}=Ze;_e&&Ft.SubmitForm(Ze,Q),!S&&(Te==" "||Te=="ArrowDown"||Te=="ArrowUp"||Te=="Enter")&&C(!0)},children:(0,Qt.jsxs)(mt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Qt.jsx)(tp.Selected,v({},r)),(0,Qt.jsx)(wn,{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,l]=(0,ja.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:s=>{a.onCompositionStart&&a.onCompositionStart(s),l(!0)},onCompositionEnd:s=>{a.onCompositionEnd&&a.onCompositionEnd(s),l(!1)},onKeyDown:s=>{let{key:f,metaKey:u,ctrlKey:h}=s,p=u||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?zr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?zr.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,zr.UUID)()}))}):f=="Enter"&&zr.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 zr.default.scope(()=>{if(g===null)return S=[];b.dataValue.includes(g)?S=S.filter(C=>C!==g):a.multiSelect?S.push(g):S=[g]}),T(v({},b),{dataValue:S,eventType:"update",eventID:(0,zr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),zr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(s.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;zr.default.scope(()=>{var C,k,L,M,Y,O,j,F,Q,N;let te=g.findIndex(_e=>_e.value==r.val_optionFocused);if(te==-1&&(te=0),m==1){if(S=(k=(C=g[0])==null?void 0:C.value)!=null?k:null,p){S=(L=g[b].value)!=null?L:null;return}if(te==-1||te==b)return;S=(Y=(M=g[te+1])==null?void 0:M.value)!=null?Y:null}else{if(S=(O=g[b].value)!=null?O:null,p){S=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;S=(N=(Q=g[te-1])==null?void 0:Q.value)!=null?N:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&Ft.SubmitForm(s,r.rootStates.form)},onChange:s=>{let f=s.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,ja.useState)("idle"),[s,f]=(0,ja.useState)("idle");(0,ja.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");f("fetch");let g="autocomplete-search-"+r.rootStates.componentID;zr.default.interval.once(()=>Da(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:C}=g,k=r.val_optionFocused==C,L=r.val_status.dataValue.includes(C),M=r.rootStates.SelectorComponent;u.push((0,Qt.jsx)(M,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let O=[...Y.dataValue];return zr.default.scope(()=>{if(C===null)return O=[];Y.dataValue.includes(C)?O=O.filter(j=>j!==C):r.rootStates.multiSelect?O.push(C):O=[C]}),T(v({},Y),{dataValue:O,eventType:"update",eventID:(0,zr.UUID)()})})}},zr.default.Stringify(C)||(0,zr.UUID)()))}),p.length||(u=[(0,Qt.jsx)(Xt.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(u=[(0,Qt.jsxs)(mt.Left,{padding:1,fontColor:"3.blur",children:[(0,Qt.jsx)(Ro.Theme.R,{showInitial:!0}),(0,Qt.jsx)(Xt.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)(rr.Body,T(v({className:Tl("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:l,val_optionsDict:s}=r,f=[];return o.dataValue.forEach(u=>{let h=s[zr.default.Stringify(u)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Qt.jsx)(X,{className:Tl("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),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,zr.UUID)()}))}})},zr.default.Stringify(h.value)))}),(0,Qt.jsx)(Qt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,ja.useState)(!1),[f,u]=(0,ja.useState)(!1),[h,p]=(0,ja.useState)(!1),[m,g]=(0,ja.useState)(""),[b,S]=(0,ja.useState)(r.options),[C,k]=(0,ja.useState)((a=r.value[0])!=null?a:null),[L,M]=(0,ja.useState)({}),[Y,O]=(0,ja.useState)(Ft.DefaultStatus(r.componentID,o)),[j,F]=(0,ja.useState)({ok:!1,notice:[]}),Q=(0,ja.useRef)(!1);(0,ja.useEffect)(()=>{Q.current?S(r.options):Q.current=!0},[r.options]),(0,ja.useEffect)(()=>{if(!b.length)return;let re=[...b],be=v({},L);re.forEach(ye=>{ye.type!="label"&&(be[zr.default.Stringify(ye.value)]=ye)}),M(be)},[b]);let N={rootStates:r,val_options:b,set_options:S,val_optionFocused:C,set_optionFocused:k,val_optionsDict:L,set_optionsDict:M,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:u,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:g,val_status:Y,set_status:O,val_validate:j,set_validate:F},te=!!r.multiSelect;Ft.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:O,val_validate:j,set_validate:F,SystemValidation:R$});let _e=Y.dataValue.length&&Y.dataValue[0]!==null;return _e=_e||h,(0,Qt.jsxs)(Fa,{val_status:Y,set_status:O,val_validate:j,states:r,children:[(0,Qt.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:_e}),(0,Qt.jsx)(tp.Shallow,v({},N)),(0,Qt.jsx)(tp.Button,v({},N))]})}},Ag=r=>{var a;let o=v({},r);return o=T(v({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:f,addCallback:u})=>l.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)(mt.Left,{gap:"1/2",children:[s&&(0,Qt.jsx)(Ae.Check,{fontColor:"theme"}),(0,Qt.jsx)(Xt.Supplement,{transition:"short",children:l.label})]})}):(0,Qt.jsx)(Qt.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:f})=>(0,Qt.jsxs)(mt.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:s}),(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)(Ae.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)(Xt.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=zr.default.flatArray((a=o.value)!=null?a:null),o.options=ep.InitOptions(o.options),zr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Qt.jsx)(Ba,{ssSphere:2,children:(0,Qt.jsx)(Ae.Search,{})}),o.disabled&&(o.rightIcon=(0,Qt.jsx)(Ba,{ssSphere:2,fontColor:"5.translucent",children:(0,Qt.jsx)(Ae.Ban,{})}))),o.rightIcon&&(o=v({paddingRight:3},o)),o.leftIcon&&(o=v({paddingLeft:3},o)),(0,Qt.jsx)(Ta,{componentID:o.componentID,children:tp.Core,states:Vn(o)})};var wf=K(Dt());var TO=r=>(0,wf.jsx)(Ag,v({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wf.jsx)(wf.Fragment,{children:o}),rightIcon:(0,wf.jsx)(Ba,{ssSphere:2,children:(0,wf.jsx)(Ae.AngleDown,{})})},r));var wr=K(Dt()),Cf=K(fr()),Nl=K(nr());var Do=K(Dt()),EO=K(fr()),ho=K(nr());var yc=K(fr());var rs={add:function(r){let a=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Do.jsx)(RO.Wrapper,{})},RO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,ho.UUID)(),children:f,customChildren:u}=a,h=Ge(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,yc.useState)(s),[m,g]=(0,yc.useState)(r.secondsToClose||10);(0,yc.useEffect)(()=>{let S=_t('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(im("FadeIn"))},10),ho.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(im("FadeOut"))}}})},[]),(0,yc.useEffect)(()=>{ho.default.interval.once(()=>{m<=0||g(m-1)},1e3,"Snackbar-"+p),m===0&&rs.remove(o)},[m]);let b=(0,Do.jsx)(Do.Fragment,{});return u?b=(0,Do.jsx)(u,{close:()=>{rs.remove(o)}}):b=(0,Do.jsxs)(mt.Separate,{verticalAlign:"top",children:[(0,Do.jsx)(X,{padding:["1/4",0],flexSizing:0,children:ho.default.is.function(f)?(0,Do.jsx)(f,{}):f}),(0,Do.jsx)(nt.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{rs.remove(o)},children:(0,Do.jsx)(Ae.Times,{})})]}),(0,Do.jsx)(X,T(v({className:im("Cell"),componentID:p,onMouseOver:()=>{g(-1)},onMouseOut:()=>{g(l||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,ho.UUID)()),[o,l]=(0,yc.useState)([]);(0,yc.useEffect)(()=>{ho.useStore.set({["Snackbar-"+dt.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,ho.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,ho.UUID)())},remove:f=>{let u=ho.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),l(p)},210))},removeALL:()=>{l([])}}})},[o.length]);let s=o.map(f=>(0,EO.createElement)(RO.Cell,T(v({},f),{key:f.snackID})));return(0,Do.jsx)(At,{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:s})}};var IO=K(PO());function D$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var zO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((u,h)=>(0,wr.jsx)(zO.ListCell,T(v({},r),{index:h,val_file:u}),u.name));return s>0&&f.push((0,wr.jsx)(X,T(v({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,Ql("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)&&_t("#"+a.id).click()},children:(0,wr.jsxs)(mt.Center,{padding:["1/3",0],children:[(0,wr.jsx)(X,{isRounded:!0,className:Ql("AddIcon"),children:(0,wr.jsx)(Ae,{icon:IO.faCloudArrowUp,className:Ql("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,wr.jsxs)(X,{children:[(0,wr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,wr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,wr.jsx)(er,T(v({flexSizing:"auto"},Al(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:f}=r,{name:u,size:h,type:p}=l,[m,g]=(0,Cf.useState)(!1),b=(0,Nl.UUID)(),S=h.rank(),[C,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(()=>{_t("#"+b).focus()},100)},[m]),(0,wr.jsxs)(At,T(v({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,wr.jsx)(Ae.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,wr.jsxs)(X,{flexSizing:0,children:[(0,wr.jsx)(X,{children:(0,wr.jsx)(At,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:Ql("FileName"),children:m?(0,wr.jsx)(wr.Fragment,{children:(0,wr.jsxs)(er,{flexSizing:0,gap:"1/2",children:[(0,wr.jsxs)(At,{gap:"2/3",verticalAlign:"center",children:[(0,wr.jsx)(pn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:C,onKeyDown:M=>{let{key:Y}=M;Y=="Escape"&&g(!1)}}),(0,wr.jsxs)(X,{children:[". ",k]})]}),(0,wr.jsxs)(At,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,wr.jsx)(nt.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,wr.jsx)(nt,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:M=>Da(void 0,null,function*(){let{name:Y}=M,O=[...s.dataValue],j=O[a],F=j.id;if(!j)return;let{target:Q}=yield j.convert();if(!Q)return;let N=yield String(Q.result).toBlob(l.type);if(!N)return;let te=new File([N],Y+"."+k,{type:j.type});te.id=F,O[a]=te,f(_e=>T(v({},_e),{dataValue:O,eventType:"update",eventID:(0,Nl.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,wr.jsxs)(wr.Fragment,{children:[u,!!o.isNameEditable&&(0,wr.jsx)(nt.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,wr.jsx)(Ae.Pen,{})})]})})}),!m&&(0,wr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,wr.jsx)(nt.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),f(Y=>T(v({},Y),{dataValue:M,eventType:"update",eventID:(0,Nl.UUID)()})))},children:(0,wr.jsx)(Ae.Times,{})})]}))}},A$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:f,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:C,value:k=[],className:L,cellStyles:M,cellClassName:Y,componentID:O,status_id:j,enableFormSubmit:F,freeCSS:Q,wrapStyles:N}=a,te=Ge(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[_e,re]=(0,Cf.useState)(Ft.DefaultStatus(r.componentID||"",k)),[be,ye]=(0,Cf.useState)({ok:!1,notice:[]}),ge={rootStates:r,val_status:_e,set_status:re};(0,Cf.useEffect)(()=>{Nl.useStore.set({["AddFiles-"+_e.componentID]:le=>{re(fe=>{let B=fe.dataValue,W=[];for(var ne=0;ne<(le==null?void 0:le.length);ne++){let ee=le[ne],{type:de,name:xe}=ee;if(ne+1+B.length>p){rs.add({componentID:xe,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${xe}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!de.match(/image/)){rs.add({componentID:xe,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${xe} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(ee)}return T(v({},fe),{dataValue:[...B,...W],eventType:"update",eventID:(0,Nl.UUID)()})})}})},[]),Ft.CommonEffects({type:"file",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:D$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,wr.jsxs)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:[(0,wr.jsx)(X,T(v({htmlTag:"input",type:"file",className:Ql("Input"),"data-component-id":_e.componentID,accept:H,multiple:p!=1,onChange:le=>Da(void 0,null,function*(){g&&g(le);let fe=le.target,B=fe.files,W=[];for(var ne=0;ne<(B==null?void 0:B.length);ne++){let ee=B[ne],de=ee.name;if(ee.id=(0,Nl.UUID)(),ne+1+_e.dataValue.length>p){rs.add({componentID:de,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${de}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(ee)}re(ee=>T(v({},ee),{dataValue:[...ee.dataValue,...W],eventType:"update",eventID:(0,Nl.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,wr.jsx)(zO.List,v({},ge))]})},_w=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,wr.jsx)(Ta,{componentID:r.componentID,children:A$,states:r}));_w.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=f=>{l(f.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Nl.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),_t("."+Ql("AddButton")).addClass(Ql("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),_t("."+Ql("AddButton")).removeClass(Ql("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(_t(o).hasClass(Ql("AddButton"))){let{componentId:l}=o.dataset,s=Nl.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var mo=K(Dt()),Ns=K(nr()),gm=K(fr());function L$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var FO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:f}=o;a=Math.max(a,l),a=Math.min(a,s);let u=a/s*s;return u=Math.round(u/f),{stepValue:u*f,stepIndex:u,positionLeft:u*f/s*100+"%"}},BO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:f}=r,u=[],h=Math.round(o/s),p=Math.round(l/s),m=p-h+1;for(var g=h;g<=p;g++){let b=g*s;b=Math.max(b,o),b=Math.min(b,l);let S=b/l*100+"%";u.push((0,mo.jsx)(X,{className:xs("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=_t("#Labels-"+a),{width:C}=S.position(),k=Math.round(C/50)-1,L=Math.round(m/k);for(let M=h+1;M<p;M++)_t("#Legend-"+a+"-"+M).css({display:M%L==0?"flex":"none"})};return(0,Ns.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ns.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,mo.jsx)(At,{className:xs("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,mo.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:l,form:s,enableFormSubmit:f}=r,{componentID:u}=a;return(0,mo.jsxs)(At,{className:xs("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),rp.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,mo.jsx)(X,{className:xs("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,mo.jsx)(X,{className:xs("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:l.positionLeft},id:u+"_BarColor"})}),(0,mo.jsx)(X,{className:xs("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,mo.jsx)(nt.Plain,{className:xs("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},id:u+"_Ball",onKeyDown:h=>{rp.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&Ft.SubmitForm(h,s)}})})]})}},rp={Effects:{Start:(r,a)=>{(0,Ns.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=Ns.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:f,min:u,max:h}=l,p=_t("#"+f+"_Ball"),m=_t("#"+f+"_Bar"),g=_t("#"+f+"_BarColor"),{width:b,left:S}=m.position(),C=(o-S)/b;C=Math.max(C,0),C=Math.min(C,1);let k=C*h,L=FO({value:k,val_status:l}),M=L.positionLeft,Y=L.stepValue;return p.css({left:M}),g.css({width:M}),s(O=>{let j=O.dataValue;return Y==j?O:T(v({},O),{dataValue:Y,eventType:"update",eventID:(0,Ns.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ns.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,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=s:b-=u:h.match(/Right|Down/)&&(g?b=f:b+=u),b=Math.max(Math.min(b,f),s),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Ns.UUID)()})))}},N$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:f=!0,custom:u,showAlways:h=!1}={},min:p,max:m,step:g,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:C,onUpdateValue:k,onUpdateValidValue:L,value:M="",className:Y,freeCSS:O,wrapStyles:j}=a,F=Ge(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[Q,N]=(0,gm.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:m,step:g,eventType:"init",eventID:(0,Ns.UUID)()}),[te,_e]=(0,gm.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"slider",states:r,val_status:Q,set_status:N,val_validate:te,set_validate:_e,SystemValidation:L$});let re=FO({value:Q.dataValue,val_status:Q});return(0,mo.jsx)(Fa,{val_status:Q,set_status:N,val_validate:te,states:r,children:(0,mo.jsxs)(er,{gap:"1/2",flexSizing:"auto",className:[xs("Wrap"),Y,xs("ShowLegendsAlways_"+h)].join(" "),children:[(0,mo.jsx)(BO.Rail,{rootStates:r,color:o,val_status:Q,set_status:N,DotData:re,form:s,enableFormSubmit:b}),!!f&&(0,mo.jsx)(BO.IndicatorLabels,{componentID:Q.componentID,min:p,max:m,step:g,customLegends:u})]})})},jO=r=>{let a=v({},r);return(0,mo.jsx)(Ta,{componentID:r.componentID,children:N$,states:ko(a)})};var Ao=K(Dt()),gw=K(nr()),bw=K(fr());function O$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var M$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:f,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:C,size:k="regular",value:L="",icon:M="",isApply:Y=!1}=a,O=Ge(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,bw.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,gw.UUID)()}),[Q,N]=(0,bw.useState)({ok:!1,notice:[]}),te=!!j.dataValue;return Ft.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Q,set_validate:N,SystemValidation:O$}),(0,Ao.jsxs)(Fa,{val_status:j,set_status:F,val_validate:Q,states:r,children:[(0,Ao.jsx)(X,v({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:cf("Input"),id:u,onKeyDown:_e=>{g&&g(_e),h&&Ft.SubmitForm(_e,f)},onChange:_e=>{let{checked:re}=_e.target;Q.ok&&N({ok:!1,notice:[]}),F(be=>T(v({},be),{dataValue:re,eventType:"update",eventID:(0,gw.UUID)()})),m&&m(_e)}},O)),(0,Ao.jsx)(vg.Plain,{tabIndex:-1,htmlFor:u,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:cf("Label"),children:(0,Ao.jsx)(X,T(v({},Y?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.5"}:{}),{children:(0,Ao.jsxs)(mt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!Y&&(0,Ao.jsx)(X,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:cf("Bar"),freeCSS:{height:"40%"}}),(0,Ao.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&te?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:cf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Ao.jsx)(X,{transition:"middle",flexCenter:!0,fontColor:te?Y?l:"white":"6.clear",children:M})})]})}))})]})},Lg=r=>{let a=v({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Ao.jsx)(Ta,{componentID:a.componentID,children:M$,states:a})},bm=Lg;bm.S=r=>(0,Ao.jsx)(Lg,T(v({},r),{size:"small"})),bm.R=r=>(0,Ao.jsx)(Lg,T(v({},r),{size:"regular"})),bm.L=r=>(0,Ao.jsx)(Lg,T(v({},r),{size:"large"}));var HO=K(Dt());var UO=r=>(0,HO.jsx)(Eg,T(v({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Sc=K(Dt()),VO=K(nr()),Ng=K(fr());var P$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:f,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:g,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:C,freeCSS:k,wrapStyles:L}=a,M=Ge(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,Ng.useState)((0,VO.UUID)()),[O,j]=(0,Ng.useState)(s),[F,Q]=(0,Ng.useState)(O);return O!=s&&(j(s),Q(s)),(0,Sc.jsx)(vf,T(v({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:v({whiteSpace:"nowrap"},k),cellStyles:v({flexCenter:!0,ssEffectsOnActive:"push"},g),cellCheckedStyles:v({},C),cellClassName:[b,hg("Label"),hg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,hg("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:(...N)=>{h&&h(...N),o=="bottomline"&&Q(N[0])}}))},Og=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)(P$,v({__sys_segmented_type:"plain"},r))},as=Og;as.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)(Og,v({},a))},as.CloudTheme=r=>{let a=v({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Sc.jsx)(as.Cloud,v({},a))},as.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)(as.Cloud,v({},a))},as.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)(Og,v({},a))},as.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)(as.Border,v({},a))},as.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)(Og,v({},a))};var Mg=K(Dt()),WO=K(nr()),yw=K(fr());function I$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var z$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:f,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:g,onUpdateValidValue:b,value:S=""}=a,C=Ge(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,yw.useState)(Ft.DefaultStatus(r.componentID||"",S)),[M,Y]=(0,yw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:M,set_validate:Y,SystemValidation:I$}),(0,Mg.jsx)(Fa,{val_status:k,set_status:L,val_validate:M,states:r,children:(0,Mg.jsx)(X,v({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:cf("Input"),onKeyDown:O=>{p&&p(O),f&&Ft.SubmitForm(O,s)},onChange:O=>{let{value:j}=O.target;M.ok&&Y({ok:!1,notice:[]}),L(F=>T(v({},F),{dataValue:j,eventType:"update",eventID:(0,WO.UUID)()})),h&&h(O)}},C))})},qO=r=>{let a=T(v(T(v({},Vn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:v({minWidth:108},r.freeCSS)});return(0,Mg.jsx)(Ta,{componentID:r.componentID,children:z$,states:a})};var ns=K(nr()),YO=r=>Da(void 0,null,function*(){let a=1,o={};return yield ns.default.scope(()=>Da(void 0,null,function*(){if(ns.useStore.get("form-process-"+r))return;ns.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=ns.useStore.get(["form-data",r].join("-"));if(!s){ns.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s)){if(!u)continue;let h=ns.useStore.get(u.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=ns.useStore.get(["form-data",r].join("-"));if(!s){ns.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s))u&&(a&=Number(u.validation),o[f]=u.value)}ns.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var La;(r=>(r.Plain=F7,r.Hidden=W7,r.TextField=pn,r.Contenteditable=eO,r.DigitCharacters=rO,r.Time=Ls,r.Select=es,r.Autocomplete=Ag,r.List=gO,r.Radio=vf,r.Checkbox=Eg,r.Checker=UO,r.Search=TO,r.Filer=_w,r.Slider=jO,r.Switch=bm,r.Segmented=as,r.Color=qO,r.LeftIcon=$d,r.RightIcon=Ba,r.LeftIndicator=Sg,r.RightIndicator=wg,r.RequiredSign=gg,r.RequiredShortSign=bg,r.OmitSign=yg,r.CollectForm=YO))(La||(La={}));var GO=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,u=Ge(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,$O.useEffect)(()=>{f&&f()},[]),(0,Pg.jsx)(At,T(v({position:"relative",overflow:"auto",flexWrap:!1},u),{freeCSS:v({zIndex:3,whiteSpace:"nowrap"},u.freeCSS),children:(0,Pg.jsx)(X,{margin:[0,"auto"],children:(0,Pg.jsx)(La.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{s&&s(h)}})})}))};var _u=K(Dt());var Wr={Table:r=>(0,_u.jsx)(X,T(v({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,_u.jsx)(X,v({htmlTag:"thead"},r)),Body:r=>(0,_u.jsx)(X,v({htmlTag:"tbody"},r)),Row:r=>(0,_u.jsx)(X,v({htmlTag:"tr"},r)),TH:r=>(0,_u.jsx)(X,v({htmlTag:"th"},r)),TD:r=>(0,_u.jsx)(X,v({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,_u.jsx)(Ae.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Lo=K(Dt());var Sw=K(Dt()),XO=K(nr());var KO=(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)},il=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 l=T(v({tableID:a.tableID||(0,XO.UUID)(),tone:a.tone},a),{cellStyles:v(v({},KO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=ko(l),{className:f,style:u}=s,h=Ge(s,["className","style"]),p=[f,Kt("Wrap"),Kt("TableType_"+a.type),Kt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,Sw.jsx)(X,{className:p,style:u,children:(0,Sw.jsx)(o,v({},h))})};var ww={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,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==s-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=il(b),C=l?l(b):{},k=T(v(v(v(v({},a),S),C),p),{freeCSS:v(v(v({},a.freeCSS),C.freeCSS),p.freeCSS),className:[Kt("Cell"),o,p.className].join(" ")});h.push((0,Lo.jsx)(g,v({},k),m))}),(0,Lo.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onRowClick:h}=r,p=[];return f.forEach((m,g)=>{let b=[];m.forEach((S,C)=>{let k=Wr[S.type=="th"?"TH":"TD"],L={top:g==0&&!s,bottom:g==f.length-1,left:C==0,right:C==u-1,rowIndex:g,colIndex:C,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};b.push((0,Lo.jsx)(k,T(v(v(v(v({},a),M),S),Y),{freeCSS:v(v(v({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Kt("Cell"),o,S.className].join(" ")}),C))}),p.push((0,Lo.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},g))}),(0,Lo.jsx)(Lo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Lo.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Lo.jsxs)(Wr.Body,{children:[(0,Lo.jsx)(ww.HeadRow,v({},r)),(0,Lo.jsx)(ww.BodyRows,v({},r))]})}))},QO=r=>(0,Lo.jsx)(ap,T(v({type:"normal"},r),{JSXChildren:ww.Normal}));var Sa=K(Dt()),No=K(nr()),np=K(fr());var xw=K(nM());var kw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:u}=r;if(!f)return null;let h=[];for(let p=0;p<s;p++){let m=f[p],g=Wr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=il(b),C=l?l(b):{};h.push((0,Sa.jsx)(g,T(v(v(v(v({},a),S),m),C),{freeCSS:v(v(v({},a.freeCSS),C.freeCSS),m.freeCSS),className:[Kt("Cell"),o,m.className].join(" ")}),p))}return(0,Sa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onOrderChanged:h}=r,[p]=(0,np.useState)((0,No.UUID)()),[m,g]=(0,np.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,C)=>{let k=[];{let L={top:C==0&&!s,bottom:C==f.length-1,left:!0,right:!1,rowIndex:C,colIndex:0,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};k.push((0,Sa.jsx)(Wr.TH,T(v(v(v({padding:0,borderRight:!0},a),M),Y),{freeCSS:v(v({},a.freeCSS),Y.freeCSS),className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,Sa.jsx)(nt.Clear,{className:Kt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:O=>{ym.Start(O,{id:p,index:C,rows:m.rows,maxLength:f.length})},children:(0,Sa.jsx)(Ae,{icon:xw.faGripVertical})})}),"DragOrigin"))}S.forEach((L,M)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!!s&&!s.length,bottom:C==f.length-1,left:!1,right:M==u-2,rowIndex:C,colIndex:M,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,Sa.jsx)(Y,T(v(v(v(v({},a),j),L),F),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),L.freeCSS),className:[Kt("Cell"),o,L.className].join(" ")}),M))}),b.push((0,Sa.jsx)(Wr.Row,{id:"TableRow-"+p+"-"+C,className:[Kt("Row"),Kt("BodyRow")].join(" "),children:k},C))}),!isNaN(m.to)){let{origin:S,to:C}=m,k=[];k.push((0,Sa.jsx)(Wr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,Sa.jsx)(Ae.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((L,M)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,Sa.jsx)(Y,T(v(v(T(v({className:[Kt("Cell"),o,L.className].join(" ")},j),{backgroundColor:"theme.opa.low"}),F),L),{freeCSS:v(v(v({},a.freeCSS),F.freeCSS),L.freeCSS)})))}),b.splice(C,0,(0,Sa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("Pre")].join(" "),children:k},"preSet"))}return(0,np.useEffect)(()=>{No.useStore.set({[p]:{swap:(S,C)=>{if(C||C==0){let k=m.rows[S],L=[...m.rows];L.splice(S,1),L.splice(C-(S<C?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(M=>No.default.Objectify(M.rowID)))}},preSet:S=>{let{origin:C,index:k}=S;g({rows:m.rows,origin:C,to:k})}}})}),(0,np.useEffect)(()=>()=>{No.useStore.delete(p)},[]),(0,Sa.jsx)(Sa.Fragment,{children:b})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Sa.jsx)(nt.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Na.open({parent:a.currentTarget,content:(0,Sa.jsxs)(Na.Body,{children:[(0,Sa.jsx)(Ae,{icon:xw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Sa.jsx)(Ae.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=No.default.Stringify(a.rowID||o),a)),(0,Sa.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Sa.jsxs)(Wr.Body,{children:[(0,Sa.jsx)(kw.HeadRow,v({},r)),(0,Sa.jsx)(kw.BodyRows,v({},r))]})}))},oM=r=>(0,Sa.jsx)(ap,T(v({type:"drag"},r),{JSXChildren:kw.Drag})),ym={Start:function(r,a){return Da(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;_t("#TableRow-"+o+"-"+l).addClass(Kt("DraggerOrigin")),(0,No.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:l}=a,s=No.default.getCursor(r).y-No.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let u=_t("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=u.position();f==0&&s<h?a.insertIndex=0:f===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:u}=a,h=No.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:l,insertIndex:s}=a,f=No.useStore.get(o);f&&f.swap&&f.swap(l,s),_t("#TableRow-"+o+"-"+l).removeClass(Kt("DraggerOrigin")),(0,No.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Et=K(Dt()),Wn=K(nr()),xf=K(fr());var pM=K(sS()),hM=K(uS()),mM=K(iS()),vM=K(dM());var wc={__memoryID:(0,Wn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=v({},r),{order:u,filter:h}=l,[p,m]=u.current,g=[],b=[...l.head];if(l.checker){let S={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},C=il(S),k=l.cellStylesCallback?l.cellStylesCallback(S):{};g.push((0,Et.jsx)(Wr.TH,T(v(v(v({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),C),k),{freeCSS:T(v(v({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Kt("Cell"),l.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(La.Checker,{label:null,value:!1,onUpdateValidValue:L=>{let M=l.rows;M.forEach(Y=>{Y.checked=L}),s(T(v({},l),{rows:M}))}})})}),-1))}for(let S=0;S<l.colLength;S++){let C=b[S];if(!C)continue;let k=C.children||C.data,L=u.enabled&&u.column[S],M=h.enabled&&h.column[S],Y=L?(0,Et.jsx)(Ae,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?hM.faArrowDown:pM.faArrowUp:mM.faArrowRight}):null,O=(0,Et.jsx)(Et.Fragment,{});if(M){let N=f.map(_e=>{var re;return(re=_e[S])==null?void 0:re.data});N=[...new Set(N)].toASC();let te=h.current[S];if(te){let _e=N.filter(H=>!te.includes(H)),re=[];N.forEach(H=>{H&&re.push({value:H,label:(0,Et.jsx)(X,{flexSizing:"auto",children:H})})});let be="BUTTON-"+l.componentID+"-"+S,ye=l.componentID+"-"+S,ge={sheetID:ye,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Et.jsxs)(At,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Et.jsx)(er,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Et.jsx)(La.Checkbox,{icon:!0,value:_e,display:"flex",gap:"2/3",override:"force",options:re,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+l.componentID,onUpdateValidValue:H=>{let le=N.filter(B=>!H.includes(B)),fe=v({},l);fe.filter.current[S]=le,s(fe)}})}),(0,Et.jsxs)(mt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Et.jsx)(nt.Border.S,{isRounded:!0,onClick:()=>{rr.close(ye)},children:"\u9589\u3058\u308B"}),(0,Et.jsx)(nt.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=N);let le=v({},l);le.filter.current[S]=H,s(le)},children:"\u5168\u9078\u629E"})]})]})};O=(0,Et.jsx)(X,{className:Kt("FilterRegion"),children:(0,Et.jsx)(nt.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Kt("Filtering_"+!!te.length),id:be,onClick:H=>{H.stopPropagation(),rr.open(ge)},children:(0,Et.jsx)(Ae,{icon:vM.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:S==0,right:S==l.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=il(j),Q=l.cellStylesCallback?l.cellStylesCallback(j):{};C=T(v(v(v(v({},l.cellStyles),F),C),Q),{ssPushable:L,freeCSS:v(v(v({},(o=l.cellStyles)==null?void 0:o.freeCSS),Q.freeCSS),C.freeCSS),className:[Kt("Cell"),l.cellClassName,C.className].join(" ")}),delete C.orderIndex,g.push((0,Et.jsx)(Wr.TH,T(v({fontWeight:"2.normal",position:"sticky",top:0},C),{freeCSS:v({zIndex:2},C.freeCSS),onClick:N=>{if(L){let te=v({},l),_e=[S,p===S&&m=="ASC"?"DESC":"ASC"];te.order.current=_e,s(te),l.onOrderChanged&&l.onOrderChanged(_e)}},children:(0,Et.jsxs)(At,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[O,(0,Et.jsxs)(At,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:g})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,f)=>{var u;let h=[...s],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=il(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Et.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:[Kt("Cell"),a.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(La.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:S=>{let C=a.rows,k=C.findIndex(L=>Wn.default.is.equal(L.rowID,s.rowID));k!=-1&&(C[k].checked=S,r.set_status(L=>T(v({},L),{rows:C})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let S=m,{type:C="td"}=S,k=Ge(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},M=il(L),Y=a.cellStylesCallback?a.cellStylesCallback(L):{};k=T(v(v(v(v({},a.cellStyles),M),k),Y),{freeCSS:v(v(v({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),Y.freeCSS),className:[Kt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let O=Wr[C=="td"?"TD":"TH"];p.push((0,Et.jsx)(O,v({},k),g))}),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(s.rowID,m)}},f))}),!o.length){let s=(0,Et.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&&(s=(0,Et.jsx)(Et.Fragment,{children:a.noRecords})),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow"),Kt("DataNotFound")].join(" "),children:(0,Et.jsx)(Wr.TD,{colSpan:a.colLength,className:Kt("Cell"),children:s})},"dataNotFound"))}return(0,Et.jsx)(Et.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:f,paging:u}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],g=[...a.rows];if(l&&(p=h.filter(C=>(C.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),m=[...p],g=[...p]),s.enabled)for(let C=0;C<a.colLength;C++){let k=s.column[C],L=s.current[C];k&&L&&L.length&&(m=m.filter(M=>!L.includes(M[C].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:C,rowLength:k}=u;g=[...g].splice((C-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 C=[...h];return f.enabled&&(f.current[1]=="ASC"?C=C.toASC([f.current[0],"orderIndex"].join(".")):C=C.toDESC([f.current[0],"orderIndex"].join("."))),C.forEach(k=>{k.currentPage=!1,k.filtered=!1}),g.forEach(k=>{let{rowID:L}=k;C.find(M=>Wn.default.is.equal(M.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;C.find(M=>Wn.default.is.equal(M.rowID,L)).filtered=!0}),C}}}),(0,xf.useEffect)(()=>{kl.release(a.tableID,S)}),(0,Et.jsx)(X,{className:Kt("TableBase"),children:(0,Et.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Et.jsxs)(Wr.Body,{children:[(0,Et.jsx)(wc.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Et.jsx)(wc.Body,{val_status:a,set_status:o,PageRows:g})]})})},l)},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((l,s)=>{var f;return Wn.default.is.boolean(r.filter)?r.filter:(f=r.filter[s])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var f;return Wn.default.is.boolean(r.order)?r.order:(f=r.order[s])!=null?f:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let f=[];l.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))}),l.__sys4SearchKey=f.join("/")}),(0,Et.jsx)(wc.StateManager,v({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,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:l,filter:{enabled:s!==!1,column:s,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,Et.jsx)(wc.Core,{val_status:g,set_status:b})}},B$={__memoryID:wc.__memoryID,getRowData:r=>{let a=Wn.useStore.get(wc.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},Ig={SearchInput:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Et.jsx)(La.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Et.jsx)(La.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Et.jsx)(Ae.Search,{})}),value:o.searchKeyword,onUpdateValidValue:s=>{r.onChange(s),Wn.default.interval.once(()=>{l(f=>T(v({},f),{paging:T(v({},f.paging),{currentPageIndex:1}),filter:T(v({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=a.rows.filtered.ratio(a.rows.total)||0;return(0,Et.jsxs)(At,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Et.jsx)(wn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let u=0;u<o.paging.pageLength;u++)s.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,l(m=>T(v({},m),{paging:T(v({},m.paging),{currentPageIndex:h})}))};return(0,Et.jsxs)(mt.Center,{children:[(0,Et.jsxs)(mt.Center,{gap:"1/2",children:[(0,Et.jsx)(La.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,onUpdateValidValue:u=>{f(u)}}),"/ ",o.paging.pageLength]}),(0,Et.jsxs)(mt.Right,{gap:"1/2",children:[(0,Et.jsx)(nt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Et.jsx)(Ae.ChevronLeft,{})}),(0,Et.jsx)(nt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Et.jsx)(Ae.ChevronRight,{})})]})]})},RowLength:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,f=0,u=r.lengthSelect.map(h=>(f|=+(h==s),{value:h,label:h.toString()}));return f||u.push({value:s,label:s.toString()}),(0,Et.jsx)(mt.Center,{gap:"1/2",children:(0,Et.jsx)(La.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=>{l(p=>T(v({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},F$=r=>(0,Et.jsx)(ap,T(v({},r),{type:"data",JSXChildren:wc.DataLeveler})),gu=F$;gu.__memoryID=wc.__memoryID,gu.getRowData=B$.getRowData,gu.Info=Ig.Info,gu.Paging=Ig.Paging,gu.RowLength=Ig.RowLength,gu.SearchInput=Ig.SearchInput;var zg;(r=>(r.Normal=QO,r.Data=gu,r.Drag=oM,r.Parts=Wr))(zg||(zg={}));var Ew=K(Dt()),Sm=K(nr());var _c={uid:(0,Sm.UUID)(),open:(r,a,o=24,l=.35)=>{r&&Sm.default.interval.once(()=>{Na.open({tipsID:_c.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Ew.jsx)(Na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Ew.jsx)(Xt.Supplement,{children:a})})})},l*1e3,_c.uid)},abort:()=>{Sm.default.interval.abort(_c.uid),Na.close(_c.uid)}};var pt=K(Dt()),oa=K(nr());var os=K(fr());var qM=K(CM()),YM=K(AM()),$M=K(zM()),GM=K(WM());var Nw=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 l=a.picture.image,{width:s,height:f}=l,u=s/f;this.Picture={elm:l,originDataUrl:l.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:s/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,l=0,s=0;if(this.use=="square"){let g=a.width/3*2,b=a.height/3*2;l=Math.min(g,b),s=l}else this.use=="wallpaper.horizontal"?(l=a.width*(7/9),s=l/3):this.use=="wallpaper.vertical"&&(s=a.height*(7/9),l=s/2);let{width:f,height:u}=o,h=(a.width-l)/2,p=(a.height-s)/2,m=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,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:l,y:s}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},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-l,p=f.y-s,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:l}=a,{x:s,y:f}=oa.default.getCursor(l.touches[0]),{x:u,y:h}=oa.default.getCursor(l.touches[1]),p=u-s,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,C=Number(g.scale*S);this.set_scale(C)}}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 Da(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),u=yield oa.default.ImageLoader(this.Picture.originDataUrl),h=u.width,p=u.height;(l==90||l==270)&&(h=u.height,p=u.width),s.width=h,s.height=p,a&&(f.filter="grayscale("+a+"%)"),l&&(f.translate(h/2,p/2),f.rotate(l*Math.PI/180),[90,270].includes(l)?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,s.width,s.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,M=k[1]/255,Y=k[2]/255;for(let O=0;O<p;O++)for(let j=0;j<h;j++){var b=(O*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 Q=g[b+S];g[b+S]=Q+(F-Q)*a}}g[b]*=L,g[b+1]*=M,g[b+2]*=Y}}f.putImageData(m,0,0);let C=s.toDataURL("image/jpeg");{let k=yield oa.default.ImageLoader(C),{width:L,height:M}=k,Y=L/M;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/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,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,C=this.Picture.elm.width*g,k=this.Picture.elm.height*g;{let L=this.pst.frame.x+this.pst.frame.w-C,M=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,O=this.pst.frame.y,j=0;b<L&&(j=b-L),b>M&&(j=b-M);let F=0;S<Y&&(F=S-Y),S>O&&(F=S-O),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),M),S=Math.min(Math.max(S,Y),O)}this.pst.outImage={x:b,y:S,w:C,h:k},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,b,S,C,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let g=f.width/3*2,b=f.height/3*2,S=Math.min(g,b),C=Math.max(g,b);s.arc(f.width/2,f.height/2,C,0,Math.PI*2,!0),s.arc(f.width/2,f.height/2,S/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(f.width,0),s.lineTo(f.width,f.height),s.lineTo(0,f.height),s.lineTo(0,0),s.closePath(),s.lineTo(u.x,u.y),s.lineTo(u.x,u.y+u.h),s.lineTo(u.x+u.w,u.y+u.h),s.lineTo(u.x+u.w,u.y),s.lineTo(u.x,u.y),s.fill();let m=(0,oa.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${m},1 )`,s.strokeRect(u.x,u.y,u.w,u.h)}}export(){return Da(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:f}}=this,u=s.w/l.elm.width,h=s.h/l.elm.height,p=(f.x-s.x)/u,m=(f.x-s.x+f.w)/u,g=(f.y-s.y)/h,b=(f.y-s.y+f.h)/h,S=Array.from({length:o.length}),C="image/jpeg";for(let k=0;k<o.length;k++){let{size:L,maxSize:M}=o[k];M=M||{S:1024*20,R:1024*100,L:1024*350}[L];let Y={S:140,R:600,L:1200}[L],O=Y;this.use=="wallpaper.horizontal"?O=Y/3:this.use=="wallpaper.vertical"&&(O=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=O;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,O),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,O);let Q=j.toDataURL(C),N=yield Q.toBlob(C);if(!N)return;if(N.size>=M){let _e=M/N.size;if(Q=j.toDataURL(C,_e*.92),N=yield Q.toBlob(C),!N)return}let te=new File([N],this.val_file.name,{type:C});S[k]=te}return S})}},KM={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:u=[]}=o,[h]=(0,os.useState)((0,oa.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,g]=(0,os.useState)(p.scale.default),[b,S]=(0,os.useState)(p.rotate),[C,k]=(0,os.useState)(p.grayScale),[L,M]=(0,os.useState)(p.tone);return(0,os.useEffect)(()=>{let Y="CropperResize";return(0,oa.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{oa.default.interval.once(()=>{var O;let j=_t("#Canvas-"+h)[0];if(!j)return;let F=(O=oa.useStore.get(h))==null?void 0:O.Instance;if(!F)return;let Q=j.position(),N=Q.width/Q.height;j.width=2400,j.height=2400/N;let{width:te,height:_e}=j;F.pst.centerX=te/2,F.pst.centerY=_e/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,oa.default)(window).removeEvent(Y)}},[]),(0,os.useEffect)(()=>{oa.useStore.set({[h]:{}}),Da(void 0,null,function*(){Ro.fn.corner.active(),yield oa.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let O=Y.result,j=_t("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Q=F.width/F.height;j.width=2400,j.height=2400/Q;let N=new Nw({set_scale:g,val_file:a,develops:u,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield oa.default.ImageLoader(O),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});oa.useStore.set({[h]:{Instance:N}});let te=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)N.pinchEffect({eventType:"start",event:be}),(0,oa.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ye.preventDefault(),N.pinchEffect({eventType:"move",event:ye})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:re});else{N.dragEffect(v({eventType:"start"},oa.default.getCursor(be)));let{type:ye}=be;(0,oa.default)(document).addEvent({eventType:ye=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ge=>{_e("move",ge)}}).addEvent({eventType:ye=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ge=>{_e("end",ge),re(ge)}})}},_e=function(be,ye){ye.preventDefault(),N.dragEffect(v({eventType:be},oa.default.getCursor(ye)))},re=function(be){be.preventDefault(),(0,oa.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,oa.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let ye=Number(be.wheelDelta*.04),ge=N.scale.current+ye;ge=Math.max(ge,N.scale.min),ge=Math.min(ge,N.scale.max),g(ge)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:te,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:te,options:{passive:!1}}),setTimeout(()=>{Ro.fn.corner.stop()},1e3)})},[a.id]),(0,os.useEffect)(()=>{var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateScale(m)},[m]),(0,os.useEffect)(()=>{var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateFilter({grayScale:C,tone:L,rotate:b})},[C,L,b]),(0,pt.jsx)(rr.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)(mt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,pt.jsx)(KM.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:M,val_grayScale:C,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,pt.jsxs)(mt.Right,{flexSizing:"none",children:[(0,pt.jsx)(nt.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,pt.jsx)(nt,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Da(void 0,null,function*(){var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;if(!O)return;Ro.fn.mini.active("CropperExportation");let j=yield O.export();setTimeout(()=>{Ro.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,pt.jsxs)(mt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ro.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=l=>a[l]||"\u306A\u3057";return(0,pt.jsxs)(mt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,pt.jsxs)(er,{gap:"1/3",children:[(0,pt.jsx)(Xt.Supplement,{children:"Rotate"}),(0,pt.jsxs)(mt.Left,{flexChilds:"even",gap:"1/6",children:[(0,pt.jsx)(nt.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let l=r.val_rotate-90;l<0&&(l+=360),r.set_rotate(l)},children:(0,pt.jsxs)(mt.Center,{gap:"1/4",children:["90\xB0",(0,pt.jsx)(Ae,{icon:$M.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)(mt.Center,{gap:"1/4",children:[(0,pt.jsx)(Ae,{icon:GM.faRotateRight}),"90\xB0"]})})]})]}),(0,pt.jsxs)(er,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,pt.jsx)(Xt.Supplement,{children:"Zoom"}),(0,pt.jsxs)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(rr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(mt.Separate,{children:[(0,pt.jsx)(Xt.Paragraph,{children:(0,pt.jsxs)(mt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ae.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,pt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,pt.jsx)(Ae.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(La.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)(Xt.Supplement,{children:"GrayScale"}),(0,pt.jsxs)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,pt.jsx)(rr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(mt.Separate,{children:[(0,pt.jsx)(Xt.Paragraph,{children:(0,pt.jsxs)(mt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ae,{icon:qM.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,pt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,pt.jsx)(Ae.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(La.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)(Xt.Supplement,{children:"Tone"}),(0,pt.jsx)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Na.open({tipsID:s,gravityPoint:3,event:l,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)(mt.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)(rr.Body,{children:(0,pt.jsxs)(er,{padding:1.5,children:[(0,pt.jsxs)(mt.Separate,{children:[(0,pt.jsx)(Xt.Paragraph,{children:(0,pt.jsxs)(mt.Center,{gap:"1/2",children:[(0,pt.jsx)(Ae,{icon:YM.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,pt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,pt.jsx)(Ae.Times,{})})]}),(0,pt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,pt.jsx)(La.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)(mt.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)]})})]})]})}},Ow={openDialogNEdit:r=>Da(void 0,null,function*(){let a=yield La.Filer.fn.openDialog({accept:"image",multiple:!1});Ow.openEditor(v({imageFile:a[0]},r))}),openEditor:r=>Da(void 0,null,function*(){let a="CropperImage";rr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,pt.jsx)(KM.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{rr.close(a),r.onProcessFinished(o)},abortCallback:()=>{rr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Oo=K(Dt());var XM=()=>{let{href:r}=location;return(0,Oo.jsx)(mt.Center,{padding:[4,1],children:(0,Oo.jsxs)(er,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Oo.jsx)(Ae.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Oo.jsxs)(X,{children:[(0,Oo.jsx)(Xt.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Oo.jsx)(Xt.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,Oo.jsxs)(er,{children:[(0,Oo.jsxs)(Xt,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Oo.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Oo.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,Oo.jsx)(ff.Link,{newTab:!0,href:r,children:r}),(0,Oo.jsx)(ff.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Bg=r=>{let[a,o]=(0,bu.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,bu.useRef)(!1);(0,bu.useEffect)(()=>{l&&(s.current?(rr.closeAll(!0),Rs.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,bu.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,bu.useEffect)(()=>{l&&(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 QM=K(nr());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,QM.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},JM={light:"#FFF",dark:"#333",dim:"#666",auto:()=>dt.get().isSystemDarkmode()?"#333":"#FFF"},Pw={};Gh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Pw[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Ya=K(nr());var Re={toConcreteBorderRadius:r=>{let a=dt.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=>Ya.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,f,u,h,p,m,g,b;let S=[],{gap:C,display:k,position:L,overflow:M,fontColor:Y,fontSize:O,fontWeight:j,fontHeight:F,backgroundColor:Q,textAlign:N,textDecoration:te,boxShadow:_e,margin:re,marginTop:be,marginRight:ye,marginBottom:ge,marginLeft:H,padding:le,paddingTop:fe,paddingRight:B,paddingBottom:W,paddingLeft:ne,top:ee,right:de,bottom:xe,left:we,border:Ye,borderTop:$e,borderRight:Pe,borderBottom:et,borderLeft:ut,borderWidth:lt,borderColor:Tt,borderStyle:wt,borderRadius:Ze,borderTopLeftRadius:Te,borderTopRightRadius:ht,borderBottomLeftRadius:Lt,borderBottomRightRadius:jt,flexSizing:Ut,flexWrap:ar,flexType:ur,flexChilds:Er,flexGrid:ra,horizontalAlign:jr,verticalAlign:qr,transition:Cr,gridCenter:dr,gridCols:gr,maxHeight:pa,minHeight:xr,maxWidth:mr,minWidth:Mr,width:_a,height:Be,unitHeight:st,unitWidth:bt,opacity:$t}=a;{if(Re.ev(k)&&S.push("dsp"+k),M){let G=Ya.default.flatArray(M);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(L)&&S.push("ps"+L),Re.ev(N)&&S.push("txtalg"+N),Re.ev(N)&&S.push("txtdeco"+te),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(O)&&S.push("ftsz"+((l=String(O))==null?void 0:l.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((s=String(j))==null?void 0:s.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Q)&&S.push("bgc"+((u=String(Q))==null?void 0:u.replace(/\./g,"_"))),Re.ev(_e)&&S.push("bs"+_e);let Vt,Rr,vr,Yr;Ya.default.is.exist(re)&&(Ya.default.is.array(re)?re.length==2?[Vt,Rr,vr,Yr]=[...re,...re]:re.length==4&&([Vt,Rr,vr,Yr]=re):Vt=Rr=vr=Yr=re,be=be!=null?be:Vt,ye=ye!=null?ye:Rr,ge=ge!=null?ge:vr,H=H!=null?H:Yr),Re.ev(be)&&S.push("mrgt"+be),Re.ev(ye)&&S.push("mrgr"+ye),Re.ev(ge)&&S.push("mrgb"+ge),Re.ev(H)&&S.push("mrgl"+H);let $,P,R,z;Ya.default.is.exist(le)&&(Ya.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,fe=fe!=null?fe:$,B=B!=null?B:P,W=W!=null?W:R,ne=ne!=null?ne:z),Re.ev(fe)&&S.push("pdt"+fe),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ne)&&S.push("pdl"+ne),Re.ev(ee)&&S.push("pstt"+ee),Re.ev(de)&&S.push("pstr"+de),Re.ev(xe)&&S.push("pstb"+xe),Re.ev(we)&&S.push("pstl"+we);{Ya.default.is.exist(Ye)&&($e=$e!=null?$e:Ye,Pe=Pe!=null?Pe:Ye,et=et!=null?et:Ye,ut=ut!=null?ut:Ye),Ya.default.is.boolean($e)&&($e=["unset","2.normal"][Number($e)]),Ya.default.is.boolean(Pe)&&(Pe=["unset","2.normal"][Number(Pe)]),Ya.default.is.boolean(et)&&(et=["unset","2.normal"][Number(et)]),Ya.default.is.boolean(ut)&&(ut=["unset","2.normal"][Number(ut)]),Re.ev($e)&&S.push("b_t_ss"+((h=String($e))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Pe)&&S.push("b_r_ss"+((p=String(Pe))==null?void 0:p.replace(/\./g,"_"))),Re.ev(et)&&S.push("b_b_ss"+((m=String(et))==null?void 0:m.replace(/\./g,"_"))),Re.ev(ut)&&S.push("b_l_ss"+((g=String(ut))==null?void 0:g.replace(/\./g,"_"))),Ya.default.is.exist(lt)&&S.push("b_wth"+String(lt)),Ya.default.is.exist(Tt)&&S.push("b_cl"+((b=String(Tt))==null?void 0:b.replace(/\./g,"_"))),Ya.default.is.exist(wt)&&S.push("b_st"+String(wt));{let G,ie,oe,Oe;Ya.default.is.exist(Ze)&&(Ya.default.is.array(Ze)?Ze.length==4&&([G,ie,Oe,oe]=Ze):G=ie=oe=Oe=Ze,Te=Te!=null?Te:G,ht=ht!=null?ht:ie,Lt=Lt!=null?Lt:oe,jt=jt!=null?jt:Oe)}Re.ev(Te)&&S.push("br_tl"+Re.toConcreteBorderRadius(Te)),Re.ev(ht)&&S.push("br_tr"+Re.toConcreteBorderRadius(ht)),Re.ev(Lt)&&S.push("br_bl"+Re.toConcreteBorderRadius(Lt)),Re.ev(jt)&&S.push("br_br"+Re.toConcreteBorderRadius(jt))}if(Re.ev($t)&&S.push("op"+$t),Ya.default.is.exist(C)){let G,ie;Ya.default.is.array(C)?(G=C[0],ie=C[1]):G=ie=C,S.push("gapRow"+G,"gapCol"+ie)}Re.ev(Ut)&&S.push("flsz"+Ut),Re.ev(ar)&&S.push("flwrp"+ar),Re.ev(ur)&&S.push("fltyp"+ur),Re.ev(Er)&&S.push("flchld"+Er),Re.ev(ra)&&S.push("flgrid"+ra),Re.ev(qr)&&S.push("flvrt"+qr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(dr)&&S.push("grcnt"+dr),Re.ev(gr)&&S.push("grcol"+gr),Re.ev(Be)&&S.push("hgt"+Be),Re.ev(_a)&&S.push("wdt"+_a),Re.ev(st)&&S.push("unthgt"+st),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(Cr)&&S.push("trnst"+Cr),Re.ev(pa)&&S.push("maxh"+pa),Re.ev(xr)&&S.push("minh"+xr),Re.ev(mr)&&S.push("maxw"+mr),Re.ev(Mr)&&S.push("minw"+Mr)}return S.length?r+S.join(" "+r):""}},sm=r=>{let a=v({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:S,isSemiBoldFont:C,isRounded:k,isSquare:L,freeCSS:M={}}=a,Y=Ge(M,[]),O=Ge(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},O=O||{},o){let{deg:j,colors:F}=o;Y=T(v({},Y),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(l){l===!0&&(l="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?j.border=!0:l=="plain"?(j.backgroundColor="layer.1",j.boxShadow="none"):l=="cloud"?j.backgroundColor="cloud":l=="shadow"&&(j.boxShadow="0.normal"),dt.get().darkMode=="dim"&&(j.boxShadow="1.normal"),dt.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=v(v({},j.freeCSS),Y),O=v(v({},j),O)}return s&&(m=m!=null?m:!0,O=v({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},O)),f&&(m=m!=null?m:!0,O=v({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},O)),u&&(O=v({transition:"middle"},O),O=T(v({},O),{className:[O.className,"ssPushable"].join(" ")})),h&&(O=v({position:"absolute",top:0,left:0,right:0,bottom:0},O)),p&&(O=v({overflow:"hidden"},O),Y=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(O=v({width:1,flexSizing:"none"},O)),m&&(O=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},O)),b&&(O.fontWeight="1.light"),C&&(O.fontWeight="3.semiBold"),S&&(O.fontWeight="4.bold"),k&&(Ya.default.is.number(k)?Y.borderRadius=k*12:O.borderRadius="sphere"),L&&(Y.aspectRatio="1"),T(v({},O),{freeCSS:Y})},ko=r=>{let a=sm(r),{componentID:o,gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:C,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:xe,borderTopLeftRadius:we,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ut,flexType:lt,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:ht,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:ar,maxWidth:ur,minWidth:Er,width:ra,height:jr,unitHeight:qr,unitWidth:Cr,opacity:dr,ssLastChildLossBorder:gr,ssAbsoluteCovered:pa,ssCardBox:xr,ssEffectsOnActive:mr,ssPushable:Mr,ssSphere:_a,ssSquare:Be,ssTextEllipsis:st,isBoldFont:bt,isLightFont:$t,isSemiBoldFont:Vt,isRounded:Rr,flexCenter:vr,flexNewLine:Yr,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=Ge(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"]),ie=v({},G),oe=[R];if(gr&&oe.push("ssLastChildLossBorder_"+gr),mr){mr=Ya.default.flatArray(mr);for(let Oe of mr){let[Ie,Me]=Oe.split(".");ie["data-effect-"+Ie]="1",Me&&(ie["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:C,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:xe,borderTopLeftRadius:we,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ut,flexType:lt,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:ht,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:ar,maxWidth:ur,minWidth:Er,width:ra,height:jr,unitHeight:qr,unitWidth:Cr,opacity:dr});oe.push(Oe)}return P&&oe.push(Re.ClassNames("amotf_bp",P)),z&&(ie.style=v(v({},z),ie.style)),(o||ie["data-component-id"])&&(ie["data-component-id"]=ie["data-component-id"]||o),oe.length&&oe.join("")&&(ie.className=oe.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),ie},Al=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:u,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:g,textDecoration:b,boxShadow:S,margin:C,marginTop:k,marginRight:L,marginBottom:M,marginLeft:Y,padding:O,paddingTop:j,paddingRight:F,paddingBottom:Q,paddingLeft:N,top:te,right:_e,bottom:re,left:be,border:ye,borderTop:ge,borderRight:H,borderBottom:le,borderLeft:fe,borderWidth:B,borderColor:W,borderStyle:ne,borderRadius:ee,borderTopLeftRadius:de,borderTopRightRadius:xe,borderBottomLeftRadius:we,borderBottomRightRadius:Ye,flexSizing:$e,flexWrap:Pe,flexType:et,flexChilds:ut,flexGrid:lt,horizontalAlign:Tt,verticalAlign:wt,transition:Ze,gridCenter:Te,gridCols:ht,maxHeight:Lt,minHeight:jt,maxWidth:Ut,minWidth:ar,width:ur,height:Er,unitHeight:ra,unitWidth:jr,opacity:qr,ssLastChildLossBorder:Cr,ssAbsoluteCovered:dr,ssCardBox:gr,ssEffectsOnActive:pa,ssPushable:xr,ssSphere:mr,ssSquare:Mr,ssTextEllipsis:_a,isBoldFont:Be,isLightFont:st,isSemiBoldFont:bt,isRounded:$t,flexCenter:Vt,flexNewLine:Rr,gradients:vr,UnderBreakPointStyles:Yr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(l)&&(P.position=l),Re.ev(s)&&(P.overflow=s),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(C)&&(P.margin=C),Re.ev(k)&&(P.marginTop=k),Re.ev(L)&&(P.marginRight=L),Re.ev(M)&&(P.marginBottom=M),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(O)&&(P.padding=O),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(Q)&&(P.paddingBottom=Q),Re.ev(N)&&(P.paddingLeft=N),Re.ev(te)&&(P.top=te),Re.ev(_e)&&(P.right=_e),Re.ev(re)&&(P.bottom=re),Re.ev(be)&&(P.left=be),Re.ev(ye)&&(P.border=ye),Re.ev(ge)&&(P.borderTop=ge),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(fe)&&(P.borderLeft=fe),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ne)&&(P.borderStyle=ne),Re.ev(ee)&&(P.borderRadius=ee),Re.ev(de)&&(P.borderTopLeftRadius=de),Re.ev(xe)&&(P.borderTopRightRadius=xe),Re.ev(we)&&(P.borderBottomLeftRadius=we),Re.ev(Ye)&&(P.borderBottomRightRadius=Ye),Re.ev($e)&&(P.flexSizing=$e),Re.ev(Pe)&&(P.flexWrap=Pe),Re.ev(et)&&(P.flexType=et),Re.ev(ut)&&(P.flexChilds=ut),Re.ev(lt)&&(P.flexGrid=lt),Re.ev(Tt)&&(P.horizontalAlign=Tt),Re.ev(wt)&&(P.verticalAlign=wt),Re.ev(Ze)&&(P.transition=Ze),Re.ev(Te)&&(P.gridCenter=Te),Re.ev(ht)&&(P.gridCols=ht),Re.ev(Lt)&&(P.maxHeight=Lt),Re.ev(jt)&&(P.minHeight=jt),Re.ev(Ut)&&(P.maxWidth=Ut),Re.ev(ar)&&(P.minWidth=ar),Re.ev(ur)&&(P.width=ur),Re.ev(Er)&&(P.height=Er),Re.ev(ra)&&(P.unitHeight=ra),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(qr)&&(P.opacity=qr),Re.ev(Cr)&&(P.ssLastChildLossBorder=Cr),Re.ev(dr)&&(P.ssAbsoluteCovered=dr),Re.ev(gr)&&(P.ssCardBox=gr),Re.ev(pa)&&(P.ssEffectsOnActive=pa),Re.ev(xr)&&(P.ssPushable=xr),Re.ev(mr)&&(P.ssSphere=mr),Re.ev(Mr)&&(P.ssSquare=Mr),Re.ev(_a)&&(P.ssTextEllipsis=_a),Re.ev(Be)&&(P.isBoldFont=Be),Re.ev(st)&&(P.isLightFont=st),Re.ev(bt)&&(P.isSemiBoldFont=bt),Re.ev($t)&&(P.isRounded=$t),Re.ev(Vt)&&(P.flexCenter=Vt),Re.ev(Rr)&&(P.flexNewLine=Rr),Re.ev(vr)&&(P.gradients=vr),Re.ev($)&&(P.freeCSS=$),Re.ev(Yr)&&(P.UnderBreakPointStyles=Yr),P};var pl=K(Dt());var Fg=r=>{var a;let o=kl.catch("RootViewController_"+dt.get().sessionUID);return(0,pl.jsxs)(pl.Fragment,{children:[(0,pl.jsx)("style",{children:r.inlineCSS}),(0,pl.jsxs)("amotify-app",{id:"appRoot_"+dt.get().sessionUID,children:[(0,pl.jsx)(pc.Pudding.Wrapper,{}),(0,pl.jsx)(pc.Ripple.Wrapper,{}),(0,pl.jsx)(Ro.Wrapper,{}),(0,pl.jsx)(rs.Wrapper,{}),(0,pl.jsx)(rr.Wrapper,{}),(0,pl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var jg=K(nr()),_t=r=>{let a=dt.get().appRoot;return jg.default.is.shadowRoot(a)?(0,jg.default)(a).find(r):(0,jg.default)(r)};var j$=K(zw());Jr(Fr,K(zw()));var H$=K(Bw());Jr(Fr,K(Bw()));var U$=v(v(v(v(v(v({},Iw),KS),rw),j$),H$),Mw);var mn=K(Dt()),V$=()=>{let[r,a]=(0,op.useState)(!1);return(0,mn.jsxs)(X,{children:[(0,mn.jsxs)(Xt.Paragraph,{children:["sheet: ",String(r)]}),(0,mn.jsx)(nt.Prime,{onClick:()=>{a(!r)},children:"Submit"}),(0,mn.jsx)(rr.Element,{sheetID:"testSheet",type:"normal.middleCenter",isOpen:r,openAfter:()=>{a(!0)},closeAfter:()=>{a(!1)},children:(0,mn.jsx)(rr.Body,{children:(0,mn.jsxs)(er,{padding:2,children:[(0,mn.jsxs)(mt.Separate,{children:[(0,mn.jsx)(Xt.Paragraph,{children:"Title"}),(0,mn.jsx)(nt.Sub,{color:"cloud",ssSphere:3,onClick:()=>{a(!1)},children:(0,mn.jsx)(Ae.Times,{})})]}),"Helllo"]})})})]})};Fw.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),dt.launch({appRoot:r,roundness:4,themeColor:Fw.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Os.useLocation(),l=Os.useNavigate();return(0,op.useEffect)(()=>{Pn.setPushEffect(s=>{if(s.match(/^#/)){console.log(s),console.log(window.location.pathname);return}l(s)}),Pn.setBackEffect(()=>{l(-1)})},[]),Bg({pathname:o.pathname}),(0,mn.jsx)(Os.Routes,{children:(0,mn.jsx)(Os.Route,{path:"*",element:(0,mn.jsx)(V$,{})},"*")})};ZM.default.createRoot(r).render((0,mn.jsx)(op.StrictMode,{children:(0,mn.jsx)(Fg,{children:(0,mn.jsx)(Os.BrowserRouter,{children:(0,mn.jsx)(a,{})})})}))});
|
|
980
|
+
T`.repeat(m-1)}let h=Ll(a);return(0,sr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,sr.jsx)(Qt.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,sr.jsx)(X,{"data-input-value-shallow":o.componentID,children:s})})),(0,sr.jsx)(Qt.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,sr.jsx)(Qt.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:l,val_status:s,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:M="off",autoCapitalize:Y="off",minRows:O,maxRows:j,multiline:F,autoHeight:Q,enableFormSubmit:N,clearButton:te=!1,checkValidationAtFirst:_e,onChange:re,onKeyDown:be,onValidate:ye,onUpdateValue:ge,onUpdateValidValue:H,value:le="",leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,maxLength:ee,min:de,max:xe,label:we,isLabelActive:Ye,wrapStyles:$e}=g,Pe=Ge(g,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),et=k=="password"||k=="concealed"?"password":"text",ut=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,sr.jsx)(X,T(v({htmlTag:"input",type:et,inputMode:ut,"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(o,s,!!_e),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:Y,onKeyDown:lt=>{let{key:Tt,target:wt}=lt;{let Ze=wt,{selectionStart:Te,selectionEnd:pt}=Ze,Lt=Number(Te),jt=Number(pt),Ut=s.formatValue[Number(Lt)],ar=s.formatValue[Number(Lt)-1];Tt=="Delete"&&(k=="creditCard"&&Ut==" "||k=="postal"&&Ut=="-"||k=="digitNumber"&&Ut==",")&&(Ze.setSelectionRange(Lt+1,jt+1),lt.preventDefault()),Tt=="Backspace"&&(k=="creditCard"&&ar==" "||k=="postal"&&ar=="-"||k=="digitNumber"&&ar==",")&&(Ze.setSelectionRange(Lt-1,jt-1),lt.preventDefault()),Tt=="Enter"||Tt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&Tt=="Clear"&&f(Ze=>T(v({},Ze),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,Ja.UUID)()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(Tt)){let Ze=+(Tt=="ArrowUp")*2-1,Te=String(Number(s.dataValue)+Ze);o.ok&&l({ok:!1,notice:[]}),f(pt=>T(v(v({},pt),vc.Validation.DataLeveling({min:de,max:xe,restrict:k,value:Te})),{eventType:"update",eventID:(0,Ja.UUID)()})),lt.preventDefault()}be&&be(lt),N&&Ft.SubmitForm(lt,L)},onChange:lt=>{let{value:Tt,selectionStart:wt,selectionEnd:Ze}=lt.target,Te=vc.Validation.DataLeveling({min:de,max:xe,restrict:k,value:Tt});p&&(Te.formatValue=Tt),Te.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(pt=>T(v(v({},pt),Te),{prevValue:s.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(wt),caretTo:Number(Ze)})),re&&re(lt))},width:1},Pe),{onFocus:lt=>{Pe!=null&&Pe.onFocus&&(Pe==null||Pe.onFocus(lt)),h(!0)},onBlur:lt=>{Pe!=null&&Pe.onBlur&&(Pe==null||Pe.onBlur(lt)),h(!1)},onCompositionStart:lt=>{Pe!=null&&Pe.onCompositionStart&&(Pe==null||Pe.onCompositionStart(lt)),m(!0)},onCompositionEnd:lt=>{if(Pe!=null&&Pe.onCompositionEnd&&(Pe==null||Pe.onCompositionEnd(lt)),k=="text")return;let Tt=vc.Validation.DataLeveling({min:de,max:xe,restrict:k,value:s.formatValue});f(wt=>T(v(v({},wt),Tt),{prevValue:wt.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(wt.formatValue.length+1),caretTo:Number(wt.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,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:M,maxRows:Y,multiline:O,autoHeight:j,enableFormSubmit:F,maxLength:Q,checkValidationAtFirst:N,onChange:te,onKeyDown:_e,onValidate:re,onUpdateValue:be,onUpdateValidValue:ye,value:ge="",leftIndicator:H,rightIndicator:le,leftIcon:fe,rightIcon:B,wrapStyles:W}=m,ne=Ge(m,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,sr.jsx)(X,T(v({htmlTag:"textarea","data-show-validation":Ft.isShowValidation(s,u,!!N),"data-input-origin":u.componentID,"data-component-id":u.componentID,value:u.dataValue,width:1},ne),{onFocus:ee=>{ne!=null&&ne.onFocus&&(ne==null||ne.onFocus(ee)),l(!0)},onBlur:ee=>{ne!=null&&ne.onBlur&&(ne==null||ne.onBlur(ee)),l(!1)},onKeyDown:ee=>{_e&&_e(ee),F&&Ft.SubmitForm(ee,w)},onChange:ee=>{let{value:de}=ee.target;s.ok&&f({ok:!1,notice:[]}),h(xe=>T(v({},xe),{dataValue:de,eventType:"update",eventID:(0,Ja.UUID)()})),te&&te(ee)}})):null}},v$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f}=r,[u,h]=(0,As.useState)(!1),[p,m]=(0,As.useState)(!1),[g,b]=(0,As.useState)(T(v({componentID:a},vc.Validation.DataLeveling({min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,Ja.UUID)(),caretFrom:null,caretTo:null})),[S,w]=(0,As.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:u,set_focus:h,val_isComposing:p,set_isComposing:m,val_status:g,set_status:b,val_validate:S,set_validate:w};return Ft.CommonEffects({type:"textfield",states:r,val_status:g,set_status:b,val_validate:S,set_validate:w,SystemValidation:vc.Validation.System,ExtraOverrideStates:v({},vc.Validation.DataLeveling({min:s,max:f,restrict:o,value:l}))}),(0,As.useEffect)(()=>{vc.setSelection({id:r.id,restrict:o,val_status:g})},[g]),(0,sr.jsxs)(Fa,{val_status:g,set_status:b,val_validate:S,states:k.rootStates,children:[(0,sr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||u||!!g.dataValue}),(0,sr.jsx)(sw.Shallow,v({},k)),(0,sr.jsx)(sw.InputBox,v({},k)),(0,sr.jsx)(sw.TextAreaBox,v({},k))]})},es=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,sr.jsx)(Ta,{componentID:r.componentID,children:v$,states:Vn(r)})),hn=es;hn.Validate=vc.Validation.Text,hn.Katakana=r=>(0,sr.jsx)(es,T(v({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),hn.HankakuKatakana=r=>(0,sr.jsx)(es,T(v({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),hn.CreditCard=r=>(0,sr.jsx)(es,T(v({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),hn.Tel=r=>(0,sr.jsx)(es,T(v({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),hn.Number=r=>(0,sr.jsx)(es,T(v({},r),{restrict:"number",multiline:!1,autoHeight:!1})),hn.DigitNumber=r=>(0,sr.jsx)(es,T(v({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),hn.Email=r=>(0,sr.jsx)(es,T(v({},r),{restrict:"email",multiline:!1,autoHeight:!1})),hn.Url=r=>(0,sr.jsx)(es,T(v({},r),{restrict:"url",multiline:!1,autoHeight:!1})),hn.Postal=r=>{let[a]=(0,As.useState)((0,Ja.UUID)());return(0,As.useEffect)(()=>()=>{Ja.useStore.delete(a)},[]),(0,sr.jsx)(es,T(v({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,sr.jsx)(Kd,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},hn.Password=r=>(0,sr.jsx)(es,T(v({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,sr.jsx)(Ba,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,sr.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,Ja.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,sr.jsx)(Ae,{icon:J7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),hn.Concealed=r=>(0,sr.jsx)(hn.Password,T(v({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),hn.Money={JPY:r=>(0,sr.jsx)(hn.DigitNumber,T(v({rightIcon:(0,sr.jsx)(Ba,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var Eg=K(Dt()),Z7=K(nr()),cw=K(fr());function _$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var g$=r=>{let a=r,{componentID:o,tone:l,required:s,form:f,value:u,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,children:k="",leftIndicator:L,rightIndicator:M,leftIcon:Y,rightIcon:O,freeCSS:j,wrapStyles:F}=a,Q=Ge(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[N,te]=(0,cw.useState)(Ft.DefaultStatus(o,u)),[_e,re]=(0,cw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"contenteditable",states:r,val_status:N,set_status:te,val_validate:_e,set_validate:re,SystemValidation:_$}),(0,Eg.jsx)(Fa,{val_status:N,set_status:te,val_validate:_e,states:r,children:(0,Eg.jsx)(X,T(v({contentEditable:!0,"data-show-validation":Ft.isShowValidation(_e,N,!!p),"data-component-id":N.componentID,onKeyDown:be=>{g&&g(be),h&&Ft.SubmitForm(be,f)},onInput:be=>{let ye=be.currentTarget,{innerHTML:ge,innerText:H}=ye;_e.ok&&re({ok:!1,notice:[]}),te(le=>T(v({},le),{dataValue:H,eventType:"update",eventID:(0,Z7.UUID)()})),m&&m(be)}},Q),{children:k}))})},eO=r=>{r=T(v({rows:5},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Vn(r);return(0,Eg.jsx)(Ta,{componentID:r.componentID,children:g$,states:a})};var _m=K(Dt()),uw=K(fr()),Jd=K(nr());function b$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:f}=o,u=[];return l&&!a&&u.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&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 y$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},tO=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},S$=r=>{let a=r,{tone:o,required:l,form:s,name:f,className:u="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",override:Y,freeCSS:O,wrapStyles:j,combineInput:F,componentID:Q,listStyles:N}=a,te=Ge(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[_e,re]=(0,uw.useState)(T(v({componentID:r.componentID||""},y$(h,M)),{eventType:"init",eventID:(0,Jd.UUID)()})),[be,ye]=(0,uw.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"textfield",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:b$});let ge=[];for(let H=0;H<h;H++){let le=_e.formatValue[H],fe={},B=u;r.combineInput&&(B=[u,Vd("DigitCharacterCell"),Vd("Combined")].join(" ")),ge.push((0,_m.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+_e.componentID,className:B,style:v(v({},r.style),fe),onKeyDown:W=>{let{key:ne,code:ee}=W;if(ne=="Tab")return;W.preventDefault();let de=null;if(ne=="Backspace"){let xe=_e.formatValue;xe[H]="",re(we=>T(v(v({},we),tO(xe)),{eventType:"update",eventID:(0,Jd.UUID)()})),de=H-1}else if(["ArrowLeft","ArrowRight"].includes(ne)){let xe=+(ne=="ArrowRight")*2-1;de=H+xe}else m&&Ft.SubmitForm(W,s),(()=>{let xe=ee.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!xe)return;let we=xe[2]||xe[3]||xe[4];if(p&&!we.match(/\d/)||!we)return;let Ye=_e.formatValue;Ye[H]=we,re($e=>T(v(v({},$e),tO(Ye)),{eventType:"update",eventID:(0,Jd.UUID)()})),de=H+1})();Jd.default.is.exist(de)&&_t("#Digit-"+de+"-"+_e.componentID).focus()},onChange:()=>{}},H))}return(0,_m.jsx)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:(0,_m.jsx)(At,T(v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},N),{children:ge}))})},rO=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=ko(Vn(r));return(0,_m.jsx)(Ta,{componentID:r.componentID,children:S$,states:a})};var ta=K(Dt()),mn=K(nr()),gm=K(nr()),Eo=K(fr());var SO=K(cO()),wO=K(_O());var cr=K(Dt()),Za=K(nr()),gc=K(fr());function w$(r){let{value:a,states:o}=r,{required:l,options:s}=o,f=[];return l&&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(l=>l.type!="label")),o}},vu={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,cr.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,cr.jsx)(Qt.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,cr.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(vu.LegacySelector,v({},r)),(0,cr.jsx)(vu.Original,v({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,cr.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,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:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,value:be="",options:ye,leftIndicator:ge,rightIndicator:H,leftIcon:le,rightIcon:fe,componentID:B,status_id:W,wrapStyles:ne,SelectedCellStyles:ee,SelectorCellStyles:de,SelectorMode:xe,SelectorStyles:we,SelectorPosition:Ye}=S,$e=Ge(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 Pe="select-click-"+a.componentID;if(g){if(!(0,Za.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,Za.default)(document).addEvent({eventID:Pe,eventType:"click",callback:et=>{let ut=(0,Za.default)(et.target),lt=!!(0,Za.default)(ut).parent("."+El("Core")).length;(0,Za.default)(ut).parent("."+El("Selector")).length||lt||b(!1)}})}else(0,Za.default)(document).removeEvent([Pe])},[g]),(0,gc.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!g)return;let Pe=(0,Za.default)('[data-input-origin="'+a.componentID+'"]');Pe&&Pe.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,cr.jsxs)(cr.Fragment,{children:[(0,cr.jsx)(X,T(v({tabIndex:0},$e),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(u,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,El("Core")].join(" "),onFocus:Pe=>{if($e!=null&&$e.onFocus&&($e==null||$e.onFocus(Pe)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:Pe=>{$e!=null&&$e.onClick&&($e==null||$e.onClick(Pe)),!a.disabled&&b(!0)},onKeyDown:Pe=>{let{key:et,metaKey:ut,ctrlKey:lt}=Pe,Tt=ut||lt;if($e!=null&&$e.onKeyDown&&($e==null||$e.onKeyDown(Pe)),F&&Ft.SubmitForm(Pe,L),!a.disabled){if(Za.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(et))return;if(Pe.preventDefault(),!g)return b(!0);let wt=et=="ArrowDown"?1:-1,Ze=pw.FilterSelectableOptions(r),Te=Ze.length-1,pt=null;Za.default.scope(()=>{var Lt,jt,Ut,ar,ur,Er,ra,jr,qr,Cr;let dr=Ze.findIndex(gr=>gr.value==s);if(wt==1){if(pt=(jt=(Lt=Ze[0])==null?void 0:Lt.value)!=null?jt:null,Tt){pt=(Ut=Ze[Te].value)!=null?Ut:null;return}if(dr==-1||dr==Te)return;pt=(ur=(ar=Ze[dr+1])==null?void 0:ar.value)!=null?ur:null}else{if(pt=(Er=Ze[Te].value)!=null?Er:null,Tt){pt=(jr=(ra=Ze[0])==null?void 0:ra.value)!=null?jr:null;return}if(dr==-1||dr==0)return;pt=(Cr=(qr=Ze[dr-1])==null?void 0:qr.value)!=null?Cr:null}}),f(pt)}),et=="Escape")b(!1);else if(et=="Tab")b(!1);else if(et=="Backspace")m(wt=>T(v({},wt),{dataValue:null,eventType:"update",eventID:(0,Za.UUID)()}));else if(et==" ")Pe.preventDefault(),b(!0);else if(et=="Enter"){if(!g)return b(!0);Pe.preventDefault();let wt=a.options.find(Ze=>Ze.value==s);if(!wt)return;m(Ze=>T(v({},Ze),{dataValue:wt.value,eventType:"update",eventID:(0,Za.UUID)()})),b(!1)}}},children:(0,cr.jsxs)(mt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,cr.jsx)(vu.Placeholder,v({},r)),(0,cr.jsx)(vu.Selected,v({},r)),(0,cr.jsx)(wn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,cr.jsx)(vu.Selector,v({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,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:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,onKeyDown:be,onChange:ye,value:ge="",options:H,leftIndicator:le,rightIndicator:fe,leftIcon:B,rightIcon:W,componentID:ne,status_id:ee,wrapStyles:de,SelectedCellStyles:xe,SelectorCellStyles:we,SelectorMode:Ye,SelectorStyles:$e,SelectorPosition:Pe}=S,et=Ge(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,cr.jsxs)(X,T(v({htmlTag:"select",tabIndex:0},et),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(u,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,El("Core")].join(" "),onKeyDown:ut=>{be&&be(ut),F&&Ft.SubmitForm(ut,L)},onChange:ut=>{let{value:lt}=ut.target;u.ok&&h({ok:!1,notice:[]}),m(Tt=>T(v({},Tt),{dataValue:lt,eventType:"update",eventID:(0,Za.UUID)()})),ye&&ye(ut)},children:[!!Q&&(0,cr.jsx)("option",{value:"null",children:"\u9078\u629E"}),H.map(ut=>Za.default.is.nullish(ut.value)?null:(0,cr.jsx)("option",{value:ut.value,children:ut.label},String(ut.value)))]}))},Selector:r=>{var a;let o=[],l=pw.FilterSelectableOptions(r,!0),s=pw.FilterSelectableOptions(r);l.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,cr.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,Za.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,cr.jsxs)(mt.Left,{gap:"1/2",children:[b&&(0,cr.jsx)(Ae.Check,{fontColor:"theme"}),(0,cr.jsx)(Qt.Supplement,{transition:"short",flexSizing:0,children:u.label})]})}),String(m)));return}o.push((0,cr.jsx)(X,{children:u.label},(0,Za.UUID)()))}),s.length||(o=[(0,cr.jsx)(Qt.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,cr.jsx)(X,T(v({},f),{children:(0,cr.jsx)($t.Body,T(v({className:El("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,cr.jsx)(tr,{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(l=>Za.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,cr.jsx)(X,T(v({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,cr.jsx)(cr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,gc.useState)(Ft.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:l,set_status:s,val_validate:b,set_validate:S};return Ft.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:S,SystemValidation:w$}),(0,cr.jsxs)(Fa,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,cr.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,cr.jsx)(vu.Shallow,v({},w)),(0,cr.jsx)(vu.Button,v({},w))]})}},ts=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,cr.jsx)(Qt.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((l,s)=>{let{type:f,value:u}=l;o.options[s]=T(v({},l),{value:u,type:f||"selector"})}),Za.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,cr.jsx)(Ba,{ssSphere:2,children:(0,cr.jsx)(Ae.AngleDown,{})})),(0,cr.jsx)(Ta,{componentID:o.componentID,children:vu.Core,states:Vn(o)})};var je=K(Dt()),bO=K(fr()),Ar=K(nr()),bc=K(fr());var Oa=K(Dt()),rs=K(nr()),hw=K(fr());function C$(r){let{value:a,states:o}=r,{type:l,required:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.length;return s&&(p||l=="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 vf={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=rs.default.is.exist(a)?rs.default.flatArray(a):[],s=[];return l.forEach(f=>{o.findIndex(u=>rs.default.is.equal(u.value,f))!=-1&&s.push(f)}),(0,Oa.jsx)(vf.Core,T(v({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:f="",form:u,override:h,icon:p,iconType:m,iconSize:g,iconPosition:b,iconColor:S,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:M,onUpdateValue:Y,onUpdateValidValue:O,value:j,options:F,className:Q,cellStyles:N,cellClassName:te,cellCheckedStyles:_e,cellCheckedClassName:re,min:be,max:ye,hideInput:ge,freeCSS:H,wrapStyles:le}=a,fe=Ge(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)(Ft.DefaultStatus(f,j)),[ne,ee]=(0,hw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ne,set_validate:ee,SystemValidation:C$}),(0,Oa.jsx)(Fa,{val_status:B,set_status:W,val_validate:ne,states:r,children:(0,Oa.jsx)(vf.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:u,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:S,form:w,tabIndex:k,hideInput:L,disabled:M,className:Y,cellStyles:O,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Q="",enableFormSubmit:N}=a,{dataValue:te}=o,_e=a.CustomIcon,re=b.map((be,ye)=>{let ge=be,{value:H,label:le,disabled:fe,className:B="",checkedStyles:W,checkedClassName:ne="",freeCSS:ee}=ge,de=Ge(ge,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),xe=(0,rs.UUID)(),we=te.findIndex(ut=>ut===H)!=-1,Ye=v(v({},O),de),$e=[cf("Label"),j,B];we&&(Ye=T(v(v(v({},Ye),F),W),{freeCSS:v(v(v({},Ye==null?void 0:Ye.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),$e=[...$e,Q,ne]);let Pe=()=>{if(M||fe)return;let ut=[];if(f=="radio")ut=[H];else if(f=="checkbox"||g)if(!we)ut=[...o.dataValue,H];else{let lt=[...o.dataValue];lt.splice(o.dataValue.findIndex(Tt=>Tt==H),1),ut=lt}l(lt=>T(v({},lt),{dataValue:ut,eventType:"update",eventID:(0,rs.UUID)()}))},et=[(0,Oa.jsx)(wn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:rs.default.is.string(le)?(0,Oa.jsx)(X,{children:le}):le},"content")];return h&&et[a.iconPosition=="right"?"push":"unshift"]((0,Oa.jsx)(_e,{isChecked:we,iconSize:p,iconColor:m,toggle:Pe},"icon")),[(0,Oa.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:cf("Input"),name:"RadioCheckbox-"+S,"data-list-index":s+"-"+ye,id:xe,value:String(H),disabled:M||fe,checked:we,onFocus:ut=>{fe||f=="radio"&&(o.dataValue.length||l(lt=>T(v({},lt),{dataValue:[H],eventType:"update",eventID:(0,rs.UUID)()})))},onChange:()=>{Pe()},onKeyDown:ut=>{let{key:lt,shiftKey:Tt}=ut;if((f=="checkbox"||r.rootStates.isChecker)&<!="Tab"&<.match(/Arrow/)){ut.preventDefault();let wt=["ArrowLeft","ArrowUp"].includes(lt)?-1:1,Ze=ye+wt;Ze<0?Ze=b.length-1:Ze>=b.length&&(Ze=0),_t(`input[data-list-index="${s}-${Ze}"]`).focus()}N&&Ft.SubmitForm(ut,w)},tabIndex:k},"List-"+rs.default.Stringify(H)),(0,Oa.jsx)(X,T(v({htmlTag:"label","data-disabled":M||fe,htmlFor:xe,className:$e.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Ye),{children:et}),"ListTrigger-"+rs.default.Stringify(H))]});return(0,Oa.jsx)(At,{flexSizing:"auto",style:a.style,freeCSS:v({},a.freeCSS),className:[Y,cf("CellBase"),cf("HideInput_"+L),cf("IconIndicator_"+!!h),cf("Tone_"+u)].join(" "),children:re})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Oa.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,Oa.jsx)(vf._Icon,T(v({type:"radio"},r),{children:(0,Oa.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,Oa.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,Oa.jsx)(vf._Icon,T(v({type:"checkbox"},r),{children:(0,Oa.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,Oa.jsx)(Ae.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=l=>(l=T(v({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:v({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=vf.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=vf.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=v({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=v({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=v({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=ko(l),(0,Oa.jsx)(Ta,{componentID:l.componentID,children:vf.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Oa.jsx)(a,v({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Oa.jsx)(a,v({type:r,tone:"border"},l)),o.Cloud=l=>(0,Oa.jsx)(a,v({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Oa.jsx)(a,v({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Oa.jsx)(a,v({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},_f=mw("radio"),Rg=mw("checkbox"),gO=mw();var vw=r=>{var a,o;let l=[],s=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=s;u<=f;u++)l.unshift({value:u,label:[u,...Ar.default.transformer.wareki(u).value].join(" -")});return l},yO=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=v({},r),r.sheetID=r.sheetID||(0,Ar.UUID)();let s=(0,bc.useRef)(!1),[f,u]=(0,bc.useState)((()=>{var p,m;if(a=="clock"){let g=String(l).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(l))==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(l).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(l).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(l))==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(s.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 s.current=!0},[f]);let h=T(v({},r),{val_value:f,set_value:u});return(0,je.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,je.jsx)(X,{className:ka(a.toCapital()+"Base"),children:a=="clock"?(0,je.jsx)(qa.Clock.index,v({},h)):a=="date"?(0,je.jsx)(qa.Date.index,v({},h)):a=="week"?"":a=="month"?(0,je.jsx)(qa.Month.index,v({},h)):a=="year"?(0,je.jsx)(qa.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,je.jsx)(qa.DateWareki.index,v({},h)):(0,je.jsx)(je.Fragment,{})})})},qa={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,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,je.jsxs)(tr,{padding:1,children:[(0,je.jsxs)(At,{flexType:"row",flexWrap:!1,gap:1,className:ka("Body"),children:[(0,je.jsxs)(tr,{className:ka("DesignSide"),flexSizing:0,children:[(0,je.jsx)(X,{className:ka("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,je.jsxs)(X,{className:ka("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,je.jsx)(_f,{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,je.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,je.jsx)(_f,{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,je.jsxs)(tr,{children:[(0,je.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,je.jsxs)(At,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,je.jsx)(tr,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:qa.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,je.jsx)(tr,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:qa.Clock.Minutes({onClick:w=>{u({modifiedType:"update",hour:f.hour,minutes:w})},min:a,max:o,unit:m})})]})]})]}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let f=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(s=!0),r.max){let u=Number(String(r.max).replace(/\D/ig,""));f>u&&(s=!0)}}a.push((0,je.jsx)(nt.Normal,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,je.jsx)(nt.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(l)},children:l.zeroEmbed(2)},l))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p,date:m}=f;return(0,je.jsxs)(tr,{padding:1,children:[(0,je.jsxs)(mt.Separate,{flexWrap:!0,children:[(0,je.jsxs)(At,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,je.jsx)(ts,{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,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.AngleDown,{})})}),(0,je.jsx)(ts,{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,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.AngleDown,{})}),onUpdateValidValue:g=>{u({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,je.jsx)(qa.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,je.jsx)(X,{borderTop:!0}),(0,je.jsx)(X,{children:qa.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,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:f,callback:u}=r,h=(0,Ar.Time)(),p=(0,Ar.Time)([l,s.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 M=0;M<7;M++)b.push((0,je.jsx)(X,T(v({className:[ka("CalendarDay"),ka("Legend")].join(" ")},L),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)S.unshift((0,bO.createElement)(X,T(v({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{key:M}),g-M));for(var M=1;M<=m.date;M++){let O=M,j=l==h.year&&s==h.month&&M==h.date,F=!1;{let Q=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Q&&(F=!0),r.max){let N=Number(String(r.max).replace(/\D/ig,""));Q>N&&(F=!0)}}w.push((0,je.jsx)(nt.Clear,T(v({className:[ka("CalendarDay"),ka("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{u([l,s,O])},tabIndex:-1,isLocked:F,children:M}),O))}for(var M=1;M<7-m.weekday;M++)k.push((0,je.jsx)(X,T(v({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{children:M}),M));return(0,je.jsxs)(Yd,{gridCols:7,gap:"1/6",children:[b,S,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h,month:p}=f;return(0,je.jsxs)(tr,{padding:1,children:[(0,je.jsxs)(mt.Separate,{gap:0,children:[(0,je.jsx)(mt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,je.jsx)(ts,{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,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.AngleDown,{})}),onUpdateValidValue:m=>{u({modifiedType:"update",year:Number(m),month:p})}})}),(0,je.jsx)(qa.Variables.ShiftButtons,{callback:m=>{let g=Math.min(Math.max(h+m,1900),2100);u({modifiedType:"update",year:g,month:p})}})]}),(0,je.jsx)(X,{borderTop:!0}),qa.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[g,b]=m;u({modifiedType:"update",year:g,month:b})}}),(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Ar.Time)(),s=[];for(let f=1;f<=12;f++){let u=a==l.year&&f==l.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=[ka("Cell"),u?ka("isThisMonth"):""].join(" ");s.push((0,je.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,je.jsx)(Yd,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:u}=r,{year:h}=f;return(0,je.jsxs)(tr,{padding:1,children:[(0,je.jsx)(ts,{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,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{u({modifiedType:"update",year:Number(h||(0,Ar.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,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,je.jsxs)(X,{children:[(0,je.jsxs)(mt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,je.jsx)(qa.DateWareki.EraSelect,v({},b)),(0,je.jsx)(X,{borderRight:!0}),(0,je.jsx)(qa.DateWareki.Calendar,v({},b))]}),(0,je.jsx)(mt.Right,{padding:1,children:(0,je.jsx)(qa.Variables.Footer,{sheetID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,je.jsxs)(tr,{padding:1,gap:0,children:[(0,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,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,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,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,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,je.jsx)(nt.Clear,T(v({color:"cloud"},l),{isActiveStyles:s,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,l=[];if(a.era=="year"){let s=(0,Ar.Time)().year+10;for(let f=1900;f<s;f++)l.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Ar.Time)().year-2018;for(let f=1;f<=s+10;f++)l.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,je.jsxs)(tr,{padding:1,children:[(0,je.jsxs)(mt.Separate,{children:[(0,je.jsx)(ts,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:s=>{o(f=>T(v({},f),{modifiedType:"update",year:Number(s)}))}}),(0,je.jsxs)(mt.Center,{gap:"1/3",children:[(0,je.jsx)(ts,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ae.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:s=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,je.jsx)(nt.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month-1;o({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,je.jsx)(Ae.ChevronLeft,{})}),(0,je.jsx)(nt.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month+1;o({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,je.jsx)(Ae.ChevronRight,{})})]})]}),(0,je.jsx)(qa.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Ar.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,f=l.getLastDayOfTheMonth(),u=[];for(let p=0;p<7;p++)u.push((0,je.jsx)(Qt.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<s;p++){let m=(0,Ar.Time)(l).getFirstDayOfTheMonth().addDate(p-s);u.push((0,je.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)(l).setDate(p),g=h.diff(m).dates==0;u.push((0,je.jsx)(nt.Clear,{ssSquare:3,fontColor:"2.normal",className:[ka("CalendarDay"),ka("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)(l).addMonth(1).setDate(1).addDate(p);u.push((0,je.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,je.jsx)(Yd,{gridCols:7,gap:"1/4",children:u})}},Variables:{Footer:r=>(0,je.jsxs)(At,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,je.jsxs)(nt.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,je.jsx)(Ae.Times,{})," \u524A\u9664"]}),(0,je.jsx)(nt.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),$t.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,je.jsxs)(At,{gap:"1/3",flexWrap:!1,children:[(0,je.jsx)(nt.Clear,T(v({className:ka("LeftButton"),tabIndex:-1,right:0},qa.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,je.jsx)(Ae.ChevronLeft,{})})),(0,je.jsx)(nt.Clear,T(v({className:ka("RightButton"),tabIndex:-1,left:0},qa.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,je.jsx)(Ae.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var bf=" ~ ",k$={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+bf.length,length:4},{type:"month",from:15+bf.length,length:2},{type:"date",from:18+bf.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+bf.length,length:4},{type:"month",from:13+bf.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}},gf={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=mn.default.flatArray(o||""),{defaultValue:f,format:u,ranges:h,sets:p}=k$[a],m=[],g=a=="clock"?":":"/";for(let b=0;b<s.length;b++)s[b]=String(s[b]).replace(/\D/ig,g);for(let b=0;b<p;b++){let S=s[b]||"";if(!S.match(u))s[b]="",m.push(f);else{let w=f;S.split(/\D/).forEach((k,L)=>{if(L==0&&a=="dateWareki"){let M=Number(k);l!="year"&&(M>=2019?l=="reiwa"?M-=2018:l=="heisei"&&(M=31):M>=1989?l=="heisei"?M-=1988:l=="shouwa"&&(M=64):M>=1926?l=="shouwa"?M-=1925:l=="taisho"&&(M=15):M>=1912?l=="taisho"?M-=1911:l=="meiji"&&(M=45):M>=1868&&(M-=1867)),k=M.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(w)}}return{formatValue:m.join(bf),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,u=[],h=mn.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=gm.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=gm.Time(b+"/01/01").weekday,k=gm.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:gm.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(l&&Number(String(l).replace(/\D/ig,""))>b&&(p.prohibited=!0),s){let S=Number(String(s).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"}),"[",l||"\u4E0B\u9650\u7121\u3057","] ~ [",s||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!u.filter(({type:m})=>m=="invalid").length,notice:u}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:f,val_focus:u,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:g,metaKey:b}=l,S=g||b,{selectionStart:w,selectionEnd:k}=l.target,{index:L,prevIndex:M}=u,{ranges:Y,formatValue:O}=s,j=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Q=+!m*2-1;if(F=u.index+Q,F<0||F>j)return}else{let Q=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||w==0&&k==String(s.formatValue).length?F=Q==1?j:0:F=Math.max(0,Math.min(L+Q,j))}h(Q=>T(v({},Q),{index:F,prevIndex:L})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=L;F=Math.max(F,0),F=Math.min(F,j);let{type:Q,from:N,length:te}=Y[F],_e=O.slice(N,N+te),re;if(p=="Backspace")re="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let be=p=="ArrowUp"?1:-1;_e=_e|0,re=_e+be;let[ye,ge,H]=Q=="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]:Q=="minute"?[0,59,2]:Q=="hour"?[0,23,2]:Q=="date"?[1,31,2]:Q=="week"?[1,53,2]:Q=="month"?[1,12,2]:Q=="year"?[0,2999,4]:[0,0,0];re>ge?re=ye:re<ye&&(re=ge),re=Number(re).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let be=_e|0,ye=p,ge=`${be}${ye}`;if(M!=L&&(be=0,ge="0"+ye),Q=="year"||Q=="dateWareki"&&a=="year")Number(ge)>1e4?re=ye:re=ge,(re|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Q)||Q=="dateWareki"&&a!="year"){let H=Q=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Q=="minute"?59:Q=="hour"?23:Q=="date"?31:Q=="week"?53:Q=="month"?12:0;re=(ge|0)>H?ye:ge,(Number(ye)>Number(String(H)[0])||_e=="0000".slice(0,String(H).length)&&(ge!="0000".slice(0,String(H).length)||["minute","hour"].includes(Q)&&M==L)||(ge|0)>=c5(10,String(H).length-1))&&F++}Q=="year"||Q=="dateWareki"?re=(re|0).zeroEmbed(4):re=(re|0).zeroEmbed(2)}{let be=String(O).partReplace(N,String(re)),ye=be.split(bf).map(ge=>ge.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ge=ye[0].split(/\D/),[H,le,fe]=ge;ge.length==3&&H&&(ye=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ge=>T(v({},ge),{dataValue:["dates","months"].includes(o)?ye:ye[0],formatValue:be,eventType:"update",eventID:(0,mn.UUID)()})),h(ge=>T(v({},ge),{index:F,prevIndex:ge.index}))}}}},CO={picker:{launch:r=>{let a=r.sheetID||(0,mn.UUID)(),o=r,{onValueUpdate:l,min:s,max:f,era:u,restrict:h,defaultValue:p}=o,m=Ge(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);$t.open(T(v({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(mt.Center,{children:(0,ta.jsx)(yO,{restrict:h,min:s,max:f,era:u,defaultValue:p,sheetID:a,onValueUpdate:(g,b)=>{l(g,b)}})})}))},remove:r=>{Na.close(r)}}},T$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(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)(Qt.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),children:(0,ta.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},E$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:f,era:u,form:h,name:p,min:m,max:g,className:b,enableFormSubmit:S,checkValidationAtFirst:w,onKeyDown:k,onValidate:L,onUpdateValue:M,onUpdateValidValue:Y,value:O="",leftIndicator:j,rightIndicator:F,leftIcon:Q,rightIcon:N,freeCSS:te,wrapStyles:_e}=a,re=Ge(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[be,ye]=(0,Eo.useState)(u),[ge,H]=(0,Eo.useState)(T(v({componentID:r.componentID||""},gf.DataLeveling({restrict:s,value:O,era:be})),{eventType:"init",eventID:(0,mn.UUID)()})),[le,fe]=(0,Eo.useState)({ok:!1,notice:[]}),[B,W]=(0,Eo.useState)({active:!1,index:0,prevIndex:-1}),ne={rootStates:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,val_era:be,set_era:ye,val_focus:B,set_focus:W};Ft.CommonEffects({type:"time",states:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,SystemValidation:gf.SystemValidation,ExtraOverrideStates:v({},gf.DataLeveling({restrict:s,value:O,era:be}))});let ee=(0,Eo.useRef)(!1);return(0,Eo.useEffect)(()=>{if(ee.current){H(xe=>v(v({},xe),gf.DataLeveling({restrict:s,value:xe.dataValue,era:be})));let de=mn.useStore.get("refreshEra_"+ge.componentID);de&&de.refreshEra(be)}else ee.current=!0},[be]),mn.useStore.update({[ge.componentID]:{openPicker:de=>{r.disabled||CO.picker.launch({parent:de,sheetID:"PickerTips-"+ge.componentID,restrict:s,min:m,max:g,defaultValue:ge.dataValue,era:be,onValueUpdate:(xe,we)=>{H(Ye=>T(v(v({},Ye),gf.DataLeveling({restrict:s,value:xe,era:we})),{eventType:"update",eventID:(0,mn.UUID)()})),ye(we)}})},resetEra:de=>{ye(de),H(xe=>T(v(v({},xe),gf.DataLeveling({restrict:s,value:"",era:be})),{eventType:"update",eventID:(0,mn.UUID)()}))}}}),(0,Eo.useEffect)(()=>{let{index:de,active:xe}=B;if(xe){de=Math.max(de,0),de=Math.min(de,ge.ranges.length-1);let{from:we,length:Ye}=ge.ranges[de],$e=_t("#"+r.id)[0];$e&&$e.setSelectionRange(we,we+Ye)}},[B]),(0,ta.jsxs)(Fa,{val_status:ge,set_status:H,val_validate:le,states:r,children:[(0,ta.jsx)(T$.Shallow,v({},ne)),(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":Ft.isShowValidation(le,ge,!!w),"data-component-id":ge.componentID,"data-input-origin":ge.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},re),{children:ge.formatValue,onClick:de=>{let xe=mn.useStore.get(ge.componentID);xe&&xe.openPicker(`[data-input-origin="${ge.componentID}"]`),de.stopPropagation()}})):(0,ta.jsx)(X,v({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Ft.isShowValidation(le,ge,!!w),"data-input-origin":ge.componentID,"data-disabled":r.disabled,value:ge.formatValue,className:b,tabIndex:ht.get().isTouchDevice?-1:0,onKeyDown:de=>{gf.KeyDownEvent({restrict:s,event:de,val_era:be,val_status:ge,set_status:H,val_focus:B,set_focus:W}),k&&k(de),S&&Ft.SubmitForm(de,h)},onKeyUp:de=>{de.key=="Tab"&&W(xe=>T(v({},xe),{active:!0}))},onClick:de=>{let xe=de.target.selectionEnd,we=0;ge.ranges.forEach((Ye,$e)=>{let{from:Pe,length:et,region:ut}=Ye;Pe<=xe&&xe<=Pe+(ut||et)&&(we=$e)}),W(Ye=>T(v({},Ye),{active:!0,index:we})),de.preventDefault()},onChange:()=>{}},re))]})},Ls={Origin:r=>{let a=v({fontSize:"inherit",width:1},r),[o]=(0,Eo.useState)(r.componentID||(0,mn.UUID)());if(a.componentID=o,mn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?SO.faClock:wO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(Ba,{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 s=mn.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ta.jsx)(Ae,{icon:l})})})}return(0,ta.jsx)(Ta,{componentID:a.componentID,children:E$,states:Vn(a)})},Clock:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"date"},r)),Week:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"week"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"month"},r)),Year:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Eo.useState)(r.componentID||(0,mn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Eo.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,Eo.useEffect)(()=>{mn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{s(f)}}})},[]),(0,ta.jsx)(Ls.Origin,T(v({restrict:"dateWareki",leftIndicator:(0,ta.jsx)(ts,{label:"\u5143\u53F7",emptySelect:!1,value:l,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=>{s(f);let u=mn.useStore.get(r.componentID);u&&u.resetEra&&u.resetEra(f)}})},r),{era:l}))},Periods:{Date:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"dates"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,v({restrict:"months"},r))},fn:CO};var Jt=K(Dt()),ja=K(fr()),zr=K(nr());var wf=K(Dt()),tp=K(nr());var yf=K(Dt()),Dg=K(nr());var Sf=K(fr());var Zd=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:f=""}=a,u=Ge(a,["color","size","showInitial","loaderID"]),[h]=(0,Sf.useState)(f),[p]=(0,Sf.useState)((0,Dg.UUID)()),[m,g]=(0,Sf.useState)(s),b=0;l=="S"?b=1:l=="R"?b=1.5:l=="L"?b=3:l=="XL"?b=4:l=="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,Sf.useEffect)(()=>{let w=_t('[data-component-id="'+p+'"]');m?w.removeClass(xa("Hide")).await(10).addClass(xa("Active")):w.removeClass(xa("Active")).await(210).addClass(xa("Hide"))},[m]),(0,Sf.useEffect)(()=>{Dg.useStore.set({[p]:{active:w=>{h==w&&g(!0)},stop:w=>{h==w&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,yf.jsxs)(mt.Center,T(v({className:[xa("MiniLoader"),xa(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},u),{children:[(0,yf.jsx)("svg",{className:xa("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,yf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,yf.jsx)("svg",{className:xa("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,yf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Nl=K(Dt()),xO=K(nr());var Ag=K(fr());var kO=()=>{let[r,a]=(0,Ag.useState)(!1);return(0,Ag.useEffect)(()=>{xO.useStore.set({["Loader-corner-"+ht.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Nl.jsxs)(At,{className:[xa("CornerLoader"),r?xa("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"2/3",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",left:"50%",top:1,opacity:"trans",transition:"short",isRounded:!0,freeCSS:{zIndex:10,pointerEvents:"none",transform:"translateX(-50%)"},children:[(0,Nl.jsxs)(At,{className:xa("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Nl.jsx)(X,{className:xa("Ld4")}),(0,Nl.jsx)(X,{className:xa("Ld3")}),(0,Nl.jsx)(X,{className:xa("Ld2")}),(0,Nl.jsx)(X,{className:xa("Ld1")}),(0,Nl.jsx)(X,{className:xa("Ld2")}),(0,Nl.jsx)(X,{className:xa("Ld3")}),(0,Nl.jsx)(X,{className:xa("Ld4")})]}),(0,Nl.jsx)(X,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var ep=r=>{let a=r.color;return{S:o=>(0,wf.jsx)(Zd,v({size:"S",color:a},o)),R:o=>(0,wf.jsx)(Zd,v({size:"R",color:a},o)),L:o=>(0,wf.jsx)(Zd,v({size:"L",color:a},o)),XL:o=>(0,wf.jsx)(Zd,v({size:"XL",color:a},o)),MAX:o=>(0,wf.jsx)(Zd,v({size:"MAX",color:a},o))}},Ro={Wrapper:()=>(0,wf.jsx)(kO,{}),Theme:ep({color:"theme"}),Posi:ep({color:"posi"}),Nega:ep({color:"nega"}),Warn:ep({color:"warn"}),White:ep({color:"white"}),Cloud:ep({color:"cloud"}),fn:{corner:{active:()=>{let r=tp.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=tp.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{_t("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=tp.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{_t("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=tp.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{_t("."+xa("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=tp.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Ro.fn.corner.stop(),Ro.fn.mini.stopALL()}}};function R$(r){let{value:a,states:o}=r,{required:l,options:s,min:f,max:u}=o;f=f||0,u=u||65535;let h=[],p=a.filter(m=>m!==null).length;return l&&(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 rp={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:f,searchValue:u}=o,h=u||(zr.default.is.string(s)?s:"")||(zr.default.is.string(f)?f:"");a.push(T(v({},o),{searchValue:h,type:l||"selector",value:f}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(l=>l.type!="label")),r.val_keyword){let l=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(s=>(s.searchValue||"").toLower().replace(/ /g,"").includes(l))}return o}},ap={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Ll(a);return(0,Jt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Jt.jsx)(Qt.Description,T(v({className:a.className},l),{position:"absolute",width:1,freeCSS:T(v({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Jt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,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:M,set_validate:Y}=r,O=a,{tone:j,required:F,form:Q,className:N,multiSelect:te,enableFormSubmit:_e,checkValidationAtFirst:re,onValidate:be,onUpdateValue:ye,onUpdateValidValue:ge,value:H="",options:le,leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,componentID:ee,status_id:de,wrapStyles:xe,emptySelect:we,SearchInput:Ye,SearchInputPlaceholder:$e,SelectedComponent:Pe,SelectorComponent:et,SelectorStyles:ut,SelectorPosition:lt,DynamicOptionsOnSearch:Tt}=O,wt=Ge(O,["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,ja.useEffect)(()=>{var Ze,Te;if(a.disabled||!S)return;let pt=rp.FilterSelectableOptions(r);f((Te=(Ze=pt[0])==null?void 0:Ze.value)!=null?Te:null)},[o]),(0,ja.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let Ze=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');Ze&&Ze.focus()},10)):(0,zr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,ja.useEffect)(()=>{let Ze="autocomplete-click-"+a.componentID;if(S){if(!(0,zr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,zr.default)("#SearchInput_"+a.componentID).focus(),(0,zr.default)(document).addEvent({eventID:Ze,eventType:"mousedown",callback:Te=>{let pt=(0,zr.default)(Te.target),Lt=!!(0,zr.default)(pt).parent("."+El("Core")).length;(0,zr.default)(pt).parent("."+El("Selector")).length||Lt||w(!1)}})}else(0,zr.default)(document).removeEvent([Ze]),l("")},[S]),(0,Jt.jsxs)(Jt.Fragment,{children:[(0,Jt.jsx)(X,T(v({tabIndex:0},wt),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(M,k,!!re),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[N,El("Core")].join(" "),onFocus:Ze=>{if(wt!=null&&wt.onFocus&&(wt==null||wt.onFocus(Ze)),!a.disabled){if(g)return b(!1);w(!0),Ze.preventDefault()}},onClick:Ze=>{wt!=null&&wt.onClick&&(wt==null||wt.onClick(Ze)),!a.disabled&&w(!0)},onKeyDown:Ze=>{let{key:Te}=Ze;_e&&Ft.SubmitForm(Ze,Q),!S&&(Te==" "||Te=="ArrowDown"||Te=="ArrowUp"||Te=="Enter")&&w(!0)},children:(0,Jt.jsxs)(mt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Jt.jsx)(ap.Selected,v({},r)),(0,Jt.jsx)(wn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Jt.jsx)(ap.SearchInput,v({},r))]})})),S&&(0,Jt.jsx)(ap.Selector,v({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,ja.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Jt.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:s=>{a.onCompositionStart&&a.onCompositionStart(s),l(!0)},onCompositionEnd:s=>{a.onCompositionEnd&&a.onCompositionEnd(s),l(!1)},onKeyDown:s=>{let{key:f,metaKey:u,ctrlKey:h}=s,p=u||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?zr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?zr.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,zr.UUID)()}))}):f=="Enter"&&zr.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 zr.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,zr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),zr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,g=rp.FilterSelectableOptions(r),b=g.length-1,S=null;zr.default.scope(()=>{var w,k,L,M,Y,O,j,F,Q,N;let te=g.findIndex(_e=>_e.value==r.val_optionFocused);if(te==-1&&(te=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(te==-1||te==b)return;S=(Y=(M=g[te+1])==null?void 0:M.value)!=null?Y:null}else{if(S=(O=g[b].value)!=null?O:null,p){S=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;S=(N=(Q=g[te-1])==null?void 0:Q.value)!=null?N:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&Ft.SubmitForm(s,r.rootStates.form)},onChange:s=>{let f=s.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,ja.useState)("idle"),[s,f]=(0,ja.useState)("idle");(0,ja.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");f("fetch");let g="autocomplete-search-"+r.rootStates.componentID;zr.default.interval.once(()=>Da(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let S=rp.InitOptions(b||[]);r.set_options(S)}),300,g)},[r.val_keyword]);let u=[],h=rp.FilterSelectableOptions(r,!0),p=rp.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:S,value:w}=g,k=r.val_optionFocused==w,L=r.val_status.dataValue.includes(w),M=r.rootStates.SelectorComponent;u.push((0,Jt.jsx)(M,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let O=[...Y.dataValue];return zr.default.scope(()=>{if(w===null)return O=[];Y.dataValue.includes(w)?O=O.filter(j=>j!==w):r.rootStates.multiSelect?O.push(w):O=[w]}),T(v({},Y),{dataValue:O,eventType:"update",eventID:(0,zr.UUID)()})})}},zr.default.Stringify(w)||(0,zr.UUID)()))}),p.length||(u=[(0,Jt.jsx)(Qt.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(u=[(0,Jt.jsxs)(mt.Left,{padding:1,fontColor:"3.blur",children:[(0,Jt.jsx)(Ro.Theme.R,{showInitial:!0}),(0,Jt.jsx)(Qt.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,Jt.jsx)(X,T(v({},m),{children:(0,Jt.jsx)($t.Body,T(v({className:El("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,Jt.jsx)(tr,{gap:"1/12",padding:[1,0],children:u})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,f=[];return o.dataValue.forEach(u=>{let h=s[zr.default.Stringify(u)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Jt.jsx)(X,{className:El("SelectedCell"),children:(0,Jt.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),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,zr.UUID)()}))}})},zr.default.Stringify(h.value)))}),(0,Jt.jsx)(Jt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,ja.useState)(!1),[f,u]=(0,ja.useState)(!1),[h,p]=(0,ja.useState)(!1),[m,g]=(0,ja.useState)(""),[b,S]=(0,ja.useState)(r.options),[w,k]=(0,ja.useState)((a=r.value[0])!=null?a:null),[L,M]=(0,ja.useState)({}),[Y,O]=(0,ja.useState)(Ft.DefaultStatus(r.componentID,o)),[j,F]=(0,ja.useState)({ok:!1,notice:[]}),Q=(0,ja.useRef)(!1);(0,ja.useEffect)(()=>{Q.current?S(r.options):Q.current=!0},[r.options]),(0,ja.useEffect)(()=>{if(!b.length)return;let re=[...b],be=v({},L);re.forEach(ye=>{ye.type!="label"&&(be[zr.default.Stringify(ye.value)]=ye)}),M(be)},[b]);let N={rootStates:r,val_options:b,set_options:S,val_optionFocused:w,set_optionFocused:k,val_optionsDict:L,set_optionsDict:M,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:u,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:g,val_status:Y,set_status:O,val_validate:j,set_validate:F},te=!!r.multiSelect;Ft.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:O,val_validate:j,set_validate:F,SystemValidation:R$});let _e=Y.dataValue.length&&Y.dataValue[0]!==null;return _e=_e||h,(0,Jt.jsxs)(Fa,{val_status:Y,set_status:O,val_validate:j,states:r,children:[(0,Jt.jsx)(mu,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:_e}),(0,Jt.jsx)(ap.Shallow,v({},N)),(0,Jt.jsx)(ap.Button,v({},N))]})}},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:l,isSelected:s,isFocused:f,addCallback:u})=>l.type=="selector"?(0,Jt.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,Jt.jsxs)(mt.Left,{gap:"1/2",children:[s&&(0,Jt.jsx)(Ae.Check,{fontColor:"theme"}),(0,Jt.jsx)(Qt.Supplement,{transition:"short",children:l.label})]})}):(0,Jt.jsx)(Jt.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:f})=>(0,Jt.jsxs)(mt.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Jt.jsx)(X,{padding:[0,"1/4"],children:s}),(0,Jt.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,Jt.jsx)(Ae.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,Jt.jsx)(Qt.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=zr.default.flatArray((a=o.value)!=null?a:null),o.options=rp.InitOptions(o.options),zr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Jt.jsx)(Ba,{ssSphere:2,children:(0,Jt.jsx)(Ae.Search,{})}),o.disabled&&(o.rightIcon=(0,Jt.jsx)(Ba,{ssSphere:2,fontColor:"5.translucent",children:(0,Jt.jsx)(Ae.Ban,{})}))),o.rightIcon&&(o=v({paddingRight:3},o)),o.leftIcon&&(o=v({paddingLeft:3},o)),(0,Jt.jsx)(Ta,{componentID:o.componentID,children:ap.Core,states:Vn(o)})};var Cf=K(Dt());var TO=r=>(0,Cf.jsx)(Lg,v({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,Cf.jsx)(Cf.Fragment,{children:o}),rightIcon:(0,Cf.jsx)(Ba,{ssSphere:2,children:(0,Cf.jsx)(Ae.AngleDown,{})})},r));var wr=K(Dt()),xf=K(fr()),Ol=K(nr());var Do=K(Dt()),EO=K(fr()),ho=K(nr());var yc=K(fr());var as={add:function(r){let a=ho.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=ho.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=ho.useStore.get("Snackbar-"+ht.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Do.jsx)(RO.Wrapper,{})},RO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,ho.UUID)(),children:f,customChildren:u}=a,h=Ge(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,yc.useState)(s),[m,g]=(0,yc.useState)(r.secondsToClose||10);(0,yc.useEffect)(()=>{let S=_t('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(lm("FadeIn"))},10),ho.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(lm("FadeOut"))}}})},[]),(0,yc.useEffect)(()=>{ho.default.interval.once(()=>{m<=0||g(m-1)},1e3,"Snackbar-"+p),m===0&&as.remove(o)},[m]);let b=(0,Do.jsx)(Do.Fragment,{});return u?b=(0,Do.jsx)(u,{close:()=>{as.remove(o)}}):b=(0,Do.jsxs)(mt.Separate,{verticalAlign:"top",children:[(0,Do.jsx)(X,{padding:["1/4",0],flexSizing:0,children:ho.default.is.function(f)?(0,Do.jsx)(f,{}):f}),(0,Do.jsx)(nt.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{as.remove(o)},children:(0,Do.jsx)(Ae.Times,{})})]}),(0,Do.jsx)(X,T(v({className:lm("Cell"),componentID:p,onMouseOver:()=>{g(-1)},onMouseOut:()=>{g(l||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,ho.UUID)()),[o,l]=(0,yc.useState)([]);(0,yc.useEffect)(()=>{ho.useStore.set({["Snackbar-"+ht.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,ho.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,ho.UUID)())},remove:f=>{let u=ho.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),l(p)},210))},removeALL:()=>{l([])}}})},[o.length]);let s=o.map(f=>(0,EO.createElement)(RO.Cell,T(v({},f),{key:f.snackID})));return(0,Do.jsx)(At,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",lm("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:s})}};var IO=K(PO());function D$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var zO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((u,h)=>(0,wr.jsx)(zO.ListCell,T(v({},r),{index:h,val_file:u}),u.name));return s>0&&f.push((0,wr.jsx)(X,T(v({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,Jl("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)&&_t("#"+a.id).click()},children:(0,wr.jsxs)(mt.Center,{padding:["1/3",0],children:[(0,wr.jsx)(X,{isRounded:!0,className:Jl("AddIcon"),children:(0,wr.jsx)(Ae,{icon:IO.faCloudArrowUp,className:Jl("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,wr.jsxs)(X,{children:[(0,wr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,wr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,wr.jsx)(tr,T(v({flexSizing:"auto"},Ll(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:f}=r,{name:u,size:h,type:p}=l,[m,g]=(0,xf.useState)(!1),b=(0,Ol.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,xf.useEffect)(()=>{m&&setTimeout(()=>{_t("#"+b).focus()},100)},[m]),(0,wr.jsxs)(At,T(v({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,wr.jsx)(Ae.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,wr.jsxs)(X,{flexSizing:0,children:[(0,wr.jsx)(X,{children:(0,wr.jsx)(At,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:Jl("FileName"),children:m?(0,wr.jsx)(wr.Fragment,{children:(0,wr.jsxs)(tr,{flexSizing:0,gap:"1/2",children:[(0,wr.jsxs)(At,{gap:"2/3",verticalAlign:"center",children:[(0,wr.jsx)(hn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:w,onKeyDown:M=>{let{key:Y}=M;Y=="Escape"&&g(!1)}}),(0,wr.jsxs)(X,{children:[". ",k]})]}),(0,wr.jsxs)(At,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,wr.jsx)(nt.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,wr.jsx)(nt,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:M=>Da(void 0,null,function*(){let{name:Y}=M,O=[...s.dataValue],j=O[a],F=j.id;if(!j)return;let{target:Q}=yield j.convert();if(!Q)return;let N=yield String(Q.result).toBlob(l.type);if(!N)return;let te=new File([N],Y+"."+k,{type:j.type});te.id=F,O[a]=te,f(_e=>T(v({},_e),{dataValue:O,eventType:"update",eventID:(0,Ol.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,wr.jsxs)(wr.Fragment,{children:[u,!!o.isNameEditable&&(0,wr.jsx)(nt.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,wr.jsx)(Ae.Pen,{})})]})})}),!m&&(0,wr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,wr.jsx)(nt.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),f(Y=>T(v({},Y),{dataValue:M,eventType:"update",eventID:(0,Ol.UUID)()})))},children:(0,wr.jsx)(Ae.Times,{})})]}))}},A$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:f,useSystemOnly:u,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,value:k=[],className:L,cellStyles:M,cellClassName:Y,componentID:O,status_id:j,enableFormSubmit:F,freeCSS:Q,wrapStyles:N}=a,te=Ge(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[_e,re]=(0,xf.useState)(Ft.DefaultStatus(r.componentID||"",k)),[be,ye]=(0,xf.useState)({ok:!1,notice:[]}),ge={rootStates:r,val_status:_e,set_status:re};(0,xf.useEffect)(()=>{Ol.useStore.set({["AddFiles-"+_e.componentID]:le=>{re(fe=>{let B=fe.dataValue,W=[];for(var ne=0;ne<(le==null?void 0:le.length);ne++){let ee=le[ne],{type:de,name:xe}=ee;if(ne+1+B.length>p){as.add({componentID:xe,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${xe}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!de.match(/image/)){as.add({componentID:xe,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${xe} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(ee)}return T(v({},fe),{dataValue:[...B,...W],eventType:"update",eventID:(0,Ol.UUID)()})})}})},[]),Ft.CommonEffects({type:"file",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:D$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,wr.jsxs)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:[(0,wr.jsx)(X,T(v({htmlTag:"input",type:"file",className:Jl("Input"),"data-component-id":_e.componentID,accept:H,multiple:p!=1,onChange:le=>Da(void 0,null,function*(){g&&g(le);let fe=le.target,B=fe.files,W=[];for(var ne=0;ne<(B==null?void 0:B.length);ne++){let ee=B[ne],de=ee.name;if(ee.id=(0,Ol.UUID)(),ne+1+_e.dataValue.length>p){as.add({componentID:de,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${de}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(ee)}re(ee=>T(v({},ee),{dataValue:[...ee.dataValue,...W],eventType:"update",eventID:(0,Ol.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,wr.jsx)(zO.List,v({},ge))]})},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,wr.jsx)(Ta,{componentID:r.componentID,children:A$,states:r}));gw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=f=>{l(f.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Ol.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),_t("."+Jl("AddButton")).addClass(Jl("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),_t("."+Jl("AddButton")).removeClass(Jl("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(_t(o).hasClass(Jl("AddButton"))){let{componentId:l}=o.dataset,s=Ol.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var mo=K(Dt()),Ns=K(nr()),bm=K(fr());function L$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var FO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:f}=o;a=Math.max(a,l),a=Math.min(a,s);let u=a/s*s;return u=Math.round(u/f),{stepValue:u*f,stepIndex:u,positionLeft:u*f/s*100+"%"}},BO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:f}=r,u=[],h=Math.round(o/s),p=Math.round(l/s),m=p-h+1;for(var g=h;g<=p;g++){let b=g*s;b=Math.max(b,o),b=Math.min(b,l);let S=b/l*100+"%";u.push((0,mo.jsx)(X,{className:ks("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,bm.useEffect)(()=>{let b=()=>{let S=_t("#Labels-"+a),{width:w}=S.position(),k=Math.round(w/50)-1,L=Math.round(m/k);for(let M=h+1;M<p;M++)_t("#Legend-"+a+"-"+M).css({display:M%L==0?"flex":"none"})};return(0,Ns.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ns.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,mo.jsx)(At,{className:ks("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,mo.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:l,form:s,enableFormSubmit:f}=r,{componentID:u}=a;return(0,mo.jsxs)(At,{className:ks("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),np.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,mo.jsx)(X,{className:ks("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:u+"_Bar",children:(0,mo.jsx)(X,{className:ks("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:l.positionLeft},id:u+"_BarColor"})}),(0,mo.jsx)(X,{className:ks("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,mo.jsx)(nt.Plain,{className:ks("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},id:u+"_Ball",onKeyDown:h=>{np.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&Ft.SubmitForm(h,s)}})})]})}},np={Effects:{Start:(r,a)=>{(0,Ns.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{np.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{np.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{np.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{np.Effects.End()}})},Move:(r,a)=>{let o=Ns.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:f,min:u,max:h}=l,p=_t("#"+f+"_Ball"),m=_t("#"+f+"_Bar"),g=_t("#"+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=FO({value:k,val_status:l}),M=L.positionLeft,Y=L.stepValue;return p.css({left:M}),g.css({width:M}),s(O=>{let j=O.dataValue;return Y==j?O:T(v({},O),{dataValue:Y,eventType:"update",eventID:(0,Ns.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ns.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,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=s:b-=u:h.match(/Right|Down/)&&(g?b=f:b+=u),b=Math.max(Math.min(b,f),s),l(S=>T(v({},S),{dataValue:b,eventType:"update",eventID:(0,Ns.UUID)()})))}},N$=r=>{let a=r,{color:o="theme",required:l,form:s="",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:M="",className:Y,freeCSS:O,wrapStyles:j}=a,F=Ge(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[Q,N]=(0,bm.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:m,step:g,eventType:"init",eventID:(0,Ns.UUID)()}),[te,_e]=(0,bm.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"slider",states:r,val_status:Q,set_status:N,val_validate:te,set_validate:_e,SystemValidation:L$});let re=FO({value:Q.dataValue,val_status:Q});return(0,mo.jsx)(Fa,{val_status:Q,set_status:N,val_validate:te,states:r,children:(0,mo.jsxs)(tr,{gap:"1/2",flexSizing:"auto",className:[ks("Wrap"),Y,ks("ShowLegendsAlways_"+h)].join(" "),children:[(0,mo.jsx)(BO.Rail,{rootStates:r,color:o,val_status:Q,set_status:N,DotData:re,form:s,enableFormSubmit:b}),!!f&&(0,mo.jsx)(BO.IndicatorLabels,{componentID:Q.componentID,min:p,max:m,step:g,customLegends:u})]})})},jO=r=>{let a=v({},r);return(0,mo.jsx)(Ta,{componentID:r.componentID,children:N$,states:ko(a)})};var Ao=K(Dt()),bw=K(nr()),yw=K(fr());function O$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var M$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:f,id:u,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,size:k="regular",value:L="",icon:M="",isApply:Y=!1}=a,O=Ge(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)()}),[Q,N]=(0,yw.useState)({ok:!1,notice:[]}),te=!!j.dataValue;return Ft.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Q,set_validate:N,SystemValidation:O$}),(0,Ao.jsxs)(Fa,{val_status:j,set_status:F,val_validate:Q,states:r,children:[(0,Ao.jsx)(X,v({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:uf("Input"),id:u,onKeyDown:_e=>{g&&g(_e),h&&Ft.SubmitForm(_e,f)},onChange:_e=>{let{checked:re}=_e.target;Q.ok&&N({ok:!1,notice:[]}),F(be=>T(v({},be),{dataValue:re,eventType:"update",eventID:(0,bw.UUID)()})),m&&m(_e)}},O)),(0,Ao.jsx)(_g.Plain,{tabIndex:-1,htmlFor:u,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:uf("Label"),children:(0,Ao.jsx)(X,T(v({},Y?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.5"}:{}),{children:(0,Ao.jsxs)(mt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!Y&&(0,Ao.jsx)(X,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:uf("Bar"),freeCSS:{height:"40%"}}),(0,Ao.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&te?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:uf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Ao.jsx)(X,{transition:"middle",flexCenter:!0,fontColor:te?Y?l:"white":"6.clear",children:M})})]})}))})]})},Ng=r=>{let a=v({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Ao.jsx)(Ta,{componentID:a.componentID,children:M$,states:a})},ym=Ng;ym.S=r=>(0,Ao.jsx)(Ng,T(v({},r),{size:"small"})),ym.R=r=>(0,Ao.jsx)(Ng,T(v({},r),{size:"regular"})),ym.L=r=>(0,Ao.jsx)(Ng,T(v({},r),{size:"large"}));var HO=K(Dt());var UO=r=>(0,HO.jsx)(Rg,T(v({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Sc=K(Dt()),VO=K(nr()),Og=K(fr());var P$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:f,onUpdateValue:u,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:g,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:w,freeCSS:k,wrapStyles:L}=a,M=Ge(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,Og.useState)((0,VO.UUID)()),[O,j]=(0,Og.useState)(s),[F,Q]=(0,Og.useState)(O);return O!=s&&(j(s),Q(s)),(0,Sc.jsx)(_f,T(v({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:v({whiteSpace:"nowrap"},k),cellStyles:v({flexCenter:!0,ssEffectsOnActive:"push"},g),cellCheckedStyles:v({},w),cellClassName:[b,mg("Label"),mg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,mg("Checked")].join(" "),tone:"custom",onUpdateValue:u,onUpdateValidValue:(...N)=>{h&&h(...N),o=="bottomline"&&Q(N[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)(P$,v({__sys_segmented_type:"plain"},r))},ns=Mg;ns.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))},ns.CloudTheme=r=>{let a=v({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Sc.jsx)(ns.Cloud,v({},a))},ns.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)(ns.Cloud,v({},a))},ns.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))},ns.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)(ns.Border,v({},a))},ns.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(Dt()),WO=K(nr()),Sw=K(fr());function I$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var z$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:f,checkValidationAtFirst:u,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:g,onUpdateValidValue:b,value:S=""}=a,w=Ge(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,Sw.useState)(Ft.DefaultStatus(r.componentID||"",S)),[M,Y]=(0,Sw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:M,set_validate:Y,SystemValidation:I$}),(0,Pg.jsx)(Fa,{val_status:k,set_status:L,val_validate:M,states:r,children:(0,Pg.jsx)(X,v({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:uf("Input"),onKeyDown:O=>{p&&p(O),f&&Ft.SubmitForm(O,s)},onChange:O=>{let{value:j}=O.target;M.ok&&Y({ok:!1,notice:[]}),L(F=>T(v({},F),{dataValue:j,eventType:"update",eventID:(0,WO.UUID)()})),h&&h(O)}},w))})},qO=r=>{let a=T(v(T(v({},Vn(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:v({minWidth:108},r.freeCSS)});return(0,Pg.jsx)(Ta,{componentID:r.componentID,children:z$,states:a})};var os=K(nr()),YO=r=>Da(void 0,null,function*(){let a=1,o={};return yield os.default.scope(()=>Da(void 0,null,function*(){if(os.useStore.get("form-process-"+r))return;os.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=os.useStore.get(["form-data",r].join("-"));if(!s){os.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s)){if(!u)continue;let h=os.useStore.get(u.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=os.useStore.get(["form-data",r].join("-"));if(!s){os.useStore.set({["form-process-"+r]:!1});return}for(let[f,u]of Object.entries(s))u&&(a&=Number(u.validation),o[f]=u.value)}os.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var La;(r=>(r.Plain=F7,r.Hidden=W7,r.TextField=hn,r.Contenteditable=eO,r.DigitCharacters=rO,r.Time=Ls,r.Select=ts,r.Autocomplete=Lg,r.List=gO,r.Radio=_f,r.Checkbox=Rg,r.Checker=UO,r.Search=TO,r.Filer=gw,r.Slider=jO,r.Switch=ym,r.Segmented=ns,r.Color=qO,r.LeftIcon=Kd,r.RightIcon=Ba,r.LeftIndicator=wg,r.RightIndicator=Cg,r.RequiredSign=bg,r.RequiredShortSign=yg,r.OmitSign=Sg,r.CollectForm=YO))(La||(La={}));var GO=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,u=Ge(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,$O.useEffect)(()=>{f&&f()},[]),(0,Ig.jsx)(At,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)(La.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{s&&s(h)}})})}))};var _u=K(Dt());var Wr={Table:r=>(0,_u.jsx)(X,T(v({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,_u.jsx)(X,v({htmlTag:"thead"},r)),Body:r=>(0,_u.jsx)(X,v({htmlTag:"tbody"},r)),Row:r=>(0,_u.jsx)(X,v({htmlTag:"tr"},r)),TH:r=>(0,_u.jsx)(X,v({htmlTag:"th"},r)),TD:r=>(0,_u.jsx)(X,v({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,_u.jsx)(Ae.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Lo=K(Dt());var ww=K(Dt()),XO=K(nr());var KO=(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)},ll=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 op=r=>{let a=v({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=T(v({tableID:a.tableID||(0,XO.UUID)(),tone:a.tone},a),{cellStyles:v(v({},KO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=ko(l),{className:f,style:u}=s,h=Ge(s,["className","style"]),p=[f,Xt("Wrap"),Xt("TableType_"+a.type),Xt("RowClickable_"+!!l.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:l,colLength:s,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==s-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=ll(b),w=l?l(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,Lo.jsx)(g,v({},k),m))}),(0,Lo.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,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&&!s,bottom:g==f.length-1,left:w==0,right:w==u-1,rowIndex:g,colIndex:w,isBody:!0,isHeader:!1},M=ll(L),Y=l?l(L):{};b.push((0,Lo.jsx)(k,T(v(v(v(v({},a),M),S),Y),{freeCSS:v(v(v({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Xt("Cell"),o,S.className].join(" ")}),w))}),p.push((0,Lo.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},g))}),(0,Lo.jsx)(Lo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Lo.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Lo.jsxs)(Wr.Body,{children:[(0,Lo.jsx)(Cw.HeadRow,v({},r)),(0,Lo.jsx)(Cw.BodyRows,v({},r))]})}))},QO=r=>(0,Lo.jsx)(op,T(v({type:"normal"},r),{JSXChildren:Cw.Normal}));var Sa=K(Dt()),No=K(nr()),ip=K(fr());var kw=K(nM());var Tw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:u}=r;if(!f)return null;let h=[];for(let p=0;p<s;p++){let m=f[p],g=Wr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!u.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=ll(b),w=l?l(b):{};h.push((0,Sa.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,Sa.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:u,onOrderChanged:h}=r,[p]=(0,ip.useState)((0,No.UUID)()),[m,g]=(0,ip.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,w)=>{let k=[];{let L={top:w==0&&!s,bottom:w==f.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},M=ll(L),Y=l?l(L):{};k.push((0,Sa.jsx)(Wr.TH,T(v(v(v({padding:0,borderRight:!0},a),M),Y),{freeCSS:v(v({},a.freeCSS),Y.freeCSS),className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,Sa.jsx)(nt.Clear,{className:Xt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:O=>{Sm.Start(O,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,Sa.jsx)(Ae,{icon:kw.faGripVertical})})}),"DragOrigin"))}S.forEach((L,M)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!!s&&!s.length,bottom:w==f.length-1,left:!1,right:M==u-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},j=ll(O),F=l?l(O):{};k.push((0,Sa.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(" ")}),M))}),b.push((0,Sa.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,Sa.jsx)(Wr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Xt("Cell"),Xt("Draggable"),o].join(" "),children:(0,Sa.jsx)(Ae.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((L,M)=>{L=v({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=ll(O),F=l?l(O):{};k.push((0,Sa.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,Sa.jsx)(Wr.Row,{className:[Xt("Row"),Xt("Pre")].join(" "),children:k},"preSet"))}return(0,ip.useEffect)(()=>{No.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(M=>No.default.Objectify(M.rowID)))}},preSet:S=>{let{origin:w,index:k}=S;g({rows:m.rows,origin:w,to:k})}}})}),(0,ip.useEffect)(()=>()=>{No.useStore.delete(p)},[]),(0,Sa.jsx)(Sa.Fragment,{children:b})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Sa.jsx)(nt.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Na.open({parent:a.currentTarget,content:(0,Sa.jsxs)(Na.Body,{children:[(0,Sa.jsx)(Ae,{icon:kw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Sa.jsx)(Ae.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=No.default.Stringify(a.rowID||o),a)),(0,Sa.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Sa.jsxs)(Wr.Body,{children:[(0,Sa.jsx)(Tw.HeadRow,v({},r)),(0,Sa.jsx)(Tw.BodyRows,v({},r))]})}))},oM=r=>(0,Sa.jsx)(op,T(v({type:"drag"},r),{JSXChildren:Tw.Drag})),Sm={Start:function(r,a){return Da(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;_t("#TableRow-"+o+"-"+l).addClass(Xt("DraggerOrigin")),(0,No.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:u=>{Sm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:u=>{Sm.Move(u,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:u=>{Sm.End(u,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:u=>{Sm.End(u,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=No.default.getCursor(r).y-No.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let u=_t("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=u.position();f==0&&s<h?a.insertIndex=0:f===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:u}=a,h=No.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:l,insertIndex:s}=a,f=No.useStore.get(o);f&&f.swap&&f.swap(l,s),_t("#TableRow-"+o+"-"+l).removeClass(Xt("DraggerOrigin")),(0,No.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Et=K(Dt()),Wn=K(nr()),kf=K(fr());var pM=K(cS()),hM=K(fS()),mM=K(lS()),vM=K(dM());var wc={__memoryID:(0,Wn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=v({},r),{order:u,filter:h}=l,[p,m]=u.current,g=[],b=[...l.head];if(l.checker){let S={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=ll(S),k=l.cellStylesCallback?l.cellStylesCallback(S):{};g.push((0,Et.jsx)(Wr.TH,T(v(v(v({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),k),{freeCSS:T(v(v({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Xt("Cell"),l.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(La.Checker,{label:null,value:!1,onUpdateValidValue:L=>{let M=l.rows;M.forEach(Y=>{Y.checked=L}),s(T(v({},l),{rows:M}))}})})}),-1))}for(let S=0;S<l.colLength;S++){let w=b[S];if(!w)continue;let k=w.children||w.data,L=u.enabled&&u.column[S],M=h.enabled&&h.column[S],Y=L?(0,Et.jsx)(Ae,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?hM.faArrowDown:pM.faArrowUp:mM.faArrowRight}):null,O=(0,Et.jsx)(Et.Fragment,{});if(M){let N=f.map(_e=>{var re;return(re=_e[S])==null?void 0:re.data});N=[...new Set(N)].toASC();let te=h.current[S];if(te){let _e=N.filter(H=>!te.includes(H)),re=[];N.forEach(H=>{H&&re.push({value:H,label:(0,Et.jsx)(X,{flexSizing:"auto",children:H})})});let be="BUTTON-"+l.componentID+"-"+S,ye=l.componentID+"-"+S,ge={sheetID:ye,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Et.jsxs)(At,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Et.jsx)(tr,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Et.jsx)(La.Checkbox,{icon:!0,value:_e,display:"flex",gap:"2/3",override:"force",options:re,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+l.componentID,onUpdateValidValue:H=>{let le=N.filter(B=>!H.includes(B)),fe=v({},l);fe.filter.current[S]=le,s(fe)}})}),(0,Et.jsxs)(mt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Et.jsx)(nt.Border.S,{isRounded:!0,onClick:()=>{$t.close(ye)},children:"\u9589\u3058\u308B"}),(0,Et.jsx)(nt.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=N);let le=v({},l);le.filter.current[S]=H,s(le)},children:"\u5168\u9078\u629E"})]})]})};O=(0,Et.jsx)(X,{className:Xt("FilterRegion"),children:(0,Et.jsx)(nt.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Xt("Filtering_"+!!te.length),id:be,onClick:H=>{H.stopPropagation(),$t.open(ge)},children:(0,Et.jsx)(Ae,{icon:vM.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:S==0,right:S==l.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=ll(j),Q=l.cellStylesCallback?l.cellStylesCallback(j):{};w=T(v(v(v(v({},l.cellStyles),F),w),Q),{ssPushable:L,freeCSS:v(v(v({},(o=l.cellStyles)==null?void 0:o.freeCSS),Q.freeCSS),w.freeCSS),className:[Xt("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,g.push((0,Et.jsx)(Wr.TH,T(v({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:v({zIndex:2},w.freeCSS),onClick:N=>{if(L){let te=v({},l),_e=[S,p===S&&m=="ASC"?"DESC":"ASC"];te.order.current=_e,s(te),l.onOrderChanged&&l.onOrderChanged(_e)}},children:(0,Et.jsxs)(At,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[O,(0,Et.jsxs)(At,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Et.jsx)(Wr.Row,{className:[Xt("Row"),Xt("HeadRow")].join(" "),children:g})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,f)=>{var u;let h=[...s],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=ll(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Et.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,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(La.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:S=>{let w=a.rows,k=w.findIndex(L=>Wn.default.is.equal(L.rowID,s.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=Ge(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},M=ll(L),Y=a.cellStylesCallback?a.cellStylesCallback(L):{};k=T(v(v(v(v({},a.cellStyles),M),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 O=Wr[w=="td"?"TD":"TH"];p.push((0,Et.jsx)(O,v({},k),g))}),l.push((0,Et.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(s.rowID,m)}},f))}),!o.length){let s=(0,Et.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&&(s=(0,Et.jsx)(Et.Fragment,{children:a.noRecords})),l.push((0,Et.jsx)(Wr.Row,{className:[Xt("Row"),Xt("BodyRow"),Xt("DataNotFound")].join(" "),children:(0,Et.jsx)(Wr.TD,{colSpan:a.colLength,className:Xt("Cell"),children:s})},"dataNotFound"))}return(0,Et.jsx)(Et.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:f,paging:u}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],g=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),m=[...p],g=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],L=s.current[w];k&&L&&L.length&&(m=m.filter(M=>!L.includes(M[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(M=>Wn.default.is.equal(M.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;w.find(M=>Wn.default.is.equal(M.rowID,L)).filtered=!0}),w}}}),(0,kf.useEffect)(()=>{Tl.release(a.tableID,S)}),(0,Et.jsx)(X,{className:Xt("TableBase"),children:(0,Et.jsx)(Wr.Table,{className:Xt("Table"),children:(0,Et.jsxs)(Wr.Body,{children:[(0,Et.jsx)(wc.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Et.jsx)(wc.Body,{val_status:a,set_status:o,PageRows:g})]})})},l)},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((l,s)=>{var f;return Wn.default.is.boolean(r.filter)?r.filter:(f=r.filter[s])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var f;return Wn.default.is.boolean(r.order)?r.order:(f=r.order[s])!=null?f:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let f=[];l.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))}),l.__sys4SearchKey=f.join("/")}),(0,Et.jsx)(wc.StateManager,v({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:f,defaultOrder:u=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,kf.useState)((0,Wn.UUID)()),m={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:l,filter:{enabled:s!==!1,column:s,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,kf.useState)(m);return(0,kf.useEffect)(()=>{b(S=>T(v({},S),{rows:m.rows}))},[Wn.default.Stringify(m.rows)]),(0,kf.useEffect)(()=>{b(S=>T(v({},S),{head:m.head}))},[Wn.default.Stringify(m.head)]),(0,Et.jsx)(wc.Core,{val_status:g,set_status:b})}},B$={__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=Tl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Et.jsx)(La.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Et.jsx)(La.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Et.jsx)(Ae.Search,{})}),value:o.searchKeyword,onUpdateValidValue:s=>{r.onChange(s),Wn.default.interval.once(()=>{l(f=>T(v({},f),{paging:T(v({},f.paging),{currentPageIndex:1}),filter:T(v({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=Tl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=a.rows.filtered.ratio(a.rows.total)||0;return(0,Et.jsxs)(At,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Et.jsx)(wn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=Tl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let u=0;u<o.paging.pageLength;u++)s.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,l(m=>T(v({},m),{paging:T(v({},m.paging),{currentPageIndex:h})}))};return(0,Et.jsxs)(mt.Center,{children:[(0,Et.jsxs)(mt.Center,{gap:"1/2",children:[(0,Et.jsx)(La.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,onUpdateValidValue:u=>{f(u)}}),"/ ",o.paging.pageLength]}),(0,Et.jsxs)(mt.Right,{gap:"1/2",children:[(0,Et.jsx)(nt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Et.jsx)(Ae.ChevronLeft,{})}),(0,Et.jsx)(nt.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Et.jsx)(Ae.ChevronRight,{})})]})]})},RowLength:r=>{let a=Tl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,f=0,u=r.lengthSelect.map(h=>(f|=+(h==s),{value:h,label:h.toString()}));return f||u.push({value:s,label:s.toString()}),(0,Et.jsx)(mt.Center,{gap:"1/2",children:(0,Et.jsx)(La.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=>{l(p=>T(v({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},F$=r=>(0,Et.jsx)(op,T(v({},r),{type:"data",JSXChildren:wc.DataLeveler})),gu=F$;gu.__memoryID=wc.__memoryID,gu.getRowData=B$.getRowData,gu.Info=zg.Info,gu.Paging=zg.Paging,gu.RowLength=zg.RowLength,gu.SearchInput=zg.SearchInput;var Bg;(r=>(r.Normal=QO,r.Data=gu,r.Drag=oM,r.Parts=Wr))(Bg||(Bg={}));var Rw=K(Dt()),wm=K(nr());var _c={uid:(0,wm.UUID)(),open:(r,a,o=24,l=.35)=>{r&&wm.default.interval.once(()=>{Na.open({tipsID:_c.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,Rw.jsx)(Na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,Rw.jsx)(Qt.Supplement,{children:a})})})},l*1e3,_c.uid)},abort:()=>{wm.default.interval.abort(_c.uid),Na.close(_c.uid)}};var dt=K(Dt()),oa=K(nr());var is=K(fr());var qM=K(CM()),YM=K(AM()),$M=K(zM()),GM=K(WM());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 l=a.picture.image,{width:s,height:f}=l,u=s/f;this.Picture={elm:l,originDataUrl:l.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:s/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,l=0,s=0;if(this.use=="square"){let g=a.width/3*2,b=a.height/3*2;l=Math.min(g,b),s=l}else this.use=="wallpaper.horizontal"?(l=a.width*(7/9),s=l/3):this.use=="wallpaper.vertical"&&(s=a.height*(7/9),l=s/2);let{width:f,height:u}=o,h=(a.width-l)/2,p=(a.height-s)/2,m=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,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:l,y:s}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},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-l,p=f.y-s,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:l}=a,{x:s,y:f}=oa.default.getCursor(l.touches[0]),{x:u,y:h}=oa.default.getCursor(l.touches[1]),p=u-s,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 Da(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),u=yield oa.default.ImageLoader(this.Picture.originDataUrl),h=u.width,p=u.height;(l==90||l==270)&&(h=u.height,p=u.width),s.width=h,s.height=p,a&&(f.filter="grayscale("+a+"%)"),l&&(f.translate(h/2,p/2),f.rotate(l*Math.PI/180),[90,270].includes(l)?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,s.width,s.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,M=k[1]/255,Y=k[2]/255;for(let O=0;O<p;O++)for(let j=0;j<h;j++){var b=(O*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 Q=g[b+S];g[b+S]=Q+(F-Q)*a}}g[b]*=L,g[b+1]*=M,g[b+2]*=Y}}f.putImageData(m,0,0);let w=s.toDataURL("image/jpeg");{let k=yield oa.default.ImageLoader(w),{width:L,height:M}=k,Y=L/M;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/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,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,M=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,O=this.pst.frame.y,j=0;b<L&&(j=b-L),b>M&&(j=b-M);let F=0;S<Y&&(F=S-Y),S>O&&(F=S-O),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),M),S=Math.min(Math.max(S,Y),O)}this.pst.outImage={x:b,y:S,w,h:k},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,b,S,w,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let g=f.width/3*2,b=f.height/3*2,S=Math.min(g,b),w=Math.max(g,b);s.arc(f.width/2,f.height/2,w,0,Math.PI*2,!0),s.arc(f.width/2,f.height/2,S/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(f.width,0),s.lineTo(f.width,f.height),s.lineTo(0,f.height),s.lineTo(0,0),s.closePath(),s.lineTo(u.x,u.y),s.lineTo(u.x,u.y+u.h),s.lineTo(u.x+u.w,u.y+u.h),s.lineTo(u.x+u.w,u.y),s.lineTo(u.x,u.y),s.fill();let m=(0,oa.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${m},1 )`,s.strokeRect(u.x,u.y,u.w,u.h)}}export(){return Da(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:f}}=this,u=s.w/l.elm.width,h=s.h/l.elm.height,p=(f.x-s.x)/u,m=(f.x-s.x+f.w)/u,g=(f.y-s.y)/h,b=(f.y-s.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:M}=o[k];M=M||{S:1024*20,R:1024*100,L:1024*350}[L];let Y={S:140,R:600,L:1200}[L],O=Y;this.use=="wallpaper.horizontal"?O=Y/3:this.use=="wallpaper.vertical"&&(O=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=O;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,O),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,O);let Q=j.toDataURL(w),N=yield Q.toBlob(w);if(!N)return;if(N.size>=M){let _e=M/N.size;if(Q=j.toDataURL(w,_e*.92),N=yield Q.toBlob(w),!N)return}let te=new File([N],this.val_file.name,{type:w});S[k]=te}return S})}},KM={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:u=[]}=o,[h]=(0,is.useState)((0,oa.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,g]=(0,is.useState)(p.scale.default),[b,S]=(0,is.useState)(p.rotate),[w,k]=(0,is.useState)(p.grayScale),[L,M]=(0,is.useState)(p.tone);return(0,is.useEffect)(()=>{let Y="CropperResize";return(0,oa.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{oa.default.interval.once(()=>{var O;let j=_t("#Canvas-"+h)[0];if(!j)return;let F=(O=oa.useStore.get(h))==null?void 0:O.Instance;if(!F)return;let Q=j.position(),N=Q.width/Q.height;j.width=2400,j.height=2400/N;let{width:te,height:_e}=j;F.pst.centerX=te/2,F.pst.centerY=_e/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,oa.default)(window).removeEvent(Y)}},[]),(0,is.useEffect)(()=>{oa.useStore.set({[h]:{}}),Da(void 0,null,function*(){Ro.fn.corner.active(),yield oa.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let O=Y.result,j=_t("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Q=F.width/F.height;j.width=2400,j.height=2400/Q;let N=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(O),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});oa.useStore.set({[h]:{Instance:N}});let te=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)N.pinchEffect({eventType:"start",event:be}),(0,oa.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ye.preventDefault(),N.pinchEffect({eventType:"move",event:ye})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:re});else{N.dragEffect(v({eventType:"start"},oa.default.getCursor(be)));let{type:ye}=be;(0,oa.default)(document).addEvent({eventType:ye=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ge=>{_e("move",ge)}}).addEvent({eventType:ye=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ge=>{_e("end",ge),re(ge)}})}},_e=function(be,ye){ye.preventDefault(),N.dragEffect(v({eventType:be},oa.default.getCursor(ye)))},re=function(be){be.preventDefault(),(0,oa.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,oa.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let ye=Number(be.wheelDelta*.04),ge=N.scale.current+ye;ge=Math.max(ge,N.scale.min),ge=Math.min(ge,N.scale.max),g(ge)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:te,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:te,options:{passive:!1}}),setTimeout(()=>{Ro.fn.corner.stop()},1e3)})},[a.id]),(0,is.useEffect)(()=>{var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateScale(m)},[m]),(0,is.useEffect)(()=>{var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateFilter({grayScale:w,tone:L,rotate:b})},[w,L,b]),(0,dt.jsx)($t.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,dt.jsxs)(tr,{className:[cu("Wrap"),cu("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,dt.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,dt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:cu("Canvas"),id:"Canvas-"+h})}),(0,dt.jsxs)(mt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,dt.jsx)(KM.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:M,val_grayScale:w,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,dt.jsxs)(mt.Right,{flexSizing:"none",children:[(0,dt.jsx)(nt.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,dt.jsx)(nt,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Da(void 0,null,function*(){var Y;let O=(Y=oa.useStore.get(h))==null?void 0:Y.Instance;if(!O)return;Ro.fn.mini.active("CropperExportation");let j=yield O.export();setTimeout(()=>{Ro.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,dt.jsxs)(mt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ro.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=l=>a[l]||"\u306A\u3057";return(0,dt.jsxs)(mt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,dt.jsxs)(tr,{gap:"1/3",children:[(0,dt.jsx)(Qt.Supplement,{children:"Rotate"}),(0,dt.jsxs)(mt.Left,{flexChilds:"even",gap:"1/6",children:[(0,dt.jsx)(nt.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let l=r.val_rotate-90;l<0&&(l+=360),r.set_rotate(l)},children:(0,dt.jsxs)(mt.Center,{gap:"1/4",children:["90\xB0",(0,dt.jsx)(Ae,{icon:$M.faRotateLeft})]})}),(0,dt.jsx)(nt.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,dt.jsxs)(mt.Center,{gap:"1/4",children:[(0,dt.jsx)(Ae,{icon:GM.faRotateRight}),"90\xB0"]})})]})]}),(0,dt.jsxs)(tr,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(Qt.Supplement,{children:"Zoom"}),(0,dt.jsxs)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,dt.jsx)($t.Body,{children:(0,dt.jsxs)(tr,{padding:1.5,children:[(0,dt.jsxs)(mt.Separate,{children:[(0,dt.jsx)(Qt.Paragraph,{children:(0,dt.jsxs)(mt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ae.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,dt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ae.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(La.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,dt.jsxs)(tr,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(Qt.Supplement,{children:"GrayScale"}),(0,dt.jsxs)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,dt.jsx)($t.Body,{children:(0,dt.jsxs)(tr,{padding:1.5,children:[(0,dt.jsxs)(mt.Separate,{children:[(0,dt.jsx)(Qt.Paragraph,{children:(0,dt.jsxs)(mt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ae,{icon:qM.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,dt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ae.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(La.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,dt.jsxs)(tr,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(Qt.Supplement,{children:"Tone"}),(0,dt.jsx)(nt.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Na.open({tipsID:s,gravityPoint:3,event:l,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,dt.jsxs)(mt.Left,{gap:"1/3",children:[(0,dt.jsx)(X,{ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+u)].join(" ")}),(0,dt.jsx)(X,{textAlign:"left",flexSizing:0,children:o(u)})]})});return(0,dt.jsx)($t.Body,{children:(0,dt.jsxs)(tr,{padding:1.5,children:[(0,dt.jsxs)(mt.Separate,{children:[(0,dt.jsx)(Qt.Paragraph,{children:(0,dt.jsxs)(mt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ae,{icon:YM.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,dt.jsx)(nt.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ae.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(La.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,dt.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:u=>{r.set_tone(u)}})]})})}})},children:(0,dt.jsxs)(mt.Center,{gap:"1/2",children:[(0,dt.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[cu("ToneBall"),cu("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Mw={openDialogNEdit:r=>Da(void 0,null,function*(){let a=yield La.Filer.fn.openDialog({accept:"image",multiple:!1});Mw.openEditor(v({imageFile:a[0]},r))}),openEditor:r=>Da(void 0,null,function*(){let a="CropperImage";$t.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,dt.jsx)(KM.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{$t.close(a),r.onProcessFinished(o)},abortCallback:()=>{$t.close(a)}}),closeAtEscapeKeyDown:!1})})};var Oo=K(Dt());var XM=()=>{let{href:r}=location;return(0,Oo.jsx)(mt.Center,{padding:[4,1],children:(0,Oo.jsxs)(tr,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Oo.jsx)(Ae.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Oo.jsxs)(X,{children:[(0,Oo.jsx)(Qt.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Oo.jsx)(Qt.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,Oo.jsxs)(tr,{children:[(0,Oo.jsxs)(Qt,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Oo.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Oo.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,Oo.jsx)(df.Link,{newTab:!0,href:r,children:r}),(0,Oo.jsx)(df.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Fg=r=>{let[a,o]=(0,bu.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,bu.useRef)(!1);(0,bu.useEffect)(()=>{l&&(s.current?($t.closeAll(!0),Ds.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,bu.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,bu.useEffect)(()=>{l&&(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 QM=K(nr());var Kh=[{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}],Gh=()=>{let r="#45515c",a=(0,QM.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},JM={light:"#FFF",dark:"#333",dim:"#666",auto:()=>ht.get().isSystemDarkmode()?"#333":"#FFF"},Iw={};Kh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Iw[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var Ya=K(nr());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=>Ya.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,f,u,h,p,m,g,b;let S=[],{gap:w,display:k,position:L,overflow:M,fontColor:Y,fontSize:O,fontWeight:j,fontHeight:F,backgroundColor:Q,textAlign:N,textDecoration:te,boxShadow:_e,margin:re,marginTop:be,marginRight:ye,marginBottom:ge,marginLeft:H,padding:le,paddingTop:fe,paddingRight:B,paddingBottom:W,paddingLeft:ne,top:ee,right:de,bottom:xe,left:we,border:Ye,borderTop:$e,borderRight:Pe,borderBottom:et,borderLeft:ut,borderWidth:lt,borderColor:Tt,borderStyle:wt,borderRadius:Ze,borderTopLeftRadius:Te,borderTopRightRadius:pt,borderBottomLeftRadius:Lt,borderBottomRightRadius:jt,flexSizing:Ut,flexWrap:ar,flexType:ur,flexChilds:Er,flexGrid:ra,horizontalAlign:jr,verticalAlign:qr,transition:Cr,gridCenter:dr,gridCols:gr,maxHeight:pa,minHeight:xr,maxWidth:mr,minWidth:Mr,width:_a,height:Be,unitHeight:st,unitWidth:bt,opacity:Gt}=a;{if(Re.ev(k)&&S.push("dsp"+k),M){let G=Ya.default.flatArray(M);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(L)&&S.push("ps"+L),Re.ev(N)&&S.push("txtalg"+N),Re.ev(N)&&S.push("txtdeco"+te),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(O)&&S.push("ftsz"+((l=String(O))==null?void 0:l.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((s=String(j))==null?void 0:s.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Q)&&S.push("bgc"+((u=String(Q))==null?void 0:u.replace(/\./g,"_"))),Re.ev(_e)&&S.push("bs"+_e);let Vt,Rr,vr,Yr;Ya.default.is.exist(re)&&(Ya.default.is.array(re)?re.length==2?[Vt,Rr,vr,Yr]=[...re,...re]:re.length==4&&([Vt,Rr,vr,Yr]=re):Vt=Rr=vr=Yr=re,be=be!=null?be:Vt,ye=ye!=null?ye:Rr,ge=ge!=null?ge:vr,H=H!=null?H:Yr),Re.ev(be)&&S.push("mrgt"+be),Re.ev(ye)&&S.push("mrgr"+ye),Re.ev(ge)&&S.push("mrgb"+ge),Re.ev(H)&&S.push("mrgl"+H);let $,P,R,z;Ya.default.is.exist(le)&&(Ya.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,fe=fe!=null?fe:$,B=B!=null?B:P,W=W!=null?W:R,ne=ne!=null?ne:z),Re.ev(fe)&&S.push("pdt"+fe),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ne)&&S.push("pdl"+ne),Re.ev(ee)&&S.push("pstt"+ee),Re.ev(de)&&S.push("pstr"+de),Re.ev(xe)&&S.push("pstb"+xe),Re.ev(we)&&S.push("pstl"+we);{Ya.default.is.exist(Ye)&&($e=$e!=null?$e:Ye,Pe=Pe!=null?Pe:Ye,et=et!=null?et:Ye,ut=ut!=null?ut:Ye),Ya.default.is.boolean($e)&&($e=["unset","2.normal"][Number($e)]),Ya.default.is.boolean(Pe)&&(Pe=["unset","2.normal"][Number(Pe)]),Ya.default.is.boolean(et)&&(et=["unset","2.normal"][Number(et)]),Ya.default.is.boolean(ut)&&(ut=["unset","2.normal"][Number(ut)]),Re.ev($e)&&S.push("b_t_ss"+((h=String($e))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Pe)&&S.push("b_r_ss"+((p=String(Pe))==null?void 0:p.replace(/\./g,"_"))),Re.ev(et)&&S.push("b_b_ss"+((m=String(et))==null?void 0:m.replace(/\./g,"_"))),Re.ev(ut)&&S.push("b_l_ss"+((g=String(ut))==null?void 0:g.replace(/\./g,"_"))),Ya.default.is.exist(lt)&&S.push("b_wth"+String(lt)),Ya.default.is.exist(Tt)&&S.push("b_cl"+((b=String(Tt))==null?void 0:b.replace(/\./g,"_"))),Ya.default.is.exist(wt)&&S.push("b_st"+String(wt));{let G,ie,oe,Oe;Ya.default.is.exist(Ze)&&(Ya.default.is.array(Ze)?Ze.length==4&&([G,ie,Oe,oe]=Ze):G=ie=oe=Oe=Ze,Te=Te!=null?Te:G,pt=pt!=null?pt:ie,Lt=Lt!=null?Lt:oe,jt=jt!=null?jt:Oe)}Re.ev(Te)&&S.push("br_tl"+Re.toConcreteBorderRadius(Te)),Re.ev(pt)&&S.push("br_tr"+Re.toConcreteBorderRadius(pt)),Re.ev(Lt)&&S.push("br_bl"+Re.toConcreteBorderRadius(Lt)),Re.ev(jt)&&S.push("br_br"+Re.toConcreteBorderRadius(jt))}if(Re.ev(Gt)&&S.push("op"+Gt),Ya.default.is.exist(w)){let G,ie;Ya.default.is.array(w)?(G=w[0],ie=w[1]):G=ie=w,S.push("gapRow"+G,"gapCol"+ie)}Re.ev(Ut)&&S.push("flsz"+Ut),Re.ev(ar)&&S.push("flwrp"+ar),Re.ev(ur)&&S.push("fltyp"+ur),Re.ev(Er)&&S.push("flchld"+Er),Re.ev(ra)&&S.push("flgrid"+ra),Re.ev(qr)&&S.push("flvrt"+qr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(dr)&&S.push("grcnt"+dr),Re.ev(gr)&&S.push("grcol"+gr),Re.ev(Be)&&S.push("hgt"+Be),Re.ev(_a)&&S.push("wdt"+_a),Re.ev(st)&&S.push("unthgt"+st),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(Cr)&&S.push("trnst"+Cr),Re.ev(pa)&&S.push("maxh"+pa),Re.ev(xr)&&S.push("minh"+xr),Re.ev(mr)&&S.push("maxw"+mr),Re.ev(Mr)&&S.push("minw"+Mr)}return S.length?r+S.join(" "+r):""}},cm=r=>{let a=v({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:u,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:S,isSemiBoldFont:w,isRounded:k,isSquare:L,freeCSS:M={}}=a,Y=Ge(M,[]),O=Ge(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},O=O||{},o){let{deg:j,colors:F}=o;Y=T(v({},Y),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(l){l===!0&&(l="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?j.border=!0:l=="plain"?(j.backgroundColor="layer.1",j.boxShadow="none"):l=="cloud"?j.backgroundColor="cloud":l=="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),O=v(v({},j),O)}return s&&(m=m!=null?m:!0,O=v({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},O)),f&&(m=m!=null?m:!0,O=v({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},O)),u&&(O=v({transition:"middle"},O),O=T(v({},O),{className:[O.className,"ssPushable"].join(" ")})),h&&(O=v({position:"absolute",top:0,left:0,right:0,bottom:0},O)),p&&(O=v({overflow:"hidden"},O),Y=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(O=v({width:1,flexSizing:"none"},O)),m&&(O=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},O)),b&&(O.fontWeight="1.light"),w&&(O.fontWeight="3.semiBold"),S&&(O.fontWeight="4.bold"),k&&(Ya.default.is.number(k)?Y.borderRadius=k*12:O.borderRadius="sphere"),L&&(Y.aspectRatio="1"),T(v({},O),{freeCSS:Y})},ko=r=>{let a=cm(r),{componentID:o,gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:xe,borderTopLeftRadius:we,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ut,flexType:lt,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:pt,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:ar,maxWidth:ur,minWidth:Er,width:ra,height:jr,unitHeight:qr,unitWidth:Cr,opacity:dr,ssLastChildLossBorder:gr,ssAbsoluteCovered:pa,ssCardBox:xr,ssEffectsOnActive:mr,ssPushable:Mr,ssSphere:_a,ssSquare:Be,ssTextEllipsis:st,isBoldFont:bt,isLightFont:Gt,isSemiBoldFont:Vt,isRounded:Rr,flexCenter:vr,flexNewLine:Yr,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=Ge(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"]),ie=v({},G),oe=[R];if(gr&&oe.push("ssLastChildLossBorder_"+gr),mr){mr=Ya.default.flatArray(mr);for(let Oe of mr){let[Ie,Me]=Oe.split(".");ie["data-effect-"+Ie]="1",Me&&(ie["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:u,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:xe,borderTopLeftRadius:we,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ut,flexType:lt,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:pt,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:ar,maxWidth:ur,minWidth:Er,width:ra,height:jr,unitHeight:qr,unitWidth:Cr,opacity:dr});oe.push(Oe)}return P&&oe.push(Re.ClassNames("amotf_bp",P)),z&&(ie.style=v(v({},z),ie.style)),(o||ie["data-component-id"])&&(ie["data-component-id"]=ie["data-component-id"]||o),oe.length&&oe.join("")&&(ie.className=oe.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),ie},Ll=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:u,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:g,textDecoration:b,boxShadow:S,margin:w,marginTop:k,marginRight:L,marginBottom:M,marginLeft:Y,padding:O,paddingTop:j,paddingRight:F,paddingBottom:Q,paddingLeft:N,top:te,right:_e,bottom:re,left:be,border:ye,borderTop:ge,borderRight:H,borderBottom:le,borderLeft:fe,borderWidth:B,borderColor:W,borderStyle:ne,borderRadius:ee,borderTopLeftRadius:de,borderTopRightRadius:xe,borderBottomLeftRadius:we,borderBottomRightRadius:Ye,flexSizing:$e,flexWrap:Pe,flexType:et,flexChilds:ut,flexGrid:lt,horizontalAlign:Tt,verticalAlign:wt,transition:Ze,gridCenter:Te,gridCols:pt,maxHeight:Lt,minHeight:jt,maxWidth:Ut,minWidth:ar,width:ur,height:Er,unitHeight:ra,unitWidth:jr,opacity:qr,ssLastChildLossBorder:Cr,ssAbsoluteCovered:dr,ssCardBox:gr,ssEffectsOnActive:pa,ssPushable:xr,ssSphere:mr,ssSquare:Mr,ssTextEllipsis:_a,isBoldFont:Be,isLightFont:st,isSemiBoldFont:bt,isRounded:Gt,flexCenter:Vt,flexNewLine:Rr,gradients:vr,UnderBreakPointStyles:Yr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(l)&&(P.position=l),Re.ev(s)&&(P.overflow=s),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(M)&&(P.marginBottom=M),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(O)&&(P.padding=O),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(Q)&&(P.paddingBottom=Q),Re.ev(N)&&(P.paddingLeft=N),Re.ev(te)&&(P.top=te),Re.ev(_e)&&(P.right=_e),Re.ev(re)&&(P.bottom=re),Re.ev(be)&&(P.left=be),Re.ev(ye)&&(P.border=ye),Re.ev(ge)&&(P.borderTop=ge),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(fe)&&(P.borderLeft=fe),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ne)&&(P.borderStyle=ne),Re.ev(ee)&&(P.borderRadius=ee),Re.ev(de)&&(P.borderTopLeftRadius=de),Re.ev(xe)&&(P.borderTopRightRadius=xe),Re.ev(we)&&(P.borderBottomLeftRadius=we),Re.ev(Ye)&&(P.borderBottomRightRadius=Ye),Re.ev($e)&&(P.flexSizing=$e),Re.ev(Pe)&&(P.flexWrap=Pe),Re.ev(et)&&(P.flexType=et),Re.ev(ut)&&(P.flexChilds=ut),Re.ev(lt)&&(P.flexGrid=lt),Re.ev(Tt)&&(P.horizontalAlign=Tt),Re.ev(wt)&&(P.verticalAlign=wt),Re.ev(Ze)&&(P.transition=Ze),Re.ev(Te)&&(P.gridCenter=Te),Re.ev(pt)&&(P.gridCols=pt),Re.ev(Lt)&&(P.maxHeight=Lt),Re.ev(jt)&&(P.minHeight=jt),Re.ev(Ut)&&(P.maxWidth=Ut),Re.ev(ar)&&(P.minWidth=ar),Re.ev(ur)&&(P.width=ur),Re.ev(Er)&&(P.height=Er),Re.ev(ra)&&(P.unitHeight=ra),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(qr)&&(P.opacity=qr),Re.ev(Cr)&&(P.ssLastChildLossBorder=Cr),Re.ev(dr)&&(P.ssAbsoluteCovered=dr),Re.ev(gr)&&(P.ssCardBox=gr),Re.ev(pa)&&(P.ssEffectsOnActive=pa),Re.ev(xr)&&(P.ssPushable=xr),Re.ev(mr)&&(P.ssSphere=mr),Re.ev(Mr)&&(P.ssSquare=Mr),Re.ev(_a)&&(P.ssTextEllipsis=_a),Re.ev(Be)&&(P.isBoldFont=Be),Re.ev(st)&&(P.isLightFont=st),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(vr)&&(P.gradients=vr),Re.ev($)&&(P.freeCSS=$),Re.ev(Yr)&&(P.UnderBreakPointStyles=Yr),P};var hl=K(Dt());var jg=r=>{var a;let o=Tl.catch("RootViewController_"+ht.get().sessionUID);return(0,hl.jsxs)(hl.Fragment,{children:[(0,hl.jsx)("style",{children:r.inlineCSS}),(0,hl.jsxs)("amotify-app",{id:"appRoot_"+ht.get().sessionUID,children:[(0,hl.jsx)(pc.Pudding.Wrapper,{}),(0,hl.jsx)(pc.Ripple.Wrapper,{}),(0,hl.jsx)(Ro.Wrapper,{}),(0,hl.jsx)(as.Wrapper,{}),(0,hl.jsx)($t.Wrapper,{}),(0,hl.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(nr()),_t=r=>{let a=ht.get().appRoot;return Hg.default.is.shadowRoot(a)?(0,Hg.default)(a).find(r):(0,Hg.default)(r)};var j$=K(Bw());Jr(Fr,K(Bw()));var H$=K(Fw());Jr(Fr,K(Fw()));var U$=v(v(v(v(v(v({},zw),XS),aw),j$),H$),Pw);var $a=K(Dt()),V$=()=>{let[r,a]=(0,yu.useState)(!1),[o,l]=(0,yu.useState)((0,Tf.UUID)());return(0,yu.useEffect)(()=>{r&&Tf.default.interval.once(()=>{l((0,Tf.UUID)())},1e3)},[r]),$t.open({type:"normal.middleCenter",size:"S",content:(0,$a.jsx)($t.Body,{children:"AAA"})}),(0,$a.jsxs)(X,{children:[(0,$a.jsxs)(Qt.Paragraph,{children:["sheet: ",String(r)]}),(0,$a.jsx)(nt.Prime,{onClick:()=>{a(!r)},children:"Submit"}),(0,$a.jsx)($t.Element,{type:"custom",isOpen:r,size:"S",children:"Hello"}),(0,$a.jsx)($t.Element,{sheetID:"testSheet",type:"normal.middleCenter",size:"S",isOpen:r,openAfter:()=>{a(!0)},closeAfter:()=>{a(!1)},children:(0,$a.jsx)($t.Body,{children:(0,$a.jsxs)(tr,{padding:2,children:[(0,$a.jsxs)(mt.Separate,{children:[(0,$a.jsx)(Qt.Paragraph,{children:"Title"}),(0,$a.jsx)(nt.Sub,{color:"cloud",ssSphere:3,onClick:()=>{a(!1)},children:(0,$a.jsx)(Ae.Times,{})})]}),o]})})},o)]})};Tf.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),ht.launch({appRoot:r,roundness:4,themeColor:Tf.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Os.useLocation(),l=Os.useNavigate();return(0,yu.useEffect)(()=>{Pn.setPushEffect(s=>{if(s.match(/^#/)){console.log(s),console.log(window.location.pathname);return}l(s)}),Pn.setBackEffect(()=>{l(-1)})},[]),Fg({pathname:o.pathname}),(0,$a.jsx)(Os.Routes,{children:(0,$a.jsx)(Os.Route,{path:"*",element:(0,$a.jsx)(V$,{})},"*")})};ZM.default.createRoot(r).render((0,$a.jsx)(yu.StrictMode,{children:(0,$a.jsx)(jg,{children:(0,$a.jsx)(Os.BrowserRouter,{children:(0,$a.jsx)(a,{})})})}))});
|
|
981
981
|
/*! Bundled license information:
|
|
982
982
|
|
|
983
983
|
react/cjs/react.development.js:
|