amotify 0.2.23 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var aV=Object.create;var Tg=Object.defineProperty;var nV=Object.getOwnPropertyDescriptor;var oV=Object.getOwnPropertyNames;var iV=Object.getPrototypeOf,lV=Object.prototype.hasOwnProperty;var sV=(r,a)=>()=>(r&&(a=r(r=0)),a);var qe=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Gc=(r,a)=>{for(var i in a)Tg(r,i,{get:a[i],enumerable:!0})},xg=(r,a,i,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of oV(a))!lV.call(r,s)&&s!==i&&Tg(r,s,{get:()=>a[s],enumerable:!(l=nV(a,s))||l.enumerable});return r},no=(r,a,i)=>(xg(r,a,"default"),i&&xg(i,a,"default")),K=(r,a,i)=>(i=r!=null?aV(iV(r)):{},xg(a||!r||!r.__esModule?Tg(i,"default",{value:r,enumerable:!0}):i,r)),uV=r=>xg(Tg({},"__esModule",{value:!0}),r);var Jr=(r,a,i)=>new Promise((l,s)=>{var d=p=>{try{h(i.next(p))}catch(_){s(_)}},c=p=>{try{h(i.throw(p))}catch(_){s(_)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((i=i.apply(r,a)).next())});var YT=qe((pr,Eg)=>{"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"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),k=Symbol.iterator,D="@@iterator";function A(x){if(x===null||typeof x!="object")return null;var j=k&&x[k]||x[D];return typeof j=="function"?j:null}var q={current:null},I={transition:null},$={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},W={},P=null;function oe(x){P=x}W.setExtraStackFrame=function(x){P=x},W.getCurrentStack=null,W.getStackAddendum=function(){var x="";P&&(x+=P);var j=W.getCurrentStack;return j&&(x+=j()||""),x};var be=!1,Q=!1,he=!1,le=!1,we=!1,V={ReactCurrentDispatcher:q,ReactCurrentBatchConfig:I,ReactCurrentOwner:F};V.ReactDebugCurrentFrame=W,V.ReactCurrentActQueue=$;function re(x){{for(var j=arguments.length,_e=new Array(j>1?j-1:0),ke=1;ke<j;ke++)_e[ke-1]=arguments[ke];z("warn",x,_e)}}function ue(x){{for(var j=arguments.length,_e=new Array(j>1?j-1:0),ke=1;ke<j;ke++)_e[ke-1]=arguments[ke];z("error",x,_e)}}function z(x,j,_e){{var ke=V.ReactDebugCurrentFrame,Qe=ke.getStackAddendum();Qe!==""&&(j+="%s",_e=_e.concat([Qe]));var Bt=_e.map(function(bt){return String(bt)});Bt.unshift("Warning: "+j),Function.prototype.apply.call(console[x],console,Bt)}}var ee={};function te(x,j){{var _e=x.constructor,ke=_e&&(_e.displayName||_e.name)||"ReactClass",Qe=ke+"."+j;if(ee[Qe])return;ue("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.",j,ke),ee[Qe]=!0}}var se={isMounted:function(x){return!1},enqueueForceUpdate:function(x,j,_e){te(x,"forceUpdate")},enqueueReplaceState:function(x,j,_e,ke){te(x,"replaceState")},enqueueSetState:function(x,j,_e,ke){te(x,"setState")}},me=Object.assign,De={};Object.freeze(De);function Ae(x,j,_e){this.props=x,this.context=j,this.refs=De,this.updater=_e||se}Ae.prototype.isReactComponent={},Ae.prototype.setState=function(x,j){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,j,"setState")},Ae.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Oe={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)."]},je=function(x,j){Object.defineProperty(Ae.prototype,x,{get:function(){re("%s(...) is deprecated in plain JavaScript React classes. %s",j[0],j[1])}})};for(var Xe in Oe)Oe.hasOwnProperty(Xe)&&je(Xe,Oe[Xe])}function st(){}st.prototype=Ae.prototype;function Ot(x,j,_e){this.props=x,this.context=j,this.refs=De,this.updater=_e||se}var vt=Ot.prototype=new st;vt.constructor=Ot,me(vt,Ae.prototype),vt.isPureReactComponent=!0;function Kt(){var x={current:null};return Object.seal(x),x}var nr=Array.isArray;function or(x){return nr(x)}function Ue(x){{var j=typeof Symbol=="function"&&Symbol.toStringTag,_e=j&&x[Symbol.toStringTag]||x.constructor.name||"Object";return _e}}function ar(x){try{return ur(x),!1}catch(j){return!0}}function ur(x){return""+x}function cr(x){if(ar(x))return ue("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ue(x)),ur(x)}function sr(x,j,_e){var ke=x.displayName;if(ke)return ke;var Qe=j.displayName||j.name||"";return Qe!==""?_e+"("+Qe+")":_e}function Er(x){return x.displayName||"Context"}function kr(x){if(x==null)return null;if(typeof x.tag=="number"&&ue("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 i:return"Portal";case d:return"Profiler";case s:return"StrictMode";case _:return"Suspense";case b:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var j=x;return Er(j)+".Consumer";case c:var _e=x;return Er(_e._context)+".Provider";case p:return sr(x,x.render,"ForwardRef");case S:var ke=x.displayName||null;return ke!==null?ke:kr(x.type)||"Memo";case T:{var Qe=x,Bt=Qe._payload,bt=Qe._init;try{return kr(bt(Bt))}catch(qt){return null}}}return null}var ta=Object.prototype.hasOwnProperty,Ua={key:!0,ref:!0,__self:!0,__source:!0},xa,Ra,Kr;Kr={};function ra(x){if(ta.call(x,"ref")){var j=Object.getOwnPropertyDescriptor(x,"ref").get;if(j&&j.isReactWarning)return!1}return x.ref!==void 0}function $r(x){if(ta.call(x,"key")){var j=Object.getOwnPropertyDescriptor(x,"key").get;if(j&&j.isReactWarning)return!1}return x.key!==void 0}function Da(x,j){var _e=function(){xa||(xa=!0,ue("%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)",j))};_e.isReactWarning=!0,Object.defineProperty(x,"key",{get:_e,configurable:!0})}function Rr(x,j){var _e=function(){Ra||(Ra=!0,ue("%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)",j))};_e.isReactWarning=!0,Object.defineProperty(x,"ref",{get:_e,configurable:!0})}function Mr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var j=kr(F.current.type);Kr[j]||(ue('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',j,x.ref),Kr[j]=!0)}}var Gr=function(x,j,_e,ke,Qe,Bt,bt){var qt={$$typeof:a,type:x,key:j,ref:_e,props:bt,_owner:Bt};return qt._store={},Object.defineProperty(qt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(qt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty(qt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Qe}),Object.freeze&&(Object.freeze(qt.props),Object.freeze(qt)),qt};function Ma(x,j,_e){var ke,Qe={},Bt=null,bt=null,qt=null,gr=null;if(j!=null){ra(j)&&(bt=j.ref,Mr(j)),$r(j)&&(cr(j.key),Bt=""+j.key),qt=j.__self===void 0?null:j.__self,gr=j.__source===void 0?null:j.__source;for(ke in j)ta.call(j,ke)&&!Ua.hasOwnProperty(ke)&&(Qe[ke]=j[ke])}var Br=arguments.length-2;if(Br===1)Qe.children=_e;else if(Br>1){for(var oa=Array(Br),ia=0;ia<Br;ia++)oa[ia]=arguments[ia+2];Object.freeze&&Object.freeze(oa),Qe.children=oa}if(x&&x.defaultProps){var da=x.defaultProps;for(ke in da)Qe[ke]===void 0&&(Qe[ke]=da[ke])}if(Bt||bt){var Ta=typeof x=="function"?x.displayName||x.name||"Unknown":x;Bt&&Da(Qe,Ta),bt&&Rr(Qe,Ta)}return Gr(x,Bt,bt,qt,gr,F.current,Qe)}function Fe(x,j){var _e=Gr(x.type,j,x.ref,x._self,x._source,x._owner,x.props);return _e}function pt(x,j,_e){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var ke,Qe=me({},x.props),Bt=x.key,bt=x.ref,qt=x._self,gr=x._source,Br=x._owner;if(j!=null){ra(j)&&(bt=j.ref,Br=F.current),$r(j)&&(cr(j.key),Bt=""+j.key);var oa;x.type&&x.type.defaultProps&&(oa=x.type.defaultProps);for(ke in j)ta.call(j,ke)&&!Ua.hasOwnProperty(ke)&&(j[ke]===void 0&&oa!==void 0?Qe[ke]=oa[ke]:Qe[ke]=j[ke])}var ia=arguments.length-2;if(ia===1)Qe.children=_e;else if(ia>1){for(var da=Array(ia),Ta=0;Ta<ia;Ta++)da[Ta]=arguments[Ta+2];Qe.children=da}return Gr(x.type,Bt,bt,qt,gr,Br,Qe)}function St(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Xt=".",$t=":";function Nr(x){var j=/[=:]/g,_e={"=":"=0",":":"=2"},ke=x.replace(j,function(Qe){return _e[Qe]});return"$"+ke}var yr=!1,ca=/\/+/g;function G(x){return x.replace(ca,"$&/")}function ae(x,j){return typeof x=="object"&&x!==null&&x.key!=null?(cr(x.key),Nr(""+x.key)):j.toString(36)}function B(x,j,_e,ke,Qe){var Bt=typeof x;(Bt==="undefined"||Bt==="boolean")&&(x=null);var bt=!1;if(x===null)bt=!0;else switch(Bt){case"string":case"number":bt=!0;break;case"object":switch(x.$$typeof){case a:case i:bt=!0}}if(bt){var qt=x,gr=Qe(qt),Br=ke===""?Xt+ae(qt,0):ke;if(or(gr)){var oa="";Br!=null&&(oa=G(Br)+"/"),B(gr,j,oa,"",function(Zf){return Zf})}else gr!=null&&(St(gr)&&(gr.key&&(!qt||qt.key!==gr.key)&&cr(gr.key),gr=Fe(gr,_e+(gr.key&&(!qt||qt.key!==gr.key)?G(""+gr.key)+"/":"")+Br)),j.push(gr));return 1}var ia,da,Ta=0,Xa=ke===""?Xt:ke+$t;if(or(x))for(var Sd=0;Sd<x.length;Sd++)ia=x[Sd],da=Xa+ae(ia,Sd),Ta+=B(ia,j,_e,da,Qe);else{var Ja=A(x);if(typeof Ja=="function"){var wd=x;Ja===wd.entries&&(yr||re("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),yr=!0);for(var xm=Ja.call(wd),Qf,O_=0;!(Qf=xm.next()).done;)ia=Qf.value,da=Xa+ae(ia,O_++),Ta+=B(ia,j,_e,da,Qe)}else if(Bt==="object"){var As=String(x);throw new Error("Objects are not valid as a React child (found: "+(As==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":As)+"). If you meant to render a collection of children, use an array instead.")}}return Ta}function H(x,j,_e){if(x==null)return x;var ke=[],Qe=0;return B(x,ke,"","",function(Bt){return j.call(_e,Bt,Qe++)}),ke}function J(x){var j=0;return H(x,function(){j++}),j}function ve(x,j,_e){H(x,function(){j.apply(this,arguments)},_e)}function ce(x){return H(x,function(j){return j})||[]}function Be(x){if(!St(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Pe(x){var j={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};j.Provider={$$typeof:c,_context:j};var _e=!1,ke=!1,Qe=!1;{var Bt={$$typeof:h,_context:j};Object.defineProperties(Bt,{Provider:{get:function(){return ke||(ke=!0,ue("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),j.Provider},set:function(bt){j.Provider=bt}},_currentValue:{get:function(){return j._currentValue},set:function(bt){j._currentValue=bt}},_currentValue2:{get:function(){return j._currentValue2},set:function(bt){j._currentValue2=bt}},_threadCount:{get:function(){return j._threadCount},set:function(bt){j._threadCount=bt}},Consumer:{get:function(){return _e||(_e=!0,ue("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),j.Consumer}},displayName:{get:function(){return j.displayName},set:function(bt){Qe||(re("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",bt),Qe=!0)}}}),j.Consumer=Bt}return j._currentRenderer=null,j._currentRenderer2=null,j}var ze=-1,Ye=0,Ne=1,Ze=2;function M(x){if(x._status===ze){var j=x._result,_e=j();if(_e.then(function(Bt){if(x._status===Ye||x._status===ze){var bt=x;bt._status=Ne,bt._result=Bt}},function(Bt){if(x._status===Ye||x._status===ze){var bt=x;bt._status=Ze,bt._result=Bt}}),x._status===ze){var ke=x;ke._status=Ye,ke._result=_e}}if(x._status===Ne){var Qe=x._result;return Qe===void 0&&ue(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
var aV=Object.create;var Tg=Object.defineProperty;var nV=Object.getOwnPropertyDescriptor;var oV=Object.getOwnPropertyNames;var iV=Object.getPrototypeOf,lV=Object.prototype.hasOwnProperty;var sV=(r,a)=>()=>(r&&(a=r(r=0)),a);var qe=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Gc=(r,a)=>{for(var i in a)Tg(r,i,{get:a[i],enumerable:!0})},xg=(r,a,i,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of oV(a))!lV.call(r,s)&&s!==i&&Tg(r,s,{get:()=>a[s],enumerable:!(l=nV(a,s))||l.enumerable});return r},no=(r,a,i)=>(xg(r,a,"default"),i&&xg(i,a,"default")),K=(r,a,i)=>(i=r!=null?aV(iV(r)):{},xg(a||!r||!r.__esModule?Tg(i,"default",{value:r,enumerable:!0}):i,r)),uV=r=>xg(Tg({},"__esModule",{value:!0}),r);var Jr=(r,a,i)=>new Promise((l,s)=>{var d=p=>{try{h(i.next(p))}catch(_){s(_)}},c=p=>{try{h(i.throw(p))}catch(_){s(_)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((i=i.apply(r,a)).next())});var YT=qe((pr,Eg)=>{"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"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,D="@@iterator";function A(x){if(x===null||typeof x!="object")return null;var j=k&&x[k]||x[D];return typeof j=="function"?j:null}var q={current:null},I={transition:null},$={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},W={},P=null;function oe(x){P=x}W.setExtraStackFrame=function(x){P=x},W.getCurrentStack=null,W.getStackAddendum=function(){var x="";P&&(x+=P);var j=W.getCurrentStack;return j&&(x+=j()||""),x};var be=!1,Q=!1,he=!1,le=!1,Ce=!1,V={ReactCurrentDispatcher:q,ReactCurrentBatchConfig:I,ReactCurrentOwner:F};V.ReactDebugCurrentFrame=W,V.ReactCurrentActQueue=$;function re(x){{for(var j=arguments.length,_e=new Array(j>1?j-1:0),ke=1;ke<j;ke++)_e[ke-1]=arguments[ke];z("warn",x,_e)}}function ue(x){{for(var j=arguments.length,_e=new Array(j>1?j-1:0),ke=1;ke<j;ke++)_e[ke-1]=arguments[ke];z("error",x,_e)}}function z(x,j,_e){{var ke=V.ReactDebugCurrentFrame,Qe=ke.getStackAddendum();Qe!==""&&(j+="%s",_e=_e.concat([Qe]));var Bt=_e.map(function(bt){return String(bt)});Bt.unshift("Warning: "+j),Function.prototype.apply.call(console[x],console,Bt)}}var ee={};function te(x,j){{var _e=x.constructor,ke=_e&&(_e.displayName||_e.name)||"ReactClass",Qe=ke+"."+j;if(ee[Qe])return;ue("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.",j,ke),ee[Qe]=!0}}var se={isMounted:function(x){return!1},enqueueForceUpdate:function(x,j,_e){te(x,"forceUpdate")},enqueueReplaceState:function(x,j,_e,ke){te(x,"replaceState")},enqueueSetState:function(x,j,_e,ke){te(x,"setState")}},me=Object.assign,De={};Object.freeze(De);function Ae(x,j,_e){this.props=x,this.context=j,this.refs=De,this.updater=_e||se}Ae.prototype.isReactComponent={},Ae.prototype.setState=function(x,j){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,j,"setState")},Ae.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Oe={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)."]},je=function(x,j){Object.defineProperty(Ae.prototype,x,{get:function(){re("%s(...) is deprecated in plain JavaScript React classes. %s",j[0],j[1])}})};for(var Xe in Oe)Oe.hasOwnProperty(Xe)&&je(Xe,Oe[Xe])}function st(){}st.prototype=Ae.prototype;function Ot(x,j,_e){this.props=x,this.context=j,this.refs=De,this.updater=_e||se}var vt=Ot.prototype=new st;vt.constructor=Ot,me(vt,Ae.prototype),vt.isPureReactComponent=!0;function Kt(){var x={current:null};return Object.seal(x),x}var nr=Array.isArray;function or(x){return nr(x)}function Ue(x){{var j=typeof Symbol=="function"&&Symbol.toStringTag,_e=j&&x[Symbol.toStringTag]||x.constructor.name||"Object";return _e}}function ar(x){try{return ur(x),!1}catch(j){return!0}}function ur(x){return""+x}function cr(x){if(ar(x))return ue("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ue(x)),ur(x)}function sr(x,j,_e){var ke=x.displayName;if(ke)return ke;var Qe=j.displayName||j.name||"";return Qe!==""?_e+"("+Qe+")":_e}function Er(x){return x.displayName||"Context"}function kr(x){if(x==null)return null;if(typeof x.tag=="number"&&ue("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 i:return"Portal";case d:return"Profiler";case s:return"StrictMode";case _:return"Suspense";case b:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var j=x;return Er(j)+".Consumer";case c:var _e=x;return Er(_e._context)+".Provider";case p:return sr(x,x.render,"ForwardRef");case S:var ke=x.displayName||null;return ke!==null?ke:kr(x.type)||"Memo";case T:{var Qe=x,Bt=Qe._payload,bt=Qe._init;try{return kr(bt(Bt))}catch(qt){return null}}}return null}var ta=Object.prototype.hasOwnProperty,Ua={key:!0,ref:!0,__self:!0,__source:!0},xa,Ra,Kr;Kr={};function ra(x){if(ta.call(x,"ref")){var j=Object.getOwnPropertyDescriptor(x,"ref").get;if(j&&j.isReactWarning)return!1}return x.ref!==void 0}function $r(x){if(ta.call(x,"key")){var j=Object.getOwnPropertyDescriptor(x,"key").get;if(j&&j.isReactWarning)return!1}return x.key!==void 0}function Da(x,j){var _e=function(){xa||(xa=!0,ue("%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)",j))};_e.isReactWarning=!0,Object.defineProperty(x,"key",{get:_e,configurable:!0})}function Rr(x,j){var _e=function(){Ra||(Ra=!0,ue("%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)",j))};_e.isReactWarning=!0,Object.defineProperty(x,"ref",{get:_e,configurable:!0})}function Mr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var j=kr(F.current.type);Kr[j]||(ue('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',j,x.ref),Kr[j]=!0)}}var Gr=function(x,j,_e,ke,Qe,Bt,bt){var qt={$$typeof:a,type:x,key:j,ref:_e,props:bt,_owner:Bt};return qt._store={},Object.defineProperty(qt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(qt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty(qt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Qe}),Object.freeze&&(Object.freeze(qt.props),Object.freeze(qt)),qt};function Ma(x,j,_e){var ke,Qe={},Bt=null,bt=null,qt=null,gr=null;if(j!=null){ra(j)&&(bt=j.ref,Mr(j)),$r(j)&&(cr(j.key),Bt=""+j.key),qt=j.__self===void 0?null:j.__self,gr=j.__source===void 0?null:j.__source;for(ke in j)ta.call(j,ke)&&!Ua.hasOwnProperty(ke)&&(Qe[ke]=j[ke])}var Br=arguments.length-2;if(Br===1)Qe.children=_e;else if(Br>1){for(var oa=Array(Br),ia=0;ia<Br;ia++)oa[ia]=arguments[ia+2];Object.freeze&&Object.freeze(oa),Qe.children=oa}if(x&&x.defaultProps){var da=x.defaultProps;for(ke in da)Qe[ke]===void 0&&(Qe[ke]=da[ke])}if(Bt||bt){var Ta=typeof x=="function"?x.displayName||x.name||"Unknown":x;Bt&&Da(Qe,Ta),bt&&Rr(Qe,Ta)}return Gr(x,Bt,bt,qt,gr,F.current,Qe)}function Fe(x,j){var _e=Gr(x.type,j,x.ref,x._self,x._source,x._owner,x.props);return _e}function pt(x,j,_e){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var ke,Qe=me({},x.props),Bt=x.key,bt=x.ref,qt=x._self,gr=x._source,Br=x._owner;if(j!=null){ra(j)&&(bt=j.ref,Br=F.current),$r(j)&&(cr(j.key),Bt=""+j.key);var oa;x.type&&x.type.defaultProps&&(oa=x.type.defaultProps);for(ke in j)ta.call(j,ke)&&!Ua.hasOwnProperty(ke)&&(j[ke]===void 0&&oa!==void 0?Qe[ke]=oa[ke]:Qe[ke]=j[ke])}var ia=arguments.length-2;if(ia===1)Qe.children=_e;else if(ia>1){for(var da=Array(ia),Ta=0;Ta<ia;Ta++)da[Ta]=arguments[Ta+2];Qe.children=da}return Gr(x.type,Bt,bt,qt,gr,Br,Qe)}function St(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var Xt=".",$t=":";function Nr(x){var j=/[=:]/g,_e={"=":"=0",":":"=2"},ke=x.replace(j,function(Qe){return _e[Qe]});return"$"+ke}var yr=!1,ca=/\/+/g;function G(x){return x.replace(ca,"$&/")}function ae(x,j){return typeof x=="object"&&x!==null&&x.key!=null?(cr(x.key),Nr(""+x.key)):j.toString(36)}function B(x,j,_e,ke,Qe){var Bt=typeof x;(Bt==="undefined"||Bt==="boolean")&&(x=null);var bt=!1;if(x===null)bt=!0;else switch(Bt){case"string":case"number":bt=!0;break;case"object":switch(x.$$typeof){case a:case i:bt=!0}}if(bt){var qt=x,gr=Qe(qt),Br=ke===""?Xt+ae(qt,0):ke;if(or(gr)){var oa="";Br!=null&&(oa=G(Br)+"/"),B(gr,j,oa,"",function(Zf){return Zf})}else gr!=null&&(St(gr)&&(gr.key&&(!qt||qt.key!==gr.key)&&cr(gr.key),gr=Fe(gr,_e+(gr.key&&(!qt||qt.key!==gr.key)?G(""+gr.key)+"/":"")+Br)),j.push(gr));return 1}var ia,da,Ta=0,Xa=ke===""?Xt:ke+$t;if(or(x))for(var Sd=0;Sd<x.length;Sd++)ia=x[Sd],da=Xa+ae(ia,Sd),Ta+=B(ia,j,_e,da,Qe);else{var Ja=A(x);if(typeof Ja=="function"){var Cd=x;Ja===Cd.entries&&(yr||re("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),yr=!0);for(var xm=Ja.call(Cd),Qf,O_=0;!(Qf=xm.next()).done;)ia=Qf.value,da=Xa+ae(ia,O_++),Ta+=B(ia,j,_e,da,Qe)}else if(Bt==="object"){var As=String(x);throw new Error("Objects are not valid as a React child (found: "+(As==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":As)+"). If you meant to render a collection of children, use an array instead.")}}return Ta}function H(x,j,_e){if(x==null)return x;var ke=[],Qe=0;return B(x,ke,"","",function(Bt){return j.call(_e,Bt,Qe++)}),ke}function J(x){var j=0;return H(x,function(){j++}),j}function ve(x,j,_e){H(x,function(){j.apply(this,arguments)},_e)}function ce(x){return H(x,function(j){return j})||[]}function Be(x){if(!St(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Pe(x){var j={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};j.Provider={$$typeof:c,_context:j};var _e=!1,ke=!1,Qe=!1;{var Bt={$$typeof:h,_context:j};Object.defineProperties(Bt,{Provider:{get:function(){return ke||(ke=!0,ue("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),j.Provider},set:function(bt){j.Provider=bt}},_currentValue:{get:function(){return j._currentValue},set:function(bt){j._currentValue=bt}},_currentValue2:{get:function(){return j._currentValue2},set:function(bt){j._currentValue2=bt}},_threadCount:{get:function(){return j._threadCount},set:function(bt){j._threadCount=bt}},Consumer:{get:function(){return _e||(_e=!0,ue("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),j.Consumer}},displayName:{get:function(){return j.displayName},set:function(bt){Qe||(re("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",bt),Qe=!0)}}}),j.Consumer=Bt}return j._currentRenderer=null,j._currentRenderer2=null,j}var ze=-1,Ye=0,Ne=1,Ze=2;function M(x){if(x._status===ze){var j=x._result,_e=j();if(_e.then(function(Bt){if(x._status===Ye||x._status===ze){var bt=x;bt._status=Ne,bt._result=Bt}},function(Bt){if(x._status===Ye||x._status===ze){var bt=x;bt._status=Ze,bt._result=Bt}}),x._status===ze){var ke=x;ke._status=Ye,ke._result=_e}}if(x._status===Ne){var Qe=x._result;return Qe===void 0&&ue(`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,7 +6,7 @@ Your code should look like:
|
|
|
6
6
|
Did you accidentally put curly braces around the import?`,Qe),"default"in Qe||ue(`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'))`,Qe),Qe.default}else throw x._result}function U(x){var j={_status:ze,_result:x},_e={$$typeof:T,_payload:j,_init:M};{var ke,Qe;Object.defineProperties(_e,{defaultProps:{configurable:!0,get:function(){return ke},set:function(Bt){ue("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."),ke=Bt,Object.defineProperty(_e,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Qe},set:function(Bt){ue("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."),Qe=Bt,Object.defineProperty(_e,"propTypes",{enumerable:!0})}}})}return _e}function ne(x){x!=null&&x.$$typeof===S?ue("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?ue("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&ue("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)&&ue("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var j={$$typeof:p,render:x};{var _e;Object.defineProperty(j,"displayName",{enumerable:!1,configurable:!0,get:function(){return _e},set:function(ke){_e=ke,!x.name&&!x.displayName&&(x.displayName=ke)}})}return j}var de;de=Symbol.for("react.module.reference");function We(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===d||
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,Qe),Qe.default}else throw x._result}function U(x){var j={_status:ze,_result:x},_e={$$typeof:T,_payload:j,_init:M};{var ke,Qe;Object.defineProperties(_e,{defaultProps:{configurable:!0,get:function(){return ke},set:function(Bt){ue("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."),ke=Bt,Object.defineProperty(_e,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Qe},set:function(Bt){ue("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."),Qe=Bt,Object.defineProperty(_e,"propTypes",{enumerable:!0})}}})}return _e}function ne(x){x!=null&&x.$$typeof===S?ue("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?ue("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&ue("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)&&ue("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var j={$$typeof:p,render:x};{var _e;Object.defineProperty(j,"displayName",{enumerable:!1,configurable:!0,get:function(){return _e},set:function(ke){_e=ke,!x.name&&!x.displayName&&(x.displayName=ke)}})}return j}var de;de=Symbol.for("react.module.reference");function We(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===d||Ce||x===s||x===_||x===b||le||x===w||be||Q||he||typeof x=="object"&&x!==null&&(x.$$typeof===T||x.$$typeof===S||x.$$typeof===c||x.$$typeof===h||x.$$typeof===p||x.$$typeof===de||x.getModuleId!==void 0))}function Ie(x,j){We(x)||ue("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x);var _e={$$typeof:S,type:x,compare:j===void 0?null:j};{var ke;Object.defineProperty(_e,"displayName",{enumerable:!1,configurable:!0,get:function(){return ke},set:function(Qe){ke=Qe,!x.name&&!x.displayName&&(x.displayName=Qe)}})}return _e}function L(){var x=q.current;return x===null&&ue(`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
|
|
@@ -14,22 +14,22 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
14
14
|
`+vc+x}}var hl=!1,Su;{var pd=typeof WeakMap=="function"?WeakMap:Map;Su=new pd}function mm(x,j){if(!x||hl)return"";{var _e=Su.get(x);if(_e!==void 0)return _e}var ke;hl=!0;var Qe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Bt;Bt=Gf.current,Gf.current=null,mc();try{if(j){var bt=function(){throw Error()};if(Object.defineProperty(bt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(bt,[])}catch(Xa){ke=Xa}Reflect.construct(x,[],bt)}else{try{bt.call()}catch(Xa){ke=Xa}x.call(bt.prototype)}}else{try{throw Error()}catch(Xa){ke=Xa}x()}}catch(Xa){if(Xa&&ke&&typeof Xa.stack=="string"){for(var qt=Xa.stack.split(`
|
|
15
15
|
`),gr=ke.stack.split(`
|
|
16
16
|
`),Br=qt.length-1,oa=gr.length-1;Br>=1&&oa>=0&&qt[Br]!==gr[oa];)oa--;for(;Br>=1&&oa>=0;Br--,oa--)if(qt[Br]!==gr[oa]){if(Br!==1||oa!==1)do if(Br--,oa--,oa<0||qt[Br]!==gr[oa]){var ia=`
|
|
17
|
-
`+qt[Br].replace(" at new "," at ");return x.displayName&&ia.includes("<anonymous>")&&(ia=ia.replace("<anonymous>",x.displayName)),typeof x=="function"&&Su.set(x,ia),ia}while(Br>=1&&oa>=0);break}}}finally{hl=!1,Gf.current=Bt,$f(),Error.prepareStackTrace=Qe}var da=x?x.displayName||x.name:"",Ta=da?yu(da):"";return typeof x=="function"&&Su.set(x,Ta),Ta}function qf(x,j,_e){return mm(x,!1)}function A_(x){var j=x.prototype;return!!(j&&j.isReactComponent)}function
|
|
17
|
+
`+qt[Br].replace(" at new "," at ");return x.displayName&&ia.includes("<anonymous>")&&(ia=ia.replace("<anonymous>",x.displayName)),typeof x=="function"&&Su.set(x,ia),ia}while(Br>=1&&oa>=0);break}}}finally{hl=!1,Gf.current=Bt,$f(),Error.prepareStackTrace=Qe}var da=x?x.displayName||x.name:"",Ta=da?yu(da):"";return typeof x=="function"&&Su.set(x,Ta),Ta}function qf(x,j,_e){return mm(x,!1)}function A_(x){var j=x.prototype;return!!(j&&j.isReactComponent)}function Cu(x,j,_e){if(x==null)return"";if(typeof x=="function")return mm(x,A_(x));if(typeof x=="string")return yu(x);switch(x){case _:return yu("Suspense");case b:return yu("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return qf(x.render);case S:return Cu(x.type,j,_e);case T:{var ke=x,Qe=ke._payload,Bt=ke._init;try{return Cu(Bt(Qe),j,_e)}catch(bt){}}}return""}var vm={},hd=V.ReactDebugCurrentFrame;function md(x){if(x){var j=x._owner,_e=Cu(x.type,x._source,j?j.type:null);hd.setExtraStackFrame(_e)}else hd.setExtraStackFrame(null)}function gm(x,j,_e,ke,Qe){{var Bt=Function.call.bind(ta);for(var bt in x)if(Bt(x,bt)){var qt=void 0;try{if(typeof x[bt]!="function"){var gr=Error((ke||"React class")+": "+_e+" type `"+bt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[bt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw gr.name="Invariant Violation",gr}qt=x[bt](j,bt,ke,_e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Br){qt=Br}qt&&!(qt instanceof Error)&&(md(Qe),ue("%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",_e,bt,typeof qt),md(null)),qt instanceof Error&&!(qt.message in vm)&&(vm[qt.message]=!0,md(Qe),ue("Failed %s type: %s",_e,qt.message),md(null))}}}function wu(x){if(x){var j=x._owner,_e=Cu(x.type,x._source,j?j.type:null);oe(_e)}else oe(null)}var vd;vd=!1;function Lr(){if(F.current){var x=kr(F.current.type);if(x)return`
|
|
18
18
|
|
|
19
19
|
Check the render method of \``+x+"`."}return""}function N_(x){if(x!==void 0){var j=x.fileName.replace(/^.*[\\\/]/,""),_e=x.lineNumber;return`
|
|
20
20
|
|
|
21
21
|
Check your code at `+j+":"+_e+"."}return""}function _m(x){return x!=null?N_(x.__source):""}var Jt={};function bm(x){var j=Lr();if(!j){var _e=typeof x=="string"?x:x.displayName||x.name;_e&&(j=`
|
|
22
22
|
|
|
23
|
-
Check the top-level render call using <`+_e+">.")}return j}function Pn(x,j){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var _e=bm(j);if(!Jt[_e]){Jt[_e]=!0;var ke="";x&&x._owner&&x._owner!==F.current&&(ke=" It was passed a child from "+kr(x._owner.type)+"."),Cu(x),ue('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_e,ke),Cu(null)}}}function xu(x,j){if(typeof x=="object"){if(or(x))for(var _e=0;_e<x.length;_e++){var ke=x[_e];St(ke)&&Pn(ke,j)}else if(St(x))x._store&&(x._store.validated=!0);else if(x){var Qe=A(x);if(typeof Qe=="function"&&Qe!==x.entries)for(var Bt=Qe.call(x),bt;!(bt=Bt.next()).done;)St(bt.value)&&Pn(bt.value,j)}}}function Tu(x){{var j=x.type;if(j==null||typeof j=="string")return;var _e;if(typeof j=="function")_e=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===p||j.$$typeof===S))_e=j.propTypes;else return;if(_e){var ke=kr(j);gm(_e,x.props,"prop",ke,x)}else if(j.PropTypes!==void 0&&!vd){vd=!0;var Qe=kr(j);ue("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Qe||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&ue("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function L_(x){{for(var j=Object.keys(x.props),_e=0;_e<j.length;_e++){var ke=j[_e];if(ke!=="children"&&ke!=="key"){Cu(x),ue("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),Cu(null);break}}x.ref!==null&&(Cu(x),ue("Invalid attribute `ref` supplied to `React.Fragment`."),Cu(null))}}function cn(x,j,_e){var ke=We(x);if(!ke){var Qe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Qe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Bt=_m(j);Bt?Qe+=Bt:Qe+=Lr();var bt;x===null?bt="null":or(x)?bt="array":x!==void 0&&x.$$typeof===a?(bt="<"+(kr(x.type)||"Unknown")+" />",Qe=" Did you accidentally export a JSX literal instead of a component?"):bt=typeof x,ue("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",bt,Qe)}var qt=Ma.apply(this,arguments);if(qt==null)return qt;if(ke)for(var gr=2;gr<arguments.length;gr++)xu(arguments[gr],x);return x===l?L_(qt):Tu(qt),qt}var ba=!1;function B_(x){var j=cn.bind(null,x);return j.type=x,ba||(ba=!0,re("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(j,"type",{enumerable:!1,get:function(){return re("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),j}function ml(x,j,_e){for(var ke=pt.apply(this,arguments),Qe=2;Qe<arguments.length;Qe++)xu(arguments[Qe],ke.type);return Tu(ke),ke}function So(x,j){var _e=I.transition;I.transition={};var ke=I.transition;I.transition._updatedFibers=new Set;try{x()}finally{if(I.transition=_e,_e===null&&ke._updatedFibers){var Qe=ke._updatedFibers.size;Qe>10&&re("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."),ke._updatedFibers.clear()}}}var Al=!1,gd=null;function Kf(x){if(gd===null)try{var j=("require"+Math.random()).slice(0,7),_e=Eg&&Eg[j];gd=_e.call(Eg,"timers").setImmediate}catch(ke){gd=function(Qe){Al===!1&&(Al=!0,typeof MessageChannel=="undefined"&&ue("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 Bt=new MessageChannel;Bt.port1.onmessage=Qe,Bt.port2.postMessage(void 0)}}return gd(x)}var Ds=0,Xf=!1;function ym(x){{var j=Ds;Ds++,$.current===null&&($.current=[]);var _e=$.isBatchingLegacy,ke;try{if($.isBatchingLegacy=!0,ke=x(),!_e&&$.didScheduleLegacyUpdate){var Qe=$.current;Qe!==null&&($.didScheduleLegacyUpdate=!1,bd(Qe))}}catch(da){throw _d(j),da}finally{$.isBatchingLegacy=_e}if(ke!==null&&typeof ke=="object"&&typeof ke.then=="function"){var Bt=ke,bt=!1,qt={then:function(da,Ta){bt=!0,Bt.then(function(Xa){_d(j),Ds===0?Jf(Xa,da,Ta):da(Xa)},function(Xa){_d(j),Ta(Xa)})}};return!Xf&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){bt||(Xf=!0,ue("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 () => ...);"))}),qt}else{var gr=ke;if(_d(j),Ds===0){var Br=$.current;Br!==null&&(bd(Br),$.current=null);var oa={then:function(da,Ta){$.current===null?($.current=[],Jf(gr,da,Ta)):da(gr)}};return oa}else{var ia={then:function(da,Ta){da(gr)}};return ia}}}}function _d(x){x!==Ds-1&&ue("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ds=x}function Jf(x,j,_e){{var ke=$.current;if(ke!==null)try{bd(ke),Kf(function(){ke.length===0?($.current=null,j(x)):Jf(x,j,_e)})}catch(Qe){_e(Qe)}else j(x)}}var Eu=!1;function bd(x){if(!Eu){Eu=!0;var j=0;try{for(;j<x.length;j++){var _e=x[j];do _e=_e(!0);while(_e!==null)}x.length=0}catch(ke){throw x=x.slice(j+1),ke}finally{Eu=!1}}}var yd=cn,Sm=ml,wm=B_,Cm={map:H,forEach:ve,count:J,toArray:ce,only:Be};pr.Children=Cm,pr.Component=Ae,pr.Fragment=l,pr.Profiler=d,pr.PureComponent=Ot,pr.StrictMode=s,pr.Suspense=_,pr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,pr.act=ym,pr.cloneElement=Sm,pr.createContext=Pe,pr.createElement=yd,pr.createFactory=wm,pr.createRef=Kt,pr.forwardRef=ne,pr.isValidElement=St,pr.lazy=U,pr.memo=Ie,pr.startTransition=So,pr.unstable_act=ym,pr.useCallback=xt,pr.useContext=Y,pr.useDebugValue=Ir,pr.useDeferredValue=aa,pr.useEffect=ft,pr.useId=na,pr.useImperativeHandle=It,pr.useInsertionEffect=et,pr.useLayoutEffect=Je,pr.useMemo=Et,pr.useReducer=Ee,pr.useRef=Ve,pr.useState=ge,pr.useSyncExternalStore=Va,pr.useTransition=Ia,pr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var er=qe((FG,$T)=>{"use strict";$T.exports=YT()});var GT=qe(sa=>{"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,i=5;function l(Fe,pt){var St=Fe.length;Fe.push(pt),c(Fe,pt,St)}function s(Fe){return Fe.length===0?null:Fe[0]}function d(Fe){if(Fe.length===0)return null;var pt=Fe[0],St=Fe.pop();return St!==pt&&(Fe[0]=St,h(Fe,St,0)),pt}function c(Fe,pt,St){for(var Xt=St;Xt>0;){var $t=Xt-1>>>1,Nr=Fe[$t];if(p(Nr,pt)>0)Fe[$t]=pt,Fe[Xt]=Nr,Xt=$t;else return}}function h(Fe,pt,St){for(var Xt=St,$t=Fe.length,Nr=$t>>>1;Xt<Nr;){var yr=(Xt+1)*2-1,ca=Fe[yr],G=yr+1,ae=Fe[G];if(p(ca,pt)<0)G<$t&&p(ae,ca)<0?(Fe[Xt]=ae,Fe[G]=pt,Xt=G):(Fe[Xt]=ca,Fe[yr]=pt,Xt=yr);else if(G<$t&&p(ae,pt)<0)Fe[Xt]=ae,Fe[G]=pt,Xt=G;else return}}function p(Fe,pt){var St=Fe.sortIndex-pt.sortIndex;return St!==0?St:Fe.id-pt.id}var _=1,b=2,S=3,T=4,C=5;function k(Fe,pt){}var D=typeof performance=="object"&&typeof performance.now=="function";if(D){var A=performance;sa.unstable_now=function(){return A.now()}}else{var q=Date,I=q.now();sa.unstable_now=function(){return q.now()-I}}var $=1073741823,F=-1,W=250,P=5e3,oe=1e4,be=$,Q=[],he=[],le=1,we=null,V=S,re=!1,ue=!1,z=!1,ee=typeof setTimeout=="function"?setTimeout:null,te=typeof clearTimeout=="function"?clearTimeout:null,se=typeof setImmediate!="undefined"?setImmediate:null,me=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function De(Fe){for(var pt=s(he);pt!==null;){if(pt.callback===null)d(he);else if(pt.startTime<=Fe)d(he),pt.sortIndex=pt.expirationTime,l(Q,pt);else return;pt=s(he)}}function Ae(Fe){if(z=!1,De(Fe),!ue)if(s(Q)!==null)ue=!0,Da(Oe);else{var pt=s(he);pt!==null&&Rr(Ae,pt.startTime-Fe)}}function Oe(Fe,pt){ue=!1,z&&(z=!1,Mr()),re=!0;var St=V;try{if(a)try{return je(Fe,pt)}catch($t){if(we!==null){var Xt=sa.unstable_now();we.isQueued=!1}throw $t}else return je(Fe,pt)}finally{we=null,V=St,re=!1}}function je(Fe,pt){var St=pt;for(De(St),we=s(Q);we!==null&&!r&&!(we.expirationTime>St&&(!Fe||ta()));){var Xt=we.callback;if(typeof Xt=="function"){we.callback=null,V=we.priorityLevel;var $t=we.expirationTime<=St,Nr=Xt($t);St=sa.unstable_now(),typeof Nr=="function"?we.callback=Nr:we===s(Q)&&d(Q),De(St)}else d(Q);we=s(Q)}if(we!==null)return!0;var yr=s(he);return yr!==null&&Rr(Ae,yr.startTime-St),!1}function Xe(Fe,pt){switch(Fe){case _:case b:case S:case T:case C:break;default:Fe=S}var St=V;V=Fe;try{return pt()}finally{V=St}}function st(Fe){var pt;switch(V){case _:case b:case S:pt=S;break;default:pt=V;break}var St=V;V=pt;try{return Fe()}finally{V=St}}function Ot(Fe){var pt=V;return function(){var St=V;V=pt;try{return Fe.apply(this,arguments)}finally{V=St}}}function vt(Fe,pt,St){var Xt=sa.unstable_now(),$t;if(typeof St=="object"&&St!==null){var Nr=St.delay;typeof Nr=="number"&&Nr>0?$t=Xt+Nr:$t=Xt}else $t=Xt;var yr;switch(Fe){case _:yr=F;break;case b:yr=W;break;case C:yr=be;break;case T:yr=oe;break;case S:default:yr=P;break}var ca=$t+yr,G={id:le++,callback:pt,priorityLevel:Fe,startTime:$t,expirationTime:ca,sortIndex:-1};return $t>Xt?(G.sortIndex=$t,l(he,G),s(Q)===null&&G===s(he)&&(z?Mr():z=!0,Rr(Ae,$t-Xt))):(G.sortIndex=ca,l(Q,G),!ue&&!re&&(ue=!0,Da(Oe))),G}function Kt(){}function nr(){!ue&&!re&&(ue=!0,Da(Oe))}function or(){return s(Q)}function Ue(Fe){Fe.callback=null}function ar(){return V}var ur=!1,cr=null,sr=-1,Er=i,kr=-1;function ta(){var Fe=sa.unstable_now()-kr;return!(Fe<Er)}function Ua(){}function xa(Fe){if(Fe<0||Fe>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Fe>0?Er=Math.floor(1e3/Fe):Er=i}var Ra=function(){if(cr!==null){var Fe=sa.unstable_now();kr=Fe;var pt=!0,St=!0;try{St=cr(pt,Fe)}finally{St?Kr():(ur=!1,cr=null)}}else ur=!1},Kr;if(typeof se=="function")Kr=function(){se(Ra)};else if(typeof MessageChannel!="undefined"){var ra=new MessageChannel,$r=ra.port2;ra.port1.onmessage=Ra,Kr=function(){$r.postMessage(null)}}else Kr=function(){ee(Ra,0)};function Da(Fe){cr=Fe,ur||(ur=!0,Kr())}function Rr(Fe,pt){sr=ee(function(){Fe(sa.unstable_now())},pt)}function Mr(){te(sr),sr=-1}var Gr=Ua,Ma=null;sa.unstable_IdlePriority=C,sa.unstable_ImmediatePriority=_,sa.unstable_LowPriority=T,sa.unstable_NormalPriority=S,sa.unstable_Profiling=Ma,sa.unstable_UserBlockingPriority=b,sa.unstable_cancelCallback=Ue,sa.unstable_continueExecution=nr,sa.unstable_forceFrameRate=xa,sa.unstable_getCurrentPriorityLevel=ar,sa.unstable_getFirstCallbackNode=or,sa.unstable_next=st,sa.unstable_pauseExecution=Kt,sa.unstable_requestPaint=Gr,sa.unstable_runWithPriority=Xe,sa.unstable_scheduleCallback=vt,sa.unstable_shouldYield=ta,sa.unstable_wrapCallback=Ot,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var KT=qe((jG,qT)=>{"use strict";qT.exports=GT()});var XT=qe(Yo=>{"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=er(),a=KT(),i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function d(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];h("warn",e,n)}}function c(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];h("error",e,n)}}function h(e,t,n){{var o=i.ReactDebugCurrentFrame,u=o.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var f=n.map(function(g){return String(g)});f.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,f)}}var p=0,_=1,b=2,S=3,T=4,C=5,k=6,D=7,A=8,q=9,I=10,$=11,F=12,W=13,P=14,oe=15,be=16,Q=17,he=18,le=19,we=21,V=22,re=23,ue=24,z=25,ee=!0,te=!1,se=!1,me=!1,De=!1,Ae=!0,Oe=!1,je=!0,Xe=!0,st=!0,Ot=!0,vt=new Set,Kt={},nr={};function or(e,t){Ue(e,t),Ue(e+"Capture",t)}function Ue(e,t){Kt[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Kt[e]=t;{var n=e.toLowerCase();nr[n]=e,e==="onDoubleClick"&&(nr.ondblclick=e)}for(var o=0;o<t.length;o++)vt.add(t[o])}var ar=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",ur=Object.prototype.hasOwnProperty;function cr(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function sr(e){try{return Er(e),!1}catch(t){return!0}}function Er(e){return""+e}function kr(e,t){if(sr(e))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,cr(e)),Er(e)}function ta(e){if(sr(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",cr(e)),Er(e)}function Ua(e,t){if(sr(e))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,cr(e)),Er(e)}function xa(e,t){if(sr(e))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,cr(e)),Er(e)}function Ra(e){if(sr(e))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",cr(e)),Er(e)}function Kr(e){if(sr(e))return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",cr(e)),Er(e)}var ra=0,$r=1,Da=2,Rr=3,Mr=4,Gr=5,Ma=6,Fe=":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",pt=Fe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",St=new RegExp("^["+Fe+"]["+pt+"]*$"),Xt={},$t={};function Nr(e){return ur.call($t,e)?!0:ur.call(Xt,e)?!1:St.test(e)?($t[e]=!0,!0):(Xt[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function yr(e,t,n){return t!==null?t.type===ra:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function ca(e,t,n,o){if(n!==null&&n.type===ra)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(o)return!1;if(n!==null)return!n.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function G(e,t,n,o){if(t===null||typeof t=="undefined"||ca(e,t,n,o))return!0;if(o)return!1;if(n!==null)switch(n.type){case Rr:return!t;case Mr:return t===!1;case Gr:return isNaN(t);case Ma:return isNaN(t)||t<1}return!1}function ae(e){return H.hasOwnProperty(e)?H[e]:null}function B(e,t,n,o,u,f,g){this.acceptsBooleans=t===Da||t===Rr||t===Mr,this.attributeName=o,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=g}var H={},J=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];J.forEach(function(e){H[e]=new B(e,ra,!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];H[t]=new B(t,$r,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){H[e]=new B(e,Da,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){H[e]=new B(e,Da,!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){H[e]=new B(e,Rr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){H[e]=new B(e,Rr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){H[e]=new B(e,Mr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){H[e]=new B(e,Ma,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){H[e]=new B(e,Gr,!1,e.toLowerCase(),null,!1,!1)});var ve=/[\-\:]([a-z])/g,ce=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(ve,ce);H[t]=new B(t,$r,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ve,ce);H[t]=new B(t,$r,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ve,ce);H[t]=new B(t,$r,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){H[e]=new B(e,$r,!1,e.toLowerCase(),null,!1,!1)});var Be="xlinkHref";H[Be]=new B("xlinkHref",$r,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){H[e]=new B(e,$r,!1,e.toLowerCase(),null,!0,!0)});var Pe=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ze=!1;function Ye(e){!ze&&Pe.test(e)&&(ze=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ne(e,t,n,o){if(o.mustUseProperty){var u=o.propertyName;return e[u]}else{kr(n,t),o.sanitizeURL&&Ye(""+n);var f=o.attributeName,g=null;if(o.type===Mr){if(e.hasAttribute(f)){var y=e.getAttribute(f);return y===""?!0:G(t,n,o,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(f)){if(G(t,n,o,!1))return e.getAttribute(f);if(o.type===Rr)return n;g=e.getAttribute(f)}return G(t,n,o,!1)?g===null?n:g:g===""+n?n:g}}function Ze(e,t,n,o){{if(!Nr(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var u=e.getAttribute(t);return kr(n,t),u===""+n?n:u}}function M(e,t,n,o){var u=ae(t);if(!yr(t,u,o)){if(G(t,n,u,o)&&(n=null),o||u===null){if(Nr(t)){var f=t;n===null?e.removeAttribute(f):(kr(n,t),e.setAttribute(f,""+n))}return}var g=u.mustUseProperty;if(g){var y=u.propertyName;if(n===null){var w=u.type;e[y]=w===Rr?!1:""}else e[y]=n;return}var R=u.attributeName,O=u.attributeNamespace;if(n===null)e.removeAttribute(R);else{var Z=u.type,X;Z===Rr||Z===Mr&&n===!0?X="":(kr(n,R),X=""+n,u.sanitizeURL&&Ye(X.toString())),O?e.setAttributeNS(O,R,X):e.setAttribute(R,X)}}}var U=Symbol.for("react.element"),ne=Symbol.for("react.portal"),de=Symbol.for("react.fragment"),We=Symbol.for("react.strict_mode"),Ie=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),Y=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),Ee=Symbol.for("react.suspense"),Ve=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),et=Symbol.for("react.lazy"),Je=Symbol.for("react.scope"),xt=Symbol.for("react.debug_trace_mode"),Et=Symbol.for("react.offscreen"),It=Symbol.for("react.legacy_hidden"),Ir=Symbol.for("react.cache"),Ia=Symbol.for("react.tracing_marker"),aa=Symbol.iterator,na="@@iterator";function Va(e){if(e===null||typeof e!="object")return null;var t=aa&&e[aa]||e[na];return typeof t=="function"?t:null}var At=Object.assign,Kn=0,ts,rs,Gt,Xr,Ka,Fr,Xn;function mc(){}mc.__reactDisabledLog=!0;function $f(){{if(Kn===0){ts=console.log,rs=console.info,Gt=console.warn,Xr=console.error,Ka=console.group,Fr=console.groupCollapsed,Xn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:mc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Kn++}}function Gf(){{if(Kn--,Kn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:At({},e,{value:ts}),info:At({},e,{value:rs}),warn:At({},e,{value:Gt}),error:At({},e,{value:Xr}),group:At({},e,{value:Ka}),groupCollapsed:At({},e,{value:Fr}),groupEnd:At({},e,{value:Xn})})}Kn<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var vc=i.ReactCurrentDispatcher,yu;function hl(e,t,n){{if(yu===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);yu=o&&o[1]||""}return`
|
|
23
|
+
Check the top-level render call using <`+_e+">.")}return j}function Pn(x,j){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var _e=bm(j);if(!Jt[_e]){Jt[_e]=!0;var ke="";x&&x._owner&&x._owner!==F.current&&(ke=" It was passed a child from "+kr(x._owner.type)+"."),wu(x),ue('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_e,ke),wu(null)}}}function xu(x,j){if(typeof x=="object"){if(or(x))for(var _e=0;_e<x.length;_e++){var ke=x[_e];St(ke)&&Pn(ke,j)}else if(St(x))x._store&&(x._store.validated=!0);else if(x){var Qe=A(x);if(typeof Qe=="function"&&Qe!==x.entries)for(var Bt=Qe.call(x),bt;!(bt=Bt.next()).done;)St(bt.value)&&Pn(bt.value,j)}}}function Tu(x){{var j=x.type;if(j==null||typeof j=="string")return;var _e;if(typeof j=="function")_e=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===p||j.$$typeof===S))_e=j.propTypes;else return;if(_e){var ke=kr(j);gm(_e,x.props,"prop",ke,x)}else if(j.PropTypes!==void 0&&!vd){vd=!0;var Qe=kr(j);ue("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Qe||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&ue("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function L_(x){{for(var j=Object.keys(x.props),_e=0;_e<j.length;_e++){var ke=j[_e];if(ke!=="children"&&ke!=="key"){wu(x),ue("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),wu(null);break}}x.ref!==null&&(wu(x),ue("Invalid attribute `ref` supplied to `React.Fragment`."),wu(null))}}function cn(x,j,_e){var ke=We(x);if(!ke){var Qe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Qe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Bt=_m(j);Bt?Qe+=Bt:Qe+=Lr();var bt;x===null?bt="null":or(x)?bt="array":x!==void 0&&x.$$typeof===a?(bt="<"+(kr(x.type)||"Unknown")+" />",Qe=" Did you accidentally export a JSX literal instead of a component?"):bt=typeof x,ue("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",bt,Qe)}var qt=Ma.apply(this,arguments);if(qt==null)return qt;if(ke)for(var gr=2;gr<arguments.length;gr++)xu(arguments[gr],x);return x===l?L_(qt):Tu(qt),qt}var ba=!1;function B_(x){var j=cn.bind(null,x);return j.type=x,ba||(ba=!0,re("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(j,"type",{enumerable:!1,get:function(){return re("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),j}function ml(x,j,_e){for(var ke=pt.apply(this,arguments),Qe=2;Qe<arguments.length;Qe++)xu(arguments[Qe],ke.type);return Tu(ke),ke}function So(x,j){var _e=I.transition;I.transition={};var ke=I.transition;I.transition._updatedFibers=new Set;try{x()}finally{if(I.transition=_e,_e===null&&ke._updatedFibers){var Qe=ke._updatedFibers.size;Qe>10&&re("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."),ke._updatedFibers.clear()}}}var Al=!1,gd=null;function Kf(x){if(gd===null)try{var j=("require"+Math.random()).slice(0,7),_e=Eg&&Eg[j];gd=_e.call(Eg,"timers").setImmediate}catch(ke){gd=function(Qe){Al===!1&&(Al=!0,typeof MessageChannel=="undefined"&&ue("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 Bt=new MessageChannel;Bt.port1.onmessage=Qe,Bt.port2.postMessage(void 0)}}return gd(x)}var Ds=0,Xf=!1;function ym(x){{var j=Ds;Ds++,$.current===null&&($.current=[]);var _e=$.isBatchingLegacy,ke;try{if($.isBatchingLegacy=!0,ke=x(),!_e&&$.didScheduleLegacyUpdate){var Qe=$.current;Qe!==null&&($.didScheduleLegacyUpdate=!1,bd(Qe))}}catch(da){throw _d(j),da}finally{$.isBatchingLegacy=_e}if(ke!==null&&typeof ke=="object"&&typeof ke.then=="function"){var Bt=ke,bt=!1,qt={then:function(da,Ta){bt=!0,Bt.then(function(Xa){_d(j),Ds===0?Jf(Xa,da,Ta):da(Xa)},function(Xa){_d(j),Ta(Xa)})}};return!Xf&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){bt||(Xf=!0,ue("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 () => ...);"))}),qt}else{var gr=ke;if(_d(j),Ds===0){var Br=$.current;Br!==null&&(bd(Br),$.current=null);var oa={then:function(da,Ta){$.current===null?($.current=[],Jf(gr,da,Ta)):da(gr)}};return oa}else{var ia={then:function(da,Ta){da(gr)}};return ia}}}}function _d(x){x!==Ds-1&&ue("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ds=x}function Jf(x,j,_e){{var ke=$.current;if(ke!==null)try{bd(ke),Kf(function(){ke.length===0?($.current=null,j(x)):Jf(x,j,_e)})}catch(Qe){_e(Qe)}else j(x)}}var Eu=!1;function bd(x){if(!Eu){Eu=!0;var j=0;try{for(;j<x.length;j++){var _e=x[j];do _e=_e(!0);while(_e!==null)}x.length=0}catch(ke){throw x=x.slice(j+1),ke}finally{Eu=!1}}}var yd=cn,Sm=ml,Cm=B_,wm={map:H,forEach:ve,count:J,toArray:ce,only:Be};pr.Children=wm,pr.Component=Ae,pr.Fragment=l,pr.Profiler=d,pr.PureComponent=Ot,pr.StrictMode=s,pr.Suspense=_,pr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,pr.act=ym,pr.cloneElement=Sm,pr.createContext=Pe,pr.createElement=yd,pr.createFactory=Cm,pr.createRef=Kt,pr.forwardRef=ne,pr.isValidElement=St,pr.lazy=U,pr.memo=Ie,pr.startTransition=So,pr.unstable_act=ym,pr.useCallback=xt,pr.useContext=Y,pr.useDebugValue=Ir,pr.useDeferredValue=aa,pr.useEffect=ft,pr.useId=na,pr.useImperativeHandle=It,pr.useInsertionEffect=et,pr.useLayoutEffect=Je,pr.useMemo=Et,pr.useReducer=Ee,pr.useRef=Ve,pr.useState=ge,pr.useSyncExternalStore=Va,pr.useTransition=Ia,pr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var er=qe((FG,$T)=>{"use strict";$T.exports=YT()});var GT=qe(sa=>{"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,i=5;function l(Fe,pt){var St=Fe.length;Fe.push(pt),c(Fe,pt,St)}function s(Fe){return Fe.length===0?null:Fe[0]}function d(Fe){if(Fe.length===0)return null;var pt=Fe[0],St=Fe.pop();return St!==pt&&(Fe[0]=St,h(Fe,St,0)),pt}function c(Fe,pt,St){for(var Xt=St;Xt>0;){var $t=Xt-1>>>1,Nr=Fe[$t];if(p(Nr,pt)>0)Fe[$t]=pt,Fe[Xt]=Nr,Xt=$t;else return}}function h(Fe,pt,St){for(var Xt=St,$t=Fe.length,Nr=$t>>>1;Xt<Nr;){var yr=(Xt+1)*2-1,ca=Fe[yr],G=yr+1,ae=Fe[G];if(p(ca,pt)<0)G<$t&&p(ae,ca)<0?(Fe[Xt]=ae,Fe[G]=pt,Xt=G):(Fe[Xt]=ca,Fe[yr]=pt,Xt=yr);else if(G<$t&&p(ae,pt)<0)Fe[Xt]=ae,Fe[G]=pt,Xt=G;else return}}function p(Fe,pt){var St=Fe.sortIndex-pt.sortIndex;return St!==0?St:Fe.id-pt.id}var _=1,b=2,S=3,T=4,w=5;function k(Fe,pt){}var D=typeof performance=="object"&&typeof performance.now=="function";if(D){var A=performance;sa.unstable_now=function(){return A.now()}}else{var q=Date,I=q.now();sa.unstable_now=function(){return q.now()-I}}var $=1073741823,F=-1,W=250,P=5e3,oe=1e4,be=$,Q=[],he=[],le=1,Ce=null,V=S,re=!1,ue=!1,z=!1,ee=typeof setTimeout=="function"?setTimeout:null,te=typeof clearTimeout=="function"?clearTimeout:null,se=typeof setImmediate!="undefined"?setImmediate:null,me=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function De(Fe){for(var pt=s(he);pt!==null;){if(pt.callback===null)d(he);else if(pt.startTime<=Fe)d(he),pt.sortIndex=pt.expirationTime,l(Q,pt);else return;pt=s(he)}}function Ae(Fe){if(z=!1,De(Fe),!ue)if(s(Q)!==null)ue=!0,Da(Oe);else{var pt=s(he);pt!==null&&Rr(Ae,pt.startTime-Fe)}}function Oe(Fe,pt){ue=!1,z&&(z=!1,Mr()),re=!0;var St=V;try{if(a)try{return je(Fe,pt)}catch($t){if(Ce!==null){var Xt=sa.unstable_now();Ce.isQueued=!1}throw $t}else return je(Fe,pt)}finally{Ce=null,V=St,re=!1}}function je(Fe,pt){var St=pt;for(De(St),Ce=s(Q);Ce!==null&&!r&&!(Ce.expirationTime>St&&(!Fe||ta()));){var Xt=Ce.callback;if(typeof Xt=="function"){Ce.callback=null,V=Ce.priorityLevel;var $t=Ce.expirationTime<=St,Nr=Xt($t);St=sa.unstable_now(),typeof Nr=="function"?Ce.callback=Nr:Ce===s(Q)&&d(Q),De(St)}else d(Q);Ce=s(Q)}if(Ce!==null)return!0;var yr=s(he);return yr!==null&&Rr(Ae,yr.startTime-St),!1}function Xe(Fe,pt){switch(Fe){case _:case b:case S:case T:case w:break;default:Fe=S}var St=V;V=Fe;try{return pt()}finally{V=St}}function st(Fe){var pt;switch(V){case _:case b:case S:pt=S;break;default:pt=V;break}var St=V;V=pt;try{return Fe()}finally{V=St}}function Ot(Fe){var pt=V;return function(){var St=V;V=pt;try{return Fe.apply(this,arguments)}finally{V=St}}}function vt(Fe,pt,St){var Xt=sa.unstable_now(),$t;if(typeof St=="object"&&St!==null){var Nr=St.delay;typeof Nr=="number"&&Nr>0?$t=Xt+Nr:$t=Xt}else $t=Xt;var yr;switch(Fe){case _:yr=F;break;case b:yr=W;break;case w:yr=be;break;case T:yr=oe;break;case S:default:yr=P;break}var ca=$t+yr,G={id:le++,callback:pt,priorityLevel:Fe,startTime:$t,expirationTime:ca,sortIndex:-1};return $t>Xt?(G.sortIndex=$t,l(he,G),s(Q)===null&&G===s(he)&&(z?Mr():z=!0,Rr(Ae,$t-Xt))):(G.sortIndex=ca,l(Q,G),!ue&&!re&&(ue=!0,Da(Oe))),G}function Kt(){}function nr(){!ue&&!re&&(ue=!0,Da(Oe))}function or(){return s(Q)}function Ue(Fe){Fe.callback=null}function ar(){return V}var ur=!1,cr=null,sr=-1,Er=i,kr=-1;function ta(){var Fe=sa.unstable_now()-kr;return!(Fe<Er)}function Ua(){}function xa(Fe){if(Fe<0||Fe>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Fe>0?Er=Math.floor(1e3/Fe):Er=i}var Ra=function(){if(cr!==null){var Fe=sa.unstable_now();kr=Fe;var pt=!0,St=!0;try{St=cr(pt,Fe)}finally{St?Kr():(ur=!1,cr=null)}}else ur=!1},Kr;if(typeof se=="function")Kr=function(){se(Ra)};else if(typeof MessageChannel!="undefined"){var ra=new MessageChannel,$r=ra.port2;ra.port1.onmessage=Ra,Kr=function(){$r.postMessage(null)}}else Kr=function(){ee(Ra,0)};function Da(Fe){cr=Fe,ur||(ur=!0,Kr())}function Rr(Fe,pt){sr=ee(function(){Fe(sa.unstable_now())},pt)}function Mr(){te(sr),sr=-1}var Gr=Ua,Ma=null;sa.unstable_IdlePriority=w,sa.unstable_ImmediatePriority=_,sa.unstable_LowPriority=T,sa.unstable_NormalPriority=S,sa.unstable_Profiling=Ma,sa.unstable_UserBlockingPriority=b,sa.unstable_cancelCallback=Ue,sa.unstable_continueExecution=nr,sa.unstable_forceFrameRate=xa,sa.unstable_getCurrentPriorityLevel=ar,sa.unstable_getFirstCallbackNode=or,sa.unstable_next=st,sa.unstable_pauseExecution=Kt,sa.unstable_requestPaint=Gr,sa.unstable_runWithPriority=Xe,sa.unstable_scheduleCallback=vt,sa.unstable_shouldYield=ta,sa.unstable_wrapCallback=Ot,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var KT=qe((jG,qT)=>{"use strict";qT.exports=GT()});var XT=qe(Yo=>{"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=er(),a=KT(),i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function d(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];h("warn",e,n)}}function c(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];h("error",e,n)}}function h(e,t,n){{var o=i.ReactDebugCurrentFrame,u=o.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var f=n.map(function(g){return String(g)});f.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,f)}}var p=0,_=1,b=2,S=3,T=4,w=5,k=6,D=7,A=8,q=9,I=10,$=11,F=12,W=13,P=14,oe=15,be=16,Q=17,he=18,le=19,Ce=21,V=22,re=23,ue=24,z=25,ee=!0,te=!1,se=!1,me=!1,De=!1,Ae=!0,Oe=!1,je=!0,Xe=!0,st=!0,Ot=!0,vt=new Set,Kt={},nr={};function or(e,t){Ue(e,t),Ue(e+"Capture",t)}function Ue(e,t){Kt[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Kt[e]=t;{var n=e.toLowerCase();nr[n]=e,e==="onDoubleClick"&&(nr.ondblclick=e)}for(var o=0;o<t.length;o++)vt.add(t[o])}var ar=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",ur=Object.prototype.hasOwnProperty;function cr(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function sr(e){try{return Er(e),!1}catch(t){return!0}}function Er(e){return""+e}function kr(e,t){if(sr(e))return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,cr(e)),Er(e)}function ta(e){if(sr(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",cr(e)),Er(e)}function Ua(e,t){if(sr(e))return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,cr(e)),Er(e)}function xa(e,t){if(sr(e))return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,cr(e)),Er(e)}function Ra(e){if(sr(e))return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",cr(e)),Er(e)}function Kr(e){if(sr(e))return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",cr(e)),Er(e)}var ra=0,$r=1,Da=2,Rr=3,Mr=4,Gr=5,Ma=6,Fe=":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",pt=Fe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",St=new RegExp("^["+Fe+"]["+pt+"]*$"),Xt={},$t={};function Nr(e){return ur.call($t,e)?!0:ur.call(Xt,e)?!1:St.test(e)?($t[e]=!0,!0):(Xt[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function yr(e,t,n){return t!==null?t.type===ra:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function ca(e,t,n,o){if(n!==null&&n.type===ra)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(o)return!1;if(n!==null)return!n.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function G(e,t,n,o){if(t===null||typeof t=="undefined"||ca(e,t,n,o))return!0;if(o)return!1;if(n!==null)switch(n.type){case Rr:return!t;case Mr:return t===!1;case Gr:return isNaN(t);case Ma:return isNaN(t)||t<1}return!1}function ae(e){return H.hasOwnProperty(e)?H[e]:null}function B(e,t,n,o,u,f,g){this.acceptsBooleans=t===Da||t===Rr||t===Mr,this.attributeName=o,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=g}var H={},J=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];J.forEach(function(e){H[e]=new B(e,ra,!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];H[t]=new B(t,$r,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){H[e]=new B(e,Da,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){H[e]=new B(e,Da,!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){H[e]=new B(e,Rr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){H[e]=new B(e,Rr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){H[e]=new B(e,Mr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){H[e]=new B(e,Ma,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){H[e]=new B(e,Gr,!1,e.toLowerCase(),null,!1,!1)});var ve=/[\-\:]([a-z])/g,ce=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(ve,ce);H[t]=new B(t,$r,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ve,ce);H[t]=new B(t,$r,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ve,ce);H[t]=new B(t,$r,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){H[e]=new B(e,$r,!1,e.toLowerCase(),null,!1,!1)});var Be="xlinkHref";H[Be]=new B("xlinkHref",$r,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){H[e]=new B(e,$r,!1,e.toLowerCase(),null,!0,!0)});var Pe=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ze=!1;function Ye(e){!ze&&Pe.test(e)&&(ze=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ne(e,t,n,o){if(o.mustUseProperty){var u=o.propertyName;return e[u]}else{kr(n,t),o.sanitizeURL&&Ye(""+n);var f=o.attributeName,g=null;if(o.type===Mr){if(e.hasAttribute(f)){var y=e.getAttribute(f);return y===""?!0:G(t,n,o,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(f)){if(G(t,n,o,!1))return e.getAttribute(f);if(o.type===Rr)return n;g=e.getAttribute(f)}return G(t,n,o,!1)?g===null?n:g:g===""+n?n:g}}function Ze(e,t,n,o){{if(!Nr(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var u=e.getAttribute(t);return kr(n,t),u===""+n?n:u}}function M(e,t,n,o){var u=ae(t);if(!yr(t,u,o)){if(G(t,n,u,o)&&(n=null),o||u===null){if(Nr(t)){var f=t;n===null?e.removeAttribute(f):(kr(n,t),e.setAttribute(f,""+n))}return}var g=u.mustUseProperty;if(g){var y=u.propertyName;if(n===null){var C=u.type;e[y]=C===Rr?!1:""}else e[y]=n;return}var R=u.attributeName,O=u.attributeNamespace;if(n===null)e.removeAttribute(R);else{var Z=u.type,X;Z===Rr||Z===Mr&&n===!0?X="":(kr(n,R),X=""+n,u.sanitizeURL&&Ye(X.toString())),O?e.setAttributeNS(O,R,X):e.setAttribute(R,X)}}}var U=Symbol.for("react.element"),ne=Symbol.for("react.portal"),de=Symbol.for("react.fragment"),We=Symbol.for("react.strict_mode"),Ie=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),Y=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),Ee=Symbol.for("react.suspense"),Ve=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),et=Symbol.for("react.lazy"),Je=Symbol.for("react.scope"),xt=Symbol.for("react.debug_trace_mode"),Et=Symbol.for("react.offscreen"),It=Symbol.for("react.legacy_hidden"),Ir=Symbol.for("react.cache"),Ia=Symbol.for("react.tracing_marker"),aa=Symbol.iterator,na="@@iterator";function Va(e){if(e===null||typeof e!="object")return null;var t=aa&&e[aa]||e[na];return typeof t=="function"?t:null}var At=Object.assign,Kn=0,ts,rs,Gt,Xr,Ka,Fr,Xn;function mc(){}mc.__reactDisabledLog=!0;function $f(){{if(Kn===0){ts=console.log,rs=console.info,Gt=console.warn,Xr=console.error,Ka=console.group,Fr=console.groupCollapsed,Xn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:mc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Kn++}}function Gf(){{if(Kn--,Kn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:At({},e,{value:ts}),info:At({},e,{value:rs}),warn:At({},e,{value:Gt}),error:At({},e,{value:Xr}),group:At({},e,{value:Ka}),groupCollapsed:At({},e,{value:Fr}),groupEnd:At({},e,{value:Xn})})}Kn<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var vc=i.ReactCurrentDispatcher,yu;function hl(e,t,n){{if(yu===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);yu=o&&o[1]||""}return`
|
|
24
24
|
`+yu+e}}var Su=!1,pd;{var mm=typeof WeakMap=="function"?WeakMap:Map;pd=new mm}function qf(e,t){if(!e||Su)return"";{var n=pd.get(e);if(n!==void 0)return n}var o;Su=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var f;f=vc.current,vc.current=null,$f();try{if(t){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(Se){o=Se}Reflect.construct(e,[],g)}else{try{g.call()}catch(Se){o=Se}e.call(g.prototype)}}else{try{throw Error()}catch(Se){o=Se}e()}}catch(Se){if(Se&&o&&typeof Se.stack=="string"){for(var y=Se.stack.split(`
|
|
25
|
-
`),
|
|
26
|
-
`),R=y.length-1,O=
|
|
27
|
-
`+y[R].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&pd.set(e,Z),Z}while(R>=1&&O>=0);break}}}finally{Su=!1,vc.current=f,Gf(),Error.prepareStackTrace=u}var X=e?e.displayName||e.name:"",ye=X?hl(X):"";return typeof e=="function"&&pd.set(e,ye),ye}function A_(e,t,n){return qf(e,!0)}function
|
|
25
|
+
`),C=o.stack.split(`
|
|
26
|
+
`),R=y.length-1,O=C.length-1;R>=1&&O>=0&&y[R]!==C[O];)O--;for(;R>=1&&O>=0;R--,O--)if(y[R]!==C[O]){if(R!==1||O!==1)do if(R--,O--,O<0||y[R]!==C[O]){var Z=`
|
|
27
|
+
`+y[R].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&pd.set(e,Z),Z}while(R>=1&&O>=0);break}}}finally{Su=!1,vc.current=f,Gf(),Error.prepareStackTrace=u}var X=e?e.displayName||e.name:"",ye=X?hl(X):"";return typeof e=="function"&&pd.set(e,ye),ye}function A_(e,t,n){return qf(e,!0)}function Cu(e,t,n){return qf(e,!1)}function vm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function hd(e,t,n){if(e==null)return"";if(typeof e=="function")return qf(e,vm(e));if(typeof e=="string")return hl(e);switch(e){case Ee:return hl("Suspense");case Ve:return hl("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case ge:return Cu(e.render);case ft:return hd(e.type,t,n);case et:{var o=e,u=o._payload,f=o._init;try{return hd(f(u),t,n)}catch(g){}}}return""}function md(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return hl(e.type);case be:return hl("Lazy");case W:return hl("Suspense");case le:return hl("SuspenseList");case p:case b:case oe:return Cu(e.type);case $:return Cu(e.type.render);case _:return A_(e.type);default:return""}}function gm(e){try{var t="",n=e;do t+=md(n),n=n.return;while(n);return t}catch(o){return`
|
|
28
28
|
Error generating stack: `+o.message+`
|
|
29
|
-
`+o.stack}}function
|
|
29
|
+
`+o.stack}}function wu(e,t,n){var o=e.displayName;if(o)return o;var u=t.displayName||t.name||"";return u!==""?n+"("+u+")":n}function vd(e){return e.displayName||"Context"}function Lr(e){if(e==null)return null;if(typeof e.tag=="number"&&c("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 de:return"Fragment";case ne:return"Portal";case Ie:return"Profiler";case We:return"StrictMode";case Ee:return"Suspense";case Ve:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Y:var t=e;return vd(t)+".Consumer";case L:var n=e;return vd(n._context)+".Provider";case ge:return wu(e,e.render,"ForwardRef");case ft:var o=e.displayName||null;return o!==null?o:Lr(e.type)||"Memo";case et:{var u=e,f=u._payload,g=u._init;try{return Lr(g(f))}catch(y){return null}}}return null}function N_(e,t,n){var o=t.displayName||t.name||"";return e.displayName||(o!==""?n+"("+o+")":n)}function _m(e){return e.displayName||"Context"}function Jt(e){var t=e.tag,n=e.type;switch(t){case ue:return"Cache";case q:var o=n;return _m(o)+".Consumer";case I:var u=n;return _m(u._context)+".Provider";case he:return"DehydratedFragment";case $:return N_(n,n.render,"ForwardRef");case D:return"Fragment";case w:return n;case T:return"Portal";case S:return"Root";case k:return"Text";case be:return Lr(n);case A:return n===We?"StrictMode":"Mode";case V:return"Offscreen";case F:return"Profiler";case Ce:return"Scope";case W:return"Suspense";case le:return"SuspenseList";case z:return"TracingMarker";case _:case p:case Q:case b:case P:case oe:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var bm=i.ReactDebugCurrentFrame,Pn=null,xu=!1;function Tu(){{if(Pn===null)return null;var e=Pn._debugOwner;if(e!==null&&typeof e!="undefined")return Jt(e)}return null}function L_(){return Pn===null?"":gm(Pn)}function cn(){bm.getCurrentStack=null,Pn=null,xu=!1}function ba(e){bm.getCurrentStack=e===null?null:L_,Pn=e,xu=!1}function B_(){return Pn}function ml(e){xu=e}function So(e){return""+e}function Al(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Kr(e),e;default:return""}}var gd={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Kf(e,t){gd[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||c("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||c("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ds(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xf(e){return e._valueTracker}function ym(e){e._valueTracker=null}function _d(e){var t="";return e&&(Ds(e)?t=e.checked?"true":"false":t=e.value),t}function Jf(e){var t=Ds(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Kr(e[t]);var o=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var u=n.get,f=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){Kr(y),o=""+y,f.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var g={getValue:function(){return o},setValue:function(y){Kr(y),o=""+y},stopTracking:function(){ym(e),delete e[t]}};return g}}function Eu(e){Xf(e)||(e._valueTracker=Jf(e))}function bd(e){if(!e)return!1;var t=Xf(e);if(!t)return!0;var n=t.getValue(),o=_d(e);return o!==n?(t.setValue(o),!0):!1}function yd(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 Sm=!1,Cm=!1,wm=!1,x=!1;function j(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function _e(e,t){var n=e,o=t.checked,u=At({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o!=null?o:n._wrapperState.initialChecked});return u}function ke(e,t){Kf("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Cm&&(c("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Tu()||"A component",t.type),Cm=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Sm&&(c("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Tu()||"A component",t.type),Sm=!0);var n=e,o=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Al(t.value!=null?t.value:o),controlled:j(t)}}function Qe(e,t){var n=e,o=t.checked;o!=null&&M(n,"checked",o,!1)}function Bt(e,t){var n=e;{var o=j(t);!n._wrapperState.controlled&&o&&!x&&(c("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),x=!0),n._wrapperState.controlled&&!o&&!wm&&(c("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),wm=!0)}Qe(e,t);var u=Al(t.value),f=t.type;if(u!=null)f==="number"?(u===0&&n.value===""||n.value!=u)&&(n.value=So(u)):n.value!==So(u)&&(n.value=So(u));else if(f==="submit"||f==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Br(n,t.type,u):t.hasOwnProperty("defaultValue")&&Br(n,t.type,Al(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function bt(e,t,n){var o=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,f=u==="submit"||u==="reset";if(f&&(t.value===void 0||t.value===null))return;var g=So(o._wrapperState.initialValue);n||g!==o.value&&(o.value=g),o.defaultValue=g}var y=o.name;y!==""&&(o.name=""),o.defaultChecked=!o.defaultChecked,o.defaultChecked=!!o._wrapperState.initialChecked,y!==""&&(o.name=y)}function qt(e,t){var n=e;Bt(n,t),gr(n,t)}function gr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var o=e;o.parentNode;)o=o.parentNode;kr(n,"name");for(var u=o.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),f=0;f<u.length;f++){var g=u[f];if(!(g===e||g.form!==e.form)){var y=cv(g);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");bd(g),Bt(g,y)}}}}function Br(e,t,n){(t!=="number"||yd(e.ownerDocument)!==e)&&(n==null?e.defaultValue=So(e._wrapperState.initialValue):e.defaultValue!==So(n)&&(e.defaultValue=So(n)))}var oa=!1,ia=!1,da=!1;function Ta(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"||ia||(ia=!0,c("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(da||(da=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!oa&&(c("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),oa=!0)}function Xa(e,t){t.value!=null&&e.setAttribute("value",So(Al(t.value)))}var Sd=Array.isArray;function Ja(e){return Sd(e)}var Cd;Cd=!1;function xm(){var e=Tu();return e?`
|
|
30
30
|
|
|
31
|
-
Check the render method of \``+e+"`.":""}var Qf=["value","defaultValue"];function O_(e){{Kf("select",e);for(var t=0;t<Qf.length;t++){var n=Qf[t];if(e[n]!=null){var o=Ja(e[n]);e.multiple&&!o?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,xm()):!e.multiple&&o&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,xm())}}}}function As(e,t,n,o){var u=e.options;if(t){for(var f=n,g={},y=0;y<f.length;y++)g["$"+f[y]]=!0;for(var w=0;w<u.length;w++){var R=g.hasOwnProperty("$"+u[w].value);u[w].selected!==R&&(u[w].selected=R),R&&o&&(u[w].defaultSelected=!0)}}else{for(var O=So(Al(n)),Z=null,X=0;X<u.length;X++){if(u[X].value===O){u[X].selected=!0,o&&(u[X].defaultSelected=!0);return}Z===null&&!u[X].disabled&&(Z=u[X])}Z!==null&&(Z.selected=!0)}}function Zf(e,t){return At({},t,{value:void 0})}function P3(e,t){var n=e;O_(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!wd&&(c("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),wd=!0)}function zz(e,t){var n=e;n.multiple=!!t.multiple;var o=t.value;o!=null?As(n,!!t.multiple,o,!1):t.defaultValue!=null&&As(n,!!t.multiple,t.defaultValue,!0)}function Pz(e,t){var n=e,o=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?As(n,!!t.multiple,u,!1):o!==!!t.multiple&&(t.defaultValue!=null?As(n,!!t.multiple,t.defaultValue,!0):As(n,!!t.multiple,t.multiple?[]:"",!1))}function Mz(e,t){var n=e,o=t.value;o!=null&&As(n,!!t.multiple,o,!1)}var M3=!1;function z_(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var o=At({},t,{value:void 0,defaultValue:void 0,children:So(n._wrapperState.initialValue)});return o}function I3(e,t){var n=e;Kf("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!M3&&(c("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Tu()||"A component"),M3=!0);var o=t.value;if(o==null){var u=t.children,f=t.defaultValue;if(u!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(f!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ja(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}f=u}}f==null&&(f=""),o=f}n._wrapperState={initialValue:Al(o)}}function F3(e,t){var n=e,o=Al(t.value),u=Al(t.defaultValue);if(o!=null){var f=So(o);f!==n.value&&(n.value=f),t.defaultValue==null&&n.defaultValue!==f&&(n.defaultValue=f)}u!=null&&(n.defaultValue=So(u))}function H3(e,t){var n=e,o=n.textContent;o===n._wrapperState.initialValue&&o!==""&&o!==null&&(n.value=o)}function Iz(e,t){F3(e,t)}var Ns="http://www.w3.org/1999/xhtml",Fz="http://www.w3.org/1998/Math/MathML",P_="http://www.w3.org/2000/svg";function M_(e){switch(e){case"svg":return P_;case"math":return Fz;default:return Ns}}function I_(e,t){return e==null||e===Ns?M_(t):e===P_&&t==="foreignObject"?Ns:e}var Hz=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,o,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,o,u)})}:e},Tm,j3=Hz(function(e,t){if(e.namespaceURI===P_&&!("innerHTML"in e)){Tm=Tm||document.createElement("div"),Tm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Tm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),wo=1,Ls=3,Wa=8,Bs=9,F_=11,Em=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Ls){n.nodeValue=t;return}}e.textContent=t},jz={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"]},ep={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 Uz(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Vz=["Webkit","ms","Moz","O"];Object.keys(ep).forEach(function(e){Vz.forEach(function(t){ep[Uz(t,e)]=ep[e]})});function H_(e,t,n){var o=t==null||typeof t=="boolean"||t==="";return o?"":!n&&typeof t=="number"&&t!==0&&!(ep.hasOwnProperty(e)&&ep[e])?t+"px":(xa(t,e),(""+t).trim())}var Wz=/([A-Z])/g,Yz=/^ms-/;function $z(e){return e.replace(Wz,"-$1").toLowerCase().replace(Yz,"-ms-")}var U3=function(){};{var Gz=/^(?:webkit|moz|o)[A-Z]/,qz=/^-ms-/,Kz=/-(.)/g,V3=/;\s*$/,Cd={},j_={},W3=!1,Y3=!1,Xz=function(e){return e.replace(Kz,function(t,n){return n.toUpperCase()})},Jz=function(e){Cd.hasOwnProperty(e)&&Cd[e]||(Cd[e]=!0,c("Unsupported style property %s. Did you mean %s?",e,Xz(e.replace(qz,"ms-"))))},Qz=function(e){Cd.hasOwnProperty(e)&&Cd[e]||(Cd[e]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Zz=function(e,t){j_.hasOwnProperty(t)&&j_[t]||(j_[t]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(V3,"")))},e7=function(e,t){W3||(W3=!0,c("`NaN` is an invalid value for the `%s` css style property.",e))},t7=function(e,t){Y3||(Y3=!0,c("`Infinity` is an invalid value for the `%s` css style property.",e))};U3=function(e,t){e.indexOf("-")>-1?Jz(e):Gz.test(e)?Qz(e):V3.test(t)&&Zz(e,t),typeof t=="number"&&(isNaN(t)?e7(e,t):isFinite(t)||t7(e,t))}}var r7=U3;function a7(e){{var t="",n="";for(var o in e)if(e.hasOwnProperty(o)){var u=e[o];if(u!=null){var f=o.indexOf("--")===0;t+=n+(f?o:$z(o))+":",t+=H_(o,u,f),n=";"}}return t||null}}function $3(e,t){var n=e.style;for(var o in t)if(t.hasOwnProperty(o)){var u=o.indexOf("--")===0;u||r7(o,t[o]);var f=H_(o,t[o],u);o==="float"&&(o="cssFloat"),u?n.setProperty(o,f):n[o]=f}}function n7(e){return e==null||typeof e=="boolean"||e===""}function G3(e){var t={};for(var n in e)for(var o=jz[n]||[n],u=0;u<o.length;u++)t[o[u]]=n;return t}function o7(e,t){{if(!t)return;var n=G3(e),o=G3(t),u={};for(var f in n){var g=n[f],y=o[f];if(y&&g!==y){var w=g+","+y;if(u[w])continue;u[w]=!0,c("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",n7(e[g])?"Removing":"Updating",g,y)}}}}var i7={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},l7=At({menuitem:!0},i7),s7="__html";function U_(e,t){if(t){if(l7[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"||!(s7 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&&c("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),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 gc(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 km={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"},q3={"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},xd={},u7=new RegExp("^(aria)-["+pt+"]*$"),c7=new RegExp("^(aria)[A-Z]["+pt+"]*$");function d7(e,t){{if(ur.call(xd,t)&&xd[t])return!0;if(c7.test(t)){var n="aria-"+t.slice(4).toLowerCase(),o=q3.hasOwnProperty(n)?n:null;if(o==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),xd[t]=!0,!0;if(t!==o)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,o),xd[t]=!0,!0}if(u7.test(t)){var u=t.toLowerCase(),f=q3.hasOwnProperty(u)?u:null;if(f==null)return xd[t]=!0,!1;if(t!==f)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,f),xd[t]=!0,!0}}return!0}function f7(e,t){{var n=[];for(var o in t){var u=d7(e,o);u||n.push(o)}var f=n.map(function(g){return"`"+g+"`"}).join(", ");n.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e):n.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e)}}function p7(e,t){gc(e,t)||f7(e,t)}var K3=!1;function h7(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!K3&&(K3=!0,e==="select"&&t.multiple?c("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):c("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var X3=function(){};{var Jn={},J3=/^on./,m7=/^on[^A-Z]/,v7=new RegExp("^(aria)-["+pt+"]*$"),g7=new RegExp("^(aria)[A-Z]["+pt+"]*$");X3=function(e,t,n,o){if(ur.call(Jn,t)&&Jn[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return c("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Jn[t]=!0,!0;if(o!=null){var f=o.registrationNameDependencies,g=o.possibleRegistrationNames;if(f.hasOwnProperty(t))return!0;var y=g.hasOwnProperty(u)?g[u]:null;if(y!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",t,y),Jn[t]=!0,!0;if(J3.test(t))return c("Unknown event handler property `%s`. It will be ignored.",t),Jn[t]=!0,!0}else if(J3.test(t))return m7.test(t)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Jn[t]=!0,!0;if(v7.test(t)||g7.test(t))return!0;if(u==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Jn[t]=!0,!0;if(u==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Jn[t]=!0,!0;if(u==="is"&&n!==null&&n!==void 0&&typeof n!="string")return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Jn[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Jn[t]=!0,!0;var w=ae(t),R=w!==null&&w.type===ra;if(km.hasOwnProperty(u)){var O=km[u];if(O!==t)return c("Invalid DOM property `%s`. Did you mean `%s`?",t,O),Jn[t]=!0,!0}else if(!R&&t!==u)return c("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,u),Jn[t]=!0,!0;return typeof n=="boolean"&&ca(t,n,w,!1)?(n?c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Jn[t]=!0,!0):R?!0:ca(t,n,w,!1)?(Jn[t]=!0,!1):((n==="false"||n==="true")&&w!==null&&w.type===Rr&&(c("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),Jn[t]=!0),!0)}}var _7=function(e,t,n){{var o=[];for(var u in t){var f=X3(e,u,t[u],n);f||o.push(u)}var g=o.map(function(y){return"`"+y+"`"}).join(", ");o.length===1?c("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",g,e):o.length>1&&c("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",g,e)}};function b7(e,t,n){gc(e,t)||_7(e,t,n)}var Q3=1,V_=2,tp=4,y7=Q3|V_|tp,rp=null;function S7(e){rp!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),rp=e}function w7(){rp===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),rp=null}function C7(e){return e===rp}function W_(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Ls?t.parentNode:t}var Y_=null,Td=null,Ed=null;function Z3(e){var t=Ou(e);if(t){if(typeof Y_!="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 o=cv(n);Y_(t.stateNode,t.type,o)}}}function x7(e){Y_=e}function ew(e){Td?Ed?Ed.push(e):Ed=[e]:Td=e}function T7(){return Td!==null||Ed!==null}function tw(){if(Td){var e=Td,t=Ed;if(Td=null,Ed=null,Z3(e),t)for(var n=0;n<t.length;n++)Z3(t[n])}}var rw=function(e,t){return e(t)},aw=function(){},$_=!1;function E7(){var e=T7();e&&(aw(),tw())}function nw(e,t,n){if($_)return e(t,n);$_=!0;try{return rw(e,t,n)}finally{$_=!1,E7()}}function k7(e,t,n){rw=e,aw=n}function R7(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function D7(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&&R7(t));default:return!1}}function ap(e,t){var n=e.stateNode;if(n===null)return null;var o=cv(n);if(o===null)return null;var u=o[t];if(D7(t,e.type,o))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var G_=!1;if(ar)try{var np={};Object.defineProperty(np,"passive",{get:function(){G_=!0}}),window.addEventListener("test",np,np),window.removeEventListener("test",np,np)}catch(e){G_=!1}function ow(e,t,n,o,u,f,g,y,w){var R=Array.prototype.slice.call(arguments,3);try{t.apply(n,R)}catch(O){this.onError(O)}}var iw=ow;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var q_=document.createElement("react");iw=function(t,n,o,u,f,g,y,w,R){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 O=document.createEvent("Event"),Z=!1,X=!0,ye=window.event,Se=Object.getOwnPropertyDescriptor(window,"event");function xe(){q_.removeEventListener(Re,Dt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ye)}var at=Array.prototype.slice.call(arguments,3);function Dt(){Z=!0,xe(),n.apply(o,at),X=!1}var wt,ir=!1,lr=!1;function fe(pe){if(wt=pe.error,ir=!0,wt===null&&pe.colno===0&&pe.lineno===0&&(lr=!0),pe.defaultPrevented&&wt!=null&&typeof wt=="object")try{wt._suppressLogging=!0}catch($e){}}var Re="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",fe),q_.addEventListener(Re,Dt,!1),O.initEvent(Re,!1,!1),q_.dispatchEvent(O),Se&&Object.defineProperty(window,"event",Se),Z&&X&&(ir?lr&&(wt=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.")):wt=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(wt)),window.removeEventListener("error",fe),!Z)return xe(),ow.apply(this,arguments)}}var A7=iw,kd=!1,Rm=null,Dm=!1,K_=null,N7={onError:function(e){kd=!0,Rm=e}};function X_(e,t,n,o,u,f,g,y,w){kd=!1,Rm=null,A7.apply(N7,arguments)}function L7(e,t,n,o,u,f,g,y,w){if(X_.apply(this,arguments),kd){var R=J_();Dm||(Dm=!0,K_=R)}}function B7(){if(Dm){var e=K_;throw Dm=!1,K_=null,e}}function O7(){return kd}function J_(){if(kd){var e=Rm;return kd=!1,Rm=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 Rd(e){return e._reactInternals}function z7(e){return e._reactInternals!==void 0}function P7(e,t){e._reactInternals=t}var zt=0,Dd=1,Ya=2,_r=4,_c=16,op=32,Q_=64,xr=128,Os=256,ku=512,bc=1024,Nl=2048,zs=4096,yc=8192,Am=16384,M7=Nl|_r|Q_|ku|bc|Am,I7=32767,ip=32768,Qn=65536,Z_=131072,lw=1048576,eb=2097152,Sc=4194304,tb=8388608,Ps=16777216,Nm=33554432,rb=_r|bc|0,ab=Ya|_r|_c|op|ku|zs|yc,lp=_r|Q_|ku|yc,Ad=Nl|_c,Ms=Sc|tb|eb,F7=i.ReactCurrentOwner;function wc(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var o=t;do t=o,(t.flags&(Ya|zs))!==zt&&(n=t.return),o=t.return;while(o)}return t.tag===S?n:null}function sw(e){if(e.tag===W){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 uw(e){return e.tag===S?e.stateNode.containerInfo:null}function H7(e){return wc(e)===e}function j7(e){{var t=F7.current;if(t!==null&&t.tag===_){var n=t,o=n.stateNode;o._warnedAboutRefsInRender||c("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Jt(n)||"A component"),o._warnedAboutRefsInRender=!0}}var u=Rd(e);return u?wc(u)===u:!1}function cw(e){if(wc(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dw(e){var t=e.alternate;if(!t){var n=wc(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var o=e,u=t;;){var f=o.return;if(f===null)break;var g=f.alternate;if(g===null){var y=f.return;if(y!==null){o=u=y;continue}break}if(f.child===g.child){for(var w=f.child;w;){if(w===o)return cw(f),e;if(w===u)return cw(f),t;w=w.sibling}throw new Error("Unable to find node on an unmounted component.")}if(o.return!==u.return)o=f,u=g;else{for(var R=!1,O=f.child;O;){if(O===o){R=!0,o=f,u=g;break}if(O===u){R=!0,u=f,o=g;break}O=O.sibling}if(!R){for(O=g.child;O;){if(O===o){R=!0,o=g,u=f;break}if(O===u){R=!0,u=g,o=f;break}O=O.sibling}if(!R)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(o.alternate!==u)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(o.tag!==S)throw new Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:t}function fw(e){var t=dw(e);return t!==null?pw(t):null}function pw(e){if(e.tag===C||e.tag===k)return e;for(var t=e.child;t!==null;){var n=pw(t);if(n!==null)return n;t=t.sibling}return null}function U7(e){var t=dw(e);return t!==null?hw(t):null}function hw(e){if(e.tag===C||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==T){var n=hw(t);if(n!==null)return n}t=t.sibling}return null}var mw=a.unstable_scheduleCallback,V7=a.unstable_cancelCallback,W7=a.unstable_shouldYield,Y7=a.unstable_requestPaint,dn=a.unstable_now,$7=a.unstable_getCurrentPriorityLevel,Lm=a.unstable_ImmediatePriority,nb=a.unstable_UserBlockingPriority,Cc=a.unstable_NormalPriority,G7=a.unstable_LowPriority,ob=a.unstable_IdlePriority,q7=a.unstable_yieldValue,K7=a.unstable_setDisableYieldValue,xc=null,yn=null,ot=null,as=!1,Ll=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function X7(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 c("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Xe&&(e=At({},e,{getLaneLabelMap:rP,injectProfilingHooks:tP})),xc=t.inject(e),yn=t}catch(n){c("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function J7(e,t){if(yn&&typeof yn.onScheduleFiberRoot=="function")try{yn.onScheduleFiberRoot(xc,e,t)}catch(n){as||(as=!0,c("React instrumentation encountered an error: %s",n))}}function Q7(e,t){if(yn&&typeof yn.onCommitFiberRoot=="function")try{var n=(e.current.flags&xr)===xr;if(st){var o;switch(t){case Fo:o=Lm;break;case Fs:o=nb;break;case Hs:o=Cc;break;case Fm:o=ob;break;default:o=Cc;break}yn.onCommitFiberRoot(xc,e,o,n)}else yn.onCommitFiberRoot(xc,e,void 0,n)}catch(u){as||(as=!0,c("React instrumentation encountered an error: %s",u))}}function Z7(e){if(yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(xc,e)}catch(t){as||(as=!0,c("React instrumentation encountered an error: %s",t))}}function eP(e){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(xc,e)}catch(t){as||(as=!0,c("React instrumentation encountered an error: %s",t))}}function fn(e){if(typeof q7=="function"&&(K7(e),s(e)),yn&&typeof yn.setStrictMode=="function")try{yn.setStrictMode(xc,e)}catch(t){as||(as=!0,c("React instrumentation encountered an error: %s",t))}}function tP(e){ot=e}function rP(){{for(var e=new Map,t=1,n=0;n<lb;n++){var o=wP(t);e.set(t,o),t*=2}return e}}function aP(e){ot!==null&&typeof ot.markCommitStarted=="function"&&ot.markCommitStarted(e)}function vw(){ot!==null&&typeof ot.markCommitStopped=="function"&&ot.markCommitStopped()}function sp(e){ot!==null&&typeof ot.markComponentRenderStarted=="function"&&ot.markComponentRenderStarted(e)}function Nd(){ot!==null&&typeof ot.markComponentRenderStopped=="function"&&ot.markComponentRenderStopped()}function nP(e){ot!==null&&typeof ot.markComponentPassiveEffectMountStarted=="function"&&ot.markComponentPassiveEffectMountStarted(e)}function oP(){ot!==null&&typeof ot.markComponentPassiveEffectMountStopped=="function"&&ot.markComponentPassiveEffectMountStopped()}function iP(e){ot!==null&&typeof ot.markComponentPassiveEffectUnmountStarted=="function"&&ot.markComponentPassiveEffectUnmountStarted(e)}function lP(){ot!==null&&typeof ot.markComponentPassiveEffectUnmountStopped=="function"&&ot.markComponentPassiveEffectUnmountStopped()}function sP(e){ot!==null&&typeof ot.markComponentLayoutEffectMountStarted=="function"&&ot.markComponentLayoutEffectMountStarted(e)}function uP(){ot!==null&&typeof ot.markComponentLayoutEffectMountStopped=="function"&&ot.markComponentLayoutEffectMountStopped()}function gw(e){ot!==null&&typeof ot.markComponentLayoutEffectUnmountStarted=="function"&&ot.markComponentLayoutEffectUnmountStarted(e)}function _w(){ot!==null&&typeof ot.markComponentLayoutEffectUnmountStopped=="function"&&ot.markComponentLayoutEffectUnmountStopped()}function cP(e,t,n){ot!==null&&typeof ot.markComponentErrored=="function"&&ot.markComponentErrored(e,t,n)}function dP(e,t,n){ot!==null&&typeof ot.markComponentSuspended=="function"&&ot.markComponentSuspended(e,t,n)}function fP(e){ot!==null&&typeof ot.markLayoutEffectsStarted=="function"&&ot.markLayoutEffectsStarted(e)}function pP(){ot!==null&&typeof ot.markLayoutEffectsStopped=="function"&&ot.markLayoutEffectsStopped()}function hP(e){ot!==null&&typeof ot.markPassiveEffectsStarted=="function"&&ot.markPassiveEffectsStarted(e)}function mP(){ot!==null&&typeof ot.markPassiveEffectsStopped=="function"&&ot.markPassiveEffectsStopped()}function bw(e){ot!==null&&typeof ot.markRenderStarted=="function"&&ot.markRenderStarted(e)}function vP(){ot!==null&&typeof ot.markRenderYielded=="function"&&ot.markRenderYielded()}function yw(){ot!==null&&typeof ot.markRenderStopped=="function"&&ot.markRenderStopped()}function gP(e){ot!==null&&typeof ot.markRenderScheduled=="function"&&ot.markRenderScheduled(e)}function _P(e,t){ot!==null&&typeof ot.markForceUpdateScheduled=="function"&&ot.markForceUpdateScheduled(e,t)}function ib(e,t){ot!==null&&typeof ot.markStateUpdateScheduled=="function"&&ot.markStateUpdateScheduled(e,t)}var Nt=0,dr=1,Hr=2,Aa=8,ns=16,Sw=Math.clz32?Math.clz32:SP,bP=Math.log,yP=Math.LN2;function SP(e){var t=e>>>0;return t===0?32:31-(bP(t)/yP|0)|0}var lb=31,Me=0,pn=0,Ht=1,Ld=2,Is=4,Tc=8,os=16,up=32,Bd=4194240,cp=64,sb=128,ub=256,cb=512,db=1024,fb=2048,pb=4096,hb=8192,mb=16384,vb=32768,gb=65536,_b=131072,bb=262144,yb=524288,Sb=1048576,wb=2097152,Bm=130023424,Od=4194304,Cb=8388608,xb=16777216,Tb=33554432,Eb=67108864,ww=Od,dp=134217728,Cw=268435455,fp=268435456,Ec=536870912,Mo=1073741824;function wP(e){{if(e&Ht)return"Sync";if(e&Ld)return"InputContinuousHydration";if(e&Is)return"InputContinuous";if(e&Tc)return"DefaultHydration";if(e&os)return"Default";if(e&up)return"TransitionHydration";if(e&Bd)return"Transition";if(e&Bm)return"Retry";if(e&dp)return"SelectiveHydration";if(e&fp)return"IdleHydration";if(e&Ec)return"Idle";if(e&Mo)return"Offscreen"}}var fa=-1,Om=cp,zm=Od;function pp(e){switch(kc(e)){case Ht:return Ht;case Ld:return Ld;case Is:return Is;case Tc:return Tc;case os:return os;case up:return up;case cp:case sb:case ub:case cb:case db:case fb:case pb:case hb:case mb:case vb:case gb:case _b:case bb:case yb:case Sb:case wb:return e&Bd;case Od:case Cb:case xb:case Tb:case Eb:return e&Bm;case dp:return dp;case fp:return fp;case Ec:return Ec;case Mo:return Mo;default:return c("Should have found matching lanes. This is a bug in React."),e}}function Pm(e,t){var n=e.pendingLanes;if(n===Me)return Me;var o=Me,u=e.suspendedLanes,f=e.pingedLanes,g=n&Cw;if(g!==Me){var y=g&~u;if(y!==Me)o=pp(y);else{var w=g&f;w!==Me&&(o=pp(w))}}else{var R=n&~u;R!==Me?o=pp(R):f!==Me&&(o=pp(f))}if(o===Me)return Me;if(t!==Me&&t!==o&&(t&u)===Me){var O=kc(o),Z=kc(t);if(O>=Z||O===os&&(Z&Bd)!==Me)return t}(o&Is)!==Me&&(o|=n&os);var X=e.entangledLanes;if(X!==Me)for(var ye=e.entanglements,Se=o&X;Se>0;){var xe=Rc(Se),at=1<<xe;o|=ye[xe],Se&=~at}return o}function CP(e,t){for(var n=e.eventTimes,o=fa;t>0;){var u=Rc(t),f=1<<u,g=n[u];g>o&&(o=g),t&=~f}return o}function xP(e,t){switch(e){case Ht:case Ld:case Is:return t+250;case Tc:case os:case up:case cp:case sb:case ub:case cb:case db:case fb:case pb:case hb:case mb:case vb:case gb:case _b:case bb:case yb:case Sb:case wb:return t+5e3;case Od:case Cb:case xb:case Tb:case Eb:return fa;case dp:case fp:case Ec:case Mo:return fa;default:return c("Should have found matching lanes. This is a bug in React."),fa}}function TP(e,t){for(var n=e.pendingLanes,o=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,g=n;g>0;){var y=Rc(g),w=1<<y,R=f[y];R===fa?((w&o)===Me||(w&u)!==Me)&&(f[y]=xP(w,t)):R<=t&&(e.expiredLanes|=w),g&=~w}}function EP(e){return pp(e.pendingLanes)}function kb(e){var t=e.pendingLanes&~Mo;return t!==Me?t:t&Mo?Mo:Me}function kP(e){return(e&Ht)!==Me}function Rb(e){return(e&Cw)!==Me}function xw(e){return(e&Bm)===e}function RP(e){var t=Ht|Is|os;return(e&t)===Me}function DP(e){return(e&Bd)===e}function Mm(e,t){var n=Ld|Is|Tc|os;return(t&n)!==Me}function AP(e,t){return(t&e.expiredLanes)!==Me}function Tw(e){return(e&Bd)!==Me}function Ew(){var e=Om;return Om<<=1,(Om&Bd)===Me&&(Om=cp),e}function NP(){var e=zm;return zm<<=1,(zm&Bm)===Me&&(zm=Od),e}function kc(e){return e&-e}function hp(e){return kc(e)}function Rc(e){return 31-Sw(e)}function Db(e){return Rc(e)}function Io(e,t){return(e&t)!==Me}function zd(e,t){return(e&t)===t}function Zt(e,t){return e|t}function Im(e,t){return e&~t}function kw(e,t){return e&t}function OG(e){return e}function LP(e,t){return e!==pn&&e<t?e:t}function Ab(e){for(var t=[],n=0;n<lb;n++)t.push(e);return t}function mp(e,t,n){e.pendingLanes|=t,t!==Ec&&(e.suspendedLanes=Me,e.pingedLanes=Me);var o=e.eventTimes,u=Db(t);o[u]=n}function BP(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,o=t;o>0;){var u=Rc(o),f=1<<u;n[u]=fa,o&=~f}}function Rw(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function OP(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Me,e.pingedLanes=Me,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var o=e.entanglements,u=e.eventTimes,f=e.expirationTimes,g=n;g>0;){var y=Rc(g),w=1<<y;o[y]=Me,u[y]=fa,f[y]=fa,g&=~w}}function Nb(e,t){for(var n=e.entangledLanes|=t,o=e.entanglements,u=n;u;){var f=Rc(u),g=1<<f;g&t|o[f]&t&&(o[f]|=t),u&=~g}}function zP(e,t){var n=kc(t),o;switch(n){case Is:o=Ld;break;case os:o=Tc;break;case cp:case sb:case ub:case cb:case db:case fb:case pb:case hb:case mb:case vb:case gb:case _b:case bb:case yb:case Sb:case wb:case Od:case Cb:case xb:case Tb:case Eb:o=up;break;case Ec:o=fp;break;default:o=pn;break}return(o&(e.suspendedLanes|t))!==pn?pn:o}function Dw(e,t,n){if(Ll)for(var o=e.pendingUpdatersLaneMap;n>0;){var u=Db(n),f=1<<u,g=o[u];g.add(t),n&=~f}}function Aw(e,t){if(Ll)for(var n=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;t>0;){var u=Db(t),f=1<<u,g=n[u];g.size>0&&(g.forEach(function(y){var w=y.alternate;(w===null||!o.has(w))&&o.add(y)}),g.clear()),t&=~f}}function Nw(e,t){return null}var Fo=Ht,Fs=Is,Hs=os,Fm=Ec,vp=pn;function Bl(){return vp}function hn(e){vp=e}function PP(e,t){var n=vp;try{return vp=e,t()}finally{vp=n}}function MP(e,t){return e!==0&&e<t?e:t}function IP(e,t){return e===0||e>t?e:t}function Lb(e,t){return e!==0&&e<t}function Lw(e){var t=kc(e);return Lb(Fo,t)?Lb(Fs,t)?Rb(t)?Hs:Fm:Fs:Fo}function Hm(e){var t=e.current.memoizedState;return t.isDehydrated}var Bw;function FP(e){Bw=e}function HP(e){Bw(e)}var Bb;function jP(e){Bb=e}var Ow;function UP(e){Ow=e}var zw;function VP(e){zw=e}var Pw;function WP(e){Pw=e}var Ob=!1,jm=[],Ru=null,Du=null,Au=null,gp=new Map,_p=new Map,Nu=[],YP=["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 $P(e){return YP.indexOf(e)>-1}function GP(e,t,n,o,u){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:u,targetContainers:[o]}}function Mw(e,t){switch(e){case"focusin":case"focusout":Ru=null;break;case"dragenter":case"dragleave":Du=null;break;case"mouseover":case"mouseout":Au=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;gp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var o=t.pointerId;_p.delete(o);break}}}function bp(e,t,n,o,u,f){if(e===null||e.nativeEvent!==f){var g=GP(t,n,o,u,f);if(t!==null){var y=Ou(t);y!==null&&Bb(y)}return g}e.eventSystemFlags|=o;var w=e.targetContainers;return u!==null&&w.indexOf(u)===-1&&w.push(u),e}function qP(e,t,n,o,u){switch(t){case"focusin":{var f=u;return Ru=bp(Ru,e,t,n,o,f),!0}case"dragenter":{var g=u;return Du=bp(Du,e,t,n,o,g),!0}case"mouseover":{var y=u;return Au=bp(Au,e,t,n,o,y),!0}case"pointerover":{var w=u,R=w.pointerId;return gp.set(R,bp(gp.get(R)||null,e,t,n,o,w)),!0}case"gotpointercapture":{var O=u,Z=O.pointerId;return _p.set(Z,bp(_p.get(Z)||null,e,t,n,o,O)),!0}}return!1}function Iw(e){var t=Nc(e.target);if(t!==null){var n=wc(t);if(n!==null){var o=n.tag;if(o===W){var u=sw(n);if(u!==null){e.blockedOn=u,Pw(e.priority,function(){Ow(n)});return}}else if(o===S){var f=n.stateNode;if(Hm(f)){e.blockedOn=uw(n);return}}}}e.blockedOn=null}function KP(e){for(var t=zw(),n={blockedOn:null,target:e,priority:t},o=0;o<Nu.length&&Lb(t,Nu[o].priority);o++);Nu.splice(o,0,n),o===0&&Iw(n)}function Um(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],o=Mb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(o===null){var u=e.nativeEvent,f=new u.constructor(u.type,u);S7(f),u.target.dispatchEvent(f),w7()}else{var g=Ou(o);return g!==null&&Bb(g),e.blockedOn=o,!1}t.shift()}return!0}function Fw(e,t,n){Um(e)&&n.delete(t)}function XP(){Ob=!1,Ru!==null&&Um(Ru)&&(Ru=null),Du!==null&&Um(Du)&&(Du=null),Au!==null&&Um(Au)&&(Au=null),gp.forEach(Fw),_p.forEach(Fw)}function yp(e,t){e.blockedOn===t&&(e.blockedOn=null,Ob||(Ob=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,XP)))}function Sp(e){if(jm.length>0){yp(jm[0],e);for(var t=1;t<jm.length;t++){var n=jm[t];n.blockedOn===e&&(n.blockedOn=null)}}Ru!==null&&yp(Ru,e),Du!==null&&yp(Du,e),Au!==null&&yp(Au,e);var o=function(y){return yp(y,e)};gp.forEach(o),_p.forEach(o);for(var u=0;u<Nu.length;u++){var f=Nu[u];f.blockedOn===e&&(f.blockedOn=null)}for(;Nu.length>0;){var g=Nu[0];if(g.blockedOn!==null)break;Iw(g),g.blockedOn===null&&Nu.shift()}}var Pd=i.ReactCurrentBatchConfig,zb=!0;function Hw(e){zb=!!e}function JP(){return zb}function QP(e,t,n){var o=jw(t),u;switch(o){case Fo:u=ZP;break;case Fs:u=eM;break;case Hs:default:u=Pb;break}return u.bind(null,t,n,e)}function ZP(e,t,n,o){var u=Bl(),f=Pd.transition;Pd.transition=null;try{hn(Fo),Pb(e,t,n,o)}finally{hn(u),Pd.transition=f}}function eM(e,t,n,o){var u=Bl(),f=Pd.transition;Pd.transition=null;try{hn(Fs),Pb(e,t,n,o)}finally{hn(u),Pd.transition=f}}function Pb(e,t,n,o){zb&&tM(e,t,n,o)}function tM(e,t,n,o){var u=Mb(e,t,n,o);if(u===null){Jb(e,t,o,Vm,n),Mw(e,o);return}if(qP(u,e,t,n,o)){o.stopPropagation();return}if(Mw(e,o),t&tp&&$P(e)){for(;u!==null;){var f=Ou(u);f!==null&&HP(f);var g=Mb(e,t,n,o);if(g===null&&Jb(e,t,o,Vm,n),g===u)break;u=g}u!==null&&o.stopPropagation();return}Jb(e,t,o,null,n)}var Vm=null;function Mb(e,t,n,o){Vm=null;var u=W_(o),f=Nc(u);if(f!==null){var g=wc(f);if(g===null)f=null;else{var y=g.tag;if(y===W){var w=sw(g);if(w!==null)return w;f=null}else if(y===S){var R=g.stateNode;if(Hm(R))return uw(g);f=null}else g!==f&&(f=null)}}return Vm=f,null}function jw(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 Fo;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 Fs;case"message":{var t=$7();switch(t){case Lm:return Fo;case nb:return Fs;case Cc:case G7:return Hs;case ob:return Fm;default:return Hs}}default:return Hs}}function rM(e,t,n){return e.addEventListener(t,n,!1),n}function aM(e,t,n){return e.addEventListener(t,n,!0),n}function nM(e,t,n,o){return e.addEventListener(t,n,{capture:!0,passive:o}),n}function oM(e,t,n,o){return e.addEventListener(t,n,{passive:o}),n}var wp=null,Ib=null,Cp=null;function iM(e){return wp=e,Ib=Vw(),!0}function lM(){wp=null,Ib=null,Cp=null}function Uw(){if(Cp)return Cp;var e,t=Ib,n=t.length,o,u=Vw(),f=u.length;for(e=0;e<n&&t[e]===u[e];e++);var g=n-e;for(o=1;o<=g&&t[n-o]===u[f-o];o++);var y=o>1?1-o:void 0;return Cp=u.slice(e,y),Cp}function Vw(){return"value"in wp?wp.value:wp.textContent}function Wm(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 Ym(){return!0}function Ww(){return!1}function Ho(e){function t(n,o,u,f,g){this._reactName=n,this._targetInst=u,this.type=o,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var w=e[y];w?this[y]=w(f):this[y]=f[y]}var R=f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1;return R?this.isDefaultPrevented=Ym:this.isDefaultPrevented=Ww,this.isPropagationStopped=Ww,this}return At(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=Ym)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ym)},persist:function(){},isPersistent:Ym}),t}var Md={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fb=Ho(Md),xp=At({},Md,{view:0,detail:0}),sM=Ho(xp),Hb,jb,Tp;function uM(e){e!==Tp&&(Tp&&e.type==="mousemove"?(Hb=e.screenX-Tp.screenX,jb=e.screenY-Tp.screenY):(Hb=0,jb=0),Tp=e)}var $m=At({},xp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vb,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:(uM(e),Hb)},movementY:function(e){return"movementY"in e?e.movementY:jb}}),Yw=Ho($m),cM=At({},$m,{dataTransfer:0}),dM=Ho(cM),fM=At({},xp,{relatedTarget:0}),Ub=Ho(fM),pM=At({},Md,{animationName:0,elapsedTime:0,pseudoElement:0}),hM=Ho(pM),mM=At({},Md,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vM=Ho(mM),gM=At({},Md,{data:0}),$w=Ho(gM),_M=$w,bM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yM={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 SM(e){if(e.key){var t=bM[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Wm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?yM[e.keyCode]||"Unidentified":""}var wM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function CM(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var o=wM[e];return o?!!n[o]:!1}function Vb(e){return CM}var xM=At({},xp,{key:SM,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vb,charCode:function(e){return e.type==="keypress"?Wm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Wm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),TM=Ho(xM),EM=At({},$m,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gw=Ho(EM),kM=At({},xp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vb}),RM=Ho(kM),DM=At({},Md,{propertyName:0,elapsedTime:0,pseudoElement:0}),AM=Ho(DM),NM=At({},$m,{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}),LM=Ho(NM),BM=[9,13,27,32],qw=229,Wb=ar&&"CompositionEvent"in window,Ep=null;ar&&"documentMode"in document&&(Ep=document.documentMode);var OM=ar&&"TextEvent"in window&&!Ep,Kw=ar&&(!Wb||Ep&&Ep>8&&Ep<=11),Xw=32,Jw=String.fromCharCode(Xw);function zM(){or("onBeforeInput",["compositionend","keypress","textInput","paste"]),or("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),or("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),or("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Qw=!1;function PM(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function MM(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function IM(e,t){return e==="keydown"&&t.keyCode===qw}function Zw(e,t){switch(e){case"keyup":return BM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==qw;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eC(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function tC(e){return e.locale==="ko"}var Id=!1;function FM(e,t,n,o,u){var f,g;if(Wb?f=MM(t):Id?Zw(t,o)&&(f="onCompositionEnd"):IM(t,o)&&(f="onCompositionStart"),!f)return null;Kw&&!tC(o)&&(!Id&&f==="onCompositionStart"?Id=iM(u):f==="onCompositionEnd"&&Id&&(g=Uw()));var y=Jm(n,f);if(y.length>0){var w=new $w(f,t,null,o,u);if(e.push({event:w,listeners:y}),g)w.data=g;else{var R=eC(o);R!==null&&(w.data=R)}}}function HM(e,t){switch(e){case"compositionend":return eC(t);case"keypress":var n=t.which;return n!==Xw?null:(Qw=!0,Jw);case"textInput":var o=t.data;return o===Jw&&Qw?null:o;default:return null}}function jM(e,t){if(Id){if(e==="compositionend"||!Wb&&Zw(e,t)){var n=Uw();return lM(),Id=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!PM(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Kw&&!tC(t)?null:t.data;default:return null}}function UM(e,t,n,o,u){var f;if(OM?f=HM(t,o):f=jM(t,o),!f)return null;var g=Jm(n,"onBeforeInput");if(g.length>0){var y=new _M("onBeforeInput","beforeinput",null,o,u);e.push({event:y,listeners:g}),y.data=f}}function VM(e,t,n,o,u,f,g){FM(e,t,n,o,u),UM(e,t,n,o,u)}var WM={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 rC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!WM[e.type]:t==="textarea"}function YM(e){if(!ar)return!1;var t="on"+e,n=t in document;if(!n){var o=document.createElement("div");o.setAttribute(t,"return;"),n=typeof o[t]=="function"}return n}function $M(){or("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function aC(e,t,n,o){ew(o);var u=Jm(t,"onChange");if(u.length>0){var f=new Fb("onChange","change",null,n,o);e.push({event:f,listeners:u})}}var kp=null,Rp=null;function GM(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function qM(e){var t=[];aC(t,Rp,e,W_(e)),nw(KM,t)}function KM(e){SC(e,0)}function Gm(e){var t=Wd(e);if(bd(t))return e}function XM(e,t){if(e==="change")return t}var nC=!1;ar&&(nC=YM("input")&&(!document.documentMode||document.documentMode>9));function JM(e,t){kp=e,Rp=t,kp.attachEvent("onpropertychange",iC)}function oC(){kp&&(kp.detachEvent("onpropertychange",iC),kp=null,Rp=null)}function iC(e){e.propertyName==="value"&&Gm(Rp)&&qM(e)}function QM(e,t,n){e==="focusin"?(oC(),JM(t,n)):e==="focusout"&&oC()}function ZM(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gm(Rp)}function eI(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function tI(e,t){if(e==="click")return Gm(t)}function rI(e,t){if(e==="input"||e==="change")return Gm(t)}function aI(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Br(e,"number",e.value)}function nI(e,t,n,o,u,f,g){var y=n?Wd(n):window,w,R;if(GM(y)?w=XM:rC(y)?nC?w=rI:(w=ZM,R=QM):eI(y)&&(w=tI),w){var O=w(t,n);if(O){aC(e,O,o,u);return}}R&&R(t,y,n),t==="focusout"&&aI(y)}function oI(){Ue("onMouseEnter",["mouseout","mouseover"]),Ue("onMouseLeave",["mouseout","mouseover"]),Ue("onPointerEnter",["pointerout","pointerover"]),Ue("onPointerLeave",["pointerout","pointerover"])}function iI(e,t,n,o,u,f,g){var y=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout";if(y&&!C7(o)){var R=o.relatedTarget||o.fromElement;if(R&&(Nc(R)||Vp(R)))return}if(!(!w&&!y)){var O;if(u.window===u)O=u;else{var Z=u.ownerDocument;Z?O=Z.defaultView||Z.parentWindow:O=window}var X,ye;if(w){var Se=o.relatedTarget||o.toElement;if(X=n,ye=Se?Nc(Se):null,ye!==null){var xe=wc(ye);(ye!==xe||ye.tag!==C&&ye.tag!==k)&&(ye=null)}}else X=null,ye=n;if(X!==ye){var at=Yw,Dt="onMouseLeave",wt="onMouseEnter",ir="mouse";(t==="pointerout"||t==="pointerover")&&(at=Gw,Dt="onPointerLeave",wt="onPointerEnter",ir="pointer");var lr=X==null?O:Wd(X),fe=ye==null?O:Wd(ye),Re=new at(Dt,ir+"leave",X,o,u);Re.target=lr,Re.relatedTarget=fe;var pe=null,$e=Nc(u);if($e===n){var dt=new at(wt,ir+"enter",ye,o,u);dt.target=fe,dt.relatedTarget=lr,pe=dt}AI(e,Re,pe,X,ye)}}}function lI(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jo=typeof Object.is=="function"?Object.is:lI;function Dp(e,t){if(jo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var u=0;u<n.length;u++){var f=n[u];if(!ur.call(t,f)||!jo(e[f],t[f]))return!1}return!0}function lC(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sI(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function sC(e,t){for(var n=lC(e),o=0,u=0;n;){if(n.nodeType===Ls){if(u=o+n.textContent.length,o<=t&&u>=t)return{node:n,offset:t-o};o=u}n=lC(sI(n))}}function uI(e){var t=e.ownerDocument,n=t&&t.defaultView||window,o=n.getSelection&&n.getSelection();if(!o||o.rangeCount===0)return null;var u=o.anchorNode,f=o.anchorOffset,g=o.focusNode,y=o.focusOffset;try{u.nodeType,g.nodeType}catch(w){return null}return cI(e,u,f,g,y)}function cI(e,t,n,o,u){var f=0,g=-1,y=-1,w=0,R=0,O=e,Z=null;e:for(;;){for(var X=null;O===t&&(n===0||O.nodeType===Ls)&&(g=f+n),O===o&&(u===0||O.nodeType===Ls)&&(y=f+u),O.nodeType===Ls&&(f+=O.nodeValue.length),(X=O.firstChild)!==null;)Z=O,O=X;for(;;){if(O===e)break e;if(Z===t&&++w===n&&(g=f),Z===o&&++R===u&&(y=f),(X=O.nextSibling)!==null)break;O=Z,Z=O.parentNode}O=X}return g===-1||y===-1?null:{start:g,end:y}}function dI(e,t){var n=e.ownerDocument||document,o=n&&n.defaultView||window;if(o.getSelection){var u=o.getSelection(),f=e.textContent.length,g=Math.min(t.start,f),y=t.end===void 0?g:Math.min(t.end,f);if(!u.extend&&g>y){var w=y;y=g,g=w}var R=sC(e,g),O=sC(e,y);if(R&&O){if(u.rangeCount===1&&u.anchorNode===R.node&&u.anchorOffset===R.offset&&u.focusNode===O.node&&u.focusOffset===O.offset)return;var Z=n.createRange();Z.setStart(R.node,R.offset),u.removeAllRanges(),g>y?(u.addRange(Z),u.extend(O.node,O.offset)):(Z.setEnd(O.node,O.offset),u.addRange(Z))}}}function uC(e){return e&&e.nodeType===Ls}function cC(e,t){return!e||!t?!1:e===t?!0:uC(e)?!1:uC(t)?cC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function fI(e){return e&&e.ownerDocument&&cC(e.ownerDocument.documentElement,e)}function pI(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function dC(){for(var e=window,t=yd();t instanceof e.HTMLIFrameElement;){if(pI(t))e=t.contentWindow;else return t;t=yd(e.document)}return t}function Yb(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 hI(){var e=dC();return{focusedElem:e,selectionRange:Yb(e)?vI(e):null}}function mI(e){var t=dC(),n=e.focusedElem,o=e.selectionRange;if(t!==n&&fI(n)){o!==null&&Yb(n)&&gI(n,o);for(var u=[],f=n;f=f.parentNode;)f.nodeType===wo&&u.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof n.focus=="function"&&n.focus();for(var g=0;g<u.length;g++){var y=u[g];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function vI(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=uI(e),t||{start:0,end:0}}function gI(e,t){var n=t.start,o=t.end;o===void 0&&(o=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(o,e.value.length)):dI(e,t)}var _I=ar&&"documentMode"in document&&document.documentMode<=11;function bI(){or("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Fd=null,$b=null,Ap=null,Gb=!1;function yI(e){if("selectionStart"in e&&Yb(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 SI(e){return e.window===e?e.document:e.nodeType===Bs?e:e.ownerDocument}function fC(e,t,n){var o=SI(n);if(!(Gb||Fd==null||Fd!==yd(o))){var u=yI(Fd);if(!Ap||!Dp(Ap,u)){Ap=u;var f=Jm($b,"onSelect");if(f.length>0){var g=new Fb("onSelect","select",null,t,n);e.push({event:g,listeners:f}),g.target=Fd}}}}function wI(e,t,n,o,u,f,g){var y=n?Wd(n):window;switch(t){case"focusin":(rC(y)||y.contentEditable==="true")&&(Fd=y,$b=n,Ap=null);break;case"focusout":Fd=null,$b=null,Ap=null;break;case"mousedown":Gb=!0;break;case"contextmenu":case"mouseup":case"dragend":Gb=!1,fC(e,o,u);break;case"selectionchange":if(_I)break;case"keydown":case"keyup":fC(e,o,u)}}function qm(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Hd={animationend:qm("Animation","AnimationEnd"),animationiteration:qm("Animation","AnimationIteration"),animationstart:qm("Animation","AnimationStart"),transitionend:qm("Transition","TransitionEnd")},qb={},pC={};ar&&(pC=document.createElement("div").style,"AnimationEvent"in window||(delete Hd.animationend.animation,delete Hd.animationiteration.animation,delete Hd.animationstart.animation),"TransitionEvent"in window||delete Hd.transitionend.transition);function Km(e){if(qb[e])return qb[e];if(!Hd[e])return e;var t=Hd[e];for(var n in t)if(t.hasOwnProperty(n)&&n in pC)return qb[e]=t[n];return e}var hC=Km("animationend"),mC=Km("animationiteration"),vC=Km("animationstart"),gC=Km("transitionend"),_C=new Map,bC=["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 Lu(e,t){_C.set(e,t),or(t,[e])}function CI(){for(var e=0;e<bC.length;e++){var t=bC[e],n=t.toLowerCase(),o=t[0].toUpperCase()+t.slice(1);Lu(n,"on"+o)}Lu(hC,"onAnimationEnd"),Lu(mC,"onAnimationIteration"),Lu(vC,"onAnimationStart"),Lu("dblclick","onDoubleClick"),Lu("focusin","onFocus"),Lu("focusout","onBlur"),Lu(gC,"onTransitionEnd")}function xI(e,t,n,o,u,f,g){var y=_C.get(t);if(y!==void 0){var w=Fb,R=t;switch(t){case"keypress":if(Wm(o)===0)return;case"keydown":case"keyup":w=TM;break;case"focusin":R="focus",w=Ub;break;case"focusout":R="blur",w=Ub;break;case"beforeblur":case"afterblur":w=Ub;break;case"click":if(o.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=Yw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=dM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=RM;break;case hC:case mC:case vC:w=hM;break;case gC:w=AM;break;case"scroll":w=sM;break;case"wheel":w=LM;break;case"copy":case"cut":case"paste":w=vM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Gw;break}var O=(f&tp)!==0;{var Z=!O&&t==="scroll",X=RI(n,y,o.type,O,Z);if(X.length>0){var ye=new w(y,R,null,o,u);e.push({event:ye,listeners:X})}}}}CI(),oI(),$M(),bI(),zM();function TI(e,t,n,o,u,f,g){xI(e,t,n,o,u,f);var y=(f&y7)===0;y&&(iI(e,t,n,o,u),nI(e,t,n,o,u),wI(e,t,n,o,u),VM(e,t,n,o,u))}var Np=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Kb=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Np));function yC(e,t,n){var o=e.type||"unknown-event";e.currentTarget=n,L7(o,t,void 0,e),e.currentTarget=null}function EI(e,t,n){var o;if(n)for(var u=t.length-1;u>=0;u--){var f=t[u],g=f.instance,y=f.currentTarget,w=f.listener;if(g!==o&&e.isPropagationStopped())return;yC(e,w,y),o=g}else for(var R=0;R<t.length;R++){var O=t[R],Z=O.instance,X=O.currentTarget,ye=O.listener;if(Z!==o&&e.isPropagationStopped())return;yC(e,ye,X),o=Z}}function SC(e,t){for(var n=(t&tp)!==0,o=0;o<e.length;o++){var u=e[o],f=u.event,g=u.listeners;EI(f,g,n)}B7()}function kI(e,t,n,o,u){var f=W_(n),g=[];TI(g,e,o,n,f,t),SC(g,t)}function ma(e,t){Kb.has(e)||c('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,o=aF(t),u=NI(e,n);o.has(u)||(wC(t,e,V_,n),o.add(u))}function Xb(e,t,n){Kb.has(e)&&!t&&c('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=tp),wC(n,e,o,t)}var Xm="_reactListening"+Math.random().toString(36).slice(2);function Lp(e){if(!e[Xm]){e[Xm]=!0,vt.forEach(function(n){n!=="selectionchange"&&(Kb.has(n)||Xb(n,!1,e),Xb(n,!0,e))});var t=e.nodeType===Bs?e:e.ownerDocument;t!==null&&(t[Xm]||(t[Xm]=!0,Xb("selectionchange",!1,t)))}}function wC(e,t,n,o,u){var f=QP(e,t,n),g=void 0;G_&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e;var y;o?g!==void 0?y=nM(e,t,f,g):y=aM(e,t,f):g!==void 0?y=oM(e,t,f,g):y=rM(e,t,f)}function CC(e,t){return e===t||e.nodeType===Wa&&e.parentNode===t}function Jb(e,t,n,o,u){var f=o;if(!(t&Q3)&&!(t&V_)){var g=u;if(o!==null){var y=o;e:for(;;){if(y===null)return;var w=y.tag;if(w===S||w===T){var R=y.stateNode.containerInfo;if(CC(R,g))break;if(w===T)for(var O=y.return;O!==null;){var Z=O.tag;if(Z===S||Z===T){var X=O.stateNode.containerInfo;if(CC(X,g))return}O=O.return}for(;R!==null;){var ye=Nc(R);if(ye===null)return;var Se=ye.tag;if(Se===C||Se===k){y=f=ye;continue e}R=R.parentNode}}y=y.return}}}nw(function(){return kI(e,t,n,f)})}function Bp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function RI(e,t,n,o,u,f){for(var g=t!==null?t+"Capture":null,y=o?g:t,w=[],R=e,O=null;R!==null;){var Z=R,X=Z.stateNode,ye=Z.tag;if(ye===C&&X!==null&&(O=X,y!==null)){var Se=ap(R,y);Se!=null&&w.push(Bp(R,Se,O))}if(u)break;R=R.return}return w}function Jm(e,t){for(var n=t+"Capture",o=[],u=e;u!==null;){var f=u,g=f.stateNode,y=f.tag;if(y===C&&g!==null){var w=g,R=ap(u,n);R!=null&&o.unshift(Bp(u,R,w));var O=ap(u,t);O!=null&&o.push(Bp(u,O,w))}u=u.return}return o}function jd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==C);return e||null}function DI(e,t){for(var n=e,o=t,u=0,f=n;f;f=jd(f))u++;for(var g=0,y=o;y;y=jd(y))g++;for(;u-g>0;)n=jd(n),u--;for(;g-u>0;)o=jd(o),g--;for(var w=u;w--;){if(n===o||o!==null&&n===o.alternate)return n;n=jd(n),o=jd(o)}return null}function xC(e,t,n,o,u){for(var f=t._reactName,g=[],y=n;y!==null&&y!==o;){var w=y,R=w.alternate,O=w.stateNode,Z=w.tag;if(R!==null&&R===o)break;if(Z===C&&O!==null){var X=O;if(u){var ye=ap(y,f);ye!=null&&g.unshift(Bp(y,ye,X))}else if(!u){var Se=ap(y,f);Se!=null&&g.push(Bp(y,Se,X))}}y=y.return}g.length!==0&&e.push({event:t,listeners:g})}function AI(e,t,n,o,u){var f=o&&u?DI(o,u):null;o!==null&&xC(e,t,o,f,!1),u!==null&&n!==null&&xC(e,n,u,f,!0)}function NI(e,t){return e+"__"+(t?"capture":"bubble")}var Co=!1,Op="dangerouslySetInnerHTML",Qm="suppressContentEditableWarning",Bu="suppressHydrationWarning",TC="autoFocus",Dc="children",Ac="style",Zm="__html",Qb,ev,zp,EC,tv,kC,RC;Qb={dialog:!0,webview:!0},ev=function(e,t){p7(e,t),h7(e,t),b7(e,t,{registrationNameDependencies:Kt,possibleRegistrationNames:nr})},kC=ar&&!document.documentMode,zp=function(e,t,n){if(!Co){var o=rv(n),u=rv(t);u!==o&&(Co=!0,c("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(o)))}},EC=function(e){if(!Co){Co=!0;var t=[];e.forEach(function(n){t.push(n)}),c("Extra attributes from the server: %s",t)}},tv=function(e,t){t===!1?c("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):c("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},RC=function(e,t){var n=e.namespaceURI===Ns?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var LI=/\r\n?/g,BI=/\u0000|\uFFFD/g;function rv(e){Ra(e);var t=typeof e=="string"?e:""+e;return t.replace(LI,`
|
|
32
|
-
`).replace(BI,"")}function av(e,t,n,o){var u=rv(t),f=rv(e);if(f!==u&&(o&&(Co||(Co=!0,c('Text content did not match. Server: "%s" Client: "%s"',f,u))),n&&ee))throw new Error("Text content does not match server-rendered HTML.")}function DC(e){return e.nodeType===Bs?e:e.ownerDocument}function OI(){}function nv(e){e.onclick=OI}function zI(e,t,n,o,u){for(var f in o)if(o.hasOwnProperty(f)){var g=o[f];if(f===Ac)g&&Object.freeze(g),$3(t,g);else if(f===Op){var y=g?g[Zm]:void 0;y!=null&&j3(t,y)}else if(f===Dc)if(typeof g=="string"){var w=e!=="textarea"||g!=="";w&&Em(t,g)}else typeof g=="number"&&Em(t,""+g);else f===Qm||f===Bu||f===TC||(Kt.hasOwnProperty(f)?g!=null&&(typeof g!="function"&&tv(f,g),f==="onScroll"&&ma("scroll",t)):g!=null&&M(t,f,g,u))}}function PI(e,t,n,o){for(var u=0;u<t.length;u+=2){var f=t[u],g=t[u+1];f===Ac?$3(e,g):f===Op?j3(e,g):f===Dc?Em(e,g):M(e,f,g,o)}}function MI(e,t,n,o){var u,f=DC(n),g,y=o;if(y===Ns&&(y=M_(e)),y===Ns){if(u=gc(e,t),!u&&e!==e.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var w=f.createElement("div");w.innerHTML="<script></script>";var R=w.firstChild;g=w.removeChild(R)}else if(typeof t.is=="string")g=f.createElement(e,{is:t.is});else if(g=f.createElement(e),e==="select"){var O=g;t.multiple?O.multiple=!0:t.size&&(O.size=t.size)}}else g=f.createElementNS(y,e);return y===Ns&&!u&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!ur.call(Qb,e)&&(Qb[e]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),g}function II(e,t){return DC(t).createTextNode(e)}function FI(e,t,n,o){var u=gc(t,n);ev(t,n);var f;switch(t){case"dialog":ma("cancel",e),ma("close",e),f=n;break;case"iframe":case"object":case"embed":ma("load",e),f=n;break;case"video":case"audio":for(var g=0;g<Np.length;g++)ma(Np[g],e);f=n;break;case"source":ma("error",e),f=n;break;case"img":case"image":case"link":ma("error",e),ma("load",e),f=n;break;case"details":ma("toggle",e),f=n;break;case"input":ke(e,n),f=_e(e,n),ma("invalid",e);break;case"option":Ta(e,n),f=n;break;case"select":P3(e,n),f=Zf(e,n),ma("invalid",e);break;case"textarea":I3(e,n),f=z_(e,n),ma("invalid",e);break;default:f=n}switch(U_(t,f),zI(t,e,o,f,u),t){case"input":Eu(e),bt(e,n,!1);break;case"textarea":Eu(e),H3(e);break;case"option":Xa(e,n);break;case"select":zz(e,n);break;default:typeof f.onClick=="function"&&nv(e);break}}function HI(e,t,n,o,u){ev(t,o);var f=null,g,y;switch(t){case"input":g=_e(e,n),y=_e(e,o),f=[];break;case"select":g=Zf(e,n),y=Zf(e,o),f=[];break;case"textarea":g=z_(e,n),y=z_(e,o),f=[];break;default:g=n,y=o,typeof g.onClick!="function"&&typeof y.onClick=="function"&&nv(e);break}U_(t,y);var w,R,O=null;for(w in g)if(!(y.hasOwnProperty(w)||!g.hasOwnProperty(w)||g[w]==null))if(w===Ac){var Z=g[w];for(R in Z)Z.hasOwnProperty(R)&&(O||(O={}),O[R]="")}else w===Op||w===Dc||w===Qm||w===Bu||w===TC||(Kt.hasOwnProperty(w)?f||(f=[]):(f=f||[]).push(w,null));for(w in y){var X=y[w],ye=g!=null?g[w]:void 0;if(!(!y.hasOwnProperty(w)||X===ye||X==null&&ye==null))if(w===Ac)if(X&&Object.freeze(X),ye){for(R in ye)ye.hasOwnProperty(R)&&(!X||!X.hasOwnProperty(R))&&(O||(O={}),O[R]="");for(R in X)X.hasOwnProperty(R)&&ye[R]!==X[R]&&(O||(O={}),O[R]=X[R])}else O||(f||(f=[]),f.push(w,O)),O=X;else if(w===Op){var Se=X?X[Zm]:void 0,xe=ye?ye[Zm]:void 0;Se!=null&&xe!==Se&&(f=f||[]).push(w,Se)}else w===Dc?(typeof X=="string"||typeof X=="number")&&(f=f||[]).push(w,""+X):w===Qm||w===Bu||(Kt.hasOwnProperty(w)?(X!=null&&(typeof X!="function"&&tv(w,X),w==="onScroll"&&ma("scroll",e)),!f&&ye!==X&&(f=[])):(f=f||[]).push(w,X))}return O&&(o7(O,y[Ac]),(f=f||[]).push(Ac,O)),f}function jI(e,t,n,o,u){n==="input"&&u.type==="radio"&&u.name!=null&&Qe(e,u);var f=gc(n,o),g=gc(n,u);switch(PI(e,t,f,g),n){case"input":Bt(e,u);break;case"textarea":F3(e,u);break;case"select":Pz(e,u);break}}function UI(e){{var t=e.toLowerCase();return km.hasOwnProperty(t)&&km[t]||null}}function VI(e,t,n,o,u,f,g){var y,w;switch(y=gc(t,n),ev(t,n),t){case"dialog":ma("cancel",e),ma("close",e);break;case"iframe":case"object":case"embed":ma("load",e);break;case"video":case"audio":for(var R=0;R<Np.length;R++)ma(Np[R],e);break;case"source":ma("error",e);break;case"img":case"image":case"link":ma("error",e),ma("load",e);break;case"details":ma("toggle",e);break;case"input":ke(e,n),ma("invalid",e);break;case"option":Ta(e,n);break;case"select":P3(e,n),ma("invalid",e);break;case"textarea":I3(e,n),ma("invalid",e);break}U_(t,n);{w=new Set;for(var O=e.attributes,Z=0;Z<O.length;Z++){var X=O[Z].name.toLowerCase();switch(X){case"value":break;case"checked":break;case"selected":break;default:w.add(O[Z].name)}}}var ye=null;for(var Se in n)if(n.hasOwnProperty(Se)){var xe=n[Se];if(Se===Dc)typeof xe=="string"?e.textContent!==xe&&(n[Bu]!==!0&&av(e.textContent,xe,f,g),ye=[Dc,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(n[Bu]!==!0&&av(e.textContent,xe,f,g),ye=[Dc,""+xe]);else if(Kt.hasOwnProperty(Se))xe!=null&&(typeof xe!="function"&&tv(Se,xe),Se==="onScroll"&&ma("scroll",e));else if(g&&typeof y=="boolean"){var at=void 0,Dt=y&&Oe?null:ae(Se);if(n[Bu]!==!0){if(!(Se===Qm||Se===Bu||Se==="value"||Se==="checked"||Se==="selected")){if(Se===Op){var wt=e.innerHTML,ir=xe?xe[Zm]:void 0;if(ir!=null){var lr=RC(e,ir);lr!==wt&&zp(Se,wt,lr)}}else if(Se===Ac){if(w.delete(Se),kC){var fe=a7(xe);at=e.getAttribute("style"),fe!==at&&zp(Se,at,fe)}}else if(y&&!Oe)w.delete(Se.toLowerCase()),at=Ze(e,Se,xe),xe!==at&&zp(Se,at,xe);else if(!yr(Se,Dt,y)&&!G(Se,xe,Dt,y)){var Re=!1;if(Dt!==null)w.delete(Dt.attributeName),at=Ne(e,Se,xe,Dt);else{var pe=o;if(pe===Ns&&(pe=M_(t)),pe===Ns)w.delete(Se.toLowerCase());else{var $e=UI(Se);$e!==null&&$e!==Se&&(Re=!0,w.delete($e)),w.delete(Se)}at=Ze(e,Se,xe)}var dt=Oe;!dt&&xe!==at&&!Re&&zp(Se,at,xe)}}}}}switch(g&&w.size>0&&n[Bu]!==!0&&EC(w),t){case"input":Eu(e),bt(e,n,!0);break;case"textarea":Eu(e),H3(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&nv(e);break}return ye}function WI(e,t,n){var o=e.nodeValue!==t;return o}function Zb(e,t){{if(Co)return;Co=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function ey(e,t){{if(Co)return;Co=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function ty(e,t,n){{if(Co)return;Co=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function ry(e,t){{if(t===""||Co)return;Co=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function YI(e,t,n){switch(t){case"input":qt(e,n);return;case"textarea":Iz(e,n);return;case"select":Mz(e,n);return}}var Pp=function(){},Mp=function(){};{var $I=["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"],AC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],GI=AC.concat(["button"]),qI=["dd","dt","li","option","optgroup","p","rp","rt"],NC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Mp=function(e,t){var n=At({},e||NC),o={tag:t};return AC.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),GI.indexOf(t)!==-1&&(n.pTagInButtonScope=null),$I.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=o,t==="form"&&(n.formTag=o),t==="a"&&(n.aTagInScope=o),t==="button"&&(n.buttonTagInScope=o),t==="nobr"&&(n.nobrTagInScope=o),t==="p"&&(n.pTagInButtonScope=o),t==="li"&&(n.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=o),n};var KI=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 qI.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},XI=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},LC={};Pp=function(e,t,n){n=n||NC;var o=n.current,u=o&&o.tag;t!=null&&(e!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var f=KI(e,u)?null:o,g=f?null:XI(e,n),y=f||g;if(y){var w=y.tag,R=!!f+"|"+e+"|"+w;if(!LC[R]){LC[R]=!0;var O=e,Z="";if(e==="#text"?/\S/.test(t)?O="Text nodes":(O="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):O="<"+e+">",f){var X="";w==="table"&&e==="tr"&&(X+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",O,w,Z,X)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",O,w)}}}}var ov="suppressHydrationWarning",iv="$",lv="/$",Ip="$?",Fp="$!",JI="style",ay=null,ny=null;function QI(e){var t,n,o=e.nodeType;switch(o){case Bs:case F_:{t=o===Bs?"#document":"#fragment";var u=e.documentElement;n=u?u.namespaceURI:I_(null,"");break}default:{var f=o===Wa?e.parentNode:e,g=f.namespaceURI||null;t=f.tagName,n=I_(g,t);break}}{var y=t.toLowerCase(),w=Mp(null,y);return{namespace:n,ancestorInfo:w}}}function ZI(e,t,n){{var o=e,u=I_(o.namespace,t),f=Mp(o.ancestorInfo,t);return{namespace:u,ancestorInfo:f}}}function zG(e){return e}function e9(e){ay=JP(),ny=hI();var t=null;return Hw(!1),t}function t9(e){mI(ny),Hw(ay),ay=null,ny=null}function r9(e,t,n,o,u){var f;{var g=o;if(Pp(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,w=Mp(g.ancestorInfo,e);Pp(null,y,w)}f=g.namespace}var R=MI(e,t,n,f);return Up(u,R),fy(R,t),R}function a9(e,t){e.appendChild(t)}function n9(e,t,n,o,u){switch(FI(e,t,n,o),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function o9(e,t,n,o,u,f){{var g=f;if(typeof o.children!=typeof n.children&&(typeof o.children=="string"||typeof o.children=="number")){var y=""+o.children,w=Mp(g.ancestorInfo,t);Pp(null,y,w)}}return HI(e,t,n,o)}function oy(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 i9(e,t,n,o){{var u=n;Pp(null,e,u.ancestorInfo)}var f=II(e,t);return Up(o,f),f}function l9(){var e=window.event;return e===void 0?Hs:jw(e.type)}var iy=typeof setTimeout=="function"?setTimeout:void 0,s9=typeof clearTimeout=="function"?clearTimeout:void 0,ly=-1,BC=typeof Promise=="function"?Promise:void 0,u9=typeof queueMicrotask=="function"?queueMicrotask:typeof BC!="undefined"?function(e){return BC.resolve(null).then(e).catch(c9)}:iy;function c9(e){setTimeout(function(){throw e})}function d9(e,t,n,o){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 f9(e,t,n,o,u,f){jI(e,t,n,o,u),fy(e,u)}function OC(e){Em(e,"")}function p9(e,t,n){e.nodeValue=n}function h9(e,t){e.appendChild(t)}function m9(e,t){var n;e.nodeType===Wa?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var o=e._reactRootContainer;o==null&&n.onclick===null&&nv(n)}function v9(e,t,n){e.insertBefore(t,n)}function g9(e,t,n){e.nodeType===Wa?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function _9(e,t){e.removeChild(t)}function b9(e,t){e.nodeType===Wa?e.parentNode.removeChild(t):e.removeChild(t)}function sy(e,t){var n=t,o=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===Wa){var f=u.data;if(f===lv)if(o===0){e.removeChild(u),Sp(t);return}else o--;else(f===iv||f===Ip||f===Fp)&&o++}n=u}while(n);Sp(t)}function y9(e,t){e.nodeType===Wa?sy(e.parentNode,t):e.nodeType===wo&&sy(e,t),Sp(e)}function S9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function w9(e){e.nodeValue=""}function C9(e,t){e=e;var n=t[JI],o=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=H_("display",o)}function x9(e,t){e.nodeValue=t}function T9(e){e.nodeType===wo?e.textContent="":e.nodeType===Bs&&e.documentElement&&e.removeChild(e.documentElement)}function E9(e,t,n){return e.nodeType!==wo||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function k9(e,t){return t===""||e.nodeType!==Ls?null:e}function R9(e){return e.nodeType!==Wa?null:e}function zC(e){return e.data===Ip}function uy(e){return e.data===Fp}function D9(e){var t=e.nextSibling&&e.nextSibling.dataset,n,o,u;return t&&(n=t.dgst,o=t.msg,u=t.stck),{message:o,digest:n,stack:u}}function A9(e,t){e._reactRetry=t}function sv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===wo||t===Ls)break;if(t===Wa){var n=e.data;if(n===iv||n===Fp||n===Ip)break;if(n===lv)return null}}return e}function Hp(e){return sv(e.nextSibling)}function N9(e){return sv(e.firstChild)}function L9(e){return sv(e.firstChild)}function B9(e){return sv(e.nextSibling)}function O9(e,t,n,o,u,f,g){Up(f,e),fy(e,n);var y;{var w=u;y=w.namespace}var R=(f.mode&dr)!==Nt;return VI(e,t,n,y,o,R,g)}function z9(e,t,n,o){Up(n,e);var u=(n.mode&dr)!==Nt;return WI(e,t)}function P9(e,t){Up(t,e)}function M9(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Wa){var o=t.data;if(o===lv){if(n===0)return Hp(t);n--}else(o===iv||o===Fp||o===Ip)&&n++}t=t.nextSibling}return null}function PC(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Wa){var o=t.data;if(o===iv||o===Fp||o===Ip){if(n===0)return t;n--}else o===lv&&n++}t=t.previousSibling}return null}function I9(e){Sp(e)}function F9(e){Sp(e)}function H9(e){return e!=="head"&&e!=="body"}function j9(e,t,n,o){var u=!0;av(t.nodeValue,n,o,u)}function U9(e,t,n,o,u,f){if(t[ov]!==!0){var g=!0;av(o.nodeValue,u,f,g)}}function V9(e,t){t.nodeType===wo?Zb(e,t):t.nodeType===Wa||ey(e,t)}function W9(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===wo?Zb(n,t):t.nodeType===Wa||ey(n,t))}}function Y9(e,t,n,o,u){(u||t[ov]!==!0)&&(o.nodeType===wo?Zb(n,o):o.nodeType===Wa||ey(n,o))}function $9(e,t,n){ty(e,t)}function G9(e,t){ry(e,t)}function q9(e,t,n){{var o=e.parentNode;o!==null&&ty(o,t)}}function K9(e,t){{var n=e.parentNode;n!==null&&ry(n,t)}}function X9(e,t,n,o,u,f){(f||t[ov]!==!0)&&ty(n,o)}function J9(e,t,n,o,u){(u||t[ov]!==!0)&&ry(n,o)}function Q9(e){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Z9(e){Lp(e)}var Ud=Math.random().toString(36).slice(2),Vd="__reactFiber$"+Ud,cy="__reactProps$"+Ud,jp="__reactContainer$"+Ud,dy="__reactEvents$"+Ud,eF="__reactListeners$"+Ud,tF="__reactHandles$"+Ud;function rF(e){delete e[Vd],delete e[cy],delete e[dy],delete e[eF],delete e[tF]}function Up(e,t){t[Vd]=e}function uv(e,t){t[jp]=e}function MC(e){e[jp]=null}function Vp(e){return!!e[jp]}function Nc(e){var t=e[Vd];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jp]||n[Vd],t){var o=t.alternate;if(t.child!==null||o!==null&&o.child!==null)for(var u=PC(e);u!==null;){var f=u[Vd];if(f)return f;u=PC(u)}return t}e=n,n=e.parentNode}return null}function Ou(e){var t=e[Vd]||e[jp];return t&&(t.tag===C||t.tag===k||t.tag===W||t.tag===S)?t:null}function Wd(e){if(e.tag===C||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function cv(e){return e[cy]||null}function fy(e,t){e[cy]=t}function aF(e){var t=e[dy];return t===void 0&&(t=e[dy]=new Set),t}var IC={},FC=i.ReactDebugCurrentFrame;function dv(e){if(e){var t=e._owner,n=hd(e.type,e._source,t?t.type:null);FC.setExtraStackFrame(n)}else FC.setExtraStackFrame(null)}function Ol(e,t,n,o,u){{var f=Function.call.bind(ur);for(var g in e)if(f(e,g)){var y=void 0;try{if(typeof e[g]!="function"){var w=Error((o||"React class")+": "+n+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}y=e[g](t,g,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){y=R}y&&!(y instanceof Error)&&(dv(u),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,g,typeof y),dv(null)),y instanceof Error&&!(y.message in IC)&&(IC[y.message]=!0,dv(u),c("Failed %s type: %s",n,y.message),dv(null))}}}var py=[],fv;fv=[];var js=-1;function zu(e){return{current:e}}function Mn(e,t){if(js<0){c("Unexpected pop.");return}t!==fv[js]&&c("Unexpected Fiber popped."),e.current=py[js],py[js]=null,fv[js]=null,js--}function In(e,t,n){js++,py[js]=e.current,fv[js]=n,e.current=t}var hy;hy={};var Uo={};Object.freeze(Uo);var Us=zu(Uo),is=zu(!1),my=Uo;function Yd(e,t,n){return n&&ls(t)?my:Us.current}function HC(e,t,n){{var o=e.stateNode;o.__reactInternalMemoizedUnmaskedChildContext=t,o.__reactInternalMemoizedMaskedChildContext=n}}function $d(e,t){{var n=e.type,o=n.contextTypes;if(!o)return Uo;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var f={};for(var g in o)f[g]=t[g];{var y=Jt(e)||"Unknown";Ol(o,f,"context",y)}return u&&HC(e,t,f),f}}function pv(){return is.current}function ls(e){{var t=e.childContextTypes;return t!=null}}function hv(e){Mn(is,e),Mn(Us,e)}function vy(e){Mn(is,e),Mn(Us,e)}function jC(e,t,n){{if(Us.current!==Uo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");In(Us,t,e),In(is,n,e)}}function UC(e,t,n){{var o=e.stateNode,u=t.childContextTypes;if(typeof o.getChildContext!="function"){{var f=Jt(e)||"Unknown";hy[f]||(hy[f]=!0,c("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",f,f))}return n}var g=o.getChildContext();for(var y in g)if(!(y in u))throw new Error((Jt(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var w=Jt(e)||"Unknown";Ol(u,g,"child context",w)}return At({},n,g)}}function mv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Uo;return my=Us.current,In(Us,n,e),In(is,is.current,e),!0}}function VC(e,t,n){{var o=e.stateNode;if(!o)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 u=UC(e,t,my);o.__reactInternalMemoizedMergedChildContext=u,Mn(is,e),Mn(Us,e),In(Us,u,e),In(is,n,e)}else Mn(is,e),In(is,n,e)}}function nF(e){{if(!H7(e)||e.tag!==_)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 S:return t.stateNode.context;case _:{var n=t.type;if(ls(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 Pu=0,vv=1,Vs=null,gy=!1,_y=!1;function WC(e){Vs===null?Vs=[e]:Vs.push(e)}function oF(e){gy=!0,WC(e)}function YC(){gy&&Mu()}function Mu(){if(!_y&&Vs!==null){_y=!0;var e=0,t=Bl();try{var n=!0,o=Vs;for(hn(Fo);e<o.length;e++){var u=o[e];do u=u(n);while(u!==null)}Vs=null,gy=!1}catch(f){throw Vs!==null&&(Vs=Vs.slice(e+1)),mw(Lm,Mu),f}finally{hn(t),_y=!1}}return null}var Gd=[],qd=0,gv=null,_v=0,vl=[],gl=0,Lc=null,Ws=1,Ys="";function iF(e){return Oc(),(e.flags&lw)!==zt}function lF(e){return Oc(),_v}function sF(){var e=Ys,t=Ws,n=t&~uF(t);return n.toString(32)+e}function Bc(e,t){Oc(),Gd[qd++]=_v,Gd[qd++]=gv,gv=e,_v=t}function $C(e,t,n){Oc(),vl[gl++]=Ws,vl[gl++]=Ys,vl[gl++]=Lc,Lc=e;var o=Ws,u=Ys,f=bv(o)-1,g=o&~(1<<f),y=n+1,w=bv(t)+f;if(w>30){var R=f-f%5,O=(1<<R)-1,Z=(g&O).toString(32),X=g>>R,ye=f-R,Se=bv(t)+ye,xe=y<<ye,at=xe|X,Dt=Z+u;Ws=1<<Se|at,Ys=Dt}else{var wt=y<<f,ir=wt|g,lr=u;Ws=1<<w|ir,Ys=lr}}function by(e){Oc();var t=e.return;if(t!==null){var n=1,o=0;Bc(e,n),$C(e,n,o)}}function bv(e){return 32-Sw(e)}function uF(e){return 1<<bv(e)-1}function yy(e){for(;e===gv;)gv=Gd[--qd],Gd[qd]=null,_v=Gd[--qd],Gd[qd]=null;for(;e===Lc;)Lc=vl[--gl],vl[gl]=null,Ys=vl[--gl],vl[gl]=null,Ws=vl[--gl],vl[gl]=null}function cF(){return Oc(),Lc!==null?{id:Ws,overflow:Ys}:null}function dF(e,t){Oc(),vl[gl++]=Ws,vl[gl++]=Ys,vl[gl++]=Lc,Ws=t.id,Ys=t.overflow,Lc=e}function Oc(){wn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Sn=null,_l=null,zl=!1,zc=!1,Iu=null;function fF(){zl&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function GC(){zc=!0}function pF(){return zc}function hF(e){var t=e.stateNode.containerInfo;return _l=L9(t),Sn=e,zl=!0,Iu=null,zc=!1,!0}function mF(e,t,n){return _l=B9(t),Sn=e,zl=!0,Iu=null,zc=!1,n!==null&&dF(e,n),!0}function qC(e,t){switch(e.tag){case S:{V9(e.stateNode.containerInfo,t);break}case C:{var n=(e.mode&dr)!==Nt;Y9(e.type,e.memoizedProps,e.stateNode,t,n);break}case W:{var o=e.memoizedState;o.dehydrated!==null&&W9(o.dehydrated,t);break}}}function KC(e,t){qC(e,t);var n=xU();n.stateNode=t,n.return=e;var o=e.deletions;o===null?(e.deletions=[n],e.flags|=_c):o.push(n)}function Sy(e,t){{if(zc)return;switch(e.tag){case S:{var n=e.stateNode.containerInfo;switch(t.tag){case C:var o=t.type,u=t.pendingProps;$9(n,o);break;case k:var f=t.pendingProps;G9(n,f);break}break}case C:{var g=e.type,y=e.memoizedProps,w=e.stateNode;switch(t.tag){case C:{var R=t.type,O=t.pendingProps,Z=(e.mode&dr)!==Nt;X9(g,y,w,R,O,Z);break}case k:{var X=t.pendingProps,ye=(e.mode&dr)!==Nt;J9(g,y,w,X,ye);break}}break}case W:{var Se=e.memoizedState,xe=Se.dehydrated;if(xe!==null)switch(t.tag){case C:var at=t.type,Dt=t.pendingProps;q9(xe,at);break;case k:var wt=t.pendingProps;K9(xe,wt);break}break}default:return}}}function XC(e,t){t.flags=t.flags&~zs|Ya,Sy(e,t)}function JC(e,t){switch(e.tag){case C:{var n=e.type,o=e.pendingProps,u=E9(t,n);return u!==null?(e.stateNode=u,Sn=e,_l=N9(u),!0):!1}case k:{var f=e.pendingProps,g=k9(t,f);return g!==null?(e.stateNode=g,Sn=e,_l=null,!0):!1}case W:{var y=R9(t);if(y!==null){var w={dehydrated:y,treeContext:cF(),retryLane:Mo};e.memoizedState=w;var R=TU(y);return R.return=e,e.child=R,Sn=e,_l=null,!0}return!1}default:return!1}}function wy(e){return(e.mode&dr)!==Nt&&(e.flags&xr)===zt}function Cy(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function xy(e){if(zl){var t=_l;if(!t){wy(e)&&(Sy(Sn,e),Cy()),XC(Sn,e),zl=!1,Sn=e;return}var n=t;if(!JC(e,t)){wy(e)&&(Sy(Sn,e),Cy()),t=Hp(n);var o=Sn;if(!t||!JC(e,t)){XC(Sn,e),zl=!1,Sn=e;return}KC(o,n)}}}function vF(e,t,n){var o=e.stateNode,u=!zc,f=O9(o,e.type,e.memoizedProps,t,n,e,u);return e.updateQueue=f,f!==null}function gF(e){var t=e.stateNode,n=e.memoizedProps,o=z9(t,n,e);if(o){var u=Sn;if(u!==null)switch(u.tag){case S:{var f=u.stateNode.containerInfo,g=(u.mode&dr)!==Nt;j9(f,t,n,g);break}case C:{var y=u.type,w=u.memoizedProps,R=u.stateNode,O=(u.mode&dr)!==Nt;U9(y,w,R,t,n,O);break}}}return o}function _F(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.");P9(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 M9(n)}function QC(e){for(var t=e.return;t!==null&&t.tag!==C&&t.tag!==S&&t.tag!==W;)t=t.return;Sn=t}function yv(e){if(e!==Sn)return!1;if(!zl)return QC(e),zl=!0,!1;if(e.tag!==S&&(e.tag!==C||H9(e.type)&&!oy(e.type,e.memoizedProps))){var t=_l;if(t)if(wy(e))ZC(e),Cy();else for(;t;)KC(e,t),t=Hp(t)}return QC(e),e.tag===W?_l=bF(e):_l=Sn?Hp(e.stateNode):null,!0}function yF(){return zl&&_l!==null}function ZC(e){for(var t=_l;t;)qC(e,t),t=Hp(t)}function Kd(){Sn=null,_l=null,zl=!1,zc=!1}function ex(){Iu!==null&&(q4(Iu),Iu=null)}function wn(){return zl}function Ty(e){Iu===null?Iu=[e]:Iu.push(e)}var SF=i.ReactCurrentBatchConfig,wF=null;function CF(){return SF.transition}var Pl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var xF=function(e){for(var t=null,n=e;n!==null;)n.mode&Aa&&(t=n),n=n.return;return t},Pc=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},Wp=[],Yp=[],$p=[],Gp=[],qp=[],Kp=[],Mc=new Set;Pl.recordUnsafeLifecycleWarnings=function(e,t){Mc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Wp.push(e),e.mode&Aa&&typeof t.UNSAFE_componentWillMount=="function"&&Yp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&$p.push(e),e.mode&Aa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Gp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&qp.push(e),e.mode&Aa&&typeof t.UNSAFE_componentWillUpdate=="function"&&Kp.push(e))},Pl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Wp.length>0&&(Wp.forEach(function(X){e.add(Jt(X)||"Component"),Mc.add(X.type)}),Wp=[]);var t=new Set;Yp.length>0&&(Yp.forEach(function(X){t.add(Jt(X)||"Component"),Mc.add(X.type)}),Yp=[]);var n=new Set;$p.length>0&&($p.forEach(function(X){n.add(Jt(X)||"Component"),Mc.add(X.type)}),$p=[]);var o=new Set;Gp.length>0&&(Gp.forEach(function(X){o.add(Jt(X)||"Component"),Mc.add(X.type)}),Gp=[]);var u=new Set;qp.length>0&&(qp.forEach(function(X){u.add(Jt(X)||"Component"),Mc.add(X.type)}),qp=[]);var f=new Set;if(Kp.length>0&&(Kp.forEach(function(X){f.add(Jt(X)||"Component"),Mc.add(X.type)}),Kp=[]),t.size>0){var g=Pc(t);c(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
31
|
+
Check the render method of \``+e+"`.":""}var Qf=["value","defaultValue"];function O_(e){{Kf("select",e);for(var t=0;t<Qf.length;t++){var n=Qf[t];if(e[n]!=null){var o=Ja(e[n]);e.multiple&&!o?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,xm()):!e.multiple&&o&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,xm())}}}}function As(e,t,n,o){var u=e.options;if(t){for(var f=n,g={},y=0;y<f.length;y++)g["$"+f[y]]=!0;for(var C=0;C<u.length;C++){var R=g.hasOwnProperty("$"+u[C].value);u[C].selected!==R&&(u[C].selected=R),R&&o&&(u[C].defaultSelected=!0)}}else{for(var O=So(Al(n)),Z=null,X=0;X<u.length;X++){if(u[X].value===O){u[X].selected=!0,o&&(u[X].defaultSelected=!0);return}Z===null&&!u[X].disabled&&(Z=u[X])}Z!==null&&(Z.selected=!0)}}function Zf(e,t){return At({},t,{value:void 0})}function P3(e,t){var n=e;O_(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Cd&&(c("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Cd=!0)}function zz(e,t){var n=e;n.multiple=!!t.multiple;var o=t.value;o!=null?As(n,!!t.multiple,o,!1):t.defaultValue!=null&&As(n,!!t.multiple,t.defaultValue,!0)}function Pz(e,t){var n=e,o=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?As(n,!!t.multiple,u,!1):o!==!!t.multiple&&(t.defaultValue!=null?As(n,!!t.multiple,t.defaultValue,!0):As(n,!!t.multiple,t.multiple?[]:"",!1))}function Mz(e,t){var n=e,o=t.value;o!=null&&As(n,!!t.multiple,o,!1)}var M3=!1;function z_(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var o=At({},t,{value:void 0,defaultValue:void 0,children:So(n._wrapperState.initialValue)});return o}function I3(e,t){var n=e;Kf("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!M3&&(c("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Tu()||"A component"),M3=!0);var o=t.value;if(o==null){var u=t.children,f=t.defaultValue;if(u!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(f!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ja(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}f=u}}f==null&&(f=""),o=f}n._wrapperState={initialValue:Al(o)}}function F3(e,t){var n=e,o=Al(t.value),u=Al(t.defaultValue);if(o!=null){var f=So(o);f!==n.value&&(n.value=f),t.defaultValue==null&&n.defaultValue!==f&&(n.defaultValue=f)}u!=null&&(n.defaultValue=So(u))}function H3(e,t){var n=e,o=n.textContent;o===n._wrapperState.initialValue&&o!==""&&o!==null&&(n.value=o)}function Iz(e,t){F3(e,t)}var Ns="http://www.w3.org/1999/xhtml",Fz="http://www.w3.org/1998/Math/MathML",P_="http://www.w3.org/2000/svg";function M_(e){switch(e){case"svg":return P_;case"math":return Fz;default:return Ns}}function I_(e,t){return e==null||e===Ns?M_(t):e===P_&&t==="foreignObject"?Ns:e}var Hz=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,o,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,o,u)})}:e},Tm,j3=Hz(function(e,t){if(e.namespaceURI===P_&&!("innerHTML"in e)){Tm=Tm||document.createElement("div"),Tm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Tm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),Co=1,Ls=3,Wa=8,Bs=9,F_=11,Em=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Ls){n.nodeValue=t;return}}e.textContent=t},jz={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"]},ep={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 Uz(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Vz=["Webkit","ms","Moz","O"];Object.keys(ep).forEach(function(e){Vz.forEach(function(t){ep[Uz(t,e)]=ep[e]})});function H_(e,t,n){var o=t==null||typeof t=="boolean"||t==="";return o?"":!n&&typeof t=="number"&&t!==0&&!(ep.hasOwnProperty(e)&&ep[e])?t+"px":(xa(t,e),(""+t).trim())}var Wz=/([A-Z])/g,Yz=/^ms-/;function $z(e){return e.replace(Wz,"-$1").toLowerCase().replace(Yz,"-ms-")}var U3=function(){};{var Gz=/^(?:webkit|moz|o)[A-Z]/,qz=/^-ms-/,Kz=/-(.)/g,V3=/;\s*$/,wd={},j_={},W3=!1,Y3=!1,Xz=function(e){return e.replace(Kz,function(t,n){return n.toUpperCase()})},Jz=function(e){wd.hasOwnProperty(e)&&wd[e]||(wd[e]=!0,c("Unsupported style property %s. Did you mean %s?",e,Xz(e.replace(qz,"ms-"))))},Qz=function(e){wd.hasOwnProperty(e)&&wd[e]||(wd[e]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Zz=function(e,t){j_.hasOwnProperty(t)&&j_[t]||(j_[t]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(V3,"")))},e7=function(e,t){W3||(W3=!0,c("`NaN` is an invalid value for the `%s` css style property.",e))},t7=function(e,t){Y3||(Y3=!0,c("`Infinity` is an invalid value for the `%s` css style property.",e))};U3=function(e,t){e.indexOf("-")>-1?Jz(e):Gz.test(e)?Qz(e):V3.test(t)&&Zz(e,t),typeof t=="number"&&(isNaN(t)?e7(e,t):isFinite(t)||t7(e,t))}}var r7=U3;function a7(e){{var t="",n="";for(var o in e)if(e.hasOwnProperty(o)){var u=e[o];if(u!=null){var f=o.indexOf("--")===0;t+=n+(f?o:$z(o))+":",t+=H_(o,u,f),n=";"}}return t||null}}function $3(e,t){var n=e.style;for(var o in t)if(t.hasOwnProperty(o)){var u=o.indexOf("--")===0;u||r7(o,t[o]);var f=H_(o,t[o],u);o==="float"&&(o="cssFloat"),u?n.setProperty(o,f):n[o]=f}}function n7(e){return e==null||typeof e=="boolean"||e===""}function G3(e){var t={};for(var n in e)for(var o=jz[n]||[n],u=0;u<o.length;u++)t[o[u]]=n;return t}function o7(e,t){{if(!t)return;var n=G3(e),o=G3(t),u={};for(var f in n){var g=n[f],y=o[f];if(y&&g!==y){var C=g+","+y;if(u[C])continue;u[C]=!0,c("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",n7(e[g])?"Removing":"Updating",g,y)}}}}var i7={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},l7=At({menuitem:!0},i7),s7="__html";function U_(e,t){if(t){if(l7[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"||!(s7 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&&c("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),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 gc(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 km={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"},q3={"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},xd={},u7=new RegExp("^(aria)-["+pt+"]*$"),c7=new RegExp("^(aria)[A-Z]["+pt+"]*$");function d7(e,t){{if(ur.call(xd,t)&&xd[t])return!0;if(c7.test(t)){var n="aria-"+t.slice(4).toLowerCase(),o=q3.hasOwnProperty(n)?n:null;if(o==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),xd[t]=!0,!0;if(t!==o)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,o),xd[t]=!0,!0}if(u7.test(t)){var u=t.toLowerCase(),f=q3.hasOwnProperty(u)?u:null;if(f==null)return xd[t]=!0,!1;if(t!==f)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,f),xd[t]=!0,!0}}return!0}function f7(e,t){{var n=[];for(var o in t){var u=d7(e,o);u||n.push(o)}var f=n.map(function(g){return"`"+g+"`"}).join(", ");n.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e):n.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",f,e)}}function p7(e,t){gc(e,t)||f7(e,t)}var K3=!1;function h7(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!K3&&(K3=!0,e==="select"&&t.multiple?c("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):c("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var X3=function(){};{var Jn={},J3=/^on./,m7=/^on[^A-Z]/,v7=new RegExp("^(aria)-["+pt+"]*$"),g7=new RegExp("^(aria)[A-Z]["+pt+"]*$");X3=function(e,t,n,o){if(ur.call(Jn,t)&&Jn[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return c("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Jn[t]=!0,!0;if(o!=null){var f=o.registrationNameDependencies,g=o.possibleRegistrationNames;if(f.hasOwnProperty(t))return!0;var y=g.hasOwnProperty(u)?g[u]:null;if(y!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",t,y),Jn[t]=!0,!0;if(J3.test(t))return c("Unknown event handler property `%s`. It will be ignored.",t),Jn[t]=!0,!0}else if(J3.test(t))return m7.test(t)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Jn[t]=!0,!0;if(v7.test(t)||g7.test(t))return!0;if(u==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Jn[t]=!0,!0;if(u==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Jn[t]=!0,!0;if(u==="is"&&n!==null&&n!==void 0&&typeof n!="string")return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Jn[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Jn[t]=!0,!0;var C=ae(t),R=C!==null&&C.type===ra;if(km.hasOwnProperty(u)){var O=km[u];if(O!==t)return c("Invalid DOM property `%s`. Did you mean `%s`?",t,O),Jn[t]=!0,!0}else if(!R&&t!==u)return c("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,u),Jn[t]=!0,!0;return typeof n=="boolean"&&ca(t,n,C,!1)?(n?c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Jn[t]=!0,!0):R?!0:ca(t,n,C,!1)?(Jn[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===Rr&&(c("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),Jn[t]=!0),!0)}}var _7=function(e,t,n){{var o=[];for(var u in t){var f=X3(e,u,t[u],n);f||o.push(u)}var g=o.map(function(y){return"`"+y+"`"}).join(", ");o.length===1?c("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",g,e):o.length>1&&c("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",g,e)}};function b7(e,t,n){gc(e,t)||_7(e,t,n)}var Q3=1,V_=2,tp=4,y7=Q3|V_|tp,rp=null;function S7(e){rp!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),rp=e}function C7(){rp===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),rp=null}function w7(e){return e===rp}function W_(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Ls?t.parentNode:t}var Y_=null,Td=null,Ed=null;function Z3(e){var t=Ou(e);if(t){if(typeof Y_!="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 o=cv(n);Y_(t.stateNode,t.type,o)}}}function x7(e){Y_=e}function eC(e){Td?Ed?Ed.push(e):Ed=[e]:Td=e}function T7(){return Td!==null||Ed!==null}function tC(){if(Td){var e=Td,t=Ed;if(Td=null,Ed=null,Z3(e),t)for(var n=0;n<t.length;n++)Z3(t[n])}}var rC=function(e,t){return e(t)},aC=function(){},$_=!1;function E7(){var e=T7();e&&(aC(),tC())}function nC(e,t,n){if($_)return e(t,n);$_=!0;try{return rC(e,t,n)}finally{$_=!1,E7()}}function k7(e,t,n){rC=e,aC=n}function R7(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function D7(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&&R7(t));default:return!1}}function ap(e,t){var n=e.stateNode;if(n===null)return null;var o=cv(n);if(o===null)return null;var u=o[t];if(D7(t,e.type,o))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var G_=!1;if(ar)try{var np={};Object.defineProperty(np,"passive",{get:function(){G_=!0}}),window.addEventListener("test",np,np),window.removeEventListener("test",np,np)}catch(e){G_=!1}function oC(e,t,n,o,u,f,g,y,C){var R=Array.prototype.slice.call(arguments,3);try{t.apply(n,R)}catch(O){this.onError(O)}}var iC=oC;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var q_=document.createElement("react");iC=function(t,n,o,u,f,g,y,C,R){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 O=document.createEvent("Event"),Z=!1,X=!0,ye=window.event,Se=Object.getOwnPropertyDescriptor(window,"event");function xe(){q_.removeEventListener(Re,Dt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=ye)}var at=Array.prototype.slice.call(arguments,3);function Dt(){Z=!0,xe(),n.apply(o,at),X=!1}var Ct,ir=!1,lr=!1;function fe(pe){if(Ct=pe.error,ir=!0,Ct===null&&pe.colno===0&&pe.lineno===0&&(lr=!0),pe.defaultPrevented&&Ct!=null&&typeof Ct=="object")try{Ct._suppressLogging=!0}catch($e){}}var Re="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",fe),q_.addEventListener(Re,Dt,!1),O.initEvent(Re,!1,!1),q_.dispatchEvent(O),Se&&Object.defineProperty(window,"event",Se),Z&&X&&(ir?lr&&(Ct=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.")):Ct=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(Ct)),window.removeEventListener("error",fe),!Z)return xe(),oC.apply(this,arguments)}}var A7=iC,kd=!1,Rm=null,Dm=!1,K_=null,N7={onError:function(e){kd=!0,Rm=e}};function X_(e,t,n,o,u,f,g,y,C){kd=!1,Rm=null,A7.apply(N7,arguments)}function L7(e,t,n,o,u,f,g,y,C){if(X_.apply(this,arguments),kd){var R=J_();Dm||(Dm=!0,K_=R)}}function B7(){if(Dm){var e=K_;throw Dm=!1,K_=null,e}}function O7(){return kd}function J_(){if(kd){var e=Rm;return kd=!1,Rm=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 Rd(e){return e._reactInternals}function z7(e){return e._reactInternals!==void 0}function P7(e,t){e._reactInternals=t}var zt=0,Dd=1,Ya=2,_r=4,_c=16,op=32,Q_=64,xr=128,Os=256,ku=512,bc=1024,Nl=2048,zs=4096,yc=8192,Am=16384,M7=Nl|_r|Q_|ku|bc|Am,I7=32767,ip=32768,Qn=65536,Z_=131072,lC=1048576,eb=2097152,Sc=4194304,tb=8388608,Ps=16777216,Nm=33554432,rb=_r|bc|0,ab=Ya|_r|_c|op|ku|zs|yc,lp=_r|Q_|ku|yc,Ad=Nl|_c,Ms=Sc|tb|eb,F7=i.ReactCurrentOwner;function Cc(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var o=t;do t=o,(t.flags&(Ya|zs))!==zt&&(n=t.return),o=t.return;while(o)}return t.tag===S?n:null}function sC(e){if(e.tag===W){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 uC(e){return e.tag===S?e.stateNode.containerInfo:null}function H7(e){return Cc(e)===e}function j7(e){{var t=F7.current;if(t!==null&&t.tag===_){var n=t,o=n.stateNode;o._warnedAboutRefsInRender||c("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Jt(n)||"A component"),o._warnedAboutRefsInRender=!0}}var u=Rd(e);return u?Cc(u)===u:!1}function cC(e){if(Cc(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dC(e){var t=e.alternate;if(!t){var n=Cc(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var o=e,u=t;;){var f=o.return;if(f===null)break;var g=f.alternate;if(g===null){var y=f.return;if(y!==null){o=u=y;continue}break}if(f.child===g.child){for(var C=f.child;C;){if(C===o)return cC(f),e;if(C===u)return cC(f),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(o.return!==u.return)o=f,u=g;else{for(var R=!1,O=f.child;O;){if(O===o){R=!0,o=f,u=g;break}if(O===u){R=!0,u=f,o=g;break}O=O.sibling}if(!R){for(O=g.child;O;){if(O===o){R=!0,o=g,u=f;break}if(O===u){R=!0,u=g,o=f;break}O=O.sibling}if(!R)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(o.alternate!==u)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(o.tag!==S)throw new Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:t}function fC(e){var t=dC(e);return t!==null?pC(t):null}function pC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){var n=pC(t);if(n!==null)return n;t=t.sibling}return null}function U7(e){var t=dC(e);return t!==null?hC(t):null}function hC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==T){var n=hC(t);if(n!==null)return n}t=t.sibling}return null}var mC=a.unstable_scheduleCallback,V7=a.unstable_cancelCallback,W7=a.unstable_shouldYield,Y7=a.unstable_requestPaint,dn=a.unstable_now,$7=a.unstable_getCurrentPriorityLevel,Lm=a.unstable_ImmediatePriority,nb=a.unstable_UserBlockingPriority,wc=a.unstable_NormalPriority,G7=a.unstable_LowPriority,ob=a.unstable_IdlePriority,q7=a.unstable_yieldValue,K7=a.unstable_setDisableYieldValue,xc=null,yn=null,ot=null,as=!1,Ll=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function X7(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 c("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Xe&&(e=At({},e,{getLaneLabelMap:rP,injectProfilingHooks:tP})),xc=t.inject(e),yn=t}catch(n){c("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function J7(e,t){if(yn&&typeof yn.onScheduleFiberRoot=="function")try{yn.onScheduleFiberRoot(xc,e,t)}catch(n){as||(as=!0,c("React instrumentation encountered an error: %s",n))}}function Q7(e,t){if(yn&&typeof yn.onCommitFiberRoot=="function")try{var n=(e.current.flags&xr)===xr;if(st){var o;switch(t){case Fo:o=Lm;break;case Fs:o=nb;break;case Hs:o=wc;break;case Fm:o=ob;break;default:o=wc;break}yn.onCommitFiberRoot(xc,e,o,n)}else yn.onCommitFiberRoot(xc,e,void 0,n)}catch(u){as||(as=!0,c("React instrumentation encountered an error: %s",u))}}function Z7(e){if(yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(xc,e)}catch(t){as||(as=!0,c("React instrumentation encountered an error: %s",t))}}function eP(e){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(xc,e)}catch(t){as||(as=!0,c("React instrumentation encountered an error: %s",t))}}function fn(e){if(typeof q7=="function"&&(K7(e),s(e)),yn&&typeof yn.setStrictMode=="function")try{yn.setStrictMode(xc,e)}catch(t){as||(as=!0,c("React instrumentation encountered an error: %s",t))}}function tP(e){ot=e}function rP(){{for(var e=new Map,t=1,n=0;n<lb;n++){var o=CP(t);e.set(t,o),t*=2}return e}}function aP(e){ot!==null&&typeof ot.markCommitStarted=="function"&&ot.markCommitStarted(e)}function vC(){ot!==null&&typeof ot.markCommitStopped=="function"&&ot.markCommitStopped()}function sp(e){ot!==null&&typeof ot.markComponentRenderStarted=="function"&&ot.markComponentRenderStarted(e)}function Nd(){ot!==null&&typeof ot.markComponentRenderStopped=="function"&&ot.markComponentRenderStopped()}function nP(e){ot!==null&&typeof ot.markComponentPassiveEffectMountStarted=="function"&&ot.markComponentPassiveEffectMountStarted(e)}function oP(){ot!==null&&typeof ot.markComponentPassiveEffectMountStopped=="function"&&ot.markComponentPassiveEffectMountStopped()}function iP(e){ot!==null&&typeof ot.markComponentPassiveEffectUnmountStarted=="function"&&ot.markComponentPassiveEffectUnmountStarted(e)}function lP(){ot!==null&&typeof ot.markComponentPassiveEffectUnmountStopped=="function"&&ot.markComponentPassiveEffectUnmountStopped()}function sP(e){ot!==null&&typeof ot.markComponentLayoutEffectMountStarted=="function"&&ot.markComponentLayoutEffectMountStarted(e)}function uP(){ot!==null&&typeof ot.markComponentLayoutEffectMountStopped=="function"&&ot.markComponentLayoutEffectMountStopped()}function gC(e){ot!==null&&typeof ot.markComponentLayoutEffectUnmountStarted=="function"&&ot.markComponentLayoutEffectUnmountStarted(e)}function _C(){ot!==null&&typeof ot.markComponentLayoutEffectUnmountStopped=="function"&&ot.markComponentLayoutEffectUnmountStopped()}function cP(e,t,n){ot!==null&&typeof ot.markComponentErrored=="function"&&ot.markComponentErrored(e,t,n)}function dP(e,t,n){ot!==null&&typeof ot.markComponentSuspended=="function"&&ot.markComponentSuspended(e,t,n)}function fP(e){ot!==null&&typeof ot.markLayoutEffectsStarted=="function"&&ot.markLayoutEffectsStarted(e)}function pP(){ot!==null&&typeof ot.markLayoutEffectsStopped=="function"&&ot.markLayoutEffectsStopped()}function hP(e){ot!==null&&typeof ot.markPassiveEffectsStarted=="function"&&ot.markPassiveEffectsStarted(e)}function mP(){ot!==null&&typeof ot.markPassiveEffectsStopped=="function"&&ot.markPassiveEffectsStopped()}function bC(e){ot!==null&&typeof ot.markRenderStarted=="function"&&ot.markRenderStarted(e)}function vP(){ot!==null&&typeof ot.markRenderYielded=="function"&&ot.markRenderYielded()}function yC(){ot!==null&&typeof ot.markRenderStopped=="function"&&ot.markRenderStopped()}function gP(e){ot!==null&&typeof ot.markRenderScheduled=="function"&&ot.markRenderScheduled(e)}function _P(e,t){ot!==null&&typeof ot.markForceUpdateScheduled=="function"&&ot.markForceUpdateScheduled(e,t)}function ib(e,t){ot!==null&&typeof ot.markStateUpdateScheduled=="function"&&ot.markStateUpdateScheduled(e,t)}var Nt=0,dr=1,Hr=2,Aa=8,ns=16,SC=Math.clz32?Math.clz32:SP,bP=Math.log,yP=Math.LN2;function SP(e){var t=e>>>0;return t===0?32:31-(bP(t)/yP|0)|0}var lb=31,Me=0,pn=0,Ht=1,Ld=2,Is=4,Tc=8,os=16,up=32,Bd=4194240,cp=64,sb=128,ub=256,cb=512,db=1024,fb=2048,pb=4096,hb=8192,mb=16384,vb=32768,gb=65536,_b=131072,bb=262144,yb=524288,Sb=1048576,Cb=2097152,Bm=130023424,Od=4194304,wb=8388608,xb=16777216,Tb=33554432,Eb=67108864,CC=Od,dp=134217728,wC=268435455,fp=268435456,Ec=536870912,Mo=1073741824;function CP(e){{if(e&Ht)return"Sync";if(e&Ld)return"InputContinuousHydration";if(e&Is)return"InputContinuous";if(e&Tc)return"DefaultHydration";if(e&os)return"Default";if(e&up)return"TransitionHydration";if(e&Bd)return"Transition";if(e&Bm)return"Retry";if(e&dp)return"SelectiveHydration";if(e&fp)return"IdleHydration";if(e&Ec)return"Idle";if(e&Mo)return"Offscreen"}}var fa=-1,Om=cp,zm=Od;function pp(e){switch(kc(e)){case Ht:return Ht;case Ld:return Ld;case Is:return Is;case Tc:return Tc;case os:return os;case up:return up;case cp:case sb:case ub:case cb:case db:case fb:case pb:case hb:case mb:case vb:case gb:case _b:case bb:case yb:case Sb:case Cb:return e&Bd;case Od:case wb:case xb:case Tb:case Eb:return e&Bm;case dp:return dp;case fp:return fp;case Ec:return Ec;case Mo:return Mo;default:return c("Should have found matching lanes. This is a bug in React."),e}}function Pm(e,t){var n=e.pendingLanes;if(n===Me)return Me;var o=Me,u=e.suspendedLanes,f=e.pingedLanes,g=n&wC;if(g!==Me){var y=g&~u;if(y!==Me)o=pp(y);else{var C=g&f;C!==Me&&(o=pp(C))}}else{var R=n&~u;R!==Me?o=pp(R):f!==Me&&(o=pp(f))}if(o===Me)return Me;if(t!==Me&&t!==o&&(t&u)===Me){var O=kc(o),Z=kc(t);if(O>=Z||O===os&&(Z&Bd)!==Me)return t}(o&Is)!==Me&&(o|=n&os);var X=e.entangledLanes;if(X!==Me)for(var ye=e.entanglements,Se=o&X;Se>0;){var xe=Rc(Se),at=1<<xe;o|=ye[xe],Se&=~at}return o}function wP(e,t){for(var n=e.eventTimes,o=fa;t>0;){var u=Rc(t),f=1<<u,g=n[u];g>o&&(o=g),t&=~f}return o}function xP(e,t){switch(e){case Ht:case Ld:case Is:return t+250;case Tc:case os:case up:case cp:case sb:case ub:case cb:case db:case fb:case pb:case hb:case mb:case vb:case gb:case _b:case bb:case yb:case Sb:case Cb:return t+5e3;case Od:case wb:case xb:case Tb:case Eb:return fa;case dp:case fp:case Ec:case Mo:return fa;default:return c("Should have found matching lanes. This is a bug in React."),fa}}function TP(e,t){for(var n=e.pendingLanes,o=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,g=n;g>0;){var y=Rc(g),C=1<<y,R=f[y];R===fa?((C&o)===Me||(C&u)!==Me)&&(f[y]=xP(C,t)):R<=t&&(e.expiredLanes|=C),g&=~C}}function EP(e){return pp(e.pendingLanes)}function kb(e){var t=e.pendingLanes&~Mo;return t!==Me?t:t&Mo?Mo:Me}function kP(e){return(e&Ht)!==Me}function Rb(e){return(e&wC)!==Me}function xC(e){return(e&Bm)===e}function RP(e){var t=Ht|Is|os;return(e&t)===Me}function DP(e){return(e&Bd)===e}function Mm(e,t){var n=Ld|Is|Tc|os;return(t&n)!==Me}function AP(e,t){return(t&e.expiredLanes)!==Me}function TC(e){return(e&Bd)!==Me}function EC(){var e=Om;return Om<<=1,(Om&Bd)===Me&&(Om=cp),e}function NP(){var e=zm;return zm<<=1,(zm&Bm)===Me&&(zm=Od),e}function kc(e){return e&-e}function hp(e){return kc(e)}function Rc(e){return 31-SC(e)}function Db(e){return Rc(e)}function Io(e,t){return(e&t)!==Me}function zd(e,t){return(e&t)===t}function Zt(e,t){return e|t}function Im(e,t){return e&~t}function kC(e,t){return e&t}function OG(e){return e}function LP(e,t){return e!==pn&&e<t?e:t}function Ab(e){for(var t=[],n=0;n<lb;n++)t.push(e);return t}function mp(e,t,n){e.pendingLanes|=t,t!==Ec&&(e.suspendedLanes=Me,e.pingedLanes=Me);var o=e.eventTimes,u=Db(t);o[u]=n}function BP(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,o=t;o>0;){var u=Rc(o),f=1<<u;n[u]=fa,o&=~f}}function RC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function OP(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Me,e.pingedLanes=Me,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var o=e.entanglements,u=e.eventTimes,f=e.expirationTimes,g=n;g>0;){var y=Rc(g),C=1<<y;o[y]=Me,u[y]=fa,f[y]=fa,g&=~C}}function Nb(e,t){for(var n=e.entangledLanes|=t,o=e.entanglements,u=n;u;){var f=Rc(u),g=1<<f;g&t|o[f]&t&&(o[f]|=t),u&=~g}}function zP(e,t){var n=kc(t),o;switch(n){case Is:o=Ld;break;case os:o=Tc;break;case cp:case sb:case ub:case cb:case db:case fb:case pb:case hb:case mb:case vb:case gb:case _b:case bb:case yb:case Sb:case Cb:case Od:case wb:case xb:case Tb:case Eb:o=up;break;case Ec:o=fp;break;default:o=pn;break}return(o&(e.suspendedLanes|t))!==pn?pn:o}function DC(e,t,n){if(Ll)for(var o=e.pendingUpdatersLaneMap;n>0;){var u=Db(n),f=1<<u,g=o[u];g.add(t),n&=~f}}function AC(e,t){if(Ll)for(var n=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;t>0;){var u=Db(t),f=1<<u,g=n[u];g.size>0&&(g.forEach(function(y){var C=y.alternate;(C===null||!o.has(C))&&o.add(y)}),g.clear()),t&=~f}}function NC(e,t){return null}var Fo=Ht,Fs=Is,Hs=os,Fm=Ec,vp=pn;function Bl(){return vp}function hn(e){vp=e}function PP(e,t){var n=vp;try{return vp=e,t()}finally{vp=n}}function MP(e,t){return e!==0&&e<t?e:t}function IP(e,t){return e===0||e>t?e:t}function Lb(e,t){return e!==0&&e<t}function LC(e){var t=kc(e);return Lb(Fo,t)?Lb(Fs,t)?Rb(t)?Hs:Fm:Fs:Fo}function Hm(e){var t=e.current.memoizedState;return t.isDehydrated}var BC;function FP(e){BC=e}function HP(e){BC(e)}var Bb;function jP(e){Bb=e}var OC;function UP(e){OC=e}var zC;function VP(e){zC=e}var PC;function WP(e){PC=e}var Ob=!1,jm=[],Ru=null,Du=null,Au=null,gp=new Map,_p=new Map,Nu=[],YP=["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 $P(e){return YP.indexOf(e)>-1}function GP(e,t,n,o,u){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:u,targetContainers:[o]}}function MC(e,t){switch(e){case"focusin":case"focusout":Ru=null;break;case"dragenter":case"dragleave":Du=null;break;case"mouseover":case"mouseout":Au=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;gp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var o=t.pointerId;_p.delete(o);break}}}function bp(e,t,n,o,u,f){if(e===null||e.nativeEvent!==f){var g=GP(t,n,o,u,f);if(t!==null){var y=Ou(t);y!==null&&Bb(y)}return g}e.eventSystemFlags|=o;var C=e.targetContainers;return u!==null&&C.indexOf(u)===-1&&C.push(u),e}function qP(e,t,n,o,u){switch(t){case"focusin":{var f=u;return Ru=bp(Ru,e,t,n,o,f),!0}case"dragenter":{var g=u;return Du=bp(Du,e,t,n,o,g),!0}case"mouseover":{var y=u;return Au=bp(Au,e,t,n,o,y),!0}case"pointerover":{var C=u,R=C.pointerId;return gp.set(R,bp(gp.get(R)||null,e,t,n,o,C)),!0}case"gotpointercapture":{var O=u,Z=O.pointerId;return _p.set(Z,bp(_p.get(Z)||null,e,t,n,o,O)),!0}}return!1}function IC(e){var t=Nc(e.target);if(t!==null){var n=Cc(t);if(n!==null){var o=n.tag;if(o===W){var u=sC(n);if(u!==null){e.blockedOn=u,PC(e.priority,function(){OC(n)});return}}else if(o===S){var f=n.stateNode;if(Hm(f)){e.blockedOn=uC(n);return}}}}e.blockedOn=null}function KP(e){for(var t=zC(),n={blockedOn:null,target:e,priority:t},o=0;o<Nu.length&&Lb(t,Nu[o].priority);o++);Nu.splice(o,0,n),o===0&&IC(n)}function Um(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],o=Mb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(o===null){var u=e.nativeEvent,f=new u.constructor(u.type,u);S7(f),u.target.dispatchEvent(f),C7()}else{var g=Ou(o);return g!==null&&Bb(g),e.blockedOn=o,!1}t.shift()}return!0}function FC(e,t,n){Um(e)&&n.delete(t)}function XP(){Ob=!1,Ru!==null&&Um(Ru)&&(Ru=null),Du!==null&&Um(Du)&&(Du=null),Au!==null&&Um(Au)&&(Au=null),gp.forEach(FC),_p.forEach(FC)}function yp(e,t){e.blockedOn===t&&(e.blockedOn=null,Ob||(Ob=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,XP)))}function Sp(e){if(jm.length>0){yp(jm[0],e);for(var t=1;t<jm.length;t++){var n=jm[t];n.blockedOn===e&&(n.blockedOn=null)}}Ru!==null&&yp(Ru,e),Du!==null&&yp(Du,e),Au!==null&&yp(Au,e);var o=function(y){return yp(y,e)};gp.forEach(o),_p.forEach(o);for(var u=0;u<Nu.length;u++){var f=Nu[u];f.blockedOn===e&&(f.blockedOn=null)}for(;Nu.length>0;){var g=Nu[0];if(g.blockedOn!==null)break;IC(g),g.blockedOn===null&&Nu.shift()}}var Pd=i.ReactCurrentBatchConfig,zb=!0;function HC(e){zb=!!e}function JP(){return zb}function QP(e,t,n){var o=jC(t),u;switch(o){case Fo:u=ZP;break;case Fs:u=eM;break;case Hs:default:u=Pb;break}return u.bind(null,t,n,e)}function ZP(e,t,n,o){var u=Bl(),f=Pd.transition;Pd.transition=null;try{hn(Fo),Pb(e,t,n,o)}finally{hn(u),Pd.transition=f}}function eM(e,t,n,o){var u=Bl(),f=Pd.transition;Pd.transition=null;try{hn(Fs),Pb(e,t,n,o)}finally{hn(u),Pd.transition=f}}function Pb(e,t,n,o){zb&&tM(e,t,n,o)}function tM(e,t,n,o){var u=Mb(e,t,n,o);if(u===null){Jb(e,t,o,Vm,n),MC(e,o);return}if(qP(u,e,t,n,o)){o.stopPropagation();return}if(MC(e,o),t&tp&&$P(e)){for(;u!==null;){var f=Ou(u);f!==null&&HP(f);var g=Mb(e,t,n,o);if(g===null&&Jb(e,t,o,Vm,n),g===u)break;u=g}u!==null&&o.stopPropagation();return}Jb(e,t,o,null,n)}var Vm=null;function Mb(e,t,n,o){Vm=null;var u=W_(o),f=Nc(u);if(f!==null){var g=Cc(f);if(g===null)f=null;else{var y=g.tag;if(y===W){var C=sC(g);if(C!==null)return C;f=null}else if(y===S){var R=g.stateNode;if(Hm(R))return uC(g);f=null}else g!==f&&(f=null)}}return Vm=f,null}function jC(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 Fo;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 Fs;case"message":{var t=$7();switch(t){case Lm:return Fo;case nb:return Fs;case wc:case G7:return Hs;case ob:return Fm;default:return Hs}}default:return Hs}}function rM(e,t,n){return e.addEventListener(t,n,!1),n}function aM(e,t,n){return e.addEventListener(t,n,!0),n}function nM(e,t,n,o){return e.addEventListener(t,n,{capture:!0,passive:o}),n}function oM(e,t,n,o){return e.addEventListener(t,n,{passive:o}),n}var Cp=null,Ib=null,wp=null;function iM(e){return Cp=e,Ib=VC(),!0}function lM(){Cp=null,Ib=null,wp=null}function UC(){if(wp)return wp;var e,t=Ib,n=t.length,o,u=VC(),f=u.length;for(e=0;e<n&&t[e]===u[e];e++);var g=n-e;for(o=1;o<=g&&t[n-o]===u[f-o];o++);var y=o>1?1-o:void 0;return wp=u.slice(e,y),wp}function VC(){return"value"in Cp?Cp.value:Cp.textContent}function Wm(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 Ym(){return!0}function WC(){return!1}function Ho(e){function t(n,o,u,f,g){this._reactName=n,this._targetInst=u,this.type=o,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var C=e[y];C?this[y]=C(f):this[y]=f[y]}var R=f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1;return R?this.isDefaultPrevented=Ym:this.isDefaultPrevented=WC,this.isPropagationStopped=WC,this}return At(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=Ym)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ym)},persist:function(){},isPersistent:Ym}),t}var Md={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fb=Ho(Md),xp=At({},Md,{view:0,detail:0}),sM=Ho(xp),Hb,jb,Tp;function uM(e){e!==Tp&&(Tp&&e.type==="mousemove"?(Hb=e.screenX-Tp.screenX,jb=e.screenY-Tp.screenY):(Hb=0,jb=0),Tp=e)}var $m=At({},xp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vb,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:(uM(e),Hb)},movementY:function(e){return"movementY"in e?e.movementY:jb}}),YC=Ho($m),cM=At({},$m,{dataTransfer:0}),dM=Ho(cM),fM=At({},xp,{relatedTarget:0}),Ub=Ho(fM),pM=At({},Md,{animationName:0,elapsedTime:0,pseudoElement:0}),hM=Ho(pM),mM=At({},Md,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vM=Ho(mM),gM=At({},Md,{data:0}),$C=Ho(gM),_M=$C,bM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yM={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 SM(e){if(e.key){var t=bM[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Wm(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?yM[e.keyCode]||"Unidentified":""}var CM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wM(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var o=CM[e];return o?!!n[o]:!1}function Vb(e){return wM}var xM=At({},xp,{key:SM,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vb,charCode:function(e){return e.type==="keypress"?Wm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Wm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),TM=Ho(xM),EM=At({},$m,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),GC=Ho(EM),kM=At({},xp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vb}),RM=Ho(kM),DM=At({},Md,{propertyName:0,elapsedTime:0,pseudoElement:0}),AM=Ho(DM),NM=At({},$m,{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}),LM=Ho(NM),BM=[9,13,27,32],qC=229,Wb=ar&&"CompositionEvent"in window,Ep=null;ar&&"documentMode"in document&&(Ep=document.documentMode);var OM=ar&&"TextEvent"in window&&!Ep,KC=ar&&(!Wb||Ep&&Ep>8&&Ep<=11),XC=32,JC=String.fromCharCode(XC);function zM(){or("onBeforeInput",["compositionend","keypress","textInput","paste"]),or("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),or("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),or("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var QC=!1;function PM(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function MM(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function IM(e,t){return e==="keydown"&&t.keyCode===qC}function ZC(e,t){switch(e){case"keyup":return BM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==qC;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ew(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function tw(e){return e.locale==="ko"}var Id=!1;function FM(e,t,n,o,u){var f,g;if(Wb?f=MM(t):Id?ZC(t,o)&&(f="onCompositionEnd"):IM(t,o)&&(f="onCompositionStart"),!f)return null;KC&&!tw(o)&&(!Id&&f==="onCompositionStart"?Id=iM(u):f==="onCompositionEnd"&&Id&&(g=UC()));var y=Jm(n,f);if(y.length>0){var C=new $C(f,t,null,o,u);if(e.push({event:C,listeners:y}),g)C.data=g;else{var R=ew(o);R!==null&&(C.data=R)}}}function HM(e,t){switch(e){case"compositionend":return ew(t);case"keypress":var n=t.which;return n!==XC?null:(QC=!0,JC);case"textInput":var o=t.data;return o===JC&&QC?null:o;default:return null}}function jM(e,t){if(Id){if(e==="compositionend"||!Wb&&ZC(e,t)){var n=UC();return lM(),Id=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!PM(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return KC&&!tw(t)?null:t.data;default:return null}}function UM(e,t,n,o,u){var f;if(OM?f=HM(t,o):f=jM(t,o),!f)return null;var g=Jm(n,"onBeforeInput");if(g.length>0){var y=new _M("onBeforeInput","beforeinput",null,o,u);e.push({event:y,listeners:g}),y.data=f}}function VM(e,t,n,o,u,f,g){FM(e,t,n,o,u),UM(e,t,n,o,u)}var WM={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 rw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!WM[e.type]:t==="textarea"}function YM(e){if(!ar)return!1;var t="on"+e,n=t in document;if(!n){var o=document.createElement("div");o.setAttribute(t,"return;"),n=typeof o[t]=="function"}return n}function $M(){or("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function aw(e,t,n,o){eC(o);var u=Jm(t,"onChange");if(u.length>0){var f=new Fb("onChange","change",null,n,o);e.push({event:f,listeners:u})}}var kp=null,Rp=null;function GM(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function qM(e){var t=[];aw(t,Rp,e,W_(e)),nC(KM,t)}function KM(e){Sw(e,0)}function Gm(e){var t=Wd(e);if(bd(t))return e}function XM(e,t){if(e==="change")return t}var nw=!1;ar&&(nw=YM("input")&&(!document.documentMode||document.documentMode>9));function JM(e,t){kp=e,Rp=t,kp.attachEvent("onpropertychange",iw)}function ow(){kp&&(kp.detachEvent("onpropertychange",iw),kp=null,Rp=null)}function iw(e){e.propertyName==="value"&&Gm(Rp)&&qM(e)}function QM(e,t,n){e==="focusin"?(ow(),JM(t,n)):e==="focusout"&&ow()}function ZM(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gm(Rp)}function eI(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function tI(e,t){if(e==="click")return Gm(t)}function rI(e,t){if(e==="input"||e==="change")return Gm(t)}function aI(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Br(e,"number",e.value)}function nI(e,t,n,o,u,f,g){var y=n?Wd(n):window,C,R;if(GM(y)?C=XM:rw(y)?nw?C=rI:(C=ZM,R=QM):eI(y)&&(C=tI),C){var O=C(t,n);if(O){aw(e,O,o,u);return}}R&&R(t,y,n),t==="focusout"&&aI(y)}function oI(){Ue("onMouseEnter",["mouseout","mouseover"]),Ue("onMouseLeave",["mouseout","mouseover"]),Ue("onPointerEnter",["pointerout","pointerover"]),Ue("onPointerLeave",["pointerout","pointerover"])}function iI(e,t,n,o,u,f,g){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!w7(o)){var R=o.relatedTarget||o.fromElement;if(R&&(Nc(R)||Vp(R)))return}if(!(!C&&!y)){var O;if(u.window===u)O=u;else{var Z=u.ownerDocument;Z?O=Z.defaultView||Z.parentWindow:O=window}var X,ye;if(C){var Se=o.relatedTarget||o.toElement;if(X=n,ye=Se?Nc(Se):null,ye!==null){var xe=Cc(ye);(ye!==xe||ye.tag!==w&&ye.tag!==k)&&(ye=null)}}else X=null,ye=n;if(X!==ye){var at=YC,Dt="onMouseLeave",Ct="onMouseEnter",ir="mouse";(t==="pointerout"||t==="pointerover")&&(at=GC,Dt="onPointerLeave",Ct="onPointerEnter",ir="pointer");var lr=X==null?O:Wd(X),fe=ye==null?O:Wd(ye),Re=new at(Dt,ir+"leave",X,o,u);Re.target=lr,Re.relatedTarget=fe;var pe=null,$e=Nc(u);if($e===n){var dt=new at(Ct,ir+"enter",ye,o,u);dt.target=fe,dt.relatedTarget=lr,pe=dt}AI(e,Re,pe,X,ye)}}}function lI(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jo=typeof Object.is=="function"?Object.is:lI;function Dp(e,t){if(jo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var u=0;u<n.length;u++){var f=n[u];if(!ur.call(t,f)||!jo(e[f],t[f]))return!1}return!0}function lw(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sI(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function sw(e,t){for(var n=lw(e),o=0,u=0;n;){if(n.nodeType===Ls){if(u=o+n.textContent.length,o<=t&&u>=t)return{node:n,offset:t-o};o=u}n=lw(sI(n))}}function uI(e){var t=e.ownerDocument,n=t&&t.defaultView||window,o=n.getSelection&&n.getSelection();if(!o||o.rangeCount===0)return null;var u=o.anchorNode,f=o.anchorOffset,g=o.focusNode,y=o.focusOffset;try{u.nodeType,g.nodeType}catch(C){return null}return cI(e,u,f,g,y)}function cI(e,t,n,o,u){var f=0,g=-1,y=-1,C=0,R=0,O=e,Z=null;e:for(;;){for(var X=null;O===t&&(n===0||O.nodeType===Ls)&&(g=f+n),O===o&&(u===0||O.nodeType===Ls)&&(y=f+u),O.nodeType===Ls&&(f+=O.nodeValue.length),(X=O.firstChild)!==null;)Z=O,O=X;for(;;){if(O===e)break e;if(Z===t&&++C===n&&(g=f),Z===o&&++R===u&&(y=f),(X=O.nextSibling)!==null)break;O=Z,Z=O.parentNode}O=X}return g===-1||y===-1?null:{start:g,end:y}}function dI(e,t){var n=e.ownerDocument||document,o=n&&n.defaultView||window;if(o.getSelection){var u=o.getSelection(),f=e.textContent.length,g=Math.min(t.start,f),y=t.end===void 0?g:Math.min(t.end,f);if(!u.extend&&g>y){var C=y;y=g,g=C}var R=sw(e,g),O=sw(e,y);if(R&&O){if(u.rangeCount===1&&u.anchorNode===R.node&&u.anchorOffset===R.offset&&u.focusNode===O.node&&u.focusOffset===O.offset)return;var Z=n.createRange();Z.setStart(R.node,R.offset),u.removeAllRanges(),g>y?(u.addRange(Z),u.extend(O.node,O.offset)):(Z.setEnd(O.node,O.offset),u.addRange(Z))}}}function uw(e){return e&&e.nodeType===Ls}function cw(e,t){return!e||!t?!1:e===t?!0:uw(e)?!1:uw(t)?cw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function fI(e){return e&&e.ownerDocument&&cw(e.ownerDocument.documentElement,e)}function pI(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function dw(){for(var e=window,t=yd();t instanceof e.HTMLIFrameElement;){if(pI(t))e=t.contentWindow;else return t;t=yd(e.document)}return t}function Yb(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 hI(){var e=dw();return{focusedElem:e,selectionRange:Yb(e)?vI(e):null}}function mI(e){var t=dw(),n=e.focusedElem,o=e.selectionRange;if(t!==n&&fI(n)){o!==null&&Yb(n)&&gI(n,o);for(var u=[],f=n;f=f.parentNode;)f.nodeType===Co&&u.push({element:f,left:f.scrollLeft,top:f.scrollTop});typeof n.focus=="function"&&n.focus();for(var g=0;g<u.length;g++){var y=u[g];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function vI(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=uI(e),t||{start:0,end:0}}function gI(e,t){var n=t.start,o=t.end;o===void 0&&(o=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(o,e.value.length)):dI(e,t)}var _I=ar&&"documentMode"in document&&document.documentMode<=11;function bI(){or("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Fd=null,$b=null,Ap=null,Gb=!1;function yI(e){if("selectionStart"in e&&Yb(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 SI(e){return e.window===e?e.document:e.nodeType===Bs?e:e.ownerDocument}function fw(e,t,n){var o=SI(n);if(!(Gb||Fd==null||Fd!==yd(o))){var u=yI(Fd);if(!Ap||!Dp(Ap,u)){Ap=u;var f=Jm($b,"onSelect");if(f.length>0){var g=new Fb("onSelect","select",null,t,n);e.push({event:g,listeners:f}),g.target=Fd}}}}function CI(e,t,n,o,u,f,g){var y=n?Wd(n):window;switch(t){case"focusin":(rw(y)||y.contentEditable==="true")&&(Fd=y,$b=n,Ap=null);break;case"focusout":Fd=null,$b=null,Ap=null;break;case"mousedown":Gb=!0;break;case"contextmenu":case"mouseup":case"dragend":Gb=!1,fw(e,o,u);break;case"selectionchange":if(_I)break;case"keydown":case"keyup":fw(e,o,u)}}function qm(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Hd={animationend:qm("Animation","AnimationEnd"),animationiteration:qm("Animation","AnimationIteration"),animationstart:qm("Animation","AnimationStart"),transitionend:qm("Transition","TransitionEnd")},qb={},pw={};ar&&(pw=document.createElement("div").style,"AnimationEvent"in window||(delete Hd.animationend.animation,delete Hd.animationiteration.animation,delete Hd.animationstart.animation),"TransitionEvent"in window||delete Hd.transitionend.transition);function Km(e){if(qb[e])return qb[e];if(!Hd[e])return e;var t=Hd[e];for(var n in t)if(t.hasOwnProperty(n)&&n in pw)return qb[e]=t[n];return e}var hw=Km("animationend"),mw=Km("animationiteration"),vw=Km("animationstart"),gw=Km("transitionend"),_w=new Map,bw=["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 Lu(e,t){_w.set(e,t),or(t,[e])}function wI(){for(var e=0;e<bw.length;e++){var t=bw[e],n=t.toLowerCase(),o=t[0].toUpperCase()+t.slice(1);Lu(n,"on"+o)}Lu(hw,"onAnimationEnd"),Lu(mw,"onAnimationIteration"),Lu(vw,"onAnimationStart"),Lu("dblclick","onDoubleClick"),Lu("focusin","onFocus"),Lu("focusout","onBlur"),Lu(gw,"onTransitionEnd")}function xI(e,t,n,o,u,f,g){var y=_w.get(t);if(y!==void 0){var C=Fb,R=t;switch(t){case"keypress":if(Wm(o)===0)return;case"keydown":case"keyup":C=TM;break;case"focusin":R="focus",C=Ub;break;case"focusout":R="blur",C=Ub;break;case"beforeblur":case"afterblur":C=Ub;break;case"click":if(o.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=YC;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=dM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=RM;break;case hw:case mw:case vw:C=hM;break;case gw:C=AM;break;case"scroll":C=sM;break;case"wheel":C=LM;break;case"copy":case"cut":case"paste":C=vM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=GC;break}var O=(f&tp)!==0;{var Z=!O&&t==="scroll",X=RI(n,y,o.type,O,Z);if(X.length>0){var ye=new C(y,R,null,o,u);e.push({event:ye,listeners:X})}}}}wI(),oI(),$M(),bI(),zM();function TI(e,t,n,o,u,f,g){xI(e,t,n,o,u,f);var y=(f&y7)===0;y&&(iI(e,t,n,o,u),nI(e,t,n,o,u),CI(e,t,n,o,u),VM(e,t,n,o,u))}var Np=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Kb=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Np));function yw(e,t,n){var o=e.type||"unknown-event";e.currentTarget=n,L7(o,t,void 0,e),e.currentTarget=null}function EI(e,t,n){var o;if(n)for(var u=t.length-1;u>=0;u--){var f=t[u],g=f.instance,y=f.currentTarget,C=f.listener;if(g!==o&&e.isPropagationStopped())return;yw(e,C,y),o=g}else for(var R=0;R<t.length;R++){var O=t[R],Z=O.instance,X=O.currentTarget,ye=O.listener;if(Z!==o&&e.isPropagationStopped())return;yw(e,ye,X),o=Z}}function Sw(e,t){for(var n=(t&tp)!==0,o=0;o<e.length;o++){var u=e[o],f=u.event,g=u.listeners;EI(f,g,n)}B7()}function kI(e,t,n,o,u){var f=W_(n),g=[];TI(g,e,o,n,f,t),Sw(g,t)}function ma(e,t){Kb.has(e)||c('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,o=aF(t),u=NI(e,n);o.has(u)||(Cw(t,e,V_,n),o.add(u))}function Xb(e,t,n){Kb.has(e)&&!t&&c('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=tp),Cw(n,e,o,t)}var Xm="_reactListening"+Math.random().toString(36).slice(2);function Lp(e){if(!e[Xm]){e[Xm]=!0,vt.forEach(function(n){n!=="selectionchange"&&(Kb.has(n)||Xb(n,!1,e),Xb(n,!0,e))});var t=e.nodeType===Bs?e:e.ownerDocument;t!==null&&(t[Xm]||(t[Xm]=!0,Xb("selectionchange",!1,t)))}}function Cw(e,t,n,o,u){var f=QP(e,t,n),g=void 0;G_&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e;var y;o?g!==void 0?y=nM(e,t,f,g):y=aM(e,t,f):g!==void 0?y=oM(e,t,f,g):y=rM(e,t,f)}function ww(e,t){return e===t||e.nodeType===Wa&&e.parentNode===t}function Jb(e,t,n,o,u){var f=o;if(!(t&Q3)&&!(t&V_)){var g=u;if(o!==null){var y=o;e:for(;;){if(y===null)return;var C=y.tag;if(C===S||C===T){var R=y.stateNode.containerInfo;if(ww(R,g))break;if(C===T)for(var O=y.return;O!==null;){var Z=O.tag;if(Z===S||Z===T){var X=O.stateNode.containerInfo;if(ww(X,g))return}O=O.return}for(;R!==null;){var ye=Nc(R);if(ye===null)return;var Se=ye.tag;if(Se===w||Se===k){y=f=ye;continue e}R=R.parentNode}}y=y.return}}}nC(function(){return kI(e,t,n,f)})}function Bp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function RI(e,t,n,o,u,f){for(var g=t!==null?t+"Capture":null,y=o?g:t,C=[],R=e,O=null;R!==null;){var Z=R,X=Z.stateNode,ye=Z.tag;if(ye===w&&X!==null&&(O=X,y!==null)){var Se=ap(R,y);Se!=null&&C.push(Bp(R,Se,O))}if(u)break;R=R.return}return C}function Jm(e,t){for(var n=t+"Capture",o=[],u=e;u!==null;){var f=u,g=f.stateNode,y=f.tag;if(y===w&&g!==null){var C=g,R=ap(u,n);R!=null&&o.unshift(Bp(u,R,C));var O=ap(u,t);O!=null&&o.push(Bp(u,O,C))}u=u.return}return o}function jd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function DI(e,t){for(var n=e,o=t,u=0,f=n;f;f=jd(f))u++;for(var g=0,y=o;y;y=jd(y))g++;for(;u-g>0;)n=jd(n),u--;for(;g-u>0;)o=jd(o),g--;for(var C=u;C--;){if(n===o||o!==null&&n===o.alternate)return n;n=jd(n),o=jd(o)}return null}function xw(e,t,n,o,u){for(var f=t._reactName,g=[],y=n;y!==null&&y!==o;){var C=y,R=C.alternate,O=C.stateNode,Z=C.tag;if(R!==null&&R===o)break;if(Z===w&&O!==null){var X=O;if(u){var ye=ap(y,f);ye!=null&&g.unshift(Bp(y,ye,X))}else if(!u){var Se=ap(y,f);Se!=null&&g.push(Bp(y,Se,X))}}y=y.return}g.length!==0&&e.push({event:t,listeners:g})}function AI(e,t,n,o,u){var f=o&&u?DI(o,u):null;o!==null&&xw(e,t,o,f,!1),u!==null&&n!==null&&xw(e,n,u,f,!0)}function NI(e,t){return e+"__"+(t?"capture":"bubble")}var wo=!1,Op="dangerouslySetInnerHTML",Qm="suppressContentEditableWarning",Bu="suppressHydrationWarning",Tw="autoFocus",Dc="children",Ac="style",Zm="__html",Qb,ev,zp,Ew,tv,kw,Rw;Qb={dialog:!0,webview:!0},ev=function(e,t){p7(e,t),h7(e,t),b7(e,t,{registrationNameDependencies:Kt,possibleRegistrationNames:nr})},kw=ar&&!document.documentMode,zp=function(e,t,n){if(!wo){var o=rv(n),u=rv(t);u!==o&&(wo=!0,c("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(o)))}},Ew=function(e){if(!wo){wo=!0;var t=[];e.forEach(function(n){t.push(n)}),c("Extra attributes from the server: %s",t)}},tv=function(e,t){t===!1?c("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):c("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Rw=function(e,t){var n=e.namespaceURI===Ns?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var LI=/\r\n?/g,BI=/\u0000|\uFFFD/g;function rv(e){Ra(e);var t=typeof e=="string"?e:""+e;return t.replace(LI,`
|
|
32
|
+
`).replace(BI,"")}function av(e,t,n,o){var u=rv(t),f=rv(e);if(f!==u&&(o&&(wo||(wo=!0,c('Text content did not match. Server: "%s" Client: "%s"',f,u))),n&&ee))throw new Error("Text content does not match server-rendered HTML.")}function Dw(e){return e.nodeType===Bs?e:e.ownerDocument}function OI(){}function nv(e){e.onclick=OI}function zI(e,t,n,o,u){for(var f in o)if(o.hasOwnProperty(f)){var g=o[f];if(f===Ac)g&&Object.freeze(g),$3(t,g);else if(f===Op){var y=g?g[Zm]:void 0;y!=null&&j3(t,y)}else if(f===Dc)if(typeof g=="string"){var C=e!=="textarea"||g!=="";C&&Em(t,g)}else typeof g=="number"&&Em(t,""+g);else f===Qm||f===Bu||f===Tw||(Kt.hasOwnProperty(f)?g!=null&&(typeof g!="function"&&tv(f,g),f==="onScroll"&&ma("scroll",t)):g!=null&&M(t,f,g,u))}}function PI(e,t,n,o){for(var u=0;u<t.length;u+=2){var f=t[u],g=t[u+1];f===Ac?$3(e,g):f===Op?j3(e,g):f===Dc?Em(e,g):M(e,f,g,o)}}function MI(e,t,n,o){var u,f=Dw(n),g,y=o;if(y===Ns&&(y=M_(e)),y===Ns){if(u=gc(e,t),!u&&e!==e.toLowerCase()&&c("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=f.createElement("div");C.innerHTML="<script></script>";var R=C.firstChild;g=C.removeChild(R)}else if(typeof t.is=="string")g=f.createElement(e,{is:t.is});else if(g=f.createElement(e),e==="select"){var O=g;t.multiple?O.multiple=!0:t.size&&(O.size=t.size)}}else g=f.createElementNS(y,e);return y===Ns&&!u&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!ur.call(Qb,e)&&(Qb[e]=!0,c("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),g}function II(e,t){return Dw(t).createTextNode(e)}function FI(e,t,n,o){var u=gc(t,n);ev(t,n);var f;switch(t){case"dialog":ma("cancel",e),ma("close",e),f=n;break;case"iframe":case"object":case"embed":ma("load",e),f=n;break;case"video":case"audio":for(var g=0;g<Np.length;g++)ma(Np[g],e);f=n;break;case"source":ma("error",e),f=n;break;case"img":case"image":case"link":ma("error",e),ma("load",e),f=n;break;case"details":ma("toggle",e),f=n;break;case"input":ke(e,n),f=_e(e,n),ma("invalid",e);break;case"option":Ta(e,n),f=n;break;case"select":P3(e,n),f=Zf(e,n),ma("invalid",e);break;case"textarea":I3(e,n),f=z_(e,n),ma("invalid",e);break;default:f=n}switch(U_(t,f),zI(t,e,o,f,u),t){case"input":Eu(e),bt(e,n,!1);break;case"textarea":Eu(e),H3(e);break;case"option":Xa(e,n);break;case"select":zz(e,n);break;default:typeof f.onClick=="function"&&nv(e);break}}function HI(e,t,n,o,u){ev(t,o);var f=null,g,y;switch(t){case"input":g=_e(e,n),y=_e(e,o),f=[];break;case"select":g=Zf(e,n),y=Zf(e,o),f=[];break;case"textarea":g=z_(e,n),y=z_(e,o),f=[];break;default:g=n,y=o,typeof g.onClick!="function"&&typeof y.onClick=="function"&&nv(e);break}U_(t,y);var C,R,O=null;for(C in g)if(!(y.hasOwnProperty(C)||!g.hasOwnProperty(C)||g[C]==null))if(C===Ac){var Z=g[C];for(R in Z)Z.hasOwnProperty(R)&&(O||(O={}),O[R]="")}else C===Op||C===Dc||C===Qm||C===Bu||C===Tw||(Kt.hasOwnProperty(C)?f||(f=[]):(f=f||[]).push(C,null));for(C in y){var X=y[C],ye=g!=null?g[C]:void 0;if(!(!y.hasOwnProperty(C)||X===ye||X==null&&ye==null))if(C===Ac)if(X&&Object.freeze(X),ye){for(R in ye)ye.hasOwnProperty(R)&&(!X||!X.hasOwnProperty(R))&&(O||(O={}),O[R]="");for(R in X)X.hasOwnProperty(R)&&ye[R]!==X[R]&&(O||(O={}),O[R]=X[R])}else O||(f||(f=[]),f.push(C,O)),O=X;else if(C===Op){var Se=X?X[Zm]:void 0,xe=ye?ye[Zm]:void 0;Se!=null&&xe!==Se&&(f=f||[]).push(C,Se)}else C===Dc?(typeof X=="string"||typeof X=="number")&&(f=f||[]).push(C,""+X):C===Qm||C===Bu||(Kt.hasOwnProperty(C)?(X!=null&&(typeof X!="function"&&tv(C,X),C==="onScroll"&&ma("scroll",e)),!f&&ye!==X&&(f=[])):(f=f||[]).push(C,X))}return O&&(o7(O,y[Ac]),(f=f||[]).push(Ac,O)),f}function jI(e,t,n,o,u){n==="input"&&u.type==="radio"&&u.name!=null&&Qe(e,u);var f=gc(n,o),g=gc(n,u);switch(PI(e,t,f,g),n){case"input":Bt(e,u);break;case"textarea":F3(e,u);break;case"select":Pz(e,u);break}}function UI(e){{var t=e.toLowerCase();return km.hasOwnProperty(t)&&km[t]||null}}function VI(e,t,n,o,u,f,g){var y,C;switch(y=gc(t,n),ev(t,n),t){case"dialog":ma("cancel",e),ma("close",e);break;case"iframe":case"object":case"embed":ma("load",e);break;case"video":case"audio":for(var R=0;R<Np.length;R++)ma(Np[R],e);break;case"source":ma("error",e);break;case"img":case"image":case"link":ma("error",e),ma("load",e);break;case"details":ma("toggle",e);break;case"input":ke(e,n),ma("invalid",e);break;case"option":Ta(e,n);break;case"select":P3(e,n),ma("invalid",e);break;case"textarea":I3(e,n),ma("invalid",e);break}U_(t,n);{C=new Set;for(var O=e.attributes,Z=0;Z<O.length;Z++){var X=O[Z].name.toLowerCase();switch(X){case"value":break;case"checked":break;case"selected":break;default:C.add(O[Z].name)}}}var ye=null;for(var Se in n)if(n.hasOwnProperty(Se)){var xe=n[Se];if(Se===Dc)typeof xe=="string"?e.textContent!==xe&&(n[Bu]!==!0&&av(e.textContent,xe,f,g),ye=[Dc,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(n[Bu]!==!0&&av(e.textContent,xe,f,g),ye=[Dc,""+xe]);else if(Kt.hasOwnProperty(Se))xe!=null&&(typeof xe!="function"&&tv(Se,xe),Se==="onScroll"&&ma("scroll",e));else if(g&&typeof y=="boolean"){var at=void 0,Dt=y&&Oe?null:ae(Se);if(n[Bu]!==!0){if(!(Se===Qm||Se===Bu||Se==="value"||Se==="checked"||Se==="selected")){if(Se===Op){var Ct=e.innerHTML,ir=xe?xe[Zm]:void 0;if(ir!=null){var lr=Rw(e,ir);lr!==Ct&&zp(Se,Ct,lr)}}else if(Se===Ac){if(C.delete(Se),kw){var fe=a7(xe);at=e.getAttribute("style"),fe!==at&&zp(Se,at,fe)}}else if(y&&!Oe)C.delete(Se.toLowerCase()),at=Ze(e,Se,xe),xe!==at&&zp(Se,at,xe);else if(!yr(Se,Dt,y)&&!G(Se,xe,Dt,y)){var Re=!1;if(Dt!==null)C.delete(Dt.attributeName),at=Ne(e,Se,xe,Dt);else{var pe=o;if(pe===Ns&&(pe=M_(t)),pe===Ns)C.delete(Se.toLowerCase());else{var $e=UI(Se);$e!==null&&$e!==Se&&(Re=!0,C.delete($e)),C.delete(Se)}at=Ze(e,Se,xe)}var dt=Oe;!dt&&xe!==at&&!Re&&zp(Se,at,xe)}}}}}switch(g&&C.size>0&&n[Bu]!==!0&&Ew(C),t){case"input":Eu(e),bt(e,n,!0);break;case"textarea":Eu(e),H3(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&nv(e);break}return ye}function WI(e,t,n){var o=e.nodeValue!==t;return o}function Zb(e,t){{if(wo)return;wo=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function ey(e,t){{if(wo)return;wo=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function ty(e,t,n){{if(wo)return;wo=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function ry(e,t){{if(t===""||wo)return;wo=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function YI(e,t,n){switch(t){case"input":qt(e,n);return;case"textarea":Iz(e,n);return;case"select":Mz(e,n);return}}var Pp=function(){},Mp=function(){};{var $I=["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"],Aw=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],GI=Aw.concat(["button"]),qI=["dd","dt","li","option","optgroup","p","rp","rt"],Nw={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Mp=function(e,t){var n=At({},e||Nw),o={tag:t};return Aw.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),GI.indexOf(t)!==-1&&(n.pTagInButtonScope=null),$I.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=o,t==="form"&&(n.formTag=o),t==="a"&&(n.aTagInScope=o),t==="button"&&(n.buttonTagInScope=o),t==="nobr"&&(n.nobrTagInScope=o),t==="p"&&(n.pTagInButtonScope=o),t==="li"&&(n.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=o),n};var KI=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 qI.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},XI=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},Lw={};Pp=function(e,t,n){n=n||Nw;var o=n.current,u=o&&o.tag;t!=null&&(e!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var f=KI(e,u)?null:o,g=f?null:XI(e,n),y=f||g;if(y){var C=y.tag,R=!!f+"|"+e+"|"+C;if(!Lw[R]){Lw[R]=!0;var O=e,Z="";if(e==="#text"?/\S/.test(t)?O="Text nodes":(O="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):O="<"+e+">",f){var X="";C==="table"&&e==="tr"&&(X+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",O,C,Z,X)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",O,C)}}}}var ov="suppressHydrationWarning",iv="$",lv="/$",Ip="$?",Fp="$!",JI="style",ay=null,ny=null;function QI(e){var t,n,o=e.nodeType;switch(o){case Bs:case F_:{t=o===Bs?"#document":"#fragment";var u=e.documentElement;n=u?u.namespaceURI:I_(null,"");break}default:{var f=o===Wa?e.parentNode:e,g=f.namespaceURI||null;t=f.tagName,n=I_(g,t);break}}{var y=t.toLowerCase(),C=Mp(null,y);return{namespace:n,ancestorInfo:C}}}function ZI(e,t,n){{var o=e,u=I_(o.namespace,t),f=Mp(o.ancestorInfo,t);return{namespace:u,ancestorInfo:f}}}function zG(e){return e}function e9(e){ay=JP(),ny=hI();var t=null;return HC(!1),t}function t9(e){mI(ny),HC(ay),ay=null,ny=null}function r9(e,t,n,o,u){var f;{var g=o;if(Pp(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Mp(g.ancestorInfo,e);Pp(null,y,C)}f=g.namespace}var R=MI(e,t,n,f);return Up(u,R),fy(R,t),R}function a9(e,t){e.appendChild(t)}function n9(e,t,n,o,u){switch(FI(e,t,n,o),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function o9(e,t,n,o,u,f){{var g=f;if(typeof o.children!=typeof n.children&&(typeof o.children=="string"||typeof o.children=="number")){var y=""+o.children,C=Mp(g.ancestorInfo,t);Pp(null,y,C)}}return HI(e,t,n,o)}function oy(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 i9(e,t,n,o){{var u=n;Pp(null,e,u.ancestorInfo)}var f=II(e,t);return Up(o,f),f}function l9(){var e=window.event;return e===void 0?Hs:jC(e.type)}var iy=typeof setTimeout=="function"?setTimeout:void 0,s9=typeof clearTimeout=="function"?clearTimeout:void 0,ly=-1,Bw=typeof Promise=="function"?Promise:void 0,u9=typeof queueMicrotask=="function"?queueMicrotask:typeof Bw!="undefined"?function(e){return Bw.resolve(null).then(e).catch(c9)}:iy;function c9(e){setTimeout(function(){throw e})}function d9(e,t,n,o){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 f9(e,t,n,o,u,f){jI(e,t,n,o,u),fy(e,u)}function Ow(e){Em(e,"")}function p9(e,t,n){e.nodeValue=n}function h9(e,t){e.appendChild(t)}function m9(e,t){var n;e.nodeType===Wa?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var o=e._reactRootContainer;o==null&&n.onclick===null&&nv(n)}function v9(e,t,n){e.insertBefore(t,n)}function g9(e,t,n){e.nodeType===Wa?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function _9(e,t){e.removeChild(t)}function b9(e,t){e.nodeType===Wa?e.parentNode.removeChild(t):e.removeChild(t)}function sy(e,t){var n=t,o=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===Wa){var f=u.data;if(f===lv)if(o===0){e.removeChild(u),Sp(t);return}else o--;else(f===iv||f===Ip||f===Fp)&&o++}n=u}while(n);Sp(t)}function y9(e,t){e.nodeType===Wa?sy(e.parentNode,t):e.nodeType===Co&&sy(e,t),Sp(e)}function S9(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function C9(e){e.nodeValue=""}function w9(e,t){e=e;var n=t[JI],o=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=H_("display",o)}function x9(e,t){e.nodeValue=t}function T9(e){e.nodeType===Co?e.textContent="":e.nodeType===Bs&&e.documentElement&&e.removeChild(e.documentElement)}function E9(e,t,n){return e.nodeType!==Co||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function k9(e,t){return t===""||e.nodeType!==Ls?null:e}function R9(e){return e.nodeType!==Wa?null:e}function zw(e){return e.data===Ip}function uy(e){return e.data===Fp}function D9(e){var t=e.nextSibling&&e.nextSibling.dataset,n,o,u;return t&&(n=t.dgst,o=t.msg,u=t.stck),{message:o,digest:n,stack:u}}function A9(e,t){e._reactRetry=t}function sv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Co||t===Ls)break;if(t===Wa){var n=e.data;if(n===iv||n===Fp||n===Ip)break;if(n===lv)return null}}return e}function Hp(e){return sv(e.nextSibling)}function N9(e){return sv(e.firstChild)}function L9(e){return sv(e.firstChild)}function B9(e){return sv(e.nextSibling)}function O9(e,t,n,o,u,f,g){Up(f,e),fy(e,n);var y;{var C=u;y=C.namespace}var R=(f.mode&dr)!==Nt;return VI(e,t,n,y,o,R,g)}function z9(e,t,n,o){Up(n,e);var u=(n.mode&dr)!==Nt;return WI(e,t)}function P9(e,t){Up(t,e)}function M9(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Wa){var o=t.data;if(o===lv){if(n===0)return Hp(t);n--}else(o===iv||o===Fp||o===Ip)&&n++}t=t.nextSibling}return null}function Pw(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Wa){var o=t.data;if(o===iv||o===Fp||o===Ip){if(n===0)return t;n--}else o===lv&&n++}t=t.previousSibling}return null}function I9(e){Sp(e)}function F9(e){Sp(e)}function H9(e){return e!=="head"&&e!=="body"}function j9(e,t,n,o){var u=!0;av(t.nodeValue,n,o,u)}function U9(e,t,n,o,u,f){if(t[ov]!==!0){var g=!0;av(o.nodeValue,u,f,g)}}function V9(e,t){t.nodeType===Co?Zb(e,t):t.nodeType===Wa||ey(e,t)}function W9(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===Co?Zb(n,t):t.nodeType===Wa||ey(n,t))}}function Y9(e,t,n,o,u){(u||t[ov]!==!0)&&(o.nodeType===Co?Zb(n,o):o.nodeType===Wa||ey(n,o))}function $9(e,t,n){ty(e,t)}function G9(e,t){ry(e,t)}function q9(e,t,n){{var o=e.parentNode;o!==null&&ty(o,t)}}function K9(e,t){{var n=e.parentNode;n!==null&&ry(n,t)}}function X9(e,t,n,o,u,f){(f||t[ov]!==!0)&&ty(n,o)}function J9(e,t,n,o,u){(u||t[ov]!==!0)&&ry(n,o)}function Q9(e){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Z9(e){Lp(e)}var Ud=Math.random().toString(36).slice(2),Vd="__reactFiber$"+Ud,cy="__reactProps$"+Ud,jp="__reactContainer$"+Ud,dy="__reactEvents$"+Ud,eF="__reactListeners$"+Ud,tF="__reactHandles$"+Ud;function rF(e){delete e[Vd],delete e[cy],delete e[dy],delete e[eF],delete e[tF]}function Up(e,t){t[Vd]=e}function uv(e,t){t[jp]=e}function Mw(e){e[jp]=null}function Vp(e){return!!e[jp]}function Nc(e){var t=e[Vd];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jp]||n[Vd],t){var o=t.alternate;if(t.child!==null||o!==null&&o.child!==null)for(var u=Pw(e);u!==null;){var f=u[Vd];if(f)return f;u=Pw(u)}return t}e=n,n=e.parentNode}return null}function Ou(e){var t=e[Vd]||e[jp];return t&&(t.tag===w||t.tag===k||t.tag===W||t.tag===S)?t:null}function Wd(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function cv(e){return e[cy]||null}function fy(e,t){e[cy]=t}function aF(e){var t=e[dy];return t===void 0&&(t=e[dy]=new Set),t}var Iw={},Fw=i.ReactDebugCurrentFrame;function dv(e){if(e){var t=e._owner,n=hd(e.type,e._source,t?t.type:null);Fw.setExtraStackFrame(n)}else Fw.setExtraStackFrame(null)}function Ol(e,t,n,o,u){{var f=Function.call.bind(ur);for(var g in e)if(f(e,g)){var y=void 0;try{if(typeof e[g]!="function"){var C=Error((o||"React class")+": "+n+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}y=e[g](t,g,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){y=R}y&&!(y instanceof Error)&&(dv(u),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,g,typeof y),dv(null)),y instanceof Error&&!(y.message in Iw)&&(Iw[y.message]=!0,dv(u),c("Failed %s type: %s",n,y.message),dv(null))}}}var py=[],fv;fv=[];var js=-1;function zu(e){return{current:e}}function Mn(e,t){if(js<0){c("Unexpected pop.");return}t!==fv[js]&&c("Unexpected Fiber popped."),e.current=py[js],py[js]=null,fv[js]=null,js--}function In(e,t,n){js++,py[js]=e.current,fv[js]=n,e.current=t}var hy;hy={};var Uo={};Object.freeze(Uo);var Us=zu(Uo),is=zu(!1),my=Uo;function Yd(e,t,n){return n&&ls(t)?my:Us.current}function Hw(e,t,n){{var o=e.stateNode;o.__reactInternalMemoizedUnmaskedChildContext=t,o.__reactInternalMemoizedMaskedChildContext=n}}function $d(e,t){{var n=e.type,o=n.contextTypes;if(!o)return Uo;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var f={};for(var g in o)f[g]=t[g];{var y=Jt(e)||"Unknown";Ol(o,f,"context",y)}return u&&Hw(e,t,f),f}}function pv(){return is.current}function ls(e){{var t=e.childContextTypes;return t!=null}}function hv(e){Mn(is,e),Mn(Us,e)}function vy(e){Mn(is,e),Mn(Us,e)}function jw(e,t,n){{if(Us.current!==Uo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");In(Us,t,e),In(is,n,e)}}function Uw(e,t,n){{var o=e.stateNode,u=t.childContextTypes;if(typeof o.getChildContext!="function"){{var f=Jt(e)||"Unknown";hy[f]||(hy[f]=!0,c("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",f,f))}return n}var g=o.getChildContext();for(var y in g)if(!(y in u))throw new Error((Jt(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var C=Jt(e)||"Unknown";Ol(u,g,"child context",C)}return At({},n,g)}}function mv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Uo;return my=Us.current,In(Us,n,e),In(is,is.current,e),!0}}function Vw(e,t,n){{var o=e.stateNode;if(!o)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 u=Uw(e,t,my);o.__reactInternalMemoizedMergedChildContext=u,Mn(is,e),Mn(Us,e),In(Us,u,e),In(is,n,e)}else Mn(is,e),In(is,n,e)}}function nF(e){{if(!H7(e)||e.tag!==_)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 S:return t.stateNode.context;case _:{var n=t.type;if(ls(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 Pu=0,vv=1,Vs=null,gy=!1,_y=!1;function Ww(e){Vs===null?Vs=[e]:Vs.push(e)}function oF(e){gy=!0,Ww(e)}function Yw(){gy&&Mu()}function Mu(){if(!_y&&Vs!==null){_y=!0;var e=0,t=Bl();try{var n=!0,o=Vs;for(hn(Fo);e<o.length;e++){var u=o[e];do u=u(n);while(u!==null)}Vs=null,gy=!1}catch(f){throw Vs!==null&&(Vs=Vs.slice(e+1)),mC(Lm,Mu),f}finally{hn(t),_y=!1}}return null}var Gd=[],qd=0,gv=null,_v=0,vl=[],gl=0,Lc=null,Ws=1,Ys="";function iF(e){return Oc(),(e.flags&lC)!==zt}function lF(e){return Oc(),_v}function sF(){var e=Ys,t=Ws,n=t&~uF(t);return n.toString(32)+e}function Bc(e,t){Oc(),Gd[qd++]=_v,Gd[qd++]=gv,gv=e,_v=t}function $w(e,t,n){Oc(),vl[gl++]=Ws,vl[gl++]=Ys,vl[gl++]=Lc,Lc=e;var o=Ws,u=Ys,f=bv(o)-1,g=o&~(1<<f),y=n+1,C=bv(t)+f;if(C>30){var R=f-f%5,O=(1<<R)-1,Z=(g&O).toString(32),X=g>>R,ye=f-R,Se=bv(t)+ye,xe=y<<ye,at=xe|X,Dt=Z+u;Ws=1<<Se|at,Ys=Dt}else{var Ct=y<<f,ir=Ct|g,lr=u;Ws=1<<C|ir,Ys=lr}}function by(e){Oc();var t=e.return;if(t!==null){var n=1,o=0;Bc(e,n),$w(e,n,o)}}function bv(e){return 32-SC(e)}function uF(e){return 1<<bv(e)-1}function yy(e){for(;e===gv;)gv=Gd[--qd],Gd[qd]=null,_v=Gd[--qd],Gd[qd]=null;for(;e===Lc;)Lc=vl[--gl],vl[gl]=null,Ys=vl[--gl],vl[gl]=null,Ws=vl[--gl],vl[gl]=null}function cF(){return Oc(),Lc!==null?{id:Ws,overflow:Ys}:null}function dF(e,t){Oc(),vl[gl++]=Ws,vl[gl++]=Ys,vl[gl++]=Lc,Ws=t.id,Ys=t.overflow,Lc=e}function Oc(){Cn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Sn=null,_l=null,zl=!1,zc=!1,Iu=null;function fF(){zl&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Gw(){zc=!0}function pF(){return zc}function hF(e){var t=e.stateNode.containerInfo;return _l=L9(t),Sn=e,zl=!0,Iu=null,zc=!1,!0}function mF(e,t,n){return _l=B9(t),Sn=e,zl=!0,Iu=null,zc=!1,n!==null&&dF(e,n),!0}function qw(e,t){switch(e.tag){case S:{V9(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&dr)!==Nt;Y9(e.type,e.memoizedProps,e.stateNode,t,n);break}case W:{var o=e.memoizedState;o.dehydrated!==null&&W9(o.dehydrated,t);break}}}function Kw(e,t){qw(e,t);var n=xU();n.stateNode=t,n.return=e;var o=e.deletions;o===null?(e.deletions=[n],e.flags|=_c):o.push(n)}function Sy(e,t){{if(zc)return;switch(e.tag){case S:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var o=t.type,u=t.pendingProps;$9(n,o);break;case k:var f=t.pendingProps;G9(n,f);break}break}case w:{var g=e.type,y=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var R=t.type,O=t.pendingProps,Z=(e.mode&dr)!==Nt;X9(g,y,C,R,O,Z);break}case k:{var X=t.pendingProps,ye=(e.mode&dr)!==Nt;J9(g,y,C,X,ye);break}}break}case W:{var Se=e.memoizedState,xe=Se.dehydrated;if(xe!==null)switch(t.tag){case w:var at=t.type,Dt=t.pendingProps;q9(xe,at);break;case k:var Ct=t.pendingProps;K9(xe,Ct);break}break}default:return}}}function Xw(e,t){t.flags=t.flags&~zs|Ya,Sy(e,t)}function Jw(e,t){switch(e.tag){case w:{var n=e.type,o=e.pendingProps,u=E9(t,n);return u!==null?(e.stateNode=u,Sn=e,_l=N9(u),!0):!1}case k:{var f=e.pendingProps,g=k9(t,f);return g!==null?(e.stateNode=g,Sn=e,_l=null,!0):!1}case W:{var y=R9(t);if(y!==null){var C={dehydrated:y,treeContext:cF(),retryLane:Mo};e.memoizedState=C;var R=TU(y);return R.return=e,e.child=R,Sn=e,_l=null,!0}return!1}default:return!1}}function Cy(e){return(e.mode&dr)!==Nt&&(e.flags&xr)===zt}function wy(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function xy(e){if(zl){var t=_l;if(!t){Cy(e)&&(Sy(Sn,e),wy()),Xw(Sn,e),zl=!1,Sn=e;return}var n=t;if(!Jw(e,t)){Cy(e)&&(Sy(Sn,e),wy()),t=Hp(n);var o=Sn;if(!t||!Jw(e,t)){Xw(Sn,e),zl=!1,Sn=e;return}Kw(o,n)}}}function vF(e,t,n){var o=e.stateNode,u=!zc,f=O9(o,e.type,e.memoizedProps,t,n,e,u);return e.updateQueue=f,f!==null}function gF(e){var t=e.stateNode,n=e.memoizedProps,o=z9(t,n,e);if(o){var u=Sn;if(u!==null)switch(u.tag){case S:{var f=u.stateNode.containerInfo,g=(u.mode&dr)!==Nt;j9(f,t,n,g);break}case w:{var y=u.type,C=u.memoizedProps,R=u.stateNode,O=(u.mode&dr)!==Nt;U9(y,C,R,t,n,O);break}}}return o}function _F(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.");P9(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 M9(n)}function Qw(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==S&&t.tag!==W;)t=t.return;Sn=t}function yv(e){if(e!==Sn)return!1;if(!zl)return Qw(e),zl=!0,!1;if(e.tag!==S&&(e.tag!==w||H9(e.type)&&!oy(e.type,e.memoizedProps))){var t=_l;if(t)if(Cy(e))Zw(e),wy();else for(;t;)Kw(e,t),t=Hp(t)}return Qw(e),e.tag===W?_l=bF(e):_l=Sn?Hp(e.stateNode):null,!0}function yF(){return zl&&_l!==null}function Zw(e){for(var t=_l;t;)qw(e,t),t=Hp(t)}function Kd(){Sn=null,_l=null,zl=!1,zc=!1}function ex(){Iu!==null&&(q4(Iu),Iu=null)}function Cn(){return zl}function Ty(e){Iu===null?Iu=[e]:Iu.push(e)}var SF=i.ReactCurrentBatchConfig,CF=null;function wF(){return SF.transition}var Pl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var xF=function(e){for(var t=null,n=e;n!==null;)n.mode&Aa&&(t=n),n=n.return;return t},Pc=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},Wp=[],Yp=[],$p=[],Gp=[],qp=[],Kp=[],Mc=new Set;Pl.recordUnsafeLifecycleWarnings=function(e,t){Mc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Wp.push(e),e.mode&Aa&&typeof t.UNSAFE_componentWillMount=="function"&&Yp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&$p.push(e),e.mode&Aa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Gp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&qp.push(e),e.mode&Aa&&typeof t.UNSAFE_componentWillUpdate=="function"&&Kp.push(e))},Pl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Wp.length>0&&(Wp.forEach(function(X){e.add(Jt(X)||"Component"),Mc.add(X.type)}),Wp=[]);var t=new Set;Yp.length>0&&(Yp.forEach(function(X){t.add(Jt(X)||"Component"),Mc.add(X.type)}),Yp=[]);var n=new Set;$p.length>0&&($p.forEach(function(X){n.add(Jt(X)||"Component"),Mc.add(X.type)}),$p=[]);var o=new Set;Gp.length>0&&(Gp.forEach(function(X){o.add(Jt(X)||"Component"),Mc.add(X.type)}),Gp=[]);var u=new Set;qp.length>0&&(qp.forEach(function(X){u.add(Jt(X)||"Component"),Mc.add(X.type)}),qp=[]);var f=new Set;if(Kp.length>0&&(Kp.forEach(function(X){f.add(Jt(X)||"Component"),Mc.add(X.type)}),Kp=[]),t.size>0){var g=Pc(t);c(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
33
33
|
|
|
34
34
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
35
35
|
|
|
@@ -38,11 +38,11 @@ Please update the following components: %s`,g)}if(o.size>0){var y=Pc(o);c(`Using
|
|
|
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(f.size>0){var
|
|
41
|
+
Please update the following components: %s`,y)}if(f.size>0){var C=Pc(f);c(`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 R=Pc(e);d(`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.
|
|
@@ -64,11 +64,11 @@ The old API will be supported in all 16.x releases, but applications using it sh
|
|
|
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`,u)}finally{cn()}}})},Pl.discardPendingWarnings=function(){Wp=[],Yp=[],$p=[],Gp=[],qp=[],Kp=[],Sv=new Map}}var Ey,ky,Ry,Dy,Ay,rx=function(e,t){};Ey=!1,ky=!1,Ry={},Dy={},Ay={},rx=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=Jt(t)||"Component";Dy[n]||(Dy[n]=!0,c('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function TF(e){return e.prototype&&e.prototype.isReactComponent}function Xp(e,t,n){var o=n.ref;if(o!==null&&typeof o!="function"&&typeof o!="object"){if((e.mode&Aa||je)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==_)&&!(typeof n.type=="function"&&!TF(n.type))&&n._owner){var u=Jt(e)||"Component";Ry[u]||(c('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',u,o),Ry[u]=!0)}if(n._owner){var f=n._owner,g;if(f){var y=f;if(y.tag!==_)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");g=y.stateNode}if(!g)throw new Error("Missing owner for string ref "+o+". This error is likely caused by a bug in React. Please file an issue.");var
|
|
67
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{cn()}}})},Pl.discardPendingWarnings=function(){Wp=[],Yp=[],$p=[],Gp=[],qp=[],Kp=[],Sv=new Map}}var Ey,ky,Ry,Dy,Ay,rx=function(e,t){};Ey=!1,ky=!1,Ry={},Dy={},Ay={},rx=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=Jt(t)||"Component";Dy[n]||(Dy[n]=!0,c('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function TF(e){return e.prototype&&e.prototype.isReactComponent}function Xp(e,t,n){var o=n.ref;if(o!==null&&typeof o!="function"&&typeof o!="object"){if((e.mode&Aa||je)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==_)&&!(typeof n.type=="function"&&!TF(n.type))&&n._owner){var u=Jt(e)||"Component";Ry[u]||(c('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',u,o),Ry[u]=!0)}if(n._owner){var f=n._owner,g;if(f){var y=f;if(y.tag!==_)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");g=y.stateNode}if(!g)throw new Error("Missing owner for string ref "+o+". This error is likely caused by a bug in React. Please file an issue.");var C=g;Ua(o,"ref");var R=""+o;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===R)return t.ref;var O=function(Z){var X=C.refs;Z===null?delete X[R]:X[R]=Z};return O._stringRef=R,O}else{if(typeof o!="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 ("+o+`) 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 o}function wv(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 Cv(e){{var t=Jt(e)||"Component";if(Ay[t])return;Ay[t]=!0,c("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function ax(e){var t=e._payload,n=e._init;return n(t)}function nx(e){function t(fe,Re){if(e){var pe=fe.deletions;pe===null?(fe.deletions=[Re],fe.flags|=_c):pe.push(Re)}}function n(fe,Re){if(!e)return null;for(var pe=Re;pe!==null;)t(fe,pe),pe=pe.sibling;return null}function o(fe,Re){for(var pe=new Map,$e=Re;$e!==null;)$e.key!==null?pe.set($e.key,$e):pe.set($e.index,$e),$e=$e.sibling;return pe}function u(fe,Re){var pe=$c(fe,Re);return pe.index=0,pe.sibling=null,pe}function f(fe,Re,pe){if(fe.index=pe,!e)return fe.flags|=lw,Re;var $e=fe.alternate;if($e!==null){var dt=$e.index;return dt<Re?(fe.flags|=Ya,Re):dt}else return fe.flags|=Ya,Re}function g(fe){return e&&fe.alternate===null&&(fe.flags|=Ya),fe}function y(fe,Re,pe,$e){if(Re===null||Re.tag!==k){var dt=E0(pe,fe.mode,$e);return dt.return=fe,dt}else{var nt=u(Re,pe);return nt.return=fe,nt}}function w(fe,Re,pe,$e){var dt=pe.type;if(dt===de)return O(fe,Re,pe.props.children,$e,pe.key);if(Re!==null&&(Re.elementType===dt||cT(Re,pe)||typeof dt=="object"&&dt!==null&&dt.$$typeof===et&&ax(dt)===Re.type)){var nt=u(Re,pe.props);return nt.ref=Xp(fe,Re,pe),nt.return=fe,nt._debugSource=pe._source,nt._debugOwner=pe._owner,nt}var Mt=T0(pe,fe.mode,$e);return Mt.ref=Xp(fe,Re,pe),Mt.return=fe,Mt}function R(fe,Re,pe,$e){if(Re===null||Re.tag!==T||Re.stateNode.containerInfo!==pe.containerInfo||Re.stateNode.implementation!==pe.implementation){var dt=k0(pe,fe.mode,$e);return dt.return=fe,dt}else{var nt=u(Re,pe.children||[]);return nt.return=fe,nt}}function O(fe,Re,pe,$e,dt){if(Re===null||Re.tag!==D){var nt=Ku(pe,fe.mode,$e,dt);return nt.return=fe,nt}else{var Mt=u(Re,pe);return Mt.return=fe,Mt}}function Z(fe,Re,pe){if(typeof Re=="string"&&Re!==""||typeof Re=="number"){var $e=E0(""+Re,fe.mode,pe);return $e.return=fe,$e}if(typeof Re=="object"&&Re!==null){switch(Re.$$typeof){case U:{var dt=T0(Re,fe.mode,pe);return dt.ref=Xp(fe,null,Re),dt.return=fe,dt}case ne:{var nt=k0(Re,fe.mode,pe);return nt.return=fe,nt}case et:{var Mt=Re._payload,Ut=Re._init;return Z(fe,Ut(Mt),pe)}}if(Ja(Re)||Va(Re)){var Ur=Ku(Re,fe.mode,pe,null);return Ur.return=fe,Ur}wv(fe,Re)}return typeof Re=="function"&&Cv(fe),null}function X(fe,Re,pe,$e){var dt=Re!==null?Re.key:null;if(typeof pe=="string"&&pe!==""||typeof pe=="number")return dt!==null?null:y(fe,Re,""+pe,$e);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case U:return pe.key===dt?w(fe,Re,pe,$e):null;case ne:return pe.key===dt?R(fe,Re,pe,$e):null;case et:{var nt=pe._payload,Mt=pe._init;return X(fe,Re,Mt(nt),$e)}}if(Ja(pe)||Va(pe))return dt!==null?null:O(fe,Re,pe,$e,null);wv(fe,pe)}return typeof pe=="function"&&Cv(fe),null}function ye(fe,Re,pe,$e,dt){if(typeof $e=="string"&&$e!==""||typeof $e=="number"){var nt=fe.get(pe)||null;return y(Re,nt,""+$e,dt)}if(typeof $e=="object"&&$e!==null){switch($e.$$typeof){case U:{var Mt=fe.get($e.key===null?pe:$e.key)||null;return w(Re,Mt,$e,dt)}case ne:{var Ut=fe.get($e.key===null?pe:$e.key)||null;return R(Re,Ut,$e,dt)}case et:var Ur=$e._payload,Sr=$e._init;return ye(fe,Re,pe,Sr(Ur),dt)}if(Ja($e)||Va($e)){var Fa=fe.get(pe)||null;return O(Re,Fa,$e,dt,null)}wv(Re,$e)}return typeof $e=="function"&&Cv(Re),null}function Se(fe,Re,pe){{if(typeof fe!="object"||fe===null)return Re;switch(fe.$$typeof){case U:case ne:rx(fe,pe);var $e=fe.key;if(typeof $e!="string")break;if(Re===null){Re=new Set,Re.add($e);break}if(!Re.has($e)){Re.add($e);break}c("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",$e);break;case et:var dt=fe._payload,nt=fe._init;Se(nt(dt),Re,pe);break}}return Re}function xe(fe,Re,pe,$e){for(var dt=null,nt=0;nt<pe.length;nt++){var Mt=pe[nt];dt=Se(Mt,dt,fe)}for(var Ut=null,Ur=null,Sr=Re,Fa=0,wr=0,Na=null;Sr!==null&&wr<pe.length;wr++){Sr.index>wr?(Na=Sr,Sr=null):Na=Sr.sibling;var Hn=X(fe,Sr,pe[wr],$e);if(Hn===null){Sr===null&&(Sr=Na);break}e&&Sr&&Hn.alternate===null&&t(fe,Sr),Fa=f(Hn,Fa,wr),Ur===null?Ut=Hn:Ur.sibling=Hn,Ur=Hn,Sr=Na}if(wr===pe.length){if(n(fe,Sr),wn()){var Dn=wr;Bc(fe,Dn)}return Ut}if(Sr===null){for(;wr<pe.length;wr++){var Wo=Z(fe,pe[wr],$e);Wo!==null&&(Fa=f(Wo,Fa,wr),Ur===null?Ut=Wo:Ur.sibling=Wo,Ur=Wo)}if(wn()){var ro=wr;Bc(fe,ro)}return Ut}for(var ao=o(fe,Sr);wr<pe.length;wr++){var jn=ye(ao,fe,wr,pe[wr],$e);jn!==null&&(e&&jn.alternate!==null&&ao.delete(jn.key===null?wr:jn.key),Fa=f(jn,Fa,wr),Ur===null?Ut=jn:Ur.sibling=jn,Ur=jn)}if(e&&ao.forEach(function(mf){return t(fe,mf)}),wn()){var Qs=wr;Bc(fe,Qs)}return Ut}function at(fe,Re,pe,$e){var dt=Va(pe);if(typeof dt!="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"&&pe[Symbol.toStringTag]==="Generator"&&(ky||c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ky=!0),pe.entries===dt&&(Ey||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ey=!0);var nt=dt.call(pe);if(nt)for(var Mt=null,Ut=nt.next();!Ut.done;Ut=nt.next()){var Ur=Ut.value;Mt=Se(Ur,Mt,fe)}}var Sr=dt.call(pe);if(Sr==null)throw new Error("An iterable object provided no iterator.");for(var Fa=null,wr=null,Na=Re,Hn=0,Dn=0,Wo=null,ro=Sr.next();Na!==null&&!ro.done;Dn++,ro=Sr.next()){Na.index>Dn?(Wo=Na,Na=null):Wo=Na.sibling;var ao=X(fe,Na,ro.value,$e);if(ao===null){Na===null&&(Na=Wo);break}e&&Na&&ao.alternate===null&&t(fe,Na),Hn=f(ao,Hn,Dn),wr===null?Fa=ao:wr.sibling=ao,wr=ao,Na=Wo}if(ro.done){if(n(fe,Na),wn()){var jn=Dn;Bc(fe,jn)}return Fa}if(Na===null){for(;!ro.done;Dn++,ro=Sr.next()){var Qs=Z(fe,ro.value,$e);Qs!==null&&(Hn=f(Qs,Hn,Dn),wr===null?Fa=Qs:wr.sibling=Qs,wr=Qs)}if(wn()){var mf=Dn;Bc(fe,mf)}return Fa}for(var Rh=o(fe,Na);!ro.done;Dn++,ro=Sr.next()){var ms=ye(Rh,fe,Dn,ro.value,$e);ms!==null&&(e&&ms.alternate!==null&&Rh.delete(ms.key===null?Dn:ms.key),Hn=f(ms,Hn,Dn),wr===null?Fa=ms:wr.sibling=ms,wr=ms)}if(e&&Rh.forEach(function(rV){return t(fe,rV)}),wn()){var tV=Dn;Bc(fe,tV)}return Fa}function Dt(fe,Re,pe,$e){if(Re!==null&&Re.tag===k){n(fe,Re.sibling);var dt=u(Re,pe);return dt.return=fe,dt}n(fe,Re);var nt=E0(pe,fe.mode,$e);return nt.return=fe,nt}function wt(fe,Re,pe,$e){for(var dt=pe.key,nt=Re;nt!==null;){if(nt.key===dt){var Mt=pe.type;if(Mt===de){if(nt.tag===D){n(fe,nt.sibling);var Ut=u(nt,pe.props.children);return Ut.return=fe,Ut._debugSource=pe._source,Ut._debugOwner=pe._owner,Ut}}else if(nt.elementType===Mt||cT(nt,pe)||typeof Mt=="object"&&Mt!==null&&Mt.$$typeof===et&&ax(Mt)===nt.type){n(fe,nt.sibling);var Ur=u(nt,pe.props);return Ur.ref=Xp(fe,nt,pe),Ur.return=fe,Ur._debugSource=pe._source,Ur._debugOwner=pe._owner,Ur}n(fe,nt);break}else t(fe,nt);nt=nt.sibling}if(pe.type===de){var Sr=Ku(pe.props.children,fe.mode,$e,pe.key);return Sr.return=fe,Sr}else{var Fa=T0(pe,fe.mode,$e);return Fa.ref=Xp(fe,Re,pe),Fa.return=fe,Fa}}function ir(fe,Re,pe,$e){for(var dt=pe.key,nt=Re;nt!==null;){if(nt.key===dt)if(nt.tag===T&&nt.stateNode.containerInfo===pe.containerInfo&&nt.stateNode.implementation===pe.implementation){n(fe,nt.sibling);var Mt=u(nt,pe.children||[]);return Mt.return=fe,Mt}else{n(fe,nt);break}else t(fe,nt);nt=nt.sibling}var Ut=k0(pe,fe.mode,$e);return Ut.return=fe,Ut}function lr(fe,Re,pe,$e){var dt=typeof pe=="object"&&pe!==null&&pe.type===de&&pe.key===null;if(dt&&(pe=pe.props.children),typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case U:return g(wt(fe,Re,pe,$e));case ne:return g(ir(fe,Re,pe,$e));case et:var nt=pe._payload,Mt=pe._init;return lr(fe,Re,Mt(nt),$e)}if(Ja(pe))return xe(fe,Re,pe,$e);if(Va(pe))return at(fe,Re,pe,$e);wv(fe,pe)}return typeof pe=="string"&&pe!==""||typeof pe=="number"?g(Dt(fe,Re,""+pe,$e)):(typeof pe=="function"&&Cv(fe),n(fe,Re))}return lr}var Xd=nx(!0),ox=nx(!1);function EF(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,o=$c(n,n.pendingProps);for(t.child=o,o.return=t;n.sibling!==null;)n=n.sibling,o=o.sibling=$c(n,n.pendingProps),o.return=t;o.sibling=null}}function kF(e,t){for(var n=e.child;n!==null;)bU(n,t),n=n.sibling}var Ny=zu(null),Ly;Ly={};var xv=null,Jd=null,By=null,Tv=!1;function Ev(){xv=null,Jd=null,By=null,Tv=!1}function ix(){Tv=!0}function lx(){Tv=!1}function sx(e,t,n){In(Ny,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Ly&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Ly}function Oy(e,t){var n=Ny.current;Mn(Ny,t),e._currentValue=n}function zy(e,t,n){for(var o=e;o!==null;){var u=o.alternate;if(zd(o.childLanes,t)?u!==null&&!zd(u.childLanes,t)&&(u.childLanes=Zt(u.childLanes,t)):(o.childLanes=Zt(o.childLanes,t),u!==null&&(u.childLanes=Zt(u.childLanes,t))),o===n)break;o=o.return}o!==n&&c("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function RF(e,t,n){DF(e,t,n)}function DF(e,t,n){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=void 0,f=o.dependencies;if(f!==null){u=o.child;for(var g=f.firstContext;g!==null;){if(g.context===t){if(o.tag===_){var y=hp(n),w=$s(fa,y);w.tag=Rv;var R=o.updateQueue;if(R!==null){var O=R.shared,Z=O.pending;Z===null?w.next=w:(w.next=Z.next,Z.next=w),O.pending=w}}o.lanes=Zt(o.lanes,n);var X=o.alternate;X!==null&&(X.lanes=Zt(X.lanes,n)),zy(o.return,n,e),f.lanes=Zt(f.lanes,n);break}g=g.next}}else if(o.tag===I)u=o.type===e.type?null:o.child;else if(o.tag===he){var ye=o.return;if(ye===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ye.lanes=Zt(ye.lanes,n);var Se=ye.alternate;Se!==null&&(Se.lanes=Zt(Se.lanes,n)),zy(ye,n,e),u=o.sibling}else u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===e){u=null;break}var xe=u.sibling;if(xe!==null){xe.return=u.return,u=xe;break}u=u.return}o=u}}function Qd(e,t){xv=e,Jd=null,By=null;var n=e.dependencies;if(n!==null){var o=n.firstContext;o!==null&&(Io(n.lanes,t)&&dh(),n.firstContext=null)}}function $a(e){Tv&&c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(By!==e){var n={context:e,memoizedValue:t,next:null};if(Jd===null){if(xv===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().");Jd=n,xv.dependencies={lanes:Me,firstContext:n}}else Jd=Jd.next=n}return t}var Ic=null;function Py(e){Ic===null?Ic=[e]:Ic.push(e)}function AF(){if(Ic!==null){for(var e=0;e<Ic.length;e++){var t=Ic[e],n=t.interleaved;if(n!==null){t.interleaved=null;var o=n.next,u=t.pending;if(u!==null){var f=u.next;u.next=o,n.next=f}t.pending=n}}Ic=null}}function ux(e,t,n,o){var u=t.interleaved;return u===null?(n.next=n,Py(t)):(n.next=u.next,u.next=n),t.interleaved=n,kv(e,o)}function NF(e,t,n,o){var u=t.interleaved;u===null?(n.next=n,Py(t)):(n.next=u.next,u.next=n),t.interleaved=n}function LF(e,t,n,o){var u=t.interleaved;return u===null?(n.next=n,Py(t)):(n.next=u.next,u.next=n),t.interleaved=n,kv(e,o)}function xo(e,t){return kv(e,t)}var BF=kv;function kv(e,t){e.lanes=Zt(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=Zt(n.lanes,t)),n===null&&(e.flags&(Ya|zs))!==zt&&iT(e);for(var o=e,u=e.return;u!==null;)u.childLanes=Zt(u.childLanes,t),n=u.alternate,n!==null?n.childLanes=Zt(n.childLanes,t):(u.flags&(Ya|zs))!==zt&&iT(e),o=u,u=u.return;if(o.tag===S){var f=o.stateNode;return f}else return null}var cx=0,dx=1,Rv=2,My=3,Dv=!1,Iy,Av;Iy=!1,Av=null;function Fy(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Me},effects:null};e.updateQueue=t}function fx(e,t){var n=t.updateQueue,o=e.updateQueue;if(n===o){var u={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects};t.updateQueue=u}}function $s(e,t){var n={eventTime:e,lane:t,tag:cx,payload:null,callback:null,next:null};return n}function Fu(e,t,n){var o=e.updateQueue;if(o===null)return null;var u=o.shared;if(Av===u&&!Iy&&(c("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Iy=!0),Pj()){var f=u.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),u.pending=t,BF(e,n)}else return LF(e,u,t,n)}function Nv(e,t,n){var o=t.updateQueue;if(o!==null){var u=o.shared;if(Tw(n)){var f=u.lanes;f=kw(f,e.pendingLanes);var g=Zt(f,n);u.lanes=g,Nb(e,g)}}}function Hy(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null){var u=o.updateQueue;if(n===u){var f=null,g=null,y=n.firstBaseUpdate;if(y!==null){var w=y;do{var R={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};g===null?f=g=R:(g.next=R,g=R),w=w.next}while(w!==null);g===null?f=g=t:(g.next=t,g=t)}else f=g=t;n={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:g,shared:u.shared,effects:u.effects},e.updateQueue=n;return}}var O=n.lastBaseUpdate;O===null?n.firstBaseUpdate=t:O.next=t,n.lastBaseUpdate=t}function OF(e,t,n,o,u,f){switch(n.tag){case dx:{var g=n.payload;if(typeof g=="function"){ix();var y=g.call(f,o,u);{if(e.mode&Aa){fn(!0);try{g.call(f,o,u)}finally{fn(!1)}}lx()}return y}return g}case My:e.flags=e.flags&~Qn|xr;case cx:{var w=n.payload,R;if(typeof w=="function"){ix(),R=w.call(f,o,u);{if(e.mode&Aa){fn(!0);try{w.call(f,o,u)}finally{fn(!1)}}lx()}}else R=w;return R==null?o:At({},o,R)}case Rv:return Dv=!0,o}return o}function Lv(e,t,n,o){var u=e.updateQueue;Dv=!1,Av=u.shared;var f=u.firstBaseUpdate,g=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var w=y,R=w.next;w.next=null,g===null?f=R:g.next=R,g=w;var O=e.alternate;if(O!==null){var Z=O.updateQueue,X=Z.lastBaseUpdate;X!==g&&(X===null?Z.firstBaseUpdate=R:X.next=R,Z.lastBaseUpdate=w)}}if(f!==null){var ye=u.baseState,Se=Me,xe=null,at=null,Dt=null,wt=f;do{var ir=wt.lane,lr=wt.eventTime;if(zd(o,ir)){if(Dt!==null){var Re={eventTime:lr,lane:pn,tag:wt.tag,payload:wt.payload,callback:wt.callback,next:null};Dt=Dt.next=Re}ye=OF(e,u,wt,ye,t,n);var pe=wt.callback;if(pe!==null&&wt.lane!==pn){e.flags|=Q_;var $e=u.effects;$e===null?u.effects=[wt]:$e.push(wt)}}else{var fe={eventTime:lr,lane:ir,tag:wt.tag,payload:wt.payload,callback:wt.callback,next:null};Dt===null?(at=Dt=fe,xe=ye):Dt=Dt.next=fe,Se=Zt(Se,ir)}if(wt=wt.next,wt===null){if(y=u.shared.pending,y===null)break;var dt=y,nt=dt.next;dt.next=null,wt=nt,u.lastBaseUpdate=dt,u.shared.pending=null}}while(!0);Dt===null&&(xe=ye),u.baseState=xe,u.firstBaseUpdate=at,u.lastBaseUpdate=Dt;var Mt=u.shared.interleaved;if(Mt!==null){var Ut=Mt;do Se=Zt(Se,Ut.lane),Ut=Ut.next;while(Ut!==Mt)}else f===null&&(u.shared.lanes=Me);Ch(Se),e.lanes=Se,e.memoizedState=ye}Av=null}function zF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function px(){Dv=!1}function Bv(){return Dv}function hx(e,t,n){var o=t.effects;if(t.effects=null,o!==null)for(var u=0;u<o.length;u++){var f=o[u],g=f.callback;g!==null&&(f.callback=null,zF(g,n))}}var Jp={},Hu=zu(Jp),Qp=zu(Jp),Ov=zu(Jp);function zv(e){if(e===Jp)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 mx(){var e=zv(Ov.current);return e}function jy(e,t){In(Ov,t,e),In(Qp,e,e),In(Hu,Jp,e);var n=QI(t);Mn(Hu,e),In(Hu,n,e)}function Zd(e){Mn(Hu,e),Mn(Qp,e),Mn(Ov,e)}function Uy(){var e=zv(Hu.current);return e}function vx(e){var t=zv(Ov.current),n=zv(Hu.current),o=ZI(n,e.type);n!==o&&(In(Qp,e,e),In(Hu,o,e))}function Vy(e){Qp.current===e&&(Mn(Hu,e),Mn(Qp,e))}var PF=0,gx=1,_x=1,Zp=2,Ml=zu(PF);function Wy(e,t){return(e&t)!==0}function ef(e){return e&gx}function Yy(e,t){return e&gx|t}function MF(e,t){return e|t}function ju(e,t){In(Ml,t,e)}function tf(e){Mn(Ml,e)}function IF(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var o=e.memoizedProps;return!0}function Pv(e){for(var t=e;t!==null;){if(t.tag===W){var n=t.memoizedState;if(n!==null){var o=n.dehydrated;if(o===null||zC(o)||uy(o))return t}}else if(t.tag===le&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&xr)!==zt;if(u)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 To=0,Qa=1,ss=2,Za=4,Cn=8,$y=[];function Gy(){for(var e=0;e<$y.length;e++){var t=$y[e];t._workInProgressVersionPrimary=null}$y.length=0}function FF(e,t){var n=t._getVersion,o=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,o]:e.mutableSourceEagerHydrationData.push(t,o)}var ut=i.ReactCurrentDispatcher,eh=i.ReactCurrentBatchConfig,qy,rf;qy=new Set;var Fc=Me,jr=null,en=null,tn=null,Mv=!1,th=!1,rh=0,HF=0,jF=25,Le=null,bl=null,Uu=-1,Ky=!1;function Dr(){{var e=Le;bl===null?bl=[e]:bl.push(e)}}function rt(){{var e=Le;bl!==null&&(Uu++,bl[Uu]!==e&&UF(e))}}function af(e){e!=null&&!Ja(e)&&c("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Le,typeof e)}function UF(e){{var t=Jt(jr);if(!qy.has(t)&&(qy.add(t),bl!==null)){for(var n="",o=30,u=0;u<=Uu;u++){for(var f=bl[u],g=u===Uu?e:f,y=u+1+". "+f;y.length<o;)y+=" ";y+=g+`
|
|
71
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return o}function Cv(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 wv(e){{var t=Jt(e)||"Component";if(Ay[t])return;Ay[t]=!0,c("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function ax(e){var t=e._payload,n=e._init;return n(t)}function nx(e){function t(fe,Re){if(e){var pe=fe.deletions;pe===null?(fe.deletions=[Re],fe.flags|=_c):pe.push(Re)}}function n(fe,Re){if(!e)return null;for(var pe=Re;pe!==null;)t(fe,pe),pe=pe.sibling;return null}function o(fe,Re){for(var pe=new Map,$e=Re;$e!==null;)$e.key!==null?pe.set($e.key,$e):pe.set($e.index,$e),$e=$e.sibling;return pe}function u(fe,Re){var pe=$c(fe,Re);return pe.index=0,pe.sibling=null,pe}function f(fe,Re,pe){if(fe.index=pe,!e)return fe.flags|=lC,Re;var $e=fe.alternate;if($e!==null){var dt=$e.index;return dt<Re?(fe.flags|=Ya,Re):dt}else return fe.flags|=Ya,Re}function g(fe){return e&&fe.alternate===null&&(fe.flags|=Ya),fe}function y(fe,Re,pe,$e){if(Re===null||Re.tag!==k){var dt=E0(pe,fe.mode,$e);return dt.return=fe,dt}else{var nt=u(Re,pe);return nt.return=fe,nt}}function C(fe,Re,pe,$e){var dt=pe.type;if(dt===de)return O(fe,Re,pe.props.children,$e,pe.key);if(Re!==null&&(Re.elementType===dt||cT(Re,pe)||typeof dt=="object"&&dt!==null&&dt.$$typeof===et&&ax(dt)===Re.type)){var nt=u(Re,pe.props);return nt.ref=Xp(fe,Re,pe),nt.return=fe,nt._debugSource=pe._source,nt._debugOwner=pe._owner,nt}var Mt=T0(pe,fe.mode,$e);return Mt.ref=Xp(fe,Re,pe),Mt.return=fe,Mt}function R(fe,Re,pe,$e){if(Re===null||Re.tag!==T||Re.stateNode.containerInfo!==pe.containerInfo||Re.stateNode.implementation!==pe.implementation){var dt=k0(pe,fe.mode,$e);return dt.return=fe,dt}else{var nt=u(Re,pe.children||[]);return nt.return=fe,nt}}function O(fe,Re,pe,$e,dt){if(Re===null||Re.tag!==D){var nt=Ku(pe,fe.mode,$e,dt);return nt.return=fe,nt}else{var Mt=u(Re,pe);return Mt.return=fe,Mt}}function Z(fe,Re,pe){if(typeof Re=="string"&&Re!==""||typeof Re=="number"){var $e=E0(""+Re,fe.mode,pe);return $e.return=fe,$e}if(typeof Re=="object"&&Re!==null){switch(Re.$$typeof){case U:{var dt=T0(Re,fe.mode,pe);return dt.ref=Xp(fe,null,Re),dt.return=fe,dt}case ne:{var nt=k0(Re,fe.mode,pe);return nt.return=fe,nt}case et:{var Mt=Re._payload,Ut=Re._init;return Z(fe,Ut(Mt),pe)}}if(Ja(Re)||Va(Re)){var Ur=Ku(Re,fe.mode,pe,null);return Ur.return=fe,Ur}Cv(fe,Re)}return typeof Re=="function"&&wv(fe),null}function X(fe,Re,pe,$e){var dt=Re!==null?Re.key:null;if(typeof pe=="string"&&pe!==""||typeof pe=="number")return dt!==null?null:y(fe,Re,""+pe,$e);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case U:return pe.key===dt?C(fe,Re,pe,$e):null;case ne:return pe.key===dt?R(fe,Re,pe,$e):null;case et:{var nt=pe._payload,Mt=pe._init;return X(fe,Re,Mt(nt),$e)}}if(Ja(pe)||Va(pe))return dt!==null?null:O(fe,Re,pe,$e,null);Cv(fe,pe)}return typeof pe=="function"&&wv(fe),null}function ye(fe,Re,pe,$e,dt){if(typeof $e=="string"&&$e!==""||typeof $e=="number"){var nt=fe.get(pe)||null;return y(Re,nt,""+$e,dt)}if(typeof $e=="object"&&$e!==null){switch($e.$$typeof){case U:{var Mt=fe.get($e.key===null?pe:$e.key)||null;return C(Re,Mt,$e,dt)}case ne:{var Ut=fe.get($e.key===null?pe:$e.key)||null;return R(Re,Ut,$e,dt)}case et:var Ur=$e._payload,Sr=$e._init;return ye(fe,Re,pe,Sr(Ur),dt)}if(Ja($e)||Va($e)){var Fa=fe.get(pe)||null;return O(Re,Fa,$e,dt,null)}Cv(Re,$e)}return typeof $e=="function"&&wv(Re),null}function Se(fe,Re,pe){{if(typeof fe!="object"||fe===null)return Re;switch(fe.$$typeof){case U:case ne:rx(fe,pe);var $e=fe.key;if(typeof $e!="string")break;if(Re===null){Re=new Set,Re.add($e);break}if(!Re.has($e)){Re.add($e);break}c("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",$e);break;case et:var dt=fe._payload,nt=fe._init;Se(nt(dt),Re,pe);break}}return Re}function xe(fe,Re,pe,$e){for(var dt=null,nt=0;nt<pe.length;nt++){var Mt=pe[nt];dt=Se(Mt,dt,fe)}for(var Ut=null,Ur=null,Sr=Re,Fa=0,Cr=0,Na=null;Sr!==null&&Cr<pe.length;Cr++){Sr.index>Cr?(Na=Sr,Sr=null):Na=Sr.sibling;var Hn=X(fe,Sr,pe[Cr],$e);if(Hn===null){Sr===null&&(Sr=Na);break}e&&Sr&&Hn.alternate===null&&t(fe,Sr),Fa=f(Hn,Fa,Cr),Ur===null?Ut=Hn:Ur.sibling=Hn,Ur=Hn,Sr=Na}if(Cr===pe.length){if(n(fe,Sr),Cn()){var Dn=Cr;Bc(fe,Dn)}return Ut}if(Sr===null){for(;Cr<pe.length;Cr++){var Wo=Z(fe,pe[Cr],$e);Wo!==null&&(Fa=f(Wo,Fa,Cr),Ur===null?Ut=Wo:Ur.sibling=Wo,Ur=Wo)}if(Cn()){var ro=Cr;Bc(fe,ro)}return Ut}for(var ao=o(fe,Sr);Cr<pe.length;Cr++){var jn=ye(ao,fe,Cr,pe[Cr],$e);jn!==null&&(e&&jn.alternate!==null&&ao.delete(jn.key===null?Cr:jn.key),Fa=f(jn,Fa,Cr),Ur===null?Ut=jn:Ur.sibling=jn,Ur=jn)}if(e&&ao.forEach(function(mf){return t(fe,mf)}),Cn()){var Qs=Cr;Bc(fe,Qs)}return Ut}function at(fe,Re,pe,$e){var dt=Va(pe);if(typeof dt!="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"&&pe[Symbol.toStringTag]==="Generator"&&(ky||c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ky=!0),pe.entries===dt&&(Ey||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ey=!0);var nt=dt.call(pe);if(nt)for(var Mt=null,Ut=nt.next();!Ut.done;Ut=nt.next()){var Ur=Ut.value;Mt=Se(Ur,Mt,fe)}}var Sr=dt.call(pe);if(Sr==null)throw new Error("An iterable object provided no iterator.");for(var Fa=null,Cr=null,Na=Re,Hn=0,Dn=0,Wo=null,ro=Sr.next();Na!==null&&!ro.done;Dn++,ro=Sr.next()){Na.index>Dn?(Wo=Na,Na=null):Wo=Na.sibling;var ao=X(fe,Na,ro.value,$e);if(ao===null){Na===null&&(Na=Wo);break}e&&Na&&ao.alternate===null&&t(fe,Na),Hn=f(ao,Hn,Dn),Cr===null?Fa=ao:Cr.sibling=ao,Cr=ao,Na=Wo}if(ro.done){if(n(fe,Na),Cn()){var jn=Dn;Bc(fe,jn)}return Fa}if(Na===null){for(;!ro.done;Dn++,ro=Sr.next()){var Qs=Z(fe,ro.value,$e);Qs!==null&&(Hn=f(Qs,Hn,Dn),Cr===null?Fa=Qs:Cr.sibling=Qs,Cr=Qs)}if(Cn()){var mf=Dn;Bc(fe,mf)}return Fa}for(var Rh=o(fe,Na);!ro.done;Dn++,ro=Sr.next()){var ms=ye(Rh,fe,Dn,ro.value,$e);ms!==null&&(e&&ms.alternate!==null&&Rh.delete(ms.key===null?Dn:ms.key),Hn=f(ms,Hn,Dn),Cr===null?Fa=ms:Cr.sibling=ms,Cr=ms)}if(e&&Rh.forEach(function(rV){return t(fe,rV)}),Cn()){var tV=Dn;Bc(fe,tV)}return Fa}function Dt(fe,Re,pe,$e){if(Re!==null&&Re.tag===k){n(fe,Re.sibling);var dt=u(Re,pe);return dt.return=fe,dt}n(fe,Re);var nt=E0(pe,fe.mode,$e);return nt.return=fe,nt}function Ct(fe,Re,pe,$e){for(var dt=pe.key,nt=Re;nt!==null;){if(nt.key===dt){var Mt=pe.type;if(Mt===de){if(nt.tag===D){n(fe,nt.sibling);var Ut=u(nt,pe.props.children);return Ut.return=fe,Ut._debugSource=pe._source,Ut._debugOwner=pe._owner,Ut}}else if(nt.elementType===Mt||cT(nt,pe)||typeof Mt=="object"&&Mt!==null&&Mt.$$typeof===et&&ax(Mt)===nt.type){n(fe,nt.sibling);var Ur=u(nt,pe.props);return Ur.ref=Xp(fe,nt,pe),Ur.return=fe,Ur._debugSource=pe._source,Ur._debugOwner=pe._owner,Ur}n(fe,nt);break}else t(fe,nt);nt=nt.sibling}if(pe.type===de){var Sr=Ku(pe.props.children,fe.mode,$e,pe.key);return Sr.return=fe,Sr}else{var Fa=T0(pe,fe.mode,$e);return Fa.ref=Xp(fe,Re,pe),Fa.return=fe,Fa}}function ir(fe,Re,pe,$e){for(var dt=pe.key,nt=Re;nt!==null;){if(nt.key===dt)if(nt.tag===T&&nt.stateNode.containerInfo===pe.containerInfo&&nt.stateNode.implementation===pe.implementation){n(fe,nt.sibling);var Mt=u(nt,pe.children||[]);return Mt.return=fe,Mt}else{n(fe,nt);break}else t(fe,nt);nt=nt.sibling}var Ut=k0(pe,fe.mode,$e);return Ut.return=fe,Ut}function lr(fe,Re,pe,$e){var dt=typeof pe=="object"&&pe!==null&&pe.type===de&&pe.key===null;if(dt&&(pe=pe.props.children),typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case U:return g(Ct(fe,Re,pe,$e));case ne:return g(ir(fe,Re,pe,$e));case et:var nt=pe._payload,Mt=pe._init;return lr(fe,Re,Mt(nt),$e)}if(Ja(pe))return xe(fe,Re,pe,$e);if(Va(pe))return at(fe,Re,pe,$e);Cv(fe,pe)}return typeof pe=="string"&&pe!==""||typeof pe=="number"?g(Dt(fe,Re,""+pe,$e)):(typeof pe=="function"&&wv(fe),n(fe,Re))}return lr}var Xd=nx(!0),ox=nx(!1);function EF(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,o=$c(n,n.pendingProps);for(t.child=o,o.return=t;n.sibling!==null;)n=n.sibling,o=o.sibling=$c(n,n.pendingProps),o.return=t;o.sibling=null}}function kF(e,t){for(var n=e.child;n!==null;)bU(n,t),n=n.sibling}var Ny=zu(null),Ly;Ly={};var xv=null,Jd=null,By=null,Tv=!1;function Ev(){xv=null,Jd=null,By=null,Tv=!1}function ix(){Tv=!0}function lx(){Tv=!1}function sx(e,t,n){In(Ny,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Ly&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Ly}function Oy(e,t){var n=Ny.current;Mn(Ny,t),e._currentValue=n}function zy(e,t,n){for(var o=e;o!==null;){var u=o.alternate;if(zd(o.childLanes,t)?u!==null&&!zd(u.childLanes,t)&&(u.childLanes=Zt(u.childLanes,t)):(o.childLanes=Zt(o.childLanes,t),u!==null&&(u.childLanes=Zt(u.childLanes,t))),o===n)break;o=o.return}o!==n&&c("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function RF(e,t,n){DF(e,t,n)}function DF(e,t,n){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=void 0,f=o.dependencies;if(f!==null){u=o.child;for(var g=f.firstContext;g!==null;){if(g.context===t){if(o.tag===_){var y=hp(n),C=$s(fa,y);C.tag=Rv;var R=o.updateQueue;if(R!==null){var O=R.shared,Z=O.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),O.pending=C}}o.lanes=Zt(o.lanes,n);var X=o.alternate;X!==null&&(X.lanes=Zt(X.lanes,n)),zy(o.return,n,e),f.lanes=Zt(f.lanes,n);break}g=g.next}}else if(o.tag===I)u=o.type===e.type?null:o.child;else if(o.tag===he){var ye=o.return;if(ye===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ye.lanes=Zt(ye.lanes,n);var Se=ye.alternate;Se!==null&&(Se.lanes=Zt(Se.lanes,n)),zy(ye,n,e),u=o.sibling}else u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===e){u=null;break}var xe=u.sibling;if(xe!==null){xe.return=u.return,u=xe;break}u=u.return}o=u}}function Qd(e,t){xv=e,Jd=null,By=null;var n=e.dependencies;if(n!==null){var o=n.firstContext;o!==null&&(Io(n.lanes,t)&&dh(),n.firstContext=null)}}function $a(e){Tv&&c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(By!==e){var n={context:e,memoizedValue:t,next:null};if(Jd===null){if(xv===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().");Jd=n,xv.dependencies={lanes:Me,firstContext:n}}else Jd=Jd.next=n}return t}var Ic=null;function Py(e){Ic===null?Ic=[e]:Ic.push(e)}function AF(){if(Ic!==null){for(var e=0;e<Ic.length;e++){var t=Ic[e],n=t.interleaved;if(n!==null){t.interleaved=null;var o=n.next,u=t.pending;if(u!==null){var f=u.next;u.next=o,n.next=f}t.pending=n}}Ic=null}}function ux(e,t,n,o){var u=t.interleaved;return u===null?(n.next=n,Py(t)):(n.next=u.next,u.next=n),t.interleaved=n,kv(e,o)}function NF(e,t,n,o){var u=t.interleaved;u===null?(n.next=n,Py(t)):(n.next=u.next,u.next=n),t.interleaved=n}function LF(e,t,n,o){var u=t.interleaved;return u===null?(n.next=n,Py(t)):(n.next=u.next,u.next=n),t.interleaved=n,kv(e,o)}function xo(e,t){return kv(e,t)}var BF=kv;function kv(e,t){e.lanes=Zt(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=Zt(n.lanes,t)),n===null&&(e.flags&(Ya|zs))!==zt&&iT(e);for(var o=e,u=e.return;u!==null;)u.childLanes=Zt(u.childLanes,t),n=u.alternate,n!==null?n.childLanes=Zt(n.childLanes,t):(u.flags&(Ya|zs))!==zt&&iT(e),o=u,u=u.return;if(o.tag===S){var f=o.stateNode;return f}else return null}var cx=0,dx=1,Rv=2,My=3,Dv=!1,Iy,Av;Iy=!1,Av=null;function Fy(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Me},effects:null};e.updateQueue=t}function fx(e,t){var n=t.updateQueue,o=e.updateQueue;if(n===o){var u={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects};t.updateQueue=u}}function $s(e,t){var n={eventTime:e,lane:t,tag:cx,payload:null,callback:null,next:null};return n}function Fu(e,t,n){var o=e.updateQueue;if(o===null)return null;var u=o.shared;if(Av===u&&!Iy&&(c("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Iy=!0),Pj()){var f=u.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),u.pending=t,BF(e,n)}else return LF(e,u,t,n)}function Nv(e,t,n){var o=t.updateQueue;if(o!==null){var u=o.shared;if(TC(n)){var f=u.lanes;f=kC(f,e.pendingLanes);var g=Zt(f,n);u.lanes=g,Nb(e,g)}}}function Hy(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null){var u=o.updateQueue;if(n===u){var f=null,g=null,y=n.firstBaseUpdate;if(y!==null){var C=y;do{var R={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};g===null?f=g=R:(g.next=R,g=R),C=C.next}while(C!==null);g===null?f=g=t:(g.next=t,g=t)}else f=g=t;n={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:g,shared:u.shared,effects:u.effects},e.updateQueue=n;return}}var O=n.lastBaseUpdate;O===null?n.firstBaseUpdate=t:O.next=t,n.lastBaseUpdate=t}function OF(e,t,n,o,u,f){switch(n.tag){case dx:{var g=n.payload;if(typeof g=="function"){ix();var y=g.call(f,o,u);{if(e.mode&Aa){fn(!0);try{g.call(f,o,u)}finally{fn(!1)}}lx()}return y}return g}case My:e.flags=e.flags&~Qn|xr;case cx:{var C=n.payload,R;if(typeof C=="function"){ix(),R=C.call(f,o,u);{if(e.mode&Aa){fn(!0);try{C.call(f,o,u)}finally{fn(!1)}}lx()}}else R=C;return R==null?o:At({},o,R)}case Rv:return Dv=!0,o}return o}function Lv(e,t,n,o){var u=e.updateQueue;Dv=!1,Av=u.shared;var f=u.firstBaseUpdate,g=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var C=y,R=C.next;C.next=null,g===null?f=R:g.next=R,g=C;var O=e.alternate;if(O!==null){var Z=O.updateQueue,X=Z.lastBaseUpdate;X!==g&&(X===null?Z.firstBaseUpdate=R:X.next=R,Z.lastBaseUpdate=C)}}if(f!==null){var ye=u.baseState,Se=Me,xe=null,at=null,Dt=null,Ct=f;do{var ir=Ct.lane,lr=Ct.eventTime;if(zd(o,ir)){if(Dt!==null){var Re={eventTime:lr,lane:pn,tag:Ct.tag,payload:Ct.payload,callback:Ct.callback,next:null};Dt=Dt.next=Re}ye=OF(e,u,Ct,ye,t,n);var pe=Ct.callback;if(pe!==null&&Ct.lane!==pn){e.flags|=Q_;var $e=u.effects;$e===null?u.effects=[Ct]:$e.push(Ct)}}else{var fe={eventTime:lr,lane:ir,tag:Ct.tag,payload:Ct.payload,callback:Ct.callback,next:null};Dt===null?(at=Dt=fe,xe=ye):Dt=Dt.next=fe,Se=Zt(Se,ir)}if(Ct=Ct.next,Ct===null){if(y=u.shared.pending,y===null)break;var dt=y,nt=dt.next;dt.next=null,Ct=nt,u.lastBaseUpdate=dt,u.shared.pending=null}}while(!0);Dt===null&&(xe=ye),u.baseState=xe,u.firstBaseUpdate=at,u.lastBaseUpdate=Dt;var Mt=u.shared.interleaved;if(Mt!==null){var Ut=Mt;do Se=Zt(Se,Ut.lane),Ut=Ut.next;while(Ut!==Mt)}else f===null&&(u.shared.lanes=Me);wh(Se),e.lanes=Se,e.memoizedState=ye}Av=null}function zF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function px(){Dv=!1}function Bv(){return Dv}function hx(e,t,n){var o=t.effects;if(t.effects=null,o!==null)for(var u=0;u<o.length;u++){var f=o[u],g=f.callback;g!==null&&(f.callback=null,zF(g,n))}}var Jp={},Hu=zu(Jp),Qp=zu(Jp),Ov=zu(Jp);function zv(e){if(e===Jp)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 mx(){var e=zv(Ov.current);return e}function jy(e,t){In(Ov,t,e),In(Qp,e,e),In(Hu,Jp,e);var n=QI(t);Mn(Hu,e),In(Hu,n,e)}function Zd(e){Mn(Hu,e),Mn(Qp,e),Mn(Ov,e)}function Uy(){var e=zv(Hu.current);return e}function vx(e){var t=zv(Ov.current),n=zv(Hu.current),o=ZI(n,e.type);n!==o&&(In(Qp,e,e),In(Hu,o,e))}function Vy(e){Qp.current===e&&(Mn(Hu,e),Mn(Qp,e))}var PF=0,gx=1,_x=1,Zp=2,Ml=zu(PF);function Wy(e,t){return(e&t)!==0}function ef(e){return e&gx}function Yy(e,t){return e&gx|t}function MF(e,t){return e|t}function ju(e,t){In(Ml,t,e)}function tf(e){Mn(Ml,e)}function IF(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var o=e.memoizedProps;return!0}function Pv(e){for(var t=e;t!==null;){if(t.tag===W){var n=t.memoizedState;if(n!==null){var o=n.dehydrated;if(o===null||zw(o)||uy(o))return t}}else if(t.tag===le&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&xr)!==zt;if(u)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 To=0,Qa=1,ss=2,Za=4,wn=8,$y=[];function Gy(){for(var e=0;e<$y.length;e++){var t=$y[e];t._workInProgressVersionPrimary=null}$y.length=0}function FF(e,t){var n=t._getVersion,o=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,o]:e.mutableSourceEagerHydrationData.push(t,o)}var ut=i.ReactCurrentDispatcher,eh=i.ReactCurrentBatchConfig,qy,rf;qy=new Set;var Fc=Me,jr=null,en=null,tn=null,Mv=!1,th=!1,rh=0,HF=0,jF=25,Le=null,bl=null,Uu=-1,Ky=!1;function Dr(){{var e=Le;bl===null?bl=[e]:bl.push(e)}}function rt(){{var e=Le;bl!==null&&(Uu++,bl[Uu]!==e&&UF(e))}}function af(e){e!=null&&!Ja(e)&&c("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Le,typeof e)}function UF(e){{var t=Jt(jr);if(!qy.has(t)&&(qy.add(t),bl!==null)){for(var n="",o=30,u=0;u<=Uu;u++){for(var f=bl[u],g=u===Uu?e:f,y=u+1+". "+f;y.length<o;)y+=" ";y+=g+`
|
|
72
72
|
`,n+=y}c(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
73
73
|
|
|
74
74
|
Previous render Next render
|
|
@@ -81,11 +81,11 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
81
81
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Xy(e,t){if(Ky)return!1;if(t===null)return c("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Le),!1;e.length!==t.length&&c(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
82
82
|
|
|
83
83
|
Previous: %s
|
|
84
|
-
Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!jo(e[n],t[n]))return!1;return!0}function nf(e,t,n,o,u,f){Fc=f,jr=t,bl=e!==null?e._debugHookTypes:null,Uu=-1,Ky=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Me,e!==null&&e.memoizedState!==null?ut.current=Hx:bl!==null?ut.current=Fx:ut.current=Ix;var g=n(o,u);if(th){var y=0;do{if(th=!1,rh=0,y>=jF)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,Ky=!1,en=null,tn=null,t.updateQueue=null,Uu=-1,ut.current=jx,g=n(o,u)}while(th)}ut.current=Xv,t._debugHookTypes=bl;var w=en!==null&&en.next!==null;if(Fc=Me,jr=null,en=null,tn=null,Le=null,bl=null,Uu=-1,e!==null&&(e.flags&Ms)!==(t.flags&Ms)&&(e.mode&dr)!==Nt&&c("Internal React error: Expected static flag was missing. Please notify the React team."),Mv=!1,w)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function of(){var e=rh!==0;return rh=0,e}function bx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ns)!==Nt?t.flags&=~(Nm|Ps|Nl|_r):t.flags&=~(Nl|_r),e.lanes=Im(e.lanes,n)}function yx(){if(ut.current=Xv,Mv){for(var e=jr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Mv=!1}Fc=Me,jr=null,en=null,tn=null,bl=null,Uu=-1,Le=null,Bx=!1,th=!1,rh=0}function us(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tn===null?jr.memoizedState=tn=e:tn=tn.next=e,tn}function yl(){var e;if(en===null){var t=jr.alternate;t!==null?e=t.memoizedState:e=null}else e=en.next;var n;if(tn===null?n=jr.memoizedState:n=tn.next,n!==null)tn=n,n=tn.next,en=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");en=e;var o={memoizedState:en.memoizedState,baseState:en.baseState,baseQueue:en.baseQueue,queue:en.queue,next:null};tn===null?jr.memoizedState=tn=o:tn=tn.next=o}return tn}function Sx(){return{lastEffect:null,stores:null}}function Jy(e,t){return typeof t=="function"?t(e):t}function Qy(e,t,n){var o=us(),u;n!==void 0?u=n(t):u=t,o.memoizedState=o.baseState=u;var f={pending:null,interleaved:null,lanes:Me,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};o.queue=f;var g=f.dispatch=$F.bind(null,jr,f);return[o.memoizedState,g]}function Zy(e,t,n){var o=yl(),u=o.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=en,g=f.baseQueue,y=u.pending;if(y!==null){if(g!==null){var w=g.next,R=y.next;g.next=R,y.next=w}f.baseQueue!==g&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),f.baseQueue=g=y,u.pending=null}if(g!==null){var O=g.next,Z=f.baseState,X=null,ye=null,Se=null,xe=O;do{var at=xe.lane;if(zd(Fc,at)){if(Se!==null){var wt={lane:pn,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};Se=Se.next=wt}if(xe.hasEagerState)Z=xe.eagerState;else{var ir=xe.action;Z=e(Z,ir)}}else{var Dt={lane:at,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};Se===null?(ye=Se=Dt,X=Z):Se=Se.next=Dt,jr.lanes=Zt(jr.lanes,at),Ch(at)}xe=xe.next}while(xe!==null&&xe!==O);Se===null?X=Z:Se.next=ye,jo(Z,o.memoizedState)||dh(),o.memoizedState=Z,o.baseState=X,o.baseQueue=Se,u.lastRenderedState=Z}var lr=u.interleaved;if(lr!==null){var fe=lr;do{var Re=fe.lane;jr.lanes=Zt(jr.lanes,Re),Ch(Re),fe=fe.next}while(fe!==lr)}else g===null&&(u.lanes=Me);var pe=u.dispatch;return[o.memoizedState,pe]}function e1(e,t,n){var o=yl(),u=o.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=u.dispatch,g=u.pending,y=o.memoizedState;if(g!==null){u.pending=null;var w=g.next,R=w;do{var O=R.action;y=e(y,O),R=R.next}while(R!==w);jo(y,o.memoizedState)||dh(),o.memoizedState=y,o.baseQueue===null&&(o.baseState=y),u.lastRenderedState=y}return[y,f]}function PG(e,t,n){}function MG(e,t,n){}function t1(e,t,n){var o=jr,u=us(),f,g=wn();if(g){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");f=n(),rf||f!==n()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),rf=!0)}else{if(f=t(),!rf){var y=t();jo(f,y)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),rf=!0)}var w=mg();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Mm(w,Fc)||wx(o,t,f)}u.memoizedState=f;var R={value:f,getSnapshot:t};return u.queue=R,Uv(xx.bind(null,o,R,e),[e]),o.flags|=Nl,ah(Qa|Cn,Cx.bind(null,o,R,f,t),void 0,null),f}function Iv(e,t,n){var o=jr,u=yl(),f=t();if(!rf){var g=t();jo(f,g)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),rf=!0)}var y=u.memoizedState,w=!jo(y,f);w&&(u.memoizedState=f,dh());var R=u.queue;if(oh(xx.bind(null,o,R,e),[e]),R.getSnapshot!==t||w||tn!==null&&tn.memoizedState.tag&Qa){o.flags|=Nl,ah(Qa|Cn,Cx.bind(null,o,R,f,t),void 0,null);var O=mg();if(O===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Mm(O,Fc)||wx(o,t,f)}return f}function wx(e,t,n){e.flags|=Am;var o={getSnapshot:t,value:n},u=jr.updateQueue;if(u===null)u=Sx(),jr.updateQueue=u,u.stores=[o];else{var f=u.stores;f===null?u.stores=[o]:f.push(o)}}function Cx(e,t,n,o){t.value=n,t.getSnapshot=o,Tx(t)&&Ex(e)}function xx(e,t,n){var o=function(){Tx(t)&&Ex(e)};return n(o)}function Tx(e){var t=e.getSnapshot,n=e.value;try{var o=t();return!jo(n,o)}catch(u){return!0}}function Ex(e){var t=xo(e,Ht);t!==null&&on(t,e,Ht,fa)}function Fv(e){var t=us();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:Me,dispatch:null,lastRenderedReducer:Jy,lastRenderedState:e};t.queue=n;var o=n.dispatch=GF.bind(null,jr,n);return[t.memoizedState,o]}function r1(e){return Zy(Jy)}function a1(e){return e1(Jy)}function ah(e,t,n,o){var u={tag:e,create:t,destroy:n,deps:o,next:null},f=jr.updateQueue;if(f===null)f=Sx(),jr.updateQueue=f,f.lastEffect=u.next=u;else{var g=f.lastEffect;if(g===null)f.lastEffect=u.next=u;else{var y=g.next;g.next=u,u.next=y,f.lastEffect=u}}return u}function n1(e){var t=us();{var n={current:e};return t.memoizedState=n,n}}function Hv(e){var t=yl();return t.memoizedState}function nh(e,t,n,o){var u=us(),f=o===void 0?null:o;jr.flags|=e,u.memoizedState=ah(Qa|t,n,void 0,f)}function jv(e,t,n,o){var u=yl(),f=o===void 0?null:o,g=void 0;if(en!==null){var y=en.memoizedState;if(g=y.destroy,f!==null){var w=y.deps;if(Xy(f,w)){u.memoizedState=ah(t,n,g,f);return}}}jr.flags|=e,u.memoizedState=ah(Qa|t,n,g,f)}function Uv(e,t){return(jr.mode&ns)!==Nt?nh(Nm|Nl|tb,Cn,e,t):nh(Nl|tb,Cn,e,t)}function oh(e,t){return jv(Nl,Cn,e,t)}function o1(e,t){return nh(_r,ss,e,t)}function Vv(e,t){return jv(_r,ss,e,t)}function i1(e,t){var n=_r;return n|=Sc,(jr.mode&ns)!==Nt&&(n|=Ps),nh(n,Za,e,t)}function Wv(e,t){return jv(_r,Za,e,t)}function kx(e,t){if(typeof t=="function"){var n=t,o=e();return n(o),function(){n(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||c("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var f=e();return u.current=f,function(){u.current=null}}}function l1(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=n!=null?n.concat([e]):null,u=_r;return u|=Sc,(jr.mode&ns)!==Nt&&(u|=Ps),nh(u,Za,kx.bind(null,t,e),o)}function Yv(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=n!=null?n.concat([e]):null;return jv(_r,Za,kx.bind(null,t,e),o)}function VF(e,t){}var $v=VF;function s1(e,t){var n=us(),o=t===void 0?null:t;return n.memoizedState=[e,o],e}function Gv(e,t){var n=yl(),o=t===void 0?null:t,u=n.memoizedState;if(u!==null&&o!==null){var f=u[1];if(Xy(o,f))return u[0]}return n.memoizedState=[e,o],e}function u1(e,t){var n=us(),o=t===void 0?null:t,u=e();return n.memoizedState=[u,o],u}function qv(e,t){var n=yl(),o=t===void 0?null:t,u=n.memoizedState;if(u!==null&&o!==null){var f=u[1];if(Xy(o,f))return u[0]}var g=e();return n.memoizedState=[g,o],g}function c1(e){var t=us();return t.memoizedState=e,e}function Rx(e){var t=yl(),n=en,o=n.memoizedState;return Ax(t,o,e)}function Dx(e){var t=yl();if(en===null)return t.memoizedState=e,e;var n=en.memoizedState;return Ax(t,n,e)}function Ax(e,t,n){var o=!RP(Fc);if(o){if(!jo(n,t)){var u=Ew();jr.lanes=Zt(jr.lanes,u),Ch(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,dh()),e.memoizedState=n,n}function WF(e,t,n){var o=Bl();hn(MP(o,Fs)),e(!0);var u=eh.transition;eh.transition={};var f=eh.transition;eh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(hn(o),eh.transition=u,u===null&&f._updatedFibers){var g=f._updatedFibers.size;g>10&&d("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."),f._updatedFibers.clear()}}}function d1(){var e=Fv(!1),t=e[0],n=e[1],o=WF.bind(null,n),u=us();return u.memoizedState=o,[t,o]}function Nx(){var e=r1(),t=e[0],n=yl(),o=n.memoizedState;return[t,o]}function Lx(){var e=a1(),t=e[0],n=yl(),o=n.memoizedState;return[t,o]}var Bx=!1;function YF(){return Bx}function f1(){var e=us(),t=mg(),n=t.identifierPrefix,o;if(wn()){var u=sF();o=":"+n+"R"+u;var f=rh++;f>0&&(o+="H"+f.toString(32)),o+=":"}else{var g=HF++;o=":"+n+"r"+g.toString(32)+":"}return e.memoizedState=o,o}function Kv(){var e=yl(),t=e.memoizedState;return t}function $F(e,t,n){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=Gu(e),u={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ox(e))zx(t,u);else{var f=ux(e,t,u,o);if(f!==null){var g=to();on(f,e,o,g),Px(f,t,o)}}Mx(e,o)}function GF(e,t,n){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=Gu(e),u={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ox(e))zx(t,u);else{var f=e.alternate;if(e.lanes===Me&&(f===null||f.lanes===Me)){var g=t.lastRenderedReducer;if(g!==null){var y;y=ut.current,ut.current=Il;try{var w=t.lastRenderedState,R=g(w,n);if(u.hasEagerState=!0,u.eagerState=R,jo(R,w)){NF(e,t,u,o);return}}catch(X){}finally{ut.current=y}}}var O=ux(e,t,u,o);if(O!==null){var Z=to();on(O,e,o,Z),Px(O,t,o)}}Mx(e,o)}function Ox(e){var t=e.alternate;return e===jr||t!==null&&t===jr}function zx(e,t){th=Mv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Px(e,t,n){if(Tw(n)){var o=t.lanes;o=kw(o,e.pendingLanes);var u=Zt(o,n);t.lanes=u,Nb(e,u)}}function Mx(e,t,n){ib(e,t)}var Xv={readContext:$a,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:te},Ix=null,Fx=null,Hx=null,jx=null,cs=null,Il=null,Jv=null;{var p1=function(){c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},jt=function(){c("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Ix={readContext:function(e){return $a(e)},useCallback:function(e,t){return Le="useCallback",Dr(),af(t),s1(e,t)},useContext:function(e){return Le="useContext",Dr(),$a(e)},useEffect:function(e,t){return Le="useEffect",Dr(),af(t),Uv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Dr(),af(n),l1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Dr(),af(t),o1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Dr(),af(t),i1(e,t)},useMemo:function(e,t){Le="useMemo",Dr(),af(t);var n=ut.current;ut.current=cs;try{return u1(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",Dr();var o=ut.current;ut.current=cs;try{return Qy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",Dr(),n1(e)},useState:function(e){Le="useState",Dr();var t=ut.current;ut.current=cs;try{return Fv(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Dr(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Dr(),c1(e)},useTransition:function(){return Le="useTransition",Dr(),d1()},useMutableSource:function(e,t,n){return Le="useMutableSource",Dr(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Dr(),t1(e,t,n)},useId:function(){return Le="useId",Dr(),f1()},unstable_isNewReconciler:te},Fx={readContext:function(e){return $a(e)},useCallback:function(e,t){return Le="useCallback",rt(),s1(e,t)},useContext:function(e){return Le="useContext",rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",rt(),Uv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",rt(),l1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",rt(),o1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",rt(),i1(e,t)},useMemo:function(e,t){Le="useMemo",rt();var n=ut.current;ut.current=cs;try{return u1(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",rt();var o=ut.current;ut.current=cs;try{return Qy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",rt(),n1(e)},useState:function(e){Le="useState",rt();var t=ut.current;ut.current=cs;try{return Fv(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",rt(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",rt(),c1(e)},useTransition:function(){return Le="useTransition",rt(),d1()},useMutableSource:function(e,t,n){return Le="useMutableSource",rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",rt(),t1(e,t,n)},useId:function(){return Le="useId",rt(),f1()},unstable_isNewReconciler:te},Hx={readContext:function(e){return $a(e)},useCallback:function(e,t){return Le="useCallback",rt(),Gv(e,t)},useContext:function(e){return Le="useContext",rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",rt(),oh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",rt(),Yv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",rt(),Vv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",rt(),Wv(e,t)},useMemo:function(e,t){Le="useMemo",rt();var n=ut.current;ut.current=Il;try{return qv(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",rt();var o=ut.current;ut.current=Il;try{return Zy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",rt(),Hv()},useState:function(e){Le="useState",rt();var t=ut.current;ut.current=Il;try{return r1(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",rt(),$v()},useDeferredValue:function(e){return Le="useDeferredValue",rt(),Rx(e)},useTransition:function(){return Le="useTransition",rt(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",rt(),Iv(e,t)},useId:function(){return Le="useId",rt(),Kv()},unstable_isNewReconciler:te},jx={readContext:function(e){return $a(e)},useCallback:function(e,t){return Le="useCallback",rt(),Gv(e,t)},useContext:function(e){return Le="useContext",rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",rt(),oh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",rt(),Yv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",rt(),Vv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",rt(),Wv(e,t)},useMemo:function(e,t){Le="useMemo",rt();var n=ut.current;ut.current=Jv;try{return qv(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",rt();var o=ut.current;ut.current=Jv;try{return e1(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",rt(),Hv()},useState:function(e){Le="useState",rt();var t=ut.current;ut.current=Jv;try{return a1(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",rt(),$v()},useDeferredValue:function(e){return Le="useDeferredValue",rt(),Dx(e)},useTransition:function(){return Le="useTransition",rt(),Lx()},useMutableSource:function(e,t,n){return Le="useMutableSource",rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",rt(),Iv(e,t)},useId:function(){return Le="useId",rt(),Kv()},unstable_isNewReconciler:te},cs={readContext:function(e){return p1(),$a(e)},useCallback:function(e,t){return Le="useCallback",jt(),Dr(),s1(e,t)},useContext:function(e){return Le="useContext",jt(),Dr(),$a(e)},useEffect:function(e,t){return Le="useEffect",jt(),Dr(),Uv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",jt(),Dr(),l1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",jt(),Dr(),o1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",jt(),Dr(),i1(e,t)},useMemo:function(e,t){Le="useMemo",jt(),Dr();var n=ut.current;ut.current=cs;try{return u1(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",jt(),Dr();var o=ut.current;ut.current=cs;try{return Qy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",jt(),Dr(),n1(e)},useState:function(e){Le="useState",jt(),Dr();var t=ut.current;ut.current=cs;try{return Fv(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",jt(),Dr(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",jt(),Dr(),c1(e)},useTransition:function(){return Le="useTransition",jt(),Dr(),d1()},useMutableSource:function(e,t,n){return Le="useMutableSource",jt(),Dr(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",jt(),Dr(),t1(e,t,n)},useId:function(){return Le="useId",jt(),Dr(),f1()},unstable_isNewReconciler:te},Il={readContext:function(e){return p1(),$a(e)},useCallback:function(e,t){return Le="useCallback",jt(),rt(),Gv(e,t)},useContext:function(e){return Le="useContext",jt(),rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",jt(),rt(),oh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",jt(),rt(),Yv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",jt(),rt(),Vv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",jt(),rt(),Wv(e,t)},useMemo:function(e,t){Le="useMemo",jt(),rt();var n=ut.current;ut.current=Il;try{return qv(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",jt(),rt();var o=ut.current;ut.current=Il;try{return Zy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",jt(),rt(),Hv()},useState:function(e){Le="useState",jt(),rt();var t=ut.current;ut.current=Il;try{return r1(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",jt(),rt(),$v()},useDeferredValue:function(e){return Le="useDeferredValue",jt(),rt(),Rx(e)},useTransition:function(){return Le="useTransition",jt(),rt(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",jt(),rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",jt(),rt(),Iv(e,t)},useId:function(){return Le="useId",jt(),rt(),Kv()},unstable_isNewReconciler:te},Jv={readContext:function(e){return p1(),$a(e)},useCallback:function(e,t){return Le="useCallback",jt(),rt(),Gv(e,t)},useContext:function(e){return Le="useContext",jt(),rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",jt(),rt(),oh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",jt(),rt(),Yv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",jt(),rt(),Vv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",jt(),rt(),Wv(e,t)},useMemo:function(e,t){Le="useMemo",jt(),rt();var n=ut.current;ut.current=Il;try{return qv(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",jt(),rt();var o=ut.current;ut.current=Il;try{return e1(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",jt(),rt(),Hv()},useState:function(e){Le="useState",jt(),rt();var t=ut.current;ut.current=Il;try{return a1(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",jt(),rt(),$v()},useDeferredValue:function(e){return Le="useDeferredValue",jt(),rt(),Dx(e)},useTransition:function(){return Le="useTransition",jt(),rt(),Lx()},useMutableSource:function(e,t,n){return Le="useMutableSource",jt(),rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",jt(),rt(),Iv(e,t)},useId:function(){return Le="useId",jt(),rt(),Kv()},unstable_isNewReconciler:te}}var Vu=a.unstable_now,Ux=0,Qv=-1,ih=-1,Zv=-1,h1=!1,eg=!1;function Vx(){return h1}function qF(){eg=!0}function KF(){h1=!1,eg=!1}function XF(){h1=eg,eg=!1}function Wx(){return Ux}function Yx(){Ux=Vu()}function m1(e){ih=Vu(),e.actualStartTime<0&&(e.actualStartTime=Vu())}function $x(e){ih=-1}function tg(e,t){if(ih>=0){var n=Vu()-ih;e.actualDuration+=n,t&&(e.selfBaseDuration=n),ih=-1}}function ds(e){if(Qv>=0){var t=Vu()-Qv;Qv=-1;for(var n=e.return;n!==null;){switch(n.tag){case S:var o=n.stateNode;o.effectDuration+=t;return;case F:var u=n.stateNode;u.effectDuration+=t;return}n=n.return}}}function v1(e){if(Zv>=0){var t=Vu()-Zv;Zv=-1;for(var n=e.return;n!==null;){switch(n.tag){case S:var o=n.stateNode;o!==null&&(o.passiveEffectDuration+=t);return;case F:var u=n.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}n=n.return}}}function fs(){Qv=Vu()}function g1(){Zv=Vu()}function _1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Fl(e,t){if(e&&e.defaultProps){var n=At({},t),o=e.defaultProps;for(var u in o)n[u]===void 0&&(n[u]=o[u]);return n}return t}var b1={},y1,S1,w1,C1,x1,Gx,rg,T1,E1,k1,lh;{y1=new Set,S1=new Set,w1=new Set,C1=new Set,T1=new Set,x1=new Set,E1=new Set,k1=new Set,lh=new Set;var qx=new Set;rg=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;qx.has(n)||(qx.add(n),c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Gx=function(e,t){if(t===void 0){var n=Lr(e)||"Component";x1.has(n)||(x1.add(n),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(b1,"_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(b1)}function R1(e,t,n,o){var u=e.memoizedState,f=n(o,u);{if(e.mode&Aa){fn(!0);try{f=n(o,u)}finally{fn(!1)}}Gx(t,f)}var g=f==null?u:At({},u,f);if(e.memoizedState=g,e.lanes===Me){var y=e.updateQueue;y.baseState=g}}var D1={isMounted:j7,enqueueSetState:function(e,t,n){var o=Rd(e),u=to(),f=Gu(o),g=$s(u,f);g.payload=t,n!=null&&(rg(n,"setState"),g.callback=n);var y=Fu(o,g,f);y!==null&&(on(y,o,f,u),Nv(y,o,f)),ib(o,f)},enqueueReplaceState:function(e,t,n){var o=Rd(e),u=to(),f=Gu(o),g=$s(u,f);g.tag=dx,g.payload=t,n!=null&&(rg(n,"replaceState"),g.callback=n);var y=Fu(o,g,f);y!==null&&(on(y,o,f,u),Nv(y,o,f)),ib(o,f)},enqueueForceUpdate:function(e,t){var n=Rd(e),o=to(),u=Gu(n),f=$s(o,u);f.tag=Rv,t!=null&&(rg(t,"forceUpdate"),f.callback=t);var g=Fu(n,f,u);g!==null&&(on(g,n,u,o),Nv(g,n,u)),_P(n,u)}};function Kx(e,t,n,o,u,f,g){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var w=y.shouldComponentUpdate(o,f,g);{if(e.mode&Aa){fn(!0);try{w=y.shouldComponentUpdate(o,f,g)}finally{fn(!1)}}w===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Lr(t)||"Component")}return w}return t.prototype&&t.prototype.isPureReactComponent?!Dp(n,o)||!Dp(u,f):!0}function JF(e,t,n){var o=e.stateNode;{var u=Lr(t)||"Component",f=o.render;f||(t.prototype&&typeof t.prototype.render=="function"?c("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):c("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&c("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&c("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),o.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),o.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!lh.has(t)&&(e.mode&Aa)===Nt&&(lh.add(t),c(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
84
|
+
Incoming: %s`,Le,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!jo(e[n],t[n]))return!1;return!0}function nf(e,t,n,o,u,f){Fc=f,jr=t,bl=e!==null?e._debugHookTypes:null,Uu=-1,Ky=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Me,e!==null&&e.memoizedState!==null?ut.current=Hx:bl!==null?ut.current=Fx:ut.current=Ix;var g=n(o,u);if(th){var y=0;do{if(th=!1,rh=0,y>=jF)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,Ky=!1,en=null,tn=null,t.updateQueue=null,Uu=-1,ut.current=jx,g=n(o,u)}while(th)}ut.current=Xv,t._debugHookTypes=bl;var C=en!==null&&en.next!==null;if(Fc=Me,jr=null,en=null,tn=null,Le=null,bl=null,Uu=-1,e!==null&&(e.flags&Ms)!==(t.flags&Ms)&&(e.mode&dr)!==Nt&&c("Internal React error: Expected static flag was missing. Please notify the React team."),Mv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function of(){var e=rh!==0;return rh=0,e}function bx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ns)!==Nt?t.flags&=~(Nm|Ps|Nl|_r):t.flags&=~(Nl|_r),e.lanes=Im(e.lanes,n)}function yx(){if(ut.current=Xv,Mv){for(var e=jr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Mv=!1}Fc=Me,jr=null,en=null,tn=null,bl=null,Uu=-1,Le=null,Bx=!1,th=!1,rh=0}function us(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tn===null?jr.memoizedState=tn=e:tn=tn.next=e,tn}function yl(){var e;if(en===null){var t=jr.alternate;t!==null?e=t.memoizedState:e=null}else e=en.next;var n;if(tn===null?n=jr.memoizedState:n=tn.next,n!==null)tn=n,n=tn.next,en=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");en=e;var o={memoizedState:en.memoizedState,baseState:en.baseState,baseQueue:en.baseQueue,queue:en.queue,next:null};tn===null?jr.memoizedState=tn=o:tn=tn.next=o}return tn}function Sx(){return{lastEffect:null,stores:null}}function Jy(e,t){return typeof t=="function"?t(e):t}function Qy(e,t,n){var o=us(),u;n!==void 0?u=n(t):u=t,o.memoizedState=o.baseState=u;var f={pending:null,interleaved:null,lanes:Me,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};o.queue=f;var g=f.dispatch=$F.bind(null,jr,f);return[o.memoizedState,g]}function Zy(e,t,n){var o=yl(),u=o.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=en,g=f.baseQueue,y=u.pending;if(y!==null){if(g!==null){var C=g.next,R=y.next;g.next=R,y.next=C}f.baseQueue!==g&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),f.baseQueue=g=y,u.pending=null}if(g!==null){var O=g.next,Z=f.baseState,X=null,ye=null,Se=null,xe=O;do{var at=xe.lane;if(zd(Fc,at)){if(Se!==null){var Ct={lane:pn,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};Se=Se.next=Ct}if(xe.hasEagerState)Z=xe.eagerState;else{var ir=xe.action;Z=e(Z,ir)}}else{var Dt={lane:at,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};Se===null?(ye=Se=Dt,X=Z):Se=Se.next=Dt,jr.lanes=Zt(jr.lanes,at),wh(at)}xe=xe.next}while(xe!==null&&xe!==O);Se===null?X=Z:Se.next=ye,jo(Z,o.memoizedState)||dh(),o.memoizedState=Z,o.baseState=X,o.baseQueue=Se,u.lastRenderedState=Z}var lr=u.interleaved;if(lr!==null){var fe=lr;do{var Re=fe.lane;jr.lanes=Zt(jr.lanes,Re),wh(Re),fe=fe.next}while(fe!==lr)}else g===null&&(u.lanes=Me);var pe=u.dispatch;return[o.memoizedState,pe]}function e1(e,t,n){var o=yl(),u=o.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var f=u.dispatch,g=u.pending,y=o.memoizedState;if(g!==null){u.pending=null;var C=g.next,R=C;do{var O=R.action;y=e(y,O),R=R.next}while(R!==C);jo(y,o.memoizedState)||dh(),o.memoizedState=y,o.baseQueue===null&&(o.baseState=y),u.lastRenderedState=y}return[y,f]}function PG(e,t,n){}function MG(e,t,n){}function t1(e,t,n){var o=jr,u=us(),f,g=Cn();if(g){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");f=n(),rf||f!==n()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),rf=!0)}else{if(f=t(),!rf){var y=t();jo(f,y)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),rf=!0)}var C=mg();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Mm(C,Fc)||Cx(o,t,f)}u.memoizedState=f;var R={value:f,getSnapshot:t};return u.queue=R,Uv(xx.bind(null,o,R,e),[e]),o.flags|=Nl,ah(Qa|wn,wx.bind(null,o,R,f,t),void 0,null),f}function Iv(e,t,n){var o=jr,u=yl(),f=t();if(!rf){var g=t();jo(f,g)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),rf=!0)}var y=u.memoizedState,C=!jo(y,f);C&&(u.memoizedState=f,dh());var R=u.queue;if(oh(xx.bind(null,o,R,e),[e]),R.getSnapshot!==t||C||tn!==null&&tn.memoizedState.tag&Qa){o.flags|=Nl,ah(Qa|wn,wx.bind(null,o,R,f,t),void 0,null);var O=mg();if(O===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Mm(O,Fc)||Cx(o,t,f)}return f}function Cx(e,t,n){e.flags|=Am;var o={getSnapshot:t,value:n},u=jr.updateQueue;if(u===null)u=Sx(),jr.updateQueue=u,u.stores=[o];else{var f=u.stores;f===null?u.stores=[o]:f.push(o)}}function wx(e,t,n,o){t.value=n,t.getSnapshot=o,Tx(t)&&Ex(e)}function xx(e,t,n){var o=function(){Tx(t)&&Ex(e)};return n(o)}function Tx(e){var t=e.getSnapshot,n=e.value;try{var o=t();return!jo(n,o)}catch(u){return!0}}function Ex(e){var t=xo(e,Ht);t!==null&&on(t,e,Ht,fa)}function Fv(e){var t=us();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:Me,dispatch:null,lastRenderedReducer:Jy,lastRenderedState:e};t.queue=n;var o=n.dispatch=GF.bind(null,jr,n);return[t.memoizedState,o]}function r1(e){return Zy(Jy)}function a1(e){return e1(Jy)}function ah(e,t,n,o){var u={tag:e,create:t,destroy:n,deps:o,next:null},f=jr.updateQueue;if(f===null)f=Sx(),jr.updateQueue=f,f.lastEffect=u.next=u;else{var g=f.lastEffect;if(g===null)f.lastEffect=u.next=u;else{var y=g.next;g.next=u,u.next=y,f.lastEffect=u}}return u}function n1(e){var t=us();{var n={current:e};return t.memoizedState=n,n}}function Hv(e){var t=yl();return t.memoizedState}function nh(e,t,n,o){var u=us(),f=o===void 0?null:o;jr.flags|=e,u.memoizedState=ah(Qa|t,n,void 0,f)}function jv(e,t,n,o){var u=yl(),f=o===void 0?null:o,g=void 0;if(en!==null){var y=en.memoizedState;if(g=y.destroy,f!==null){var C=y.deps;if(Xy(f,C)){u.memoizedState=ah(t,n,g,f);return}}}jr.flags|=e,u.memoizedState=ah(Qa|t,n,g,f)}function Uv(e,t){return(jr.mode&ns)!==Nt?nh(Nm|Nl|tb,wn,e,t):nh(Nl|tb,wn,e,t)}function oh(e,t){return jv(Nl,wn,e,t)}function o1(e,t){return nh(_r,ss,e,t)}function Vv(e,t){return jv(_r,ss,e,t)}function i1(e,t){var n=_r;return n|=Sc,(jr.mode&ns)!==Nt&&(n|=Ps),nh(n,Za,e,t)}function Wv(e,t){return jv(_r,Za,e,t)}function kx(e,t){if(typeof t=="function"){var n=t,o=e();return n(o),function(){n(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||c("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var f=e();return u.current=f,function(){u.current=null}}}function l1(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=n!=null?n.concat([e]):null,u=_r;return u|=Sc,(jr.mode&ns)!==Nt&&(u|=Ps),nh(u,Za,kx.bind(null,t,e),o)}function Yv(e,t,n){typeof t!="function"&&c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=n!=null?n.concat([e]):null;return jv(_r,Za,kx.bind(null,t,e),o)}function VF(e,t){}var $v=VF;function s1(e,t){var n=us(),o=t===void 0?null:t;return n.memoizedState=[e,o],e}function Gv(e,t){var n=yl(),o=t===void 0?null:t,u=n.memoizedState;if(u!==null&&o!==null){var f=u[1];if(Xy(o,f))return u[0]}return n.memoizedState=[e,o],e}function u1(e,t){var n=us(),o=t===void 0?null:t,u=e();return n.memoizedState=[u,o],u}function qv(e,t){var n=yl(),o=t===void 0?null:t,u=n.memoizedState;if(u!==null&&o!==null){var f=u[1];if(Xy(o,f))return u[0]}var g=e();return n.memoizedState=[g,o],g}function c1(e){var t=us();return t.memoizedState=e,e}function Rx(e){var t=yl(),n=en,o=n.memoizedState;return Ax(t,o,e)}function Dx(e){var t=yl();if(en===null)return t.memoizedState=e,e;var n=en.memoizedState;return Ax(t,n,e)}function Ax(e,t,n){var o=!RP(Fc);if(o){if(!jo(n,t)){var u=EC();jr.lanes=Zt(jr.lanes,u),wh(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,dh()),e.memoizedState=n,n}function WF(e,t,n){var o=Bl();hn(MP(o,Fs)),e(!0);var u=eh.transition;eh.transition={};var f=eh.transition;eh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(hn(o),eh.transition=u,u===null&&f._updatedFibers){var g=f._updatedFibers.size;g>10&&d("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."),f._updatedFibers.clear()}}}function d1(){var e=Fv(!1),t=e[0],n=e[1],o=WF.bind(null,n),u=us();return u.memoizedState=o,[t,o]}function Nx(){var e=r1(),t=e[0],n=yl(),o=n.memoizedState;return[t,o]}function Lx(){var e=a1(),t=e[0],n=yl(),o=n.memoizedState;return[t,o]}var Bx=!1;function YF(){return Bx}function f1(){var e=us(),t=mg(),n=t.identifierPrefix,o;if(Cn()){var u=sF();o=":"+n+"R"+u;var f=rh++;f>0&&(o+="H"+f.toString(32)),o+=":"}else{var g=HF++;o=":"+n+"r"+g.toString(32)+":"}return e.memoizedState=o,o}function Kv(){var e=yl(),t=e.memoizedState;return t}function $F(e,t,n){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=Gu(e),u={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ox(e))zx(t,u);else{var f=ux(e,t,u,o);if(f!==null){var g=to();on(f,e,o,g),Px(f,t,o)}}Mx(e,o)}function GF(e,t,n){typeof arguments[3]=="function"&&c("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=Gu(e),u={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ox(e))zx(t,u);else{var f=e.alternate;if(e.lanes===Me&&(f===null||f.lanes===Me)){var g=t.lastRenderedReducer;if(g!==null){var y;y=ut.current,ut.current=Il;try{var C=t.lastRenderedState,R=g(C,n);if(u.hasEagerState=!0,u.eagerState=R,jo(R,C)){NF(e,t,u,o);return}}catch(X){}finally{ut.current=y}}}var O=ux(e,t,u,o);if(O!==null){var Z=to();on(O,e,o,Z),Px(O,t,o)}}Mx(e,o)}function Ox(e){var t=e.alternate;return e===jr||t!==null&&t===jr}function zx(e,t){th=Mv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Px(e,t,n){if(TC(n)){var o=t.lanes;o=kC(o,e.pendingLanes);var u=Zt(o,n);t.lanes=u,Nb(e,u)}}function Mx(e,t,n){ib(e,t)}var Xv={readContext:$a,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:te},Ix=null,Fx=null,Hx=null,jx=null,cs=null,Il=null,Jv=null;{var p1=function(){c("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},jt=function(){c("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Ix={readContext:function(e){return $a(e)},useCallback:function(e,t){return Le="useCallback",Dr(),af(t),s1(e,t)},useContext:function(e){return Le="useContext",Dr(),$a(e)},useEffect:function(e,t){return Le="useEffect",Dr(),af(t),Uv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Dr(),af(n),l1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Dr(),af(t),o1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Dr(),af(t),i1(e,t)},useMemo:function(e,t){Le="useMemo",Dr(),af(t);var n=ut.current;ut.current=cs;try{return u1(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",Dr();var o=ut.current;ut.current=cs;try{return Qy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",Dr(),n1(e)},useState:function(e){Le="useState",Dr();var t=ut.current;ut.current=cs;try{return Fv(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Dr(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Dr(),c1(e)},useTransition:function(){return Le="useTransition",Dr(),d1()},useMutableSource:function(e,t,n){return Le="useMutableSource",Dr(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Dr(),t1(e,t,n)},useId:function(){return Le="useId",Dr(),f1()},unstable_isNewReconciler:te},Fx={readContext:function(e){return $a(e)},useCallback:function(e,t){return Le="useCallback",rt(),s1(e,t)},useContext:function(e){return Le="useContext",rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",rt(),Uv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",rt(),l1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",rt(),o1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",rt(),i1(e,t)},useMemo:function(e,t){Le="useMemo",rt();var n=ut.current;ut.current=cs;try{return u1(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",rt();var o=ut.current;ut.current=cs;try{return Qy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",rt(),n1(e)},useState:function(e){Le="useState",rt();var t=ut.current;ut.current=cs;try{return Fv(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",rt(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",rt(),c1(e)},useTransition:function(){return Le="useTransition",rt(),d1()},useMutableSource:function(e,t,n){return Le="useMutableSource",rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",rt(),t1(e,t,n)},useId:function(){return Le="useId",rt(),f1()},unstable_isNewReconciler:te},Hx={readContext:function(e){return $a(e)},useCallback:function(e,t){return Le="useCallback",rt(),Gv(e,t)},useContext:function(e){return Le="useContext",rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",rt(),oh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",rt(),Yv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",rt(),Vv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",rt(),Wv(e,t)},useMemo:function(e,t){Le="useMemo",rt();var n=ut.current;ut.current=Il;try{return qv(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",rt();var o=ut.current;ut.current=Il;try{return Zy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",rt(),Hv()},useState:function(e){Le="useState",rt();var t=ut.current;ut.current=Il;try{return r1(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",rt(),$v()},useDeferredValue:function(e){return Le="useDeferredValue",rt(),Rx(e)},useTransition:function(){return Le="useTransition",rt(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",rt(),Iv(e,t)},useId:function(){return Le="useId",rt(),Kv()},unstable_isNewReconciler:te},jx={readContext:function(e){return $a(e)},useCallback:function(e,t){return Le="useCallback",rt(),Gv(e,t)},useContext:function(e){return Le="useContext",rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",rt(),oh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",rt(),Yv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",rt(),Vv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",rt(),Wv(e,t)},useMemo:function(e,t){Le="useMemo",rt();var n=ut.current;ut.current=Jv;try{return qv(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",rt();var o=ut.current;ut.current=Jv;try{return e1(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",rt(),Hv()},useState:function(e){Le="useState",rt();var t=ut.current;ut.current=Jv;try{return a1(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",rt(),$v()},useDeferredValue:function(e){return Le="useDeferredValue",rt(),Dx(e)},useTransition:function(){return Le="useTransition",rt(),Lx()},useMutableSource:function(e,t,n){return Le="useMutableSource",rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",rt(),Iv(e,t)},useId:function(){return Le="useId",rt(),Kv()},unstable_isNewReconciler:te},cs={readContext:function(e){return p1(),$a(e)},useCallback:function(e,t){return Le="useCallback",jt(),Dr(),s1(e,t)},useContext:function(e){return Le="useContext",jt(),Dr(),$a(e)},useEffect:function(e,t){return Le="useEffect",jt(),Dr(),Uv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",jt(),Dr(),l1(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",jt(),Dr(),o1(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",jt(),Dr(),i1(e,t)},useMemo:function(e,t){Le="useMemo",jt(),Dr();var n=ut.current;ut.current=cs;try{return u1(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",jt(),Dr();var o=ut.current;ut.current=cs;try{return Qy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",jt(),Dr(),n1(e)},useState:function(e){Le="useState",jt(),Dr();var t=ut.current;ut.current=cs;try{return Fv(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",jt(),Dr(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",jt(),Dr(),c1(e)},useTransition:function(){return Le="useTransition",jt(),Dr(),d1()},useMutableSource:function(e,t,n){return Le="useMutableSource",jt(),Dr(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",jt(),Dr(),t1(e,t,n)},useId:function(){return Le="useId",jt(),Dr(),f1()},unstable_isNewReconciler:te},Il={readContext:function(e){return p1(),$a(e)},useCallback:function(e,t){return Le="useCallback",jt(),rt(),Gv(e,t)},useContext:function(e){return Le="useContext",jt(),rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",jt(),rt(),oh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",jt(),rt(),Yv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",jt(),rt(),Vv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",jt(),rt(),Wv(e,t)},useMemo:function(e,t){Le="useMemo",jt(),rt();var n=ut.current;ut.current=Il;try{return qv(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",jt(),rt();var o=ut.current;ut.current=Il;try{return Zy(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",jt(),rt(),Hv()},useState:function(e){Le="useState",jt(),rt();var t=ut.current;ut.current=Il;try{return r1(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",jt(),rt(),$v()},useDeferredValue:function(e){return Le="useDeferredValue",jt(),rt(),Rx(e)},useTransition:function(){return Le="useTransition",jt(),rt(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",jt(),rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",jt(),rt(),Iv(e,t)},useId:function(){return Le="useId",jt(),rt(),Kv()},unstable_isNewReconciler:te},Jv={readContext:function(e){return p1(),$a(e)},useCallback:function(e,t){return Le="useCallback",jt(),rt(),Gv(e,t)},useContext:function(e){return Le="useContext",jt(),rt(),$a(e)},useEffect:function(e,t){return Le="useEffect",jt(),rt(),oh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",jt(),rt(),Yv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",jt(),rt(),Vv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",jt(),rt(),Wv(e,t)},useMemo:function(e,t){Le="useMemo",jt(),rt();var n=ut.current;ut.current=Il;try{return qv(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){Le="useReducer",jt(),rt();var o=ut.current;ut.current=Il;try{return e1(e,t,n)}finally{ut.current=o}},useRef:function(e){return Le="useRef",jt(),rt(),Hv()},useState:function(e){Le="useState",jt(),rt();var t=ut.current;ut.current=Il;try{return a1(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",jt(),rt(),$v()},useDeferredValue:function(e){return Le="useDeferredValue",jt(),rt(),Dx(e)},useTransition:function(){return Le="useTransition",jt(),rt(),Lx()},useMutableSource:function(e,t,n){return Le="useMutableSource",jt(),rt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",jt(),rt(),Iv(e,t)},useId:function(){return Le="useId",jt(),rt(),Kv()},unstable_isNewReconciler:te}}var Vu=a.unstable_now,Ux=0,Qv=-1,ih=-1,Zv=-1,h1=!1,eg=!1;function Vx(){return h1}function qF(){eg=!0}function KF(){h1=!1,eg=!1}function XF(){h1=eg,eg=!1}function Wx(){return Ux}function Yx(){Ux=Vu()}function m1(e){ih=Vu(),e.actualStartTime<0&&(e.actualStartTime=Vu())}function $x(e){ih=-1}function tg(e,t){if(ih>=0){var n=Vu()-ih;e.actualDuration+=n,t&&(e.selfBaseDuration=n),ih=-1}}function ds(e){if(Qv>=0){var t=Vu()-Qv;Qv=-1;for(var n=e.return;n!==null;){switch(n.tag){case S:var o=n.stateNode;o.effectDuration+=t;return;case F:var u=n.stateNode;u.effectDuration+=t;return}n=n.return}}}function v1(e){if(Zv>=0){var t=Vu()-Zv;Zv=-1;for(var n=e.return;n!==null;){switch(n.tag){case S:var o=n.stateNode;o!==null&&(o.passiveEffectDuration+=t);return;case F:var u=n.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}n=n.return}}}function fs(){Qv=Vu()}function g1(){Zv=Vu()}function _1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Fl(e,t){if(e&&e.defaultProps){var n=At({},t),o=e.defaultProps;for(var u in o)n[u]===void 0&&(n[u]=o[u]);return n}return t}var b1={},y1,S1,C1,w1,x1,Gx,rg,T1,E1,k1,lh;{y1=new Set,S1=new Set,C1=new Set,w1=new Set,T1=new Set,x1=new Set,E1=new Set,k1=new Set,lh=new Set;var qx=new Set;rg=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;qx.has(n)||(qx.add(n),c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Gx=function(e,t){if(t===void 0){var n=Lr(e)||"Component";x1.has(n)||(x1.add(n),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(b1,"_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(b1)}function R1(e,t,n,o){var u=e.memoizedState,f=n(o,u);{if(e.mode&Aa){fn(!0);try{f=n(o,u)}finally{fn(!1)}}Gx(t,f)}var g=f==null?u:At({},u,f);if(e.memoizedState=g,e.lanes===Me){var y=e.updateQueue;y.baseState=g}}var D1={isMounted:j7,enqueueSetState:function(e,t,n){var o=Rd(e),u=to(),f=Gu(o),g=$s(u,f);g.payload=t,n!=null&&(rg(n,"setState"),g.callback=n);var y=Fu(o,g,f);y!==null&&(on(y,o,f,u),Nv(y,o,f)),ib(o,f)},enqueueReplaceState:function(e,t,n){var o=Rd(e),u=to(),f=Gu(o),g=$s(u,f);g.tag=dx,g.payload=t,n!=null&&(rg(n,"replaceState"),g.callback=n);var y=Fu(o,g,f);y!==null&&(on(y,o,f,u),Nv(y,o,f)),ib(o,f)},enqueueForceUpdate:function(e,t){var n=Rd(e),o=to(),u=Gu(n),f=$s(o,u);f.tag=Rv,t!=null&&(rg(t,"forceUpdate"),f.callback=t);var g=Fu(n,f,u);g!==null&&(on(g,n,u,o),Nv(g,n,u)),_P(n,u)}};function Kx(e,t,n,o,u,f,g){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var C=y.shouldComponentUpdate(o,f,g);{if(e.mode&Aa){fn(!0);try{C=y.shouldComponentUpdate(o,f,g)}finally{fn(!1)}}C===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Lr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Dp(n,o)||!Dp(u,f):!0}function JF(e,t,n){var o=e.stateNode;{var u=Lr(t)||"Component",f=o.render;f||(t.prototype&&typeof t.prototype.render=="function"?c("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):c("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&c("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&c("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),o.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),o.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!lh.has(t)&&(e.mode&Aa)===Nt&&(lh.add(t),c(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
85
85
|
|
|
86
86
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),t.contextTypes&&!lh.has(t)&&(e.mode&Aa)===Nt&&(lh.add(t),c(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
87
87
|
|
|
88
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),o.contextTypes&&c("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!E1.has(t)&&(E1.add(t),c("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof o.componentShouldUpdate=="function"&&c("%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.",u),t.prototype&&t.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate!="undefined"&&c("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Lr(t)||"A pure component"),typeof o.componentDidUnmount=="function"&&c("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof o.componentDidReceiveProps=="function"&&c("%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().",u),typeof o.componentWillRecieveProps=="function"&&c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof o.UNSAFE_componentWillRecieveProps=="function"&&c("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var g=o.props!==n;o.props!==void 0&&g&&c("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),o.defaultProps&&c("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!
|
|
88
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),o.contextTypes&&c("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!E1.has(t)&&(E1.add(t),c("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof o.componentShouldUpdate=="function"&&c("%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.",u),t.prototype&&t.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate!="undefined"&&c("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Lr(t)||"A pure component"),typeof o.componentDidUnmount=="function"&&c("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof o.componentDidReceiveProps=="function"&&c("%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().",u),typeof o.componentWillRecieveProps=="function"&&c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof o.UNSAFE_componentWillRecieveProps=="function"&&c("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var g=o.props!==n;o.props!==void 0&&g&&c("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),o.defaultProps&&c("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!C1.has(t)&&(C1.add(t),c("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Lr(t))),typeof o.getDerivedStateFromProps=="function"&&c("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof o.getDerivedStateFromError=="function"&&c("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getSnapshotBeforeUpdate=="function"&&c("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var y=o.state;y&&(typeof y!="object"||Ja(y))&&c("%s.state: must be set to an object or null",u),typeof o.getChildContext=="function"&&typeof t.childContextTypes!="object"&&c("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function Xx(e,t){t.updater=D1,e.stateNode=t,P7(t,e),t._reactInternalInstance=b1}function Jx(e,t,n){var o=!1,u=Uo,f=Uo,g=t.contextType;if("contextType"in t){var y=g===null||g!==void 0&&g.$$typeof===Y&&g._context===void 0;if(!y&&!k1.has(t)){k1.add(t);var C="";g===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 g!="object"?C=" However, it is set to a "+typeof g+".":g.$$typeof===L?C=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",c("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Lr(t)||"Component",C)}}if(typeof g=="object"&&g!==null)f=$a(g);else{u=Yd(e,t,!0);var R=t.contextTypes;o=R!=null,f=o?$d(e,u):Uo}var O=new t(n,f);if(e.mode&Aa){fn(!0);try{O=new t(n,f)}finally{fn(!1)}}var Z=e.memoizedState=O.state!==null&&O.state!==void 0?O.state:null;Xx(e,O);{if(typeof t.getDerivedStateFromProps=="function"&&Z===null){var X=Lr(t)||"Component";S1.has(X)||(S1.add(X),c("`%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.",X,O.state===null?"null":"undefined",X))}if(typeof t.getDerivedStateFromProps=="function"||typeof O.getSnapshotBeforeUpdate=="function"){var ye=null,Se=null,xe=null;if(typeof O.componentWillMount=="function"&&O.componentWillMount.__suppressDeprecationWarning!==!0?ye="componentWillMount":typeof O.UNSAFE_componentWillMount=="function"&&(ye="UNSAFE_componentWillMount"),typeof O.componentWillReceiveProps=="function"&&O.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Se="componentWillReceiveProps":typeof O.UNSAFE_componentWillReceiveProps=="function"&&(Se="UNSAFE_componentWillReceiveProps"),typeof O.componentWillUpdate=="function"&&O.componentWillUpdate.__suppressDeprecationWarning!==!0?xe="componentWillUpdate":typeof O.UNSAFE_componentWillUpdate=="function"&&(xe="UNSAFE_componentWillUpdate"),ye!==null||Se!==null||xe!==null){var at=Lr(t)||"Component",Dt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";w1.has(at)||(w1.add(at),c(`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`,at,Dt,ye!==null?`
|
|
94
94
|
`+ye:"",Se!==null?`
|
|
95
95
|
`+Se:"",xe!==null?`
|
|
96
|
-
`+xe:""))}}}return o&&
|
|
97
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var O=Jt(e)||"Anonymous";R="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+O+".")}var Z=
|
|
96
|
+
`+xe:""))}}}return o&&Hw(e,u,f),O}function QF(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(c("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Jt(e)||"Component"),D1.enqueueReplaceState(t,t.state,null))}function Qx(e,t,n,o){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==u){{var f=Jt(e)||"Component";y1.has(f)||(y1.add(f),c("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",f))}D1.enqueueReplaceState(t,t.state,null)}}function A1(e,t,n,o){JF(e,t,n);var u=e.stateNode;u.props=n,u.state=e.memoizedState,u.refs={},Fy(e);var f=t.contextType;if(typeof f=="object"&&f!==null)u.context=$a(f);else{var g=Yd(e,t,!0);u.context=$d(e,g)}{if(u.state===n){var y=Lr(t)||"Component";T1.has(y)||(T1.add(y),c("%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&Aa&&Pl.recordLegacyContextWarning(e,u),Pl.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(R1(e,t,C,n),u.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(QF(e,u),Lv(e,n,u,o),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var R=_r;R|=Sc,(e.mode&ns)!==Nt&&(R|=Ps),e.flags|=R}}function ZF(e,t,n,o){var u=e.stateNode,f=e.memoizedProps;u.props=f;var g=u.context,y=t.contextType,C=Uo;if(typeof y=="object"&&y!==null)C=$a(y);else{var R=Yd(e,t,!0);C=$d(e,R)}var O=t.getDerivedStateFromProps,Z=typeof O=="function"||typeof u.getSnapshotBeforeUpdate=="function";!Z&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(f!==n||g!==C)&&Qx(e,u,n,C),px();var X=e.memoizedState,ye=u.state=X;if(Lv(e,n,u,o),ye=e.memoizedState,f===n&&X===ye&&!pv()&&!Bv()){if(typeof u.componentDidMount=="function"){var Se=_r;Se|=Sc,(e.mode&ns)!==Nt&&(Se|=Ps),e.flags|=Se}return!1}typeof O=="function"&&(R1(e,t,O,n),ye=e.memoizedState);var xe=Bv()||Kx(e,t,f,n,X,ye,C);if(xe){if(!Z&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"){var at=_r;at|=Sc,(e.mode&ns)!==Nt&&(at|=Ps),e.flags|=at}}else{if(typeof u.componentDidMount=="function"){var Dt=_r;Dt|=Sc,(e.mode&ns)!==Nt&&(Dt|=Ps),e.flags|=Dt}e.memoizedProps=n,e.memoizedState=ye}return u.props=n,u.state=ye,u.context=C,xe}function eH(e,t,n,o,u){var f=t.stateNode;fx(e,t);var g=t.memoizedProps,y=t.type===t.elementType?g:Fl(t.type,g);f.props=y;var C=t.pendingProps,R=f.context,O=n.contextType,Z=Uo;if(typeof O=="object"&&O!==null)Z=$a(O);else{var X=Yd(t,n,!0);Z=$d(t,X)}var ye=n.getDerivedStateFromProps,Se=typeof ye=="function"||typeof f.getSnapshotBeforeUpdate=="function";!Se&&(typeof f.UNSAFE_componentWillReceiveProps=="function"||typeof f.componentWillReceiveProps=="function")&&(g!==C||R!==Z)&&Qx(t,f,o,Z),px();var xe=t.memoizedState,at=f.state=xe;if(Lv(t,o,f,u),at=t.memoizedState,g===C&&xe===at&&!pv()&&!Bv()&&!se)return typeof f.componentDidUpdate=="function"&&(g!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=_r),typeof f.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=bc),!1;typeof ye=="function"&&(R1(t,n,ye,o),at=t.memoizedState);var Dt=Bv()||Kx(t,n,y,o,xe,at,Z)||se;return Dt?(!Se&&(typeof f.UNSAFE_componentWillUpdate=="function"||typeof f.componentWillUpdate=="function")&&(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,at,Z),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,at,Z)),typeof f.componentDidUpdate=="function"&&(t.flags|=_r),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=bc)):(typeof f.componentDidUpdate=="function"&&(g!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=_r),typeof f.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||xe!==e.memoizedState)&&(t.flags|=bc),t.memoizedProps=o,t.memoizedState=at),f.props=o,f.state=at,f.context=Z,Dt}function Hc(e,t){return{value:e,source:t,stack:gm(t),digest:null}}function N1(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function tH(e,t){return!0}function L1(e,t){try{var n=tH(e,t);if(n===!1)return;var o=t.value,u=t.source,f=t.stack,g=f!==null?f:"";if(o!=null&&o._suppressLogging){if(e.tag===_)return;console.error(o)}var y=u?Jt(u):null,C=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",R;if(e.tag===S)R=`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 O=Jt(e)||"Anonymous";R="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+O+".")}var Z=C+`
|
|
98
98
|
`+g+`
|
|
99
99
|
|
|
100
|
-
`+(""+R);console.error(Z)}catch(X){setTimeout(function(){throw X})}}var rH=typeof WeakMap=="function"?WeakMap:Map;function Zx(e,t,n){var o=$s(fa,n);o.tag=My,o.payload={element:null};var u=t.value;return o.callback=function(){Zj(u),L1(e,t)},o}function B1(e,t,n){var o=$s(fa,n);o.tag=My;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var f=t.value;o.payload=function(){return u(f)},o.callback=function(){dT(e),L1(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(o.callback=function(){dT(e),L1(e,t),typeof u!="function"&&Jj(this);var w=t.value,R=t.stack;this.componentDidCatch(w,{componentStack:R!==null?R:""}),typeof u!="function"&&(Io(e.lanes,Ht)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Jt(e)||"Unknown"))}),o}function e4(e,t,n){var o=e.pingCache,u;if(o===null?(o=e.pingCache=new rH,u=new Set,o.set(t,u)):(u=o.get(t),u===void 0&&(u=new Set,o.set(t,u))),!u.has(n)){u.add(n);var f=eU.bind(null,e,t,n);Ll&&xh(e,n),t.then(f,f)}}function aH(e,t,n,o){var u=e.updateQueue;if(u===null){var f=new Set;f.add(n),e.updateQueue=f}else u.add(n)}function nH(e,t){var n=e.tag;if((e.mode&dr)===Nt&&(n===p||n===$||n===oe)){var o=e.alternate;o?(e.updateQueue=o.updateQueue,e.memoizedState=o.memoizedState,e.lanes=o.lanes):(e.updateQueue=null,e.memoizedState=null)}}function t4(e){var t=e;do{if(t.tag===W&&IF(t))return t;t=t.return}while(t!==null);return null}function r4(e,t,n,o,u){if((e.mode&dr)===Nt){if(e===t)e.flags|=Qn;else{if(e.flags|=xr,n.flags|=Z_,n.flags&=~(M7|ip),n.tag===_){var f=n.alternate;if(f===null)n.tag=Q;else{var g=$s(fa,Ht);g.tag=Rv,Fu(n,g,Ht)}}n.lanes=Zt(n.lanes,Ht)}return e}return e.flags|=Qn,e.lanes=u,e}function oH(e,t,n,o,u){if(n.flags|=ip,Ll&&xh(e,u),o!==null&&typeof o=="object"&&typeof o.then=="function"){var f=o;nH(n),wn()&&n.mode&dr&&GC();var g=t4(t);if(g!==null){g.flags&=~Os,r4(g,t,n,e,u),g.mode&dr&&e4(e,f,u),aH(g,e,f);return}else{if(!kP(u)){e4(e,f,u),p0();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.");o=y}}else if(wn()&&n.mode&dr){GC();var w=t4(t);if(w!==null){(w.flags&Qn)===zt&&(w.flags|=Os),r4(w,t,n,e,u),Ty(Hc(o,n));return}}o=Hc(o,n),Vj(o);var R=t;do{switch(R.tag){case S:{var O=o;R.flags|=Qn;var Z=hp(u);R.lanes=Zt(R.lanes,Z);var X=Zx(R,O,Z);Hy(R,X);return}case _:var ye=o,Se=R.type,xe=R.stateNode;if((R.flags&xr)===zt&&(typeof Se.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!rT(xe))){R.flags|=Qn;var at=hp(u);R.lanes=Zt(R.lanes,at);var Dt=B1(R,ye,at);Hy(R,Dt);return}break}R=R.return}while(R!==null)}function iH(){return null}var sh=i.ReactCurrentOwner,Hl=!1,O1,uh,z1,P1,M1,jc,I1,ag,ch;O1={},uh={},z1={},P1={},M1={},jc=!1,I1={},ag={},ch={};function Zn(e,t,n,o){e===null?t.child=ox(t,null,n,o):t.child=Xd(t,e.child,n,o)}function lH(e,t,n,o){t.child=Xd(t,e.child,null,o),t.child=Xd(t,null,n,o)}function a4(e,t,n,o,u){if(t.type!==t.elementType){var f=n.propTypes;f&&Ol(f,o,"prop",Lr(n))}var g=n.render,y=t.ref,w,R;Qd(t,u),sp(t);{if(sh.current=t,ml(!0),w=nf(e,t,g,o,y,u),R=of(),t.mode&Aa){fn(!0);try{w=nf(e,t,g,o,y,u),R=of()}finally{fn(!1)}}ml(!1)}return Nd(),e!==null&&!Hl?(bx(e,t,u),Gs(e,t,u)):(wn()&&R&&by(t),t.flags|=Dd,Zn(e,t,w,u),t.child)}function n4(e,t,n,o,u){if(e===null){var f=n.type;if(gU(f)&&n.compare===null&&n.defaultProps===void 0){var g=f;return g=hf(f),t.tag=oe,t.type=g,j1(t,f),o4(e,t,g,o,u)}{var y=f.propTypes;if(y&&Ol(y,o,"prop",Lr(f)),n.defaultProps!==void 0){var w=Lr(f)||"Unknown";ch[w]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",w),ch[w]=!0)}}var R=x0(n.type,null,o,t,t.mode,u);return R.ref=t.ref,R.return=t,t.child=R,R}{var O=n.type,Z=O.propTypes;Z&&Ol(Z,o,"prop",Lr(O))}var X=e.child,ye=G1(e,u);if(!ye){var Se=X.memoizedProps,xe=n.compare;if(xe=xe!==null?xe:Dp,xe(Se,o)&&e.ref===t.ref)return Gs(e,t,u)}t.flags|=Dd;var at=$c(X,o);return at.ref=t.ref,at.return=t,t.child=at,at}function o4(e,t,n,o,u){if(t.type!==t.elementType){var f=t.elementType;if(f.$$typeof===et){var g=f,y=g._payload,w=g._init;try{f=w(y)}catch(Z){f=null}var R=f&&f.propTypes;R&&Ol(R,o,"prop",Lr(f))}}if(e!==null){var O=e.memoizedProps;if(Dp(O,o)&&e.ref===t.ref&&t.type===e.type)if(Hl=!1,t.pendingProps=o=O,G1(e,u))(e.flags&Z_)!==zt&&(Hl=!0);else return t.lanes=e.lanes,Gs(e,t,u)}return F1(e,t,n,o,u)}function i4(e,t,n){var o=t.pendingProps,u=o.children,f=e!==null?e.memoizedState:null;if(o.mode==="hidden"||me)if((t.mode&dr)===Nt){var g={baseLanes:Me,cachePool:null,transitions:null};t.memoizedState=g,vg(t,n)}else if(Io(n,Mo)){var Z={baseLanes:Me,cachePool:null,transitions:null};t.memoizedState=Z;var X=f!==null?f.baseLanes:n;vg(t,X)}else{var y=null,w;if(f!==null){var R=f.baseLanes;w=Zt(R,n)}else w=n;t.lanes=t.childLanes=Mo;var O={baseLanes:w,cachePool:y,transitions:null};return t.memoizedState=O,t.updateQueue=null,vg(t,w),null}else{var ye;f!==null?(ye=Zt(f.baseLanes,n),t.memoizedState=null):ye=n,vg(t,ye)}return Zn(e,t,u,n),t.child}function sH(e,t,n){var o=t.pendingProps;return Zn(e,t,o,n),t.child}function uH(e,t,n){var o=t.pendingProps.children;return Zn(e,t,o,n),t.child}function cH(e,t,n){{t.flags|=_r;{var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0}}var u=t.pendingProps,f=u.children;return Zn(e,t,f,n),t.child}function l4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=ku,t.flags|=eb)}function F1(e,t,n,o,u){if(t.type!==t.elementType){var f=n.propTypes;f&&Ol(f,o,"prop",Lr(n))}var g;{var y=Yd(t,n,!0);g=$d(t,y)}var w,R;Qd(t,u),sp(t);{if(sh.current=t,ml(!0),w=nf(e,t,n,o,g,u),R=of(),t.mode&Aa){fn(!0);try{w=nf(e,t,n,o,g,u),R=of()}finally{fn(!1)}}ml(!1)}return Nd(),e!==null&&!Hl?(bx(e,t,u),Gs(e,t,u)):(wn()&&R&&by(t),t.flags|=Dd,Zn(e,t,w,u),t.child)}function s4(e,t,n,o,u){{switch(LU(t)){case!1:{var f=t.stateNode,g=t.type,y=new g(t.memoizedProps,f.context),w=y.state;f.updater.enqueueSetState(f,w,null);break}case!0:{t.flags|=xr,t.flags|=Qn;var R=new Error("Simulated error coming from DevTools"),O=hp(u);t.lanes=Zt(t.lanes,O);var Z=B1(t,Hc(R,t),O);Hy(t,Z);break}}if(t.type!==t.elementType){var X=n.propTypes;X&&Ol(X,o,"prop",Lr(n))}}var ye;ls(n)?(ye=!0,mv(t)):ye=!1,Qd(t,u);var Se=t.stateNode,xe;Se===null?(og(e,t),Jx(t,n,o),A1(t,n,o,u),xe=!0):e===null?xe=ZF(t,n,o,u):xe=eH(e,t,n,o,u);var at=H1(e,t,n,xe,ye,u);{var Dt=t.stateNode;xe&&Dt.props!==o&&(jc||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Jt(t)||"a component"),jc=!0)}return at}function H1(e,t,n,o,u,f){l4(e,t);var g=(t.flags&xr)!==zt;if(!o&&!g)return u&&VC(t,n,!1),Gs(e,t,f);var y=t.stateNode;sh.current=t;var w;if(g&&typeof n.getDerivedStateFromError!="function")w=null,$x();else{sp(t);{if(ml(!0),w=y.render(),t.mode&Aa){fn(!0);try{y.render()}finally{fn(!1)}}ml(!1)}Nd()}return t.flags|=Dd,e!==null&&g?lH(e,t,w,f):Zn(e,t,w,f),t.memoizedState=y.state,u&&VC(t,n,!0),t.child}function u4(e){var t=e.stateNode;t.pendingContext?jC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&jC(e,t.context,!1),jy(e,t.containerInfo)}function dH(e,t,n){if(u4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var o=t.pendingProps,u=t.memoizedState,f=u.element;fx(e,t),Lv(t,o,null,n);var g=t.memoizedState,y=t.stateNode,w=g.element;if(u.isDehydrated){var R={element:w,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},O=t.updateQueue;if(O.baseState=R,t.memoizedState=R,t.flags&Os){var Z=Hc(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 c4(e,t,w,n,Z)}else if(w!==f){var X=Hc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return c4(e,t,w,n,X)}else{hF(t);var ye=ox(t,null,w,n);t.child=ye;for(var Se=ye;Se;)Se.flags=Se.flags&~Ya|zs,Se=Se.sibling}}else{if(Kd(),w===f)return Gs(e,t,n);Zn(e,t,w,n)}return t.child}function c4(e,t,n,o,u){return Kd(),Ty(u),t.flags|=Os,Zn(e,t,n,o),t.child}function fH(e,t,n){vx(t),e===null&&xy(t);var o=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,g=u.children,y=oy(o,u);return y?g=null:f!==null&&oy(o,f)&&(t.flags|=op),l4(e,t),Zn(e,t,g,n),t.child}function pH(e,t){return e===null&&xy(t),null}function hH(e,t,n,o){og(e,t);var u=t.pendingProps,f=n,g=f._payload,y=f._init,w=y(g);t.type=w;var R=t.tag=_U(w),O=Fl(w,u),Z;switch(R){case p:return j1(t,w),t.type=w=hf(w),Z=F1(null,t,w,O,o),Z;case _:return t.type=w=_0(w),Z=s4(null,t,w,O,o),Z;case $:return t.type=w=b0(w),Z=a4(null,t,w,O,o),Z;case P:{if(t.type!==t.elementType){var X=w.propTypes;X&&Ol(X,O,"prop",Lr(w))}return Z=n4(null,t,w,Fl(w.type,O),o),Z}}var ye="";throw w!==null&&typeof w=="object"&&w.$$typeof===et&&(ye=" 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."+ye))}function mH(e,t,n,o,u){og(e,t),t.tag=_;var f;return ls(n)?(f=!0,mv(t)):f=!1,Qd(t,u),Jx(t,n,o),A1(t,n,o,u),H1(null,t,n,!0,f,u)}function vH(e,t,n,o){og(e,t);var u=t.pendingProps,f;{var g=Yd(t,n,!1);f=$d(t,g)}Qd(t,o);var y,w;sp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var R=Lr(n)||"Unknown";O1[R]||(c("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",R,R),O1[R]=!0)}t.mode&Aa&&Pl.recordLegacyContextWarning(t,null),ml(!0),sh.current=t,y=nf(null,t,n,u,f,o),w=of(),ml(!1)}if(Nd(),t.flags|=Dd,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var O=Lr(n)||"Unknown";uh[O]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",O,O,O),uh[O]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var Z=Lr(n)||"Unknown";uh[Z]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Z,Z,Z),uh[Z]=!0)}t.tag=_,t.memoizedState=null,t.updateQueue=null;var X=!1;return ls(n)?(X=!0,mv(t)):X=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,Fy(t),Xx(t,y),A1(t,n,u,o),H1(null,t,n,!0,X,o)}else{if(t.tag=p,t.mode&Aa){fn(!0);try{y=nf(null,t,n,u,f,o),w=of()}finally{fn(!1)}}return wn()&&w&&by(t),Zn(null,t,y,o),j1(t,n),t.child}}function j1(e,t){{if(t&&t.childContextTypes&&c("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",o=Tu();o&&(n+=`
|
|
100
|
+
`+(""+R);console.error(Z)}catch(X){setTimeout(function(){throw X})}}var rH=typeof WeakMap=="function"?WeakMap:Map;function Zx(e,t,n){var o=$s(fa,n);o.tag=My,o.payload={element:null};var u=t.value;return o.callback=function(){Zj(u),L1(e,t)},o}function B1(e,t,n){var o=$s(fa,n);o.tag=My;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var f=t.value;o.payload=function(){return u(f)},o.callback=function(){dT(e),L1(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(o.callback=function(){dT(e),L1(e,t),typeof u!="function"&&Jj(this);var C=t.value,R=t.stack;this.componentDidCatch(C,{componentStack:R!==null?R:""}),typeof u!="function"&&(Io(e.lanes,Ht)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Jt(e)||"Unknown"))}),o}function e4(e,t,n){var o=e.pingCache,u;if(o===null?(o=e.pingCache=new rH,u=new Set,o.set(t,u)):(u=o.get(t),u===void 0&&(u=new Set,o.set(t,u))),!u.has(n)){u.add(n);var f=eU.bind(null,e,t,n);Ll&&xh(e,n),t.then(f,f)}}function aH(e,t,n,o){var u=e.updateQueue;if(u===null){var f=new Set;f.add(n),e.updateQueue=f}else u.add(n)}function nH(e,t){var n=e.tag;if((e.mode&dr)===Nt&&(n===p||n===$||n===oe)){var o=e.alternate;o?(e.updateQueue=o.updateQueue,e.memoizedState=o.memoizedState,e.lanes=o.lanes):(e.updateQueue=null,e.memoizedState=null)}}function t4(e){var t=e;do{if(t.tag===W&&IF(t))return t;t=t.return}while(t!==null);return null}function r4(e,t,n,o,u){if((e.mode&dr)===Nt){if(e===t)e.flags|=Qn;else{if(e.flags|=xr,n.flags|=Z_,n.flags&=~(M7|ip),n.tag===_){var f=n.alternate;if(f===null)n.tag=Q;else{var g=$s(fa,Ht);g.tag=Rv,Fu(n,g,Ht)}}n.lanes=Zt(n.lanes,Ht)}return e}return e.flags|=Qn,e.lanes=u,e}function oH(e,t,n,o,u){if(n.flags|=ip,Ll&&xh(e,u),o!==null&&typeof o=="object"&&typeof o.then=="function"){var f=o;nH(n),Cn()&&n.mode&dr&&Gw();var g=t4(t);if(g!==null){g.flags&=~Os,r4(g,t,n,e,u),g.mode&dr&&e4(e,f,u),aH(g,e,f);return}else{if(!kP(u)){e4(e,f,u),p0();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.");o=y}}else if(Cn()&&n.mode&dr){Gw();var C=t4(t);if(C!==null){(C.flags&Qn)===zt&&(C.flags|=Os),r4(C,t,n,e,u),Ty(Hc(o,n));return}}o=Hc(o,n),Vj(o);var R=t;do{switch(R.tag){case S:{var O=o;R.flags|=Qn;var Z=hp(u);R.lanes=Zt(R.lanes,Z);var X=Zx(R,O,Z);Hy(R,X);return}case _:var ye=o,Se=R.type,xe=R.stateNode;if((R.flags&xr)===zt&&(typeof Se.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!rT(xe))){R.flags|=Qn;var at=hp(u);R.lanes=Zt(R.lanes,at);var Dt=B1(R,ye,at);Hy(R,Dt);return}break}R=R.return}while(R!==null)}function iH(){return null}var sh=i.ReactCurrentOwner,Hl=!1,O1,uh,z1,P1,M1,jc,I1,ag,ch;O1={},uh={},z1={},P1={},M1={},jc=!1,I1={},ag={},ch={};function Zn(e,t,n,o){e===null?t.child=ox(t,null,n,o):t.child=Xd(t,e.child,n,o)}function lH(e,t,n,o){t.child=Xd(t,e.child,null,o),t.child=Xd(t,null,n,o)}function a4(e,t,n,o,u){if(t.type!==t.elementType){var f=n.propTypes;f&&Ol(f,o,"prop",Lr(n))}var g=n.render,y=t.ref,C,R;Qd(t,u),sp(t);{if(sh.current=t,ml(!0),C=nf(e,t,g,o,y,u),R=of(),t.mode&Aa){fn(!0);try{C=nf(e,t,g,o,y,u),R=of()}finally{fn(!1)}}ml(!1)}return Nd(),e!==null&&!Hl?(bx(e,t,u),Gs(e,t,u)):(Cn()&&R&&by(t),t.flags|=Dd,Zn(e,t,C,u),t.child)}function n4(e,t,n,o,u){if(e===null){var f=n.type;if(gU(f)&&n.compare===null&&n.defaultProps===void 0){var g=f;return g=hf(f),t.tag=oe,t.type=g,j1(t,f),o4(e,t,g,o,u)}{var y=f.propTypes;if(y&&Ol(y,o,"prop",Lr(f)),n.defaultProps!==void 0){var C=Lr(f)||"Unknown";ch[C]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),ch[C]=!0)}}var R=x0(n.type,null,o,t,t.mode,u);return R.ref=t.ref,R.return=t,t.child=R,R}{var O=n.type,Z=O.propTypes;Z&&Ol(Z,o,"prop",Lr(O))}var X=e.child,ye=G1(e,u);if(!ye){var Se=X.memoizedProps,xe=n.compare;if(xe=xe!==null?xe:Dp,xe(Se,o)&&e.ref===t.ref)return Gs(e,t,u)}t.flags|=Dd;var at=$c(X,o);return at.ref=t.ref,at.return=t,t.child=at,at}function o4(e,t,n,o,u){if(t.type!==t.elementType){var f=t.elementType;if(f.$$typeof===et){var g=f,y=g._payload,C=g._init;try{f=C(y)}catch(Z){f=null}var R=f&&f.propTypes;R&&Ol(R,o,"prop",Lr(f))}}if(e!==null){var O=e.memoizedProps;if(Dp(O,o)&&e.ref===t.ref&&t.type===e.type)if(Hl=!1,t.pendingProps=o=O,G1(e,u))(e.flags&Z_)!==zt&&(Hl=!0);else return t.lanes=e.lanes,Gs(e,t,u)}return F1(e,t,n,o,u)}function i4(e,t,n){var o=t.pendingProps,u=o.children,f=e!==null?e.memoizedState:null;if(o.mode==="hidden"||me)if((t.mode&dr)===Nt){var g={baseLanes:Me,cachePool:null,transitions:null};t.memoizedState=g,vg(t,n)}else if(Io(n,Mo)){var Z={baseLanes:Me,cachePool:null,transitions:null};t.memoizedState=Z;var X=f!==null?f.baseLanes:n;vg(t,X)}else{var y=null,C;if(f!==null){var R=f.baseLanes;C=Zt(R,n)}else C=n;t.lanes=t.childLanes=Mo;var O={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=O,t.updateQueue=null,vg(t,C),null}else{var ye;f!==null?(ye=Zt(f.baseLanes,n),t.memoizedState=null):ye=n,vg(t,ye)}return Zn(e,t,u,n),t.child}function sH(e,t,n){var o=t.pendingProps;return Zn(e,t,o,n),t.child}function uH(e,t,n){var o=t.pendingProps.children;return Zn(e,t,o,n),t.child}function cH(e,t,n){{t.flags|=_r;{var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0}}var u=t.pendingProps,f=u.children;return Zn(e,t,f,n),t.child}function l4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=ku,t.flags|=eb)}function F1(e,t,n,o,u){if(t.type!==t.elementType){var f=n.propTypes;f&&Ol(f,o,"prop",Lr(n))}var g;{var y=Yd(t,n,!0);g=$d(t,y)}var C,R;Qd(t,u),sp(t);{if(sh.current=t,ml(!0),C=nf(e,t,n,o,g,u),R=of(),t.mode&Aa){fn(!0);try{C=nf(e,t,n,o,g,u),R=of()}finally{fn(!1)}}ml(!1)}return Nd(),e!==null&&!Hl?(bx(e,t,u),Gs(e,t,u)):(Cn()&&R&&by(t),t.flags|=Dd,Zn(e,t,C,u),t.child)}function s4(e,t,n,o,u){{switch(LU(t)){case!1:{var f=t.stateNode,g=t.type,y=new g(t.memoizedProps,f.context),C=y.state;f.updater.enqueueSetState(f,C,null);break}case!0:{t.flags|=xr,t.flags|=Qn;var R=new Error("Simulated error coming from DevTools"),O=hp(u);t.lanes=Zt(t.lanes,O);var Z=B1(t,Hc(R,t),O);Hy(t,Z);break}}if(t.type!==t.elementType){var X=n.propTypes;X&&Ol(X,o,"prop",Lr(n))}}var ye;ls(n)?(ye=!0,mv(t)):ye=!1,Qd(t,u);var Se=t.stateNode,xe;Se===null?(og(e,t),Jx(t,n,o),A1(t,n,o,u),xe=!0):e===null?xe=ZF(t,n,o,u):xe=eH(e,t,n,o,u);var at=H1(e,t,n,xe,ye,u);{var Dt=t.stateNode;xe&&Dt.props!==o&&(jc||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Jt(t)||"a component"),jc=!0)}return at}function H1(e,t,n,o,u,f){l4(e,t);var g=(t.flags&xr)!==zt;if(!o&&!g)return u&&Vw(t,n,!1),Gs(e,t,f);var y=t.stateNode;sh.current=t;var C;if(g&&typeof n.getDerivedStateFromError!="function")C=null,$x();else{sp(t);{if(ml(!0),C=y.render(),t.mode&Aa){fn(!0);try{y.render()}finally{fn(!1)}}ml(!1)}Nd()}return t.flags|=Dd,e!==null&&g?lH(e,t,C,f):Zn(e,t,C,f),t.memoizedState=y.state,u&&Vw(t,n,!0),t.child}function u4(e){var t=e.stateNode;t.pendingContext?jw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&jw(e,t.context,!1),jy(e,t.containerInfo)}function dH(e,t,n){if(u4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var o=t.pendingProps,u=t.memoizedState,f=u.element;fx(e,t),Lv(t,o,null,n);var g=t.memoizedState,y=t.stateNode,C=g.element;if(u.isDehydrated){var R={element:C,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},O=t.updateQueue;if(O.baseState=R,t.memoizedState=R,t.flags&Os){var Z=Hc(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 c4(e,t,C,n,Z)}else if(C!==f){var X=Hc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return c4(e,t,C,n,X)}else{hF(t);var ye=ox(t,null,C,n);t.child=ye;for(var Se=ye;Se;)Se.flags=Se.flags&~Ya|zs,Se=Se.sibling}}else{if(Kd(),C===f)return Gs(e,t,n);Zn(e,t,C,n)}return t.child}function c4(e,t,n,o,u){return Kd(),Ty(u),t.flags|=Os,Zn(e,t,n,o),t.child}function fH(e,t,n){vx(t),e===null&&xy(t);var o=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,g=u.children,y=oy(o,u);return y?g=null:f!==null&&oy(o,f)&&(t.flags|=op),l4(e,t),Zn(e,t,g,n),t.child}function pH(e,t){return e===null&&xy(t),null}function hH(e,t,n,o){og(e,t);var u=t.pendingProps,f=n,g=f._payload,y=f._init,C=y(g);t.type=C;var R=t.tag=_U(C),O=Fl(C,u),Z;switch(R){case p:return j1(t,C),t.type=C=hf(C),Z=F1(null,t,C,O,o),Z;case _:return t.type=C=_0(C),Z=s4(null,t,C,O,o),Z;case $:return t.type=C=b0(C),Z=a4(null,t,C,O,o),Z;case P:{if(t.type!==t.elementType){var X=C.propTypes;X&&Ol(X,O,"prop",Lr(C))}return Z=n4(null,t,C,Fl(C.type,O),o),Z}}var ye="";throw C!==null&&typeof C=="object"&&C.$$typeof===et&&(ye=" 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."+ye))}function mH(e,t,n,o,u){og(e,t),t.tag=_;var f;return ls(n)?(f=!0,mv(t)):f=!1,Qd(t,u),Jx(t,n,o),A1(t,n,o,u),H1(null,t,n,!0,f,u)}function vH(e,t,n,o){og(e,t);var u=t.pendingProps,f;{var g=Yd(t,n,!1);f=$d(t,g)}Qd(t,o);var y,C;sp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var R=Lr(n)||"Unknown";O1[R]||(c("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",R,R),O1[R]=!0)}t.mode&Aa&&Pl.recordLegacyContextWarning(t,null),ml(!0),sh.current=t,y=nf(null,t,n,u,f,o),C=of(),ml(!1)}if(Nd(),t.flags|=Dd,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var O=Lr(n)||"Unknown";uh[O]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",O,O,O),uh[O]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var Z=Lr(n)||"Unknown";uh[Z]||(c("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Z,Z,Z),uh[Z]=!0)}t.tag=_,t.memoizedState=null,t.updateQueue=null;var X=!1;return ls(n)?(X=!0,mv(t)):X=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,Fy(t),Xx(t,y),A1(t,n,u,o),H1(null,t,n,!0,X,o)}else{if(t.tag=p,t.mode&Aa){fn(!0);try{y=nf(null,t,n,u,f,o),C=of()}finally{fn(!1)}}return Cn()&&C&&by(t),Zn(null,t,y,o),j1(t,n),t.child}}function j1(e,t){{if(t&&t.childContextTypes&&c("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",o=Tu();o&&(n+=`
|
|
101
101
|
|
|
102
|
-
Check the render method of \``+o+"`.");var u=o||"",f=e._debugSource;f&&(u=f.fileName+":"+f.lineNumber),M1[u]||(M1[u]=!0,c("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 g=Lr(t)||"Unknown";ch[g]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",g),ch[g]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Lr(t)||"Unknown";P1[y]||(c("%s: Function components do not support getDerivedStateFromProps.",y),P1[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var w=Lr(t)||"Unknown";z1[w]||(c("%s: Function components do not support contextType.",w),z1[w]=!0)}}}var U1={dehydrated:null,treeContext:null,retryLane:pn};function V1(e){return{baseLanes:e,cachePool:iH(),transitions:null}}function gH(e,t){var n=null;return{baseLanes:Zt(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function _H(e,t,n,o){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return Wy(e,Zp)}function bH(e,t){return Im(e.childLanes,t)}function d4(e,t,n){var o=t.pendingProps;BU(t)&&(t.flags|=xr);var u=Ml.current,f=!1,g=(t.flags&xr)!==zt;if(g||_H(u,e)?(f=!0,t.flags&=~xr):(e===null||e.memoizedState!==null)&&(u=MF(u,_x)),u=ef(u),ju(t,u),e===null){xy(t);var y=t.memoizedState;if(y!==null){var w=y.dehydrated;if(w!==null)return xH(t,w)}var R=o.children,O=o.fallback;if(f){var Z=yH(t,R,O,n),X=t.child;return X.memoizedState=V1(n),t.memoizedState=U1,Z}else return W1(t,R)}else{var ye=e.memoizedState;if(ye!==null){var Se=ye.dehydrated;if(Se!==null)return TH(e,t,g,o,Se,ye,n)}if(f){var xe=o.fallback,at=o.children,Dt=wH(e,t,at,xe,n),wt=t.child,ir=e.child.memoizedState;return wt.memoizedState=ir===null?V1(n):gH(ir,n),wt.childLanes=bH(e,n),t.memoizedState=U1,Dt}else{var lr=o.children,fe=SH(e,t,lr,n);return t.memoizedState=null,fe}}}function W1(e,t,n){var o=e.mode,u={mode:"visible",children:t},f=Y1(u,o);return f.return=e,e.child=f,f}function yH(e,t,n,o){var u=e.mode,f=e.child,g={mode:"hidden",children:t},y,w;return(u&dr)===Nt&&f!==null?(y=f,y.childLanes=Me,y.pendingProps=g,e.mode&Hr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),w=Ku(n,u,o,null)):(y=Y1(g,u),w=Ku(n,u,o,null)),y.return=e,w.return=e,y.sibling=w,e.child=y,w}function Y1(e,t,n){return pT(e,t,Me,null)}function f4(e,t){return $c(e,t)}function SH(e,t,n,o){var u=e.child,f=u.sibling,g=f4(u,{mode:"visible",children:n});if((t.mode&dr)===Nt&&(g.lanes=o),g.return=t,g.sibling=null,f!==null){var y=t.deletions;y===null?(t.deletions=[f],t.flags|=_c):y.push(f)}return t.child=g,g}function wH(e,t,n,o,u){var f=t.mode,g=e.child,y=g.sibling,w={mode:"hidden",children:n},R;if((f&dr)===Nt&&t.child!==g){var O=t.child;R=O,R.childLanes=Me,R.pendingProps=w,t.mode&Hr&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=g.selfBaseDuration,R.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else R=f4(g,w),R.subtreeFlags=g.subtreeFlags&Ms;var Z;return y!==null?Z=$c(y,o):(Z=Ku(o,f,u,null),Z.flags|=Ya),Z.return=t,R.return=t,R.sibling=Z,t.child=R,Z}function ng(e,t,n,o){o!==null&&Ty(o),Xd(t,e.child,null,n);var u=t.pendingProps,f=u.children,g=W1(t,f);return g.flags|=Ya,t.memoizedState=null,g}function CH(e,t,n,o,u){var f=t.mode,g={mode:"visible",children:n},y=Y1(g,f),w=Ku(o,f,u,null);return w.flags|=Ya,y.return=t,w.return=t,y.sibling=w,t.child=y,(t.mode&dr)!==Nt&&Xd(t,e.child,null,u),w}function xH(e,t,n){return(e.mode&dr)===Nt?(c("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Ht):uy(t)?e.lanes=Tc:e.lanes=Mo,null}function TH(e,t,n,o,u,f,g){if(n)if(t.flags&Os){t.flags&=~Os;var fe=N1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ng(e,t,g,fe)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=xr,null;var Re=o.children,pe=o.fallback,$e=CH(e,t,Re,pe,g),dt=t.child;return dt.memoizedState=V1(g),t.memoizedState=U1,$e}else{if(fF(),(t.mode&dr)===Nt)return ng(e,t,g,null);if(uy(u)){var y,w,R;{var O=D9(u);y=O.digest,w=O.message,R=O.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 X=N1(Z,y,R);return ng(e,t,g,X)}var ye=Io(g,e.childLanes);if(Hl||ye){var Se=mg();if(Se!==null){var xe=zP(Se,g);if(xe!==pn&&xe!==f.retryLane){f.retryLane=xe;var at=fa;xo(e,xe),on(Se,e,xe,at)}}p0();var Dt=N1(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 ng(e,t,g,Dt)}else if(zC(u)){t.flags|=xr,t.child=e.child;var wt=tU.bind(null,e);return A9(u,wt),null}else{mF(t,u,f.treeContext);var ir=o.children,lr=W1(t,ir);return lr.flags|=zs,lr}}}function p4(e,t,n){e.lanes=Zt(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=Zt(o.lanes,t)),zy(e.return,t,n)}function EH(e,t,n){for(var o=t;o!==null;){if(o.tag===W){var u=o.memoizedState;u!==null&&p4(o,n,e)}else if(o.tag===le)p4(o,n,e);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function kH(e){for(var t=e,n=null;t!==null;){var o=t.alternate;o!==null&&Pv(o)===null&&(n=t),t=t.sibling}return n}function RH(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!I1[e])if(I1[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:c('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else c('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function DH(e,t){e!==void 0&&!ag[e]&&(e!=="collapsed"&&e!=="hidden"?(ag[e]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(ag[e]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function h4(e,t){{var n=Ja(e),o=!n&&typeof Va(e)=="function";if(n||o){var u=n?"array":"iterable";return c("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,t,u),!1}}return!0}function AH(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Ja(e)){for(var n=0;n<e.length;n++)if(!h4(e[n],n))return}else{var o=Va(e);if(typeof o=="function"){var u=o.call(e);if(u)for(var f=u.next(),g=0;!f.done;f=u.next()){if(!h4(f.value,g))return;g++}}else c('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function $1(e,t,n,o,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=o,f.tail=n,f.tailMode=u)}function m4(e,t,n){var o=t.pendingProps,u=o.revealOrder,f=o.tail,g=o.children;RH(u),DH(f,u),AH(g,u),Zn(e,t,g,n);var y=Ml.current,w=Wy(y,Zp);if(w)y=Yy(y,Zp),t.flags|=xr;else{var R=e!==null&&(e.flags&xr)!==zt;R&&EH(t,t.child,n),y=ef(y)}if(ju(t,y),(t.mode&dr)===Nt)t.memoizedState=null;else switch(u){case"forwards":{var O=kH(t.child),Z;O===null?(Z=t.child,t.child=null):(Z=O.sibling,O.sibling=null),$1(t,!1,Z,O,f);break}case"backwards":{var X=null,ye=t.child;for(t.child=null;ye!==null;){var Se=ye.alternate;if(Se!==null&&Pv(Se)===null){t.child=ye;break}var xe=ye.sibling;ye.sibling=X,X=ye,ye=xe}$1(t,!0,X,null,f);break}case"together":{$1(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function NH(e,t,n){jy(t,t.stateNode.containerInfo);var o=t.pendingProps;return e===null?t.child=Xd(t,null,o,n):Zn(e,t,o,n),t.child}var v4=!1;function LH(e,t,n){var o=t.type,u=o._context,f=t.pendingProps,g=t.memoizedProps,y=f.value;{"value"in f||v4||(v4=!0,c("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var w=t.type.propTypes;w&&Ol(w,f,"prop","Context.Provider")}if(sx(t,u,y),g!==null){var R=g.value;if(jo(R,y)){if(g.children===f.children&&!pv())return Gs(e,t,n)}else RF(t,u,n)}var O=f.children;return Zn(e,t,O,n),t.child}var g4=!1;function BH(e,t,n){var o=t.type;o._context===void 0?o!==o.Consumer&&(g4||(g4=!0,c("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var u=t.pendingProps,f=u.children;typeof f!="function"&&c("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Qd(t,n);var g=$a(o);sp(t);var y;return sh.current=t,ml(!0),y=f(g),ml(!1),Nd(),t.flags|=Dd,Zn(e,t,y,n),t.child}function dh(){Hl=!0}function og(e,t){(t.mode&dr)===Nt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ya)}function Gs(e,t,n){return e!==null&&(t.dependencies=e.dependencies),$x(),Ch(t.lanes),Io(n,t.childLanes)?(EF(e,t),t.child):null}function OH(e,t,n){{var o=t.return;if(o===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===o.child)o.child=n;else{var u=o.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=n}var f=o.deletions;return f===null?(o.deletions=[e],o.flags|=_c):f.push(e),n.flags|=Ya,n}}function G1(e,t){var n=e.lanes;return!!Io(n,t)}function zH(e,t,n){switch(t.tag){case S:u4(t);var o=t.stateNode;Kd();break;case C:vx(t);break;case _:{var u=t.type;ls(u)&&mv(t);break}case T:jy(t,t.stateNode.containerInfo);break;case I:{var f=t.memoizedProps.value,g=t.type._context;sx(t,g,f);break}case F:{var y=Io(n,t.childLanes);y&&(t.flags|=_r);{var w=t.stateNode;w.effectDuration=0,w.passiveEffectDuration=0}}break;case W:{var R=t.memoizedState;if(R!==null){if(R.dehydrated!==null)return ju(t,ef(Ml.current)),t.flags|=xr,null;var O=t.child,Z=O.childLanes;if(Io(n,Z))return d4(e,t,n);ju(t,ef(Ml.current));var X=Gs(e,t,n);return X!==null?X.sibling:null}else ju(t,ef(Ml.current));break}case le:{var ye=(e.flags&xr)!==zt,Se=Io(n,t.childLanes);if(ye){if(Se)return m4(e,t,n);t.flags|=xr}var xe=t.memoizedState;if(xe!==null&&(xe.rendering=null,xe.tail=null,xe.lastEffect=null),ju(t,Ml.current),Se)break;return null}case V:case re:return t.lanes=Me,i4(e,t,n)}return Gs(e,t,n)}function _4(e,t,n){if(t._debugNeedsRemount&&e!==null)return OH(e,t,x0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var o=e.memoizedProps,u=t.pendingProps;if(o!==u||pv()||t.type!==e.type)Hl=!0;else{var f=G1(e,n);if(!f&&(t.flags&xr)===zt)return Hl=!1,zH(e,t,n);(e.flags&Z_)!==zt?Hl=!0:Hl=!1}}else if(Hl=!1,wn()&&iF(t)){var g=t.index,y=lF();$C(t,y,g)}switch(t.lanes=Me,t.tag){case b:return vH(e,t,t.type,n);case be:{var w=t.elementType;return hH(e,t,w,n)}case p:{var R=t.type,O=t.pendingProps,Z=t.elementType===R?O:Fl(R,O);return F1(e,t,R,Z,n)}case _:{var X=t.type,ye=t.pendingProps,Se=t.elementType===X?ye:Fl(X,ye);return s4(e,t,X,Se,n)}case S:return dH(e,t,n);case C:return fH(e,t,n);case k:return pH(e,t);case W:return d4(e,t,n);case T:return NH(e,t,n);case $:{var xe=t.type,at=t.pendingProps,Dt=t.elementType===xe?at:Fl(xe,at);return a4(e,t,xe,Dt,n)}case D:return sH(e,t,n);case A:return uH(e,t,n);case F:return cH(e,t,n);case I:return LH(e,t,n);case q:return BH(e,t,n);case P:{var wt=t.type,ir=t.pendingProps,lr=Fl(wt,ir);if(t.type!==t.elementType){var fe=wt.propTypes;fe&&Ol(fe,lr,"prop",Lr(wt))}return lr=Fl(wt.type,lr),n4(e,t,wt,lr,n)}case oe:return o4(e,t,t.type,t.pendingProps,n);case Q:{var Re=t.type,pe=t.pendingProps,$e=t.elementType===Re?pe:Fl(Re,pe);return mH(e,t,Re,$e,n)}case le:return m4(e,t,n);case we:break;case V:return i4(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 lf(e){e.flags|=_r}function b4(e){e.flags|=ku,e.flags|=eb}var y4,q1,S4,w4;y4=function(e,t,n,o){for(var u=t.child;u!==null;){if(u.tag===C||u.tag===k)a9(e,u.stateNode);else if(u.tag!==T){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},q1=function(e,t){},S4=function(e,t,n,o,u){var f=e.memoizedProps;if(f!==o){var g=t.stateNode,y=Uy(),w=o9(g,n,f,o,u,y);t.updateQueue=w,w&&lf(t)}},w4=function(e,t,n,o){n!==o&&lf(t)};function fh(e,t){if(!wn())switch(e.tailMode){case"hidden":{for(var n=e.tail,o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?e.tail=null:o.sibling=null;break}case"collapsed":{for(var u=e.tail,f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:f.sibling=null;break}}}function xn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=Me,o=zt;if(t){if((e.mode&Hr)!==Nt){for(var w=e.selfBaseDuration,R=e.child;R!==null;)n=Zt(n,Zt(R.lanes,R.childLanes)),o|=R.subtreeFlags&Ms,o|=R.flags&Ms,w+=R.treeBaseDuration,R=R.sibling;e.treeBaseDuration=w}else for(var O=e.child;O!==null;)n=Zt(n,Zt(O.lanes,O.childLanes)),o|=O.subtreeFlags&Ms,o|=O.flags&Ms,O.return=e,O=O.sibling;e.subtreeFlags|=o}else{if((e.mode&Hr)!==Nt){for(var u=e.actualDuration,f=e.selfBaseDuration,g=e.child;g!==null;)n=Zt(n,Zt(g.lanes,g.childLanes)),o|=g.subtreeFlags,o|=g.flags,u+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;e.actualDuration=u,e.treeBaseDuration=f}else for(var y=e.child;y!==null;)n=Zt(n,Zt(y.lanes,y.childLanes)),o|=y.subtreeFlags,o|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=o}return e.childLanes=n,t}function PH(e,t,n){if(yF()&&(t.mode&dr)!==Nt&&(t.flags&xr)===zt)return ZC(t),Kd(),t.flags|=Os|ip|Qn,!1;var o=yv(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!o)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(_F(t),xn(t),(t.mode&Hr)!==Nt){var u=n!==null;if(u){var f=t.child;f!==null&&(t.treeBaseDuration-=f.treeBaseDuration)}}return!1}else{if(Kd(),(t.flags&xr)===zt&&(t.memoizedState=null),t.flags|=_r,xn(t),(t.mode&Hr)!==Nt){var g=n!==null;if(g){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return ex(),!0}function C4(e,t,n){var o=t.pendingProps;switch(yy(t),t.tag){case b:case be:case oe:case p:case $:case D:case A:case F:case q:case P:return xn(t),null;case _:{var u=t.type;return ls(u)&&hv(t),xn(t),null}case S:{var f=t.stateNode;if(Zd(t),vy(t),Gy(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),e===null||e.child===null){var g=yv(t);if(g)lf(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Os)!==zt)&&(t.flags|=bc,ex())}}return q1(e,t),xn(t),null}case C:{Vy(t);var w=mx(),R=t.type;if(e!==null&&t.stateNode!=null)S4(e,t,R,o,w),e.ref!==t.ref&&b4(t);else{if(!o){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 xn(t),null}var O=Uy(),Z=yv(t);if(Z)vF(t,w,O)&&lf(t);else{var X=r9(R,o,w,O,t);y4(X,t,!1,!1),t.stateNode=X,n9(X,R,o,w)&&lf(t)}t.ref!==null&&b4(t)}return xn(t),null}case k:{var ye=o;if(e&&t.stateNode!=null){var Se=e.memoizedProps;w4(e,t,Se,ye)}else{if(typeof ye!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var xe=mx(),at=Uy(),Dt=yv(t);Dt?gF(t)&&lf(t):t.stateNode=i9(ye,xe,at,t)}return xn(t),null}case W:{tf(t);var wt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var ir=PH(e,t,wt);if(!ir)return t.flags&Qn?t:null}if((t.flags&xr)!==zt)return t.lanes=n,(t.mode&Hr)!==Nt&&_1(t),t;var lr=wt!==null,fe=e!==null&&e.memoizedState!==null;if(lr!==fe&&lr){var Re=t.child;if(Re.flags|=yc,(t.mode&dr)!==Nt){var pe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!De);pe||Wy(Ml.current,_x)?Uj():p0()}}var $e=t.updateQueue;if($e!==null&&(t.flags|=_r),xn(t),(t.mode&Hr)!==Nt&&lr){var dt=t.child;dt!==null&&(t.treeBaseDuration-=dt.treeBaseDuration)}return null}case T:return Zd(t),q1(e,t),e===null&&Z9(t.stateNode.containerInfo),xn(t),null;case I:var nt=t.type._context;return Oy(nt,t),xn(t),null;case Q:{var Mt=t.type;return ls(Mt)&&hv(t),xn(t),null}case le:{tf(t);var Ut=t.memoizedState;if(Ut===null)return xn(t),null;var Ur=(t.flags&xr)!==zt,Sr=Ut.rendering;if(Sr===null)if(Ur)fh(Ut,!1);else{var Fa=Wj()&&(e===null||(e.flags&xr)===zt);if(!Fa)for(var wr=t.child;wr!==null;){var Na=Pv(wr);if(Na!==null){Ur=!0,t.flags|=xr,fh(Ut,!1);var Hn=Na.updateQueue;return Hn!==null&&(t.updateQueue=Hn,t.flags|=_r),t.subtreeFlags=zt,kF(t,n),ju(t,Yy(Ml.current,Zp)),t.child}wr=wr.sibling}Ut.tail!==null&&dn()>Y4()&&(t.flags|=xr,Ur=!0,fh(Ut,!1),t.lanes=ww)}else{if(!Ur){var Dn=Pv(Sr);if(Dn!==null){t.flags|=xr,Ur=!0;var Wo=Dn.updateQueue;if(Wo!==null&&(t.updateQueue=Wo,t.flags|=_r),fh(Ut,!0),Ut.tail===null&&Ut.tailMode==="hidden"&&!Sr.alternate&&!wn())return xn(t),null}else dn()*2-Ut.renderingStartTime>Y4()&&n!==Mo&&(t.flags|=xr,Ur=!0,fh(Ut,!1),t.lanes=ww)}if(Ut.isBackwards)Sr.sibling=t.child,t.child=Sr;else{var ro=Ut.last;ro!==null?ro.sibling=Sr:t.child=Sr,Ut.last=Sr}}if(Ut.tail!==null){var ao=Ut.tail;Ut.rendering=ao,Ut.tail=ao.sibling,Ut.renderingStartTime=dn(),ao.sibling=null;var jn=Ml.current;return Ur?jn=Yy(jn,Zp):jn=ef(jn),ju(t,jn),ao}return xn(t),null}case we:break;case V:case re:{f0(t);var Qs=t.memoizedState,mf=Qs!==null;if(e!==null){var Rh=e.memoizedState,ms=Rh!==null;ms!==mf&&!me&&(t.flags|=yc)}return!mf||(t.mode&dr)===Nt?xn(t):Io(hs,Mo)&&(xn(t),t.subtreeFlags&(Ya|_r)&&(t.flags|=yc)),null}case ue:return null;case z: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 MH(e,t,n){switch(yy(t),t.tag){case _:{var o=t.type;ls(o)&&hv(t);var u=t.flags;return u&Qn?(t.flags=u&~Qn|xr,(t.mode&Hr)!==Nt&&_1(t),t):null}case S:{var f=t.stateNode;Zd(t),vy(t),Gy();var g=t.flags;return(g&Qn)!==zt&&(g&xr)===zt?(t.flags=g&~Qn|xr,t):null}case C:return Vy(t),null;case W:{tf(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.");Kd()}var w=t.flags;return w&Qn?(t.flags=w&~Qn|xr,(t.mode&Hr)!==Nt&&_1(t),t):null}case le:return tf(t),null;case T:return Zd(t),null;case I:var R=t.type._context;return Oy(R,t),null;case V:case re:return f0(t),null;case ue:return null;default:return null}}function x4(e,t,n){switch(yy(t),t.tag){case _:{var o=t.type.childContextTypes;o!=null&&hv(t);break}case S:{var u=t.stateNode;Zd(t),vy(t),Gy();break}case C:{Vy(t);break}case T:Zd(t);break;case W:tf(t);break;case le:tf(t);break;case I:var f=t.type._context;Oy(f,t);break;case V:case re:f0(t);break}}var T4=null;T4=new Set;var ig=!1,Tn=!1,IH=typeof WeakSet=="function"?WeakSet:Set,gt=null,sf=null,uf=null;function FH(e){X_(null,function(){throw e}),J_()}var HH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Hr)try{fs(),t.componentWillUnmount()}finally{ds(e)}else t.componentWillUnmount()};function E4(e,t){try{Wu(Za,e)}catch(n){la(e,t,n)}}function K1(e,t,n){try{HH(e,n)}catch(o){la(e,t,o)}}function jH(e,t,n){try{n.componentDidMount()}catch(o){la(e,t,o)}}function k4(e,t){try{A4(e)}catch(n){la(e,t,n)}}function cf(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var o;try{if(st&&Ot&&e.mode&Hr)try{fs(),o=n(null)}finally{ds(e)}else o=n(null)}catch(u){la(e,t,u)}typeof o=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Jt(e))}else n.current=null}function lg(e,t,n){try{n()}catch(o){la(e,t,o)}}var R4=null,D4=!1;function UH(e,t){R4=e9(e.containerInfo),gt=t,VH();var n=D4;return D4=!1,R4=null,n}function VH(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&rb)!==zt&&t!==null?(t.return=e,gt=t):WH()}}function WH(){for(;gt!==null;){var e=gt;ba(e);try{YH(e)}catch(n){la(e,e.return,n)}cn();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function YH(e){var t=e.alternate,n=e.flags;if((n&bc)!==zt){switch(ba(e),e.tag){case p:case $:case oe:break;case _:{if(t!==null){var o=t.memoizedProps,u=t.memoizedState,f=e.stateNode;e.type===e.elementType&&!jc&&(f.props!==e.memoizedProps&&c("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(e)||"instance"),f.state!==e.memoizedState&&c("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(e)||"instance"));var g=f.getSnapshotBeforeUpdate(e.elementType===e.type?o:Fl(e.type,o),u);{var y=T4;g===void 0&&!y.has(e.type)&&(y.add(e.type),c("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Jt(e)))}f.__reactInternalSnapshotBeforeUpdate=g}break}case S:{{var w=e.stateNode;T9(w.containerInfo)}break}case C:case k:case T:case Q: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.")}cn()}}function jl(e,t,n){var o=t.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next,g=f;do{if((g.tag&e)===e){var y=g.destroy;g.destroy=void 0,y!==void 0&&((e&Cn)!==To?iP(t):(e&Za)!==To&&gw(t),(e&ss)!==To&&Th(!0),lg(t,n,y),(e&ss)!==To&&Th(!1),(e&Cn)!==To?lP():(e&Za)!==To&&_w())}g=g.next}while(g!==f)}}function Wu(e,t){var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var u=o.next,f=u;do{if((f.tag&e)===e){(e&Cn)!==To?nP(t):(e&Za)!==To&&sP(t);var g=f.create;(e&ss)!==To&&Th(!0),f.destroy=g(),(e&ss)!==To&&Th(!1),(e&Cn)!==To?oP():(e&Za)!==To&&uP();{var y=f.destroy;if(y!==void 0&&typeof y!="function"){var w=void 0;(f.tag&Za)!==zt?w="useLayoutEffect":(f.tag&ss)!==zt?w="useInsertionEffect":w="useEffect";var R=void 0;y===null?R=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?R=`
|
|
102
|
+
Check the render method of \``+o+"`.");var u=o||"",f=e._debugSource;f&&(u=f.fileName+":"+f.lineNumber),M1[u]||(M1[u]=!0,c("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 g=Lr(t)||"Unknown";ch[g]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",g),ch[g]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Lr(t)||"Unknown";P1[y]||(c("%s: Function components do not support getDerivedStateFromProps.",y),P1[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Lr(t)||"Unknown";z1[C]||(c("%s: Function components do not support contextType.",C),z1[C]=!0)}}}var U1={dehydrated:null,treeContext:null,retryLane:pn};function V1(e){return{baseLanes:e,cachePool:iH(),transitions:null}}function gH(e,t){var n=null;return{baseLanes:Zt(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function _H(e,t,n,o){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return Wy(e,Zp)}function bH(e,t){return Im(e.childLanes,t)}function d4(e,t,n){var o=t.pendingProps;BU(t)&&(t.flags|=xr);var u=Ml.current,f=!1,g=(t.flags&xr)!==zt;if(g||_H(u,e)?(f=!0,t.flags&=~xr):(e===null||e.memoizedState!==null)&&(u=MF(u,_x)),u=ef(u),ju(t,u),e===null){xy(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return xH(t,C)}var R=o.children,O=o.fallback;if(f){var Z=yH(t,R,O,n),X=t.child;return X.memoizedState=V1(n),t.memoizedState=U1,Z}else return W1(t,R)}else{var ye=e.memoizedState;if(ye!==null){var Se=ye.dehydrated;if(Se!==null)return TH(e,t,g,o,Se,ye,n)}if(f){var xe=o.fallback,at=o.children,Dt=CH(e,t,at,xe,n),Ct=t.child,ir=e.child.memoizedState;return Ct.memoizedState=ir===null?V1(n):gH(ir,n),Ct.childLanes=bH(e,n),t.memoizedState=U1,Dt}else{var lr=o.children,fe=SH(e,t,lr,n);return t.memoizedState=null,fe}}}function W1(e,t,n){var o=e.mode,u={mode:"visible",children:t},f=Y1(u,o);return f.return=e,e.child=f,f}function yH(e,t,n,o){var u=e.mode,f=e.child,g={mode:"hidden",children:t},y,C;return(u&dr)===Nt&&f!==null?(y=f,y.childLanes=Me,y.pendingProps=g,e.mode&Hr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Ku(n,u,o,null)):(y=Y1(g,u),C=Ku(n,u,o,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function Y1(e,t,n){return pT(e,t,Me,null)}function f4(e,t){return $c(e,t)}function SH(e,t,n,o){var u=e.child,f=u.sibling,g=f4(u,{mode:"visible",children:n});if((t.mode&dr)===Nt&&(g.lanes=o),g.return=t,g.sibling=null,f!==null){var y=t.deletions;y===null?(t.deletions=[f],t.flags|=_c):y.push(f)}return t.child=g,g}function CH(e,t,n,o,u){var f=t.mode,g=e.child,y=g.sibling,C={mode:"hidden",children:n},R;if((f&dr)===Nt&&t.child!==g){var O=t.child;R=O,R.childLanes=Me,R.pendingProps=C,t.mode&Hr&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=g.selfBaseDuration,R.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else R=f4(g,C),R.subtreeFlags=g.subtreeFlags&Ms;var Z;return y!==null?Z=$c(y,o):(Z=Ku(o,f,u,null),Z.flags|=Ya),Z.return=t,R.return=t,R.sibling=Z,t.child=R,Z}function ng(e,t,n,o){o!==null&&Ty(o),Xd(t,e.child,null,n);var u=t.pendingProps,f=u.children,g=W1(t,f);return g.flags|=Ya,t.memoizedState=null,g}function wH(e,t,n,o,u){var f=t.mode,g={mode:"visible",children:n},y=Y1(g,f),C=Ku(o,f,u,null);return C.flags|=Ya,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&dr)!==Nt&&Xd(t,e.child,null,u),C}function xH(e,t,n){return(e.mode&dr)===Nt?(c("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Ht):uy(t)?e.lanes=Tc:e.lanes=Mo,null}function TH(e,t,n,o,u,f,g){if(n)if(t.flags&Os){t.flags&=~Os;var fe=N1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ng(e,t,g,fe)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=xr,null;var Re=o.children,pe=o.fallback,$e=wH(e,t,Re,pe,g),dt=t.child;return dt.memoizedState=V1(g),t.memoizedState=U1,$e}else{if(fF(),(t.mode&dr)===Nt)return ng(e,t,g,null);if(uy(u)){var y,C,R;{var O=D9(u);y=O.digest,C=O.message,R=O.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 X=N1(Z,y,R);return ng(e,t,g,X)}var ye=Io(g,e.childLanes);if(Hl||ye){var Se=mg();if(Se!==null){var xe=zP(Se,g);if(xe!==pn&&xe!==f.retryLane){f.retryLane=xe;var at=fa;xo(e,xe),on(Se,e,xe,at)}}p0();var Dt=N1(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 ng(e,t,g,Dt)}else if(zw(u)){t.flags|=xr,t.child=e.child;var Ct=tU.bind(null,e);return A9(u,Ct),null}else{mF(t,u,f.treeContext);var ir=o.children,lr=W1(t,ir);return lr.flags|=zs,lr}}}function p4(e,t,n){e.lanes=Zt(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=Zt(o.lanes,t)),zy(e.return,t,n)}function EH(e,t,n){for(var o=t;o!==null;){if(o.tag===W){var u=o.memoizedState;u!==null&&p4(o,n,e)}else if(o.tag===le)p4(o,n,e);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function kH(e){for(var t=e,n=null;t!==null;){var o=t.alternate;o!==null&&Pv(o)===null&&(n=t),t=t.sibling}return n}function RH(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!I1[e])if(I1[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{c('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:c('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else c('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function DH(e,t){e!==void 0&&!ag[e]&&(e!=="collapsed"&&e!=="hidden"?(ag[e]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(ag[e]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function h4(e,t){{var n=Ja(e),o=!n&&typeof Va(e)=="function";if(n||o){var u=n?"array":"iterable";return c("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,t,u),!1}}return!0}function AH(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Ja(e)){for(var n=0;n<e.length;n++)if(!h4(e[n],n))return}else{var o=Va(e);if(typeof o=="function"){var u=o.call(e);if(u)for(var f=u.next(),g=0;!f.done;f=u.next()){if(!h4(f.value,g))return;g++}}else c('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function $1(e,t,n,o,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=o,f.tail=n,f.tailMode=u)}function m4(e,t,n){var o=t.pendingProps,u=o.revealOrder,f=o.tail,g=o.children;RH(u),DH(f,u),AH(g,u),Zn(e,t,g,n);var y=Ml.current,C=Wy(y,Zp);if(C)y=Yy(y,Zp),t.flags|=xr;else{var R=e!==null&&(e.flags&xr)!==zt;R&&EH(t,t.child,n),y=ef(y)}if(ju(t,y),(t.mode&dr)===Nt)t.memoizedState=null;else switch(u){case"forwards":{var O=kH(t.child),Z;O===null?(Z=t.child,t.child=null):(Z=O.sibling,O.sibling=null),$1(t,!1,Z,O,f);break}case"backwards":{var X=null,ye=t.child;for(t.child=null;ye!==null;){var Se=ye.alternate;if(Se!==null&&Pv(Se)===null){t.child=ye;break}var xe=ye.sibling;ye.sibling=X,X=ye,ye=xe}$1(t,!0,X,null,f);break}case"together":{$1(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function NH(e,t,n){jy(t,t.stateNode.containerInfo);var o=t.pendingProps;return e===null?t.child=Xd(t,null,o,n):Zn(e,t,o,n),t.child}var v4=!1;function LH(e,t,n){var o=t.type,u=o._context,f=t.pendingProps,g=t.memoizedProps,y=f.value;{"value"in f||v4||(v4=!0,c("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&Ol(C,f,"prop","Context.Provider")}if(sx(t,u,y),g!==null){var R=g.value;if(jo(R,y)){if(g.children===f.children&&!pv())return Gs(e,t,n)}else RF(t,u,n)}var O=f.children;return Zn(e,t,O,n),t.child}var g4=!1;function BH(e,t,n){var o=t.type;o._context===void 0?o!==o.Consumer&&(g4||(g4=!0,c("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var u=t.pendingProps,f=u.children;typeof f!="function"&&c("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Qd(t,n);var g=$a(o);sp(t);var y;return sh.current=t,ml(!0),y=f(g),ml(!1),Nd(),t.flags|=Dd,Zn(e,t,y,n),t.child}function dh(){Hl=!0}function og(e,t){(t.mode&dr)===Nt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ya)}function Gs(e,t,n){return e!==null&&(t.dependencies=e.dependencies),$x(),wh(t.lanes),Io(n,t.childLanes)?(EF(e,t),t.child):null}function OH(e,t,n){{var o=t.return;if(o===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===o.child)o.child=n;else{var u=o.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=n}var f=o.deletions;return f===null?(o.deletions=[e],o.flags|=_c):f.push(e),n.flags|=Ya,n}}function G1(e,t){var n=e.lanes;return!!Io(n,t)}function zH(e,t,n){switch(t.tag){case S:u4(t);var o=t.stateNode;Kd();break;case w:vx(t);break;case _:{var u=t.type;ls(u)&&mv(t);break}case T:jy(t,t.stateNode.containerInfo);break;case I:{var f=t.memoizedProps.value,g=t.type._context;sx(t,g,f);break}case F:{var y=Io(n,t.childLanes);y&&(t.flags|=_r);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case W:{var R=t.memoizedState;if(R!==null){if(R.dehydrated!==null)return ju(t,ef(Ml.current)),t.flags|=xr,null;var O=t.child,Z=O.childLanes;if(Io(n,Z))return d4(e,t,n);ju(t,ef(Ml.current));var X=Gs(e,t,n);return X!==null?X.sibling:null}else ju(t,ef(Ml.current));break}case le:{var ye=(e.flags&xr)!==zt,Se=Io(n,t.childLanes);if(ye){if(Se)return m4(e,t,n);t.flags|=xr}var xe=t.memoizedState;if(xe!==null&&(xe.rendering=null,xe.tail=null,xe.lastEffect=null),ju(t,Ml.current),Se)break;return null}case V:case re:return t.lanes=Me,i4(e,t,n)}return Gs(e,t,n)}function _4(e,t,n){if(t._debugNeedsRemount&&e!==null)return OH(e,t,x0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var o=e.memoizedProps,u=t.pendingProps;if(o!==u||pv()||t.type!==e.type)Hl=!0;else{var f=G1(e,n);if(!f&&(t.flags&xr)===zt)return Hl=!1,zH(e,t,n);(e.flags&Z_)!==zt?Hl=!0:Hl=!1}}else if(Hl=!1,Cn()&&iF(t)){var g=t.index,y=lF();$w(t,y,g)}switch(t.lanes=Me,t.tag){case b:return vH(e,t,t.type,n);case be:{var C=t.elementType;return hH(e,t,C,n)}case p:{var R=t.type,O=t.pendingProps,Z=t.elementType===R?O:Fl(R,O);return F1(e,t,R,Z,n)}case _:{var X=t.type,ye=t.pendingProps,Se=t.elementType===X?ye:Fl(X,ye);return s4(e,t,X,Se,n)}case S:return dH(e,t,n);case w:return fH(e,t,n);case k:return pH(e,t);case W:return d4(e,t,n);case T:return NH(e,t,n);case $:{var xe=t.type,at=t.pendingProps,Dt=t.elementType===xe?at:Fl(xe,at);return a4(e,t,xe,Dt,n)}case D:return sH(e,t,n);case A:return uH(e,t,n);case F:return cH(e,t,n);case I:return LH(e,t,n);case q:return BH(e,t,n);case P:{var Ct=t.type,ir=t.pendingProps,lr=Fl(Ct,ir);if(t.type!==t.elementType){var fe=Ct.propTypes;fe&&Ol(fe,lr,"prop",Lr(Ct))}return lr=Fl(Ct.type,lr),n4(e,t,Ct,lr,n)}case oe:return o4(e,t,t.type,t.pendingProps,n);case Q:{var Re=t.type,pe=t.pendingProps,$e=t.elementType===Re?pe:Fl(Re,pe);return mH(e,t,Re,$e,n)}case le:return m4(e,t,n);case Ce:break;case V:return i4(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 lf(e){e.flags|=_r}function b4(e){e.flags|=ku,e.flags|=eb}var y4,q1,S4,C4;y4=function(e,t,n,o){for(var u=t.child;u!==null;){if(u.tag===w||u.tag===k)a9(e,u.stateNode);else if(u.tag!==T){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},q1=function(e,t){},S4=function(e,t,n,o,u){var f=e.memoizedProps;if(f!==o){var g=t.stateNode,y=Uy(),C=o9(g,n,f,o,u,y);t.updateQueue=C,C&&lf(t)}},C4=function(e,t,n,o){n!==o&&lf(t)};function fh(e,t){if(!Cn())switch(e.tailMode){case"hidden":{for(var n=e.tail,o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?e.tail=null:o.sibling=null;break}case"collapsed":{for(var u=e.tail,f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:f.sibling=null;break}}}function xn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=Me,o=zt;if(t){if((e.mode&Hr)!==Nt){for(var C=e.selfBaseDuration,R=e.child;R!==null;)n=Zt(n,Zt(R.lanes,R.childLanes)),o|=R.subtreeFlags&Ms,o|=R.flags&Ms,C+=R.treeBaseDuration,R=R.sibling;e.treeBaseDuration=C}else for(var O=e.child;O!==null;)n=Zt(n,Zt(O.lanes,O.childLanes)),o|=O.subtreeFlags&Ms,o|=O.flags&Ms,O.return=e,O=O.sibling;e.subtreeFlags|=o}else{if((e.mode&Hr)!==Nt){for(var u=e.actualDuration,f=e.selfBaseDuration,g=e.child;g!==null;)n=Zt(n,Zt(g.lanes,g.childLanes)),o|=g.subtreeFlags,o|=g.flags,u+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;e.actualDuration=u,e.treeBaseDuration=f}else for(var y=e.child;y!==null;)n=Zt(n,Zt(y.lanes,y.childLanes)),o|=y.subtreeFlags,o|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=o}return e.childLanes=n,t}function PH(e,t,n){if(yF()&&(t.mode&dr)!==Nt&&(t.flags&xr)===zt)return Zw(t),Kd(),t.flags|=Os|ip|Qn,!1;var o=yv(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!o)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(_F(t),xn(t),(t.mode&Hr)!==Nt){var u=n!==null;if(u){var f=t.child;f!==null&&(t.treeBaseDuration-=f.treeBaseDuration)}}return!1}else{if(Kd(),(t.flags&xr)===zt&&(t.memoizedState=null),t.flags|=_r,xn(t),(t.mode&Hr)!==Nt){var g=n!==null;if(g){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return ex(),!0}function w4(e,t,n){var o=t.pendingProps;switch(yy(t),t.tag){case b:case be:case oe:case p:case $:case D:case A:case F:case q:case P:return xn(t),null;case _:{var u=t.type;return ls(u)&&hv(t),xn(t),null}case S:{var f=t.stateNode;if(Zd(t),vy(t),Gy(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),e===null||e.child===null){var g=yv(t);if(g)lf(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Os)!==zt)&&(t.flags|=bc,ex())}}return q1(e,t),xn(t),null}case w:{Vy(t);var C=mx(),R=t.type;if(e!==null&&t.stateNode!=null)S4(e,t,R,o,C),e.ref!==t.ref&&b4(t);else{if(!o){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 xn(t),null}var O=Uy(),Z=yv(t);if(Z)vF(t,C,O)&&lf(t);else{var X=r9(R,o,C,O,t);y4(X,t,!1,!1),t.stateNode=X,n9(X,R,o,C)&&lf(t)}t.ref!==null&&b4(t)}return xn(t),null}case k:{var ye=o;if(e&&t.stateNode!=null){var Se=e.memoizedProps;C4(e,t,Se,ye)}else{if(typeof ye!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var xe=mx(),at=Uy(),Dt=yv(t);Dt?gF(t)&&lf(t):t.stateNode=i9(ye,xe,at,t)}return xn(t),null}case W:{tf(t);var Ct=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var ir=PH(e,t,Ct);if(!ir)return t.flags&Qn?t:null}if((t.flags&xr)!==zt)return t.lanes=n,(t.mode&Hr)!==Nt&&_1(t),t;var lr=Ct!==null,fe=e!==null&&e.memoizedState!==null;if(lr!==fe&&lr){var Re=t.child;if(Re.flags|=yc,(t.mode&dr)!==Nt){var pe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!De);pe||Wy(Ml.current,_x)?Uj():p0()}}var $e=t.updateQueue;if($e!==null&&(t.flags|=_r),xn(t),(t.mode&Hr)!==Nt&&lr){var dt=t.child;dt!==null&&(t.treeBaseDuration-=dt.treeBaseDuration)}return null}case T:return Zd(t),q1(e,t),e===null&&Z9(t.stateNode.containerInfo),xn(t),null;case I:var nt=t.type._context;return Oy(nt,t),xn(t),null;case Q:{var Mt=t.type;return ls(Mt)&&hv(t),xn(t),null}case le:{tf(t);var Ut=t.memoizedState;if(Ut===null)return xn(t),null;var Ur=(t.flags&xr)!==zt,Sr=Ut.rendering;if(Sr===null)if(Ur)fh(Ut,!1);else{var Fa=Wj()&&(e===null||(e.flags&xr)===zt);if(!Fa)for(var Cr=t.child;Cr!==null;){var Na=Pv(Cr);if(Na!==null){Ur=!0,t.flags|=xr,fh(Ut,!1);var Hn=Na.updateQueue;return Hn!==null&&(t.updateQueue=Hn,t.flags|=_r),t.subtreeFlags=zt,kF(t,n),ju(t,Yy(Ml.current,Zp)),t.child}Cr=Cr.sibling}Ut.tail!==null&&dn()>Y4()&&(t.flags|=xr,Ur=!0,fh(Ut,!1),t.lanes=CC)}else{if(!Ur){var Dn=Pv(Sr);if(Dn!==null){t.flags|=xr,Ur=!0;var Wo=Dn.updateQueue;if(Wo!==null&&(t.updateQueue=Wo,t.flags|=_r),fh(Ut,!0),Ut.tail===null&&Ut.tailMode==="hidden"&&!Sr.alternate&&!Cn())return xn(t),null}else dn()*2-Ut.renderingStartTime>Y4()&&n!==Mo&&(t.flags|=xr,Ur=!0,fh(Ut,!1),t.lanes=CC)}if(Ut.isBackwards)Sr.sibling=t.child,t.child=Sr;else{var ro=Ut.last;ro!==null?ro.sibling=Sr:t.child=Sr,Ut.last=Sr}}if(Ut.tail!==null){var ao=Ut.tail;Ut.rendering=ao,Ut.tail=ao.sibling,Ut.renderingStartTime=dn(),ao.sibling=null;var jn=Ml.current;return Ur?jn=Yy(jn,Zp):jn=ef(jn),ju(t,jn),ao}return xn(t),null}case Ce:break;case V:case re:{f0(t);var Qs=t.memoizedState,mf=Qs!==null;if(e!==null){var Rh=e.memoizedState,ms=Rh!==null;ms!==mf&&!me&&(t.flags|=yc)}return!mf||(t.mode&dr)===Nt?xn(t):Io(hs,Mo)&&(xn(t),t.subtreeFlags&(Ya|_r)&&(t.flags|=yc)),null}case ue:return null;case z: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 MH(e,t,n){switch(yy(t),t.tag){case _:{var o=t.type;ls(o)&&hv(t);var u=t.flags;return u&Qn?(t.flags=u&~Qn|xr,(t.mode&Hr)!==Nt&&_1(t),t):null}case S:{var f=t.stateNode;Zd(t),vy(t),Gy();var g=t.flags;return(g&Qn)!==zt&&(g&xr)===zt?(t.flags=g&~Qn|xr,t):null}case w:return Vy(t),null;case W:{tf(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.");Kd()}var C=t.flags;return C&Qn?(t.flags=C&~Qn|xr,(t.mode&Hr)!==Nt&&_1(t),t):null}case le:return tf(t),null;case T:return Zd(t),null;case I:var R=t.type._context;return Oy(R,t),null;case V:case re:return f0(t),null;case ue:return null;default:return null}}function x4(e,t,n){switch(yy(t),t.tag){case _:{var o=t.type.childContextTypes;o!=null&&hv(t);break}case S:{var u=t.stateNode;Zd(t),vy(t),Gy();break}case w:{Vy(t);break}case T:Zd(t);break;case W:tf(t);break;case le:tf(t);break;case I:var f=t.type._context;Oy(f,t);break;case V:case re:f0(t);break}}var T4=null;T4=new Set;var ig=!1,Tn=!1,IH=typeof WeakSet=="function"?WeakSet:Set,gt=null,sf=null,uf=null;function FH(e){X_(null,function(){throw e}),J_()}var HH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Hr)try{fs(),t.componentWillUnmount()}finally{ds(e)}else t.componentWillUnmount()};function E4(e,t){try{Wu(Za,e)}catch(n){la(e,t,n)}}function K1(e,t,n){try{HH(e,n)}catch(o){la(e,t,o)}}function jH(e,t,n){try{n.componentDidMount()}catch(o){la(e,t,o)}}function k4(e,t){try{A4(e)}catch(n){la(e,t,n)}}function cf(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var o;try{if(st&&Ot&&e.mode&Hr)try{fs(),o=n(null)}finally{ds(e)}else o=n(null)}catch(u){la(e,t,u)}typeof o=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Jt(e))}else n.current=null}function lg(e,t,n){try{n()}catch(o){la(e,t,o)}}var R4=null,D4=!1;function UH(e,t){R4=e9(e.containerInfo),gt=t,VH();var n=D4;return D4=!1,R4=null,n}function VH(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&rb)!==zt&&t!==null?(t.return=e,gt=t):WH()}}function WH(){for(;gt!==null;){var e=gt;ba(e);try{YH(e)}catch(n){la(e,e.return,n)}cn();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function YH(e){var t=e.alternate,n=e.flags;if((n&bc)!==zt){switch(ba(e),e.tag){case p:case $:case oe:break;case _:{if(t!==null){var o=t.memoizedProps,u=t.memoizedState,f=e.stateNode;e.type===e.elementType&&!jc&&(f.props!==e.memoizedProps&&c("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(e)||"instance"),f.state!==e.memoizedState&&c("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(e)||"instance"));var g=f.getSnapshotBeforeUpdate(e.elementType===e.type?o:Fl(e.type,o),u);{var y=T4;g===void 0&&!y.has(e.type)&&(y.add(e.type),c("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Jt(e)))}f.__reactInternalSnapshotBeforeUpdate=g}break}case S:{{var C=e.stateNode;T9(C.containerInfo)}break}case w:case k:case T:case Q: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.")}cn()}}function jl(e,t,n){var o=t.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next,g=f;do{if((g.tag&e)===e){var y=g.destroy;g.destroy=void 0,y!==void 0&&((e&wn)!==To?iP(t):(e&Za)!==To&&gC(t),(e&ss)!==To&&Th(!0),lg(t,n,y),(e&ss)!==To&&Th(!1),(e&wn)!==To?lP():(e&Za)!==To&&_C())}g=g.next}while(g!==f)}}function Wu(e,t){var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var u=o.next,f=u;do{if((f.tag&e)===e){(e&wn)!==To?nP(t):(e&Za)!==To&&sP(t);var g=f.create;(e&ss)!==To&&Th(!0),f.destroy=g(),(e&ss)!==To&&Th(!1),(e&wn)!==To?oP():(e&Za)!==To&&uP();{var y=f.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(f.tag&Za)!==zt?C="useLayoutEffect":(f.tag&ss)!==zt?C="useInsertionEffect":C="useEffect";var R=void 0;y===null?R=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?R=`
|
|
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`:R=" You returned: "+y,c("%s must not return anything besides a function, which is used for clean-up.%s",w,R)}}}f=f.next}while(f!==u)}}function $H(e,t){if((t.flags&_r)!==zt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,o=t.memoizedProps,u=o.id,f=o.onPostCommit,g=Wx(),y=t.alternate===null?"mount":"update";Vx()&&(y="nested-update"),typeof f=="function"&&f(u,y,n,g);var w=t.return;e:for(;w!==null;){switch(w.tag){case S:var R=w.stateNode;R.passiveEffectDuration+=n;break e;case F:var O=w.stateNode;O.passiveEffectDuration+=n;break e}w=w.return}break}}}function GH(e,t,n,o){if((n.flags&lp)!==zt)switch(n.tag){case p:case $:case oe:{if(!Tn)if(n.mode&Hr)try{fs(),Wu(Za|Qa,n)}finally{ds(n)}else Wu(Za|Qa,n);break}case _:{var u=n.stateNode;if(n.flags&_r&&!Tn)if(t===null)if(n.type===n.elementType&&!jc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(n)||"instance")),n.mode&Hr)try{fs(),u.componentDidMount()}finally{ds(n)}else u.componentDidMount();else{var f=n.elementType===n.type?t.memoizedProps:Fl(n.type,t.memoizedProps),g=t.memoizedState;if(n.type===n.elementType&&!jc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(n)||"instance")),n.mode&Hr)try{fs(),u.componentDidUpdate(f,g,u.__reactInternalSnapshotBeforeUpdate)}finally{ds(n)}else u.componentDidUpdate(f,g,u.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!jc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(n)||"instance")),hx(n,y,u));break}case S:{var w=n.updateQueue;if(w!==null){var R=null;if(n.child!==null)switch(n.child.tag){case C:R=n.child.stateNode;break;case _:R=n.child.stateNode;break}hx(n,w,R)}break}case C:{var O=n.stateNode;if(t===null&&n.flags&_r){var Z=n.type,X=n.memoizedProps;d9(O,Z,X)}break}case k:break;case T:break;case F:{{var ye=n.memoizedProps,Se=ye.onCommit,xe=ye.onRender,at=n.stateNode.effectDuration,Dt=Wx(),wt=t===null?"mount":"update";Vx()&&(wt="nested-update"),typeof xe=="function"&&xe(n.memoizedProps.id,wt,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Dt);{typeof Se=="function"&&Se(n.memoizedProps.id,wt,at,Dt),Kj(n);var ir=n.return;e:for(;ir!==null;){switch(ir.tag){case S:var lr=ir.stateNode;lr.effectDuration+=at;break e;case F:var fe=ir.stateNode;fe.effectDuration+=at;break e}ir=ir.return}}}break}case W:{tj(e,n);break}case le:case Q:case we:case V:case re:case z: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.")}Tn||n.flags&ku&&A4(n)}function qH(e){switch(e.tag){case p:case $:case oe:{if(e.mode&Hr)try{fs(),E4(e,e.return)}finally{ds(e)}else E4(e,e.return);break}case _:{var t=e.stateNode;typeof t.componentDidMount=="function"&&jH(e,e.return,t),k4(e,e.return);break}case C:{k4(e,e.return);break}}}function KH(e,t){for(var n=null,o=e;;){if(o.tag===C){if(n===null){n=o;try{var u=o.stateNode;t?S9(u):C9(o.stateNode,o.memoizedProps)}catch(g){la(e,e.return,g)}}}else if(o.tag===k){if(n===null)try{var f=o.stateNode;t?w9(f):x9(f,o.memoizedProps)}catch(g){la(e,e.return,g)}}else if(!((o.tag===V||o.tag===re)&&o.memoizedState!==null&&o!==e)){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;n===o&&(n=null),o=o.return}n===o&&(n=null),o.sibling.return=o.return,o=o.sibling}}function A4(e){var t=e.ref;if(t!==null){var n=e.stateNode,o;switch(e.tag){case C:o=n;break;default:o=n}if(typeof t=="function"){var u;if(e.mode&Hr)try{fs(),u=t(o)}finally{ds(e)}else u=t(o);typeof u=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Jt(e))}else t.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Jt(e)),t.current=o}}function XH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function N4(e){var t=e.alternate;t!==null&&(e.alternate=null,N4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===C){var n=e.stateNode;n!==null&&rF(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 JH(e){for(var t=e.return;t!==null;){if(L4(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 L4(e){return e.tag===C||e.tag===S||e.tag===T}function B4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||L4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==C&&t.tag!==k&&t.tag!==he;){if(t.flags&Ya||t.child===null||t.tag===T)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ya))return t.stateNode}}function QH(e){var t=JH(e);switch(t.tag){case C:{var n=t.stateNode;t.flags&op&&(OC(n),t.flags&=~op);var o=B4(e);J1(e,o,n);break}case S:case T:{var u=t.stateNode.containerInfo,f=B4(e);X1(e,f,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function X1(e,t,n){var o=e.tag,u=o===C||o===k;if(u){var f=e.stateNode;t?g9(n,f,t):m9(n,f)}else if(o!==T){var g=e.child;if(g!==null){X1(g,t,n);for(var y=g.sibling;y!==null;)X1(y,t,n),y=y.sibling}}}function J1(e,t,n){var o=e.tag,u=o===C||o===k;if(u){var f=e.stateNode;t?v9(n,f,t):h9(n,f)}else if(o!==T){var g=e.child;if(g!==null){J1(g,t,n);for(var y=g.sibling;y!==null;)J1(y,t,n),y=y.sibling}}}var En=null,Ul=!1;function ZH(e,t,n){{var o=t;e:for(;o!==null;){switch(o.tag){case C:{En=o.stateNode,Ul=!1;break e}case S:{En=o.stateNode.containerInfo,Ul=!0;break e}case T:{En=o.stateNode.containerInfo,Ul=!0;break e}}o=o.return}if(En===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");O4(e,t,n),En=null,Ul=!1}XH(n)}function Yu(e,t,n){for(var o=n.child;o!==null;)O4(e,t,o),o=o.sibling}function O4(e,t,n){switch(eP(n),n.tag){case C:Tn||cf(n,t);case k:{{var o=En,u=Ul;En=null,Yu(e,t,n),En=o,Ul=u,En!==null&&(Ul?b9(En,n.stateNode):_9(En,n.stateNode))}return}case he:{En!==null&&(Ul?y9(En,n.stateNode):sy(En,n.stateNode));return}case T:{{var f=En,g=Ul;En=n.stateNode.containerInfo,Ul=!0,Yu(e,t,n),En=f,Ul=g}return}case p:case $:case P:case oe:{if(!Tn){var y=n.updateQueue;if(y!==null){var w=y.lastEffect;if(w!==null){var R=w.next,O=R;do{var Z=O,X=Z.destroy,ye=Z.tag;X!==void 0&&((ye&ss)!==To?lg(n,t,X):(ye&Za)!==To&&(gw(n),n.mode&Hr?(fs(),lg(n,t,X),ds(n)):lg(n,t,X),_w())),O=O.next}while(O!==R)}}}Yu(e,t,n);return}case _:{if(!Tn){cf(n,t);var Se=n.stateNode;typeof Se.componentWillUnmount=="function"&&K1(n,t,Se)}Yu(e,t,n);return}case we:{Yu(e,t,n);return}case V:{if(n.mode&dr){var xe=Tn;Tn=xe||n.memoizedState!==null,Yu(e,t,n),Tn=xe}else Yu(e,t,n);break}default:{Yu(e,t,n);return}}}function ej(e){var t=e.memoizedState}function tj(e,t){var n=t.memoizedState;if(n===null){var o=t.alternate;if(o!==null){var u=o.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&F9(f)}}}}function z4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new IH),t.forEach(function(o){var u=rU.bind(null,e,o);if(!n.has(o)){if(n.add(o),Ll)if(sf!==null&&uf!==null)xh(uf,sf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(u,u)}})}}function rj(e,t,n){sf=n,uf=e,ba(t),P4(t,e),ba(t),sf=null,uf=null}function Vl(e,t,n){var o=t.deletions;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u];try{ZH(e,t,f)}catch(w){la(f,t,w)}}var g=B_();if(t.subtreeFlags&ab)for(var y=t.child;y!==null;)ba(y),P4(y,e),y=y.sibling;ba(g)}function P4(e,t,n){var o=e.alternate,u=e.flags;switch(e.tag){case p:case $:case P:case oe:{if(Vl(t,e),ps(e),u&_r){try{jl(ss|Qa,e,e.return),Wu(ss|Qa,e)}catch(Mt){la(e,e.return,Mt)}if(e.mode&Hr){try{fs(),jl(Za|Qa,e,e.return)}catch(Mt){la(e,e.return,Mt)}ds(e)}else try{jl(Za|Qa,e,e.return)}catch(Mt){la(e,e.return,Mt)}}return}case _:{Vl(t,e),ps(e),u&ku&&o!==null&&cf(o,o.return);return}case C:{Vl(t,e),ps(e),u&ku&&o!==null&&cf(o,o.return);{if(e.flags&op){var f=e.stateNode;try{OC(f)}catch(Mt){la(e,e.return,Mt)}}if(u&_r){var g=e.stateNode;if(g!=null){var y=e.memoizedProps,w=o!==null?o.memoizedProps:y,R=e.type,O=e.updateQueue;if(e.updateQueue=null,O!==null)try{f9(g,O,R,w,y,e)}catch(Mt){la(e,e.return,Mt)}}}}return}case k:{if(Vl(t,e),ps(e),u&_r){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,X=e.memoizedProps,ye=o!==null?o.memoizedProps:X;try{p9(Z,ye,X)}catch(Mt){la(e,e.return,Mt)}}return}case S:{if(Vl(t,e),ps(e),u&_r&&o!==null){var Se=o.memoizedState;if(Se.isDehydrated)try{I9(t.containerInfo)}catch(Mt){la(e,e.return,Mt)}}return}case T:{Vl(t,e),ps(e);return}case W:{Vl(t,e),ps(e);var xe=e.child;if(xe.flags&yc){var at=xe.stateNode,Dt=xe.memoizedState,wt=Dt!==null;if(at.isHidden=wt,wt){var ir=xe.alternate!==null&&xe.alternate.memoizedState!==null;ir||jj()}}if(u&_r){try{ej(e)}catch(Mt){la(e,e.return,Mt)}z4(e)}return}case V:{var lr=o!==null&&o.memoizedState!==null;if(e.mode&dr){var fe=Tn;Tn=fe||lr,Vl(t,e),Tn=fe}else Vl(t,e);if(ps(e),u&yc){var Re=e.stateNode,pe=e.memoizedState,$e=pe!==null,dt=e;if(Re.isHidden=$e,$e&&!lr&&(dt.mode&dr)!==Nt){gt=dt;for(var nt=dt.child;nt!==null;)gt=nt,nj(nt),nt=nt.sibling}KH(dt,$e)}return}case le:{Vl(t,e),ps(e),u&_r&&z4(e);return}case we:return;default:{Vl(t,e),ps(e);return}}}function ps(e){var t=e.flags;if(t&Ya){try{QH(e)}catch(n){la(e,e.return,n)}e.flags&=~Ya}t&zs&&(e.flags&=~zs)}function aj(e,t,n){sf=n,uf=t,gt=e,M4(e,t,n),sf=null,uf=null}function M4(e,t,n){for(var o=(e.mode&dr)!==Nt;gt!==null;){var u=gt,f=u.child;if(u.tag===V&&o){var g=u.memoizedState!==null,y=g||ig;if(y){Q1(e,t,n);continue}else{var w=u.alternate,R=w!==null&&w.memoizedState!==null,O=R||Tn,Z=ig,X=Tn;ig=y,Tn=O,Tn&&!X&&(gt=u,oj(u));for(var ye=f;ye!==null;)gt=ye,M4(ye,t,n),ye=ye.sibling;gt=u,ig=Z,Tn=X,Q1(e,t,n);continue}}(u.subtreeFlags&lp)!==zt&&f!==null?(f.return=u,gt=f):Q1(e,t,n)}}function Q1(e,t,n){for(;gt!==null;){var o=gt;if((o.flags&lp)!==zt){var u=o.alternate;ba(o);try{GH(t,u,o,n)}catch(g){la(o,o.return,g)}cn()}if(o===e){gt=null;return}var f=o.sibling;if(f!==null){f.return=o.return,gt=f;return}gt=o.return}}function nj(e){for(;gt!==null;){var t=gt,n=t.child;switch(t.tag){case p:case $:case P:case oe:{if(t.mode&Hr)try{fs(),jl(Za,t,t.return)}finally{ds(t)}else jl(Za,t,t.return);break}case _:{cf(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&K1(t,t.return,o);break}case C:{cf(t,t.return);break}case V:{var u=t.memoizedState!==null;if(u){I4(e);continue}break}}n!==null?(n.return=t,gt=n):I4(e)}}function I4(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 oj(e){for(;gt!==null;){var t=gt,n=t.child;if(t.tag===V){var o=t.memoizedState!==null;if(o){F4(e);continue}}n!==null?(n.return=t,gt=n):F4(e)}}function F4(e){for(;gt!==null;){var t=gt;ba(t);try{qH(t)}catch(o){la(t,t.return,o)}if(cn(),t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function ij(e,t,n,o){gt=t,lj(t,e,n,o)}function lj(e,t,n,o){for(;gt!==null;){var u=gt,f=u.child;(u.subtreeFlags&Ad)!==zt&&f!==null?(f.return=u,gt=f):sj(e,t,n,o)}}function sj(e,t,n,o){for(;gt!==null;){var u=gt;if((u.flags&Nl)!==zt){ba(u);try{uj(t,u,n,o)}catch(g){la(u,u.return,g)}cn()}if(u===e){gt=null;return}var f=u.sibling;if(f!==null){f.return=u.return,gt=f;return}gt=u.return}}function uj(e,t,n,o){switch(t.tag){case p:case $:case oe:{if(t.mode&Hr){g1();try{Wu(Cn|Qa,t)}finally{v1(t)}}else Wu(Cn|Qa,t);break}}}function cj(e){gt=e,dj()}function dj(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&_c)!==zt){var n=e.deletions;if(n!==null){for(var o=0;o<n.length;o++){var u=n[o];gt=u,hj(u,e)}{var f=e.alternate;if(f!==null){var g=f.child;if(g!==null){f.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(g!==null)}}}gt=e}}(e.subtreeFlags&Ad)!==zt&&t!==null?(t.return=e,gt=t):fj()}}function fj(){for(;gt!==null;){var e=gt;(e.flags&Nl)!==zt&&(ba(e),pj(e),cn());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function pj(e){switch(e.tag){case p:case $:case oe:{e.mode&Hr?(g1(),jl(Cn|Qa,e,e.return),v1(e)):jl(Cn|Qa,e,e.return);break}}}function hj(e,t){for(;gt!==null;){var n=gt;ba(n),vj(n,t),cn();var o=n.child;o!==null?(o.return=n,gt=o):mj(e)}}function mj(e){for(;gt!==null;){var t=gt,n=t.sibling,o=t.return;if(N4(t),t===e){gt=null;return}if(n!==null){n.return=o,gt=n;return}gt=o}}function vj(e,t){switch(e.tag){case p:case $:case oe:{e.mode&Hr?(g1(),jl(Cn,e,t),v1(e)):jl(Cn,e,t);break}}}function gj(e){switch(e.tag){case p:case $:case oe:{try{Wu(Za|Qa,e)}catch(n){la(e,e.return,n)}break}case _:{var t=e.stateNode;try{t.componentDidMount()}catch(n){la(e,e.return,n)}break}}}function _j(e){switch(e.tag){case p:case $:case oe:{try{Wu(Cn|Qa,e)}catch(t){la(e,e.return,t)}break}}}function bj(e){switch(e.tag){case p:case $:case oe:{try{jl(Za|Qa,e,e.return)}catch(n){la(e,e.return,n)}break}case _:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&K1(e,e.return,t);break}}}function yj(e){switch(e.tag){case p:case $:case oe:try{jl(Cn|Qa,e,e.return)}catch(t){la(e,e.return,t)}}}var Sj=0,wj=1,Cj=2,xj=3,Tj=4;if(typeof Symbol=="function"&&Symbol.for){var ph=Symbol.for;Sj=ph("selector.component"),wj=ph("selector.has_pseudo_class"),Cj=ph("selector.role"),xj=ph("selector.test_id"),Tj=ph("selector.text")}var Ej=[];function kj(){Ej.forEach(function(e){return e()})}var Rj=i.ReactCurrentActQueue;function Dj(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function H4(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&Rj.current!==null&&c("The current testing environment is not configured to support act(...)"),e}}var Aj=Math.ceil,Z1=i.ReactCurrentDispatcher,e0=i.ReactCurrentOwner,kn=i.ReactCurrentBatchConfig,Wl=i.ReactCurrentActQueue,rn=0,j4=1,Rn=2,Sl=4,qs=0,hh=1,Uc=2,sg=3,mh=4,U4=5,t0=6,fr=rn,eo=null,Ea=null,an=Me,hs=Me,r0=zu(Me),nn=qs,vh=null,a0=Me,ug=Me,gh=Me,cg=Me,_h=null,Eo=null,n0=0,V4=500,W4=1/0,Nj=500,Ks=null;function bh(){W4=dn()+Nj}function Y4(){return W4}var dg=!1,o0=null,df=null,Vc=!1,$u=null,yh=Me,i0=[],l0=null,Lj=50,Sh=0,s0=null,u0=!1,fg=!1,Bj=50,ff=0,pg=null,wh=fa,hg=Me,$4=!1;function mg(){return eo}function to(){return(fr&(Rn|Sl))!==rn?dn():(wh!==fa||(wh=dn()),wh)}function Gu(e){var t=e.mode;if((t&dr)===Nt)return Ht;if((fr&Rn)!==rn&&an!==Me)return hp(an);var n=CF()!==wF;if(n){if(kn.transition!==null){var o=kn.transition;o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(e)}return hg===pn&&(hg=Ew()),hg}var u=Bl();if(u!==pn)return u;var f=l9();return f}function Oj(e){var t=e.mode;return(t&dr)===Nt?Ht:NP()}function on(e,t,n,o){nU(),$4&&c("useInsertionEffect must not schedule updates."),u0&&(fg=!0),mp(e,n,o),(fr&Rn)!==Me&&e===eo?lU(t):(Ll&&Dw(e,t,n),sU(t),e===eo&&((fr&Rn)===rn&&(gh=Zt(gh,n)),nn===mh&&qu(e,an)),ko(e,o),n===Ht&&fr===rn&&(t.mode&dr)===Nt&&!Wl.isBatchingLegacy&&(bh(),YC()))}function zj(e,t,n){var o=e.current;o.lanes=t,mp(e,t,n),ko(e,n)}function Pj(e){return(fr&Rn)!==rn}function ko(e,t){var n=e.callbackNode;TP(e,t);var o=Pm(e,e===eo?an:Me);if(o===Me){n!==null&&sT(n),e.callbackNode=null,e.callbackPriority=pn;return}var u=kc(o),f=e.callbackPriority;if(f===u&&!(Wl.current!==null&&n!==v0)){n==null&&f!==Ht&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&sT(n);var g;if(u===Ht)e.tag===Pu?(Wl.isBatchingLegacy!==null&&(Wl.didScheduleLegacyUpdate=!0),oF(K4.bind(null,e))):WC(K4.bind(null,e)),Wl.current!==null?Wl.current.push(Mu):u9(function(){(fr&(Rn|Sl))===rn&&Mu()}),g=null;else{var y;switch(Lw(o)){case Fo:y=Lm;break;case Fs:y=nb;break;case Hs:y=Cc;break;case Fm:y=ob;break;default:y=Cc;break}g=g0(y,G4.bind(null,e))}e.callbackPriority=u,e.callbackNode=g}function G4(e,t){if(KF(),wh=fa,hg=Me,(fr&(Rn|Sl))!==rn)throw new Error("Should not already be working.");var n=e.callbackNode,o=Js();if(o&&e.callbackNode!==n)return null;var u=Pm(e,e===eo?an:Me);if(u===Me)return null;var f=!Mm(e,u)&&!AP(e,u)&&!t,g=f?$j(e,u):gg(e,u);if(g!==qs){if(g===Uc){var y=kb(e);y!==Me&&(u=y,g=c0(e,y))}if(g===hh){var w=vh;throw Wc(e,Me),qu(e,u),ko(e,dn()),w}if(g===t0)qu(e,u);else{var R=!Mm(e,u),O=e.current.alternate;if(R&&!Ij(O)){if(g=gg(e,u),g===Uc){var Z=kb(e);Z!==Me&&(u=Z,g=c0(e,Z))}if(g===hh){var X=vh;throw Wc(e,Me),qu(e,u),ko(e,dn()),X}}e.finishedWork=O,e.finishedLanes=u,Mj(e,g,u)}}return ko(e,dn()),e.callbackNode===n?G4.bind(null,e):null}function c0(e,t){var n=_h;if(Hm(e)){var o=Wc(e,t);o.flags|=Os,Q9(e.containerInfo)}var u=gg(e,t);if(u!==Uc){var f=Eo;Eo=n,f!==null&&q4(f)}return u}function q4(e){Eo===null?Eo=e:Eo.push.apply(Eo,e)}function Mj(e,t,n){switch(t){case qs:case hh:throw new Error("Root did not complete. This is a bug in React.");case Uc:{Yc(e,Eo,Ks);break}case sg:{if(qu(e,n),xw(n)&&!uT()){var o=n0+V4-dn();if(o>10){var u=Pm(e,Me);if(u!==Me)break;var f=e.suspendedLanes;if(!zd(f,n)){var g=to();Rw(e,f);break}e.timeoutHandle=iy(Yc.bind(null,e,Eo,Ks),o);break}}Yc(e,Eo,Ks);break}case mh:{if(qu(e,n),DP(n))break;if(!uT()){var y=CP(e,n),w=y,R=dn()-w,O=aU(R)-R;if(O>10){e.timeoutHandle=iy(Yc.bind(null,e,Eo,Ks),O);break}}Yc(e,Eo,Ks);break}case U4:{Yc(e,Eo,Ks);break}default:throw new Error("Unknown root exit status.")}}function Ij(e){for(var t=e;;){if(t.flags&Am){var n=t.updateQueue;if(n!==null){var o=n.stores;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],g=f.getSnapshot,y=f.value;try{if(!jo(g(),y))return!1}catch(R){return!1}}}}var w=t.child;if(t.subtreeFlags&Am&&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 qu(e,t){t=Im(t,cg),t=Im(t,gh),BP(e,t)}function K4(e){if(XF(),(fr&(Rn|Sl))!==rn)throw new Error("Should not already be working.");Js();var t=Pm(e,Me);if(!Io(t,Ht))return ko(e,dn()),null;var n=gg(e,t);if(e.tag!==Pu&&n===Uc){var o=kb(e);o!==Me&&(t=o,n=c0(e,o))}if(n===hh){var u=vh;throw Wc(e,Me),qu(e,t),ko(e,dn()),u}if(n===t0)throw new Error("Root did not complete. This is a bug in React.");var f=e.current.alternate;return e.finishedWork=f,e.finishedLanes=t,Yc(e,Eo,Ks),ko(e,dn()),null}function Fj(e,t){t!==Me&&(Nb(e,Zt(t,Ht)),ko(e,dn()),(fr&(Rn|Sl))===rn&&(bh(),Mu()))}function d0(e,t){var n=fr;fr|=j4;try{return e(t)}finally{fr=n,fr===rn&&!Wl.isBatchingLegacy&&(bh(),YC())}}function Hj(e,t,n,o,u){var f=Bl(),g=kn.transition;try{return kn.transition=null,hn(Fo),e(t,n,o,u)}finally{hn(f),kn.transition=g,fr===rn&&bh()}}function Xs(e){$u!==null&&$u.tag===Pu&&(fr&(Rn|Sl))===rn&&Js();var t=fr;fr|=j4;var n=kn.transition,o=Bl();try{return kn.transition=null,hn(Fo),e?e():void 0}finally{hn(o),kn.transition=n,fr=t,(fr&(Rn|Sl))===rn&&Mu()}}function X4(){return(fr&(Rn|Sl))!==rn}function vg(e,t){In(r0,hs,e),hs=Zt(hs,t),a0=Zt(a0,t)}function f0(e){hs=r0.current,Mn(r0,e)}function Wc(e,t){e.finishedWork=null,e.finishedLanes=Me;var n=e.timeoutHandle;if(n!==ly&&(e.timeoutHandle=ly,s9(n)),Ea!==null)for(var o=Ea.return;o!==null;){var u=o.alternate;x4(u,o),o=o.return}eo=e;var f=$c(e.current,null);return Ea=f,an=hs=a0=t,nn=qs,vh=null,ug=Me,gh=Me,cg=Me,_h=null,Eo=null,AF(),Pl.discardPendingWarnings(),f}function J4(e,t){do{var n=Ea;try{if(Ev(),yx(),cn(),e0.current=null,n===null||n.return===null){nn=hh,vh=t,Ea=null;return}if(st&&n.mode&Hr&&tg(n,!0),Xe)if(Nd(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var o=t;dP(n,o,an)}else cP(n,t,an);oH(e,n.return,n,t,an),tT(n)}catch(u){t=u,Ea===n&&n!==null?(n=n.return,Ea=n):n=Ea;continue}return}while(!0)}function Q4(){var e=Z1.current;return Z1.current=Xv,e===null?Xv:e}function Z4(e){Z1.current=e}function jj(){n0=dn()}function Ch(e){ug=Zt(e,ug)}function Uj(){nn===qs&&(nn=sg)}function p0(){(nn===qs||nn===sg||nn===Uc)&&(nn=mh),eo!==null&&(Rb(ug)||Rb(gh))&&qu(eo,an)}function Vj(e){nn!==mh&&(nn=Uc),_h===null?_h=[e]:_h.push(e)}function Wj(){return nn===qs}function gg(e,t){var n=fr;fr|=Rn;var o=Q4();if(eo!==e||an!==t){if(Ll){var u=e.memoizedUpdaters;u.size>0&&(xh(e,an),u.clear()),Aw(e,t)}Ks=Nw(),Wc(e,t)}bw(t);do try{Yj();break}catch(f){J4(e,f)}while(!0);if(Ev(),fr=n,Z4(o),Ea!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return yw(),eo=null,an=Me,nn}function Yj(){for(;Ea!==null;)eT(Ea)}function $j(e,t){var n=fr;fr|=Rn;var o=Q4();if(eo!==e||an!==t){if(Ll){var u=e.memoizedUpdaters;u.size>0&&(xh(e,an),u.clear()),Aw(e,t)}Ks=Nw(),bh(),Wc(e,t)}bw(t);do try{Gj();break}catch(f){J4(e,f)}while(!0);return Ev(),Z4(o),fr=n,Ea!==null?(vP(),qs):(yw(),eo=null,an=Me,nn)}function Gj(){for(;Ea!==null&&!W7();)eT(Ea)}function eT(e){var t=e.alternate;ba(e);var n;(e.mode&Hr)!==Nt?(m1(e),n=h0(t,e,hs),tg(e,!0)):n=h0(t,e,hs),cn(),e.memoizedProps=e.pendingProps,n===null?tT(e):Ea=n,e0.current=null}function tT(e){var t=e;do{var n=t.alternate,o=t.return;if((t.flags&ip)===zt){ba(t);var u=void 0;if((t.mode&Hr)===Nt?u=C4(n,t,hs):(m1(t),u=C4(n,t,hs),tg(t,!1)),cn(),u!==null){Ea=u;return}}else{var f=MH(n,t);if(f!==null){f.flags&=I7,Ea=f;return}if((t.mode&Hr)!==Nt){tg(t,!1);for(var g=t.actualDuration,y=t.child;y!==null;)g+=y.actualDuration,y=y.sibling;t.actualDuration=g}if(o!==null)o.flags|=ip,o.subtreeFlags=zt,o.deletions=null;else{nn=t0,Ea=null;return}}var w=t.sibling;if(w!==null){Ea=w;return}t=o,Ea=t}while(t!==null);nn===qs&&(nn=U4)}function Yc(e,t,n){var o=Bl(),u=kn.transition;try{kn.transition=null,hn(Fo),qj(e,t,n,o)}finally{kn.transition=u,hn(o)}return null}function qj(e,t,n,o){do Js();while($u!==null);if(oU(),(fr&(Rn|Sl))!==rn)throw new Error("Should not already be working.");var u=e.finishedWork,f=e.finishedLanes;if(aP(f),u===null)return vw(),null;if(f===Me&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Me,u===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=pn;var g=Zt(u.lanes,u.childLanes);OP(e,g),e===eo&&(eo=null,Ea=null,an=Me),((u.subtreeFlags&Ad)!==zt||(u.flags&Ad)!==zt)&&(Vc||(Vc=!0,l0=n,g0(Cc,function(){return Js(),null})));var y=(u.subtreeFlags&(rb|ab|lp|Ad))!==zt,w=(u.flags&(rb|ab|lp|Ad))!==zt;if(y||w){var R=kn.transition;kn.transition=null;var O=Bl();hn(Fo);var Z=fr;fr|=Sl,e0.current=null;var X=UH(e,u);Yx(),rj(e,u,f),t9(e.containerInfo),e.current=u,fP(f),aj(u,e,f),pP(),Y7(),fr=Z,hn(O),kn.transition=R}else e.current=u,Yx();var ye=Vc;if(Vc?(Vc=!1,$u=e,yh=f):(ff=0,pg=null),g=e.pendingLanes,g===Me&&(df=null),ye||oT(e.current,!1),Q7(u.stateNode,o),Ll&&e.memoizedUpdaters.clear(),kj(),ko(e,dn()),t!==null)for(var Se=e.onRecoverableError,xe=0;xe<t.length;xe++){var at=t[xe],Dt=at.stack,wt=at.digest;Se(at.value,{componentStack:Dt,digest:wt})}if(dg){dg=!1;var ir=o0;throw o0=null,ir}return Io(yh,Ht)&&e.tag!==Pu&&Js(),g=e.pendingLanes,Io(g,Ht)?(qF(),e===s0?Sh++:(Sh=0,s0=e)):Sh=0,Mu(),vw(),null}function Js(){if($u!==null){var e=Lw(yh),t=IP(Hs,e),n=kn.transition,o=Bl();try{return kn.transition=null,hn(t),Xj()}finally{hn(o),kn.transition=n}}return!1}function Kj(e){i0.push(e),Vc||(Vc=!0,g0(Cc,function(){return Js(),null}))}function Xj(){if($u===null)return!1;var e=l0;l0=null;var t=$u,n=yh;if($u=null,yh=Me,(fr&(Rn|Sl))!==rn)throw new Error("Cannot flush passive effects while already rendering.");u0=!0,fg=!1,hP(n);var o=fr;fr|=Sl,cj(t.current),ij(t,t.current,n,e);{var u=i0;i0=[];for(var f=0;f<u.length;f++){var g=u[f];$H(t,g)}}mP(),oT(t.current,!0),fr=o,Mu(),fg?t===pg?ff++:(ff=0,pg=t):ff=0,u0=!1,fg=!1,Z7(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function rT(e){return df!==null&&df.has(e)}function Jj(e){df===null?df=new Set([e]):df.add(e)}function Qj(e){dg||(dg=!0,o0=e)}var Zj=Qj;function aT(e,t,n){var o=Hc(n,t),u=Zx(e,o,Ht),f=Fu(e,u,Ht),g=to();f!==null&&(mp(f,Ht,g),ko(f,g))}function la(e,t,n){if(FH(n),Th(!1),e.tag===S){aT(e,e,n);return}var o=null;for(o=t;o!==null;){if(o.tag===S){aT(o,e,n);return}else if(o.tag===_){var u=o.type,f=o.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&!rT(f)){var g=Hc(n,e),y=B1(o,g,Ht),w=Fu(o,y,Ht),R=to();w!==null&&(mp(w,Ht,R),ko(w,R));return}}o=o.return}c(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
115
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:R=" You returned: "+y,c("%s must not return anything besides a function, which is used for clean-up.%s",C,R)}}}f=f.next}while(f!==u)}}function $H(e,t){if((t.flags&_r)!==zt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,o=t.memoizedProps,u=o.id,f=o.onPostCommit,g=Wx(),y=t.alternate===null?"mount":"update";Vx()&&(y="nested-update"),typeof f=="function"&&f(u,y,n,g);var C=t.return;e:for(;C!==null;){switch(C.tag){case S:var R=C.stateNode;R.passiveEffectDuration+=n;break e;case F:var O=C.stateNode;O.passiveEffectDuration+=n;break e}C=C.return}break}}}function GH(e,t,n,o){if((n.flags&lp)!==zt)switch(n.tag){case p:case $:case oe:{if(!Tn)if(n.mode&Hr)try{fs(),Wu(Za|Qa,n)}finally{ds(n)}else Wu(Za|Qa,n);break}case _:{var u=n.stateNode;if(n.flags&_r&&!Tn)if(t===null)if(n.type===n.elementType&&!jc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(n)||"instance")),n.mode&Hr)try{fs(),u.componentDidMount()}finally{ds(n)}else u.componentDidMount();else{var f=n.elementType===n.type?t.memoizedProps:Fl(n.type,t.memoizedProps),g=t.memoizedState;if(n.type===n.elementType&&!jc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(n)||"instance")),n.mode&Hr)try{fs(),u.componentDidUpdate(f,g,u.__reactInternalSnapshotBeforeUpdate)}finally{ds(n)}else u.componentDidUpdate(f,g,u.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!jc&&(u.props!==n.memoizedProps&&c("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(n)||"instance"),u.state!==n.memoizedState&&c("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(n)||"instance")),hx(n,y,u));break}case S:{var C=n.updateQueue;if(C!==null){var R=null;if(n.child!==null)switch(n.child.tag){case w:R=n.child.stateNode;break;case _:R=n.child.stateNode;break}hx(n,C,R)}break}case w:{var O=n.stateNode;if(t===null&&n.flags&_r){var Z=n.type,X=n.memoizedProps;d9(O,Z,X)}break}case k:break;case T:break;case F:{{var ye=n.memoizedProps,Se=ye.onCommit,xe=ye.onRender,at=n.stateNode.effectDuration,Dt=Wx(),Ct=t===null?"mount":"update";Vx()&&(Ct="nested-update"),typeof xe=="function"&&xe(n.memoizedProps.id,Ct,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Dt);{typeof Se=="function"&&Se(n.memoizedProps.id,Ct,at,Dt),Kj(n);var ir=n.return;e:for(;ir!==null;){switch(ir.tag){case S:var lr=ir.stateNode;lr.effectDuration+=at;break e;case F:var fe=ir.stateNode;fe.effectDuration+=at;break e}ir=ir.return}}}break}case W:{tj(e,n);break}case le:case Q:case Ce:case V:case re:case z: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.")}Tn||n.flags&ku&&A4(n)}function qH(e){switch(e.tag){case p:case $:case oe:{if(e.mode&Hr)try{fs(),E4(e,e.return)}finally{ds(e)}else E4(e,e.return);break}case _:{var t=e.stateNode;typeof t.componentDidMount=="function"&&jH(e,e.return,t),k4(e,e.return);break}case w:{k4(e,e.return);break}}}function KH(e,t){for(var n=null,o=e;;){if(o.tag===w){if(n===null){n=o;try{var u=o.stateNode;t?S9(u):w9(o.stateNode,o.memoizedProps)}catch(g){la(e,e.return,g)}}}else if(o.tag===k){if(n===null)try{var f=o.stateNode;t?C9(f):x9(f,o.memoizedProps)}catch(g){la(e,e.return,g)}}else if(!((o.tag===V||o.tag===re)&&o.memoizedState!==null&&o!==e)){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;n===o&&(n=null),o=o.return}n===o&&(n=null),o.sibling.return=o.return,o=o.sibling}}function A4(e){var t=e.ref;if(t!==null){var n=e.stateNode,o;switch(e.tag){case w:o=n;break;default:o=n}if(typeof t=="function"){var u;if(e.mode&Hr)try{fs(),u=t(o)}finally{ds(e)}else u=t(o);typeof u=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Jt(e))}else t.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Jt(e)),t.current=o}}function XH(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function N4(e){var t=e.alternate;t!==null&&(e.alternate=null,N4(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===w){var n=e.stateNode;n!==null&&rF(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 JH(e){for(var t=e.return;t!==null;){if(L4(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 L4(e){return e.tag===w||e.tag===S||e.tag===T}function B4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||L4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==k&&t.tag!==he;){if(t.flags&Ya||t.child===null||t.tag===T)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ya))return t.stateNode}}function QH(e){var t=JH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&op&&(Ow(n),t.flags&=~op);var o=B4(e);J1(e,o,n);break}case S:case T:{var u=t.stateNode.containerInfo,f=B4(e);X1(e,f,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function X1(e,t,n){var o=e.tag,u=o===w||o===k;if(u){var f=e.stateNode;t?g9(n,f,t):m9(n,f)}else if(o!==T){var g=e.child;if(g!==null){X1(g,t,n);for(var y=g.sibling;y!==null;)X1(y,t,n),y=y.sibling}}}function J1(e,t,n){var o=e.tag,u=o===w||o===k;if(u){var f=e.stateNode;t?v9(n,f,t):h9(n,f)}else if(o!==T){var g=e.child;if(g!==null){J1(g,t,n);for(var y=g.sibling;y!==null;)J1(y,t,n),y=y.sibling}}}var En=null,Ul=!1;function ZH(e,t,n){{var o=t;e:for(;o!==null;){switch(o.tag){case w:{En=o.stateNode,Ul=!1;break e}case S:{En=o.stateNode.containerInfo,Ul=!0;break e}case T:{En=o.stateNode.containerInfo,Ul=!0;break e}}o=o.return}if(En===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");O4(e,t,n),En=null,Ul=!1}XH(n)}function Yu(e,t,n){for(var o=n.child;o!==null;)O4(e,t,o),o=o.sibling}function O4(e,t,n){switch(eP(n),n.tag){case w:Tn||cf(n,t);case k:{{var o=En,u=Ul;En=null,Yu(e,t,n),En=o,Ul=u,En!==null&&(Ul?b9(En,n.stateNode):_9(En,n.stateNode))}return}case he:{En!==null&&(Ul?y9(En,n.stateNode):sy(En,n.stateNode));return}case T:{{var f=En,g=Ul;En=n.stateNode.containerInfo,Ul=!0,Yu(e,t,n),En=f,Ul=g}return}case p:case $:case P:case oe:{if(!Tn){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var R=C.next,O=R;do{var Z=O,X=Z.destroy,ye=Z.tag;X!==void 0&&((ye&ss)!==To?lg(n,t,X):(ye&Za)!==To&&(gC(n),n.mode&Hr?(fs(),lg(n,t,X),ds(n)):lg(n,t,X),_C())),O=O.next}while(O!==R)}}}Yu(e,t,n);return}case _:{if(!Tn){cf(n,t);var Se=n.stateNode;typeof Se.componentWillUnmount=="function"&&K1(n,t,Se)}Yu(e,t,n);return}case Ce:{Yu(e,t,n);return}case V:{if(n.mode&dr){var xe=Tn;Tn=xe||n.memoizedState!==null,Yu(e,t,n),Tn=xe}else Yu(e,t,n);break}default:{Yu(e,t,n);return}}}function ej(e){var t=e.memoizedState}function tj(e,t){var n=t.memoizedState;if(n===null){var o=t.alternate;if(o!==null){var u=o.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&F9(f)}}}}function z4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new IH),t.forEach(function(o){var u=rU.bind(null,e,o);if(!n.has(o)){if(n.add(o),Ll)if(sf!==null&&uf!==null)xh(uf,sf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(u,u)}})}}function rj(e,t,n){sf=n,uf=e,ba(t),P4(t,e),ba(t),sf=null,uf=null}function Vl(e,t,n){var o=t.deletions;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u];try{ZH(e,t,f)}catch(C){la(f,t,C)}}var g=B_();if(t.subtreeFlags&ab)for(var y=t.child;y!==null;)ba(y),P4(y,e),y=y.sibling;ba(g)}function P4(e,t,n){var o=e.alternate,u=e.flags;switch(e.tag){case p:case $:case P:case oe:{if(Vl(t,e),ps(e),u&_r){try{jl(ss|Qa,e,e.return),Wu(ss|Qa,e)}catch(Mt){la(e,e.return,Mt)}if(e.mode&Hr){try{fs(),jl(Za|Qa,e,e.return)}catch(Mt){la(e,e.return,Mt)}ds(e)}else try{jl(Za|Qa,e,e.return)}catch(Mt){la(e,e.return,Mt)}}return}case _:{Vl(t,e),ps(e),u&ku&&o!==null&&cf(o,o.return);return}case w:{Vl(t,e),ps(e),u&ku&&o!==null&&cf(o,o.return);{if(e.flags&op){var f=e.stateNode;try{Ow(f)}catch(Mt){la(e,e.return,Mt)}}if(u&_r){var g=e.stateNode;if(g!=null){var y=e.memoizedProps,C=o!==null?o.memoizedProps:y,R=e.type,O=e.updateQueue;if(e.updateQueue=null,O!==null)try{f9(g,O,R,C,y,e)}catch(Mt){la(e,e.return,Mt)}}}}return}case k:{if(Vl(t,e),ps(e),u&_r){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,X=e.memoizedProps,ye=o!==null?o.memoizedProps:X;try{p9(Z,ye,X)}catch(Mt){la(e,e.return,Mt)}}return}case S:{if(Vl(t,e),ps(e),u&_r&&o!==null){var Se=o.memoizedState;if(Se.isDehydrated)try{I9(t.containerInfo)}catch(Mt){la(e,e.return,Mt)}}return}case T:{Vl(t,e),ps(e);return}case W:{Vl(t,e),ps(e);var xe=e.child;if(xe.flags&yc){var at=xe.stateNode,Dt=xe.memoizedState,Ct=Dt!==null;if(at.isHidden=Ct,Ct){var ir=xe.alternate!==null&&xe.alternate.memoizedState!==null;ir||jj()}}if(u&_r){try{ej(e)}catch(Mt){la(e,e.return,Mt)}z4(e)}return}case V:{var lr=o!==null&&o.memoizedState!==null;if(e.mode&dr){var fe=Tn;Tn=fe||lr,Vl(t,e),Tn=fe}else Vl(t,e);if(ps(e),u&yc){var Re=e.stateNode,pe=e.memoizedState,$e=pe!==null,dt=e;if(Re.isHidden=$e,$e&&!lr&&(dt.mode&dr)!==Nt){gt=dt;for(var nt=dt.child;nt!==null;)gt=nt,nj(nt),nt=nt.sibling}KH(dt,$e)}return}case le:{Vl(t,e),ps(e),u&_r&&z4(e);return}case Ce:return;default:{Vl(t,e),ps(e);return}}}function ps(e){var t=e.flags;if(t&Ya){try{QH(e)}catch(n){la(e,e.return,n)}e.flags&=~Ya}t&zs&&(e.flags&=~zs)}function aj(e,t,n){sf=n,uf=t,gt=e,M4(e,t,n),sf=null,uf=null}function M4(e,t,n){for(var o=(e.mode&dr)!==Nt;gt!==null;){var u=gt,f=u.child;if(u.tag===V&&o){var g=u.memoizedState!==null,y=g||ig;if(y){Q1(e,t,n);continue}else{var C=u.alternate,R=C!==null&&C.memoizedState!==null,O=R||Tn,Z=ig,X=Tn;ig=y,Tn=O,Tn&&!X&&(gt=u,oj(u));for(var ye=f;ye!==null;)gt=ye,M4(ye,t,n),ye=ye.sibling;gt=u,ig=Z,Tn=X,Q1(e,t,n);continue}}(u.subtreeFlags&lp)!==zt&&f!==null?(f.return=u,gt=f):Q1(e,t,n)}}function Q1(e,t,n){for(;gt!==null;){var o=gt;if((o.flags&lp)!==zt){var u=o.alternate;ba(o);try{GH(t,u,o,n)}catch(g){la(o,o.return,g)}cn()}if(o===e){gt=null;return}var f=o.sibling;if(f!==null){f.return=o.return,gt=f;return}gt=o.return}}function nj(e){for(;gt!==null;){var t=gt,n=t.child;switch(t.tag){case p:case $:case P:case oe:{if(t.mode&Hr)try{fs(),jl(Za,t,t.return)}finally{ds(t)}else jl(Za,t,t.return);break}case _:{cf(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&K1(t,t.return,o);break}case w:{cf(t,t.return);break}case V:{var u=t.memoizedState!==null;if(u){I4(e);continue}break}}n!==null?(n.return=t,gt=n):I4(e)}}function I4(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 oj(e){for(;gt!==null;){var t=gt,n=t.child;if(t.tag===V){var o=t.memoizedState!==null;if(o){F4(e);continue}}n!==null?(n.return=t,gt=n):F4(e)}}function F4(e){for(;gt!==null;){var t=gt;ba(t);try{qH(t)}catch(o){la(t,t.return,o)}if(cn(),t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function ij(e,t,n,o){gt=t,lj(t,e,n,o)}function lj(e,t,n,o){for(;gt!==null;){var u=gt,f=u.child;(u.subtreeFlags&Ad)!==zt&&f!==null?(f.return=u,gt=f):sj(e,t,n,o)}}function sj(e,t,n,o){for(;gt!==null;){var u=gt;if((u.flags&Nl)!==zt){ba(u);try{uj(t,u,n,o)}catch(g){la(u,u.return,g)}cn()}if(u===e){gt=null;return}var f=u.sibling;if(f!==null){f.return=u.return,gt=f;return}gt=u.return}}function uj(e,t,n,o){switch(t.tag){case p:case $:case oe:{if(t.mode&Hr){g1();try{Wu(wn|Qa,t)}finally{v1(t)}}else Wu(wn|Qa,t);break}}}function cj(e){gt=e,dj()}function dj(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&_c)!==zt){var n=e.deletions;if(n!==null){for(var o=0;o<n.length;o++){var u=n[o];gt=u,hj(u,e)}{var f=e.alternate;if(f!==null){var g=f.child;if(g!==null){f.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(g!==null)}}}gt=e}}(e.subtreeFlags&Ad)!==zt&&t!==null?(t.return=e,gt=t):fj()}}function fj(){for(;gt!==null;){var e=gt;(e.flags&Nl)!==zt&&(ba(e),pj(e),cn());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function pj(e){switch(e.tag){case p:case $:case oe:{e.mode&Hr?(g1(),jl(wn|Qa,e,e.return),v1(e)):jl(wn|Qa,e,e.return);break}}}function hj(e,t){for(;gt!==null;){var n=gt;ba(n),vj(n,t),cn();var o=n.child;o!==null?(o.return=n,gt=o):mj(e)}}function mj(e){for(;gt!==null;){var t=gt,n=t.sibling,o=t.return;if(N4(t),t===e){gt=null;return}if(n!==null){n.return=o,gt=n;return}gt=o}}function vj(e,t){switch(e.tag){case p:case $:case oe:{e.mode&Hr?(g1(),jl(wn,e,t),v1(e)):jl(wn,e,t);break}}}function gj(e){switch(e.tag){case p:case $:case oe:{try{Wu(Za|Qa,e)}catch(n){la(e,e.return,n)}break}case _:{var t=e.stateNode;try{t.componentDidMount()}catch(n){la(e,e.return,n)}break}}}function _j(e){switch(e.tag){case p:case $:case oe:{try{Wu(wn|Qa,e)}catch(t){la(e,e.return,t)}break}}}function bj(e){switch(e.tag){case p:case $:case oe:{try{jl(Za|Qa,e,e.return)}catch(n){la(e,e.return,n)}break}case _:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&K1(e,e.return,t);break}}}function yj(e){switch(e.tag){case p:case $:case oe:try{jl(wn|Qa,e,e.return)}catch(t){la(e,e.return,t)}}}var Sj=0,Cj=1,wj=2,xj=3,Tj=4;if(typeof Symbol=="function"&&Symbol.for){var ph=Symbol.for;Sj=ph("selector.component"),Cj=ph("selector.has_pseudo_class"),wj=ph("selector.role"),xj=ph("selector.test_id"),Tj=ph("selector.text")}var Ej=[];function kj(){Ej.forEach(function(e){return e()})}var Rj=i.ReactCurrentActQueue;function Dj(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest!="undefined";return n&&t!==!1}}function H4(){{var e=typeof IS_REACT_ACT_ENVIRONMENT!="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&Rj.current!==null&&c("The current testing environment is not configured to support act(...)"),e}}var Aj=Math.ceil,Z1=i.ReactCurrentDispatcher,e0=i.ReactCurrentOwner,kn=i.ReactCurrentBatchConfig,Wl=i.ReactCurrentActQueue,rn=0,j4=1,Rn=2,Sl=4,qs=0,hh=1,Uc=2,sg=3,mh=4,U4=5,t0=6,fr=rn,eo=null,Ea=null,an=Me,hs=Me,r0=zu(Me),nn=qs,vh=null,a0=Me,ug=Me,gh=Me,cg=Me,_h=null,Eo=null,n0=0,V4=500,W4=1/0,Nj=500,Ks=null;function bh(){W4=dn()+Nj}function Y4(){return W4}var dg=!1,o0=null,df=null,Vc=!1,$u=null,yh=Me,i0=[],l0=null,Lj=50,Sh=0,s0=null,u0=!1,fg=!1,Bj=50,ff=0,pg=null,Ch=fa,hg=Me,$4=!1;function mg(){return eo}function to(){return(fr&(Rn|Sl))!==rn?dn():(Ch!==fa||(Ch=dn()),Ch)}function Gu(e){var t=e.mode;if((t&dr)===Nt)return Ht;if((fr&Rn)!==rn&&an!==Me)return hp(an);var n=wF()!==CF;if(n){if(kn.transition!==null){var o=kn.transition;o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(e)}return hg===pn&&(hg=EC()),hg}var u=Bl();if(u!==pn)return u;var f=l9();return f}function Oj(e){var t=e.mode;return(t&dr)===Nt?Ht:NP()}function on(e,t,n,o){nU(),$4&&c("useInsertionEffect must not schedule updates."),u0&&(fg=!0),mp(e,n,o),(fr&Rn)!==Me&&e===eo?lU(t):(Ll&&DC(e,t,n),sU(t),e===eo&&((fr&Rn)===rn&&(gh=Zt(gh,n)),nn===mh&&qu(e,an)),ko(e,o),n===Ht&&fr===rn&&(t.mode&dr)===Nt&&!Wl.isBatchingLegacy&&(bh(),Yw()))}function zj(e,t,n){var o=e.current;o.lanes=t,mp(e,t,n),ko(e,n)}function Pj(e){return(fr&Rn)!==rn}function ko(e,t){var n=e.callbackNode;TP(e,t);var o=Pm(e,e===eo?an:Me);if(o===Me){n!==null&&sT(n),e.callbackNode=null,e.callbackPriority=pn;return}var u=kc(o),f=e.callbackPriority;if(f===u&&!(Wl.current!==null&&n!==v0)){n==null&&f!==Ht&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&sT(n);var g;if(u===Ht)e.tag===Pu?(Wl.isBatchingLegacy!==null&&(Wl.didScheduleLegacyUpdate=!0),oF(K4.bind(null,e))):Ww(K4.bind(null,e)),Wl.current!==null?Wl.current.push(Mu):u9(function(){(fr&(Rn|Sl))===rn&&Mu()}),g=null;else{var y;switch(LC(o)){case Fo:y=Lm;break;case Fs:y=nb;break;case Hs:y=wc;break;case Fm:y=ob;break;default:y=wc;break}g=g0(y,G4.bind(null,e))}e.callbackPriority=u,e.callbackNode=g}function G4(e,t){if(KF(),Ch=fa,hg=Me,(fr&(Rn|Sl))!==rn)throw new Error("Should not already be working.");var n=e.callbackNode,o=Js();if(o&&e.callbackNode!==n)return null;var u=Pm(e,e===eo?an:Me);if(u===Me)return null;var f=!Mm(e,u)&&!AP(e,u)&&!t,g=f?$j(e,u):gg(e,u);if(g!==qs){if(g===Uc){var y=kb(e);y!==Me&&(u=y,g=c0(e,y))}if(g===hh){var C=vh;throw Wc(e,Me),qu(e,u),ko(e,dn()),C}if(g===t0)qu(e,u);else{var R=!Mm(e,u),O=e.current.alternate;if(R&&!Ij(O)){if(g=gg(e,u),g===Uc){var Z=kb(e);Z!==Me&&(u=Z,g=c0(e,Z))}if(g===hh){var X=vh;throw Wc(e,Me),qu(e,u),ko(e,dn()),X}}e.finishedWork=O,e.finishedLanes=u,Mj(e,g,u)}}return ko(e,dn()),e.callbackNode===n?G4.bind(null,e):null}function c0(e,t){var n=_h;if(Hm(e)){var o=Wc(e,t);o.flags|=Os,Q9(e.containerInfo)}var u=gg(e,t);if(u!==Uc){var f=Eo;Eo=n,f!==null&&q4(f)}return u}function q4(e){Eo===null?Eo=e:Eo.push.apply(Eo,e)}function Mj(e,t,n){switch(t){case qs:case hh:throw new Error("Root did not complete. This is a bug in React.");case Uc:{Yc(e,Eo,Ks);break}case sg:{if(qu(e,n),xC(n)&&!uT()){var o=n0+V4-dn();if(o>10){var u=Pm(e,Me);if(u!==Me)break;var f=e.suspendedLanes;if(!zd(f,n)){var g=to();RC(e,f);break}e.timeoutHandle=iy(Yc.bind(null,e,Eo,Ks),o);break}}Yc(e,Eo,Ks);break}case mh:{if(qu(e,n),DP(n))break;if(!uT()){var y=wP(e,n),C=y,R=dn()-C,O=aU(R)-R;if(O>10){e.timeoutHandle=iy(Yc.bind(null,e,Eo,Ks),O);break}}Yc(e,Eo,Ks);break}case U4:{Yc(e,Eo,Ks);break}default:throw new Error("Unknown root exit status.")}}function Ij(e){for(var t=e;;){if(t.flags&Am){var n=t.updateQueue;if(n!==null){var o=n.stores;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],g=f.getSnapshot,y=f.value;try{if(!jo(g(),y))return!1}catch(R){return!1}}}}var C=t.child;if(t.subtreeFlags&Am&&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 qu(e,t){t=Im(t,cg),t=Im(t,gh),BP(e,t)}function K4(e){if(XF(),(fr&(Rn|Sl))!==rn)throw new Error("Should not already be working.");Js();var t=Pm(e,Me);if(!Io(t,Ht))return ko(e,dn()),null;var n=gg(e,t);if(e.tag!==Pu&&n===Uc){var o=kb(e);o!==Me&&(t=o,n=c0(e,o))}if(n===hh){var u=vh;throw Wc(e,Me),qu(e,t),ko(e,dn()),u}if(n===t0)throw new Error("Root did not complete. This is a bug in React.");var f=e.current.alternate;return e.finishedWork=f,e.finishedLanes=t,Yc(e,Eo,Ks),ko(e,dn()),null}function Fj(e,t){t!==Me&&(Nb(e,Zt(t,Ht)),ko(e,dn()),(fr&(Rn|Sl))===rn&&(bh(),Mu()))}function d0(e,t){var n=fr;fr|=j4;try{return e(t)}finally{fr=n,fr===rn&&!Wl.isBatchingLegacy&&(bh(),Yw())}}function Hj(e,t,n,o,u){var f=Bl(),g=kn.transition;try{return kn.transition=null,hn(Fo),e(t,n,o,u)}finally{hn(f),kn.transition=g,fr===rn&&bh()}}function Xs(e){$u!==null&&$u.tag===Pu&&(fr&(Rn|Sl))===rn&&Js();var t=fr;fr|=j4;var n=kn.transition,o=Bl();try{return kn.transition=null,hn(Fo),e?e():void 0}finally{hn(o),kn.transition=n,fr=t,(fr&(Rn|Sl))===rn&&Mu()}}function X4(){return(fr&(Rn|Sl))!==rn}function vg(e,t){In(r0,hs,e),hs=Zt(hs,t),a0=Zt(a0,t)}function f0(e){hs=r0.current,Mn(r0,e)}function Wc(e,t){e.finishedWork=null,e.finishedLanes=Me;var n=e.timeoutHandle;if(n!==ly&&(e.timeoutHandle=ly,s9(n)),Ea!==null)for(var o=Ea.return;o!==null;){var u=o.alternate;x4(u,o),o=o.return}eo=e;var f=$c(e.current,null);return Ea=f,an=hs=a0=t,nn=qs,vh=null,ug=Me,gh=Me,cg=Me,_h=null,Eo=null,AF(),Pl.discardPendingWarnings(),f}function J4(e,t){do{var n=Ea;try{if(Ev(),yx(),cn(),e0.current=null,n===null||n.return===null){nn=hh,vh=t,Ea=null;return}if(st&&n.mode&Hr&&tg(n,!0),Xe)if(Nd(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var o=t;dP(n,o,an)}else cP(n,t,an);oH(e,n.return,n,t,an),tT(n)}catch(u){t=u,Ea===n&&n!==null?(n=n.return,Ea=n):n=Ea;continue}return}while(!0)}function Q4(){var e=Z1.current;return Z1.current=Xv,e===null?Xv:e}function Z4(e){Z1.current=e}function jj(){n0=dn()}function wh(e){ug=Zt(e,ug)}function Uj(){nn===qs&&(nn=sg)}function p0(){(nn===qs||nn===sg||nn===Uc)&&(nn=mh),eo!==null&&(Rb(ug)||Rb(gh))&&qu(eo,an)}function Vj(e){nn!==mh&&(nn=Uc),_h===null?_h=[e]:_h.push(e)}function Wj(){return nn===qs}function gg(e,t){var n=fr;fr|=Rn;var o=Q4();if(eo!==e||an!==t){if(Ll){var u=e.memoizedUpdaters;u.size>0&&(xh(e,an),u.clear()),AC(e,t)}Ks=NC(),Wc(e,t)}bC(t);do try{Yj();break}catch(f){J4(e,f)}while(!0);if(Ev(),fr=n,Z4(o),Ea!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return yC(),eo=null,an=Me,nn}function Yj(){for(;Ea!==null;)eT(Ea)}function $j(e,t){var n=fr;fr|=Rn;var o=Q4();if(eo!==e||an!==t){if(Ll){var u=e.memoizedUpdaters;u.size>0&&(xh(e,an),u.clear()),AC(e,t)}Ks=NC(),bh(),Wc(e,t)}bC(t);do try{Gj();break}catch(f){J4(e,f)}while(!0);return Ev(),Z4(o),fr=n,Ea!==null?(vP(),qs):(yC(),eo=null,an=Me,nn)}function Gj(){for(;Ea!==null&&!W7();)eT(Ea)}function eT(e){var t=e.alternate;ba(e);var n;(e.mode&Hr)!==Nt?(m1(e),n=h0(t,e,hs),tg(e,!0)):n=h0(t,e,hs),cn(),e.memoizedProps=e.pendingProps,n===null?tT(e):Ea=n,e0.current=null}function tT(e){var t=e;do{var n=t.alternate,o=t.return;if((t.flags&ip)===zt){ba(t);var u=void 0;if((t.mode&Hr)===Nt?u=w4(n,t,hs):(m1(t),u=w4(n,t,hs),tg(t,!1)),cn(),u!==null){Ea=u;return}}else{var f=MH(n,t);if(f!==null){f.flags&=I7,Ea=f;return}if((t.mode&Hr)!==Nt){tg(t,!1);for(var g=t.actualDuration,y=t.child;y!==null;)g+=y.actualDuration,y=y.sibling;t.actualDuration=g}if(o!==null)o.flags|=ip,o.subtreeFlags=zt,o.deletions=null;else{nn=t0,Ea=null;return}}var C=t.sibling;if(C!==null){Ea=C;return}t=o,Ea=t}while(t!==null);nn===qs&&(nn=U4)}function Yc(e,t,n){var o=Bl(),u=kn.transition;try{kn.transition=null,hn(Fo),qj(e,t,n,o)}finally{kn.transition=u,hn(o)}return null}function qj(e,t,n,o){do Js();while($u!==null);if(oU(),(fr&(Rn|Sl))!==rn)throw new Error("Should not already be working.");var u=e.finishedWork,f=e.finishedLanes;if(aP(f),u===null)return vC(),null;if(f===Me&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Me,u===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=pn;var g=Zt(u.lanes,u.childLanes);OP(e,g),e===eo&&(eo=null,Ea=null,an=Me),((u.subtreeFlags&Ad)!==zt||(u.flags&Ad)!==zt)&&(Vc||(Vc=!0,l0=n,g0(wc,function(){return Js(),null})));var y=(u.subtreeFlags&(rb|ab|lp|Ad))!==zt,C=(u.flags&(rb|ab|lp|Ad))!==zt;if(y||C){var R=kn.transition;kn.transition=null;var O=Bl();hn(Fo);var Z=fr;fr|=Sl,e0.current=null;var X=UH(e,u);Yx(),rj(e,u,f),t9(e.containerInfo),e.current=u,fP(f),aj(u,e,f),pP(),Y7(),fr=Z,hn(O),kn.transition=R}else e.current=u,Yx();var ye=Vc;if(Vc?(Vc=!1,$u=e,yh=f):(ff=0,pg=null),g=e.pendingLanes,g===Me&&(df=null),ye||oT(e.current,!1),Q7(u.stateNode,o),Ll&&e.memoizedUpdaters.clear(),kj(),ko(e,dn()),t!==null)for(var Se=e.onRecoverableError,xe=0;xe<t.length;xe++){var at=t[xe],Dt=at.stack,Ct=at.digest;Se(at.value,{componentStack:Dt,digest:Ct})}if(dg){dg=!1;var ir=o0;throw o0=null,ir}return Io(yh,Ht)&&e.tag!==Pu&&Js(),g=e.pendingLanes,Io(g,Ht)?(qF(),e===s0?Sh++:(Sh=0,s0=e)):Sh=0,Mu(),vC(),null}function Js(){if($u!==null){var e=LC(yh),t=IP(Hs,e),n=kn.transition,o=Bl();try{return kn.transition=null,hn(t),Xj()}finally{hn(o),kn.transition=n}}return!1}function Kj(e){i0.push(e),Vc||(Vc=!0,g0(wc,function(){return Js(),null}))}function Xj(){if($u===null)return!1;var e=l0;l0=null;var t=$u,n=yh;if($u=null,yh=Me,(fr&(Rn|Sl))!==rn)throw new Error("Cannot flush passive effects while already rendering.");u0=!0,fg=!1,hP(n);var o=fr;fr|=Sl,cj(t.current),ij(t,t.current,n,e);{var u=i0;i0=[];for(var f=0;f<u.length;f++){var g=u[f];$H(t,g)}}mP(),oT(t.current,!0),fr=o,Mu(),fg?t===pg?ff++:(ff=0,pg=t):ff=0,u0=!1,fg=!1,Z7(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function rT(e){return df!==null&&df.has(e)}function Jj(e){df===null?df=new Set([e]):df.add(e)}function Qj(e){dg||(dg=!0,o0=e)}var Zj=Qj;function aT(e,t,n){var o=Hc(n,t),u=Zx(e,o,Ht),f=Fu(e,u,Ht),g=to();f!==null&&(mp(f,Ht,g),ko(f,g))}function la(e,t,n){if(FH(n),Th(!1),e.tag===S){aT(e,e,n);return}var o=null;for(o=t;o!==null;){if(o.tag===S){aT(o,e,n);return}else if(o.tag===_){var u=o.type,f=o.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&!rT(f)){var g=Hc(n,e),y=B1(o,g,Ht),C=Fu(o,y,Ht),R=to();C!==null&&(mp(C,Ht,R),ko(C,R));return}}o=o.return}c(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
116
116
|
|
|
117
117
|
Error message:
|
|
118
118
|
|
|
119
|
-
%s`,n)}function eU(e,t,n){var o=e.pingCache;o!==null&&o.delete(t);var u=to();
|
|
119
|
+
%s`,n)}function eU(e,t,n){var o=e.pingCache;o!==null&&o.delete(t);var u=to();RC(e,n),uU(e),eo===e&&zd(an,n)&&(nn===mh||nn===sg&&xC(an)&&dn()-n0<V4?Wc(e,Me):cg=Zt(cg,n)),ko(e,u)}function nT(e,t){t===pn&&(t=Oj(e));var n=to(),o=xo(e,t);o!==null&&(mp(o,t,n),ko(o,n))}function tU(e){var t=e.memoizedState,n=pn;t!==null&&(n=t.retryLane),nT(e,n)}function rU(e,t){var n=pn,o;switch(e.tag){case W:o=e.stateNode;var u=e.memoizedState;u!==null&&(n=u.retryLane);break;case le:o=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),nT(e,n)}function aU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:Aj(e/1960)*1960}function nU(){if(Sh>Lj)throw Sh=0,s0=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.");ff>Bj&&(ff=0,pg=null,c("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function oU(){Pl.flushLegacyContextWarning(),Pl.flushPendingUnsafeLifecycleWarnings()}function oT(e,t){ba(e),_g(e,Ps,bj),t&&_g(e,Nm,yj),_g(e,Ps,gj),t&&_g(e,Nm,_j),cn()}function _g(e,t,n){for(var o=e,u=null;o!==null;){var f=o.subtreeFlags&t;o!==u&&o.child!==null&&f!==zt?o=o.child:((o.flags&t)!==zt&&n(o),o.sibling!==null?o=o.sibling:o=u=o.return)}}var bg=null;function iT(e){{if((fr&Rn)!==rn||!(e.mode&dr))return;var t=e.tag;if(t!==b&&t!==S&&t!==_&&t!==p&&t!==$&&t!==P&&t!==oe)return;var n=Jt(e)||"ReactComponent";if(bg!==null){if(bg.has(n))return;bg.add(n)}else bg=new Set([n]);var o=Pn;try{ba(e),c("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{o?ba(e):cn()}}}var h0;{var iU=null;h0=function(e,t,n){var o=hT(iU,t);try{return _4(e,t,n)}catch(f){if(pF()||f!==null&&typeof f=="object"&&typeof f.then=="function")throw f;if(Ev(),yx(),x4(e,t),hT(t,o),t.mode&Hr&&m1(t),X_(null,_4,null,e,t,n),O7()){var u=J_();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof f=="object"&&f!==null&&!f._suppressLogging&&(f._suppressLogging=!0)}throw f}}}var lT=!1,m0;m0=new Set;function lU(e){if(xu&&!YF())switch(e.tag){case p:case $:case oe:{var t=Ea&&Jt(Ea)||"Unknown",n=t;if(!m0.has(n)){m0.add(n);var o=Jt(e)||"Unknown";c("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",o,t,t)}break}case _:{lT||(c("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),lT=!0);break}}}function xh(e,t){if(Ll){var n=e.memoizedUpdaters;n.forEach(function(o){DC(e,o,t)})}}var v0={};function g0(e,t){{var n=Wl.current;return n!==null?(n.push(t),v0):mC(e,t)}}function sT(e){if(e!==v0)return V7(e)}function uT(){return Wl.current!==null}function sU(e){{if(e.mode&dr){if(!H4())return}else if(!Dj()||fr!==rn||e.tag!==p&&e.tag!==$&&e.tag!==oe)return;if(Wl.current===null){var t=Pn;try{ba(e),c(`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
|
|
|
@@ -134,19 +134,19 @@ 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 Th(e){$4=e}var
|
|
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 Th(e){$4=e}var Cl=null,pf=null,cU=function(e){Cl=e};function hf(e){{if(Cl===null)return e;var t=Cl(e);return t===void 0?e:t.current}}function _0(e){return hf(e)}function b0(e){{if(Cl===null)return e;var t=Cl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=hf(e.render);if(e.render!==n){var o={$$typeof:ge,render:n};return e.displayName!==void 0&&(o.displayName=e.displayName),o}}return e}return t.current}}function cT(e,t){{if(Cl===null)return!1;var n=e.elementType,o=t.type,u=!1,f=typeof o=="object"&&o!==null?o.$$typeof:null;switch(e.tag){case _:{typeof o=="function"&&(u=!0);break}case p:{(typeof o=="function"||f===et)&&(u=!0);break}case $:{(f===ge||f===et)&&(u=!0);break}case P:case oe:{(f===ft||f===et)&&(u=!0);break}default:return!1}if(u){var g=Cl(n);if(g!==void 0&&g===Cl(o))return!0}return!1}}function dT(e){{if(Cl===null||typeof WeakSet!="function")return;pf===null&&(pf=new WeakSet),pf.add(e)}}var dU=function(e,t){{if(Cl===null)return;var n=t.staleFamilies,o=t.updatedFamilies;Js(),Xs(function(){y0(e.current,o,n)})}},fU=function(e,t){{if(e.context!==Uo)return;Js(),Xs(function(){Eh(t,e,null,null)})}};function y0(e,t,n){{var o=e.alternate,u=e.child,f=e.sibling,g=e.tag,y=e.type,C=null;switch(g){case p:case oe:case _:C=y;break;case $:C=y.render;break}if(Cl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var R=!1,O=!1;if(C!==null){var Z=Cl(C);Z!==void 0&&(n.has(Z)?O=!0:t.has(Z)&&(g===_?O=!0:R=!0))}if(pf!==null&&(pf.has(e)||o!==null&&pf.has(o))&&(O=!0),O&&(e._debugNeedsRemount=!0),O||R){var X=xo(e,Ht);X!==null&&on(X,e,Ht,fa)}u!==null&&!O&&y0(u,t,n),f!==null&&y0(f,t,n)}}var pU=function(e,t){{var n=new Set,o=new Set(t.map(function(u){return u.current}));return S0(e.current,o,n),n}};function S0(e,t,n){{var o=e.child,u=e.sibling,f=e.tag,g=e.type,y=null;switch(f){case p:case oe:case _:y=g;break;case $:y=g.render;break}var C=!1;y!==null&&t.has(y)&&(C=!0),C?hU(e,n):o!==null&&S0(o,t,n),u!==null&&S0(u,t,n)}}function hU(e,t){{var n=mU(e,t);if(n)return;for(var o=e;;){switch(o.tag){case w:t.add(o.stateNode);return;case T:t.add(o.stateNode.containerInfo);return;case S:t.add(o.stateNode.containerInfo);return}if(o.return===null)throw new Error("Expected to reach root first.");o=o.return}}}function mU(e,t){for(var n=e,o=!1;;){if(n.tag===w)o=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return o;for(;n.sibling===null;){if(n.return===null||n.return===e)return o;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var C0;{C0=!1;try{var fT=Object.preventExtensions({})}catch(e){C0=!0}}function vU(e,t,n,o){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=o,this.flags=zt,this.subtreeFlags=zt,this.deletions=null,this.lanes=Me,this.childLanes=Me,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,!C0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Vo=function(e,t,n,o){return new vU(e,t,n,o)};function w0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function gU(e){return typeof e=="function"&&!w0(e)&&e.defaultProps===void 0}function _U(e){if(typeof e=="function")return w0(e)?_:p;if(e!=null){var t=e.$$typeof;if(t===ge)return $;if(t===ft)return P}return b}function $c(e,t){var n=e.alternate;n===null?(n=Vo(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=zt,n.subtreeFlags=zt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Ms,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 o=e.dependencies;switch(n.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.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 b:case p:case oe:n.type=hf(e.type);break;case _:n.type=_0(e.type);break;case $:n.type=b0(e.type);break}return n}function bU(e,t){e.flags&=Ms|Ya;var n=e.alternate;if(n===null)e.childLanes=Me,e.lanes=t,e.child=null,e.subtreeFlags=zt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=zt,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var o=n.dependencies;e.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function yU(e,t,n){var o;return e===vv?(o=dr,t===!0&&(o|=Aa,o|=ns)):o=Nt,Ll&&(o|=Hr),Vo(S,null,null,o)}function x0(e,t,n,o,u,f){var g=b,y=e;if(typeof e=="function")w0(e)?(g=_,y=_0(y)):y=hf(y);else if(typeof e=="string")g=w;else e:switch(e){case de:return Ku(n.children,u,f,t);case We:g=A,u|=Aa,(u&dr)!==Nt&&(u|=ns);break;case Ie:return SU(n,u,f,t);case Ee:return CU(n,u,f,t);case Ve:return wU(n,u,f,t);case Et:return pT(n,u,f,t);case It:case Je:case Ir:case Ia:case xt:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case L:g=I;break e;case Y:g=q;break e;case ge:g=$,y=b0(y);break e;case ft:g=P;break e;case et:g=be,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 R=o?Jt(o):null;R&&(C+=`
|
|
138
138
|
|
|
139
|
-
Check the render method of \``+R+"`.")}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 \``+R+"`.")}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 O=Vo(g,n,t,u);return O.elementType=e,O.type=y,O.lanes=f,O._debugOwner=o,O}function T0(e,t,n){var o=null;o=e._owner;var u=e.type,f=e.key,g=e.props,y=x0(u,f,g,o,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Ku(e,t,n,o){var u=Vo(D,e,o,t);return u.lanes=n,u}function SU(e,t,n,o){typeof e.id!="string"&&c('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=Vo(F,e,o,t|Hr);return u.elementType=Ie,u.lanes=n,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function CU(e,t,n,o){var u=Vo(W,e,o,t);return u.elementType=Ee,u.lanes=n,u}function wU(e,t,n,o){var u=Vo(le,e,o,t);return u.elementType=Ve,u.lanes=n,u}function pT(e,t,n,o){var u=Vo(V,e,o,t);u.elementType=Et,u.lanes=n;var f={isHidden:!1};return u.stateNode=f,u}function E0(e,t,n){var o=Vo(k,e,null,t);return o.lanes=n,o}function xU(){var e=Vo(w,null,null,Nt);return e.elementType="DELETED",e}function TU(e){var t=Vo(he,null,null,Nt);return t.stateNode=e,t}function k0(e,t,n){var o=e.children!==null?e.children:[],u=Vo(T,o,e.key,t);return u.lanes=n,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function hT(e,t){return e===null&&(e=Vo(b,null,null,Nt)),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 EU(e,t,n,o,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=ly,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=pn,this.eventTimes=Ab(Me),this.expirationTimes=Ab(fa),this.pendingLanes=Me,this.suspendedLanes=Me,this.pingedLanes=Me,this.expiredLanes=Me,this.mutableReadLanes=Me,this.finishedLanes=Me,this.entangledLanes=Me,this.entanglements=Ab(Me),this.identifierPrefix=o,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var f=this.pendingUpdatersLaneMap=[],g=0;g<lb;g++)f.push(new Set)}switch(t){case vv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Pu:this._debugRootType=n?"hydrate()":"render()";break}}function mT(e,t,n,o,u,f,g,y,C,R){var O=new EU(e,t,n,y,C),Z=yU(t,f);O.current=Z,Z.stateNode=O;{var X={element:o,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};Z.memoizedState=X}return Fy(Z),O}var R0="18.3.1";function kU(e,t,n){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ta(o),{$$typeof:ne,key:o==null?null:""+o,children:e,containerInfo:t,implementation:n}}var D0,A0;D0=!1,A0={};function vT(e){if(!e)return Uo;var t=Rd(e),n=nF(t);if(t.tag===_){var o=t.type;if(ls(o))return Uw(t,o,n)}return n}function RU(e,t){{var n=Rd(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var o=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+o)}var u=fC(n);if(u===null)return null;if(u.mode&Aa){var f=Jt(n)||"Component";if(!A0[f]){A0[f]=!0;var g=Pn;try{ba(u),n.mode&Aa?c("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,f):c("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,f)}finally{g?ba(g):cn()}}}return u.stateNode}}function gT(e,t,n,o,u,f,g,y){var C=!1,R=null;return mT(e,t,C,R,n,o,u,f,g)}function _T(e,t,n,o,u,f,g,y,C,R){var O=!0,Z=mT(n,o,O,e,u,f,g,y,C);Z.context=vT(null);var X=Z.current,ye=to(),Se=Gu(X),xe=$s(ye,Se);return xe.callback=t!=null?t:null,Fu(X,xe,Se),zj(Z,Se,ye),Z}function Eh(e,t,n,o){J7(t,e);var u=t.current,f=to(),g=Gu(u);gP(g);var y=vT(n);t.context===null?t.context=y:t.pendingContext=y,xu&&Pn!==null&&!D0&&(D0=!0,c(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
140
140
|
|
|
141
|
-
Check the render method of %s.`,Jt(Pn)||"Unknown"));var
|
|
141
|
+
Check the render method of %s.`,Jt(Pn)||"Unknown"));var C=$s(f,g);C.payload={element:e},o=o===void 0?null:o,o!==null&&(typeof o!="function"&&c("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o),C.callback=o);var R=Fu(u,C,g);return R!==null&&(on(R,u,g,f),Nv(R,u,g)),g}function yg(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 DU(e){switch(e.tag){case S:{var t=e.stateNode;if(Hm(t)){var n=EP(t);Fj(t,n)}break}case W:{Xs(function(){var u=xo(e,Ht);if(u!==null){var f=to();on(u,e,Ht,f)}});var o=Ht;N0(e,o);break}}}function bT(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=LP(n.retryLane,t))}function N0(e,t){bT(e,t);var n=e.alternate;n&&bT(n,t)}function AU(e){if(e.tag===W){var t=dp,n=xo(e,t);if(n!==null){var o=to();on(n,e,t,o)}N0(e,t)}}function NU(e){if(e.tag===W){var t=Gu(e),n=xo(e,t);if(n!==null){var o=to();on(n,e,t,o)}N0(e,t)}}function yT(e){var t=U7(e);return t===null?null:t.stateNode}var ST=function(e){return null};function LU(e){return ST(e)}var CT=function(e){return!1};function BU(e){return CT(e)}var wT=null,xT=null,TT=null,ET=null,kT=null,RT=null,DT=null,AT=null,NT=null;{var LT=function(e,t,n){var o=t[n],u=Ja(e)?e.slice():At({},e);return n+1===t.length?(Ja(u)?u.splice(o,1):delete u[o],u):(u[o]=LT(e[o],t,n+1),u)},BT=function(e,t){return LT(e,t,0)},OT=function(e,t,n,o){var u=t[o],f=Ja(e)?e.slice():At({},e);if(o+1===t.length){var g=n[o];f[g]=f[u],Ja(f)?f.splice(u,1):delete f[u]}else f[u]=OT(e[u],t,n,o+1);return f},zT=function(e,t,n){if(t.length!==n.length){d("copyWithRename() expects paths of the same length");return}else for(var o=0;o<n.length-1;o++)if(t[o]!==n[o]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return OT(e,t,n,0)},PT=function(e,t,n,o){if(n>=t.length)return o;var u=t[n],f=Ja(e)?e.slice():At({},e);return f[u]=PT(e[u],t,n+1,o),f},MT=function(e,t,n){return PT(e,t,0,n)},L0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};wT=function(e,t,n,o){var u=L0(e,t);if(u!==null){var f=MT(u.memoizedState,n,o);u.memoizedState=f,u.baseState=f,e.memoizedProps=At({},e.memoizedProps);var g=xo(e,Ht);g!==null&&on(g,e,Ht,fa)}},xT=function(e,t,n){var o=L0(e,t);if(o!==null){var u=BT(o.memoizedState,n);o.memoizedState=u,o.baseState=u,e.memoizedProps=At({},e.memoizedProps);var f=xo(e,Ht);f!==null&&on(f,e,Ht,fa)}},TT=function(e,t,n,o){var u=L0(e,t);if(u!==null){var f=zT(u.memoizedState,n,o);u.memoizedState=f,u.baseState=f,e.memoizedProps=At({},e.memoizedProps);var g=xo(e,Ht);g!==null&&on(g,e,Ht,fa)}},ET=function(e,t,n){e.pendingProps=MT(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=xo(e,Ht);o!==null&&on(o,e,Ht,fa)},kT=function(e,t){e.pendingProps=BT(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=xo(e,Ht);n!==null&&on(n,e,Ht,fa)},RT=function(e,t,n){e.pendingProps=zT(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var o=xo(e,Ht);o!==null&&on(o,e,Ht,fa)},DT=function(e){var t=xo(e,Ht);t!==null&&on(t,e,Ht,fa)},AT=function(e){ST=e},NT=function(e){CT=e}}function OU(e){var t=fC(e);return t===null?null:t.stateNode}function zU(e){return null}function PU(){return Pn}function MU(e){var t=e.findFiberByHostInstance,n=i.ReactCurrentDispatcher;return X7({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:wT,overrideHookStateDeletePath:xT,overrideHookStateRenamePath:TT,overrideProps:ET,overridePropsDeletePath:kT,overridePropsRenamePath:RT,setErrorHandler:AT,setSuspenseHandler:NT,scheduleUpdate:DT,currentDispatcherRef:n,findHostInstanceByFiber:OU,findFiberByHostInstance:t||zU,findHostInstancesForRefresh:pU,scheduleRefresh:dU,scheduleRoot:fU,setRefreshHandler:cU,getCurrentFiber:PU,reconcilerVersion:R0})}var IT=typeof reportError=="function"?reportError:function(e){console.error(e)};function B0(e){this._internalRoot=e}Sg.prototype.render=B0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?c("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Cg(arguments[1])?c("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"&&c("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Wa){var o=yT(t.current);o&&o.parentNode!==n&&c("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.")}}Eh(e,t,null,null)},Sg.prototype.unmount=B0.prototype.unmount=function(){typeof arguments[0]=="function"&&c("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;X4()&&c("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."),Xs(function(){Eh(null,e,null,null)}),Mw(t)}};function IU(e,t){if(!Cg(e))throw new Error("createRoot(...): Target container is not a DOM element.");FT(e);var n=!1,o=!1,u="",f=IT,g=null;t!=null&&(t.hydrate?d("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===U&&c(`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&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.transitionCallbacks!==void 0&&(g=t.transitionCallbacks));var y=gT(e,vv,null,n,o,u,f);uv(y.current,e);var
|
|
145
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Yo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z0,Yo.createPortal=KU,Yo.createRoot=JU,Yo.findDOMNode=WU,Yo.flushSync=ZU,Yo.hydrate=YU,Yo.hydrateRoot=QU,Yo.render=$U,Yo.unmountComponentAtNode=qU,Yo.unstable_batchedUpdates=d0,Yo.unstable_renderSubtreeIntoContainer=XU,Yo.version=R0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var P0=qe((VG,JT)=>{"use strict";JT.exports=XT()});var QT=qe(I0=>{"use strict";var M0=P0();Dh=M0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I0.createRoot=function(r,a){Dh.usingClientEntryPoint=!0;try{return M0.createRoot(r,a)}finally{Dh.usingClientEntryPoint=!1}},I0.hydrateRoot=function(r,a,i){Dh.usingClientEntryPoint=!0;try{return M0.hydrateRoot(r,a,i)}finally{Dh.usingClientEntryPoint=!1}};var Dh});var X0=qe(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});function Tr(){return Tr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(r[l]=i[l])}return r},Tr.apply(this,arguments)}var La=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),ZT="popstate";function cV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:i,v5Compat:l=!1}=r,s;s=a.map((C,k)=>b(C,typeof C=="string"?null:C.state,k===0?"default":void 0));let d=p(i==null?s.length-1:i),c=La.Pop,h=null;function p(C){return Math.min(Math.max(C,0),s.length-1)}function _(){return s[d]}function b(C,k,D){k===void 0&&(k=null);let A=eu(s?_().pathname:"/",C,k,D);return vs(A.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(C)),A}function S(C){return typeof C=="string"?C:gs(C)}return{get index(){return d},get action(){return c},get location(){return _()},createHref:S,createURL(C){return new URL(S(C),"http://localhost")},encodeLocation(C){let k=typeof C=="string"?Yl(C):C;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(C,k){c=La.Push;let D=b(C,k);d+=1,s.splice(d,s.length,D),l&&h&&h({action:c,location:D,delta:1})},replace(C,k){c=La.Replace;let D=b(C,k);s[d]=D,l&&h&&h({action:c,location:D,delta:0})},go(C){c=La.Pop;let k=p(d+C),D=s[k];d=k,h&&h({action:c,location:D,delta:C})},listen(C){return h=C,()=>{h=null}}}}function dV(r){r===void 0&&(r={});function a(l,s){let{pathname:d,search:c,hash:h}=l.location;return eu("",{pathname:d,search:c,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function i(l,s){return typeof s=="string"?s:gs(s)}return m5(a,i,null,r)}function fV(r){r===void 0&&(r={});function a(s,d){let{pathname:c="/",search:h="",hash:p=""}=Yl(s.location.hash.substr(1));return!c.startsWith("/")&&!c.startsWith(".")&&(c="/"+c),eu("",{pathname:c,search:h,hash:p},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function i(s,d){let c=s.document.querySelector("base"),h="";if(c&&c.getAttribute("href")){let p=s.location.href,_=p.indexOf("#");h=_===-1?p:p.slice(0,_)}return h+"#"+(typeof d=="string"?d:gs(d))}function l(s,d){vs(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(d)+")")}return m5(a,i,l,r)}function Cr(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function vs(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(i){}}}function pV(){return Math.random().toString(36).substr(2,8)}function e5(r,a){return{usr:r.state,key:r.key,idx:a}}function eu(r,a,i,l){return i===void 0&&(i=null),Tr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Yl(a):a,{state:i,key:a&&a.key||l||pV()})}function gs(r){let{pathname:a="/",search:i="",hash:l=""}=r;return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function Yl(r){let a={};if(r){let i=r.indexOf("#");i>=0&&(a.hash=r.substr(i),r=r.substr(0,i));let l=r.indexOf("?");l>=0&&(a.search=r.substr(l),r=r.substr(0,l)),r&&(a.pathname=r)}return a}function m5(r,a,i,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:d=!1}=l,c=s.history,h=La.Pop,p=null,_=b();_==null&&(_=0,c.replaceState(Tr({},c.state,{idx:_}),""));function b(){return(c.state||{idx:null}).idx}function S(){h=La.Pop;let A=b(),q=A==null?null:A-_;_=A,p&&p({action:h,location:D.location,delta:q})}function T(A,q){h=La.Push;let I=eu(D.location,A,q);i&&i(I,A),_=b()+1;let $=e5(I,_),F=D.createHref(I);try{c.pushState($,"",F)}catch(W){if(W instanceof DOMException&&W.name==="DataCloneError")throw W;s.location.assign(F)}d&&p&&p({action:h,location:D.location,delta:1})}function C(A,q){h=La.Replace;let I=eu(D.location,A,q);i&&i(I,A),_=b();let $=e5(I,_),F=D.createHref(I);c.replaceState($,"",F),d&&p&&p({action:h,location:D.location,delta:0})}function k(A){let q=s.location.origin!=="null"?s.location.origin:s.location.href,I=typeof A=="string"?A:gs(A);return I=I.replace(/ $/,"%20"),Cr(q,"No window.location.(origin|href) available to create URL for href: "+I),new URL(I,q)}let D={get action(){return h},get location(){return r(s,c)},listen(A){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(ZT,S),p=A,()=>{s.removeEventListener(ZT,S),p=null}},createHref(A){return a(s,A)},createURL:k,encodeLocation(A){let q=k(A);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:T,replace:C,go(A){return c.go(A)}};return D}var Or=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),hV=new Set(["lazy","caseSensitive","path","id","index","children"]);function mV(r){return r.index===!0}function Xc(r,a,i,l){return i===void 0&&(i=[]),l===void 0&&(l={}),r.map((s,d)=>{let c=[...i,String(d)],h=typeof s.id=="string"?s.id:c.join("-");if(Cr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Cr(!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=Tr({},s,a(s),{id:h});return l[h]=p,p}else{let p=Tr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=Xc(s.children,a,c,l)),p}})}function Zs(r,a,i){return i===void 0&&(i="/"),kg(r,a,i,!1)}function kg(r,a,i,l){let s=typeof a=="string"?Yl(a):a,d=Lh(s.pathname||"/",i);if(d==null)return null;let c=g5(r);vV(c);let h=null;for(let p=0;h==null&&p<c.length;++p){let _=b5(d);h=TV(c[p],_,l)}return h}function v5(r,a){let{route:i,pathname:l,params:s}=r;return{id:i.id,pathname:l,params:s,data:a[i.id],handle:i.handle}}function g5(r,a,i,l){a===void 0&&(a=[]),i===void 0&&(i=[]),l===void 0&&(l="");let s=(d,c,h)=>{let p={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:c,route:d};p.relativePath.startsWith("/")&&(Cr(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 _=_f([l,p.relativePath]),b=i.concat(p);d.children&&d.children.length>0&&(Cr(d.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+_+'".')),g5(d.children,a,b,_)),!(d.path==null&&!d.index)&&a.push({path:_,score:CV(_,d.index),routesMeta:b})};return r.forEach((d,c)=>{var h;if(d.path===""||!((h=d.path)!=null&&h.includes("?")))s(d,c);else for(let p of _5(d.path))s(d,c,p)}),a}function _5(r){let a=r.split("/");if(a.length===0)return[];let[i,...l]=a,s=i.endsWith("?"),d=i.replace(/\?$/,"");if(l.length===0)return s?[d,""]:[d];let c=_5(l.join("/")),h=[];return h.push(...c.map(p=>p===""?d:[d,p].join("/"))),s&&h.push(...c),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function vV(r){r.sort((a,i)=>a.score!==i.score?i.score-a.score:xV(a.routesMeta.map(l=>l.childrenIndex),i.routesMeta.map(l=>l.childrenIndex)))}var gV=/^:[\w-]+$/,_V=3,bV=2,yV=1,SV=10,wV=-2,t5=r=>r==="*";function CV(r,a){let i=r.split("/"),l=i.length;return i.some(t5)&&(l+=wV),a&&(l+=bV),i.filter(s=>!t5(s)).reduce((s,d)=>s+(gV.test(d)?_V:d===""?yV:SV),l)}function xV(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 TV(r,a,i){i===void 0&&(i=!1);let{routesMeta:l}=r,s={},d="/",c=[];for(let h=0;h<l.length;++h){let p=l[h],_=h===l.length-1,b=d==="/"?a:a.slice(d.length)||"/",S=j0({path:p.relativePath,caseSensitive:p.caseSensitive,end:_},b),T=p.route;if(!S&&_&&i&&!l[l.length-1].route.index&&(S=j0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!S)return null;Object.assign(s,S.params),c.push({params:s,pathname:_f([d,S.pathname]),pathnameBase:x5(_f([d,S.pathnameBase])),route:T}),S.pathnameBase!=="/"&&(d=_f([d,S.pathnameBase]))}return c}function EV(r,a){a===void 0&&(a={});let i=r;i.endsWith("*")&&i!=="*"&&!i.endsWith("/*")&&(vs(!1,'Route path "'+i+'" will be treated as if it were '+('"'+i.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+i.replace(/\*$/,"/*")+'".')),i=i.replace(/\*$/,"/*"));let l=i.startsWith("/")?"/":"",s=c=>c==null?"":typeof c=="string"?c:String(c),d=i.split(/\/+/).map((c,h,p)=>{if(h===p.length-1&&c==="*")return s(a["*"]);let b=c.match(/^:([\w-]+)(\??)$/);if(b){let[,S,T]=b,C=a[S];return Cr(T==="?"||C!=null,'Missing ":'+S+'" param'),s(C)}return c.replace(/\?$/g,"")}).filter(c=>!!c);return l+d.join("/")}function j0(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[i,l]=kV(r.path,r.caseSensitive,r.end),s=a.match(i);if(!s)return null;let d=s[0],c=d.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((_,b,S)=>{let{paramName:T,isOptional:C}=b;if(T==="*"){let D=h[S]||"";c=d.slice(0,d.length-D.length).replace(/(.)\/+$/,"$1")}let k=h[S];return C&&!k?_[T]=void 0:_[T]=(k||"").replace(/%2F/g,"/"),_},{}),pathname:d,pathnameBase:c,pattern:r}}function kV(r,a,i){a===void 0&&(a=!1),i===void 0&&(i=!0),vs(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,(c,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function b5(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return vs(!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 Lh(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,l=r.charAt(i);return l&&l!=="/"?null:r.slice(i)||"/"}function y5(r,a){a===void 0&&(a="/");let{pathname:i,search:l="",hash:s=""}=typeof r=="string"?Yl(r):r;return{pathname:i?i.startsWith("/")?i:RV(i,a):a,search:AV(l),hash:NV(s)}}function RV(r,a){let i=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function F0(r,a,i,l){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. Please separate it out to the ")+("`to."+i+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function S5(r){return r.filter((a,i)=>i===0||a.route.path&&a.route.path.length>0)}function w5(r,a){let i=S5(r);return a?i.map((l,s)=>s===i.length-1?l.pathname:l.pathnameBase):i.map(l=>l.pathnameBase)}function C5(r,a,i,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Yl(r):(s=Tr({},r),Cr(!s.pathname||!s.pathname.includes("?"),F0("?","pathname","search",s)),Cr(!s.pathname||!s.pathname.includes("#"),F0("#","pathname","hash",s)),Cr(!s.search||!s.search.includes("#"),F0("#","search","hash",s)));let d=r===""||s.pathname==="",c=d?"/":s.pathname,h;if(c==null)h=i;else{let S=a.length-1;if(!l&&c.startsWith("..")){let T=c.split("/");for(;T[0]==="..";)T.shift(),S-=1;s.pathname=T.join("/")}h=S>=0?a[S]:"/"}let p=y5(s,h),_=c&&c!=="/"&&c.endsWith("/"),b=(d||c===".")&&i.endsWith("/");return!p.pathname.endsWith("/")&&(_||b)&&(p.pathname+="/"),p}function DV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Yl(r).pathname:r.pathname}var _f=r=>r.join("/").replace(/\/\/+/g,"/"),x5=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),AV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,NV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,LV=function(a,i){i===void 0&&(i={});let l=typeof i=="number"?{status:i}:i,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Tr({},l,{headers:s}))},U0=class{constructor(a,i){this.type="DataWithResponseInit",this.data=a,this.init=i||null}};function BV(r,a){return new U0(r,typeof a=="number"?{status:a}:a)}var Nh=class extends Error{},Dg=class{constructor(a,i){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Cr(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((d,c)=>l=c),this.controller=new AbortController;let s=()=>l(new Nh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((d,c)=>{let[h,p]=c;return Object.assign(d,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=i}trackPromise(a,i){if(!(i instanceof Promise))return i;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([i,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,i,l,s){if(this.controller.signal.aborted&&l instanceof Nh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(i),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let d=new Error('Deferred data for key "'+i+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>d}),this.emit(!1,i),Promise.reject(d)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,i),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,i),s)}emit(a,i){this.subscribers.forEach(l=>l(a,i))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,i)=>this.pendingKeysSet.delete(i)),this.emit(!0)}resolveData(a){return Jr(this,null,function*(){let i=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),i=yield new Promise(s=>{this.subscribe(d=>{a.removeEventListener("abort",l),(d||this.done)&&s(d)})})}return i})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Cr(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((a,i)=>{let[l,s]=i;return Object.assign(a,{[l]:zV(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function OV(r){return r instanceof Promise&&r._tracked===!0}function zV(r){if(!OV(r))return r;if(r._error)throw r._error;return r._data}var PV=function(a,i){i===void 0&&(i={});let l=typeof i=="number"?{status:i}:i;return new Dg(a,l)},G0=function(a,i){i===void 0&&(i=302);let l=i;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,Tr({},l,{headers:s}))},MV=(r,a)=>{let i=G0(r,a);return i.headers.set("X-Remix-Reload-Document","true"),i},IV=(r,a)=>{let i=G0(r,a);return i.headers.set("X-Remix-Replace","true"),i},bf=class{constructor(a,i,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=i||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function yf(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var T5=["post","put","patch","delete"],FV=new Set(T5),HV=["get",...T5],jV=new Set(HV),UV=new Set([301,302,303,307,308]),VV=new Set([307,308]),Rg={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},E5={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gf={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},q0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,k5=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),R5="remix-router-transitions";function WV(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,i=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",l=!i;Cr(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 M=r.detectErrorBoundary;s=U=>({hasErrorBoundary:M(U)})}else s=k5;let d={},c=Xc(r.routes,s,void 0,d),h,p=r.basename||"/",_=r.unstable_dataStrategy||B5,b=r.unstable_patchRoutesOnMiss,S=Tr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),T=null,C=new Set,k=null,D=null,A=null,q=r.hydrationData!=null,I=Zs(c,r.history.location,p),$=null;if(I==null&&!b){let M=ya(404,{pathname:r.history.location.pathname}),{matches:U,route:ne}=Ag(c);I=U,$={[ne.id]:M}}I&&!r.hydrationData&&ze(I,c,r.history.location.pathname).active&&(I=null);let F;if(I)if(I.some(M=>M.route.lazy))F=!1;else if(!I.some(M=>M.route.loader))F=!0;else if(S.v7_partialHydration){let M=r.hydrationData?r.hydrationData.loaderData:null,U=r.hydrationData?r.hydrationData.errors:null,ne=de=>de.route.loader?typeof de.route.loader=="function"&&de.route.loader.hydrate===!0?!1:M&&M[de.route.id]!==void 0||U&&U[de.route.id]!==void 0:!0;if(U){let de=I.findIndex(We=>U[We.route.id]!==void 0);F=I.slice(0,de+1).every(ne)}else F=I.every(ne)}else F=r.hydrationData!=null;else if(F=!1,I=[],S.v7_partialHydration){let M=ze(null,c,r.history.location.pathname);M.active&&M.matches&&(I=M.matches)}let W,P={historyAction:r.history.action,location:r.history.location,matches:I,initialized:F,navigation:Rg,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||$,fetchers:new Map,blockers:new Map},oe=La.Pop,be=!1,Q,he=!1,le=new Map,we=null,V=!1,re=!1,ue=[],z=new Set,ee=new Map,te=0,se=-1,me=new Map,De=new Set,Ae=new Map,Oe=new Map,je=new Set,Xe=new Map,st=new Map,Ot=new Map,vt=!1;function Kt(){if(T=r.history.listen(M=>{let{action:U,location:ne,delta:de}=M;if(vt){vt=!1;return}vs(st.size===0||de!=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 We=ae({currentLocation:P.location,nextLocation:ne,historyAction:U});if(We&&de!=null){vt=!0,r.history.go(de*-1),G(We,{state:"blocked",location:ne,proceed(){G(We,{state:"proceeding",proceed:void 0,reset:void 0,location:ne}),r.history.go(de)},reset(){let Ie=new Map(P.blockers);Ie.set(We,gf),Ue({blockers:Ie})}});return}return sr(U,ne)}),i){aW(a,le);let M=()=>nW(a,le);a.addEventListener("pagehide",M),we=()=>a.removeEventListener("pagehide",M)}return P.initialized||sr(La.Pop,P.location,{initialHydration:!0}),W}function nr(){T&&T(),we&&we(),C.clear(),Q&&Q.abort(),P.fetchers.forEach((M,U)=>Fe(U)),P.blockers.forEach((M,U)=>ca(U))}function or(M){return C.add(M),()=>C.delete(M)}function Ue(M,U){U===void 0&&(U={}),P=Tr({},P,M);let ne=[],de=[];S.v7_fetcherPersist&&P.fetchers.forEach((We,Ie)=>{We.state==="idle"&&(je.has(Ie)?de.push(Ie):ne.push(Ie))}),[...C].forEach(We=>We(P,{deletedFetchers:de,unstable_viewTransitionOpts:U.viewTransitionOpts,unstable_flushSync:U.flushSync===!0})),S.v7_fetcherPersist&&(ne.forEach(We=>P.fetchers.delete(We)),de.forEach(We=>Fe(We)))}function ar(M,U,ne){var de,We;let{flushSync:Ie}=ne===void 0?{}:ne,L=P.actionData!=null&&P.navigation.formMethod!=null&&Cl(P.navigation.formMethod)&&P.navigation.state==="loading"&&((de=M.state)==null?void 0:de._isRedirect)!==!0,Y;U.actionData?Object.keys(U.actionData).length>0?Y=U.actionData:Y=null:L?Y=P.actionData:Y=null;let ge=U.loaderData?c5(P.loaderData,U.loaderData,U.matches||[],U.errors):P.loaderData,Ee=P.blockers;Ee.size>0&&(Ee=new Map(Ee),Ee.forEach((et,Je)=>Ee.set(Je,gf)));let Ve=be===!0||P.navigation.formMethod!=null&&Cl(P.navigation.formMethod)&&((We=M.state)==null?void 0:We._isRedirect)!==!0;h&&(c=h,h=void 0),V||oe===La.Pop||(oe===La.Push?r.history.push(M,M.state):oe===La.Replace&&r.history.replace(M,M.state));let ft;if(oe===La.Pop){let et=le.get(P.location.pathname);et&&et.has(M.pathname)?ft={currentLocation:P.location,nextLocation:M}:le.has(M.pathname)&&(ft={currentLocation:M,nextLocation:P.location})}else if(he){let et=le.get(P.location.pathname);et?et.add(M.pathname):(et=new Set([M.pathname]),le.set(P.location.pathname,et)),ft={currentLocation:P.location,nextLocation:M}}Ue(Tr({},U,{actionData:Y,loaderData:ge,historyAction:oe,location:M,initialized:!0,navigation:Rg,revalidation:"idle",restoreScrollPosition:Pe(M,U.matches||P.matches),preventScrollReset:Ve,blockers:Ee}),{viewTransitionOpts:ft,flushSync:Ie===!0}),oe=La.Pop,be=!1,he=!1,V=!1,re=!1,ue=[]}function ur(M,U){return Jr(this,null,function*(){if(typeof M=="number"){r.history.go(M);return}let ne=V0(P.location,P.matches,p,S.v7_prependBasename,M,S.v7_relativeSplatPath,U==null?void 0:U.fromRouteId,U==null?void 0:U.relative),{path:de,submission:We,error:Ie}=a5(S.v7_normalizeFormMethod,!1,ne,U),L=P.location,Y=eu(P.location,de,U&&U.state);Y=Tr({},Y,r.history.encodeLocation(Y));let ge=U&&U.replace!=null?U.replace:void 0,Ee=La.Push;ge===!0?Ee=La.Replace:ge===!1||We!=null&&Cl(We.formMethod)&&We.formAction===P.location.pathname+P.location.search&&(Ee=La.Replace);let Ve=U&&"preventScrollReset"in U?U.preventScrollReset===!0:void 0,ft=(U&&U.unstable_flushSync)===!0,et=ae({currentLocation:L,nextLocation:Y,historyAction:Ee});if(et){G(et,{state:"blocked",location:Y,proceed(){G(et,{state:"proceeding",proceed:void 0,reset:void 0,location:Y}),ur(M,U)},reset(){let Je=new Map(P.blockers);Je.set(et,gf),Ue({blockers:Je})}});return}return yield sr(Ee,Y,{submission:We,pendingError:Ie,preventScrollReset:Ve,replace:U&&U.replace,enableViewTransition:U&&U.unstable_viewTransition,flushSync:ft})})}function cr(){if(Rr(),Ue({revalidation:"loading"}),P.navigation.state!=="submitting"){if(P.navigation.state==="idle"){sr(P.historyAction,P.location,{startUninterruptedRevalidation:!0});return}sr(oe||P.historyAction,P.navigation.location,{overrideNavigation:P.navigation})}}function sr(M,U,ne){return Jr(this,null,function*(){Q&&Q.abort(),Q=null,oe=M,V=(ne&&ne.startUninterruptedRevalidation)===!0,Be(P.location,P.matches),be=(ne&&ne.preventScrollReset)===!0,he=(ne&&ne.enableViewTransition)===!0;let de=h||c,We=ne&&ne.overrideNavigation,Ie=Zs(de,U,p),L=(ne&&ne.flushSync)===!0,Y=ze(Ie,de,U.pathname);if(Y.active&&Y.matches&&(Ie=Y.matches),!Ie){let{error:xt,notFoundMatches:Et,route:It}=B(U.pathname);ar(U,{matches:Et,loaderData:{},errors:{[It.id]:xt}},{flushSync:L});return}if(P.initialized&&!re&&JV(P.location,U)&&!(ne&&ne.submission&&Cl(ne.submission.formMethod))){ar(U,{matches:Ie},{flushSync:L});return}Q=new AbortController;let ge=vf(r.history,U,Q.signal,ne&&ne.submission),Ee;if(ne&&ne.pendingError)Ee=[qc(Ie).route.id,{type:Or.error,error:ne.pendingError}];else if(ne&&ne.submission&&Cl(ne.submission.formMethod)){let xt=yield Er(ge,U,ne.submission,Ie,Y.active,{replace:ne.replace,flushSync:L});if(xt.shortCircuited)return;if(xt.pendingActionResult){let[Et,It]=xt.pendingActionResult;if(An(It)&&yf(It.error)&&It.error.status===404){Q=null,ar(U,{matches:xt.matches,loaderData:{},errors:{[Et]:It.error}});return}}Ie=xt.matches||Ie,Ee=xt.pendingActionResult,We=H0(U,ne.submission),L=!1,Y.active=!1,ge=vf(r.history,ge.url,ge.signal)}let{shortCircuited:Ve,matches:ft,loaderData:et,errors:Je}=yield kr(ge,U,Ie,Y.active,We,ne&&ne.submission,ne&&ne.fetcherSubmission,ne&&ne.replace,ne&&ne.initialHydration===!0,L,Ee);Ve||(Q=null,ar(U,Tr({matches:ft||Ie},d5(Ee),{loaderData:et,errors:Je})))})}function Er(M,U,ne,de,We,Ie){return Jr(this,null,function*(){Ie===void 0&&(Ie={}),Rr();let L=tW(U,ne);if(Ue({navigation:L},{flushSync:Ie.flushSync===!0}),We){let Ee=yield Ye(de,U.pathname,M.signal);if(Ee.type==="aborted")return{shortCircuited:!0};if(Ee.type==="error"){let{boundaryId:Ve,error:ft}=H(U.pathname,Ee);return{matches:Ee.partialMatches,pendingActionResult:[Ve,{type:Or.error,error:ft}]}}else if(Ee.matches)de=Ee.matches;else{let{notFoundMatches:Ve,error:ft,route:et}=B(U.pathname);return{matches:Ve,pendingActionResult:[et.id,{type:Or.error,error:ft}]}}}let Y,ge=Kc(de,U);if(!ge.route.action&&!ge.route.lazy)Y={type:Or.error,error:ya(405,{method:M.method,pathname:U.pathname,routeId:ge.route.id})};else if(Y=(yield $r("action",M,[ge],de))[0],M.signal.aborted)return{shortCircuited:!0};if(Zu(Y)){let Ee;return Ie&&Ie.replace!=null?Ee=Ie.replace:Ee=l5(Y.response.headers.get("Location"),new URL(M.url),p)===P.location.pathname+P.location.search,yield ra(M,Y,{submission:ne,replace:Ee}),{shortCircuited:!0}}if(Qu(Y))throw ya(400,{type:"defer-action"});if(An(Y)){let Ee=qc(de,ge.route.id);return(Ie&&Ie.replace)!==!0&&(oe=La.Push),{matches:de,pendingActionResult:[Ee.route.id,Y]}}return{matches:de,pendingActionResult:[ge.route.id,Y]}})}function kr(M,U,ne,de,We,Ie,L,Y,ge,Ee,Ve){return Jr(this,null,function*(){let ft=We||H0(U,Ie),et=Ie||L||h5(ft),Je=!V&&(!S.v7_partialHydration||!ge);if(de){if(Je){let Xr=ta(Ve);Ue(Tr({navigation:ft},Xr!==void 0?{actionData:Xr}:{}),{flushSync:Ee})}let Gt=yield Ye(ne,U.pathname,M.signal);if(Gt.type==="aborted")return{shortCircuited:!0};if(Gt.type==="error"){let{boundaryId:Xr,error:Ka}=H(U.pathname,Gt);return{matches:Gt.partialMatches,loaderData:{},errors:{[Xr]:Ka}}}else if(Gt.matches)ne=Gt.matches;else{let{error:Xr,notFoundMatches:Ka,route:Fr}=B(U.pathname);return{matches:Ka,loaderData:{},errors:{[Fr.id]:Xr}}}}let xt=h||c,[Et,It]=n5(r.history,P,ne,et,U,S.v7_partialHydration&&ge===!0,S.v7_skipActionErrorRevalidation,re,ue,z,je,Ae,De,xt,p,Ve);if(J(Gt=>!(ne&&ne.some(Xr=>Xr.route.id===Gt))||Et&&Et.some(Xr=>Xr.route.id===Gt)),se=++te,Et.length===0&&It.length===0){let Gt=$t();return ar(U,Tr({matches:ne,loaderData:{},errors:Ve&&An(Ve[1])?{[Ve[0]]:Ve[1].error}:null},d5(Ve),Gt?{fetchers:new Map(P.fetchers)}:{}),{flushSync:Ee}),{shortCircuited:!0}}if(Je){let Gt={};if(!de){Gt.navigation=ft;let Xr=ta(Ve);Xr!==void 0&&(Gt.actionData=Xr)}It.length>0&&(Gt.fetchers=Ua(It)),Ue(Gt,{flushSync:Ee})}It.forEach(Gt=>{ee.has(Gt.key)&&St(Gt.key),Gt.controller&&ee.set(Gt.key,Gt.controller)});let Ir=()=>It.forEach(Gt=>St(Gt.key));Q&&Q.signal.addEventListener("abort",Ir);let{loaderResults:Ia,fetcherResults:aa}=yield Da(P.matches,ne,Et,It,M);if(M.signal.aborted)return{shortCircuited:!0};Q&&Q.signal.removeEventListener("abort",Ir),It.forEach(Gt=>ee.delete(Gt.key));let na=f5([...Ia,...aa]);if(na){if(na.idx>=Et.length){let Gt=It[na.idx-Et.length].key;De.add(Gt)}return yield ra(M,na.result,{replace:Y}),{shortCircuited:!0}}let{loaderData:Va,errors:At}=u5(P,ne,Et,Ia,Ve,It,aa,Xe);Xe.forEach((Gt,Xr)=>{Gt.subscribe(Ka=>{(Ka||Gt.done)&&Xe.delete(Xr)})}),S.v7_partialHydration&&ge&&P.errors&&Object.entries(P.errors).filter(Gt=>{let[Xr]=Gt;return!Et.some(Ka=>Ka.route.id===Xr)}).forEach(Gt=>{let[Xr,Ka]=Gt;At=Object.assign(At||{},{[Xr]:Ka})});let Kn=$t(),ts=Nr(se),rs=Kn||ts||It.length>0;return Tr({matches:ne,loaderData:Va,errors:At},rs?{fetchers:new Map(P.fetchers)}:{})})}function ta(M){if(M&&!An(M[1]))return{[M[0]]:M[1].data};if(P.actionData)return Object.keys(P.actionData).length===0?null:P.actionData}function Ua(M){return M.forEach(U=>{let ne=P.fetchers.get(U.key),de=Ah(void 0,ne?ne.data:void 0);P.fetchers.set(U.key,de)}),new Map(P.fetchers)}function xa(M,U,ne,de){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.");ee.has(M)&&St(M);let We=(de&&de.unstable_flushSync)===!0,Ie=h||c,L=V0(P.location,P.matches,p,S.v7_prependBasename,ne,S.v7_relativeSplatPath,U,de==null?void 0:de.relative),Y=Zs(Ie,L,p),ge=ze(Y,Ie,L);if(ge.active&&ge.matches&&(Y=ge.matches),!Y){Gr(M,U,ya(404,{pathname:L}),{flushSync:We});return}let{path:Ee,submission:Ve,error:ft}=a5(S.v7_normalizeFormMethod,!0,L,de);if(ft){Gr(M,U,ft,{flushSync:We});return}let et=Kc(Y,Ee);if(be=(de&&de.preventScrollReset)===!0,Ve&&Cl(Ve.formMethod)){Ra(M,U,Ee,et,Y,ge.active,We,Ve);return}Ae.set(M,{routeId:U,path:Ee}),Kr(M,U,Ee,et,Y,ge.active,We,Ve)}function Ra(M,U,ne,de,We,Ie,L,Y){return Jr(this,null,function*(){Rr(),Ae.delete(M);function ge(Fr){if(!Fr.route.action&&!Fr.route.lazy){let Xn=ya(405,{method:Y.formMethod,pathname:ne,routeId:U});return Gr(M,U,Xn,{flushSync:L}),!0}return!1}if(!Ie&&ge(de))return;let Ee=P.fetchers.get(M);Mr(M,rW(Y,Ee),{flushSync:L});let Ve=new AbortController,ft=vf(r.history,ne,Ve.signal,Y);if(Ie){let Fr=yield Ye(We,ne,ft.signal);if(Fr.type==="aborted")return;if(Fr.type==="error"){let{error:Xn}=H(ne,Fr);Gr(M,U,Xn,{flushSync:L});return}else if(Fr.matches){if(We=Fr.matches,de=Kc(We,ne),ge(de))return}else{Gr(M,U,ya(404,{pathname:ne}),{flushSync:L});return}}ee.set(M,Ve);let et=te,xt=(yield $r("action",ft,[de],We))[0];if(ft.signal.aborted){ee.get(M)===Ve&&ee.delete(M);return}if(S.v7_fetcherPersist&&je.has(M)){if(Zu(xt)||An(xt)){Mr(M,Xu(void 0));return}}else{if(Zu(xt))if(ee.delete(M),se>et){Mr(M,Xu(void 0));return}else return De.add(M),Mr(M,Ah(Y)),ra(ft,xt,{fetcherSubmission:Y});if(An(xt)){Gr(M,U,xt.error);return}}if(Qu(xt))throw ya(400,{type:"defer-action"});let Et=P.navigation.location||P.location,It=vf(r.history,Et,Ve.signal),Ir=h||c,Ia=P.navigation.state!=="idle"?Zs(Ir,P.navigation.location,p):P.matches;Cr(Ia,"Didn't find any matches after fetcher action");let aa=++te;me.set(M,aa);let na=Ah(Y,xt.data);P.fetchers.set(M,na);let[Va,At]=n5(r.history,P,Ia,Y,Et,!1,S.v7_skipActionErrorRevalidation,re,ue,z,je,Ae,De,Ir,p,[de.route.id,xt]);At.filter(Fr=>Fr.key!==M).forEach(Fr=>{let Xn=Fr.key,mc=P.fetchers.get(Xn),$f=Ah(void 0,mc?mc.data:void 0);P.fetchers.set(Xn,$f),ee.has(Xn)&&St(Xn),Fr.controller&&ee.set(Xn,Fr.controller)}),Ue({fetchers:new Map(P.fetchers)});let Kn=()=>At.forEach(Fr=>St(Fr.key));Ve.signal.addEventListener("abort",Kn);let{loaderResults:ts,fetcherResults:rs}=yield Da(P.matches,Ia,Va,At,It);if(Ve.signal.aborted)return;Ve.signal.removeEventListener("abort",Kn),me.delete(M),ee.delete(M),At.forEach(Fr=>ee.delete(Fr.key));let Gt=f5([...ts,...rs]);if(Gt){if(Gt.idx>=Va.length){let Fr=At[Gt.idx-Va.length].key;De.add(Fr)}return ra(It,Gt.result)}let{loaderData:Xr,errors:Ka}=u5(P,P.matches,Va,ts,void 0,At,rs,Xe);if(P.fetchers.has(M)){let Fr=Xu(xt.data);P.fetchers.set(M,Fr)}Nr(aa),P.navigation.state==="loading"&&aa>se?(Cr(oe,"Expected pending action"),Q&&Q.abort(),ar(P.navigation.location,{matches:Ia,loaderData:Xr,errors:Ka,fetchers:new Map(P.fetchers)})):(Ue({errors:Ka,loaderData:c5(P.loaderData,Xr,Ia,Ka),fetchers:new Map(P.fetchers)}),re=!1)})}function Kr(M,U,ne,de,We,Ie,L,Y){return Jr(this,null,function*(){let ge=P.fetchers.get(M);Mr(M,Ah(Y,ge?ge.data:void 0),{flushSync:L});let Ee=new AbortController,Ve=vf(r.history,ne,Ee.signal);if(Ie){let xt=yield Ye(We,ne,Ve.signal);if(xt.type==="aborted")return;if(xt.type==="error"){let{error:Et}=H(ne,xt);Gr(M,U,Et,{flushSync:L});return}else if(xt.matches)We=xt.matches,de=Kc(We,ne);else{Gr(M,U,ya(404,{pathname:ne}),{flushSync:L});return}}ee.set(M,Ee);let ft=te,Je=(yield $r("loader",Ve,[de],We))[0];if(Qu(Je)&&(Je=(yield j5(Je,Ve.signal,!0))||Je),ee.get(M)===Ee&&ee.delete(M),!Ve.signal.aborted){if(je.has(M)){Mr(M,Xu(void 0));return}if(Zu(Je))if(se>ft){Mr(M,Xu(void 0));return}else{De.add(M),yield ra(Ve,Je);return}if(An(Je)){Gr(M,U,Je.error);return}Cr(!Qu(Je),"Unhandled fetcher deferred data"),Mr(M,Xu(Je.data))}})}function ra(M,U,ne){return Jr(this,null,function*(){let{submission:de,fetcherSubmission:We,replace:Ie}=ne===void 0?{}:ne;U.response.headers.has("X-Remix-Revalidate")&&(re=!0);let L=U.response.headers.get("Location");Cr(L,"Expected a Location header on the redirect Response"),L=l5(L,new URL(M.url),p);let Y=eu(P.location,L,{_isRedirect:!0});if(i){let Je=!1;if(U.response.headers.has("X-Remix-Reload-Document"))Je=!0;else if(q0.test(L)){let xt=r.history.createURL(L);Je=xt.origin!==a.location.origin||Lh(xt.pathname,p)==null}if(Je){Ie?a.location.replace(L):a.location.assign(L);return}}Q=null;let ge=Ie===!0||U.response.headers.has("X-Remix-Replace")?La.Replace:La.Push,{formMethod:Ee,formAction:Ve,formEncType:ft}=P.navigation;!de&&!We&&Ee&&Ve&&ft&&(de=h5(P.navigation));let et=de||We;if(VV.has(U.response.status)&&et&&Cl(et.formMethod))yield sr(ge,Y,{submission:Tr({},et,{formAction:L}),preventScrollReset:be});else{let Je=H0(Y,de);yield sr(ge,Y,{overrideNavigation:Je,fetcherSubmission:We,preventScrollReset:be})}})}function $r(M,U,ne,de){return Jr(this,null,function*(){try{let We=yield O5(_,M,U,ne,de,d,s);return yield Promise.all(We.map((Ie,L)=>{if(F5(Ie)){let Y=Ie.result;return{type:Or.redirect,response:P5(Y,U,ne[L].route.id,de,p,S.v7_relativeSplatPath)}}return z5(Ie)}))}catch(We){return ne.map(()=>({type:Or.error,error:We}))}})}function Da(M,U,ne,de,We){return Jr(this,null,function*(){let[Ie,...L]=yield Promise.all([ne.length?$r("loader",We,ne,U):[],...de.map(Y=>{if(Y.matches&&Y.match&&Y.controller){let ge=vf(r.history,Y.path,Y.controller.signal);return $r("loader",ge,[Y.match],Y.matches).then(Ee=>Ee[0])}else return Promise.resolve({type:Or.error,error:ya(404,{pathname:Y.path})})})]);return yield Promise.all([p5(M,ne,Ie,Ie.map(()=>We.signal),!1,P.loaderData),p5(M,de.map(Y=>Y.match),L,de.map(Y=>Y.controller?Y.controller.signal:null),!0)]),{loaderResults:Ie,fetcherResults:L}})}function Rr(){re=!0,ue.push(...J()),Ae.forEach((M,U)=>{ee.has(U)&&(z.add(U),St(U))})}function Mr(M,U,ne){ne===void 0&&(ne={}),P.fetchers.set(M,U),Ue({fetchers:new Map(P.fetchers)},{flushSync:(ne&&ne.flushSync)===!0})}function Gr(M,U,ne,de){de===void 0&&(de={});let We=qc(P.matches,U);Fe(M),Ue({errors:{[We.route.id]:ne},fetchers:new Map(P.fetchers)},{flushSync:(de&&de.flushSync)===!0})}function Ma(M){return S.v7_fetcherPersist&&(Oe.set(M,(Oe.get(M)||0)+1),je.has(M)&&je.delete(M)),P.fetchers.get(M)||E5}function Fe(M){let U=P.fetchers.get(M);ee.has(M)&&!(U&&U.state==="loading"&&me.has(M))&&St(M),Ae.delete(M),me.delete(M),De.delete(M),je.delete(M),z.delete(M),P.fetchers.delete(M)}function pt(M){if(S.v7_fetcherPersist){let U=(Oe.get(M)||0)-1;U<=0?(Oe.delete(M),je.add(M)):Oe.set(M,U)}else Fe(M);Ue({fetchers:new Map(P.fetchers)})}function St(M){let U=ee.get(M);Cr(U,"Expected fetch controller: "+M),U.abort(),ee.delete(M)}function Xt(M){for(let U of M){let ne=Ma(U),de=Xu(ne.data);P.fetchers.set(U,de)}}function $t(){let M=[],U=!1;for(let ne of De){let de=P.fetchers.get(ne);Cr(de,"Expected fetcher: "+ne),de.state==="loading"&&(De.delete(ne),M.push(ne),U=!0)}return Xt(M),U}function Nr(M){let U=[];for(let[ne,de]of me)if(de<M){let We=P.fetchers.get(ne);Cr(We,"Expected fetcher: "+ne),We.state==="loading"&&(St(ne),me.delete(ne),U.push(ne))}return Xt(U),U.length>0}function yr(M,U){let ne=P.blockers.get(M)||gf;return st.get(M)!==U&&st.set(M,U),ne}function ca(M){P.blockers.delete(M),st.delete(M)}function G(M,U){let ne=P.blockers.get(M)||gf;Cr(ne.state==="unblocked"&&U.state==="blocked"||ne.state==="blocked"&&U.state==="blocked"||ne.state==="blocked"&&U.state==="proceeding"||ne.state==="blocked"&&U.state==="unblocked"||ne.state==="proceeding"&&U.state==="unblocked","Invalid blocker state transition: "+ne.state+" -> "+U.state);let de=new Map(P.blockers);de.set(M,U),Ue({blockers:de})}function ae(M){let{currentLocation:U,nextLocation:ne,historyAction:de}=M;if(st.size===0)return;st.size>1&&vs(!1,"A router only supports one blocker at a time");let We=Array.from(st.entries()),[Ie,L]=We[We.length-1],Y=P.blockers.get(Ie);if(!(Y&&Y.state==="proceeding")&&L({currentLocation:U,nextLocation:ne,historyAction:de}))return Ie}function B(M){let U=ya(404,{pathname:M}),ne=h||c,{matches:de,route:We}=Ag(ne);return J(),{notFoundMatches:de,route:We,error:U}}function H(M,U){return{boundaryId:qc(U.partialMatches).route.id,error:ya(400,{type:"route-discovery",pathname:M,message:U.error!=null&&"message"in U.error?U.error:String(U.error)})}}function J(M){let U=[];return Xe.forEach((ne,de)=>{(!M||M(de))&&(ne.cancel(),U.push(de),Xe.delete(de))}),U}function ve(M,U,ne){if(k=M,A=U,D=ne||null,!q&&P.navigation===Rg){q=!0;let de=Pe(P.location,P.matches);de!=null&&Ue({restoreScrollPosition:de})}return()=>{k=null,A=null,D=null}}function ce(M,U){return D&&D(M,U.map(de=>v5(de,P.loaderData)))||M.key}function Be(M,U){if(k&&A){let ne=ce(M,U);k[ne]=A()}}function Pe(M,U){if(k){let ne=ce(M,U),de=k[ne];if(typeof de=="number")return de}return null}function ze(M,U,ne){if(b)if(M){let de=M[M.length-1].route;if(de.path&&(de.path==="*"||de.path.endsWith("/*")))return{active:!0,matches:kg(U,ne,p,!0)}}else return{active:!0,matches:kg(U,ne,p,!0)||[]};return{active:!1,matches:null}}function Ye(M,U,ne){return Jr(this,null,function*(){let de=M,We=de.length>0?de[de.length-1].route:null;for(;;){let Ie=h==null,L=h||c;try{yield KV(b,U,de,L,d,s,Ot,ne)}catch(Ve){return{type:"error",error:Ve,partialMatches:de}}finally{Ie&&(c=[...c])}if(ne.aborted)return{type:"aborted"};let Y=Zs(L,U,p),ge=!1;if(Y){let Ve=Y[Y.length-1].route;if(Ve.index)return{type:"success",matches:Y};if(Ve.path&&Ve.path.length>0)if(Ve.path==="*")ge=!0;else return{type:"success",matches:Y}}let Ee=kg(L,U,p,!0);if(!Ee||de.map(Ve=>Ve.route.id).join("-")===Ee.map(Ve=>Ve.route.id).join("-"))return{type:"success",matches:ge?Y:null};if(de=Ee,We=de[de.length-1].route,We.path==="*")return{type:"success",matches:de}}})}function Ne(M){d={},h=Xc(M,s,void 0,d)}function Ze(M,U){let ne=h==null;L5(M,U,h||c,d,s),ne&&(c=[...c],Ue({}))}return W={get basename(){return p},get future(){return S},get state(){return P},get routes(){return c},get window(){return a},initialize:Kt,subscribe:or,enableScrollRestoration:ve,navigate:ur,fetch:xa,revalidate:cr,createHref:M=>r.history.createHref(M),encodeLocation:M=>r.history.encodeLocation(M),getFetcher:Ma,deleteFetcher:pt,dispose:nr,getBlocker:yr,deleteBlocker:ca,patchRoutes:Ze,_internalFetchControllers:ee,_internalActiveDeferreds:Xe,_internalSetRoutes:Ne},W}var D5=Symbol("deferred");function YV(r,a){Cr(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let i={},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=k5;let d=Tr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),c=Xc(r,s,void 0,i);function h(C,k){return Jr(this,null,function*(){let{requestContext:D,skipLoaderErrorBubbling:A,unstable_dataStrategy:q}=k===void 0?{}:k,I=new URL(C.url),$=C.method,F=eu("",gs(I),null,"default"),W=Zs(c,F,l);if(!$0($)&&$!=="HEAD"){let oe=ya(405,{method:$}),{matches:be,route:Q}=Ag(c);return{basename:l,location:F,matches:be,loaderData:{},actionData:null,errors:{[Q.id]:oe},statusCode:oe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!W){let oe=ya(404,{pathname:F.pathname}),{matches:be,route:Q}=Ag(c);return{basename:l,location:F,matches:be,loaderData:{},actionData:null,errors:{[Q.id]:oe},statusCode:oe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let P=yield _(C,F,W,D,q||null,A===!0,null);return Ju(P)?P:Tr({location:F,basename:l},P)})}function p(C,k){return Jr(this,null,function*(){let{routeId:D,requestContext:A,unstable_dataStrategy:q}=k===void 0?{}:k,I=new URL(C.url),$=C.method,F=eu("",gs(I),null,"default"),W=Zs(c,F,l);if(!$0($)&&$!=="HEAD"&&$!=="OPTIONS")throw ya(405,{method:$});if(!W)throw ya(404,{pathname:F.pathname});let P=D?W.find(he=>he.route.id===D):Kc(W,F);if(D&&!P)throw ya(403,{pathname:F.pathname,routeId:D});if(!P)throw ya(404,{pathname:F.pathname});let oe=yield _(C,F,W,A,q||null,!1,P);if(Ju(oe))return oe;let be=oe.errors?Object.values(oe.errors)[0]:void 0;if(be!==void 0)throw be;if(oe.actionData)return Object.values(oe.actionData)[0];if(oe.loaderData){var Q;let he=Object.values(oe.loaderData)[0];return(Q=oe.activeDeferreds)!=null&&Q[P.route.id]&&(he[D5]=oe.activeDeferreds[P.route.id]),he}})}function _(C,k,D,A,q,I,$){return Jr(this,null,function*(){Cr(C.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Cl(C.method.toLowerCase()))return yield b(C,D,$||Kc(D,k),A,q,I,$!=null);let F=yield S(C,D,A,q,I,$);return Ju(F)?F:Tr({},F,{actionData:null,actionHeaders:{}})}catch(F){if(ZV(F)&&Ju(F.result)){if(F.type===Or.error)throw F.result;return F.result}if(eW(F))return F;throw F}})}function b(C,k,D,A,q,I,$){return Jr(this,null,function*(){let F;if(!D.route.action&&!D.route.lazy){let oe=ya(405,{method:C.method,pathname:new URL(C.url).pathname,routeId:D.route.id});if($)throw oe;F={type:Or.error,error:oe}}else F=(yield T("action",C,[D],k,$,A,q))[0],C.signal.aborted&&r5(C,$,d);if(Zu(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(Qu(F)){let oe=ya(400,{type:"defer-action"});if($)throw oe;F={type:Or.error,error:oe}}if($){if(An(F))throw F.error;return{matches:[D],loaderData:{},actionData:{[D.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let W=new Request(C.url,{headers:C.headers,redirect:C.redirect,signal:C.signal});if(An(F)){let oe=I?D:qc(k,D.route.id),be=yield S(W,k,A,q,I,null,[oe.route.id,F]);return Tr({},be,{statusCode:yf(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Tr({},F.headers?{[D.route.id]:F.headers}:{})})}let P=yield S(W,k,A,q,I,null);return Tr({},P,{actionData:{[D.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[D.route.id]:F.headers}:{}})})}function S(C,k,D,A,q,I,$){return Jr(this,null,function*(){let F=I!=null;if(F&&!(I!=null&&I.route.loader)&&!(I!=null&&I.route.lazy))throw ya(400,{method:C.method,pathname:new URL(C.url).pathname,routeId:I==null?void 0:I.route.id});let P=(I?[I]:$&&An($[1])?A5(k,$[0]):k).filter(le=>le.route.loader||le.route.lazy);if(P.length===0)return{matches:k,loaderData:k.reduce((le,we)=>Object.assign(le,{[we.route.id]:null}),{}),errors:$&&An($[1])?{[$[0]]:$[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let oe=yield T("loader",C,P,k,F,D,A);C.signal.aborted&&r5(C,F,d);let be=new Map,Q=M5(k,P,oe,$,be,q),he=new Set(P.map(le=>le.route.id));return k.forEach(le=>{he.has(le.route.id)||(Q.loaderData[le.route.id]=null)}),Tr({},Q,{matches:k,activeDeferreds:be.size>0?Object.fromEntries(be.entries()):null})})}function T(C,k,D,A,q,I,$){return Jr(this,null,function*(){let F=yield O5($||B5,C,k,D,A,i,s,I);return yield Promise.all(F.map((W,P)=>{if(F5(W)){let oe=W.result;throw P5(oe,k,D[P].route.id,A,l,d.v7_relativeSplatPath)}if(Ju(W.result)&&q)throw W;return z5(W)}))})}return{dataRoutes:c,query:h,queryRoute:p}}function $V(r,a,i){return Tr({},a,{statusCode:yf(i)?i.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:i}})}function r5(r,a,i){if(i.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 GV(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function V0(r,a,i,l,s,d,c,h){let p,_;if(c){p=[];for(let S of a)if(p.push(S),S.route.id===c){_=S;break}}else p=a,_=a[a.length-1];let b=C5(s||".",w5(p,d),Lh(r.pathname,i)||r.pathname,h==="path");return s==null&&(b.search=r.search,b.hash=r.hash),(s==null||s===""||s===".")&&_&&_.route.index&&!K0(b.search)&&(b.search=b.search?b.search.replace(/^\?/,"?index&"):"?index"),l&&i!=="/"&&(b.pathname=b.pathname==="/"?i:_f([i,b.pathname])),gs(b)}function a5(r,a,i,l){if(!l||!GV(l))return{path:i};if(l.formMethod&&!$0(l.formMethod))return{path:i,error:ya(405,{method:l.formMethod})};let s=()=>({path:i,error:ya(400,{type:"invalid-body"})}),d=l.formMethod||"get",c=r?d.toUpperCase():d.toLowerCase(),h=I5(i);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cl(c))return s();let T=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((C,k)=>{let[D,A]=k;return""+C+D+"="+A+`
|
|
146
|
-
`},""):String(l.body);return{path:i,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:T}}}else if(l.formEncType==="application/json"){if(!Cl(c))return s();try{let T=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:i,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:T,text:void 0}}}catch(T){return s()}}}Cr(typeof FormData=="function","FormData is not available in this environment");let p,_;if(l.formData)p=W0(l.formData),_=l.formData;else if(l.body instanceof FormData)p=W0(l.body),_=l.body;else if(l.body instanceof URLSearchParams)p=l.body,_=s5(p);else if(l.body==null)p=new URLSearchParams,_=new FormData;else try{p=new URLSearchParams(l.body),_=s5(p)}catch(T){return s()}let b={formMethod:c,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:_,json:void 0,text:void 0};if(Cl(b.formMethod))return{path:i,submission:b};let S=Yl(i);return a&&S.search&&K0(S.search)&&p.append("index",""),S.search="?"+p,{path:gs(S),submission:b}}function A5(r,a){let i=r;if(a){let l=r.findIndex(s=>s.route.id===a);l>=0&&(i=r.slice(0,l))}return i}function n5(r,a,i,l,s,d,c,h,p,_,b,S,T,C,k,D){let A=D?An(D[1])?D[1].error:D[1].data:void 0,q=r.createURL(a.location),I=r.createURL(s),$=D&&An(D[1])?D[0]:void 0,F=$?A5(i,$):i,W=D?D[1].statusCode:void 0,P=c&&W&&W>=400,oe=F.filter((Q,he)=>{let{route:le}=Q;if(le.lazy)return!0;if(le.loader==null)return!1;if(d)return typeof le.loader!="function"||le.loader.hydrate?!0:a.loaderData[le.id]===void 0&&(!a.errors||a.errors[le.id]===void 0);if(qV(a.loaderData,a.matches[he],Q)||p.some(re=>re===Q.route.id))return!0;let we=a.matches[he],V=Q;return o5(Q,Tr({currentUrl:q,currentParams:we.params,nextUrl:I,nextParams:V.params},l,{actionResult:A,actionStatus:W,defaultShouldRevalidate:P?!1:h||q.pathname+q.search===I.pathname+I.search||q.search!==I.search||N5(we,V)}))}),be=[];return S.forEach((Q,he)=>{if(d||!i.some(ue=>ue.route.id===Q.routeId)||b.has(he))return;let le=Zs(C,Q.path,k);if(!le){be.push({key:he,routeId:Q.routeId,path:Q.path,matches:null,match:null,controller:null});return}let we=a.fetchers.get(he),V=Kc(le,Q.path),re=!1;T.has(he)?re=!1:_.has(he)?(_.delete(he),re=!0):we&&we.state!=="idle"&&we.data===void 0?re=h:re=o5(V,Tr({currentUrl:q,currentParams:a.matches[a.matches.length-1].params,nextUrl:I,nextParams:i[i.length-1].params},l,{actionResult:A,actionStatus:W,defaultShouldRevalidate:P?!1:h})),re&&be.push({key:he,routeId:Q.routeId,path:Q.path,matches:le,match:V,controller:new AbortController})}),[oe,be]}function qV(r,a,i){let l=!a||i.route.id!==a.route.id,s=r[i.route.id]===void 0;return l||s}function N5(r,a){let i=r.route.path;return r.pathname!==a.pathname||i!=null&&i.endsWith("*")&&r.params["*"]!==a.params["*"]}function o5(r,a){if(r.route.shouldRevalidate){let i=r.route.shouldRevalidate(a);if(typeof i=="boolean")return i}return a.defaultShouldRevalidate}function KV(r,a,i,l,s,d,c,h){return Jr(this,null,function*(){let p=[a,...i.map(_=>_.route.id)].join("-");try{let _=c.get(p);_||(_=r({path:a,matches:i,patch:(b,S)=>{h.aborted||L5(b,S,l,s,d)}}),c.set(p,_)),_&&QV(_)&&(yield _)}finally{c.delete(p)}})}function L5(r,a,i,l,s){if(r){var d;let c=l[r];Cr(c,"No route found to patch children into: routeId = "+r);let h=Xc(a,s,[r,"patch",String(((d=c.children)==null?void 0:d.length)||"0")],l);c.children?c.children.push(...h):c.children=h}else{let c=Xc(a,s,["patch",String(i.length||"0")],l);i.push(...c)}}function i5(r,a,i){return Jr(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=i[r.id];Cr(s,"No route found in manifest");let d={};for(let c in l){let p=s[c]!==void 0&&c!=="hasErrorBoundary";vs(!p,'Route "'+s.id+'" has a static property "'+c+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+c+'" will be ignored.')),!p&&!hV.has(c)&&(d[c]=l[c])}Object.assign(s,d),Object.assign(s,Tr({},a(s),{lazy:void 0}))})}function B5(r){return Promise.all(r.matches.map(a=>a.resolve()))}function O5(r,a,i,l,s,d,c,h){return Jr(this,null,function*(){let p=l.reduce((S,T)=>S.add(T.route.id),new Set),_=new Set,b=yield r({matches:s.map(S=>{let T=p.has(S.route.id);return Tr({},S,{shouldLoad:T,resolve:k=>(_.add(S.route.id),T?XV(a,i,S,d,c,k,h):Promise.resolve({type:Or.data,result:void 0}))})}),request:i,params:s[0].params,context:h});return s.forEach(S=>Cr(_.has(S.route.id),'`match.resolve()` was not called for route id "'+S.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),b.filter((S,T)=>p.has(s[T].route.id))})}function XV(r,a,i,l,s,d,c){return Jr(this,null,function*(){let h,p,_=b=>{let S,T=new Promise((D,A)=>S=A);p=()=>S(),a.signal.addEventListener("abort",p);let C=D=>typeof b!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+i.route.id+"]"))):b({request:a,params:i.params,context:c},...D!==void 0?[D]:[]),k;return d?k=d(D=>C(D)):k=Jr(this,null,function*(){try{return{type:"data",result:yield C()}}catch(D){return{type:"error",result:D}}}),Promise.race([k,T])};try{let b=i.route[r];if(i.route.lazy)if(b){let S,[T]=yield Promise.all([_(b).catch(C=>{S=C}),i5(i.route,s,l)]);if(S!==void 0)throw S;h=T}else if(yield i5(i.route,s,l),b=i.route[r],b)h=yield _(b);else if(r==="action"){let S=new URL(a.url),T=S.pathname+S.search;throw ya(405,{method:a.method,pathname:T,routeId:i.route.id})}else return{type:Or.data,result:void 0};else if(b)h=yield _(b);else{let S=new URL(a.url),T=S.pathname+S.search;throw ya(404,{pathname:T})}Cr(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+i.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(b){return{type:Or.error,result:b}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function z5(r){return Jr(this,null,function*(){let{result:a,type:i}=r;if(Ju(a)){let _;try{let b=a.headers.get("Content-Type");b&&/\bapplication\/json\b/.test(b)?a.body==null?_=null:_=yield a.json():_=yield a.text()}catch(b){return{type:Or.error,error:b}}return i===Or.error?{type:Or.error,error:new bf(a.status,a.statusText,_),statusCode:a.status,headers:a.headers}:{type:Or.data,data:_,statusCode:a.status,headers:a.headers}}if(i===Or.error){if(Y0(a)){var l;if(a.data instanceof Error){var s;return{type:Or.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new bf(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Or.error,error:a,statusCode:yf(a)?a.status:void 0}}if(H5(a)){var d,c;return{type:Or.deferred,deferredData:a,statusCode:(d=a.init)==null?void 0:d.status,headers:((c=a.init)==null?void 0:c.headers)&&new Headers(a.init.headers)}}if(Y0(a)){var h,p;return{type:Or.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:Or.data,data:a}})}function P5(r,a,i,l,s,d){let c=r.headers.get("Location");if(Cr(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!q0.test(c)){let h=l.slice(0,l.findIndex(p=>p.route.id===i)+1);c=V0(new URL(a.url),h,s,!0,c,d),r.headers.set("Location",c)}return r}function l5(r,a,i){if(q0.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),d=Lh(s.pathname,i)!=null;if(s.origin===a.origin&&d)return s.pathname+s.search+s.hash}return r}function vf(r,a,i,l){let s=r.createURL(I5(a)).toString(),d={signal:i};if(l&&Cl(l.formMethod)){let{formMethod:c,formEncType:h}=l;d.method=c.toUpperCase(),h==="application/json"?(d.headers=new Headers({"Content-Type":h}),d.body=JSON.stringify(l.json)):h==="text/plain"?d.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?d.body=W0(l.formData):d.body=l.formData}return new Request(s,d)}function W0(r){let a=new URLSearchParams;for(let[i,l]of r.entries())a.append(i,typeof l=="string"?l:l.name);return a}function s5(r){let a=new FormData;for(let[i,l]of r.entries())a.append(i,l);return a}function M5(r,a,i,l,s,d){let c={},h=null,p,_=!1,b={},S=l&&An(l[1])?l[1].error:void 0;return i.forEach((T,C)=>{let k=a[C].route.id;if(Cr(!Zu(T),"Cannot handle redirect results in processLoaderData"),An(T)){let D=T.error;if(S!==void 0&&(D=S,S=void 0),h=h||{},d)h[k]=D;else{let A=qc(r,k);h[A.route.id]==null&&(h[A.route.id]=D)}c[k]=void 0,_||(_=!0,p=yf(T.error)?T.error.status:500),T.headers&&(b[k]=T.headers)}else Qu(T)?(s.set(k,T.deferredData),c[k]=T.deferredData.data,T.statusCode!=null&&T.statusCode!==200&&!_&&(p=T.statusCode),T.headers&&(b[k]=T.headers)):(c[k]=T.data,T.statusCode&&T.statusCode!==200&&!_&&(p=T.statusCode),T.headers&&(b[k]=T.headers))}),S!==void 0&&l&&(h={[l[0]]:S},c[l[0]]=void 0),{loaderData:c,errors:h,statusCode:p||200,loaderHeaders:b}}function u5(r,a,i,l,s,d,c,h){let{loaderData:p,errors:_}=M5(a,i,l,s,h,!1);for(let b=0;b<d.length;b++){let{key:S,match:T,controller:C}=d[b];Cr(c!==void 0&&c[b]!==void 0,"Did not find corresponding fetcher result");let k=c[b];if(!(C&&C.signal.aborted))if(An(k)){let D=qc(r.matches,T==null?void 0:T.route.id);_&&_[D.route.id]||(_=Tr({},_,{[D.route.id]:k.error})),r.fetchers.delete(S)}else if(Zu(k))Cr(!1,"Unhandled fetcher revalidation redirect");else if(Qu(k))Cr(!1,"Unhandled fetcher deferred data");else{let D=Xu(k.data);r.fetchers.set(S,D)}}return{loaderData:p,errors:_}}function c5(r,a,i,l){let s=Tr({},a);for(let d of i){let c=d.route.id;if(a.hasOwnProperty(c)?a[c]!==void 0&&(s[c]=a[c]):r[c]!==void 0&&d.route.loader&&(s[c]=r[c]),l&&l.hasOwnProperty(c))break}return s}function d5(r){return r?An(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function qc(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 Ag(r){let a=r.length===1?r[0]:r.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function ya(r,a){let{pathname:i,routeId:l,method:s,type:d,message:c}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",d==="route-discovery"?p='Unable to match URL "'+i+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
|
|
147
|
-
`+c):s&&i&&l?p="You made a "+s+' request to "'+i+'" but '+('did not provide a `loader` for route "'+l+'", ')+"so there is no way to handle the request.":d==="defer-action"?p="defer() is not supported in actions":d==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+l+'" does not match URL "'+i+'"'):r===404?(h="Not Found",p='No route matches URL "'+i+'"'):r===405&&(h="Method Not Allowed",s&&i&&l?p="You made a "+s.toUpperCase()+' request to "'+i+'" 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 bf(r||500,h,new Error(p),!0)}function f5(r){for(let a=r.length-1;a>=0;a--){let i=r[a];if(Zu(i))return{result:i,idx:a}}}function I5(r){let a=typeof r=="string"?Yl(r):r;return gs(Tr({},a,{hash:""}))}function JV(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function QV(r){return typeof r=="object"&&r!=null&&"then"in r}function ZV(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Or.data||r.type===Or.error)}function F5(r){return Ju(r.result)&&UV.has(r.result.status)}function Qu(r){return r.type===Or.deferred}function An(r){return r.type===Or.error}function Zu(r){return(r&&r.type)===Or.redirect}function Y0(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function H5(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 Ju(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function eW(r){if(!Ju(r))return!1;let a=r.status,i=r.headers.get("Location");return a>=300&&a<=399&&i!=null}function $0(r){return jV.has(r.toLowerCase())}function
|
|
144
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.transitionCallbacks!==void 0&&(g=t.transitionCallbacks));var y=gT(e,vv,null,n,o,u,f);uv(y.current,e);var C=e.nodeType===Wa?e.parentNode:e;return Lp(C),new B0(y)}function Sg(e){this._internalRoot=e}function FU(e){e&&KP(e)}Sg.prototype.unstable_scheduleHydration=FU;function HU(e,t,n){if(!Cg(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");FT(e),t===void 0&&c("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=n!=null?n:null,u=n!=null&&n.hydratedSources||null,f=!1,g=!1,y="",C=IT;n!=null&&(n.unstable_strictMode===!0&&(f=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var R=_T(t,null,e,vv,o,f,g,y,C);if(uv(R.current,e),Lp(e),u)for(var O=0;O<u.length;O++){var Z=u[O];FF(R,Z)}return new Sg(R)}function Cg(e){return!!(e&&(e.nodeType===Co||e.nodeType===Bs||e.nodeType===F_||!Ae))}function kh(e){return!!(e&&(e.nodeType===Co||e.nodeType===Bs||e.nodeType===F_||e.nodeType===Wa&&e.nodeValue===" react-mount-point-unstable "))}function FT(e){e.nodeType===Co&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&c("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."),Vp(e)&&(e._reactRootContainer?c("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):c("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 jU=i.ReactCurrentOwner,HT;HT=function(e){if(e._reactRootContainer&&e.nodeType!==Wa){var t=yT(e._reactRootContainer.current);t&&t.parentNode!==e&&c("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,o=O0(e),u=!!(o&&Ou(o));u&&!n&&c("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===Co&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&c("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 O0(e){return e?e.nodeType===Bs?e.documentElement:e.firstChild:null}function jT(){}function UU(e,t,n,o,u){if(u){if(typeof o=="function"){var f=o;o=function(){var X=yg(g);f.call(X)}}var g=_T(t,o,e,Pu,null,!1,!1,"",jT);e._reactRootContainer=g,uv(g.current,e);var y=e.nodeType===Wa?e.parentNode:e;return Lp(y),Xs(),g}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof o=="function"){var R=o;o=function(){var X=yg(O);R.call(X)}}var O=gT(e,Pu,null,!1,!1,"",jT);e._reactRootContainer=O,uv(O.current,e);var Z=e.nodeType===Wa?e.parentNode:e;return Lp(Z),Xs(function(){Eh(t,O,n,o)}),O}}function VU(e,t){e!==null&&typeof e!="function"&&c("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function wg(e,t,n,o,u){HT(n),VU(u===void 0?null:u,"render");var f=n._reactRootContainer,g;if(!f)g=UU(n,t,e,u,o);else{if(g=f,typeof u=="function"){var y=u;u=function(){var C=yg(g);y.call(C)}}Eh(t,g,e,u)}return yg(g)}var UT=!1;function WU(e){{UT||(UT=!0,c("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=jU.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||c("%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.",Lr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Co?e:RU(e,"findDOMNode")}function YU(e,t,n){if(c("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"),!kh(t))throw new Error("Target container is not a DOM element.");{var o=Vp(t)&&t._reactRootContainer===void 0;o&&c("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 wg(null,e,t,!0,n)}function $U(e,t,n){if(c("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"),!kh(t))throw new Error("Target container is not a DOM element.");{var o=Vp(t)&&t._reactRootContainer===void 0;o&&c("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 wg(null,e,t,!1,n)}function GU(e,t,n,o){if(c("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"),!kh(n))throw new Error("Target container is not a DOM element.");if(e==null||!z7(e))throw new Error("parentComponent must be a valid React Component");return wg(e,t,n,!1,o)}var VT=!1;function qU(e){if(VT||(VT=!0,c("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")),!kh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Vp(e)&&e._reactRootContainer===void 0;t&&c("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=O0(e),o=n&&!Ou(n);o&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Xs(function(){wg(null,null,e,!1,function(){e._reactRootContainer=null,Mw(e)})}),!0}else{{var u=O0(e),f=!!(u&&Ou(u)),g=e.nodeType===Co&&kh(e.parentNode)&&!!e.parentNode._reactRootContainer;f&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",g?"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}}FP(DU),jP(AU),UP(NU),VP(Bl),WP(PP),(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")&&c("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"),x7(YI),k7(d0,Hj,Xs);function KU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Cg(t))throw new Error("Target container is not a DOM element.");return kU(e,t,null,n)}function XU(e,t,n,o){return GU(e,t,n,o)}var z0={usingClientEntryPoint:!1,Events:[Ou,Wd,cv,eC,tC,d0]};function JU(e,t){return z0.usingClientEntryPoint||c('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),IU(e,t)}function QU(e,t,n){return z0.usingClientEntryPoint||c('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),HU(e,t,n)}function ZU(e){return X4()&&c("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."),Xs(e)}var eV=MU({findFiberByHostInstance:Nc,bundleType:1,version:R0,rendererPackageName:"react-dom"});if(!eV&&ar&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var WT=window.location.protocol;/^(https?|file):$/.test(WT)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(WT==="file:"?`
|
|
145
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Yo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z0,Yo.createPortal=KU,Yo.createRoot=JU,Yo.findDOMNode=WU,Yo.flushSync=ZU,Yo.hydrate=YU,Yo.hydrateRoot=QU,Yo.render=$U,Yo.unmountComponentAtNode=qU,Yo.unstable_batchedUpdates=d0,Yo.unstable_renderSubtreeIntoContainer=XU,Yo.version=R0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var P0=qe((VG,JT)=>{"use strict";JT.exports=XT()});var QT=qe(I0=>{"use strict";var M0=P0();Dh=M0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I0.createRoot=function(r,a){Dh.usingClientEntryPoint=!0;try{return M0.createRoot(r,a)}finally{Dh.usingClientEntryPoint=!1}},I0.hydrateRoot=function(r,a,i){Dh.usingClientEntryPoint=!0;try{return M0.hydrateRoot(r,a,i)}finally{Dh.usingClientEntryPoint=!1}};var Dh});var X0=qe(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});function Tr(){return Tr=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(r[l]=i[l])}return r},Tr.apply(this,arguments)}var La=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),ZT="popstate";function cV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:i,v5Compat:l=!1}=r,s;s=a.map((w,k)=>b(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let d=p(i==null?s.length-1:i),c=La.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function _(){return s[d]}function b(w,k,D){k===void 0&&(k=null);let A=eu(s?_().pathname:"/",w,k,D);return vs(A.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),A}function S(w){return typeof w=="string"?w:gs(w)}return{get index(){return d},get action(){return c},get location(){return _()},createHref:S,createURL(w){return new URL(S(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Yl(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){c=La.Push;let D=b(w,k);d+=1,s.splice(d,s.length,D),l&&h&&h({action:c,location:D,delta:1})},replace(w,k){c=La.Replace;let D=b(w,k);s[d]=D,l&&h&&h({action:c,location:D,delta:0})},go(w){c=La.Pop;let k=p(d+w),D=s[k];d=k,h&&h({action:c,location:D,delta:w})},listen(w){return h=w,()=>{h=null}}}}function dV(r){r===void 0&&(r={});function a(l,s){let{pathname:d,search:c,hash:h}=l.location;return eu("",{pathname:d,search:c,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function i(l,s){return typeof s=="string"?s:gs(s)}return m5(a,i,null,r)}function fV(r){r===void 0&&(r={});function a(s,d){let{pathname:c="/",search:h="",hash:p=""}=Yl(s.location.hash.substr(1));return!c.startsWith("/")&&!c.startsWith(".")&&(c="/"+c),eu("",{pathname:c,search:h,hash:p},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function i(s,d){let c=s.document.querySelector("base"),h="";if(c&&c.getAttribute("href")){let p=s.location.href,_=p.indexOf("#");h=_===-1?p:p.slice(0,_)}return h+"#"+(typeof d=="string"?d:gs(d))}function l(s,d){vs(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(d)+")")}return m5(a,i,l,r)}function wr(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function vs(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(i){}}}function pV(){return Math.random().toString(36).substr(2,8)}function e5(r,a){return{usr:r.state,key:r.key,idx:a}}function eu(r,a,i,l){return i===void 0&&(i=null),Tr({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Yl(a):a,{state:i,key:a&&a.key||l||pV()})}function gs(r){let{pathname:a="/",search:i="",hash:l=""}=r;return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function Yl(r){let a={};if(r){let i=r.indexOf("#");i>=0&&(a.hash=r.substr(i),r=r.substr(0,i));let l=r.indexOf("?");l>=0&&(a.search=r.substr(l),r=r.substr(0,l)),r&&(a.pathname=r)}return a}function m5(r,a,i,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:d=!1}=l,c=s.history,h=La.Pop,p=null,_=b();_==null&&(_=0,c.replaceState(Tr({},c.state,{idx:_}),""));function b(){return(c.state||{idx:null}).idx}function S(){h=La.Pop;let A=b(),q=A==null?null:A-_;_=A,p&&p({action:h,location:D.location,delta:q})}function T(A,q){h=La.Push;let I=eu(D.location,A,q);i&&i(I,A),_=b()+1;let $=e5(I,_),F=D.createHref(I);try{c.pushState($,"",F)}catch(W){if(W instanceof DOMException&&W.name==="DataCloneError")throw W;s.location.assign(F)}d&&p&&p({action:h,location:D.location,delta:1})}function w(A,q){h=La.Replace;let I=eu(D.location,A,q);i&&i(I,A),_=b();let $=e5(I,_),F=D.createHref(I);c.replaceState($,"",F),d&&p&&p({action:h,location:D.location,delta:0})}function k(A){let q=s.location.origin!=="null"?s.location.origin:s.location.href,I=typeof A=="string"?A:gs(A);return I=I.replace(/ $/,"%20"),wr(q,"No window.location.(origin|href) available to create URL for href: "+I),new URL(I,q)}let D={get action(){return h},get location(){return r(s,c)},listen(A){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(ZT,S),p=A,()=>{s.removeEventListener(ZT,S),p=null}},createHref(A){return a(s,A)},createURL:k,encodeLocation(A){let q=k(A);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:T,replace:w,go(A){return c.go(A)}};return D}var Or=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),hV=new Set(["lazy","caseSensitive","path","id","index","children"]);function mV(r){return r.index===!0}function Xc(r,a,i,l){return i===void 0&&(i=[]),l===void 0&&(l={}),r.map((s,d)=>{let c=[...i,String(d)],h=typeof s.id=="string"?s.id:c.join("-");if(wr(s.index!==!0||!s.children,"Cannot specify children on an index route"),wr(!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=Tr({},s,a(s),{id:h});return l[h]=p,p}else{let p=Tr({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=Xc(s.children,a,c,l)),p}})}function Zs(r,a,i){return i===void 0&&(i="/"),kg(r,a,i,!1)}function kg(r,a,i,l){let s=typeof a=="string"?Yl(a):a,d=Lh(s.pathname||"/",i);if(d==null)return null;let c=g5(r);vV(c);let h=null;for(let p=0;h==null&&p<c.length;++p){let _=b5(d);h=TV(c[p],_,l)}return h}function v5(r,a){let{route:i,pathname:l,params:s}=r;return{id:i.id,pathname:l,params:s,data:a[i.id],handle:i.handle}}function g5(r,a,i,l){a===void 0&&(a=[]),i===void 0&&(i=[]),l===void 0&&(l="");let s=(d,c,h)=>{let p={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:c,route:d};p.relativePath.startsWith("/")&&(wr(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 _=_f([l,p.relativePath]),b=i.concat(p);d.children&&d.children.length>0&&(wr(d.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+_+'".')),g5(d.children,a,b,_)),!(d.path==null&&!d.index)&&a.push({path:_,score:wV(_,d.index),routesMeta:b})};return r.forEach((d,c)=>{var h;if(d.path===""||!((h=d.path)!=null&&h.includes("?")))s(d,c);else for(let p of _5(d.path))s(d,c,p)}),a}function _5(r){let a=r.split("/");if(a.length===0)return[];let[i,...l]=a,s=i.endsWith("?"),d=i.replace(/\?$/,"");if(l.length===0)return s?[d,""]:[d];let c=_5(l.join("/")),h=[];return h.push(...c.map(p=>p===""?d:[d,p].join("/"))),s&&h.push(...c),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function vV(r){r.sort((a,i)=>a.score!==i.score?i.score-a.score:xV(a.routesMeta.map(l=>l.childrenIndex),i.routesMeta.map(l=>l.childrenIndex)))}var gV=/^:[\w-]+$/,_V=3,bV=2,yV=1,SV=10,CV=-2,t5=r=>r==="*";function wV(r,a){let i=r.split("/"),l=i.length;return i.some(t5)&&(l+=CV),a&&(l+=bV),i.filter(s=>!t5(s)).reduce((s,d)=>s+(gV.test(d)?_V:d===""?yV:SV),l)}function xV(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 TV(r,a,i){i===void 0&&(i=!1);let{routesMeta:l}=r,s={},d="/",c=[];for(let h=0;h<l.length;++h){let p=l[h],_=h===l.length-1,b=d==="/"?a:a.slice(d.length)||"/",S=j0({path:p.relativePath,caseSensitive:p.caseSensitive,end:_},b),T=p.route;if(!S&&_&&i&&!l[l.length-1].route.index&&(S=j0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!S)return null;Object.assign(s,S.params),c.push({params:s,pathname:_f([d,S.pathname]),pathnameBase:x5(_f([d,S.pathnameBase])),route:T}),S.pathnameBase!=="/"&&(d=_f([d,S.pathnameBase]))}return c}function EV(r,a){a===void 0&&(a={});let i=r;i.endsWith("*")&&i!=="*"&&!i.endsWith("/*")&&(vs(!1,'Route path "'+i+'" will be treated as if it were '+('"'+i.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+i.replace(/\*$/,"/*")+'".')),i=i.replace(/\*$/,"/*"));let l=i.startsWith("/")?"/":"",s=c=>c==null?"":typeof c=="string"?c:String(c),d=i.split(/\/+/).map((c,h,p)=>{if(h===p.length-1&&c==="*")return s(a["*"]);let b=c.match(/^:([\w-]+)(\??)$/);if(b){let[,S,T]=b,w=a[S];return wr(T==="?"||w!=null,'Missing ":'+S+'" param'),s(w)}return c.replace(/\?$/g,"")}).filter(c=>!!c);return l+d.join("/")}function j0(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[i,l]=kV(r.path,r.caseSensitive,r.end),s=a.match(i);if(!s)return null;let d=s[0],c=d.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((_,b,S)=>{let{paramName:T,isOptional:w}=b;if(T==="*"){let D=h[S]||"";c=d.slice(0,d.length-D.length).replace(/(.)\/+$/,"$1")}let k=h[S];return w&&!k?_[T]=void 0:_[T]=(k||"").replace(/%2F/g,"/"),_},{}),pathname:d,pathnameBase:c,pattern:r}}function kV(r,a,i){a===void 0&&(a=!1),i===void 0&&(i=!0),vs(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,(c,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function b5(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return vs(!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 Lh(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,l=r.charAt(i);return l&&l!=="/"?null:r.slice(i)||"/"}function y5(r,a){a===void 0&&(a="/");let{pathname:i,search:l="",hash:s=""}=typeof r=="string"?Yl(r):r;return{pathname:i?i.startsWith("/")?i:RV(i,a):a,search:AV(l),hash:NV(s)}}function RV(r,a){let i=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function F0(r,a,i,l){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. Please separate it out to the ")+("`to."+i+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function S5(r){return r.filter((a,i)=>i===0||a.route.path&&a.route.path.length>0)}function C5(r,a){let i=S5(r);return a?i.map((l,s)=>s===i.length-1?l.pathname:l.pathnameBase):i.map(l=>l.pathnameBase)}function w5(r,a,i,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Yl(r):(s=Tr({},r),wr(!s.pathname||!s.pathname.includes("?"),F0("?","pathname","search",s)),wr(!s.pathname||!s.pathname.includes("#"),F0("#","pathname","hash",s)),wr(!s.search||!s.search.includes("#"),F0("#","search","hash",s)));let d=r===""||s.pathname==="",c=d?"/":s.pathname,h;if(c==null)h=i;else{let S=a.length-1;if(!l&&c.startsWith("..")){let T=c.split("/");for(;T[0]==="..";)T.shift(),S-=1;s.pathname=T.join("/")}h=S>=0?a[S]:"/"}let p=y5(s,h),_=c&&c!=="/"&&c.endsWith("/"),b=(d||c===".")&&i.endsWith("/");return!p.pathname.endsWith("/")&&(_||b)&&(p.pathname+="/"),p}function DV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Yl(r).pathname:r.pathname}var _f=r=>r.join("/").replace(/\/\/+/g,"/"),x5=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),AV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,NV=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,LV=function(a,i){i===void 0&&(i={});let l=typeof i=="number"?{status:i}:i,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Tr({},l,{headers:s}))},U0=class{constructor(a,i){this.type="DataWithResponseInit",this.data=a,this.init=i||null}};function BV(r,a){return new U0(r,typeof a=="number"?{status:a}:a)}var Nh=class extends Error{},Dg=class{constructor(a,i){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],wr(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((d,c)=>l=c),this.controller=new AbortController;let s=()=>l(new Nh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((d,c)=>{let[h,p]=c;return Object.assign(d,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=i}trackPromise(a,i){if(!(i instanceof Promise))return i;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([i,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,i,l,s){if(this.controller.signal.aborted&&l instanceof Nh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(i),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let d=new Error('Deferred data for key "'+i+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>d}),this.emit(!1,i),Promise.reject(d)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,i),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,i),s)}emit(a,i){this.subscribers.forEach(l=>l(a,i))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,i)=>this.pendingKeysSet.delete(i)),this.emit(!0)}resolveData(a){return Jr(this,null,function*(){let i=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),i=yield new Promise(s=>{this.subscribe(d=>{a.removeEventListener("abort",l),(d||this.done)&&s(d)})})}return i})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return wr(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((a,i)=>{let[l,s]=i;return Object.assign(a,{[l]:zV(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function OV(r){return r instanceof Promise&&r._tracked===!0}function zV(r){if(!OV(r))return r;if(r._error)throw r._error;return r._data}var PV=function(a,i){i===void 0&&(i={});let l=typeof i=="number"?{status:i}:i;return new Dg(a,l)},G0=function(a,i){i===void 0&&(i=302);let l=i;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,Tr({},l,{headers:s}))},MV=(r,a)=>{let i=G0(r,a);return i.headers.set("X-Remix-Reload-Document","true"),i},IV=(r,a)=>{let i=G0(r,a);return i.headers.set("X-Remix-Replace","true"),i},bf=class{constructor(a,i,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=i||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function yf(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var T5=["post","put","patch","delete"],FV=new Set(T5),HV=["get",...T5],jV=new Set(HV),UV=new Set([301,302,303,307,308]),VV=new Set([307,308]),Rg={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},E5={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gf={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},q0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,k5=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),R5="remix-router-transitions";function WV(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,i=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",l=!i;wr(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 M=r.detectErrorBoundary;s=U=>({hasErrorBoundary:M(U)})}else s=k5;let d={},c=Xc(r.routes,s,void 0,d),h,p=r.basename||"/",_=r.unstable_dataStrategy||B5,b=r.unstable_patchRoutesOnMiss,S=Tr({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),T=null,w=new Set,k=null,D=null,A=null,q=r.hydrationData!=null,I=Zs(c,r.history.location,p),$=null;if(I==null&&!b){let M=ya(404,{pathname:r.history.location.pathname}),{matches:U,route:ne}=Ag(c);I=U,$={[ne.id]:M}}I&&!r.hydrationData&&ze(I,c,r.history.location.pathname).active&&(I=null);let F;if(I)if(I.some(M=>M.route.lazy))F=!1;else if(!I.some(M=>M.route.loader))F=!0;else if(S.v7_partialHydration){let M=r.hydrationData?r.hydrationData.loaderData:null,U=r.hydrationData?r.hydrationData.errors:null,ne=de=>de.route.loader?typeof de.route.loader=="function"&&de.route.loader.hydrate===!0?!1:M&&M[de.route.id]!==void 0||U&&U[de.route.id]!==void 0:!0;if(U){let de=I.findIndex(We=>U[We.route.id]!==void 0);F=I.slice(0,de+1).every(ne)}else F=I.every(ne)}else F=r.hydrationData!=null;else if(F=!1,I=[],S.v7_partialHydration){let M=ze(null,c,r.history.location.pathname);M.active&&M.matches&&(I=M.matches)}let W,P={historyAction:r.history.action,location:r.history.location,matches:I,initialized:F,navigation:Rg,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||$,fetchers:new Map,blockers:new Map},oe=La.Pop,be=!1,Q,he=!1,le=new Map,Ce=null,V=!1,re=!1,ue=[],z=new Set,ee=new Map,te=0,se=-1,me=new Map,De=new Set,Ae=new Map,Oe=new Map,je=new Set,Xe=new Map,st=new Map,Ot=new Map,vt=!1;function Kt(){if(T=r.history.listen(M=>{let{action:U,location:ne,delta:de}=M;if(vt){vt=!1;return}vs(st.size===0||de!=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 We=ae({currentLocation:P.location,nextLocation:ne,historyAction:U});if(We&&de!=null){vt=!0,r.history.go(de*-1),G(We,{state:"blocked",location:ne,proceed(){G(We,{state:"proceeding",proceed:void 0,reset:void 0,location:ne}),r.history.go(de)},reset(){let Ie=new Map(P.blockers);Ie.set(We,gf),Ue({blockers:Ie})}});return}return sr(U,ne)}),i){aW(a,le);let M=()=>nW(a,le);a.addEventListener("pagehide",M),Ce=()=>a.removeEventListener("pagehide",M)}return P.initialized||sr(La.Pop,P.location,{initialHydration:!0}),W}function nr(){T&&T(),Ce&&Ce(),w.clear(),Q&&Q.abort(),P.fetchers.forEach((M,U)=>Fe(U)),P.blockers.forEach((M,U)=>ca(U))}function or(M){return w.add(M),()=>w.delete(M)}function Ue(M,U){U===void 0&&(U={}),P=Tr({},P,M);let ne=[],de=[];S.v7_fetcherPersist&&P.fetchers.forEach((We,Ie)=>{We.state==="idle"&&(je.has(Ie)?de.push(Ie):ne.push(Ie))}),[...w].forEach(We=>We(P,{deletedFetchers:de,unstable_viewTransitionOpts:U.viewTransitionOpts,unstable_flushSync:U.flushSync===!0})),S.v7_fetcherPersist&&(ne.forEach(We=>P.fetchers.delete(We)),de.forEach(We=>Fe(We)))}function ar(M,U,ne){var de,We;let{flushSync:Ie}=ne===void 0?{}:ne,L=P.actionData!=null&&P.navigation.formMethod!=null&&wl(P.navigation.formMethod)&&P.navigation.state==="loading"&&((de=M.state)==null?void 0:de._isRedirect)!==!0,Y;U.actionData?Object.keys(U.actionData).length>0?Y=U.actionData:Y=null:L?Y=P.actionData:Y=null;let ge=U.loaderData?c5(P.loaderData,U.loaderData,U.matches||[],U.errors):P.loaderData,Ee=P.blockers;Ee.size>0&&(Ee=new Map(Ee),Ee.forEach((et,Je)=>Ee.set(Je,gf)));let Ve=be===!0||P.navigation.formMethod!=null&&wl(P.navigation.formMethod)&&((We=M.state)==null?void 0:We._isRedirect)!==!0;h&&(c=h,h=void 0),V||oe===La.Pop||(oe===La.Push?r.history.push(M,M.state):oe===La.Replace&&r.history.replace(M,M.state));let ft;if(oe===La.Pop){let et=le.get(P.location.pathname);et&&et.has(M.pathname)?ft={currentLocation:P.location,nextLocation:M}:le.has(M.pathname)&&(ft={currentLocation:M,nextLocation:P.location})}else if(he){let et=le.get(P.location.pathname);et?et.add(M.pathname):(et=new Set([M.pathname]),le.set(P.location.pathname,et)),ft={currentLocation:P.location,nextLocation:M}}Ue(Tr({},U,{actionData:Y,loaderData:ge,historyAction:oe,location:M,initialized:!0,navigation:Rg,revalidation:"idle",restoreScrollPosition:Pe(M,U.matches||P.matches),preventScrollReset:Ve,blockers:Ee}),{viewTransitionOpts:ft,flushSync:Ie===!0}),oe=La.Pop,be=!1,he=!1,V=!1,re=!1,ue=[]}function ur(M,U){return Jr(this,null,function*(){if(typeof M=="number"){r.history.go(M);return}let ne=V0(P.location,P.matches,p,S.v7_prependBasename,M,S.v7_relativeSplatPath,U==null?void 0:U.fromRouteId,U==null?void 0:U.relative),{path:de,submission:We,error:Ie}=a5(S.v7_normalizeFormMethod,!1,ne,U),L=P.location,Y=eu(P.location,de,U&&U.state);Y=Tr({},Y,r.history.encodeLocation(Y));let ge=U&&U.replace!=null?U.replace:void 0,Ee=La.Push;ge===!0?Ee=La.Replace:ge===!1||We!=null&&wl(We.formMethod)&&We.formAction===P.location.pathname+P.location.search&&(Ee=La.Replace);let Ve=U&&"preventScrollReset"in U?U.preventScrollReset===!0:void 0,ft=(U&&U.unstable_flushSync)===!0,et=ae({currentLocation:L,nextLocation:Y,historyAction:Ee});if(et){G(et,{state:"blocked",location:Y,proceed(){G(et,{state:"proceeding",proceed:void 0,reset:void 0,location:Y}),ur(M,U)},reset(){let Je=new Map(P.blockers);Je.set(et,gf),Ue({blockers:Je})}});return}return yield sr(Ee,Y,{submission:We,pendingError:Ie,preventScrollReset:Ve,replace:U&&U.replace,enableViewTransition:U&&U.unstable_viewTransition,flushSync:ft})})}function cr(){if(Rr(),Ue({revalidation:"loading"}),P.navigation.state!=="submitting"){if(P.navigation.state==="idle"){sr(P.historyAction,P.location,{startUninterruptedRevalidation:!0});return}sr(oe||P.historyAction,P.navigation.location,{overrideNavigation:P.navigation})}}function sr(M,U,ne){return Jr(this,null,function*(){Q&&Q.abort(),Q=null,oe=M,V=(ne&&ne.startUninterruptedRevalidation)===!0,Be(P.location,P.matches),be=(ne&&ne.preventScrollReset)===!0,he=(ne&&ne.enableViewTransition)===!0;let de=h||c,We=ne&&ne.overrideNavigation,Ie=Zs(de,U,p),L=(ne&&ne.flushSync)===!0,Y=ze(Ie,de,U.pathname);if(Y.active&&Y.matches&&(Ie=Y.matches),!Ie){let{error:xt,notFoundMatches:Et,route:It}=B(U.pathname);ar(U,{matches:Et,loaderData:{},errors:{[It.id]:xt}},{flushSync:L});return}if(P.initialized&&!re&&JV(P.location,U)&&!(ne&&ne.submission&&wl(ne.submission.formMethod))){ar(U,{matches:Ie},{flushSync:L});return}Q=new AbortController;let ge=vf(r.history,U,Q.signal,ne&&ne.submission),Ee;if(ne&&ne.pendingError)Ee=[qc(Ie).route.id,{type:Or.error,error:ne.pendingError}];else if(ne&&ne.submission&&wl(ne.submission.formMethod)){let xt=yield Er(ge,U,ne.submission,Ie,Y.active,{replace:ne.replace,flushSync:L});if(xt.shortCircuited)return;if(xt.pendingActionResult){let[Et,It]=xt.pendingActionResult;if(An(It)&&yf(It.error)&&It.error.status===404){Q=null,ar(U,{matches:xt.matches,loaderData:{},errors:{[Et]:It.error}});return}}Ie=xt.matches||Ie,Ee=xt.pendingActionResult,We=H0(U,ne.submission),L=!1,Y.active=!1,ge=vf(r.history,ge.url,ge.signal)}let{shortCircuited:Ve,matches:ft,loaderData:et,errors:Je}=yield kr(ge,U,Ie,Y.active,We,ne&&ne.submission,ne&&ne.fetcherSubmission,ne&&ne.replace,ne&&ne.initialHydration===!0,L,Ee);Ve||(Q=null,ar(U,Tr({matches:ft||Ie},d5(Ee),{loaderData:et,errors:Je})))})}function Er(M,U,ne,de,We,Ie){return Jr(this,null,function*(){Ie===void 0&&(Ie={}),Rr();let L=tW(U,ne);if(Ue({navigation:L},{flushSync:Ie.flushSync===!0}),We){let Ee=yield Ye(de,U.pathname,M.signal);if(Ee.type==="aborted")return{shortCircuited:!0};if(Ee.type==="error"){let{boundaryId:Ve,error:ft}=H(U.pathname,Ee);return{matches:Ee.partialMatches,pendingActionResult:[Ve,{type:Or.error,error:ft}]}}else if(Ee.matches)de=Ee.matches;else{let{notFoundMatches:Ve,error:ft,route:et}=B(U.pathname);return{matches:Ve,pendingActionResult:[et.id,{type:Or.error,error:ft}]}}}let Y,ge=Kc(de,U);if(!ge.route.action&&!ge.route.lazy)Y={type:Or.error,error:ya(405,{method:M.method,pathname:U.pathname,routeId:ge.route.id})};else if(Y=(yield $r("action",M,[ge],de))[0],M.signal.aborted)return{shortCircuited:!0};if(Zu(Y)){let Ee;return Ie&&Ie.replace!=null?Ee=Ie.replace:Ee=l5(Y.response.headers.get("Location"),new URL(M.url),p)===P.location.pathname+P.location.search,yield ra(M,Y,{submission:ne,replace:Ee}),{shortCircuited:!0}}if(Qu(Y))throw ya(400,{type:"defer-action"});if(An(Y)){let Ee=qc(de,ge.route.id);return(Ie&&Ie.replace)!==!0&&(oe=La.Push),{matches:de,pendingActionResult:[Ee.route.id,Y]}}return{matches:de,pendingActionResult:[ge.route.id,Y]}})}function kr(M,U,ne,de,We,Ie,L,Y,ge,Ee,Ve){return Jr(this,null,function*(){let ft=We||H0(U,Ie),et=Ie||L||h5(ft),Je=!V&&(!S.v7_partialHydration||!ge);if(de){if(Je){let Xr=ta(Ve);Ue(Tr({navigation:ft},Xr!==void 0?{actionData:Xr}:{}),{flushSync:Ee})}let Gt=yield Ye(ne,U.pathname,M.signal);if(Gt.type==="aborted")return{shortCircuited:!0};if(Gt.type==="error"){let{boundaryId:Xr,error:Ka}=H(U.pathname,Gt);return{matches:Gt.partialMatches,loaderData:{},errors:{[Xr]:Ka}}}else if(Gt.matches)ne=Gt.matches;else{let{error:Xr,notFoundMatches:Ka,route:Fr}=B(U.pathname);return{matches:Ka,loaderData:{},errors:{[Fr.id]:Xr}}}}let xt=h||c,[Et,It]=n5(r.history,P,ne,et,U,S.v7_partialHydration&&ge===!0,S.v7_skipActionErrorRevalidation,re,ue,z,je,Ae,De,xt,p,Ve);if(J(Gt=>!(ne&&ne.some(Xr=>Xr.route.id===Gt))||Et&&Et.some(Xr=>Xr.route.id===Gt)),se=++te,Et.length===0&&It.length===0){let Gt=$t();return ar(U,Tr({matches:ne,loaderData:{},errors:Ve&&An(Ve[1])?{[Ve[0]]:Ve[1].error}:null},d5(Ve),Gt?{fetchers:new Map(P.fetchers)}:{}),{flushSync:Ee}),{shortCircuited:!0}}if(Je){let Gt={};if(!de){Gt.navigation=ft;let Xr=ta(Ve);Xr!==void 0&&(Gt.actionData=Xr)}It.length>0&&(Gt.fetchers=Ua(It)),Ue(Gt,{flushSync:Ee})}It.forEach(Gt=>{ee.has(Gt.key)&&St(Gt.key),Gt.controller&&ee.set(Gt.key,Gt.controller)});let Ir=()=>It.forEach(Gt=>St(Gt.key));Q&&Q.signal.addEventListener("abort",Ir);let{loaderResults:Ia,fetcherResults:aa}=yield Da(P.matches,ne,Et,It,M);if(M.signal.aborted)return{shortCircuited:!0};Q&&Q.signal.removeEventListener("abort",Ir),It.forEach(Gt=>ee.delete(Gt.key));let na=f5([...Ia,...aa]);if(na){if(na.idx>=Et.length){let Gt=It[na.idx-Et.length].key;De.add(Gt)}return yield ra(M,na.result,{replace:Y}),{shortCircuited:!0}}let{loaderData:Va,errors:At}=u5(P,ne,Et,Ia,Ve,It,aa,Xe);Xe.forEach((Gt,Xr)=>{Gt.subscribe(Ka=>{(Ka||Gt.done)&&Xe.delete(Xr)})}),S.v7_partialHydration&&ge&&P.errors&&Object.entries(P.errors).filter(Gt=>{let[Xr]=Gt;return!Et.some(Ka=>Ka.route.id===Xr)}).forEach(Gt=>{let[Xr,Ka]=Gt;At=Object.assign(At||{},{[Xr]:Ka})});let Kn=$t(),ts=Nr(se),rs=Kn||ts||It.length>0;return Tr({matches:ne,loaderData:Va,errors:At},rs?{fetchers:new Map(P.fetchers)}:{})})}function ta(M){if(M&&!An(M[1]))return{[M[0]]:M[1].data};if(P.actionData)return Object.keys(P.actionData).length===0?null:P.actionData}function Ua(M){return M.forEach(U=>{let ne=P.fetchers.get(U.key),de=Ah(void 0,ne?ne.data:void 0);P.fetchers.set(U.key,de)}),new Map(P.fetchers)}function xa(M,U,ne,de){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.");ee.has(M)&&St(M);let We=(de&&de.unstable_flushSync)===!0,Ie=h||c,L=V0(P.location,P.matches,p,S.v7_prependBasename,ne,S.v7_relativeSplatPath,U,de==null?void 0:de.relative),Y=Zs(Ie,L,p),ge=ze(Y,Ie,L);if(ge.active&&ge.matches&&(Y=ge.matches),!Y){Gr(M,U,ya(404,{pathname:L}),{flushSync:We});return}let{path:Ee,submission:Ve,error:ft}=a5(S.v7_normalizeFormMethod,!0,L,de);if(ft){Gr(M,U,ft,{flushSync:We});return}let et=Kc(Y,Ee);if(be=(de&&de.preventScrollReset)===!0,Ve&&wl(Ve.formMethod)){Ra(M,U,Ee,et,Y,ge.active,We,Ve);return}Ae.set(M,{routeId:U,path:Ee}),Kr(M,U,Ee,et,Y,ge.active,We,Ve)}function Ra(M,U,ne,de,We,Ie,L,Y){return Jr(this,null,function*(){Rr(),Ae.delete(M);function ge(Fr){if(!Fr.route.action&&!Fr.route.lazy){let Xn=ya(405,{method:Y.formMethod,pathname:ne,routeId:U});return Gr(M,U,Xn,{flushSync:L}),!0}return!1}if(!Ie&&ge(de))return;let Ee=P.fetchers.get(M);Mr(M,rW(Y,Ee),{flushSync:L});let Ve=new AbortController,ft=vf(r.history,ne,Ve.signal,Y);if(Ie){let Fr=yield Ye(We,ne,ft.signal);if(Fr.type==="aborted")return;if(Fr.type==="error"){let{error:Xn}=H(ne,Fr);Gr(M,U,Xn,{flushSync:L});return}else if(Fr.matches){if(We=Fr.matches,de=Kc(We,ne),ge(de))return}else{Gr(M,U,ya(404,{pathname:ne}),{flushSync:L});return}}ee.set(M,Ve);let et=te,xt=(yield $r("action",ft,[de],We))[0];if(ft.signal.aborted){ee.get(M)===Ve&&ee.delete(M);return}if(S.v7_fetcherPersist&&je.has(M)){if(Zu(xt)||An(xt)){Mr(M,Xu(void 0));return}}else{if(Zu(xt))if(ee.delete(M),se>et){Mr(M,Xu(void 0));return}else return De.add(M),Mr(M,Ah(Y)),ra(ft,xt,{fetcherSubmission:Y});if(An(xt)){Gr(M,U,xt.error);return}}if(Qu(xt))throw ya(400,{type:"defer-action"});let Et=P.navigation.location||P.location,It=vf(r.history,Et,Ve.signal),Ir=h||c,Ia=P.navigation.state!=="idle"?Zs(Ir,P.navigation.location,p):P.matches;wr(Ia,"Didn't find any matches after fetcher action");let aa=++te;me.set(M,aa);let na=Ah(Y,xt.data);P.fetchers.set(M,na);let[Va,At]=n5(r.history,P,Ia,Y,Et,!1,S.v7_skipActionErrorRevalidation,re,ue,z,je,Ae,De,Ir,p,[de.route.id,xt]);At.filter(Fr=>Fr.key!==M).forEach(Fr=>{let Xn=Fr.key,mc=P.fetchers.get(Xn),$f=Ah(void 0,mc?mc.data:void 0);P.fetchers.set(Xn,$f),ee.has(Xn)&&St(Xn),Fr.controller&&ee.set(Xn,Fr.controller)}),Ue({fetchers:new Map(P.fetchers)});let Kn=()=>At.forEach(Fr=>St(Fr.key));Ve.signal.addEventListener("abort",Kn);let{loaderResults:ts,fetcherResults:rs}=yield Da(P.matches,Ia,Va,At,It);if(Ve.signal.aborted)return;Ve.signal.removeEventListener("abort",Kn),me.delete(M),ee.delete(M),At.forEach(Fr=>ee.delete(Fr.key));let Gt=f5([...ts,...rs]);if(Gt){if(Gt.idx>=Va.length){let Fr=At[Gt.idx-Va.length].key;De.add(Fr)}return ra(It,Gt.result)}let{loaderData:Xr,errors:Ka}=u5(P,P.matches,Va,ts,void 0,At,rs,Xe);if(P.fetchers.has(M)){let Fr=Xu(xt.data);P.fetchers.set(M,Fr)}Nr(aa),P.navigation.state==="loading"&&aa>se?(wr(oe,"Expected pending action"),Q&&Q.abort(),ar(P.navigation.location,{matches:Ia,loaderData:Xr,errors:Ka,fetchers:new Map(P.fetchers)})):(Ue({errors:Ka,loaderData:c5(P.loaderData,Xr,Ia,Ka),fetchers:new Map(P.fetchers)}),re=!1)})}function Kr(M,U,ne,de,We,Ie,L,Y){return Jr(this,null,function*(){let ge=P.fetchers.get(M);Mr(M,Ah(Y,ge?ge.data:void 0),{flushSync:L});let Ee=new AbortController,Ve=vf(r.history,ne,Ee.signal);if(Ie){let xt=yield Ye(We,ne,Ve.signal);if(xt.type==="aborted")return;if(xt.type==="error"){let{error:Et}=H(ne,xt);Gr(M,U,Et,{flushSync:L});return}else if(xt.matches)We=xt.matches,de=Kc(We,ne);else{Gr(M,U,ya(404,{pathname:ne}),{flushSync:L});return}}ee.set(M,Ee);let ft=te,Je=(yield $r("loader",Ve,[de],We))[0];if(Qu(Je)&&(Je=(yield j5(Je,Ve.signal,!0))||Je),ee.get(M)===Ee&&ee.delete(M),!Ve.signal.aborted){if(je.has(M)){Mr(M,Xu(void 0));return}if(Zu(Je))if(se>ft){Mr(M,Xu(void 0));return}else{De.add(M),yield ra(Ve,Je);return}if(An(Je)){Gr(M,U,Je.error);return}wr(!Qu(Je),"Unhandled fetcher deferred data"),Mr(M,Xu(Je.data))}})}function ra(M,U,ne){return Jr(this,null,function*(){let{submission:de,fetcherSubmission:We,replace:Ie}=ne===void 0?{}:ne;U.response.headers.has("X-Remix-Revalidate")&&(re=!0);let L=U.response.headers.get("Location");wr(L,"Expected a Location header on the redirect Response"),L=l5(L,new URL(M.url),p);let Y=eu(P.location,L,{_isRedirect:!0});if(i){let Je=!1;if(U.response.headers.has("X-Remix-Reload-Document"))Je=!0;else if(q0.test(L)){let xt=r.history.createURL(L);Je=xt.origin!==a.location.origin||Lh(xt.pathname,p)==null}if(Je){Ie?a.location.replace(L):a.location.assign(L);return}}Q=null;let ge=Ie===!0||U.response.headers.has("X-Remix-Replace")?La.Replace:La.Push,{formMethod:Ee,formAction:Ve,formEncType:ft}=P.navigation;!de&&!We&&Ee&&Ve&&ft&&(de=h5(P.navigation));let et=de||We;if(VV.has(U.response.status)&&et&&wl(et.formMethod))yield sr(ge,Y,{submission:Tr({},et,{formAction:L}),preventScrollReset:be});else{let Je=H0(Y,de);yield sr(ge,Y,{overrideNavigation:Je,fetcherSubmission:We,preventScrollReset:be})}})}function $r(M,U,ne,de){return Jr(this,null,function*(){try{let We=yield O5(_,M,U,ne,de,d,s);return yield Promise.all(We.map((Ie,L)=>{if(F5(Ie)){let Y=Ie.result;return{type:Or.redirect,response:P5(Y,U,ne[L].route.id,de,p,S.v7_relativeSplatPath)}}return z5(Ie)}))}catch(We){return ne.map(()=>({type:Or.error,error:We}))}})}function Da(M,U,ne,de,We){return Jr(this,null,function*(){let[Ie,...L]=yield Promise.all([ne.length?$r("loader",We,ne,U):[],...de.map(Y=>{if(Y.matches&&Y.match&&Y.controller){let ge=vf(r.history,Y.path,Y.controller.signal);return $r("loader",ge,[Y.match],Y.matches).then(Ee=>Ee[0])}else return Promise.resolve({type:Or.error,error:ya(404,{pathname:Y.path})})})]);return yield Promise.all([p5(M,ne,Ie,Ie.map(()=>We.signal),!1,P.loaderData),p5(M,de.map(Y=>Y.match),L,de.map(Y=>Y.controller?Y.controller.signal:null),!0)]),{loaderResults:Ie,fetcherResults:L}})}function Rr(){re=!0,ue.push(...J()),Ae.forEach((M,U)=>{ee.has(U)&&(z.add(U),St(U))})}function Mr(M,U,ne){ne===void 0&&(ne={}),P.fetchers.set(M,U),Ue({fetchers:new Map(P.fetchers)},{flushSync:(ne&&ne.flushSync)===!0})}function Gr(M,U,ne,de){de===void 0&&(de={});let We=qc(P.matches,U);Fe(M),Ue({errors:{[We.route.id]:ne},fetchers:new Map(P.fetchers)},{flushSync:(de&&de.flushSync)===!0})}function Ma(M){return S.v7_fetcherPersist&&(Oe.set(M,(Oe.get(M)||0)+1),je.has(M)&&je.delete(M)),P.fetchers.get(M)||E5}function Fe(M){let U=P.fetchers.get(M);ee.has(M)&&!(U&&U.state==="loading"&&me.has(M))&&St(M),Ae.delete(M),me.delete(M),De.delete(M),je.delete(M),z.delete(M),P.fetchers.delete(M)}function pt(M){if(S.v7_fetcherPersist){let U=(Oe.get(M)||0)-1;U<=0?(Oe.delete(M),je.add(M)):Oe.set(M,U)}else Fe(M);Ue({fetchers:new Map(P.fetchers)})}function St(M){let U=ee.get(M);wr(U,"Expected fetch controller: "+M),U.abort(),ee.delete(M)}function Xt(M){for(let U of M){let ne=Ma(U),de=Xu(ne.data);P.fetchers.set(U,de)}}function $t(){let M=[],U=!1;for(let ne of De){let de=P.fetchers.get(ne);wr(de,"Expected fetcher: "+ne),de.state==="loading"&&(De.delete(ne),M.push(ne),U=!0)}return Xt(M),U}function Nr(M){let U=[];for(let[ne,de]of me)if(de<M){let We=P.fetchers.get(ne);wr(We,"Expected fetcher: "+ne),We.state==="loading"&&(St(ne),me.delete(ne),U.push(ne))}return Xt(U),U.length>0}function yr(M,U){let ne=P.blockers.get(M)||gf;return st.get(M)!==U&&st.set(M,U),ne}function ca(M){P.blockers.delete(M),st.delete(M)}function G(M,U){let ne=P.blockers.get(M)||gf;wr(ne.state==="unblocked"&&U.state==="blocked"||ne.state==="blocked"&&U.state==="blocked"||ne.state==="blocked"&&U.state==="proceeding"||ne.state==="blocked"&&U.state==="unblocked"||ne.state==="proceeding"&&U.state==="unblocked","Invalid blocker state transition: "+ne.state+" -> "+U.state);let de=new Map(P.blockers);de.set(M,U),Ue({blockers:de})}function ae(M){let{currentLocation:U,nextLocation:ne,historyAction:de}=M;if(st.size===0)return;st.size>1&&vs(!1,"A router only supports one blocker at a time");let We=Array.from(st.entries()),[Ie,L]=We[We.length-1],Y=P.blockers.get(Ie);if(!(Y&&Y.state==="proceeding")&&L({currentLocation:U,nextLocation:ne,historyAction:de}))return Ie}function B(M){let U=ya(404,{pathname:M}),ne=h||c,{matches:de,route:We}=Ag(ne);return J(),{notFoundMatches:de,route:We,error:U}}function H(M,U){return{boundaryId:qc(U.partialMatches).route.id,error:ya(400,{type:"route-discovery",pathname:M,message:U.error!=null&&"message"in U.error?U.error:String(U.error)})}}function J(M){let U=[];return Xe.forEach((ne,de)=>{(!M||M(de))&&(ne.cancel(),U.push(de),Xe.delete(de))}),U}function ve(M,U,ne){if(k=M,A=U,D=ne||null,!q&&P.navigation===Rg){q=!0;let de=Pe(P.location,P.matches);de!=null&&Ue({restoreScrollPosition:de})}return()=>{k=null,A=null,D=null}}function ce(M,U){return D&&D(M,U.map(de=>v5(de,P.loaderData)))||M.key}function Be(M,U){if(k&&A){let ne=ce(M,U);k[ne]=A()}}function Pe(M,U){if(k){let ne=ce(M,U),de=k[ne];if(typeof de=="number")return de}return null}function ze(M,U,ne){if(b)if(M){let de=M[M.length-1].route;if(de.path&&(de.path==="*"||de.path.endsWith("/*")))return{active:!0,matches:kg(U,ne,p,!0)}}else return{active:!0,matches:kg(U,ne,p,!0)||[]};return{active:!1,matches:null}}function Ye(M,U,ne){return Jr(this,null,function*(){let de=M,We=de.length>0?de[de.length-1].route:null;for(;;){let Ie=h==null,L=h||c;try{yield KV(b,U,de,L,d,s,Ot,ne)}catch(Ve){return{type:"error",error:Ve,partialMatches:de}}finally{Ie&&(c=[...c])}if(ne.aborted)return{type:"aborted"};let Y=Zs(L,U,p),ge=!1;if(Y){let Ve=Y[Y.length-1].route;if(Ve.index)return{type:"success",matches:Y};if(Ve.path&&Ve.path.length>0)if(Ve.path==="*")ge=!0;else return{type:"success",matches:Y}}let Ee=kg(L,U,p,!0);if(!Ee||de.map(Ve=>Ve.route.id).join("-")===Ee.map(Ve=>Ve.route.id).join("-"))return{type:"success",matches:ge?Y:null};if(de=Ee,We=de[de.length-1].route,We.path==="*")return{type:"success",matches:de}}})}function Ne(M){d={},h=Xc(M,s,void 0,d)}function Ze(M,U){let ne=h==null;L5(M,U,h||c,d,s),ne&&(c=[...c],Ue({}))}return W={get basename(){return p},get future(){return S},get state(){return P},get routes(){return c},get window(){return a},initialize:Kt,subscribe:or,enableScrollRestoration:ve,navigate:ur,fetch:xa,revalidate:cr,createHref:M=>r.history.createHref(M),encodeLocation:M=>r.history.encodeLocation(M),getFetcher:Ma,deleteFetcher:pt,dispose:nr,getBlocker:yr,deleteBlocker:ca,patchRoutes:Ze,_internalFetchControllers:ee,_internalActiveDeferreds:Xe,_internalSetRoutes:Ne},W}var D5=Symbol("deferred");function YV(r,a){wr(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let i={},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=k5;let d=Tr({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),c=Xc(r,s,void 0,i);function h(w,k){return Jr(this,null,function*(){let{requestContext:D,skipLoaderErrorBubbling:A,unstable_dataStrategy:q}=k===void 0?{}:k,I=new URL(w.url),$=w.method,F=eu("",gs(I),null,"default"),W=Zs(c,F,l);if(!$0($)&&$!=="HEAD"){let oe=ya(405,{method:$}),{matches:be,route:Q}=Ag(c);return{basename:l,location:F,matches:be,loaderData:{},actionData:null,errors:{[Q.id]:oe},statusCode:oe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!W){let oe=ya(404,{pathname:F.pathname}),{matches:be,route:Q}=Ag(c);return{basename:l,location:F,matches:be,loaderData:{},actionData:null,errors:{[Q.id]:oe},statusCode:oe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let P=yield _(w,F,W,D,q||null,A===!0,null);return Ju(P)?P:Tr({location:F,basename:l},P)})}function p(w,k){return Jr(this,null,function*(){let{routeId:D,requestContext:A,unstable_dataStrategy:q}=k===void 0?{}:k,I=new URL(w.url),$=w.method,F=eu("",gs(I),null,"default"),W=Zs(c,F,l);if(!$0($)&&$!=="HEAD"&&$!=="OPTIONS")throw ya(405,{method:$});if(!W)throw ya(404,{pathname:F.pathname});let P=D?W.find(he=>he.route.id===D):Kc(W,F);if(D&&!P)throw ya(403,{pathname:F.pathname,routeId:D});if(!P)throw ya(404,{pathname:F.pathname});let oe=yield _(w,F,W,A,q||null,!1,P);if(Ju(oe))return oe;let be=oe.errors?Object.values(oe.errors)[0]:void 0;if(be!==void 0)throw be;if(oe.actionData)return Object.values(oe.actionData)[0];if(oe.loaderData){var Q;let he=Object.values(oe.loaderData)[0];return(Q=oe.activeDeferreds)!=null&&Q[P.route.id]&&(he[D5]=oe.activeDeferreds[P.route.id]),he}})}function _(w,k,D,A,q,I,$){return Jr(this,null,function*(){wr(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(wl(w.method.toLowerCase()))return yield b(w,D,$||Kc(D,k),A,q,I,$!=null);let F=yield S(w,D,A,q,I,$);return Ju(F)?F:Tr({},F,{actionData:null,actionHeaders:{}})}catch(F){if(ZV(F)&&Ju(F.result)){if(F.type===Or.error)throw F.result;return F.result}if(eW(F))return F;throw F}})}function b(w,k,D,A,q,I,$){return Jr(this,null,function*(){let F;if(!D.route.action&&!D.route.lazy){let oe=ya(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:D.route.id});if($)throw oe;F={type:Or.error,error:oe}}else F=(yield T("action",w,[D],k,$,A,q))[0],w.signal.aborted&&r5(w,$,d);if(Zu(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(Qu(F)){let oe=ya(400,{type:"defer-action"});if($)throw oe;F={type:Or.error,error:oe}}if($){if(An(F))throw F.error;return{matches:[D],loaderData:{},actionData:{[D.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let W=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(An(F)){let oe=I?D:qc(k,D.route.id),be=yield S(W,k,A,q,I,null,[oe.route.id,F]);return Tr({},be,{statusCode:yf(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Tr({},F.headers?{[D.route.id]:F.headers}:{})})}let P=yield S(W,k,A,q,I,null);return Tr({},P,{actionData:{[D.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[D.route.id]:F.headers}:{}})})}function S(w,k,D,A,q,I,$){return Jr(this,null,function*(){let F=I!=null;if(F&&!(I!=null&&I.route.loader)&&!(I!=null&&I.route.lazy))throw ya(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:I==null?void 0:I.route.id});let P=(I?[I]:$&&An($[1])?A5(k,$[0]):k).filter(le=>le.route.loader||le.route.lazy);if(P.length===0)return{matches:k,loaderData:k.reduce((le,Ce)=>Object.assign(le,{[Ce.route.id]:null}),{}),errors:$&&An($[1])?{[$[0]]:$[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let oe=yield T("loader",w,P,k,F,D,A);w.signal.aborted&&r5(w,F,d);let be=new Map,Q=M5(k,P,oe,$,be,q),he=new Set(P.map(le=>le.route.id));return k.forEach(le=>{he.has(le.route.id)||(Q.loaderData[le.route.id]=null)}),Tr({},Q,{matches:k,activeDeferreds:be.size>0?Object.fromEntries(be.entries()):null})})}function T(w,k,D,A,q,I,$){return Jr(this,null,function*(){let F=yield O5($||B5,w,k,D,A,i,s,I);return yield Promise.all(F.map((W,P)=>{if(F5(W)){let oe=W.result;throw P5(oe,k,D[P].route.id,A,l,d.v7_relativeSplatPath)}if(Ju(W.result)&&q)throw W;return z5(W)}))})}return{dataRoutes:c,query:h,queryRoute:p}}function $V(r,a,i){return Tr({},a,{statusCode:yf(i)?i.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:i}})}function r5(r,a,i){if(i.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 GV(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function V0(r,a,i,l,s,d,c,h){let p,_;if(c){p=[];for(let S of a)if(p.push(S),S.route.id===c){_=S;break}}else p=a,_=a[a.length-1];let b=w5(s||".",C5(p,d),Lh(r.pathname,i)||r.pathname,h==="path");return s==null&&(b.search=r.search,b.hash=r.hash),(s==null||s===""||s===".")&&_&&_.route.index&&!K0(b.search)&&(b.search=b.search?b.search.replace(/^\?/,"?index&"):"?index"),l&&i!=="/"&&(b.pathname=b.pathname==="/"?i:_f([i,b.pathname])),gs(b)}function a5(r,a,i,l){if(!l||!GV(l))return{path:i};if(l.formMethod&&!$0(l.formMethod))return{path:i,error:ya(405,{method:l.formMethod})};let s=()=>({path:i,error:ya(400,{type:"invalid-body"})}),d=l.formMethod||"get",c=r?d.toUpperCase():d.toLowerCase(),h=I5(i);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!wl(c))return s();let T=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[D,A]=k;return""+w+D+"="+A+`
|
|
146
|
+
`},""):String(l.body);return{path:i,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:T}}}else if(l.formEncType==="application/json"){if(!wl(c))return s();try{let T=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:i,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:T,text:void 0}}}catch(T){return s()}}}wr(typeof FormData=="function","FormData is not available in this environment");let p,_;if(l.formData)p=W0(l.formData),_=l.formData;else if(l.body instanceof FormData)p=W0(l.body),_=l.body;else if(l.body instanceof URLSearchParams)p=l.body,_=s5(p);else if(l.body==null)p=new URLSearchParams,_=new FormData;else try{p=new URLSearchParams(l.body),_=s5(p)}catch(T){return s()}let b={formMethod:c,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:_,json:void 0,text:void 0};if(wl(b.formMethod))return{path:i,submission:b};let S=Yl(i);return a&&S.search&&K0(S.search)&&p.append("index",""),S.search="?"+p,{path:gs(S),submission:b}}function A5(r,a){let i=r;if(a){let l=r.findIndex(s=>s.route.id===a);l>=0&&(i=r.slice(0,l))}return i}function n5(r,a,i,l,s,d,c,h,p,_,b,S,T,w,k,D){let A=D?An(D[1])?D[1].error:D[1].data:void 0,q=r.createURL(a.location),I=r.createURL(s),$=D&&An(D[1])?D[0]:void 0,F=$?A5(i,$):i,W=D?D[1].statusCode:void 0,P=c&&W&&W>=400,oe=F.filter((Q,he)=>{let{route:le}=Q;if(le.lazy)return!0;if(le.loader==null)return!1;if(d)return typeof le.loader!="function"||le.loader.hydrate?!0:a.loaderData[le.id]===void 0&&(!a.errors||a.errors[le.id]===void 0);if(qV(a.loaderData,a.matches[he],Q)||p.some(re=>re===Q.route.id))return!0;let Ce=a.matches[he],V=Q;return o5(Q,Tr({currentUrl:q,currentParams:Ce.params,nextUrl:I,nextParams:V.params},l,{actionResult:A,actionStatus:W,defaultShouldRevalidate:P?!1:h||q.pathname+q.search===I.pathname+I.search||q.search!==I.search||N5(Ce,V)}))}),be=[];return S.forEach((Q,he)=>{if(d||!i.some(ue=>ue.route.id===Q.routeId)||b.has(he))return;let le=Zs(w,Q.path,k);if(!le){be.push({key:he,routeId:Q.routeId,path:Q.path,matches:null,match:null,controller:null});return}let Ce=a.fetchers.get(he),V=Kc(le,Q.path),re=!1;T.has(he)?re=!1:_.has(he)?(_.delete(he),re=!0):Ce&&Ce.state!=="idle"&&Ce.data===void 0?re=h:re=o5(V,Tr({currentUrl:q,currentParams:a.matches[a.matches.length-1].params,nextUrl:I,nextParams:i[i.length-1].params},l,{actionResult:A,actionStatus:W,defaultShouldRevalidate:P?!1:h})),re&&be.push({key:he,routeId:Q.routeId,path:Q.path,matches:le,match:V,controller:new AbortController})}),[oe,be]}function qV(r,a,i){let l=!a||i.route.id!==a.route.id,s=r[i.route.id]===void 0;return l||s}function N5(r,a){let i=r.route.path;return r.pathname!==a.pathname||i!=null&&i.endsWith("*")&&r.params["*"]!==a.params["*"]}function o5(r,a){if(r.route.shouldRevalidate){let i=r.route.shouldRevalidate(a);if(typeof i=="boolean")return i}return a.defaultShouldRevalidate}function KV(r,a,i,l,s,d,c,h){return Jr(this,null,function*(){let p=[a,...i.map(_=>_.route.id)].join("-");try{let _=c.get(p);_||(_=r({path:a,matches:i,patch:(b,S)=>{h.aborted||L5(b,S,l,s,d)}}),c.set(p,_)),_&&QV(_)&&(yield _)}finally{c.delete(p)}})}function L5(r,a,i,l,s){if(r){var d;let c=l[r];wr(c,"No route found to patch children into: routeId = "+r);let h=Xc(a,s,[r,"patch",String(((d=c.children)==null?void 0:d.length)||"0")],l);c.children?c.children.push(...h):c.children=h}else{let c=Xc(a,s,["patch",String(i.length||"0")],l);i.push(...c)}}function i5(r,a,i){return Jr(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=i[r.id];wr(s,"No route found in manifest");let d={};for(let c in l){let p=s[c]!==void 0&&c!=="hasErrorBoundary";vs(!p,'Route "'+s.id+'" has a static property "'+c+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+c+'" will be ignored.')),!p&&!hV.has(c)&&(d[c]=l[c])}Object.assign(s,d),Object.assign(s,Tr({},a(s),{lazy:void 0}))})}function B5(r){return Promise.all(r.matches.map(a=>a.resolve()))}function O5(r,a,i,l,s,d,c,h){return Jr(this,null,function*(){let p=l.reduce((S,T)=>S.add(T.route.id),new Set),_=new Set,b=yield r({matches:s.map(S=>{let T=p.has(S.route.id);return Tr({},S,{shouldLoad:T,resolve:k=>(_.add(S.route.id),T?XV(a,i,S,d,c,k,h):Promise.resolve({type:Or.data,result:void 0}))})}),request:i,params:s[0].params,context:h});return s.forEach(S=>wr(_.has(S.route.id),'`match.resolve()` was not called for route id "'+S.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),b.filter((S,T)=>p.has(s[T].route.id))})}function XV(r,a,i,l,s,d,c){return Jr(this,null,function*(){let h,p,_=b=>{let S,T=new Promise((D,A)=>S=A);p=()=>S(),a.signal.addEventListener("abort",p);let w=D=>typeof b!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+i.route.id+"]"))):b({request:a,params:i.params,context:c},...D!==void 0?[D]:[]),k;return d?k=d(D=>w(D)):k=Jr(this,null,function*(){try{return{type:"data",result:yield w()}}catch(D){return{type:"error",result:D}}}),Promise.race([k,T])};try{let b=i.route[r];if(i.route.lazy)if(b){let S,[T]=yield Promise.all([_(b).catch(w=>{S=w}),i5(i.route,s,l)]);if(S!==void 0)throw S;h=T}else if(yield i5(i.route,s,l),b=i.route[r],b)h=yield _(b);else if(r==="action"){let S=new URL(a.url),T=S.pathname+S.search;throw ya(405,{method:a.method,pathname:T,routeId:i.route.id})}else return{type:Or.data,result:void 0};else if(b)h=yield _(b);else{let S=new URL(a.url),T=S.pathname+S.search;throw ya(404,{pathname:T})}wr(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+i.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(b){return{type:Or.error,result:b}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function z5(r){return Jr(this,null,function*(){let{result:a,type:i}=r;if(Ju(a)){let _;try{let b=a.headers.get("Content-Type");b&&/\bapplication\/json\b/.test(b)?a.body==null?_=null:_=yield a.json():_=yield a.text()}catch(b){return{type:Or.error,error:b}}return i===Or.error?{type:Or.error,error:new bf(a.status,a.statusText,_),statusCode:a.status,headers:a.headers}:{type:Or.data,data:_,statusCode:a.status,headers:a.headers}}if(i===Or.error){if(Y0(a)){var l;if(a.data instanceof Error){var s;return{type:Or.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new bf(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Or.error,error:a,statusCode:yf(a)?a.status:void 0}}if(H5(a)){var d,c;return{type:Or.deferred,deferredData:a,statusCode:(d=a.init)==null?void 0:d.status,headers:((c=a.init)==null?void 0:c.headers)&&new Headers(a.init.headers)}}if(Y0(a)){var h,p;return{type:Or.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:Or.data,data:a}})}function P5(r,a,i,l,s,d){let c=r.headers.get("Location");if(wr(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!q0.test(c)){let h=l.slice(0,l.findIndex(p=>p.route.id===i)+1);c=V0(new URL(a.url),h,s,!0,c,d),r.headers.set("Location",c)}return r}function l5(r,a,i){if(q0.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),d=Lh(s.pathname,i)!=null;if(s.origin===a.origin&&d)return s.pathname+s.search+s.hash}return r}function vf(r,a,i,l){let s=r.createURL(I5(a)).toString(),d={signal:i};if(l&&wl(l.formMethod)){let{formMethod:c,formEncType:h}=l;d.method=c.toUpperCase(),h==="application/json"?(d.headers=new Headers({"Content-Type":h}),d.body=JSON.stringify(l.json)):h==="text/plain"?d.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?d.body=W0(l.formData):d.body=l.formData}return new Request(s,d)}function W0(r){let a=new URLSearchParams;for(let[i,l]of r.entries())a.append(i,typeof l=="string"?l:l.name);return a}function s5(r){let a=new FormData;for(let[i,l]of r.entries())a.append(i,l);return a}function M5(r,a,i,l,s,d){let c={},h=null,p,_=!1,b={},S=l&&An(l[1])?l[1].error:void 0;return i.forEach((T,w)=>{let k=a[w].route.id;if(wr(!Zu(T),"Cannot handle redirect results in processLoaderData"),An(T)){let D=T.error;if(S!==void 0&&(D=S,S=void 0),h=h||{},d)h[k]=D;else{let A=qc(r,k);h[A.route.id]==null&&(h[A.route.id]=D)}c[k]=void 0,_||(_=!0,p=yf(T.error)?T.error.status:500),T.headers&&(b[k]=T.headers)}else Qu(T)?(s.set(k,T.deferredData),c[k]=T.deferredData.data,T.statusCode!=null&&T.statusCode!==200&&!_&&(p=T.statusCode),T.headers&&(b[k]=T.headers)):(c[k]=T.data,T.statusCode&&T.statusCode!==200&&!_&&(p=T.statusCode),T.headers&&(b[k]=T.headers))}),S!==void 0&&l&&(h={[l[0]]:S},c[l[0]]=void 0),{loaderData:c,errors:h,statusCode:p||200,loaderHeaders:b}}function u5(r,a,i,l,s,d,c,h){let{loaderData:p,errors:_}=M5(a,i,l,s,h,!1);for(let b=0;b<d.length;b++){let{key:S,match:T,controller:w}=d[b];wr(c!==void 0&&c[b]!==void 0,"Did not find corresponding fetcher result");let k=c[b];if(!(w&&w.signal.aborted))if(An(k)){let D=qc(r.matches,T==null?void 0:T.route.id);_&&_[D.route.id]||(_=Tr({},_,{[D.route.id]:k.error})),r.fetchers.delete(S)}else if(Zu(k))wr(!1,"Unhandled fetcher revalidation redirect");else if(Qu(k))wr(!1,"Unhandled fetcher deferred data");else{let D=Xu(k.data);r.fetchers.set(S,D)}}return{loaderData:p,errors:_}}function c5(r,a,i,l){let s=Tr({},a);for(let d of i){let c=d.route.id;if(a.hasOwnProperty(c)?a[c]!==void 0&&(s[c]=a[c]):r[c]!==void 0&&d.route.loader&&(s[c]=r[c]),l&&l.hasOwnProperty(c))break}return s}function d5(r){return r?An(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function qc(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 Ag(r){let a=r.length===1?r[0]:r.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function ya(r,a){let{pathname:i,routeId:l,method:s,type:d,message:c}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",d==="route-discovery"?p='Unable to match URL "'+i+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
|
|
147
|
+
`+c):s&&i&&l?p="You made a "+s+' request to "'+i+'" but '+('did not provide a `loader` for route "'+l+'", ')+"so there is no way to handle the request.":d==="defer-action"?p="defer() is not supported in actions":d==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+l+'" does not match URL "'+i+'"'):r===404?(h="Not Found",p='No route matches URL "'+i+'"'):r===405&&(h="Method Not Allowed",s&&i&&l?p="You made a "+s.toUpperCase()+' request to "'+i+'" 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 bf(r||500,h,new Error(p),!0)}function f5(r){for(let a=r.length-1;a>=0;a--){let i=r[a];if(Zu(i))return{result:i,idx:a}}}function I5(r){let a=typeof r=="string"?Yl(r):r;return gs(Tr({},a,{hash:""}))}function JV(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function QV(r){return typeof r=="object"&&r!=null&&"then"in r}function ZV(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Or.data||r.type===Or.error)}function F5(r){return Ju(r.result)&&UV.has(r.result.status)}function Qu(r){return r.type===Or.deferred}function An(r){return r.type===Or.error}function Zu(r){return(r&&r.type)===Or.redirect}function Y0(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function H5(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 Ju(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function eW(r){if(!Ju(r))return!1;let a=r.status,i=r.headers.get("Location");return a>=300&&a<=399&&i!=null}function $0(r){return jV.has(r.toLowerCase())}function wl(r){return FV.has(r.toLowerCase())}function p5(r,a,i,l,s,d){return Jr(this,null,function*(){for(let c=0;c<i.length;c++){let h=i[c],p=a[c];if(!p)continue;let _=r.find(S=>S.route.id===p.route.id),b=_!=null&&!N5(_,p)&&(d&&d[p.route.id])!==void 0;if(Qu(h)&&(s||b)){let S=l[c];wr(S,"Expected an AbortSignal for revalidating fetcher deferred result"),yield j5(h,S,s).then(T=>{T&&(i[c]=T||i[c])})}}})}function j5(r,a,i){return Jr(this,null,function*(){if(i===void 0&&(i=!1),!(yield r.deferredData.resolveData(a))){if(i)try{return{type:Or.data,data:r.deferredData.unwrappedData}}catch(s){return{type:Or.error,error:s}}return{type:Or.data,data:r.deferredData.data}}})}function K0(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function Kc(r,a){let i=typeof a=="string"?Yl(a).search:a.search;if(r[r.length-1].route.index&&K0(i||""))return r[r.length-1];let l=S5(r);return l[l.length-1]}function h5(r){let{formMethod:a,formAction:i,formEncType:l,text:s,formData:d,json:c}=r;if(!(!a||!i||!l)){if(s!=null)return{formMethod:a,formAction:i,formEncType:l,formData:void 0,json:void 0,text:s};if(d!=null)return{formMethod:a,formAction:i,formEncType:l,formData:d,json:void 0,text:void 0};if(c!==void 0)return{formMethod:a,formAction:i,formEncType:l,formData:void 0,json:c,text:void 0}}}function H0(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 tW(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 Ah(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 rW(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 Xu(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 aW(r,a){try{let i=r.sessionStorage.getItem(R5);if(i){let l=JSON.parse(i);for(let[s,d]of Object.entries(l||{}))d&&Array.isArray(d)&&a.set(s,new Set(d||[]))}}catch(i){}}function nW(r,a){if(a.size>0){let i={};for(let[l,s]of a)i[l]=[...s];try{r.sessionStorage.setItem(R5,JSON.stringify(i))}catch(l){vs(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}tr.AbortedDeferredError=Nh;tr.Action=La;tr.IDLE_BLOCKER=gf;tr.IDLE_FETCHER=E5;tr.IDLE_NAVIGATION=Rg;tr.UNSAFE_DEFERRED_SYMBOL=D5;tr.UNSAFE_DeferredData=Dg;tr.UNSAFE_ErrorResponseImpl=bf;tr.UNSAFE_convertRouteMatchToUiMatch=v5;tr.UNSAFE_convertRoutesToDataRoutes=Xc;tr.UNSAFE_decodePath=b5;tr.UNSAFE_getResolveToMatches=C5;tr.UNSAFE_invariant=wr;tr.UNSAFE_warning=vs;tr.createBrowserHistory=dV;tr.createHashHistory=fV;tr.createMemoryHistory=cV;tr.createPath=gs;tr.createRouter=WV;tr.createStaticHandler=YV;tr.defer=PV;tr.generatePath=EV;tr.getStaticContextFromError=$V;tr.getToPathname=DV;tr.isDataWithResponseInit=Y0;tr.isDeferredData=H5;tr.isRouteErrorResponse=yf;tr.joinPaths=_f;tr.json=LV;tr.matchPath=j0;tr.matchRoutes=Zs;tr.normalizePathname=x5;tr.parsePath=Yl;tr.redirect=G0;tr.redirectDocument=MV;tr.replace=IV;tr.resolvePath=y5;tr.resolveTo=w5;tr.stripBasename=Lh;tr.unstable_data=BV});var V5=qe((Ng,U5)=>{(function(r,a){typeof Ng=="object"&&typeof U5!="undefined"?a(Ng,er(),X0()):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))})(Ng,function(r,a,i){"use strict";function l(G){if(G&&G.__esModule)return G;var ae=Object.create(null);return G&&Object.keys(G).forEach(function(B){if(B!=="default"){var H=Object.getOwnPropertyDescriptor(G,B);Object.defineProperty(ae,B,H.get?H:{enumerable:!0,get:function(){return G[B]}})}}),ae.default=G,Object.freeze(ae)}var s=l(a);function d(){return d=Object.assign?Object.assign.bind():function(G){for(var ae=1;ae<arguments.length;ae++){var B=arguments[ae];for(var H in B)Object.prototype.hasOwnProperty.call(B,H)&&(G[H]=B[H])}return G},d.apply(this,arguments)}let c=s.createContext(null);c.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let _=s.createContext(null);_.displayName="Navigation";let b=s.createContext(null);b.displayName="Location";let S=s.createContext({outlet:null,matches:[],isDataRoute:!1});S.displayName="Route";let T=s.createContext(null);T.displayName="RouteError";function w(G,ae){let{relative:B}=ae===void 0?{}:ae;k()||i.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:H,navigator:J}=s.useContext(_),{hash:ve,pathname:ce,search:Be}=he(G,{relative:B}),Pe=ce;return H!=="/"&&(Pe=ce==="/"?H:i.joinPaths([H,ce])),J.createHref({pathname:Pe,search:Be,hash:ve})}function k(){return s.useContext(b)!=null}function D(){return k()||i.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(b).location}function A(){return s.useContext(b).navigationType}function q(G){k()||i.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:ae}=D();return s.useMemo(()=>i.matchPath(G,i.UNSAFE_decodePath(ae)),[ae,G])}let I="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function $(G){s.useContext(_).static||s.useLayoutEffect(G)}function F(){let{isDataRoute:G}=s.useContext(S);return G?Er():W()}function W(){k()||i.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let G=s.useContext(c),{basename:ae,future:B,navigator:H}=s.useContext(_),{matches:J}=s.useContext(S),{pathname:ve}=D(),ce=JSON.stringify(i.UNSAFE_getResolveToMatches(J,B.v7_relativeSplatPath)),Be=s.useRef(!1);return $(()=>{Be.current=!0}),s.useCallback(function(ze,Ye){if(Ye===void 0&&(Ye={}),i.UNSAFE_warning(Be.current,I),!Be.current)return;if(typeof ze=="number"){H.go(ze);return}let Ne=i.resolveTo(ze,JSON.parse(ce),ve,Ye.relative==="path");G==null&&ae!=="/"&&(Ne.pathname=Ne.pathname==="/"?ae:i.joinPaths([ae,Ne.pathname])),(Ye.replace?H.replace:H.push)(Ne,Ye.state,Ye)},[ae,H,ce,ve,G])}let P=s.createContext(null);function oe(){return s.useContext(P)}function be(G){let ae=s.useContext(S).outlet;return ae&&s.createElement(P.Provider,{value:G},ae)}function Q(){let{matches:G}=s.useContext(S),ae=G[G.length-1];return ae?ae.params:{}}function he(G,ae){let{relative:B}=ae===void 0?{}:ae,{future:H}=s.useContext(_),{matches:J}=s.useContext(S),{pathname:ve}=D(),ce=JSON.stringify(i.UNSAFE_getResolveToMatches(J,H.v7_relativeSplatPath));return s.useMemo(()=>i.resolveTo(G,JSON.parse(ce),ve,B==="path"),[G,ce,ve,B])}function le(G,ae){return Ce(G,ae)}function Ce(G,ae,B,H){k()||i.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:J}=s.useContext(_),{matches:ve}=s.useContext(S),ce=ve[ve.length-1],Be=ce?ce.params:{},Pe=ce?ce.pathname:"/",ze=ce?ce.pathnameBase:"/",Ye=ce&&ce.route;{let Ie=Ye&&Ye.path||"";ta(Pe,!Ye||Ie.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Pe+'" (under <Route path="'+Ie+'">) 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="'+Ie+'"> to <Route ')+('path="'+(Ie==="/"?"*":Ie+"/*")+'">.'))}let Ne=D(),Ze;if(ae){var M;let Ie=typeof ae=="string"?i.parsePath(ae):ae;ze==="/"||(M=Ie.pathname)!=null&&M.startsWith(ze)||i.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 "'+ze+'" ')+('but pathname "'+Ie.pathname+'" was given in the `location` prop.')),Ze=Ie}else Ze=Ne;let U=Ze.pathname||"/",ne=U;if(ze!=="/"){let Ie=ze.replace(/^\//,"").split("/");ne="/"+U.replace(/^\//,"").split("/").slice(Ie.length).join("/")}let de=i.matchRoutes(G,{pathname:ne});i.UNSAFE_warning(Ye||de!=null,'No routes matched location "'+Ze.pathname+Ze.search+Ze.hash+'" '),i.UNSAFE_warning(de==null||de[de.length-1].route.element!==void 0||de[de.length-1].route.Component!==void 0||de[de.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Ze.pathname+Ze.search+Ze.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 We=ee(de&&de.map(Ie=>Object.assign({},Ie,{params:Object.assign({},Be,Ie.params),pathname:i.joinPaths([ze,J.encodeLocation?J.encodeLocation(Ie.pathname).pathname:Ie.pathname]),pathnameBase:Ie.pathnameBase==="/"?ze:i.joinPaths([ze,J.encodeLocation?J.encodeLocation(Ie.pathnameBase).pathname:Ie.pathnameBase])})),ve,B,H);return ae&&We?s.createElement(b.Provider,{value:{location:d({pathname:"/",search:"",hash:"",state:null,key:"default"},Ze),navigationType:i.Action.Pop}},We):We}function V(){let G=Ue(),ae=i.isRouteErrorResponse(G)?G.status+" "+G.statusText:G instanceof Error?G.message:JSON.stringify(G),B=G instanceof Error?G.stack:null,H="rgba(200,200,200, 0.5)",J={padding:"0.5rem",backgroundColor:H},ve={padding:"2px 4px",backgroundColor:H},ce=null;return console.error("Error handled by React Router default ErrorBoundary:",G),ce=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:ve},"ErrorBoundary")," or"," ",s.createElement("code",{style:ve},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},ae),B?s.createElement("pre",{style:J},B):null,ce)}let re=s.createElement(V,null);class ue extends s.Component{constructor(ae){super(ae),this.state={location:ae.location,revalidation:ae.revalidation,error:ae.error}}static getDerivedStateFromError(ae){return{error:ae}}static getDerivedStateFromProps(ae,B){return B.location!==ae.location||B.revalidation!=="idle"&&ae.revalidation==="idle"?{error:ae.error,location:ae.location,revalidation:ae.revalidation}:{error:ae.error!==void 0?ae.error:B.error,location:B.location,revalidation:ae.revalidation||B.revalidation}}componentDidCatch(ae,B){console.error("React Router caught the following error during render",ae,B)}render(){return this.state.error!==void 0?s.createElement(S.Provider,{value:this.props.routeContext},s.createElement(T.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z(G){let{routeContext:ae,match:B,children:H}=G,J=s.useContext(c);return J&&J.static&&J.staticContext&&(B.route.errorElement||B.route.ErrorBoundary)&&(J.staticContext._deepestRenderedBoundaryId=B.route.id),s.createElement(S.Provider,{value:ae},H)}function ee(G,ae,B,H){var J;if(ae===void 0&&(ae=[]),B===void 0&&(B=null),H===void 0&&(H=null),G==null){var ve;if(!B)return null;if(B.errors)G=B.matches;else if((ve=H)!=null&&ve.v7_partialHydration&&ae.length===0&&!B.initialized&&B.matches.length>0)G=B.matches;else return null}let ce=G,Be=(J=B)==null?void 0:J.errors;if(Be!=null){let Ye=ce.findIndex(Ne=>Ne.route.id&&(Be==null?void 0:Be[Ne.route.id])!==void 0);Ye>=0||i.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Be).join(",")),ce=ce.slice(0,Math.min(ce.length,Ye+1))}let Pe=!1,ze=-1;if(B&&H&&H.v7_partialHydration)for(let Ye=0;Ye<ce.length;Ye++){let Ne=ce[Ye];if((Ne.route.HydrateFallback||Ne.route.hydrateFallbackElement)&&(ze=Ye),Ne.route.id){let{loaderData:Ze,errors:M}=B,U=Ne.route.loader&&Ze[Ne.route.id]===void 0&&(!M||M[Ne.route.id]===void 0);if(Ne.route.lazy||U){Pe=!0,ze>=0?ce=ce.slice(0,ze+1):ce=[ce[0]];break}}}return ce.reduceRight((Ye,Ne,Ze)=>{let M,U=!1,ne=null,de=null;B&&(M=Be&&Ne.route.id?Be[Ne.route.id]:void 0,ne=Ne.route.errorElement||re,Pe&&(ze<0&&Ze===0?(ta("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),U=!0,de=null):ze===Ze&&(U=!0,de=Ne.route.hydrateFallbackElement||null)));let We=ae.concat(ce.slice(0,Ze+1)),Ie=()=>{let L;return M?L=ne:U?L=de:Ne.route.Component?L=s.createElement(Ne.route.Component,null):Ne.route.element?L=Ne.route.element:L=Ye,s.createElement(z,{match:Ne,routeContext:{outlet:Ye,matches:We,isDataRoute:B!=null},children:L})};return B&&(Ne.route.ErrorBoundary||Ne.route.errorElement||Ze===0)?s.createElement(ue,{location:B.location,revalidation:B.revalidation,component:ne,error:M,children:Ie(),routeContext:{outlet:null,matches:We,isDataRoute:!0}}):Ie()},null)}var te=function(G){return G.UseBlocker="useBlocker",G.UseRevalidator="useRevalidator",G.UseNavigateStable="useNavigate",G}(te||{}),se=function(G){return G.UseBlocker="useBlocker",G.UseLoaderData="useLoaderData",G.UseActionData="useActionData",G.UseRouteError="useRouteError",G.UseNavigation="useNavigation",G.UseRouteLoaderData="useRouteLoaderData",G.UseMatches="useMatches",G.UseRevalidator="useRevalidator",G.UseNavigateStable="useNavigate",G.UseRouteId="useRouteId",G}(se||{});function me(G){return G+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function De(G){let ae=s.useContext(c);return ae||i.UNSAFE_invariant(!1,me(G)),ae}function Ae(G){let ae=s.useContext(h);return ae||i.UNSAFE_invariant(!1,me(G)),ae}function Oe(G){let ae=s.useContext(S);return ae||i.UNSAFE_invariant(!1,me(G)),ae}function je(G){let ae=Oe(G),B=ae.matches[ae.matches.length-1];return B.route.id||i.UNSAFE_invariant(!1,G+' can only be used on routes that contain a unique "id"'),B.route.id}function Xe(){return je(se.UseRouteId)}function st(){return Ae(se.UseNavigation).navigation}function Ot(){let G=De(te.UseRevalidator),ae=Ae(se.UseRevalidator);return s.useMemo(()=>({revalidate:G.router.revalidate,state:ae.revalidation}),[G.router.revalidate,ae.revalidation])}function vt(){let{matches:G,loaderData:ae}=Ae(se.UseMatches);return s.useMemo(()=>G.map(B=>i.UNSAFE_convertRouteMatchToUiMatch(B,ae)),[G,ae])}function Kt(){let G=Ae(se.UseLoaderData),ae=je(se.UseLoaderData);if(G.errors&&G.errors[ae]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+ae+")");return}return G.loaderData[ae]}function nr(G){return Ae(se.UseRouteLoaderData).loaderData[G]}function or(){let G=Ae(se.UseActionData),ae=je(se.UseLoaderData);return G.actionData?G.actionData[ae]:void 0}function Ue(){var G;let ae=s.useContext(T),B=Ae(se.UseRouteError),H=je(se.UseRouteError);return ae!==void 0?ae:(G=B.errors)==null?void 0:G[H]}function ar(){let G=s.useContext(p);return G==null?void 0:G._data}function ur(){let G=s.useContext(p);return G==null?void 0:G._error}let cr=0;function sr(G){let{router:ae,basename:B}=De(te.UseBlocker),H=Ae(se.UseBlocker),[J,ve]=s.useState(""),ce=s.useCallback(Be=>{if(typeof G!="function")return!!G;if(B==="/")return G(Be);let{currentLocation:Pe,nextLocation:ze,historyAction:Ye}=Be;return G({currentLocation:d({},Pe,{pathname:i.stripBasename(Pe.pathname,B)||Pe.pathname}),nextLocation:d({},ze,{pathname:i.stripBasename(ze.pathname,B)||ze.pathname}),historyAction:Ye})},[B,G]);return s.useEffect(()=>{let Be=String(++cr);return ve(Be),()=>ae.deleteBlocker(Be)},[ae]),s.useEffect(()=>{J!==""&&ae.getBlocker(J,ce)},[ae,J,ce]),J&&H.blockers.has(J)?H.blockers.get(J):i.IDLE_BLOCKER}function Er(){let{router:G}=De(te.UseNavigateStable),ae=je(se.UseNavigateStable),B=s.useRef(!1);return $(()=>{B.current=!0}),s.useCallback(function(J,ve){ve===void 0&&(ve={}),i.UNSAFE_warning(B.current,I),B.current&&(typeof J=="number"?G.navigate(J):G.navigate(J,d({fromRouteId:ae},ve)))},[G,ae])}let kr={};function ta(G,ae,B){!ae&&!kr[G]&&(kr[G]=!0,i.UNSAFE_warning(!1,B))}let xa=s["startTransition"];function Ra(G){let{fallbackElement:ae,router:B,future:H}=G,[J,ve]=s.useState(B.state),{v7_startTransition:ce}=H||{},Be=s.useCallback(Ne=>{ce&&xa?xa(()=>ve(Ne)):ve(Ne)},[ve,ce]);s.useLayoutEffect(()=>B.subscribe(Be),[B,Be]),s.useEffect(()=>{i.UNSAFE_warning(ae==null||!B.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Pe=s.useMemo(()=>({createHref:B.createHref,encodeLocation:B.encodeLocation,go:Ne=>B.navigate(Ne),push:(Ne,Ze,M)=>B.navigate(Ne,{state:Ze,preventScrollReset:M==null?void 0:M.preventScrollReset}),replace:(Ne,Ze,M)=>B.navigate(Ne,{replace:!0,state:Ze,preventScrollReset:M==null?void 0:M.preventScrollReset})}),[B]),ze=B.basename||"/",Ye=s.useMemo(()=>({router:B,navigator:Pe,static:!1,basename:ze}),[B,Pe,ze]);return s.createElement(s.Fragment,null,s.createElement(c.Provider,{value:Ye},s.createElement(h.Provider,{value:J},s.createElement(Mr,{basename:ze,location:J.location,navigationType:J.historyAction,navigator:Pe,future:{v7_relativeSplatPath:B.future.v7_relativeSplatPath}},J.initialized||B.future.v7_partialHydration?s.createElement(Kr,{routes:B.routes,future:B.future,state:J}):ae))),null)}function Kr(G){let{routes:ae,future:B,state:H}=G;return we(ae,void 0,H,B)}function ra(G){let{basename:ae,children:B,initialEntries:H,initialIndex:J,future:ve}=G,ce=s.useRef();ce.current==null&&(ce.current=i.createMemoryHistory({initialEntries:H,initialIndex:J,v5Compat:!0}));let Be=ce.current,[Pe,ze]=s.useState({action:Be.action,location:Be.location}),{v7_startTransition:Ye}=ve||{},Ne=s.useCallback(Ze=>{Ye&&xa?xa(()=>ze(Ze)):ze(Ze)},[ze,Ye]);return s.useLayoutEffect(()=>Be.listen(Ne),[Be,Ne]),s.createElement(Mr,{basename:ae,children:B,location:Pe.location,navigationType:Pe.action,navigator:Be,future:ve})}function $r(G){let{to:ae,replace:B,state:H,relative:J}=G;k()||i.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:ve,static:ce}=s.useContext(_);i.UNSAFE_warning(!ce,"<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:Be}=s.useContext(S),{pathname:Pe}=D(),ze=F(),Ye=i.resolveTo(ae,i.UNSAFE_getResolveToMatches(Be,ve.v7_relativeSplatPath),Pe,J==="path"),Ne=JSON.stringify(Ye);return s.useEffect(()=>ze(JSON.parse(Ne),{replace:B,state:H,relative:J}),[ze,Ne,J,B,H]),null}function Da(G){return be(G.context)}function Rr(G){i.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(G){let{basename:ae="/",children:B=null,location:H,navigationType:J=i.Action.Pop,navigator:ve,static:ce=!1,future:Be}=G;k()&&i.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Pe=ae.replace(/^\/*/,"/"),ze=s.useMemo(()=>({basename:Pe,navigator:ve,static:ce,future:d({v7_relativeSplatPath:!1},Be)}),[Pe,Be,ve,ce]);typeof H=="string"&&(H=i.parsePath(H));let{pathname:Ye="/",search:Ne="",hash:Ze="",state:M=null,key:U="default"}=H,ne=s.useMemo(()=>{let de=i.stripBasename(Ye,Pe);return de==null?null:{location:{pathname:de,search:Ne,hash:Ze,state:M,key:U},navigationType:J}},[Pe,Ye,Ne,Ze,M,U,J]);return i.UNSAFE_warning(ne!=null,'<Router basename="'+Pe+'"> is not able to match the URL '+('"'+Ye+Ne+Ze+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ne==null?null:s.createElement(_.Provider,{value:ze},s.createElement(b.Provider,{children:B,value:ne}))}function Gr(G){let{children:ae,location:B}=G;return le($t(ae),B)}function Ma(G){let{children:ae,errorElement:B,resolve:H}=G;return s.createElement(St,{resolve:H,errorElement:B},s.createElement(Xt,null,ae))}var Fe=function(G){return G[G.pending=0]="pending",G[G.success=1]="success",G[G.error=2]="error",G}(Fe||{});let pt=new Promise(()=>{});class St extends s.Component{constructor(ae){super(ae),this.state={error:null}}static getDerivedStateFromError(ae){return{error:ae}}componentDidCatch(ae,B){console.error("<Await> caught the following error during render",ae,B)}render(){let{children:ae,errorElement:B,resolve:H}=this.props,J=null,ve=Fe.pending;if(!(H instanceof Promise))ve=Fe.success,J=Promise.resolve(),Object.defineProperty(J,"_tracked",{get:()=>!0}),Object.defineProperty(J,"_data",{get:()=>H});else if(this.state.error){ve=Fe.error;let ce=this.state.error;J=Promise.reject().catch(()=>{}),Object.defineProperty(J,"_tracked",{get:()=>!0}),Object.defineProperty(J,"_error",{get:()=>ce})}else H._tracked?(J=H,ve="_error"in J?Fe.error:"_data"in J?Fe.success:Fe.pending):(ve=Fe.pending,Object.defineProperty(H,"_tracked",{get:()=>!0}),J=H.then(ce=>Object.defineProperty(H,"_data",{get:()=>ce}),ce=>Object.defineProperty(H,"_error",{get:()=>ce})));if(ve===Fe.error&&J._error instanceof i.AbortedDeferredError)throw pt;if(ve===Fe.error&&!B)throw J._error;if(ve===Fe.error)return s.createElement(p.Provider,{value:J,children:B});if(ve===Fe.success)return s.createElement(p.Provider,{value:J,children:ae});throw J}}function Xt(G){let{children:ae}=G,B=ar(),H=typeof ae=="function"?ae(B):ae;return s.createElement(s.Fragment,null,H)}function $t(G,ae){ae===void 0&&(ae=[]);let B=[];return s.Children.forEach(G,(H,J)=>{if(!s.isValidElement(H))return;let ve=[...ae,J];if(H.type===s.Fragment){B.push.apply(B,$t(H.props.children,ve));return}H.type!==Rr&&i.UNSAFE_invariant(!1,"["+(typeof H.type=="string"?H.type:H.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!H.props.index||!H.props.children||i.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ce={id:H.props.id||ve.join("-"),caseSensitive:H.props.caseSensitive,element:H.props.element,Component:H.props.Component,index:H.props.index,path:H.props.path,loader:H.props.loader,action:H.props.action,errorElement:H.props.errorElement,ErrorBoundary:H.props.ErrorBoundary,hasErrorBoundary:H.props.ErrorBoundary!=null||H.props.errorElement!=null,shouldRevalidate:H.props.shouldRevalidate,handle:H.props.handle,lazy:H.props.lazy};H.props.children&&(ce.children=$t(H.props.children,ve)),B.push(ce)}),B}function Nr(G){return ee(G)}function yr(G){let ae={hasErrorBoundary:G.ErrorBoundary!=null||G.errorElement!=null};return G.Component&&(G.element&&i.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(ae,{element:s.createElement(G.Component),Component:void 0})),G.HydrateFallback&&(G.hydrateFallbackElement&&i.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(ae,{hydrateFallbackElement:s.createElement(G.HydrateFallback),HydrateFallback:void 0})),G.ErrorBoundary&&(G.errorElement&&i.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(ae,{errorElement:s.createElement(G.ErrorBoundary),ErrorBoundary:void 0})),ae}function ca(G,ae){return i.createRouter({basename:ae==null?void 0:ae.basename,future:d({},ae==null?void 0:ae.future,{v7_prependBasename:!0}),history:i.createMemoryHistory({initialEntries:ae==null?void 0:ae.initialEntries,initialIndex:ae==null?void 0:ae.initialIndex}),hydrationData:ae==null?void 0:ae.hydrationData,routes:G,mapRouteProperties:yr,unstable_dataStrategy:ae==null?void 0:ae.unstable_dataStrategy,unstable_patchRoutesOnMiss:ae==null?void 0:ae.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return i.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return i.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return i.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return i.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return i.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return i.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return i.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return i.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return i.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return i.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return i.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return i.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return i.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return i.resolvePath}}),r.Await=Ma,r.MemoryRouter=ra,r.Navigate=$r,r.Outlet=Da,r.Route=Rr,r.Router=Mr,r.RouterProvider=Ra,r.Routes=Gr,r.UNSAFE_DataRouterContext=c,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=b,r.UNSAFE_NavigationContext=_,r.UNSAFE_RouteContext=S,r.UNSAFE_mapRouteProperties=yr,r.UNSAFE_useRouteId=Xe,r.UNSAFE_useRoutesImpl=we,r.createMemoryRouter=ca,r.createRoutesFromChildren=$t,r.createRoutesFromElements=$t,r.renderMatches=Nr,r.useActionData=or,r.useAsyncError=ur,r.useAsyncValue=ar,r.useBlocker=sr,r.useHref=C,r.useInRouterContext=k,r.useLoaderData=Kt,r.useLocation=D,r.useMatch=q,r.useMatches=vt,r.useNavigate=F,r.useNavigation=st,r.useNavigationType=A,r.useOutlet=be,r.useOutletContext=oe,r.useParams=Q,r.useResolvedPath=he,r.useRevalidator=Ot,r.useRouteError=Ue,r.useRouteLoaderData=nr,r.useRoutes=le,Object.defineProperty(r,"__esModule",{value:!0})})});var Y5=qe((GG,W5)=>{"use strict";W5.exports=V5()});var G5=qe((Lg,$5)=>{(function(r,a){typeof Lg=="object"&&typeof $5!="undefined"?a(Lg,er(),P0(),Y5(),X0()):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))})(Lg,function(r,a,i,l,s){"use strict";function d(B){if(B&&B.__esModule)return B;var H=Object.create(null);return B&&Object.keys(B).forEach(function(J){if(J!=="default"){var ve=Object.getOwnPropertyDescriptor(B,J);Object.defineProperty(H,J,ve.get?ve:{enumerable:!0,get:function(){return B[J]}})}}),H.default=B,Object.freeze(H)}var c=d(a),h=d(i);function p(){return p=Object.assign?Object.assign.bind():function(B){for(var H=1;H<arguments.length;H++){var J=arguments[H];for(var ve in J)Object.prototype.hasOwnProperty.call(J,ve)&&(B[ve]=J[ve])}return B},p.apply(this,arguments)}function _(B,H){if(B==null)return{};var J={},ve=Object.keys(B),ce,Be;for(Be=0;Be<ve.length;Be++)ce=ve[Be],!(H.indexOf(ce)>=0)&&(J[ce]=B[ce]);return J}let b="get",S="application/x-www-form-urlencoded";function T(B){return B!=null&&typeof B.tagName=="string"}function C(B){return T(B)&&B.tagName.toLowerCase()==="button"}function k(B){return T(B)&&B.tagName.toLowerCase()==="form"}function D(B){return T(B)&&B.tagName.toLowerCase()==="input"}function A(B){return!!(B.metaKey||B.altKey||B.ctrlKey||B.shiftKey)}function q(B,H){return B.button===0&&(!H||H==="_self")&&!A(B)}function I(B){return B===void 0&&(B=""),new URLSearchParams(typeof B=="string"||Array.isArray(B)||B instanceof URLSearchParams?B:Object.keys(B).reduce((H,J)=>{let ve=B[J];return H.concat(Array.isArray(ve)?ve.map(ce=>[J,ce]):[[J,ve]])},[]))}function $(B,H){let J=I(B);return H&&H.forEach((ve,ce)=>{J.has(ce)||H.getAll(ce).forEach(Be=>{J.append(ce,Be)})}),J}let F=null;function W(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(B){F=!0}return F}let P=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function oe(B){return B!=null&&!P.has(B)?(s.UNSAFE_warning(!1,'"'+B+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+S+'"')),null):B}function be(B,H){let J,ve,ce,Be,Pe;if(k(B)){let ze=B.getAttribute("action");ve=ze?s.stripBasename(ze,H):null,J=B.getAttribute("method")||b,ce=oe(B.getAttribute("enctype"))||S,Be=new FormData(B)}else if(C(B)||D(B)&&(B.type==="submit"||B.type==="image")){let ze=B.form;if(ze==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Ye=B.getAttribute("formaction")||ze.getAttribute("action");if(ve=Ye?s.stripBasename(Ye,H):null,J=B.getAttribute("formmethod")||ze.getAttribute("method")||b,ce=oe(B.getAttribute("formenctype"))||oe(ze.getAttribute("enctype"))||S,Be=new FormData(ze,B),!W()){let{name:Ne,type:Ze,value:M}=B;if(Ze==="image"){let U=Ne?Ne+".":"";Be.append(U+"x","0"),Be.append(U+"y","0")}else Ne&&Be.append(Ne,M)}}else{if(T(B))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');J=b,ve=null,ce=S,Pe=B}return Be&&ce==="text/plain"&&(Pe=Be,Be=void 0),{action:ve,method:J.toLowerCase(),encType:ce,formData:Be,body:Pe}}let Q=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],he=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],le=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],we="6";try{window.__reactRouterVersion=we}catch(B){}function V(B,H){return s.createRouter({basename:H==null?void 0:H.basename,future:p({},H==null?void 0:H.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:H==null?void 0:H.window}),hydrationData:(H==null?void 0:H.hydrationData)||ue(),routes:B,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:H==null?void 0:H.unstable_dataStrategy,unstable_patchRoutesOnMiss:H==null?void 0:H.unstable_patchRoutesOnMiss,window:H==null?void 0:H.window}).initialize()}function re(B,H){return s.createRouter({basename:H==null?void 0:H.basename,future:p({},H==null?void 0:H.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:H==null?void 0:H.window}),hydrationData:(H==null?void 0:H.hydrationData)||ue(),routes:B,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:H==null?void 0:H.unstable_dataStrategy,unstable_patchRoutesOnMiss:H==null?void 0:H.unstable_patchRoutesOnMiss,window:H==null?void 0:H.window}).initialize()}function ue(){var B;let H=(B=window)==null?void 0:B.__staticRouterHydrationData;return H&&H.errors&&(H=p({},H,{errors:z(H.errors)})),H}function z(B){if(!B)return null;let H=Object.entries(B),J={};for(let[ve,ce]of H)if(ce&&ce.__type==="RouteErrorResponse")J[ve]=new s.UNSAFE_ErrorResponseImpl(ce.status,ce.statusText,ce.data,ce.internal===!0);else if(ce&&ce.__type==="Error"){if(ce.__subType){let Be=window[ce.__subType];if(typeof Be=="function")try{let Pe=new Be(ce.message);Pe.stack="",J[ve]=Pe}catch(Pe){}}if(J[ve]==null){let Be=new Error(ce.message);Be.stack="",J[ve]=Be}}else J[ve]=ce;return J}let ee=c.createContext({isTransitioning:!1});ee.displayName="ViewTransition";let te=c.createContext(new Map);te.displayName="Fetchers";let me=c["startTransition"],Ae=h["flushSync"],je=c["useId"];function Xe(B){me?me(B):B()}function st(B){Ae?Ae(B):B()}class Ot{constructor(){this.status="pending",this.promise=new Promise((H,J)=>{this.resolve=ve=>{this.status==="pending"&&(this.status="resolved",H(ve))},this.reject=ve=>{this.status==="pending"&&(this.status="rejected",J(ve))}})}}function vt(B){let{fallbackElement:H,router:J,future:ve}=B,[ce,Be]=c.useState(J.state),[Pe,ze]=c.useState(),[Ye,Ne]=c.useState({isTransitioning:!1}),[Ze,M]=c.useState(),[U,ne]=c.useState(),[de,We]=c.useState(),Ie=c.useRef(new Map),{v7_startTransition:L}=ve||{},Y=c.useCallback(Je=>{L?Xe(Je):Je()},[L]),ge=c.useCallback((Je,xt)=>{let{deletedFetchers:Et,unstable_flushSync:It,unstable_viewTransitionOpts:Ir}=xt;Et.forEach(aa=>Ie.current.delete(aa)),Je.fetchers.forEach((aa,na)=>{aa.data!==void 0&&Ie.current.set(na,aa.data)});let Ia=J.window==null||J.window.document==null||typeof J.window.document.startViewTransition!="function";if(!Ir||Ia){It?st(()=>Be(Je)):Y(()=>Be(Je));return}if(It){st(()=>{U&&(Ze&&Ze.resolve(),U.skipTransition()),Ne({isTransitioning:!0,flushSync:!0,currentLocation:Ir.currentLocation,nextLocation:Ir.nextLocation})});let aa=J.window.document.startViewTransition(()=>{st(()=>Be(Je))});aa.finished.finally(()=>{st(()=>{M(void 0),ne(void 0),ze(void 0),Ne({isTransitioning:!1})})}),st(()=>ne(aa));return}U?(Ze&&Ze.resolve(),U.skipTransition(),We({state:Je,currentLocation:Ir.currentLocation,nextLocation:Ir.nextLocation})):(ze(Je),Ne({isTransitioning:!0,flushSync:!1,currentLocation:Ir.currentLocation,nextLocation:Ir.nextLocation}))},[J.window,U,Ze,Ie,Y]);c.useLayoutEffect(()=>J.subscribe(ge),[J,ge]),c.useEffect(()=>{Ye.isTransitioning&&!Ye.flushSync&&M(new Ot)},[Ye]),c.useEffect(()=>{if(Ze&&Pe&&J.window){let Je=Pe,xt=Ze.promise,Et=J.window.document.startViewTransition(()=>Jr(this,null,function*(){Y(()=>Be(Je)),yield xt}));Et.finished.finally(()=>{M(void 0),ne(void 0),ze(void 0),Ne({isTransitioning:!1})}),ne(Et)}},[Y,Pe,Ze,J.window]),c.useEffect(()=>{Ze&&Pe&&ce.location.key===Pe.location.key&&Ze.resolve()},[Ze,U,ce.location,Pe]),c.useEffect(()=>{!Ye.isTransitioning&&de&&(ze(de.state),Ne({isTransitioning:!0,flushSync:!1,currentLocation:de.currentLocation,nextLocation:de.nextLocation}),We(void 0))},[Ye.isTransitioning,de]),c.useEffect(()=>{s.UNSAFE_warning(H==null||!J.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ee=c.useMemo(()=>({createHref:J.createHref,encodeLocation:J.encodeLocation,go:Je=>J.navigate(Je),push:(Je,xt,Et)=>J.navigate(Je,{state:xt,preventScrollReset:Et==null?void 0:Et.preventScrollReset}),replace:(Je,xt,Et)=>J.navigate(Je,{replace:!0,state:xt,preventScrollReset:Et==null?void 0:Et.preventScrollReset})}),[J]),Ve=J.basename||"/",ft=c.useMemo(()=>({router:J,navigator:Ee,static:!1,basename:Ve}),[J,Ee,Ve]),et=c.useMemo(()=>({v7_relativeSplatPath:J.future.v7_relativeSplatPath}),[J.future.v7_relativeSplatPath]);return c.createElement(c.Fragment,null,c.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},c.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:ce},c.createElement(te.Provider,{value:Ie.current},c.createElement(ee.Provider,{value:Ye},c.createElement(l.Router,{basename:Ve,location:ce.location,navigationType:ce.historyAction,navigator:Ee,future:et},ce.initialized||J.future.v7_partialHydration?c.createElement(Kt,{routes:J.routes,future:J.future,state:ce}):H))))),null)}let Kt=c.memo(nr);function nr(B){let{routes:H,future:J,state:ve}=B;return l.UNSAFE_useRoutesImpl(H,void 0,ve,J)}function or(B){let{basename:H,children:J,future:ve,window:ce}=B,Be=c.useRef();Be.current==null&&(Be.current=s.createBrowserHistory({window:ce,v5Compat:!0}));let Pe=Be.current,[ze,Ye]=c.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ne}=ve||{},Ze=c.useCallback(M=>{Ne&&me?me(()=>Ye(M)):Ye(M)},[Ye,Ne]);return c.useLayoutEffect(()=>Pe.listen(Ze),[Pe,Ze]),c.createElement(l.Router,{basename:H,children:J,location:ze.location,navigationType:ze.action,navigator:Pe,future:ve})}function Ue(B){let{basename:H,children:J,future:ve,window:ce}=B,Be=c.useRef();Be.current==null&&(Be.current=s.createHashHistory({window:ce,v5Compat:!0}));let Pe=Be.current,[ze,Ye]=c.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ne}=ve||{},Ze=c.useCallback(M=>{Ne&&me?me(()=>Ye(M)):Ye(M)},[Ye,Ne]);return c.useLayoutEffect(()=>Pe.listen(Ze),[Pe,Ze]),c.createElement(l.Router,{basename:H,children:J,location:ze.location,navigationType:ze.action,navigator:Pe,future:ve})}function ar(B){let{basename:H,children:J,future:ve,history:ce}=B,[Be,Pe]=c.useState({action:ce.action,location:ce.location}),{v7_startTransition:ze}=ve||{},Ye=c.useCallback(Ne=>{ze&&me?me(()=>Pe(Ne)):Pe(Ne)},[Pe,ze]);return c.useLayoutEffect(()=>ce.listen(Ye),[ce,Ye]),c.createElement(l.Router,{basename:H,children:J,location:Be.location,navigationType:Be.action,navigator:ce,future:ve})}ar.displayName="unstable_HistoryRouter";let ur=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",cr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,sr=c.forwardRef(function(H,J){let{onClick:ve,relative:ce,reloadDocument:Be,replace:Pe,state:ze,target:Ye,to:Ne,preventScrollReset:Ze,unstable_viewTransition:M}=H,U=_(H,Q),{basename:ne}=c.useContext(l.UNSAFE_NavigationContext),de,We=!1;if(typeof Ne=="string"&&cr.test(Ne)&&(de=Ne,ur))try{let ge=new URL(window.location.href),Ee=Ne.startsWith("//")?new URL(ge.protocol+Ne):new URL(Ne),Ve=s.stripBasename(Ee.pathname,ne);Ee.origin===ge.origin&&Ve!=null?Ne=Ve+Ee.search+Ee.hash:We=!0}catch(ge){s.UNSAFE_warning(!1,'<Link to="'+Ne+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Ie=l.useHref(Ne,{relative:ce}),L=$r(Ne,{replace:Pe,state:ze,target:Ye,preventScrollReset:Ze,relative:ce,unstable_viewTransition:M});function Y(ge){ve&&ve(ge),ge.defaultPrevented||L(ge)}return c.createElement("a",p({},U,{href:de||Ie,onClick:We||Be?ve:Y,ref:J,target:Ye}))});sr.displayName="Link";let Er=c.forwardRef(function(H,J){let{"aria-current":ve="page",caseSensitive:ce=!1,className:Be="",end:Pe=!1,style:ze,to:Ye,unstable_viewTransition:Ne,children:Ze}=H,M=_(H,he),U=l.useResolvedPath(Ye,{relative:M.relative}),ne=l.useLocation(),de=c.useContext(l.UNSAFE_DataRouterStateContext),{navigator:We,basename:Ie}=c.useContext(l.UNSAFE_NavigationContext),L=de!=null&&ae(U)&&Ne===!0,Y=We.encodeLocation?We.encodeLocation(U).pathname:U.pathname,ge=ne.pathname,Ee=de&&de.navigation&&de.navigation.location?de.navigation.location.pathname:null;ce||(ge=ge.toLowerCase(),Ee=Ee?Ee.toLowerCase():null,Y=Y.toLowerCase()),Ee&&Ie&&(Ee=s.stripBasename(Ee,Ie)||Ee);let Ve=Y!=="/"&&Y.endsWith("/")?Y.length-1:Y.length,ft=ge===Y||!Pe&&ge.startsWith(Y)&&ge.charAt(Ve)==="/",et=Ee!=null&&(Ee===Y||!Pe&&Ee.startsWith(Y)&&Ee.charAt(Y.length)==="/"),Je={isActive:ft,isPending:et,isTransitioning:L},xt=ft?ve:void 0,Et;typeof Be=="function"?Et=Be(Je):Et=[Be,ft?"active":null,et?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let It=typeof ze=="function"?ze(Je):ze;return c.createElement(sr,p({},M,{"aria-current":xt,className:Et,ref:J,style:It,to:Ye,unstable_viewTransition:Ne}),typeof Ze=="function"?Ze(Je):Ze)});Er.displayName="NavLink";let kr=c.forwardRef((B,H)=>{let{fetcherKey:J,navigate:ve,reloadDocument:ce,replace:Be,state:Pe,method:ze=b,action:Ye,onSubmit:Ne,relative:Ze,preventScrollReset:M,unstable_viewTransition:U}=B,ne=_(B,le),de=Ma(),We=Fe(Ye,{relative:Ze}),Ie=ze.toLowerCase()==="get"?"get":"post",L=Y=>{if(Ne&&Ne(Y),Y.defaultPrevented)return;Y.preventDefault();let ge=Y.nativeEvent.submitter,Ee=(ge==null?void 0:ge.getAttribute("formmethod"))||ze;de(ge||Y.currentTarget,{fetcherKey:J,method:Ee,navigate:ve,replace:Be,state:Pe,relative:Ze,preventScrollReset:M,unstable_viewTransition:U})};return c.createElement("form",p({ref:H,method:Ie,action:We,onSubmit:ce?Ne:L},ne))});kr.displayName="Form";function ta(B){let{getKey:H,storageKey:J}=B;return Nr({getKey:H,storageKey:J}),null}ta.displayName="ScrollRestoration";var Ua=function(B){return B.UseScrollRestoration="useScrollRestoration",B.UseSubmit="useSubmit",B.UseSubmitFetcher="useSubmitFetcher",B.UseFetcher="useFetcher",B.useViewTransitionState="useViewTransitionState",B}(Ua||{}),xa=function(B){return B.UseFetcher="useFetcher",B.UseFetchers="useFetchers",B.UseScrollRestoration="useScrollRestoration",B}(xa||{});function Ra(B){return B+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Kr(B){let H=c.useContext(l.UNSAFE_DataRouterContext);return H||s.UNSAFE_invariant(!1,Ra(B)),H}function ra(B){let H=c.useContext(l.UNSAFE_DataRouterStateContext);return H||s.UNSAFE_invariant(!1,Ra(B)),H}function $r(B,H){let{target:J,replace:ve,state:ce,preventScrollReset:Be,relative:Pe,unstable_viewTransition:ze}=H===void 0?{}:H,Ye=l.useNavigate(),Ne=l.useLocation(),Ze=l.useResolvedPath(B,{relative:Pe});return c.useCallback(M=>{if(q(M,J)){M.preventDefault();let U=ve!==void 0?ve:l.createPath(Ne)===l.createPath(Ze);Ye(B,{replace:U,state:ce,preventScrollReset:Be,relative:Pe,unstable_viewTransition:ze})}},[Ne,Ye,Ze,ve,ce,J,B,Be,Pe,ze])}function Da(B){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 H=c.useRef(I(B)),J=c.useRef(!1),ve=l.useLocation(),ce=c.useMemo(()=>$(ve.search,J.current?null:H.current),[ve.search]),Be=l.useNavigate(),Pe=c.useCallback((ze,Ye)=>{let Ne=I(typeof ze=="function"?ze(ce):ze);J.current=!0,Be("?"+Ne,Ye)},[Be,ce]);return[ce,Pe]}function Rr(){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,Gr=()=>"__"+String(++Mr)+"__";function Ma(){let{router:B}=Kr(Ua.UseSubmit),{basename:H}=c.useContext(l.UNSAFE_NavigationContext),J=l.UNSAFE_useRouteId();return c.useCallback(function(ve,ce){ce===void 0&&(ce={}),Rr();let{action:Be,method:Pe,encType:ze,formData:Ye,body:Ne}=be(ve,H);if(ce.navigate===!1){let Ze=ce.fetcherKey||Gr();B.fetch(Ze,J,ce.action||Be,{preventScrollReset:ce.preventScrollReset,formData:Ye,body:Ne,formMethod:ce.method||Pe,formEncType:ce.encType||ze,unstable_flushSync:ce.unstable_flushSync})}else B.navigate(ce.action||Be,{preventScrollReset:ce.preventScrollReset,formData:Ye,body:Ne,formMethod:ce.method||Pe,formEncType:ce.encType||ze,replace:ce.replace,state:ce.state,fromRouteId:J,unstable_flushSync:ce.unstable_flushSync,unstable_viewTransition:ce.unstable_viewTransition})},[B,H,J])}function Fe(B,H){let{relative:J}=H===void 0?{}:H,{basename:ve}=c.useContext(l.UNSAFE_NavigationContext),ce=c.useContext(l.UNSAFE_RouteContext);ce||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Be]=ce.matches.slice(-1),Pe=p({},l.useResolvedPath(B||".",{relative:J})),ze=l.useLocation();if(B==null){Pe.search=ze.search;let Ye=new URLSearchParams(Pe.search);Ye.has("index")&&Ye.get("index")===""&&(Ye.delete("index"),Pe.search=Ye.toString()?"?"+Ye.toString():"")}return(!B||B===".")&&Be.route.index&&(Pe.search=Pe.search?Pe.search.replace(/^\?/,"?index&"):"?index"),ve!=="/"&&(Pe.pathname=Pe.pathname==="/"?ve:s.joinPaths([ve,Pe.pathname])),l.createPath(Pe)}function pt(B){var H;let{key:J}=B===void 0?{}:B,{router:ve}=Kr(Ua.UseFetcher),ce=ra(xa.UseFetcher),Be=c.useContext(te),Pe=c.useContext(l.UNSAFE_RouteContext),ze=(H=Pe.matches[Pe.matches.length-1])==null?void 0:H.route.id;Be||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Pe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),ze==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let Ye=je?je():"",[Ne,Ze]=c.useState(J||Ye);J&&J!==Ne?Ze(J):Ne||Ze(Gr()),c.useEffect(()=>(ve.getFetcher(Ne),()=>{ve.deleteFetcher(Ne)}),[ve,Ne]);let M=c.useCallback((Y,ge)=>{ze||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),ve.fetch(Ne,ze,Y,ge)},[Ne,ze,ve]),U=Ma(),ne=c.useCallback((Y,ge)=>{U(Y,p({},ge,{navigate:!1,fetcherKey:Ne}))},[Ne,U]),de=c.useMemo(()=>{let Y=c.forwardRef((ge,Ee)=>c.createElement(kr,p({},ge,{navigate:!1,fetcherKey:Ne,ref:Ee})));return Y.displayName="fetcher.Form",Y},[Ne]),We=ce.fetchers.get(Ne)||s.IDLE_FETCHER,Ie=Be.get(Ne);return c.useMemo(()=>p({Form:de,submit:ne,load:M},We,{data:Ie}),[de,ne,M,We,Ie])}function St(){let B=ra(xa.UseFetchers);return Array.from(B.fetchers.entries()).map(H=>{let[J,ve]=H;return p({},ve,{key:J})})}let Xt="react-router-scroll-positions",$t={};function Nr(B){let{getKey:H,storageKey:J}=B===void 0?{}:B,{router:ve}=Kr(Ua.UseScrollRestoration),{restoreScrollPosition:ce,preventScrollReset:Be}=ra(xa.UseScrollRestoration),{basename:Pe}=c.useContext(l.UNSAFE_NavigationContext),ze=l.useLocation(),Ye=l.useMatches(),Ne=l.useNavigation();c.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),ca(c.useCallback(()=>{if(Ne.state==="idle"){let Ze=(H?H(ze,Ye):null)||ze.key;$t[Ze]=window.scrollY}try{sessionStorage.setItem(J||Xt,JSON.stringify($t))}catch(Ze){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Ze+").")}window.history.scrollRestoration="auto"},[J,H,Ne.state,ze,Ye])),typeof document!="undefined"&&(c.useLayoutEffect(()=>{try{let Ze=sessionStorage.getItem(J||Xt);Ze&&($t=JSON.parse(Ze))}catch(Ze){}},[J]),c.useLayoutEffect(()=>{let Ze=H&&Pe!=="/"?(U,ne)=>H(p({},U,{pathname:s.stripBasename(U.pathname,Pe)||U.pathname}),ne):H,M=ve==null?void 0:ve.enableScrollRestoration($t,()=>window.scrollY,Ze);return()=>M&&M()},[ve,Pe,H]),c.useLayoutEffect(()=>{if(ce!==!1){if(typeof ce=="number"){window.scrollTo(0,ce);return}if(ze.hash){let Ze=document.getElementById(decodeURIComponent(ze.hash.slice(1)));if(Ze){Ze.scrollIntoView();return}}Be!==!0&&window.scrollTo(0,0)}},[ze,ce,Be]))}function yr(B,H){let{capture:J}=H||{};c.useEffect(()=>{let ve=J!=null?{capture:J}:void 0;return window.addEventListener("beforeunload",B,ve),()=>{window.removeEventListener("beforeunload",B,ve)}},[B,J])}function ca(B,H){let{capture:J}=H||{};c.useEffect(()=>{let ve=J!=null?{capture:J}:void 0;return window.addEventListener("pagehide",B,ve),()=>{window.removeEventListener("pagehide",B,ve)}},[B,J])}function G(B){let{when:H,message:J}=B,ve=l.useBlocker(H);c.useEffect(()=>{ve.state==="blocked"&&(window.confirm(J)?setTimeout(ve.proceed,0):ve.reset())},[ve,J]),c.useEffect(()=>{ve.state==="blocked"&&!H&&ve.reset()},[ve,H])}function ae(B,H){H===void 0&&(H={});let J=c.useContext(ee);J==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:ve}=Kr(Ua.useViewTransitionState),ce=l.useResolvedPath(B,{relative:H.relative});if(!J.isTransitioning)return!1;let Be=s.stripBasename(J.currentLocation.pathname,ve)||J.currentLocation.pathname,Pe=s.stripBasename(J.nextLocation.pathname,ve)||J.nextLocation.pathname;return s.matchPath(ce.pathname,Pe)!=null||s.matchPath(ce.pathname,Be)!=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=or,r.Form=kr,r.HashRouter=Ue,r.Link=sr,r.NavLink=Er,r.RouterProvider=vt,r.ScrollRestoration=ta,r.UNSAFE_FetchersContext=te,r.UNSAFE_ViewTransitionContext=ee,r.UNSAFE_useScrollRestoration=Nr,r.createBrowserRouter=V,r.createHashRouter=re,r.createSearchParams=I,r.unstable_HistoryRouter=ar,r.unstable_usePrompt=G,r.unstable_useViewTransitionState=ae,r.useBeforeUnload=yr,r.useFetcher=pt,r.useFetchers=St,r.useFormAction=Fe,r.useLinkClickHandler=$r,r.useSearchParams=Da,r.useSubmit=Ma,Object.defineProperty(r,"__esModule",{value:!0})})});var K5=qe((KG,q5)=>{"use strict";q5.exports=G5()});var rr=qe((JG,oE)=>{"use strict";var oW=Object.create,Oh=Object.defineProperty,iW=Object.defineProperties,lW=Object.getOwnPropertyDescriptor,sW=Object.getOwnPropertyDescriptors,uW=Object.getOwnPropertyNames,zg=Object.getOwnPropertySymbols,cW=Object.getPrototypeOf,Q0=Object.prototype.hasOwnProperty,Z5=Object.prototype.propertyIsEnumerable,J0=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),Bg=Math.pow,X5=(r,a,i)=>a in r?Oh(r,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[a]=i,Bh=(r,a)=>{for(var i in a||(a={}))Q0.call(a,i)&&X5(r,i,a[i]);if(zg)for(var i of zg(a))Z5.call(a,i)&&X5(r,i,a[i]);return r},dW=(r,a)=>iW(r,sW(a)),fW=(r,a)=>{var i={};for(var l in r)Q0.call(r,l)&&a.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&zg)for(var l of zg(r))a.indexOf(l)<0&&Z5.call(r,l)&&(i[l]=r[l]);return i},eE=(r,a)=>()=>(r&&(a=r(r=0)),a),pW=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),hW=(r,a)=>{for(var i in a)Oh(r,i,{get:a[i],enumerable:!0})},tE=(r,a,i,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of uW(a))!Q0.call(r,s)&&s!==i&&Oh(r,s,{get:()=>a[s],enumerable:!(l=lW(a,s))||l.enumerable});return r},mW=(r,a,i)=>(i=r!=null?oW(cW(r)):{},tE(a||!r||!r.__esModule?Oh(i,"default",{value:r,enumerable:!0}):i,r)),vW=r=>tE(Oh({},"__esModule",{value:!0}),r),$l=(r,a,i)=>new Promise((l,s)=>{var d=p=>{try{h(i.next(p))}catch(_){s(_)}},c=p=>{try{h(i.throw(p))}catch(_){s(_)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((i=i.apply(r,a)).next())}),rE=function(r,a){this[0]=r,this[1]=a},gW=(r,a,i)=>{var l=(c,h,p,_)=>{try{var b=i[c](h),S=(h=b.value)instanceof rE,T=b.done;Promise.resolve(S?h[0]:h).then(C=>S?l(c==="return"?c:"next",h[1]?{done:C.done,value:C.value}:C,p,_):p({value:C,done:T})).catch(C=>l("throw",C,p,_))}catch(C){_(C)}},s=c=>d[c]=h=>new Promise((p,_)=>l(c,h,p,_)),d={};return i=i.apply(r,a),d[J0("asyncIterator")]=()=>d,s("next"),s("throw"),s("return"),d},_W=(r,a,i)=>(a=r[J0("asyncIterator")])?a.call(r):(r=r[J0("iterator")](),a={},i=(l,s)=>(s=r[l])&&(a[l]=d=>new Promise((c,h,p)=>(d=s.call(r,d),p=d.done,Promise.resolve(d.value).then(_=>c({value:_,done:p}),h)))),i("next"),i("return"),a),aE=eE(()=>{"use strict";if(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(/^.*,/,"")),i=new Uint8Array(a.length);for(var l=0;l<a.length;l++)i[l]=a.charCodeAt(l);try{var s=new Blob([i.buffer],{type:r})}catch(d){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 i=Bg(10,a);return Math.round(this/r*i*100)/i},Number.prototype.rate=function(r,a=2){let i=Bg(10,a);return Math.round(this/r*i)/i},Number.prototype.rank=function(r=1){let a=Bg(10,r),i=Number(this),l=i.toLocaleString().replace(/\d/ig,"").length;return Math.round(i/Bg(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),i=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),d=[];return i.length!=4||d.push(i),l.length!=2||d.push(l),s.length!=2||d.push(s),d.join(r)}),typeof Array!="undefined"){let r=(a,i)=>{if(!a)return;let l=a;for(let s of i){if(!l)break;l=l[s]}return l};Array.prototype.order=function(a){let{direction:i="ASC",keys:l=[],numeral:s=!1}=a,d=[];return l.length?s?d=this.sort((c,h)=>+(Number(r(c,l))>Number(r(h,l)))*2-1):d=this.sort((c,h)=>{let p=String(r(c,l)).replace(/(\d+)/g,b=>b.padStart(18,"0")),_=String(r(h,l)).replace(/(\d+)/g,b=>b.padStart(18,"0"));return+(p>_)*2-1}):s?d=this.sort((c,h)=>+(c>h)*2-1):d=this.sort((c,h)=>{let p=String(c).replace(/(\d+)/g,b=>b.padStart(18,"0")),_=String(h).replace(/(\d+)/g,b=>b.padStart(18,"0"));return+(p>_)*2-1}),i=="DESC"&&(d=d.reverse()),d},Array.prototype.getLastChild=function(){let a=this.length-1;return this[a]}}typeof File!="undefined"&&(File.prototype.read=function(r){return r=r||"dataURL",new Promise((a,i)=>{let l=new FileReader;l.onload=d=>a(d),l.onerror=d=>i(d);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})},File.prototype.toDataUrl=function(){return $l(this,null,function*(){var r;let a=yield this.read();return String((r=a.target)==null?void 0:r.result)})},File.prototype.getExtension=function(){return this.name.split(".").getLastChild()})}),J5,Ce,Ba,Og,tu,Q5,zh=eE(()=>{"use strict";aE(),J5=r=>new Ce.prototype.jsmin(r),Ce=J5,Ce.prototype={},Ce.extend=function(r,a=Ce){for(var[i,l]of Object.entries(r))a.prototype[i]=l},Ce.uuid={gen128Binary:()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("").toUpperCase(),gen32Hex:(r="Formatted",a="-")=>{let i=Array.from({length:32}).map((l,s)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(i=[i.slice(0,8),i.slice(8,12),i.slice(12,16),i.slice(16,20),i.slice(20,32)].join(a)),i},gen:(r=32)=>Array.from({length:r}).map((a,i)=>{let l=i==0?25:35;return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)]}).join("").toUpper(),to32Format:r=>(r=[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-"),r)},Ce.expando="__jsmin_"+Ce.uuid.gen(),Ba=(r,a)=>(r.queue.push(a),Og(r),r),Og=r=>$l(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,Og(r)}}),tu=(r,a)=>{for(let i=0;i<r.length;i++)r[i]=null;for(let[i,l]of Object.entries(a))i.match(/queue/)||(r[i]=l);return r},Q5=(r,a)=>{if(a.length){for(var i=0;i<a.length;i++){let l=a[i];l&&(l[Ce.expando]||(Ce.is.element(l)||Ce.is.shadowRoot(l))&&(l[Ce.expando]={events:{}})),r[i]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,Og(r),r},Ce.extend({constructor:Ce,jsmin:function(r){return this.src=r,this.srcType=Ce.is.what(r),this.queueProcess=!0,this.queue=[],Q5(this,Ce.is.jsmin(r)?r.get():Ce.is.element(r)?[r]:Ce.is.elements(r)?r:Ce.is.shadowRoot(r)?[r]:Ce.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}}),Ce.prototype[String(Symbol.iterator)]=[][Symbol.iterator],Ce.prototype.jsmin.prototype=Ce.prototype;{let r=function(s,d,c){let h=[];for(let p=0;p<(s.length||0);p++)h.push(d(s[p],p));return c&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((d,c)=>{if(!(Ce.is.element(d)||Ce.is.shadowRoot(d)))return;let h=d.cloneNode(),p=d.parentNode;p&&p.replaceChild(h,d),s[c]=h}),s),i=(s,d)=>(Ce(d).for(c=>{if(s&&(Ce.is.element(c)||Ce.is.shadowRoot(c)))if(Ce.is.string(s)||Ce.is.number(s))s=String(s),c.insertAdjacentHTML("beforeend",String(s));else if(Ce.is.element(s))c.appendChild(s);else{Ce.is.jsmin(s)?s=s.get():Ce.is.element(s)?s=[s]:Ce.is.keyValueDictionary(s)&&(s=[Ce(s)]);for(var h=0;h<s.length;h++)i(s[h],c)}}),d),l=(s,d,...c)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[d]||{p:"",s:""};return s.for(_=>{if(Ce.is.string(c[0]))_.insertAdjacentHTML(h,c[0]);else{if(!_.parentNode)return;Ce(c[0]).for(b=>{c[1]&&(b=b.cloneNode(!0)),_.parentNode.insertBefore(b,_[p]||_)})}}),s};Ce.extend({get:function(s){return s?this[0]:r(this,d=>d)},for:function(s,d=1){let c=r(this,(h,p)=>s(h,p),1);return d?c:[]},await:function(s){return Ba(this,()=>new Promise((d,c)=>{setTimeout(()=>{d(this)},s)}))},abort:function(){return Ba(this,()=>$l(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Ba(this,()=>$l(this,null,function*(){return yield s(this),this}))},click:function(){return Ba(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Ce.is.element(d)&&d.click()}return this})},focus:function(){return Ba(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];Ce.is.element(d)&&d.focus()}return this})},addEvent:function(s){return Ba(this,()=>{let{eventType:d,eventID:c=Ce.uuid.gen(32),target:h,callback:p,options:_}=s;return _=Bh({passive:!0,capture:!1},_),this.for(b=>{if(!(Ce.is.element(b)||Ce.is.shadowRoot(b)))return;let{events:S}=b[Ce.expando];if(h){let T=p;p=C=>{if(C.target){if(Ce.is.string(h)){let k=C.target.closest(h);k&&(!k||T.call(k,C))}else if(Ce.is.elements(h)){for(let k of h)if(C.target==k)return T.call(k,C)}}}}if(S[c]){let T=S[c];b.removeEventListener(T.eventType,T.callback,T.options)}S[c]={eventType:d,callback:p,options:_},b.addEventListener(d,p,_)}),this})},removeEvent:function(s){return Ba(this,()=>{let d=Ce.is.array(s)?s:[s];return this.for(c=>{let{events:h}=c[Ce.expando];for(let p of d){let _=h[p];_&&c.removeEventListener(_.eventType,_.callback,_.options)}}),this})},html:function(s){return Ba(this,()=>tu(this,i(s,a(this))))},empty:function(){return Ba(this,()=>tu(this,a(this)))},append:function(s){return Ba(this,()=>{i(s,this)})},remove:function(){return Ba(this,()=>(this.for((s,d)=>{s&&Ce.is.element(s)&&(s.remove(),delete this[d])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Ba(this,()=>tu(this,l(this,"before",...s)))},after:function(...s){return Ba(this,()=>tu(this,l(this,"after",...s)))},find:function(s){return Ba(this,()=>{let d=[],c=this[0];c||tu(this,Ce()),(Ce.is.element(c)||Ce.is.shadowRoot(c))&&(Ce.is.string(s)?d=c.querySelectorAll(s):Ce.is.element(c)&&Ce(s).for(h=>{let p=c.childNodes;for(let _ of p)if(_===h){d.push(_);break}else _.childNodes.length&&(d=[...d,...Ce(_).find(h).for(b=>b)])})),tu(this,Ce(d))})},parent:function(s){return Ba(this,()=>{var d,c;let h=Ce(s?(d=this[0])==null?void 0:d.closest(s):(c=this[0])==null?void 0:c.parentNode);tu(this,h)})},children:function(s){return Ba(this,()=>{let d=this[0].children;Ce.is.exist(s)&&(s=String(s).replace(/^ : /,""),d=s=="first"?d[0]:s=="last"?d[d.length-1]:d[Number(s)]);let c=Ce(d);return tu(this,c)})},addClass:function(s){return Ba(this,()=>(s&&this.for(d=>{let c=Ce.is.string(s)?s.split(" "):s;d&&Ce.is.element(d)&&d.classList.add(...c)}),this))},removeClass:function(s){return Ba(this,()=>(s&&this.for(d=>{let c=Ce.is.string(s)?s.split(" "):s;d&&Ce.is.element(d)&&d.classList.remove(...c)}),this))},toggleClass:function(s){return Ba(this,()=>(s&&this.for(d=>{d.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let d=[];return this[0]&&(d=[...this[0].classList].filter(c=>c.match(s))),d},css:function(s){return Ba(this,()=>(this.for(d=>{if(Ce.is.element(d))for(let[c,h]of Object.entries(s)){if(Ce.is.number(h)&&c.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){d.style[c]=h+"px";continue}d.style[c]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,d){return Ba(this,()=>(this.for(c=>c.setAttribute(s,d)),this))},getStyleProperty:function(s){let d=this[0];return d&&Ce.is.element(d)?getComputedStyle(d).getPropertyValue(s):""},setStyleProperty:function(s,d){let c=this[0];return c&&Ce.is.element(c)&&c.style.setProperty(s,d),this},val:function(){var s;let d=this[0];return(d==null?void 0:d.value)||((s=d==null?void 0:d.dataset)==null?void 0:s.value)},position:function(){return Ce.is.element(this[0])?this[0].getBoundingClientRect():{}}})}{Ce.flatArray=(a,i)=>{if(!Ce.is.array(a))return[a];let l=[];for(let s of a)l.push(...i=="-R"?Ce.flatArray(s,"-R"):[s]);return l},Ce.JsonTo=a=>JSON.stringify(a),Ce.toJson=a=>{let i;try{i={ok:!0,body:JSON.parse(a)}}catch(l){i={ok:!1,body:l}}return i},Ce.scope=a=>a(),Ce.randomNumber=(a=0,i=100,l)=>{if(a>i)return NaN;let s=[],d=a;for(;d<=i;){if(l&&l.length&&l.includes(d)){d++;continue}s.push(d),d++}let c=Math.round(Math.random()*(s.length-1))+0;return s[c]};let r={};Ce.interval={standBy:(a,i,l)=>{r[a]=setTimeout(l,i)},clear:a=>{clearInterval(r[a])}}}Ce.createElement=function(r){var a;let{tag:i,className:l="",id:s,html:d,attr:c,style:h,parent:p}=r,_=document.createElement(i||"div");if(l&&_.classList.add(...l.split(" ")),s&&(_.id=s),c)for(let T of Object.entries(c)){let C=T[0],k=(a=T[1])!=null?a:"";if(C=="data"&&Ce.is.keyValueDictionary(k))for(let[D,A]of Object.entries(k))_.dataset[D]=A;else C=="for"?C="htmlFor":C=="tabindex"?C="tabIndex":C=="aria-label"&&(C="ariaLabel"),_[C]=k}if(d&&Ce(_).append(d),h)for(var[b,S]of Object.entries(h))_.style[b]=S;return p&&Ce(p).append(_),_},Ce.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:i,value:l="",age:s=60*60*24*365,path:d="/",domain:c=a,secure:h=!1}=r,p=`${i}=${l}max-age=${s}path=${d}domain=${c}`;h&&(p+=" Secure"),document.cookie=p},Ce.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""},Ce.setLocalStrageData=(r,a)=>{localStorage.setItem(r,JSON.stringify(a))},Ce.getLocalStrageData=r=>{let a=localStorage.getItem(r),i=Ce.toJson(a);return i.ok?i.body:a},Ce.deleteCookie=r=>{document.cookie=r+"=max-age=0"},Ce.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:i,scrollX:l,pageXOffset:s,pageYOffset:d}=window,c=Number(Ce(document.body).getStyleProperty("--sat").removeLetters()),h=Number(Ce(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-c-h,scrollY:i,scrollX:l,pageXOffset:s,pageYOffset:d,safeAreaTop:c,safeAreaBottom:h}},Ce.getCursor=r=>{var a,i,l,s,d,c,h,p;let _=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((i=r==null?void 0:r.originalEvent)==null?void 0:i.touches)||[])[0].pageX,b=(p=r.pageY)!=null?p:(h=(d=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:d.pageY)!=null?h:(((c=r==null?void 0:r.originalEvent)==null?void 0:c.touches)||[])[0].pageY;return{x:_,y:b}},Ce.pending=(r,a)=>new Promise((i,l)=>{r(i),setTimeout(()=>{i(!0)},a)}),Ce.getLocalIP=r=>{let a="";return Ce.scope(()=>{if(!r)return;let i=r.networkInterfaces();for(let[l,s]of Object.entries(i))s.forEach(d=>{!d.internal&&d.family==="IPv4"&&!d.address.match(/^(169|127)/)&&(a=d.address)})}),a},Ce.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]||"IP UNDEFINED"},Ce.deepMerge=(r,...a)=>{if(!a.length)return r;let i=a.shift();if(Ce.is.keyValueDictionary(r)&&Ce.is.keyValueDictionary(i))for(let l in i)Ce.is.keyValueDictionary(i[l])?(r[l]||Object.assign(r,{[l]:{}}),Ce.deepMerge(r[l],i[l])):Object.assign(r,{[l]:i[l]});return Ce.deepMerge(r,...a)},Ce.queryParams={get:r=>{let a=new URL(r||location.href),i={};return a.searchParams.forEach((l,s)=>i[s]=l),i},set:(r,a)=>{let i=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{i.searchParams.set(l,String(s))}),a||history.replaceState({},"",i.pathname+i.search),i.toString()},delete:(r,a)=>{let i=new URL(a||location.href);return r.forEach(l=>{i.searchParams.delete(l)}),a||history.replaceState({},"",i.pathname+i.search),i.toString()}},Ce.ellipsisText=(r,a)=>{let i=String(r);return i.length>a&&(i=i.slice(0,a)+" ..."),i},Ce.is={what:function(r){let a="other";return this.jsmin(r)?a="jsmin":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)},jsmin:function(r){return(r||{}).constructor===Ce},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jsmin(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),i=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(i&&a!=="[object NodeList]")for(var l of r)i&=Number(this.element(l));return!!i},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}}}),bW=pW(r=>{"use strict";zh(),Ce.copyToClipboard=a=>$l(r,null,function*(){let i="";Ce.is.string(a)?i=a:Ce.is.function(a)&&(i=a());let l={ok:!1,body:"NotSupported"};return yield $l(r,null,function*(){let s;if(navigator.clipboard){if(s=yield navigator.clipboard.writeText(i).then(()=>!0,()=>!1),!s)return}else{let d=document.createElement("input");if(Ce(document.body).append(d),d.value=i,d.select(),s=document.execCommand("copy"),document.body.removeChild(d),!s)return}l={ok:!0,body:""}}),l}),Ce.getCurrentLocation=()=>new Promise((a,i)=>{navigator.geolocation.getCurrentPosition(l=>{let{latitude:s,longitude:d}=l.coords;a({ok:!0,status:200,body:{lat:s,lng:d}})},l=>{a({ok:!1,status:500,body:{reason:l}})})}),Ce.ImageLoader=(a,i)=>new Promise((l,s)=>{let d=i||new Image;d.onload=()=>l(d),d.onerror=c=>s(c),d.src=a})}),nE={};hW(nE,{Fetcher:()=>Vr,Time:()=>Oa,default:()=>SW});oE.exports=vW(nE);aE();zh();zh();var yW=r=>new Oa.prototype.time(r),Oa=yW;Oa.prototype={};var ru=function(r,a){r.value=a;let i=Ce.is.date(a);if(r.validate=i,!i)return r.ms=-1,r.year=-1,r.month=-1,r.weekday=-1,r.weekInYear=-1,r.date=-1,r.hours=-1,r.minutes=-1,r.seconds=-1,r;r.ms=a.getTime(),r.weekday=a.getDay(),r.year=a.getFullYear(),r.month=a.getMonth()+1,r.date=a.getDate();{let l=new Date(r.year,0,1),s=new Date(l.valueOf());s.setDate(s.getDate()-(l.getDay()+1));let d=a.getTime()-s.getTime(),c=Math.ceil(d/(1e3*60*60*24));r.weekInYear=Math.ceil(c/7)}{let l=new Date(r.year,r.month-1,1),s=new Date(l.valueOf());s.setDate(s.getDate()-(l.getDay()+1));let d=a.getTime()-s.getTime(),c=Math.ceil(d/(1e3*60*60*24)),h=Math.ceil(c/7);r.weekInMonth=h}{let l=new Date(r.year,r.month,0),s=l.getDay(),d=new Date(new Date(l).setDate(l.getDate()-s));r.isLastWeekInMonth=r.date>=d.getDate()}return r.hours=a.getHours(),r.minutes=a.getMinutes(),r.seconds=a.getSeconds(),r};Ce.extend({constructor:Oa,time:function(r){Oa.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return ru(this,a)}},Oa);Oa.prototype.time.prototype=Oa.prototype;Oa.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Oa};Oa.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Oa(a+" 00:00")};Oa.getPeriodArray=(r,a,i)=>{let l=[],s=a;if(!a.validate||!i.validate)return l;for(;s.toFormatYMDHMS().toNumber()<=i.toFormatYMDHMS().toNumber();)l.push(s),r=="year"?s=Oa(s).addYear(1):r=="month"?s=Oa(s).addMonth(1):r=="week"?s=Oa(s).addWeek(1):r=="day"?s=Oa(s).addDate(1):r=="hours"?s=Oa(s).addHours(1):r=="minutes"?s=Oa(s).addMinutes(1):r=="seconds"&&(s=Oa(s).addSeconds(1));return l};Ce.extend({setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),ru(this,a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),ru(this,a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),ru(this,a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),ru(this,a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),ru(this,a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),ru(this,a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),ru(this,a)},setMidnight:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),ru(this,r)},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)},isSameYear:function(r){let a=Ce.Time(r);return this.year==a.year},isSameMonth:function(r){let a=Ce.Time(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Ce.Time(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Ce.Time(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},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"):""},getFirstDayOfTheYear:function(){return Ce.Time(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Ce.Time(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Ce.Time(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Ce.Time(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Ce.Time(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Ce.Time(this.value);return r.addDate(6-r.weekday)},diff:function(r){let a=this.ms-r.ms;return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Math.floor(a/(60*60*24*1e3)),hours:Math.floor(a/(60*60*1e3)),minutes:Math.floor(a/(60*1e3)),seconds:Math.floor(a/1e3)}},getAge:function(r){let a=r||Ce.Time(),i=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&i--,i}},Oa);Ce.Time=Oa;zh();var Vr=(r,a)=>new Vr.prototype.instance(r,a);Vr.prototype={};Vr.waitList=[];Vr.setDefaultTrafficControl=0;Vr.setDefaultTimeout=1e3*60*10;Vr.isReadableStream=r=>r instanceof ReadableStream;Vr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Vr.streamToContext=(r,a)=>$l(void 0,null,function*(){try{let i=(a==null?void 0:a.reader)||r.getReader();if(!Vr.isReadableStreamReader(i))return{ok:!1,done:!0,data:null};if(!i)return{ok:!1,done:!0,data:null};let l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield i.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(i){return{ok:!1,done:!0,data:i}}});Ce.extend({constructor:Vr,instance:function(r,a){var i;a=a||{};let l=a.body;a.body&&!Ce.is.string(a.body)&&((i=a.bodyStringify)==null||i)&&(l=JSON.stringify(a.body||{}));let s=r;return Ce.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=dW(Bh({key:Ce.uuid.gen(16),response_format:"json",timeout:Vr.setDefaultTimeout,trafficControl:Vr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:Bh(Bh({"Content-Type":"application/json"},Vr.setDefaultHeaders&&Vr.setDefaultHeaders()),a.headers),body:l}),this},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 $l(this,null,function*(){let{response:a,errorCB:i,streamCB:l,reader:s,decoder:d}=r,c=a.body,h=this,p=function(){return gW(this,null,function*(){if(!a.ok){Ce.scope(()=>$l(this,null,function*(){let{ok:k,done:D,data:A}=yield Vr.streamToContext(c,{reader:s,decoder:d});k&&i(A)}));return}let C=!1;for(;!C;){let{ok:k,done:D,data:A}=yield new rE(Vr.streamToContext(c,{reader:s,decoder:d}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),D=!0):h.streamStatus=="closed"&&(D=!0),D&&(C=D,s.releaseLock()),l(A,D)}})};try{for(var _=_W(p()),b,S,T;b=!(S=yield _.next()).done;b=!1){let C=S.value}}catch(C){T=[C]}finally{try{b&&(S=_.return)&&(yield S.call(_))}finally{if(T)throw T[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 $l(this,null,function*(){var r;let a=this.params,i=performance.now(),l=0,s=new AbortController,d=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let c=!1,h=500,p="InternalServerError",_={},b=null;try{Vr.setDefaultOnStart&&Vr.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let T=a,{key:C,response_format:k,trafficControl:D,preventMultiRequest:A,timeout:q,queries:I}=T,$=fW(T,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);$.method=this.method;let F=Vr.waitList.includes(C);if(A&&F)throw h=429,new Error("TooManyRequests");Vr.waitList=[...Vr.waitList,C];let W=Ce.queryParams.set(Bh({},I),String(this.url));_=yield fetch(W,$).then(P=>$l(this,null,function*(){return c=P.ok,h=P.status,p=P.statusText,b=P,k=="none"||k=="stream"?P:P[k]()})).catch(P=>{throw new Error(P)})}catch(T){h==200&&(h=500,c=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(T)||p),_={errorCode:String(T)}}finally{clearTimeout(d),l=performance.now()-i}a.trafficControl&&(yield Ce.pending(()=>{},a.trafficControl)),setTimeout(()=>{Vr.waitList.splice(Vr.waitList.findIndex(T=>T==a.key),1)},100);let S={ok:c,status:h,statusText:p,body:_,requestTime:l,rawData:b};if(!c&&this.onErrorCB&&this.onErrorCB(S.body),c&&this.onStreamCB&&a.response_format=="stream"){let T=(r=b.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:S,reader:T,decoder:new TextDecoder("utf-8")})}return c&&this.onCompleteCB&&this.onCompleteCB(S.body),this.onResultCB&&this.onResultCB(S,a),Vr.setDefaultOnEnd&&Vr.setDefaultOnEnd(S,a),S})},abortStream:function(){this.streamStatus="abort"}},Vr);Vr.prototype.instance.prototype=Vr.prototype;zh();Ce.formatCharacter={postal:{JP:r=>{let a="--";return r=String(r).replace(/\D/ig,""),r.length==7&&(a=r.replace(/^(\d{3})(.*)/,"$1-$2")),a}},tel:{_:r=>{let a=r;return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a},mobile:r=>{let a="--";return r=String(r).removeLetters(),r.length==11&&(a=r.replace(/^(\d{3})(\d{4})(\d{4})/,"$1-$2-$3")),a},fixed:r=>{let a="--";return r=String(r).removeLetters(),r.length==10&&(a=r.replace(/^(\d{2})(\d{4})(\d{4})/,"$1-$2-$3")),a}}};Ce.transformer={weekday:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],i=[],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:d,To:c,name:h}=s;if(d<=r&&r<=c){let p=r-d+1;p==1&&(l=!0,p="\u5143"),i.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:i,gap:l}}};var XG=mW(bW());Vr.setDefaultHeaders=()=>({});var SW=Ce});var fE=qe(Ig=>{"use strict";(function(){"use strict";var r=er(),a=Symbol.for("react.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),k=Symbol.iterator,D="@@iterator";function A(L){if(L===null||typeof L!="object")return null;var Y=k&&L[k]||L[D];return typeof Y=="function"?Y:null}var q=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function I(L){{for(var Y=arguments.length,ge=new Array(Y>1?Y-1:0),Ee=1;Ee<Y;Ee++)ge[Ee-1]=arguments[Ee];$("error",L,ge)}}function $(L,Y,ge){{var Ee=q.ReactDebugCurrentFrame,Ve=Ee.getStackAddendum();Ve!==""&&(Y+="%s",ge=ge.concat([Ve]));var ft=ge.map(function(et){return String(et)});ft.unshift("Warning: "+Y),Function.prototype.apply.call(console[L],console,ft)}}var F=!1,W=!1,P=!1,oe=!1,be=!1,Q;Q=Symbol.for("react.module.reference");function he(L){return!!(typeof L=="string"||typeof L=="function"||L===l||L===d||be||L===s||L===_||L===b||oe||L===C||F||W||P||typeof L=="object"&&L!==null&&(L.$$typeof===T||L.$$typeof===S||L.$$typeof===c||L.$$typeof===h||L.$$typeof===p||L.$$typeof===Q||L.getModuleId!==void 0))}function le(L,Y,ge){var Ee=L.displayName;if(Ee)return Ee;var Ve=Y.displayName||Y.name||"";return Ve!==""?ge+"("+Ve+")":ge}function we(L){return L.displayName||"Context"}function V(L){if(L==null)return null;if(typeof L.tag=="number"&&I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof L=="function")return L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case l:return"Fragment";case i:return"Portal";case d:return"Profiler";case s:return"StrictMode";case _:return"Suspense";case b:return"SuspenseList"}if(typeof L=="object")switch(L.$$typeof){case h:var Y=L;return we(Y)+".Consumer";case c:var ge=L;return we(ge._context)+".Provider";case p:return le(L,L.render,"ForwardRef");case S:var Ee=L.displayName||null;return Ee!==null?Ee:V(L.type)||"Memo";case T:{var Ve=L,ft=Ve._payload,et=Ve._init;try{return V(et(ft))}catch(Je){return null}}}return null}var re=Object.assign,ue=0,z,ee,te,se,me,De,Ae;function Oe(){}Oe.__reactDisabledLog=!0;function je(){{if(ue===0){z=console.log,ee=console.info,te=console.warn,se=console.error,me=console.group,De=console.groupCollapsed,Ae=console.groupEnd;var L={configurable:!0,enumerable:!0,value:Oe,writable:!0};Object.defineProperties(console,{info:L,log:L,warn:L,error:L,group:L,groupCollapsed:L,groupEnd:L})}ue++}}function Xe(){{if(ue--,ue===0){var L={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},L,{value:z}),info:re({},L,{value:ee}),warn:re({},L,{value:te}),error:re({},L,{value:se}),group:re({},L,{value:me}),groupCollapsed:re({},L,{value:De}),groupEnd:re({},L,{value:Ae})})}ue<0&&I("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var st=q.ReactCurrentDispatcher,Ot;function vt(L,Y,ge){{if(Ot===void 0)try{throw Error()}catch(Ve){var Ee=Ve.stack.trim().match(/\n( *(at )?)/);Ot=Ee&&Ee[1]||""}return`
|
|
149
|
+
`+('Please change the parent <Route path="'+Ie+'"> to <Route ')+('path="'+(Ie==="/"?"*":Ie+"/*")+'">.'))}let Ne=D(),Ze;if(ae){var M;let Ie=typeof ae=="string"?i.parsePath(ae):ae;ze==="/"||(M=Ie.pathname)!=null&&M.startsWith(ze)||i.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 "'+ze+'" ')+('but pathname "'+Ie.pathname+'" was given in the `location` prop.')),Ze=Ie}else Ze=Ne;let U=Ze.pathname||"/",ne=U;if(ze!=="/"){let Ie=ze.replace(/^\//,"").split("/");ne="/"+U.replace(/^\//,"").split("/").slice(Ie.length).join("/")}let de=i.matchRoutes(G,{pathname:ne});i.UNSAFE_warning(Ye||de!=null,'No routes matched location "'+Ze.pathname+Ze.search+Ze.hash+'" '),i.UNSAFE_warning(de==null||de[de.length-1].route.element!==void 0||de[de.length-1].route.Component!==void 0||de[de.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Ze.pathname+Ze.search+Ze.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 We=ee(de&&de.map(Ie=>Object.assign({},Ie,{params:Object.assign({},Be,Ie.params),pathname:i.joinPaths([ze,J.encodeLocation?J.encodeLocation(Ie.pathname).pathname:Ie.pathname]),pathnameBase:Ie.pathnameBase==="/"?ze:i.joinPaths([ze,J.encodeLocation?J.encodeLocation(Ie.pathnameBase).pathname:Ie.pathnameBase])})),ve,B,H);return ae&&We?s.createElement(b.Provider,{value:{location:d({pathname:"/",search:"",hash:"",state:null,key:"default"},Ze),navigationType:i.Action.Pop}},We):We}function V(){let G=Ue(),ae=i.isRouteErrorResponse(G)?G.status+" "+G.statusText:G instanceof Error?G.message:JSON.stringify(G),B=G instanceof Error?G.stack:null,H="rgba(200,200,200, 0.5)",J={padding:"0.5rem",backgroundColor:H},ve={padding:"2px 4px",backgroundColor:H},ce=null;return console.error("Error handled by React Router default ErrorBoundary:",G),ce=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:ve},"ErrorBoundary")," or"," ",s.createElement("code",{style:ve},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},ae),B?s.createElement("pre",{style:J},B):null,ce)}let re=s.createElement(V,null);class ue extends s.Component{constructor(ae){super(ae),this.state={location:ae.location,revalidation:ae.revalidation,error:ae.error}}static getDerivedStateFromError(ae){return{error:ae}}static getDerivedStateFromProps(ae,B){return B.location!==ae.location||B.revalidation!=="idle"&&ae.revalidation==="idle"?{error:ae.error,location:ae.location,revalidation:ae.revalidation}:{error:ae.error!==void 0?ae.error:B.error,location:B.location,revalidation:ae.revalidation||B.revalidation}}componentDidCatch(ae,B){console.error("React Router caught the following error during render",ae,B)}render(){return this.state.error!==void 0?s.createElement(S.Provider,{value:this.props.routeContext},s.createElement(T.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z(G){let{routeContext:ae,match:B,children:H}=G,J=s.useContext(c);return J&&J.static&&J.staticContext&&(B.route.errorElement||B.route.ErrorBoundary)&&(J.staticContext._deepestRenderedBoundaryId=B.route.id),s.createElement(S.Provider,{value:ae},H)}function ee(G,ae,B,H){var J;if(ae===void 0&&(ae=[]),B===void 0&&(B=null),H===void 0&&(H=null),G==null){var ve;if(!B)return null;if(B.errors)G=B.matches;else if((ve=H)!=null&&ve.v7_partialHydration&&ae.length===0&&!B.initialized&&B.matches.length>0)G=B.matches;else return null}let ce=G,Be=(J=B)==null?void 0:J.errors;if(Be!=null){let Ye=ce.findIndex(Ne=>Ne.route.id&&(Be==null?void 0:Be[Ne.route.id])!==void 0);Ye>=0||i.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Be).join(",")),ce=ce.slice(0,Math.min(ce.length,Ye+1))}let Pe=!1,ze=-1;if(B&&H&&H.v7_partialHydration)for(let Ye=0;Ye<ce.length;Ye++){let Ne=ce[Ye];if((Ne.route.HydrateFallback||Ne.route.hydrateFallbackElement)&&(ze=Ye),Ne.route.id){let{loaderData:Ze,errors:M}=B,U=Ne.route.loader&&Ze[Ne.route.id]===void 0&&(!M||M[Ne.route.id]===void 0);if(Ne.route.lazy||U){Pe=!0,ze>=0?ce=ce.slice(0,ze+1):ce=[ce[0]];break}}}return ce.reduceRight((Ye,Ne,Ze)=>{let M,U=!1,ne=null,de=null;B&&(M=Be&&Ne.route.id?Be[Ne.route.id]:void 0,ne=Ne.route.errorElement||re,Pe&&(ze<0&&Ze===0?(ta("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),U=!0,de=null):ze===Ze&&(U=!0,de=Ne.route.hydrateFallbackElement||null)));let We=ae.concat(ce.slice(0,Ze+1)),Ie=()=>{let L;return M?L=ne:U?L=de:Ne.route.Component?L=s.createElement(Ne.route.Component,null):Ne.route.element?L=Ne.route.element:L=Ye,s.createElement(z,{match:Ne,routeContext:{outlet:Ye,matches:We,isDataRoute:B!=null},children:L})};return B&&(Ne.route.ErrorBoundary||Ne.route.errorElement||Ze===0)?s.createElement(ue,{location:B.location,revalidation:B.revalidation,component:ne,error:M,children:Ie(),routeContext:{outlet:null,matches:We,isDataRoute:!0}}):Ie()},null)}var te=function(G){return G.UseBlocker="useBlocker",G.UseRevalidator="useRevalidator",G.UseNavigateStable="useNavigate",G}(te||{}),se=function(G){return G.UseBlocker="useBlocker",G.UseLoaderData="useLoaderData",G.UseActionData="useActionData",G.UseRouteError="useRouteError",G.UseNavigation="useNavigation",G.UseRouteLoaderData="useRouteLoaderData",G.UseMatches="useMatches",G.UseRevalidator="useRevalidator",G.UseNavigateStable="useNavigate",G.UseRouteId="useRouteId",G}(se||{});function me(G){return G+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function De(G){let ae=s.useContext(c);return ae||i.UNSAFE_invariant(!1,me(G)),ae}function Ae(G){let ae=s.useContext(h);return ae||i.UNSAFE_invariant(!1,me(G)),ae}function Oe(G){let ae=s.useContext(S);return ae||i.UNSAFE_invariant(!1,me(G)),ae}function je(G){let ae=Oe(G),B=ae.matches[ae.matches.length-1];return B.route.id||i.UNSAFE_invariant(!1,G+' can only be used on routes that contain a unique "id"'),B.route.id}function Xe(){return je(se.UseRouteId)}function st(){return Ae(se.UseNavigation).navigation}function Ot(){let G=De(te.UseRevalidator),ae=Ae(se.UseRevalidator);return s.useMemo(()=>({revalidate:G.router.revalidate,state:ae.revalidation}),[G.router.revalidate,ae.revalidation])}function vt(){let{matches:G,loaderData:ae}=Ae(se.UseMatches);return s.useMemo(()=>G.map(B=>i.UNSAFE_convertRouteMatchToUiMatch(B,ae)),[G,ae])}function Kt(){let G=Ae(se.UseLoaderData),ae=je(se.UseLoaderData);if(G.errors&&G.errors[ae]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+ae+")");return}return G.loaderData[ae]}function nr(G){return Ae(se.UseRouteLoaderData).loaderData[G]}function or(){let G=Ae(se.UseActionData),ae=je(se.UseLoaderData);return G.actionData?G.actionData[ae]:void 0}function Ue(){var G;let ae=s.useContext(T),B=Ae(se.UseRouteError),H=je(se.UseRouteError);return ae!==void 0?ae:(G=B.errors)==null?void 0:G[H]}function ar(){let G=s.useContext(p);return G==null?void 0:G._data}function ur(){let G=s.useContext(p);return G==null?void 0:G._error}let cr=0;function sr(G){let{router:ae,basename:B}=De(te.UseBlocker),H=Ae(se.UseBlocker),[J,ve]=s.useState(""),ce=s.useCallback(Be=>{if(typeof G!="function")return!!G;if(B==="/")return G(Be);let{currentLocation:Pe,nextLocation:ze,historyAction:Ye}=Be;return G({currentLocation:d({},Pe,{pathname:i.stripBasename(Pe.pathname,B)||Pe.pathname}),nextLocation:d({},ze,{pathname:i.stripBasename(ze.pathname,B)||ze.pathname}),historyAction:Ye})},[B,G]);return s.useEffect(()=>{let Be=String(++cr);return ve(Be),()=>ae.deleteBlocker(Be)},[ae]),s.useEffect(()=>{J!==""&&ae.getBlocker(J,ce)},[ae,J,ce]),J&&H.blockers.has(J)?H.blockers.get(J):i.IDLE_BLOCKER}function Er(){let{router:G}=De(te.UseNavigateStable),ae=je(se.UseNavigateStable),B=s.useRef(!1);return $(()=>{B.current=!0}),s.useCallback(function(J,ve){ve===void 0&&(ve={}),i.UNSAFE_warning(B.current,I),B.current&&(typeof J=="number"?G.navigate(J):G.navigate(J,d({fromRouteId:ae},ve)))},[G,ae])}let kr={};function ta(G,ae,B){!ae&&!kr[G]&&(kr[G]=!0,i.UNSAFE_warning(!1,B))}let xa=s["startTransition"];function Ra(G){let{fallbackElement:ae,router:B,future:H}=G,[J,ve]=s.useState(B.state),{v7_startTransition:ce}=H||{},Be=s.useCallback(Ne=>{ce&&xa?xa(()=>ve(Ne)):ve(Ne)},[ve,ce]);s.useLayoutEffect(()=>B.subscribe(Be),[B,Be]),s.useEffect(()=>{i.UNSAFE_warning(ae==null||!B.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Pe=s.useMemo(()=>({createHref:B.createHref,encodeLocation:B.encodeLocation,go:Ne=>B.navigate(Ne),push:(Ne,Ze,M)=>B.navigate(Ne,{state:Ze,preventScrollReset:M==null?void 0:M.preventScrollReset}),replace:(Ne,Ze,M)=>B.navigate(Ne,{replace:!0,state:Ze,preventScrollReset:M==null?void 0:M.preventScrollReset})}),[B]),ze=B.basename||"/",Ye=s.useMemo(()=>({router:B,navigator:Pe,static:!1,basename:ze}),[B,Pe,ze]);return s.createElement(s.Fragment,null,s.createElement(c.Provider,{value:Ye},s.createElement(h.Provider,{value:J},s.createElement(Mr,{basename:ze,location:J.location,navigationType:J.historyAction,navigator:Pe,future:{v7_relativeSplatPath:B.future.v7_relativeSplatPath}},J.initialized||B.future.v7_partialHydration?s.createElement(Kr,{routes:B.routes,future:B.future,state:J}):ae))),null)}function Kr(G){let{routes:ae,future:B,state:H}=G;return Ce(ae,void 0,H,B)}function ra(G){let{basename:ae,children:B,initialEntries:H,initialIndex:J,future:ve}=G,ce=s.useRef();ce.current==null&&(ce.current=i.createMemoryHistory({initialEntries:H,initialIndex:J,v5Compat:!0}));let Be=ce.current,[Pe,ze]=s.useState({action:Be.action,location:Be.location}),{v7_startTransition:Ye}=ve||{},Ne=s.useCallback(Ze=>{Ye&&xa?xa(()=>ze(Ze)):ze(Ze)},[ze,Ye]);return s.useLayoutEffect(()=>Be.listen(Ne),[Be,Ne]),s.createElement(Mr,{basename:ae,children:B,location:Pe.location,navigationType:Pe.action,navigator:Be,future:ve})}function $r(G){let{to:ae,replace:B,state:H,relative:J}=G;k()||i.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:ve,static:ce}=s.useContext(_);i.UNSAFE_warning(!ce,"<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:Be}=s.useContext(S),{pathname:Pe}=D(),ze=F(),Ye=i.resolveTo(ae,i.UNSAFE_getResolveToMatches(Be,ve.v7_relativeSplatPath),Pe,J==="path"),Ne=JSON.stringify(Ye);return s.useEffect(()=>ze(JSON.parse(Ne),{replace:B,state:H,relative:J}),[ze,Ne,J,B,H]),null}function Da(G){return be(G.context)}function Rr(G){i.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(G){let{basename:ae="/",children:B=null,location:H,navigationType:J=i.Action.Pop,navigator:ve,static:ce=!1,future:Be}=G;k()&&i.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Pe=ae.replace(/^\/*/,"/"),ze=s.useMemo(()=>({basename:Pe,navigator:ve,static:ce,future:d({v7_relativeSplatPath:!1},Be)}),[Pe,Be,ve,ce]);typeof H=="string"&&(H=i.parsePath(H));let{pathname:Ye="/",search:Ne="",hash:Ze="",state:M=null,key:U="default"}=H,ne=s.useMemo(()=>{let de=i.stripBasename(Ye,Pe);return de==null?null:{location:{pathname:de,search:Ne,hash:Ze,state:M,key:U},navigationType:J}},[Pe,Ye,Ne,Ze,M,U,J]);return i.UNSAFE_warning(ne!=null,'<Router basename="'+Pe+'"> is not able to match the URL '+('"'+Ye+Ne+Ze+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ne==null?null:s.createElement(_.Provider,{value:ze},s.createElement(b.Provider,{children:B,value:ne}))}function Gr(G){let{children:ae,location:B}=G;return le($t(ae),B)}function Ma(G){let{children:ae,errorElement:B,resolve:H}=G;return s.createElement(St,{resolve:H,errorElement:B},s.createElement(Xt,null,ae))}var Fe=function(G){return G[G.pending=0]="pending",G[G.success=1]="success",G[G.error=2]="error",G}(Fe||{});let pt=new Promise(()=>{});class St extends s.Component{constructor(ae){super(ae),this.state={error:null}}static getDerivedStateFromError(ae){return{error:ae}}componentDidCatch(ae,B){console.error("<Await> caught the following error during render",ae,B)}render(){let{children:ae,errorElement:B,resolve:H}=this.props,J=null,ve=Fe.pending;if(!(H instanceof Promise))ve=Fe.success,J=Promise.resolve(),Object.defineProperty(J,"_tracked",{get:()=>!0}),Object.defineProperty(J,"_data",{get:()=>H});else if(this.state.error){ve=Fe.error;let ce=this.state.error;J=Promise.reject().catch(()=>{}),Object.defineProperty(J,"_tracked",{get:()=>!0}),Object.defineProperty(J,"_error",{get:()=>ce})}else H._tracked?(J=H,ve="_error"in J?Fe.error:"_data"in J?Fe.success:Fe.pending):(ve=Fe.pending,Object.defineProperty(H,"_tracked",{get:()=>!0}),J=H.then(ce=>Object.defineProperty(H,"_data",{get:()=>ce}),ce=>Object.defineProperty(H,"_error",{get:()=>ce})));if(ve===Fe.error&&J._error instanceof i.AbortedDeferredError)throw pt;if(ve===Fe.error&&!B)throw J._error;if(ve===Fe.error)return s.createElement(p.Provider,{value:J,children:B});if(ve===Fe.success)return s.createElement(p.Provider,{value:J,children:ae});throw J}}function Xt(G){let{children:ae}=G,B=ar(),H=typeof ae=="function"?ae(B):ae;return s.createElement(s.Fragment,null,H)}function $t(G,ae){ae===void 0&&(ae=[]);let B=[];return s.Children.forEach(G,(H,J)=>{if(!s.isValidElement(H))return;let ve=[...ae,J];if(H.type===s.Fragment){B.push.apply(B,$t(H.props.children,ve));return}H.type!==Rr&&i.UNSAFE_invariant(!1,"["+(typeof H.type=="string"?H.type:H.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!H.props.index||!H.props.children||i.UNSAFE_invariant(!1,"An index route cannot have child routes.");let ce={id:H.props.id||ve.join("-"),caseSensitive:H.props.caseSensitive,element:H.props.element,Component:H.props.Component,index:H.props.index,path:H.props.path,loader:H.props.loader,action:H.props.action,errorElement:H.props.errorElement,ErrorBoundary:H.props.ErrorBoundary,hasErrorBoundary:H.props.ErrorBoundary!=null||H.props.errorElement!=null,shouldRevalidate:H.props.shouldRevalidate,handle:H.props.handle,lazy:H.props.lazy};H.props.children&&(ce.children=$t(H.props.children,ve)),B.push(ce)}),B}function Nr(G){return ee(G)}function yr(G){let ae={hasErrorBoundary:G.ErrorBoundary!=null||G.errorElement!=null};return G.Component&&(G.element&&i.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(ae,{element:s.createElement(G.Component),Component:void 0})),G.HydrateFallback&&(G.hydrateFallbackElement&&i.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(ae,{hydrateFallbackElement:s.createElement(G.HydrateFallback),HydrateFallback:void 0})),G.ErrorBoundary&&(G.errorElement&&i.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(ae,{errorElement:s.createElement(G.ErrorBoundary),ErrorBoundary:void 0})),ae}function ca(G,ae){return i.createRouter({basename:ae==null?void 0:ae.basename,future:d({},ae==null?void 0:ae.future,{v7_prependBasename:!0}),history:i.createMemoryHistory({initialEntries:ae==null?void 0:ae.initialEntries,initialIndex:ae==null?void 0:ae.initialIndex}),hydrationData:ae==null?void 0:ae.hydrationData,routes:G,mapRouteProperties:yr,unstable_dataStrategy:ae==null?void 0:ae.unstable_dataStrategy,unstable_patchRoutesOnMiss:ae==null?void 0:ae.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return i.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return i.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return i.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return i.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return i.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return i.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return i.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return i.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return i.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return i.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return i.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return i.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return i.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return i.resolvePath}}),r.Await=Ma,r.MemoryRouter=ra,r.Navigate=$r,r.Outlet=Da,r.Route=Rr,r.Router=Mr,r.RouterProvider=Ra,r.Routes=Gr,r.UNSAFE_DataRouterContext=c,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=b,r.UNSAFE_NavigationContext=_,r.UNSAFE_RouteContext=S,r.UNSAFE_mapRouteProperties=yr,r.UNSAFE_useRouteId=Xe,r.UNSAFE_useRoutesImpl=Ce,r.createMemoryRouter=ca,r.createRoutesFromChildren=$t,r.createRoutesFromElements=$t,r.renderMatches=Nr,r.useActionData=or,r.useAsyncError=ur,r.useAsyncValue=ar,r.useBlocker=sr,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=Kt,r.useLocation=D,r.useMatch=q,r.useMatches=vt,r.useNavigate=F,r.useNavigation=st,r.useNavigationType=A,r.useOutlet=be,r.useOutletContext=oe,r.useParams=Q,r.useResolvedPath=he,r.useRevalidator=Ot,r.useRouteError=Ue,r.useRouteLoaderData=nr,r.useRoutes=le,Object.defineProperty(r,"__esModule",{value:!0})})});var Y5=qe((GG,W5)=>{"use strict";W5.exports=V5()});var G5=qe((Lg,$5)=>{(function(r,a){typeof Lg=="object"&&typeof $5!="undefined"?a(Lg,er(),P0(),Y5(),X0()):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))})(Lg,function(r,a,i,l,s){"use strict";function d(B){if(B&&B.__esModule)return B;var H=Object.create(null);return B&&Object.keys(B).forEach(function(J){if(J!=="default"){var ve=Object.getOwnPropertyDescriptor(B,J);Object.defineProperty(H,J,ve.get?ve:{enumerable:!0,get:function(){return B[J]}})}}),H.default=B,Object.freeze(H)}var c=d(a),h=d(i);function p(){return p=Object.assign?Object.assign.bind():function(B){for(var H=1;H<arguments.length;H++){var J=arguments[H];for(var ve in J)Object.prototype.hasOwnProperty.call(J,ve)&&(B[ve]=J[ve])}return B},p.apply(this,arguments)}function _(B,H){if(B==null)return{};var J={},ve=Object.keys(B),ce,Be;for(Be=0;Be<ve.length;Be++)ce=ve[Be],!(H.indexOf(ce)>=0)&&(J[ce]=B[ce]);return J}let b="get",S="application/x-www-form-urlencoded";function T(B){return B!=null&&typeof B.tagName=="string"}function w(B){return T(B)&&B.tagName.toLowerCase()==="button"}function k(B){return T(B)&&B.tagName.toLowerCase()==="form"}function D(B){return T(B)&&B.tagName.toLowerCase()==="input"}function A(B){return!!(B.metaKey||B.altKey||B.ctrlKey||B.shiftKey)}function q(B,H){return B.button===0&&(!H||H==="_self")&&!A(B)}function I(B){return B===void 0&&(B=""),new URLSearchParams(typeof B=="string"||Array.isArray(B)||B instanceof URLSearchParams?B:Object.keys(B).reduce((H,J)=>{let ve=B[J];return H.concat(Array.isArray(ve)?ve.map(ce=>[J,ce]):[[J,ve]])},[]))}function $(B,H){let J=I(B);return H&&H.forEach((ve,ce)=>{J.has(ce)||H.getAll(ce).forEach(Be=>{J.append(ce,Be)})}),J}let F=null;function W(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(B){F=!0}return F}let P=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function oe(B){return B!=null&&!P.has(B)?(s.UNSAFE_warning(!1,'"'+B+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+S+'"')),null):B}function be(B,H){let J,ve,ce,Be,Pe;if(k(B)){let ze=B.getAttribute("action");ve=ze?s.stripBasename(ze,H):null,J=B.getAttribute("method")||b,ce=oe(B.getAttribute("enctype"))||S,Be=new FormData(B)}else if(w(B)||D(B)&&(B.type==="submit"||B.type==="image")){let ze=B.form;if(ze==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Ye=B.getAttribute("formaction")||ze.getAttribute("action");if(ve=Ye?s.stripBasename(Ye,H):null,J=B.getAttribute("formmethod")||ze.getAttribute("method")||b,ce=oe(B.getAttribute("formenctype"))||oe(ze.getAttribute("enctype"))||S,Be=new FormData(ze,B),!W()){let{name:Ne,type:Ze,value:M}=B;if(Ze==="image"){let U=Ne?Ne+".":"";Be.append(U+"x","0"),Be.append(U+"y","0")}else Ne&&Be.append(Ne,M)}}else{if(T(B))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');J=b,ve=null,ce=S,Pe=B}return Be&&ce==="text/plain"&&(Pe=Be,Be=void 0),{action:ve,method:J.toLowerCase(),encType:ce,formData:Be,body:Pe}}let Q=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],he=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],le=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],Ce="6";try{window.__reactRouterVersion=Ce}catch(B){}function V(B,H){return s.createRouter({basename:H==null?void 0:H.basename,future:p({},H==null?void 0:H.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:H==null?void 0:H.window}),hydrationData:(H==null?void 0:H.hydrationData)||ue(),routes:B,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:H==null?void 0:H.unstable_dataStrategy,unstable_patchRoutesOnMiss:H==null?void 0:H.unstable_patchRoutesOnMiss,window:H==null?void 0:H.window}).initialize()}function re(B,H){return s.createRouter({basename:H==null?void 0:H.basename,future:p({},H==null?void 0:H.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:H==null?void 0:H.window}),hydrationData:(H==null?void 0:H.hydrationData)||ue(),routes:B,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:H==null?void 0:H.unstable_dataStrategy,unstable_patchRoutesOnMiss:H==null?void 0:H.unstable_patchRoutesOnMiss,window:H==null?void 0:H.window}).initialize()}function ue(){var B;let H=(B=window)==null?void 0:B.__staticRouterHydrationData;return H&&H.errors&&(H=p({},H,{errors:z(H.errors)})),H}function z(B){if(!B)return null;let H=Object.entries(B),J={};for(let[ve,ce]of H)if(ce&&ce.__type==="RouteErrorResponse")J[ve]=new s.UNSAFE_ErrorResponseImpl(ce.status,ce.statusText,ce.data,ce.internal===!0);else if(ce&&ce.__type==="Error"){if(ce.__subType){let Be=window[ce.__subType];if(typeof Be=="function")try{let Pe=new Be(ce.message);Pe.stack="",J[ve]=Pe}catch(Pe){}}if(J[ve]==null){let Be=new Error(ce.message);Be.stack="",J[ve]=Be}}else J[ve]=ce;return J}let ee=c.createContext({isTransitioning:!1});ee.displayName="ViewTransition";let te=c.createContext(new Map);te.displayName="Fetchers";let me=c["startTransition"],Ae=h["flushSync"],je=c["useId"];function Xe(B){me?me(B):B()}function st(B){Ae?Ae(B):B()}class Ot{constructor(){this.status="pending",this.promise=new Promise((H,J)=>{this.resolve=ve=>{this.status==="pending"&&(this.status="resolved",H(ve))},this.reject=ve=>{this.status==="pending"&&(this.status="rejected",J(ve))}})}}function vt(B){let{fallbackElement:H,router:J,future:ve}=B,[ce,Be]=c.useState(J.state),[Pe,ze]=c.useState(),[Ye,Ne]=c.useState({isTransitioning:!1}),[Ze,M]=c.useState(),[U,ne]=c.useState(),[de,We]=c.useState(),Ie=c.useRef(new Map),{v7_startTransition:L}=ve||{},Y=c.useCallback(Je=>{L?Xe(Je):Je()},[L]),ge=c.useCallback((Je,xt)=>{let{deletedFetchers:Et,unstable_flushSync:It,unstable_viewTransitionOpts:Ir}=xt;Et.forEach(aa=>Ie.current.delete(aa)),Je.fetchers.forEach((aa,na)=>{aa.data!==void 0&&Ie.current.set(na,aa.data)});let Ia=J.window==null||J.window.document==null||typeof J.window.document.startViewTransition!="function";if(!Ir||Ia){It?st(()=>Be(Je)):Y(()=>Be(Je));return}if(It){st(()=>{U&&(Ze&&Ze.resolve(),U.skipTransition()),Ne({isTransitioning:!0,flushSync:!0,currentLocation:Ir.currentLocation,nextLocation:Ir.nextLocation})});let aa=J.window.document.startViewTransition(()=>{st(()=>Be(Je))});aa.finished.finally(()=>{st(()=>{M(void 0),ne(void 0),ze(void 0),Ne({isTransitioning:!1})})}),st(()=>ne(aa));return}U?(Ze&&Ze.resolve(),U.skipTransition(),We({state:Je,currentLocation:Ir.currentLocation,nextLocation:Ir.nextLocation})):(ze(Je),Ne({isTransitioning:!0,flushSync:!1,currentLocation:Ir.currentLocation,nextLocation:Ir.nextLocation}))},[J.window,U,Ze,Ie,Y]);c.useLayoutEffect(()=>J.subscribe(ge),[J,ge]),c.useEffect(()=>{Ye.isTransitioning&&!Ye.flushSync&&M(new Ot)},[Ye]),c.useEffect(()=>{if(Ze&&Pe&&J.window){let Je=Pe,xt=Ze.promise,Et=J.window.document.startViewTransition(()=>Jr(this,null,function*(){Y(()=>Be(Je)),yield xt}));Et.finished.finally(()=>{M(void 0),ne(void 0),ze(void 0),Ne({isTransitioning:!1})}),ne(Et)}},[Y,Pe,Ze,J.window]),c.useEffect(()=>{Ze&&Pe&&ce.location.key===Pe.location.key&&Ze.resolve()},[Ze,U,ce.location,Pe]),c.useEffect(()=>{!Ye.isTransitioning&&de&&(ze(de.state),Ne({isTransitioning:!0,flushSync:!1,currentLocation:de.currentLocation,nextLocation:de.nextLocation}),We(void 0))},[Ye.isTransitioning,de]),c.useEffect(()=>{s.UNSAFE_warning(H==null||!J.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ee=c.useMemo(()=>({createHref:J.createHref,encodeLocation:J.encodeLocation,go:Je=>J.navigate(Je),push:(Je,xt,Et)=>J.navigate(Je,{state:xt,preventScrollReset:Et==null?void 0:Et.preventScrollReset}),replace:(Je,xt,Et)=>J.navigate(Je,{replace:!0,state:xt,preventScrollReset:Et==null?void 0:Et.preventScrollReset})}),[J]),Ve=J.basename||"/",ft=c.useMemo(()=>({router:J,navigator:Ee,static:!1,basename:Ve}),[J,Ee,Ve]),et=c.useMemo(()=>({v7_relativeSplatPath:J.future.v7_relativeSplatPath}),[J.future.v7_relativeSplatPath]);return c.createElement(c.Fragment,null,c.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},c.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:ce},c.createElement(te.Provider,{value:Ie.current},c.createElement(ee.Provider,{value:Ye},c.createElement(l.Router,{basename:Ve,location:ce.location,navigationType:ce.historyAction,navigator:Ee,future:et},ce.initialized||J.future.v7_partialHydration?c.createElement(Kt,{routes:J.routes,future:J.future,state:ce}):H))))),null)}let Kt=c.memo(nr);function nr(B){let{routes:H,future:J,state:ve}=B;return l.UNSAFE_useRoutesImpl(H,void 0,ve,J)}function or(B){let{basename:H,children:J,future:ve,window:ce}=B,Be=c.useRef();Be.current==null&&(Be.current=s.createBrowserHistory({window:ce,v5Compat:!0}));let Pe=Be.current,[ze,Ye]=c.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ne}=ve||{},Ze=c.useCallback(M=>{Ne&&me?me(()=>Ye(M)):Ye(M)},[Ye,Ne]);return c.useLayoutEffect(()=>Pe.listen(Ze),[Pe,Ze]),c.createElement(l.Router,{basename:H,children:J,location:ze.location,navigationType:ze.action,navigator:Pe,future:ve})}function Ue(B){let{basename:H,children:J,future:ve,window:ce}=B,Be=c.useRef();Be.current==null&&(Be.current=s.createHashHistory({window:ce,v5Compat:!0}));let Pe=Be.current,[ze,Ye]=c.useState({action:Pe.action,location:Pe.location}),{v7_startTransition:Ne}=ve||{},Ze=c.useCallback(M=>{Ne&&me?me(()=>Ye(M)):Ye(M)},[Ye,Ne]);return c.useLayoutEffect(()=>Pe.listen(Ze),[Pe,Ze]),c.createElement(l.Router,{basename:H,children:J,location:ze.location,navigationType:ze.action,navigator:Pe,future:ve})}function ar(B){let{basename:H,children:J,future:ve,history:ce}=B,[Be,Pe]=c.useState({action:ce.action,location:ce.location}),{v7_startTransition:ze}=ve||{},Ye=c.useCallback(Ne=>{ze&&me?me(()=>Pe(Ne)):Pe(Ne)},[Pe,ze]);return c.useLayoutEffect(()=>ce.listen(Ye),[ce,Ye]),c.createElement(l.Router,{basename:H,children:J,location:Be.location,navigationType:Be.action,navigator:ce,future:ve})}ar.displayName="unstable_HistoryRouter";let ur=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",cr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,sr=c.forwardRef(function(H,J){let{onClick:ve,relative:ce,reloadDocument:Be,replace:Pe,state:ze,target:Ye,to:Ne,preventScrollReset:Ze,unstable_viewTransition:M}=H,U=_(H,Q),{basename:ne}=c.useContext(l.UNSAFE_NavigationContext),de,We=!1;if(typeof Ne=="string"&&cr.test(Ne)&&(de=Ne,ur))try{let ge=new URL(window.location.href),Ee=Ne.startsWith("//")?new URL(ge.protocol+Ne):new URL(Ne),Ve=s.stripBasename(Ee.pathname,ne);Ee.origin===ge.origin&&Ve!=null?Ne=Ve+Ee.search+Ee.hash:We=!0}catch(ge){s.UNSAFE_warning(!1,'<Link to="'+Ne+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Ie=l.useHref(Ne,{relative:ce}),L=$r(Ne,{replace:Pe,state:ze,target:Ye,preventScrollReset:Ze,relative:ce,unstable_viewTransition:M});function Y(ge){ve&&ve(ge),ge.defaultPrevented||L(ge)}return c.createElement("a",p({},U,{href:de||Ie,onClick:We||Be?ve:Y,ref:J,target:Ye}))});sr.displayName="Link";let Er=c.forwardRef(function(H,J){let{"aria-current":ve="page",caseSensitive:ce=!1,className:Be="",end:Pe=!1,style:ze,to:Ye,unstable_viewTransition:Ne,children:Ze}=H,M=_(H,he),U=l.useResolvedPath(Ye,{relative:M.relative}),ne=l.useLocation(),de=c.useContext(l.UNSAFE_DataRouterStateContext),{navigator:We,basename:Ie}=c.useContext(l.UNSAFE_NavigationContext),L=de!=null&&ae(U)&&Ne===!0,Y=We.encodeLocation?We.encodeLocation(U).pathname:U.pathname,ge=ne.pathname,Ee=de&&de.navigation&&de.navigation.location?de.navigation.location.pathname:null;ce||(ge=ge.toLowerCase(),Ee=Ee?Ee.toLowerCase():null,Y=Y.toLowerCase()),Ee&&Ie&&(Ee=s.stripBasename(Ee,Ie)||Ee);let Ve=Y!=="/"&&Y.endsWith("/")?Y.length-1:Y.length,ft=ge===Y||!Pe&&ge.startsWith(Y)&&ge.charAt(Ve)==="/",et=Ee!=null&&(Ee===Y||!Pe&&Ee.startsWith(Y)&&Ee.charAt(Y.length)==="/"),Je={isActive:ft,isPending:et,isTransitioning:L},xt=ft?ve:void 0,Et;typeof Be=="function"?Et=Be(Je):Et=[Be,ft?"active":null,et?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let It=typeof ze=="function"?ze(Je):ze;return c.createElement(sr,p({},M,{"aria-current":xt,className:Et,ref:J,style:It,to:Ye,unstable_viewTransition:Ne}),typeof Ze=="function"?Ze(Je):Ze)});Er.displayName="NavLink";let kr=c.forwardRef((B,H)=>{let{fetcherKey:J,navigate:ve,reloadDocument:ce,replace:Be,state:Pe,method:ze=b,action:Ye,onSubmit:Ne,relative:Ze,preventScrollReset:M,unstable_viewTransition:U}=B,ne=_(B,le),de=Ma(),We=Fe(Ye,{relative:Ze}),Ie=ze.toLowerCase()==="get"?"get":"post",L=Y=>{if(Ne&&Ne(Y),Y.defaultPrevented)return;Y.preventDefault();let ge=Y.nativeEvent.submitter,Ee=(ge==null?void 0:ge.getAttribute("formmethod"))||ze;de(ge||Y.currentTarget,{fetcherKey:J,method:Ee,navigate:ve,replace:Be,state:Pe,relative:Ze,preventScrollReset:M,unstable_viewTransition:U})};return c.createElement("form",p({ref:H,method:Ie,action:We,onSubmit:ce?Ne:L},ne))});kr.displayName="Form";function ta(B){let{getKey:H,storageKey:J}=B;return Nr({getKey:H,storageKey:J}),null}ta.displayName="ScrollRestoration";var Ua=function(B){return B.UseScrollRestoration="useScrollRestoration",B.UseSubmit="useSubmit",B.UseSubmitFetcher="useSubmitFetcher",B.UseFetcher="useFetcher",B.useViewTransitionState="useViewTransitionState",B}(Ua||{}),xa=function(B){return B.UseFetcher="useFetcher",B.UseFetchers="useFetchers",B.UseScrollRestoration="useScrollRestoration",B}(xa||{});function Ra(B){return B+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Kr(B){let H=c.useContext(l.UNSAFE_DataRouterContext);return H||s.UNSAFE_invariant(!1,Ra(B)),H}function ra(B){let H=c.useContext(l.UNSAFE_DataRouterStateContext);return H||s.UNSAFE_invariant(!1,Ra(B)),H}function $r(B,H){let{target:J,replace:ve,state:ce,preventScrollReset:Be,relative:Pe,unstable_viewTransition:ze}=H===void 0?{}:H,Ye=l.useNavigate(),Ne=l.useLocation(),Ze=l.useResolvedPath(B,{relative:Pe});return c.useCallback(M=>{if(q(M,J)){M.preventDefault();let U=ve!==void 0?ve:l.createPath(Ne)===l.createPath(Ze);Ye(B,{replace:U,state:ce,preventScrollReset:Be,relative:Pe,unstable_viewTransition:ze})}},[Ne,Ye,Ze,ve,ce,J,B,Be,Pe,ze])}function Da(B){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 H=c.useRef(I(B)),J=c.useRef(!1),ve=l.useLocation(),ce=c.useMemo(()=>$(ve.search,J.current?null:H.current),[ve.search]),Be=l.useNavigate(),Pe=c.useCallback((ze,Ye)=>{let Ne=I(typeof ze=="function"?ze(ce):ze);J.current=!0,Be("?"+Ne,Ye)},[Be,ce]);return[ce,Pe]}function Rr(){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,Gr=()=>"__"+String(++Mr)+"__";function Ma(){let{router:B}=Kr(Ua.UseSubmit),{basename:H}=c.useContext(l.UNSAFE_NavigationContext),J=l.UNSAFE_useRouteId();return c.useCallback(function(ve,ce){ce===void 0&&(ce={}),Rr();let{action:Be,method:Pe,encType:ze,formData:Ye,body:Ne}=be(ve,H);if(ce.navigate===!1){let Ze=ce.fetcherKey||Gr();B.fetch(Ze,J,ce.action||Be,{preventScrollReset:ce.preventScrollReset,formData:Ye,body:Ne,formMethod:ce.method||Pe,formEncType:ce.encType||ze,unstable_flushSync:ce.unstable_flushSync})}else B.navigate(ce.action||Be,{preventScrollReset:ce.preventScrollReset,formData:Ye,body:Ne,formMethod:ce.method||Pe,formEncType:ce.encType||ze,replace:ce.replace,state:ce.state,fromRouteId:J,unstable_flushSync:ce.unstable_flushSync,unstable_viewTransition:ce.unstable_viewTransition})},[B,H,J])}function Fe(B,H){let{relative:J}=H===void 0?{}:H,{basename:ve}=c.useContext(l.UNSAFE_NavigationContext),ce=c.useContext(l.UNSAFE_RouteContext);ce||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Be]=ce.matches.slice(-1),Pe=p({},l.useResolvedPath(B||".",{relative:J})),ze=l.useLocation();if(B==null){Pe.search=ze.search;let Ye=new URLSearchParams(Pe.search);Ye.has("index")&&Ye.get("index")===""&&(Ye.delete("index"),Pe.search=Ye.toString()?"?"+Ye.toString():"")}return(!B||B===".")&&Be.route.index&&(Pe.search=Pe.search?Pe.search.replace(/^\?/,"?index&"):"?index"),ve!=="/"&&(Pe.pathname=Pe.pathname==="/"?ve:s.joinPaths([ve,Pe.pathname])),l.createPath(Pe)}function pt(B){var H;let{key:J}=B===void 0?{}:B,{router:ve}=Kr(Ua.UseFetcher),ce=ra(xa.UseFetcher),Be=c.useContext(te),Pe=c.useContext(l.UNSAFE_RouteContext),ze=(H=Pe.matches[Pe.matches.length-1])==null?void 0:H.route.id;Be||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Pe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),ze==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let Ye=je?je():"",[Ne,Ze]=c.useState(J||Ye);J&&J!==Ne?Ze(J):Ne||Ze(Gr()),c.useEffect(()=>(ve.getFetcher(Ne),()=>{ve.deleteFetcher(Ne)}),[ve,Ne]);let M=c.useCallback((Y,ge)=>{ze||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),ve.fetch(Ne,ze,Y,ge)},[Ne,ze,ve]),U=Ma(),ne=c.useCallback((Y,ge)=>{U(Y,p({},ge,{navigate:!1,fetcherKey:Ne}))},[Ne,U]),de=c.useMemo(()=>{let Y=c.forwardRef((ge,Ee)=>c.createElement(kr,p({},ge,{navigate:!1,fetcherKey:Ne,ref:Ee})));return Y.displayName="fetcher.Form",Y},[Ne]),We=ce.fetchers.get(Ne)||s.IDLE_FETCHER,Ie=Be.get(Ne);return c.useMemo(()=>p({Form:de,submit:ne,load:M},We,{data:Ie}),[de,ne,M,We,Ie])}function St(){let B=ra(xa.UseFetchers);return Array.from(B.fetchers.entries()).map(H=>{let[J,ve]=H;return p({},ve,{key:J})})}let Xt="react-router-scroll-positions",$t={};function Nr(B){let{getKey:H,storageKey:J}=B===void 0?{}:B,{router:ve}=Kr(Ua.UseScrollRestoration),{restoreScrollPosition:ce,preventScrollReset:Be}=ra(xa.UseScrollRestoration),{basename:Pe}=c.useContext(l.UNSAFE_NavigationContext),ze=l.useLocation(),Ye=l.useMatches(),Ne=l.useNavigation();c.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),ca(c.useCallback(()=>{if(Ne.state==="idle"){let Ze=(H?H(ze,Ye):null)||ze.key;$t[Ze]=window.scrollY}try{sessionStorage.setItem(J||Xt,JSON.stringify($t))}catch(Ze){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Ze+").")}window.history.scrollRestoration="auto"},[J,H,Ne.state,ze,Ye])),typeof document!="undefined"&&(c.useLayoutEffect(()=>{try{let Ze=sessionStorage.getItem(J||Xt);Ze&&($t=JSON.parse(Ze))}catch(Ze){}},[J]),c.useLayoutEffect(()=>{let Ze=H&&Pe!=="/"?(U,ne)=>H(p({},U,{pathname:s.stripBasename(U.pathname,Pe)||U.pathname}),ne):H,M=ve==null?void 0:ve.enableScrollRestoration($t,()=>window.scrollY,Ze);return()=>M&&M()},[ve,Pe,H]),c.useLayoutEffect(()=>{if(ce!==!1){if(typeof ce=="number"){window.scrollTo(0,ce);return}if(ze.hash){let Ze=document.getElementById(decodeURIComponent(ze.hash.slice(1)));if(Ze){Ze.scrollIntoView();return}}Be!==!0&&window.scrollTo(0,0)}},[ze,ce,Be]))}function yr(B,H){let{capture:J}=H||{};c.useEffect(()=>{let ve=J!=null?{capture:J}:void 0;return window.addEventListener("beforeunload",B,ve),()=>{window.removeEventListener("beforeunload",B,ve)}},[B,J])}function ca(B,H){let{capture:J}=H||{};c.useEffect(()=>{let ve=J!=null?{capture:J}:void 0;return window.addEventListener("pagehide",B,ve),()=>{window.removeEventListener("pagehide",B,ve)}},[B,J])}function G(B){let{when:H,message:J}=B,ve=l.useBlocker(H);c.useEffect(()=>{ve.state==="blocked"&&(window.confirm(J)?setTimeout(ve.proceed,0):ve.reset())},[ve,J]),c.useEffect(()=>{ve.state==="blocked"&&!H&&ve.reset()},[ve,H])}function ae(B,H){H===void 0&&(H={});let J=c.useContext(ee);J==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:ve}=Kr(Ua.useViewTransitionState),ce=l.useResolvedPath(B,{relative:H.relative});if(!J.isTransitioning)return!1;let Be=s.stripBasename(J.currentLocation.pathname,ve)||J.currentLocation.pathname,Pe=s.stripBasename(J.nextLocation.pathname,ve)||J.nextLocation.pathname;return s.matchPath(ce.pathname,Pe)!=null||s.matchPath(ce.pathname,Be)!=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=or,r.Form=kr,r.HashRouter=Ue,r.Link=sr,r.NavLink=Er,r.RouterProvider=vt,r.ScrollRestoration=ta,r.UNSAFE_FetchersContext=te,r.UNSAFE_ViewTransitionContext=ee,r.UNSAFE_useScrollRestoration=Nr,r.createBrowserRouter=V,r.createHashRouter=re,r.createSearchParams=I,r.unstable_HistoryRouter=ar,r.unstable_usePrompt=G,r.unstable_useViewTransitionState=ae,r.useBeforeUnload=yr,r.useFetcher=pt,r.useFetchers=St,r.useFormAction=Fe,r.useLinkClickHandler=$r,r.useSearchParams=Da,r.useSubmit=Ma,Object.defineProperty(r,"__esModule",{value:!0})})});var K5=qe((KG,q5)=>{"use strict";q5.exports=G5()});var rr=qe((JG,oE)=>{"use strict";var oW=Object.create,Oh=Object.defineProperty,iW=Object.defineProperties,lW=Object.getOwnPropertyDescriptor,sW=Object.getOwnPropertyDescriptors,uW=Object.getOwnPropertyNames,zg=Object.getOwnPropertySymbols,cW=Object.getPrototypeOf,Q0=Object.prototype.hasOwnProperty,Z5=Object.prototype.propertyIsEnumerable,J0=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),Bg=Math.pow,X5=(r,a,i)=>a in r?Oh(r,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[a]=i,Bh=(r,a)=>{for(var i in a||(a={}))Q0.call(a,i)&&X5(r,i,a[i]);if(zg)for(var i of zg(a))Z5.call(a,i)&&X5(r,i,a[i]);return r},dW=(r,a)=>iW(r,sW(a)),fW=(r,a)=>{var i={};for(var l in r)Q0.call(r,l)&&a.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&zg)for(var l of zg(r))a.indexOf(l)<0&&Z5.call(r,l)&&(i[l]=r[l]);return i},eE=(r,a)=>()=>(r&&(a=r(r=0)),a),pW=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),hW=(r,a)=>{for(var i in a)Oh(r,i,{get:a[i],enumerable:!0})},tE=(r,a,i,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of uW(a))!Q0.call(r,s)&&s!==i&&Oh(r,s,{get:()=>a[s],enumerable:!(l=lW(a,s))||l.enumerable});return r},mW=(r,a,i)=>(i=r!=null?oW(cW(r)):{},tE(a||!r||!r.__esModule?Oh(i,"default",{value:r,enumerable:!0}):i,r)),vW=r=>tE(Oh({},"__esModule",{value:!0}),r),$l=(r,a,i)=>new Promise((l,s)=>{var d=p=>{try{h(i.next(p))}catch(_){s(_)}},c=p=>{try{h(i.throw(p))}catch(_){s(_)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((i=i.apply(r,a)).next())}),rE=function(r,a){this[0]=r,this[1]=a},gW=(r,a,i)=>{var l=(c,h,p,_)=>{try{var b=i[c](h),S=(h=b.value)instanceof rE,T=b.done;Promise.resolve(S?h[0]:h).then(w=>S?l(c==="return"?c:"next",h[1]?{done:w.done,value:w.value}:w,p,_):p({value:w,done:T})).catch(w=>l("throw",w,p,_))}catch(w){_(w)}},s=c=>d[c]=h=>new Promise((p,_)=>l(c,h,p,_)),d={};return i=i.apply(r,a),d[J0("asyncIterator")]=()=>d,s("next"),s("throw"),s("return"),d},_W=(r,a,i)=>(a=r[J0("asyncIterator")])?a.call(r):(r=r[J0("iterator")](),a={},i=(l,s)=>(s=r[l])&&(a[l]=d=>new Promise((c,h,p)=>(d=s.call(r,d),p=d.done,Promise.resolve(d.value).then(_=>c({value:_,done:p}),h)))),i("next"),i("return"),a),aE=eE(()=>{"use strict";if(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(/^.*,/,"")),i=new Uint8Array(a.length);for(var l=0;l<a.length;l++)i[l]=a.charCodeAt(l);try{var s=new Blob([i.buffer],{type:r})}catch(d){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 i=Bg(10,a);return Math.round(this/r*i*100)/i},Number.prototype.rate=function(r,a=2){let i=Bg(10,a);return Math.round(this/r*i)/i},Number.prototype.rank=function(r=1){let a=Bg(10,r),i=Number(this),l=i.toLocaleString().replace(/\d/ig,"").length;return Math.round(i/Bg(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),i=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),d=[];return i.length!=4||d.push(i),l.length!=2||d.push(l),s.length!=2||d.push(s),d.join(r)}),typeof Array!="undefined"){let r=(a,i)=>{if(!a)return;let l=a;for(let s of i){if(!l)break;l=l[s]}return l};Array.prototype.order=function(a){let{direction:i="ASC",keys:l=[],numeral:s=!1}=a,d=[];return l.length?s?d=this.sort((c,h)=>+(Number(r(c,l))>Number(r(h,l)))*2-1):d=this.sort((c,h)=>{let p=String(r(c,l)).replace(/(\d+)/g,b=>b.padStart(18,"0")),_=String(r(h,l)).replace(/(\d+)/g,b=>b.padStart(18,"0"));return+(p>_)*2-1}):s?d=this.sort((c,h)=>+(c>h)*2-1):d=this.sort((c,h)=>{let p=String(c).replace(/(\d+)/g,b=>b.padStart(18,"0")),_=String(h).replace(/(\d+)/g,b=>b.padStart(18,"0"));return+(p>_)*2-1}),i=="DESC"&&(d=d.reverse()),d},Array.prototype.getLastChild=function(){let a=this.length-1;return this[a]}}typeof File!="undefined"&&(File.prototype.read=function(r){return r=r||"dataURL",new Promise((a,i)=>{let l=new FileReader;l.onload=d=>a(d),l.onerror=d=>i(d);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})},File.prototype.toDataUrl=function(){return $l(this,null,function*(){var r;let a=yield this.read();return String((r=a.target)==null?void 0:r.result)})},File.prototype.getExtension=function(){return this.name.split(".").getLastChild()})}),J5,we,Ba,Og,tu,Q5,zh=eE(()=>{"use strict";aE(),J5=r=>new we.prototype.jsmin(r),we=J5,we.prototype={},we.extend=function(r,a=we){for(var[i,l]of Object.entries(r))a.prototype[i]=l},we.uuid={gen128Binary:()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("").toUpperCase(),gen32Hex:(r="Formatted",a="-")=>{let i=Array.from({length:32}).map((l,s)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(i=[i.slice(0,8),i.slice(8,12),i.slice(12,16),i.slice(16,20),i.slice(20,32)].join(a)),i},gen:(r=32)=>Array.from({length:r}).map((a,i)=>{let l=i==0?25:35;return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)]}).join("").toUpper(),to32Format:r=>(r=[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-"),r)},we.expando="__jsmin_"+we.uuid.gen(),Ba=(r,a)=>(r.queue.push(a),Og(r),r),Og=r=>$l(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,Og(r)}}),tu=(r,a)=>{for(let i=0;i<r.length;i++)r[i]=null;for(let[i,l]of Object.entries(a))i.match(/queue/)||(r[i]=l);return r},Q5=(r,a)=>{if(a.length){for(var i=0;i<a.length;i++){let l=a[i];l&&(l[we.expando]||(we.is.element(l)||we.is.shadowRoot(l))&&(l[we.expando]={events:{}})),r[i]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,Og(r),r},we.extend({constructor:we,jsmin:function(r){return this.src=r,this.srcType=we.is.what(r),this.queueProcess=!0,this.queue=[],Q5(this,we.is.jsmin(r)?r.get():we.is.element(r)?[r]:we.is.elements(r)?r:we.is.shadowRoot(r)?[r]:we.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}}),we.prototype[String(Symbol.iterator)]=[][Symbol.iterator],we.prototype.jsmin.prototype=we.prototype;{let r=function(s,d,c){let h=[];for(let p=0;p<(s.length||0);p++)h.push(d(s[p],p));return c&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((d,c)=>{if(!(we.is.element(d)||we.is.shadowRoot(d)))return;let h=d.cloneNode(),p=d.parentNode;p&&p.replaceChild(h,d),s[c]=h}),s),i=(s,d)=>(we(d).for(c=>{if(s&&(we.is.element(c)||we.is.shadowRoot(c)))if(we.is.string(s)||we.is.number(s))s=String(s),c.insertAdjacentHTML("beforeend",String(s));else if(we.is.element(s))c.appendChild(s);else{we.is.jsmin(s)?s=s.get():we.is.element(s)?s=[s]:we.is.keyValueDictionary(s)&&(s=[we(s)]);for(var h=0;h<s.length;h++)i(s[h],c)}}),d),l=(s,d,...c)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[d]||{p:"",s:""};return s.for(_=>{if(we.is.string(c[0]))_.insertAdjacentHTML(h,c[0]);else{if(!_.parentNode)return;we(c[0]).for(b=>{c[1]&&(b=b.cloneNode(!0)),_.parentNode.insertBefore(b,_[p]||_)})}}),s};we.extend({get:function(s){return s?this[0]:r(this,d=>d)},for:function(s,d=1){let c=r(this,(h,p)=>s(h,p),1);return d?c:[]},await:function(s){return Ba(this,()=>new Promise((d,c)=>{setTimeout(()=>{d(this)},s)}))},abort:function(){return Ba(this,()=>$l(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Ba(this,()=>$l(this,null,function*(){return yield s(this),this}))},click:function(){return Ba(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];we.is.element(d)&&d.click()}return this})},focus:function(){return Ba(this,()=>{for(var s=0;s<this.length;s++){let d=this[s];we.is.element(d)&&d.focus()}return this})},addEvent:function(s){return Ba(this,()=>{let{eventType:d,eventID:c=we.uuid.gen(32),target:h,callback:p,options:_}=s;return _=Bh({passive:!0,capture:!1},_),this.for(b=>{if(!(we.is.element(b)||we.is.shadowRoot(b)))return;let{events:S}=b[we.expando];if(h){let T=p;p=w=>{if(w.target){if(we.is.string(h)){let k=w.target.closest(h);k&&(!k||T.call(k,w))}else if(we.is.elements(h)){for(let k of h)if(w.target==k)return T.call(k,w)}}}}if(S[c]){let T=S[c];b.removeEventListener(T.eventType,T.callback,T.options)}S[c]={eventType:d,callback:p,options:_},b.addEventListener(d,p,_)}),this})},removeEvent:function(s){return Ba(this,()=>{let d=we.is.array(s)?s:[s];return this.for(c=>{let{events:h}=c[we.expando];for(let p of d){let _=h[p];_&&c.removeEventListener(_.eventType,_.callback,_.options)}}),this})},html:function(s){return Ba(this,()=>tu(this,i(s,a(this))))},empty:function(){return Ba(this,()=>tu(this,a(this)))},append:function(s){return Ba(this,()=>{i(s,this)})},remove:function(){return Ba(this,()=>(this.for((s,d)=>{s&&we.is.element(s)&&(s.remove(),delete this[d])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Ba(this,()=>tu(this,l(this,"before",...s)))},after:function(...s){return Ba(this,()=>tu(this,l(this,"after",...s)))},find:function(s){return Ba(this,()=>{let d=[],c=this[0];c||tu(this,we()),(we.is.element(c)||we.is.shadowRoot(c))&&(we.is.string(s)?d=c.querySelectorAll(s):we.is.element(c)&&we(s).for(h=>{let p=c.childNodes;for(let _ of p)if(_===h){d.push(_);break}else _.childNodes.length&&(d=[...d,...we(_).find(h).for(b=>b)])})),tu(this,we(d))})},parent:function(s){return Ba(this,()=>{var d,c;let h=we(s?(d=this[0])==null?void 0:d.closest(s):(c=this[0])==null?void 0:c.parentNode);tu(this,h)})},children:function(s){return Ba(this,()=>{let d=this[0].children;we.is.exist(s)&&(s=String(s).replace(/^ : /,""),d=s=="first"?d[0]:s=="last"?d[d.length-1]:d[Number(s)]);let c=we(d);return tu(this,c)})},addClass:function(s){return Ba(this,()=>(s&&this.for(d=>{let c=we.is.string(s)?s.split(" "):s;d&&we.is.element(d)&&d.classList.add(...c)}),this))},removeClass:function(s){return Ba(this,()=>(s&&this.for(d=>{let c=we.is.string(s)?s.split(" "):s;d&&we.is.element(d)&&d.classList.remove(...c)}),this))},toggleClass:function(s){return Ba(this,()=>(s&&this.for(d=>{d.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let d=[];return this[0]&&(d=[...this[0].classList].filter(c=>c.match(s))),d},css:function(s){return Ba(this,()=>(this.for(d=>{if(we.is.element(d))for(let[c,h]of Object.entries(s)){if(we.is.number(h)&&c.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){d.style[c]=h+"px";continue}d.style[c]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,d){return Ba(this,()=>(this.for(c=>c.setAttribute(s,d)),this))},getStyleProperty:function(s){let d=this[0];return d&&we.is.element(d)?getComputedStyle(d).getPropertyValue(s):""},setStyleProperty:function(s,d){let c=this[0];return c&&we.is.element(c)&&c.style.setProperty(s,d),this},val:function(){var s;let d=this[0];return(d==null?void 0:d.value)||((s=d==null?void 0:d.dataset)==null?void 0:s.value)},position:function(){return we.is.element(this[0])?this[0].getBoundingClientRect():{}}})}{we.flatArray=(a,i)=>{if(!we.is.array(a))return[a];let l=[];for(let s of a)l.push(...i=="-R"?we.flatArray(s,"-R"):[s]);return l},we.JsonTo=a=>JSON.stringify(a),we.toJson=a=>{let i;try{i={ok:!0,body:JSON.parse(a)}}catch(l){i={ok:!1,body:l}}return i},we.scope=a=>a(),we.randomNumber=(a=0,i=100,l)=>{if(a>i)return NaN;let s=[],d=a;for(;d<=i;){if(l&&l.length&&l.includes(d)){d++;continue}s.push(d),d++}let c=Math.round(Math.random()*(s.length-1))+0;return s[c]};let r={};we.interval={standBy:(a,i,l)=>{r[a]=setTimeout(l,i)},clear:a=>{clearInterval(r[a])}}}we.createElement=function(r){var a;let{tag:i,className:l="",id:s,html:d,attr:c,style:h,parent:p}=r,_=document.createElement(i||"div");if(l&&_.classList.add(...l.split(" ")),s&&(_.id=s),c)for(let T of Object.entries(c)){let w=T[0],k=(a=T[1])!=null?a:"";if(w=="data"&&we.is.keyValueDictionary(k))for(let[D,A]of Object.entries(k))_.dataset[D]=A;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),_[w]=k}if(d&&we(_).append(d),h)for(var[b,S]of Object.entries(h))_.style[b]=S;return p&&we(p).append(_),_},we.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:i,value:l="",age:s=60*60*24*365,path:d="/",domain:c=a,secure:h=!1}=r,p=`${i}=${l}max-age=${s}path=${d}domain=${c}`;h&&(p+=" Secure"),document.cookie=p},we.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""},we.setLocalStrageData=(r,a)=>{localStorage.setItem(r,JSON.stringify(a))},we.getLocalStrageData=r=>{let a=localStorage.getItem(r),i=we.toJson(a);return i.ok?i.body:a},we.deleteCookie=r=>{document.cookie=r+"=max-age=0"},we.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:i,scrollX:l,pageXOffset:s,pageYOffset:d}=window,c=Number(we(document.body).getStyleProperty("--sat").removeLetters()),h=Number(we(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-c-h,scrollY:i,scrollX:l,pageXOffset:s,pageYOffset:d,safeAreaTop:c,safeAreaBottom:h}},we.getCursor=r=>{var a,i,l,s,d,c,h,p;let _=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((i=r==null?void 0:r.originalEvent)==null?void 0:i.touches)||[])[0].pageX,b=(p=r.pageY)!=null?p:(h=(d=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:d.pageY)!=null?h:(((c=r==null?void 0:r.originalEvent)==null?void 0:c.touches)||[])[0].pageY;return{x:_,y:b}},we.pending=(r,a)=>new Promise((i,l)=>{r(i),setTimeout(()=>{i(!0)},a)}),we.getLocalIP=r=>{let a="";return we.scope(()=>{if(!r)return;let i=r.networkInterfaces();for(let[l,s]of Object.entries(i))s.forEach(d=>{!d.internal&&d.family==="IPv4"&&!d.address.match(/^(169|127)/)&&(a=d.address)})}),a},we.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]||"IP UNDEFINED"},we.deepMerge=(r,...a)=>{if(!a.length)return r;let i=a.shift();if(we.is.keyValueDictionary(r)&&we.is.keyValueDictionary(i))for(let l in i)we.is.keyValueDictionary(i[l])?(r[l]||Object.assign(r,{[l]:{}}),we.deepMerge(r[l],i[l])):Object.assign(r,{[l]:i[l]});return we.deepMerge(r,...a)},we.queryParams={get:r=>{let a=new URL(r||location.href),i={};return a.searchParams.forEach((l,s)=>i[s]=l),i},set:(r,a)=>{let i=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{i.searchParams.set(l,String(s))}),a||history.replaceState({},"",i.pathname+i.search),i.toString()},delete:(r,a)=>{let i=new URL(a||location.href);return r.forEach(l=>{i.searchParams.delete(l)}),a||history.replaceState({},"",i.pathname+i.search),i.toString()}},we.ellipsisText=(r,a)=>{let i=String(r);return i.length>a&&(i=i.slice(0,a)+" ..."),i},we.is={what:function(r){let a="other";return this.jsmin(r)?a="jsmin":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)},jsmin:function(r){return(r||{}).constructor===we},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.jsmin(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),i=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(i&&a!=="[object NodeList]")for(var l of r)i&=Number(this.element(l));return!!i},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}}}),bW=pW(r=>{"use strict";zh(),we.copyToClipboard=a=>$l(r,null,function*(){let i="";we.is.string(a)?i=a:we.is.function(a)&&(i=a());let l={ok:!1,body:"NotSupported"};return yield $l(r,null,function*(){let s;if(navigator.clipboard){if(s=yield navigator.clipboard.writeText(i).then(()=>!0,()=>!1),!s)return}else{let d=document.createElement("input");if(we(document.body).append(d),d.value=i,d.select(),s=document.execCommand("copy"),document.body.removeChild(d),!s)return}l={ok:!0,body:""}}),l}),we.getCurrentLocation=()=>new Promise((a,i)=>{navigator.geolocation.getCurrentPosition(l=>{let{latitude:s,longitude:d}=l.coords;a({ok:!0,status:200,body:{lat:s,lng:d}})},l=>{a({ok:!1,status:500,body:{reason:l}})})}),we.ImageLoader=(a,i)=>new Promise((l,s)=>{let d=i||new Image;d.onload=()=>l(d),d.onerror=c=>s(c),d.src=a})}),nE={};hW(nE,{Fetcher:()=>Vr,Time:()=>Oa,default:()=>SW});oE.exports=vW(nE);aE();zh();zh();var yW=r=>new Oa.prototype.time(r),Oa=yW;Oa.prototype={};var ru=function(r,a){r.value=a;let i=we.is.date(a);if(r.validate=i,!i)return r.ms=-1,r.year=-1,r.month=-1,r.weekday=-1,r.weekInYear=-1,r.date=-1,r.hours=-1,r.minutes=-1,r.seconds=-1,r;r.ms=a.getTime(),r.weekday=a.getDay(),r.year=a.getFullYear(),r.month=a.getMonth()+1,r.date=a.getDate();{let l=new Date(r.year,0,1),s=new Date(l.valueOf());s.setDate(s.getDate()-(l.getDay()+1));let d=a.getTime()-s.getTime(),c=Math.ceil(d/(1e3*60*60*24));r.weekInYear=Math.ceil(c/7)}{let l=new Date(r.year,r.month-1,1),s=new Date(l.valueOf());s.setDate(s.getDate()-(l.getDay()+1));let d=a.getTime()-s.getTime(),c=Math.ceil(d/(1e3*60*60*24)),h=Math.ceil(c/7);r.weekInMonth=h}{let l=new Date(r.year,r.month,0),s=l.getDay(),d=new Date(new Date(l).setDate(l.getDate()-s));r.isLastWeekInMonth=r.date>=d.getDate()}return r.hours=a.getHours(),r.minutes=a.getMinutes(),r.seconds=a.getSeconds(),r};we.extend({constructor:Oa,time:function(r){Oa.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return ru(this,a)}},Oa);Oa.prototype.time.prototype=Oa.prototype;Oa.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Oa};Oa.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Oa(a+" 00:00")};Oa.getPeriodArray=(r,a,i)=>{let l=[],s=a;if(!a.validate||!i.validate)return l;for(;s.toFormatYMDHMS().toNumber()<=i.toFormatYMDHMS().toNumber();)l.push(s),r=="year"?s=Oa(s).addYear(1):r=="month"?s=Oa(s).addMonth(1):r=="week"?s=Oa(s).addWeek(1):r=="day"?s=Oa(s).addDate(1):r=="hours"?s=Oa(s).addHours(1):r=="minutes"?s=Oa(s).addMinutes(1):r=="seconds"&&(s=Oa(s).addSeconds(1));return l};we.extend({setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),ru(this,a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),ru(this,a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),ru(this,a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),ru(this,a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),ru(this,a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),ru(this,a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),ru(this,a)},setMidnight:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),ru(this,r)},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)},isSameYear:function(r){let a=we.Time(r);return this.year==a.year},isSameMonth:function(r){let a=we.Time(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=we.Time(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=we.Time(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},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"):""},getFirstDayOfTheYear:function(){return we.Time(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return we.Time(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return we.Time(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return we.Time(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=we.Time(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=we.Time(this.value);return r.addDate(6-r.weekday)},diff:function(r){let a=this.ms-r.ms;return{years:this.year-r.year,months:(this.year-r.year)*12+(this.month-r.month),dates:Math.floor(a/(60*60*24*1e3)),hours:Math.floor(a/(60*60*1e3)),minutes:Math.floor(a/(60*1e3)),seconds:Math.floor(a/1e3)}},getAge:function(r){let a=r||we.Time(),i=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&i--,i}},Oa);we.Time=Oa;zh();var Vr=(r,a)=>new Vr.prototype.instance(r,a);Vr.prototype={};Vr.waitList=[];Vr.setDefaultTrafficControl=0;Vr.setDefaultTimeout=1e3*60*10;Vr.isReadableStream=r=>r instanceof ReadableStream;Vr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Vr.streamToContext=(r,a)=>$l(void 0,null,function*(){try{let i=(a==null?void 0:a.reader)||r.getReader();if(!Vr.isReadableStreamReader(i))return{ok:!1,done:!0,data:null};if(!i)return{ok:!1,done:!0,data:null};let l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield i.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(i){return{ok:!1,done:!0,data:i}}});we.extend({constructor:Vr,instance:function(r,a){var i;a=a||{};let l=a.body;a.body&&!we.is.string(a.body)&&((i=a.bodyStringify)==null||i)&&(l=JSON.stringify(a.body||{}));let s=r;return we.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=dW(Bh({key:we.uuid.gen(16),response_format:"json",timeout:Vr.setDefaultTimeout,trafficControl:Vr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:Bh(Bh({"Content-Type":"application/json"},Vr.setDefaultHeaders&&Vr.setDefaultHeaders()),a.headers),body:l}),this},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 $l(this,null,function*(){let{response:a,errorCB:i,streamCB:l,reader:s,decoder:d}=r,c=a.body,h=this,p=function(){return gW(this,null,function*(){if(!a.ok){we.scope(()=>$l(this,null,function*(){let{ok:k,done:D,data:A}=yield Vr.streamToContext(c,{reader:s,decoder:d});k&&i(A)}));return}let w=!1;for(;!w;){let{ok:k,done:D,data:A}=yield new rE(Vr.streamToContext(c,{reader:s,decoder:d}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),D=!0):h.streamStatus=="closed"&&(D=!0),D&&(w=D,s.releaseLock()),l(A,D)}})};try{for(var _=_W(p()),b,S,T;b=!(S=yield _.next()).done;b=!1){let w=S.value}}catch(w){T=[w]}finally{try{b&&(S=_.return)&&(yield S.call(_))}finally{if(T)throw T[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 $l(this,null,function*(){var r;let a=this.params,i=performance.now(),l=0,s=new AbortController,d=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let c=!1,h=500,p="InternalServerError",_={},b=null;try{Vr.setDefaultOnStart&&Vr.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let T=a,{key:w,response_format:k,trafficControl:D,preventMultiRequest:A,timeout:q,queries:I}=T,$=fW(T,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);$.method=this.method;let F=Vr.waitList.includes(w);if(A&&F)throw h=429,new Error("TooManyRequests");Vr.waitList=[...Vr.waitList,w];let W=we.queryParams.set(Bh({},I),String(this.url));_=yield fetch(W,$).then(P=>$l(this,null,function*(){return c=P.ok,h=P.status,p=P.statusText,b=P,k=="none"||k=="stream"?P:P[k]()})).catch(P=>{throw new Error(P)})}catch(T){h==200&&(h=500,c=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(T)||p),_={errorCode:String(T)}}finally{clearTimeout(d),l=performance.now()-i}a.trafficControl&&(yield we.pending(()=>{},a.trafficControl)),setTimeout(()=>{Vr.waitList.splice(Vr.waitList.findIndex(T=>T==a.key),1)},100);let S={ok:c,status:h,statusText:p,body:_,requestTime:l,rawData:b};if(!c&&this.onErrorCB&&this.onErrorCB(S.body),c&&this.onStreamCB&&a.response_format=="stream"){let T=(r=b.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:S,reader:T,decoder:new TextDecoder("utf-8")})}return c&&this.onCompleteCB&&this.onCompleteCB(S.body),this.onResultCB&&this.onResultCB(S,a),Vr.setDefaultOnEnd&&Vr.setDefaultOnEnd(S,a),S})},abortStream:function(){this.streamStatus="abort"}},Vr);Vr.prototype.instance.prototype=Vr.prototype;zh();we.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}}};we.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=[],i=[],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:d,To:c,name:h}=s;if(d<=r&&r<=c){let p=r-d+1;p==1&&(l=!0,p="\u5143"),i.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:i,gap:l}}};var XG=mW(bW());Vr.setDefaultHeaders=()=>({});var SW=we});var fE=qe(Ig=>{"use strict";(function(){"use strict";var r=er(),a=Symbol.for("react.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,D="@@iterator";function A(L){if(L===null||typeof L!="object")return null;var Y=k&&L[k]||L[D];return typeof Y=="function"?Y:null}var q=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function I(L){{for(var Y=arguments.length,ge=new Array(Y>1?Y-1:0),Ee=1;Ee<Y;Ee++)ge[Ee-1]=arguments[Ee];$("error",L,ge)}}function $(L,Y,ge){{var Ee=q.ReactDebugCurrentFrame,Ve=Ee.getStackAddendum();Ve!==""&&(Y+="%s",ge=ge.concat([Ve]));var ft=ge.map(function(et){return String(et)});ft.unshift("Warning: "+Y),Function.prototype.apply.call(console[L],console,ft)}}var F=!1,W=!1,P=!1,oe=!1,be=!1,Q;Q=Symbol.for("react.module.reference");function he(L){return!!(typeof L=="string"||typeof L=="function"||L===l||L===d||be||L===s||L===_||L===b||oe||L===w||F||W||P||typeof L=="object"&&L!==null&&(L.$$typeof===T||L.$$typeof===S||L.$$typeof===c||L.$$typeof===h||L.$$typeof===p||L.$$typeof===Q||L.getModuleId!==void 0))}function le(L,Y,ge){var Ee=L.displayName;if(Ee)return Ee;var Ve=Y.displayName||Y.name||"";return Ve!==""?ge+"("+Ve+")":ge}function Ce(L){return L.displayName||"Context"}function V(L){if(L==null)return null;if(typeof L.tag=="number"&&I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof L=="function")return L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case l:return"Fragment";case i:return"Portal";case d:return"Profiler";case s:return"StrictMode";case _:return"Suspense";case b:return"SuspenseList"}if(typeof L=="object")switch(L.$$typeof){case h:var Y=L;return Ce(Y)+".Consumer";case c:var ge=L;return Ce(ge._context)+".Provider";case p:return le(L,L.render,"ForwardRef");case S:var Ee=L.displayName||null;return Ee!==null?Ee:V(L.type)||"Memo";case T:{var Ve=L,ft=Ve._payload,et=Ve._init;try{return V(et(ft))}catch(Je){return null}}}return null}var re=Object.assign,ue=0,z,ee,te,se,me,De,Ae;function Oe(){}Oe.__reactDisabledLog=!0;function je(){{if(ue===0){z=console.log,ee=console.info,te=console.warn,se=console.error,me=console.group,De=console.groupCollapsed,Ae=console.groupEnd;var L={configurable:!0,enumerable:!0,value:Oe,writable:!0};Object.defineProperties(console,{info:L,log:L,warn:L,error:L,group:L,groupCollapsed:L,groupEnd:L})}ue++}}function Xe(){{if(ue--,ue===0){var L={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},L,{value:z}),info:re({},L,{value:ee}),warn:re({},L,{value:te}),error:re({},L,{value:se}),group:re({},L,{value:me}),groupCollapsed:re({},L,{value:De}),groupEnd:re({},L,{value:Ae})})}ue<0&&I("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var st=q.ReactCurrentDispatcher,Ot;function vt(L,Y,ge){{if(Ot===void 0)try{throw Error()}catch(Ve){var Ee=Ve.stack.trim().match(/\n( *(at )?)/);Ot=Ee&&Ee[1]||""}return`
|
|
150
150
|
`+Ot+L}}var Kt=!1,nr;{var or=typeof WeakMap=="function"?WeakMap:Map;nr=new or}function Ue(L,Y){if(!L||Kt)return"";{var ge=nr.get(L);if(ge!==void 0)return ge}var Ee;Kt=!0;var Ve=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ft;ft=st.current,st.current=null,je();try{if(Y){var et=function(){throw Error()};if(Object.defineProperty(et.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(et,[])}catch(na){Ee=na}Reflect.construct(L,[],et)}else{try{et.call()}catch(na){Ee=na}L.call(et.prototype)}}else{try{throw Error()}catch(na){Ee=na}L()}}catch(na){if(na&&Ee&&typeof na.stack=="string"){for(var Je=na.stack.split(`
|
|
151
151
|
`),xt=Ee.stack.split(`
|
|
152
152
|
`),Et=Je.length-1,It=xt.length-1;Et>=1&&It>=0&&Je[Et]!==xt[It];)It--;for(;Et>=1&&It>=0;Et--,It--)if(Je[Et]!==xt[It]){if(Et!==1||It!==1)do if(Et--,It--,It<0||Je[Et]!==xt[It]){var Ir=`
|
|
@@ -161,10 +161,10 @@ Check the top-level render call using <`+ge+">.")}return Y}}function ze(L,Y){{if
|
|
|
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} />`,Va,aa,At,aa),M[aa+Va]=!0}}return L===l?Ze(It):Ne(It),It}}function ne(L,Y,ge){return U(L,Y,ge,!0)}function de(L,Y,ge){return U(L,Y,ge,!1)}var We=de,Ie=ne;Ig.Fragment=l,Ig.jsx=We,Ig.jsxs=Ie})()});var
|
|
164
|
+
<%s key={someKey} {...props} />`,Va,aa,At,aa),M[aa+Va]=!0}}return L===l?Ze(It):Ne(It),It}}function ne(L,Y,ge){return U(L,Y,ge,!0)}function de(L,Y,ge){return U(L,Y,ge,!1)}var We=de,Ie=ne;Ig.Fragment=l,Ig.jsx=We,Ig.jsxs=Ie})()});var wt=qe((fq,pE)=>{"use strict";pE.exports=fE()});var gk={};Gc(gk,{api:()=>Do,config:()=>E$,counter:()=>z$,dom:()=>R$,findIconDefinition:()=>A$,icon:()=>L$,layer:()=>B$,library:()=>k$,noAuto:()=>T$,parse:()=>D$,text:()=>O$,toHtml:()=>N$});function _E(r,a){var i=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);a&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),i.push.apply(i,l)}return i}function mt(r){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?_E(Object(i),!0).forEach(function(l){ln(r,l,i[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):_E(Object(i)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(i,l))})}return r}function Qg(r){"@babel/helpers - typeof";return Qg=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},Qg(r)}function qW(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function bE(r,a){for(var i=0;i<a.length;i++){var l=a[i];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}function KW(r,a,i){return a&&bE(r.prototype,a),i&&bE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r}function ln(r,a,i){return a in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i,r}function b2(r,a){return JW(r)||ZW(r,a)||WE(r,a)||tY()}function Kh(r){return XW(r)||QW(r)||WE(r)||eY()}function XW(r){if(Array.isArray(r))return s2(r)}function JW(r){if(Array.isArray(r))return r}function QW(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function ZW(r,a){var i=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(i!=null){var l=[],s=!0,d=!1,c,h;try{for(i=i.call(r);!(s=(c=i.next()).done)&&(l.push(c.value),!(a&&l.length===a));s=!0);}catch(p){d=!0,h=p}finally{try{!s&&i.return!=null&&i.return()}finally{if(d)throw h}}return l}}function WE(r,a){if(r){if(typeof r=="string")return s2(r,a);var i=Object.prototype.toString.call(r).slice(8,-1);if(i==="Object"&&r.constructor&&(i=r.constructor.name),i==="Map"||i==="Set")return Array.from(r);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s2(r,a)}}function s2(r,a){(a==null||a>r.length)&&(a=r.length);for(var i=0,l=new Array(a);i<a;i++)l[i]=r[i];return l}function eY(){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 tY(){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 Xh(r){return new Proxy(r,{get:function(i,l){return l in i?i[l]:i[va]}})}function pY(r){var a=ga.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function hY(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function mY(r){return Vh.push(r),function(){Vh.splice(Vh.indexOf(r),1)}}function vY(r){if(!(!r||!lu)){var a=ga.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var i=ga.head.childNodes,l=null,s=i.length-1;s>-1;s--){var d=i[s],c=(d.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(l=d)}return ga.head.insertBefore(a,l),r}}function qh(){for(var r=12,a="";r-- >0;)a+=gY[Math.random()*62|0];return a}function kf(r){for(var a=[],i=(r||[]).length>>>0;i--;)a[i]=r[i];return a}function x2(r){return r.classList?kf(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function tk(r){return"".concat(r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function _Y(r){return Object.keys(r||{}).reduce(function(a,i){return a+"".concat(i,'="').concat(tk(r[i]),'" ')},"").trim()}function t_(r){return Object.keys(r||{}).reduce(function(a,i){return a+"".concat(i,": ").concat(r[i].trim(),";")},"")}function T2(r){return r.size!==ys.size||r.x!==ys.x||r.y!==ys.y||r.rotate!==ys.rotate||r.flipX||r.flipY}function bY(r){var a=r.transform,i=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(i/2," 256)")},d="translate(".concat(a.x*32,", ").concat(a.y*32,") "),c="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(d," ").concat(c," ").concat(h)},_={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:_}}function yY(r){var a=r.transform,i=r.width,l=i===void 0?u2:i,s=r.height,d=s===void 0?u2:s,c=r.startCentered,h=c===void 0?!1:c,p="";return h&&qE?p+="translate(".concat(a.x/ec-l/2,"em, ").concat(a.y/ec-d/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/ec,"em), calc(-50% + ").concat(a.y/ec,"em)) "):p+="translate(".concat(a.x/ec,"em, ").concat(a.y/ec,"em) "),p+="scale(".concat(a.size/ec*(a.flipX?-1:1),", ").concat(a.size/ec*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function rk(){var r=KE,a=XE,i=Tt.cssPrefix,l=Tt.replacementClass,s=SY;if(i!==r||l!==a){var d=new RegExp("\\.".concat(r,"\\-"),"g"),c=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(d,".".concat(i,"-")).replace(c,"--".concat(i,"-")).replace(h,".".concat(l))}return s}function n2(){Tt.autoAddCss&&!EE&&(vY(rk()),EE=!0)}function xY(r){lu&&(Zg?setTimeout(r,0):ak.push(r))}function Jh(r){var a=r.tag,i=r.attributes,l=i===void 0?{}:i,s=r.children,d=s===void 0?[]:s;return typeof r=="string"?tk(r):"<".concat(a," ").concat(_Y(l),">").concat(d.map(Jh).join(""),"</").concat(a,">")}function kE(r,a,i){if(r&&r[a]&&r[a][i])return{prefix:a,iconName:i,icon:r[a][i]}}function EY(r){for(var a=[],i=0,l=r.length;i<l;){var s=r.charCodeAt(i++);if(s>=55296&&s<=56319&&i<l){var d=r.charCodeAt(i++);(d&64512)==56320?a.push(((s&1023)<<10)+(d&1023)+65536):(a.push(s),i--)}else a.push(s)}return a}function d2(r){var a=EY(r);return a.length===1?a[0].toString(16):null}function kY(r,a){var i=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&i>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function RE(r){return Object.keys(r).reduce(function(a,i){var l=r[i],s=!!l.icon;return s?a[l.iconName]=l.icon:a[i]=l,a},{})}function f2(r,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=i.skipHooks,s=l===void 0?!1:l,d=RE(a);typeof Xl.hooks.addPack=="function"&&!s?Xl.hooks.addPack(r,RE(a)):Xl.styles[r]=mt(mt({},Xl.styles[r]||{}),d),r==="fas"&&f2("fa",a)}function NY(r){return~fY.indexOf(r)}function LY(r,a){var i=a.split("-"),l=i[0],s=i.slice(1).join("-");return l===r&&s!==""&&!NY(s)?s:null}function k2(r,a){return(nk[r]||{})[a]}function BY(r,a){return(ok[r]||{})[a]}function Zc(r,a){return(sk[r]||{})[a]}function ck(r){return ik[r]||{prefix:null,iconName:null}}function OY(r){var a=lk[r],i=k2("fas",r);return a||(i?{prefix:"fas",iconName:i}:null)||{prefix:null,iconName:null}}function rc(){return E2}function r_(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.family,l=i===void 0?va:i,s=Wh[l][r],d=Yh[l][r]||Yh[l][s],c=r in Xl.styles?r:null;return d||c||null}function a_(r){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=i.skipLookups,s=l===void 0?!1:l,d=(a={},ln(a,va,"".concat(Tt.cssPrefix,"-").concat(va)),ln(a,Pa,"".concat(Tt.cssPrefix,"-").concat(Pa)),a),c=null,h=va;(r.includes(d[va])||r.some(function(_){return DE[va].includes(_)}))&&(h=va),(r.includes(d[Pa])||r.some(function(_){return DE[Pa].includes(_)}))&&(h=Pa);var p=r.reduce(function(_,b){var S=LY(Tt.cssPrefix,b);if(Cf[b]?(b=DY[h].includes(b)?iY[h][b]:b,c=b,_.prefix=b):AY[h].indexOf(b)>-1?(c=b,_.prefix=r_(b,{family:h})):S?_.iconName=S:b!==Tt.replacementClass&&b!==d[va]&&b!==d[Pa]&&_.rest.push(b),!s&&_.prefix&&_.iconName){var T=c==="fa"?ck(_.iconName):{},C=Zc(_.prefix,_.iconName);T.prefix&&(c=null),_.iconName=T.iconName||C||_.iconName,_.prefix=T.prefix||_.prefix,_.prefix==="far"&&!Cf.far&&Cf.fas&&!Tt.autoFetchSvg&&(_.prefix="fas")}return _},R2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===Pa&&(Cf.fass||Tt.autoFetchSvg)&&(p.prefix="fass",p.iconName=Zc(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||c==="fa")&&(p.prefix=rc()||"fas"),p}function MY(r,a){var i=a.mixoutsTo;return AE=r,xf={},Object.keys(Tf).forEach(function(l){PY.indexOf(l)===-1&&delete Tf[l]}),AE.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(c){typeof s[c]=="function"&&(i[c]=s[c]),Qg(s[c])==="object"&&Object.keys(s[c]).forEach(function(h){i[c]||(i[c]={}),i[c][h]=s[c][h]})}),l.hooks){var d=l.hooks();Object.keys(d).forEach(function(c){xf[c]||(xf[c]=[]),xf[c].push(d[c])})}l.provides&&l.provides(Tf)}),i}function p2(r,a){for(var i=arguments.length,l=new Array(i>2?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];var d=xf[r]||[];return d.forEach(function(c){a=c.apply(null,[a].concat(l))}),a}function td(r){for(var a=arguments.length,i=new Array(a>1?a-1:0),l=1;l<a;l++)i[l-1]=arguments[l];var s=xf[r]||[];s.forEach(function(d){d.apply(null,i)})}function iu(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Tf[r]?Tf[r].apply(null,a):void 0}function h2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,i=r.prefix||rc();if(a)return a=Zc(i,a)||a,kE(dk.definitions,i,a)||kE(Xl.styles,i,a)}function n_(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return Jh(l)})}}),Object.defineProperty(r,"node",{get:function(){if(lu){var l=ga.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function UY(r){var a=r.children,i=r.main,l=r.mask,s=r.attributes,d=r.styles,c=r.transform;if(T2(c)&&i.found&&!l.found){var h=i.width,p=i.height,_={x:h/p/2,y:.5};s.style=t_(mt(mt({},d),{},{"transform-origin":"".concat(_.x+c.x/16,"em ").concat(_.y+c.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function VY(r){var a=r.prefix,i=r.iconName,l=r.children,s=r.attributes,d=r.symbol,c=d===!0?"".concat(a,"-").concat(Tt.cssPrefix,"-").concat(i):d;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mt(mt({},s),{},{id:c}),children:l}]}]}function D2(r){var a=r.icons,i=a.main,l=a.mask,s=r.prefix,d=r.iconName,c=r.transform,h=r.symbol,p=r.title,_=r.maskId,b=r.titleId,S=r.extra,T=r.watchable,C=T===void 0?!1:T,k=l.found?l:i,D=k.width,A=k.height,q=s==="fak",I=[Tt.replacementClass,d?"".concat(Tt.cssPrefix,"-").concat(d):""].filter(function(Q){return S.classes.indexOf(Q)===-1}).filter(function(Q){return Q!==""||!!Q}).concat(S.classes).join(" "),$={children:[],attributes:mt(mt({},S.attributes),{},{"data-prefix":s,"data-icon":d,class:I,role:S.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(D," ").concat(A)})},F=q&&!~S.classes.indexOf("fa-fw")?{width:"".concat(D/A*16*.0625,"em")}:{};C&&($.attributes[ed]=""),p&&($.children.push({tag:"title",attributes:{id:$.attributes["aria-labelledby"]||"title-".concat(b||qh())},children:[p]}),delete $.attributes.title);var W=mt(mt({},$),{},{prefix:s,iconName:d,main:i,mask:l,maskId:_,transform:c,symbol:h,styles:mt(mt({},F),S.styles)}),P=l.found&&i.found?iu("generateAbstractMask",W)||{children:[],attributes:{}}:iu("generateAbstractIcon",W)||{children:[],attributes:{}},oe=P.children,be=P.attributes;return W.children=oe,W.attributes=be,h?VY(W):UY(W)}function NE(r){var a=r.content,i=r.width,l=r.height,s=r.transform,d=r.title,c=r.extra,h=r.watchable,p=h===void 0?!1:h,_=mt(mt(mt({},c.attributes),d?{title:d}:{}),{},{class:c.classes.join(" ")});p&&(_[ed]="");var b=mt({},c.styles);T2(s)&&(b.transform=yY({transform:s,startCentered:!0,width:i,height:l}),b["-webkit-transform"]=b.transform);var S=t_(b);S.length>0&&(_.style=S);var T=[];return T.push({tag:"span",attributes:_,children:[a]}),d&&T.push({tag:"span",attributes:{class:"sr-only"},children:[d]}),T}function WY(r){var a=r.content,i=r.title,l=r.extra,s=mt(mt(mt({},l.attributes),i?{title:i}:{}),{},{class:l.classes.join(" ")}),d=t_(l.styles);d.length>0&&(s.style=d);var c=[];return c.push({tag:"span",attributes:s,children:[a]}),i&&c.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),c}function m2(r){var a=r[0],i=r[1],l=r.slice(4),s=b2(l,1),d=s[0],c=null;return Array.isArray(d)?c={tag:"g",attributes:{class:"".concat(Tt.cssPrefix,"-").concat(Qc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Tt.cssPrefix,"-").concat(Qc.SECONDARY),fill:"currentColor",d:d[0]}},{tag:"path",attributes:{class:"".concat(Tt.cssPrefix,"-").concat(Qc.PRIMARY),fill:"currentColor",d:d[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d}},{found:!0,width:a,height:i,icon:c}}function $Y(r,a){!JE&&!Tt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function v2(r,a){var i=a;return a==="fa"&&Tt.styleDefault!==null&&(a=rc()),new Promise(function(l,s){var d={found:!1,width:512,height:512,icon:iu("missingIconAbstract")||{}};if(i==="fa"){var c=ck(r)||{};r=c.iconName||r,a=c.prefix||a}if(r&&a&&i2[a]&&i2[a][r]){var h=i2[a][r];return l(m2(h))}$Y(r,a),l(mt(mt({},YY),{},{icon:Tt.showMissingIcons&&r?iu("missingIconAbstract")||{}:{}}))})}function BE(r){var a=r.getAttribute?r.getAttribute(ed):null;return typeof a=="string"}function qY(r){var a=r.getAttribute?r.getAttribute(S2):null,i=r.getAttribute?r.getAttribute(w2):null;return a&&i}function KY(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(Tt.replacementClass)}function XY(){if(Tt.autoReplaceSvg===!0)return Jg.replace;var r=Jg[Tt.autoReplaceSvg];return r||Jg.replace}function JY(r){return ga.createElementNS("http://www.w3.org/2000/svg",r)}function QY(r){return ga.createElement(r)}function pk(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.ceFn,l=i===void 0?r.tag==="svg"?JY:QY:i;if(typeof r=="string")return ga.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(c){s.setAttribute(c,r.attributes[c])});var d=r.children||[];return d.forEach(function(c){s.appendChild(pk(c,{ceFn:l}))}),s}function ZY(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function OE(r){r()}function hk(r,a){var i=typeof a=="function"?a:Xg;if(r.length===0)i();else{var l=OE;Tt.mutateApproach===nY&&(l=tc.requestAnimationFrame||OE),l(function(){var s=XY(),d=A2.begin("mutate");r.map(s),d(),i()})}}function mk(){N2=!0}function _2(){N2=!1}function zE(r){if(CE&&Tt.observeMutations){var a=r.treeCallback,i=a===void 0?Xg:a,l=r.nodeCallback,s=l===void 0?Xg:l,d=r.pseudoElementsCallback,c=d===void 0?Xg:d,h=r.observeMutationsRoot,p=h===void 0?ga:h;e_=new CE(function(_){if(!N2){var b=rc();kf(_).forEach(function(S){if(S.type==="childList"&&S.addedNodes.length>0&&!BE(S.addedNodes[0])&&(Tt.searchPseudoElements&&c(S.target),i(S.target)),S.type==="attributes"&&S.target.parentNode&&Tt.searchPseudoElements&&c(S.target.parentNode),S.type==="attributes"&&BE(S.target)&&~dY.indexOf(S.attributeName))if(S.attributeName==="class"&&qY(S.target)){var T=a_(x2(S.target)),C=T.prefix,k=T.iconName;S.target.setAttribute(S2,C||b),k&&S.target.setAttribute(w2,k)}else KY(S.target)&&s(S.target)})}}),lu&&e_.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function e$(){e_&&e_.disconnect()}function t$(r){var a=r.getAttribute("style"),i=[];return a&&(i=a.split(";").reduce(function(l,s){var d=s.split(":"),c=d[0],h=d.slice(1);return c&&h.length>0&&(l[c]=h.join(":").trim()),l},{})),i}function r$(r){var a=r.getAttribute("data-prefix"),i=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=a_(x2(r));return s.prefix||(s.prefix=rc()),a&&i&&(s.prefix=a,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=BY(s.prefix,r.innerText)||k2(s.prefix,d2(r.innerText))),!s.iconName&&Tt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function a$(r){var a=kf(r.attributes).reduce(function(s,d){return s.name!=="class"&&s.name!=="style"&&(s[d.name]=d.value),s},{}),i=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return Tt.autoA11y&&(i?a["aria-labelledby"]="".concat(Tt.replacementClass,"-title-").concat(l||qh()):(a["aria-hidden"]="true",a.focusable="false")),a}function n$(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ys,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function PE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},i=r$(r),l=i.iconName,s=i.prefix,d=i.rest,c=a$(r),h=p2("parseNodeAttributes",{},r),p=a.styleParser?t$(r):[];return mt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:ys,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:d,styles:p,attributes:c}},h)}function vk(r){var a=Tt.autoReplaceSvg==="nest"?PE(r,{styleParser:!1}):PE(r);return~a.extra.classes.indexOf(QE)?iu("generateLayersText",r,a):iu("generateSvgReplacementMutation",r,a)}function ME(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!lu)return Promise.resolve();var i=ga.documentElement.classList,l=function(S){return i.add("".concat(xE,"-").concat(S))},s=function(S){return i.remove("".concat(xE,"-").concat(S))},d=Tt.autoFetchSvg?ac:C2.map(function(b){return"fa-".concat(b)}).concat(Object.keys(o$));d.includes("fa")||d.push("fa");var c=[".".concat(QE,":not([").concat(ed,"])")].concat(d.map(function(b){return".".concat(b,":not([").concat(ed,"])")})).join(", ");if(c.length===0)return Promise.resolve();var h=[];try{h=kf(r.querySelectorAll(c))}catch(b){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=A2.begin("onTree"),_=h.reduce(function(b,S){try{var T=vk(S);T&&b.push(T)}catch(C){JE||C.name==="MissingIcon"&&console.error(C)}return b},[]);return new Promise(function(b,S){Promise.all(_).then(function(T){hk(T,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),b()})}).catch(function(T){p(),S(T)})})}function i$(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;vk(r).then(function(i){i&&hk([i],a)})}function l$(r){return function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:h2(a||{}),s=i.mask;return s&&(s=(s||{}).icon?s:h2(s||{})),r(l,mt(mt({},i),{},{mask:s}))}}function h$(r){var a=r.replace(p$,""),i=kY(a,0),l=i>=IE[0]&&i<=IE[1],s=a.length===2?a[0]===a[1]:!1;return{value:d2(s?a[0]:a),isSecondary:l||s}}function FE(r,a){var i="".concat(aY).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(i)!==null)return l();var d=kf(r.children),c=d.filter(function(oe){return oe.getAttribute(c2)===a})[0],h=tc.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(sY),_=h.getPropertyValue("font-weight"),b=h.getPropertyValue("content");if(c&&!p)return r.removeChild(c),l();if(p&&b!=="none"&&b!==""){var S=h.getPropertyValue("content"),T=~["Sharp"].indexOf(p[2])?Pa:va,C=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Yh[T][p[2].toLowerCase()]:uY[T][_],k=h$(S),D=k.value,A=k.isSecondary,q=p[0].startsWith("FontAwesome"),I=k2(C,D),$=I;if(q){var F=OY(D);F.iconName&&F.prefix&&(I=F.iconName,C=F.prefix)}if(I&&!A&&(!c||c.getAttribute(S2)!==C||c.getAttribute(w2)!==$)){r.setAttribute(i,$),c&&r.removeChild(c);var W=n$(),P=W.extra;P.attributes[c2]=a,v2(I,C).then(function(oe){var be=D2(mt(mt({},W),{},{icons:{main:oe,mask:R2()},prefix:C,iconName:$,extra:P,watchable:!0})),Q=ga.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(Q,r.firstChild):r.appendChild(Q),Q.outerHTML=be.map(function(he){return Jh(he)}).join(`
|
|
167
|
-
`),r.removeAttribute(i),l()}).catch(s)}else l()}else l()})}function m$(r){return Promise.all([FE(r,"::before"),FE(r,"::after")])}function v$(r){return r.parentNode!==document.head&&!~oY.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(c2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function HE(r){if(lu)return new Promise(function(a,i){var l=kf(r.querySelectorAll("*")).filter(v$).map(m$),s=A2.begin("searchPseudoElements");mk(),Promise.all(l).then(function(){s(),_2(),a()}).catch(function(){s(),_2(),i()})})}function VE(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 y$(r){return r.tag==="g"?r.children:[r]}var yE,y2,YE,$E,GE,rY,SE,
|
|
166
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xh(r){return new Proxy(r,{get:function(i,l){return l in i?i[l]:i[va]}})}function pY(r){var a=ga.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function hY(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function mY(r){return Vh.push(r),function(){Vh.splice(Vh.indexOf(r),1)}}function vY(r){if(!(!r||!lu)){var a=ga.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var i=ga.head.childNodes,l=null,s=i.length-1;s>-1;s--){var d=i[s],c=(d.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(l=d)}return ga.head.insertBefore(a,l),r}}function qh(){for(var r=12,a="";r-- >0;)a+=gY[Math.random()*62|0];return a}function kf(r){for(var a=[],i=(r||[]).length>>>0;i--;)a[i]=r[i];return a}function x2(r){return r.classList?kf(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function tk(r){return"".concat(r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function _Y(r){return Object.keys(r||{}).reduce(function(a,i){return a+"".concat(i,'="').concat(tk(r[i]),'" ')},"").trim()}function t_(r){return Object.keys(r||{}).reduce(function(a,i){return a+"".concat(i,": ").concat(r[i].trim(),";")},"")}function T2(r){return r.size!==ys.size||r.x!==ys.x||r.y!==ys.y||r.rotate!==ys.rotate||r.flipX||r.flipY}function bY(r){var a=r.transform,i=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(i/2," 256)")},d="translate(".concat(a.x*32,", ").concat(a.y*32,") "),c="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(d," ").concat(c," ").concat(h)},_={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:_}}function yY(r){var a=r.transform,i=r.width,l=i===void 0?u2:i,s=r.height,d=s===void 0?u2:s,c=r.startCentered,h=c===void 0?!1:c,p="";return h&&qE?p+="translate(".concat(a.x/ec-l/2,"em, ").concat(a.y/ec-d/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/ec,"em), calc(-50% + ").concat(a.y/ec,"em)) "):p+="translate(".concat(a.x/ec,"em, ").concat(a.y/ec,"em) "),p+="scale(".concat(a.size/ec*(a.flipX?-1:1),", ").concat(a.size/ec*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function rk(){var r=KE,a=XE,i=Tt.cssPrefix,l=Tt.replacementClass,s=SY;if(i!==r||l!==a){var d=new RegExp("\\.".concat(r,"\\-"),"g"),c=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(d,".".concat(i,"-")).replace(c,"--".concat(i,"-")).replace(h,".".concat(l))}return s}function n2(){Tt.autoAddCss&&!EE&&(vY(rk()),EE=!0)}function xY(r){lu&&(Zg?setTimeout(r,0):ak.push(r))}function Jh(r){var a=r.tag,i=r.attributes,l=i===void 0?{}:i,s=r.children,d=s===void 0?[]:s;return typeof r=="string"?tk(r):"<".concat(a," ").concat(_Y(l),">").concat(d.map(Jh).join(""),"</").concat(a,">")}function kE(r,a,i){if(r&&r[a]&&r[a][i])return{prefix:a,iconName:i,icon:r[a][i]}}function EY(r){for(var a=[],i=0,l=r.length;i<l;){var s=r.charCodeAt(i++);if(s>=55296&&s<=56319&&i<l){var d=r.charCodeAt(i++);(d&64512)==56320?a.push(((s&1023)<<10)+(d&1023)+65536):(a.push(s),i--)}else a.push(s)}return a}function d2(r){var a=EY(r);return a.length===1?a[0].toString(16):null}function kY(r,a){var i=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&i>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function RE(r){return Object.keys(r).reduce(function(a,i){var l=r[i],s=!!l.icon;return s?a[l.iconName]=l.icon:a[i]=l,a},{})}function f2(r,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=i.skipHooks,s=l===void 0?!1:l,d=RE(a);typeof Xl.hooks.addPack=="function"&&!s?Xl.hooks.addPack(r,RE(a)):Xl.styles[r]=mt(mt({},Xl.styles[r]||{}),d),r==="fas"&&f2("fa",a)}function NY(r){return~fY.indexOf(r)}function LY(r,a){var i=a.split("-"),l=i[0],s=i.slice(1).join("-");return l===r&&s!==""&&!NY(s)?s:null}function k2(r,a){return(nk[r]||{})[a]}function BY(r,a){return(ok[r]||{})[a]}function Zc(r,a){return(sk[r]||{})[a]}function ck(r){return ik[r]||{prefix:null,iconName:null}}function OY(r){var a=lk[r],i=k2("fas",r);return a||(i?{prefix:"fas",iconName:i}:null)||{prefix:null,iconName:null}}function rc(){return E2}function r_(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.family,l=i===void 0?va:i,s=Wh[l][r],d=Yh[l][r]||Yh[l][s],c=r in Xl.styles?r:null;return d||c||null}function a_(r){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=i.skipLookups,s=l===void 0?!1:l,d=(a={},ln(a,va,"".concat(Tt.cssPrefix,"-").concat(va)),ln(a,Pa,"".concat(Tt.cssPrefix,"-").concat(Pa)),a),c=null,h=va;(r.includes(d[va])||r.some(function(_){return DE[va].includes(_)}))&&(h=va),(r.includes(d[Pa])||r.some(function(_){return DE[Pa].includes(_)}))&&(h=Pa);var p=r.reduce(function(_,b){var S=LY(Tt.cssPrefix,b);if(wf[b]?(b=DY[h].includes(b)?iY[h][b]:b,c=b,_.prefix=b):AY[h].indexOf(b)>-1?(c=b,_.prefix=r_(b,{family:h})):S?_.iconName=S:b!==Tt.replacementClass&&b!==d[va]&&b!==d[Pa]&&_.rest.push(b),!s&&_.prefix&&_.iconName){var T=c==="fa"?ck(_.iconName):{},w=Zc(_.prefix,_.iconName);T.prefix&&(c=null),_.iconName=T.iconName||w||_.iconName,_.prefix=T.prefix||_.prefix,_.prefix==="far"&&!wf.far&&wf.fas&&!Tt.autoFetchSvg&&(_.prefix="fas")}return _},R2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===Pa&&(wf.fass||Tt.autoFetchSvg)&&(p.prefix="fass",p.iconName=Zc(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||c==="fa")&&(p.prefix=rc()||"fas"),p}function MY(r,a){var i=a.mixoutsTo;return AE=r,xf={},Object.keys(Tf).forEach(function(l){PY.indexOf(l)===-1&&delete Tf[l]}),AE.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(c){typeof s[c]=="function"&&(i[c]=s[c]),Qg(s[c])==="object"&&Object.keys(s[c]).forEach(function(h){i[c]||(i[c]={}),i[c][h]=s[c][h]})}),l.hooks){var d=l.hooks();Object.keys(d).forEach(function(c){xf[c]||(xf[c]=[]),xf[c].push(d[c])})}l.provides&&l.provides(Tf)}),i}function p2(r,a){for(var i=arguments.length,l=new Array(i>2?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];var d=xf[r]||[];return d.forEach(function(c){a=c.apply(null,[a].concat(l))}),a}function td(r){for(var a=arguments.length,i=new Array(a>1?a-1:0),l=1;l<a;l++)i[l-1]=arguments[l];var s=xf[r]||[];s.forEach(function(d){d.apply(null,i)})}function iu(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Tf[r]?Tf[r].apply(null,a):void 0}function h2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,i=r.prefix||rc();if(a)return a=Zc(i,a)||a,kE(dk.definitions,i,a)||kE(Xl.styles,i,a)}function n_(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return Jh(l)})}}),Object.defineProperty(r,"node",{get:function(){if(lu){var l=ga.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function UY(r){var a=r.children,i=r.main,l=r.mask,s=r.attributes,d=r.styles,c=r.transform;if(T2(c)&&i.found&&!l.found){var h=i.width,p=i.height,_={x:h/p/2,y:.5};s.style=t_(mt(mt({},d),{},{"transform-origin":"".concat(_.x+c.x/16,"em ").concat(_.y+c.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function VY(r){var a=r.prefix,i=r.iconName,l=r.children,s=r.attributes,d=r.symbol,c=d===!0?"".concat(a,"-").concat(Tt.cssPrefix,"-").concat(i):d;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mt(mt({},s),{},{id:c}),children:l}]}]}function D2(r){var a=r.icons,i=a.main,l=a.mask,s=r.prefix,d=r.iconName,c=r.transform,h=r.symbol,p=r.title,_=r.maskId,b=r.titleId,S=r.extra,T=r.watchable,w=T===void 0?!1:T,k=l.found?l:i,D=k.width,A=k.height,q=s==="fak",I=[Tt.replacementClass,d?"".concat(Tt.cssPrefix,"-").concat(d):""].filter(function(Q){return S.classes.indexOf(Q)===-1}).filter(function(Q){return Q!==""||!!Q}).concat(S.classes).join(" "),$={children:[],attributes:mt(mt({},S.attributes),{},{"data-prefix":s,"data-icon":d,class:I,role:S.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(D," ").concat(A)})},F=q&&!~S.classes.indexOf("fa-fw")?{width:"".concat(D/A*16*.0625,"em")}:{};w&&($.attributes[ed]=""),p&&($.children.push({tag:"title",attributes:{id:$.attributes["aria-labelledby"]||"title-".concat(b||qh())},children:[p]}),delete $.attributes.title);var W=mt(mt({},$),{},{prefix:s,iconName:d,main:i,mask:l,maskId:_,transform:c,symbol:h,styles:mt(mt({},F),S.styles)}),P=l.found&&i.found?iu("generateAbstractMask",W)||{children:[],attributes:{}}:iu("generateAbstractIcon",W)||{children:[],attributes:{}},oe=P.children,be=P.attributes;return W.children=oe,W.attributes=be,h?VY(W):UY(W)}function NE(r){var a=r.content,i=r.width,l=r.height,s=r.transform,d=r.title,c=r.extra,h=r.watchable,p=h===void 0?!1:h,_=mt(mt(mt({},c.attributes),d?{title:d}:{}),{},{class:c.classes.join(" ")});p&&(_[ed]="");var b=mt({},c.styles);T2(s)&&(b.transform=yY({transform:s,startCentered:!0,width:i,height:l}),b["-webkit-transform"]=b.transform);var S=t_(b);S.length>0&&(_.style=S);var T=[];return T.push({tag:"span",attributes:_,children:[a]}),d&&T.push({tag:"span",attributes:{class:"sr-only"},children:[d]}),T}function WY(r){var a=r.content,i=r.title,l=r.extra,s=mt(mt(mt({},l.attributes),i?{title:i}:{}),{},{class:l.classes.join(" ")}),d=t_(l.styles);d.length>0&&(s.style=d);var c=[];return c.push({tag:"span",attributes:s,children:[a]}),i&&c.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),c}function m2(r){var a=r[0],i=r[1],l=r.slice(4),s=b2(l,1),d=s[0],c=null;return Array.isArray(d)?c={tag:"g",attributes:{class:"".concat(Tt.cssPrefix,"-").concat(Qc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Tt.cssPrefix,"-").concat(Qc.SECONDARY),fill:"currentColor",d:d[0]}},{tag:"path",attributes:{class:"".concat(Tt.cssPrefix,"-").concat(Qc.PRIMARY),fill:"currentColor",d:d[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d}},{found:!0,width:a,height:i,icon:c}}function $Y(r,a){!JE&&!Tt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function v2(r,a){var i=a;return a==="fa"&&Tt.styleDefault!==null&&(a=rc()),new Promise(function(l,s){var d={found:!1,width:512,height:512,icon:iu("missingIconAbstract")||{}};if(i==="fa"){var c=ck(r)||{};r=c.iconName||r,a=c.prefix||a}if(r&&a&&i2[a]&&i2[a][r]){var h=i2[a][r];return l(m2(h))}$Y(r,a),l(mt(mt({},YY),{},{icon:Tt.showMissingIcons&&r?iu("missingIconAbstract")||{}:{}}))})}function BE(r){var a=r.getAttribute?r.getAttribute(ed):null;return typeof a=="string"}function qY(r){var a=r.getAttribute?r.getAttribute(S2):null,i=r.getAttribute?r.getAttribute(C2):null;return a&&i}function KY(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(Tt.replacementClass)}function XY(){if(Tt.autoReplaceSvg===!0)return Jg.replace;var r=Jg[Tt.autoReplaceSvg];return r||Jg.replace}function JY(r){return ga.createElementNS("http://www.w3.org/2000/svg",r)}function QY(r){return ga.createElement(r)}function pk(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.ceFn,l=i===void 0?r.tag==="svg"?JY:QY:i;if(typeof r=="string")return ga.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(c){s.setAttribute(c,r.attributes[c])});var d=r.children||[];return d.forEach(function(c){s.appendChild(pk(c,{ceFn:l}))}),s}function ZY(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function OE(r){r()}function hk(r,a){var i=typeof a=="function"?a:Xg;if(r.length===0)i();else{var l=OE;Tt.mutateApproach===nY&&(l=tc.requestAnimationFrame||OE),l(function(){var s=XY(),d=A2.begin("mutate");r.map(s),d(),i()})}}function mk(){N2=!0}function _2(){N2=!1}function zE(r){if(wE&&Tt.observeMutations){var a=r.treeCallback,i=a===void 0?Xg:a,l=r.nodeCallback,s=l===void 0?Xg:l,d=r.pseudoElementsCallback,c=d===void 0?Xg:d,h=r.observeMutationsRoot,p=h===void 0?ga:h;e_=new wE(function(_){if(!N2){var b=rc();kf(_).forEach(function(S){if(S.type==="childList"&&S.addedNodes.length>0&&!BE(S.addedNodes[0])&&(Tt.searchPseudoElements&&c(S.target),i(S.target)),S.type==="attributes"&&S.target.parentNode&&Tt.searchPseudoElements&&c(S.target.parentNode),S.type==="attributes"&&BE(S.target)&&~dY.indexOf(S.attributeName))if(S.attributeName==="class"&&qY(S.target)){var T=a_(x2(S.target)),w=T.prefix,k=T.iconName;S.target.setAttribute(S2,w||b),k&&S.target.setAttribute(C2,k)}else KY(S.target)&&s(S.target)})}}),lu&&e_.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function e$(){e_&&e_.disconnect()}function t$(r){var a=r.getAttribute("style"),i=[];return a&&(i=a.split(";").reduce(function(l,s){var d=s.split(":"),c=d[0],h=d.slice(1);return c&&h.length>0&&(l[c]=h.join(":").trim()),l},{})),i}function r$(r){var a=r.getAttribute("data-prefix"),i=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=a_(x2(r));return s.prefix||(s.prefix=rc()),a&&i&&(s.prefix=a,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=BY(s.prefix,r.innerText)||k2(s.prefix,d2(r.innerText))),!s.iconName&&Tt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function a$(r){var a=kf(r.attributes).reduce(function(s,d){return s.name!=="class"&&s.name!=="style"&&(s[d.name]=d.value),s},{}),i=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return Tt.autoA11y&&(i?a["aria-labelledby"]="".concat(Tt.replacementClass,"-title-").concat(l||qh()):(a["aria-hidden"]="true",a.focusable="false")),a}function n$(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ys,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function PE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},i=r$(r),l=i.iconName,s=i.prefix,d=i.rest,c=a$(r),h=p2("parseNodeAttributes",{},r),p=a.styleParser?t$(r):[];return mt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:ys,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:d,styles:p,attributes:c}},h)}function vk(r){var a=Tt.autoReplaceSvg==="nest"?PE(r,{styleParser:!1}):PE(r);return~a.extra.classes.indexOf(QE)?iu("generateLayersText",r,a):iu("generateSvgReplacementMutation",r,a)}function ME(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!lu)return Promise.resolve();var i=ga.documentElement.classList,l=function(S){return i.add("".concat(xE,"-").concat(S))},s=function(S){return i.remove("".concat(xE,"-").concat(S))},d=Tt.autoFetchSvg?ac:w2.map(function(b){return"fa-".concat(b)}).concat(Object.keys(o$));d.includes("fa")||d.push("fa");var c=[".".concat(QE,":not([").concat(ed,"])")].concat(d.map(function(b){return".".concat(b,":not([").concat(ed,"])")})).join(", ");if(c.length===0)return Promise.resolve();var h=[];try{h=kf(r.querySelectorAll(c))}catch(b){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=A2.begin("onTree"),_=h.reduce(function(b,S){try{var T=vk(S);T&&b.push(T)}catch(w){JE||w.name==="MissingIcon"&&console.error(w)}return b},[]);return new Promise(function(b,S){Promise.all(_).then(function(T){hk(T,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),b()})}).catch(function(T){p(),S(T)})})}function i$(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;vk(r).then(function(i){i&&hk([i],a)})}function l$(r){return function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:h2(a||{}),s=i.mask;return s&&(s=(s||{}).icon?s:h2(s||{})),r(l,mt(mt({},i),{},{mask:s}))}}function h$(r){var a=r.replace(p$,""),i=kY(a,0),l=i>=IE[0]&&i<=IE[1],s=a.length===2?a[0]===a[1]:!1;return{value:d2(s?a[0]:a),isSecondary:l||s}}function FE(r,a){var i="".concat(aY).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(i)!==null)return l();var d=kf(r.children),c=d.filter(function(oe){return oe.getAttribute(c2)===a})[0],h=tc.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(sY),_=h.getPropertyValue("font-weight"),b=h.getPropertyValue("content");if(c&&!p)return r.removeChild(c),l();if(p&&b!=="none"&&b!==""){var S=h.getPropertyValue("content"),T=~["Sharp"].indexOf(p[2])?Pa:va,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Yh[T][p[2].toLowerCase()]:uY[T][_],k=h$(S),D=k.value,A=k.isSecondary,q=p[0].startsWith("FontAwesome"),I=k2(w,D),$=I;if(q){var F=OY(D);F.iconName&&F.prefix&&(I=F.iconName,w=F.prefix)}if(I&&!A&&(!c||c.getAttribute(S2)!==w||c.getAttribute(C2)!==$)){r.setAttribute(i,$),c&&r.removeChild(c);var W=n$(),P=W.extra;P.attributes[c2]=a,v2(I,w).then(function(oe){var be=D2(mt(mt({},W),{},{icons:{main:oe,mask:R2()},prefix:w,iconName:$,extra:P,watchable:!0})),Q=ga.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(Q,r.firstChild):r.appendChild(Q),Q.outerHTML=be.map(function(he){return Jh(he)}).join(`
|
|
167
|
+
`),r.removeAttribute(i),l()}).catch(s)}else l()}else l()})}function m$(r){return Promise.all([FE(r,"::before"),FE(r,"::after")])}function v$(r){return r.parentNode!==document.head&&!~oY.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(c2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function HE(r){if(lu)return new Promise(function(a,i){var l=kf(r.querySelectorAll("*")).filter(v$).map(m$),s=A2.begin("searchPseudoElements");mk(),Promise.all(l).then(function(){s(),_2(),a()}).catch(function(){s(),_2(),i()})})}function VE(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 y$(r){return r.tag==="g"?r.children:[r]}var yE,y2,YE,$E,GE,rY,SE,CE,tc,ga,wE,jg,Cq,lu,qE,Ug,Vg,Wg,Yg,$g,nu,u2,KE,XE,ed,c2,aY,S2,C2,xE,nY,oY,JE,va,Pa,w2,Wh,Yh,$h,iY,lY,QE,sY,uY,ZE,cY,dY,Qc,Gh,fY,Uh,TE,ek,Ef,Tt,Vh,ec,ys,gY,SY,EE,CY,ou,Xl,ak,wY,Zg,TY,o2,Gg,qg,Kg,wf,RY,DY,E2,nk,ok,ik,lk,sk,AY,uk,R2,DE,zY,AE,xf,Tf,PY,dk,IY,FY,HY,Do,jY,i2,YY,LE,g2,jh,GY,fk,A2,Xg,Jg,N2,e_,o$,ac,s$,u$,c$,d$,f$,p$,IE,g$,jE,_$,UE,b$,l2,S$,C$,w$,x$,T$,E$,k$,R$,D$,A$,N$,L$,B$,O$,z$,_k=sV(()=>{yE=function(){},y2={},YE={},$E=null,GE={mark:yE,measure:yE};try{typeof window!="undefined"&&(y2=window),typeof document!="undefined"&&(YE=document),typeof MutationObserver!="undefined"&&($E=MutationObserver),typeof performance!="undefined"&&(GE=performance)}catch(r){}rY=y2.navigator||{},SE=rY.userAgent,CE=SE===void 0?"":SE,tc=y2,ga=YE,wE=$E,jg=GE,Cq=!!tc.document,lu=!!ga.documentElement&&!!ga.head&&typeof ga.addEventListener=="function"&&typeof ga.createElement=="function",qE=~CE.indexOf("MSIE")||~CE.indexOf("Trident/"),nu="___FONT_AWESOME___",u2=16,KE="fa",XE="svg-inline--fa",ed="data-fa-i2svg",c2="data-fa-pseudo-element",aY="data-fa-pseudo-element-pending",S2="data-prefix",C2="data-icon",xE="fontawesome-i2svg",nY="async",oY=["HTML","HEAD","STYLE","SCRIPT"],JE=function(){try{return!1}catch(r){return!1}}(),va="classic",Pa="sharp",w2=[va,Pa];Wh=Xh((Ug={},ln(Ug,va,{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"}),ln(Ug,Pa,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Ug)),Yh=Xh((Vg={},ln(Vg,va,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),ln(Vg,Pa,{solid:"fass",regular:"fasr",light:"fasl"}),Vg)),$h=Xh((Wg={},ln(Wg,va,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),ln(Wg,Pa,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Wg)),iY=Xh((Yg={},ln(Yg,va,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),ln(Yg,Pa,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Yg)),lY=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,QE="fa-layers-text",sY=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,uY=Xh(($g={},ln($g,va,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),ln($g,Pa,{900:"fass",400:"fasr",300:"fasl"}),$g)),ZE=[1,2,3,4,5,6,7,8,9,10],cY=ZE.concat([11,12,13,14,15,16,17,18,19,20]),dY=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Qc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Gh=new Set;Object.keys(Yh[va]).map(Gh.add.bind(Gh));Object.keys(Yh[Pa]).map(Gh.add.bind(Gh));fY=[].concat(w2,Kh(Gh),["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",Qc.GROUP,Qc.SWAP_OPACITY,Qc.PRIMARY,Qc.SECONDARY]).concat(ZE.map(function(r){return"".concat(r,"x")})).concat(cY.map(function(r){return"w-".concat(r)})),Uh=tc.FontAwesomeConfig||{};ga&&typeof ga.querySelector=="function"&&(TE=[["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"]],TE.forEach(function(r){var a=b2(r,2),i=a[0],l=a[1],s=hY(pY(i));s!=null&&(Uh[l]=s)}));ek={styleDefault:"solid",familyDefault:"classic",cssPrefix:KE,replacementClass:XE,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Uh.familyPrefix&&(Uh.cssPrefix=Uh.familyPrefix);Ef=mt(mt({},ek),Uh);Ef.autoReplaceSvg||(Ef.observeMutations=!1);Tt={};Object.keys(ek).forEach(function(r){Object.defineProperty(Tt,r,{enumerable:!0,set:function(i){Ef[r]=i,Vh.forEach(function(l){return l(Tt)})},get:function(){return Ef[r]}})});Object.defineProperty(Tt,"familyPrefix",{enumerable:!0,set:function(a){Ef.cssPrefix=a,Vh.forEach(function(i){return i(Tt)})},get:function(){return Ef.cssPrefix}});tc.FontAwesomeConfig=Tt;Vh=[];ec=u2,ys={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};gY="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";SY=`: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,12 +920,12 @@ 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
|
-
}`;EE=!1;
|
|
924
|
-
`);i.setAttribute(ed,""),i.innerHTML=c}};N2=!1;e_=null;o$=Xl.styles;ac=new Set;C2.map(function(r){ac.add("fa-".concat(r))});Object.keys(Wh[va]).map(ac.add.bind(ac));Object.keys(Wh[Pa]).map(ac.add.bind(ac));ac=Kh(ac);s$=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=i.transform,s=l===void 0?ys:l,d=i.symbol,c=d===void 0?!1:d,h=i.mask,p=h===void 0?null:h,_=i.maskId,b=_===void 0?null:_,S=i.title,T=S===void 0?null:S,C=i.titleId,k=C===void 0?null:C,D=i.classes,A=D===void 0?[]:D,q=i.attributes,I=q===void 0?{}:q,$=i.styles,F=$===void 0?{}:$;if(a){var W=a.prefix,P=a.iconName,oe=a.icon;return n_(mt({type:"icon"},a),function(){return td("beforeDOMElementCreation",{iconDefinition:a,params:i}),Tt.autoA11y&&(T?I["aria-labelledby"]="".concat(Tt.replacementClass,"-title-").concat(k||qh()):(I["aria-hidden"]="true",I.focusable="false")),D2({icons:{main:m2(oe),mask:p?m2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:W,iconName:P,transform:mt(mt({},ys),s),symbol:c,title:T,maskId:b,titleId:k,extra:{attributes:I,styles:F,classes:A}})})}},u$={mixout:function(){return{icon:l$(s$)}},hooks:function(){return{mutationObserverCallbacks:function(i){return i.treeCallback=ME,i.nodeCallback=i$,i}}},provides:function(a){a.i2svg=function(i){var l=i.node,s=l===void 0?ga:l,d=i.callback,c=d===void 0?function(){}:d;return ME(s,c)},a.generateSvgReplacementMutation=function(i,l){var s=l.iconName,d=l.title,c=l.titleId,h=l.prefix,p=l.transform,_=l.symbol,b=l.mask,S=l.maskId,T=l.extra;return new Promise(function(C,k){Promise.all([v2(s,h),b.iconName?v2(b.iconName,b.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(D){var A=b2(D,2),q=A[0],I=A[1];C([i,D2({icons:{main:q,mask:I},prefix:h,iconName:s,transform:p,symbol:_,maskId:S,title:d,titleId:c,extra:T,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(i){var l=i.children,s=i.attributes,d=i.main,c=i.transform,h=i.styles,p=t_(h);p.length>0&&(s.style=p);var _;return T2(c)&&(_=iu("generateAbstractTransformGrouping",{main:d,transform:c,containerWidth:d.width,iconWidth:d.width})),l.push(_||d.icon),{children:l,attributes:s}}}},c$={mixout:function(){return{layer:function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,d=s===void 0?[]:s;return n_({type:"layer"},function(){td("beforeDOMElementCreation",{assembler:i,params:l});var c=[];return i(function(h){Array.isArray(h)?h.map(function(p){c=c.concat(p.abstract)}):c=c.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(Tt.cssPrefix,"-layers")].concat(Kh(d)).join(" ")},children:c}]})}}}},d$={mixout:function(){return{counter:function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,d=s===void 0?null:s,c=l.classes,h=c===void 0?[]:c,p=l.attributes,_=p===void 0?{}:p,b=l.styles,S=b===void 0?{}:b;return n_({type:"counter",content:i},function(){return td("beforeDOMElementCreation",{content:i,params:l}),WY({content:i.toString(),title:d,extra:{attributes:_,styles:S,classes:["".concat(Tt.cssPrefix,"-layers-counter")].concat(Kh(h))}})})}}}},f$={mixout:function(){return{text:function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,d=s===void 0?ys:s,c=l.title,h=c===void 0?null:c,p=l.classes,_=p===void 0?[]:p,b=l.attributes,S=b===void 0?{}:b,T=l.styles,C=T===void 0?{}:T;return n_({type:"text",content:i},function(){return td("beforeDOMElementCreation",{content:i,params:l}),NE({content:i,transform:mt(mt({},ys),d),title:h,extra:{attributes:S,styles:C,classes:["".concat(Tt.cssPrefix,"-layers-text")].concat(Kh(_))}})})}}},provides:function(a){a.generateLayersText=function(i,l){var s=l.title,d=l.transform,c=l.extra,h=null,p=null;if(qE){var _=parseInt(getComputedStyle(i).fontSize,10),b=i.getBoundingClientRect();h=b.width/_,p=b.height/_}return Tt.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([i,NE({content:i.innerHTML,width:h,height:p,transform:d,title:s,extra:c,watchable:!0})])}}},p$=new RegExp('"',"ug"),IE=[1105920,1112319];g$={hooks:function(){return{mutationObserverCallbacks:function(i){return i.pseudoElementsCallback=HE,i}}},provides:function(a){a.pseudoElements2svg=function(i){var l=i.node,s=l===void 0?ga:l;Tt.searchPseudoElements&&HE(s)}}},jE=!1,_$={mixout:function(){return{dom:{unwatch:function(){mk(),jE=!0}}}},hooks:function(){return{bootstrap:function(){zE(p2("mutationObserverCallbacks",{}))},noAuto:function(){e$()},watch:function(i){var l=i.observeMutationsRoot;jE?_2():zE(p2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},UE=function(a){var i={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var d=s.toLowerCase().split("-"),c=d[0],h=d.slice(1).join("-");if(c&&h==="h")return l.flipX=!0,l;if(c&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(c){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},i)},b$={mixout:function(){return{parse:{transform:function(i){return UE(i)}}}},hooks:function(){return{parseNodeAttributes:function(i,l){var s=l.getAttribute("data-fa-transform");return s&&(i.transform=UE(s)),i}}},provides:function(a){a.generateAbstractTransformGrouping=function(i){var l=i.main,s=i.transform,d=i.containerWidth,c=i.iconWidth,h={transform:"translate(".concat(d/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),_="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),b="rotate(".concat(s.rotate," 0 0)"),S={transform:"".concat(p," ").concat(_," ").concat(b)},T={transform:"translate(".concat(c/2*-1," -256)")},C={outer:h,inner:S,path:T};return{tag:"g",attributes:mt({},C.outer),children:[{tag:"g",attributes:mt({},C.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:mt(mt({},l.icon.attributes),C.path)}]}]}}}},l2={x:0,y:0,width:"100%",height:"100%"};S$={hooks:function(){return{parseNodeAttributes:function(i,l){var s=l.getAttribute("data-fa-mask"),d=s?a_(s.split(" ").map(function(c){return c.trim()})):R2();return d.prefix||(d.prefix=rc()),i.mask=d,i.maskId=l.getAttribute("data-fa-mask-id"),i}}},provides:function(a){a.generateAbstractMask=function(i){var l=i.children,s=i.attributes,d=i.main,c=i.mask,h=i.maskId,p=i.transform,_=d.width,b=d.icon,S=c.width,T=c.icon,C=bY({transform:p,containerWidth:S,iconWidth:_}),k={tag:"rect",attributes:mt(mt({},l2),{},{fill:"white"})},D=b.children?{children:b.children.map(VE)}:{},A={tag:"g",attributes:mt({},C.inner),children:[VE(mt({tag:b.tag,attributes:mt(mt({},b.attributes),C.path)},D))]},q={tag:"g",attributes:mt({},C.outer),children:[A]},I="mask-".concat(h||qh()),$="clip-".concat(h||qh()),F={tag:"mask",attributes:mt(mt({},l2),{},{id:I,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,q]},W={tag:"defs",children:[{tag:"clipPath",attributes:{id:$},children:y$(T)},F]};return l.push(W,{tag:"rect",attributes:mt({fill:"currentColor","clip-path":"url(#".concat($,")"),mask:"url(#".concat(I,")")},l2)}),{children:l,attributes:s}}}},w$={provides:function(a){var i=!1;tc.matchMedia&&(i=tc.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},d={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:mt(mt({},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 c=mt(mt({},d),{},{attributeName:"opacity"}),h={tag:"circle",attributes:mt(mt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return i||h.children.push({tag:"animate",attributes:mt(mt({},d),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mt(mt({},c),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:mt(mt({},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:i?[]:[{tag:"animate",attributes:mt(mt({},c),{},{values:"1;0;0;0;0;1;"})}]}),i||l.push({tag:"path",attributes:mt(mt({},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:mt(mt({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},C$={hooks:function(){return{parseNodeAttributes:function(i,l){var s=l.getAttribute("data-fa-symbol"),d=s===null?!1:s===""?!0:s;return i.symbol=d,i}}}},x$=[wY,u$,c$,d$,f$,g$,_$,b$,S$,w$,C$];MY(x$,{mixoutsTo:Do});T$=Do.noAuto,E$=Do.config,k$=Do.library,R$=Do.dom,D$=Do.parse,A$=Do.findIconDefinition,N$=Do.toHtml,L$=Do.icon,B$=Do.layer,O$=Do.text,z$=Do.counter});var bk=qe(qr=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,_=r?Symbol.for("react.concurrent_mode"):60111,b=r?Symbol.for("react.forward_ref"):60112,S=r?Symbol.for("react.suspense"):60113,T=r?Symbol.for("react.suspense_list"):60120,C=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,D=r?Symbol.for("react.block"):60121,A=r?Symbol.for("react.fundamental"):60117,q=r?Symbol.for("react.responder"):60118,I=r?Symbol.for("react.scope"):60119;function $(Ue){return typeof Ue=="string"||typeof Ue=="function"||Ue===l||Ue===_||Ue===d||Ue===s||Ue===S||Ue===T||typeof Ue=="object"&&Ue!==null&&(Ue.$$typeof===k||Ue.$$typeof===C||Ue.$$typeof===c||Ue.$$typeof===h||Ue.$$typeof===b||Ue.$$typeof===A||Ue.$$typeof===q||Ue.$$typeof===I||Ue.$$typeof===D)}function F(Ue){if(typeof Ue=="object"&&Ue!==null){var ar=Ue.$$typeof;switch(ar){case a:var ur=Ue.type;switch(ur){case p:case _:case l:case d:case s:case S:return ur;default:var cr=ur&&ur.$$typeof;switch(cr){case h:case b:case k:case C:case c:return cr;default:return ar}}case i:return ar}}}var W=p,P=_,oe=h,be=c,Q=a,he=b,le=l,we=k,V=C,re=i,ue=d,z=s,ee=S,te=!1;function se(Ue){return te||(te=!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.")),me(Ue)||F(Ue)===p}function me(Ue){return F(Ue)===_}function De(Ue){return F(Ue)===h}function Ae(Ue){return F(Ue)===c}function Oe(Ue){return typeof Ue=="object"&&Ue!==null&&Ue.$$typeof===a}function je(Ue){return F(Ue)===b}function Xe(Ue){return F(Ue)===l}function st(Ue){return F(Ue)===k}function Ot(Ue){return F(Ue)===C}function vt(Ue){return F(Ue)===i}function Kt(Ue){return F(Ue)===d}function nr(Ue){return F(Ue)===s}function or(Ue){return F(Ue)===S}qr.AsyncMode=W,qr.ConcurrentMode=P,qr.ContextConsumer=oe,qr.ContextProvider=be,qr.Element=Q,qr.ForwardRef=he,qr.Fragment=le,qr.Lazy=we,qr.Memo=V,qr.Portal=re,qr.Profiler=ue,qr.StrictMode=z,qr.Suspense=ee,qr.isAsyncMode=se,qr.isConcurrentMode=me,qr.isContextConsumer=De,qr.isContextProvider=Ae,qr.isElement=Oe,qr.isForwardRef=je,qr.isFragment=Xe,qr.isLazy=st,qr.isMemo=Ot,qr.isPortal=vt,qr.isProfiler=Kt,qr.isStrictMode=nr,qr.isSuspense=or,qr.isValidElementType=$,qr.typeOf=F})()});var L2=qe((xq,yk)=>{"use strict";yk.exports=bk()});var Ck=qe((Tq,wk)=>{"use strict";var Sk=Object.getOwnPropertySymbols,P$=Object.prototype.hasOwnProperty,M$=Object.prototype.propertyIsEnumerable;function I$(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function F$(){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={},i=0;i<10;i++)a["_"+String.fromCharCode(i)]=i;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(d){s[d]=d}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}wk.exports=F$()?Object.assign:function(r,a){for(var i,l=I$(r),s,d=1;d<arguments.length;d++){i=Object(arguments[d]);for(var c in i)P$.call(i,c)&&(l[c]=i[c]);if(Sk){s=Sk(i);for(var h=0;h<s.length;h++)M$.call(i,s[h])&&(l[s[h]]=i[s[h]])}}return l}});var B2=qe((Eq,xk)=>{"use strict";var H$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";xk.exports=H$});var O2=qe((kq,Tk)=>{Tk.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Ak=qe((Rq,Dk)=>{"use strict";var z2=function(){};Ek=B2(),o_={},kk=O2(),z2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(i){}};var Ek,o_,kk;function Rk(r,a,i,l,s){for(var d in r)if(kk(r,d)){var c;try{if(typeof r[d]!="function"){var h=Error((l||"React class")+": "+i+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}c=r[d](a,d,l,i,null,Ek)}catch(_){c=_}if(c&&!(c instanceof Error)&&z2((l||"React class")+": type specification of "+i+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in o_)){o_[c.message]=!0;var p=s?s():"";z2("Failed "+i+" type: "+c.message+(p!=null?p:""))}}}Rk.resetWarningCache=function(){o_={}};Dk.exports=Rk});var Bk=qe((Dq,Lk)=>{"use strict";var j$=L2(),U$=Ck(),Rf=B2(),P2=O2(),Nk=Ak(),Df=function(){};Df=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(i){}};function i_(){return null}Lk.exports=function(r,a){var i=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(V){var re=V&&(i&&V[i]||V[l]);if(typeof re=="function")return re}var d="<<anonymous>>",c={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:S(),arrayOf:T,element:C(),elementType:k(),instanceOf:D,node:$(),objectOf:q,oneOf:A,oneOfType:I,shape:W,exact:P};function h(V,re){return V===re?V!==0||1/V===1/re:V!==V&&re!==re}function p(V,re){this.message=V,this.data=re&&typeof re=="object"?re:{},this.stack=""}p.prototype=Error.prototype;function _(V){var re={},ue=0;function z(te,se,me,De,Ae,Oe,je){if(De=De||d,Oe=Oe||me,je!==Rf){if(a){var Xe=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 Xe.name="Invariant Violation",Xe}else if(typeof console!="undefined"){var st=De+":"+me;!re[st]&&ue<3&&(Df("You are manually calling a React.PropTypes validation function for the `"+Oe+"` prop on `"+De+"`. 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."),re[st]=!0,ue++)}}return se[me]==null?te?se[me]===null?new p("The "+Ae+" `"+Oe+"` is marked as required "+("in `"+De+"`, but its value is `null`.")):new p("The "+Ae+" `"+Oe+"` is marked as required in "+("`"+De+"`, but its value is `undefined`.")):null:V(se,me,De,Ae,Oe)}var ee=z.bind(null,!1);return ee.isRequired=z.bind(null,!0),ee}function b(V){function re(ue,z,ee,te,se,me){var De=ue[z],Ae=Q(De);if(Ae!==V){var Oe=he(De);return new p("Invalid "+te+" `"+se+"` of type "+("`"+Oe+"` supplied to `"+ee+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return _(re)}function S(){return _(i_)}function T(V){function re(ue,z,ee,te,se){if(typeof V!="function")return new p("Property `"+se+"` of component `"+ee+"` has invalid PropType notation inside arrayOf.");var me=ue[z];if(!Array.isArray(me)){var De=Q(me);return new p("Invalid "+te+" `"+se+"` of type "+("`"+De+"` supplied to `"+ee+"`, expected an array."))}for(var Ae=0;Ae<me.length;Ae++){var Oe=V(me,Ae,ee,te,se+"["+Ae+"]",Rf);if(Oe instanceof Error)return Oe}return null}return _(re)}function C(){function V(re,ue,z,ee,te){var se=re[ue];if(!r(se)){var me=Q(se);return new p("Invalid "+ee+" `"+te+"` of type "+("`"+me+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return _(V)}function k(){function V(re,ue,z,ee,te){var se=re[ue];if(!j$.isValidElementType(se)){var me=Q(se);return new p("Invalid "+ee+" `"+te+"` of type "+("`"+me+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return _(V)}function D(V){function re(ue,z,ee,te,se){if(!(ue[z]instanceof V)){var me=V.name||d,De=we(ue[z]);return new p("Invalid "+te+" `"+se+"` of type "+("`"+De+"` supplied to `"+ee+"`, expected ")+("instance of `"+me+"`."))}return null}return _(re)}function A(V){if(!Array.isArray(V))return arguments.length>1?Df("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])."):Df("Invalid argument supplied to oneOf, expected an array."),i_;function re(ue,z,ee,te,se){for(var me=ue[z],De=0;De<V.length;De++)if(h(me,V[De]))return null;var Ae=JSON.stringify(V,function(je,Xe){var st=he(Xe);return st==="symbol"?String(Xe):Xe});return new p("Invalid "+te+" `"+se+"` of value `"+String(me)+"` "+("supplied to `"+ee+"`, expected one of "+Ae+"."))}return _(re)}function q(V){function re(ue,z,ee,te,se){if(typeof V!="function")return new p("Property `"+se+"` of component `"+ee+"` has invalid PropType notation inside objectOf.");var me=ue[z],De=Q(me);if(De!=="object")return new p("Invalid "+te+" `"+se+"` of type "+("`"+De+"` supplied to `"+ee+"`, expected an object."));for(var Ae in me)if(P2(me,Ae)){var Oe=V(me,Ae,ee,te,se+"."+Ae,Rf);if(Oe instanceof Error)return Oe}return null}return _(re)}function I(V){if(!Array.isArray(V))return Df("Invalid argument supplied to oneOfType, expected an instance of array."),i_;for(var re=0;re<V.length;re++){var ue=V[re];if(typeof ue!="function")return Df("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+le(ue)+" at index "+re+"."),i_}function z(ee,te,se,me,De){for(var Ae=[],Oe=0;Oe<V.length;Oe++){var je=V[Oe],Xe=je(ee,te,se,me,De,Rf);if(Xe==null)return null;Xe.data&&P2(Xe.data,"expectedType")&&Ae.push(Xe.data.expectedType)}var st=Ae.length>0?", expected one of type ["+Ae.join(", ")+"]":"";return new p("Invalid "+me+" `"+De+"` supplied to "+("`"+se+"`"+st+"."))}return _(z)}function $(){function V(re,ue,z,ee,te){return oe(re[ue])?null:new p("Invalid "+ee+" `"+te+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return _(V)}function F(V,re,ue,z,ee){return new p((V||"React class")+": "+re+" type `"+ue+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ee+"`.")}function W(V){function re(ue,z,ee,te,se){var me=ue[z],De=Q(me);if(De!=="object")return new p("Invalid "+te+" `"+se+"` of type `"+De+"` "+("supplied to `"+ee+"`, expected `object`."));for(var Ae in V){var Oe=V[Ae];if(typeof Oe!="function")return F(ee,te,se,Ae,he(Oe));var je=Oe(me,Ae,ee,te,se+"."+Ae,Rf);if(je)return je}return null}return _(re)}function P(V){function re(ue,z,ee,te,se){var me=ue[z],De=Q(me);if(De!=="object")return new p("Invalid "+te+" `"+se+"` of type `"+De+"` "+("supplied to `"+ee+"`, expected `object`."));var Ae=U$({},ue[z],V);for(var Oe in Ae){var je=V[Oe];if(P2(V,Oe)&&typeof je!="function")return F(ee,te,se,Oe,he(je));if(!je)return new p("Invalid "+te+" `"+se+"` key `"+Oe+"` supplied to `"+ee+"`.\nBad object: "+JSON.stringify(ue[z],null," ")+`
|
|
925
|
-
Valid keys: `+JSON.stringify(Object.keys(V),null," "));var Xe=je(me,Oe,ee,te,se+"."+Oe,Rf);if(Xe)return Xe}return null}return _(re)}function oe(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(oe);if(V===null||r(V))return!0;var re=s(V);if(re){var ue=re.call(V),z;if(re!==V.entries){for(;!(z=ue.next()).done;)if(!oe(z.value))return!1}else for(;!(z=ue.next()).done;){var ee=z.value;if(ee&&!oe(ee[1]))return!1}}else return!1;return!0;default:return!1}}function be(V,re){return V==="symbol"?!0:re?re["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&re instanceof Symbol:!1}function Q(V){var re=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":be(re,V)?"symbol":re}function he(V){if(typeof V=="undefined"||V===null)return""+V;var re=Q(V);if(re==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return re}function le(V){var re=he(V);switch(re){case"array":case"object":return"an "+re;case"boolean":case"date":case"regexp":return"a "+re;default:return re}}function
|
|
926
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $(z){var ee,te=z.beat,se=z.fade,me=z.beatFade,De=z.bounce,Ae=z.shake,Oe=z.flash,je=z.spin,Xe=z.spinPulse,st=z.spinReverse,Ot=z.pulse,vt=z.fixedWidth,Kt=z.inverse,nr=z.border,or=z.listItem,Ue=z.flip,ar=z.size,ur=z.rotation,cr=z.pull,sr=(ee={"fa-beat":te,"fa-fade":se,"fa-beat-fade":me,"fa-bounce":De,"fa-shake":Ae,"fa-flash":Oe,"fa-spin":je,"fa-spin-reverse":st,"fa-spin-pulse":Xe,"fa-pulse":Ot,"fa-fw":vt,"fa-inverse":Kt,"fa-border":nr,"fa-li":or,"fa-flip":Ue===!0,"fa-flip-horizontal":Ue==="horizontal"||Ue==="both","fa-flip-vertical":Ue==="vertical"||Ue==="both"},b(ee,"fa-".concat(ar),typeof ar!="undefined"&&ar!==null),b(ee,"fa-rotate-".concat(ur),typeof ur!="undefined"&&ur!==null&&ur!==0),b(ee,"fa-pull-".concat(cr),typeof cr!="undefined"&&cr!==null),b(ee,"fa-swap-opacity",z.swapOpacity),ee);return Object.keys(sr).map(function(Er){return sr[Er]?Er:null}).filter(function(Er){return Er})}function F(z){return z=z-0,z===z}function W(z){return F(z)?z:(z=z.replace(/[\-_\s]+(.)?/g,function(ee,te){return te?te.toUpperCase():""}),z.substr(0,1).toLowerCase()+z.substr(1))}var P=["style"];function oe(z){return z.charAt(0).toUpperCase()+z.slice(1)}function be(z){return z.split(";").map(function(ee){return ee.trim()}).filter(function(ee){return ee}).reduce(function(ee,te){var se=te.indexOf(":"),me=W(te.slice(0,se)),De=te.slice(se+1).trim();return me.startsWith("webkit")?ee[oe(me)]=De:ee[me]=De,ee},{})}function Q(z,ee){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof ee=="string")return ee;var se=(ee.children||[]).map(function(je){return Q(z,je)}),me=Object.keys(ee.attributes||{}).reduce(function(je,Xe){var st=ee.attributes[Xe];switch(Xe){case"class":je.attrs.className=st,delete ee.attributes.class;break;case"style":je.attrs.style=be(st);break;default:Xe.indexOf("aria-")===0||Xe.indexOf("data-")===0?je.attrs[Xe.toLowerCase()]=st:je.attrs[W(Xe)]=st}return je},{attrs:{}}),De=te.style,Ae=De===void 0?{}:De,Oe=T(te,P);return me.attrs.style=p(p({},me.attrs.style),Ae),z.apply(void 0,[ee.tag,p(p({},me.attrs),Oe)].concat(C(se)))}var he=!1;try{he=!1}catch(z){}function le(){if(!he&&console&&typeof console.error=="function"){var z;(z=console).error.apply(z,arguments)}}function we(z){if(z&&_(z)==="object"&&z.prefix&&z.iconName&&z.icon)return z;if(a.parse.icon)return a.parse.icon(z);if(z===null)return null;if(z&&_(z)==="object"&&z.prefix&&z.iconName)return z;if(Array.isArray(z)&&z.length===2)return{prefix:z[0],iconName:z[1]};if(typeof z=="string")return{prefix:"fas",iconName:z}}function V(z,ee){return Array.isArray(ee)&&ee.length>0||!Array.isArray(ee)&&ee?b({},z,ee):{}}var re=c.default.forwardRef(function(z,ee){var te=z.icon,se=z.mask,me=z.symbol,De=z.className,Ae=z.title,Oe=z.titleId,je=z.maskId,Xe=we(te),st=V("classes",[].concat(C($(z)),C(De.split(" ")))),Ot=V("transform",typeof z.transform=="string"?a.parse.transform(z.transform):z.transform),vt=V("mask",we(se)),Kt=a.icon(Xe,p(p(p(p({},st),Ot),vt),{},{symbol:me,title:Ae,titleId:Oe,maskId:je}));if(!Kt)return le("Could not find icon",Xe),null;var nr=Kt.abstract,or={ref:ee};return Object.keys(z).forEach(function(Ue){re.defaultProps.hasOwnProperty(Ue)||(or[Ue]=z[Ue])}),ue(nr[0],or)});re.displayName="FontAwesomeIcon",re.propTypes={beat:d.default.bool,border:d.default.bool,beatFade:d.default.bool,bounce:d.default.bool,className:d.default.string,fade:d.default.bool,flash:d.default.bool,mask:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),maskId:d.default.string,fixedWidth:d.default.bool,inverse:d.default.bool,flip:d.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),listItem:d.default.bool,pull:d.default.oneOf(["right","left"]),pulse:d.default.bool,rotation:d.default.oneOf([0,90,180,270]),shake:d.default.bool,size:d.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:d.default.bool,spinPulse:d.default.bool,spinReverse:d.default.bool,symbol:d.default.oneOfType([d.default.bool,d.default.string]),title:d.default.string,titleId:d.default.string,transform:d.default.oneOfType([d.default.string,d.default.object]),swapOpacity:d.default.bool},re.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 ue=Q.bind(null,c.default.createElement);r.FontAwesomeIcon=re,Object.defineProperty(r,"__esModule",{value:!0})})});var $k=qe(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var Hk="fas",jk="xmark",Uk=384,Vk=512,M2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],Wk="f00d",Yk="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";qo.definition={prefix:Hk,iconName:jk,icon:[Uk,Vk,M2,Wk,Yk]};qo.faXmark=qo.definition;qo.prefix=Hk;qo.iconName=jk;qo.width=Uk;qo.height=Vk;qo.ligatures=M2;qo.unicode=Wk;qo.svgPathData=Yk;qo.aliases=M2});var Gk=qe(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var oo=$k();Ko.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Ko.faTimes=Ko.definition;Ko.prefix=oo.prefix;Ko.iconName=oo.iconName;Ko.width=oo.width;Ko.height=oo.height;Ko.ligatures=oo.aliases;Ko.unicode=oo.unicode;Ko.svgPathData=oo.svgPathData;Ko.aliases=oo.aliases});var eR=qe(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var qk="fas",Kk="angle-right",Xk=320,Jk=512,I2=[8250],Qk="f105",Zk="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";Xo.definition={prefix:qk,iconName:Kk,icon:[Xk,Jk,I2,Qk,Zk]};Xo.faAngleRight=Xo.definition;Xo.prefix=qk;Xo.iconName=Kk;Xo.width=Xk;Xo.height=Jk;Xo.ligatures=I2;Xo.unicode=Qk;Xo.svgPathData=Zk;Xo.aliases=I2});var lR=qe(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var tR="fas",rR="angle-left",aR=320,nR=512,F2=[8249],oR="f104",iR="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";Jo.definition={prefix:tR,iconName:rR,icon:[aR,nR,F2,oR,iR]};Jo.faAngleLeft=Jo.definition;Jo.prefix=tR;Jo.iconName=rR;Jo.width=aR;Jo.height=nR;Jo.ligatures=F2;Jo.unicode=oR;Jo.svgPathData=iR;Jo.aliases=F2});var j2=qe(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var sR="fas",uR="angle-up",cR=448,dR=512,H2=[8963],fR="f106",pR="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z";Qo.definition={prefix:sR,iconName:uR,icon:[cR,dR,H2,fR,pR]};Qo.faAngleUp=Qo.definition;Qo.prefix=sR;Qo.iconName=uR;Qo.width=cR;Qo.height=dR;Qo.ligatures=H2;Qo.unicode=fR;Qo.svgPathData=pR;Qo.aliases=H2});var V2=qe(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var hR="fas",mR="angle-down",vR=448,gR=512,U2=[8964],_R="f107",bR="M201.4 342.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 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";Zo.definition={prefix:hR,iconName:mR,icon:[vR,gR,U2,_R,bR]};Zo.faAngleDown=Zo.definition;Zo.prefix=hR;Zo.iconName=mR;Zo.width=vR;Zo.height=gR;Zo.ligatures=U2;Zo.unicode=_R;Zo.svgPathData=bR;Zo.aliases=U2});var ER=qe(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var yR="fas",SR="chevron-left",wR=320,CR=512,W2=[9001],xR="f053",TR="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";ei.definition={prefix:yR,iconName:SR,icon:[wR,CR,W2,xR,TR]};ei.faChevronLeft=ei.definition;ei.prefix=yR;ei.iconName=SR;ei.width=wR;ei.height=CR;ei.ligatures=W2;ei.unicode=xR;ei.svgPathData=TR;ei.aliases=W2});var BR=qe(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var kR="fas",RR="chevron-right",DR=320,AR=512,Y2=[9002],NR="f054",LR="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";ti.definition={prefix:kR,iconName:RR,icon:[DR,AR,Y2,NR,LR]};ti.faChevronRight=ti.definition;ti.prefix=kR;ti.iconName=RR;ti.width=DR;ti.height=AR;ti.ligatures=Y2;ti.unicode=NR;ti.svgPathData=LR;ti.aliases=Y2});var HR=qe(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var OR="fas",zR="chevron-up",PR=512,MR=512,$2=[],IR="f077",FR="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";ri.definition={prefix:OR,iconName:zR,icon:[PR,MR,$2,IR,FR]};ri.faChevronUp=ri.definition;ri.prefix=OR;ri.iconName=zR;ri.width=PR;ri.height=MR;ri.ligatures=$2;ri.unicode=IR;ri.svgPathData=FR;ri.aliases=$2});var GR=qe(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var jR="fas",UR="chevron-down",VR=512,WR=512,G2=[],YR="f078",$R="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";ai.definition={prefix:jR,iconName:UR,icon:[VR,WR,G2,YR,$R]};ai.faChevronDown=ai.definition;ai.prefix=jR;ai.iconName=UR;ai.width=VR;ai.height=WR;ai.ligatures=G2;ai.unicode=YR;ai.svgPathData=$R;ai.aliases=G2});var eD=qe(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var qR="fas",KR="caret-left",XR=256,JR=512,q2=[],QR="f0d9",ZR="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";ni.definition={prefix:qR,iconName:KR,icon:[XR,JR,q2,QR,ZR]};ni.faCaretLeft=ni.definition;ni.prefix=qR;ni.iconName=KR;ni.width=XR;ni.height=JR;ni.ligatures=q2;ni.unicode=QR;ni.svgPathData=ZR;ni.aliases=q2});var lD=qe(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var tD="fas",rD="caret-right",aD=256,nD=512,K2=[],oD="f0da",iD="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";oi.definition={prefix:tD,iconName:rD,icon:[aD,nD,K2,oD,iD]};oi.faCaretRight=oi.definition;oi.prefix=tD;oi.iconName=rD;oi.width=aD;oi.height=nD;oi.ligatures=K2;oi.unicode=oD;oi.svgPathData=iD;oi.aliases=K2});var hD=qe(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var sD="fas",uD="caret-up",cD=320,dD=512,X2=[],fD="f0d8",pD="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.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z";ii.definition={prefix:sD,iconName:uD,icon:[cD,dD,X2,fD,pD]};ii.faCaretUp=ii.definition;ii.prefix=sD;ii.iconName=uD;ii.width=cD;ii.height=dD;ii.ligatures=X2;ii.unicode=fD;ii.svgPathData=pD;ii.aliases=X2});var SD=qe(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var mD="fas",vD="caret-down",gD=320,_D=512,J2=[],bD="f0d7",yD="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";li.definition={prefix:mD,iconName:vD,icon:[gD,_D,J2,bD,yD]};li.faCaretDown=li.definition;li.prefix=mD;li.iconName=vD;li.width=gD;li.height=_D;li.ligatures=J2;li.unicode=bD;li.svgPathData=yD;li.aliases=J2});var RD=qe(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var wD="fas",CD="arrow-left",xD=448,TD=512,Q2=[8592],ED="f060",kD="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";si.definition={prefix:wD,iconName:CD,icon:[xD,TD,Q2,ED,kD]};si.faArrowLeft=si.definition;si.prefix=wD;si.iconName=CD;si.width=xD;si.height=TD;si.ligatures=Q2;si.unicode=ED;si.svgPathData=kD;si.aliases=Q2});var eS=qe(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var DD="fas",AD="arrow-right",ND=448,LD=512,Z2=[8594],BD="f061",OD="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";ui.definition={prefix:DD,iconName:AD,icon:[ND,LD,Z2,BD,OD]};ui.faArrowRight=ui.definition;ui.prefix=DD;ui.iconName=AD;ui.width=ND;ui.height=LD;ui.ligatures=Z2;ui.unicode=BD;ui.svgPathData=OD;ui.aliases=Z2});var rS=qe(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var zD="fas",PD="arrow-up",MD=384,ID=512,tS=[8593],FD="f062",HD="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.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z";ci.definition={prefix:zD,iconName:PD,icon:[MD,ID,tS,FD,HD]};ci.faArrowUp=ci.definition;ci.prefix=zD;ci.iconName=PD;ci.width=MD;ci.height=ID;ci.ligatures=tS;ci.unicode=FD;ci.svgPathData=HD;ci.aliases=tS});var nS=qe(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var jD="fas",UD="arrow-down",VD=384,WD=512,aS=[8595],YD="f063",$D="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";di.definition={prefix:jD,iconName:UD,icon:[VD,WD,aS,YD,$D]};di.faArrowDown=di.definition;di.prefix=jD;di.iconName=UD;di.width=VD;di.height=WD;di.ligatures=aS;di.unicode=YD;di.svgPathData=$D;di.aliases=aS});var ZD=qe(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var GD="fas",qD="rotate",KD=512,XD=512,oS=[128260,"sync-alt"],JD="f2f1",QD="M142.9 142.9c62.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.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-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 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z";fi.definition={prefix:GD,iconName:qD,icon:[KD,XD,oS,JD,QD]};fi.faRotate=fi.definition;fi.prefix=GD;fi.iconName=qD;fi.width=KD;fi.height=XD;fi.ligatures=oS;fi.unicode=JD;fi.svgPathData=QD;fi.aliases=oS});var i6=qe(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var e6="fas",t6="arrow-rotate-right",r6=512,a6=512,iS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],n6="f01e",o6="M386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H464c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.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";pi.definition={prefix:e6,iconName:t6,icon:[r6,a6,iS,n6,o6]};pi.faArrowRotateRight=pi.definition;pi.prefix=e6;pi.iconName=t6;pi.width=r6;pi.height=a6;pi.ligatures=iS;pi.unicode=n6;pi.svgPathData=o6;pi.aliases=iS});var l6=qe(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var io=i6();hi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};hi.faRedo=hi.definition;hi.prefix=io.prefix;hi.iconName=io.iconName;hi.width=io.width;hi.height=io.height;hi.ligatures=io.aliases;hi.unicode=io.unicode;hi.svgPathData=io.svgPathData;hi.aliases=io.aliases});var h6=qe(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var s6="fas",u6="check",c6=448,d6=512,lS=[10003,10004],f6="f00c",p6="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";mi.definition={prefix:s6,iconName:u6,icon:[c6,d6,lS,f6,p6]};mi.faCheck=mi.definition;mi.prefix=s6;mi.iconName=u6;mi.width=c6;mi.height=d6;mi.ligatures=lS;mi.unicode=f6;mi.svgPathData=p6;mi.aliases=lS});var S6=qe(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var m6="fas",v6="question",g6=320,_6=512,sS=[10067,10068,61736],b6="3f",y6="M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.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 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.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";vi.definition={prefix:m6,iconName:v6,icon:[g6,_6,sS,b6,y6]};vi.faQuestion=vi.definition;vi.prefix=m6;vi.iconName=v6;vi.width=g6;vi.height=_6;vi.ligatures=sS;vi.unicode=b6;vi.svgPathData=y6;vi.aliases=sS});var R6=qe(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var w6="fas",C6="exclamation",x6=64,T6=512,uS=[10069,10071,61738],E6="21",k6="M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V320c0 17.7 14.3 32 32 32s32-14.3 32-32V64zM32 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";gi.definition={prefix:w6,iconName:C6,icon:[x6,T6,uS,E6,k6]};gi.faExclamation=gi.definition;gi.prefix=w6;gi.iconName=C6;gi.width=x6;gi.height=T6;gi.ligatures=uS;gi.unicode=E6;gi.svgPathData=k6;gi.aliases=uS});var z6=qe(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var D6="fas",A6="triangle-exclamation",N6=512,L6=512,cS=[9888,"exclamation-triangle","warning"],B6="f071",O6="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 480H40c-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 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";_i.definition={prefix:D6,iconName:A6,icon:[N6,L6,cS,B6,O6]};_i.faTriangleExclamation=_i.definition;_i.prefix=D6;_i.iconName=A6;_i.width=N6;_i.height=L6;_i.ligatures=cS;_i.unicode=B6;_i.svgPathData=O6;_i.aliases=cS});var P6=qe(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var lo=z6();bi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};bi.faExclamationTriangle=bi.definition;bi.prefix=lo.prefix;bi.iconName=lo.iconName;bi.width=lo.width;bi.height=lo.height;bi.ligatures=lo.aliases;bi.unicode=lo.unicode;bi.svgPathData=lo.svgPathData;bi.aliases=lo.aliases});var V6=qe(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var M6="fas",I6="house",F6=576,H6=512,dS=[127968,63498,63500,"home","home-alt","home-lg-alt"],j6="f015",U6="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-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";yi.definition={prefix:M6,iconName:I6,icon:[F6,H6,dS,j6,U6]};yi.faHouse=yi.definition;yi.prefix=M6;yi.iconName=I6;yi.width=F6;yi.height=H6;yi.ligatures=dS;yi.unicode=j6;yi.svgPathData=U6;yi.aliases=dS});var W6=qe(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var so=V6();Si.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Si.faHome=Si.definition;Si.prefix=so.prefix;Si.iconName=so.iconName;Si.width=so.width;Si.height=so.height;Si.ligatures=so.aliases;Si.unicode=so.unicode;Si.svgPathData=so.svgPathData;Si.aliases=so.aliases});var J6=qe(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var Y6="fas",$6="share",G6=512,q6=512,fS=["mail-forward"],K6="f064",X6="M307 34.8c-11.5 5.1-19 16.6-19 29.2v64H176C78.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-96h96v64c0 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";wi.definition={prefix:Y6,iconName:$6,icon:[G6,q6,fS,K6,X6]};wi.faShare=wi.definition;wi.prefix=Y6;wi.iconName=$6;wi.width=G6;wi.height=q6;wi.ligatures=fS;wi.unicode=K6;wi.svgPathData=X6;wi.aliases=fS});var n8=qe(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var Q6="fas",Z6="magnifying-glass",e8=512,t8=512,pS=[128269,"search"],r8="f002",a8="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";Ci.definition={prefix:Q6,iconName:Z6,icon:[e8,t8,pS,r8,a8]};Ci.faMagnifyingGlass=Ci.definition;Ci.prefix=Q6;Ci.iconName=Z6;Ci.width=e8;Ci.height=t8;Ci.ligatures=pS;Ci.unicode=r8;Ci.svgPathData=a8;Ci.aliases=pS});var o8=qe(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var uo=n8();xi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};xi.faSearch=xi.definition;xi.prefix=uo.prefix;xi.iconName=uo.iconName;xi.width=uo.width;xi.height=uo.height;xi.ligatures=uo.aliases;xi.unicode=uo.unicode;xi.svgPathData=uo.svgPathData;xi.aliases=uo.aliases});var f8=qe(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var i8="fas",l8="yen-sign",s8=320,u8=512,hS=[165,"cny","jpy","rmb","yen"],c8="f157",d8="M58.6 46.2C48.8 31.5 29 27.6 14.3 37.4S-4.4 67 5.4 81.7L100.2 224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v32H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v64c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H192V288h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H219.8L314.6 81.7c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.2z";Ti.definition={prefix:i8,iconName:l8,icon:[s8,u8,hS,c8,d8]};Ti.faYenSign=Ti.definition;Ti.prefix=i8;Ti.iconName=l8;Ti.width=s8;Ti.height=u8;Ti.ligatures=hS;Ti.unicode=c8;Ti.svgPathData=d8;Ti.aliases=hS});var b8=qe(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var p8="fas",h8="pen",m8=512,v8=512,mS=[128394],g8="f304",_8="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";Ei.definition={prefix:p8,iconName:h8,icon:[m8,v8,mS,g8,_8]};Ei.faPen=Ei.definition;Ei.prefix=p8;Ei.iconName=h8;Ei.width=m8;Ei.height=v8;Ei.ligatures=mS;Ei.unicode=g8;Ei.svgPathData=_8;Ei.aliases=mS});var E8=qe(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var y8="fas",S8="bars",w8=448,C8=512,vS=["navicon"],x8="f0c9",T8="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";ki.definition={prefix:y8,iconName:S8,icon:[w8,C8,vS,x8,T8]};ki.faBars=ki.definition;ki.prefix=y8;ki.iconName=S8;ki.width=w8;ki.height=C8;ki.ligatures=vS;ki.unicode=x8;ki.svgPathData=T8;ki.aliases=vS});var B8=qe(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var k8="fas",R8="download",D8=512,A8=512,gS=[],N8="f019",L8="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-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.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";Ri.definition={prefix:k8,iconName:R8,icon:[D8,A8,gS,N8,L8]};Ri.faDownload=Ri.definition;Ri.prefix=k8;Ri.iconName=R8;Ri.width=D8;Ri.height=A8;Ri.ligatures=gS;Ri.unicode=N8;Ri.svgPathData=L8;Ri.aliases=gS});var H8=qe(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var O8="fas",z8="link",P8=640,M8=512,_S=[128279,"chain"],I8="f0c1",F8="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";Di.definition={prefix:O8,iconName:z8,icon:[P8,M8,_S,I8,F8]};Di.faLink=Di.definition;Di.prefix=O8;Di.iconName=z8;Di.width=P8;Di.height=M8;Di.ligatures=_S;Di.unicode=I8;Di.svgPathData=F8;Di.aliases=_S});var G8=qe(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var j8="fas",U8="link-slash",V8=640,W8=512,bS=["chain-broken","chain-slash","unlink"],Y8="f127",$8="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 162zM116.6 187.9L60.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.9zM220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3L220.9 270z";Ai.definition={prefix:j8,iconName:U8,icon:[V8,W8,bS,Y8,$8]};Ai.faLinkSlash=Ai.definition;Ai.prefix=j8;Ai.iconName=U8;Ai.width=V8;Ai.height=W8;Ai.ligatures=bS;Ai.unicode=Y8;Ai.svgPathData=$8;Ai.aliases=bS});var eA=qe(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var q8="fas",K8="up-right-from-square",X8=512,J8=512,yS=["external-link-alt"],Q8="f35d",Z8="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.6V32c0-17.7-14.3-32-32-32H352zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z";Ni.definition={prefix:q8,iconName:K8,icon:[X8,J8,yS,Q8,Z8]};Ni.faUpRightFromSquare=Ni.definition;Ni.prefix=q8;Ni.iconName=K8;Ni.width=X8;Ni.height=J8;Ni.ligatures=yS;Ni.unicode=Q8;Ni.svgPathData=Z8;Ni.aliases=yS});var tA=qe(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var co=eA();Li.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Li.faExternalLinkAlt=Li.definition;Li.prefix=co.prefix;Li.iconName=co.iconName;Li.width=co.width;Li.height=co.height;Li.ligatures=co.aliases;Li.unicode=co.unicode;Li.svgPathData=co.svgPathData;Li.aliases=co.aliases});var sA=qe(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var rA="fas",aA="gear",nA=512,oA=512,SS=[9881,"cog"],iA="f013",lA="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";Bi.definition={prefix:rA,iconName:aA,icon:[nA,oA,SS,iA,lA]};Bi.faGear=Bi.definition;Bi.prefix=rA;Bi.iconName=aA;Bi.width=nA;Bi.height=oA;Bi.ligatures=SS;Bi.unicode=iA;Bi.svgPathData=lA;Bi.aliases=SS});var mA=qe(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var uA="fas",cA="plus",dA=448,fA=512,wS=[10133,61543,"add"],pA="2b",hA="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z";Oi.definition={prefix:uA,iconName:cA,icon:[dA,fA,wS,pA,hA]};Oi.faPlus=Oi.definition;Oi.prefix=uA;Oi.iconName=cA;Oi.width=dA;Oi.height=fA;Oi.ligatures=wS;Oi.unicode=pA;Oi.svgPathData=hA;Oi.aliases=wS});var wA=qe(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var vA="fas",gA="minus",_A=448,bA=512,CS=[8211,8722,10134,"subtract"],yA="f068",SA="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";zi.definition={prefix:vA,iconName:gA,icon:[_A,bA,CS,yA,SA]};zi.faMinus=zi.definition;zi.prefix=vA;zi.iconName=gA;zi.width=_A;zi.height=bA;zi.ligatures=CS;zi.unicode=yA;zi.svgPathData=SA;zi.aliases=CS});var DA=qe(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var CA="fas",xA="ellipsis",TA=448,EA=512,xS=["ellipsis-h"],kA="f141",RA="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z";Pi.definition={prefix:CA,iconName:xA,icon:[TA,EA,xS,kA,RA]};Pi.faEllipsis=Pi.definition;Pi.prefix=CA;Pi.iconName=xA;Pi.width=TA;Pi.height=EA;Pi.ligatures=xS;Pi.unicode=kA;Pi.svgPathData=RA;Pi.aliases=xS});var AA=qe(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var fo=DA();Mi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Mi.faEllipsisH=Mi.definition;Mi.prefix=fo.prefix;Mi.iconName=fo.iconName;Mi.width=fo.width;Mi.height=fo.height;Mi.ligatures=fo.aliases;Mi.unicode=fo.unicode;Mi.svgPathData=fo.svgPathData;Mi.aliases=fo.aliases});var MA=qe(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var NA="fas",LA="ellipsis-vertical",BA=128,OA=512,TS=["ellipsis-v"],zA="f142",PA="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";Ii.definition={prefix:NA,iconName:LA,icon:[BA,OA,TS,zA,PA]};Ii.faEllipsisVertical=Ii.definition;Ii.prefix=NA;Ii.iconName=LA;Ii.width=BA;Ii.height=OA;Ii.ligatures=TS;Ii.unicode=zA;Ii.svgPathData=PA;Ii.aliases=TS});var IA=qe(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var po=MA();Fi.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};Fi.faEllipsisV=Fi.definition;Fi.prefix=po.prefix;Fi.iconName=po.iconName;Fi.width=po.width;Fi.height=po.height;Fi.ligatures=po.aliases;Fi.unicode=po.unicode;Fi.svgPathData=po.svgPathData;Fi.aliases=po.aliases});var YA=qe(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var FA="fas",HA="star",jA=576,UA=512,ES=[11088,61446],VA="f005",WA="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";Hi.definition={prefix:FA,iconName:HA,icon:[jA,UA,ES,VA,WA]};Hi.faStar=Hi.definition;Hi.prefix=FA;Hi.iconName=HA;Hi.width=jA;Hi.height=UA;Hi.ligatures=ES;Hi.unicode=VA;Hi.svgPathData=WA;Hi.aliases=ES});var QA=qe(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var $A="fas",GA="paper-plane",qA=512,KA=512,kS=[61913],XA="f1d8",JA="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 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";ji.definition={prefix:$A,iconName:GA,icon:[qA,KA,kS,XA,JA]};ji.faPaperPlane=ji.definition;ji.prefix=$A;ji.iconName=GA;ji.width=qA;ji.height=KA;ji.ligatures=kS;ji.unicode=XA;ji.svgPathData=JA;ji.aliases=kS});var oN=qe(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var ZA="fas",eN="heart",tN=512,rN=512,RS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],aN="f004",nN="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";Ui.definition={prefix:ZA,iconName:eN,icon:[tN,rN,RS,aN,nN]};Ui.faHeart=Ui.definition;Ui.prefix=ZA;Ui.iconName=eN;Ui.width=tN;Ui.height=rN;Ui.ligatures=RS;Ui.unicode=aN;Ui.svgPathData=nN;Ui.aliases=RS});var fN=qe(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var iN="far",lN="user",sN=448,uN=512,DS=[128100,62144],cN="f007",dN="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";Vi.definition={prefix:iN,iconName:lN,icon:[sN,uN,DS,cN,dN]};Vi.faUser=Vi.definition;Vi.prefix=iN;Vi.iconName=lN;Vi.width=sN;Vi.height=uN;Vi.ligatures=DS;Vi.unicode=cN;Vi.svgPathData=dN;Vi.aliases=DS});var bN=qe(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var pN="far",hN="circle-check",mN=512,vN=512,AS=[61533,"check-circle"],gN="f058",_N="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";Wi.definition={prefix:pN,iconName:hN,icon:[mN,vN,AS,gN,_N]};Wi.faCircleCheck=Wi.definition;Wi.prefix=pN;Wi.iconName=hN;Wi.width=mN;Wi.height=vN;Wi.ligatures=AS;Wi.unicode=gN;Wi.svgPathData=_N;Wi.aliases=AS});var yN=qe(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var ho=bN();Yi.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};Yi.faCheckCircle=Yi.definition;Yi.prefix=ho.prefix;Yi.iconName=ho.iconName;Yi.width=ho.width;Yi.height=ho.height;Yi.ligatures=ho.aliases;Yi.unicode=ho.unicode;Yi.svgPathData=ho.svgPathData;Yi.aliases=ho.aliases});var kN=qe($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var SN="far",wN="circle-question",CN=512,xN=512,NS=[62108,"question-circle"],TN="f059",EN="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";$i.definition={prefix:SN,iconName:wN,icon:[CN,xN,NS,TN,EN]};$i.faCircleQuestion=$i.definition;$i.prefix=SN;$i.iconName=wN;$i.width=CN;$i.height=xN;$i.ligatures=NS;$i.unicode=TN;$i.svgPathData=EN;$i.aliases=NS});var RN=qe(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var mo=kN();Gi.definition={prefix:mo.prefix,iconName:mo.iconName,icon:[mo.width,mo.height,mo.aliases,mo.unicode,mo.svgPathData]};Gi.faQuestionCircle=Gi.definition;Gi.prefix=mo.prefix;Gi.iconName=mo.iconName;Gi.width=mo.width;Gi.height=mo.height;Gi.ligatures=mo.aliases;Gi.unicode=mo.unicode;Gi.svgPathData=mo.svgPathData;Gi.aliases=mo.aliases});var zN=qe(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var DN="far",AN="pen-to-square",NN=512,LN=512,LS=["edit"],BN="f044",ON="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";qi.definition={prefix:DN,iconName:AN,icon:[NN,LN,LS,BN,ON]};qi.faPenToSquare=qi.definition;qi.prefix=DN;qi.iconName=AN;qi.width=NN;qi.height=LN;qi.ligatures=LS;qi.unicode=BN;qi.svgPathData=ON;qi.aliases=LS});var PN=qe(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var vo=zN();Ki.definition={prefix:vo.prefix,iconName:vo.iconName,icon:[vo.width,vo.height,vo.aliases,vo.unicode,vo.svgPathData]};Ki.faEdit=Ki.definition;Ki.prefix=vo.prefix;Ki.iconName=vo.iconName;Ki.width=vo.width;Ki.height=vo.height;Ki.ligatures=vo.aliases;Ki.unicode=vo.unicode;Ki.svgPathData=vo.svgPathData;Ki.aliases=vo.aliases});var VN=qe(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var MN="far",IN="copy",FN=448,HN=512,BS=[],jN="f0c5",UN="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";Xi.definition={prefix:MN,iconName:IN,icon:[FN,HN,BS,jN,UN]};Xi.faCopy=Xi.definition;Xi.prefix=MN;Xi.iconName=IN;Xi.width=FN;Xi.height=HN;Xi.ligatures=BS;Xi.unicode=jN;Xi.svgPathData=UN;Xi.aliases=BS});var XN=qe(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var WN="far",YN="file",$N=384,GN=512,OS=[128196,128459,61462],qN="f15b",KN="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z";Ji.definition={prefix:WN,iconName:YN,icon:[$N,GN,OS,qN,KN]};Ji.faFile=Ji.definition;Ji.prefix=WN;Ji.iconName=YN;Ji.width=$N;Ji.height=GN;Ji.ligatures=OS;Ji.unicode=qN;Ji.svgPathData=KN;Ji.aliases=OS});var aL=qe(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var JN="far",QN="trash-can",ZN=448,eL=512,zS=[61460,"trash-alt"],tL="f2ed",rL="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";Qi.definition={prefix:JN,iconName:QN,icon:[ZN,eL,zS,tL,rL]};Qi.faTrashCan=Qi.definition;Qi.prefix=JN;Qi.iconName=QN;Qi.width=ZN;Qi.height=eL;Qi.ligatures=zS;Qi.unicode=tL;Qi.svgPathData=rL;Qi.aliases=zS});var nL=qe(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var go=aL();Zi.definition={prefix:go.prefix,iconName:go.iconName,icon:[go.width,go.height,go.aliases,go.unicode,go.svgPathData]};Zi.faTrashAlt=Zi.definition;Zi.prefix=go.prefix;Zi.iconName=go.iconName;Zi.width=go.width;Zi.height=go.height;Zi.ligatures=go.aliases;Zi.unicode=go.unicode;Zi.svgPathData=go.svgPathData;Zi.aliases=go.aliases});var dL=qe(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});var oL="far",iL="image",lL=512,sL=512,PS=[],uL="f03e",cL="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";el.definition={prefix:oL,iconName:iL,icon:[lL,sL,PS,uL,cL]};el.faImage=el.definition;el.prefix=oL;el.iconName=iL;el.width=lL;el.height=sL;el.ligatures=PS;el.unicode=uL;el.svgPathData=cL;el.aliases=PS});var yB=qe(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var hB="fas",mB="eye",vB=576,gB=512,US=[128065],_B="f06e",bB="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:hB,iconName:mB,icon:[vB,gB,US,_B,bB]};tl.faEye=tl.definition;tl.prefix=hB;tl.iconName=mB;tl.width=vB;tl.height=gB;tl.ligatures=US;tl.unicode=_B;tl.svgPathData=bB;tl.aliases=US});var BB=qe(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var kB="fas",RB="clock",DB=512,AB=512,KS=[128339,"clock-four"],NB="f017",LB="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 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.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z";rl.definition={prefix:kB,iconName:RB,icon:[DB,AB,KS,NB,LB]};rl.faClock=rl.definition;rl.prefix=kB;rl.iconName=RB;rl.width=DB;rl.height=AB;rl.ligatures=KS;rl.unicode=NB;rl.svgPathData=LB;rl.aliases=KS});var HB=qe(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var OB="fas",zB="calendar-days",PB=448,MB=512,XS=["calendar-alt"],IB="f073",FB="M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z";al.definition={prefix:OB,iconName:zB,icon:[PB,MB,XS,IB,FB]};al.faCalendarDays=al.definition;al.prefix=OB;al.iconName=zB;al.width=PB;al.height=MB;al.ligatures=XS;al.unicode=IB;al.svgPathData=FB;al.aliases=XS});var jB=qe(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var _o=HB();nl.definition={prefix:_o.prefix,iconName:_o.iconName,icon:[_o.width,_o.height,_o.aliases,_o.unicode,_o.svgPathData]};nl.faCalendarAlt=nl.definition;nl.prefix=_o.prefix;nl.iconName=_o.iconName;nl.width=_o.width;nl.height=_o.height;nl.ligatures=_o.aliases;nl.unicode=_o.unicode;nl.svgPathData=_o.svgPathData;nl.aliases=_o.aliases});var sO=qe(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var rO="fas",aO="cloud-arrow-up",nO=640,oO=512,n3=[62338,"cloud-upload","cloud-upload-alt"],iO="f0ee",lO="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 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 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:rO,iconName:aO,icon:[nO,oO,n3,iO,lO]};ol.faCloudArrowUp=ol.definition;ol.prefix=rO;ol.iconName=aO;ol.width=nO;ol.height=oO;ol.ligatures=n3;ol.unicode=iO;ol.svgPathData=lO;ol.aliases=n3});var S3=qe(()=>{"use strict"});var IO=qe(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var LO="fas",BO="grip-vertical",OO=320,zO=512,x3=[],PO="f58e",MO="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:LO,iconName:BO,icon:[OO,zO,x3,PO,MO]};sl.faGripVertical=sl.definition;sl.prefix=LO;sl.iconName=BO;sl.width=OO;sl.height=zO;sl.ligatures=x3;sl.unicode=PO;sl.svgPathData=MO;sl.aliases=x3});var $O=qe(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var HO="fas",jO="filter",UO=512,VO=512,k3=[],WO="f0b0",YO="M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 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.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z";ul.definition={prefix:HO,iconName:jO,icon:[UO,VO,k3,WO,YO]};ul.faFilter=ul.definition;ul.prefix=HO;ul.iconName=jO;ul.width=UO;ul.height=VO;ul.ligatures=k3;ul.unicode=WO;ul.svgPathData=YO;ul.aliases=k3});var az=qe(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var JO="fas",QO="palette",ZO=512,ez=512,R3=[127912],tz="f53f",rz="M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-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:JO,iconName:QO,icon:[ZO,ez,R3,tz,rz]};cl.faPalette=cl.definition;cl.prefix=JO;cl.iconName=QO;cl.width=ZO;cl.height=ez;cl.ligatures=R3;cl.unicode=tz;cl.svgPathData=rz;cl.aliases=R3});var cz=qe(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var nz="fas",oz="bars-staggered",iz=512,lz=512,D3=["reorder","stream"],sz="f550",uz="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";dl.definition={prefix:nz,iconName:oz,icon:[iz,lz,D3,sz,uz]};dl.faBarsStaggered=dl.definition;dl.prefix=nz;dl.iconName=oz;dl.width=iz;dl.height=lz;dl.ligatures=D3;dl.unicode=sz;dl.svgPathData=uz;dl.aliases=D3});var gz=qe(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var dz="fas",fz="rotate-left",pz=512,hz=512,A3=["rotate-back","rotate-backward","undo-alt"],mz="f2ea",vz="M48.5 224H40c-13.3 0-24-10.7-24-24V72c0-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.8H48.5z";fl.definition={prefix:dz,iconName:fz,icon:[pz,hz,A3,mz,vz]};fl.faRotateLeft=fl.definition;fl.prefix=dz;fl.iconName=fz;fl.width=pz;fl.height=hz;fl.ligatures=A3;fl.unicode=mz;fl.svgPathData=vz;fl.aliases=A3});var xz=qe(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var _z="fas",bz="rotate-right",yz=512,Sz=512,N3=["redo-alt","rotate-forward"],wz="f2f9",Cz="M463.5 224H472c13.3 0 24-10.7 24-24V72c0-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.8H463.5z";pl.definition={prefix:_z,iconName:bz,icon:[yz,Sz,N3,wz,Cz]};pl.faRotateRight=pl.definition;pl.prefix=_z;pl.iconName=bz;pl.width=yz;pl.height=Sz;pl.ligatures=N3;pl.unicode=wz;pl.svgPathData=Cz;pl.aliases=N3});var Bz=K(QT()),Rs=K(K5()),Oz=K(er()),D_=K(rr());var bn={};Gc(bn,{$$fromRoot:()=>lt,Accordion:()=>Hf,Box:()=>E,Button:()=>ie,ColorObjects:()=>Ph,Column:()=>_t,Config:()=>it,Cropper:()=>k_,DarkmodeColors:()=>dE,DesignBook:()=>Lz,Effect:()=>mu,FAI:()=>Te,Flex:()=>tt,FlexBr:()=>sB,GenerateClassName:()=>Wr,Grid:()=>Zr,Img:()=>Nn,Input:()=>ht,LaunchReactApp:()=>b_,LinkifyText:()=>w_,List:()=>fc,Loader:()=>Ga,Logo:()=>kt,P:()=>TO,PageNotFound:()=>Az,PageViewController:()=>C_,Placeholder:()=>S_,Plate:()=>dm,React:()=>p3.default,ReadStyleSet:()=>Zh,RootViewController:()=>Zl,Row:()=>ct,SetThemeColorTag:()=>Mh,Sheet:()=>Wt,Snackbar:()=>Yn,Span:()=>Vn,SwipeView:()=>Nf,TabBar:()=>T_,Table:()=>qn,Text:()=>yt,ThemeColors:()=>Ih,Tooltips:()=>Yr,amotify:()=>z3,collectForm:()=>s_,default:()=>z3,pageRouter:()=>Ln,useRecycle:()=>Sf,useRouterEffect:()=>__,useStore:()=>Ge});var wW=Object.defineProperty,CW=Object.defineProperties,xW=Object.getOwnPropertyDescriptors,Pg=Object.getOwnPropertySymbols,lE=Object.prototype.hasOwnProperty,sE=Object.prototype.propertyIsEnumerable,uE=Math.pow,iE=(r,a,i)=>a in r?wW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[a]=i,v=(r,a)=>{for(var i in a||(a={}))lE.call(a,i)&&iE(r,i,a[i]);if(Pg)for(var i of Pg(a))sE.call(a,i)&&iE(r,i,a[i]);return r},N=(r,a)=>CW(r,xW(a)),He=(r,a)=>{var i={};for(var l in r)lE.call(r,l)&&a.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&Pg)for(var l of Pg(r))a.indexOf(l)<0&&sE.call(r,l)&&(i[l]=r[l]);return i},ua=(r,a,i)=>new Promise((l,s)=>{var d=p=>{try{h(i.next(p))}catch(_){s(_)}},c=p=>{try{h(i.throw(p))}catch(_){s(_)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((i=i.apply(r,a)).next())});var h3={};Gc(h3,{$$fromRoot:()=>lt,ColorObjects:()=>Ph,Config:()=>it,DarkmodeColors:()=>dE,GenerateClassName:()=>Wr,LaunchReactApp:()=>b_,React:()=>p3.default,ReadStyleSet:()=>Zh,SetThemeColorTag:()=>Mh,ThemeColors:()=>Ih,collectForm:()=>s_,pageRouter:()=>Ln,useRecycle:()=>Sf,useRouterEffect:()=>__,useStore:()=>Ge});var Gl=K(rr());var Mg=K(rr());var au={},Ge={set:(r,a)=>{let i=!0;return Object.entries(r).forEach(([l,s])=>{let d=au[l]||{};d&&d.privateKey&&d.privateKey!=a&&(i=!1),au[l]={privateKey:a,value:s}}),i},update:(r,a)=>{let i=!0;return Object.entries(r).forEach(([l,s])=>{var d;let c=au[l]||{};c&&c.privateKey&&c.privateKey!=a&&(i=!1),au[l]=N(v({},au[l]),{value:v(v({},(d=au[l])==null?void 0:d.value),s)})}),i},get:(r,a)=>{let i=au[r];if(!(i&&i.privateKey&&i.privateKey!=a))return i==null?void 0:i.value},delete:(r,a)=>{let i=au[r];return i&&i.privateKey&&i.privateKey!=a?!1:(delete au[r],!0)}};var Z0=K(er()),Sf={set:r=>{var a;let[i]=(0,Z0.useState)(Mg.default.uuid.gen()),[l,s]=(0,Z0.useState)(Mg.default.uuid.gen());return Ge.set({["RecycleKey_"+i]:()=>{s(Mg.default.uuid.gen())}}),Ge.update({["RecycleKeys_"+r]:{keys:[...((a=Ge.get("RecycleKeys_"+r))==null?void 0:a.keys)||[],i]}}),l},do:r=>{var a;let i=((a=Ge.get("RecycleKeys_"+r))==null?void 0:a.keys)||[];if(i.length)for(let l of i){let s=Ge.get("RecycleKey_"+l);s&&s()}}};var cE=K(rr());var Ph=[{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}],Mh=()=>{let r="#45515c",a=(0,cE.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},dE={light:"#FFF",dark:"#333",dim:"#666",auto:()=>it.get().isSystemDarkmode()?"#333":"#FFF"},Ih={};Ph.forEach(r=>{let{key:a,isAvocado:i,isBrand:l}=r;Ih[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:i,isBrand:l}});var Ro={sessionUID:Gl.default.uuid.gen(),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}},it={get:()=>Ro,set:r=>{Ro=v(v({},Ro),r)},update:{themeColor:r=>{if(Ph.find(i=>i.key==r)||(r="comun"),r==it.get().themeColor)return;it.set(N(v({},it.get()),{themeColor:r}));let a=(0,Gl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Mh()}),it.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==it.get().darkMode)return;let a=r=="auto"?it.get().isSystemDarkmode()?"dark":"light":r;it.set(N(v({},it.get()),{darkMode:a}));let i=(0,Gl.default)(document.body);i.removeClass(i.findClass(/^bdsDM/)).addClass("bdsDM_"+a),it.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=it.get().roundness&&(it.set(N(v({},it.get()),{roundness:r})),it.restart())},screen:r=>{it.get().screen=v(v({},it.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),i=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1||a.indexOf("macintosh")>-1&&"ontouchend"in document?"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";Ro.appRoot=r.appRoot||document.body,Ro.appRoot instanceof HTMLElement&&(Ro.appRoot.tabIndex=0),Gl.default.is.exist(r.roundness)&&it.update.roundness(r.roundness),Gl.default.is.exist(r.themeColor)&&it.update.themeColor(r.themeColor),Gl.default.is.exist(r.darkMode)&&it.update.darkMode(r.darkMode),Ro.deviceIs=i,Ro.browserIs=l,Ro.isPhone=["Android","iPhone"].includes(i),Ro.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ro.isIOS=["iPhone","iPad"].includes(i),Ro.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ro.isIOS=["iPhone","iPad"].includes(i),Ro.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,Gl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+it.get().deviceIs,"bdsDM_"+it.get().darkMode,"bdsTC_"+it.get().themeColor]),(0,Gl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,d=(0,Gl.default)(document.body),c=Number(d.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(d.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-c-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{it.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,Gl.default)(document.body),d=window.innerHeight,c=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=d-c-h;s.setStyleProperty("--viewHeight",d+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Mh()},restart:()=>{Sf.do("RootViewController_"+it.get().sessionUID)}};var uc=K(er());var vr=K(Ct()),br=K(rr()),qa=K(er());var hE=K(Ct());var E=r=>{let a=Wr(r),{freeCSS:i}=a,l=He(a,["freeCSS"]);return(0,hE.jsx)("div",v({},l))};var gE=K(Ct());var TW={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},EW={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"},kW={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},RW={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},DW={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},AW={FixScroll:"_FixScroll_3zub0_1",Float:"_Float_3zub0_8",Wrapper:"_Wrapper_3zub0_16",Wrap:"_Wrap_3zub0_16",TapSensor:"_TapSensor_3zub0_30",TapContent:"_TapContent_3zub0_40",Hide:"_Hide_3zub0_47",Open:"_Open_3zub0_50",isNewSheet_true:"_isNewSheet_true_3zub0_50",Content:"_Content_3zub0_50",isNewSheet_false:"_isNewSheet_false_3zub0_54",BB:"_BB_3zub0_54",Tcate_normal:"_Tcate_normal_3zub0_57",BaseBody:"_BaseBody_3zub0_61",Tcate_drawer:"_Tcate_drawer_3zub0_76",Tpos_left:"_Tpos_left_3zub0_76",Tpos_right:"_Tpos_right_3zub0_91",Tpos_bottom:"_Tpos_bottom_3zub0_106",DragBar:"_DragBar_3zub0_113",Tcate_custom:"_Tcate_custom_3zub0_121",CustomSheet:"_CustomSheet_3zub0_129",GPT:"_GPT_3zub0_132",Col_1:"_Col_1_3zub0_132",Row_1:"_Row_1_3zub0_132",Row_4:"_Row_4_3zub0_132",Col_4:"_Col_4_3zub0_132",Row_2:"_Row_2_3zub0_135",Row_5:"_Row_5_3zub0_135",Col_2:"_Col_2_3zub0_138",Col_5:"_Col_5_3zub0_138",GPT_3:"_GPT_3_3zub0_144",GPT_18:"_GPT_18_3zub0_144",GPT_8:"_GPT_8_3zub0_147",GPT_23:"_GPT_23_3zub0_147",GPT_11:"_GPT_11_3zub0_150",GPT_14:"_GPT_14_3zub0_150",GPT_12:"_GPT_12_3zub0_153",GPT_15:"_GPT_15_3zub0_153",Col_3:"_Col_3_3zub0_163"},NW={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"},LW={RootViewController:"_RootViewController_k39n4_2",Content:"_Content_k39n4_2",TopNav:"_TopNav_k39n4_6",FooterNav:"_FooterNav_k39n4_9",Body:"_Body_k39n4_12",SideNav:"_SideNav_k39n4_12",SwipeView:"_SwipeView_k39n4_19",Rail:"_Rail_k39n4_19",ShowOther_true:"_ShowOther_true_k39n4_19",Child:"_Child_k39n4_19",Display:"_Display_k39n4_27",LoopAdjusting:"_LoopAdjusting_k39n4_31"},BW={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"},OW={RippleElement:"_RippleElement_1wxnq_1",Color_cloud:"_Color_cloud_1wxnq_7",RippleWrap:"_RippleWrap_1wxnq_7",Wave:"_Wave_1wxnq_7",Color_theme:"_Color_theme_1wxnq_10",PuddingEffect:"_PuddingEffect_1wxnq_39",pdAnm:"_pdAnm_1wxnq_1"},zW={Wrap:"_Wrap_58pz3_1",Use_profile:"_Use_profile_58pz3_4",Use_head:"_Use_head_58pz3_7",Canvas:"_Canvas_58pz3_11",Preview:"_Preview_58pz3_18",ToneBall:"_ToneBall_58pz3_22",ToneBall_1:"_ToneBall_1_58pz3_29",ToneBall_2:"_ToneBall_2_58pz3_32",ToneBall_3:"_ToneBall_3_58pz3_35",ToneBall_4:"_ToneBall_4_58pz3_38",ToneBall_5:"_ToneBall_5_58pz3_41",ToneBall_6:"_ToneBall_6_58pz3_44",ToneBall_7:"_ToneBall_7_58pz3_47",ToneBall_8:"_ToneBall_8_58pz3_50",ToneBall_9:"_ToneBall_9_58pz3_53",ToneBall_10:"_ToneBall_10_58pz3_56"},PW={Wrap:"_Wrap_2p2fg_1",isLocked_true:"_isLocked_true_2p2fg_16",Tone_Sub_Color_theme:"_Tone_Sub_Color_theme_2p2fg_21",Tone_Clear_Color_theme:"_Tone_Clear_Color_theme_2p2fg_21",Tone_Sub_Color_posi:"_Tone_Sub_Color_posi_2p2fg_24",Tone_Clear_Color_posi:"_Tone_Clear_Color_posi_2p2fg_24",Tone_Sub_Color_nega:"_Tone_Sub_Color_nega_2p2fg_27",Tone_Clear_Color_nega:"_Tone_Clear_Color_nega_2p2fg_27",Tone_Sub_Color_warn:"_Tone_Sub_Color_warn_2p2fg_30",Tone_Clear_Color_warn:"_Tone_Clear_Color_warn_2p2fg_30",Tone_Sub_Color_white:"_Tone_Sub_Color_white_2p2fg_33",Tone_Clear_Color_white:"_Tone_Clear_Color_white_2p2fg_33",Tone_Sub_Color_cloud:"_Tone_Sub_Color_cloud_2p2fg_36",Tone_Clear_Color_cloud:"_Tone_Clear_Color_cloud_2p2fg_36",Tone_Sub_Color_layer:"_Tone_Sub_Color_layer_2p2fg_39",Tone_Clear_Color_layer:"_Tone_Clear_Color_layer_2p2fg_39",isNeutral_true:"_isNeutral_true_2p2fg_43",Tone_Clear:"_Tone_Clear_2p2fg_21",Tone_BorderToFill:"_Tone_BorderToFill_2p2fg_46",Tone_FillToBorder:"_Tone_FillToBorder_2p2fg_49",Tone_FillToBorder_Color_white:"_Tone_FillToBorder_Color_white_2p2fg_52",Tone_FillToBorder_Color_cloud:"_Tone_FillToBorder_Color_cloud_2p2fg_52",Tone_Link:"_Tone_Link_2p2fg_55",Tone_Normal_Color_plain:"_Tone_Normal_Color_plain_2p2fg_62",Tone_Normal_Color_theme:"_Tone_Normal_Color_theme_2p2fg_66",Tone_Normal_Color_posi:"_Tone_Normal_Color_posi_2p2fg_70",Tone_Normal_Color_nega:"_Tone_Normal_Color_nega_2p2fg_74",Tone_Normal_Color_warn:"_Tone_Normal_Color_warn_2p2fg_78",Tone_Border:"_Tone_Border_2p2fg_46",Tone_Prime:"_Tone_Prime_2p2fg_85",Tone_BorderToFill_Color_white:"_Tone_BorderToFill_Color_white_2p2fg_120",Tone_BorderToFill_Color_cloud:"_Tone_BorderToFill_Color_cloud_2p2fg_120"},MW={Wrapper:"_Wrapper_m8cj1_1",Input:"_Input_m8cj1_48",InputCover:"_InputCover_m8cj1_63",DigitCharacterCell:"_DigitCharacterCell_m8cj1_78",Combined:"_Combined_m8cj1_78",ShowCell:"_ShowCell_m8cj1_1"},IW={SelectorWrapper:"_SelectorWrapper_vfpyx_1"},FW={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"},HW={CellBase:"_CellBase_1bm9l_1",HideInput_true:"_HideInput_true_1bm9l_1",Input:"_Input_1bm9l_1",Label:"_Label_1bm9l_5",Icon:"_Icon_1bm9l_5",defaultActiveStyling_true:"_defaultActiveStyling_true_1bm9l_12",CheckboxIcon:"_CheckboxIcon_1bm9l_38",I:"_I_1bm9l_1"},jW={Select:"_Select_11niy_1",SelectLegend:"_SelectLegend_11niy_11"},UW={Input:"_Input_lskuu_1",Label:"_Label_lskuu_7",Dot:"_Dot_lskuu_7"},VW={Select:"_Select_2ujbp_1"},WW={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"},YW={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"},$W={Origin:"_Origin_vvhgd_1",Shallow:"_Shallow_vvhgd_5"},GW={Label:"_Label_ym2gv_1",Checked:"_Checked_ym2gv_6",Tone_WhiteCloud:"_Tone_WhiteCloud_ym2gv_9",Tone_ThemeCloud:"_Tone_ThemeCloud_ym2gv_12",Tone_ThemeBorder:"_Tone_ThemeBorder_ym2gv_18",Tone_BottomLine:"_Tone_BottomLine_ym2gv_24"},e2=r=>TW[r],$o=r=>EW[r],Fg=r=>kW[r],t2=r=>RW[r],Fh=r=>DW[r],Ar=r=>AW[r],Sa=r=>NW[r],ka=r=>LW[r],Vt=r=>BW[r],ql=r=>OW[r],wf=r=>zW[r],Jc=r=>PW[r],_s=r=>MW[r],mE=r=>IW[r],Kl=r=>FW[r],Go=r=>HW[r],vE=r=>jW[r],Hh=r=>UW[r],r2=r=>VW[r],bs=r=>WW[r],za=r=>YW[r],a2=r=>$W[r],Hg=r=>GW[r];var Nn=r=>{let a=r,{src:i="",alt:l="",showExpand:s}=a,d=He(a,["src","alt","showExpand"]);d.freeCSS=v({cursor:s?"zoom-in":"inherit"},d.freeCSS);let c=Wr(d),{freeCSS:h,className:p=""}=c,_=He(c,["freeCSS","className"]);return(0,gE.jsx)("img",v({src:i,alt:l,className:[e2("Img"),e2("ShowExpand_"+!!s),p].join(" "),onMouseDown:b=>{s&&b.stopPropagation()},onTouchStart:b=>{s&&b.stopPropagation()},onClick:b=>{s&&(b.stopPropagation(),Wt.open({type:"image",src:s!=!0?s:i})),d.onClick&&d.onClick(b)}},_))};var Pt=K(Ct());var fL=K(Fk()),pL=K(Gk()),hL=K(eR()),mL=K(lR()),vL=K(j2()),gL=K(V2()),_L=K(ER()),bL=K(BR()),yL=K(HR()),SL=K(GR()),wL=K(eD()),CL=K(lD()),xL=K(hD()),TL=K(SD()),EL=K(RD()),kL=K(eS()),RL=K(rS()),DL=K(nS()),AL=K(ZD()),NL=K(l6()),LL=K(h6()),BL=K(S6()),OL=K(R6()),zL=K(P6()),PL=K(W6()),ML=K(J6()),IL=K(o8()),FL=K(f8()),HL=K(b8()),jL=K(E8()),UL=K(B8()),VL=K(H8()),WL=K(G8()),YL=K(tA()),$L=K(sA()),GL=K(mA()),qL=K(wA()),KL=K(AA()),XL=K(IA()),JL=K(YA()),QL=K(QA()),ZL=K(oN()),eB=K(fN()),tB=K(yN()),rB=K(RN()),aB=K(PN()),nB=K(VN()),oB=K(XN()),iB=K(nL()),lB=K(dL()),Ft=r=>{let a=r,{icon:i,iconProps:l}=a,s=He(a,["icon","iconProps"]);return(0,Pt.jsx)(E,N(v({},s),{freeCSS:v({aspectRatio:"1"},s.freeCSS),styles:v({display:"inlineFlex",flexCenter:!0,position:"relative"},s.styles),children:(0,Pt.jsx)(fL.FontAwesomeIcon,N(v({icon:i,fixedWidth:!0,size:"sm"},l),{style:v({aspectRatio:1,minWidth:12*1,minHeight:12*1},l==null?void 0:l.style)}))}))},Te=Ft;Te.User=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:eB.faUser})),Te.Times=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:pL.faTimes})),Te.AngleRight=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:hL.faAngleRight})),Te.AngleLeft=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:mL.faAngleLeft})),Te.AngleUp=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:vL.faAngleUp})),Te.AngleDown=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:gL.faAngleDown})),Te.ChevronLeft=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:_L.faChevronLeft})),Te.ChevronRight=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:bL.faChevronRight})),Te.ChevronUp=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:yL.faChevronUp})),Te.ChevronDown=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:SL.faChevronDown})),Te.CaretLeft=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:wL.faCaretLeft})),Te.CaretRight=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:CL.faCaretRight})),Te.CaretUp=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:xL.faCaretUp})),Te.CaretDown=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:TL.faCaretDown})),Te.ArrowLeft=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:EL.faArrowLeft})),Te.ArrowRight=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:kL.faArrowRight})),Te.ArrowUp=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:RL.faArrowUp})),Te.ArrowDown=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:DL.faArrowDown})),Te.Rotate=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:AL.faRotate})),Te.Redo=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:NL.faRedo})),Te.Check=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:LL.faCheck})),Te.CheckCircle=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:tB.faCheckCircle})),Te.Question=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:BL.faQuestion})),Te.QuestionCircle=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:rB.faQuestionCircle})),Te.Exclamation=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:OL.faExclamation})),Te.ExclamationTriangle=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:zL.faExclamationTriangle})),Te.Home=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:PL.faHome})),Te.Share=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:ML.faShare})),Te.Search=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:IL.faSearch})),Te.YenSign=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:FL.faYenSign})),Te.Heart=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:ZL.faHeart})),Te.Star=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:JL.faStar})),Te.Edit=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:aB.faEdit})),Te.Pen=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:HL.faPen})),Te.Copy=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:nB.faCopy})),Te.File=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:oB.faFile})),Te.TrashAlt=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:iB.faTrashAlt})),Te.Bars=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:jL.faBars})),Te.Download=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:UL.faDownload})),Te.Link=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:VL.faLink})),Te.LinkSlash=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:WL.faLinkSlash})),Te.ExternalLinkAlt=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:YL.faExternalLinkAlt})),Te.Gear=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:$L.faGear})),Te.Plus=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:GL.faPlus})),Te.Minus=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:qL.faMinus})),Te.EllipsisH=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:KL.faEllipsisH})),Te.EllipsisV=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:XL.faEllipsisV})),Te.PaperPlane=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:QL.faPaperPlane})),Te.Image=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:lB.faImage}));var MS=K(Ct());var tt=r=>(0,MS.jsx)(E,N(v({},r),{styles:v({flexType:"row",flexWrap:!0,display:"flex"},r.styles),freeCSS:v({wordBreak:"break-word"},r.freeCSS)})),sB=r=>(0,MS.jsx)(E,N(v({},r),{styles:v({width:1,flexSizing:"none"},r.styles)}));var uB=K(Ct());var _t=r=>(0,uB.jsx)(tt,N(v({},r),{styles:v({flexType:"col",gap:1},r.styles)}));var Qh=K(Ct());var ct={Center:r=>(0,Qh.jsx)(tt,N(v({},r),{styles:v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r.styles)})),Left:r=>(0,Qh.jsx)(tt,N(v({},r),{styles:v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r.styles)})),Right:r=>(0,Qh.jsx)(tt,N(v({},r),{styles:v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r.styles)})),Separate:r=>(0,Qh.jsx)(tt,N(v({},r),{styles:v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r.styles)}))};var Ss=K(Ct()),FS=K(rr());var cB={Size:(r,a,i,l)=>{let s={fontSize:"inherit"};return i=i||"R",["Plain","Link"].includes(a)?{}:(i=="XS"?s=N(v({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):i=="S"?s=N(v({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):i=="R"?(s.padding=["3/4",1],a=="Prime"&&(s.padding=["3/4",2])):i=="L"&&(s.padding=[1,3],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=v({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,i,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=N(v({},s),{backgroundColor:"trans"}):a=="Border"?s=N(v({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="Prime"?(s=N(v({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=N(v({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="Sub"?s=N(v({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="Clear"?s=N(v({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="FillToBorder"?s=N(v({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="BorderToFill"&&(s=N(v({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="3.blur"),a!="Link"&&(s=v({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},Af=r=>{let a=Zh(v({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme","aria-label":FS.default.uuid.gen()},r)),i=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:d={},isActiveClassName:c="",tone:h="border",color:p="theme",className:_=""}=a;a.styles=v(v(v({},cB.Size(r.seed,r.tone,r.size,p)),cB.Tone(r.seed,r.tone,r.size,p)),a.styles),a.className=[_,Jc("Wrap"),Jc("isNeutral_"+!s),Jc("isLocked_"+l),Jc("Tone_"+h),Jc("Color_"+p),Jc("Tone_"+h+"_Color_"+p)].join(" "),s&&(a=N(v({className:[a.className,c].join(" ")},a),{styles:v(v({},a.styles),d)})),a=Wr(a)}if(i=="Button"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,submitOption:p,onClick:_}=l,b=He(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=v({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),b=N(v({},b),{"data-form-submit-button":p.formName,"data-sdfike":FS.default.flatArray(p.submitDelegationKey).join(",")})),(0,Ss.jsx)("button",v({onClick:S=>ua(void 0,null,function*(){if(_&&_(S),!p)return;let T=yield s_(p.formName);!p.acceptInvalidForm&&!T.valid||p.callback(T.data,T.valid)})},b))}else if(i=="Label"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h}=l,p=He(l,["isLocked","isActive","isActiveClassName","isActiveStyles"]);return(0,Ss.jsx)("label",v({},p))}else if(i=="Anchor"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,href:p="",newTab:_,sync:b,shiftQueryParams:S}=l,T=He(l,["isLocked","isActive","isActiveClassName","isActiveStyles","href","newTab","sync","shiftQueryParams"]);return(0,Ss.jsx)("button",v({onClick:C=>{let k=C.ctrlKey||C.metaKey,D=_||!!k,A=p;S&&(A+=location.search),b?Ln.pushSync(A):Ln.push(A,!!D)}},T))}return null},rd=(r,a)=>({XS:i=>(0,Ss.jsx)(Af,N(v({},i),{seed:r,tone:a,size:"S"})),S:i=>(0,Ss.jsx)(Af,N(v({},i),{seed:r,tone:a,size:"S"})),R:i=>(0,Ss.jsx)(Af,N(v({},i),{seed:r,tone:a,size:"R"})),L:i=>(0,Ss.jsx)(Af,N(v({},i),{seed:r,tone:a,size:"L"}))}),IS=r=>({Plain:a=>(0,Ss.jsx)(Af,N(v({},a),{seed:r,tone:"Plain",size:"R"})),Link:a=>(0,Ss.jsx)(Af,N(v({},a),{seed:r,tone:"Link",size:"R"})),Normal:rd(r,"Normal"),Border:rd(r,"Border"),Prime:rd(r,"Prime"),Sub:rd(r,"Sub"),Clear:rd(r,"Clear"),FillToBorder:rd(r,"FillToBorder"),BorderToFill:rd(r,"BorderToFill")}),ie={Button:IS("Button"),Label:IS("Label"),Anchor:IS("Anchor")};var em=K(Ct()),su=K(er()),xl=K(rr());var V$=r=>{let a=r,{options:{onSlideCallback:i,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:d=!1,disableMousedrag:c=!1,disableTouch:h=!1}={},wrapper:p=I=>I,slides:_=[]}=a,b=He(a,["options","wrapper","slides"]),[S]=(0,su.useState)(xl.default.uuid.gen()),[T,C]=(0,su.useState)({eventType:"init",index:r.slideIndex});(0,su.useEffect)(()=>{Ge.set({["SwipeTimer-"+S]:null})},[]);let k=(0,su.useRef)(!1);(0,su.useEffect)(()=>{C({eventType:"usr",index:r.slideIndex}),k.current||(k.current=!0)},[r.slideIndex]),(0,su.useEffect)(()=>{let I=T.index+(d?1:0),$=[-1,_.length].includes(T.index);$||i&&setTimeout(()=>{i(T.index)},300);let F=lt("#Swiper-"+S);if(T.eventType=="adjustLoop")F.await(250).css({transition:"0s",transform:Ao.TrasformString(I)}).children().removeClass(ka("Display")).parent().children(I).addClass([ka("Display"),ka("LoopAdjusting")]).await(100).removeClass(ka("LoopAdjusting"));else if(T.eventType=="sys")F.await(250).css({transform:Ao.TrasformString(I)}).children().removeClass(ka("Display")).parent().children(I).addClass(ka("Display"));else if(F.children().removeClass(ka("Display")).parent().children(I).addClass(ka("Display")).parent().css({transition:"0.3s",transform:Ao.TrasformString(I)}).await(250).css({transition:"0s"}),$){let W=T.index==-1?_.length-1:0;C({eventType:"adjustLoop",index:W})}s&&!$&&(xl.default.interval.clear("SwipeTimer-"+S),xl.default.interval.standBy("SwipeTimer-"+S,s-(T.eventType=="sys"?310:0),()=>{let W=T.index+1;!d&&W>_.length-1&&(W=0),C({eventType:"usr",index:W})}))},[T]);let D=_.map((I,$)=>(0,em.jsx)(E,{styles:{flexSizing:"none",width:1,height:0},className:ka("Child"),children:p(I)},$));d&&(D.push(D[0]),D.unshift(D[D.length-2]));let A={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:d,index:T.index,minIndex:d?-1:0,maxIndex:_.length+(d?1:-1),width:0,set_event:C},q=T.index+(d?1:0);return(0,em.jsx)(E,N(v({},b),{styles:v({overflow:"hidden",position:"relative"},b.styles),className:[b.className,ka("SwipeView")].join(" "),freeCSS:v({zIndex:1},b.freeCSS),"data-swipe-id":S,onMouseDown:I=>{c||I.buttons==1&&Ao.EffectStart(I,A)},onTouchStart:I=>{var $;h||(($=I.touches)==null?void 0:$.length)==1&&Ao.EffectStart(I,A)},children:(0,em.jsx)(tt,{styles:{flexWrap:!1,gap:1,transition:"long"},className:[ka("Rail"),ka("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:v({},k.current?{}:{transform:Ao.TrasformString(q)}),children:D})}))},Ao={TrasformString:r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,EffectStart:(r,a)=>{let{x:i,y:l}=xl.default.getCursor(r),s=r.currentTarget,d=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(d.tagName))return;a=N(v({},a),{x:i-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:lt("#Swiper-"+a.id).position().width});let{swipeId:c}=s.dataset;c==a.id&&(0,xl.default)(document).addEvent({eventID:"SwipeMouseMove",eventType:"mousemove",callback:h=>{Ao.EffectCheck(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeTouchMove",eventType:"touchmove",callback:h=>{Ao.EffectCheck(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeMouseUp",eventType:"mouseup",callback:h=>{Ao.EffectEnd(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeTouchEnd",eventType:"touchend",callback:h=>{Ao.EffectEnd(h,a)},options:{passive:!1}})},EffectCheck:(r,a)=>{if(a.process)return;let{x:i,y:l}=xl.default.getCursor(r),s=Math.abs(i-a.x+window.scrollX),d=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(d+s<15))if(d>s/2)(0,xl.default)(document).removeEvent(["SwipeMouseMove","SwipeTouchMove"]);else{a.process=!0;let c=a.index+(a.loop?1:0);lt("#Swiper-"+a.id).children(c-1).addClass(ka("Display")),(0,xl.default)(document).addEvent({eventID:"SwipeCheckMouseMove",eventType:"mousemove",callback:h=>{Ao.EffectMove(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeCheckTouchMove",eventType:"touchmove",callback:h=>{Ao.EffectMove(h,a)},options:{passive:!1}}),r.preventDefault();return}},EffectMove:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:i}=xl.default.getCursor(r),l=i-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 d=s-a.maxIndex;s=a.maxIndex+d/2}lt("#Swiper-"+a.id).css({transition:"0s",transform:Ao.TrasformString(s)}),r.preventDefault()},EffectEnd:(r,a)=>{if(a.process){let i=xl.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,d=a.index+(a.loop?1:0),c=0;s<400?c=d-(+(i>0)*2-1):c=Math.round(d-i/a.width),c=Math.max(Math.min(c,a.maxIndex),a.minIndex),a.process=!1,d===c?(a.effectStartAt=l,lt("#Swiper-"+a.id).css({transition:".2s",transform:Ao.TrasformString(c)}).await(310).css({transition:"0s"}).children().removeClass(ka("Display")).parent().children(d).addClass(ka("Display"))):a.set_event({eventType:"usr",index:c+a.minIndex})}(0,xl.default)(document).removeEvent(["SwipeMouseMove","SwipeTouchMove","SwipeCheckMouseMove","SwipeCheckTouchMove","SwipeMouseUp","SwipeTouchEnd"])}},Nf=r=>(0,em.jsx)(V$,N(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var dB=K(Ct());var fB=r=>(0,dB.jsx)("input",v({},Wr(r)));var jS=K(Ct());var No=K(Ct()),Lf=K(er()),Un=K(rr());var pB=K(Ct()),HS=K(rr());var Yr={__memoryID:HS.default.uuid.gen(),open:r=>{let a=r,{tipsID:i=HS.default.uuid.gen(),tipsGroups:l=[]}=a,s=He(a,["tipsID","tipsGroups"]);Wt.open(N(v({sheetID:i,sheetGroups:["tooltips",...l]},s),{type:"custom",close_option:v({aroundClick:!0,parentBlur:!0,escapeKeyDown:!0,pageTransit:!0},s.close_option)}))},close:r=>{r&&Wt.close(r)},closeALL:()=>{Wt.closeGroup("tooltips")},Comps:{Body:r=>(0,pB.jsx)(E,N(v({},r),{styles:v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r.styles)}))}};var pa=r=>{let[a]=(0,Lf.useState)(r.componentID||Un.default.uuid.gen());r=v({},r),r.states=N(v({enableFormSubmit:!0,status_id:Un.default.uuid.gen(),override:"never",name:Un.default.uuid.gen(),id:Un.default.uuid.gen(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:i}=r;return(0,No.jsx)(i,v({},r.states))},ha=r=>{let{children:a,val_status:i,set_status:l,val_validate:s,states:d}=r,{clearButton:c,rightIcon:h,leftIcon:p,wrapStyles:_}=d;return i.eventType=="init"&&!d.checkValidationAtFirst&&(s.notice=[]),(0,No.jsxs)(ct.Center,{styles:v({position:"relative",verticalAlign:"unset",gap:0},_),className:_s("Wrapper"),"data-notice-uid":i.componentID,children:[(0,No.jsx)(W$,{notice:s.notice,val_status:i}),d.leftIndicator,(0,No.jsxs)(tt,{styles:{position:"relative",flexSizing:"auto"},children:[p,a,c&&i.dataValue?(0,No.jsx)(ie.Button.Normal.R,{styles:{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%"},freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{l(b=>N(v({},b),{dataValue:"",formatValue:"",eventType:"update",eventID:Un.default.uuid.gen()}))},children:(0,No.jsx)(Te.Times,{})}):h]}),d.rightIndicator]})},W$=r=>{let{notice:a,val_status:i}=r,{componentID:l}=i,s="NoticeTimer-"+l,d="NoticeTimerClose-"+l,c="notice-tips-"+l;return Un.default.interval.clear(s),Un.default.interval.clear(d),Un.default.interval.standBy(s,350,()=>{if(!a.length){Yr.close(c);return}Yr.open({tipsID:c,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,styles:{padding:[1,0]},close_option:{parentBlur:!1},content:(0,No.jsxs)(Yr.Comps.Body,{styles:{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative"},children:[(0,No.jsx)(E,{styles:{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark"},freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,No.jsx)(_t,{styles:{backgroundColor:"inherit",gap:"1/3",position:"relative"},freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:_,label:b}=h,S=_=="invalid"?Te.Times:_=="warn"?Te.Exclamation:Te.Check;return(0,No.jsxs)(ct.Left,{styles:{gap:0,borderRadius:"2.tone.secondary"},children:[(0,No.jsx)(S,{styles:{flexCenter:!0,fontSize:"3.paragraph",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[_]}}),(0,No.jsx)(E,{styles:{fontColor:"white"},children:b})]},p+"-"+JSON.stringify(h))})})]})})}),Un.default.interval.standBy(d,6e3,()=>{Yr.close(c)}),null},wa=r=>{let{type:a,states:i,val_status:l,set_status:s,ExtraOverrideStates:d,ExtraStoreStates:c,val_validate:h,set_validate:p,DefaultValidation:_,onUpdateValue:b,onUpdateValidValue:S}=r;i=v({},i);let{componentID:T}=l;(0,Lf.useEffect)(()=>(Ge.update({[T]:v({ResolveRefresh:null,Refresh:()=>new Promise((C,k)=>{Ge.get(T).ResolveRefresh=C,s(D=>N(v({},D),{eventType:"refresh",eventID:Un.default.uuid.gen()}))}),GenNotice:C=>{let{ok:k,notice:D}=C;p({ok:k,notice:D})}},c)}),()=>{Ge.delete(T)}),[]),(0,Lf.useEffect)(()=>{i.value=l.dataValue,Un.default.interval.clear("ValidationTimer-"+T),Y$({val_status:l,set_validate:p,DefaultValidation:_,states:i})},[l.eventID]),(()=>{let{override:C}=i;if(C=="never"||C=="beforeModified"&&!["init","override"].includes(l.eventType))return;let k=Ge.get(l.componentID);k&&(i.value!=l.dataValue&&i.status_id!=k.status_id&&s(D=>N(v(N(v({},D),{dataValue:i.value}),d),{eventType:"override",eventID:Un.default.uuid.gen()})),k.status_id=i.status_id)})(),(0,Lf.useEffect)(()=>{let{componentID:C,eventType:k,dataValue:D}=l,A=D;if(a=="list"?A=D.map(q=>JSON.parse(q)):a=="select"||a=="richSelect"?A=JSON.parse(D):a=="file"&&Ge.update({[C]:{Files:l.dataValue}}),k=="refresh"){let q=Ge.get(C);q&&q.ResolveRefresh&&q.ResolveRefresh(null)}k=="update"&&(b&&b({componentID:C,value:A,storeData:Ge.get(C),eventType:k}),Un.default.scope(()=>{h.ok&&S&&S({componentID:C,value:A,storeData:Ge.get(C),eventType:k})}))},[h])},Y$=r=>{let{val_status:a,states:i,set_validate:l,DefaultValidation:s}=r,d=s({value:a.dataValue,states:i});if(!d.ok){l(d);return}let c=d.notice,h=()=>ua(void 0,null,function*(){if(!i.onValidate)return;let p=yield i.onValidate({value:a.dataValue,eventType:a.eventType,props:r});if(!p.ok){l({ok:!1,notice:[...c,...p.notice]});return}l({ok:!0,notice:[...c,...p.notice]})});i.onValidate?a.eventType=="refresh"?h():Un.default.interval.standBy("ValidationTimer-"+a.componentID,450,h):l({ok:!0,notice:c})},mn=r=>{let a=r.target,{form:i,formName:l}=a.dataset;i=l||i;let s=!1,d=lt(`[data-form-submit-button="${i}"]`)[0];if(!d)return s;let c=d.dataset.sdfike||"",h=r.key,p=r.ctrlKey||r.metaKey;return Un.default.scope(()=>{c.includes("enter")&&(h!="Enter"||r.nativeEvent.isComposing||it.get().browserIs=="safari"&&r.keyCode==229)||((h=="Enter"&&(c.includes("enter")||c.includes("auxEnter")&&p)||h==" "&&c.includes("space"))&&(d.click(),r.preventDefault()),s=!0)}),s},Qr={Input:r=>{if(r=="plain")return{};let a={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r=="border"?a=N(v({},a),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r=="cloud"?a=N(v({},a),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r=="bottomBorder"&&(a=N(v({},a),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),a},ListCell:r=>{r=v({},r),r.tone||(r.tone="border");let{tone:a}=r;return a=="plain"||(r.cellStyles=v({position:"relative",padding:["3/4",1],borderRadius:"2.tone.secondary",transition:"middle"},r.cellStyles),a=="normal"?(r.styles=v({gap:"1/2"},r.styles),r.cellStyles=v({isSemiBoldFont:!0},r.cellStyles),r.cellCheckedStyles=v({backgroundColor:"cloud"},r.cellCheckedStyles)):(r.styles=v({gap:"3/4"},r.styles),r.cellStyles=v({boxShadow:"0.min"},r.cellStyles),(a=="cloud"||a=="vivid")&&(r.cellStyles=v({border:"1.thin",backgroundColor:"layer.2"},r.cellStyles)),a=="border"?(r.cellStyles=v({border:!0,backgroundColor:"layer.1"},r.cellStyles),r.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},r.cellCheckedStyles)):a=="cloud"?r.cellCheckedStyles=v({backgroundColor:"theme.opa.few",fontColor:"theme",borderColor:"theme"},r.cellCheckedStyles):a=="vivid"&&(r.cellCheckedStyles=v({backgroundColor:"theme",fontColor:"white",borderColor:"theme"},r.cellCheckedStyles)))),Wr(r)},Boxish:r=>{r=v({},r),r.tone||(r.tone="border");let a=Qr.Input(r.tone),i=N(v({},r),{styles:v(v(v(v({fontColor:"2.normal"},a),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r.styles),className:[_s("Input"),r.className].join(" ")});return Wr(i)},Indicator:r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",flexCenter:!0,padding:[0,1],borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=N(v({},a),{border:!0}):r=="cloud"?a=N(v({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=N(v({},a),{borderRadius:0,borderBottom:!0})),a},IndicatorIcon:{position:"absolute",ssSquare:2,top:"50%",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",freeCSS:{transform:"translateY(-50%)"}}};var $$=r=>{let a=r,{componentID:i="",enableFormSubmit:l,form:s,value:d=""}=a,c=He(a,["componentID","enableFormSubmit","form","value"]);return(0,jS.jsx)("input",N(v({value:JSON.stringify(d),"data-input-type":"hidden","data-form":s,"data-component-id":i,"data-value":JSON.stringify(d)},c),{type:"hidden"}))},Tl=r=>(0,jS.jsx)(pa,{componentID:r.componentID,children:$$,states:r});var hr=K(Ct()),oc=K(er()),El=K(rr());var VS=K(yB());var nc=K(Ct());var SB=K(Ct());var Vn=r=>{let a=Wr(r),{freeCSS:i}=a,l=He(a,["freeCSS"]);return(0,SB.jsx)("span",v({},l))};var Bn={RequiredSign:r=>(0,nc.jsx)(Vn,N(v({children:"\u5FC5\u9808"},r),{styles:v({fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r.styles)})),RequiredShortSign:r=>(0,nc.jsx)(Vn,N(v({children:"*"},r),{styles:v({fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r.styles)})),OmitSign:r=>(0,nc.jsx)(Vn,N(v({children:"\u7701\u7565\u53EF"},r),{styles:v({fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r.styles)})),LeftIndicator:r=>{let a=r,{tone:i}=a,l=He(a,["tone"]);return(0,nc.jsx)(E,N(v({},l),{styles:v(N(v({},Qr.Indicator(i)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l.styles)}))},RightIndicator:r=>{let a=r,{tone:i}=a,l=He(a,["tone"]);return(0,nc.jsx)(E,N(v({},l),{styles:v(N(v({},Qr.Indicator(i)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l.styles)}))},RightIcon:r=>{let a=r,{tone:i="border"}=a,l=He(a,["tone"]);return(0,nc.jsx)(E,N(v({},l),{styles:v(N(v({},Qr.IndicatorIcon),{right:"3/4"}),l.styles),freeCSS:v(v({zIndex:6,pointerEvents:"none"},Qr.IndicatorIcon.freeCSS),l.freeCSS)}))},LeftIcon:r=>{let a=r,{tone:i="border"}=a,l=He(a,["tone"]);return(0,nc.jsx)(E,N(v({},l),{styles:v(N(v({},Qr.IndicatorIcon),{left:"3/4"}),l.styles),freeCSS:v(v({zIndex:6,pointerEvents:"none"},Qr.IndicatorIcon.freeCSS),l.freeCSS)}))}};var G$={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,hr.jsxs)(hr.Fragment,{children:[(0,hr.jsx)(E,{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,hr.jsx)(E,{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,hr.jsxs)(hr.Fragment,{children:[(0,hr.jsx)(E,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,hr.jsx)(E,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,hr.jsx)(E,{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"}},tm=r=>{let{restrict:a,value:i=""}=r,l=String(i),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana"&&(l=l.replace(/[^ァ-ヶー ヲ-゚ ]/ig,"")),a=="hankaku.katakana"&&(l=l.replace(/[^ヲ-゚ ]/ig,"")),["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let c=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),El.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),El.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}c&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let d=l;if(a=="digitNumber"){if(l&&l!="-"){let c=[];for(let h=l.length-1;h>=0;h--){c.unshift(l[h]);let p=l.length-1-h+1;h!=0&&p%3==0&&c.unshift(",")}d=c.join("")}}else a=="postal"?l.length>=4&&(d=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(d=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,d="-"+d),{formatValue:d,dataValue:l}},q$=r=>{let{id:a,restrict:i,val_status:l}=r,s=lt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:d,prevValue:c,caretFrom:h,caretTo:p}=l;if(i=="creditCard")d.length>=c.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(i=="postal")d.length==5&&c.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(i=="digitNumber"){let _=d.length-c.length;_==2&&(h++,p++),_==-2&&(h--,p--),s.setSelectionRange(h,p)}}},wB=(r,a)=>{let i={ok:!0,body:""};return(()=>{let l=G$[a];if(!l)return;let s=l.reason;if(l){let d=!!(+!!r.match(l.reg)^+!l.exist);i={ok:d,body:d?"":s}}})(),i};function K$(r){let{value:a,states:i}=r,{restrict:l="text",maxLength:s=255,required:d}=i,c=[];if(El.default.is.exist(s)&&a.length>=Number(s)&&c.push({type:"invalid",label:s+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let h=wB(a,l);h.ok||c.push({type:"invalid",label:h.body})}else d&&c.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!c.filter(({type:h})=>h=="invalid").length,notice:c}}var X$=r=>{let a=r,{componentID:i,tone:l,required:s,restrict:d="text",form:c,autoComplete:h="off",autoCapitalize:p="off",enableFormSubmit:_,clearButton:b=!1,checkValidationAtFirst:S,onChange:T,onKeyDown:C,onValidate:k,onUpdateValue:D,onUpdateValidValue:A,value:q="",leftIndicator:I,rightIndicator:$,leftIcon:F,rightIcon:W,maxLength:P,min:oe,max:be,styles:Q,freeCSS:he,wrapStyles:le}=a,we=He(a,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","styles","freeCSS","wrapStyles"]),V=d=="password"||d=="concealed"?"password":"text",re=["number","digitNumber","creditCard"].includes(d)?"numeric":d=="email"?"email":"text",ue=N(v({componentID:i},tm({min:oe,max:be,restrict:d,value:q})),{prevValue:"",eventType:"init",eventID:El.default.uuid.gen(),caretFrom:null,caretTo:null}),[z,ee]=(0,oc.useState)(!1),[te,se]=(0,oc.useState)(ue),[me,De]=(0,oc.useState)({ok:!1,notice:[]});return wa({states:r,val_status:te,set_status:se,val_validate:me,set_validate:De,DefaultValidation:K$,onUpdateValue:D,onUpdateValidValue:A,ExtraOverrideStates:v({},tm({min:oe,max:be,restrict:d,value:q}))}),(0,oc.useEffect)(()=>{q$({id:r.id,restrict:d,val_status:te})},[te]),(0,hr.jsx)(ha,{val_status:te,set_status:se,val_validate:me,states:r,children:(0,hr.jsx)("input",N(v({type:V,inputMode:re,"data-form":c,"data-input-type":"text","data-validation":me.ok,"data-value":te.dataValue,"data-component-id":te.componentID,value:te.formatValue,autoComplete:h,autoCapitalize:p,onKeyDown:Ae=>{let{key:Oe,target:je}=Ae;{let Xe=je,{selectionStart:st,selectionEnd:Ot}=Xe,vt=Number(st),Kt=Number(Ot),nr=te.formatValue[Number(vt)],or=te.formatValue[Number(vt)-1];Oe=="Delete"&&(d=="creditCard"&&nr==" "||d=="postal"&&nr=="-"||d=="digitNumber"&&nr==",")&&(Xe.setSelectionRange(vt+1,Kt+1),Ae.preventDefault()),Oe=="Backspace"&&(d=="creditCard"&&or==" "||d=="postal"&&or=="-"||d=="digitNumber"&&or==",")&&(Xe.setSelectionRange(vt-1,Kt-1),Ae.preventDefault()),Oe=="Enter"||Oe=="Tab"}if(["number","digitNumber","creditCard"].includes(d)&&Oe=="Clear"&&se(Xe=>N(v({},Xe),{dataValue:"",formatValue:"",eventType:"update",eventID:El.default.uuid.gen()})),["number","digitNumber"].includes(d)&&["ArrowUp","ArrowDown"].includes(Oe)){let Xe=+(Oe=="ArrowUp")*2-1,st=String(Number(te.dataValue)+Xe);me.ok&&De({ok:!1,notice:[]}),se(Ot=>N(v(v({},Ot),tm({min:oe,max:be,restrict:d,value:st})),{eventType:"update",eventID:El.default.uuid.gen()})),Ae.preventDefault()}C&&C(Ae),_&&mn(Ae)},onChange:Ae=>{let{value:Oe,selectionStart:je,selectionEnd:Xe}=Ae.target,st=tm({min:oe,max:be,restrict:d,value:Oe});z&&(st.formatValue=Oe),st.formatValue!=te.formatValue&&(me.ok&&De({ok:!1,notice:[]}),se(Ot=>N(v(v({},Ot),st),{prevValue:te.formatValue,eventType:"update",eventID:El.default.uuid.gen(),caretFrom:Number(je),caretTo:Number(Xe)})),T&&T(Ae))}},we),{onCompositionStart:Ae=>{we!=null&&we.onCompositionStart&&(we==null||we.onCompositionStart(Ae)),ee(!0)},onCompositionEnd:Ae=>{if(we!=null&&we.onCompositionEnd&&(we==null||we.onCompositionEnd(Ae)),d=="text")return;let Oe=tm({min:oe,max:be,restrict:d,value:te.formatValue});se(je=>N(v(v({},je),Oe),{prevValue:je.formatValue,eventType:"update",eventID:El.default.uuid.gen(),caretFrom:Number(je.formatValue.length+1),caretTo:Number(je.formatValue.length+1)})),ee(!1)}}))})},vn={Validate:wB,Normal:r=>(r=v({},r),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles)),(0,hr.jsx)(pa,{componentID:r.componentID,children:X$,states:Qr.Boxish(r)})),Katakana:r=>(0,hr.jsx)(vn.Normal,v({restrict:"katakana"},r)),HankakuKatakana:r=>(0,hr.jsx)(vn.Normal,v({restrict:"hankaku.katakana"},r)),CreditCard:r=>(0,hr.jsx)(vn.Normal,v({restrict:"creditCard"},r)),Tel:r=>(0,hr.jsx)(vn.Normal,v({restrict:"tel",placeholder:"xxx-xxxx-xxxx"},r)),Number:r=>(0,hr.jsx)(vn.Normal,v({restrict:"number"},r)),DigitNumber:r=>(0,hr.jsx)(vn.Normal,v({restrict:"digitNumber"},r)),Email:r=>(0,hr.jsx)(vn.Normal,v({restrict:"email"},r)),Url:r=>(0,hr.jsx)(vn.Normal,v({restrict:"url"},r)),Postal:r=>{let[a]=(0,oc.useState)(El.default.uuid.gen());return(0,oc.useEffect)(()=>()=>{Ge.delete(a)},[]),(0,hr.jsx)(vn.Normal,v({restrict:"postal",placeholder:"\u90F5\u4FBF\u756A\u53F7",leftIndicator:(0,hr.jsx)(Bn.LeftIndicator,{children:"\u3012"})},r))},Password:r=>(0,hr.jsx)(vn.Normal,v({restrict:"password",placeholder:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B",rightIndicator:(0,hr.jsx)(Bn.RightIndicator,{styles:{padding:0},children:(0,hr.jsx)(ie.Button.Normal.R,{styles:{padding:[0,1],fontColor:"theme",borderRadius:"inherit",backgroundColor:"inherit",flexCenter:!0,height:1,ssEffectsOnActive:["expand"]},onMouseOver:a=>{Yr.open({parent:a.currentTarget,gravityPoint:24,styles:{padding:[1,0]},content:(0,hr.jsx)(Yr.Comps.Body,{children:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A"})})},tabIndex:-1,onClick:a=>{(0,El.default)(a.target).parent().parent().find("input").callback(i=>{let l=i[0];l.type=l.type==="password"?"text":"password"})},children:(0,hr.jsx)(Te,{icon:VS.faEye})})})},r)),Concealed:r=>(0,hr.jsx)(vn.Normal,v({restrict:"concealed",placeholder:"\u79D8\u5BC6\u9375\u3092\u5165\u529B",rightIndicator:(0,hr.jsx)(Bn.RightIndicator,{styles:{padding:0},children:(0,hr.jsx)(ie.Button.Normal.R,{styles:{padding:[0,1],fontColor:"theme",borderRadius:"inherit",backgroundColor:"inherit",flexCenter:!0,height:1,ssEffectsOnActive:["expand"]},onMouseOver:a=>{Yr.open({parent:a.currentTarget,gravityPoint:24,styles:{padding:[1,0]},content:(0,hr.jsx)(Yr.Comps.Body,{children:"\u5024\u3092\u8868\u793A"})})},tabIndex:-1,onClick:a=>{(0,El.default)(a.target).parent().parent().parent().find("input").callback(i=>{let l=i[0];l.type=l.type==="password"?"text":"password"})},children:(0,hr.jsx)(Te,{icon:VS.faEye})})})},r)),Money:{JPY:r=>(0,hr.jsx)(vn.DigitNumber,v({placeholder:"\u91D1\u984D\u3092\u5165\u529B",rightIndicator:(0,hr.jsx)(Bn.RightIndicator,{children:"\u5186"})},r))}};var u_=K(Ct()),WS=K(er()),YS=K(rr());function J$(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var Q$=r=>{let a=r,{componentID:i,tone:l,required:s,form:d,enableFormSubmit:c,checkValidationAtFirst:h,onChange:p,onKeyDown:_,onValidate:b,onUpdateValue:S,onUpdateValidValue:T,value:C="",leftIndicator:k,rightIndicator:D,leftIcon:A,rightIcon:q,styles:I,freeCSS:$,wrapStyles:F}=a,W=He(a,["componentID","tone","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","styles","freeCSS","wrapStyles"]),P={componentID:i,dataValue:C,eventType:"init",eventID:YS.default.uuid.gen()},[oe,be]=(0,WS.useState)(P),[Q,he]=(0,WS.useState)({ok:!1,notice:[]});return wa({states:r,val_status:oe,set_status:be,val_validate:Q,set_validate:he,onUpdateValue:S,onUpdateValidValue:T,DefaultValidation:J$}),(0,u_.jsx)(ha,{val_status:oe,set_status:be,val_validate:Q,states:r,children:(0,u_.jsx)("textarea",v({"data-form":d,"data-input-type":"textarea","data-validation":Q.ok,"data-value":oe.dataValue,"data-component-id":oe.componentID,value:oe.dataValue,onKeyDown:le=>{_&&_(le),c&&mn(le)},onChange:le=>{let{value:we}=le.target;Q.ok&&he({ok:!1,notice:[]}),be(V=>N(v({},V),{dataValue:we,eventType:"update",eventID:YS.default.uuid.gen()})),p&&p(le)}},W))})},c_=r=>{r=v({},r),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles));let a=Qr.Boxish(r);return a.rows=a.rows||5,(0,u_.jsx)(pa,{componentID:r.componentID,children:Q$,states:a})};var rm=K(Ct()),Bf=K(rr()),ad=K(er());var uu=K(Ct());var yt={Title:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"6.title",fontWeight:"3.semiBold"},r.styles)})),SubTitle:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r.styles)})),ThirdTitle:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r.styles)})),Paragraph:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r.styles)})),Normal:r=>(0,uu.jsx)(E,v({},r)),Description:r=>(0,uu.jsx)(E,N(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),Supplement:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"1.mini"},r.styles)})),NowrapSpan:r=>(0,uu.jsx)(Vn,N(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}))};var CB=r=>{let[a]=(0,ad.useState)(Bf.default.uuid.gen()),[i,l]=(0,ad.useState)(String(r.value||""));(0,ad.useEffect)(()=>{Bf.default.scope(()=>ua(void 0,null,function*(){let D=(0,Bf.default)('[data-id="origin_'+a+'"]')[0],A=(0,Bf.default)('[data-id="shallow_'+a+'"]')[0];if(!D||!A)return;let q=A.getClientRects()[0];if(!q)return;let{width:I,height:$}=q;D.style.height=$+"px"}))},[i]);let s={componentID:r.componentID,dataValue:r.value,eventType:"init",eventID:Bf.default.uuid.gen()},[d,c]=(0,ad.useState)(s),[h,p]=(0,ad.useState)({ok:!1,notice:[]}),_=!!i.match(/\n$/),b=i||r.placeholder;_&&(b+="d");let S=r,{styles:T,freeCSS:C}=S,k=He(S,["styles","freeCSS"]);return(0,rm.jsxs)(ha,{val_status:d,set_status:c,val_validate:h,states:r,children:[(0,rm.jsx)(yt.Description,{className:[r.className,a2("Shallow")].join(" "),id:"shallow_"+a,styles:v({padding:1,fontSize:"inherit",flexSizing:0,minHeight:1,position:"absolute",left:0,right:0,top:0,border:"0.trans",opacity:"trans"},T),freeCSS:N(v({minHeight:16*2,resize:"none"},C),{color:"transparent",zIndex:3,pointerEvents:"none",lineHeight:"1.25",letterSpacing:"1px"}),"data-id":"shallow_"+a,children:b}),(0,rm.jsx)(c_,N(v({},k),{styles:v({padding:1,fontSize:"inherit",overflow:"hidden",flexSizing:0},T),wrapStyles:v({flexSizing:0},k.wrapStyles),className:[k.className,a2("Origin")].join(" "),freeCSS:N(v({minHeight:16*1,resize:"none"},C),{lineHeight:"1.25",letterSpacing:"1px"}),value:i,"data-id":"origin_"+a,onUpdateValue:D=>{let A=D.value;l(A),k.onUpdateValue&&k.onUpdateValue(D)}}))]})};var d_=K(Ct()),$S=K(er()),GS=K(rr());function Z$(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var eG=r=>{let a=r,{componentID:i,tone:l,required:s,form:d,value:c,enableFormSubmit:h,checkValidationAtFirst:p,onInput:_,onKeyDown:b,onValidate:S,onUpdateValue:T,onUpdateValidValue:C,children:k="",leftIndicator:D,rightIndicator:A,leftIcon:q,rightIcon:I,styles:$,freeCSS:F,wrapStyles:W}=a,P=He(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","styles","freeCSS","wrapStyles"]),oe={componentID:i,dataValue:c,eventType:"init",eventID:GS.default.uuid.gen()},[be,Q]=(0,$S.useState)(oe),[he,le]=(0,$S.useState)({ok:!1,notice:[]});return wa({states:r,val_status:be,set_status:Q,val_validate:he,set_validate:le,onUpdateValue:T,onUpdateValidValue:C,DefaultValidation:Z$}),(0,d_.jsx)(ha,{val_status:be,set_status:Q,val_validate:he,states:r,children:(0,d_.jsx)("div",N(v({contentEditable:!0,"data-form":d,"data-name":r.name,"data-input-type":"contenteditable","data-validation":he.ok,"data-value":be.dataValue,"data-component-id":be.componentID,onKeyDown:we=>{b&&b(we),h&&mn(we)},onInput:we=>{let V=we.currentTarget,{innerHTML:re,innerText:ue}=V;he.ok&&le({ok:!1,notice:[]}),Q(z=>N(v({},z),{dataValue:ue,eventType:"update",eventID:GS.default.uuid.gen()})),_&&_(we)}},P),{children:k}))})},xB=r=>{r=v({},r),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles)),r=N(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Qr.Boxish(r);return a.rows=a.rows||5,(0,d_.jsx)(pa,{componentID:r.componentID,children:eG,states:a})};var nd=K(Ct()),qS=K(er()),am=K(rr());function tG(r){let{value:a,states:i}=r,{required:l,numericOnly:s=!1,digits:d}=i,c=[];return l&&!a&&c.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&a.match(/\D/)&&c.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=d&&c.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!c.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:c}}var rG=(r,a="")=>{let i=String(a),l=[];for(let s=0;s<r;s++)l[s]=i[s]||"";return{formatValue:l,dataValue:i}},TB=(r="")=>{let a=r,i=a.join("");return{formatValue:a,dataValue:i}},aG=r=>{let a=r,{tone:i,required:l,form:s,name:d,className:c="",digits:h,numericOnly:p=!1,enableFormSubmit:_,checkValidationAtFirst:b,onChange:S,onKeyDown:T,onValidate:C,onUpdateValue:k,onUpdateValidValue:D,value:A="",override:q,styles:I,freeCSS:$,wrapStyles:F,combineInput:W,componentID:P,listStyles:oe}=a,be=He(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","styles","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),Q=N(v({componentID:r.componentID||""},rG(h,A)),{eventType:"init",eventID:am.default.uuid.gen()}),[he,le]=(0,qS.useState)(Q),[we,V]=(0,qS.useState)({ok:!1,notice:[]});wa({states:r,val_status:he,set_status:le,val_validate:we,set_validate:V,onUpdateValue:k,onUpdateValidValue:D,DefaultValidation:tG});let re=[];for(let ue=0;ue<h;ue++){let z=he.formatValue[ue],ee={},te=c;r.combineInput&&(te=[c,_s("DigitCharacterCell"),_s("Combined")].join(" ")),re.push((0,nd.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:z,"data-form-name":s,id:"Digit-"+ue+"-"+he.componentID,className:te,style:v(v({},r.style),ee),onKeyDown:se=>{let{key:me,code:De}=se;if(me=="Tab")return;se.preventDefault();let Ae=null;if(me=="Backspace"){let Oe=he.formatValue;Oe[ue]="",le(je=>N(v(v({},je),TB(Oe)),{eventType:"update",eventID:am.default.uuid.gen()})),Ae=ue-1}else if(["ArrowLeft","ArrowRight"].includes(me)){let Oe=+(me=="ArrowRight")*2-1;Ae=ue+Oe}else _&&mn(se),(()=>{let Oe=De.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!Oe)return;let je=Oe[2]||Oe[3]||Oe[4];if(p&&!je.match(/\d/)||!je)return;let Xe=he.formatValue;Xe[ue]=je,le(st=>N(v(v({},st),TB(Xe)),{eventType:"update",eventID:am.default.uuid.gen()})),Ae=ue+1})();am.default.is.exist(Ae)&<("#Digit-"+Ae+"-"+he.componentID).focus()},onChange:()=>{}},ue))}return(0,nd.jsxs)(ha,{val_status:he,set_status:le,val_validate:we,states:r,children:[(0,nd.jsx)(Tl,v({name:d,"data-input-type":"digitCharacters","data-form":s,"data-validation":we.ok,componentID:he.componentID,"data-value":he.dataValue},be)),(0,nd.jsx)(tt,N(v({},oe),{styles:v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},oe),children:re}))]})},EB=r=>{r=v({},r),r=N(v({},r),{styles:v({textAlign:"center",width:0},r.styles)}),r.combineInput&&(r=N(v({},r),{styles:v({textAlign:"center",width:0},r.styles),freeCSS:v({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:v({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=Qr.Boxish(r);return(0,nd.jsx)(pa,{componentID:r.componentID,children:aG,states:a})};var Ca=K(Ct()),Lo=K(er()),bo=K(rr());var YB=K(BB()),$B=K(jB());var Wn=K(Ct()),JS=K(er()),nm=K(rr());function nG(r){let{value:a,states:i}=r,{required:l,options:s}=i,d=[];return l&&(!s.length||s.length&&nm.default.is.nullish(JSON.parse(a)))&&d.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!d.filter(({type:c})=>c=="invalid").length,notice:d}}var UB={Core:r=>{var a;let i=r,{tone:l,required:s,form:d,className:c,enableFormSubmit:h,enableUnSelected:p,checkValidationAtFirst:_,onChange:b,onKeyDown:S,onValidate:T,onUpdateValue:C,onUpdateValidValue:k,value:D="",options:A,placeholder:q,leftIndicator:I,rightIndicator:$,leftIcon:F,rightIcon:W,componentID:P,status_id:oe,styles:be,freeCSS:Q,wrapStyles:he,rightIconStyles:le}=i,we=He(i,["tone","required","form","className","enableFormSubmit","enableUnSelected","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","options","placeholder","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","styles","freeCSS","wrapStyles","rightIconStyles"]),V={componentID:r.componentID||"",dataValue:D,eventType:"init",eventID:nm.default.uuid.gen()},[re,ue]=(0,JS.useState)(V),[z,ee]=(0,JS.useState)({ok:!1,notice:[]});wa({type:"select",states:r,val_status:re,set_status:ue,ExtraOverrideStates:{dataValue:D,formatValue:D},val_validate:z,set_validate:ee,DefaultValidation:nG,onUpdateValue:C,onUpdateValidValue:k});let te=(0,Wn.jsx)(E,{styles:{fontColor:"4.thin",textAlign:"left"},children:q||"\u9078\u629E"});if(re.dataValue){let se=A.find(me=>me.value==re.dataValue);se&&(te=(a=se.displayLabel)!=null?a:se.label)}return(0,Wn.jsx)(ha,{val_status:re,set_status:ue,val_validate:z,states:r,children:(0,Wn.jsxs)(E,{className:[c,r2("SelectLegend"),_s("InputCover")].join(" "),children:[te,(0,Wn.jsx)("select",N(v({"data-form":d,"data-input-type":"select","data-validation":z.ok,"data-component-id":re.componentID,"data-value":re.dataValue,value:re.dataValue,onKeyDown:se=>{S&&S(se),h&&mn(se)},onChange:se=>{let{value:me}=se.target;z.ok&&ee({ok:!1,notice:[]}),ue(De=>N(v({},De),{dataValue:me,eventType:"update",eventID:nm.default.uuid.gen()})),b&&b(se)}},we),{className:r2("Select"),children:(0,Wn.jsx)(UB.Options,v({},r))}))]})})},Options:r=>{let{options:a=[],placeholder:i="\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",enableUnSelected:l=!0}=r,s=a.map(d=>{let{value:c,label:h}=d,p=String(c);return(0,Wn.jsx)("option",{value:p,children:h},p)});return l&&s.unshift((0,Wn.jsx)("option",{value:JSON.stringify(null),children:i},0)),(0,Wn.jsx)(Wn.Fragment,{children:s})}},oG=r=>{let{value:a=null,placeholder:i,options:l=[]}=r,s=0,d=JSON.stringify(a),c=l.map(p=>{let{value:_,label:b}=p,S=JSON.stringify(_),T=S==d;return s|=Number(T),N(v({},p),{value:S,label:b})});s||(a=null);let h=JSON.stringify(a);return(0,Wn.jsx)(UB.Core,N(v({},r),{value:h,options:c}))},Jl=r=>{r=v({},r),nm.default.is.nullish(r.rightIcon)&&(r.rightIcon=(0,Wn.jsx)(Bn.RightIcon,N(v({},r.rightIconStyles),{styles:v({flexType:"col"},r.rightIconStyles),children:(0,Wn.jsx)(Te.AngleDown,{})}))),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles));let a=Qr.Boxish(r);return delete r.rightIconStyles,(0,Wn.jsx)(pa,{componentID:r.componentID,children:oG,states:a})};var Ke=K(Ct()),du=K(er()),zr=K(rr());var VB=K(Ct());var Zr=r=>(0,VB.jsx)(E,N(v({},r),{styles:v({display:"grid"},r.styles)}));var sn=K(Ct()),QS=K(er()),ic=K(rr());function iG(r){let{value:a,states:i}=r,{type:l,required:s,minSelect:d=0}=i,c=[];return s&&(a.length||l=="radio"&&c.push({type:"invalid",label:"\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093"})),d&&a.length<d&&c.push({type:"invalid",label:`${d}\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044`}),{ok:!c.filter(({type:h})=>h=="invalid").length,notice:c}}var lG=r=>{let{value:a,options:i=[]}=r,l=ic.default.is.exist(a)?ic.default.flatArray(a):[],s=i.map(c=>{let{value:h,label:p}=c;return N(v({},c),{value:JSON.stringify(h),label:p})}),d=[];return l.forEach(c=>{let h=JSON.stringify(c);s.findIndex(p=>p.value==h)!=-1&&d.push(h)}),(0,sn.jsx)(f_.Core,N(v({},r),{value:d,options:s}))},f_={Core:r=>{let a=r,{type:i,tone:l,required:s,componentID:d="",form:c,override:h,icon:p,iconType:_,enableFormSubmit:b,defaultActiveStyling:S,checkValidationAtFirst:T,onValidate:C,onUpdateValue:k,onUpdateValidValue:D,value:A,options:q,leftIndicator:I,rightIndicator:$,className:F,cellStyles:W,cellClassName:P,cellCheckedStyles:oe,cellCheckedClassName:be,minSelect:Q,hideInput:he,styles:le,freeCSS:we,wrapStyles:V}=a,re=He(a,["type","tone","required","componentID","form","override","icon","iconType","enableFormSubmit","defaultActiveStyling","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","minSelect","hideInput","styles","freeCSS","wrapStyles"]),ue={componentID:d,dataValue:A,eventType:"init",eventID:ic.default.uuid.gen()},[z,ee]=(0,QS.useState)(ue),[te,se]=(0,QS.useState)({ok:!1,notice:[]});return wa({type:"list",states:r,val_status:z,set_status:ee,val_validate:te,set_validate:se,onUpdateValue:k,onUpdateValidValue:D,DefaultValidation:iG}),(0,sn.jsxs)(ha,{val_status:z,set_status:ee,val_validate:te,states:r,children:[(0,sn.jsx)(Tl,N(v({"data-value":JSON.stringify(z.dataValue),form:c,"data-input-type":i,"data-validation":te.ok},re),{componentID:z.componentID})),(0,sn.jsx)(f_.List,{states:r,val_status:z,set_status:ee})]})},List:r=>{let{states:a,val_status:i,set_status:l}=r,{componentID:s,type:d,tone:c,icon:h=!0,options:p,name:_,form:b,tabIndex:S,hideInput:T,disabled:C,className:k,cellStyles:D,cellClassName:A="",cellCheckedStyles:q,cellCheckedClassName:I="",enableFormSubmit:$,defaultActiveStyling:F=!0}=a,{dataValue:W}=i,P=h?(0,sn.jsx)(E,{styles:{flexSizing:"none"},children:a.iconType=="radio"?(0,sn.jsx)(f_.RadioIcon,{}):a.iconType=="checkbox"?(0,sn.jsx)(f_.CheckboxIcon,{}):null}):null,oe=p.map((be,Q)=>{let he=be,{value:le,label:we,disabled:V=C,className:re="",checkedStyles:ue,checkedClassName:z="",freeCSS:ee,styles:te}=he,se=He(he,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS","styles"]),me=ic.default.uuid.gen(),De=W.findIndex(je=>je===le)!=-1,Ae={styles:v(v({},D),te)},Oe=[Go("Label"),Go("defaultActiveStyling_"+!!F),A,re];return De&&(Ae={styles:v(v(v({},Ae.styles),q),ue),freeCSS:v(v(v({},Ae.freeCSS),q==null?void 0:q.freeCSS),ue==null?void 0:ue.freeCSS)},Oe=[...Oe,I,z]),[(0,sn.jsx)("input",{type:d=="radio"?"radio":"checkbox",className:[Go("Input"),Go("defaultActiveStyling_"+!!F)].join(" "),name:"RadioCheckbox-"+_,"data-list-index":s+"-"+Q,id:me,value:String(le),"data-form-name":b,disabled:V,checked:De,onFocus:je=>{if(V||d!="radio"||i.dataValue.length)return;let{value:Xe,checked:st}=je.target,Ot=[Xe];l(vt=>N(v({},vt),{dataValue:Ot,eventType:"update",eventID:ic.default.uuid.gen()}))},onChange:je=>{if(V)return;let{value:Xe,checked:st}=je.target,Ot=[];if(d=="radio")Ot=[Xe];else if(d=="checkbox"||d=="checker")if(st)Ot=[...i.dataValue,Xe];else{let vt=[...i.dataValue];vt.splice(i.dataValue.findIndex(Kt=>Kt==Xe),1),Ot=vt}l(vt=>N(v({},vt),{dataValue:Ot,eventType:"update",eventID:ic.default.uuid.gen()}))},onKeyDown:je=>{let{key:Xe,shiftKey:st}=je;if((d=="checkbox"||d=="checker")&&Xe!="Tab"&&Xe.match(/Arrow/)){je.preventDefault();let Ot=["ArrowLeft","ArrowUp"].includes(Xe)?-1:1,vt=Q+Ot;vt<0?vt=p.length-1:vt>=p.length&&(vt=0),lt(`input[data-list-index="${s}-${vt}"]`).focus()}$&&mn(je)},tabIndex:S},"List-"+JSON.stringify(le)),(0,sn.jsxs)(ie.Label.Plain,N(v({htmlFor:me,className:Oe.join(" "),tabIndex:-1},Ae),{styles:v({display:"flex",ssEffectsOnActive:!1,verticalAlign:"center",gap:"1/3",flexWrap:!1},Ae.styles),children:[P,ic.default.is.string(we)?(0,sn.jsx)(E,{children:we}):we]}),"ListTrigger-"+JSON.stringify(le))]});return(0,sn.jsx)(tt,{styles:{flexSizing:"auto"},freeCSS:v({},a.freeCSS),className:[k,Go("CellBase"),Go("HideInput_"+T),Go("IconIndicator_"+!!h),Go("Tone_"+c)].join(" "),children:oe})},RadioIcon:()=>(0,sn.jsx)(E,{className:Go("Icon"),styles:{backgroundColor:"layer.1",border:!0,transition:"middle",position:"relative",borderRadius:"sphere",flexCenter:!0}}),CheckboxIcon:()=>(0,sn.jsx)(E,{className:[Go("Icon"),Go("CheckboxIcon")].join(" "),styles:{borderRadius:"3.tone.tertiary",backgroundColor:"layer.1",border:!0,transition:"middle",fontColor:"white",position:"relative",flexCenter:!0},children:(0,sn.jsx)(Te.Check,{className:Go("I"),styles:{transition:"middle",opacity:"trans"},freeCSS:{zIndex:8}})})},ZS=r=>{r=v({},r);let a=Qr.ListCell(r);return(0,sn.jsx)(pa,{componentID:r.componentID,children:lG,states:a})},e3=r=>(0,sn.jsx)(ZS,N(v({iconType:"radio",tone:r.tone},r),{type:"radio"})),t3=r=>(0,sn.jsx)(ZS,N(v({iconType:"checkbox",tone:r.tone},r),{type:"checkbox"})),cu={Plain:ZS,Radio:e3,Checkbox:t3};var r3=r=>{var a,i;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),d=Number((i=r==null?void 0:r.max)!=null?i:zr.default.Time().addYear(10).year);for(let c=s;c<=d;c++)l.unshift({value:c,label:[c,...zr.default.transformer.wareki(c).value].join(" - ")});return l},WB=r=>{let{restrict:a,era:i="year",defaultValue:l=""}=r;r=v({},r),r.tipsID=r.tipsID||zr.default.uuid.gen();let s=(0,du.useRef)(!1),[d,c]=(0,du.useState)((()=>{var p,_;if(a=="clock"){let b=String(l).split(/[^\d]/);b[0]||(b=[0,0]);let S=Number(b[0]),T=Number(b[1]);return{modifiedType:"init",hour:S,minutes:T}}else if(a=="date"){let[b,S,T]=(p=String(l))==null?void 0:p.split(/\D/);return(zr.default.is.nullish(b)||zr.default.is.nullish(S)||zr.default.is.nullish(T))&&([b,S,T]=zr.default.Time().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(b),month:Number(S),date:Number(T)}}else if(a!="week"){if(a=="month"){let[b,S]=String(l).split(/\D/);return(zr.default.is.nullish(b)||zr.default.is.nullish(S))&&([b,S]=zr.default.Time().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(b),month:Number(S)}}else if(a=="year"){let[b]=String(l).split(/\D/);return zr.default.is.nullish(b)&&([b]=zr.default.Time().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(b)}}else if(a=="dateWareki"){let[b,S,T]=(_=String(l))==null?void 0:_.split(/\D/);return(zr.default.is.nullish(b)||zr.default.is.nullish(S)||zr.default.is.nullish(T))&&([b,S,T]=zr.default.Time().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:i||"year",year:Number(b),month:Number(S),date:Number(T)}}}return{}})());(0,du.useEffect)(()=>{if(s.current){if(d.modifiedType=="update"){let p="",_=i||"year";if(a=="clock"){let{hour:b,minutes:S}=d;p=[b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:b,month:S,date:T}=d;p=[b,S.zeroEmbed(2),T.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:b,month:S}=d;p=[b,S.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:b}=d;p=String(b)}else if(a=="dateWareki"){let{year:b,month:S,date:T,era:C}=d;_=C,p=[b,S.zeroEmbed(2),T.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,_)}}else s.current=!0},[d]);let h=N(v({},r),{val_value:d,set_value:c});return(0,Ke.jsx)(E,{styles:{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",border:!0,overflow:"hidden"},children:(0,Ke.jsx)(E,{styles:{overflow:"auto"},className:za(a.toCapital()+"Base"),children:a=="clock"?(0,Ke.jsx)(Ha.Clock.index,v({},h)):a=="date"?(0,Ke.jsx)(Ha.Date.index,v({},h)):a=="week"?"":a=="month"?(0,Ke.jsx)(Ha.Month.index,v({},h)):a=="year"?(0,Ke.jsx)(Ha.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Ke.jsx)(Ha.DateWareki.index,v({},h)):(0,Ke.jsx)(Ke.Fragment,{})})})},Ha={Clock:{index:r=>{let{min:a,max:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,[h,p]=(0,du.useState)(d.hour>12?2:1),[_,b]=(0,du.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,du.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(_))},[_]);let{hour:S,minutes:T}=d;return(0,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsxs)(tt,{styles:{flexType:"row",flexWrap:!1,gap:1},className:za("Body"),children:[(0,Ke.jsxs)(_t,{className:za("DesignSide"),styles:{flexSizing:0},children:[(0,Ke.jsx)(E,{className:za("ClockUiBase"),styles:{padding:[1,"2/3"],flexCenter:!0},children:(0,Ke.jsxs)(E,{className:za("ClockUi"),styles:{backgroundColor:"theme.opa.low",isRounded:!0,position:"relative"},children:[(0,Ke.jsx)(E,{styles:{position:"absolute",backgroundColor:"theme",unitWidth:"1/12"},className:[za("Needle"),za("hour")].join(" "),freeCSS:{transform:`rotate(${S*30+T/2}deg)`}}),(0,Ke.jsx)(E,{styles:{position:"absolute",backgroundColor:"theme",unitWidth:"1/12"},className:[za("Needle"),za("minute")].join(" "),freeCSS:{transform:`rotate(${T*6}deg)`}})]})}),(0,Ke.jsx)(cu.Radio,{tone:"plain",icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],styles:{flexType:"col",gap:0},cellStyles:{padding:"1/2",horizontalAlign:"between",gap:"1/3"},tabIndex:-1,onUpdateValidValue:({value:C})=>{let k=d.hour%12+(C==2?12:0);p(C),c({modifiedType:"update",hour:k,minutes:d.minutes})}}),(0,Ke.jsx)(E,{styles:{borderTop:!0,margin:[0,1]}}),(0,Ke.jsx)(cu.Radio,{tone:"plain",icon:!0,value:[_],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],styles:{flexType:"col",gap:0},cellStyles:{padding:"1/2",horizontalAlign:"between",gap:"1/3"},tabIndex:-1,onUpdateValidValue:({value:C})=>{b(C)}})]}),(0,Ke.jsxs)(_t,{children:[(0,Ke.jsxs)(E,{styles:{flexCenter:!0,fontSize:"3.paragraph",isSemiBoldFont:!0},children:[d.hour.zeroEmbed(2)," : ",d.minutes.zeroEmbed(2)]}),(0,Ke.jsxs)(tt,{styles:{flexWrap:!1,borderRadius:"1.tone.primary",boxShadow:"0.remark.inset",flexChilds:"even",padding:["1/3",0]},freeCSS:{minWidth:12*12},children:[(0,Ke.jsx)(_t,{styles:{gap:0,overflow:"auto",padding:"2/3",borderRight:!0},freeCSS:{maxHeight:12*22},children:Ha.Clock.Hours({onClick:C=>{let k=C+(h==2?12:0);c({modifiedType:"update",hour:k,minutes:d.minutes})},min:a,max:i,ampm:h})}),(0,Ke.jsx)(_t,{styles:{gap:0,overflow:"auto",padding:"2/3"},freeCSS:{maxHeight:12*22},children:Ha.Clock.Minutes({onClick:C=>{c({modifiedType:"update",hour:d.hour,minutes:C})},min:a,max:i,unit:_})})]})]})]}),(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let i=0;i<12;i++){let l=r.ampm==2?i+12:i,s=!1;{let d=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>d&&(s=!0),r.max){let c=Number(String(r.max).replace(/\D/ig,""));d>c&&(s=!0)}}a.push((0,Ke.jsx)(ie.Button.Normal.R,{isLocked:s,styles:{borderBottom:!0,borderRadius:0,padding:["1/2",1]},freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(i)},children:l.zeroEmbed(2)},i))}return a},Minutes:r=>{let a=[];for(let i=0;i<60/r.unit;i++){let l=i*r.unit;a.push((0,Ke.jsx)(ie.Button.Normal.R,{styles:{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:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,{year:h,month:p,date:_}=d;return(0,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsxs)(tt,{styles:{horizontalAlign:"between",verticalAlign:"center",flexWrap:!1},children:[(0,Ke.jsxs)(tt,{styles:{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1},children:[(0,Ke.jsx)(Jl,{override:"force",enableUnSelected:!1,value:h,options:r3(),styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},onUpdateValidValue:({value:b})=>{c({modifiedType:"update",year:Number(b),month:p,date:_})}}),(0,Ke.jsx)(Jl,{override:"force",enableUnSelected:!1,value:p,options:(()=>{let b=[];for(let S=1;S<=12;S++)b.push({value:S,label:String(S),displayLabel:String(S)+"\u6708"});return b})(),placeholder:"",styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},onUpdateValidValue:({value:b})=>{c({modifiedType:"update",year:h,month:Number(b),date:_})}})]}),(0,Ke.jsx)(Ha.Variables.ShiftButtons,{callback:b=>{let S=p+b,T=h;b==-1?(S<=0&&T--,S=S||12):p==12&&T++,c({modifiedType:"update",year:T,month:S,date:d.date})}})]}),(0,Ke.jsx)(E,{styles:{borderTop:!0}}),(0,Ke.jsx)(E,{children:Ha.Date.MonthCalendar({min:a,max:i,year:d.year,month:d.month,current:[d.year,d.month,d.date],callback:b=>{let[S,T,C]=b;c({modifiedType:"update",year:S,month:T,date:C})}})}),(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:i,year:l,month:s,current:d,callback:c}=r,h=zr.default.Time(),p=zr.default.Time([l,s.zeroEmbed(2),"01"].join("/")),_=p.getLastDayOfTheMonth(),b=zr.default.Time(p).addMonth(-1).getLastDayOfTheMonth().date,S=[],T=[],C=[],k=[],D={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var A=0;A<7;A++)S.push((0,Ke.jsx)(E,{className:[za("CalendarDay"),za("Legend")].join(" "),styles:D,children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][A]},A));for(var A=0;A<p.weekday;A++)T.unshift((0,Ke.jsx)(E,{className:[za("CalendarDay"),za("Dummy")].join(" "),styles:v({fontColor:"4.thin"},D),children:b-A},A));for(var A=1;A<=_.date;A++){let I=A,$=l==h.year&&s==h.month&&A==h.date,F=!1;{let W=Number(String([l,s.zeroEmbed(2),A.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>W&&(F=!0),r.max){let P=Number(String(r.max).replace(/\D/ig,""));W>P&&(F=!0)}}C.push((0,Ke.jsx)(ie.Button.Clear.R,{className:[za("CalendarDay"),za("isToday_"+$)].join(" "),styles:N(v({},D),{fontColor:"1.clear",padding:0,flexCenter:!0,borderRadius:"sphere",ssEffectsOnActive:"shrink"}),onClick:()=>{c([l,s,I])},tabIndex:-1,isLocked:F,children:A},I))}for(var A=1;A<7-_.weekday;A++)k.push((0,Ke.jsx)(E,{className:[za("CalendarDay"),za("Dummy")].join(" "),styles:v({fontColor:"4.thin"},D),children:A},A));return(0,Ke.jsxs)(Zr,{styles:{gridCols:7,gap:"1/3"},children:[S,T,C,k]})}},Month:{index:r=>{let{min:a,max:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,{year:h,month:p}=d;return(0,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsxs)(ct.Separate,{styles:{gap:0},children:[(0,Ke.jsx)(ct.Center,{styles:{verticalAlign:"bottom",gap:"2/3"},children:(0,Ke.jsx)(Jl,{enableUnSelected:!1,value:h,options:r3(),override:"force",styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},onUpdateValidValue:({value:_})=>{c({modifiedType:"update",year:Number(_),month:p})}})}),(0,Ke.jsx)(Ha.Variables.ShiftButtons,{callback:_=>{let b=Math.min(Math.max(h+_,1900),2100);c({modifiedType:"update",year:b,month:p})}})]}),(0,Ke.jsx)(E,{styles:{borderTop:!0}}),Ha.Month.Months({min:a,max:i,year:d.year,callback:_=>{let[b,S]=_;c({modifiedType:"update",year:b,month:S})}}),(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:i}=r,l=zr.default.Time(),s=[];for(let d=1;d<=12;d++){let c=a==l.year&&d==l.month,h=!1;{let _=Number(String([a,d.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>_&&(h=!0),r.max){let b=Number(String(r.max).replace(/\D/ig,""));_>b&&(h=!0)}}let p=[za("Cell"),c?za("isThisMonth"):""].join(" ");s.push((0,Ke.jsxs)(ie.Button.Clear.R,{className:p,isLocked:h,styles:{fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink"},onClick:()=>{i([a,d])},children:[d," \u6708"]},a+"-"+d))}return(0,Ke.jsx)(Zr,{styles:{gridCols:4,gap:"2/3"},children:s})}},Year:{index:r=>{let{min:a,max:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,{year:h}=d;return(0,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsx)(Jl,{enableUnSelected:!1,value:h||zr.default.Time().year,override:"force",options:r3({min:a,max:i}),onUpdateValidValue:({value:p})=>{c({modifiedType:"update",year:Number(p)})}}),(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l,onSubmit:()=>{c({modifiedType:"update",year:Number(h||zr.default.Time().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,{era:h,year:p,month:_,date:b}=d,S={val_value:d,set_value:c};return(0,Ke.jsxs)(E,{children:[(0,Ke.jsxs)(ct.Left,{styles:{verticalAlign:"unset",borderBottom:!0,gap:0},children:[(0,Ke.jsx)(Ha.DateWareki.EraSelect,v({},S)),(0,Ke.jsx)(E,{styles:{borderRight:!0}}),(0,Ke.jsx)(Ha.DateWareki.Calendar,v({},S))]}),(0,Ke.jsx)(E,{styles:{padding:1},children:(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:i}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,Ke.jsxs)(_t,{styles:{gap:0,padding:1},children:[(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let d=zr.default.Time();i({modifiedType:"update",era:"year",year:d.year,month:d.month,date:d.date})},children:"\u897F\u66A6"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let d=zr.default.Time();i({modifiedType:"update",era:"reiwa",year:d.year,month:d.month,date:d.date})},children:"\u4EE4\u548C"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{i({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{i({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{i({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="meiji",onClick:()=>{i({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"})]})},Calendar:r=>{let{val_value:a,set_value:i}=r,l=[];if(a.era=="year")for(let s=1900;s<2100;s++)l.unshift({value:s,label:s+"\u5E74"});else if(a.era=="reiwa"){let s=zr.default.Time().year-2018;for(let d=1;d<=s+10;d++)l.unshift({value:2019+d-1,label:"\u4EE4\u548C"+(d==1?"\u5143":d)+"\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,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsxs)(ct.Separate,{children:[(0,Ke.jsx)(Jl,{tone:"cloud",enableUnSelected:!1,override:"force",styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},options:l,value:a.year,onUpdateValidValue:({value:s})=>{i(d=>N(v({},d),{modifiedType:"update",year:Number(s)}))}}),(0,Ke.jsxs)(ct.Center,{styles:{gap:"1/3"},children:[(0,Ke.jsx)(ie.Button.Clear.S,{styles:{ssSphere:2},onClick:()=>{let s=a.month-1;i({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,Ke.jsx)(Te.ChevronLeft,{})}),(0,Ke.jsx)(Jl,{tone:"cloud",enableUnSelected:!1,override:"force",styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},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:({value:s})=>{i({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,Ke.jsx)(ie.Button.Clear.S,{styles:{ssSphere:2},onClick:()=>{let s=a.month+1;i({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,Ke.jsx)(Te.ChevronRight,{})})]})]}),(0,Ke.jsx)(Ha.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:i}=r,l=zr.default.Time([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,d=l.getLastDayOfTheMonth(),c=[];for(let h=0;h<7;h++)c.push((0,Ke.jsx)(yt.Supplement,{styles:{flexCenter:!0,fontColor:h==0?"googleRed":h==6?"googleBlue":"3.blur"},children:zr.default.transformer.weekday.shortJP(h)},"legend-"+h));for(let h=0;h<s;h++){let p=zr.default.Time(l).getFirstDayOfTheMonth().addDate(h-s);c.push((0,Ke.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{border:"1.thin",ssSphere:3,opacity:"middle"},onClick:_=>{_.preventDefault(),_.stopPropagation(),i({modifiedType:"update",era:a.era,year:p.year,month:p.month,date:p.date})},children:p.date},"lastMonth-"+h))}for(let h=1;h<=d.date;h++){let p=zr.default.Time(l).setDate(h);c.push((0,Ke.jsx)(ie.Button.Border.R,{styles:{ssSquare:3},onClick:()=>{i({modifiedType:"update",era:a.era,year:p.year,month:p.month,date:p.date})},children:p.date},"currentMonth-"+h))}for(let h=0;h<7-d.weekday-1;h++){let p=zr.default.Time(l).addMonth(1).setDate(1).addDate(h);c.push((0,Ke.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{border:"1.thin",ssSquare:3,opacity:"middle"},onClick:_=>{_.preventDefault(),_.stopPropagation(),i({modifiedType:"update",era:a.era,year:p.year,month:p.month,date:p.date})},children:p.date},"nextMonth-"+h))}return(0,Ke.jsx)(Zr,{styles:{gridCols:7,gap:"1/4"},children:c})}},Variables:{Footer:r=>(0,Ke.jsxs)(tt,{styles:{flexWrap:!1,gap:1,flexChilds:"even"},freeCSS:{whiteSpace:"nowrap"},children:[(0,Ke.jsxs)(ie.Button.Border.R,{onClick:()=>{r.onValueUpdate("")},tabIndex:-1,styles:{flexSizing:"none",padding:["2/3",1]},children:[(0,Ke.jsx)(Te.Times,{})," \u524A\u9664"]}),(0,Ke.jsx)(ie.Button.Prime.R,{styles:{flexSizing:"auto",padding:["2/3",1]},onClick:()=>{r.onSubmit&&r.onSubmit(),Yr.close(r.tipsID)},tabIndex:-1,children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Ke.jsxs)(tt,{styles:{flexWrap:!1,gap:"1/3"},children:[(0,Ke.jsx)(ie.Button.Clear.R,{className:za("LeftButton"),tabIndex:-1,styles:v({right:0},Ha.Variables.ShiftButtonStyles),onClick:()=>{r.callback(-1)},children:(0,Ke.jsx)(Te.ChevronLeft,{})}),(0,Ke.jsx)(ie.Button.Clear.R,{className:za("RightButton"),tabIndex:-1,styles:v({left:0},Ha.Variables.ShiftButtonStyles),onClick:()=>{r.callback(1)},children:(0,Ke.jsx)(Te.ChevronRight,{})})]}),ShiftButtonStyles:{flexCenter:!0,padding:0,unitWidth:3,unitHeight:3,borderRadius:"sphere",position:"relative"}}};var od=" ~ ",uG={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+od.length,length:4},{type:"month",from:15+od.length,length:2},{type:"date",from:18+od.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+od.length,length:4},{type:"month",from:13+od.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}},om=r=>{let{restrict:a,value:i,era:l}=r,s=bo.default.flatArray(i||""),{defaultValue:d,format:c,ranges:h,sets:p}=uG[a],_=[],b=a=="clock"?":":"/";for(let S=0;S<s.length;S++)s[S]=String(s[S]).replace(/\D/ig,b);for(let S=0;S<p;S++){let T=s[S]||"";if(!T.match(c))s[S]="",_.push(d);else{let C=d;T.split(/\D/).forEach((k,D)=>{if(D==0&&a=="dateWareki"){let A=Number(k);l!="year"&&(A>=2019?l=="reiwa"?A-=2018:l=="heisei"&&(A=31):A>=1989?l=="heisei"?A-=1988:l=="shouwa"&&(A=64):A>=1926?l=="shouwa"?A-=1925:l=="taisho"&&(A=15):A>=1912?l=="taisho"?A-=1911:l=="meiji"&&(A=45):A>=1868&&(A-=1867)),k=A.zeroEmbed(4)}C=C.replace(new RegExp("------------------".slice(0,k.length)),k)}),_.push(C)}}return{formatValue:_.join(od),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}};function cG(r){let{states:a}=r,{restrict:i,min:l,max:s,required:d}=a,c=[],h=bo.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let _=i=="clock"?":":"/";for(let b=0;b<h.length;b++)h[b]=String(h[b]).replace(/\D/ig,_);for(let b=0;b<h.length;b++){let S=h[b],T=h[b-1];S.removeLetters()||(p.empty=!0),b>0&&(p.escalated&=+(S>=T))}p.escalated&&(p.empty||(i.match(/clock/)?h.forEach(b=>{let[S,T]=b.split(/\D+/);!S||!T?p.filled=!1:(Number(S)>23||Number(T)>59)&&(p.correct=!1)}):i.match(/date/)?h.forEach(b=>{let[S,T,C]=b.split(/\D+/);if(!S||!T||!C)p.filled=!1;else{let k=bo.default.Time(b);(!k.validate||b!=k.toFormatYMD())&&(p.correct=!1)}}):i.match(/week/)?h.forEach(b=>{let[S,T]=b.split(/\D+/);if(!S||!T)p.filled=!1;else{let C=bo.default.Time(S+"/01/01").weekday,k=bo.default.Time(S+"/01/0"+(7-C+1)).addWeek(Number(T)-1);S!=String(k.year)&&(p.correct=!1)}}):i.match(/month/)?h.forEach(b=>{let[S,T]=b.split(/\D+/);!S||!T?p.filled=!1:bo.default.Time([S,T,"01"].join("/")).validate||(p.correct=!1)}):i.match(/year/),p.filled&&p.correct&&h.forEach(b=>{{let S=Number(String(b).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>S&&(p.prohibited=!0),s){let T=Number(String(s).replace(/\D/ig,""));S>T&&(p.prohibited=!0)}}})))})();{let{empty:_,escalated:b,filled:S,correct:T,prohibited:C}=p;_&&d&&(c=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),b||c.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),T||c.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),S||c.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),C&&c.push({type:"invalid",label:(0,Ca.jsxs)(Ca.Fragment,{children:[(0,Ca.jsx)(E,{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:!c.filter(({type:_})=>_=="invalid").length,notice:c}}var GB={picker:{launch:r=>{let a=r.tipsID||bo.default.uuid.gen(),i=r,{onValueUpdate:l,min:s,max:d,era:c,restrict:h,defaultValue:p}=i,_=He(i,["onValueUpdate","min","max","era","restrict","defaultValue"]);Yr.open(N(v({gravityPoint:r.gravityPoint||24,tipsID:a},_),{styles:v({padding:"1/2"},_.styles),parent:_.parent,close_option:v({aroundClick:!0,parentBlur:!1},_.close_option),content:(0,Ca.jsx)(WB,{restrict:h,min:s,max:d,era:c,defaultValue:p,tipsID:a,onValueUpdate:(b,S)=>{l(b,S)}})}))},remove:r=>{Yr.close(r)}}},dG=r=>{let a=r,{tone:i,required:l,restrict:s="clock",componentID:d,era:c,form:h,name:p,min:_,max:b,className:S,enableFormSubmit:T,checkValidationAtFirst:C,onKeyDown:k,onValidate:D,onUpdateValue:A,onUpdateValidValue:q,value:I="",leftIndicator:$,rightIndicator:F,styles:W,freeCSS:P,wrapStyles:oe}=a,be=He(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","styles","freeCSS","wrapStyles"]),[Q,he]=(0,Lo.useState)(c),[le,we]=(0,Lo.useState)(N(v({componentID:r.componentID||""},om({restrict:s,value:I,era:Q})),{eventType:"init",eventID:bo.default.uuid.gen()})),[V,re]=(0,Lo.useState)({ok:!1,notice:[]}),[ue,z]=(0,Lo.useState)({active:!1,index:0,prevIndex:-1});wa({type:"time",states:r,val_status:le,set_status:we,val_validate:V,set_validate:re,DefaultValidation:cG,onUpdateValue:A,onUpdateValidValue:q,ExtraOverrideStates:v({},om({restrict:s,value:I,era:Q}))});let ee=(0,Lo.useRef)(!1);return(0,Lo.useEffect)(()=>{if(ee.current){we(se=>v(v({},se),om({restrict:s,value:se.dataValue,era:Q})));let te=Ge.get("refreshEra_"+le.componentID);te&&te.refreshEra(Q)}else ee.current=!0},[Q]),Ge.update({[le.componentID]:{openPicker:()=>{r.disabled||GB.picker.launch({parent:"#Picker-"+le.componentID,tipsID:"PickerTips-"+le.componentID,restrict:s,min:_,max:b,defaultValue:le.dataValue,era:Q,onValueUpdate:(te,se)=>{we(me=>N(v(v({},me),om({restrict:s,value:te,era:se})),{eventType:"update",eventID:bo.default.uuid.gen()})),he(se)}})},resetEra:te=>{he(te),we(se=>N(v(v({},se),om({restrict:s,value:"",era:Q})),{eventType:"update",eventID:bo.default.uuid.gen()}))}}}),(0,Lo.useEffect)(()=>{let{index:te,active:se}=ue;if(se){te=Math.max(te,0),te=Math.min(te,le.ranges.length-1);let{from:me,length:De}=le.ranges[te],Ae=lt("#"+r.id)[0];Ae&&Ae.setSelectionRange(me,me+De)}},[ue]),(0,Ca.jsxs)(ha,{val_status:le,set_status:we,val_validate:V,states:r,children:[(0,Ca.jsx)(Tl,{name:p,"data-input-type":"time","data-form":h,"data-validation":V.ok,componentID:le.componentID,"data-value":JSON.stringify(["dates","months"].includes(s)?!le.dataValue[0]||!le.dataValue[1]?null:le.dataValue:le.dataValue||null)}),it.get().isTouchDevice?(0,Ca.jsx)(ie.Button.Plain,{className:S,freeCSS:{textAlign:"left"},children:le.formatValue,onClick:te=>{let se=Ge.get(le.componentID);se&&se.openPicker(),te.stopPropagation()}}):(0,Ca.jsx)("input",v({type:"text",inputMode:"numeric","data-input-type":"time","data-form-name":h,value:le.formatValue,className:S,tabIndex:it.get().isTouchDevice?-1:0,onKeyDown:te=>{fG({restrict:s,event:te,val_era:Q,val_status:le,set_status:we,val_focus:ue,set_focus:z}),k&&k(te),T&&mn(te)},onKeyUp:te=>{te.key=="Tab"&&z(se=>N(v({},se),{active:!0}))},onClick:te=>{let se=te.target.selectionEnd,me=0;le.ranges.forEach((De,Ae)=>{let{from:Oe,length:je,region:Xe}=De;Oe<=se&&se<=Oe+(Xe||je)&&(me=Ae)}),z(De=>N(v({},De),{active:!0,index:me})),te.preventDefault()},onChange:()=>{}},be))]})},fG=r=>{let{val_era:a,restrict:i,event:l,val_status:s,set_status:d,val_focus:c,set_focus:h}=r,{key:p,shiftKey:_,ctrlKey:b,metaKey:S}=l,T=b||S,{selectionStart:C,selectionEnd:k}=l.target,{index:D,prevIndex:A}=c,{ranges:q,formatValue:I}=s,$=q.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let W=+!_*2-1;if(F=c.index+W,F<0||F>$)return}else{let W=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;T||C==0&&k==String(s.formatValue).length?F=W==1?$:0:F=Math.max(0,Math.min(D+W,$))}h(W=>N(v({},W),{index:F,prevIndex:D})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=D;F=Math.max(F,0),F=Math.min(F,$);let{type:W,from:P,length:oe}=q[F],be=I.slice(P,P+oe),Q;if(p=="Backspace")Q="------".slice(0,oe);else if(["ArrowUp","ArrowDown"].includes(p)){let he=p=="ArrowUp"?1:-1;be=be|0,Q=be+he;let[le,we,V]=W=="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]:W=="minute"?[0,59,2]:W=="hour"?[0,23,2]:W=="date"?[1,31,2]:W=="week"?[1,53,2]:W=="month"?[1,12,2]:W=="year"?[0,2999,4]:[0,0,0];Q>we?Q=le:Q<le&&(Q=we),Q=Number(Q).zeroEmbed(V)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let he=be|0,le=p,we=`${he}${le}`;if(A!=D&&(he=0,we="0"+le),W=="year"||W=="dateWareki"&&a=="year")Number(we)>1e4?Q=le:Q=we,(Q|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(W)||W=="dateWareki"&&a!="year"){let V=W=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:W=="minute"?59:W=="hour"?23:W=="date"?31:W=="week"?53:W=="month"?12:0;Q=(we|0)>V?le:we,(Number(le)>Number(String(V)[0])||be=="0000".slice(0,String(V).length)&&(we!="0000".slice(0,String(V).length)||["minute","hour"].includes(W)&&A==D)||(we|0)>=uE(10,String(V).length-1))&&F++}W=="year"||W=="dateWareki"?Q=(Q|0).zeroEmbed(4):Q=(Q|0).zeroEmbed(2)}{let he=String(I).partReplace(P,String(Q)),le=he.split(od).map(we=>we.replace(/(^\D|\D$)/,"").split(/\D+/).join(i=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(i=="dateWareki"){let we=le[0].split(/\D/),[V,re,ue]=we;we.length==3&&V&&(le=[[Number(V)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),re,ue].join("/")])}F=Math.max(F,0),F=Math.min(F,$),d(we=>N(v({},we),{dataValue:["dates","months"].includes(i)?le:le[0],formatValue:he,eventType:"update",eventID:bo.default.uuid.gen()})),h(we=>N(v({},we),{index:F,prevIndex:we.index}))}}},ws={Origin:r=>{r=v({},r);let[a]=(0,Lo.useState)(r.componentID||bo.default.uuid.gen());if(r.componentID=a,bo.default.is.nullish(r.rightIndicator)){let i=(r.restrict||"").match(/clock/)?YB.faClock:$B.faCalendarAlt;r.rightIndicator=(0,Ca.jsx)(Bn.RightIndicator,{styles:{padding:0},children:(0,Ca.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{border:"unset",padding:[0,1],fontColor:"theme",borderRadius:"inherit",backgroundColor:"inherit",flexCenter:!0,height:1,ssEffectsOnActive:["ripple.cloud"]},tabIndex:-1,id:"Picker-"+r.componentID,onClick:()=>{let l=Ge.get(r.componentID);l&&l.openPicker()},children:(0,Ca.jsx)(Te,{icon:i})})})}return(0,Ca.jsx)(pa,{componentID:r.componentID,children:dG,states:Qr.Boxish(r)})},Clock:r=>(0,Ca.jsx)(ws.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,Ca.jsx)(ws.Origin,v({restrict:"date"},r)),Week:r=>(0,Ca.jsx)(ws.Origin,v({restrict:"week"},r)),Month:r=>(0,Ca.jsx)(ws.Origin,v({restrict:"month"},r)),Year:r=>(0,Ca.jsx)(ws.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Lo.useState)(r.componentID||bo.default.uuid.gen());r.componentID=a;let{defaultEra:i="wareki"}=r,[l,s]=(0,Lo.useState)((()=>{let d="year";if(i=="wareki"&&(d="reiwa",r.value)){let[c,h,p]=r.value.split(/\D/);if(c&&h&&p){let _=Number(c);_>=2019?(_-=2019,d="reiwa"):_>=1989?(_-=1989,d="heisei"):_>=1926?(_-=1926,d="shouwa"):_>=1912?(_-=1912,d="taisho"):_>=1868&&(_-=1868,d="meiji"),_+=1}}return d})());return(0,Lo.useEffect)(()=>{Ge.set({["refreshEra_"+a]:{refreshEra:d=>{s(d)}}})},[]),(0,Ca.jsx)(ws.Origin,N(v({restrict:"dateWareki",leftIndicator:(0,Ca.jsx)(Jl,{enableUnSelected:!1,value:l,tone:r.tone,override:"force",styles:{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:({value:d,eventType:c})=>{s(d);let h=Ge.get(r.componentID);h&&h.resetEra&&h.resetEra(d)}})},r),{era:l}))},Periods:{Date:r=>(0,Ca.jsx)(ws.Origin,v({restrict:"dates"},r)),Month:r=>(0,Ca.jsx)(ws.Origin,v({restrict:"months"},r))},fn:GB};var Cs=K(Ct()),p_=K(er()),Of=K(rr());function pG(r){let{value:a,states:i}=r,{required:l,options:s}=i,d=[];return l&&(!s.length||s.length&&Of.default.is.nullish(JSON.parse(a)))&&d.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!d.filter(({type:c})=>c=="invalid").length,notice:d}}var hG=r=>{let a=r,{tone:i,required:l,form:s,className:d,enableFormSubmit:c,enableUnSelected:h,checkValidationAtFirst:p,onChange:_,onKeyDown:b,onValidate:S,onUpdateValue:T,onUpdateValidValue:C,value:k="",options:D,placeholder:A,leftIndicator:q,rightIndicator:I,leftIcon:$,rightIcon:F,componentID:W,status_id:P,styles:oe,freeCSS:be,wrapStyles:Q,cellStyles:he,sheetStyles:le,rightIconStyles:we,gravityPoint:V}=a,re=He(a,["tone","required","form","className","enableFormSubmit","enableUnSelected","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","options","placeholder","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","styles","freeCSS","wrapStyles","cellStyles","sheetStyles","rightIconStyles","gravityPoint"]),ue={componentID:r.componentID||"",dataValue:k,eventType:"init",eventID:Of.default.uuid.gen()},[z]=(0,p_.useState)(Of.default.uuid.gen()),[ee,te]=(0,p_.useState)(ue),[se,me]=(0,p_.useState)({ok:!1,notice:[]});wa({type:"richSelect",states:r,val_status:ee,set_status:te,ExtraOverrideStates:{dataValue:k,formatValue:k},val_validate:se,set_validate:me,DefaultValidation:pG,onUpdateValue:T,onUpdateValidValue:C});let De=(0,Cs.jsx)(E,{styles:{fontColor:"4.thin",textAlign:"left"},children:A||"\u9078\u629E"});if(ee.dataValue){let Ae=D.find(Oe=>Oe.type=="button"&&Oe.value==ee.dataValue);Ae&&(De=Ae.selectedLabel||Ae.label)}return(0,Cs.jsx)(ha,{val_status:ee,set_status:te,val_validate:se,states:r,children:(0,Cs.jsx)("button",N(v({},re),{"data-form":s,"data-validation":se.ok,"data-component-id":ee.componentID,"data-value":ee.dataValue,"data-input-type":"richSelect",className:[d,vE("SelectLegend"),_s("InputCover")].join(" "),onClick:Ae=>{Yr.open({tipsID:z,parent:Ae.currentTarget,gravityPoint:V||13,close_option:{parentBlur:!1},content:()=>{let Oe=D.map(je=>{let{type:Xe,value:st,label:Ot}=je;return Xe=="button"?(0,Cs.jsx)(ie.Button.Clear.R,{color:"cloud",styles:v({borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:0},he),freeCSS:v({},he==null?void 0:he.freeCSS),onClick:()=>{te(vt=>N(v({},vt),{dataValue:st,eventType:"update",eventID:Of.default.uuid.gen()})),Yr.close(z)},children:Ot},String(st)):Ot});return(0,Cs.jsx)(_t,{styles:v({ssCardBox:!0,padding:[1,0],gap:0,overflow:"auto"},le),freeCSS:v({minWidth:12*20,maxHeight:"90vh"},le==null?void 0:le.freeCSS),children:Oe})}})},children:De}))})},mG=r=>{let{value:a=null,placeholder:i,options:l=[]}=r,s=0,d=JSON.stringify(a),c=l.map(p=>{let{type:_,value:b}=p,S=JSON.stringify(b),T=S==d;return s|=Number(T),N(v({},p),{type:_||"button",value:S})});s||(a=null);let h=JSON.stringify(a);return(0,Cs.jsx)(hG,N(v({},r),{value:h,options:c}))},qB=r=>{r=v({},r),Of.default.is.nullish(r.rightIcon)&&(r.rightIcon=(0,Cs.jsx)(Bn.RightIcon,N(v({},r.rightIconStyles),{styles:v({flexType:"col"},r.rightIconStyles),children:(0,Cs.jsx)(Te.AngleDown,{})}))),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles));let a=Qr.Boxish(r);return delete a.rightIconStyles,(0,Cs.jsx)(pa,{componentID:r.componentID,children:mG,states:a})};var yo=K(Ct()),fu=K(er()),m_=K(rr());var ea=K(Ct()),gn=K(er()),lc=K(rr());var sd=K(Ct());var id=K(Ct()),KB=K(rr());var ld=K(er());var zf=r=>{let a=r,{color:i="theme",size:l="R",showInitial:s=!1,loaderID:d=""}=a,c=He(a,["color","size","showInitial","loaderID"]),[h]=(0,ld.useState)(d),[p]=(0,ld.useState)(KB.default.uuid.gen()),[_,b]=(0,ld.useState)(s),S=0;l=="S"?S=1:l=="R"?S=1.5:l=="L"?S=3:l=="XL"?S=4:l=="MAX"&&(S=6);let T={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"}[i];return(0,ld.useEffect)(()=>{let C=lt('[data-component-id="'+p+'"]');_?C.removeClass(Sa("Hide")).await(10).addClass(Sa("Active")):C.removeClass(Sa("Active")).await(210).addClass(Sa("Hide"))},[_]),(0,ld.useEffect)(()=>{Ge.set({[p]:{active:C=>{h==C&&b(!0)},stop:C=>{h==C&&b(!1)},stopForce:()=>{b(!1)}}})},[]),(0,id.jsxs)(ct.Center,N(v({className:[Sa("MiniLoader"),s?"":Sa("Hide")].join(" "),componentID:p},c),{styles:v({ssSphere:S,position:"relative"},c.styles),children:[(0,id.jsx)("svg",{className:Sa("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:T},children:(0,id.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,id.jsx)("svg",{className:Sa("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:T},children:(0,id.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var kl=K(Ct());var h_=K(er());var XB=()=>{let[r,a]=(0,h_.useState)(!1);return(0,h_.useEffect)(()=>{Ge.set({["Loader-corner-"+it.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,kl.jsxs)(tt,{className:[Sa("CornerLoader"),r?Sa("isActive"):""].join(" "),styles:{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,kl.jsxs)(tt,{className:Sa("Wrap"),styles:{flexWrap:!1,verticalAlign:"center",horizontalAlign:"center"},children:[(0,kl.jsx)(E,{className:Sa("Ld4")}),(0,kl.jsx)(E,{className:Sa("Ld3")}),(0,kl.jsx)(E,{className:Sa("Ld2")}),(0,kl.jsx)(E,{className:Sa("Ld1")}),(0,kl.jsx)(E,{className:Sa("Ld2")}),(0,kl.jsx)(E,{className:Sa("Ld3")}),(0,kl.jsx)(E,{className:Sa("Ld4")})]}),(0,kl.jsx)(E,{styles:{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0},children:"Loading..."})]})};var Pf=r=>{let a=r.color;return{S:i=>(0,sd.jsx)(zf,v({size:"S",color:a},i)),R:i=>(0,sd.jsx)(zf,v({size:"R",color:a},i)),L:i=>(0,sd.jsx)(zf,v({size:"L",color:a},i)),XL:i=>(0,sd.jsx)(zf,v({size:"XL",color:a},i)),MAX:i=>(0,sd.jsx)(zf,v({size:"MAX",color:a},i))}},Ga={Wrapper:()=>(0,sd.jsx)(XB,{}),Theme:Pf({color:"theme"}),Posi:Pf({color:"posi"}),Nega:Pf({color:"nega"}),Warn:Pf({color:"warn"}),White:Pf({color:"white"}),Cloud:Pf({color:"cloud"}),fn:{corner:{active:()=>{let r=Ge.get("Loader-corner-"+it.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Ge.get("Loader-corner-"+it.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{lt("."+Sa("MiniLoader")).for(a=>{let{dataset:{componentId:i}={}}=a;if(!i)return;let l=Ge.get(i);l&&l.active&&l.active(r)})},stop:(r="")=>{lt("."+Sa("MiniLoader")).for(a=>{let{dataset:{componentId:i}={}}=a;if(!i)return;let l=Ge.get(i);l&&l.stop&&l.stop(r)})},stopALL:()=>{lt("."+Sa("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let i=Ge.get(a);i&&i.stopForce&&i.stopForce()})}},stopALL:()=>{Ga.fn.corner.stop(),Ga.fn.mini.stopALL()}}};var vG=r=>{let[a,i]=(0,gn.useState)("show"),[l,s]=(0,gn.useState)(""),[d]=(0,gn.useState)(lc.default.uuid.gen()),[c,h]=(0,gn.useState)(r.options),[p,_]=(0,gn.useState)(c[0]||null),[b,S]=(0,gn.useState)(r.selected),[T,C]=(0,gn.useState)("init");(0,gn.useEffect)(()=>{Ge.set({[r.selectorID]:{updateOptions:I=>{h(I)},updateSelected:I=>{S(I)}}})},[]);let k=(0,gn.useRef)(!1);(0,gn.useEffect)(()=>{k.current?Wt.reposition(r.selectorID):k.current=!0},[c]);let D=(0,gn.useRef)(!1);(0,gn.useEffect)(()=>{D.current?(i("interlude"),_(c[0]||null),r.onDynamicSearch?(lc.default.interval.clear(d+"-dynamicSearch"),lc.default.interval.standBy(d+"-dynamicSearch",400,()=>ua(void 0,null,function*(){let{options:I}=yield r.onDynamicSearch(l);h(I),i("show")}))):(lc.default.interval.clear(d+"-staticSearch"),lc.default.interval.standBy(d+"-staticSearch",400,()=>ua(void 0,null,function*(){let I=new RegExp(l,"ig"),$=[];[...r.options].forEach(F=>{var W;(!l||((W=String(F.label))!=null?W:String(F.value)).match(I))&&$.push(F)}),h($),i("show")})))):D.current=!0},[l]);let A=(0,gn.useRef)(!1);(0,gn.useEffect)(()=>{A.current?r.onUpdated({values:b}):A.current=!0},[b]),(0,gn.useEffect)(()=>{lc.default.scope(()=>{if(lc.default.is.nullish(p)||T=="MouseEvent")return;let I=lt("#"+d+"-Selector-Cell-Wrap");if(!I[0])return;let $=lt('[data-chips-selector-cell="'+d+"-"+JSON.stringify((p==null?void 0:p.value)||"").replace(/\"/ig,"")+'"]');if(!$[0])return;let{top:F,height:W}=I.position(),{top:P,height:oe}=$.position();if(F<=P&&P+oe<=F+W)return;let be=I[0].scrollTop+(P-F);T=="ArrowDown"?be-=W-oe-20:T=="ArrowUp"&&(be-=20),I[0].scrollTop=be})},[p]);let q=[];return a=="interlude"?q=[(0,ea.jsxs)(ct.Center,{styles:{padding:2,gap:0},children:[(0,ea.jsx)(Ga.Theme.R,{showInitial:!0}),(0,ea.jsx)(E,{styles:{padding:[0,1],fontSize:"1.mini",fontColor:"4.thin"},children:"\u691C\u7D22\u4E2D..."})]},"interlude")]:q=[c.map((I,$)=>{let{value:F,label:W}=I,P=String(JSON.stringify(F)),oe=b.findIndex(le=>JSON.stringify(le.value)==P),be=oe!=-1,Q=JSON.stringify((p==null?void 0:p.value)||"")==P,he={};return(be||Q)&&(he={fontColor:"theme",isSemiBoldFont:!0}),Q&&(he.backgroundColor="cloud"),be&&(he.backgroundColor="theme.opa.few"),(0,ea.jsx)(ie.Button.Clear.R,{color:"cloud",tabIndex:-1,"data-chips-selector-cell":d+"-"+P.replace(/\"/ig,""),isActive:be||Q,isActiveStyles:he,styles:{borderRadius:"3.tone.tertiary",padding:"1/3",textAlign:"left"},onMouseOver:()=>{C("MouseEvent"),_(I)},onClick:()=>{let le=[...b];be?le.splice(oe,1):(le=[...le,I],r.limit&&le.length>r.limit&&le.shift()),S(le)},children:(0,ea.jsx)(r.SelectorCellComponent,{isSelected:be,isFocused:Q,value:F,label:W})},F+"-"+$)})],(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsxs)(_t,{styles:{padding:"2/3",gap:"2/3",borderBottom:!0},children:[(0,ea.jsxs)(ct.Separate,{children:[(0,ea.jsx)(vn.Normal,{value:l,onUpdateValidValue:({value:I})=>{s(I)},id:r.selectorID+"-KeywordInput",styles:{padding:"2/3"},placeholder:"\u691C\u7D22...",leftIcon:(0,ea.jsx)(Bn.LeftIcon,{styles:{right:"2/3",fontSize:"1.mini",fontColor:"3.blur"},children:(0,ea.jsx)(Te.Search,{})}),onKeyDown:I=>{let{key:$,metaKey:F,ctrlKey:W}=I,P=F||W;if(["ArrowDown","ArrowUp"].includes($)){let oe=+($=="ArrowDown")*2-1;if(P){let be=c[oe==1?c.length-1:0];_(be)}else{let be=c.findIndex(Q=>JSON.stringify(Q.value)==JSON.stringify((p==null?void 0:p.value)||""))+oe;c[be]?_(c[be]):_(c[oe==1?0:c.length-1]||null)}}else if($=="Enter"){let oe=b.findIndex(he=>JSON.stringify(he.value)==JSON.stringify((p==null?void 0:p.value)||"")),be=oe!=-1,Q=[...b];if(be)Q.splice(oe,1);else{let he=c.findIndex(le=>JSON.stringify(le.value)==JSON.stringify((p==null?void 0:p.value)||""));if(he==-1)return;Q=[...Q,c[he]],r.limit&&Q.length>r.limit&&Q.shift()}S(Q)}C($)}}),(0,ea.jsx)(ie.Button.Border.S,{styles:{marginRight:"1/3",ssSphere:2,backgroundColor:"cloud",borderRadius:"2.tone.secondary"},onClick:()=>{Wt.close(r.selectorID)},children:(0,ea.jsx)(Te.Times,{})})]}),(0,ea.jsxs)(ct.Separate,{children:[(0,ea.jsxs)(ct.Left,{styles:{gap:"1/2",verticalAlign:"baseline"},children:[(0,ea.jsx)(Vn,{styles:{fontColor:"theme"},children:c.length}),(0,ea.jsx)(E,{styles:{fontSize:"1.mini",fontColor:"3.blur"},children:"\u4EF6\u306E\u30D2\u30C3\u30C8"})]}),(0,ea.jsx)(ct.Right,{children:!!r.limit&&(0,ea.jsxs)(Vn,{styles:{fontSize:"1.mini",fontColor:"3.blur"},children:[(0,ea.jsx)(Vn,{styles:{fontSize:"3.paragraph",fontColor:"theme",isSemiBoldFont:!0},children:b.length})," / ",r.limit," \u4EF6"]})})]})]}),(0,ea.jsx)(_t,{styles:{gap:"1/4",padding:"1/2",overflow:"auto"},freeCSS:{maxHeight:12*26,maxWidth:12*26},id:d+"-Selector-Cell-Wrap",className:mE("SelectorWrapper"),children:q}),r.bottomContent]})},a3={openSelector:r=>{let{selectorID:a,options:i,selected:l,limit:s,bottomContent:d,onDynamicSearch:c,SelectorCellComponent:h,onUpdated:p,onClosed:_,parent:b,gravityPoint:S}=r,T=a;h=h||(C=>(0,ea.jsx)(ct.Left,{children:C.label})),Wt.open({parent:b,sheetID:T,type:"custom",gravityPoint:S||22,hold_state:!0,close_option:{aroundClick:!0,escapeKeyDown:!0},styles:{padding:[1,0]},content:(0,ea.jsx)(E,{styles:{borderRadius:"2.tone.secondary",backgroundColor:"layer.1",border:!0,boxShadow:"1.normal",overflow:"hidden"},children:(0,ea.jsx)(vG,{selectorID:a,options:i,limit:s,selected:l,onUpdated:p,SelectorCellComponent:h,bottomContent:d,onDynamicSearch:c},JSON.stringify(l))}),openAfter:()=>{lt("#"+r.selectorID+"-KeywordInput").focus()},closeAfter:()=>{_()}})},closeSelector:r=>{Wt.close(r)},updateOptions:(r,a)=>{let i=Ge.get(r);i&&i.updateOptions&&i.updateOptions(a)},updateSelected:(r,a)=>{let i=Ge.get(r);i&&i.updateSelected&&i.updateSelected(a)}};function gG(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u4E00\u3064\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var _G=r=>{let a=r,{required:i,form:l,name:s,checkValidationAtFirst:d,onValidate:c,onUpdateValue:h,onUpdateValidValue:p,value:_=[],limit:b,leftIndicator:S,rightIndicator:T,leftIcon:C,rightIcon:k,SelectedCellComponent:D,AddButtonComponent:A,SelectorCellComponent:q,componentID:I,defaultOptions:$,enableFormSubmit:F,onDynamicSearch:W,styles:P,freeCSS:oe,wrapStyles:be,selectorGravityPoint:Q}=a,he=He(a,["required","form","name","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","limit","leftIndicator","rightIndicator","leftIcon","rightIcon","SelectedCellComponent","AddButtonComponent","SelectorCellComponent","componentID","defaultOptions","enableFormSubmit","onDynamicSearch","styles","freeCSS","wrapStyles","selectorGravityPoint"]);A=A;let[le]=(0,fu.useState)(m_.default.uuid.gen()),[we,V]=(0,fu.useState)({componentID:r.componentID||"",dataValue:_.map(je=>je),eventID:m_.default.uuid.gen(),eventType:"init"}),[re,ue]=(0,fu.useState)({ok:!1,notice:[]}),[z,ee]=(0,fu.useState)([..._]);wa({states:r,val_status:we,set_status:V,val_validate:re,set_validate:ue,DefaultValidation:gG,onUpdateValue:h,onUpdateValidValue:p,ExtraOverrideStates:{formatValue:z,dataValue:z.map(je=>je)},ExtraStoreStates:{searchTimer:null}});let te=je=>{ee(je),V(Xe=>N(v({},Xe),{dataValue:je.map(st=>st),eventID:m_.default.uuid.gen(),eventType:"update"}))},se=`[data-chips-input-wrapper="${le}"]`,me=()=>{a3.openSelector({parent:se,gravityPoint:r.selectorGravityPoint,SelectorCellComponent:r.SelectorCellComponent,selectorID:le,options:r.defaultOptions||[],selected:z,limit:r.limit,onDynamicSearch:r.onDynamicSearch,onUpdated:je=>{te(je.values)},onClosed:()=>{lt(se).focus()}})},De=b&&b<=z.length,Ae=(0,fu.useRef)(!1);(0,fu.useEffect)(()=>{Ae.current?De&&(Wt.close(le),lt(`[data-chips-input-wrapper="${le}"]`).focus()):Ae.current=!0},[z]);let Oe=z.map(je=>{let{value:Xe,label:st}=je;D=D;let Ot=()=>{let vt=z.findIndex(nr=>nr.value==Xe);if(vt==-1)return;let Kt=[...z];Kt.splice(vt,1),te(Kt),Kt.length||setTimeout(()=>{lt(`[data-chips-input-wrapper="${le}"]`).focus()},200)};return(0,yo.jsx)(D,{value:Xe,label:st,removeCallback:Ot,defaultRemoveButton:(0,yo.jsx)(ie.Button.Sub.S,{color:"cloud",styles:{flexSizing:"none",backgroundColor:"cloud",flexCenter:!0,isRounded:!0},freeCSS:{aspectRatio:"1/1"},onClick:vt=>{vt.stopPropagation(),vt.preventDefault(),Ot()},children:(0,yo.jsx)(Te.Times,{})}),openCallback:()=>{me()}},JSON.stringify(Xe))});return(0,yo.jsxs)(ha,{val_status:we,set_status:V,val_validate:re,states:r,children:[(0,yo.jsx)(Tl,{"data-value":JSON.stringify(we.dataValue.map(je=>je.value)),name:s,form:l,"data-input-type":"chips-"+["single","multi"][+(r.limit!=1)],"data-validation":re.ok,componentID:we.componentID,"data-focusor":le}),(0,yo.jsxs)("label",N(v({tabIndex:0,"data-chips-input-wrapper":le,onKeyDown:je=>{let{key:Xe,ctrlKey:st,metaKey:Ot,keyCode:vt}=je,Kt=st||Ot;if(vt>=48&&vt<=57||vt>=65&&vt<=90||vt>=96&&vt<=105){if(De)return;me()}else if(Xe!="Tab"&&Xe=="Backspace"){if(!z.length)return;if(Kt)te([]);else{let nr=[...z];nr.pop(),te(nr)}}},onClick:()=>{De||me()}},he),{children:[!De&&(0,yo.jsx)(A,{selected:z,openCallback:me}),Oe]}))]})},bG=r=>{let a=[...r.value||[]].splice(0,r.limit||65535);return(0,yo.jsx)(_G,N(v({SelectedCellComponent:i=>{let{value:l,label:s,removeCallback:d}=i;return(0,yo.jsxs)(ct.Left,{styles:{ssCardBox:!0,padding:"1/3",gap:0,isRounded:!0,textAlign:"left"},children:[(0,yo.jsx)(E,{styles:{padding:[0,"1/2"]},children:s}),i.defaultRemoveButton]})},AddButtonComponent:i=>r.limit&&r.limit<=i.selected.length?null:(0,yo.jsxs)(ie.Button.Sub.R,{color:"cloud",styles:{padding:"1/2"},onClick:()=>{i.openCallback()},children:[(0,yo.jsx)(Te.Plus,{}),"\u8FFD\u52A0\u3059\u308B"]})},r),{value:a}))},im=r=>{r=v({},r),r=N(v({},r),{styles:v({gap:1,display:"flex",horizontalAlign:"left",verticalAlign:"center",flexWrap:!0},r.styles)});let a=Qr.Boxish(r);return(0,yo.jsx)(pa,{componentID:r.componentID,children:bG,states:a})};im.fn=a3;var xs=K(Ct());var JB=K(j2()),QB=K(V2());var ZB=r=>(0,xs.jsx)(im,N(v({AddButtonComponent:a=>a.selected.length?null:(0,xs.jsx)(E,{children:"\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),SelectedCellComponent:a=>(0,xs.jsx)(E,{styles:{width:1,textAlign:"left"},children:(0,xs.jsxs)(ct.Separate,{children:[a.label,a.defaultRemoveButton]})}),rightIcon:(0,xs.jsx)(Bn.LeftIcon,{children:(0,xs.jsxs)(_t,{styles:{gap:0},children:[(0,xs.jsx)(Te,{icon:JB.faAngleUp}),(0,xs.jsx)(Te,{icon:QB.faAngleDown,freeCSS:{marginTop:-6}})]})}),limit:1},r),{styles:v({paddingLeft:3},r.styles)}));var mr=K(Ct()),Mf=K(er()),hu=K(rr());var Bo=K(Ct()),eO=K(er()),sc=K(rr());var pu=K(er());var Yn={add:function(r){let a=Ge.get("Snackbar-"+it.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=Ge.get("Snackbar-"+it.get().sessionUID);return a&&a.remove(r),this},Wrapper:()=>(0,Bo.jsx)(tO.Wrapper,{})},tO={Cell:r=>{let a=r,{snackID:i,secondsToClose:l,componentID:s=sc.default.uuid.gen(),children:d,customChildren:c}=a,h=He(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,pu.useState)(s),[_,b]=(0,pu.useState)(r.secondsToClose||10);(0,pu.useEffect)(()=>{let T=lt('[data-component-id="'+p+'"]');setTimeout(()=>{T.addClass(Fh("FadeIn"))},10),Ge.set({["Snackbar-"+i]:{remove:()=>{T.addClass(Fh("FadeOut"))}}})},[]),(0,pu.useEffect)(()=>{sc.default.interval.clear("Snackbar-"+p),sc.default.interval.standBy("Snackbar-"+p,1e3,()=>{_<=0||b(_-1)}),_===0&&Yn.remove(i)},[_]);let S=(0,Bo.jsx)(Bo.Fragment,{});return c?S=(0,Bo.jsx)(c,{close:()=>{Yn.remove(i)}}):S=(0,Bo.jsxs)(ct.Separate,{styles:{verticalAlign:"top"},children:[(0,Bo.jsx)(E,{styles:{padding:["1/4",0],flexSizing:0},children:sc.default.is.function(d)?(0,Bo.jsx)(d,{}):d}),(0,Bo.jsx)(ie.Button.Clear.R,{color:"layer",styles:{backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5},onClick:()=>{Yn.remove(i)},children:(0,Bo.jsx)(Te.Times,{})})]}),(0,Bo.jsx)(E,N(v({className:Fh("Cell"),componentID:p,onMouseOver:()=>{b(-1)},onMouseOut:()=>{b(l||10)}},h),{styles:v({opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h.styles),children:S}))},Wrapper:()=>{let[r,a]=(0,pu.useState)(sc.default.uuid.gen()),[i,l]=(0,pu.useState)([]);(0,pu.useEffect)(()=>{Ge.set({["Snackbar-"+it.get().sessionUID]:{add:d=>{d.snackID=d.snackID||sc.default.uuid.gen();let c=i.findIndex(h=>h.snackID==d.snackID);if(c==-1)i.unshift(N(v({},d),{snackID:d.snackID}));else{let h=[...i];h[c]=N(v({},d),{snackID:d.snackID}),i=h}a(sc.default.uuid.gen())},remove:d=>{let c=Ge.get("Snackbar-"+d);c&&c.remove&&(c.remove(),setTimeout(()=>{let h=i.findIndex(_=>_.snackID==d);if(h==-1)return;let p=[...i];p.splice(h,1),l(p)},210))}}})},[i.length]);let s=i.map(d=>(0,eO.createElement)(tO.Cell,N(v({},d),{key:d.snackID})));return(0,Bo.jsx)(tt,{className:["AMOTIFY_be",Fh("Wrapper")].join(" "),styles:{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 uO=K(sO());function yG(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var cO={List:r=>{let{files:a,states:i,val_status:l,set_status:s}=r,d=(i.limit||1)-l.dataValue.length,c=a.map((h,p)=>(0,mr.jsx)(cO.Cell,{index:p,file:h,className:i.cellClassName,val_status:l,set_status:s,fileNameEdit:i.fileNameEdit},h.name));return d>0&&c.push((0,mr.jsx)("label",{className:[i.cellClassName,Kl("AddButton")].join(" "),"data-component-id":l.componentID,htmlFor:i.id,tabIndex:i.tabIndex,onKeyDown:h=>{let{key:p}=h;i.tabIndex!=-1&&[" ","Enter"].includes(p)&<("#"+i.id).click()},children:(0,mr.jsxs)(ct.Center,{styles:{padding:["1/3",0]},children:[(0,mr.jsx)(E,{styles:{isRounded:!0},className:Kl("AddIcon"),children:(0,mr.jsx)(Te,{icon:uO.faCloudArrowUp,className:Kl("Icon"),styles:{fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"}})}),(0,mr.jsxs)(E,{children:[(0,mr.jsxs)(E,{styles:{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0},children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",d,")"]}),(0,mr.jsx)(E,{styles:{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0},children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})},"AddButton")),(0,mr.jsx)(_t,{styles:{flexSizing:"auto"},className:i.className,children:c})},Cell:r=>{let{index:a,file:i,className:l,val_status:s,set_status:d,fileNameEdit:c=!0}=r,{name:h,size:p,type:_}=i,[b,S]=(0,Mf.useState)(!1),T=hu.default.uuid.gen(),C=p.rank(),[k,D]=h.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),A="\u30D5\u30A1\u30A4\u30EB";return _.match(/image/)?A=_.replace(/image\//,""):_.match(/pdf/)?A="PDF":_.match(/csv/)?A="CSV":_.match(/spreadsheet/)?A="SpreadSheet":_.match(/presentation/)?A="PowerPoint":_.match(/word/)?A="Word":_.match(/zip/)?A="Zip":_.match(/powerpoint/)?A="PowerPoint":_.match(/html/)?A="HTML":_.match(/js/)?A="JavaScript":_.match(/css/)?A="CSS":_.match(/text\/plain/)&&(A="\u30C6\u30AD\u30B9\u30C8"),(0,Mf.useEffect)(()=>{b&&setTimeout(()=>{lt("#"+T).focus()},100)},[b]),(0,mr.jsxs)(tt,{styles:{verticalAlign:"center",flexWrap:!1,gap:1},className:l,children:[(0,mr.jsx)(Te.File,{styles:{fontSize:"4.thirdTitle",fontColor:"4.thin"}}),(0,mr.jsxs)(E,{styles:{flexSizing:0},children:[(0,mr.jsx)(E,{children:(0,mr.jsx)(tt,{styles:{verticalAlign:"center",gap:"2/3",flexWrap:!1},className:Kl("FileName"),children:b?(0,mr.jsx)(mr.Fragment,{children:(0,mr.jsxs)(_t,{styles:{gap:"1/2",flexSizing:0},children:[(0,mr.jsxs)(tt,{styles:{gap:"2/3",verticalAlign:"center"},children:[(0,mr.jsx)(vn.Normal,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:T,form:"form-"+T,enableFormSubmit:!0,value:k,onKeyDown:q=>{let{key:I}=q;I=="Escape"&&S(!1)}}),(0,mr.jsxs)(E,{children:[". ",D]})]}),(0,mr.jsxs)(tt,{styles:{gap:"2/3",horizontalAlign:"right",flexWrap:!1},children:[(0,mr.jsx)(ie.Button.Sub.R,{styles:{padding:["2/3",1]},onClick:()=>{S(!1)},children:"\u9589\u3058\u308B"}),(0,mr.jsx)(ie.Button.Prime.R,{styles:{padding:["2/3",1]},submitOption:{formName:"form-"+T,callback:q=>ua(void 0,null,function*(){let{name:I}=q,$=[...s.dataValue],F=$[a],W=F.id;if(!F)return;let{target:P}=yield F.read();if(!P)return;let oe=yield String(P.result).toBlob(i.type);if(!oe)return;let be=new File([oe],I+"."+D,{type:F.type});be.id=W,$[a]=be,d(Q=>N(v({},Q),{dataValue:$,eventType:"update",eventID:hu.default.uuid.gen()})),S(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,mr.jsxs)(mr.Fragment,{children:[h,!!c&&(0,mr.jsx)(ie.Button.Clear.R,{styles:{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand"},color:"cloud",onClick:()=>{S(!0)},children:(0,mr.jsx)(Te.Pen,{})})]})})}),!b&&(0,mr.jsxs)(E,{styles:{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0},children:[A,"\u30D5\u30A1\u30A4\u30EB / ",C,"B"]})]}),(0,mr.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{fontColor:"4.thin",ssSphere:3},onClick:()=>{let q=[...s.dataValue];q[a]&&(q.splice(a,1),d(I=>N(v({},I),{dataValue:q,eventType:"update",eventID:hu.default.uuid.gen()})))},children:(0,mr.jsx)(Te.Times,{})})]})}},SG=r=>{let a=r,{tone:i,required:l,form:s,fileNameEdit:d=!0,systemOnly:c=!1,accept:h="*",limit:p=1,checkValidationAtFirst:_,onChange:b,onValidate:S,onUpdateValue:T,onUpdateValidValue:C,value:k=[],className:D,cellStyles:A,cellClassName:q,componentID:I,status_id:$,enableFormSubmit:F,styles:W,freeCSS:P,wrapStyles:oe}=a,be=He(a,["tone","required","form","fileNameEdit","systemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","styles","freeCSS","wrapStyles"]),Q={componentID:r.componentID||"",dataValue:k,eventType:"init",eventID:hu.default.uuid.gen()},[he,le]=(0,Mf.useState)(Q),[we,V]=(0,Mf.useState)({ok:!1,notice:[]});wa({type:"file",states:r,val_status:he,set_status:le,val_validate:we,set_validate:V,DefaultValidation:yG,onUpdateValue:T,onUpdateValidValue:C,ExtraOverrideStates:{dataValue:k,formatValue:k},ExtraStoreStates:{AddFiles:ue=>ua(void 0,null,function*(){let z=Ge.get(he.componentID).Files,ee=[];for(var te=0;te<(ue==null?void 0:ue.length);te++){let se=ue[te],{type:me,name:De}=se;if(te+1+z.length>p){Yn.add({componentID:De,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${De}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,styles:{backgroundColor:"nega"}});continue}if(h&&h=="image"&&!me.match(/image/)){Yn.add({componentID:De,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${De} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,styles:{backgroundColor:"nega"}});continue}ee.push(se)}le(se=>N(v({},se),{dataValue:[...z,...ee],eventType:"update",eventID:hu.default.uuid.gen()}))})}});let re="";return h&&(h=="image"?re="image/png,image/jpeg":re=h),(0,mr.jsxs)(ha,{val_status:he,set_status:le,val_validate:we,states:r,children:[(0,mr.jsx)("input",N(v({type:"file",className:Kl("Input"),"data-form":s,"data-input-type":"file","data-component-id":he.componentID,"data-validation":we.ok,accept:re,multiple:p!=1,onChange:ue=>ua(void 0,null,function*(){let z=ue.target,ee=z.files,te=[];for(var se=0;se<(ee==null?void 0:ee.length);se++){let me=ee[se],De=me.name;if(me.id=hu.default.uuid.gen(),se+1+he.dataValue.length>p){Yn.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`,styles:{backgroundColor:"nega"}});continue}te.push(me)}le(me=>N(v({},me),{dataValue:[...me.dataValue,...te],eventType:"update",eventID:hu.default.uuid.gen()})),z.value=""})},be),{tabIndex:-1,value:""})),!c&&(0,mr.jsx)(cO.List,{files:he.dataValue,states:r,val_status:he,set_status:le})]})};typeof window!="undefined"&&window.document&&(0,hu.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),lt("."+Kl("AddButton")).addClass(Kl("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),lt("."+Kl("AddButton")).removeClass(Kl("Draggable"));let a=r.dataTransfer.files;if(a.length){let i=r.target;if(lt(i).hasClass(Kl("AddButton"))){let{componentId:l}=i.dataset,s=Ge.get(l);s&&s.AddFiles&&s.AddFiles(a)}}},options:{passive:!1}});var o3=r=>{r=v({},r),r.override="force";let a=Wr(r);return a.cellClassName=[a.cellClassName,Qr.Boxish(N(v({},a.cellStyles),{tone:a.tone})).className].join(" "),(0,mr.jsx)(pa,{componentID:r.componentID,children:SG,states:a})};o3.fn={openDialog:r=>{let{multiple:a,accept:i}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,i&&(i=="image"?s.accept="image/png,image/jpeg":s.accept=i),s.onchange=d=>{l(d.target.files)},s.click()})}};var $n=K(Ct()),lm=K(er()),Ts=K(rr());function wG(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var fO=r=>{let{value:a,val_status:i}=r,{min:l,max:s,step:d}=i;a=Math.max(a,l),a=Math.min(a,s);let c=a/s*s;return c=Math.round(c/d),{stepValue:c*d,stepIndex:c,positionLeft:c*d/s*100+"%"}},dO={IndicatorLabels:r=>{let{componentID:a,min:i,max:l,step:s,customLegends:d}=r,c=[],h=Math.round(i/s),p=Math.round(l/s),_=p-h+1;for(var b=h;b<=p;b++){let S=b*s;S=Math.max(S,i),S=Math.min(S,l);let T=S/l*100+"%";c.push((0,$n.jsx)(E,{className:bs("Label"),id:"Legend-"+a+"-"+b,styles:{display:b==h||b==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center"},freeCSS:{left:T,whiteSpace:"nowrap",textAlign:"center"},children:d?d(S):S.rank()},S))}return(0,lm.useEffect)(()=>{let S=()=>{let T=lt("#Labels-"+a),{width:C}=T.position(),k=Math.round(C/50)-1,D=Math.round(_/k);for(let A=h+1;A<p;A++)lt("#Legend-"+a+"-"+A).css({display:A%D==0?"flex":"none"})};return(0,Ts.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{S()}}),S(),()=>{(0,Ts.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,$n.jsx)(tt,{className:bs("Labels"),styles:{verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1},id:"Labels-"+a,children:(0,$n.jsx)(E,{styles:{position:"absolute",top:0,left:0,bottom:0},freeCSS:{right:12*1.5},children:c})})},Rail:r=>{let{val_status:a,set_status:i,DotData:l,form:s,enableFormSubmit:d}=r,{componentID:c}=a;return(0,$n.jsxs)(tt,{className:bs("Rail"),styles:{position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center"},freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onMouseDown:h=>{h.stopPropagation(),ud.Effects.Start(h,{val_status:a,set_status:i,DotData:l})},onTouchStart:h=>{h.stopPropagation(),ud.Effects.Start(h,{val_status:a,set_status:i,DotData:l})},children:[(0,$n.jsx)(E,{className:bs("Bar"),styles:{backgroundColor:"layer.4",position:"relative",borderRadius:"sphere",transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1},id:c+"_Bar",children:(0,$n.jsx)(E,{className:bs("BarColor"),styles:{position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden"},freeCSS:{width:l.positionLeft},id:c+"_BarColor"})}),(0,$n.jsx)(E,{className:bs("BallWrap"),styles:{position:"absolute",top:0,left:0,bottom:0},freeCSS:{right:12*1.5},children:(0,$n.jsx)(ie.Button.Plain,{className:bs("Ball"),styles:{position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5},freeCSS:{zIndex:2,left:l.positionLeft},"data-form-name":s,id:c+"_Ball",onKeyDown:h=>{ud.KeyDownEvent({event:h,val_status:a,set_status:i,DotData:l}),d&&mn(h)}})})]})}},ud={Effects:{Start:(r,a)=>{(0,Ts.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:i=>{ud.Effects.Move(i,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:i=>{ud.Effects.Move(i,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{ud.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{ud.Effects.End()}})},Move:(r,a)=>{let i=Ts.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:d,min:c,max:h}=l,p=lt("#"+d+"_Ball"),_=lt("#"+d+"_Bar"),b=lt("#"+d+"_BarColor"),{width:S,left:T}=_.position(),C=(i-T)/S;C=Math.max(C,0),C=Math.min(C,1);let k=C*h,D=fO({value:k,val_status:l}),A=D.positionLeft,q=D.stepValue;p.css({left:A}),b.css({width:A});let{prevValue:I}=Ge.get(d);return q!=I&&(Ge.update({[d]:{prevValue:q}}),s($=>N(v({},$),{dataValue:q,eventType:"update",eventID:Ts.default.uuid.gen()}))),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ts.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:i,set_status:l}=r,{min:s,max:d,step:c}=i,{key:h,metaKey:p,ctrlKey:_}=a,b=_||p,S=i.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?b?S=s:S-=c:h.match(/Right|Down/)&&(b?S=d:S+=c),S=Math.max(Math.min(S,d),s),Ge.update({[i.componentID]:{prevValue:S}}),l(T=>N(v({},T),{dataValue:S,eventType:"update",eventID:Ts.default.uuid.gen()})))}},CG=r=>{let a=r,{color:i="theme",required:l,form:s="",legends:{enable:d=!0,custom:c,showAlways:h=!1}={},min:p,max:_,step:b,enableFormSubmit:S,checkValidationAtFirst:T,onChange:C,onKeyDown:k,onValidate:D,onUpdateValue:A,onUpdateValidValue:q,value:I="",className:$,styles:F,freeCSS:W,wrapStyles:P}=a,oe=He(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","className","styles","freeCSS","wrapStyles"]),be={componentID:r.componentID||"",dataValue:I,min:p,max:_,step:b,eventType:"init",eventID:Ts.default.uuid.gen()},[Q,he]=(0,lm.useState)(be),[le,we]=(0,lm.useState)({ok:!1,notice:[]});wa({states:r,val_status:Q,set_status:he,val_validate:le,set_validate:we,onUpdateValue:A,onUpdateValidValue:q,DefaultValidation:wG,ExtraOverrideStates:{dataValue:I},ExtraStoreStates:{prevValue:Q.dataValue,setValueByForeign:re=>{he(ue=>N(v({},ue),{dataValue:re,eventType:"update",eventID:Ts.default.uuid.gen()}))}}});let V=fO({value:Q.dataValue,val_status:Q});return(0,$n.jsxs)(ha,{val_status:Q,set_status:he,val_validate:le,states:r,children:[(0,$n.jsx)(Tl,v({value:V.stepValue,form:s,"data-value":V.stepValue,"data-validation":le.ok,"data-input-type":"slider"},oe)),(0,$n.jsxs)(_t,{styles:{gap:"1/2",flexSizing:"auto"},className:[bs("Wrap"),$,bs("ShowLegendsAlways_"+h)].join(" "),children:[(0,$n.jsx)(dO.Rail,{color:i,val_status:Q,set_status:he,DotData:V,form:s,enableFormSubmit:S}),!!d&&(0,$n.jsx)(dO.IndicatorLabels,{componentID:Q.componentID,min:p,max:_,step:b,customLegends:c})]})]})},pO=r=>(r=v({},r),(0,$n.jsx)(pa,{componentID:r.componentID,children:CG,states:Wr(r)}));var Ql=K(Ct()),i3=K(er()),l3=K(rr());function xG(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var TG=r=>{let a=r,{componentID:i,color:l="posi",required:s,form:d,id:c,enableFormSubmit:h,checkValidationAtFirst:p,onChange:_,onKeyDown:b,onValidate:S,onUpdateValue:T,onUpdateValidValue:C,value:k="",icon:D="",appearance:A="material"}=a,q=He(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","icon","appearance"]),I={componentID:r.componentID||"",dataValue:k,eventType:"init",eventID:l3.default.uuid.gen()},[$,F]=(0,i3.useState)(I),[W,P]=(0,i3.useState)({ok:!1,notice:[]}),oe=!!$.dataValue;return wa({states:r,val_status:$,set_status:F,val_validate:W,set_validate:P,DefaultValidation:xG,onUpdateValue:T,onUpdateValidValue:C,ExtraOverrideStates:{dataValue:k,formatValue:k}}),(0,Ql.jsxs)(ha,{val_status:$,set_status:F,val_validate:W,states:r,children:[(0,Ql.jsx)("input",v({type:"checkbox","data-form":d,"data-input-type":"switch","data-validation":W.ok,"data-component-id":$.componentID,"data-value":$.dataValue,checked:$.dataValue,className:Hh("Input"),id:c,onKeyDown:be=>{b&&b(be),h&&mn(be)},onChange:be=>{W.ok&&P({ok:!1,notice:[]}),F(Q=>N(v({},Q),{dataValue:be.target.checked,eventType:"update",eventID:l3.default.uuid.gen()})),_&&_(be)}},q)),(0,Ql.jsx)(ie.Label.Plain,{tabIndex:-1,htmlFor:c,styles:{padding:"1/3",transition:"middle",borderRadius:"1.tone.primary"},className:Hh("Label"),children:(0,Ql.jsx)(E,{styles:v({},A=="applely"?{padding:"1/4",isRounded:!0,backgroundColor:oe?l:"layer.5"}:{}),children:(0,Ql.jsxs)(ct.Center,{styles:{unitHeight:2.5,position:"relative"},freeCSS:{width:12*4.5},children:[A=="material"&&(0,Ql.jsx)(E,{styles:{position:"absolute",backgroundColor:oe?l:"layer.5",borderRadius:"sphere",unitHeight:1,transition:"middle",width:1,opacity:"middle"},className:Hh("Bar")}),(0,Ql.jsx)(E,{styles:{position:"absolute",top:0,left:0,backgroundColor:A=="material"&&oe?l:"white",transition:"middle",ssSphere:2.5,boxShadow:"1.remark"},className:Hh("Dot"),children:D&&(0,Ql.jsx)(E,{styles:{transition:"middle",ssSquare:2,flexCenter:!0,fontColor:A=="applely"&&oe?l:"white"},children:D})})]})})})]})},hO=r=>(r=v({},r),r.color=r.color||"theme",(0,Ql.jsx)(pa,{componentID:r.componentID,children:TG,states:r}));var mO=K(Ct());var vO=r=>(r=v({},r),(0,mO.jsx)(cu.Plain,N(v({},r),{tone:"plain",icon:!0,type:"checker",iconType:"checkbox",value:r.value?!0:null,cellStyles:v({padding:0},r.cellStyles),options:[{value:!0,label:r.label}],onUpdateValidValue:a=>{let i=!!a.value[0];r.onUpdateValidValue&&r.onUpdateValidValue(N(v({},a),{value:i}))}})));var Es=K(Ct()),gO=K(rr()),v_=K(er());var If=r=>{let a=r,{tone:i,appearance:l,value:s,options:d,onUpdateValue:c,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:_,defaultActiveStyling:b,rightIndicator:S,cellStyles:T,cellClassName:C,cellCheckedClassName:k,cellCheckedStyles:D,styles:A,freeCSS:q,wrapStyles:I}=a,$=He(a,["tone","appearance","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","defaultActiveStyling","rightIndicator","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","styles","freeCSS","wrapStyles"]),[F]=(0,v_.useState)(gO.default.uuid.gen()),[W,P]=(0,v_.useState)(s),[oe,be]=(0,v_.useState)(W);return W!=s&&(P(s),be(s)),(0,Es.jsx)(cu.Radio,N(v({defaultActiveStyling:!1,options:d,value:oe,componentID:F,icon:!1},$),{styles:v({flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},A),freeCSS:v({whiteSpace:"nowrap"},q),cellStyles:v({flexCenter:!0,ssPushable:!0,boxShadow:"none"},T),cellClassName:[C,Hg("Label"),Hg("Tone_"+l)].join(" "),cellCheckedStyles:v({isSemiBoldFont:!0},D),cellCheckedClassName:[k,Hg("Checked")].join(" "),tone:"custom",onUpdateValue:c,onUpdateValidValue:Q=>{h&&h(Q),l=="BottomLine"&&be(Q.value[0])}}))},g_={Auto:r=>(r=v({},r),r=N(v({},r),{styles:v({padding:"1/3",gap:"1/3",ssCardBox:!0},r.styles),cellStyles:v({borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)}),(0,Es.jsx)(If,v({appearance:r.tone||"Auto"},r))),Normal:r=>(r=v({},r),r=N(v({},r),{styles:v({border:!0,borderColor:"theme",overflow:"hidden",gap:0,ssLastChildLossBorder:"right",fontColor:"3.blur"},r.styles),cellStyles:v({borderRadius:0,borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)}),r.tone="ThemeBorder",(0,Es.jsx)(If,v({appearance:"Border"},r))),Cloud:r=>(r=v({},r),r=N(v({},r),{styles:v({padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r.styles),cellStyles:v({borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)}),(0,Es.jsx)(If,v({appearance:r.tone||"Cloud"},r))),Cloud2:r=>(r=v({},r),r.tone="WhiteCloud",(0,Es.jsx)(g_.Cloud,N(v({},r),{styles:v({fontColor:"3.blur"},r.styles),cellCheckedStyles:v({fontColor:"1.clear"},r.cellCheckedStyles)}))),Cloud3:r=>(r=v({},r),r.tone="ThemeCloud",(0,Es.jsx)(g_.Cloud,N(v({},r),{styles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.styles),cellStyles:v({},r.cellStyles)}))),Border:r=>(r=v({},r),r=N(v({},r),{styles:v({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,ssLastChildLossBorder:"right",boxShadow:"0.min"},r.styles),cellStyles:v({borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)}),(0,Es.jsx)(If,v({appearance:r.tone||"Border"},r))),Border2:r=>(r=v({},r),r=N(v({},r),{styles:v({border:!0,borderColor:"theme",overflow:"hidden",gap:0,ssLastChildLossBorder:"right",boxShadow:"0.min",fontColor:"3.blur"},r.styles),cellStyles:v({borderRadius:0,borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)}),r.tone="ThemeBorder",(0,Es.jsx)(If,v({appearance:"Border"},r))),BottomLine:r=>(r=v({},r),r=N(v({},r),{styles:v({gap:0,fontColor:"3.blur"},r.styles),cellStyles:v({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:v({fontColor:"theme"},r.cellCheckedStyles)}),(0,Es.jsx)(If,v({appearance:"BottomLine"},r)))};var ht;(r=>(r.Plain=fB,r.Hidden=Tl,r.Text=vn,r.TextArea=c_,r.AutoHeightText=CB,r.Contenteditable=xB,r.DigitCharacters=EB,r.Time=ws,r.Select=Jl,r.RichSelect=qB,r.List=cu,r.Radio=e3,r.Checkbox=t3,r.Checker=vO,r.Chips=im,r.Search=ZB,r.Filer=o3,r.Slider=pO,r.Switch=hO,r.Segmented=g_,r.Comps=Bn))(ht||(ht={}));var un={currentIndex:0,contents:{},addNewSheet:function(r){let a=N(v({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,isOpen:!0},r),{sheetID:r.sheetID||br.default.uuid.gen(),close_option:v({pageTransit:!0,escapeKeyDown:!0,aroundClick:r.type=="custom"},r.close_option)});if(a.type=="custom"&&(a.parent=a.parent||a.event.currentTarget),this.contents[a.sheetID]){let l=Ge.get(a.sheetID);l&&l.refresh&&l.refresh(a,!0);return}this.contents[a.sheetID]={isOpen:!0,hold_state:!!a.hold_state,p:a,created_at:br.default.Time()};let i=Ge.get("Sheet-"+it.get().sessionUID);i&&i.refresh()},Wrapper:()=>{let[r,a]=(0,qa.useState)(br.default.uuid.gen());(0,qa.useEffect)(()=>{Ge.set({["Sheet-"+it.get().sessionUID]:{refresh:()=>{a(br.default.uuid.gen())}}}),(0,br.default)(it.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(l){let{key:s,metaKey:d}=l;if(s=="Escape"||s==","&&d){let c=Object.values(un.contents).filter(p=>p.isOpen);if(!c.length)return;let h=c.reduce((p,_)=>p.created_at.value>_.created_at.value?p:_);Wt.close(h.p.sheetID,s)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(l){var s;let d=Object.values(un.contents).filter(c=>c.p.type=="custom");!d.length||d.find(c=>{let{p:h}=c,p=h.parent,_=l.target,b=lt(p)[0];return!!(p==_||b===_||(0,br.default)(b).find(_).length)})||(s=l.target)!=null&&s.closest("."+Ar("CustomSheet"))||d.forEach(c=>{var h;(h=c.p.close_option)!=null&&h.aroundClick&&Wt.close(c.p.sheetID)})}})},[]);let i=Object.entries(un.contents).map(([l,s])=>(0,vr.jsx)(E,{id:"Sheet-"+l,children:(0,vr.jsx)(un.Core,v({isOpen:s.isOpen},s.p),l)},l));return(0,vr.jsx)(E,{className:["AMOTIFY_be",Ar("Wrapper")].join(" "),children:i})},Core:r=>{var a;let[i]=(0,qa.useState)(br.default.uuid.gen()),[l,s]=(0,qa.useState)(r),[d,c]=(0,qa.useState)(r.isOpen),{type:h,sheetID:p,openAfter:_,closeAfter:b}=l,S=!l.overwrap,T=un.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"}[h]];(0,qa.useEffect)(()=>{Ge.set({[p]:{refresh:(D,A)=>{s(D),c(A!=null?A:!1)},resize:D=>{if(h=="drawer.bottom"){let A=Ge.get(i);A&&A.resize&&A.resize(D)}else(l.type.includes("normal")||l.type.includes("drawer"))&&s(A=>N(v({},A),{size:D}))},close:D=>{un.contents[p].isOpen=!1,c(!1)},open:()=>{un.contents[p].isOpen=!0,c(!0)}}})}),(0,qa.useEffect)(()=>{br.default.scope(()=>{if(!S||!l.backgroundEffect)return;let D=Object.values(un.contents).filter(q=>q.isOpen&&!q.p.overwrap&&q.p.type!="custom").length,A=lt(".AMOTIFY_be_root");if(d){if(A.hasClass(Ar("FixScroll")))return;let q=(0,br.default)("html"),I=0;D==1&&(I=q[0].scrollTop|0,s($=>N(v({},$),{bodyScrolls:I}))),it.get().isPhone||(q[0].scrollTop=0,A.addClass(Ar("FixScroll")).callback($=>{$[0].scrollTop=I}).await(40).addClass(Ar("Float")));return}it.get().isPhone||D==0&&A.hasClass(Ar("FixScroll"))&&A.removeClass(Ar("Float")).await(251).removeClass(Ar("FixScroll")).callback(()=>{(0,br.default)("html")[0].scrollTop=l.bodyScrolls||0,A[0].scrollTop=0})}),br.default.scope(()=>{let D=lt("#"+i);if(d){D.await(10).removeClass(Ar("Hide")).await(10).addClass(Ar("Open")).callback(()=>{un.contents[p].isOpen=!0,_&&_()});return}D.await(10).removeClass(Ar("Open")).await(251).addClass(Ar("Hide")).callback(()=>{if(!b||b(),un.contents[p].isOpen=!1,l.hold_state)return;delete un.contents[p];let A=Ge.get("Sheet-"+it.get().sessionUID);A&&A.refresh()})})},[d]),(0,qa.useEffect)(()=>{un.currentIndex++;let{close_option:D}=l;br.default.scope(()=>{if(!(D!=null&&D.parentBlur))return;let A=(0,br.default)(l.parent);A[0]&&A.addEvent({eventID:"SheetClosation-"+p,eventType:"mouseout",callback:()=>{A.removeEvent("SheetClosation-"+p),c(!1)}})})},[]);let[C,k]=h.split(".");return(0,vr.jsx)(E,{className:[Ar("Wrap"),Ar("Tcate_"+C),Ar("Tpos_"+k),Ar("isNewSheet_"+S)].join(" "),styles:{width:1,height:0,ssAbsoluteCovered:!0},freeCSS:{zIndex:un.currentIndex+1},id:i,children:(0,vr.jsxs)(_t,{className:Ar("Content"),styles:{gap:0,height:"viewHeight",overflow:"auto",transition:"middle"},children:[!!S&&(0,vr.jsx)(un.TapSensor,{sheetID:p,delegateAroundClick:(a=l.close_option)==null?void 0:a.aroundClick}),(0,vr.jsx)(T,v({componentID:i},l))]})},i)},Types:{Normal:r=>{let a=r,{sheetID:i,sheetGroups:l,bodyScrolls:s,content:d,className:c="",type:h,size:p="R",freeCSS:_,openAfter:b,closeAfter:S,close_option:T,hold_state:C,overwrap:k,isOpen:D,backgroundEffect:A,styles:q}=a,I=He(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect","styles"]),[$,F]=h.split("."),W={},P=[];return F.match(/top/)?(P.push("top"),W.marginBottom="auto"):F.match(/middle/)?(P.push("center"),W.marginTop="auto",W.marginBottom="auto"):F.match(/bottom/)&&(P.push("bottom"),W.marginTop="auto"),F.match(/left/i)?(P.push("left"),W.marginRight="auto"):F.match(/center/i)?(P.push("center"),W.marginLeft="auto",W.marginRight="auto"):F.match(/right/i)&&(P.push("right"),W.marginLeft="auto"),(0,vr.jsx)(E,N(v({className:[Ar("BB"),c].join(" ")},I),{styles:v(v({padding:1,transition:"long",opacity:"trans"},W),q),freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100vw"}[p],maxWidth:"96vw",transformOrigin:P.join(" ")},_),children:br.default.is.function(d)?(0,vr.jsx)(d,{}):d}))},Edge:r=>{let a=r,{sheetID:i,sheetGroups:l,bodyScrolls:s,type:d,content:c,className:h="",size:p="R",freeCSS:_,openAfter:b,closeAfter:S,close_option:T,hold_state:C,overwrap:k,isOpen:D,backgroundEffect:A,styles:q}=a,I=He(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","freeCSS","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect","styles"]);return(0,vr.jsx)(E,N(v({className:[Ar("BB"),h].join(" ")},I),{styles:v(N(v({},d=="drawer.right"?{marginLeft:"auto"}:d=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),q),freeCSS:v({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},_),children:br.default.is.function(c)?(0,vr.jsx)(c,{}):c}))},Bottom:r=>{let a=r,{componentID:i,sheetID:l,sheetGroups:s,bodyScrolls:d,content:c,size:h="R",sizeChanged:p,baseStyles:_,openAfter:b,closeAfter:S,close_option:{swipeDown:T=!0}={},hold_state:C,overwrap:k,isOpen:D,backgroundEffect:A,styles:q}=a,I=He(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect","styles"]),$=br.default.getScreenSize(),F=[0,.2,.6,.95],W={ZERO:0,S:1,R:2,L:3},[P,oe]=(0,qa.useState)(h),[be,Q]=(0,qa.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:F[W[h]]});Ge.update({[i]:{val_edit:be,resize:we=>{let V=F[W[we]];Q(re=>N(v({},re),{value:V})),oe(we)}}});let he={Start:we=>{(0,br.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:he.Move}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:he.Move}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:he.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:he.End});let V=br.default.getCursor(we),re=N(v({},be),{process:!0,processStart:new Date().getTime(),originY:V.y,originValue:be.value,viewHeight:br.default.getScreenSize().height});Ge.update({[i]:{val_edit:re}}),Q(re)},Move:we=>{var V;let re=(V=Ge.get(i))==null?void 0:V.val_edit;if(!re.process)return;let ue=(br.default.getCursor(we).y-re.originY)/re.viewHeight,z=re.originValue-ue;if(z>.95)z=.95+(z-.95)*.5;else if(z<.2){let ee=.2-z;ee-=.1,z=.1+(.1-ee)*.5}Q(N(v({},re),{value:z}))},End:we=>{var V;let re=(V=Ge.get(i))==null?void 0:V.val_edit;if(!re.process)return;(0,br.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ue=0;if(re.value<.1||(re.value<.5?ue=1:re.value>.75?ue=3:ue=2),new Date().getTime()-re.processStart<300){let z=br.default.getCursor(we).y-re.originY;if(Math.abs(z)>=20){let ee=+(z<0)*2-1;ue+=ee,ue=Math.min(Math.max(ue,0),F.length-1)}}ue==0&&(T||(ue=1)),oe(["ZERO","S","R","L"][ue]),Q(N(v({},re),{value:F[ue],process:!1}))}},le=(0,qa.useRef)(!1);return(0,qa.useEffect)(()=>{le.current?P=="ZERO"?T&&Wt.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(P)},250):le.current=!0},[P]),(0,vr.jsx)(E,{className:Ar("BB"),styles:{margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long"},freeCSS:v({maxWidth:12*60,height:$.height*be.value},be.process?{transition:"0s"}:{}),children:(0,vr.jsxs)(_t,{styles:v({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",border:!0,borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},_),children:[(0,vr.jsx)(ct.Separate,{styles:{padding:"1/2",backgroundColor:"layer.1",position:"relative"},freeCSS:{userSelect:"none"},children:(0,vr.jsx)(ct.Center,{onMouseDown:he.Start,onTouchStart:he.Start,styles:{flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0},freeCSS:{cursor:"grab",userSelect:"none"},children:(0,vr.jsx)(E,{styles:{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0},className:Ar("DragBar")})})}),(0,vr.jsx)(E,N(v({},I),{styles:v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},q),children:br.default.is.function(c)?(0,vr.jsx)(c,{}):c}))]})})},Custom:r=>{let a=r,{sheetID:i,sheetGroups:l,bodyScrolls:s,event:d,parent:c,nextToCursor:h,gravityPoint:p=22,content:_,close_option:b,hold_state:S,openAfter:T,closeAfter:C,overwrap:k,isOpen:D,backgroundEffect:A,styles:q,freeCSS:I}=a,$=He(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","close_option","hold_state","openAfter","closeAfter","overwrap","isOpen","backgroundEffect","styles","freeCSS"]),[F]=(0,qa.useState)(br.default.uuid.gen()),W=br.default.is.element(c)||br.default.is.jsmin(c)?(0,br.default)(c):lt(c),P='[data-sheet-id="'+F+'"]',oe='[data-sheet-content="'+F+'"]';p=p;let be=p%5||5,Q=Math.ceil(p/5),he=()=>{if(h&&d){let me=br.default.getScreenSize(),De=br.default.getCursor(d);return{top:De.y-me.pageYOffset,left:De.x-me.pageXOffset}}let V={},{top:re,right:ue,bottom:z,left:ee,height:te,width:se}=W.position();return[1,2].includes(be)?V.left=ee:be==3?V.left=ee+se/2:[4,5].includes(be)&&(V.left=ue),p<=10?V.top=re:p<=15?V.top=re+te/2:p<=25&&(V.top=z),V},[le,we]=(0,qa.useState)(he());return(0,qa.useEffect)(()=>{let V=re=>{let ue=lt(P).position(),z=lt(oe).position(),ee=br.default.getScreenSize(),te=v({},re);return z.top<0&&(te.top=ue.top-z.top),z.left<0&&(te.left=ue.left-z.left),z.right>ee.width&&(te.left=ue.left-(z.right-ee.width)),z.bottom>ee.height&&(te.top=ue.top-(z.bottom-ee.height)),te};lt(P).await(10).addClass(Ar("Open")).await(250).callback(()=>{we(re=>V(re))}),Ge.update({["customSheet-"+r.sheetID]:{reposition:()=>{setTimeout(()=>{we(re=>V(re))},200)}}})},[]),W[0]?(0,vr.jsx)(E,{className:[Ar("BB"),Ar("CustomSheet")].join(" "),"data-sheet-id":F,styles:{transition:"long",opacity:"trans",position:"absolute",width:0,height:0,flexCenter:!0},freeCSS:le,children:(0,vr.jsx)(tt,{className:[Ar("GPT"),Ar("GPT_"+p),Ar("Col_"+be),Ar("Row_"+Q)].join(" "),styles:{position:"absolute"},children:(0,vr.jsx)(E,N(v({"data-sheet-content":F},$),{styles:v({flexSizing:"none",maxHeight:"viewHeight",overflow:"auto",padding:1},q),freeCSS:v({maxWidth:"98vw"},I),children:br.default.is.function(_)?(0,vr.jsx)(_,{}):_}))})}):null}},TapSensor:r=>(0,vr.jsx)(E,{className:Ar("TapSensor"),children:(0,vr.jsx)(ie.Button.Plain,{className:Ar("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&Wt.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},Wt={Wrapper:()=>(0,vr.jsx)(un.Wrapper,{}),open:r=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let a=r.sheetID||br.default.uuid.gen(),i=r,{type:l,src:s}=i,d=He(i,["type","src"]);Wt.open(N(v({type:"normal.topCenter"},d),{styles:v({backgroundColor:"trans"},d.styles),sheetID:a,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[c]=(0,qa.useState)(br.default.flatArray(s)),[h,p]=(0,qa.useState)(0),_=[],b=[];return c.forEach((S,T)=>{_.push({value:T,label:(0,vr.jsx)(Nn,{src:br.default.flatArray(S)[0],styles:{width:"auto",height:1},freeCSS:{maxWidth:12*6,maxHeight:12*3}})}),b.push((0,vr.jsx)(Nn,{styles:{width:1,height:"auto"},src:br.default.flatArray(S)[0]}))}),(0,vr.jsxs)(_t,{styles:{gap:0},children:[(0,vr.jsxs)(ct.Separate,{styles:{gap:2,padding:1,backgroundColor:"layer.1",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary"},children:[(0,vr.jsx)(ht.Radio,{tone:"border",icon:!1,value:h,override:"force",styles:{horizontalAlign:"center"},onUpdateValidValue:({value:S})=>{p(S[0])},cellStyles:{borderWidth:2,padding:"1/3"},options:_}),(0,vr.jsxs)(ie.Button.Border.R,{color:"cloud",styles:{isRounded:!0},onClick:()=>{Wt.close(a)},children:["\u9589\u3058\u308B ",(0,vr.jsx)(Te.Times,{})]})]}),(0,vr.jsx)(Nf,{slideIndex:h,options:{loop:c.length>1,onSlideCallback:S=>{p(S)}},slides:b,wrapper:S=>(0,vr.jsx)(E,{styles:{borderBottomLeftRadius:"1.tone.primary",borderBottomRightRadius:"1.tone.primary"},children:S})})]})}}));return}un.addNewSheet(r)},refresh:(r,a)=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let i=Ge.get(r.sheetID);i&&i.refresh&&i.refresh(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Ge.get(r.sheetID);a&&a.resize&&a.resize(r.size)},reposition:r=>{let a=Ge.get("customSheet-"+r);a&&a.reposition&&a.reposition()},close:function(r,a,i){var l;r=r==null?void 0:r.replace(/\./g,"-");let s=un.contents[r];if(s&&!(a=="Escape"&&!((l=s.p.close_option)!=null&&l.escapeKeyDown))){let{p:d}=s,{sheetID:c}=d,h=Ge.get(c);h&&h.close&&h.close(i)}},closeGroup:r=>{var a;r=(r||"").replace(/\./g,"-");for(let[i,l]of Object.entries(un.contents))(a=l.p.sheetGroups)!=null&&a.includes(r)&&Wt.close(i)},closeAll:r=>{var a;for(let[i,l]of Object.entries(un.contents))r&&((a=l.p.close_option)==null?void 0:a.pageTransit)==!1||Wt.close(i,"pageTransit",!0)},Comps:{Body:r=>(0,vr.jsx)(E,N(v({className:Ar("BaseBody")},r),{styles:v({backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r.styles)}))}};var Rl=K(Ct()),cd=K(er()),On=K(rr());var Zl={Base:r=>{let a=r,{topNavigation:i,sideNavigation:l,footerNavigation:s,children:d,className:c}=a,h=He(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,cd.useEffect)(()=>{Zl.fn.updateCSSProperty.reset(),setTimeout(()=>{Zl.fn.updateCSSProperty.reset()},100);let _="ResizeCB",b="RemovePageEventCB";return(0,On.default)(window).addEvent({eventType:"resize",eventID:_,callback:()=>{it.get().screen.isPhonepoint()||(On.default.interval.clear("__RVC_calcHeights"),On.default.interval.standBy("__RVC_calcHeights",300,()=>{Zl.fn.updateCSSProperty.reset()}))}}),()=>{(0,On.default)(window).removeEvent(b),(0,On.default)(window).removeEvent(_)}},[]);let p=d;return(0,Rl.jsxs)(_t,N(v({className:[c,ka("RootViewController")].join(" ")},h),{styles:v({backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h.styles),children:[i,(0,Rl.jsxs)(tt,{className:ka("Body"),styles:{flexWrap:!1,position:"relative",flexSizing:0},children:[l,(0,Rl.jsx)(E,{className:ka("Content"),styles:{position:"relative",flexSizing:0,width:0},UnderBreakPointStyles:{width:"auto"},children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:i,children:l}=a,s=He(a,["className","children"]),[d]=(0,cd.useState)(On.default.uuid.gen());return(0,cd.useEffect)(()=>{Zl.fn.updateCSSProperty.topNav()},[]),(0,Rl.jsx)(tt,N(v({"data-id":d},s),{styles:v({flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s.styles),id:"__RVC_TopNavigation",className:[i,ka("TopNav")].join(" "),children:l}),d)},SideNavigation:r=>{let a=r,{className:i=""}=a,l=He(a,["className"]);return(0,Rl.jsx)(E,N(v({className:[i,ka("SideNav")].join(" ")},l),{styles:v({flexSizing:"none",minHeight:"sideNavigationHeight"},l.styles)}))},FooterNavigation:r=>{let a=r,{className:i="",baseStyles:l}=a,s=He(a,["className","baseStyles"]),[d]=(0,cd.useState)(On.default.uuid.gen());return(0,cd.useEffect)(()=>{Zl.fn.updateCSSProperty.footer()},[]),(0,Rl.jsx)(tt,{"data-id":d,styles:v({borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),id:"__RVC_FooterNavigation",className:[ka("FooterNav"),i].join(" "),children:(0,Rl.jsx)(tt,N(v({},s),{styles:v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto"},s.styles)}))})},Comps:{Button:r=>{let a=r,{isActive:i,uri:l,uriGroup:s}=a,d=He(a,["isActive","uri","uriGroup"]),c=On.default.flatArray(s),h=location.pathname;{let p=!1;if(On.default.is.exist(l)&&On.default.is.string(l)){let _=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(_).pathname}if(!p&&c.length)for(let _ of c)On.default.is.nullish(_)||h.match(new RegExp(_))&&(p=!0);i=i!=null?i:p}return(0,Rl.jsx)(ie.Button.Clear.R,N(v({isActive:i,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{On.default.is.exist(l)&&On.default.is.string(l)&&Ln.push(l,p.ctrlKey||p.metaKey)},color:"cloud"},d),{styles:v({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},d.styles)}))},Bar:r=>(0,Rl.jsx)(E,N(v({},r),{styles:v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],borderRadius:"sphere"},r.styles)})),Title:r=>(0,Rl.jsx)(E,N(v({},r),{styles:v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r.styles)}))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,On.default)(document.body),a=lt("#__RVC_TopNavigation"),i=a.position().height||0,l=i;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",i+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,On.default)(document.body),a=lt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},reset:()=>{let r=(0,On.default)(document.body),a=lt("#__RVC_TopNavigation"),i=lt("#__RVC_FooterNavigation"),l=a.position().height||0,s=l,d=i.position().height||0;a.getStyleProperty("position")!="sticky"&&(s=0);let c=window.innerHeight,h=c-l-d;r.setStyleProperty("--topNavHeight",l+"px").setStyleProperty("--topBase",s+"px").setStyleProperty("--footerNavHeight",d+"px").setStyleProperty("--viewHeight",c+"px").setStyleProperty("--sideNavHeight",h+"px").setStyleProperty("--contentHeight",h+"px")}}}};var __=r=>{let[a,i]=(0,uc.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,i(r.pathname));let s=(0,uc.useRef)(!1);(0,uc.useEffect)(()=>{l&&(s.current?(Wt.closeAll(!0),Zl.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,uc.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,uc.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var u3=K(rr());var s3=!1,s_=r=>ua(void 0,null,function*(){if(s3)return{valid:!1,data:{}};let a=document.activeElement;a&&a.blur(),s3=!0;let i=(0,u3.default)(`[data-form="${r}"]`),l=1,s={};for(let d=0;d<i.length;d++){let c=i[d],{componentId:h=""}=c.dataset,p=Ge.get(h);p&&p.Refresh&&(yield p.Refresh());let{value:_,name:b,checked:S,dataset:{value:T,name:C="",inputType:k="",validation:D}}=i[d],A=T;b=b||C,D=+((D!=null?D:"true")=="true"),k=="hidden"?A&&(A=JSON.parse(A)):["radio","checkbox","checker"].includes(k)?A&&(A=JSON.parse(A),u3.default.is.array(A)?A=A.map(I=>JSON.parse(I)):A=JSON.parse(A),k=="radio"&&(A=A[0]),k=="checker"&&(A=!!A[0])):["chips-single","chips-multi"].includes(k)?(A=JSON.parse(A),A.length&&k=="chips-single"&&(A=A[0])):k=="time"||k=="select"||k=="richSelect"?A&&(A=JSON.parse(A)):k=="file"?p&&(A=p.Files):k=="slider"?A&&(A=JSON.parse(A)):k=="switch"&&(A=S|0);let q=(D!=null?D:1)|0;l&=q,D&&(s[b]=A)}return s3=!1,{valid:!!l,data:s}});var Ln={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Ln.open(r);return}Ln.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Ln.pushSync(r);return}Ln.__push(r)},back:()=>{Ln.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Ln.__push=r},setBackEffect:r=>{Ln.__back=r}};var ja=K(rr());var Lt={toConcreteBorderRadius:r=>{let a=it.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=>ja.default.is.nullish(r),ClassNames:(r,a)=>{var i,l,s,d,c,h,p;let _=[],{gap:b,display:S,position:T,overflow:C,fontColor:k,fontSize:D,fontWeight:A,backgroundColor:q,textAlign:I,textDecoration:$,boxShadow:F,margin:W,marginTop:P,marginRight:oe,marginBottom:be,marginLeft:Q,padding:he,paddingTop:le,paddingRight:we,paddingBottom:V,paddingLeft:re,top:ue,right:z,bottom:ee,left:te,border:se,borderTop:me,borderRight:De,borderBottom:Ae,borderLeft:Oe,borderWidth:je,borderColor:Xe,borderStyle:st,borderRadius:Ot,borderTopLeftRadius:vt,borderTopRightRadius:Kt,borderBottomLeftRadius:nr,borderBottomRightRadius:or,flexSizing:Ue,flexWrap:ar,flexType:ur,flexChilds:cr,flexGrid:sr,horizontalAlign:Er,verticalAlign:kr,transition:ta,gridCenter:Ua,gridCols:xa,maxHeight:Ra,minHeight:Kr,maxWidth:ra,minWidth:$r,width:Da,height:Rr,unitHeight:Mr,unitWidth:Gr,opacity:Ma}=a;{if(Lt.ev(S)||_.push("dsp"+S),C){let G=ja.default.flatArray(C);_.push("ovfl-x-"+G[0]),_.push("ovfl-y-"+(G[1]||G[0]))}Lt.ev(T)||_.push("ps"+T),Lt.ev(I)||_.push("txtalg"+I),Lt.ev(I)||_.push("txtdeco"+$),Lt.ev(k)||_.push("ftcl"+((i=String(k))==null?void 0:i.replace(/\./g,"_"))),Lt.ev(D)||_.push("ftsz"+((l=String(D))==null?void 0:l.replace(/\..*/,""))),Lt.ev(A)||_.push("ftwt"+(A==null?void 0:A.replace(/\..*/,""))),Lt.ev(q)||_.push("bgc"+((s=String(q))==null?void 0:s.replace(/\./g,"_"))),Lt.ev(F)||_.push("bs"+F);let Fe,pt,St,Xt;ja.default.is.exist(W)&&(ja.default.is.array(W)?W.length==2?[Fe,pt,St,Xt]=[...W,...W]:W.length==4&&([Fe,pt,St,Xt]=W):Fe=pt=St=Xt=W,P=P!=null?P:Fe,oe=oe!=null?oe:pt,be=be!=null?be:St,Q=Q!=null?Q:Xt),Lt.ev(P)||_.push("mrgt"+P),Lt.ev(oe)||_.push("mrgr"+oe),Lt.ev(be)||_.push("mrgb"+be),Lt.ev(Q)||_.push("mrgl"+Q);let $t,Nr,yr,ca;ja.default.is.exist(he)&&(ja.default.is.array(he)?he.length==2?[$t,Nr,yr,ca]=[...he,...he]:he.length==4&&([$t,Nr,yr,ca]=he):$t=Nr=yr=ca=he,le=le!=null?le:$t,we=we!=null?we:Nr,V=V!=null?V:yr,re=re!=null?re:ca),Lt.ev(le)||_.push("pdt"+le),Lt.ev(we)||_.push("pdr"+we),Lt.ev(V)||_.push("pdb"+V),Lt.ev(re)||_.push("pdl"+re),Lt.ev(ue)||_.push("pstt"+ue),Lt.ev(z)||_.push("pstr"+z),Lt.ev(ee)||_.push("pstb"+ee),Lt.ev(te)||_.push("pstl"+te);{ja.default.is.exist(se)&&(me=me!=null?me:se,De=De!=null?De:se,Ae=Ae!=null?Ae:se,Oe=Oe!=null?Oe:se),ja.default.is.boolean(me)&&(me=["unset","2.normal"][Number(me)]),ja.default.is.boolean(De)&&(De=["unset","2.normal"][Number(De)]),ja.default.is.boolean(Ae)&&(Ae=["unset","2.normal"][Number(Ae)]),ja.default.is.boolean(Oe)&&(Oe=["unset","2.normal"][Number(Oe)]),Lt.ev(me)||_.push("b_t_ss"+((d=String(me))==null?void 0:d.replace(/\..*/,""))),Lt.ev(De)||_.push("b_r_ss"+((c=String(De))==null?void 0:c.replace(/\..*/,""))),Lt.ev(Ae)||_.push("b_b_ss"+((h=String(Ae))==null?void 0:h.replace(/\..*/,""))),Lt.ev(Oe)||_.push("b_l_ss"+((p=String(Oe))==null?void 0:p.replace(/\..*/,""))),ja.default.is.exist(je)&&_.push("b_wth"+String(je)),ja.default.is.exist(Xe)&&_.push("b_cl"+String(Xe)),ja.default.is.exist(st)&&_.push("b_st"+String(st));{let G,ae,B,H;ja.default.is.exist(Ot)&&(ja.default.is.array(Ot)?Ot.length==4&&([G,ae,H,B]=Ot):G=ae=B=H=Ot,vt=vt!=null?vt:G,Kt=Kt!=null?Kt:ae,nr=nr!=null?nr:B,or=or!=null?or:H)}Lt.ev(vt)||_.push("br_tl"+Lt.toConcreteBorderRadius(vt)),Lt.ev(Kt)||_.push("br_tr"+Lt.toConcreteBorderRadius(Kt)),Lt.ev(nr)||_.push("br_bl"+Lt.toConcreteBorderRadius(nr)),Lt.ev(or)||_.push("br_br"+Lt.toConcreteBorderRadius(or))}if(Lt.ev(Ma)||_.push("op"+Ma),ja.default.is.exist(b)){let G,ae;ja.default.is.array(b)?(G=b[0],ae=b[1]):G=ae=b,_.push("gapRow"+G,"gapCol"+ae)}Lt.ev(Ue)||_.push("flsz"+Ue),Lt.ev(ar)||_.push("flwrp"+ar),Lt.ev(ur)||_.push("fltyp"+ur),Lt.ev(cr)||_.push("flchld"+cr),Lt.ev(sr)||_.push("flgrid"+sr),Lt.ev(kr)||_.push("flvrt"+kr),Lt.ev(Er)||_.push("flhrz"+Er),Lt.ev(Ua)||_.push("grcnt"+Ua),Lt.ev(xa)||_.push("grcol"+xa),Lt.ev(Rr)||_.push("hgt"+Rr),Lt.ev(Da)||_.push("wdt"+Da),Lt.ev(Mr)||_.push("unthgt"+Mr),Lt.ev(Gr)||_.push("untwdt"+Gr),Lt.ev(ta)||_.push("trnst"+ta),Lt.ev(Ra)||_.push("maxh"+Ra),Lt.ev(Kr)||_.push("minh"+Kr),Lt.ev(ra)||_.push("maxw"+ra),Lt.ev($r)||_.push("minw"+$r)}return _.length?r+_.join(" "+r):""}},Zh=r=>{let a=v({},r),{styles:i={}}=a,l=i,{gradients:s,ssCardBox:d,ssSphere:c,ssSquare:h,ssPushable:p,ssAbsoluteCovered:_,ssTextEllipsis:b,flexCenter:S,flexNewLine:T,isLightFont:C,isBoldFont:k,isSemiBoldFont:D,isRounded:A}=l,q=He(l,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded"]),I=a,{freeCSS:$={}}=I,F=He($,[]),W=He(I,["styles","freeCSS"]);if(q=q||{},F=F||{},W=W||{},s){let{deg:P,colors:oe}=s;F=N(v({},F),{background:`linear-gradient(${P}deg,${oe.join(",")})`})}if(d){d===!0&&(d="border");let P={styles:{backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"},freeCSS:{zIndex:1}};d=="border"?P.styles.border=!0:d=="layer"?P.styles.backgroundColor="layer.1":d=="cloud"?P.styles.backgroundColor="cloud":d=="shadow"&&(P.styles.boxShadow="0.normal"),it.get().darkMode=="dim"&&(P.styles.boxShadow="1.normal"),it.get().darkMode=="dark"&&(P.styles.boxShadow="1.remark"),F=v(v({},P.freeCSS),F),q=v(v({},P.styles),q)}return c&&(S=S!=null?S:!0,q=v({padding:0,unitWidth:c,unitHeight:c,borderRadius:"sphere",flexSizing:"none"},q)),h&&(S=S!=null?S:!0,q=v({padding:0,unitWidth:h,unitHeight:h,flexSizing:"none"},q)),p&&(q=v({transition:"middle"},q),W=N(v({},W),{className:[W.className,"ssPushable"].join(" ")})),_&&(q=v({position:"absolute",top:0,left:0,right:0,bottom:0},q)),b&&(q=v({overflow:"hidden"},q),F=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},F)),T&&(q=v({width:1,flexSizing:"none"},q)),S&&(q=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},q)),C&&(q.fontWeight="1.light"),D&&(q.fontWeight="3.semiBold"),k&&(q.fontWeight="4.bold"),A&&(ja.default.is.number(A)?F.borderRadius=A*12:q.borderRadius="sphere"),N(v({},W),{styles:q,freeCSS:F})},Wr=r=>{let a=Zh(r),{componentID:i,styles:l={},UnderBreakPointStyles:s={},className:d="",freeCSS:c={}}=a,h=He(a,["componentID","styles","UnderBreakPointStyles","className","freeCSS"]),p=[d];if(l.ssLastChildLossBorder&&p.push("ssLastChildLossBorder_"+l.ssLastChildLossBorder),l.ssEffectsOnActive){l.ssEffectsOnActive=ja.default.flatArray(l.ssEffectsOnActive);for(let b of l.ssEffectsOnActive)p.push("eff_"+b,"eff_"+b.split(".")[0])}{let b=Lt.ClassNames("amotf_",l);p.push(b)}s&&p.push(Lt.ClassNames("amotf_bp",s));let _=v({},h);return c&&(_.style=v(v({},c),_.style)),(i||_["data-component-id"])&&(_["data-component-id"]=_["data-component-id"]||i),p.length&&(_.className=p.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),_};var il=K(Ct());var p3=K(er());var c3=K(Ct()),d3=K(rr());var Ff=K(er());var _O=r=>{let a=r,{animationDelay:i=100,animationTime:l=300,componentID:s=d3.default.uuid.gen()}=a,d=He(a,["animationDelay","animationTime","componentID"]),[c]=(0,Ff.useState)(s);return(0,Ff.useEffect)(()=>{setTimeout(()=>{let h=lt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},i)},[]),(0,c3.jsx)(E,N(v({},d),{freeCSS:N(v({},d.freeCSS),{opacity:0}),componentID:c}))},bO=r=>{let a=r,{animationDelay:i=100,animationTime:l=300,componentID:s=d3.default.uuid.gen()}=a,d=He(a,["animationDelay","animationTime","componentID"]),[c]=(0,Ff.useState)(s);return(0,Ff.useEffect)(()=>{setTimeout(()=>{let h=lt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},i)},[]),(0,c3.jsx)(E,N(v({},d),{styles:v({paddingTop:2},d.styles),freeCSS:N(v({},d.freeCSS),{opacity:0}),componentID:c}))};var es=K(rr());var yO="eff_ripple",sm={Start:r=>{let a=es.default.Time().ms,i=r.target,l=(0,es.default)(i);if(!l[0])return;let s=l.findClass(/^eff_ripple-/)[0];if(!s)return;let d=s.split("-")[1],c="RippleWrap-"+es.default.uuid.gen(),{left:h,top:p,height:_,width:b}=l.position(),{pageXOffset:S,pageYOffset:T}=es.default.getScreenSize(),{x:C,y:k}=es.default.getCursor(r),D=Math.min(b*1.5,300),A=Math.max(C-(h+S),0),q=Math.max(k-(p+T),0),I={RippleElement:l,startedAt:a,size:D};(0,es.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{sm.End(I)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{sm.End(I)},20)}}),(0,es.default)(l).addClass([ql("RippleElement"),ql("Color_"+d)]).append(`<div class="${ql("RippleWrap")}" id="${c}">
|
|
923
|
+
}`;EE=!1;CY={mixout:function(){return{dom:{css:rk,insertCss:n2}}},hooks:function(){return{beforeDOMElementCreation:function(){n2()},beforeI2svg:function(){n2()}}}},ou=tc||{};ou[nu]||(ou[nu]={});ou[nu].styles||(ou[nu].styles={});ou[nu].hooks||(ou[nu].hooks={});ou[nu].shims||(ou[nu].shims=[]);Xl=ou[nu],ak=[],wY=function r(){ga.removeEventListener("DOMContentLoaded",r),Zg=1,ak.map(function(a){return a()})},Zg=!1;lu&&(Zg=(ga.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ga.readyState),Zg||ga.addEventListener("DOMContentLoaded",wY));TY=function(a,i){return function(l,s,d,c){return a.call(i,l,s,d,c)}},o2=function(a,i,l,s){var d=Object.keys(a),c=d.length,h=s!==void 0?TY(i,s):i,p,_,b;for(l===void 0?(p=1,b=a[d[0]]):(p=0,b=l);p<c;p++)_=d[p],b=h(b,a[_],_,a);return b};wf=Xl.styles,RY=Xl.shims,DY=(Gg={},ln(Gg,va,Object.values($h[va])),ln(Gg,Pa,Object.values($h[Pa])),Gg),E2=null,nk={},ok={},ik={},lk={},sk={},AY=(qg={},ln(qg,va,Object.keys(Wh[va])),ln(qg,Pa,Object.keys(Wh[Pa])),qg);uk=function(){var a=function(d){return o2(wf,function(c,h,p){return c[p]=o2(h,d,{}),c},{})};nk=a(function(s,d,c){if(d[3]&&(s[d[3]]=c),d[2]){var h=d[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=c})}return s}),ok=a(function(s,d,c){if(s[c]=c,d[2]){var h=d[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=c})}return s}),sk=a(function(s,d,c){var h=d[2];return s[c]=c,h.forEach(function(p){s[p]=c}),s});var i="far"in wf||Tt.autoFetchSvg,l=o2(RY,function(s,d){var c=d[0],h=d[1],p=d[2];return h==="far"&&!i&&(h="fas"),typeof c=="string"&&(s.names[c]={prefix:h,iconName:p}),typeof c=="number"&&(s.unicodes[c.toString(16)]={prefix:h,iconName:p}),s},{names:{},unicodes:{}});ik=l.names,lk=l.unicodes,E2=r_(Tt.styleDefault,{family:Tt.familyDefault})};mY(function(r){E2=r_(r.styleDefault,{family:Tt.familyDefault})});uk();R2=function(){return{prefix:null,iconName:null,rest:[]}};DE=(Kg={},ln(Kg,va,Object.keys($h[va])),ln(Kg,Pa,Object.keys($h[Pa])),Kg);zY=function(){function r(){qW(this,r),this.definitions={}}return KW(r,[{key:"add",value:function(){for(var i=this,l=arguments.length,s=new Array(l),d=0;d<l;d++)s[d]=arguments[d];var c=s.reduce(this._pullDefinitions,{});Object.keys(c).forEach(function(h){i.definitions[h]=mt(mt({},i.definitions[h]||{}),c[h]),f2(h,c[h]);var p=$h[va][h];p&&f2(p,c[h]),uk()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(i,l){var s=l.prefix&&l.iconName&&l.icon?{0:l}:l;return Object.keys(s).map(function(d){var c=s[d],h=c.prefix,p=c.iconName,_=c.icon,b=_[2];i[h]||(i[h]={}),b.length>0&&b.forEach(function(S){typeof S=="string"&&(i[h][S]=_)}),i[h][p]=_}),i}}]),r}(),AE=[],xf={},Tf={},PY=Object.keys(Tf);dk=new zY,IY=function(){Tt.autoReplaceSvg=!1,Tt.observeMutations=!1,td("noAuto")},FY={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return lu?(td("beforeI2svg",a),iu("pseudoElements2svg",a),iu("i2svg",a)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=a.autoReplaceSvgRoot;Tt.autoReplaceSvg===!1&&(Tt.autoReplaceSvg=!0),Tt.observeMutations=!0,xY(function(){jY({autoReplaceSvgRoot:i}),td("watch",a)})}},HY={icon:function(a){if(a===null)return null;if(Qg(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:Zc(a.prefix,a.iconName)||a.iconName};if(Array.isArray(a)&&a.length===2){var i=a[1].indexOf("fa-")===0?a[1].slice(3):a[1],l=r_(a[0]);return{prefix:l,iconName:Zc(l,i)||i}}if(typeof a=="string"&&(a.indexOf("".concat(Tt.cssPrefix,"-"))>-1||a.match(lY))){var s=a_(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||rc(),iconName:Zc(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var d=rc();return{prefix:d,iconName:Zc(d,a)||a}}}},Do={noAuto:IY,config:Tt,dom:FY,parse:HY,library:dk,findIconDefinition:h2,toHtml:Jh},jY=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=a.autoReplaceSvgRoot,l=i===void 0?ga:i;(Object.keys(Xl.styles).length>0||Tt.autoFetchSvg)&&lu&&Tt.autoReplaceSvg&&Do.dom.i2svg({node:l})};i2=Xl.styles;YY={found:!1,width:512,height:512};LE=function(){},g2=Tt.measurePerformance&&jg&&jg.mark&&jg.measure?jg:{mark:LE,measure:LE},jh='FA "6.4.2"',GY=function(a){return g2.mark("".concat(jh," ").concat(a," begins")),function(){return fk(a)}},fk=function(a){g2.mark("".concat(jh," ").concat(a," ends")),g2.measure("".concat(jh," ").concat(a),"".concat(jh," ").concat(a," begins"),"".concat(jh," ").concat(a," ends"))},A2={begin:GY,end:fk},Xg=function(){};Jg={replace:function(a){var i=a[0];if(i.parentNode)if(a[1].forEach(function(s){i.parentNode.insertBefore(pk(s),i)}),i.getAttribute(ed)===null&&Tt.keepOriginalSource){var l=ga.createComment(ZY(i));i.parentNode.replaceChild(l,i)}else i.remove()},nest:function(a){var i=a[0],l=a[1];if(~x2(i).indexOf(Tt.replacementClass))return Jg.replace(a);var s=new RegExp("".concat(Tt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var d=l[0].attributes.class.split(" ").reduce(function(h,p){return p===Tt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=d.toSvg.join(" "),d.toNode.length===0?i.removeAttribute("class"):i.setAttribute("class",d.toNode.join(" "))}var c=l.map(function(h){return Jh(h)}).join(`
|
|
924
|
+
`);i.setAttribute(ed,""),i.innerHTML=c}};N2=!1;e_=null;o$=Xl.styles;ac=new Set;w2.map(function(r){ac.add("fa-".concat(r))});Object.keys(Wh[va]).map(ac.add.bind(ac));Object.keys(Wh[Pa]).map(ac.add.bind(ac));ac=Kh(ac);s$=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=i.transform,s=l===void 0?ys:l,d=i.symbol,c=d===void 0?!1:d,h=i.mask,p=h===void 0?null:h,_=i.maskId,b=_===void 0?null:_,S=i.title,T=S===void 0?null:S,w=i.titleId,k=w===void 0?null:w,D=i.classes,A=D===void 0?[]:D,q=i.attributes,I=q===void 0?{}:q,$=i.styles,F=$===void 0?{}:$;if(a){var W=a.prefix,P=a.iconName,oe=a.icon;return n_(mt({type:"icon"},a),function(){return td("beforeDOMElementCreation",{iconDefinition:a,params:i}),Tt.autoA11y&&(T?I["aria-labelledby"]="".concat(Tt.replacementClass,"-title-").concat(k||qh()):(I["aria-hidden"]="true",I.focusable="false")),D2({icons:{main:m2(oe),mask:p?m2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:W,iconName:P,transform:mt(mt({},ys),s),symbol:c,title:T,maskId:b,titleId:k,extra:{attributes:I,styles:F,classes:A}})})}},u$={mixout:function(){return{icon:l$(s$)}},hooks:function(){return{mutationObserverCallbacks:function(i){return i.treeCallback=ME,i.nodeCallback=i$,i}}},provides:function(a){a.i2svg=function(i){var l=i.node,s=l===void 0?ga:l,d=i.callback,c=d===void 0?function(){}:d;return ME(s,c)},a.generateSvgReplacementMutation=function(i,l){var s=l.iconName,d=l.title,c=l.titleId,h=l.prefix,p=l.transform,_=l.symbol,b=l.mask,S=l.maskId,T=l.extra;return new Promise(function(w,k){Promise.all([v2(s,h),b.iconName?v2(b.iconName,b.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(D){var A=b2(D,2),q=A[0],I=A[1];w([i,D2({icons:{main:q,mask:I},prefix:h,iconName:s,transform:p,symbol:_,maskId:S,title:d,titleId:c,extra:T,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(i){var l=i.children,s=i.attributes,d=i.main,c=i.transform,h=i.styles,p=t_(h);p.length>0&&(s.style=p);var _;return T2(c)&&(_=iu("generateAbstractTransformGrouping",{main:d,transform:c,containerWidth:d.width,iconWidth:d.width})),l.push(_||d.icon),{children:l,attributes:s}}}},c$={mixout:function(){return{layer:function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,d=s===void 0?[]:s;return n_({type:"layer"},function(){td("beforeDOMElementCreation",{assembler:i,params:l});var c=[];return i(function(h){Array.isArray(h)?h.map(function(p){c=c.concat(p.abstract)}):c=c.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(Tt.cssPrefix,"-layers")].concat(Kh(d)).join(" ")},children:c}]})}}}},d$={mixout:function(){return{counter:function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,d=s===void 0?null:s,c=l.classes,h=c===void 0?[]:c,p=l.attributes,_=p===void 0?{}:p,b=l.styles,S=b===void 0?{}:b;return n_({type:"counter",content:i},function(){return td("beforeDOMElementCreation",{content:i,params:l}),WY({content:i.toString(),title:d,extra:{attributes:_,styles:S,classes:["".concat(Tt.cssPrefix,"-layers-counter")].concat(Kh(h))}})})}}}},f$={mixout:function(){return{text:function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,d=s===void 0?ys:s,c=l.title,h=c===void 0?null:c,p=l.classes,_=p===void 0?[]:p,b=l.attributes,S=b===void 0?{}:b,T=l.styles,w=T===void 0?{}:T;return n_({type:"text",content:i},function(){return td("beforeDOMElementCreation",{content:i,params:l}),NE({content:i,transform:mt(mt({},ys),d),title:h,extra:{attributes:S,styles:w,classes:["".concat(Tt.cssPrefix,"-layers-text")].concat(Kh(_))}})})}}},provides:function(a){a.generateLayersText=function(i,l){var s=l.title,d=l.transform,c=l.extra,h=null,p=null;if(qE){var _=parseInt(getComputedStyle(i).fontSize,10),b=i.getBoundingClientRect();h=b.width/_,p=b.height/_}return Tt.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([i,NE({content:i.innerHTML,width:h,height:p,transform:d,title:s,extra:c,watchable:!0})])}}},p$=new RegExp('"',"ug"),IE=[1105920,1112319];g$={hooks:function(){return{mutationObserverCallbacks:function(i){return i.pseudoElementsCallback=HE,i}}},provides:function(a){a.pseudoElements2svg=function(i){var l=i.node,s=l===void 0?ga:l;Tt.searchPseudoElements&&HE(s)}}},jE=!1,_$={mixout:function(){return{dom:{unwatch:function(){mk(),jE=!0}}}},hooks:function(){return{bootstrap:function(){zE(p2("mutationObserverCallbacks",{}))},noAuto:function(){e$()},watch:function(i){var l=i.observeMutationsRoot;jE?_2():zE(p2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},UE=function(a){var i={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var d=s.toLowerCase().split("-"),c=d[0],h=d.slice(1).join("-");if(c&&h==="h")return l.flipX=!0,l;if(c&&h==="v")return l.flipY=!0,l;if(h=parseFloat(h),isNaN(h))return l;switch(c){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},i)},b$={mixout:function(){return{parse:{transform:function(i){return UE(i)}}}},hooks:function(){return{parseNodeAttributes:function(i,l){var s=l.getAttribute("data-fa-transform");return s&&(i.transform=UE(s)),i}}},provides:function(a){a.generateAbstractTransformGrouping=function(i){var l=i.main,s=i.transform,d=i.containerWidth,c=i.iconWidth,h={transform:"translate(".concat(d/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),_="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),b="rotate(".concat(s.rotate," 0 0)"),S={transform:"".concat(p," ").concat(_," ").concat(b)},T={transform:"translate(".concat(c/2*-1," -256)")},w={outer:h,inner:S,path:T};return{tag:"g",attributes:mt({},w.outer),children:[{tag:"g",attributes:mt({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:mt(mt({},l.icon.attributes),w.path)}]}]}}}},l2={x:0,y:0,width:"100%",height:"100%"};S$={hooks:function(){return{parseNodeAttributes:function(i,l){var s=l.getAttribute("data-fa-mask"),d=s?a_(s.split(" ").map(function(c){return c.trim()})):R2();return d.prefix||(d.prefix=rc()),i.mask=d,i.maskId=l.getAttribute("data-fa-mask-id"),i}}},provides:function(a){a.generateAbstractMask=function(i){var l=i.children,s=i.attributes,d=i.main,c=i.mask,h=i.maskId,p=i.transform,_=d.width,b=d.icon,S=c.width,T=c.icon,w=bY({transform:p,containerWidth:S,iconWidth:_}),k={tag:"rect",attributes:mt(mt({},l2),{},{fill:"white"})},D=b.children?{children:b.children.map(VE)}:{},A={tag:"g",attributes:mt({},w.inner),children:[VE(mt({tag:b.tag,attributes:mt(mt({},b.attributes),w.path)},D))]},q={tag:"g",attributes:mt({},w.outer),children:[A]},I="mask-".concat(h||qh()),$="clip-".concat(h||qh()),F={tag:"mask",attributes:mt(mt({},l2),{},{id:I,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,q]},W={tag:"defs",children:[{tag:"clipPath",attributes:{id:$},children:y$(T)},F]};return l.push(W,{tag:"rect",attributes:mt({fill:"currentColor","clip-path":"url(#".concat($,")"),mask:"url(#".concat(I,")")},l2)}),{children:l,attributes:s}}}},C$={provides:function(a){var i=!1;tc.matchMedia&&(i=tc.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},d={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:mt(mt({},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 c=mt(mt({},d),{},{attributeName:"opacity"}),h={tag:"circle",attributes:mt(mt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return i||h.children.push({tag:"animate",attributes:mt(mt({},d),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mt(mt({},c),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:mt(mt({},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:i?[]:[{tag:"animate",attributes:mt(mt({},c),{},{values:"1;0;0;0;0;1;"})}]}),i||l.push({tag:"path",attributes:mt(mt({},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:mt(mt({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},w$={hooks:function(){return{parseNodeAttributes:function(i,l){var s=l.getAttribute("data-fa-symbol"),d=s===null?!1:s===""?!0:s;return i.symbol=d,i}}}},x$=[CY,u$,c$,d$,f$,g$,_$,b$,S$,C$,w$];MY(x$,{mixoutsTo:Do});T$=Do.noAuto,E$=Do.config,k$=Do.library,R$=Do.dom,D$=Do.parse,A$=Do.findIconDefinition,N$=Do.toHtml,L$=Do.icon,B$=Do.layer,O$=Do.text,z$=Do.counter});var bk=qe(qr=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,_=r?Symbol.for("react.concurrent_mode"):60111,b=r?Symbol.for("react.forward_ref"):60112,S=r?Symbol.for("react.suspense"):60113,T=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,D=r?Symbol.for("react.block"):60121,A=r?Symbol.for("react.fundamental"):60117,q=r?Symbol.for("react.responder"):60118,I=r?Symbol.for("react.scope"):60119;function $(Ue){return typeof Ue=="string"||typeof Ue=="function"||Ue===l||Ue===_||Ue===d||Ue===s||Ue===S||Ue===T||typeof Ue=="object"&&Ue!==null&&(Ue.$$typeof===k||Ue.$$typeof===w||Ue.$$typeof===c||Ue.$$typeof===h||Ue.$$typeof===b||Ue.$$typeof===A||Ue.$$typeof===q||Ue.$$typeof===I||Ue.$$typeof===D)}function F(Ue){if(typeof Ue=="object"&&Ue!==null){var ar=Ue.$$typeof;switch(ar){case a:var ur=Ue.type;switch(ur){case p:case _:case l:case d:case s:case S:return ur;default:var cr=ur&&ur.$$typeof;switch(cr){case h:case b:case k:case w:case c:return cr;default:return ar}}case i:return ar}}}var W=p,P=_,oe=h,be=c,Q=a,he=b,le=l,Ce=k,V=w,re=i,ue=d,z=s,ee=S,te=!1;function se(Ue){return te||(te=!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.")),me(Ue)||F(Ue)===p}function me(Ue){return F(Ue)===_}function De(Ue){return F(Ue)===h}function Ae(Ue){return F(Ue)===c}function Oe(Ue){return typeof Ue=="object"&&Ue!==null&&Ue.$$typeof===a}function je(Ue){return F(Ue)===b}function Xe(Ue){return F(Ue)===l}function st(Ue){return F(Ue)===k}function Ot(Ue){return F(Ue)===w}function vt(Ue){return F(Ue)===i}function Kt(Ue){return F(Ue)===d}function nr(Ue){return F(Ue)===s}function or(Ue){return F(Ue)===S}qr.AsyncMode=W,qr.ConcurrentMode=P,qr.ContextConsumer=oe,qr.ContextProvider=be,qr.Element=Q,qr.ForwardRef=he,qr.Fragment=le,qr.Lazy=Ce,qr.Memo=V,qr.Portal=re,qr.Profiler=ue,qr.StrictMode=z,qr.Suspense=ee,qr.isAsyncMode=se,qr.isConcurrentMode=me,qr.isContextConsumer=De,qr.isContextProvider=Ae,qr.isElement=Oe,qr.isForwardRef=je,qr.isFragment=Xe,qr.isLazy=st,qr.isMemo=Ot,qr.isPortal=vt,qr.isProfiler=Kt,qr.isStrictMode=nr,qr.isSuspense=or,qr.isValidElementType=$,qr.typeOf=F})()});var L2=qe((xq,yk)=>{"use strict";yk.exports=bk()});var wk=qe((Tq,Ck)=>{"use strict";var Sk=Object.getOwnPropertySymbols,P$=Object.prototype.hasOwnProperty,M$=Object.prototype.propertyIsEnumerable;function I$(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function F$(){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={},i=0;i<10;i++)a["_"+String.fromCharCode(i)]=i;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(d){s[d]=d}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}Ck.exports=F$()?Object.assign:function(r,a){for(var i,l=I$(r),s,d=1;d<arguments.length;d++){i=Object(arguments[d]);for(var c in i)P$.call(i,c)&&(l[c]=i[c]);if(Sk){s=Sk(i);for(var h=0;h<s.length;h++)M$.call(i,s[h])&&(l[s[h]]=i[s[h]])}}return l}});var B2=qe((Eq,xk)=>{"use strict";var H$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";xk.exports=H$});var O2=qe((kq,Tk)=>{Tk.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Ak=qe((Rq,Dk)=>{"use strict";var z2=function(){};Ek=B2(),o_={},kk=O2(),z2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(i){}};var Ek,o_,kk;function Rk(r,a,i,l,s){for(var d in r)if(kk(r,d)){var c;try{if(typeof r[d]!="function"){var h=Error((l||"React class")+": "+i+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}c=r[d](a,d,l,i,null,Ek)}catch(_){c=_}if(c&&!(c instanceof Error)&&z2((l||"React class")+": type specification of "+i+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in o_)){o_[c.message]=!0;var p=s?s():"";z2("Failed "+i+" type: "+c.message+(p!=null?p:""))}}}Rk.resetWarningCache=function(){o_={}};Dk.exports=Rk});var Bk=qe((Dq,Lk)=>{"use strict";var j$=L2(),U$=wk(),Rf=B2(),P2=O2(),Nk=Ak(),Df=function(){};Df=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(i){}};function i_(){return null}Lk.exports=function(r,a){var i=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(V){var re=V&&(i&&V[i]||V[l]);if(typeof re=="function")return re}var d="<<anonymous>>",c={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:S(),arrayOf:T,element:w(),elementType:k(),instanceOf:D,node:$(),objectOf:q,oneOf:A,oneOfType:I,shape:W,exact:P};function h(V,re){return V===re?V!==0||1/V===1/re:V!==V&&re!==re}function p(V,re){this.message=V,this.data=re&&typeof re=="object"?re:{},this.stack=""}p.prototype=Error.prototype;function _(V){var re={},ue=0;function z(te,se,me,De,Ae,Oe,je){if(De=De||d,Oe=Oe||me,je!==Rf){if(a){var Xe=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 Xe.name="Invariant Violation",Xe}else if(typeof console!="undefined"){var st=De+":"+me;!re[st]&&ue<3&&(Df("You are manually calling a React.PropTypes validation function for the `"+Oe+"` prop on `"+De+"`. 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."),re[st]=!0,ue++)}}return se[me]==null?te?se[me]===null?new p("The "+Ae+" `"+Oe+"` is marked as required "+("in `"+De+"`, but its value is `null`.")):new p("The "+Ae+" `"+Oe+"` is marked as required in "+("`"+De+"`, but its value is `undefined`.")):null:V(se,me,De,Ae,Oe)}var ee=z.bind(null,!1);return ee.isRequired=z.bind(null,!0),ee}function b(V){function re(ue,z,ee,te,se,me){var De=ue[z],Ae=Q(De);if(Ae!==V){var Oe=he(De);return new p("Invalid "+te+" `"+se+"` of type "+("`"+Oe+"` supplied to `"+ee+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return _(re)}function S(){return _(i_)}function T(V){function re(ue,z,ee,te,se){if(typeof V!="function")return new p("Property `"+se+"` of component `"+ee+"` has invalid PropType notation inside arrayOf.");var me=ue[z];if(!Array.isArray(me)){var De=Q(me);return new p("Invalid "+te+" `"+se+"` of type "+("`"+De+"` supplied to `"+ee+"`, expected an array."))}for(var Ae=0;Ae<me.length;Ae++){var Oe=V(me,Ae,ee,te,se+"["+Ae+"]",Rf);if(Oe instanceof Error)return Oe}return null}return _(re)}function w(){function V(re,ue,z,ee,te){var se=re[ue];if(!r(se)){var me=Q(se);return new p("Invalid "+ee+" `"+te+"` of type "+("`"+me+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return _(V)}function k(){function V(re,ue,z,ee,te){var se=re[ue];if(!j$.isValidElementType(se)){var me=Q(se);return new p("Invalid "+ee+" `"+te+"` of type "+("`"+me+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return _(V)}function D(V){function re(ue,z,ee,te,se){if(!(ue[z]instanceof V)){var me=V.name||d,De=Ce(ue[z]);return new p("Invalid "+te+" `"+se+"` of type "+("`"+De+"` supplied to `"+ee+"`, expected ")+("instance of `"+me+"`."))}return null}return _(re)}function A(V){if(!Array.isArray(V))return arguments.length>1?Df("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])."):Df("Invalid argument supplied to oneOf, expected an array."),i_;function re(ue,z,ee,te,se){for(var me=ue[z],De=0;De<V.length;De++)if(h(me,V[De]))return null;var Ae=JSON.stringify(V,function(je,Xe){var st=he(Xe);return st==="symbol"?String(Xe):Xe});return new p("Invalid "+te+" `"+se+"` of value `"+String(me)+"` "+("supplied to `"+ee+"`, expected one of "+Ae+"."))}return _(re)}function q(V){function re(ue,z,ee,te,se){if(typeof V!="function")return new p("Property `"+se+"` of component `"+ee+"` has invalid PropType notation inside objectOf.");var me=ue[z],De=Q(me);if(De!=="object")return new p("Invalid "+te+" `"+se+"` of type "+("`"+De+"` supplied to `"+ee+"`, expected an object."));for(var Ae in me)if(P2(me,Ae)){var Oe=V(me,Ae,ee,te,se+"."+Ae,Rf);if(Oe instanceof Error)return Oe}return null}return _(re)}function I(V){if(!Array.isArray(V))return Df("Invalid argument supplied to oneOfType, expected an instance of array."),i_;for(var re=0;re<V.length;re++){var ue=V[re];if(typeof ue!="function")return Df("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+le(ue)+" at index "+re+"."),i_}function z(ee,te,se,me,De){for(var Ae=[],Oe=0;Oe<V.length;Oe++){var je=V[Oe],Xe=je(ee,te,se,me,De,Rf);if(Xe==null)return null;Xe.data&&P2(Xe.data,"expectedType")&&Ae.push(Xe.data.expectedType)}var st=Ae.length>0?", expected one of type ["+Ae.join(", ")+"]":"";return new p("Invalid "+me+" `"+De+"` supplied to "+("`"+se+"`"+st+"."))}return _(z)}function $(){function V(re,ue,z,ee,te){return oe(re[ue])?null:new p("Invalid "+ee+" `"+te+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return _(V)}function F(V,re,ue,z,ee){return new p((V||"React class")+": "+re+" type `"+ue+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ee+"`.")}function W(V){function re(ue,z,ee,te,se){var me=ue[z],De=Q(me);if(De!=="object")return new p("Invalid "+te+" `"+se+"` of type `"+De+"` "+("supplied to `"+ee+"`, expected `object`."));for(var Ae in V){var Oe=V[Ae];if(typeof Oe!="function")return F(ee,te,se,Ae,he(Oe));var je=Oe(me,Ae,ee,te,se+"."+Ae,Rf);if(je)return je}return null}return _(re)}function P(V){function re(ue,z,ee,te,se){var me=ue[z],De=Q(me);if(De!=="object")return new p("Invalid "+te+" `"+se+"` of type `"+De+"` "+("supplied to `"+ee+"`, expected `object`."));var Ae=U$({},ue[z],V);for(var Oe in Ae){var je=V[Oe];if(P2(V,Oe)&&typeof je!="function")return F(ee,te,se,Oe,he(je));if(!je)return new p("Invalid "+te+" `"+se+"` key `"+Oe+"` supplied to `"+ee+"`.\nBad object: "+JSON.stringify(ue[z],null," ")+`
|
|
925
|
+
Valid keys: `+JSON.stringify(Object.keys(V),null," "));var Xe=je(me,Oe,ee,te,se+"."+Oe,Rf);if(Xe)return Xe}return null}return _(re)}function oe(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(oe);if(V===null||r(V))return!0;var re=s(V);if(re){var ue=re.call(V),z;if(re!==V.entries){for(;!(z=ue.next()).done;)if(!oe(z.value))return!1}else for(;!(z=ue.next()).done;){var ee=z.value;if(ee&&!oe(ee[1]))return!1}}else return!1;return!0;default:return!1}}function be(V,re){return V==="symbol"?!0:re?re["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&re instanceof Symbol:!1}function Q(V){var re=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":be(re,V)?"symbol":re}function he(V){if(typeof V=="undefined"||V===null)return""+V;var re=Q(V);if(re==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return re}function le(V){var re=he(V);switch(re){case"array":case"object":return"an "+re;case"boolean":case"date":case"regexp":return"a "+re;default:return re}}function Ce(V){return!V.constructor||!V.constructor.name?d:V.constructor.name}return c.checkPropTypes=Nk,c.resetWarningCache=Nk.resetWarningCache,c.PropTypes=c,c}});var Mk=qe((Aq,Pk)=>{Ok=L2(),zk=!0,Pk.exports=Bk()(Ok.isElement,zk);var Ok,zk});var Fk=qe((l_,Ik)=>{(function(r,a){typeof l_=="object"&&typeof Ik!="undefined"?a(l_,(_k(),uV(gk)),Mk(),er()):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))})(l_,function(r,a,i,l){"use strict";function s(z){return z&&typeof z=="object"&&"default"in z?z:{default:z}}var d=s(i),c=s(l);function h(z,ee){var te=Object.keys(z);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(z);ee&&(se=se.filter(function(me){return Object.getOwnPropertyDescriptor(z,me).enumerable})),te.push.apply(te,se)}return te}function p(z){for(var ee=1;ee<arguments.length;ee++){var te=arguments[ee]!=null?arguments[ee]:{};ee%2?h(Object(te),!0).forEach(function(se){b(z,se,te[se])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(te)):h(Object(te)).forEach(function(se){Object.defineProperty(z,se,Object.getOwnPropertyDescriptor(te,se))})}return z}function _(z){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ee){return typeof ee}:function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee},_(z)}function b(z,ee,te){return ee in z?Object.defineProperty(z,ee,{value:te,enumerable:!0,configurable:!0,writable:!0}):z[ee]=te,z}function S(z,ee){if(z==null)return{};var te={},se=Object.keys(z),me,De;for(De=0;De<se.length;De++)me=se[De],!(ee.indexOf(me)>=0)&&(te[me]=z[me]);return te}function T(z,ee){if(z==null)return{};var te=S(z,ee),se,me;if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(z);for(me=0;me<De.length;me++)se=De[me],!(ee.indexOf(se)>=0)&&Object.prototype.propertyIsEnumerable.call(z,se)&&(te[se]=z[se])}return te}function w(z){return k(z)||D(z)||A(z)||I()}function k(z){if(Array.isArray(z))return q(z)}function D(z){if(typeof Symbol!="undefined"&&z[Symbol.iterator]!=null||z["@@iterator"]!=null)return Array.from(z)}function A(z,ee){if(z){if(typeof z=="string")return q(z,ee);var te=Object.prototype.toString.call(z).slice(8,-1);if(te==="Object"&&z.constructor&&(te=z.constructor.name),te==="Map"||te==="Set")return Array.from(z);if(te==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(te))return q(z,ee)}}function q(z,ee){(ee==null||ee>z.length)&&(ee=z.length);for(var te=0,se=new Array(ee);te<ee;te++)se[te]=z[te];return se}function I(){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 $(z){var ee,te=z.beat,se=z.fade,me=z.beatFade,De=z.bounce,Ae=z.shake,Oe=z.flash,je=z.spin,Xe=z.spinPulse,st=z.spinReverse,Ot=z.pulse,vt=z.fixedWidth,Kt=z.inverse,nr=z.border,or=z.listItem,Ue=z.flip,ar=z.size,ur=z.rotation,cr=z.pull,sr=(ee={"fa-beat":te,"fa-fade":se,"fa-beat-fade":me,"fa-bounce":De,"fa-shake":Ae,"fa-flash":Oe,"fa-spin":je,"fa-spin-reverse":st,"fa-spin-pulse":Xe,"fa-pulse":Ot,"fa-fw":vt,"fa-inverse":Kt,"fa-border":nr,"fa-li":or,"fa-flip":Ue===!0,"fa-flip-horizontal":Ue==="horizontal"||Ue==="both","fa-flip-vertical":Ue==="vertical"||Ue==="both"},b(ee,"fa-".concat(ar),typeof ar!="undefined"&&ar!==null),b(ee,"fa-rotate-".concat(ur),typeof ur!="undefined"&&ur!==null&&ur!==0),b(ee,"fa-pull-".concat(cr),typeof cr!="undefined"&&cr!==null),b(ee,"fa-swap-opacity",z.swapOpacity),ee);return Object.keys(sr).map(function(Er){return sr[Er]?Er:null}).filter(function(Er){return Er})}function F(z){return z=z-0,z===z}function W(z){return F(z)?z:(z=z.replace(/[\-_\s]+(.)?/g,function(ee,te){return te?te.toUpperCase():""}),z.substr(0,1).toLowerCase()+z.substr(1))}var P=["style"];function oe(z){return z.charAt(0).toUpperCase()+z.slice(1)}function be(z){return z.split(";").map(function(ee){return ee.trim()}).filter(function(ee){return ee}).reduce(function(ee,te){var se=te.indexOf(":"),me=W(te.slice(0,se)),De=te.slice(se+1).trim();return me.startsWith("webkit")?ee[oe(me)]=De:ee[me]=De,ee},{})}function Q(z,ee){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof ee=="string")return ee;var se=(ee.children||[]).map(function(je){return Q(z,je)}),me=Object.keys(ee.attributes||{}).reduce(function(je,Xe){var st=ee.attributes[Xe];switch(Xe){case"class":je.attrs.className=st,delete ee.attributes.class;break;case"style":je.attrs.style=be(st);break;default:Xe.indexOf("aria-")===0||Xe.indexOf("data-")===0?je.attrs[Xe.toLowerCase()]=st:je.attrs[W(Xe)]=st}return je},{attrs:{}}),De=te.style,Ae=De===void 0?{}:De,Oe=T(te,P);return me.attrs.style=p(p({},me.attrs.style),Ae),z.apply(void 0,[ee.tag,p(p({},me.attrs),Oe)].concat(w(se)))}var he=!1;try{he=!1}catch(z){}function le(){if(!he&&console&&typeof console.error=="function"){var z;(z=console).error.apply(z,arguments)}}function Ce(z){if(z&&_(z)==="object"&&z.prefix&&z.iconName&&z.icon)return z;if(a.parse.icon)return a.parse.icon(z);if(z===null)return null;if(z&&_(z)==="object"&&z.prefix&&z.iconName)return z;if(Array.isArray(z)&&z.length===2)return{prefix:z[0],iconName:z[1]};if(typeof z=="string")return{prefix:"fas",iconName:z}}function V(z,ee){return Array.isArray(ee)&&ee.length>0||!Array.isArray(ee)&&ee?b({},z,ee):{}}var re=c.default.forwardRef(function(z,ee){var te=z.icon,se=z.mask,me=z.symbol,De=z.className,Ae=z.title,Oe=z.titleId,je=z.maskId,Xe=Ce(te),st=V("classes",[].concat(w($(z)),w(De.split(" ")))),Ot=V("transform",typeof z.transform=="string"?a.parse.transform(z.transform):z.transform),vt=V("mask",Ce(se)),Kt=a.icon(Xe,p(p(p(p({},st),Ot),vt),{},{symbol:me,title:Ae,titleId:Oe,maskId:je}));if(!Kt)return le("Could not find icon",Xe),null;var nr=Kt.abstract,or={ref:ee};return Object.keys(z).forEach(function(Ue){re.defaultProps.hasOwnProperty(Ue)||(or[Ue]=z[Ue])}),ue(nr[0],or)});re.displayName="FontAwesomeIcon",re.propTypes={beat:d.default.bool,border:d.default.bool,beatFade:d.default.bool,bounce:d.default.bool,className:d.default.string,fade:d.default.bool,flash:d.default.bool,mask:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),maskId:d.default.string,fixedWidth:d.default.bool,inverse:d.default.bool,flip:d.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:d.default.oneOfType([d.default.object,d.default.array,d.default.string]),listItem:d.default.bool,pull:d.default.oneOf(["right","left"]),pulse:d.default.bool,rotation:d.default.oneOf([0,90,180,270]),shake:d.default.bool,size:d.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:d.default.bool,spinPulse:d.default.bool,spinReverse:d.default.bool,symbol:d.default.oneOfType([d.default.bool,d.default.string]),title:d.default.string,titleId:d.default.string,transform:d.default.oneOfType([d.default.string,d.default.object]),swapOpacity:d.default.bool},re.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 ue=Q.bind(null,c.default.createElement);r.FontAwesomeIcon=re,Object.defineProperty(r,"__esModule",{value:!0})})});var $k=qe(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var Hk="fas",jk="xmark",Uk=384,Vk=512,M2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],Wk="f00d",Yk="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";qo.definition={prefix:Hk,iconName:jk,icon:[Uk,Vk,M2,Wk,Yk]};qo.faXmark=qo.definition;qo.prefix=Hk;qo.iconName=jk;qo.width=Uk;qo.height=Vk;qo.ligatures=M2;qo.unicode=Wk;qo.svgPathData=Yk;qo.aliases=M2});var Gk=qe(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var oo=$k();Ko.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Ko.faTimes=Ko.definition;Ko.prefix=oo.prefix;Ko.iconName=oo.iconName;Ko.width=oo.width;Ko.height=oo.height;Ko.ligatures=oo.aliases;Ko.unicode=oo.unicode;Ko.svgPathData=oo.svgPathData;Ko.aliases=oo.aliases});var eR=qe(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var qk="fas",Kk="angle-right",Xk=320,Jk=512,I2=[8250],Qk="f105",Zk="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";Xo.definition={prefix:qk,iconName:Kk,icon:[Xk,Jk,I2,Qk,Zk]};Xo.faAngleRight=Xo.definition;Xo.prefix=qk;Xo.iconName=Kk;Xo.width=Xk;Xo.height=Jk;Xo.ligatures=I2;Xo.unicode=Qk;Xo.svgPathData=Zk;Xo.aliases=I2});var lR=qe(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var tR="fas",rR="angle-left",aR=320,nR=512,F2=[8249],oR="f104",iR="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";Jo.definition={prefix:tR,iconName:rR,icon:[aR,nR,F2,oR,iR]};Jo.faAngleLeft=Jo.definition;Jo.prefix=tR;Jo.iconName=rR;Jo.width=aR;Jo.height=nR;Jo.ligatures=F2;Jo.unicode=oR;Jo.svgPathData=iR;Jo.aliases=F2});var j2=qe(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var sR="fas",uR="angle-up",cR=448,dR=512,H2=[8963],fR="f106",pR="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z";Qo.definition={prefix:sR,iconName:uR,icon:[cR,dR,H2,fR,pR]};Qo.faAngleUp=Qo.definition;Qo.prefix=sR;Qo.iconName=uR;Qo.width=cR;Qo.height=dR;Qo.ligatures=H2;Qo.unicode=fR;Qo.svgPathData=pR;Qo.aliases=H2});var V2=qe(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var hR="fas",mR="angle-down",vR=448,gR=512,U2=[8964],_R="f107",bR="M201.4 342.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 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";Zo.definition={prefix:hR,iconName:mR,icon:[vR,gR,U2,_R,bR]};Zo.faAngleDown=Zo.definition;Zo.prefix=hR;Zo.iconName=mR;Zo.width=vR;Zo.height=gR;Zo.ligatures=U2;Zo.unicode=_R;Zo.svgPathData=bR;Zo.aliases=U2});var ER=qe(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var yR="fas",SR="chevron-left",CR=320,wR=512,W2=[9001],xR="f053",TR="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";ei.definition={prefix:yR,iconName:SR,icon:[CR,wR,W2,xR,TR]};ei.faChevronLeft=ei.definition;ei.prefix=yR;ei.iconName=SR;ei.width=CR;ei.height=wR;ei.ligatures=W2;ei.unicode=xR;ei.svgPathData=TR;ei.aliases=W2});var BR=qe(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var kR="fas",RR="chevron-right",DR=320,AR=512,Y2=[9002],NR="f054",LR="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";ti.definition={prefix:kR,iconName:RR,icon:[DR,AR,Y2,NR,LR]};ti.faChevronRight=ti.definition;ti.prefix=kR;ti.iconName=RR;ti.width=DR;ti.height=AR;ti.ligatures=Y2;ti.unicode=NR;ti.svgPathData=LR;ti.aliases=Y2});var HR=qe(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var OR="fas",zR="chevron-up",PR=512,MR=512,$2=[],IR="f077",FR="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";ri.definition={prefix:OR,iconName:zR,icon:[PR,MR,$2,IR,FR]};ri.faChevronUp=ri.definition;ri.prefix=OR;ri.iconName=zR;ri.width=PR;ri.height=MR;ri.ligatures=$2;ri.unicode=IR;ri.svgPathData=FR;ri.aliases=$2});var GR=qe(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var jR="fas",UR="chevron-down",VR=512,WR=512,G2=[],YR="f078",$R="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";ai.definition={prefix:jR,iconName:UR,icon:[VR,WR,G2,YR,$R]};ai.faChevronDown=ai.definition;ai.prefix=jR;ai.iconName=UR;ai.width=VR;ai.height=WR;ai.ligatures=G2;ai.unicode=YR;ai.svgPathData=$R;ai.aliases=G2});var eD=qe(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var qR="fas",KR="caret-left",XR=256,JR=512,q2=[],QR="f0d9",ZR="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";ni.definition={prefix:qR,iconName:KR,icon:[XR,JR,q2,QR,ZR]};ni.faCaretLeft=ni.definition;ni.prefix=qR;ni.iconName=KR;ni.width=XR;ni.height=JR;ni.ligatures=q2;ni.unicode=QR;ni.svgPathData=ZR;ni.aliases=q2});var lD=qe(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var tD="fas",rD="caret-right",aD=256,nD=512,K2=[],oD="f0da",iD="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";oi.definition={prefix:tD,iconName:rD,icon:[aD,nD,K2,oD,iD]};oi.faCaretRight=oi.definition;oi.prefix=tD;oi.iconName=rD;oi.width=aD;oi.height=nD;oi.ligatures=K2;oi.unicode=oD;oi.svgPathData=iD;oi.aliases=K2});var hD=qe(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var sD="fas",uD="caret-up",cD=320,dD=512,X2=[],fD="f0d8",pD="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.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z";ii.definition={prefix:sD,iconName:uD,icon:[cD,dD,X2,fD,pD]};ii.faCaretUp=ii.definition;ii.prefix=sD;ii.iconName=uD;ii.width=cD;ii.height=dD;ii.ligatures=X2;ii.unicode=fD;ii.svgPathData=pD;ii.aliases=X2});var SD=qe(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var mD="fas",vD="caret-down",gD=320,_D=512,J2=[],bD="f0d7",yD="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";li.definition={prefix:mD,iconName:vD,icon:[gD,_D,J2,bD,yD]};li.faCaretDown=li.definition;li.prefix=mD;li.iconName=vD;li.width=gD;li.height=_D;li.ligatures=J2;li.unicode=bD;li.svgPathData=yD;li.aliases=J2});var RD=qe(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var CD="fas",wD="arrow-left",xD=448,TD=512,Q2=[8592],ED="f060",kD="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";si.definition={prefix:CD,iconName:wD,icon:[xD,TD,Q2,ED,kD]};si.faArrowLeft=si.definition;si.prefix=CD;si.iconName=wD;si.width=xD;si.height=TD;si.ligatures=Q2;si.unicode=ED;si.svgPathData=kD;si.aliases=Q2});var eS=qe(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var DD="fas",AD="arrow-right",ND=448,LD=512,Z2=[8594],BD="f061",OD="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";ui.definition={prefix:DD,iconName:AD,icon:[ND,LD,Z2,BD,OD]};ui.faArrowRight=ui.definition;ui.prefix=DD;ui.iconName=AD;ui.width=ND;ui.height=LD;ui.ligatures=Z2;ui.unicode=BD;ui.svgPathData=OD;ui.aliases=Z2});var rS=qe(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var zD="fas",PD="arrow-up",MD=384,ID=512,tS=[8593],FD="f062",HD="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.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z";ci.definition={prefix:zD,iconName:PD,icon:[MD,ID,tS,FD,HD]};ci.faArrowUp=ci.definition;ci.prefix=zD;ci.iconName=PD;ci.width=MD;ci.height=ID;ci.ligatures=tS;ci.unicode=FD;ci.svgPathData=HD;ci.aliases=tS});var nS=qe(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var jD="fas",UD="arrow-down",VD=384,WD=512,aS=[8595],YD="f063",$D="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";di.definition={prefix:jD,iconName:UD,icon:[VD,WD,aS,YD,$D]};di.faArrowDown=di.definition;di.prefix=jD;di.iconName=UD;di.width=VD;di.height=WD;di.ligatures=aS;di.unicode=YD;di.svgPathData=$D;di.aliases=aS});var ZD=qe(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var GD="fas",qD="rotate",KD=512,XD=512,oS=[128260,"sync-alt"],JD="f2f1",QD="M142.9 142.9c62.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.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-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 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z";fi.definition={prefix:GD,iconName:qD,icon:[KD,XD,oS,JD,QD]};fi.faRotate=fi.definition;fi.prefix=GD;fi.iconName=qD;fi.width=KD;fi.height=XD;fi.ligatures=oS;fi.unicode=JD;fi.svgPathData=QD;fi.aliases=oS});var i6=qe(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var e6="fas",t6="arrow-rotate-right",r6=512,a6=512,iS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],n6="f01e",o6="M386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H464c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.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";pi.definition={prefix:e6,iconName:t6,icon:[r6,a6,iS,n6,o6]};pi.faArrowRotateRight=pi.definition;pi.prefix=e6;pi.iconName=t6;pi.width=r6;pi.height=a6;pi.ligatures=iS;pi.unicode=n6;pi.svgPathData=o6;pi.aliases=iS});var l6=qe(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var io=i6();hi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};hi.faRedo=hi.definition;hi.prefix=io.prefix;hi.iconName=io.iconName;hi.width=io.width;hi.height=io.height;hi.ligatures=io.aliases;hi.unicode=io.unicode;hi.svgPathData=io.svgPathData;hi.aliases=io.aliases});var h6=qe(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var s6="fas",u6="check",c6=448,d6=512,lS=[10003,10004],f6="f00c",p6="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";mi.definition={prefix:s6,iconName:u6,icon:[c6,d6,lS,f6,p6]};mi.faCheck=mi.definition;mi.prefix=s6;mi.iconName=u6;mi.width=c6;mi.height=d6;mi.ligatures=lS;mi.unicode=f6;mi.svgPathData=p6;mi.aliases=lS});var S6=qe(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var m6="fas",v6="question",g6=320,_6=512,sS=[10067,10068,61736],b6="3f",y6="M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.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 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.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";vi.definition={prefix:m6,iconName:v6,icon:[g6,_6,sS,b6,y6]};vi.faQuestion=vi.definition;vi.prefix=m6;vi.iconName=v6;vi.width=g6;vi.height=_6;vi.ligatures=sS;vi.unicode=b6;vi.svgPathData=y6;vi.aliases=sS});var R6=qe(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var C6="fas",w6="exclamation",x6=64,T6=512,uS=[10069,10071,61738],E6="21",k6="M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V320c0 17.7 14.3 32 32 32s32-14.3 32-32V64zM32 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";gi.definition={prefix:C6,iconName:w6,icon:[x6,T6,uS,E6,k6]};gi.faExclamation=gi.definition;gi.prefix=C6;gi.iconName=w6;gi.width=x6;gi.height=T6;gi.ligatures=uS;gi.unicode=E6;gi.svgPathData=k6;gi.aliases=uS});var z6=qe(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var D6="fas",A6="triangle-exclamation",N6=512,L6=512,cS=[9888,"exclamation-triangle","warning"],B6="f071",O6="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 480H40c-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 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";_i.definition={prefix:D6,iconName:A6,icon:[N6,L6,cS,B6,O6]};_i.faTriangleExclamation=_i.definition;_i.prefix=D6;_i.iconName=A6;_i.width=N6;_i.height=L6;_i.ligatures=cS;_i.unicode=B6;_i.svgPathData=O6;_i.aliases=cS});var P6=qe(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var lo=z6();bi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};bi.faExclamationTriangle=bi.definition;bi.prefix=lo.prefix;bi.iconName=lo.iconName;bi.width=lo.width;bi.height=lo.height;bi.ligatures=lo.aliases;bi.unicode=lo.unicode;bi.svgPathData=lo.svgPathData;bi.aliases=lo.aliases});var V6=qe(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var M6="fas",I6="house",F6=576,H6=512,dS=[127968,63498,63500,"home","home-alt","home-lg-alt"],j6="f015",U6="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-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";yi.definition={prefix:M6,iconName:I6,icon:[F6,H6,dS,j6,U6]};yi.faHouse=yi.definition;yi.prefix=M6;yi.iconName=I6;yi.width=F6;yi.height=H6;yi.ligatures=dS;yi.unicode=j6;yi.svgPathData=U6;yi.aliases=dS});var W6=qe(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var so=V6();Si.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Si.faHome=Si.definition;Si.prefix=so.prefix;Si.iconName=so.iconName;Si.width=so.width;Si.height=so.height;Si.ligatures=so.aliases;Si.unicode=so.unicode;Si.svgPathData=so.svgPathData;Si.aliases=so.aliases});var J6=qe(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var Y6="fas",$6="share",G6=512,q6=512,fS=["mail-forward"],K6="f064",X6="M307 34.8c-11.5 5.1-19 16.6-19 29.2v64H176C78.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-96h96v64c0 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";Ci.definition={prefix:Y6,iconName:$6,icon:[G6,q6,fS,K6,X6]};Ci.faShare=Ci.definition;Ci.prefix=Y6;Ci.iconName=$6;Ci.width=G6;Ci.height=q6;Ci.ligatures=fS;Ci.unicode=K6;Ci.svgPathData=X6;Ci.aliases=fS});var n8=qe(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var Q6="fas",Z6="magnifying-glass",e8=512,t8=512,pS=[128269,"search"],r8="f002",a8="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";wi.definition={prefix:Q6,iconName:Z6,icon:[e8,t8,pS,r8,a8]};wi.faMagnifyingGlass=wi.definition;wi.prefix=Q6;wi.iconName=Z6;wi.width=e8;wi.height=t8;wi.ligatures=pS;wi.unicode=r8;wi.svgPathData=a8;wi.aliases=pS});var o8=qe(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var uo=n8();xi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};xi.faSearch=xi.definition;xi.prefix=uo.prefix;xi.iconName=uo.iconName;xi.width=uo.width;xi.height=uo.height;xi.ligatures=uo.aliases;xi.unicode=uo.unicode;xi.svgPathData=uo.svgPathData;xi.aliases=uo.aliases});var f8=qe(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var i8="fas",l8="yen-sign",s8=320,u8=512,hS=[165,"cny","jpy","rmb","yen"],c8="f157",d8="M58.6 46.2C48.8 31.5 29 27.6 14.3 37.4S-4.4 67 5.4 81.7L100.2 224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v32H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v64c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H192V288h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H219.8L314.6 81.7c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.2z";Ti.definition={prefix:i8,iconName:l8,icon:[s8,u8,hS,c8,d8]};Ti.faYenSign=Ti.definition;Ti.prefix=i8;Ti.iconName=l8;Ti.width=s8;Ti.height=u8;Ti.ligatures=hS;Ti.unicode=c8;Ti.svgPathData=d8;Ti.aliases=hS});var b8=qe(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var p8="fas",h8="pen",m8=512,v8=512,mS=[128394],g8="f304",_8="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";Ei.definition={prefix:p8,iconName:h8,icon:[m8,v8,mS,g8,_8]};Ei.faPen=Ei.definition;Ei.prefix=p8;Ei.iconName=h8;Ei.width=m8;Ei.height=v8;Ei.ligatures=mS;Ei.unicode=g8;Ei.svgPathData=_8;Ei.aliases=mS});var E8=qe(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var y8="fas",S8="bars",C8=448,w8=512,vS=["navicon"],x8="f0c9",T8="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";ki.definition={prefix:y8,iconName:S8,icon:[C8,w8,vS,x8,T8]};ki.faBars=ki.definition;ki.prefix=y8;ki.iconName=S8;ki.width=C8;ki.height=w8;ki.ligatures=vS;ki.unicode=x8;ki.svgPathData=T8;ki.aliases=vS});var B8=qe(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var k8="fas",R8="download",D8=512,A8=512,gS=[],N8="f019",L8="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-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.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";Ri.definition={prefix:k8,iconName:R8,icon:[D8,A8,gS,N8,L8]};Ri.faDownload=Ri.definition;Ri.prefix=k8;Ri.iconName=R8;Ri.width=D8;Ri.height=A8;Ri.ligatures=gS;Ri.unicode=N8;Ri.svgPathData=L8;Ri.aliases=gS});var H8=qe(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var O8="fas",z8="link",P8=640,M8=512,_S=[128279,"chain"],I8="f0c1",F8="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";Di.definition={prefix:O8,iconName:z8,icon:[P8,M8,_S,I8,F8]};Di.faLink=Di.definition;Di.prefix=O8;Di.iconName=z8;Di.width=P8;Di.height=M8;Di.ligatures=_S;Di.unicode=I8;Di.svgPathData=F8;Di.aliases=_S});var G8=qe(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var j8="fas",U8="link-slash",V8=640,W8=512,bS=["chain-broken","chain-slash","unlink"],Y8="f127",$8="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 162zM116.6 187.9L60.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.9zM220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3L220.9 270z";Ai.definition={prefix:j8,iconName:U8,icon:[V8,W8,bS,Y8,$8]};Ai.faLinkSlash=Ai.definition;Ai.prefix=j8;Ai.iconName=U8;Ai.width=V8;Ai.height=W8;Ai.ligatures=bS;Ai.unicode=Y8;Ai.svgPathData=$8;Ai.aliases=bS});var eA=qe(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var q8="fas",K8="up-right-from-square",X8=512,J8=512,yS=["external-link-alt"],Q8="f35d",Z8="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.6V32c0-17.7-14.3-32-32-32H352zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z";Ni.definition={prefix:q8,iconName:K8,icon:[X8,J8,yS,Q8,Z8]};Ni.faUpRightFromSquare=Ni.definition;Ni.prefix=q8;Ni.iconName=K8;Ni.width=X8;Ni.height=J8;Ni.ligatures=yS;Ni.unicode=Q8;Ni.svgPathData=Z8;Ni.aliases=yS});var tA=qe(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var co=eA();Li.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Li.faExternalLinkAlt=Li.definition;Li.prefix=co.prefix;Li.iconName=co.iconName;Li.width=co.width;Li.height=co.height;Li.ligatures=co.aliases;Li.unicode=co.unicode;Li.svgPathData=co.svgPathData;Li.aliases=co.aliases});var sA=qe(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var rA="fas",aA="gear",nA=512,oA=512,SS=[9881,"cog"],iA="f013",lA="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";Bi.definition={prefix:rA,iconName:aA,icon:[nA,oA,SS,iA,lA]};Bi.faGear=Bi.definition;Bi.prefix=rA;Bi.iconName=aA;Bi.width=nA;Bi.height=oA;Bi.ligatures=SS;Bi.unicode=iA;Bi.svgPathData=lA;Bi.aliases=SS});var mA=qe(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var uA="fas",cA="plus",dA=448,fA=512,CS=[10133,61543,"add"],pA="2b",hA="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z";Oi.definition={prefix:uA,iconName:cA,icon:[dA,fA,CS,pA,hA]};Oi.faPlus=Oi.definition;Oi.prefix=uA;Oi.iconName=cA;Oi.width=dA;Oi.height=fA;Oi.ligatures=CS;Oi.unicode=pA;Oi.svgPathData=hA;Oi.aliases=CS});var CA=qe(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var vA="fas",gA="minus",_A=448,bA=512,wS=[8211,8722,10134,"subtract"],yA="f068",SA="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";zi.definition={prefix:vA,iconName:gA,icon:[_A,bA,wS,yA,SA]};zi.faMinus=zi.definition;zi.prefix=vA;zi.iconName=gA;zi.width=_A;zi.height=bA;zi.ligatures=wS;zi.unicode=yA;zi.svgPathData=SA;zi.aliases=wS});var DA=qe(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var wA="fas",xA="ellipsis",TA=448,EA=512,xS=["ellipsis-h"],kA="f141",RA="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z";Pi.definition={prefix:wA,iconName:xA,icon:[TA,EA,xS,kA,RA]};Pi.faEllipsis=Pi.definition;Pi.prefix=wA;Pi.iconName=xA;Pi.width=TA;Pi.height=EA;Pi.ligatures=xS;Pi.unicode=kA;Pi.svgPathData=RA;Pi.aliases=xS});var AA=qe(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var fo=DA();Mi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Mi.faEllipsisH=Mi.definition;Mi.prefix=fo.prefix;Mi.iconName=fo.iconName;Mi.width=fo.width;Mi.height=fo.height;Mi.ligatures=fo.aliases;Mi.unicode=fo.unicode;Mi.svgPathData=fo.svgPathData;Mi.aliases=fo.aliases});var MA=qe(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var NA="fas",LA="ellipsis-vertical",BA=128,OA=512,TS=["ellipsis-v"],zA="f142",PA="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";Ii.definition={prefix:NA,iconName:LA,icon:[BA,OA,TS,zA,PA]};Ii.faEllipsisVertical=Ii.definition;Ii.prefix=NA;Ii.iconName=LA;Ii.width=BA;Ii.height=OA;Ii.ligatures=TS;Ii.unicode=zA;Ii.svgPathData=PA;Ii.aliases=TS});var IA=qe(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var po=MA();Fi.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};Fi.faEllipsisV=Fi.definition;Fi.prefix=po.prefix;Fi.iconName=po.iconName;Fi.width=po.width;Fi.height=po.height;Fi.ligatures=po.aliases;Fi.unicode=po.unicode;Fi.svgPathData=po.svgPathData;Fi.aliases=po.aliases});var YA=qe(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var FA="fas",HA="star",jA=576,UA=512,ES=[11088,61446],VA="f005",WA="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";Hi.definition={prefix:FA,iconName:HA,icon:[jA,UA,ES,VA,WA]};Hi.faStar=Hi.definition;Hi.prefix=FA;Hi.iconName=HA;Hi.width=jA;Hi.height=UA;Hi.ligatures=ES;Hi.unicode=VA;Hi.svgPathData=WA;Hi.aliases=ES});var QA=qe(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var $A="fas",GA="paper-plane",qA=512,KA=512,kS=[61913],XA="f1d8",JA="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 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";ji.definition={prefix:$A,iconName:GA,icon:[qA,KA,kS,XA,JA]};ji.faPaperPlane=ji.definition;ji.prefix=$A;ji.iconName=GA;ji.width=qA;ji.height=KA;ji.ligatures=kS;ji.unicode=XA;ji.svgPathData=JA;ji.aliases=kS});var oN=qe(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var ZA="fas",eN="heart",tN=512,rN=512,RS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],aN="f004",nN="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";Ui.definition={prefix:ZA,iconName:eN,icon:[tN,rN,RS,aN,nN]};Ui.faHeart=Ui.definition;Ui.prefix=ZA;Ui.iconName=eN;Ui.width=tN;Ui.height=rN;Ui.ligatures=RS;Ui.unicode=aN;Ui.svgPathData=nN;Ui.aliases=RS});var fN=qe(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var iN="far",lN="user",sN=448,uN=512,DS=[128100,62144],cN="f007",dN="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";Vi.definition={prefix:iN,iconName:lN,icon:[sN,uN,DS,cN,dN]};Vi.faUser=Vi.definition;Vi.prefix=iN;Vi.iconName=lN;Vi.width=sN;Vi.height=uN;Vi.ligatures=DS;Vi.unicode=cN;Vi.svgPathData=dN;Vi.aliases=DS});var bN=qe(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var pN="far",hN="circle-check",mN=512,vN=512,AS=[61533,"check-circle"],gN="f058",_N="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";Wi.definition={prefix:pN,iconName:hN,icon:[mN,vN,AS,gN,_N]};Wi.faCircleCheck=Wi.definition;Wi.prefix=pN;Wi.iconName=hN;Wi.width=mN;Wi.height=vN;Wi.ligatures=AS;Wi.unicode=gN;Wi.svgPathData=_N;Wi.aliases=AS});var yN=qe(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var ho=bN();Yi.definition={prefix:ho.prefix,iconName:ho.iconName,icon:[ho.width,ho.height,ho.aliases,ho.unicode,ho.svgPathData]};Yi.faCheckCircle=Yi.definition;Yi.prefix=ho.prefix;Yi.iconName=ho.iconName;Yi.width=ho.width;Yi.height=ho.height;Yi.ligatures=ho.aliases;Yi.unicode=ho.unicode;Yi.svgPathData=ho.svgPathData;Yi.aliases=ho.aliases});var kN=qe($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var SN="far",CN="circle-question",wN=512,xN=512,NS=[62108,"question-circle"],TN="f059",EN="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";$i.definition={prefix:SN,iconName:CN,icon:[wN,xN,NS,TN,EN]};$i.faCircleQuestion=$i.definition;$i.prefix=SN;$i.iconName=CN;$i.width=wN;$i.height=xN;$i.ligatures=NS;$i.unicode=TN;$i.svgPathData=EN;$i.aliases=NS});var RN=qe(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var mo=kN();Gi.definition={prefix:mo.prefix,iconName:mo.iconName,icon:[mo.width,mo.height,mo.aliases,mo.unicode,mo.svgPathData]};Gi.faQuestionCircle=Gi.definition;Gi.prefix=mo.prefix;Gi.iconName=mo.iconName;Gi.width=mo.width;Gi.height=mo.height;Gi.ligatures=mo.aliases;Gi.unicode=mo.unicode;Gi.svgPathData=mo.svgPathData;Gi.aliases=mo.aliases});var zN=qe(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var DN="far",AN="pen-to-square",NN=512,LN=512,LS=["edit"],BN="f044",ON="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";qi.definition={prefix:DN,iconName:AN,icon:[NN,LN,LS,BN,ON]};qi.faPenToSquare=qi.definition;qi.prefix=DN;qi.iconName=AN;qi.width=NN;qi.height=LN;qi.ligatures=LS;qi.unicode=BN;qi.svgPathData=ON;qi.aliases=LS});var PN=qe(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var vo=zN();Ki.definition={prefix:vo.prefix,iconName:vo.iconName,icon:[vo.width,vo.height,vo.aliases,vo.unicode,vo.svgPathData]};Ki.faEdit=Ki.definition;Ki.prefix=vo.prefix;Ki.iconName=vo.iconName;Ki.width=vo.width;Ki.height=vo.height;Ki.ligatures=vo.aliases;Ki.unicode=vo.unicode;Ki.svgPathData=vo.svgPathData;Ki.aliases=vo.aliases});var VN=qe(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var MN="far",IN="copy",FN=448,HN=512,BS=[],jN="f0c5",UN="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";Xi.definition={prefix:MN,iconName:IN,icon:[FN,HN,BS,jN,UN]};Xi.faCopy=Xi.definition;Xi.prefix=MN;Xi.iconName=IN;Xi.width=FN;Xi.height=HN;Xi.ligatures=BS;Xi.unicode=jN;Xi.svgPathData=UN;Xi.aliases=BS});var XN=qe(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var WN="far",YN="file",$N=384,GN=512,OS=[128196,128459,61462],qN="f15b",KN="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z";Ji.definition={prefix:WN,iconName:YN,icon:[$N,GN,OS,qN,KN]};Ji.faFile=Ji.definition;Ji.prefix=WN;Ji.iconName=YN;Ji.width=$N;Ji.height=GN;Ji.ligatures=OS;Ji.unicode=qN;Ji.svgPathData=KN;Ji.aliases=OS});var aL=qe(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var JN="far",QN="trash-can",ZN=448,eL=512,zS=[61460,"trash-alt"],tL="f2ed",rL="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";Qi.definition={prefix:JN,iconName:QN,icon:[ZN,eL,zS,tL,rL]};Qi.faTrashCan=Qi.definition;Qi.prefix=JN;Qi.iconName=QN;Qi.width=ZN;Qi.height=eL;Qi.ligatures=zS;Qi.unicode=tL;Qi.svgPathData=rL;Qi.aliases=zS});var nL=qe(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var go=aL();Zi.definition={prefix:go.prefix,iconName:go.iconName,icon:[go.width,go.height,go.aliases,go.unicode,go.svgPathData]};Zi.faTrashAlt=Zi.definition;Zi.prefix=go.prefix;Zi.iconName=go.iconName;Zi.width=go.width;Zi.height=go.height;Zi.ligatures=go.aliases;Zi.unicode=go.unicode;Zi.svgPathData=go.svgPathData;Zi.aliases=go.aliases});var dL=qe(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});var oL="far",iL="image",lL=512,sL=512,PS=[],uL="f03e",cL="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";el.definition={prefix:oL,iconName:iL,icon:[lL,sL,PS,uL,cL]};el.faImage=el.definition;el.prefix=oL;el.iconName=iL;el.width=lL;el.height=sL;el.ligatures=PS;el.unicode=uL;el.svgPathData=cL;el.aliases=PS});var yB=qe(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var hB="fas",mB="eye",vB=576,gB=512,US=[128065],_B="f06e",bB="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:hB,iconName:mB,icon:[vB,gB,US,_B,bB]};tl.faEye=tl.definition;tl.prefix=hB;tl.iconName=mB;tl.width=vB;tl.height=gB;tl.ligatures=US;tl.unicode=_B;tl.svgPathData=bB;tl.aliases=US});var BB=qe(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var kB="fas",RB="clock",DB=512,AB=512,KS=[128339,"clock-four"],NB="f017",LB="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 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.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z";rl.definition={prefix:kB,iconName:RB,icon:[DB,AB,KS,NB,LB]};rl.faClock=rl.definition;rl.prefix=kB;rl.iconName=RB;rl.width=DB;rl.height=AB;rl.ligatures=KS;rl.unicode=NB;rl.svgPathData=LB;rl.aliases=KS});var HB=qe(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var OB="fas",zB="calendar-days",PB=448,MB=512,XS=["calendar-alt"],IB="f073",FB="M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z";al.definition={prefix:OB,iconName:zB,icon:[PB,MB,XS,IB,FB]};al.faCalendarDays=al.definition;al.prefix=OB;al.iconName=zB;al.width=PB;al.height=MB;al.ligatures=XS;al.unicode=IB;al.svgPathData=FB;al.aliases=XS});var jB=qe(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var _o=HB();nl.definition={prefix:_o.prefix,iconName:_o.iconName,icon:[_o.width,_o.height,_o.aliases,_o.unicode,_o.svgPathData]};nl.faCalendarAlt=nl.definition;nl.prefix=_o.prefix;nl.iconName=_o.iconName;nl.width=_o.width;nl.height=_o.height;nl.ligatures=_o.aliases;nl.unicode=_o.unicode;nl.svgPathData=_o.svgPathData;nl.aliases=_o.aliases});var sO=qe(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var rO="fas",aO="cloud-arrow-up",nO=640,oO=512,n3=[62338,"cloud-upload","cloud-upload-alt"],iO="f0ee",lO="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 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 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:rO,iconName:aO,icon:[nO,oO,n3,iO,lO]};ol.faCloudArrowUp=ol.definition;ol.prefix=rO;ol.iconName=aO;ol.width=nO;ol.height=oO;ol.ligatures=n3;ol.unicode=iO;ol.svgPathData=lO;ol.aliases=n3});var S3=qe(()=>{"use strict"});var IO=qe(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var LO="fas",BO="grip-vertical",OO=320,zO=512,x3=[],PO="f58e",MO="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:LO,iconName:BO,icon:[OO,zO,x3,PO,MO]};sl.faGripVertical=sl.definition;sl.prefix=LO;sl.iconName=BO;sl.width=OO;sl.height=zO;sl.ligatures=x3;sl.unicode=PO;sl.svgPathData=MO;sl.aliases=x3});var $O=qe(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var HO="fas",jO="filter",UO=512,VO=512,k3=[],WO="f0b0",YO="M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 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.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z";ul.definition={prefix:HO,iconName:jO,icon:[UO,VO,k3,WO,YO]};ul.faFilter=ul.definition;ul.prefix=HO;ul.iconName=jO;ul.width=UO;ul.height=VO;ul.ligatures=k3;ul.unicode=WO;ul.svgPathData=YO;ul.aliases=k3});var az=qe(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var JO="fas",QO="palette",ZO=512,ez=512,R3=[127912],tz="f53f",rz="M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-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:JO,iconName:QO,icon:[ZO,ez,R3,tz,rz]};cl.faPalette=cl.definition;cl.prefix=JO;cl.iconName=QO;cl.width=ZO;cl.height=ez;cl.ligatures=R3;cl.unicode=tz;cl.svgPathData=rz;cl.aliases=R3});var cz=qe(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var nz="fas",oz="bars-staggered",iz=512,lz=512,D3=["reorder","stream"],sz="f550",uz="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";dl.definition={prefix:nz,iconName:oz,icon:[iz,lz,D3,sz,uz]};dl.faBarsStaggered=dl.definition;dl.prefix=nz;dl.iconName=oz;dl.width=iz;dl.height=lz;dl.ligatures=D3;dl.unicode=sz;dl.svgPathData=uz;dl.aliases=D3});var gz=qe(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var dz="fas",fz="rotate-left",pz=512,hz=512,A3=["rotate-back","rotate-backward","undo-alt"],mz="f2ea",vz="M48.5 224H40c-13.3 0-24-10.7-24-24V72c0-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.8H48.5z";fl.definition={prefix:dz,iconName:fz,icon:[pz,hz,A3,mz,vz]};fl.faRotateLeft=fl.definition;fl.prefix=dz;fl.iconName=fz;fl.width=pz;fl.height=hz;fl.ligatures=A3;fl.unicode=mz;fl.svgPathData=vz;fl.aliases=A3});var xz=qe(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var _z="fas",bz="rotate-right",yz=512,Sz=512,N3=["redo-alt","rotate-forward"],Cz="f2f9",wz="M463.5 224H472c13.3 0 24-10.7 24-24V72c0-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.8H463.5z";pl.definition={prefix:_z,iconName:bz,icon:[yz,Sz,N3,Cz,wz]};pl.faRotateRight=pl.definition;pl.prefix=_z;pl.iconName=bz;pl.width=yz;pl.height=Sz;pl.ligatures=N3;pl.unicode=Cz;pl.svgPathData=wz;pl.aliases=N3});var Bz=K(QT()),Rs=K(K5()),Oz=K(er()),D_=K(rr());var bn={};Gc(bn,{$$fromRoot:()=>lt,Accordion:()=>Hf,Box:()=>E,Button:()=>ie,ColorObjects:()=>Ph,Column:()=>_t,Config:()=>it,Cropper:()=>k_,DarkmodeColors:()=>dE,DesignBook:()=>Lz,Effect:()=>mu,FAI:()=>Te,Flex:()=>tt,FlexBr:()=>sB,GenerateClassName:()=>Wr,Grid:()=>Zr,Img:()=>Nn,Input:()=>ht,LaunchReactApp:()=>b_,LinkifyText:()=>C_,List:()=>fc,Loader:()=>Ga,Logo:()=>kt,P:()=>TO,PageNotFound:()=>Az,PageViewController:()=>w_,Placeholder:()=>S_,Plate:()=>dm,React:()=>p3.default,ReadStyleSet:()=>Zh,RootViewController:()=>Zl,Row:()=>ct,SetThemeColorTag:()=>Mh,Sheet:()=>Wt,Snackbar:()=>Yn,Span:()=>Vn,SwipeView:()=>Nf,TabBar:()=>T_,Table:()=>qn,Text:()=>yt,ThemeColors:()=>Ih,Tooltips:()=>Yr,amotify:()=>z3,collectForm:()=>s_,default:()=>z3,pageRouter:()=>Ln,useRecycle:()=>Sf,useRouterEffect:()=>__,useStore:()=>Ge});var CW=Object.defineProperty,wW=Object.defineProperties,xW=Object.getOwnPropertyDescriptors,Pg=Object.getOwnPropertySymbols,lE=Object.prototype.hasOwnProperty,sE=Object.prototype.propertyIsEnumerable,uE=Math.pow,iE=(r,a,i)=>a in r?CW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[a]=i,v=(r,a)=>{for(var i in a||(a={}))lE.call(a,i)&&iE(r,i,a[i]);if(Pg)for(var i of Pg(a))sE.call(a,i)&&iE(r,i,a[i]);return r},N=(r,a)=>wW(r,xW(a)),He=(r,a)=>{var i={};for(var l in r)lE.call(r,l)&&a.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&Pg)for(var l of Pg(r))a.indexOf(l)<0&&sE.call(r,l)&&(i[l]=r[l]);return i},ua=(r,a,i)=>new Promise((l,s)=>{var d=p=>{try{h(i.next(p))}catch(_){s(_)}},c=p=>{try{h(i.throw(p))}catch(_){s(_)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(d,c);h((i=i.apply(r,a)).next())});var h3={};Gc(h3,{$$fromRoot:()=>lt,ColorObjects:()=>Ph,Config:()=>it,DarkmodeColors:()=>dE,GenerateClassName:()=>Wr,LaunchReactApp:()=>b_,React:()=>p3.default,ReadStyleSet:()=>Zh,SetThemeColorTag:()=>Mh,ThemeColors:()=>Ih,collectForm:()=>s_,pageRouter:()=>Ln,useRecycle:()=>Sf,useRouterEffect:()=>__,useStore:()=>Ge});var Gl=K(rr());var Mg=K(rr());var au={},Ge={set:(r,a)=>{let i=!0;return Object.entries(r).forEach(([l,s])=>{let d=au[l]||{};d&&d.privateKey&&d.privateKey!=a&&(i=!1),au[l]={privateKey:a,value:s}}),i},update:(r,a)=>{let i=!0;return Object.entries(r).forEach(([l,s])=>{var d;let c=au[l]||{};c&&c.privateKey&&c.privateKey!=a&&(i=!1),au[l]=N(v({},au[l]),{value:v(v({},(d=au[l])==null?void 0:d.value),s)})}),i},get:(r,a)=>{let i=au[r];if(!(i&&i.privateKey&&i.privateKey!=a))return i==null?void 0:i.value},delete:(r,a)=>{let i=au[r];return i&&i.privateKey&&i.privateKey!=a?!1:(delete au[r],!0)}};var Z0=K(er()),Sf={set:r=>{var a;let[i]=(0,Z0.useState)(Mg.default.uuid.gen()),[l,s]=(0,Z0.useState)(Mg.default.uuid.gen());return Ge.set({["RecycleKey_"+i]:()=>{s(Mg.default.uuid.gen())}}),Ge.update({["RecycleKeys_"+r]:{keys:[...((a=Ge.get("RecycleKeys_"+r))==null?void 0:a.keys)||[],i]}}),l},do:r=>{var a;let i=((a=Ge.get("RecycleKeys_"+r))==null?void 0:a.keys)||[];if(i.length)for(let l of i){let s=Ge.get("RecycleKey_"+l);s&&s()}}};var cE=K(rr());var Ph=[{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}],Mh=()=>{let r="#45515c",a=(0,cE.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},dE={light:"#FFF",dark:"#333",dim:"#666",auto:()=>it.get().isSystemDarkmode()?"#333":"#FFF"},Ih={};Ph.forEach(r=>{let{key:a,isAvocado:i,isBrand:l}=r;Ih[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:i,isBrand:l}});var Ro={sessionUID:Gl.default.uuid.gen(),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}},it={get:()=>Ro,set:r=>{Ro=v(v({},Ro),r)},update:{themeColor:r=>{if(Ph.find(i=>i.key==r)||(r="comun"),r==it.get().themeColor)return;it.set(N(v({},it.get()),{themeColor:r}));let a=(0,Gl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Mh()}),it.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==it.get().darkMode)return;let a=r=="auto"?it.get().isSystemDarkmode()?"dark":"light":r;it.set(N(v({},it.get()),{darkMode:a}));let i=(0,Gl.default)(document.body);i.removeClass(i.findClass(/^bdsDM/)).addClass("bdsDM_"+a),it.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=it.get().roundness&&(it.set(N(v({},it.get()),{roundness:r})),it.restart())},screen:r=>{it.get().screen=v(v({},it.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),i=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1||a.indexOf("macintosh")>-1&&"ontouchend"in document?"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";Ro.appRoot=r.appRoot||document.body,Ro.appRoot instanceof HTMLElement&&(Ro.appRoot.tabIndex=0),Gl.default.is.exist(r.roundness)&&it.update.roundness(r.roundness),Gl.default.is.exist(r.themeColor)&&it.update.themeColor(r.themeColor),Gl.default.is.exist(r.darkMode)&&it.update.darkMode(r.darkMode),Ro.deviceIs=i,Ro.browserIs=l,Ro.isPhone=["Android","iPhone"].includes(i),Ro.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ro.isIOS=["iPhone","iPad"].includes(i),Ro.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Ro.isIOS=["iPhone","iPad"].includes(i),Ro.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,Gl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+it.get().deviceIs,"bdsDM_"+it.get().darkMode,"bdsTC_"+it.get().themeColor]),(0,Gl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,d=(0,Gl.default)(document.body),c=Number(d.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(d.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-c-h;s.setProperty("--viewHeight",window.innerHeight+"px"),s.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{it.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,Gl.default)(document.body),d=window.innerHeight,c=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=d-c-h;s.setStyleProperty("--viewHeight",d+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Mh()},restart:()=>{Sf.do("RootViewController_"+it.get().sessionUID)}};var uc=K(er());var vr=K(wt()),br=K(rr()),qa=K(er());var hE=K(wt());var E=r=>{let a=Wr(r),{freeCSS:i}=a,l=He(a,["freeCSS"]);return(0,hE.jsx)("div",v({},l))};var gE=K(wt());var TW={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},EW={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"},kW={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},RW={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},DW={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},AW={FixScroll:"_FixScroll_3zub0_1",Float:"_Float_3zub0_8",Wrapper:"_Wrapper_3zub0_16",Wrap:"_Wrap_3zub0_16",TapSensor:"_TapSensor_3zub0_30",TapContent:"_TapContent_3zub0_40",Hide:"_Hide_3zub0_47",Open:"_Open_3zub0_50",isNewSheet_true:"_isNewSheet_true_3zub0_50",Content:"_Content_3zub0_50",isNewSheet_false:"_isNewSheet_false_3zub0_54",BB:"_BB_3zub0_54",Tcate_normal:"_Tcate_normal_3zub0_57",BaseBody:"_BaseBody_3zub0_61",Tcate_drawer:"_Tcate_drawer_3zub0_76",Tpos_left:"_Tpos_left_3zub0_76",Tpos_right:"_Tpos_right_3zub0_91",Tpos_bottom:"_Tpos_bottom_3zub0_106",DragBar:"_DragBar_3zub0_113",Tcate_custom:"_Tcate_custom_3zub0_121",CustomSheet:"_CustomSheet_3zub0_129",GPT:"_GPT_3zub0_132",Col_1:"_Col_1_3zub0_132",Row_1:"_Row_1_3zub0_132",Row_4:"_Row_4_3zub0_132",Col_4:"_Col_4_3zub0_132",Row_2:"_Row_2_3zub0_135",Row_5:"_Row_5_3zub0_135",Col_2:"_Col_2_3zub0_138",Col_5:"_Col_5_3zub0_138",GPT_3:"_GPT_3_3zub0_144",GPT_18:"_GPT_18_3zub0_144",GPT_8:"_GPT_8_3zub0_147",GPT_23:"_GPT_23_3zub0_147",GPT_11:"_GPT_11_3zub0_150",GPT_14:"_GPT_14_3zub0_150",GPT_12:"_GPT_12_3zub0_153",GPT_15:"_GPT_15_3zub0_153",Col_3:"_Col_3_3zub0_163"},NW={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"},LW={RootViewController:"_RootViewController_k39n4_2",Content:"_Content_k39n4_2",TopNav:"_TopNav_k39n4_6",FooterNav:"_FooterNav_k39n4_9",Body:"_Body_k39n4_12",SideNav:"_SideNav_k39n4_12",SwipeView:"_SwipeView_k39n4_19",Rail:"_Rail_k39n4_19",ShowOther_true:"_ShowOther_true_k39n4_19",Child:"_Child_k39n4_19",Display:"_Display_k39n4_27",LoopAdjusting:"_LoopAdjusting_k39n4_31"},BW={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"},OW={RippleElement:"_RippleElement_1wxnq_1",Color_cloud:"_Color_cloud_1wxnq_7",RippleWrap:"_RippleWrap_1wxnq_7",Wave:"_Wave_1wxnq_7",Color_theme:"_Color_theme_1wxnq_10",PuddingEffect:"_PuddingEffect_1wxnq_39",pdAnm:"_pdAnm_1wxnq_1"},zW={Wrap:"_Wrap_58pz3_1",Use_profile:"_Use_profile_58pz3_4",Use_head:"_Use_head_58pz3_7",Canvas:"_Canvas_58pz3_11",Preview:"_Preview_58pz3_18",ToneBall:"_ToneBall_58pz3_22",ToneBall_1:"_ToneBall_1_58pz3_29",ToneBall_2:"_ToneBall_2_58pz3_32",ToneBall_3:"_ToneBall_3_58pz3_35",ToneBall_4:"_ToneBall_4_58pz3_38",ToneBall_5:"_ToneBall_5_58pz3_41",ToneBall_6:"_ToneBall_6_58pz3_44",ToneBall_7:"_ToneBall_7_58pz3_47",ToneBall_8:"_ToneBall_8_58pz3_50",ToneBall_9:"_ToneBall_9_58pz3_53",ToneBall_10:"_ToneBall_10_58pz3_56"},PW={Wrap:"_Wrap_2p2fg_1",isLocked_true:"_isLocked_true_2p2fg_16",Tone_Sub_Color_theme:"_Tone_Sub_Color_theme_2p2fg_21",Tone_Clear_Color_theme:"_Tone_Clear_Color_theme_2p2fg_21",Tone_Sub_Color_posi:"_Tone_Sub_Color_posi_2p2fg_24",Tone_Clear_Color_posi:"_Tone_Clear_Color_posi_2p2fg_24",Tone_Sub_Color_nega:"_Tone_Sub_Color_nega_2p2fg_27",Tone_Clear_Color_nega:"_Tone_Clear_Color_nega_2p2fg_27",Tone_Sub_Color_warn:"_Tone_Sub_Color_warn_2p2fg_30",Tone_Clear_Color_warn:"_Tone_Clear_Color_warn_2p2fg_30",Tone_Sub_Color_white:"_Tone_Sub_Color_white_2p2fg_33",Tone_Clear_Color_white:"_Tone_Clear_Color_white_2p2fg_33",Tone_Sub_Color_cloud:"_Tone_Sub_Color_cloud_2p2fg_36",Tone_Clear_Color_cloud:"_Tone_Clear_Color_cloud_2p2fg_36",Tone_Sub_Color_layer:"_Tone_Sub_Color_layer_2p2fg_39",Tone_Clear_Color_layer:"_Tone_Clear_Color_layer_2p2fg_39",isNeutral_true:"_isNeutral_true_2p2fg_43",Tone_Clear:"_Tone_Clear_2p2fg_21",Tone_BorderToFill:"_Tone_BorderToFill_2p2fg_46",Tone_FillToBorder:"_Tone_FillToBorder_2p2fg_49",Tone_FillToBorder_Color_white:"_Tone_FillToBorder_Color_white_2p2fg_52",Tone_FillToBorder_Color_cloud:"_Tone_FillToBorder_Color_cloud_2p2fg_52",Tone_Link:"_Tone_Link_2p2fg_55",Tone_Normal_Color_plain:"_Tone_Normal_Color_plain_2p2fg_62",Tone_Normal_Color_theme:"_Tone_Normal_Color_theme_2p2fg_66",Tone_Normal_Color_posi:"_Tone_Normal_Color_posi_2p2fg_70",Tone_Normal_Color_nega:"_Tone_Normal_Color_nega_2p2fg_74",Tone_Normal_Color_warn:"_Tone_Normal_Color_warn_2p2fg_78",Tone_Border:"_Tone_Border_2p2fg_46",Tone_Prime:"_Tone_Prime_2p2fg_85",Tone_BorderToFill_Color_white:"_Tone_BorderToFill_Color_white_2p2fg_120",Tone_BorderToFill_Color_cloud:"_Tone_BorderToFill_Color_cloud_2p2fg_120"},MW={Wrapper:"_Wrapper_m8cj1_1",Input:"_Input_m8cj1_48",InputCover:"_InputCover_m8cj1_63",DigitCharacterCell:"_DigitCharacterCell_m8cj1_78",Combined:"_Combined_m8cj1_78",ShowCell:"_ShowCell_m8cj1_1"},IW={SelectorWrapper:"_SelectorWrapper_vfpyx_1"},FW={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"},HW={CellBase:"_CellBase_1bm9l_1",HideInput_true:"_HideInput_true_1bm9l_1",Input:"_Input_1bm9l_1",Label:"_Label_1bm9l_5",Icon:"_Icon_1bm9l_5",defaultActiveStyling_true:"_defaultActiveStyling_true_1bm9l_12",CheckboxIcon:"_CheckboxIcon_1bm9l_38",I:"_I_1bm9l_1"},jW={Select:"_Select_11niy_1",SelectLegend:"_SelectLegend_11niy_11"},UW={Input:"_Input_lskuu_1",Label:"_Label_lskuu_7",Dot:"_Dot_lskuu_7"},VW={Select:"_Select_2ujbp_1"},WW={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"},YW={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"},$W={Origin:"_Origin_vvhgd_1",Shallow:"_Shallow_vvhgd_5"},GW={Label:"_Label_ym2gv_1",Checked:"_Checked_ym2gv_6",Tone_WhiteCloud:"_Tone_WhiteCloud_ym2gv_9",Tone_ThemeCloud:"_Tone_ThemeCloud_ym2gv_12",Tone_ThemeBorder:"_Tone_ThemeBorder_ym2gv_18",Tone_BottomLine:"_Tone_BottomLine_ym2gv_24"},e2=r=>TW[r],$o=r=>EW[r],Fg=r=>kW[r],t2=r=>RW[r],Fh=r=>DW[r],Ar=r=>AW[r],Sa=r=>NW[r],ka=r=>LW[r],Vt=r=>BW[r],ql=r=>OW[r],Cf=r=>zW[r],Jc=r=>PW[r],_s=r=>MW[r],mE=r=>IW[r],Kl=r=>FW[r],Go=r=>HW[r],vE=r=>jW[r],Hh=r=>UW[r],r2=r=>VW[r],bs=r=>WW[r],za=r=>YW[r],a2=r=>$W[r],Hg=r=>GW[r];var Nn=r=>{let a=r,{src:i="",alt:l="",showExpand:s}=a,d=He(a,["src","alt","showExpand"]);d.freeCSS=v({cursor:s?"zoom-in":"inherit"},d.freeCSS);let c=Wr(d),{freeCSS:h,className:p=""}=c,_=He(c,["freeCSS","className"]);return(0,gE.jsx)("img",v({src:i,alt:l,className:[e2("Img"),e2("ShowExpand_"+!!s),p].join(" "),onMouseDown:b=>{s&&b.stopPropagation()},onTouchStart:b=>{s&&b.stopPropagation()},onClick:b=>{s&&(b.stopPropagation(),Wt.open({type:"image",src:s!=!0?s:i})),d.onClick&&d.onClick(b)}},_))};var Pt=K(wt());var fL=K(Fk()),pL=K(Gk()),hL=K(eR()),mL=K(lR()),vL=K(j2()),gL=K(V2()),_L=K(ER()),bL=K(BR()),yL=K(HR()),SL=K(GR()),CL=K(eD()),wL=K(lD()),xL=K(hD()),TL=K(SD()),EL=K(RD()),kL=K(eS()),RL=K(rS()),DL=K(nS()),AL=K(ZD()),NL=K(l6()),LL=K(h6()),BL=K(S6()),OL=K(R6()),zL=K(P6()),PL=K(W6()),ML=K(J6()),IL=K(o8()),FL=K(f8()),HL=K(b8()),jL=K(E8()),UL=K(B8()),VL=K(H8()),WL=K(G8()),YL=K(tA()),$L=K(sA()),GL=K(mA()),qL=K(CA()),KL=K(AA()),XL=K(IA()),JL=K(YA()),QL=K(QA()),ZL=K(oN()),eB=K(fN()),tB=K(yN()),rB=K(RN()),aB=K(PN()),nB=K(VN()),oB=K(XN()),iB=K(nL()),lB=K(dL()),Ft=r=>{let a=r,{icon:i,iconProps:l}=a,s=He(a,["icon","iconProps"]);return(0,Pt.jsx)(E,N(v({},s),{freeCSS:v({aspectRatio:"1"},s.freeCSS),styles:v({display:"inlineFlex",flexCenter:!0,position:"relative"},s.styles),children:(0,Pt.jsx)(fL.FontAwesomeIcon,N(v({icon:i,fixedWidth:!0,size:"sm"},l),{style:v({aspectRatio:1,minWidth:12*1,minHeight:12*1},l==null?void 0:l.style)}))}))},Te=Ft;Te.User=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:eB.faUser})),Te.Times=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:pL.faTimes})),Te.AngleRight=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:hL.faAngleRight})),Te.AngleLeft=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:mL.faAngleLeft})),Te.AngleUp=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:vL.faAngleUp})),Te.AngleDown=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:gL.faAngleDown})),Te.ChevronLeft=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:_L.faChevronLeft})),Te.ChevronRight=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:bL.faChevronRight})),Te.ChevronUp=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:yL.faChevronUp})),Te.ChevronDown=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:SL.faChevronDown})),Te.CaretLeft=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:CL.faCaretLeft})),Te.CaretRight=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:wL.faCaretRight})),Te.CaretUp=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:xL.faCaretUp})),Te.CaretDown=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:TL.faCaretDown})),Te.ArrowLeft=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:EL.faArrowLeft})),Te.ArrowRight=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:kL.faArrowRight})),Te.ArrowUp=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:RL.faArrowUp})),Te.ArrowDown=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:DL.faArrowDown})),Te.Rotate=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:AL.faRotate})),Te.Redo=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:NL.faRedo})),Te.Check=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:LL.faCheck})),Te.CheckCircle=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:tB.faCheckCircle})),Te.Question=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:BL.faQuestion})),Te.QuestionCircle=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:rB.faQuestionCircle})),Te.Exclamation=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:OL.faExclamation})),Te.ExclamationTriangle=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:zL.faExclamationTriangle})),Te.Home=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:PL.faHome})),Te.Share=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:ML.faShare})),Te.Search=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:IL.faSearch})),Te.YenSign=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:FL.faYenSign})),Te.Heart=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:ZL.faHeart})),Te.Star=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:JL.faStar})),Te.Edit=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:aB.faEdit})),Te.Pen=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:HL.faPen})),Te.Copy=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:nB.faCopy})),Te.File=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:oB.faFile})),Te.TrashAlt=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:iB.faTrashAlt})),Te.Bars=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:jL.faBars})),Te.Download=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:UL.faDownload})),Te.Link=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:VL.faLink})),Te.LinkSlash=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:WL.faLinkSlash})),Te.ExternalLinkAlt=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:YL.faExternalLinkAlt})),Te.Gear=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:$L.faGear})),Te.Plus=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:GL.faPlus})),Te.Minus=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:qL.faMinus})),Te.EllipsisH=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:KL.faEllipsisH})),Te.EllipsisV=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:XL.faEllipsisV})),Te.PaperPlane=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:QL.faPaperPlane})),Te.Image=r=>(0,Pt.jsx)(Ft,N(v({},r),{icon:lB.faImage}));var MS=K(wt());var tt=r=>(0,MS.jsx)(E,N(v({},r),{styles:v({flexType:"row",flexWrap:!0,display:"flex"},r.styles),freeCSS:v({wordBreak:"break-word"},r.freeCSS)})),sB=r=>(0,MS.jsx)(E,N(v({},r),{styles:v({width:1,flexSizing:"none"},r.styles)}));var uB=K(wt());var _t=r=>(0,uB.jsx)(tt,N(v({},r),{styles:v({flexType:"col",gap:1},r.styles)}));var Qh=K(wt());var ct={Center:r=>(0,Qh.jsx)(tt,N(v({},r),{styles:v({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r.styles)})),Left:r=>(0,Qh.jsx)(tt,N(v({},r),{styles:v({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r.styles)})),Right:r=>(0,Qh.jsx)(tt,N(v({},r),{styles:v({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r.styles)})),Separate:r=>(0,Qh.jsx)(tt,N(v({},r),{styles:v({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r.styles)}))};var Ss=K(wt()),FS=K(rr());var cB={Size:(r,a,i,l)=>{let s={fontSize:"inherit"};return i=i||"R",["Plain","Link"].includes(a)?{}:(i=="XS"?s=N(v({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):i=="S"?s=N(v({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):i=="R"?(s.padding=["3/4",1],a=="Prime"&&(s.padding=["3/4",2])):i=="L"&&(s.padding=[1,3],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=v({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,i,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=N(v({},s),{backgroundColor:"trans"}):a=="Border"?s=N(v({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="Prime"?(s=N(v({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=N(v({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="Sub"?s=N(v({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="Clear"?s=N(v({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="FillToBorder"?s=N(v({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="BorderToFill"&&(s=N(v({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="3.blur"),a!="Link"&&(s=v({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},Af=r=>{let a=Zh(v({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme","aria-label":FS.default.uuid.gen()},r)),i=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:d={},isActiveClassName:c="",tone:h="border",color:p="theme",className:_=""}=a;a.styles=v(v(v({},cB.Size(r.seed,r.tone,r.size,p)),cB.Tone(r.seed,r.tone,r.size,p)),a.styles),a.className=[_,Jc("Wrap"),Jc("isNeutral_"+!s),Jc("isLocked_"+l),Jc("Tone_"+h),Jc("Color_"+p),Jc("Tone_"+h+"_Color_"+p)].join(" "),s&&(a=N(v({className:[a.className,c].join(" ")},a),{styles:v(v({},a.styles),d)})),a=Wr(a)}if(i=="Button"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,submitOption:p,onClick:_}=l,b=He(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=v({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),b=N(v({},b),{"data-form-submit-button":p.formName,"data-sdfike":FS.default.flatArray(p.submitDelegationKey).join(",")})),(0,Ss.jsx)("button",v({onClick:S=>ua(void 0,null,function*(){if(_&&_(S),!p)return;let T=yield s_(p.formName);!p.acceptInvalidForm&&!T.valid||p.callback(T.data,T.valid)})},b))}else if(i=="Label"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h}=l,p=He(l,["isLocked","isActive","isActiveClassName","isActiveStyles"]);return(0,Ss.jsx)("label",v({},p))}else if(i=="Anchor"){let l=a,{isLocked:s,isActive:d,isActiveClassName:c,isActiveStyles:h,href:p="",newTab:_,sync:b,shiftQueryParams:S}=l,T=He(l,["isLocked","isActive","isActiveClassName","isActiveStyles","href","newTab","sync","shiftQueryParams"]);return(0,Ss.jsx)("button",v({onClick:w=>{let k=w.ctrlKey||w.metaKey,D=_||!!k,A=p;S&&(A+=location.search),b?Ln.pushSync(A):Ln.push(A,!!D)}},T))}return null},rd=(r,a)=>({XS:i=>(0,Ss.jsx)(Af,N(v({},i),{seed:r,tone:a,size:"S"})),S:i=>(0,Ss.jsx)(Af,N(v({},i),{seed:r,tone:a,size:"S"})),R:i=>(0,Ss.jsx)(Af,N(v({},i),{seed:r,tone:a,size:"R"})),L:i=>(0,Ss.jsx)(Af,N(v({},i),{seed:r,tone:a,size:"L"}))}),IS=r=>({Plain:a=>(0,Ss.jsx)(Af,N(v({},a),{seed:r,tone:"Plain",size:"R"})),Link:a=>(0,Ss.jsx)(Af,N(v({},a),{seed:r,tone:"Link",size:"R"})),Normal:rd(r,"Normal"),Border:rd(r,"Border"),Prime:rd(r,"Prime"),Sub:rd(r,"Sub"),Clear:rd(r,"Clear"),FillToBorder:rd(r,"FillToBorder"),BorderToFill:rd(r,"BorderToFill")}),ie={Button:IS("Button"),Label:IS("Label"),Anchor:IS("Anchor")};var em=K(wt()),su=K(er()),xl=K(rr());var V$=r=>{let a=r,{options:{onSlideCallback:i,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:d=!1,disableMousedrag:c=!1,disableTouch:h=!1}={},wrapper:p=I=>I,slides:_=[]}=a,b=He(a,["options","wrapper","slides"]),[S]=(0,su.useState)(xl.default.uuid.gen()),[T,w]=(0,su.useState)({eventType:"init",index:r.slideIndex});(0,su.useEffect)(()=>{Ge.set({["SwipeTimer-"+S]:null})},[]);let k=(0,su.useRef)(!1);(0,su.useEffect)(()=>{w({eventType:"usr",index:r.slideIndex}),k.current||(k.current=!0)},[r.slideIndex]),(0,su.useEffect)(()=>{let I=T.index+(d?1:0),$=[-1,_.length].includes(T.index);$||i&&setTimeout(()=>{i(T.index)},300);let F=lt("#Swiper-"+S);if(T.eventType=="adjustLoop")F.await(250).css({transition:"0s",transform:Ao.TrasformString(I)}).children().removeClass(ka("Display")).parent().children(I).addClass([ka("Display"),ka("LoopAdjusting")]).await(100).removeClass(ka("LoopAdjusting"));else if(T.eventType=="sys")F.await(250).css({transform:Ao.TrasformString(I)}).children().removeClass(ka("Display")).parent().children(I).addClass(ka("Display"));else if(F.children().removeClass(ka("Display")).parent().children(I).addClass(ka("Display")).parent().css({transition:"0.3s",transform:Ao.TrasformString(I)}).await(250).css({transition:"0s"}),$){let W=T.index==-1?_.length-1:0;w({eventType:"adjustLoop",index:W})}s&&!$&&(xl.default.interval.clear("SwipeTimer-"+S),xl.default.interval.standBy("SwipeTimer-"+S,s-(T.eventType=="sys"?310:0),()=>{let W=T.index+1;!d&&W>_.length-1&&(W=0),w({eventType:"usr",index:W})}))},[T]);let D=_.map((I,$)=>(0,em.jsx)(E,{styles:{flexSizing:"none",width:1,height:0},className:ka("Child"),children:p(I)},$));d&&(D.push(D[0]),D.unshift(D[D.length-2]));let A={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:d,index:T.index,minIndex:d?-1:0,maxIndex:_.length+(d?1:-1),width:0,set_event:w},q=T.index+(d?1:0);return(0,em.jsx)(E,N(v({},b),{styles:v({overflow:"hidden",position:"relative"},b.styles),className:[b.className,ka("SwipeView")].join(" "),freeCSS:v({zIndex:1},b.freeCSS),"data-swipe-id":S,onMouseDown:I=>{c||I.buttons==1&&Ao.EffectStart(I,A)},onTouchStart:I=>{var $;h||(($=I.touches)==null?void 0:$.length)==1&&Ao.EffectStart(I,A)},children:(0,em.jsx)(tt,{styles:{flexWrap:!1,gap:1,transition:"long"},className:[ka("Rail"),ka("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:v({},k.current?{}:{transform:Ao.TrasformString(q)}),children:D})}))},Ao={TrasformString:r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,EffectStart:(r,a)=>{let{x:i,y:l}=xl.default.getCursor(r),s=r.currentTarget,d=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(d.tagName))return;a=N(v({},a),{x:i-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:lt("#Swiper-"+a.id).position().width});let{swipeId:c}=s.dataset;c==a.id&&(0,xl.default)(document).addEvent({eventID:"SwipeMouseMove",eventType:"mousemove",callback:h=>{Ao.EffectCheck(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeTouchMove",eventType:"touchmove",callback:h=>{Ao.EffectCheck(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeMouseUp",eventType:"mouseup",callback:h=>{Ao.EffectEnd(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeTouchEnd",eventType:"touchend",callback:h=>{Ao.EffectEnd(h,a)},options:{passive:!1}})},EffectCheck:(r,a)=>{if(a.process)return;let{x:i,y:l}=xl.default.getCursor(r),s=Math.abs(i-a.x+window.scrollX),d=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(d+s<15))if(d>s/2)(0,xl.default)(document).removeEvent(["SwipeMouseMove","SwipeTouchMove"]);else{a.process=!0;let c=a.index+(a.loop?1:0);lt("#Swiper-"+a.id).children(c-1).addClass(ka("Display")),(0,xl.default)(document).addEvent({eventID:"SwipeCheckMouseMove",eventType:"mousemove",callback:h=>{Ao.EffectMove(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeCheckTouchMove",eventType:"touchmove",callback:h=>{Ao.EffectMove(h,a)},options:{passive:!1}}),r.preventDefault();return}},EffectMove:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:i}=xl.default.getCursor(r),l=i-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 d=s-a.maxIndex;s=a.maxIndex+d/2}lt("#Swiper-"+a.id).css({transition:"0s",transform:Ao.TrasformString(s)}),r.preventDefault()},EffectEnd:(r,a)=>{if(a.process){let i=xl.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,d=a.index+(a.loop?1:0),c=0;s<400?c=d-(+(i>0)*2-1):c=Math.round(d-i/a.width),c=Math.max(Math.min(c,a.maxIndex),a.minIndex),a.process=!1,d===c?(a.effectStartAt=l,lt("#Swiper-"+a.id).css({transition:".2s",transform:Ao.TrasformString(c)}).await(310).css({transition:"0s"}).children().removeClass(ka("Display")).parent().children(d).addClass(ka("Display"))):a.set_event({eventType:"usr",index:c+a.minIndex})}(0,xl.default)(document).removeEvent(["SwipeMouseMove","SwipeTouchMove","SwipeCheckMouseMove","SwipeCheckTouchMove","SwipeMouseUp","SwipeTouchEnd"])}},Nf=r=>(0,em.jsx)(V$,N(v({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var dB=K(wt());var fB=r=>(0,dB.jsx)("input",v({},Wr(r)));var jS=K(wt());var No=K(wt()),Lf=K(er()),Un=K(rr());var pB=K(wt()),HS=K(rr());var Yr={__memoryID:HS.default.uuid.gen(),open:r=>{let a=r,{tipsID:i=HS.default.uuid.gen(),tipsGroups:l=[]}=a,s=He(a,["tipsID","tipsGroups"]);Wt.open(N(v({sheetID:i,sheetGroups:["tooltips",...l]},s),{type:"custom",close_option:v({aroundClick:!0,parentBlur:!0,escapeKeyDown:!0,pageTransit:!0},s.close_option)}))},close:r=>{r&&Wt.close(r)},closeALL:()=>{Wt.closeGroup("tooltips")},Comps:{Body:r=>(0,pB.jsx)(E,N(v({},r),{styles:v({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r.styles)}))}};var pa=r=>{let[a]=(0,Lf.useState)(r.componentID||Un.default.uuid.gen());r=v({},r),r.states=N(v({enableFormSubmit:!0,status_id:Un.default.uuid.gen(),override:"never",name:Un.default.uuid.gen(),id:Un.default.uuid.gen(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:i}=r;return(0,No.jsx)(i,v({},r.states))},ha=r=>{let{children:a,val_status:i,set_status:l,val_validate:s,states:d}=r,{clearButton:c,rightIcon:h,leftIcon:p,wrapStyles:_}=d;return i.eventType=="init"&&!d.checkValidationAtFirst&&(s.notice=[]),(0,No.jsxs)(ct.Center,{styles:v({position:"relative",verticalAlign:"unset",gap:0},_),freeCSS:_==null?void 0:_.freeCSS,className:_s("Wrapper"),"data-notice-uid":i.componentID,children:[(0,No.jsx)(W$,{notice:s.notice,val_status:i}),d.leftIndicator,(0,No.jsxs)(tt,{styles:{position:"relative",flexSizing:"auto"},children:[p,a,c&&i.dataValue?(0,No.jsx)(ie.Button.Normal.R,{styles:{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%"},freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{l(b=>N(v({},b),{dataValue:"",formatValue:"",eventType:"update",eventID:Un.default.uuid.gen()}))},children:(0,No.jsx)(Te.Times,{})}):h]}),d.rightIndicator]})},W$=r=>{let{notice:a,val_status:i}=r,{componentID:l}=i,s="NoticeTimer-"+l,d="NoticeTimerClose-"+l,c="notice-tips-"+l;return Un.default.interval.clear(s),Un.default.interval.clear(d),Un.default.interval.standBy(s,350,()=>{if(!a.length){Yr.close(c);return}Yr.open({tipsID:c,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,styles:{padding:[1,0]},close_option:{parentBlur:!1},content:(0,No.jsxs)(Yr.Comps.Body,{styles:{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative"},children:[(0,No.jsx)(E,{styles:{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark"},freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,No.jsx)(_t,{styles:{backgroundColor:"inherit",gap:"1/3",position:"relative"},freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:_,label:b}=h,S=_=="invalid"?Te.Times:_=="warn"?Te.Exclamation:Te.Check;return(0,No.jsxs)(ct.Left,{styles:{gap:0,borderRadius:"2.tone.secondary"},children:[(0,No.jsx)(S,{styles:{flexCenter:!0,fontSize:"3.paragraph",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[_]}}),(0,No.jsx)(E,{styles:{fontColor:"white"},children:b})]},p+"-"+JSON.stringify(h))})})]})})}),Un.default.interval.standBy(d,6e3,()=>{Yr.close(c)}),null},Ca=r=>{let{type:a,states:i,val_status:l,set_status:s,ExtraOverrideStates:d,ExtraStoreStates:c,val_validate:h,set_validate:p,DefaultValidation:_,onUpdateValue:b,onUpdateValidValue:S}=r;i=v({},i);let{componentID:T}=l;(0,Lf.useEffect)(()=>(Ge.update({[T]:v({ResolveRefresh:null,Refresh:()=>new Promise((w,k)=>{Ge.get(T).ResolveRefresh=w,s(D=>N(v({},D),{eventType:"refresh",eventID:Un.default.uuid.gen()}))}),GenNotice:w=>{let{ok:k,notice:D}=w;p({ok:k,notice:D})}},c)}),()=>{Ge.delete(T)}),[]),(0,Lf.useEffect)(()=>{i.value=l.dataValue,Un.default.interval.clear("ValidationTimer-"+T),Y$({val_status:l,set_validate:p,DefaultValidation:_,states:i})},[l.eventID]),(()=>{let{override:w}=i;if(w=="never"||w=="beforeModified"&&!["init","override"].includes(l.eventType))return;let k=Ge.get(l.componentID);k&&(i.value!=l.dataValue&&i.status_id!=k.status_id&&s(D=>N(v(N(v({},D),{dataValue:i.value}),d),{eventType:"override",eventID:Un.default.uuid.gen()})),k.status_id=i.status_id)})(),(0,Lf.useEffect)(()=>{let{componentID:w,eventType:k,dataValue:D}=l,A=D;if(a=="list"?A=D.map(q=>JSON.parse(q)):a=="select"||a=="richSelect"?A=JSON.parse(D):a=="file"&&Ge.update({[w]:{Files:l.dataValue}}),k=="refresh"){let q=Ge.get(w);q&&q.ResolveRefresh&&q.ResolveRefresh(null)}k=="update"&&(b&&b({componentID:w,value:A,storeData:Ge.get(w),eventType:k}),Un.default.scope(()=>{h.ok&&S&&S({componentID:w,value:A,storeData:Ge.get(w),eventType:k})}))},[h])},Y$=r=>{let{val_status:a,states:i,set_validate:l,DefaultValidation:s}=r,d=s({value:a.dataValue,states:i});if(!d.ok){l(d);return}let c=d.notice,h=()=>ua(void 0,null,function*(){if(!i.onValidate)return;let p=yield i.onValidate({value:a.dataValue,eventType:a.eventType,props:r});if(!p.ok){l({ok:!1,notice:[...c,...p.notice]});return}l({ok:!0,notice:[...c,...p.notice]})});i.onValidate?a.eventType=="refresh"?h():Un.default.interval.standBy("ValidationTimer-"+a.componentID,450,h):l({ok:!0,notice:c})},mn=r=>{let a=r.target,{form:i,formName:l}=a.dataset;i=l||i;let s=!1,d=lt(`[data-form-submit-button="${i}"]`)[0];if(!d)return s;let c=d.dataset.sdfike||"",h=r.key,p=r.ctrlKey||r.metaKey;return Un.default.scope(()=>{c.includes("enter")&&(h!="Enter"||r.nativeEvent.isComposing||it.get().browserIs=="safari"&&r.keyCode==229)||((h=="Enter"&&(c.includes("enter")||c.includes("auxEnter")&&p)||h==" "&&c.includes("space"))&&(d.click(),r.preventDefault()),s=!0)}),s},Qr={Input:r=>{if(r=="plain")return{};let a={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r=="border"?a=N(v({},a),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r=="cloud"?a=N(v({},a),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r=="bottomBorder"&&(a=N(v({},a),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),a},ListCell:r=>{r=v({},r),r.tone||(r.tone="border");let{tone:a}=r;return a=="plain"||(r.cellStyles=v({position:"relative",padding:["3/4",1],borderRadius:"2.tone.secondary",transition:"middle"},r.cellStyles),a=="normal"?(r.styles=v({gap:"1/2"},r.styles),r.cellStyles=v({isSemiBoldFont:!0},r.cellStyles),r.cellCheckedStyles=v({backgroundColor:"cloud"},r.cellCheckedStyles)):(r.styles=v({gap:"3/4"},r.styles),r.cellStyles=v({boxShadow:"0.min"},r.cellStyles),(a=="cloud"||a=="vivid")&&(r.cellStyles=v({border:"1.thin",backgroundColor:"layer.2"},r.cellStyles)),a=="border"?(r.cellStyles=v({border:!0,backgroundColor:"layer.1"},r.cellStyles),r.cellCheckedStyles=v({borderColor:"theme",fontColor:"theme"},r.cellCheckedStyles)):a=="cloud"?r.cellCheckedStyles=v({backgroundColor:"theme.opa.few",fontColor:"theme",borderColor:"theme"},r.cellCheckedStyles):a=="vivid"&&(r.cellCheckedStyles=v({backgroundColor:"theme",fontColor:"white",borderColor:"theme"},r.cellCheckedStyles)))),Wr(r)},Boxish:r=>{r=v({},r),r.tone||(r.tone="border");let a=Qr.Input(r.tone),i=N(v({},r),{styles:v(v(v(v({fontColor:"2.normal"},a),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r.styles),className:[_s("Input"),r.className].join(" ")});return Wr(i)},Indicator:r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",flexCenter:!0,padding:[0,1],borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=N(v({},a),{border:!0}):r=="cloud"?a=N(v({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=N(v({},a),{borderRadius:0,borderBottom:!0})),a},IndicatorIcon:{position:"absolute",ssSquare:2,top:"50%",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",freeCSS:{transform:"translateY(-50%)"}}};var $$=r=>{let a=r,{componentID:i="",enableFormSubmit:l,form:s,value:d=""}=a,c=He(a,["componentID","enableFormSubmit","form","value"]);return(0,jS.jsx)("input",N(v({value:JSON.stringify(d),"data-input-type":"hidden","data-form":s,"data-component-id":i,"data-value":JSON.stringify(d)},c),{type:"hidden"}))},Tl=r=>(0,jS.jsx)(pa,{componentID:r.componentID,children:$$,states:r});var hr=K(wt()),oc=K(er()),El=K(rr());var VS=K(yB());var nc=K(wt());var SB=K(wt());var Vn=r=>{let a=Wr(r),{freeCSS:i}=a,l=He(a,["freeCSS"]);return(0,SB.jsx)("span",v({},l))};var Bn={RequiredSign:r=>(0,nc.jsx)(Vn,N(v({children:"\u5FC5\u9808"},r),{styles:v({fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r.styles)})),RequiredShortSign:r=>(0,nc.jsx)(Vn,N(v({children:"*"},r),{styles:v({fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r.styles)})),OmitSign:r=>(0,nc.jsx)(Vn,N(v({children:"\u7701\u7565\u53EF"},r),{styles:v({fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r.styles)})),LeftIndicator:r=>{let a=r,{tone:i}=a,l=He(a,["tone"]);return(0,nc.jsx)(E,N(v({},l),{styles:v(N(v({},Qr.Indicator(i)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l.styles)}))},RightIndicator:r=>{let a=r,{tone:i}=a,l=He(a,["tone"]);return(0,nc.jsx)(E,N(v({},l),{styles:v(N(v({},Qr.Indicator(i)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l.styles)}))},RightIcon:r=>{let a=r,{tone:i="border"}=a,l=He(a,["tone"]);return(0,nc.jsx)(E,N(v({},l),{styles:v(N(v({},Qr.IndicatorIcon),{right:"3/4"}),l.styles),freeCSS:v(v({zIndex:6,pointerEvents:"none"},Qr.IndicatorIcon.freeCSS),l.freeCSS)}))},LeftIcon:r=>{let a=r,{tone:i="border"}=a,l=He(a,["tone"]);return(0,nc.jsx)(E,N(v({},l),{styles:v(N(v({},Qr.IndicatorIcon),{left:"3/4"}),l.styles),freeCSS:v(v({zIndex:6,pointerEvents:"none"},Qr.IndicatorIcon.freeCSS),l.freeCSS)}))}};var G$={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,hr.jsxs)(hr.Fragment,{children:[(0,hr.jsx)(E,{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,hr.jsx)(E,{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,hr.jsxs)(hr.Fragment,{children:[(0,hr.jsx)(E,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,hr.jsx)(E,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,hr.jsx)(E,{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"}},tm=r=>{let{restrict:a,value:i=""}=r,l=String(i),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana"&&(l=l.replace(/[^ァ-ヶー ヲ-゚ ]/ig,"")),a=="hankaku.katakana"&&(l=l.replace(/[^ヲ-゚ ]/ig,"")),["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let c=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),El.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),El.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}c&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let d=l;if(a=="digitNumber"){if(l&&l!="-"){let c=[];for(let h=l.length-1;h>=0;h--){c.unshift(l[h]);let p=l.length-1-h+1;h!=0&&p%3==0&&c.unshift(",")}d=c.join("")}}else a=="postal"?l.length>=4&&(d=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(d=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,d="-"+d),{formatValue:d,dataValue:l}},q$=r=>{let{id:a,restrict:i,val_status:l}=r,s=lt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:d,prevValue:c,caretFrom:h,caretTo:p}=l;if(i=="creditCard")d.length>=c.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(i=="postal")d.length==5&&c.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(i=="digitNumber"){let _=d.length-c.length;_==2&&(h++,p++),_==-2&&(h--,p--),s.setSelectionRange(h,p)}}},CB=(r,a)=>{let i={ok:!0,body:""};return(()=>{let l=G$[a];if(!l)return;let s=l.reason;if(l){let d=!!(+!!r.match(l.reg)^+!l.exist);i={ok:d,body:d?"":s}}})(),i};function K$(r){let{value:a,states:i}=r,{restrict:l="text",maxLength:s=255,required:d}=i,c=[];if(El.default.is.exist(s)&&a.length>=Number(s)&&c.push({type:"invalid",label:s+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let h=CB(a,l);h.ok||c.push({type:"invalid",label:h.body})}else d&&c.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!c.filter(({type:h})=>h=="invalid").length,notice:c}}var X$=r=>{let a=r,{componentID:i,tone:l,required:s,restrict:d="text",form:c,autoComplete:h="off",autoCapitalize:p="off",enableFormSubmit:_,clearButton:b=!1,checkValidationAtFirst:S,onChange:T,onKeyDown:w,onValidate:k,onUpdateValue:D,onUpdateValidValue:A,value:q="",leftIndicator:I,rightIndicator:$,leftIcon:F,rightIcon:W,maxLength:P,min:oe,max:be,styles:Q,freeCSS:he,wrapStyles:le}=a,Ce=He(a,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","styles","freeCSS","wrapStyles"]),V=d=="password"||d=="concealed"?"password":"text",re=["number","digitNumber","creditCard"].includes(d)?"numeric":d=="email"?"email":"text",ue=N(v({componentID:i},tm({min:oe,max:be,restrict:d,value:q})),{prevValue:"",eventType:"init",eventID:El.default.uuid.gen(),caretFrom:null,caretTo:null}),[z,ee]=(0,oc.useState)(!1),[te,se]=(0,oc.useState)(ue),[me,De]=(0,oc.useState)({ok:!1,notice:[]});return Ca({states:r,val_status:te,set_status:se,val_validate:me,set_validate:De,DefaultValidation:K$,onUpdateValue:D,onUpdateValidValue:A,ExtraOverrideStates:v({},tm({min:oe,max:be,restrict:d,value:q}))}),(0,oc.useEffect)(()=>{q$({id:r.id,restrict:d,val_status:te})},[te]),(0,hr.jsx)(ha,{val_status:te,set_status:se,val_validate:me,states:r,children:(0,hr.jsx)("input",N(v({type:V,inputMode:re,"data-form":c,"data-input-type":"text","data-validation":me.ok,"data-value":te.dataValue,"data-component-id":te.componentID,value:te.formatValue,autoComplete:h,autoCapitalize:p,onKeyDown:Ae=>{let{key:Oe,target:je}=Ae;{let Xe=je,{selectionStart:st,selectionEnd:Ot}=Xe,vt=Number(st),Kt=Number(Ot),nr=te.formatValue[Number(vt)],or=te.formatValue[Number(vt)-1];Oe=="Delete"&&(d=="creditCard"&&nr==" "||d=="postal"&&nr=="-"||d=="digitNumber"&&nr==",")&&(Xe.setSelectionRange(vt+1,Kt+1),Ae.preventDefault()),Oe=="Backspace"&&(d=="creditCard"&&or==" "||d=="postal"&&or=="-"||d=="digitNumber"&&or==",")&&(Xe.setSelectionRange(vt-1,Kt-1),Ae.preventDefault()),Oe=="Enter"||Oe=="Tab"}if(["number","digitNumber","creditCard"].includes(d)&&Oe=="Clear"&&se(Xe=>N(v({},Xe),{dataValue:"",formatValue:"",eventType:"update",eventID:El.default.uuid.gen()})),["number","digitNumber"].includes(d)&&["ArrowUp","ArrowDown"].includes(Oe)){let Xe=+(Oe=="ArrowUp")*2-1,st=String(Number(te.dataValue)+Xe);me.ok&&De({ok:!1,notice:[]}),se(Ot=>N(v(v({},Ot),tm({min:oe,max:be,restrict:d,value:st})),{eventType:"update",eventID:El.default.uuid.gen()})),Ae.preventDefault()}w&&w(Ae),_&&mn(Ae)},onChange:Ae=>{let{value:Oe,selectionStart:je,selectionEnd:Xe}=Ae.target,st=tm({min:oe,max:be,restrict:d,value:Oe});z&&(st.formatValue=Oe),st.formatValue!=te.formatValue&&(me.ok&&De({ok:!1,notice:[]}),se(Ot=>N(v(v({},Ot),st),{prevValue:te.formatValue,eventType:"update",eventID:El.default.uuid.gen(),caretFrom:Number(je),caretTo:Number(Xe)})),T&&T(Ae))}},Ce),{onCompositionStart:Ae=>{Ce!=null&&Ce.onCompositionStart&&(Ce==null||Ce.onCompositionStart(Ae)),ee(!0)},onCompositionEnd:Ae=>{if(Ce!=null&&Ce.onCompositionEnd&&(Ce==null||Ce.onCompositionEnd(Ae)),d=="text")return;let Oe=tm({min:oe,max:be,restrict:d,value:te.formatValue});se(je=>N(v(v({},je),Oe),{prevValue:je.formatValue,eventType:"update",eventID:El.default.uuid.gen(),caretFrom:Number(je.formatValue.length+1),caretTo:Number(je.formatValue.length+1)})),ee(!1)}}))})},vn={Validate:CB,Normal:r=>(r=v({},r),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles)),(0,hr.jsx)(pa,{componentID:r.componentID,children:X$,states:Qr.Boxish(r)})),Katakana:r=>(0,hr.jsx)(vn.Normal,v({restrict:"katakana"},r)),HankakuKatakana:r=>(0,hr.jsx)(vn.Normal,v({restrict:"hankaku.katakana"},r)),CreditCard:r=>(0,hr.jsx)(vn.Normal,v({restrict:"creditCard"},r)),Tel:r=>(0,hr.jsx)(vn.Normal,v({restrict:"tel",placeholder:"xxx-xxxx-xxxx"},r)),Number:r=>(0,hr.jsx)(vn.Normal,v({restrict:"number"},r)),DigitNumber:r=>(0,hr.jsx)(vn.Normal,v({restrict:"digitNumber"},r)),Email:r=>(0,hr.jsx)(vn.Normal,v({restrict:"email"},r)),Url:r=>(0,hr.jsx)(vn.Normal,v({restrict:"url"},r)),Postal:r=>{let[a]=(0,oc.useState)(El.default.uuid.gen());return(0,oc.useEffect)(()=>()=>{Ge.delete(a)},[]),(0,hr.jsx)(vn.Normal,v({restrict:"postal",placeholder:"\u90F5\u4FBF\u756A\u53F7",leftIndicator:(0,hr.jsx)(Bn.LeftIndicator,{children:"\u3012"})},r))},Password:r=>(0,hr.jsx)(vn.Normal,v({restrict:"password",placeholder:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B",rightIndicator:(0,hr.jsx)(Bn.RightIndicator,{styles:{padding:0},children:(0,hr.jsx)(ie.Button.Normal.R,{styles:{padding:[0,1],fontColor:"theme",borderRadius:"inherit",backgroundColor:"inherit",flexCenter:!0,height:1,ssEffectsOnActive:["expand"]},onMouseOver:a=>{Yr.open({parent:a.currentTarget,gravityPoint:24,styles:{padding:[1,0]},content:(0,hr.jsx)(Yr.Comps.Body,{children:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A"})})},tabIndex:-1,onClick:a=>{(0,El.default)(a.target).parent().parent().find("input").callback(i=>{let l=i[0];l.type=l.type==="password"?"text":"password"})},children:(0,hr.jsx)(Te,{icon:VS.faEye})})})},r)),Concealed:r=>(0,hr.jsx)(vn.Normal,v({restrict:"concealed",placeholder:"\u79D8\u5BC6\u9375\u3092\u5165\u529B",rightIndicator:(0,hr.jsx)(Bn.RightIndicator,{styles:{padding:0},children:(0,hr.jsx)(ie.Button.Normal.R,{styles:{padding:[0,1],fontColor:"theme",borderRadius:"inherit",backgroundColor:"inherit",flexCenter:!0,height:1,ssEffectsOnActive:["expand"]},onMouseOver:a=>{Yr.open({parent:a.currentTarget,gravityPoint:24,styles:{padding:[1,0]},content:(0,hr.jsx)(Yr.Comps.Body,{children:"\u5024\u3092\u8868\u793A"})})},tabIndex:-1,onClick:a=>{(0,El.default)(a.target).parent().parent().parent().find("input").callback(i=>{let l=i[0];l.type=l.type==="password"?"text":"password"})},children:(0,hr.jsx)(Te,{icon:VS.faEye})})})},r)),Money:{JPY:r=>(0,hr.jsx)(vn.DigitNumber,v({placeholder:"\u91D1\u984D\u3092\u5165\u529B",rightIndicator:(0,hr.jsx)(Bn.RightIndicator,{children:"\u5186"})},r))}};var u_=K(wt()),WS=K(er()),YS=K(rr());function J$(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var Q$=r=>{let a=r,{componentID:i,tone:l,required:s,form:d,enableFormSubmit:c,checkValidationAtFirst:h,onChange:p,onKeyDown:_,onValidate:b,onUpdateValue:S,onUpdateValidValue:T,value:w="",leftIndicator:k,rightIndicator:D,leftIcon:A,rightIcon:q,styles:I,freeCSS:$,wrapStyles:F}=a,W=He(a,["componentID","tone","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","styles","freeCSS","wrapStyles"]),P={componentID:i,dataValue:w,eventType:"init",eventID:YS.default.uuid.gen()},[oe,be]=(0,WS.useState)(P),[Q,he]=(0,WS.useState)({ok:!1,notice:[]});return Ca({states:r,val_status:oe,set_status:be,val_validate:Q,set_validate:he,onUpdateValue:S,onUpdateValidValue:T,DefaultValidation:J$}),(0,u_.jsx)(ha,{val_status:oe,set_status:be,val_validate:Q,states:r,children:(0,u_.jsx)("textarea",v({"data-form":d,"data-input-type":"textarea","data-validation":Q.ok,"data-value":oe.dataValue,"data-component-id":oe.componentID,value:oe.dataValue,onKeyDown:le=>{_&&_(le),c&&mn(le)},onChange:le=>{let{value:Ce}=le.target;Q.ok&&he({ok:!1,notice:[]}),be(V=>N(v({},V),{dataValue:Ce,eventType:"update",eventID:YS.default.uuid.gen()})),p&&p(le)}},W))})},c_=r=>{r=v({},r),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles));let a=Qr.Boxish(r);return a.rows=a.rows||5,(0,u_.jsx)(pa,{componentID:r.componentID,children:Q$,states:a})};var rm=K(wt()),Bf=K(rr()),ad=K(er());var uu=K(wt());var yt={Title:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"6.title",fontWeight:"3.semiBold"},r.styles)})),SubTitle:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r.styles)})),ThirdTitle:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r.styles)})),Paragraph:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r.styles)})),Normal:r=>(0,uu.jsx)(E,v({},r)),Description:r=>(0,uu.jsx)(E,N(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)})),Supplement:r=>(0,uu.jsx)(E,N(v({},r),{styles:v({fontSize:"1.mini"},r.styles)})),NowrapSpan:r=>(0,uu.jsx)(Vn,N(v({},r),{freeCSS:v({whiteSpace:"nowrap"},r.freeCSS)}))};var wB=r=>{let[a]=(0,ad.useState)(Bf.default.uuid.gen()),[i,l]=(0,ad.useState)(String(r.value||""));(0,ad.useEffect)(()=>{Bf.default.scope(()=>ua(void 0,null,function*(){let D=(0,Bf.default)('[data-id="origin_'+a+'"]')[0],A=(0,Bf.default)('[data-id="shallow_'+a+'"]')[0];if(!D||!A)return;let q=A.getClientRects()[0];if(!q)return;let{width:I,height:$}=q;D.style.height=$+"px"}))},[i]);let s={componentID:r.componentID,dataValue:r.value,eventType:"init",eventID:Bf.default.uuid.gen()},[d,c]=(0,ad.useState)(s),[h,p]=(0,ad.useState)({ok:!1,notice:[]}),_=!!i.match(/\n$/),b=i||r.placeholder;_&&(b+="d");let S=r,{styles:T,freeCSS:w}=S,k=He(S,["styles","freeCSS"]);return(0,rm.jsxs)(ha,{val_status:d,set_status:c,val_validate:h,states:r,children:[(0,rm.jsx)(yt.Description,{className:[r.className,a2("Shallow")].join(" "),id:"shallow_"+a,styles:v({padding:1,fontSize:"inherit",flexSizing:0,minHeight:1,position:"absolute",left:0,right:0,top:0,border:"0.trans",opacity:"trans"},T),freeCSS:N(v({minHeight:16*2,resize:"none"},w),{color:"transparent",zIndex:3,pointerEvents:"none",lineHeight:"1.25",letterSpacing:"1px"}),"data-id":"shallow_"+a,children:b}),(0,rm.jsx)(c_,N(v({},k),{styles:v({padding:1,fontSize:"inherit",overflow:"hidden",flexSizing:0},T),wrapStyles:v({flexSizing:0},k.wrapStyles),className:[k.className,a2("Origin")].join(" "),freeCSS:N(v({minHeight:16*1,resize:"none"},w),{lineHeight:"1.25",letterSpacing:"1px"}),value:i,"data-id":"origin_"+a,onUpdateValue:D=>{let A=D.value;l(A),k.onUpdateValue&&k.onUpdateValue(D)}}))]})};var d_=K(wt()),$S=K(er()),GS=K(rr());function Z$(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var eG=r=>{let a=r,{componentID:i,tone:l,required:s,form:d,value:c,enableFormSubmit:h,checkValidationAtFirst:p,onInput:_,onKeyDown:b,onValidate:S,onUpdateValue:T,onUpdateValidValue:w,children:k="",leftIndicator:D,rightIndicator:A,leftIcon:q,rightIcon:I,styles:$,freeCSS:F,wrapStyles:W}=a,P=He(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","styles","freeCSS","wrapStyles"]),oe={componentID:i,dataValue:c,eventType:"init",eventID:GS.default.uuid.gen()},[be,Q]=(0,$S.useState)(oe),[he,le]=(0,$S.useState)({ok:!1,notice:[]});return Ca({states:r,val_status:be,set_status:Q,val_validate:he,set_validate:le,onUpdateValue:T,onUpdateValidValue:w,DefaultValidation:Z$}),(0,d_.jsx)(ha,{val_status:be,set_status:Q,val_validate:he,states:r,children:(0,d_.jsx)("div",N(v({contentEditable:!0,"data-form":d,"data-name":r.name,"data-input-type":"contenteditable","data-validation":he.ok,"data-value":be.dataValue,"data-component-id":be.componentID,onKeyDown:Ce=>{b&&b(Ce),h&&mn(Ce)},onInput:Ce=>{let V=Ce.currentTarget,{innerHTML:re,innerText:ue}=V;he.ok&&le({ok:!1,notice:[]}),Q(z=>N(v({},z),{dataValue:ue,eventType:"update",eventID:GS.default.uuid.gen()})),_&&_(Ce)}},P),{children:k}))})},xB=r=>{r=v({},r),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles)),r=N(v({},r),{freeCSS:v({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Qr.Boxish(r);return a.rows=a.rows||5,(0,d_.jsx)(pa,{componentID:r.componentID,children:eG,states:a})};var nd=K(wt()),qS=K(er()),am=K(rr());function tG(r){let{value:a,states:i}=r,{required:l,numericOnly:s=!1,digits:d}=i,c=[];return l&&!a&&c.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),a&&(s&&a.match(/\D/)&&c.push({type:"invalid",label:"\u6570\u5B57\u306E\u307F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a.length!=d&&c.push({type:"warn",label:"\u6700\u5F8C\u307E\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"})),{ok:!c.filter(({type:h})=>h=="invalid"||h=="warn").length,notice:c}}var rG=(r,a="")=>{let i=String(a),l=[];for(let s=0;s<r;s++)l[s]=i[s]||"";return{formatValue:l,dataValue:i}},TB=(r="")=>{let a=r,i=a.join("");return{formatValue:a,dataValue:i}},aG=r=>{let a=r,{tone:i,required:l,form:s,name:d,className:c="",digits:h,numericOnly:p=!1,enableFormSubmit:_,checkValidationAtFirst:b,onChange:S,onKeyDown:T,onValidate:w,onUpdateValue:k,onUpdateValidValue:D,value:A="",override:q,styles:I,freeCSS:$,wrapStyles:F,combineInput:W,componentID:P,listStyles:oe}=a,be=He(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","styles","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),Q=N(v({componentID:r.componentID||""},rG(h,A)),{eventType:"init",eventID:am.default.uuid.gen()}),[he,le]=(0,qS.useState)(Q),[Ce,V]=(0,qS.useState)({ok:!1,notice:[]});Ca({states:r,val_status:he,set_status:le,val_validate:Ce,set_validate:V,onUpdateValue:k,onUpdateValidValue:D,DefaultValidation:tG});let re=[];for(let ue=0;ue<h;ue++){let z=he.formatValue[ue],ee={},te=c;r.combineInput&&(te=[c,_s("DigitCharacterCell"),_s("Combined")].join(" ")),re.push((0,nd.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:z,"data-form-name":s,id:"Digit-"+ue+"-"+he.componentID,className:te,style:v(v({},r.style),ee),onKeyDown:se=>{let{key:me,code:De}=se;if(me=="Tab")return;se.preventDefault();let Ae=null;if(me=="Backspace"){let Oe=he.formatValue;Oe[ue]="",le(je=>N(v(v({},je),TB(Oe)),{eventType:"update",eventID:am.default.uuid.gen()})),Ae=ue-1}else if(["ArrowLeft","ArrowRight"].includes(me)){let Oe=+(me=="ArrowRight")*2-1;Ae=ue+Oe}else _&&mn(se),(()=>{let Oe=De.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!Oe)return;let je=Oe[2]||Oe[3]||Oe[4];if(p&&!je.match(/\d/)||!je)return;let Xe=he.formatValue;Xe[ue]=je,le(st=>N(v(v({},st),TB(Xe)),{eventType:"update",eventID:am.default.uuid.gen()})),Ae=ue+1})();am.default.is.exist(Ae)&<("#Digit-"+Ae+"-"+he.componentID).focus()},onChange:()=>{}},ue))}return(0,nd.jsxs)(ha,{val_status:he,set_status:le,val_validate:Ce,states:r,children:[(0,nd.jsx)(Tl,v({name:d,"data-input-type":"digitCharacters","data-form":s,"data-validation":Ce.ok,componentID:he.componentID,"data-value":he.dataValue},be)),(0,nd.jsx)(tt,N(v({},oe),{styles:v({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},oe),children:re}))]})},EB=r=>{r=v({},r),r=N(v({},r),{styles:v({textAlign:"center",width:0},r.styles)}),r.combineInput&&(r=N(v({},r),{styles:v({textAlign:"center",width:0},r.styles),freeCSS:v({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:v({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=Qr.Boxish(r);return(0,nd.jsx)(pa,{componentID:r.componentID,children:aG,states:a})};var wa=K(wt()),Lo=K(er()),bo=K(rr());var YB=K(BB()),$B=K(jB());var Wn=K(wt()),JS=K(er()),nm=K(rr());function nG(r){let{value:a,states:i}=r,{required:l,options:s}=i,d=[];return l&&(!s.length||s.length&&nm.default.is.nullish(JSON.parse(a)))&&d.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!d.filter(({type:c})=>c=="invalid").length,notice:d}}var UB={Core:r=>{var a;let i=r,{tone:l,required:s,form:d,className:c,enableFormSubmit:h,enableUnSelected:p,checkValidationAtFirst:_,onChange:b,onKeyDown:S,onValidate:T,onUpdateValue:w,onUpdateValidValue:k,value:D="",options:A,placeholder:q,leftIndicator:I,rightIndicator:$,leftIcon:F,rightIcon:W,componentID:P,status_id:oe,styles:be,freeCSS:Q,wrapStyles:he,rightIconStyles:le}=i,Ce=He(i,["tone","required","form","className","enableFormSubmit","enableUnSelected","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","options","placeholder","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","styles","freeCSS","wrapStyles","rightIconStyles"]),V={componentID:r.componentID||"",dataValue:D,eventType:"init",eventID:nm.default.uuid.gen()},[re,ue]=(0,JS.useState)(V),[z,ee]=(0,JS.useState)({ok:!1,notice:[]});Ca({type:"select",states:r,val_status:re,set_status:ue,ExtraOverrideStates:{dataValue:D,formatValue:D},val_validate:z,set_validate:ee,DefaultValidation:nG,onUpdateValue:w,onUpdateValidValue:k});let te=(0,Wn.jsx)(E,{styles:{fontColor:"4.thin",textAlign:"left"},children:q||"\u9078\u629E"});if(re.dataValue){let se=A.find(me=>me.value==re.dataValue);se&&(te=(a=se.displayLabel)!=null?a:se.label)}return(0,Wn.jsx)(ha,{val_status:re,set_status:ue,val_validate:z,states:r,children:(0,Wn.jsxs)(E,{className:[c,r2("SelectLegend"),_s("InputCover")].join(" "),children:[te,(0,Wn.jsx)("select",N(v({"data-form":d,"data-input-type":"select","data-validation":z.ok,"data-component-id":re.componentID,"data-value":re.dataValue,value:re.dataValue,onKeyDown:se=>{S&&S(se),h&&mn(se)},onChange:se=>{let{value:me}=se.target;z.ok&&ee({ok:!1,notice:[]}),ue(De=>N(v({},De),{dataValue:me,eventType:"update",eventID:nm.default.uuid.gen()})),b&&b(se)}},Ce),{className:r2("Select"),children:(0,Wn.jsx)(UB.Options,v({},r))}))]})})},Options:r=>{let{options:a=[],placeholder:i="\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",enableUnSelected:l=!0}=r,s=a.map(d=>{let{value:c,label:h}=d,p=String(c);return(0,Wn.jsx)("option",{value:p,children:h},p)});return l&&s.unshift((0,Wn.jsx)("option",{value:JSON.stringify(null),children:i},0)),(0,Wn.jsx)(Wn.Fragment,{children:s})}},oG=r=>{let{value:a=null,placeholder:i,options:l=[]}=r,s=0,d=JSON.stringify(a),c=l.map(p=>{let{value:_,label:b}=p,S=JSON.stringify(_),T=S==d;return s|=Number(T),N(v({},p),{value:S,label:b})});s||(a=null);let h=JSON.stringify(a);return(0,Wn.jsx)(UB.Core,N(v({},r),{value:h,options:c}))},Jl=r=>{r=v({},r),nm.default.is.nullish(r.rightIcon)&&(r.rightIcon=(0,Wn.jsx)(Bn.RightIcon,N(v({},r.rightIconStyles),{styles:v({flexType:"col"},r.rightIconStyles),children:(0,Wn.jsx)(Te.AngleDown,{})}))),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles));let a=Qr.Boxish(r);return delete r.rightIconStyles,(0,Wn.jsx)(pa,{componentID:r.componentID,children:oG,states:a})};var Ke=K(wt()),du=K(er()),zr=K(rr());var VB=K(wt());var Zr=r=>(0,VB.jsx)(E,N(v({},r),{styles:v({display:"grid"},r.styles)}));var sn=K(wt()),QS=K(er()),ic=K(rr());function iG(r){let{value:a,states:i}=r,{type:l,required:s,minSelect:d=0}=i,c=[];return s&&(a.length||l=="radio"&&c.push({type:"invalid",label:"\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093"})),d&&a.length<d&&c.push({type:"invalid",label:`${d}\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044`}),{ok:!c.filter(({type:h})=>h=="invalid").length,notice:c}}var lG=r=>{let{value:a,options:i=[]}=r,l=ic.default.is.exist(a)?ic.default.flatArray(a):[],s=i.map(c=>{let{value:h,label:p}=c;return N(v({},c),{value:JSON.stringify(h),label:p})}),d=[];return l.forEach(c=>{let h=JSON.stringify(c);s.findIndex(p=>p.value==h)!=-1&&d.push(h)}),(0,sn.jsx)(f_.Core,N(v({},r),{value:d,options:s}))},f_={Core:r=>{let a=r,{type:i,tone:l,required:s,componentID:d="",form:c,override:h,icon:p,iconType:_,enableFormSubmit:b,defaultActiveStyling:S,checkValidationAtFirst:T,onValidate:w,onUpdateValue:k,onUpdateValidValue:D,value:A,options:q,leftIndicator:I,rightIndicator:$,className:F,cellStyles:W,cellClassName:P,cellCheckedStyles:oe,cellCheckedClassName:be,minSelect:Q,hideInput:he,styles:le,freeCSS:Ce,wrapStyles:V}=a,re=He(a,["type","tone","required","componentID","form","override","icon","iconType","enableFormSubmit","defaultActiveStyling","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","minSelect","hideInput","styles","freeCSS","wrapStyles"]),ue={componentID:d,dataValue:A,eventType:"init",eventID:ic.default.uuid.gen()},[z,ee]=(0,QS.useState)(ue),[te,se]=(0,QS.useState)({ok:!1,notice:[]});return Ca({type:"list",states:r,val_status:z,set_status:ee,val_validate:te,set_validate:se,onUpdateValue:k,onUpdateValidValue:D,DefaultValidation:iG}),(0,sn.jsxs)(ha,{val_status:z,set_status:ee,val_validate:te,states:r,children:[(0,sn.jsx)(Tl,N(v({"data-value":JSON.stringify(z.dataValue),form:c,"data-input-type":i,"data-validation":te.ok},re),{componentID:z.componentID})),(0,sn.jsx)(f_.List,{states:r,val_status:z,set_status:ee})]})},List:r=>{let{states:a,val_status:i,set_status:l}=r,{componentID:s,type:d,tone:c,icon:h=!0,options:p,name:_,form:b,tabIndex:S,hideInput:T,disabled:w,className:k,cellStyles:D,cellClassName:A="",cellCheckedStyles:q,cellCheckedClassName:I="",enableFormSubmit:$,defaultActiveStyling:F=!0}=a,{dataValue:W}=i,P=h?(0,sn.jsx)(E,{styles:{flexSizing:"none"},children:a.iconType=="radio"?(0,sn.jsx)(f_.RadioIcon,{}):a.iconType=="checkbox"?(0,sn.jsx)(f_.CheckboxIcon,{}):null}):null,oe=p.map((be,Q)=>{let he=be,{value:le,label:Ce,disabled:V=w,className:re="",checkedStyles:ue,checkedClassName:z="",freeCSS:ee,styles:te}=he,se=He(he,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS","styles"]),me=ic.default.uuid.gen(),De=W.findIndex(je=>je===le)!=-1,Ae={styles:v(v({},D),te)},Oe=[Go("Label"),Go("defaultActiveStyling_"+!!F),A,re];return De&&(Ae={styles:v(v(v({},Ae.styles),q),ue),freeCSS:v(v(v({},Ae==null?void 0:Ae.freeCSS),q==null?void 0:q.freeCSS),ue==null?void 0:ue.freeCSS)},Oe=[...Oe,I,z]),[(0,sn.jsx)("input",{type:d=="radio"?"radio":"checkbox",className:[Go("Input"),Go("defaultActiveStyling_"+!!F)].join(" "),name:"RadioCheckbox-"+_,"data-list-index":s+"-"+Q,id:me,value:String(le),"data-form-name":b,disabled:V,checked:De,onFocus:je=>{if(V||d!="radio"||i.dataValue.length)return;let{value:Xe,checked:st}=je.target,Ot=[Xe];l(vt=>N(v({},vt),{dataValue:Ot,eventType:"update",eventID:ic.default.uuid.gen()}))},onChange:je=>{if(V)return;let{value:Xe,checked:st}=je.target,Ot=[];if(d=="radio")Ot=[Xe];else if(d=="checkbox"||d=="checker")if(st)Ot=[...i.dataValue,Xe];else{let vt=[...i.dataValue];vt.splice(i.dataValue.findIndex(Kt=>Kt==Xe),1),Ot=vt}l(vt=>N(v({},vt),{dataValue:Ot,eventType:"update",eventID:ic.default.uuid.gen()}))},onKeyDown:je=>{let{key:Xe,shiftKey:st}=je;if((d=="checkbox"||d=="checker")&&Xe!="Tab"&&Xe.match(/Arrow/)){je.preventDefault();let Ot=["ArrowLeft","ArrowUp"].includes(Xe)?-1:1,vt=Q+Ot;vt<0?vt=p.length-1:vt>=p.length&&(vt=0),lt(`input[data-list-index="${s}-${vt}"]`).focus()}$&&mn(je)},tabIndex:S},"List-"+JSON.stringify(le)),(0,sn.jsxs)(ie.Label.Plain,N(v({htmlFor:me,className:Oe.join(" "),tabIndex:-1},Ae),{styles:v({display:"flex",ssEffectsOnActive:!1,verticalAlign:"center",gap:"1/3",flexWrap:!1},Ae.styles),children:[P,ic.default.is.string(Ce)?(0,sn.jsx)(E,{children:Ce}):Ce]}),"ListTrigger-"+JSON.stringify(le))]});return(0,sn.jsx)(tt,{styles:{flexSizing:"auto"},freeCSS:v({},a==null?void 0:a.freeCSS),className:[k,Go("CellBase"),Go("HideInput_"+T),Go("IconIndicator_"+!!h),Go("Tone_"+c)].join(" "),children:oe})},RadioIcon:()=>(0,sn.jsx)(E,{className:Go("Icon"),styles:{backgroundColor:"layer.1",border:!0,transition:"middle",position:"relative",borderRadius:"sphere",flexCenter:!0}}),CheckboxIcon:()=>(0,sn.jsx)(E,{className:[Go("Icon"),Go("CheckboxIcon")].join(" "),styles:{borderRadius:"3.tone.tertiary",backgroundColor:"layer.1",border:!0,transition:"middle",fontColor:"white",position:"relative",flexCenter:!0},children:(0,sn.jsx)(Te.Check,{className:Go("I"),styles:{transition:"middle",opacity:"trans"},freeCSS:{zIndex:8}})})},ZS=r=>{r=v({},r);let a=Qr.ListCell(r);return(0,sn.jsx)(pa,{componentID:r.componentID,children:lG,states:a})},e3=r=>(0,sn.jsx)(ZS,N(v({iconType:"radio",tone:r.tone},r),{type:"radio"})),t3=r=>(0,sn.jsx)(ZS,N(v({iconType:"checkbox",tone:r.tone},r),{type:"checkbox"})),cu={Plain:ZS,Radio:e3,Checkbox:t3};var r3=r=>{var a,i;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),d=Number((i=r==null?void 0:r.max)!=null?i:zr.default.Time().addYear(10).year);for(let c=s;c<=d;c++)l.unshift({value:c,label:[c,...zr.default.transformer.wareki(c).value].join(" - ")});return l},WB=r=>{let{restrict:a,era:i="year",defaultValue:l=""}=r;r=v({},r),r.tipsID=r.tipsID||zr.default.uuid.gen();let s=(0,du.useRef)(!1),[d,c]=(0,du.useState)((()=>{var p,_;if(a=="clock"){let b=String(l).split(/[^\d]/);b[0]||(b=[0,0]);let S=Number(b[0]),T=Number(b[1]);return{modifiedType:"init",hour:S,minutes:T}}else if(a=="date"){let[b,S,T]=(p=String(l))==null?void 0:p.split(/\D/);return(zr.default.is.nullish(b)||zr.default.is.nullish(S)||zr.default.is.nullish(T))&&([b,S,T]=zr.default.Time().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(b),month:Number(S),date:Number(T)}}else if(a!="week"){if(a=="month"){let[b,S]=String(l).split(/\D/);return(zr.default.is.nullish(b)||zr.default.is.nullish(S))&&([b,S]=zr.default.Time().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(b),month:Number(S)}}else if(a=="year"){let[b]=String(l).split(/\D/);return zr.default.is.nullish(b)&&([b]=zr.default.Time().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(b)}}else if(a=="dateWareki"){let[b,S,T]=(_=String(l))==null?void 0:_.split(/\D/);return(zr.default.is.nullish(b)||zr.default.is.nullish(S)||zr.default.is.nullish(T))&&([b,S,T]=zr.default.Time().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:i||"year",year:Number(b),month:Number(S),date:Number(T)}}}return{}})());(0,du.useEffect)(()=>{if(s.current){if(d.modifiedType=="update"){let p="",_=i||"year";if(a=="clock"){let{hour:b,minutes:S}=d;p=[b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:b,month:S,date:T}=d;p=[b,S.zeroEmbed(2),T.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:b,month:S}=d;p=[b,S.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:b}=d;p=String(b)}else if(a=="dateWareki"){let{year:b,month:S,date:T,era:w}=d;_=w,p=[b,S.zeroEmbed(2),T.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,_)}}else s.current=!0},[d]);let h=N(v({},r),{val_value:d,set_value:c});return(0,Ke.jsx)(E,{styles:{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",border:!0,overflow:"hidden"},children:(0,Ke.jsx)(E,{styles:{overflow:"auto"},className:za(a.toCapital()+"Base"),children:a=="clock"?(0,Ke.jsx)(Ha.Clock.index,v({},h)):a=="date"?(0,Ke.jsx)(Ha.Date.index,v({},h)):a=="week"?"":a=="month"?(0,Ke.jsx)(Ha.Month.index,v({},h)):a=="year"?(0,Ke.jsx)(Ha.Year.index,v({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,Ke.jsx)(Ha.DateWareki.index,v({},h)):(0,Ke.jsx)(Ke.Fragment,{})})})},Ha={Clock:{index:r=>{let{min:a,max:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,[h,p]=(0,du.useState)(d.hour>12?2:1),[_,b]=(0,du.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,du.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(_))},[_]);let{hour:S,minutes:T}=d;return(0,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsxs)(tt,{styles:{flexType:"row",flexWrap:!1,gap:1},className:za("Body"),children:[(0,Ke.jsxs)(_t,{className:za("DesignSide"),styles:{flexSizing:0},children:[(0,Ke.jsx)(E,{className:za("ClockUiBase"),styles:{padding:[1,"2/3"],flexCenter:!0},children:(0,Ke.jsxs)(E,{className:za("ClockUi"),styles:{backgroundColor:"theme.opa.low",isRounded:!0,position:"relative"},children:[(0,Ke.jsx)(E,{styles:{position:"absolute",backgroundColor:"theme",unitWidth:"1/12"},className:[za("Needle"),za("hour")].join(" "),freeCSS:{transform:`rotate(${S*30+T/2}deg)`}}),(0,Ke.jsx)(E,{styles:{position:"absolute",backgroundColor:"theme",unitWidth:"1/12"},className:[za("Needle"),za("minute")].join(" "),freeCSS:{transform:`rotate(${T*6}deg)`}})]})}),(0,Ke.jsx)(cu.Radio,{tone:"plain",icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],styles:{flexType:"col",gap:0},cellStyles:{padding:"1/2",horizontalAlign:"between",gap:"1/3"},tabIndex:-1,onUpdateValidValue:({value:w})=>{let k=d.hour%12+(w==2?12:0);p(w),c({modifiedType:"update",hour:k,minutes:d.minutes})}}),(0,Ke.jsx)(E,{styles:{borderTop:!0,margin:[0,1]}}),(0,Ke.jsx)(cu.Radio,{tone:"plain",icon:!0,value:[_],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],styles:{flexType:"col",gap:0},cellStyles:{padding:"1/2",horizontalAlign:"between",gap:"1/3"},tabIndex:-1,onUpdateValidValue:({value:w})=>{b(w)}})]}),(0,Ke.jsxs)(_t,{children:[(0,Ke.jsxs)(E,{styles:{flexCenter:!0,fontSize:"3.paragraph",isSemiBoldFont:!0},children:[d.hour.zeroEmbed(2)," : ",d.minutes.zeroEmbed(2)]}),(0,Ke.jsxs)(tt,{styles:{flexWrap:!1,borderRadius:"1.tone.primary",boxShadow:"0.remark.inset",flexChilds:"even",padding:["1/3",0]},freeCSS:{minWidth:12*12},children:[(0,Ke.jsx)(_t,{styles:{gap:0,overflow:"auto",padding:"2/3",borderRight:!0},freeCSS:{maxHeight:12*22},children:Ha.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);c({modifiedType:"update",hour:k,minutes:d.minutes})},min:a,max:i,ampm:h})}),(0,Ke.jsx)(_t,{styles:{gap:0,overflow:"auto",padding:"2/3"},freeCSS:{maxHeight:12*22},children:Ha.Clock.Minutes({onClick:w=>{c({modifiedType:"update",hour:d.hour,minutes:w})},min:a,max:i,unit:_})})]})]})]}),(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let i=0;i<12;i++){let l=r.ampm==2?i+12:i,s=!1;{let d=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>d&&(s=!0),r.max){let c=Number(String(r.max).replace(/\D/ig,""));d>c&&(s=!0)}}a.push((0,Ke.jsx)(ie.Button.Normal.R,{isLocked:s,styles:{borderBottom:!0,borderRadius:0,padding:["1/2",1]},freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(i)},children:l.zeroEmbed(2)},i))}return a},Minutes:r=>{let a=[];for(let i=0;i<60/r.unit;i++){let l=i*r.unit;a.push((0,Ke.jsx)(ie.Button.Normal.R,{styles:{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:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,{year:h,month:p,date:_}=d;return(0,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsxs)(tt,{styles:{horizontalAlign:"between",verticalAlign:"center",flexWrap:!1},children:[(0,Ke.jsxs)(tt,{styles:{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1},children:[(0,Ke.jsx)(Jl,{override:"force",enableUnSelected:!1,value:h,options:r3(),styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},onUpdateValidValue:({value:b})=>{c({modifiedType:"update",year:Number(b),month:p,date:_})}}),(0,Ke.jsx)(Jl,{override:"force",enableUnSelected:!1,value:p,options:(()=>{let b=[];for(let S=1;S<=12;S++)b.push({value:S,label:String(S),displayLabel:String(S)+"\u6708"});return b})(),placeholder:"",styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},onUpdateValidValue:({value:b})=>{c({modifiedType:"update",year:h,month:Number(b),date:_})}})]}),(0,Ke.jsx)(Ha.Variables.ShiftButtons,{callback:b=>{let S=p+b,T=h;b==-1?(S<=0&&T--,S=S||12):p==12&&T++,c({modifiedType:"update",year:T,month:S,date:d.date})}})]}),(0,Ke.jsx)(E,{styles:{borderTop:!0}}),(0,Ke.jsx)(E,{children:Ha.Date.MonthCalendar({min:a,max:i,year:d.year,month:d.month,current:[d.year,d.month,d.date],callback:b=>{let[S,T,w]=b;c({modifiedType:"update",year:S,month:T,date:w})}})}),(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:i,year:l,month:s,current:d,callback:c}=r,h=zr.default.Time(),p=zr.default.Time([l,s.zeroEmbed(2),"01"].join("/")),_=p.getLastDayOfTheMonth(),b=zr.default.Time(p).addMonth(-1).getLastDayOfTheMonth().date,S=[],T=[],w=[],k=[],D={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var A=0;A<7;A++)S.push((0,Ke.jsx)(E,{className:[za("CalendarDay"),za("Legend")].join(" "),styles:D,children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][A]},A));for(var A=0;A<p.weekday;A++)T.unshift((0,Ke.jsx)(E,{className:[za("CalendarDay"),za("Dummy")].join(" "),styles:v({fontColor:"4.thin"},D),children:b-A},A));for(var A=1;A<=_.date;A++){let I=A,$=l==h.year&&s==h.month&&A==h.date,F=!1;{let W=Number(String([l,s.zeroEmbed(2),A.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>W&&(F=!0),r.max){let P=Number(String(r.max).replace(/\D/ig,""));W>P&&(F=!0)}}w.push((0,Ke.jsx)(ie.Button.Clear.R,{className:[za("CalendarDay"),za("isToday_"+$)].join(" "),styles:N(v({},D),{fontColor:"1.clear",padding:0,flexCenter:!0,borderRadius:"sphere",ssEffectsOnActive:"shrink"}),onClick:()=>{c([l,s,I])},tabIndex:-1,isLocked:F,children:A},I))}for(var A=1;A<7-_.weekday;A++)k.push((0,Ke.jsx)(E,{className:[za("CalendarDay"),za("Dummy")].join(" "),styles:v({fontColor:"4.thin"},D),children:A},A));return(0,Ke.jsxs)(Zr,{styles:{gridCols:7,gap:"1/3"},children:[S,T,w,k]})}},Month:{index:r=>{let{min:a,max:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,{year:h,month:p}=d;return(0,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsxs)(ct.Separate,{styles:{gap:0},children:[(0,Ke.jsx)(ct.Center,{styles:{verticalAlign:"bottom",gap:"2/3"},children:(0,Ke.jsx)(Jl,{enableUnSelected:!1,value:h,options:r3(),override:"force",styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},onUpdateValidValue:({value:_})=>{c({modifiedType:"update",year:Number(_),month:p})}})}),(0,Ke.jsx)(Ha.Variables.ShiftButtons,{callback:_=>{let b=Math.min(Math.max(h+_,1900),2100);c({modifiedType:"update",year:b,month:p})}})]}),(0,Ke.jsx)(E,{styles:{borderTop:!0}}),Ha.Month.Months({min:a,max:i,year:d.year,callback:_=>{let[b,S]=_;c({modifiedType:"update",year:b,month:S})}}),(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:i}=r,l=zr.default.Time(),s=[];for(let d=1;d<=12;d++){let c=a==l.year&&d==l.month,h=!1;{let _=Number(String([a,d.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>_&&(h=!0),r.max){let b=Number(String(r.max).replace(/\D/ig,""));_>b&&(h=!0)}}let p=[za("Cell"),c?za("isThisMonth"):""].join(" ");s.push((0,Ke.jsxs)(ie.Button.Clear.R,{className:p,isLocked:h,styles:{fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink"},onClick:()=>{i([a,d])},children:[d," \u6708"]},a+"-"+d))}return(0,Ke.jsx)(Zr,{styles:{gridCols:4,gap:"2/3"},children:s})}},Year:{index:r=>{let{min:a,max:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,{year:h}=d;return(0,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsx)(Jl,{enableUnSelected:!1,value:h||zr.default.Time().year,override:"force",options:r3({min:a,max:i}),onUpdateValidValue:({value:p})=>{c({modifiedType:"update",year:Number(p)})}}),(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l,onSubmit:()=>{c({modifiedType:"update",year:Number(h||zr.default.Time().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:i,onValueUpdate:l,tipsID:s,val_value:d,set_value:c}=r,{era:h,year:p,month:_,date:b}=d,S={val_value:d,set_value:c};return(0,Ke.jsxs)(E,{children:[(0,Ke.jsxs)(ct.Left,{styles:{verticalAlign:"unset",borderBottom:!0,gap:0},children:[(0,Ke.jsx)(Ha.DateWareki.EraSelect,v({},S)),(0,Ke.jsx)(E,{styles:{borderRight:!0}}),(0,Ke.jsx)(Ha.DateWareki.Calendar,v({},S))]}),(0,Ke.jsx)(E,{styles:{padding:1},children:(0,Ke.jsx)(Ha.Variables.Footer,{tipsID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:i}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,Ke.jsxs)(_t,{styles:{gap:0,padding:1},children:[(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let d=zr.default.Time();i({modifiedType:"update",era:"year",year:d.year,month:d.month,date:d.date})},children:"\u897F\u66A6"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let d=zr.default.Time();i({modifiedType:"update",era:"reiwa",year:d.year,month:d.month,date:d.date})},children:"\u4EE4\u548C"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{i({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{i({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{i({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"}),(0,Ke.jsx)(ie.Button.Clear.R,{color:"cloud",styles:l,isActiveStyles:s,isActive:a.era=="meiji",onClick:()=>{i({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"})]})},Calendar:r=>{let{val_value:a,set_value:i}=r,l=[];if(a.era=="year")for(let s=1900;s<2100;s++)l.unshift({value:s,label:s+"\u5E74"});else if(a.era=="reiwa"){let s=zr.default.Time().year-2018;for(let d=1;d<=s+10;d++)l.unshift({value:2019+d-1,label:"\u4EE4\u548C"+(d==1?"\u5143":d)+"\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,Ke.jsxs)(_t,{styles:{padding:1},children:[(0,Ke.jsxs)(ct.Separate,{children:[(0,Ke.jsx)(Jl,{tone:"cloud",enableUnSelected:!1,override:"force",styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},options:l,value:a.year,onUpdateValidValue:({value:s})=>{i(d=>N(v({},d),{modifiedType:"update",year:Number(s)}))}}),(0,Ke.jsxs)(ct.Center,{styles:{gap:"1/3"},children:[(0,Ke.jsx)(ie.Button.Clear.S,{styles:{ssSphere:2},onClick:()=>{let s=a.month-1;i({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,Ke.jsx)(Te.ChevronLeft,{})}),(0,Ke.jsx)(Jl,{tone:"cloud",enableUnSelected:!1,override:"force",styles:{border:"1.thin",padding:["1/3","2/3"],paddingRight:2},rightIconStyles:{right:"1/3"},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:({value:s})=>{i({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,Ke.jsx)(ie.Button.Clear.S,{styles:{ssSphere:2},onClick:()=>{let s=a.month+1;i({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,Ke.jsx)(Te.ChevronRight,{})})]})]}),(0,Ke.jsx)(Ha.DateWareki.MonthCell,v({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:i}=r,l=zr.default.Time([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,d=l.getLastDayOfTheMonth(),c=[];for(let h=0;h<7;h++)c.push((0,Ke.jsx)(yt.Supplement,{styles:{flexCenter:!0,fontColor:h==0?"googleRed":h==6?"googleBlue":"3.blur"},children:zr.default.transformer.weekday.shortJP(h)},"legend-"+h));for(let h=0;h<s;h++){let p=zr.default.Time(l).getFirstDayOfTheMonth().addDate(h-s);c.push((0,Ke.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{border:"1.thin",ssSphere:3,opacity:"middle"},onClick:_=>{_.preventDefault(),_.stopPropagation(),i({modifiedType:"update",era:a.era,year:p.year,month:p.month,date:p.date})},children:p.date},"lastMonth-"+h))}for(let h=1;h<=d.date;h++){let p=zr.default.Time(l).setDate(h);c.push((0,Ke.jsx)(ie.Button.Border.R,{styles:{ssSquare:3},onClick:()=>{i({modifiedType:"update",era:a.era,year:p.year,month:p.month,date:p.date})},children:p.date},"currentMonth-"+h))}for(let h=0;h<7-d.weekday-1;h++){let p=zr.default.Time(l).addMonth(1).setDate(1).addDate(h);c.push((0,Ke.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{border:"1.thin",ssSquare:3,opacity:"middle"},onClick:_=>{_.preventDefault(),_.stopPropagation(),i({modifiedType:"update",era:a.era,year:p.year,month:p.month,date:p.date})},children:p.date},"nextMonth-"+h))}return(0,Ke.jsx)(Zr,{styles:{gridCols:7,gap:"1/4"},children:c})}},Variables:{Footer:r=>(0,Ke.jsxs)(tt,{styles:{flexWrap:!1,gap:1,flexChilds:"even"},freeCSS:{whiteSpace:"nowrap"},children:[(0,Ke.jsxs)(ie.Button.Border.R,{onClick:()=>{r.onValueUpdate("")},tabIndex:-1,styles:{flexSizing:"none",padding:["2/3",1]},children:[(0,Ke.jsx)(Te.Times,{})," \u524A\u9664"]}),(0,Ke.jsx)(ie.Button.Prime.R,{styles:{flexSizing:"auto",padding:["2/3",1]},onClick:()=>{r.onSubmit&&r.onSubmit(),Yr.close(r.tipsID)},tabIndex:-1,children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,Ke.jsxs)(tt,{styles:{flexWrap:!1,gap:"1/3"},children:[(0,Ke.jsx)(ie.Button.Clear.R,{className:za("LeftButton"),tabIndex:-1,styles:v({right:0},Ha.Variables.ShiftButtonStyles),onClick:()=>{r.callback(-1)},children:(0,Ke.jsx)(Te.ChevronLeft,{})}),(0,Ke.jsx)(ie.Button.Clear.R,{className:za("RightButton"),tabIndex:-1,styles:v({left:0},Ha.Variables.ShiftButtonStyles),onClick:()=>{r.callback(1)},children:(0,Ke.jsx)(Te.ChevronRight,{})})]}),ShiftButtonStyles:{flexCenter:!0,padding:0,unitWidth:3,unitHeight:3,borderRadius:"sphere",position:"relative"}}};var od=" ~ ",uG={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+od.length,length:4},{type:"month",from:15+od.length,length:2},{type:"date",from:18+od.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+od.length,length:4},{type:"month",from:13+od.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}},om=r=>{let{restrict:a,value:i,era:l}=r,s=bo.default.flatArray(i||""),{defaultValue:d,format:c,ranges:h,sets:p}=uG[a],_=[],b=a=="clock"?":":"/";for(let S=0;S<s.length;S++)s[S]=String(s[S]).replace(/\D/ig,b);for(let S=0;S<p;S++){let T=s[S]||"";if(!T.match(c))s[S]="",_.push(d);else{let w=d;T.split(/\D/).forEach((k,D)=>{if(D==0&&a=="dateWareki"){let A=Number(k);l!="year"&&(A>=2019?l=="reiwa"?A-=2018:l=="heisei"&&(A=31):A>=1989?l=="heisei"?A-=1988:l=="shouwa"&&(A=64):A>=1926?l=="shouwa"?A-=1925:l=="taisho"&&(A=15):A>=1912?l=="taisho"?A-=1911:l=="meiji"&&(A=45):A>=1868&&(A-=1867)),k=A.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),_.push(w)}}return{formatValue:_.join(od),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}};function cG(r){let{states:a}=r,{restrict:i,min:l,max:s,required:d}=a,c=[],h=bo.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let _=i=="clock"?":":"/";for(let b=0;b<h.length;b++)h[b]=String(h[b]).replace(/\D/ig,_);for(let b=0;b<h.length;b++){let S=h[b],T=h[b-1];S.removeLetters()||(p.empty=!0),b>0&&(p.escalated&=+(S>=T))}p.escalated&&(p.empty||(i.match(/clock/)?h.forEach(b=>{let[S,T]=b.split(/\D+/);!S||!T?p.filled=!1:(Number(S)>23||Number(T)>59)&&(p.correct=!1)}):i.match(/date/)?h.forEach(b=>{let[S,T,w]=b.split(/\D+/);if(!S||!T||!w)p.filled=!1;else{let k=bo.default.Time(b);(!k.validate||b!=k.toFormatYMD())&&(p.correct=!1)}}):i.match(/week/)?h.forEach(b=>{let[S,T]=b.split(/\D+/);if(!S||!T)p.filled=!1;else{let w=bo.default.Time(S+"/01/01").weekday,k=bo.default.Time(S+"/01/0"+(7-w+1)).addWeek(Number(T)-1);S!=String(k.year)&&(p.correct=!1)}}):i.match(/month/)?h.forEach(b=>{let[S,T]=b.split(/\D+/);!S||!T?p.filled=!1:bo.default.Time([S,T,"01"].join("/")).validate||(p.correct=!1)}):i.match(/year/),p.filled&&p.correct&&h.forEach(b=>{{let S=Number(String(b).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>S&&(p.prohibited=!0),s){let T=Number(String(s).replace(/\D/ig,""));S>T&&(p.prohibited=!0)}}})))})();{let{empty:_,escalated:b,filled:S,correct:T,prohibited:w}=p;_&&d&&(c=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),b||c.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),T||c.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),S||c.push({type:"invalid",label:"\u6700\u5F8C\u307E\u3067\u5024\u3092\u57CB\u3081\u3066\u304F\u3060\u3055\u3044"}),w&&c.push({type:"invalid",label:(0,wa.jsxs)(wa.Fragment,{children:[(0,wa.jsx)(E,{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:!c.filter(({type:_})=>_=="invalid").length,notice:c}}var GB={picker:{launch:r=>{let a=r.tipsID||bo.default.uuid.gen(),i=r,{onValueUpdate:l,min:s,max:d,era:c,restrict:h,defaultValue:p}=i,_=He(i,["onValueUpdate","min","max","era","restrict","defaultValue"]);Yr.open(N(v({gravityPoint:r.gravityPoint||24,tipsID:a},_),{styles:v({padding:"1/2"},_.styles),parent:_.parent,close_option:v({aroundClick:!0,parentBlur:!1},_.close_option),content:(0,wa.jsx)(WB,{restrict:h,min:s,max:d,era:c,defaultValue:p,tipsID:a,onValueUpdate:(b,S)=>{l(b,S)}})}))},remove:r=>{Yr.close(r)}}},dG=r=>{let a=r,{tone:i,required:l,restrict:s="clock",componentID:d,era:c,form:h,name:p,min:_,max:b,className:S,enableFormSubmit:T,checkValidationAtFirst:w,onKeyDown:k,onValidate:D,onUpdateValue:A,onUpdateValidValue:q,value:I="",leftIndicator:$,rightIndicator:F,styles:W,freeCSS:P,wrapStyles:oe}=a,be=He(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","styles","freeCSS","wrapStyles"]),[Q,he]=(0,Lo.useState)(c),[le,Ce]=(0,Lo.useState)(N(v({componentID:r.componentID||""},om({restrict:s,value:I,era:Q})),{eventType:"init",eventID:bo.default.uuid.gen()})),[V,re]=(0,Lo.useState)({ok:!1,notice:[]}),[ue,z]=(0,Lo.useState)({active:!1,index:0,prevIndex:-1});Ca({type:"time",states:r,val_status:le,set_status:Ce,val_validate:V,set_validate:re,DefaultValidation:cG,onUpdateValue:A,onUpdateValidValue:q,ExtraOverrideStates:v({},om({restrict:s,value:I,era:Q}))});let ee=(0,Lo.useRef)(!1);return(0,Lo.useEffect)(()=>{if(ee.current){Ce(se=>v(v({},se),om({restrict:s,value:se.dataValue,era:Q})));let te=Ge.get("refreshEra_"+le.componentID);te&&te.refreshEra(Q)}else ee.current=!0},[Q]),Ge.update({[le.componentID]:{openPicker:()=>{r.disabled||GB.picker.launch({parent:"#Picker-"+le.componentID,tipsID:"PickerTips-"+le.componentID,restrict:s,min:_,max:b,defaultValue:le.dataValue,era:Q,onValueUpdate:(te,se)=>{Ce(me=>N(v(v({},me),om({restrict:s,value:te,era:se})),{eventType:"update",eventID:bo.default.uuid.gen()})),he(se)}})},resetEra:te=>{he(te),Ce(se=>N(v(v({},se),om({restrict:s,value:"",era:Q})),{eventType:"update",eventID:bo.default.uuid.gen()}))}}}),(0,Lo.useEffect)(()=>{let{index:te,active:se}=ue;if(se){te=Math.max(te,0),te=Math.min(te,le.ranges.length-1);let{from:me,length:De}=le.ranges[te],Ae=lt("#"+r.id)[0];Ae&&Ae.setSelectionRange(me,me+De)}},[ue]),(0,wa.jsxs)(ha,{val_status:le,set_status:Ce,val_validate:V,states:r,children:[(0,wa.jsx)(Tl,{name:p,"data-input-type":"time","data-form":h,"data-validation":V.ok,componentID:le.componentID,"data-value":JSON.stringify(["dates","months"].includes(s)?!le.dataValue[0]||!le.dataValue[1]?null:le.dataValue:le.dataValue||null)}),it.get().isTouchDevice?(0,wa.jsx)(ie.Button.Plain,{className:S,freeCSS:{textAlign:"left"},children:le.formatValue,onClick:te=>{let se=Ge.get(le.componentID);se&&se.openPicker(),te.stopPropagation()}}):(0,wa.jsx)("input",v({type:"text",inputMode:"numeric","data-input-type":"time","data-form-name":h,value:le.formatValue,className:S,tabIndex:it.get().isTouchDevice?-1:0,onKeyDown:te=>{fG({restrict:s,event:te,val_era:Q,val_status:le,set_status:Ce,val_focus:ue,set_focus:z}),k&&k(te),T&&mn(te)},onKeyUp:te=>{te.key=="Tab"&&z(se=>N(v({},se),{active:!0}))},onClick:te=>{let se=te.target.selectionEnd,me=0;le.ranges.forEach((De,Ae)=>{let{from:Oe,length:je,region:Xe}=De;Oe<=se&&se<=Oe+(Xe||je)&&(me=Ae)}),z(De=>N(v({},De),{active:!0,index:me})),te.preventDefault()},onChange:()=>{}},be))]})},fG=r=>{let{val_era:a,restrict:i,event:l,val_status:s,set_status:d,val_focus:c,set_focus:h}=r,{key:p,shiftKey:_,ctrlKey:b,metaKey:S}=l,T=b||S,{selectionStart:w,selectionEnd:k}=l.target,{index:D,prevIndex:A}=c,{ranges:q,formatValue:I}=s,$=q.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let W=+!_*2-1;if(F=c.index+W,F<0||F>$)return}else{let W=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;T||w==0&&k==String(s.formatValue).length?F=W==1?$:0:F=Math.max(0,Math.min(D+W,$))}h(W=>N(v({},W),{index:F,prevIndex:D})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=D;F=Math.max(F,0),F=Math.min(F,$);let{type:W,from:P,length:oe}=q[F],be=I.slice(P,P+oe),Q;if(p=="Backspace")Q="------".slice(0,oe);else if(["ArrowUp","ArrowDown"].includes(p)){let he=p=="ArrowUp"?1:-1;be=be|0,Q=be+he;let[le,Ce,V]=W=="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]:W=="minute"?[0,59,2]:W=="hour"?[0,23,2]:W=="date"?[1,31,2]:W=="week"?[1,53,2]:W=="month"?[1,12,2]:W=="year"?[0,2999,4]:[0,0,0];Q>Ce?Q=le:Q<le&&(Q=Ce),Q=Number(Q).zeroEmbed(V)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let he=be|0,le=p,Ce=`${he}${le}`;if(A!=D&&(he=0,Ce="0"+le),W=="year"||W=="dateWareki"&&a=="year")Number(Ce)>1e4?Q=le:Q=Ce,(Q|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(W)||W=="dateWareki"&&a!="year"){let V=W=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:W=="minute"?59:W=="hour"?23:W=="date"?31:W=="week"?53:W=="month"?12:0;Q=(Ce|0)>V?le:Ce,(Number(le)>Number(String(V)[0])||be=="0000".slice(0,String(V).length)&&(Ce!="0000".slice(0,String(V).length)||["minute","hour"].includes(W)&&A==D)||(Ce|0)>=uE(10,String(V).length-1))&&F++}W=="year"||W=="dateWareki"?Q=(Q|0).zeroEmbed(4):Q=(Q|0).zeroEmbed(2)}{let he=String(I).partReplace(P,String(Q)),le=he.split(od).map(Ce=>Ce.replace(/(^\D|\D$)/,"").split(/\D+/).join(i=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(i=="dateWareki"){let Ce=le[0].split(/\D/),[V,re,ue]=Ce;Ce.length==3&&V&&(le=[[Number(V)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),re,ue].join("/")])}F=Math.max(F,0),F=Math.min(F,$),d(Ce=>N(v({},Ce),{dataValue:["dates","months"].includes(i)?le:le[0],formatValue:he,eventType:"update",eventID:bo.default.uuid.gen()})),h(Ce=>N(v({},Ce),{index:F,prevIndex:Ce.index}))}}},Cs={Origin:r=>{r=v({},r);let[a]=(0,Lo.useState)(r.componentID||bo.default.uuid.gen());if(r.componentID=a,bo.default.is.nullish(r.rightIndicator)){let i=(r.restrict||"").match(/clock/)?YB.faClock:$B.faCalendarAlt;r.rightIndicator=(0,wa.jsx)(Bn.RightIndicator,{styles:{padding:0},children:(0,wa.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{border:"unset",padding:[0,1],fontColor:"theme",borderRadius:"inherit",backgroundColor:"inherit",flexCenter:!0,height:1,ssEffectsOnActive:["ripple.cloud"]},tabIndex:-1,id:"Picker-"+r.componentID,onClick:()=>{let l=Ge.get(r.componentID);l&&l.openPicker()},children:(0,wa.jsx)(Te,{icon:i})})})}return(0,wa.jsx)(pa,{componentID:r.componentID,children:dG,states:Qr.Boxish(r)})},Clock:r=>(0,wa.jsx)(Cs.Origin,v({restrict:"clock",era:"clock"},r)),Date:r=>(0,wa.jsx)(Cs.Origin,v({restrict:"date"},r)),Week:r=>(0,wa.jsx)(Cs.Origin,v({restrict:"week"},r)),Month:r=>(0,wa.jsx)(Cs.Origin,v({restrict:"month"},r)),Year:r=>(0,wa.jsx)(Cs.Origin,v({restrict:"year"},r)),DateWareki:r=>{r=v({},r);let[a]=(0,Lo.useState)(r.componentID||bo.default.uuid.gen());r.componentID=a;let{defaultEra:i="wareki"}=r,[l,s]=(0,Lo.useState)((()=>{let d="year";if(i=="wareki"&&(d="reiwa",r.value)){let[c,h,p]=r.value.split(/\D/);if(c&&h&&p){let _=Number(c);_>=2019?(_-=2019,d="reiwa"):_>=1989?(_-=1989,d="heisei"):_>=1926?(_-=1926,d="shouwa"):_>=1912?(_-=1912,d="taisho"):_>=1868&&(_-=1868,d="meiji"),_+=1}}return d})());return(0,Lo.useEffect)(()=>{Ge.set({["refreshEra_"+a]:{refreshEra:d=>{s(d)}}})},[]),(0,wa.jsx)(Cs.Origin,N(v({restrict:"dateWareki",leftIndicator:(0,wa.jsx)(Jl,{enableUnSelected:!1,value:l,tone:r.tone,override:"force",styles:{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:({value:d,eventType:c})=>{s(d);let h=Ge.get(r.componentID);h&&h.resetEra&&h.resetEra(d)}})},r),{era:l}))},Periods:{Date:r=>(0,wa.jsx)(Cs.Origin,v({restrict:"dates"},r)),Month:r=>(0,wa.jsx)(Cs.Origin,v({restrict:"months"},r))},fn:GB};var ws=K(wt()),p_=K(er()),Of=K(rr());function pG(r){let{value:a,states:i}=r,{required:l,options:s}=i,d=[];return l&&(!s.length||s.length&&Of.default.is.nullish(JSON.parse(a)))&&d.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!d.filter(({type:c})=>c=="invalid").length,notice:d}}var hG=r=>{let a=r,{tone:i,required:l,form:s,className:d,enableFormSubmit:c,enableUnSelected:h,checkValidationAtFirst:p,onChange:_,onKeyDown:b,onValidate:S,onUpdateValue:T,onUpdateValidValue:w,value:k="",options:D,placeholder:A,leftIndicator:q,rightIndicator:I,leftIcon:$,rightIcon:F,componentID:W,status_id:P,styles:oe,freeCSS:be,wrapStyles:Q,cellStyles:he,sheetStyles:le,rightIconStyles:Ce,gravityPoint:V}=a,re=He(a,["tone","required","form","className","enableFormSubmit","enableUnSelected","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","options","placeholder","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","styles","freeCSS","wrapStyles","cellStyles","sheetStyles","rightIconStyles","gravityPoint"]),ue={componentID:r.componentID||"",dataValue:k,eventType:"init",eventID:Of.default.uuid.gen()},[z]=(0,p_.useState)(Of.default.uuid.gen()),[ee,te]=(0,p_.useState)(ue),[se,me]=(0,p_.useState)({ok:!1,notice:[]});Ca({type:"richSelect",states:r,val_status:ee,set_status:te,ExtraOverrideStates:{dataValue:k,formatValue:k},val_validate:se,set_validate:me,DefaultValidation:pG,onUpdateValue:T,onUpdateValidValue:w});let De=(0,ws.jsx)(E,{styles:{fontColor:"4.thin",textAlign:"left"},children:A||"\u9078\u629E"});if(ee.dataValue){let Ae=D.find(Oe=>Oe.type=="button"&&Oe.value==ee.dataValue);Ae&&(De=Ae.selectedLabel||Ae.label)}return(0,ws.jsx)(ha,{val_status:ee,set_status:te,val_validate:se,states:r,children:(0,ws.jsx)("button",N(v({},re),{"data-form":s,"data-validation":se.ok,"data-component-id":ee.componentID,"data-value":ee.dataValue,"data-input-type":"richSelect",className:[d,vE("SelectLegend"),_s("InputCover")].join(" "),onClick:Ae=>{Yr.open({tipsID:z,parent:Ae.currentTarget,gravityPoint:V||13,close_option:{parentBlur:!1},content:()=>{let Oe=D.map(je=>{let{type:Xe,value:st,label:Ot}=je;return Xe=="button"?(0,ws.jsx)(ie.Button.Clear.R,{color:"cloud",styles:v({borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:0},he),freeCSS:v({},he==null?void 0:he.freeCSS),onClick:()=>{te(vt=>N(v({},vt),{dataValue:st,eventType:"update",eventID:Of.default.uuid.gen()})),Yr.close(z)},children:Ot},String(st)):Ot});return(0,ws.jsx)(_t,{styles:v({ssCardBox:!0,padding:[1,0],gap:0,overflow:"auto"},le),freeCSS:v({minWidth:12*20,maxHeight:"90vh"},le==null?void 0:le.freeCSS),children:Oe})}})},children:De}))})},mG=r=>{let{value:a=null,placeholder:i,options:l=[]}=r,s=0,d=JSON.stringify(a),c=l.map(p=>{let{type:_,value:b}=p,S=JSON.stringify(b),T=S==d;return s|=Number(T),N(v({},p),{type:_||"button",value:S})});s||(a=null);let h=JSON.stringify(a);return(0,ws.jsx)(hG,N(v({},r),{value:h,options:c}))},qB=r=>{r=v({},r),Of.default.is.nullish(r.rightIcon)&&(r.rightIcon=(0,ws.jsx)(Bn.RightIcon,N(v({},r.rightIconStyles),{styles:v({flexType:"col"},r.rightIconStyles),children:(0,ws.jsx)(Te.AngleDown,{})}))),r.rightIcon&&(r.styles=v({paddingRight:3},r.styles)),r.leftIcon&&(r.styles=v({paddingLeft:3},r.styles));let a=Qr.Boxish(r);return delete a.rightIconStyles,(0,ws.jsx)(pa,{componentID:r.componentID,children:mG,states:a})};var yo=K(wt()),fu=K(er()),m_=K(rr());var ea=K(wt()),gn=K(er()),lc=K(rr());var sd=K(wt());var id=K(wt()),KB=K(rr());var ld=K(er());var zf=r=>{let a=r,{color:i="theme",size:l="R",showInitial:s=!1,loaderID:d=""}=a,c=He(a,["color","size","showInitial","loaderID"]),[h]=(0,ld.useState)(d),[p]=(0,ld.useState)(KB.default.uuid.gen()),[_,b]=(0,ld.useState)(s),S=0;l=="S"?S=1:l=="R"?S=1.5:l=="L"?S=3:l=="XL"?S=4:l=="MAX"&&(S=6);let T={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"}[i];return(0,ld.useEffect)(()=>{let w=lt('[data-component-id="'+p+'"]');_?w.removeClass(Sa("Hide")).await(10).addClass(Sa("Active")):w.removeClass(Sa("Active")).await(210).addClass(Sa("Hide"))},[_]),(0,ld.useEffect)(()=>{Ge.set({[p]:{active:w=>{h==w&&b(!0)},stop:w=>{h==w&&b(!1)},stopForce:()=>{b(!1)}}})},[]),(0,id.jsxs)(ct.Center,N(v({className:[Sa("MiniLoader"),s?"":Sa("Hide")].join(" "),componentID:p},c),{styles:v({ssSphere:S,position:"relative"},c.styles),children:[(0,id.jsx)("svg",{className:Sa("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:T},children:(0,id.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,id.jsx)("svg",{className:Sa("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:T},children:(0,id.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var kl=K(wt());var h_=K(er());var XB=()=>{let[r,a]=(0,h_.useState)(!1);return(0,h_.useEffect)(()=>{Ge.set({["Loader-corner-"+it.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,kl.jsxs)(tt,{className:[Sa("CornerLoader"),r?Sa("isActive"):""].join(" "),styles:{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,kl.jsxs)(tt,{className:Sa("Wrap"),styles:{flexWrap:!1,verticalAlign:"center",horizontalAlign:"center"},children:[(0,kl.jsx)(E,{className:Sa("Ld4")}),(0,kl.jsx)(E,{className:Sa("Ld3")}),(0,kl.jsx)(E,{className:Sa("Ld2")}),(0,kl.jsx)(E,{className:Sa("Ld1")}),(0,kl.jsx)(E,{className:Sa("Ld2")}),(0,kl.jsx)(E,{className:Sa("Ld3")}),(0,kl.jsx)(E,{className:Sa("Ld4")})]}),(0,kl.jsx)(E,{styles:{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0},children:"Loading..."})]})};var Pf=r=>{let a=r.color;return{S:i=>(0,sd.jsx)(zf,v({size:"S",color:a},i)),R:i=>(0,sd.jsx)(zf,v({size:"R",color:a},i)),L:i=>(0,sd.jsx)(zf,v({size:"L",color:a},i)),XL:i=>(0,sd.jsx)(zf,v({size:"XL",color:a},i)),MAX:i=>(0,sd.jsx)(zf,v({size:"MAX",color:a},i))}},Ga={Wrapper:()=>(0,sd.jsx)(XB,{}),Theme:Pf({color:"theme"}),Posi:Pf({color:"posi"}),Nega:Pf({color:"nega"}),Warn:Pf({color:"warn"}),White:Pf({color:"white"}),Cloud:Pf({color:"cloud"}),fn:{corner:{active:()=>{let r=Ge.get("Loader-corner-"+it.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Ge.get("Loader-corner-"+it.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{lt("."+Sa("MiniLoader")).for(a=>{let{dataset:{componentId:i}={}}=a;if(!i)return;let l=Ge.get(i);l&&l.active&&l.active(r)})},stop:(r="")=>{lt("."+Sa("MiniLoader")).for(a=>{let{dataset:{componentId:i}={}}=a;if(!i)return;let l=Ge.get(i);l&&l.stop&&l.stop(r)})},stopALL:()=>{lt("."+Sa("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let i=Ge.get(a);i&&i.stopForce&&i.stopForce()})}},stopALL:()=>{Ga.fn.corner.stop(),Ga.fn.mini.stopALL()}}};var vG=r=>{let[a,i]=(0,gn.useState)("show"),[l,s]=(0,gn.useState)(""),[d]=(0,gn.useState)(lc.default.uuid.gen()),[c,h]=(0,gn.useState)(r.options),[p,_]=(0,gn.useState)(c[0]||null),[b,S]=(0,gn.useState)(r.selected),[T,w]=(0,gn.useState)("init");(0,gn.useEffect)(()=>{Ge.set({[r.selectorID]:{updateOptions:I=>{h(I)},updateSelected:I=>{S(I)}}})},[]);let k=(0,gn.useRef)(!1);(0,gn.useEffect)(()=>{k.current?Wt.reposition(r.selectorID):k.current=!0},[c]);let D=(0,gn.useRef)(!1);(0,gn.useEffect)(()=>{D.current?(i("interlude"),_(c[0]||null),r.onDynamicSearch?(lc.default.interval.clear(d+"-dynamicSearch"),lc.default.interval.standBy(d+"-dynamicSearch",400,()=>ua(void 0,null,function*(){let{options:I}=yield r.onDynamicSearch(l);h(I),i("show")}))):(lc.default.interval.clear(d+"-staticSearch"),lc.default.interval.standBy(d+"-staticSearch",400,()=>ua(void 0,null,function*(){let I=new RegExp(l,"ig"),$=[];[...r.options].forEach(F=>{var W;(!l||((W=String(F.label))!=null?W:String(F.value)).match(I))&&$.push(F)}),h($),i("show")})))):D.current=!0},[l]);let A=(0,gn.useRef)(!1);(0,gn.useEffect)(()=>{A.current?r.onUpdated({values:b}):A.current=!0},[b]),(0,gn.useEffect)(()=>{lc.default.scope(()=>{if(lc.default.is.nullish(p)||T=="MouseEvent")return;let I=lt("#"+d+"-Selector-Cell-Wrap");if(!I[0])return;let $=lt('[data-chips-selector-cell="'+d+"-"+JSON.stringify((p==null?void 0:p.value)||"").replace(/\"/ig,"")+'"]');if(!$[0])return;let{top:F,height:W}=I.position(),{top:P,height:oe}=$.position();if(F<=P&&P+oe<=F+W)return;let be=I[0].scrollTop+(P-F);T=="ArrowDown"?be-=W-oe-20:T=="ArrowUp"&&(be-=20),I[0].scrollTop=be})},[p]);let q=[];return a=="interlude"?q=[(0,ea.jsxs)(ct.Center,{styles:{padding:2,gap:0},children:[(0,ea.jsx)(Ga.Theme.R,{showInitial:!0}),(0,ea.jsx)(E,{styles:{padding:[0,1],fontSize:"1.mini",fontColor:"4.thin"},children:"\u691C\u7D22\u4E2D..."})]},"interlude")]:q=[c.map((I,$)=>{let{value:F,label:W}=I,P=String(JSON.stringify(F)),oe=b.findIndex(le=>JSON.stringify(le.value)==P),be=oe!=-1,Q=JSON.stringify((p==null?void 0:p.value)||"")==P,he={};return(be||Q)&&(he={fontColor:"theme",isSemiBoldFont:!0}),Q&&(he.backgroundColor="cloud"),be&&(he.backgroundColor="theme.opa.few"),(0,ea.jsx)(ie.Button.Clear.R,{color:"cloud",tabIndex:-1,"data-chips-selector-cell":d+"-"+P.replace(/\"/ig,""),isActive:be||Q,isActiveStyles:he,styles:{borderRadius:"3.tone.tertiary",padding:"1/3",textAlign:"left"},onMouseOver:()=>{w("MouseEvent"),_(I)},onClick:()=>{let le=[...b];be?le.splice(oe,1):(le=[...le,I],r.limit&&le.length>r.limit&&le.shift()),S(le)},children:(0,ea.jsx)(r.SelectorCellComponent,{isSelected:be,isFocused:Q,value:F,label:W})},F+"-"+$)})],(0,ea.jsxs)(ea.Fragment,{children:[(0,ea.jsxs)(_t,{styles:{padding:"2/3",gap:"2/3",borderBottom:!0},children:[(0,ea.jsxs)(ct.Separate,{children:[(0,ea.jsx)(vn.Normal,{value:l,onUpdateValidValue:({value:I})=>{s(I)},id:r.selectorID+"-KeywordInput",styles:{padding:"2/3"},placeholder:"\u691C\u7D22...",leftIcon:(0,ea.jsx)(Bn.LeftIcon,{styles:{right:"2/3",fontSize:"1.mini",fontColor:"3.blur"},children:(0,ea.jsx)(Te.Search,{})}),onKeyDown:I=>{let{key:$,metaKey:F,ctrlKey:W}=I,P=F||W;if(["ArrowDown","ArrowUp"].includes($)){let oe=+($=="ArrowDown")*2-1;if(P){let be=c[oe==1?c.length-1:0];_(be)}else{let be=c.findIndex(Q=>JSON.stringify(Q.value)==JSON.stringify((p==null?void 0:p.value)||""))+oe;c[be]?_(c[be]):_(c[oe==1?0:c.length-1]||null)}}else if($=="Enter"){let oe=b.findIndex(he=>JSON.stringify(he.value)==JSON.stringify((p==null?void 0:p.value)||"")),be=oe!=-1,Q=[...b];if(be)Q.splice(oe,1);else{let he=c.findIndex(le=>JSON.stringify(le.value)==JSON.stringify((p==null?void 0:p.value)||""));if(he==-1)return;Q=[...Q,c[he]],r.limit&&Q.length>r.limit&&Q.shift()}S(Q)}w($)}}),(0,ea.jsx)(ie.Button.Border.S,{styles:{marginRight:"1/3",ssSphere:2,backgroundColor:"cloud",borderRadius:"2.tone.secondary"},onClick:()=>{Wt.close(r.selectorID)},children:(0,ea.jsx)(Te.Times,{})})]}),(0,ea.jsxs)(ct.Separate,{children:[(0,ea.jsxs)(ct.Left,{styles:{gap:"1/2",verticalAlign:"baseline"},children:[(0,ea.jsx)(Vn,{styles:{fontColor:"theme"},children:c.length}),(0,ea.jsx)(E,{styles:{fontSize:"1.mini",fontColor:"3.blur"},children:"\u4EF6\u306E\u30D2\u30C3\u30C8"})]}),(0,ea.jsx)(ct.Right,{children:!!r.limit&&(0,ea.jsxs)(Vn,{styles:{fontSize:"1.mini",fontColor:"3.blur"},children:[(0,ea.jsx)(Vn,{styles:{fontSize:"3.paragraph",fontColor:"theme",isSemiBoldFont:!0},children:b.length})," / ",r.limit," \u4EF6"]})})]})]}),(0,ea.jsx)(_t,{styles:{gap:"1/4",padding:"1/2",overflow:"auto"},freeCSS:{maxHeight:12*26,maxWidth:12*26},id:d+"-Selector-Cell-Wrap",className:mE("SelectorWrapper"),children:q}),r.bottomContent]})},a3={openSelector:r=>{let{selectorID:a,options:i,selected:l,limit:s,bottomContent:d,onDynamicSearch:c,SelectorCellComponent:h,onUpdated:p,onClosed:_,parent:b,gravityPoint:S}=r,T=a;h=h||(w=>(0,ea.jsx)(ct.Left,{children:w.label})),Wt.open({parent:b,sheetID:T,type:"custom",gravityPoint:S||22,hold_state:!0,close_option:{aroundClick:!0,escapeKeyDown:!0},styles:{padding:[1,0]},content:(0,ea.jsx)(E,{styles:{borderRadius:"2.tone.secondary",backgroundColor:"layer.1",border:!0,boxShadow:"1.normal",overflow:"hidden"},children:(0,ea.jsx)(vG,{selectorID:a,options:i,limit:s,selected:l,onUpdated:p,SelectorCellComponent:h,bottomContent:d,onDynamicSearch:c},JSON.stringify(l))}),openAfter:()=>{lt("#"+r.selectorID+"-KeywordInput").focus()},closeAfter:()=>{_()}})},closeSelector:r=>{Wt.close(r)},updateOptions:(r,a)=>{let i=Ge.get(r);i&&i.updateOptions&&i.updateOptions(a)},updateSelected:(r,a)=>{let i=Ge.get(r);i&&i.updateSelected&&i.updateSelected(a)}};function gG(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u4E00\u3064\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var _G=r=>{let a=r,{required:i,form:l,name:s,checkValidationAtFirst:d,onValidate:c,onUpdateValue:h,onUpdateValidValue:p,value:_=[],limit:b,leftIndicator:S,rightIndicator:T,leftIcon:w,rightIcon:k,SelectedCellComponent:D,AddButtonComponent:A,SelectorCellComponent:q,componentID:I,defaultOptions:$,enableFormSubmit:F,onDynamicSearch:W,styles:P,freeCSS:oe,wrapStyles:be,selectorGravityPoint:Q}=a,he=He(a,["required","form","name","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","limit","leftIndicator","rightIndicator","leftIcon","rightIcon","SelectedCellComponent","AddButtonComponent","SelectorCellComponent","componentID","defaultOptions","enableFormSubmit","onDynamicSearch","styles","freeCSS","wrapStyles","selectorGravityPoint"]);A=A;let[le]=(0,fu.useState)(m_.default.uuid.gen()),[Ce,V]=(0,fu.useState)({componentID:r.componentID||"",dataValue:_.map(je=>je),eventID:m_.default.uuid.gen(),eventType:"init"}),[re,ue]=(0,fu.useState)({ok:!1,notice:[]}),[z,ee]=(0,fu.useState)([..._]);Ca({states:r,val_status:Ce,set_status:V,val_validate:re,set_validate:ue,DefaultValidation:gG,onUpdateValue:h,onUpdateValidValue:p,ExtraOverrideStates:{formatValue:z,dataValue:z.map(je=>je)},ExtraStoreStates:{searchTimer:null}});let te=je=>{ee(je),V(Xe=>N(v({},Xe),{dataValue:je.map(st=>st),eventID:m_.default.uuid.gen(),eventType:"update"}))},se=`[data-chips-input-wrapper="${le}"]`,me=()=>{a3.openSelector({parent:se,gravityPoint:r.selectorGravityPoint,SelectorCellComponent:r.SelectorCellComponent,selectorID:le,options:r.defaultOptions||[],selected:z,limit:r.limit,onDynamicSearch:r.onDynamicSearch,onUpdated:je=>{te(je.values)},onClosed:()=>{lt(se).focus()}})},De=b&&b<=z.length,Ae=(0,fu.useRef)(!1);(0,fu.useEffect)(()=>{Ae.current?De&&(Wt.close(le),lt(`[data-chips-input-wrapper="${le}"]`).focus()):Ae.current=!0},[z]);let Oe=z.map(je=>{let{value:Xe,label:st}=je;D=D;let Ot=()=>{let vt=z.findIndex(nr=>nr.value==Xe);if(vt==-1)return;let Kt=[...z];Kt.splice(vt,1),te(Kt),Kt.length||setTimeout(()=>{lt(`[data-chips-input-wrapper="${le}"]`).focus()},200)};return(0,yo.jsx)(D,{value:Xe,label:st,removeCallback:Ot,defaultRemoveButton:(0,yo.jsx)(ie.Button.Sub.S,{color:"cloud",styles:{flexSizing:"none",backgroundColor:"cloud",flexCenter:!0,isRounded:!0},freeCSS:{aspectRatio:"1/1"},onClick:vt=>{vt.stopPropagation(),vt.preventDefault(),Ot()},children:(0,yo.jsx)(Te.Times,{})}),openCallback:()=>{me()}},JSON.stringify(Xe))});return(0,yo.jsxs)(ha,{val_status:Ce,set_status:V,val_validate:re,states:r,children:[(0,yo.jsx)(Tl,{"data-value":JSON.stringify(Ce.dataValue.map(je=>je.value)),name:s,form:l,"data-input-type":"chips-"+["single","multi"][+(r.limit!=1)],"data-validation":re.ok,componentID:Ce.componentID,"data-focusor":le}),(0,yo.jsxs)("label",N(v({tabIndex:0,"data-chips-input-wrapper":le,onKeyDown:je=>{let{key:Xe,ctrlKey:st,metaKey:Ot,keyCode:vt}=je,Kt=st||Ot;if(vt>=48&&vt<=57||vt>=65&&vt<=90||vt>=96&&vt<=105){if(De)return;me()}else if(Xe!="Tab"&&Xe=="Backspace"){if(!z.length)return;if(Kt)te([]);else{let nr=[...z];nr.pop(),te(nr)}}},onClick:()=>{De||me()}},he),{children:[!De&&(0,yo.jsx)(A,{selected:z,openCallback:me}),Oe]}))]})},bG=r=>{let a=[...r.value||[]].splice(0,r.limit||65535);return(0,yo.jsx)(_G,N(v({SelectedCellComponent:i=>{let{value:l,label:s,removeCallback:d}=i;return(0,yo.jsxs)(ct.Left,{styles:{ssCardBox:!0,padding:"1/3",gap:0,isRounded:!0,textAlign:"left"},children:[(0,yo.jsx)(E,{styles:{padding:[0,"1/2"]},children:s}),i.defaultRemoveButton]})},AddButtonComponent:i=>r.limit&&r.limit<=i.selected.length?null:(0,yo.jsxs)(ie.Button.Sub.R,{color:"cloud",styles:{padding:"1/2"},onClick:()=>{i.openCallback()},children:[(0,yo.jsx)(Te.Plus,{}),"\u8FFD\u52A0\u3059\u308B"]})},r),{value:a}))},im=r=>{r=v({},r),r=N(v({},r),{styles:v({gap:1,display:"flex",horizontalAlign:"left",verticalAlign:"center",flexWrap:!0},r.styles)});let a=Qr.Boxish(r);return(0,yo.jsx)(pa,{componentID:r.componentID,children:bG,states:a})};im.fn=a3;var xs=K(wt());var JB=K(j2()),QB=K(V2());var ZB=r=>(0,xs.jsx)(im,N(v({AddButtonComponent:a=>a.selected.length?null:(0,xs.jsx)(E,{children:"\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),SelectedCellComponent:a=>(0,xs.jsx)(E,{styles:{width:1,textAlign:"left"},children:(0,xs.jsxs)(ct.Separate,{children:[a.label,a.defaultRemoveButton]})}),rightIcon:(0,xs.jsx)(Bn.LeftIcon,{children:(0,xs.jsxs)(_t,{styles:{gap:0},children:[(0,xs.jsx)(Te,{icon:JB.faAngleUp}),(0,xs.jsx)(Te,{icon:QB.faAngleDown,freeCSS:{marginTop:-6}})]})}),limit:1},r),{styles:v({paddingLeft:3},r.styles)}));var mr=K(wt()),Mf=K(er()),hu=K(rr());var Bo=K(wt()),eO=K(er()),sc=K(rr());var pu=K(er());var Yn={add:function(r){let a=Ge.get("Snackbar-"+it.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=Ge.get("Snackbar-"+it.get().sessionUID);return a&&a.remove(r),this},Wrapper:()=>(0,Bo.jsx)(tO.Wrapper,{})},tO={Cell:r=>{let a=r,{snackID:i,secondsToClose:l,componentID:s=sc.default.uuid.gen(),children:d,customChildren:c}=a,h=He(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,pu.useState)(s),[_,b]=(0,pu.useState)(r.secondsToClose||10);(0,pu.useEffect)(()=>{let T=lt('[data-component-id="'+p+'"]');setTimeout(()=>{T.addClass(Fh("FadeIn"))},10),Ge.set({["Snackbar-"+i]:{remove:()=>{T.addClass(Fh("FadeOut"))}}})},[]),(0,pu.useEffect)(()=>{sc.default.interval.clear("Snackbar-"+p),sc.default.interval.standBy("Snackbar-"+p,1e3,()=>{_<=0||b(_-1)}),_===0&&Yn.remove(i)},[_]);let S=(0,Bo.jsx)(Bo.Fragment,{});return c?S=(0,Bo.jsx)(c,{close:()=>{Yn.remove(i)}}):S=(0,Bo.jsxs)(ct.Separate,{styles:{verticalAlign:"top"},children:[(0,Bo.jsx)(E,{styles:{padding:["1/4",0],flexSizing:0},children:sc.default.is.function(d)?(0,Bo.jsx)(d,{}):d}),(0,Bo.jsx)(ie.Button.Clear.R,{color:"layer",styles:{backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5},onClick:()=>{Yn.remove(i)},children:(0,Bo.jsx)(Te.Times,{})})]}),(0,Bo.jsx)(E,N(v({className:Fh("Cell"),componentID:p,onMouseOver:()=>{b(-1)},onMouseOut:()=>{b(l||10)}},h),{styles:v({opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h.styles),children:S}))},Wrapper:()=>{let[r,a]=(0,pu.useState)(sc.default.uuid.gen()),[i,l]=(0,pu.useState)([]);(0,pu.useEffect)(()=>{Ge.set({["Snackbar-"+it.get().sessionUID]:{add:d=>{d.snackID=d.snackID||sc.default.uuid.gen();let c=i.findIndex(h=>h.snackID==d.snackID);if(c==-1)i.unshift(N(v({},d),{snackID:d.snackID}));else{let h=[...i];h[c]=N(v({},d),{snackID:d.snackID}),i=h}a(sc.default.uuid.gen())},remove:d=>{let c=Ge.get("Snackbar-"+d);c&&c.remove&&(c.remove(),setTimeout(()=>{let h=i.findIndex(_=>_.snackID==d);if(h==-1)return;let p=[...i];p.splice(h,1),l(p)},210))}}})},[i.length]);let s=i.map(d=>(0,eO.createElement)(tO.Cell,N(v({},d),{key:d.snackID})));return(0,Bo.jsx)(tt,{className:["AMOTIFY_be",Fh("Wrapper")].join(" "),styles:{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 uO=K(sO());function yG(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var cO={List:r=>{let{files:a,states:i,val_status:l,set_status:s}=r,d=(i.limit||1)-l.dataValue.length,c=a.map((h,p)=>(0,mr.jsx)(cO.Cell,{index:p,file:h,className:i.cellClassName,val_status:l,set_status:s,fileNameEdit:i.fileNameEdit},h.name));return d>0&&c.push((0,mr.jsx)("label",{className:[i.cellClassName,Kl("AddButton")].join(" "),"data-component-id":l.componentID,htmlFor:i.id,tabIndex:i.tabIndex,onKeyDown:h=>{let{key:p}=h;i.tabIndex!=-1&&[" ","Enter"].includes(p)&<("#"+i.id).click()},children:(0,mr.jsxs)(ct.Center,{styles:{padding:["1/3",0]},children:[(0,mr.jsx)(E,{styles:{isRounded:!0},className:Kl("AddIcon"),children:(0,mr.jsx)(Te,{icon:uO.faCloudArrowUp,className:Kl("Icon"),styles:{fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"}})}),(0,mr.jsxs)(E,{children:[(0,mr.jsxs)(E,{styles:{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0},children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",d,")"]}),(0,mr.jsx)(E,{styles:{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0},children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})},"AddButton")),(0,mr.jsx)(_t,{styles:{flexSizing:"auto"},className:i.className,children:c})},Cell:r=>{let{index:a,file:i,className:l,val_status:s,set_status:d,fileNameEdit:c=!0}=r,{name:h,size:p,type:_}=i,[b,S]=(0,Mf.useState)(!1),T=hu.default.uuid.gen(),w=p.rank(),[k,D]=h.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),A="\u30D5\u30A1\u30A4\u30EB";return _.match(/image/)?A=_.replace(/image\//,""):_.match(/pdf/)?A="PDF":_.match(/csv/)?A="CSV":_.match(/spreadsheet/)?A="SpreadSheet":_.match(/presentation/)?A="PowerPoint":_.match(/word/)?A="Word":_.match(/zip/)?A="Zip":_.match(/powerpoint/)?A="PowerPoint":_.match(/html/)?A="HTML":_.match(/js/)?A="JavaScript":_.match(/css/)?A="CSS":_.match(/text\/plain/)&&(A="\u30C6\u30AD\u30B9\u30C8"),(0,Mf.useEffect)(()=>{b&&setTimeout(()=>{lt("#"+T).focus()},100)},[b]),(0,mr.jsxs)(tt,{styles:{verticalAlign:"center",flexWrap:!1,gap:1},className:l,children:[(0,mr.jsx)(Te.File,{styles:{fontSize:"4.thirdTitle",fontColor:"4.thin"}}),(0,mr.jsxs)(E,{styles:{flexSizing:0},children:[(0,mr.jsx)(E,{children:(0,mr.jsx)(tt,{styles:{verticalAlign:"center",gap:"2/3",flexWrap:!1},className:Kl("FileName"),children:b?(0,mr.jsx)(mr.Fragment,{children:(0,mr.jsxs)(_t,{styles:{gap:"1/2",flexSizing:0},children:[(0,mr.jsxs)(tt,{styles:{gap:"2/3",verticalAlign:"center"},children:[(0,mr.jsx)(vn.Normal,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:T,form:"form-"+T,enableFormSubmit:!0,value:k,onKeyDown:q=>{let{key:I}=q;I=="Escape"&&S(!1)}}),(0,mr.jsxs)(E,{children:[". ",D]})]}),(0,mr.jsxs)(tt,{styles:{gap:"2/3",horizontalAlign:"right",flexWrap:!1},children:[(0,mr.jsx)(ie.Button.Sub.R,{styles:{padding:["2/3",1]},onClick:()=>{S(!1)},children:"\u9589\u3058\u308B"}),(0,mr.jsx)(ie.Button.Prime.R,{styles:{padding:["2/3",1]},submitOption:{formName:"form-"+T,callback:q=>ua(void 0,null,function*(){let{name:I}=q,$=[...s.dataValue],F=$[a],W=F.id;if(!F)return;let{target:P}=yield F.read();if(!P)return;let oe=yield String(P.result).toBlob(i.type);if(!oe)return;let be=new File([oe],I+"."+D,{type:F.type});be.id=W,$[a]=be,d(Q=>N(v({},Q),{dataValue:$,eventType:"update",eventID:hu.default.uuid.gen()})),S(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,mr.jsxs)(mr.Fragment,{children:[h,!!c&&(0,mr.jsx)(ie.Button.Clear.R,{styles:{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand"},color:"cloud",onClick:()=>{S(!0)},children:(0,mr.jsx)(Te.Pen,{})})]})})}),!b&&(0,mr.jsxs)(E,{styles:{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0},children:[A,"\u30D5\u30A1\u30A4\u30EB / ",w,"B"]})]}),(0,mr.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{fontColor:"4.thin",ssSphere:3},onClick:()=>{let q=[...s.dataValue];q[a]&&(q.splice(a,1),d(I=>N(v({},I),{dataValue:q,eventType:"update",eventID:hu.default.uuid.gen()})))},children:(0,mr.jsx)(Te.Times,{})})]})}},SG=r=>{let a=r,{tone:i,required:l,form:s,fileNameEdit:d=!0,systemOnly:c=!1,accept:h="*",limit:p=1,checkValidationAtFirst:_,onChange:b,onValidate:S,onUpdateValue:T,onUpdateValidValue:w,value:k=[],className:D,cellStyles:A,cellClassName:q,componentID:I,status_id:$,enableFormSubmit:F,styles:W,freeCSS:P,wrapStyles:oe}=a,be=He(a,["tone","required","form","fileNameEdit","systemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","styles","freeCSS","wrapStyles"]),Q={componentID:r.componentID||"",dataValue:k,eventType:"init",eventID:hu.default.uuid.gen()},[he,le]=(0,Mf.useState)(Q),[Ce,V]=(0,Mf.useState)({ok:!1,notice:[]});Ca({type:"file",states:r,val_status:he,set_status:le,val_validate:Ce,set_validate:V,DefaultValidation:yG,onUpdateValue:T,onUpdateValidValue:w,ExtraOverrideStates:{dataValue:k,formatValue:k},ExtraStoreStates:{AddFiles:ue=>ua(void 0,null,function*(){let z=Ge.get(he.componentID).Files,ee=[];for(var te=0;te<(ue==null?void 0:ue.length);te++){let se=ue[te],{type:me,name:De}=se;if(te+1+z.length>p){Yn.add({componentID:De,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${De}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,styles:{backgroundColor:"nega"}});continue}if(h&&h=="image"&&!me.match(/image/)){Yn.add({componentID:De,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${De} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,styles:{backgroundColor:"nega"}});continue}ee.push(se)}le(se=>N(v({},se),{dataValue:[...z,...ee],eventType:"update",eventID:hu.default.uuid.gen()}))})}});let re="";return h&&(h=="image"?re="image/png,image/jpeg":re=h),(0,mr.jsxs)(ha,{val_status:he,set_status:le,val_validate:Ce,states:r,children:[(0,mr.jsx)("input",N(v({type:"file",className:Kl("Input"),"data-form":s,"data-input-type":"file","data-component-id":he.componentID,"data-validation":Ce.ok,accept:re,multiple:p!=1,onChange:ue=>ua(void 0,null,function*(){let z=ue.target,ee=z.files,te=[];for(var se=0;se<(ee==null?void 0:ee.length);se++){let me=ee[se],De=me.name;if(me.id=hu.default.uuid.gen(),se+1+he.dataValue.length>p){Yn.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`,styles:{backgroundColor:"nega"}});continue}te.push(me)}le(me=>N(v({},me),{dataValue:[...me.dataValue,...te],eventType:"update",eventID:hu.default.uuid.gen()})),z.value=""})},be),{tabIndex:-1,value:""})),!c&&(0,mr.jsx)(cO.List,{files:he.dataValue,states:r,val_status:he,set_status:le})]})};typeof window!="undefined"&&window.document&&(0,hu.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),lt("."+Kl("AddButton")).addClass(Kl("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),lt("."+Kl("AddButton")).removeClass(Kl("Draggable"));let a=r.dataTransfer.files;if(a.length){let i=r.target;if(lt(i).hasClass(Kl("AddButton"))){let{componentId:l}=i.dataset,s=Ge.get(l);s&&s.AddFiles&&s.AddFiles(a)}}},options:{passive:!1}});var o3=r=>{r=v({},r),r.override="force";let a=Wr(r);return a.cellClassName=[a.cellClassName,Qr.Boxish(N(v({},a.cellStyles),{tone:a.tone})).className].join(" "),(0,mr.jsx)(pa,{componentID:r.componentID,children:SG,states:a})};o3.fn={openDialog:r=>{let{multiple:a,accept:i}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,i&&(i=="image"?s.accept="image/png,image/jpeg":s.accept=i),s.onchange=d=>{l(d.target.files)},s.click()})}};var $n=K(wt()),lm=K(er()),Ts=K(rr());function CG(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var fO=r=>{let{value:a,val_status:i}=r,{min:l,max:s,step:d}=i;a=Math.max(a,l),a=Math.min(a,s);let c=a/s*s;return c=Math.round(c/d),{stepValue:c*d,stepIndex:c,positionLeft:c*d/s*100+"%"}},dO={IndicatorLabels:r=>{let{componentID:a,min:i,max:l,step:s,customLegends:d}=r,c=[],h=Math.round(i/s),p=Math.round(l/s),_=p-h+1;for(var b=h;b<=p;b++){let S=b*s;S=Math.max(S,i),S=Math.min(S,l);let T=S/l*100+"%";c.push((0,$n.jsx)(E,{className:bs("Label"),id:"Legend-"+a+"-"+b,styles:{display:b==h||b==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center"},freeCSS:{left:T,whiteSpace:"nowrap",textAlign:"center"},children:d?d(S):S.rank()},S))}return(0,lm.useEffect)(()=>{let S=()=>{let T=lt("#Labels-"+a),{width:w}=T.position(),k=Math.round(w/50)-1,D=Math.round(_/k);for(let A=h+1;A<p;A++)lt("#Legend-"+a+"-"+A).css({display:A%D==0?"flex":"none"})};return(0,Ts.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{S()}}),S(),()=>{(0,Ts.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,$n.jsx)(tt,{className:bs("Labels"),styles:{verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1},id:"Labels-"+a,children:(0,$n.jsx)(E,{styles:{position:"absolute",top:0,left:0,bottom:0},freeCSS:{right:12*1.5},children:c})})},Rail:r=>{let{val_status:a,set_status:i,DotData:l,form:s,enableFormSubmit:d}=r,{componentID:c}=a;return(0,$n.jsxs)(tt,{className:bs("Rail"),styles:{position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center"},freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onMouseDown:h=>{h.stopPropagation(),ud.Effects.Start(h,{val_status:a,set_status:i,DotData:l})},onTouchStart:h=>{h.stopPropagation(),ud.Effects.Start(h,{val_status:a,set_status:i,DotData:l})},children:[(0,$n.jsx)(E,{className:bs("Bar"),styles:{backgroundColor:"layer.4",position:"relative",borderRadius:"sphere",transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1},id:c+"_Bar",children:(0,$n.jsx)(E,{className:bs("BarColor"),styles:{position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden"},freeCSS:{width:l.positionLeft},id:c+"_BarColor"})}),(0,$n.jsx)(E,{className:bs("BallWrap"),styles:{position:"absolute",top:0,left:0,bottom:0},freeCSS:{right:12*1.5},children:(0,$n.jsx)(ie.Button.Plain,{className:bs("Ball"),styles:{position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5},freeCSS:{zIndex:2,left:l.positionLeft},"data-form-name":s,id:c+"_Ball",onKeyDown:h=>{ud.KeyDownEvent({event:h,val_status:a,set_status:i,DotData:l}),d&&mn(h)}})})]})}},ud={Effects:{Start:(r,a)=>{(0,Ts.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:i=>{ud.Effects.Move(i,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:i=>{ud.Effects.Move(i,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{ud.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{ud.Effects.End()}})},Move:(r,a)=>{let i=Ts.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:d,min:c,max:h}=l,p=lt("#"+d+"_Ball"),_=lt("#"+d+"_Bar"),b=lt("#"+d+"_BarColor"),{width:S,left:T}=_.position(),w=(i-T)/S;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,D=fO({value:k,val_status:l}),A=D.positionLeft,q=D.stepValue;p.css({left:A}),b.css({width:A});let{prevValue:I}=Ge.get(d);return q!=I&&(Ge.update({[d]:{prevValue:q}}),s($=>N(v({},$),{dataValue:q,eventType:"update",eventID:Ts.default.uuid.gen()}))),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ts.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:i,set_status:l}=r,{min:s,max:d,step:c}=i,{key:h,metaKey:p,ctrlKey:_}=a,b=_||p,S=i.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?b?S=s:S-=c:h.match(/Right|Down/)&&(b?S=d:S+=c),S=Math.max(Math.min(S,d),s),Ge.update({[i.componentID]:{prevValue:S}}),l(T=>N(v({},T),{dataValue:S,eventType:"update",eventID:Ts.default.uuid.gen()})))}},wG=r=>{let a=r,{color:i="theme",required:l,form:s="",legends:{enable:d=!0,custom:c,showAlways:h=!1}={},min:p,max:_,step:b,enableFormSubmit:S,checkValidationAtFirst:T,onChange:w,onKeyDown:k,onValidate:D,onUpdateValue:A,onUpdateValidValue:q,value:I="",className:$,styles:F,freeCSS:W,wrapStyles:P}=a,oe=He(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","className","styles","freeCSS","wrapStyles"]),be={componentID:r.componentID||"",dataValue:I,min:p,max:_,step:b,eventType:"init",eventID:Ts.default.uuid.gen()},[Q,he]=(0,lm.useState)(be),[le,Ce]=(0,lm.useState)({ok:!1,notice:[]});Ca({states:r,val_status:Q,set_status:he,val_validate:le,set_validate:Ce,onUpdateValue:A,onUpdateValidValue:q,DefaultValidation:CG,ExtraOverrideStates:{dataValue:I},ExtraStoreStates:{prevValue:Q.dataValue,setValueByForeign:re=>{he(ue=>N(v({},ue),{dataValue:re,eventType:"update",eventID:Ts.default.uuid.gen()}))}}});let V=fO({value:Q.dataValue,val_status:Q});return(0,$n.jsxs)(ha,{val_status:Q,set_status:he,val_validate:le,states:r,children:[(0,$n.jsx)(Tl,v({value:V.stepValue,form:s,"data-value":V.stepValue,"data-validation":le.ok,"data-input-type":"slider"},oe)),(0,$n.jsxs)(_t,{styles:{gap:"1/2",flexSizing:"auto"},className:[bs("Wrap"),$,bs("ShowLegendsAlways_"+h)].join(" "),children:[(0,$n.jsx)(dO.Rail,{color:i,val_status:Q,set_status:he,DotData:V,form:s,enableFormSubmit:S}),!!d&&(0,$n.jsx)(dO.IndicatorLabels,{componentID:Q.componentID,min:p,max:_,step:b,customLegends:c})]})]})},pO=r=>(r=v({},r),(0,$n.jsx)(pa,{componentID:r.componentID,children:wG,states:Wr(r)}));var Ql=K(wt()),i3=K(er()),l3=K(rr());function xG(r){let{value:a,states:i}=r,{required:l}=i,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:d})=>d=="invalid").length,notice:s}}var TG=r=>{let a=r,{componentID:i,color:l="posi",required:s,form:d,id:c,enableFormSubmit:h,checkValidationAtFirst:p,onChange:_,onKeyDown:b,onValidate:S,onUpdateValue:T,onUpdateValidValue:w,value:k="",icon:D="",appearance:A="material"}=a,q=He(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","icon","appearance"]),I={componentID:r.componentID||"",dataValue:k,eventType:"init",eventID:l3.default.uuid.gen()},[$,F]=(0,i3.useState)(I),[W,P]=(0,i3.useState)({ok:!1,notice:[]}),oe=!!$.dataValue;return Ca({states:r,val_status:$,set_status:F,val_validate:W,set_validate:P,DefaultValidation:xG,onUpdateValue:T,onUpdateValidValue:w,ExtraOverrideStates:{dataValue:k,formatValue:k}}),(0,Ql.jsxs)(ha,{val_status:$,set_status:F,val_validate:W,states:r,children:[(0,Ql.jsx)("input",v({type:"checkbox","data-form":d,"data-input-type":"switch","data-validation":W.ok,"data-component-id":$.componentID,"data-value":$.dataValue,checked:$.dataValue,className:Hh("Input"),id:c,onKeyDown:be=>{b&&b(be),h&&mn(be)},onChange:be=>{W.ok&&P({ok:!1,notice:[]}),F(Q=>N(v({},Q),{dataValue:be.target.checked,eventType:"update",eventID:l3.default.uuid.gen()})),_&&_(be)}},q)),(0,Ql.jsx)(ie.Label.Plain,{tabIndex:-1,htmlFor:c,styles:{padding:"1/3",transition:"middle",borderRadius:"1.tone.primary"},className:Hh("Label"),children:(0,Ql.jsx)(E,{styles:v({},A=="applely"?{padding:"1/4",isRounded:!0,backgroundColor:oe?l:"layer.5"}:{}),children:(0,Ql.jsxs)(ct.Center,{styles:{unitHeight:2.5,position:"relative"},freeCSS:{width:12*4.5},children:[A=="material"&&(0,Ql.jsx)(E,{styles:{position:"absolute",backgroundColor:oe?l:"layer.5",borderRadius:"sphere",unitHeight:1,transition:"middle",width:1,opacity:"middle"},className:Hh("Bar")}),(0,Ql.jsx)(E,{styles:{position:"absolute",top:0,left:0,backgroundColor:A=="material"&&oe?l:"white",transition:"middle",ssSphere:2.5,boxShadow:"1.remark"},className:Hh("Dot"),children:D&&(0,Ql.jsx)(E,{styles:{transition:"middle",ssSquare:2,flexCenter:!0,fontColor:A=="applely"&&oe?l:"white"},children:D})})]})})})]})},hO=r=>(r=v({},r),r.color=r.color||"theme",(0,Ql.jsx)(pa,{componentID:r.componentID,children:TG,states:r}));var mO=K(wt());var vO=r=>(r=v({},r),(0,mO.jsx)(cu.Plain,N(v({},r),{tone:"plain",icon:!0,type:"checker",iconType:"checkbox",value:r.value?!0:null,cellStyles:v({padding:0},r.cellStyles),options:[{value:!0,label:r.label}],onUpdateValidValue:a=>{let i=!!a.value[0];r.onUpdateValidValue&&r.onUpdateValidValue(N(v({},a),{value:i}))}})));var Es=K(wt()),gO=K(rr()),v_=K(er());var If=r=>{let a=r,{tone:i,appearance:l,value:s,options:d,onUpdateValue:c,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:_,defaultActiveStyling:b,rightIndicator:S,cellStyles:T,cellClassName:w,cellCheckedClassName:k,cellCheckedStyles:D,styles:A,freeCSS:q,wrapStyles:I}=a,$=He(a,["tone","appearance","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","defaultActiveStyling","rightIndicator","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","styles","freeCSS","wrapStyles"]),[F]=(0,v_.useState)(gO.default.uuid.gen()),[W,P]=(0,v_.useState)(s),[oe,be]=(0,v_.useState)(W);return W!=s&&(P(s),be(s)),(0,Es.jsx)(cu.Radio,N(v({defaultActiveStyling:!1,options:d,value:oe,componentID:F,icon:!1},$),{styles:v({flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},A),freeCSS:v({whiteSpace:"nowrap"},q),cellStyles:v({flexCenter:!0,ssPushable:!0,boxShadow:"none"},T),cellClassName:[w,Hg("Label"),Hg("Tone_"+l)].join(" "),cellCheckedStyles:v({isSemiBoldFont:!0},D),cellCheckedClassName:[k,Hg("Checked")].join(" "),tone:"custom",onUpdateValue:c,onUpdateValidValue:Q=>{h&&h(Q),l=="BottomLine"&&be(Q.value[0])}}))},g_={Auto:r=>(r=v({},r),r=N(v({},r),{styles:v({padding:"1/3",gap:"1/3",ssCardBox:!0},r.styles),cellStyles:v({borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)}),(0,Es.jsx)(If,v({appearance:r.tone||"Auto"},r))),Normal:r=>(r=v({},r),r=N(v({},r),{styles:v({border:!0,borderColor:"theme",overflow:"hidden",gap:0,ssLastChildLossBorder:"right",fontColor:"3.blur"},r.styles),cellStyles:v({borderRadius:0,borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)}),r.tone="ThemeBorder",(0,Es.jsx)(If,v({appearance:"Border"},r))),Cloud:r=>(r=v({},r),r=N(v({},r),{styles:v({padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r.styles),cellStyles:v({borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)}),(0,Es.jsx)(If,v({appearance:r.tone||"Cloud"},r))),Cloud2:r=>(r=v({},r),r.tone="WhiteCloud",(0,Es.jsx)(g_.Cloud,N(v({},r),{styles:v({fontColor:"3.blur"},r.styles),cellCheckedStyles:v({fontColor:"1.clear"},r.cellCheckedStyles)}))),Cloud3:r=>(r=v({},r),r.tone="ThemeCloud",(0,Es.jsx)(g_.Cloud,N(v({},r),{styles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.styles),cellStyles:v({},r.cellStyles)}))),Border:r=>(r=v({},r),r=N(v({},r),{styles:v({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,ssLastChildLossBorder:"right",boxShadow:"0.min"},r.styles),cellStyles:v({borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)}),(0,Es.jsx)(If,v({appearance:r.tone||"Border"},r))),Border2:r=>(r=v({},r),r=N(v({},r),{styles:v({border:!0,borderColor:"theme",overflow:"hidden",gap:0,ssLastChildLossBorder:"right",boxShadow:"0.min",fontColor:"3.blur"},r.styles),cellStyles:v({borderRadius:0,borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:v({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)}),r.tone="ThemeBorder",(0,Es.jsx)(If,v({appearance:"Border"},r))),BottomLine:r=>(r=v({},r),r=N(v({},r),{styles:v({gap:0,fontColor:"3.blur"},r.styles),cellStyles:v({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:v({fontColor:"theme"},r.cellCheckedStyles)}),(0,Es.jsx)(If,v({appearance:"BottomLine"},r)))};var ht;(r=>(r.Plain=fB,r.Hidden=Tl,r.Text=vn,r.TextArea=c_,r.AutoHeightText=wB,r.Contenteditable=xB,r.DigitCharacters=EB,r.Time=Cs,r.Select=Jl,r.RichSelect=qB,r.List=cu,r.Radio=e3,r.Checkbox=t3,r.Checker=vO,r.Chips=im,r.Search=ZB,r.Filer=o3,r.Slider=pO,r.Switch=hO,r.Segmented=g_,r.Comps=Bn))(ht||(ht={}));var un={currentIndex:0,contents:{},addNewSheet:function(r){let a=N(v({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,isOpen:!0},r),{sheetID:r.sheetID||br.default.uuid.gen(),close_option:v({pageTransit:!0,escapeKeyDown:!0,aroundClick:r.type=="custom"},r.close_option)});if(a.type=="custom"&&(a.parent=a.parent||a.event.currentTarget),this.contents[a.sheetID]){let l=Ge.get(a.sheetID);l&&l.refresh&&l.refresh(a,!0);return}this.contents[a.sheetID]={isOpen:!0,hold_state:!!a.hold_state,p:a,created_at:br.default.Time()};let i=Ge.get("Sheet-"+it.get().sessionUID);i&&i.refresh()},Wrapper:()=>{let[r,a]=(0,qa.useState)(br.default.uuid.gen());(0,qa.useEffect)(()=>{Ge.set({["Sheet-"+it.get().sessionUID]:{refresh:()=>{a(br.default.uuid.gen())}}}),(0,br.default)(it.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(l){let{key:s,metaKey:d}=l;if(s=="Escape"||s==","&&d){let c=Object.values(un.contents).filter(p=>p.isOpen);if(!c.length)return;let h=c.reduce((p,_)=>p.created_at.value>_.created_at.value?p:_);Wt.close(h.p.sheetID,s)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(l){var s;let d=Object.values(un.contents).filter(c=>c.p.type=="custom");!d.length||d.find(c=>{let{p:h}=c,p=h.parent,_=l.target,b=lt(p)[0];return!!(p==_||b===_||(0,br.default)(b).find(_).length)})||(s=l.target)!=null&&s.closest("."+Ar("CustomSheet"))||d.forEach(c=>{var h;(h=c.p.close_option)!=null&&h.aroundClick&&Wt.close(c.p.sheetID)})}})},[]);let i=Object.entries(un.contents).map(([l,s])=>(0,vr.jsx)(E,{id:"Sheet-"+l,children:(0,vr.jsx)(un.Core,v({isOpen:s.isOpen},s.p),l)},l));return(0,vr.jsx)(E,{className:["AMOTIFY_be",Ar("Wrapper")].join(" "),children:i})},Core:r=>{var a;let[i]=(0,qa.useState)(br.default.uuid.gen()),[l,s]=(0,qa.useState)(r),[d,c]=(0,qa.useState)(r.isOpen),{type:h,sheetID:p,openAfter:_,closeAfter:b}=l,S=!l.overwrap,T=un.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"}[h]];(0,qa.useEffect)(()=>{Ge.set({[p]:{refresh:(D,A)=>{s(D),c(A!=null?A:!1)},resize:D=>{if(h=="drawer.bottom"){let A=Ge.get(i);A&&A.resize&&A.resize(D)}else(l.type.includes("normal")||l.type.includes("drawer"))&&s(A=>N(v({},A),{size:D}))},close:D=>{un.contents[p].isOpen=!1,c(!1)},open:()=>{un.contents[p].isOpen=!0,c(!0)}}})}),(0,qa.useEffect)(()=>{br.default.scope(()=>{if(!S||!l.backgroundEffect)return;let D=Object.values(un.contents).filter(q=>q.isOpen&&!q.p.overwrap&&q.p.type!="custom").length,A=lt(".AMOTIFY_be_root");if(d){if(A.hasClass(Ar("FixScroll")))return;let q=(0,br.default)("html"),I=0;D==1&&(I=q[0].scrollTop|0,s($=>N(v({},$),{bodyScrolls:I}))),it.get().isPhone||(q[0].scrollTop=0,A.addClass(Ar("FixScroll")).callback($=>{$[0].scrollTop=I}).await(40).addClass(Ar("Float")));return}it.get().isPhone||D==0&&A.hasClass(Ar("FixScroll"))&&A.removeClass(Ar("Float")).await(251).removeClass(Ar("FixScroll")).callback(()=>{(0,br.default)("html")[0].scrollTop=l.bodyScrolls||0,A[0].scrollTop=0})}),br.default.scope(()=>{let D=lt("#"+i);if(d){D.await(10).removeClass(Ar("Hide")).await(10).addClass(Ar("Open")).callback(()=>{un.contents[p].isOpen=!0,_&&_()});return}D.await(10).removeClass(Ar("Open")).await(251).addClass(Ar("Hide")).callback(()=>{if(!b||b(),un.contents[p].isOpen=!1,l.hold_state)return;delete un.contents[p];let A=Ge.get("Sheet-"+it.get().sessionUID);A&&A.refresh()})})},[d]),(0,qa.useEffect)(()=>{un.currentIndex++;let{close_option:D}=l;br.default.scope(()=>{if(!(D!=null&&D.parentBlur))return;let A=(0,br.default)(l.parent);A[0]&&A.addEvent({eventID:"SheetClosation-"+p,eventType:"mouseout",callback:()=>{A.removeEvent("SheetClosation-"+p),c(!1)}})})},[]);let[w,k]=h.split(".");return(0,vr.jsx)(E,{className:[Ar("Wrap"),Ar("Tcate_"+w),Ar("Tpos_"+k),Ar("isNewSheet_"+S)].join(" "),styles:{width:1,height:0,ssAbsoluteCovered:!0},freeCSS:{zIndex:un.currentIndex+1},id:i,children:(0,vr.jsxs)(_t,{className:Ar("Content"),styles:{gap:0,height:"viewHeight",overflow:"auto",transition:"middle"},children:[!!S&&(0,vr.jsx)(un.TapSensor,{sheetID:p,delegateAroundClick:(a=l.close_option)==null?void 0:a.aroundClick}),(0,vr.jsx)(T,v({componentID:i},l))]})},i)},Types:{Normal:r=>{let a=r,{sheetID:i,sheetGroups:l,bodyScrolls:s,content:d,className:c="",type:h,size:p="R",freeCSS:_,openAfter:b,closeAfter:S,close_option:T,hold_state:w,overwrap:k,isOpen:D,backgroundEffect:A,styles:q}=a,I=He(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect","styles"]),[$,F]=h.split("."),W={},P=[];return F.match(/top/)?(P.push("top"),W.marginBottom="auto"):F.match(/middle/)?(P.push("center"),W.marginTop="auto",W.marginBottom="auto"):F.match(/bottom/)&&(P.push("bottom"),W.marginTop="auto"),F.match(/left/i)?(P.push("left"),W.marginRight="auto"):F.match(/center/i)?(P.push("center"),W.marginLeft="auto",W.marginRight="auto"):F.match(/right/i)&&(P.push("right"),W.marginLeft="auto"),(0,vr.jsx)(E,N(v({className:[Ar("BB"),c].join(" ")},I),{styles:v(v({padding:1,transition:"long",opacity:"trans"},W),q),freeCSS:v({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100vw"}[p],maxWidth:"96vw",transformOrigin:P.join(" ")},_),children:br.default.is.function(d)?(0,vr.jsx)(d,{}):d}))},Edge:r=>{let a=r,{sheetID:i,sheetGroups:l,bodyScrolls:s,type:d,content:c,className:h="",size:p="R",freeCSS:_,openAfter:b,closeAfter:S,close_option:T,hold_state:w,overwrap:k,isOpen:D,backgroundEffect:A,styles:q}=a,I=He(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","freeCSS","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect","styles"]);return(0,vr.jsx)(E,N(v({className:[Ar("BB"),h].join(" ")},I),{styles:v(N(v({},d=="drawer.right"?{marginLeft:"auto"}:d=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),q),freeCSS:v({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},_),children:br.default.is.function(c)?(0,vr.jsx)(c,{}):c}))},Bottom:r=>{let a=r,{componentID:i,sheetID:l,sheetGroups:s,bodyScrolls:d,content:c,size:h="R",sizeChanged:p,baseStyles:_,openAfter:b,closeAfter:S,close_option:{swipeDown:T=!0}={},hold_state:w,overwrap:k,isOpen:D,backgroundEffect:A,styles:q}=a,I=He(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","close_option","hold_state","overwrap","isOpen","backgroundEffect","styles"]),$=br.default.getScreenSize(),F=[0,.2,.6,.95],W={ZERO:0,S:1,R:2,L:3},[P,oe]=(0,qa.useState)(h),[be,Q]=(0,qa.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:F[W[h]]});Ge.update({[i]:{val_edit:be,resize:Ce=>{let V=F[W[Ce]];Q(re=>N(v({},re),{value:V})),oe(Ce)}}});let he={Start:Ce=>{(0,br.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:he.Move}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:he.Move}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:he.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:he.End});let V=br.default.getCursor(Ce),re=N(v({},be),{process:!0,processStart:new Date().getTime(),originY:V.y,originValue:be.value,viewHeight:br.default.getScreenSize().height});Ge.update({[i]:{val_edit:re}}),Q(re)},Move:Ce=>{var V;let re=(V=Ge.get(i))==null?void 0:V.val_edit;if(!re.process)return;let ue=(br.default.getCursor(Ce).y-re.originY)/re.viewHeight,z=re.originValue-ue;if(z>.95)z=.95+(z-.95)*.5;else if(z<.2){let ee=.2-z;ee-=.1,z=.1+(.1-ee)*.5}Q(N(v({},re),{value:z}))},End:Ce=>{var V;let re=(V=Ge.get(i))==null?void 0:V.val_edit;if(!re.process)return;(0,br.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ue=0;if(re.value<.1||(re.value<.5?ue=1:re.value>.75?ue=3:ue=2),new Date().getTime()-re.processStart<300){let z=br.default.getCursor(Ce).y-re.originY;if(Math.abs(z)>=20){let ee=+(z<0)*2-1;ue+=ee,ue=Math.min(Math.max(ue,0),F.length-1)}}ue==0&&(T||(ue=1)),oe(["ZERO","S","R","L"][ue]),Q(N(v({},re),{value:F[ue],process:!1}))}},le=(0,qa.useRef)(!1);return(0,qa.useEffect)(()=>{le.current?P=="ZERO"?T&&Wt.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(P)},250):le.current=!0},[P]),(0,vr.jsx)(E,{className:Ar("BB"),styles:{margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long"},freeCSS:v({maxWidth:12*60,height:$.height*be.value},be.process?{transition:"0s"}:{}),children:(0,vr.jsxs)(_t,{styles:v({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",border:!0,borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},_),children:[(0,vr.jsx)(ct.Separate,{styles:{padding:"1/2",backgroundColor:"layer.1",position:"relative"},freeCSS:{userSelect:"none"},children:(0,vr.jsx)(ct.Center,{onMouseDown:he.Start,onTouchStart:he.Start,styles:{flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0},freeCSS:{cursor:"grab",userSelect:"none"},children:(0,vr.jsx)(E,{styles:{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0},className:Ar("DragBar")})})}),(0,vr.jsx)(E,N(v({},I),{styles:v({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},q),children:br.default.is.function(c)?(0,vr.jsx)(c,{}):c}))]})})},Custom:r=>{let a=r,{sheetID:i,sheetGroups:l,bodyScrolls:s,event:d,parent:c,nextToCursor:h,gravityPoint:p=22,content:_,close_option:b,hold_state:S,openAfter:T,closeAfter:w,overwrap:k,isOpen:D,backgroundEffect:A,styles:q,freeCSS:I}=a,$=He(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","close_option","hold_state","openAfter","closeAfter","overwrap","isOpen","backgroundEffect","styles","freeCSS"]),[F]=(0,qa.useState)(br.default.uuid.gen()),W=br.default.is.element(c)||br.default.is.jsmin(c)?(0,br.default)(c):lt(c),P='[data-sheet-id="'+F+'"]',oe='[data-sheet-content="'+F+'"]';p=p;let be=p%5||5,Q=Math.ceil(p/5),he=()=>{if(h&&d){let me=br.default.getScreenSize(),De=br.default.getCursor(d);return{top:De.y-me.pageYOffset,left:De.x-me.pageXOffset}}let V={},{top:re,right:ue,bottom:z,left:ee,height:te,width:se}=W.position();return[1,2].includes(be)?V.left=ee:be==3?V.left=ee+se/2:[4,5].includes(be)&&(V.left=ue),p<=10?V.top=re:p<=15?V.top=re+te/2:p<=25&&(V.top=z),V},[le,Ce]=(0,qa.useState)(he());return(0,qa.useEffect)(()=>{let V=re=>{let ue=lt(P).position(),z=lt(oe).position(),ee=br.default.getScreenSize(),te=v({},re);return z.top<0&&(te.top=ue.top-z.top),z.left<0&&(te.left=ue.left-z.left),z.right>ee.width&&(te.left=ue.left-(z.right-ee.width)),z.bottom>ee.height&&(te.top=ue.top-(z.bottom-ee.height)),te};lt(P).await(10).addClass(Ar("Open")).await(250).callback(()=>{Ce(re=>V(re))}),Ge.update({["customSheet-"+r.sheetID]:{reposition:()=>{setTimeout(()=>{Ce(re=>V(re))},200)}}})},[]),W[0]?(0,vr.jsx)(E,{className:[Ar("BB"),Ar("CustomSheet")].join(" "),"data-sheet-id":F,styles:{transition:"long",opacity:"trans",position:"absolute",width:0,height:0,flexCenter:!0},freeCSS:le,children:(0,vr.jsx)(tt,{className:[Ar("GPT"),Ar("GPT_"+p),Ar("Col_"+be),Ar("Row_"+Q)].join(" "),styles:{position:"absolute"},children:(0,vr.jsx)(E,N(v({"data-sheet-content":F},$),{styles:v({flexSizing:"none",maxHeight:"viewHeight",overflow:"auto",padding:1},q),freeCSS:v({maxWidth:"98vw"},I),children:br.default.is.function(_)?(0,vr.jsx)(_,{}):_}))})}):null}},TapSensor:r=>(0,vr.jsx)(E,{className:Ar("TapSensor"),children:(0,vr.jsx)(ie.Button.Plain,{className:Ar("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&Wt.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},Wt={Wrapper:()=>(0,vr.jsx)(un.Wrapper,{}),open:r=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let a=r.sheetID||br.default.uuid.gen(),i=r,{type:l,src:s}=i,d=He(i,["type","src"]);Wt.open(N(v({type:"normal.topCenter"},d),{styles:v({backgroundColor:"trans"},d.styles),sheetID:a,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[c]=(0,qa.useState)(br.default.flatArray(s)),[h,p]=(0,qa.useState)(0),_=[],b=[];return c.forEach((S,T)=>{_.push({value:T,label:(0,vr.jsx)(Nn,{src:br.default.flatArray(S)[0],styles:{width:"auto",height:1},freeCSS:{maxWidth:12*6,maxHeight:12*3}})}),b.push((0,vr.jsx)(Nn,{styles:{width:1,height:"auto"},src:br.default.flatArray(S)[0]}))}),(0,vr.jsxs)(_t,{styles:{gap:0},children:[(0,vr.jsxs)(ct.Separate,{styles:{gap:2,padding:1,backgroundColor:"layer.1",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary"},children:[(0,vr.jsx)(ht.Radio,{tone:"border",icon:!1,value:h,override:"force",styles:{horizontalAlign:"center"},onUpdateValidValue:({value:S})=>{p(S[0])},cellStyles:{borderWidth:2,padding:"1/3"},options:_}),(0,vr.jsxs)(ie.Button.Border.R,{color:"cloud",styles:{isRounded:!0},onClick:()=>{Wt.close(a)},children:["\u9589\u3058\u308B ",(0,vr.jsx)(Te.Times,{})]})]}),(0,vr.jsx)(Nf,{slideIndex:h,options:{loop:c.length>1,onSlideCallback:S=>{p(S)}},slides:b,wrapper:S=>(0,vr.jsx)(E,{styles:{borderBottomLeftRadius:"1.tone.primary",borderBottomRightRadius:"1.tone.primary"},children:S})})]})}}));return}un.addNewSheet(r)},refresh:(r,a)=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let i=Ge.get(r.sheetID);i&&i.refresh&&i.refresh(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=Ge.get(r.sheetID);a&&a.resize&&a.resize(r.size)},reposition:r=>{let a=Ge.get("customSheet-"+r);a&&a.reposition&&a.reposition()},close:function(r,a,i){var l;r=r==null?void 0:r.replace(/\./g,"-");let s=un.contents[r];if(s&&!(a=="Escape"&&!((l=s.p.close_option)!=null&&l.escapeKeyDown))){let{p:d}=s,{sheetID:c}=d,h=Ge.get(c);h&&h.close&&h.close(i)}},closeGroup:r=>{var a;r=(r||"").replace(/\./g,"-");for(let[i,l]of Object.entries(un.contents))(a=l.p.sheetGroups)!=null&&a.includes(r)&&Wt.close(i)},closeAll:r=>{var a;for(let[i,l]of Object.entries(un.contents))r&&((a=l.p.close_option)==null?void 0:a.pageTransit)==!1||Wt.close(i,"pageTransit",!0)},Comps:{Body:r=>(0,vr.jsx)(E,N(v({className:Ar("BaseBody")},r),{styles:v({backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r.styles)}))}};var Rl=K(wt()),cd=K(er()),On=K(rr());var Zl={Base:r=>{let a=r,{topNavigation:i,sideNavigation:l,footerNavigation:s,children:d,className:c}=a,h=He(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,cd.useEffect)(()=>{Zl.fn.updateCSSProperty.reset(),setTimeout(()=>{Zl.fn.updateCSSProperty.reset()},100);let _="ResizeCB",b="RemovePageEventCB";return(0,On.default)(window).addEvent({eventType:"resize",eventID:_,callback:()=>{it.get().screen.isPhonepoint()||(On.default.interval.clear("__RVC_calcHeights"),On.default.interval.standBy("__RVC_calcHeights",300,()=>{Zl.fn.updateCSSProperty.reset()}))}}),()=>{(0,On.default)(window).removeEvent(b),(0,On.default)(window).removeEvent(_)}},[]);let p=d;return(0,Rl.jsxs)(_t,N(v({className:[c,ka("RootViewController")].join(" ")},h),{styles:v({backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h.styles),children:[i,(0,Rl.jsxs)(tt,{className:ka("Body"),styles:{flexWrap:!1,position:"relative",flexSizing:0},children:[l,(0,Rl.jsx)(E,{className:ka("Content"),styles:{position:"relative",flexSizing:0,width:0},UnderBreakPointStyles:{width:"auto"},children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:i,children:l}=a,s=He(a,["className","children"]),[d]=(0,cd.useState)(On.default.uuid.gen());return(0,cd.useEffect)(()=>{Zl.fn.updateCSSProperty.topNav()},[]),(0,Rl.jsx)(tt,N(v({"data-id":d},s),{styles:v({flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s.styles),id:"__RVC_TopNavigation",className:[i,ka("TopNav")].join(" "),children:l}),d)},SideNavigation:r=>{let a=r,{className:i=""}=a,l=He(a,["className"]);return(0,Rl.jsx)(E,N(v({className:[i,ka("SideNav")].join(" ")},l),{styles:v({flexSizing:"none",minHeight:"sideNavigationHeight"},l.styles)}))},FooterNavigation:r=>{let a=r,{className:i="",baseStyles:l}=a,s=He(a,["className","baseStyles"]),[d]=(0,cd.useState)(On.default.uuid.gen());return(0,cd.useEffect)(()=>{Zl.fn.updateCSSProperty.footer()},[]),(0,Rl.jsx)(tt,{"data-id":d,styles:v({borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),id:"__RVC_FooterNavigation",className:[ka("FooterNav"),i].join(" "),children:(0,Rl.jsx)(tt,N(v({},s),{styles:v({gap:1,flexWrap:!1,padding:"2/3",margin:"auto"},s.styles)}))})},Comps:{Button:r=>{let a=r,{isActive:i,uri:l,uriGroup:s}=a,d=He(a,["isActive","uri","uriGroup"]),c=On.default.flatArray(s),h=location.pathname;{let p=!1;if(On.default.is.exist(l)&&On.default.is.string(l)){let _=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(_).pathname}if(!p&&c.length)for(let _ of c)On.default.is.nullish(_)||h.match(new RegExp(_))&&(p=!0);i=i!=null?i:p}return(0,Rl.jsx)(ie.Button.Clear.R,N(v({isActive:i,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{On.default.is.exist(l)&&On.default.is.string(l)&&Ln.push(l,p.ctrlKey||p.metaKey)},color:"cloud"},d),{styles:v({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},d.styles)}))},Bar:r=>(0,Rl.jsx)(E,N(v({},r),{styles:v({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],borderRadius:"sphere"},r.styles)})),Title:r=>(0,Rl.jsx)(E,N(v({},r),{styles:v({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r.styles)}))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,On.default)(document.body),a=lt("#__RVC_TopNavigation"),i=a.position().height||0,l=i;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",i+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,On.default)(document.body),a=lt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},reset:()=>{let r=(0,On.default)(document.body),a=lt("#__RVC_TopNavigation"),i=lt("#__RVC_FooterNavigation"),l=a.position().height||0,s=l,d=i.position().height||0;a.getStyleProperty("position")!="sticky"&&(s=0);let c=window.innerHeight,h=c-l-d;r.setStyleProperty("--topNavHeight",l+"px").setStyleProperty("--topBase",s+"px").setStyleProperty("--footerNavHeight",d+"px").setStyleProperty("--viewHeight",c+"px").setStyleProperty("--sideNavHeight",h+"px").setStyleProperty("--contentHeight",h+"px")}}}};var __=r=>{let[a,i]=(0,uc.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,i(r.pathname));let s=(0,uc.useRef)(!1);(0,uc.useEffect)(()=>{l&&(s.current?(Wt.closeAll(!0),Zl.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,uc.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,uc.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var u3=K(rr());var s3=!1,s_=r=>ua(void 0,null,function*(){if(s3)return{valid:!1,data:{}};let a=document.activeElement;a&&a.blur(),s3=!0;let i=(0,u3.default)(`[data-form="${r}"]`),l=1,s={};for(let d=0;d<i.length;d++){let c=i[d],{componentId:h=""}=c.dataset,p=Ge.get(h);p&&p.Refresh&&(yield p.Refresh());let{value:_,name:b,checked:S,dataset:{value:T,name:w="",inputType:k="",validation:D}}=i[d],A=T;b=b||w,D=+((D!=null?D:"true")=="true"),k=="hidden"?A&&(A=JSON.parse(A)):["radio","checkbox","checker"].includes(k)?A&&(A=JSON.parse(A),u3.default.is.array(A)?A=A.map(I=>JSON.parse(I)):A=JSON.parse(A),k=="radio"&&(A=A[0]),k=="checker"&&(A=!!A[0])):["chips-single","chips-multi"].includes(k)?(A=JSON.parse(A),A.length&&k=="chips-single"&&(A=A[0])):k=="time"||k=="select"||k=="richSelect"?A&&(A=JSON.parse(A)):k=="file"?p&&(A=p.Files):k=="slider"?A&&(A=JSON.parse(A)):k=="switch"&&(A=S|0);let q=(D!=null?D:1)|0;l&=q,D&&(s[b]=A)}return s3=!1,{valid:!!l,data:s}});var Ln={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Ln.open(r);return}Ln.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Ln.pushSync(r);return}Ln.__push(r)},back:()=>{Ln.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Ln.__push=r},setBackEffect:r=>{Ln.__back=r}};var ja=K(rr());var Lt={toConcreteBorderRadius:r=>{let a=it.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=>ja.default.is.nullish(r),ClassNames:(r,a)=>{var i,l,s,d,c,h,p;let _=[],{gap:b,display:S,position:T,overflow:w,fontColor:k,fontSize:D,fontWeight:A,backgroundColor:q,textAlign:I,textDecoration:$,boxShadow:F,margin:W,marginTop:P,marginRight:oe,marginBottom:be,marginLeft:Q,padding:he,paddingTop:le,paddingRight:Ce,paddingBottom:V,paddingLeft:re,top:ue,right:z,bottom:ee,left:te,border:se,borderTop:me,borderRight:De,borderBottom:Ae,borderLeft:Oe,borderWidth:je,borderColor:Xe,borderStyle:st,borderRadius:Ot,borderTopLeftRadius:vt,borderTopRightRadius:Kt,borderBottomLeftRadius:nr,borderBottomRightRadius:or,flexSizing:Ue,flexWrap:ar,flexType:ur,flexChilds:cr,flexGrid:sr,horizontalAlign:Er,verticalAlign:kr,transition:ta,gridCenter:Ua,gridCols:xa,maxHeight:Ra,minHeight:Kr,maxWidth:ra,minWidth:$r,width:Da,height:Rr,unitHeight:Mr,unitWidth:Gr,opacity:Ma}=a;{if(Lt.ev(S)||_.push("dsp"+S),w){let G=ja.default.flatArray(w);_.push("ovfl-x-"+G[0]),_.push("ovfl-y-"+(G[1]||G[0]))}Lt.ev(T)||_.push("ps"+T),Lt.ev(I)||_.push("txtalg"+I),Lt.ev(I)||_.push("txtdeco"+$),Lt.ev(k)||_.push("ftcl"+((i=String(k))==null?void 0:i.replace(/\./g,"_"))),Lt.ev(D)||_.push("ftsz"+((l=String(D))==null?void 0:l.replace(/\..*/,""))),Lt.ev(A)||_.push("ftwt"+(A==null?void 0:A.replace(/\..*/,""))),Lt.ev(q)||_.push("bgc"+((s=String(q))==null?void 0:s.replace(/\./g,"_"))),Lt.ev(F)||_.push("bs"+F);let Fe,pt,St,Xt;ja.default.is.exist(W)&&(ja.default.is.array(W)?W.length==2?[Fe,pt,St,Xt]=[...W,...W]:W.length==4&&([Fe,pt,St,Xt]=W):Fe=pt=St=Xt=W,P=P!=null?P:Fe,oe=oe!=null?oe:pt,be=be!=null?be:St,Q=Q!=null?Q:Xt),Lt.ev(P)||_.push("mrgt"+P),Lt.ev(oe)||_.push("mrgr"+oe),Lt.ev(be)||_.push("mrgb"+be),Lt.ev(Q)||_.push("mrgl"+Q);let $t,Nr,yr,ca;ja.default.is.exist(he)&&(ja.default.is.array(he)?he.length==2?[$t,Nr,yr,ca]=[...he,...he]:he.length==4&&([$t,Nr,yr,ca]=he):$t=Nr=yr=ca=he,le=le!=null?le:$t,Ce=Ce!=null?Ce:Nr,V=V!=null?V:yr,re=re!=null?re:ca),Lt.ev(le)||_.push("pdt"+le),Lt.ev(Ce)||_.push("pdr"+Ce),Lt.ev(V)||_.push("pdb"+V),Lt.ev(re)||_.push("pdl"+re),Lt.ev(ue)||_.push("pstt"+ue),Lt.ev(z)||_.push("pstr"+z),Lt.ev(ee)||_.push("pstb"+ee),Lt.ev(te)||_.push("pstl"+te);{ja.default.is.exist(se)&&(me=me!=null?me:se,De=De!=null?De:se,Ae=Ae!=null?Ae:se,Oe=Oe!=null?Oe:se),ja.default.is.boolean(me)&&(me=["unset","2.normal"][Number(me)]),ja.default.is.boolean(De)&&(De=["unset","2.normal"][Number(De)]),ja.default.is.boolean(Ae)&&(Ae=["unset","2.normal"][Number(Ae)]),ja.default.is.boolean(Oe)&&(Oe=["unset","2.normal"][Number(Oe)]),Lt.ev(me)||_.push("b_t_ss"+((d=String(me))==null?void 0:d.replace(/\..*/,""))),Lt.ev(De)||_.push("b_r_ss"+((c=String(De))==null?void 0:c.replace(/\..*/,""))),Lt.ev(Ae)||_.push("b_b_ss"+((h=String(Ae))==null?void 0:h.replace(/\..*/,""))),Lt.ev(Oe)||_.push("b_l_ss"+((p=String(Oe))==null?void 0:p.replace(/\..*/,""))),ja.default.is.exist(je)&&_.push("b_wth"+String(je)),ja.default.is.exist(Xe)&&_.push("b_cl"+String(Xe)),ja.default.is.exist(st)&&_.push("b_st"+String(st));{let G,ae,B,H;ja.default.is.exist(Ot)&&(ja.default.is.array(Ot)?Ot.length==4&&([G,ae,H,B]=Ot):G=ae=B=H=Ot,vt=vt!=null?vt:G,Kt=Kt!=null?Kt:ae,nr=nr!=null?nr:B,or=or!=null?or:H)}Lt.ev(vt)||_.push("br_tl"+Lt.toConcreteBorderRadius(vt)),Lt.ev(Kt)||_.push("br_tr"+Lt.toConcreteBorderRadius(Kt)),Lt.ev(nr)||_.push("br_bl"+Lt.toConcreteBorderRadius(nr)),Lt.ev(or)||_.push("br_br"+Lt.toConcreteBorderRadius(or))}if(Lt.ev(Ma)||_.push("op"+Ma),ja.default.is.exist(b)){let G,ae;ja.default.is.array(b)?(G=b[0],ae=b[1]):G=ae=b,_.push("gapRow"+G,"gapCol"+ae)}Lt.ev(Ue)||_.push("flsz"+Ue),Lt.ev(ar)||_.push("flwrp"+ar),Lt.ev(ur)||_.push("fltyp"+ur),Lt.ev(cr)||_.push("flchld"+cr),Lt.ev(sr)||_.push("flgrid"+sr),Lt.ev(kr)||_.push("flvrt"+kr),Lt.ev(Er)||_.push("flhrz"+Er),Lt.ev(Ua)||_.push("grcnt"+Ua),Lt.ev(xa)||_.push("grcol"+xa),Lt.ev(Rr)||_.push("hgt"+Rr),Lt.ev(Da)||_.push("wdt"+Da),Lt.ev(Mr)||_.push("unthgt"+Mr),Lt.ev(Gr)||_.push("untwdt"+Gr),Lt.ev(ta)||_.push("trnst"+ta),Lt.ev(Ra)||_.push("maxh"+Ra),Lt.ev(Kr)||_.push("minh"+Kr),Lt.ev(ra)||_.push("maxw"+ra),Lt.ev($r)||_.push("minw"+$r)}return _.length?r+_.join(" "+r):""}},Zh=r=>{let a=v({},r),{styles:i={}}=a,l=i,{gradients:s,ssCardBox:d,ssSphere:c,ssSquare:h,ssPushable:p,ssAbsoluteCovered:_,ssTextEllipsis:b,flexCenter:S,flexNewLine:T,isLightFont:w,isBoldFont:k,isSemiBoldFont:D,isRounded:A}=l,q=He(l,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded"]),I=a,{freeCSS:$={}}=I,F=He($,[]),W=He(I,["styles","freeCSS"]);if(q=q||{},F=F||{},W=W||{},s){let{deg:P,colors:oe}=s;F=N(v({},F),{background:`linear-gradient(${P}deg,${oe.join(",")})`})}if(d){d===!0&&(d="border");let P={styles:{backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"},freeCSS:{zIndex:1}};d=="border"?P.styles.border=!0:d=="layer"?P.styles.backgroundColor="layer.1":d=="cloud"?P.styles.backgroundColor="cloud":d=="shadow"&&(P.styles.boxShadow="0.normal"),it.get().darkMode=="dim"&&(P.styles.boxShadow="1.normal"),it.get().darkMode=="dark"&&(P.styles.boxShadow="1.remark"),F=v(v({},P.freeCSS),F),q=v(v({},P.styles),q)}return c&&(S=S!=null?S:!0,q=v({padding:0,unitWidth:c,unitHeight:c,borderRadius:"sphere",flexSizing:"none"},q)),h&&(S=S!=null?S:!0,q=v({padding:0,unitWidth:h,unitHeight:h,flexSizing:"none"},q)),p&&(q=v({transition:"middle"},q),W=N(v({},W),{className:[W.className,"ssPushable"].join(" ")})),_&&(q=v({position:"absolute",top:0,left:0,right:0,bottom:0},q)),b&&(q=v({overflow:"hidden"},q),F=v({whiteSpace:"nowrap",textOverflow:"ellipsis"},F)),T&&(q=v({width:1,flexSizing:"none"},q)),S&&(q=v({display:"flex",horizontalAlign:"center",verticalAlign:"center"},q)),w&&(q.fontWeight="1.light"),D&&(q.fontWeight="3.semiBold"),k&&(q.fontWeight="4.bold"),A&&(ja.default.is.number(A)?F.borderRadius=A*12:q.borderRadius="sphere"),N(v({},W),{styles:q,freeCSS:F})},Wr=r=>{let a=Zh(r),{componentID:i,styles:l={},UnderBreakPointStyles:s={},className:d="",freeCSS:c={}}=a,h=He(a,["componentID","styles","UnderBreakPointStyles","className","freeCSS"]),p=[d];if(l.ssLastChildLossBorder&&p.push("ssLastChildLossBorder_"+l.ssLastChildLossBorder),l.ssEffectsOnActive){l.ssEffectsOnActive=ja.default.flatArray(l.ssEffectsOnActive);for(let b of l.ssEffectsOnActive)p.push("eff_"+b,"eff_"+b.split(".")[0])}{let b=Lt.ClassNames("amotf_",l);p.push(b)}s&&p.push(Lt.ClassNames("amotf_bp",s));let _=v({},h);return c&&(_.style=v(v({},c),_.style)),(i||_["data-component-id"])&&(_["data-component-id"]=_["data-component-id"]||i),p.length&&(_.className=p.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),_};var il=K(wt());var p3=K(er());var c3=K(wt()),d3=K(rr());var Ff=K(er());var _O=r=>{let a=r,{animationDelay:i=100,animationTime:l=300,componentID:s=d3.default.uuid.gen()}=a,d=He(a,["animationDelay","animationTime","componentID"]),[c]=(0,Ff.useState)(s);return(0,Ff.useEffect)(()=>{setTimeout(()=>{let h=lt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},i)},[]),(0,c3.jsx)(E,N(v({},d),{freeCSS:N(v({},d.freeCSS),{opacity:0}),componentID:c}))},bO=r=>{let a=r,{animationDelay:i=100,animationTime:l=300,componentID:s=d3.default.uuid.gen()}=a,d=He(a,["animationDelay","animationTime","componentID"]),[c]=(0,Ff.useState)(s);return(0,Ff.useEffect)(()=>{setTimeout(()=>{let h=lt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},i)},[]),(0,c3.jsx)(E,N(v({},d),{styles:v({paddingTop:2},d.styles),freeCSS:N(v({},d.freeCSS),{opacity:0}),componentID:c}))};var es=K(rr());var yO="eff_ripple",sm={Start:r=>{let a=es.default.Time().ms,i=r.target,l=(0,es.default)(i);if(!l[0])return;let s=l.findClass(/^eff_ripple-/)[0];if(!s)return;let d=s.split("-")[1],c="RippleWrap-"+es.default.uuid.gen(),{left:h,top:p,height:_,width:b}=l.position(),{pageXOffset:S,pageYOffset:T}=es.default.getScreenSize(),{x:w,y:k}=es.default.getCursor(r),D=Math.min(b*1.5,300),A=Math.max(w-(h+S),0),q=Math.max(k-(p+T),0),I={RippleElement:l,startedAt:a,size:D};(0,es.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{sm.End(I)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{sm.End(I)},20)}}),(0,es.default)(l).addClass([ql("RippleElement"),ql("Color_"+d)]).append(`<div class="${ql("RippleWrap")}" id="${c}">
|
|
927
927
|
<div class="${ql("Wave")}" />
|
|
928
|
-
</div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:$=>{sm.End(I)}}).find("#"+c).find("."+ql("Wave")).css({left:A,top:q}).await(10).css({height:D,width:D,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:i,size:l}=r,s=es.default.Time().ms-i<=400?".75s":".55s",d=l*2.5;(0,es.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+ql("Wave")).css({height:d,width:d,opacity:"0",transition:s}).await(750).parent().callback(c=>{c.remove()})}},SO={Wrapper:()=>(typeof window=="undefined"||(0,es.default)(it.get().appRoot).addEvent({eventType:"touchstart",eventID:"RippleTouchStart",target:"."+yO,callback:r=>{sm.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:"."+yO,callback:r=>{it.get().isTouchDevice||sm.Start(r)}}),null)};var f3=K(rr());var
|
|
928
|
+
</div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:$=>{sm.End(I)}}).find("#"+c).find("."+ql("Wave")).css({left:A,top:q}).await(10).css({height:D,width:D,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:i,size:l}=r,s=es.default.Time().ms-i<=400?".75s":".55s",d=l*2.5;(0,es.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+ql("Wave")).css({height:d,width:d,opacity:"0",transition:s}).await(750).parent().callback(c=>{c.remove()})}},SO={Wrapper:()=>(typeof window=="undefined"||(0,es.default)(it.get().appRoot).addEvent({eventType:"touchstart",eventID:"RippleTouchStart",target:"."+yO,callback:r=>{sm.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:"."+yO,callback:r=>{it.get().isTouchDevice||sm.Start(r)}}),null)};var f3=K(rr());var CO={Wrapper:()=>(typeof window=="undefined"||(0,f3.default)(it.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:".eff_pudding",callback:function(r){(0,f3.default)(r.target).removeClass(ql("PuddingEffect")).await(1).addClass(ql("PuddingEffect")).await(510).removeClass(ql("PuddingEffect"))}}),null)};var mu={Ripple:SO,Pudding:CO,FadeIn:_O,FadeUp:bO};var b_=r=>{var a;let i=Sf.set("RootViewController_"+it.get().sessionUID);return(0,il.jsxs)(il.Fragment,{children:[(0,il.jsx)("style",{children:r.inlineCSS}),(0,il.jsxs)("amotify-app",{id:"appRoot_"+it.get().sessionUID,children:[(0,il.jsx)(mu.Pudding.Wrapper,{}),(0,il.jsx)(mu.Ripple.Wrapper,{}),(0,il.jsx)(Ga.Wrapper,{}),(0,il.jsx)(Yn.Wrapper,{}),(0,il.jsx)(Wt.Wrapper,{}),(0,il.jsx)(E,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},i)]})]})};var y_=K(rr()),lt=r=>{let a=it.get().appRoot;return y_.default.is.shadowRoot(a)?(0,y_.default)(a).find(r):(0,y_.default)(r)};var g3={};Gc(g3,{Box:()=>E,FAI:()=>Te,Flex:()=>tt,FlexBr:()=>sB,Grid:()=>Zr,Img:()=>Nn,Logo:()=>kt,P:()=>TO,Placeholder:()=>S_,Span:()=>Vn});var Qt=K(wt()),m3=K(rr());var wO={ComunIcon:()=>(0,Qt.jsx)("svg",{viewBox:"0,0,1200,1200",className:$o("ComunIcon"),children:(0,Qt.jsxs)("g",{children:[(0,Qt.jsx)("path",{d:`
|
|
929
929
|
M
|
|
930
930
|
100,600
|
|
931
931
|
A 500,500 0 0,0 600,1100
|
|
@@ -975,11 +975,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
975
975
|
L600,600
|
|
976
976
|
L600,300
|
|
977
977
|
Z
|
|
978
|
-
`,className:[$o("P"),$o("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,Qt.jsxs)("svg",{viewBox:"0,0,1200,1200",className:$o("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},cc={Icon:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(CO.MingooIcon,{})})),Title:r=>(0,Qt.jsx)(kt.Title,N(v({className:$o("ComunTitle")},r),{styles:v({height:"auto"},r.styles),freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:i,color:l}=a,s=He(a,["size","color"]);return(0,Qt.jsxs)(tt,N(v({},s),{styles:v({gap:"1/2",flexCenter:!0},s.styles),children:[(0,Qt.jsx)(cc.Icon,{size:i,color:l}),(0,Qt.jsx)(cc.Title,{size:i,color:l})]}))},LogoV:r=>{let a=r,{size:i,color:l}=a,s=He(a,["size","color"]);return(0,Qt.jsxs)(tt,N(v({},s),{styles:v({flexType:"col",gap:"1/2"},s.styles),children:[(0,Qt.jsx)(cc.Icon,{styles:{margin:"auto"},size:i,color:l}),(0,Qt.jsx)(cc.Title,{size:i,color:l})]}))}},dc={Icon:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(CO.ComunIcon,{})})),Title:r=>(0,Qt.jsx)(kt.Title,N(v({className:$o("ComunTitle")},r),{styles:v({height:"auto"},r.styles),freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:i,color:l}=a,s=He(a,["size","color"]);return(0,Qt.jsxs)(tt,N(v({},s),{styles:v({gap:"1/2",flexCenter:!0},s.styles),children:[(0,Qt.jsx)(dc.Icon,{size:i,color:l}),(0,Qt.jsx)(dc.Title,{size:i,color:l})]}))},LogoV:r=>{let a=r,{size:i,color:l}=a,s=He(a,["size","color"]);return(0,Qt.jsxs)(tt,N(v({},s),{styles:v({flexType:"col",gap:"1/2"},s.styles),children:[(0,Qt.jsx)(dc.Icon,{styles:{margin:"auto"},size:i,color:l}),(0,Qt.jsx)(dc.Title,{size:i,color:l})]}))}},vu="https://cdn.amotify.com/",kt={Icon:r=>{let a=r,{size:i="R",color:l="normal",className:s="",children:d}=a,c=He(a,["size","color","className","children"]);return(0,Qt.jsx)(tt,N(v({className:[s,$o("Icon"),$o("Size_"+i)].join(" ")},c),{styles:v({verticalAlign:"center"},c.styles),children:m3.default.is.function(d)?(0,Qt.jsx)(d,{}):d}))},Title:r=>{let a=r,{size:i="R",color:l="normal",className:s="",children:d}=a,c=He(a,["size","color","className","children"]);return(0,Qt.jsx)(tt,N(v({className:[s,$o("Title"),$o("Size_"+i)].join(" ")},c),{styles:v({verticalAlign:"center",fontColor:l=="white"?"white":"logo"},c.styles),freeCSS:v({lineHeight:"1.25"},c.freeCSS),children:m3.default.is.function(d)?(0,Qt.jsx)(d,{}):d}))},Brands:{MingooIcon:cc.Icon,MingooTitle:cc.Title,MingooLogoH:cc.LogoH,MingooLogoV:cc.LogoV,ComunIcon:dc.Icon,ComunTitle:dc.Title,ComunLogoH:dc.LogoH,ComunLogoV:dc.LogoV,Google:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(Nn,{src:vu+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(Nn,{src:vu+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(Nn,{src:vu+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(Nn,{src:vu+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:vu+"@env/@logos/mingoo/icon.png",mingooIconClear:vu+"@env/@logos/mingoo/iconClear.png",comunIcon:vu+"@env/@logos/comun/icon.png",comunIconClear:vu+"@env/@logos/comun/iconClear.png",defaultIcon:r=>vu+"@env/@icon/"+(r||"image")+".png"}};var xO=K(Ct());var TO=r=>{let a=Wr(r),{freeCSS:i}=a,l=He(a,["freeCSS"]);return(0,xO.jsx)("p",v({},l))};var v3=K(Ct());var S_=r=>{let a=r,{color:i="cloud"}=a,l=He(a,["color"]);return(0,v3.jsx)(E,N(v({className:[Fg("Placeholder"),r.className].join(" ")},l),{styles:v({flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l.styles),children:(0,v3.jsx)(E,{className:[Fg("Body"),Fg("Color_"+i)].join(" ")})}))};var y3={};Gc(y3,{Accordion:()=>Hf,Column:()=>_t,LinkifyText:()=>w_,List:()=>fc,Row:()=>ct,Text:()=>yt});var _3=K(Ct()),gu=K(er()),um=K(rr());var EG=r=>{r=v({},r);let a=r,{accordionID:i="",slideAnimation:l="fast",defaultOpen:s=!1,override:d=!1}=a,c=He(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,gu.useState)(um.default.uuid.gen()),[p]=(0,gu.useState)(um.default.uuid.gen()),[_,b]=(0,gu.useState)(s);_!=s&&d&&b(s);let S=(0,gu.useRef)(!1);return(0,gu.useEffect)(()=>{let T=lt('[data-accordion-content-id="'+p+'"]')[0];if(T){let C=T.offsetHeight,k=0;l=="fast"?(k=C/1e3,k=Math.max(k,.2)):l=="slow"&&(k=C/300),lt("#"+h).css({transition:k+"s"})}},[]),(0,gu.useEffect)(()=>{var T,C;let k=lt("#"+h),D=lt('[data-accordion-content-id="'+p+'"]')[0];if(S.current){if(D){let A=D.offsetHeight;um.default.is.exist(A)&&(_?k.css({maxHeight:A+1+"px"}).await(200).css({maxHeight:"unset",overflow:((T=r==null?void 0:r.styles)==null?void 0:T.overflow)||"unset"}):k.css({maxHeight:A+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(S.current=!0,D){let A=D.offsetHeight;um.default.is.exist(A)&&(_?k.css({maxHeight:A+1+"px"}).await(200).css({maxHeight:"unset",overflow:((C=r==null?void 0:r.styles)==null?void 0:C.overflow)||"unset"}):k.css({maxHeight:"0px",overflow:"hidden"}))}},[_]),i&&Ge.set({["Accordion-"+i]:{open:()=>{b(!0)},close:()=>{b(!1)},toggle:()=>{b(!_)}}}),(0,_3.jsx)(E,{className:[t2("Wrap"),t2("Open_"+_)].join(" "),id:h,children:(0,_3.jsx)(E,v({"data-accordion-content-id":p},c))})},Hf=EG;Hf.fn={open:r=>{let a=Ge.get("Accordion-"+r);!a||a.open()},close:r=>{let a=Ge.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=Ge.get("Accordion-"+r);!a||a.toggle()}};var cm=K(Ct());var w_=r=>{let{text:a,placeholder:i}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...c)=>{let h=c[0];return s.push(h),"[$_url]"});let d=a.split("[$_url]");for(let c=0;c<=d.length-1;c++){let h=d[c],p=s[c];l.push(h),c<d.length-1&&l.push((0,cm.jsx)(ie.Anchor.Link,{href:p,newTab:!0,children:p},"Link-"+c))}}else i&&(l=[i]);return(0,cm.jsx)(cm.Fragment,{children:l})};var b3=K(Ct());var fc=r=>{let a=r,{rows:i,rowStyles:l}=a,s=He(a,["rows","rowStyles"]),d=i.map((c,h)=>{let p=c,{children:_}=p,b=He(p,["children"]);return(0,b3.jsx)(tt,N(v({},b),{styles:v(v({},l),b.styles),freeCSS:v(v({},l==null?void 0:l.freeCSS),b.freeCSS),children:_}),h)});return(0,b3.jsx)(tt,N(v({},s),{styles:v({flexType:"col"},s.styles),children:d}))};var LG=K(S3());no(bn,K(S3()));var O3={};Gc(O3,{DesignBook:()=>Lz});var m=K(Ct()),bu=K(er()),hc=K(rr());var B3={};Gc(B3,{Button:()=>ie,Cropper:()=>k_,Effect:()=>mu,Input:()=>ht,Loader:()=>Ga,PageNotFound:()=>Az,PageViewController:()=>C_,Plate:()=>dm,RootViewController:()=>Zl,Sheet:()=>Wt,Snackbar:()=>Yn,SwipeView:()=>Nf,TabBar:()=>T_,Table:()=>qn,Tooltips:()=>Yr});var EO=K(Ct());var dm=r=>{let a=r,{size:i="R"}=a,l=He(a,["size"]),s={XS:48,S:60,R:72,L:84,XL:100,MAX:120}[i];return(0,EO.jsx)(E,N(v({},l),{styles:v({margin:[0,"auto"],width:1},l.styles),freeCSS:v({maxWidth:12*s},l.freeCSS)}))};var fm=K(Ct()),kO=K(er());var C_=r=>{let{viewIndex:a=0,views:i,wrapper:l=c=>(0,fm.jsx)(mu.FadeIn,{animationTime:400,children:c},a)}=r;a=Math.min(Math.max(a,0),i.length);let[s,d]=(0,kO.useState)(a);return s!=a&&d(a),(0,fm.jsx)(fm.Fragment,{children:l(i[a])})};var x_=K(Ct()),RO=K(er());var T_=r=>{let a=r,{tabIndex:i,tabs:l,onTabChange:s,componentDidMount:d}=a,c=He(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,RO.useEffect)(()=>{d&&d()},[]),(0,x_.jsx)(tt,N(v({},c),{styles:v({position:"relative",overflow:"auto",flexWrap:!1},c.styles),freeCSS:v({zIndex:3,whiteSpace:"nowrap"},c.freeCSS),children:(0,x_.jsx)(E,{styles:{margin:[0,"auto"]},children:(0,x_.jsx)(ht.Segmented.BottomLine,{value:i,styles:{fontColor:"inherit",gap:0},override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{let p=h.value[0];s&&s(p)}})})}))};var pc=K(Ct());var Pr={Table:r=>{let a=Wr(r);return(0,pc.jsx)("table",N(v({},a),{border:a.border}))},Head:r=>(0,pc.jsx)("thead",v({},Wr(r))),Body:r=>(0,pc.jsx)("tbody",v({},Wr(r))),Row:r=>(0,pc.jsx)("tr",v({},Wr(r))),TH:r=>(0,pc.jsx)("th",v({},Wr(r))),TD:r=>(0,pc.jsx)("td",v({},Wr(r))),RightIndicator:{type:"td",styles:{unitWidth:4},children:(0,pc.jsx)(Te.AngleRight,{styles:{fontColor:"theme",fontSize:"4.thirdTitle"}})}};var Oo=K(Ct());var w3=K(Ct()),AO=K(rr());var DO=(r,a)=>{if(a=="plain")return{};let i={};return r=="drag"&&(i.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(i.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(i.borderRight="2.normal"),v({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},i)},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 jf=r=>{let a=v({},r),{JSXChildren:i}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=N(v({tableID:a.tableID||AO.default.uuid.gen(),tone:a.tone},a),{cellStyles:v(v({},DO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l.styles=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l.styles));let s=Wr(l),{className:d,style:c}=s,h=He(s,["className","style"]),p=[d,Vt("Wrap"),Vt("TableType_"+a.type),Vt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,w3.jsx)(E,{className:p,style:c,children:(0,w3.jsx)(i,v({},h))})};var C3={HeadRow:r=>{let{cellStyles:a={},cellClassName:i="",cellStylesCallback:l,colLength:s,head:d,rows:c}=r;if(!d)return null;let h=[];return d.forEach((p,_)=>{let b=Pr[p.type=="th"?"TH":"TD"],S={top:!0,bottom:!c.length,left:_==0,right:_==s-1,rowIndex:0,colIndex:_,isBody:!1,isHeader:!0};h.push((0,Oo.jsx)(b,N(v({},p),{className:[Vt("Cell"),i,p.className].join(" "),styles:v(v(v(v({},a),ll(S)),l?l(S):{}),p.styles),freeCSS:v(v(v({},a.freeCSS),l?l(S).freeCSS:{}),p.freeCSS)}),_))}),(0,Oo.jsx)(Pr.Row,{className:[Vt("Row"),Vt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:i="",cellStylesCallback:l,head:s,rows:d,colLength:c,onRowClick:h}=r,p=[];return d.forEach((_,b)=>{let S=[];_.forEach((T,C)=>{let k=Pr[T.type=="th"?"TH":"TD"],D={top:b==0&&!s,bottom:b==d.length-1,left:C==0,right:C==c-1,rowIndex:b,colIndex:C,isBody:!0,isHeader:!1};S.push((0,Oo.jsx)(k,N(v({},T),{className:[Vt("Cell"),i,T.className].join(" "),styles:v(v(v(v({},a),ll(D)),l?l(D):{}),T.styles),freeCSS:v(v(v({},a.freeCSS),l?l(D).freeCSS:{}),T.freeCSS)}),C))}),p.push((0,Oo.jsx)(Pr.Row,{className:[Vt("Row"),Vt("BodyRow")].join(" "),children:S,onClick:T=>{h&&h(_.rowID,T)}},b))}),(0,Oo.jsx)(Oo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,i)=>(a.rowID=a.rowID||i,a)),(0,Oo.jsx)(Pr.Table,{className:Vt("Table"),children:(0,Oo.jsxs)(Pr.Body,{children:[(0,Oo.jsx)(C3.HeadRow,v({},r)),(0,Oo.jsx)(C3.BodyRows,v({},r))]})}))},NO=r=>(0,Oo.jsx)(jf,N(v({type:"normal"},r),{JSXChildren:C3.Normal}));var _a=K(Ct()),Wf=K(er()),Uf=K(rr());var T3=K(IO());var E3={HeadRow:r=>{let{cellStyles:a={},cellClassName:i="",cellStylesCallback:l,colLength:s,head:d,rows:c}=r;if(!d)return null;let h=[];for(let p=0;p<s;p++){let _=d[p],b=Pr[_.type=="th"?"TH":"TD"],S={top:!0,bottom:!c.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0};h.push((0,_a.jsx)(b,N(v({},_),{styles:v(v(v(v({},a),ll(S)),l?l(S):{}),_.styles),freeCSS:v(v(v({},a.freeCSS),l?l(S).freeCSS:{}),_.freeCSS),className:[Vt("Cell"),i,_.className].join(" ")}),p))}return(0,_a.jsx)(Pr.Row,{className:[Vt("Row"),Vt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:i="",cellStylesCallback:l,head:s,rows:d,colLength:c,onOrderChanged:h}=r,[p]=(0,Wf.useState)(Uf.default.uuid.gen()),[_,b]=(0,Wf.useState)({rows:d,origin:0,to:NaN}),S=[];if(_.rows.forEach((T,C)=>{let k=[];{let D={top:C==0&&!s,bottom:C==d.length-1,left:!0,right:!1,rowIndex:C,colIndex:0,isBody:!0,isHeader:!1};k.push((0,_a.jsx)(Pr.TH,{styles:v(v(v({padding:0,borderRight:!0},a),ll(D)),l?l(D):{}),freeCSS:v(v({},a.freeCSS),l?l(D).freeCSS:{}),className:[Vt("Cell"),Vt("Draggable"),i].join(" "),children:(0,_a.jsx)(ie.Button.Clear.R,{className:Vt("DragableButton"),styles:{fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3},tabIndex:-1,onMouseDown:A=>{Vf.Start(A,{id:p,index:C,rows:_.rows,maxLength:d.length})},onTouchStart:A=>{Vf.Start(A,{id:p,index:C,rows:_.rows,maxLength:d.length})},children:(0,_a.jsx)(Te,{icon:T3.faGripVertical})})},"DragOrigin"))}T.forEach((D,A)=>{D=v({},D);let q=Pr[D.type=="th"?"TH":"TD"],I={top:!!s&&!s.length,bottom:C==d.length-1,left:!1,right:A==c-2,rowIndex:C,colIndex:A,isBody:!0,isHeader:!1};k.push((0,_a.jsx)(q,N(v({},D),{styles:v(v(v(v({},a),ll(I)),l?l(I):{}),D.styles),freeCSS:v(v(v({},a.freeCSS),l?l(I).freeCSS:{}),D.freeCSS),className:[Vt("Cell"),i,D.className].join(" ")}),A))}),S.push((0,_a.jsx)(Pr.Row,{id:"TableRow-"+p+"-"+C,className:[Vt("Row"),Vt("BodyRow")].join(" "),children:k},C))}),!isNaN(_.to)){let{origin:T,to:C}=_,k=[];k.push((0,_a.jsx)(Pr.TH,{styles:{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal"},className:[Vt("Cell"),Vt("Draggable"),i].join(" "),children:(0,_a.jsx)(Te.ArrowRight,{styles:{fontColor:"theme"}})},"dragButton")),_.rows[T].forEach((D,A)=>{D=v({},D);let q=Pr[D.type=="th"?"TH":"TD"],I={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1};k.push((0,_a.jsx)(q,N(v({className:[Vt("Cell"),i,D.className].join(" ")},D),{styles:v(v(v(v({backgroundColor:"theme.opa.low"},a),ll(I)),l?l(I):{}),D.styles),freeCSS:v(v(v({},a.freeCSS),l?l(I).freeCSS:{}),D.freeCSS)})))}),S.splice(C,0,(0,_a.jsx)(Pr.Row,{className:[Vt("Row"),Vt("Pre")].join(" "),children:k},"preSet"))}return(0,Wf.useEffect)(()=>{Ge.set({[p]:{swap:(T,C)=>{if(C||C==0){let k=_.rows[T],D=[..._.rows];D.splice(T,1),D.splice(C-(T<C?1:0),0,k),b({rows:D,origin:0,to:NaN}),h(D.map(A=>JSON.parse(A.rowID)))}},preSet:T=>{let{origin:C,index:k}=T;b({rows:_.rows,origin:C,to:k})}}})}),(0,Wf.useEffect)(()=>()=>{Ge.delete(p)},[]),(0,_a.jsx)(_a.Fragment,{children:S})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,_a.jsx)(ie.Button.Clear.R,{styles:{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme"},onMouseOver:a=>{Yr.open({parent:a.currentTarget,content:(0,_a.jsxs)(Yr.Comps.Body,{children:[(0,_a.jsx)(Te,{icon:T3.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,_a.jsx)(Te.QuestionCircle,{})}),styles:{padding:[0,1],unitWidth:4}},...r.head]),r.rows=r.rows.map((a,i)=>(a.rowID=JSON.stringify(a.rowID||i),a)),(0,_a.jsx)(Pr.Table,{className:Vt("Table"),children:(0,_a.jsxs)(Pr.Body,{children:[(0,_a.jsx)(E3.HeadRow,v({},r)),(0,_a.jsx)(E3.BodyRows,v({},r))]})}))},FO=r=>(0,_a.jsx)(jf,N(v({type:"drag"},r),{JSXChildren:E3.Drag})),Vf={Start:function(r,a){return ua(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:i,index:l,rows:s,maxLength:d}=a;lt("#TableRow-"+i+"-"+l).addClass(Vt("DraggerOrigin")),(0,Uf.default)(document).addEvent({eventID:"DragMouseMove",eventType:"mousemove",callback:c=>{Vf.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:c=>{Vf.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"mouseup",callback:c=>{Vf.End(c,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:c=>{Vf.End(c,a)}})})},Move:function(r,a){let{id:i,maxLength:l}=a,s=Uf.default.getCursor(r).y-Uf.default.getScreenSize().scrollY;for(let d=0;d<l;d++){let c=lt("#TableRow-"+i+"-"+d),{top:h,bottom:p,height:_}=c.position();d==0&&s<h?a.insertIndex=0:d===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=d+1)}{let{index:d,insertIndex:c}=a,h=Ge.get(i);h&&h.preSet&&h.preSet({origin:d,index:c})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:i,index:l,insertIndex:s}=a,d=Ge.get(i);d&&d.swap&&d.swap(l,s),lt("#TableRow-"+i+"-"+l).removeClass(Vt("DraggerOrigin")),(0,Uf.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Rt=K(Ct()),_u=K(er()),zo=K(rr());var GO=K(rS()),qO=K(nS()),KO=K(eS()),XO=K($O());var zn={__memoryID:zo.default.uuid.gen(),Header:r=>{var a,i;let{val_status:l,set_status:s,KeywordFilterRows:d}=v({},r),{order:c,filter:h}=l,[p,_]=c.current,b=[],S=[...l.head];if(l.checker){let T={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0};b.push((0,Rt.jsx)(Pr.TH,{styles:v(v(N(v({},l.cellStyles),{fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0}),ll(T)),l.cellStylesCallback?l.cellStylesCallback(T):{}),freeCSS:N(v(v({},(a=l.cellStyles)==null?void 0:a.freeCSS),l.cellStylesCallback?l.cellStylesCallback(T).freeCSS:{}),{zIndex:2}),className:[Vt("Cell"),l.cellClassName].join(" "),children:(0,Rt.jsx)(E,{styles:{flexCenter:!0},children:(0,Rt.jsx)(ht.Checker,{label:null,value:!1,onUpdateValidValue:({value:C})=>{let k=l.rows;k.forEach(D=>{D.checked=C}),s(N(v({},l),{rows:k}))}})})},-1))}for(let T=0;T<l.colLength;T++){let C=S[T];if(!C)continue;let k=C.children||C.data,D=c.enabled&&c.column[T],A=h.enabled&&h.column[T],q=D?(0,Rt.jsx)(Te,{styles:{fontSize:"1.mini",fontColor:T==p?"1.clear":"5.translucent"},icon:T==p?_=="DESC"?qO.faArrowDown:GO.faArrowUp:KO.faArrowRight}):null,I=(0,Rt.jsx)(Rt.Fragment,{});if(A){let F=d.map(P=>{var oe;return(oe=P[T])==null?void 0:oe.data});F=[...new Set(F)].order({direction:"ASC"});let W=h.current[T];if(W){let P=F.filter(le=>!W.includes(le)),oe=[];F.forEach(le=>{le&&oe.push({value:le,label:(0,Rt.jsx)(E,{styles:{flexSizing:"auto"},children:le})})});let be="BUTTON-"+l.componentID+"-"+T,Q=l.componentID+"-"+T,he={sheetID:Q,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Rt.jsxs)(tt,{styles:{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1},freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Rt.jsx)(_t,{styles:{gap:"1/3",overflow:"auto",padding:"2/3"},freeCSS:{maxHeight:12*30},children:(0,Rt.jsx)(ht.Checkbox,{tone:"cloud",icon:!0,value:P,styles:{display:"flex",gap:"1/2"},override:"force",options:oe,hideInput:!0,name:"DTFilter-col-"+T+"-table-"+l.componentID,cellStyles:{flexSizing:"auto",padding:"2/3"},onUpdateValidValue:({value:le})=>{let we=F.filter(re=>!le.includes(re)),V=v({},l);V.filter.current[T]=we,s(V)}})}),(0,Rt.jsxs)(ct.Separate,{styles:{gap:"2/3",padding:"2/3",horizontalAlign:"right"},children:[(0,Rt.jsx)(ie.Button.Border.S,{styles:{isRounded:!0},onClick:()=>{Wt.close(Q)},children:"\u9589\u3058\u308B"}),(0,Rt.jsx)(ie.Button.Prime.S,{color:"theme",styles:{isRounded:!0,ssEffectsOnActive:"shrink"},onClick:()=>{let le=[];W.length||(le=F);let we=v({},l);we.filter.current[T]=le,s(we)},children:"\u5168\u9078\u629E"})]})]})};Wt.refresh(he,!0),I=(0,Rt.jsx)(E,{className:Vt("FilterRegion"),children:(0,Rt.jsx)(ie.Button.Sub.S,{styles:{ssSphere:2.5,fontSize:"1.mini"},className:Vt("Filtering_"+!!W.length),id:be,onClick:le=>{le.stopPropagation(),Wt.open(he)},children:(0,Rt.jsx)(Te,{icon:XO.faFilter})})})}}let $={top:!0,bottom:!l.rows.length,left:l.checker?!1:T==0,right:T==l.colLength-1,rowIndex:0,colIndex:T,isBody:!1,isHeader:!0};C=N(v({},C),{styles:N(v(v(v(v({},l.cellStyles),ll($)),l.cellStylesCallback?l.cellStylesCallback($):{}),C.styles),{ssPushable:D}),freeCSS:v(v(v({},(i=l.cellStyles)==null?void 0:i.freeCSS),l.cellStylesCallback?l.cellStylesCallback($).freeCSS:{}),C.freeCSS),className:[Vt("Cell"),l.cellClassName,C.className].join(" ")}),delete C.orderIndex,b.push((0,Rt.jsx)(Pr.TH,N(v({},C),{styles:v({fontWeight:"2.normal",position:"sticky",top:0},C.styles),freeCSS:v({zIndex:2},C.freeCSS),onClick:F=>{if(D){let W=v({},l),P=[T,p===T&&_=="ASC"?"DESC":"ASC"];W.order.current=P,s(W),l.onOrderChanged&&l.onOrderChanged(P)}},children:(0,Rt.jsxs)(tt,{styles:{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0},children:[I,(0,Rt.jsxs)(tt,{styles:{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/3",flexWrap:!1,horizontalAlign:"center"},children:[q,k]})]})}),T))}return(0,Rt.jsx)(Pr.Row,{className:[Vt("Row"),Vt("HeadRow")].join(" "),children:b})},Body:r=>{let{val_status:a,PageRows:i}=r,l=[];if(i.forEach((s,d)=>{var c;let h=[...s],p=[];if(a.checker){let _={top:d==0&&!a.head,bottom:d==i.length-1,left:!0,right:!a.colLength,rowIndex:d,colIndex:0,isBody:!0,isHeader:!1};p.push((0,Rt.jsx)(Pr.TH,{styles:v(v(v({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),ll(_)),a.cellStylesCallback?a.cellStylesCallback(_):{}),freeCSS:v(v({},(c=a.cellStyles)==null?void 0:c.freeCSS),a.cellStylesCallback?a.cellStylesCallback(_).freeCSS:{}),className:[Vt("Cell"),a.cellClassName].join(" "),children:(0,Rt.jsx)(E,{styles:{flexCenter:!0},children:(0,Rt.jsx)(ht.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:({value:b})=>{let S=a.rows;S[d].checked=b,r.set_status(T=>N(v({},T),{rows:S}))}})})},-1))}h.forEach((_,b)=>{var S;if(!_)return;let T=_,{type:C="td"}=T,k=He(T,["type"]),D={top:d==0&&!a.head,bottom:d==i.length-1,left:a.checker?!1:b==0,right:b==a.colLength-1,rowIndex:d,colIndex:b,isBody:!0,isHeader:!1};k=N(v({},k),{styles:v(v(v(v({},a.cellStyles),k.styles),ll(D)),a.cellStylesCallback?a.cellStylesCallback(D):{}),freeCSS:v(v(v({},(S=a.cellStyles)==null?void 0:S.freeCSS),k.freeCSS),a.cellStylesCallback?a.cellStylesCallback(D).freeCSS:{}),className:[Vt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let A=Pr[C=="td"?"TD":"TH"];p.push((0,Rt.jsx)(A,v({},k),b))}),l.push((0,Rt.jsx)(Pr.Row,{className:[Vt("Row"),Vt("BodyRow")].join(" "),children:p,onClick:_=>{a.onRowClick&&a.onRowClick(JSON.parse(s.rowID),_)}},d))}),!i.length){let s=(0,Rt.jsx)(E,{styles:{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,Rt.jsx)(Rt.Fragment,{children:a.noRecords})),l.push((0,Rt.jsx)(Pr.Row,{className:[Vt("Row"),Vt("BodyRow"),Vt("DataNotFound")].join(" "),children:(0,Rt.jsx)(Pr.TD,{colSpan:a.colLength,className:Vt("Cell"),children:s})},"dataNotFound"))}return(0,Rt.jsx)(Rt.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:i}=r,{searchKeyword:l,filter:s,order:d,paging:c}=a,h=[...a.rows],p=[...a.rows],_=[...a.rows],b=[...a.rows];if(l&&(p=h.filter(C=>(C.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),_=[...p],b=[...p]),s.enabled)for(let C=0;C<a.colLength;C++){let k=s.column[C],D=s.current[C];k&&D&&D.length&&(_=_.filter(A=>!D.includes(A[C].data)),b=[..._])}d.enabled&&(_=_.order({direction:d.current[1],keys:[d.current[0],"orderIndex"]}),b=[..._]);{let{currentPageIndex:C,rowLength:k}=c;b=[...b].splice((C-1)*k,k)}let S=zn.__memoryID+"_"+a.tableID,T={tableComponentDidMount:!0,totalRows:h.length,pageRows:b.length,filteredRows:_.length,filter:a.filter,order:a.order,paging:a.paging,searchKeyword:a.searchKeyword};return Ge.update({[S]:{status:T,updatePageIndex:C=>{let k=Math.min(Math.max(1,C),a.paging.pageLength),D=v({},a);D.paging.currentPageIndex=k,i(D)},updateRowLength:C=>{let k=v({},a);k.paging={rowLength:C,currentPageIndex:1,pageLength:Math.ceil(_.length/C)},i(k)},updateKeyword:C=>{zo.default.interval.clear("InputSearchTime"),zo.default.interval.standBy("InputSearchTime",200,()=>{let k=v({},a);k.searchKeyword=C,k.paging.currentPageIndex=1,k.filter.current=k.filter.current.map(()=>[]),i(k)})},getRowData:()=>{let C=[...h];return d.enabled&&(C=C.order({direction:d.current[1],keys:[d.current[0],"orderIndex"]})),C.forEach(k=>{k.currentPage=!1,k.filtered=!1}),b.forEach(k=>{let{rowID:D}=k;C.find(A=>A.rowID==D).currentPage=!0}),_.forEach(k=>{let{rowID:D}=k;C.find(A=>A.rowID==D).filtered=!0}),C}}}),(0,_u.useEffect)(()=>{let C=zn.Propagations[a.tableID]||[];Object.keys(C).forEach(k=>{let D=Ge.get(k);D!=null&&D.refresh&&D.refresh()})}),(0,Rt.jsx)(E,{className:Vt("TableBase"),children:(0,Rt.jsx)(Pr.Table,{className:Vt("Table"),children:(0,Rt.jsxs)(Pr.Body,{children:[(0,Rt.jsx)(zn.Header,{val_status:a,set_status:i,KeywordFilterRows:p}),(0,Rt.jsx)(zn.Body,{val_status:a,set_status:i,PageRows:b})]})})})},Propagations:{},DataLeveler:r=>{var a,i;return r=v({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var d;return zo.default.is.boolean(r.filter)?r.filter:(d=r.filter[s])!=null?d:!1}),r.order=(i=r.order)!=null?i:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var d;return zo.default.is.boolean(r.order)?r.order:(d=r.order[s])!=null?d:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=JSON.stringify(l.rowID||s);let d=[];l.forEach((c,h)=>{let{data:p,children:_,orderIndex:b}=c;c.orderIndex=zo.default.is.exist(b)?String(b):String(p),c.children=_||String(p),d.push(String(c.data))}),l.__sys4SearchKey=d.join("/")}),(0,Rt.jsx)(zn.StateManager,v({eventID:zo.default.uuid.gen()},r))},StateManager:r=>{let{colLength:a,eventID:i,checker:l=!1,searchKeyword:s="",filter:d,order:c,defaultOrder:h=[0,"ASC"],pageRowLength:p=30}=r,[_]=(0,_u.useState)(zo.default.uuid.gen()),b={tableID:r.tableID||_,componentID:_,colLength:a,checker:l,searchKeyword:s,filter:{enabled:d!==!1,column:d,current:Array.from({length:a},()=>[])},order:{enabled:c!==!1,column:c,current:h},paging:{rowLength:p,pageLength:Math.ceil(r.rows.length/p),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},[S,T]=(0,_u.useState)(b),[C,k]=(0,_u.useState)(r.eventID);return C!=r.eventID&&(k(r.eventID),T(b)),(0,Rt.jsx)(zn.Core,{val_status:S,set_status:T})}},Gn={__memoryID:zn.__memoryID,useStatus:r=>{var a;let[i]=(0,_u.useState)(zo.default.uuid.gen()),[l,s]=(0,_u.useState)(zo.default.uuid.gen()),d=zn.__memoryID+"_"+r;return(0,_u.useEffect)(()=>(zn.Propagations[r]=N(v({},zn.Propagations[r]),{[i]:1}),Ge.set({[i]:{refresh:()=>{s(zo.default.uuid.gen())}}}),()=>{delete zn.Propagations[r][i]}),[]),((a=Ge.get(d))==null?void 0:a.status)||{tableComponentDidMount:!1}},getRowData:r=>{let a=Ge.get(zn.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()},setPageIndex:(r,a)=>{let i=Ge.get(zn.__memoryID+"_"+r);i!=null&&i.updatePageIndex&&i.updatePageIndex(a)},setRowLength:(r,a)=>{let i=Ge.get(zn.__memoryID+"_"+r);i!=null&&i.updateRowLength&&i.updateRowLength(a)},setSearchKeyword:(r,a)=>{let i=Ge.get(zn.__memoryID+"_"+r);i!=null&&i.updateKeyword&&i.updateKeyword(a)}},E_={SearchInput:r=>{let a=Gn.useStatus(r.tableID);return a.tableComponentDidMount?(0,Rt.jsx)(ht.Text.Normal,{placeholder:"\u691C\u7D22...",clearButton:!0,styles:{padding:"2/3",paddingRight:3},rightIcon:(0,Rt.jsx)(ht.Comps.RightIcon,{styles:{fontColor:"5.translucent",right:"2/3"},children:(0,Rt.jsx)(Te.Search,{})}),override:"force",value:a.searchKeyword,onUpdateValidValue:({value:i})=>{zo.default.interval.clear("InputSearchTime"),zo.default.interval.standBy("InputSearchTime",500,()=>{Gn.setSearchKeyword(r.tableID,i)})}}):null},Info:r=>{let a=Gn.useStatus(r.tableID);if(!a.tableComponentDidMount)return null;let i=a.filteredRows.ratio(a.totalRows)||0;return(0,Rt.jsxs)(tt,{styles:{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur"},children:[(0,Rt.jsx)(Vn,{styles:{fontSize:"4.thirdTitle",fontColor:"theme"},children:a.filteredRows.toLocaleString()}),"/ ",a.totalRows.toLocaleString(),"\u4EF6 (",i,"%)"]})},Paging:r=>{let a=Gn.useStatus(r.tableID);if(!a.tableComponentDidMount)return null;let i=[];for(let l=0;l<a.paging.pageLength;l++)i.push({value:l+1,label:(l+1).toString()});return(0,Rt.jsxs)(ct.Center,{children:[(0,Rt.jsxs)(ct.Center,{styles:{gap:"1/2"},children:["\u30DA\u30FC\u30B8 :",(0,Rt.jsx)(ht.Select,{enableUnSelected:!1,styles:{padding:["1/3","2/3"]},rightIcon:!1,placeholder:"",override:"force",value:a.paging.currentPageIndex,options:i,onUpdateValidValue:({value:l})=>{Gn.setPageIndex(r.tableID,l)}}),"/ ",a.paging.pageLength]}),(0,Rt.jsxs)(ct.Right,{styles:{gap:"1/2"},children:[(0,Rt.jsx)(ie.Button.Sub.R,{styles:{ssSphere:3},onClick:()=>{if(a.paging.currentPageIndex==1){Gn.setPageIndex(r.tableID,a.paging.pageLength);return}Gn.setPageIndex(r.tableID,a.paging.currentPageIndex-1)},children:(0,Rt.jsx)(Te.ChevronLeft,{})}),(0,Rt.jsx)(ie.Button.Sub.R,{styles:{ssSphere:3},onClick:()=>{if(a.paging.currentPageIndex==a.paging.pageLength){Gn.setPageIndex(r.tableID,1);return}Gn.setPageIndex(r.tableID,a.paging.currentPageIndex+1)},children:(0,Rt.jsx)(Te.ChevronRight,{})})]})]})},RowLength:r=>{let a=Gn.useStatus(r.tableID);if(!a.tableComponentDidMount)return null;let i=a.paging.rowLength,l=0,s=r.lengthSelect.map(d=>(l|=+(d==i),{value:d,label:d.toString()}));return l||s.push({value:i,label:i.toString()}),s=s.order({direction:"ASC",keys:["value"]}),(0,Rt.jsxs)(ct.Center,{styles:{gap:"1/2"},children:["\u4EF6\u6570 :",(0,Rt.jsx)(ht.Select,{enableUnSelected:!1,rightIcon:!1,placeholder:"\u9078\u629E",override:"force",styles:{padding:["1/3","2/3"]},value:a.paging.rowLength,options:s,onUpdateValidValue:({value:d})=>{Gn.setRowLength(r.tableID,d)}})]})}},kG=r=>(0,Rt.jsx)(jf,N(v({},r),{type:"data",JSXChildren:zn.DataLeveler})),Dl=kG;Dl.__memoryID=zn.__memoryID,Dl.useStatus=Gn.useStatus,Dl.getRowData=Gn.getRowData,Dl.setPageIndex=Gn.setPageIndex,Dl.setRowLength=Gn.setRowLength,Dl.setSearchKeyword=Gn.setSearchKeyword,Dl.Info=E_.Info,Dl.Paging=E_.Paging,Dl.RowLength=E_.RowLength,Dl.SearchInput=E_.SearchInput;var qn;(r=>(r.Normal=NO,r.Data=Dl,r.Drag=FO,r.Parts=Pr))(qn||(qn={}));var Yt=K(Ct()),_n=K(rr());var ks=K(er());var Tz=K(az()),Ez=K(cz()),kz=K(gz()),Rz=K(xz());var L3=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 i=a.canvas,{width:l,height:s}=i,d=a.picture.image,{width:c,height:h}=d,p=c/h;this.Canvas={elm:i,ctx:i.getContext("2d")};let _=0,b=0;this.use=="square"?(_=i.width/3*2,b=i.height/3*2):this.use=="wallpaper.horizontal"?(_=i.width*(7/9),b=_/3):this.use=="wallpaper.vertical"&&(b=i.height*(7/9),_=b/2);let S=(i.width-_)/2,T=(i.height-b)/2,C=_/b;this.Picture={elm:d,originDataUrl:d.src,aspect:p,revisedAspect:C>p?_/c:b/h,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:S,y:T,w:_,h:b,aspect:C},outImage:{x:0,y:0,w:0,h:0},imageX:c/2,imageY:h/2,centerX:l/2,centerY:s/2},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.modifyImage()}dragEffect(a){let{eventType:i,x:l,y:s}=a;if(i=="start"){let d=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/d.width,y:this.Canvas.elm.height/d.height}}}else{let{origin:d,frameExpandRate:c}=this.dragEffectInfo,h=d.x-l,p=d.y-s,_=this.scale.current*this.Picture.revisedAspect/100,b=h/_*c.x,S=p/_*c.y;i=="move"?this.drawImage(this.pst.imageX+b,this.pst.imageY+S):i=="end"&&this.drawImage(this.pst.imageX+=b,this.pst.imageY+=S)}}pinchEffect(a){let{eventType:i,event:l}=a,{x:s,y:d}=_n.default.getCursor(l.touches[0]),{x:c,y:h}=_n.default.getCursor(l.touches[1]),p=c-s,_=h-d;if(i=="start")this.pinchEffectInfo.origin={x:p,y:_,scale:this.scale.current};else if(i=="move"){let{origin:b}=this.pinchEffectInfo,S=Math.sqrt(Math.pow(b.x,2)+Math.pow(b.y,2)),T=Math.sqrt(Math.pow(p,2)+Math.pow(_,2))/S,C=Number(b.scale*T);this.set_scale(C)}}updateScale(a){let i=a;i=Math.max(i,this.scale.min),i=Math.min(i,this.scale.max),this.scale.current=i,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return ua(this,null,function*(){let{grayScale:a,tone:i,rotate:l}=this.Picture,s=document.createElement("canvas"),d=s.getContext("2d"),c=yield _n.default.ImageLoader(this.Picture.originDataUrl),h=c.width,p=c.height;(l==90||l==270)&&(h=c.height,p=c.width),s.width=h,s.height=p,a&&(d.filter="grayscale("+a+"%)"),l&&(d.translate(h/2,p/2),d.rotate(l*Math.PI/180),[90,270].includes(l)?d.translate(-p/2,-h/2):d.translate(-h/2,-p/2)),d.drawImage(c,0,0,c.width,c.height);let _=d.getImageData(0,0,s.width,s.height),b=_.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]][i],D=k[0]/255,A=k[1]/255,q=k[2]/255;for(let I=0;I<p;I++)for(let $=0;$<h;$++){var S=(I*h+$)*4;if(a){let F=.3*b[S]+.59*b[S+1]+.11*b[S+2];for(var T=0;T<3;T++){let W=b[S+T];b[S+T]=W+(F-W)*a}}b[S]*=D,b[S+1]*=A,b[S+2]*=q}}d.putImageData(_,0,0);let C=s.toDataURL("image/jpeg");{let k=yield _n.default.ImageLoader(C),{width:D,height:A}=k,q=D/A;this.Picture=N(v({},this.Picture),{elm:k,aspect:q,revisedAspect:this.pst.frame.aspect>q?this.pst.frame.w/D:this.pst.frame.h/A})}this.drawImage()})}drawImage(a,i){let{use:l,Canvas:{ctx:s},pst:{frame:d}}=this,c=a||this.pst.imageX,h=i||this.pst.imageY;{let p=this.scale.current/100,_=this.Picture.revisedAspect*p,b=this.pst.centerX-c*_,S=this.pst.centerY-h*_,T=this.Picture.elm.width*_,C=this.Picture.elm.height*_;{let k=this.pst.frame.x+this.pst.frame.w-T,D=this.pst.frame.x,A=this.pst.frame.y+this.pst.frame.h-C,q=this.pst.frame.y,I=0;b<k&&(I=b-k),b>D&&(I=b-D);let $=0;S<A&&($=S-A),S>q&&($=S-q),this.dragEffectInfo.origin.x+=I/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=$/2/this.dragEffectInfo.frameExpandRate.y,b=Math.min(Math.max(b,k),D),S=Math.min(Math.max(S,A),q)}this.pst.outImage={x:b,y:S,w:T,h:C},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,T,C)}{l=="square"?(s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath(),s.arc(this.Canvas.elm.width/2,this.Canvas.elm.height/2,this.Canvas.elm.width,0,Math.PI*2,!0),s.arc(this.Canvas.elm.width/2,this.Canvas.elm.height/2,this.Canvas.elm.width/3*2/2,0,Math.PI*2,!1),s.closePath(),s.fill()):(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )"),s.beginPath(),s.moveTo(0,0),s.lineTo(this.Canvas.elm.width,0),s.lineTo(this.Canvas.elm.width,this.Canvas.elm.height),s.lineTo(0,this.Canvas.elm.height),s.lineTo(0,0),s.closePath(),s.lineTo(d.x,d.y),s.lineTo(d.x,d.y+d.h),s.lineTo(d.x+d.w,d.y+d.h),s.lineTo(d.x+d.w,d.y),s.lineTo(d.x,d.y),s.fill();let p=(0,_n.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=this.Canvas.elm.width/200,s.strokeStyle=`hsla( ${p},1 )`,s.strokeRect(d.x,d.y,d.w,d.h)}}export(){return ua(this,null,function*(){let{develops:a,Picture:i,pst:{outImage:l,frame:s}}=this,d=l.w/i.elm.width,c=l.h/i.elm.height,h=(s.x-l.x)/d,p=(s.x-l.x+s.w)/d,_=(s.y-l.y)/c,b=(s.y-l.y+s.h)/c,S=Array.from({length:a.length}),T="image/jpeg";for(let C=0;C<a.length;C++){let{size:k,maxSize:D}=a[C];D=D||{S:1024*20,R:1024*100,L:1024*350}[k];let A={S:144,R:576,L:1152}[k],q=A;this.use=="wallpaper.horizontal"?q=A/3*2:this.use=="wallpaper.vertical"&&(q=A*2);let I=document.createElement("canvas");I.width=A,I.height=q;let $=I.getContext("2d");if(!$)return;$.clearRect(0,0,A,q),$.drawImage(this.Picture.elm,h,_,p-h,b-_,0,0,A,q);let F=I.toDataURL(T),W=yield F.toBlob(T);if(!W)return;if(W.size>=D){let oe=D/W.size;if(F=I.toDataURL(T,oe*.92),W=yield F.toBlob(T),!W)return}let P=new File([W],this.val_file.name,{type:T});S[C]=P}return S})}},Dz={Core:r=>{let{val_file:a,options:i,finishedCallback:l,abortCallback:s}=r,{use:d,develops:c=[]}=i,[h]=(0,ks.useState)(_n.default.uuid.gen(32)),p={scale:{default:125,min:100,max:300},rotate:0,grayScale:0,tone:0},[_,b]=(0,ks.useState)(p.scale.default),[S,T]=(0,ks.useState)(p.rotate),[C,k]=(0,ks.useState)(p.grayScale),[D,A]=(0,ks.useState)(p.tone);return(0,ks.useEffect)(()=>{Ge.set({[h]:{}}),ua(void 0,null,function*(){Ga.fn.corner.active();let{target:q}=yield a.read();if(!q)return;let I=q.result,$=lt("#Canvas-"+h)[0];if(!$)return;let F=new L3({set_scale:b,val_file:a,develops:c,use:d,scale:p.scale,componentID:h,canvas:$,picture:{image:yield _n.default.ImageLoader(I),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});Ge.set({[h]:{Instance:F}});let W=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)F.pinchEffect({eventType:"start",event:be}),(0,_n.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:Q=>{Q.preventDefault(),F.pinchEffect({eventType:"move",event:Q})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:oe});else{F.dragEffect(v({eventType:"start"},_n.default.getCursor(be)));let{type:Q}=be;(0,_n.default)(document).addEvent({eventType:Q=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:he=>{P("move",he)}}).addEvent({eventType:Q=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:he=>{P("end",he),oe(he)}})}},P=function(be,Q){Q.preventDefault(),F.dragEffect(v({eventType:be},_n.default.getCursor(Q)))},oe=function(be){be.preventDefault(),(0,_n.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,_n.default)($).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let Q=Number(be.wheelDelta*.04),he=F.scale.current+Q;he=Math.max(he,F.scale.min),he=Math.min(he,F.scale.max),b(he)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:W,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:W,options:{passive:!1}}),setTimeout(()=>{Ga.fn.corner.stop()},1e3)})},[a.id]),(0,ks.useEffect)(()=>{var q;let I=(q=Ge.get(h))==null?void 0:q.Instance;I&&I.updateScale(_)},[_]),(0,ks.useEffect)(()=>{var q;let I=(q=Ge.get(h))==null?void 0:q.Instance;I&&I.updateFilter({grayScale:C,tone:D,rotate:S})},[C,D,S]),(0,Yt.jsx)(Wt.Comps.Body,{children:(0,Yt.jsxs)(tt,{className:[wf("Wrap"),wf("Use_"+d)].join(" "),styles:{flexWrap:!1,position:"relative",overflow:"hidden",borderRadius:"inherit"},UnderBreakPointStyles:{flexType:"col"},children:[(0,Yt.jsx)(E,{styles:{flexGrid:3},UnderBreakPointStyles:{width:1,padding:2},children:(0,Yt.jsx)(E,{styles:{overflow:"hidden",position:"relative",backgroundColor:"layer.4"},freeCSS:{zIndex:1},UnderBreakPointStyles:{borderRadius:"1.tone.primary"},children:(0,Yt.jsx)("canvas",{width:"2400",height:d=="wallpaper.horizontal"?"1800":d=="wallpaper.vertical"?"3200":"2400",className:wf("Canvas"),id:"Canvas-"+h})})}),(0,Yt.jsxs)(_t,{styles:{gap:0,flexGrid:2,boxShadow:"3.remark"},UnderBreakPointStyles:{width:1,maxWidth:"unset"},freeCSS:{maxWidth:12*28},children:[(0,Yt.jsxs)(_t,{styles:{gap:1,flexSizing:0,overflow:"auto",padding:1.5},UnderBreakPointStyles:{flexSizing:"none"},children:[(0,Yt.jsx)(E,{styles:{flexSizing:"none",fontSize:"4.thirdTitle",isSemiBoldFont:!0},children:"\u30D5\u30A3\u30EB\u30BF\u30FC"}),(0,Yt.jsx)(Dz.SettingRegion,{DefaultOptions:p,val_scale:_,set_scale:b,val_tone:D,set_tone:A,val_grayScale:C,set_grayScale:k,val_rotate:S,set_rotate:T})]}),(0,Yt.jsxs)(tt,{styles:{padding:1.5,flexSizing:"none",gap:1,borderTop:!0},children:[(0,Yt.jsx)(ie.Button.Border.R,{onClick:()=>{s()},children:"\u30AD\u30E3\u30F3\u30BB\u30EB"}),(0,Yt.jsx)(ie.Button.Prime.R,{styles:{flexSizing:0},onClick:()=>ua(void 0,null,function*(){var q;let I=(q=Ge.get(h))==null?void 0:q.Instance;if(!I)return;Ga.fn.mini.active("CropperExportation");let $=yield I.export();setTimeout(()=>{Ga.fn.mini.stop("CropperExportation"),l($)},3e3)}),children:(0,Yt.jsxs)(ct.Center,{styles:{gap:"1/2"},children:[(0,Yt.jsx)(Ga.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=[];for(let i=1;i<=10;i++)a.push({value:i,label:(0,Yt.jsxs)(Yt.Fragment,{children:[(0,Yt.jsx)(E,{className:[wf("ToneBall"),wf("ToneBall_"+i)].join(" ")}),(0,Yt.jsx)(E,{styles:{textAlign:"center",flexSizing:"auto"},children:["","\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"][i]})]})});return(0,Yt.jsxs)(Yt.Fragment,{children:[(0,Yt.jsxs)(_t,{styles:{gap:"1/3"},children:[(0,Yt.jsxs)(E,{children:[(0,Yt.jsx)(Te.Rotate,{styles:{fontSize:"3.paragraph",fontColor:"4.thin"}})," Rotate"]}),(0,Yt.jsxs)(ct.Separate,{styles:{flexChilds:"even",paddingLeft:2},children:[(0,Yt.jsxs)(ie.Button.Border.S,{onClick:()=>{let i=r.val_rotate-90;i<0&&(i+=360),r.set_rotate(i)},children:[(0,Yt.jsx)(Te,{icon:kz.faRotateLeft})," \u5DE6\u306B\u56DE\u8EE2"]}),(0,Yt.jsxs)(ie.Button.Border.S,{onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:["\u53F3\u306B\u56DE\u8EE2 ",(0,Yt.jsx)(Te,{icon:Rz.faRotateRight})]})]})]}),(0,Yt.jsxs)(_t,{styles:{gap:"1/3"},children:[(0,Yt.jsxs)(E,{children:[(0,Yt.jsx)(Te.Search,{styles:{fontSize:"3.paragraph",fontColor:"4.thin"}})," Zoom"]}),(0,Yt.jsx)(E,{styles:{paddingLeft:2},children:(0,Yt.jsx)(ht.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:({eventType:i,value:l})=>{_n.default.interval.clear("Cropper.UpdateScale"),_n.default.interval.standBy("Cropper.UpdateScale",400,()=>{r.set_scale(l+100)})},legends:{enable:!0,custom:i=>"x"+Math.round(100+i)/100}})})]}),(0,Yt.jsxs)(_t,{styles:{gap:"1/3"},children:[(0,Yt.jsxs)(E,{children:[(0,Yt.jsx)(Te,{icon:Tz.faPalette,styles:{fontSize:"3.paragraph",fontColor:"4.thin"}})," Gray Scale"]}),(0,Yt.jsx)(E,{styles:{paddingLeft:2},children:(0,Yt.jsx)(ht.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:({value:i})=>{_n.default.interval.clear("Cropper.GrayScale"),_n.default.interval.standBy("Cropper.GrayScale",400,()=>{r.set_grayScale(i)})},legends:{enable:!0,custom:i=>i+"%"}})})]}),(0,Yt.jsxs)(_t,{styles:{gap:"1/3"},children:[(0,Yt.jsxs)(E,{children:[(0,Yt.jsx)(Te,{icon:Ez.faBarsStaggered,styles:{fontSize:"3.paragraph",fontColor:"4.thin"}})," Tone"]}),(0,Yt.jsx)(E,{styles:{paddingLeft:2},children:(0,Yt.jsx)(ht.Radio,{value:r.val_tone,styles:{gap:"1/2"},cellStyles:{isRounded:!0,borderWidth:2,borderColor:"1.thin",padding:"1/2",paddingRight:1,fontSize:"1.mini",gap:"1/3",flexSizing:"auto"},options:[{value:0,label:"\u306A\u3057",styles:{padding:["1/2",1],flexCenter:!0}},...a],onUpdateValidValue:({value:i})=>{r.set_tone(i[0])}})})]})]})}},k_={open:r=>ua(void 0,null,function*(){let a=yield ht.Filer.fn.openDialog({accept:"image",multiple:!1}),i="CropperImage";Wt.open({sheetID:i,type:"normal.middleCenter",size:"3L",freeCSS:{width:r.use=="wallpaper.horizontal"?12*100:12*80},content:(0,Yt.jsx)(Dz.Core,{val_file:a[0],options:r,finishedCallback:l=>{Wt.close(i),r.onProcessFinished(l)},abortCallback:()=>{Wt.close(i)}}),close_option:{escapeKeyDown:!1}})})};var Po=K(Ct());var Az=()=>{let{href:r}=location;return(0,Po.jsx)(ct.Center,{styles:{padding:[4,1]},children:(0,Po.jsxs)(_t,{styles:{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1},freeCSS:{maxWidth:12*30},children:[(0,Po.jsx)(Te.LinkSlash,{styles:{fontColor:"theme"},freeCSS:{fontSize:"3rem"}}),(0,Po.jsxs)(E,{children:[(0,Po.jsx)(yt.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Po.jsx)(yt.Supplement,{styles:{fontColor:"3.blur"},children:"\u5165\u529B\u3055\u308C\u305F\u30EA\u30F3\u30AF\u306E\u30DA\u30FC\u30B8\u306F\u5B58\u5728\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002"})]}),(0,Po.jsxs)(_t,{children:[(0,Po.jsxs)(yt.Normal,{styles:{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1},children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Po.jsx)(E,{styles:{margin:["1/2",0],borderBottom:!0}}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Po.jsx)(E,{styles:{margin:["1/2",0],borderBottom:!0}}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,Po.jsx)(ie.Anchor.Link,{newTab:!0,href:r,children:r}),(0,Po.jsx)(ie.Anchor.BorderToFill.R,{href:"/",styles:{width:1},children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Yf={index:()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(tt,{styles:{gap:1},children:[(0,m.jsx)(E,{styles:{flexCenter:!0},children:(0,m.jsx)(S_,{styles:{unitWidth:6,unitHeight:6,isRounded:!0},children:"Placeholder"})}),(0,m.jsxs)(Zr,{styles:{gridCols:3,gap:1,flexSizing:"auto"},children:[(0,m.jsx)(E,{styles:{backgroundColor:"layer.1",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.2",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.3",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.4",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.5",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.6",padding:2}})]}),(0,m.jsxs)(Zr,{styles:{gridCols:3,gap:"1/2",flexSizing:"auto",ssCardBox:!0},children:[(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"1.clear"},children:"FontColor1"}),(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"2.normal"},children:"FontColor2"}),(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"3.blur"},children:"FontColor3"}),(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"4.thin"},children:"FontColor4"}),(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"5.translucent"},children:"FontColor5"})]})]}),(0,m.jsx)(Yf.Fonts,{}),(0,m.jsx)(Yf.Box,{}),(0,m.jsx)(Yf.Flex,{}),(0,m.jsx)(Yf.Grid,{}),(0,m.jsx)(Yf.Others,{})]}),Fonts:()=>(0,m.jsxs)(E,{styles:{ssCardBox:!0},children:[(0,m.jsx)(yt.SubTitle,{styles:{padding:1,borderBottom:!0},children:"Font"}),(0,m.jsxs)(E,{styles:{overflow:"auto",padding:1},children:[(0,m.jsx)(yt.Description,{styles:{padding:1},children:`<Box
|
|
978
|
+
`,className:[$o("P"),$o("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,Qt.jsxs)("svg",{viewBox:"0,0,1200,1200",className:$o("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},cc={Icon:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(wO.MingooIcon,{})})),Title:r=>(0,Qt.jsx)(kt.Title,N(v({className:$o("ComunTitle")},r),{styles:v({height:"auto"},r.styles),freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:i,color:l}=a,s=He(a,["size","color"]);return(0,Qt.jsxs)(tt,N(v({},s),{styles:v({gap:"1/2",flexCenter:!0},s.styles),children:[(0,Qt.jsx)(cc.Icon,{size:i,color:l}),(0,Qt.jsx)(cc.Title,{size:i,color:l})]}))},LogoV:r=>{let a=r,{size:i,color:l}=a,s=He(a,["size","color"]);return(0,Qt.jsxs)(tt,N(v({},s),{styles:v({flexType:"col",gap:"1/2"},s.styles),children:[(0,Qt.jsx)(cc.Icon,{styles:{margin:"auto"},size:i,color:l}),(0,Qt.jsx)(cc.Title,{size:i,color:l})]}))}},dc={Icon:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(wO.ComunIcon,{})})),Title:r=>(0,Qt.jsx)(kt.Title,N(v({className:$o("ComunTitle")},r),{styles:v({height:"auto"},r.styles),freeCSS:v({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:i,color:l}=a,s=He(a,["size","color"]);return(0,Qt.jsxs)(tt,N(v({},s),{styles:v({gap:"1/2",flexCenter:!0},s.styles),children:[(0,Qt.jsx)(dc.Icon,{size:i,color:l}),(0,Qt.jsx)(dc.Title,{size:i,color:l})]}))},LogoV:r=>{let a=r,{size:i,color:l}=a,s=He(a,["size","color"]);return(0,Qt.jsxs)(tt,N(v({},s),{styles:v({flexType:"col",gap:"1/2"},s.styles),children:[(0,Qt.jsx)(dc.Icon,{styles:{margin:"auto"},size:i,color:l}),(0,Qt.jsx)(dc.Title,{size:i,color:l})]}))}},vu="https://cdn.amotify.com/",kt={Icon:r=>{let a=r,{size:i="R",color:l="normal",className:s="",children:d}=a,c=He(a,["size","color","className","children"]);return(0,Qt.jsx)(tt,N(v({className:[s,$o("Icon"),$o("Size_"+i)].join(" ")},c),{styles:v({verticalAlign:"center"},c.styles),children:m3.default.is.function(d)?(0,Qt.jsx)(d,{}):d}))},Title:r=>{let a=r,{size:i="R",color:l="normal",className:s="",children:d}=a,c=He(a,["size","color","className","children"]);return(0,Qt.jsx)(tt,N(v({className:[s,$o("Title"),$o("Size_"+i)].join(" ")},c),{styles:v({verticalAlign:"center",fontColor:l=="white"?"white":"logo"},c.styles),freeCSS:v({lineHeight:"1.25"},c.freeCSS),children:m3.default.is.function(d)?(0,Qt.jsx)(d,{}):d}))},Brands:{MingooIcon:cc.Icon,MingooTitle:cc.Title,MingooLogoH:cc.LogoH,MingooLogoV:cc.LogoV,ComunIcon:dc.Icon,ComunTitle:dc.Title,ComunLogoH:dc.LogoH,ComunLogoV:dc.LogoV,Google:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(Nn,{src:vu+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(Nn,{src:vu+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(Nn,{src:vu+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,Qt.jsx)(kt.Icon,N(v({},r),{children:(0,Qt.jsx)(Nn,{src:vu+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:vu+"@env/@logos/mingoo/icon.png",mingooIconClear:vu+"@env/@logos/mingoo/iconClear.png",comunIcon:vu+"@env/@logos/comun/icon.png",comunIconClear:vu+"@env/@logos/comun/iconClear.png",defaultIcon:r=>vu+"@env/@icon/"+(r||"image")+".png"}};var xO=K(wt());var TO=r=>{let a=Wr(r),{freeCSS:i}=a,l=He(a,["freeCSS"]);return(0,xO.jsx)("p",v({},l))};var v3=K(wt());var S_=r=>{let a=r,{color:i="cloud"}=a,l=He(a,["color"]);return(0,v3.jsx)(E,N(v({className:[Fg("Placeholder"),r.className].join(" ")},l),{styles:v({flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l.styles),children:(0,v3.jsx)(E,{className:[Fg("Body"),Fg("Color_"+i)].join(" ")})}))};var y3={};Gc(y3,{Accordion:()=>Hf,Column:()=>_t,LinkifyText:()=>C_,List:()=>fc,Row:()=>ct,Text:()=>yt});var _3=K(wt()),gu=K(er()),um=K(rr());var EG=r=>{r=v({},r);let a=r,{accordionID:i="",slideAnimation:l="fast",defaultOpen:s=!1,override:d=!1}=a,c=He(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,gu.useState)(um.default.uuid.gen()),[p]=(0,gu.useState)(um.default.uuid.gen()),[_,b]=(0,gu.useState)(s);_!=s&&d&&b(s);let S=(0,gu.useRef)(!1);return(0,gu.useEffect)(()=>{let T=lt('[data-accordion-content-id="'+p+'"]')[0];if(T){let w=T.offsetHeight,k=0;l=="fast"?(k=w/1e3,k=Math.max(k,.2)):l=="slow"&&(k=w/300),lt("#"+h).css({transition:k+"s"})}},[]),(0,gu.useEffect)(()=>{var T,w;let k=lt("#"+h),D=lt('[data-accordion-content-id="'+p+'"]')[0];if(S.current){if(D){let A=D.offsetHeight;um.default.is.exist(A)&&(_?k.css({maxHeight:A+1+"px"}).await(200).css({maxHeight:"unset",overflow:((T=r==null?void 0:r.styles)==null?void 0:T.overflow)||"unset"}):k.css({maxHeight:A+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(S.current=!0,D){let A=D.offsetHeight;um.default.is.exist(A)&&(_?k.css({maxHeight:A+1+"px"}).await(200).css({maxHeight:"unset",overflow:((w=r==null?void 0:r.styles)==null?void 0:w.overflow)||"unset"}):k.css({maxHeight:"0px",overflow:"hidden"}))}},[_]),i&&Ge.set({["Accordion-"+i]:{open:()=>{b(!0)},close:()=>{b(!1)},toggle:()=>{b(!_)}}}),(0,_3.jsx)(E,{className:[t2("Wrap"),t2("Open_"+_)].join(" "),id:h,children:(0,_3.jsx)(E,v({"data-accordion-content-id":p},c))})},Hf=EG;Hf.fn={open:r=>{let a=Ge.get("Accordion-"+r);!a||a.open()},close:r=>{let a=Ge.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=Ge.get("Accordion-"+r);!a||a.toggle()}};var cm=K(wt());var C_=r=>{let{text:a,placeholder:i}=r,l=[];if(a){let s=[];a=a.replace(/https?:\/\/[^\s|\n|\r]*/ig,(...c)=>{let h=c[0];return s.push(h),"[$_url]"});let d=a.split("[$_url]");for(let c=0;c<=d.length-1;c++){let h=d[c],p=s[c];l.push(h),c<d.length-1&&l.push((0,cm.jsx)(ie.Anchor.Link,{href:p,newTab:!0,children:p},"Link-"+c))}}else i&&(l=[i]);return(0,cm.jsx)(cm.Fragment,{children:l})};var b3=K(wt());var fc=r=>{let a=r,{rows:i,rowStyles:l}=a,s=He(a,["rows","rowStyles"]),d=i.map((c,h)=>{let p=c,{children:_}=p,b=He(p,["children"]);return(0,b3.jsx)(tt,N(v({},b),{styles:v(v({},l),b.styles),freeCSS:v(v({},l==null?void 0:l.freeCSS),b.freeCSS),children:_}),h)});return(0,b3.jsx)(tt,N(v({},s),{styles:v({flexType:"col"},s.styles),children:d}))};var LG=K(S3());no(bn,K(S3()));var O3={};Gc(O3,{DesignBook:()=>Lz});var m=K(wt()),bu=K(er()),hc=K(rr());var B3={};Gc(B3,{Button:()=>ie,Cropper:()=>k_,Effect:()=>mu,Input:()=>ht,Loader:()=>Ga,PageNotFound:()=>Az,PageViewController:()=>w_,Plate:()=>dm,RootViewController:()=>Zl,Sheet:()=>Wt,Snackbar:()=>Yn,SwipeView:()=>Nf,TabBar:()=>T_,Table:()=>qn,Tooltips:()=>Yr});var EO=K(wt());var dm=r=>{let a=r,{size:i="R"}=a,l=He(a,["size"]),s={XS:48,S:60,R:72,L:84,XL:100,MAX:120}[i];return(0,EO.jsx)(E,N(v({},l),{styles:v({margin:[0,"auto"],width:1},l.styles),freeCSS:v({maxWidth:12*s},l.freeCSS)}))};var fm=K(wt()),kO=K(er());var w_=r=>{let{viewIndex:a=0,views:i,wrapper:l=c=>(0,fm.jsx)(mu.FadeIn,{animationTime:400,children:c},a)}=r;a=Math.min(Math.max(a,0),i.length);let[s,d]=(0,kO.useState)(a);return s!=a&&d(a),(0,fm.jsx)(fm.Fragment,{children:l(i[a])})};var x_=K(wt()),RO=K(er());var T_=r=>{let a=r,{tabIndex:i,tabs:l,onTabChange:s,componentDidMount:d}=a,c=He(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,RO.useEffect)(()=>{d&&d()},[]),(0,x_.jsx)(tt,N(v({},c),{styles:v({position:"relative",overflow:"auto",flexWrap:!1},c.styles),freeCSS:v({zIndex:3,whiteSpace:"nowrap"},c.freeCSS),children:(0,x_.jsx)(E,{styles:{margin:[0,"auto"]},children:(0,x_.jsx)(ht.Segmented.BottomLine,{value:i,styles:{fontColor:"inherit",gap:0},override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{let p=h.value[0];s&&s(p)}})})}))};var pc=K(wt());var Pr={Table:r=>{let a=Wr(r);return(0,pc.jsx)("table",N(v({},a),{border:a.border}))},Head:r=>(0,pc.jsx)("thead",v({},Wr(r))),Body:r=>(0,pc.jsx)("tbody",v({},Wr(r))),Row:r=>(0,pc.jsx)("tr",v({},Wr(r))),TH:r=>(0,pc.jsx)("th",v({},Wr(r))),TD:r=>(0,pc.jsx)("td",v({},Wr(r))),RightIndicator:{type:"td",styles:{unitWidth:4},children:(0,pc.jsx)(Te.AngleRight,{styles:{fontColor:"theme",fontSize:"4.thirdTitle"}})}};var Oo=K(wt());var C3=K(wt()),AO=K(rr());var DO=(r,a)=>{if(a=="plain")return{};let i={};return r=="drag"&&(i.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(i.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(i.borderRight="2.normal"),v({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},i)},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 jf=r=>{let a=v({},r),{JSXChildren:i}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=N(v({tableID:a.tableID||AO.default.uuid.gen(),tone:a.tone},a),{cellStyles:v(v({},DO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l.styles=v({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l.styles));let s=Wr(l),{className:d,style:c}=s,h=He(s,["className","style"]),p=[d,Vt("Wrap"),Vt("TableType_"+a.type),Vt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,C3.jsx)(E,{className:p,style:c,children:(0,C3.jsx)(i,v({},h))})};var w3={HeadRow:r=>{let{cellStyles:a={},cellClassName:i="",cellStylesCallback:l,colLength:s,head:d,rows:c}=r;if(!d)return null;let h=[];return d.forEach((p,_)=>{let b=Pr[p.type=="th"?"TH":"TD"],S={top:!0,bottom:!c.length,left:_==0,right:_==s-1,rowIndex:0,colIndex:_,isBody:!1,isHeader:!0};h.push((0,Oo.jsx)(b,N(v({},p),{className:[Vt("Cell"),i,p.className].join(" "),styles:v(v(v(v({},a),ll(S)),l?l(S):{}),p.styles),freeCSS:v(v(v({},a.freeCSS),l?l(S).freeCSS:{}),p.freeCSS)}),_))}),(0,Oo.jsx)(Pr.Row,{className:[Vt("Row"),Vt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:i="",cellStylesCallback:l,head:s,rows:d,colLength:c,onRowClick:h}=r,p=[];return d.forEach((_,b)=>{let S=[];_.forEach((T,w)=>{let k=Pr[T.type=="th"?"TH":"TD"],D={top:b==0&&!s,bottom:b==d.length-1,left:w==0,right:w==c-1,rowIndex:b,colIndex:w,isBody:!0,isHeader:!1};S.push((0,Oo.jsx)(k,N(v({},T),{className:[Vt("Cell"),i,T.className].join(" "),styles:v(v(v(v({},a),ll(D)),l?l(D):{}),T.styles),freeCSS:v(v(v({},a.freeCSS),l?l(D).freeCSS:{}),T.freeCSS)}),w))}),p.push((0,Oo.jsx)(Pr.Row,{className:[Vt("Row"),Vt("BodyRow")].join(" "),children:S,onClick:T=>{h&&h(_.rowID,T)}},b))}),(0,Oo.jsx)(Oo.Fragment,{children:p})},Normal:r=>(r=v({},r),r.rows=r.rows.map((a,i)=>(a.rowID=a.rowID||i,a)),(0,Oo.jsx)(Pr.Table,{className:Vt("Table"),children:(0,Oo.jsxs)(Pr.Body,{children:[(0,Oo.jsx)(w3.HeadRow,v({},r)),(0,Oo.jsx)(w3.BodyRows,v({},r))]})}))},NO=r=>(0,Oo.jsx)(jf,N(v({type:"normal"},r),{JSXChildren:w3.Normal}));var _a=K(wt()),Wf=K(er()),Uf=K(rr());var T3=K(IO());var E3={HeadRow:r=>{let{cellStyles:a={},cellClassName:i="",cellStylesCallback:l,colLength:s,head:d,rows:c}=r;if(!d)return null;let h=[];for(let p=0;p<s;p++){let _=d[p],b=Pr[_.type=="th"?"TH":"TD"],S={top:!0,bottom:!c.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0};h.push((0,_a.jsx)(b,N(v({},_),{styles:v(v(v(v({},a),ll(S)),l?l(S):{}),_.styles),freeCSS:v(v(v({},a.freeCSS),l?l(S).freeCSS:{}),_.freeCSS),className:[Vt("Cell"),i,_.className].join(" ")}),p))}return(0,_a.jsx)(Pr.Row,{className:[Vt("Row"),Vt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:i="",cellStylesCallback:l,head:s,rows:d,colLength:c,onOrderChanged:h}=r,[p]=(0,Wf.useState)(Uf.default.uuid.gen()),[_,b]=(0,Wf.useState)({rows:d,origin:0,to:NaN}),S=[];if(_.rows.forEach((T,w)=>{let k=[];{let D={top:w==0&&!s,bottom:w==d.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1};k.push((0,_a.jsx)(Pr.TH,{styles:v(v(v({padding:0,borderRight:!0},a),ll(D)),l?l(D):{}),freeCSS:v(v({},a.freeCSS),l?l(D).freeCSS:{}),className:[Vt("Cell"),Vt("Draggable"),i].join(" "),children:(0,_a.jsx)(ie.Button.Clear.R,{className:Vt("DragableButton"),styles:{fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3},tabIndex:-1,onMouseDown:A=>{Vf.Start(A,{id:p,index:w,rows:_.rows,maxLength:d.length})},onTouchStart:A=>{Vf.Start(A,{id:p,index:w,rows:_.rows,maxLength:d.length})},children:(0,_a.jsx)(Te,{icon:T3.faGripVertical})})},"DragOrigin"))}T.forEach((D,A)=>{D=v({},D);let q=Pr[D.type=="th"?"TH":"TD"],I={top:!!s&&!s.length,bottom:w==d.length-1,left:!1,right:A==c-2,rowIndex:w,colIndex:A,isBody:!0,isHeader:!1};k.push((0,_a.jsx)(q,N(v({},D),{styles:v(v(v(v({},a),ll(I)),l?l(I):{}),D.styles),freeCSS:v(v(v({},a.freeCSS),l?l(I).freeCSS:{}),D.freeCSS),className:[Vt("Cell"),i,D.className].join(" ")}),A))}),S.push((0,_a.jsx)(Pr.Row,{id:"TableRow-"+p+"-"+w,className:[Vt("Row"),Vt("BodyRow")].join(" "),children:k},w))}),!isNaN(_.to)){let{origin:T,to:w}=_,k=[];k.push((0,_a.jsx)(Pr.TH,{styles:{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal"},className:[Vt("Cell"),Vt("Draggable"),i].join(" "),children:(0,_a.jsx)(Te.ArrowRight,{styles:{fontColor:"theme"}})},"dragButton")),_.rows[T].forEach((D,A)=>{D=v({},D);let q=Pr[D.type=="th"?"TH":"TD"],I={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1};k.push((0,_a.jsx)(q,N(v({className:[Vt("Cell"),i,D.className].join(" ")},D),{styles:v(v(v(v({backgroundColor:"theme.opa.low"},a),ll(I)),l?l(I):{}),D.styles),freeCSS:v(v(v({},a.freeCSS),l?l(I).freeCSS:{}),D.freeCSS)})))}),S.splice(w,0,(0,_a.jsx)(Pr.Row,{className:[Vt("Row"),Vt("Pre")].join(" "),children:k},"preSet"))}return(0,Wf.useEffect)(()=>{Ge.set({[p]:{swap:(T,w)=>{if(w||w==0){let k=_.rows[T],D=[..._.rows];D.splice(T,1),D.splice(w-(T<w?1:0),0,k),b({rows:D,origin:0,to:NaN}),h(D.map(A=>JSON.parse(A.rowID)))}},preSet:T=>{let{origin:w,index:k}=T;b({rows:_.rows,origin:w,to:k})}}})}),(0,Wf.useEffect)(()=>()=>{Ge.delete(p)},[]),(0,_a.jsx)(_a.Fragment,{children:S})},Drag:r=>(r=v({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,_a.jsx)(ie.Button.Clear.R,{styles:{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme"},onMouseOver:a=>{Yr.open({parent:a.currentTarget,content:(0,_a.jsxs)(Yr.Comps.Body,{children:[(0,_a.jsx)(Te,{icon:T3.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,_a.jsx)(Te.QuestionCircle,{})}),styles:{padding:[0,1],unitWidth:4}},...r.head]),r.rows=r.rows.map((a,i)=>(a.rowID=JSON.stringify(a.rowID||i),a)),(0,_a.jsx)(Pr.Table,{className:Vt("Table"),children:(0,_a.jsxs)(Pr.Body,{children:[(0,_a.jsx)(E3.HeadRow,v({},r)),(0,_a.jsx)(E3.BodyRows,v({},r))]})}))},FO=r=>(0,_a.jsx)(jf,N(v({type:"drag"},r),{JSXChildren:E3.Drag})),Vf={Start:function(r,a){return ua(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:i,index:l,rows:s,maxLength:d}=a;lt("#TableRow-"+i+"-"+l).addClass(Vt("DraggerOrigin")),(0,Uf.default)(document).addEvent({eventID:"DragMouseMove",eventType:"mousemove",callback:c=>{Vf.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:c=>{Vf.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"mouseup",callback:c=>{Vf.End(c,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:c=>{Vf.End(c,a)}})})},Move:function(r,a){let{id:i,maxLength:l}=a,s=Uf.default.getCursor(r).y-Uf.default.getScreenSize().scrollY;for(let d=0;d<l;d++){let c=lt("#TableRow-"+i+"-"+d),{top:h,bottom:p,height:_}=c.position();d==0&&s<h?a.insertIndex=0:d===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=d+1)}{let{index:d,insertIndex:c}=a,h=Ge.get(i);h&&h.preSet&&h.preSet({origin:d,index:c})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:i,index:l,insertIndex:s}=a,d=Ge.get(i);d&&d.swap&&d.swap(l,s),lt("#TableRow-"+i+"-"+l).removeClass(Vt("DraggerOrigin")),(0,Uf.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Rt=K(wt()),_u=K(er()),zo=K(rr());var GO=K(rS()),qO=K(nS()),KO=K(eS()),XO=K($O());var zn={__memoryID:zo.default.uuid.gen(),Header:r=>{var a,i;let{val_status:l,set_status:s,KeywordFilterRows:d}=v({},r),{order:c,filter:h}=l,[p,_]=c.current,b=[],S=[...l.head];if(l.checker){let T={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0};b.push((0,Rt.jsx)(Pr.TH,{styles:v(v(N(v({},l.cellStyles),{fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0}),ll(T)),l.cellStylesCallback?l.cellStylesCallback(T):{}),freeCSS:N(v(v({},(a=l.cellStyles)==null?void 0:a.freeCSS),l.cellStylesCallback?l.cellStylesCallback(T).freeCSS:{}),{zIndex:2}),className:[Vt("Cell"),l.cellClassName].join(" "),children:(0,Rt.jsx)(E,{styles:{flexCenter:!0},children:(0,Rt.jsx)(ht.Checker,{label:null,value:!1,onUpdateValidValue:({value:w})=>{let k=l.rows;k.forEach(D=>{D.checked=w}),s(N(v({},l),{rows:k}))}})})},-1))}for(let T=0;T<l.colLength;T++){let w=S[T];if(!w)continue;let k=w.children||w.data,D=c.enabled&&c.column[T],A=h.enabled&&h.column[T],q=D?(0,Rt.jsx)(Te,{styles:{fontSize:"1.mini",fontColor:T==p?"1.clear":"5.translucent"},icon:T==p?_=="DESC"?qO.faArrowDown:GO.faArrowUp:KO.faArrowRight}):null,I=(0,Rt.jsx)(Rt.Fragment,{});if(A){let F=d.map(P=>{var oe;return(oe=P[T])==null?void 0:oe.data});F=[...new Set(F)].order({direction:"ASC"});let W=h.current[T];if(W){let P=F.filter(le=>!W.includes(le)),oe=[];F.forEach(le=>{le&&oe.push({value:le,label:(0,Rt.jsx)(E,{styles:{flexSizing:"auto"},children:le})})});let be="BUTTON-"+l.componentID+"-"+T,Q=l.componentID+"-"+T,he={sheetID:Q,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Rt.jsxs)(tt,{styles:{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1},freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Rt.jsx)(_t,{styles:{gap:"1/3",overflow:"auto",padding:"2/3"},freeCSS:{maxHeight:12*30},children:(0,Rt.jsx)(ht.Checkbox,{tone:"cloud",icon:!0,value:P,styles:{display:"flex",gap:"1/2"},override:"force",options:oe,hideInput:!0,name:"DTFilter-col-"+T+"-table-"+l.componentID,cellStyles:{flexSizing:"auto",padding:"2/3"},onUpdateValidValue:({value:le})=>{let Ce=F.filter(re=>!le.includes(re)),V=v({},l);V.filter.current[T]=Ce,s(V)}})}),(0,Rt.jsxs)(ct.Separate,{styles:{gap:"2/3",padding:"2/3",horizontalAlign:"right"},children:[(0,Rt.jsx)(ie.Button.Border.S,{styles:{isRounded:!0},onClick:()=>{Wt.close(Q)},children:"\u9589\u3058\u308B"}),(0,Rt.jsx)(ie.Button.Prime.S,{color:"theme",styles:{isRounded:!0,ssEffectsOnActive:"shrink"},onClick:()=>{let le=[];W.length||(le=F);let Ce=v({},l);Ce.filter.current[T]=le,s(Ce)},children:"\u5168\u9078\u629E"})]})]})};Wt.refresh(he,!0),I=(0,Rt.jsx)(E,{className:Vt("FilterRegion"),children:(0,Rt.jsx)(ie.Button.Sub.S,{styles:{ssSphere:2.5,fontSize:"1.mini"},className:Vt("Filtering_"+!!W.length),id:be,onClick:le=>{le.stopPropagation(),Wt.open(he)},children:(0,Rt.jsx)(Te,{icon:XO.faFilter})})})}}let $={top:!0,bottom:!l.rows.length,left:l.checker?!1:T==0,right:T==l.colLength-1,rowIndex:0,colIndex:T,isBody:!1,isHeader:!0};w=N(v({},w),{styles:N(v(v(v(v({},l.cellStyles),ll($)),l.cellStylesCallback?l.cellStylesCallback($):{}),w.styles),{ssPushable:D}),freeCSS:v(v(v({},(i=l.cellStyles)==null?void 0:i.freeCSS),l.cellStylesCallback?l.cellStylesCallback($).freeCSS:{}),w.freeCSS),className:[Vt("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,b.push((0,Rt.jsx)(Pr.TH,N(v({},w),{styles:v({fontWeight:"2.normal",position:"sticky",top:0},w.styles),freeCSS:v({zIndex:2},w.freeCSS),onClick:F=>{if(D){let W=v({},l),P=[T,p===T&&_=="ASC"?"DESC":"ASC"];W.order.current=P,s(W),l.onOrderChanged&&l.onOrderChanged(P)}},children:(0,Rt.jsxs)(tt,{styles:{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0},children:[I,(0,Rt.jsxs)(tt,{styles:{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/3",flexWrap:!1,horizontalAlign:"center"},children:[q,k]})]})}),T))}return(0,Rt.jsx)(Pr.Row,{className:[Vt("Row"),Vt("HeadRow")].join(" "),children:b})},Body:r=>{let{val_status:a,PageRows:i}=r,l=[];if(i.forEach((s,d)=>{var c;let h=[...s],p=[];if(a.checker){let _={top:d==0&&!a.head,bottom:d==i.length-1,left:!0,right:!a.colLength,rowIndex:d,colIndex:0,isBody:!0,isHeader:!1};p.push((0,Rt.jsx)(Pr.TH,{styles:v(v(v({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),ll(_)),a.cellStylesCallback?a.cellStylesCallback(_):{}),freeCSS:v(v({},(c=a.cellStyles)==null?void 0:c.freeCSS),a.cellStylesCallback?a.cellStylesCallback(_).freeCSS:{}),className:[Vt("Cell"),a.cellClassName].join(" "),children:(0,Rt.jsx)(E,{styles:{flexCenter:!0},children:(0,Rt.jsx)(ht.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:({value:b})=>{let S=a.rows;S[d].checked=b,r.set_status(T=>N(v({},T),{rows:S}))}})})},-1))}h.forEach((_,b)=>{var S;if(!_)return;let T=_,{type:w="td"}=T,k=He(T,["type"]),D={top:d==0&&!a.head,bottom:d==i.length-1,left:a.checker?!1:b==0,right:b==a.colLength-1,rowIndex:d,colIndex:b,isBody:!0,isHeader:!1};k=N(v({},k),{styles:v(v(v(v({},a.cellStyles),k.styles),ll(D)),a.cellStylesCallback?a.cellStylesCallback(D):{}),freeCSS:v(v(v({},(S=a.cellStyles)==null?void 0:S.freeCSS),k.freeCSS),a.cellStylesCallback?a.cellStylesCallback(D).freeCSS:{}),className:[Vt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let A=Pr[w=="td"?"TD":"TH"];p.push((0,Rt.jsx)(A,v({},k),b))}),l.push((0,Rt.jsx)(Pr.Row,{className:[Vt("Row"),Vt("BodyRow")].join(" "),children:p,onClick:_=>{a.onRowClick&&a.onRowClick(JSON.parse(s.rowID),_)}},d))}),!i.length){let s=(0,Rt.jsx)(E,{styles:{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,Rt.jsx)(Rt.Fragment,{children:a.noRecords})),l.push((0,Rt.jsx)(Pr.Row,{className:[Vt("Row"),Vt("BodyRow"),Vt("DataNotFound")].join(" "),children:(0,Rt.jsx)(Pr.TD,{colSpan:a.colLength,className:Vt("Cell"),children:s})},"dataNotFound"))}return(0,Rt.jsx)(Rt.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:i}=r,{searchKeyword:l,filter:s,order:d,paging:c}=a,h=[...a.rows],p=[...a.rows],_=[...a.rows],b=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),_=[...p],b=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],D=s.current[w];k&&D&&D.length&&(_=_.filter(A=>!D.includes(A[w].data)),b=[..._])}d.enabled&&(_=_.order({direction:d.current[1],keys:[d.current[0],"orderIndex"]}),b=[..._]);{let{currentPageIndex:w,rowLength:k}=c;b=[...b].splice((w-1)*k,k)}let S=zn.__memoryID+"_"+a.tableID,T={tableComponentDidMount:!0,totalRows:h.length,pageRows:b.length,filteredRows:_.length,filter:a.filter,order:a.order,paging:a.paging,searchKeyword:a.searchKeyword};return Ge.update({[S]:{status:T,updatePageIndex:w=>{let k=Math.min(Math.max(1,w),a.paging.pageLength),D=v({},a);D.paging.currentPageIndex=k,i(D)},updateRowLength:w=>{let k=v({},a);k.paging={rowLength:w,currentPageIndex:1,pageLength:Math.ceil(_.length/w)},i(k)},updateKeyword:w=>{zo.default.interval.clear("InputSearchTime"),zo.default.interval.standBy("InputSearchTime",200,()=>{let k=v({},a);k.searchKeyword=w,k.paging.currentPageIndex=1,k.filter.current=k.filter.current.map(()=>[]),i(k)})},getRowData:()=>{let w=[...h];return d.enabled&&(w=w.order({direction:d.current[1],keys:[d.current[0],"orderIndex"]})),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),b.forEach(k=>{let{rowID:D}=k;w.find(A=>A.rowID==D).currentPage=!0}),_.forEach(k=>{let{rowID:D}=k;w.find(A=>A.rowID==D).filtered=!0}),w}}}),(0,_u.useEffect)(()=>{let w=zn.Propagations[a.tableID]||[];Object.keys(w).forEach(k=>{let D=Ge.get(k);D!=null&&D.refresh&&D.refresh()})}),(0,Rt.jsx)(E,{className:Vt("TableBase"),children:(0,Rt.jsx)(Pr.Table,{className:Vt("Table"),children:(0,Rt.jsxs)(Pr.Body,{children:[(0,Rt.jsx)(zn.Header,{val_status:a,set_status:i,KeywordFilterRows:p}),(0,Rt.jsx)(zn.Body,{val_status:a,set_status:i,PageRows:b})]})})})},Propagations:{},DataLeveler:r=>{var a,i;return r=v({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var d;return zo.default.is.boolean(r.filter)?r.filter:(d=r.filter[s])!=null?d:!1}),r.order=(i=r.order)!=null?i:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var d;return zo.default.is.boolean(r.order)?r.order:(d=r.order[s])!=null?d:!0}),r=v({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=JSON.stringify(l.rowID||s);let d=[];l.forEach((c,h)=>{let{data:p,children:_,orderIndex:b}=c;c.orderIndex=zo.default.is.exist(b)?String(b):String(p),c.children=_||String(p),d.push(String(c.data))}),l.__sys4SearchKey=d.join("/")}),(0,Rt.jsx)(zn.StateManager,v({eventID:zo.default.uuid.gen()},r))},StateManager:r=>{let{colLength:a,eventID:i,checker:l=!1,searchKeyword:s="",filter:d,order:c,defaultOrder:h=[0,"ASC"],pageRowLength:p=30}=r,[_]=(0,_u.useState)(zo.default.uuid.gen()),b={tableID:r.tableID||_,componentID:_,colLength:a,checker:l,searchKeyword:s,filter:{enabled:d!==!1,column:d,current:Array.from({length:a},()=>[])},order:{enabled:c!==!1,column:c,current:h},paging:{rowLength:p,pageLength:Math.ceil(r.rows.length/p),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},[S,T]=(0,_u.useState)(b),[w,k]=(0,_u.useState)(r.eventID);return w!=r.eventID&&(k(r.eventID),T(b)),(0,Rt.jsx)(zn.Core,{val_status:S,set_status:T})}},Gn={__memoryID:zn.__memoryID,useStatus:r=>{var a;let[i]=(0,_u.useState)(zo.default.uuid.gen()),[l,s]=(0,_u.useState)(zo.default.uuid.gen()),d=zn.__memoryID+"_"+r;return(0,_u.useEffect)(()=>(zn.Propagations[r]=N(v({},zn.Propagations[r]),{[i]:1}),Ge.set({[i]:{refresh:()=>{s(zo.default.uuid.gen())}}}),()=>{delete zn.Propagations[r][i]}),[]),((a=Ge.get(d))==null?void 0:a.status)||{tableComponentDidMount:!1}},getRowData:r=>{let a=Ge.get(zn.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()},setPageIndex:(r,a)=>{let i=Ge.get(zn.__memoryID+"_"+r);i!=null&&i.updatePageIndex&&i.updatePageIndex(a)},setRowLength:(r,a)=>{let i=Ge.get(zn.__memoryID+"_"+r);i!=null&&i.updateRowLength&&i.updateRowLength(a)},setSearchKeyword:(r,a)=>{let i=Ge.get(zn.__memoryID+"_"+r);i!=null&&i.updateKeyword&&i.updateKeyword(a)}},E_={SearchInput:r=>{let a=Gn.useStatus(r.tableID);return a.tableComponentDidMount?(0,Rt.jsx)(ht.Text.Normal,{placeholder:"\u691C\u7D22...",clearButton:!0,styles:{padding:"2/3",paddingRight:3},rightIcon:(0,Rt.jsx)(ht.Comps.RightIcon,{styles:{fontColor:"5.translucent",right:"2/3"},children:(0,Rt.jsx)(Te.Search,{})}),override:"force",value:a.searchKeyword,onUpdateValidValue:({value:i})=>{zo.default.interval.clear("InputSearchTime"),zo.default.interval.standBy("InputSearchTime",500,()=>{Gn.setSearchKeyword(r.tableID,i)})}}):null},Info:r=>{let a=Gn.useStatus(r.tableID);if(!a.tableComponentDidMount)return null;let i=a.filteredRows.ratio(a.totalRows)||0;return(0,Rt.jsxs)(tt,{styles:{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur"},children:[(0,Rt.jsx)(Vn,{styles:{fontSize:"4.thirdTitle",fontColor:"theme"},children:a.filteredRows.toLocaleString()}),"/ ",a.totalRows.toLocaleString(),"\u4EF6 (",i,"%)"]})},Paging:r=>{let a=Gn.useStatus(r.tableID);if(!a.tableComponentDidMount)return null;let i=[];for(let l=0;l<a.paging.pageLength;l++)i.push({value:l+1,label:(l+1).toString()});return(0,Rt.jsxs)(ct.Center,{children:[(0,Rt.jsxs)(ct.Center,{styles:{gap:"1/2"},children:["\u30DA\u30FC\u30B8 :",(0,Rt.jsx)(ht.Select,{enableUnSelected:!1,styles:{padding:["1/3","2/3"]},rightIcon:!1,placeholder:"",override:"force",value:a.paging.currentPageIndex,options:i,onUpdateValidValue:({value:l})=>{Gn.setPageIndex(r.tableID,l)}}),"/ ",a.paging.pageLength]}),(0,Rt.jsxs)(ct.Right,{styles:{gap:"1/2"},children:[(0,Rt.jsx)(ie.Button.Sub.R,{styles:{ssSphere:3},onClick:()=>{if(a.paging.currentPageIndex==1){Gn.setPageIndex(r.tableID,a.paging.pageLength);return}Gn.setPageIndex(r.tableID,a.paging.currentPageIndex-1)},children:(0,Rt.jsx)(Te.ChevronLeft,{})}),(0,Rt.jsx)(ie.Button.Sub.R,{styles:{ssSphere:3},onClick:()=>{if(a.paging.currentPageIndex==a.paging.pageLength){Gn.setPageIndex(r.tableID,1);return}Gn.setPageIndex(r.tableID,a.paging.currentPageIndex+1)},children:(0,Rt.jsx)(Te.ChevronRight,{})})]})]})},RowLength:r=>{let a=Gn.useStatus(r.tableID);if(!a.tableComponentDidMount)return null;let i=a.paging.rowLength,l=0,s=r.lengthSelect.map(d=>(l|=+(d==i),{value:d,label:d.toString()}));return l||s.push({value:i,label:i.toString()}),s=s.order({direction:"ASC",keys:["value"]}),(0,Rt.jsxs)(ct.Center,{styles:{gap:"1/2"},children:["\u4EF6\u6570 :",(0,Rt.jsx)(ht.Select,{enableUnSelected:!1,rightIcon:!1,placeholder:"\u9078\u629E",override:"force",styles:{padding:["1/3","2/3"]},value:a.paging.rowLength,options:s,onUpdateValidValue:({value:d})=>{Gn.setRowLength(r.tableID,d)}})]})}},kG=r=>(0,Rt.jsx)(jf,N(v({},r),{type:"data",JSXChildren:zn.DataLeveler})),Dl=kG;Dl.__memoryID=zn.__memoryID,Dl.useStatus=Gn.useStatus,Dl.getRowData=Gn.getRowData,Dl.setPageIndex=Gn.setPageIndex,Dl.setRowLength=Gn.setRowLength,Dl.setSearchKeyword=Gn.setSearchKeyword,Dl.Info=E_.Info,Dl.Paging=E_.Paging,Dl.RowLength=E_.RowLength,Dl.SearchInput=E_.SearchInput;var qn;(r=>(r.Normal=NO,r.Data=Dl,r.Drag=FO,r.Parts=Pr))(qn||(qn={}));var Yt=K(wt()),_n=K(rr());var ks=K(er());var Tz=K(az()),Ez=K(cz()),kz=K(gz()),Rz=K(xz());var L3=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 i=a.canvas,{width:l,height:s}=i,d=a.picture.image,{width:c,height:h}=d,p=c/h;this.Canvas={elm:i,ctx:i.getContext("2d")};let _=0,b=0;this.use=="square"?(_=i.width/3*2,b=i.height/3*2):this.use=="wallpaper.horizontal"?(_=i.width*(7/9),b=_/3):this.use=="wallpaper.vertical"&&(b=i.height*(7/9),_=b/2);let S=(i.width-_)/2,T=(i.height-b)/2,w=_/b;this.Picture={elm:d,originDataUrl:d.src,aspect:p,revisedAspect:w>p?_/c:b/h,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:S,y:T,w:_,h:b,aspect:w},outImage:{x:0,y:0,w:0,h:0},imageX:c/2,imageY:h/2,centerX:l/2,centerY:s/2},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.modifyImage()}dragEffect(a){let{eventType:i,x:l,y:s}=a;if(i=="start"){let d=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/d.width,y:this.Canvas.elm.height/d.height}}}else{let{origin:d,frameExpandRate:c}=this.dragEffectInfo,h=d.x-l,p=d.y-s,_=this.scale.current*this.Picture.revisedAspect/100,b=h/_*c.x,S=p/_*c.y;i=="move"?this.drawImage(this.pst.imageX+b,this.pst.imageY+S):i=="end"&&this.drawImage(this.pst.imageX+=b,this.pst.imageY+=S)}}pinchEffect(a){let{eventType:i,event:l}=a,{x:s,y:d}=_n.default.getCursor(l.touches[0]),{x:c,y:h}=_n.default.getCursor(l.touches[1]),p=c-s,_=h-d;if(i=="start")this.pinchEffectInfo.origin={x:p,y:_,scale:this.scale.current};else if(i=="move"){let{origin:b}=this.pinchEffectInfo,S=Math.sqrt(Math.pow(b.x,2)+Math.pow(b.y,2)),T=Math.sqrt(Math.pow(p,2)+Math.pow(_,2))/S,w=Number(b.scale*T);this.set_scale(w)}}updateScale(a){let i=a;i=Math.max(i,this.scale.min),i=Math.min(i,this.scale.max),this.scale.current=i,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return ua(this,null,function*(){let{grayScale:a,tone:i,rotate:l}=this.Picture,s=document.createElement("canvas"),d=s.getContext("2d"),c=yield _n.default.ImageLoader(this.Picture.originDataUrl),h=c.width,p=c.height;(l==90||l==270)&&(h=c.height,p=c.width),s.width=h,s.height=p,a&&(d.filter="grayscale("+a+"%)"),l&&(d.translate(h/2,p/2),d.rotate(l*Math.PI/180),[90,270].includes(l)?d.translate(-p/2,-h/2):d.translate(-h/2,-p/2)),d.drawImage(c,0,0,c.width,c.height);let _=d.getImageData(0,0,s.width,s.height),b=_.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]][i],D=k[0]/255,A=k[1]/255,q=k[2]/255;for(let I=0;I<p;I++)for(let $=0;$<h;$++){var S=(I*h+$)*4;if(a){let F=.3*b[S]+.59*b[S+1]+.11*b[S+2];for(var T=0;T<3;T++){let W=b[S+T];b[S+T]=W+(F-W)*a}}b[S]*=D,b[S+1]*=A,b[S+2]*=q}}d.putImageData(_,0,0);let w=s.toDataURL("image/jpeg");{let k=yield _n.default.ImageLoader(w),{width:D,height:A}=k,q=D/A;this.Picture=N(v({},this.Picture),{elm:k,aspect:q,revisedAspect:this.pst.frame.aspect>q?this.pst.frame.w/D:this.pst.frame.h/A})}this.drawImage()})}drawImage(a,i){let{use:l,Canvas:{ctx:s},pst:{frame:d}}=this,c=a||this.pst.imageX,h=i||this.pst.imageY;{let p=this.scale.current/100,_=this.Picture.revisedAspect*p,b=this.pst.centerX-c*_,S=this.pst.centerY-h*_,T=this.Picture.elm.width*_,w=this.Picture.elm.height*_;{let k=this.pst.frame.x+this.pst.frame.w-T,D=this.pst.frame.x,A=this.pst.frame.y+this.pst.frame.h-w,q=this.pst.frame.y,I=0;b<k&&(I=b-k),b>D&&(I=b-D);let $=0;S<A&&($=S-A),S>q&&($=S-q),this.dragEffectInfo.origin.x+=I/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=$/2/this.dragEffectInfo.frameExpandRate.y,b=Math.min(Math.max(b,k),D),S=Math.min(Math.max(S,A),q)}this.pst.outImage={x:b,y:S,w:T,h:w},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,T,w)}{l=="square"?(s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath(),s.arc(this.Canvas.elm.width/2,this.Canvas.elm.height/2,this.Canvas.elm.width,0,Math.PI*2,!0),s.arc(this.Canvas.elm.width/2,this.Canvas.elm.height/2,this.Canvas.elm.width/3*2/2,0,Math.PI*2,!1),s.closePath(),s.fill()):(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )"),s.beginPath(),s.moveTo(0,0),s.lineTo(this.Canvas.elm.width,0),s.lineTo(this.Canvas.elm.width,this.Canvas.elm.height),s.lineTo(0,this.Canvas.elm.height),s.lineTo(0,0),s.closePath(),s.lineTo(d.x,d.y),s.lineTo(d.x,d.y+d.h),s.lineTo(d.x+d.w,d.y+d.h),s.lineTo(d.x+d.w,d.y),s.lineTo(d.x,d.y),s.fill();let p=(0,_n.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=this.Canvas.elm.width/200,s.strokeStyle=`hsla( ${p},1 )`,s.strokeRect(d.x,d.y,d.w,d.h)}}export(){return ua(this,null,function*(){let{develops:a,Picture:i,pst:{outImage:l,frame:s}}=this,d=l.w/i.elm.width,c=l.h/i.elm.height,h=(s.x-l.x)/d,p=(s.x-l.x+s.w)/d,_=(s.y-l.y)/c,b=(s.y-l.y+s.h)/c,S=Array.from({length:a.length}),T="image/jpeg";for(let w=0;w<a.length;w++){let{size:k,maxSize:D}=a[w];D=D||{S:1024*20,R:1024*100,L:1024*350}[k];let A={S:144,R:576,L:1152}[k],q=A;this.use=="wallpaper.horizontal"?q=A/3*2:this.use=="wallpaper.vertical"&&(q=A*2);let I=document.createElement("canvas");I.width=A,I.height=q;let $=I.getContext("2d");if(!$)return;$.clearRect(0,0,A,q),$.drawImage(this.Picture.elm,h,_,p-h,b-_,0,0,A,q);let F=I.toDataURL(T),W=yield F.toBlob(T);if(!W)return;if(W.size>=D){let oe=D/W.size;if(F=I.toDataURL(T,oe*.92),W=yield F.toBlob(T),!W)return}let P=new File([W],this.val_file.name,{type:T});S[w]=P}return S})}},Dz={Core:r=>{let{val_file:a,options:i,finishedCallback:l,abortCallback:s}=r,{use:d,develops:c=[]}=i,[h]=(0,ks.useState)(_n.default.uuid.gen(32)),p={scale:{default:125,min:100,max:300},rotate:0,grayScale:0,tone:0},[_,b]=(0,ks.useState)(p.scale.default),[S,T]=(0,ks.useState)(p.rotate),[w,k]=(0,ks.useState)(p.grayScale),[D,A]=(0,ks.useState)(p.tone);return(0,ks.useEffect)(()=>{Ge.set({[h]:{}}),ua(void 0,null,function*(){Ga.fn.corner.active();let{target:q}=yield a.read();if(!q)return;let I=q.result,$=lt("#Canvas-"+h)[0];if(!$)return;let F=new L3({set_scale:b,val_file:a,develops:c,use:d,scale:p.scale,componentID:h,canvas:$,picture:{image:yield _n.default.ImageLoader(I),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});Ge.set({[h]:{Instance:F}});let W=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)F.pinchEffect({eventType:"start",event:be}),(0,_n.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:Q=>{Q.preventDefault(),F.pinchEffect({eventType:"move",event:Q})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:oe});else{F.dragEffect(v({eventType:"start"},_n.default.getCursor(be)));let{type:Q}=be;(0,_n.default)(document).addEvent({eventType:Q=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:he=>{P("move",he)}}).addEvent({eventType:Q=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:he=>{P("end",he),oe(he)}})}},P=function(be,Q){Q.preventDefault(),F.dragEffect(v({eventType:be},_n.default.getCursor(Q)))},oe=function(be){be.preventDefault(),(0,_n.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,_n.default)($).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let Q=Number(be.wheelDelta*.04),he=F.scale.current+Q;he=Math.max(he,F.scale.min),he=Math.min(he,F.scale.max),b(he)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:W,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:W,options:{passive:!1}}),setTimeout(()=>{Ga.fn.corner.stop()},1e3)})},[a.id]),(0,ks.useEffect)(()=>{var q;let I=(q=Ge.get(h))==null?void 0:q.Instance;I&&I.updateScale(_)},[_]),(0,ks.useEffect)(()=>{var q;let I=(q=Ge.get(h))==null?void 0:q.Instance;I&&I.updateFilter({grayScale:w,tone:D,rotate:S})},[w,D,S]),(0,Yt.jsx)(Wt.Comps.Body,{children:(0,Yt.jsxs)(tt,{className:[Cf("Wrap"),Cf("Use_"+d)].join(" "),styles:{flexWrap:!1,position:"relative",overflow:"hidden",borderRadius:"inherit"},UnderBreakPointStyles:{flexType:"col"},children:[(0,Yt.jsx)(E,{styles:{flexGrid:3},UnderBreakPointStyles:{width:1,padding:2},children:(0,Yt.jsx)(E,{styles:{overflow:"hidden",position:"relative",backgroundColor:"layer.4"},freeCSS:{zIndex:1},UnderBreakPointStyles:{borderRadius:"1.tone.primary"},children:(0,Yt.jsx)("canvas",{width:"2400",height:d=="wallpaper.horizontal"?"1800":d=="wallpaper.vertical"?"3200":"2400",className:Cf("Canvas"),id:"Canvas-"+h})})}),(0,Yt.jsxs)(_t,{styles:{gap:0,flexGrid:2,boxShadow:"3.remark"},UnderBreakPointStyles:{width:1,maxWidth:"unset"},freeCSS:{maxWidth:12*28},children:[(0,Yt.jsxs)(_t,{styles:{gap:1,flexSizing:0,overflow:"auto",padding:1.5},UnderBreakPointStyles:{flexSizing:"none"},children:[(0,Yt.jsx)(E,{styles:{flexSizing:"none",fontSize:"4.thirdTitle",isSemiBoldFont:!0},children:"\u30D5\u30A3\u30EB\u30BF\u30FC"}),(0,Yt.jsx)(Dz.SettingRegion,{DefaultOptions:p,val_scale:_,set_scale:b,val_tone:D,set_tone:A,val_grayScale:w,set_grayScale:k,val_rotate:S,set_rotate:T})]}),(0,Yt.jsxs)(tt,{styles:{padding:1.5,flexSizing:"none",gap:1,borderTop:!0},children:[(0,Yt.jsx)(ie.Button.Border.R,{onClick:()=>{s()},children:"\u30AD\u30E3\u30F3\u30BB\u30EB"}),(0,Yt.jsx)(ie.Button.Prime.R,{styles:{flexSizing:0},onClick:()=>ua(void 0,null,function*(){var q;let I=(q=Ge.get(h))==null?void 0:q.Instance;if(!I)return;Ga.fn.mini.active("CropperExportation");let $=yield I.export();setTimeout(()=>{Ga.fn.mini.stop("CropperExportation"),l($)},3e3)}),children:(0,Yt.jsxs)(ct.Center,{styles:{gap:"1/2"},children:[(0,Yt.jsx)(Ga.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=[];for(let i=1;i<=10;i++)a.push({value:i,label:(0,Yt.jsxs)(Yt.Fragment,{children:[(0,Yt.jsx)(E,{className:[Cf("ToneBall"),Cf("ToneBall_"+i)].join(" ")}),(0,Yt.jsx)(E,{styles:{textAlign:"center",flexSizing:"auto"},children:["","\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"][i]})]})});return(0,Yt.jsxs)(Yt.Fragment,{children:[(0,Yt.jsxs)(_t,{styles:{gap:"1/3"},children:[(0,Yt.jsxs)(E,{children:[(0,Yt.jsx)(Te.Rotate,{styles:{fontSize:"3.paragraph",fontColor:"4.thin"}})," Rotate"]}),(0,Yt.jsxs)(ct.Separate,{styles:{flexChilds:"even",paddingLeft:2},children:[(0,Yt.jsxs)(ie.Button.Border.S,{onClick:()=>{let i=r.val_rotate-90;i<0&&(i+=360),r.set_rotate(i)},children:[(0,Yt.jsx)(Te,{icon:kz.faRotateLeft})," \u5DE6\u306B\u56DE\u8EE2"]}),(0,Yt.jsxs)(ie.Button.Border.S,{onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:["\u53F3\u306B\u56DE\u8EE2 ",(0,Yt.jsx)(Te,{icon:Rz.faRotateRight})]})]})]}),(0,Yt.jsxs)(_t,{styles:{gap:"1/3"},children:[(0,Yt.jsxs)(E,{children:[(0,Yt.jsx)(Te.Search,{styles:{fontSize:"3.paragraph",fontColor:"4.thin"}})," Zoom"]}),(0,Yt.jsx)(E,{styles:{paddingLeft:2},children:(0,Yt.jsx)(ht.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:({eventType:i,value:l})=>{_n.default.interval.clear("Cropper.UpdateScale"),_n.default.interval.standBy("Cropper.UpdateScale",400,()=>{r.set_scale(l+100)})},legends:{enable:!0,custom:i=>"x"+Math.round(100+i)/100}})})]}),(0,Yt.jsxs)(_t,{styles:{gap:"1/3"},children:[(0,Yt.jsxs)(E,{children:[(0,Yt.jsx)(Te,{icon:Tz.faPalette,styles:{fontSize:"3.paragraph",fontColor:"4.thin"}})," Gray Scale"]}),(0,Yt.jsx)(E,{styles:{paddingLeft:2},children:(0,Yt.jsx)(ht.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:({value:i})=>{_n.default.interval.clear("Cropper.GrayScale"),_n.default.interval.standBy("Cropper.GrayScale",400,()=>{r.set_grayScale(i)})},legends:{enable:!0,custom:i=>i+"%"}})})]}),(0,Yt.jsxs)(_t,{styles:{gap:"1/3"},children:[(0,Yt.jsxs)(E,{children:[(0,Yt.jsx)(Te,{icon:Ez.faBarsStaggered,styles:{fontSize:"3.paragraph",fontColor:"4.thin"}})," Tone"]}),(0,Yt.jsx)(E,{styles:{paddingLeft:2},children:(0,Yt.jsx)(ht.Radio,{value:r.val_tone,styles:{gap:"1/2"},cellStyles:{isRounded:!0,borderWidth:2,borderColor:"1.thin",padding:"1/2",paddingRight:1,fontSize:"1.mini",gap:"1/3",flexSizing:"auto"},options:[{value:0,label:"\u306A\u3057",styles:{padding:["1/2",1],flexCenter:!0}},...a],onUpdateValidValue:({value:i})=>{r.set_tone(i[0])}})})]})]})}},k_={open:r=>ua(void 0,null,function*(){let a=yield ht.Filer.fn.openDialog({accept:"image",multiple:!1}),i="CropperImage";Wt.open({sheetID:i,type:"normal.middleCenter",size:"3L",freeCSS:{width:r.use=="wallpaper.horizontal"?12*100:12*80},content:(0,Yt.jsx)(Dz.Core,{val_file:a[0],options:r,finishedCallback:l=>{Wt.close(i),r.onProcessFinished(l)},abortCallback:()=>{Wt.close(i)}}),close_option:{escapeKeyDown:!1}})})};var Po=K(wt());var Az=()=>{let{href:r}=location;return(0,Po.jsx)(ct.Center,{styles:{padding:[4,1]},children:(0,Po.jsxs)(_t,{styles:{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1},freeCSS:{maxWidth:12*30},children:[(0,Po.jsx)(Te.LinkSlash,{styles:{fontColor:"theme"},freeCSS:{fontSize:"3rem"}}),(0,Po.jsxs)(E,{children:[(0,Po.jsx)(yt.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Po.jsx)(yt.Supplement,{styles:{fontColor:"3.blur"},children:"\u5165\u529B\u3055\u308C\u305F\u30EA\u30F3\u30AF\u306E\u30DA\u30FC\u30B8\u306F\u5B58\u5728\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002"})]}),(0,Po.jsxs)(_t,{children:[(0,Po.jsxs)(yt.Normal,{styles:{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1},children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Po.jsx)(E,{styles:{margin:["1/2",0],borderBottom:!0}}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Po.jsx)(E,{styles:{margin:["1/2",0],borderBottom:!0}}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,Po.jsx)(ie.Anchor.Link,{newTab:!0,href:r,children:r}),(0,Po.jsx)(ie.Anchor.BorderToFill.R,{href:"/",styles:{width:1},children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Yf={index:()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(tt,{styles:{gap:1},children:[(0,m.jsx)(E,{styles:{flexCenter:!0},children:(0,m.jsx)(S_,{styles:{unitWidth:6,unitHeight:6,isRounded:!0},children:"Placeholder"})}),(0,m.jsxs)(Zr,{styles:{gridCols:3,gap:1,flexSizing:"auto"},children:[(0,m.jsx)(E,{styles:{backgroundColor:"layer.1",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.2",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.3",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.4",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.5",padding:2}}),(0,m.jsx)(E,{styles:{backgroundColor:"layer.6",padding:2}})]}),(0,m.jsxs)(Zr,{styles:{gridCols:3,gap:"1/2",flexSizing:"auto",ssCardBox:!0},children:[(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"1.clear"},children:"FontColor1"}),(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"2.normal"},children:"FontColor2"}),(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"3.blur"},children:"FontColor3"}),(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"4.thin"},children:"FontColor4"}),(0,m.jsx)(E,{styles:{flexCenter:!0,fontColor:"5.translucent"},children:"FontColor5"})]})]}),(0,m.jsx)(Yf.Fonts,{}),(0,m.jsx)(Yf.Box,{}),(0,m.jsx)(Yf.Flex,{}),(0,m.jsx)(Yf.Grid,{}),(0,m.jsx)(Yf.Others,{})]}),Fonts:()=>(0,m.jsxs)(E,{styles:{ssCardBox:!0},children:[(0,m.jsx)(yt.SubTitle,{styles:{padding:1,borderBottom:!0},children:"Font"}),(0,m.jsxs)(E,{styles:{overflow:"auto",padding:1},children:[(0,m.jsx)(yt.Description,{styles:{padding:1},children:`<Box
|
|
979
979
|
fontSize={ 0 ~ 8 }
|
|
980
980
|
>
|
|
981
981
|
some text
|
|
982
|
-
</Box>`}),(0,m.jsx)(fc,{rowStyles:{flexType:"col",borderBottom:!0,padding:1,flexWrap:!1,gap:"1/2"},rows:[{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB Landing",(0,m.jsxs)(E,{styles:{fontSize:"7.landing",isSemiBoldFont:!0},children:["Visualize Your ",(0,m.jsx)(Vn,{styles:{fontColor:"theme"},children:"Colors"})," On a Real Website"]})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB Title",(0,m.jsx)(E,{styles:{fontSize:"6.title"},children:"\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u56FD\u6C11\u8CA0\u62C5\u7387\u3092\u516C\u8868\u3057\u307E\u3059"})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB SubTitle",(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"\u652F\u6255\u3044\u3092\u53D7\u3051\u4ED8\u3051\u308B"})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB ThirdTitle",(0,m.jsx)(E,{styles:{fontSize:"4.thirdTitle"},children:"\u79DF\u7A0E\u8CA0\u62C5\u7387\u3068\u793E\u4F1A\u4FDD\u969C\u8CA0\u62C5\u7387\u3092\u5408\u8A08\u3057\u305F\u56FD\u6C11\u8CA0\u62C5\u7387\u306B\u3064\u3044\u3066\u3001\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u898B\u901A\u3057\u3092\u63A8\u8A08\u3057\u307E\u3057\u305F\u306E\u3067\u3001\u516C\u8868\u3057\u307E\u3059\u3002"})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB Paragraph",(0,m.jsx)(yt.Description,{styles:{fontSize:"3.paragraph"},children:(0,m.jsx)(
|
|
982
|
+
</Box>`}),(0,m.jsx)(fc,{rowStyles:{flexType:"col",borderBottom:!0,padding:1,flexWrap:!1,gap:"1/2"},rows:[{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB Landing",(0,m.jsxs)(E,{styles:{fontSize:"7.landing",isSemiBoldFont:!0},children:["Visualize Your ",(0,m.jsx)(Vn,{styles:{fontColor:"theme"},children:"Colors"})," On a Real Website"]})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB Title",(0,m.jsx)(E,{styles:{fontSize:"6.title"},children:"\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u56FD\u6C11\u8CA0\u62C5\u7387\u3092\u516C\u8868\u3057\u307E\u3059"})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB SubTitle",(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"\u652F\u6255\u3044\u3092\u53D7\u3051\u4ED8\u3051\u308B"})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB ThirdTitle",(0,m.jsx)(E,{styles:{fontSize:"4.thirdTitle"},children:"\u79DF\u7A0E\u8CA0\u62C5\u7387\u3068\u793E\u4F1A\u4FDD\u969C\u8CA0\u62C5\u7387\u3092\u5408\u8A08\u3057\u305F\u56FD\u6C11\u8CA0\u62C5\u7387\u306B\u3064\u3044\u3066\u3001\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u898B\u901A\u3057\u3092\u63A8\u8A08\u3057\u307E\u3057\u305F\u306E\u3067\u3001\u516C\u8868\u3057\u307E\u3059\u3002"})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB Paragraph",(0,m.jsx)(yt.Description,{styles:{fontSize:"3.paragraph"},children:(0,m.jsx)(C_,{text:`
|
|
983
983
|
This article discusses performance best practices for fonts.
|
|
984
984
|
There are a variety of ways in which web fonts impact performance`})})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB Normal",(0,m.jsx)(E,{styles:{fontSize:"2.normal"},children:"\u52B9\u7387\u7684\u3067\u6301\u7D9A\u53EF\u80FD\u306A\u8CA1\u653F\u3078\u306E\u8EE2\u63DB\u3092\u56F3\u308A\u3001\u3053\u306E\u8CA1\u653F\u69CB\u9020\u3092\u5404\u822C\u306E\u69CB\u9020\u6539\u9769\u3068\u3068\u3082\u306B\u63A8\u9032\u3059\u308B\u3053\u3068\u3067\u3001\u6C11\u9593\u9700\u8981\u4E3B\u5C0E\u306E\u6301\u7D9A\u7684\u7D4C\u6E08\u6210\u9577\u306E\u5B9F\u73FE\u3092\u76EE\u6307\u3057\u307E\u3059\u3002 \u5C11\u5B50\u30FB\u9AD8\u9F62\u5316\u3001\u56FD\u969B\u5316\u306A\u3069\u7D4C\u6E08\u793E\u4F1A\u306E\u69CB\u9020\u5909\u5316\u306B\u5BFE\u5FDC\u3067\u304D\u308B21\u4E16\u7D00\u306E\u3042\u308B\u3079\u304D\u7A0E\u5236\u3092\u304D\u305A\u304D\u307E\u3059\u3002 \u8CA1\u653F\u6295\u878D\u8CC7\u306F\u3001\u884C\u8CA1\u653F\u6539\u9769\u306E\u8DA3\u65E8\u3092\u8E0F\u307E\u3048\u3001\u6C11\u9593\u3067\u306F\u3067\u304D\u306A\u3044\u5206\u91CE\u30FB\u4E8B\u696D\u306A\u3069\u306B\u91CD\u70B9\u5316\u3092\u884C\u3044\u3001\u771F\u306B\u653F\u7B56\u7684\u306B\u5FC5\u8981\u306A\u8CC7\u91D1\u9700\u8981\u306B\u306F\u7684\u78BA\u306B\u5BFE\u5FDC\u3057\u307E\u3059\u3002 \u91D1\u878D\u5E81\u3068\u5354\u529B\u3057\u3001\u91D1\u878D\u306E\u30BB\u30FC\u30D5\u30C6\u30A3\u30CD\u30C3\u30C8\u3092\u6574\u5099\u3057\u3001\u91D1\u878D\u5371\u6A5F\u306B\u7D20\u65E9\u304F\u5BFE\u5FDC\u3059\u308B\u306A\u3069\u3001\u91D1\u878D\u30B7\u30B9\u30C6\u30E0\u306E\u5B89\u5B9A\u306E\u78BA\u4FDD\u3092\u76EE\u6307\u3057\u307E\u3059\u3002 \u56FD\u969B\u7684\u306A\u5354\u529B\u7B49\u306B\u7A4D\u6975\u7684\u306B\u53D6\u308A\u7D44\u3080\u3053\u3068\u306B\u3088\u308A\u3001\u56FD\u969B\u901A\u8CA8\u30B7\u30B9\u30C6\u30E0\u306E\u5B89\u5B9A\u30FB\u56FD\u969B\u8CBF\u6613\u306E\u79E9\u5E8F\u3042\u308B\u767A\u5C55\u3092\u76EE\u6307\u3057\u307E\u3059\u3002"})]})},{children:(0,m.jsxs)(m.Fragment,{children:["\u30FB Mini",(0,m.jsx)(E,{styles:{fontSize:"1.mini"},children:"Copyright \xA9 Ministry of Finance Japan. All Rights Reserved."})]})}]})]})]}),Box:()=>(0,m.jsxs)(E,{styles:{ssCardBox:!0},children:[(0,m.jsx)(yt.SubTitle,{styles:{padding:1,borderBottom:!0},children:"Box"}),(0,m.jsx)(E,{styles:{padding:1,overflow:"auto"},children:(0,m.jsx)(qn.Normal,{styles:{ssCardBox:!1,borderRadius:0,height:1},tone:"cellBorder",colLength:2,head:!1,rows:[[{children:(0,m.jsx)(yt.Description,{children:`<Box>
|
|
985
985
|
helloWorld!!
|
|
@@ -1073,7 +1073,7 @@ text5`,rows:5})]}),(0,m.jsxs)(E,{styles:{flexNewLine:!0},children:["Input.AutoHe
|
|
|
1073
1073
|
header: ReactElement | React.FC< { modalClose } >,
|
|
1074
1074
|
body: ReactElement | React.FC< { modalClose } >,
|
|
1075
1075
|
footer: ReactElement | React.FC< { modalClose } >
|
|
1076
|
-
} )`})}),(0,m.jsxs)(_t,{styles:{padding:2},children:[(0,m.jsx)(ie.Button.Border.R,{onClick:a=>{Yr.open({tipsID:"testTips",parent:a.currentTarget,close_option:{parentBlur:!1,aroundClick:!1,escapeKeyDown:!0},content:()=>(0,m.jsx)(Wt.Comps.Body,{styles:{padding:2},children:(0,m.jsx)(ie.Button.Prime.R,{onClick:()=>{Wt.open({sheetID:"testSheet",close_option:{aroundClick:!0},type:"normal.middleLeft",content:()=>(0,m.jsx)(Wt.Comps.Body,{styles:{padding:2},children:"END"})})},children:"nest"})})})},children:"Tooltips with nested sheet"}),(0,m.jsx)(E,{styles:{flexCenter:!0},children:(0,m.jsxs)(Zr,{styles:{gridCols:3,gap:1},children:[(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.topLeft")},children:"Top Left"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.topCenter")},children:"Top Center"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.topRight")},children:"Top Right"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.middleLeft")},children:"Middle Left"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.middleCenter")},children:"Middle Center"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.middleRight")},children:"Middle Right"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.bottomLeft")},children:"Bottom Left"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.bottomCenter")},children:"Bottom Center"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.bottomRight")},children:"Bottom Right"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("drawer.left")},children:"Drawer Left"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("drawer.bottom")},children:"Drawer Bottom"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("drawer.right")},children:"Drawer Right"}),(0,m.jsx)(ie.Button.Border.R,{onClick:a=>{Yr.open({tipsID:"test40",parent:a.currentTarget,content:(0,m.jsx)(E,{styles:{padding:1,border:!0,borderRadius:2,backgroundColor:"dark",fontColor:"white"},children:"Content"})})},children:"Open Tooltips"})]})}),(0,m.jsxs)(ct.Center,{children:["Image Picker",(0,m.jsx)(Nn,{src:kt.Images.defaultIcon("user"),styles:{unitWidth:6,unitHeight:6},showExpand:!0})]})]})]})]})},hm={index:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(_t,{children:[(0,m.jsx)(hm.Normal,{}),(0,m.jsx)(hm.Data,{}),(0,m.jsx)(hm.Drag,{}),(0,m.jsx)(hm.Spread,{})]})}),Normal:()=>{let r=[];for(var a=0;a<10;a++){let i=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];r.push(i)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"Table.Normal"}),(0,m.jsx)(qn.Normal,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],rows:r,styles:{ssCardBox:!0},onRowClick:i=>{console.log(i)}})]})},Drag:()=>{let r=[];for(var a=0;a<4;a++){let i=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];i.rowID="rowID-"+a,r.push(i)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"Table.Drag"}),(0,m.jsx)(qn.Drag,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],cellStyles:{},cellStylesCallback:()=>({}),rows:r,styles:{ssCardBox:!0},onOrderChanged:i=>{console.log(i)}})]})},Data:()=>{let r=[];for(var a=0;a<100;a++){let l=Math.round(Math.random()*50+1),s=Math.round(Math.random()*50+1),d=Math.round(Math.random()*50+1),c="name_"+l,h="data_"+s,p="data_"+d,_=[{type:"th",children:a+":"+c,data:c,orderIndex:a},{type:"td",children:h,data:h},{type:"td",children:p,data:p}];r.push(_)}r[1].checked=!0,r[4].checked=!0,r[10].checked=!0;let i="testDataTable";return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(tt,{styles:{horizontalAlign:"between"},children:[(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"Table.Data"}),(0,m.jsxs)(tt,{styles:{gap:"1/2",backgroundColor:"theme",borderRadius:"1.tone.primary",overflow:"hidden",fontColor:"white"},children:[(0,m.jsx)(ie.Button.Clear.R,{color:"white",children:"SubmitButton"}),(0,m.jsx)(E,{styles:{flexSizing:"none",unitWidth:"1/4",backgroundColor:"layer.4.opa.middle",isRounded:!0,margin:["2/3",0]}}),(0,m.jsx)(ie.Button.Clear.R,{styles:{padding:[0,1]},color:"white",onClick:l=>{Yr.open({tipsID:hc.default.uuid.gen(),parent:l.target,gravityPoint:24,close_option:{aroundClick:!0,parentBlur:!1},content:(0,m.jsxs)(_t,{styles:{gap:0,padding:["2/3",0],backgroundColor:"layer.1",borderRadius:2,boxShadow:"0.normal",overflow:"hidden"},children:[(0,m.jsx)(ie.Button.Clear.S,{styles:{borderRadius:0,borderBottom:"1.thin"},children:"\u3059\u3079\u3066\u3092\u51FA\u529B"}),(0,m.jsx)(ie.Button.Clear.S,{styles:{borderRadius:0,borderBottom:"1.thin"},children:"\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"}),(0,m.jsx)(ie.Button.Clear.S,{styles:{borderRadius:0},children:"\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"})]})})},children:(0,m.jsx)(Te.EllipsisV,{})})]})]}),(0,m.jsxs)(ct.Separate,{styles:{verticalAlign:"bottom"},children:[(0,m.jsxs)(ct.Left,{styles:{verticalAlign:"bottom"},children:[(0,m.jsx)(qn.Data.SearchInput,{tableID:i}),(0,m.jsx)(qn.Data.Info,{tableID:i})]}),(0,m.jsxs)(ct.Right,{styles:{verticalAlign:"unset"},children:[(0,m.jsx)(qn.Data.RowLength,{tableID:i,lengthSelect:[30,50,100]}),(0,m.jsx)(qn.Data.Paging,{tableID:i})]})]}),(0,m.jsx)(qn.Data,{tableID:i,colLength:3,head:[{data:"head1"},{data:"head2"},{data:"head3"}],rows:r,pageRowLength:30,styles:{ssCardBox:!0},cellStyles:{},cellStylesCallback:()=>({}),filter:[!0],checker:!0})]})},Spread:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"Table.Spread"})})},NG=()=>{let[r,a]=(0,bu.useState)(""),[i,l]=(0,bu.useState)(""),[s,d]=(0,bu.useState)("");return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(E,{children:[(0,m.jsxs)(ie.Button.Prime.R,{onClick:()=>{k_.open({use:"square",develops:[{size:"S"},{size:"R"},{size:"L"}],onProcessFinished:c=>ua(void 0,null,function*(){a(yield c[0].toDataUrl()),l(yield c[1].toDataUrl()),d(yield c[2].toDataUrl())})})},children:[(0,m.jsx)(Te.Image,{})," \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"]}),(0,m.jsxs)(tt,{styles:{verticalAlign:"top",gap:1},children:[r&&(0,m.jsx)(Nn,{styles:{isRounded:!0},src:r,alt:"",showExpand:!0,freeCSS:{maxWidth:12*12}}),i&&(0,m.jsx)(Nn,{style:{maxWidth:24*12},src:i,alt:"",showExpand:!0}),s&&(0,m.jsx)(Nn,{style:{maxWidth:24*12},src:s,alt:"",showExpand:!0}),(0,m.jsx)(Nf,{styles:{border:!0,borderWidth:3,margin:[3,"auto"]},freeCSS:{width:12*10},slideIndex:1,options:{loop:!0,onSlideCallback:c=>{}},slides:[(0,m.jsx)(E,{styles:{padding:3,flexCenter:!0,backgroundColor:"nega"},children:"test1"}),(0,m.jsx)(E,{styles:{padding:3,flexCenter:!0,backgroundColor:"posi"},children:"test2"}),(0,m.jsx)(E,{styles:{padding:3,flexCenter:!0,backgroundColor:"warn"},children:"test3"}),(0,m.jsx)(E,{styles:{padding:3,flexCenter:!0,backgroundColor:"theme"},children:"test4"})]})]})]})})},Nz={Darkmode:r=>(0,m.jsx)(ht.Segmented.Cloud,N(v({cellStyles:{flexCenter:!0,padding:["1/4","1/2"],isRounded:!0},cellCheckedStyles:{boxShadow:"2.normal",backgroundColor:"theme",fontColor:"white"}},r),{styles:v({ssCardBox:!0,backgroundColor:"layer.1",isRounded:!0,gap:"1/6",fontColor:"4.thin"},r.styles),options:[{value:"light",label:"Light"},{value:"dim",label:"Dim"},{value:"dark",label:"Dark"}],value:it.get().darkMode,onUpdateValidValue:({value:a})=>{let i=a[0];hc.default.setLocalStrageData("prf.darkMode",i),it.update.darkMode(i)}})),ThemeColor:()=>{let r=a=>{let i="themeColorSelector";Wt.open({sheetID:i,type:"normal.middleCenter",size:"L",close_option:{aroundClick:!0},closeAfter:()=>{Zl.fn.updateCSSProperty.reset()},content:()=>{let[l,s]=(0,bu.useState)(a.defaultColor);(0,bu.useEffect)(()=>{hc.default.scope(()=>{l!==it.get().themeColor&&(it.update.themeColor(l),hc.default.setLocalStrageData("prf.themeColor",l),Wt.close(i))})},[l]);let d=Object.entries(Ih).map(([c,h])=>{let p=c===l;return(0,m.jsx)(ie.Button.Clear.R,{color:"cloud",styles:{textAlign:"center"},onClick:()=>{s(c)},children:(0,m.jsxs)(_t,{styles:{textAlign:"center",gap:"1/2"},children:[p&&(0,m.jsx)(yt.Supplement,{styles:{padding:["1/4","1/2"],borderRadius:"3.tone.tertiary",backgroundColor:c,boxShadow:"2.normal",margin:"auto",fontColor:"white",fontSize:"0.xs"},children:"\u8A2D\u5B9A\u4E2D"}),(0,m.jsx)(E,{styles:{position:"relative",margin:"auto",backgroundColor:c,ssSphere:2.5},children:(0,m.jsx)(E,{styles:{ssAbsoluteCovered:!0,border:!0,opacity:p?"max":"low",borderWidth:2,transition:"short",isRounded:!0},freeCSS:{transform:"scale(1.25)"}})}),(0,m.jsx)(yt.Supplement,{styles:{ssTextEllipsis:!0},freeCSS:{lineHeight:1.25},children:c.toCapital()})]})},c)});return(0,m.jsx)(Wt.Comps.Body,{children:(0,m.jsxs)(_t,{styles:{padding:2,gap:2},children:[(0,m.jsxs)(ct.Separate,{children:[(0,m.jsx)(yt.Paragraph,{children:"\u30C6\u30FC\u30DE\u3092\u9078\u629E"}),(0,m.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{ssSphere:3},onClick:()=>{Wt.close(i)},children:(0,m.jsx)(Te.Times,{})})]}),(0,m.jsx)(Zr,{styles:{gap:"1/4"},freeCSS:{gridTemplateColumns:"repeat(auto-fit, minmax(4.5rem, 1fr))"},children:d})]})})}})};return(0,m.jsx)(ie.Button.Border.R,{styles:{isRounded:!0,fontColor:"theme"},onClick:a=>{r({defaultColor:it.get().themeColor,cb:i=>{}})},children:(0,m.jsxs)(ct.Center,{styles:{gap:"1/3"},children:[(0,m.jsx)(E,{styles:{boxShadow:"2.normal",ssSquare:1,borderRadius:"1/3",backgroundColor:"theme"}}),"Theme: ",it.get().themeColor.toCapital()]})})}},Lz=()=>{let[r,a]=(0,bu.useState)(Number(hc.default.queryParams.get().ti)||0);return(0,bu.useEffect)(()=>{hc.default.queryParams.set({ti:String(r)})},[r]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{styles:{position:"fixed",bottom:1,left:1,isRounded:!0},freeCSS:{zIndex:20},children:(0,m.jsx)(Nz.Darkmode,{})}),(0,m.jsx)(E,{styles:{position:"fixed",bottom:1,right:1,isRounded:!0},freeCSS:{zIndex:20},children:(0,m.jsx)(Nz.ThemeColor,{})}),(0,m.jsxs)(_t,{styles:{gap:0,minHeight:"contentHeight",backgroundColor:"layer.1",position:"relative"},freeCSS:{zIndex:1},children:[(0,m.jsx)(T_,{styles:{borderBottom:!0,position:"sticky",backgroundColor:"layer.1",top:"topBase"},tabIndex:r,tabs:["Basic","Shadows","Buttons","Inputs","Styling","Effection","Tables","Croppie","PlayGround","Logo"],onTabChange:i=>{localStorage.setItem("designTabHeader",String(i)),a(i)},UnderBreakPointStyles:{position:"static",top:0}}),(0,m.jsx)(E,{styles:{flexSizing:0,position:"relative"},freeCSS:{zIndex:1},children:(0,m.jsx)(C_,{viewIndex:r,views:[(0,m.jsx)(Yf.index,{}),(0,m.jsx)(RG.index,{}),(0,m.jsx)(R_.index,{}),(0,m.jsx)(DG,{}),(0,m.jsx)(AG,{}),(0,m.jsx)(pm.index,{}),(0,m.jsx)(hm.index,{}),(0,m.jsx)(NG,{}),(0,m.jsx)(dd.index,{})],wrapper:i=>(0,m.jsx)(mu.FadeIn,{animationTime:200,children:(0,m.jsx)(dm,{children:(0,m.jsx)(tt,{styles:{gap:2,padding:2,flexWrap:!0,flexChilds:"auto"},children:i})})},r)})})]})]})};var z3=v(v(v(v(v(v({},h3),g3),y3),LG),O3),B3);var fd=K(Ct()),{DesignBook:BG}=z3;D_.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),it.launch({appRoot:r,roundness:3,themeColor:D_.default.getLocalStrageData("prf.themeColor")||"battery",darkMode:D_.default.getLocalStrageData("prf.darkMode")||"dark"});let a=()=>{let i=Rs.useLocation(),l=Rs.useNavigate();return(0,Oz.useEffect)(()=>{Ln.setPushEffect(s=>{l(s)}),Ln.setBackEffect(()=>{l(-1)})},[]),__({pathname:i.pathname}),(0,fd.jsx)(Rs.Routes,{children:(0,fd.jsx)(Rs.Route,{path:"*",element:(0,fd.jsx)(BG,{})},"*")})};Bz.default.createRoot(r).render((0,fd.jsx)(b_,{children:(0,fd.jsx)(Rs.BrowserRouter,{children:(0,fd.jsx)(a,{})})}))});
|
|
1076
|
+
} )`})}),(0,m.jsxs)(_t,{styles:{padding:2},children:[(0,m.jsx)(ie.Button.Border.R,{onClick:a=>{Yr.open({tipsID:"testTips",parent:a.currentTarget,close_option:{parentBlur:!1,aroundClick:!1,escapeKeyDown:!0},content:()=>(0,m.jsx)(Wt.Comps.Body,{styles:{padding:2},children:(0,m.jsx)(ie.Button.Prime.R,{onClick:()=>{Wt.open({sheetID:"testSheet",close_option:{aroundClick:!0},type:"normal.middleLeft",content:()=>(0,m.jsx)(Wt.Comps.Body,{styles:{padding:2},children:"END"})})},children:"nest"})})})},children:"Tooltips with nested sheet"}),(0,m.jsx)(E,{styles:{flexCenter:!0},children:(0,m.jsxs)(Zr,{styles:{gridCols:3,gap:1},children:[(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.topLeft")},children:"Top Left"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.topCenter")},children:"Top Center"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.topRight")},children:"Top Right"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.middleLeft")},children:"Middle Left"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.middleCenter")},children:"Middle Center"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.middleRight")},children:"Middle Right"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.bottomLeft")},children:"Bottom Left"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.bottomCenter")},children:"Bottom Center"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("normal.bottomRight")},children:"Bottom Right"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("drawer.left")},children:"Drawer Left"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("drawer.bottom")},children:"Drawer Bottom"}),(0,m.jsx)(ie.Button.Border.R,{onClick:()=>{r("drawer.right")},children:"Drawer Right"}),(0,m.jsx)(ie.Button.Border.R,{onClick:a=>{Yr.open({tipsID:"test40",parent:a.currentTarget,content:(0,m.jsx)(E,{styles:{padding:1,border:!0,borderRadius:2,backgroundColor:"dark",fontColor:"white"},children:"Content"})})},children:"Open Tooltips"})]})}),(0,m.jsxs)(ct.Center,{children:["Image Picker",(0,m.jsx)(Nn,{src:kt.Images.defaultIcon("user"),styles:{unitWidth:6,unitHeight:6},showExpand:!0})]})]})]})]})},hm={index:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(_t,{children:[(0,m.jsx)(hm.Normal,{}),(0,m.jsx)(hm.Data,{}),(0,m.jsx)(hm.Drag,{}),(0,m.jsx)(hm.Spread,{})]})}),Normal:()=>{let r=[];for(var a=0;a<10;a++){let i=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];r.push(i)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"Table.Normal"}),(0,m.jsx)(qn.Normal,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],rows:r,styles:{ssCardBox:!0},onRowClick:i=>{console.log(i)}})]})},Drag:()=>{let r=[];for(var a=0;a<4;a++){let i=[{children:"head_"+a},{children:"data_"+a},{children:"data_"+a}];i.rowID="rowID-"+a,r.push(i)}return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"Table.Drag"}),(0,m.jsx)(qn.Drag,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],cellStyles:{},cellStylesCallback:()=>({}),rows:r,styles:{ssCardBox:!0},onOrderChanged:i=>{console.log(i)}})]})},Data:()=>{let r=[];for(var a=0;a<100;a++){let l=Math.round(Math.random()*50+1),s=Math.round(Math.random()*50+1),d=Math.round(Math.random()*50+1),c="name_"+l,h="data_"+s,p="data_"+d,_=[{type:"th",children:a+":"+c,data:c,orderIndex:a},{type:"td",children:h,data:h},{type:"td",children:p,data:p}];r.push(_)}r[1].checked=!0,r[4].checked=!0,r[10].checked=!0;let i="testDataTable";return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(tt,{styles:{horizontalAlign:"between"},children:[(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"Table.Data"}),(0,m.jsxs)(tt,{styles:{gap:"1/2",backgroundColor:"theme",borderRadius:"1.tone.primary",overflow:"hidden",fontColor:"white"},children:[(0,m.jsx)(ie.Button.Clear.R,{color:"white",children:"SubmitButton"}),(0,m.jsx)(E,{styles:{flexSizing:"none",unitWidth:"1/4",backgroundColor:"layer.4.opa.middle",isRounded:!0,margin:["2/3",0]}}),(0,m.jsx)(ie.Button.Clear.R,{styles:{padding:[0,1]},color:"white",onClick:l=>{Yr.open({tipsID:hc.default.uuid.gen(),parent:l.target,gravityPoint:24,close_option:{aroundClick:!0,parentBlur:!1},content:(0,m.jsxs)(_t,{styles:{gap:0,padding:["2/3",0],backgroundColor:"layer.1",borderRadius:2,boxShadow:"0.normal",overflow:"hidden"},children:[(0,m.jsx)(ie.Button.Clear.S,{styles:{borderRadius:0,borderBottom:"1.thin"},children:"\u3059\u3079\u3066\u3092\u51FA\u529B"}),(0,m.jsx)(ie.Button.Clear.S,{styles:{borderRadius:0,borderBottom:"1.thin"},children:"\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"}),(0,m.jsx)(ie.Button.Clear.S,{styles:{borderRadius:0},children:"\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"})]})})},children:(0,m.jsx)(Te.EllipsisV,{})})]})]}),(0,m.jsxs)(ct.Separate,{styles:{verticalAlign:"bottom"},children:[(0,m.jsxs)(ct.Left,{styles:{verticalAlign:"bottom"},children:[(0,m.jsx)(qn.Data.SearchInput,{tableID:i}),(0,m.jsx)(qn.Data.Info,{tableID:i})]}),(0,m.jsxs)(ct.Right,{styles:{verticalAlign:"unset"},children:[(0,m.jsx)(qn.Data.RowLength,{tableID:i,lengthSelect:[30,50,100]}),(0,m.jsx)(qn.Data.Paging,{tableID:i})]})]}),(0,m.jsx)(qn.Data,{tableID:i,colLength:3,head:[{data:"head1"},{data:"head2"},{data:"head3"}],rows:r,pageRowLength:30,styles:{ssCardBox:!0},cellStyles:{},cellStylesCallback:()=>({}),filter:[!0],checker:!0})]})},Spread:()=>(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(E,{styles:{fontSize:"5.subTitle"},children:"Table.Spread"})})},NG=()=>{let[r,a]=(0,bu.useState)(""),[i,l]=(0,bu.useState)(""),[s,d]=(0,bu.useState)("");return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(E,{children:[(0,m.jsxs)(ie.Button.Prime.R,{onClick:()=>{k_.open({use:"square",develops:[{size:"S"},{size:"R"},{size:"L"}],onProcessFinished:c=>ua(void 0,null,function*(){a(yield c[0].toDataUrl()),l(yield c[1].toDataUrl()),d(yield c[2].toDataUrl())})})},children:[(0,m.jsx)(Te.Image,{})," \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"]}),(0,m.jsxs)(tt,{styles:{verticalAlign:"top",gap:1},children:[r&&(0,m.jsx)(Nn,{styles:{isRounded:!0},src:r,alt:"",showExpand:!0,freeCSS:{maxWidth:12*12}}),i&&(0,m.jsx)(Nn,{style:{maxWidth:24*12},src:i,alt:"",showExpand:!0}),s&&(0,m.jsx)(Nn,{style:{maxWidth:24*12},src:s,alt:"",showExpand:!0}),(0,m.jsx)(Nf,{styles:{border:!0,borderWidth:3,margin:[3,"auto"]},freeCSS:{width:12*10},slideIndex:1,options:{loop:!0,onSlideCallback:c=>{}},slides:[(0,m.jsx)(E,{styles:{padding:3,flexCenter:!0,backgroundColor:"nega"},children:"test1"}),(0,m.jsx)(E,{styles:{padding:3,flexCenter:!0,backgroundColor:"posi"},children:"test2"}),(0,m.jsx)(E,{styles:{padding:3,flexCenter:!0,backgroundColor:"warn"},children:"test3"}),(0,m.jsx)(E,{styles:{padding:3,flexCenter:!0,backgroundColor:"theme"},children:"test4"})]})]})]})})},Nz={Darkmode:r=>(0,m.jsx)(ht.Segmented.Cloud,N(v({cellStyles:{flexCenter:!0,padding:["1/4","1/2"],isRounded:!0},cellCheckedStyles:{boxShadow:"2.normal",backgroundColor:"theme",fontColor:"white"}},r),{styles:v({ssCardBox:!0,backgroundColor:"layer.1",isRounded:!0,gap:"1/6",fontColor:"4.thin"},r.styles),options:[{value:"light",label:"Light"},{value:"dim",label:"Dim"},{value:"dark",label:"Dark"}],value:it.get().darkMode,onUpdateValidValue:({value:a})=>{let i=a[0];hc.default.setLocalStrageData("prf.darkMode",i),it.update.darkMode(i)}})),ThemeColor:()=>{let r=a=>{let i="themeColorSelector";Wt.open({sheetID:i,type:"normal.middleCenter",size:"L",close_option:{aroundClick:!0},closeAfter:()=>{Zl.fn.updateCSSProperty.reset()},content:()=>{let[l,s]=(0,bu.useState)(a.defaultColor);(0,bu.useEffect)(()=>{hc.default.scope(()=>{l!==it.get().themeColor&&(it.update.themeColor(l),hc.default.setLocalStrageData("prf.themeColor",l),Wt.close(i))})},[l]);let d=Object.entries(Ih).map(([c,h])=>{let p=c===l;return(0,m.jsx)(ie.Button.Clear.R,{color:"cloud",styles:{textAlign:"center"},onClick:()=>{s(c)},children:(0,m.jsxs)(_t,{styles:{textAlign:"center",gap:"1/2"},children:[p&&(0,m.jsx)(yt.Supplement,{styles:{padding:["1/4","1/2"],borderRadius:"3.tone.tertiary",backgroundColor:c,boxShadow:"2.normal",margin:"auto",fontColor:"white",fontSize:"0.xs"},children:"\u8A2D\u5B9A\u4E2D"}),(0,m.jsx)(E,{styles:{position:"relative",margin:"auto",backgroundColor:c,ssSphere:2.5},children:(0,m.jsx)(E,{styles:{ssAbsoluteCovered:!0,border:!0,opacity:p?"max":"low",borderWidth:2,transition:"short",isRounded:!0},freeCSS:{transform:"scale(1.25)"}})}),(0,m.jsx)(yt.Supplement,{styles:{ssTextEllipsis:!0},freeCSS:{lineHeight:1.25},children:c.toCapital()})]})},c)});return(0,m.jsx)(Wt.Comps.Body,{children:(0,m.jsxs)(_t,{styles:{padding:2,gap:2},children:[(0,m.jsxs)(ct.Separate,{children:[(0,m.jsx)(yt.Paragraph,{children:"\u30C6\u30FC\u30DE\u3092\u9078\u629E"}),(0,m.jsx)(ie.Button.Sub.R,{color:"cloud",styles:{ssSphere:3},onClick:()=>{Wt.close(i)},children:(0,m.jsx)(Te.Times,{})})]}),(0,m.jsx)(Zr,{styles:{gap:"1/4"},freeCSS:{gridTemplateColumns:"repeat(auto-fit, minmax(4.5rem, 1fr))"},children:d})]})})}})};return(0,m.jsx)(ie.Button.Border.R,{styles:{isRounded:!0,fontColor:"theme"},onClick:a=>{r({defaultColor:it.get().themeColor,cb:i=>{}})},children:(0,m.jsxs)(ct.Center,{styles:{gap:"1/3"},children:[(0,m.jsx)(E,{styles:{boxShadow:"2.normal",ssSquare:1,borderRadius:"1/3",backgroundColor:"theme"}}),"Theme: ",it.get().themeColor.toCapital()]})})}},Lz=()=>{let[r,a]=(0,bu.useState)(Number(hc.default.queryParams.get().ti)||0);return(0,bu.useEffect)(()=>{hc.default.queryParams.set({ti:String(r)})},[r]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{styles:{position:"fixed",bottom:1,left:1,isRounded:!0},freeCSS:{zIndex:20},children:(0,m.jsx)(Nz.Darkmode,{})}),(0,m.jsx)(E,{styles:{position:"fixed",bottom:1,right:1,isRounded:!0},freeCSS:{zIndex:20},children:(0,m.jsx)(Nz.ThemeColor,{})}),(0,m.jsxs)(_t,{styles:{gap:0,minHeight:"contentHeight",backgroundColor:"layer.1",position:"relative"},freeCSS:{zIndex:1},children:[(0,m.jsx)(T_,{styles:{borderBottom:!0,position:"sticky",backgroundColor:"layer.1",top:"topBase"},tabIndex:r,tabs:["Basic","Shadows","Buttons","Inputs","Styling","Effection","Tables","Croppie","PlayGround","Logo"],onTabChange:i=>{localStorage.setItem("designTabHeader",String(i)),a(i)},UnderBreakPointStyles:{position:"static",top:0}}),(0,m.jsx)(E,{styles:{flexSizing:0,position:"relative"},freeCSS:{zIndex:1},children:(0,m.jsx)(w_,{viewIndex:r,views:[(0,m.jsx)(Yf.index,{}),(0,m.jsx)(RG.index,{}),(0,m.jsx)(R_.index,{}),(0,m.jsx)(DG,{}),(0,m.jsx)(AG,{}),(0,m.jsx)(pm.index,{}),(0,m.jsx)(hm.index,{}),(0,m.jsx)(NG,{}),(0,m.jsx)(dd.index,{})],wrapper:i=>(0,m.jsx)(mu.FadeIn,{animationTime:200,children:(0,m.jsx)(dm,{children:(0,m.jsx)(tt,{styles:{gap:2,padding:2,flexWrap:!0,flexChilds:"auto"},children:i})})},r)})})]})]})};var z3=v(v(v(v(v(v({},h3),g3),y3),LG),O3),B3);var fd=K(wt()),{DesignBook:BG}=z3;D_.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),it.launch({appRoot:r,roundness:3,themeColor:D_.default.getLocalStrageData("prf.themeColor")||"battery",darkMode:D_.default.getLocalStrageData("prf.darkMode")||"dark"});let a=()=>{let i=Rs.useLocation(),l=Rs.useNavigate();return(0,Oz.useEffect)(()=>{Ln.setPushEffect(s=>{l(s)}),Ln.setBackEffect(()=>{l(-1)})},[]),__({pathname:i.pathname}),(0,fd.jsx)(Rs.Routes,{children:(0,fd.jsx)(Rs.Route,{path:"*",element:(0,fd.jsx)(BG,{})},"*")})};Bz.default.createRoot(r).render((0,fd.jsx)(b_,{children:(0,fd.jsx)(Rs.BrowserRouter,{children:(0,fd.jsx)(a,{})})}))});
|
|
1077
1077
|
/*! Bundled license information:
|
|
1078
1078
|
|
|
1079
1079
|
react/cjs/react.development.js:
|