amotify 0.2.123 → 0.2.124

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 bV=Object.create;var R_=Object.defineProperty;var yV=Object.getOwnPropertyDescriptor;var SV=Object.getOwnPropertyNames;var wV=Object.getPrototypeOf,CV=Object.prototype.hasOwnProperty;var xV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ve=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Td=(r,a)=>{for(var o in a)R_(r,o,{get:a[o],enumerable:!0})},E_=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of SV(a))!CV.call(r,s)&&s!==o&&R_(r,s,{get:()=>a[s],enumerable:!(l=yV(a,s))||l.enumerable});return r},Jr=(r,a,o)=>(E_(r,a,"default"),o&&E_(o,a,"default")),K=(r,a,o)=>(o=r!=null?bV(wV(r)):{},E_(a||!r||!r.__esModule?R_(o,"default",{value:r,enumerable:!0}):o,r)),kV=r=>E_(R_({},"__esModule",{value:!0}),r);var na=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())});var Yk=Ve((gr,D_)=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(x){if(x===null||typeof x!="object")return null;var U=k&&x[k]||x[L];return typeof U=="function"?U:null}var Y={current:null},O={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},J={},N=null;function te(x){N=x}J.setExtraStackFrame=function(x){N=x},J.getCurrentStack=null,J.getStackAddendum=function(){var x="";N&&(x+=N);var U=J.getCurrentStack;return U&&(x+=U()||""),x};var _e=!1,ae=!1,ye=!1,Se=!1,ge=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:O,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=J,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("warn",x,he)}}function fe(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("error",x,he)}}function B(x,U,he){{var Ee=H.ReactDebugCurrentFrame,Xe=Ee.getStackAddendum();Xe!==""&&(U+="%s",he=he.concat([Xe]));var Mt=he.map(function(bt){return String(bt)});Mt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Mt)}}var W={};function ne(x,U){{var he=x.constructor,Ee=he&&(he.displayName||he.name)||"ReactClass",Xe=Ee+"."+U;if(W[Xe])return;fe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",U,Ee),W[Xe]=!0}}var ee={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,he){ne(x,"forceUpdate")},enqueueReplaceState:function(x,U,he,Ee){ne(x,"replaceState")},enqueueSetState:function(x,U,he,Ee){ne(x,"setState")}},de=Object.assign,ke={};Object.freeze(ke);function be(x,U,he){this.props=x,this.context=U,this.refs=ke,this.updater=he||ee}be.prototype.isReactComponent={},be.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,U,"setState")},be.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Pe={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)."]},qe=function(x,U){Object.defineProperty(be.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var He in Pe)Pe.hasOwnProperty(He)&&qe(He,Pe[He])}function at(){}at.prototype=be.prototype;function Tt(x,U,he){this.props=x,this.context=U,this.refs=ke,this.updater=he||ee}var ft=Tt.prototype=new at;ft.constructor=Tt,de(ft,be.prototype),ft.isPureReactComponent=!0;function wt(){var x={current:null};return Object.seal(x),x}var vt=Array.isArray;function tt(x){return vt(x)}function we(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,he=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return he}}function yt(x){try{return Lt(x),!1}catch(U){return!0}}function Lt(x){return""+x}function Ft(x){if(yt(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",we(x)),Lt(x)}function Ht(x,U,he){var Ee=x.displayName;if(Ee)return Ee;var Xe=U.displayName||U.name||"";return Xe!==""?he+"("+Xe+")":he}function er(x){return x.displayName||"Context"}function sr(x){if(x==null)return null;if(typeof x.tag=="number"&&fe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return er(U)+".Consumer";case c:var he=x;return er(he._context)+".Provider";case p:return Ht(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:sr(x.type)||"Memo";case S:{var Xe=x,Mt=Xe._payload,bt=Xe._init;try{return sr(bt(Mt))}catch(Jt){return null}}}return null}var Cr=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,ur;ur={};function Dr(x){if(Cr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function xr(x){if(Cr.call(x,"key")){var U=Object.getOwnPropertyDescriptor(x,"key").get;if(U&&U.isReactWarning)return!1}return x.key!==void 0}function ha(x,U){var he=function(){jr||(jr=!0,fe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};he.isReactWarning=!0,Object.defineProperty(x,"key",{get:he,configurable:!0})}function yr(x,U){var he=function(){qr||(qr=!0,fe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};he.isReactWarning=!0,Object.defineProperty(x,"ref",{get:he,configurable:!0})}function hr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=sr(F.current.type);ur[U]||(fe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',U,x.ref),ur[U]=!0)}}var Mr=function(x,U,he,Ee,Xe,Mt,bt){var Jt={$$typeof:a,type:x,key:U,ref:he,props:bt,_owner:Mt};return Jt._store={},Object.defineProperty(Jt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Jt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Jt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Xe}),Object.freeze&&(Object.freeze(Jt.props),Object.freeze(Jt)),Jt};function _a(x,U,he){var Ee,Xe={},Mt=null,bt=null,Jt=null,Sr=null;if(U!=null){Dr(U)&&(bt=U.ref,hr(U)),xr(U)&&(Ft(U.key),Mt=""+U.key),Jt=U.__self===void 0?null:U.__self,Sr=U.__source===void 0?null:U.__source;for(Ee in U)Cr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(Xe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Xe.children=he;else if(Ur>1){for(var ua=Array(Ur),ca=0;ca<Ur;ca++)ua[ca]=arguments[ca+2];Object.freeze&&Object.freeze(ua),Xe.children=ua}if(x&&x.defaultProps){var ma=x.defaultProps;for(Ee in ma)Xe[Ee]===void 0&&(Xe[Ee]=ma[Ee])}if(Mt||bt){var Ea=typeof x=="function"?x.displayName||x.name||"Unknown":x;Mt&&ha(Xe,Ea),bt&&yr(Xe,Ea)}return Mr(x,Mt,bt,Jt,Sr,F.current,Xe)}function Be(x,U){var he=Mr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return he}function it(x,U,he){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Xe=de({},x.props),Mt=x.key,bt=x.ref,Jt=x._self,Sr=x._source,Ur=x._owner;if(U!=null){Dr(U)&&(bt=U.ref,Ur=F.current),xr(U)&&(Ft(U.key),Mt=""+U.key);var ua;x.type&&x.type.defaultProps&&(ua=x.type.defaultProps);for(Ee in U)Cr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(U[Ee]===void 0&&ua!==void 0?Xe[Ee]=ua[Ee]:Xe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Xe.children=he;else if(ca>1){for(var ma=Array(ca),Ea=0;Ea<ca;Ea++)ma[Ea]=arguments[Ea+2];Xe.children=ma}return Mr(x.type,Mt,bt,Jt,Sr,Ur,Xe)}function gt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var $t=".",Ut=":";function kr(x){var U=/[=:]/g,he={"=":"=0",":":"=2"},Ee=x.replace(U,function(Xe){return he[Xe]});return"$"+Ee}var mr=!1,Yr=/\/+/g;function $(x){return x.replace(Yr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(Ft(x.key),kr(""+x.key)):U.toString(36)}function R(x,U,he,Ee,Xe){var Mt=typeof x;(Mt==="undefined"||Mt==="boolean")&&(x=null);var bt=!1;if(x===null)bt=!0;else switch(Mt){case"string":case"number":bt=!0;break;case"object":switch(x.$$typeof){case a:case o:bt=!0}}if(bt){var Jt=x,Sr=Xe(Jt),Ur=Ee===""?$t+P(Jt,0):Ee;if(tt(Sr)){var ua="";Ur!=null&&(ua=$(Ur)+"/"),R(Sr,U,ua,"",function(cp){return cp})}else Sr!=null&&(gt(Sr)&&(Sr.key&&(!Jt||Jt.key!==Sr.key)&&Ft(Sr.key),Sr=Be(Sr,he+(Sr.key&&(!Jt||Jt.key!==Sr.key)?$(""+Sr.key)+"/":"")+Ur)),U.push(Sr));return 1}var ca,ma,Ea=0,en=Ee===""?$t:Ee+Ut;if(tt(x))for(var Nf=0;Nf<x.length;Nf++)ca=x[Nf],ma=en+P(ca,Nf),Ea+=R(ca,U,he,ma,Xe);else{var tn=M(x);if(typeof tn=="function"){var Of=x;tn===Of.entries&&(mr||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mr=!0);for(var Em=tn.call(Of),up,Ug=0;!(up=Em.next()).done;)ca=up.value,ma=en+P(ca,Ug++),Ea+=R(ca,U,he,ma,Xe)}else if(Mt==="object"){var Ps=String(x);throw new Error("Objects are not valid as a React child (found: "+(Ps==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Ps)+"). If you meant to render a collection of children, use an array instead.")}}return Ea}function z(x,U,he){if(x==null)return x;var Ee=[],Xe=0;return R(x,Ee,"","",function(Mt){return U.call(he,Mt,Xe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function ie(x,U,he){z(x,function(){U.apply(this,arguments)},he)}function oe(x){return z(x,function(U){return U})||[]}function Oe(x){if(!gt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Ie(x){var U={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};U.Provider={$$typeof:c,_context:U};var he=!1,Ee=!1,Xe=!1;{var Mt={$$typeof:h,_context:U};Object.defineProperties(Mt,{Provider:{get:function(){return Ee||(Ee=!0,fe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),U.Provider},set:function(bt){U.Provider=bt}},_currentValue:{get:function(){return U._currentValue},set:function(bt){U._currentValue=bt}},_currentValue2:{get:function(){return U._currentValue2},set:function(bt){U._currentValue2=bt}},_threadCount:{get:function(){return U._threadCount},set:function(bt){U._threadCount=bt}},Consumer:{get:function(){return he||(he=!0,fe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),U.Consumer}},displayName:{get:function(){return U.displayName},set:function(bt){Xe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",bt),Xe=!0)}}}),U.Consumer=Mt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,Ye=0,Ae=1,Qe=2;function I(x){if(x._status===Me){var U=x._result,he=U();if(he.then(function(Mt){if(x._status===Ye||x._status===Me){var bt=x;bt._status=Ae,bt._result=Mt}},function(Mt){if(x._status===Ye||x._status===Me){var bt=x;bt._status=Qe,bt._result=Mt}}),x._status===Me){var Ee=x;Ee._status=Ye,Ee._result=he}}if(x._status===Ae){var Xe=x._result;return Xe===void 0&&fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ var bV=Object.create;var R_=Object.defineProperty;var yV=Object.getOwnPropertyDescriptor;var SV=Object.getOwnPropertyNames;var wV=Object.getPrototypeOf,CV=Object.prototype.hasOwnProperty;var xV=(r,a)=>()=>(r&&(a=r(r=0)),a);var Ue=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),Ed=(r,a)=>{for(var o in a)R_(r,o,{get:a[o],enumerable:!0})},E_=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of SV(a))!CV.call(r,s)&&s!==o&&R_(r,s,{get:()=>a[s],enumerable:!(l=yV(a,s))||l.enumerable});return r},Jr=(r,a,o)=>(E_(r,a,"default"),o&&E_(o,a,"default")),K=(r,a,o)=>(o=r!=null?bV(wV(r)):{},E_(a||!r||!r.__esModule?R_(o,"default",{value:r,enumerable:!0}):o,r)),kV=r=>E_(R_({},"__esModule",{value:!0}),r);var na=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())});var Yk=Ue((yr,D_)=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r="18.3.1",a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(x){if(x===null||typeof x!="object")return null;var U=k&&x[k]||x[L];return typeof U=="function"?U:null}var Y={current:null},O={transition:null},j={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},Q={},N=null;function te(x){N=x}Q.setExtraStackFrame=function(x){N=x},Q.getCurrentStack=null,Q.getStackAddendum=function(){var x="";N&&(x+=N);var U=Q.getCurrentStack;return U&&(x+=U()||""),x};var _e=!1,re=!1,be=!1,ye=!1,ge=!1,H={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:O,ReactCurrentOwner:F};H.ReactDebugCurrentFrame=Q,H.ReactCurrentActQueue=j;function le(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("warn",x,he)}}function fe(x){{for(var U=arguments.length,he=new Array(U>1?U-1:0),Ee=1;Ee<U;Ee++)he[Ee-1]=arguments[Ee];B("error",x,he)}}function B(x,U,he){{var Ee=H.ReactDebugCurrentFrame,Xe=Ee.getStackAddendum();Xe!==""&&(U+="%s",he=he.concat([Xe]));var Mt=he.map(function(yt){return String(yt)});Mt.unshift("Warning: "+U),Function.prototype.apply.call(console[x],console,Mt)}}var W={};function ne(x,U){{var he=x.constructor,Ee=he&&(he.displayName||he.name)||"ReactClass",Xe=Ee+"."+U;if(W[Xe])return;fe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",U,Ee),W[Xe]=!0}}var ee={isMounted:function(x){return!1},enqueueForceUpdate:function(x,U,he){ne(x,"forceUpdate")},enqueueReplaceState:function(x,U,he,Ee){ne(x,"replaceState")},enqueueSetState:function(x,U,he,Ee){ne(x,"setState")}},de=Object.assign,Ce={};Object.freeze(Ce);function Se(x,U,he){this.props=x,this.context=U,this.refs=Ce,this.updater=he||ee}Se.prototype.isReactComponent={},Se.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,U,"setState")},Se.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};{var Ye={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},$e=function(x,U){Object.defineProperty(Se.prototype,x,{get:function(){le("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})};for(var Pe in Ye)Ye.hasOwnProperty(Pe)&&$e(Pe,Ye[Pe])}function et(){}et.prototype=Se.prototype;function ct(x,U,he){this.props=x,this.context=U,this.refs=Ce,this.updater=he||ee}var lt=ct.prototype=new et;lt.constructor=ct,de(lt,Se.prototype),lt.isPureReactComponent=!0;function Tt(){var x={current:null};return Object.seal(x),x}var wt=Array.isArray;function Ze(x){return wt(x)}function Te(x){{var U=typeof Symbol=="function"&&Symbol.toStringTag,he=U&&x[Symbol.toStringTag]||x.constructor.name||"Object";return he}}function pt(x){try{return Lt(x),!1}catch(U){return!0}}function Lt(x){return""+x}function jt(x){if(pt(x))return fe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Te(x)),Lt(x)}function Ut(x,U,he){var Ee=x.displayName;if(Ee)return Ee;var Xe=U.displayName||U.name||"";return Xe!==""?he+"("+Xe+")":he}function er(x){return x.displayName||"Context"}function ur(x){if(x==null)return null;if(typeof x.tag=="number"&&fe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case h:var U=x;return er(U)+".Consumer";case c:var he=x;return er(he._context)+".Provider";case p:return Ut(x,x.render,"ForwardRef");case b:var Ee=x.displayName||null;return Ee!==null?Ee:ur(x.type)||"Memo";case S:{var Xe=x,Mt=Xe._payload,yt=Xe._init;try{return ur(yt(Mt))}catch(Jt){return null}}}return null}var Tr=Object.prototype.hasOwnProperty,ra={key:!0,ref:!0,__self:!0,__source:!0},jr,qr,wr;wr={};function fr(x){if(Tr.call(x,"ref")){var U=Object.getOwnPropertyDescriptor(x,"ref").get;if(U&&U.isReactWarning)return!1}return x.ref!==void 0}function _r(x){if(Tr.call(x,"key")){var U=Object.getOwnPropertyDescriptor(x,"key").get;if(U&&U.isReactWarning)return!1}return x.key!==void 0}function ha(x,U){var he=function(){jr||(jr=!0,fe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};he.isReactWarning=!0,Object.defineProperty(x,"key",{get:he,configurable:!0})}function Cr(x,U){var he=function(){qr||(qr=!0,fe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};he.isReactWarning=!0,Object.defineProperty(x,"ref",{get:he,configurable:!0})}function mr(x){if(typeof x.ref=="string"&&F.current&&x.__self&&F.current.stateNode!==x.__self){var U=ur(F.current.type);wr[U]||(fe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',U,x.ref),wr[U]=!0)}}var Mr=function(x,U,he,Ee,Xe,Mt,yt){var Jt={$$typeof:a,type:x,key:U,ref:he,props:yt,_owner:Mt};return Jt._store={},Object.defineProperty(Jt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Jt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Jt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Xe}),Object.freeze&&(Object.freeze(Jt.props),Object.freeze(Jt)),Jt};function ga(x,U,he){var Ee,Xe={},Mt=null,yt=null,Jt=null,xr=null;if(U!=null){fr(U)&&(yt=U.ref,mr(U)),_r(U)&&(jt(U.key),Mt=""+U.key),Jt=U.__self===void 0?null:U.__self,xr=U.__source===void 0?null:U.__source;for(Ee in U)Tr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(Xe[Ee]=U[Ee])}var Ur=arguments.length-2;if(Ur===1)Xe.children=he;else if(Ur>1){for(var ua=Array(Ur),ca=0;ca<Ur;ca++)ua[ca]=arguments[ca+2];Object.freeze&&Object.freeze(ua),Xe.children=ua}if(x&&x.defaultProps){var ma=x.defaultProps;for(Ee in ma)Xe[Ee]===void 0&&(Xe[Ee]=ma[Ee])}if(Mt||yt){var Ra=typeof x=="function"?x.displayName||x.name||"Unknown":x;Mt&&ha(Xe,Ra),yt&&Cr(Xe,Ra)}return Mr(x,Mt,yt,Jt,xr,F.current,Xe)}function Be(x,U){var he=Mr(x.type,U,x.ref,x._self,x._source,x._owner,x.props);return he}function st(x,U,he){if(x==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+x+".");var Ee,Xe=de({},x.props),Mt=x.key,yt=x.ref,Jt=x._self,xr=x._source,Ur=x._owner;if(U!=null){fr(U)&&(yt=U.ref,Ur=F.current),_r(U)&&(jt(U.key),Mt=""+U.key);var ua;x.type&&x.type.defaultProps&&(ua=x.type.defaultProps);for(Ee in U)Tr.call(U,Ee)&&!ra.hasOwnProperty(Ee)&&(U[Ee]===void 0&&ua!==void 0?Xe[Ee]=ua[Ee]:Xe[Ee]=U[Ee])}var ca=arguments.length-2;if(ca===1)Xe.children=he;else if(ca>1){for(var ma=Array(ca),Ra=0;Ra<ca;Ra++)ma[Ra]=arguments[Ra+2];Xe.children=ma}return Mr(x.type,Mt,yt,Jt,xr,Ur,Xe)}function bt(x){return typeof x=="object"&&x!==null&&x.$$typeof===a}var $t=".",Vt=":";function Er(x){var U=/[=:]/g,he={"=":"=0",":":"=2"},Ee=x.replace(U,function(Xe){return he[Xe]});return"$"+Ee}var vr=!1,Yr=/\/+/g;function $(x){return x.replace(Yr,"$&/")}function P(x,U){return typeof x=="object"&&x!==null&&x.key!=null?(jt(x.key),Er(""+x.key)):U.toString(36)}function R(x,U,he,Ee,Xe){var Mt=typeof x;(Mt==="undefined"||Mt==="boolean")&&(x=null);var yt=!1;if(x===null)yt=!0;else switch(Mt){case"string":case"number":yt=!0;break;case"object":switch(x.$$typeof){case a:case o:yt=!0}}if(yt){var Jt=x,xr=Xe(Jt),Ur=Ee===""?$t+P(Jt,0):Ee;if(Ze(xr)){var ua="";Ur!=null&&(ua=$(Ur)+"/"),R(xr,U,ua,"",function(cp){return cp})}else xr!=null&&(bt(xr)&&(xr.key&&(!Jt||Jt.key!==xr.key)&&jt(xr.key),xr=Be(xr,he+(xr.key&&(!Jt||Jt.key!==xr.key)?$(""+xr.key)+"/":"")+Ur)),U.push(xr));return 1}var ca,ma,Ra=0,en=Ee===""?$t:Ee+Vt;if(Ze(x))for(var Of=0;Of<x.length;Of++)ca=x[Of],ma=en+P(ca,Of),Ra+=R(ca,U,he,ma,Xe);else{var tn=M(x);if(typeof tn=="function"){var Mf=x;tn===Mf.entries&&(vr||le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vr=!0);for(var Em=tn.call(Mf),up,Ug=0;!(up=Em.next()).done;)ca=up.value,ma=en+P(ca,Ug++),Ra+=R(ca,U,he,ma,Xe)}else if(Mt==="object"){var Ps=String(x);throw new Error("Objects are not valid as a React child (found: "+(Ps==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Ps)+"). If you meant to render a collection of children, use an array instead.")}}return Ra}function z(x,U,he){if(x==null)return x;var Ee=[],Xe=0;return R(x,Ee,"","",function(Mt){return U.call(he,Mt,Xe++)}),Ee}function G(x){var U=0;return z(x,function(){U++}),U}function ie(x,U,he){z(x,function(){U.apply(this,arguments)},he)}function oe(x){return z(x,function(U){return U})||[]}function Oe(x){if(!bt(x))throw new Error("React.Children.only expected to receive a single React element child.");return x}function Ie(x){var U={$$typeof:h,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};U.Provider={$$typeof:c,_context:U};var he=!1,Ee=!1,Xe=!1;{var Mt={$$typeof:h,_context:U};Object.defineProperties(Mt,{Provider:{get:function(){return Ee||(Ee=!0,fe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),U.Provider},set:function(yt){U.Provider=yt}},_currentValue:{get:function(){return U._currentValue},set:function(yt){U._currentValue=yt}},_currentValue2:{get:function(){return U._currentValue2},set:function(yt){U._currentValue2=yt}},_threadCount:{get:function(){return U._threadCount},set:function(yt){U._threadCount=yt}},Consumer:{get:function(){return he||(he=!0,fe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),U.Consumer}},displayName:{get:function(){return U.displayName},set:function(yt){Xe||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",yt),Xe=!0)}}}),U.Consumer=Mt}return U._currentRenderer=null,U._currentRenderer2=null,U}var Me=-1,We=0,Ae=1,Qe=2;function I(x){if(x._status===Me){var U=x._result,he=U();if(he.then(function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Ae,yt._result=Mt}},function(Mt){if(x._status===We||x._status===Me){var yt=x;yt._status=Qe,yt._result=Mt}}),x._status===Me){var Ee=x;Ee._status=We,Ee._result=he}}if(x._status===Ae){var Xe=x._result;return Xe===void 0&&fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -6,69 +6,69 @@ Your code should look like:
6
6
  Did you accidentally put curly braces around the import?`,Xe),"default"in Xe||fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
7
 
8
8
  Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,Xe),Xe.default}else throw x._result}function V(x){var U={_status:Me,_result:x},he={$$typeof:S,_payload:U,_init:I};{var Ee,Xe;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Ee},set:function(Mt){fe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ee=Mt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Xe},set:function(Mt){fe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Xe=Mt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function re(x){x!=null&&x.$$typeof===b?fe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?fe("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&fe("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&(x.defaultProps!=null||x.propTypes!=null)&&fe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var U={$$typeof:p,render:x};{var he;Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(Ee){he=Ee,!x.name&&!x.displayName&&(x.displayName=Ee)}})}return U}var se;se=Symbol.for("react.module.reference");function We(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===f||ge||x===s||x===m||x===g||Se||x===w||_e||ae||ye||typeof x=="object"&&x!==null&&(x.$$typeof===S||x.$$typeof===b||x.$$typeof===c||x.$$typeof===h||x.$$typeof===p||x.$$typeof===se||x.getModuleId!==void 0))}function Fe(x,U){We(x)||fe("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x);var he={$$typeof:b,type:x,compare:U===void 0?null:U};{var Ee;Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return Ee},set:function(Xe){Ee=Xe,!x.name&&!x.displayName&&(x.displayName=Xe)}})}return he}function D(){var x=Y.current;return x===null&&fe(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,Xe),Xe.default}else throw x._result}function V(x){var U={_status:Me,_result:x},he={$$typeof:S,_payload:U,_init:I};{var Ee,Xe;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Ee},set:function(Mt){fe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Ee=Mt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Xe},set:function(Mt){fe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Xe=Mt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function ae(x){x!=null&&x.$$typeof===b?fe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?fe("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&fe("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&(x.defaultProps!=null||x.propTypes!=null)&&fe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var U={$$typeof:p,render:x};{var he;Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(Ee){he=Ee,!x.name&&!x.displayName&&(x.displayName=Ee)}})}return U}var se;se=Symbol.for("react.module.reference");function Ve(x){return!!(typeof x=="string"||typeof x=="function"||x===l||x===f||ge||x===s||x===m||x===g||ye||x===w||_e||re||be||typeof x=="object"&&x!==null&&(x.$$typeof===S||x.$$typeof===b||x.$$typeof===c||x.$$typeof===h||x.$$typeof===p||x.$$typeof===se||x.getModuleId!==void 0))}function Fe(x,U){Ve(x)||fe("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x);var he={$$typeof:b,type:x,compare:U===void 0?null:U};{var Ee;Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return Ee},set:function(Xe){Ee=Xe,!x.name&&!x.displayName&&(x.displayName=Xe)}})}return he}function D(){var x=Y.current;return x===null&&fe(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
10
  1. You might have mismatching versions of React and the renderer (such as React DOM)
11
11
  2. You might be breaking the Rules of Hooks
12
12
  3. You might have more than one copy of React in the same app
13
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function q(x){var U=D();if(x._context!==void 0){var he=x._context;he.Consumer===x?fe("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):he.Provider===x&&fe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return U.useContext(x)}function pe(x){var U=D();return U.useState(x)}function Te(x,U,he){var Ee=D();return Ee.useReducer(x,U,he)}function Ue(x){var U=D();return U.useRef(x)}function st(x,U){var he=D();return he.useEffect(x,U)}function Je(x,U){var he=D();return he.useInsertionEffect(x,U)}function Ke(x,U){var he=D();return he.useLayoutEffect(x,U)}function Ct(x,U){var he=D();return he.useCallback(x,U)}function kt(x,U){var he=D();return he.useMemo(x,U)}function Vt(x,U,he){var Ee=D();return Ee.useImperativeHandle(x,U,he)}function $r(x,U){{var he=D();return he.useDebugValue(x,U)}}function Ha(){var x=D();return x.useTransition()}function la(x){var U=D();return U.useDeferredValue(x)}function sa(){var x=D();return x.useId()}function Ga(x,U,he){var Ee=D();return Ee.useSyncExternalStore(x,U,he)}var Nt=0,qn,is,ls,Qt,aa,Za,Gr;function Yn(){}Yn.__reactDisabledLog=!0;function bc(){{if(Nt===0){qn=console.log,is=console.info,ls=console.warn,Qt=console.error,aa=console.group,Za=console.groupCollapsed,Gr=console.groupEnd;var x={configurable:!0,enumerable:!0,value:Yn,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}Nt++}}function ap(){{if(Nt--,Nt===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:de({},x,{value:qn}),info:de({},x,{value:is}),warn:de({},x,{value:ls}),error:de({},x,{value:Qt}),group:de({},x,{value:aa}),groupCollapsed:de({},x,{value:Za}),groupEnd:de({},x,{value:Gr})})}Nt<0&&fe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var np=H.ReactCurrentDispatcher,yc;function Cu(x,U,he){{if(yc===void 0)try{throw Error()}catch(Xe){var Ee=Xe.stack.trim().match(/\n( *(at )?)/);yc=Ee&&Ee[1]||""}return`
14
- `+yc+x}}var hl=!1,xu;{var xf=typeof WeakMap=="function"?WeakMap:Map;xu=new xf}function gm(x,U){if(!x||hl)return"";{var he=xu.get(x);if(he!==void 0)return he}var Ee;hl=!0;var Xe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Mt;Mt=np.current,np.current=null,bc();try{if(U){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(en){Ee=en}Reflect.construct(x,[],bt)}else{try{bt.call()}catch(en){Ee=en}x.call(bt.prototype)}}else{try{throw Error()}catch(en){Ee=en}x()}}catch(en){if(en&&Ee&&typeof en.stack=="string"){for(var Jt=en.stack.split(`
15
- `),Sr=Ee.stack.split(`
16
- `),Ur=Jt.length-1,ua=Sr.length-1;Ur>=1&&ua>=0&&Jt[Ur]!==Sr[ua];)ua--;for(;Ur>=1&&ua>=0;Ur--,ua--)if(Jt[Ur]!==Sr[ua]){if(Ur!==1||ua!==1)do if(Ur--,ua--,ua<0||Jt[Ur]!==Sr[ua]){var ca=`
17
- `+Jt[Ur].replace(" at new "," at ");return x.displayName&&ca.includes("<anonymous>")&&(ca=ca.replace("<anonymous>",x.displayName)),typeof x=="function"&&xu.set(x,ca),ca}while(Ur>=1&&ua>=0);break}}}finally{hl=!1,np.current=Mt,ap(),Error.prepareStackTrace=Xe}var ma=x?x.displayName||x.name:"",Ea=ma?Cu(ma):"";return typeof x=="function"&&xu.set(x,Ea),Ea}function op(x,U,he){return gm(x,!1)}function Bg(x){var U=x.prototype;return!!(U&&U.isReactComponent)}function ku(x,U,he){if(x==null)return"";if(typeof x=="function")return gm(x,Bg(x));if(typeof x=="string")return Cu(x);switch(x){case m:return Cu("Suspense");case g:return Cu("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return op(x.render);case b:return ku(x.type,U,he);case S:{var Ee=x,Xe=Ee._payload,Mt=Ee._init;try{return ku(Mt(Xe),U,he)}catch(bt){}}}return""}var bm={},kf=H.ReactDebugCurrentFrame;function Tf(x){if(x){var U=x._owner,he=ku(x.type,x._source,U?U.type:null);kf.setExtraStackFrame(he)}else kf.setExtraStackFrame(null)}function ym(x,U,he,Ee,Xe){{var Mt=Function.call.bind(Cr);for(var bt in x)if(Mt(x,bt)){var Jt=void 0;try{if(typeof x[bt]!="function"){var Sr=Error((Ee||"React class")+": "+he+" 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 Sr.name="Invariant Violation",Sr}Jt=x[bt](U,bt,Ee,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ur){Jt=Ur}Jt&&!(Jt instanceof Error)&&(Tf(Xe),fe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ee||"React class",he,bt,typeof Jt),Tf(null)),Jt instanceof Error&&!(Jt.message in bm)&&(bm[Jt.message]=!0,Tf(Xe),fe("Failed %s type: %s",he,Jt.message),Tf(null))}}}function Tu(x){if(x){var U=x._owner,he=ku(x.type,x._source,U?U.type:null);te(he)}else te(null)}var Ef;Ef=!1;function Hr(){if(F.current){var x=sr(F.current.type);if(x)return`
13
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}function q(x){var U=D();if(x._context!==void 0){var he=x._context;he.Consumer===x?fe("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):he.Provider===x&&fe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return U.useContext(x)}function pe(x){var U=D();return U.useState(x)}function ke(x,U,he){var Ee=D();return Ee.useReducer(x,U,he)}function He(x){var U=D();return U.useRef(x)}function ft(x,U){var he=D();return he.useEffect(x,U)}function Je(x,U){var he=D();return he.useInsertionEffect(x,U)}function Ke(x,U){var he=D();return he.useLayoutEffect(x,U)}function Ct(x,U){var he=D();return he.useCallback(x,U)}function kt(x,U){var he=D();return he.useMemo(x,U)}function Wt(x,U,he){var Ee=D();return Ee.useImperativeHandle(x,U,he)}function $r(x,U){{var he=D();return he.useDebugValue(x,U)}}function Ha(){var x=D();return x.useTransition()}function la(x){var U=D();return U.useDeferredValue(x)}function sa(){var x=D();return x.useId()}function Ga(x,U,he){var Ee=D();return Ee.useSyncExternalStore(x,U,he)}var Nt=0,Wn,is,ls,Qt,aa,Za,Gr;function qn(){}qn.__reactDisabledLog=!0;function yc(){{if(Nt===0){Wn=console.log,is=console.info,ls=console.warn,Qt=console.error,aa=console.group,Za=console.groupCollapsed,Gr=console.groupEnd;var x={configurable:!0,enumerable:!0,value:qn,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}Nt++}}function ap(){{if(Nt--,Nt===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:de({},x,{value:Wn}),info:de({},x,{value:is}),warn:de({},x,{value:ls}),error:de({},x,{value:Qt}),group:de({},x,{value:aa}),groupCollapsed:de({},x,{value:Za}),groupEnd:de({},x,{value:Gr})})}Nt<0&&fe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var np=H.ReactCurrentDispatcher,Sc;function Cu(x,U,he){{if(Sc===void 0)try{throw Error()}catch(Xe){var Ee=Xe.stack.trim().match(/\n( *(at )?)/);Sc=Ee&&Ee[1]||""}return`
14
+ `+Sc+x}}var hl=!1,xu;{var kf=typeof WeakMap=="function"?WeakMap:Map;xu=new kf}function gm(x,U){if(!x||hl)return"";{var he=xu.get(x);if(he!==void 0)return he}var Ee;hl=!0;var Xe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Mt;Mt=np.current,np.current=null,yc();try{if(U){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch(en){Ee=en}Reflect.construct(x,[],yt)}else{try{yt.call()}catch(en){Ee=en}x.call(yt.prototype)}}else{try{throw Error()}catch(en){Ee=en}x()}}catch(en){if(en&&Ee&&typeof en.stack=="string"){for(var Jt=en.stack.split(`
15
+ `),xr=Ee.stack.split(`
16
+ `),Ur=Jt.length-1,ua=xr.length-1;Ur>=1&&ua>=0&&Jt[Ur]!==xr[ua];)ua--;for(;Ur>=1&&ua>=0;Ur--,ua--)if(Jt[Ur]!==xr[ua]){if(Ur!==1||ua!==1)do if(Ur--,ua--,ua<0||Jt[Ur]!==xr[ua]){var ca=`
17
+ `+Jt[Ur].replace(" at new "," at ");return x.displayName&&ca.includes("<anonymous>")&&(ca=ca.replace("<anonymous>",x.displayName)),typeof x=="function"&&xu.set(x,ca),ca}while(Ur>=1&&ua>=0);break}}}finally{hl=!1,np.current=Mt,ap(),Error.prepareStackTrace=Xe}var ma=x?x.displayName||x.name:"",Ra=ma?Cu(ma):"";return typeof x=="function"&&xu.set(x,Ra),Ra}function op(x,U,he){return gm(x,!1)}function Bg(x){var U=x.prototype;return!!(U&&U.isReactComponent)}function ku(x,U,he){if(x==null)return"";if(typeof x=="function")return gm(x,Bg(x));if(typeof x=="string")return Cu(x);switch(x){case m:return Cu("Suspense");case g:return Cu("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return op(x.render);case b:return ku(x.type,U,he);case S:{var Ee=x,Xe=Ee._payload,Mt=Ee._init;try{return ku(Mt(Xe),U,he)}catch(yt){}}}return""}var bm={},Tf=H.ReactDebugCurrentFrame;function Ef(x){if(x){var U=x._owner,he=ku(x.type,x._source,U?U.type:null);Tf.setExtraStackFrame(he)}else Tf.setExtraStackFrame(null)}function ym(x,U,he,Ee,Xe){{var Mt=Function.call.bind(Tr);for(var yt in x)if(Mt(x,yt)){var Jt=void 0;try{if(typeof x[yt]!="function"){var xr=Error((Ee||"React class")+": "+he+" type `"+yt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[yt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw xr.name="Invariant Violation",xr}Jt=x[yt](U,yt,Ee,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ur){Jt=Ur}Jt&&!(Jt instanceof Error)&&(Ef(Xe),fe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ee||"React class",he,yt,typeof Jt),Ef(null)),Jt instanceof Error&&!(Jt.message in bm)&&(bm[Jt.message]=!0,Ef(Xe),fe("Failed %s type: %s",he,Jt.message),Ef(null))}}}function Tu(x){if(x){var U=x._owner,he=ku(x.type,x._source,U?U.type:null);te(he)}else te(null)}var Rf;Rf=!1;function Hr(){if(F.current){var x=ur(F.current.type);if(x)return`
18
18
 
19
19
  Check the render method of \``+x+"`."}return""}function Fg(x){if(x!==void 0){var U=x.fileName.replace(/^.*[\\\/]/,""),he=x.lineNumber;return`
20
20
 
21
21
  Check your code at `+U+":"+he+"."}return""}function Sm(x){return x!=null?Fg(x.__source):""}var Zt={};function wm(x){var U=Hr();if(!U){var he=typeof x=="string"?x:x.displayName||x.name;he&&(U=`
22
22
 
23
- Check the top-level render call using <`+he+">.")}return U}function Pn(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var he=wm(U);if(!Zt[he]){Zt[he]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+sr(x._owner.type)+"."),Tu(x),fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,Ee),Tu(null)}}}function Eu(x,U){if(typeof x=="object"){if(tt(x))for(var he=0;he<x.length;he++){var Ee=x[he];gt(Ee)&&Pn(Ee,U)}else if(gt(x))x._store&&(x._store.validated=!0);else if(x){var Xe=M(x);if(typeof Xe=="function"&&Xe!==x.entries)for(var Mt=Xe.call(x),bt;!(bt=Mt.next()).done;)gt(bt.value)&&Pn(bt.value,U)}}}function Ru(x){{var U=x.type;if(U==null||typeof U=="string")return;var he;if(typeof U=="function")he=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))he=U.propTypes;else return;if(he){var Ee=sr(U);ym(he,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Ef){Ef=!0;var Xe=sr(U);fe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Xe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&fe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function jg(x){{for(var U=Object.keys(x.props),he=0;he<U.length;he++){var Ee=U[he];if(Ee!=="children"&&Ee!=="key"){Tu(x),fe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),Tu(null);break}}x.ref!==null&&(Tu(x),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Tu(null))}}function hn(x,U,he){var Ee=We(x);if(!Ee){var Xe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Xe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Mt=Sm(U);Mt?Xe+=Mt:Xe+=Hr();var bt;x===null?bt="null":tt(x)?bt="array":x!==void 0&&x.$$typeof===a?(bt="<"+(sr(x.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):bt=typeof x,fe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",bt,Xe)}var Jt=_a.apply(this,arguments);if(Jt==null)return Jt;if(Ee)for(var Sr=2;Sr<arguments.length;Sr++)Eu(arguments[Sr],x);return x===l?jg(Jt):Ru(Jt),Jt}var wa=!1;function Hg(x){var U=hn.bind(null,x);return U.type=x,wa||(wa=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(U,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),U}function ml(x,U,he){for(var Ee=it.apply(this,arguments),Xe=2;Xe<arguments.length;Xe++)Eu(arguments[Xe],Ee.type);return Ru(Ee),Ee}function vo(x,U){var he=O.transition;O.transition={};var Ee=O.transition;O.transition._updatedFibers=new Set;try{x()}finally{if(O.transition=he,he===null&&Ee._updatedFibers){var Xe=Ee._updatedFibers.size;Xe>10&&le("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),Ee._updatedFibers.clear()}}}var Nl=!1,Rf=null;function ip(x){if(Rf===null)try{var U=("require"+Math.random()).slice(0,7),he=D_&&D_[U];Rf=he.call(D_,"timers").setImmediate}catch(Ee){Rf=function(Xe){Nl===!1&&(Nl=!0,typeof MessageChannel=="undefined"&&fe("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Mt=new MessageChannel;Mt.port1.onmessage=Xe,Mt.port2.postMessage(void 0)}}return Rf(x)}var Ms=0,lp=!1;function Cm(x){{var U=Ms;Ms++,j.current===null&&(j.current=[]);var he=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!he&&j.didScheduleLegacyUpdate){var Xe=j.current;Xe!==null&&(j.didScheduleLegacyUpdate=!1,Af(Xe))}}catch(ma){throw Df(U),ma}finally{j.isBatchingLegacy=he}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Mt=Ee,bt=!1,Jt={then:function(ma,Ea){bt=!0,Mt.then(function(en){Df(U),Ms===0?sp(en,ma,Ea):ma(en)},function(en){Df(U),Ea(en)})}};return!lp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){bt||(lp=!0,fe("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Jt}else{var Sr=Ee;if(Df(U),Ms===0){var Ur=j.current;Ur!==null&&(Af(Ur),j.current=null);var ua={then:function(ma,Ea){j.current===null?(j.current=[],sp(Sr,ma,Ea)):ma(Sr)}};return ua}else{var ca={then:function(ma,Ea){ma(Sr)}};return ca}}}}function Df(x){x!==Ms-1&&fe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ms=x}function sp(x,U,he){{var Ee=j.current;if(Ee!==null)try{Af(Ee),ip(function(){Ee.length===0?(j.current=null,U(x)):sp(x,U,he)})}catch(Xe){he(Xe)}else U(x)}}var Du=!1;function Af(x){if(!Du){Du=!0;var U=0;try{for(;U<x.length;U++){var he=x[U];do he=he(!0);while(he!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Du=!1}}}var Lf=hn,xm=ml,km=Hg,Tm={map:z,forEach:ie,count:G,toArray:oe,only:Oe};gr.Children=Tm,gr.Component=be,gr.Fragment=l,gr.Profiler=f,gr.PureComponent=Tt,gr.StrictMode=s,gr.Suspense=m,gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,gr.act=Cm,gr.cloneElement=xm,gr.createContext=Ie,gr.createElement=Lf,gr.createFactory=km,gr.createRef=wt,gr.forwardRef=re,gr.isValidElement=gt,gr.lazy=V,gr.memo=Fe,gr.startTransition=vo,gr.unstable_act=Cm,gr.useCallback=Ct,gr.useContext=q,gr.useDebugValue=$r,gr.useDeferredValue=la,gr.useEffect=st,gr.useId=sa,gr.useImperativeHandle=Vt,gr.useInsertionEffect=Je,gr.useLayoutEffect=Ke,gr.useMemo=kt,gr.useReducer=Te,gr.useRef=Ue,gr.useState=pe,gr.useSyncExternalStore=Ga,gr.useTransition=Ha,gr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var cr=Ve((Y$,$k)=>{"use strict";$k.exports=Yk()});var Gk=Ve(da=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,a=!1,o=5;function l(Be,it){var gt=Be.length;Be.push(it),c(Be,it,gt)}function s(Be){return Be.length===0?null:Be[0]}function f(Be){if(Be.length===0)return null;var it=Be[0],gt=Be.pop();return gt!==it&&(Be[0]=gt,h(Be,gt,0)),it}function c(Be,it,gt){for(var $t=gt;$t>0;){var Ut=$t-1>>>1,kr=Be[Ut];if(p(kr,it)>0)Be[Ut]=it,Be[$t]=kr,$t=Ut;else return}}function h(Be,it,gt){for(var $t=gt,Ut=Be.length,kr=Ut>>>1;$t<kr;){var mr=($t+1)*2-1,Yr=Be[mr],$=mr+1,P=Be[$];if(p(Yr,it)<0)$<Ut&&p(P,Yr)<0?(Be[$t]=P,Be[$]=it,$t=$):(Be[$t]=Yr,Be[mr]=it,$t=mr);else if($<Ut&&p(P,it)<0)Be[$t]=P,Be[$]=it,$t=$;else return}}function p(Be,it){var gt=Be.sortIndex-it.sortIndex;return gt!==0?gt:Be.id-it.id}var m=1,g=2,b=3,S=4,w=5;function k(Be,it){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var M=performance;da.unstable_now=function(){return M.now()}}else{var Y=Date,O=Y.now();da.unstable_now=function(){return Y.now()-O}}var j=1073741823,F=-1,J=250,N=5e3,te=1e4,_e=j,ae=[],ye=[],Se=1,ge=null,H=b,le=!1,fe=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate!="undefined"?setImmediate:null,de=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function ke(Be){for(var it=s(ye);it!==null;){if(it.callback===null)f(ye);else if(it.startTime<=Be)f(ye),it.sortIndex=it.expirationTime,l(ae,it);else return;it=s(ye)}}function be(Be){if(B=!1,ke(Be),!fe)if(s(ae)!==null)fe=!0,ha(Pe);else{var it=s(ye);it!==null&&yr(be,it.startTime-Be)}}function Pe(Be,it){fe=!1,B&&(B=!1,hr()),le=!0;var gt=H;try{if(a)try{return qe(Be,it)}catch(Ut){if(ge!==null){var $t=da.unstable_now();ge.isQueued=!1}throw Ut}else return qe(Be,it)}finally{ge=null,H=gt,le=!1}}function qe(Be,it){var gt=it;for(ke(gt),ge=s(ae);ge!==null&&!r&&!(ge.expirationTime>gt&&(!Be||Cr()));){var $t=ge.callback;if(typeof $t=="function"){ge.callback=null,H=ge.priorityLevel;var Ut=ge.expirationTime<=gt,kr=$t(Ut);gt=da.unstable_now(),typeof kr=="function"?ge.callback=kr:ge===s(ae)&&f(ae),ke(gt)}else f(ae);ge=s(ae)}if(ge!==null)return!0;var mr=s(ye);return mr!==null&&yr(be,mr.startTime-gt),!1}function He(Be,it){switch(Be){case m:case g:case b:case S:case w:break;default:Be=b}var gt=H;H=Be;try{return it()}finally{H=gt}}function at(Be){var it;switch(H){case m:case g:case b:it=b;break;default:it=H;break}var gt=H;H=it;try{return Be()}finally{H=gt}}function Tt(Be){var it=H;return function(){var gt=H;H=it;try{return Be.apply(this,arguments)}finally{H=gt}}}function ft(Be,it,gt){var $t=da.unstable_now(),Ut;if(typeof gt=="object"&&gt!==null){var kr=gt.delay;typeof kr=="number"&&kr>0?Ut=$t+kr:Ut=$t}else Ut=$t;var mr;switch(Be){case m:mr=F;break;case g:mr=J;break;case w:mr=_e;break;case S:mr=te;break;case b:default:mr=N;break}var Yr=Ut+mr,$={id:Se++,callback:it,priorityLevel:Be,startTime:Ut,expirationTime:Yr,sortIndex:-1};return Ut>$t?($.sortIndex=Ut,l(ye,$),s(ae)===null&&$===s(ye)&&(B?hr():B=!0,yr(be,Ut-$t))):($.sortIndex=Yr,l(ae,$),!fe&&!le&&(fe=!0,ha(Pe))),$}function wt(){}function vt(){!fe&&!le&&(fe=!0,ha(Pe))}function tt(){return s(ae)}function we(Be){Be.callback=null}function yt(){return H}var Lt=!1,Ft=null,Ht=-1,er=o,sr=-1;function Cr(){var Be=da.unstable_now()-sr;return!(Be<er)}function ra(){}function jr(Be){if(Be<0||Be>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Be>0?er=Math.floor(1e3/Be):er=o}var qr=function(){if(Ft!==null){var Be=da.unstable_now();sr=Be;var it=!0,gt=!0;try{gt=Ft(it,Be)}finally{gt?ur():(Lt=!1,Ft=null)}}else Lt=!1},ur;if(typeof ee=="function")ur=function(){ee(qr)};else if(typeof MessageChannel!="undefined"){var Dr=new MessageChannel,xr=Dr.port2;Dr.port1.onmessage=qr,ur=function(){xr.postMessage(null)}}else ur=function(){W(qr,0)};function ha(Be){Ft=Be,Lt||(Lt=!0,ur())}function yr(Be,it){Ht=W(function(){Be(da.unstable_now())},it)}function hr(){ne(Ht),Ht=-1}var Mr=ra,_a=null;da.unstable_IdlePriority=w,da.unstable_ImmediatePriority=m,da.unstable_LowPriority=S,da.unstable_NormalPriority=b,da.unstable_Profiling=_a,da.unstable_UserBlockingPriority=g,da.unstable_cancelCallback=we,da.unstable_continueExecution=vt,da.unstable_forceFrameRate=jr,da.unstable_getCurrentPriorityLevel=yt,da.unstable_getFirstCallbackNode=tt,da.unstable_next=at,da.unstable_pauseExecution=wt,da.unstable_requestPaint=Mr,da.unstable_runWithPriority=He,da.unstable_scheduleCallback=ft,da.unstable_shouldYield=Cr,da.unstable_wrapCallback=Tt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Xk=Ve((G$,Kk)=>{"use strict";Kk.exports=Gk()});var Qk=Ve(Uo=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=cr(),a=Xk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function f(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function c(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("error",e,n)}}function h(e,t,n){{var i=o.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var d=n.map(function(v){return String(v)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var p=0,m=1,g=2,b=3,S=4,w=5,k=6,L=7,M=8,Y=9,O=10,j=11,F=12,J=13,N=14,te=15,_e=16,ae=17,ye=18,Se=19,ge=21,H=22,le=23,fe=24,B=25,W=!0,ne=!1,ee=!1,de=!1,ke=!1,be=!0,Pe=!1,qe=!0,He=!0,at=!0,Tt=!0,ft=new Set,wt={},vt={};function tt(e,t){we(e,t),we(e+"Capture",t)}function we(e,t){wt[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),wt[e]=t;{var n=e.toLowerCase();vt[n]=e,e==="onDoubleClick"&&(vt.ondblclick=e)}for(var i=0;i<t.length;i++)ft.add(t[i])}var yt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Lt=Object.prototype.hasOwnProperty;function Ft(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Ht(e){try{return er(e),!1}catch(t){return!0}}function er(e){return""+e}function sr(e,t){if(Ht(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,Ft(e)),er(e)}function Cr(e){if(Ht(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ft(e)),er(e)}function ra(e,t){if(Ht(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,Ft(e)),er(e)}function jr(e,t){if(Ht(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,Ft(e)),er(e)}function qr(e){if(Ht(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.",Ft(e)),er(e)}function ur(e){if(Ht(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.",Ft(e)),er(e)}var Dr=0,xr=1,ha=2,yr=3,hr=4,Mr=5,_a=6,Be=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",it=Be+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",gt=new RegExp("^["+Be+"]["+it+"]*$"),$t={},Ut={};function kr(e){return Lt.call(Ut,e)?!0:Lt.call($t,e)?!1:gt.test(e)?(Ut[e]=!0,!0):($t[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function mr(e,t,n){return t!==null?t.type===Dr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Yr(e,t,n,i){if(n!==null&&n.type===Dr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function $(e,t,n,i){if(t===null||typeof t=="undefined"||Yr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case yr:return!t;case hr:return t===!1;case Mr:return isNaN(t);case _a:return isNaN(t)||t<1}return!1}function P(e){return z.hasOwnProperty(e)?z[e]:null}function R(e,t,n,i,u,d,v){this.acceptsBooleans=t===ha||t===yr||t===hr,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=v}var z={},G=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];G.forEach(function(e){z[e]=new R(e,Dr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];z[t]=new R(t,xr,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new R(e,ha,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new R(e,ha,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){z[e]=new R(e,yr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,yr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,hr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,_a,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Mr,!1,e.toLowerCase(),null,!1,!1)});var ie=/[\-\:]([a-z])/g,oe=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,xr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,xr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,xr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,xr,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",xr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,xr,!1,e.toLowerCase(),null,!0,!0)});var Ie=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Me=!1;function Ye(e){!Me&&Ie.test(e)&&(Me=!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 Ae(e,t,n,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{sr(n,t),i.sanitizeURL&&Ye(""+n);var d=i.attributeName,v=null;if(i.type===hr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:$(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if($(t,n,i,!1))return e.getAttribute(d);if(i.type===yr)return n;v=e.getAttribute(d)}return $(t,n,i,!1)?v===null?n:v:v===""+n?n:v}}function Qe(e,t,n,i){{if(!kr(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var u=e.getAttribute(t);return sr(n,t),u===""+n?n:u}}function I(e,t,n,i){var u=P(t);if(!mr(t,u,i)){if($(t,n,u,i)&&(n=null),i||u===null){if(kr(t)){var d=t;n===null?e.removeAttribute(d):(sr(n,t),e.setAttribute(d,""+n))}return}var v=u.mustUseProperty;if(v){var y=u.propertyName;if(n===null){var C=u.type;e[y]=C===yr?!1:""}else e[y]=n;return}var E=u.attributeName,A=u.attributeNamespace;if(n===null)e.removeAttribute(E);else{var Z=u.type,Q;Z===yr||Z===hr&&n===!0?Q="":(sr(n,E),Q=""+n,u.sanitizeURL&&Ye(Q.toString())),A?e.setAttributeNS(A,E,Q):e.setAttribute(E,Q)}}}var V=Symbol.for("react.element"),re=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),We=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),Ue=Symbol.for("react.suspense_list"),st=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),kt=Symbol.for("react.offscreen"),Vt=Symbol.for("react.legacy_hidden"),$r=Symbol.for("react.cache"),Ha=Symbol.for("react.tracing_marker"),la=Symbol.iterator,sa="@@iterator";function Ga(e){if(e===null||typeof e!="object")return null;var t=la&&e[la]||e[sa];return typeof t=="function"?t:null}var Nt=Object.assign,qn=0,is,ls,Qt,aa,Za,Gr,Yn;function bc(){}bc.__reactDisabledLog=!0;function ap(){{if(qn===0){is=console.log,ls=console.info,Qt=console.warn,aa=console.error,Za=console.group,Gr=console.groupCollapsed,Yn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:bc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}qn++}}function np(){{if(qn--,qn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Nt({},e,{value:is}),info:Nt({},e,{value:ls}),warn:Nt({},e,{value:Qt}),error:Nt({},e,{value:aa}),group:Nt({},e,{value:Za}),groupCollapsed:Nt({},e,{value:Gr}),groupEnd:Nt({},e,{value:Yn})})}qn<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yc=o.ReactCurrentDispatcher,Cu;function hl(e,t,n){{if(Cu===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);Cu=i&&i[1]||""}return`
24
- `+Cu+e}}var xu=!1,xf;{var gm=typeof WeakMap=="function"?WeakMap:Map;xf=new gm}function op(e,t){if(!e||xu)return"";{var n=xf.get(e);if(n!==void 0)return n}var i;xu=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=yc.current,yc.current=null,ap();try{if(t){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(ve){i=ve}Reflect.construct(e,[],v)}else{try{v.call()}catch(ve){i=ve}e.call(v.prototype)}}else{try{throw Error()}catch(ve){i=ve}e()}}catch(ve){if(ve&&i&&typeof ve.stack=="string"){for(var y=ve.stack.split(`
23
+ Check the top-level render call using <`+he+">.")}return U}function Pn(x,U){if(!(!x._store||x._store.validated||x.key!=null)){x._store.validated=!0;var he=wm(U);if(!Zt[he]){Zt[he]=!0;var Ee="";x&&x._owner&&x._owner!==F.current&&(Ee=" It was passed a child from "+ur(x._owner.type)+"."),Tu(x),fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,Ee),Tu(null)}}}function Eu(x,U){if(typeof x=="object"){if(Ze(x))for(var he=0;he<x.length;he++){var Ee=x[he];bt(Ee)&&Pn(Ee,U)}else if(bt(x))x._store&&(x._store.validated=!0);else if(x){var Xe=M(x);if(typeof Xe=="function"&&Xe!==x.entries)for(var Mt=Xe.call(x),yt;!(yt=Mt.next()).done;)bt(yt.value)&&Pn(yt.value,U)}}}function Ru(x){{var U=x.type;if(U==null||typeof U=="string")return;var he;if(typeof U=="function")he=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===p||U.$$typeof===b))he=U.propTypes;else return;if(he){var Ee=ur(U);ym(he,x.props,"prop",Ee,x)}else if(U.PropTypes!==void 0&&!Rf){Rf=!0;var Xe=ur(U);fe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Xe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&fe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function jg(x){{for(var U=Object.keys(x.props),he=0;he<U.length;he++){var Ee=U[he];if(Ee!=="children"&&Ee!=="key"){Tu(x),fe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),Tu(null);break}}x.ref!==null&&(Tu(x),fe("Invalid attribute `ref` supplied to `React.Fragment`."),Tu(null))}}function mn(x,U,he){var Ee=Ve(x);if(!Ee){var Xe="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(Xe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Mt=Sm(U);Mt?Xe+=Mt:Xe+=Hr();var yt;x===null?yt="null":Ze(x)?yt="array":x!==void 0&&x.$$typeof===a?(yt="<"+(ur(x.type)||"Unknown")+" />",Xe=" Did you accidentally export a JSX literal instead of a component?"):yt=typeof x,fe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",yt,Xe)}var Jt=ga.apply(this,arguments);if(Jt==null)return Jt;if(Ee)for(var xr=2;xr<arguments.length;xr++)Eu(arguments[xr],x);return x===l?jg(Jt):Ru(Jt),Jt}var Ca=!1;function Hg(x){var U=mn.bind(null,x);return U.type=x,Ca||(Ca=!0,le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(U,"type",{enumerable:!1,get:function(){return le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:x}),x}}),U}function ml(x,U,he){for(var Ee=st.apply(this,arguments),Xe=2;Xe<arguments.length;Xe++)Eu(arguments[Xe],Ee.type);return Ru(Ee),Ee}function mo(x,U){var he=O.transition;O.transition={};var Ee=O.transition;O.transition._updatedFibers=new Set;try{x()}finally{if(O.transition=he,he===null&&Ee._updatedFibers){var Xe=Ee._updatedFibers.size;Xe>10&&le("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),Ee._updatedFibers.clear()}}}var Ol=!1,Df=null;function ip(x){if(Df===null)try{var U=("require"+Math.random()).slice(0,7),he=D_&&D_[U];Df=he.call(D_,"timers").setImmediate}catch(Ee){Df=function(Xe){Ol===!1&&(Ol=!0,typeof MessageChannel=="undefined"&&fe("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Mt=new MessageChannel;Mt.port1.onmessage=Xe,Mt.port2.postMessage(void 0)}}return Df(x)}var Ms=0,lp=!1;function Cm(x){{var U=Ms;Ms++,j.current===null&&(j.current=[]);var he=j.isBatchingLegacy,Ee;try{if(j.isBatchingLegacy=!0,Ee=x(),!he&&j.didScheduleLegacyUpdate){var Xe=j.current;Xe!==null&&(j.didScheduleLegacyUpdate=!1,Lf(Xe))}}catch(ma){throw Af(U),ma}finally{j.isBatchingLegacy=he}if(Ee!==null&&typeof Ee=="object"&&typeof Ee.then=="function"){var Mt=Ee,yt=!1,Jt={then:function(ma,Ra){yt=!0,Mt.then(function(en){Af(U),Ms===0?sp(en,ma,Ra):ma(en)},function(en){Af(U),Ra(en)})}};return!lp&&typeof Promise!="undefined"&&Promise.resolve().then(function(){}).then(function(){yt||(lp=!0,fe("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Jt}else{var xr=Ee;if(Af(U),Ms===0){var Ur=j.current;Ur!==null&&(Lf(Ur),j.current=null);var ua={then:function(ma,Ra){j.current===null?(j.current=[],sp(xr,ma,Ra)):ma(xr)}};return ua}else{var ca={then:function(ma,Ra){ma(xr)}};return ca}}}}function Af(x){x!==Ms-1&&fe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ms=x}function sp(x,U,he){{var Ee=j.current;if(Ee!==null)try{Lf(Ee),ip(function(){Ee.length===0?(j.current=null,U(x)):sp(x,U,he)})}catch(Xe){he(Xe)}else U(x)}}var Du=!1;function Lf(x){if(!Du){Du=!0;var U=0;try{for(;U<x.length;U++){var he=x[U];do he=he(!0);while(he!==null)}x.length=0}catch(Ee){throw x=x.slice(U+1),Ee}finally{Du=!1}}}var Nf=mn,xm=ml,km=Hg,Tm={map:z,forEach:ie,count:G,toArray:oe,only:Oe};yr.Children=Tm,yr.Component=Se,yr.Fragment=l,yr.Profiler=f,yr.PureComponent=ct,yr.StrictMode=s,yr.Suspense=m,yr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,yr.act=Cm,yr.cloneElement=xm,yr.createContext=Ie,yr.createElement=Nf,yr.createFactory=km,yr.createRef=Tt,yr.forwardRef=ae,yr.isValidElement=bt,yr.lazy=V,yr.memo=Fe,yr.startTransition=mo,yr.unstable_act=Cm,yr.useCallback=Ct,yr.useContext=q,yr.useDebugValue=$r,yr.useDeferredValue=la,yr.useEffect=ft,yr.useId=sa,yr.useImperativeHandle=Wt,yr.useInsertionEffect=Je,yr.useLayoutEffect=Ke,yr.useMemo=kt,yr.useReducer=ke,yr.useRef=He,yr.useState=pe,yr.useSyncExternalStore=Ga,yr.useTransition=Ha,yr.version=r,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var cr=Ue((Y$,$k)=>{"use strict";$k.exports=Yk()});var Gk=Ue(da=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,a=!1,o=5;function l(Be,st){var bt=Be.length;Be.push(st),c(Be,st,bt)}function s(Be){return Be.length===0?null:Be[0]}function f(Be){if(Be.length===0)return null;var st=Be[0],bt=Be.pop();return bt!==st&&(Be[0]=bt,h(Be,bt,0)),st}function c(Be,st,bt){for(var $t=bt;$t>0;){var Vt=$t-1>>>1,Er=Be[Vt];if(p(Er,st)>0)Be[Vt]=st,Be[$t]=Er,$t=Vt;else return}}function h(Be,st,bt){for(var $t=bt,Vt=Be.length,Er=Vt>>>1;$t<Er;){var vr=($t+1)*2-1,Yr=Be[vr],$=vr+1,P=Be[$];if(p(Yr,st)<0)$<Vt&&p(P,Yr)<0?(Be[$t]=P,Be[$]=st,$t=$):(Be[$t]=Yr,Be[vr]=st,$t=vr);else if($<Vt&&p(P,st)<0)Be[$t]=P,Be[$]=st,$t=$;else return}}function p(Be,st){var bt=Be.sortIndex-st.sortIndex;return bt!==0?bt:Be.id-st.id}var m=1,g=2,b=3,S=4,w=5;function k(Be,st){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var M=performance;da.unstable_now=function(){return M.now()}}else{var Y=Date,O=Y.now();da.unstable_now=function(){return Y.now()-O}}var j=1073741823,F=-1,Q=250,N=5e3,te=1e4,_e=j,re=[],be=[],ye=1,ge=null,H=b,le=!1,fe=!1,B=!1,W=typeof setTimeout=="function"?setTimeout:null,ne=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate!="undefined"?setImmediate:null,de=typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function Ce(Be){for(var st=s(be);st!==null;){if(st.callback===null)f(be);else if(st.startTime<=Be)f(be),st.sortIndex=st.expirationTime,l(re,st);else return;st=s(be)}}function Se(Be){if(B=!1,Ce(Be),!fe)if(s(re)!==null)fe=!0,ha(Ye);else{var st=s(be);st!==null&&Cr(Se,st.startTime-Be)}}function Ye(Be,st){fe=!1,B&&(B=!1,mr()),le=!0;var bt=H;try{if(a)try{return $e(Be,st)}catch(Vt){if(ge!==null){var $t=da.unstable_now();ge.isQueued=!1}throw Vt}else return $e(Be,st)}finally{ge=null,H=bt,le=!1}}function $e(Be,st){var bt=st;for(Ce(bt),ge=s(re);ge!==null&&!r&&!(ge.expirationTime>bt&&(!Be||Tr()));){var $t=ge.callback;if(typeof $t=="function"){ge.callback=null,H=ge.priorityLevel;var Vt=ge.expirationTime<=bt,Er=$t(Vt);bt=da.unstable_now(),typeof Er=="function"?ge.callback=Er:ge===s(re)&&f(re),Ce(bt)}else f(re);ge=s(re)}if(ge!==null)return!0;var vr=s(be);return vr!==null&&Cr(Se,vr.startTime-bt),!1}function Pe(Be,st){switch(Be){case m:case g:case b:case S:case w:break;default:Be=b}var bt=H;H=Be;try{return st()}finally{H=bt}}function et(Be){var st;switch(H){case m:case g:case b:st=b;break;default:st=H;break}var bt=H;H=st;try{return Be()}finally{H=bt}}function ct(Be){var st=H;return function(){var bt=H;H=st;try{return Be.apply(this,arguments)}finally{H=bt}}}function lt(Be,st,bt){var $t=da.unstable_now(),Vt;if(typeof bt=="object"&&bt!==null){var Er=bt.delay;typeof Er=="number"&&Er>0?Vt=$t+Er:Vt=$t}else Vt=$t;var vr;switch(Be){case m:vr=F;break;case g:vr=Q;break;case w:vr=_e;break;case S:vr=te;break;case b:default:vr=N;break}var Yr=Vt+vr,$={id:ye++,callback:st,priorityLevel:Be,startTime:Vt,expirationTime:Yr,sortIndex:-1};return Vt>$t?($.sortIndex=Vt,l(be,$),s(re)===null&&$===s(be)&&(B?mr():B=!0,Cr(Se,Vt-$t))):($.sortIndex=Yr,l(re,$),!fe&&!le&&(fe=!0,ha(Ye))),$}function Tt(){}function wt(){!fe&&!le&&(fe=!0,ha(Ye))}function Ze(){return s(re)}function Te(Be){Be.callback=null}function pt(){return H}var Lt=!1,jt=null,Ut=-1,er=o,ur=-1;function Tr(){var Be=da.unstable_now()-ur;return!(Be<er)}function ra(){}function jr(Be){if(Be<0||Be>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Be>0?er=Math.floor(1e3/Be):er=o}var qr=function(){if(jt!==null){var Be=da.unstable_now();ur=Be;var st=!0,bt=!0;try{bt=jt(st,Be)}finally{bt?wr():(Lt=!1,jt=null)}}else Lt=!1},wr;if(typeof ee=="function")wr=function(){ee(qr)};else if(typeof MessageChannel!="undefined"){var fr=new MessageChannel,_r=fr.port2;fr.port1.onmessage=qr,wr=function(){_r.postMessage(null)}}else wr=function(){W(qr,0)};function ha(Be){jt=Be,Lt||(Lt=!0,wr())}function Cr(Be,st){Ut=W(function(){Be(da.unstable_now())},st)}function mr(){ne(Ut),Ut=-1}var Mr=ra,ga=null;da.unstable_IdlePriority=w,da.unstable_ImmediatePriority=m,da.unstable_LowPriority=S,da.unstable_NormalPriority=b,da.unstable_Profiling=ga,da.unstable_UserBlockingPriority=g,da.unstable_cancelCallback=Te,da.unstable_continueExecution=wt,da.unstable_forceFrameRate=jr,da.unstable_getCurrentPriorityLevel=pt,da.unstable_getFirstCallbackNode=Ze,da.unstable_next=et,da.unstable_pauseExecution=Tt,da.unstable_requestPaint=Mr,da.unstable_runWithPriority=Pe,da.unstable_scheduleCallback=lt,da.unstable_shouldYield=Tr,da.unstable_wrapCallback=ct,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Xk=Ue((G$,Kk)=>{"use strict";Kk.exports=Gk()});var Qk=Ue(Uo=>{"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=cr(),a=Xk(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function s(e){l=e}function f(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("warn",e,n)}}function c(e){if(!l){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];h("error",e,n)}}function h(e,t,n){{var i=o.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var d=n.map(function(v){return String(v)});d.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,d)}}var p=0,m=1,g=2,b=3,S=4,w=5,k=6,L=7,M=8,Y=9,O=10,j=11,F=12,Q=13,N=14,te=15,_e=16,re=17,be=18,ye=19,ge=21,H=22,le=23,fe=24,B=25,W=!0,ne=!1,ee=!1,de=!1,Ce=!1,Se=!0,Ye=!1,$e=!0,Pe=!0,et=!0,ct=!0,lt=new Set,Tt={},wt={};function Ze(e,t){Te(e,t),Te(e+"Capture",t)}function Te(e,t){Tt[e]&&c("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Tt[e]=t;{var n=e.toLowerCase();wt[n]=e,e==="onDoubleClick"&&(wt.ondblclick=e)}for(var i=0;i<t.length;i++)lt.add(t[i])}var pt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Lt=Object.prototype.hasOwnProperty;function jt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Ut(e){try{return er(e),!1}catch(t){return!0}}function er(e){return""+e}function ur(e,t){if(Ut(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,jt(e)),er(e)}function Tr(e){if(Ut(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(e)),er(e)}function ra(e,t){if(Ut(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,jt(e)),er(e)}function jr(e,t){if(Ut(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,jt(e)),er(e)}function qr(e){if(Ut(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.",jt(e)),er(e)}function wr(e){if(Ut(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.",jt(e)),er(e)}var fr=0,_r=1,ha=2,Cr=3,mr=4,Mr=5,ga=6,Be=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",st=Be+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",bt=new RegExp("^["+Be+"]["+st+"]*$"),$t={},Vt={};function Er(e){return Lt.call(Vt,e)?!0:Lt.call($t,e)?!1:bt.test(e)?(Vt[e]=!0,!0):($t[e]=!0,c("Invalid attribute name: `%s`",e),!1)}function vr(e,t,n){return t!==null?t.type===fr:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Yr(e,t,n,i){if(n!==null&&n.type===fr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(n!==null)return!n.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function $(e,t,n,i){if(t===null||typeof t=="undefined"||Yr(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case Cr:return!t;case mr:return t===!1;case Mr:return isNaN(t);case ga:return isNaN(t)||t<1}return!1}function P(e){return z.hasOwnProperty(e)?z[e]:null}function R(e,t,n,i,u,d,v){this.acceptsBooleans=t===ha||t===Cr||t===mr,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=v}var z={},G=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];G.forEach(function(e){z[e]=new R(e,fr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];z[t]=new R(t,_r,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new R(e,ha,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new R(e,ha,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){z[e]=new R(e,Cr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new R(e,Cr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new R(e,mr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new R(e,ga,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new R(e,Mr,!1,e.toLowerCase(),null,!1,!1)});var ie=/[\-\:]([a-z])/g,oe=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ie,oe);z[t]=new R(t,_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(ie,oe);z[t]=new R(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(ie,oe);z[t]=new R(t,_r,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new R(e,_r,!1,e.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";z[Oe]=new R("xlinkHref",_r,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new R(e,_r,!1,e.toLowerCase(),null,!0,!0)});var Ie=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Me=!1;function We(e){!Me&&Ie.test(e)&&(Me=!0,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 Ae(e,t,n,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{ur(n,t),i.sanitizeURL&&We(""+n);var d=i.attributeName,v=null;if(i.type===mr){if(e.hasAttribute(d)){var y=e.getAttribute(d);return y===""?!0:$(t,n,i,!1)?y:y===""+n?n:y}}else if(e.hasAttribute(d)){if($(t,n,i,!1))return e.getAttribute(d);if(i.type===Cr)return n;v=e.getAttribute(d)}return $(t,n,i,!1)?v===null?n:v:v===""+n?n:v}}function Qe(e,t,n,i){{if(!Er(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var u=e.getAttribute(t);return ur(n,t),u===""+n?n:u}}function I(e,t,n,i){var u=P(t);if(!vr(t,u,i)){if($(t,n,u,i)&&(n=null),i||u===null){if(Er(t)){var d=t;n===null?e.removeAttribute(d):(ur(n,t),e.setAttribute(d,""+n))}return}var v=u.mustUseProperty;if(v){var y=u.propertyName;if(n===null){var C=u.type;e[y]=C===Cr?!1:""}else e[y]=n;return}var E=u.attributeName,A=u.attributeNamespace;if(n===null)e.removeAttribute(E);else{var Z=u.type,J;Z===Cr||Z===mr&&n===!0?J="":(ur(n,E),J=""+n,u.sanitizeURL&&We(J.toString())),A?e.setAttributeNS(A,E,J):e.setAttribute(E,J)}}}var V=Symbol.for("react.element"),ae=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),Ve=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),q=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),Ke=Symbol.for("react.scope"),Ct=Symbol.for("react.debug_trace_mode"),kt=Symbol.for("react.offscreen"),Wt=Symbol.for("react.legacy_hidden"),$r=Symbol.for("react.cache"),Ha=Symbol.for("react.tracing_marker"),la=Symbol.iterator,sa="@@iterator";function Ga(e){if(e===null||typeof e!="object")return null;var t=la&&e[la]||e[sa];return typeof t=="function"?t:null}var Nt=Object.assign,Wn=0,is,ls,Qt,aa,Za,Gr,qn;function yc(){}yc.__reactDisabledLog=!0;function ap(){{if(Wn===0){is=console.log,ls=console.info,Qt=console.warn,aa=console.error,Za=console.group,Gr=console.groupCollapsed,qn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:yc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Wn++}}function np(){{if(Wn--,Wn===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Nt({},e,{value:is}),info:Nt({},e,{value:ls}),warn:Nt({},e,{value:Qt}),error:Nt({},e,{value:aa}),group:Nt({},e,{value:Za}),groupCollapsed:Nt({},e,{value:Gr}),groupEnd:Nt({},e,{value:qn})})}Wn<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Sc=o.ReactCurrentDispatcher,Cu;function hl(e,t,n){{if(Cu===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);Cu=i&&i[1]||""}return`
24
+ `+Cu+e}}var xu=!1,kf;{var gm=typeof WeakMap=="function"?WeakMap:Map;kf=new gm}function op(e,t){if(!e||xu)return"";{var n=kf.get(e);if(n!==void 0)return n}var i;xu=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=Sc.current,Sc.current=null,ap();try{if(t){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(ve){i=ve}Reflect.construct(e,[],v)}else{try{v.call()}catch(ve){i=ve}e.call(v.prototype)}}else{try{throw Error()}catch(ve){i=ve}e()}}catch(ve){if(ve&&i&&typeof ve.stack=="string"){for(var y=ve.stack.split(`
25
25
  `),C=i.stack.split(`
26
26
  `),E=y.length-1,A=C.length-1;E>=1&&A>=0&&y[E]!==C[A];)A--;for(;E>=1&&A>=0;E--,A--)if(y[E]!==C[A]){if(E!==1||A!==1)do if(E--,A--,A<0||y[E]!==C[A]){var Z=`
27
- `+y[E].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&xf.set(e,Z),Z}while(E>=1&&A>=0);break}}}finally{xu=!1,yc.current=d,np(),Error.prepareStackTrace=u}var Q=e?e.displayName||e.name:"",me=Q?hl(Q):"";return typeof e=="function"&&xf.set(e,me),me}function Bg(e,t,n){return op(e,!0)}function ku(e,t,n){return op(e,!1)}function bm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function kf(e,t,n){if(e==null)return"";if(typeof e=="function")return op(e,bm(e));if(typeof e=="string")return hl(e);switch(e){case Te:return hl("Suspense");case Ue:return hl("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case pe:return ku(e.render);case st:return kf(e.type,t,n);case Je:{var i=e,u=i._payload,d=i._init;try{return kf(d(u),t,n)}catch(v){}}}return""}function Tf(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return hl(e.type);case _e:return hl("Lazy");case J:return hl("Suspense");case Se:return hl("SuspenseList");case p:case g:case te:return ku(e.type);case j:return ku(e.type.render);case m:return Bg(e.type);default:return""}}function ym(e){try{var t="",n=e;do t+=Tf(n),n=n.return;while(n);return t}catch(i){return`
27
+ `+y[E].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),typeof e=="function"&&kf.set(e,Z),Z}while(E>=1&&A>=0);break}}}finally{xu=!1,Sc.current=d,np(),Error.prepareStackTrace=u}var J=e?e.displayName||e.name:"",me=J?hl(J):"";return typeof e=="function"&&kf.set(e,me),me}function Bg(e,t,n){return op(e,!0)}function ku(e,t,n){return op(e,!1)}function bm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Tf(e,t,n){if(e==null)return"";if(typeof e=="function")return op(e,bm(e));if(typeof e=="string")return hl(e);switch(e){case ke:return hl("Suspense");case He:return hl("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case pe:return ku(e.render);case ft:return Tf(e.type,t,n);case Je:{var i=e,u=i._payload,d=i._init;try{return Tf(d(u),t,n)}catch(v){}}}return""}function Ef(e){var t=e._debugOwner?e._debugOwner.type:null,n=e._debugSource;switch(e.tag){case w:return hl(e.type);case _e:return hl("Lazy");case Q:return hl("Suspense");case ye:return hl("SuspenseList");case p:case g:case te:return ku(e.type);case j:return ku(e.type.render);case m:return Bg(e.type);default:return""}}function ym(e){try{var t="",n=e;do t+=Ef(n),n=n.return;while(n);return t}catch(i){return`
28
28
  Error generating stack: `+i.message+`
29
- `+i.stack}}function Tu(e,t,n){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?n+"("+u+")":n}function Ef(e){return e.displayName||"Context"}function Hr(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 se:return"Fragment";case re:return"Portal";case Fe:return"Profiler";case We:return"StrictMode";case Te:return"Suspense";case Ue:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q:var t=e;return Ef(t)+".Consumer";case D:var n=e;return Ef(n._context)+".Provider";case pe:return Tu(e,e.render,"ForwardRef");case st:var i=e.displayName||null;return i!==null?i:Hr(e.type)||"Memo";case Je:{var u=e,d=u._payload,v=u._init;try{return Hr(v(d))}catch(y){return null}}}return null}function Fg(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Sm(e){return e.displayName||"Context"}function Zt(e){var t=e.tag,n=e.type;switch(t){case fe:return"Cache";case Y:var i=n;return Sm(i)+".Consumer";case O:var u=n;return Sm(u._context)+".Provider";case ye:return"DehydratedFragment";case j:return Fg(n,n.render,"ForwardRef");case L:return"Fragment";case w:return n;case S:return"Portal";case b:return"Root";case k:return"Text";case _e:return Hr(n);case M:return n===We?"StrictMode":"Mode";case H:return"Offscreen";case F:return"Profiler";case ge:return"Scope";case J:return"Suspense";case Se:return"SuspenseList";case B:return"TracingMarker";case m:case p:case ae:case g:case N:case te:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var wm=o.ReactDebugCurrentFrame,Pn=null,Eu=!1;function Ru(){{if(Pn===null)return null;var e=Pn._debugOwner;if(e!==null&&typeof e!="undefined")return Zt(e)}return null}function jg(){return Pn===null?"":ym(Pn)}function hn(){wm.getCurrentStack=null,Pn=null,Eu=!1}function wa(e){wm.getCurrentStack=e===null?null:jg,Pn=e,Eu=!1}function Hg(){return Pn}function ml(e){Eu=e}function vo(e){return""+e}function Nl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return ur(e),e;default:return""}}var Rf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ip(e,t){Rf[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 Ms(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lp(e){return e._valueTracker}function Cm(e){e._valueTracker=null}function Df(e){var t="";return e&&(Ms(e)?t=e.checked?"true":"false":t=e.value),t}function sp(e){var t=Ms(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ur(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var u=n.get,d=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){ur(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var v={getValue:function(){return i},setValue:function(y){ur(y),i=""+y},stopTracking:function(){Cm(e),delete e[t]}};return v}}function Du(e){lp(e)||(e._valueTracker=sp(e))}function Af(e){if(!e)return!1;var t=lp(e);if(!t)return!0;var n=t.getValue(),i=Df(e);return i!==n?(t.setValue(i),!0):!1}function Lf(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 xm=!1,km=!1,Tm=!1,x=!1;function U(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function he(e,t){var n=e,i=t.checked,u=Nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return u}function Ee(e,t){ip("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!km&&(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",Ru()||"A component",t.type),km=!0),t.value!==void 0&&t.defaultValue!==void 0&&!xm&&(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",Ru()||"A component",t.type),xm=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Nl(t.value!=null?t.value:i),controlled:U(t)}}function Xe(e,t){var n=e,i=t.checked;i!=null&&I(n,"checked",i,!1)}function Mt(e,t){var n=e;{var i=U(t);!n._wrapperState.controlled&&i&&!x&&(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&&!i&&!Tm&&(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"),Tm=!0)}Xe(e,t);var u=Nl(t.value),d=t.type;if(u!=null)d==="number"?(u===0&&n.value===""||n.value!=u)&&(n.value=vo(u)):n.value!==vo(u)&&(n.value=vo(u));else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Ur(n,t.type,u):t.hasOwnProperty("defaultValue")&&Ur(n,t.type,Nl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function bt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,d=u==="submit"||u==="reset";if(d&&(t.value===void 0||t.value===null))return;var v=vo(i._wrapperState.initialValue);n||v!==i.value&&(i.value=v),i.defaultValue=v}var y=i.name;y!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,y!==""&&(i.name=y)}function Jt(e,t){var n=e;Mt(n,t),Sr(n,t)}function Sr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;sr(n,"name");for(var u=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),d=0;d<u.length;d++){var v=u[d];if(!(v===e||v.form!==e.form)){var y=pv(v);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Af(v),Mt(v,y)}}}}function Ur(e,t,n){(t!=="number"||Lf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=vo(e._wrapperState.initialValue):e.defaultValue!==vo(n)&&(e.defaultValue=vo(n)))}var ua=!1,ca=!1,ma=!1;function Ea(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||ca||(ca=!0,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&&(ma||(ma=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ua&&(c("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ua=!0)}function en(e,t){t.value!=null&&e.setAttribute("value",vo(Nl(t.value)))}var Nf=Array.isArray;function tn(e){return Nf(e)}var Of;Of=!1;function Em(){var e=Ru();return e?`
29
+ `+i.stack}}function Tu(e,t,n){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?n+"("+u+")":n}function Rf(e){return e.displayName||"Context"}function Hr(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 se:return"Fragment";case ae:return"Portal";case Fe:return"Profiler";case Ve:return"StrictMode";case ke:return"Suspense";case He:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q:var t=e;return Rf(t)+".Consumer";case D:var n=e;return Rf(n._context)+".Provider";case pe:return Tu(e,e.render,"ForwardRef");case ft:var i=e.displayName||null;return i!==null?i:Hr(e.type)||"Memo";case Je:{var u=e,d=u._payload,v=u._init;try{return Hr(v(d))}catch(y){return null}}}return null}function Fg(e,t,n){var i=t.displayName||t.name||"";return e.displayName||(i!==""?n+"("+i+")":n)}function Sm(e){return e.displayName||"Context"}function Zt(e){var t=e.tag,n=e.type;switch(t){case fe:return"Cache";case Y:var i=n;return Sm(i)+".Consumer";case O:var u=n;return Sm(u._context)+".Provider";case be:return"DehydratedFragment";case j:return Fg(n,n.render,"ForwardRef");case L:return"Fragment";case w:return n;case S:return"Portal";case b:return"Root";case k:return"Text";case _e:return Hr(n);case M:return n===Ve?"StrictMode":"Mode";case H:return"Offscreen";case F:return"Profiler";case ge:return"Scope";case Q:return"Suspense";case ye:return"SuspenseList";case B:return"TracingMarker";case m:case p:case re:case g:case N:case te:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var wm=o.ReactDebugCurrentFrame,Pn=null,Eu=!1;function Ru(){{if(Pn===null)return null;var e=Pn._debugOwner;if(e!==null&&typeof e!="undefined")return Zt(e)}return null}function jg(){return Pn===null?"":ym(Pn)}function mn(){wm.getCurrentStack=null,Pn=null,Eu=!1}function Ca(e){wm.getCurrentStack=e===null?null:jg,Pn=e,Eu=!1}function Hg(){return Pn}function ml(e){Eu=e}function mo(e){return""+e}function Ol(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return wr(e),e;default:return""}}var Df={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ip(e,t){Df[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 Ms(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lp(e){return e._valueTracker}function Cm(e){e._valueTracker=null}function Af(e){var t="";return e&&(Ms(e)?t=e.checked?"true":"false":t=e.value),t}function sp(e){var t=Ms(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);wr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var u=n.get,d=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){wr(y),i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var v={getValue:function(){return i},setValue:function(y){wr(y),i=""+y},stopTracking:function(){Cm(e),delete e[t]}};return v}}function Du(e){lp(e)||(e._valueTracker=sp(e))}function Lf(e){if(!e)return!1;var t=lp(e);if(!t)return!0;var n=t.getValue(),i=Af(e);return i!==n?(t.setValue(i),!0):!1}function Nf(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}var xm=!1,km=!1,Tm=!1,x=!1;function U(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function he(e,t){var n=e,i=t.checked,u=Nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i!=null?i:n._wrapperState.initialChecked});return u}function Ee(e,t){ip("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!km&&(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",Ru()||"A component",t.type),km=!0),t.value!==void 0&&t.defaultValue!==void 0&&!xm&&(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",Ru()||"A component",t.type),xm=!0);var n=e,i=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ol(t.value!=null?t.value:i),controlled:U(t)}}function Xe(e,t){var n=e,i=t.checked;i!=null&&I(n,"checked",i,!1)}function Mt(e,t){var n=e;{var i=U(t);!n._wrapperState.controlled&&i&&!x&&(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&&!i&&!Tm&&(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"),Tm=!0)}Xe(e,t);var u=Ol(t.value),d=t.type;if(u!=null)d==="number"?(u===0&&n.value===""||n.value!=u)&&(n.value=mo(u)):n.value!==mo(u)&&(n.value=mo(u));else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Ur(n,t.type,u):t.hasOwnProperty("defaultValue")&&Ur(n,t.type,Ol(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function yt(e,t,n){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,d=u==="submit"||u==="reset";if(d&&(t.value===void 0||t.value===null))return;var v=mo(i._wrapperState.initialValue);n||v!==i.value&&(i.value=v),i.defaultValue=v}var y=i.name;y!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,y!==""&&(i.name=y)}function Jt(e,t){var n=e;Mt(n,t),xr(n,t)}function xr(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var i=e;i.parentNode;)i=i.parentNode;ur(n,"name");for(var u=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),d=0;d<u.length;d++){var v=u[d];if(!(v===e||v.form!==e.form)){var y=pv(v);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Lf(v),Mt(v,y)}}}}function Ur(e,t,n){(t!=="number"||Nf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=mo(e._wrapperState.initialValue):e.defaultValue!==mo(n)&&(e.defaultValue=mo(n)))}var ua=!1,ca=!1,ma=!1;function Ra(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||ca||(ca=!0,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&&(ma||(ma=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ua&&(c("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ua=!0)}function en(e,t){t.value!=null&&e.setAttribute("value",mo(Ol(t.value)))}var Of=Array.isArray;function tn(e){return Of(e)}var Mf;Mf=!1;function Em(){var e=Ru();return e?`
30
30
 
31
- Check the render method of \``+e+"`.":""}var up=["value","defaultValue"];function Ug(e){{ip("select",e);for(var t=0;t<up.length;t++){var n=up[t];if(e[n]!=null){var i=tn(e[n]);e.multiple&&!i?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Em()):!e.multiple&&i&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Em())}}}}function Ps(e,t,n,i){var u=e.options;if(t){for(var d=n,v={},y=0;y<d.length;y++)v["$"+d[y]]=!0;for(var C=0;C<u.length;C++){var E=v.hasOwnProperty("$"+u[C].value);u[C].selected!==E&&(u[C].selected=E),E&&i&&(u[C].defaultSelected=!0)}}else{for(var A=vo(Nl(n)),Z=null,Q=0;Q<u.length;Q++){if(u[Q].value===A){u[Q].selected=!0,i&&(u[Q].defaultSelected=!0);return}Z===null&&!u[Q].disabled&&(Z=u[Q])}Z!==null&&(Z.selected=!0)}}function cp(e,t){return Nt({},t,{value:void 0})}function zw(e,t){var n=e;Ug(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Of&&(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"),Of=!0)}function Q9(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Ps(n,!!t.multiple,i,!1):t.defaultValue!=null&&Ps(n,!!t.multiple,t.defaultValue,!0)}function J9(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?Ps(n,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?Ps(n,!!t.multiple,t.defaultValue,!0):Ps(n,!!t.multiple,t.multiple?[]:"",!1))}function Z9(e,t){var n=e,i=t.value;i!=null&&Ps(n,!!t.multiple,i,!1)}var Bw=!1;function Vg(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Nt({},t,{value:void 0,defaultValue:void 0,children:vo(n._wrapperState.initialValue)});return i}function Fw(e,t){var n=e;ip("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Bw&&(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",Ru()||"A component"),Bw=!0);var i=t.value;if(i==null){var u=t.children,d=t.defaultValue;if(u!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(tn(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}d=u}}d==null&&(d=""),i=d}n._wrapperState={initialValue:Nl(i)}}function jw(e,t){var n=e,i=Nl(t.value),u=Nl(t.defaultValue);if(i!=null){var d=vo(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}u!=null&&(n.defaultValue=vo(u))}function Hw(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function eM(e,t){jw(e,t)}var Is="http://www.w3.org/1999/xhtml",tM="http://www.w3.org/1998/Math/MathML",Wg="http://www.w3.org/2000/svg";function qg(e){switch(e){case"svg":return Wg;case"math":return tM;default:return Is}}function Yg(e,t){return e==null||e===Is?qg(t):e===Wg&&t==="foreignObject"?Is:e}var rM=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,u)})}:e},Rm,Uw=rM(function(e,t){if(e.namespaceURI===Wg&&!("innerHTML"in e)){Rm=Rm||document.createElement("div"),Rm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Rm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),_o=1,zs=3,Ka=8,Bs=9,$g=11,Dm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===zs){n.nodeValue=t;return}}e.textContent=t},aM={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"]},fp={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 nM(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var oM=["Webkit","ms","Moz","O"];Object.keys(fp).forEach(function(e){oM.forEach(function(t){fp[nM(t,e)]=fp[e]})});function Gg(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(fp.hasOwnProperty(e)&&fp[e])?t+"px":(jr(t,e),(""+t).trim())}var iM=/([A-Z])/g,lM=/^ms-/;function sM(e){return e.replace(iM,"-$1").toLowerCase().replace(lM,"-ms-")}var Vw=function(){};{var uM=/^(?:webkit|moz|o)[A-Z]/,cM=/^-ms-/,fM=/-(.)/g,Ww=/;\s*$/,Mf={},Kg={},qw=!1,Yw=!1,dM=function(e){return e.replace(fM,function(t,n){return n.toUpperCase()})},pM=function(e){Mf.hasOwnProperty(e)&&Mf[e]||(Mf[e]=!0,c("Unsupported style property %s. Did you mean %s?",e,dM(e.replace(cM,"ms-"))))},hM=function(e){Mf.hasOwnProperty(e)&&Mf[e]||(Mf[e]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},mM=function(e,t){Kg.hasOwnProperty(t)&&Kg[t]||(Kg[t]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Ww,"")))},vM=function(e,t){qw||(qw=!0,c("`NaN` is an invalid value for the `%s` css style property.",e))},_M=function(e,t){Yw||(Yw=!0,c("`Infinity` is an invalid value for the `%s` css style property.",e))};Vw=function(e,t){e.indexOf("-")>-1?pM(e):uM.test(e)?hM(e):Ww.test(t)&&mM(e,t),typeof t=="number"&&(isNaN(t)?vM(e,t):isFinite(t)||_M(e,t))}}var gM=Vw;function bM(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var d=i.indexOf("--")===0;t+=n+(d?i:sM(i))+":",t+=Gg(i,u,d),n=";"}}return t||null}}function $w(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||gM(i,t[i]);var d=Gg(i,t[i],u);i==="float"&&(i="cssFloat"),u?n.setProperty(i,d):n[i]=d}}function yM(e){return e==null||typeof e=="boolean"||e===""}function Gw(e){var t={};for(var n in e)for(var i=aM[n]||[n],u=0;u<i.length;u++)t[i[u]]=n;return t}function SM(e,t){{if(!t)return;var n=Gw(e),i=Gw(t),u={};for(var d in n){var v=n[d],y=i[d];if(y&&v!==y){var C=v+","+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.",yM(e[v])?"Removing":"Updating",v,y)}}}}var wM={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},CM=Nt({menuitem:!0},wM),xM="__html";function Xg(e,t){if(t){if(CM[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"||!(xM 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 Sc(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 Am={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"},Kw={"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},Pf={},kM=new RegExp("^(aria)-["+it+"]*$"),TM=new RegExp("^(aria)[A-Z]["+it+"]*$");function EM(e,t){{if(Lt.call(Pf,t)&&Pf[t])return!0;if(TM.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=Kw.hasOwnProperty(n)?n:null;if(i==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Pf[t]=!0,!0;if(t!==i)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Pf[t]=!0,!0}if(kM.test(t)){var u=t.toLowerCase(),d=Kw.hasOwnProperty(u)?u:null;if(d==null)return Pf[t]=!0,!1;if(t!==d)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),Pf[t]=!0,!0}}return!0}function RM(e,t){{var n=[];for(var i in t){var u=EM(e,i);u||n.push(i)}var d=n.map(function(v){return"`"+v+"`"}).join(", ");n.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):n.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function DM(e,t){Sc(e,t)||RM(e,t)}var Xw=!1;function AM(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Xw&&(Xw=!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 Qw=function(){};{var $n={},Jw=/^on./,LM=/^on[^A-Z]/,NM=new RegExp("^(aria)-["+it+"]*$"),OM=new RegExp("^(aria)[A-Z]["+it+"]*$");Qw=function(e,t,n,i){if(Lt.call($n,t)&&$n[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."),$n[t]=!0,!0;if(i!=null){var d=i.registrationNameDependencies,v=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=v.hasOwnProperty(u)?v[u]:null;if(y!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",t,y),$n[t]=!0,!0;if(Jw.test(t))return c("Unknown event handler property `%s`. It will be ignored.",t),$n[t]=!0,!0}else if(Jw.test(t))return LM.test(t)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),$n[t]=!0,!0;if(NM.test(t)||OM.test(t))return!0;if(u==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),$n[t]=!0,!0;if(u==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),$n[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),$n[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),$n[t]=!0,!0;var C=P(t),E=C!==null&&C.type===Dr;if(Am.hasOwnProperty(u)){var A=Am[u];if(A!==t)return c("Invalid DOM property `%s`. Did you mean `%s`?",t,A),$n[t]=!0,!0}else if(!E&&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),$n[t]=!0,!0;return typeof n=="boolean"&&Yr(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),$n[t]=!0,!0):E?!0:Yr(t,n,C,!1)?($n[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===yr&&(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),$n[t]=!0),!0)}}var MM=function(e,t,n){{var i=[];for(var u in t){var d=Qw(e,u,t[u],n);d||i.push(u)}var v=i.map(function(y){return"`"+y+"`"}).join(", ");i.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 ",v,e):i.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 ",v,e)}};function PM(e,t,n){Sc(e,t)||MM(e,t,n)}var Zw=1,Qg=2,dp=4,IM=Zw|Qg|dp,pp=null;function zM(e){pp!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),pp=e}function BM(){pp===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),pp=null}function FM(e){return e===pp}function Jg(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===zs?t.parentNode:t}var Zg=null,If=null,zf=null;function eC(e){var t=zu(e);if(t){if(typeof Zg!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var i=pv(n);Zg(t.stateNode,t.type,i)}}}function jM(e){Zg=e}function tC(e){If?zf?zf.push(e):zf=[e]:If=e}function HM(){return If!==null||zf!==null}function rC(){if(If){var e=If,t=zf;if(If=null,zf=null,eC(e),t)for(var n=0;n<t.length;n++)eC(t[n])}}var aC=function(e,t){return e(t)},nC=function(){},eb=!1;function UM(){var e=HM();e&&(nC(),rC())}function oC(e,t,n){if(eb)return e(t,n);eb=!0;try{return aC(e,t,n)}finally{eb=!1,UM()}}function VM(e,t,n){aC=e,nC=n}function WM(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function qM(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&&WM(t));default:return!1}}function hp(e,t){var n=e.stateNode;if(n===null)return null;var i=pv(n);if(i===null)return null;var u=i[t];if(qM(t,e.type,i))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 tb=!1;if(yt)try{var mp={};Object.defineProperty(mp,"passive",{get:function(){tb=!0}}),window.addEventListener("test",mp,mp),window.removeEventListener("test",mp,mp)}catch(e){tb=!1}function iC(e,t,n,i,u,d,v,y,C){var E=Array.prototype.slice.call(arguments,3);try{t.apply(n,E)}catch(A){this.onError(A)}}var lC=iC;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var rb=document.createElement("react");lC=function(t,n,i,u,d,v,y,C,E){if(typeof document=="undefined"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var A=document.createEvent("Event"),Z=!1,Q=!0,me=window.event,ve=Object.getOwnPropertyDescriptor(window,"event");function Ce(){rb.removeEventListener(De,Rt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=me)}var et=Array.prototype.slice.call(arguments,3);function Rt(){Z=!0,Ce(),n.apply(i,et),Q=!1}var St,fr=!1,dr=!1;function ue(ce){if(St=ce.error,fr=!0,St===null&&ce.colno===0&&ce.lineno===0&&(dr=!0),ce.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch($e){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ue),rb.addEventListener(De,Rt,!1),A.initEvent(De,!1,!1),rb.dispatchEvent(A),ve&&Object.defineProperty(window,"event",ve),Z&&Q&&(fr?dr&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",ue),!Z)return Ce(),iC.apply(this,arguments)}}var YM=lC,Bf=!1,Lm=null,Nm=!1,ab=null,$M={onError:function(e){Bf=!0,Lm=e}};function nb(e,t,n,i,u,d,v,y,C){Bf=!1,Lm=null,YM.apply($M,arguments)}function GM(e,t,n,i,u,d,v,y,C){if(nb.apply(this,arguments),Bf){var E=ob();Nm||(Nm=!0,ab=E)}}function KM(){if(Nm){var e=ab;throw Nm=!1,ab=null,e}}function XM(){return Bf}function ob(){if(Bf){var e=Lm;return Bf=!1,Lm=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 Ff(e){return e._reactInternals}function QM(e){return e._reactInternals!==void 0}function JM(e,t){e._reactInternals=t}var zt=0,jf=1,Xa=2,wr=4,wc=16,vp=32,ib=64,Pr=128,Fs=256,Au=512,Cc=1024,Ol=2048,js=4096,xc=8192,Om=16384,ZM=Ol|wr|ib|Au|Cc|Om,eP=32767,_p=32768,Gn=65536,lb=131072,sC=1048576,sb=2097152,kc=4194304,ub=8388608,Hs=16777216,Mm=33554432,cb=wr|Cc|0,fb=Xa|wr|wc|vp|Au|js|xc,gp=wr|ib|Au|xc,Hf=Ol|wc,Us=kc|ub|sb,tP=o.ReactCurrentOwner;function Tc(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Xa|js))!==zt&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function uC(e){if(e.tag===J){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 cC(e){return e.tag===b?e.stateNode.containerInfo:null}function rP(e){return Tc(e)===e}function aP(e){{var t=tP.current;if(t!==null&&t.tag===m){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||c("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Zt(n)||"A component"),i._warnedAboutRefsInRender=!0}}var u=Ff(e);return u?Tc(u)===u:!1}function fC(e){if(Tc(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dC(e){var t=e.alternate;if(!t){var n=Tc(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,u=t;;){var d=i.return;if(d===null)break;var v=d.alternate;if(v===null){var y=d.return;if(y!==null){i=u=y;continue}break}if(d.child===v.child){for(var C=d.child;C;){if(C===i)return fC(d),e;if(C===u)return fC(d),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=d,u=v;else{for(var E=!1,A=d.child;A;){if(A===i){E=!0,i=d,u=v;break}if(A===u){E=!0,u=d,i=v;break}A=A.sibling}if(!E){for(A=v.child;A;){if(A===i){E=!0,i=v,u=d;break}if(A===u){E=!0,u=v,i=d;break}A=A.sibling}if(!E)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==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(i.tag!==b)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function pC(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;){var n=hC(t);if(n!==null)return n;t=t.sibling}return null}function nP(e){var t=dC(e);return t!==null?mC(t):null}function mC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==S){var n=mC(t);if(n!==null)return n}t=t.sibling}return null}var vC=a.unstable_scheduleCallback,oP=a.unstable_cancelCallback,iP=a.unstable_shouldYield,lP=a.unstable_requestPaint,mn=a.unstable_now,sP=a.unstable_getCurrentPriorityLevel,Pm=a.unstable_ImmediatePriority,db=a.unstable_UserBlockingPriority,Ec=a.unstable_NormalPriority,uP=a.unstable_LowPriority,pb=a.unstable_IdlePriority,cP=a.unstable_yieldValue,fP=a.unstable_setDisableYieldValue,Rc=null,Cn=null,nt=null,ss=!1,Ml=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function dP(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{He&&(e=Nt({},e,{getLaneLabelMap:gP,injectProfilingHooks:_P})),Rc=t.inject(e),Cn=t}catch(n){c("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function pP(e,t){if(Cn&&typeof Cn.onScheduleFiberRoot=="function")try{Cn.onScheduleFiberRoot(Rc,e,t)}catch(n){ss||(ss=!0,c("React instrumentation encountered an error: %s",n))}}function hP(e,t){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(at){var i;switch(t){case Io:i=Pm;break;case Ws:i=db;break;case qs:i=Ec;break;case Um:i=pb;break;default:i=Ec;break}Cn.onCommitFiberRoot(Rc,e,i,n)}else Cn.onCommitFiberRoot(Rc,e,void 0,n)}catch(u){ss||(ss=!0,c("React instrumentation encountered an error: %s",u))}}function mP(e){if(Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Rc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function vP(e){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Rc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function vn(e){if(typeof cP=="function"&&(fP(e),s(e)),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Rc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function _P(e){nt=e}function gP(){{for(var e=new Map,t=1,n=0;n<mb;n++){var i=BP(t);e.set(t,i),t*=2}return e}}function bP(e){nt!==null&&typeof nt.markCommitStarted=="function"&&nt.markCommitStarted(e)}function _C(){nt!==null&&typeof nt.markCommitStopped=="function"&&nt.markCommitStopped()}function bp(e){nt!==null&&typeof nt.markComponentRenderStarted=="function"&&nt.markComponentRenderStarted(e)}function Uf(){nt!==null&&typeof nt.markComponentRenderStopped=="function"&&nt.markComponentRenderStopped()}function yP(e){nt!==null&&typeof nt.markComponentPassiveEffectMountStarted=="function"&&nt.markComponentPassiveEffectMountStarted(e)}function SP(){nt!==null&&typeof nt.markComponentPassiveEffectMountStopped=="function"&&nt.markComponentPassiveEffectMountStopped()}function wP(e){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStarted=="function"&&nt.markComponentPassiveEffectUnmountStarted(e)}function CP(){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStopped=="function"&&nt.markComponentPassiveEffectUnmountStopped()}function xP(e){nt!==null&&typeof nt.markComponentLayoutEffectMountStarted=="function"&&nt.markComponentLayoutEffectMountStarted(e)}function kP(){nt!==null&&typeof nt.markComponentLayoutEffectMountStopped=="function"&&nt.markComponentLayoutEffectMountStopped()}function gC(e){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStarted=="function"&&nt.markComponentLayoutEffectUnmountStarted(e)}function bC(){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStopped=="function"&&nt.markComponentLayoutEffectUnmountStopped()}function TP(e,t,n){nt!==null&&typeof nt.markComponentErrored=="function"&&nt.markComponentErrored(e,t,n)}function EP(e,t,n){nt!==null&&typeof nt.markComponentSuspended=="function"&&nt.markComponentSuspended(e,t,n)}function RP(e){nt!==null&&typeof nt.markLayoutEffectsStarted=="function"&&nt.markLayoutEffectsStarted(e)}function DP(){nt!==null&&typeof nt.markLayoutEffectsStopped=="function"&&nt.markLayoutEffectsStopped()}function AP(e){nt!==null&&typeof nt.markPassiveEffectsStarted=="function"&&nt.markPassiveEffectsStarted(e)}function LP(){nt!==null&&typeof nt.markPassiveEffectsStopped=="function"&&nt.markPassiveEffectsStopped()}function yC(e){nt!==null&&typeof nt.markRenderStarted=="function"&&nt.markRenderStarted(e)}function NP(){nt!==null&&typeof nt.markRenderYielded=="function"&&nt.markRenderYielded()}function SC(){nt!==null&&typeof nt.markRenderStopped=="function"&&nt.markRenderStopped()}function OP(e){nt!==null&&typeof nt.markRenderScheduled=="function"&&nt.markRenderScheduled(e)}function MP(e,t){nt!==null&&typeof nt.markForceUpdateScheduled=="function"&&nt.markForceUpdateScheduled(e,t)}function hb(e,t){nt!==null&&typeof nt.markStateUpdateScheduled=="function"&&nt.markStateUpdateScheduled(e,t)}var Ot=0,vr=1,Kr=2,Ma=8,us=16,wC=Math.clz32?Math.clz32:zP,PP=Math.log,IP=Math.LN2;function zP(e){var t=e>>>0;return t===0?32:31-(PP(t)/IP|0)|0}var mb=31,ze=0,_n=0,qt=1,Vf=2,Vs=4,Dc=8,cs=16,yp=32,Wf=4194240,Sp=64,vb=128,_b=256,gb=512,bb=1024,yb=2048,Sb=4096,wb=8192,Cb=16384,xb=32768,kb=65536,Tb=131072,Eb=262144,Rb=524288,Db=1048576,Ab=2097152,Im=130023424,qf=4194304,Lb=8388608,Nb=16777216,Ob=33554432,Mb=67108864,CC=qf,wp=134217728,xC=268435455,Cp=268435456,Ac=536870912,Mo=1073741824;function BP(e){{if(e&qt)return"Sync";if(e&Vf)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Dc)return"DefaultHydration";if(e&cs)return"Default";if(e&yp)return"TransitionHydration";if(e&Wf)return"Transition";if(e&Im)return"Retry";if(e&wp)return"SelectiveHydration";if(e&Cp)return"IdleHydration";if(e&Ac)return"Idle";if(e&Mo)return"Offscreen"}}var va=-1,zm=Sp,Bm=qf;function xp(e){switch(Lc(e)){case qt:return qt;case Vf:return Vf;case Vs:return Vs;case Dc:return Dc;case cs:return cs;case yp:return yp;case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:return e&Wf;case qf:case Lb:case Nb:case Ob:case Mb:return e&Im;case wp:return wp;case Cp:return Cp;case Ac:return Ac;case Mo:return Mo;default:return c("Should have found matching lanes. This is a bug in React."),e}}function Fm(e,t){var n=e.pendingLanes;if(n===ze)return ze;var i=ze,u=e.suspendedLanes,d=e.pingedLanes,v=n&xC;if(v!==ze){var y=v&~u;if(y!==ze)i=xp(y);else{var C=v&d;C!==ze&&(i=xp(C))}}else{var E=n&~u;E!==ze?i=xp(E):d!==ze&&(i=xp(d))}if(i===ze)return ze;if(t!==ze&&t!==i&&(t&u)===ze){var A=Lc(i),Z=Lc(t);if(A>=Z||A===cs&&(Z&Wf)!==ze)return t}(i&Vs)!==ze&&(i|=n&cs);var Q=e.entangledLanes;if(Q!==ze)for(var me=e.entanglements,ve=i&Q;ve>0;){var Ce=Nc(ve),et=1<<Ce;i|=me[Ce],ve&=~et}return i}function FP(e,t){for(var n=e.eventTimes,i=va;t>0;){var u=Nc(t),d=1<<u,v=n[u];v>i&&(i=v),t&=~d}return i}function jP(e,t){switch(e){case qt:case Vf:case Vs:return t+250;case Dc:case cs:case yp:case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:return t+5e3;case qf:case Lb:case Nb:case Ob:case Mb:return va;case wp:case Cp:case Ac:case Mo:return va;default:return c("Should have found matching lanes. This is a bug in React."),va}}function HP(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,d=e.expirationTimes,v=n;v>0;){var y=Nc(v),C=1<<y,E=d[y];E===va?((C&i)===ze||(C&u)!==ze)&&(d[y]=jP(C,t)):E<=t&&(e.expiredLanes|=C),v&=~C}}function UP(e){return xp(e.pendingLanes)}function Pb(e){var t=e.pendingLanes&~Mo;return t!==ze?t:t&Mo?Mo:ze}function VP(e){return(e&qt)!==ze}function Ib(e){return(e&xC)!==ze}function kC(e){return(e&Im)===e}function WP(e){var t=qt|Vs|cs;return(e&t)===ze}function qP(e){return(e&Wf)===e}function jm(e,t){var n=Vf|Vs|Dc|cs;return(t&n)!==ze}function YP(e,t){return(t&e.expiredLanes)!==ze}function TC(e){return(e&Wf)!==ze}function EC(){var e=zm;return zm<<=1,(zm&Wf)===ze&&(zm=Sp),e}function $P(){var e=Bm;return Bm<<=1,(Bm&Im)===ze&&(Bm=qf),e}function Lc(e){return e&-e}function kp(e){return Lc(e)}function Nc(e){return 31-wC(e)}function zb(e){return Nc(e)}function Po(e,t){return(e&t)!==ze}function Yf(e,t){return(e&t)===t}function or(e,t){return e|t}function Hm(e,t){return e&~t}function RC(e,t){return e&t}function H$(e){return e}function GP(e,t){return e!==_n&&e<t?e:t}function Bb(e){for(var t=[],n=0;n<mb;n++)t.push(e);return t}function Tp(e,t,n){e.pendingLanes|=t,t!==Ac&&(e.suspendedLanes=ze,e.pingedLanes=ze);var i=e.eventTimes,u=zb(t);i[u]=n}function KP(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var u=Nc(i),d=1<<u;n[u]=va,i&=~d}}function DC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function XP(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ze,e.pingedLanes=ze,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,d=e.expirationTimes,v=n;v>0;){var y=Nc(v),C=1<<y;i[y]=ze,u[y]=va,d[y]=va,v&=~C}}function Fb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,u=n;u;){var d=Nc(u),v=1<<d;v&t|i[d]&t&&(i[d]|=t),u&=~v}}function QP(e,t){var n=Lc(t),i;switch(n){case Vs:i=Vf;break;case cs:i=Dc;break;case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case qf:case Lb:case Nb:case Ob:case Mb:i=yp;break;case Ac:i=Cp;break;default:i=_n;break}return(i&(e.suspendedLanes|t))!==_n?_n:i}function AC(e,t,n){if(Ml)for(var i=e.pendingUpdatersLaneMap;n>0;){var u=zb(n),d=1<<u,v=i[u];v.add(t),n&=~d}}function LC(e,t){if(Ml)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=zb(t),d=1<<u,v=n[u];v.size>0&&(v.forEach(function(y){var C=y.alternate;(C===null||!i.has(C))&&i.add(y)}),v.clear()),t&=~d}}function NC(e,t){return null}var Io=qt,Ws=Vs,qs=cs,Um=Ac,Ep=_n;function Pl(){return Ep}function gn(e){Ep=e}function JP(e,t){var n=Ep;try{return Ep=e,t()}finally{Ep=n}}function ZP(e,t){return e!==0&&e<t?e:t}function eI(e,t){return e===0||e>t?e:t}function jb(e,t){return e!==0&&e<t}function OC(e){var t=Lc(e);return jb(Io,t)?jb(Ws,t)?Ib(t)?qs:Um:Ws:Io}function Vm(e){var t=e.current.memoizedState;return t.isDehydrated}var MC;function tI(e){MC=e}function rI(e){MC(e)}var Hb;function aI(e){Hb=e}var PC;function nI(e){PC=e}var IC;function oI(e){IC=e}var zC;function iI(e){zC=e}var Ub=!1,Wm=[],Lu=null,Nu=null,Ou=null,Rp=new Map,Dp=new Map,Mu=[],lI=["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 sI(e){return lI.indexOf(e)>-1}function uI(e,t,n,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:u,targetContainers:[i]}}function BC(e,t){switch(e){case"focusin":case"focusout":Lu=null;break;case"dragenter":case"dragleave":Nu=null;break;case"mouseover":case"mouseout":Ou=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Rp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Dp.delete(i);break}}}function Ap(e,t,n,i,u,d){if(e===null||e.nativeEvent!==d){var v=uI(t,n,i,u,d);if(t!==null){var y=zu(t);y!==null&&Hb(y)}return v}e.eventSystemFlags|=i;var C=e.targetContainers;return u!==null&&C.indexOf(u)===-1&&C.push(u),e}function cI(e,t,n,i,u){switch(t){case"focusin":{var d=u;return Lu=Ap(Lu,e,t,n,i,d),!0}case"dragenter":{var v=u;return Nu=Ap(Nu,e,t,n,i,v),!0}case"mouseover":{var y=u;return Ou=Ap(Ou,e,t,n,i,y),!0}case"pointerover":{var C=u,E=C.pointerId;return Rp.set(E,Ap(Rp.get(E)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var A=u,Z=A.pointerId;return Dp.set(Z,Ap(Dp.get(Z)||null,e,t,n,i,A)),!0}}return!1}function FC(e){var t=Pc(e.target);if(t!==null){var n=Tc(t);if(n!==null){var i=n.tag;if(i===J){var u=uC(n);if(u!==null){e.blockedOn=u,zC(e.priority,function(){PC(n)});return}}else if(i===b){var d=n.stateNode;if(Vm(d)){e.blockedOn=cC(n);return}}}}e.blockedOn=null}function fI(e){for(var t=IC(),n={blockedOn:null,target:e,priority:t},i=0;i<Mu.length&&jb(t,Mu[i].priority);i++);Mu.splice(i,0,n),i===0&&FC(n)}function qm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=qb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var u=e.nativeEvent,d=new u.constructor(u.type,u);zM(d),u.target.dispatchEvent(d),BM()}else{var v=zu(i);return v!==null&&Hb(v),e.blockedOn=i,!1}t.shift()}return!0}function jC(e,t,n){qm(e)&&n.delete(t)}function dI(){Ub=!1,Lu!==null&&qm(Lu)&&(Lu=null),Nu!==null&&qm(Nu)&&(Nu=null),Ou!==null&&qm(Ou)&&(Ou=null),Rp.forEach(jC),Dp.forEach(jC)}function Lp(e,t){e.blockedOn===t&&(e.blockedOn=null,Ub||(Ub=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,dI)))}function Np(e){if(Wm.length>0){Lp(Wm[0],e);for(var t=1;t<Wm.length;t++){var n=Wm[t];n.blockedOn===e&&(n.blockedOn=null)}}Lu!==null&&Lp(Lu,e),Nu!==null&&Lp(Nu,e),Ou!==null&&Lp(Ou,e);var i=function(y){return Lp(y,e)};Rp.forEach(i),Dp.forEach(i);for(var u=0;u<Mu.length;u++){var d=Mu[u];d.blockedOn===e&&(d.blockedOn=null)}for(;Mu.length>0;){var v=Mu[0];if(v.blockedOn!==null)break;FC(v),v.blockedOn===null&&Mu.shift()}}var $f=o.ReactCurrentBatchConfig,Vb=!0;function HC(e){Vb=!!e}function pI(){return Vb}function hI(e,t,n){var i=UC(t),u;switch(i){case Io:u=mI;break;case Ws:u=vI;break;case qs:default:u=Wb;break}return u.bind(null,t,n,e)}function mI(e,t,n,i){var u=Pl(),d=$f.transition;$f.transition=null;try{gn(Io),Wb(e,t,n,i)}finally{gn(u),$f.transition=d}}function vI(e,t,n,i){var u=Pl(),d=$f.transition;$f.transition=null;try{gn(Ws),Wb(e,t,n,i)}finally{gn(u),$f.transition=d}}function Wb(e,t,n,i){Vb&&_I(e,t,n,i)}function _I(e,t,n,i){var u=qb(e,t,n,i);if(u===null){o1(e,t,i,Ym,n),BC(e,i);return}if(cI(u,e,t,n,i)){i.stopPropagation();return}if(BC(e,i),t&dp&&sI(e)){for(;u!==null;){var d=zu(u);d!==null&&rI(d);var v=qb(e,t,n,i);if(v===null&&o1(e,t,i,Ym,n),v===u)break;u=v}u!==null&&i.stopPropagation();return}o1(e,t,i,null,n)}var Ym=null;function qb(e,t,n,i){Ym=null;var u=Jg(i),d=Pc(u);if(d!==null){var v=Tc(d);if(v===null)d=null;else{var y=v.tag;if(y===J){var C=uC(v);if(C!==null)return C;d=null}else if(y===b){var E=v.stateNode;if(Vm(E))return cC(v);d=null}else v!==d&&(d=null)}}return Ym=d,null}function UC(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Io;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Ws;case"message":{var t=sP();switch(t){case Pm:return Io;case db:return Ws;case Ec:case uP:return qs;case pb:return Um;default:return qs}}default:return qs}}function gI(e,t,n){return e.addEventListener(t,n,!1),n}function bI(e,t,n){return e.addEventListener(t,n,!0),n}function yI(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function SI(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Op=null,Yb=null,Mp=null;function wI(e){return Op=e,Yb=WC(),!0}function CI(){Op=null,Yb=null,Mp=null}function VC(){if(Mp)return Mp;var e,t=Yb,n=t.length,i,u=WC(),d=u.length;for(e=0;e<n&&t[e]===u[e];e++);var v=n-e;for(i=1;i<=v&&t[n-i]===u[d-i];i++);var y=i>1?1-i:void 0;return Mp=u.slice(e,y),Mp}function WC(){return"value"in Op?Op.value:Op.textContent}function $m(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 Gm(){return!0}function qC(){return!1}function zo(e){function t(n,i,u,d,v){this._reactName=n,this._targetInst=u,this.type=i,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var C=e[y];C?this[y]=C(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=Gm:this.isDefaultPrevented=qC,this.isPropagationStopped=qC,this}return Nt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Gm)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Gm)},persist:function(){},isPersistent:Gm}),t}var Gf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$b=zo(Gf),Pp=Nt({},Gf,{view:0,detail:0}),xI=zo(Pp),Gb,Kb,Ip;function kI(e){e!==Ip&&(Ip&&e.type==="mousemove"?(Gb=e.screenX-Ip.screenX,Kb=e.screenY-Ip.screenY):(Gb=0,Kb=0),Ip=e)}var Km=Nt({},Pp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qb,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:(kI(e),Gb)},movementY:function(e){return"movementY"in e?e.movementY:Kb}}),YC=zo(Km),TI=Nt({},Km,{dataTransfer:0}),EI=zo(TI),RI=Nt({},Pp,{relatedTarget:0}),Xb=zo(RI),DI=Nt({},Gf,{animationName:0,elapsedTime:0,pseudoElement:0}),AI=zo(DI),LI=Nt({},Gf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),NI=zo(LI),OI=Nt({},Gf,{data:0}),$C=zo(OI),MI=$C,PI={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},II={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 zI(e){if(e.key){var t=PI[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=$m(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?II[e.keyCode]||"Unidentified":""}var BI={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function FI(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=BI[e];return i?!!n[i]:!1}function Qb(e){return FI}var jI=Nt({},Pp,{key:zI,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qb,charCode:function(e){return e.type==="keypress"?$m(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$m(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),HI=zo(jI),UI=Nt({},Km,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),GC=zo(UI),VI=Nt({},Pp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qb}),WI=zo(VI),qI=Nt({},Gf,{propertyName:0,elapsedTime:0,pseudoElement:0}),YI=zo(qI),$I=Nt({},Km,{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}),GI=zo($I),KI=[9,13,27,32],KC=229,Jb=yt&&"CompositionEvent"in window,zp=null;yt&&"documentMode"in document&&(zp=document.documentMode);var XI=yt&&"TextEvent"in window&&!zp,XC=yt&&(!Jb||zp&&zp>8&&zp<=11),QC=32,JC=String.fromCharCode(QC);function QI(){tt("onBeforeInput",["compositionend","keypress","textInput","paste"]),tt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),tt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),tt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ZC=!1;function JI(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function ZI(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function ez(e,t){return e==="keydown"&&t.keyCode===KC}function e3(e,t){switch(e){case"keyup":return KI.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==KC;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function t3(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function r3(e){return e.locale==="ko"}var Kf=!1;function tz(e,t,n,i,u){var d,v;if(Jb?d=ZI(t):Kf?e3(t,i)&&(d="onCompositionEnd"):ez(t,i)&&(d="onCompositionStart"),!d)return null;XC&&!r3(i)&&(!Kf&&d==="onCompositionStart"?Kf=wI(u):d==="onCompositionEnd"&&Kf&&(v=VC()));var y=ev(n,d);if(y.length>0){var C=new $C(d,t,null,i,u);if(e.push({event:C,listeners:y}),v)C.data=v;else{var E=t3(i);E!==null&&(C.data=E)}}}function rz(e,t){switch(e){case"compositionend":return t3(t);case"keypress":var n=t.which;return n!==QC?null:(ZC=!0,JC);case"textInput":var i=t.data;return i===JC&&ZC?null:i;default:return null}}function az(e,t){if(Kf){if(e==="compositionend"||!Jb&&e3(e,t)){var n=VC();return CI(),Kf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!JI(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return XC&&!r3(t)?null:t.data;default:return null}}function nz(e,t,n,i,u){var d;if(XI?d=rz(t,i):d=az(t,i),!d)return null;var v=ev(n,"onBeforeInput");if(v.length>0){var y=new MI("onBeforeInput","beforeinput",null,i,u);e.push({event:y,listeners:v}),y.data=d}}function oz(e,t,n,i,u,d,v){tz(e,t,n,i,u),nz(e,t,n,i,u)}var iz={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 a3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!iz[e.type]:t==="textarea"}function lz(e){if(!yt)return!1;var t="on"+e,n=t in document;if(!n){var i=document.createElement("div");i.setAttribute(t,"return;"),n=typeof i[t]=="function"}return n}function sz(){tt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n3(e,t,n,i){tC(i);var u=ev(t,"onChange");if(u.length>0){var d=new $b("onChange","change",null,n,i);e.push({event:d,listeners:u})}}var Bp=null,Fp=null;function uz(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function cz(e){var t=[];n3(t,Fp,e,Jg(e)),oC(fz,t)}function fz(e){w3(e,0)}function Xm(e){var t=td(e);if(Af(t))return e}function dz(e,t){if(e==="change")return t}var o3=!1;yt&&(o3=lz("input")&&(!document.documentMode||document.documentMode>9));function pz(e,t){Bp=e,Fp=t,Bp.attachEvent("onpropertychange",l3)}function i3(){Bp&&(Bp.detachEvent("onpropertychange",l3),Bp=null,Fp=null)}function l3(e){e.propertyName==="value"&&Xm(Fp)&&cz(e)}function hz(e,t,n){e==="focusin"?(i3(),pz(t,n)):e==="focusout"&&i3()}function mz(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xm(Fp)}function vz(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function _z(e,t){if(e==="click")return Xm(t)}function gz(e,t){if(e==="input"||e==="change")return Xm(t)}function bz(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function yz(e,t,n,i,u,d,v){var y=n?td(n):window,C,E;if(uz(y)?C=dz:a3(y)?o3?C=gz:(C=mz,E=hz):vz(y)&&(C=_z),C){var A=C(t,n);if(A){n3(e,A,i,u);return}}E&&E(t,y,n),t==="focusout"&&bz(y)}function Sz(){we("onMouseEnter",["mouseout","mouseover"]),we("onMouseLeave",["mouseout","mouseover"]),we("onPointerEnter",["pointerout","pointerover"]),we("onPointerLeave",["pointerout","pointerover"])}function wz(e,t,n,i,u,d,v){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!FM(i)){var E=i.relatedTarget||i.fromElement;if(E&&(Pc(E)||eh(E)))return}if(!(!C&&!y)){var A;if(u.window===u)A=u;else{var Z=u.ownerDocument;Z?A=Z.defaultView||Z.parentWindow:A=window}var Q,me;if(C){var ve=i.relatedTarget||i.toElement;if(Q=n,me=ve?Pc(ve):null,me!==null){var Ce=Tc(me);(me!==Ce||me.tag!==w&&me.tag!==k)&&(me=null)}}else Q=null,me=n;if(Q!==me){var et=YC,Rt="onMouseLeave",St="onMouseEnter",fr="mouse";(t==="pointerout"||t==="pointerover")&&(et=GC,Rt="onPointerLeave",St="onPointerEnter",fr="pointer");var dr=Q==null?A:td(Q),ue=me==null?A:td(me),De=new et(Rt,fr+"leave",Q,i,u);De.target=dr,De.relatedTarget=ue;var ce=null,$e=Pc(u);if($e===n){var lt=new et(St,fr+"enter",me,i,u);lt.target=ue,lt.relatedTarget=dr,ce=lt}Yz(e,De,ce,Q,me)}}}function Cz(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bo=typeof Object.is=="function"?Object.is:Cz;function jp(e,t){if(Bo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var u=0;u<n.length;u++){var d=n[u];if(!Lt.call(t,d)||!Bo(e[d],t[d]))return!1}return!0}function s3(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xz(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function u3(e,t){for(var n=s3(e),i=0,u=0;n;){if(n.nodeType===zs){if(u=i+n.textContent.length,i<=t&&u>=t)return{node:n,offset:t-i};i=u}n=s3(xz(n))}}function kz(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,d=i.anchorOffset,v=i.focusNode,y=i.focusOffset;try{u.nodeType,v.nodeType}catch(C){return null}return Tz(e,u,d,v,y)}function Tz(e,t,n,i,u){var d=0,v=-1,y=-1,C=0,E=0,A=e,Z=null;e:for(;;){for(var Q=null;A===t&&(n===0||A.nodeType===zs)&&(v=d+n),A===i&&(u===0||A.nodeType===zs)&&(y=d+u),A.nodeType===zs&&(d+=A.nodeValue.length),(Q=A.firstChild)!==null;)Z=A,A=Q;for(;;){if(A===e)break e;if(Z===t&&++C===n&&(v=d),Z===i&&++E===u&&(y=d),(Q=A.nextSibling)!==null)break;A=Z,Z=A.parentNode}A=Q}return v===-1||y===-1?null:{start:v,end:y}}function Ez(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var u=i.getSelection(),d=e.textContent.length,v=Math.min(t.start,d),y=t.end===void 0?v:Math.min(t.end,d);if(!u.extend&&v>y){var C=y;y=v,v=C}var E=u3(e,v),A=u3(e,y);if(E&&A){if(u.rangeCount===1&&u.anchorNode===E.node&&u.anchorOffset===E.offset&&u.focusNode===A.node&&u.focusOffset===A.offset)return;var Z=n.createRange();Z.setStart(E.node,E.offset),u.removeAllRanges(),v>y?(u.addRange(Z),u.extend(A.node,A.offset)):(Z.setEnd(A.node,A.offset),u.addRange(Z))}}}function c3(e){return e&&e.nodeType===zs}function f3(e,t){return!e||!t?!1:e===t?!0:c3(e)?!1:c3(t)?f3(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Rz(e){return e&&e.ownerDocument&&f3(e.ownerDocument.documentElement,e)}function Dz(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function d3(){for(var e=window,t=Lf();t instanceof e.HTMLIFrameElement;){if(Dz(t))e=t.contentWindow;else return t;t=Lf(e.document)}return t}function Zb(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 Az(){var e=d3();return{focusedElem:e,selectionRange:Zb(e)?Nz(e):null}}function Lz(e){var t=d3(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&Rz(n)){i!==null&&Zb(n)&&Oz(n,i);for(var u=[],d=n;d=d.parentNode;)d.nodeType===_o&&u.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var v=0;v<u.length;v++){var y=u[v];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function Nz(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=kz(e),t||{start:0,end:0}}function Oz(e,t){var n=t.start,i=t.end;i===void 0&&(i=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(i,e.value.length)):Ez(e,t)}var Mz=yt&&"documentMode"in document&&document.documentMode<=11;function Pz(){tt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Xf=null,e1=null,Hp=null,t1=!1;function Iz(e){if("selectionStart"in e&&Zb(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 zz(e){return e.window===e?e.document:e.nodeType===Bs?e:e.ownerDocument}function p3(e,t,n){var i=zz(n);if(!(t1||Xf==null||Xf!==Lf(i))){var u=Iz(Xf);if(!Hp||!jp(Hp,u)){Hp=u;var d=ev(e1,"onSelect");if(d.length>0){var v=new $b("onSelect","select",null,t,n);e.push({event:v,listeners:d}),v.target=Xf}}}}function Bz(e,t,n,i,u,d,v){var y=n?td(n):window;switch(t){case"focusin":(a3(y)||y.contentEditable==="true")&&(Xf=y,e1=n,Hp=null);break;case"focusout":Xf=null,e1=null,Hp=null;break;case"mousedown":t1=!0;break;case"contextmenu":case"mouseup":case"dragend":t1=!1,p3(e,i,u);break;case"selectionchange":if(Mz)break;case"keydown":case"keyup":p3(e,i,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 Qf={animationend:Qm("Animation","AnimationEnd"),animationiteration:Qm("Animation","AnimationIteration"),animationstart:Qm("Animation","AnimationStart"),transitionend:Qm("Transition","TransitionEnd")},r1={},h3={};yt&&(h3=document.createElement("div").style,"AnimationEvent"in window||(delete Qf.animationend.animation,delete Qf.animationiteration.animation,delete Qf.animationstart.animation),"TransitionEvent"in window||delete Qf.transitionend.transition);function Jm(e){if(r1[e])return r1[e];if(!Qf[e])return e;var t=Qf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in h3)return r1[e]=t[n];return e}var m3=Jm("animationend"),v3=Jm("animationiteration"),_3=Jm("animationstart"),g3=Jm("transitionend"),b3=new Map,y3=["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 Pu(e,t){b3.set(e,t),tt(t,[e])}function Fz(){for(var e=0;e<y3.length;e++){var t=y3[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Pu(n,"on"+i)}Pu(m3,"onAnimationEnd"),Pu(v3,"onAnimationIteration"),Pu(_3,"onAnimationStart"),Pu("dblclick","onDoubleClick"),Pu("focusin","onFocus"),Pu("focusout","onBlur"),Pu(g3,"onTransitionEnd")}function jz(e,t,n,i,u,d,v){var y=b3.get(t);if(y!==void 0){var C=$b,E=t;switch(t){case"keypress":if($m(i)===0)return;case"keydown":case"keyup":C=HI;break;case"focusin":E="focus",C=Xb;break;case"focusout":E="blur",C=Xb;break;case"beforeblur":case"afterblur":C=Xb;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=YC;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=EI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=WI;break;case m3:case v3:case _3:C=AI;break;case g3:C=YI;break;case"scroll":C=xI;break;case"wheel":C=GI;break;case"copy":case"cut":case"paste":C=NI;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=GC;break}var A=(d&dp)!==0;{var Z=!A&&t==="scroll",Q=Wz(n,y,i.type,A,Z);if(Q.length>0){var me=new C(y,E,null,i,u);e.push({event:me,listeners:Q})}}}}Fz(),Sz(),sz(),Pz(),QI();function Hz(e,t,n,i,u,d,v){jz(e,t,n,i,u,d);var y=(d&IM)===0;y&&(wz(e,t,n,i,u),yz(e,t,n,i,u),Bz(e,t,n,i,u),oz(e,t,n,i,u))}var Up=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],a1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Up));function S3(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,GM(i,t,void 0,e),e.currentTarget=null}function Uz(e,t,n){var i;if(n)for(var u=t.length-1;u>=0;u--){var d=t[u],v=d.instance,y=d.currentTarget,C=d.listener;if(v!==i&&e.isPropagationStopped())return;S3(e,C,y),i=v}else for(var E=0;E<t.length;E++){var A=t[E],Z=A.instance,Q=A.currentTarget,me=A.listener;if(Z!==i&&e.isPropagationStopped())return;S3(e,me,Q),i=Z}}function w3(e,t){for(var n=(t&dp)!==0,i=0;i<e.length;i++){var u=e[i],d=u.event,v=u.listeners;Uz(d,v,n)}KM()}function Vz(e,t,n,i,u){var d=Jg(n),v=[];Hz(v,e,i,n,d,t),w3(v,t)}function ga(e,t){a1.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,i=bF(t),u=$z(e,n);i.has(u)||(C3(t,e,Qg,n),i.add(u))}function n1(e,t,n){a1.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 i=0;t&&(i|=dp),C3(n,e,i,t)}var Zm="_reactListening"+Math.random().toString(36).slice(2);function Vp(e){if(!e[Zm]){e[Zm]=!0,ft.forEach(function(n){n!=="selectionchange"&&(a1.has(n)||n1(n,!1,e),n1(n,!0,e))});var t=e.nodeType===Bs?e:e.ownerDocument;t!==null&&(t[Zm]||(t[Zm]=!0,n1("selectionchange",!1,t)))}}function C3(e,t,n,i,u){var d=hI(e,t,n),v=void 0;tb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(v=!0),e=e;var y;i?v!==void 0?y=yI(e,t,d,v):y=bI(e,t,d):v!==void 0?y=SI(e,t,d,v):y=gI(e,t,d)}function x3(e,t){return e===t||e.nodeType===Ka&&e.parentNode===t}function o1(e,t,n,i,u){var d=i;if(!(t&Zw)&&!(t&Qg)){var v=u;if(i!==null){var y=i;e:for(;;){if(y===null)return;var C=y.tag;if(C===b||C===S){var E=y.stateNode.containerInfo;if(x3(E,v))break;if(C===S)for(var A=y.return;A!==null;){var Z=A.tag;if(Z===b||Z===S){var Q=A.stateNode.containerInfo;if(x3(Q,v))return}A=A.return}for(;E!==null;){var me=Pc(E);if(me===null)return;var ve=me.tag;if(ve===w||ve===k){y=d=me;continue e}E=E.parentNode}}y=y.return}}}oC(function(){return Vz(e,t,n,d)})}function Wp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wz(e,t,n,i,u,d){for(var v=t!==null?t+"Capture":null,y=i?v:t,C=[],E=e,A=null;E!==null;){var Z=E,Q=Z.stateNode,me=Z.tag;if(me===w&&Q!==null&&(A=Q,y!==null)){var ve=hp(E,y);ve!=null&&C.push(Wp(E,ve,A))}if(u)break;E=E.return}return C}function ev(e,t){for(var n=t+"Capture",i=[],u=e;u!==null;){var d=u,v=d.stateNode,y=d.tag;if(y===w&&v!==null){var C=v,E=hp(u,n);E!=null&&i.unshift(Wp(u,E,C));var A=hp(u,t);A!=null&&i.push(Wp(u,A,C))}u=u.return}return i}function Jf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function qz(e,t){for(var n=e,i=t,u=0,d=n;d;d=Jf(d))u++;for(var v=0,y=i;y;y=Jf(y))v++;for(;u-v>0;)n=Jf(n),u--;for(;v-u>0;)i=Jf(i),v--;for(var C=u;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=Jf(n),i=Jf(i)}return null}function k3(e,t,n,i,u){for(var d=t._reactName,v=[],y=n;y!==null&&y!==i;){var C=y,E=C.alternate,A=C.stateNode,Z=C.tag;if(E!==null&&E===i)break;if(Z===w&&A!==null){var Q=A;if(u){var me=hp(y,d);me!=null&&v.unshift(Wp(y,me,Q))}else if(!u){var ve=hp(y,d);ve!=null&&v.push(Wp(y,ve,Q))}}y=y.return}v.length!==0&&e.push({event:t,listeners:v})}function Yz(e,t,n,i,u){var d=i&&u?qz(i,u):null;i!==null&&k3(e,t,i,d,!1),u!==null&&n!==null&&k3(e,n,u,d,!0)}function $z(e,t){return e+"__"+(t?"capture":"bubble")}var go=!1,qp="dangerouslySetInnerHTML",tv="suppressContentEditableWarning",Iu="suppressHydrationWarning",T3="autoFocus",Oc="children",Mc="style",rv="__html",i1,av,Yp,E3,nv,R3,D3;i1={dialog:!0,webview:!0},av=function(e,t){DM(e,t),AM(e,t),PM(e,t,{registrationNameDependencies:wt,possibleRegistrationNames:vt})},R3=yt&&!document.documentMode,Yp=function(e,t,n){if(!go){var i=ov(n),u=ov(t);u!==i&&(go=!0,c("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},E3=function(e){if(!go){go=!0;var t=[];e.forEach(function(n){t.push(n)}),c("Extra attributes from the server: %s",t)}},nv=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)},D3=function(e,t){var n=e.namespaceURI===Is?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Gz=/\r\n?/g,Kz=/\u0000|\uFFFD/g;function ov(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(Gz,`
32
- `).replace(Kz,"")}function iv(e,t,n,i){var u=ov(t),d=ov(e);if(d!==u&&(i&&(go||(go=!0,c('Text content did not match. Server: "%s" Client: "%s"',d,u))),n&&W))throw new Error("Text content does not match server-rendered HTML.")}function A3(e){return e.nodeType===Bs?e:e.ownerDocument}function Xz(){}function lv(e){e.onclick=Xz}function Qz(e,t,n,i,u){for(var d in i)if(i.hasOwnProperty(d)){var v=i[d];if(d===Mc)v&&Object.freeze(v),$w(t,v);else if(d===qp){var y=v?v[rv]:void 0;y!=null&&Uw(t,y)}else if(d===Oc)if(typeof v=="string"){var C=e!=="textarea"||v!=="";C&&Dm(t,v)}else typeof v=="number"&&Dm(t,""+v);else d===tv||d===Iu||d===T3||(wt.hasOwnProperty(d)?v!=null&&(typeof v!="function"&&nv(d,v),d==="onScroll"&&ga("scroll",t)):v!=null&&I(t,d,v,u))}}function Jz(e,t,n,i){for(var u=0;u<t.length;u+=2){var d=t[u],v=t[u+1];d===Mc?$w(e,v):d===qp?Uw(e,v):d===Oc?Dm(e,v):I(e,d,v,i)}}function Zz(e,t,n,i){var u,d=A3(n),v,y=i;if(y===Is&&(y=qg(e)),y===Is){if(u=Sc(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=d.createElement("div");C.innerHTML="<script></script>";var E=C.firstChild;v=C.removeChild(E)}else if(typeof t.is=="string")v=d.createElement(e,{is:t.is});else if(v=d.createElement(e),e==="select"){var A=v;t.multiple?A.multiple=!0:t.size&&(A.size=t.size)}}else v=d.createElementNS(y,e);return y===Is&&!u&&Object.prototype.toString.call(v)==="[object HTMLUnknownElement]"&&!Lt.call(i1,e)&&(i1[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)),v}function eB(e,t){return A3(t).createTextNode(e)}function tB(e,t,n,i){var u=Sc(t,n);av(t,n);var d;switch(t){case"dialog":ga("cancel",e),ga("close",e),d=n;break;case"iframe":case"object":case"embed":ga("load",e),d=n;break;case"video":case"audio":for(var v=0;v<Up.length;v++)ga(Up[v],e);d=n;break;case"source":ga("error",e),d=n;break;case"img":case"image":case"link":ga("error",e),ga("load",e),d=n;break;case"details":ga("toggle",e),d=n;break;case"input":Ee(e,n),d=he(e,n),ga("invalid",e);break;case"option":Ea(e,n),d=n;break;case"select":zw(e,n),d=cp(e,n),ga("invalid",e);break;case"textarea":Fw(e,n),d=Vg(e,n),ga("invalid",e);break;default:d=n}switch(Xg(t,d),Qz(t,e,i,d,u),t){case"input":Du(e),bt(e,n,!1);break;case"textarea":Du(e),Hw(e);break;case"option":en(e,n);break;case"select":Q9(e,n);break;default:typeof d.onClick=="function"&&lv(e);break}}function rB(e,t,n,i,u){av(t,i);var d=null,v,y;switch(t){case"input":v=he(e,n),y=he(e,i),d=[];break;case"select":v=cp(e,n),y=cp(e,i),d=[];break;case"textarea":v=Vg(e,n),y=Vg(e,i),d=[];break;default:v=n,y=i,typeof v.onClick!="function"&&typeof y.onClick=="function"&&lv(e);break}Xg(t,y);var C,E,A=null;for(C in v)if(!(y.hasOwnProperty(C)||!v.hasOwnProperty(C)||v[C]==null))if(C===Mc){var Z=v[C];for(E in Z)Z.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else C===qp||C===Oc||C===tv||C===Iu||C===T3||(wt.hasOwnProperty(C)?d||(d=[]):(d=d||[]).push(C,null));for(C in y){var Q=y[C],me=v!=null?v[C]:void 0;if(!(!y.hasOwnProperty(C)||Q===me||Q==null&&me==null))if(C===Mc)if(Q&&Object.freeze(Q),me){for(E in me)me.hasOwnProperty(E)&&(!Q||!Q.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in Q)Q.hasOwnProperty(E)&&me[E]!==Q[E]&&(A||(A={}),A[E]=Q[E])}else A||(d||(d=[]),d.push(C,A)),A=Q;else if(C===qp){var ve=Q?Q[rv]:void 0,Ce=me?me[rv]:void 0;ve!=null&&Ce!==ve&&(d=d||[]).push(C,ve)}else C===Oc?(typeof Q=="string"||typeof Q=="number")&&(d=d||[]).push(C,""+Q):C===tv||C===Iu||(wt.hasOwnProperty(C)?(Q!=null&&(typeof Q!="function"&&nv(C,Q),C==="onScroll"&&ga("scroll",e)),!d&&me!==Q&&(d=[])):(d=d||[]).push(C,Q))}return A&&(SM(A,y[Mc]),(d=d||[]).push(Mc,A)),d}function aB(e,t,n,i,u){n==="input"&&u.type==="radio"&&u.name!=null&&Xe(e,u);var d=Sc(n,i),v=Sc(n,u);switch(Jz(e,t,d,v),n){case"input":Mt(e,u);break;case"textarea":jw(e,u);break;case"select":J9(e,u);break}}function nB(e){{var t=e.toLowerCase();return Am.hasOwnProperty(t)&&Am[t]||null}}function oB(e,t,n,i,u,d,v){var y,C;switch(y=Sc(t,n),av(t,n),t){case"dialog":ga("cancel",e),ga("close",e);break;case"iframe":case"object":case"embed":ga("load",e);break;case"video":case"audio":for(var E=0;E<Up.length;E++)ga(Up[E],e);break;case"source":ga("error",e);break;case"img":case"image":case"link":ga("error",e),ga("load",e);break;case"details":ga("toggle",e);break;case"input":Ee(e,n),ga("invalid",e);break;case"option":Ea(e,n);break;case"select":zw(e,n),ga("invalid",e);break;case"textarea":Fw(e,n),ga("invalid",e);break}Xg(t,n);{C=new Set;for(var A=e.attributes,Z=0;Z<A.length;Z++){var Q=A[Z].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:C.add(A[Z].name)}}}var me=null;for(var ve in n)if(n.hasOwnProperty(ve)){var Ce=n[ve];if(ve===Oc)typeof Ce=="string"?e.textContent!==Ce&&(n[Iu]!==!0&&iv(e.textContent,Ce,d,v),me=[Oc,Ce]):typeof Ce=="number"&&e.textContent!==""+Ce&&(n[Iu]!==!0&&iv(e.textContent,Ce,d,v),me=[Oc,""+Ce]);else if(wt.hasOwnProperty(ve))Ce!=null&&(typeof Ce!="function"&&nv(ve,Ce),ve==="onScroll"&&ga("scroll",e));else if(v&&typeof y=="boolean"){var et=void 0,Rt=y&&Pe?null:P(ve);if(n[Iu]!==!0){if(!(ve===tv||ve===Iu||ve==="value"||ve==="checked"||ve==="selected")){if(ve===qp){var St=e.innerHTML,fr=Ce?Ce[rv]:void 0;if(fr!=null){var dr=D3(e,fr);dr!==St&&Yp(ve,St,dr)}}else if(ve===Mc){if(C.delete(ve),R3){var ue=bM(Ce);et=e.getAttribute("style"),ue!==et&&Yp(ve,et,ue)}}else if(y&&!Pe)C.delete(ve.toLowerCase()),et=Qe(e,ve,Ce),Ce!==et&&Yp(ve,et,Ce);else if(!mr(ve,Rt,y)&&!$(ve,Ce,Rt,y)){var De=!1;if(Rt!==null)C.delete(Rt.attributeName),et=Ae(e,ve,Ce,Rt);else{var ce=i;if(ce===Is&&(ce=qg(t)),ce===Is)C.delete(ve.toLowerCase());else{var $e=nB(ve);$e!==null&&$e!==ve&&(De=!0,C.delete($e)),C.delete(ve)}et=Qe(e,ve,Ce)}var lt=Pe;!lt&&Ce!==et&&!De&&Yp(ve,et,Ce)}}}}}switch(v&&C.size>0&&n[Iu]!==!0&&E3(C),t){case"input":Du(e),bt(e,n,!0);break;case"textarea":Du(e),Hw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&lv(e);break}return me}function iB(e,t,n){var i=e.nodeValue!==t;return i}function l1(e,t){{if(go)return;go=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function s1(e,t){{if(go)return;go=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function u1(e,t,n){{if(go)return;go=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function c1(e,t){{if(t===""||go)return;go=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function lB(e,t,n){switch(t){case"input":Jt(e,n);return;case"textarea":eM(e,n);return;case"select":Z9(e,n);return}}var $p=function(){},Gp=function(){};{var sB=["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"],L3=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],uB=L3.concat(["button"]),cB=["dd","dt","li","option","optgroup","p","rp","rt"],N3={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Gp=function(e,t){var n=Nt({},e||N3),i={tag:t};return L3.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),uB.indexOf(t)!==-1&&(n.pTagInButtonScope=null),sB.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=i,t==="form"&&(n.formTag=i),t==="a"&&(n.aTagInScope=i),t==="button"&&(n.buttonTagInScope=i),t==="nobr"&&(n.nobrTagInScope=i),t==="p"&&(n.pTagInButtonScope=i),t==="li"&&(n.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=i),n};var fB=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 cB.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},dB=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},O3={};$p=function(e,t,n){n=n||N3;var i=n.current,u=i&&i.tag;t!=null&&(e!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=fB(e,u)?null:i,v=d?null:dB(e,n),y=d||v;if(y){var C=y.tag,E=!!d+"|"+e+"|"+C;if(!O3[E]){O3[E]=!0;var A=e,Z="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var Q="";C==="table"&&e==="tr"&&(Q+=" 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",A,C,Z,Q)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,C)}}}}var sv="suppressHydrationWarning",uv="$",cv="/$",Kp="$?",Xp="$!",pB="style",f1=null,d1=null;function hB(e){var t,n,i=e.nodeType;switch(i){case Bs:case $g:{t=i===Bs?"#document":"#fragment";var u=e.documentElement;n=u?u.namespaceURI:Yg(null,"");break}default:{var d=i===Ka?e.parentNode:e,v=d.namespaceURI||null;t=d.tagName,n=Yg(v,t);break}}{var y=t.toLowerCase(),C=Gp(null,y);return{namespace:n,ancestorInfo:C}}}function mB(e,t,n){{var i=e,u=Yg(i.namespace,t),d=Gp(i.ancestorInfo,t);return{namespace:u,ancestorInfo:d}}}function U$(e){return e}function vB(e){f1=pI(),d1=Az();var t=null;return HC(!1),t}function _B(e){Lz(d1),HC(f1),f1=null,d1=null}function gB(e,t,n,i,u){var d;{var v=i;if($p(e,null,v.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Gp(v.ancestorInfo,e);$p(null,y,C)}d=v.namespace}var E=Zz(e,t,n,d);return Zp(u,E),y1(E,t),E}function bB(e,t){e.appendChild(t)}function yB(e,t,n,i,u){switch(tB(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function SB(e,t,n,i,u,d){{var v=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,C=Gp(v.ancestorInfo,t);$p(null,y,C)}}return rB(e,t,n,i)}function p1(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 wB(e,t,n,i){{var u=n;$p(null,e,u.ancestorInfo)}var d=eB(e,t);return Zp(i,d),d}function CB(){var e=window.event;return e===void 0?qs:UC(e.type)}var h1=typeof setTimeout=="function"?setTimeout:void 0,xB=typeof clearTimeout=="function"?clearTimeout:void 0,m1=-1,M3=typeof Promise=="function"?Promise:void 0,kB=typeof queueMicrotask=="function"?queueMicrotask:typeof M3!="undefined"?function(e){return M3.resolve(null).then(e).catch(TB)}:h1;function TB(e){setTimeout(function(){throw e})}function EB(e,t,n,i){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function RB(e,t,n,i,u,d){aB(e,t,n,i,u),y1(e,u)}function P3(e){Dm(e,"")}function DB(e,t,n){e.nodeValue=n}function AB(e,t){e.appendChild(t)}function LB(e,t){var n;e.nodeType===Ka?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&lv(n)}function NB(e,t,n){e.insertBefore(t,n)}function OB(e,t,n){e.nodeType===Ka?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function MB(e,t){e.removeChild(t)}function PB(e,t){e.nodeType===Ka?e.parentNode.removeChild(t):e.removeChild(t)}function v1(e,t){var n=t,i=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===Ka){var d=u.data;if(d===cv)if(i===0){e.removeChild(u),Np(t);return}else i--;else(d===uv||d===Kp||d===Xp)&&i++}n=u}while(n);Np(t)}function IB(e,t){e.nodeType===Ka?v1(e.parentNode,t):e.nodeType===_o&&v1(e,t),Np(e)}function zB(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function BB(e){e.nodeValue=""}function FB(e,t){e=e;var n=t[pB],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Gg("display",i)}function jB(e,t){e.nodeValue=t}function HB(e){e.nodeType===_o?e.textContent="":e.nodeType===Bs&&e.documentElement&&e.removeChild(e.documentElement)}function UB(e,t,n){return e.nodeType!==_o||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function VB(e,t){return t===""||e.nodeType!==zs?null:e}function WB(e){return e.nodeType!==Ka?null:e}function I3(e){return e.data===Kp}function _1(e){return e.data===Xp}function qB(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,u;return t&&(n=t.dgst,i=t.msg,u=t.stck),{message:i,digest:n,stack:u}}function YB(e,t){e._reactRetry=t}function fv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===_o||t===zs)break;if(t===Ka){var n=e.data;if(n===uv||n===Xp||n===Kp)break;if(n===cv)return null}}return e}function Qp(e){return fv(e.nextSibling)}function $B(e){return fv(e.firstChild)}function GB(e){return fv(e.firstChild)}function KB(e){return fv(e.nextSibling)}function XB(e,t,n,i,u,d,v){Zp(d,e),y1(e,n);var y;{var C=u;y=C.namespace}var E=(d.mode&vr)!==Ot;return oB(e,t,n,y,i,E,v)}function QB(e,t,n,i){Zp(n,e);var u=(n.mode&vr)!==Ot;return iB(e,t)}function JB(e,t){Zp(t,e)}function ZB(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===cv){if(n===0)return Qp(t);n--}else(i===uv||i===Xp||i===Kp)&&n++}t=t.nextSibling}return null}function z3(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===uv||i===Xp||i===Kp){if(n===0)return t;n--}else i===cv&&n++}t=t.previousSibling}return null}function eF(e){Np(e)}function tF(e){Np(e)}function rF(e){return e!=="head"&&e!=="body"}function aF(e,t,n,i){var u=!0;iv(t.nodeValue,n,i,u)}function nF(e,t,n,i,u,d){if(t[sv]!==!0){var v=!0;iv(i.nodeValue,u,d,v)}}function oF(e,t){t.nodeType===_o?l1(e,t):t.nodeType===Ka||s1(e,t)}function iF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===_o?l1(n,t):t.nodeType===Ka||s1(n,t))}}function lF(e,t,n,i,u){(u||t[sv]!==!0)&&(i.nodeType===_o?l1(n,i):i.nodeType===Ka||s1(n,i))}function sF(e,t,n){u1(e,t)}function uF(e,t){c1(e,t)}function cF(e,t,n){{var i=e.parentNode;i!==null&&u1(i,t)}}function fF(e,t){{var n=e.parentNode;n!==null&&c1(n,t)}}function dF(e,t,n,i,u,d){(d||t[sv]!==!0)&&u1(n,i)}function pF(e,t,n,i,u){(u||t[sv]!==!0)&&c1(n,i)}function hF(e){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function mF(e){Vp(e)}var Zf=Math.random().toString(36).slice(2),ed="__reactFiber$"+Zf,g1="__reactProps$"+Zf,Jp="__reactContainer$"+Zf,b1="__reactEvents$"+Zf,vF="__reactListeners$"+Zf,_F="__reactHandles$"+Zf;function gF(e){delete e[ed],delete e[g1],delete e[b1],delete e[vF],delete e[_F]}function Zp(e,t){t[ed]=e}function dv(e,t){t[Jp]=e}function B3(e){e[Jp]=null}function eh(e){return!!e[Jp]}function Pc(e){var t=e[ed];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jp]||n[ed],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=z3(e);u!==null;){var d=u[ed];if(d)return d;u=z3(u)}return t}e=n,n=e.parentNode}return null}function zu(e){var t=e[ed]||e[Jp];return t&&(t.tag===w||t.tag===k||t.tag===J||t.tag===b)?t:null}function td(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function pv(e){return e[g1]||null}function y1(e,t){e[g1]=t}function bF(e){var t=e[b1];return t===void 0&&(t=e[b1]=new Set),t}var F3={},j3=o.ReactDebugCurrentFrame;function hv(e){if(e){var t=e._owner,n=kf(e.type,e._source,t?t.type:null);j3.setExtraStackFrame(n)}else j3.setExtraStackFrame(null)}function Il(e,t,n,i,u){{var d=Function.call.bind(Lt);for(var v in e)if(d(e,v)){var y=void 0;try{if(typeof e[v]!="function"){var C=Error((i||"React class")+": "+n+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}y=e[v](t,v,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){y=E}y&&!(y instanceof Error)&&(hv(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).",i||"React class",n,v,typeof y),hv(null)),y instanceof Error&&!(y.message in F3)&&(F3[y.message]=!0,hv(u),c("Failed %s type: %s",n,y.message),hv(null))}}}var S1=[],mv;mv=[];var Ys=-1;function Bu(e){return{current:e}}function In(e,t){if(Ys<0){c("Unexpected pop.");return}t!==mv[Ys]&&c("Unexpected Fiber popped."),e.current=S1[Ys],S1[Ys]=null,mv[Ys]=null,Ys--}function zn(e,t,n){Ys++,S1[Ys]=e.current,mv[Ys]=n,e.current=t}var w1;w1={};var Fo={};Object.freeze(Fo);var $s=Bu(Fo),fs=Bu(!1),C1=Fo;function rd(e,t,n){return n&&ds(t)?C1:$s.current}function H3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function ad(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Fo;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var d={};for(var v in i)d[v]=t[v];{var y=Zt(e)||"Unknown";Il(i,d,"context",y)}return u&&H3(e,t,d),d}}function vv(){return fs.current}function ds(e){{var t=e.childContextTypes;return t!=null}}function _v(e){In(fs,e),In($s,e)}function x1(e){In(fs,e),In($s,e)}function U3(e,t,n){{if($s.current!==Fo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");zn($s,t,e),zn(fs,n,e)}}function V3(e,t,n){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=Zt(e)||"Unknown";w1[d]||(w1[d]=!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.",d,d))}return n}var v=i.getChildContext();for(var y in v)if(!(y in u))throw new Error((Zt(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var C=Zt(e)||"Unknown";Il(u,v,"child context",C)}return Nt({},n,v)}}function gv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Fo;return C1=$s.current,zn($s,n,e),zn(fs,fs.current,e),!0}}function W3(e,t,n){{var i=e.stateNode;if(!i)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var u=V3(e,t,C1);i.__reactInternalMemoizedMergedChildContext=u,In(fs,e),In($s,e),zn($s,u,e),zn(fs,n,e)}else In(fs,e),zn(fs,n,e)}}function yF(e){{if(!rP(e)||e.tag!==m)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case b:return t.stateNode.context;case m:{var n=t.type;if(ds(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Fu=0,bv=1,Gs=null,k1=!1,T1=!1;function q3(e){Gs===null?Gs=[e]:Gs.push(e)}function SF(e){k1=!0,q3(e)}function Y3(){k1&&ju()}function ju(){if(!T1&&Gs!==null){T1=!0;var e=0,t=Pl();try{var n=!0,i=Gs;for(gn(Io);e<i.length;e++){var u=i[e];do u=u(n);while(u!==null)}Gs=null,k1=!1}catch(d){throw Gs!==null&&(Gs=Gs.slice(e+1)),vC(Pm,ju),d}finally{gn(t),T1=!1}}return null}var nd=[],od=0,yv=null,Sv=0,vl=[],_l=0,Ic=null,Ks=1,Xs="";function wF(e){return Bc(),(e.flags&sC)!==zt}function CF(e){return Bc(),Sv}function xF(){var e=Xs,t=Ks,n=t&~kF(t);return n.toString(32)+e}function zc(e,t){Bc(),nd[od++]=Sv,nd[od++]=yv,yv=e,Sv=t}function $3(e,t,n){Bc(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=Ic,Ic=e;var i=Ks,u=Xs,d=wv(i)-1,v=i&~(1<<d),y=n+1,C=wv(t)+d;if(C>30){var E=d-d%5,A=(1<<E)-1,Z=(v&A).toString(32),Q=v>>E,me=d-E,ve=wv(t)+me,Ce=y<<me,et=Ce|Q,Rt=Z+u;Ks=1<<ve|et,Xs=Rt}else{var St=y<<d,fr=St|v,dr=u;Ks=1<<C|fr,Xs=dr}}function E1(e){Bc();var t=e.return;if(t!==null){var n=1,i=0;zc(e,n),$3(e,n,i)}}function wv(e){return 32-wC(e)}function kF(e){return 1<<wv(e)-1}function R1(e){for(;e===yv;)yv=nd[--od],nd[od]=null,Sv=nd[--od],nd[od]=null;for(;e===Ic;)Ic=vl[--_l],vl[_l]=null,Xs=vl[--_l],vl[_l]=null,Ks=vl[--_l],vl[_l]=null}function TF(){return Bc(),Ic!==null?{id:Ks,overflow:Xs}:null}function EF(e,t){Bc(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=Ic,Ks=t.id,Xs=t.overflow,Ic=e}function Bc(){kn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var xn=null,gl=null,zl=!1,Fc=!1,Hu=null;function RF(){zl&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function G3(){Fc=!0}function DF(){return Fc}function AF(e){var t=e.stateNode.containerInfo;return gl=GB(t),xn=e,zl=!0,Hu=null,Fc=!1,!0}function LF(e,t,n){return gl=KB(t),xn=e,zl=!0,Hu=null,Fc=!1,n!==null&&EF(e,n),!0}function K3(e,t){switch(e.tag){case b:{oF(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&vr)!==Ot;lF(e.type,e.memoizedProps,e.stateNode,t,n);break}case J:{var i=e.memoizedState;i.dehydrated!==null&&iF(i.dehydrated,t);break}}}function X3(e,t){K3(e,t);var n=jU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=wc):i.push(n)}function D1(e,t){{if(Fc)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,u=t.pendingProps;sF(n,i);break;case k:var d=t.pendingProps;uF(n,d);break}break}case w:{var v=e.type,y=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var E=t.type,A=t.pendingProps,Z=(e.mode&vr)!==Ot;dF(v,y,C,E,A,Z);break}case k:{var Q=t.pendingProps,me=(e.mode&vr)!==Ot;pF(v,y,C,Q,me);break}}break}case J:{var ve=e.memoizedState,Ce=ve.dehydrated;if(Ce!==null)switch(t.tag){case w:var et=t.type,Rt=t.pendingProps;cF(Ce,et);break;case k:var St=t.pendingProps;fF(Ce,St);break}break}default:return}}}function Q3(e,t){t.flags=t.flags&~js|Xa,D1(e,t)}function J3(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,u=UB(t,n);return u!==null?(e.stateNode=u,xn=e,gl=$B(u),!0):!1}case k:{var d=e.pendingProps,v=VB(t,d);return v!==null?(e.stateNode=v,xn=e,gl=null,!0):!1}case J:{var y=WB(t);if(y!==null){var C={dehydrated:y,treeContext:TF(),retryLane:Mo};e.memoizedState=C;var E=HU(y);return E.return=e,e.child=E,xn=e,gl=null,!0}return!1}default:return!1}}function A1(e){return(e.mode&vr)!==Ot&&(e.flags&Pr)===zt}function L1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function N1(e){if(zl){var t=gl;if(!t){A1(e)&&(D1(xn,e),L1()),Q3(xn,e),zl=!1,xn=e;return}var n=t;if(!J3(e,t)){A1(e)&&(D1(xn,e),L1()),t=Qp(n);var i=xn;if(!t||!J3(e,t)){Q3(xn,e),zl=!1,xn=e;return}X3(i,n)}}}function NF(e,t,n){var i=e.stateNode,u=!Fc,d=XB(i,e.type,e.memoizedProps,t,n,e,u);return e.updateQueue=d,d!==null}function OF(e){var t=e.stateNode,n=e.memoizedProps,i=QB(t,n,e);if(i){var u=xn;if(u!==null)switch(u.tag){case b:{var d=u.stateNode.containerInfo,v=(u.mode&vr)!==Ot;aF(d,t,n,v);break}case w:{var y=u.type,C=u.memoizedProps,E=u.stateNode,A=(u.mode&vr)!==Ot;nF(y,C,E,t,n,A);break}}}return i}function MF(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.");JB(n,e)}function PF(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 ZB(n)}function Z3(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==b&&t.tag!==J;)t=t.return;xn=t}function Cv(e){if(e!==xn)return!1;if(!zl)return Z3(e),zl=!0,!1;if(e.tag!==b&&(e.tag!==w||rF(e.type)&&!p1(e.type,e.memoizedProps))){var t=gl;if(t)if(A1(e))ex(e),L1();else for(;t;)X3(e,t),t=Qp(t)}return Z3(e),e.tag===J?gl=PF(e):gl=xn?Qp(e.stateNode):null,!0}function IF(){return zl&&gl!==null}function ex(e){for(var t=gl;t;)K3(e,t),t=Qp(t)}function id(){xn=null,gl=null,zl=!1,Fc=!1}function tx(){Hu!==null&&(K4(Hu),Hu=null)}function kn(){return zl}function O1(e){Hu===null?Hu=[e]:Hu.push(e)}var zF=o.ReactCurrentBatchConfig,BF=null;function FF(){return zF.transition}var Bl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var jF=function(e){for(var t=null,n=e;n!==null;)n.mode&Ma&&(t=n),n=n.return;return t},jc=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},th=[],rh=[],ah=[],nh=[],oh=[],ih=[],Hc=new Set;Bl.recordUnsafeLifecycleWarnings=function(e,t){Hc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&th.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&rh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ah.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&nh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&oh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&ih.push(e))},Bl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;th.length>0&&(th.forEach(function(Q){e.add(Zt(Q)||"Component"),Hc.add(Q.type)}),th=[]);var t=new Set;rh.length>0&&(rh.forEach(function(Q){t.add(Zt(Q)||"Component"),Hc.add(Q.type)}),rh=[]);var n=new Set;ah.length>0&&(ah.forEach(function(Q){n.add(Zt(Q)||"Component"),Hc.add(Q.type)}),ah=[]);var i=new Set;nh.length>0&&(nh.forEach(function(Q){i.add(Zt(Q)||"Component"),Hc.add(Q.type)}),nh=[]);var u=new Set;oh.length>0&&(oh.forEach(function(Q){u.add(Zt(Q)||"Component"),Hc.add(Q.type)}),oh=[]);var d=new Set;if(ih.length>0&&(ih.forEach(function(Q){d.add(Zt(Q)||"Component"),Hc.add(Q.type)}),ih=[]),t.size>0){var v=jc(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 up=["value","defaultValue"];function Ug(e){{ip("select",e);for(var t=0;t<up.length;t++){var n=up[t];if(e[n]!=null){var i=tn(e[n]);e.multiple&&!i?c("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Em()):!e.multiple&&i&&c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Em())}}}}function Ps(e,t,n,i){var u=e.options;if(t){for(var d=n,v={},y=0;y<d.length;y++)v["$"+d[y]]=!0;for(var C=0;C<u.length;C++){var E=v.hasOwnProperty("$"+u[C].value);u[C].selected!==E&&(u[C].selected=E),E&&i&&(u[C].defaultSelected=!0)}}else{for(var A=mo(Ol(n)),Z=null,J=0;J<u.length;J++){if(u[J].value===A){u[J].selected=!0,i&&(u[J].defaultSelected=!0);return}Z===null&&!u[J].disabled&&(Z=u[J])}Z!==null&&(Z.selected=!0)}}function cp(e,t){return Nt({},t,{value:void 0})}function zw(e,t){var n=e;Ug(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Mf&&(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"),Mf=!0)}function Q9(e,t){var n=e;n.multiple=!!t.multiple;var i=t.value;i!=null?Ps(n,!!t.multiple,i,!1):t.defaultValue!=null&&Ps(n,!!t.multiple,t.defaultValue,!0)}function J9(e,t){var n=e,i=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?Ps(n,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?Ps(n,!!t.multiple,t.defaultValue,!0):Ps(n,!!t.multiple,t.multiple?[]:"",!1))}function Z9(e,t){var n=e,i=t.value;i!=null&&Ps(n,!!t.multiple,i,!1)}var Bw=!1;function Vg(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=Nt({},t,{value:void 0,defaultValue:void 0,children:mo(n._wrapperState.initialValue)});return i}function Fw(e,t){var n=e;ip("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Bw&&(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",Ru()||"A component"),Bw=!0);var i=t.value;if(i==null){var u=t.children,d=t.defaultValue;if(u!=null){c("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(d!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(tn(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}d=u}}d==null&&(d=""),i=d}n._wrapperState={initialValue:Ol(i)}}function jw(e,t){var n=e,i=Ol(t.value),u=Ol(t.defaultValue);if(i!=null){var d=mo(i);d!==n.value&&(n.value=d),t.defaultValue==null&&n.defaultValue!==d&&(n.defaultValue=d)}u!=null&&(n.defaultValue=mo(u))}function Hw(e,t){var n=e,i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function eM(e,t){jw(e,t)}var Is="http://www.w3.org/1999/xhtml",tM="http://www.w3.org/1998/Math/MathML",Wg="http://www.w3.org/2000/svg";function qg(e){switch(e){case"svg":return Wg;case"math":return tM;default:return Is}}function Yg(e,t){return e==null||e===Is?qg(t):e===Wg&&t==="foreignObject"?Is:e}var rM=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,u)})}:e},Rm,Uw=rM(function(e,t){if(e.namespaceURI===Wg&&!("innerHTML"in e)){Rm=Rm||document.createElement("div"),Rm.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Rm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),vo=1,zs=3,Ka=8,Bs=9,$g=11,Dm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===zs){n.nodeValue=t;return}}e.textContent=t},aM={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"]},fp={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 nM(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var oM=["Webkit","ms","Moz","O"];Object.keys(fp).forEach(function(e){oM.forEach(function(t){fp[nM(t,e)]=fp[e]})});function Gg(e,t,n){var i=t==null||typeof t=="boolean"||t==="";return i?"":!n&&typeof t=="number"&&t!==0&&!(fp.hasOwnProperty(e)&&fp[e])?t+"px":(jr(t,e),(""+t).trim())}var iM=/([A-Z])/g,lM=/^ms-/;function sM(e){return e.replace(iM,"-$1").toLowerCase().replace(lM,"-ms-")}var Vw=function(){};{var uM=/^(?:webkit|moz|o)[A-Z]/,cM=/^-ms-/,fM=/-(.)/g,Ww=/;\s*$/,Pf={},Kg={},qw=!1,Yw=!1,dM=function(e){return e.replace(fM,function(t,n){return n.toUpperCase()})},pM=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,c("Unsupported style property %s. Did you mean %s?",e,dM(e.replace(cM,"ms-"))))},hM=function(e){Pf.hasOwnProperty(e)&&Pf[e]||(Pf[e]=!0,c("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},mM=function(e,t){Kg.hasOwnProperty(t)&&Kg[t]||(Kg[t]=!0,c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Ww,"")))},vM=function(e,t){qw||(qw=!0,c("`NaN` is an invalid value for the `%s` css style property.",e))},_M=function(e,t){Yw||(Yw=!0,c("`Infinity` is an invalid value for the `%s` css style property.",e))};Vw=function(e,t){e.indexOf("-")>-1?pM(e):uM.test(e)?hM(e):Ww.test(t)&&mM(e,t),typeof t=="number"&&(isNaN(t)?vM(e,t):isFinite(t)||_M(e,t))}}var gM=Vw;function bM(e){{var t="",n="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var d=i.indexOf("--")===0;t+=n+(d?i:sM(i))+":",t+=Gg(i,u,d),n=";"}}return t||null}}function $w(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||gM(i,t[i]);var d=Gg(i,t[i],u);i==="float"&&(i="cssFloat"),u?n.setProperty(i,d):n[i]=d}}function yM(e){return e==null||typeof e=="boolean"||e===""}function Gw(e){var t={};for(var n in e)for(var i=aM[n]||[n],u=0;u<i.length;u++)t[i[u]]=n;return t}function SM(e,t){{if(!t)return;var n=Gw(e),i=Gw(t),u={};for(var d in n){var v=n[d],y=i[d];if(y&&v!==y){var C=v+","+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.",yM(e[v])?"Removing":"Updating",v,y)}}}}var wM={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},CM=Nt({menuitem:!0},wM),xM="__html";function Xg(e,t){if(t){if(CM[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"||!(xM 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 wc(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 Am={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"},Kw={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},If={},kM=new RegExp("^(aria)-["+st+"]*$"),TM=new RegExp("^(aria)[A-Z]["+st+"]*$");function EM(e,t){{if(Lt.call(If,t)&&If[t])return!0;if(TM.test(t)){var n="aria-"+t.slice(4).toLowerCase(),i=Kw.hasOwnProperty(n)?n:null;if(i==null)return c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),If[t]=!0,!0;if(t!==i)return c("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),If[t]=!0,!0}if(kM.test(t)){var u=t.toLowerCase(),d=Kw.hasOwnProperty(u)?u:null;if(d==null)return If[t]=!0,!1;if(t!==d)return c("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,d),If[t]=!0,!0}}return!0}function RM(e,t){{var n=[];for(var i in t){var u=EM(e,i);u||n.push(i)}var d=n.map(function(v){return"`"+v+"`"}).join(", ");n.length===1?c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e):n.length>1&&c("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",d,e)}}function DM(e,t){wc(e,t)||RM(e,t)}var Xw=!1;function AM(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Xw&&(Xw=!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 Qw=function(){};{var Yn={},Jw=/^on./,LM=/^on[^A-Z]/,NM=new RegExp("^(aria)-["+st+"]*$"),OM=new RegExp("^(aria)[A-Z]["+st+"]*$");Qw=function(e,t,n,i){if(Lt.call(Yn,t)&&Yn[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."),Yn[t]=!0,!0;if(i!=null){var d=i.registrationNameDependencies,v=i.possibleRegistrationNames;if(d.hasOwnProperty(t))return!0;var y=v.hasOwnProperty(u)?v[u]:null;if(y!=null)return c("Invalid event handler property `%s`. Did you mean `%s`?",t,y),Yn[t]=!0,!0;if(Jw.test(t))return c("Unknown event handler property `%s`. It will be ignored.",t),Yn[t]=!0,!0}else if(Jw.test(t))return LM.test(t)&&c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Yn[t]=!0,!0;if(NM.test(t)||OM.test(t))return!0;if(u==="innerhtml")return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Yn[t]=!0,!0;if(u==="aria")return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Yn[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),Yn[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),Yn[t]=!0,!0;var C=P(t),E=C!==null&&C.type===fr;if(Am.hasOwnProperty(u)){var A=Am[u];if(A!==t)return c("Invalid DOM property `%s`. Did you mean `%s`?",t,A),Yn[t]=!0,!0}else if(!E&&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),Yn[t]=!0,!0;return typeof n=="boolean"&&Yr(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),Yn[t]=!0,!0):E?!0:Yr(t,n,C,!1)?(Yn[t]=!0,!1):((n==="false"||n==="true")&&C!==null&&C.type===Cr&&(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),Yn[t]=!0),!0)}}var MM=function(e,t,n){{var i=[];for(var u in t){var d=Qw(e,u,t[u],n);d||i.push(u)}var v=i.map(function(y){return"`"+y+"`"}).join(", ");i.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 ",v,e):i.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 ",v,e)}};function PM(e,t,n){wc(e,t)||MM(e,t,n)}var Zw=1,Qg=2,dp=4,IM=Zw|Qg|dp,pp=null;function zM(e){pp!==null&&c("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),pp=e}function BM(){pp===null&&c("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),pp=null}function FM(e){return e===pp}function Jg(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===zs?t.parentNode:t}var Zg=null,zf=null,Bf=null;function eC(e){var t=zu(e);if(t){if(typeof Zg!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var i=pv(n);Zg(t.stateNode,t.type,i)}}}function jM(e){Zg=e}function tC(e){zf?Bf?Bf.push(e):Bf=[e]:zf=e}function HM(){return zf!==null||Bf!==null}function rC(){if(zf){var e=zf,t=Bf;if(zf=null,Bf=null,eC(e),t)for(var n=0;n<t.length;n++)eC(t[n])}}var aC=function(e,t){return e(t)},nC=function(){},eb=!1;function UM(){var e=HM();e&&(nC(),rC())}function oC(e,t,n){if(eb)return e(t,n);eb=!0;try{return aC(e,t,n)}finally{eb=!1,UM()}}function VM(e,t,n){aC=e,nC=n}function WM(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function qM(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&&WM(t));default:return!1}}function hp(e,t){var n=e.stateNode;if(n===null)return null;var i=pv(n);if(i===null)return null;var u=i[t];if(qM(t,e.type,i))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 tb=!1;if(pt)try{var mp={};Object.defineProperty(mp,"passive",{get:function(){tb=!0}}),window.addEventListener("test",mp,mp),window.removeEventListener("test",mp,mp)}catch(e){tb=!1}function iC(e,t,n,i,u,d,v,y,C){var E=Array.prototype.slice.call(arguments,3);try{t.apply(n,E)}catch(A){this.onError(A)}}var lC=iC;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var rb=document.createElement("react");lC=function(t,n,i,u,d,v,y,C,E){if(typeof document=="undefined"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var A=document.createEvent("Event"),Z=!1,J=!0,me=window.event,ve=Object.getOwnPropertyDescriptor(window,"event");function we(){rb.removeEventListener(De,Rt,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=me)}var rt=Array.prototype.slice.call(arguments,3);function Rt(){Z=!0,we(),n.apply(i,rt),J=!1}var St,dr=!1,pr=!1;function ue(ce){if(St=ce.error,dr=!0,St===null&&ce.colno===0&&ce.lineno===0&&(pr=!0),ce.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch(qe){}}var De="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ue),rb.addEventListener(De,Rt,!1),A.initEvent(De,!1,!1),rb.dispatchEvent(A),ve&&Object.defineProperty(window,"event",ve),Z&&J&&(dr?pr&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",ue),!Z)return we(),iC.apply(this,arguments)}}var YM=lC,Ff=!1,Lm=null,Nm=!1,ab=null,$M={onError:function(e){Ff=!0,Lm=e}};function nb(e,t,n,i,u,d,v,y,C){Ff=!1,Lm=null,YM.apply($M,arguments)}function GM(e,t,n,i,u,d,v,y,C){if(nb.apply(this,arguments),Ff){var E=ob();Nm||(Nm=!0,ab=E)}}function KM(){if(Nm){var e=ab;throw Nm=!1,ab=null,e}}function XM(){return Ff}function ob(){if(Ff){var e=Lm;return Ff=!1,Lm=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function jf(e){return e._reactInternals}function QM(e){return e._reactInternals!==void 0}function JM(e,t){e._reactInternals=t}var zt=0,Hf=1,Xa=2,kr=4,Cc=16,vp=32,ib=64,Pr=128,Fs=256,Au=512,xc=1024,Ml=2048,js=4096,kc=8192,Om=16384,ZM=Ml|kr|ib|Au|xc|Om,eP=32767,_p=32768,$n=65536,lb=131072,sC=1048576,sb=2097152,Tc=4194304,ub=8388608,Hs=16777216,Mm=33554432,cb=kr|xc|0,fb=Xa|kr|Cc|vp|Au|js|kc,gp=kr|ib|Au|kc,Uf=Ml|Cc,Us=Tc|ub|sb,tP=o.ReactCurrentOwner;function Ec(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Xa|js))!==zt&&(n=t.return),i=t.return;while(i)}return t.tag===b?n:null}function uC(e){if(e.tag===Q){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function cC(e){return e.tag===b?e.stateNode.containerInfo:null}function rP(e){return Ec(e)===e}function aP(e){{var t=tP.current;if(t!==null&&t.tag===m){var n=t,i=n.stateNode;i._warnedAboutRefsInRender||c("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Zt(n)||"A component"),i._warnedAboutRefsInRender=!0}}var u=jf(e);return u?Ec(u)===u:!1}function fC(e){if(Ec(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function dC(e){var t=e.alternate;if(!t){var n=Ec(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var i=e,u=t;;){var d=i.return;if(d===null)break;var v=d.alternate;if(v===null){var y=d.return;if(y!==null){i=u=y;continue}break}if(d.child===v.child){for(var C=d.child;C;){if(C===i)return fC(d),e;if(C===u)return fC(d),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=d,u=v;else{for(var E=!1,A=d.child;A;){if(A===i){E=!0,i=d,u=v;break}if(A===u){E=!0,u=d,i=v;break}A=A.sibling}if(!E){for(A=v.child;A;){if(A===i){E=!0,i=v,u=d;break}if(A===u){E=!0,u=v,i=d;break}A=A.sibling}if(!E)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==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(i.tag!==b)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function pC(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;){var n=hC(t);if(n!==null)return n;t=t.sibling}return null}function nP(e){var t=dC(e);return t!==null?mC(t):null}function mC(e){if(e.tag===w||e.tag===k)return e;for(var t=e.child;t!==null;){if(t.tag!==S){var n=mC(t);if(n!==null)return n}t=t.sibling}return null}var vC=a.unstable_scheduleCallback,oP=a.unstable_cancelCallback,iP=a.unstable_shouldYield,lP=a.unstable_requestPaint,vn=a.unstable_now,sP=a.unstable_getCurrentPriorityLevel,Pm=a.unstable_ImmediatePriority,db=a.unstable_UserBlockingPriority,Rc=a.unstable_NormalPriority,uP=a.unstable_LowPriority,pb=a.unstable_IdlePriority,cP=a.unstable_yieldValue,fP=a.unstable_setDisableYieldValue,Dc=null,Cn=null,nt=null,ss=!1,Pl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function dP(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{Pe&&(e=Nt({},e,{getLaneLabelMap:gP,injectProfilingHooks:_P})),Dc=t.inject(e),Cn=t}catch(n){c("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function pP(e,t){if(Cn&&typeof Cn.onScheduleFiberRoot=="function")try{Cn.onScheduleFiberRoot(Dc,e,t)}catch(n){ss||(ss=!0,c("React instrumentation encountered an error: %s",n))}}function hP(e,t){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Pr)===Pr;if(et){var i;switch(t){case Io:i=Pm;break;case Ws:i=db;break;case qs:i=Rc;break;case Um:i=pb;break;default:i=Rc;break}Cn.onCommitFiberRoot(Dc,e,i,n)}else Cn.onCommitFiberRoot(Dc,e,void 0,n)}catch(u){ss||(ss=!0,c("React instrumentation encountered an error: %s",u))}}function mP(e){if(Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(Dc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function vP(e){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Dc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function _n(e){if(typeof cP=="function"&&(fP(e),s(e)),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(Dc,e)}catch(t){ss||(ss=!0,c("React instrumentation encountered an error: %s",t))}}function _P(e){nt=e}function gP(){{for(var e=new Map,t=1,n=0;n<mb;n++){var i=BP(t);e.set(t,i),t*=2}return e}}function bP(e){nt!==null&&typeof nt.markCommitStarted=="function"&&nt.markCommitStarted(e)}function _C(){nt!==null&&typeof nt.markCommitStopped=="function"&&nt.markCommitStopped()}function bp(e){nt!==null&&typeof nt.markComponentRenderStarted=="function"&&nt.markComponentRenderStarted(e)}function Vf(){nt!==null&&typeof nt.markComponentRenderStopped=="function"&&nt.markComponentRenderStopped()}function yP(e){nt!==null&&typeof nt.markComponentPassiveEffectMountStarted=="function"&&nt.markComponentPassiveEffectMountStarted(e)}function SP(){nt!==null&&typeof nt.markComponentPassiveEffectMountStopped=="function"&&nt.markComponentPassiveEffectMountStopped()}function wP(e){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStarted=="function"&&nt.markComponentPassiveEffectUnmountStarted(e)}function CP(){nt!==null&&typeof nt.markComponentPassiveEffectUnmountStopped=="function"&&nt.markComponentPassiveEffectUnmountStopped()}function xP(e){nt!==null&&typeof nt.markComponentLayoutEffectMountStarted=="function"&&nt.markComponentLayoutEffectMountStarted(e)}function kP(){nt!==null&&typeof nt.markComponentLayoutEffectMountStopped=="function"&&nt.markComponentLayoutEffectMountStopped()}function gC(e){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStarted=="function"&&nt.markComponentLayoutEffectUnmountStarted(e)}function bC(){nt!==null&&typeof nt.markComponentLayoutEffectUnmountStopped=="function"&&nt.markComponentLayoutEffectUnmountStopped()}function TP(e,t,n){nt!==null&&typeof nt.markComponentErrored=="function"&&nt.markComponentErrored(e,t,n)}function EP(e,t,n){nt!==null&&typeof nt.markComponentSuspended=="function"&&nt.markComponentSuspended(e,t,n)}function RP(e){nt!==null&&typeof nt.markLayoutEffectsStarted=="function"&&nt.markLayoutEffectsStarted(e)}function DP(){nt!==null&&typeof nt.markLayoutEffectsStopped=="function"&&nt.markLayoutEffectsStopped()}function AP(e){nt!==null&&typeof nt.markPassiveEffectsStarted=="function"&&nt.markPassiveEffectsStarted(e)}function LP(){nt!==null&&typeof nt.markPassiveEffectsStopped=="function"&&nt.markPassiveEffectsStopped()}function yC(e){nt!==null&&typeof nt.markRenderStarted=="function"&&nt.markRenderStarted(e)}function NP(){nt!==null&&typeof nt.markRenderYielded=="function"&&nt.markRenderYielded()}function SC(){nt!==null&&typeof nt.markRenderStopped=="function"&&nt.markRenderStopped()}function OP(e){nt!==null&&typeof nt.markRenderScheduled=="function"&&nt.markRenderScheduled(e)}function MP(e,t){nt!==null&&typeof nt.markForceUpdateScheduled=="function"&&nt.markForceUpdateScheduled(e,t)}function hb(e,t){nt!==null&&typeof nt.markStateUpdateScheduled=="function"&&nt.markStateUpdateScheduled(e,t)}var Ot=0,gr=1,Kr=2,Ma=8,us=16,wC=Math.clz32?Math.clz32:zP,PP=Math.log,IP=Math.LN2;function zP(e){var t=e>>>0;return t===0?32:31-(PP(t)/IP|0)|0}var mb=31,ze=0,gn=0,qt=1,Wf=2,Vs=4,Ac=8,cs=16,yp=32,qf=4194240,Sp=64,vb=128,_b=256,gb=512,bb=1024,yb=2048,Sb=4096,wb=8192,Cb=16384,xb=32768,kb=65536,Tb=131072,Eb=262144,Rb=524288,Db=1048576,Ab=2097152,Im=130023424,Yf=4194304,Lb=8388608,Nb=16777216,Ob=33554432,Mb=67108864,CC=Yf,wp=134217728,xC=268435455,Cp=268435456,Lc=536870912,Mo=1073741824;function BP(e){{if(e&qt)return"Sync";if(e&Wf)return"InputContinuousHydration";if(e&Vs)return"InputContinuous";if(e&Ac)return"DefaultHydration";if(e&cs)return"Default";if(e&yp)return"TransitionHydration";if(e&qf)return"Transition";if(e&Im)return"Retry";if(e&wp)return"SelectiveHydration";if(e&Cp)return"IdleHydration";if(e&Lc)return"Idle";if(e&Mo)return"Offscreen"}}var va=-1,zm=Sp,Bm=Yf;function xp(e){switch(Nc(e)){case qt:return qt;case Wf:return Wf;case Vs:return Vs;case Ac:return Ac;case cs:return cs;case yp:return yp;case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:return e&qf;case Yf:case Lb:case Nb:case Ob:case Mb:return e&Im;case wp:return wp;case Cp:return Cp;case Lc:return Lc;case Mo:return Mo;default:return c("Should have found matching lanes. This is a bug in React."),e}}function Fm(e,t){var n=e.pendingLanes;if(n===ze)return ze;var i=ze,u=e.suspendedLanes,d=e.pingedLanes,v=n&xC;if(v!==ze){var y=v&~u;if(y!==ze)i=xp(y);else{var C=v&d;C!==ze&&(i=xp(C))}}else{var E=n&~u;E!==ze?i=xp(E):d!==ze&&(i=xp(d))}if(i===ze)return ze;if(t!==ze&&t!==i&&(t&u)===ze){var A=Nc(i),Z=Nc(t);if(A>=Z||A===cs&&(Z&qf)!==ze)return t}(i&Vs)!==ze&&(i|=n&cs);var J=e.entangledLanes;if(J!==ze)for(var me=e.entanglements,ve=i&J;ve>0;){var we=Oc(ve),rt=1<<we;i|=me[we],ve&=~rt}return i}function FP(e,t){for(var n=e.eventTimes,i=va;t>0;){var u=Oc(t),d=1<<u,v=n[u];v>i&&(i=v),t&=~d}return i}function jP(e,t){switch(e){case qt:case Wf:case Vs:return t+250;case Ac:case cs:case yp:case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:return t+5e3;case Yf:case Lb:case Nb:case Ob:case Mb:return va;case wp:case Cp:case Lc:case Mo:return va;default:return c("Should have found matching lanes. This is a bug in React."),va}}function HP(e,t){for(var n=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,d=e.expirationTimes,v=n;v>0;){var y=Oc(v),C=1<<y,E=d[y];E===va?((C&i)===ze||(C&u)!==ze)&&(d[y]=jP(C,t)):E<=t&&(e.expiredLanes|=C),v&=~C}}function UP(e){return xp(e.pendingLanes)}function Pb(e){var t=e.pendingLanes&~Mo;return t!==ze?t:t&Mo?Mo:ze}function VP(e){return(e&qt)!==ze}function Ib(e){return(e&xC)!==ze}function kC(e){return(e&Im)===e}function WP(e){var t=qt|Vs|cs;return(e&t)===ze}function qP(e){return(e&qf)===e}function jm(e,t){var n=Wf|Vs|Ac|cs;return(t&n)!==ze}function YP(e,t){return(t&e.expiredLanes)!==ze}function TC(e){return(e&qf)!==ze}function EC(){var e=zm;return zm<<=1,(zm&qf)===ze&&(zm=Sp),e}function $P(){var e=Bm;return Bm<<=1,(Bm&Im)===ze&&(Bm=Yf),e}function Nc(e){return e&-e}function kp(e){return Nc(e)}function Oc(e){return 31-wC(e)}function zb(e){return Oc(e)}function Po(e,t){return(e&t)!==ze}function $f(e,t){return(e&t)===t}function or(e,t){return e|t}function Hm(e,t){return e&~t}function RC(e,t){return e&t}function H$(e){return e}function GP(e,t){return e!==gn&&e<t?e:t}function Bb(e){for(var t=[],n=0;n<mb;n++)t.push(e);return t}function Tp(e,t,n){e.pendingLanes|=t,t!==Lc&&(e.suspendedLanes=ze,e.pingedLanes=ze);var i=e.eventTimes,u=zb(t);i[u]=n}function KP(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,i=t;i>0;){var u=Oc(i),d=1<<u;n[u]=va,i&=~d}}function DC(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function XP(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ze,e.pingedLanes=ze,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,d=e.expirationTimes,v=n;v>0;){var y=Oc(v),C=1<<y;i[y]=ze,u[y]=va,d[y]=va,v&=~C}}function Fb(e,t){for(var n=e.entangledLanes|=t,i=e.entanglements,u=n;u;){var d=Oc(u),v=1<<d;v&t|i[d]&t&&(i[d]|=t),u&=~v}}function QP(e,t){var n=Nc(t),i;switch(n){case Vs:i=Wf;break;case cs:i=Ac;break;case Sp:case vb:case _b:case gb:case bb:case yb:case Sb:case wb:case Cb:case xb:case kb:case Tb:case Eb:case Rb:case Db:case Ab:case Yf:case Lb:case Nb:case Ob:case Mb:i=yp;break;case Lc:i=Cp;break;default:i=gn;break}return(i&(e.suspendedLanes|t))!==gn?gn:i}function AC(e,t,n){if(Pl)for(var i=e.pendingUpdatersLaneMap;n>0;){var u=zb(n),d=1<<u,v=i[u];v.add(t),n&=~d}}function LC(e,t){if(Pl)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=zb(t),d=1<<u,v=n[u];v.size>0&&(v.forEach(function(y){var C=y.alternate;(C===null||!i.has(C))&&i.add(y)}),v.clear()),t&=~d}}function NC(e,t){return null}var Io=qt,Ws=Vs,qs=cs,Um=Lc,Ep=gn;function Il(){return Ep}function bn(e){Ep=e}function JP(e,t){var n=Ep;try{return Ep=e,t()}finally{Ep=n}}function ZP(e,t){return e!==0&&e<t?e:t}function eI(e,t){return e===0||e>t?e:t}function jb(e,t){return e!==0&&e<t}function OC(e){var t=Nc(e);return jb(Io,t)?jb(Ws,t)?Ib(t)?qs:Um:Ws:Io}function Vm(e){var t=e.current.memoizedState;return t.isDehydrated}var MC;function tI(e){MC=e}function rI(e){MC(e)}var Hb;function aI(e){Hb=e}var PC;function nI(e){PC=e}var IC;function oI(e){IC=e}var zC;function iI(e){zC=e}var Ub=!1,Wm=[],Lu=null,Nu=null,Ou=null,Rp=new Map,Dp=new Map,Mu=[],lI=["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 sI(e){return lI.indexOf(e)>-1}function uI(e,t,n,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:u,targetContainers:[i]}}function BC(e,t){switch(e){case"focusin":case"focusout":Lu=null;break;case"dragenter":case"dragleave":Nu=null;break;case"mouseover":case"mouseout":Ou=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Rp.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Dp.delete(i);break}}}function Ap(e,t,n,i,u,d){if(e===null||e.nativeEvent!==d){var v=uI(t,n,i,u,d);if(t!==null){var y=zu(t);y!==null&&Hb(y)}return v}e.eventSystemFlags|=i;var C=e.targetContainers;return u!==null&&C.indexOf(u)===-1&&C.push(u),e}function cI(e,t,n,i,u){switch(t){case"focusin":{var d=u;return Lu=Ap(Lu,e,t,n,i,d),!0}case"dragenter":{var v=u;return Nu=Ap(Nu,e,t,n,i,v),!0}case"mouseover":{var y=u;return Ou=Ap(Ou,e,t,n,i,y),!0}case"pointerover":{var C=u,E=C.pointerId;return Rp.set(E,Ap(Rp.get(E)||null,e,t,n,i,C)),!0}case"gotpointercapture":{var A=u,Z=A.pointerId;return Dp.set(Z,Ap(Dp.get(Z)||null,e,t,n,i,A)),!0}}return!1}function FC(e){var t=Ic(e.target);if(t!==null){var n=Ec(t);if(n!==null){var i=n.tag;if(i===Q){var u=uC(n);if(u!==null){e.blockedOn=u,zC(e.priority,function(){PC(n)});return}}else if(i===b){var d=n.stateNode;if(Vm(d)){e.blockedOn=cC(n);return}}}}e.blockedOn=null}function fI(e){for(var t=IC(),n={blockedOn:null,target:e,priority:t},i=0;i<Mu.length&&jb(t,Mu[i].priority);i++);Mu.splice(i,0,n),i===0&&FC(n)}function qm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],i=qb(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(i===null){var u=e.nativeEvent,d=new u.constructor(u.type,u);zM(d),u.target.dispatchEvent(d),BM()}else{var v=zu(i);return v!==null&&Hb(v),e.blockedOn=i,!1}t.shift()}return!0}function jC(e,t,n){qm(e)&&n.delete(t)}function dI(){Ub=!1,Lu!==null&&qm(Lu)&&(Lu=null),Nu!==null&&qm(Nu)&&(Nu=null),Ou!==null&&qm(Ou)&&(Ou=null),Rp.forEach(jC),Dp.forEach(jC)}function Lp(e,t){e.blockedOn===t&&(e.blockedOn=null,Ub||(Ub=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,dI)))}function Np(e){if(Wm.length>0){Lp(Wm[0],e);for(var t=1;t<Wm.length;t++){var n=Wm[t];n.blockedOn===e&&(n.blockedOn=null)}}Lu!==null&&Lp(Lu,e),Nu!==null&&Lp(Nu,e),Ou!==null&&Lp(Ou,e);var i=function(y){return Lp(y,e)};Rp.forEach(i),Dp.forEach(i);for(var u=0;u<Mu.length;u++){var d=Mu[u];d.blockedOn===e&&(d.blockedOn=null)}for(;Mu.length>0;){var v=Mu[0];if(v.blockedOn!==null)break;FC(v),v.blockedOn===null&&Mu.shift()}}var Gf=o.ReactCurrentBatchConfig,Vb=!0;function HC(e){Vb=!!e}function pI(){return Vb}function hI(e,t,n){var i=UC(t),u;switch(i){case Io:u=mI;break;case Ws:u=vI;break;case qs:default:u=Wb;break}return u.bind(null,t,n,e)}function mI(e,t,n,i){var u=Il(),d=Gf.transition;Gf.transition=null;try{bn(Io),Wb(e,t,n,i)}finally{bn(u),Gf.transition=d}}function vI(e,t,n,i){var u=Il(),d=Gf.transition;Gf.transition=null;try{bn(Ws),Wb(e,t,n,i)}finally{bn(u),Gf.transition=d}}function Wb(e,t,n,i){Vb&&_I(e,t,n,i)}function _I(e,t,n,i){var u=qb(e,t,n,i);if(u===null){o1(e,t,i,Ym,n),BC(e,i);return}if(cI(u,e,t,n,i)){i.stopPropagation();return}if(BC(e,i),t&dp&&sI(e)){for(;u!==null;){var d=zu(u);d!==null&&rI(d);var v=qb(e,t,n,i);if(v===null&&o1(e,t,i,Ym,n),v===u)break;u=v}u!==null&&i.stopPropagation();return}o1(e,t,i,null,n)}var Ym=null;function qb(e,t,n,i){Ym=null;var u=Jg(i),d=Ic(u);if(d!==null){var v=Ec(d);if(v===null)d=null;else{var y=v.tag;if(y===Q){var C=uC(v);if(C!==null)return C;d=null}else if(y===b){var E=v.stateNode;if(Vm(E))return cC(v);d=null}else v!==d&&(d=null)}}return Ym=d,null}function UC(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Io;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Ws;case"message":{var t=sP();switch(t){case Pm:return Io;case db:return Ws;case Rc:case uP:return qs;case pb:return Um;default:return qs}}default:return qs}}function gI(e,t,n){return e.addEventListener(t,n,!1),n}function bI(e,t,n){return e.addEventListener(t,n,!0),n}function yI(e,t,n,i){return e.addEventListener(t,n,{capture:!0,passive:i}),n}function SI(e,t,n,i){return e.addEventListener(t,n,{passive:i}),n}var Op=null,Yb=null,Mp=null;function wI(e){return Op=e,Yb=WC(),!0}function CI(){Op=null,Yb=null,Mp=null}function VC(){if(Mp)return Mp;var e,t=Yb,n=t.length,i,u=WC(),d=u.length;for(e=0;e<n&&t[e]===u[e];e++);var v=n-e;for(i=1;i<=v&&t[n-i]===u[d-i];i++);var y=i>1?1-i:void 0;return Mp=u.slice(e,y),Mp}function WC(){return"value"in Op?Op.value:Op.textContent}function $m(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 Gm(){return!0}function qC(){return!1}function zo(e){function t(n,i,u,d,v){this._reactName=n,this._targetInst=u,this.type=i,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var C=e[y];C?this[y]=C(d):this[y]=d[y]}var E=d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1;return E?this.isDefaultPrevented=Gm:this.isDefaultPrevented=qC,this.isPropagationStopped=qC,this}return Nt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Gm)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Gm)},persist:function(){},isPersistent:Gm}),t}var Kf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$b=zo(Kf),Pp=Nt({},Kf,{view:0,detail:0}),xI=zo(Pp),Gb,Kb,Ip;function kI(e){e!==Ip&&(Ip&&e.type==="mousemove"?(Gb=e.screenX-Ip.screenX,Kb=e.screenY-Ip.screenY):(Gb=0,Kb=0),Ip=e)}var Km=Nt({},Pp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qb,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:(kI(e),Gb)},movementY:function(e){return"movementY"in e?e.movementY:Kb}}),YC=zo(Km),TI=Nt({},Km,{dataTransfer:0}),EI=zo(TI),RI=Nt({},Pp,{relatedTarget:0}),Xb=zo(RI),DI=Nt({},Kf,{animationName:0,elapsedTime:0,pseudoElement:0}),AI=zo(DI),LI=Nt({},Kf,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),NI=zo(LI),OI=Nt({},Kf,{data:0}),$C=zo(OI),MI=$C,PI={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},II={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 zI(e){if(e.key){var t=PI[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=$m(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?II[e.keyCode]||"Unidentified":""}var BI={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function FI(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var i=BI[e];return i?!!n[i]:!1}function Qb(e){return FI}var jI=Nt({},Pp,{key:zI,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qb,charCode:function(e){return e.type==="keypress"?$m(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$m(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),HI=zo(jI),UI=Nt({},Km,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),GC=zo(UI),VI=Nt({},Pp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qb}),WI=zo(VI),qI=Nt({},Kf,{propertyName:0,elapsedTime:0,pseudoElement:0}),YI=zo(qI),$I=Nt({},Km,{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}),GI=zo($I),KI=[9,13,27,32],KC=229,Jb=pt&&"CompositionEvent"in window,zp=null;pt&&"documentMode"in document&&(zp=document.documentMode);var XI=pt&&"TextEvent"in window&&!zp,XC=pt&&(!Jb||zp&&zp>8&&zp<=11),QC=32,JC=String.fromCharCode(QC);function QI(){Ze("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ze("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ze("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ZC=!1;function JI(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function ZI(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function ez(e,t){return e==="keydown"&&t.keyCode===KC}function e3(e,t){switch(e){case"keyup":return KI.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==KC;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function t3(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function r3(e){return e.locale==="ko"}var Xf=!1;function tz(e,t,n,i,u){var d,v;if(Jb?d=ZI(t):Xf?e3(t,i)&&(d="onCompositionEnd"):ez(t,i)&&(d="onCompositionStart"),!d)return null;XC&&!r3(i)&&(!Xf&&d==="onCompositionStart"?Xf=wI(u):d==="onCompositionEnd"&&Xf&&(v=VC()));var y=ev(n,d);if(y.length>0){var C=new $C(d,t,null,i,u);if(e.push({event:C,listeners:y}),v)C.data=v;else{var E=t3(i);E!==null&&(C.data=E)}}}function rz(e,t){switch(e){case"compositionend":return t3(t);case"keypress":var n=t.which;return n!==QC?null:(ZC=!0,JC);case"textInput":var i=t.data;return i===JC&&ZC?null:i;default:return null}}function az(e,t){if(Xf){if(e==="compositionend"||!Jb&&e3(e,t)){var n=VC();return CI(),Xf=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!JI(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return XC&&!r3(t)?null:t.data;default:return null}}function nz(e,t,n,i,u){var d;if(XI?d=rz(t,i):d=az(t,i),!d)return null;var v=ev(n,"onBeforeInput");if(v.length>0){var y=new MI("onBeforeInput","beforeinput",null,i,u);e.push({event:y,listeners:v}),y.data=d}}function oz(e,t,n,i,u,d,v){tz(e,t,n,i,u),nz(e,t,n,i,u)}var iz={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 a3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!iz[e.type]:t==="textarea"}function lz(e){if(!pt)return!1;var t="on"+e,n=t in document;if(!n){var i=document.createElement("div");i.setAttribute(t,"return;"),n=typeof i[t]=="function"}return n}function sz(){Ze("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n3(e,t,n,i){tC(i);var u=ev(t,"onChange");if(u.length>0){var d=new $b("onChange","change",null,n,i);e.push({event:d,listeners:u})}}var Bp=null,Fp=null;function uz(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function cz(e){var t=[];n3(t,Fp,e,Jg(e)),oC(fz,t)}function fz(e){w3(e,0)}function Xm(e){var t=rd(e);if(Lf(t))return e}function dz(e,t){if(e==="change")return t}var o3=!1;pt&&(o3=lz("input")&&(!document.documentMode||document.documentMode>9));function pz(e,t){Bp=e,Fp=t,Bp.attachEvent("onpropertychange",l3)}function i3(){Bp&&(Bp.detachEvent("onpropertychange",l3),Bp=null,Fp=null)}function l3(e){e.propertyName==="value"&&Xm(Fp)&&cz(e)}function hz(e,t,n){e==="focusin"?(i3(),pz(t,n)):e==="focusout"&&i3()}function mz(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xm(Fp)}function vz(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function _z(e,t){if(e==="click")return Xm(t)}function gz(e,t){if(e==="input"||e==="change")return Xm(t)}function bz(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ur(e,"number",e.value)}function yz(e,t,n,i,u,d,v){var y=n?rd(n):window,C,E;if(uz(y)?C=dz:a3(y)?o3?C=gz:(C=mz,E=hz):vz(y)&&(C=_z),C){var A=C(t,n);if(A){n3(e,A,i,u);return}}E&&E(t,y,n),t==="focusout"&&bz(y)}function Sz(){Te("onMouseEnter",["mouseout","mouseover"]),Te("onMouseLeave",["mouseout","mouseover"]),Te("onPointerEnter",["pointerout","pointerover"]),Te("onPointerLeave",["pointerout","pointerover"])}function wz(e,t,n,i,u,d,v){var y=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(y&&!FM(i)){var E=i.relatedTarget||i.fromElement;if(E&&(Ic(E)||eh(E)))return}if(!(!C&&!y)){var A;if(u.window===u)A=u;else{var Z=u.ownerDocument;Z?A=Z.defaultView||Z.parentWindow:A=window}var J,me;if(C){var ve=i.relatedTarget||i.toElement;if(J=n,me=ve?Ic(ve):null,me!==null){var we=Ec(me);(me!==we||me.tag!==w&&me.tag!==k)&&(me=null)}}else J=null,me=n;if(J!==me){var rt=YC,Rt="onMouseLeave",St="onMouseEnter",dr="mouse";(t==="pointerout"||t==="pointerover")&&(rt=GC,Rt="onPointerLeave",St="onPointerEnter",dr="pointer");var pr=J==null?A:rd(J),ue=me==null?A:rd(me),De=new rt(Rt,dr+"leave",J,i,u);De.target=pr,De.relatedTarget=ue;var ce=null,qe=Ic(u);if(qe===n){var ut=new rt(St,dr+"enter",me,i,u);ut.target=ue,ut.relatedTarget=pr,ce=ut}Yz(e,De,ce,J,me)}}}function Cz(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bo=typeof Object.is=="function"?Object.is:Cz;function jp(e,t){if(Bo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var u=0;u<n.length;u++){var d=n[u];if(!Lt.call(t,d)||!Bo(e[d],t[d]))return!1}return!0}function s3(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xz(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function u3(e,t){for(var n=s3(e),i=0,u=0;n;){if(n.nodeType===zs){if(u=i+n.textContent.length,i<=t&&u>=t)return{node:n,offset:t-i};i=u}n=s3(xz(n))}}function kz(e){var t=e.ownerDocument,n=t&&t.defaultView||window,i=n.getSelection&&n.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,d=i.anchorOffset,v=i.focusNode,y=i.focusOffset;try{u.nodeType,v.nodeType}catch(C){return null}return Tz(e,u,d,v,y)}function Tz(e,t,n,i,u){var d=0,v=-1,y=-1,C=0,E=0,A=e,Z=null;e:for(;;){for(var J=null;A===t&&(n===0||A.nodeType===zs)&&(v=d+n),A===i&&(u===0||A.nodeType===zs)&&(y=d+u),A.nodeType===zs&&(d+=A.nodeValue.length),(J=A.firstChild)!==null;)Z=A,A=J;for(;;){if(A===e)break e;if(Z===t&&++C===n&&(v=d),Z===i&&++E===u&&(y=d),(J=A.nextSibling)!==null)break;A=Z,Z=A.parentNode}A=J}return v===-1||y===-1?null:{start:v,end:y}}function Ez(e,t){var n=e.ownerDocument||document,i=n&&n.defaultView||window;if(i.getSelection){var u=i.getSelection(),d=e.textContent.length,v=Math.min(t.start,d),y=t.end===void 0?v:Math.min(t.end,d);if(!u.extend&&v>y){var C=y;y=v,v=C}var E=u3(e,v),A=u3(e,y);if(E&&A){if(u.rangeCount===1&&u.anchorNode===E.node&&u.anchorOffset===E.offset&&u.focusNode===A.node&&u.focusOffset===A.offset)return;var Z=n.createRange();Z.setStart(E.node,E.offset),u.removeAllRanges(),v>y?(u.addRange(Z),u.extend(A.node,A.offset)):(Z.setEnd(A.node,A.offset),u.addRange(Z))}}}function c3(e){return e&&e.nodeType===zs}function f3(e,t){return!e||!t?!1:e===t?!0:c3(e)?!1:c3(t)?f3(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Rz(e){return e&&e.ownerDocument&&f3(e.ownerDocument.documentElement,e)}function Dz(e){try{return typeof e.contentWindow.location.href=="string"}catch(t){return!1}}function d3(){for(var e=window,t=Nf();t instanceof e.HTMLIFrameElement;){if(Dz(t))e=t.contentWindow;else return t;t=Nf(e.document)}return t}function Zb(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 Az(){var e=d3();return{focusedElem:e,selectionRange:Zb(e)?Nz(e):null}}function Lz(e){var t=d3(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&Rz(n)){i!==null&&Zb(n)&&Oz(n,i);for(var u=[],d=n;d=d.parentNode;)d.nodeType===vo&&u.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof n.focus=="function"&&n.focus();for(var v=0;v<u.length;v++){var y=u[v];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function Nz(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=kz(e),t||{start:0,end:0}}function Oz(e,t){var n=t.start,i=t.end;i===void 0&&(i=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(i,e.value.length)):Ez(e,t)}var Mz=pt&&"documentMode"in document&&document.documentMode<=11;function Pz(){Ze("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Qf=null,e1=null,Hp=null,t1=!1;function Iz(e){if("selectionStart"in e&&Zb(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 zz(e){return e.window===e?e.document:e.nodeType===Bs?e:e.ownerDocument}function p3(e,t,n){var i=zz(n);if(!(t1||Qf==null||Qf!==Nf(i))){var u=Iz(Qf);if(!Hp||!jp(Hp,u)){Hp=u;var d=ev(e1,"onSelect");if(d.length>0){var v=new $b("onSelect","select",null,t,n);e.push({event:v,listeners:d}),v.target=Qf}}}}function Bz(e,t,n,i,u,d,v){var y=n?rd(n):window;switch(t){case"focusin":(a3(y)||y.contentEditable==="true")&&(Qf=y,e1=n,Hp=null);break;case"focusout":Qf=null,e1=null,Hp=null;break;case"mousedown":t1=!0;break;case"contextmenu":case"mouseup":case"dragend":t1=!1,p3(e,i,u);break;case"selectionchange":if(Mz)break;case"keydown":case"keyup":p3(e,i,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 Jf={animationend:Qm("Animation","AnimationEnd"),animationiteration:Qm("Animation","AnimationIteration"),animationstart:Qm("Animation","AnimationStart"),transitionend:Qm("Transition","TransitionEnd")},r1={},h3={};pt&&(h3=document.createElement("div").style,"AnimationEvent"in window||(delete Jf.animationend.animation,delete Jf.animationiteration.animation,delete Jf.animationstart.animation),"TransitionEvent"in window||delete Jf.transitionend.transition);function Jm(e){if(r1[e])return r1[e];if(!Jf[e])return e;var t=Jf[e];for(var n in t)if(t.hasOwnProperty(n)&&n in h3)return r1[e]=t[n];return e}var m3=Jm("animationend"),v3=Jm("animationiteration"),_3=Jm("animationstart"),g3=Jm("transitionend"),b3=new Map,y3=["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 Pu(e,t){b3.set(e,t),Ze(t,[e])}function Fz(){for(var e=0;e<y3.length;e++){var t=y3[e],n=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Pu(n,"on"+i)}Pu(m3,"onAnimationEnd"),Pu(v3,"onAnimationIteration"),Pu(_3,"onAnimationStart"),Pu("dblclick","onDoubleClick"),Pu("focusin","onFocus"),Pu("focusout","onBlur"),Pu(g3,"onTransitionEnd")}function jz(e,t,n,i,u,d,v){var y=b3.get(t);if(y!==void 0){var C=$b,E=t;switch(t){case"keypress":if($m(i)===0)return;case"keydown":case"keyup":C=HI;break;case"focusin":E="focus",C=Xb;break;case"focusout":E="blur",C=Xb;break;case"beforeblur":case"afterblur":C=Xb;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=YC;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=EI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=WI;break;case m3:case v3:case _3:C=AI;break;case g3:C=YI;break;case"scroll":C=xI;break;case"wheel":C=GI;break;case"copy":case"cut":case"paste":C=NI;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=GC;break}var A=(d&dp)!==0;{var Z=!A&&t==="scroll",J=Wz(n,y,i.type,A,Z);if(J.length>0){var me=new C(y,E,null,i,u);e.push({event:me,listeners:J})}}}}Fz(),Sz(),sz(),Pz(),QI();function Hz(e,t,n,i,u,d,v){jz(e,t,n,i,u,d);var y=(d&IM)===0;y&&(wz(e,t,n,i,u),yz(e,t,n,i,u),Bz(e,t,n,i,u),oz(e,t,n,i,u))}var Up=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],a1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Up));function S3(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,GM(i,t,void 0,e),e.currentTarget=null}function Uz(e,t,n){var i;if(n)for(var u=t.length-1;u>=0;u--){var d=t[u],v=d.instance,y=d.currentTarget,C=d.listener;if(v!==i&&e.isPropagationStopped())return;S3(e,C,y),i=v}else for(var E=0;E<t.length;E++){var A=t[E],Z=A.instance,J=A.currentTarget,me=A.listener;if(Z!==i&&e.isPropagationStopped())return;S3(e,me,J),i=Z}}function w3(e,t){for(var n=(t&dp)!==0,i=0;i<e.length;i++){var u=e[i],d=u.event,v=u.listeners;Uz(d,v,n)}KM()}function Vz(e,t,n,i,u){var d=Jg(n),v=[];Hz(v,e,i,n,d,t),w3(v,t)}function ba(e,t){a1.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,i=bF(t),u=$z(e,n);i.has(u)||(C3(t,e,Qg,n),i.add(u))}function n1(e,t,n){a1.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 i=0;t&&(i|=dp),C3(n,e,i,t)}var Zm="_reactListening"+Math.random().toString(36).slice(2);function Vp(e){if(!e[Zm]){e[Zm]=!0,lt.forEach(function(n){n!=="selectionchange"&&(a1.has(n)||n1(n,!1,e),n1(n,!0,e))});var t=e.nodeType===Bs?e:e.ownerDocument;t!==null&&(t[Zm]||(t[Zm]=!0,n1("selectionchange",!1,t)))}}function C3(e,t,n,i,u){var d=hI(e,t,n),v=void 0;tb&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(v=!0),e=e;var y;i?v!==void 0?y=yI(e,t,d,v):y=bI(e,t,d):v!==void 0?y=SI(e,t,d,v):y=gI(e,t,d)}function x3(e,t){return e===t||e.nodeType===Ka&&e.parentNode===t}function o1(e,t,n,i,u){var d=i;if(!(t&Zw)&&!(t&Qg)){var v=u;if(i!==null){var y=i;e:for(;;){if(y===null)return;var C=y.tag;if(C===b||C===S){var E=y.stateNode.containerInfo;if(x3(E,v))break;if(C===S)for(var A=y.return;A!==null;){var Z=A.tag;if(Z===b||Z===S){var J=A.stateNode.containerInfo;if(x3(J,v))return}A=A.return}for(;E!==null;){var me=Ic(E);if(me===null)return;var ve=me.tag;if(ve===w||ve===k){y=d=me;continue e}E=E.parentNode}}y=y.return}}}oC(function(){return Vz(e,t,n,d)})}function Wp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wz(e,t,n,i,u,d){for(var v=t!==null?t+"Capture":null,y=i?v:t,C=[],E=e,A=null;E!==null;){var Z=E,J=Z.stateNode,me=Z.tag;if(me===w&&J!==null&&(A=J,y!==null)){var ve=hp(E,y);ve!=null&&C.push(Wp(E,ve,A))}if(u)break;E=E.return}return C}function ev(e,t){for(var n=t+"Capture",i=[],u=e;u!==null;){var d=u,v=d.stateNode,y=d.tag;if(y===w&&v!==null){var C=v,E=hp(u,n);E!=null&&i.unshift(Wp(u,E,C));var A=hp(u,t);A!=null&&i.push(Wp(u,A,C))}u=u.return}return i}function Zf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==w);return e||null}function qz(e,t){for(var n=e,i=t,u=0,d=n;d;d=Zf(d))u++;for(var v=0,y=i;y;y=Zf(y))v++;for(;u-v>0;)n=Zf(n),u--;for(;v-u>0;)i=Zf(i),v--;for(var C=u;C--;){if(n===i||i!==null&&n===i.alternate)return n;n=Zf(n),i=Zf(i)}return null}function k3(e,t,n,i,u){for(var d=t._reactName,v=[],y=n;y!==null&&y!==i;){var C=y,E=C.alternate,A=C.stateNode,Z=C.tag;if(E!==null&&E===i)break;if(Z===w&&A!==null){var J=A;if(u){var me=hp(y,d);me!=null&&v.unshift(Wp(y,me,J))}else if(!u){var ve=hp(y,d);ve!=null&&v.push(Wp(y,ve,J))}}y=y.return}v.length!==0&&e.push({event:t,listeners:v})}function Yz(e,t,n,i,u){var d=i&&u?qz(i,u):null;i!==null&&k3(e,t,i,d,!1),u!==null&&n!==null&&k3(e,n,u,d,!0)}function $z(e,t){return e+"__"+(t?"capture":"bubble")}var _o=!1,qp="dangerouslySetInnerHTML",tv="suppressContentEditableWarning",Iu="suppressHydrationWarning",T3="autoFocus",Mc="children",Pc="style",rv="__html",i1,av,Yp,E3,nv,R3,D3;i1={dialog:!0,webview:!0},av=function(e,t){DM(e,t),AM(e,t),PM(e,t,{registrationNameDependencies:Tt,possibleRegistrationNames:wt})},R3=pt&&!document.documentMode,Yp=function(e,t,n){if(!_o){var i=ov(n),u=ov(t);u!==i&&(_o=!0,c("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},E3=function(e){if(!_o){_o=!0;var t=[];e.forEach(function(n){t.push(n)}),c("Extra attributes from the server: %s",t)}},nv=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)},D3=function(e,t){var n=e.namespaceURI===Is?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Gz=/\r\n?/g,Kz=/\u0000|\uFFFD/g;function ov(e){qr(e);var t=typeof e=="string"?e:""+e;return t.replace(Gz,`
32
+ `).replace(Kz,"")}function iv(e,t,n,i){var u=ov(t),d=ov(e);if(d!==u&&(i&&(_o||(_o=!0,c('Text content did not match. Server: "%s" Client: "%s"',d,u))),n&&W))throw new Error("Text content does not match server-rendered HTML.")}function A3(e){return e.nodeType===Bs?e:e.ownerDocument}function Xz(){}function lv(e){e.onclick=Xz}function Qz(e,t,n,i,u){for(var d in i)if(i.hasOwnProperty(d)){var v=i[d];if(d===Pc)v&&Object.freeze(v),$w(t,v);else if(d===qp){var y=v?v[rv]:void 0;y!=null&&Uw(t,y)}else if(d===Mc)if(typeof v=="string"){var C=e!=="textarea"||v!=="";C&&Dm(t,v)}else typeof v=="number"&&Dm(t,""+v);else d===tv||d===Iu||d===T3||(Tt.hasOwnProperty(d)?v!=null&&(typeof v!="function"&&nv(d,v),d==="onScroll"&&ba("scroll",t)):v!=null&&I(t,d,v,u))}}function Jz(e,t,n,i){for(var u=0;u<t.length;u+=2){var d=t[u],v=t[u+1];d===Pc?$w(e,v):d===qp?Uw(e,v):d===Mc?Dm(e,v):I(e,d,v,i)}}function Zz(e,t,n,i){var u,d=A3(n),v,y=i;if(y===Is&&(y=qg(e)),y===Is){if(u=wc(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=d.createElement("div");C.innerHTML="<script></script>";var E=C.firstChild;v=C.removeChild(E)}else if(typeof t.is=="string")v=d.createElement(e,{is:t.is});else if(v=d.createElement(e),e==="select"){var A=v;t.multiple?A.multiple=!0:t.size&&(A.size=t.size)}}else v=d.createElementNS(y,e);return y===Is&&!u&&Object.prototype.toString.call(v)==="[object HTMLUnknownElement]"&&!Lt.call(i1,e)&&(i1[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)),v}function eB(e,t){return A3(t).createTextNode(e)}function tB(e,t,n,i){var u=wc(t,n);av(t,n);var d;switch(t){case"dialog":ba("cancel",e),ba("close",e),d=n;break;case"iframe":case"object":case"embed":ba("load",e),d=n;break;case"video":case"audio":for(var v=0;v<Up.length;v++)ba(Up[v],e);d=n;break;case"source":ba("error",e),d=n;break;case"img":case"image":case"link":ba("error",e),ba("load",e),d=n;break;case"details":ba("toggle",e),d=n;break;case"input":Ee(e,n),d=he(e,n),ba("invalid",e);break;case"option":Ra(e,n),d=n;break;case"select":zw(e,n),d=cp(e,n),ba("invalid",e);break;case"textarea":Fw(e,n),d=Vg(e,n),ba("invalid",e);break;default:d=n}switch(Xg(t,d),Qz(t,e,i,d,u),t){case"input":Du(e),yt(e,n,!1);break;case"textarea":Du(e),Hw(e);break;case"option":en(e,n);break;case"select":Q9(e,n);break;default:typeof d.onClick=="function"&&lv(e);break}}function rB(e,t,n,i,u){av(t,i);var d=null,v,y;switch(t){case"input":v=he(e,n),y=he(e,i),d=[];break;case"select":v=cp(e,n),y=cp(e,i),d=[];break;case"textarea":v=Vg(e,n),y=Vg(e,i),d=[];break;default:v=n,y=i,typeof v.onClick!="function"&&typeof y.onClick=="function"&&lv(e);break}Xg(t,y);var C,E,A=null;for(C in v)if(!(y.hasOwnProperty(C)||!v.hasOwnProperty(C)||v[C]==null))if(C===Pc){var Z=v[C];for(E in Z)Z.hasOwnProperty(E)&&(A||(A={}),A[E]="")}else C===qp||C===Mc||C===tv||C===Iu||C===T3||(Tt.hasOwnProperty(C)?d||(d=[]):(d=d||[]).push(C,null));for(C in y){var J=y[C],me=v!=null?v[C]:void 0;if(!(!y.hasOwnProperty(C)||J===me||J==null&&me==null))if(C===Pc)if(J&&Object.freeze(J),me){for(E in me)me.hasOwnProperty(E)&&(!J||!J.hasOwnProperty(E))&&(A||(A={}),A[E]="");for(E in J)J.hasOwnProperty(E)&&me[E]!==J[E]&&(A||(A={}),A[E]=J[E])}else A||(d||(d=[]),d.push(C,A)),A=J;else if(C===qp){var ve=J?J[rv]:void 0,we=me?me[rv]:void 0;ve!=null&&we!==ve&&(d=d||[]).push(C,ve)}else C===Mc?(typeof J=="string"||typeof J=="number")&&(d=d||[]).push(C,""+J):C===tv||C===Iu||(Tt.hasOwnProperty(C)?(J!=null&&(typeof J!="function"&&nv(C,J),C==="onScroll"&&ba("scroll",e)),!d&&me!==J&&(d=[])):(d=d||[]).push(C,J))}return A&&(SM(A,y[Pc]),(d=d||[]).push(Pc,A)),d}function aB(e,t,n,i,u){n==="input"&&u.type==="radio"&&u.name!=null&&Xe(e,u);var d=wc(n,i),v=wc(n,u);switch(Jz(e,t,d,v),n){case"input":Mt(e,u);break;case"textarea":jw(e,u);break;case"select":J9(e,u);break}}function nB(e){{var t=e.toLowerCase();return Am.hasOwnProperty(t)&&Am[t]||null}}function oB(e,t,n,i,u,d,v){var y,C;switch(y=wc(t,n),av(t,n),t){case"dialog":ba("cancel",e),ba("close",e);break;case"iframe":case"object":case"embed":ba("load",e);break;case"video":case"audio":for(var E=0;E<Up.length;E++)ba(Up[E],e);break;case"source":ba("error",e);break;case"img":case"image":case"link":ba("error",e),ba("load",e);break;case"details":ba("toggle",e);break;case"input":Ee(e,n),ba("invalid",e);break;case"option":Ra(e,n);break;case"select":zw(e,n),ba("invalid",e);break;case"textarea":Fw(e,n),ba("invalid",e);break}Xg(t,n);{C=new Set;for(var A=e.attributes,Z=0;Z<A.length;Z++){var J=A[Z].name.toLowerCase();switch(J){case"value":break;case"checked":break;case"selected":break;default:C.add(A[Z].name)}}}var me=null;for(var ve in n)if(n.hasOwnProperty(ve)){var we=n[ve];if(ve===Mc)typeof we=="string"?e.textContent!==we&&(n[Iu]!==!0&&iv(e.textContent,we,d,v),me=[Mc,we]):typeof we=="number"&&e.textContent!==""+we&&(n[Iu]!==!0&&iv(e.textContent,we,d,v),me=[Mc,""+we]);else if(Tt.hasOwnProperty(ve))we!=null&&(typeof we!="function"&&nv(ve,we),ve==="onScroll"&&ba("scroll",e));else if(v&&typeof y=="boolean"){var rt=void 0,Rt=y&&Ye?null:P(ve);if(n[Iu]!==!0){if(!(ve===tv||ve===Iu||ve==="value"||ve==="checked"||ve==="selected")){if(ve===qp){var St=e.innerHTML,dr=we?we[rv]:void 0;if(dr!=null){var pr=D3(e,dr);pr!==St&&Yp(ve,St,pr)}}else if(ve===Pc){if(C.delete(ve),R3){var ue=bM(we);rt=e.getAttribute("style"),ue!==rt&&Yp(ve,rt,ue)}}else if(y&&!Ye)C.delete(ve.toLowerCase()),rt=Qe(e,ve,we),we!==rt&&Yp(ve,rt,we);else if(!vr(ve,Rt,y)&&!$(ve,we,Rt,y)){var De=!1;if(Rt!==null)C.delete(Rt.attributeName),rt=Ae(e,ve,we,Rt);else{var ce=i;if(ce===Is&&(ce=qg(t)),ce===Is)C.delete(ve.toLowerCase());else{var qe=nB(ve);qe!==null&&qe!==ve&&(De=!0,C.delete(qe)),C.delete(ve)}rt=Qe(e,ve,we)}var ut=Ye;!ut&&we!==rt&&!De&&Yp(ve,rt,we)}}}}}switch(v&&C.size>0&&n[Iu]!==!0&&E3(C),t){case"input":Du(e),yt(e,n,!0);break;case"textarea":Du(e),Hw(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&lv(e);break}return me}function iB(e,t,n){var i=e.nodeValue!==t;return i}function l1(e,t){{if(_o)return;_o=!0,c("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function s1(e,t){{if(_o)return;_o=!0,c('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function u1(e,t,n){{if(_o)return;_o=!0,c("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function c1(e,t){{if(t===""||_o)return;_o=!0,c('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function lB(e,t,n){switch(t){case"input":Jt(e,n);return;case"textarea":eM(e,n);return;case"select":Z9(e,n);return}}var $p=function(){},Gp=function(){};{var sB=["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"],L3=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],uB=L3.concat(["button"]),cB=["dd","dt","li","option","optgroup","p","rp","rt"],N3={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Gp=function(e,t){var n=Nt({},e||N3),i={tag:t};return L3.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),uB.indexOf(t)!==-1&&(n.pTagInButtonScope=null),sB.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=i,t==="form"&&(n.formTag=i),t==="a"&&(n.aTagInScope=i),t==="button"&&(n.buttonTagInScope=i),t==="nobr"&&(n.nobrTagInScope=i),t==="p"&&(n.pTagInButtonScope=i),t==="li"&&(n.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=i),n};var fB=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 cB.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},dB=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},O3={};$p=function(e,t,n){n=n||N3;var i=n.current,u=i&&i.tag;t!=null&&(e!=null&&c("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var d=fB(e,u)?null:i,v=d?null:dB(e,n),y=d||v;if(y){var C=y.tag,E=!!d+"|"+e+"|"+C;if(!O3[E]){O3[E]=!0;var A=e,Z="";if(e==="#text"?/\S/.test(t)?A="Text nodes":(A="Whitespace text nodes",Z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):A="<"+e+">",d){var J="";C==="table"&&e==="tr"&&(J+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),c("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",A,C,Z,J)}else c("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",A,C)}}}}var sv="suppressHydrationWarning",uv="$",cv="/$",Kp="$?",Xp="$!",pB="style",f1=null,d1=null;function hB(e){var t,n,i=e.nodeType;switch(i){case Bs:case $g:{t=i===Bs?"#document":"#fragment";var u=e.documentElement;n=u?u.namespaceURI:Yg(null,"");break}default:{var d=i===Ka?e.parentNode:e,v=d.namespaceURI||null;t=d.tagName,n=Yg(v,t);break}}{var y=t.toLowerCase(),C=Gp(null,y);return{namespace:n,ancestorInfo:C}}}function mB(e,t,n){{var i=e,u=Yg(i.namespace,t),d=Gp(i.ancestorInfo,t);return{namespace:u,ancestorInfo:d}}}function U$(e){return e}function vB(e){f1=pI(),d1=Az();var t=null;return HC(!1),t}function _B(e){Lz(d1),HC(f1),f1=null,d1=null}function gB(e,t,n,i,u){var d;{var v=i;if($p(e,null,v.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,C=Gp(v.ancestorInfo,e);$p(null,y,C)}d=v.namespace}var E=Zz(e,t,n,d);return Zp(u,E),y1(E,t),E}function bB(e,t){e.appendChild(t)}function yB(e,t,n,i,u){switch(tB(e,t,n,i),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function SB(e,t,n,i,u,d){{var v=d;if(typeof i.children!=typeof n.children&&(typeof i.children=="string"||typeof i.children=="number")){var y=""+i.children,C=Gp(v.ancestorInfo,t);$p(null,y,C)}}return rB(e,t,n,i)}function p1(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 wB(e,t,n,i){{var u=n;$p(null,e,u.ancestorInfo)}var d=eB(e,t);return Zp(i,d),d}function CB(){var e=window.event;return e===void 0?qs:UC(e.type)}var h1=typeof setTimeout=="function"?setTimeout:void 0,xB=typeof clearTimeout=="function"?clearTimeout:void 0,m1=-1,M3=typeof Promise=="function"?Promise:void 0,kB=typeof queueMicrotask=="function"?queueMicrotask:typeof M3!="undefined"?function(e){return M3.resolve(null).then(e).catch(TB)}:h1;function TB(e){setTimeout(function(){throw e})}function EB(e,t,n,i){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function RB(e,t,n,i,u,d){aB(e,t,n,i,u),y1(e,u)}function P3(e){Dm(e,"")}function DB(e,t,n){e.nodeValue=n}function AB(e,t){e.appendChild(t)}function LB(e,t){var n;e.nodeType===Ka?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var i=e._reactRootContainer;i==null&&n.onclick===null&&lv(n)}function NB(e,t,n){e.insertBefore(t,n)}function OB(e,t,n){e.nodeType===Ka?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function MB(e,t){e.removeChild(t)}function PB(e,t){e.nodeType===Ka?e.parentNode.removeChild(t):e.removeChild(t)}function v1(e,t){var n=t,i=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===Ka){var d=u.data;if(d===cv)if(i===0){e.removeChild(u),Np(t);return}else i--;else(d===uv||d===Kp||d===Xp)&&i++}n=u}while(n);Np(t)}function IB(e,t){e.nodeType===Ka?v1(e.parentNode,t):e.nodeType===vo&&v1(e,t),Np(e)}function zB(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function BB(e){e.nodeValue=""}function FB(e,t){e=e;var n=t[pB],i=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=Gg("display",i)}function jB(e,t){e.nodeValue=t}function HB(e){e.nodeType===vo?e.textContent="":e.nodeType===Bs&&e.documentElement&&e.removeChild(e.documentElement)}function UB(e,t,n){return e.nodeType!==vo||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function VB(e,t){return t===""||e.nodeType!==zs?null:e}function WB(e){return e.nodeType!==Ka?null:e}function I3(e){return e.data===Kp}function _1(e){return e.data===Xp}function qB(e){var t=e.nextSibling&&e.nextSibling.dataset,n,i,u;return t&&(n=t.dgst,i=t.msg,u=t.stck),{message:i,digest:n,stack:u}}function YB(e,t){e._reactRetry=t}function fv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===vo||t===zs)break;if(t===Ka){var n=e.data;if(n===uv||n===Xp||n===Kp)break;if(n===cv)return null}}return e}function Qp(e){return fv(e.nextSibling)}function $B(e){return fv(e.firstChild)}function GB(e){return fv(e.firstChild)}function KB(e){return fv(e.nextSibling)}function XB(e,t,n,i,u,d,v){Zp(d,e),y1(e,n);var y;{var C=u;y=C.namespace}var E=(d.mode&gr)!==Ot;return oB(e,t,n,y,i,E,v)}function QB(e,t,n,i){Zp(n,e);var u=(n.mode&gr)!==Ot;return iB(e,t)}function JB(e,t){Zp(t,e)}function ZB(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===cv){if(n===0)return Qp(t);n--}else(i===uv||i===Xp||i===Kp)&&n++}t=t.nextSibling}return null}function z3(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ka){var i=t.data;if(i===uv||i===Xp||i===Kp){if(n===0)return t;n--}else i===cv&&n++}t=t.previousSibling}return null}function eF(e){Np(e)}function tF(e){Np(e)}function rF(e){return e!=="head"&&e!=="body"}function aF(e,t,n,i){var u=!0;iv(t.nodeValue,n,i,u)}function nF(e,t,n,i,u,d){if(t[sv]!==!0){var v=!0;iv(i.nodeValue,u,d,v)}}function oF(e,t){t.nodeType===vo?l1(e,t):t.nodeType===Ka||s1(e,t)}function iF(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===vo?l1(n,t):t.nodeType===Ka||s1(n,t))}}function lF(e,t,n,i,u){(u||t[sv]!==!0)&&(i.nodeType===vo?l1(n,i):i.nodeType===Ka||s1(n,i))}function sF(e,t,n){u1(e,t)}function uF(e,t){c1(e,t)}function cF(e,t,n){{var i=e.parentNode;i!==null&&u1(i,t)}}function fF(e,t){{var n=e.parentNode;n!==null&&c1(n,t)}}function dF(e,t,n,i,u,d){(d||t[sv]!==!0)&&u1(n,i)}function pF(e,t,n,i,u){(u||t[sv]!==!0)&&c1(n,i)}function hF(e){c("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function mF(e){Vp(e)}var ed=Math.random().toString(36).slice(2),td="__reactFiber$"+ed,g1="__reactProps$"+ed,Jp="__reactContainer$"+ed,b1="__reactEvents$"+ed,vF="__reactListeners$"+ed,_F="__reactHandles$"+ed;function gF(e){delete e[td],delete e[g1],delete e[b1],delete e[vF],delete e[_F]}function Zp(e,t){t[td]=e}function dv(e,t){t[Jp]=e}function B3(e){e[Jp]=null}function eh(e){return!!e[Jp]}function Ic(e){var t=e[td];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jp]||n[td],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=z3(e);u!==null;){var d=u[td];if(d)return d;u=z3(u)}return t}e=n,n=e.parentNode}return null}function zu(e){var t=e[td]||e[Jp];return t&&(t.tag===w||t.tag===k||t.tag===Q||t.tag===b)?t:null}function rd(e){if(e.tag===w||e.tag===k)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function pv(e){return e[g1]||null}function y1(e,t){e[g1]=t}function bF(e){var t=e[b1];return t===void 0&&(t=e[b1]=new Set),t}var F3={},j3=o.ReactDebugCurrentFrame;function hv(e){if(e){var t=e._owner,n=Tf(e.type,e._source,t?t.type:null);j3.setExtraStackFrame(n)}else j3.setExtraStackFrame(null)}function zl(e,t,n,i,u){{var d=Function.call.bind(Lt);for(var v in e)if(d(e,v)){var y=void 0;try{if(typeof e[v]!="function"){var C=Error((i||"React class")+": "+n+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}y=e[v](t,v,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){y=E}y&&!(y instanceof Error)&&(hv(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).",i||"React class",n,v,typeof y),hv(null)),y instanceof Error&&!(y.message in F3)&&(F3[y.message]=!0,hv(u),c("Failed %s type: %s",n,y.message),hv(null))}}}var S1=[],mv;mv=[];var Ys=-1;function Bu(e){return{current:e}}function In(e,t){if(Ys<0){c("Unexpected pop.");return}t!==mv[Ys]&&c("Unexpected Fiber popped."),e.current=S1[Ys],S1[Ys]=null,mv[Ys]=null,Ys--}function zn(e,t,n){Ys++,S1[Ys]=e.current,mv[Ys]=n,e.current=t}var w1;w1={};var Fo={};Object.freeze(Fo);var $s=Bu(Fo),fs=Bu(!1),C1=Fo;function ad(e,t,n){return n&&ds(t)?C1:$s.current}function H3(e,t,n){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=n}}function nd(e,t){{var n=e.type,i=n.contextTypes;if(!i)return Fo;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var d={};for(var v in i)d[v]=t[v];{var y=Zt(e)||"Unknown";zl(i,d,"context",y)}return u&&H3(e,t,d),d}}function vv(){return fs.current}function ds(e){{var t=e.childContextTypes;return t!=null}}function _v(e){In(fs,e),In($s,e)}function x1(e){In(fs,e),In($s,e)}function U3(e,t,n){{if($s.current!==Fo)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");zn($s,t,e),zn(fs,n,e)}}function V3(e,t,n){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var d=Zt(e)||"Unknown";w1[d]||(w1[d]=!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.",d,d))}return n}var v=i.getChildContext();for(var y in v)if(!(y in u))throw new Error((Zt(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var C=Zt(e)||"Unknown";zl(u,v,"child context",C)}return Nt({},n,v)}}function gv(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Fo;return C1=$s.current,zn($s,n,e),zn(fs,fs.current,e),!0}}function W3(e,t,n){{var i=e.stateNode;if(!i)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var u=V3(e,t,C1);i.__reactInternalMemoizedMergedChildContext=u,In(fs,e),In($s,e),zn($s,u,e),zn(fs,n,e)}else In(fs,e),zn(fs,n,e)}}function yF(e){{if(!rP(e)||e.tag!==m)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case b:return t.stateNode.context;case m:{var n=t.type;if(ds(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Fu=0,bv=1,Gs=null,k1=!1,T1=!1;function q3(e){Gs===null?Gs=[e]:Gs.push(e)}function SF(e){k1=!0,q3(e)}function Y3(){k1&&ju()}function ju(){if(!T1&&Gs!==null){T1=!0;var e=0,t=Il();try{var n=!0,i=Gs;for(bn(Io);e<i.length;e++){var u=i[e];do u=u(n);while(u!==null)}Gs=null,k1=!1}catch(d){throw Gs!==null&&(Gs=Gs.slice(e+1)),vC(Pm,ju),d}finally{bn(t),T1=!1}}return null}var od=[],id=0,yv=null,Sv=0,vl=[],_l=0,zc=null,Ks=1,Xs="";function wF(e){return Fc(),(e.flags&sC)!==zt}function CF(e){return Fc(),Sv}function xF(){var e=Xs,t=Ks,n=t&~kF(t);return n.toString(32)+e}function Bc(e,t){Fc(),od[id++]=Sv,od[id++]=yv,yv=e,Sv=t}function $3(e,t,n){Fc(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=zc,zc=e;var i=Ks,u=Xs,d=wv(i)-1,v=i&~(1<<d),y=n+1,C=wv(t)+d;if(C>30){var E=d-d%5,A=(1<<E)-1,Z=(v&A).toString(32),J=v>>E,me=d-E,ve=wv(t)+me,we=y<<me,rt=we|J,Rt=Z+u;Ks=1<<ve|rt,Xs=Rt}else{var St=y<<d,dr=St|v,pr=u;Ks=1<<C|dr,Xs=pr}}function E1(e){Fc();var t=e.return;if(t!==null){var n=1,i=0;Bc(e,n),$3(e,n,i)}}function wv(e){return 32-wC(e)}function kF(e){return 1<<wv(e)-1}function R1(e){for(;e===yv;)yv=od[--id],od[id]=null,Sv=od[--id],od[id]=null;for(;e===zc;)zc=vl[--_l],vl[_l]=null,Xs=vl[--_l],vl[_l]=null,Ks=vl[--_l],vl[_l]=null}function TF(){return Fc(),zc!==null?{id:Ks,overflow:Xs}:null}function EF(e,t){Fc(),vl[_l++]=Ks,vl[_l++]=Xs,vl[_l++]=zc,Ks=t.id,Xs=t.overflow,zc=e}function Fc(){kn()||c("Expected to be hydrating. This is a bug in React. Please file an issue.")}var xn=null,gl=null,Bl=!1,jc=!1,Hu=null;function RF(){Bl&&c("We should not be hydrating here. This is a bug in React. Please file a bug.")}function G3(){jc=!0}function DF(){return jc}function AF(e){var t=e.stateNode.containerInfo;return gl=GB(t),xn=e,Bl=!0,Hu=null,jc=!1,!0}function LF(e,t,n){return gl=KB(t),xn=e,Bl=!0,Hu=null,jc=!1,n!==null&&EF(e,n),!0}function K3(e,t){switch(e.tag){case b:{oF(e.stateNode.containerInfo,t);break}case w:{var n=(e.mode&gr)!==Ot;lF(e.type,e.memoizedProps,e.stateNode,t,n);break}case Q:{var i=e.memoizedState;i.dehydrated!==null&&iF(i.dehydrated,t);break}}}function X3(e,t){K3(e,t);var n=jU();n.stateNode=t,n.return=e;var i=e.deletions;i===null?(e.deletions=[n],e.flags|=Cc):i.push(n)}function D1(e,t){{if(jc)return;switch(e.tag){case b:{var n=e.stateNode.containerInfo;switch(t.tag){case w:var i=t.type,u=t.pendingProps;sF(n,i);break;case k:var d=t.pendingProps;uF(n,d);break}break}case w:{var v=e.type,y=e.memoizedProps,C=e.stateNode;switch(t.tag){case w:{var E=t.type,A=t.pendingProps,Z=(e.mode&gr)!==Ot;dF(v,y,C,E,A,Z);break}case k:{var J=t.pendingProps,me=(e.mode&gr)!==Ot;pF(v,y,C,J,me);break}}break}case Q:{var ve=e.memoizedState,we=ve.dehydrated;if(we!==null)switch(t.tag){case w:var rt=t.type,Rt=t.pendingProps;cF(we,rt);break;case k:var St=t.pendingProps;fF(we,St);break}break}default:return}}}function Q3(e,t){t.flags=t.flags&~js|Xa,D1(e,t)}function J3(e,t){switch(e.tag){case w:{var n=e.type,i=e.pendingProps,u=UB(t,n);return u!==null?(e.stateNode=u,xn=e,gl=$B(u),!0):!1}case k:{var d=e.pendingProps,v=VB(t,d);return v!==null?(e.stateNode=v,xn=e,gl=null,!0):!1}case Q:{var y=WB(t);if(y!==null){var C={dehydrated:y,treeContext:TF(),retryLane:Mo};e.memoizedState=C;var E=HU(y);return E.return=e,e.child=E,xn=e,gl=null,!0}return!1}default:return!1}}function A1(e){return(e.mode&gr)!==Ot&&(e.flags&Pr)===zt}function L1(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function N1(e){if(Bl){var t=gl;if(!t){A1(e)&&(D1(xn,e),L1()),Q3(xn,e),Bl=!1,xn=e;return}var n=t;if(!J3(e,t)){A1(e)&&(D1(xn,e),L1()),t=Qp(n);var i=xn;if(!t||!J3(e,t)){Q3(xn,e),Bl=!1,xn=e;return}X3(i,n)}}}function NF(e,t,n){var i=e.stateNode,u=!jc,d=XB(i,e.type,e.memoizedProps,t,n,e,u);return e.updateQueue=d,d!==null}function OF(e){var t=e.stateNode,n=e.memoizedProps,i=QB(t,n,e);if(i){var u=xn;if(u!==null)switch(u.tag){case b:{var d=u.stateNode.containerInfo,v=(u.mode&gr)!==Ot;aF(d,t,n,v);break}case w:{var y=u.type,C=u.memoizedProps,E=u.stateNode,A=(u.mode&gr)!==Ot;nF(y,C,E,t,n,A);break}}}return i}function MF(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.");JB(n,e)}function PF(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 ZB(n)}function Z3(e){for(var t=e.return;t!==null&&t.tag!==w&&t.tag!==b&&t.tag!==Q;)t=t.return;xn=t}function Cv(e){if(e!==xn)return!1;if(!Bl)return Z3(e),Bl=!0,!1;if(e.tag!==b&&(e.tag!==w||rF(e.type)&&!p1(e.type,e.memoizedProps))){var t=gl;if(t)if(A1(e))ex(e),L1();else for(;t;)X3(e,t),t=Qp(t)}return Z3(e),e.tag===Q?gl=PF(e):gl=xn?Qp(e.stateNode):null,!0}function IF(){return Bl&&gl!==null}function ex(e){for(var t=gl;t;)K3(e,t),t=Qp(t)}function ld(){xn=null,gl=null,Bl=!1,jc=!1}function tx(){Hu!==null&&(K4(Hu),Hu=null)}function kn(){return Bl}function O1(e){Hu===null?Hu=[e]:Hu.push(e)}var zF=o.ReactCurrentBatchConfig,BF=null;function FF(){return zF.transition}var Fl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var jF=function(e){for(var t=null,n=e;n!==null;)n.mode&Ma&&(t=n),n=n.return;return t},Hc=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},th=[],rh=[],ah=[],nh=[],oh=[],ih=[],Uc=new Set;Fl.recordUnsafeLifecycleWarnings=function(e,t){Uc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&th.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillMount=="function"&&rh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ah.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&nh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&oh.push(e),e.mode&Ma&&typeof t.UNSAFE_componentWillUpdate=="function"&&ih.push(e))},Fl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;th.length>0&&(th.forEach(function(J){e.add(Zt(J)||"Component"),Uc.add(J.type)}),th=[]);var t=new Set;rh.length>0&&(rh.forEach(function(J){t.add(Zt(J)||"Component"),Uc.add(J.type)}),rh=[]);var n=new Set;ah.length>0&&(ah.forEach(function(J){n.add(Zt(J)||"Component"),Uc.add(J.type)}),ah=[]);var i=new Set;nh.length>0&&(nh.forEach(function(J){i.add(Zt(J)||"Component"),Uc.add(J.type)}),nh=[]);var u=new Set;oh.length>0&&(oh.forEach(function(J){u.add(Zt(J)||"Component"),Uc.add(J.type)}),oh=[]);var d=new Set;if(ih.length>0&&(ih.forEach(function(J){d.add(Zt(J)||"Component"),Uc.add(J.type)}),ih=[]),t.size>0){var v=Hc(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
 
36
- Please update the following components: %s`,v)}if(i.size>0){var y=jc(i);c(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
36
+ Please update the following components: %s`,v)}if(i.size>0){var y=Hc(i);c(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
37
37
 
38
38
  * Move data fetching code or side effects to componentDidUpdate.
39
39
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
40
40
 
41
- Please update the following components: %s`,y)}if(d.size>0){var C=jc(d);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.
41
+ Please update the following components: %s`,y)}if(d.size>0){var C=Hc(d);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`,C)}if(e.size>0){var E=jc(e);f(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
45
+ Please update the following components: %s`,C)}if(e.size>0){var E=Hc(e);f(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
46
46
 
47
47
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
48
48
  * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
49
49
 
50
- Please update the following components: %s`,E)}if(n.size>0){var A=jc(n);f(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
50
+ Please update the following components: %s`,E)}if(n.size>0){var A=Hc(n);f(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
51
51
 
52
52
  * Move data fetching code or side effects to componentDidUpdate.
53
53
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
54
54
  * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
55
55
 
56
- Please update the following components: %s`,A)}if(u.size>0){var Z=jc(u);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
56
+ Please update the following components: %s`,A)}if(u.size>0){var Z=Hc(u);f(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
57
57
 
58
58
  * Move data fetching code or side effects to componentDidUpdate.
59
59
  * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
60
60
 
61
- Please update the following components: %s`,Z)}};var xv=new Map,rx=new Set;Bl.recordLegacyContextWarning=function(e,t){var n=jF(e);if(n===null){c("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!rx.has(e.type)){var i=xv.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],xv.set(n,i)),i.push(e))}},Bl.flushLegacyContextWarning=function(){xv.forEach(function(e,t){if(e.length!==0){var n=e[0],i=new Set;e.forEach(function(d){i.add(Zt(d)||"Component"),rx.add(d.type)});var u=jc(i);try{wa(n),c(`Legacy context API has been detected within a strict-mode tree.
61
+ Please update the following components: %s`,Z)}};var xv=new Map,rx=new Set;Fl.recordLegacyContextWarning=function(e,t){var n=jF(e);if(n===null){c("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!rx.has(e.type)){var i=xv.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],xv.set(n,i)),i.push(e))}},Fl.flushLegacyContextWarning=function(){xv.forEach(function(e,t){if(e.length!==0){var n=e[0],i=new Set;e.forEach(function(d){i.add(Zt(d)||"Component"),rx.add(d.type)});var u=Hc(i);try{Ca(n),c(`Legacy context API has been detected within a strict-mode tree.
62
62
 
63
63
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
64
64
 
65
65
  Please update the following components: %s
66
66
 
67
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{hn()}}})},Bl.discardPendingWarnings=function(){th=[],rh=[],ah=[],nh=[],oh=[],ih=[],xv=new Map}}var M1,P1,I1,z1,B1,ax=function(e,t){};M1=!1,P1=!1,I1={},z1={},B1={},ax=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=Zt(t)||"Component";z1[n]||(z1[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 HF(e){return e.prototype&&e.prototype.isReactComponent}function lh(e,t,n){var i=n.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Ma||qe)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==m)&&!(typeof n.type=="function"&&!HF(n.type))&&n._owner){var u=Zt(e)||"Component";I1[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,i),I1[u]=!0)}if(n._owner){var d=n._owner,v;if(d){var y=d;if(y.tag!==m)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");v=y.stateNode}if(!v)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var C=v;ra(i,"ref");var E=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var A=function(Z){var Q=C.refs;Z===null?delete Q[E]:Q[E]=Z};return A._stringRef=E,A}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
67
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{mn()}}})},Fl.discardPendingWarnings=function(){th=[],rh=[],ah=[],nh=[],oh=[],ih=[],xv=new Map}}var M1,P1,I1,z1,B1,ax=function(e,t){};M1=!1,P1=!1,I1={},z1={},B1={},ax=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=Zt(t)||"Component";z1[n]||(z1[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 HF(e){return e.prototype&&e.prototype.isReactComponent}function lh(e,t,n){var i=n.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Ma||$e)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==m)&&!(typeof n.type=="function"&&!HF(n.type))&&n._owner){var u=Zt(e)||"Component";I1[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,i),I1[u]=!0)}if(n._owner){var d=n._owner,v;if(d){var y=d;if(y.tag!==m)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");v=y.stateNode}if(!v)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var C=v;ra(i,"ref");var E=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var A=function(Z){var J=C.refs;Z===null?delete J[E]:J[E]=Z};return A._stringRef=E,A}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
68
68
  1. You may be adding a ref to a function component
69
69
  2. You may be adding a ref to a component that was not created inside a component's render method
70
70
  3. You have multiple copies of React loaded
71
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function kv(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 Tv(e){{var t=Zt(e)||"Component";if(B1[t])return;B1[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 nx(e){var t=e._payload,n=e._init;return n(t)}function ox(e){function t(ue,De){if(e){var ce=ue.deletions;ce===null?(ue.deletions=[De],ue.flags|=wc):ce.push(De)}}function n(ue,De){if(!e)return null;for(var ce=De;ce!==null;)t(ue,ce),ce=ce.sibling;return null}function i(ue,De){for(var ce=new Map,$e=De;$e!==null;)$e.key!==null?ce.set($e.key,$e):ce.set($e.index,$e),$e=$e.sibling;return ce}function u(ue,De){var ce=Xc(ue,De);return ce.index=0,ce.sibling=null,ce}function d(ue,De,ce){if(ue.index=ce,!e)return ue.flags|=sC,De;var $e=ue.alternate;if($e!==null){var lt=$e.index;return lt<De?(ue.flags|=Xa,De):lt}else return ue.flags|=Xa,De}function v(ue){return e&&ue.alternate===null&&(ue.flags|=Xa),ue}function y(ue,De,ce,$e){if(De===null||De.tag!==k){var lt=M0(ce,ue.mode,$e);return lt.return=ue,lt}else{var rt=u(De,ce);return rt.return=ue,rt}}function C(ue,De,ce,$e){var lt=ce.type;if(lt===se)return A(ue,De,ce.props.children,$e,ce.key);if(De!==null&&(De.elementType===lt||fk(De,ce)||typeof lt=="object"&&lt!==null&&lt.$$typeof===Je&&nx(lt)===De.type)){var rt=u(De,ce.props);return rt.ref=lh(ue,De,ce),rt.return=ue,rt._debugSource=ce._source,rt._debugOwner=ce._owner,rt}var jt=O0(ce,ue.mode,$e);return jt.ref=lh(ue,De,ce),jt.return=ue,jt}function E(ue,De,ce,$e){if(De===null||De.tag!==S||De.stateNode.containerInfo!==ce.containerInfo||De.stateNode.implementation!==ce.implementation){var lt=P0(ce,ue.mode,$e);return lt.return=ue,lt}else{var rt=u(De,ce.children||[]);return rt.return=ue,rt}}function A(ue,De,ce,$e,lt){if(De===null||De.tag!==L){var rt=Ju(ce,ue.mode,$e,lt);return rt.return=ue,rt}else{var jt=u(De,ce);return jt.return=ue,jt}}function Z(ue,De,ce){if(typeof De=="string"&&De!==""||typeof De=="number"){var $e=M0(""+De,ue.mode,ce);return $e.return=ue,$e}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var lt=O0(De,ue.mode,ce);return lt.ref=lh(ue,null,De),lt.return=ue,lt}case re:{var rt=P0(De,ue.mode,ce);return rt.return=ue,rt}case Je:{var jt=De._payload,Gt=De._init;return Z(ue,Gt(jt),ce)}}if(tn(De)||Ga(De)){var Qr=Ju(De,ue.mode,ce,null);return Qr.return=ue,Qr}kv(ue,De)}return typeof De=="function"&&Tv(ue),null}function Q(ue,De,ce,$e){var lt=De!==null?De.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number")return lt!==null?null:y(ue,De,""+ce,$e);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return ce.key===lt?C(ue,De,ce,$e):null;case re:return ce.key===lt?E(ue,De,ce,$e):null;case Je:{var rt=ce._payload,jt=ce._init;return Q(ue,De,jt(rt),$e)}}if(tn(ce)||Ga(ce))return lt!==null?null:A(ue,De,ce,$e,null);kv(ue,ce)}return typeof ce=="function"&&Tv(ue),null}function me(ue,De,ce,$e,lt){if(typeof $e=="string"&&$e!==""||typeof $e=="number"){var rt=ue.get(ce)||null;return y(De,rt,""+$e,lt)}if(typeof $e=="object"&&$e!==null){switch($e.$$typeof){case V:{var jt=ue.get($e.key===null?ce:$e.key)||null;return C(De,jt,$e,lt)}case re:{var Gt=ue.get($e.key===null?ce:$e.key)||null;return E(De,Gt,$e,lt)}case Je:var Qr=$e._payload,Ar=$e._init;return me(ue,De,ce,Ar(Qr),lt)}if(tn($e)||Ga($e)){var Ua=ue.get(ce)||null;return A(De,Ua,$e,lt,null)}kv(De,$e)}return typeof $e=="function"&&Tv(De),null}function ve(ue,De,ce){{if(typeof ue!="object"||ue===null)return De;switch(ue.$$typeof){case V:case re:ax(ue,ce);var $e=ue.key;if(typeof $e!="string")break;if(De===null){De=new Set,De.add($e);break}if(!De.has($e)){De.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 Je:var lt=ue._payload,rt=ue._init;ve(rt(lt),De,ce);break}}return De}function Ce(ue,De,ce,$e){for(var lt=null,rt=0;rt<ce.length;rt++){var jt=ce[rt];lt=ve(jt,lt,ue)}for(var Gt=null,Qr=null,Ar=De,Ua=0,Lr=0,Pa=null;Ar!==null&&Lr<ce.length;Lr++){Ar.index>Lr?(Pa=Ar,Ar=null):Pa=Ar.sibling;var Fn=Q(ue,Ar,ce[Lr],$e);if(Fn===null){Ar===null&&(Ar=Pa);break}e&&Ar&&Fn.alternate===null&&t(ue,Ar),Ua=d(Fn,Ua,Lr),Qr===null?Gt=Fn:Qr.sibling=Fn,Qr=Fn,Ar=Pa}if(Lr===ce.length){if(n(ue,Ar),kn()){var Nn=Lr;zc(ue,Nn)}return Gt}if(Ar===null){for(;Lr<ce.length;Lr++){var Ho=Z(ue,ce[Lr],$e);Ho!==null&&(Ua=d(Ho,Ua,Lr),Qr===null?Gt=Ho:Qr.sibling=Ho,Qr=Ho)}if(kn()){var Jn=Lr;zc(ue,Jn)}return Gt}for(var Zn=i(ue,Ar);Lr<ce.length;Lr++){var jn=me(Zn,ue,Lr,ce[Lr],$e);jn!==null&&(e&&jn.alternate!==null&&Zn.delete(jn.key===null?Lr:jn.key),Ua=d(jn,Ua,Lr),Qr===null?Gt=jn:Qr.sibling=jn,Qr=jn)}if(e&&Zn.forEach(function(kd){return t(ue,kd)}),kn()){var au=Lr;zc(ue,au)}return Gt}function et(ue,De,ce,$e){var lt=Ga(ce);if(typeof lt!="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"&&ce[Symbol.toStringTag]==="Generator"&&(P1||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."),P1=!0),ce.entries===lt&&(M1||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M1=!0);var rt=lt.call(ce);if(rt)for(var jt=null,Gt=rt.next();!Gt.done;Gt=rt.next()){var Qr=Gt.value;jt=ve(Qr,jt,ue)}}var Ar=lt.call(ce);if(Ar==null)throw new Error("An iterable object provided no iterator.");for(var Ua=null,Lr=null,Pa=De,Fn=0,Nn=0,Ho=null,Jn=Ar.next();Pa!==null&&!Jn.done;Nn++,Jn=Ar.next()){Pa.index>Nn?(Ho=Pa,Pa=null):Ho=Pa.sibling;var Zn=Q(ue,Pa,Jn.value,$e);if(Zn===null){Pa===null&&(Pa=Ho);break}e&&Pa&&Zn.alternate===null&&t(ue,Pa),Fn=d(Zn,Fn,Nn),Lr===null?Ua=Zn:Lr.sibling=Zn,Lr=Zn,Pa=Ho}if(Jn.done){if(n(ue,Pa),kn()){var jn=Nn;zc(ue,jn)}return Ua}if(Pa===null){for(;!Jn.done;Nn++,Jn=Ar.next()){var au=Z(ue,Jn.value,$e);au!==null&&(Fn=d(au,Fn,Nn),Lr===null?Ua=au:Lr.sibling=au,Lr=au)}if(kn()){var kd=Nn;zc(ue,kd)}return Ua}for(var Fh=i(ue,Pa);!Jn.done;Nn++,Jn=Ar.next()){var ys=me(Fh,ue,Nn,Jn.value,$e);ys!==null&&(e&&ys.alternate!==null&&Fh.delete(ys.key===null?Nn:ys.key),Fn=d(ys,Fn,Nn),Lr===null?Ua=ys:Lr.sibling=ys,Lr=ys)}if(e&&Fh.forEach(function(gV){return t(ue,gV)}),kn()){var _V=Nn;zc(ue,_V)}return Ua}function Rt(ue,De,ce,$e){if(De!==null&&De.tag===k){n(ue,De.sibling);var lt=u(De,ce);return lt.return=ue,lt}n(ue,De);var rt=M0(ce,ue.mode,$e);return rt.return=ue,rt}function St(ue,De,ce,$e){for(var lt=ce.key,rt=De;rt!==null;){if(rt.key===lt){var jt=ce.type;if(jt===se){if(rt.tag===L){n(ue,rt.sibling);var Gt=u(rt,ce.props.children);return Gt.return=ue,Gt._debugSource=ce._source,Gt._debugOwner=ce._owner,Gt}}else if(rt.elementType===jt||fk(rt,ce)||typeof jt=="object"&&jt!==null&&jt.$$typeof===Je&&nx(jt)===rt.type){n(ue,rt.sibling);var Qr=u(rt,ce.props);return Qr.ref=lh(ue,rt,ce),Qr.return=ue,Qr._debugSource=ce._source,Qr._debugOwner=ce._owner,Qr}n(ue,rt);break}else t(ue,rt);rt=rt.sibling}if(ce.type===se){var Ar=Ju(ce.props.children,ue.mode,$e,ce.key);return Ar.return=ue,Ar}else{var Ua=O0(ce,ue.mode,$e);return Ua.ref=lh(ue,De,ce),Ua.return=ue,Ua}}function fr(ue,De,ce,$e){for(var lt=ce.key,rt=De;rt!==null;){if(rt.key===lt)if(rt.tag===S&&rt.stateNode.containerInfo===ce.containerInfo&&rt.stateNode.implementation===ce.implementation){n(ue,rt.sibling);var jt=u(rt,ce.children||[]);return jt.return=ue,jt}else{n(ue,rt);break}else t(ue,rt);rt=rt.sibling}var Gt=P0(ce,ue.mode,$e);return Gt.return=ue,Gt}function dr(ue,De,ce,$e){var lt=typeof ce=="object"&&ce!==null&&ce.type===se&&ce.key===null;if(lt&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return v(St(ue,De,ce,$e));case re:return v(fr(ue,De,ce,$e));case Je:var rt=ce._payload,jt=ce._init;return dr(ue,De,jt(rt),$e)}if(tn(ce))return Ce(ue,De,ce,$e);if(Ga(ce))return et(ue,De,ce,$e);kv(ue,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?v(Rt(ue,De,""+ce,$e)):(typeof ce=="function"&&Tv(ue),n(ue,De))}return dr}var ld=ox(!0),ix=ox(!1);function UF(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,i=Xc(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Xc(n,n.pendingProps),i.return=t;i.sibling=null}}function VF(e,t){for(var n=e.child;n!==null;)PU(n,t),n=n.sibling}var F1=Bu(null),j1;j1={};var Ev=null,sd=null,H1=null,Rv=!1;function Dv(){Ev=null,sd=null,H1=null,Rv=!1}function lx(){Rv=!0}function sx(){Rv=!1}function ux(e,t,n){zn(F1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==j1&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=j1}function U1(e,t){var n=F1.current;In(F1,t),e._currentValue=n}function V1(e,t,n){for(var i=e;i!==null;){var u=i.alternate;if(Yf(i.childLanes,t)?u!==null&&!Yf(u.childLanes,t)&&(u.childLanes=or(u.childLanes,t)):(i.childLanes=or(i.childLanes,t),u!==null&&(u.childLanes=or(u.childLanes,t))),i===n)break;i=i.return}i!==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 WF(e,t,n){qF(e,t,n)}function qF(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,d=i.dependencies;if(d!==null){u=i.child;for(var v=d.firstContext;v!==null;){if(v.context===t){if(i.tag===m){var y=kp(n),C=Qs(va,y);C.tag=Lv;var E=i.updateQueue;if(E!==null){var A=E.shared,Z=A.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),A.pending=C}}i.lanes=or(i.lanes,n);var Q=i.alternate;Q!==null&&(Q.lanes=or(Q.lanes,n)),V1(i.return,n,e),d.lanes=or(d.lanes,n);break}v=v.next}}else if(i.tag===O)u=i.type===e.type?null:i.child;else if(i.tag===ye){var me=i.return;if(me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");me.lanes=or(me.lanes,n);var ve=me.alternate;ve!==null&&(ve.lanes=or(ve.lanes,n)),V1(me,n,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var Ce=u.sibling;if(Ce!==null){Ce.return=u.return,u=Ce;break}u=u.return}i=u}}function ud(e,t){Ev=e,sd=null,H1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Po(n.lanes,t)&&wh(),n.firstContext=null)}}function Qa(e){Rv&&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(H1!==e){var n={context:e,memoizedValue:t,next:null};if(sd===null){if(Ev===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().");sd=n,Ev.dependencies={lanes:ze,firstContext:n}}else sd=sd.next=n}return t}var Uc=null;function W1(e){Uc===null?Uc=[e]:Uc.push(e)}function YF(){if(Uc!==null){for(var e=0;e<Uc.length;e++){var t=Uc[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,u=t.pending;if(u!==null){var d=u.next;u.next=i,n.next=d}t.pending=n}}Uc=null}}function cx(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n,Av(e,i)}function $F(e,t,n,i){var u=t.interleaved;u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n}function GF(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n,Av(e,i)}function bo(e,t){return Av(e,t)}var KF=Av;function Av(e,t){e.lanes=or(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=or(n.lanes,t)),n===null&&(e.flags&(Xa|js))!==zt&&lk(e);for(var i=e,u=e.return;u!==null;)u.childLanes=or(u.childLanes,t),n=u.alternate,n!==null?n.childLanes=or(n.childLanes,t):(u.flags&(Xa|js))!==zt&&lk(e),i=u,u=u.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var fx=0,dx=1,Lv=2,q1=3,Nv=!1,Y1,Ov;Y1=!1,Ov=null;function $1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ze},effects:null};e.updateQueue=t}function px(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function Qs(e,t){var n={eventTime:e,lane:t,tag:fx,payload:null,callback:null,next:null};return n}function Uu(e,t,n){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(Ov===u&&!Y1&&(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."),Y1=!0),JH()){var d=u.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),u.pending=t,KF(e,n)}else return GF(e,u,t,n)}function Mv(e,t,n){var i=t.updateQueue;if(i!==null){var u=i.shared;if(TC(n)){var d=u.lanes;d=RC(d,e.pendingLanes);var v=or(d,n);u.lanes=v,Fb(e,v)}}}function G1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(n===u){var d=null,v=null,y=n.firstBaseUpdate;if(y!==null){var C=y;do{var E={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};v===null?d=v=E:(v.next=E,v=E),C=C.next}while(C!==null);v===null?d=v=t:(v.next=t,v=t)}else d=v=t;n={baseState:u.baseState,firstBaseUpdate:d,lastBaseUpdate:v,shared:u.shared,effects:u.effects},e.updateQueue=n;return}}var A=n.lastBaseUpdate;A===null?n.firstBaseUpdate=t:A.next=t,n.lastBaseUpdate=t}function XF(e,t,n,i,u,d){switch(n.tag){case dx:{var v=n.payload;if(typeof v=="function"){lx();var y=v.call(d,i,u);{if(e.mode&Ma){vn(!0);try{v.call(d,i,u)}finally{vn(!1)}}sx()}return y}return v}case q1:e.flags=e.flags&~Gn|Pr;case fx:{var C=n.payload,E;if(typeof C=="function"){lx(),E=C.call(d,i,u);{if(e.mode&Ma){vn(!0);try{C.call(d,i,u)}finally{vn(!1)}}sx()}}else E=C;return E==null?i:Nt({},i,E)}case Lv:return Nv=!0,i}return i}function Pv(e,t,n,i){var u=e.updateQueue;Nv=!1,Ov=u.shared;var d=u.firstBaseUpdate,v=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var C=y,E=C.next;C.next=null,v===null?d=E:v.next=E,v=C;var A=e.alternate;if(A!==null){var Z=A.updateQueue,Q=Z.lastBaseUpdate;Q!==v&&(Q===null?Z.firstBaseUpdate=E:Q.next=E,Z.lastBaseUpdate=C)}}if(d!==null){var me=u.baseState,ve=ze,Ce=null,et=null,Rt=null,St=d;do{var fr=St.lane,dr=St.eventTime;if(Yf(i,fr)){if(Rt!==null){var De={eventTime:dr,lane:_n,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt=Rt.next=De}me=XF(e,u,St,me,t,n);var ce=St.callback;if(ce!==null&&St.lane!==_n){e.flags|=ib;var $e=u.effects;$e===null?u.effects=[St]:$e.push(St)}}else{var ue={eventTime:dr,lane:fr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt===null?(et=Rt=ue,Ce=me):Rt=Rt.next=ue,ve=or(ve,fr)}if(St=St.next,St===null){if(y=u.shared.pending,y===null)break;var lt=y,rt=lt.next;lt.next=null,St=rt,u.lastBaseUpdate=lt,u.shared.pending=null}}while(!0);Rt===null&&(Ce=me),u.baseState=Ce,u.firstBaseUpdate=et,u.lastBaseUpdate=Rt;var jt=u.shared.interleaved;if(jt!==null){var Gt=jt;do ve=or(ve,Gt.lane),Gt=Gt.next;while(Gt!==jt)}else d===null&&(u.shared.lanes=ze);Mh(ve),e.lanes=ve,e.memoizedState=me}Ov=null}function QF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function hx(){Nv=!1}function Iv(){return Nv}function mx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var d=i[u],v=d.callback;v!==null&&(d.callback=null,QF(v,n))}}var sh={},Vu=Bu(sh),uh=Bu(sh),zv=Bu(sh);function Bv(e){if(e===sh)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 vx(){var e=Bv(zv.current);return e}function K1(e,t){zn(zv,t,e),zn(uh,e,e),zn(Vu,sh,e);var n=hB(t);In(Vu,e),zn(Vu,n,e)}function cd(e){In(Vu,e),In(uh,e),In(zv,e)}function X1(){var e=Bv(Vu.current);return e}function _x(e){var t=Bv(zv.current),n=Bv(Vu.current),i=mB(n,e.type);n!==i&&(zn(uh,e,e),zn(Vu,i,e))}function Q1(e){uh.current===e&&(In(Vu,e),In(uh,e))}var JF=0,gx=1,bx=1,ch=2,Fl=Bu(JF);function J1(e,t){return(e&t)!==0}function fd(e){return e&gx}function Z1(e,t){return e&gx|t}function ZF(e,t){return e|t}function Wu(e,t){zn(Fl,t,e)}function dd(e){In(Fl,e)}function ej(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Fv(e){for(var t=e;t!==null;){if(t.tag===J){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||I3(i)||_1(i))return t}}else if(t.tag===Se&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&Pr)!==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 yo=0,rn=1,ps=2,an=4,Tn=8,ey=[];function ty(){for(var e=0;e<ey.length;e++){var t=ey[e];t._workInProgressVersionPrimary=null}ey.length=0}function tj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ot=o.ReactCurrentDispatcher,fh=o.ReactCurrentBatchConfig,ry,pd;ry=new Set;var Vc=ze,Xr=null,nn=null,on=null,jv=!1,dh=!1,ph=0,rj=0,aj=25,Le=null,bl=null,qu=-1,ay=!1;function Br(){{var e=Le;bl===null?bl=[e]:bl.push(e)}}function Ze(){{var e=Le;bl!==null&&(qu++,bl[qu]!==e&&nj(e))}}function hd(e){e!=null&&!tn(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 nj(e){{var t=Zt(Xr);if(!ry.has(t)&&(ry.add(t),bl!==null)){for(var n="",i=30,u=0;u<=qu;u++){for(var d=bl[u],v=u===qu?e:d,y=u+1+". "+d;y.length<i;)y+=" ";y+=v+`
71
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function kv(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 Tv(e){{var t=Zt(e)||"Component";if(B1[t])return;B1[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 nx(e){var t=e._payload,n=e._init;return n(t)}function ox(e){function t(ue,De){if(e){var ce=ue.deletions;ce===null?(ue.deletions=[De],ue.flags|=Cc):ce.push(De)}}function n(ue,De){if(!e)return null;for(var ce=De;ce!==null;)t(ue,ce),ce=ce.sibling;return null}function i(ue,De){for(var ce=new Map,qe=De;qe!==null;)qe.key!==null?ce.set(qe.key,qe):ce.set(qe.index,qe),qe=qe.sibling;return ce}function u(ue,De){var ce=Qc(ue,De);return ce.index=0,ce.sibling=null,ce}function d(ue,De,ce){if(ue.index=ce,!e)return ue.flags|=sC,De;var qe=ue.alternate;if(qe!==null){var ut=qe.index;return ut<De?(ue.flags|=Xa,De):ut}else return ue.flags|=Xa,De}function v(ue){return e&&ue.alternate===null&&(ue.flags|=Xa),ue}function y(ue,De,ce,qe){if(De===null||De.tag!==k){var ut=M0(ce,ue.mode,qe);return ut.return=ue,ut}else{var at=u(De,ce);return at.return=ue,at}}function C(ue,De,ce,qe){var ut=ce.type;if(ut===se)return A(ue,De,ce.props.children,qe,ce.key);if(De!==null&&(De.elementType===ut||fk(De,ce)||typeof ut=="object"&&ut!==null&&ut.$$typeof===Je&&nx(ut)===De.type)){var at=u(De,ce.props);return at.ref=lh(ue,De,ce),at.return=ue,at._debugSource=ce._source,at._debugOwner=ce._owner,at}var Ht=O0(ce,ue.mode,qe);return Ht.ref=lh(ue,De,ce),Ht.return=ue,Ht}function E(ue,De,ce,qe){if(De===null||De.tag!==S||De.stateNode.containerInfo!==ce.containerInfo||De.stateNode.implementation!==ce.implementation){var ut=P0(ce,ue.mode,qe);return ut.return=ue,ut}else{var at=u(De,ce.children||[]);return at.return=ue,at}}function A(ue,De,ce,qe,ut){if(De===null||De.tag!==L){var at=Ju(ce,ue.mode,qe,ut);return at.return=ue,at}else{var Ht=u(De,ce);return Ht.return=ue,Ht}}function Z(ue,De,ce){if(typeof De=="string"&&De!==""||typeof De=="number"){var qe=M0(""+De,ue.mode,ce);return qe.return=ue,qe}if(typeof De=="object"&&De!==null){switch(De.$$typeof){case V:{var ut=O0(De,ue.mode,ce);return ut.ref=lh(ue,null,De),ut.return=ue,ut}case ae:{var at=P0(De,ue.mode,ce);return at.return=ue,at}case Je:{var Ht=De._payload,Gt=De._init;return Z(ue,Gt(Ht),ce)}}if(tn(De)||Ga(De)){var Qr=Ju(De,ue.mode,ce,null);return Qr.return=ue,Qr}kv(ue,De)}return typeof De=="function"&&Tv(ue),null}function J(ue,De,ce,qe){var ut=De!==null?De.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number")return ut!==null?null:y(ue,De,""+ce,qe);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return ce.key===ut?C(ue,De,ce,qe):null;case ae:return ce.key===ut?E(ue,De,ce,qe):null;case Je:{var at=ce._payload,Ht=ce._init;return J(ue,De,Ht(at),qe)}}if(tn(ce)||Ga(ce))return ut!==null?null:A(ue,De,ce,qe,null);kv(ue,ce)}return typeof ce=="function"&&Tv(ue),null}function me(ue,De,ce,qe,ut){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var at=ue.get(ce)||null;return y(De,at,""+qe,ut)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case V:{var Ht=ue.get(qe.key===null?ce:qe.key)||null;return C(De,Ht,qe,ut)}case ae:{var Gt=ue.get(qe.key===null?ce:qe.key)||null;return E(De,Gt,qe,ut)}case Je:var Qr=qe._payload,Ar=qe._init;return me(ue,De,ce,Ar(Qr),ut)}if(tn(qe)||Ga(qe)){var Ua=ue.get(ce)||null;return A(De,Ua,qe,ut,null)}kv(De,qe)}return typeof qe=="function"&&Tv(De),null}function ve(ue,De,ce){{if(typeof ue!="object"||ue===null)return De;switch(ue.$$typeof){case V:case ae:ax(ue,ce);var qe=ue.key;if(typeof qe!="string")break;if(De===null){De=new Set,De.add(qe);break}if(!De.has(qe)){De.add(qe);break}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.",qe);break;case Je:var ut=ue._payload,at=ue._init;ve(at(ut),De,ce);break}}return De}function we(ue,De,ce,qe){for(var ut=null,at=0;at<ce.length;at++){var Ht=ce[at];ut=ve(Ht,ut,ue)}for(var Gt=null,Qr=null,Ar=De,Ua=0,Lr=0,Pa=null;Ar!==null&&Lr<ce.length;Lr++){Ar.index>Lr?(Pa=Ar,Ar=null):Pa=Ar.sibling;var Fn=J(ue,Ar,ce[Lr],qe);if(Fn===null){Ar===null&&(Ar=Pa);break}e&&Ar&&Fn.alternate===null&&t(ue,Ar),Ua=d(Fn,Ua,Lr),Qr===null?Gt=Fn:Qr.sibling=Fn,Qr=Fn,Ar=Pa}if(Lr===ce.length){if(n(ue,Ar),kn()){var Nn=Lr;Bc(ue,Nn)}return Gt}if(Ar===null){for(;Lr<ce.length;Lr++){var Ho=Z(ue,ce[Lr],qe);Ho!==null&&(Ua=d(Ho,Ua,Lr),Qr===null?Gt=Ho:Qr.sibling=Ho,Qr=Ho)}if(kn()){var Qn=Lr;Bc(ue,Qn)}return Gt}for(var Jn=i(ue,Ar);Lr<ce.length;Lr++){var jn=me(Jn,ue,Lr,ce[Lr],qe);jn!==null&&(e&&jn.alternate!==null&&Jn.delete(jn.key===null?Lr:jn.key),Ua=d(jn,Ua,Lr),Qr===null?Gt=jn:Qr.sibling=jn,Qr=jn)}if(e&&Jn.forEach(function(Td){return t(ue,Td)}),kn()){var au=Lr;Bc(ue,au)}return Gt}function rt(ue,De,ce,qe){var ut=Ga(ce);if(typeof ut!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&ce[Symbol.toStringTag]==="Generator"&&(P1||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."),P1=!0),ce.entries===ut&&(M1||c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M1=!0);var at=ut.call(ce);if(at)for(var Ht=null,Gt=at.next();!Gt.done;Gt=at.next()){var Qr=Gt.value;Ht=ve(Qr,Ht,ue)}}var Ar=ut.call(ce);if(Ar==null)throw new Error("An iterable object provided no iterator.");for(var Ua=null,Lr=null,Pa=De,Fn=0,Nn=0,Ho=null,Qn=Ar.next();Pa!==null&&!Qn.done;Nn++,Qn=Ar.next()){Pa.index>Nn?(Ho=Pa,Pa=null):Ho=Pa.sibling;var Jn=J(ue,Pa,Qn.value,qe);if(Jn===null){Pa===null&&(Pa=Ho);break}e&&Pa&&Jn.alternate===null&&t(ue,Pa),Fn=d(Jn,Fn,Nn),Lr===null?Ua=Jn:Lr.sibling=Jn,Lr=Jn,Pa=Ho}if(Qn.done){if(n(ue,Pa),kn()){var jn=Nn;Bc(ue,jn)}return Ua}if(Pa===null){for(;!Qn.done;Nn++,Qn=Ar.next()){var au=Z(ue,Qn.value,qe);au!==null&&(Fn=d(au,Fn,Nn),Lr===null?Ua=au:Lr.sibling=au,Lr=au)}if(kn()){var Td=Nn;Bc(ue,Td)}return Ua}for(var Fh=i(ue,Pa);!Qn.done;Nn++,Qn=Ar.next()){var ys=me(Fh,ue,Nn,Qn.value,qe);ys!==null&&(e&&ys.alternate!==null&&Fh.delete(ys.key===null?Nn:ys.key),Fn=d(ys,Fn,Nn),Lr===null?Ua=ys:Lr.sibling=ys,Lr=ys)}if(e&&Fh.forEach(function(gV){return t(ue,gV)}),kn()){var _V=Nn;Bc(ue,_V)}return Ua}function Rt(ue,De,ce,qe){if(De!==null&&De.tag===k){n(ue,De.sibling);var ut=u(De,ce);return ut.return=ue,ut}n(ue,De);var at=M0(ce,ue.mode,qe);return at.return=ue,at}function St(ue,De,ce,qe){for(var ut=ce.key,at=De;at!==null;){if(at.key===ut){var Ht=ce.type;if(Ht===se){if(at.tag===L){n(ue,at.sibling);var Gt=u(at,ce.props.children);return Gt.return=ue,Gt._debugSource=ce._source,Gt._debugOwner=ce._owner,Gt}}else if(at.elementType===Ht||fk(at,ce)||typeof Ht=="object"&&Ht!==null&&Ht.$$typeof===Je&&nx(Ht)===at.type){n(ue,at.sibling);var Qr=u(at,ce.props);return Qr.ref=lh(ue,at,ce),Qr.return=ue,Qr._debugSource=ce._source,Qr._debugOwner=ce._owner,Qr}n(ue,at);break}else t(ue,at);at=at.sibling}if(ce.type===se){var Ar=Ju(ce.props.children,ue.mode,qe,ce.key);return Ar.return=ue,Ar}else{var Ua=O0(ce,ue.mode,qe);return Ua.ref=lh(ue,De,ce),Ua.return=ue,Ua}}function dr(ue,De,ce,qe){for(var ut=ce.key,at=De;at!==null;){if(at.key===ut)if(at.tag===S&&at.stateNode.containerInfo===ce.containerInfo&&at.stateNode.implementation===ce.implementation){n(ue,at.sibling);var Ht=u(at,ce.children||[]);return Ht.return=ue,Ht}else{n(ue,at);break}else t(ue,at);at=at.sibling}var Gt=P0(ce,ue.mode,qe);return Gt.return=ue,Gt}function pr(ue,De,ce,qe){var ut=typeof ce=="object"&&ce!==null&&ce.type===se&&ce.key===null;if(ut&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return v(St(ue,De,ce,qe));case ae:return v(dr(ue,De,ce,qe));case Je:var at=ce._payload,Ht=ce._init;return pr(ue,De,Ht(at),qe)}if(tn(ce))return we(ue,De,ce,qe);if(Ga(ce))return rt(ue,De,ce,qe);kv(ue,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?v(Rt(ue,De,""+ce,qe)):(typeof ce=="function"&&Tv(ue),n(ue,De))}return pr}var sd=ox(!0),ix=ox(!1);function UF(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,i=Qc(n,n.pendingProps);for(t.child=i,i.return=t;n.sibling!==null;)n=n.sibling,i=i.sibling=Qc(n,n.pendingProps),i.return=t;i.sibling=null}}function VF(e,t){for(var n=e.child;n!==null;)PU(n,t),n=n.sibling}var F1=Bu(null),j1;j1={};var Ev=null,ud=null,H1=null,Rv=!1;function Dv(){Ev=null,ud=null,H1=null,Rv=!1}function lx(){Rv=!0}function sx(){Rv=!1}function ux(e,t,n){zn(F1,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==j1&&c("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=j1}function U1(e,t){var n=F1.current;In(F1,t),e._currentValue=n}function V1(e,t,n){for(var i=e;i!==null;){var u=i.alternate;if($f(i.childLanes,t)?u!==null&&!$f(u.childLanes,t)&&(u.childLanes=or(u.childLanes,t)):(i.childLanes=or(i.childLanes,t),u!==null&&(u.childLanes=or(u.childLanes,t))),i===n)break;i=i.return}i!==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 WF(e,t,n){qF(e,t,n)}function qF(e,t,n){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,d=i.dependencies;if(d!==null){u=i.child;for(var v=d.firstContext;v!==null;){if(v.context===t){if(i.tag===m){var y=kp(n),C=Qs(va,y);C.tag=Lv;var E=i.updateQueue;if(E!==null){var A=E.shared,Z=A.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),A.pending=C}}i.lanes=or(i.lanes,n);var J=i.alternate;J!==null&&(J.lanes=or(J.lanes,n)),V1(i.return,n,e),d.lanes=or(d.lanes,n);break}v=v.next}}else if(i.tag===O)u=i.type===e.type?null:i.child;else if(i.tag===be){var me=i.return;if(me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");me.lanes=or(me.lanes,n);var ve=me.alternate;ve!==null&&(ve.lanes=or(ve.lanes,n)),V1(me,n,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var we=u.sibling;if(we!==null){we.return=u.return,u=we;break}u=u.return}i=u}}function cd(e,t){Ev=e,ud=null,H1=null;var n=e.dependencies;if(n!==null){var i=n.firstContext;i!==null&&(Po(n.lanes,t)&&wh(),n.firstContext=null)}}function Qa(e){Rv&&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(H1!==e){var n={context:e,memoizedValue:t,next:null};if(ud===null){if(Ev===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().");ud=n,Ev.dependencies={lanes:ze,firstContext:n}}else ud=ud.next=n}return t}var Vc=null;function W1(e){Vc===null?Vc=[e]:Vc.push(e)}function YF(){if(Vc!==null){for(var e=0;e<Vc.length;e++){var t=Vc[e],n=t.interleaved;if(n!==null){t.interleaved=null;var i=n.next,u=t.pending;if(u!==null){var d=u.next;u.next=i,n.next=d}t.pending=n}}Vc=null}}function cx(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n,Av(e,i)}function $F(e,t,n,i){var u=t.interleaved;u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n}function GF(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,W1(t)):(n.next=u.next,u.next=n),t.interleaved=n,Av(e,i)}function go(e,t){return Av(e,t)}var KF=Av;function Av(e,t){e.lanes=or(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=or(n.lanes,t)),n===null&&(e.flags&(Xa|js))!==zt&&lk(e);for(var i=e,u=e.return;u!==null;)u.childLanes=or(u.childLanes,t),n=u.alternate,n!==null?n.childLanes=or(n.childLanes,t):(u.flags&(Xa|js))!==zt&&lk(e),i=u,u=u.return;if(i.tag===b){var d=i.stateNode;return d}else return null}var fx=0,dx=1,Lv=2,q1=3,Nv=!1,Y1,Ov;Y1=!1,Ov=null;function $1(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ze},effects:null};e.updateQueue=t}function px(e,t){var n=t.updateQueue,i=e.updateQueue;if(n===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function Qs(e,t){var n={eventTime:e,lane:t,tag:fx,payload:null,callback:null,next:null};return n}function Uu(e,t,n){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(Ov===u&&!Y1&&(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."),Y1=!0),JH()){var d=u.pending;return d===null?t.next=t:(t.next=d.next,d.next=t),u.pending=t,KF(e,n)}else return GF(e,u,t,n)}function Mv(e,t,n){var i=t.updateQueue;if(i!==null){var u=i.shared;if(TC(n)){var d=u.lanes;d=RC(d,e.pendingLanes);var v=or(d,n);u.lanes=v,Fb(e,v)}}}function G1(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(n===u){var d=null,v=null,y=n.firstBaseUpdate;if(y!==null){var C=y;do{var E={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};v===null?d=v=E:(v.next=E,v=E),C=C.next}while(C!==null);v===null?d=v=t:(v.next=t,v=t)}else d=v=t;n={baseState:u.baseState,firstBaseUpdate:d,lastBaseUpdate:v,shared:u.shared,effects:u.effects},e.updateQueue=n;return}}var A=n.lastBaseUpdate;A===null?n.firstBaseUpdate=t:A.next=t,n.lastBaseUpdate=t}function XF(e,t,n,i,u,d){switch(n.tag){case dx:{var v=n.payload;if(typeof v=="function"){lx();var y=v.call(d,i,u);{if(e.mode&Ma){_n(!0);try{v.call(d,i,u)}finally{_n(!1)}}sx()}return y}return v}case q1:e.flags=e.flags&~$n|Pr;case fx:{var C=n.payload,E;if(typeof C=="function"){lx(),E=C.call(d,i,u);{if(e.mode&Ma){_n(!0);try{C.call(d,i,u)}finally{_n(!1)}}sx()}}else E=C;return E==null?i:Nt({},i,E)}case Lv:return Nv=!0,i}return i}function Pv(e,t,n,i){var u=e.updateQueue;Nv=!1,Ov=u.shared;var d=u.firstBaseUpdate,v=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var C=y,E=C.next;C.next=null,v===null?d=E:v.next=E,v=C;var A=e.alternate;if(A!==null){var Z=A.updateQueue,J=Z.lastBaseUpdate;J!==v&&(J===null?Z.firstBaseUpdate=E:J.next=E,Z.lastBaseUpdate=C)}}if(d!==null){var me=u.baseState,ve=ze,we=null,rt=null,Rt=null,St=d;do{var dr=St.lane,pr=St.eventTime;if($f(i,dr)){if(Rt!==null){var De={eventTime:pr,lane:gn,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt=Rt.next=De}me=XF(e,u,St,me,t,n);var ce=St.callback;if(ce!==null&&St.lane!==gn){e.flags|=ib;var qe=u.effects;qe===null?u.effects=[St]:qe.push(St)}}else{var ue={eventTime:pr,lane:dr,tag:St.tag,payload:St.payload,callback:St.callback,next:null};Rt===null?(rt=Rt=ue,we=me):Rt=Rt.next=ue,ve=or(ve,dr)}if(St=St.next,St===null){if(y=u.shared.pending,y===null)break;var ut=y,at=ut.next;ut.next=null,St=at,u.lastBaseUpdate=ut,u.shared.pending=null}}while(!0);Rt===null&&(we=me),u.baseState=we,u.firstBaseUpdate=rt,u.lastBaseUpdate=Rt;var Ht=u.shared.interleaved;if(Ht!==null){var Gt=Ht;do ve=or(ve,Gt.lane),Gt=Gt.next;while(Gt!==Ht)}else d===null&&(u.shared.lanes=ze);Mh(ve),e.lanes=ve,e.memoizedState=me}Ov=null}function QF(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function hx(){Nv=!1}function Iv(){return Nv}function mx(e,t,n){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var d=i[u],v=d.callback;v!==null&&(d.callback=null,QF(v,n))}}var sh={},Vu=Bu(sh),uh=Bu(sh),zv=Bu(sh);function Bv(e){if(e===sh)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 vx(){var e=Bv(zv.current);return e}function K1(e,t){zn(zv,t,e),zn(uh,e,e),zn(Vu,sh,e);var n=hB(t);In(Vu,e),zn(Vu,n,e)}function fd(e){In(Vu,e),In(uh,e),In(zv,e)}function X1(){var e=Bv(Vu.current);return e}function _x(e){var t=Bv(zv.current),n=Bv(Vu.current),i=mB(n,e.type);n!==i&&(zn(uh,e,e),zn(Vu,i,e))}function Q1(e){uh.current===e&&(In(Vu,e),In(uh,e))}var JF=0,gx=1,bx=1,ch=2,jl=Bu(JF);function J1(e,t){return(e&t)!==0}function dd(e){return e&gx}function Z1(e,t){return e&gx|t}function ZF(e,t){return e|t}function Wu(e,t){zn(jl,t,e)}function pd(e){In(jl,e)}function ej(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var i=e.memoizedProps;return!0}function Fv(e){for(var t=e;t!==null;){if(t.tag===Q){var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(i===null||I3(i)||_1(i))return t}}else if(t.tag===ye&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&Pr)!==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 bo=0,rn=1,ps=2,an=4,Tn=8,ey=[];function ty(){for(var e=0;e<ey.length;e++){var t=ey[e];t._workInProgressVersionPrimary=null}ey.length=0}function tj(e,t){var n=t._getVersion,i=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ot=o.ReactCurrentDispatcher,fh=o.ReactCurrentBatchConfig,ry,hd;ry=new Set;var Wc=ze,Xr=null,nn=null,on=null,jv=!1,dh=!1,ph=0,rj=0,aj=25,Le=null,bl=null,qu=-1,ay=!1;function Br(){{var e=Le;bl===null?bl=[e]:bl.push(e)}}function tt(){{var e=Le;bl!==null&&(qu++,bl[qu]!==e&&nj(e))}}function md(e){e!=null&&!tn(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 nj(e){{var t=Zt(Xr);if(!ry.has(t)&&(ry.add(t),bl!==null)){for(var n="",i=30,u=0;u<=qu;u++){for(var d=bl[u],v=u===qu?e:d,y=u+1+". "+d;y.length<i;)y+=" ";y+=v+`
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,25 +81,25 @@ 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 ny(e,t){if(ay)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(!Bo(e[n],t[n]))return!1;return!0}function md(e,t,n,i,u,d){Vc=d,Xr=t,bl=e!==null?e._debugHookTypes:null,qu=-1,ay=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ze,e!==null&&e.memoizedState!==null?ot.current=Hx:bl!==null?ot.current=jx:ot.current=Fx;var v=n(i,u);if(dh){var y=0;do{if(dh=!1,ph=0,y>=aj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,ay=!1,nn=null,on=null,t.updateQueue=null,qu=-1,ot.current=Ux,v=n(i,u)}while(dh)}ot.current=Zv,t._debugHookTypes=bl;var C=nn!==null&&nn.next!==null;if(Vc=ze,Xr=null,nn=null,on=null,Le=null,bl=null,qu=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&vr)!==Ot&&c("Internal React error: Expected static flag was missing. Please notify the React team."),jv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return v}function vd(){var e=ph!==0;return ph=0,e}function yx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&us)!==Ot?t.flags&=~(Mm|Hs|Ol|wr):t.flags&=~(Ol|wr),e.lanes=Hm(e.lanes,n)}function Sx(){if(ot.current=Zv,jv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}jv=!1}Vc=ze,Xr=null,nn=null,on=null,bl=null,qu=-1,Le=null,Mx=!1,dh=!1,ph=0}function hs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return on===null?Xr.memoizedState=on=e:on=on.next=e,on}function yl(){var e;if(nn===null){var t=Xr.alternate;t!==null?e=t.memoizedState:e=null}else e=nn.next;var n;if(on===null?n=Xr.memoizedState:n=on.next,n!==null)on=n,n=on.next,nn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");nn=e;var i={memoizedState:nn.memoizedState,baseState:nn.baseState,baseQueue:nn.baseQueue,queue:nn.queue,next:null};on===null?Xr.memoizedState=on=i:on=on.next=i}return on}function wx(){return{lastEffect:null,stores:null}}function oy(e,t){return typeof t=="function"?t(e):t}function iy(e,t,n){var i=hs(),u;n!==void 0?u=n(t):u=t,i.memoizedState=i.baseState=u;var d={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=d;var v=d.dispatch=sj.bind(null,Xr,d);return[i.memoizedState,v]}function ly(e,t,n){var i=yl(),u=i.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 d=nn,v=d.baseQueue,y=u.pending;if(y!==null){if(v!==null){var C=v.next,E=y.next;v.next=E,y.next=C}d.baseQueue!==v&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=v=y,u.pending=null}if(v!==null){var A=v.next,Z=d.baseState,Q=null,me=null,ve=null,Ce=A;do{var et=Ce.lane;if(Yf(Vc,et)){if(ve!==null){var St={lane:_n,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ve=ve.next=St}if(Ce.hasEagerState)Z=Ce.eagerState;else{var fr=Ce.action;Z=e(Z,fr)}}else{var Rt={lane:et,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ve===null?(me=ve=Rt,Q=Z):ve=ve.next=Rt,Xr.lanes=or(Xr.lanes,et),Mh(et)}Ce=Ce.next}while(Ce!==null&&Ce!==A);ve===null?Q=Z:ve.next=me,Bo(Z,i.memoizedState)||wh(),i.memoizedState=Z,i.baseState=Q,i.baseQueue=ve,u.lastRenderedState=Z}var dr=u.interleaved;if(dr!==null){var ue=dr;do{var De=ue.lane;Xr.lanes=or(Xr.lanes,De),Mh(De),ue=ue.next}while(ue!==dr)}else v===null&&(u.lanes=ze);var ce=u.dispatch;return[i.memoizedState,ce]}function sy(e,t,n){var i=yl(),u=i.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 d=u.dispatch,v=u.pending,y=i.memoizedState;if(v!==null){u.pending=null;var C=v.next,E=C;do{var A=E.action;y=e(y,A),E=E.next}while(E!==C);Bo(y,i.memoizedState)||wh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),u.lastRenderedState=y}return[y,d]}function V$(e,t,n){}function W$(e,t,n){}function uy(e,t,n){var i=Xr,u=hs(),d,v=kn();if(v){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=n(),pd||d!==n()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),pd=!0)}else{if(d=t(),!pd){var y=t();Bo(d,y)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),pd=!0)}var C=g_();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");jm(C,Vc)||Cx(i,t,d)}u.memoizedState=d;var E={value:d,getSnapshot:t};return u.queue=E,qv(kx.bind(null,i,E,e),[e]),i.flags|=Ol,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null),d}function Hv(e,t,n){var i=Xr,u=yl(),d=t();if(!pd){var v=t();Bo(d,v)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),pd=!0)}var y=u.memoizedState,C=!Bo(y,d);C&&(u.memoizedState=d,wh());var E=u.queue;if(vh(kx.bind(null,i,E,e),[e]),E.getSnapshot!==t||C||on!==null&&on.memoizedState.tag&rn){i.flags|=Ol,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null);var A=g_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");jm(A,Vc)||Cx(i,t,d)}return d}function Cx(e,t,n){e.flags|=Om;var i={getSnapshot:t,value:n},u=Xr.updateQueue;if(u===null)u=wx(),Xr.updateQueue=u,u.stores=[i];else{var d=u.stores;d===null?u.stores=[i]:d.push(i)}}function xx(e,t,n,i){t.value=n,t.getSnapshot=i,Tx(t)&&Ex(e)}function kx(e,t,n){var i=function(){Tx(t)&&Ex(e)};return n(i)}function Tx(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!Bo(n,i)}catch(u){return!0}}function Ex(e){var t=bo(e,qt);t!==null&&cn(t,e,qt,va)}function Uv(e){var t=hs();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:oy,lastRenderedState:e};t.queue=n;var i=n.dispatch=uj.bind(null,Xr,n);return[t.memoizedState,i]}function cy(e){return ly(oy)}function fy(e){return sy(oy)}function hh(e,t,n,i){var u={tag:e,create:t,destroy:n,deps:i,next:null},d=Xr.updateQueue;if(d===null)d=wx(),Xr.updateQueue=d,d.lastEffect=u.next=u;else{var v=d.lastEffect;if(v===null)d.lastEffect=u.next=u;else{var y=v.next;v.next=u,u.next=y,d.lastEffect=u}}return u}function dy(e){var t=hs();{var n={current:e};return t.memoizedState=n,n}}function Vv(e){var t=yl();return t.memoizedState}function mh(e,t,n,i){var u=hs(),d=i===void 0?null:i;Xr.flags|=e,u.memoizedState=hh(rn|t,n,void 0,d)}function Wv(e,t,n,i){var u=yl(),d=i===void 0?null:i,v=void 0;if(nn!==null){var y=nn.memoizedState;if(v=y.destroy,d!==null){var C=y.deps;if(ny(d,C)){u.memoizedState=hh(t,n,v,d);return}}}Xr.flags|=e,u.memoizedState=hh(rn|t,n,v,d)}function qv(e,t){return(Xr.mode&us)!==Ot?mh(Mm|Ol|ub,Tn,e,t):mh(Ol|ub,Tn,e,t)}function vh(e,t){return Wv(Ol,Tn,e,t)}function py(e,t){return mh(wr,ps,e,t)}function Yv(e,t){return Wv(wr,ps,e,t)}function hy(e,t){var n=wr;return n|=kc,(Xr.mode&us)!==Ot&&(n|=Hs),mh(n,an,e,t)}function $v(e,t){return Wv(wr,an,e,t)}function Rx(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),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 d=e();return u.current=d,function(){u.current=null}}}function my(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 i=n!=null?n.concat([e]):null,u=wr;return u|=kc,(Xr.mode&us)!==Ot&&(u|=Hs),mh(u,an,Rx.bind(null,t,e),i)}function Gv(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 i=n!=null?n.concat([e]):null;return Wv(wr,an,Rx.bind(null,t,e),i)}function oj(e,t){}var Kv=oj;function vy(e,t){var n=hs(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function Xv(e,t){var n=yl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var d=u[1];if(ny(i,d))return u[0]}return n.memoizedState=[e,i],e}function _y(e,t){var n=hs(),i=t===void 0?null:t,u=e();return n.memoizedState=[u,i],u}function Qv(e,t){var n=yl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var d=u[1];if(ny(i,d))return u[0]}var v=e();return n.memoizedState=[v,i],v}function gy(e){var t=hs();return t.memoizedState=e,e}function Dx(e){var t=yl(),n=nn,i=n.memoizedState;return Lx(t,i,e)}function Ax(e){var t=yl();if(nn===null)return t.memoizedState=e,e;var n=nn.memoizedState;return Lx(t,n,e)}function Lx(e,t,n){var i=!WP(Vc);if(i){if(!Bo(n,t)){var u=EC();Xr.lanes=or(Xr.lanes,u),Mh(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,wh()),e.memoizedState=n,n}function ij(e,t,n){var i=Pl();gn(ZP(i,Ws)),e(!0);var u=fh.transition;fh.transition={};var d=fh.transition;fh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(gn(i),fh.transition=u,u===null&&d._updatedFibers){var v=d._updatedFibers.size;v>10&&f("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function by(){var e=Uv(!1),t=e[0],n=e[1],i=ij.bind(null,n),u=hs();return u.memoizedState=i,[t,i]}function Nx(){var e=cy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}function Ox(){var e=fy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}var Mx=!1;function lj(){return Mx}function yy(){var e=hs(),t=g_(),n=t.identifierPrefix,i;if(kn()){var u=xF();i=":"+n+"R"+u;var d=ph++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var v=rj++;i=":"+n+"r"+v.toString(32)+":"}return e.memoizedState=i,i}function Jv(){var e=yl(),t=e.memoizedState;return t}function sj(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 i=Xu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Px(e))Ix(t,u);else{var d=cx(e,t,u,i);if(d!==null){var v=Qn();cn(d,e,i,v),zx(d,t,i)}}Bx(e,i)}function uj(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 i=Xu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Px(e))Ix(t,u);else{var d=e.alternate;if(e.lanes===ze&&(d===null||d.lanes===ze)){var v=t.lastRenderedReducer;if(v!==null){var y;y=ot.current,ot.current=jl;try{var C=t.lastRenderedState,E=v(C,n);if(u.hasEagerState=!0,u.eagerState=E,Bo(E,C)){$F(e,t,u,i);return}}catch(Q){}finally{ot.current=y}}}var A=cx(e,t,u,i);if(A!==null){var Z=Qn();cn(A,e,i,Z),zx(A,t,i)}}Bx(e,i)}function Px(e){var t=e.alternate;return e===Xr||t!==null&&t===Xr}function Ix(e,t){dh=jv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zx(e,t,n){if(TC(n)){var i=t.lanes;i=RC(i,e.pendingLanes);var u=or(i,n);t.lanes=u,Fb(e,u)}}function Bx(e,t,n){hb(e,t)}var Zv={readContext:Qa,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useInsertionEffect:Bn,useLayoutEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useMutableSource:Bn,useSyncExternalStore:Bn,useId:Bn,unstable_isNewReconciler:ne},Fx=null,jx=null,Hx=null,Ux=null,ms=null,jl=null,e_=null;{var Sy=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().")},Yt=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")};Fx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Br(),hd(t),vy(e,t)},useContext:function(e){return Le="useContext",Br(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Br(),hd(t),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Br(),hd(n),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Br(),hd(t),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Br(),hd(t),hy(e,t)},useMemo:function(e,t){Le="useMemo",Br(),hd(t);var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Br();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Br(),dy(e)},useState:function(e){Le="useState",Br();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Br(),gy(e)},useTransition:function(){return Le="useTransition",Br(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Br(),uy(e,t,n)},useId:function(){return Le="useId",Br(),yy()},unstable_isNewReconciler:ne},jx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),vy(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),hy(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),dy(e)},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),gy(e)},useTransition:function(){return Le="useTransition",Ze(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),uy(e,t,n)},useId:function(){return Le="useId",Ze(),yy()},unstable_isNewReconciler:ne},Hx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),Xv(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),$v(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=jl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=jl;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),Vv()},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=jl;try{return cy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),Dx(e)},useTransition:function(){return Le="useTransition",Ze(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),Hv(e,t)},useId:function(){return Le="useId",Ze(),Jv()},unstable_isNewReconciler:ne},Ux={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Ze(),Xv(e,t)},useContext:function(e){return Le="useContext",Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Ze(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Ze(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Ze(),$v(e,t)},useMemo:function(e,t){Le="useMemo",Ze();var n=ot.current;ot.current=e_;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Ze();var i=ot.current;ot.current=e_;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Ze(),Vv()},useState:function(e){Le="useState",Ze();var t=ot.current;ot.current=e_;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Ze(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",Ze(),Ax(e)},useTransition:function(){return Le="useTransition",Ze(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Ze(),Hv(e,t)},useId:function(){return Le="useId",Ze(),Jv()},unstable_isNewReconciler:ne},ms={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Br(),vy(e,t)},useContext:function(e){return Le="useContext",Yt(),Br(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Br(),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Br(),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Br(),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Br(),hy(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Br();var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Br();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),Br(),dy(e)},useState:function(e){Le="useState",Yt(),Br();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Br(),gy(e)},useTransition:function(){return Le="useTransition",Yt(),Br(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Br(),uy(e,t,n)},useId:function(){return Le="useId",Yt(),Br(),yy()},unstable_isNewReconciler:ne},jl={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Ze(),Xv(e,t)},useContext:function(e){return Le="useContext",Yt(),Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Ze(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Ze(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Ze(),$v(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Ze();var n=ot.current;ot.current=jl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Ze();var i=ot.current;ot.current=jl;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),Ze(),Vv()},useState:function(e){Le="useState",Yt(),Ze();var t=ot.current;ot.current=jl;try{return cy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Ze(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Ze(),Dx(e)},useTransition:function(){return Le="useTransition",Yt(),Ze(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Ze(),Hv(e,t)},useId:function(){return Le="useId",Yt(),Ze(),Jv()},unstable_isNewReconciler:ne},e_={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Ze(),Xv(e,t)},useContext:function(e){return Le="useContext",Yt(),Ze(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Ze(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Ze(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Ze(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Ze(),$v(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Ze();var n=ot.current;ot.current=jl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Ze();var i=ot.current;ot.current=jl;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),Ze(),Vv()},useState:function(e){Le="useState",Yt(),Ze();var t=ot.current;ot.current=jl;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Ze(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Ze(),Ax(e)},useTransition:function(){return Le="useTransition",Yt(),Ze(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Ze(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Ze(),Hv(e,t)},useId:function(){return Le="useId",Yt(),Ze(),Jv()},unstable_isNewReconciler:ne}}var Yu=a.unstable_now,Vx=0,t_=-1,_h=-1,r_=-1,wy=!1,a_=!1;function Wx(){return wy}function cj(){a_=!0}function fj(){wy=!1,a_=!1}function dj(){wy=a_,a_=!1}function qx(){return Vx}function Yx(){Vx=Yu()}function Cy(e){_h=Yu(),e.actualStartTime<0&&(e.actualStartTime=Yu())}function $x(e){_h=-1}function n_(e,t){if(_h>=0){var n=Yu()-_h;e.actualDuration+=n,t&&(e.selfBaseDuration=n),_h=-1}}function vs(e){if(t_>=0){var t=Yu()-t_;t_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i.effectDuration+=t;return;case F:var u=n.stateNode;u.effectDuration+=t;return}n=n.return}}}function xy(e){if(r_>=0){var t=Yu()-r_;r_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case F:var u=n.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}n=n.return}}}function _s(){t_=Yu()}function ky(){r_=Yu()}function Ty(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Hl(e,t){if(e&&e.defaultProps){var n=Nt({},t),i=e.defaultProps;for(var u in i)n[u]===void 0&&(n[u]=i[u]);return n}return t}var Ey={},Ry,Dy,Ay,Ly,Ny,Gx,o_,Oy,My,Py,gh;{Ry=new Set,Dy=new Set,Ay=new Set,Ly=new Set,Oy=new Set,Ny=new Set,My=new Set,Py=new Set,gh=new Set;var Kx=new Set;o_=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Kx.has(n)||(Kx.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=Hr(e)||"Component";Ny.has(n)||(Ny.add(n),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ey,"_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(Ey)}function Iy(e,t,n,i){var u=e.memoizedState,d=n(i,u);{if(e.mode&Ma){vn(!0);try{d=n(i,u)}finally{vn(!1)}}Gx(t,d)}var v=d==null?u:Nt({},u,d);if(e.memoizedState=v,e.lanes===ze){var y=e.updateQueue;y.baseState=v}}var zy={isMounted:aP,enqueueSetState:function(e,t,n){var i=Ff(e),u=Qn(),d=Xu(i),v=Qs(u,d);v.payload=t,n!=null&&(o_(n,"setState"),v.callback=n);var y=Uu(i,v,d);y!==null&&(cn(y,i,d,u),Mv(y,i,d)),hb(i,d)},enqueueReplaceState:function(e,t,n){var i=Ff(e),u=Qn(),d=Xu(i),v=Qs(u,d);v.tag=dx,v.payload=t,n!=null&&(o_(n,"replaceState"),v.callback=n);var y=Uu(i,v,d);y!==null&&(cn(y,i,d,u),Mv(y,i,d)),hb(i,d)},enqueueForceUpdate:function(e,t){var n=Ff(e),i=Qn(),u=Xu(n),d=Qs(i,u);d.tag=Lv,t!=null&&(o_(t,"forceUpdate"),d.callback=t);var v=Uu(n,d,u);v!==null&&(cn(v,n,u,i),Mv(v,n,u)),MP(n,u)}};function Xx(e,t,n,i,u,d,v){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var C=y.shouldComponentUpdate(i,d,v);{if(e.mode&Ma){vn(!0);try{C=y.shouldComponentUpdate(i,d,v)}finally{vn(!1)}}C===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!jp(n,i)||!jp(u,d):!0}function pj(e,t,n){var i=e.stateNode;{var u=Hr(t)||"Component",d=i.render;d||(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)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.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),i.getDefaultProps&&!i.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),i.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!gh.has(t)&&(e.mode&Ma)===Ot&&(gh.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(!Bo(e[n],t[n]))return!1;return!0}function vd(e,t,n,i,u,d){Wc=d,Xr=t,bl=e!==null?e._debugHookTypes:null,qu=-1,ay=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ze,e!==null&&e.memoizedState!==null?ot.current=Hx:bl!==null?ot.current=jx:ot.current=Fx;var v=n(i,u);if(dh){var y=0;do{if(dh=!1,ph=0,y>=aj)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,ay=!1,nn=null,on=null,t.updateQueue=null,qu=-1,ot.current=Ux,v=n(i,u)}while(dh)}ot.current=Zv,t._debugHookTypes=bl;var C=nn!==null&&nn.next!==null;if(Wc=ze,Xr=null,nn=null,on=null,Le=null,bl=null,qu=-1,e!==null&&(e.flags&Us)!==(t.flags&Us)&&(e.mode&gr)!==Ot&&c("Internal React error: Expected static flag was missing. Please notify the React team."),jv=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return v}function _d(){var e=ph!==0;return ph=0,e}function yx(e,t,n){t.updateQueue=e.updateQueue,(t.mode&us)!==Ot?t.flags&=~(Mm|Hs|Ml|kr):t.flags&=~(Ml|kr),e.lanes=Hm(e.lanes,n)}function Sx(){if(ot.current=Zv,jv){for(var e=Xr.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}jv=!1}Wc=ze,Xr=null,nn=null,on=null,bl=null,qu=-1,Le=null,Mx=!1,dh=!1,ph=0}function hs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return on===null?Xr.memoizedState=on=e:on=on.next=e,on}function yl(){var e;if(nn===null){var t=Xr.alternate;t!==null?e=t.memoizedState:e=null}else e=nn.next;var n;if(on===null?n=Xr.memoizedState:n=on.next,n!==null)on=n,n=on.next,nn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");nn=e;var i={memoizedState:nn.memoizedState,baseState:nn.baseState,baseQueue:nn.baseQueue,queue:nn.queue,next:null};on===null?Xr.memoizedState=on=i:on=on.next=i}return on}function wx(){return{lastEffect:null,stores:null}}function oy(e,t){return typeof t=="function"?t(e):t}function iy(e,t,n){var i=hs(),u;n!==void 0?u=n(t):u=t,i.memoizedState=i.baseState=u;var d={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=d;var v=d.dispatch=sj.bind(null,Xr,d);return[i.memoizedState,v]}function ly(e,t,n){var i=yl(),u=i.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 d=nn,v=d.baseQueue,y=u.pending;if(y!==null){if(v!==null){var C=v.next,E=y.next;v.next=E,y.next=C}d.baseQueue!==v&&c("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),d.baseQueue=v=y,u.pending=null}if(v!==null){var A=v.next,Z=d.baseState,J=null,me=null,ve=null,we=A;do{var rt=we.lane;if($f(Wc,rt)){if(ve!==null){var St={lane:gn,action:we.action,hasEagerState:we.hasEagerState,eagerState:we.eagerState,next:null};ve=ve.next=St}if(we.hasEagerState)Z=we.eagerState;else{var dr=we.action;Z=e(Z,dr)}}else{var Rt={lane:rt,action:we.action,hasEagerState:we.hasEagerState,eagerState:we.eagerState,next:null};ve===null?(me=ve=Rt,J=Z):ve=ve.next=Rt,Xr.lanes=or(Xr.lanes,rt),Mh(rt)}we=we.next}while(we!==null&&we!==A);ve===null?J=Z:ve.next=me,Bo(Z,i.memoizedState)||wh(),i.memoizedState=Z,i.baseState=J,i.baseQueue=ve,u.lastRenderedState=Z}var pr=u.interleaved;if(pr!==null){var ue=pr;do{var De=ue.lane;Xr.lanes=or(Xr.lanes,De),Mh(De),ue=ue.next}while(ue!==pr)}else v===null&&(u.lanes=ze);var ce=u.dispatch;return[i.memoizedState,ce]}function sy(e,t,n){var i=yl(),u=i.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 d=u.dispatch,v=u.pending,y=i.memoizedState;if(v!==null){u.pending=null;var C=v.next,E=C;do{var A=E.action;y=e(y,A),E=E.next}while(E!==C);Bo(y,i.memoizedState)||wh(),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),u.lastRenderedState=y}return[y,d]}function V$(e,t,n){}function W$(e,t,n){}function uy(e,t,n){var i=Xr,u=hs(),d,v=kn();if(v){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=n(),hd||d!==n()&&(c("The result of getServerSnapshot should be cached to avoid an infinite loop"),hd=!0)}else{if(d=t(),!hd){var y=t();Bo(d,y)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var C=g_();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");jm(C,Wc)||Cx(i,t,d)}u.memoizedState=d;var E={value:d,getSnapshot:t};return u.queue=E,qv(kx.bind(null,i,E,e),[e]),i.flags|=Ml,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null),d}function Hv(e,t,n){var i=Xr,u=yl(),d=t();if(!hd){var v=t();Bo(d,v)||(c("The result of getSnapshot should be cached to avoid an infinite loop"),hd=!0)}var y=u.memoizedState,C=!Bo(y,d);C&&(u.memoizedState=d,wh());var E=u.queue;if(vh(kx.bind(null,i,E,e),[e]),E.getSnapshot!==t||C||on!==null&&on.memoizedState.tag&rn){i.flags|=Ml,hh(rn|Tn,xx.bind(null,i,E,d,t),void 0,null);var A=g_();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");jm(A,Wc)||Cx(i,t,d)}return d}function Cx(e,t,n){e.flags|=Om;var i={getSnapshot:t,value:n},u=Xr.updateQueue;if(u===null)u=wx(),Xr.updateQueue=u,u.stores=[i];else{var d=u.stores;d===null?u.stores=[i]:d.push(i)}}function xx(e,t,n,i){t.value=n,t.getSnapshot=i,Tx(t)&&Ex(e)}function kx(e,t,n){var i=function(){Tx(t)&&Ex(e)};return n(i)}function Tx(e){var t=e.getSnapshot,n=e.value;try{var i=t();return!Bo(n,i)}catch(u){return!0}}function Ex(e){var t=go(e,qt);t!==null&&cn(t,e,qt,va)}function Uv(e){var t=hs();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:ze,dispatch:null,lastRenderedReducer:oy,lastRenderedState:e};t.queue=n;var i=n.dispatch=uj.bind(null,Xr,n);return[t.memoizedState,i]}function cy(e){return ly(oy)}function fy(e){return sy(oy)}function hh(e,t,n,i){var u={tag:e,create:t,destroy:n,deps:i,next:null},d=Xr.updateQueue;if(d===null)d=wx(),Xr.updateQueue=d,d.lastEffect=u.next=u;else{var v=d.lastEffect;if(v===null)d.lastEffect=u.next=u;else{var y=v.next;v.next=u,u.next=y,d.lastEffect=u}}return u}function dy(e){var t=hs();{var n={current:e};return t.memoizedState=n,n}}function Vv(e){var t=yl();return t.memoizedState}function mh(e,t,n,i){var u=hs(),d=i===void 0?null:i;Xr.flags|=e,u.memoizedState=hh(rn|t,n,void 0,d)}function Wv(e,t,n,i){var u=yl(),d=i===void 0?null:i,v=void 0;if(nn!==null){var y=nn.memoizedState;if(v=y.destroy,d!==null){var C=y.deps;if(ny(d,C)){u.memoizedState=hh(t,n,v,d);return}}}Xr.flags|=e,u.memoizedState=hh(rn|t,n,v,d)}function qv(e,t){return(Xr.mode&us)!==Ot?mh(Mm|Ml|ub,Tn,e,t):mh(Ml|ub,Tn,e,t)}function vh(e,t){return Wv(Ml,Tn,e,t)}function py(e,t){return mh(kr,ps,e,t)}function Yv(e,t){return Wv(kr,ps,e,t)}function hy(e,t){var n=kr;return n|=Tc,(Xr.mode&us)!==Ot&&(n|=Hs),mh(n,an,e,t)}function $v(e,t){return Wv(kr,an,e,t)}function Rx(e,t){if(typeof t=="function"){var n=t,i=e();return n(i),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 d=e();return u.current=d,function(){u.current=null}}}function my(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 i=n!=null?n.concat([e]):null,u=kr;return u|=Tc,(Xr.mode&us)!==Ot&&(u|=Hs),mh(u,an,Rx.bind(null,t,e),i)}function Gv(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 i=n!=null?n.concat([e]):null;return Wv(kr,an,Rx.bind(null,t,e),i)}function oj(e,t){}var Kv=oj;function vy(e,t){var n=hs(),i=t===void 0?null:t;return n.memoizedState=[e,i],e}function Xv(e,t){var n=yl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var d=u[1];if(ny(i,d))return u[0]}return n.memoizedState=[e,i],e}function _y(e,t){var n=hs(),i=t===void 0?null:t,u=e();return n.memoizedState=[u,i],u}function Qv(e,t){var n=yl(),i=t===void 0?null:t,u=n.memoizedState;if(u!==null&&i!==null){var d=u[1];if(ny(i,d))return u[0]}var v=e();return n.memoizedState=[v,i],v}function gy(e){var t=hs();return t.memoizedState=e,e}function Dx(e){var t=yl(),n=nn,i=n.memoizedState;return Lx(t,i,e)}function Ax(e){var t=yl();if(nn===null)return t.memoizedState=e,e;var n=nn.memoizedState;return Lx(t,n,e)}function Lx(e,t,n){var i=!WP(Wc);if(i){if(!Bo(n,t)){var u=EC();Xr.lanes=or(Xr.lanes,u),Mh(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,wh()),e.memoizedState=n,n}function ij(e,t,n){var i=Il();bn(ZP(i,Ws)),e(!0);var u=fh.transition;fh.transition={};var d=fh.transition;fh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(bn(i),fh.transition=u,u===null&&d._updatedFibers){var v=d._updatedFibers.size;v>10&&f("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),d._updatedFibers.clear()}}}function by(){var e=Uv(!1),t=e[0],n=e[1],i=ij.bind(null,n),u=hs();return u.memoizedState=i,[t,i]}function Nx(){var e=cy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}function Ox(){var e=fy(),t=e[0],n=yl(),i=n.memoizedState;return[t,i]}var Mx=!1;function lj(){return Mx}function yy(){var e=hs(),t=g_(),n=t.identifierPrefix,i;if(kn()){var u=xF();i=":"+n+"R"+u;var d=ph++;d>0&&(i+="H"+d.toString(32)),i+=":"}else{var v=rj++;i=":"+n+"r"+v.toString(32)+":"}return e.memoizedState=i,i}function Jv(){var e=yl(),t=e.memoizedState;return t}function sj(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 i=Xu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Px(e))Ix(t,u);else{var d=cx(e,t,u,i);if(d!==null){var v=Xn();cn(d,e,i,v),zx(d,t,i)}}Bx(e,i)}function uj(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 i=Xu(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Px(e))Ix(t,u);else{var d=e.alternate;if(e.lanes===ze&&(d===null||d.lanes===ze)){var v=t.lastRenderedReducer;if(v!==null){var y;y=ot.current,ot.current=Hl;try{var C=t.lastRenderedState,E=v(C,n);if(u.hasEagerState=!0,u.eagerState=E,Bo(E,C)){$F(e,t,u,i);return}}catch(J){}finally{ot.current=y}}}var A=cx(e,t,u,i);if(A!==null){var Z=Xn();cn(A,e,i,Z),zx(A,t,i)}}Bx(e,i)}function Px(e){var t=e.alternate;return e===Xr||t!==null&&t===Xr}function Ix(e,t){dh=jv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zx(e,t,n){if(TC(n)){var i=t.lanes;i=RC(i,e.pendingLanes);var u=or(i,n);t.lanes=u,Fb(e,u)}}function Bx(e,t,n){hb(e,t)}var Zv={readContext:Qa,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useInsertionEffect:Bn,useLayoutEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useMutableSource:Bn,useSyncExternalStore:Bn,useId:Bn,unstable_isNewReconciler:ne},Fx=null,jx=null,Hx=null,Ux=null,ms=null,Hl=null,e_=null;{var Sy=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().")},Yt=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")};Fx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",Br(),md(t),vy(e,t)},useContext:function(e){return Le="useContext",Br(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Br(),md(t),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Br(),md(n),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Br(),md(t),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Br(),md(t),hy(e,t)},useMemo:function(e,t){Le="useMemo",Br(),md(t);var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Br();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Br(),dy(e)},useState:function(e){Le="useState",Br();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Br(),gy(e)},useTransition:function(){return Le="useTransition",Br(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Br(),uy(e,t,n)},useId:function(){return Le="useId",Br(),yy()},unstable_isNewReconciler:ne},jx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",tt(),vy(e,t)},useContext:function(e){return Le="useContext",tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",tt(),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),hy(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),dy(e)},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",tt(),gy(e)},useTransition:function(){return Le="useTransition",tt(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),uy(e,t,n)},useId:function(){return Le="useId",tt(),yy()},unstable_isNewReconciler:ne},Hx={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",tt(),Xv(e,t)},useContext:function(e){return Le="useContext",tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",tt(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),$v(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=Hl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=Hl;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),Vv()},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=Hl;try{return cy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Dx(e)},useTransition:function(){return Le="useTransition",tt(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),Hv(e,t)},useId:function(){return Le="useId",tt(),Jv()},unstable_isNewReconciler:ne},Ux={readContext:function(e){return Qa(e)},useCallback:function(e,t){return Le="useCallback",tt(),Xv(e,t)},useContext:function(e){return Le="useContext",tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",tt(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",tt(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",tt(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",tt(),$v(e,t)},useMemo:function(e,t){Le="useMemo",tt();var n=ot.current;ot.current=e_;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",tt();var i=ot.current;ot.current=e_;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",tt(),Vv()},useState:function(e){Le="useState",tt();var t=ot.current;ot.current=e_;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",tt(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",tt(),Ax(e)},useTransition:function(){return Le="useTransition",tt(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",tt(),Hv(e,t)},useId:function(){return Le="useId",tt(),Jv()},unstable_isNewReconciler:ne},ms={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),Br(),vy(e,t)},useContext:function(e){return Le="useContext",Yt(),Br(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),Br(),qv(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),Br(),my(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),Br(),py(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),Br(),hy(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),Br();var n=ot.current;ot.current=ms;try{return _y(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),Br();var i=ot.current;ot.current=ms;try{return iy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),Br(),dy(e)},useState:function(e){Le="useState",Yt(),Br();var t=ot.current;ot.current=ms;try{return Uv(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),Br(),void 0},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),Br(),gy(e)},useTransition:function(){return Le="useTransition",Yt(),Br(),by()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),Br(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),Br(),uy(e,t,n)},useId:function(){return Le="useId",Yt(),Br(),yy()},unstable_isNewReconciler:ne},Hl={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),Xv(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),$v(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=ot.current;ot.current=Hl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=ot.current;ot.current=Hl;try{return ly(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),Vv()},useState:function(e){Le="useState",Yt(),tt();var t=ot.current;ot.current=Hl;try{return cy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Dx(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Nx()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),Hv(e,t)},useId:function(){return Le="useId",Yt(),tt(),Jv()},unstable_isNewReconciler:ne},e_={readContext:function(e){return Sy(),Qa(e)},useCallback:function(e,t){return Le="useCallback",Yt(),tt(),Xv(e,t)},useContext:function(e){return Le="useContext",Yt(),tt(),Qa(e)},useEffect:function(e,t){return Le="useEffect",Yt(),tt(),vh(e,t)},useImperativeHandle:function(e,t,n){return Le="useImperativeHandle",Yt(),tt(),Gv(e,t,n)},useInsertionEffect:function(e,t){return Le="useInsertionEffect",Yt(),tt(),Yv(e,t)},useLayoutEffect:function(e,t){return Le="useLayoutEffect",Yt(),tt(),$v(e,t)},useMemo:function(e,t){Le="useMemo",Yt(),tt();var n=ot.current;ot.current=Hl;try{return Qv(e,t)}finally{ot.current=n}},useReducer:function(e,t,n){Le="useReducer",Yt(),tt();var i=ot.current;ot.current=Hl;try{return sy(e,t,n)}finally{ot.current=i}},useRef:function(e){return Le="useRef",Yt(),tt(),Vv()},useState:function(e){Le="useState",Yt(),tt();var t=ot.current;ot.current=Hl;try{return fy(e)}finally{ot.current=t}},useDebugValue:function(e,t){return Le="useDebugValue",Yt(),tt(),Kv()},useDeferredValue:function(e){return Le="useDeferredValue",Yt(),tt(),Ax(e)},useTransition:function(){return Le="useTransition",Yt(),tt(),Ox()},useMutableSource:function(e,t,n){return Le="useMutableSource",Yt(),tt(),void 0},useSyncExternalStore:function(e,t,n){return Le="useSyncExternalStore",Yt(),tt(),Hv(e,t)},useId:function(){return Le="useId",Yt(),tt(),Jv()},unstable_isNewReconciler:ne}}var Yu=a.unstable_now,Vx=0,t_=-1,_h=-1,r_=-1,wy=!1,a_=!1;function Wx(){return wy}function cj(){a_=!0}function fj(){wy=!1,a_=!1}function dj(){wy=a_,a_=!1}function qx(){return Vx}function Yx(){Vx=Yu()}function Cy(e){_h=Yu(),e.actualStartTime<0&&(e.actualStartTime=Yu())}function $x(e){_h=-1}function n_(e,t){if(_h>=0){var n=Yu()-_h;e.actualDuration+=n,t&&(e.selfBaseDuration=n),_h=-1}}function vs(e){if(t_>=0){var t=Yu()-t_;t_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i.effectDuration+=t;return;case F:var u=n.stateNode;u.effectDuration+=t;return}n=n.return}}}function xy(e){if(r_>=0){var t=Yu()-r_;r_=-1;for(var n=e.return;n!==null;){switch(n.tag){case b:var i=n.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case F:var u=n.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}n=n.return}}}function _s(){t_=Yu()}function ky(){r_=Yu()}function Ty(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ul(e,t){if(e&&e.defaultProps){var n=Nt({},t),i=e.defaultProps;for(var u in i)n[u]===void 0&&(n[u]=i[u]);return n}return t}var Ey={},Ry,Dy,Ay,Ly,Ny,Gx,o_,Oy,My,Py,gh;{Ry=new Set,Dy=new Set,Ay=new Set,Ly=new Set,Oy=new Set,Ny=new Set,My=new Set,Py=new Set,gh=new Set;var Kx=new Set;o_=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Kx.has(n)||(Kx.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=Hr(e)||"Component";Ny.has(n)||(Ny.add(n),c("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ey,"_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(Ey)}function Iy(e,t,n,i){var u=e.memoizedState,d=n(i,u);{if(e.mode&Ma){_n(!0);try{d=n(i,u)}finally{_n(!1)}}Gx(t,d)}var v=d==null?u:Nt({},u,d);if(e.memoizedState=v,e.lanes===ze){var y=e.updateQueue;y.baseState=v}}var zy={isMounted:aP,enqueueSetState:function(e,t,n){var i=jf(e),u=Xn(),d=Xu(i),v=Qs(u,d);v.payload=t,n!=null&&(o_(n,"setState"),v.callback=n);var y=Uu(i,v,d);y!==null&&(cn(y,i,d,u),Mv(y,i,d)),hb(i,d)},enqueueReplaceState:function(e,t,n){var i=jf(e),u=Xn(),d=Xu(i),v=Qs(u,d);v.tag=dx,v.payload=t,n!=null&&(o_(n,"replaceState"),v.callback=n);var y=Uu(i,v,d);y!==null&&(cn(y,i,d,u),Mv(y,i,d)),hb(i,d)},enqueueForceUpdate:function(e,t){var n=jf(e),i=Xn(),u=Xu(n),d=Qs(i,u);d.tag=Lv,t!=null&&(o_(t,"forceUpdate"),d.callback=t);var v=Uu(n,d,u);v!==null&&(cn(v,n,u,i),Mv(v,n,u)),MP(n,u)}};function Xx(e,t,n,i,u,d,v){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var C=y.shouldComponentUpdate(i,d,v);{if(e.mode&Ma){_n(!0);try{C=y.shouldComponentUpdate(i,d,v)}finally{_n(!1)}}C===void 0&&c("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Hr(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!jp(n,i)||!jp(u,d):!0}function pj(e,t,n){var i=e.stateNode;{var u=Hr(t)||"Component",d=i.render;d||(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)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.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),i.getDefaultProps&&!i.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),i.propTypes&&c("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&c("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.childContextTypes&&!gh.has(t)&&(e.mode&Ma)===Ot&&(gh.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&&!gh.has(t)&&(e.mode&Ma)===Ot&&(gh.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)),i.contextTypes&&c("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!My.has(t)&&(My.add(t),c("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof i.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 i.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.",Hr(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&c("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.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 i.componentWillRecieveProps=="function"&&c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps=="function"&&c("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var v=i.props!==n;i.props!==void 0&&v&&c("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),i.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 i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!Ay.has(t)&&(Ay.add(t),c("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Hr(t))),typeof i.getDerivedStateFromProps=="function"&&c("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.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=i.state;y&&(typeof y!="object"||tn(y))&&c("%s.state: must be set to an object or null",u),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&c("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function Qx(e,t){t.updater=zy,e.stateNode=t,JM(t,e),t._reactInternalInstance=Ey}function Jx(e,t,n){var i=!1,u=Fo,d=Fo,v=t.contextType;if("contextType"in t){var y=v===null||v!==void 0&&v.$$typeof===q&&v._context===void 0;if(!y&&!Py.has(t)){Py.add(t);var C="";v===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 v!="object"?C=" However, it is set to a "+typeof v+".":v.$$typeof===D?C=" Did you accidentally pass the Context.Provider instead?":v._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(v).join(", ")+"}.",c("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Hr(t)||"Component",C)}}if(typeof v=="object"&&v!==null)d=Qa(v);else{u=rd(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?ad(e,u):Fo}var A=new t(n,d);if(e.mode&Ma){vn(!0);try{A=new t(n,d)}finally{vn(!1)}}var Z=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;Qx(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&Z===null){var Q=Hr(t)||"Component";Dy.has(Q)||(Dy.add(Q),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.",Q,A.state===null?"null":"undefined",Q))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var me=null,ve=null,Ce=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?me="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(me="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ve="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(ve="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?Ce="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(Ce="UNSAFE_componentWillUpdate"),me!==null||ve!==null||Ce!==null){var et=Hr(t)||"Component",Rt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ly.has(et)||(Ly.add(et),c(`Unsafe legacy lifecycles will not be called for components using new component APIs.
88
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)),i.contextTypes&&c("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!My.has(t)&&(My.add(t),c("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof i.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 i.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.",Hr(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&c("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.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 i.componentWillRecieveProps=="function"&&c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps=="function"&&c("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var v=i.props!==n;i.props!==void 0&&v&&c("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),i.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 i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!Ay.has(t)&&(Ay.add(t),c("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Hr(t))),typeof i.getDerivedStateFromProps=="function"&&c("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.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=i.state;y&&(typeof y!="object"||tn(y))&&c("%s.state: must be set to an object or null",u),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&c("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function Qx(e,t){t.updater=zy,e.stateNode=t,JM(t,e),t._reactInternalInstance=Ey}function Jx(e,t,n){var i=!1,u=Fo,d=Fo,v=t.contextType;if("contextType"in t){var y=v===null||v!==void 0&&v.$$typeof===q&&v._context===void 0;if(!y&&!Py.has(t)){Py.add(t);var C="";v===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 v!="object"?C=" However, it is set to a "+typeof v+".":v.$$typeof===D?C=" Did you accidentally pass the Context.Provider instead?":v._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(v).join(", ")+"}.",c("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Hr(t)||"Component",C)}}if(typeof v=="object"&&v!==null)d=Qa(v);else{u=ad(e,t,!0);var E=t.contextTypes;i=E!=null,d=i?nd(e,u):Fo}var A=new t(n,d);if(e.mode&Ma){_n(!0);try{A=new t(n,d)}finally{_n(!1)}}var Z=e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null;Qx(e,A);{if(typeof t.getDerivedStateFromProps=="function"&&Z===null){var J=Hr(t)||"Component";Dy.has(J)||(Dy.add(J),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.",J,A.state===null?"null":"undefined",J))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var me=null,ve=null,we=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?me="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(me="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ve="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(ve="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?we="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(we="UNSAFE_componentWillUpdate"),me!==null||ve!==null||we!==null){var rt=Hr(t)||"Component",Rt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ly.has(rt)||(Ly.add(rt),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
 
92
92
  The above lifecycles should be removed. Learn more about this warning here:
93
- https://reactjs.org/link/unsafe-component-lifecycles`,et,Rt,me!==null?`
93
+ https://reactjs.org/link/unsafe-component-lifecycles`,rt,Rt,me!==null?`
94
94
  `+me:"",ve!==null?`
95
- `+ve:"",Ce!==null?`
96
- `+Ce:""))}}}return i&&H3(e,u,d),A}function hj(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.",Zt(e)||"Component"),zy.enqueueReplaceState(t,t.state,null))}function Zx(e,t,n,i){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==u){{var d=Zt(e)||"Component";Ry.has(d)||(Ry.add(d),c("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}zy.enqueueReplaceState(t,t.state,null)}}function By(e,t,n,i){pj(e,t,n);var u=e.stateNode;u.props=n,u.state=e.memoizedState,u.refs={},$1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)u.context=Qa(d);else{var v=rd(e,t,!0);u.context=ad(e,v)}{if(u.state===n){var y=Hr(t)||"Component";Oy.has(y)||(Oy.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&Ma&&Bl.recordLegacyContextWarning(e,u),Bl.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(Iy(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")&&(hj(e,u),Pv(e,n,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var E=wr;E|=kc,(e.mode&us)!==Ot&&(E|=Hs),e.flags|=E}}function mj(e,t,n,i){var u=e.stateNode,d=e.memoizedProps;u.props=d;var v=u.context,y=t.contextType,C=Fo;if(typeof y=="object"&&y!==null)C=Qa(y);else{var E=rd(e,t,!0);C=ad(e,E)}var A=t.getDerivedStateFromProps,Z=typeof A=="function"||typeof u.getSnapshotBeforeUpdate=="function";!Z&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(d!==n||v!==C)&&Zx(e,u,n,C),hx();var Q=e.memoizedState,me=u.state=Q;if(Pv(e,n,u,i),me=e.memoizedState,d===n&&Q===me&&!vv()&&!Iv()){if(typeof u.componentDidMount=="function"){var ve=wr;ve|=kc,(e.mode&us)!==Ot&&(ve|=Hs),e.flags|=ve}return!1}typeof A=="function"&&(Iy(e,t,A,n),me=e.memoizedState);var Ce=Iv()||Xx(e,t,d,n,Q,me,C);if(Ce){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 et=wr;et|=kc,(e.mode&us)!==Ot&&(et|=Hs),e.flags|=et}}else{if(typeof u.componentDidMount=="function"){var Rt=wr;Rt|=kc,(e.mode&us)!==Ot&&(Rt|=Hs),e.flags|=Rt}e.memoizedProps=n,e.memoizedState=me}return u.props=n,u.state=me,u.context=C,Ce}function vj(e,t,n,i,u){var d=t.stateNode;px(e,t);var v=t.memoizedProps,y=t.type===t.elementType?v:Hl(t.type,v);d.props=y;var C=t.pendingProps,E=d.context,A=n.contextType,Z=Fo;if(typeof A=="object"&&A!==null)Z=Qa(A);else{var Q=rd(t,n,!0);Z=ad(t,Q)}var me=n.getDerivedStateFromProps,ve=typeof me=="function"||typeof d.getSnapshotBeforeUpdate=="function";!ve&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(v!==C||E!==Z)&&Zx(t,d,i,Z),hx();var Ce=t.memoizedState,et=d.state=Ce;if(Pv(t,i,d,u),et=t.memoizedState,v===C&&Ce===et&&!vv()&&!Iv()&&!ee)return typeof d.componentDidUpdate=="function"&&(v!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=wr),typeof d.getSnapshotBeforeUpdate=="function"&&(v!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=Cc),!1;typeof me=="function"&&(Iy(t,n,me,i),et=t.memoizedState);var Rt=Iv()||Xx(t,n,y,i,Ce,et,Z)||ee;return Rt?(!ve&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,et,Z),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,et,Z)),typeof d.componentDidUpdate=="function"&&(t.flags|=wr),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=Cc)):(typeof d.componentDidUpdate=="function"&&(v!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=wr),typeof d.getSnapshotBeforeUpdate=="function"&&(v!==e.memoizedProps||Ce!==e.memoizedState)&&(t.flags|=Cc),t.memoizedProps=i,t.memoizedState=et),d.props=i,d.state=et,d.context=Z,Rt}function Wc(e,t){return{value:e,source:t,stack:ym(t),digest:null}}function Fy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function _j(e,t){return!0}function jy(e,t){try{var n=_j(e,t);if(n===!1)return;var i=t.value,u=t.source,d=t.stack,v=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=u?Zt(u):null,C=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===b)E=`Consider adding an error boundary to your tree to customize error handling behavior.
95
+ `+ve:"",we!==null?`
96
+ `+we:""))}}}return i&&H3(e,u,d),A}function hj(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.",Zt(e)||"Component"),zy.enqueueReplaceState(t,t.state,null))}function Zx(e,t,n,i){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==u){{var d=Zt(e)||"Component";Ry.has(d)||(Ry.add(d),c("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d))}zy.enqueueReplaceState(t,t.state,null)}}function By(e,t,n,i){pj(e,t,n);var u=e.stateNode;u.props=n,u.state=e.memoizedState,u.refs={},$1(e);var d=t.contextType;if(typeof d=="object"&&d!==null)u.context=Qa(d);else{var v=ad(e,t,!0);u.context=nd(e,v)}{if(u.state===n){var y=Hr(t)||"Component";Oy.has(y)||(Oy.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&Ma&&Fl.recordLegacyContextWarning(e,u),Fl.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(Iy(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")&&(hj(e,u),Pv(e,n,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var E=kr;E|=Tc,(e.mode&us)!==Ot&&(E|=Hs),e.flags|=E}}function mj(e,t,n,i){var u=e.stateNode,d=e.memoizedProps;u.props=d;var v=u.context,y=t.contextType,C=Fo;if(typeof y=="object"&&y!==null)C=Qa(y);else{var E=ad(e,t,!0);C=nd(e,E)}var A=t.getDerivedStateFromProps,Z=typeof A=="function"||typeof u.getSnapshotBeforeUpdate=="function";!Z&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(d!==n||v!==C)&&Zx(e,u,n,C),hx();var J=e.memoizedState,me=u.state=J;if(Pv(e,n,u,i),me=e.memoizedState,d===n&&J===me&&!vv()&&!Iv()){if(typeof u.componentDidMount=="function"){var ve=kr;ve|=Tc,(e.mode&us)!==Ot&&(ve|=Hs),e.flags|=ve}return!1}typeof A=="function"&&(Iy(e,t,A,n),me=e.memoizedState);var we=Iv()||Xx(e,t,d,n,J,me,C);if(we){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 rt=kr;rt|=Tc,(e.mode&us)!==Ot&&(rt|=Hs),e.flags|=rt}}else{if(typeof u.componentDidMount=="function"){var Rt=kr;Rt|=Tc,(e.mode&us)!==Ot&&(Rt|=Hs),e.flags|=Rt}e.memoizedProps=n,e.memoizedState=me}return u.props=n,u.state=me,u.context=C,we}function vj(e,t,n,i,u){var d=t.stateNode;px(e,t);var v=t.memoizedProps,y=t.type===t.elementType?v:Ul(t.type,v);d.props=y;var C=t.pendingProps,E=d.context,A=n.contextType,Z=Fo;if(typeof A=="object"&&A!==null)Z=Qa(A);else{var J=ad(t,n,!0);Z=nd(t,J)}var me=n.getDerivedStateFromProps,ve=typeof me=="function"||typeof d.getSnapshotBeforeUpdate=="function";!ve&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(v!==C||E!==Z)&&Zx(t,d,i,Z),hx();var we=t.memoizedState,rt=d.state=we;if(Pv(t,i,d,u),rt=t.memoizedState,v===C&&we===rt&&!vv()&&!Iv()&&!ee)return typeof d.componentDidUpdate=="function"&&(v!==e.memoizedProps||we!==e.memoizedState)&&(t.flags|=kr),typeof d.getSnapshotBeforeUpdate=="function"&&(v!==e.memoizedProps||we!==e.memoizedState)&&(t.flags|=xc),!1;typeof me=="function"&&(Iy(t,n,me,i),rt=t.memoizedState);var Rt=Iv()||Xx(t,n,y,i,we,rt,Z)||ee;return Rt?(!ve&&(typeof d.UNSAFE_componentWillUpdate=="function"||typeof d.componentWillUpdate=="function")&&(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,rt,Z),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,rt,Z)),typeof d.componentDidUpdate=="function"&&(t.flags|=kr),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=xc)):(typeof d.componentDidUpdate=="function"&&(v!==e.memoizedProps||we!==e.memoizedState)&&(t.flags|=kr),typeof d.getSnapshotBeforeUpdate=="function"&&(v!==e.memoizedProps||we!==e.memoizedState)&&(t.flags|=xc),t.memoizedProps=i,t.memoizedState=rt),d.props=i,d.state=rt,d.context=Z,Rt}function qc(e,t){return{value:e,source:t,stack:ym(t),digest:null}}function Fy(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function _j(e,t){return!0}function jy(e,t){try{var n=_j(e,t);if(n===!1)return;var i=t.value,u=t.source,d=t.stack,v=d!==null?d:"";if(i!=null&&i._suppressLogging){if(e.tag===m)return;console.error(i)}var y=u?Zt(u):null,C=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===b)E=`Consider adding an error boundary to your tree to customize error handling behavior.
97
97
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var A=Zt(e)||"Anonymous";E="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+A+".")}var Z=C+`
98
98
  `+v+`
99
99
 
100
- `+(""+E);console.error(Z)}catch(Q){setTimeout(function(){throw Q})}}var gj=typeof WeakMap=="function"?WeakMap:Map;function e4(e,t,n){var i=Qs(va,n);i.tag=q1,i.payload={element:null};var u=t.value;return i.callback=function(){mU(u),jy(e,t)},i}function Hy(e,t,n){var i=Qs(va,n);i.tag=q1;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var d=t.value;i.payload=function(){return u(d)},i.callback=function(){dk(e),jy(e,t)}}var v=e.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(i.callback=function(){dk(e),jy(e,t),typeof u!="function"&&pU(this);var C=t.value,E=t.stack;this.componentDidCatch(C,{componentStack:E!==null?E:""}),typeof u!="function"&&(Po(e.lanes,qt)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Zt(e)||"Unknown"))}),i}function t4(e,t,n){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new gj,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(n)){u.add(n);var d=vU.bind(null,e,t,n);Ml&&Ph(e,n),t.then(d,d)}}function bj(e,t,n,i){var u=e.updateQueue;if(u===null){var d=new Set;d.add(n),e.updateQueue=d}else u.add(n)}function yj(e,t){var n=e.tag;if((e.mode&vr)===Ot&&(n===p||n===j||n===te)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function r4(e){var t=e;do{if(t.tag===J&&ej(t))return t;t=t.return}while(t!==null);return null}function a4(e,t,n,i,u){if((e.mode&vr)===Ot){if(e===t)e.flags|=Gn;else{if(e.flags|=Pr,n.flags|=lb,n.flags&=~(ZM|_p),n.tag===m){var d=n.alternate;if(d===null)n.tag=ae;else{var v=Qs(va,qt);v.tag=Lv,Uu(n,v,qt)}}n.lanes=or(n.lanes,qt)}return e}return e.flags|=Gn,e.lanes=u,e}function Sj(e,t,n,i,u){if(n.flags|=_p,Ml&&Ph(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;yj(n),kn()&&n.mode&vr&&G3();var v=r4(t);if(v!==null){v.flags&=~Fs,a4(v,t,n,e,u),v.mode&vr&&t4(e,d,u),bj(v,e,d);return}else{if(!VP(u)){t4(e,d,u),S0();return}var y=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=y}}else if(kn()&&n.mode&vr){G3();var C=r4(t);if(C!==null){(C.flags&Gn)===zt&&(C.flags|=Fs),a4(C,t,n,e,u),O1(Wc(i,n));return}}i=Wc(i,n),oU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=Gn;var Z=kp(u);E.lanes=or(E.lanes,Z);var Q=e4(E,A,Z);G1(E,Q);return}case m:var me=i,ve=E.type,Ce=E.stateNode;if((E.flags&Pr)===zt&&(typeof ve.getDerivedStateFromError=="function"||Ce!==null&&typeof Ce.componentDidCatch=="function"&&!ak(Ce))){E.flags|=Gn;var et=kp(u);E.lanes=or(E.lanes,et);var Rt=Hy(E,me,et);G1(E,Rt);return}break}E=E.return}while(E!==null)}function wj(){return null}var bh=o.ReactCurrentOwner,Ul=!1,Uy,yh,Vy,Wy,qy,qc,Yy,i_,Sh;Uy={},yh={},Vy={},Wy={},qy={},qc=!1,Yy={},i_={},Sh={};function Kn(e,t,n,i){e===null?t.child=ix(t,null,n,i):t.child=ld(t,e.child,n,i)}function Cj(e,t,n,i){t.child=ld(t,e.child,null,i),t.child=ld(t,null,n,i)}function n4(e,t,n,i,u){if(t.type!==t.elementType){var d=n.propTypes;d&&Il(d,i,"prop",Hr(n))}var v=n.render,y=t.ref,C,E;ud(t,u),bp(t);{if(bh.current=t,ml(!0),C=md(e,t,v,i,y,u),E=vd(),t.mode&Ma){vn(!0);try{C=md(e,t,v,i,y,u),E=vd()}finally{vn(!1)}}ml(!1)}return Uf(),e!==null&&!Ul?(yx(e,t,u),Js(e,t,u)):(kn()&&E&&E1(t),t.flags|=jf,Kn(e,t,C,u),t.child)}function o4(e,t,n,i,u){if(e===null){var d=n.type;if(OU(d)&&n.compare===null&&n.defaultProps===void 0){var v=d;return v=xd(d),t.tag=te,t.type=v,Ky(t,d),i4(e,t,v,i,u)}{var y=d.propTypes;if(y&&Il(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var C=Hr(d)||"Unknown";Sh[C]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),Sh[C]=!0)}}var E=N0(n.type,null,i,t,t.mode,u);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,Z=A.propTypes;Z&&Il(Z,i,"prop",Hr(A))}var Q=e.child,me=t0(e,u);if(!me){var ve=Q.memoizedProps,Ce=n.compare;if(Ce=Ce!==null?Ce:jp,Ce(ve,i)&&e.ref===t.ref)return Js(e,t,u)}t.flags|=jf;var et=Xc(Q,i);return et.ref=t.ref,et.return=t,t.child=et,et}function i4(e,t,n,i,u){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Je){var v=d,y=v._payload,C=v._init;try{d=C(y)}catch(Z){d=null}var E=d&&d.propTypes;E&&Il(E,i,"prop",Hr(d))}}if(e!==null){var A=e.memoizedProps;if(jp(A,i)&&e.ref===t.ref&&t.type===e.type)if(Ul=!1,t.pendingProps=i=A,t0(e,u))(e.flags&lb)!==zt&&(Ul=!0);else return t.lanes=e.lanes,Js(e,t,u)}return $y(e,t,n,i,u)}function l4(e,t,n){var i=t.pendingProps,u=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||de)if((t.mode&vr)===Ot){var v={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=v,b_(t,n)}else if(Po(n,Mo)){var Z={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=Z;var Q=d!==null?d.baseLanes:n;b_(t,Q)}else{var y=null,C;if(d!==null){var E=d.baseLanes;C=or(E,n)}else C=n;t.lanes=t.childLanes=Mo;var A={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,b_(t,C),null}else{var me;d!==null?(me=or(d.baseLanes,n),t.memoizedState=null):me=n,b_(t,me)}return Kn(e,t,u,n),t.child}function xj(e,t,n){var i=t.pendingProps;return Kn(e,t,i,n),t.child}function kj(e,t,n){var i=t.pendingProps.children;return Kn(e,t,i,n),t.child}function Tj(e,t,n){{t.flags|=wr;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,d=u.children;return Kn(e,t,d,n),t.child}function s4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Au,t.flags|=sb)}function $y(e,t,n,i,u){if(t.type!==t.elementType){var d=n.propTypes;d&&Il(d,i,"prop",Hr(n))}var v;{var y=rd(t,n,!0);v=ad(t,y)}var C,E;ud(t,u),bp(t);{if(bh.current=t,ml(!0),C=md(e,t,n,i,v,u),E=vd(),t.mode&Ma){vn(!0);try{C=md(e,t,n,i,v,u),E=vd()}finally{vn(!1)}}ml(!1)}return Uf(),e!==null&&!Ul?(yx(e,t,u),Js(e,t,u)):(kn()&&E&&E1(t),t.flags|=jf,Kn(e,t,C,u),t.child)}function u4(e,t,n,i,u){{switch(GU(t)){case!1:{var d=t.stateNode,v=t.type,y=new v(t.memoizedProps,d.context),C=y.state;d.updater.enqueueSetState(d,C,null);break}case!0:{t.flags|=Pr,t.flags|=Gn;var E=new Error("Simulated error coming from DevTools"),A=kp(u);t.lanes=or(t.lanes,A);var Z=Hy(t,Wc(E,t),A);G1(t,Z);break}}if(t.type!==t.elementType){var Q=n.propTypes;Q&&Il(Q,i,"prop",Hr(n))}}var me;ds(n)?(me=!0,gv(t)):me=!1,ud(t,u);var ve=t.stateNode,Ce;ve===null?(s_(e,t),Jx(t,n,i),By(t,n,i,u),Ce=!0):e===null?Ce=mj(t,n,i,u):Ce=vj(e,t,n,i,u);var et=Gy(e,t,n,Ce,me,u);{var Rt=t.stateNode;Ce&&Rt.props!==i&&(qc||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Zt(t)||"a component"),qc=!0)}return et}function Gy(e,t,n,i,u,d){s4(e,t);var v=(t.flags&Pr)!==zt;if(!i&&!v)return u&&W3(t,n,!1),Js(e,t,d);var y=t.stateNode;bh.current=t;var C;if(v&&typeof n.getDerivedStateFromError!="function")C=null,$x();else{bp(t);{if(ml(!0),C=y.render(),t.mode&Ma){vn(!0);try{y.render()}finally{vn(!1)}}ml(!1)}Uf()}return t.flags|=jf,e!==null&&v?Cj(e,t,C,d):Kn(e,t,C,d),t.memoizedState=y.state,u&&W3(t,n,!0),t.child}function c4(e){var t=e.stateNode;t.pendingContext?U3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&U3(e,t.context,!1),K1(e,t.containerInfo)}function Ej(e,t,n){if(c4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,d=u.element;px(e,t),Pv(t,i,null,n);var v=t.memoizedState,y=t.stateNode,C=v.element;if(u.isDehydrated){var E={element:C,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},A=t.updateQueue;if(A.baseState=E,t.memoizedState=E,t.flags&Fs){var Z=Wc(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 f4(e,t,C,n,Z)}else if(C!==d){var Q=Wc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return f4(e,t,C,n,Q)}else{AF(t);var me=ix(t,null,C,n);t.child=me;for(var ve=me;ve;)ve.flags=ve.flags&~Xa|js,ve=ve.sibling}}else{if(id(),C===d)return Js(e,t,n);Kn(e,t,C,n)}return t.child}function f4(e,t,n,i,u){return id(),O1(u),t.flags|=Fs,Kn(e,t,n,i),t.child}function Rj(e,t,n){_x(t),e===null&&N1(t);var i=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,v=u.children,y=p1(i,u);return y?v=null:d!==null&&p1(i,d)&&(t.flags|=vp),s4(e,t),Kn(e,t,v,n),t.child}function Dj(e,t){return e===null&&N1(t),null}function Aj(e,t,n,i){s_(e,t);var u=t.pendingProps,d=n,v=d._payload,y=d._init,C=y(v);t.type=C;var E=t.tag=MU(C),A=Hl(C,u),Z;switch(E){case p:return Ky(t,C),t.type=C=xd(C),Z=$y(null,t,C,A,i),Z;case m:return t.type=C=T0(C),Z=u4(null,t,C,A,i),Z;case j:return t.type=C=E0(C),Z=n4(null,t,C,A,i),Z;case N:{if(t.type!==t.elementType){var Q=C.propTypes;Q&&Il(Q,A,"prop",Hr(C))}return Z=o4(null,t,C,Hl(C.type,A),i),Z}}var me="";throw C!==null&&typeof C=="object"&&C.$$typeof===Je&&(me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+me))}function Lj(e,t,n,i,u){s_(e,t),t.tag=m;var d;return ds(n)?(d=!0,gv(t)):d=!1,ud(t,u),Jx(t,n,i),By(t,n,i,u),Gy(null,t,n,!0,d,u)}function Nj(e,t,n,i){s_(e,t);var u=t.pendingProps,d;{var v=rd(t,n,!1);d=ad(t,v)}ud(t,i);var y,C;bp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";Uy[E]||(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.",E,E),Uy[E]=!0)}t.mode&Ma&&Bl.recordLegacyContextWarning(t,null),ml(!0),bh.current=t,y=md(null,t,n,u,d,i),C=vd(),ml(!1)}if(Uf(),t.flags|=jf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var A=Hr(n)||"Unknown";yh[A]||(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.",A,A,A),yh[A]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var Z=Hr(n)||"Unknown";yh[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),yh[Z]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var Q=!1;return ds(n)?(Q=!0,gv(t)):Q=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,$1(t),Qx(t,y),By(t,n,u,i),Gy(null,t,n,!0,Q,i)}else{if(t.tag=p,t.mode&Ma){vn(!0);try{y=md(null,t,n,u,d,i),C=vd()}finally{vn(!1)}}return kn()&&C&&E1(t),Kn(null,t,y,i),Ky(t,n),t.child}}function Ky(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="",i=Ru();i&&(n+=`
100
+ `+(""+E);console.error(Z)}catch(J){setTimeout(function(){throw J})}}var gj=typeof WeakMap=="function"?WeakMap:Map;function e4(e,t,n){var i=Qs(va,n);i.tag=q1,i.payload={element:null};var u=t.value;return i.callback=function(){mU(u),jy(e,t)},i}function Hy(e,t,n){var i=Qs(va,n);i.tag=q1;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var d=t.value;i.payload=function(){return u(d)},i.callback=function(){dk(e),jy(e,t)}}var v=e.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(i.callback=function(){dk(e),jy(e,t),typeof u!="function"&&pU(this);var C=t.value,E=t.stack;this.componentDidCatch(C,{componentStack:E!==null?E:""}),typeof u!="function"&&(Po(e.lanes,qt)||c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Zt(e)||"Unknown"))}),i}function t4(e,t,n){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new gj,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(n)){u.add(n);var d=vU.bind(null,e,t,n);Pl&&Ph(e,n),t.then(d,d)}}function bj(e,t,n,i){var u=e.updateQueue;if(u===null){var d=new Set;d.add(n),e.updateQueue=d}else u.add(n)}function yj(e,t){var n=e.tag;if((e.mode&gr)===Ot&&(n===p||n===j||n===te)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function r4(e){var t=e;do{if(t.tag===Q&&ej(t))return t;t=t.return}while(t!==null);return null}function a4(e,t,n,i,u){if((e.mode&gr)===Ot){if(e===t)e.flags|=$n;else{if(e.flags|=Pr,n.flags|=lb,n.flags&=~(ZM|_p),n.tag===m){var d=n.alternate;if(d===null)n.tag=re;else{var v=Qs(va,qt);v.tag=Lv,Uu(n,v,qt)}}n.lanes=or(n.lanes,qt)}return e}return e.flags|=$n,e.lanes=u,e}function Sj(e,t,n,i,u){if(n.flags|=_p,Pl&&Ph(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var d=i;yj(n),kn()&&n.mode&gr&&G3();var v=r4(t);if(v!==null){v.flags&=~Fs,a4(v,t,n,e,u),v.mode&gr&&t4(e,d,u),bj(v,e,d);return}else{if(!VP(u)){t4(e,d,u),S0();return}var y=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=y}}else if(kn()&&n.mode&gr){G3();var C=r4(t);if(C!==null){(C.flags&$n)===zt&&(C.flags|=Fs),a4(C,t,n,e,u),O1(qc(i,n));return}}i=qc(i,n),oU(i);var E=t;do{switch(E.tag){case b:{var A=i;E.flags|=$n;var Z=kp(u);E.lanes=or(E.lanes,Z);var J=e4(E,A,Z);G1(E,J);return}case m:var me=i,ve=E.type,we=E.stateNode;if((E.flags&Pr)===zt&&(typeof ve.getDerivedStateFromError=="function"||we!==null&&typeof we.componentDidCatch=="function"&&!ak(we))){E.flags|=$n;var rt=kp(u);E.lanes=or(E.lanes,rt);var Rt=Hy(E,me,rt);G1(E,Rt);return}break}E=E.return}while(E!==null)}function wj(){return null}var bh=o.ReactCurrentOwner,Vl=!1,Uy,yh,Vy,Wy,qy,Yc,Yy,i_,Sh;Uy={},yh={},Vy={},Wy={},qy={},Yc=!1,Yy={},i_={},Sh={};function Gn(e,t,n,i){e===null?t.child=ix(t,null,n,i):t.child=sd(t,e.child,n,i)}function Cj(e,t,n,i){t.child=sd(t,e.child,null,i),t.child=sd(t,null,n,i)}function n4(e,t,n,i,u){if(t.type!==t.elementType){var d=n.propTypes;d&&zl(d,i,"prop",Hr(n))}var v=n.render,y=t.ref,C,E;cd(t,u),bp(t);{if(bh.current=t,ml(!0),C=vd(e,t,v,i,y,u),E=_d(),t.mode&Ma){_n(!0);try{C=vd(e,t,v,i,y,u),E=_d()}finally{_n(!1)}}ml(!1)}return Vf(),e!==null&&!Vl?(yx(e,t,u),Js(e,t,u)):(kn()&&E&&E1(t),t.flags|=Hf,Gn(e,t,C,u),t.child)}function o4(e,t,n,i,u){if(e===null){var d=n.type;if(OU(d)&&n.compare===null&&n.defaultProps===void 0){var v=d;return v=kd(d),t.tag=te,t.type=v,Ky(t,d),i4(e,t,v,i,u)}{var y=d.propTypes;if(y&&zl(y,i,"prop",Hr(d)),n.defaultProps!==void 0){var C=Hr(d)||"Unknown";Sh[C]||(c("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),Sh[C]=!0)}}var E=N0(n.type,null,i,t,t.mode,u);return E.ref=t.ref,E.return=t,t.child=E,E}{var A=n.type,Z=A.propTypes;Z&&zl(Z,i,"prop",Hr(A))}var J=e.child,me=t0(e,u);if(!me){var ve=J.memoizedProps,we=n.compare;if(we=we!==null?we:jp,we(ve,i)&&e.ref===t.ref)return Js(e,t,u)}t.flags|=Hf;var rt=Qc(J,i);return rt.ref=t.ref,rt.return=t,t.child=rt,rt}function i4(e,t,n,i,u){if(t.type!==t.elementType){var d=t.elementType;if(d.$$typeof===Je){var v=d,y=v._payload,C=v._init;try{d=C(y)}catch(Z){d=null}var E=d&&d.propTypes;E&&zl(E,i,"prop",Hr(d))}}if(e!==null){var A=e.memoizedProps;if(jp(A,i)&&e.ref===t.ref&&t.type===e.type)if(Vl=!1,t.pendingProps=i=A,t0(e,u))(e.flags&lb)!==zt&&(Vl=!0);else return t.lanes=e.lanes,Js(e,t,u)}return $y(e,t,n,i,u)}function l4(e,t,n){var i=t.pendingProps,u=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden"||de)if((t.mode&gr)===Ot){var v={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=v,b_(t,n)}else if(Po(n,Mo)){var Z={baseLanes:ze,cachePool:null,transitions:null};t.memoizedState=Z;var J=d!==null?d.baseLanes:n;b_(t,J)}else{var y=null,C;if(d!==null){var E=d.baseLanes;C=or(E,n)}else C=n;t.lanes=t.childLanes=Mo;var A={baseLanes:C,cachePool:y,transitions:null};return t.memoizedState=A,t.updateQueue=null,b_(t,C),null}else{var me;d!==null?(me=or(d.baseLanes,n),t.memoizedState=null):me=n,b_(t,me)}return Gn(e,t,u,n),t.child}function xj(e,t,n){var i=t.pendingProps;return Gn(e,t,i,n),t.child}function kj(e,t,n){var i=t.pendingProps.children;return Gn(e,t,i,n),t.child}function Tj(e,t,n){{t.flags|=kr;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,d=u.children;return Gn(e,t,d,n),t.child}function s4(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Au,t.flags|=sb)}function $y(e,t,n,i,u){if(t.type!==t.elementType){var d=n.propTypes;d&&zl(d,i,"prop",Hr(n))}var v;{var y=ad(t,n,!0);v=nd(t,y)}var C,E;cd(t,u),bp(t);{if(bh.current=t,ml(!0),C=vd(e,t,n,i,v,u),E=_d(),t.mode&Ma){_n(!0);try{C=vd(e,t,n,i,v,u),E=_d()}finally{_n(!1)}}ml(!1)}return Vf(),e!==null&&!Vl?(yx(e,t,u),Js(e,t,u)):(kn()&&E&&E1(t),t.flags|=Hf,Gn(e,t,C,u),t.child)}function u4(e,t,n,i,u){{switch(GU(t)){case!1:{var d=t.stateNode,v=t.type,y=new v(t.memoizedProps,d.context),C=y.state;d.updater.enqueueSetState(d,C,null);break}case!0:{t.flags|=Pr,t.flags|=$n;var E=new Error("Simulated error coming from DevTools"),A=kp(u);t.lanes=or(t.lanes,A);var Z=Hy(t,qc(E,t),A);G1(t,Z);break}}if(t.type!==t.elementType){var J=n.propTypes;J&&zl(J,i,"prop",Hr(n))}}var me;ds(n)?(me=!0,gv(t)):me=!1,cd(t,u);var ve=t.stateNode,we;ve===null?(s_(e,t),Jx(t,n,i),By(t,n,i,u),we=!0):e===null?we=mj(t,n,i,u):we=vj(e,t,n,i,u);var rt=Gy(e,t,n,we,me,u);{var Rt=t.stateNode;we&&Rt.props!==i&&(Yc||c("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Zt(t)||"a component"),Yc=!0)}return rt}function Gy(e,t,n,i,u,d){s4(e,t);var v=(t.flags&Pr)!==zt;if(!i&&!v)return u&&W3(t,n,!1),Js(e,t,d);var y=t.stateNode;bh.current=t;var C;if(v&&typeof n.getDerivedStateFromError!="function")C=null,$x();else{bp(t);{if(ml(!0),C=y.render(),t.mode&Ma){_n(!0);try{y.render()}finally{_n(!1)}}ml(!1)}Vf()}return t.flags|=Hf,e!==null&&v?Cj(e,t,C,d):Gn(e,t,C,d),t.memoizedState=y.state,u&&W3(t,n,!0),t.child}function c4(e){var t=e.stateNode;t.pendingContext?U3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&U3(e,t.context,!1),K1(e,t.containerInfo)}function Ej(e,t,n){if(c4(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,d=u.element;px(e,t),Pv(t,i,null,n);var v=t.memoizedState,y=t.stateNode,C=v.element;if(u.isDehydrated){var E={element:C,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},A=t.updateQueue;if(A.baseState=E,t.memoizedState=E,t.flags&Fs){var Z=qc(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 f4(e,t,C,n,Z)}else if(C!==d){var J=qc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return f4(e,t,C,n,J)}else{AF(t);var me=ix(t,null,C,n);t.child=me;for(var ve=me;ve;)ve.flags=ve.flags&~Xa|js,ve=ve.sibling}}else{if(ld(),C===d)return Js(e,t,n);Gn(e,t,C,n)}return t.child}function f4(e,t,n,i,u){return ld(),O1(u),t.flags|=Fs,Gn(e,t,n,i),t.child}function Rj(e,t,n){_x(t),e===null&&N1(t);var i=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,v=u.children,y=p1(i,u);return y?v=null:d!==null&&p1(i,d)&&(t.flags|=vp),s4(e,t),Gn(e,t,v,n),t.child}function Dj(e,t){return e===null&&N1(t),null}function Aj(e,t,n,i){s_(e,t);var u=t.pendingProps,d=n,v=d._payload,y=d._init,C=y(v);t.type=C;var E=t.tag=MU(C),A=Ul(C,u),Z;switch(E){case p:return Ky(t,C),t.type=C=kd(C),Z=$y(null,t,C,A,i),Z;case m:return t.type=C=T0(C),Z=u4(null,t,C,A,i),Z;case j:return t.type=C=E0(C),Z=n4(null,t,C,A,i),Z;case N:{if(t.type!==t.elementType){var J=C.propTypes;J&&zl(J,A,"prop",Hr(C))}return Z=o4(null,t,C,Ul(C.type,A),i),Z}}var me="";throw C!==null&&typeof C=="object"&&C.$$typeof===Je&&(me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+me))}function Lj(e,t,n,i,u){s_(e,t),t.tag=m;var d;return ds(n)?(d=!0,gv(t)):d=!1,cd(t,u),Jx(t,n,i),By(t,n,i,u),Gy(null,t,n,!0,d,u)}function Nj(e,t,n,i){s_(e,t);var u=t.pendingProps,d;{var v=ad(t,n,!1);d=nd(t,v)}cd(t,i);var y,C;bp(t);{if(n.prototype&&typeof n.prototype.render=="function"){var E=Hr(n)||"Unknown";Uy[E]||(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.",E,E),Uy[E]=!0)}t.mode&Ma&&Fl.recordLegacyContextWarning(t,null),ml(!0),bh.current=t,y=vd(null,t,n,u,d,i),C=_d(),ml(!1)}if(Vf(),t.flags|=Hf,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var A=Hr(n)||"Unknown";yh[A]||(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.",A,A,A),yh[A]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var Z=Hr(n)||"Unknown";yh[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),yh[Z]=!0)}t.tag=m,t.memoizedState=null,t.updateQueue=null;var J=!1;return ds(n)?(J=!0,gv(t)):J=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,$1(t),Qx(t,y),By(t,n,u,i),Gy(null,t,n,!0,J,i)}else{if(t.tag=p,t.mode&Ma){_n(!0);try{y=vd(null,t,n,u,d,i),C=_d()}finally{_n(!1)}}return kn()&&C&&E1(t),Gn(null,t,y,i),Ky(t,n),t.child}}function Ky(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="",i=Ru();i&&(n+=`
101
101
 
102
- Check the render method of \``+i+"`.");var u=i||"",d=e._debugSource;d&&(u=d.fileName+":"+d.lineNumber),qy[u]||(qy[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 v=Hr(t)||"Unknown";Sh[v]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",v),Sh[v]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";Wy[y]||(c("%s: Function components do not support getDerivedStateFromProps.",y),Wy[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Hr(t)||"Unknown";Vy[C]||(c("%s: Function components do not support contextType.",C),Vy[C]=!0)}}}var Xy={dehydrated:null,treeContext:null,retryLane:_n};function Qy(e){return{baseLanes:e,cachePool:wj(),transitions:null}}function Oj(e,t){var n=null;return{baseLanes:or(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Mj(e,t,n,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return J1(e,ch)}function Pj(e,t){return Hm(e.childLanes,t)}function d4(e,t,n){var i=t.pendingProps;KU(t)&&(t.flags|=Pr);var u=Fl.current,d=!1,v=(t.flags&Pr)!==zt;if(v||Mj(u,e)?(d=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(u=ZF(u,bx)),u=fd(u),Wu(t,u),e===null){N1(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return jj(t,C)}var E=i.children,A=i.fallback;if(d){var Z=Ij(t,E,A,n),Q=t.child;return Q.memoizedState=Qy(n),t.memoizedState=Xy,Z}else return Jy(t,E)}else{var me=e.memoizedState;if(me!==null){var ve=me.dehydrated;if(ve!==null)return Hj(e,t,v,i,ve,me,n)}if(d){var Ce=i.fallback,et=i.children,Rt=Bj(e,t,et,Ce,n),St=t.child,fr=e.child.memoizedState;return St.memoizedState=fr===null?Qy(n):Oj(fr,n),St.childLanes=Pj(e,n),t.memoizedState=Xy,Rt}else{var dr=i.children,ue=zj(e,t,dr,n);return t.memoizedState=null,ue}}}function Jy(e,t,n){var i=e.mode,u={mode:"visible",children:t},d=Zy(u,i);return d.return=e,e.child=d,d}function Ij(e,t,n,i){var u=e.mode,d=e.child,v={mode:"hidden",children:t},y,C;return(u&vr)===Ot&&d!==null?(y=d,y.childLanes=ze,y.pendingProps=v,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Ju(n,u,i,null)):(y=Zy(v,u),C=Ju(n,u,i,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function Zy(e,t,n){return hk(e,t,ze,null)}function p4(e,t){return Xc(e,t)}function zj(e,t,n,i){var u=e.child,d=u.sibling,v=p4(u,{mode:"visible",children:n});if((t.mode&vr)===Ot&&(v.lanes=i),v.return=t,v.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=wc):y.push(d)}return t.child=v,v}function Bj(e,t,n,i,u){var d=t.mode,v=e.child,y=v.sibling,C={mode:"hidden",children:n},E;if((d&vr)===Ot&&t.child!==v){var A=t.child;E=A,E.childLanes=ze,E.pendingProps=C,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=v.selfBaseDuration,E.treeBaseDuration=v.treeBaseDuration),t.deletions=null}else E=p4(v,C),E.subtreeFlags=v.subtreeFlags&Us;var Z;return y!==null?Z=Xc(y,i):(Z=Ju(i,d,u,null),Z.flags|=Xa),Z.return=t,E.return=t,E.sibling=Z,t.child=E,Z}function l_(e,t,n,i){i!==null&&O1(i),ld(t,e.child,null,n);var u=t.pendingProps,d=u.children,v=Jy(t,d);return v.flags|=Xa,t.memoizedState=null,v}function Fj(e,t,n,i,u){var d=t.mode,v={mode:"visible",children:n},y=Zy(v,d),C=Ju(i,d,u,null);return C.flags|=Xa,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&vr)!==Ot&&ld(t,e.child,null,u),C}function jj(e,t,n){return(e.mode&vr)===Ot?(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=qt):_1(t)?e.lanes=Dc:e.lanes=Mo,null}function Hj(e,t,n,i,u,d,v){if(n)if(t.flags&Fs){t.flags&=~Fs;var ue=Fy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return l_(e,t,v,ue)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var De=i.children,ce=i.fallback,$e=Fj(e,t,De,ce,v),lt=t.child;return lt.memoizedState=Qy(v),t.memoizedState=Xy,$e}else{if(RF(),(t.mode&vr)===Ot)return l_(e,t,v,null);if(_1(u)){var y,C,E;{var A=qB(u);y=A.digest,C=A.message,E=A.stack}var Z;C?Z=new Error(C):Z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=Fy(Z,y,E);return l_(e,t,v,Q)}var me=Po(v,e.childLanes);if(Ul||me){var ve=g_();if(ve!==null){var Ce=QP(ve,v);if(Ce!==_n&&Ce!==d.retryLane){d.retryLane=Ce;var et=va;bo(e,Ce),cn(ve,e,Ce,et)}}S0();var Rt=Fy(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 l_(e,t,v,Rt)}else if(I3(u)){t.flags|=Pr,t.child=e.child;var St=_U.bind(null,e);return YB(u,St),null}else{LF(t,u,d.treeContext);var fr=i.children,dr=Jy(t,fr);return dr.flags|=js,dr}}}function h4(e,t,n){e.lanes=or(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=or(i.lanes,t)),V1(e.return,t,n)}function Uj(e,t,n){for(var i=t;i!==null;){if(i.tag===J){var u=i.memoizedState;u!==null&&h4(i,n,e)}else if(i.tag===Se)h4(i,n,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function Vj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Fv(i)===null&&(n=t),t=t.sibling}return n}function Wj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Yy[e])if(Yy[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 qj(e,t){e!==void 0&&!i_[e]&&(e!=="collapsed"&&e!=="hidden"?(i_[e]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(i_[e]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function m4(e,t){{var n=tn(e),i=!n&&typeof Ga(e)=="function";if(n||i){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 Yj(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(tn(e)){for(var n=0;n<e.length;n++)if(!m4(e[n],n))return}else{var i=Ga(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var d=u.next(),v=0;!d.done;d=u.next()){if(!m4(d.value,v))return;v++}}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 e0(e,t,n,i,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=u)}function v4(e,t,n){var i=t.pendingProps,u=i.revealOrder,d=i.tail,v=i.children;Wj(u),qj(d,u),Yj(v,u),Kn(e,t,v,n);var y=Fl.current,C=J1(y,ch);if(C)y=Z1(y,ch),t.flags|=Pr;else{var E=e!==null&&(e.flags&Pr)!==zt;E&&Uj(t,t.child,n),y=fd(y)}if(Wu(t,y),(t.mode&vr)===Ot)t.memoizedState=null;else switch(u){case"forwards":{var A=Vj(t.child),Z;A===null?(Z=t.child,t.child=null):(Z=A.sibling,A.sibling=null),e0(t,!1,Z,A,d);break}case"backwards":{var Q=null,me=t.child;for(t.child=null;me!==null;){var ve=me.alternate;if(ve!==null&&Fv(ve)===null){t.child=me;break}var Ce=me.sibling;me.sibling=Q,Q=me,me=Ce}e0(t,!0,Q,null,d);break}case"together":{e0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function $j(e,t,n){K1(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=ld(t,null,i,n):Kn(e,t,i,n),t.child}var _4=!1;function Gj(e,t,n){var i=t.type,u=i._context,d=t.pendingProps,v=t.memoizedProps,y=d.value;{"value"in d||_4||(_4=!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&&Il(C,d,"prop","Context.Provider")}if(ux(t,u,y),v!==null){var E=v.value;if(Bo(E,y)){if(v.children===d.children&&!vv())return Js(e,t,n)}else WF(t,u,n)}var A=d.children;return Kn(e,t,A,n),t.child}var g4=!1;function Kj(e,t,n){var i=t.type;i._context===void 0?i!==i.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?"))):i=i._context;var u=t.pendingProps,d=u.children;typeof d!="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."),ud(t,n);var v=Qa(i);bp(t);var y;return bh.current=t,ml(!0),y=d(v),ml(!1),Uf(),t.flags|=jf,Kn(e,t,y,n),t.child}function wh(){Ul=!0}function s_(e,t){(t.mode&vr)===Ot&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Xa)}function Js(e,t,n){return e!==null&&(t.dependencies=e.dependencies),$x(),Mh(t.lanes),Po(n,t.childLanes)?(UF(e,t),t.child):null}function Xj(e,t,n){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===i.child)i.child=n;else{var u=i.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 d=i.deletions;return d===null?(i.deletions=[e],i.flags|=wc):d.push(e),n.flags|=Xa,n}}function t0(e,t){var n=e.lanes;return!!Po(n,t)}function Qj(e,t,n){switch(t.tag){case b:c4(t);var i=t.stateNode;id();break;case w:_x(t);break;case m:{var u=t.type;ds(u)&&gv(t);break}case S:K1(t,t.stateNode.containerInfo);break;case O:{var d=t.memoizedProps.value,v=t.type._context;ux(t,v,d);break}case F:{var y=Po(n,t.childLanes);y&&(t.flags|=wr);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case J:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return Wu(t,fd(Fl.current)),t.flags|=Pr,null;var A=t.child,Z=A.childLanes;if(Po(n,Z))return d4(e,t,n);Wu(t,fd(Fl.current));var Q=Js(e,t,n);return Q!==null?Q.sibling:null}else Wu(t,fd(Fl.current));break}case Se:{var me=(e.flags&Pr)!==zt,ve=Po(n,t.childLanes);if(me){if(ve)return v4(e,t,n);t.flags|=Pr}var Ce=t.memoizedState;if(Ce!==null&&(Ce.rendering=null,Ce.tail=null,Ce.lastEffect=null),Wu(t,Fl.current),ve)break;return null}case H:case le:return t.lanes=ze,l4(e,t,n)}return Js(e,t,n)}function b4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Xj(e,t,N0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||vv()||t.type!==e.type)Ul=!0;else{var d=t0(e,n);if(!d&&(t.flags&Pr)===zt)return Ul=!1,Qj(e,t,n);(e.flags&lb)!==zt?Ul=!0:Ul=!1}}else if(Ul=!1,kn()&&wF(t)){var v=t.index,y=CF();$3(t,y,v)}switch(t.lanes=ze,t.tag){case g:return Nj(e,t,t.type,n);case _e:{var C=t.elementType;return Aj(e,t,C,n)}case p:{var E=t.type,A=t.pendingProps,Z=t.elementType===E?A:Hl(E,A);return $y(e,t,E,Z,n)}case m:{var Q=t.type,me=t.pendingProps,ve=t.elementType===Q?me:Hl(Q,me);return u4(e,t,Q,ve,n)}case b:return Ej(e,t,n);case w:return Rj(e,t,n);case k:return Dj(e,t);case J:return d4(e,t,n);case S:return $j(e,t,n);case j:{var Ce=t.type,et=t.pendingProps,Rt=t.elementType===Ce?et:Hl(Ce,et);return n4(e,t,Ce,Rt,n)}case L:return xj(e,t,n);case M:return kj(e,t,n);case F:return Tj(e,t,n);case O:return Gj(e,t,n);case Y:return Kj(e,t,n);case N:{var St=t.type,fr=t.pendingProps,dr=Hl(St,fr);if(t.type!==t.elementType){var ue=St.propTypes;ue&&Il(ue,dr,"prop",Hr(St))}return dr=Hl(St.type,dr),o4(e,t,St,dr,n)}case te:return i4(e,t,t.type,t.pendingProps,n);case ae:{var De=t.type,ce=t.pendingProps,$e=t.elementType===De?ce:Hl(De,ce);return Lj(e,t,De,$e,n)}case Se:return v4(e,t,n);case ge:break;case H:return l4(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 _d(e){e.flags|=wr}function y4(e){e.flags|=Au,e.flags|=sb}var S4,r0,w4,C4;S4=function(e,t,n,i){for(var u=t.child;u!==null;){if(u.tag===w||u.tag===k)bB(e,u.stateNode);else if(u.tag!==S){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}},r0=function(e,t){},w4=function(e,t,n,i,u){var d=e.memoizedProps;if(d!==i){var v=t.stateNode,y=X1(),C=SB(v,n,d,i,u,y);t.updateQueue=C,C&&_d(t)}},C4=function(e,t,n,i){n!==i&&_d(t)};function Ch(e,t){if(!kn())switch(e.tailMode){case"hidden":{for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,d=null;u!==null;)u.alternate!==null&&(d=u),u=u.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function En(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=ze,i=zt;if(t){if((e.mode&Kr)!==Ot){for(var C=e.selfBaseDuration,E=e.child;E!==null;)n=or(n,or(E.lanes,E.childLanes)),i|=E.subtreeFlags&Us,i|=E.flags&Us,C+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=C}else for(var A=e.child;A!==null;)n=or(n,or(A.lanes,A.childLanes)),i|=A.subtreeFlags&Us,i|=A.flags&Us,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Ot){for(var u=e.actualDuration,d=e.selfBaseDuration,v=e.child;v!==null;)n=or(n,or(v.lanes,v.childLanes)),i|=v.subtreeFlags,i|=v.flags,u+=v.actualDuration,d+=v.treeBaseDuration,v=v.sibling;e.actualDuration=u,e.treeBaseDuration=d}else for(var y=e.child;y!==null;)n=or(n,or(y.lanes,y.childLanes)),i|=y.subtreeFlags,i|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function Jj(e,t,n){if(IF()&&(t.mode&vr)!==Ot&&(t.flags&Pr)===zt)return ex(t),id(),t.flags|=Fs|_p|Gn,!1;var i=Cv(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(MF(t),En(t),(t.mode&Kr)!==Ot){var u=n!==null;if(u){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(id(),(t.flags&Pr)===zt&&(t.memoizedState=null),t.flags|=wr,En(t),(t.mode&Kr)!==Ot){var v=n!==null;if(v){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return tx(),!0}function x4(e,t,n){var i=t.pendingProps;switch(R1(t),t.tag){case g:case _e:case te:case p:case j:case L:case M:case F:case Y:case N:return En(t),null;case m:{var u=t.type;return ds(u)&&_v(t),En(t),null}case b:{var d=t.stateNode;if(cd(t),x1(t),ty(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var v=Cv(t);if(v)_d(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Fs)!==zt)&&(t.flags|=Cc,tx())}}return r0(e,t),En(t),null}case w:{Q1(t);var C=vx(),E=t.type;if(e!==null&&t.stateNode!=null)w4(e,t,E,i,C),e.ref!==t.ref&&y4(t);else{if(!i){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return En(t),null}var A=X1(),Z=Cv(t);if(Z)NF(t,C,A)&&_d(t);else{var Q=gB(E,i,C,A,t);S4(Q,t,!1,!1),t.stateNode=Q,yB(Q,E,i,C)&&_d(t)}t.ref!==null&&y4(t)}return En(t),null}case k:{var me=i;if(e&&t.stateNode!=null){var ve=e.memoizedProps;C4(e,t,ve,me)}else{if(typeof me!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Ce=vx(),et=X1(),Rt=Cv(t);Rt?OF(t)&&_d(t):t.stateNode=wB(me,Ce,et,t)}return En(t),null}case J:{dd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var fr=Jj(e,t,St);if(!fr)return t.flags&Gn?t:null}if((t.flags&Pr)!==zt)return t.lanes=n,(t.mode&Kr)!==Ot&&Ty(t),t;var dr=St!==null,ue=e!==null&&e.memoizedState!==null;if(dr!==ue&&dr){var De=t.child;if(De.flags|=xc,(t.mode&vr)!==Ot){var ce=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ke);ce||J1(Fl.current,bx)?nU():S0()}}var $e=t.updateQueue;if($e!==null&&(t.flags|=wr),En(t),(t.mode&Kr)!==Ot&&dr){var lt=t.child;lt!==null&&(t.treeBaseDuration-=lt.treeBaseDuration)}return null}case S:return cd(t),r0(e,t),e===null&&mF(t.stateNode.containerInfo),En(t),null;case O:var rt=t.type._context;return U1(rt,t),En(t),null;case ae:{var jt=t.type;return ds(jt)&&_v(t),En(t),null}case Se:{dd(t);var Gt=t.memoizedState;if(Gt===null)return En(t),null;var Qr=(t.flags&Pr)!==zt,Ar=Gt.rendering;if(Ar===null)if(Qr)Ch(Gt,!1);else{var Ua=iU()&&(e===null||(e.flags&Pr)===zt);if(!Ua)for(var Lr=t.child;Lr!==null;){var Pa=Fv(Lr);if(Pa!==null){Qr=!0,t.flags|=Pr,Ch(Gt,!1);var Fn=Pa.updateQueue;return Fn!==null&&(t.updateQueue=Fn,t.flags|=wr),t.subtreeFlags=zt,VF(t,n),Wu(t,Z1(Fl.current,ch)),t.child}Lr=Lr.sibling}Gt.tail!==null&&mn()>Y4()&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}else{if(!Qr){var Nn=Fv(Ar);if(Nn!==null){t.flags|=Pr,Qr=!0;var Ho=Nn.updateQueue;if(Ho!==null&&(t.updateQueue=Ho,t.flags|=wr),Ch(Gt,!0),Gt.tail===null&&Gt.tailMode==="hidden"&&!Ar.alternate&&!kn())return En(t),null}else mn()*2-Gt.renderingStartTime>Y4()&&n!==Mo&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}if(Gt.isBackwards)Ar.sibling=t.child,t.child=Ar;else{var Jn=Gt.last;Jn!==null?Jn.sibling=Ar:t.child=Ar,Gt.last=Ar}}if(Gt.tail!==null){var Zn=Gt.tail;Gt.rendering=Zn,Gt.tail=Zn.sibling,Gt.renderingStartTime=mn(),Zn.sibling=null;var jn=Fl.current;return Qr?jn=Z1(jn,ch):jn=fd(jn),Wu(t,jn),Zn}return En(t),null}case ge:break;case H:case le:{y0(t);var au=t.memoizedState,kd=au!==null;if(e!==null){var Fh=e.memoizedState,ys=Fh!==null;ys!==kd&&!de&&(t.flags|=xc)}return!kd||(t.mode&vr)===Ot?En(t):Po(bs,Mo)&&(En(t),t.subtreeFlags&(Xa|wr)&&(t.flags|=xc)),null}case fe:return null;case B:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Zj(e,t,n){switch(R1(t),t.tag){case m:{var i=t.type;ds(i)&&_v(t);var u=t.flags;return u&Gn?(t.flags=u&~Gn|Pr,(t.mode&Kr)!==Ot&&Ty(t),t):null}case b:{var d=t.stateNode;cd(t),x1(t),ty();var v=t.flags;return(v&Gn)!==zt&&(v&Pr)===zt?(t.flags=v&~Gn|Pr,t):null}case w:return Q1(t),null;case J:{dd(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.");id()}var C=t.flags;return C&Gn?(t.flags=C&~Gn|Pr,(t.mode&Kr)!==Ot&&Ty(t),t):null}case Se:return dd(t),null;case S:return cd(t),null;case O:var E=t.type._context;return U1(E,t),null;case H:case le:return y0(t),null;case fe:return null;default:return null}}function k4(e,t,n){switch(R1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&_v(t);break}case b:{var u=t.stateNode;cd(t),x1(t),ty();break}case w:{Q1(t);break}case S:cd(t);break;case J:dd(t);break;case Se:dd(t);break;case O:var d=t.type._context;U1(d,t);break;case H:case le:y0(t);break}}var T4=null;T4=new Set;var u_=!1,Rn=!1,eH=typeof WeakSet=="function"?WeakSet:Set,_t=null,gd=null,bd=null;function tH(e){nb(null,function(){throw e}),ob()}var rH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Kr)try{_s(),t.componentWillUnmount()}finally{vs(e)}else t.componentWillUnmount()};function E4(e,t){try{$u(an,e)}catch(n){fa(e,t,n)}}function a0(e,t,n){try{rH(e,n)}catch(i){fa(e,t,i)}}function aH(e,t,n){try{n.componentDidMount()}catch(i){fa(e,t,i)}}function R4(e,t){try{L4(e)}catch(n){fa(e,t,n)}}function yd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(at&&Tt&&e.mode&Kr)try{_s(),i=n(null)}finally{vs(e)}else i=n(null)}catch(u){fa(e,t,u)}typeof i=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(e))}else n.current=null}function c_(e,t,n){try{n()}catch(i){fa(e,t,i)}}var D4=null,A4=!1;function nH(e,t){D4=vB(e.containerInfo),_t=t,oH();var n=A4;return A4=!1,D4=null,n}function oH(){for(;_t!==null;){var e=_t,t=e.child;(e.subtreeFlags&cb)!==zt&&t!==null?(t.return=e,_t=t):iH()}}function iH(){for(;_t!==null;){var e=_t;wa(e);try{lH(e)}catch(n){fa(e,e.return,n)}hn();var t=e.sibling;if(t!==null){t.return=e.return,_t=t;return}_t=e.return}}function lH(e){var t=e.alternate,n=e.flags;if((n&Cc)!==zt){switch(wa(e),e.tag){case p:case j:case te:break;case m:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!qc&&(d.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.",Zt(e)||"instance"),d.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.",Zt(e)||"instance"));var v=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Hl(e.type,i),u);{var y=T4;v===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.",Zt(e)))}d.__reactInternalSnapshotBeforeUpdate=v}break}case b:{{var C=e.stateNode;HB(C.containerInfo)}break}case w:case k:case S:case ae: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.")}hn()}}function Vl(e,t,n){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var d=u.next,v=d;do{if((v.tag&e)===e){var y=v.destroy;v.destroy=void 0,y!==void 0&&((e&Tn)!==yo?wP(t):(e&an)!==yo&&gC(t),(e&ps)!==yo&&Ih(!0),c_(t,n,y),(e&ps)!==yo&&Ih(!1),(e&Tn)!==yo?CP():(e&an)!==yo&&bC())}v=v.next}while(v!==d)}}function $u(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var u=i.next,d=u;do{if((d.tag&e)===e){(e&Tn)!==yo?yP(t):(e&an)!==yo&&xP(t);var v=d.create;(e&ps)!==yo&&Ih(!0),d.destroy=v(),(e&ps)!==yo&&Ih(!1),(e&Tn)!==yo?SP():(e&an)!==yo&&kP();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(d.tag&an)!==zt?C="useLayoutEffect":(d.tag&ps)!==zt?C="useInsertionEffect":C="useEffect";var E=void 0;y===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?E=`
102
+ Check the render method of \``+i+"`.");var u=i||"",d=e._debugSource;d&&(u=d.fileName+":"+d.lineNumber),qy[u]||(qy[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 v=Hr(t)||"Unknown";Sh[v]||(c("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",v),Sh[v]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Hr(t)||"Unknown";Wy[y]||(c("%s: Function components do not support getDerivedStateFromProps.",y),Wy[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Hr(t)||"Unknown";Vy[C]||(c("%s: Function components do not support contextType.",C),Vy[C]=!0)}}}var Xy={dehydrated:null,treeContext:null,retryLane:gn};function Qy(e){return{baseLanes:e,cachePool:wj(),transitions:null}}function Oj(e,t){var n=null;return{baseLanes:or(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function Mj(e,t,n,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return J1(e,ch)}function Pj(e,t){return Hm(e.childLanes,t)}function d4(e,t,n){var i=t.pendingProps;KU(t)&&(t.flags|=Pr);var u=jl.current,d=!1,v=(t.flags&Pr)!==zt;if(v||Mj(u,e)?(d=!0,t.flags&=~Pr):(e===null||e.memoizedState!==null)&&(u=ZF(u,bx)),u=dd(u),Wu(t,u),e===null){N1(t);var y=t.memoizedState;if(y!==null){var C=y.dehydrated;if(C!==null)return jj(t,C)}var E=i.children,A=i.fallback;if(d){var Z=Ij(t,E,A,n),J=t.child;return J.memoizedState=Qy(n),t.memoizedState=Xy,Z}else return Jy(t,E)}else{var me=e.memoizedState;if(me!==null){var ve=me.dehydrated;if(ve!==null)return Hj(e,t,v,i,ve,me,n)}if(d){var we=i.fallback,rt=i.children,Rt=Bj(e,t,rt,we,n),St=t.child,dr=e.child.memoizedState;return St.memoizedState=dr===null?Qy(n):Oj(dr,n),St.childLanes=Pj(e,n),t.memoizedState=Xy,Rt}else{var pr=i.children,ue=zj(e,t,pr,n);return t.memoizedState=null,ue}}}function Jy(e,t,n){var i=e.mode,u={mode:"visible",children:t},d=Zy(u,i);return d.return=e,e.child=d,d}function Ij(e,t,n,i){var u=e.mode,d=e.child,v={mode:"hidden",children:t},y,C;return(u&gr)===Ot&&d!==null?(y=d,y.childLanes=ze,y.pendingProps=v,e.mode&Kr&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),C=Ju(n,u,i,null)):(y=Zy(v,u),C=Ju(n,u,i,null)),y.return=e,C.return=e,y.sibling=C,e.child=y,C}function Zy(e,t,n){return hk(e,t,ze,null)}function p4(e,t){return Qc(e,t)}function zj(e,t,n,i){var u=e.child,d=u.sibling,v=p4(u,{mode:"visible",children:n});if((t.mode&gr)===Ot&&(v.lanes=i),v.return=t,v.sibling=null,d!==null){var y=t.deletions;y===null?(t.deletions=[d],t.flags|=Cc):y.push(d)}return t.child=v,v}function Bj(e,t,n,i,u){var d=t.mode,v=e.child,y=v.sibling,C={mode:"hidden",children:n},E;if((d&gr)===Ot&&t.child!==v){var A=t.child;E=A,E.childLanes=ze,E.pendingProps=C,t.mode&Kr&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=v.selfBaseDuration,E.treeBaseDuration=v.treeBaseDuration),t.deletions=null}else E=p4(v,C),E.subtreeFlags=v.subtreeFlags&Us;var Z;return y!==null?Z=Qc(y,i):(Z=Ju(i,d,u,null),Z.flags|=Xa),Z.return=t,E.return=t,E.sibling=Z,t.child=E,Z}function l_(e,t,n,i){i!==null&&O1(i),sd(t,e.child,null,n);var u=t.pendingProps,d=u.children,v=Jy(t,d);return v.flags|=Xa,t.memoizedState=null,v}function Fj(e,t,n,i,u){var d=t.mode,v={mode:"visible",children:n},y=Zy(v,d),C=Ju(i,d,u,null);return C.flags|=Xa,y.return=t,C.return=t,y.sibling=C,t.child=y,(t.mode&gr)!==Ot&&sd(t,e.child,null,u),C}function jj(e,t,n){return(e.mode&gr)===Ot?(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=qt):_1(t)?e.lanes=Ac:e.lanes=Mo,null}function Hj(e,t,n,i,u,d,v){if(n)if(t.flags&Fs){t.flags&=~Fs;var ue=Fy(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return l_(e,t,v,ue)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Pr,null;var De=i.children,ce=i.fallback,qe=Fj(e,t,De,ce,v),ut=t.child;return ut.memoizedState=Qy(v),t.memoizedState=Xy,qe}else{if(RF(),(t.mode&gr)===Ot)return l_(e,t,v,null);if(_1(u)){var y,C,E;{var A=qB(u);y=A.digest,C=A.message,E=A.stack}var Z;C?Z=new Error(C):Z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var J=Fy(Z,y,E);return l_(e,t,v,J)}var me=Po(v,e.childLanes);if(Vl||me){var ve=g_();if(ve!==null){var we=QP(ve,v);if(we!==gn&&we!==d.retryLane){d.retryLane=we;var rt=va;go(e,we),cn(ve,e,we,rt)}}S0();var Rt=Fy(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 l_(e,t,v,Rt)}else if(I3(u)){t.flags|=Pr,t.child=e.child;var St=_U.bind(null,e);return YB(u,St),null}else{LF(t,u,d.treeContext);var dr=i.children,pr=Jy(t,dr);return pr.flags|=js,pr}}}function h4(e,t,n){e.lanes=or(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=or(i.lanes,t)),V1(e.return,t,n)}function Uj(e,t,n){for(var i=t;i!==null;){if(i.tag===Q){var u=i.memoizedState;u!==null&&h4(i,n,e)}else if(i.tag===ye)h4(i,n,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function Vj(e){for(var t=e,n=null;t!==null;){var i=t.alternate;i!==null&&Fv(i)===null&&(n=t),t=t.sibling}return n}function Wj(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Yy[e])if(Yy[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 qj(e,t){e!==void 0&&!i_[e]&&(e!=="collapsed"&&e!=="hidden"?(i_[e]=!0,c('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(i_[e]=!0,c('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function m4(e,t){{var n=tn(e),i=!n&&typeof Ga(e)=="function";if(n||i){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 Yj(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(tn(e)){for(var n=0;n<e.length;n++)if(!m4(e[n],n))return}else{var i=Ga(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var d=u.next(),v=0;!d.done;d=u.next()){if(!m4(d.value,v))return;v++}}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 e0(e,t,n,i,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=u)}function v4(e,t,n){var i=t.pendingProps,u=i.revealOrder,d=i.tail,v=i.children;Wj(u),qj(d,u),Yj(v,u),Gn(e,t,v,n);var y=jl.current,C=J1(y,ch);if(C)y=Z1(y,ch),t.flags|=Pr;else{var E=e!==null&&(e.flags&Pr)!==zt;E&&Uj(t,t.child,n),y=dd(y)}if(Wu(t,y),(t.mode&gr)===Ot)t.memoizedState=null;else switch(u){case"forwards":{var A=Vj(t.child),Z;A===null?(Z=t.child,t.child=null):(Z=A.sibling,A.sibling=null),e0(t,!1,Z,A,d);break}case"backwards":{var J=null,me=t.child;for(t.child=null;me!==null;){var ve=me.alternate;if(ve!==null&&Fv(ve)===null){t.child=me;break}var we=me.sibling;me.sibling=J,J=me,me=we}e0(t,!0,J,null,d);break}case"together":{e0(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function $j(e,t,n){K1(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=sd(t,null,i,n):Gn(e,t,i,n),t.child}var _4=!1;function Gj(e,t,n){var i=t.type,u=i._context,d=t.pendingProps,v=t.memoizedProps,y=d.value;{"value"in d||_4||(_4=!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&&zl(C,d,"prop","Context.Provider")}if(ux(t,u,y),v!==null){var E=v.value;if(Bo(E,y)){if(v.children===d.children&&!vv())return Js(e,t,n)}else WF(t,u,n)}var A=d.children;return Gn(e,t,A,n),t.child}var g4=!1;function Kj(e,t,n){var i=t.type;i._context===void 0?i!==i.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?"))):i=i._context;var u=t.pendingProps,d=u.children;typeof d!="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."),cd(t,n);var v=Qa(i);bp(t);var y;return bh.current=t,ml(!0),y=d(v),ml(!1),Vf(),t.flags|=Hf,Gn(e,t,y,n),t.child}function wh(){Vl=!0}function s_(e,t){(t.mode&gr)===Ot&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Xa)}function Js(e,t,n){return e!==null&&(t.dependencies=e.dependencies),$x(),Mh(t.lanes),Po(n,t.childLanes)?(UF(e,t),t.child):null}function Xj(e,t,n){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===i.child)i.child=n;else{var u=i.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 d=i.deletions;return d===null?(i.deletions=[e],i.flags|=Cc):d.push(e),n.flags|=Xa,n}}function t0(e,t){var n=e.lanes;return!!Po(n,t)}function Qj(e,t,n){switch(t.tag){case b:c4(t);var i=t.stateNode;ld();break;case w:_x(t);break;case m:{var u=t.type;ds(u)&&gv(t);break}case S:K1(t,t.stateNode.containerInfo);break;case O:{var d=t.memoizedProps.value,v=t.type._context;ux(t,v,d);break}case F:{var y=Po(n,t.childLanes);y&&(t.flags|=kr);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case Q:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return Wu(t,dd(jl.current)),t.flags|=Pr,null;var A=t.child,Z=A.childLanes;if(Po(n,Z))return d4(e,t,n);Wu(t,dd(jl.current));var J=Js(e,t,n);return J!==null?J.sibling:null}else Wu(t,dd(jl.current));break}case ye:{var me=(e.flags&Pr)!==zt,ve=Po(n,t.childLanes);if(me){if(ve)return v4(e,t,n);t.flags|=Pr}var we=t.memoizedState;if(we!==null&&(we.rendering=null,we.tail=null,we.lastEffect=null),Wu(t,jl.current),ve)break;return null}case H:case le:return t.lanes=ze,l4(e,t,n)}return Js(e,t,n)}function b4(e,t,n){if(t._debugNeedsRemount&&e!==null)return Xj(e,t,N0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||vv()||t.type!==e.type)Vl=!0;else{var d=t0(e,n);if(!d&&(t.flags&Pr)===zt)return Vl=!1,Qj(e,t,n);(e.flags&lb)!==zt?Vl=!0:Vl=!1}}else if(Vl=!1,kn()&&wF(t)){var v=t.index,y=CF();$3(t,y,v)}switch(t.lanes=ze,t.tag){case g:return Nj(e,t,t.type,n);case _e:{var C=t.elementType;return Aj(e,t,C,n)}case p:{var E=t.type,A=t.pendingProps,Z=t.elementType===E?A:Ul(E,A);return $y(e,t,E,Z,n)}case m:{var J=t.type,me=t.pendingProps,ve=t.elementType===J?me:Ul(J,me);return u4(e,t,J,ve,n)}case b:return Ej(e,t,n);case w:return Rj(e,t,n);case k:return Dj(e,t);case Q:return d4(e,t,n);case S:return $j(e,t,n);case j:{var we=t.type,rt=t.pendingProps,Rt=t.elementType===we?rt:Ul(we,rt);return n4(e,t,we,Rt,n)}case L:return xj(e,t,n);case M:return kj(e,t,n);case F:return Tj(e,t,n);case O:return Gj(e,t,n);case Y:return Kj(e,t,n);case N:{var St=t.type,dr=t.pendingProps,pr=Ul(St,dr);if(t.type!==t.elementType){var ue=St.propTypes;ue&&zl(ue,pr,"prop",Hr(St))}return pr=Ul(St.type,pr),o4(e,t,St,pr,n)}case te:return i4(e,t,t.type,t.pendingProps,n);case re:{var De=t.type,ce=t.pendingProps,qe=t.elementType===De?ce:Ul(De,ce);return Lj(e,t,De,qe,n)}case ye:return v4(e,t,n);case ge:break;case H:return l4(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function gd(e){e.flags|=kr}function y4(e){e.flags|=Au,e.flags|=sb}var S4,r0,w4,C4;S4=function(e,t,n,i){for(var u=t.child;u!==null;){if(u.tag===w||u.tag===k)bB(e,u.stateNode);else if(u.tag!==S){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}},r0=function(e,t){},w4=function(e,t,n,i,u){var d=e.memoizedProps;if(d!==i){var v=t.stateNode,y=X1(),C=SB(v,n,d,i,u,y);t.updateQueue=C,C&&gd(t)}},C4=function(e,t,n,i){n!==i&&gd(t)};function Ch(e,t){if(!kn())switch(e.tailMode){case"hidden":{for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,d=null;u!==null;)u.alternate!==null&&(d=u),u=u.sibling;d===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:d.sibling=null;break}}}function En(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=ze,i=zt;if(t){if((e.mode&Kr)!==Ot){for(var C=e.selfBaseDuration,E=e.child;E!==null;)n=or(n,or(E.lanes,E.childLanes)),i|=E.subtreeFlags&Us,i|=E.flags&Us,C+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=C}else for(var A=e.child;A!==null;)n=or(n,or(A.lanes,A.childLanes)),i|=A.subtreeFlags&Us,i|=A.flags&Us,A.return=e,A=A.sibling;e.subtreeFlags|=i}else{if((e.mode&Kr)!==Ot){for(var u=e.actualDuration,d=e.selfBaseDuration,v=e.child;v!==null;)n=or(n,or(v.lanes,v.childLanes)),i|=v.subtreeFlags,i|=v.flags,u+=v.actualDuration,d+=v.treeBaseDuration,v=v.sibling;e.actualDuration=u,e.treeBaseDuration=d}else for(var y=e.child;y!==null;)n=or(n,or(y.lanes,y.childLanes)),i|=y.subtreeFlags,i|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=i}return e.childLanes=n,t}function Jj(e,t,n){if(IF()&&(t.mode&gr)!==Ot&&(t.flags&Pr)===zt)return ex(t),ld(),t.flags|=Fs|_p|$n,!1;var i=Cv(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(MF(t),En(t),(t.mode&Kr)!==Ot){var u=n!==null;if(u){var d=t.child;d!==null&&(t.treeBaseDuration-=d.treeBaseDuration)}}return!1}else{if(ld(),(t.flags&Pr)===zt&&(t.memoizedState=null),t.flags|=kr,En(t),(t.mode&Kr)!==Ot){var v=n!==null;if(v){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return tx(),!0}function x4(e,t,n){var i=t.pendingProps;switch(R1(t),t.tag){case g:case _e:case te:case p:case j:case L:case M:case F:case Y:case N:return En(t),null;case m:{var u=t.type;return ds(u)&&_v(t),En(t),null}case b:{var d=t.stateNode;if(fd(t),x1(t),ty(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),e===null||e.child===null){var v=Cv(t);if(v)gd(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&Fs)!==zt)&&(t.flags|=xc,tx())}}return r0(e,t),En(t),null}case w:{Q1(t);var C=vx(),E=t.type;if(e!==null&&t.stateNode!=null)w4(e,t,E,i,C),e.ref!==t.ref&&y4(t);else{if(!i){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return En(t),null}var A=X1(),Z=Cv(t);if(Z)NF(t,C,A)&&gd(t);else{var J=gB(E,i,C,A,t);S4(J,t,!1,!1),t.stateNode=J,yB(J,E,i,C)&&gd(t)}t.ref!==null&&y4(t)}return En(t),null}case k:{var me=i;if(e&&t.stateNode!=null){var ve=e.memoizedProps;C4(e,t,ve,me)}else{if(typeof me!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var we=vx(),rt=X1(),Rt=Cv(t);Rt?OF(t)&&gd(t):t.stateNode=wB(me,we,rt,t)}return En(t),null}case Q:{pd(t);var St=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var dr=Jj(e,t,St);if(!dr)return t.flags&$n?t:null}if((t.flags&Pr)!==zt)return t.lanes=n,(t.mode&Kr)!==Ot&&Ty(t),t;var pr=St!==null,ue=e!==null&&e.memoizedState!==null;if(pr!==ue&&pr){var De=t.child;if(De.flags|=kc,(t.mode&gr)!==Ot){var ce=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Ce);ce||J1(jl.current,bx)?nU():S0()}}var qe=t.updateQueue;if(qe!==null&&(t.flags|=kr),En(t),(t.mode&Kr)!==Ot&&pr){var ut=t.child;ut!==null&&(t.treeBaseDuration-=ut.treeBaseDuration)}return null}case S:return fd(t),r0(e,t),e===null&&mF(t.stateNode.containerInfo),En(t),null;case O:var at=t.type._context;return U1(at,t),En(t),null;case re:{var Ht=t.type;return ds(Ht)&&_v(t),En(t),null}case ye:{pd(t);var Gt=t.memoizedState;if(Gt===null)return En(t),null;var Qr=(t.flags&Pr)!==zt,Ar=Gt.rendering;if(Ar===null)if(Qr)Ch(Gt,!1);else{var Ua=iU()&&(e===null||(e.flags&Pr)===zt);if(!Ua)for(var Lr=t.child;Lr!==null;){var Pa=Fv(Lr);if(Pa!==null){Qr=!0,t.flags|=Pr,Ch(Gt,!1);var Fn=Pa.updateQueue;return Fn!==null&&(t.updateQueue=Fn,t.flags|=kr),t.subtreeFlags=zt,VF(t,n),Wu(t,Z1(jl.current,ch)),t.child}Lr=Lr.sibling}Gt.tail!==null&&vn()>Y4()&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}else{if(!Qr){var Nn=Fv(Ar);if(Nn!==null){t.flags|=Pr,Qr=!0;var Ho=Nn.updateQueue;if(Ho!==null&&(t.updateQueue=Ho,t.flags|=kr),Ch(Gt,!0),Gt.tail===null&&Gt.tailMode==="hidden"&&!Ar.alternate&&!kn())return En(t),null}else vn()*2-Gt.renderingStartTime>Y4()&&n!==Mo&&(t.flags|=Pr,Qr=!0,Ch(Gt,!1),t.lanes=CC)}if(Gt.isBackwards)Ar.sibling=t.child,t.child=Ar;else{var Qn=Gt.last;Qn!==null?Qn.sibling=Ar:t.child=Ar,Gt.last=Ar}}if(Gt.tail!==null){var Jn=Gt.tail;Gt.rendering=Jn,Gt.tail=Jn.sibling,Gt.renderingStartTime=vn(),Jn.sibling=null;var jn=jl.current;return Qr?jn=Z1(jn,ch):jn=dd(jn),Wu(t,jn),Jn}return En(t),null}case ge:break;case H:case le:{y0(t);var au=t.memoizedState,Td=au!==null;if(e!==null){var Fh=e.memoizedState,ys=Fh!==null;ys!==Td&&!de&&(t.flags|=kc)}return!Td||(t.mode&gr)===Ot?En(t):Po(bs,Mo)&&(En(t),t.subtreeFlags&(Xa|kr)&&(t.flags|=kc)),null}case fe:return null;case B:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Zj(e,t,n){switch(R1(t),t.tag){case m:{var i=t.type;ds(i)&&_v(t);var u=t.flags;return u&$n?(t.flags=u&~$n|Pr,(t.mode&Kr)!==Ot&&Ty(t),t):null}case b:{var d=t.stateNode;fd(t),x1(t),ty();var v=t.flags;return(v&$n)!==zt&&(v&Pr)===zt?(t.flags=v&~$n|Pr,t):null}case w:return Q1(t),null;case Q:{pd(t);var y=t.memoizedState;if(y!==null&&y.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ld()}var C=t.flags;return C&$n?(t.flags=C&~$n|Pr,(t.mode&Kr)!==Ot&&Ty(t),t):null}case ye:return pd(t),null;case S:return fd(t),null;case O:var E=t.type._context;return U1(E,t),null;case H:case le:return y0(t),null;case fe:return null;default:return null}}function k4(e,t,n){switch(R1(t),t.tag){case m:{var i=t.type.childContextTypes;i!=null&&_v(t);break}case b:{var u=t.stateNode;fd(t),x1(t),ty();break}case w:{Q1(t);break}case S:fd(t);break;case Q:pd(t);break;case ye:pd(t);break;case O:var d=t.type._context;U1(d,t);break;case H:case le:y0(t);break}}var T4=null;T4=new Set;var u_=!1,Rn=!1,eH=typeof WeakSet=="function"?WeakSet:Set,gt=null,bd=null,yd=null;function tH(e){nb(null,function(){throw e}),ob()}var rH=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Kr)try{_s(),t.componentWillUnmount()}finally{vs(e)}else t.componentWillUnmount()};function E4(e,t){try{$u(an,e)}catch(n){fa(e,t,n)}}function a0(e,t,n){try{rH(e,n)}catch(i){fa(e,t,i)}}function aH(e,t,n){try{n.componentDidMount()}catch(i){fa(e,t,i)}}function R4(e,t){try{L4(e)}catch(n){fa(e,t,n)}}function Sd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var i;try{if(et&&ct&&e.mode&Kr)try{_s(),i=n(null)}finally{vs(e)}else i=n(null)}catch(u){fa(e,t,u)}typeof i=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(e))}else n.current=null}function c_(e,t,n){try{n()}catch(i){fa(e,t,i)}}var D4=null,A4=!1;function nH(e,t){D4=vB(e.containerInfo),gt=t,oH();var n=A4;return A4=!1,D4=null,n}function oH(){for(;gt!==null;){var e=gt,t=e.child;(e.subtreeFlags&cb)!==zt&&t!==null?(t.return=e,gt=t):iH()}}function iH(){for(;gt!==null;){var e=gt;Ca(e);try{lH(e)}catch(n){fa(e,e.return,n)}mn();var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function lH(e){var t=e.alternate,n=e.flags;if((n&xc)!==zt){switch(Ca(e),e.tag){case p:case j:case te:break;case m:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,d=e.stateNode;e.type===e.elementType&&!Yc&&(d.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.",Zt(e)||"instance"),d.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.",Zt(e)||"instance"));var v=d.getSnapshotBeforeUpdate(e.elementType===e.type?i:Ul(e.type,i),u);{var y=T4;v===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.",Zt(e)))}d.__reactInternalSnapshotBeforeUpdate=v}break}case b:{{var C=e.stateNode;HB(C.containerInfo)}break}case w:case k:case S:case re:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}mn()}}function Wl(e,t,n){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var d=u.next,v=d;do{if((v.tag&e)===e){var y=v.destroy;v.destroy=void 0,y!==void 0&&((e&Tn)!==bo?wP(t):(e&an)!==bo&&gC(t),(e&ps)!==bo&&Ih(!0),c_(t,n,y),(e&ps)!==bo&&Ih(!1),(e&Tn)!==bo?CP():(e&an)!==bo&&bC())}v=v.next}while(v!==d)}}function $u(e,t){var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var u=i.next,d=u;do{if((d.tag&e)===e){(e&Tn)!==bo?yP(t):(e&an)!==bo&&xP(t);var v=d.create;(e&ps)!==bo&&Ih(!0),d.destroy=v(),(e&ps)!==bo&&Ih(!1),(e&Tn)!==bo?SP():(e&an)!==bo&&kP();{var y=d.destroy;if(y!==void 0&&typeof y!="function"){var C=void 0;(d.tag&an)!==zt?C="useLayoutEffect":(d.tag&ps)!==zt?C="useInsertionEffect":C="useEffect";var E=void 0;y===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?E=`
103
103
 
104
104
  It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
105
105
 
@@ -112,11 +112,11 @@ It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, w
112
112
  fetchData();
113
113
  }, [someId]); // Or [] if effect doesn't need props or state
114
114
 
115
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+y,c("%s must not return anything besides a function, which is used for clean-up.%s",C,E)}}}d=d.next}while(d!==u)}}function sH(e,t){if((t.flags&wr)!==zt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,d=i.onPostCommit,v=qx(),y=t.alternate===null?"mount":"update";Wx()&&(y="nested-update"),typeof d=="function"&&d(u,y,n,v);var C=t.return;e:for(;C!==null;){switch(C.tag){case b:var E=C.stateNode;E.passiveEffectDuration+=n;break e;case F:var A=C.stateNode;A.passiveEffectDuration+=n;break e}C=C.return}break}}}function uH(e,t,n,i){if((n.flags&gp)!==zt)switch(n.tag){case p:case j:case te:{if(!Rn)if(n.mode&Kr)try{_s(),$u(an|rn,n)}finally{vs(n)}else $u(an|rn,n);break}case m:{var u=n.stateNode;if(n.flags&wr&&!Rn)if(t===null)if(n.type===n.elementType&&!qc&&(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.",Zt(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.",Zt(n)||"instance")),n.mode&Kr)try{_s(),u.componentDidMount()}finally{vs(n)}else u.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Hl(n.type,t.memoizedProps),v=t.memoizedState;if(n.type===n.elementType&&!qc&&(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.",Zt(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.",Zt(n)||"instance")),n.mode&Kr)try{_s(),u.componentDidUpdate(d,v,u.__reactInternalSnapshotBeforeUpdate)}finally{vs(n)}else u.componentDidUpdate(d,v,u.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!qc&&(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.",Zt(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.",Zt(n)||"instance")),mx(n,y,u));break}case b:{var C=n.updateQueue;if(C!==null){var E=null;if(n.child!==null)switch(n.child.tag){case w:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}mx(n,C,E)}break}case w:{var A=n.stateNode;if(t===null&&n.flags&wr){var Z=n.type,Q=n.memoizedProps;EB(A,Z,Q)}break}case k:break;case S:break;case F:{{var me=n.memoizedProps,ve=me.onCommit,Ce=me.onRender,et=n.stateNode.effectDuration,Rt=qx(),St=t===null?"mount":"update";Wx()&&(St="nested-update"),typeof Ce=="function"&&Ce(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Rt);{typeof ve=="function"&&ve(n.memoizedProps.id,St,et,Rt),fU(n);var fr=n.return;e:for(;fr!==null;){switch(fr.tag){case b:var dr=fr.stateNode;dr.effectDuration+=et;break e;case F:var ue=fr.stateNode;ue.effectDuration+=et;break e}fr=fr.return}}}break}case J:{_H(e,n);break}case Se:case ae:case ge:case H:case le:case B:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Rn||n.flags&Au&&L4(n)}function cH(e){switch(e.tag){case p:case j:case te:{if(e.mode&Kr)try{_s(),E4(e,e.return)}finally{vs(e)}else E4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aH(e,e.return,t),R4(e,e.return);break}case w:{R4(e,e.return);break}}}function fH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var u=i.stateNode;t?zB(u):FB(i.stateNode,i.memoizedProps)}catch(v){fa(e,e.return,v)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?BB(d):jB(d,i.memoizedProps)}catch(v){fa(e,e.return,v)}}else if(!((i.tag===H||i.tag===le)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;n===i&&(n=null),i=i.return}n===i&&(n=null),i.sibling.return=i.return,i=i.sibling}}function L4(e){var t=e.ref;if(t!==null){var n=e.stateNode,i;switch(e.tag){case w:i=n;break;default:i=n}if(typeof t=="function"){var u;if(e.mode&Kr)try{_s(),u=t(i)}finally{vs(e)}else u=t(i);typeof u=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(e))}else t.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Zt(e)),t.current=i}}function dH(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&&gF(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 pH(e){for(var t=e.return;t!==null;){if(O4(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 O4(e){return e.tag===w||e.tag===b||e.tag===S}function M4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||O4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==k&&t.tag!==ye;){if(t.flags&Xa||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Xa))return t.stateNode}}function hH(e){var t=pH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&vp&&(P3(n),t.flags&=~vp);var i=M4(e);o0(e,i,n);break}case b:case S:{var u=t.stateNode.containerInfo,d=M4(e);n0(e,d,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 n0(e,t,n){var i=e.tag,u=i===w||i===k;if(u){var d=e.stateNode;t?OB(n,d,t):LB(n,d)}else if(i!==S){var v=e.child;if(v!==null){n0(v,t,n);for(var y=v.sibling;y!==null;)n0(y,t,n),y=y.sibling}}}function o0(e,t,n){var i=e.tag,u=i===w||i===k;if(u){var d=e.stateNode;t?NB(n,d,t):AB(n,d)}else if(i!==S){var v=e.child;if(v!==null){o0(v,t,n);for(var y=v.sibling;y!==null;)o0(y,t,n),y=y.sibling}}}var Dn=null,Wl=!1;function mH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{Dn=i.stateNode,Wl=!1;break e}case b:{Dn=i.stateNode.containerInfo,Wl=!0;break e}case S:{Dn=i.stateNode.containerInfo,Wl=!0;break e}}i=i.return}if(Dn===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");P4(e,t,n),Dn=null,Wl=!1}dH(n)}function Gu(e,t,n){for(var i=n.child;i!==null;)P4(e,t,i),i=i.sibling}function P4(e,t,n){switch(vP(n),n.tag){case w:Rn||yd(n,t);case k:{{var i=Dn,u=Wl;Dn=null,Gu(e,t,n),Dn=i,Wl=u,Dn!==null&&(Wl?PB(Dn,n.stateNode):MB(Dn,n.stateNode))}return}case ye:{Dn!==null&&(Wl?IB(Dn,n.stateNode):v1(Dn,n.stateNode));return}case S:{{var d=Dn,v=Wl;Dn=n.stateNode.containerInfo,Wl=!0,Gu(e,t,n),Dn=d,Wl=v}return}case p:case j:case N:case te:{if(!Rn){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var E=C.next,A=E;do{var Z=A,Q=Z.destroy,me=Z.tag;Q!==void 0&&((me&ps)!==yo?c_(n,t,Q):(me&an)!==yo&&(gC(n),n.mode&Kr?(_s(),c_(n,t,Q),vs(n)):c_(n,t,Q),bC())),A=A.next}while(A!==E)}}}Gu(e,t,n);return}case m:{if(!Rn){yd(n,t);var ve=n.stateNode;typeof ve.componentWillUnmount=="function"&&a0(n,t,ve)}Gu(e,t,n);return}case ge:{Gu(e,t,n);return}case H:{if(n.mode&vr){var Ce=Rn;Rn=Ce||n.memoizedState!==null,Gu(e,t,n),Rn=Ce}else Gu(e,t,n);break}default:{Gu(e,t,n);return}}}function vH(e){var t=e.memoizedState}function _H(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&tF(d)}}}}function I4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new eH),t.forEach(function(i){var u=gU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Ml)if(gd!==null&&bd!==null)Ph(bd,gd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function gH(e,t,n){gd=n,bd=e,wa(t),z4(t,e),wa(t),gd=null,bd=null}function ql(e,t,n){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var d=i[u];try{mH(e,t,d)}catch(C){fa(d,t,C)}}var v=Hg();if(t.subtreeFlags&fb)for(var y=t.child;y!==null;)wa(y),z4(y,e),y=y.sibling;wa(v)}function z4(e,t,n){var i=e.alternate,u=e.flags;switch(e.tag){case p:case j:case N:case te:{if(ql(t,e),gs(e),u&wr){try{Vl(ps|rn,e,e.return),$u(ps|rn,e)}catch(jt){fa(e,e.return,jt)}if(e.mode&Kr){try{_s(),Vl(an|rn,e,e.return)}catch(jt){fa(e,e.return,jt)}vs(e)}else try{Vl(an|rn,e,e.return)}catch(jt){fa(e,e.return,jt)}}return}case m:{ql(t,e),gs(e),u&Au&&i!==null&&yd(i,i.return);return}case w:{ql(t,e),gs(e),u&Au&&i!==null&&yd(i,i.return);{if(e.flags&vp){var d=e.stateNode;try{P3(d)}catch(jt){fa(e,e.return,jt)}}if(u&wr){var v=e.stateNode;if(v!=null){var y=e.memoizedProps,C=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{RB(v,A,E,C,y,e)}catch(jt){fa(e,e.return,jt)}}}}return}case k:{if(ql(t,e),gs(e),u&wr){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,Q=e.memoizedProps,me=i!==null?i.memoizedProps:Q;try{DB(Z,me,Q)}catch(jt){fa(e,e.return,jt)}}return}case b:{if(ql(t,e),gs(e),u&wr&&i!==null){var ve=i.memoizedState;if(ve.isDehydrated)try{eF(t.containerInfo)}catch(jt){fa(e,e.return,jt)}}return}case S:{ql(t,e),gs(e);return}case J:{ql(t,e),gs(e);var Ce=e.child;if(Ce.flags&xc){var et=Ce.stateNode,Rt=Ce.memoizedState,St=Rt!==null;if(et.isHidden=St,St){var fr=Ce.alternate!==null&&Ce.alternate.memoizedState!==null;fr||aU()}}if(u&wr){try{vH(e)}catch(jt){fa(e,e.return,jt)}I4(e)}return}case H:{var dr=i!==null&&i.memoizedState!==null;if(e.mode&vr){var ue=Rn;Rn=ue||dr,ql(t,e),Rn=ue}else ql(t,e);if(gs(e),u&xc){var De=e.stateNode,ce=e.memoizedState,$e=ce!==null,lt=e;if(De.isHidden=$e,$e&&!dr&&(lt.mode&vr)!==Ot){_t=lt;for(var rt=lt.child;rt!==null;)_t=rt,yH(rt),rt=rt.sibling}fH(lt,$e)}return}case Se:{ql(t,e),gs(e),u&wr&&I4(e);return}case ge:return;default:{ql(t,e),gs(e);return}}}function gs(e){var t=e.flags;if(t&Xa){try{hH(e)}catch(n){fa(e,e.return,n)}e.flags&=~Xa}t&js&&(e.flags&=~js)}function bH(e,t,n){gd=n,bd=t,_t=e,B4(e,t,n),gd=null,bd=null}function B4(e,t,n){for(var i=(e.mode&vr)!==Ot;_t!==null;){var u=_t,d=u.child;if(u.tag===H&&i){var v=u.memoizedState!==null,y=v||u_;if(y){i0(e,t,n);continue}else{var C=u.alternate,E=C!==null&&C.memoizedState!==null,A=E||Rn,Z=u_,Q=Rn;u_=y,Rn=A,Rn&&!Q&&(_t=u,SH(u));for(var me=d;me!==null;)_t=me,B4(me,t,n),me=me.sibling;_t=u,u_=Z,Rn=Q,i0(e,t,n);continue}}(u.subtreeFlags&gp)!==zt&&d!==null?(d.return=u,_t=d):i0(e,t,n)}}function i0(e,t,n){for(;_t!==null;){var i=_t;if((i.flags&gp)!==zt){var u=i.alternate;wa(i);try{uH(t,u,i,n)}catch(v){fa(i,i.return,v)}hn()}if(i===e){_t=null;return}var d=i.sibling;if(d!==null){d.return=i.return,_t=d;return}_t=i.return}}function yH(e){for(;_t!==null;){var t=_t,n=t.child;switch(t.tag){case p:case j:case N:case te:{if(t.mode&Kr)try{_s(),Vl(an,t,t.return)}finally{vs(t)}else Vl(an,t,t.return);break}case m:{yd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&a0(t,t.return,i);break}case w:{yd(t,t.return);break}case H:{var u=t.memoizedState!==null;if(u){F4(e);continue}break}}n!==null?(n.return=t,_t=n):F4(e)}}function F4(e){for(;_t!==null;){var t=_t;if(t===e){_t=null;return}var n=t.sibling;if(n!==null){n.return=t.return,_t=n;return}_t=t.return}}function SH(e){for(;_t!==null;){var t=_t,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){j4(e);continue}}n!==null?(n.return=t,_t=n):j4(e)}}function j4(e){for(;_t!==null;){var t=_t;wa(t);try{cH(t)}catch(i){fa(t,t.return,i)}if(hn(),t===e){_t=null;return}var n=t.sibling;if(n!==null){n.return=t.return,_t=n;return}_t=t.return}}function wH(e,t,n,i){_t=t,CH(t,e,n,i)}function CH(e,t,n,i){for(;_t!==null;){var u=_t,d=u.child;(u.subtreeFlags&Hf)!==zt&&d!==null?(d.return=u,_t=d):xH(e,t,n,i)}}function xH(e,t,n,i){for(;_t!==null;){var u=_t;if((u.flags&Ol)!==zt){wa(u);try{kH(t,u,n,i)}catch(v){fa(u,u.return,v)}hn()}if(u===e){_t=null;return}var d=u.sibling;if(d!==null){d.return=u.return,_t=d;return}_t=u.return}}function kH(e,t,n,i){switch(t.tag){case p:case j:case te:{if(t.mode&Kr){ky();try{$u(Tn|rn,t)}finally{xy(t)}}else $u(Tn|rn,t);break}}}function TH(e){_t=e,EH()}function EH(){for(;_t!==null;){var e=_t,t=e.child;if((_t.flags&wc)!==zt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var u=n[i];_t=u,AH(u,e)}{var d=e.alternate;if(d!==null){var v=d.child;if(v!==null){d.child=null;do{var y=v.sibling;v.sibling=null,v=y}while(v!==null)}}}_t=e}}(e.subtreeFlags&Hf)!==zt&&t!==null?(t.return=e,_t=t):RH()}}function RH(){for(;_t!==null;){var e=_t;(e.flags&Ol)!==zt&&(wa(e),DH(e),hn());var t=e.sibling;if(t!==null){t.return=e.return,_t=t;return}_t=e.return}}function DH(e){switch(e.tag){case p:case j:case te:{e.mode&Kr?(ky(),Vl(Tn|rn,e,e.return),xy(e)):Vl(Tn|rn,e,e.return);break}}}function AH(e,t){for(;_t!==null;){var n=_t;wa(n),NH(n,t),hn();var i=n.child;i!==null?(i.return=n,_t=i):LH(e)}}function LH(e){for(;_t!==null;){var t=_t,n=t.sibling,i=t.return;if(N4(t),t===e){_t=null;return}if(n!==null){n.return=i,_t=n;return}_t=i}}function NH(e,t){switch(e.tag){case p:case j:case te:{e.mode&Kr?(ky(),Vl(Tn,e,t),xy(e)):Vl(Tn,e,t);break}}}function OH(e){switch(e.tag){case p:case j:case te:{try{$u(an|rn,e)}catch(n){fa(e,e.return,n)}break}case m:{var t=e.stateNode;try{t.componentDidMount()}catch(n){fa(e,e.return,n)}break}}}function MH(e){switch(e.tag){case p:case j:case te:{try{$u(Tn|rn,e)}catch(t){fa(e,e.return,t)}break}}}function PH(e){switch(e.tag){case p:case j:case te:{try{Vl(an|rn,e,e.return)}catch(n){fa(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&a0(e,e.return,t);break}}}function IH(e){switch(e.tag){case p:case j:case te:try{Vl(Tn|rn,e,e.return)}catch(t){fa(e,e.return,t)}}}var zH=0,BH=1,FH=2,jH=3,HH=4;if(typeof Symbol=="function"&&Symbol.for){var xh=Symbol.for;zH=xh("selector.component"),BH=xh("selector.has_pseudo_class"),FH=xh("selector.role"),jH=xh("selector.test_id"),HH=xh("selector.text")}var UH=[];function VH(){UH.forEach(function(e){return e()})}var WH=o.ReactCurrentActQueue;function qH(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&&WH.current!==null&&c("The current testing environment is not configured to support act(...)"),e}}var YH=Math.ceil,l0=o.ReactCurrentDispatcher,s0=o.ReactCurrentOwner,An=o.ReactCurrentBatchConfig,Yl=o.ReactCurrentActQueue,ln=0,U4=1,Ln=2,Sl=4,Zs=0,kh=1,Yc=2,f_=3,Th=4,V4=5,u0=6,_r=ln,Xn=null,Ra=null,sn=ze,bs=ze,c0=Bu(ze),un=Zs,Eh=null,f0=ze,d_=ze,Rh=ze,p_=ze,Dh=null,So=null,d0=0,W4=500,q4=1/0,$H=500,eu=null;function Ah(){q4=mn()+$H}function Y4(){return q4}var h_=!1,p0=null,Sd=null,$c=!1,Ku=null,Lh=ze,h0=[],m0=null,GH=50,Nh=0,v0=null,_0=!1,m_=!1,KH=50,wd=0,v_=null,Oh=va,__=ze,$4=!1;function g_(){return Xn}function Qn(){return(_r&(Ln|Sl))!==ln?mn():(Oh!==va||(Oh=mn()),Oh)}function Xu(e){var t=e.mode;if((t&vr)===Ot)return qt;if((_r&Ln)!==ln&&sn!==ze)return kp(sn);var n=FF()!==BF;if(n){if(An.transition!==null){var i=An.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return __===_n&&(__=EC()),__}var u=Pl();if(u!==_n)return u;var d=CB();return d}function XH(e){var t=e.mode;return(t&vr)===Ot?qt:$P()}function cn(e,t,n,i){yU(),$4&&c("useInsertionEffect must not schedule updates."),_0&&(m_=!0),Tp(e,n,i),(_r&Ln)!==ze&&e===Xn?CU(t):(Ml&&AC(e,t,n),xU(t),e===Xn&&((_r&Ln)===ln&&(Rh=or(Rh,n)),un===Th&&Qu(e,sn)),wo(e,i),n===qt&&_r===ln&&(t.mode&vr)===Ot&&!Yl.isBatchingLegacy&&(Ah(),Y3()))}function QH(e,t,n){var i=e.current;i.lanes=t,Tp(e,t,n),wo(e,n)}function JH(e){return(_r&Ln)!==ln}function wo(e,t){var n=e.callbackNode;HP(e,t);var i=Fm(e,e===Xn?sn:ze);if(i===ze){n!==null&&uk(n),e.callbackNode=null,e.callbackPriority=_n;return}var u=Lc(i),d=e.callbackPriority;if(d===u&&!(Yl.current!==null&&n!==x0)){n==null&&d!==qt&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&uk(n);var v;if(u===qt)e.tag===Fu?(Yl.isBatchingLegacy!==null&&(Yl.didScheduleLegacyUpdate=!0),SF(X4.bind(null,e))):q3(X4.bind(null,e)),Yl.current!==null?Yl.current.push(ju):kB(function(){(_r&(Ln|Sl))===ln&&ju()}),v=null;else{var y;switch(OC(i)){case Io:y=Pm;break;case Ws:y=db;break;case qs:y=Ec;break;case Um:y=pb;break;default:y=Ec;break}v=k0(y,G4.bind(null,e))}e.callbackPriority=u,e.callbackNode=v}function G4(e,t){if(fj(),Oh=va,__=ze,(_r&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var n=e.callbackNode,i=ru();if(i&&e.callbackNode!==n)return null;var u=Fm(e,e===Xn?sn:ze);if(u===ze)return null;var d=!jm(e,u)&&!YP(e,u)&&!t,v=d?sU(e,u):y_(e,u);if(v!==Zs){if(v===Yc){var y=Pb(e);y!==ze&&(u=y,v=g0(e,y))}if(v===kh){var C=Eh;throw Gc(e,ze),Qu(e,u),wo(e,mn()),C}if(v===u0)Qu(e,u);else{var E=!jm(e,u),A=e.current.alternate;if(E&&!eU(A)){if(v=y_(e,u),v===Yc){var Z=Pb(e);Z!==ze&&(u=Z,v=g0(e,Z))}if(v===kh){var Q=Eh;throw Gc(e,ze),Qu(e,u),wo(e,mn()),Q}}e.finishedWork=A,e.finishedLanes=u,ZH(e,v,u)}}return wo(e,mn()),e.callbackNode===n?G4.bind(null,e):null}function g0(e,t){var n=Dh;if(Vm(e)){var i=Gc(e,t);i.flags|=Fs,hF(e.containerInfo)}var u=y_(e,t);if(u!==Yc){var d=So;So=n,d!==null&&K4(d)}return u}function K4(e){So===null?So=e:So.push.apply(So,e)}function ZH(e,t,n){switch(t){case Zs:case kh:throw new Error("Root did not complete. This is a bug in React.");case Yc:{Kc(e,So,eu);break}case f_:{if(Qu(e,n),kC(n)&&!ck()){var i=d0+W4-mn();if(i>10){var u=Fm(e,ze);if(u!==ze)break;var d=e.suspendedLanes;if(!Yf(d,n)){var v=Qn();DC(e,d);break}e.timeoutHandle=h1(Kc.bind(null,e,So,eu),i);break}}Kc(e,So,eu);break}case Th:{if(Qu(e,n),qP(n))break;if(!ck()){var y=FP(e,n),C=y,E=mn()-C,A=bU(E)-E;if(A>10){e.timeoutHandle=h1(Kc.bind(null,e,So,eu),A);break}}Kc(e,So,eu);break}case V4:{Kc(e,So,eu);break}default:throw new Error("Unknown root exit status.")}}function eU(e){for(var t=e;;){if(t.flags&Om){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var u=0;u<i.length;u++){var d=i[u],v=d.getSnapshot,y=d.value;try{if(!Bo(v(),y))return!1}catch(E){return!1}}}}var C=t.child;if(t.subtreeFlags&Om&&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=Hm(t,p_),t=Hm(t,Rh),KP(e,t)}function X4(e){if(dj(),(_r&(Ln|Sl))!==ln)throw new Error("Should not already be working.");ru();var t=Fm(e,ze);if(!Po(t,qt))return wo(e,mn()),null;var n=y_(e,t);if(e.tag!==Fu&&n===Yc){var i=Pb(e);i!==ze&&(t=i,n=g0(e,i))}if(n===kh){var u=Eh;throw Gc(e,ze),Qu(e,t),wo(e,mn()),u}if(n===u0)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,Kc(e,So,eu),wo(e,mn()),null}function tU(e,t){t!==ze&&(Fb(e,or(t,qt)),wo(e,mn()),(_r&(Ln|Sl))===ln&&(Ah(),ju()))}function b0(e,t){var n=_r;_r|=U4;try{return e(t)}finally{_r=n,_r===ln&&!Yl.isBatchingLegacy&&(Ah(),Y3())}}function rU(e,t,n,i,u){var d=Pl(),v=An.transition;try{return An.transition=null,gn(Io),e(t,n,i,u)}finally{gn(d),An.transition=v,_r===ln&&Ah()}}function tu(e){Ku!==null&&Ku.tag===Fu&&(_r&(Ln|Sl))===ln&&ru();var t=_r;_r|=U4;var n=An.transition,i=Pl();try{return An.transition=null,gn(Io),e?e():void 0}finally{gn(i),An.transition=n,_r=t,(_r&(Ln|Sl))===ln&&ju()}}function Q4(){return(_r&(Ln|Sl))!==ln}function b_(e,t){zn(c0,bs,e),bs=or(bs,t),f0=or(f0,t)}function y0(e){bs=c0.current,In(c0,e)}function Gc(e,t){e.finishedWork=null,e.finishedLanes=ze;var n=e.timeoutHandle;if(n!==m1&&(e.timeoutHandle=m1,xB(n)),Ra!==null)for(var i=Ra.return;i!==null;){var u=i.alternate;k4(u,i),i=i.return}Xn=e;var d=Xc(e.current,null);return Ra=d,sn=bs=f0=t,un=Zs,Eh=null,d_=ze,Rh=ze,p_=ze,Dh=null,So=null,YF(),Bl.discardPendingWarnings(),d}function J4(e,t){do{var n=Ra;try{if(Dv(),Sx(),hn(),s0.current=null,n===null||n.return===null){un=kh,Eh=t,Ra=null;return}if(at&&n.mode&Kr&&n_(n,!0),He)if(Uf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;EP(n,i,sn)}else TP(n,t,sn);Sj(e,n.return,n,t,sn),rk(n)}catch(u){t=u,Ra===n&&n!==null?(n=n.return,Ra=n):n=Ra;continue}return}while(!0)}function Z4(){var e=l0.current;return l0.current=Zv,e===null?Zv:e}function ek(e){l0.current=e}function aU(){d0=mn()}function Mh(e){d_=or(e,d_)}function nU(){un===Zs&&(un=f_)}function S0(){(un===Zs||un===f_||un===Yc)&&(un=Th),Xn!==null&&(Ib(d_)||Ib(Rh))&&Qu(Xn,sn)}function oU(e){un!==Th&&(un=Yc),Dh===null?Dh=[e]:Dh.push(e)}function iU(){return un===Zs}function y_(e,t){var n=_r;_r|=Ln;var i=Z4();if(Xn!==e||sn!==t){if(Ml){var u=e.memoizedUpdaters;u.size>0&&(Ph(e,sn),u.clear()),LC(e,t)}eu=NC(),Gc(e,t)}yC(t);do try{lU();break}catch(d){J4(e,d)}while(!0);if(Dv(),_r=n,ek(i),Ra!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return SC(),Xn=null,sn=ze,un}function lU(){for(;Ra!==null;)tk(Ra)}function sU(e,t){var n=_r;_r|=Ln;var i=Z4();if(Xn!==e||sn!==t){if(Ml){var u=e.memoizedUpdaters;u.size>0&&(Ph(e,sn),u.clear()),LC(e,t)}eu=NC(),Ah(),Gc(e,t)}yC(t);do try{uU();break}catch(d){J4(e,d)}while(!0);return Dv(),ek(i),_r=n,Ra!==null?(NP(),Zs):(SC(),Xn=null,sn=ze,un)}function uU(){for(;Ra!==null&&!iP();)tk(Ra)}function tk(e){var t=e.alternate;wa(e);var n;(e.mode&Kr)!==Ot?(Cy(e),n=w0(t,e,bs),n_(e,!0)):n=w0(t,e,bs),hn(),e.memoizedProps=e.pendingProps,n===null?rk(e):Ra=n,s0.current=null}function rk(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&_p)===zt){wa(t);var u=void 0;if((t.mode&Kr)===Ot?u=x4(n,t,bs):(Cy(t),u=x4(n,t,bs),n_(t,!1)),hn(),u!==null){Ra=u;return}}else{var d=Zj(n,t);if(d!==null){d.flags&=eP,Ra=d;return}if((t.mode&Kr)!==Ot){n_(t,!1);for(var v=t.actualDuration,y=t.child;y!==null;)v+=y.actualDuration,y=y.sibling;t.actualDuration=v}if(i!==null)i.flags|=_p,i.subtreeFlags=zt,i.deletions=null;else{un=u0,Ra=null;return}}var C=t.sibling;if(C!==null){Ra=C;return}t=i,Ra=t}while(t!==null);un===Zs&&(un=V4)}function Kc(e,t,n){var i=Pl(),u=An.transition;try{An.transition=null,gn(Io),cU(e,t,n,i)}finally{An.transition=u,gn(i)}return null}function cU(e,t,n,i){do ru();while(Ku!==null);if(SU(),(_r&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var u=e.finishedWork,d=e.finishedLanes;if(bP(d),u===null)return _C(),null;if(d===ze&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ze,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=_n;var v=or(u.lanes,u.childLanes);XP(e,v),e===Xn&&(Xn=null,Ra=null,sn=ze),((u.subtreeFlags&Hf)!==zt||(u.flags&Hf)!==zt)&&($c||($c=!0,m0=n,k0(Ec,function(){return ru(),null})));var y=(u.subtreeFlags&(cb|fb|gp|Hf))!==zt,C=(u.flags&(cb|fb|gp|Hf))!==zt;if(y||C){var E=An.transition;An.transition=null;var A=Pl();gn(Io);var Z=_r;_r|=Sl,s0.current=null;var Q=nH(e,u);Yx(),gH(e,u,d),_B(e.containerInfo),e.current=u,RP(d),bH(u,e,d),DP(),lP(),_r=Z,gn(A),An.transition=E}else e.current=u,Yx();var me=$c;if($c?($c=!1,Ku=e,Lh=d):(wd=0,v_=null),v=e.pendingLanes,v===ze&&(Sd=null),me||ik(e.current,!1),hP(u.stateNode,i),Ml&&e.memoizedUpdaters.clear(),VH(),wo(e,mn()),t!==null)for(var ve=e.onRecoverableError,Ce=0;Ce<t.length;Ce++){var et=t[Ce],Rt=et.stack,St=et.digest;ve(et.value,{componentStack:Rt,digest:St})}if(h_){h_=!1;var fr=p0;throw p0=null,fr}return Po(Lh,qt)&&e.tag!==Fu&&ru(),v=e.pendingLanes,Po(v,qt)?(cj(),e===v0?Nh++:(Nh=0,v0=e)):Nh=0,ju(),_C(),null}function ru(){if(Ku!==null){var e=OC(Lh),t=eI(qs,e),n=An.transition,i=Pl();try{return An.transition=null,gn(t),dU()}finally{gn(i),An.transition=n}}return!1}function fU(e){h0.push(e),$c||($c=!0,k0(Ec,function(){return ru(),null}))}function dU(){if(Ku===null)return!1;var e=m0;m0=null;var t=Ku,n=Lh;if(Ku=null,Lh=ze,(_r&(Ln|Sl))!==ln)throw new Error("Cannot flush passive effects while already rendering.");_0=!0,m_=!1,AP(n);var i=_r;_r|=Sl,TH(t.current),wH(t,t.current,n,e);{var u=h0;h0=[];for(var d=0;d<u.length;d++){var v=u[d];sH(t,v)}}LP(),ik(t.current,!0),_r=i,ju(),m_?t===v_?wd++:(wd=0,v_=t):wd=0,_0=!1,m_=!1,mP(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ak(e){return Sd!==null&&Sd.has(e)}function pU(e){Sd===null?Sd=new Set([e]):Sd.add(e)}function hU(e){h_||(h_=!0,p0=e)}var mU=hU;function nk(e,t,n){var i=Wc(n,t),u=e4(e,i,qt),d=Uu(e,u,qt),v=Qn();d!==null&&(Tp(d,qt,v),wo(d,v))}function fa(e,t,n){if(tH(n),Ih(!1),e.tag===b){nk(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){nk(i,e,n);return}else if(i.tag===m){var u=i.type,d=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!ak(d)){var v=Wc(n,e),y=Hy(i,v,qt),C=Uu(i,y,qt),E=Qn();C!==null&&(Tp(C,qt,E),wo(C,E));return}}i=i.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`:E=" You returned: "+y,c("%s must not return anything besides a function, which is used for clean-up.%s",C,E)}}}d=d.next}while(d!==u)}}function sH(e,t){if((t.flags&kr)!==zt)switch(t.tag){case F:{var n=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,d=i.onPostCommit,v=qx(),y=t.alternate===null?"mount":"update";Wx()&&(y="nested-update"),typeof d=="function"&&d(u,y,n,v);var C=t.return;e:for(;C!==null;){switch(C.tag){case b:var E=C.stateNode;E.passiveEffectDuration+=n;break e;case F:var A=C.stateNode;A.passiveEffectDuration+=n;break e}C=C.return}break}}}function uH(e,t,n,i){if((n.flags&gp)!==zt)switch(n.tag){case p:case j:case te:{if(!Rn)if(n.mode&Kr)try{_s(),$u(an|rn,n)}finally{vs(n)}else $u(an|rn,n);break}case m:{var u=n.stateNode;if(n.flags&kr&&!Rn)if(t===null)if(n.type===n.elementType&&!Yc&&(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.",Zt(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.",Zt(n)||"instance")),n.mode&Kr)try{_s(),u.componentDidMount()}finally{vs(n)}else u.componentDidMount();else{var d=n.elementType===n.type?t.memoizedProps:Ul(n.type,t.memoizedProps),v=t.memoizedState;if(n.type===n.elementType&&!Yc&&(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.",Zt(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.",Zt(n)||"instance")),n.mode&Kr)try{_s(),u.componentDidUpdate(d,v,u.__reactInternalSnapshotBeforeUpdate)}finally{vs(n)}else u.componentDidUpdate(d,v,u.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&(n.type===n.elementType&&!Yc&&(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.",Zt(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.",Zt(n)||"instance")),mx(n,y,u));break}case b:{var C=n.updateQueue;if(C!==null){var E=null;if(n.child!==null)switch(n.child.tag){case w:E=n.child.stateNode;break;case m:E=n.child.stateNode;break}mx(n,C,E)}break}case w:{var A=n.stateNode;if(t===null&&n.flags&kr){var Z=n.type,J=n.memoizedProps;EB(A,Z,J)}break}case k:break;case S:break;case F:{{var me=n.memoizedProps,ve=me.onCommit,we=me.onRender,rt=n.stateNode.effectDuration,Rt=qx(),St=t===null?"mount":"update";Wx()&&(St="nested-update"),typeof we=="function"&&we(n.memoizedProps.id,St,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Rt);{typeof ve=="function"&&ve(n.memoizedProps.id,St,rt,Rt),fU(n);var dr=n.return;e:for(;dr!==null;){switch(dr.tag){case b:var pr=dr.stateNode;pr.effectDuration+=rt;break e;case F:var ue=dr.stateNode;ue.effectDuration+=rt;break e}dr=dr.return}}}break}case Q:{_H(e,n);break}case ye:case re:case ge:case H:case le:case B:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Rn||n.flags&Au&&L4(n)}function cH(e){switch(e.tag){case p:case j:case te:{if(e.mode&Kr)try{_s(),E4(e,e.return)}finally{vs(e)}else E4(e,e.return);break}case m:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aH(e,e.return,t),R4(e,e.return);break}case w:{R4(e,e.return);break}}}function fH(e,t){for(var n=null,i=e;;){if(i.tag===w){if(n===null){n=i;try{var u=i.stateNode;t?zB(u):FB(i.stateNode,i.memoizedProps)}catch(v){fa(e,e.return,v)}}}else if(i.tag===k){if(n===null)try{var d=i.stateNode;t?BB(d):jB(d,i.memoizedProps)}catch(v){fa(e,e.return,v)}}else if(!((i.tag===H||i.tag===le)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;n===i&&(n=null),i=i.return}n===i&&(n=null),i.sibling.return=i.return,i=i.sibling}}function L4(e){var t=e.ref;if(t!==null){var n=e.stateNode,i;switch(e.tag){case w:i=n;break;default:i=n}if(typeof t=="function"){var u;if(e.mode&Kr)try{_s(),u=t(i)}finally{vs(e)}else u=t(i);typeof u=="function"&&c("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Zt(e))}else t.hasOwnProperty("current")||c("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Zt(e)),t.current=i}}function dH(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&&gF(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 pH(e){for(var t=e.return;t!==null;){if(O4(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 O4(e){return e.tag===w||e.tag===b||e.tag===S}function M4(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||O4(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==w&&t.tag!==k&&t.tag!==be;){if(t.flags&Xa||t.child===null||t.tag===S)continue e;t.child.return=t,t=t.child}if(!(t.flags&Xa))return t.stateNode}}function hH(e){var t=pH(e);switch(t.tag){case w:{var n=t.stateNode;t.flags&vp&&(P3(n),t.flags&=~vp);var i=M4(e);o0(e,i,n);break}case b:case S:{var u=t.stateNode.containerInfo,d=M4(e);n0(e,d,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 n0(e,t,n){var i=e.tag,u=i===w||i===k;if(u){var d=e.stateNode;t?OB(n,d,t):LB(n,d)}else if(i!==S){var v=e.child;if(v!==null){n0(v,t,n);for(var y=v.sibling;y!==null;)n0(y,t,n),y=y.sibling}}}function o0(e,t,n){var i=e.tag,u=i===w||i===k;if(u){var d=e.stateNode;t?NB(n,d,t):AB(n,d)}else if(i!==S){var v=e.child;if(v!==null){o0(v,t,n);for(var y=v.sibling;y!==null;)o0(y,t,n),y=y.sibling}}}var Dn=null,ql=!1;function mH(e,t,n){{var i=t;e:for(;i!==null;){switch(i.tag){case w:{Dn=i.stateNode,ql=!1;break e}case b:{Dn=i.stateNode.containerInfo,ql=!0;break e}case S:{Dn=i.stateNode.containerInfo,ql=!0;break e}}i=i.return}if(Dn===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");P4(e,t,n),Dn=null,ql=!1}dH(n)}function Gu(e,t,n){for(var i=n.child;i!==null;)P4(e,t,i),i=i.sibling}function P4(e,t,n){switch(vP(n),n.tag){case w:Rn||Sd(n,t);case k:{{var i=Dn,u=ql;Dn=null,Gu(e,t,n),Dn=i,ql=u,Dn!==null&&(ql?PB(Dn,n.stateNode):MB(Dn,n.stateNode))}return}case be:{Dn!==null&&(ql?IB(Dn,n.stateNode):v1(Dn,n.stateNode));return}case S:{{var d=Dn,v=ql;Dn=n.stateNode.containerInfo,ql=!0,Gu(e,t,n),Dn=d,ql=v}return}case p:case j:case N:case te:{if(!Rn){var y=n.updateQueue;if(y!==null){var C=y.lastEffect;if(C!==null){var E=C.next,A=E;do{var Z=A,J=Z.destroy,me=Z.tag;J!==void 0&&((me&ps)!==bo?c_(n,t,J):(me&an)!==bo&&(gC(n),n.mode&Kr?(_s(),c_(n,t,J),vs(n)):c_(n,t,J),bC())),A=A.next}while(A!==E)}}}Gu(e,t,n);return}case m:{if(!Rn){Sd(n,t);var ve=n.stateNode;typeof ve.componentWillUnmount=="function"&&a0(n,t,ve)}Gu(e,t,n);return}case ge:{Gu(e,t,n);return}case H:{if(n.mode&gr){var we=Rn;Rn=we||n.memoizedState!==null,Gu(e,t,n),Rn=we}else Gu(e,t,n);break}default:{Gu(e,t,n);return}}}function vH(e){var t=e.memoizedState}function _H(e,t){var n=t.memoizedState;if(n===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&tF(d)}}}}function I4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new eH),t.forEach(function(i){var u=gU.bind(null,e,i);if(!n.has(i)){if(n.add(i),Pl)if(bd!==null&&yd!==null)Ph(yd,bd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function gH(e,t,n){bd=n,yd=e,Ca(t),z4(t,e),Ca(t),bd=null,yd=null}function Yl(e,t,n){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var d=i[u];try{mH(e,t,d)}catch(C){fa(d,t,C)}}var v=Hg();if(t.subtreeFlags&fb)for(var y=t.child;y!==null;)Ca(y),z4(y,e),y=y.sibling;Ca(v)}function z4(e,t,n){var i=e.alternate,u=e.flags;switch(e.tag){case p:case j:case N:case te:{if(Yl(t,e),gs(e),u&kr){try{Wl(ps|rn,e,e.return),$u(ps|rn,e)}catch(Ht){fa(e,e.return,Ht)}if(e.mode&Kr){try{_s(),Wl(an|rn,e,e.return)}catch(Ht){fa(e,e.return,Ht)}vs(e)}else try{Wl(an|rn,e,e.return)}catch(Ht){fa(e,e.return,Ht)}}return}case m:{Yl(t,e),gs(e),u&Au&&i!==null&&Sd(i,i.return);return}case w:{Yl(t,e),gs(e),u&Au&&i!==null&&Sd(i,i.return);{if(e.flags&vp){var d=e.stateNode;try{P3(d)}catch(Ht){fa(e,e.return,Ht)}}if(u&kr){var v=e.stateNode;if(v!=null){var y=e.memoizedProps,C=i!==null?i.memoizedProps:y,E=e.type,A=e.updateQueue;if(e.updateQueue=null,A!==null)try{RB(v,A,E,C,y,e)}catch(Ht){fa(e,e.return,Ht)}}}}return}case k:{if(Yl(t,e),gs(e),u&kr){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var Z=e.stateNode,J=e.memoizedProps,me=i!==null?i.memoizedProps:J;try{DB(Z,me,J)}catch(Ht){fa(e,e.return,Ht)}}return}case b:{if(Yl(t,e),gs(e),u&kr&&i!==null){var ve=i.memoizedState;if(ve.isDehydrated)try{eF(t.containerInfo)}catch(Ht){fa(e,e.return,Ht)}}return}case S:{Yl(t,e),gs(e);return}case Q:{Yl(t,e),gs(e);var we=e.child;if(we.flags&kc){var rt=we.stateNode,Rt=we.memoizedState,St=Rt!==null;if(rt.isHidden=St,St){var dr=we.alternate!==null&&we.alternate.memoizedState!==null;dr||aU()}}if(u&kr){try{vH(e)}catch(Ht){fa(e,e.return,Ht)}I4(e)}return}case H:{var pr=i!==null&&i.memoizedState!==null;if(e.mode&gr){var ue=Rn;Rn=ue||pr,Yl(t,e),Rn=ue}else Yl(t,e);if(gs(e),u&kc){var De=e.stateNode,ce=e.memoizedState,qe=ce!==null,ut=e;if(De.isHidden=qe,qe&&!pr&&(ut.mode&gr)!==Ot){gt=ut;for(var at=ut.child;at!==null;)gt=at,yH(at),at=at.sibling}fH(ut,qe)}return}case ye:{Yl(t,e),gs(e),u&kr&&I4(e);return}case ge:return;default:{Yl(t,e),gs(e);return}}}function gs(e){var t=e.flags;if(t&Xa){try{hH(e)}catch(n){fa(e,e.return,n)}e.flags&=~Xa}t&js&&(e.flags&=~js)}function bH(e,t,n){bd=n,yd=t,gt=e,B4(e,t,n),bd=null,yd=null}function B4(e,t,n){for(var i=(e.mode&gr)!==Ot;gt!==null;){var u=gt,d=u.child;if(u.tag===H&&i){var v=u.memoizedState!==null,y=v||u_;if(y){i0(e,t,n);continue}else{var C=u.alternate,E=C!==null&&C.memoizedState!==null,A=E||Rn,Z=u_,J=Rn;u_=y,Rn=A,Rn&&!J&&(gt=u,SH(u));for(var me=d;me!==null;)gt=me,B4(me,t,n),me=me.sibling;gt=u,u_=Z,Rn=J,i0(e,t,n);continue}}(u.subtreeFlags&gp)!==zt&&d!==null?(d.return=u,gt=d):i0(e,t,n)}}function i0(e,t,n){for(;gt!==null;){var i=gt;if((i.flags&gp)!==zt){var u=i.alternate;Ca(i);try{uH(t,u,i,n)}catch(v){fa(i,i.return,v)}mn()}if(i===e){gt=null;return}var d=i.sibling;if(d!==null){d.return=i.return,gt=d;return}gt=i.return}}function yH(e){for(;gt!==null;){var t=gt,n=t.child;switch(t.tag){case p:case j:case N:case te:{if(t.mode&Kr)try{_s(),Wl(an,t,t.return)}finally{vs(t)}else Wl(an,t,t.return);break}case m:{Sd(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&a0(t,t.return,i);break}case w:{Sd(t,t.return);break}case H:{var u=t.memoizedState!==null;if(u){F4(e);continue}break}}n!==null?(n.return=t,gt=n):F4(e)}}function F4(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 SH(e){for(;gt!==null;){var t=gt,n=t.child;if(t.tag===H){var i=t.memoizedState!==null;if(i){j4(e);continue}}n!==null?(n.return=t,gt=n):j4(e)}}function j4(e){for(;gt!==null;){var t=gt;Ca(t);try{cH(t)}catch(i){fa(t,t.return,i)}if(mn(),t===e){gt=null;return}var n=t.sibling;if(n!==null){n.return=t.return,gt=n;return}gt=t.return}}function wH(e,t,n,i){gt=t,CH(t,e,n,i)}function CH(e,t,n,i){for(;gt!==null;){var u=gt,d=u.child;(u.subtreeFlags&Uf)!==zt&&d!==null?(d.return=u,gt=d):xH(e,t,n,i)}}function xH(e,t,n,i){for(;gt!==null;){var u=gt;if((u.flags&Ml)!==zt){Ca(u);try{kH(t,u,n,i)}catch(v){fa(u,u.return,v)}mn()}if(u===e){gt=null;return}var d=u.sibling;if(d!==null){d.return=u.return,gt=d;return}gt=u.return}}function kH(e,t,n,i){switch(t.tag){case p:case j:case te:{if(t.mode&Kr){ky();try{$u(Tn|rn,t)}finally{xy(t)}}else $u(Tn|rn,t);break}}}function TH(e){gt=e,EH()}function EH(){for(;gt!==null;){var e=gt,t=e.child;if((gt.flags&Cc)!==zt){var n=e.deletions;if(n!==null){for(var i=0;i<n.length;i++){var u=n[i];gt=u,AH(u,e)}{var d=e.alternate;if(d!==null){var v=d.child;if(v!==null){d.child=null;do{var y=v.sibling;v.sibling=null,v=y}while(v!==null)}}}gt=e}}(e.subtreeFlags&Uf)!==zt&&t!==null?(t.return=e,gt=t):RH()}}function RH(){for(;gt!==null;){var e=gt;(e.flags&Ml)!==zt&&(Ca(e),DH(e),mn());var t=e.sibling;if(t!==null){t.return=e.return,gt=t;return}gt=e.return}}function DH(e){switch(e.tag){case p:case j:case te:{e.mode&Kr?(ky(),Wl(Tn|rn,e,e.return),xy(e)):Wl(Tn|rn,e,e.return);break}}}function AH(e,t){for(;gt!==null;){var n=gt;Ca(n),NH(n,t),mn();var i=n.child;i!==null?(i.return=n,gt=i):LH(e)}}function LH(e){for(;gt!==null;){var t=gt,n=t.sibling,i=t.return;if(N4(t),t===e){gt=null;return}if(n!==null){n.return=i,gt=n;return}gt=i}}function NH(e,t){switch(e.tag){case p:case j:case te:{e.mode&Kr?(ky(),Wl(Tn,e,t),xy(e)):Wl(Tn,e,t);break}}}function OH(e){switch(e.tag){case p:case j:case te:{try{$u(an|rn,e)}catch(n){fa(e,e.return,n)}break}case m:{var t=e.stateNode;try{t.componentDidMount()}catch(n){fa(e,e.return,n)}break}}}function MH(e){switch(e.tag){case p:case j:case te:{try{$u(Tn|rn,e)}catch(t){fa(e,e.return,t)}break}}}function PH(e){switch(e.tag){case p:case j:case te:{try{Wl(an|rn,e,e.return)}catch(n){fa(e,e.return,n)}break}case m:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&a0(e,e.return,t);break}}}function IH(e){switch(e.tag){case p:case j:case te:try{Wl(Tn|rn,e,e.return)}catch(t){fa(e,e.return,t)}}}var zH=0,BH=1,FH=2,jH=3,HH=4;if(typeof Symbol=="function"&&Symbol.for){var xh=Symbol.for;zH=xh("selector.component"),BH=xh("selector.has_pseudo_class"),FH=xh("selector.role"),jH=xh("selector.test_id"),HH=xh("selector.text")}var UH=[];function VH(){UH.forEach(function(e){return e()})}var WH=o.ReactCurrentActQueue;function qH(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&&WH.current!==null&&c("The current testing environment is not configured to support act(...)"),e}}var YH=Math.ceil,l0=o.ReactCurrentDispatcher,s0=o.ReactCurrentOwner,An=o.ReactCurrentBatchConfig,$l=o.ReactCurrentActQueue,ln=0,U4=1,Ln=2,Sl=4,Zs=0,kh=1,$c=2,f_=3,Th=4,V4=5,u0=6,br=ln,Kn=null,Da=null,sn=ze,bs=ze,c0=Bu(ze),un=Zs,Eh=null,f0=ze,d_=ze,Rh=ze,p_=ze,Dh=null,yo=null,d0=0,W4=500,q4=1/0,$H=500,eu=null;function Ah(){q4=vn()+$H}function Y4(){return q4}var h_=!1,p0=null,wd=null,Gc=!1,Ku=null,Lh=ze,h0=[],m0=null,GH=50,Nh=0,v0=null,_0=!1,m_=!1,KH=50,Cd=0,v_=null,Oh=va,__=ze,$4=!1;function g_(){return Kn}function Xn(){return(br&(Ln|Sl))!==ln?vn():(Oh!==va||(Oh=vn()),Oh)}function Xu(e){var t=e.mode;if((t&gr)===Ot)return qt;if((br&Ln)!==ln&&sn!==ze)return kp(sn);var n=FF()!==BF;if(n){if(An.transition!==null){var i=An.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return __===gn&&(__=EC()),__}var u=Il();if(u!==gn)return u;var d=CB();return d}function XH(e){var t=e.mode;return(t&gr)===Ot?qt:$P()}function cn(e,t,n,i){yU(),$4&&c("useInsertionEffect must not schedule updates."),_0&&(m_=!0),Tp(e,n,i),(br&Ln)!==ze&&e===Kn?CU(t):(Pl&&AC(e,t,n),xU(t),e===Kn&&((br&Ln)===ln&&(Rh=or(Rh,n)),un===Th&&Qu(e,sn)),So(e,i),n===qt&&br===ln&&(t.mode&gr)===Ot&&!$l.isBatchingLegacy&&(Ah(),Y3()))}function QH(e,t,n){var i=e.current;i.lanes=t,Tp(e,t,n),So(e,n)}function JH(e){return(br&Ln)!==ln}function So(e,t){var n=e.callbackNode;HP(e,t);var i=Fm(e,e===Kn?sn:ze);if(i===ze){n!==null&&uk(n),e.callbackNode=null,e.callbackPriority=gn;return}var u=Nc(i),d=e.callbackPriority;if(d===u&&!($l.current!==null&&n!==x0)){n==null&&d!==qt&&c("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&uk(n);var v;if(u===qt)e.tag===Fu?($l.isBatchingLegacy!==null&&($l.didScheduleLegacyUpdate=!0),SF(X4.bind(null,e))):q3(X4.bind(null,e)),$l.current!==null?$l.current.push(ju):kB(function(){(br&(Ln|Sl))===ln&&ju()}),v=null;else{var y;switch(OC(i)){case Io:y=Pm;break;case Ws:y=db;break;case qs:y=Rc;break;case Um:y=pb;break;default:y=Rc;break}v=k0(y,G4.bind(null,e))}e.callbackPriority=u,e.callbackNode=v}function G4(e,t){if(fj(),Oh=va,__=ze,(br&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var n=e.callbackNode,i=ru();if(i&&e.callbackNode!==n)return null;var u=Fm(e,e===Kn?sn:ze);if(u===ze)return null;var d=!jm(e,u)&&!YP(e,u)&&!t,v=d?sU(e,u):y_(e,u);if(v!==Zs){if(v===$c){var y=Pb(e);y!==ze&&(u=y,v=g0(e,y))}if(v===kh){var C=Eh;throw Kc(e,ze),Qu(e,u),So(e,vn()),C}if(v===u0)Qu(e,u);else{var E=!jm(e,u),A=e.current.alternate;if(E&&!eU(A)){if(v=y_(e,u),v===$c){var Z=Pb(e);Z!==ze&&(u=Z,v=g0(e,Z))}if(v===kh){var J=Eh;throw Kc(e,ze),Qu(e,u),So(e,vn()),J}}e.finishedWork=A,e.finishedLanes=u,ZH(e,v,u)}}return So(e,vn()),e.callbackNode===n?G4.bind(null,e):null}function g0(e,t){var n=Dh;if(Vm(e)){var i=Kc(e,t);i.flags|=Fs,hF(e.containerInfo)}var u=y_(e,t);if(u!==$c){var d=yo;yo=n,d!==null&&K4(d)}return u}function K4(e){yo===null?yo=e:yo.push.apply(yo,e)}function ZH(e,t,n){switch(t){case Zs:case kh:throw new Error("Root did not complete. This is a bug in React.");case $c:{Xc(e,yo,eu);break}case f_:{if(Qu(e,n),kC(n)&&!ck()){var i=d0+W4-vn();if(i>10){var u=Fm(e,ze);if(u!==ze)break;var d=e.suspendedLanes;if(!$f(d,n)){var v=Xn();DC(e,d);break}e.timeoutHandle=h1(Xc.bind(null,e,yo,eu),i);break}}Xc(e,yo,eu);break}case Th:{if(Qu(e,n),qP(n))break;if(!ck()){var y=FP(e,n),C=y,E=vn()-C,A=bU(E)-E;if(A>10){e.timeoutHandle=h1(Xc.bind(null,e,yo,eu),A);break}}Xc(e,yo,eu);break}case V4:{Xc(e,yo,eu);break}default:throw new Error("Unknown root exit status.")}}function eU(e){for(var t=e;;){if(t.flags&Om){var n=t.updateQueue;if(n!==null){var i=n.stores;if(i!==null)for(var u=0;u<i.length;u++){var d=i[u],v=d.getSnapshot,y=d.value;try{if(!Bo(v(),y))return!1}catch(E){return!1}}}}var C=t.child;if(t.subtreeFlags&Om&&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=Hm(t,p_),t=Hm(t,Rh),KP(e,t)}function X4(e){if(dj(),(br&(Ln|Sl))!==ln)throw new Error("Should not already be working.");ru();var t=Fm(e,ze);if(!Po(t,qt))return So(e,vn()),null;var n=y_(e,t);if(e.tag!==Fu&&n===$c){var i=Pb(e);i!==ze&&(t=i,n=g0(e,i))}if(n===kh){var u=Eh;throw Kc(e,ze),Qu(e,t),So(e,vn()),u}if(n===u0)throw new Error("Root did not complete. This is a bug in React.");var d=e.current.alternate;return e.finishedWork=d,e.finishedLanes=t,Xc(e,yo,eu),So(e,vn()),null}function tU(e,t){t!==ze&&(Fb(e,or(t,qt)),So(e,vn()),(br&(Ln|Sl))===ln&&(Ah(),ju()))}function b0(e,t){var n=br;br|=U4;try{return e(t)}finally{br=n,br===ln&&!$l.isBatchingLegacy&&(Ah(),Y3())}}function rU(e,t,n,i,u){var d=Il(),v=An.transition;try{return An.transition=null,bn(Io),e(t,n,i,u)}finally{bn(d),An.transition=v,br===ln&&Ah()}}function tu(e){Ku!==null&&Ku.tag===Fu&&(br&(Ln|Sl))===ln&&ru();var t=br;br|=U4;var n=An.transition,i=Il();try{return An.transition=null,bn(Io),e?e():void 0}finally{bn(i),An.transition=n,br=t,(br&(Ln|Sl))===ln&&ju()}}function Q4(){return(br&(Ln|Sl))!==ln}function b_(e,t){zn(c0,bs,e),bs=or(bs,t),f0=or(f0,t)}function y0(e){bs=c0.current,In(c0,e)}function Kc(e,t){e.finishedWork=null,e.finishedLanes=ze;var n=e.timeoutHandle;if(n!==m1&&(e.timeoutHandle=m1,xB(n)),Da!==null)for(var i=Da.return;i!==null;){var u=i.alternate;k4(u,i),i=i.return}Kn=e;var d=Qc(e.current,null);return Da=d,sn=bs=f0=t,un=Zs,Eh=null,d_=ze,Rh=ze,p_=ze,Dh=null,yo=null,YF(),Fl.discardPendingWarnings(),d}function J4(e,t){do{var n=Da;try{if(Dv(),Sx(),mn(),s0.current=null,n===null||n.return===null){un=kh,Eh=t,Da=null;return}if(et&&n.mode&Kr&&n_(n,!0),Pe)if(Vf(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;EP(n,i,sn)}else TP(n,t,sn);Sj(e,n.return,n,t,sn),rk(n)}catch(u){t=u,Da===n&&n!==null?(n=n.return,Da=n):n=Da;continue}return}while(!0)}function Z4(){var e=l0.current;return l0.current=Zv,e===null?Zv:e}function ek(e){l0.current=e}function aU(){d0=vn()}function Mh(e){d_=or(e,d_)}function nU(){un===Zs&&(un=f_)}function S0(){(un===Zs||un===f_||un===$c)&&(un=Th),Kn!==null&&(Ib(d_)||Ib(Rh))&&Qu(Kn,sn)}function oU(e){un!==Th&&(un=$c),Dh===null?Dh=[e]:Dh.push(e)}function iU(){return un===Zs}function y_(e,t){var n=br;br|=Ln;var i=Z4();if(Kn!==e||sn!==t){if(Pl){var u=e.memoizedUpdaters;u.size>0&&(Ph(e,sn),u.clear()),LC(e,t)}eu=NC(),Kc(e,t)}yC(t);do try{lU();break}catch(d){J4(e,d)}while(!0);if(Dv(),br=n,ek(i),Da!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return SC(),Kn=null,sn=ze,un}function lU(){for(;Da!==null;)tk(Da)}function sU(e,t){var n=br;br|=Ln;var i=Z4();if(Kn!==e||sn!==t){if(Pl){var u=e.memoizedUpdaters;u.size>0&&(Ph(e,sn),u.clear()),LC(e,t)}eu=NC(),Ah(),Kc(e,t)}yC(t);do try{uU();break}catch(d){J4(e,d)}while(!0);return Dv(),ek(i),br=n,Da!==null?(NP(),Zs):(SC(),Kn=null,sn=ze,un)}function uU(){for(;Da!==null&&!iP();)tk(Da)}function tk(e){var t=e.alternate;Ca(e);var n;(e.mode&Kr)!==Ot?(Cy(e),n=w0(t,e,bs),n_(e,!0)):n=w0(t,e,bs),mn(),e.memoizedProps=e.pendingProps,n===null?rk(e):Da=n,s0.current=null}function rk(e){var t=e;do{var n=t.alternate,i=t.return;if((t.flags&_p)===zt){Ca(t);var u=void 0;if((t.mode&Kr)===Ot?u=x4(n,t,bs):(Cy(t),u=x4(n,t,bs),n_(t,!1)),mn(),u!==null){Da=u;return}}else{var d=Zj(n,t);if(d!==null){d.flags&=eP,Da=d;return}if((t.mode&Kr)!==Ot){n_(t,!1);for(var v=t.actualDuration,y=t.child;y!==null;)v+=y.actualDuration,y=y.sibling;t.actualDuration=v}if(i!==null)i.flags|=_p,i.subtreeFlags=zt,i.deletions=null;else{un=u0,Da=null;return}}var C=t.sibling;if(C!==null){Da=C;return}t=i,Da=t}while(t!==null);un===Zs&&(un=V4)}function Xc(e,t,n){var i=Il(),u=An.transition;try{An.transition=null,bn(Io),cU(e,t,n,i)}finally{An.transition=u,bn(i)}return null}function cU(e,t,n,i){do ru();while(Ku!==null);if(SU(),(br&(Ln|Sl))!==ln)throw new Error("Should not already be working.");var u=e.finishedWork,d=e.finishedLanes;if(bP(d),u===null)return _C(),null;if(d===ze&&c("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ze,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=gn;var v=or(u.lanes,u.childLanes);XP(e,v),e===Kn&&(Kn=null,Da=null,sn=ze),((u.subtreeFlags&Uf)!==zt||(u.flags&Uf)!==zt)&&(Gc||(Gc=!0,m0=n,k0(Rc,function(){return ru(),null})));var y=(u.subtreeFlags&(cb|fb|gp|Uf))!==zt,C=(u.flags&(cb|fb|gp|Uf))!==zt;if(y||C){var E=An.transition;An.transition=null;var A=Il();bn(Io);var Z=br;br|=Sl,s0.current=null;var J=nH(e,u);Yx(),gH(e,u,d),_B(e.containerInfo),e.current=u,RP(d),bH(u,e,d),DP(),lP(),br=Z,bn(A),An.transition=E}else e.current=u,Yx();var me=Gc;if(Gc?(Gc=!1,Ku=e,Lh=d):(Cd=0,v_=null),v=e.pendingLanes,v===ze&&(wd=null),me||ik(e.current,!1),hP(u.stateNode,i),Pl&&e.memoizedUpdaters.clear(),VH(),So(e,vn()),t!==null)for(var ve=e.onRecoverableError,we=0;we<t.length;we++){var rt=t[we],Rt=rt.stack,St=rt.digest;ve(rt.value,{componentStack:Rt,digest:St})}if(h_){h_=!1;var dr=p0;throw p0=null,dr}return Po(Lh,qt)&&e.tag!==Fu&&ru(),v=e.pendingLanes,Po(v,qt)?(cj(),e===v0?Nh++:(Nh=0,v0=e)):Nh=0,ju(),_C(),null}function ru(){if(Ku!==null){var e=OC(Lh),t=eI(qs,e),n=An.transition,i=Il();try{return An.transition=null,bn(t),dU()}finally{bn(i),An.transition=n}}return!1}function fU(e){h0.push(e),Gc||(Gc=!0,k0(Rc,function(){return ru(),null}))}function dU(){if(Ku===null)return!1;var e=m0;m0=null;var t=Ku,n=Lh;if(Ku=null,Lh=ze,(br&(Ln|Sl))!==ln)throw new Error("Cannot flush passive effects while already rendering.");_0=!0,m_=!1,AP(n);var i=br;br|=Sl,TH(t.current),wH(t,t.current,n,e);{var u=h0;h0=[];for(var d=0;d<u.length;d++){var v=u[d];sH(t,v)}}LP(),ik(t.current,!0),br=i,ju(),m_?t===v_?Cd++:(Cd=0,v_=t):Cd=0,_0=!1,m_=!1,mP(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function ak(e){return wd!==null&&wd.has(e)}function pU(e){wd===null?wd=new Set([e]):wd.add(e)}function hU(e){h_||(h_=!0,p0=e)}var mU=hU;function nk(e,t,n){var i=qc(n,t),u=e4(e,i,qt),d=Uu(e,u,qt),v=Xn();d!==null&&(Tp(d,qt,v),So(d,v))}function fa(e,t,n){if(tH(n),Ih(!1),e.tag===b){nk(e,e,n);return}var i=null;for(i=t;i!==null;){if(i.tag===b){nk(i,e,n);return}else if(i.tag===m){var u=i.type,d=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&!ak(d)){var v=qc(n,e),y=Hy(i,v,qt),C=Uu(i,y,qt),E=Xn();C!==null&&(Tp(C,qt,E),So(C,E));return}}i=i.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 vU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var u=Qn();DC(e,n),kU(e),Xn===e&&Yf(sn,n)&&(un===Th||un===f_&&kC(sn)&&mn()-d0<W4?Gc(e,ze):p_=or(p_,n)),wo(e,u)}function ok(e,t){t===_n&&(t=XH(e));var n=Qn(),i=bo(e,t);i!==null&&(Tp(i,t,n),wo(i,n))}function _U(e){var t=e.memoizedState,n=_n;t!==null&&(n=t.retryLane),ok(e,n)}function gU(e,t){var n=_n,i;switch(e.tag){case J:i=e.stateNode;var u=e.memoizedState;u!==null&&(n=u.retryLane);break;case Se:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),ok(e,n)}function bU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:YH(e/1960)*1960}function yU(){if(Nh>GH)throw Nh=0,v0=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.");wd>KH&&(wd=0,v_=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 SU(){Bl.flushLegacyContextWarning(),Bl.flushPendingUnsafeLifecycleWarnings()}function ik(e,t){wa(e),S_(e,Hs,PH),t&&S_(e,Mm,IH),S_(e,Hs,OH),t&&S_(e,Mm,MH),hn()}function S_(e,t,n){for(var i=e,u=null;i!==null;){var d=i.subtreeFlags&t;i!==u&&i.child!==null&&d!==zt?i=i.child:((i.flags&t)!==zt&&n(i),i.sibling!==null?i=i.sibling:i=u=i.return)}}var w_=null;function lk(e){{if((_r&Ln)!==ln||!(e.mode&vr))return;var t=e.tag;if(t!==g&&t!==b&&t!==m&&t!==p&&t!==j&&t!==N&&t!==te)return;var n=Zt(e)||"ReactComponent";if(w_!==null){if(w_.has(n))return;w_.add(n)}else w_=new Set([n]);var i=Pn;try{wa(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{i?wa(e):hn()}}}var w0;{var wU=null;w0=function(e,t,n){var i=mk(wU,t);try{return b4(e,t,n)}catch(d){if(DF()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Dv(),Sx(),k4(e,t),mk(t,i),t.mode&Kr&&Cy(t),nb(null,b4,null,e,t,n),XM()){var u=ob();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var sk=!1,C0;C0=new Set;function CU(e){if(Eu&&!lj())switch(e.tag){case p:case j:case te:{var t=Ra&&Zt(Ra)||"Unknown",n=t;if(!C0.has(n)){C0.add(n);var i=Zt(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",i,t,t)}break}case m:{sk||(c("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),sk=!0);break}}}function Ph(e,t){if(Ml){var n=e.memoizedUpdaters;n.forEach(function(i){AC(e,i,t)})}}var x0={};function k0(e,t){{var n=Yl.current;return n!==null?(n.push(t),x0):vC(e,t)}}function uk(e){if(e!==x0)return oP(e)}function ck(){return Yl.current!==null}function xU(e){{if(e.mode&vr){if(!H4())return}else if(!qH()||_r!==ln||e.tag!==p&&e.tag!==j&&e.tag!==te)return;if(Yl.current===null){var t=Pn;try{wa(e),c(`An update to %s inside a test was not wrapped in act(...).
119
+ %s`,n)}function vU(e,t,n){var i=e.pingCache;i!==null&&i.delete(t);var u=Xn();DC(e,n),kU(e),Kn===e&&$f(sn,n)&&(un===Th||un===f_&&kC(sn)&&vn()-d0<W4?Kc(e,ze):p_=or(p_,n)),So(e,u)}function ok(e,t){t===gn&&(t=XH(e));var n=Xn(),i=go(e,t);i!==null&&(Tp(i,t,n),So(i,n))}function _U(e){var t=e.memoizedState,n=gn;t!==null&&(n=t.retryLane),ok(e,n)}function gU(e,t){var n=gn,i;switch(e.tag){case Q:i=e.stateNode;var u=e.memoizedState;u!==null&&(n=u.retryLane);break;case ye:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),ok(e,n)}function bU(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:YH(e/1960)*1960}function yU(){if(Nh>GH)throw Nh=0,v0=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.");Cd>KH&&(Cd=0,v_=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 SU(){Fl.flushLegacyContextWarning(),Fl.flushPendingUnsafeLifecycleWarnings()}function ik(e,t){Ca(e),S_(e,Hs,PH),t&&S_(e,Mm,IH),S_(e,Hs,OH),t&&S_(e,Mm,MH),mn()}function S_(e,t,n){for(var i=e,u=null;i!==null;){var d=i.subtreeFlags&t;i!==u&&i.child!==null&&d!==zt?i=i.child:((i.flags&t)!==zt&&n(i),i.sibling!==null?i=i.sibling:i=u=i.return)}}var w_=null;function lk(e){{if((br&Ln)!==ln||!(e.mode&gr))return;var t=e.tag;if(t!==g&&t!==b&&t!==m&&t!==p&&t!==j&&t!==N&&t!==te)return;var n=Zt(e)||"ReactComponent";if(w_!==null){if(w_.has(n))return;w_.add(n)}else w_=new Set([n]);var i=Pn;try{Ca(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{i?Ca(e):mn()}}}var w0;{var wU=null;w0=function(e,t,n){var i=mk(wU,t);try{return b4(e,t,n)}catch(d){if(DF()||d!==null&&typeof d=="object"&&typeof d.then=="function")throw d;if(Dv(),Sx(),k4(e,t),mk(t,i),t.mode&Kr&&Cy(t),nb(null,b4,null,e,t,n),XM()){var u=ob();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof d=="object"&&d!==null&&!d._suppressLogging&&(d._suppressLogging=!0)}throw d}}}var sk=!1,C0;C0=new Set;function CU(e){if(Eu&&!lj())switch(e.tag){case p:case j:case te:{var t=Da&&Zt(Da)||"Unknown",n=t;if(!C0.has(n)){C0.add(n);var i=Zt(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",i,t,t)}break}case m:{sk||(c("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),sk=!0);break}}}function Ph(e,t){if(Pl){var n=e.memoizedUpdaters;n.forEach(function(i){AC(e,i,t)})}}var x0={};function k0(e,t){{var n=$l.current;return n!==null?(n.push(t),x0):vC(e,t)}}function uk(e){if(e!==x0)return oP(e)}function ck(){return $l.current!==null}function xU(e){{if(e.mode&gr){if(!H4())return}else if(!qH()||br!==ln||e.tag!==p&&e.tag!==j&&e.tag!==te)return;if($l.current===null){var t=Pn;try{Ca(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
 
@@ -125,7 +125,7 @@ act(() => {
125
125
  });
126
126
  /* assert on the output */
127
127
 
128
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Zt(e))}finally{t?wa(e):hn()}}}}function kU(e){e.tag!==Fu&&H4()&&Yl.current===null&&c(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
128
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Zt(e))}finally{t?Ca(e):mn()}}}}function kU(e){e.tag!==Fu&&H4()&&$l.current===null&&c(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
129
129
 
130
130
  When testing, code that resolves suspended data should be wrapped into act(...):
131
131
 
@@ -134,37 +134,37 @@ act(() => {
134
134
  });
135
135
  /* assert on the output */
136
136
 
137
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Ih(e){$4=e}var wl=null,Cd=null,TU=function(e){wl=e};function xd(e){{if(wl===null)return e;var t=wl(e);return t===void 0?e:t.current}}function T0(e){return xd(e)}function E0(e){{if(wl===null)return e;var t=wl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=xd(e.render);if(e.render!==n){var i={$$typeof:pe,render:n};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function fk(e,t){{if(wl===null)return!1;var n=e.elementType,i=t.type,u=!1,d=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case m:{typeof i=="function"&&(u=!0);break}case p:{(typeof i=="function"||d===Je)&&(u=!0);break}case j:{(d===pe||d===Je)&&(u=!0);break}case N:case te:{(d===st||d===Je)&&(u=!0);break}default:return!1}if(u){var v=wl(n);if(v!==void 0&&v===wl(i))return!0}return!1}}function dk(e){{if(wl===null||typeof WeakSet!="function")return;Cd===null&&(Cd=new WeakSet),Cd.add(e)}}var EU=function(e,t){{if(wl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;ru(),tu(function(){R0(e.current,i,n)})}},RU=function(e,t){{if(e.context!==Fo)return;ru(),tu(function(){zh(t,e,null,null)})}};function R0(e,t,n){{var i=e.alternate,u=e.child,d=e.sibling,v=e.tag,y=e.type,C=null;switch(v){case p:case te:case m:C=y;break;case j:C=y.render;break}if(wl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,A=!1;if(C!==null){var Z=wl(C);Z!==void 0&&(n.has(Z)?A=!0:t.has(Z)&&(v===m?A=!0:E=!0))}if(Cd!==null&&(Cd.has(e)||i!==null&&Cd.has(i))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||E){var Q=bo(e,qt);Q!==null&&cn(Q,e,qt,va)}u!==null&&!A&&R0(u,t,n),d!==null&&R0(d,t,n)}}var DU=function(e,t){{var n=new Set,i=new Set(t.map(function(u){return u.current}));return D0(e.current,i,n),n}};function D0(e,t,n){{var i=e.child,u=e.sibling,d=e.tag,v=e.type,y=null;switch(d){case p:case te:case m:y=v;break;case j:y=v.render;break}var C=!1;y!==null&&t.has(y)&&(C=!0),C?AU(e,n):i!==null&&D0(i,t,n),u!==null&&D0(u,t,n)}}function AU(e,t){{var n=LU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case w:t.add(i.stateNode);return;case S:t.add(i.stateNode.containerInfo);return;case b:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function LU(e,t){for(var n=e,i=!1;;){if(n.tag===w)i=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return i;for(;n.sibling===null;){if(n.return===null||n.return===e)return i;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var A0;{A0=!1;try{var pk=Object.preventExtensions({})}catch(e){A0=!0}}function NU(e,t,n,i){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=zt,this.subtreeFlags=zt,this.deletions=null,this.lanes=ze,this.childLanes=ze,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!A0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var jo=function(e,t,n,i){return new NU(e,t,n,i)};function L0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function OU(e){return typeof e=="function"&&!L0(e)&&e.defaultProps===void 0}function MU(e){if(typeof e=="function")return L0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return j;if(t===st)return N}return g}function Xc(e,t){var n=e.alternate;n===null?(n=jo(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=zt,n.subtreeFlags=zt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Us,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var i=e.dependencies;switch(n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case g:case p:case te:n.type=xd(e.type);break;case m:n.type=T0(e.type);break;case j:n.type=E0(e.type);break}return n}function PU(e,t){e.flags&=Us|Xa;var n=e.alternate;if(n===null)e.childLanes=ze,e.lanes=t,e.child=null,e.subtreeFlags=zt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=zt,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var i=n.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function IU(e,t,n){var i;return e===bv?(i=vr,t===!0&&(i|=Ma,i|=us)):i=Ot,Ml&&(i|=Kr),jo(b,null,null,i)}function N0(e,t,n,i,u,d){var v=g,y=e;if(typeof e=="function")L0(e)?(v=m,y=T0(y)):y=xd(y);else if(typeof e=="string")v=w;else e:switch(e){case se:return Ju(n.children,u,d,t);case We:v=M,u|=Ma,(u&vr)!==Ot&&(u|=us);break;case Fe:return zU(n,u,d,t);case Te:return BU(n,u,d,t);case Ue:return FU(n,u,d,t);case kt:return hk(n,u,d,t);case Vt:case Ke:case $r:case Ha:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:v=O;break e;case q:v=Y;break e;case pe:v=j,y=E0(y);break e;case st:v=N;break e;case Je:v=_e,y=null;break e}var C="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=i?Zt(i):null;E&&(C+=`
137
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Ih(e){$4=e}var wl=null,xd=null,TU=function(e){wl=e};function kd(e){{if(wl===null)return e;var t=wl(e);return t===void 0?e:t.current}}function T0(e){return kd(e)}function E0(e){{if(wl===null)return e;var t=wl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=kd(e.render);if(e.render!==n){var i={$$typeof:pe,render:n};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function fk(e,t){{if(wl===null)return!1;var n=e.elementType,i=t.type,u=!1,d=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case m:{typeof i=="function"&&(u=!0);break}case p:{(typeof i=="function"||d===Je)&&(u=!0);break}case j:{(d===pe||d===Je)&&(u=!0);break}case N:case te:{(d===ft||d===Je)&&(u=!0);break}default:return!1}if(u){var v=wl(n);if(v!==void 0&&v===wl(i))return!0}return!1}}function dk(e){{if(wl===null||typeof WeakSet!="function")return;xd===null&&(xd=new WeakSet),xd.add(e)}}var EU=function(e,t){{if(wl===null)return;var n=t.staleFamilies,i=t.updatedFamilies;ru(),tu(function(){R0(e.current,i,n)})}},RU=function(e,t){{if(e.context!==Fo)return;ru(),tu(function(){zh(t,e,null,null)})}};function R0(e,t,n){{var i=e.alternate,u=e.child,d=e.sibling,v=e.tag,y=e.type,C=null;switch(v){case p:case te:case m:C=y;break;case j:C=y.render;break}if(wl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,A=!1;if(C!==null){var Z=wl(C);Z!==void 0&&(n.has(Z)?A=!0:t.has(Z)&&(v===m?A=!0:E=!0))}if(xd!==null&&(xd.has(e)||i!==null&&xd.has(i))&&(A=!0),A&&(e._debugNeedsRemount=!0),A||E){var J=go(e,qt);J!==null&&cn(J,e,qt,va)}u!==null&&!A&&R0(u,t,n),d!==null&&R0(d,t,n)}}var DU=function(e,t){{var n=new Set,i=new Set(t.map(function(u){return u.current}));return D0(e.current,i,n),n}};function D0(e,t,n){{var i=e.child,u=e.sibling,d=e.tag,v=e.type,y=null;switch(d){case p:case te:case m:y=v;break;case j:y=v.render;break}var C=!1;y!==null&&t.has(y)&&(C=!0),C?AU(e,n):i!==null&&D0(i,t,n),u!==null&&D0(u,t,n)}}function AU(e,t){{var n=LU(e,t);if(n)return;for(var i=e;;){switch(i.tag){case w:t.add(i.stateNode);return;case S:t.add(i.stateNode.containerInfo);return;case b:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function LU(e,t){for(var n=e,i=!1;;){if(n.tag===w)i=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return i;for(;n.sibling===null;){if(n.return===null||n.return===e)return i;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var A0;{A0=!1;try{var pk=Object.preventExtensions({})}catch(e){A0=!0}}function NU(e,t,n,i){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=zt,this.subtreeFlags=zt,this.deletions=null,this.lanes=ze,this.childLanes=ze,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!A0&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var jo=function(e,t,n,i){return new NU(e,t,n,i)};function L0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function OU(e){return typeof e=="function"&&!L0(e)&&e.defaultProps===void 0}function MU(e){if(typeof e=="function")return L0(e)?m:p;if(e!=null){var t=e.$$typeof;if(t===pe)return j;if(t===ft)return N}return g}function Qc(e,t){var n=e.alternate;n===null?(n=jo(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=zt,n.subtreeFlags=zt,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Us,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var i=e.dependencies;switch(n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case g:case p:case te:n.type=kd(e.type);break;case m:n.type=T0(e.type);break;case j:n.type=E0(e.type);break}return n}function PU(e,t){e.flags&=Us|Xa;var n=e.alternate;if(n===null)e.childLanes=ze,e.lanes=t,e.child=null,e.subtreeFlags=zt,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=zt,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var i=n.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function IU(e,t,n){var i;return e===bv?(i=gr,t===!0&&(i|=Ma,i|=us)):i=Ot,Pl&&(i|=Kr),jo(b,null,null,i)}function N0(e,t,n,i,u,d){var v=g,y=e;if(typeof e=="function")L0(e)?(v=m,y=T0(y)):y=kd(y);else if(typeof e=="string")v=w;else e:switch(e){case se:return Ju(n.children,u,d,t);case Ve:v=M,u|=Ma,(u&gr)!==Ot&&(u|=us);break;case Fe:return zU(n,u,d,t);case ke:return BU(n,u,d,t);case He:return FU(n,u,d,t);case kt:return hk(n,u,d,t);case Wt:case Ke:case $r:case Ha:case Ct:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:v=O;break e;case q:v=Y;break e;case pe:v=j,y=E0(y);break e;case ft:v=N;break e;case Je:v=_e,y=null;break e}var C="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=i?Zt(i):null;E&&(C+=`
138
138
 
139
- Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+C))}}var A=jo(v,n,t,u);return A.elementType=e,A.type=y,A.lanes=d,A._debugOwner=i,A}function O0(e,t,n){var i=null;i=e._owner;var u=e.type,d=e.key,v=e.props,y=N0(u,d,v,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Ju(e,t,n,i){var u=jo(L,e,i,t);return u.lanes=n,u}function zU(e,t,n,i){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=jo(F,e,i,t|Kr);return u.elementType=Fe,u.lanes=n,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function BU(e,t,n,i){var u=jo(J,e,i,t);return u.elementType=Te,u.lanes=n,u}function FU(e,t,n,i){var u=jo(Se,e,i,t);return u.elementType=Ue,u.lanes=n,u}function hk(e,t,n,i){var u=jo(H,e,i,t);u.elementType=kt,u.lanes=n;var d={isHidden:!1};return u.stateNode=d,u}function M0(e,t,n){var i=jo(k,e,null,t);return i.lanes=n,i}function jU(){var e=jo(w,null,null,Ot);return e.elementType="DELETED",e}function HU(e){var t=jo(ye,null,null,Ot);return t.stateNode=e,t}function P0(e,t,n){var i=e.children!==null?e.children:[],u=jo(S,i,e.key,t);return u.lanes=n,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function mk(e,t){return e===null&&(e=jo(g,null,null,Ot)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function UU(e,t,n,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=m1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=_n,this.eventTimes=Bb(ze),this.expirationTimes=Bb(va),this.pendingLanes=ze,this.suspendedLanes=ze,this.pingedLanes=ze,this.expiredLanes=ze,this.mutableReadLanes=ze,this.finishedLanes=ze,this.entangledLanes=ze,this.entanglements=Bb(ze),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],v=0;v<mb;v++)d.push(new Set)}switch(t){case bv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Fu:this._debugRootType=n?"hydrate()":"render()";break}}function vk(e,t,n,i,u,d,v,y,C,E){var A=new UU(e,t,n,y,C),Z=IU(t,d);A.current=Z,Z.stateNode=A;{var Q={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};Z.memoizedState=Q}return $1(Z),A}var I0="18.3.1";function VU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Cr(i),{$$typeof:re,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var z0,B0;z0=!1,B0={};function _k(e){if(!e)return Fo;var t=Ff(e),n=yF(t);if(t.tag===m){var i=t.type;if(ds(i))return V3(t,i,n)}return n}function WU(e,t){{var n=Ff(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=pC(n);if(u===null)return null;if(u.mode&Ma){var d=Zt(n)||"Component";if(!B0[d]){B0[d]=!0;var v=Pn;try{wa(u),n.mode&Ma?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,d):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,d)}finally{v?wa(v):hn()}}}return u.stateNode}}function gk(e,t,n,i,u,d,v,y){var C=!1,E=null;return vk(e,t,C,E,n,i,u,d,v)}function bk(e,t,n,i,u,d,v,y,C,E){var A=!0,Z=vk(n,i,A,e,u,d,v,y,C);Z.context=_k(null);var Q=Z.current,me=Qn(),ve=Xu(Q),Ce=Qs(me,ve);return Ce.callback=t!=null?t:null,Uu(Q,Ce,ve),QH(Z,ve,me),Z}function zh(e,t,n,i){pP(t,e);var u=t.current,d=Qn(),v=Xu(u);OP(v);var y=_k(n);t.context===null?t.context=y:t.pendingContext=y,Eu&&Pn!==null&&!z0&&(z0=!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.
139
+ Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+C))}}var A=jo(v,n,t,u);return A.elementType=e,A.type=y,A.lanes=d,A._debugOwner=i,A}function O0(e,t,n){var i=null;i=e._owner;var u=e.type,d=e.key,v=e.props,y=N0(u,d,v,i,t,n);return y._debugSource=e._source,y._debugOwner=e._owner,y}function Ju(e,t,n,i){var u=jo(L,e,i,t);return u.lanes=n,u}function zU(e,t,n,i){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=jo(F,e,i,t|Kr);return u.elementType=Fe,u.lanes=n,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function BU(e,t,n,i){var u=jo(Q,e,i,t);return u.elementType=ke,u.lanes=n,u}function FU(e,t,n,i){var u=jo(ye,e,i,t);return u.elementType=He,u.lanes=n,u}function hk(e,t,n,i){var u=jo(H,e,i,t);u.elementType=kt,u.lanes=n;var d={isHidden:!1};return u.stateNode=d,u}function M0(e,t,n){var i=jo(k,e,null,t);return i.lanes=n,i}function jU(){var e=jo(w,null,null,Ot);return e.elementType="DELETED",e}function HU(e){var t=jo(be,null,null,Ot);return t.stateNode=e,t}function P0(e,t,n){var i=e.children!==null?e.children:[],u=jo(S,i,e.key,t);return u.lanes=n,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function mk(e,t){return e===null&&(e=jo(g,null,null,Ot)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function UU(e,t,n,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=m1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=gn,this.eventTimes=Bb(ze),this.expirationTimes=Bb(va),this.pendingLanes=ze,this.suspendedLanes=ze,this.pingedLanes=ze,this.expiredLanes=ze,this.mutableReadLanes=ze,this.finishedLanes=ze,this.entangledLanes=ze,this.entanglements=Bb(ze),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var d=this.pendingUpdatersLaneMap=[],v=0;v<mb;v++)d.push(new Set)}switch(t){case bv:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Fu:this._debugRootType=n?"hydrate()":"render()";break}}function vk(e,t,n,i,u,d,v,y,C,E){var A=new UU(e,t,n,y,C),Z=IU(t,d);A.current=Z,Z.stateNode=A;{var J={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};Z.memoizedState=J}return $1(Z),A}var I0="18.3.1";function VU(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Tr(i),{$$typeof:ae,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var z0,B0;z0=!1,B0={};function _k(e){if(!e)return Fo;var t=jf(e),n=yF(t);if(t.tag===m){var i=t.type;if(ds(i))return V3(t,i,n)}return n}function WU(e,t){{var n=jf(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=pC(n);if(u===null)return null;if(u.mode&Ma){var d=Zt(n)||"Component";if(!B0[d]){B0[d]=!0;var v=Pn;try{Ca(u),n.mode&Ma?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,d):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,d)}finally{v?Ca(v):mn()}}}return u.stateNode}}function gk(e,t,n,i,u,d,v,y){var C=!1,E=null;return vk(e,t,C,E,n,i,u,d,v)}function bk(e,t,n,i,u,d,v,y,C,E){var A=!0,Z=vk(n,i,A,e,u,d,v,y,C);Z.context=_k(null);var J=Z.current,me=Xn(),ve=Xu(J),we=Qs(me,ve);return we.callback=t!=null?t:null,Uu(J,we,ve),QH(Z,ve,me),Z}function zh(e,t,n,i){pP(t,e);var u=t.current,d=Xn(),v=Xu(u);OP(v);var y=_k(n);t.context===null?t.context=y:t.pendingContext=y,Eu&&Pn!==null&&!z0&&(z0=!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.`,Zt(Pn)||"Unknown"));var C=Qs(d,v);C.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&c("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),C.callback=i);var E=Uu(u,C,v);return E!==null&&(cn(E,u,v,d),Mv(E,u,v)),v}function C_(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 qU(e){switch(e.tag){case b:{var t=e.stateNode;if(Vm(t)){var n=UP(t);tU(t,n)}break}case J:{tu(function(){var u=bo(e,qt);if(u!==null){var d=Qn();cn(u,e,qt,d)}});var i=qt;F0(e,i);break}}}function yk(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=GP(n.retryLane,t))}function F0(e,t){yk(e,t);var n=e.alternate;n&&yk(n,t)}function YU(e){if(e.tag===J){var t=wp,n=bo(e,t);if(n!==null){var i=Qn();cn(n,e,t,i)}F0(e,t)}}function $U(e){if(e.tag===J){var t=Xu(e),n=bo(e,t);if(n!==null){var i=Qn();cn(n,e,t,i)}F0(e,t)}}function Sk(e){var t=nP(e);return t===null?null:t.stateNode}var wk=function(e){return null};function GU(e){return wk(e)}var Ck=function(e){return!1};function KU(e){return Ck(e)}var xk=null,kk=null,Tk=null,Ek=null,Rk=null,Dk=null,Ak=null,Lk=null,Nk=null;{var Ok=function(e,t,n){var i=t[n],u=tn(e)?e.slice():Nt({},e);return n+1===t.length?(tn(u)?u.splice(i,1):delete u[i],u):(u[i]=Ok(e[i],t,n+1),u)},Mk=function(e,t){return Ok(e,t,0)},Pk=function(e,t,n,i){var u=t[i],d=tn(e)?e.slice():Nt({},e);if(i+1===t.length){var v=n[i];d[v]=d[u],tn(d)?d.splice(u,1):delete d[u]}else d[u]=Pk(e[u],t,n,i+1);return d},Ik=function(e,t,n){if(t.length!==n.length){f("copyWithRename() expects paths of the same length");return}else for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){f("copyWithRename() expects paths to be the same except for the deepest key");return}return Pk(e,t,n,0)},zk=function(e,t,n,i){if(n>=t.length)return i;var u=t[n],d=tn(e)?e.slice():Nt({},e);return d[u]=zk(e[u],t,n+1,i),d},Bk=function(e,t,n){return zk(e,t,0,n)},j0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};xk=function(e,t,n,i){var u=j0(e,t);if(u!==null){var d=Bk(u.memoizedState,n,i);u.memoizedState=d,u.baseState=d,e.memoizedProps=Nt({},e.memoizedProps);var v=bo(e,qt);v!==null&&cn(v,e,qt,va)}},kk=function(e,t,n){var i=j0(e,t);if(i!==null){var u=Mk(i.memoizedState,n);i.memoizedState=u,i.baseState=u,e.memoizedProps=Nt({},e.memoizedProps);var d=bo(e,qt);d!==null&&cn(d,e,qt,va)}},Tk=function(e,t,n,i){var u=j0(e,t);if(u!==null){var d=Ik(u.memoizedState,n,i);u.memoizedState=d,u.baseState=d,e.memoizedProps=Nt({},e.memoizedProps);var v=bo(e,qt);v!==null&&cn(v,e,qt,va)}},Ek=function(e,t,n){e.pendingProps=Bk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=bo(e,qt);i!==null&&cn(i,e,qt,va)},Rk=function(e,t){e.pendingProps=Mk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=bo(e,qt);n!==null&&cn(n,e,qt,va)},Dk=function(e,t,n){e.pendingProps=Ik(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=bo(e,qt);i!==null&&cn(i,e,qt,va)},Ak=function(e){var t=bo(e,qt);t!==null&&cn(t,e,qt,va)},Lk=function(e){wk=e},Nk=function(e){Ck=e}}function XU(e){var t=pC(e);return t===null?null:t.stateNode}function QU(e){return null}function JU(){return Pn}function ZU(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return dP({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:xk,overrideHookStateDeletePath:kk,overrideHookStateRenamePath:Tk,overrideProps:Ek,overridePropsDeletePath:Rk,overridePropsRenamePath:Dk,setErrorHandler:Lk,setSuspenseHandler:Nk,scheduleUpdate:Ak,currentDispatcherRef:n,findHostInstanceByFiber:XU,findFiberByHostInstance:t||QU,findHostInstancesForRefresh:DU,scheduleRefresh:EU,scheduleRoot:RU,setRefreshHandler:TU,getCurrentFiber:JU,reconcilerVersion:I0})}var Fk=typeof reportError=="function"?reportError:function(e){console.error(e)};function H0(e){this._internalRoot=e}x_.prototype.render=H0.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()."):k_(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!==Ka){var i=Sk(t.current);i&&i.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.")}}zh(e,t,null,null)},x_.prototype.unmount=H0.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;Q4()&&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."),tu(function(){zh(null,e,null,null)}),B3(t)}};function eV(e,t){if(!k_(e))throw new Error("createRoot(...): Target container is not a DOM element.");jk(e);var n=!1,i=!1,u="",d=Fk,v=null;t!=null&&(t.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===V&&c(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
141
+ Check the render method of %s.`,Zt(Pn)||"Unknown"));var C=Qs(d,v);C.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&c("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),C.callback=i);var E=Uu(u,C,v);return E!==null&&(cn(E,u,v,d),Mv(E,u,v)),v}function C_(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 qU(e){switch(e.tag){case b:{var t=e.stateNode;if(Vm(t)){var n=UP(t);tU(t,n)}break}case Q:{tu(function(){var u=go(e,qt);if(u!==null){var d=Xn();cn(u,e,qt,d)}});var i=qt;F0(e,i);break}}}function yk(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=GP(n.retryLane,t))}function F0(e,t){yk(e,t);var n=e.alternate;n&&yk(n,t)}function YU(e){if(e.tag===Q){var t=wp,n=go(e,t);if(n!==null){var i=Xn();cn(n,e,t,i)}F0(e,t)}}function $U(e){if(e.tag===Q){var t=Xu(e),n=go(e,t);if(n!==null){var i=Xn();cn(n,e,t,i)}F0(e,t)}}function Sk(e){var t=nP(e);return t===null?null:t.stateNode}var wk=function(e){return null};function GU(e){return wk(e)}var Ck=function(e){return!1};function KU(e){return Ck(e)}var xk=null,kk=null,Tk=null,Ek=null,Rk=null,Dk=null,Ak=null,Lk=null,Nk=null;{var Ok=function(e,t,n){var i=t[n],u=tn(e)?e.slice():Nt({},e);return n+1===t.length?(tn(u)?u.splice(i,1):delete u[i],u):(u[i]=Ok(e[i],t,n+1),u)},Mk=function(e,t){return Ok(e,t,0)},Pk=function(e,t,n,i){var u=t[i],d=tn(e)?e.slice():Nt({},e);if(i+1===t.length){var v=n[i];d[v]=d[u],tn(d)?d.splice(u,1):delete d[u]}else d[u]=Pk(e[u],t,n,i+1);return d},Ik=function(e,t,n){if(t.length!==n.length){f("copyWithRename() expects paths of the same length");return}else for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){f("copyWithRename() expects paths to be the same except for the deepest key");return}return Pk(e,t,n,0)},zk=function(e,t,n,i){if(n>=t.length)return i;var u=t[n],d=tn(e)?e.slice():Nt({},e);return d[u]=zk(e[u],t,n+1,i),d},Bk=function(e,t,n){return zk(e,t,0,n)},j0=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};xk=function(e,t,n,i){var u=j0(e,t);if(u!==null){var d=Bk(u.memoizedState,n,i);u.memoizedState=d,u.baseState=d,e.memoizedProps=Nt({},e.memoizedProps);var v=go(e,qt);v!==null&&cn(v,e,qt,va)}},kk=function(e,t,n){var i=j0(e,t);if(i!==null){var u=Mk(i.memoizedState,n);i.memoizedState=u,i.baseState=u,e.memoizedProps=Nt({},e.memoizedProps);var d=go(e,qt);d!==null&&cn(d,e,qt,va)}},Tk=function(e,t,n,i){var u=j0(e,t);if(u!==null){var d=Ik(u.memoizedState,n,i);u.memoizedState=d,u.baseState=d,e.memoizedProps=Nt({},e.memoizedProps);var v=go(e,qt);v!==null&&cn(v,e,qt,va)}},Ek=function(e,t,n){e.pendingProps=Bk(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=go(e,qt);i!==null&&cn(i,e,qt,va)},Rk=function(e,t){e.pendingProps=Mk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=go(e,qt);n!==null&&cn(n,e,qt,va)},Dk=function(e,t,n){e.pendingProps=Ik(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=go(e,qt);i!==null&&cn(i,e,qt,va)},Ak=function(e){var t=go(e,qt);t!==null&&cn(t,e,qt,va)},Lk=function(e){wk=e},Nk=function(e){Ck=e}}function XU(e){var t=pC(e);return t===null?null:t.stateNode}function QU(e){return null}function JU(){return Pn}function ZU(e){var t=e.findFiberByHostInstance,n=o.ReactCurrentDispatcher;return dP({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:xk,overrideHookStateDeletePath:kk,overrideHookStateRenamePath:Tk,overrideProps:Ek,overridePropsDeletePath:Rk,overridePropsRenamePath:Dk,setErrorHandler:Lk,setSuspenseHandler:Nk,scheduleUpdate:Ak,currentDispatcherRef:n,findHostInstanceByFiber:XU,findFiberByHostInstance:t||QU,findHostInstancesForRefresh:DU,scheduleRefresh:EU,scheduleRoot:RU,setRefreshHandler:TU,getCurrentFiber:JU,reconcilerVersion:I0})}var Fk=typeof reportError=="function"?reportError:function(e){console.error(e)};function H0(e){this._internalRoot=e}x_.prototype.render=H0.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()."):k_(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!==Ka){var i=Sk(t.current);i&&i.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.")}}zh(e,t,null,null)},x_.prototype.unmount=H0.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;Q4()&&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."),tu(function(){zh(null,e,null,null)}),B3(t)}};function eV(e,t){if(!k_(e))throw new Error("createRoot(...): Target container is not a DOM element.");jk(e);var n=!1,i=!1,u="",d=Fk,v=null;t!=null&&(t.hydrate?f("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===V&&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&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(v=t.transitionCallbacks));var y=gk(e,bv,null,n,i,u,d);dv(y.current,e);var C=e.nodeType===Ka?e.parentNode:e;return Vp(C),new H0(y)}function x_(e){this._internalRoot=e}function tV(e){e&&fI(e)}x_.prototype.unstable_scheduleHydration=tV;function rV(e,t,n){if(!k_(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");jk(e),t===void 0&&c("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,u=n!=null&&n.hydratedSources||null,d=!1,v=!1,y="",C=Fk;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var E=bk(t,null,e,bv,i,d,v,y,C);if(dv(E.current,e),Vp(e),u)for(var A=0;A<u.length;A++){var Z=u[A];tj(E,Z)}return new x_(E)}function k_(e){return!!(e&&(e.nodeType===_o||e.nodeType===Bs||e.nodeType===$g||!be))}function Bh(e){return!!(e&&(e.nodeType===_o||e.nodeType===Bs||e.nodeType===$g||e.nodeType===Ka&&e.nodeValue===" react-mount-point-unstable "))}function jk(e){e.nodeType===_o&&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."),eh(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 aV=o.ReactCurrentOwner,Hk;Hk=function(e){if(e._reactRootContainer&&e.nodeType!==Ka){var t=Sk(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,i=U0(e),u=!!(i&&zu(i));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===_o&&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 U0(e){return e?e.nodeType===Bs?e.documentElement:e.firstChild:null}function Uk(){}function nV(e,t,n,i,u){if(u){if(typeof i=="function"){var d=i;i=function(){var Q=C_(v);d.call(Q)}}var v=bk(t,i,e,Fu,null,!1,!1,"",Uk);e._reactRootContainer=v,dv(v.current,e);var y=e.nodeType===Ka?e.parentNode:e;return Vp(y),tu(),v}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof i=="function"){var E=i;i=function(){var Q=C_(A);E.call(Q)}}var A=gk(e,Fu,null,!1,!1,"",Uk);e._reactRootContainer=A,dv(A.current,e);var Z=e.nodeType===Ka?e.parentNode:e;return Vp(Z),tu(function(){zh(t,A,n,i)}),A}}function oV(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 T_(e,t,n,i,u){Hk(n),oV(u===void 0?null:u,"render");var d=n._reactRootContainer,v;if(!d)v=nV(n,t,e,u,i);else{if(v=d,typeof u=="function"){var y=u;u=function(){var C=C_(v);y.call(C)}}zh(t,v,e,u)}return C_(v)}var Vk=!1;function iV(e){{Vk||(Vk=!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=aV.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.",Hr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===_o?e:WU(e,"findDOMNode")}function lV(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"),!Bh(t))throw new Error("Target container is not a DOM element.");{var i=eh(t)&&t._reactRootContainer===void 0;i&&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 T_(null,e,t,!0,n)}function sV(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"),!Bh(t))throw new Error("Target container is not a DOM element.");{var i=eh(t)&&t._reactRootContainer===void 0;i&&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 T_(null,e,t,!1,n)}function uV(e,t,n,i){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"),!Bh(n))throw new Error("Target container is not a DOM element.");if(e==null||!QM(e))throw new Error("parentComponent must be a valid React Component");return T_(e,t,n,!1,i)}var Wk=!1;function cV(e){if(Wk||(Wk=!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")),!Bh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=eh(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=U0(e),i=n&&!zu(n);i&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return tu(function(){T_(null,null,e,!1,function(){e._reactRootContainer=null,B3(e)})}),!0}else{{var u=U0(e),d=!!(u&&zu(u)),v=e.nodeType===_o&&Bh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",v?"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}}tI(qU),aI(YU),nI($U),oI(Pl),iI(JP),(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"),jM(lB),VM(b0,rU,tu);function fV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!k_(t))throw new Error("Target container is not a DOM element.");return VU(e,t,null,n)}function dV(e,t,n,i){return uV(e,t,n,i)}var V0={usingClientEntryPoint:!1,Events:[zu,td,pv,tC,rC,b0]};function pV(e,t){return V0.usingClientEntryPoint||c('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),eV(e,t)}function hV(e,t,n){return V0.usingClientEntryPoint||c('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rV(e,t,n)}function mV(e){return Q4()&&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."),tu(e)}var vV=ZU({findFiberByHostInstance:Pc,bundleType:1,version:I0,rendererPackageName:"react-dom"});if(!vV&&yt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var qk=window.location.protocol;/^(https?|file):$/.test(qk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(qk==="file:"?`
145
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Uo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V0,Uo.createPortal=fV,Uo.createRoot=pV,Uo.findDOMNode=iV,Uo.flushSync=mV,Uo.hydrate=lV,Uo.hydrateRoot=hV,Uo.render=sV,Uo.unmountComponentAtNode=cV,Uo.unstable_batchedUpdates=b0,Uo.unstable_renderSubtreeIntoContainer=dV,Uo.version=I0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var W0=Ve((X$,Jk)=>{"use strict";Jk.exports=Qk()});var Zk=Ve(Y0=>{"use strict";var q0=W0();jh=q0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y0.createRoot=function(r,a){jh.usingClientEntryPoint=!0;try{return q0.createRoot(r,a)}finally{jh.usingClientEntryPoint=!1}},Y0.hydrateRoot=function(r,a,o){jh.usingClientEntryPoint=!0;try{return q0.hydrateRoot(r,a,o)}finally{jh.usingClientEntryPoint=!1}};var jh});var n2=Ve(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});function Ir(){return Ir=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Ir.apply(this,arguments)}var Ia=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),eT="popstate";function TV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,k)=>g(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),c=Ia.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function m(){return s[f]}function g(w,k,L){k===void 0&&(k=null);let M=ou(s?m().pathname:"/",w,k,L);return Ss(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function b(w){return typeof w=="string"?w:ws(w)}return{get index(){return f},get action(){return c},get location(){return m()},createHref:b,createURL(w){return new URL(b(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?$l(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){c=Ia.Push;let L=g(w,k);f+=1,s.splice(f,s.length,L),l&&h&&h({action:c,location:L,delta:1})},replace(w,k){c=Ia.Replace;let L=g(w,k);s[f]=L,l&&h&&h({action:c,location:L,delta:0})},go(w){c=Ia.Pop;let k=p(f+w),L=s[k];f=k,h&&h({action:c,location:L,delta:w})},listen(w){return h=w,()=>{h=null}}}}function EV(r){r===void 0&&(r={});function a(l,s){let{pathname:f,search:c,hash:h}=l.location;return ou("",{pathname:f,search:c,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:ws(s)}return vT(a,o,null,r)}function RV(r){r===void 0&&(r={});function a(s,f){let{pathname:c="/",search:h="",hash:p=""}=$l(s.location.hash.substr(1));return!c.startsWith("/")&&!c.startsWith(".")&&(c="/"+c),ou("",{pathname:c,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(s,f){let c=s.document.querySelector("base"),h="";if(c&&c.getAttribute("href")){let p=s.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:ws(f))}function l(s,f){Ss(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return vT(a,o,l,r)}function Nr(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Ss(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function DV(){return Math.random().toString(36).substr(2,8)}function tT(r,a){return{usr:r.state,key:r.key,idx:a}}function ou(r,a,o,l){return o===void 0&&(o=null),Ir({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?$l(a):a,{state:o,key:a&&a.key||l||DV()})}function ws(r){let{pathname:a="/",search:o="",hash:l=""}=r;return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function $l(r){let a={};if(r){let o=r.indexOf("#");o>=0&&(a.hash=r.substr(o),r=r.substr(0,o));let l=r.indexOf("?");l>=0&&(a.search=r.substr(l),r=r.substr(0,l)),r&&(a.pathname=r)}return a}function vT(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:f=!1}=l,c=s.history,h=Ia.Pop,p=null,m=g();m==null&&(m=0,c.replaceState(Ir({},c.state,{idx:m}),""));function g(){return(c.state||{idx:null}).idx}function b(){h=Ia.Pop;let M=g(),Y=M==null?null:M-m;m=M,p&&p({action:h,location:L.location,delta:Y})}function S(M,Y){h=Ia.Push;let O=ou(L.location,M,Y);o&&o(O,M),m=g()+1;let j=tT(O,m),F=L.createHref(O);try{c.pushState(j,"",F)}catch(J){if(J instanceof DOMException&&J.name==="DataCloneError")throw J;s.location.assign(F)}f&&p&&p({action:h,location:L.location,delta:1})}function w(M,Y){h=Ia.Replace;let O=ou(L.location,M,Y);o&&o(O,M),m=g();let j=tT(O,m),F=L.createHref(O);c.replaceState(j,"",F),f&&p&&p({action:h,location:L.location,delta:0})}function k(M){let Y=s.location.origin!=="null"?s.location.origin:s.location.href,O=typeof M=="string"?M:ws(M);return O=O.replace(/ $/,"%20"),Nr(Y,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,Y)}let L={get action(){return h},get location(){return r(s,c)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(eT,b),p=M,()=>{s.removeEventListener(eT,b),p=null}},createHref(M){return a(s,M)},createURL:k,encodeLocation(M){let Y=k(M);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:w,go(M){return c.go(M)}};return L}var Vr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),AV=new Set(["lazy","caseSensitive","path","id","index","children"]);function LV(r){return r.index===!0}function Zc(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,f)=>{let c=[...o,String(f)],h=typeof s.id=="string"?s.id:c.join("-");if(Nr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Nr(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),LV(s)){let p=Ir({},s,a(s),{id:h});return l[h]=p,p}else{let p=Ir({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=Zc(s.children,a,c,l)),p}})}function nu(r,a,o){return o===void 0&&(o="/"),A_(r,a,o,!1)}function A_(r,a,o,l){let s=typeof a=="string"?$l(a):a,f=Vh(s.pathname||"/",o);if(f==null)return null;let c=gT(r);NV(c);let h=null;for(let p=0;h==null&&p<c.length;++p){let m=yT(f);h=HV(c[p],m,l)}return h}function _T(r,a){let{route:o,pathname:l,params:s}=r;return{id:o.id,pathname:l,params:s,data:a[o.id],handle:o.handle}}function gT(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(f,c,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:c,route:f};p.relativePath.startsWith("/")&&(Nr(p.relativePath.startsWith(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let m=Dd([l,p.relativePath]),g=o.concat(p);f.children&&f.children.length>0&&(Nr(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),gT(f.children,a,g,m)),!(f.path==null&&!f.index)&&a.push({path:m,score:FV(m,f.index),routesMeta:g})};return r.forEach((f,c)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,c);else for(let p of bT(f.path))s(f,c,p)}),a}function bT(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return s?[f,""]:[f];let c=bT(l.join("/")),h=[];return h.push(...c.map(p=>p===""?f:[f,p].join("/"))),s&&h.push(...c),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function NV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:jV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var OV=/^:[\w-]+$/,MV=3,PV=2,IV=1,zV=10,BV=-2,rT=r=>r==="*";function FV(r,a){let o=r.split("/"),l=o.length;return o.some(rT)&&(l+=BV),a&&(l+=PV),o.filter(s=>!rT(s)).reduce((s,f)=>s+(OV.test(f)?MV:f===""?IV:zV),l)}function jV(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 HV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},f="/",c=[];for(let h=0;h<l.length;++h){let p=l[h],m=h===l.length-1,g=f==="/"?a:a.slice(f.length)||"/",b=K0({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),S=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=K0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(s,b.params),c.push({params:s,pathname:Dd([f,b.pathname]),pathnameBase:kT(Dd([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Dd([f,b.pathnameBase]))}return c}function UV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Ss(!1,'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".')),o=o.replace(/\*$/,"/*"));let l=o.startsWith("/")?"/":"",s=c=>c==null?"":typeof c=="string"?c:String(c),f=o.split(/\/+/).map((c,h,p)=>{if(h===p.length-1&&c==="*")return s(a["*"]);let g=c.match(/^:([\w-]+)(\??)$/);if(g){let[,b,S]=g,w=a[b];return Nr(S==="?"||w!=null,'Missing ":'+b+'" param'),s(w)}return c.replace(/\?$/g,"")}).filter(c=>!!c);return l+f.join("/")}function K0(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=VV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let f=s[0],c=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((m,g,b)=>{let{paramName:S,isOptional:w}=g;if(S==="*"){let L=h[b]||"";c=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return w&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:c,pattern:r}}function VV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Ss(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let l=[],s="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function yT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ss(!1,'The URL path "'+r+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),r}}function Vh(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let o=a.endsWith("/")?a.length-1:a.length,l=r.charAt(o);return l&&l!=="/"?null:r.slice(o)||"/"}function ST(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?$l(r):r;return{pathname:o?o.startsWith("/")?o:WV(o,a):a,search:YV(l),hash:$V(s)}}function WV(r,a){let o=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function $0(r,a,o,l){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function wT(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function CT(r,a){let o=wT(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function xT(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=$l(r):(s=Ir({},r),Nr(!s.pathname||!s.pathname.includes("?"),$0("?","pathname","search",s)),Nr(!s.pathname||!s.pathname.includes("#"),$0("#","pathname","hash",s)),Nr(!s.search||!s.search.includes("#"),$0("#","search","hash",s)));let f=r===""||s.pathname==="",c=f?"/":s.pathname,h;if(c==null)h=o;else{let b=a.length-1;if(!l&&c.startsWith("..")){let S=c.split("/");for(;S[0]==="..";)S.shift(),b-=1;s.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=ST(s,h),m=c&&c!=="/"&&c.endsWith("/"),g=(f||c===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function qV(r){return r===""||r.pathname===""?"/":typeof r=="string"?$l(r).pathname:r.pathname}var Dd=r=>r.join("/").replace(/\/\/+/g,"/"),kT=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),YV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,$V=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,GV=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Ir({},l,{headers:s}))},X0=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function KV(r,a){return new X0(r,typeof a=="number"?{status:a}:a)}var Uh=class extends Error{},N_=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Nr(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((f,c)=>l=c),this.controller=new AbortController;let s=()=>l(new Uh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((f,c)=>{let[h,p]=c;return Object.assign(f,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Uh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let f=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>f}),this.emit(!1,o),Promise.reject(f)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return na(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(f=>{a.removeEventListener("abort",l),(f||this.done)&&s(f)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Nr(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((a,o)=>{let[l,s]=o;return Object.assign(a,{[l]:QV(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function XV(r){return r instanceof Promise&&r._tracked===!0}function QV(r){if(!XV(r))return r;if(r._error)throw r._error;return r._data}var JV=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new N_(a,l)},t2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Ir({},l,{headers:s}))},ZV=(r,a)=>{let o=t2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},eW=(r,a)=>{let o=t2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ad=class{constructor(a,o,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=o||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function Ld(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var TT=["post","put","patch","delete"],tW=new Set(TT),rW=["get",...TT],aW=new Set(rW),nW=new Set([301,302,303,307,308]),oW=new Set([307,308]),L_={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ET={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Rd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},r2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,RT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),DT="remix-router-transitions";function iW(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,o=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",l=!o;Nr(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(r.mapRouteProperties)s=r.mapRouteProperties;else if(r.detectErrorBoundary){let I=r.detectErrorBoundary;s=V=>({hasErrorBoundary:I(V)})}else s=RT;let f={},c=Zc(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||MT,g=r.unstable_patchRoutesOnMiss,b=Ir({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,w=new Set,k=null,L=null,M=null,Y=r.hydrationData!=null,O=nu(c,r.history.location,p),j=null;if(O==null&&!g){let I=Ca(404,{pathname:r.history.location.pathname}),{matches:V,route:re}=O_(c);O=V,j={[re.id]:I}}O&&!r.hydrationData&&Me(O,c,r.history.location.pathname).active&&(O=null);let F;if(O)if(O.some(I=>I.route.lazy))F=!1;else if(!O.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,re=se=>se.route.loader?typeof se.route.loader=="function"&&se.route.loader.hydrate===!0?!1:I&&I[se.route.id]!==void 0||V&&V[se.route.id]!==void 0:!0;if(V){let se=O.findIndex(We=>V[We.route.id]!==void 0);F=O.slice(0,se+1).every(re)}else F=O.every(re)}else F=r.hydrationData!=null;else if(F=!1,O=[],b.v7_partialHydration){let I=Me(null,c,r.history.location.pathname);I.active&&I.matches&&(O=I.matches)}let J,N={historyAction:r.history.action,location:r.history.location,matches:O,initialized:F,navigation:L_,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||j,fetchers:new Map,blockers:new Map},te=Ia.Pop,_e=!1,ae,ye=!1,Se=new Map,ge=null,H=!1,le=!1,fe=[],B=new Set,W=new Map,ne=0,ee=-1,de=new Map,ke=new Set,be=new Map,Pe=new Map,qe=new Set,He=new Map,at=new Map,Tt=new Map,ft=!1;function wt(){if(S=r.history.listen(I=>{let{action:V,location:re,delta:se}=I;if(ft){ft=!1;return}Ss(at.size===0||se!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let We=P({currentLocation:N.location,nextLocation:re,historyAction:V});if(We&&se!=null){ft=!0,r.history.go(se*-1),$(We,{state:"blocked",location:re,proceed(){$(We,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),r.history.go(se)},reset(){let Fe=new Map(N.blockers);Fe.set(We,Rd),we({blockers:Fe})}});return}return Ht(V,re)}),o){bW(a,Se);let I=()=>yW(a,Se);a.addEventListener("pagehide",I),ge=()=>a.removeEventListener("pagehide",I)}return N.initialized||Ht(Ia.Pop,N.location,{initialHydration:!0}),J}function vt(){S&&S(),ge&&ge(),w.clear(),ae&&ae.abort(),N.fetchers.forEach((I,V)=>Be(V)),N.blockers.forEach((I,V)=>Yr(V))}function tt(I){return w.add(I),()=>w.delete(I)}function we(I,V){V===void 0&&(V={}),N=Ir({},N,I);let re=[],se=[];b.v7_fetcherPersist&&N.fetchers.forEach((We,Fe)=>{We.state==="idle"&&(qe.has(Fe)?se.push(Fe):re.push(Fe))}),[...w].forEach(We=>We(N,{deletedFetchers:se,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(re.forEach(We=>N.fetchers.delete(We)),se.forEach(We=>Be(We)))}function yt(I,V,re){var se,We;let{flushSync:Fe}=re===void 0?{}:re,D=N.actionData!=null&&N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&N.navigation.state==="loading"&&((se=I.state)==null?void 0:se._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=N.actionData:q=null;let pe=V.loaderData?fT(N.loaderData,V.loaderData,V.matches||[],V.errors):N.loaderData,Te=N.blockers;Te.size>0&&(Te=new Map(Te),Te.forEach((Je,Ke)=>Te.set(Ke,Rd)));let Ue=_e===!0||N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&((We=I.state)==null?void 0:We._isRedirect)!==!0;h&&(c=h,h=void 0),H||te===Ia.Pop||(te===Ia.Push?r.history.push(I,I.state):te===Ia.Replace&&r.history.replace(I,I.state));let st;if(te===Ia.Pop){let Je=Se.get(N.location.pathname);Je&&Je.has(I.pathname)?st={currentLocation:N.location,nextLocation:I}:Se.has(I.pathname)&&(st={currentLocation:I,nextLocation:N.location})}else if(ye){let Je=Se.get(N.location.pathname);Je?Je.add(I.pathname):(Je=new Set([I.pathname]),Se.set(N.location.pathname,Je)),st={currentLocation:N.location,nextLocation:I}}we(Ir({},V,{actionData:q,loaderData:pe,historyAction:te,location:I,initialized:!0,navigation:L_,revalidation:"idle",restoreScrollPosition:Ie(I,V.matches||N.matches),preventScrollReset:Ue,blockers:Te}),{viewTransitionOpts:st,flushSync:Fe===!0}),te=Ia.Pop,_e=!1,ye=!1,H=!1,le=!1,fe=[]}function Lt(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let re=Q0(N.location,N.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:se,submission:We,error:Fe}=nT(b.v7_normalizeFormMethod,!1,re,V),D=N.location,q=ou(N.location,se,V&&V.state);q=Ir({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,Te=Ia.Push;pe===!0?Te=Ia.Replace:pe===!1||We!=null&&Cl(We.formMethod)&&We.formAction===N.location.pathname+N.location.search&&(Te=Ia.Replace);let Ue=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,st=(V&&V.unstable_flushSync)===!0,Je=P({currentLocation:D,nextLocation:q,historyAction:Te});if(Je){$(Je,{state:"blocked",location:q,proceed(){$(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),Lt(I,V)},reset(){let Ke=new Map(N.blockers);Ke.set(Je,Rd),we({blockers:Ke})}});return}return yield Ht(Te,q,{submission:We,pendingError:Fe,preventScrollReset:Ue,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:st})})}function Ft(){if(yr(),we({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){Ht(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}Ht(te||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function Ht(I,V,re){return na(this,null,function*(){ae&&ae.abort(),ae=null,te=I,H=(re&&re.startUninterruptedRevalidation)===!0,Oe(N.location,N.matches),_e=(re&&re.preventScrollReset)===!0,ye=(re&&re.enableViewTransition)===!0;let se=h||c,We=re&&re.overrideNavigation,Fe=nu(se,V,p),D=(re&&re.flushSync)===!0,q=Me(Fe,se,V.pathname);if(q.active&&q.matches&&(Fe=q.matches),!Fe){let{error:Ct,notFoundMatches:kt,route:Vt}=R(V.pathname);yt(V,{matches:kt,loaderData:{},errors:{[Vt.id]:Ct}},{flushSync:D});return}if(N.initialized&&!le&&pW(N.location,V)&&!(re&&re.submission&&Cl(re.submission.formMethod))){yt(V,{matches:Fe},{flushSync:D});return}ae=new AbortController;let pe=Ed(r.history,V,ae.signal,re&&re.submission),Te;if(re&&re.pendingError)Te=[Qc(Fe).route.id,{type:Vr.error,error:re.pendingError}];else if(re&&re.submission&&Cl(re.submission.formMethod)){let Ct=yield er(pe,V,re.submission,Fe,q.active,{replace:re.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[kt,Vt]=Ct.pendingActionResult;if(On(Vt)&&Ld(Vt.error)&&Vt.error.status===404){ae=null,yt(V,{matches:Ct.matches,loaderData:{},errors:{[kt]:Vt.error}});return}}Fe=Ct.matches||Fe,Te=Ct.pendingActionResult,We=G0(V,re.submission),D=!1,q.active=!1,pe=Ed(r.history,pe.url,pe.signal)}let{shortCircuited:Ue,matches:st,loaderData:Je,errors:Ke}=yield sr(pe,V,Fe,q.active,We,re&&re.submission,re&&re.fetcherSubmission,re&&re.replace,re&&re.initialHydration===!0,D,Te);Ue||(ae=null,yt(V,Ir({matches:st||Fe},dT(Te),{loaderData:Je,errors:Ke})))})}function er(I,V,re,se,We,Fe){return na(this,null,function*(){Fe===void 0&&(Fe={}),yr();let D=_W(V,re);if(we({navigation:D},{flushSync:Fe.flushSync===!0}),We){let Te=yield Ye(se,V.pathname,I.signal);if(Te.type==="aborted")return{shortCircuited:!0};if(Te.type==="error"){let{boundaryId:Ue,error:st}=z(V.pathname,Te);return{matches:Te.partialMatches,pendingActionResult:[Ue,{type:Vr.error,error:st}]}}else if(Te.matches)se=Te.matches;else{let{notFoundMatches:Ue,error:st,route:Je}=R(V.pathname);return{matches:Ue,pendingActionResult:[Je.id,{type:Vr.error,error:st}]}}}let q,pe=Jc(se,V);if(!pe.route.action&&!pe.route.lazy)q={type:Vr.error,error:Ca(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield xr("action",I,[pe],se))[0],I.signal.aborted)return{shortCircuited:!0};if(rc(q)){let Te;return Fe&&Fe.replace!=null?Te=Fe.replace:Te=sT(q.response.headers.get("Location"),new URL(I.url),p)===N.location.pathname+N.location.search,yield Dr(I,q,{submission:re,replace:Te}),{shortCircuited:!0}}if(tc(q))throw Ca(400,{type:"defer-action"});if(On(q)){let Te=Qc(se,pe.route.id);return(Fe&&Fe.replace)!==!0&&(te=Ia.Push),{matches:se,pendingActionResult:[Te.route.id,q]}}return{matches:se,pendingActionResult:[pe.route.id,q]}})}function sr(I,V,re,se,We,Fe,D,q,pe,Te,Ue){return na(this,null,function*(){let st=We||G0(V,Fe),Je=Fe||D||mT(st),Ke=!H&&(!b.v7_partialHydration||!pe);if(se){if(Ke){let aa=Cr(Ue);we(Ir({navigation:st},aa!==void 0?{actionData:aa}:{}),{flushSync:Te})}let Qt=yield Ye(re,V.pathname,I.signal);if(Qt.type==="aborted")return{shortCircuited:!0};if(Qt.type==="error"){let{boundaryId:aa,error:Za}=z(V.pathname,Qt);return{matches:Qt.partialMatches,loaderData:{},errors:{[aa]:Za}}}else if(Qt.matches)re=Qt.matches;else{let{error:aa,notFoundMatches:Za,route:Gr}=R(V.pathname);return{matches:Za,loaderData:{},errors:{[Gr.id]:aa}}}}let Ct=h||c,[kt,Vt]=oT(r.history,N,re,Je,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,fe,B,qe,be,ke,Ct,p,Ue);if(G(Qt=>!(re&&re.some(aa=>aa.route.id===Qt))||kt&&kt.some(aa=>aa.route.id===Qt)),ee=++ne,kt.length===0&&Vt.length===0){let Qt=Ut();return yt(V,Ir({matches:re,loaderData:{},errors:Ue&&On(Ue[1])?{[Ue[0]]:Ue[1].error}:null},dT(Ue),Qt?{fetchers:new Map(N.fetchers)}:{}),{flushSync:Te}),{shortCircuited:!0}}if(Ke){let Qt={};if(!se){Qt.navigation=st;let aa=Cr(Ue);aa!==void 0&&(Qt.actionData=aa)}Vt.length>0&&(Qt.fetchers=ra(Vt)),we(Qt,{flushSync:Te})}Vt.forEach(Qt=>{W.has(Qt.key)&&gt(Qt.key),Qt.controller&&W.set(Qt.key,Qt.controller)});let $r=()=>Vt.forEach(Qt=>gt(Qt.key));ae&&ae.signal.addEventListener("abort",$r);let{loaderResults:Ha,fetcherResults:la}=yield ha(N.matches,re,kt,Vt,I);if(I.signal.aborted)return{shortCircuited:!0};ae&&ae.signal.removeEventListener("abort",$r),Vt.forEach(Qt=>W.delete(Qt.key));let sa=pT([...Ha,...la]);if(sa){if(sa.idx>=kt.length){let Qt=Vt[sa.idx-kt.length].key;ke.add(Qt)}return yield Dr(I,sa.result,{replace:q}),{shortCircuited:!0}}let{loaderData:Ga,errors:Nt}=cT(N,re,kt,Ha,Ue,Vt,la,He);He.forEach((Qt,aa)=>{Qt.subscribe(Za=>{(Za||Qt.done)&&He.delete(aa)})}),b.v7_partialHydration&&pe&&N.errors&&Object.entries(N.errors).filter(Qt=>{let[aa]=Qt;return!kt.some(Za=>Za.route.id===aa)}).forEach(Qt=>{let[aa,Za]=Qt;Nt=Object.assign(Nt||{},{[aa]:Za})});let qn=Ut(),is=kr(ee),ls=qn||is||Vt.length>0;return Ir({matches:re,loaderData:Ga,errors:Nt},ls?{fetchers:new Map(N.fetchers)}:{})})}function Cr(I){if(I&&!On(I[1]))return{[I[0]]:I[1].data};if(N.actionData)return Object.keys(N.actionData).length===0?null:N.actionData}function ra(I){return I.forEach(V=>{let re=N.fetchers.get(V.key),se=Hh(void 0,re?re.data:void 0);N.fetchers.set(V.key,se)}),new Map(N.fetchers)}function jr(I,V,re,se){if(l)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");W.has(I)&&gt(I);let We=(se&&se.unstable_flushSync)===!0,Fe=h||c,D=Q0(N.location,N.matches,p,b.v7_prependBasename,re,b.v7_relativeSplatPath,V,se==null?void 0:se.relative),q=nu(Fe,D,p),pe=Me(q,Fe,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Mr(I,V,Ca(404,{pathname:D}),{flushSync:We});return}let{path:Te,submission:Ue,error:st}=nT(b.v7_normalizeFormMethod,!0,D,se);if(st){Mr(I,V,st,{flushSync:We});return}let Je=Jc(q,Te);if(_e=(se&&se.preventScrollReset)===!0,Ue&&Cl(Ue.formMethod)){qr(I,V,Te,Je,q,pe.active,We,Ue);return}be.set(I,{routeId:V,path:Te}),ur(I,V,Te,Je,q,pe.active,We,Ue)}function qr(I,V,re,se,We,Fe,D,q){return na(this,null,function*(){yr(),be.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let Yn=Ca(405,{method:q.formMethod,pathname:re,routeId:V});return Mr(I,V,Yn,{flushSync:D}),!0}return!1}if(!Fe&&pe(se))return;let Te=N.fetchers.get(I);hr(I,gW(q,Te),{flushSync:D});let Ue=new AbortController,st=Ed(r.history,re,Ue.signal,q);if(Fe){let Gr=yield Ye(We,re,st.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:Yn}=z(re,Gr);Mr(I,V,Yn,{flushSync:D});return}else if(Gr.matches){if(We=Gr.matches,se=Jc(We,re),pe(se))return}else{Mr(I,V,Ca(404,{pathname:re}),{flushSync:D});return}}W.set(I,Ue);let Je=ne,Ct=(yield xr("action",st,[se],We))[0];if(st.signal.aborted){W.get(I)===Ue&&W.delete(I);return}if(b.v7_fetcherPersist&&qe.has(I)){if(rc(Ct)||On(Ct)){hr(I,Zu(void 0));return}}else{if(rc(Ct))if(W.delete(I),ee>Je){hr(I,Zu(void 0));return}else return ke.add(I),hr(I,Hh(q)),Dr(st,Ct,{fetcherSubmission:q});if(On(Ct)){Mr(I,V,Ct.error);return}}if(tc(Ct))throw Ca(400,{type:"defer-action"});let kt=N.navigation.location||N.location,Vt=Ed(r.history,kt,Ue.signal),$r=h||c,Ha=N.navigation.state!=="idle"?nu($r,N.navigation.location,p):N.matches;Nr(Ha,"Didn't find any matches after fetcher action");let la=++ne;de.set(I,la);let sa=Hh(q,Ct.data);N.fetchers.set(I,sa);let[Ga,Nt]=oT(r.history,N,Ha,q,kt,!1,b.v7_skipActionErrorRevalidation,le,fe,B,qe,be,ke,$r,p,[se.route.id,Ct]);Nt.filter(Gr=>Gr.key!==I).forEach(Gr=>{let Yn=Gr.key,bc=N.fetchers.get(Yn),ap=Hh(void 0,bc?bc.data:void 0);N.fetchers.set(Yn,ap),W.has(Yn)&&gt(Yn),Gr.controller&&W.set(Yn,Gr.controller)}),we({fetchers:new Map(N.fetchers)});let qn=()=>Nt.forEach(Gr=>gt(Gr.key));Ue.signal.addEventListener("abort",qn);let{loaderResults:is,fetcherResults:ls}=yield ha(N.matches,Ha,Ga,Nt,Vt);if(Ue.signal.aborted)return;Ue.signal.removeEventListener("abort",qn),de.delete(I),W.delete(I),Nt.forEach(Gr=>W.delete(Gr.key));let Qt=pT([...is,...ls]);if(Qt){if(Qt.idx>=Ga.length){let Gr=Nt[Qt.idx-Ga.length].key;ke.add(Gr)}return Dr(Vt,Qt.result)}let{loaderData:aa,errors:Za}=cT(N,N.matches,Ga,is,void 0,Nt,ls,He);if(N.fetchers.has(I)){let Gr=Zu(Ct.data);N.fetchers.set(I,Gr)}kr(la),N.navigation.state==="loading"&&la>ee?(Nr(te,"Expected pending action"),ae&&ae.abort(),yt(N.navigation.location,{matches:Ha,loaderData:aa,errors:Za,fetchers:new Map(N.fetchers)})):(we({errors:Za,loaderData:fT(N.loaderData,aa,Ha,Za),fetchers:new Map(N.fetchers)}),le=!1)})}function ur(I,V,re,se,We,Fe,D,q){return na(this,null,function*(){let pe=N.fetchers.get(I);hr(I,Hh(q,pe?pe.data:void 0),{flushSync:D});let Te=new AbortController,Ue=Ed(r.history,re,Te.signal);if(Fe){let Ct=yield Ye(We,re,Ue.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:kt}=z(re,Ct);Mr(I,V,kt,{flushSync:D});return}else if(Ct.matches)We=Ct.matches,se=Jc(We,re);else{Mr(I,V,Ca(404,{pathname:re}),{flushSync:D});return}}W.set(I,Te);let st=ne,Ke=(yield xr("loader",Ue,[se],We))[0];if(tc(Ke)&&(Ke=(yield UT(Ke,Ue.signal,!0))||Ke),W.get(I)===Te&&W.delete(I),!Ue.signal.aborted){if(qe.has(I)){hr(I,Zu(void 0));return}if(rc(Ke))if(ee>st){hr(I,Zu(void 0));return}else{ke.add(I),yield Dr(Ue,Ke);return}if(On(Ke)){Mr(I,V,Ke.error);return}Nr(!tc(Ke),"Unhandled fetcher deferred data"),hr(I,Zu(Ke.data))}})}function Dr(I,V,re){return na(this,null,function*(){let{submission:se,fetcherSubmission:We,replace:Fe}=re===void 0?{}:re;V.response.headers.has("X-Remix-Revalidate")&&(le=!0);let D=V.response.headers.get("Location");Nr(D,"Expected a Location header on the redirect Response"),D=sT(D,new URL(I.url),p);let q=ou(N.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(r2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||Vh(Ct.pathname,p)==null}if(Ke){Fe?a.location.replace(D):a.location.assign(D);return}}ae=null;let pe=Fe===!0||V.response.headers.has("X-Remix-Replace")?Ia.Replace:Ia.Push,{formMethod:Te,formAction:Ue,formEncType:st}=N.navigation;!se&&!We&&Te&&Ue&&st&&(se=mT(N.navigation));let Je=se||We;if(oW.has(V.response.status)&&Je&&Cl(Je.formMethod))yield Ht(pe,q,{submission:Ir({},Je,{formAction:D}),preventScrollReset:_e});else{let Ke=G0(q,se);yield Ht(pe,q,{overrideNavigation:Ke,fetcherSubmission:We,preventScrollReset:_e})}})}function xr(I,V,re,se){return na(this,null,function*(){try{let We=yield PT(m,I,V,re,se,f,s);return yield Promise.all(We.map((Fe,D)=>{if(jT(Fe)){let q=Fe.result;return{type:Vr.redirect,response:zT(q,V,re[D].route.id,se,p,b.v7_relativeSplatPath)}}return IT(Fe)}))}catch(We){return re.map(()=>({type:Vr.error,error:We}))}})}function ha(I,V,re,se,We){return na(this,null,function*(){let[Fe,...D]=yield Promise.all([re.length?xr("loader",We,re,V):[],...se.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Ed(r.history,q.path,q.controller.signal);return xr("loader",pe,[q.match],q.matches).then(Te=>Te[0])}else return Promise.resolve({type:Vr.error,error:Ca(404,{pathname:q.path})})})]);return yield Promise.all([hT(I,re,Fe,Fe.map(()=>We.signal),!1,N.loaderData),hT(I,se.map(q=>q.match),D,se.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:D}})}function yr(){le=!0,fe.push(...G()),be.forEach((I,V)=>{W.has(V)&&(B.add(V),gt(V))})}function hr(I,V,re){re===void 0&&(re={}),N.fetchers.set(I,V),we({fetchers:new Map(N.fetchers)},{flushSync:(re&&re.flushSync)===!0})}function Mr(I,V,re,se){se===void 0&&(se={});let We=Qc(N.matches,V);Be(I),we({errors:{[We.route.id]:re},fetchers:new Map(N.fetchers)},{flushSync:(se&&se.flushSync)===!0})}function _a(I){return b.v7_fetcherPersist&&(Pe.set(I,(Pe.get(I)||0)+1),qe.has(I)&&qe.delete(I)),N.fetchers.get(I)||ET}function Be(I){let V=N.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&de.has(I))&&gt(I),be.delete(I),de.delete(I),ke.delete(I),qe.delete(I),B.delete(I),N.fetchers.delete(I)}function it(I){if(b.v7_fetcherPersist){let V=(Pe.get(I)||0)-1;V<=0?(Pe.delete(I),qe.add(I)):Pe.set(I,V)}else Be(I);we({fetchers:new Map(N.fetchers)})}function gt(I){let V=W.get(I);Nr(V,"Expected fetch controller: "+I),V.abort(),W.delete(I)}function $t(I){for(let V of I){let re=_a(V),se=Zu(re.data);N.fetchers.set(V,se)}}function Ut(){let I=[],V=!1;for(let re of ke){let se=N.fetchers.get(re);Nr(se,"Expected fetcher: "+re),se.state==="loading"&&(ke.delete(re),I.push(re),V=!0)}return $t(I),V}function kr(I){let V=[];for(let[re,se]of de)if(se<I){let We=N.fetchers.get(re);Nr(We,"Expected fetcher: "+re),We.state==="loading"&&(gt(re),de.delete(re),V.push(re))}return $t(V),V.length>0}function mr(I,V){let re=N.blockers.get(I)||Rd;return at.get(I)!==V&&at.set(I,V),re}function Yr(I){N.blockers.delete(I),at.delete(I)}function $(I,V){let re=N.blockers.get(I)||Rd;Nr(re.state==="unblocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="blocked"||re.state==="blocked"&&V.state==="proceeding"||re.state==="blocked"&&V.state==="unblocked"||re.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+re.state+" -> "+V.state);let se=new Map(N.blockers);se.set(I,V),we({blockers:se})}function P(I){let{currentLocation:V,nextLocation:re,historyAction:se}=I;if(at.size===0)return;at.size>1&&Ss(!1,"A router only supports one blocker at a time");let We=Array.from(at.entries()),[Fe,D]=We[We.length-1],q=N.blockers.get(Fe);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:re,historyAction:se}))return Fe}function R(I){let V=Ca(404,{pathname:I}),re=h||c,{matches:se,route:We}=O_(re);return G(),{notFoundMatches:se,route:We,error:V}}function z(I,V){return{boundaryId:Qc(V.partialMatches).route.id,error:Ca(400,{type:"route-discovery",pathname:I,message:V.error!=null&&"message"in V.error?V.error:String(V.error)})}}function G(I){let V=[];return He.forEach((re,se)=>{(!I||I(se))&&(re.cancel(),V.push(se),He.delete(se))}),V}function ie(I,V,re){if(k=I,M=V,L=re||null,!Y&&N.navigation===L_){Y=!0;let se=Ie(N.location,N.matches);se!=null&&we({restoreScrollPosition:se})}return()=>{k=null,M=null,L=null}}function oe(I,V){return L&&L(I,V.map(se=>_T(se,N.loaderData)))||I.key}function Oe(I,V){if(k&&M){let re=oe(I,V);k[re]=M()}}function Ie(I,V){if(k){let re=oe(I,V),se=k[re];if(typeof se=="number")return se}return null}function Me(I,V,re){if(g)if(I){let se=I[I.length-1].route;if(se.path&&(se.path==="*"||se.path.endsWith("/*")))return{active:!0,matches:A_(V,re,p,!0)}}else return{active:!0,matches:A_(V,re,p,!0)||[]};return{active:!1,matches:null}}function Ye(I,V,re){return na(this,null,function*(){let se=I,We=se.length>0?se[se.length-1].route:null;for(;;){let Fe=h==null,D=h||c;try{yield fW(g,V,se,D,f,s,Tt,re)}catch(Ue){return{type:"error",error:Ue,partialMatches:se}}finally{Fe&&(c=[...c])}if(re.aborted)return{type:"aborted"};let q=nu(D,V,p),pe=!1;if(q){let Ue=q[q.length-1].route;if(Ue.index)return{type:"success",matches:q};if(Ue.path&&Ue.path.length>0)if(Ue.path==="*")pe=!0;else return{type:"success",matches:q}}let Te=A_(D,V,p,!0);if(!Te||se.map(Ue=>Ue.route.id).join("-")===Te.map(Ue=>Ue.route.id).join("-"))return{type:"success",matches:pe?q:null};if(se=Te,We=se[se.length-1].route,We.path==="*")return{type:"success",matches:se}}})}function Ae(I){f={},h=Zc(I,s,void 0,f)}function Qe(I,V){let re=h==null;OT(I,V,h||c,f,s),re&&(c=[...c],we({}))}return J={get basename(){return p},get future(){return b},get state(){return N},get routes(){return c},get window(){return a},initialize:wt,subscribe:tt,enableScrollRestoration:ie,navigate:Lt,fetch:jr,revalidate:Ft,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:_a,deleteFetcher:it,dispose:vt,getBlocker:mr,deleteBlocker:Yr,patchRoutes:Qe,_internalFetchControllers:W,_internalActiveDeferreds:He,_internalSetRoutes:Ae},J}var AT=Symbol("deferred");function lW(r,a){Nr(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let o={},l=(a?a.basename:null)||"/",s;if(a!=null&&a.mapRouteProperties)s=a.mapRouteProperties;else if(a!=null&&a.detectErrorBoundary){let w=a.detectErrorBoundary;s=k=>({hasErrorBoundary:w(k)})}else s=RT;let f=Ir({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),c=Zc(r,s,void 0,o);function h(w,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=ou("",ws(O),null,"default"),J=nu(c,F,l);if(!e2(j)&&j!=="HEAD"){let te=Ca(405,{method:j}),{matches:_e,route:ae}=O_(c);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[ae.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!J){let te=Ca(404,{pathname:F.pathname}),{matches:_e,route:ae}=O_(c);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[ae.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let N=yield m(w,F,J,L,Y||null,M===!0,null);return ec(N)?N:Ir({location:F,basename:l},N)})}function p(w,k){return na(this,null,function*(){let{routeId:L,requestContext:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=ou("",ws(O),null,"default"),J=nu(c,F,l);if(!e2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw Ca(405,{method:j});if(!J)throw Ca(404,{pathname:F.pathname});let N=L?J.find(ye=>ye.route.id===L):Jc(J,F);if(L&&!N)throw Ca(403,{pathname:F.pathname,routeId:L});if(!N)throw Ca(404,{pathname:F.pathname});let te=yield m(w,F,J,M,Y||null,!1,N);if(ec(te))return te;let _e=te.errors?Object.values(te.errors)[0]:void 0;if(_e!==void 0)throw _e;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var ae;let ye=Object.values(te.loaderData)[0];return(ae=te.activeDeferreds)!=null&&ae[N.route.id]&&(ye[AT]=te.activeDeferreds[N.route.id]),ye}})}function m(w,k,L,M,Y,O,j){return na(this,null,function*(){Nr(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Cl(w.method.toLowerCase()))return yield g(w,L,j||Jc(L,k),M,Y,O,j!=null);let F=yield b(w,L,M,Y,O,j);return ec(F)?F:Ir({},F,{actionData:null,actionHeaders:{}})}catch(F){if(mW(F)&&ec(F.result)){if(F.type===Vr.error)throw F.result;return F.result}if(vW(F))return F;throw F}})}function g(w,k,L,M,Y,O,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let te=Ca(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:L.route.id});if(j)throw te;F={type:Vr.error,error:te}}else F=(yield S("action",w,[L],k,j,M,Y))[0],w.signal.aborted&&aT(w,j,f);if(rc(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(tc(F)){let te=Ca(400,{type:"defer-action"});if(j)throw te;F={type:Vr.error,error:te}}if(j){if(On(F))throw F.error;return{matches:[L],loaderData:{},actionData:{[L.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let J=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(On(F)){let te=O?L:Qc(k,L.route.id),_e=yield b(J,k,M,Y,O,null,[te.route.id,F]);return Ir({},_e,{statusCode:Ld(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Ir({},F.headers?{[L.route.id]:F.headers}:{})})}let N=yield b(J,k,M,Y,O,null);return Ir({},N,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(w,k,L,M,Y,O,j){return na(this,null,function*(){let F=O!=null;if(F&&!(O!=null&&O.route.loader)&&!(O!=null&&O.route.lazy))throw Ca(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:O==null?void 0:O.route.id});let N=(O?[O]:j&&On(j[1])?LT(k,j[0]):k).filter(Se=>Se.route.loader||Se.route.lazy);if(N.length===0)return{matches:k,loaderData:k.reduce((Se,ge)=>Object.assign(Se,{[ge.route.id]:null}),{}),errors:j&&On(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield S("loader",w,N,k,F,L,M);w.signal.aborted&&aT(w,F,f);let _e=new Map,ae=BT(k,N,te,j,_e,Y),ye=new Set(N.map(Se=>Se.route.id));return k.forEach(Se=>{ye.has(Se.route.id)||(ae.loaderData[Se.route.id]=null)}),Ir({},ae,{matches:k,activeDeferreds:_e.size>0?Object.fromEntries(_e.entries()):null})})}function S(w,k,L,M,Y,O,j){return na(this,null,function*(){let F=yield PT(j||MT,w,k,L,M,o,s,O);return yield Promise.all(F.map((J,N)=>{if(jT(J)){let te=J.result;throw zT(te,k,L[N].route.id,M,l,f.v7_relativeSplatPath)}if(ec(J.result)&&Y)throw J;return IT(J)}))})}return{dataRoutes:c,query:h,queryRoute:p}}function sW(r,a,o){return Ir({},a,{statusCode:Ld(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function aT(r,a,o){if(o.v7_throwAbortReason&&r.signal.reason!==void 0)throw r.signal.reason;let l=a?"queryRoute":"query";throw new Error(l+"() call aborted: "+r.method+" "+r.url)}function uW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function Q0(r,a,o,l,s,f,c,h){let p,m;if(c){p=[];for(let b of a)if(p.push(b),b.route.id===c){m=b;break}}else p=a,m=a[a.length-1];let g=xT(s||".",CT(p,f),Vh(r.pathname,o)||r.pathname,h==="path");return s==null&&(g.search=r.search,g.hash=r.hash),(s==null||s===""||s===".")&&m&&m.route.index&&!a2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Dd([o,g.pathname])),ws(g)}function nT(r,a,o,l){if(!l||!uW(l))return{path:o};if(l.formMethod&&!e2(l.formMethod))return{path:o,error:Ca(405,{method:l.formMethod})};let s=()=>({path:o,error:Ca(400,{type:"invalid-body"})}),f=l.formMethod||"get",c=r?f.toUpperCase():f.toLowerCase(),h=FT(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cl(c))return s();let S=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[L,M]=k;return""+w+L+"="+M+`
146
- `},""):String(l.body);return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:S}}}else if(l.formEncType==="application/json"){if(!Cl(c))return s();try{let S=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return s()}}}Nr(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=J0(l.formData),m=l.formData;else if(l.body instanceof FormData)p=J0(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=uT(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=uT(p)}catch(S){return s()}let g={formMethod:c,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Cl(g.formMethod))return{path:o,submission:g};let b=$l(o);return a&&b.search&&a2(b.search)&&p.append("index",""),b.search="?"+p,{path:ws(b),submission:g}}function LT(r,a){let o=r;if(a){let l=r.findIndex(s=>s.route.id===a);l>=0&&(o=r.slice(0,l))}return o}function oT(r,a,o,l,s,f,c,h,p,m,g,b,S,w,k,L){let M=L?On(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),O=r.createURL(s),j=L&&On(L[1])?L[0]:void 0,F=j?LT(o,j):o,J=L?L[1].statusCode:void 0,N=c&&J&&J>=400,te=F.filter((ae,ye)=>{let{route:Se}=ae;if(Se.lazy)return!0;if(Se.loader==null)return!1;if(f)return typeof Se.loader!="function"||Se.loader.hydrate?!0:a.loaderData[Se.id]===void 0&&(!a.errors||a.errors[Se.id]===void 0);if(cW(a.loaderData,a.matches[ye],ae)||p.some(le=>le===ae.route.id))return!0;let ge=a.matches[ye],H=ae;return iT(ae,Ir({currentUrl:Y,currentParams:ge.params,nextUrl:O,nextParams:H.params},l,{actionResult:M,actionStatus:J,defaultShouldRevalidate:N?!1:h||Y.pathname+Y.search===O.pathname+O.search||Y.search!==O.search||NT(ge,H)}))}),_e=[];return b.forEach((ae,ye)=>{if(f||!o.some(fe=>fe.route.id===ae.routeId)||g.has(ye))return;let Se=nu(w,ae.path,k);if(!Se){_e.push({key:ye,routeId:ae.routeId,path:ae.path,matches:null,match:null,controller:null});return}let ge=a.fetchers.get(ye),H=Jc(Se,ae.path),le=!1;S.has(ye)?le=!1:m.has(ye)?(m.delete(ye),le=!0):ge&&ge.state!=="idle"&&ge.data===void 0?le=h:le=iT(H,Ir({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:O,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:J,defaultShouldRevalidate:N?!1:h})),le&&_e.push({key:ye,routeId:ae.routeId,path:ae.path,matches:Se,match:H,controller:new AbortController})}),[te,_e]}function cW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function NT(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function iT(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function fW(r,a,o,l,s,f,c,h){return na(this,null,function*(){let p=[a,...o.map(m=>m.route.id)].join("-");try{let m=c.get(p);m||(m=r({path:a,matches:o,patch:(g,b)=>{h.aborted||OT(g,b,l,s,f)}}),c.set(p,m)),m&&hW(m)&&(yield m)}finally{c.delete(p)}})}function OT(r,a,o,l,s){if(r){var f;let c=l[r];Nr(c,"No route found to patch children into: routeId = "+r);let h=Zc(a,s,[r,"patch",String(((f=c.children)==null?void 0:f.length)||"0")],l);c.children?c.children.push(...h):c.children=h}else{let c=Zc(a,s,["patch",String(o.length||"0")],l);o.push(...c)}}function lT(r,a,o){return na(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Nr(s,"No route found in manifest");let f={};for(let c in l){let p=s[c]!==void 0&&c!=="hasErrorBoundary";Ss(!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&&!AV.has(c)&&(f[c]=l[c])}Object.assign(s,f),Object.assign(s,Ir({},a(s),{lazy:void 0}))})}function MT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function PT(r,a,o,l,s,f,c,h){return na(this,null,function*(){let p=l.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,g=yield r({matches:s.map(b=>{let S=p.has(b.route.id);return Ir({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?dW(a,o,b,f,c,k,h):Promise.resolve({type:Vr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(b=>Nr(m.has(b.route.id),'`match.resolve()` was not called for route id "'+b.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),g.filter((b,S)=>p.has(s[S].route.id))})}function dW(r,a,o,l,s,f,c){return na(this,null,function*(){let h,p,m=g=>{let b,S=new Promise((L,M)=>b=M);p=()=>b(),a.signal.addEventListener("abort",p);let w=L=>typeof g!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):g({request:a,params:o.params,context:c},...L!==void 0?[L]:[]),k;return f?k=f(L=>w(L)):k=na(this,null,function*(){try{return{type:"data",result:yield w()}}catch(L){return{type:"error",result:L}}}),Promise.race([k,S])};try{let g=o.route[r];if(o.route.lazy)if(g){let b,[S]=yield Promise.all([m(g).catch(w=>{b=w}),lT(o.route,s,l)]);if(b!==void 0)throw b;h=S}else if(yield lT(o.route,s,l),g=o.route[r],g)h=yield m(g);else if(r==="action"){let b=new URL(a.url),S=b.pathname+b.search;throw Ca(405,{method:a.method,pathname:S,routeId:o.route.id})}else return{type:Vr.data,result:void 0};else if(g)h=yield m(g);else{let b=new URL(a.url),S=b.pathname+b.search;throw Ca(404,{pathname:S})}Nr(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+o.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(g){return{type:Vr.error,result:g}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function IT(r){return na(this,null,function*(){let{result:a,type:o}=r;if(ec(a)){let m;try{let g=a.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?a.body==null?m=null:m=yield a.json():m=yield a.text()}catch(g){return{type:Vr.error,error:g}}return o===Vr.error?{type:Vr.error,error:new Ad(a.status,a.statusText,m),statusCode:a.status,headers:a.headers}:{type:Vr.data,data:m,statusCode:a.status,headers:a.headers}}if(o===Vr.error){if(Z0(a)){var l;if(a.data instanceof Error){var s;return{type:Vr.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Ad(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Ld(a)?a.status:void 0}}if(HT(a)){var f,c;return{type:Vr.deferred,deferredData:a,statusCode:(f=a.init)==null?void 0:f.status,headers:((c=a.init)==null?void 0:c.headers)&&new Headers(a.init.headers)}}if(Z0(a)){var h,p;return{type:Vr.data,data:a.data,statusCode:(h=a.init)==null?void 0:h.status,headers:(p=a.init)!=null&&p.headers?new Headers(a.init.headers):void 0}}return{type:Vr.data,data:a}})}function zT(r,a,o,l,s,f){let c=r.headers.get("Location");if(Nr(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!r2.test(c)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);c=Q0(new URL(a.url),h,s,!0,c,f),r.headers.set("Location",c)}return r}function sT(r,a,o){if(r2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),f=Vh(s.pathname,o)!=null;if(s.origin===a.origin&&f)return s.pathname+s.search+s.hash}return r}function Ed(r,a,o,l){let s=r.createURL(FT(a)).toString(),f={signal:o};if(l&&Cl(l.formMethod)){let{formMethod:c,formEncType:h}=l;f.method=c.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(l.json)):h==="text/plain"?f.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?f.body=J0(l.formData):f.body=l.formData}return new Request(s,f)}function J0(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function uT(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function BT(r,a,o,l,s,f){let c={},h=null,p,m=!1,g={},b=l&&On(l[1])?l[1].error:void 0;return o.forEach((S,w)=>{let k=a[w].route.id;if(Nr(!rc(S),"Cannot handle redirect results in processLoaderData"),On(S)){let L=S.error;if(b!==void 0&&(L=b,b=void 0),h=h||{},f)h[k]=L;else{let M=Qc(r,k);h[M.route.id]==null&&(h[M.route.id]=L)}c[k]=void 0,m||(m=!0,p=Ld(S.error)?S.error.status:500),S.headers&&(g[k]=S.headers)}else tc(S)?(s.set(k,S.deferredData),c[k]=S.deferredData.data,S.statusCode!=null&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers)):(c[k]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers))}),b!==void 0&&l&&(h={[l[0]]:b},c[l[0]]=void 0),{loaderData:c,errors:h,statusCode:p||200,loaderHeaders:g}}function cT(r,a,o,l,s,f,c,h){let{loaderData:p,errors:m}=BT(a,o,l,s,h,!1);for(let g=0;g<f.length;g++){let{key:b,match:S,controller:w}=f[g];Nr(c!==void 0&&c[g]!==void 0,"Did not find corresponding fetcher result");let k=c[g];if(!(w&&w.signal.aborted))if(On(k)){let L=Qc(r.matches,S==null?void 0:S.route.id);m&&m[L.route.id]||(m=Ir({},m,{[L.route.id]:k.error})),r.fetchers.delete(b)}else if(rc(k))Nr(!1,"Unhandled fetcher revalidation redirect");else if(tc(k))Nr(!1,"Unhandled fetcher deferred data");else{let L=Zu(k.data);r.fetchers.set(b,L)}}return{loaderData:p,errors:m}}function fT(r,a,o,l){let s=Ir({},a);for(let f of o){let c=f.route.id;if(a.hasOwnProperty(c)?a[c]!==void 0&&(s[c]=a[c]):r[c]!==void 0&&f.route.loader&&(s[c]=r[c]),l&&l.hasOwnProperty(c))break}return s}function dT(r){return r?On(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 O_(r){let a=r.length===1?r[0]:r.find(o=>o.index||!o.path||o.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function Ca(r,a){let{pathname:o,routeId:l,method:s,type:f,message:c}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",f==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
147
- `+c):s&&o&&l?p="You made a "+s+' request to "'+o+'" but '+('did not provide a `loader` for route "'+l+'", ')+"so there is no way to handle the request.":f==="defer-action"?p="defer() is not supported in actions":f==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+l+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",s&&o&&l?p="You made a "+s.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+l+'", ')+"so there is no way to handle the request.":s&&(p='Invalid request method "'+s.toUpperCase()+'"')),new Ad(r||500,h,new Error(p),!0)}function pT(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(rc(o))return{result:o,idx:a}}}function FT(r){let a=typeof r=="string"?$l(r):r;return ws(Ir({},a,{hash:""}))}function pW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function hW(r){return typeof r=="object"&&r!=null&&"then"in r}function mW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Vr.data||r.type===Vr.error)}function jT(r){return ec(r.result)&&nW.has(r.result.status)}function tc(r){return r.type===Vr.deferred}function On(r){return r.type===Vr.error}function rc(r){return(r&&r.type)===Vr.redirect}function Z0(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function HT(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 ec(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function vW(r){if(!ec(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function e2(r){return aW.has(r.toLowerCase())}function Cl(r){return tW.has(r.toLowerCase())}function hT(r,a,o,l,s,f){return na(this,null,function*(){for(let c=0;c<o.length;c++){let h=o[c],p=a[c];if(!p)continue;let m=r.find(b=>b.route.id===p.route.id),g=m!=null&&!NT(m,p)&&(f&&f[p.route.id])!==void 0;if(tc(h)&&(s||g)){let b=l[c];Nr(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield UT(h,b,s).then(S=>{S&&(o[c]=S||o[c])})}}})}function UT(r,a,o){return na(this,null,function*(){if(o===void 0&&(o=!1),!(yield r.deferredData.resolveData(a))){if(o)try{return{type:Vr.data,data:r.deferredData.unwrappedData}}catch(s){return{type:Vr.error,error:s}}return{type:Vr.data,data:r.deferredData.data}}})}function a2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function Jc(r,a){let o=typeof a=="string"?$l(a).search:a.search;if(r[r.length-1].route.index&&a2(o||""))return r[r.length-1];let l=wT(r);return l[l.length-1]}function mT(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:f,json:c}=r;if(!(!a||!o||!l)){if(s!=null)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(f!=null)return{formMethod:a,formAction:o,formEncType:l,formData:f,json:void 0,text:void 0};if(c!==void 0)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:c,text:void 0}}}function G0(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 _W(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 Hh(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 gW(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 Zu(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 bW(r,a){try{let o=r.sessionStorage.getItem(DT);if(o){let l=JSON.parse(o);for(let[s,f]of Object.entries(l||{}))f&&Array.isArray(f)&&a.set(s,new Set(f||[]))}}catch(o){}}function yW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(DT,JSON.stringify(o))}catch(l){Ss(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}ir.AbortedDeferredError=Uh;ir.Action=Ia;ir.IDLE_BLOCKER=Rd;ir.IDLE_FETCHER=ET;ir.IDLE_NAVIGATION=L_;ir.UNSAFE_DEFERRED_SYMBOL=AT;ir.UNSAFE_DeferredData=N_;ir.UNSAFE_ErrorResponseImpl=Ad;ir.UNSAFE_convertRouteMatchToUiMatch=_T;ir.UNSAFE_convertRoutesToDataRoutes=Zc;ir.UNSAFE_decodePath=yT;ir.UNSAFE_getResolveToMatches=CT;ir.UNSAFE_invariant=Nr;ir.UNSAFE_warning=Ss;ir.createBrowserHistory=EV;ir.createHashHistory=RV;ir.createMemoryHistory=TV;ir.createPath=ws;ir.createRouter=iW;ir.createStaticHandler=lW;ir.defer=JV;ir.generatePath=UV;ir.getStaticContextFromError=sW;ir.getToPathname=qV;ir.isDataWithResponseInit=Z0;ir.isDeferredData=HT;ir.isRouteErrorResponse=Ld;ir.joinPaths=Dd;ir.json=GV;ir.matchPath=K0;ir.matchRoutes=nu;ir.normalizePathname=kT;ir.parsePath=$l;ir.redirect=t2;ir.redirectDocument=ZV;ir.replace=eW;ir.resolvePath=ST;ir.resolveTo=xT;ir.stripBasename=Vh;ir.unstable_data=KV});var WT=Ve((M_,VT)=>{(function(r,a){typeof M_=="object"&&typeof VT!="undefined"?a(M_,cr(),n2()):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))})(M_,function(r,a,o){"use strict";function l($){if($&&$.__esModule)return $;var P=Object.create(null);return $&&Object.keys($).forEach(function(R){if(R!=="default"){var z=Object.getOwnPropertyDescriptor($,R);Object.defineProperty(P,R,z.get?z:{enumerable:!0,get:function(){return $[R]}})}}),P.default=$,Object.freeze(P)}var s=l(a);function f(){return f=Object.assign?Object.assign.bind():function($){for(var P=1;P<arguments.length;P++){var R=arguments[P];for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&($[z]=R[z])}return $},f.apply(this,arguments)}let c=s.createContext(null);c.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let m=s.createContext(null);m.displayName="Navigation";let g=s.createContext(null);g.displayName="Location";let b=s.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";let S=s.createContext(null);S.displayName="RouteError";function w($,P){let{relative:R}=P===void 0?{}:P;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:z,navigator:G}=s.useContext(m),{hash:ie,pathname:oe,search:Oe}=ye($,{relative:R}),Ie=oe;return z!=="/"&&(Ie=oe==="/"?z:o.joinPaths([z,oe])),G.createHref({pathname:Ie,search:Oe,hash:ie})}function k(){return s.useContext(g)!=null}function L(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(g).location}function M(){return s.useContext(g).navigationType}function Y($){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:P}=L();return s.useMemo(()=>o.matchPath($,o.UNSAFE_decodePath(P)),[P,$])}let O="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j($){s.useContext(m).static||s.useLayoutEffect($)}function F(){let{isDataRoute:$}=s.useContext(b);return $?er():J()}function J(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let $=s.useContext(c),{basename:P,future:R,navigator:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:ie}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches(G,R.v7_relativeSplatPath)),Oe=s.useRef(!1);return j(()=>{Oe.current=!0}),s.useCallback(function(Me,Ye){if(Ye===void 0&&(Ye={}),o.UNSAFE_warning(Oe.current,O),!Oe.current)return;if(typeof Me=="number"){z.go(Me);return}let Ae=o.resolveTo(Me,JSON.parse(oe),ie,Ye.relative==="path");$==null&&P!=="/"&&(Ae.pathname=Ae.pathname==="/"?P:o.joinPaths([P,Ae.pathname])),(Ye.replace?z.replace:z.push)(Ae,Ye.state,Ye)},[P,z,oe,ie,$])}let N=s.createContext(null);function te(){return s.useContext(N)}function _e($){let P=s.useContext(b).outlet;return P&&s.createElement(N.Provider,{value:$},P)}function ae(){let{matches:$}=s.useContext(b),P=$[$.length-1];return P?P.params:{}}function ye($,P){let{relative:R}=P===void 0?{}:P,{future:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:ie}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches(G,z.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo($,JSON.parse(oe),ie,R==="path"),[$,oe,ie,R])}function Se($,P){return ge($,P)}function ge($,P,R,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=s.useContext(m),{matches:ie}=s.useContext(b),oe=ie[ie.length-1],Oe=oe?oe.params:{},Ie=oe?oe.pathname:"/",Me=oe?oe.pathnameBase:"/",Ye=oe&&oe.route;{let Fe=Ye&&Ye.path||"";Cr(Ie,!Ye||Fe.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Ie+'" (under <Route path="'+Fe+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
144
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.transitionCallbacks!==void 0&&(v=t.transitionCallbacks));var y=gk(e,bv,null,n,i,u,d);dv(y.current,e);var C=e.nodeType===Ka?e.parentNode:e;return Vp(C),new H0(y)}function x_(e){this._internalRoot=e}function tV(e){e&&fI(e)}x_.prototype.unstable_scheduleHydration=tV;function rV(e,t,n){if(!k_(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");jk(e),t===void 0&&c("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=n!=null?n:null,u=n!=null&&n.hydratedSources||null,d=!1,v=!1,y="",C=Fk;n!=null&&(n.unstable_strictMode===!0&&(d=!0),n.identifierPrefix!==void 0&&(y=n.identifierPrefix),n.onRecoverableError!==void 0&&(C=n.onRecoverableError));var E=bk(t,null,e,bv,i,d,v,y,C);if(dv(E.current,e),Vp(e),u)for(var A=0;A<u.length;A++){var Z=u[A];tj(E,Z)}return new x_(E)}function k_(e){return!!(e&&(e.nodeType===vo||e.nodeType===Bs||e.nodeType===$g||!Se))}function Bh(e){return!!(e&&(e.nodeType===vo||e.nodeType===Bs||e.nodeType===$g||e.nodeType===Ka&&e.nodeValue===" react-mount-point-unstable "))}function jk(e){e.nodeType===vo&&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."),eh(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 aV=o.ReactCurrentOwner,Hk;Hk=function(e){if(e._reactRootContainer&&e.nodeType!==Ka){var t=Sk(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,i=U0(e),u=!!(i&&zu(i));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===vo&&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 U0(e){return e?e.nodeType===Bs?e.documentElement:e.firstChild:null}function Uk(){}function nV(e,t,n,i,u){if(u){if(typeof i=="function"){var d=i;i=function(){var J=C_(v);d.call(J)}}var v=bk(t,i,e,Fu,null,!1,!1,"",Uk);e._reactRootContainer=v,dv(v.current,e);var y=e.nodeType===Ka?e.parentNode:e;return Vp(y),tu(),v}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof i=="function"){var E=i;i=function(){var J=C_(A);E.call(J)}}var A=gk(e,Fu,null,!1,!1,"",Uk);e._reactRootContainer=A,dv(A.current,e);var Z=e.nodeType===Ka?e.parentNode:e;return Vp(Z),tu(function(){zh(t,A,n,i)}),A}}function oV(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 T_(e,t,n,i,u){Hk(n),oV(u===void 0?null:u,"render");var d=n._reactRootContainer,v;if(!d)v=nV(n,t,e,u,i);else{if(v=d,typeof u=="function"){var y=u;u=function(){var C=C_(v);y.call(C)}}zh(t,v,e,u)}return C_(v)}var Vk=!1;function iV(e){{Vk||(Vk=!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=aV.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.",Hr(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===vo?e:WU(e,"findDOMNode")}function lV(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"),!Bh(t))throw new Error("Target container is not a DOM element.");{var i=eh(t)&&t._reactRootContainer===void 0;i&&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 T_(null,e,t,!0,n)}function sV(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"),!Bh(t))throw new Error("Target container is not a DOM element.");{var i=eh(t)&&t._reactRootContainer===void 0;i&&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 T_(null,e,t,!1,n)}function uV(e,t,n,i){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"),!Bh(n))throw new Error("Target container is not a DOM element.");if(e==null||!QM(e))throw new Error("parentComponent must be a valid React Component");return T_(e,t,n,!1,i)}var Wk=!1;function cV(e){if(Wk||(Wk=!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")),!Bh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=eh(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=U0(e),i=n&&!zu(n);i&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return tu(function(){T_(null,null,e,!1,function(){e._reactRootContainer=null,B3(e)})}),!0}else{{var u=U0(e),d=!!(u&&zu(u)),v=e.nodeType===vo&&Bh(e.parentNode)&&!!e.parentNode._reactRootContainer;d&&c("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",v?"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}}tI(qU),aI(YU),nI($U),oI(Il),iI(JP),(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"),jM(lB),VM(b0,rU,tu);function fV(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!k_(t))throw new Error("Target container is not a DOM element.");return VU(e,t,null,n)}function dV(e,t,n,i){return uV(e,t,n,i)}var V0={usingClientEntryPoint:!1,Events:[zu,rd,pv,tC,rC,b0]};function pV(e,t){return V0.usingClientEntryPoint||c('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),eV(e,t)}function hV(e,t,n){return V0.usingClientEntryPoint||c('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rV(e,t,n)}function mV(e){return Q4()&&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."),tu(e)}var vV=ZU({findFiberByHostInstance:Ic,bundleType:1,version:I0,rendererPackageName:"react-dom"});if(!vV&&pt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var qk=window.location.protocol;/^(https?|file):$/.test(qk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(qk==="file:"?`
145
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Uo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V0,Uo.createPortal=fV,Uo.createRoot=pV,Uo.findDOMNode=iV,Uo.flushSync=mV,Uo.hydrate=lV,Uo.hydrateRoot=hV,Uo.render=sV,Uo.unmountComponentAtNode=cV,Uo.unstable_batchedUpdates=b0,Uo.unstable_renderSubtreeIntoContainer=dV,Uo.version=I0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var W0=Ue((X$,Jk)=>{"use strict";Jk.exports=Qk()});var Zk=Ue(Y0=>{"use strict";var q0=W0();jh=q0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y0.createRoot=function(r,a){jh.usingClientEntryPoint=!0;try{return q0.createRoot(r,a)}finally{jh.usingClientEntryPoint=!1}},Y0.hydrateRoot=function(r,a,o){jh.usingClientEntryPoint=!0;try{return q0.hydrateRoot(r,a,o)}finally{jh.usingClientEntryPoint=!1}};var jh});var n2=Ue(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});function Ir(){return Ir=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[l]=o[l])}return r},Ir.apply(this,arguments)}var Ia=function(r){return r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE",r}({}),eT="popstate";function TV(r){r===void 0&&(r={});let{initialEntries:a=["/"],initialIndex:o,v5Compat:l=!1}=r,s;s=a.map((w,k)=>g(w,typeof w=="string"?null:w.state,k===0?"default":void 0));let f=p(o==null?s.length-1:o),c=Ia.Pop,h=null;function p(w){return Math.min(Math.max(w,0),s.length-1)}function m(){return s[f]}function g(w,k,L){k===void 0&&(k=null);let M=ou(s?m().pathname:"/",w,k,L);return Ss(M.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(w)),M}function b(w){return typeof w=="string"?w:ws(w)}return{get index(){return f},get action(){return c},get location(){return m()},createHref:b,createURL(w){return new URL(b(w),"http://localhost")},encodeLocation(w){let k=typeof w=="string"?Gl(w):w;return{pathname:k.pathname||"",search:k.search||"",hash:k.hash||""}},push(w,k){c=Ia.Push;let L=g(w,k);f+=1,s.splice(f,s.length,L),l&&h&&h({action:c,location:L,delta:1})},replace(w,k){c=Ia.Replace;let L=g(w,k);s[f]=L,l&&h&&h({action:c,location:L,delta:0})},go(w){c=Ia.Pop;let k=p(f+w),L=s[k];f=k,h&&h({action:c,location:L,delta:w})},listen(w){return h=w,()=>{h=null}}}}function EV(r){r===void 0&&(r={});function a(l,s){let{pathname:f,search:c,hash:h}=l.location;return ou("",{pathname:f,search:c,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:ws(s)}return vT(a,o,null,r)}function RV(r){r===void 0&&(r={});function a(s,f){let{pathname:c="/",search:h="",hash:p=""}=Gl(s.location.hash.substr(1));return!c.startsWith("/")&&!c.startsWith(".")&&(c="/"+c),ou("",{pathname:c,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(s,f){let c=s.document.querySelector("base"),h="";if(c&&c.getAttribute("href")){let p=s.location.href,m=p.indexOf("#");h=m===-1?p:p.slice(0,m)}return h+"#"+(typeof f=="string"?f:ws(f))}function l(s,f){Ss(s.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(f)+")")}return vT(a,o,l,r)}function Nr(r,a){if(r===!1||r===null||typeof r=="undefined")throw new Error(a)}function Ss(r,a){if(!r){typeof console!="undefined"&&console.warn(a);try{throw new Error(a)}catch(o){}}}function DV(){return Math.random().toString(36).substr(2,8)}function tT(r,a){return{usr:r.state,key:r.key,idx:a}}function ou(r,a,o,l){return o===void 0&&(o=null),Ir({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof a=="string"?Gl(a):a,{state:o,key:a&&a.key||l||DV()})}function ws(r){let{pathname:a="/",search:o="",hash:l=""}=r;return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function Gl(r){let a={};if(r){let o=r.indexOf("#");o>=0&&(a.hash=r.substr(o),r=r.substr(0,o));let l=r.indexOf("?");l>=0&&(a.search=r.substr(l),r=r.substr(0,l)),r&&(a.pathname=r)}return a}function vT(r,a,o,l){l===void 0&&(l={});let{window:s=document.defaultView,v5Compat:f=!1}=l,c=s.history,h=Ia.Pop,p=null,m=g();m==null&&(m=0,c.replaceState(Ir({},c.state,{idx:m}),""));function g(){return(c.state||{idx:null}).idx}function b(){h=Ia.Pop;let M=g(),Y=M==null?null:M-m;m=M,p&&p({action:h,location:L.location,delta:Y})}function S(M,Y){h=Ia.Push;let O=ou(L.location,M,Y);o&&o(O,M),m=g()+1;let j=tT(O,m),F=L.createHref(O);try{c.pushState(j,"",F)}catch(Q){if(Q instanceof DOMException&&Q.name==="DataCloneError")throw Q;s.location.assign(F)}f&&p&&p({action:h,location:L.location,delta:1})}function w(M,Y){h=Ia.Replace;let O=ou(L.location,M,Y);o&&o(O,M),m=g();let j=tT(O,m),F=L.createHref(O);c.replaceState(j,"",F),f&&p&&p({action:h,location:L.location,delta:0})}function k(M){let Y=s.location.origin!=="null"?s.location.origin:s.location.href,O=typeof M=="string"?M:ws(M);return O=O.replace(/ $/,"%20"),Nr(Y,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,Y)}let L={get action(){return h},get location(){return r(s,c)},listen(M){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(eT,b),p=M,()=>{s.removeEventListener(eT,b),p=null}},createHref(M){return a(s,M)},createURL:k,encodeLocation(M){let Y=k(M);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:S,replace:w,go(M){return c.go(M)}};return L}var Vr=function(r){return r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error",r}({}),AV=new Set(["lazy","caseSensitive","path","id","index","children"]);function LV(r){return r.index===!0}function ef(r,a,o,l){return o===void 0&&(o=[]),l===void 0&&(l={}),r.map((s,f)=>{let c=[...o,String(f)],h=typeof s.id=="string"?s.id:c.join("-");if(Nr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Nr(!l[h],'Found a route id collision on id "'+h+`". Route id's must be globally unique within Data Router usages`),LV(s)){let p=Ir({},s,a(s),{id:h});return l[h]=p,p}else{let p=Ir({},s,a(s),{id:h,children:void 0});return l[h]=p,s.children&&(p.children=ef(s.children,a,c,l)),p}})}function nu(r,a,o){return o===void 0&&(o="/"),A_(r,a,o,!1)}function A_(r,a,o,l){let s=typeof a=="string"?Gl(a):a,f=Vh(s.pathname||"/",o);if(f==null)return null;let c=gT(r);NV(c);let h=null;for(let p=0;h==null&&p<c.length;++p){let m=yT(f);h=HV(c[p],m,l)}return h}function _T(r,a){let{route:o,pathname:l,params:s}=r;return{id:o.id,pathname:l,params:s,data:a[o.id],handle:o.handle}}function gT(r,a,o,l){a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l="");let s=(f,c,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:c,route:f};p.relativePath.startsWith("/")&&(Nr(p.relativePath.startsWith(l),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(l.length));let m=Ad([l,p.relativePath]),g=o.concat(p);f.children&&f.children.length>0&&(Nr(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),gT(f.children,a,g,m)),!(f.path==null&&!f.index)&&a.push({path:m,score:FV(m,f.index),routesMeta:g})};return r.forEach((f,c)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))s(f,c);else for(let p of bT(f.path))s(f,c,p)}),a}function bT(r){let a=r.split("/");if(a.length===0)return[];let[o,...l]=a,s=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return s?[f,""]:[f];let c=bT(l.join("/")),h=[];return h.push(...c.map(p=>p===""?f:[f,p].join("/"))),s&&h.push(...c),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function NV(r){r.sort((a,o)=>a.score!==o.score?o.score-a.score:jV(a.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var OV=/^:[\w-]+$/,MV=3,PV=2,IV=1,zV=10,BV=-2,rT=r=>r==="*";function FV(r,a){let o=r.split("/"),l=o.length;return o.some(rT)&&(l+=BV),a&&(l+=PV),o.filter(s=>!rT(s)).reduce((s,f)=>s+(OV.test(f)?MV:f===""?IV:zV),l)}function jV(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 HV(r,a,o){o===void 0&&(o=!1);let{routesMeta:l}=r,s={},f="/",c=[];for(let h=0;h<l.length;++h){let p=l[h],m=h===l.length-1,g=f==="/"?a:a.slice(f.length)||"/",b=K0({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},g),S=p.route;if(!b&&m&&o&&!l[l.length-1].route.index&&(b=K0({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!b)return null;Object.assign(s,b.params),c.push({params:s,pathname:Ad([f,b.pathname]),pathnameBase:kT(Ad([f,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(f=Ad([f,b.pathnameBase]))}return c}function UV(r,a){a===void 0&&(a={});let o=r;o.endsWith("*")&&o!=="*"&&!o.endsWith("/*")&&(Ss(!1,'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".')),o=o.replace(/\*$/,"/*"));let l=o.startsWith("/")?"/":"",s=c=>c==null?"":typeof c=="string"?c:String(c),f=o.split(/\/+/).map((c,h,p)=>{if(h===p.length-1&&c==="*")return s(a["*"]);let g=c.match(/^:([\w-]+)(\??)$/);if(g){let[,b,S]=g,w=a[b];return Nr(S==="?"||w!=null,'Missing ":'+b+'" param'),s(w)}return c.replace(/\?$/g,"")}).filter(c=>!!c);return l+f.join("/")}function K0(r,a){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,l]=VV(r.path,r.caseSensitive,r.end),s=a.match(o);if(!s)return null;let f=s[0],c=f.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:l.reduce((m,g,b)=>{let{paramName:S,isOptional:w}=g;if(S==="*"){let L=h[b]||"";c=f.slice(0,f.length-L.length).replace(/(.)\/+$/,"$1")}let k=h[b];return w&&!k?m[S]=void 0:m[S]=(k||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:c,pattern:r}}function VV(r,a,o){a===void 0&&(a=!1),o===void 0&&(o=!0),Ss(r==="*"||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were '+('"'+r.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+r.replace(/\*$/,"/*")+'".'));let l=[],s="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,h,p)=>(l.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(l.push({paramName:"*"}),s+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":r!==""&&r!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),l]}function yT(r){try{return r.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Ss(!1,'The URL path "'+r+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),r}}function Vh(r,a){if(a==="/")return r;if(!r.toLowerCase().startsWith(a.toLowerCase()))return null;let o=a.endsWith("/")?a.length-1:a.length,l=r.charAt(o);return l&&l!=="/"?null:r.slice(o)||"/"}function ST(r,a){a===void 0&&(a="/");let{pathname:o,search:l="",hash:s=""}=typeof r=="string"?Gl(r):r;return{pathname:o?o.startsWith("/")?o:WV(o,a):a,search:YV(l),hash:$V(s)}}function WV(r,a){let o=a.replace(/\/+$/,"").split("/");return r.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function $0(r,a,o,l){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function wT(r){return r.filter((a,o)=>o===0||a.route.path&&a.route.path.length>0)}function CT(r,a){let o=wT(r);return a?o.map((l,s)=>s===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function xT(r,a,o,l){l===void 0&&(l=!1);let s;typeof r=="string"?s=Gl(r):(s=Ir({},r),Nr(!s.pathname||!s.pathname.includes("?"),$0("?","pathname","search",s)),Nr(!s.pathname||!s.pathname.includes("#"),$0("#","pathname","hash",s)),Nr(!s.search||!s.search.includes("#"),$0("#","search","hash",s)));let f=r===""||s.pathname==="",c=f?"/":s.pathname,h;if(c==null)h=o;else{let b=a.length-1;if(!l&&c.startsWith("..")){let S=c.split("/");for(;S[0]==="..";)S.shift(),b-=1;s.pathname=S.join("/")}h=b>=0?a[b]:"/"}let p=ST(s,h),m=c&&c!=="/"&&c.endsWith("/"),g=(f||c===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(m||g)&&(p.pathname+="/"),p}function qV(r){return r===""||r.pathname===""?"/":typeof r=="string"?Gl(r).pathname:r.pathname}var Ad=r=>r.join("/").replace(/\/\/+/g,"/"),kT=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),YV=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,$V=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,GV=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o,s=new Headers(l.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(a),Ir({},l,{headers:s}))},X0=class{constructor(a,o){this.type="DataWithResponseInit",this.data=a,this.init=o||null}};function KV(r,a){return new X0(r,typeof a=="number"?{status:a}:a)}var Uh=class extends Error{},N_=class{constructor(a,o){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Nr(a&&typeof a=="object"&&!Array.isArray(a),"defer() only accepts plain objects");let l;this.abortPromise=new Promise((f,c)=>l=c),this.controller=new AbortController;let s=()=>l(new Uh("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(a).reduce((f,c)=>{let[h,p]=c;return Object.assign(f,{[h]:this.trackPromise(h,p)})},{}),this.done&&this.unlistenAbortSignal(),this.init=o}trackPromise(a,o){if(!(o instanceof Promise))return o;this.deferredKeys.push(a),this.pendingKeysSet.add(a);let l=Promise.race([o,this.abortPromise]).then(s=>this.onSettle(l,a,void 0,s),s=>this.onSettle(l,a,s));return l.catch(()=>{}),Object.defineProperty(l,"_tracked",{get:()=>!0}),l}onSettle(a,o,l,s){if(this.controller.signal.aborted&&l instanceof Uh)return this.unlistenAbortSignal(),Object.defineProperty(a,"_error",{get:()=>l}),Promise.reject(l);if(this.pendingKeysSet.delete(o),this.done&&this.unlistenAbortSignal(),l===void 0&&s===void 0){let f=new Error('Deferred data for key "'+o+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(a,"_error",{get:()=>f}),this.emit(!1,o),Promise.reject(f)}return s===void 0?(Object.defineProperty(a,"_error",{get:()=>l}),this.emit(!1,o),Promise.reject(l)):(Object.defineProperty(a,"_data",{get:()=>s}),this.emit(!1,o),s)}emit(a,o){this.subscribers.forEach(l=>l(a,o))}subscribe(a){return this.subscribers.add(a),()=>this.subscribers.delete(a)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((a,o)=>this.pendingKeysSet.delete(o)),this.emit(!0)}resolveData(a){return na(this,null,function*(){let o=!1;if(!this.done){let l=()=>this.cancel();a.addEventListener("abort",l),o=yield new Promise(s=>{this.subscribe(f=>{a.removeEventListener("abort",l),(f||this.done)&&s(f)})})}return o})}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Nr(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((a,o)=>{let[l,s]=o;return Object.assign(a,{[l]:QV(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};function XV(r){return r instanceof Promise&&r._tracked===!0}function QV(r){if(!XV(r))return r;if(r._error)throw r._error;return r._data}var JV=function(a,o){o===void 0&&(o={});let l=typeof o=="number"?{status:o}:o;return new N_(a,l)},t2=function(a,o){o===void 0&&(o=302);let l=o;typeof l=="number"?l={status:l}:typeof l.status=="undefined"&&(l.status=302);let s=new Headers(l.headers);return s.set("Location",a),new Response(null,Ir({},l,{headers:s}))},ZV=(r,a)=>{let o=t2(r,a);return o.headers.set("X-Remix-Reload-Document","true"),o},eW=(r,a)=>{let o=t2(r,a);return o.headers.set("X-Remix-Replace","true"),o},Ld=class{constructor(a,o,l,s){s===void 0&&(s=!1),this.status=a,this.statusText=o||"",this.internal=s,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function Nd(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var TT=["post","put","patch","delete"],tW=new Set(TT),rW=["get",...TT],aW=new Set(rW),nW=new Set([301,302,303,307,308]),oW=new Set([307,308]),L_={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ET={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Dd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},r2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,RT=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),DT="remix-router-transitions";function iW(r){let a=r.window?r.window:typeof window!="undefined"?window:void 0,o=typeof a!="undefined"&&typeof a.document!="undefined"&&typeof a.document.createElement!="undefined",l=!o;Nr(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(r.mapRouteProperties)s=r.mapRouteProperties;else if(r.detectErrorBoundary){let I=r.detectErrorBoundary;s=V=>({hasErrorBoundary:I(V)})}else s=RT;let f={},c=ef(r.routes,s,void 0,f),h,p=r.basename||"/",m=r.unstable_dataStrategy||MT,g=r.unstable_patchRoutesOnMiss,b=Ir({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},r.future),S=null,w=new Set,k=null,L=null,M=null,Y=r.hydrationData!=null,O=nu(c,r.history.location,p),j=null;if(O==null&&!g){let I=xa(404,{pathname:r.history.location.pathname}),{matches:V,route:ae}=O_(c);O=V,j={[ae.id]:I}}O&&!r.hydrationData&&Me(O,c,r.history.location.pathname).active&&(O=null);let F;if(O)if(O.some(I=>I.route.lazy))F=!1;else if(!O.some(I=>I.route.loader))F=!0;else if(b.v7_partialHydration){let I=r.hydrationData?r.hydrationData.loaderData:null,V=r.hydrationData?r.hydrationData.errors:null,ae=se=>se.route.loader?typeof se.route.loader=="function"&&se.route.loader.hydrate===!0?!1:I&&I[se.route.id]!==void 0||V&&V[se.route.id]!==void 0:!0;if(V){let se=O.findIndex(Ve=>V[Ve.route.id]!==void 0);F=O.slice(0,se+1).every(ae)}else F=O.every(ae)}else F=r.hydrationData!=null;else if(F=!1,O=[],b.v7_partialHydration){let I=Me(null,c,r.history.location.pathname);I.active&&I.matches&&(O=I.matches)}let Q,N={historyAction:r.history.action,location:r.history.location,matches:O,initialized:F,navigation:L_,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||j,fetchers:new Map,blockers:new Map},te=Ia.Pop,_e=!1,re,be=!1,ye=new Map,ge=null,H=!1,le=!1,fe=[],B=new Set,W=new Map,ne=0,ee=-1,de=new Map,Ce=new Set,Se=new Map,Ye=new Map,$e=new Set,Pe=new Map,et=new Map,ct=new Map,lt=!1;function Tt(){if(S=r.history.listen(I=>{let{action:V,location:ae,delta:se}=I;if(lt){lt=!1;return}Ss(et.size===0||se!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Ve=P({currentLocation:N.location,nextLocation:ae,historyAction:V});if(Ve&&se!=null){lt=!0,r.history.go(se*-1),$(Ve,{state:"blocked",location:ae,proceed(){$(Ve,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),r.history.go(se)},reset(){let Fe=new Map(N.blockers);Fe.set(Ve,Dd),Te({blockers:Fe})}});return}return Ut(V,ae)}),o){bW(a,ye);let I=()=>yW(a,ye);a.addEventListener("pagehide",I),ge=()=>a.removeEventListener("pagehide",I)}return N.initialized||Ut(Ia.Pop,N.location,{initialHydration:!0}),Q}function wt(){S&&S(),ge&&ge(),w.clear(),re&&re.abort(),N.fetchers.forEach((I,V)=>Be(V)),N.blockers.forEach((I,V)=>Yr(V))}function Ze(I){return w.add(I),()=>w.delete(I)}function Te(I,V){V===void 0&&(V={}),N=Ir({},N,I);let ae=[],se=[];b.v7_fetcherPersist&&N.fetchers.forEach((Ve,Fe)=>{Ve.state==="idle"&&($e.has(Fe)?se.push(Fe):ae.push(Fe))}),[...w].forEach(Ve=>Ve(N,{deletedFetchers:se,unstable_viewTransitionOpts:V.viewTransitionOpts,unstable_flushSync:V.flushSync===!0})),b.v7_fetcherPersist&&(ae.forEach(Ve=>N.fetchers.delete(Ve)),se.forEach(Ve=>Be(Ve)))}function pt(I,V,ae){var se,Ve;let{flushSync:Fe}=ae===void 0?{}:ae,D=N.actionData!=null&&N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&N.navigation.state==="loading"&&((se=I.state)==null?void 0:se._isRedirect)!==!0,q;V.actionData?Object.keys(V.actionData).length>0?q=V.actionData:q=null:D?q=N.actionData:q=null;let pe=V.loaderData?fT(N.loaderData,V.loaderData,V.matches||[],V.errors):N.loaderData,ke=N.blockers;ke.size>0&&(ke=new Map(ke),ke.forEach((Je,Ke)=>ke.set(Ke,Dd)));let He=_e===!0||N.navigation.formMethod!=null&&Cl(N.navigation.formMethod)&&((Ve=I.state)==null?void 0:Ve._isRedirect)!==!0;h&&(c=h,h=void 0),H||te===Ia.Pop||(te===Ia.Push?r.history.push(I,I.state):te===Ia.Replace&&r.history.replace(I,I.state));let ft;if(te===Ia.Pop){let Je=ye.get(N.location.pathname);Je&&Je.has(I.pathname)?ft={currentLocation:N.location,nextLocation:I}:ye.has(I.pathname)&&(ft={currentLocation:I,nextLocation:N.location})}else if(be){let Je=ye.get(N.location.pathname);Je?Je.add(I.pathname):(Je=new Set([I.pathname]),ye.set(N.location.pathname,Je)),ft={currentLocation:N.location,nextLocation:I}}Te(Ir({},V,{actionData:q,loaderData:pe,historyAction:te,location:I,initialized:!0,navigation:L_,revalidation:"idle",restoreScrollPosition:Ie(I,V.matches||N.matches),preventScrollReset:He,blockers:ke}),{viewTransitionOpts:ft,flushSync:Fe===!0}),te=Ia.Pop,_e=!1,be=!1,H=!1,le=!1,fe=[]}function Lt(I,V){return na(this,null,function*(){if(typeof I=="number"){r.history.go(I);return}let ae=Q0(N.location,N.matches,p,b.v7_prependBasename,I,b.v7_relativeSplatPath,V==null?void 0:V.fromRouteId,V==null?void 0:V.relative),{path:se,submission:Ve,error:Fe}=nT(b.v7_normalizeFormMethod,!1,ae,V),D=N.location,q=ou(N.location,se,V&&V.state);q=Ir({},q,r.history.encodeLocation(q));let pe=V&&V.replace!=null?V.replace:void 0,ke=Ia.Push;pe===!0?ke=Ia.Replace:pe===!1||Ve!=null&&Cl(Ve.formMethod)&&Ve.formAction===N.location.pathname+N.location.search&&(ke=Ia.Replace);let He=V&&"preventScrollReset"in V?V.preventScrollReset===!0:void 0,ft=(V&&V.unstable_flushSync)===!0,Je=P({currentLocation:D,nextLocation:q,historyAction:ke});if(Je){$(Je,{state:"blocked",location:q,proceed(){$(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:q}),Lt(I,V)},reset(){let Ke=new Map(N.blockers);Ke.set(Je,Dd),Te({blockers:Ke})}});return}return yield Ut(ke,q,{submission:Ve,pendingError:Fe,preventScrollReset:He,replace:V&&V.replace,enableViewTransition:V&&V.unstable_viewTransition,flushSync:ft})})}function jt(){if(Cr(),Te({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){Ut(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}Ut(te||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function Ut(I,V,ae){return na(this,null,function*(){re&&re.abort(),re=null,te=I,H=(ae&&ae.startUninterruptedRevalidation)===!0,Oe(N.location,N.matches),_e=(ae&&ae.preventScrollReset)===!0,be=(ae&&ae.enableViewTransition)===!0;let se=h||c,Ve=ae&&ae.overrideNavigation,Fe=nu(se,V,p),D=(ae&&ae.flushSync)===!0,q=Me(Fe,se,V.pathname);if(q.active&&q.matches&&(Fe=q.matches),!Fe){let{error:Ct,notFoundMatches:kt,route:Wt}=R(V.pathname);pt(V,{matches:kt,loaderData:{},errors:{[Wt.id]:Ct}},{flushSync:D});return}if(N.initialized&&!le&&pW(N.location,V)&&!(ae&&ae.submission&&Cl(ae.submission.formMethod))){pt(V,{matches:Fe},{flushSync:D});return}re=new AbortController;let pe=Rd(r.history,V,re.signal,ae&&ae.submission),ke;if(ae&&ae.pendingError)ke=[Jc(Fe).route.id,{type:Vr.error,error:ae.pendingError}];else if(ae&&ae.submission&&Cl(ae.submission.formMethod)){let Ct=yield er(pe,V,ae.submission,Fe,q.active,{replace:ae.replace,flushSync:D});if(Ct.shortCircuited)return;if(Ct.pendingActionResult){let[kt,Wt]=Ct.pendingActionResult;if(On(Wt)&&Nd(Wt.error)&&Wt.error.status===404){re=null,pt(V,{matches:Ct.matches,loaderData:{},errors:{[kt]:Wt.error}});return}}Fe=Ct.matches||Fe,ke=Ct.pendingActionResult,Ve=G0(V,ae.submission),D=!1,q.active=!1,pe=Rd(r.history,pe.url,pe.signal)}let{shortCircuited:He,matches:ft,loaderData:Je,errors:Ke}=yield ur(pe,V,Fe,q.active,Ve,ae&&ae.submission,ae&&ae.fetcherSubmission,ae&&ae.replace,ae&&ae.initialHydration===!0,D,ke);He||(re=null,pt(V,Ir({matches:ft||Fe},dT(ke),{loaderData:Je,errors:Ke})))})}function er(I,V,ae,se,Ve,Fe){return na(this,null,function*(){Fe===void 0&&(Fe={}),Cr();let D=_W(V,ae);if(Te({navigation:D},{flushSync:Fe.flushSync===!0}),Ve){let ke=yield We(se,V.pathname,I.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){let{boundaryId:He,error:ft}=z(V.pathname,ke);return{matches:ke.partialMatches,pendingActionResult:[He,{type:Vr.error,error:ft}]}}else if(ke.matches)se=ke.matches;else{let{notFoundMatches:He,error:ft,route:Je}=R(V.pathname);return{matches:He,pendingActionResult:[Je.id,{type:Vr.error,error:ft}]}}}let q,pe=Zc(se,V);if(!pe.route.action&&!pe.route.lazy)q={type:Vr.error,error:xa(405,{method:I.method,pathname:V.pathname,routeId:pe.route.id})};else if(q=(yield _r("action",I,[pe],se))[0],I.signal.aborted)return{shortCircuited:!0};if(rc(q)){let ke;return Fe&&Fe.replace!=null?ke=Fe.replace:ke=sT(q.response.headers.get("Location"),new URL(I.url),p)===N.location.pathname+N.location.search,yield fr(I,q,{submission:ae,replace:ke}),{shortCircuited:!0}}if(tc(q))throw xa(400,{type:"defer-action"});if(On(q)){let ke=Jc(se,pe.route.id);return(Fe&&Fe.replace)!==!0&&(te=Ia.Push),{matches:se,pendingActionResult:[ke.route.id,q]}}return{matches:se,pendingActionResult:[pe.route.id,q]}})}function ur(I,V,ae,se,Ve,Fe,D,q,pe,ke,He){return na(this,null,function*(){let ft=Ve||G0(V,Fe),Je=Fe||D||mT(ft),Ke=!H&&(!b.v7_partialHydration||!pe);if(se){if(Ke){let aa=Tr(He);Te(Ir({navigation:ft},aa!==void 0?{actionData:aa}:{}),{flushSync:ke})}let Qt=yield We(ae,V.pathname,I.signal);if(Qt.type==="aborted")return{shortCircuited:!0};if(Qt.type==="error"){let{boundaryId:aa,error:Za}=z(V.pathname,Qt);return{matches:Qt.partialMatches,loaderData:{},errors:{[aa]:Za}}}else if(Qt.matches)ae=Qt.matches;else{let{error:aa,notFoundMatches:Za,route:Gr}=R(V.pathname);return{matches:Za,loaderData:{},errors:{[Gr.id]:aa}}}}let Ct=h||c,[kt,Wt]=oT(r.history,N,ae,Je,V,b.v7_partialHydration&&pe===!0,b.v7_skipActionErrorRevalidation,le,fe,B,$e,Se,Ce,Ct,p,He);if(G(Qt=>!(ae&&ae.some(aa=>aa.route.id===Qt))||kt&&kt.some(aa=>aa.route.id===Qt)),ee=++ne,kt.length===0&&Wt.length===0){let Qt=Vt();return pt(V,Ir({matches:ae,loaderData:{},errors:He&&On(He[1])?{[He[0]]:He[1].error}:null},dT(He),Qt?{fetchers:new Map(N.fetchers)}:{}),{flushSync:ke}),{shortCircuited:!0}}if(Ke){let Qt={};if(!se){Qt.navigation=ft;let aa=Tr(He);aa!==void 0&&(Qt.actionData=aa)}Wt.length>0&&(Qt.fetchers=ra(Wt)),Te(Qt,{flushSync:ke})}Wt.forEach(Qt=>{W.has(Qt.key)&&bt(Qt.key),Qt.controller&&W.set(Qt.key,Qt.controller)});let $r=()=>Wt.forEach(Qt=>bt(Qt.key));re&&re.signal.addEventListener("abort",$r);let{loaderResults:Ha,fetcherResults:la}=yield ha(N.matches,ae,kt,Wt,I);if(I.signal.aborted)return{shortCircuited:!0};re&&re.signal.removeEventListener("abort",$r),Wt.forEach(Qt=>W.delete(Qt.key));let sa=pT([...Ha,...la]);if(sa){if(sa.idx>=kt.length){let Qt=Wt[sa.idx-kt.length].key;Ce.add(Qt)}return yield fr(I,sa.result,{replace:q}),{shortCircuited:!0}}let{loaderData:Ga,errors:Nt}=cT(N,ae,kt,Ha,He,Wt,la,Pe);Pe.forEach((Qt,aa)=>{Qt.subscribe(Za=>{(Za||Qt.done)&&Pe.delete(aa)})}),b.v7_partialHydration&&pe&&N.errors&&Object.entries(N.errors).filter(Qt=>{let[aa]=Qt;return!kt.some(Za=>Za.route.id===aa)}).forEach(Qt=>{let[aa,Za]=Qt;Nt=Object.assign(Nt||{},{[aa]:Za})});let Wn=Vt(),is=Er(ee),ls=Wn||is||Wt.length>0;return Ir({matches:ae,loaderData:Ga,errors:Nt},ls?{fetchers:new Map(N.fetchers)}:{})})}function Tr(I){if(I&&!On(I[1]))return{[I[0]]:I[1].data};if(N.actionData)return Object.keys(N.actionData).length===0?null:N.actionData}function ra(I){return I.forEach(V=>{let ae=N.fetchers.get(V.key),se=Hh(void 0,ae?ae.data:void 0);N.fetchers.set(V.key,se)}),new Map(N.fetchers)}function jr(I,V,ae,se){if(l)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");W.has(I)&&bt(I);let Ve=(se&&se.unstable_flushSync)===!0,Fe=h||c,D=Q0(N.location,N.matches,p,b.v7_prependBasename,ae,b.v7_relativeSplatPath,V,se==null?void 0:se.relative),q=nu(Fe,D,p),pe=Me(q,Fe,D);if(pe.active&&pe.matches&&(q=pe.matches),!q){Mr(I,V,xa(404,{pathname:D}),{flushSync:Ve});return}let{path:ke,submission:He,error:ft}=nT(b.v7_normalizeFormMethod,!0,D,se);if(ft){Mr(I,V,ft,{flushSync:Ve});return}let Je=Zc(q,ke);if(_e=(se&&se.preventScrollReset)===!0,He&&Cl(He.formMethod)){qr(I,V,ke,Je,q,pe.active,Ve,He);return}Se.set(I,{routeId:V,path:ke}),wr(I,V,ke,Je,q,pe.active,Ve,He)}function qr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){Cr(),Se.delete(I);function pe(Gr){if(!Gr.route.action&&!Gr.route.lazy){let qn=xa(405,{method:q.formMethod,pathname:ae,routeId:V});return Mr(I,V,qn,{flushSync:D}),!0}return!1}if(!Fe&&pe(se))return;let ke=N.fetchers.get(I);mr(I,gW(q,ke),{flushSync:D});let He=new AbortController,ft=Rd(r.history,ae,He.signal,q);if(Fe){let Gr=yield We(Ve,ae,ft.signal);if(Gr.type==="aborted")return;if(Gr.type==="error"){let{error:qn}=z(ae,Gr);Mr(I,V,qn,{flushSync:D});return}else if(Gr.matches){if(Ve=Gr.matches,se=Zc(Ve,ae),pe(se))return}else{Mr(I,V,xa(404,{pathname:ae}),{flushSync:D});return}}W.set(I,He);let Je=ne,Ct=(yield _r("action",ft,[se],Ve))[0];if(ft.signal.aborted){W.get(I)===He&&W.delete(I);return}if(b.v7_fetcherPersist&&$e.has(I)){if(rc(Ct)||On(Ct)){mr(I,Zu(void 0));return}}else{if(rc(Ct))if(W.delete(I),ee>Je){mr(I,Zu(void 0));return}else return Ce.add(I),mr(I,Hh(q)),fr(ft,Ct,{fetcherSubmission:q});if(On(Ct)){Mr(I,V,Ct.error);return}}if(tc(Ct))throw xa(400,{type:"defer-action"});let kt=N.navigation.location||N.location,Wt=Rd(r.history,kt,He.signal),$r=h||c,Ha=N.navigation.state!=="idle"?nu($r,N.navigation.location,p):N.matches;Nr(Ha,"Didn't find any matches after fetcher action");let la=++ne;de.set(I,la);let sa=Hh(q,Ct.data);N.fetchers.set(I,sa);let[Ga,Nt]=oT(r.history,N,Ha,q,kt,!1,b.v7_skipActionErrorRevalidation,le,fe,B,$e,Se,Ce,$r,p,[se.route.id,Ct]);Nt.filter(Gr=>Gr.key!==I).forEach(Gr=>{let qn=Gr.key,yc=N.fetchers.get(qn),ap=Hh(void 0,yc?yc.data:void 0);N.fetchers.set(qn,ap),W.has(qn)&&bt(qn),Gr.controller&&W.set(qn,Gr.controller)}),Te({fetchers:new Map(N.fetchers)});let Wn=()=>Nt.forEach(Gr=>bt(Gr.key));He.signal.addEventListener("abort",Wn);let{loaderResults:is,fetcherResults:ls}=yield ha(N.matches,Ha,Ga,Nt,Wt);if(He.signal.aborted)return;He.signal.removeEventListener("abort",Wn),de.delete(I),W.delete(I),Nt.forEach(Gr=>W.delete(Gr.key));let Qt=pT([...is,...ls]);if(Qt){if(Qt.idx>=Ga.length){let Gr=Nt[Qt.idx-Ga.length].key;Ce.add(Gr)}return fr(Wt,Qt.result)}let{loaderData:aa,errors:Za}=cT(N,N.matches,Ga,is,void 0,Nt,ls,Pe);if(N.fetchers.has(I)){let Gr=Zu(Ct.data);N.fetchers.set(I,Gr)}Er(la),N.navigation.state==="loading"&&la>ee?(Nr(te,"Expected pending action"),re&&re.abort(),pt(N.navigation.location,{matches:Ha,loaderData:aa,errors:Za,fetchers:new Map(N.fetchers)})):(Te({errors:Za,loaderData:fT(N.loaderData,aa,Ha,Za),fetchers:new Map(N.fetchers)}),le=!1)})}function wr(I,V,ae,se,Ve,Fe,D,q){return na(this,null,function*(){let pe=N.fetchers.get(I);mr(I,Hh(q,pe?pe.data:void 0),{flushSync:D});let ke=new AbortController,He=Rd(r.history,ae,ke.signal);if(Fe){let Ct=yield We(Ve,ae,He.signal);if(Ct.type==="aborted")return;if(Ct.type==="error"){let{error:kt}=z(ae,Ct);Mr(I,V,kt,{flushSync:D});return}else if(Ct.matches)Ve=Ct.matches,se=Zc(Ve,ae);else{Mr(I,V,xa(404,{pathname:ae}),{flushSync:D});return}}W.set(I,ke);let ft=ne,Ke=(yield _r("loader",He,[se],Ve))[0];if(tc(Ke)&&(Ke=(yield UT(Ke,He.signal,!0))||Ke),W.get(I)===ke&&W.delete(I),!He.signal.aborted){if($e.has(I)){mr(I,Zu(void 0));return}if(rc(Ke))if(ee>ft){mr(I,Zu(void 0));return}else{Ce.add(I),yield fr(He,Ke);return}if(On(Ke)){Mr(I,V,Ke.error);return}Nr(!tc(Ke),"Unhandled fetcher deferred data"),mr(I,Zu(Ke.data))}})}function fr(I,V,ae){return na(this,null,function*(){let{submission:se,fetcherSubmission:Ve,replace:Fe}=ae===void 0?{}:ae;V.response.headers.has("X-Remix-Revalidate")&&(le=!0);let D=V.response.headers.get("Location");Nr(D,"Expected a Location header on the redirect Response"),D=sT(D,new URL(I.url),p);let q=ou(N.location,D,{_isRedirect:!0});if(o){let Ke=!1;if(V.response.headers.has("X-Remix-Reload-Document"))Ke=!0;else if(r2.test(D)){let Ct=r.history.createURL(D);Ke=Ct.origin!==a.location.origin||Vh(Ct.pathname,p)==null}if(Ke){Fe?a.location.replace(D):a.location.assign(D);return}}re=null;let pe=Fe===!0||V.response.headers.has("X-Remix-Replace")?Ia.Replace:Ia.Push,{formMethod:ke,formAction:He,formEncType:ft}=N.navigation;!se&&!Ve&&ke&&He&&ft&&(se=mT(N.navigation));let Je=se||Ve;if(oW.has(V.response.status)&&Je&&Cl(Je.formMethod))yield Ut(pe,q,{submission:Ir({},Je,{formAction:D}),preventScrollReset:_e});else{let Ke=G0(q,se);yield Ut(pe,q,{overrideNavigation:Ke,fetcherSubmission:Ve,preventScrollReset:_e})}})}function _r(I,V,ae,se){return na(this,null,function*(){try{let Ve=yield PT(m,I,V,ae,se,f,s);return yield Promise.all(Ve.map((Fe,D)=>{if(jT(Fe)){let q=Fe.result;return{type:Vr.redirect,response:zT(q,V,ae[D].route.id,se,p,b.v7_relativeSplatPath)}}return IT(Fe)}))}catch(Ve){return ae.map(()=>({type:Vr.error,error:Ve}))}})}function ha(I,V,ae,se,Ve){return na(this,null,function*(){let[Fe,...D]=yield Promise.all([ae.length?_r("loader",Ve,ae,V):[],...se.map(q=>{if(q.matches&&q.match&&q.controller){let pe=Rd(r.history,q.path,q.controller.signal);return _r("loader",pe,[q.match],q.matches).then(ke=>ke[0])}else return Promise.resolve({type:Vr.error,error:xa(404,{pathname:q.path})})})]);return yield Promise.all([hT(I,ae,Fe,Fe.map(()=>Ve.signal),!1,N.loaderData),hT(I,se.map(q=>q.match),D,se.map(q=>q.controller?q.controller.signal:null),!0)]),{loaderResults:Fe,fetcherResults:D}})}function Cr(){le=!0,fe.push(...G()),Se.forEach((I,V)=>{W.has(V)&&(B.add(V),bt(V))})}function mr(I,V,ae){ae===void 0&&(ae={}),N.fetchers.set(I,V),Te({fetchers:new Map(N.fetchers)},{flushSync:(ae&&ae.flushSync)===!0})}function Mr(I,V,ae,se){se===void 0&&(se={});let Ve=Jc(N.matches,V);Be(I),Te({errors:{[Ve.route.id]:ae},fetchers:new Map(N.fetchers)},{flushSync:(se&&se.flushSync)===!0})}function ga(I){return b.v7_fetcherPersist&&(Ye.set(I,(Ye.get(I)||0)+1),$e.has(I)&&$e.delete(I)),N.fetchers.get(I)||ET}function Be(I){let V=N.fetchers.get(I);W.has(I)&&!(V&&V.state==="loading"&&de.has(I))&&bt(I),Se.delete(I),de.delete(I),Ce.delete(I),$e.delete(I),B.delete(I),N.fetchers.delete(I)}function st(I){if(b.v7_fetcherPersist){let V=(Ye.get(I)||0)-1;V<=0?(Ye.delete(I),$e.add(I)):Ye.set(I,V)}else Be(I);Te({fetchers:new Map(N.fetchers)})}function bt(I){let V=W.get(I);Nr(V,"Expected fetch controller: "+I),V.abort(),W.delete(I)}function $t(I){for(let V of I){let ae=ga(V),se=Zu(ae.data);N.fetchers.set(V,se)}}function Vt(){let I=[],V=!1;for(let ae of Ce){let se=N.fetchers.get(ae);Nr(se,"Expected fetcher: "+ae),se.state==="loading"&&(Ce.delete(ae),I.push(ae),V=!0)}return $t(I),V}function Er(I){let V=[];for(let[ae,se]of de)if(se<I){let Ve=N.fetchers.get(ae);Nr(Ve,"Expected fetcher: "+ae),Ve.state==="loading"&&(bt(ae),de.delete(ae),V.push(ae))}return $t(V),V.length>0}function vr(I,V){let ae=N.blockers.get(I)||Dd;return et.get(I)!==V&&et.set(I,V),ae}function Yr(I){N.blockers.delete(I),et.delete(I)}function $(I,V){let ae=N.blockers.get(I)||Dd;Nr(ae.state==="unblocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="blocked"||ae.state==="blocked"&&V.state==="proceeding"||ae.state==="blocked"&&V.state==="unblocked"||ae.state==="proceeding"&&V.state==="unblocked","Invalid blocker state transition: "+ae.state+" -> "+V.state);let se=new Map(N.blockers);se.set(I,V),Te({blockers:se})}function P(I){let{currentLocation:V,nextLocation:ae,historyAction:se}=I;if(et.size===0)return;et.size>1&&Ss(!1,"A router only supports one blocker at a time");let Ve=Array.from(et.entries()),[Fe,D]=Ve[Ve.length-1],q=N.blockers.get(Fe);if(!(q&&q.state==="proceeding")&&D({currentLocation:V,nextLocation:ae,historyAction:se}))return Fe}function R(I){let V=xa(404,{pathname:I}),ae=h||c,{matches:se,route:Ve}=O_(ae);return G(),{notFoundMatches:se,route:Ve,error:V}}function z(I,V){return{boundaryId:Jc(V.partialMatches).route.id,error:xa(400,{type:"route-discovery",pathname:I,message:V.error!=null&&"message"in V.error?V.error:String(V.error)})}}function G(I){let V=[];return Pe.forEach((ae,se)=>{(!I||I(se))&&(ae.cancel(),V.push(se),Pe.delete(se))}),V}function ie(I,V,ae){if(k=I,M=V,L=ae||null,!Y&&N.navigation===L_){Y=!0;let se=Ie(N.location,N.matches);se!=null&&Te({restoreScrollPosition:se})}return()=>{k=null,M=null,L=null}}function oe(I,V){return L&&L(I,V.map(se=>_T(se,N.loaderData)))||I.key}function Oe(I,V){if(k&&M){let ae=oe(I,V);k[ae]=M()}}function Ie(I,V){if(k){let ae=oe(I,V),se=k[ae];if(typeof se=="number")return se}return null}function Me(I,V,ae){if(g)if(I){let se=I[I.length-1].route;if(se.path&&(se.path==="*"||se.path.endsWith("/*")))return{active:!0,matches:A_(V,ae,p,!0)}}else return{active:!0,matches:A_(V,ae,p,!0)||[]};return{active:!1,matches:null}}function We(I,V,ae){return na(this,null,function*(){let se=I,Ve=se.length>0?se[se.length-1].route:null;for(;;){let Fe=h==null,D=h||c;try{yield fW(g,V,se,D,f,s,ct,ae)}catch(He){return{type:"error",error:He,partialMatches:se}}finally{Fe&&(c=[...c])}if(ae.aborted)return{type:"aborted"};let q=nu(D,V,p),pe=!1;if(q){let He=q[q.length-1].route;if(He.index)return{type:"success",matches:q};if(He.path&&He.path.length>0)if(He.path==="*")pe=!0;else return{type:"success",matches:q}}let ke=A_(D,V,p,!0);if(!ke||se.map(He=>He.route.id).join("-")===ke.map(He=>He.route.id).join("-"))return{type:"success",matches:pe?q:null};if(se=ke,Ve=se[se.length-1].route,Ve.path==="*")return{type:"success",matches:se}}})}function Ae(I){f={},h=ef(I,s,void 0,f)}function Qe(I,V){let ae=h==null;OT(I,V,h||c,f,s),ae&&(c=[...c],Te({}))}return Q={get basename(){return p},get future(){return b},get state(){return N},get routes(){return c},get window(){return a},initialize:Tt,subscribe:Ze,enableScrollRestoration:ie,navigate:Lt,fetch:jr,revalidate:jt,createHref:I=>r.history.createHref(I),encodeLocation:I=>r.history.encodeLocation(I),getFetcher:ga,deleteFetcher:st,dispose:wt,getBlocker:vr,deleteBlocker:Yr,patchRoutes:Qe,_internalFetchControllers:W,_internalActiveDeferreds:Pe,_internalSetRoutes:Ae},Q}var AT=Symbol("deferred");function lW(r,a){Nr(r.length>0,"You must provide a non-empty routes array to createStaticHandler");let o={},l=(a?a.basename:null)||"/",s;if(a!=null&&a.mapRouteProperties)s=a.mapRouteProperties;else if(a!=null&&a.detectErrorBoundary){let w=a.detectErrorBoundary;s=k=>({hasErrorBoundary:w(k)})}else s=RT;let f=Ir({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},a?a.future:null),c=ef(r,s,void 0,o);function h(w,k){return na(this,null,function*(){let{requestContext:L,skipLoaderErrorBubbling:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=ou("",ws(O),null,"default"),Q=nu(c,F,l);if(!e2(j)&&j!=="HEAD"){let te=xa(405,{method:j}),{matches:_e,route:re}=O_(c);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Q){let te=xa(404,{pathname:F.pathname}),{matches:_e,route:re}=O_(c);return{basename:l,location:F,matches:_e,loaderData:{},actionData:null,errors:{[re.id]:te},statusCode:te.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let N=yield m(w,F,Q,L,Y||null,M===!0,null);return ec(N)?N:Ir({location:F,basename:l},N)})}function p(w,k){return na(this,null,function*(){let{routeId:L,requestContext:M,unstable_dataStrategy:Y}=k===void 0?{}:k,O=new URL(w.url),j=w.method,F=ou("",ws(O),null,"default"),Q=nu(c,F,l);if(!e2(j)&&j!=="HEAD"&&j!=="OPTIONS")throw xa(405,{method:j});if(!Q)throw xa(404,{pathname:F.pathname});let N=L?Q.find(be=>be.route.id===L):Zc(Q,F);if(L&&!N)throw xa(403,{pathname:F.pathname,routeId:L});if(!N)throw xa(404,{pathname:F.pathname});let te=yield m(w,F,Q,M,Y||null,!1,N);if(ec(te))return te;let _e=te.errors?Object.values(te.errors)[0]:void 0;if(_e!==void 0)throw _e;if(te.actionData)return Object.values(te.actionData)[0];if(te.loaderData){var re;let be=Object.values(te.loaderData)[0];return(re=te.activeDeferreds)!=null&&re[N.route.id]&&(be[AT]=te.activeDeferreds[N.route.id]),be}})}function m(w,k,L,M,Y,O,j){return na(this,null,function*(){Nr(w.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Cl(w.method.toLowerCase()))return yield g(w,L,j||Zc(L,k),M,Y,O,j!=null);let F=yield b(w,L,M,Y,O,j);return ec(F)?F:Ir({},F,{actionData:null,actionHeaders:{}})}catch(F){if(mW(F)&&ec(F.result)){if(F.type===Vr.error)throw F.result;return F.result}if(vW(F))return F;throw F}})}function g(w,k,L,M,Y,O,j){return na(this,null,function*(){let F;if(!L.route.action&&!L.route.lazy){let te=xa(405,{method:w.method,pathname:new URL(w.url).pathname,routeId:L.route.id});if(j)throw te;F={type:Vr.error,error:te}}else F=(yield S("action",w,[L],k,j,M,Y))[0],w.signal.aborted&&aT(w,j,f);if(rc(F))throw new Response(null,{status:F.response.status,headers:{Location:F.response.headers.get("Location")}});if(tc(F)){let te=xa(400,{type:"defer-action"});if(j)throw te;F={type:Vr.error,error:te}}if(j){if(On(F))throw F.error;return{matches:[L],loaderData:{},actionData:{[L.route.id]:F.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let Q=new Request(w.url,{headers:w.headers,redirect:w.redirect,signal:w.signal});if(On(F)){let te=O?L:Jc(k,L.route.id),_e=yield b(Q,k,M,Y,O,null,[te.route.id,F]);return Ir({},_e,{statusCode:Nd(F.error)?F.error.status:F.statusCode!=null?F.statusCode:500,actionData:null,actionHeaders:Ir({},F.headers?{[L.route.id]:F.headers}:{})})}let N=yield b(Q,k,M,Y,O,null);return Ir({},N,{actionData:{[L.route.id]:F.data}},F.statusCode?{statusCode:F.statusCode}:{},{actionHeaders:F.headers?{[L.route.id]:F.headers}:{}})})}function b(w,k,L,M,Y,O,j){return na(this,null,function*(){let F=O!=null;if(F&&!(O!=null&&O.route.loader)&&!(O!=null&&O.route.lazy))throw xa(400,{method:w.method,pathname:new URL(w.url).pathname,routeId:O==null?void 0:O.route.id});let N=(O?[O]:j&&On(j[1])?LT(k,j[0]):k).filter(ye=>ye.route.loader||ye.route.lazy);if(N.length===0)return{matches:k,loaderData:k.reduce((ye,ge)=>Object.assign(ye,{[ge.route.id]:null}),{}),errors:j&&On(j[1])?{[j[0]]:j[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let te=yield S("loader",w,N,k,F,L,M);w.signal.aborted&&aT(w,F,f);let _e=new Map,re=BT(k,N,te,j,_e,Y),be=new Set(N.map(ye=>ye.route.id));return k.forEach(ye=>{be.has(ye.route.id)||(re.loaderData[ye.route.id]=null)}),Ir({},re,{matches:k,activeDeferreds:_e.size>0?Object.fromEntries(_e.entries()):null})})}function S(w,k,L,M,Y,O,j){return na(this,null,function*(){let F=yield PT(j||MT,w,k,L,M,o,s,O);return yield Promise.all(F.map((Q,N)=>{if(jT(Q)){let te=Q.result;throw zT(te,k,L[N].route.id,M,l,f.v7_relativeSplatPath)}if(ec(Q.result)&&Y)throw Q;return IT(Q)}))})}return{dataRoutes:c,query:h,queryRoute:p}}function sW(r,a,o){return Ir({},a,{statusCode:Nd(o)?o.status:500,errors:{[a._deepestRenderedBoundaryId||r[0].id]:o}})}function aT(r,a,o){if(o.v7_throwAbortReason&&r.signal.reason!==void 0)throw r.signal.reason;let l=a?"queryRoute":"query";throw new Error(l+"() call aborted: "+r.method+" "+r.url)}function uW(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function Q0(r,a,o,l,s,f,c,h){let p,m;if(c){p=[];for(let b of a)if(p.push(b),b.route.id===c){m=b;break}}else p=a,m=a[a.length-1];let g=xT(s||".",CT(p,f),Vh(r.pathname,o)||r.pathname,h==="path");return s==null&&(g.search=r.search,g.hash=r.hash),(s==null||s===""||s===".")&&m&&m.route.index&&!a2(g.search)&&(g.search=g.search?g.search.replace(/^\?/,"?index&"):"?index"),l&&o!=="/"&&(g.pathname=g.pathname==="/"?o:Ad([o,g.pathname])),ws(g)}function nT(r,a,o,l){if(!l||!uW(l))return{path:o};if(l.formMethod&&!e2(l.formMethod))return{path:o,error:xa(405,{method:l.formMethod})};let s=()=>({path:o,error:xa(400,{type:"invalid-body"})}),f=l.formMethod||"get",c=r?f.toUpperCase():f.toLowerCase(),h=FT(o);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!Cl(c))return s();let S=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((w,k)=>{let[L,M]=k;return""+w+L+"="+M+`
146
+ `},""):String(l.body);return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:void 0,text:S}}}else if(l.formEncType==="application/json"){if(!Cl(c))return s();try{let S=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:o,submission:{formMethod:c,formAction:h,formEncType:l.formEncType,formData:void 0,json:S,text:void 0}}}catch(S){return s()}}}Nr(typeof FormData=="function","FormData is not available in this environment");let p,m;if(l.formData)p=J0(l.formData),m=l.formData;else if(l.body instanceof FormData)p=J0(l.body),m=l.body;else if(l.body instanceof URLSearchParams)p=l.body,m=uT(p);else if(l.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(l.body),m=uT(p)}catch(S){return s()}let g={formMethod:c,formAction:h,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Cl(g.formMethod))return{path:o,submission:g};let b=Gl(o);return a&&b.search&&a2(b.search)&&p.append("index",""),b.search="?"+p,{path:ws(b),submission:g}}function LT(r,a){let o=r;if(a){let l=r.findIndex(s=>s.route.id===a);l>=0&&(o=r.slice(0,l))}return o}function oT(r,a,o,l,s,f,c,h,p,m,g,b,S,w,k,L){let M=L?On(L[1])?L[1].error:L[1].data:void 0,Y=r.createURL(a.location),O=r.createURL(s),j=L&&On(L[1])?L[0]:void 0,F=j?LT(o,j):o,Q=L?L[1].statusCode:void 0,N=c&&Q&&Q>=400,te=F.filter((re,be)=>{let{route:ye}=re;if(ye.lazy)return!0;if(ye.loader==null)return!1;if(f)return typeof ye.loader!="function"||ye.loader.hydrate?!0:a.loaderData[ye.id]===void 0&&(!a.errors||a.errors[ye.id]===void 0);if(cW(a.loaderData,a.matches[be],re)||p.some(le=>le===re.route.id))return!0;let ge=a.matches[be],H=re;return iT(re,Ir({currentUrl:Y,currentParams:ge.params,nextUrl:O,nextParams:H.params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h||Y.pathname+Y.search===O.pathname+O.search||Y.search!==O.search||NT(ge,H)}))}),_e=[];return b.forEach((re,be)=>{if(f||!o.some(fe=>fe.route.id===re.routeId)||g.has(be))return;let ye=nu(w,re.path,k);if(!ye){_e.push({key:be,routeId:re.routeId,path:re.path,matches:null,match:null,controller:null});return}let ge=a.fetchers.get(be),H=Zc(ye,re.path),le=!1;S.has(be)?le=!1:m.has(be)?(m.delete(be),le=!0):ge&&ge.state!=="idle"&&ge.data===void 0?le=h:le=iT(H,Ir({currentUrl:Y,currentParams:a.matches[a.matches.length-1].params,nextUrl:O,nextParams:o[o.length-1].params},l,{actionResult:M,actionStatus:Q,defaultShouldRevalidate:N?!1:h})),le&&_e.push({key:be,routeId:re.routeId,path:re.path,matches:ye,match:H,controller:new AbortController})}),[te,_e]}function cW(r,a,o){let l=!a||o.route.id!==a.route.id,s=r[o.route.id]===void 0;return l||s}function NT(r,a){let o=r.route.path;return r.pathname!==a.pathname||o!=null&&o.endsWith("*")&&r.params["*"]!==a.params["*"]}function iT(r,a){if(r.route.shouldRevalidate){let o=r.route.shouldRevalidate(a);if(typeof o=="boolean")return o}return a.defaultShouldRevalidate}function fW(r,a,o,l,s,f,c,h){return na(this,null,function*(){let p=[a,...o.map(m=>m.route.id)].join("-");try{let m=c.get(p);m||(m=r({path:a,matches:o,patch:(g,b)=>{h.aborted||OT(g,b,l,s,f)}}),c.set(p,m)),m&&hW(m)&&(yield m)}finally{c.delete(p)}})}function OT(r,a,o,l,s){if(r){var f;let c=l[r];Nr(c,"No route found to patch children into: routeId = "+r);let h=ef(a,s,[r,"patch",String(((f=c.children)==null?void 0:f.length)||"0")],l);c.children?c.children.push(...h):c.children=h}else{let c=ef(a,s,["patch",String(o.length||"0")],l);o.push(...c)}}function lT(r,a,o){return na(this,null,function*(){if(!r.lazy)return;let l=yield r.lazy();if(!r.lazy)return;let s=o[r.id];Nr(s,"No route found in manifest");let f={};for(let c in l){let p=s[c]!==void 0&&c!=="hasErrorBoundary";Ss(!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&&!AV.has(c)&&(f[c]=l[c])}Object.assign(s,f),Object.assign(s,Ir({},a(s),{lazy:void 0}))})}function MT(r){return Promise.all(r.matches.map(a=>a.resolve()))}function PT(r,a,o,l,s,f,c,h){return na(this,null,function*(){let p=l.reduce((b,S)=>b.add(S.route.id),new Set),m=new Set,g=yield r({matches:s.map(b=>{let S=p.has(b.route.id);return Ir({},b,{shouldLoad:S,resolve:k=>(m.add(b.route.id),S?dW(a,o,b,f,c,k,h):Promise.resolve({type:Vr.data,result:void 0}))})}),request:o,params:s[0].params,context:h});return s.forEach(b=>Nr(m.has(b.route.id),'`match.resolve()` was not called for route id "'+b.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),g.filter((b,S)=>p.has(s[S].route.id))})}function dW(r,a,o,l,s,f,c){return na(this,null,function*(){let h,p,m=g=>{let b,S=new Promise((L,M)=>b=M);p=()=>b(),a.signal.addEventListener("abort",p);let w=L=>typeof g!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+r+'" [routeId: '+o.route.id+"]"))):g({request:a,params:o.params,context:c},...L!==void 0?[L]:[]),k;return f?k=f(L=>w(L)):k=na(this,null,function*(){try{return{type:"data",result:yield w()}}catch(L){return{type:"error",result:L}}}),Promise.race([k,S])};try{let g=o.route[r];if(o.route.lazy)if(g){let b,[S]=yield Promise.all([m(g).catch(w=>{b=w}),lT(o.route,s,l)]);if(b!==void 0)throw b;h=S}else if(yield lT(o.route,s,l),g=o.route[r],g)h=yield m(g);else if(r==="action"){let b=new URL(a.url),S=b.pathname+b.search;throw xa(405,{method:a.method,pathname:S,routeId:o.route.id})}else return{type:Vr.data,result:void 0};else if(g)h=yield m(g);else{let b=new URL(a.url),S=b.pathname+b.search;throw xa(404,{pathname:S})}Nr(h.result!==void 0,"You defined "+(r==="action"?"an action":"a loader")+" for route "+('"'+o.route.id+"\" but didn't return anything from your `"+r+"` ")+"function. Please return a value or `null`.")}catch(g){return{type:Vr.error,result:g}}finally{p&&a.signal.removeEventListener("abort",p)}return h})}function IT(r){return na(this,null,function*(){let{result:a,type:o}=r;if(ec(a)){let m;try{let g=a.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?a.body==null?m=null:m=yield a.json():m=yield a.text()}catch(g){return{type:Vr.error,error:g}}return o===Vr.error?{type:Vr.error,error:new Ld(a.status,a.statusText,m),statusCode:a.status,headers:a.headers}:{type:Vr.data,data:m,statusCode:a.status,headers:a.headers}}if(o===Vr.error){if(Z0(a)){var l;if(a.data instanceof Error){var s;return{type:Vr.error,error:a.data,statusCode:(s=a.init)==null?void 0:s.status}}a=new Ld(((l=a.init)==null?void 0:l.status)||500,void 0,a.data)}return{type:Vr.error,error:a,statusCode:Nd(a)?a.status:void 0}}if(HT(a)){var f,c;return{type:Vr.deferred,deferredData:a,statusCode:(f=a.init)==null?void 0:f.status,headers:((c=a.init)==null?void 0:c.headers)&&new Headers(a.init.headers)}}if(Z0(a)){var h,p;return{type:Vr.data,data:a.data,statusCode:(h=a.init)==null?void 0:h.status,headers:(p=a.init)!=null&&p.headers?new Headers(a.init.headers):void 0}}return{type:Vr.data,data:a}})}function zT(r,a,o,l,s,f){let c=r.headers.get("Location");if(Nr(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!r2.test(c)){let h=l.slice(0,l.findIndex(p=>p.route.id===o)+1);c=Q0(new URL(a.url),h,s,!0,c,f),r.headers.set("Location",c)}return r}function sT(r,a,o){if(r2.test(r)){let l=r,s=l.startsWith("//")?new URL(a.protocol+l):new URL(l),f=Vh(s.pathname,o)!=null;if(s.origin===a.origin&&f)return s.pathname+s.search+s.hash}return r}function Rd(r,a,o,l){let s=r.createURL(FT(a)).toString(),f={signal:o};if(l&&Cl(l.formMethod)){let{formMethod:c,formEncType:h}=l;f.method=c.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(l.json)):h==="text/plain"?f.body=l.text:h==="application/x-www-form-urlencoded"&&l.formData?f.body=J0(l.formData):f.body=l.formData}return new Request(s,f)}function J0(r){let a=new URLSearchParams;for(let[o,l]of r.entries())a.append(o,typeof l=="string"?l:l.name);return a}function uT(r){let a=new FormData;for(let[o,l]of r.entries())a.append(o,l);return a}function BT(r,a,o,l,s,f){let c={},h=null,p,m=!1,g={},b=l&&On(l[1])?l[1].error:void 0;return o.forEach((S,w)=>{let k=a[w].route.id;if(Nr(!rc(S),"Cannot handle redirect results in processLoaderData"),On(S)){let L=S.error;if(b!==void 0&&(L=b,b=void 0),h=h||{},f)h[k]=L;else{let M=Jc(r,k);h[M.route.id]==null&&(h[M.route.id]=L)}c[k]=void 0,m||(m=!0,p=Nd(S.error)?S.error.status:500),S.headers&&(g[k]=S.headers)}else tc(S)?(s.set(k,S.deferredData),c[k]=S.deferredData.data,S.statusCode!=null&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers)):(c[k]=S.data,S.statusCode&&S.statusCode!==200&&!m&&(p=S.statusCode),S.headers&&(g[k]=S.headers))}),b!==void 0&&l&&(h={[l[0]]:b},c[l[0]]=void 0),{loaderData:c,errors:h,statusCode:p||200,loaderHeaders:g}}function cT(r,a,o,l,s,f,c,h){let{loaderData:p,errors:m}=BT(a,o,l,s,h,!1);for(let g=0;g<f.length;g++){let{key:b,match:S,controller:w}=f[g];Nr(c!==void 0&&c[g]!==void 0,"Did not find corresponding fetcher result");let k=c[g];if(!(w&&w.signal.aborted))if(On(k)){let L=Jc(r.matches,S==null?void 0:S.route.id);m&&m[L.route.id]||(m=Ir({},m,{[L.route.id]:k.error})),r.fetchers.delete(b)}else if(rc(k))Nr(!1,"Unhandled fetcher revalidation redirect");else if(tc(k))Nr(!1,"Unhandled fetcher deferred data");else{let L=Zu(k.data);r.fetchers.set(b,L)}}return{loaderData:p,errors:m}}function fT(r,a,o,l){let s=Ir({},a);for(let f of o){let c=f.route.id;if(a.hasOwnProperty(c)?a[c]!==void 0&&(s[c]=a[c]):r[c]!==void 0&&f.route.loader&&(s[c]=r[c]),l&&l.hasOwnProperty(c))break}return s}function dT(r){return r?On(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function Jc(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 O_(r){let a=r.length===1?r[0]:r.find(o=>o.index||!o.path||o.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function xa(r,a){let{pathname:o,routeId:l,method:s,type:f,message:c}=a===void 0?{}:a,h="Unknown Server Error",p="Unknown @remix-run/router error";return r===400?(h="Bad Request",f==="route-discovery"?p='Unable to match URL "'+o+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error:
147
+ `+c):s&&o&&l?p="You made a "+s+' request to "'+o+'" but '+('did not provide a `loader` for route "'+l+'", ')+"so there is no way to handle the request.":f==="defer-action"?p="defer() is not supported in actions":f==="invalid-body"&&(p="Unable to encode submission body")):r===403?(h="Forbidden",p='Route "'+l+'" does not match URL "'+o+'"'):r===404?(h="Not Found",p='No route matches URL "'+o+'"'):r===405&&(h="Method Not Allowed",s&&o&&l?p="You made a "+s.toUpperCase()+' request to "'+o+'" but '+('did not provide an `action` for route "'+l+'", ')+"so there is no way to handle the request.":s&&(p='Invalid request method "'+s.toUpperCase()+'"')),new Ld(r||500,h,new Error(p),!0)}function pT(r){for(let a=r.length-1;a>=0;a--){let o=r[a];if(rc(o))return{result:o,idx:a}}}function FT(r){let a=typeof r=="string"?Gl(r):r;return ws(Ir({},a,{hash:""}))}function pW(r,a){return r.pathname!==a.pathname||r.search!==a.search?!1:r.hash===""?a.hash!=="":r.hash===a.hash?!0:a.hash!==""}function hW(r){return typeof r=="object"&&r!=null&&"then"in r}function mW(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type===Vr.data||r.type===Vr.error)}function jT(r){return ec(r.result)&&nW.has(r.result.status)}function tc(r){return r.type===Vr.deferred}function On(r){return r.type===Vr.error}function rc(r){return(r&&r.type)===Vr.redirect}function Z0(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function HT(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 ec(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body!="undefined"}function vW(r){if(!ec(r))return!1;let a=r.status,o=r.headers.get("Location");return a>=300&&a<=399&&o!=null}function e2(r){return aW.has(r.toLowerCase())}function Cl(r){return tW.has(r.toLowerCase())}function hT(r,a,o,l,s,f){return na(this,null,function*(){for(let c=0;c<o.length;c++){let h=o[c],p=a[c];if(!p)continue;let m=r.find(b=>b.route.id===p.route.id),g=m!=null&&!NT(m,p)&&(f&&f[p.route.id])!==void 0;if(tc(h)&&(s||g)){let b=l[c];Nr(b,"Expected an AbortSignal for revalidating fetcher deferred result"),yield UT(h,b,s).then(S=>{S&&(o[c]=S||o[c])})}}})}function UT(r,a,o){return na(this,null,function*(){if(o===void 0&&(o=!1),!(yield r.deferredData.resolveData(a))){if(o)try{return{type:Vr.data,data:r.deferredData.unwrappedData}}catch(s){return{type:Vr.error,error:s}}return{type:Vr.data,data:r.deferredData.data}}})}function a2(r){return new URLSearchParams(r).getAll("index").some(a=>a==="")}function Zc(r,a){let o=typeof a=="string"?Gl(a).search:a.search;if(r[r.length-1].route.index&&a2(o||""))return r[r.length-1];let l=wT(r);return l[l.length-1]}function mT(r){let{formMethod:a,formAction:o,formEncType:l,text:s,formData:f,json:c}=r;if(!(!a||!o||!l)){if(s!=null)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(f!=null)return{formMethod:a,formAction:o,formEncType:l,formData:f,json:void 0,text:void 0};if(c!==void 0)return{formMethod:a,formAction:o,formEncType:l,formData:void 0,json:c,text:void 0}}}function G0(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 _W(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 Hh(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 gW(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 Zu(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 bW(r,a){try{let o=r.sessionStorage.getItem(DT);if(o){let l=JSON.parse(o);for(let[s,f]of Object.entries(l||{}))f&&Array.isArray(f)&&a.set(s,new Set(f||[]))}}catch(o){}}function yW(r,a){if(a.size>0){let o={};for(let[l,s]of a)o[l]=[...s];try{r.sessionStorage.setItem(DT,JSON.stringify(o))}catch(l){Ss(!1,"Failed to save applied view transitions in sessionStorage ("+l+").")}}}ir.AbortedDeferredError=Uh;ir.Action=Ia;ir.IDLE_BLOCKER=Dd;ir.IDLE_FETCHER=ET;ir.IDLE_NAVIGATION=L_;ir.UNSAFE_DEFERRED_SYMBOL=AT;ir.UNSAFE_DeferredData=N_;ir.UNSAFE_ErrorResponseImpl=Ld;ir.UNSAFE_convertRouteMatchToUiMatch=_T;ir.UNSAFE_convertRoutesToDataRoutes=ef;ir.UNSAFE_decodePath=yT;ir.UNSAFE_getResolveToMatches=CT;ir.UNSAFE_invariant=Nr;ir.UNSAFE_warning=Ss;ir.createBrowserHistory=EV;ir.createHashHistory=RV;ir.createMemoryHistory=TV;ir.createPath=ws;ir.createRouter=iW;ir.createStaticHandler=lW;ir.defer=JV;ir.generatePath=UV;ir.getStaticContextFromError=sW;ir.getToPathname=qV;ir.isDataWithResponseInit=Z0;ir.isDeferredData=HT;ir.isRouteErrorResponse=Nd;ir.joinPaths=Ad;ir.json=GV;ir.matchPath=K0;ir.matchRoutes=nu;ir.normalizePathname=kT;ir.parsePath=Gl;ir.redirect=t2;ir.redirectDocument=ZV;ir.replace=eW;ir.resolvePath=ST;ir.resolveTo=xT;ir.stripBasename=Vh;ir.unstable_data=KV});var WT=Ue((M_,VT)=>{(function(r,a){typeof M_=="object"&&typeof VT!="undefined"?a(M_,cr(),n2()):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))})(M_,function(r,a,o){"use strict";function l($){if($&&$.__esModule)return $;var P=Object.create(null);return $&&Object.keys($).forEach(function(R){if(R!=="default"){var z=Object.getOwnPropertyDescriptor($,R);Object.defineProperty(P,R,z.get?z:{enumerable:!0,get:function(){return $[R]}})}}),P.default=$,Object.freeze(P)}var s=l(a);function f(){return f=Object.assign?Object.assign.bind():function($){for(var P=1;P<arguments.length;P++){var R=arguments[P];for(var z in R)Object.prototype.hasOwnProperty.call(R,z)&&($[z]=R[z])}return $},f.apply(this,arguments)}let c=s.createContext(null);c.displayName="DataRouter";let h=s.createContext(null);h.displayName="DataRouterState";let p=s.createContext(null);p.displayName="Await";let m=s.createContext(null);m.displayName="Navigation";let g=s.createContext(null);g.displayName="Location";let b=s.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";let S=s.createContext(null);S.displayName="RouteError";function w($,P){let{relative:R}=P===void 0?{}:P;k()||o.UNSAFE_invariant(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:z,navigator:G}=s.useContext(m),{hash:ie,pathname:oe,search:Oe}=be($,{relative:R}),Ie=oe;return z!=="/"&&(Ie=oe==="/"?z:o.joinPaths([z,oe])),G.createHref({pathname:Ie,search:Oe,hash:ie})}function k(){return s.useContext(g)!=null}function L(){return k()||o.UNSAFE_invariant(!1,"useLocation() may be used only in the context of a <Router> component."),s.useContext(g).location}function M(){return s.useContext(g).navigationType}function Y($){k()||o.UNSAFE_invariant(!1,"useMatch() may be used only in the context of a <Router> component.");let{pathname:P}=L();return s.useMemo(()=>o.matchPath($,o.UNSAFE_decodePath(P)),[P,$])}let O="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j($){s.useContext(m).static||s.useLayoutEffect($)}function F(){let{isDataRoute:$}=s.useContext(b);return $?er():Q()}function Q(){k()||o.UNSAFE_invariant(!1,"useNavigate() may be used only in the context of a <Router> component.");let $=s.useContext(c),{basename:P,future:R,navigator:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:ie}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches(G,R.v7_relativeSplatPath)),Oe=s.useRef(!1);return j(()=>{Oe.current=!0}),s.useCallback(function(Me,We){if(We===void 0&&(We={}),o.UNSAFE_warning(Oe.current,O),!Oe.current)return;if(typeof Me=="number"){z.go(Me);return}let Ae=o.resolveTo(Me,JSON.parse(oe),ie,We.relative==="path");$==null&&P!=="/"&&(Ae.pathname=Ae.pathname==="/"?P:o.joinPaths([P,Ae.pathname])),(We.replace?z.replace:z.push)(Ae,We.state,We)},[P,z,oe,ie,$])}let N=s.createContext(null);function te(){return s.useContext(N)}function _e($){let P=s.useContext(b).outlet;return P&&s.createElement(N.Provider,{value:$},P)}function re(){let{matches:$}=s.useContext(b),P=$[$.length-1];return P?P.params:{}}function be($,P){let{relative:R}=P===void 0?{}:P,{future:z}=s.useContext(m),{matches:G}=s.useContext(b),{pathname:ie}=L(),oe=JSON.stringify(o.UNSAFE_getResolveToMatches(G,z.v7_relativeSplatPath));return s.useMemo(()=>o.resolveTo($,JSON.parse(oe),ie,R==="path"),[$,oe,ie,R])}function ye($,P){return ge($,P)}function ge($,P,R,z){k()||o.UNSAFE_invariant(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=s.useContext(m),{matches:ie}=s.useContext(b),oe=ie[ie.length-1],Oe=oe?oe.params:{},Ie=oe?oe.pathname:"/",Me=oe?oe.pathnameBase:"/",We=oe&&oe.route;{let Fe=We&&We.path||"";Tr(Ie,!We||Fe.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+Ie+'" (under <Route path="'+Fe+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
148
148
 
149
- `+('Please change the parent <Route path="'+Fe+'"> to <Route ')+('path="'+(Fe==="/"?"*":Fe+"/*")+'">.'))}let Ae=L(),Qe;if(P){var I;let Fe=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Fe.pathname)!=null&&I.startsWith(Me)||o.UNSAFE_invariant(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+Me+'" ')+('but pathname "'+Fe.pathname+'" was given in the `location` prop.')),Qe=Fe}else Qe=Ae;let V=Qe.pathname||"/",re=V;if(Me!=="/"){let Fe=Me.replace(/^\//,"").split("/");re="/"+V.replace(/^\//,"").split("/").slice(Fe.length).join("/")}let se=o.matchRoutes($,{pathname:re});o.UNSAFE_warning(Ye||se!=null,'No routes matched location "'+Qe.pathname+Qe.search+Qe.hash+'" '),o.UNSAFE_warning(se==null||se[se.length-1].route.element!==void 0||se[se.length-1].route.Component!==void 0||se[se.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Qe.pathname+Qe.search+Qe.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let We=W(se&&se.map(Fe=>Object.assign({},Fe,{params:Object.assign({},Oe,Fe.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathname).pathname:Fe.pathname]),pathnameBase:Fe.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathnameBase).pathname:Fe.pathnameBase])})),ie,R,z);return P&&We?s.createElement(g.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Qe),navigationType:o.Action.Pop}},We):We}function H(){let $=we(),P=o.isRouteErrorResponse($)?$.status+" "+$.statusText:$ instanceof Error?$.message:JSON.stringify($),R=$ instanceof Error?$.stack:null,z="rgba(200,200,200, 0.5)",G={padding:"0.5rem",backgroundColor:z},ie={padding:"2px 4px",backgroundColor:z},oe=null;return console.error("Error handled by React Router default ErrorBoundary:",$),oe=s.createElement(s.Fragment,null,s.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:ie},"ErrorBoundary")," or"," ",s.createElement("code",{style:ie},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},P),R?s.createElement("pre",{style:G},R):null,oe)}let le=s.createElement(H,null);class fe extends s.Component{constructor(P){super(P),this.state={location:P.location,revalidation:P.revalidation,error:P.error}}static getDerivedStateFromError(P){return{error:P}}static getDerivedStateFromProps(P,R){return R.location!==P.location||R.revalidation!=="idle"&&P.revalidation==="idle"?{error:P.error,location:P.location,revalidation:P.revalidation}:{error:P.error!==void 0?P.error:R.error,location:R.location,revalidation:P.revalidation||R.revalidation}}componentDidCatch(P,R){console.error("React Router caught the following error during render",P,R)}render(){return this.state.error!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=s.useContext(c);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),s.createElement(b.Provider,{value:P},z)}function W($,P,R,z){var G;if(P===void 0&&(P=[]),R===void 0&&(R=null),z===void 0&&(z=null),$==null){var ie;if(!R)return null;if(R.errors)$=R.matches;else if((ie=z)!=null&&ie.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let oe=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let Ye=oe.findIndex(Ae=>Ae.route.id&&(Oe==null?void 0:Oe[Ae.route.id])!==void 0);Ye>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Oe).join(",")),oe=oe.slice(0,Math.min(oe.length,Ye+1))}let Ie=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let Ye=0;Ye<oe.length;Ye++){let Ae=oe[Ye];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Me=Ye),Ae.route.id){let{loaderData:Qe,errors:I}=R,V=Ae.route.loader&&Qe[Ae.route.id]===void 0&&(!I||I[Ae.route.id]===void 0);if(Ae.route.lazy||V){Ie=!0,Me>=0?oe=oe.slice(0,Me+1):oe=[oe[0]];break}}}return oe.reduceRight((Ye,Ae,Qe)=>{let I,V=!1,re=null,se=null;R&&(I=Oe&&Ae.route.id?Oe[Ae.route.id]:void 0,re=Ae.route.errorElement||le,Ie&&(Me<0&&Qe===0?(Cr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,se=null):Me===Qe&&(V=!0,se=Ae.route.hydrateFallbackElement||null)));let We=P.concat(oe.slice(0,Qe+1)),Fe=()=>{let D;return I?D=re:V?D=se:Ae.route.Component?D=s.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=Ye,s.createElement(B,{match:Ae,routeContext:{outlet:Ye,matches:We,isDataRoute:R!=null},children:D})};return R&&(Ae.route.ErrorBoundary||Ae.route.errorElement||Qe===0)?s.createElement(fe,{location:R.location,revalidation:R.revalidation,component:re,error:I,children:Fe(),routeContext:{outlet:null,matches:We,isDataRoute:!0}}):Fe()},null)}var ne=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ne||{}),ee=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(ee||{});function de($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function ke($){let P=s.useContext(c);return P||o.UNSAFE_invariant(!1,de($)),P}function be($){let P=s.useContext(h);return P||o.UNSAFE_invariant(!1,de($)),P}function Pe($){let P=s.useContext(b);return P||o.UNSAFE_invariant(!1,de($)),P}function qe($){let P=Pe($),R=P.matches[P.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,$+' can only be used on routes that contain a unique "id"'),R.route.id}function He(){return qe(ee.UseRouteId)}function at(){return be(ee.UseNavigation).navigation}function Tt(){let $=ke(ne.UseRevalidator),P=be(ee.UseRevalidator);return s.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function ft(){let{matches:$,loaderData:P}=be(ee.UseMatches);return s.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function wt(){let $=be(ee.UseLoaderData),P=qe(ee.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function vt($){return be(ee.UseRouteLoaderData).loaderData[$]}function tt(){let $=be(ee.UseActionData),P=qe(ee.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function we(){var $;let P=s.useContext(S),R=be(ee.UseRouteError),z=qe(ee.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function yt(){let $=s.useContext(p);return $==null?void 0:$._data}function Lt(){let $=s.useContext(p);return $==null?void 0:$._error}let Ft=0;function Ht($){let{router:P,basename:R}=ke(ne.UseBlocker),z=be(ee.UseBlocker),[G,ie]=s.useState(""),oe=s.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Ie,nextLocation:Me,historyAction:Ye}=Oe;return $({currentLocation:f({},Ie,{pathname:o.stripBasename(Ie.pathname,R)||Ie.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:Ye})},[R,$]);return s.useEffect(()=>{let Oe=String(++Ft);return ie(Oe),()=>P.deleteBlocker(Oe)},[P]),s.useEffect(()=>{G!==""&&P.getBlocker(G,oe)},[P,G,oe]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function er(){let{router:$}=ke(ne.UseNavigateStable),P=qe(ee.UseNavigateStable),R=s.useRef(!1);return j(()=>{R.current=!0}),s.useCallback(function(G,ie){ie===void 0&&(ie={}),o.UNSAFE_warning(R.current,O),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},ie)))},[$,P])}let sr={};function Cr($,P,R){!P&&!sr[$]&&(sr[$]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function qr($){let{fallbackElement:P,router:R,future:z}=$,[G,ie]=s.useState(R.state),{v7_startTransition:oe}=z||{},Oe=s.useCallback(Ae=>{oe&&jr?jr(()=>ie(Ae)):ie(Ae)},[ie,oe]);s.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),s.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ie=s.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Ae=>R.navigate(Ae),push:(Ae,Qe,I)=>R.navigate(Ae,{state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Ae,Qe,I)=>R.navigate(Ae,{replace:!0,state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",Ye=s.useMemo(()=>({router:R,navigator:Ie,static:!1,basename:Me}),[R,Ie,Me]);return s.createElement(s.Fragment,null,s.createElement(c.Provider,{value:Ye},s.createElement(h.Provider,{value:G},s.createElement(hr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Ie,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?s.createElement(ur,{routes:R.routes,future:R.future,state:G}):P))),null)}function ur($){let{routes:P,future:R,state:z}=$;return ge(P,void 0,z,R)}function Dr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:ie}=$,oe=s.useRef();oe.current==null&&(oe.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=oe.current,[Ie,Me]=s.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:Ye}=ie||{},Ae=s.useCallback(Qe=>{Ye&&jr?jr(()=>Me(Qe)):Me(Qe)},[Me,Ye]);return s.useLayoutEffect(()=>Oe.listen(Ae),[Oe,Ae]),s.createElement(hr,{basename:P,children:R,location:Ie.location,navigationType:Ie.action,navigator:Oe,future:ie})}function xr($){let{to:P,replace:R,state:z,relative:G}=$;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:ie,static:oe}=s.useContext(m);o.UNSAFE_warning(!oe,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Oe}=s.useContext(b),{pathname:Ie}=L(),Me=F(),Ye=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,ie.v7_relativeSplatPath),Ie,G==="path"),Ae=JSON.stringify(Ye);return s.useEffect(()=>Me(JSON.parse(Ae),{replace:R,state:z,relative:G}),[Me,Ae,G,R,z]),null}function ha($){return _e($.context)}function yr($){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function hr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:ie,static:oe=!1,future:Oe}=$;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Ie=P.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Ie,navigator:ie,static:oe,future:f({v7_relativeSplatPath:!1},Oe)}),[Ie,Oe,ie,oe]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:Ye="/",search:Ae="",hash:Qe="",state:I=null,key:V="default"}=z,re=s.useMemo(()=>{let se=o.stripBasename(Ye,Ie);return se==null?null:{location:{pathname:se,search:Ae,hash:Qe,state:I,key:V},navigationType:G}},[Ie,Ye,Ae,Qe,I,V,G]);return o.UNSAFE_warning(re!=null,'<Router basename="'+Ie+'"> is not able to match the URL '+('"'+Ye+Ae+Qe+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),re==null?null:s.createElement(m.Provider,{value:Me},s.createElement(g.Provider,{children:R,value:re}))}function Mr($){let{children:P,location:R}=$;return Se(Ut(P),R)}function _a($){let{children:P,errorElement:R,resolve:z}=$;return s.createElement(gt,{resolve:z,errorElement:R},s.createElement($t,null,P))}var Be=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(Be||{});let it=new Promise(()=>{});class gt extends s.Component{constructor(P){super(P),this.state={error:null}}static getDerivedStateFromError(P){return{error:P}}componentDidCatch(P,R){console.error("<Await> caught the following error during render",P,R)}render(){let{children:P,errorElement:R,resolve:z}=this.props,G=null,ie=Be.pending;if(!(z instanceof Promise))ie=Be.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){ie=Be.error;let oe=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>oe})}else z._tracked?(G=z,ie="_error"in G?Be.error:"_data"in G?Be.success:Be.pending):(ie=Be.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(oe=>Object.defineProperty(z,"_data",{get:()=>oe}),oe=>Object.defineProperty(z,"_error",{get:()=>oe})));if(ie===Be.error&&G._error instanceof o.AbortedDeferredError)throw it;if(ie===Be.error&&!R)throw G._error;if(ie===Be.error)return s.createElement(p.Provider,{value:G,children:R});if(ie===Be.success)return s.createElement(p.Provider,{value:G,children:P});throw G}}function $t($){let{children:P}=$,R=yt(),z=typeof P=="function"?P(R):P;return s.createElement(s.Fragment,null,z)}function Ut($,P){P===void 0&&(P=[]);let R=[];return s.Children.forEach($,(z,G)=>{if(!s.isValidElement(z))return;let ie=[...P,G];if(z.type===s.Fragment){R.push.apply(R,Ut(z.props.children,ie));return}z.type!==yr&&o.UNSAFE_invariant(!1,"["+(typeof z.type=="string"?z.type:z.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!z.props.index||!z.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let oe={id:z.props.id||ie.join("-"),caseSensitive:z.props.caseSensitive,element:z.props.element,Component:z.props.Component,index:z.props.index,path:z.props.path,loader:z.props.loader,action:z.props.action,errorElement:z.props.errorElement,ErrorBoundary:z.props.ErrorBoundary,hasErrorBoundary:z.props.ErrorBoundary!=null||z.props.errorElement!=null,shouldRevalidate:z.props.shouldRevalidate,handle:z.props.handle,lazy:z.props.lazy};z.props.children&&(oe.children=Ut(z.props.children,ie)),R.push(oe)}),R}function kr($){return W($)}function mr($){let P={hasErrorBoundary:$.ErrorBoundary!=null||$.errorElement!=null};return $.Component&&($.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(P,{element:s.createElement($.Component),Component:void 0})),$.HydrateFallback&&($.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(P,{hydrateFallbackElement:s.createElement($.HydrateFallback),HydrateFallback:void 0})),$.ErrorBoundary&&($.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(P,{errorElement:s.createElement($.ErrorBoundary),ErrorBoundary:void 0})),P}function Yr($,P){return o.createRouter({basename:P==null?void 0:P.basename,future:f({},P==null?void 0:P.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:P==null?void 0:P.initialEntries,initialIndex:P==null?void 0:P.initialIndex}),hydrationData:P==null?void 0:P.hydrationData,routes:$,mapRouteProperties:mr,unstable_dataStrategy:P==null?void 0:P.unstable_dataStrategy,unstable_patchRoutesOnMiss:P==null?void 0:P.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return o.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return o.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return o.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return o.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return o.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return o.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return o.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return o.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return o.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return o.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return o.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return o.resolvePath}}),r.Await=_a,r.MemoryRouter=Dr,r.Navigate=xr,r.Outlet=ha,r.Route=yr,r.Router=hr,r.RouterProvider=qr,r.Routes=Mr,r.UNSAFE_DataRouterContext=c,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=mr,r.UNSAFE_useRouteId=He,r.UNSAFE_useRoutesImpl=ge,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Ut,r.createRoutesFromElements=Ut,r.renderMatches=kr,r.useActionData=tt,r.useAsyncError=Lt,r.useAsyncValue=yt,r.useBlocker=Ht,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=wt,r.useLocation=L,r.useMatch=Y,r.useMatches=ft,r.useNavigate=F,r.useNavigation=at,r.useNavigationType=M,r.useOutlet=_e,r.useOutletContext=te,r.useParams=ae,r.useResolvedPath=ye,r.useRevalidator=Tt,r.useRouteError=we,r.useRouteLoaderData=vt,r.useRoutes=Se,Object.defineProperty(r,"__esModule",{value:!0})})});var YT=Ve((eG,qT)=>{"use strict";qT.exports=WT()});var GT=Ve((P_,$T)=>{(function(r,a){typeof P_=="object"&&typeof $T!="undefined"?a(P_,cr(),W0(),YT(),n2()):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))})(P_,function(r,a,o,l,s){"use strict";function f(R){if(R&&R.__esModule)return R;var z=Object.create(null);return R&&Object.keys(R).forEach(function(G){if(G!=="default"){var ie=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,ie.get?ie:{enumerable:!0,get:function(){return R[G]}})}}),z.default=R,Object.freeze(z)}var c=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(R){for(var z=1;z<arguments.length;z++){var G=arguments[z];for(var ie in G)Object.prototype.hasOwnProperty.call(G,ie)&&(R[ie]=G[ie])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},ie=Object.keys(R),oe,Oe;for(Oe=0;Oe<ie.length;Oe++)oe=ie[Oe],!(z.indexOf(oe)>=0)&&(G[oe]=R[oe]);return G}let g="get",b="application/x-www-form-urlencoded";function S(R){return R!=null&&typeof R.tagName=="string"}function w(R){return S(R)&&R.tagName.toLowerCase()==="button"}function k(R){return S(R)&&R.tagName.toLowerCase()==="form"}function L(R){return S(R)&&R.tagName.toLowerCase()==="input"}function M(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!M(R)}function O(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((z,G)=>{let ie=R[G];return z.concat(Array.isArray(ie)?ie.map(oe=>[G,oe]):[[G,ie]])},[]))}function j(R,z){let G=O(R);return z&&z.forEach((ie,oe)=>{G.has(oe)||z.getAll(oe).forEach(Oe=>{G.append(oe,Oe)})}),G}let F=null;function J(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let N=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(R){return R!=null&&!N.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function _e(R,z){let G,ie,oe,Oe,Ie;if(k(R)){let Me=R.getAttribute("action");ie=Me?s.stripBasename(Me,z):null,G=R.getAttribute("method")||g,oe=te(R.getAttribute("enctype"))||b,Oe=new FormData(R)}else if(w(R)||L(R)&&(R.type==="submit"||R.type==="image")){let Me=R.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Ye=R.getAttribute("formaction")||Me.getAttribute("action");if(ie=Ye?s.stripBasename(Ye,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||g,oe=te(R.getAttribute("formenctype"))||te(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!J()){let{name:Ae,type:Qe,value:I}=R;if(Qe==="image"){let V=Ae?Ae+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Ae&&Oe.append(Ae,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=g,ie=null,oe=b,Ie=R}return Oe&&oe==="text/plain"&&(Ie=Oe,Oe=void 0),{action:ie,method:G.toLowerCase(),encType:oe,formData:Oe,body:Ie}}let ae=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ye=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Se=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],ge="6";try{window.__reactRouterVersion=ge}catch(R){}function H(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function le(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function fe(){var R;let z=(R=window)==null?void 0:R.__staticRouterHydrationData;return z&&z.errors&&(z=p({},z,{errors:B(z.errors)})),z}function B(R){if(!R)return null;let z=Object.entries(R),G={};for(let[ie,oe]of z)if(oe&&oe.__type==="RouteErrorResponse")G[ie]=new s.UNSAFE_ErrorResponseImpl(oe.status,oe.statusText,oe.data,oe.internal===!0);else if(oe&&oe.__type==="Error"){if(oe.__subType){let Oe=window[oe.__subType];if(typeof Oe=="function")try{let Ie=new Oe(oe.message);Ie.stack="",G[ie]=Ie}catch(Ie){}}if(G[ie]==null){let Oe=new Error(oe.message);Oe.stack="",G[ie]=Oe}}else G[ie]=oe;return G}let W=c.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ne=c.createContext(new Map);ne.displayName="Fetchers";let de=c["startTransition"],be=h["flushSync"],qe=c["useId"];function He(R){de?de(R):R()}function at(R){be?be(R):R()}class Tt{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=ie=>{this.status==="pending"&&(this.status="resolved",z(ie))},this.reject=ie=>{this.status==="pending"&&(this.status="rejected",G(ie))}})}}function ft(R){let{fallbackElement:z,router:G,future:ie}=R,[oe,Oe]=c.useState(G.state),[Ie,Me]=c.useState(),[Ye,Ae]=c.useState({isTransitioning:!1}),[Qe,I]=c.useState(),[V,re]=c.useState(),[se,We]=c.useState(),Fe=c.useRef(new Map),{v7_startTransition:D}=ie||{},q=c.useCallback(Ke=>{D?He(Ke):Ke()},[D]),pe=c.useCallback((Ke,Ct)=>{let{deletedFetchers:kt,unstable_flushSync:Vt,unstable_viewTransitionOpts:$r}=Ct;kt.forEach(la=>Fe.current.delete(la)),Ke.fetchers.forEach((la,sa)=>{la.data!==void 0&&Fe.current.set(sa,la.data)});let Ha=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!$r||Ha){Vt?at(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Vt){at(()=>{V&&(Qe&&Qe.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let la=G.window.document.startViewTransition(()=>{at(()=>Oe(Ke))});la.finished.finally(()=>{at(()=>{I(void 0),re(void 0),Me(void 0),Ae({isTransitioning:!1})})}),at(()=>re(la));return}V?(Qe&&Qe.resolve(),V.skipTransition(),We({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Me(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[G.window,V,Qe,Fe,q]);c.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),c.useEffect(()=>{Ye.isTransitioning&&!Ye.flushSync&&I(new Tt)},[Ye]),c.useEffect(()=>{if(Qe&&Ie&&G.window){let Ke=Ie,Ct=Qe.promise,kt=G.window.document.startViewTransition(()=>na(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));kt.finished.finally(()=>{I(void 0),re(void 0),Me(void 0),Ae({isTransitioning:!1})}),re(kt)}},[q,Ie,Qe,G.window]),c.useEffect(()=>{Qe&&Ie&&oe.location.key===Ie.location.key&&Qe.resolve()},[Qe,V,oe.location,Ie]),c.useEffect(()=>{!Ye.isTransitioning&&se&&(Me(se.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}),We(void 0))},[Ye.isTransitioning,se]),c.useEffect(()=>{s.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Te=c.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,kt)=>G.navigate(Ke,{state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset}),replace:(Ke,Ct,kt)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset})}),[G]),Ue=G.basename||"/",st=c.useMemo(()=>({router:G,navigator:Te,static:!1,basename:Ue}),[G,Te,Ue]),Je=c.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return c.createElement(c.Fragment,null,c.createElement(l.UNSAFE_DataRouterContext.Provider,{value:st},c.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:oe},c.createElement(ne.Provider,{value:Fe.current},c.createElement(W.Provider,{value:Ye},c.createElement(l.Router,{basename:Ue,location:oe.location,navigationType:oe.historyAction,navigator:Te,future:Je},oe.initialized||G.future.v7_partialHydration?c.createElement(wt,{routes:G.routes,future:G.future,state:oe}):z))))),null)}let wt=c.memo(vt);function vt(R){let{routes:z,future:G,state:ie}=R;return l.UNSAFE_useRoutesImpl(z,void 0,ie,G)}function tt(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=c.useRef();Oe.current==null&&(Oe.current=s.createBrowserHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,Ye]=c.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Ae}=ie||{},Qe=c.useCallback(I=>{Ae&&de?de(()=>Ye(I)):Ye(I)},[Ye,Ae]);return c.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),c.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function we(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=c.useRef();Oe.current==null&&(Oe.current=s.createHashHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,Ye]=c.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Ae}=ie||{},Qe=c.useCallback(I=>{Ae&&de?de(()=>Ye(I)):Ye(I)},[Ye,Ae]);return c.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),c.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function yt(R){let{basename:z,children:G,future:ie,history:oe}=R,[Oe,Ie]=c.useState({action:oe.action,location:oe.location}),{v7_startTransition:Me}=ie||{},Ye=c.useCallback(Ae=>{Me&&de?de(()=>Ie(Ae)):Ie(Ae)},[Ie,Me]);return c.useLayoutEffect(()=>oe.listen(Ye),[oe,Ye]),c.createElement(l.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:oe,future:ie})}yt.displayName="unstable_HistoryRouter";let Lt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Ft=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ht=c.forwardRef(function(z,G){let{onClick:ie,relative:oe,reloadDocument:Oe,replace:Ie,state:Me,target:Ye,to:Ae,preventScrollReset:Qe,unstable_viewTransition:I}=z,V=m(z,ae),{basename:re}=c.useContext(l.UNSAFE_NavigationContext),se,We=!1;if(typeof Ae=="string"&&Ft.test(Ae)&&(se=Ae,Lt))try{let pe=new URL(window.location.href),Te=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),Ue=s.stripBasename(Te.pathname,re);Te.origin===pe.origin&&Ue!=null?Ae=Ue+Te.search+Te.hash:We=!0}catch(pe){s.UNSAFE_warning(!1,'<Link to="'+Ae+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Fe=l.useHref(Ae,{relative:oe}),D=xr(Ae,{replace:Ie,state:Me,target:Ye,preventScrollReset:Qe,relative:oe,unstable_viewTransition:I});function q(pe){ie&&ie(pe),pe.defaultPrevented||D(pe)}return c.createElement("a",p({},V,{href:se||Fe,onClick:We||Oe?ie:q,ref:G,target:Ye}))});Ht.displayName="Link";let er=c.forwardRef(function(z,G){let{"aria-current":ie="page",caseSensitive:oe=!1,className:Oe="",end:Ie=!1,style:Me,to:Ye,unstable_viewTransition:Ae,children:Qe}=z,I=m(z,ye),V=l.useResolvedPath(Ye,{relative:I.relative}),re=l.useLocation(),se=c.useContext(l.UNSAFE_DataRouterStateContext),{navigator:We,basename:Fe}=c.useContext(l.UNSAFE_NavigationContext),D=se!=null&&P(V)&&Ae===!0,q=We.encodeLocation?We.encodeLocation(V).pathname:V.pathname,pe=re.pathname,Te=se&&se.navigation&&se.navigation.location?se.navigation.location.pathname:null;oe||(pe=pe.toLowerCase(),Te=Te?Te.toLowerCase():null,q=q.toLowerCase()),Te&&Fe&&(Te=s.stripBasename(Te,Fe)||Te);let Ue=q!=="/"&&q.endsWith("/")?q.length-1:q.length,st=pe===q||!Ie&&pe.startsWith(q)&&pe.charAt(Ue)==="/",Je=Te!=null&&(Te===q||!Ie&&Te.startsWith(q)&&Te.charAt(q.length)==="/"),Ke={isActive:st,isPending:Je,isTransitioning:D},Ct=st?ie:void 0,kt;typeof Oe=="function"?kt=Oe(Ke):kt=[Oe,st?"active":null,Je?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Vt=typeof Me=="function"?Me(Ke):Me;return c.createElement(Ht,p({},I,{"aria-current":Ct,className:kt,ref:G,style:Vt,to:Ye,unstable_viewTransition:Ae}),typeof Qe=="function"?Qe(Ke):Qe)});er.displayName="NavLink";let sr=c.forwardRef((R,z)=>{let{fetcherKey:G,navigate:ie,reloadDocument:oe,replace:Oe,state:Ie,method:Me=g,action:Ye,onSubmit:Ae,relative:Qe,preventScrollReset:I,unstable_viewTransition:V}=R,re=m(R,Se),se=_a(),We=Be(Ye,{relative:Qe}),Fe=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Ae&&Ae(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,Te=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;se(pe||q.currentTarget,{fetcherKey:G,method:Te,navigate:ie,replace:Oe,state:Ie,relative:Qe,preventScrollReset:I,unstable_viewTransition:V})};return c.createElement("form",p({ref:z,method:Fe,action:We,onSubmit:oe?Ae:D},re))});sr.displayName="Form";function Cr(R){let{getKey:z,storageKey:G}=R;return kr({getKey:z,storageKey:G}),null}Cr.displayName="ScrollRestoration";var ra=function(R){return R.UseScrollRestoration="useScrollRestoration",R.UseSubmit="useSubmit",R.UseSubmitFetcher="useSubmitFetcher",R.UseFetcher="useFetcher",R.useViewTransitionState="useViewTransitionState",R}(ra||{}),jr=function(R){return R.UseFetcher="useFetcher",R.UseFetchers="useFetchers",R.UseScrollRestoration="useScrollRestoration",R}(jr||{});function qr(R){return R+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function ur(R){let z=c.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function Dr(R){let z=c.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function xr(R,z){let{target:G,replace:ie,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me}=z===void 0?{}:z,Ye=l.useNavigate(),Ae=l.useLocation(),Qe=l.useResolvedPath(R,{relative:Ie});return c.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=ie!==void 0?ie:l.createPath(Ae)===l.createPath(Qe);Ye(R,{replace:V,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me})}},[Ae,Ye,Qe,ie,oe,G,R,Oe,Ie,Me])}function ha(R){s.UNSAFE_warning(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let z=c.useRef(O(R)),G=c.useRef(!1),ie=l.useLocation(),oe=c.useMemo(()=>j(ie.search,G.current?null:z.current),[ie.search]),Oe=l.useNavigate(),Ie=c.useCallback((Me,Ye)=>{let Ae=O(typeof Me=="function"?Me(oe):Me);G.current=!0,Oe("?"+Ae,Ye)},[Oe,oe]);return[oe,Ie]}function yr(){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 hr=0,Mr=()=>"__"+String(++hr)+"__";function _a(){let{router:R}=ur(ra.UseSubmit),{basename:z}=c.useContext(l.UNSAFE_NavigationContext),G=l.UNSAFE_useRouteId();return c.useCallback(function(ie,oe){oe===void 0&&(oe={}),yr();let{action:Oe,method:Ie,encType:Me,formData:Ye,body:Ae}=_e(ie,z);if(oe.navigate===!1){let Qe=oe.fetcherKey||Mr();R.fetch(Qe,G,oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:Ye,body:Ae,formMethod:oe.method||Ie,formEncType:oe.encType||Me,unstable_flushSync:oe.unstable_flushSync})}else R.navigate(oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:Ye,body:Ae,formMethod:oe.method||Ie,formEncType:oe.encType||Me,replace:oe.replace,state:oe.state,fromRouteId:G,unstable_flushSync:oe.unstable_flushSync,unstable_viewTransition:oe.unstable_viewTransition})},[R,z,G])}function Be(R,z){let{relative:G}=z===void 0?{}:z,{basename:ie}=c.useContext(l.UNSAFE_NavigationContext),oe=c.useContext(l.UNSAFE_RouteContext);oe||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=oe.matches.slice(-1),Ie=p({},l.useResolvedPath(R||".",{relative:G})),Me=l.useLocation();if(R==null){Ie.search=Me.search;let Ye=new URLSearchParams(Ie.search);Ye.has("index")&&Ye.get("index")===""&&(Ye.delete("index"),Ie.search=Ye.toString()?"?"+Ye.toString():"")}return(!R||R===".")&&Oe.route.index&&(Ie.search=Ie.search?Ie.search.replace(/^\?/,"?index&"):"?index"),ie!=="/"&&(Ie.pathname=Ie.pathname==="/"?ie:s.joinPaths([ie,Ie.pathname])),l.createPath(Ie)}function it(R){var z;let{key:G}=R===void 0?{}:R,{router:ie}=ur(ra.UseFetcher),oe=Dr(jr.UseFetcher),Oe=c.useContext(ne),Ie=c.useContext(l.UNSAFE_RouteContext),Me=(z=Ie.matches[Ie.matches.length-1])==null?void 0:z.route.id;Oe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Ie||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let Ye=qe?qe():"",[Ae,Qe]=c.useState(G||Ye);G&&G!==Ae?Qe(G):Ae||Qe(Mr()),c.useEffect(()=>(ie.getFetcher(Ae),()=>{ie.deleteFetcher(Ae)}),[ie,Ae]);let I=c.useCallback((q,pe)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),ie.fetch(Ae,Me,q,pe)},[Ae,Me,ie]),V=_a(),re=c.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),se=c.useMemo(()=>{let q=c.forwardRef((pe,Te)=>c.createElement(sr,p({},pe,{navigate:!1,fetcherKey:Ae,ref:Te})));return q.displayName="fetcher.Form",q},[Ae]),We=oe.fetchers.get(Ae)||s.IDLE_FETCHER,Fe=Oe.get(Ae);return c.useMemo(()=>p({Form:se,submit:re,load:I},We,{data:Fe}),[se,re,I,We,Fe])}function gt(){let R=Dr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,ie]=z;return p({},ie,{key:G})})}let $t="react-router-scroll-positions",Ut={};function kr(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:ie}=ur(ra.UseScrollRestoration),{restoreScrollPosition:oe,preventScrollReset:Oe}=Dr(jr.UseScrollRestoration),{basename:Ie}=c.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),Ye=l.useMatches(),Ae=l.useNavigation();c.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(c.useCallback(()=>{if(Ae.state==="idle"){let Qe=(z?z(Me,Ye):null)||Me.key;Ut[Qe]=window.scrollY}try{sessionStorage.setItem(G||$t,JSON.stringify(Ut))}catch(Qe){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Qe+").")}window.history.scrollRestoration="auto"},[G,z,Ae.state,Me,Ye])),typeof document!="undefined"&&(c.useLayoutEffect(()=>{try{let Qe=sessionStorage.getItem(G||$t);Qe&&(Ut=JSON.parse(Qe))}catch(Qe){}},[G]),c.useLayoutEffect(()=>{let Qe=z&&Ie!=="/"?(V,re)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Ie)||V.pathname}),re):z,I=ie==null?void 0:ie.enableScrollRestoration(Ut,()=>window.scrollY,Qe);return()=>I&&I()},[ie,Ie,z]),c.useLayoutEffect(()=>{if(oe!==!1){if(typeof oe=="number"){window.scrollTo(0,oe);return}if(Me.hash){let Qe=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Qe){Qe.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,oe,Oe]))}function mr(R,z){let{capture:G}=z||{};c.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,ie),()=>{window.removeEventListener("beforeunload",R,ie)}},[R,G])}function Yr(R,z){let{capture:G}=z||{};c.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,ie),()=>{window.removeEventListener("pagehide",R,ie)}},[R,G])}function $(R){let{when:z,message:G}=R,ie=l.useBlocker(z);c.useEffect(()=>{ie.state==="blocked"&&(window.confirm(G)?setTimeout(ie.proceed,0):ie.reset())},[ie,G]),c.useEffect(()=>{ie.state==="blocked"&&!z&&ie.reset()},[ie,z])}function P(R,z){z===void 0&&(z={});let G=c.useContext(W);G==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:ie}=ur(ra.useViewTransitionState),oe=l.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=s.stripBasename(G.currentLocation.pathname,ie)||G.currentLocation.pathname,Ie=s.stripBasename(G.nextLocation.pathname,ie)||G.nextLocation.pathname;return s.matchPath(oe.pathname,Ie)!=null||s.matchPath(oe.pathname,Oe)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return l.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return l.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return l.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return l.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return l.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return l.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return l.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return l.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return l.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return l.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return l.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return l.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return l.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return l.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return l.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return l.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return l.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return l.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return l.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return l.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return l.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return l.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return l.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return l.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return l.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return l.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return l.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return l.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return l.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return l.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return l.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return l.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return l.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return l.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return l.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return l.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return l.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return l.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return l.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return l.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return l.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return l.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return l.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return l.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return l.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return l.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return l.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return l.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return l.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return l.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return s.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=tt,r.Form=sr,r.HashRouter=we,r.Link=Ht,r.NavLink=er,r.RouterProvider=ft,r.ScrollRestoration=Cr,r.UNSAFE_FetchersContext=ne,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=kr,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=O,r.unstable_HistoryRouter=yt,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=mr,r.useFetcher=it,r.useFetchers=gt,r.useFormAction=Be,r.useLinkClickHandler=xr,r.useSearchParams=ha,r.useSubmit=_a,Object.defineProperty(r,"__esModule",{value:!0})})});var XT=Ve((rG,KT)=>{"use strict";KT.exports=GT()});var tr=Ve((aG,r5)=>{"use strict";var B_=Object.defineProperty,SW=Object.defineProperties,wW=Object.getOwnPropertyDescriptor,CW=Object.getOwnPropertyDescriptors,xW=Object.getOwnPropertyNames,z_=Object.getOwnPropertySymbols,i2=Object.prototype.hasOwnProperty,JT=Object.prototype.propertyIsEnumerable,o2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),I_=Math.pow,QT=(r,a,o)=>a in r?B_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,nc=(r,a)=>{for(var o in a||(a={}))i2.call(a,o)&&QT(r,o,a[o]);if(z_)for(var o of z_(a))JT.call(a,o)&&QT(r,o,a[o]);return r},ZT=(r,a)=>SW(r,CW(a)),kW=(r,a)=>{var o={};for(var l in r)i2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&z_)for(var l of z_(r))a.indexOf(l)<0&&JT.call(r,l)&&(o[l]=r[l]);return o},TW=(r,a)=>{for(var o in a)B_(r,o,{get:a[o],enumerable:!0})},EW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of xW(a))!i2.call(r,s)&&s!==o&&B_(r,s,{get:()=>a[s],enumerable:!(l=wW(a,s))||l.enumerable});return r},RW=r=>EW(B_({},"__esModule",{value:!0}),r),Wa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())}),e5=function(r,a){this[0]=r,this[1]=a},DW=(r,a,o)=>{var l=(c,h,p,m)=>{try{var g=o[c](h),b=(h=g.value)instanceof e5,S=g.done;Promise.resolve(b?h[0]:h).then(w=>b?l(c==="return"?c:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:S})).catch(w=>l("throw",w,p,m))}catch(w){m(w)}},s=c=>f[c]=h=>new Promise((p,m)=>l(c,h,p,m)),f={};return o=o.apply(r,a),f[o2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},AW=(r,a,o)=>(a=r[o2("asyncIterator")])?a.call(r):(r=r[o2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=f=>new Promise((c,h,p)=>(f=s.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>c({value:m,done:p}),h)))),o("next"),o("return"),a),t5={};TW(t5,{Fetcher:()=>Zr,Filer:()=>bn,Server:()=>s2,Time:()=>Or,UUID:()=>ef,default:()=>VW,useStore:()=>F_});r5.exports=RW(t5);typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()});typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(f){return!1}return s},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=I_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=I_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=I_(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/I_(1e3,l)*a)/a+("KMGTPEZY"[l-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),f=[];return o.length!=4||f.push(o),l.length!=2||f.push(l),s.length!=2||f.push(s),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let f of o){if(!f)break;s=(l=(s||{})[f||""])!=null?l:null}return s};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,l)=>{for(let s of a){let f=String(s||""),c=this.every(m=>{let g=Number(r(m,f.split(".")));return typeof g=="number"&&!isNaN(g)}),h=r(o,f.split(".")),p=r(l,f.split("."));if(c){if(h=Number(h),p=Number(p),h>p)return 1;if(h<p)return-1}else{if(h=String(h).replace(/(\d+)/g,m=>m.padStart(18,"0")),p=String(p).replace(/(\d+)/g,m=>m.padStart(18,"0")),h>p)return 1;if(h<p)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=f=>a(f),l.onerror=f=>o(f);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var LW=(r=24)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35,s=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)][s?"toUpper":"toLower"]()}).join(""),ef=LW;ef.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");ef.gen32Hex=(r="Formatted",a="-")=>{let o=Array.from({length:32}).map((l,s)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(o=[o.slice(0,8),o.slice(8,12),o.slice(12,16),o.slice(16,20),o.slice(20,32)].join(a)),o};ef.to32Format=r=>[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-").toUpper();var NW=r=>new xe.prototype.jmini(r),xe=NW;xe.prototype={};xe.extend=function(r,a=xe){for(var[o,l]of Object.entries(r))a.prototype[o]=l};xe.expando="__jmini_"+ef();var Va=(r,a)=>(r.queue.push(a),l2(r),r),l2=r=>Wa(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,l2(r)}}),ac=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,l]of Object.entries(a))o.match(/queue/)||(r[o]=l);return r},OW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[xe.expando]||(xe.is.element(l)||xe.is.shadowRoot(l))&&(l[xe.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,l2(r),r};xe.extend({constructor:xe,jmini:function(r){return this.src=r,this.srcType=xe.is.what(r),this.queueProcess=!0,this.queue=[],OW(this,xe.is.jmini(r)?r.get():xe.is.element(r)?[r]:xe.is.elements(r)?r:xe.is.shadowRoot(r)?[r]:xe.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});xe.prototype[String(Symbol.iterator)]=[][Symbol.iterator];xe.prototype.jmini.prototype=xe.prototype;{let r=function(s,f,c){let h=[];for(let p=0;p<(s.length||0);p++)h.push(f(s[p],p));return c&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((f,c)=>{if(!(xe.is.element(f)||xe.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[c]=h}),s),o=(s,f)=>(xe(f).for(c=>{if(s&&(xe.is.element(c)||xe.is.shadowRoot(c)))if(xe.is.string(s)||xe.is.number(s))s=String(s),c.insertAdjacentHTML("beforeend",String(s));else if(xe.is.element(s))c.appendChild(s);else{xe.is.jmini(s)?s=s.get():xe.is.element(s)?s=[s]:xe.is.keyValueDictionary(s)&&(s=[xe(s)]);for(var h=0;h<s.length;h++)o(s[h],c)}}),f),l=(s,f,...c)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return s.for(m=>{if(xe.is.string(c[0]))m.insertAdjacentHTML(h,c[0]);else{if(!m.parentNode)return;xe(c[0]).for(g=>{c[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),s};xe.extend({get:function(s){return s?this[0]:r(this,f=>f)},for:function(s,f=1){let c=r(this,(h,p)=>s(h,p),1);return f?c:[]},await:function(s){return Va(this,()=>new Promise((f,c)=>{setTimeout(()=>{f(this)},s)}))},abort:function(){return Va(this,()=>Wa(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Va(this,()=>Wa(this,null,function*(){return yield s(this),this}))},click:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];xe.is.element(f)&&f.click()}return this})},focus:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];xe.is.element(f)&&f.focus()}return this})},addEvent:function(s){return Va(this,()=>{let{eventType:f,eventID:c=ef(),target:h,callback:p,options:m}=s;return m=nc({passive:!0,capture:!1},m),this.for(g=>{if(!(xe.is.element(g)||xe.is.shadowRoot(g)))return;let{events:b}=g[xe.expando];if(h){let S=p;p=w=>{if(w.target){if(xe.is.string(h)){let k=w.target.closest(h);k&&(!k||S.call(k,w))}else if(xe.is.elements(h)){for(let k of h)if(w.target==k)return S.call(k,w)}}}}if(b[c]){let S=b[c];g.removeEventListener(S.eventType,S.callback,S.options)}b[c]={eventType:f,callback:p,options:m},g.addEventListener(f,p,m)}),this})},removeEvent:function(s){return Va(this,()=>{let f=xe.is.array(s)?s:[s];return this.for(c=>{let{events:h}=c[xe.expando];for(let p of f){let m=h[p];m&&c.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(s){return Va(this,()=>ac(this,o(s,a(this))))},empty:function(){return Va(this,()=>ac(this,a(this)))},append:function(s){return Va(this,()=>{o(s,this)})},remove:function(){return Va(this,()=>(this.for((s,f)=>{s&&xe.is.element(s)&&(s.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Va(this,()=>ac(this,l(this,"before",...s)))},after:function(...s){return Va(this,()=>ac(this,l(this,"after",...s)))},find:function(s){return Va(this,()=>{let f=[],c=this[0];c||ac(this,xe()),(xe.is.element(c)||xe.is.shadowRoot(c))&&(xe.is.string(s)?f=c.querySelectorAll(s):xe.is.element(c)&&xe(s).for(h=>{let p=c.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...xe(m).find(h).for(g=>g)])})),ac(this,xe(f))})},parent:function(s){return Va(this,()=>{var f,c;let h=xe(s?(f=this[0])==null?void 0:f.closest(s):(c=this[0])==null?void 0:c.parentNode);ac(this,h)})},children:function(s){return Va(this,()=>{let f=this[0].children;xe.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let c=xe(f);return ac(this,c)})},addClass:function(s){return Va(this,()=>(s&&this.for(f=>{let c=xe.is.string(s)?s.split(" "):s;f&&xe.is.element(f)&&f.classList.add(...c)}),this))},removeClass:function(s){return Va(this,()=>(s&&this.for(f=>{let c=xe.is.string(s)?s.split(" "):s;f&&xe.is.element(f)&&f.classList.remove(...c)}),this))},toggleClass:function(s){return Va(this,()=>(s&&this.for(f=>{f.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let f=[];return this[0]&&(f=[...this[0].classList].filter(c=>c.match(s))),f},css:function(s){return Va(this,()=>(this.for(f=>{if(xe.is.element(f))for(let[c,h]of Object.entries(s)){if(xe.is.number(h)&&c.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){f.style[c]=h+"px";continue}f.style[c]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,f){return Va(this,()=>(this.for(c=>c.setAttribute(s,f)),this))},getStyleProperty:function(s){let f=this[0];return f&&xe.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let c=this[0];return c&&xe.is.element(c)&&c.style.setProperty(s,f),this},val:function(){var s;let f=this[0];return(f==null?void 0:f.value)||((s=f==null?void 0:f.dataset)==null?void 0:s.value)},position:function(){return xe.is.element(this[0])?this[0].getBoundingClientRect():{}}})}xe.flatArray=(r,a)=>{if(!xe.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?xe.flatArray(l,"-R"):[l]);return o};xe.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(l=>[xe.getKeyValue(l,a||"0"),l])).values()):o=Array.from(new Set(r)),o};xe.getKeyValue=(r,a)=>{let o={},l=r;return a.split(".").forEach(s=>{l=l==null?void 0:l[s],o=l}),o};xe.Stringify=JSON.stringify;xe.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};xe.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let l=[],s=r;for(;s<=a;){if(o&&o.length&&o.includes(s)){s++;continue}l.push(s),s++}let f=Math.round(Math.random()*(l.length-1))+0;return l[f]};xe.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};xe.trySync=r=>Wa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});xe.scope=r=>r();xe.scopeSync=r=>Wa(void 0,null,function*(){return yield r()});xe.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:f,attr:c,style:h,parent:p}=r,m=document.createElement(o||"div");if(l&&m.classList.add(...l.split(" ")),s&&(m.id=s),c)for(let S of Object.entries(c)){let w=S[0],k=(a=S[1])!=null?a:"";if(w=="data"&&xe.is.keyValueDictionary(k))for(let[L,M]of Object.entries(k))m.dataset[L]=M;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),m[w]=k}if(f&&xe(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&xe(p).append(m),m};xe.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:f="/",domain:c=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${f}domain=${c}`;h&&(p+=" Secure"),document.cookie=p};xe.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};xe.localStrage={set:(r,a)=>{localStorage.setItem(r,xe.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return xe.Objectify(a,a)}};xe.deleteCookie=r=>{document.cookie=r+"=max-age=0"};xe.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,c=Number(xe(document.body).getStyleProperty("--sat").removeLetters()),h=Number(xe(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-c-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f,safeAreaTop:c,safeAreaBottom:h}};xe.getCursor=r=>{var a,o,l,s,f,c,h,p;let m=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,g=(p=r.pageY)!=null?p:(h=(f=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:f.pageY)!=null?h:(((c=r==null?void 0:r.originalEvent)==null?void 0:c.touches)||[])[0].pageY;return{x:m,y:g}};xe.pending=(r,a)=>new Promise((o,l)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});xe.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(xe.is.keyValueDictionary(r)&&xe.is.keyValueDictionary(o))for(let l in o)xe.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),xe.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return xe.deepMerge(r,...a)};xe.deepCopy=r=>{if(xe.is.array(r))return r.map(a=>xe.deepCopy(a));if(xe.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,l])=>{a[o]=xe.deepCopy(l)}),a}return r};xe.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((l,s)=>o[s]=l),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{o.searchParams.set(l,String(s))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(l=>{o.searchParams.delete(l)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};xe.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};xe.is={equal:function(r,a,o){return o==null||o?xe.Stringify(r)===xe.Stringify(a):r===a},what:function(r){let a="other";return this.jmini(r)?a="jmini":this.element(r)?a="element":this.elements(r)?a="elements":this.shadowRoot(r)?a="shadowRoot":this.string(r)?a="string":this.number(r)?a="number":this.array(r)?a="array":this.function(r)?a="function":this.date(r)?a="date":typeof r=="undefined"?a="undefined":this.keyValueDictionary(r)?a="keyValueDictionary":r==null?a="null":isNaN(r)&&(a="NaN"),a},exist:function(r){return r===(r!=null?r:!r)},nullish:function(r){return!this.exist(r)},jmini:function(r){return(r||{}).constructor===xe},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jmini(r)},element:function(r){return r&&(r.nodeType==1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"||[window,document].includes(r))},elements:function(r){let a={}.toString.call(r),o=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(o&&a!=="[object NodeList]")for(var l of r)o&=Number(this.element(l));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var MW=r=>new Or.prototype.Time(r),Or=MW;Or.prototype={};var PW=function(r){Or.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return this.set(a)};xe.extend({value:new Date,validate:!1,ms:-1,weekday:-1,weekInMonth:-1,weekInYear:-1,isLastWeekInMonth:!1,year:-1,month:-1,date:-1,hours:-1,minutes:-1,seconds:-1,constructor:Or,Time:PW,clone:function(){return Or(this)},set:function(r){this.value=r;let a=xe.is.date(r);if(this.validate=a,!a)return this.ms=-1,this.year=-1,this.month=-1,this.weekday=-1,this.weekInYear=-1,this.date=-1,this.hours=-1,this.minutes=-1,this.seconds=-1,this;this.ms=r.getTime(),this.weekday=r.getDay(),this.year=r.getFullYear(),this.month=r.getMonth()+1,this.date=r.getDate();{let o=new Date(this.year,0,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(f/7)}{let o=new Date(this.year,this.month-1,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24)),c=Math.ceil(f/7);this.weekInMonth=c}{let o=new Date(this.year,this.month,0),l=o.getDay(),s=new Date(new Date(o).setDate(o.getDate()-l));this.isLastWeekInMonth=this.date>=s.getDate()}return this.hours=r.getHours(),this.minutes=r.getMinutes(),this.seconds=r.getSeconds(),this},isSameYear:function(r){let a=Or(r);return this.year==a.year},isSameMonth:function(r){let a=Or(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Or(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Or(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),this.set(a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),this.set(a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),this.set(a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),this.set(a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),this.set(a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),this.set(a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),this.set(a)},addYear:function(r){return this.setYear(this.year+r)},addMonth:function(r){return this.setMonth(this.month+r)},addWeek:function(r){return this.addDate(7*r)},addDate:function(r){return this.setDate(this.date+r)},addHours:function(r){return this.setHours(this.hours+r)},addMinutes:function(r){return this.setMinutes(this.minutes+r)},addSeconds:function(r){return this.setSeconds(this.seconds+r)},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},setFirstOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),this.set(r)},setLastOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),this.set(r)},getFirstDayOfTheYear:function(){return Or(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Or(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Or(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Or(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Or(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Or(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||Or(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Or);Or.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Or};Or.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Or(a+" 00:00")};Or.getShortYMDs=(r,a)=>{let o="",l="";return r.year==a.year&&r.year==Or().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?l=a.toFormatYMD():l=a.toFormatMD(),[o,l]};Or.getPeriodArray=(r,a,o)=>{let l=[],s=a;if(!a.validate||!o.validate)return l;for(;s.toFormatYMDHMS().toNumber()<=o.toFormatYMDHMS().toNumber();)l.push(s),r=="year"?s=Or(s).addYear(1):r=="month"?s=Or(s).addMonth(1):r=="week"?s=Or(s).addWeek(1):r=="day"?s=Or(s).addDate(1):r=="hours"?s=Or(s).addHours(1):r=="minutes"?s=Or(s).addMinutes(1):r=="seconds"&&(s=Or(s).addSeconds(1));return l};Or.prototype.Time.prototype=Or.prototype;var iu={},F_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=iu[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),iu[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let c=iu[l]||{};c&&c.privateKey&&c.privateKey!=a&&(o=!1),iu[l]=ZT(nc({},iu[l]),{value:nc(nc({},(f=iu[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=iu[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=iu[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete iu[r],!0)}},IW=(...[r,a,o])=>new Co.prototype.Interval(r,a,o),Co=IW;Co.prototype={};var zW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,Co.abort(this.key),this.store(),this};xe.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:zW,store:function(){F_.set({["Interval_"+this.key]:this})},once:function(){return this.fn&&(this.timeoutIndex=setTimeout(this.fn,this.ms)),this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return Co.abort(this.timeoutIndex),this},set_ms:function(r){return this.ms=r,this.store(),this},set_fn:function(r){return this.fn=r,this.store(),this}},Co);Co.abort=r=>{if(xe.is.number(r))return clearInterval(r);let a=F_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};Co.get=r=>F_.get("Interval_"+r);Co.once=(r,a,o)=>Co(r,a,o).once();Co.start=(r,a,o)=>Co(r,a,o).start();Co.prototype.Interval.prototype=Co.prototype;var BW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=BW;Zr.prototype={};Zr.waitList=[];Zr.setDefaultTrafficControl=0;Zr.setDefaultTimeout=1e3*60*10;Zr.isReadableStream=r=>r instanceof ReadableStream;Zr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Zr.streamToContext=(r,a)=>Wa(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!Zr.isReadableStreamReader(o))return{ok:!1,done:!0,data:null};if(!o)return{ok:!1,done:!0,data:null};let l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield o.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var FW=function(r,a){var o;a=a||{};let l=a.body;a.body&&!xe.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=xe.Stringify(a.body||{}));let s=r;return xe.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=ZT(nc({key:ef(),response_format:"json",timeout:Zr.setDefaultTimeout,trafficControl:Zr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:nc(nc({"Content-Type":"application/json"},Zr.setDefaultHeaders&&Zr.setDefaultHeaders()),a.headers),body:l}),this};xe.extend({Fetcher:FW,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return Wa(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:f}=r,c=a.body,h=this,p=function(){return DW(this,null,function*(){if(!a.ok){xe.scope(()=>Wa(this,null,function*(){let{ok:k,done:L,data:M}=yield Zr.streamToContext(c,{reader:s,decoder:f});k&&o(M)}));return}let w=!1;for(;!w;){let{ok:k,done:L,data:M}=yield new e5(Zr.streamToContext(c,{reader:s,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),L=!0):h.streamStatus=="closed"&&(L=!0),L&&(w=L,s.releaseLock()),l(M,L)}})};try{for(var m=AW(p()),g,b,S;g=!(b=yield m.next()).done;g=!1){let w=b.value}}catch(w){S=[w]}finally{try{g&&(b=m.return)&&(yield b.call(m))}finally{if(S)throw S[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return Wa(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,f=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let c=!1,h=500,p="InternalServerError",m={},g=null;try{Zr.setDefaultOnStart&&Zr.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let S=a,{key:w,response_format:k,trafficControl:L,preventMultiRequest:M,timeout:Y,queries:O}=S,j=kW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(w);if(M&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,w];let J=xe.queryParams.set(nc({},O),String(this.url));m=yield fetch(J,j).then(N=>Wa(this,null,function*(){return c=N.ok,h=N.status,p=N.statusText,g=N,k=="none"||k=="stream"?N:N[k]()})).catch(N=>{throw new Error(N)})}catch(S){h==200&&(h=500,c=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield xe.pending(()=>{},a.trafficControl)),Zr.waitList.splice(Zr.waitList.findIndex(S=>S==a.key),1);let b={ok:c,status:h,statusText:p,body:m,requestTime:l,rawData:g};if(!c&&this.onErrorCB&&this.onErrorCB(b.body),c&&this.onStreamCB&&a.response_format=="stream"){let S=(r=g.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:S,decoder:new TextDecoder("utf-8")})}return c&&this.onCompleteCB&&this.onCompleteCB(b.body),this.onResultCB&&this.onResultCB(b,a),Zr.setDefaultOnEnd&&Zr.setDefaultOnEnd(b,a),b})},abortStream:function(){this.streamStatus="abort"}},Zr);Zr.prototype.Fetcher.prototype=Zr.prototype;var jW=r=>new bn.prototype.Filer(r),bn=jW;bn.prototype={};var HW=function(r){this.ok=!0;try{let[a,o]=r.name.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" ");this.file=r,this.extension=o,this.fileName=a,this.type=r.type}catch(a){console.log(a),this.ok=!1}return this};xe.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:HW,isValid:function(){return this.ok},toBlob:function(){return Wa(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Wa(this,null,function*(){return URL.createObjectURL(this.file)})},updateFileName:function(r){let a=new File([this.file],r+"."+this.extension);return this.file=a,this.fileName=r,this},updateMimeType:function(r){return this.file=new File([this.file],this.fileName+"."+this.extension,{type:r}),this.type=r,this},updateExtension:function(r){let a=new File([this.file],this.fileName+"."+r);return this.file=a,this.extension=r,this}},bn);bn.fromFile=r=>Wa(void 0,null,function*(){return bn(r)});bn.fromBlob=(r,a)=>Wa(void 0,null,function*(){let o=(a==null?void 0:a.fileName)||"file",l=(a==null?void 0:a.extension)||"",s=new File([r],o+"."+l,{type:a==null?void 0:a.mimeType});return bn(s)});bn.fromArrayBuffer=(r,a)=>Wa(void 0,null,function*(){return bn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});bn.fromObjectURL=(r,a)=>Wa(void 0,null,function*(){let o=yield Zr(r,{response_format:"blob"}).get();return o.ok?bn.fromBlob(o.body,a):bn({})});bn.fromDataURL=(r,a)=>Wa(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?bn.fromBlob(o,a):bn({})});bn.prototype.Filer.prototype=bn.prototype;var UW=function(r){let a=r,o=null;return a.use((l,s,f)=>{let c=s;c.return=h=>{let{status:p=200,body:m={},bodyStringify:g=!0}=h||{},b=m;return g&&!xe.is.string(m)&&(b=xe.Stringify(m)),s.status(p).end(b)},f()}),a.onPathRouter=function(l){return o=l,this},a.pathRouter=function(l){if(!o)return;let s=o(l);return s.route(l),a.use(l,s),s},a.exception=function(l){return a.use(l),this},a},s2=UW;s2.getLocalIP=r=>{let a="";return xe.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};s2.getIP=function(r){var a;return(((r==null?void 0:r.headers["x-forwarded-for"])||((a=r==null?void 0:r.socket)==null?void 0:a.remoteAddress)||"").toString().match(new RegExp(/(::ffff:)?(\d+\.\d+.\d+\.\d+(:\d+)?)/))||[])[2]||"UNKNOWN IP"};xe.copyToClipboard=r=>Wa(void 0,null,function*(){let a="";xe.is.string(r)?a=r:xe.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Wa(void 0,null,function*(){let l;if(navigator.clipboard){if(l=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!l)return}else{let s=document.createElement("input");if(xe(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});xe.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});xe.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}}};xe.transformer={weekday:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],l=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(s=>{let{From:f,To:c,name:h}=s;if(f<=r&&r<=c){let p=r-f+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};xe.interval=Co;Zr.setDefaultHeaders=()=>({});var VW=xe});var l5=Ve(H_=>{"use strict";(function(){"use strict";var r=cr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(D){if(D===null||typeof D!="object")return null;var q=k&&D[k]||D[L];return typeof q=="function"?q:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),Te=1;Te<q;Te++)pe[Te-1]=arguments[Te];j("error",D,pe)}}function j(D,q,pe){{var Te=Y.ReactDebugCurrentFrame,Ue=Te.getStackAddendum();Ue!==""&&(q+="%s",pe=pe.concat([Ue]));var st=pe.map(function(Je){return String(Je)});st.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,st)}}var F=!1,J=!1,N=!1,te=!1,_e=!1,ae;ae=Symbol.for("react.module.reference");function ye(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||_e||D===s||D===m||D===g||te||D===w||F||J||N||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===c||D.$$typeof===h||D.$$typeof===p||D.$$typeof===ae||D.getModuleId!==void 0))}function Se(D,q,pe){var Te=D.displayName;if(Te)return Te;var Ue=q.displayName||q.name||"";return Ue!==""?pe+"("+Ue+")":pe}function ge(D){return D.displayName||"Context"}function H(D){if(D==null)return null;if(typeof D.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return ge(q)+".Consumer";case c:var pe=D;return ge(pe._context)+".Provider";case p:return Se(D,D.render,"ForwardRef");case b:var Te=D.displayName||null;return Te!==null?Te:H(D.type)||"Memo";case S:{var Ue=D,st=Ue._payload,Je=Ue._init;try{return H(Je(st))}catch(Ke){return null}}}return null}var le=Object.assign,fe=0,B,W,ne,ee,de,ke,be;function Pe(){}Pe.__reactDisabledLog=!0;function qe(){{if(fe===0){B=console.log,W=console.info,ne=console.warn,ee=console.error,de=console.group,ke=console.groupCollapsed,be=console.groupEnd;var D={configurable:!0,enumerable:!0,value:Pe,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fe++}}function He(){{if(fe--,fe===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},D,{value:B}),info:le({},D,{value:W}),warn:le({},D,{value:ne}),error:le({},D,{value:ee}),group:le({},D,{value:de}),groupCollapsed:le({},D,{value:ke}),groupEnd:le({},D,{value:be})})}fe<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var at=Y.ReactCurrentDispatcher,Tt;function ft(D,q,pe){{if(Tt===void 0)try{throw Error()}catch(Ue){var Te=Ue.stack.trim().match(/\n( *(at )?)/);Tt=Te&&Te[1]||""}return`
150
- `+Tt+D}}var wt=!1,vt;{var tt=typeof WeakMap=="function"?WeakMap:Map;vt=new tt}function we(D,q){if(!D||wt)return"";{var pe=vt.get(D);if(pe!==void 0)return pe}var Te;wt=!0;var Ue=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var st;st=at.current,at.current=null,qe();try{if(q){var Je=function(){throw Error()};if(Object.defineProperty(Je.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Je,[])}catch(sa){Te=sa}Reflect.construct(D,[],Je)}else{try{Je.call()}catch(sa){Te=sa}D.call(Je.prototype)}}else{try{throw Error()}catch(sa){Te=sa}D()}}catch(sa){if(sa&&Te&&typeof sa.stack=="string"){for(var Ke=sa.stack.split(`
151
- `),Ct=Te.stack.split(`
152
- `),kt=Ke.length-1,Vt=Ct.length-1;kt>=1&&Vt>=0&&Ke[kt]!==Ct[Vt];)Vt--;for(;kt>=1&&Vt>=0;kt--,Vt--)if(Ke[kt]!==Ct[Vt]){if(kt!==1||Vt!==1)do if(kt--,Vt--,Vt<0||Ke[kt]!==Ct[Vt]){var $r=`
153
- `+Ke[kt].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&vt.set(D,$r),$r}while(kt>=1&&Vt>=0);break}}}finally{wt=!1,at.current=st,He(),Error.prepareStackTrace=Ue}var Ha=D?D.displayName||D.name:"",la=Ha?ft(Ha):"";return typeof D=="function"&&vt.set(D,la),la}function yt(D,q,pe){return we(D,!1)}function Lt(D){var q=D.prototype;return!!(q&&q.isReactComponent)}function Ft(D,q,pe){if(D==null)return"";if(typeof D=="function")return we(D,Lt(D));if(typeof D=="string")return ft(D);switch(D){case m:return ft("Suspense");case g:return ft("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return yt(D.render);case b:return Ft(D.type,q,pe);case S:{var Te=D,Ue=Te._payload,st=Te._init;try{return Ft(st(Ue),q,pe)}catch(Je){}}}return""}var Ht=Object.prototype.hasOwnProperty,er={},sr=Y.ReactDebugCurrentFrame;function Cr(D){if(D){var q=D._owner,pe=Ft(D.type,D._source,q?q.type:null);sr.setExtraStackFrame(pe)}else sr.setExtraStackFrame(null)}function ra(D,q,pe,Te,Ue){{var st=Function.call.bind(Ht);for(var Je in D)if(st(D,Je)){var Ke=void 0;try{if(typeof D[Je]!="function"){var Ct=Error((Te||"React class")+": "+pe+" type `"+Je+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[Je]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Ke=D[Je](q,Je,Te,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kt){Ke=kt}Ke&&!(Ke instanceof Error)&&(Cr(Ue),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Te||"React class",pe,Je,typeof Ke),Cr(null)),Ke instanceof Error&&!(Ke.message in er)&&(er[Ke.message]=!0,Cr(Ue),O("Failed %s type: %s",pe,Ke.message),Cr(null))}}}var jr=Array.isArray;function qr(D){return jr(D)}function ur(D){{var q=typeof Symbol=="function"&&Symbol.toStringTag,pe=q&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function Dr(D){try{return xr(D),!1}catch(q){return!0}}function xr(D){return""+D}function ha(D){if(Dr(D))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ur(D)),xr(D)}var yr=Y.ReactCurrentOwner,hr={key:!0,ref:!0,__self:!0,__source:!0},Mr,_a,Be;Be={};function it(D){if(Ht.call(D,"ref")){var q=Object.getOwnPropertyDescriptor(D,"ref").get;if(q&&q.isReactWarning)return!1}return D.ref!==void 0}function gt(D){if(Ht.call(D,"key")){var q=Object.getOwnPropertyDescriptor(D,"key").get;if(q&&q.isReactWarning)return!1}return D.key!==void 0}function $t(D,q){if(typeof D.ref=="string"&&yr.current&&q&&yr.current.stateNode!==q){var pe=H(yr.current.type);Be[pe]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',H(yr.current.type),D.ref),Be[pe]=!0)}}function Ut(D,q){{var pe=function(){Mr||(Mr=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"key",{get:pe,configurable:!0})}}function kr(D,q){{var pe=function(){_a||(_a=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"ref",{get:pe,configurable:!0})}}var mr=function(D,q,pe,Te,Ue,st,Je){var Ke={$$typeof:a,type:D,key:q,ref:pe,props:Je,_owner:st};return Ke._store={},Object.defineProperty(Ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty(Ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ue}),Object.freeze&&(Object.freeze(Ke.props),Object.freeze(Ke)),Ke};function Yr(D,q,pe,Te,Ue){{var st,Je={},Ke=null,Ct=null;pe!==void 0&&(ha(pe),Ke=""+pe),gt(q)&&(ha(q.key),Ke=""+q.key),it(q)&&(Ct=q.ref,$t(q,Ue));for(st in q)Ht.call(q,st)&&!hr.hasOwnProperty(st)&&(Je[st]=q[st]);if(D&&D.defaultProps){var kt=D.defaultProps;for(st in kt)Je[st]===void 0&&(Je[st]=kt[st])}if(Ke||Ct){var Vt=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Ut(Je,Vt),Ct&&kr(Je,Vt)}return mr(D,Ke,Ct,Ue,Te,yr.current,Je)}}var $=Y.ReactCurrentOwner,P=Y.ReactDebugCurrentFrame;function R(D){if(D){var q=D._owner,pe=Ft(D.type,D._source,q?q.type:null);P.setExtraStackFrame(pe)}else P.setExtraStackFrame(null)}var z;z=!1;function G(D){return typeof D=="object"&&D!==null&&D.$$typeof===a}function ie(){{if($.current){var D=H($.current.type);if(D)return`
149
+ `+('Please change the parent <Route path="'+Fe+'"> to <Route ')+('path="'+(Fe==="/"?"*":Fe+"/*")+'">.'))}let Ae=L(),Qe;if(P){var I;let Fe=typeof P=="string"?o.parsePath(P):P;Me==="/"||(I=Fe.pathname)!=null&&I.startsWith(Me)||o.UNSAFE_invariant(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+Me+'" ')+('but pathname "'+Fe.pathname+'" was given in the `location` prop.')),Qe=Fe}else Qe=Ae;let V=Qe.pathname||"/",ae=V;if(Me!=="/"){let Fe=Me.replace(/^\//,"").split("/");ae="/"+V.replace(/^\//,"").split("/").slice(Fe.length).join("/")}let se=o.matchRoutes($,{pathname:ae});o.UNSAFE_warning(We||se!=null,'No routes matched location "'+Qe.pathname+Qe.search+Qe.hash+'" '),o.UNSAFE_warning(se==null||se[se.length-1].route.element!==void 0||se[se.length-1].route.Component!==void 0||se[se.length-1].route.lazy!==void 0,'Matched leaf route at location "'+Qe.pathname+Qe.search+Qe.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let Ve=W(se&&se.map(Fe=>Object.assign({},Fe,{params:Object.assign({},Oe,Fe.params),pathname:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathname).pathname:Fe.pathname]),pathnameBase:Fe.pathnameBase==="/"?Me:o.joinPaths([Me,G.encodeLocation?G.encodeLocation(Fe.pathnameBase).pathname:Fe.pathnameBase])})),ie,R,z);return P&&Ve?s.createElement(g.Provider,{value:{location:f({pathname:"/",search:"",hash:"",state:null,key:"default"},Qe),navigationType:o.Action.Pop}},Ve):Ve}function H(){let $=Te(),P=o.isRouteErrorResponse($)?$.status+" "+$.statusText:$ instanceof Error?$.message:JSON.stringify($),R=$ instanceof Error?$.stack:null,z="rgba(200,200,200, 0.5)",G={padding:"0.5rem",backgroundColor:z},ie={padding:"2px 4px",backgroundColor:z},oe=null;return console.error("Error handled by React Router default ErrorBoundary:",$),oe=s.createElement(s.Fragment,null,s.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:ie},"ErrorBoundary")," or"," ",s.createElement("code",{style:ie},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},P),R?s.createElement("pre",{style:G},R):null,oe)}let le=s.createElement(H,null);class fe extends s.Component{constructor(P){super(P),this.state={location:P.location,revalidation:P.revalidation,error:P.error}}static getDerivedStateFromError(P){return{error:P}}static getDerivedStateFromProps(P,R){return R.location!==P.location||R.revalidation!=="idle"&&P.revalidation==="idle"?{error:P.error,location:P.location,revalidation:P.revalidation}:{error:P.error!==void 0?P.error:R.error,location:R.location,revalidation:P.revalidation||R.revalidation}}componentDidCatch(P,R){console.error("React Router caught the following error during render",P,R)}render(){return this.state.error!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(S.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function B($){let{routeContext:P,match:R,children:z}=$,G=s.useContext(c);return G&&G.static&&G.staticContext&&(R.route.errorElement||R.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=R.route.id),s.createElement(b.Provider,{value:P},z)}function W($,P,R,z){var G;if(P===void 0&&(P=[]),R===void 0&&(R=null),z===void 0&&(z=null),$==null){var ie;if(!R)return null;if(R.errors)$=R.matches;else if((ie=z)!=null&&ie.v7_partialHydration&&P.length===0&&!R.initialized&&R.matches.length>0)$=R.matches;else return null}let oe=$,Oe=(G=R)==null?void 0:G.errors;if(Oe!=null){let We=oe.findIndex(Ae=>Ae.route.id&&(Oe==null?void 0:Oe[Ae.route.id])!==void 0);We>=0||o.UNSAFE_invariant(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(Oe).join(",")),oe=oe.slice(0,Math.min(oe.length,We+1))}let Ie=!1,Me=-1;if(R&&z&&z.v7_partialHydration)for(let We=0;We<oe.length;We++){let Ae=oe[We];if((Ae.route.HydrateFallback||Ae.route.hydrateFallbackElement)&&(Me=We),Ae.route.id){let{loaderData:Qe,errors:I}=R,V=Ae.route.loader&&Qe[Ae.route.id]===void 0&&(!I||I[Ae.route.id]===void 0);if(Ae.route.lazy||V){Ie=!0,Me>=0?oe=oe.slice(0,Me+1):oe=[oe[0]];break}}}return oe.reduceRight((We,Ae,Qe)=>{let I,V=!1,ae=null,se=null;R&&(I=Oe&&Ae.route.id?Oe[Ae.route.id]:void 0,ae=Ae.route.errorElement||le,Ie&&(Me<0&&Qe===0?(Tr("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,se=null):Me===Qe&&(V=!0,se=Ae.route.hydrateFallbackElement||null)));let Ve=P.concat(oe.slice(0,Qe+1)),Fe=()=>{let D;return I?D=ae:V?D=se:Ae.route.Component?D=s.createElement(Ae.route.Component,null):Ae.route.element?D=Ae.route.element:D=We,s.createElement(B,{match:Ae,routeContext:{outlet:We,matches:Ve,isDataRoute:R!=null},children:D})};return R&&(Ae.route.ErrorBoundary||Ae.route.errorElement||Qe===0)?s.createElement(fe,{location:R.location,revalidation:R.revalidation,component:ae,error:I,children:Fe(),routeContext:{outlet:null,matches:Ve,isDataRoute:!0}}):Fe()},null)}var ne=function($){return $.UseBlocker="useBlocker",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$}(ne||{}),ee=function($){return $.UseBlocker="useBlocker",$.UseLoaderData="useLoaderData",$.UseActionData="useActionData",$.UseRouteError="useRouteError",$.UseNavigation="useNavigation",$.UseRouteLoaderData="useRouteLoaderData",$.UseMatches="useMatches",$.UseRevalidator="useRevalidator",$.UseNavigateStable="useNavigate",$.UseRouteId="useRouteId",$}(ee||{});function de($){return $+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Ce($){let P=s.useContext(c);return P||o.UNSAFE_invariant(!1,de($)),P}function Se($){let P=s.useContext(h);return P||o.UNSAFE_invariant(!1,de($)),P}function Ye($){let P=s.useContext(b);return P||o.UNSAFE_invariant(!1,de($)),P}function $e($){let P=Ye($),R=P.matches[P.matches.length-1];return R.route.id||o.UNSAFE_invariant(!1,$+' can only be used on routes that contain a unique "id"'),R.route.id}function Pe(){return $e(ee.UseRouteId)}function et(){return Se(ee.UseNavigation).navigation}function ct(){let $=Ce(ne.UseRevalidator),P=Se(ee.UseRevalidator);return s.useMemo(()=>({revalidate:$.router.revalidate,state:P.revalidation}),[$.router.revalidate,P.revalidation])}function lt(){let{matches:$,loaderData:P}=Se(ee.UseMatches);return s.useMemo(()=>$.map(R=>o.UNSAFE_convertRouteMatchToUiMatch(R,P)),[$,P])}function Tt(){let $=Se(ee.UseLoaderData),P=$e(ee.UseLoaderData);if($.errors&&$.errors[P]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+P+")");return}return $.loaderData[P]}function wt($){return Se(ee.UseRouteLoaderData).loaderData[$]}function Ze(){let $=Se(ee.UseActionData),P=$e(ee.UseLoaderData);return $.actionData?$.actionData[P]:void 0}function Te(){var $;let P=s.useContext(S),R=Se(ee.UseRouteError),z=$e(ee.UseRouteError);return P!==void 0?P:($=R.errors)==null?void 0:$[z]}function pt(){let $=s.useContext(p);return $==null?void 0:$._data}function Lt(){let $=s.useContext(p);return $==null?void 0:$._error}let jt=0;function Ut($){let{router:P,basename:R}=Ce(ne.UseBlocker),z=Se(ee.UseBlocker),[G,ie]=s.useState(""),oe=s.useCallback(Oe=>{if(typeof $!="function")return!!$;if(R==="/")return $(Oe);let{currentLocation:Ie,nextLocation:Me,historyAction:We}=Oe;return $({currentLocation:f({},Ie,{pathname:o.stripBasename(Ie.pathname,R)||Ie.pathname}),nextLocation:f({},Me,{pathname:o.stripBasename(Me.pathname,R)||Me.pathname}),historyAction:We})},[R,$]);return s.useEffect(()=>{let Oe=String(++jt);return ie(Oe),()=>P.deleteBlocker(Oe)},[P]),s.useEffect(()=>{G!==""&&P.getBlocker(G,oe)},[P,G,oe]),G&&z.blockers.has(G)?z.blockers.get(G):o.IDLE_BLOCKER}function er(){let{router:$}=Ce(ne.UseNavigateStable),P=$e(ee.UseNavigateStable),R=s.useRef(!1);return j(()=>{R.current=!0}),s.useCallback(function(G,ie){ie===void 0&&(ie={}),o.UNSAFE_warning(R.current,O),R.current&&(typeof G=="number"?$.navigate(G):$.navigate(G,f({fromRouteId:P},ie)))},[$,P])}let ur={};function Tr($,P,R){!P&&!ur[$]&&(ur[$]=!0,o.UNSAFE_warning(!1,R))}let jr=s["startTransition"];function qr($){let{fallbackElement:P,router:R,future:z}=$,[G,ie]=s.useState(R.state),{v7_startTransition:oe}=z||{},Oe=s.useCallback(Ae=>{oe&&jr?jr(()=>ie(Ae)):ie(Ae)},[ie,oe]);s.useLayoutEffect(()=>R.subscribe(Oe),[R,Oe]),s.useEffect(()=>{o.UNSAFE_warning(P==null||!R.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let Ie=s.useMemo(()=>({createHref:R.createHref,encodeLocation:R.encodeLocation,go:Ae=>R.navigate(Ae),push:(Ae,Qe,I)=>R.navigate(Ae,{state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(Ae,Qe,I)=>R.navigate(Ae,{replace:!0,state:Qe,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[R]),Me=R.basename||"/",We=s.useMemo(()=>({router:R,navigator:Ie,static:!1,basename:Me}),[R,Ie,Me]);return s.createElement(s.Fragment,null,s.createElement(c.Provider,{value:We},s.createElement(h.Provider,{value:G},s.createElement(mr,{basename:Me,location:G.location,navigationType:G.historyAction,navigator:Ie,future:{v7_relativeSplatPath:R.future.v7_relativeSplatPath}},G.initialized||R.future.v7_partialHydration?s.createElement(wr,{routes:R.routes,future:R.future,state:G}):P))),null)}function wr($){let{routes:P,future:R,state:z}=$;return ge(P,void 0,z,R)}function fr($){let{basename:P,children:R,initialEntries:z,initialIndex:G,future:ie}=$,oe=s.useRef();oe.current==null&&(oe.current=o.createMemoryHistory({initialEntries:z,initialIndex:G,v5Compat:!0}));let Oe=oe.current,[Ie,Me]=s.useState({action:Oe.action,location:Oe.location}),{v7_startTransition:We}=ie||{},Ae=s.useCallback(Qe=>{We&&jr?jr(()=>Me(Qe)):Me(Qe)},[Me,We]);return s.useLayoutEffect(()=>Oe.listen(Ae),[Oe,Ae]),s.createElement(mr,{basename:P,children:R,location:Ie.location,navigationType:Ie.action,navigator:Oe,future:ie})}function _r($){let{to:P,replace:R,state:z,relative:G}=$;k()||o.UNSAFE_invariant(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:ie,static:oe}=s.useContext(m);o.UNSAFE_warning(!oe,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Oe}=s.useContext(b),{pathname:Ie}=L(),Me=F(),We=o.resolveTo(P,o.UNSAFE_getResolveToMatches(Oe,ie.v7_relativeSplatPath),Ie,G==="path"),Ae=JSON.stringify(We);return s.useEffect(()=>Me(JSON.parse(Ae),{replace:R,state:z,relative:G}),[Me,Ae,G,R,z]),null}function ha($){return _e($.context)}function Cr($){o.UNSAFE_invariant(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function mr($){let{basename:P="/",children:R=null,location:z,navigationType:G=o.Action.Pop,navigator:ie,static:oe=!1,future:Oe}=$;k()&&o.UNSAFE_invariant(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Ie=P.replace(/^\/*/,"/"),Me=s.useMemo(()=>({basename:Ie,navigator:ie,static:oe,future:f({v7_relativeSplatPath:!1},Oe)}),[Ie,Oe,ie,oe]);typeof z=="string"&&(z=o.parsePath(z));let{pathname:We="/",search:Ae="",hash:Qe="",state:I=null,key:V="default"}=z,ae=s.useMemo(()=>{let se=o.stripBasename(We,Ie);return se==null?null:{location:{pathname:se,search:Ae,hash:Qe,state:I,key:V},navigationType:G}},[Ie,We,Ae,Qe,I,V,G]);return o.UNSAFE_warning(ae!=null,'<Router basename="'+Ie+'"> is not able to match the URL '+('"'+We+Ae+Qe+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),ae==null?null:s.createElement(m.Provider,{value:Me},s.createElement(g.Provider,{children:R,value:ae}))}function Mr($){let{children:P,location:R}=$;return ye(Vt(P),R)}function ga($){let{children:P,errorElement:R,resolve:z}=$;return s.createElement(bt,{resolve:z,errorElement:R},s.createElement($t,null,P))}var Be=function($){return $[$.pending=0]="pending",$[$.success=1]="success",$[$.error=2]="error",$}(Be||{});let st=new Promise(()=>{});class bt extends s.Component{constructor(P){super(P),this.state={error:null}}static getDerivedStateFromError(P){return{error:P}}componentDidCatch(P,R){console.error("<Await> caught the following error during render",P,R)}render(){let{children:P,errorElement:R,resolve:z}=this.props,G=null,ie=Be.pending;if(!(z instanceof Promise))ie=Be.success,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>z});else if(this.state.error){ie=Be.error;let oe=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>oe})}else z._tracked?(G=z,ie="_error"in G?Be.error:"_data"in G?Be.success:Be.pending):(ie=Be.pending,Object.defineProperty(z,"_tracked",{get:()=>!0}),G=z.then(oe=>Object.defineProperty(z,"_data",{get:()=>oe}),oe=>Object.defineProperty(z,"_error",{get:()=>oe})));if(ie===Be.error&&G._error instanceof o.AbortedDeferredError)throw st;if(ie===Be.error&&!R)throw G._error;if(ie===Be.error)return s.createElement(p.Provider,{value:G,children:R});if(ie===Be.success)return s.createElement(p.Provider,{value:G,children:P});throw G}}function $t($){let{children:P}=$,R=pt(),z=typeof P=="function"?P(R):P;return s.createElement(s.Fragment,null,z)}function Vt($,P){P===void 0&&(P=[]);let R=[];return s.Children.forEach($,(z,G)=>{if(!s.isValidElement(z))return;let ie=[...P,G];if(z.type===s.Fragment){R.push.apply(R,Vt(z.props.children,ie));return}z.type!==Cr&&o.UNSAFE_invariant(!1,"["+(typeof z.type=="string"?z.type:z.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!z.props.index||!z.props.children||o.UNSAFE_invariant(!1,"An index route cannot have child routes.");let oe={id:z.props.id||ie.join("-"),caseSensitive:z.props.caseSensitive,element:z.props.element,Component:z.props.Component,index:z.props.index,path:z.props.path,loader:z.props.loader,action:z.props.action,errorElement:z.props.errorElement,ErrorBoundary:z.props.ErrorBoundary,hasErrorBoundary:z.props.ErrorBoundary!=null||z.props.errorElement!=null,shouldRevalidate:z.props.shouldRevalidate,handle:z.props.handle,lazy:z.props.lazy};z.props.children&&(oe.children=Vt(z.props.children,ie)),R.push(oe)}),R}function Er($){return W($)}function vr($){let P={hasErrorBoundary:$.ErrorBoundary!=null||$.errorElement!=null};return $.Component&&($.element&&o.UNSAFE_warning(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(P,{element:s.createElement($.Component),Component:void 0})),$.HydrateFallback&&($.hydrateFallbackElement&&o.UNSAFE_warning(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(P,{hydrateFallbackElement:s.createElement($.HydrateFallback),HydrateFallback:void 0})),$.ErrorBoundary&&($.errorElement&&o.UNSAFE_warning(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(P,{errorElement:s.createElement($.ErrorBoundary),ErrorBoundary:void 0})),P}function Yr($,P){return o.createRouter({basename:P==null?void 0:P.basename,future:f({},P==null?void 0:P.future,{v7_prependBasename:!0}),history:o.createMemoryHistory({initialEntries:P==null?void 0:P.initialEntries,initialIndex:P==null?void 0:P.initialIndex}),hydrationData:P==null?void 0:P.hydrationData,routes:$,mapRouteProperties:vr,unstable_dataStrategy:P==null?void 0:P.unstable_dataStrategy,unstable_patchRoutesOnMiss:P==null?void 0:P.unstable_patchRoutesOnMiss}).initialize()}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return o.AbortedDeferredError}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return o.Action}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return o.createPath}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return o.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return o.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return o.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return o.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return o.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return o.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return o.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return o.redirectDocument}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return o.resolvePath}}),r.Await=ga,r.MemoryRouter=fr,r.Navigate=_r,r.Outlet=ha,r.Route=Cr,r.Router=mr,r.RouterProvider=qr,r.Routes=Mr,r.UNSAFE_DataRouterContext=c,r.UNSAFE_DataRouterStateContext=h,r.UNSAFE_LocationContext=g,r.UNSAFE_NavigationContext=m,r.UNSAFE_RouteContext=b,r.UNSAFE_mapRouteProperties=vr,r.UNSAFE_useRouteId=Pe,r.UNSAFE_useRoutesImpl=ge,r.createMemoryRouter=Yr,r.createRoutesFromChildren=Vt,r.createRoutesFromElements=Vt,r.renderMatches=Er,r.useActionData=Ze,r.useAsyncError=Lt,r.useAsyncValue=pt,r.useBlocker=Ut,r.useHref=w,r.useInRouterContext=k,r.useLoaderData=Tt,r.useLocation=L,r.useMatch=Y,r.useMatches=lt,r.useNavigate=F,r.useNavigation=et,r.useNavigationType=M,r.useOutlet=_e,r.useOutletContext=te,r.useParams=re,r.useResolvedPath=be,r.useRevalidator=ct,r.useRouteError=Te,r.useRouteLoaderData=wt,r.useRoutes=ye,Object.defineProperty(r,"__esModule",{value:!0})})});var YT=Ue((eG,qT)=>{"use strict";qT.exports=WT()});var GT=Ue((P_,$T)=>{(function(r,a){typeof P_=="object"&&typeof $T!="undefined"?a(P_,cr(),W0(),YT(),n2()):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))})(P_,function(r,a,o,l,s){"use strict";function f(R){if(R&&R.__esModule)return R;var z=Object.create(null);return R&&Object.keys(R).forEach(function(G){if(G!=="default"){var ie=Object.getOwnPropertyDescriptor(R,G);Object.defineProperty(z,G,ie.get?ie:{enumerable:!0,get:function(){return R[G]}})}}),z.default=R,Object.freeze(z)}var c=f(a),h=f(o);function p(){return p=Object.assign?Object.assign.bind():function(R){for(var z=1;z<arguments.length;z++){var G=arguments[z];for(var ie in G)Object.prototype.hasOwnProperty.call(G,ie)&&(R[ie]=G[ie])}return R},p.apply(this,arguments)}function m(R,z){if(R==null)return{};var G={},ie=Object.keys(R),oe,Oe;for(Oe=0;Oe<ie.length;Oe++)oe=ie[Oe],!(z.indexOf(oe)>=0)&&(G[oe]=R[oe]);return G}let g="get",b="application/x-www-form-urlencoded";function S(R){return R!=null&&typeof R.tagName=="string"}function w(R){return S(R)&&R.tagName.toLowerCase()==="button"}function k(R){return S(R)&&R.tagName.toLowerCase()==="form"}function L(R){return S(R)&&R.tagName.toLowerCase()==="input"}function M(R){return!!(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey)}function Y(R,z){return R.button===0&&(!z||z==="_self")&&!M(R)}function O(R){return R===void 0&&(R=""),new URLSearchParams(typeof R=="string"||Array.isArray(R)||R instanceof URLSearchParams?R:Object.keys(R).reduce((z,G)=>{let ie=R[G];return z.concat(Array.isArray(ie)?ie.map(oe=>[G,oe]):[[G,ie]])},[]))}function j(R,z){let G=O(R);return z&&z.forEach((ie,oe)=>{G.has(oe)||z.getAll(oe).forEach(Oe=>{G.append(oe,Oe)})}),G}let F=null;function Q(){if(F===null)try{new FormData(document.createElement("form"),0),F=!1}catch(R){F=!0}return F}let N=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function te(R){return R!=null&&!N.has(R)?(s.UNSAFE_warning(!1,'"'+R+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+b+'"')),null):R}function _e(R,z){let G,ie,oe,Oe,Ie;if(k(R)){let Me=R.getAttribute("action");ie=Me?s.stripBasename(Me,z):null,G=R.getAttribute("method")||g,oe=te(R.getAttribute("enctype"))||b,Oe=new FormData(R)}else if(w(R)||L(R)&&(R.type==="submit"||R.type==="image")){let Me=R.form;if(Me==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let We=R.getAttribute("formaction")||Me.getAttribute("action");if(ie=We?s.stripBasename(We,z):null,G=R.getAttribute("formmethod")||Me.getAttribute("method")||g,oe=te(R.getAttribute("formenctype"))||te(Me.getAttribute("enctype"))||b,Oe=new FormData(Me,R),!Q()){let{name:Ae,type:Qe,value:I}=R;if(Qe==="image"){let V=Ae?Ae+".":"";Oe.append(V+"x","0"),Oe.append(V+"y","0")}else Ae&&Oe.append(Ae,I)}}else{if(S(R))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');G=g,ie=null,oe=b,Ie=R}return Oe&&oe==="text/plain"&&(Ie=Oe,Oe=void 0),{action:ie,method:G.toLowerCase(),encType:oe,formData:Oe,body:Ie}}let re=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],be=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ye=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],ge="6";try{window.__reactRouterVersion=ge}catch(R){}function H(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createBrowserHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function le(R,z){return s.createRouter({basename:z==null?void 0:z.basename,future:p({},z==null?void 0:z.future,{v7_prependBasename:!0}),history:s.createHashHistory({window:z==null?void 0:z.window}),hydrationData:(z==null?void 0:z.hydrationData)||fe(),routes:R,mapRouteProperties:l.UNSAFE_mapRouteProperties,unstable_dataStrategy:z==null?void 0:z.unstable_dataStrategy,unstable_patchRoutesOnMiss:z==null?void 0:z.unstable_patchRoutesOnMiss,window:z==null?void 0:z.window}).initialize()}function fe(){var R;let z=(R=window)==null?void 0:R.__staticRouterHydrationData;return z&&z.errors&&(z=p({},z,{errors:B(z.errors)})),z}function B(R){if(!R)return null;let z=Object.entries(R),G={};for(let[ie,oe]of z)if(oe&&oe.__type==="RouteErrorResponse")G[ie]=new s.UNSAFE_ErrorResponseImpl(oe.status,oe.statusText,oe.data,oe.internal===!0);else if(oe&&oe.__type==="Error"){if(oe.__subType){let Oe=window[oe.__subType];if(typeof Oe=="function")try{let Ie=new Oe(oe.message);Ie.stack="",G[ie]=Ie}catch(Ie){}}if(G[ie]==null){let Oe=new Error(oe.message);Oe.stack="",G[ie]=Oe}}else G[ie]=oe;return G}let W=c.createContext({isTransitioning:!1});W.displayName="ViewTransition";let ne=c.createContext(new Map);ne.displayName="Fetchers";let de=c["startTransition"],Se=h["flushSync"],$e=c["useId"];function Pe(R){de?de(R):R()}function et(R){Se?Se(R):R()}class ct{constructor(){this.status="pending",this.promise=new Promise((z,G)=>{this.resolve=ie=>{this.status==="pending"&&(this.status="resolved",z(ie))},this.reject=ie=>{this.status==="pending"&&(this.status="rejected",G(ie))}})}}function lt(R){let{fallbackElement:z,router:G,future:ie}=R,[oe,Oe]=c.useState(G.state),[Ie,Me]=c.useState(),[We,Ae]=c.useState({isTransitioning:!1}),[Qe,I]=c.useState(),[V,ae]=c.useState(),[se,Ve]=c.useState(),Fe=c.useRef(new Map),{v7_startTransition:D}=ie||{},q=c.useCallback(Ke=>{D?Pe(Ke):Ke()},[D]),pe=c.useCallback((Ke,Ct)=>{let{deletedFetchers:kt,unstable_flushSync:Wt,unstable_viewTransitionOpts:$r}=Ct;kt.forEach(la=>Fe.current.delete(la)),Ke.fetchers.forEach((la,sa)=>{la.data!==void 0&&Fe.current.set(sa,la.data)});let Ha=G.window==null||G.window.document==null||typeof G.window.document.startViewTransition!="function";if(!$r||Ha){Wt?et(()=>Oe(Ke)):q(()=>Oe(Ke));return}if(Wt){et(()=>{V&&(Qe&&Qe.resolve(),V.skipTransition()),Ae({isTransitioning:!0,flushSync:!0,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})});let la=G.window.document.startViewTransition(()=>{et(()=>Oe(Ke))});la.finished.finally(()=>{et(()=>{I(void 0),ae(void 0),Me(void 0),Ae({isTransitioning:!1})})}),et(()=>ae(la));return}V?(Qe&&Qe.resolve(),V.skipTransition(),Ve({state:Ke,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation})):(Me(Ke),Ae({isTransitioning:!0,flushSync:!1,currentLocation:$r.currentLocation,nextLocation:$r.nextLocation}))},[G.window,V,Qe,Fe,q]);c.useLayoutEffect(()=>G.subscribe(pe),[G,pe]),c.useEffect(()=>{We.isTransitioning&&!We.flushSync&&I(new ct)},[We]),c.useEffect(()=>{if(Qe&&Ie&&G.window){let Ke=Ie,Ct=Qe.promise,kt=G.window.document.startViewTransition(()=>na(this,null,function*(){q(()=>Oe(Ke)),yield Ct}));kt.finished.finally(()=>{I(void 0),ae(void 0),Me(void 0),Ae({isTransitioning:!1})}),ae(kt)}},[q,Ie,Qe,G.window]),c.useEffect(()=>{Qe&&Ie&&oe.location.key===Ie.location.key&&Qe.resolve()},[Qe,V,oe.location,Ie]),c.useEffect(()=>{!We.isTransitioning&&se&&(Me(se.state),Ae({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}),Ve(void 0))},[We.isTransitioning,se]),c.useEffect(()=>{s.UNSAFE_warning(z==null||!G.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let ke=c.useMemo(()=>({createHref:G.createHref,encodeLocation:G.encodeLocation,go:Ke=>G.navigate(Ke),push:(Ke,Ct,kt)=>G.navigate(Ke,{state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset}),replace:(Ke,Ct,kt)=>G.navigate(Ke,{replace:!0,state:Ct,preventScrollReset:kt==null?void 0:kt.preventScrollReset})}),[G]),He=G.basename||"/",ft=c.useMemo(()=>({router:G,navigator:ke,static:!1,basename:He}),[G,ke,He]),Je=c.useMemo(()=>({v7_relativeSplatPath:G.future.v7_relativeSplatPath}),[G.future.v7_relativeSplatPath]);return c.createElement(c.Fragment,null,c.createElement(l.UNSAFE_DataRouterContext.Provider,{value:ft},c.createElement(l.UNSAFE_DataRouterStateContext.Provider,{value:oe},c.createElement(ne.Provider,{value:Fe.current},c.createElement(W.Provider,{value:We},c.createElement(l.Router,{basename:He,location:oe.location,navigationType:oe.historyAction,navigator:ke,future:Je},oe.initialized||G.future.v7_partialHydration?c.createElement(Tt,{routes:G.routes,future:G.future,state:oe}):z))))),null)}let Tt=c.memo(wt);function wt(R){let{routes:z,future:G,state:ie}=R;return l.UNSAFE_useRoutesImpl(z,void 0,ie,G)}function Ze(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=c.useRef();Oe.current==null&&(Oe.current=s.createBrowserHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=c.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Ae}=ie||{},Qe=c.useCallback(I=>{Ae&&de?de(()=>We(I)):We(I)},[We,Ae]);return c.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),c.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function Te(R){let{basename:z,children:G,future:ie,window:oe}=R,Oe=c.useRef();Oe.current==null&&(Oe.current=s.createHashHistory({window:oe,v5Compat:!0}));let Ie=Oe.current,[Me,We]=c.useState({action:Ie.action,location:Ie.location}),{v7_startTransition:Ae}=ie||{},Qe=c.useCallback(I=>{Ae&&de?de(()=>We(I)):We(I)},[We,Ae]);return c.useLayoutEffect(()=>Ie.listen(Qe),[Ie,Qe]),c.createElement(l.Router,{basename:z,children:G,location:Me.location,navigationType:Me.action,navigator:Ie,future:ie})}function pt(R){let{basename:z,children:G,future:ie,history:oe}=R,[Oe,Ie]=c.useState({action:oe.action,location:oe.location}),{v7_startTransition:Me}=ie||{},We=c.useCallback(Ae=>{Me&&de?de(()=>Ie(Ae)):Ie(Ae)},[Ie,Me]);return c.useLayoutEffect(()=>oe.listen(We),[oe,We]),c.createElement(l.Router,{basename:z,children:G,location:Oe.location,navigationType:Oe.action,navigator:oe,future:ie})}pt.displayName="unstable_HistoryRouter";let Lt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",jt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ut=c.forwardRef(function(z,G){let{onClick:ie,relative:oe,reloadDocument:Oe,replace:Ie,state:Me,target:We,to:Ae,preventScrollReset:Qe,unstable_viewTransition:I}=z,V=m(z,re),{basename:ae}=c.useContext(l.UNSAFE_NavigationContext),se,Ve=!1;if(typeof Ae=="string"&&jt.test(Ae)&&(se=Ae,Lt))try{let pe=new URL(window.location.href),ke=Ae.startsWith("//")?new URL(pe.protocol+Ae):new URL(Ae),He=s.stripBasename(ke.pathname,ae);ke.origin===pe.origin&&He!=null?Ae=He+ke.search+ke.hash:Ve=!0}catch(pe){s.UNSAFE_warning(!1,'<Link to="'+Ae+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let Fe=l.useHref(Ae,{relative:oe}),D=_r(Ae,{replace:Ie,state:Me,target:We,preventScrollReset:Qe,relative:oe,unstable_viewTransition:I});function q(pe){ie&&ie(pe),pe.defaultPrevented||D(pe)}return c.createElement("a",p({},V,{href:se||Fe,onClick:Ve||Oe?ie:q,ref:G,target:We}))});Ut.displayName="Link";let er=c.forwardRef(function(z,G){let{"aria-current":ie="page",caseSensitive:oe=!1,className:Oe="",end:Ie=!1,style:Me,to:We,unstable_viewTransition:Ae,children:Qe}=z,I=m(z,be),V=l.useResolvedPath(We,{relative:I.relative}),ae=l.useLocation(),se=c.useContext(l.UNSAFE_DataRouterStateContext),{navigator:Ve,basename:Fe}=c.useContext(l.UNSAFE_NavigationContext),D=se!=null&&P(V)&&Ae===!0,q=Ve.encodeLocation?Ve.encodeLocation(V).pathname:V.pathname,pe=ae.pathname,ke=se&&se.navigation&&se.navigation.location?se.navigation.location.pathname:null;oe||(pe=pe.toLowerCase(),ke=ke?ke.toLowerCase():null,q=q.toLowerCase()),ke&&Fe&&(ke=s.stripBasename(ke,Fe)||ke);let He=q!=="/"&&q.endsWith("/")?q.length-1:q.length,ft=pe===q||!Ie&&pe.startsWith(q)&&pe.charAt(He)==="/",Je=ke!=null&&(ke===q||!Ie&&ke.startsWith(q)&&ke.charAt(q.length)==="/"),Ke={isActive:ft,isPending:Je,isTransitioning:D},Ct=ft?ie:void 0,kt;typeof Oe=="function"?kt=Oe(Ke):kt=[Oe,ft?"active":null,Je?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Wt=typeof Me=="function"?Me(Ke):Me;return c.createElement(Ut,p({},I,{"aria-current":Ct,className:kt,ref:G,style:Wt,to:We,unstable_viewTransition:Ae}),typeof Qe=="function"?Qe(Ke):Qe)});er.displayName="NavLink";let ur=c.forwardRef((R,z)=>{let{fetcherKey:G,navigate:ie,reloadDocument:oe,replace:Oe,state:Ie,method:Me=g,action:We,onSubmit:Ae,relative:Qe,preventScrollReset:I,unstable_viewTransition:V}=R,ae=m(R,ye),se=ga(),Ve=Be(We,{relative:Qe}),Fe=Me.toLowerCase()==="get"?"get":"post",D=q=>{if(Ae&&Ae(q),q.defaultPrevented)return;q.preventDefault();let pe=q.nativeEvent.submitter,ke=(pe==null?void 0:pe.getAttribute("formmethod"))||Me;se(pe||q.currentTarget,{fetcherKey:G,method:ke,navigate:ie,replace:Oe,state:Ie,relative:Qe,preventScrollReset:I,unstable_viewTransition:V})};return c.createElement("form",p({ref:z,method:Fe,action:Ve,onSubmit:oe?Ae:D},ae))});ur.displayName="Form";function Tr(R){let{getKey:z,storageKey:G}=R;return Er({getKey:z,storageKey:G}),null}Tr.displayName="ScrollRestoration";var ra=function(R){return R.UseScrollRestoration="useScrollRestoration",R.UseSubmit="useSubmit",R.UseSubmitFetcher="useSubmitFetcher",R.UseFetcher="useFetcher",R.useViewTransitionState="useViewTransitionState",R}(ra||{}),jr=function(R){return R.UseFetcher="useFetcher",R.UseFetchers="useFetchers",R.UseScrollRestoration="useScrollRestoration",R}(jr||{});function qr(R){return R+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function wr(R){let z=c.useContext(l.UNSAFE_DataRouterContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function fr(R){let z=c.useContext(l.UNSAFE_DataRouterStateContext);return z||s.UNSAFE_invariant(!1,qr(R)),z}function _r(R,z){let{target:G,replace:ie,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me}=z===void 0?{}:z,We=l.useNavigate(),Ae=l.useLocation(),Qe=l.useResolvedPath(R,{relative:Ie});return c.useCallback(I=>{if(Y(I,G)){I.preventDefault();let V=ie!==void 0?ie:l.createPath(Ae)===l.createPath(Qe);We(R,{replace:V,state:oe,preventScrollReset:Oe,relative:Ie,unstable_viewTransition:Me})}},[Ae,We,Qe,ie,oe,G,R,Oe,Ie,Me])}function ha(R){s.UNSAFE_warning(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let z=c.useRef(O(R)),G=c.useRef(!1),ie=l.useLocation(),oe=c.useMemo(()=>j(ie.search,G.current?null:z.current),[ie.search]),Oe=l.useNavigate(),Ie=c.useCallback((Me,We)=>{let Ae=O(typeof Me=="function"?Me(oe):Me);G.current=!0,Oe("?"+Ae,We)},[Oe,oe]);return[oe,Ie]}function Cr(){if(typeof document=="undefined")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let mr=0,Mr=()=>"__"+String(++mr)+"__";function ga(){let{router:R}=wr(ra.UseSubmit),{basename:z}=c.useContext(l.UNSAFE_NavigationContext),G=l.UNSAFE_useRouteId();return c.useCallback(function(ie,oe){oe===void 0&&(oe={}),Cr();let{action:Oe,method:Ie,encType:Me,formData:We,body:Ae}=_e(ie,z);if(oe.navigate===!1){let Qe=oe.fetcherKey||Mr();R.fetch(Qe,G,oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Ae,formMethod:oe.method||Ie,formEncType:oe.encType||Me,unstable_flushSync:oe.unstable_flushSync})}else R.navigate(oe.action||Oe,{preventScrollReset:oe.preventScrollReset,formData:We,body:Ae,formMethod:oe.method||Ie,formEncType:oe.encType||Me,replace:oe.replace,state:oe.state,fromRouteId:G,unstable_flushSync:oe.unstable_flushSync,unstable_viewTransition:oe.unstable_viewTransition})},[R,z,G])}function Be(R,z){let{relative:G}=z===void 0?{}:z,{basename:ie}=c.useContext(l.UNSAFE_NavigationContext),oe=c.useContext(l.UNSAFE_RouteContext);oe||s.UNSAFE_invariant(!1,"useFormAction must be used inside a RouteContext");let[Oe]=oe.matches.slice(-1),Ie=p({},l.useResolvedPath(R||".",{relative:G})),Me=l.useLocation();if(R==null){Ie.search=Me.search;let We=new URLSearchParams(Ie.search);We.has("index")&&We.get("index")===""&&(We.delete("index"),Ie.search=We.toString()?"?"+We.toString():"")}return(!R||R===".")&&Oe.route.index&&(Ie.search=Ie.search?Ie.search.replace(/^\?/,"?index&"):"?index"),ie!=="/"&&(Ie.pathname=Ie.pathname==="/"?ie:s.joinPaths([ie,Ie.pathname])),l.createPath(Ie)}function st(R){var z;let{key:G}=R===void 0?{}:R,{router:ie}=wr(ra.UseFetcher),oe=fr(jr.UseFetcher),Oe=c.useContext(ne),Ie=c.useContext(l.UNSAFE_RouteContext),Me=(z=Ie.matches[Ie.matches.length-1])==null?void 0:z.route.id;Oe||s.UNSAFE_invariant(!1,"useFetcher must be used inside a FetchersContext"),Ie||s.UNSAFE_invariant(!1,"useFetcher must be used inside a RouteContext"),Me==null&&s.UNSAFE_invariant(!1,'useFetcher can only be used on routes that contain a unique "id"');let We=$e?$e():"",[Ae,Qe]=c.useState(G||We);G&&G!==Ae?Qe(G):Ae||Qe(Mr()),c.useEffect(()=>(ie.getFetcher(Ae),()=>{ie.deleteFetcher(Ae)}),[ie,Ae]);let I=c.useCallback((q,pe)=>{Me||s.UNSAFE_invariant(!1,"No routeId available for fetcher.load()"),ie.fetch(Ae,Me,q,pe)},[Ae,Me,ie]),V=ga(),ae=c.useCallback((q,pe)=>{V(q,p({},pe,{navigate:!1,fetcherKey:Ae}))},[Ae,V]),se=c.useMemo(()=>{let q=c.forwardRef((pe,ke)=>c.createElement(ur,p({},pe,{navigate:!1,fetcherKey:Ae,ref:ke})));return q.displayName="fetcher.Form",q},[Ae]),Ve=oe.fetchers.get(Ae)||s.IDLE_FETCHER,Fe=Oe.get(Ae);return c.useMemo(()=>p({Form:se,submit:ae,load:I},Ve,{data:Fe}),[se,ae,I,Ve,Fe])}function bt(){let R=fr(jr.UseFetchers);return Array.from(R.fetchers.entries()).map(z=>{let[G,ie]=z;return p({},ie,{key:G})})}let $t="react-router-scroll-positions",Vt={};function Er(R){let{getKey:z,storageKey:G}=R===void 0?{}:R,{router:ie}=wr(ra.UseScrollRestoration),{restoreScrollPosition:oe,preventScrollReset:Oe}=fr(jr.UseScrollRestoration),{basename:Ie}=c.useContext(l.UNSAFE_NavigationContext),Me=l.useLocation(),We=l.useMatches(),Ae=l.useNavigation();c.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yr(c.useCallback(()=>{if(Ae.state==="idle"){let Qe=(z?z(Me,We):null)||Me.key;Vt[Qe]=window.scrollY}try{sessionStorage.setItem(G||$t,JSON.stringify(Vt))}catch(Qe){s.UNSAFE_warning(!1,"Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly ("+Qe+").")}window.history.scrollRestoration="auto"},[G,z,Ae.state,Me,We])),typeof document!="undefined"&&(c.useLayoutEffect(()=>{try{let Qe=sessionStorage.getItem(G||$t);Qe&&(Vt=JSON.parse(Qe))}catch(Qe){}},[G]),c.useLayoutEffect(()=>{let Qe=z&&Ie!=="/"?(V,ae)=>z(p({},V,{pathname:s.stripBasename(V.pathname,Ie)||V.pathname}),ae):z,I=ie==null?void 0:ie.enableScrollRestoration(Vt,()=>window.scrollY,Qe);return()=>I&&I()},[ie,Ie,z]),c.useLayoutEffect(()=>{if(oe!==!1){if(typeof oe=="number"){window.scrollTo(0,oe);return}if(Me.hash){let Qe=document.getElementById(decodeURIComponent(Me.hash.slice(1)));if(Qe){Qe.scrollIntoView();return}}Oe!==!0&&window.scrollTo(0,0)}},[Me,oe,Oe]))}function vr(R,z){let{capture:G}=z||{};c.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("beforeunload",R,ie),()=>{window.removeEventListener("beforeunload",R,ie)}},[R,G])}function Yr(R,z){let{capture:G}=z||{};c.useEffect(()=>{let ie=G!=null?{capture:G}:void 0;return window.addEventListener("pagehide",R,ie),()=>{window.removeEventListener("pagehide",R,ie)}},[R,G])}function $(R){let{when:z,message:G}=R,ie=l.useBlocker(z);c.useEffect(()=>{ie.state==="blocked"&&(window.confirm(G)?setTimeout(ie.proceed,0):ie.reset())},[ie,G]),c.useEffect(()=>{ie.state==="blocked"&&!z&&ie.reset()},[ie,z])}function P(R,z){z===void 0&&(z={});let G=c.useContext(W);G==null&&s.UNSAFE_invariant(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:ie}=wr(ra.useViewTransitionState),oe=l.useResolvedPath(R,{relative:z.relative});if(!G.isTransitioning)return!1;let Oe=s.stripBasename(G.currentLocation.pathname,ie)||G.currentLocation.pathname,Ie=s.stripBasename(G.nextLocation.pathname,ie)||G.nextLocation.pathname;return s.matchPath(oe.pathname,Ie)!=null||s.matchPath(oe.pathname,Oe)!=null}Object.defineProperty(r,"AbortedDeferredError",{enumerable:!0,get:function(){return l.AbortedDeferredError}}),Object.defineProperty(r,"Await",{enumerable:!0,get:function(){return l.Await}}),Object.defineProperty(r,"MemoryRouter",{enumerable:!0,get:function(){return l.MemoryRouter}}),Object.defineProperty(r,"Navigate",{enumerable:!0,get:function(){return l.Navigate}}),Object.defineProperty(r,"NavigationType",{enumerable:!0,get:function(){return l.NavigationType}}),Object.defineProperty(r,"Outlet",{enumerable:!0,get:function(){return l.Outlet}}),Object.defineProperty(r,"Route",{enumerable:!0,get:function(){return l.Route}}),Object.defineProperty(r,"Router",{enumerable:!0,get:function(){return l.Router}}),Object.defineProperty(r,"Routes",{enumerable:!0,get:function(){return l.Routes}}),Object.defineProperty(r,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterContext}}),Object.defineProperty(r,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return l.UNSAFE_DataRouterStateContext}}),Object.defineProperty(r,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return l.UNSAFE_LocationContext}}),Object.defineProperty(r,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return l.UNSAFE_NavigationContext}}),Object.defineProperty(r,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return l.UNSAFE_RouteContext}}),Object.defineProperty(r,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return l.UNSAFE_useRouteId}}),Object.defineProperty(r,"createMemoryRouter",{enumerable:!0,get:function(){return l.createMemoryRouter}}),Object.defineProperty(r,"createPath",{enumerable:!0,get:function(){return l.createPath}}),Object.defineProperty(r,"createRoutesFromChildren",{enumerable:!0,get:function(){return l.createRoutesFromChildren}}),Object.defineProperty(r,"createRoutesFromElements",{enumerable:!0,get:function(){return l.createRoutesFromElements}}),Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return l.defer}}),Object.defineProperty(r,"generatePath",{enumerable:!0,get:function(){return l.generatePath}}),Object.defineProperty(r,"isRouteErrorResponse",{enumerable:!0,get:function(){return l.isRouteErrorResponse}}),Object.defineProperty(r,"json",{enumerable:!0,get:function(){return l.json}}),Object.defineProperty(r,"matchPath",{enumerable:!0,get:function(){return l.matchPath}}),Object.defineProperty(r,"matchRoutes",{enumerable:!0,get:function(){return l.matchRoutes}}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return l.parsePath}}),Object.defineProperty(r,"redirect",{enumerable:!0,get:function(){return l.redirect}}),Object.defineProperty(r,"redirectDocument",{enumerable:!0,get:function(){return l.redirectDocument}}),Object.defineProperty(r,"renderMatches",{enumerable:!0,get:function(){return l.renderMatches}}),Object.defineProperty(r,"replace",{enumerable:!0,get:function(){return l.replace}}),Object.defineProperty(r,"resolvePath",{enumerable:!0,get:function(){return l.resolvePath}}),Object.defineProperty(r,"useActionData",{enumerable:!0,get:function(){return l.useActionData}}),Object.defineProperty(r,"useAsyncError",{enumerable:!0,get:function(){return l.useAsyncError}}),Object.defineProperty(r,"useAsyncValue",{enumerable:!0,get:function(){return l.useAsyncValue}}),Object.defineProperty(r,"useBlocker",{enumerable:!0,get:function(){return l.useBlocker}}),Object.defineProperty(r,"useHref",{enumerable:!0,get:function(){return l.useHref}}),Object.defineProperty(r,"useInRouterContext",{enumerable:!0,get:function(){return l.useInRouterContext}}),Object.defineProperty(r,"useLoaderData",{enumerable:!0,get:function(){return l.useLoaderData}}),Object.defineProperty(r,"useLocation",{enumerable:!0,get:function(){return l.useLocation}}),Object.defineProperty(r,"useMatch",{enumerable:!0,get:function(){return l.useMatch}}),Object.defineProperty(r,"useMatches",{enumerable:!0,get:function(){return l.useMatches}}),Object.defineProperty(r,"useNavigate",{enumerable:!0,get:function(){return l.useNavigate}}),Object.defineProperty(r,"useNavigation",{enumerable:!0,get:function(){return l.useNavigation}}),Object.defineProperty(r,"useNavigationType",{enumerable:!0,get:function(){return l.useNavigationType}}),Object.defineProperty(r,"useOutlet",{enumerable:!0,get:function(){return l.useOutlet}}),Object.defineProperty(r,"useOutletContext",{enumerable:!0,get:function(){return l.useOutletContext}}),Object.defineProperty(r,"useParams",{enumerable:!0,get:function(){return l.useParams}}),Object.defineProperty(r,"useResolvedPath",{enumerable:!0,get:function(){return l.useResolvedPath}}),Object.defineProperty(r,"useRevalidator",{enumerable:!0,get:function(){return l.useRevalidator}}),Object.defineProperty(r,"useRouteError",{enumerable:!0,get:function(){return l.useRouteError}}),Object.defineProperty(r,"useRouteLoaderData",{enumerable:!0,get:function(){return l.useRouteLoaderData}}),Object.defineProperty(r,"useRoutes",{enumerable:!0,get:function(){return l.useRoutes}}),Object.defineProperty(r,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return s.UNSAFE_ErrorResponseImpl}}),r.BrowserRouter=Ze,r.Form=ur,r.HashRouter=Te,r.Link=Ut,r.NavLink=er,r.RouterProvider=lt,r.ScrollRestoration=Tr,r.UNSAFE_FetchersContext=ne,r.UNSAFE_ViewTransitionContext=W,r.UNSAFE_useScrollRestoration=Er,r.createBrowserRouter=H,r.createHashRouter=le,r.createSearchParams=O,r.unstable_HistoryRouter=pt,r.unstable_usePrompt=$,r.unstable_useViewTransitionState=P,r.useBeforeUnload=vr,r.useFetcher=st,r.useFetchers=bt,r.useFormAction=Be,r.useLinkClickHandler=_r,r.useSearchParams=ha,r.useSubmit=ga,Object.defineProperty(r,"__esModule",{value:!0})})});var XT=Ue((rG,KT)=>{"use strict";KT.exports=GT()});var tr=Ue((aG,r5)=>{"use strict";var B_=Object.defineProperty,SW=Object.defineProperties,wW=Object.getOwnPropertyDescriptor,CW=Object.getOwnPropertyDescriptors,xW=Object.getOwnPropertyNames,z_=Object.getOwnPropertySymbols,i2=Object.prototype.hasOwnProperty,JT=Object.prototype.propertyIsEnumerable,o2=(r,a)=>(a=Symbol[r])?a:Symbol.for("Symbol."+r),I_=Math.pow,QT=(r,a,o)=>a in r?B_(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,nc=(r,a)=>{for(var o in a||(a={}))i2.call(a,o)&&QT(r,o,a[o]);if(z_)for(var o of z_(a))JT.call(a,o)&&QT(r,o,a[o]);return r},ZT=(r,a)=>SW(r,CW(a)),kW=(r,a)=>{var o={};for(var l in r)i2.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&z_)for(var l of z_(r))a.indexOf(l)<0&&JT.call(r,l)&&(o[l]=r[l]);return o},TW=(r,a)=>{for(var o in a)B_(r,o,{get:a[o],enumerable:!0})},EW=(r,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of xW(a))!i2.call(r,s)&&s!==o&&B_(r,s,{get:()=>a[s],enumerable:!(l=wW(a,s))||l.enumerable});return r},RW=r=>EW(B_({},"__esModule",{value:!0}),r),Wa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())}),e5=function(r,a){this[0]=r,this[1]=a},DW=(r,a,o)=>{var l=(c,h,p,m)=>{try{var g=o[c](h),b=(h=g.value)instanceof e5,S=g.done;Promise.resolve(b?h[0]:h).then(w=>b?l(c==="return"?c:"next",h[1]?{done:w.done,value:w.value}:w,p,m):p({value:w,done:S})).catch(w=>l("throw",w,p,m))}catch(w){m(w)}},s=c=>f[c]=h=>new Promise((p,m)=>l(c,h,p,m)),f={};return o=o.apply(r,a),f[o2("asyncIterator")]=()=>f,s("next"),s("throw"),s("return"),f},AW=(r,a,o)=>(a=r[o2("asyncIterator")])?a.call(r):(r=r[o2("iterator")](),a={},o=(l,s)=>(s=r[l])&&(a[l]=f=>new Promise((c,h,p)=>(f=s.call(r,f),p=f.done,Promise.resolve(f.value).then(m=>c({value:m,done:p}),h)))),o("next"),o("return"),a),t5={};TW(t5,{Fetcher:()=>Zr,Filer:()=>yn,Server:()=>s2,Time:()=>Or,UUID:()=>tf,default:()=>VW,useStore:()=>F_});r5.exports=RW(t5);typeof HTMLElement!="undefined"&&(HTMLElement.prototype.position=function(){return this.getBoundingClientRect()});typeof String!="undefined"&&(String.prototype.compress=function(){return this.trim().replace(/(\s|\n|\t)/ig,"")},String.prototype.encode=function(){return encodeURIComponent(this)},String.prototype.decode=function(){return decodeURIComponent(this)},String.prototype.toUpper=function(){return this.toLocaleUpperCase()},String.prototype.toLower=function(){return this.toLocaleLowerCase()},String.prototype.toCapital=function(){let r=this;return r&&(r=r.replace(/^./,this[0].toUpper()).replace(/(\s|_|-)[a-z]{1}/ig,a=>a[1].toUpper())),r},String.prototype.clip=function(r,a){return this.slice(r,a)},String.prototype.partReplace=function(r,a){return this.slice(0,r)+a+this.slice(r+a.length)},String.prototype.toBlob=function(r){let a=atob(this.replace(/^.*,/,"")),o=new Uint8Array(a.length);for(var l=0;l<a.length;l++)o[l]=a.charCodeAt(l);try{var s=new Blob([o.buffer],{type:r})}catch(f){return!1}return s},String.prototype.toNumber=function(){return Number(this.removeLetters())},String.prototype.removeLetters=function(){return this.replace(/[\D]/ig,"")},String.prototype.removeSpecifics=function(){return this.replace(/[^\w\s\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]|_/uig,"")},String.prototype.removeJP=function(){return this.replace(/[\p{scx=Hiragana}\p{scx=Katakana}\p{scx=Han}]+/uig,"")},String.prototype.zen2hanNumber=function(){return this.replace(/[0-9]/g,function(r){return String.fromCharCode(r.charCodeAt(0)-65248)}).replace(/[--﹣−‐⁃‑‒–—﹘―⎯⏤ーー─━]/g,"-").replace(/¥/,"\xA5").replace(/、/,",").replace(/(/,"(").replace(/)/,")").replace(/+/,"+")});typeof Number!="undefined"&&(Number.prototype.zeroEmbed=function(r){return String(this).padStart(r||2,"0")},Number.prototype.ratio=function(r,a=2){let o=I_(10,a);return Math.round(this/r*o*100)/o},Number.prototype.rate=function(r,a=2){let o=I_(10,a);return Math.round(this/r*o)/o},Number.prototype.rank=function(r=1){let a=I_(10,r),o=Number(this),l=o.toLocaleString().replace(/\d/ig,"").length;return Math.round(o/I_(1e3,l)*a)/a+("KMGTPEZY"[l-1]||"")},Number.prototype.rankJp=function(){let r=Number(this),a="";return r>=1e12?a=`${r/1e12}\u5146`:r>=1e8?a=`${r/1e8}\u5104`:r>=1e4?a=`${r/1e4}\u4E07`:r>=1e3?a=`${r/1e3}\u5343`:a=`${r.toLocaleString()}`,a},Number.prototype.toDate=function(r="/"){let a=String(this),o=a.slice(0,4),l=a.slice(4,6),s=a.slice(6,8),f=[];return o.length!=4||f.push(o),l.length!=2||f.push(l),s.length!=2||f.push(s),f.join(r)});if(typeof Array!="undefined"){let r=(a,o)=>{var l;let s=a;for(let f of o){if(!f)break;s=(l=(s||{})[f||""])!=null?l:null}return s};Array.prototype.toASC=function(...a){return(!a||!(a!=null&&a.length))&&(a=[""]),this.sort((o,l)=>{for(let s of a){let f=String(s||""),c=this.every(m=>{let g=Number(r(m,f.split(".")));return typeof g=="number"&&!isNaN(g)}),h=r(o,f.split(".")),p=r(l,f.split("."));if(c){if(h=Number(h),p=Number(p),h>p)return 1;if(h<p)return-1}else{if(h=String(h).replace(/(\d+)/g,m=>m.padStart(18,"0")),p=String(p).replace(/(\d+)/g,m=>m.padStart(18,"0")),h>p)return 1;if(h<p)return-1}}return 0})},Array.prototype.toDESC=function(...a){return this.toASC(...a).reverse()}}typeof File!="undefined"&&(File.prototype.convert=function(r){return r=r||"dataURL",new Promise((a,o)=>{let l=new FileReader;l.onload=f=>a(f),l.onerror=f=>o(f);let s="readAs"+(r==null?void 0:r.toCapital());l[s](this)})});var LW=(r=24)=>Array.from({length:r}).map((a,o)=>{let l=o==0?25:35,s=Math.round(Math.random());return"abcdefghijkrmnopqrstuvwxyz0123456789"[Math.round(Math.random()*l)][s?"toUpper":"toLower"]()}).join(""),tf=LW;tf.gen128Binary=()=>Array.from({length:128}).map((r,a)=>"01"[Math.round(Math.random()*1)]).join("");tf.gen32Hex=(r="Formatted",a="-")=>{let o=Array.from({length:32}).map((l,s)=>"0123456789abcdef"[Math.round(Math.random()*15)]).join("").toUpper();return r=="Formatted"&&(o=[o.slice(0,8),o.slice(8,12),o.slice(12,16),o.slice(16,20),o.slice(20,32)].join(a)),o};tf.to32Format=r=>[r.slice(0,8),r.slice(8,12),r.slice(12,16),r.slice(16,20),r.slice(20,32)].join("-").toUpper();var NW=r=>new xe.prototype.jmini(r),xe=NW;xe.prototype={};xe.extend=function(r,a=xe){for(var[o,l]of Object.entries(r))a.prototype[o]=l};xe.expando="__jmini_"+tf();var Va=(r,a)=>(r.queue.push(a),l2(r),r),l2=r=>Wa(void 0,null,function*(){if(!r.queueProcess&&r.queue.length){r.queueProcess=!0;let a=r.queue.shift();a&&(yield a()),r.queueProcess=!1,l2(r)}}),ac=(r,a)=>{for(let o=0;o<r.length;o++)r[o]=null;for(let[o,l]of Object.entries(a))o.match(/queue/)||(r[o]=l);return r},OW=(r,a)=>{if(a.length){for(var o=0;o<a.length;o++){let l=a[o];l&&(l[xe.expando]||(xe.is.element(l)||xe.is.shadowRoot(l))&&(l[xe.expando]={events:{}})),r[o]=l}r.length=a.length}else r.warn="No Argument(s).",r.length=0;return r.queueProcess=!1,l2(r),r};xe.extend({constructor:xe,jmini:function(r){return this.src=r,this.srcType=xe.is.what(r),this.queueProcess=!0,this.queue=[],OW(this,xe.is.jmini(r)?r.get():xe.is.element(r)?[r]:xe.is.elements(r)?r:xe.is.shadowRoot(r)?[r]:xe.is.string(r)?r.match(/^#[^\.\s]*$/)?[document.getElementById(r.replace(/#/,""))]:document.querySelectorAll(r):[])}});xe.prototype[String(Symbol.iterator)]=[][Symbol.iterator];xe.prototype.jmini.prototype=xe.prototype;{let r=function(s,f,c){let h=[];for(let p=0;p<(s.length||0);p++)h.push(f(s[p],p));return c&&(h=h.filter(p=>p!=null)),h},a=s=>(s.for((f,c)=>{if(!(xe.is.element(f)||xe.is.shadowRoot(f)))return;let h=f.cloneNode(),p=f.parentNode;p&&p.replaceChild(h,f),s[c]=h}),s),o=(s,f)=>(xe(f).for(c=>{if(s&&(xe.is.element(c)||xe.is.shadowRoot(c)))if(xe.is.string(s)||xe.is.number(s))s=String(s),c.insertAdjacentHTML("beforeend",String(s));else if(xe.is.element(s))c.appendChild(s);else{xe.is.jmini(s)?s=s.get():xe.is.element(s)?s=[s]:xe.is.keyValueDictionary(s)&&(s=[xe(s)]);for(var h=0;h<s.length;h++)o(s[h],c)}}),f),l=(s,f,...c)=>{let{p:h,s:p}={before:{p:"beforebegin",s:""},after:{p:"afterend",s:"nextSibling"}}[f]||{p:"",s:""};return s.for(m=>{if(xe.is.string(c[0]))m.insertAdjacentHTML(h,c[0]);else{if(!m.parentNode)return;xe(c[0]).for(g=>{c[1]&&(g=g.cloneNode(!0)),m.parentNode.insertBefore(g,m[p]||m)})}}),s};xe.extend({get:function(s){return s?this[0]:r(this,f=>f)},for:function(s,f=1){let c=r(this,(h,p)=>s(h,p),1);return f?c:[]},await:function(s){return Va(this,()=>new Promise((f,c)=>{setTimeout(()=>{f(this)},s)}))},abort:function(){return Va(this,()=>Wa(this,null,function*(){return this.queue=[],this}))},callback:function(s){return Va(this,()=>Wa(this,null,function*(){return yield s(this),this}))},click:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];xe.is.element(f)&&f.click()}return this})},focus:function(){return Va(this,()=>{for(var s=0;s<this.length;s++){let f=this[s];xe.is.element(f)&&f.focus()}return this})},addEvent:function(s){return Va(this,()=>{let{eventType:f,eventID:c=tf(),target:h,callback:p,options:m}=s;return m=nc({passive:!0,capture:!1},m),this.for(g=>{if(!(xe.is.element(g)||xe.is.shadowRoot(g)))return;let{events:b}=g[xe.expando];if(h){let S=p;p=w=>{if(w.target){if(xe.is.string(h)){let k=w.target.closest(h);k&&(!k||S.call(k,w))}else if(xe.is.elements(h)){for(let k of h)if(w.target==k)return S.call(k,w)}}}}if(b[c]){let S=b[c];g.removeEventListener(S.eventType,S.callback,S.options)}b[c]={eventType:f,callback:p,options:m},g.addEventListener(f,p,m)}),this})},removeEvent:function(s){return Va(this,()=>{let f=xe.is.array(s)?s:[s];return this.for(c=>{let{events:h}=c[xe.expando];for(let p of f){let m=h[p];m&&c.removeEventListener(m.eventType,m.callback,m.options)}}),this})},html:function(s){return Va(this,()=>ac(this,o(s,a(this))))},empty:function(){return Va(this,()=>ac(this,a(this)))},append:function(s){return Va(this,()=>{o(s,this)})},remove:function(){return Va(this,()=>(this.for((s,f)=>{s&&xe.is.element(s)&&(s.remove(),delete this[f])}),this.length=0,this.warn="Object(s?) were all removed.",this))},before:function(...s){return Va(this,()=>ac(this,l(this,"before",...s)))},after:function(...s){return Va(this,()=>ac(this,l(this,"after",...s)))},find:function(s){return Va(this,()=>{let f=[],c=this[0];c||ac(this,xe()),(xe.is.element(c)||xe.is.shadowRoot(c))&&(xe.is.string(s)?f=c.querySelectorAll(s):xe.is.element(c)&&xe(s).for(h=>{let p=c.childNodes;for(let m of p)if(m===h){f.push(m);break}else m.childNodes.length&&(f=[...f,...xe(m).find(h).for(g=>g)])})),ac(this,xe(f))})},parent:function(s){return Va(this,()=>{var f,c;let h=xe(s?(f=this[0])==null?void 0:f.closest(s):(c=this[0])==null?void 0:c.parentNode);ac(this,h)})},children:function(s){return Va(this,()=>{let f=this[0].children;xe.is.exist(s)&&(s=String(s).replace(/^ : /,""),f=s=="first"?f[0]:s=="last"?f[f.length-1]:f[Number(s)]);let c=xe(f);return ac(this,c)})},addClass:function(s){return Va(this,()=>(s&&this.for(f=>{let c=xe.is.string(s)?s.split(" "):s;f&&xe.is.element(f)&&f.classList.add(...c)}),this))},removeClass:function(s){return Va(this,()=>(s&&this.for(f=>{let c=xe.is.string(s)?s.split(" "):s;f&&xe.is.element(f)&&f.classList.remove(...c)}),this))},toggleClass:function(s){return Va(this,()=>(s&&this.for(f=>{f.classList.toggle(s)}),this))},hasClass:function(s=""){if(this[0])return this[0].classList.contains(s.replace(/^\./,""))},findClass:function(s){let f=[];return this[0]&&(f=[...this[0].classList].filter(c=>c.match(s))),f},css:function(s){return Va(this,()=>(this.for(f=>{if(xe.is.element(f))for(let[c,h]of Object.entries(s)){if(xe.is.number(h)&&c.match(/width|height|top|right|bottom|left|padding|margin|gap|border-.*radius/)){f.style[c]=h+"px";continue}f.style[c]=String(h)}}),this))},getAttribute:function(s){return this[0].getAttribute(String(s))},setAttribute:function(s,f){return Va(this,()=>(this.for(c=>c.setAttribute(s,f)),this))},getStyleProperty:function(s){let f=this[0];return f&&xe.is.element(f)?getComputedStyle(f).getPropertyValue(s):""},setStyleProperty:function(s,f){let c=this[0];return c&&xe.is.element(c)&&c.style.setProperty(s,f),this},val:function(){var s;let f=this[0];return(f==null?void 0:f.value)||((s=f==null?void 0:f.dataset)==null?void 0:s.value)},position:function(){return xe.is.element(this[0])?this[0].getBoundingClientRect():{}}})}xe.flatArray=(r,a)=>{if(!xe.is.array(r))return[r];let o=[];for(let l of r)o.push(...a=="-R"?xe.flatArray(l,"-R"):[l]);return o};xe.uniqueArray=(r,a)=>{let o=r;return a?o=Array.from(new Map(r.map(l=>[xe.getKeyValue(l,a||"0"),l])).values()):o=Array.from(new Set(r)),o};xe.getKeyValue=(r,a)=>{let o={},l=r;return a.split(".").forEach(s=>{l=l==null?void 0:l[s],o=l}),o};xe.Stringify=JSON.stringify;xe.Objectify=(r,a)=>{try{return JSON.parse(r)}catch(o){return a!=null?a:null}};xe.randomNumber=(r=0,a=100,o)=>{if(r>a)return NaN;let l=[],s=r;for(;s<=a;){if(o&&o.length&&o.includes(s)){s++;continue}l.push(s),s++}let f=Math.round(Math.random()*(l.length-1))+0;return l[f]};xe.try=r=>{try{return[r(),!0]}catch(a){return[a,!1]}};xe.trySync=r=>Wa(void 0,null,function*(){try{return[yield r(),!0]}catch(a){return[a,!1]}});xe.scope=r=>r();xe.scopeSync=r=>Wa(void 0,null,function*(){return yield r()});xe.createElement=function(r){var a;let{tag:o,className:l="",id:s,html:f,attr:c,style:h,parent:p}=r,m=document.createElement(o||"div");if(l&&m.classList.add(...l.split(" ")),s&&(m.id=s),c)for(let S of Object.entries(c)){let w=S[0],k=(a=S[1])!=null?a:"";if(w=="data"&&xe.is.keyValueDictionary(k))for(let[L,M]of Object.entries(k))m.dataset[L]=M;else w=="for"?w="htmlFor":w=="tabindex"?w="tabIndex":w=="aria-label"&&(w="ariaLabel"),m[w]=k}if(f&&xe(m).append(f),h)for(var[g,b]of Object.entries(h))m.style[g]=b;return p&&xe(p).append(m),m};xe.setCookie=r=>{let{hostname:a}=new URL(location.toString()),{name:o,value:l="",age:s=60*60*24*365,path:f="/",domain:c=a,secure:h=!1}=r,p=`${o}=${l}max-age=${s}path=${f}domain=${c}`;h&&(p+=" Secure"),document.cookie=p};xe.getCookie=r=>{let a=document.cookie.match(new RegExp(r+"=[^]*"));return a?a[0].replace(new RegExp(r+"="),""):""};xe.localStrage={set:(r,a)=>{localStorage.setItem(r,xe.Stringify(a))},get:r=>{let a=localStorage.getItem(r);return xe.Objectify(a,a)}};xe.deleteCookie=r=>{document.cookie=r+"=max-age=0"};xe.getScreenSize=()=>{let{innerHeight:r,innerWidth:a,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f}=window,c=Number(xe(document.body).getStyleProperty("--sat").removeLetters()),h=Number(xe(document.body).getStyleProperty("--sab").removeLetters());return{height:r,width:a,pageHeight:r-c-h,scrollY:o,scrollX:l,pageXOffset:s,pageYOffset:f,safeAreaTop:c,safeAreaBottom:h}};xe.getCursor=r=>{var a,o,l,s,f,c,h,p;let m=(s=r.pageX)!=null?s:(l=(a=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:a.pageX)!=null?l:(((o=r==null?void 0:r.originalEvent)==null?void 0:o.touches)||[])[0].pageX,g=(p=r.pageY)!=null?p:(h=(f=((r==null?void 0:r.changedTouches)||[])[0])==null?void 0:f.pageY)!=null?h:(((c=r==null?void 0:r.originalEvent)==null?void 0:c.touches)||[])[0].pageY;return{x:m,y:g}};xe.pending=(r,a)=>new Promise((o,l)=>{r(o),a&&setTimeout(()=>{o(!0)},a)});xe.deepMerge=(r,...a)=>{if(!a.length)return r;let o=a.shift();if(xe.is.keyValueDictionary(r)&&xe.is.keyValueDictionary(o))for(let l in o)xe.is.keyValueDictionary(o[l])?(r[l]||Object.assign(r,{[l]:{}}),xe.deepMerge(r[l],o[l])):Object.assign(r,{[l]:o[l]});return xe.deepMerge(r,...a)};xe.deepCopy=r=>{if(xe.is.array(r))return r.map(a=>xe.deepCopy(a));if(xe.is.keyValueDictionary(r)){let a={};return Object.entries(r).forEach(([o,l])=>{a[o]=xe.deepCopy(l)}),a}return r};xe.queryParams={get:r=>{let a=new URL(r||location.href),o={};return a.searchParams.forEach((l,s)=>o[s]=l),o},set:(r,a)=>{let o=new URL(a||location.href);return Object.entries(r).forEach(([l,s])=>{o.searchParams.set(l,String(s))}),a||history.replaceState({},"",o.pathname+o.search),o.toString()},delete:(r,a)=>{let o=new URL(a||location.href);return r.forEach(l=>{o.searchParams.delete(l)}),a||history.replaceState({},"",o.pathname+o.search),o.toString()}};xe.ellipsisText=(r,a)=>{let o=String(r);return o.length>a&&(o=o.slice(0,a)+" ..."),o};xe.is={equal:function(r,a,o){return o==null||o?xe.Stringify(r)===xe.Stringify(a):r===a},what:function(r){let a="other";return this.jmini(r)?a="jmini":this.element(r)?a="element":this.elements(r)?a="elements":this.shadowRoot(r)?a="shadowRoot":this.string(r)?a="string":this.number(r)?a="number":this.array(r)?a="array":this.function(r)?a="function":this.date(r)?a="date":typeof r=="undefined"?a="undefined":this.keyValueDictionary(r)?a="keyValueDictionary":r==null?a="null":isNaN(r)&&(a="NaN"),a},exist:function(r){return r===(r!=null?r:!r)},nullish:function(r){return!this.exist(r)},jmini:function(r){return(r||{}).constructor===xe},string:function(r){return typeof r=="string"},boolean:function(r){return typeof r=="boolean"},number:function(r){return!isNaN(r)&&typeof r=="number"},array:function(r){let a={}.toString.call(r);return r instanceof Array||a=="[object NodeList]"||a=="[object HTMLCollection]"},function:function(r){return typeof r=="function"},keyValueDictionary:function(r){return{}.toString.call(r)==="[object Object]"&&!this.jmini(r)},element:function(r){return r&&(r.nodeType==1&&typeof r.style=="object"&&typeof r.ownerDocument=="object"||[window,document].includes(r))},elements:function(r){let a={}.toString.call(r),o=Number(!!r&&typeof r!="string"&&this.array(r)&&a!=="[object Text]");if(o&&a!=="[object NodeList]")for(var l of r)o&=Number(this.element(l));return!!o},shadowRoot:function(r){return r instanceof ShadowRoot},date:function(r){return this.number(new Date(r).getTime())}};var MW=r=>new Or.prototype.Time(r),Or=MW;Or.prototype={};var PW=function(r){Or.isTimeObject(r)&&(r=r.value),r||(r===null?r=void 0:r===void 0&&(r=new Date));let a=new Date(r);return this.set(a)};xe.extend({value:new Date,validate:!1,ms:-1,weekday:-1,weekInMonth:-1,weekInYear:-1,isLastWeekInMonth:!1,year:-1,month:-1,date:-1,hours:-1,minutes:-1,seconds:-1,constructor:Or,Time:PW,clone:function(){return Or(this)},set:function(r){this.value=r;let a=xe.is.date(r);if(this.validate=a,!a)return this.ms=-1,this.year=-1,this.month=-1,this.weekday=-1,this.weekInYear=-1,this.date=-1,this.hours=-1,this.minutes=-1,this.seconds=-1,this;this.ms=r.getTime(),this.weekday=r.getDay(),this.year=r.getFullYear(),this.month=r.getMonth()+1,this.date=r.getDate();{let o=new Date(this.year,0,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24));this.weekInYear=Math.ceil(f/7)}{let o=new Date(this.year,this.month-1,1),l=new Date(o.valueOf());l.setDate(l.getDate()-(o.getDay()+1));let s=r.getTime()-l.getTime(),f=Math.ceil(s/(1e3*60*60*24)),c=Math.ceil(f/7);this.weekInMonth=c}{let o=new Date(this.year,this.month,0),l=o.getDay(),s=new Date(new Date(o).setDate(o.getDate()-l));this.isLastWeekInMonth=this.date>=s.getDate()}return this.hours=r.getHours(),this.minutes=r.getMinutes(),this.seconds=r.getSeconds(),this},isSameYear:function(r){let a=Or(r);return this.year==a.year},isSameMonth:function(r){let a=Or(r);return this.year==a.year&&this.month==a.month},isSameWeek:function(r){let a=Or(r);return this.year==a.year&&this.weekInYear==a.weekInYear},isSameDate:function(r){let a=Or(r);return this.year==a.year&&this.month==a.month&&this.date==a.date},setYear:function(r){let a=new Date(this.value.valueOf());return a.setFullYear(r),this.set(a)},setMonth:function(r){let a=new Date(this.value.valueOf());return a.setMonth(r-1),this.set(a)},setDate:function(r){let a=new Date(this.value.valueOf());return a.setDate(r),this.set(a)},setHours:function(r){let a=new Date(this.value.valueOf());return a.setHours(r),this.set(a)},setMinutes:function(r){let a=new Date(this.value.valueOf());return a.setMinutes(r),this.set(a)},setSeconds:function(r){let a=new Date(this.value.valueOf());return a.setSeconds(r),this.set(a)},setMilliseconds:function(r){let a=new Date(this.value.valueOf());return a.setMilliseconds(r),this.set(a)},addYear:function(r){return this.setYear(this.year+r)},addMonth:function(r){return this.setMonth(this.month+r)},addWeek:function(r){return this.addDate(7*r)},addDate:function(r){return this.setDate(this.date+r)},addHours:function(r){return this.setHours(this.hours+r)},addMinutes:function(r){return this.setMinutes(this.minutes+r)},addSeconds:function(r){return this.setSeconds(this.seconds+r)},toFormat:function(r){return this.validate?r.replace(/\%y/ig,this.year.zeroEmbed(4)).replace(/\%m/ig,this.month.zeroEmbed(2)).replace(/\%d/ig,this.date.zeroEmbed(2)).replace(/\%w/ig,this.weekInYear.zeroEmbed(2)).replace(/\%h/ig,this.hours.zeroEmbed(2)).replace(/\%i/ig,this.minutes.zeroEmbed(2)).replace(/\%s/ig,this.seconds.zeroEmbed(2)):""},toFormatYMD:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5"):this.toFormat("%Y/%M/%D"):""},toFormatYM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708"):this.toFormat("%Y/%M"):""},toFormatMD:function(r){return this.validate?r=="JP"?this.toFormat("%M\u6708%D\u65E5"):this.toFormat("%M/%D"):""},toFormatHM:function(r){return this.validate?r=="JP"?this.toFormat("%h\u6642%m\u5206"):this.toFormat("%h:%i"):""},toFormatYMDHM:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206"):this.toFormat("%Y/%M/%D %h:%i"):""},toFormatYMDHMS:function(r){return this.validate?r=="JP"?this.toFormat("%Y\u5E74%M\u6708%D\u65E5%h\u6642%m\u5206%s\u79D2"):this.toFormat("%Y/%M/%D %h:%i:%s"):""},setFirstOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),this.set(r)},setLastOfTheDay:function(){let r=new Date(this.value.valueOf());return r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),this.set(r)},getFirstDayOfTheYear:function(){return Or(new Date(this.value.getFullYear(),0,1))},getLastDayOfTheYear:function(){return Or(new Date(this.value.getFullYear()+1,0,0))},getFirstDayOfTheMonth:function(){return Or(new Date(this.value.getFullYear(),this.month-1,1))},getLastDayOfTheMonth:function(){return Or(new Date(this.value.getFullYear(),this.month,0))},getFirstDayOfTheWeek:function(){let r=Or(this.value);return r.addDate(-r.weekday)},getLastDayOfTheWeek:function(){let r=Or(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||Or(),o=a.year-this.year;return(this.month>a.month||this.month==a.month&&a.date<this.date)&&o--,o}},Or);Or.isTimeObject=r=>{var a;return((a=r||{})==null?void 0:a.constructor)===Or};Or.getFromNumberYYYYMMDD=r=>{let a=String(r).replace(/(\d{4})(\d{2})(\d{2})/,"$1/$2/$3");return Or(a+" 00:00")};Or.getShortYMDs=(r,a)=>{let o="",l="";return r.year==a.year&&r.year==Or().year?o=r.toFormatMD():o=r.toFormatYMD(),r.year!=a.year?l=a.toFormatYMD():l=a.toFormatMD(),[o,l]};Or.getPeriodArray=(r,a,o)=>{let l=[],s=a;if(!a.validate||!o.validate)return l;for(;s.toFormatYMDHMS().toNumber()<=o.toFormatYMDHMS().toNumber();)l.push(s),r=="year"?s=Or(s).addYear(1):r=="month"?s=Or(s).addMonth(1):r=="week"?s=Or(s).addWeek(1):r=="day"?s=Or(s).addDate(1):r=="hours"?s=Or(s).addHours(1):r=="minutes"?s=Or(s).addMinutes(1):r=="seconds"&&(s=Or(s).addSeconds(1));return l};Or.prototype.Time.prototype=Or.prototype;var iu={},F_={set:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{let f=iu[l]||{};f&&f.privateKey&&f.privateKey!=a&&(o=!1),iu[l]={privateKey:a,value:s}}),o},update:(r,a)=>{let o=!0;return Object.entries(r).forEach(([l,s])=>{var f;let c=iu[l]||{};c&&c.privateKey&&c.privateKey!=a&&(o=!1),iu[l]=ZT(nc({},iu[l]),{value:nc(nc({},(f=iu[l])==null?void 0:f.value),s)})}),o},get:(r,a)=>{let o=iu[r];if(!(o&&o.privateKey&&o.privateKey!=a))return o==null?void 0:o.value},delete:(r,a)=>{let o=iu[r];return o&&o.privateKey&&o.privateKey!=a?!1:(delete iu[r],!0)}},IW=(...[r,a,o])=>new wo.prototype.Interval(r,a,o),wo=IW;wo.prototype={};var zW=function(...[r,a,o]){return this.fn=r,this.ms=a,this.key=o,wo.abort(this.key),this.store(),this};xe.extend({key:"",ms:0,timeoutIndex:-1,fn:null,Interval:zW,store:function(){F_.set({["Interval_"+this.key]:this})},once:function(){return this.fn&&(this.timeoutIndex=setTimeout(this.fn,this.ms)),this.store(),this},start:function(){return this.fn&&(this.timeoutIndex=setInterval(this.fn,this.ms)),this.store(),this},abort:function(){return wo.abort(this.timeoutIndex),this},set_ms:function(r){return this.ms=r,this.store(),this},set_fn:function(r){return this.fn=r,this.store(),this}},wo);wo.abort=r=>{if(xe.is.number(r))return clearInterval(r);let a=F_.get("Interval_"+r);a&&clearInterval(a.timeoutIndex)};wo.get=r=>F_.get("Interval_"+r);wo.once=(r,a,o)=>wo(r,a,o).once();wo.start=(r,a,o)=>wo(r,a,o).start();wo.prototype.Interval.prototype=wo.prototype;var BW=(r,a)=>new Zr.prototype.Fetcher(r,a),Zr=BW;Zr.prototype={};Zr.waitList=[];Zr.setDefaultTrafficControl=0;Zr.setDefaultTimeout=1e3*60*10;Zr.isReadableStream=r=>r instanceof ReadableStream;Zr.isReadableStreamReader=r=>r instanceof ReadableStreamDefaultReader;Zr.streamToContext=(r,a)=>Wa(void 0,null,function*(){try{let o=(a==null?void 0:a.reader)||r.getReader();if(!Zr.isReadableStreamReader(o))return{ok:!1,done:!0,data:null};if(!o)return{ok:!1,done:!0,data:null};let l=(a==null?void 0:a.decoder)||new TextDecoder("utf-8"),s=yield o.read();return{ok:!0,done:s.done,data:l.decode(s.value)}}catch(o){return{ok:!1,done:!0,data:o}}});var FW=function(r,a){var o;a=a||{};let l=a.body;a.body&&!xe.is.string(a.body)&&((o=a.bodyStringify)==null||o)&&(l=xe.Stringify(a.body||{}));let s=r;return xe.is.string(r)&&!r.match(/https?:/)&&(s=location.origin+"/"+r.replace(/^\//,"")),this.url=s,this.method=a.method||"get",this.streamStatus="open",this.params=ZT(nc({key:tf(),response_format:"json",timeout:Zr.setDefaultTimeout,trafficControl:Zr.setDefaultTrafficControl,preventMultiRequest:!0},a),{headers:nc(nc({"Content-Type":"application/json"},Zr.setDefaultHeaders&&Zr.setDefaultHeaders()),a.headers),body:l}),this};xe.extend({Fetcher:FW,params:{},url:"",method:"GET",streamStatus:"closed",onStartCB:()=>{},onCompleteCB:()=>{},onErrorCB:()=>{},onResultCB:()=>{},onStreamCB:()=>{},onStart:function(r){return this.onStartCB=r,this},onStream:function(r){return this.onStreamCB=r,this},onResult:function(r){return this.onResultCB=r,this},onComplete:function(r){return this.onCompleteCB=r,this},onError:function(r){return this.onErrorCB=r,this},onStreamProcess:function(r){return Wa(this,null,function*(){let{response:a,errorCB:o,streamCB:l,reader:s,decoder:f}=r,c=a.body,h=this,p=function(){return DW(this,null,function*(){if(!a.ok){xe.scope(()=>Wa(this,null,function*(){let{ok:k,done:L,data:M}=yield Zr.streamToContext(c,{reader:s,decoder:f});k&&o(M)}));return}let w=!1;for(;!w;){let{ok:k,done:L,data:M}=yield new e5(Zr.streamToContext(c,{reader:s,decoder:f}));h.streamStatus=="abort"?(h.streamStatus="closed",s.cancel(),L=!0):h.streamStatus=="closed"&&(L=!0),L&&(w=L,s.releaseLock()),l(M,L)}})};try{for(var m=AW(p()),g,b,S;g=!(b=yield m.next()).done;g=!1){let w=b.value}}catch(w){S=[w]}finally{try{g&&(b=m.return)&&(yield b.call(m))}finally{if(S)throw S[0]}}})},get:function(){return this.method="GET",this.send()},head:function(){return this.method="HEAD",this.send()},post:function(){return this.method="POST",this.send()},put:function(){return this.method="PUT",this.send()},delete:function(){return this.method="DELETE",this.send()},patch:function(){return this.method="PATCH",this.send()},options:function(){return this.method="OPTIONS",this.send()},send:function(){return Wa(this,null,function*(){var r;let a=this.params,o=performance.now(),l=0,s=new AbortController,f=setTimeout(()=>{s.abort()},a.timeout);a.signal=s.signal;let c=!1,h=500,p="InternalServerError",m={},g=null;try{Zr.setDefaultOnStart&&Zr.setDefaultOnStart(a),this.onStartCB&&this.onStartCB(a);let S=a,{key:w,response_format:k,trafficControl:L,preventMultiRequest:M,timeout:Y,queries:O}=S,j=kW(S,["key","response_format","trafficControl","preventMultiRequest","timeout","queries"]);j.method=this.method;let F=Zr.waitList.includes(w);if(M&&F)throw h=429,new Error("TooManyRequests");Zr.waitList=[...Zr.waitList,w];let Q=xe.queryParams.set(nc({},O),String(this.url));m=yield fetch(Q,j).then(N=>Wa(this,null,function*(){return c=N.ok,h=N.status,p=N.statusText,g=N,k=="none"||k=="stream"?N:N[k]()})).catch(N=>{throw new Error(N)})}catch(S){h==200&&(h=500,c=!1),h==429&&(p="TooManyRequests"),s.signal.aborted&&(h=408,p="Timeout"),h==500&&(p=String(S)||p),m={errorCode:String(S)}}finally{clearTimeout(f),l=performance.now()-o}a.trafficControl&&(yield xe.pending(()=>{},a.trafficControl)),Zr.waitList.splice(Zr.waitList.findIndex(S=>S==a.key),1);let b={ok:c,status:h,statusText:p,body:m,requestTime:l,rawData:g};if(!c&&this.onErrorCB&&this.onErrorCB(b.body),c&&this.onStreamCB&&a.response_format=="stream"){let S=(r=g.body)==null?void 0:r.getReader();this.onStreamProcess({errorCB:this.onErrorCB,streamCB:this.onStreamCB,response:b,reader:S,decoder:new TextDecoder("utf-8")})}return c&&this.onCompleteCB&&this.onCompleteCB(b.body),this.onResultCB&&this.onResultCB(b,a),Zr.setDefaultOnEnd&&Zr.setDefaultOnEnd(b,a),b})},abortStream:function(){this.streamStatus="abort"}},Zr);Zr.prototype.Fetcher.prototype=Zr.prototype;var jW=r=>new yn.prototype.Filer(r),yn=jW;yn.prototype={};var HW=function(r){this.ok=!0;try{let[a,o]=r.name.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" ");this.file=r,this.extension=o,this.fileName=a,this.type=r.type}catch(a){console.log(a),this.ok=!1}return this};xe.extend({ok:!1,extension:"",type:"",file:{},fileName:"",Filer:HW,isValid:function(){return this.ok},toBlob:function(){return Wa(this,null,function*(){return new Blob([this.file,{type:this.type}])})},toDataURL:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("dataURL")).target)==null?void 0:r.result})},toAarrayBuffer:function(){return Wa(this,null,function*(){var r;return(r=(yield this.file.convert("arrayBuffer")).target)==null?void 0:r.result})},toObjectURL:function(){return Wa(this,null,function*(){return URL.createObjectURL(this.file)})},updateFileName:function(r){let a=new File([this.file],r+"."+this.extension);return this.file=a,this.fileName=r,this},updateMimeType:function(r){return this.file=new File([this.file],this.fileName+"."+this.extension,{type:r}),this.type=r,this},updateExtension:function(r){let a=new File([this.file],this.fileName+"."+r);return this.file=a,this.extension=r,this}},yn);yn.fromFile=r=>Wa(void 0,null,function*(){return yn(r)});yn.fromBlob=(r,a)=>Wa(void 0,null,function*(){let o=(a==null?void 0:a.fileName)||"file",l=(a==null?void 0:a.extension)||"",s=new File([r],o+"."+l,{type:a==null?void 0:a.mimeType});return yn(s)});yn.fromArrayBuffer=(r,a)=>Wa(void 0,null,function*(){return yn.fromBlob(new Blob([r],{type:(a==null?void 0:a.mimeType)||""}),a)});yn.fromObjectURL=(r,a)=>Wa(void 0,null,function*(){let o=yield Zr(r,{response_format:"blob"}).get();return o.ok?yn.fromBlob(o.body,a):yn({})});yn.fromDataURL=(r,a)=>Wa(void 0,null,function*(){let o=yield r.toBlob((a==null?void 0:a.mimeType)||"");return o?yn.fromBlob(o,a):yn({})});yn.prototype.Filer.prototype=yn.prototype;var UW=function(r){let a=r,o=null;return a.use((l,s,f)=>{let c=s;c.return=h=>{let{status:p=200,body:m={},bodyStringify:g=!0}=h||{},b=m;return g&&!xe.is.string(m)&&(b=xe.Stringify(m)),s.status(p).end(b)},f()}),a.onPathRouter=function(l){return o=l,this},a.pathRouter=function(l){if(!o)return;let s=o(l);return s.route(l),a.use(l,s),s},a.exception=function(l){return a.use(l),this},a},s2=UW;s2.getLocalIP=r=>{let a="";return xe.scope(()=>{if(!r)return;let o=r.networkInterfaces();for(let[l,s]of Object.entries(o))s.forEach(f=>{!f.internal&&f.family==="IPv4"&&!f.address.match(/^(169|127)/)&&(a=f.address)})}),a};s2.getIP=function(r){var a;return(((r==null?void 0:r.headers["x-forwarded-for"])||((a=r==null?void 0:r.socket)==null?void 0:a.remoteAddress)||"").toString().match(new RegExp(/(::ffff:)?(\d+\.\d+.\d+\.\d+(:\d+)?)/))||[])[2]||"UNKNOWN IP"};xe.copyToClipboard=r=>Wa(void 0,null,function*(){let a="";xe.is.string(r)?a=r:xe.is.function(r)&&(a=r());let o={ok:!1,body:"NotSupported"};return yield Wa(void 0,null,function*(){let l;if(navigator.clipboard){if(l=yield navigator.clipboard.writeText(a).then(()=>!0,()=>!1),!l)return}else{let s=document.createElement("input");if(xe(document.body).append(s),s.value=a,s.select(),l=document.execCommand("copy"),document.body.removeChild(s),!l)return}o={ok:!0,body:""}}),o});xe.ImageLoader=(r,a)=>new Promise((o,l)=>{let s=a||new Image;s.onload=()=>o(s),s.onerror=f=>l(f),s.src=r});xe.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}}};xe.transformer={weekday:{JP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]+"\u66DC\u65E5",shortJP:r=>["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][r]},wareki:r=>{let a=[],o=[],l=!1;return[{From:1868,To:1912,name:"\u660E\u6CBB"},{From:1912,To:1926,name:"\u5927\u6B63"},{From:1926,To:1989,name:"\u662D\u548C"},{From:1989,To:2019,name:"\u5E73\u6210"},{From:2019,To:1e5,name:"\u4EE4\u548C"}].forEach(s=>{let{From:f,To:c,name:h}=s;if(f<=r&&r<=c){let p=r-f+1;p==1&&(l=!0,p="\u5143"),o.push(h+p+"\u5E74"),a.push(h)}}),{era:a,value:o,gap:l}}};xe.interval=wo;Zr.setDefaultHeaders=()=>({});var VW=xe});var l5=Ue(H_=>{"use strict";(function(){"use strict";var r=cr(),a=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,L="@@iterator";function M(D){if(D===null||typeof D!="object")return null;var q=k&&D[k]||D[L];return typeof q=="function"?q:null}var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(D){{for(var q=arguments.length,pe=new Array(q>1?q-1:0),ke=1;ke<q;ke++)pe[ke-1]=arguments[ke];j("error",D,pe)}}function j(D,q,pe){{var ke=Y.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(q+="%s",pe=pe.concat([He]));var ft=pe.map(function(Je){return String(Je)});ft.unshift("Warning: "+q),Function.prototype.apply.call(console[D],console,ft)}}var F=!1,Q=!1,N=!1,te=!1,_e=!1,re;re=Symbol.for("react.module.reference");function be(D){return!!(typeof D=="string"||typeof D=="function"||D===l||D===f||_e||D===s||D===m||D===g||te||D===w||F||Q||N||typeof D=="object"&&D!==null&&(D.$$typeof===S||D.$$typeof===b||D.$$typeof===c||D.$$typeof===h||D.$$typeof===p||D.$$typeof===re||D.getModuleId!==void 0))}function ye(D,q,pe){var ke=D.displayName;if(ke)return ke;var He=q.displayName||q.name||"";return He!==""?pe+"("+He+")":pe}function ge(D){return D.displayName||"Context"}function H(D){if(D==null)return null;if(typeof D.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case l:return"Fragment";case o:return"Portal";case f:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case h:var q=D;return ge(q)+".Consumer";case c:var pe=D;return ge(pe._context)+".Provider";case p:return ye(D,D.render,"ForwardRef");case b:var ke=D.displayName||null;return ke!==null?ke:H(D.type)||"Memo";case S:{var He=D,ft=He._payload,Je=He._init;try{return H(Je(ft))}catch(Ke){return null}}}return null}var le=Object.assign,fe=0,B,W,ne,ee,de,Ce,Se;function Ye(){}Ye.__reactDisabledLog=!0;function $e(){{if(fe===0){B=console.log,W=console.info,ne=console.warn,ee=console.error,de=console.group,Ce=console.groupCollapsed,Se=console.groupEnd;var D={configurable:!0,enumerable:!0,value:Ye,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fe++}}function Pe(){{if(fe--,fe===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},D,{value:B}),info:le({},D,{value:W}),warn:le({},D,{value:ne}),error:le({},D,{value:ee}),group:le({},D,{value:de}),groupCollapsed:le({},D,{value:Ce}),groupEnd:le({},D,{value:Se})})}fe<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var et=Y.ReactCurrentDispatcher,ct;function lt(D,q,pe){{if(ct===void 0)try{throw Error()}catch(He){var ke=He.stack.trim().match(/\n( *(at )?)/);ct=ke&&ke[1]||""}return`
150
+ `+ct+D}}var Tt=!1,wt;{var Ze=typeof WeakMap=="function"?WeakMap:Map;wt=new Ze}function Te(D,q){if(!D||Tt)return"";{var pe=wt.get(D);if(pe!==void 0)return pe}var ke;Tt=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ft;ft=et.current,et.current=null,$e();try{if(q){var Je=function(){throw Error()};if(Object.defineProperty(Je.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Je,[])}catch(sa){ke=sa}Reflect.construct(D,[],Je)}else{try{Je.call()}catch(sa){ke=sa}D.call(Je.prototype)}}else{try{throw Error()}catch(sa){ke=sa}D()}}catch(sa){if(sa&&ke&&typeof sa.stack=="string"){for(var Ke=sa.stack.split(`
151
+ `),Ct=ke.stack.split(`
152
+ `),kt=Ke.length-1,Wt=Ct.length-1;kt>=1&&Wt>=0&&Ke[kt]!==Ct[Wt];)Wt--;for(;kt>=1&&Wt>=0;kt--,Wt--)if(Ke[kt]!==Ct[Wt]){if(kt!==1||Wt!==1)do if(kt--,Wt--,Wt<0||Ke[kt]!==Ct[Wt]){var $r=`
153
+ `+Ke[kt].replace(" at new "," at ");return D.displayName&&$r.includes("<anonymous>")&&($r=$r.replace("<anonymous>",D.displayName)),typeof D=="function"&&wt.set(D,$r),$r}while(kt>=1&&Wt>=0);break}}}finally{Tt=!1,et.current=ft,Pe(),Error.prepareStackTrace=He}var Ha=D?D.displayName||D.name:"",la=Ha?lt(Ha):"";return typeof D=="function"&&wt.set(D,la),la}function pt(D,q,pe){return Te(D,!1)}function Lt(D){var q=D.prototype;return!!(q&&q.isReactComponent)}function jt(D,q,pe){if(D==null)return"";if(typeof D=="function")return Te(D,Lt(D));if(typeof D=="string")return lt(D);switch(D){case m:return lt("Suspense");case g:return lt("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case p:return pt(D.render);case b:return jt(D.type,q,pe);case S:{var ke=D,He=ke._payload,ft=ke._init;try{return jt(ft(He),q,pe)}catch(Je){}}}return""}var Ut=Object.prototype.hasOwnProperty,er={},ur=Y.ReactDebugCurrentFrame;function Tr(D){if(D){var q=D._owner,pe=jt(D.type,D._source,q?q.type:null);ur.setExtraStackFrame(pe)}else ur.setExtraStackFrame(null)}function ra(D,q,pe,ke,He){{var ft=Function.call.bind(Ut);for(var Je in D)if(ft(D,Je)){var Ke=void 0;try{if(typeof D[Je]!="function"){var Ct=Error((ke||"React class")+": "+pe+" type `"+Je+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[Je]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ct.name="Invariant Violation",Ct}Ke=D[Je](q,Je,ke,pe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kt){Ke=kt}Ke&&!(Ke instanceof Error)&&(Tr(He),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ke||"React class",pe,Je,typeof Ke),Tr(null)),Ke instanceof Error&&!(Ke.message in er)&&(er[Ke.message]=!0,Tr(He),O("Failed %s type: %s",pe,Ke.message),Tr(null))}}}var jr=Array.isArray;function qr(D){return jr(D)}function wr(D){{var q=typeof Symbol=="function"&&Symbol.toStringTag,pe=q&&D[Symbol.toStringTag]||D.constructor.name||"Object";return pe}}function fr(D){try{return _r(D),!1}catch(q){return!0}}function _r(D){return""+D}function ha(D){if(fr(D))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",wr(D)),_r(D)}var Cr=Y.ReactCurrentOwner,mr={key:!0,ref:!0,__self:!0,__source:!0},Mr,ga,Be;Be={};function st(D){if(Ut.call(D,"ref")){var q=Object.getOwnPropertyDescriptor(D,"ref").get;if(q&&q.isReactWarning)return!1}return D.ref!==void 0}function bt(D){if(Ut.call(D,"key")){var q=Object.getOwnPropertyDescriptor(D,"key").get;if(q&&q.isReactWarning)return!1}return D.key!==void 0}function $t(D,q){if(typeof D.ref=="string"&&Cr.current&&q&&Cr.current.stateNode!==q){var pe=H(Cr.current.type);Be[pe]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',H(Cr.current.type),D.ref),Be[pe]=!0)}}function Vt(D,q){{var pe=function(){Mr||(Mr=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"key",{get:pe,configurable:!0})}}function Er(D,q){{var pe=function(){ga||(ga=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};pe.isReactWarning=!0,Object.defineProperty(D,"ref",{get:pe,configurable:!0})}}var vr=function(D,q,pe,ke,He,ft,Je){var Ke={$$typeof:a,type:D,key:q,ref:pe,props:Je,_owner:ft};return Ke._store={},Object.defineProperty(Ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty(Ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:He}),Object.freeze&&(Object.freeze(Ke.props),Object.freeze(Ke)),Ke};function Yr(D,q,pe,ke,He){{var ft,Je={},Ke=null,Ct=null;pe!==void 0&&(ha(pe),Ke=""+pe),bt(q)&&(ha(q.key),Ke=""+q.key),st(q)&&(Ct=q.ref,$t(q,He));for(ft in q)Ut.call(q,ft)&&!mr.hasOwnProperty(ft)&&(Je[ft]=q[ft]);if(D&&D.defaultProps){var kt=D.defaultProps;for(ft in kt)Je[ft]===void 0&&(Je[ft]=kt[ft])}if(Ke||Ct){var Wt=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Vt(Je,Wt),Ct&&Er(Je,Wt)}return vr(D,Ke,Ct,He,ke,Cr.current,Je)}}var $=Y.ReactCurrentOwner,P=Y.ReactDebugCurrentFrame;function R(D){if(D){var q=D._owner,pe=jt(D.type,D._source,q?q.type:null);P.setExtraStackFrame(pe)}else P.setExtraStackFrame(null)}var z;z=!1;function G(D){return typeof D=="object"&&D!==null&&D.$$typeof===a}function ie(){{if($.current){var D=H($.current.type);if(D)return`
154
154
 
155
155
  Check the render method of \``+D+"`."}return""}}function oe(D){{if(D!==void 0){var q=D.fileName.replace(/^.*[\\\/]/,""),pe=D.lineNumber;return`
156
156
 
157
157
  Check your code at `+q+":"+pe+"."}return""}}var Oe={};function Ie(D){{var q=ie();if(!q){var pe=typeof D=="string"?D:D.displayName||D.name;pe&&(q=`
158
158
 
159
- Check the top-level render call using <`+pe+">.")}return q}}function Me(D,q){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Ie(q);if(Oe[pe])return;Oe[pe]=!0;var Te="";D&&D._owner&&D._owner!==$.current&&(Te=" It was passed a child from "+H(D._owner.type)+"."),R(D),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,Te),R(null)}}function Ye(D,q){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var Te=D[pe];G(Te)&&Me(Te,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var Ue=M(D);if(typeof Ue=="function"&&Ue!==D.entries)for(var st=Ue.call(D),Je;!(Je=st.next()).done;)G(Je.value)&&Me(Je.value,q)}}}function Ae(D){{var q=D.type;if(q==null||typeof q=="string")return;var pe;if(typeof q=="function")pe=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===p||q.$$typeof===b))pe=q.propTypes;else return;if(pe){var Te=H(q);ra(pe,D.props,"prop",Te,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var Ue=H(q);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ue||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qe(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var Te=q[pe];if(Te!=="children"&&Te!=="key"){R(D),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),R(null);break}}D.ref!==null&&(R(D),O("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,Te,Ue,st){{var Je=ye(D);if(!Je){var Ke="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ct=oe(Ue);Ct?Ke+=Ct:Ke+=ie();var kt;D===null?kt="null":qr(D)?kt="array":D!==void 0&&D.$$typeof===a?(kt="<"+(H(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof D,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,Ke)}var Vt=Yr(D,q,pe,Ue,st);if(Vt==null)return Vt;if(Je){var $r=q.children;if($r!==void 0)if(Te)if(qr($r)){for(var Ha=0;Ha<$r.length;Ha++)Ye($r[Ha],D);Object.freeze&&Object.freeze($r)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ye($r,D)}if(Ht.call(q,"key")){var la=H(D),sa=Object.keys(q).filter(function(qn){return qn!=="key"}),Ga=sa.length>0?"{key: someKey, "+sa.join(": ..., ")+": ...}":"{key: someKey}";if(!I[la+Ga]){var Nt=sa.length>0?"{"+sa.join(": ..., ")+": ...}":"{}";O(`A props object containing a "key" prop is being spread into JSX:
159
+ Check the top-level render call using <`+pe+">.")}return q}}function Me(D,q){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var pe=Ie(q);if(Oe[pe])return;Oe[pe]=!0;var ke="";D&&D._owner&&D._owner!==$.current&&(ke=" It was passed a child from "+H(D._owner.type)+"."),R(D),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',pe,ke),R(null)}}function We(D,q){{if(typeof D!="object")return;if(qr(D))for(var pe=0;pe<D.length;pe++){var ke=D[pe];G(ke)&&Me(ke,q)}else if(G(D))D._store&&(D._store.validated=!0);else if(D){var He=M(D);if(typeof He=="function"&&He!==D.entries)for(var ft=He.call(D),Je;!(Je=ft.next()).done;)G(Je.value)&&Me(Je.value,q)}}}function Ae(D){{var q=D.type;if(q==null||typeof q=="string")return;var pe;if(typeof q=="function")pe=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===p||q.$$typeof===b))pe=q.propTypes;else return;if(pe){var ke=H(q);ra(pe,D.props,"prop",ke,D)}else if(q.PropTypes!==void 0&&!z){z=!0;var He=H(q);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",He||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Qe(D){{for(var q=Object.keys(D.props),pe=0;pe<q.length;pe++){var ke=q[pe];if(ke!=="children"&&ke!=="key"){R(D),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ke),R(null);break}}D.ref!==null&&(R(D),O("Invalid attribute `ref` supplied to `React.Fragment`."),R(null))}}var I={};function V(D,q,pe,ke,He,ft){{var Je=be(D);if(!Je){var Ke="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ct=oe(He);Ct?Ke+=Ct:Ke+=ie();var kt;D===null?kt="null":qr(D)?kt="array":D!==void 0&&D.$$typeof===a?(kt="<"+(H(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):kt=typeof D,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kt,Ke)}var Wt=Yr(D,q,pe,He,ft);if(Wt==null)return Wt;if(Je){var $r=q.children;if($r!==void 0)if(ke)if(qr($r)){for(var Ha=0;Ha<$r.length;Ha++)We($r[Ha],D);Object.freeze&&Object.freeze($r)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else We($r,D)}if(Ut.call(q,"key")){var la=H(D),sa=Object.keys(q).filter(function(Wn){return Wn!=="key"}),Ga=sa.length>0?"{key: someKey, "+sa.join(": ..., ")+": ...}":"{key: someKey}";if(!I[la+Ga]){var Nt=sa.length>0?"{"+sa.join(": ..., ")+": ...}":"{}";O(`A props object containing a "key" prop is being spread into JSX:
160
160
  let props = %s;
161
161
  <%s {...props} />
162
162
  React keys must be passed directly to JSX without using spread:
163
163
  let props = %s;
164
- <%s key={someKey} {...props} />`,Ga,la,Nt,la),I[la+Ga]=!0}}return D===l?Qe(Vt):Ae(Vt),Vt}}function re(D,q,pe){return V(D,q,pe,!0)}function se(D,q,pe){return V(D,q,pe,!1)}var We=se,Fe=re;H_.Fragment=l,H_.jsx=We,H_.jsxs=Fe})()});var Dt=Ve((fG,s5)=>{"use strict";s5.exports=l5()});var uE={};Td(uE,{api:()=>To,config:()=>kY,counter:()=>MY,dom:()=>EY,findIconDefinition:()=>DY,icon:()=>LY,layer:()=>NY,library:()=>TY,noAuto:()=>xY,parse:()=>RY,text:()=>OY,toHtml:()=>AY});function c5(r,a){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);a&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),o.push.apply(o,l)}return o}function mt(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?c5(Object(o),!0).forEach(function(l){fn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):c5(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function Z_(r){"@babel/helpers - typeof";return Z_=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},Z_(r)}function $W(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function f5(r,a){for(var o=0;o<a.length;o++){var l=a[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}function GW(r,a,o){return a&&f5(r.prototype,a),o&&f5(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function fn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function x2(r,a){return XW(r)||JW(r,a)||I5(r,a)||eq()}function em(r){return KW(r)||QW(r)||I5(r)||ZW()}function KW(r){if(Array.isArray(r))return p2(r)}function XW(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 JW(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var l=[],s=!0,f=!1,c,h;try{for(o=o.call(r);!(s=(c=o.next()).done)&&(l.push(c.value),!(a&&l.length===a));s=!0);}catch(p){f=!0,h=p}finally{try{!s&&o.return!=null&&o.return()}finally{if(f)throw h}}return l}}function I5(r,a){if(r){if(typeof r=="string")return p2(r,a);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return p2(r,a)}}function p2(r,a){(a==null||a>r.length)&&(a=r.length);for(var o=0,l=new Array(a);o<a;o++)l[o]=r[o];return l}function ZW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
164
+ <%s key={someKey} {...props} />`,Ga,la,Nt,la),I[la+Ga]=!0}}return D===l?Qe(Wt):Ae(Wt),Wt}}function ae(D,q,pe){return V(D,q,pe,!0)}function se(D,q,pe){return V(D,q,pe,!1)}var Ve=se,Fe=ae;H_.Fragment=l,H_.jsx=Ve,H_.jsxs=Fe})()});var Dt=Ue((fG,s5)=>{"use strict";s5.exports=l5()});var uE={};Ed(uE,{api:()=>ko,config:()=>kY,counter:()=>MY,dom:()=>EY,findIconDefinition:()=>DY,icon:()=>LY,layer:()=>NY,library:()=>TY,noAuto:()=>xY,parse:()=>RY,text:()=>OY,toHtml:()=>AY});function c5(r,a){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);a&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),o.push.apply(o,l)}return o}function _t(r){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?c5(Object(o),!0).forEach(function(l){fn(r,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):c5(Object(o)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(o,l))})}return r}function Z_(r){"@babel/helpers - typeof";return Z_=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},Z_(r)}function $W(r,a){if(!(r instanceof a))throw new TypeError("Cannot call a class as a function")}function f5(r,a){for(var o=0;o<a.length;o++){var l=a[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}function GW(r,a,o){return a&&f5(r.prototype,a),o&&f5(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function fn(r,a,o){return a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r}function x2(r,a){return XW(r)||JW(r,a)||I5(r,a)||eq()}function em(r){return KW(r)||QW(r)||I5(r)||ZW()}function KW(r){if(Array.isArray(r))return p2(r)}function XW(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 JW(r,a){var o=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var l=[],s=!0,f=!1,c,h;try{for(o=o.call(r);!(s=(c=o.next()).done)&&(l.push(c.value),!(a&&l.length===a));s=!0);}catch(p){f=!0,h=p}finally{try{!s&&o.return!=null&&o.return()}finally{if(f)throw h}}return l}}function I5(r,a){if(r){if(typeof r=="string")return p2(r,a);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return p2(r,a)}}function p2(r,a){(a==null||a>r.length)&&(a=r.length);for(var o=0,l=new Array(a);o<a;o++)l[o]=r[o];return l}function ZW(){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 eq(){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 tm(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[ba]}})}function dq(r){var a=ya.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function pq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function hq(r){return Gh.push(r),function(){Gh.splice(Gh.indexOf(r),1)}}function mq(r){if(!(!r||!cu)){var a=ya.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=ya.head.childNodes,l=null,s=o.length-1;s>-1;s--){var f=o[s],c=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(l=f)}return ya.head.insertBefore(a,l),r}}function Zh(){for(var r=12,a="";r-- >0;)a+=vq[Math.random()*62|0];return a}function zd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function D2(r){return r.classList?zd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function $5(r){return"".concat(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function _q(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat($5(r[o]),'" ')},"").trim()}function rg(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function A2(r){return r.size!==Cs.size||r.x!==Cs.x||r.y!==Cs.y||r.rotate!==Cs.rotate||r.flipX||r.flipY}function gq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(o/2," 256)")},f="translate(".concat(a.x*32,", ").concat(a.y*32,") "),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(f," ").concat(c," ").concat(h)},m={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:m}}function bq(r){var a=r.transform,o=r.width,l=o===void 0?h2:o,s=r.height,f=s===void 0?h2:s,c=r.startCentered,h=c===void 0?!1:c,p="";return h&&j5?p+="translate(".concat(a.x/oc-l/2,"em, ").concat(a.y/oc-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/oc,"em), calc(-50% + ").concat(a.y/oc,"em)) "):p+="translate(".concat(a.x/oc,"em, ").concat(a.y/oc,"em) "),p+="scale(".concat(a.size/oc*(a.flipX?-1:1),", ").concat(a.size/oc*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function G5(){var r=H5,a=U5,o=xt.cssPrefix,l=xt.replacementClass,s=yq;if(o!==r||l!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),c=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(f,".".concat(o,"-")).replace(c,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function u2(){xt.autoAddCss&&!g5&&(mq(G5()),g5=!0)}function Cq(r){cu&&(eg?setTimeout(r,0):K5.push(r))}function rm(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,f=s===void 0?[]:s;return typeof r=="string"?$5(r):"<".concat(a," ").concat(_q(l),">").concat(f.map(rm).join(""),"</").concat(a,">")}function b5(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function kq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((s&1023)<<10)+(f&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function v2(r){var a=kq(r);return a.length===1?a[0].toString(16):null}function Tq(r,a){var o=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&o>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function y5(r){return Object.keys(r).reduce(function(a,o){var l=r[o],s=!!l.icon;return s?a[l.iconName]=l.icon:a[o]=l,a},{})}function _2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=y5(a);typeof Gl.hooks.addPack=="function"&&!s?Gl.hooks.addPack(r,y5(a)):Gl.styles[r]=mt(mt({},Gl.styles[r]||{}),f),r==="fas"&&_2("fa",a)}function Aq(r){return~fq.indexOf(r)}function Lq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!Aq(s)?s:null}function N2(r,a){return(X5[r]||{})[a]}function Nq(r,a){return(Q5[r]||{})[a]}function rf(r,a){return(eE[r]||{})[a]}function rE(r){return J5[r]||{prefix:null,iconName:null}}function Oq(r){var a=Z5[r],o=N2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lc(){return L2}function ag(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?ba:o,s=Kh[l][r],f=Xh[l][r]||Xh[l][s],c=r in Gl.styles?r:null;return f||c||null}function ng(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,f=(a={},fn(a,ba,"".concat(xt.cssPrefix,"-").concat(ba)),fn(a,za,"".concat(xt.cssPrefix,"-").concat(za)),a),c=null,h=ba;(r.includes(f[ba])||r.some(function(m){return S5[ba].includes(m)}))&&(h=ba),(r.includes(f[za])||r.some(function(m){return S5[za].includes(m)}))&&(h=za);var p=r.reduce(function(m,g){var b=Lq(xt.cssPrefix,g);if(Od[g]?(g=Rq[h].includes(g)?oq[h][g]:g,c=g,m.prefix=g):Dq[h].indexOf(g)>-1?(c=g,m.prefix=ag(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ba]&&g!==f[za]&&m.rest.push(g),!s&&m.prefix&&m.iconName){var S=c==="fa"?rE(m.iconName):{},w=rf(m.prefix,m.iconName);S.prefix&&(c=null),m.iconName=S.iconName||w||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Od.far&&Od.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},O2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===za&&(Od.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=rf(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||c==="fa")&&(p.prefix=lc()||"fas"),p}function Iq(r,a){var o=a.mixoutsTo;return w5=r,Md={},Object.keys(Pd).forEach(function(l){Pq.indexOf(l)===-1&&delete Pd[l]}),w5.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(c){typeof s[c]=="function"&&(o[c]=s[c]),Z_(s[c])==="object"&&Object.keys(s[c]).forEach(function(h){o[c]||(o[c]={}),o[c][h]=s[c][h]})}),l.hooks){var f=l.hooks();Object.keys(f).forEach(function(c){Md[c]||(Md[c]=[]),Md[c].push(f[c])})}l.provides&&l.provides(Pd)}),o}function g2(r,a){for(var o=arguments.length,l=new Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];var f=Md[r]||[];return f.forEach(function(c){a=c.apply(null,[a].concat(l))}),a}function nf(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];var s=Md[r]||[];s.forEach(function(f){f.apply(null,o)})}function uu(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Pd[r]?Pd[r].apply(null,a):void 0}function b2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lc();if(a)return a=rf(o,a)||a,b5(aE.definitions,o,a)||b5(Gl.styles,o,a)}function og(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return rm(l)})}}),Object.defineProperty(r,"node",{get:function(){if(cu){var l=ya.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function Hq(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,f=r.styles,c=r.transform;if(A2(c)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=rg(mt(mt({},f),{},{"transform-origin":"".concat(m.x+c.x/16,"em ").concat(m.y+c.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function Uq(r){var a=r.prefix,o=r.iconName,l=r.children,s=r.attributes,f=r.symbol,c=f===!0?"".concat(a,"-").concat(xt.cssPrefix,"-").concat(o):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mt(mt({},s),{},{id:c}),children:l}]}]}function M2(r){var a=r.icons,o=a.main,l=a.mask,s=r.prefix,f=r.iconName,c=r.transform,h=r.symbol,p=r.title,m=r.maskId,g=r.titleId,b=r.extra,S=r.watchable,w=S===void 0?!1:S,k=l.found?l:o,L=k.width,M=k.height,Y=s==="fak",O=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(ae){return b.classes.indexOf(ae)===-1}).filter(function(ae){return ae!==""||!!ae}).concat(b.classes).join(" "),j={children:[],attributes:mt(mt({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:O,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(M)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(L/M*16*.0625,"em")}:{};w&&(j.attributes[af]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(g||Zh())},children:[p]}),delete j.attributes.title);var J=mt(mt({},j),{},{prefix:s,iconName:f,main:o,mask:l,maskId:m,transform:c,symbol:h,styles:mt(mt({},F),b.styles)}),N=l.found&&o.found?uu("generateAbstractMask",J)||{children:[],attributes:{}}:uu("generateAbstractIcon",J)||{children:[],attributes:{}},te=N.children,_e=N.attributes;return J.children=te,J.attributes=_e,h?Uq(J):Hq(J)}function C5(r){var a=r.content,o=r.width,l=r.height,s=r.transform,f=r.title,c=r.extra,h=r.watchable,p=h===void 0?!1:h,m=mt(mt(mt({},c.attributes),f?{title:f}:{}),{},{class:c.classes.join(" ")});p&&(m[af]="");var g=mt({},c.styles);A2(s)&&(g.transform=bq({transform:s,startCentered:!0,width:o,height:l}),g["-webkit-transform"]=g.transform);var b=rg(g);b.length>0&&(m.style=b);var S=[];return S.push({tag:"span",attributes:m,children:[a]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}function Vq(r){var a=r.content,o=r.title,l=r.extra,s=mt(mt(mt({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),f=rg(l.styles);f.length>0&&(s.style=f);var c=[];return c.push({tag:"span",attributes:s,children:[a]}),o&&c.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),c}function y2(r){var a=r[0],o=r[1],l=r.slice(4),s=x2(l,1),f=s[0],c=null;return Array.isArray(f)?c={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(tf.PRIMARY),fill:"currentColor",d:f[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:c}}function qq(r,a){!V5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function S2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lc()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:uu("missingIconAbstract")||{}};if(o==="fa"){var c=rE(r)||{};r=c.iconName||r,a=c.prefix||a}if(r&&a&&f2[a]&&f2[a][r]){var h=f2[a][r];return l(y2(h))}qq(r,a),l(mt(mt({},Wq),{},{icon:xt.showMissingIcons&&r?uu("missingIconAbstract")||{}:{}}))})}function k5(r){var a=r.getAttribute?r.getAttribute(af):null;return typeof a=="string"}function $q(r){var a=r.getAttribute?r.getAttribute(T2):null,o=r.getAttribute?r.getAttribute(E2):null;return a&&o}function Gq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Kq(){if(xt.autoReplaceSvg===!0)return J_.replace;var r=J_[xt.autoReplaceSvg];return r||J_.replace}function Xq(r){return ya.createElementNS("http://www.w3.org/2000/svg",r)}function Qq(r){return ya.createElement(r)}function oE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?Xq:Qq:o;if(typeof r=="string")return ya.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(c){s.setAttribute(c,r.attributes[c])});var f=r.children||[];return f.forEach(function(c){s.appendChild(oE(c,{ceFn:l}))}),s}function Jq(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function T5(r){r()}function iE(r,a){var o=typeof a=="function"?a:Q_;if(r.length===0)o();else{var l=T5;xt.mutateApproach===aq&&(l=ic.requestAnimationFrame||T5),l(function(){var s=Kq(),f=P2.begin("mutate");r.map(s),f(),o()})}}function lE(){I2=!0}function C2(){I2=!1}function E5(r){if(m5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?Q_:a,l=r.nodeCallback,s=l===void 0?Q_:l,f=r.pseudoElementsCallback,c=f===void 0?Q_:f,h=r.observeMutationsRoot,p=h===void 0?ya:h;tg=new m5(function(m){if(!I2){var g=lc();zd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!k5(b.addedNodes[0])&&(xt.searchPseudoElements&&c(b.target),o(b.target)),b.type==="attributes"&&b.target.parentNode&&xt.searchPseudoElements&&c(b.target.parentNode),b.type==="attributes"&&k5(b.target)&&~cq.indexOf(b.attributeName))if(b.attributeName==="class"&&$q(b.target)){var S=ng(D2(b.target)),w=S.prefix,k=S.iconName;b.target.setAttribute(T2,w||g),k&&b.target.setAttribute(E2,k)}else Gq(b.target)&&s(b.target)})}}),cu&&tg.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Zq(){tg&&tg.disconnect()}function eY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var f=s.split(":"),c=f[0],h=f.slice(1);return c&&h.length>0&&(l[c]=h.join(":").trim()),l},{})),o}function tY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=ng(D2(r));return s.prefix||(s.prefix=lc()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Nq(s.prefix,r.innerText)||N2(s.prefix,v2(r.innerText))),!s.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function rY(r){var a=zd(r.attributes).reduce(function(s,f){return s.name!=="class"&&s.name!=="style"&&(s[f.name]=f.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(l||Zh()):(a["aria-hidden"]="true",a.focusable="false")),a}function aY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Cs,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function R5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=tY(r),l=o.iconName,s=o.prefix,f=o.rest,c=rY(r),h=g2("parseNodeAttributes",{},r),p=a.styleParser?eY(r):[];return mt({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:Cs,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:p,attributes:c}},h)}function sE(r){var a=xt.autoReplaceSvg==="nest"?R5(r,{styleParser:!1}):R5(r);return~a.extra.classes.indexOf(W5)?uu("generateLayersText",r,a):uu("generateSvgReplacementMutation",r,a)}function D5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!cu)return Promise.resolve();var o=ya.documentElement.classList,l=function(b){return o.add("".concat(v5,"-").concat(b))},s=function(b){return o.remove("".concat(v5,"-").concat(b))},f=xt.autoFetchSvg?sc:R2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(nY));f.includes("fa")||f.push("fa");var c=[".".concat(W5,":not([").concat(af,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(af,"])")})).join(", ");if(c.length===0)return Promise.resolve();var h=[];try{h=zd(r.querySelectorAll(c))}catch(g){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=P2.begin("onTree"),m=h.reduce(function(g,b){try{var S=sE(b);S&&g.push(S)}catch(w){V5||w.name==="MissingIcon"&&console.error(w)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(S){iE(S,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(S){p(),b(S)})})}function oY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;sE(r).then(function(o){o&&iE([o],a)})}function iY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:b2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:b2(s||{})),r(l,mt(mt({},o),{},{mask:s}))}}function pY(r){var a=r.replace(dY,""),o=Tq(a,0),l=o>=A5[0]&&o<=A5[1],s=a.length===2?a[0]===a[1]:!1;return{value:v2(s?a[0]:a),isSecondary:l||s}}function L5(r,a){var o="".concat(rq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var f=zd(r.children),c=f.filter(function(te){return te.getAttribute(m2)===a})[0],h=ic.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(lq),m=h.getPropertyValue("font-weight"),g=h.getPropertyValue("content");if(c&&!p)return r.removeChild(c),l();if(p&&g!=="none"&&g!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?za:ba,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Xh[S][p[2].toLowerCase()]:sq[S][m],k=pY(b),L=k.value,M=k.isSecondary,Y=p[0].startsWith("FontAwesome"),O=N2(w,L),j=O;if(Y){var F=Oq(L);F.iconName&&F.prefix&&(O=F.iconName,w=F.prefix)}if(O&&!M&&(!c||c.getAttribute(T2)!==w||c.getAttribute(E2)!==j)){r.setAttribute(o,j),c&&r.removeChild(c);var J=aY(),N=J.extra;N.attributes[m2]=a,S2(O,w).then(function(te){var _e=M2(mt(mt({},J),{},{icons:{main:te,mask:O2()},prefix:w,iconName:j,extra:N,watchable:!0})),ae=ya.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(ae,r.firstChild):r.appendChild(ae),ae.outerHTML=_e.map(function(ye){return rm(ye)}).join(`
167
- `),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function hY(r){return Promise.all([L5(r,"::before"),L5(r,"::after")])}function mY(r){return r.parentNode!==document.head&&!~nq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(m2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function N5(r){if(cu)return new Promise(function(a,o){var l=zd(r.querySelectorAll("*")).filter(mY).map(hY),s=P2.begin("searchPseudoElements");lE(),Promise.all(l).then(function(){s(),C2(),a()}).catch(function(){s(),C2(),o()})})}function P5(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 bY(r){return r.tag==="g"?r.children:[r]}var d5,k2,z5,B5,F5,tq,p5,h5,ic,ya,m5,U_,mG,cu,j5,V_,W_,q_,Y_,$_,lu,h2,H5,U5,af,m2,rq,T2,E2,v5,aq,nq,V5,ba,za,R2,Kh,Xh,Qh,oq,iq,W5,lq,sq,q5,uq,cq,tf,Jh,fq,$h,_5,Y5,Id,xt,Gh,oc,Cs,vq,yq,g5,Sq,su,Gl,K5,wq,eg,xq,c2,G_,K_,X_,Od,Eq,Rq,L2,X5,Q5,J5,Z5,eE,Dq,tE,O2,S5,Mq,w5,Md,Pd,Pq,aE,zq,Bq,Fq,To,jq,f2,Wq,x5,w2,Yh,Yq,nE,P2,Q_,J_,I2,tg,nY,sc,lY,sY,uY,cY,fY,dY,A5,vY,O5,_Y,M5,gY,d2,yY,SY,wY,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,MY,cE=xV(()=>{d5=function(){},k2={},z5={},B5=null,F5={mark:d5,measure:d5};try{typeof window!="undefined"&&(k2=window),typeof document!="undefined"&&(z5=document),typeof MutationObserver!="undefined"&&(B5=MutationObserver),typeof performance!="undefined"&&(F5=performance)}catch(r){}tq=k2.navigator||{},p5=tq.userAgent,h5=p5===void 0?"":p5,ic=k2,ya=z5,m5=B5,U_=F5,mG=!!ic.document,cu=!!ya.documentElement&&!!ya.head&&typeof ya.addEventListener=="function"&&typeof ya.createElement=="function",j5=~h5.indexOf("MSIE")||~h5.indexOf("Trident/"),lu="___FONT_AWESOME___",h2=16,H5="fa",U5="svg-inline--fa",af="data-fa-i2svg",m2="data-fa-pseudo-element",rq="data-fa-pseudo-element-pending",T2="data-prefix",E2="data-icon",v5="fontawesome-i2svg",aq="async",nq=["HTML","HEAD","STYLE","SCRIPT"],V5=function(){try{return!1}catch(r){return!1}}(),ba="classic",za="sharp",R2=[ba,za];Kh=tm((V_={},fn(V_,ba,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),fn(V_,za,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),V_)),Xh=tm((W_={},fn(W_,ba,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),fn(W_,za,{solid:"fass",regular:"fasr",light:"fasl"}),W_)),Qh=tm((q_={},fn(q_,ba,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),fn(q_,za,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),q_)),oq=tm((Y_={},fn(Y_,ba,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),fn(Y_,za,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Y_)),iq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,W5="fa-layers-text",lq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,sq=tm(($_={},fn($_,ba,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),fn($_,za,{900:"fass",400:"fasr",300:"fasl"}),$_)),q5=[1,2,3,4,5,6,7,8,9,10],uq=q5.concat([11,12,13,14,15,16,17,18,19,20]),cq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],tf={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Jh=new Set;Object.keys(Xh[ba]).map(Jh.add.bind(Jh));Object.keys(Xh[za]).map(Jh.add.bind(Jh));fq=[].concat(R2,em(Jh),["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",tf.GROUP,tf.SWAP_OPACITY,tf.PRIMARY,tf.SECONDARY]).concat(q5.map(function(r){return"".concat(r,"x")})).concat(uq.map(function(r){return"w-".concat(r)})),$h=ic.FontAwesomeConfig||{};ya&&typeof ya.querySelector=="function"&&(_5=[["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"]],_5.forEach(function(r){var a=x2(r,2),o=a[0],l=a[1],s=pq(dq(o));s!=null&&($h[l]=s)}));Y5={styleDefault:"solid",familyDefault:"classic",cssPrefix:H5,replacementClass:U5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$h.familyPrefix&&($h.cssPrefix=$h.familyPrefix);Id=mt(mt({},Y5),$h);Id.autoReplaceSvg||(Id.observeMutations=!1);xt={};Object.keys(Y5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){Id[r]=o,Gh.forEach(function(l){return l(xt)})},get:function(){return Id[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){Id.cssPrefix=a,Gh.forEach(function(o){return o(xt)})},get:function(){return Id.cssPrefix}});ic.FontAwesomeConfig=xt;Gh=[];oc=h2,Cs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};vq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";yq=`:root, :host {
166
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tm(r){return new Proxy(r,{get:function(o,l){return l in o?o[l]:o[ya]}})}function dq(r){var a=Sa.querySelector("script["+r+"]");if(a)return a.getAttribute(r)}function pq(r){return r===""?!0:r==="false"?!1:r==="true"?!0:r}function hq(r){return Gh.push(r),function(){Gh.splice(Gh.indexOf(r),1)}}function mq(r){if(!(!r||!cu)){var a=Sa.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=r;for(var o=Sa.head.childNodes,l=null,s=o.length-1;s>-1;s--){var f=o[s],c=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(l=f)}return Sa.head.insertBefore(a,l),r}}function Zh(){for(var r=12,a="";r-- >0;)a+=vq[Math.random()*62|0];return a}function Bd(r){for(var a=[],o=(r||[]).length>>>0;o--;)a[o]=r[o];return a}function D2(r){return r.classList?Bd(r.classList):(r.getAttribute("class")||"").split(" ").filter(function(a){return a})}function $5(r){return"".concat(r).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function _q(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,'="').concat($5(r[o]),'" ')},"").trim()}function rg(r){return Object.keys(r||{}).reduce(function(a,o){return a+"".concat(o,": ").concat(r[o].trim(),";")},"")}function A2(r){return r.size!==Cs.size||r.x!==Cs.x||r.y!==Cs.y||r.rotate!==Cs.rotate||r.flipX||r.flipY}function gq(r){var a=r.transform,o=r.containerWidth,l=r.iconWidth,s={transform:"translate(".concat(o/2," 256)")},f="translate(".concat(a.x*32,", ").concat(a.y*32,") "),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(f," ").concat(c," ").concat(h)},m={transform:"translate(".concat(l/2*-1," -256)")};return{outer:s,inner:p,path:m}}function bq(r){var a=r.transform,o=r.width,l=o===void 0?h2:o,s=r.height,f=s===void 0?h2:s,c=r.startCentered,h=c===void 0?!1:c,p="";return h&&j5?p+="translate(".concat(a.x/oc-l/2,"em, ").concat(a.y/oc-f/2,"em) "):h?p+="translate(calc(-50% + ".concat(a.x/oc,"em), calc(-50% + ").concat(a.y/oc,"em)) "):p+="translate(".concat(a.x/oc,"em, ").concat(a.y/oc,"em) "),p+="scale(".concat(a.size/oc*(a.flipX?-1:1),", ").concat(a.size/oc*(a.flipY?-1:1),") "),p+="rotate(".concat(a.rotate,"deg) "),p}function G5(){var r=H5,a=U5,o=xt.cssPrefix,l=xt.replacementClass,s=yq;if(o!==r||l!==a){var f=new RegExp("\\.".concat(r,"\\-"),"g"),c=new RegExp("\\--".concat(r,"\\-"),"g"),h=new RegExp("\\.".concat(a),"g");s=s.replace(f,".".concat(o,"-")).replace(c,"--".concat(o,"-")).replace(h,".".concat(l))}return s}function u2(){xt.autoAddCss&&!g5&&(mq(G5()),g5=!0)}function Cq(r){cu&&(eg?setTimeout(r,0):K5.push(r))}function rm(r){var a=r.tag,o=r.attributes,l=o===void 0?{}:o,s=r.children,f=s===void 0?[]:s;return typeof r=="string"?$5(r):"<".concat(a," ").concat(_q(l),">").concat(f.map(rm).join(""),"</").concat(a,">")}function b5(r,a,o){if(r&&r[a]&&r[a][o])return{prefix:a,iconName:o,icon:r[a][o]}}function kq(r){for(var a=[],o=0,l=r.length;o<l;){var s=r.charCodeAt(o++);if(s>=55296&&s<=56319&&o<l){var f=r.charCodeAt(o++);(f&64512)==56320?a.push(((s&1023)<<10)+(f&1023)+65536):(a.push(s),o--)}else a.push(s)}return a}function v2(r){var a=kq(r);return a.length===1?a[0].toString(16):null}function Tq(r,a){var o=r.length,l=r.charCodeAt(a),s;return l>=55296&&l<=56319&&o>a+1&&(s=r.charCodeAt(a+1),s>=56320&&s<=57343)?(l-55296)*1024+s-56320+65536:l}function y5(r){return Object.keys(r).reduce(function(a,o){var l=r[o],s=!!l.icon;return s?a[l.iconName]=l.icon:a[o]=l,a},{})}function _2(r,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.skipHooks,s=l===void 0?!1:l,f=y5(a);typeof Kl.hooks.addPack=="function"&&!s?Kl.hooks.addPack(r,y5(a)):Kl.styles[r]=_t(_t({},Kl.styles[r]||{}),f),r==="fas"&&_2("fa",a)}function Aq(r){return~fq.indexOf(r)}function Lq(r,a){var o=a.split("-"),l=o[0],s=o.slice(1).join("-");return l===r&&s!==""&&!Aq(s)?s:null}function N2(r,a){return(X5[r]||{})[a]}function Nq(r,a){return(Q5[r]||{})[a]}function af(r,a){return(eE[r]||{})[a]}function rE(r){return J5[r]||{prefix:null,iconName:null}}function Oq(r){var a=Z5[r],o=N2("fas",r);return a||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function lc(){return L2}function ag(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.family,l=o===void 0?ya:o,s=Kh[l][r],f=Xh[l][r]||Xh[l][s],c=r in Kl.styles?r:null;return f||c||null}function ng(r){var a,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.skipLookups,s=l===void 0?!1:l,f=(a={},fn(a,ya,"".concat(xt.cssPrefix,"-").concat(ya)),fn(a,za,"".concat(xt.cssPrefix,"-").concat(za)),a),c=null,h=ya;(r.includes(f[ya])||r.some(function(m){return S5[ya].includes(m)}))&&(h=ya),(r.includes(f[za])||r.some(function(m){return S5[za].includes(m)}))&&(h=za);var p=r.reduce(function(m,g){var b=Lq(xt.cssPrefix,g);if(Md[g]?(g=Rq[h].includes(g)?oq[h][g]:g,c=g,m.prefix=g):Dq[h].indexOf(g)>-1?(c=g,m.prefix=ag(g,{family:h})):b?m.iconName=b:g!==xt.replacementClass&&g!==f[ya]&&g!==f[za]&&m.rest.push(g),!s&&m.prefix&&m.iconName){var S=c==="fa"?rE(m.iconName):{},w=af(m.prefix,m.iconName);S.prefix&&(c=null),m.iconName=S.iconName||w||m.iconName,m.prefix=S.prefix||m.prefix,m.prefix==="far"&&!Md.far&&Md.fas&&!xt.autoFetchSvg&&(m.prefix="fas")}return m},O2());return(r.includes("fa-brands")||r.includes("fab"))&&(p.prefix="fab"),(r.includes("fa-duotone")||r.includes("fad"))&&(p.prefix="fad"),!p.prefix&&h===za&&(Md.fass||xt.autoFetchSvg)&&(p.prefix="fass",p.iconName=af(p.prefix,p.iconName)||p.iconName),(p.prefix==="fa"||c==="fa")&&(p.prefix=lc()||"fas"),p}function Iq(r,a){var o=a.mixoutsTo;return w5=r,Pd={},Object.keys(Id).forEach(function(l){Pq.indexOf(l)===-1&&delete Id[l]}),w5.forEach(function(l){var s=l.mixout?l.mixout():{};if(Object.keys(s).forEach(function(c){typeof s[c]=="function"&&(o[c]=s[c]),Z_(s[c])==="object"&&Object.keys(s[c]).forEach(function(h){o[c]||(o[c]={}),o[c][h]=s[c][h]})}),l.hooks){var f=l.hooks();Object.keys(f).forEach(function(c){Pd[c]||(Pd[c]=[]),Pd[c].push(f[c])})}l.provides&&l.provides(Id)}),o}function g2(r,a){for(var o=arguments.length,l=new Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];var f=Pd[r]||[];return f.forEach(function(c){a=c.apply(null,[a].concat(l))}),a}function of(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];var s=Pd[r]||[];s.forEach(function(f){f.apply(null,o)})}function uu(){var r=arguments[0],a=Array.prototype.slice.call(arguments,1);return Id[r]?Id[r].apply(null,a):void 0}function b2(r){r.prefix==="fa"&&(r.prefix="fas");var a=r.iconName,o=r.prefix||lc();if(a)return a=af(o,a)||a,b5(aE.definitions,o,a)||b5(Kl.styles,o,a)}function og(r,a){return Object.defineProperty(r,"abstract",{get:a}),Object.defineProperty(r,"html",{get:function(){return r.abstract.map(function(l){return rm(l)})}}),Object.defineProperty(r,"node",{get:function(){if(cu){var l=Sa.createElement("div");return l.innerHTML=r.html,l.children}}}),r}function Hq(r){var a=r.children,o=r.main,l=r.mask,s=r.attributes,f=r.styles,c=r.transform;if(A2(c)&&o.found&&!l.found){var h=o.width,p=o.height,m={x:h/p/2,y:.5};s.style=rg(_t(_t({},f),{},{"transform-origin":"".concat(m.x+c.x/16,"em ").concat(m.y+c.y/16,"em")}))}return[{tag:"svg",attributes:s,children:a}]}function Uq(r){var a=r.prefix,o=r.iconName,l=r.children,s=r.attributes,f=r.symbol,c=f===!0?"".concat(a,"-").concat(xt.cssPrefix,"-").concat(o):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_t(_t({},s),{},{id:c}),children:l}]}]}function M2(r){var a=r.icons,o=a.main,l=a.mask,s=r.prefix,f=r.iconName,c=r.transform,h=r.symbol,p=r.title,m=r.maskId,g=r.titleId,b=r.extra,S=r.watchable,w=S===void 0?!1:S,k=l.found?l:o,L=k.width,M=k.height,Y=s==="fak",O=[xt.replacementClass,f?"".concat(xt.cssPrefix,"-").concat(f):""].filter(function(re){return b.classes.indexOf(re)===-1}).filter(function(re){return re!==""||!!re}).concat(b.classes).join(" "),j={children:[],attributes:_t(_t({},b.attributes),{},{"data-prefix":s,"data-icon":f,class:O,role:b.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(L," ").concat(M)})},F=Y&&!~b.classes.indexOf("fa-fw")?{width:"".concat(L/M*16*.0625,"em")}:{};w&&(j.attributes[nf]=""),p&&(j.children.push({tag:"title",attributes:{id:j.attributes["aria-labelledby"]||"title-".concat(g||Zh())},children:[p]}),delete j.attributes.title);var Q=_t(_t({},j),{},{prefix:s,iconName:f,main:o,mask:l,maskId:m,transform:c,symbol:h,styles:_t(_t({},F),b.styles)}),N=l.found&&o.found?uu("generateAbstractMask",Q)||{children:[],attributes:{}}:uu("generateAbstractIcon",Q)||{children:[],attributes:{}},te=N.children,_e=N.attributes;return Q.children=te,Q.attributes=_e,h?Uq(Q):Hq(Q)}function C5(r){var a=r.content,o=r.width,l=r.height,s=r.transform,f=r.title,c=r.extra,h=r.watchable,p=h===void 0?!1:h,m=_t(_t(_t({},c.attributes),f?{title:f}:{}),{},{class:c.classes.join(" ")});p&&(m[nf]="");var g=_t({},c.styles);A2(s)&&(g.transform=bq({transform:s,startCentered:!0,width:o,height:l}),g["-webkit-transform"]=g.transform);var b=rg(g);b.length>0&&(m.style=b);var S=[];return S.push({tag:"span",attributes:m,children:[a]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}function Vq(r){var a=r.content,o=r.title,l=r.extra,s=_t(_t(_t({},l.attributes),o?{title:o}:{}),{},{class:l.classes.join(" ")}),f=rg(l.styles);f.length>0&&(s.style=f);var c=[];return c.push({tag:"span",attributes:s,children:[a]}),o&&c.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),c}function y2(r){var a=r[0],o=r[1],l=r.slice(4),s=x2(l,1),f=s[0],c=null;return Array.isArray(f)?c={tag:"g",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(xt.cssPrefix,"-").concat(rf.PRIMARY),fill:"currentColor",d:f[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:a,height:o,icon:c}}function qq(r,a){!V5&&!xt.showMissingIcons&&r&&console.error('Icon with name "'.concat(r,'" and prefix "').concat(a,'" is missing.'))}function S2(r,a){var o=a;return a==="fa"&&xt.styleDefault!==null&&(a=lc()),new Promise(function(l,s){var f={found:!1,width:512,height:512,icon:uu("missingIconAbstract")||{}};if(o==="fa"){var c=rE(r)||{};r=c.iconName||r,a=c.prefix||a}if(r&&a&&f2[a]&&f2[a][r]){var h=f2[a][r];return l(y2(h))}qq(r,a),l(_t(_t({},Wq),{},{icon:xt.showMissingIcons&&r?uu("missingIconAbstract")||{}:{}}))})}function k5(r){var a=r.getAttribute?r.getAttribute(nf):null;return typeof a=="string"}function $q(r){var a=r.getAttribute?r.getAttribute(T2):null,o=r.getAttribute?r.getAttribute(E2):null;return a&&o}function Gq(r){return r&&r.classList&&r.classList.contains&&r.classList.contains(xt.replacementClass)}function Kq(){if(xt.autoReplaceSvg===!0)return J_.replace;var r=J_[xt.autoReplaceSvg];return r||J_.replace}function Xq(r){return Sa.createElementNS("http://www.w3.org/2000/svg",r)}function Qq(r){return Sa.createElement(r)}function oE(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.ceFn,l=o===void 0?r.tag==="svg"?Xq:Qq:o;if(typeof r=="string")return Sa.createTextNode(r);var s=l(r.tag);Object.keys(r.attributes||[]).forEach(function(c){s.setAttribute(c,r.attributes[c])});var f=r.children||[];return f.forEach(function(c){s.appendChild(oE(c,{ceFn:l}))}),s}function Jq(r){var a=" ".concat(r.outerHTML," ");return a="".concat(a,"Font Awesome fontawesome.com "),a}function T5(r){r()}function iE(r,a){var o=typeof a=="function"?a:Q_;if(r.length===0)o();else{var l=T5;xt.mutateApproach===aq&&(l=ic.requestAnimationFrame||T5),l(function(){var s=Kq(),f=P2.begin("mutate");r.map(s),f(),o()})}}function lE(){I2=!0}function C2(){I2=!1}function E5(r){if(m5&&xt.observeMutations){var a=r.treeCallback,o=a===void 0?Q_:a,l=r.nodeCallback,s=l===void 0?Q_:l,f=r.pseudoElementsCallback,c=f===void 0?Q_:f,h=r.observeMutationsRoot,p=h===void 0?Sa:h;tg=new m5(function(m){if(!I2){var g=lc();Bd(m).forEach(function(b){if(b.type==="childList"&&b.addedNodes.length>0&&!k5(b.addedNodes[0])&&(xt.searchPseudoElements&&c(b.target),o(b.target)),b.type==="attributes"&&b.target.parentNode&&xt.searchPseudoElements&&c(b.target.parentNode),b.type==="attributes"&&k5(b.target)&&~cq.indexOf(b.attributeName))if(b.attributeName==="class"&&$q(b.target)){var S=ng(D2(b.target)),w=S.prefix,k=S.iconName;b.target.setAttribute(T2,w||g),k&&b.target.setAttribute(E2,k)}else Gq(b.target)&&s(b.target)})}}),cu&&tg.observe(p,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Zq(){tg&&tg.disconnect()}function eY(r){var a=r.getAttribute("style"),o=[];return a&&(o=a.split(";").reduce(function(l,s){var f=s.split(":"),c=f[0],h=f.slice(1);return c&&h.length>0&&(l[c]=h.join(":").trim()),l},{})),o}function tY(r){var a=r.getAttribute("data-prefix"),o=r.getAttribute("data-icon"),l=r.innerText!==void 0?r.innerText.trim():"",s=ng(D2(r));return s.prefix||(s.prefix=lc()),a&&o&&(s.prefix=a,s.iconName=o),s.iconName&&s.prefix||(s.prefix&&l.length>0&&(s.iconName=Nq(s.prefix,r.innerText)||N2(s.prefix,v2(r.innerText))),!s.iconName&&xt.autoFetchSvg&&r.firstChild&&r.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=r.firstChild.data)),s}function rY(r){var a=Bd(r.attributes).reduce(function(s,f){return s.name!=="class"&&s.name!=="style"&&(s[f.name]=f.value),s},{}),o=r.getAttribute("title"),l=r.getAttribute("data-fa-title-id");return xt.autoA11y&&(o?a["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(l||Zh()):(a["aria-hidden"]="true",a.focusable="false")),a}function aY(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Cs,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function R5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=tY(r),l=o.iconName,s=o.prefix,f=o.rest,c=rY(r),h=g2("parseNodeAttributes",{},r),p=a.styleParser?eY(r):[];return _t({iconName:l,title:r.getAttribute("title"),titleId:r.getAttribute("data-fa-title-id"),prefix:s,transform:Cs,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:p,attributes:c}},h)}function sE(r){var a=xt.autoReplaceSvg==="nest"?R5(r,{styleParser:!1}):R5(r);return~a.extra.classes.indexOf(W5)?uu("generateLayersText",r,a):uu("generateSvgReplacementMutation",r,a)}function D5(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!cu)return Promise.resolve();var o=Sa.documentElement.classList,l=function(b){return o.add("".concat(v5,"-").concat(b))},s=function(b){return o.remove("".concat(v5,"-").concat(b))},f=xt.autoFetchSvg?sc:R2.map(function(g){return"fa-".concat(g)}).concat(Object.keys(nY));f.includes("fa")||f.push("fa");var c=[".".concat(W5,":not([").concat(nf,"])")].concat(f.map(function(g){return".".concat(g,":not([").concat(nf,"])")})).join(", ");if(c.length===0)return Promise.resolve();var h=[];try{h=Bd(r.querySelectorAll(c))}catch(g){}if(h.length>0)l("pending"),s("complete");else return Promise.resolve();var p=P2.begin("onTree"),m=h.reduce(function(g,b){try{var S=sE(b);S&&g.push(S)}catch(w){V5||w.name==="MissingIcon"&&console.error(w)}return g},[]);return new Promise(function(g,b){Promise.all(m).then(function(S){iE(S,function(){l("active"),l("complete"),s("pending"),typeof a=="function"&&a(),p(),g()})}).catch(function(S){p(),b(S)})})}function oY(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;sE(r).then(function(o){o&&iE([o],a)})}function iY(r){return function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=(a||{}).icon?a:b2(a||{}),s=o.mask;return s&&(s=(s||{}).icon?s:b2(s||{})),r(l,_t(_t({},o),{},{mask:s}))}}function pY(r){var a=r.replace(dY,""),o=Tq(a,0),l=o>=A5[0]&&o<=A5[1],s=a.length===2?a[0]===a[1]:!1;return{value:v2(s?a[0]:a),isSecondary:l||s}}function L5(r,a){var o="".concat(rq).concat(a.replace(":","-"));return new Promise(function(l,s){if(r.getAttribute(o)!==null)return l();var f=Bd(r.children),c=f.filter(function(te){return te.getAttribute(m2)===a})[0],h=ic.getComputedStyle(r,a),p=h.getPropertyValue("font-family").match(lq),m=h.getPropertyValue("font-weight"),g=h.getPropertyValue("content");if(c&&!p)return r.removeChild(c),l();if(p&&g!=="none"&&g!==""){var b=h.getPropertyValue("content"),S=~["Sharp"].indexOf(p[2])?za:ya,w=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(p[2])?Xh[S][p[2].toLowerCase()]:sq[S][m],k=pY(b),L=k.value,M=k.isSecondary,Y=p[0].startsWith("FontAwesome"),O=N2(w,L),j=O;if(Y){var F=Oq(L);F.iconName&&F.prefix&&(O=F.iconName,w=F.prefix)}if(O&&!M&&(!c||c.getAttribute(T2)!==w||c.getAttribute(E2)!==j)){r.setAttribute(o,j),c&&r.removeChild(c);var Q=aY(),N=Q.extra;N.attributes[m2]=a,S2(O,w).then(function(te){var _e=M2(_t(_t({},Q),{},{icons:{main:te,mask:O2()},prefix:w,iconName:j,extra:N,watchable:!0})),re=Sa.createElementNS("http://www.w3.org/2000/svg","svg");a==="::before"?r.insertBefore(re,r.firstChild):r.appendChild(re),re.outerHTML=_e.map(function(be){return rm(be)}).join(`
167
+ `),r.removeAttribute(o),l()}).catch(s)}else l()}else l()})}function hY(r){return Promise.all([L5(r,"::before"),L5(r,"::after")])}function mY(r){return r.parentNode!==document.head&&!~nq.indexOf(r.tagName.toUpperCase())&&!r.getAttribute(m2)&&(!r.parentNode||r.parentNode.tagName!=="svg")}function N5(r){if(cu)return new Promise(function(a,o){var l=Bd(r.querySelectorAll("*")).filter(mY).map(hY),s=P2.begin("searchPseudoElements");lE(),Promise.all(l).then(function(){s(),C2(),a()}).catch(function(){s(),C2(),o()})})}function P5(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 bY(r){return r.tag==="g"?r.children:[r]}var d5,k2,z5,B5,F5,tq,p5,h5,ic,Sa,m5,U_,mG,cu,j5,V_,W_,q_,Y_,$_,lu,h2,H5,U5,nf,m2,rq,T2,E2,v5,aq,nq,V5,ya,za,R2,Kh,Xh,Qh,oq,iq,W5,lq,sq,q5,uq,cq,rf,Jh,fq,$h,_5,Y5,zd,xt,Gh,oc,Cs,vq,yq,g5,Sq,su,Kl,K5,wq,eg,xq,c2,G_,K_,X_,Md,Eq,Rq,L2,X5,Q5,J5,Z5,eE,Dq,tE,O2,S5,Mq,w5,Pd,Id,Pq,aE,zq,Bq,Fq,ko,jq,f2,Wq,x5,w2,Yh,Yq,nE,P2,Q_,J_,I2,tg,nY,sc,lY,sY,uY,cY,fY,dY,A5,vY,O5,_Y,M5,gY,d2,yY,SY,wY,CY,xY,kY,TY,EY,RY,DY,AY,LY,NY,OY,MY,cE=xV(()=>{d5=function(){},k2={},z5={},B5=null,F5={mark:d5,measure:d5};try{typeof window!="undefined"&&(k2=window),typeof document!="undefined"&&(z5=document),typeof MutationObserver!="undefined"&&(B5=MutationObserver),typeof performance!="undefined"&&(F5=performance)}catch(r){}tq=k2.navigator||{},p5=tq.userAgent,h5=p5===void 0?"":p5,ic=k2,Sa=z5,m5=B5,U_=F5,mG=!!ic.document,cu=!!Sa.documentElement&&!!Sa.head&&typeof Sa.addEventListener=="function"&&typeof Sa.createElement=="function",j5=~h5.indexOf("MSIE")||~h5.indexOf("Trident/"),lu="___FONT_AWESOME___",h2=16,H5="fa",U5="svg-inline--fa",nf="data-fa-i2svg",m2="data-fa-pseudo-element",rq="data-fa-pseudo-element-pending",T2="data-prefix",E2="data-icon",v5="fontawesome-i2svg",aq="async",nq=["HTML","HEAD","STYLE","SCRIPT"],V5=function(){try{return!1}catch(r){return!1}}(),ya="classic",za="sharp",R2=[ya,za];Kh=tm((V_={},fn(V_,ya,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),fn(V_,za,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),V_)),Xh=tm((W_={},fn(W_,ya,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),fn(W_,za,{solid:"fass",regular:"fasr",light:"fasl"}),W_)),Qh=tm((q_={},fn(q_,ya,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),fn(q_,za,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),q_)),oq=tm((Y_={},fn(Y_,ya,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),fn(Y_,za,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Y_)),iq=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,W5="fa-layers-text",lq=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,sq=tm(($_={},fn($_,ya,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),fn($_,za,{900:"fass",400:"fasr",300:"fasl"}),$_)),q5=[1,2,3,4,5,6,7,8,9,10],uq=q5.concat([11,12,13,14,15,16,17,18,19,20]),cq=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],rf={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Jh=new Set;Object.keys(Xh[ya]).map(Jh.add.bind(Jh));Object.keys(Xh[za]).map(Jh.add.bind(Jh));fq=[].concat(R2,em(Jh),["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",rf.GROUP,rf.SWAP_OPACITY,rf.PRIMARY,rf.SECONDARY]).concat(q5.map(function(r){return"".concat(r,"x")})).concat(uq.map(function(r){return"w-".concat(r)})),$h=ic.FontAwesomeConfig||{};Sa&&typeof Sa.querySelector=="function"&&(_5=[["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"]],_5.forEach(function(r){var a=x2(r,2),o=a[0],l=a[1],s=pq(dq(o));s!=null&&($h[l]=s)}));Y5={styleDefault:"solid",familyDefault:"classic",cssPrefix:H5,replacementClass:U5,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$h.familyPrefix&&($h.cssPrefix=$h.familyPrefix);zd=_t(_t({},Y5),$h);zd.autoReplaceSvg||(zd.observeMutations=!1);xt={};Object.keys(Y5).forEach(function(r){Object.defineProperty(xt,r,{enumerable:!0,set:function(o){zd[r]=o,Gh.forEach(function(l){return l(xt)})},get:function(){return zd[r]}})});Object.defineProperty(xt,"familyPrefix",{enumerable:!0,set:function(a){zd.cssPrefix=a,Gh.forEach(function(o){return o(xt)})},get:function(){return zd.cssPrefix}});ic.FontAwesomeConfig=xt;Gh=[];oc=h2,Cs={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};vq="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";yq=`:root, :host {
168
168
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
169
169
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
170
170
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
@@ -920,10 +920,10 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
920
920
  .fad.fa-inverse,
921
921
  .fa-duotone.fa-inverse {
922
922
  color: var(--fa-inverse, #fff);
923
- }`;g5=!1;Sq={mixout:function(){return{dom:{css:G5,insertCss:u2}}},hooks:function(){return{beforeDOMElementCreation:function(){u2()},beforeI2svg:function(){u2()}}}},su=ic||{};su[lu]||(su[lu]={});su[lu].styles||(su[lu].styles={});su[lu].hooks||(su[lu].hooks={});su[lu].shims||(su[lu].shims=[]);Gl=su[lu],K5=[],wq=function r(){ya.removeEventListener("DOMContentLoaded",r),eg=1,K5.map(function(a){return a()})},eg=!1;cu&&(eg=(ya.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ya.readyState),eg||ya.addEventListener("DOMContentLoaded",wq));xq=function(a,o){return function(l,s,f,c){return a.call(o,l,s,f,c)}},c2=function(a,o,l,s){var f=Object.keys(a),c=f.length,h=s!==void 0?xq(o,s):o,p,m,g;for(l===void 0?(p=1,g=a[f[0]]):(p=0,g=l);p<c;p++)m=f[p],g=h(g,a[m],m,a);return g};Od=Gl.styles,Eq=Gl.shims,Rq=(G_={},fn(G_,ba,Object.values(Qh[ba])),fn(G_,za,Object.values(Qh[za])),G_),L2=null,X5={},Q5={},J5={},Z5={},eE={},Dq=(K_={},fn(K_,ba,Object.keys(Kh[ba])),fn(K_,za,Object.keys(Kh[za])),K_);tE=function(){var a=function(f){return c2(Od,function(c,h,p){return c[p]=c2(h,f,{}),c},{})};X5=a(function(s,f,c){if(f[3]&&(s[f[3]]=c),f[2]){var h=f[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=c})}return s}),Q5=a(function(s,f,c){if(s[c]=c,f[2]){var h=f[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=c})}return s}),eE=a(function(s,f,c){var h=f[2];return s[c]=c,h.forEach(function(p){s[p]=c}),s});var o="far"in Od||xt.autoFetchSvg,l=c2(Eq,function(s,f){var c=f[0],h=f[1],p=f[2];return h==="far"&&!o&&(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:{}});J5=l.names,Z5=l.unicodes,L2=ag(xt.styleDefault,{family:xt.familyDefault})};hq(function(r){L2=ag(r.styleDefault,{family:xt.familyDefault})});tE();O2=function(){return{prefix:null,iconName:null,rest:[]}};S5=(X_={},fn(X_,ba,Object.keys(Qh[ba])),fn(X_,za,Object.keys(Qh[za])),X_);Mq=function(){function r(){$W(this,r),this.definitions={}}return GW(r,[{key:"add",value:function(){for(var o=this,l=arguments.length,s=new Array(l),f=0;f<l;f++)s[f]=arguments[f];var c=s.reduce(this._pullDefinitions,{});Object.keys(c).forEach(function(h){o.definitions[h]=mt(mt({},o.definitions[h]||{}),c[h]),_2(h,c[h]);var p=Qh[ba][h];p&&_2(p,c[h]),tE()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,l){var s=l.prefix&&l.iconName&&l.icon?{0:l}:l;return Object.keys(s).map(function(f){var c=s[f],h=c.prefix,p=c.iconName,m=c.icon,g=m[2];o[h]||(o[h]={}),g.length>0&&g.forEach(function(b){typeof b=="string"&&(o[h][b]=m)}),o[h][p]=m}),o}}]),r}(),w5=[],Md={},Pd={},Pq=Object.keys(Pd);aE=new Mq,zq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,nf("noAuto")},Bq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return cu?(nf("beforeI2svg",a),uu("pseudoElements2svg",a),uu("i2svg",a)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot;xt.autoReplaceSvg===!1&&(xt.autoReplaceSvg=!0),xt.observeMutations=!0,Cq(function(){jq({autoReplaceSvgRoot:o}),nf("watch",a)})}},Fq={icon:function(a){if(a===null)return null;if(Z_(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:rf(a.prefix,a.iconName)||a.iconName};if(Array.isArray(a)&&a.length===2){var o=a[1].indexOf("fa-")===0?a[1].slice(3):a[1],l=ag(a[0]);return{prefix:l,iconName:rf(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(iq))){var s=ng(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||lc(),iconName:rf(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var f=lc();return{prefix:f,iconName:rf(f,a)||a}}}},To={noAuto:zq,config:xt,dom:Bq,parse:Fq,library:aE,findIconDefinition:b2,toHtml:rm},jq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?ya:o;(Object.keys(Gl.styles).length>0||xt.autoFetchSvg)&&cu&&xt.autoReplaceSvg&&To.dom.i2svg({node:l})};f2=Gl.styles;Wq={found:!1,width:512,height:512};x5=function(){},w2=xt.measurePerformance&&U_&&U_.mark&&U_.measure?U_:{mark:x5,measure:x5},Yh='FA "6.4.2"',Yq=function(a){return w2.mark("".concat(Yh," ").concat(a," begins")),function(){return nE(a)}},nE=function(a){w2.mark("".concat(Yh," ").concat(a," ends")),w2.measure("".concat(Yh," ").concat(a),"".concat(Yh," ").concat(a," begins"),"".concat(Yh," ").concat(a," ends"))},P2={begin:Yq,end:nE},Q_=function(){};J_={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(oE(s),o)}),o.getAttribute(af)===null&&xt.keepOriginalSource){var l=ya.createComment(Jq(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~D2(o).indexOf(xt.replacementClass))return J_.replace(a);var s=new RegExp("".concat(xt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var f=l[0].attributes.class.split(" ").reduce(function(h,p){return p===xt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",f.toNode.join(" "))}var c=l.map(function(h){return rm(h)}).join(`
924
- `);o.setAttribute(af,""),o.innerHTML=c}};I2=!1;tg=null;nY=Gl.styles;sc=new Set;R2.map(function(r){sc.add("fa-".concat(r))});Object.keys(Kh[ba]).map(sc.add.bind(sc));Object.keys(Kh[za]).map(sc.add.bind(sc));sc=em(sc);lY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Cs:l,f=o.symbol,c=f===void 0?!1:f,h=o.mask,p=h===void 0?null:h,m=o.maskId,g=m===void 0?null:m,b=o.title,S=b===void 0?null:b,w=o.titleId,k=w===void 0?null:w,L=o.classes,M=L===void 0?[]:L,Y=o.attributes,O=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var J=a.prefix,N=a.iconName,te=a.icon;return og(mt({type:"icon"},a),function(){return nf("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?O["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||Zh()):(O["aria-hidden"]="true",O.focusable="false")),M2({icons:{main:y2(te),mask:p?y2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:J,iconName:N,transform:mt(mt({},Cs),s),symbol:c,title:S,maskId:g,titleId:k,extra:{attributes:O,styles:F,classes:M}})})}},sY={mixout:function(){return{icon:iY(lY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=D5,o.nodeCallback=oY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?ya:l,f=o.callback,c=f===void 0?function(){}:f;return D5(s,c)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,f=l.title,c=l.titleId,h=l.prefix,p=l.transform,m=l.symbol,g=l.mask,b=l.maskId,S=l.extra;return new Promise(function(w,k){Promise.all([S2(s,h),g.iconName?S2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var M=x2(L,2),Y=M[0],O=M[1];w([o,M2({icons:{main:Y,mask:O},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:c,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,f=o.main,c=o.transform,h=o.styles,p=rg(h);p.length>0&&(s.style=p);var m;return A2(c)&&(m=uu("generateAbstractTransformGrouping",{main:f,transform:c,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},uY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,f=s===void 0?[]:s;return og({type:"layer"},function(){nf("beforeDOMElementCreation",{assembler:o,params:l});var c=[];return o(function(h){Array.isArray(h)?h.map(function(p){c=c.concat(p.abstract)}):c=c.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(xt.cssPrefix,"-layers")].concat(em(f)).join(" ")},children:c}]})}}}},cY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,f=s===void 0?null:s,c=l.classes,h=c===void 0?[]:c,p=l.attributes,m=p===void 0?{}:p,g=l.styles,b=g===void 0?{}:g;return og({type:"counter",content:o},function(){return nf("beforeDOMElementCreation",{content:o,params:l}),Vq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(em(h))}})})}}}},fY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,f=s===void 0?Cs:s,c=l.title,h=c===void 0?null:c,p=l.classes,m=p===void 0?[]:p,g=l.attributes,b=g===void 0?{}:g,S=l.styles,w=S===void 0?{}:S;return og({type:"text",content:o},function(){return nf("beforeDOMElementCreation",{content:o,params:l}),C5({content:o,transform:mt(mt({},Cs),f),title:h,extra:{attributes:b,styles:w,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(em(m))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,f=l.transform,c=l.extra,h=null,p=null;if(j5){var m=parseInt(getComputedStyle(o).fontSize,10),g=o.getBoundingClientRect();h=g.width/m,p=g.height/m}return xt.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([o,C5({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:c,watchable:!0})])}}},dY=new RegExp('"',"ug"),A5=[1105920,1112319];vY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=N5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?ya:l;xt.searchPseudoElements&&N5(s)}}},O5=!1,_Y={mixout:function(){return{dom:{unwatch:function(){lE(),O5=!0}}}},hooks:function(){return{bootstrap:function(){E5(g2("mutationObserverCallbacks",{}))},noAuto:function(){Zq()},watch:function(o){var l=o.observeMutationsRoot;O5?C2():E5(g2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},M5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var f=s.toLowerCase().split("-"),c=f[0],h=f.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},o)},gY={mixout:function(){return{parse:{transform:function(o){return M5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=M5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,f=o.containerWidth,c=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),m="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),g="rotate(".concat(s.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(g)},S={transform:"translate(".concat(c/2*-1," -256)")},w={outer:h,inner:b,path:S};return{tag:"g",attributes:mt({},w.outer),children:[{tag:"g",attributes:mt({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:mt(mt({},l.icon.attributes),w.path)}]}]}}}},d2={x:0,y:0,width:"100%",height:"100%"};yY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),f=s?ng(s.split(" ").map(function(c){return c.trim()})):O2();return f.prefix||(f.prefix=lc()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,f=o.main,c=o.mask,h=o.maskId,p=o.transform,m=f.width,g=f.icon,b=c.width,S=c.icon,w=gq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:mt(mt({},d2),{},{fill:"white"})},L=g.children?{children:g.children.map(P5)}:{},M={tag:"g",attributes:mt({},w.inner),children:[P5(mt({tag:g.tag,attributes:mt(mt({},g.attributes),w.path)},L))]},Y={tag:"g",attributes:mt({},w.outer),children:[M]},O="mask-".concat(h||Zh()),j="clip-".concat(h||Zh()),F={tag:"mask",attributes:mt(mt({},d2),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},J={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:bY(S)},F]};return l.push(J,{tag:"rect",attributes:mt({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(O,")")},d2)}),{children:l,attributes:s}}}},SY={provides:function(a){var o=!1;ic.matchMedia&&(o=ic.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes: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({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:mt(mt({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:mt(mt({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mt(mt({},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:o?[]:[{tag:"animate",attributes:mt(mt({},c),{},{values:"1;0;0;0;0;1;"})}]}),o||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}}}},wY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),f=s===null?!1:s===""?!0:s;return o.symbol=f,o}}}},CY=[Sq,sY,uY,cY,fY,vY,_Y,gY,yY,SY,wY];Iq(CY,{mixoutsTo:To});xY=To.noAuto,kY=To.config,TY=To.library,EY=To.dom,RY=To.parse,DY=To.findIconDefinition,AY=To.toHtml,LY=To.icon,NY=To.layer,OY=To.text,MY=To.counter});var fE=Ve(ea=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,f=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,g=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,S=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,L=r?Symbol.for("react.block"):60121,M=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(we){return typeof we=="string"||typeof we=="function"||we===l||we===m||we===f||we===s||we===b||we===S||typeof we=="object"&&we!==null&&(we.$$typeof===k||we.$$typeof===w||we.$$typeof===c||we.$$typeof===h||we.$$typeof===g||we.$$typeof===M||we.$$typeof===Y||we.$$typeof===O||we.$$typeof===L)}function F(we){if(typeof we=="object"&&we!==null){var yt=we.$$typeof;switch(yt){case a:var Lt=we.type;switch(Lt){case p:case m:case l:case f:case s:case b:return Lt;default:var Ft=Lt&&Lt.$$typeof;switch(Ft){case h:case g:case k:case w:case c:return Ft;default:return yt}}case o:return yt}}}var J=p,N=m,te=h,_e=c,ae=a,ye=g,Se=l,ge=k,H=w,le=o,fe=f,B=s,W=b,ne=!1;function ee(we){return ne||(ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),de(we)||F(we)===p}function de(we){return F(we)===m}function ke(we){return F(we)===h}function be(we){return F(we)===c}function Pe(we){return typeof we=="object"&&we!==null&&we.$$typeof===a}function qe(we){return F(we)===g}function He(we){return F(we)===l}function at(we){return F(we)===k}function Tt(we){return F(we)===w}function ft(we){return F(we)===o}function wt(we){return F(we)===f}function vt(we){return F(we)===s}function tt(we){return F(we)===b}ea.AsyncMode=J,ea.ConcurrentMode=N,ea.ContextConsumer=te,ea.ContextProvider=_e,ea.Element=ae,ea.ForwardRef=ye,ea.Fragment=Se,ea.Lazy=ge,ea.Memo=H,ea.Portal=le,ea.Profiler=fe,ea.StrictMode=B,ea.Suspense=W,ea.isAsyncMode=ee,ea.isConcurrentMode=de,ea.isContextConsumer=ke,ea.isContextProvider=be,ea.isElement=Pe,ea.isForwardRef=qe,ea.isFragment=He,ea.isLazy=at,ea.isMemo=Tt,ea.isPortal=ft,ea.isProfiler=wt,ea.isStrictMode=vt,ea.isSuspense=tt,ea.isValidElementType=j,ea.typeOf=F})()});var z2=Ve((_G,dE)=>{"use strict";dE.exports=fE()});var mE=Ve((gG,hE)=>{"use strict";var pE=Object.getOwnPropertySymbols,PY=Object.prototype.hasOwnProperty,IY=Object.prototype.propertyIsEnumerable;function zY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function BY(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}hE.exports=BY()?Object.assign:function(r,a){for(var o,l=zY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var c in o)PY.call(o,c)&&(l[c]=o[c]);if(pE){s=pE(o);for(var h=0;h<s.length;h++)IY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var B2=Ve((bG,vE)=>{"use strict";var FY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";vE.exports=FY});var F2=Ve((yG,_E)=>{_E.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var wE=Ve((SG,SE)=>{"use strict";var j2=function(){};gE=B2(),ig={},bE=F2(),j2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var gE,ig,bE;function yE(r,a,o,l,s){for(var f in r)if(bE(r,f)){var c;try{if(typeof r[f]!="function"){var h=Error((l||"React class")+": "+o+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}c=r[f](a,f,l,o,null,gE)}catch(m){c=m}if(c&&!(c instanceof Error)&&j2((l||"React class")+": type specification of "+o+" `"+f+"` 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 ig)){ig[c.message]=!0;var p=s?s():"";j2("Failed "+o+" type: "+c.message+(p!=null?p:""))}}}yE.resetWarningCache=function(){ig={}};SE.exports=yE});var kE=Ve((wG,xE)=>{"use strict";var jY=z2(),HY=mE(),Bd=B2(),H2=F2(),CE=wE(),Fd=function(){};Fd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function lg(){return null}xE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(H){var le=H&&(o&&H[o]||H[l]);if(typeof le=="function")return le}var f="<<anonymous>>",c={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:b(),arrayOf:S,element:w(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:M,oneOfType:O,shape:J,exact:N};function h(H,le){return H===le?H!==0||1/H===1/le:H!==H&&le!==le}function p(H,le){this.message=H,this.data=le&&typeof le=="object"?le:{},this.stack=""}p.prototype=Error.prototype;function m(H){var le={},fe=0;function B(ne,ee,de,ke,be,Pe,qe){if(ke=ke||f,Pe=Pe||de,qe!==Bd){if(a){var He=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 He.name="Invariant Violation",He}else if(typeof console!="undefined"){var at=ke+":"+de;!le[at]&&fe<3&&(Fd("You are manually calling a React.PropTypes validation function for the `"+Pe+"` prop on `"+ke+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),le[at]=!0,fe++)}}return ee[de]==null?ne?ee[de]===null?new p("The "+be+" `"+Pe+"` is marked as required "+("in `"+ke+"`, but its value is `null`.")):new p("The "+be+" `"+Pe+"` is marked as required in "+("`"+ke+"`, but its value is `undefined`.")):null:H(ee,de,ke,be,Pe)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function g(H){function le(fe,B,W,ne,ee,de){var ke=fe[B],be=ae(ke);if(be!==H){var Pe=ye(ke);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Pe+"` supplied to `"+W+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(lg)}function S(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var de=fe[B];if(!Array.isArray(de)){var ke=ae(de);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+ke+"` supplied to `"+W+"`, expected an array."))}for(var be=0;be<de.length;be++){var Pe=H(de,be,W,ne,ee+"["+be+"]",Bd);if(Pe instanceof Error)return Pe}return null}return m(le)}function w(){function H(le,fe,B,W,ne){var ee=le[fe];if(!r(ee)){var de=ae(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,fe,B,W,ne){var ee=le[fe];if(!jY.isValidElementType(ee)){var de=ae(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function le(fe,B,W,ne,ee){if(!(fe[B]instanceof H)){var de=H.name||f,ke=ge(fe[B]);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+ke+"` supplied to `"+W+"`, expected ")+("instance of `"+de+"`."))}return null}return m(le)}function M(H){if(!Array.isArray(H))return arguments.length>1?Fd("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])."):Fd("Invalid argument supplied to oneOf, expected an array."),lg;function le(fe,B,W,ne,ee){for(var de=fe[B],ke=0;ke<H.length;ke++)if(h(de,H[ke]))return null;var be=JSON.stringify(H,function(qe,He){var at=ye(He);return at==="symbol"?String(He):He});return new p("Invalid "+ne+" `"+ee+"` of value `"+String(de)+"` "+("supplied to `"+W+"`, expected one of "+be+"."))}return m(le)}function Y(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var de=fe[B],ke=ae(de);if(ke!=="object")return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+ke+"` supplied to `"+W+"`, expected an object."));for(var be in de)if(H2(de,be)){var Pe=H(de,be,W,ne,ee+"."+be,Bd);if(Pe instanceof Error)return Pe}return null}return m(le)}function O(H){if(!Array.isArray(H))return Fd("Invalid argument supplied to oneOfType, expected an instance of array."),lg;for(var le=0;le<H.length;le++){var fe=H[le];if(typeof fe!="function")return Fd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Se(fe)+" at index "+le+"."),lg}function B(W,ne,ee,de,ke){for(var be=[],Pe=0;Pe<H.length;Pe++){var qe=H[Pe],He=qe(W,ne,ee,de,ke,Bd);if(He==null)return null;He.data&&H2(He.data,"expectedType")&&be.push(He.data.expectedType)}var at=be.length>0?", expected one of type ["+be.join(", ")+"]":"";return new p("Invalid "+de+" `"+ke+"` supplied to "+("`"+ee+"`"+at+"."))}return m(B)}function j(){function H(le,fe,B,W,ne){return te(le[fe])?null:new p("Invalid "+W+" `"+ne+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,fe,B,W){return new p((H||"React class")+": "+le+" type `"+fe+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function J(H){function le(fe,B,W,ne,ee){var de=fe[B],ke=ae(de);if(ke!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+ke+"` "+("supplied to `"+W+"`, expected `object`."));for(var be in H){var Pe=H[be];if(typeof Pe!="function")return F(W,ne,ee,be,ye(Pe));var qe=Pe(de,be,W,ne,ee+"."+be,Bd);if(qe)return qe}return null}return m(le)}function N(H){function le(fe,B,W,ne,ee){var de=fe[B],ke=ae(de);if(ke!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+ke+"` "+("supplied to `"+W+"`, expected `object`."));var be=HY({},fe[B],H);for(var Pe in be){var qe=H[Pe];if(H2(H,Pe)&&typeof qe!="function")return F(W,ne,ee,Pe,ye(qe));if(!qe)return new p("Invalid "+ne+" `"+ee+"` key `"+Pe+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(fe[B],null," ")+`
925
- Valid keys: `+JSON.stringify(Object.keys(H),null," "));var He=qe(de,Pe,W,ne,ee+"."+Pe,Bd);if(He)return He}return null}return m(le)}function te(H){switch(typeof H){case"number":case"string":case"undefined":return!0;case"boolean":return!H;case"object":if(Array.isArray(H))return H.every(te);if(H===null||r(H))return!0;var le=s(H);if(le){var fe=le.call(H),B;if(le!==H.entries){for(;!(B=fe.next()).done;)if(!te(B.value))return!1}else for(;!(B=fe.next()).done;){var W=B.value;if(W&&!te(W[1]))return!1}}else return!1;return!0;default:return!1}}function _e(H,le){return H==="symbol"?!0:le?le["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&le instanceof Symbol:!1}function ae(H){var le=typeof H;return Array.isArray(H)?"array":H instanceof RegExp?"object":_e(le,H)?"symbol":le}function ye(H){if(typeof H=="undefined"||H===null)return""+H;var le=ae(H);if(le==="object"){if(H instanceof Date)return"date";if(H instanceof RegExp)return"regexp"}return le}function Se(H){var le=ye(H);switch(le){case"array":case"object":return"an "+le;case"boolean":case"date":case"regexp":return"a "+le;default:return le}}function ge(H){return!H.constructor||!H.constructor.name?f:H.constructor.name}return c.checkPropTypes=CE,c.resetWarningCache=CE.resetWarningCache,c.PropTypes=c,c}});var DE=Ve((CG,RE)=>{TE=z2(),EE=!0,RE.exports=kE()(TE.isElement,EE);var TE,EE});var LE=Ve((sg,AE)=>{(function(r,a){typeof sg=="object"&&typeof AE!="undefined"?a(sg,(cE(),kV(uE)),DE(),cr()):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))})(sg,function(r,a,o,l){"use strict";function s(B){return B&&typeof B=="object"&&"default"in B?B:{default:B}}var f=s(o),c=s(l);function h(B,W){var ne=Object.keys(B);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(B);W&&(ee=ee.filter(function(de){return Object.getOwnPropertyDescriptor(B,de).enumerable})),ne.push.apply(ne,ee)}return ne}function p(B){for(var W=1;W<arguments.length;W++){var ne=arguments[W]!=null?arguments[W]:{};W%2?h(Object(ne),!0).forEach(function(ee){g(B,ee,ne[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(ne)):h(Object(ne)).forEach(function(ee){Object.defineProperty(B,ee,Object.getOwnPropertyDescriptor(ne,ee))})}return B}function m(B){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},m(B)}function g(B,W,ne){return W in B?Object.defineProperty(B,W,{value:ne,enumerable:!0,configurable:!0,writable:!0}):B[W]=ne,B}function b(B,W){if(B==null)return{};var ne={},ee=Object.keys(B),de,ke;for(ke=0;ke<ee.length;ke++)de=ee[ke],!(W.indexOf(de)>=0)&&(ne[de]=B[de]);return ne}function S(B,W){if(B==null)return{};var ne=b(B,W),ee,de;if(Object.getOwnPropertySymbols){var ke=Object.getOwnPropertySymbols(B);for(de=0;de<ke.length;de++)ee=ke[de],!(W.indexOf(ee)>=0)&&Object.prototype.propertyIsEnumerable.call(B,ee)&&(ne[ee]=B[ee])}return ne}function w(B){return k(B)||L(B)||M(B)||O()}function k(B){if(Array.isArray(B))return Y(B)}function L(B){if(typeof Symbol!="undefined"&&B[Symbol.iterator]!=null||B["@@iterator"]!=null)return Array.from(B)}function M(B,W){if(B){if(typeof B=="string")return Y(B,W);var ne=Object.prototype.toString.call(B).slice(8,-1);if(ne==="Object"&&B.constructor&&(ne=B.constructor.name),ne==="Map"||ne==="Set")return Array.from(B);if(ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ne))return Y(B,W)}}function Y(B,W){(W==null||W>B.length)&&(W=B.length);for(var ne=0,ee=new Array(W);ne<W;ne++)ee[ne]=B[ne];return ee}function O(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
926
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(B){var W,ne=B.beat,ee=B.fade,de=B.beatFade,ke=B.bounce,be=B.shake,Pe=B.flash,qe=B.spin,He=B.spinPulse,at=B.spinReverse,Tt=B.pulse,ft=B.fixedWidth,wt=B.inverse,vt=B.border,tt=B.listItem,we=B.flip,yt=B.size,Lt=B.rotation,Ft=B.pull,Ht=(W={"fa-beat":ne,"fa-fade":ee,"fa-beat-fade":de,"fa-bounce":ke,"fa-shake":be,"fa-flash":Pe,"fa-spin":qe,"fa-spin-reverse":at,"fa-spin-pulse":He,"fa-pulse":Tt,"fa-fw":ft,"fa-inverse":wt,"fa-border":vt,"fa-li":tt,"fa-flip":we===!0,"fa-flip-horizontal":we==="horizontal"||we==="both","fa-flip-vertical":we==="vertical"||we==="both"},g(W,"fa-".concat(yt),typeof yt!="undefined"&&yt!==null),g(W,"fa-rotate-".concat(Lt),typeof Lt!="undefined"&&Lt!==null&&Lt!==0),g(W,"fa-pull-".concat(Ft),typeof Ft!="undefined"&&Ft!==null),g(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(Ht).map(function(er){return Ht[er]?er:null}).filter(function(er){return er})}function F(B){return B=B-0,B===B}function J(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ne){return ne?ne.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var N=["style"];function te(B){return B.charAt(0).toUpperCase()+B.slice(1)}function _e(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ne){var ee=ne.indexOf(":"),de=J(ne.slice(0,ee)),ke=ne.slice(ee+1).trim();return de.startsWith("webkit")?W[te(de)]=ke:W[de]=ke,W},{})}function ae(B,W){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var ee=(W.children||[]).map(function(qe){return ae(B,qe)}),de=Object.keys(W.attributes||{}).reduce(function(qe,He){var at=W.attributes[He];switch(He){case"class":qe.attrs.className=at,delete W.attributes.class;break;case"style":qe.attrs.style=_e(at);break;default:He.indexOf("aria-")===0||He.indexOf("data-")===0?qe.attrs[He.toLowerCase()]=at:qe.attrs[J(He)]=at}return qe},{attrs:{}}),ke=ne.style,be=ke===void 0?{}:ke,Pe=S(ne,N);return de.attrs.style=p(p({},de.attrs.style),be),B.apply(void 0,[W.tag,p(p({},de.attrs),Pe)].concat(w(ee)))}var ye=!1;try{ye=!1}catch(B){}function Se(){if(!ye&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function ge(B){if(B&&m(B)==="object"&&B.prefix&&B.iconName&&B.icon)return B;if(a.parse.icon)return a.parse.icon(B);if(B===null)return null;if(B&&m(B)==="object"&&B.prefix&&B.iconName)return B;if(Array.isArray(B)&&B.length===2)return{prefix:B[0],iconName:B[1]};if(typeof B=="string")return{prefix:"fas",iconName:B}}function H(B,W){return Array.isArray(W)&&W.length>0||!Array.isArray(W)&&W?g({},B,W):{}}var le=c.default.forwardRef(function(B,W){var ne=B.icon,ee=B.mask,de=B.symbol,ke=B.className,be=B.title,Pe=B.titleId,qe=B.maskId,He=ge(ne),at=H("classes",[].concat(w(j(B)),w(ke.split(" ")))),Tt=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),ft=H("mask",ge(ee)),wt=a.icon(He,p(p(p(p({},at),Tt),ft),{},{symbol:de,title:be,titleId:Pe,maskId:qe}));if(!wt)return Se("Could not find icon",He),null;var vt=wt.abstract,tt={ref:W};return Object.keys(B).forEach(function(we){le.defaultProps.hasOwnProperty(we)||(tt[we]=B[we])}),fe(vt[0],tt)});le.displayName="FontAwesomeIcon",le.propTypes={beat:f.default.bool,border:f.default.bool,beatFade:f.default.bool,bounce:f.default.bool,className:f.default.string,fade:f.default.bool,flash:f.default.bool,mask:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),maskId:f.default.string,fixedWidth:f.default.bool,inverse:f.default.bool,flip:f.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),listItem:f.default.bool,pull:f.default.oneOf(["right","left"]),pulse:f.default.bool,rotation:f.default.oneOf([0,90,180,270]),shake:f.default.bool,size:f.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:f.default.bool,spinPulse:f.default.bool,spinReverse:f.default.bool,symbol:f.default.oneOfType([f.default.bool,f.default.string]),title:f.default.string,titleId:f.default.string,transform:f.default.oneOfType([f.default.string,f.default.object]),swapOpacity:f.default.bool},le.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var fe=ae.bind(null,c.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var BE=Ve(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var NE="fas",OE="xmark",ME=384,PE=512,U2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],IE="f00d",zE="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";Wo.definition={prefix:NE,iconName:OE,icon:[ME,PE,U2,IE,zE]};Wo.faXmark=Wo.definition;Wo.prefix=NE;Wo.iconName=OE;Wo.width=ME;Wo.height=PE;Wo.ligatures=U2;Wo.unicode=IE;Wo.svgPathData=zE;Wo.aliases=U2});var FE=Ve(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var eo=BE();qo.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};qo.faTimes=qo.definition;qo.prefix=eo.prefix;qo.iconName=eo.iconName;qo.width=eo.width;qo.height=eo.height;qo.ligatures=eo.aliases;qo.unicode=eo.unicode;qo.svgPathData=eo.svgPathData;qo.aliases=eo.aliases});var YE=Ve(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var jE="fas",HE="angle-right",UE=320,VE=512,V2=[8250],WE="f105",qE="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z";Yo.definition={prefix:jE,iconName:HE,icon:[UE,VE,V2,WE,qE]};Yo.faAngleRight=Yo.definition;Yo.prefix=jE;Yo.iconName=HE;Yo.width=UE;Yo.height=VE;Yo.ligatures=V2;Yo.unicode=WE;Yo.svgPathData=qE;Yo.aliases=V2});var ZE=Ve($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var $E="fas",GE="angle-left",KE=320,XE=512,W2=[8249],QE="f104",JE="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";$o.definition={prefix:$E,iconName:GE,icon:[KE,XE,W2,QE,JE]};$o.faAngleLeft=$o.definition;$o.prefix=$E;$o.iconName=GE;$o.width=KE;$o.height=XE;$o.ligatures=W2;$o.unicode=QE;$o.svgPathData=JE;$o.aliases=W2});var iR=Ve(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var eR="fas",tR="angle-up",rR=448,aR=512,q2=[8963],nR="f106",oR="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z";Go.definition={prefix:eR,iconName:tR,icon:[rR,aR,q2,nR,oR]};Go.faAngleUp=Go.definition;Go.prefix=eR;Go.iconName=tR;Go.width=rR;Go.height=aR;Go.ligatures=q2;Go.unicode=nR;Go.svgPathData=oR;Go.aliases=q2});var pR=Ve(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var lR="fas",sR="angle-down",uR=448,cR=512,Y2=[8964],fR="f107",dR="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";Ko.definition={prefix:lR,iconName:sR,icon:[uR,cR,Y2,fR,dR]};Ko.faAngleDown=Ko.definition;Ko.prefix=lR;Ko.iconName=sR;Ko.width=uR;Ko.height=cR;Ko.ligatures=Y2;Ko.unicode=fR;Ko.svgPathData=dR;Ko.aliases=Y2});var yR=Ve(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var hR="fas",mR="chevron-left",vR=320,_R=512,$2=[9001],gR="f053",bR="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";Xo.definition={prefix:hR,iconName:mR,icon:[vR,_R,$2,gR,bR]};Xo.faChevronLeft=Xo.definition;Xo.prefix=hR;Xo.iconName=mR;Xo.width=vR;Xo.height=_R;Xo.ligatures=$2;Xo.unicode=gR;Xo.svgPathData=bR;Xo.aliases=$2});var ER=Ve(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var SR="fas",wR="chevron-right",CR=320,xR=512,G2=[9002],kR="f054",TR="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";Qo.definition={prefix:SR,iconName:wR,icon:[CR,xR,G2,kR,TR]};Qo.faChevronRight=Qo.definition;Qo.prefix=SR;Qo.iconName=wR;Qo.width=CR;Qo.height=xR;Qo.ligatures=G2;Qo.unicode=kR;Qo.svgPathData=TR;Qo.aliases=G2});var MR=Ve(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var RR="fas",DR="chevron-up",AR=512,LR=512,K2=[],NR="f077",OR="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";Jo.definition={prefix:RR,iconName:DR,icon:[AR,LR,K2,NR,OR]};Jo.faChevronUp=Jo.definition;Jo.prefix=RR;Jo.iconName=DR;Jo.width=AR;Jo.height=LR;Jo.ligatures=K2;Jo.unicode=NR;Jo.svgPathData=OR;Jo.aliases=K2});var HR=Ve(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var PR="fas",IR="chevron-down",zR=512,BR=512,X2=[],FR="f078",jR="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";Zo.definition={prefix:PR,iconName:IR,icon:[zR,BR,X2,FR,jR]};Zo.faChevronDown=Zo.definition;Zo.prefix=PR;Zo.iconName=IR;Zo.width=zR;Zo.height=BR;Zo.ligatures=X2;Zo.unicode=FR;Zo.svgPathData=jR;Zo.aliases=X2});var GR=Ve(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var UR="fas",VR="caret-left",WR=256,qR=512,Q2=[],YR="f0d9",$R="M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z";ei.definition={prefix:UR,iconName:VR,icon:[WR,qR,Q2,YR,$R]};ei.faCaretLeft=ei.definition;ei.prefix=UR;ei.iconName=VR;ei.width=WR;ei.height=qR;ei.ligatures=Q2;ei.unicode=YR;ei.svgPathData=$R;ei.aliases=Q2});var tD=Ve(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var KR="fas",XR="caret-right",QR=256,JR=512,J2=[],ZR="f0da",eD="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z";ti.definition={prefix:KR,iconName:XR,icon:[QR,JR,J2,ZR,eD]};ti.faCaretRight=ti.definition;ti.prefix=KR;ti.iconName=XR;ti.width=QR;ti.height=JR;ti.ligatures=J2;ti.unicode=ZR;ti.svgPathData=eD;ti.aliases=J2});var sD=Ve(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var rD="fas",aD="caret-up",nD=320,oD=512,Z2=[],iD="f0d8",lD="M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z";ri.definition={prefix:rD,iconName:aD,icon:[nD,oD,Z2,iD,lD]};ri.faCaretUp=ri.definition;ri.prefix=rD;ri.iconName=aD;ri.width=nD;ri.height=oD;ri.ligatures=Z2;ri.unicode=iD;ri.svgPathData=lD;ri.aliases=Z2});var mD=Ve(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var uD="fas",cD="caret-down",fD=320,dD=512,eS=[],pD="f0d7",hD="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z";ai.definition={prefix:uD,iconName:cD,icon:[fD,dD,eS,pD,hD]};ai.faCaretDown=ai.definition;ai.prefix=uD;ai.iconName=cD;ai.width=fD;ai.height=dD;ai.ligatures=eS;ai.unicode=pD;ai.svgPathData=hD;ai.aliases=eS});var wD=Ve(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var vD="fas",_D="arrow-left",gD=448,bD=512,tS=[8592],yD="f060",SD="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";ni.definition={prefix:vD,iconName:_D,icon:[gD,bD,tS,yD,SD]};ni.faArrowLeft=ni.definition;ni.prefix=vD;ni.iconName=_D;ni.width=gD;ni.height=bD;ni.ligatures=tS;ni.unicode=yD;ni.svgPathData=SD;ni.aliases=tS});var aS=Ve(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var CD="fas",xD="arrow-right",kD=448,TD=512,rS=[8594],ED="f061",RD="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z";oi.definition={prefix:CD,iconName:xD,icon:[kD,TD,rS,ED,RD]};oi.faArrowRight=oi.definition;oi.prefix=CD;oi.iconName=xD;oi.width=kD;oi.height=TD;oi.ligatures=rS;oi.unicode=ED;oi.svgPathData=RD;oi.aliases=rS});var oS=Ve(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var DD="fas",AD="arrow-up",LD=384,ND=512,nS=[8593],OD="f062",MD="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z";ii.definition={prefix:DD,iconName:AD,icon:[LD,ND,nS,OD,MD]};ii.faArrowUp=ii.definition;ii.prefix=DD;ii.iconName=AD;ii.width=LD;ii.height=ND;ii.ligatures=nS;ii.unicode=OD;ii.svgPathData=MD;ii.aliases=nS});var lS=Ve(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var PD="fas",ID="arrow-down",zD=384,BD=512,iS=[8595],FD="f063",jD="M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";li.definition={prefix:PD,iconName:ID,icon:[zD,BD,iS,FD,jD]};li.faArrowDown=li.definition;li.prefix=PD;li.iconName=ID;li.width=zD;li.height=BD;li.ligatures=iS;li.unicode=FD;li.svgPathData=jD;li.aliases=iS});var $D=Ve(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var HD="fas",UD="rotate",VD=512,WD=512,sS=[128260,"sync-alt"],qD="f2f1",YD="M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z";si.definition={prefix:HD,iconName:UD,icon:[VD,WD,sS,qD,YD]};si.faRotate=si.definition;si.prefix=HD;si.iconName=UD;si.width=VD;si.height=WD;si.ligatures=sS;si.unicode=qD;si.svgPathData=YD;si.aliases=sS});var e6=Ve(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var GD="fas",KD="arrow-rotate-right",XD=512,QD=512,uS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],JD="f01e",ZD="M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z";ui.definition={prefix:GD,iconName:KD,icon:[XD,QD,uS,JD,ZD]};ui.faArrowRotateRight=ui.definition;ui.prefix=GD;ui.iconName=KD;ui.width=XD;ui.height=QD;ui.ligatures=uS;ui.unicode=JD;ui.svgPathData=ZD;ui.aliases=uS});var t6=Ve(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var to=e6();ci.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};ci.faRedo=ci.definition;ci.prefix=to.prefix;ci.iconName=to.iconName;ci.width=to.width;ci.height=to.height;ci.ligatures=to.aliases;ci.unicode=to.unicode;ci.svgPathData=to.svgPathData;ci.aliases=to.aliases});var s6=Ve(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var r6="fas",a6="check",n6=448,o6=512,cS=[10003,10004],i6="f00c",l6="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";fi.definition={prefix:r6,iconName:a6,icon:[n6,o6,cS,i6,l6]};fi.faCheck=fi.definition;fi.prefix=r6;fi.iconName=a6;fi.width=n6;fi.height=o6;fi.ligatures=cS;fi.unicode=i6;fi.svgPathData=l6;fi.aliases=cS});var m6=Ve(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var u6="fas",c6="question",f6=320,d6=512,fS=[10067,10068,61736],p6="3f",h6="M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";di.definition={prefix:u6,iconName:c6,icon:[f6,d6,fS,p6,h6]};di.faQuestion=di.definition;di.prefix=u6;di.iconName=c6;di.width=f6;di.height=d6;di.ligatures=fS;di.unicode=p6;di.svgPathData=h6;di.aliases=fS});var w6=Ve(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var v6="fas",_6="exclamation",g6=128,b6=512,dS=[10069,10071,61738],y6="21",S6="M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32L96 64zM64 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";pi.definition={prefix:v6,iconName:_6,icon:[g6,b6,dS,y6,S6]};pi.faExclamation=pi.definition;pi.prefix=v6;pi.iconName=_6;pi.width=g6;pi.height=b6;pi.ligatures=dS;pi.unicode=y6;pi.svgPathData=S6;pi.aliases=dS});var D6=Ve(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var C6="fas",x6="triangle-exclamation",k6=512,T6=512,pS=[9888,"exclamation-triangle","warning"],E6="f071",R6="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";hi.definition={prefix:C6,iconName:x6,icon:[k6,T6,pS,E6,R6]};hi.faTriangleExclamation=hi.definition;hi.prefix=C6;hi.iconName=x6;hi.width=k6;hi.height=T6;hi.ligatures=pS;hi.unicode=E6;hi.svgPathData=R6;hi.aliases=pS});var A6=Ve(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var ro=D6();mi.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};mi.faExclamationTriangle=mi.definition;mi.prefix=ro.prefix;mi.iconName=ro.iconName;mi.width=ro.width;mi.height=ro.height;mi.ligatures=ro.aliases;mi.unicode=ro.unicode;mi.svgPathData=ro.svgPathData;mi.aliases=ro.aliases});var z6=Ve(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var L6="fas",N6="house",O6=576,M6=512,hS=[127968,63498,63500,"home","home-alt","home-lg-alt"],P6="f015",I6="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z";vi.definition={prefix:L6,iconName:N6,icon:[O6,M6,hS,P6,I6]};vi.faHouse=vi.definition;vi.prefix=L6;vi.iconName=N6;vi.width=O6;vi.height=M6;vi.ligatures=hS;vi.unicode=P6;vi.svgPathData=I6;vi.aliases=hS});var B6=Ve(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ao=z6();_i.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};_i.faHome=_i.definition;_i.prefix=ao.prefix;_i.iconName=ao.iconName;_i.width=ao.width;_i.height=ao.height;_i.ligatures=ao.aliases;_i.unicode=ao.unicode;_i.svgPathData=ao.svgPathData;_i.aliases=ao.aliases});var q6=Ve(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var F6="fas",j6="share",H6=512,U6=512,mS=["mail-forward"],V6="f064",W6="M307 34.8c-11.5 5.1-19 16.6-19 29.2l0 64-112 0C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96l96 0 0 64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z";gi.definition={prefix:F6,iconName:j6,icon:[H6,U6,mS,V6,W6]};gi.faShare=gi.definition;gi.prefix=F6;gi.iconName=j6;gi.width=H6;gi.height=U6;gi.ligatures=mS;gi.unicode=V6;gi.svgPathData=W6;gi.aliases=mS});var J6=Ve(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var Y6="fas",$6="magnifying-glass",G6=512,K6=512,vS=[128269,"search"],X6="f002",Q6="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";bi.definition={prefix:Y6,iconName:$6,icon:[G6,K6,vS,X6,Q6]};bi.faMagnifyingGlass=bi.definition;bi.prefix=Y6;bi.iconName=$6;bi.width=G6;bi.height=K6;bi.ligatures=vS;bi.unicode=X6;bi.svgPathData=Q6;bi.aliases=vS});var Z6=Ve(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var no=J6();yi.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};yi.faSearch=yi.definition;yi.prefix=no.prefix;yi.iconName=no.iconName;yi.width=no.width;yi.height=no.height;yi.ligatures=no.aliases;yi.unicode=no.unicode;yi.svgPathData=no.svgPathData;yi.aliases=no.aliases});var iA=Ve(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var eA="fas",tA="yen-sign",rA=320,aA=512,_S=[165,"cny","jpy","rmb","yen"],nA="f157",oA="M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z";Si.definition={prefix:eA,iconName:tA,icon:[rA,aA,_S,nA,oA]};Si.faYenSign=Si.definition;Si.prefix=eA;Si.iconName=tA;Si.width=rA;Si.height=aA;Si.ligatures=_S;Si.unicode=nA;Si.svgPathData=oA;Si.aliases=_S});var pA=Ve(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var lA="fas",sA="pen",uA=512,cA=512,gS=[128394],fA="f304",dA="M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z";wi.definition={prefix:lA,iconName:sA,icon:[uA,cA,gS,fA,dA]};wi.faPen=wi.definition;wi.prefix=lA;wi.iconName=sA;wi.width=uA;wi.height=cA;wi.ligatures=gS;wi.unicode=fA;wi.svgPathData=dA;wi.aliases=gS});var yA=Ve(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var hA="fas",mA="bars",vA=448,_A=512,bS=["navicon"],gA="f0c9",bA="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";Ci.definition={prefix:hA,iconName:mA,icon:[vA,_A,bS,gA,bA]};Ci.faBars=Ci.definition;Ci.prefix=hA;Ci.iconName=mA;Ci.width=vA;Ci.height=_A;Ci.ligatures=bS;Ci.unicode=gA;Ci.svgPathData=bA;Ci.aliases=bS});var EA=Ve(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var SA="fas",wA="download",CA=512,xA=512,yS=[],kA="f019",TA="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";xi.definition={prefix:SA,iconName:wA,icon:[CA,xA,yS,kA,TA]};xi.faDownload=xi.definition;xi.prefix=SA;xi.iconName=wA;xi.width=CA;xi.height=xA;xi.ligatures=yS;xi.unicode=kA;xi.svgPathData=TA;xi.aliases=yS});var MA=Ve(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var RA="fas",DA="link",AA=640,LA=512,SS=[128279,"chain"],NA="f0c1",OA="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z";ki.definition={prefix:RA,iconName:DA,icon:[AA,LA,SS,NA,OA]};ki.faLink=ki.definition;ki.prefix=RA;ki.iconName=DA;ki.width=AA;ki.height=LA;ki.ligatures=SS;ki.unicode=NA;ki.svgPathData=OA;ki.aliases=SS});var HA=Ve(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var PA="fas",IA="link-slash",zA=640,BA=512,wS=["chain-broken","chain-slash","unlink"],FA="f127",jA="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z";Ti.definition={prefix:PA,iconName:IA,icon:[zA,BA,wS,FA,jA]};Ti.faLinkSlash=Ti.definition;Ti.prefix=PA;Ti.iconName=IA;Ti.width=zA;Ti.height=BA;Ti.ligatures=wS;Ti.unicode=FA;Ti.svgPathData=jA;Ti.aliases=wS});var GA=Ve(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var UA="fas",VA="up-right-from-square",WA=512,qA=512,CS=["external-link-alt"],YA="f35d",$A="M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z";Ei.definition={prefix:UA,iconName:VA,icon:[WA,qA,CS,YA,$A]};Ei.faUpRightFromSquare=Ei.definition;Ei.prefix=UA;Ei.iconName=VA;Ei.width=WA;Ei.height=qA;Ei.ligatures=CS;Ei.unicode=YA;Ei.svgPathData=$A;Ei.aliases=CS});var KA=Ve(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var oo=GA();Ri.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Ri.faExternalLinkAlt=Ri.definition;Ri.prefix=oo.prefix;Ri.iconName=oo.iconName;Ri.width=oo.width;Ri.height=oo.height;Ri.ligatures=oo.aliases;Ri.unicode=oo.unicode;Ri.svgPathData=oo.svgPathData;Ri.aliases=oo.aliases});var r8=Ve(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var XA="fas",QA="gear",JA=512,ZA=512,xS=[9881,"cog"],e8="f013",t8="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z";Di.definition={prefix:XA,iconName:QA,icon:[JA,ZA,xS,e8,t8]};Di.faGear=Di.definition;Di.prefix=XA;Di.iconName=QA;Di.width=JA;Di.height=ZA;Di.ligatures=xS;Di.unicode=e8;Di.svgPathData=t8;Di.aliases=xS});var u8=Ve(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var a8="fas",n8="plus",o8=448,i8=512,kS=[10133,61543,"add"],l8="2b",s8="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z";Ai.definition={prefix:a8,iconName:n8,icon:[o8,i8,kS,l8,s8]};Ai.faPlus=Ai.definition;Ai.prefix=a8;Ai.iconName=n8;Ai.width=o8;Ai.height=i8;Ai.ligatures=kS;Ai.unicode=l8;Ai.svgPathData=s8;Ai.aliases=kS});var v8=Ve(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var c8="fas",f8="minus",d8=448,p8=512,TS=[8211,8722,10134,"subtract"],h8="f068",m8="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";Li.definition={prefix:c8,iconName:f8,icon:[d8,p8,TS,h8,m8]};Li.faMinus=Li.definition;Li.prefix=c8;Li.iconName=f8;Li.width=d8;Li.height=p8;Li.ligatures=TS;Li.unicode=h8;Li.svgPathData=m8;Li.aliases=TS});var C8=Ve(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var _8="fas",g8="ellipsis",b8=448,y8=512,ES=["ellipsis-h"],S8="f141",w8="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z";Ni.definition={prefix:_8,iconName:g8,icon:[b8,y8,ES,S8,w8]};Ni.faEllipsis=Ni.definition;Ni.prefix=_8;Ni.iconName=g8;Ni.width=b8;Ni.height=y8;Ni.ligatures=ES;Ni.unicode=S8;Ni.svgPathData=w8;Ni.aliases=ES});var x8=Ve(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var io=C8();Oi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Oi.faEllipsisH=Oi.definition;Oi.prefix=io.prefix;Oi.iconName=io.iconName;Oi.width=io.width;Oi.height=io.height;Oi.ligatures=io.aliases;Oi.unicode=io.unicode;Oi.svgPathData=io.svgPathData;Oi.aliases=io.aliases});var L8=Ve(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var k8="fas",T8="ellipsis-vertical",E8=128,R8=512,RS=["ellipsis-v"],D8="f142",A8="M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z";Mi.definition={prefix:k8,iconName:T8,icon:[E8,R8,RS,D8,A8]};Mi.faEllipsisVertical=Mi.definition;Mi.prefix=k8;Mi.iconName=T8;Mi.width=E8;Mi.height=R8;Mi.ligatures=RS;Mi.unicode=D8;Mi.svgPathData=A8;Mi.aliases=RS});var N8=Ve(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var lo=L8();Pi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Pi.faEllipsisV=Pi.definition;Pi.prefix=lo.prefix;Pi.iconName=lo.iconName;Pi.width=lo.width;Pi.height=lo.height;Pi.ligatures=lo.aliases;Pi.unicode=lo.unicode;Pi.svgPathData=lo.svgPathData;Pi.aliases=lo.aliases});var F8=Ve(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var O8="fas",M8="star",P8=576,I8=512,DS=[11088,61446],z8="f005",B8="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z";Ii.definition={prefix:O8,iconName:M8,icon:[P8,I8,DS,z8,B8]};Ii.faStar=Ii.definition;Ii.prefix=O8;Ii.iconName=M8;Ii.width=P8;Ii.height=I8;Ii.ligatures=DS;Ii.unicode=z8;Ii.svgPathData=B8;Ii.aliases=DS});var Y8=Ve(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var j8="fas",H8="paper-plane",U8=512,V8=512,AS=[61913],W8="f1d8",q8="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";zi.definition={prefix:j8,iconName:H8,icon:[U8,V8,AS,W8,q8]};zi.faPaperPlane=zi.definition;zi.prefix=j8;zi.iconName=H8;zi.width=U8;zi.height=V8;zi.ligatures=AS;zi.unicode=W8;zi.svgPathData=q8;zi.aliases=AS});var Z8=Ve(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var $8="fas",G8="heart",K8=512,X8=512,LS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],Q8="f004",J8="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z";Bi.definition={prefix:$8,iconName:G8,icon:[K8,X8,LS,Q8,J8]};Bi.faHeart=Bi.definition;Bi.prefix=$8;Bi.iconName=G8;Bi.width=K8;Bi.height=X8;Bi.ligatures=LS;Bi.unicode=Q8;Bi.svgPathData=J8;Bi.aliases=LS});var iL=Ve(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var eL="fas",tL="ban",rL=512,aL=512,NS=[128683,"cancel"],nL="f05e",oL="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";Fi.definition={prefix:eL,iconName:tL,icon:[rL,aL,NS,nL,oL]};Fi.faBan=Fi.definition;Fi.prefix=eL;Fi.iconName=tL;Fi.width=rL;Fi.height=aL;Fi.ligatures=NS;Fi.unicode=nL;Fi.svgPathData=oL;Fi.aliases=NS});var pL=Ve(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var lL="fas",sL="location-crosshairs",uL=512,cL=512,OS=["location"],fL="f601",dL="M256 0c17.7 0 32 14.3 32 32l0 34.7C368.4 80.1 431.9 143.6 445.3 224l34.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-34.7 0C431.9 368.4 368.4 431.9 288 445.3l0 34.7c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.7C143.6 431.9 80.1 368.4 66.7 288L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l34.7 0C80.1 143.6 143.6 80.1 224 66.7L224 32c0-17.7 14.3-32 32-32zM128 256a128 128 0 1 0 256 0 128 128 0 1 0 -256 0zm128-80a80 80 0 1 1 0 160 80 80 0 1 1 0-160z";ji.definition={prefix:lL,iconName:sL,icon:[uL,cL,OS,fL,dL]};ji.faLocationCrosshairs=ji.definition;ji.prefix=lL;ji.iconName=sL;ji.width=uL;ji.height=cL;ji.ligatures=OS;ji.unicode=fL;ji.svgPathData=dL;ji.aliases=OS});var yL=Ve(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var hL="far",mL="user",vL=448,_L=512,MS=[128100,62144],gL="f007",bL="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z";Hi.definition={prefix:hL,iconName:mL,icon:[vL,_L,MS,gL,bL]};Hi.faUser=Hi.definition;Hi.prefix=hL;Hi.iconName=mL;Hi.width=vL;Hi.height=_L;Hi.ligatures=MS;Hi.unicode=gL;Hi.svgPathData=bL;Hi.aliases=MS});var EL=Ve(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var SL="far",wL="circle-check",CL=512,xL=512,PS=[61533,"check-circle"],kL="f058",TL="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";Ui.definition={prefix:SL,iconName:wL,icon:[CL,xL,PS,kL,TL]};Ui.faCircleCheck=Ui.definition;Ui.prefix=SL;Ui.iconName=wL;Ui.width=CL;Ui.height=xL;Ui.ligatures=PS;Ui.unicode=kL;Ui.svgPathData=TL;Ui.aliases=PS});var RL=Ve(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var so=EL();Vi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};Vi.faCheckCircle=Vi.definition;Vi.prefix=so.prefix;Vi.iconName=so.iconName;Vi.width=so.width;Vi.height=so.height;Vi.ligatures=so.aliases;Vi.unicode=so.unicode;Vi.svgPathData=so.svgPathData;Vi.aliases=so.aliases});var PL=Ve(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var DL="far",AL="circle-question",LL=512,NL=512,IS=[62108,"question-circle"],OL="f059",ML="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";Wi.definition={prefix:DL,iconName:AL,icon:[LL,NL,IS,OL,ML]};Wi.faCircleQuestion=Wi.definition;Wi.prefix=DL;Wi.iconName=AL;Wi.width=LL;Wi.height=NL;Wi.ligatures=IS;Wi.unicode=OL;Wi.svgPathData=ML;Wi.aliases=IS});var IL=Ve(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var uo=PL();qi.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};qi.faQuestionCircle=qi.definition;qi.prefix=uo.prefix;qi.iconName=uo.iconName;qi.width=uo.width;qi.height=uo.height;qi.ligatures=uo.aliases;qi.unicode=uo.unicode;qi.svgPathData=uo.svgPathData;qi.aliases=uo.aliases});var VL=Ve(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var zL="far",BL="pen-to-square",FL=512,jL=512,zS=["edit"],HL="f044",UL="M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z";Yi.definition={prefix:zL,iconName:BL,icon:[FL,jL,zS,HL,UL]};Yi.faPenToSquare=Yi.definition;Yi.prefix=zL;Yi.iconName=BL;Yi.width=FL;Yi.height=jL;Yi.ligatures=zS;Yi.unicode=HL;Yi.svgPathData=UL;Yi.aliases=zS});var WL=Ve($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var co=VL();$i.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};$i.faEdit=$i.definition;$i.prefix=co.prefix;$i.iconName=co.iconName;$i.width=co.width;$i.height=co.height;$i.ligatures=co.aliases;$i.unicode=co.unicode;$i.svgPathData=co.svgPathData;$i.aliases=co.aliases});var QL=Ve(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var qL="far",YL="copy",$L=448,GL=512,BS=[],KL="f0c5",XL="M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z";Gi.definition={prefix:qL,iconName:YL,icon:[$L,GL,BS,KL,XL]};Gi.faCopy=Gi.definition;Gi.prefix=qL;Gi.iconName=YL;Gi.width=$L;Gi.height=GL;Gi.ligatures=BS;Gi.unicode=KL;Gi.svgPathData=XL;Gi.aliases=BS});var nN=Ve(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var JL="far",ZL="file",eN=384,tN=512,FS=[128196,128459,61462],rN="f15b",aN="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z";Ki.definition={prefix:JL,iconName:ZL,icon:[eN,tN,FS,rN,aN]};Ki.faFile=Ki.definition;Ki.prefix=JL;Ki.iconName=ZL;Ki.width=eN;Ki.height=tN;Ki.ligatures=FS;Ki.unicode=rN;Ki.svgPathData=aN;Ki.aliases=FS});var fN=Ve(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var oN="far",iN="trash-can",lN=448,sN=512,jS=[61460,"trash-alt"],uN="f2ed",cN="M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z";Xi.definition={prefix:oN,iconName:iN,icon:[lN,sN,jS,uN,cN]};Xi.faTrashCan=Xi.definition;Xi.prefix=oN;Xi.iconName=iN;Xi.width=lN;Xi.height=sN;Xi.ligatures=jS;Xi.unicode=uN;Xi.svgPathData=cN;Xi.aliases=jS});var dN=Ve(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var fo=fN();Qi.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};Qi.faTrashAlt=Qi.definition;Qi.prefix=fo.prefix;Qi.iconName=fo.iconName;Qi.width=fo.width;Qi.height=fo.height;Qi.ligatures=fo.aliases;Qi.unicode=fo.unicode;Qi.svgPathData=fo.svgPathData;Qi.aliases=fo.aliases});var bN=Ve(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var pN="far",hN="image",mN=512,vN=512,HS=[],_N="f03e",gN="M448 80c8.8 0 16 7.2 16 16V415.8l-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3V96c0-8.8 7.2-16 16-16H448zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";Ji.definition={prefix:pN,iconName:hN,icon:[mN,vN,HS,_N,gN]};Ji.faImage=Ji.definition;Ji.prefix=pN;Ji.iconName=hN;Ji.width=mN;Ji.height=vN;Ji.ligatures=HS;Ji.unicode=_N;Ji.svgPathData=gN;Ji.aliases=HS});var G7=Ve(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var U7="fas",V7="eye",W7=576,q7=512,aw=[128065],Y7="f06e",$7="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:U7,iconName:V7,icon:[W7,q7,aw,Y7,$7]};tl.faEye=tl.definition;tl.prefix=U7;tl.iconName=V7;tl.width=W7;tl.height=q7;tl.ligatures=aw;tl.unicode=Y7;tl.svgPathData=$7;tl.aliases=aw});var iO=Ve(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var eO="fas",tO="clock",rO=512,aO=512,lw=[128339,"clock-four"],nO="f017",oO="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z";rl.definition={prefix:eO,iconName:tO,icon:[rO,aO,lw,nO,oO]};rl.faClock=rl.definition;rl.prefix=eO;rl.iconName=tO;rl.width=rO;rl.height=aO;rl.ligatures=lw;rl.unicode=nO;rl.svgPathData=oO;rl.aliases=lw});var pO=Ve(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var lO="fas",sO="calendar-days",uO=448,cO=512,sw=["calendar-alt"],fO="f073",dO="M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z";al.definition={prefix:lO,iconName:sO,icon:[uO,cO,sw,fO,dO]};al.faCalendarDays=al.definition;al.prefix=lO;al.iconName=sO;al.width=uO;al.height=cO;al.ligatures=sw;al.unicode=fO;al.svgPathData=dO;al.aliases=sw});var hO=Ve(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var po=pO();nl.definition={prefix:po.prefix,iconName:po.iconName,icon:[po.width,po.height,po.aliases,po.unicode,po.svgPathData]};nl.faCalendarAlt=nl.definition;nl.prefix=po.prefix;nl.iconName=po.iconName;nl.width=po.width;nl.height=po.height;nl.ligatures=po.aliases;nl.unicode=po.unicode;nl.svgPathData=po.svgPathData;nl.aliases=po.aliases});var NO=Ve(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var TO="fas",EO="cloud-arrow-up",RO=640,DO=512,pw=[62338,"cloud-upload","cloud-upload-alt"],AO="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 128l-368 0zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39L296 392c0 13.3 10.7 24 24 24s24-10.7 24-24l0-134.1 39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z";ol.definition={prefix:TO,iconName:EO,icon:[RO,DO,pw,AO,LO]};ol.faCloudArrowUp=ol.definition;ol.prefix=TO;ol.iconName=EO;ol.width=RO;ol.height=DO;ol.ligatures=pw;ol.unicode=AO;ol.svgPathData=LO;ol.aliases=pw});var t9=Ve(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var KO="fas",XO="grip-vertical",QO=320,JO=512,yw=[],ZO="f58e",e9="M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z";ll.definition={prefix:KO,iconName:XO,icon:[QO,JO,yw,ZO,e9]};ll.faGripVertical=ll.definition;ll.prefix=KO;ll.iconName=XO;ll.width=QO;ll.height=JO;ll.ligatures=yw;ll.unicode=ZO;ll.svgPathData=e9;ll.aliases=yw});var u9=Ve(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var a9="fas",n9="filter",o9=512,i9=512,Cw=[],l9="f0b0",s9="M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z";sl.definition={prefix:a9,iconName:n9,icon:[o9,i9,Cw,l9,s9]};sl.faFilter=sl.definition;sl.prefix=a9;sl.iconName=n9;sl.width=o9;sl.height=i9;sl.ligatures=Cw;sl.unicode=l9;sl.svgPathData=s9;sl.aliases=Cw});var y9=Ve(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var h9="fas",m9="palette",v9=512,_9=512,kw=[127912],g9="f53f",b9="M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";ul.definition={prefix:h9,iconName:m9,icon:[v9,_9,kw,g9,b9]};ul.faPalette=ul.definition;ul.prefix=h9;ul.iconName=m9;ul.width=v9;ul.height=_9;ul.ligatures=kw;ul.unicode=g9;ul.svgPathData=b9;ul.aliases=kw});var E9=Ve(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var S9="fas",w9="bars-staggered",C9=512,x9=512,Tw=["reorder","stream"],k9="f550",T9="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";cl.definition={prefix:S9,iconName:w9,icon:[C9,x9,Tw,k9,T9]};cl.faBarsStaggered=cl.definition;cl.prefix=S9;cl.iconName=w9;cl.width=C9;cl.height=x9;cl.ligatures=Tw;cl.unicode=k9;cl.svgPathData=T9;cl.aliases=Tw});var M9=Ve(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var R9="fas",D9="rotate-left",A9=512,L9=512,Ew=["rotate-back","rotate-backward","undo-alt"],N9="f2ea",O9="M48.5 224L40 224c-13.3 0-24-10.7-24-24L16 72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8L48.5 224z";fl.definition={prefix:R9,iconName:D9,icon:[A9,L9,Ew,N9,O9]};fl.faRotateLeft=fl.definition;fl.prefix=R9;fl.iconName=D9;fl.width=A9;fl.height=L9;fl.ligatures=Ew;fl.unicode=N9;fl.svgPathData=O9;fl.aliases=Ew});var H9=Ve(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var P9="fas",I9="rotate-right",z9=512,B9=512,Rw=["redo-alt","rotate-forward"],F9="f2f9",j9="M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z";dl.definition={prefix:P9,iconName:I9,icon:[z9,B9,Rw,F9,j9]};dl.faRotateRight=dl.definition;dl.prefix=P9;dl.iconName=I9;dl.width=z9;dl.height=B9;dl.ligatures=Rw;dl.unicode=F9;dl.svgPathData=j9;dl.aliases=Rw});var Mw=Ve(()=>{"use strict"});var Pw=Ve(()=>{"use strict"});var X9=K(Zk()),Os=K(XT()),zg=K(cr()),Iw=K(tr());var Fr={};Td(Fr,{$$fromRoot:()=>pt,Accordion:()=>JS,Anchor:()=>cf,Box:()=>X,Button:()=>ut,ColorObjects:()=>qh,Column:()=>ar,Config:()=>dt,Cropper:()=>Aw,DarkmodeColors:()=>K9,Effect:()=>pu,ExtractStyles:()=>Dl,FAI:()=>Ne,Flex:()=>At,FlexBr:()=>w7,GenerateHTMLProps:()=>ko,Grid:()=>Hd,Img:()=>ks,Input:()=>La,Label:()=>dg,LaunchReactApp:()=>Pg,LeftIcon:()=>Wd,LeftIndicator:()=>_g,LinkifyText:()=>z7,List:()=>B7,ListItem:()=>qd,Loader:()=>Ro,Logo:()=>Ts,OmitSign:()=>vg,P:()=>S7,PageNotFound:()=>$9,PageViewController:()=>N7,Placeholder:()=>y7,Plate:()=>T7,ReadStyleSet:()=>nm,RequiredShortSign:()=>mg,RequiredSign:()=>hg,RightIcon:()=>Ba,RightIndicator:()=>gg,RootViewController:()=>Rs,Row:()=>ht,SetThemeColorTag:()=>Wh,Sheet:()=>pr,Snackbar:()=>rs,Span:()=>yn,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Og,Text:()=>nr,ThemeColors:()=>Nw,Tips:()=>_u,Tooltips:()=>Na,amotify:()=>F$,default:()=>F$,pageRouter:()=>Mn,useRefresh:()=>kl,useRouterEffect:()=>Mg});var WW=Object.defineProperty,qW=Object.defineProperties,YW=Object.getOwnPropertyDescriptors,j_=Object.getOwnPropertySymbols,n5=Object.prototype.hasOwnProperty,o5=Object.prototype.propertyIsEnumerable,i5=Math.pow,a5=(r,a,o)=>a in r?WW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,_=(r,a)=>{for(var o in a||(a={}))n5.call(a,o)&&a5(r,o,a[o]);if(j_)for(var o of j_(a))o5.call(a,o)&&a5(r,o,a[o]);return r},T=(r,a)=>qW(r,YW(a)),Ge=(r,a)=>{var o={};for(var l in r)n5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&j_)for(var l of j_(r))a.indexOf(l)<0&&o5.call(r,l)&&(o[l]=r[l]);return o},Da=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())});var Ow={};Td(Ow,{$$fromRoot:()=>pt,ColorObjects:()=>qh,Config:()=>dt,DarkmodeColors:()=>K9,ExtractStyles:()=>Dl,GenerateHTMLProps:()=>ko,LaunchReactApp:()=>Pg,ReadStyleSet:()=>nm,SetThemeColorTag:()=>Wh,ThemeColors:()=>Nw,pageRouter:()=>Mn,useRefresh:()=>kl,useRouterEffect:()=>Mg});var xl=K(tr());var xo={sessionUID:(0,xl.UUID)(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},dt={get:()=>xo,set:r=>{xo=_(_({},xo),r)},update:{themeColor:r=>{if(qh.find(o=>o.key==r)||(r="comun"),r==dt.get().themeColor)return;dt.set(T(_({},dt.get()),{themeColor:r}));let a=(0,xl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Wh()}),dt.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==dt.get().darkMode)return;let a=r=="auto"?dt.get().isSystemDarkmode()?"dark":"light":r;dt.set(T(_({},dt.get()),{darkMode:a}));let o=(0,xl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),dt.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=dt.get().roundness&&(dt.set(T(_({},dt.get()),{roundness:r})),dt.restart())},screen:r=>{dt.get().screen=_(_({},dt.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";xo.appRoot=r.appRoot||document.body,xo.appRoot instanceof HTMLElement&&(xo.appRoot.tabIndex=0),xl.default.is.exist(r.roundness)&&dt.update.roundness(r.roundness),xl.default.is.exist(r.themeColor)&&dt.update.themeColor(r.themeColor),xl.default.is.exist(r.darkMode)&&dt.update.darkMode(r.darkMode),xo.deviceIs=o,xo.browserIs=l,xo.isPhone=["Android","iPhone"].includes(o),xo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,xo.isIOS=["iPhone","iPad"].includes(o),xo.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,xo.isIOS=["iPhone","iPad"].includes(o),xo.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,xl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+dt.get().deviceIs,"bdsDM_"+dt.get().darkMode,"bdsTC_"+dt.get().themeColor]),(0,xl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,f=(0,xl.default)(document.body),c=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.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:()=>{dt.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,xl.default)(document.body),f=window.innerHeight,c=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=f-c-h;s.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Wh()},restart:()=>{kl.release("RootViewController_"+dt.get().sessionUID)}};var Vo=K(tr()),Nd=K(cr()),kl={catch:r=>{let[a]=(0,Nd.useState)((0,Vo.UUID)()),[o,l]=(0,Nd.useState)((0,Vo.UUID)()),[s,f]=(0,Nd.useState)(null),c="RefreshKey_"+a;return(0,Nd.useEffect)(()=>{var h;Vo.useStore.set({[c]:m=>{l((0,Vo.UUID)()),f(m||null)}});let p=((h=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Vo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Vo.useStore.delete(c);let g=((m=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=g.indexOf(a);b!==-1&&(g.splice(b,1),Vo.useStore.update({["RefreshKeys_"+r]:{keys:g}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let f=Vo.useStore.get("RefreshKey_"+s);f&&f(a)}}};var gc=K(cr());var Lw={};Td(Lw,{Anchor:()=>cf,Button:()=>ut,Cropper:()=>Aw,Effect:()=>pu,Input:()=>La,Label:()=>dg,LeftIcon:()=>Wd,LeftIndicator:()=>_g,Loader:()=>Ro,OmitSign:()=>vg,PageNotFound:()=>$9,PageViewController:()=>N7,Plate:()=>T7,RequiredShortSign:()=>mg,RequiredSign:()=>hg,RightIcon:()=>Ba,RightIndicator:()=>gg,RootViewController:()=>Rs,Sheet:()=>pr,Snackbar:()=>rs,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Og,Tips:()=>_u,Tooltips:()=>Na});var Tl=K(Dt()),dc=K(cr()),Sn=K(tr());var YS={};Td(YS,{Box:()=>X,Column:()=>ar,FAI:()=>Ne,Flex:()=>At,FlexBr:()=>w7,Grid:()=>Hd,Img:()=>ks,Logo:()=>Ts,P:()=>S7,Placeholder:()=>y7,Span:()=>yn});var uf=K(Dt());var u5=K(Dt());var X=r=>{let a=ko(r),{htmlTag:o}=a,l=Ge(a,["htmlTag"]),s=o||"div";return s?(0,u5.jsx)(s,_({},l)):null};var Pt=K(Dt());var yN=K(LE()),SN=K(FE()),wN=K(YE()),CN=K(ZE()),xN=K(iR()),kN=K(pR()),TN=K(yR()),EN=K(ER()),RN=K(MR()),DN=K(HR()),AN=K(GR()),LN=K(tD()),NN=K(sD()),ON=K(mD()),MN=K(wD()),PN=K(aS()),IN=K(oS()),zN=K(lS()),BN=K($D()),FN=K(t6()),jN=K(s6()),HN=K(m6()),UN=K(w6()),VN=K(A6()),WN=K(B6()),qN=K(q6()),YN=K(Z6()),$N=K(iA()),GN=K(pA()),KN=K(yA()),XN=K(EA()),QN=K(MA()),JN=K(HA()),ZN=K(KA()),e7=K(r8()),t7=K(u8()),r7=K(v8()),a7=K(x8()),n7=K(N8()),o7=K(F8()),i7=K(Y8()),l7=K(Z8()),s7=K(iL()),u7=K(pL()),c7=K(yL()),f7=K(RL()),d7=K(IL()),p7=K(WL()),h7=K(QL()),m7=K(nN()),v7=K(dN()),_7=K(bN()),Bt=r=>{let a=r,{icon:o}=a,l=Ge(a,["icon"]),s=ko(l);return(0,Pt.jsx)(yN.FontAwesomeIcon,T(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},Ne=Bt;Ne.User=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:c7.faUser})),Ne.Times=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:SN.faTimes})),Ne.AngleRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:wN.faAngleRight})),Ne.AngleLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:CN.faAngleLeft})),Ne.AngleUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:xN.faAngleUp})),Ne.AngleDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:kN.faAngleDown})),Ne.ChevronLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:TN.faChevronLeft})),Ne.ChevronRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:EN.faChevronRight})),Ne.ChevronUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:RN.faChevronUp})),Ne.ChevronDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:DN.faChevronDown})),Ne.CaretLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:AN.faCaretLeft})),Ne.CaretRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:LN.faCaretRight})),Ne.CaretUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:NN.faCaretUp})),Ne.CaretDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:ON.faCaretDown})),Ne.ArrowLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:MN.faArrowLeft})),Ne.ArrowRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:PN.faArrowRight})),Ne.ArrowUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:IN.faArrowUp})),Ne.ArrowDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:zN.faArrowDown})),Ne.Rotate=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:BN.faRotate})),Ne.Redo=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:FN.faRedo})),Ne.Check=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:jN.faCheck})),Ne.CheckCircle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:f7.faCheckCircle})),Ne.Question=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:HN.faQuestion})),Ne.QuestionCircle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:d7.faQuestionCircle})),Ne.Exclamation=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:UN.faExclamation})),Ne.ExclamationTriangle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:VN.faExclamationTriangle})),Ne.Home=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:WN.faHome})),Ne.Share=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:qN.faShare})),Ne.Search=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:YN.faSearch})),Ne.YenSign=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:$N.faYenSign})),Ne.Heart=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:l7.faHeart})),Ne.Star=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:o7.faStar})),Ne.Edit=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:p7.faEdit})),Ne.Pen=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:GN.faPen})),Ne.Copy=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:h7.faCopy})),Ne.File=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:m7.faFile})),Ne.TrashAlt=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:v7.faTrashAlt})),Ne.Bars=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:KN.faBars})),Ne.Download=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:XN.faDownload})),Ne.Link=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:QN.faLink})),Ne.LinkSlash=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:JN.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:ZN.faExternalLinkAlt})),Ne.Gear=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:e7.faGear})),Ne.Plus=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:t7.faPlus})),Ne.Minus=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:r7.faMinus})),Ne.EllipsisH=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:a7.faEllipsisH})),Ne.EllipsisV=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:n7.faEllipsisV})),Ne.PaperPlane=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:i7.faPaperPlane})),Ne.Image=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:_7.faImage})),Ne.Ban=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:s7.faBan})),Ne.Location=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:u7.faLocationCrosshairs}));var g7=K(Dt());var UY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},VY={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"},WY={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},qY={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},YY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},$Y={BodyEffect:"_BodyEffect_ii9uf_1",Wrapper:"_Wrapper_ii9uf_9",Wrap:"_Wrap_ii9uf_9",Content:"_Content_ii9uf_16",TapSensor:"_TapSensor_ii9uf_35",TapContent:"_TapContent_ii9uf_45",Hide:"_Hide_ii9uf_52",Open:"_Open_ii9uf_55",isMainSheet_true:"_isMainSheet_true_ii9uf_55",isMainSheet_false:"_isMainSheet_false_ii9uf_61",BB:"_BB_ii9uf_61",Tcate_normal:"_Tcate_normal_ii9uf_64",BaseBody:"_BaseBody_ii9uf_68",Tcate_drawer:"_Tcate_drawer_ii9uf_83",Tpos_left:"_Tpos_left_ii9uf_83",Tpos_right:"_Tpos_right_ii9uf_98",Tpos_bottom:"_Tpos_bottom_ii9uf_113",DragBar:"_DragBar_ii9uf_120",Tcate_custom:"_Tcate_custom_ii9uf_128",CustomSheet:"_CustomSheet_ii9uf_136",GPT:"_GPT_ii9uf_139",Col_1:"_Col_1_ii9uf_139",Row_1:"_Row_1_ii9uf_139",Row_4:"_Row_4_ii9uf_139",Col_4:"_Col_4_ii9uf_139",Row_2:"_Row_2_ii9uf_142",Row_5:"_Row_5_ii9uf_142",Col_2:"_Col_2_ii9uf_145",Col_5:"_Col_5_ii9uf_145",GPT_3:"_GPT_3_ii9uf_151",GPT_18:"_GPT_18_ii9uf_151",GPT_8:"_GPT_8_ii9uf_154",GPT_23:"_GPT_23_ii9uf_154",GPT_11:"_GPT_11_ii9uf_157",GPT_14:"_GPT_14_ii9uf_157",GPT_12:"_GPT_12_ii9uf_160",GPT_15:"_GPT_15_ii9uf_160",Col_3:"_Col_3_ii9uf_170"},GY={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"},KY={RootViewController:"_RootViewController_czfgs_2",Content:"_Content_czfgs_7",TopNav:"_TopNav_czfgs_11",FooterNav:"_FooterNav_czfgs_14",Body:"_Body_czfgs_17",SideNav:"_SideNav_czfgs_17",SwipeView:"_SwipeView_czfgs_24",Rail:"_Rail_czfgs_24",ShowOther_true:"_ShowOther_true_czfgs_24",Child:"_Child_czfgs_24",Display:"_Display_czfgs_32",LoopAdjusting:"_LoopAdjusting_czfgs_36"},XY={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"},QY={RippleElement:"_RippleElement_17vcx_1",Color_cloud:"_Color_cloud_17vcx_7",RippleWrap:"_RippleWrap_17vcx_7",Wave:"_Wave_17vcx_7",Color_theme:"_Color_theme_17vcx_10",PuddingEffect:"_PuddingEffect_17vcx_39",pdAnm:"_pdAnm_17vcx_1"},JY={Wrap:"_Wrap_8x4zl_1",Use_profile:"_Use_profile_8x4zl_4",Use_head:"_Use_head_8x4zl_7",Canvas:"_Canvas_8x4zl_11",Preview:"_Preview_8x4zl_17",ToneBall:"_ToneBall_8x4zl_21",ToneBall_1:"_ToneBall_1_8x4zl_25",ToneBall_2:"_ToneBall_2_8x4zl_28",ToneBall_3:"_ToneBall_3_8x4zl_31",ToneBall_4:"_ToneBall_4_8x4zl_34",ToneBall_5:"_ToneBall_5_8x4zl_37",ToneBall_6:"_ToneBall_6_8x4zl_40",ToneBall_7:"_ToneBall_7_8x4zl_43",ToneBall_8:"_ToneBall_8_8x4zl_46",ToneBall_9:"_ToneBall_9_8x4zl_49",ToneBall_10:"_ToneBall_10_8x4zl_52"},ZY={Wrap:"_Wrap_kr7qs_1",isLocked_true:"_isLocked_true_kr7qs_16",Tone_sub_Color_theme:"_Tone_sub_Color_theme_kr7qs_21",Tone_clear_Color_theme:"_Tone_clear_Color_theme_kr7qs_21",Tone_sub_Color_posi:"_Tone_sub_Color_posi_kr7qs_24",Tone_clear_Color_posi:"_Tone_clear_Color_posi_kr7qs_24",Tone_sub_Color_nega:"_Tone_sub_Color_nega_kr7qs_27",Tone_clear_Color_nega:"_Tone_clear_Color_nega_kr7qs_27",Tone_sub_Color_warn:"_Tone_sub_Color_warn_kr7qs_30",Tone_clear_Color_warn:"_Tone_clear_Color_warn_kr7qs_30",Tone_sub_Color_white:"_Tone_sub_Color_white_kr7qs_33",Tone_clear_Color_white:"_Tone_clear_Color_white_kr7qs_33",Tone_sub_Color_cloud:"_Tone_sub_Color_cloud_kr7qs_36",Tone_clear_Color_cloud:"_Tone_clear_Color_cloud_kr7qs_36",Tone_sub_Color_layer:"_Tone_sub_Color_layer_kr7qs_39",Tone_clear_Color_layer:"_Tone_clear_Color_layer_kr7qs_39",isNeutral_true:"_isNeutral_true_kr7qs_43",Tone_clear:"_Tone_clear_kr7qs_21",Tone_borderToFill:"_Tone_borderToFill_kr7qs_46",Tone_fillToBorder:"_Tone_fillToBorder_kr7qs_49",Tone_fillToBorder_Color_white:"_Tone_fillToBorder_Color_white_kr7qs_52",Tone_fillToBorder_Color_cloud:"_Tone_fillToBorder_Color_cloud_kr7qs_52",Tone_link:"_Tone_link_kr7qs_55",Tone_normal_Color_plain:"_Tone_normal_Color_plain_kr7qs_62",Tone_normal_Color_theme:"_Tone_normal_Color_theme_kr7qs_66",Tone_normal_Color_posi:"_Tone_normal_Color_posi_kr7qs_70",Tone_normal_Color_nega:"_Tone_normal_Color_nega_kr7qs_74",Tone_normal_Color_warn:"_Tone_normal_Color_warn_kr7qs_78",Tone_border:"_Tone_border_kr7qs_46",Tone_prime:"_Tone_prime_kr7qs_85",Tone_borderToFill_Color_white:"_Tone_borderToFill_Color_white_kr7qs_120",Tone_borderToFill_Color_cloud:"_Tone_borderToFill_Color_cloud_kr7qs_120"},e$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var t$={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"},r$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},a$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},n$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},o$={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"},i$={Header:"_Header_1rlyc_1",Body:"_Body_1rlyc_8",Footer:"_Footer_1rlyc_13",ClockBase:"_ClockBase_1rlyc_20",DesignSide:"_DesignSide_1rlyc_20",ClockUiBase:"_ClockUiBase_1rlyc_20",ClockUi:"_ClockUi_1rlyc_20",Needle:"_Needle_1rlyc_24",hour:"_hour_1rlyc_31",minute:"_minute_1rlyc_36",DateBase:"_DateBase_1rlyc_42",LeftButton:"_LeftButton_1rlyc_42",RightButton:"_RightButton_1rlyc_45",MonthBase:"_MonthBase_1rlyc_49",Cell:"_Cell_1rlyc_55",isThisMonth:"_isThisMonth_1rlyc_55",miniYearInput:"_miniYearInput_1rlyc_61",CalendarDay:"_CalendarDay_1rlyc_66",isToday_true:"_isToday_true_1rlyc_66"};var l$={Label:"_Label_1kvwn_1",Tone_plain:"_Tone_plain_1kvwn_6",Checked:"_Checked_1kvwn_6",Tone_cloud:"_Tone_cloud_1kvwn_9",Tone_cloudmono:"_Tone_cloudmono_1kvwn_12",Tone_cloudtheme:"_Tone_cloudtheme_1kvwn_15",Tone_bordervivid:"_Tone_bordervivid_1kvwn_21",Tone_bottomline:"_Tone_bottomline_1kvwn_27"},US=r=>UY[r],Zi=r=>VY[r],ug=r=>WY[r],VS=r=>qY[r],am=r=>YY[r],oa=r=>$Y[r],xa=r=>GY[r],Aa=r=>KY[r],Kt=r=>XY[r],Kl=r=>QY[r],uc=r=>JY[r],of=r=>ZY[r],jd=r=>e$[r];var Xl=r=>t$[r],lf=r=>r$[r],Ql=r=>a$[r],sf=r=>n$[r],xs=r=>o$[r],ka=r=>i$[r];var cg=r=>l$[r];var ks=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,f=Ge(a,["src","alt","showExpand"]);return(0,g7.jsx)(X,T(_({htmlTag:"img",src:o,alt:l},f),{className:[US("Img"),US("ShowExpand_"+!!s),f.className].join(" "),onPointerDown:c=>{f.onPointerDown&&f.onPointerDown(c),s&&c.stopPropagation()},onClick:c=>{f.onClick&&f.onClick(c),s&&(c.stopPropagation(),pr.open({type:"image",src:s!=!0?s:o}))},freeCSS:_({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var rr=K(Dt()),WS=K(tr());var b7={ComunIcon:()=>(0,rr.jsx)("svg",{viewBox:"0,0,1200,1200",className:Zi("ComunIcon"),children:(0,rr.jsxs)("g",{children:[(0,rr.jsx)("path",{d:`
923
+ }`;g5=!1;Sq={mixout:function(){return{dom:{css:G5,insertCss:u2}}},hooks:function(){return{beforeDOMElementCreation:function(){u2()},beforeI2svg:function(){u2()}}}},su=ic||{};su[lu]||(su[lu]={});su[lu].styles||(su[lu].styles={});su[lu].hooks||(su[lu].hooks={});su[lu].shims||(su[lu].shims=[]);Kl=su[lu],K5=[],wq=function r(){Sa.removeEventListener("DOMContentLoaded",r),eg=1,K5.map(function(a){return a()})},eg=!1;cu&&(eg=(Sa.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Sa.readyState),eg||Sa.addEventListener("DOMContentLoaded",wq));xq=function(a,o){return function(l,s,f,c){return a.call(o,l,s,f,c)}},c2=function(a,o,l,s){var f=Object.keys(a),c=f.length,h=s!==void 0?xq(o,s):o,p,m,g;for(l===void 0?(p=1,g=a[f[0]]):(p=0,g=l);p<c;p++)m=f[p],g=h(g,a[m],m,a);return g};Md=Kl.styles,Eq=Kl.shims,Rq=(G_={},fn(G_,ya,Object.values(Qh[ya])),fn(G_,za,Object.values(Qh[za])),G_),L2=null,X5={},Q5={},J5={},Z5={},eE={},Dq=(K_={},fn(K_,ya,Object.keys(Kh[ya])),fn(K_,za,Object.keys(Kh[za])),K_);tE=function(){var a=function(f){return c2(Md,function(c,h,p){return c[p]=c2(h,f,{}),c},{})};X5=a(function(s,f,c){if(f[3]&&(s[f[3]]=c),f[2]){var h=f[2].filter(function(p){return typeof p=="number"});h.forEach(function(p){s[p.toString(16)]=c})}return s}),Q5=a(function(s,f,c){if(s[c]=c,f[2]){var h=f[2].filter(function(p){return typeof p=="string"});h.forEach(function(p){s[p]=c})}return s}),eE=a(function(s,f,c){var h=f[2];return s[c]=c,h.forEach(function(p){s[p]=c}),s});var o="far"in Md||xt.autoFetchSvg,l=c2(Eq,function(s,f){var c=f[0],h=f[1],p=f[2];return h==="far"&&!o&&(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:{}});J5=l.names,Z5=l.unicodes,L2=ag(xt.styleDefault,{family:xt.familyDefault})};hq(function(r){L2=ag(r.styleDefault,{family:xt.familyDefault})});tE();O2=function(){return{prefix:null,iconName:null,rest:[]}};S5=(X_={},fn(X_,ya,Object.keys(Qh[ya])),fn(X_,za,Object.keys(Qh[za])),X_);Mq=function(){function r(){$W(this,r),this.definitions={}}return GW(r,[{key:"add",value:function(){for(var o=this,l=arguments.length,s=new Array(l),f=0;f<l;f++)s[f]=arguments[f];var c=s.reduce(this._pullDefinitions,{});Object.keys(c).forEach(function(h){o.definitions[h]=_t(_t({},o.definitions[h]||{}),c[h]),_2(h,c[h]);var p=Qh[ya][h];p&&_2(p,c[h]),tE()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,l){var s=l.prefix&&l.iconName&&l.icon?{0:l}:l;return Object.keys(s).map(function(f){var c=s[f],h=c.prefix,p=c.iconName,m=c.icon,g=m[2];o[h]||(o[h]={}),g.length>0&&g.forEach(function(b){typeof b=="string"&&(o[h][b]=m)}),o[h][p]=m}),o}}]),r}(),w5=[],Pd={},Id={},Pq=Object.keys(Id);aE=new Mq,zq=function(){xt.autoReplaceSvg=!1,xt.observeMutations=!1,of("noAuto")},Bq={i2svg:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return cu?(of("beforeI2svg",a),uu("pseudoElements2svg",a),uu("i2svg",a)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot;xt.autoReplaceSvg===!1&&(xt.autoReplaceSvg=!0),xt.observeMutations=!0,Cq(function(){jq({autoReplaceSvgRoot:o}),of("watch",a)})}},Fq={icon:function(a){if(a===null)return null;if(Z_(a)==="object"&&a.prefix&&a.iconName)return{prefix:a.prefix,iconName:af(a.prefix,a.iconName)||a.iconName};if(Array.isArray(a)&&a.length===2){var o=a[1].indexOf("fa-")===0?a[1].slice(3):a[1],l=ag(a[0]);return{prefix:l,iconName:af(l,o)||o}}if(typeof a=="string"&&(a.indexOf("".concat(xt.cssPrefix,"-"))>-1||a.match(iq))){var s=ng(a.split(" "),{skipLookups:!0});return{prefix:s.prefix||lc(),iconName:af(s.prefix,s.iconName)||s.iconName}}if(typeof a=="string"){var f=lc();return{prefix:f,iconName:af(f,a)||a}}}},ko={noAuto:zq,config:xt,dom:Bq,parse:Fq,library:aE,findIconDefinition:b2,toHtml:rm},jq=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=a.autoReplaceSvgRoot,l=o===void 0?Sa:o;(Object.keys(Kl.styles).length>0||xt.autoFetchSvg)&&cu&&xt.autoReplaceSvg&&ko.dom.i2svg({node:l})};f2=Kl.styles;Wq={found:!1,width:512,height:512};x5=function(){},w2=xt.measurePerformance&&U_&&U_.mark&&U_.measure?U_:{mark:x5,measure:x5},Yh='FA "6.4.2"',Yq=function(a){return w2.mark("".concat(Yh," ").concat(a," begins")),function(){return nE(a)}},nE=function(a){w2.mark("".concat(Yh," ").concat(a," ends")),w2.measure("".concat(Yh," ").concat(a),"".concat(Yh," ").concat(a," begins"),"".concat(Yh," ").concat(a," ends"))},P2={begin:Yq,end:nE},Q_=function(){};J_={replace:function(a){var o=a[0];if(o.parentNode)if(a[1].forEach(function(s){o.parentNode.insertBefore(oE(s),o)}),o.getAttribute(nf)===null&&xt.keepOriginalSource){var l=Sa.createComment(Jq(o));o.parentNode.replaceChild(l,o)}else o.remove()},nest:function(a){var o=a[0],l=a[1];if(~D2(o).indexOf(xt.replacementClass))return J_.replace(a);var s=new RegExp("".concat(xt.cssPrefix,"-.*"));if(delete l[0].attributes.id,l[0].attributes.class){var f=l[0].attributes.class.split(" ").reduce(function(h,p){return p===xt.replacementClass||p.match(s)?h.toSvg.push(p):h.toNode.push(p),h},{toNode:[],toSvg:[]});l[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",f.toNode.join(" "))}var c=l.map(function(h){return rm(h)}).join(`
924
+ `);o.setAttribute(nf,""),o.innerHTML=c}};I2=!1;tg=null;nY=Kl.styles;sc=new Set;R2.map(function(r){sc.add("fa-".concat(r))});Object.keys(Kh[ya]).map(sc.add.bind(sc));Object.keys(Kh[za]).map(sc.add.bind(sc));sc=em(sc);lY=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.transform,s=l===void 0?Cs:l,f=o.symbol,c=f===void 0?!1:f,h=o.mask,p=h===void 0?null:h,m=o.maskId,g=m===void 0?null:m,b=o.title,S=b===void 0?null:b,w=o.titleId,k=w===void 0?null:w,L=o.classes,M=L===void 0?[]:L,Y=o.attributes,O=Y===void 0?{}:Y,j=o.styles,F=j===void 0?{}:j;if(a){var Q=a.prefix,N=a.iconName,te=a.icon;return og(_t({type:"icon"},a),function(){return of("beforeDOMElementCreation",{iconDefinition:a,params:o}),xt.autoA11y&&(S?O["aria-labelledby"]="".concat(xt.replacementClass,"-title-").concat(k||Zh()):(O["aria-hidden"]="true",O.focusable="false")),M2({icons:{main:y2(te),mask:p?y2(p.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Q,iconName:N,transform:_t(_t({},Cs),s),symbol:c,title:S,maskId:g,titleId:k,extra:{attributes:O,styles:F,classes:M}})})}},sY={mixout:function(){return{icon:iY(lY)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=D5,o.nodeCallback=oY,o}}},provides:function(a){a.i2svg=function(o){var l=o.node,s=l===void 0?Sa:l,f=o.callback,c=f===void 0?function(){}:f;return D5(s,c)},a.generateSvgReplacementMutation=function(o,l){var s=l.iconName,f=l.title,c=l.titleId,h=l.prefix,p=l.transform,m=l.symbol,g=l.mask,b=l.maskId,S=l.extra;return new Promise(function(w,k){Promise.all([S2(s,h),g.iconName?S2(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var M=x2(L,2),Y=M[0],O=M[1];w([o,M2({icons:{main:Y,mask:O},prefix:h,iconName:s,transform:p,symbol:m,maskId:b,title:f,titleId:c,extra:S,watchable:!0})])}).catch(k)})},a.generateAbstractIcon=function(o){var l=o.children,s=o.attributes,f=o.main,c=o.transform,h=o.styles,p=rg(h);p.length>0&&(s.style=p);var m;return A2(c)&&(m=uu("generateAbstractTransformGrouping",{main:f,transform:c,containerWidth:f.width,iconWidth:f.width})),l.push(m||f.icon),{children:l,attributes:s}}}},uY={mixout:function(){return{layer:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.classes,f=s===void 0?[]:s;return og({type:"layer"},function(){of("beforeDOMElementCreation",{assembler:o,params:l});var c=[];return o(function(h){Array.isArray(h)?h.map(function(p){c=c.concat(p.abstract)}):c=c.concat(h.abstract)}),[{tag:"span",attributes:{class:["".concat(xt.cssPrefix,"-layers")].concat(em(f)).join(" ")},children:c}]})}}}},cY={mixout:function(){return{counter:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.title,f=s===void 0?null:s,c=l.classes,h=c===void 0?[]:c,p=l.attributes,m=p===void 0?{}:p,g=l.styles,b=g===void 0?{}:g;return og({type:"counter",content:o},function(){return of("beforeDOMElementCreation",{content:o,params:l}),Vq({content:o.toString(),title:f,extra:{attributes:m,styles:b,classes:["".concat(xt.cssPrefix,"-layers-counter")].concat(em(h))}})})}}}},fY={mixout:function(){return{text:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=l.transform,f=s===void 0?Cs:s,c=l.title,h=c===void 0?null:c,p=l.classes,m=p===void 0?[]:p,g=l.attributes,b=g===void 0?{}:g,S=l.styles,w=S===void 0?{}:S;return og({type:"text",content:o},function(){return of("beforeDOMElementCreation",{content:o,params:l}),C5({content:o,transform:_t(_t({},Cs),f),title:h,extra:{attributes:b,styles:w,classes:["".concat(xt.cssPrefix,"-layers-text")].concat(em(m))}})})}}},provides:function(a){a.generateLayersText=function(o,l){var s=l.title,f=l.transform,c=l.extra,h=null,p=null;if(j5){var m=parseInt(getComputedStyle(o).fontSize,10),g=o.getBoundingClientRect();h=g.width/m,p=g.height/m}return xt.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([o,C5({content:o.innerHTML,width:h,height:p,transform:f,title:s,extra:c,watchable:!0})])}}},dY=new RegExp('"',"ug"),A5=[1105920,1112319];vY={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=N5,o}}},provides:function(a){a.pseudoElements2svg=function(o){var l=o.node,s=l===void 0?Sa:l;xt.searchPseudoElements&&N5(s)}}},O5=!1,_Y={mixout:function(){return{dom:{unwatch:function(){lE(),O5=!0}}}},hooks:function(){return{bootstrap:function(){E5(g2("mutationObserverCallbacks",{}))},noAuto:function(){Zq()},watch:function(o){var l=o.observeMutationsRoot;O5?C2():E5(g2("mutationObserverCallbacks",{observeMutationsRoot:l}))}}}},M5=function(a){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(l,s){var f=s.toLowerCase().split("-"),c=f[0],h=f.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},o)},gY={mixout:function(){return{parse:{transform:function(o){return M5(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-transform");return s&&(o.transform=M5(s)),o}}},provides:function(a){a.generateAbstractTransformGrouping=function(o){var l=o.main,s=o.transform,f=o.containerWidth,c=o.iconWidth,h={transform:"translate(".concat(f/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),m="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),g="rotate(".concat(s.rotate," 0 0)"),b={transform:"".concat(p," ").concat(m," ").concat(g)},S={transform:"translate(".concat(c/2*-1," -256)")},w={outer:h,inner:b,path:S};return{tag:"g",attributes:_t({},w.outer),children:[{tag:"g",attributes:_t({},w.inner),children:[{tag:l.icon.tag,children:l.icon.children,attributes:_t(_t({},l.icon.attributes),w.path)}]}]}}}},d2={x:0,y:0,width:"100%",height:"100%"};yY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-mask"),f=s?ng(s.split(" ").map(function(c){return c.trim()})):O2();return f.prefix||(f.prefix=lc()),o.mask=f,o.maskId=l.getAttribute("data-fa-mask-id"),o}}},provides:function(a){a.generateAbstractMask=function(o){var l=o.children,s=o.attributes,f=o.main,c=o.mask,h=o.maskId,p=o.transform,m=f.width,g=f.icon,b=c.width,S=c.icon,w=gq({transform:p,containerWidth:b,iconWidth:m}),k={tag:"rect",attributes:_t(_t({},d2),{},{fill:"white"})},L=g.children?{children:g.children.map(P5)}:{},M={tag:"g",attributes:_t({},w.inner),children:[P5(_t({tag:g.tag,attributes:_t(_t({},g.attributes),w.path)},L))]},Y={tag:"g",attributes:_t({},w.outer),children:[M]},O="mask-".concat(h||Zh()),j="clip-".concat(h||Zh()),F={tag:"mask",attributes:_t(_t({},d2),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[k,Y]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:j},children:bY(S)},F]};return l.push(Q,{tag:"rect",attributes:_t({fill:"currentColor","clip-path":"url(#".concat(j,")"),mask:"url(#".concat(O,")")},d2)}),{children:l,attributes:s}}}},SY={provides:function(a){var o=!1;ic.matchMedia&&(o=ic.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var l=[],s={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};l.push({tag:"path",attributes:_t(_t({},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=_t(_t({},f),{},{attributeName:"opacity"}),h={tag:"circle",attributes:_t(_t({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||h.children.push({tag:"animate",attributes:_t(_t({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:_t(_t({},c),{},{values:"1;0;1;1;0;1;"})}),l.push(h),l.push({tag:"path",attributes:_t(_t({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:o?[]:[{tag:"animate",attributes:_t(_t({},c),{},{values:"1;0;0;0;0;1;"})}]}),o||l.push({tag:"path",attributes:_t(_t({},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:_t(_t({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:l}}}},wY={hooks:function(){return{parseNodeAttributes:function(o,l){var s=l.getAttribute("data-fa-symbol"),f=s===null?!1:s===""?!0:s;return o.symbol=f,o}}}},CY=[Sq,sY,uY,cY,fY,vY,_Y,gY,yY,SY,wY];Iq(CY,{mixoutsTo:ko});xY=ko.noAuto,kY=ko.config,TY=ko.library,EY=ko.dom,RY=ko.parse,DY=ko.findIconDefinition,AY=ko.toHtml,LY=ko.icon,NY=ko.layer,OY=ko.text,MY=ko.counter});var fE=Ue(ea=>{"use strict";(function(){"use strict";var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,f=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,h=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,g=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,S=r?Symbol.for("react.suspense_list"):60120,w=r?Symbol.for("react.memo"):60115,k=r?Symbol.for("react.lazy"):60116,L=r?Symbol.for("react.block"):60121,M=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(Te){return typeof Te=="string"||typeof Te=="function"||Te===l||Te===m||Te===f||Te===s||Te===b||Te===S||typeof Te=="object"&&Te!==null&&(Te.$$typeof===k||Te.$$typeof===w||Te.$$typeof===c||Te.$$typeof===h||Te.$$typeof===g||Te.$$typeof===M||Te.$$typeof===Y||Te.$$typeof===O||Te.$$typeof===L)}function F(Te){if(typeof Te=="object"&&Te!==null){var pt=Te.$$typeof;switch(pt){case a:var Lt=Te.type;switch(Lt){case p:case m:case l:case f:case s:case b:return Lt;default:var jt=Lt&&Lt.$$typeof;switch(jt){case h:case g:case k:case w:case c:return jt;default:return pt}}case o:return pt}}}var Q=p,N=m,te=h,_e=c,re=a,be=g,ye=l,ge=k,H=w,le=o,fe=f,B=s,W=b,ne=!1;function ee(Te){return ne||(ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),de(Te)||F(Te)===p}function de(Te){return F(Te)===m}function Ce(Te){return F(Te)===h}function Se(Te){return F(Te)===c}function Ye(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===a}function $e(Te){return F(Te)===g}function Pe(Te){return F(Te)===l}function et(Te){return F(Te)===k}function ct(Te){return F(Te)===w}function lt(Te){return F(Te)===o}function Tt(Te){return F(Te)===f}function wt(Te){return F(Te)===s}function Ze(Te){return F(Te)===b}ea.AsyncMode=Q,ea.ConcurrentMode=N,ea.ContextConsumer=te,ea.ContextProvider=_e,ea.Element=re,ea.ForwardRef=be,ea.Fragment=ye,ea.Lazy=ge,ea.Memo=H,ea.Portal=le,ea.Profiler=fe,ea.StrictMode=B,ea.Suspense=W,ea.isAsyncMode=ee,ea.isConcurrentMode=de,ea.isContextConsumer=Ce,ea.isContextProvider=Se,ea.isElement=Ye,ea.isForwardRef=$e,ea.isFragment=Pe,ea.isLazy=et,ea.isMemo=ct,ea.isPortal=lt,ea.isProfiler=Tt,ea.isStrictMode=wt,ea.isSuspense=Ze,ea.isValidElementType=j,ea.typeOf=F})()});var z2=Ue((_G,dE)=>{"use strict";dE.exports=fE()});var mE=Ue((gG,hE)=>{"use strict";var pE=Object.getOwnPropertySymbols,PY=Object.prototype.hasOwnProperty,IY=Object.prototype.propertyIsEnumerable;function zY(r){if(r==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function BY(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de",Object.getOwnPropertyNames(r)[0]==="5")return!1;for(var a={},o=0;o<10;o++)a["_"+String.fromCharCode(o)]=o;var l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}hE.exports=BY()?Object.assign:function(r,a){for(var o,l=zY(r),s,f=1;f<arguments.length;f++){o=Object(arguments[f]);for(var c in o)PY.call(o,c)&&(l[c]=o[c]);if(pE){s=pE(o);for(var h=0;h<s.length;h++)IY.call(o,s[h])&&(l[s[h]]=o[s[h]])}}return l}});var B2=Ue((bG,vE)=>{"use strict";var FY="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";vE.exports=FY});var F2=Ue((yG,_E)=>{_E.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var wE=Ue((SG,SE)=>{"use strict";var j2=function(){};gE=B2(),ig={},bE=F2(),j2=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};var gE,ig,bE;function yE(r,a,o,l,s){for(var f in r)if(bE(r,f)){var c;try{if(typeof r[f]!="function"){var h=Error((l||"React class")+": "+o+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}c=r[f](a,f,l,o,null,gE)}catch(m){c=m}if(c&&!(c instanceof Error)&&j2((l||"React class")+": type specification of "+o+" `"+f+"` 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 ig)){ig[c.message]=!0;var p=s?s():"";j2("Failed "+o+" type: "+c.message+(p!=null?p:""))}}}yE.resetWarningCache=function(){ig={}};SE.exports=yE});var kE=Ue((wG,xE)=>{"use strict";var jY=z2(),HY=mE(),Fd=B2(),H2=F2(),CE=wE(),jd=function(){};jd=function(r){var a="Warning: "+r;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(o){}};function lg(){return null}xE.exports=function(r,a){var o=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function s(H){var le=H&&(o&&H[o]||H[l]);if(typeof le=="function")return le}var f="<<anonymous>>",c={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:b(),arrayOf:S,element:w(),elementType:k(),instanceOf:L,node:j(),objectOf:Y,oneOf:M,oneOfType:O,shape:Q,exact:N};function h(H,le){return H===le?H!==0||1/H===1/le:H!==H&&le!==le}function p(H,le){this.message=H,this.data=le&&typeof le=="object"?le:{},this.stack=""}p.prototype=Error.prototype;function m(H){var le={},fe=0;function B(ne,ee,de,Ce,Se,Ye,$e){if(Ce=Ce||f,Ye=Ye||de,$e!==Fd){if(a){var Pe=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Pe.name="Invariant Violation",Pe}else if(typeof console!="undefined"){var et=Ce+":"+de;!le[et]&&fe<3&&(jd("You are manually calling a React.PropTypes validation function for the `"+Ye+"` prop on `"+Ce+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),le[et]=!0,fe++)}}return ee[de]==null?ne?ee[de]===null?new p("The "+Se+" `"+Ye+"` is marked as required "+("in `"+Ce+"`, but its value is `null`.")):new p("The "+Se+" `"+Ye+"` is marked as required in "+("`"+Ce+"`, but its value is `undefined`.")):null:H(ee,de,Ce,Se,Ye)}var W=B.bind(null,!1);return W.isRequired=B.bind(null,!0),W}function g(H){function le(fe,B,W,ne,ee,de){var Ce=fe[B],Se=re(Ce);if(Se!==H){var Ye=be(Ce);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ye+"` supplied to `"+W+"`, expected ")+("`"+H+"`."),{expectedType:H})}return null}return m(le)}function b(){return m(lg)}function S(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var de=fe[B];if(!Array.isArray(de)){var Ce=re(de);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+W+"`, expected an array."))}for(var Se=0;Se<de.length;Se++){var Ye=H(de,Se,W,ne,ee+"["+Se+"]",Fd);if(Ye instanceof Error)return Ye}return null}return m(le)}function w(){function H(le,fe,B,W,ne){var ee=le[fe];if(!r(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return m(H)}function k(){function H(le,fe,B,W,ne){var ee=le[fe];if(!jY.isValidElementType(ee)){var de=re(ee);return new p("Invalid "+W+" `"+ne+"` of type "+("`"+de+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return m(H)}function L(H){function le(fe,B,W,ne,ee){if(!(fe[B]instanceof H)){var de=H.name||f,Ce=ge(fe[B]);return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+W+"`, expected ")+("instance of `"+de+"`."))}return null}return m(le)}function M(H){if(!Array.isArray(H))return arguments.length>1?jd("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):jd("Invalid argument supplied to oneOf, expected an array."),lg;function le(fe,B,W,ne,ee){for(var de=fe[B],Ce=0;Ce<H.length;Ce++)if(h(de,H[Ce]))return null;var Se=JSON.stringify(H,function($e,Pe){var et=be(Pe);return et==="symbol"?String(Pe):Pe});return new p("Invalid "+ne+" `"+ee+"` of value `"+String(de)+"` "+("supplied to `"+W+"`, expected one of "+Se+"."))}return m(le)}function Y(H){function le(fe,B,W,ne,ee){if(typeof H!="function")return new p("Property `"+ee+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var de=fe[B],Ce=re(de);if(Ce!=="object")return new p("Invalid "+ne+" `"+ee+"` of type "+("`"+Ce+"` supplied to `"+W+"`, expected an object."));for(var Se in de)if(H2(de,Se)){var Ye=H(de,Se,W,ne,ee+"."+Se,Fd);if(Ye instanceof Error)return Ye}return null}return m(le)}function O(H){if(!Array.isArray(H))return jd("Invalid argument supplied to oneOfType, expected an instance of array."),lg;for(var le=0;le<H.length;le++){var fe=H[le];if(typeof fe!="function")return jd("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ye(fe)+" at index "+le+"."),lg}function B(W,ne,ee,de,Ce){for(var Se=[],Ye=0;Ye<H.length;Ye++){var $e=H[Ye],Pe=$e(W,ne,ee,de,Ce,Fd);if(Pe==null)return null;Pe.data&&H2(Pe.data,"expectedType")&&Se.push(Pe.data.expectedType)}var et=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new p("Invalid "+de+" `"+Ce+"` supplied to "+("`"+ee+"`"+et+"."))}return m(B)}function j(){function H(le,fe,B,W,ne){return te(le[fe])?null:new p("Invalid "+W+" `"+ne+"` supplied to "+("`"+B+"`, expected a ReactNode."))}return m(H)}function F(H,le,fe,B,W){return new p((H||"React class")+": "+le+" type `"+fe+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function Q(H){function le(fe,B,W,ne,ee){var de=fe[B],Ce=re(de);if(Ce!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+Ce+"` "+("supplied to `"+W+"`, expected `object`."));for(var Se in H){var Ye=H[Se];if(typeof Ye!="function")return F(W,ne,ee,Se,be(Ye));var $e=Ye(de,Se,W,ne,ee+"."+Se,Fd);if($e)return $e}return null}return m(le)}function N(H){function le(fe,B,W,ne,ee){var de=fe[B],Ce=re(de);if(Ce!=="object")return new p("Invalid "+ne+" `"+ee+"` of type `"+Ce+"` "+("supplied to `"+W+"`, expected `object`."));var Se=HY({},fe[B],H);for(var Ye in Se){var $e=H[Ye];if(H2(H,Ye)&&typeof $e!="function")return F(W,ne,ee,Ye,be($e));if(!$e)return new p("Invalid "+ne+" `"+ee+"` key `"+Ye+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(fe[B],null," ")+`
925
+ Valid keys: `+JSON.stringify(Object.keys(H),null," "));var Pe=$e(de,Ye,W,ne,ee+"."+Ye,Fd);if(Pe)return Pe}return null}return m(le)}function te(H){switch(typeof H){case"number":case"string":case"undefined":return!0;case"boolean":return!H;case"object":if(Array.isArray(H))return H.every(te);if(H===null||r(H))return!0;var le=s(H);if(le){var fe=le.call(H),B;if(le!==H.entries){for(;!(B=fe.next()).done;)if(!te(B.value))return!1}else for(;!(B=fe.next()).done;){var W=B.value;if(W&&!te(W[1]))return!1}}else return!1;return!0;default:return!1}}function _e(H,le){return H==="symbol"?!0:le?le["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&le instanceof Symbol:!1}function re(H){var le=typeof H;return Array.isArray(H)?"array":H instanceof RegExp?"object":_e(le,H)?"symbol":le}function be(H){if(typeof H=="undefined"||H===null)return""+H;var le=re(H);if(le==="object"){if(H instanceof Date)return"date";if(H instanceof RegExp)return"regexp"}return le}function ye(H){var le=be(H);switch(le){case"array":case"object":return"an "+le;case"boolean":case"date":case"regexp":return"a "+le;default:return le}}function ge(H){return!H.constructor||!H.constructor.name?f:H.constructor.name}return c.checkPropTypes=CE,c.resetWarningCache=CE.resetWarningCache,c.PropTypes=c,c}});var DE=Ue((CG,RE)=>{TE=z2(),EE=!0,RE.exports=kE()(TE.isElement,EE);var TE,EE});var LE=Ue((sg,AE)=>{(function(r,a){typeof sg=="object"&&typeof AE!="undefined"?a(sg,(cE(),kV(uE)),DE(),cr()):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))})(sg,function(r,a,o,l){"use strict";function s(B){return B&&typeof B=="object"&&"default"in B?B:{default:B}}var f=s(o),c=s(l);function h(B,W){var ne=Object.keys(B);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(B);W&&(ee=ee.filter(function(de){return Object.getOwnPropertyDescriptor(B,de).enumerable})),ne.push.apply(ne,ee)}return ne}function p(B){for(var W=1;W<arguments.length;W++){var ne=arguments[W]!=null?arguments[W]:{};W%2?h(Object(ne),!0).forEach(function(ee){g(B,ee,ne[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(ne)):h(Object(ne)).forEach(function(ee){Object.defineProperty(B,ee,Object.getOwnPropertyDescriptor(ne,ee))})}return B}function m(B){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},m(B)}function g(B,W,ne){return W in B?Object.defineProperty(B,W,{value:ne,enumerable:!0,configurable:!0,writable:!0}):B[W]=ne,B}function b(B,W){if(B==null)return{};var ne={},ee=Object.keys(B),de,Ce;for(Ce=0;Ce<ee.length;Ce++)de=ee[Ce],!(W.indexOf(de)>=0)&&(ne[de]=B[de]);return ne}function S(B,W){if(B==null)return{};var ne=b(B,W),ee,de;if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(B);for(de=0;de<Ce.length;de++)ee=Ce[de],!(W.indexOf(ee)>=0)&&Object.prototype.propertyIsEnumerable.call(B,ee)&&(ne[ee]=B[ee])}return ne}function w(B){return k(B)||L(B)||M(B)||O()}function k(B){if(Array.isArray(B))return Y(B)}function L(B){if(typeof Symbol!="undefined"&&B[Symbol.iterator]!=null||B["@@iterator"]!=null)return Array.from(B)}function M(B,W){if(B){if(typeof B=="string")return Y(B,W);var ne=Object.prototype.toString.call(B).slice(8,-1);if(ne==="Object"&&B.constructor&&(ne=B.constructor.name),ne==="Map"||ne==="Set")return Array.from(B);if(ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ne))return Y(B,W)}}function Y(B,W){(W==null||W>B.length)&&(W=B.length);for(var ne=0,ee=new Array(W);ne<W;ne++)ee[ne]=B[ne];return ee}function O(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
926
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(B){var W,ne=B.beat,ee=B.fade,de=B.beatFade,Ce=B.bounce,Se=B.shake,Ye=B.flash,$e=B.spin,Pe=B.spinPulse,et=B.spinReverse,ct=B.pulse,lt=B.fixedWidth,Tt=B.inverse,wt=B.border,Ze=B.listItem,Te=B.flip,pt=B.size,Lt=B.rotation,jt=B.pull,Ut=(W={"fa-beat":ne,"fa-fade":ee,"fa-beat-fade":de,"fa-bounce":Ce,"fa-shake":Se,"fa-flash":Ye,"fa-spin":$e,"fa-spin-reverse":et,"fa-spin-pulse":Pe,"fa-pulse":ct,"fa-fw":lt,"fa-inverse":Tt,"fa-border":wt,"fa-li":Ze,"fa-flip":Te===!0,"fa-flip-horizontal":Te==="horizontal"||Te==="both","fa-flip-vertical":Te==="vertical"||Te==="both"},g(W,"fa-".concat(pt),typeof pt!="undefined"&&pt!==null),g(W,"fa-rotate-".concat(Lt),typeof Lt!="undefined"&&Lt!==null&&Lt!==0),g(W,"fa-pull-".concat(jt),typeof jt!="undefined"&&jt!==null),g(W,"fa-swap-opacity",B.swapOpacity),W);return Object.keys(Ut).map(function(er){return Ut[er]?er:null}).filter(function(er){return er})}function F(B){return B=B-0,B===B}function Q(B){return F(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(W,ne){return ne?ne.toUpperCase():""}),B.substr(0,1).toLowerCase()+B.substr(1))}var N=["style"];function te(B){return B.charAt(0).toUpperCase()+B.slice(1)}function _e(B){return B.split(";").map(function(W){return W.trim()}).filter(function(W){return W}).reduce(function(W,ne){var ee=ne.indexOf(":"),de=Q(ne.slice(0,ee)),Ce=ne.slice(ee+1).trim();return de.startsWith("webkit")?W[te(de)]=Ce:W[de]=Ce,W},{})}function re(B,W){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof W=="string")return W;var ee=(W.children||[]).map(function($e){return re(B,$e)}),de=Object.keys(W.attributes||{}).reduce(function($e,Pe){var et=W.attributes[Pe];switch(Pe){case"class":$e.attrs.className=et,delete W.attributes.class;break;case"style":$e.attrs.style=_e(et);break;default:Pe.indexOf("aria-")===0||Pe.indexOf("data-")===0?$e.attrs[Pe.toLowerCase()]=et:$e.attrs[Q(Pe)]=et}return $e},{attrs:{}}),Ce=ne.style,Se=Ce===void 0?{}:Ce,Ye=S(ne,N);return de.attrs.style=p(p({},de.attrs.style),Se),B.apply(void 0,[W.tag,p(p({},de.attrs),Ye)].concat(w(ee)))}var be=!1;try{be=!1}catch(B){}function ye(){if(!be&&console&&typeof console.error=="function"){var B;(B=console).error.apply(B,arguments)}}function ge(B){if(B&&m(B)==="object"&&B.prefix&&B.iconName&&B.icon)return B;if(a.parse.icon)return a.parse.icon(B);if(B===null)return null;if(B&&m(B)==="object"&&B.prefix&&B.iconName)return B;if(Array.isArray(B)&&B.length===2)return{prefix:B[0],iconName:B[1]};if(typeof B=="string")return{prefix:"fas",iconName:B}}function H(B,W){return Array.isArray(W)&&W.length>0||!Array.isArray(W)&&W?g({},B,W):{}}var le=c.default.forwardRef(function(B,W){var ne=B.icon,ee=B.mask,de=B.symbol,Ce=B.className,Se=B.title,Ye=B.titleId,$e=B.maskId,Pe=ge(ne),et=H("classes",[].concat(w(j(B)),w(Ce.split(" ")))),ct=H("transform",typeof B.transform=="string"?a.parse.transform(B.transform):B.transform),lt=H("mask",ge(ee)),Tt=a.icon(Pe,p(p(p(p({},et),ct),lt),{},{symbol:de,title:Se,titleId:Ye,maskId:$e}));if(!Tt)return ye("Could not find icon",Pe),null;var wt=Tt.abstract,Ze={ref:W};return Object.keys(B).forEach(function(Te){le.defaultProps.hasOwnProperty(Te)||(Ze[Te]=B[Te])}),fe(wt[0],Ze)});le.displayName="FontAwesomeIcon",le.propTypes={beat:f.default.bool,border:f.default.bool,beatFade:f.default.bool,bounce:f.default.bool,className:f.default.string,fade:f.default.bool,flash:f.default.bool,mask:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),maskId:f.default.string,fixedWidth:f.default.bool,inverse:f.default.bool,flip:f.default.oneOf([!0,!1,"horizontal","vertical","both"]),icon:f.default.oneOfType([f.default.object,f.default.array,f.default.string]),listItem:f.default.bool,pull:f.default.oneOf(["right","left"]),pulse:f.default.bool,rotation:f.default.oneOf([0,90,180,270]),shake:f.default.bool,size:f.default.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:f.default.bool,spinPulse:f.default.bool,spinReverse:f.default.bool,symbol:f.default.oneOfType([f.default.bool,f.default.string]),title:f.default.string,titleId:f.default.string,transform:f.default.oneOfType([f.default.string,f.default.object]),swapOpacity:f.default.bool},le.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var fe=re.bind(null,c.default.createElement);r.FontAwesomeIcon=le,Object.defineProperty(r,"__esModule",{value:!0})})});var BE=Ue(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var NE="fas",OE="xmark",ME=384,PE=512,U2=[128473,10005,10006,10060,215,"close","multiply","remove","times"],IE="f00d",zE="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";Wo.definition={prefix:NE,iconName:OE,icon:[ME,PE,U2,IE,zE]};Wo.faXmark=Wo.definition;Wo.prefix=NE;Wo.iconName=OE;Wo.width=ME;Wo.height=PE;Wo.ligatures=U2;Wo.unicode=IE;Wo.svgPathData=zE;Wo.aliases=U2});var FE=Ue(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var Zn=BE();qo.definition={prefix:Zn.prefix,iconName:Zn.iconName,icon:[Zn.width,Zn.height,Zn.aliases,Zn.unicode,Zn.svgPathData]};qo.faTimes=qo.definition;qo.prefix=Zn.prefix;qo.iconName=Zn.iconName;qo.width=Zn.width;qo.height=Zn.height;qo.ligatures=Zn.aliases;qo.unicode=Zn.unicode;qo.svgPathData=Zn.svgPathData;qo.aliases=Zn.aliases});var YE=Ue(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var jE="fas",HE="angle-right",UE=320,VE=512,V2=[8250],WE="f105",qE="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z";Yo.definition={prefix:jE,iconName:HE,icon:[UE,VE,V2,WE,qE]};Yo.faAngleRight=Yo.definition;Yo.prefix=jE;Yo.iconName=HE;Yo.width=UE;Yo.height=VE;Yo.ligatures=V2;Yo.unicode=WE;Yo.svgPathData=qE;Yo.aliases=V2});var ZE=Ue($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var $E="fas",GE="angle-left",KE=320,XE=512,W2=[8249],QE="f104",JE="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";$o.definition={prefix:$E,iconName:GE,icon:[KE,XE,W2,QE,JE]};$o.faAngleLeft=$o.definition;$o.prefix=$E;$o.iconName=GE;$o.width=KE;$o.height=XE;$o.ligatures=W2;$o.unicode=QE;$o.svgPathData=JE;$o.aliases=W2});var iR=Ue(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var eR="fas",tR="angle-up",rR=448,aR=512,q2=[8963],nR="f106",oR="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z";Go.definition={prefix:eR,iconName:tR,icon:[rR,aR,q2,nR,oR]};Go.faAngleUp=Go.definition;Go.prefix=eR;Go.iconName=tR;Go.width=rR;Go.height=aR;Go.ligatures=q2;Go.unicode=nR;Go.svgPathData=oR;Go.aliases=q2});var pR=Ue(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var lR="fas",sR="angle-down",uR=448,cR=512,Y2=[8964],fR="f107",dR="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";Ko.definition={prefix:lR,iconName:sR,icon:[uR,cR,Y2,fR,dR]};Ko.faAngleDown=Ko.definition;Ko.prefix=lR;Ko.iconName=sR;Ko.width=uR;Ko.height=cR;Ko.ligatures=Y2;Ko.unicode=fR;Ko.svgPathData=dR;Ko.aliases=Y2});var yR=Ue(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var hR="fas",mR="chevron-left",vR=320,_R=512,$2=[9001],gR="f053",bR="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";Xo.definition={prefix:hR,iconName:mR,icon:[vR,_R,$2,gR,bR]};Xo.faChevronLeft=Xo.definition;Xo.prefix=hR;Xo.iconName=mR;Xo.width=vR;Xo.height=_R;Xo.ligatures=$2;Xo.unicode=gR;Xo.svgPathData=bR;Xo.aliases=$2});var ER=Ue(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});var SR="fas",wR="chevron-right",CR=320,xR=512,G2=[9002],kR="f054",TR="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";Qo.definition={prefix:SR,iconName:wR,icon:[CR,xR,G2,kR,TR]};Qo.faChevronRight=Qo.definition;Qo.prefix=SR;Qo.iconName=wR;Qo.width=CR;Qo.height=xR;Qo.ligatures=G2;Qo.unicode=kR;Qo.svgPathData=TR;Qo.aliases=G2});var MR=Ue(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var RR="fas",DR="chevron-up",AR=512,LR=512,K2=[],NR="f077",OR="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";Jo.definition={prefix:RR,iconName:DR,icon:[AR,LR,K2,NR,OR]};Jo.faChevronUp=Jo.definition;Jo.prefix=RR;Jo.iconName=DR;Jo.width=AR;Jo.height=LR;Jo.ligatures=K2;Jo.unicode=NR;Jo.svgPathData=OR;Jo.aliases=K2});var HR=Ue(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var PR="fas",IR="chevron-down",zR=512,BR=512,X2=[],FR="f078",jR="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";Zo.definition={prefix:PR,iconName:IR,icon:[zR,BR,X2,FR,jR]};Zo.faChevronDown=Zo.definition;Zo.prefix=PR;Zo.iconName=IR;Zo.width=zR;Zo.height=BR;Zo.ligatures=X2;Zo.unicode=FR;Zo.svgPathData=jR;Zo.aliases=X2});var GR=Ue(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var UR="fas",VR="caret-left",WR=256,qR=512,Q2=[],YR="f0d9",$R="M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z";ei.definition={prefix:UR,iconName:VR,icon:[WR,qR,Q2,YR,$R]};ei.faCaretLeft=ei.definition;ei.prefix=UR;ei.iconName=VR;ei.width=WR;ei.height=qR;ei.ligatures=Q2;ei.unicode=YR;ei.svgPathData=$R;ei.aliases=Q2});var tD=Ue(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});var KR="fas",XR="caret-right",QR=256,JR=512,J2=[],ZR="f0da",eD="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z";ti.definition={prefix:KR,iconName:XR,icon:[QR,JR,J2,ZR,eD]};ti.faCaretRight=ti.definition;ti.prefix=KR;ti.iconName=XR;ti.width=QR;ti.height=JR;ti.ligatures=J2;ti.unicode=ZR;ti.svgPathData=eD;ti.aliases=J2});var sD=Ue(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});var rD="fas",aD="caret-up",nD=320,oD=512,Z2=[],iD="f0d8",lD="M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z";ri.definition={prefix:rD,iconName:aD,icon:[nD,oD,Z2,iD,lD]};ri.faCaretUp=ri.definition;ri.prefix=rD;ri.iconName=aD;ri.width=nD;ri.height=oD;ri.ligatures=Z2;ri.unicode=iD;ri.svgPathData=lD;ri.aliases=Z2});var mD=Ue(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var uD="fas",cD="caret-down",fD=320,dD=512,eS=[],pD="f0d7",hD="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z";ai.definition={prefix:uD,iconName:cD,icon:[fD,dD,eS,pD,hD]};ai.faCaretDown=ai.definition;ai.prefix=uD;ai.iconName=cD;ai.width=fD;ai.height=dD;ai.ligatures=eS;ai.unicode=pD;ai.svgPathData=hD;ai.aliases=eS});var wD=Ue(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});var vD="fas",_D="arrow-left",gD=448,bD=512,tS=[8592],yD="f060",SD="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";ni.definition={prefix:vD,iconName:_D,icon:[gD,bD,tS,yD,SD]};ni.faArrowLeft=ni.definition;ni.prefix=vD;ni.iconName=_D;ni.width=gD;ni.height=bD;ni.ligatures=tS;ni.unicode=yD;ni.svgPathData=SD;ni.aliases=tS});var aS=Ue(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});var CD="fas",xD="arrow-right",kD=448,TD=512,rS=[8594],ED="f061",RD="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z";oi.definition={prefix:CD,iconName:xD,icon:[kD,TD,rS,ED,RD]};oi.faArrowRight=oi.definition;oi.prefix=CD;oi.iconName=xD;oi.width=kD;oi.height=TD;oi.ligatures=rS;oi.unicode=ED;oi.svgPathData=RD;oi.aliases=rS});var oS=Ue(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var DD="fas",AD="arrow-up",LD=384,ND=512,nS=[8593],OD="f062",MD="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z";ii.definition={prefix:DD,iconName:AD,icon:[LD,ND,nS,OD,MD]};ii.faArrowUp=ii.definition;ii.prefix=DD;ii.iconName=AD;ii.width=LD;ii.height=ND;ii.ligatures=nS;ii.unicode=OD;ii.svgPathData=MD;ii.aliases=nS});var lS=Ue(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});var PD="fas",ID="arrow-down",zD=384,BD=512,iS=[8595],FD="f063",jD="M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";li.definition={prefix:PD,iconName:ID,icon:[zD,BD,iS,FD,jD]};li.faArrowDown=li.definition;li.prefix=PD;li.iconName=ID;li.width=zD;li.height=BD;li.ligatures=iS;li.unicode=FD;li.svgPathData=jD;li.aliases=iS});var $D=Ue(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});var HD="fas",UD="rotate",VD=512,WD=512,sS=[128260,"sync-alt"],qD="f2f1",YD="M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z";si.definition={prefix:HD,iconName:UD,icon:[VD,WD,sS,qD,YD]};si.faRotate=si.definition;si.prefix=HD;si.iconName=UD;si.width=VD;si.height=WD;si.ligatures=sS;si.unicode=qD;si.svgPathData=YD;si.aliases=sS});var e6=Ue(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});var GD="fas",KD="arrow-rotate-right",XD=512,QD=512,uS=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],JD="f01e",ZD="M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z";ui.definition={prefix:GD,iconName:KD,icon:[XD,QD,uS,JD,ZD]};ui.faArrowRotateRight=ui.definition;ui.prefix=GD;ui.iconName=KD;ui.width=XD;ui.height=QD;ui.ligatures=uS;ui.unicode=JD;ui.svgPathData=ZD;ui.aliases=uS});var t6=Ue(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var eo=e6();ci.definition={prefix:eo.prefix,iconName:eo.iconName,icon:[eo.width,eo.height,eo.aliases,eo.unicode,eo.svgPathData]};ci.faRedo=ci.definition;ci.prefix=eo.prefix;ci.iconName=eo.iconName;ci.width=eo.width;ci.height=eo.height;ci.ligatures=eo.aliases;ci.unicode=eo.unicode;ci.svgPathData=eo.svgPathData;ci.aliases=eo.aliases});var s6=Ue(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var r6="fas",a6="check",n6=448,o6=512,cS=[10003,10004],i6="f00c",l6="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";fi.definition={prefix:r6,iconName:a6,icon:[n6,o6,cS,i6,l6]};fi.faCheck=fi.definition;fi.prefix=r6;fi.iconName=a6;fi.width=n6;fi.height=o6;fi.ligatures=cS;fi.unicode=i6;fi.svgPathData=l6;fi.aliases=cS});var m6=Ue(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});var u6="fas",c6="question",f6=320,d6=512,fS=[10067,10068,61736],p6="3f",h6="M80 160c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74l0 1.4c0 17.7 14.3 32 32 32s32-14.3 32-32l0-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7l0-3.6c0-70.7-57.3-128-128-128l-32 0C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";di.definition={prefix:u6,iconName:c6,icon:[f6,d6,fS,p6,h6]};di.faQuestion=di.definition;di.prefix=u6;di.iconName=c6;di.width=f6;di.height=d6;di.ligatures=fS;di.unicode=p6;di.svgPathData=h6;di.aliases=fS});var w6=Ue(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});var v6="fas",_6="exclamation",g6=128,b6=512,dS=[10069,10071,61738],y6="21",S6="M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32L96 64zM64 480a40 40 0 1 0 0-80 40 40 0 1 0 0 80z";pi.definition={prefix:v6,iconName:_6,icon:[g6,b6,dS,y6,S6]};pi.faExclamation=pi.definition;pi.prefix=v6;pi.iconName=_6;pi.width=g6;pi.height=b6;pi.ligatures=dS;pi.unicode=y6;pi.svgPathData=S6;pi.aliases=dS});var D6=Ue(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});var C6="fas",x6="triangle-exclamation",k6=512,T6=512,pS=[9888,"exclamation-triangle","warning"],E6="f071",R6="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";hi.definition={prefix:C6,iconName:x6,icon:[k6,T6,pS,E6,R6]};hi.faTriangleExclamation=hi.definition;hi.prefix=C6;hi.iconName=x6;hi.width=k6;hi.height=T6;hi.ligatures=pS;hi.unicode=E6;hi.svgPathData=R6;hi.aliases=pS});var A6=Ue(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});var to=D6();mi.definition={prefix:to.prefix,iconName:to.iconName,icon:[to.width,to.height,to.aliases,to.unicode,to.svgPathData]};mi.faExclamationTriangle=mi.definition;mi.prefix=to.prefix;mi.iconName=to.iconName;mi.width=to.width;mi.height=to.height;mi.ligatures=to.aliases;mi.unicode=to.unicode;mi.svgPathData=to.svgPathData;mi.aliases=to.aliases});var z6=Ue(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var L6="fas",N6="house",O6=576,M6=512,hS=[127968,63498,63500,"home","home-alt","home-lg-alt"],P6="f015",I6="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z";vi.definition={prefix:L6,iconName:N6,icon:[O6,M6,hS,P6,I6]};vi.faHouse=vi.definition;vi.prefix=L6;vi.iconName=N6;vi.width=O6;vi.height=M6;vi.ligatures=hS;vi.unicode=P6;vi.svgPathData=I6;vi.aliases=hS});var B6=Ue(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});var ro=z6();_i.definition={prefix:ro.prefix,iconName:ro.iconName,icon:[ro.width,ro.height,ro.aliases,ro.unicode,ro.svgPathData]};_i.faHome=_i.definition;_i.prefix=ro.prefix;_i.iconName=ro.iconName;_i.width=ro.width;_i.height=ro.height;_i.ligatures=ro.aliases;_i.unicode=ro.unicode;_i.svgPathData=ro.svgPathData;_i.aliases=ro.aliases});var q6=Ue(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});var F6="fas",j6="share",H6=512,U6=512,mS=["mail-forward"],V6="f064",W6="M307 34.8c-11.5 5.1-19 16.6-19 29.2l0 64-112 0C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96l96 0 0 64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z";gi.definition={prefix:F6,iconName:j6,icon:[H6,U6,mS,V6,W6]};gi.faShare=gi.definition;gi.prefix=F6;gi.iconName=j6;gi.width=H6;gi.height=U6;gi.ligatures=mS;gi.unicode=V6;gi.svgPathData=W6;gi.aliases=mS});var J6=Ue(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});var Y6="fas",$6="magnifying-glass",G6=512,K6=512,vS=[128269,"search"],X6="f002",Q6="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";bi.definition={prefix:Y6,iconName:$6,icon:[G6,K6,vS,X6,Q6]};bi.faMagnifyingGlass=bi.definition;bi.prefix=Y6;bi.iconName=$6;bi.width=G6;bi.height=K6;bi.ligatures=vS;bi.unicode=X6;bi.svgPathData=Q6;bi.aliases=vS});var Z6=Ue(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});var ao=J6();yi.definition={prefix:ao.prefix,iconName:ao.iconName,icon:[ao.width,ao.height,ao.aliases,ao.unicode,ao.svgPathData]};yi.faSearch=yi.definition;yi.prefix=ao.prefix;yi.iconName=ao.iconName;yi.width=ao.width;yi.height=ao.height;yi.ligatures=ao.aliases;yi.unicode=ao.unicode;yi.svgPathData=ao.svgPathData;yi.aliases=ao.aliases});var iA=Ue(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});var eA="fas",tA="yen-sign",rA=320,aA=512,_S=[165,"cny","jpy","rmb","yen"],nA="f157",oA="M58.6 46.3C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.8L100.2 224 48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 32-80 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l80 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-80 0 0-32 80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-52.2 0L314.6 81.8c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.3z";Si.definition={prefix:eA,iconName:tA,icon:[rA,aA,_S,nA,oA]};Si.faYenSign=Si.definition;Si.prefix=eA;Si.iconName=tA;Si.width=rA;Si.height=aA;Si.ligatures=_S;Si.unicode=nA;Si.svgPathData=oA;Si.aliases=_S});var pA=Ue(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});var lA="fas",sA="pen",uA=512,cA=512,gS=[128394],fA="f304",dA="M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z";wi.definition={prefix:lA,iconName:sA,icon:[uA,cA,gS,fA,dA]};wi.faPen=wi.definition;wi.prefix=lA;wi.iconName=sA;wi.width=uA;wi.height=cA;wi.ligatures=gS;wi.unicode=fA;wi.svgPathData=dA;wi.aliases=gS});var yA=Ue(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var hA="fas",mA="bars",vA=448,_A=512,bS=["navicon"],gA="f0c9",bA="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";Ci.definition={prefix:hA,iconName:mA,icon:[vA,_A,bS,gA,bA]};Ci.faBars=Ci.definition;Ci.prefix=hA;Ci.iconName=mA;Ci.width=vA;Ci.height=_A;Ci.ligatures=bS;Ci.unicode=gA;Ci.svgPathData=bA;Ci.aliases=bS});var EA=Ue(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});var SA="fas",wA="download",CA=512,xA=512,yS=[],kA="f019",TA="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";xi.definition={prefix:SA,iconName:wA,icon:[CA,xA,yS,kA,TA]};xi.faDownload=xi.definition;xi.prefix=SA;xi.iconName=wA;xi.width=CA;xi.height=xA;xi.ligatures=yS;xi.unicode=kA;xi.svgPathData=TA;xi.aliases=yS});var MA=Ue(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var RA="fas",DA="link",AA=640,LA=512,SS=[128279,"chain"],NA="f0c1",OA="M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z";ki.definition={prefix:RA,iconName:DA,icon:[AA,LA,SS,NA,OA]};ki.faLink=ki.definition;ki.prefix=RA;ki.iconName=DA;ki.width=AA;ki.height=LA;ki.ligatures=SS;ki.unicode=NA;ki.svgPathData=OA;ki.aliases=SS});var HA=Ue(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});var PA="fas",IA="link-slash",zA=640,BA=512,wS=["chain-broken","chain-slash","unlink"],FA="f127",jA="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z";Ti.definition={prefix:PA,iconName:IA,icon:[zA,BA,wS,FA,jA]};Ti.faLinkSlash=Ti.definition;Ti.prefix=PA;Ti.iconName=IA;Ti.width=zA;Ti.height=BA;Ti.ligatures=wS;Ti.unicode=FA;Ti.svgPathData=jA;Ti.aliases=wS});var GA=Ue(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});var UA="fas",VA="up-right-from-square",WA=512,qA=512,CS=["external-link-alt"],YA="f35d",$A="M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z";Ei.definition={prefix:UA,iconName:VA,icon:[WA,qA,CS,YA,$A]};Ei.faUpRightFromSquare=Ei.definition;Ei.prefix=UA;Ei.iconName=VA;Ei.width=WA;Ei.height=qA;Ei.ligatures=CS;Ei.unicode=YA;Ei.svgPathData=$A;Ei.aliases=CS});var KA=Ue(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});var no=GA();Ri.definition={prefix:no.prefix,iconName:no.iconName,icon:[no.width,no.height,no.aliases,no.unicode,no.svgPathData]};Ri.faExternalLinkAlt=Ri.definition;Ri.prefix=no.prefix;Ri.iconName=no.iconName;Ri.width=no.width;Ri.height=no.height;Ri.ligatures=no.aliases;Ri.unicode=no.unicode;Ri.svgPathData=no.svgPathData;Ri.aliases=no.aliases});var r8=Ue(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});var XA="fas",QA="gear",JA=512,ZA=512,xS=[9881,"cog"],e8="f013",t8="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z";Di.definition={prefix:XA,iconName:QA,icon:[JA,ZA,xS,e8,t8]};Di.faGear=Di.definition;Di.prefix=XA;Di.iconName=QA;Di.width=JA;Di.height=ZA;Di.ligatures=xS;Di.unicode=e8;Di.svgPathData=t8;Di.aliases=xS});var u8=Ue(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});var a8="fas",n8="plus",o8=448,i8=512,kS=[10133,61543,"add"],l8="2b",s8="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z";Ai.definition={prefix:a8,iconName:n8,icon:[o8,i8,kS,l8,s8]};Ai.faPlus=Ai.definition;Ai.prefix=a8;Ai.iconName=n8;Ai.width=o8;Ai.height=i8;Ai.ligatures=kS;Ai.unicode=l8;Ai.svgPathData=s8;Ai.aliases=kS});var v8=Ue(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});var c8="fas",f8="minus",d8=448,p8=512,TS=[8211,8722,10134,"subtract"],h8="f068",m8="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";Li.definition={prefix:c8,iconName:f8,icon:[d8,p8,TS,h8,m8]};Li.faMinus=Li.definition;Li.prefix=c8;Li.iconName=f8;Li.width=d8;Li.height=p8;Li.ligatures=TS;Li.unicode=h8;Li.svgPathData=m8;Li.aliases=TS});var C8=Ue(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});var _8="fas",g8="ellipsis",b8=448,y8=512,ES=["ellipsis-h"],S8="f141",w8="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z";Ni.definition={prefix:_8,iconName:g8,icon:[b8,y8,ES,S8,w8]};Ni.faEllipsis=Ni.definition;Ni.prefix=_8;Ni.iconName=g8;Ni.width=b8;Ni.height=y8;Ni.ligatures=ES;Ni.unicode=S8;Ni.svgPathData=w8;Ni.aliases=ES});var x8=Ue(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});var oo=C8();Oi.definition={prefix:oo.prefix,iconName:oo.iconName,icon:[oo.width,oo.height,oo.aliases,oo.unicode,oo.svgPathData]};Oi.faEllipsisH=Oi.definition;Oi.prefix=oo.prefix;Oi.iconName=oo.iconName;Oi.width=oo.width;Oi.height=oo.height;Oi.ligatures=oo.aliases;Oi.unicode=oo.unicode;Oi.svgPathData=oo.svgPathData;Oi.aliases=oo.aliases});var L8=Ue(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var k8="fas",T8="ellipsis-vertical",E8=128,R8=512,RS=["ellipsis-v"],D8="f142",A8="M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z";Mi.definition={prefix:k8,iconName:T8,icon:[E8,R8,RS,D8,A8]};Mi.faEllipsisVertical=Mi.definition;Mi.prefix=k8;Mi.iconName=T8;Mi.width=E8;Mi.height=R8;Mi.ligatures=RS;Mi.unicode=D8;Mi.svgPathData=A8;Mi.aliases=RS});var N8=Ue(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});var io=L8();Pi.definition={prefix:io.prefix,iconName:io.iconName,icon:[io.width,io.height,io.aliases,io.unicode,io.svgPathData]};Pi.faEllipsisV=Pi.definition;Pi.prefix=io.prefix;Pi.iconName=io.iconName;Pi.width=io.width;Pi.height=io.height;Pi.ligatures=io.aliases;Pi.unicode=io.unicode;Pi.svgPathData=io.svgPathData;Pi.aliases=io.aliases});var F8=Ue(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var O8="fas",M8="star",P8=576,I8=512,DS=[11088,61446],z8="f005",B8="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z";Ii.definition={prefix:O8,iconName:M8,icon:[P8,I8,DS,z8,B8]};Ii.faStar=Ii.definition;Ii.prefix=O8;Ii.iconName=M8;Ii.width=P8;Ii.height=I8;Ii.ligatures=DS;Ii.unicode=z8;Ii.svgPathData=B8;Ii.aliases=DS});var Y8=Ue(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});var j8="fas",H8="paper-plane",U8=512,V8=512,AS=[61913],W8="f1d8",q8="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";zi.definition={prefix:j8,iconName:H8,icon:[U8,V8,AS,W8,q8]};zi.faPaperPlane=zi.definition;zi.prefix=j8;zi.iconName=H8;zi.width=U8;zi.height=V8;zi.ligatures=AS;zi.unicode=W8;zi.svgPathData=q8;zi.aliases=AS});var Z8=Ue(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});var $8="fas",G8="heart",K8=512,X8=512,LS=[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],Q8="f004",J8="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z";Bi.definition={prefix:$8,iconName:G8,icon:[K8,X8,LS,Q8,J8]};Bi.faHeart=Bi.definition;Bi.prefix=$8;Bi.iconName=G8;Bi.width=K8;Bi.height=X8;Bi.ligatures=LS;Bi.unicode=Q8;Bi.svgPathData=J8;Bi.aliases=LS});var iL=Ue(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var eL="fas",tL="ban",rL=512,aL=512,NS=[128683,"cancel"],nL="f05e",oL="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";Fi.definition={prefix:eL,iconName:tL,icon:[rL,aL,NS,nL,oL]};Fi.faBan=Fi.definition;Fi.prefix=eL;Fi.iconName=tL;Fi.width=rL;Fi.height=aL;Fi.ligatures=NS;Fi.unicode=nL;Fi.svgPathData=oL;Fi.aliases=NS});var pL=Ue(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});var lL="fas",sL="location-crosshairs",uL=512,cL=512,OS=["location"],fL="f601",dL="M256 0c17.7 0 32 14.3 32 32l0 34.7C368.4 80.1 431.9 143.6 445.3 224l34.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-34.7 0C431.9 368.4 368.4 431.9 288 445.3l0 34.7c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.7C143.6 431.9 80.1 368.4 66.7 288L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l34.7 0C80.1 143.6 143.6 80.1 224 66.7L224 32c0-17.7 14.3-32 32-32zM128 256a128 128 0 1 0 256 0 128 128 0 1 0 -256 0zm128-80a80 80 0 1 1 0 160 80 80 0 1 1 0-160z";ji.definition={prefix:lL,iconName:sL,icon:[uL,cL,OS,fL,dL]};ji.faLocationCrosshairs=ji.definition;ji.prefix=lL;ji.iconName=sL;ji.width=uL;ji.height=cL;ji.ligatures=OS;ji.unicode=fL;ji.svgPathData=dL;ji.aliases=OS});var yL=Ue(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var hL="far",mL="user",vL=448,_L=512,MS=[128100,62144],gL="f007",bL="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z";Hi.definition={prefix:hL,iconName:mL,icon:[vL,_L,MS,gL,bL]};Hi.faUser=Hi.definition;Hi.prefix=hL;Hi.iconName=mL;Hi.width=vL;Hi.height=_L;Hi.ligatures=MS;Hi.unicode=gL;Hi.svgPathData=bL;Hi.aliases=MS});var EL=Ue(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var SL="far",wL="circle-check",CL=512,xL=512,PS=[61533,"check-circle"],kL="f058",TL="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";Ui.definition={prefix:SL,iconName:wL,icon:[CL,xL,PS,kL,TL]};Ui.faCircleCheck=Ui.definition;Ui.prefix=SL;Ui.iconName=wL;Ui.width=CL;Ui.height=xL;Ui.ligatures=PS;Ui.unicode=kL;Ui.svgPathData=TL;Ui.aliases=PS});var RL=Ue(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var lo=EL();Vi.definition={prefix:lo.prefix,iconName:lo.iconName,icon:[lo.width,lo.height,lo.aliases,lo.unicode,lo.svgPathData]};Vi.faCheckCircle=Vi.definition;Vi.prefix=lo.prefix;Vi.iconName=lo.iconName;Vi.width=lo.width;Vi.height=lo.height;Vi.ligatures=lo.aliases;Vi.unicode=lo.unicode;Vi.svgPathData=lo.svgPathData;Vi.aliases=lo.aliases});var PL=Ue(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});var DL="far",AL="circle-question",LL=512,NL=512,IS=[62108,"question-circle"],OL="f059",ML="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";Wi.definition={prefix:DL,iconName:AL,icon:[LL,NL,IS,OL,ML]};Wi.faCircleQuestion=Wi.definition;Wi.prefix=DL;Wi.iconName=AL;Wi.width=LL;Wi.height=NL;Wi.ligatures=IS;Wi.unicode=OL;Wi.svgPathData=ML;Wi.aliases=IS});var IL=Ue(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var so=PL();qi.definition={prefix:so.prefix,iconName:so.iconName,icon:[so.width,so.height,so.aliases,so.unicode,so.svgPathData]};qi.faQuestionCircle=qi.definition;qi.prefix=so.prefix;qi.iconName=so.iconName;qi.width=so.width;qi.height=so.height;qi.ligatures=so.aliases;qi.unicode=so.unicode;qi.svgPathData=so.svgPathData;qi.aliases=so.aliases});var VL=Ue(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var zL="far",BL="pen-to-square",FL=512,jL=512,zS=["edit"],HL="f044",UL="M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152V424c0 48.6 39.4 88 88 88H360c48.6 0 88-39.4 88-88V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V424c0 22.1-17.9 40-40 40H88c-22.1 0-40-17.9-40-40V152c0-22.1 17.9-40 40-40H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H88z";Yi.definition={prefix:zL,iconName:BL,icon:[FL,jL,zS,HL,UL]};Yi.faPenToSquare=Yi.definition;Yi.prefix=zL;Yi.iconName=BL;Yi.width=FL;Yi.height=jL;Yi.ligatures=zS;Yi.unicode=HL;Yi.svgPathData=UL;Yi.aliases=zS});var WL=Ue($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});var uo=VL();$i.definition={prefix:uo.prefix,iconName:uo.iconName,icon:[uo.width,uo.height,uo.aliases,uo.unicode,uo.svgPathData]};$i.faEdit=$i.definition;$i.prefix=uo.prefix;$i.iconName=uo.iconName;$i.width=uo.width;$i.height=uo.height;$i.ligatures=uo.aliases;$i.unicode=uo.unicode;$i.svgPathData=uo.svgPathData;$i.aliases=uo.aliases});var QL=Ue(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});var qL="far",YL="copy",$L=448,GL=512,BS=[],KL="f0c5",XL="M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z";Gi.definition={prefix:qL,iconName:YL,icon:[$L,GL,BS,KL,XL]};Gi.faCopy=Gi.definition;Gi.prefix=qL;Gi.iconName=YL;Gi.width=$L;Gi.height=GL;Gi.ligatures=BS;Gi.unicode=KL;Gi.svgPathData=XL;Gi.aliases=BS});var nN=Ue(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});var JL="far",ZL="file",eN=384,tN=512,FS=[128196,128459,61462],rN="f15b",aN="M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z";Ki.definition={prefix:JL,iconName:ZL,icon:[eN,tN,FS,rN,aN]};Ki.faFile=Ki.definition;Ki.prefix=JL;Ki.iconName=ZL;Ki.width=eN;Ki.height=tN;Ki.ligatures=FS;Ki.unicode=rN;Ki.svgPathData=aN;Ki.aliases=FS});var fN=Ue(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var oN="far",iN="trash-can",lN=448,sN=512,jS=[61460,"trash-alt"],uN="f2ed",cN="M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z";Xi.definition={prefix:oN,iconName:iN,icon:[lN,sN,jS,uN,cN]};Xi.faTrashCan=Xi.definition;Xi.prefix=oN;Xi.iconName=iN;Xi.width=lN;Xi.height=sN;Xi.ligatures=jS;Xi.unicode=uN;Xi.svgPathData=cN;Xi.aliases=jS});var dN=Ue(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var co=fN();Qi.definition={prefix:co.prefix,iconName:co.iconName,icon:[co.width,co.height,co.aliases,co.unicode,co.svgPathData]};Qi.faTrashAlt=Qi.definition;Qi.prefix=co.prefix;Qi.iconName=co.iconName;Qi.width=co.width;Qi.height=co.height;Qi.ligatures=co.aliases;Qi.unicode=co.unicode;Qi.svgPathData=co.svgPathData;Qi.aliases=co.aliases});var bN=Ue(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var pN="far",hN="image",mN=512,vN=512,HS=[],_N="f03e",gN="M448 80c8.8 0 16 7.2 16 16V415.8l-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3V96c0-8.8 7.2-16 16-16H448zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";Ji.definition={prefix:pN,iconName:hN,icon:[mN,vN,HS,_N,gN]};Ji.faImage=Ji.definition;Ji.prefix=pN;Ji.iconName=hN;Ji.width=mN;Ji.height=vN;Ji.ligatures=HS;Ji.unicode=_N;Ji.svgPathData=gN;Ji.aliases=HS});var G7=Ue(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var U7="fas",V7="eye",W7=576,q7=512,aw=[128065],Y7="f06e",$7="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:U7,iconName:V7,icon:[W7,q7,aw,Y7,$7]};tl.faEye=tl.definition;tl.prefix=U7;tl.iconName=V7;tl.width=W7;tl.height=q7;tl.ligatures=aw;tl.unicode=Y7;tl.svgPathData=$7;tl.aliases=aw});var iO=Ue(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var eO="fas",tO="clock",rO=512,aO=512,lw=[128339,"clock-four"],nO="f017",oO="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z";rl.definition={prefix:eO,iconName:tO,icon:[rO,aO,lw,nO,oO]};rl.faClock=rl.definition;rl.prefix=eO;rl.iconName=tO;rl.width=rO;rl.height=aO;rl.ligatures=lw;rl.unicode=nO;rl.svgPathData=oO;rl.aliases=lw});var pO=Ue(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});var lO="fas",sO="calendar-days",uO=448,cO=512,sw=["calendar-alt"],fO="f073",dO="M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z";al.definition={prefix:lO,iconName:sO,icon:[uO,cO,sw,fO,dO]};al.faCalendarDays=al.definition;al.prefix=lO;al.iconName=sO;al.width=uO;al.height=cO;al.ligatures=sw;al.unicode=fO;al.svgPathData=dO;al.aliases=sw});var hO=Ue(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});var fo=pO();nl.definition={prefix:fo.prefix,iconName:fo.iconName,icon:[fo.width,fo.height,fo.aliases,fo.unicode,fo.svgPathData]};nl.faCalendarAlt=nl.definition;nl.prefix=fo.prefix;nl.iconName=fo.iconName;nl.width=fo.width;nl.height=fo.height;nl.ligatures=fo.aliases;nl.unicode=fo.unicode;nl.svgPathData=fo.svgPathData;nl.aliases=fo.aliases});var NO=Ue(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});var TO="fas",EO="cloud-arrow-up",RO=640,DO=512,pw=[62338,"cloud-upload","cloud-upload-alt"],AO="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 128l-368 0zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39L296 392c0 13.3 10.7 24 24 24s24-10.7 24-24l0-134.1 39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z";ol.definition={prefix:TO,iconName:EO,icon:[RO,DO,pw,AO,LO]};ol.faCloudArrowUp=ol.definition;ol.prefix=TO;ol.iconName=EO;ol.width=RO;ol.height=DO;ol.ligatures=pw;ol.unicode=AO;ol.svgPathData=LO;ol.aliases=pw});var t9=Ue(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var KO="fas",XO="grip-vertical",QO=320,JO=512,yw=[],ZO="f58e",e9="M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z";ll.definition={prefix:KO,iconName:XO,icon:[QO,JO,yw,ZO,e9]};ll.faGripVertical=ll.definition;ll.prefix=KO;ll.iconName=XO;ll.width=QO;ll.height=JO;ll.ligatures=yw;ll.unicode=ZO;ll.svgPathData=e9;ll.aliases=yw});var u9=Ue(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var a9="fas",n9="filter",o9=512,i9=512,Cw=[],l9="f0b0",s9="M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z";sl.definition={prefix:a9,iconName:n9,icon:[o9,i9,Cw,l9,s9]};sl.faFilter=sl.definition;sl.prefix=a9;sl.iconName=n9;sl.width=o9;sl.height=i9;sl.ligatures=Cw;sl.unicode=l9;sl.svgPathData=s9;sl.aliases=Cw});var y9=Ue(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});var h9="fas",m9="palette",v9=512,_9=512,kw=[127912],g9="f53f",b9="M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";ul.definition={prefix:h9,iconName:m9,icon:[v9,_9,kw,g9,b9]};ul.faPalette=ul.definition;ul.prefix=h9;ul.iconName=m9;ul.width=v9;ul.height=_9;ul.ligatures=kw;ul.unicode=g9;ul.svgPathData=b9;ul.aliases=kw});var E9=Ue(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});var S9="fas",w9="bars-staggered",C9=512,x9=512,Tw=["reorder","stream"],k9="f550",T9="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";cl.definition={prefix:S9,iconName:w9,icon:[C9,x9,Tw,k9,T9]};cl.faBarsStaggered=cl.definition;cl.prefix=S9;cl.iconName=w9;cl.width=C9;cl.height=x9;cl.ligatures=Tw;cl.unicode=k9;cl.svgPathData=T9;cl.aliases=Tw});var M9=Ue(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});var R9="fas",D9="rotate-left",A9=512,L9=512,Ew=["rotate-back","rotate-backward","undo-alt"],N9="f2ea",O9="M48.5 224L40 224c-13.3 0-24-10.7-24-24L16 72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8L48.5 224z";fl.definition={prefix:R9,iconName:D9,icon:[A9,L9,Ew,N9,O9]};fl.faRotateLeft=fl.definition;fl.prefix=R9;fl.iconName=D9;fl.width=A9;fl.height=L9;fl.ligatures=Ew;fl.unicode=N9;fl.svgPathData=O9;fl.aliases=Ew});var H9=Ue(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var P9="fas",I9="rotate-right",z9=512,B9=512,Rw=["redo-alt","rotate-forward"],F9="f2f9",j9="M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z";dl.definition={prefix:P9,iconName:I9,icon:[z9,B9,Rw,F9,j9]};dl.faRotateRight=dl.definition;dl.prefix=P9;dl.iconName=I9;dl.width=z9;dl.height=B9;dl.ligatures=Rw;dl.unicode=F9;dl.svgPathData=j9;dl.aliases=Rw});var Mw=Ue(()=>{"use strict"});var Pw=Ue(()=>{"use strict"});var X9=K(Zk()),Os=K(XT()),zg=K(cr()),Iw=K(tr());var Fr={};Ed(Fr,{$$fromRoot:()=>mt,Accordion:()=>JS,Anchor:()=>ff,Box:()=>X,Button:()=>it,ColorObjects:()=>qh,Column:()=>ar,Config:()=>ht,Cropper:()=>Aw,DarkmodeColors:()=>K9,Effect:()=>pu,ExtractStyles:()=>Al,FAI:()=>Ne,Flex:()=>At,FlexBr:()=>w7,GenerateHTMLProps:()=>xo,Grid:()=>Ud,Img:()=>ks,Input:()=>_a,Label:()=>dg,LaunchReactApp:()=>Pg,LeftIcon:()=>qd,LeftIndicator:()=>_g,LinkifyText:()=>z7,List:()=>B7,ListItem:()=>Yd,Loader:()=>Eo,Logo:()=>Ts,OmitSign:()=>vg,P:()=>S7,PageNotFound:()=>$9,PageViewController:()=>N7,Placeholder:()=>y7,Plate:()=>T7,ReadStyleSet:()=>nm,RequiredShortSign:()=>mg,RequiredSign:()=>hg,RightIcon:()=>Ba,RightIndicator:()=>gg,RootViewController:()=>Rs,Row:()=>vt,SetThemeColorTag:()=>Wh,Sheet:()=>hr,Snackbar:()=>rs,Span:()=>Sn,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Og,Text:()=>nr,ThemeColors:()=>Nw,Tips:()=>_u,Tooltips:()=>Na,amotify:()=>F$,default:()=>F$,pageRouter:()=>Mn,useRefresh:()=>kl,useRouterEffect:()=>Mg});var WW=Object.defineProperty,qW=Object.defineProperties,YW=Object.getOwnPropertyDescriptors,j_=Object.getOwnPropertySymbols,n5=Object.prototype.hasOwnProperty,o5=Object.prototype.propertyIsEnumerable,i5=Math.pow,a5=(r,a,o)=>a in r?WW(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,_=(r,a)=>{for(var o in a||(a={}))n5.call(a,o)&&a5(r,o,a[o]);if(j_)for(var o of j_(a))o5.call(a,o)&&a5(r,o,a[o]);return r},T=(r,a)=>qW(r,YW(a)),Ge=(r,a)=>{var o={};for(var l in r)n5.call(r,l)&&a.indexOf(l)<0&&(o[l]=r[l]);if(r!=null&&j_)for(var l of j_(r))a.indexOf(l)<0&&o5.call(r,l)&&(o[l]=r[l]);return o},Aa=(r,a,o)=>new Promise((l,s)=>{var f=p=>{try{h(o.next(p))}catch(m){s(m)}},c=p=>{try{h(o.throw(p))}catch(m){s(m)}},h=p=>p.done?l(p.value):Promise.resolve(p.value).then(f,c);h((o=o.apply(r,a)).next())});var Ow={};Ed(Ow,{$$fromRoot:()=>mt,ColorObjects:()=>qh,Config:()=>ht,DarkmodeColors:()=>K9,ExtractStyles:()=>Al,GenerateHTMLProps:()=>xo,LaunchReactApp:()=>Pg,ReadStyleSet:()=>nm,SetThemeColorTag:()=>Wh,ThemeColors:()=>Nw,pageRouter:()=>Mn,useRefresh:()=>kl,useRouterEffect:()=>Mg});var xl=K(tr());var Co={sessionUID:(0,xl.UUID)(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(r=834)=>window.innerWidth<=r,isPhonepoint:(r=690)=>window.innerWidth<=r}},ht={get:()=>Co,set:r=>{Co=_(_({},Co),r)},update:{themeColor:r=>{if(qh.find(o=>o.key==r)||(r="comun"),r==ht.get().themeColor)return;ht.set(T(_({},ht.get()),{themeColor:r}));let a=(0,xl.default)(document.body);a.removeClass(a.findClass(/^bdsTC/)).addClass("bdsTC_"+r).callback(()=>{Wh()}),ht.restart()},darkMode:r=>{if(["light","dark","dim","auto"].includes(r)||(r="light"),r==ht.get().darkMode)return;let a=r=="auto"?ht.get().isSystemDarkmode()?"dark":"light":r;ht.set(T(_({},ht.get()),{darkMode:a}));let o=(0,xl.default)(document.body);o.removeClass(o.findClass(/^bdsDM/)).addClass("bdsDM_"+a),ht.restart()},roundness:r=>{r>=0&&r<=5||(r=2),r!=ht.get().roundness&&(ht.set(T(_({},ht.get()),{roundness:r})),ht.restart())},screen:r=>{ht.get().screen=_(_({},ht.get().screen),r)}},launch:r=>{let a=window.navigator.userAgent.toLowerCase(),o=a.indexOf("windows nt")!==-1?"windows":a.indexOf("android")!==-1?"android":a.indexOf("iphone")!==-1?"iPhone":a.indexOf("ipad")>-1?"iPad":a.indexOf("mac os x")!==-1?"macOSX":"undefined",l=a.indexOf("msie")!==-1||a.indexOf("trident")!==-1?"ie":a.indexOf("edge")!==-1?"edge":a.indexOf("chrome")!==-1?"chrome":a.indexOf("safari")!==-1?"safari":a.indexOf("firefox")!==-1?"firefox":a.indexOf("opera")!==-1||a.indexOf("opr")!==-1?"opera":"undefined";Co.appRoot=r.appRoot||document.body,Co.appRoot instanceof HTMLElement&&(Co.appRoot.tabIndex=0),xl.default.is.exist(r.roundness)&&ht.update.roundness(r.roundness),xl.default.is.exist(r.themeColor)&&ht.update.themeColor(r.themeColor),xl.default.is.exist(r.darkMode)&&ht.update.darkMode(r.darkMode),Co.deviceIs=o,Co.browserIs=l,Co.isPhone=["Android","iPhone"].includes(o),Co.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Co.isIOS=["iPhone","iPad"].includes(o),Co.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,Co.isIOS=["iPhone","iPad"].includes(o),Co.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(s=834)=>window.innerWidth<=s,isPhonepoint:(s=690)=>window.innerWidth<=s},(0,xl.default)(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+ht.get().deviceIs,"bdsDM_"+ht.get().darkMode,"bdsTC_"+ht.get().themeColor]),(0,xl.default)(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let s=document.body.style,f=(0,xl.default)(document.body),c=Number(f.getStyleProperty("--topNavHeight").removeLetters()||0),h=Number(f.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:()=>{ht.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let s=(0,xl.default)(document.body),f=window.innerHeight,c=Number(s.getStyleProperty("--topNavHeight").removeLetters()),h=Number(s.getStyleProperty("--footerNavHeight").removeLetters()),p=f-c-h;s.setStyleProperty("--viewHeight",f+"px").setStyleProperty("--sideNavHeight",p+"px").setStyleProperty("--contentHeight",p+"px")}}),Wh()},restart:()=>{kl.release("RootViewController_"+ht.get().sessionUID)}};var Vo=K(tr()),Od=K(cr()),kl={catch:r=>{let[a]=(0,Od.useState)((0,Vo.UUID)()),[o,l]=(0,Od.useState)((0,Vo.UUID)()),[s,f]=(0,Od.useState)(null),c="RefreshKey_"+a;return(0,Od.useEffect)(()=>{var h;Vo.useStore.set({[c]:m=>{l((0,Vo.UUID)()),f(m||null)}});let p=((h=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:h.keys)||[];return p=[...p,a],Vo.useStore.update({["RefreshKeys_"+r]:{keys:p}}),()=>{var m;Vo.useStore.delete(c);let g=((m=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:m.keys)||[],b=g.indexOf(a);b!==-1&&(g.splice(b,1),Vo.useStore.update({["RefreshKeys_"+r]:{keys:g}}))}},[]),s},release:(r,a)=>{var o;let l=((o=Vo.useStore.get("RefreshKeys_"+r))==null?void 0:o.keys)||[];if(l&&l.length)for(let s of l){let f=Vo.useStore.get("RefreshKey_"+s);f&&f(a)}}};var bc=K(cr());var Lw={};Ed(Lw,{Anchor:()=>ff,Button:()=>it,Cropper:()=>Aw,Effect:()=>pu,Input:()=>_a,Label:()=>dg,LeftIcon:()=>qd,LeftIndicator:()=>_g,Loader:()=>Eo,OmitSign:()=>vg,PageNotFound:()=>$9,PageViewController:()=>N7,Plate:()=>T7,RequiredShortSign:()=>mg,RequiredSign:()=>hg,RightIcon:()=>Ba,RightIndicator:()=>gg,RootViewController:()=>Rs,Sheet:()=>hr,Snackbar:()=>rs,SwipeView:()=>O7,TabBar:()=>qO,Table:()=>Og,Tips:()=>_u,Tooltips:()=>Na});var El=K(Dt()),dc=K(cr()),wn=K(tr());var YS={};Ed(YS,{Box:()=>X,Column:()=>ar,FAI:()=>Ne,Flex:()=>At,FlexBr:()=>w7,Grid:()=>Ud,Img:()=>ks,Logo:()=>Ts,P:()=>S7,Placeholder:()=>y7,Span:()=>Sn});var cf=K(Dt());var u5=K(Dt());var X=r=>{let a=xo(r),{htmlTag:o}=a,l=Ge(a,["htmlTag"]),s=o||"div";return s?(0,u5.jsx)(s,_({},l)):null};var Pt=K(Dt());var yN=K(LE()),SN=K(FE()),wN=K(YE()),CN=K(ZE()),xN=K(iR()),kN=K(pR()),TN=K(yR()),EN=K(ER()),RN=K(MR()),DN=K(HR()),AN=K(GR()),LN=K(tD()),NN=K(sD()),ON=K(mD()),MN=K(wD()),PN=K(aS()),IN=K(oS()),zN=K(lS()),BN=K($D()),FN=K(t6()),jN=K(s6()),HN=K(m6()),UN=K(w6()),VN=K(A6()),WN=K(B6()),qN=K(q6()),YN=K(Z6()),$N=K(iA()),GN=K(pA()),KN=K(yA()),XN=K(EA()),QN=K(MA()),JN=K(HA()),ZN=K(KA()),e7=K(r8()),t7=K(u8()),r7=K(v8()),a7=K(x8()),n7=K(N8()),o7=K(F8()),i7=K(Y8()),l7=K(Z8()),s7=K(iL()),u7=K(pL()),c7=K(yL()),f7=K(RL()),d7=K(IL()),p7=K(WL()),h7=K(QL()),m7=K(nN()),v7=K(dN()),_7=K(bN()),Bt=r=>{let a=r,{icon:o}=a,l=Ge(a,["icon"]),s=xo(l);return(0,Pt.jsx)(yN.FontAwesomeIcon,T(_({icon:o,size:"1x"},s),{style:_({aspectRatio:"1"},s==null?void 0:s.style)}))},Ne=Bt;Ne.User=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:c7.faUser})),Ne.Times=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:SN.faTimes})),Ne.AngleRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:wN.faAngleRight})),Ne.AngleLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:CN.faAngleLeft})),Ne.AngleUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:xN.faAngleUp})),Ne.AngleDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:kN.faAngleDown})),Ne.ChevronLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:TN.faChevronLeft})),Ne.ChevronRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:EN.faChevronRight})),Ne.ChevronUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:RN.faChevronUp})),Ne.ChevronDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:DN.faChevronDown})),Ne.CaretLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:AN.faCaretLeft})),Ne.CaretRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:LN.faCaretRight})),Ne.CaretUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:NN.faCaretUp})),Ne.CaretDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:ON.faCaretDown})),Ne.ArrowLeft=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:MN.faArrowLeft})),Ne.ArrowRight=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:PN.faArrowRight})),Ne.ArrowUp=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:IN.faArrowUp})),Ne.ArrowDown=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:zN.faArrowDown})),Ne.Rotate=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:BN.faRotate})),Ne.Redo=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:FN.faRedo})),Ne.Check=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:jN.faCheck})),Ne.CheckCircle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:f7.faCheckCircle})),Ne.Question=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:HN.faQuestion})),Ne.QuestionCircle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:d7.faQuestionCircle})),Ne.Exclamation=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:UN.faExclamation})),Ne.ExclamationTriangle=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:VN.faExclamationTriangle})),Ne.Home=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:WN.faHome})),Ne.Share=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:qN.faShare})),Ne.Search=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:YN.faSearch})),Ne.YenSign=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:$N.faYenSign})),Ne.Heart=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:l7.faHeart})),Ne.Star=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:o7.faStar})),Ne.Edit=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:p7.faEdit})),Ne.Pen=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:GN.faPen})),Ne.Copy=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:h7.faCopy})),Ne.File=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:m7.faFile})),Ne.TrashAlt=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:v7.faTrashAlt})),Ne.Bars=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:KN.faBars})),Ne.Download=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:XN.faDownload})),Ne.Link=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:QN.faLink})),Ne.LinkSlash=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:JN.faLinkSlash})),Ne.ExternalLinkAlt=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:ZN.faExternalLinkAlt})),Ne.Gear=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:e7.faGear})),Ne.Plus=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:t7.faPlus})),Ne.Minus=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:r7.faMinus})),Ne.EllipsisH=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:a7.faEllipsisH})),Ne.EllipsisV=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:n7.faEllipsisV})),Ne.PaperPlane=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:i7.faPaperPlane})),Ne.Image=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:_7.faImage})),Ne.Ban=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:s7.faBan})),Ne.Location=r=>(0,Pt.jsx)(Bt,T(_({},r),{icon:u7.faLocationCrosshairs}));var g7=K(Dt());var UY={Img:"_Img_1egfu_1",ShowExpand_true:"_ShowExpand_true_1egfu_11"},VY={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"},WY={Placeholder:"_Placeholder_rl2bi_14",Body:"_Body_rl2bi_14",PlaceholderEffect:"_PlaceholderEffect_rl2bi_1",Color_white:"_Color_white_rl2bi_25"},qY={Wrap:"_Wrap_13krz_1",Open_true:"_Open_true_13krz_1",Open_false:"_Open_false_13krz_4"},YY={Wrapper:"_Wrapper_1s842_1",Cell:"_Cell_1s842_9",FadeIn:"_FadeIn_1s842_13",FadeOut:"_FadeOut_1s842_17"},$Y={BodyEffect:"_BodyEffect_ii9uf_1",Wrapper:"_Wrapper_ii9uf_9",Wrap:"_Wrap_ii9uf_9",Content:"_Content_ii9uf_16",TapSensor:"_TapSensor_ii9uf_35",TapContent:"_TapContent_ii9uf_45",Hide:"_Hide_ii9uf_52",Open:"_Open_ii9uf_55",isMainSheet_true:"_isMainSheet_true_ii9uf_55",isMainSheet_false:"_isMainSheet_false_ii9uf_61",BB:"_BB_ii9uf_61",Tcate_normal:"_Tcate_normal_ii9uf_64",BaseBody:"_BaseBody_ii9uf_68",Tcate_drawer:"_Tcate_drawer_ii9uf_83",Tpos_left:"_Tpos_left_ii9uf_83",Tpos_right:"_Tpos_right_ii9uf_98",Tpos_bottom:"_Tpos_bottom_ii9uf_113",DragBar:"_DragBar_ii9uf_120",Tcate_custom:"_Tcate_custom_ii9uf_128",CustomSheet:"_CustomSheet_ii9uf_136",GPT:"_GPT_ii9uf_139",Col_1:"_Col_1_ii9uf_139",Row_1:"_Row_1_ii9uf_139",Row_4:"_Row_4_ii9uf_139",Col_4:"_Col_4_ii9uf_139",Row_2:"_Row_2_ii9uf_142",Row_5:"_Row_5_ii9uf_142",Col_2:"_Col_2_ii9uf_145",Col_5:"_Col_5_ii9uf_145",GPT_3:"_GPT_3_ii9uf_151",GPT_18:"_GPT_18_ii9uf_151",GPT_8:"_GPT_8_ii9uf_154",GPT_23:"_GPT_23_ii9uf_154",GPT_11:"_GPT_11_ii9uf_157",GPT_14:"_GPT_14_ii9uf_157",GPT_12:"_GPT_12_ii9uf_160",GPT_15:"_GPT_15_ii9uf_160",Col_3:"_Col_3_ii9uf_170"},GY={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"},KY={RootViewController:"_RootViewController_czfgs_2",Content:"_Content_czfgs_7",TopNav:"_TopNav_czfgs_11",FooterNav:"_FooterNav_czfgs_14",Body:"_Body_czfgs_17",SideNav:"_SideNav_czfgs_17",SwipeView:"_SwipeView_czfgs_24",Rail:"_Rail_czfgs_24",ShowOther_true:"_ShowOther_true_czfgs_24",Child:"_Child_czfgs_24",Display:"_Display_czfgs_32",LoopAdjusting:"_LoopAdjusting_czfgs_36"},XY={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"},QY={RippleElement:"_RippleElement_17vcx_1",Color_cloud:"_Color_cloud_17vcx_7",RippleWrap:"_RippleWrap_17vcx_7",Wave:"_Wave_17vcx_7",Color_theme:"_Color_theme_17vcx_10",PuddingEffect:"_PuddingEffect_17vcx_39",pdAnm:"_pdAnm_17vcx_1"},JY={Wrap:"_Wrap_8x4zl_1",Use_profile:"_Use_profile_8x4zl_4",Use_head:"_Use_head_8x4zl_7",Canvas:"_Canvas_8x4zl_11",Preview:"_Preview_8x4zl_17",ToneBall:"_ToneBall_8x4zl_21",ToneBall_1:"_ToneBall_1_8x4zl_25",ToneBall_2:"_ToneBall_2_8x4zl_28",ToneBall_3:"_ToneBall_3_8x4zl_31",ToneBall_4:"_ToneBall_4_8x4zl_34",ToneBall_5:"_ToneBall_5_8x4zl_37",ToneBall_6:"_ToneBall_6_8x4zl_40",ToneBall_7:"_ToneBall_7_8x4zl_43",ToneBall_8:"_ToneBall_8_8x4zl_46",ToneBall_9:"_ToneBall_9_8x4zl_49",ToneBall_10:"_ToneBall_10_8x4zl_52"},ZY={Wrap:"_Wrap_kr7qs_1",isLocked_true:"_isLocked_true_kr7qs_16",Tone_sub_Color_theme:"_Tone_sub_Color_theme_kr7qs_21",Tone_clear_Color_theme:"_Tone_clear_Color_theme_kr7qs_21",Tone_sub_Color_posi:"_Tone_sub_Color_posi_kr7qs_24",Tone_clear_Color_posi:"_Tone_clear_Color_posi_kr7qs_24",Tone_sub_Color_nega:"_Tone_sub_Color_nega_kr7qs_27",Tone_clear_Color_nega:"_Tone_clear_Color_nega_kr7qs_27",Tone_sub_Color_warn:"_Tone_sub_Color_warn_kr7qs_30",Tone_clear_Color_warn:"_Tone_clear_Color_warn_kr7qs_30",Tone_sub_Color_white:"_Tone_sub_Color_white_kr7qs_33",Tone_clear_Color_white:"_Tone_clear_Color_white_kr7qs_33",Tone_sub_Color_cloud:"_Tone_sub_Color_cloud_kr7qs_36",Tone_clear_Color_cloud:"_Tone_clear_Color_cloud_kr7qs_36",Tone_sub_Color_layer:"_Tone_sub_Color_layer_kr7qs_39",Tone_clear_Color_layer:"_Tone_clear_Color_layer_kr7qs_39",isNeutral_true:"_isNeutral_true_kr7qs_43",Tone_clear:"_Tone_clear_kr7qs_21",Tone_borderToFill:"_Tone_borderToFill_kr7qs_46",Tone_fillToBorder:"_Tone_fillToBorder_kr7qs_49",Tone_fillToBorder_Color_white:"_Tone_fillToBorder_Color_white_kr7qs_52",Tone_fillToBorder_Color_cloud:"_Tone_fillToBorder_Color_cloud_kr7qs_52",Tone_link:"_Tone_link_kr7qs_55",Tone_normal_Color_plain:"_Tone_normal_Color_plain_kr7qs_62",Tone_normal_Color_theme:"_Tone_normal_Color_theme_kr7qs_66",Tone_normal_Color_posi:"_Tone_normal_Color_posi_kr7qs_70",Tone_normal_Color_nega:"_Tone_normal_Color_nega_kr7qs_74",Tone_normal_Color_warn:"_Tone_normal_Color_warn_kr7qs_78",Tone_border:"_Tone_border_kr7qs_46",Tone_prime:"_Tone_prime_kr7qs_85",Tone_borderToFill_Color_white:"_Tone_borderToFill_Color_white_kr7qs_120",Tone_borderToFill_Color_cloud:"_Tone_borderToFill_Color_cloud_kr7qs_120"},e$={Wrapper:"_Wrapper_rikjy_1",Input:"_Input_rikjy_40",DigitCharacterCell:"_DigitCharacterCell_rikjy_71",Combined:"_Combined_rikjy_71",ShowCell:"_ShowCell_rikjy_1"};var t$={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"},r$={CellBase:"_CellBase_xuhga_1",HideInput_true:"_HideInput_true_xuhga_1",Input:"_Input_xuhga_1",Label:"_Label_xuhga_5"},a$={Core:"_Core_1psny_1",SelectedCell:"_SelectedCell_1psny_5",Selector:"_Selector_1psny_9"},n$={Input:"_Input_1lndc_1",Label:"_Label_1lndc_7"},o$={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"},i$={Header:"_Header_1rlyc_1",Body:"_Body_1rlyc_8",Footer:"_Footer_1rlyc_13",ClockBase:"_ClockBase_1rlyc_20",DesignSide:"_DesignSide_1rlyc_20",ClockUiBase:"_ClockUiBase_1rlyc_20",ClockUi:"_ClockUi_1rlyc_20",Needle:"_Needle_1rlyc_24",hour:"_hour_1rlyc_31",minute:"_minute_1rlyc_36",DateBase:"_DateBase_1rlyc_42",LeftButton:"_LeftButton_1rlyc_42",RightButton:"_RightButton_1rlyc_45",MonthBase:"_MonthBase_1rlyc_49",Cell:"_Cell_1rlyc_55",isThisMonth:"_isThisMonth_1rlyc_55",miniYearInput:"_miniYearInput_1rlyc_61",CalendarDay:"_CalendarDay_1rlyc_66",isToday_true:"_isToday_true_1rlyc_66"};var l$={Label:"_Label_1kvwn_1",Tone_plain:"_Tone_plain_1kvwn_6",Checked:"_Checked_1kvwn_6",Tone_cloud:"_Tone_cloud_1kvwn_9",Tone_cloudmono:"_Tone_cloudmono_1kvwn_12",Tone_cloudtheme:"_Tone_cloudtheme_1kvwn_15",Tone_bordervivid:"_Tone_bordervivid_1kvwn_21",Tone_bottomline:"_Tone_bottomline_1kvwn_27"},US=r=>UY[r],Zi=r=>VY[r],ug=r=>WY[r],VS=r=>qY[r],am=r=>YY[r],oa=r=>$Y[r],ka=r=>GY[r],La=r=>KY[r],Kt=r=>XY[r],Xl=r=>QY[r],uc=r=>JY[r],lf=r=>ZY[r],Hd=r=>e$[r];var Ql=r=>t$[r],sf=r=>r$[r],Tl=r=>a$[r],uf=r=>n$[r],xs=r=>o$[r],Ta=r=>i$[r];var cg=r=>l$[r];var ks=r=>{let a=r,{src:o="",alt:l="",showExpand:s}=a,f=Ge(a,["src","alt","showExpand"]);return(0,g7.jsx)(X,T(_({htmlTag:"img",src:o,alt:l},f),{className:[US("Img"),US("ShowExpand_"+!!s),f.className].join(" "),onPointerDown:c=>{f.onPointerDown&&f.onPointerDown(c),s&&c.stopPropagation()},onClick:c=>{f.onClick&&f.onClick(c),s&&(c.stopPropagation(),hr.open({type:"image",src:s!=!0?s:o}))},freeCSS:_({cursor:s?"zoom-in":"inherit"},f.freeCSS)}))};var rr=K(Dt()),WS=K(tr());var b7={ComunIcon:()=>(0,rr.jsx)("svg",{viewBox:"0,0,1200,1200",className:Zi("ComunIcon"),children:(0,rr.jsxs)("g",{children:[(0,rr.jsx)("path",{d:`
927
927
  M
928
928
  100,600
929
929
  A 500,500 0 0,0 600,1100
@@ -973,11 +973,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
973
973
  L600,600
974
974
  L600,300
975
975
  Z
976
- `,className:[Zi("P"),Zi("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,rr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:Zi("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},cc={Icon:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(b7.MingooIcon,{})})),Title:r=>(0,rr.jsx)(Ts.Title,T(_({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,rr.jsx)(cc.Icon,{size:o,color:l}),(0,rr.jsx)(cc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,rr.jsx)(cc.Icon,{margin:"auto",size:o,color:l}),(0,rr.jsx)(cc.Title,{size:o,color:l})]}))}},fc={Icon:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(b7.ComunIcon,{})})),Title:r=>(0,rr.jsx)(Ts.Title,T(_({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,rr.jsx)(fc.Icon,{size:o,color:l}),(0,rr.jsx)(fc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,rr.jsx)(fc.Icon,{margin:"auto",size:o,color:l}),(0,rr.jsx)(fc.Title,{size:o,color:l})]}))}},fu="https://cdn.amotify.com/",Ts={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,c=Ge(a,["size","color","className","children"]);return(0,rr.jsx)(At,T(_({className:[s,Zi("Icon"),Zi("Size_"+o)].join(" "),verticalAlign:"center"},c),{children:WS.default.is.function(f)?(0,rr.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,c=Ge(a,["size","color","className","children"]);return(0,rr.jsx)(At,T(_({className:[s,Zi("Title"),Zi("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},c),{children:WS.default.is.function(f)?(0,rr.jsx)(f,{}):f}))},Brands:{MingooIcon:cc.Icon,MingooTitle:cc.Title,MingooLogoH:cc.LogoH,MingooLogoV:cc.LogoV,ComunIcon:fc.Icon,ComunTitle:fc.Title,ComunLogoH:fc.LogoH,ComunLogoV:fc.LogoV,Google:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:fu+"@env/@logos/mingoo/icon.png",mingooIconClear:fu+"@env/@logos/mingoo/iconClear.png",comunIcon:fu+"@env/@logos/comun/icon.png",comunIconClear:fu+"@env/@logos/comun/iconClear.png",defaultIcon:r=>fu+"@env/@icon/"+(r||"image")+".png"}};var qS=K(Dt());var y7=r=>{let a=r,{color:o="cloud"}=a,l=Ge(a,["color"]);return(0,qS.jsx)(X,T(_({className:[ug("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,qS.jsx)(X,{className:[ug("Body"),ug("Color_"+o)].join(" ")})}))};var yn=r=>(0,uf.jsx)(X,T(_({},r),{htmlTag:"span"})),S7=r=>(0,uf.jsx)(X,T(_({},r),{htmlTag:"p"})),Hd=r=>(0,uf.jsx)(X,_({display:"grid"},r)),At=r=>(0,uf.jsx)(X,T(_({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:_({wordBreak:"break-word"},r.freeCSS)})),w7=r=>(0,uf.jsx)(X,_({width:1,flexSizing:"none"},r)),ar=r=>(0,uf.jsx)(At,_({flexType:"col",gap:1},r));var Es=K(Dt()),fg=K(tr());var C7={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["plain","link"].includes(a)?{}:(o=="xsmall"?s=T(_({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=T(_({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(s.padding=["3/4",1],a=="prime"&&(s.padding=["3/4",1.5])):o=="large"&&(s.padding=[1,2],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=_({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,o,l)=>{let s={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(s.fontColor="theme",s.textAlign="left",s.backgroundColor="trans"):a=="normal"?s=T(_({},s),{backgroundColor:"trans"}):a=="border"?s=T(_({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=T(_({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=T(_({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=T(_({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=T(_({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=T(_({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=T(_({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=_({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},x7=r=>{let a=nm(_({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,fg.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:f={},isActiveClassName:c="",tone:h="border",size:p="regular",color:m="theme",className:g=""}=a;a=_(_(_({},C7.Size(r.seed,h,p,m)),C7.Tone(r.seed,h,p,m)),a),a.className=[g,of("Wrap"),of("isNeutral_"+!s),of("isLocked_"+l),of("Tone_"+h),of("Color_"+m),of("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=_(_({className:[a.className,c].join(" ")},a),f))}if(o=="button"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,submitOption:p,onClick:m}=l,g=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=_({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),g=T(_({},g),{"data-form-submit-button":p.formName,"data-sdfike":fg.default.flatArray(p.submitDelegationKey).join(",")})),(0,Es.jsx)(X,T(_({htmlTag:"button"},g),{onClick:b=>Da(void 0,null,function*(){if(s||(m&&m(b),!p))return;let S=yield La.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,onClick:p}=l,m=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Es.jsx)(X,T(_({htmlTag:"label"},m),{onClick:g=>{s||p&&p(g)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,onClick:p,href:m="",newTab:g,sync:b,shiftQueryParams:S}=l,w=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Es.jsx)(X,T(_({htmlTag:"button"},w),{onClick:k=>{if(s)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,M=g||!!L,Y=m;S&&(Y+=location.search),b?Mn.pushSync(Y):Mn.push(Y,!!M)}}))}return null},du=function(r,a){let o=s=>(0,Es.jsx)(x7,_({seed:r,tone:a,size:"regular"},s)),l=o;return l.XS=s=>(0,Es.jsx)(o,_({size:"xsmall",tone:a},s)),l.S=s=>(0,Es.jsx)(o,_({size:"small",tone:a},s)),l.R=s=>(0,Es.jsx)(o,_({size:"regular",tone:a},s)),l.L=s=>(0,Es.jsx)(o,_({size:"large",tone:a},s)),l},$S=function(r){let a=o=>(0,Es.jsx)(x7,_({seed:r,tone:"prime",size:"regular"},o));return a.Plain=du(r,"plain"),a.Link=du(r,"link"),a.Normal=du(r,"normal"),a.Border=du(r,"border"),a.Prime=du(r,"prime"),a.Sub=du(r,"sub"),a.Clear=du(r,"clear"),a.FillToBorder=du(r,"fillToBorder"),a.BorderToFill=du(r,"borderToFill"),a},ut=$S("button"),dg=$S("label"),cf=$S("anchor");var Rs={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:f,className:c}=a,h=Ge(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.reset(),setTimeout(()=>{Rs.fn.updateCSSProperty.reset()},100);let m="ResizeCB",g="RemovePageEventCB";return(0,Sn.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{dt.get().screen.isPhonepoint()||Sn.default.interval.once(()=>{Rs.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,Sn.default)(window).removeEvent(g),(0,Sn.default)(window).removeEvent(m)}},[]);let p=f;return(0,Tl.jsxs)(ar,T(_({className:[c,Aa("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,Tl.jsxs)(At,{className:Aa("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,Tl.jsx)(X,{className:Aa("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Ge(a,["className","children"]),[f]=(0,dc.useState)((0,Sn.UUID)());return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.topNav()},[]),(0,Tl.jsx)(At,T(_({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,Aa("TopNav")].join(" "),children:l}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Ge(a,["className"]);return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.sideNav()},[]),(0,Tl.jsx)(X,T(_({className:[o,Aa("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Ge(a,["className","baseStyles"]),[f]=(0,dc.useState)((0,Sn.UUID)());return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.footer()},[]),(0,Tl.jsx)(At,T(_({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[Aa("FooterNav"),o].join(" "),children:(0,Tl.jsx)(At,_({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,f=Ge(a,["isActive","uri","uriGroup"]),c=Sn.default.flatArray(s),h=location.pathname;{let p=!1;if(Sn.default.is.exist(l)&&Sn.default.is.string(l)){let m=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(m).pathname}if(!p&&c.length)for(let m of c)Sn.default.is.nullish(m)||h.match(new RegExp(m))&&(p=!0);o=o!=null?o:p}return(0,Tl.jsx)(ut.Clear,_({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{Sn.default.is.exist(l)&&Sn.default.is.string(l)&&Mn.push(l,p.ctrlKey||p.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",width:1,flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},f))},Bar:r=>(0,Tl.jsx)(X,_({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,Tl.jsx)(X,_({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,Sn.default)(document.body),a=pt("#__RVC_TopNavigation"),o=a.position().height||0,l=o;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,Sn.default)(document.body),a=pt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,Sn.default)(document.body),a=pt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,Sn.default)(document.body),a=pt("#__RVC_TopNavigation"),o=pt("#__RVC_FooterNavigation"),l=pt("#__RVC_SideNavigation"),s=a.position().height||0,f=s,c=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,g=p-s-c,b=m-h;r.setStyleProperty("--topNavHeight",s+"px").setStyleProperty("--topBase",f+"px").setStyleProperty("--footerNavHeight",c+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",g+"px").setStyleProperty("--contentHeight",g+"px").setStyleProperty("--contentWidth",b+"px")}}}};var k7=K(Dt());var T7=r=>{let a=r,{size:o="R"}=a,l=Ge(a,["size"]),s={MIN:36,XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,k7.jsx)(X,T(_({margin:[0,"auto"],width:1},l),{freeCSS:_({maxWidth:12*s},l.freeCSS)}))};var om=K(Dt()),L7=K(cr());var GS=K(Dt()),KS=K(tr());var Ud=K(cr());var E7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,KS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[c]=(0,Ud.useState)(s);return(0,Ud.useEffect)(()=>{setTimeout(()=>{let h=pt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,GS.jsx)(X,T(_({},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:c}))},R7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,KS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[c]=(0,Ud.useState)(s);return(0,Ud.useEffect)(()=>{setTimeout(()=>{let h=pt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,GS.jsx)(X,T(_({paddingTop:2},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:c}))};var el=K(tr());var ff={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,el.Time)().ms,o=r.target,l=(0,el.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let O=l.parent('[data-effect-ripple="1"]');if(!O[0])return;l=O,s=O.getAttribute("data-effect-tone")}if(!s)return;let f="RippleWrap-"+(0,el.UUID)(),{left:c,top:h,height:p,width:m}=l.position(),{pageXOffset:g,pageYOffset:b}=el.default.getScreenSize(),{x:S,y:w}=el.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(S-(c+g),0),M=Math.max(w-(h+b),0),Y={RippleElement:l,startedAt:a,size:k};(0,el.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{ff.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{ff.End(Y)},20)}}),(0,el.default)(l).addClass([Kl("RippleElement"),Kl("Color_"+s)]).append(`<div class="${Kl("RippleWrap")}" id="${f}">
977
- <div class="${Kl("Wave")}" />
978
- </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:O=>{ff.End(Y)}}).find("#"+f).find("."+Kl("Wave")).css({left:L,top:M}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,el.Time)().ms-o<=400?".75s":".55s",f=l*2.5;(0,el.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Kl("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(c=>{c.remove()})}},D7={Wrapper:()=>(typeof window=="undefined"||(0,el.default)(dt.get().appRoot).addEvent({eventType:"touchstart",target:ff.RippleElementTag,callback:r=>{ff.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:ff.RippleElementTag,callback:r=>{dt.get().isTouchDevice||ff.Start(r)}}),null)};var XS=K(tr());var A7={Wrapper:()=>(typeof window=="undefined"||(0,XS.default)(dt.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,XS.default)(r.target).removeClass(Kl("PuddingEffect")).await(1).addClass(Kl("PuddingEffect")).await(510).removeClass(Kl("PuddingEffect"))}}),null)};var pu={Ripple:D7,Pudding:A7,FadeIn:E7,FadeUp:R7};var N7=r=>{let{viewIndex:a=0,views:o,wrapper:l=c=>(0,om.jsx)(pu.FadeIn,{animationTime:400,children:c},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,f]=(0,L7.useState)(a);return s!=a&&f(a),(0,om.jsx)(om.Fragment,{children:l(o[a])})};var lm=K(Dt()),El=K(tr()),pc=K(cr());var s$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:f=!1,disableMousedrag:c=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:g}=a,b=Ge(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pc.useState)((0,El.UUID)()),[w,k]=(0,pc.useState)({eventType:"init",index:r.slideIndex}),L=(0,pc.useRef)(!1);(0,pc.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),L.current||(L.current=!0)},[r.slideIndex]),(0,pc.useEffect)(()=>{let j=w.index+(f?1:0),F=[-1,m.length].includes(w.index);F||o&&setTimeout(()=>{o(w.index)},300);let J=pt("#Swiper-"+S);if(w.eventType=="adjustLoop")J.await(250).css({transition:"0s",transform:Vd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass([Aa("Display"),Aa("LoopAdjusting")]).await(100).removeClass(Aa("LoopAdjusting"));else if(w.eventType=="sys")J.await(250).css({transform:Vd(j)}).children().removeClass(Aa("Display")).parent().children(j).addClass(Aa("Display"));else if(J.children().removeClass(Aa("Display")).parent().children(j).addClass(Aa("Display")).parent().css({transition:"0.3s",transform:Vd(j)}).await(250).css({transition:"0s"}),F){let N=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:N})}s&&!F&&El.default.interval.once(()=>{let N=w.index+1;!f&&N>m.length-1&&(N=0),k({eventType:"usr",index:N})},s-(w.eventType=="sys"?310:0),"SwipeTimer-"+S)},[w]);let M=m.map((j,F)=>(0,lm.jsx)(X,{flexSizing:"none",width:1,height:0,className:Aa("Child"),children:p(j)},F));f&&(M.push(T(_({},M[0]),{key:M[0].key+"-Shallow0"})),M.unshift(T(_({},M[M.length-2]),{key:M[M.length-2].key+"-Shallow0"})));let Y={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:w.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},O=w.index+ +!!f;return(0,lm.jsx)(X,T(_({overflow:"hidden",position:"relative"},b),{className:[b.className,Aa("SwipeView")].join(" "),freeCSS:_({zIndex:1},b.freeCSS),"data-swipe-id":S,onPointerDown:j=>{if(console.log(j),j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(c||j.buttons!=1))return;im.Start(j,Y)},children:(0,lm.jsx)(At,{flexWrap:!1,gap:1,transition:"long",className:[Aa("Rail"),Aa("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:_({},L.current?{}:{transform:Vd(O)}),children:M})}))},Vd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,im={Start:(r,a)=>{let{x:o,y:l}=El.default.getCursor(r),s=r.currentTarget,f=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(f.tagName))return;a=T(_({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:pt("#Swiper-"+a.id).position().width});let{swipeId:c}=s.dataset;c==a.id&&(0,El.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{im.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{im.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:l}=El.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),f=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+s<15))if(f>s/2)(0,El.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let c=a.index+(a.loop?1:0);pt("#Swiper-"+a.id).children(c-1).addClass(Aa("Display")),(0,El.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{im.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{im.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=El.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let f=s-a.maxIndex;s=a.maxIndex+f/2}pt("#Swiper-"+a.id).css({transition:"0s",transform:Vd(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=El.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,f=a.index+(a.loop?1:0),c=0;s<400?c=f-(+(o>0)*2-1):c=Math.round(f-o/a.width),c=Math.max(Math.min(c,a.maxIndex),a.minIndex),a.process=!1,f===c?(a.effectStartAt=l,pt("#Swiper-"+a.id).css({transition:".2s",transform:Vd(c)}).await(310).css({transition:"0s"}).children().removeClass(Aa("Display")).parent().children(f).addClass(Aa("Display"))):a.set_event({eventType:"usr",index:c+a.minIndex})}(0,El.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},O7=r=>(0,lm.jsx)(s$,T(_({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var Lg=K(Dt()),WO=K(cr());var hc=K(Dt());var M7=r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",padding:"3/4",borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=T(_({},a),{border:!0}):r=="cloud"?a=T(_({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=T(_({},a),{borderRadius:0,borderBottom:!0})),a},pg={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},hg=r=>(0,hc.jsx)(yn,_({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),mg=r=>(0,hc.jsx)(yn,_({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),vg=r=>(0,hc.jsx)(yn,_({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),_g=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,_(T(_({},M7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},gg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,_(T(_({},M7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},Ba=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,T(_(T(_({},pg),{right:"3/4"}),l),{freeCSS:_(_({},pg.freeCSS),l.freeCSS)}))},Wd=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,T(_(T(_({},pg),{left:"3/4"}),l),{freeCSS:_(_({},pg.freeCSS),l.freeCSS)}))};var P7=K(Dt());var I7=r=>(0,P7.jsx)(X,_({htmlTag:"input"},r));var rw=K(Dt()),Yd=K(tr()),cm=K(cr());var Hn=K(Dt()),pf=K(cr()),pa=K(tr());var ZS={};Td(ZS,{Accordion:()=>JS,LinkifyText:()=>z7,List:()=>B7,ListItem:()=>qd,Row:()=>ht,Text:()=>nr});var QS=K(Dt()),Jl=K(tr()),hu=K(cr());var c$=r=>{r=_({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:f=!1}=a,c=Ge(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,hu.useState)((0,Jl.UUID)()),[p]=(0,hu.useState)((0,Jl.UUID)()),[m,g]=(0,hu.useState)(s);m!=s&&f&&g(s);let b=(0,hu.useRef)(!1);return(0,hu.useEffect)(()=>{let S=pt('[data-accordion-content-id="'+p+'"]')[0];if(S){let w=S.offsetHeight,k=0;l=="fast"?(k=w/1e3,k=Math.max(k,.2)):l=="slow"&&(k=w/300),pt("#"+h).css({transition:k+"s"})}},[]),(0,hu.useEffect)(()=>{let S=pt("#"+h),w=pt('[data-accordion-content-id="'+p+'"]')[0];if(b.current){if(w){let k=w.offsetHeight;Jl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(b.current=!0,w){let k=w.offsetHeight;Jl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:"0px",overflow:"hidden"}))}},[m]),o&&Jl.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(!m)}}}),(0,QS.jsx)(X,{className:[VS("Wrap"),VS("Open_"+m)].join(" "),id:h,children:(0,QS.jsx)(X,_({"data-accordion-content-id":p},c))})},JS=c$;JS.fn={open:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.toggle()}};var sm=K(Dt());var z7=r=>{let{text:a,placeholder:o}=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 f=a.split("[$_url]");for(let c=0;c<=f.length-1;c++){let h=f[c],p=s[c];l.push(h),c<f.length-1&&l.push((0,sm.jsx)(cf.Link,{href:p,newTab:!0,children:p},"Link-"+c))}}else o&&(l=[o]);return(0,sm.jsx)(sm.Fragment,{children:l})};var Rl=K(Dt());var B7=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Ge(a,["items","ListChildCallback"]);l=l||F7;let f=o.map((c,h)=>(0,Rl.jsx)(l,{children:c,index:h},h));return(0,Rl.jsx)(X,T(_({htmlTag:"ul",children:f},s),{freeCSS:_({listStyle:"none"},s.freeCSS)}))},F7=r=>(0,Rl.jsx)(X,_({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),qd=F7;qd.Center=r=>(0,Rl.jsx)(X,{htmlTag:"li",children:(0,Rl.jsx)(ht.Center,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Left=r=>(0,Rl.jsx)(X,{htmlTag:"li",children:(0,Rl.jsx)(ht.Left,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Right=r=>(0,Rl.jsx)(X,{htmlTag:"li",children:(0,Rl.jsx)(ht.Right,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),qd.Separate=r=>(0,Rl.jsx)(X,{htmlTag:"li",children:(0,Rl.jsx)(ht.Separate,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var um=K(Dt());var ht={Center:r=>(0,um.jsx)(At,_({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,um.jsx)(At,_({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,um.jsx)(At,_({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,um.jsx)(At,_({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var mu=K(Dt());var df=r=>(0,mu.jsx)(X,_({},r)),nr=df;nr.Title=r=>(0,mu.jsx)(df,_({fontSize:"6.title",fontWeight:"3.semiBold"},r)),nr.SubTitle=r=>(0,mu.jsx)(df,_({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),nr.ThirdTitle=r=>(0,mu.jsx)(df,_({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),nr.Paragraph=r=>(0,mu.jsx)(df,_({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),nr.Description=r=>(0,mu.jsx)(df,T(_({},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)})),nr.Supplement=r=>(0,mu.jsx)(df,_({fontSize:"1.mini"},r)),nr.NowrapSpan=r=>(0,mu.jsx)(yn,T(_({},r),{freeCSS:_({whiteSpace:"nowrap"},r.freeCSS)}));var j7=K(Dt()),ew=K(tr());var Tr=K(Dt()),It=K(tr()),qa=K(cr());var Ds={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>It.useStore.get("sessionStates-"+dt.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=T(_({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,closeAtPageTransit:!0,closeAtEscapeKeyDown:!0,closeAtAroundClick:r.type=="custom"},r),{sheetID:r.sheetID||(0,It.UUID)(),isOpen:!0,created_at:(0,It.Time)()});if(o.type=="custom"){let l=o;l.parent=l.parent||((a=l==null?void 0:l.event)==null?void 0:a.currentTarget),o=l}return o}},bg={Wrapper:()=>{let[r,a]=(0,qa.useState)(!1),[o,l]=(0,qa.useState)([]),s={val_sheets:o,set_sheets:l};It.useStore.set({["sessionStates-"+dt.get().sessionUID]:s}),(0,qa.useEffect)(()=>{It.useStore.set({["Sheet-"+dt.get().sessionUID]:{add:(c,h)=>{let p=It.useStore.get("Sheet-"+dt.get().sessionUID);if(!p)return;let m=Ds.getNewSheetStates(c);if(h!="inherit"&&(m.isOpen=h!=null?h:!0),!!p.find(m.sheetID)){l(g=>{let b=[...g],S=b.findIndex(w=>w.sheetID==m.sheetID);return S==-1||(b[S]=m),b});return}l(g=>[m,...g])},find:c=>{let h=Ds.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==c)}}}),(0,It.default)(dt.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(c){let{key:h,metaKey:p}=c;if(h=="Escape"||h==","&&p){let m=Ds.getSessionStates();if(!m)return;let{val_sheets:g}=m,b=g.filter(w=>w.isOpen);if(!b.length)return;let S=b.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);pr.close(S.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(c){let h=Ds.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=c.target;if(!m||m!=null&&m.closest("."+oa("CustomSheet")))return;let g=p.filter(b=>b.type=="custom");g.length&&g.forEach(b=>{let{parent:S}=b;if(!b.closeAtAroundClick)return;let w=pt(S)[0];S!==m&&w!==m&&((0,It.default)(w).find(m).length||pr.close(b.sheetID))})}})},[]),(0,qa.useEffect)(()=>{let c=o.filter(h=>h.backgroundEffect&&h.isOpen&&!h.overwrap&&h.type!="custom");a(!!c.length)},[o]),(0,qa.useEffect)(()=>{let c=pt(".AMOTIFY_be_root");if(r){let h=(0,It.default)("html").position(),p=32/h.height,m=32/h.width;c.addClass(oa("BodyEffect")).css({transform:`scale(${1-m},${1-p})`})}else c.css({transform:"scale(1)"}).removeClass(oa("BodyEffect"))},[r]);let f=o.map(c=>(0,Tr.jsx)(bg.Core,T(_({},s),{val_sheet:c,patch_sheet:h=>{l(p=>{let m=[...p],g=m.findIndex(b=>b.sheetID==c.sheetID);return g==-1||(m[g]=_(_({},m[g]),h)),m})},delete_sheet:()=>{l(h=>{let p=[...h],m=p.findIndex(g=>g.sheetID==c.sheetID);return m==-1||p.splice(m,1),p})}}),c.sheetID));return(0,Tr.jsx)(X,{className:["AMOTIFY_be",oa("Wrapper")].join(" "),children:f})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,qa.useState)(Ds.currentIndex+2),[f]=(0,qa.useState)((0,It.UUID)()),c=a.type!="custom"&&!a.overwrap;(0,qa.useEffect)(()=>{Ds.currentIndex++,It.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,It.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),It.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=It.useStore.get(f);b&&b.resize&&b.resize(g)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:g})},close:g=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,qa.useEffect)(()=>{It.default.scope(()=>{let g=pt("#"+f);if(a.isOpen){a.hold_state&&s(Ds.currentIndex+1),g.await(10).removeClass(oa("Hide")).await(10).addClass(oa("Open")).callback(()=>{a.openAfter&&a.openAfter()});return}g.await(10).removeClass(oa("Open")).await(251).addClass(oa("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),c&&(0,It.default)(dt.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=bg.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[a.type]];return(0,Tr.jsx)(X,{className:[oa("Wrap"),oa("Tcate_"+h),oa("Tpos_"+p),oa("isMainSheet_"+c)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,Tr.jsxs)(ar,{className:oa("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!c&&(0,Tr.jsx)(bg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,Tr.jsx)(m,_({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:f,className:c="",type:h,size:p="R",freeCSS:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,J=Ge(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[N,te]=h.split("."),_e={},ae=[];return te.match(/top/)?(ae.push("top"),_e.marginBottom="auto"):te.match(/middle/)?(ae.push("center"),_e.marginTop="auto",_e.marginBottom="auto"):te.match(/bottom/)&&(ae.push("bottom"),_e.marginTop="auto"),te.match(/left/i)?(ae.push("left"),_e.marginRight="auto"):te.match(/center/i)?(ae.push("center"),_e.marginLeft="auto",_e.marginRight="auto"):te.match(/right/i)&&(ae.push("right"),_e.marginLeft="auto"),(0,Tr.jsx)(X,T(_(_({className:[oa("BB"),c].join(" "),padding:1,transition:"long",opacity:"trans"},J),_e),{freeCSS:_({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:ae.join(" ")},m),children:It.default.is.function(f)?(0,Tr.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:f,content:c,className:h="",size:p="R",openAfter:m,closeAfter:g,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:w,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:M,overwrap:Y,isOpen:O,backgroundEffect:j}=a,F=Ge(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,Tr.jsx)(X,T(_(T(_({className:[oa("BB"),h].join(" ")},f=="drawer.right"?{marginLeft:"auto"}:f=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),F),{freeCSS:_({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},F.freeCSS),children:It.default.is.function(c)?(0,Tr.jsx)(c,{}):c}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:f,content:c,size:h="R",sizeChanged:p,baseStyles:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M=!0,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,J=Ge(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),N=It.default.getScreenSize(),te=[0,.2,.6,.95],_e={ZERO:0,S:1,R:2,L:3},[ae,ye]=(0,qa.useState)(h),[Se,ge]=(0,qa.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[_e[h]]});It.useStore.update({[o]:{val_edit:Se,resize:fe=>{let B=te[_e[fe]];ge(W=>T(_({},W),{value:B})),ye(fe)}}});let H={Start:fe=>{(0,It.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:H.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:H.End});let B=It.default.getCursor(fe),W=T(_({},Se),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:Se.value,viewHeight:It.default.getScreenSize().height});It.useStore.update({[o]:{val_edit:W}}),ge(W)},Move:fe=>{var B;let W=(B=It.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ne=(It.default.getCursor(fe).y-W.originY)/W.viewHeight,ee=W.originValue-ne;if(ee>.95)ee=.95+(ee-.95)*.5;else if(ee<.2){let de=.2-ee;de-=.1,ee=.1+(.1-de)*.5}return ge(T(_({},W),{value:ee})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var B;let W=(B=It.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,It.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ne=0;if(W.value<.1||(W.value<.5?ne=1:W.value>.75?ne=3:ne=2),new Date().getTime()-W.processStart<300){let ee=It.default.getCursor(fe).y-W.originY;if(Math.abs(ee)>=20){let de=+(ee<0)*2-1;ne+=de,ne=Math.min(Math.max(ne,0),te.length-1)}}ne==0&&(M||(ne=1)),ye(["ZERO","S","R","L"][ne]),ge(T(_({},W),{value:te[ne],process:!1}))}},le=(0,qa.useRef)(!1);return(0,qa.useEffect)(()=>{le.current?ae=="ZERO"?M&&pr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(ae)},250):le.current=!0},[ae]),(0,Tr.jsx)(X,{className:oa("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:_({maxWidth:12*60,height:N.height*Se.value},Se.process?{transition:"0s"}:{}),children:(0,Tr.jsxs)(ar,T(_({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},m),{children:[(0,Tr.jsx)(ht.Separate,{padding:"1/2",backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:(0,Tr.jsx)(ht.Center,{onMouseDown:H.Start,onTouchStart:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,Tr.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:oa("DragBar")})})}),(0,Tr.jsx)(X,T(_({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},J),{children:It.default.is.function(c)?(0,Tr.jsx)(c,{}):c}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:f,parent:c,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:g,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:w,closeAtSwipeDown:k,hold_state:L,openAfter:M,closeAfter:Y,overwrap:O,isOpen:j,resize:F,backgroundEffect:J}=a,N=Ge(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[te]=(0,qa.useState)((0,It.UUID)()),_e=It.default.is.element(c)||It.default.is.jmini(c)?(0,It.default)(c):pt(c),ae='[data-sheet-id="'+te+'"]',ye='[data-sheet-content="'+te+'"]';p=p;let Se=p%5||5,ge=Math.ceil(p/5),H={Init:()=>{if(h&&f){let be=It.default.getScreenSize(),Pe=It.default.getCursor(f);return{top:Pe.y-be.pageYOffset,left:Pe.x-be.pageXOffset}}let fe={};if(!_e||!_e[0])return fe;let{top:B,right:W,bottom:ne,left:ee,height:de,width:ke}=_e.position();return[1,2].includes(Se)?fe.left=ee:Se==3?fe.left=ee+ke/2:[4,5].includes(Se)&&(fe.left=W),p<=10?fe.top=B:p<=15?fe.top=B+de/2:p<=25&&(fe.top=ne),fe},Adjust:()=>{let fe=pt(ae).position(),B=pt(ye).position(),W=_e.position(),ne=It.default.getScreenSize(),ee={};for(let be in B)ee[be]=B[be];if(It.default.scope(()=>{if(r.nextToCursor)return;let be=0;ge==1?be=W.top-ee.bottom:ge==2?be=W.top-ee.top:ge==3?be=W.top-ee.top+(W.height-ee.height)/2:ge==4?be=W.bottom-ee.bottom:ge==5&&(be=W.bottom-ee.top),ee.top+=be,ee.bottom+=be}),It.default.scope(()=>{if(r.nextToCursor)return;let be=0;Se==1?be=W.left-ee.right:Se==2?be=W.left-ee.left:Se==3?be=W.left-ee.left+(W.width-ee.width)/2:Se==4?be=W.right-ee.right:Se==5&&(be=W.right-ee.left),ee.left+=be,ee.right+=be}),ee.top<0){let be=-ee.top;ee.top+=be,ee.bottom+=be}if(ee.bottom>ne.height){let be=ee.bottom-ne.height;ee.top-=be,ee.bottom-=be}if(ee.left<0){let be=-ee.left;ee.left+=be,ee.right+=be}if(ee.right>ne.width){let be=ee.right-ne.width;ee.left-=be,ee.right-=be}let de=ee.top-B.top,ke=ee.left-B.left;(0,It.default)(ae).css({top:fe.top+de+"px",left:fe.left+ke+"px"})}},[le]=(0,qa.useState)(H.Init());return(0,qa.useEffect)(()=>{pt(ae).await(10).addClass(oa("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),It.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),_e[0]?(0,Tr.jsx)(X,{className:[oa("BB"),oa("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,Tr.jsx)(At,{position:"absolute",className:[oa("GPT"),oa("GPT_"+p),oa("Col_"+Se),oa("Row_"+ge)].join(" "),children:(0,Tr.jsx)(X,T(_({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},N),{freeCSS:_({maxWidth:"98vw"},N.freeCSS),children:It.default.is.function(m)?(0,Tr.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,Tr.jsx)(X,{className:oa("TapSensor"),children:(0,Tr.jsx)(ut.Plain,{className:oa("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&pr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},pr={Wrapper:()=>(0,Tr.jsx)(bg.Wrapper,{}),open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,It.UUID)(),s=r,{type:f,src:c}=s,h=Ge(s,["type","src"]);pr.open(T(_({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,qa.useState)(It.default.flatArray(c)),[m,g]=(0,qa.useState)(0),b=[];return p.forEach((S,w)=>{b.push({value:w,label:(0,Tr.jsx)(ks,{src:It.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,Tr.jsxs)(ar,{gap:0,height:1,position:"relative",children:[(0,Tr.jsxs)(ht.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,Tr.jsx)(La.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:S=>{g(S)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,Tr.jsx)(ut.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{pr.close(l)},children:(0,Tr.jsx)(Ne.Times,{})})]}),(0,Tr.jsx)(pu.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,Tr.jsx)(ks,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=It.useStore.get("Sheet-"+dt.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=It.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=It.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let l=Ds.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let f=s.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let c=It.useStore.get(f.sheetID);c&&c.close&&c.close(o)},closeGroup:r=>{let a=Ds.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&pr.close(l.sheetID)},closeAll:r=>{let a=Ds.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||pr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,Tr.jsx)(X,_({className:oa("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Na={__memoryID:(0,ew.UUID)(),open:r=>{let a=r,{tipsID:o=(0,ew.UUID)(),tipsGroups:l=[]}=a,s=Ge(a,["tipsID","tipsGroups"]);pr.open(T(_({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&pr.close(r)},closeALL:()=>{pr.closeGroup("tooltips")},Body:r=>(0,j7.jsx)(X,_({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ta=r=>{let[a]=(0,pf.useState)(r.componentID||(0,pa.UUID)());r=_({},r),r.states=T(_({enableFormSubmit:!0,status_id:(0,pa.UUID)(),override:"never",form:"",id:(0,pa.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Hn.jsx)(o,_({},r.states))},Fa=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:f,wrapStyles:c}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,Hn.jsxs)(ht.Center,T(_({position:"relative",verticalAlign:"unset",gap:0},c),{className:jd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Hn.jsx)(tw.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Hn.jsxs)(At,{position:"relative",flexSizing:"auto",children:[a,f,(0,Hn.jsx)(tw.RightIcon,_({},r)),(0,Hn.jsx)(tw.ClearButton,_({},r))]}),s.rightIndicator]}))},tw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Hn.jsx)(ut.Normal,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{r.set_status(a=>T(_({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,pa.UUID)()}))},children:(0,Hn.jsx)(Ne.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,f="NoticeTimerClose-"+l,c="notice-tips-"+l;return(0,pf.useEffect)(()=>{pa.default.interval.once(()=>{if(!a.length){Na.close(c);return}Na.open({tipsID:c,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Hn.jsxs)(Na.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Hn.jsx)(X,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Hn.jsx)(ar,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:g}=h,b=m=="invalid"?Ne.Times:m=="warn"?Ne.Exclamation:Ne.Check;return(0,Hn.jsxs)(ht.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Hn.jsx)(b,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),(0,Hn.jsx)(nr.Supplement,{fontSize:"0.xs",fontColor:"white",children:g})]},p+"-"+pa.default.Stringify(h))})})]})})},350,s),pa.default.interval.once(()=>{Na.close(c)},6e3,f)},[a]),null}},Wt={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,pa.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:c,SystemValidation:h}=r;o=_({},o);let{componentID:p}=l;(0,pf.useEffect)(()=>(pa.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,g)=>{pa.useStore.get(p).ResolveRefresh=m,s(b=>T(_({},b),{eventType:"refresh",eventID:(0,pa.UUID)()}))}),GenNotice:m=>{let{ok:g,notice:b}=m;c({ok:g,notice:b})}}}),()=>{pa.useStore.delete(p)}),[]),pa.default.scope(()=>{let{override:m}=o;if(m=="never"||m=="beforeModified"&&!["init","override"].includes(l.eventType))return;let g=pa.useStore.get(l.componentID);g&&(o.value!=l.dataValue&&o.status_id!=g.status_id&&s(b=>T(_(T(_({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,pa.UUID)()})),g.status_id=o.status_id)}),(0,pf.useEffect)(()=>{Wt.ValidationCheck({val_status:l,set_validate:c,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,pf.useEffect)(()=>(pa.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=l,S=b;if(a=="autocomplete.single"||a=="list.radio"?S=S[0]:o.isChecker&&(S=!!S[0]),o.form=o.form||"testForm",o.name&&o.form&&pa.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:m,type:a,value:S,validation:f.ok}}}),g=="refresh"){let w=pa.useStore.get(m);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else g=="update"&&(o.onUpdateValue&&o.onUpdateValue(S,g,m),pa.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue(S,g,m)}))}),()=>{pa.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[f])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;pa.default.interval.abort(o);let l=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!l.ok){r.set_validate(l);return}let s=l.notice,f=()=>Da(void 0,null,function*(){if(!a.onValidate)return;let c=yield a.onValidate(r.val_status.dataValue,r.val_status.eventType,r);r.set_validate({ok:c.ok,notice:[...s,...c.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}pa.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=pt(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,c=r.ctrlKey||r.metaKey;return pa.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||dt.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&c)||f==" "&&s.includes("space"))&&(l.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},Un=function(r){r=_({tone:"border"},r);let a=pa.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=T(_({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=T(_({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=T(_({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return T(_(_(_(_(_(_({fontColor:"2.normal"},a),!!r.rightIcon&&{paddingRight:3}),!!r.leftIcon&&{paddingLeft:3}),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r),{freeCSS:_({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[jd("Input"),r.className].join(" ")})};var f$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,c=Ge(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,cm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,Yd.UUID)()}),[m,g]=(0,cm.useState)({ok:!1,notice:[]});return(0,cm.useEffect)(()=>{Yd.default.is.equal(h.dataValue,f)||p(b=>T(_({},b),{dataValue:f,eventType:"update",eventID:(0,Yd.UUID)()}))},[r.value]),Wt.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,rw.jsx)("input",T(_({value:Yd.default.Stringify(f),"data-component-id":o},c),{type:"hidden"}))},H7=r=>(0,rw.jsx)(Ta,{componentID:r.componentID,children:f$,states:r});var lr=K(Dt()),Ja=K(tr()),As=K(cr());var K7=K(G7());var fm=K(Dt()),Sg=K(cr()),yg=K(tr());var mc=r=>{if(!r.label)return null;let[a,o]=(0,Sg.useState)({});return(0,Sg.useEffect)(()=>{let l=(0,yg.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,yg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,yg.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!f[0])return;let c=l.position(),h=f.position();if(r.isActive){let p=h.left-c.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-c.left,m=h.top-c.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${m}px)`}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,fm.jsx)(X,T(_({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min"},a),{freeCSS:_({zIndex:2,transformOrigin:"top left",pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,fm.jsxs)(ht.Left,{gap:"1/3",children:[r.label,r.required&&(0,fm.jsx)(yn,{fontColor:"nega",children:" * "})]})}))};var d$={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,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(X,{children:"\u25CB\u25CB\u25CB\u25CB@\u25CB\u25CB\u25CB\u25CB.\u25CB\u25CB\u25CB\u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,lr.jsx)(X,{children:"\u6700\u5F8C\u306E\u6587\u5B57\u306B.(\u30C9\u30C3\u30C8)\u3092\u5165\u308C\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"})]})},password:{reg:/^(?=[^A-Z]*[A-Z])(?=[^a-z]*[a-z])(?=[^0-9]*[0-9]).{8,}$/,exist:!0,reason:"8\u6587\u5B57\u4EE5\u4E0A\u3001\u534A\u89D2\u82F1\u6570\u5927\u5C0F\u6587\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tel:{reg:/.*$/g,exist:!0,reason:(0,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,lr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,lr.jsx)(X,{children:"\u6570\u5B57\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"})]})},url:{reg:/^https?:\/\/[^\n\s]+(\.|\:)[^\n\s\.\:]+$/,exist:!0,reason:"URL\u5F62\u5F0F : http(s)://\u25EF\u25EF\u25EF\u25EF"},postal:{reg:/^\d{7}$/g,exist:!0,reason:"7\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}},vu={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=pt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:f,prevValue:c,caretFrom:h,caretTo:p}=l;if(o=="creditCard")f.length>=c.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")f.length==5&&c.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-c.length;m==2&&(h++,p++),m==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:f,required:c}=o,h=[];if(f||(s=s||255),Ja.default.is.exist(s)&&a.length>=Number(s)&&h.push({type:"invalid",label:s+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let p=vu.Validation.Text(a,l);p.ok||h.push({type:"invalid",label:p.body})}else c&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!h.filter(({type:p})=>p=="invalid").length,notice:h}},Text:(r,a)=>{let o={ok:!0,body:""};return(()=>{let l=d$[a];if(!l)return;let s=l.reason;if(l){let f=!!(+!!r.match(l.reg)^+!l.exist);o={ok:f,body:f?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,value:o=""}=r,l=String(o),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let 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),Ja.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),Ja.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}c&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let f=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(",")}f=c.join("")}}else a=="postal"?l.length>=4&&(f=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(f=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,f="-"+f),{formatValue:f,dataValue:l}}}},nw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Ja.default.scope(()=>Da(void 0,null,function*(){if(!a.multiline)return;let p=(0,Ja.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,Ja.default)('[data-input-shallow="'+o.componentID+'"]'),g=(0,Ja.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,Ja.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!g[0]||!b[0])return;let S=m.position(),w=g.position(),k=b.position(),L=0;a.autoHeight&&(L=S.height),L=Math.max(L,w.height),L=Math.min(L,k.height),p[0].style.height=L+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let f="",c="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
976
+ `,className:[Zi("P"),Zi("P_"+a)].join(" "),style:{fill:"#ea6093"}})]});return(0,rr.jsxs)("svg",{viewBox:"0,0,1200,1200",className:Zi("MingooIcon"),children:[r(0),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8)]})}},cc={Icon:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(b7.MingooIcon,{})})),Title:r=>(0,rr.jsx)(Ts.Title,T(_({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"mingoo"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,rr.jsx)(cc.Icon,{size:o,color:l}),(0,rr.jsx)(cc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,rr.jsx)(cc.Icon,{margin:"auto",size:o,color:l}),(0,rr.jsx)(cc.Title,{size:o,color:l})]}))}},fc={Icon:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(b7.ComunIcon,{})})),Title:r=>(0,rr.jsx)(Ts.Title,T(_({className:Zi("ComunTitle"),height:"auto"},r),{freeCSS:_({letterSpacing:"3px"},r.freeCSS),children:"comun"})),LogoH:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({gap:"1/2",flexCenter:!0},s),{children:[(0,rr.jsx)(fc.Icon,{size:o,color:l}),(0,rr.jsx)(fc.Title,{size:o,color:l})]}))},LogoV:r=>{let a=r,{size:o,color:l}=a,s=Ge(a,["size","color"]);return(0,rr.jsxs)(At,T(_({flexType:"col",gap:"1/2"},s),{children:[(0,rr.jsx)(fc.Icon,{margin:"auto",size:o,color:l}),(0,rr.jsx)(fc.Title,{size:o,color:l})]}))}},fu="https://cdn.amotify.com/",Ts={Icon:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,c=Ge(a,["size","color","className","children"]);return(0,rr.jsx)(At,T(_({className:[s,Zi("Icon"),Zi("Size_"+o)].join(" "),verticalAlign:"center"},c),{children:WS.default.is.function(f)?(0,rr.jsx)(f,{}):f}))},Title:r=>{let a=r,{size:o="R",color:l="normal",className:s="",children:f}=a,c=Ge(a,["size","color","className","children"]);return(0,rr.jsx)(At,T(_({className:[s,Zi("Title"),Zi("Size_"+o)].join(" "),verticalAlign:"center",fontColor:l=="white"?"white":"logo"},c),{children:WS.default.is.function(f)?(0,rr.jsx)(f,{}):f}))},Brands:{MingooIcon:cc.Icon,MingooTitle:cc.Title,MingooLogoH:cc.LogoH,MingooLogoV:cc.LogoV,ComunIcon:fc.Icon,ComunTitle:fc.Title,ComunLogoH:fc.LogoH,ComunLogoV:fc.LogoV,Google:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Google_Icon.svg",alt:""})})),Facebook:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/FaceBook_Icon.svg",alt:""})})),Twitter:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Twitter_Icon.svg",alt:""})})),LINE:r=>(0,rr.jsx)(Ts.Icon,T(_({},r),{children:(0,rr.jsx)(ks,{src:fu+"@env/@logos/brands/Line_Icon.svg",alt:""})}))},Images:{mingooIcon:fu+"@env/@logos/mingoo/icon.png",mingooIconClear:fu+"@env/@logos/mingoo/iconClear.png",comunIcon:fu+"@env/@logos/comun/icon.png",comunIconClear:fu+"@env/@logos/comun/iconClear.png",defaultIcon:r=>fu+"@env/@icon/"+(r||"image")+".png"}};var qS=K(Dt());var y7=r=>{let a=r,{color:o="cloud"}=a,l=Ge(a,["color"]);return(0,qS.jsx)(X,T(_({className:[ug("Placeholder"),r.className].join(" "),flexCenter:!0,position:"relative",ssCardBox:!0,border:"unset",overflow:"hidden",backgroundColor:"layer.3"},l),{children:(0,qS.jsx)(X,{className:[ug("Body"),ug("Color_"+o)].join(" ")})}))};var Sn=r=>(0,cf.jsx)(X,T(_({},r),{htmlTag:"span"})),S7=r=>(0,cf.jsx)(X,T(_({},r),{htmlTag:"p"})),Ud=r=>(0,cf.jsx)(X,_({display:"grid"},r)),At=r=>(0,cf.jsx)(X,T(_({flexType:"row",flexWrap:!0,display:"flex"},r),{freeCSS:_({wordBreak:"break-word"},r.freeCSS)})),w7=r=>(0,cf.jsx)(X,_({width:1,flexSizing:"none"},r)),ar=r=>(0,cf.jsx)(At,_({flexType:"col",gap:1},r));var Es=K(Dt()),fg=K(tr());var C7={Size:(r,a,o,l)=>{let s={fontSize:"inherit"};return o=o||"R",["plain","link"].includes(a)?{}:(o=="xsmall"?s=T(_({},s),{padding:["1/3","2/3"],fontSize:"0.xs",borderRadius:"3.tone.tertiary"}):o=="small"?s=T(_({},s),{padding:["1/2","3/4"],fontSize:"1.mini",borderRadius:"3.tone.tertiary"}):o=="regular"?(s.padding=["3/4",1],a=="prime"&&(s.padding=["3/4",1.5])):o=="large"&&(s.padding=[1,2],s.fontSize="3.paragraph",s.isSemiBoldFont=!0),s=_({borderRadius:"2.tone.secondary",transition:"middle",position:"relative",textAlign:"center"},s),s)},Tone:(r,a,o,l)=>{let s={display:"inlineBlock",fontWeight:"inherit",fontColor:"inherit",border:"unset"};return a=="plain"||(a=="link"?(s.fontColor="theme",s.textAlign="left",s.backgroundColor="trans"):a=="normal"?s=T(_({},s),{backgroundColor:"trans"}):a=="border"?s=T(_({},s),{backgroundColor:"layer.1",border:"2.normal",borderStyle:"solid",boxShadow:"0.min"}):a=="prime"?(s=T(_({},s),{isSemiBoldFont:!0,fontColor:"white",backgroundColor:l,boxShadow:"0.normal",ssEffectsOnActive:["shrink","push","ripple.white"]}),l=="white"&&(s=T(_({},s),{fontColor:"theme",ssEffectsOnActive:["shrink","push","ripple.cloud"]}))):a=="sub"?s=T(_({},s),{fontColor:l,ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="clear"?s=T(_({},s),{fontColor:l,backgroundColor:"trans",ssEffectsOnActive:["shrink","ripple.cloud"]}):a=="fillToBorder"?s=T(_({},s),{boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,fontColor:l,backgroundColor:l}):a=="borderToFill"&&(s=T(_({},s),{fontColor:l,boxShadow:"0.normal",border:"2.normal",borderWidth:2,borderColor:l,backgroundColor:l})),l=="cloud"&&(s.fontColor="2.normal"),a!="link"&&(s=_({position:"relative",ssEffectsOnActive:["shrink","push"]},s))),s}},x7=r=>{let a=nm(_({isLocked:!1,isActive:!1,isActiveStyles:{},isActiveClassName:"",tabIndex:0,className:"",color:"theme",tone:"border","aria-label":(0,fg.UUID)()},r)),o=a.seed;{let{isLocked:l=!1,isActive:s=!1,isActiveStyles:f={},isActiveClassName:c="",tone:h="border",size:p="regular",color:m="theme",className:g=""}=a;a=_(_(_({},C7.Size(r.seed,h,p,m)),C7.Tone(r.seed,h,p,m)),a),a.className=[g,lf("Wrap"),lf("isNeutral_"+!s),lf("isLocked_"+l),lf("Tone_"+h),lf("Color_"+m),lf("Tone_"+h+"_Color_"+m)].join(" "),s&&(a=_(_({className:[a.className,c].join(" ")},a),f))}if(o=="button"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,submitOption:p,onClick:m}=l,g=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","submitOption","onClick"]);return p&&(p=_({acceptInvalidForm:!1,submitDelegationKey:"auxEnter"},p),g=T(_({},g),{"data-form-submit-button":p.formName,"data-sdfike":fg.default.flatArray(p.submitDelegationKey).join(",")})),(0,Es.jsx)(X,T(_({htmlTag:"button"},g),{onClick:b=>Aa(void 0,null,function*(){if(s||(m&&m(b),!p))return;let S=yield _a.CollectForm(p.formName);!p.acceptInvalidForm&&!S.valid||p.callback(S.data,S.valid)})}))}else if(o=="label"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,onClick:p}=l,m=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick"]);return(0,Es.jsx)(X,T(_({htmlTag:"label"},m),{onClick:g=>{s||p&&p(g)}}))}else if(o=="anchor"){let l=a,{isLocked:s,isActive:f,isActiveClassName:c,isActiveStyles:h,onClick:p,href:m="",newTab:g,sync:b,shiftQueryParams:S}=l,w=Ge(l,["isLocked","isActive","isActiveClassName","isActiveStyles","onClick","href","newTab","sync","shiftQueryParams"]);return(0,Es.jsx)(X,T(_({htmlTag:"button"},w),{onClick:k=>{if(s)return;if(p)return p(k);let L=k.ctrlKey||k.metaKey,M=g||!!L,Y=m;S&&(Y+=location.search),b?Mn.pushSync(Y):Mn.push(Y,!!M)}}))}return null},du=function(r,a){let o=s=>(0,Es.jsx)(x7,_({seed:r,tone:a,size:"regular"},s)),l=o;return l.XS=s=>(0,Es.jsx)(o,_({size:"xsmall",tone:a},s)),l.S=s=>(0,Es.jsx)(o,_({size:"small",tone:a},s)),l.R=s=>(0,Es.jsx)(o,_({size:"regular",tone:a},s)),l.L=s=>(0,Es.jsx)(o,_({size:"large",tone:a},s)),l},$S=function(r){let a=o=>(0,Es.jsx)(x7,_({seed:r,tone:"prime",size:"regular"},o));return a.Plain=du(r,"plain"),a.Link=du(r,"link"),a.Normal=du(r,"normal"),a.Border=du(r,"border"),a.Prime=du(r,"prime"),a.Sub=du(r,"sub"),a.Clear=du(r,"clear"),a.FillToBorder=du(r,"fillToBorder"),a.BorderToFill=du(r,"borderToFill"),a},it=$S("button"),dg=$S("label"),ff=$S("anchor");var Rs={Base:r=>{let a=r,{topNavigation:o,sideNavigation:l,footerNavigation:s,children:f,className:c}=a,h=Ge(a,["topNavigation","sideNavigation","footerNavigation","children","className"]);(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.reset(),setTimeout(()=>{Rs.fn.updateCSSProperty.reset()},100);let m="ResizeCB",g="RemovePageEventCB";return(0,wn.default)(window).addEvent({eventType:"resize",eventID:m,callback:()=>{ht.get().screen.isPhonepoint()||wn.default.interval.once(()=>{Rs.fn.updateCSSProperty.reset()},300,"__RVC_calcHeights")}}),()=>{(0,wn.default)(window).removeEvent(g),(0,wn.default)(window).removeEvent(m)}},[]);let p=f;return(0,El.jsxs)(ar,T(_({className:[c,La("RootViewController")].join(" "),backgroundColor:"layer.1",gap:0,minHeight:"viewHeight"},h),{children:[o,(0,El.jsxs)(At,{className:La("Body"),flexWrap:!1,position:"relative",flexSizing:0,children:[l,(0,El.jsx)(X,{className:La("Content"),position:"relative",flexSizing:0,width:0,children:p})]}),s]}))},TopNavigation:r=>{let a=r,{className:o,children:l}=a,s=Ge(a,["className","children"]),[f]=(0,dc.useState)((0,wn.UUID)());return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.topNav()},[]),(0,El.jsx)(At,T(_({"data-id":f,flexSizing:"none",flexType:"col",position:"sticky",top:0,backgroundColor:"layer.1"},s),{id:"__RVC_TopNavigation",className:[o,La("TopNav")].join(" "),children:l}),f)},SideNavigation:r=>{let a=r,{className:o=""}=a,l=Ge(a,["className"]);return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.sideNav()},[]),(0,El.jsx)(X,T(_({className:[o,La("SideNav")].join(" "),flexSizing:"none",minHeight:"sideNavigationHeight"},l),{id:"__RVC_SideNavigation"}))},FooterNavigation:r=>{let a=r,{className:o="",baseStyles:l}=a,s=Ge(a,["className","baseStyles"]),[f]=(0,dc.useState)((0,wn.UUID)());return(0,dc.useEffect)(()=>{Rs.fn.updateCSSProperty.footer()},[]),(0,El.jsx)(At,T(_({"data-id":f,borderTop:!0,position:"sticky",bottom:0,overflow:"auto",backgroundColor:"layer.1",paddingBottom:"safeAreaBottom"},l),{id:"__RVC_FooterNavigation",className:[La("FooterNav"),o].join(" "),children:(0,El.jsx)(At,_({gap:1,flexWrap:!1,padding:"2/3",margin:"auto",width:1},s))}))},Comps:{Button:r=>{let a=r,{isActive:o,uri:l,uriGroup:s}=a,f=Ge(a,["isActive","uri","uriGroup"]),c=wn.default.flatArray(s),h=location.pathname;{let p=!1;if(wn.default.is.exist(l)&&wn.default.is.string(l)){let m=[location.origin,l.replace(/\//,"")].join("/");p=h==new URL(m).pathname}if(!p&&c.length)for(let m of c)wn.default.is.nullish(m)||h.match(new RegExp(m))&&(p=!0);o=o!=null?o:p}return(0,El.jsx)(it.Clear,_({isActive:o,isActiveStyles:{fontColor:"theme",backgroundColor:"cloud"},onClick:p=>{wn.default.is.exist(l)&&wn.default.is.string(l)&&Mn.push(l,p.ctrlKey||p.metaKey)},color:"cloud",padding:["3/4",1],display:"flex",gap:"1/2",fontColor:"inherit",width:1,flexSizing:"none",flexWrap:!1,ssEffectsOnActive:"ripple.cloud",verticalAlign:"center",textAlign:"left",isSemiBoldFont:!0},f))},Bar:r=>(0,El.jsx)(X,_({flexSizing:"none",backgroundColor:"layer.4.opa.middle",unitHeight:"1/3",margin:["2/3",1],isRounded:!0},r)),Title:r=>(0,El.jsx)(X,_({fontSize:"3.paragraph",isSemiBoldFont:!0,padding:[0,1]},r))},fn:{updateCSSProperty:{topNav:()=>{let r=(0,wn.default)(document.body),a=mt("#__RVC_TopNavigation"),o=a.position().height||0,l=o;a.getStyleProperty("position")!="sticky"&&(l=0),r.setStyleProperty("--topNavHeight",o+"px").setStyleProperty("--topBase",l+"px")},footer:()=>{let r=(0,wn.default)(document.body),a=mt("#__RVC_FooterNavigation").position().height||0;r.setStyleProperty("--footerNavHeight",a+"px")},sideNav:()=>{let r=(0,wn.default)(document.body),a=mt("#__RVC_SideNavigation").position().width||0;r.setStyleProperty("--sideNavWidth",a+"px")},reset:()=>{let r=(0,wn.default)(document.body),a=mt("#__RVC_TopNavigation"),o=mt("#__RVC_FooterNavigation"),l=mt("#__RVC_SideNavigation"),s=a.position().height||0,f=s,c=o.position().height||0,h=l.position().width||0;a.getStyleProperty("position")!="sticky"&&(f=0);let p=window.innerHeight,m=window.innerWidth,g=p-s-c,b=m-h;r.setStyleProperty("--topNavHeight",s+"px").setStyleProperty("--topBase",f+"px").setStyleProperty("--footerNavHeight",c+"px").setStyleProperty("--viewHeight",p+"px").setStyleProperty("--sideNavHeight",g+"px").setStyleProperty("--contentHeight",g+"px").setStyleProperty("--contentWidth",b+"px")}}}};var k7=K(Dt());var T7=r=>{let a=r,{size:o="R"}=a,l=Ge(a,["size"]),s={MIN:36,XS:48,S:60,R:72,L:84,XL:100,MAX:120}[o];return(0,k7.jsx)(X,T(_({margin:[0,"auto"],width:1},l),{freeCSS:_({maxWidth:12*s},l.freeCSS)}))};var om=K(Dt()),L7=K(cr());var GS=K(Dt()),KS=K(tr());var Vd=K(cr());var E7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,KS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[c]=(0,Vd.useState)(s);return(0,Vd.useEffect)(()=>{setTimeout(()=>{let h=mt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1})},o)},[]),(0,GS.jsx)(X,T(_({},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:c}))},R7=r=>{let a=r,{animationDelay:o=100,animationTime:l=300,componentID:s=(0,KS.UUID)()}=a,f=Ge(a,["animationDelay","animationTime","componentID"]),[c]=(0,Vd.useState)(s);return(0,Vd.useEffect)(()=>{setTimeout(()=>{let h=mt('[data-component-id="'+c+'"]');h[0]&&h.css({transition:l+"ms"}).await(1).css({opacity:1,paddingTop:0})},o)},[]),(0,GS.jsx)(X,T(_({paddingTop:2},f),{freeCSS:T(_({},f.freeCSS),{opacity:0}),componentID:c}))};var el=K(tr());var df={RippleElementTag:'[data-effect-ripple="1"]',Start:r=>{let a=(0,el.Time)().ms,o=r.target,l=(0,el.default)(o);if(!l[0])return;let s=l.getAttribute("data-effect-tone");if(!s){let O=l.parent('[data-effect-ripple="1"]');if(!O[0])return;l=O,s=O.getAttribute("data-effect-tone")}if(!s)return;let f="RippleWrap-"+(0,el.UUID)(),{left:c,top:h,height:p,width:m}=l.position(),{pageXOffset:g,pageYOffset:b}=el.default.getScreenSize(),{x:S,y:w}=el.default.getCursor(r),k=Math.min(m*1.5,300),L=Math.max(S-(c+g),0),M=Math.max(w-(h+b),0),Y={RippleElement:l,startedAt:a,size:k};(0,el.default)(document).addEvent({eventID:"RippleMouseUp",eventType:"mouseup",callback:()=>{df.End(Y)}}).addEvent({eventID:"RippleTouchEnd",eventType:"touchend",callback:()=>{setTimeout(()=>{df.End(Y)},20)}}),(0,el.default)(l).addClass([Xl("RippleElement"),Xl("Color_"+s)]).append(`<div class="${Xl("RippleWrap")}" id="${f}">
977
+ <div class="${Xl("Wave")}" />
978
+ </div>`).addEvent({eventID:"RippleMouseOut",eventType:"mouseout",callback:O=>{df.End(Y)}}).find("#"+f).find("."+Xl("Wave")).css({left:L,top:M}).await(10).css({height:k,width:k,opacity:".3",transition:".25s"})},End:r=>{let{RippleElement:a,startedAt:o,size:l}=r,s=(0,el.Time)().ms-o<=400?".75s":".55s",f=l*2.5;(0,el.default)(document).removeEvent(["RippleMouseUp","RippleTouchMove","RippleTouchEnd","RippleMouseOut"]),a.removeEvent(["RippleMouseOut"]).find("."+Xl("Wave")).css({height:f,width:f,opacity:"0",transition:s}).await(750).parent().callback(c=>{c.remove()})}},D7={Wrapper:()=>(typeof window=="undefined"||(0,el.default)(ht.get().appRoot).addEvent({eventType:"touchstart",target:df.RippleElementTag,callback:r=>{df.Start(r)}}).addEvent({eventType:"mousedown",eventID:"RippleMouseDown",target:df.RippleElementTag,callback:r=>{ht.get().isTouchDevice||df.Start(r)}}),null)};var XS=K(tr());var A7={Wrapper:()=>(typeof window=="undefined"||(0,XS.default)(ht.get().appRoot).addEvent({eventType:"click",eventID:"PuddingClick",target:'[data-effect-pudding="1"]',callback:function(r){(0,XS.default)(r.target).removeClass(Xl("PuddingEffect")).await(1).addClass(Xl("PuddingEffect")).await(510).removeClass(Xl("PuddingEffect"))}}),null)};var pu={Ripple:D7,Pudding:A7,FadeIn:E7,FadeUp:R7};var N7=r=>{let{viewIndex:a=0,views:o,wrapper:l=c=>(0,om.jsx)(pu.FadeIn,{animationTime:400,children:c},a)}=r;a=Math.min(Math.max(a,0),o.length);let[s,f]=(0,L7.useState)(a);return s!=a&&f(a),(0,om.jsx)(om.Fragment,{children:l(o[a])})};var lm=K(Dt()),Rl=K(tr()),pc=K(cr());var s$=r=>{let a=r,{options:{onSlideCallback:o,visibilitySurroundSlide:l=!0,autoSwipems:s=0,loop:f=!1,disableMousedrag:c=!1,disableTouch:h=!1}={},wrapper:p=j=>j,slides:m=[],slideIndex:g}=a,b=Ge(a,["options","wrapper","slides","slideIndex"]),[S]=(0,pc.useState)((0,Rl.UUID)()),[w,k]=(0,pc.useState)({eventType:"init",index:r.slideIndex}),L=(0,pc.useRef)(!1);(0,pc.useEffect)(()=>{k({eventType:"usr",index:r.slideIndex}),L.current||(L.current=!0)},[r.slideIndex]),(0,pc.useEffect)(()=>{let j=w.index+(f?1:0),F=[-1,m.length].includes(w.index);F||o&&setTimeout(()=>{o(w.index)},300);let Q=mt("#Swiper-"+S);if(w.eventType=="adjustLoop")Q.await(250).css({transition:"0s",transform:Wd(j)}).children().removeClass(La("Display")).parent().children(j).addClass([La("Display"),La("LoopAdjusting")]).await(100).removeClass(La("LoopAdjusting"));else if(w.eventType=="sys")Q.await(250).css({transform:Wd(j)}).children().removeClass(La("Display")).parent().children(j).addClass(La("Display"));else if(Q.children().removeClass(La("Display")).parent().children(j).addClass(La("Display")).parent().css({transition:"0.3s",transform:Wd(j)}).await(250).css({transition:"0s"}),F){let N=w.index==-1?m.length-1:0;k({eventType:"adjustLoop",index:N})}s&&!F&&Rl.default.interval.once(()=>{let N=w.index+1;!f&&N>m.length-1&&(N=0),k({eventType:"usr",index:N})},s-(w.eventType=="sys"?310:0),"SwipeTimer-"+S)},[w]);let M=m.map((j,F)=>(0,lm.jsx)(X,{flexSizing:"none",width:1,height:0,className:La("Child"),children:p(j)},F));f&&(M.push(T(_({},M[0]),{key:M[0].key+"-Shallow0"})),M.unshift(T(_({},M[M.length-2]),{key:M[M.length-2].key+"-Shallow0"})));let Y={x:0,y:0,process:!1,effectStartAt:0,id:S,loop:f,index:w.index,minIndex:f?-1:0,maxIndex:m.length+(f?1:-1),width:0,set_event:k},O=w.index+ +!!f;return(0,lm.jsx)(X,T(_({overflow:"hidden",position:"relative"},b),{className:[b.className,La("SwipeView")].join(" "),freeCSS:_({zIndex:1},b.freeCSS),"data-swipe-id":S,onPointerDown:j=>{if(j.pointerType=="touch"){if(h)return}else if(j.pointerType=="mouse"&&(c||j.buttons!=1))return;im.Start(j,Y)},children:(0,lm.jsx)(At,{flexWrap:!1,gap:1,transition:"long",className:[La("Rail"),La("ShowOther_"+l)].join(" "),id:"Swiper-"+S,freeCSS:_({},L.current?{}:{transform:Wd(O)}),children:M})}))},Wd=r=>`translateX( calc( ${-100*r}% - ${12*r}px ) )`,im={Start:(r,a)=>{let{x:o,y:l}=Rl.default.getCursor(r),s=r.currentTarget,f=r.target;if(["SELECT","BUTTON","LABEL","INPUT"].includes(f.tagName))return;a=T(_({},a),{x:o-a.x+window.scrollX,y:l-a.y+window.scrollY,effectStartAt:new Date().getTime(),width:mt("#Swiper-"+a.id).position().width});let{swipeId:c}=s.dataset;c==a.id&&(0,Rl.default)(document).addEvent({eventID:"SwipeView.PointerMove",eventType:"pointermove",callback:h=>{im.Check(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.PointerUp",eventType:"pointerup",callback:h=>{im.End(h,a)},options:{passive:!1}})},Check:(r,a)=>{if(a.process)return;let{x:o,y:l}=Rl.default.getCursor(r),s=Math.abs(o-a.x+window.scrollX),f=Math.abs(l-a.y+window.scrollY);if(!(r.touches&&r.touches.length>1)&&!(f+s<15))if(f>s/2)(0,Rl.default)(document).removeEvent(["SwipeView.PointerMove"]);else{a.process=!0;let c=a.index+(a.loop?1:0);mt("#Swiper-"+a.id).children(c-1).addClass(La("Display")),(0,Rl.default)(document).addEvent({eventID:"SwipeView.Check.MouseMove",eventType:"mousemove",callback:h=>{im.Move(h,a)},options:{passive:!1}}).addEvent({eventID:"SwipeView.Check.TouchMove",eventType:"touchmove",callback:h=>{im.Move(h,a)},options:{passive:!1}}),r.preventDefault();return}},Move:(r,a)=>{if(r.touches&&r.touches.length>1)return;let{x:o}=Rl.default.getCursor(r),l=o-a.x+window.scrollX,s=a.index+(a.loop?1:0)-l/a.width;if(s<0)s/=2;else if(s>a.maxIndex){let f=s-a.maxIndex;s=a.maxIndex+f/2}mt("#Swiper-"+a.id).css({transition:"0s",transform:Wd(s)}),r.preventDefault()},End:(r,a)=>{if(a.process){let o=Rl.default.getCursor(r).x-a.x+window.scrollX,l=new Date().getTime(),s=l-a.effectStartAt,f=a.index+(a.loop?1:0),c=0;s<400?c=f-(+(o>0)*2-1):c=Math.round(f-o/a.width),c=Math.max(Math.min(c,a.maxIndex),a.minIndex),a.process=!1,f===c?(a.effectStartAt=l,mt("#Swiper-"+a.id).css({transition:".2s",transform:Wd(c)}).await(310).css({transition:"0s"}).children().removeClass(La("Display")).parent().children(f).addClass(La("Display"))):a.set_event({eventType:"usr",index:c+a.minIndex})}(0,Rl.default)(document).removeEvent(["SwipeView.PointerMove","SwipeView.Check.MouseMove","SwipeView.Check.TouchMove","SwipeView.PointerUp"])}},O7=r=>(0,lm.jsx)(s$,T(_({},r),{slideIndex:Math.max(Math.min(r.slideIndex,r.slides.length-1),0)}));var Lg=K(Dt()),WO=K(cr());var hc=K(Dt());var M7=r=>{if(r||(r="border"),r=="plain")return{};let a={flexSizing:"none",padding:"3/4",borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return r=="border"?a=T(_({},a),{border:!0}):r=="cloud"?a=T(_({},a),{border:"1.thin"}):r=="bottomBorder"&&(a=T(_({},a),{borderRadius:0,borderBottom:!0})),a},pg={position:"absolute",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",top:"50%",freeCSS:{pointerEvents:"none",transform:"translateY(-50%)"}},hg=r=>(0,hc.jsx)(Sn,_({children:"\u5FC5\u9808",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary"},r)),mg=r=>(0,hc.jsx)(Sn,_({children:"*",fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary"},r)),vg=r=>(0,hc.jsx)(Sn,_({children:"\u7701\u7565\u53EF",fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6"},r)),_g=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,_(T(_({},M7(o)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),l))},gg=r=>{let a=r,{tone:o}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,_(T(_({},M7(o)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),l))},Ba=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,T(_(T(_({},pg),{right:"3/4"}),l),{freeCSS:_(_({},pg.freeCSS),l.freeCSS)}))},qd=r=>{let a=r,{tone:o="border"}=a,l=Ge(a,["tone"]);return(0,hc.jsx)(X,T(_(T(_({},pg),{left:"3/4"}),l),{freeCSS:_(_({},pg.freeCSS),l.freeCSS)}))};var P7=K(Dt());var I7=r=>(0,P7.jsx)(X,_({htmlTag:"input"},r));var rw=K(Dt()),$d=K(tr()),cm=K(cr());var Hn=K(Dt()),hf=K(cr()),pa=K(tr());var ZS={};Ed(ZS,{Accordion:()=>JS,LinkifyText:()=>z7,List:()=>B7,ListItem:()=>Yd,Row:()=>vt,Text:()=>nr});var QS=K(Dt()),Jl=K(tr()),hu=K(cr());var c$=r=>{r=_({},r);let a=r,{accordionID:o="",slideAnimation:l="fast",defaultOpen:s=!1,override:f=!1}=a,c=Ge(a,["accordionID","slideAnimation","defaultOpen","override"]),[h]=(0,hu.useState)((0,Jl.UUID)()),[p]=(0,hu.useState)((0,Jl.UUID)()),[m,g]=(0,hu.useState)(s);m!=s&&f&&g(s);let b=(0,hu.useRef)(!1);return(0,hu.useEffect)(()=>{let S=mt('[data-accordion-content-id="'+p+'"]')[0];if(S){let w=S.offsetHeight,k=0;l=="fast"?(k=w/1e3,k=Math.max(k,.2)):l=="slow"&&(k=w/300),mt("#"+h).css({transition:k+"s"})}},[]),(0,hu.useEffect)(()=>{let S=mt("#"+h),w=mt('[data-accordion-content-id="'+p+'"]')[0];if(b.current){if(w){let k=w.offsetHeight;Jl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:k+1+"px"}).await(100).css({maxHeight:"0px",overflow:"hidden"}))}}else if(b.current=!0,w){let k=w.offsetHeight;Jl.default.is.exist(k)&&(m?S.css({maxHeight:k+1+"px"}).await(200).css({maxHeight:"unset",overflow:(r==null?void 0:r.overflow)||"unset"}):S.css({maxHeight:"0px",overflow:"hidden"}))}},[m]),o&&Jl.useStore.set({["Accordion-"+o]:{open:()=>{g(!0)},close:()=>{g(!1)},toggle:()=>{g(!m)}}}),(0,QS.jsx)(X,{className:[VS("Wrap"),VS("Open_"+m)].join(" "),id:h,children:(0,QS.jsx)(X,_({"data-accordion-content-id":p},c))})},JS=c$;JS.fn={open:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.open()},close:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.close()},toggle:r=>{let a=Jl.useStore.get("Accordion-"+r);!a||a.toggle()}};var sm=K(Dt());var z7=r=>{let{text:a,placeholder:o}=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 f=a.split("[$_url]");for(let c=0;c<=f.length-1;c++){let h=f[c],p=s[c];l.push(h),c<f.length-1&&l.push((0,sm.jsx)(ff.Link,{href:p,newTab:!0,children:p},"Link-"+c))}}else o&&(l=[o]);return(0,sm.jsx)(sm.Fragment,{children:l})};var Dl=K(Dt());var B7=r=>{let a=r,{items:o=[],ListChildCallback:l}=a,s=Ge(a,["items","ListChildCallback"]);l=l||F7;let f=o.map((c,h)=>(0,Dl.jsx)(l,{children:c,index:h},h));return(0,Dl.jsx)(X,T(_({htmlTag:"ul",children:f},s),{freeCSS:_({listStyle:"none"},s.freeCSS)}))},F7=r=>(0,Dl.jsx)(X,_({htmlTag:"li",padding:"3/4",gap:"1/2",borderBottom:!0,flexWrap:!0},r)),Yd=F7;Yd.Center=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(vt.Center,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Yd.Left=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(vt.Left,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Yd.Right=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(vt.Right,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))}),Yd.Separate=r=>(0,Dl.jsx)(X,{htmlTag:"li",children:(0,Dl.jsx)(vt.Separate,_({width:1,padding:"3/4",borderBottom:!0,flexWrap:!0},r))});var um=K(Dt());var vt={Center:r=>(0,um.jsx)(At,_({horizontalAlign:"center",verticalAlign:"center",flexWrap:!1,gap:1},r)),Left:r=>(0,um.jsx)(At,_({horizontalAlign:"left",verticalAlign:"center",flexWrap:!1,gap:1},r)),Right:r=>(0,um.jsx)(At,_({horizontalAlign:"right",verticalAlign:"center",flexWrap:!1,gap:1},r)),Separate:r=>(0,um.jsx)(At,_({horizontalAlign:"between",verticalAlign:"center",flexWrap:!1,gap:1},r))};var mu=K(Dt());var pf=r=>(0,mu.jsx)(X,_({},r)),nr=pf;nr.Title=r=>(0,mu.jsx)(pf,_({fontSize:"6.title",fontWeight:"3.semiBold"},r)),nr.SubTitle=r=>(0,mu.jsx)(pf,_({fontSize:"5.subTitle",fontWeight:"3.semiBold"},r)),nr.ThirdTitle=r=>(0,mu.jsx)(pf,_({fontSize:"4.thirdTitle",fontWeight:"3.semiBold"},r)),nr.Paragraph=r=>(0,mu.jsx)(pf,_({fontSize:"3.paragraph",fontWeight:"3.semiBold"},r)),nr.Description=r=>(0,mu.jsx)(pf,T(_({},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)})),nr.Supplement=r=>(0,mu.jsx)(pf,_({fontSize:"1.mini"},r)),nr.NowrapSpan=r=>(0,mu.jsx)(Sn,T(_({},r),{freeCSS:_({whiteSpace:"nowrap"},r.freeCSS)}));var j7=K(Dt()),ew=K(tr());var Rr=K(Dt()),It=K(tr()),qa=K(cr());var Ds={currentIndex:0,mainSheetIDs:{},getSessionStates:()=>It.useStore.get("sessionStates-"+ht.get().sessionUID)||null,getNewSheetStates:r=>{var a;let o=T(_({sheetGroups:r.sheetGroups||[],backgroundEffect:!0,overwrap:r.type=="custom",hold_state:!1,closeAtPageTransit:!0,closeAtEscapeKeyDown:!0,closeAtAroundClick:r.type=="custom"},r),{sheetID:r.sheetID||(0,It.UUID)(),isOpen:!0,created_at:(0,It.Time)()});if(o.type=="custom"){let l=o;l.parent=l.parent||((a=l==null?void 0:l.event)==null?void 0:a.currentTarget),o=l}return o}},bg={Wrapper:()=>{let[r,a]=(0,qa.useState)(!1),[o,l]=(0,qa.useState)([]),s={val_sheets:o,set_sheets:l};It.useStore.set({["sessionStates-"+ht.get().sessionUID]:s}),(0,qa.useEffect)(()=>{It.useStore.set({["Sheet-"+ht.get().sessionUID]:{add:(c,h)=>{let p=It.useStore.get("Sheet-"+ht.get().sessionUID);if(!p)return;let m=Ds.getNewSheetStates(c);if(h!="inherit"&&(m.isOpen=h!=null?h:!0),!!p.find(m.sheetID)){l(g=>{let b=[...g],S=b.findIndex(w=>w.sheetID==m.sheetID);return S==-1||(b[S]=m),b});return}l(g=>[m,...g])},find:c=>{let h=Ds.getSessionStates();if(!h)return null;let{val_sheets:p}=h;return p.find(m=>m.sheetID==c)}}}),(0,It.default)(ht.get().appRoot).addEvent({eventType:"keyup",eventID:"SheetEvent.keyUp",callback:function(c){let{key:h,metaKey:p}=c;if(h=="Escape"||h==","&&p){let m=Ds.getSessionStates();if(!m)return;let{val_sheets:g}=m,b=g.filter(w=>w.isOpen);if(!b.length)return;let S=b.reduce((w,k)=>w.created_at.value>k.created_at.value?w:k);hr.close(S.sheetID,h)}}}).addEvent({eventType:"click",eventID:"SheetEvent.Click",callback:function(c){let h=Ds.getSessionStates();if(!h)return;let{val_sheets:p}=h,m=c.target;if(!m||m!=null&&m.closest("."+oa("CustomSheet")))return;let g=p.filter(b=>b.type=="custom");g.length&&g.forEach(b=>{let{parent:S}=b;if(!b.closeAtAroundClick)return;let w=mt(S)[0];S!==m&&w!==m&&((0,It.default)(w).find(m).length||hr.close(b.sheetID))})}})},[]),(0,qa.useEffect)(()=>{let c=o.filter(h=>h.backgroundEffect&&h.isOpen&&!h.overwrap&&h.type!="custom");a(!!c.length)},[o]),(0,qa.useEffect)(()=>{let c=mt(".AMOTIFY_be_root");if(r){let h=(0,It.default)("html").position(),p=32/h.height,m=32/h.width;c.addClass(oa("BodyEffect")).css({transform:`scale(${1-m},${1-p})`})}else c.css({transform:"scale(1)"}).removeClass(oa("BodyEffect"))},[r]);let f=o.map(c=>(0,Rr.jsx)(bg.Core,T(_({},s),{val_sheet:c,patch_sheet:h=>{l(p=>{let m=[...p],g=m.findIndex(b=>b.sheetID==c.sheetID);return g==-1||(m[g]=_(_({},m[g]),h)),m})},delete_sheet:()=>{l(h=>{let p=[...h],m=p.findIndex(g=>g.sheetID==c.sheetID);return m==-1||p.splice(m,1),p})}}),c.sheetID));return(0,Rr.jsx)(X,{className:["AMOTIFY_be",oa("Wrapper")].join(" "),children:f})},Core:r=>{let{val_sheet:a,patch_sheet:o}=r,[l,s]=(0,qa.useState)(Ds.currentIndex+2),[f]=(0,qa.useState)((0,It.UUID)()),c=a.type!="custom"&&!a.overwrap;(0,qa.useEffect)(()=>{Ds.currentIndex++,It.default.scope(()=>{if(!a.closeAtParentBlur)return;let g=(0,It.default)(a.parent);g[0]&&g.addEvent({eventID:"SheetClosation-"+a.sheetID,eventType:"mouseout",callback:()=>{g.removeEvent("SheetClosation-"+a.sheetID),o({isOpen:!1})}})}),It.useStore.set({[a.sheetID]:{resize:g=>{if(a.type=="drawer.bottom"){let b=It.useStore.get(f);b&&b.resize&&b.resize(g)}else(a.type.includes("normal")||a.type.includes("drawer"))&&o({size:g})},close:g=>{o({isOpen:!1})},open:()=>{o({isOpen:!0})}}})},[]),(0,qa.useEffect)(()=>{It.default.scope(()=>{let g=mt("#"+f);if(a.isOpen){a.hold_state&&s(Ds.currentIndex+1),g.await(10).removeClass(oa("Hide")).await(10).addClass(oa("Open")).callback(()=>{a.openAfter&&a.openAfter()});return}g.await(10).removeClass(oa("Open")).await(251).addClass(oa("Hide")).callback(()=>{if(a.closeAfter&&a.closeAfter(),c&&(0,It.default)(ht.get().appRoot).focus(),a.hold_state)return o({isOpen:!1});r.delete_sheet()})})},[a.isOpen]);let[h,p]=a.type.split("."),m=bg.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[a.type]];return(0,Rr.jsx)(X,{className:[oa("Wrap"),oa("Tcate_"+h),oa("Tpos_"+p),oa("isMainSheet_"+c)].join(" "),width:1,ssAbsoluteCovered:!0,freeCSS:{zIndex:l},id:f,children:(0,Rr.jsxs)(ar,{className:oa("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[!!c&&(0,Rr.jsx)(bg.TapSensor,{sheetID:a.sheetID,delegateAroundClick:a.closeAtAroundClick}),(0,Rr.jsx)(m,_({componentID:f},a))]})},f)},Types:{Normal:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,content:f,className:c="",type:h,size:p="R",freeCSS:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["sheetID","sheetGroups","bodyScrolls","content","className","type","size","freeCSS","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),[N,te]=h.split("."),_e={},re=[];return te.match(/top/)?(re.push("top"),_e.marginBottom="auto"):te.match(/middle/)?(re.push("center"),_e.marginTop="auto",_e.marginBottom="auto"):te.match(/bottom/)&&(re.push("bottom"),_e.marginTop="auto"),te.match(/left/i)?(re.push("left"),_e.marginRight="auto"):te.match(/center/i)?(re.push("center"),_e.marginLeft="auto",_e.marginRight="auto"):te.match(/right/i)&&(re.push("right"),_e.marginLeft="auto"),(0,Rr.jsx)(X,T(_(_({className:[oa("BB"),c].join(" "),padding:1,transition:"long",opacity:"trans"},Q),_e),{freeCSS:_({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100%"}[p],maxWidth:"96vw",transformOrigin:re.join(" ")},m),children:It.default.is.function(f)?(0,Rr.jsx)(f,{}):f}))},Edge:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,type:f,content:c,className:h="",size:p="R",openAfter:m,closeAfter:g,closeAtAroundClick:b,closeAtEscapeKeyDown:S,closeAtPageTransit:w,closeAtParentBlur:k,closeAtSwipeDown:L,hold_state:M,overwrap:Y,isOpen:O,backgroundEffect:j}=a,F=Ge(a,["sheetID","sheetGroups","bodyScrolls","type","content","className","size","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]);return(0,Rr.jsx)(X,T(_(T(_({className:[oa("BB"),h].join(" ")},f=="drawer.right"?{marginLeft:"auto"}:f=="drawer.left"?{marginRight:"auto"}:{}),{opacity:"trans",transition:"long",position:"relative",backgroundColor:"layer.1",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark"}),F),{freeCSS:_({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"100vw"}[p],maxWidth:"96vw"},F.freeCSS),children:It.default.is.function(c)?(0,Rr.jsx)(c,{}):c}))},Bottom:r=>{let a=r,{componentID:o,sheetID:l,sheetGroups:s,bodyScrolls:f,content:c,size:h="R",sizeChanged:p,baseStyles:m,openAfter:g,closeAfter:b,closeAtAroundClick:S,closeAtEscapeKeyDown:w,closeAtPageTransit:k,closeAtParentBlur:L,closeAtSwipeDown:M=!0,hold_state:Y,overwrap:O,isOpen:j,backgroundEffect:F}=a,Q=Ge(a,["componentID","sheetID","sheetGroups","bodyScrolls","content","size","sizeChanged","baseStyles","openAfter","closeAfter","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","overwrap","isOpen","backgroundEffect"]),N=It.default.getScreenSize(),te=[0,.2,.6,.95],_e={ZERO:0,S:1,R:2,L:3},[re,be]=(0,qa.useState)(h),[ye,ge]=(0,qa.useState)({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:te[_e[h]]});It.useStore.update({[o]:{val_edit:ye,resize:fe=>{let B=te[_e[fe]];ge(W=>T(_({},W),{value:B})),be(fe)}}});let H={Start:fe=>{(0,It.default)(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:H.Move,options:{passive:!1}}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:H.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:H.End});let B=It.default.getCursor(fe),W=T(_({},ye),{process:!0,processStart:new Date().getTime(),originY:B.y,originValue:ye.value,viewHeight:It.default.getScreenSize().height});It.useStore.update({[o]:{val_edit:W}}),ge(W)},Move:fe=>{var B;let W=(B=It.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;let ne=(It.default.getCursor(fe).y-W.originY)/W.viewHeight,ee=W.originValue-ne;if(ee>.95)ee=.95+(ee-.95)*.5;else if(ee<.2){let de=.2-ee;de-=.1,ee=.1+(.1-de)*.5}return ge(T(_({},W),{value:ee})),fe.preventDefault(),fe.stopPropagation(),!1},End:fe=>{var B;let W=(B=It.useStore.get(o))==null?void 0:B.val_edit;if(!W.process)return;(0,It.default)(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let ne=0;if(W.value<.1||(W.value<.5?ne=1:W.value>.75?ne=3:ne=2),new Date().getTime()-W.processStart<300){let ee=It.default.getCursor(fe).y-W.originY;if(Math.abs(ee)>=20){let de=+(ee<0)*2-1;ne+=de,ne=Math.min(Math.max(ne,0),te.length-1)}}ne==0&&(M||(ne=1)),be(["ZERO","S","R","L"][ne]),ge(T(_({},W),{value:te[ne],process:!1}))}},le=(0,qa.useRef)(!1);return(0,qa.useEffect)(()=>{le.current?re=="ZERO"?M&&hr.close(l):setTimeout(()=>{r.sizeChanged&&r.sizeChanged(re)},250):le.current=!0},[re]),(0,Rr.jsx)(X,{className:oa("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:_({maxWidth:12*60,height:N.height*ye.value},ye.process?{transition:"0s"}:{}),children:(0,Rr.jsxs)(ar,T(_({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},m),{children:[(0,Rr.jsx)(vt.Separate,{padding:"1/2",backgroundColor:"layer.1",position:"relative",freeCSS:{userSelect:"none"},children:(0,Rr.jsx)(vt.Center,{onMouseDown:H.Start,onTouchStart:H.Start,flexSizing:0,padding:"2/3",ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:(0,Rr.jsx)(X,{unitWidth:6,unitHeight:"1/2",backgroundColor:"layer.4",isRounded:!0,className:oa("DragBar")})})}),(0,Rr.jsx)(X,T(_({backgroundColor:"layer.1",flexSizing:0,overflow:"auto"},Q),{children:It.default.is.function(c)?(0,Rr.jsx)(c,{}):c}))]}))})},Custom:r=>{let a=r,{sheetID:o,sheetGroups:l,bodyScrolls:s,event:f,parent:c,nextToCursor:h,gravityPoint:p=22,content:m,closeAtAroundClick:g,closeAtEscapeKeyDown:b,closeAtPageTransit:S,closeAtParentBlur:w,closeAtSwipeDown:k,hold_state:L,openAfter:M,closeAfter:Y,overwrap:O,isOpen:j,resize:F,backgroundEffect:Q}=a,N=Ge(a,["sheetID","sheetGroups","bodyScrolls","event","parent","nextToCursor","gravityPoint","content","closeAtAroundClick","closeAtEscapeKeyDown","closeAtPageTransit","closeAtParentBlur","closeAtSwipeDown","hold_state","openAfter","closeAfter","overwrap","isOpen","resize","backgroundEffect"]),[te]=(0,qa.useState)((0,It.UUID)()),_e=It.default.is.element(c)||It.default.is.jmini(c)?(0,It.default)(c):mt(c),re='[data-sheet-id="'+te+'"]',be='[data-sheet-content="'+te+'"]';p=p;let ye=p%5||5,ge=Math.ceil(p/5),H={Init:()=>{if(h&&f){let Se=It.default.getScreenSize(),Ye=It.default.getCursor(f);return{top:Ye.y-Se.pageYOffset,left:Ye.x-Se.pageXOffset}}let fe={};if(!_e||!_e[0])return fe;let{top:B,right:W,bottom:ne,left:ee,height:de,width:Ce}=_e.position();return[1,2].includes(ye)?fe.left=ee:ye==3?fe.left=ee+Ce/2:[4,5].includes(ye)&&(fe.left=W),p<=10?fe.top=B:p<=15?fe.top=B+de/2:p<=25&&(fe.top=ne),fe},Adjust:()=>{let fe=mt(re).position(),B=mt(be).position(),W=_e.position(),ne=It.default.getScreenSize(),ee={};for(let Se in B)ee[Se]=B[Se];if(It.default.scope(()=>{if(r.nextToCursor)return;let Se=0;ge==1?Se=W.top-ee.bottom:ge==2?Se=W.top-ee.top:ge==3?Se=W.top-ee.top+(W.height-ee.height)/2:ge==4?Se=W.bottom-ee.bottom:ge==5&&(Se=W.bottom-ee.top),ee.top+=Se,ee.bottom+=Se}),It.default.scope(()=>{if(r.nextToCursor)return;let Se=0;ye==1?Se=W.left-ee.right:ye==2?Se=W.left-ee.left:ye==3?Se=W.left-ee.left+(W.width-ee.width)/2:ye==4?Se=W.right-ee.right:ye==5&&(Se=W.right-ee.left),ee.left+=Se,ee.right+=Se}),ee.top<0){let Se=-ee.top;ee.top+=Se,ee.bottom+=Se}if(ee.bottom>ne.height){let Se=ee.bottom-ne.height;ee.top-=Se,ee.bottom-=Se}if(ee.left<0){let Se=-ee.left;ee.left+=Se,ee.right+=Se}if(ee.right>ne.width){let Se=ee.right-ne.width;ee.left-=Se,ee.right-=Se}let de=ee.top-B.top,Ce=ee.left-B.left;(0,It.default)(re).css({top:fe.top+de+"px",left:fe.left+Ce+"px"})}},[le]=(0,qa.useState)(H.Init());return(0,qa.useEffect)(()=>{mt(re).await(10).addClass(oa("Open")).await(200).callback(()=>{(F==null||F)&&H.Adjust()}),It.useStore.update({["customSheet-"+r.sheetID]:{reposition:()=>{H.Adjust()}}})},[]),_e[0]?(0,Rr.jsx)(X,{className:[oa("BB"),oa("CustomSheet")].join(" "),"data-sheet-id":te,transition:"long",position:"absolute",width:0,height:0,opacity:"trans",flexCenter:!0,freeCSS:le,children:(0,Rr.jsx)(At,{position:"absolute",className:[oa("GPT"),oa("GPT_"+p),oa("Col_"+ye),oa("Row_"+ge)].join(" "),children:(0,Rr.jsx)(X,T(_({"data-sheet-content":te,flexSizing:"none",maxHeight:"viewHeight"},N),{freeCSS:_({maxWidth:"98vw"},N.freeCSS),children:It.default.is.function(m)?(0,Rr.jsx)(m,{}):m}))})}):null}},TapSensor:r=>(0,Rr.jsx)(X,{className:oa("TapSensor"),children:(0,Rr.jsx)(it.Plain,{className:oa("TapContent"),onClick:()=>{var a;(a=r.delegateAroundClick)!=null&&a&&hr.close(r.sheetID)},freeCSS:{cursor:"default",pointerEvents:"all"}})})},hr={Wrapper:()=>(0,Rr.jsx)(bg.Wrapper,{}),open:(r,a)=>{if(r.sheetID=(r.sheetID||"").replace(/\./g,"-"),r.type=="image"){let l=r.sheetID||(0,It.UUID)(),s=r,{type:f,src:c}=s,h=Ge(s,["type","src"]);hr.open(T(_({type:"normal.topCenter",size:"MAX",backgroundColor:"trans",height:"viewHeight"},h),{sheetID:l,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[p]=(0,qa.useState)(It.default.flatArray(c)),[m,g]=(0,qa.useState)(0),b=[];return p.forEach((S,w)=>{b.push({value:w,label:(0,Rr.jsx)(ks,{src:It.default.flatArray(S)[0],width:"auto",height:1,borderRadius:"3.tone.tertiary",freeCSS:{maxWidth:12*6,maxHeight:12*3}})})}),(0,Rr.jsxs)(ar,{gap:0,height:1,position:"relative",children:[(0,Rr.jsxs)(vt.Separate,{position:"absolute",top:0,left:0,right:0,padding:[1,2],freeCSS:{zIndex:2},children:[(0,Rr.jsx)(_a.Radio,{icon:!1,value:m,override:"force",horizontalAlign:"center",onUpdateValidValue:S=>{g(S)},cellStyles:{border:!0,borderWidth:2,padding:"1/3",paddingRight:"1/3",boxShadow:"2.normal",gap:0},cellCheckedStyles:{borderColor:"theme"},options:b}),(0,Rr.jsx)(it.Sub.S,{color:"cloud",ssSphere:3,onClick:()=>{hr.close(l)},children:(0,Rr.jsx)(Ne.Times,{})})]}),(0,Rr.jsx)(pu.FadeIn,{flexCenter:!0,flexSizing:0,overflow:"auto",children:(0,Rr.jsx)(ks,{width:"auto",height:"auto",maxWidth:1,maxHeight:1,src:p[m]})},m)]})}}));return}let o=It.useStore.get("Sheet-"+ht.get().sessionUID);o&&o.add(r,a)},resize:r=>{r.sheetID=(r.sheetID||"").replace(/\./g,"-");let a=It.useStore.get(r.sheetID);a&&a.resize&&a.resize(r.size)},customSheet:{reposition:r=>{let a=It.useStore.get("customSheet-"+r);a&&a.reposition&&a.reposition()}},close:function(r,a,o){let l=Ds.getSessionStates();if(!l)return;let{val_sheets:s}=l;r=r==null?void 0:r.replace(/\./g,"-");let f=s.find(h=>h.sheetID==r);if(!f||a=="Escape"&&!f.closeAtEscapeKeyDown)return;let c=It.useStore.get(f.sheetID);c&&c.close&&c.close(o)},closeGroup:r=>{let a=Ds.getSessionStates();if(!a)return;let{val_sheets:o}=a;r=(r||"").replace(/\./g,"-");for(let l of o)l.sheetGroups&&l.sheetGroups==r&&hr.close(l.sheetID)},closeAll:r=>{let a=Ds.getSessionStates();if(!a)return;let{val_sheets:o}=a;for(let l of o)r&&!l.closeAtPageTransit||hr.close(l.sheetID,"pageTransit",!0)},Body:r=>(0,Rr.jsx)(X,_({className:oa("BaseBody"),backgroundColor:"layer.1",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},r))};var Na={__memoryID:(0,ew.UUID)(),open:r=>{let a=r,{tipsID:o=(0,ew.UUID)(),tipsGroups:l=[]}=a,s=Ge(a,["tipsID","tipsGroups"]);hr.open(T(_({sheetID:o,sheetGroups:["tooltips",...l],closeAtAroundClick:!0,closeAtParentBlur:!0,closeAtEscapeKeyDown:!0,closeAtPageTransit:!0},s),{type:"custom"}))},close:r=>{r&&hr.close(r)},closeALL:()=>{hr.closeGroup("tooltips")},Body:r=>(0,j7.jsx)(X,_({padding:"1/2",backgroundColor:"dark",borderRadius:"2.tone.secondary",fontColor:"white",boxShadow:"0.normal"},r))};var Ea=r=>{let[a]=(0,hf.useState)(r.componentID||(0,pa.UUID)());r=_({},r),r.states=T(_({enableFormSubmit:!0,status_id:(0,pa.UUID)(),override:"never",form:"",id:(0,pa.UUID)(),"aria-label":"Input-"+a},r.states),{componentID:a});let{children:o}=r;return(0,Hn.jsx)(o,_({},r.states))},Fa=r=>{let{children:a,val_status:o,val_validate:l,states:s}=r,{leftIcon:f,wrapStyles:c}=s;return o.eventType=="init"&&!s.checkValidationAtFirst&&(l.notice=[]),(0,Hn.jsxs)(vt.Center,T(_({position:"relative",verticalAlign:"unset",gap:0},c),{className:Hd("Wrapper"),"data-notice-uid":o.componentID,children:[(0,Hn.jsx)(tw.Notice,{notice:l.notice,val_status:o}),s.leftIndicator,(0,Hn.jsxs)(At,{position:"relative",flexSizing:"auto",children:[a,f,(0,Hn.jsx)(tw.RightIcon,_({},r)),(0,Hn.jsx)(tw.ClearButton,_({},r))]}),s.rightIndicator]}))},tw={ClearButton:r=>!r.states.clearButton||!r.val_status.dataValue?null:(0,Hn.jsx)(it.Normal,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{r.set_status(a=>T(_({},a),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,pa.UUID)()}))},children:(0,Hn.jsx)(Ne.Times,{})}),RightIcon:r=>r.states.clearButton&&r.val_status.dataValue?null:r.states.rightIcon,Notice:r=>{let{notice:a,val_status:o}=r,{componentID:l}=o,s="NoticeTimer-"+l,f="NoticeTimerClose-"+l,c="notice-tips-"+l;return(0,hf.useEffect)(()=>{pa.default.interval.once(()=>{if(!a.length){Na.close(c);return}Na.open({tipsID:c,parent:`[data-notice-uid="${l}"]`,gravityPoint:22,padding:[1,0],closeAtParentBlur:!1,content:(0,Hn.jsxs)(Na.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[(0,Hn.jsx)(X,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),(0,Hn.jsx)(ar,{backgroundColor:"inherit",gap:"1/3",position:"relative",freeCSS:{zIndex:2},children:a.map((h,p)=>{let{type:m,label:g}=h,b=m=="invalid"?Ne.Times:m=="warn"?Ne.Exclamation:Ne.Check;return(0,Hn.jsxs)(vt.Left,{gap:0,borderRadius:"2.tone.secondary",children:[(0,Hn.jsx)(b,{flexCenter:!0,fontSize:"2.normal",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),(0,Hn.jsx)(nr.Supplement,{fontSize:"0.xs",fontColor:"white",children:g})]},p+"-"+pa.default.Stringify(h))})})]})})},350,s),pa.default.interval.once(()=>{Na.close(c)},6e3,f)},[a]),null}},Ft={DefaultStatus:(r,a)=>({componentID:r,dataValue:a,eventType:"init",eventID:(0,pa.UUID)()}),CommonEffects:function(r){let{type:a,states:o,val_status:l,set_status:s,val_validate:f,set_validate:c,SystemValidation:h}=r;o=_({},o);let{componentID:p}=l;(0,hf.useEffect)(()=>(pa.useStore.update({[p]:{ResolveRefresh:null,Refresh:()=>new Promise((m,g)=>{pa.useStore.get(p).ResolveRefresh=m,s(b=>T(_({},b),{eventType:"refresh",eventID:(0,pa.UUID)()}))}),GenNotice:m=>{let{ok:g,notice:b}=m;c({ok:g,notice:b})}}}),()=>{pa.useStore.delete(p)}),[]),pa.default.scope(()=>{let{override:m}=o;if(m=="never"||m=="beforeModified"&&!["init","override"].includes(l.eventType))return;let g=pa.useStore.get(l.componentID);g&&(o.value!=l.dataValue&&o.status_id!=g.status_id&&s(b=>T(_(T(_({},b),{dataValue:o.value}),r.ExtraOverrideStates),{eventType:"override",eventID:(0,pa.UUID)()})),g.status_id=o.status_id)}),(0,hf.useEffect)(()=>{Ft.ValidationCheck({val_status:l,set_validate:c,SystemValidation:h,states:o})},[l.eventID,l.dataValue]),(0,hf.useEffect)(()=>(pa.default.scope(()=>{let{componentID:m,eventType:g,dataValue:b}=l,S=b;if(a=="autocomplete.single"||a=="list.radio"?S=S[0]:o.isChecker&&(S=!!S[0]),o.form=o.form||"testForm",o.name&&o.form&&pa.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:{componentID:m,type:a,value:S,validation:f.ok}}}),g=="refresh"){let w=pa.useStore.get(m);w&&w.ResolveRefresh&&w.ResolveRefresh(null)}else g=="update"&&(o.onUpdateValue&&o.onUpdateValue(S,g,m),pa.default.scope(()=>{f.ok&&o.onUpdateValidValue&&o.onUpdateValidValue(S,g,m)}))}),()=>{pa.useStore.update({[["form-data",o.form].join("-")]:{[o.name]:null}})}),[f])},ValidationCheck:r=>{let{states:a}=r,o="ValidationTimer-"+r.val_status.componentID;pa.default.interval.abort(o);let l=r.SystemValidation({value:r.val_status.dataValue,states:a});if(!l.ok){r.set_validate(l);return}let s=l.notice,f=()=>Aa(void 0,null,function*(){if(!a.onValidate)return;let c=yield a.onValidate(r.val_status.dataValue,r.val_status.eventType,r);r.set_validate({ok:c.ok,notice:[...s,...c.notice]})});if(a.onValidate){if(r.val_status.eventType=="refresh"){f();return}pa.default.interval.once(f,450,o);return}r.set_validate({ok:!0,notice:s})},SubmitForm:(r,a)=>{let o=!1;if(!a)return o;let l=mt(`[data-form-submit-button="${a}"]`)[0];if(!l)return o;let s=l.dataset.sdfike||"",f=r.key,c=r.ctrlKey||r.metaKey;return pa.default.scope(()=>{s.includes("enter")&&(f!="Enter"||r.nativeEvent.isComposing||ht.get().browserIs=="safari"&&r.keyCode==229)||((f=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&c)||f==" "&&s.includes("space"))&&(l.click(),r.preventDefault()),o=!0)}),o},isShowValidation:(r,a,o)=>{let l=r.ok;return!o&&a.eventType=="init"&&(l=!0),l}},Un=function(r){r=_({tone:"border"},r);let a=pa.default.scope(()=>{if(r.tone=="plain")return{};let o={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.min"};return r.tone=="border"?o=T(_({},o),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):r.tone=="cloud"?o=T(_({},o),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):r.tone=="bottomBorder"&&(o=T(_({},o),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),o});return T(_(_(_(_(_(_({fontColor:"2.normal"},a),!!r.rightIcon&&{paddingRight:3}),!!r.leftIcon&&{paddingLeft:3}),!!r.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!r.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),r),{freeCSS:_({letterSpacing:"1px",resize:"none"},r.freeCSS),className:[Hd("Input"),r.className].join(" ")})};var f$=r=>{let a=r,{componentID:o="",enableFormSubmit:l,form:s,value:f=""}=a,c=Ge(a,["componentID","enableFormSubmit","form","value"]),[h,p]=(0,cm.useState)({componentID:r.componentID||"",dataValue:f,eventType:"init",eventID:(0,$d.UUID)()}),[m,g]=(0,cm.useState)({ok:!1,notice:[]});return(0,cm.useEffect)(()=>{$d.default.is.equal(h.dataValue,f)||p(b=>T(_({},b),{dataValue:f,eventType:"update",eventID:(0,$d.UUID)()}))},[r.value]),Ft.CommonEffects({type:"hidden",states:r,val_status:h,set_status:p,val_validate:m,set_validate:g,SystemValidation:()=>({ok:!0,notice:[]})}),(0,rw.jsx)("input",T(_({value:$d.default.Stringify(f),"data-component-id":o},c),{type:"hidden"}))},H7=r=>(0,rw.jsx)(Ea,{componentID:r.componentID,children:f$,states:r});var lr=K(Dt()),Ja=K(tr()),As=K(cr());var K7=K(G7());var fm=K(Dt()),Sg=K(cr()),yg=K(tr());var mc=r=>{if(!r.label)return null;let[a,o]=(0,Sg.useState)({});return(0,Sg.useEffect)(()=>{let l=(0,yg.default)('[data-input-origin="'+r.componentID+'"]'),s=(0,yg.default)('[data-input-label="'+r.componentID+'"]'),f=(0,yg.default)('[data-input-value-shallow="'+r.componentID+'"]');if(!l[0]||!s[0]||!f[0])return;let c=l.position(),h=f.position();if(r.isActive){let p=h.left-c.left;o({opacity:"max",backgroundColor:"layer.1",freeCSS:{fontSize:"12px",lineHeight:1,transform:`translate(${p}px,-6px)`}})}else{let p=h.left-c.left,m=h.top-c.top;o({fontSize:r.fontSize||"inherit",opacity:"middle",backgroundColor:"trans",freeCSS:{lineHeight:"inherit",transform:`translate(${p}px,${m}px)`}})}s.getAttribute("data-label-init")=="true"&&s.setAttribute("data-label-init","false").await(10).css({transition:".25s"})},[r.isActive]),(0,fm.jsx)(X,T(_({htmlTag:"label","data-input-label":r.componentID,"data-label-init":"true",position:"absolute",left:0,top:0,fontColor:"3.blur",backgroundColor:"trans",borderRadius:"1/3",padding:[0,"1/4"],opacity:"min"},a),{freeCSS:_({zIndex:2,transformOrigin:"top left",pointerEvents:"none",lineHeight:"inherit"},a.freeCSS),children:(0,fm.jsxs)(vt.Left,{gap:"1/3",children:[r.label,r.required&&(0,fm.jsx)(Sn,{fontColor:"nega",children:" * "})]})}))};var d$={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,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(X,{children:"\u25CB\u25CB\u25CB\u25CB@\u25CB\u25CB\u25CB\u25CB.\u25CB\u25CB\u25CB\u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,lr.jsx)(X,{children:"\u6700\u5F8C\u306E\u6587\u5B57\u306B.(\u30C9\u30C3\u30C8)\u3092\u5165\u308C\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"})]})},password:{reg:/^(?=[^A-Z]*[A-Z])(?=[^a-z]*[a-z])(?=[^0-9]*[0-9]).{8,}$/,exist:!0,reason:"8\u6587\u5B57\u4EE5\u4E0A\u3001\u534A\u89D2\u82F1\u6570\u5927\u5C0F\u6587\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tel:{reg:/.*$/g,exist:!0,reason:(0,lr.jsxs)(lr.Fragment,{children:[(0,lr.jsx)(X,{children:"0\u304B\u3089\u59CB\u307E\u308B\u756A\u53F7\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"}),(0,lr.jsx)(X,{children:"9~12\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),(0,lr.jsx)(X,{children:"\u6570\u5B57\u306E\u307F\u5165\u529B\u53EF\u80FD\u3067\u3059"})]})},url:{reg:/^https?:\/\/[^\n\s]+(\.|\:)[^\n\s\.\:]+$/,exist:!0,reason:"URL\u5F62\u5F0F : http(s)://\u25EF\u25EF\u25EF\u25EF"},postal:{reg:/^\d{7}$/g,exist:!0,reason:"7\u6841\u306E\u6570\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}},vu={setSelection:r=>{let{id:a,restrict:o,val_status:l}=r,s=mt("#"+a)[0];if(s&&l.prevValue&&l.formatValue){let{formatValue:f,prevValue:c,caretFrom:h,caretTo:p}=l;if(o=="creditCard")f.length>=c.length&&h%5==0&&(h++,p++),s.setSelectionRange(h,p);else if(o=="postal")f.length==5&&c.length==3&&(h++,p++),s.setSelectionRange(h,p);else if(o=="digitNumber"){let m=f.length-c.length;m==2&&(h++,p++),m==-2&&(h--,p--),s.setSelectionRange(h,p)}}},Validation:{System:r=>{let{value:a,states:o}=r,{restrict:l="text",maxLength:s,multiline:f,required:c}=o,h=[];if(f||(s=s||255),Ja.default.is.exist(s)&&a.length>=Number(s)&&h.push({type:"invalid",label:s+"\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),a){let p=vu.Validation.Text(a,l);p.ok||h.push({type:"invalid",label:p.body})}else c&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"});return{ok:!h.filter(({type:p})=>p=="invalid").length,notice:h}},Text:(r,a)=>{let o={ok:!0,body:""};return(()=>{let l=d$[a];if(!l)return;let s=l.reason;if(l){let f=!!(+!!r.match(l.reg)^+!l.exist);o={ok:f,body:f?"":s}}})(),o},DataLeveling:r=>{let{restrict:a,value:o=""}=r,l=String(o),s=!1;if(["tel","number","digitNumber","test","postal","creditCard"].includes(a)&&(l=l.zen2hanNumber()),a=="katakana",a=="hankaku.katakana",["postal","creditCard"].includes(a)&&(l=l.removeLetters()),["number","number.zeroStart","digitNumber"].includes(a)){let 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),Ja.default.is.exist(r.min)&&(h=Math.max(h,Number(r.min))),Ja.default.is.exist(r.max)&&(h=Math.min(h,Number(r.max))),l=String(Math.abs(h))}c&&l!="0"&&a=="number.zeroStart"&&(l="0"+l)}}let f=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(",")}f=c.join("")}}else a=="postal"?l.length>=4&&(f=l.clip(0,3)+"-"+l.clip(3)):a=="creditCard"&&(f=l.replace(/.{4}(?=.)/g,"$& "));return["number","digitNumber"].includes(a)&&s&&(l="-"+l,f="-"+f),{formatValue:f,dataValue:l}}}},nw={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=o.dataValue||"";(0,As.useEffect)(()=>{Ja.default.scope(()=>Aa(void 0,null,function*(){if(!a.multiline)return;let p=(0,Ja.default)('[data-input-origin="'+o.componentID+'"]'),m=(0,Ja.default)('[data-input-shallow="'+o.componentID+'"]'),g=(0,Ja.default)('[data-input-min-height-value-shallow="'+o.componentID+'"]'),b=(0,Ja.default)('[data-input-max-height-value-shallow="'+o.componentID+'"]');if(!p[0]||!m[0]||!g[0]||!b[0])return;let S=m.position(),w=g.position(),k=b.position(),L=0;a.autoHeight&&(L=S.height),L=Math.max(L,w.height),L=Math.min(L,k.height),p[0].style.height=L+"px"}))},[l]);let s=l||"";(l.match(/\n$/)||!l)&&(s+="T");let f="",c="";if(a.multiline){let p=a.minRows||1,m=a.maxRows||100;f=`
979
979
  T`.repeat(p-1),c=`
980
- T`.repeat(m-1)}let h=Dl(a);return(0,lr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",width:1,freeCSS:T(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,lr.jsx)(X,{"data-input-value-shallow":o.componentID,children:s})})),(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",left:0,freeCSS:T(_({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:f})),(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",right:0,freeCSS:T(_({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:c}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:l,val_status:s,set_status:f,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:m}=r;if(a.multiline)return null;let g=a,{componentID:b,tone:S,required:w,restrict:k="text",form:L,autoComplete:M="off",autoCapitalize:Y="off",minRows:O,maxRows:j,multiline:F,autoHeight:J,enableFormSubmit:N,clearButton:te=!1,checkValidationAtFirst:_e,onChange:ae,onKeyDown:ye,onValidate:Se,onUpdateValue:ge,onUpdateValidValue:H,value:le="",leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,maxLength:ee,min:de,max:ke,label:be,isLabelActive:Pe,wrapStyles:qe}=g,He=Ge(g,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),at=k=="password"||k=="concealed"?"password":"text",Tt=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,lr.jsx)(X,T(_({htmlTag:"input",type:at,inputMode:Tt,"data-disabled":a.disabled,"data-show-validation":Wt.isShowValidation(o,s,!!_e),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:Y,onKeyDown:ft=>{let{key:wt,target:vt}=ft;{let tt=vt,{selectionStart:we,selectionEnd:yt}=tt,Lt=Number(we),Ft=Number(yt),Ht=s.formatValue[Number(Lt)],er=s.formatValue[Number(Lt)-1];wt=="Delete"&&(k=="creditCard"&&Ht==" "||k=="postal"&&Ht=="-"||k=="digitNumber"&&Ht==",")&&(tt.setSelectionRange(Lt+1,Ft+1),ft.preventDefault()),wt=="Backspace"&&(k=="creditCard"&&er==" "||k=="postal"&&er=="-"||k=="digitNumber"&&er==",")&&(tt.setSelectionRange(Lt-1,Ft-1),ft.preventDefault()),wt=="Enter"||wt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&wt=="Clear"&&f(tt=>T(_({},tt),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,Ja.UUID)()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(wt)){let tt=+(wt=="ArrowUp")*2-1,we=String(Number(s.dataValue)+tt);o.ok&&l({ok:!1,notice:[]}),f(yt=>T(_(_({},yt),vu.Validation.DataLeveling({min:de,max:ke,restrict:k,value:we})),{eventType:"update",eventID:(0,Ja.UUID)()})),ft.preventDefault()}ye&&ye(ft),N&&Wt.SubmitForm(ft,L)},onChange:ft=>{let{value:wt,selectionStart:vt,selectionEnd:tt}=ft.target,we=vu.Validation.DataLeveling({min:de,max:ke,restrict:k,value:wt});p&&(we.formatValue=wt),we.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(yt=>T(_(_({},yt),we),{prevValue:s.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(vt),caretTo:Number(tt)})),ae&&ae(ft))},width:1},He),{onFocus:ft=>{He!=null&&He.onFocus&&(He==null||He.onFocus(ft)),h(!0)},onBlur:ft=>{He!=null&&He.onBlur&&(He==null||He.onBlur(ft)),h(!1)},onCompositionStart:ft=>{He!=null&&He.onCompositionStart&&(He==null||He.onCompositionStart(ft)),m(!0)},onCompositionEnd:ft=>{if(He!=null&&He.onCompositionEnd&&(He==null||He.onCompositionEnd(ft)),k=="text")return;let wt=vu.Validation.DataLeveling({min:de,max:ke,restrict:k,value:s.formatValue});f(vt=>T(_(_({},vt),wt),{prevValue:vt.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(vt.formatValue.length+1),caretTo:Number(vt.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:f,val_status:c,set_status:h,isShallow:p}=r,m=a,{componentID:g,tone:b,required:S,form:w,label:k,isLabelActive:L,minRows:M,maxRows:Y,multiline:O,autoHeight:j,enableFormSubmit:F,maxLength:J,checkValidationAtFirst:N,onChange:te,onKeyDown:_e,onValidate:ae,onUpdateValue:ye,onUpdateValidValue:Se,value:ge="",leftIndicator:H,rightIndicator:le,leftIcon:fe,rightIcon:B,wrapStyles:W}=m,ne=Ge(m,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,lr.jsx)(X,T(_({htmlTag:"textarea","data-show-validation":Wt.isShowValidation(s,c,!!N),"data-input-origin":c.componentID,"data-component-id":c.componentID,value:c.dataValue,width:1},ne),{onFocus:ee=>{ne!=null&&ne.onFocus&&(ne==null||ne.onFocus(ee)),l(!0)},onBlur:ee=>{ne!=null&&ne.onBlur&&(ne==null||ne.onBlur(ee)),l(!1)},onKeyDown:ee=>{_e&&_e(ee),F&&Wt.SubmitForm(ee,w)},onChange:ee=>{let{value:de}=ee.target;s.ok&&f({ok:!1,notice:[]}),h(ke=>T(_({},ke),{dataValue:de,eventType:"update",eventID:(0,Ja.UUID)()})),te&&te(ee)}})):null}},p$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f}=r,[c,h]=(0,As.useState)(!1),[p,m]=(0,As.useState)(!1),[g,b]=(0,As.useState)(T(_({componentID:a},vu.Validation.DataLeveling({min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,Ja.UUID)(),caretFrom:null,caretTo:null})),[S,w]=(0,As.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:m,val_status:g,set_status:b,val_validate:S,set_validate:w};return Wt.CommonEffects({type:"textfield",states:r,val_status:g,set_status:b,val_validate:S,set_validate:w,SystemValidation:vu.Validation.System,ExtraOverrideStates:_({},vu.Validation.DataLeveling({min:s,max:f,restrict:o,value:l}))}),(0,As.useEffect)(()=>{vu.setSelection({id:r.id,restrict:o,val_status:g})},[g]),(0,lr.jsxs)(Fa,{val_status:g,set_status:b,val_validate:S,states:k.rootStates,children:[(0,lr.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||c||!!g.dataValue}),(0,lr.jsx)(nw.Shallow,_({},k)),(0,lr.jsx)(nw.InputBox,_({},k)),(0,lr.jsx)(nw.TextAreaBox,_({},k))]})},Zl=r=>(r=_({autoHeight:!0,restrict:"text",fontSize:"inherit"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,lr.jsx)(Ta,{componentID:r.componentID,children:p$,states:Un(r)})),dn=Zl;dn.Validate=vu.Validation.Text,dn.Katakana=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),dn.HankakuKatakana=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),dn.CreditCard=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),dn.Tel=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),dn.Number=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),dn.DigitNumber=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),dn.Email=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),dn.Url=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"url",multiline:!1,autoHeight:!1})),dn.Postal=r=>{let[a]=(0,As.useState)((0,Ja.UUID)());return(0,As.useEffect)(()=>()=>{Ja.useStore.delete(a)},[]),(0,lr.jsx)(Zl,T(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,lr.jsx)(Wd,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},dn.Password=r=>(0,lr.jsx)(Zl,T(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,lr.jsx)(Ba,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,lr.jsx)(ut.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{_u.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:_u.abort,tabIndex:-1,onClick:a=>{(0,Ja.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,lr.jsx)(Ne,{icon:K7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),dn.Concealed=r=>(0,lr.jsx)(dn.Password,T(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),dn.Money={JPY:r=>(0,lr.jsx)(dn.DigitNumber,T(_({rightIcon:(0,lr.jsx)(Ba,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var wg=K(Dt()),X7=K(tr()),ow=K(cr());function h$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var m$=r=>{let a=r,{componentID:o,tone:l,required:s,form:f,value:c,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,children:k="",leftIndicator:L,rightIndicator:M,leftIcon:Y,rightIcon:O,freeCSS:j,wrapStyles:F}=a,J=Ge(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[N,te]=(0,ow.useState)(Wt.DefaultStatus(o,c)),[_e,ae]=(0,ow.useState)({ok:!1,notice:[]});return Wt.CommonEffects({type:"contenteditable",states:r,val_status:N,set_status:te,val_validate:_e,set_validate:ae,SystemValidation:h$}),(0,wg.jsx)(Fa,{val_status:N,set_status:te,val_validate:_e,states:r,children:(0,wg.jsx)(X,T(_({contentEditable:!0,"data-show-validation":Wt.isShowValidation(_e,N,!!p),"data-component-id":N.componentID,onKeyDown:ye=>{g&&g(ye),h&&Wt.SubmitForm(ye,f)},onInput:ye=>{let Se=ye.currentTarget,{innerHTML:ge,innerText:H}=Se;_e.ok&&ae({ok:!1,notice:[]}),te(le=>T(_({},le),{dataValue:H,eventType:"update",eventID:(0,X7.UUID)()})),m&&m(ye)}},J),{children:k}))})},Q7=r=>{r=T(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Un(r);return(0,wg.jsx)(Ta,{componentID:r.componentID,children:m$,states:a})};var dm=K(Dt()),iw=K(cr()),$d=K(tr());function v$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:f}=o,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!=f&&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 _$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},J7=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},g$=r=>{let a=r,{tone:o,required:l,form:s,name:f,className:c="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",override:Y,freeCSS:O,wrapStyles:j,combineInput:F,componentID:J,listStyles:N}=a,te=Ge(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[_e,ae]=(0,iw.useState)(T(_({componentID:r.componentID||""},_$(h,M)),{eventType:"init",eventID:(0,$d.UUID)()})),[ye,Se]=(0,iw.useState)({ok:!1,notice:[]});Wt.CommonEffects({type:"textfield",states:r,val_status:_e,set_status:ae,val_validate:ye,set_validate:Se,SystemValidation:v$});let ge=[];for(let H=0;H<h;H++){let le=_e.formatValue[H],fe={},B=c;r.combineInput&&(B=[c,jd("DigitCharacterCell"),jd("Combined")].join(" ")),ge.push((0,dm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+_e.componentID,className:B,style:_(_({},r.style),fe),onKeyDown:W=>{let{key:ne,code:ee}=W;if(ne=="Tab")return;W.preventDefault();let de=null;if(ne=="Backspace"){let ke=_e.formatValue;ke[H]="",ae(be=>T(_(_({},be),J7(ke)),{eventType:"update",eventID:(0,$d.UUID)()})),de=H-1}else if(["ArrowLeft","ArrowRight"].includes(ne)){let ke=+(ne=="ArrowRight")*2-1;de=H+ke}else m&&Wt.SubmitForm(W,s),(()=>{let ke=ee.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!ke)return;let be=ke[2]||ke[3]||ke[4];if(p&&!be.match(/\d/)||!be)return;let Pe=_e.formatValue;Pe[H]=be,ae(qe=>T(_(_({},qe),J7(Pe)),{eventType:"update",eventID:(0,$d.UUID)()})),de=H+1})();$d.default.is.exist(de)&&pt("#Digit-"+de+"-"+_e.componentID).focus()},onChange:()=>{}},H))}return(0,dm.jsx)(Fa,{val_status:_e,set_status:ae,val_validate:ye,states:r,children:(0,dm.jsx)(At,T(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},N),{children:ge}))})},Z7=r=>{r=_({},r),r=_({textAlign:"center",width:0},r),r.combineInput&&(r=T(_({textAlign:"center",width:0},r),{freeCSS:_({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:_({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=ko(Un(r));return(0,dm.jsx)(Ta,{componentID:r.componentID,children:g$,states:a})};var ta=K(Dt()),pn=K(tr()),pm=K(tr()),Eo=K(cr());var gO=K(iO()),bO=K(hO());var Er=K(Dt()),wn=K(tr()),gu=K(cr());function b$(r){let{value:a,states:o}=r,{required:l,options:s}=o,f=[];return l&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:c})=>c=="invalid").length,notice:f}}var uw={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},Gd={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Dl(a);return(0,Er.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Er.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),children:(0,Er.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:c,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:J,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:ae,value:ye="",options:Se,leftIndicator:ge,rightIndicator:H,leftIcon:le,rightIcon:fe,componentID:B,status_id:W,wrapStyles:ne,SelectedCellStyles:ee,SelectorCellStyles:de,SelectorStyles:ke,SelectorPosition:be}=S,Pe=Ge(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorStyles","SelectorPosition"]);return(0,gu.useEffect)(()=>{if(a.disabled)return;let qe="select-click-"+a.componentID;if(g){if(!(0,wn.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,wn.default)(document).addEvent({eventID:qe,eventType:"click",callback:He=>{let at=(0,wn.default)(He.target),Tt=!!(0,wn.default)(at).parent("."+Ql("Core")).length;(0,wn.default)(at).parent("."+Ql("Selector")).length||Tt||b(!1)}})}else(0,wn.default)(document).removeEvent([qe])},[g]),(0,gu.useEffect)(()=>{if(p.eventType=="init"||!g)return;let qe=(0,wn.default)('[data-input-origin="'+a.componentID+'"]');qe&&qe.focus()},[p.dataValue]),(0,Er.jsxs)(Er.Fragment,{children:[(0,Er.jsx)(X,T(_({tabIndex:0},Pe),{"data-disabled":a.disabled,"data-show-validation":Wt.isShowValidation(c,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Ql("Core")].join(" "),onFocus:qe=>{if(Pe!=null&&Pe.onFocus&&(Pe==null||Pe.onFocus(qe)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:qe=>{Pe!=null&&Pe.onClick&&(Pe==null||Pe.onClick(qe)),!a.disabled&&b(!0)},onKeyDown:qe=>{let{key:He,metaKey:at,ctrlKey:Tt}=qe,ft=at||Tt;if(Pe!=null&&Pe.onKeyDown&&(Pe==null||Pe.onKeyDown(qe)),F&&Wt.SubmitForm(qe,L),!a.disabled){if(wn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(He))return;if(qe.preventDefault(),!g)return b(!0);let wt=He=="ArrowDown"?1:-1,vt=uw.FilterSelectableOptions(r),tt=vt.length-1,we=null;wn.default.scope(()=>{var yt,Lt,Ft,Ht,er,sr,Cr,ra,jr,qr;let ur=vt.findIndex(Dr=>Dr.value==s);if(wt==1){if(we=(Lt=(yt=vt[0])==null?void 0:yt.value)!=null?Lt:null,ft){we=(Ft=vt[tt].value)!=null?Ft:null;return}if(ur==-1||ur==tt)return;we=(er=(Ht=vt[ur+1])==null?void 0:Ht.value)!=null?er:null}else{if(we=(sr=vt[tt].value)!=null?sr:null,ft){we=(ra=(Cr=vt[0])==null?void 0:Cr.value)!=null?ra:null;return}if(ur==-1||ur==0)return;we=(qr=(jr=vt[ur-1])==null?void 0:jr.value)!=null?qr:null}}),f(we)}),He=="Escape")b(!1);else if(He=="Tab")b(!1);else if(He=="Backspace")m(wt=>T(_({},wt),{dataValue:null,eventType:"update",eventID:(0,wn.UUID)()}));else if(He==" ")qe.preventDefault(),b(!0);else if(He=="Enter"){if(!g)return b(!0);qe.preventDefault();let wt=a.options.find(vt=>vt.value==s);if(!wt)return;m(vt=>T(_({},vt),{dataValue:wt.value,eventType:"update",eventID:(0,wn.UUID)()})),b(!1)}}},children:(0,Er.jsxs)(ht.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Er.jsx)(Gd.Placeholder,_({},r)),(0,Er.jsx)(Gd.Selected,_({},r)),(0,Er.jsx)(yn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,Er.jsx)(Gd.Selector,_({},r))]})},Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,Er.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Selector:r=>{var a;let o=[],l=uw.FilterSelectableOptions(r,!0),s=uw.FilterSelectableOptions(r);l.forEach((c,h)=>{let{type:p,value:m}=c,g=r.val_optionFocused==m,b=r.val_status.dataValue===m;if(p=="selector"){o.push((0,Er.jsx)(ut.Sub.S,T(_({color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:b||g,isActiveStyles:g?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"}},r.rootStates.SelectorCellStyles),{onClick:S=>{r.set_status(w=>T(_({},w),{dataValue:m,eventType:"update",eventID:(0,wn.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,Er.jsxs)(ht.Left,{gap:"1/2",children:[b&&(0,Er.jsx)(Ne.Check,{fontColor:"theme"}),(0,Er.jsx)(nr.Supplement,{transition:"short",flexSizing:0,children:c.label})]})}),String(m)));return}o.push((0,Er.jsx)(X,{children:c.label},(0,wn.UUID)()))}),s.length||(o=[(0,Er.jsx)(nr.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let f={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:f.bottom="100%",f.left=0,f.paddingBottom="1/3";break;case 2:f.bottom="100%",f.right=0,f.paddingBottom="1/3";break;case 3:f.top="100%",f.left=0,f.paddingTop="1/3";break;case 4:f.top="100%",f.right=0,f.paddingTop="1/3";break;default:break}return(0,Er.jsx)(X,T(_({},f),{children:(0,Er.jsx)(pr.Body,T(_({className:Ql("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Er.jsx)(ar,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&wn.default.scope(()=>{let o=r.rootStates.options.find(l=>wn.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,Er.jsx)(X,T(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,Er.jsx)(Er.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,gu.useState)(Wt.DefaultStatus(r.componentID,o)),[f,c]=(0,gu.useState)(!1),[h,p]=(0,gu.useState)(!1),[m,g]=(0,gu.useState)((a=r.value)!=null?a:null),[b,S]=(0,gu.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:c,val_optionFocused:m,set_optionFocused:g,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:b,set_validate:S};return Wt.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:S,SystemValidation:b$}),(0,Er.jsxs)(Fa,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,Er.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,Er.jsx)(Gd.Shallow,_({},w)),(0,Er.jsx)(Gd.Button,_({},w))]})}},es=r=>{var a;let o=_({},r);return o=T(_({emptySelect:!0,SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,Er.jsx)(nr.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((l,s)=>{let{type:f,value:c}=l;o.options[s]=T(_({},l),{value:c,type:f||"selector"})}),wn.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Er.jsx)(Ba,{ssSphere:2,children:(0,Er.jsx)(Ne.AngleDown,{})})),(0,Er.jsx)(Ta,{componentID:o.componentID,children:Gd.Core,states:Un(o)})};var je=K(Dt()),vO=K(cr()),Rr=K(tr()),bu=K(cr());var Oa=K(Dt()),ts=K(tr()),cw=K(cr());function y$(r){let{value:a,states:o}=r,{type:l,required:s,min:f,max:c}=o;f=f||0,c=c||65535;let h=[],p=a.length;return s&&(p||l=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var hf={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=ts.default.is.exist(a)?ts.default.flatArray(a):[],s=[];return l.forEach(f=>{o.findIndex(c=>ts.default.is.equal(c.value,f))!=-1&&s.push(f)}),(0,Oa.jsx)(hf.Core,T(_({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:f="",form:c,override:h,icon:p,iconType:m,iconSize:g,iconPosition:b,iconColor:S,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:M,onUpdateValue:Y,onUpdateValidValue:O,value:j,options:F,className:J,cellStyles:N,cellClassName:te,cellCheckedStyles:_e,cellCheckedClassName:ae,min:ye,max:Se,hideInput:ge,freeCSS:H,wrapStyles:le}=a,fe=Ge(a,["type","tone","required","componentID","form","override","icon","iconType","iconSize","iconPosition","iconColor","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[B,W]=(0,cw.useState)(Wt.DefaultStatus(f,j)),[ne,ee]=(0,cw.useState)({ok:!1,notice:[]});return Wt.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ne,set_validate:ee,SystemValidation:y$}),(0,Oa.jsx)(Fa,{val_status:B,set_status:W,val_validate:ne,states:r,children:(0,Oa.jsx)(hf.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:c,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:S,form:w,tabIndex:k,hideInput:L,disabled:M,className:Y,cellStyles:O,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:J="",enableFormSubmit:N}=a,{dataValue:te}=o,_e=a.CustomIcon,ae=b.map((ye,Se)=>{let ge=ye,{value:H,label:le,disabled:fe,className:B="",checkedStyles:W,checkedClassName:ne="",freeCSS:ee}=ge,de=Ge(ge,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),ke=(0,ts.UUID)(),be=te.findIndex(Tt=>Tt===H)!=-1,Pe=_(_({},O),de),qe=[lf("Label"),j,B];be&&(Pe=T(_(_(_({},Pe),F),W),{freeCSS:_(_(_({},Pe==null?void 0:Pe.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),qe=[...qe,J,ne]);let He=()=>{if(M||fe)return;let Tt=[];if(f=="radio")Tt=[H];else if(f=="checkbox"||g)if(!be)Tt=[...o.dataValue,H];else{let ft=[...o.dataValue];ft.splice(o.dataValue.findIndex(wt=>wt==H),1),Tt=ft}l(ft=>T(_({},ft),{dataValue:Tt,eventType:"update",eventID:(0,ts.UUID)()}))},at=[(0,Oa.jsx)(yn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:ts.default.is.string(le)?(0,Oa.jsx)(X,{children:le}):le},"content")];return h&&at[a.iconPosition=="right"?"push":"unshift"]((0,Oa.jsx)(_e,{isChecked:be,iconSize:p,iconColor:m,toggle:He},"icon")),[(0,Oa.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:lf("Input"),name:"RadioCheckbox-"+S,"data-list-index":s+"-"+Se,id:ke,value:String(H),disabled:M||fe,checked:be,onFocus:Tt=>{fe||f=="radio"&&(o.dataValue.length||l(ft=>T(_({},ft),{dataValue:[H],eventType:"update",eventID:(0,ts.UUID)()})))},onChange:()=>{He()},onKeyDown:Tt=>{let{key:ft,shiftKey:wt}=Tt;if((f=="checkbox"||r.rootStates.isChecker)&&ft!="Tab"&&ft.match(/Arrow/)){Tt.preventDefault();let vt=["ArrowLeft","ArrowUp"].includes(ft)?-1:1,tt=Se+vt;tt<0?tt=b.length-1:tt>=b.length&&(tt=0),pt(`input[data-list-index="${s}-${tt}"]`).focus()}N&&Wt.SubmitForm(Tt,w)},tabIndex:k},"List-"+ts.default.Stringify(H)),(0,Oa.jsx)(X,T(_({htmlTag:"label","data-disabled":M||fe,htmlFor:ke,className:qe.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Pe),{children:at}),"ListTrigger-"+ts.default.Stringify(H))]});return(0,Oa.jsx)(At,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[Y,lf("CellBase"),lf("HideInput_"+L),lf("IconIndicator_"+!!h),lf("Tone_"+c)].join(" "),children:ae})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Oa.jsx)(ut.Normal,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:2,freeCSS:{transform:`scale(${a})`},onClick:o=>{o.preventDefault(),o.stopPropagation(),r.toggle()},children:r.children})},RadioIcon:r=>(0,Oa.jsx)(hf._Icon,T(_({type:"radio"},r),{children:(0,Oa.jsx)(X,{flexCenter:!0,isRounded:!0,border:r.isChecked?"0.trans":"3.thick",borderColor:r.isChecked?r.iconColor:"3.thick",position:"relative",transition:"middle",freeCSS:{width:"50%",height:"50%"},children:(0,Oa.jsx)(X,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.iconColor,opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.4)"}})})})),CheckboxIcon:r=>(0,Oa.jsx)(hf._Icon,T(_({type:"checkbox"},r),{children:(0,Oa.jsx)(X,{flexCenter:!0,boxShadow:r.isChecked?"0.remark":"none",border:r.isChecked?"0.trans":"3.thick",backgroundColor:r.isChecked?r.iconColor:"trans",position:"relative",transition:"middle",fontColor:"white",freeCSS:{borderRadius:"25%",padding:"4%",width:"50%",height:"50%"},children:(0,Oa.jsx)(Ne.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},fw=r=>{r=r||"checkbox";let a=l=>(l=T(_({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:_({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=hf.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=hf.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=_({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=ko(l),(0,Oa.jsx)(Ta,{componentID:l.componentID,children:hf.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Oa.jsx)(a,_({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Oa.jsx)(a,_({type:r,tone:"border"},l)),o.Cloud=l=>(0,Oa.jsx)(a,_({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Oa.jsx)(a,_({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Oa.jsx)(a,_({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},mf=fw("radio"),Cg=fw("checkbox"),mO=fw();var dw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),f=Number((o=r==null?void 0:r.max)!=null?o:(0,Rr.Time)().addYear(10).year);for(let c=s;c<=f;c++)l.unshift({value:c,label:[c,...Rr.default.transformer.wareki(c).value].join(" -")});return l},_O=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=_({},r),r.sheetID=r.sheetID||(0,Rr.UUID)();let s=(0,bu.useRef)(!1),[f,c]=(0,bu.useState)((()=>{var p,m;if(a=="clock"){let g=String(l).split(/[^\d]/);g[0]||(g=[0,0]);let b=Number(g[0]),S=Number(g[1]);return{modifiedType:"init",hour:b,minutes:S}}else if(a=="date"){let[g,b,S]=(p=String(l))==null?void 0:p.split(/\D/);return(Rr.default.is.nullish(g)||Rr.default.is.nullish(b)||Rr.default.is.nullish(S))&&([g,b,S]=(0,Rr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(g),month:Number(b),date:Number(S)}}else if(a!="week"){if(a=="month"){let[g,b]=String(l).split(/\D/);return(Rr.default.is.nullish(g)||Rr.default.is.nullish(b))&&([g,b]=(0,Rr.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(g),month:Number(b)}}else if(a=="year"){let[g]=String(l).split(/\D/);return Rr.default.is.nullish(g)&&([g]=(0,Rr.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(g)}}else if(a=="dateWareki"){let[g,b,S]=(m=String(l))==null?void 0:m.split(/\D/);return(Rr.default.is.nullish(g)||Rr.default.is.nullish(b)||Rr.default.is.nullish(S))&&([g,b,S]=(0,Rr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(g),month:Number(b),date:Number(S)}}}return{}})());(0,bu.useEffect)(()=>{if(s.current){if(f.modifiedType=="update"){let p="",m=o||"year";if(a=="clock"){let{hour:g,minutes:b}=f;p=[g.zeroEmbed(2),b.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:g,month:b,date:S}=f;p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:g,month:b}=f;p=[g,b.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:g}=f;p=String(g)}else if(a=="dateWareki"){let{year:g,month:b,date:S,era:w}=f;m=w,p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else s.current=!0},[f]);let h=T(_({},r),{val_value:f,set_value:c});return(0,je.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,je.jsx)(X,{className:ka(a.toCapital()+"Base"),children:a=="clock"?(0,je.jsx)(Ya.Clock.index,_({},h)):a=="date"?(0,je.jsx)(Ya.Date.index,_({},h)):a=="week"?"":a=="month"?(0,je.jsx)(Ya.Month.index,_({},h)):a=="year"?(0,je.jsx)(Ya.Year.index,_({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,je.jsx)(Ya.DateWareki.index,_({},h)):(0,je.jsx)(je.Fragment,{})})})},Ya={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,[h,p]=(0,bu.useState)(f.hour>12?2:1),[m,g]=(0,bu.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,bu.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:S}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(At,{flexType:"row",flexWrap:!1,gap:1,className:ka("Body"),children:[(0,je.jsxs)(ar,{className:ka("DesignSide"),flexSizing:0,children:[(0,je.jsx)(X,{className:ka("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,je.jsxs)(X,{className:ka("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[ka("Needle"),ka("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,je.jsx)(mf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{let k=f.hour%12+(w==2?12:0);p(w),c({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,je.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,je.jsx)(mf,{icon:!0,value:[m],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{g(w)}})]}),(0,je.jsxs)(ar,{children:[(0,je.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,je.jsxs)(At,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,je.jsx)(ar,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:Ya.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);c({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,je.jsx)(ar,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ya.Clock.Minutes({onClick:w=>{c({modifiedType:"update",hour:f.hour,minutes:w})},min:a,max:o,unit:m})})]})]})]}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let f=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(s=!0),r.max){let c=Number(String(r.max).replace(/\D/ig,""));f>c&&(s=!0)}}a.push((0,je.jsx)(ut.Normal,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,je.jsx)(ut.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(l)},children:l.zeroEmbed(2)},l))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h,month:p,date:m}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(ht.Separate,{flexWrap:!0,children:[(0,je.jsxs)(At,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,je.jsx)(es,{override:"force",emptySelect:!1,value:h,options:dw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:g=>{c({modifiedType:"update",year:Number(g),month:p,date:m})},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})})}),(0,je.jsx)(es,{override:"force",emptySelect:!1,value:p,options:(()=>{let g=[];for(let b=1;b<=12;b++)g.push({value:b,label:String(b)+"\u6708"});return g})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:g=>{c({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,je.jsx)(Ya.Variables.ShiftButtons,{callback:g=>{let b=p+g,S=h;b<=0&&(S--,b=12),b>12&&(S++,b=1),c({modifiedType:"update",year:S,month:b,date:f.date})}})]}),(0,je.jsx)(X,{borderTop:!0}),(0,je.jsx)(X,{children:Ya.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:g=>{let[b,S,w]=g;c({modifiedType:"update",year:b,month:S,date:w})}})}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:f,callback:c}=r,h=(0,Rr.Time)(),p=(0,Rr.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Rr.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],w=[],k=[],L={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)b.push((0,je.jsx)(X,T(_({className:[ka("CalendarDay"),ka("Legend")].join(" ")},L),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)S.unshift((0,vO.createElement)(X,T(_({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{key:M}),g-M));for(var M=1;M<=m.date;M++){let O=M,j=l==h.year&&s==h.month&&M==h.date,F=!1;{let J=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>J&&(F=!0),r.max){let N=Number(String(r.max).replace(/\D/ig,""));J>N&&(F=!0)}}w.push((0,je.jsx)(ut.Clear,T(_({className:[ka("CalendarDay"),ka("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{c([l,s,O])},tabIndex:-1,isLocked:F,children:M}),O))}for(var M=1;M<7-m.weekday;M++)k.push((0,je.jsx)(X,T(_({className:[ka("CalendarDay"),ka("Dummy")].join(" "),fontColor:"4.thin"},L),{children:M}),M));return(0,je.jsxs)(Hd,{gridCols:7,gap:"1/6",children:[b,S,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h,month:p}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(ht.Separate,{gap:0,children:[(0,je.jsx)(ht.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,je.jsx)(es,{emptySelect:!1,value:h,options:dw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:m=>{c({modifiedType:"update",year:Number(m),month:p})}})}),(0,je.jsx)(Ya.Variables.ShiftButtons,{callback:m=>{let g=Math.min(Math.max(h+m,1900),2100);c({modifiedType:"update",year:g,month:p})}})]}),(0,je.jsx)(X,{borderTop:!0}),Ya.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[g,b]=m;c({modifiedType:"update",year:g,month:b})}}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Rr.Time)(),s=[];for(let f=1;f<=12;f++){let c=a==l.year&&f==l.month,h=!1;{let m=Number(String([a,f.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>m&&(h=!0),r.max){let g=Number(String(r.max).replace(/\D/ig,""));m>g&&(h=!0)}}let p=[ka("Cell"),c?ka("isThisMonth"):""].join(" ");s.push((0,je.jsxs)(ut.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,f])},children:[f," \u6708"]},a+"-"+f))}return(0,je.jsx)(Hd,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsx)(es,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Rr.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:dw({min:a,max:o}),onUpdateValidValue:p=>{c({modifiedType:"update",year:Number(p)})}}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{c({modifiedType:"update",year:Number(h||(0,Rr.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{era:h,year:p,month:m,date:g}=f,b={val_value:f,set_value:c};return(0,je.jsxs)(X,{children:[(0,je.jsxs)(ht.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,je.jsx)(Ya.DateWareki.EraSelect,_({},b)),(0,je.jsx)(X,{borderRight:!0}),(0,je.jsx)(Ya.DateWareki.Calendar,_({},b))]}),(0,je.jsx)(ht.Right,{padding:1,children:(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,je.jsxs)(ar,{padding:1,gap:0,children:[(0,je.jsx)(ut.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let f=(0,Rr.Time)();o({modifiedType:"update",era:"year",year:f.year,month:f.month,date:f.date})},children:"\u897F\u66A6"})),(0,je.jsx)(ut.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let f=(0,Rr.Time)();o({modifiedType:"update",era:"reiwa",year:f.year,month:f.month,date:f.date})},children:"\u4EE4\u548C"})),(0,je.jsx)(ut.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,je.jsx)(ut.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,je.jsx)(ut.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,je.jsx)(ut.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="meiji",onClick:()=>{o({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"}))]})},Calendar:r=>{let{val_value:a,set_value:o}=r,l=[];if(a.era=="year"){let s=(0,Rr.Time)().year+10;for(let f=1900;f<s;f++)l.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Rr.Time)().year-2018;for(let f=1;f<=s+10;f++)l.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(ht.Separate,{children:[(0,je.jsx)(es,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:s=>{o(f=>T(_({},f),{modifiedType:"update",year:Number(s)}))}}),(0,je.jsxs)(ht.Center,{gap:"1/3",children:[(0,je.jsx)(es,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:s=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,je.jsx)(ut.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month-1;o({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,je.jsx)(Ne.ChevronLeft,{})}),(0,je.jsx)(ut.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month+1;o({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,je.jsx)(Ne.ChevronRight,{})})]})]}),(0,je.jsx)(Ya.DateWareki.MonthCell,_({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Rr.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,f=l.getLastDayOfTheMonth(),c=[];for(let p=0;p<7;p++)c.push((0,je.jsx)(nr.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Rr.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let m=(0,Rr.Time)(l).getFirstDayOfTheMonth().addDate(p-s);c.push((0,je.jsx)(ut.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"lastMonth-"+p))}let h=(0,Rr.Time)();for(let p=1;p<=f.date;p++){let m=(0,Rr.Time)(l).setDate(p),g=h.diff(m).dates==0;c.push((0,je.jsx)(ut.Clear,{ssSquare:3,fontColor:"2.normal",className:[ka("CalendarDay"),ka("isToday_"+g)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"currentMonth-"+p))}for(let p=0;p<7-f.weekday-1;p++){let m=(0,Rr.Time)(l).addMonth(1).setDate(1).addDate(p);c.push((0,je.jsx)(ut.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"nextMonth-"+p))}return(0,je.jsx)(Hd,{gridCols:7,gap:"1/4",children:c})}},Variables:{Footer:r=>(0,je.jsxs)(At,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,je.jsxs)(ut.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,je.jsx)(Ne.Times,{})," \u524A\u9664"]}),(0,je.jsx)(ut.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),pr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,je.jsxs)(At,{gap:"1/3",flexWrap:!1,children:[(0,je.jsx)(ut.Clear,T(_({className:ka("LeftButton"),tabIndex:-1,right:0},Ya.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,je.jsx)(Ne.ChevronLeft,{})})),(0,je.jsx)(ut.Clear,T(_({className:ka("RightButton"),tabIndex:-1,left:0},Ya.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,je.jsx)(Ne.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var _f=" ~ ",w$={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+_f.length,length:4},{type:"month",from:15+_f.length,length:2},{type:"date",from:18+_f.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+_f.length,length:4},{type:"month",from:13+_f.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}},vf={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=pn.default.flatArray(o||""),{defaultValue:f,format:c,ranges:h,sets:p}=w$[a],m=[],g=a=="clock"?":":"/";for(let b=0;b<s.length;b++)s[b]=String(s[b]).replace(/\D/ig,g);for(let b=0;b<p;b++){let S=s[b]||"";if(!S.match(c))s[b]="",m.push(f);else{let w=f;S.split(/\D/).forEach((k,L)=>{if(L==0&&a=="dateWareki"){let M=Number(k);l!="year"&&(M>=2019?l=="reiwa"?M-=2018:l=="heisei"&&(M=31):M>=1989?l=="heisei"?M-=1988:l=="shouwa"&&(M=64):M>=1926?l=="shouwa"?M-=1925:l=="taisho"&&(M=15):M>=1912?l=="taisho"?M-=1911:l=="meiji"&&(M=45):M>=1868&&(M-=1867)),k=M.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(w)}}return{formatValue:m.join(_f),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,c=[],h=pn.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let m=o=="clock"?":":"/";for(let g=0;g<h.length;g++)h[g]=String(h[g]).replace(/\D/ig,m);for(let g=0;g<h.length;g++){let b=h[g],S=h[g-1];b.removeLetters()||(p.empty=!0),g>0&&(p.escalated&=+(b>=S))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:(Number(b)>23||Number(S)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(g=>{let[b,S,w]=g.split(/\D+/);if(!b||!S||!w)p.filled=!1;else{let k=pm.Time(g);(!k.validate||g!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);if(!b||!S)p.filled=!1;else{let w=pm.Time(b+"/01/01").weekday,k=pm.Time(b+"/01/0"+(7-w+1)).addWeek(Number(S)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:pm.Time([b,S,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(g=>{{let b=Number(String(g).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>b&&(p.prohibited=!0),s){let S=Number(String(s).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:S,prohibited:w}=p;m&&f&&(c=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),g||c.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),S||c.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||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,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)(X,{children:"\u5165\u529B\u7BC4\u56F2\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059"}),"[",l||"\u4E0B\u9650\u7121\u3057","] ~ [",s||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!c.filter(({type:m})=>m=="invalid").length,notice:c}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:f,val_focus:c,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:g,metaKey:b}=l,S=g||b,{selectionStart:w,selectionEnd:k}=l.target,{index:L,prevIndex:M}=c,{ranges:Y,formatValue:O}=s,j=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let J=+!m*2-1;if(F=c.index+J,F<0||F>j)return}else{let J=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||w==0&&k==String(s.formatValue).length?F=J==1?j:0:F=Math.max(0,Math.min(L+J,j))}h(J=>T(_({},J),{index:F,prevIndex:L})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=L;F=Math.max(F,0),F=Math.min(F,j);let{type:J,from:N,length:te}=Y[F],_e=O.slice(N,N+te),ae;if(p=="Backspace")ae="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let ye=p=="ArrowUp"?1:-1;_e=_e|0,ae=_e+ye;let[Se,ge,H]=J=="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]:J=="minute"?[0,59,2]:J=="hour"?[0,23,2]:J=="date"?[1,31,2]:J=="week"?[1,53,2]:J=="month"?[1,12,2]:J=="year"?[0,2999,4]:[0,0,0];ae>ge?ae=Se:ae<Se&&(ae=ge),ae=Number(ae).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let ye=_e|0,Se=p,ge=`${ye}${Se}`;if(M!=L&&(ye=0,ge="0"+Se),J=="year"||J=="dateWareki"&&a=="year")Number(ge)>1e4?ae=Se:ae=ge,(ae|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(J)||J=="dateWareki"&&a!="year"){let H=J=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:J=="minute"?59:J=="hour"?23:J=="date"?31:J=="week"?53:J=="month"?12:0;ae=(ge|0)>H?Se:ge,(Number(Se)>Number(String(H)[0])||_e=="0000".slice(0,String(H).length)&&(ge!="0000".slice(0,String(H).length)||["minute","hour"].includes(J)&&M==L)||(ge|0)>=i5(10,String(H).length-1))&&F++}J=="year"||J=="dateWareki"?ae=(ae|0).zeroEmbed(4):ae=(ae|0).zeroEmbed(2)}{let ye=String(O).partReplace(N,String(ae)),Se=ye.split(_f).map(ge=>ge.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ge=Se[0].split(/\D/),[H,le,fe]=ge;ge.length==3&&H&&(Se=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ge=>T(_({},ge),{dataValue:["dates","months"].includes(o)?Se:Se[0],formatValue:ye,eventType:"update",eventID:(0,pn.UUID)()})),h(ge=>T(_({},ge),{index:F,prevIndex:ge.index}))}}}},yO={picker:{launch:r=>{let a=r.sheetID||(0,pn.UUID)(),o=r,{onValueUpdate:l,min:s,max:f,era:c,restrict:h,defaultValue:p}=o,m=Ge(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);pr.open(T(_({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(ht.Center,{children:(0,ta.jsx)(_O,{restrict:h,min:s,max:f,era:c,defaultValue:p,sheetID:a,onValueUpdate:(g,b)=>{l(g,b)}})})}))},remove:r=>{Na.close(r)}}},C$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Dl(a);return(0,ta.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ta.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),children:(0,ta.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},x$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:f,era:c,form:h,name:p,min:m,max:g,className:b,enableFormSubmit:S,checkValidationAtFirst:w,onKeyDown:k,onValidate:L,onUpdateValue:M,onUpdateValidValue:Y,value:O="",leftIndicator:j,rightIndicator:F,leftIcon:J,rightIcon:N,freeCSS:te,wrapStyles:_e}=a,ae=Ge(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[ye,Se]=(0,Eo.useState)(c),[ge,H]=(0,Eo.useState)(T(_({componentID:r.componentID||""},vf.DataLeveling({restrict:s,value:O,era:ye})),{eventType:"init",eventID:(0,pn.UUID)()})),[le,fe]=(0,Eo.useState)({ok:!1,notice:[]}),[B,W]=(0,Eo.useState)({active:!1,index:0,prevIndex:-1}),ne={rootStates:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,val_era:ye,set_era:Se,val_focus:B,set_focus:W};Wt.CommonEffects({type:"time",states:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,SystemValidation:vf.SystemValidation,ExtraOverrideStates:_({},vf.DataLeveling({restrict:s,value:O,era:ye}))});let ee=(0,Eo.useRef)(!1);return(0,Eo.useEffect)(()=>{if(ee.current){H(ke=>_(_({},ke),vf.DataLeveling({restrict:s,value:ke.dataValue,era:ye})));let de=pn.useStore.get("refreshEra_"+ge.componentID);de&&de.refreshEra(ye)}else ee.current=!0},[ye]),pn.useStore.update({[ge.componentID]:{openPicker:de=>{r.disabled||yO.picker.launch({parent:de,sheetID:"PickerTips-"+ge.componentID,restrict:s,min:m,max:g,defaultValue:ge.dataValue,era:ye,onValueUpdate:(ke,be)=>{H(Pe=>T(_(_({},Pe),vf.DataLeveling({restrict:s,value:ke,era:be})),{eventType:"update",eventID:(0,pn.UUID)()})),Se(be)}})},resetEra:de=>{Se(de),H(ke=>T(_(_({},ke),vf.DataLeveling({restrict:s,value:"",era:ye})),{eventType:"update",eventID:(0,pn.UUID)()}))}}}),(0,Eo.useEffect)(()=>{let{index:de,active:ke}=B;if(ke){de=Math.max(de,0),de=Math.min(de,ge.ranges.length-1);let{from:be,length:Pe}=ge.ranges[de],qe=pt("#"+r.id)[0];qe&&qe.setSelectionRange(be,be+Pe)}},[B]),(0,ta.jsxs)(Fa,{val_status:ge,set_status:H,val_validate:le,states:r,children:[(0,ta.jsx)(C$.Shallow,_({},ne)),(0,ta.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),dt.get().isTouchDevice?(0,ta.jsx)(ut.Plain,T(_({"data-show-validation":Wt.isShowValidation(le,ge,!!w),"data-component-id":ge.componentID,"data-input-origin":ge.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},ae),{children:ge.formatValue,onClick:de=>{let ke=pn.useStore.get(ge.componentID);ke&&ke.openPicker(`[data-input-origin="${ge.componentID}"]`),de.stopPropagation()}})):(0,ta.jsx)(X,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Wt.isShowValidation(le,ge,!!w),"data-input-origin":ge.componentID,"data-disabled":r.disabled,value:ge.formatValue,className:b,tabIndex:dt.get().isTouchDevice?-1:0,onKeyDown:de=>{vf.KeyDownEvent({restrict:s,event:de,val_era:ye,val_status:ge,set_status:H,val_focus:B,set_focus:W}),k&&k(de),S&&Wt.SubmitForm(de,h)},onKeyUp:de=>{de.key=="Tab"&&W(ke=>T(_({},ke),{active:!0}))},onClick:de=>{let ke=de.target.selectionEnd,be=0;ge.ranges.forEach((Pe,qe)=>{let{from:He,length:at,region:Tt}=Pe;He<=ke&&ke<=He+(Tt||at)&&(be=qe)}),W(Pe=>T(_({},Pe),{active:!0,index:be})),de.preventDefault()},onChange:()=>{}},ae))]})},Ls={Origin:r=>{let a=_({fontSize:"inherit",width:1},r),[o]=(0,Eo.useState)(r.componentID||(0,pn.UUID)());if(a.componentID=o,pn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?gO.faClock:bO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(Ba,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ta.jsx)(ut.Sub,{color:"cloud",border:"unset",ssSphere:2,fontColor:"theme",boxShadow:"0.normal",borderRadius:"3.tone.tertiary",flexCenter:!0,ssEffectsOnActive:"push",tabIndex:-1,id:"Picker-"+a.componentID,onClick:()=>{let s=pn.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ta.jsx)(Ne,{icon:l})})})}return(0,ta.jsx)(Ta,{componentID:a.componentID,children:x$,states:Un(a)})},Clock:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"clock",era:"clock"},r)),Date:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"date"},r)),Week:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"week"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"month"},r)),Year:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"year"},r)),DateWareki:r=>{r=_({},r);let[a]=(0,Eo.useState)(r.componentID||(0,pn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,Eo.useState)((()=>{let f="year";if(o=="wareki"&&(f="reiwa",r.value)){let[c,h,p]=r.value.split(/\D/);if(c&&h&&p){let m=Number(c);m>=2019?(m-=2019,f="reiwa"):m>=1989?(m-=1989,f="heisei"):m>=1926?(m-=1926,f="shouwa"):m>=1912?(m-=1912,f="taisho"):m>=1868&&(m-=1868,f="meiji"),m+=1}}return f})());return(0,Eo.useEffect)(()=>{pn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{s(f)}}})},[]),(0,ta.jsx)(Ls.Origin,T(_({restrict:"dateWareki",leftIndicator:(0,ta.jsx)(es,{label:"\u5143\u53F7",emptySelect:!1,value:l,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:f=>{s(f);let c=pn.useStore.get(r.componentID);c&&c.resetEra&&c.resetEra(f)}})},r),{era:l}))},Periods:{Date:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"dates"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"months"},r))},fn:yO};var Xt=K(Dt()),ja=K(cr()),zr=K(tr());var yf=K(Dt()),Qd=K(tr());var gf=K(Dt()),xg=K(tr());var bf=K(cr());var Kd=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:f=""}=a,c=Ge(a,["color","size","showInitial","loaderID"]),[h]=(0,bf.useState)(f),[p]=(0,bf.useState)((0,xg.UUID)()),[m,g]=(0,bf.useState)(s),b=0;l=="S"?b=1:l=="R"?b=1.5:l=="L"?b=3:l=="XL"?b=4:l=="MAX"&&(b=6);let S={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,bf.useEffect)(()=>{let w=pt('[data-component-id="'+p+'"]');m?w.removeClass(xa("Hide")).await(10).addClass(xa("Active")):w.removeClass(xa("Active")).await(210).addClass(xa("Hide"))},[m]),(0,bf.useEffect)(()=>{xg.useStore.set({[p]:{active:w=>{h==w&&g(!0)},stop:w=>{h==w&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,gf.jsxs)(ht.Center,T(_({className:[xa("MiniLoader"),xa(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},c),{children:[(0,gf.jsx)("svg",{className:xa("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,gf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,gf.jsx)("svg",{className:xa("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,gf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Al=K(Dt()),SO=K(tr());var kg=K(cr());var wO=()=>{let[r,a]=(0,kg.useState)(!1);return(0,kg.useEffect)(()=>{SO.useStore.set({["Loader-corner-"+dt.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Al.jsxs)(At,{className:[xa("CornerLoader"),r?xa("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"2/3",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",left:"50%",top:1,opacity:"trans",transition:"short",isRounded:!0,freeCSS:{zIndex:10,pointerEvents:"none",transform:"translateX(-50%)"},children:[(0,Al.jsxs)(At,{className:xa("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Al.jsx)(X,{className:xa("Ld4")}),(0,Al.jsx)(X,{className:xa("Ld3")}),(0,Al.jsx)(X,{className:xa("Ld2")}),(0,Al.jsx)(X,{className:xa("Ld1")}),(0,Al.jsx)(X,{className:xa("Ld2")}),(0,Al.jsx)(X,{className:xa("Ld3")}),(0,Al.jsx)(X,{className:xa("Ld4")})]}),(0,Al.jsx)(X,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var Xd=r=>{let a=r.color;return{S:o=>(0,yf.jsx)(Kd,_({size:"S",color:a},o)),R:o=>(0,yf.jsx)(Kd,_({size:"R",color:a},o)),L:o=>(0,yf.jsx)(Kd,_({size:"L",color:a},o)),XL:o=>(0,yf.jsx)(Kd,_({size:"XL",color:a},o)),MAX:o=>(0,yf.jsx)(Kd,_({size:"MAX",color:a},o))}},Ro={Wrapper:()=>(0,yf.jsx)(wO,{}),Theme:Xd({color:"theme"}),Posi:Xd({color:"posi"}),Nega:Xd({color:"nega"}),Warn:Xd({color:"warn"}),White:Xd({color:"white"}),Cloud:Xd({color:"cloud"}),fn:{corner:{active:()=>{let r=Qd.useStore.get("Loader-corner-"+dt.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Qd.useStore.get("Loader-corner-"+dt.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{pt("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Qd.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{pt("."+xa("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Qd.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{pt("."+xa("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=Qd.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Ro.fn.corner.stop(),Ro.fn.mini.stopALL()}}};function k$(r){let{value:a,states:o}=r,{required:l,options:s,min:f,max:c}=o;f=f||0,c=c||65535;let h=[],p=a.filter(m=>m!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var Jd={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:f,searchValue:c}=o,h=c||(zr.default.is.string(s)?s:"")||(zr.default.is.string(f)?f:"");a.push(T(_({},o),{searchValue:h,type:l||"selector",value:f}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(l=>l.type!="label")),r.val_keyword){let l=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(s=>(s.searchValue||"").toLower().replace(/ /g,"").includes(l))}return o}},Zd={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Dl(a);return(0,Xt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Xt.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Xt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:f,val_options:c,set_options:h,val_optionsDict:p,set_optionsDict:m,val_preventOpenSelectorOnFocus:g,set_preventOpenSelectorOnFocus:b,val_selectorOpen:S,set_selectorOpen:w,val_status:k,set_status:L,val_validate:M,set_validate:Y}=r,O=a,{tone:j,required:F,form:J,className:N,multiSelect:te,enableFormSubmit:_e,checkValidationAtFirst:ae,onValidate:ye,onUpdateValue:Se,onUpdateValidValue:ge,value:H="",options:le,leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,componentID:ee,status_id:de,wrapStyles:ke,emptySelect:be,SearchInput:Pe,SearchInputPlaceholder:qe,SelectedComponent:He,SelectorComponent:at,SelectorStyles:Tt,SelectorPosition:ft,DynamicOptionsOnSearch:wt}=O,vt=Ge(O,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,ja.useEffect)(()=>{var tt,we;if(a.disabled||!S)return;let yt=Jd.FilterSelectableOptions(r);f((we=(tt=yt[0])==null?void 0:tt.value)!=null?we:null)},[o]),(0,ja.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let tt=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');tt&&tt.focus()},10)):(0,zr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,ja.useEffect)(()=>{let tt="autocomplete-click-"+a.componentID;if(S){if(!(0,zr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,zr.default)("#SearchInput_"+a.componentID).focus(),(0,zr.default)(document).addEvent({eventID:tt,eventType:"mousedown",callback:we=>{let yt=(0,zr.default)(we.target),Lt=!!(0,zr.default)(yt).parent("."+Ql("Core")).length;(0,zr.default)(yt).parent("."+Ql("Selector")).length||Lt||w(!1)}})}else(0,zr.default)(document).removeEvent([tt]),l("")},[S]),(0,Xt.jsxs)(Xt.Fragment,{children:[(0,Xt.jsx)(X,T(_({tabIndex:0},vt),{"data-disabled":a.disabled,"data-show-validation":Wt.isShowValidation(M,k,!!ae),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[N,Ql("Core")].join(" "),onFocus:tt=>{if(vt!=null&&vt.onFocus&&(vt==null||vt.onFocus(tt)),!a.disabled){if(g)return b(!1);w(!0),tt.preventDefault()}},onClick:tt=>{vt!=null&&vt.onClick&&(vt==null||vt.onClick(tt)),!a.disabled&&w(!0)},onKeyDown:tt=>{let{key:we}=tt;_e&&Wt.SubmitForm(tt,J),!S&&(we==" "||we=="ArrowDown"||we=="ArrowUp"||we=="Enter")&&w(!0)},children:(0,Xt.jsxs)(ht.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Xt.jsx)(Zd.Selected,_({},r)),(0,Xt.jsx)(yn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Xt.jsx)(Zd.SearchInput,_({},r))]})})),S&&(0,Xt.jsx)(Zd.Selector,_({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,ja.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Xt.jsx)(X,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans",transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onCompositionStart:s=>{a.onCompositionStart&&a.onCompositionStart(s),l(!0)},onCompositionEnd:s=>{a.onCompositionEnd&&a.onCompositionEnd(s),l(!1)},onKeyDown:s=>{let{key:f,metaKey:c,ctrlKey:h}=s,p=c||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?zr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?zr.default.scope(()=>{if(r.val_keyword)return;let m=[...r.val_status.dataValue];m.pop(),r.set_status(g=>T(_({},g),{dataValue:m,eventType:"update",eventID:(0,zr.UUID)()}))}):f=="Enter"&&zr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=r.val_options.find(b=>b.value==r.val_optionFocused);if(!m)return;let{value:g}=m;r.set_status(b=>{let S=[...b.dataValue];return zr.default.scope(()=>{if(g===null)return S=[];b.dataValue.includes(g)?S=S.filter(w=>w!==g):a.multiSelect?S.push(g):S=[g]}),T(_({},b),{dataValue:S,eventType:"update",eventID:(0,zr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),zr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,g=Jd.FilterSelectableOptions(r),b=g.length-1,S=null;zr.default.scope(()=>{var w,k,L,M,Y,O,j,F,J,N;let te=g.findIndex(_e=>_e.value==r.val_optionFocused);if(te==-1&&(te=0),m==1){if(S=(k=(w=g[0])==null?void 0:w.value)!=null?k:null,p){S=(L=g[b].value)!=null?L:null;return}if(te==-1||te==b)return;S=(Y=(M=g[te+1])==null?void 0:M.value)!=null?Y:null}else{if(S=(O=g[b].value)!=null?O:null,p){S=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;S=(N=(J=g[te-1])==null?void 0:J.value)!=null?N:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&Wt.SubmitForm(s,r.rootStates.form)},onChange:s=>{let f=s.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,ja.useState)("idle"),[s,f]=(0,ja.useState)("idle");(0,ja.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");f("fetch");let g="autocomplete-search-"+r.rootStates.componentID;zr.default.interval.once(()=>Da(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let S=Jd.InitOptions(b||[]);r.set_options(S)}),300,g)},[r.val_keyword]);let c=[],h=Jd.FilterSelectableOptions(r,!0),p=Jd.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:S,value:w}=g,k=r.val_optionFocused==w,L=r.val_status.dataValue.includes(w),M=r.rootStates.SelectorComponent;c.push((0,Xt.jsx)(M,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let O=[...Y.dataValue];return zr.default.scope(()=>{if(w===null)return O=[];Y.dataValue.includes(w)?O=O.filter(j=>j!==w):r.rootStates.multiSelect?O.push(w):O=[w]}),T(_({},Y),{dataValue:O,eventType:"update",eventID:(0,zr.UUID)()})})}},zr.default.Stringify(w)||(0,zr.UUID)()))}),p.length||(c=[(0,Xt.jsx)(nr.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(c=[(0,Xt.jsxs)(ht.Left,{padding:1,fontColor:"3.blur",children:[(0,Xt.jsx)(Ro.Theme.R,{showInitial:!0}),(0,Xt.jsx)(nr.Supplement,{children:"Loading..."})]},"loader")]);let m={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:m.bottom="100%",m.left=0,m.paddingBottom="1/3";break;case 2:m.bottom="100%",m.right=0,m.paddingBottom="1/3";break;case 3:m.top="100%",m.left=0,m.paddingTop="1/3";break;case 4:m.top="100%",m.right=0,m.paddingTop="1/3";break;default:break}return(0,Xt.jsx)(X,T(_({},m),{children:(0,Xt.jsx)(pr.Body,T(_({className:Ql("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Xt.jsx)(ar,{gap:"1/12",padding:[1,0],children:c})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,f=[];return o.dataValue.forEach(c=>{let h=s[zr.default.Stringify(c)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Xt.jsx)(X,{className:Ql("SelectedCell"),children:(0,Xt.jsx)(p,{value:h.value,label:m,removeCallback:g=>{if(g.stopPropagation(),g.preventDefault(),a.disabled)return;let b=[...o.dataValue];b=b.filter(S=>S!==c),l(S=>T(_({},S),{dataValue:b,eventType:"update",eventID:(0,zr.UUID)()}))}})},zr.default.Stringify(h.value)))}),(0,Xt.jsx)(Xt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,ja.useState)(!1),[f,c]=(0,ja.useState)(!1),[h,p]=(0,ja.useState)(!1),[m,g]=(0,ja.useState)(""),[b,S]=(0,ja.useState)(r.options),[w,k]=(0,ja.useState)((a=r.value[0])!=null?a:null),[L,M]=(0,ja.useState)({}),[Y,O]=(0,ja.useState)(Wt.DefaultStatus(r.componentID,o)),[j,F]=(0,ja.useState)({ok:!1,notice:[]}),J=(0,ja.useRef)(!1);(0,ja.useEffect)(()=>{J.current?S(r.options):J.current=!0},[r.options]),(0,ja.useEffect)(()=>{if(!b.length)return;let ae=[...b],ye=_({},L);ae.forEach(Se=>{Se.type!="label"&&(ye[zr.default.Stringify(Se.value)]=Se)}),M(ye)},[b]);let N={rootStates:r,val_options:b,set_options:S,val_optionFocused:w,set_optionFocused:k,val_optionsDict:L,set_optionsDict:M,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:c,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:g,val_status:Y,set_status:O,val_validate:j,set_validate:F},te=!!r.multiSelect;Wt.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:O,val_validate:j,set_validate:F,SystemValidation:k$});let _e=Y.dataValue.length&&Y.dataValue[0]!==null;return _e=_e||h,(0,Xt.jsxs)(Fa,{val_status:Y,set_status:O,val_validate:j,states:r,children:[(0,Xt.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:_e}),(0,Xt.jsx)(Zd.Shallow,_({},N)),(0,Xt.jsx)(Zd.Button,_({},N))]})}},Tg=r=>{var a;let o=_({},r);return o=T(_({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:f,addCallback:c})=>l.type=="selector"?(0,Xt.jsx)(ut.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:f,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{c()},children:(0,Xt.jsxs)(ht.Left,{gap:"1/2",children:[s&&(0,Xt.jsx)(Ne.Check,{fontColor:"theme"}),(0,Xt.jsx)(nr.Supplement,{transition:"short",children:l.label})]})}):(0,Xt.jsx)(Xt.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:f})=>(0,Xt.jsxs)(ht.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Xt.jsx)(X,{padding:[0,"1/4"],children:s}),(0,Xt.jsx)(ut.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:f,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,Xt.jsx)(Ne.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,Xt.jsx)(nr.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=zr.default.flatArray((a=o.value)!=null?a:null),o.options=Jd.InitOptions(o.options),zr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Xt.jsx)(Ba,{ssSphere:2,children:(0,Xt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Xt.jsx)(Ba,{ssSphere:2,fontColor:"5.translucent",children:(0,Xt.jsx)(Ne.Ban,{})}))),o.rightIcon&&(o=_({paddingRight:3},o)),o.leftIcon&&(o=_({paddingLeft:3},o)),(0,Xt.jsx)(Ta,{componentID:o.componentID,children:Zd.Core,states:Un(o)})};var Sf=K(Dt());var CO=r=>(0,Sf.jsx)(Tg,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,Sf.jsx)(Sf.Fragment,{children:o}),rightIcon:(0,Sf.jsx)(Ba,{ssSphere:2,children:(0,Sf.jsx)(Ne.AngleDown,{})})},r));var br=K(Dt()),wf=K(cr()),Ll=K(tr());var Do=K(Dt()),xO=K(cr()),ho=K(tr());var yu=K(cr());var rs={add:function(r){let a=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=ho.useStore.get("Snackbar-"+dt.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Do.jsx)(kO.Wrapper,{})},kO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,ho.UUID)(),children:f,customChildren:c}=a,h=Ge(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,yu.useState)(s),[m,g]=(0,yu.useState)(r.secondsToClose||10);(0,yu.useEffect)(()=>{let S=pt('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(am("FadeIn"))},10),ho.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(am("FadeOut"))}}})},[]),(0,yu.useEffect)(()=>{ho.default.interval.once(()=>{m<=0||g(m-1)},1e3,"Snackbar-"+p),m===0&&rs.remove(o)},[m]);let b=(0,Do.jsx)(Do.Fragment,{});return c?b=(0,Do.jsx)(c,{close:()=>{rs.remove(o)}}):b=(0,Do.jsxs)(ht.Separate,{verticalAlign:"top",children:[(0,Do.jsx)(X,{padding:["1/4",0],flexSizing:0,children:ho.default.is.function(f)?(0,Do.jsx)(f,{}):f}),(0,Do.jsx)(ut.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{rs.remove(o)},children:(0,Do.jsx)(Ne.Times,{})})]}),(0,Do.jsx)(X,T(_({className:am("Cell"),componentID:p,onMouseOver:()=>{g(-1)},onMouseOut:()=>{g(l||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:b}))},Wrapper:()=>{let[r,a]=(0,yu.useState)((0,ho.UUID)()),[o,l]=(0,yu.useState)([]);(0,yu.useEffect)(()=>{ho.useStore.set({["Snackbar-"+dt.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,ho.UUID)();let c=o.findIndex(h=>h.snackID==f.snackID);if(c==-1)o.unshift(T(_({},f),{snackID:f.snackID}));else{let h=[...o];h[c]=T(_({},f),{snackID:f.snackID}),o=h}a((0,ho.UUID)())},remove:f=>{let c=ho.useStore.get("Snackbar-"+f);c&&c.remove&&(c.remove(),setTimeout(()=>{let h=o.findIndex(m=>m.snackID==f);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))},removeALL:()=>{l([])}}})},[o.length]);let s=o.map(f=>(0,xO.createElement)(kO.Cell,T(_({},f),{key:f.snackID})));return(0,Do.jsx)(At,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",am("Wrapper")].join(" "),position:"fixed",right:0,bottom:0,paddingLeft:0,paddingRight:1,paddingBottom:"safeAreaBottom",verticalAlign:"bottom",overflow:"auto",UnderBreakPointStyles:{left:0,paddingLeft:1,width:"auto"},children:s})}};var OO=K(NO());function T$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var MO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((c,h)=>(0,br.jsx)(MO.ListCell,T(_({},r),{index:h,val_file:c}),c.name));return s>0&&f.push((0,br.jsx)(X,T(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,Xl("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:c=>{let{key:h}=c;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&pt("#"+a.id).click()},children:(0,br.jsxs)(ht.Center,{padding:["1/3",0],children:[(0,br.jsx)(X,{isRounded:!0,className:Xl("AddIcon"),children:(0,br.jsx)(Ne,{icon:OO.faCloudArrowUp,className:Xl("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,br.jsxs)(X,{children:[(0,br.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,br.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,br.jsx)(ar,T(_({flexSizing:"auto"},Dl(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:f}=r,{name:c,size:h,type:p}=l,[m,g]=(0,wf.useState)(!1),b=(0,Ll.UUID)(),S=h.rank(),[w,k]=c.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),L="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?L=p.replace(/image\//,""):p.match(/pdf/)?L="PDF":p.match(/csv/)?L="CSV":p.match(/spreadsheet/)?L="SpreadSheet":p.match(/presentation/)?L="PowerPoint":p.match(/word/)?L="Word":p.match(/zip/)?L="Zip":p.match(/powerpoint/)?L="PowerPoint":p.match(/html/)?L="HTML":p.match(/js/)?L="JavaScript":p.match(/css/)?L="CSS":p.match(/text\/plain/)&&(L="\u30C6\u30AD\u30B9\u30C8"),(0,wf.useEffect)(()=>{m&&setTimeout(()=>{pt("#"+b).focus()},100)},[m]),(0,br.jsxs)(At,T(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,br.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,br.jsxs)(X,{flexSizing:0,children:[(0,br.jsx)(X,{children:(0,br.jsx)(At,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:Xl("FileName"),children:m?(0,br.jsx)(br.Fragment,{children:(0,br.jsxs)(ar,{flexSizing:0,gap:"1/2",children:[(0,br.jsxs)(At,{gap:"2/3",verticalAlign:"center",children:[(0,br.jsx)(dn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:w,onKeyDown:M=>{let{key:Y}=M;Y=="Escape"&&g(!1)}}),(0,br.jsxs)(X,{children:[". ",k]})]}),(0,br.jsxs)(At,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,br.jsx)(ut.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,br.jsx)(ut,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:M=>Da(void 0,null,function*(){let{name:Y}=M,O=[...s.dataValue],j=O[a],F=j.id;if(!j)return;let{target:J}=yield j.convert();if(!J)return;let N=yield String(J.result).toBlob(l.type);if(!N)return;let te=new File([N],Y+"."+k,{type:j.type});te.id=F,O[a]=te,f(_e=>T(_({},_e),{dataValue:O,eventType:"update",eventID:(0,Ll.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,br.jsxs)(br.Fragment,{children:[c,!!o.isNameEditable&&(0,br.jsx)(ut.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,br.jsx)(Ne.Pen,{})})]})})}),!m&&(0,br.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,br.jsx)(ut.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),f(Y=>T(_({},Y),{dataValue:M,eventType:"update",eventID:(0,Ll.UUID)()})))},children:(0,br.jsx)(Ne.Times,{})})]}))}},E$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:f,useSystemOnly:c,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,value:k=[],className:L,cellStyles:M,cellClassName:Y,componentID:O,status_id:j,enableFormSubmit:F,freeCSS:J,wrapStyles:N}=a,te=Ge(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[_e,ae]=(0,wf.useState)(Wt.DefaultStatus(r.componentID||"",k)),[ye,Se]=(0,wf.useState)({ok:!1,notice:[]}),ge={rootStates:r,val_status:_e,set_status:ae};(0,wf.useEffect)(()=>{Ll.useStore.set({["AddFiles-"+_e.componentID]:le=>{ae(fe=>{let B=fe.dataValue,W=[];for(var ne=0;ne<(le==null?void 0:le.length);ne++){let ee=le[ne],{type:de,name:ke}=ee;if(ne+1+B.length>p){rs.add({componentID:ke,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${ke}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!de.match(/image/)){rs.add({componentID:ke,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${ke} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(ee)}return T(_({},fe),{dataValue:[...B,...W],eventType:"update",eventID:(0,Ll.UUID)()})})}})},[]),Wt.CommonEffects({type:"file",states:r,val_status:_e,set_status:ae,val_validate:ye,set_validate:Se,SystemValidation:T$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,br.jsxs)(Fa,{val_status:_e,set_status:ae,val_validate:ye,states:r,children:[(0,br.jsx)(X,T(_({htmlTag:"input",type:"file",className:Xl("Input"),"data-component-id":_e.componentID,accept:H,multiple:p!=1,onChange:le=>Da(void 0,null,function*(){g&&g(le);let fe=le.target,B=fe.files,W=[];for(var ne=0;ne<(B==null?void 0:B.length);ne++){let ee=B[ne],de=ee.name;if(ee.id=(0,Ll.UUID)(),ne+1+_e.dataValue.length>p){rs.add({componentID:de,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${de}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(ee)}ae(ee=>T(_({},ee),{dataValue:[...ee.dataValue,...W],eventType:"update",eventID:(0,Ll.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,br.jsx)(MO.List,_({},ge))]})},hw=r=>(r=T(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:_(_({},Un({tone:r.tone||"border"})),r.cellStyles)}),(0,br.jsx)(Ta,{componentID:r.componentID,children:E$,states:r}));hw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=f=>{l(f.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Ll.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),pt("."+Xl("AddButton")).addClass(Xl("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),pt("."+Xl("AddButton")).removeClass(Xl("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(pt(o).hasClass(Xl("AddButton"))){let{componentId:l}=o.dataset,s=Ll.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var mo=K(Dt()),Ns=K(tr()),hm=K(cr());function R$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var IO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:f}=o;a=Math.max(a,l),a=Math.min(a,s);let c=a/s*s;return c=Math.round(c/f),{stepValue:c*f,stepIndex:c,positionLeft:c*f/s*100+"%"}},PO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:f}=r,c=[],h=Math.round(o/s),p=Math.round(l/s),m=p-h+1;for(var g=h;g<=p;g++){let b=g*s;b=Math.max(b,o),b=Math.min(b,l);let S=b/l*100+"%";c.push((0,mo.jsx)(X,{className:xs("Label"),id:"Legend-"+a+"-"+g,display:g==h||g==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:S,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,hm.useEffect)(()=>{let b=()=>{let S=pt("#Labels-"+a),{width:w}=S.position(),k=Math.round(w/50)-1,L=Math.round(m/k);for(let M=h+1;M<p;M++)pt("#Legend-"+a+"-"+M).css({display:M%L==0?"flex":"none"})};return(0,Ns.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ns.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,mo.jsx)(At,{className:xs("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,mo.jsx)(X,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:c})})},Rail:r=>{let{val_status:a,set_status:o,DotData:l,form:s,enableFormSubmit:f}=r,{componentID:c}=a;return(0,mo.jsxs)(At,{className:xs("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),ep.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,mo.jsx)(X,{className:xs("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:c+"_Bar",children:(0,mo.jsx)(X,{className:xs("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:l.positionLeft},id:c+"_BarColor"})}),(0,mo.jsx)(X,{className:xs("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,mo.jsx)(ut.Plain,{className:xs("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},id:c+"_Ball",onKeyDown:h=>{ep.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&Wt.SubmitForm(h,s)}})})]})}},ep={Effects:{Start:(r,a)=>{(0,Ns.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{ep.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{ep.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{ep.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{ep.Effects.End()}})},Move:(r,a)=>{let o=Ns.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:f,min:c,max:h}=l,p=pt("#"+f+"_Ball"),m=pt("#"+f+"_Bar"),g=pt("#"+f+"_BarColor"),{width:b,left:S}=m.position(),w=(o-S)/b;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,L=IO({value:k,val_status:l}),M=L.positionLeft,Y=L.stepValue;return p.css({left:M}),g.css({width:M}),s(O=>{let j=O.dataValue;return Y==j?O:T(_({},O),{dataValue:Y,eventType:"update",eventID:(0,Ns.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ns.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:f,step:c}=o,{key:h,metaKey:p,ctrlKey:m}=a,g=m||p,b=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?g?b=s:b-=c:h.match(/Right|Down/)&&(g?b=f:b+=c),b=Math.max(Math.min(b,f),s),l(S=>T(_({},S),{dataValue:b,eventType:"update",eventID:(0,Ns.UUID)()})))}},D$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:f=!0,custom:c,showAlways:h=!1}={},min:p,max:m,step:g,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",className:Y,freeCSS:O,wrapStyles:j}=a,F=Ge(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[J,N]=(0,hm.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:m,step:g,eventType:"init",eventID:(0,Ns.UUID)()}),[te,_e]=(0,hm.useState)({ok:!1,notice:[]});Wt.CommonEffects({type:"slider",states:r,val_status:J,set_status:N,val_validate:te,set_validate:_e,SystemValidation:R$});let ae=IO({value:J.dataValue,val_status:J});return(0,mo.jsx)(Fa,{val_status:J,set_status:N,val_validate:te,states:r,children:(0,mo.jsxs)(ar,{gap:"1/2",flexSizing:"auto",className:[xs("Wrap"),Y,xs("ShowLegendsAlways_"+h)].join(" "),children:[(0,mo.jsx)(PO.Rail,{rootStates:r,color:o,val_status:J,set_status:N,DotData:ae,form:s,enableFormSubmit:b}),!!f&&(0,mo.jsx)(PO.IndicatorLabels,{componentID:J.componentID,min:p,max:m,step:g,customLegends:c})]})})},zO=r=>{let a=_({},r);return(0,mo.jsx)(Ta,{componentID:r.componentID,children:D$,states:ko(a)})};var Ao=K(Dt()),mw=K(tr()),vw=K(cr());function A$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var L$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:f,id:c,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,size:k="regular",value:L="",icon:M="",isApply:Y=!1}=a,O=Ge(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,vw.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,mw.UUID)()}),[J,N]=(0,vw.useState)({ok:!1,notice:[]}),te=!!j.dataValue;return Wt.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:J,set_validate:N,SystemValidation:A$}),(0,Ao.jsxs)(Fa,{val_status:j,set_status:F,val_validate:J,states:r,children:[(0,Ao.jsx)(X,_({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:sf("Input"),id:c,onKeyDown:_e=>{g&&g(_e),h&&Wt.SubmitForm(_e,f)},onChange:_e=>{let{checked:ae}=_e.target;J.ok&&N({ok:!1,notice:[]}),F(ye=>T(_({},ye),{dataValue:ae,eventType:"update",eventID:(0,mw.UUID)()})),m&&m(_e)}},O)),(0,Ao.jsx)(dg.Plain,{tabIndex:-1,htmlFor:c,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:sf("Label"),children:(0,Ao.jsx)(X,T(_({},Y?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.5"}:{}),{children:(0,Ao.jsxs)(ht.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!Y&&(0,Ao.jsx)(X,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:sf("Bar"),freeCSS:{height:"40%"}}),(0,Ao.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&te?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:sf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Ao.jsx)(X,{transition:"middle",flexCenter:!0,fontColor:te?Y?l:"white":"6.clear",children:M})})]})}))})]})},Eg=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Ao.jsx)(Ta,{componentID:a.componentID,children:L$,states:a})},mm=Eg;mm.S=r=>(0,Ao.jsx)(Eg,T(_({},r),{size:"small"})),mm.R=r=>(0,Ao.jsx)(Eg,T(_({},r),{size:"regular"})),mm.L=r=>(0,Ao.jsx)(Eg,T(_({},r),{size:"large"}));var BO=K(Dt());var FO=r=>(0,BO.jsx)(Cg,T(_({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Su=K(Dt()),jO=K(tr()),Rg=K(cr());var N$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:f,onUpdateValue:c,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:g,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:w,freeCSS:k,wrapStyles:L}=a,M=Ge(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,Rg.useState)((0,jO.UUID)()),[O,j]=(0,Rg.useState)(s),[F,J]=(0,Rg.useState)(O);return O!=s&&(j(s),J(s)),(0,Su.jsx)(mf,T(_({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:_({whiteSpace:"nowrap"},k),cellStyles:_({flexCenter:!0,ssEffectsOnActive:"push"},g),cellCheckedStyles:_({},w),cellClassName:[b,cg("Label"),cg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,cg("Checked")].join(" "),tone:"custom",onUpdateValue:c,onUpdateValidValue:(...N)=>{h&&h(...N),o=="bottomline"&&J(N[0])}}))},Dg=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=T(_({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:_({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Su.jsx)(N$,_({__sys_segmented_type:"plain"},r))},as=Dg;as.Cloud=r=>{let a=T(_({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:_({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Su.jsx)(Dg,_({},a))},as.CloudTheme=r=>{let a=_({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Su.jsx)(as.Cloud,_({},a))},as.CloudMono=r=>{let a=T(_({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:_({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Su.jsx)(as.Cloud,_({},a))},as.Border=r=>{let a=T(_({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:_({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,Su.jsx)(Dg,_({},a))},as.BorderVivid=r=>{let a=T(_({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:_({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Su.jsx)(as.Border,_({},a))},as.Bottomline=r=>{let a=T(_({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:_({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:_({fontColor:"theme"},r.cellCheckedStyles)});return(0,Su.jsx)(Dg,_({},a))};var Ag=K(Dt()),HO=K(tr()),_w=K(cr());function O$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var M$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:f,checkValidationAtFirst:c,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:g,onUpdateValidValue:b,value:S=""}=a,w=Ge(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,_w.useState)(Wt.DefaultStatus(r.componentID||"",S)),[M,Y]=(0,_w.useState)({ok:!1,notice:[]});return Wt.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:M,set_validate:Y,SystemValidation:O$}),(0,Ag.jsx)(Fa,{val_status:k,set_status:L,val_validate:M,states:r,children:(0,Ag.jsx)(X,_({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:sf("Input"),onKeyDown:O=>{p&&p(O),f&&Wt.SubmitForm(O,s)},onChange:O=>{let{value:j}=O.target;M.ok&&Y({ok:!1,notice:[]}),L(F=>T(_({},F),{dataValue:j,eventType:"update",eventID:(0,HO.UUID)()})),h&&h(O)}},w))})},UO=r=>{let a=T(_(T(_({},Un(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,Ag.jsx)(Ta,{componentID:r.componentID,children:M$,states:a})};var ns=K(tr()),VO=r=>Da(void 0,null,function*(){let a=1,o={};return yield ns.default.scope(()=>Da(void 0,null,function*(){if(ns.useStore.get("form-process-"+r))return;ns.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=ns.useStore.get(["form-data",r].join("-"));if(!s){ns.useStore.set({["form-process-"+r]:!1});return}for(let[f,c]of Object.entries(s)){if(!c)continue;let h=ns.useStore.get(c.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=ns.useStore.get(["form-data",r].join("-"));if(!s){ns.useStore.set({["form-process-"+r]:!1});return}for(let[f,c]of Object.entries(s))c&&(a&=Number(c.validation),o[f]=c.value)}ns.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var La;(r=>(r.Plain=I7,r.Hidden=H7,r.TextField=dn,r.Contenteditable=Q7,r.DigitCharacters=Z7,r.Time=Ls,r.Select=es,r.Autocomplete=Tg,r.List=mO,r.Radio=mf,r.Checkbox=Cg,r.Checker=FO,r.Search=CO,r.Filer=hw,r.Slider=zO,r.Switch=mm,r.Segmented=as,r.Color=UO,r.LeftIcon=Wd,r.RightIcon=Ba,r.LeftIndicator=_g,r.RightIndicator=gg,r.RequiredSign=hg,r.RequiredShortSign=mg,r.OmitSign=vg,r.CollectForm=VO))(La||(La={}));var qO=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,c=Ge(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,WO.useEffect)(()=>{f&&f()},[]),(0,Lg.jsx)(At,T(_({position:"relative",overflow:"auto",flexWrap:!1},c),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},c.freeCSS),children:(0,Lg.jsx)(X,{margin:[0,"auto"],children:(0,Lg.jsx)(La.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{s&&s(h)}})})}))};var vc=K(Dt());var Wr={Table:r=>(0,vc.jsx)(X,T(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,vc.jsx)(X,_({htmlTag:"thead"},r)),Body:r=>(0,vc.jsx)(X,_({htmlTag:"tbody"},r)),Row:r=>(0,vc.jsx)(X,_({htmlTag:"tr"},r)),TH:r=>(0,vc.jsx)(X,_({htmlTag:"th"},r)),TD:r=>(0,vc.jsx)(X,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,vc.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Lo=K(Dt());var gw=K(Dt()),$O=K(tr());var YO=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),_({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},il=r=>{let a={};return r.right&&(a.borderRight="unset"),r.top&&(r.left&&(a.borderTopLeftRadius="inherit"),r.right&&(a.borderTopRightRadius="inherit")),r.bottom&&(a.borderBottom="unset",r.left&&(a.borderBottomLeftRadius="inherit"),r.right&&(a.borderBottomRightRadius="inherit")),a};var tp=r=>{let a=_({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=T(_({tableID:a.tableID||(0,$O.UUID)(),tone:a.tone},a),{cellStyles:_(_({},YO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=_({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=ko(l),{className:f,style:c}=s,h=Ge(s,["className","style"]),p=[f,Kt("Wrap"),Kt("TableType_"+a.type),Kt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,gw.jsx)(X,{className:p,style:c,children:(0,gw.jsx)(o,_({},h))})};var bw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:c}=r;if(!f)return null;let h=[];return f.forEach((p,m)=>{let g=Wr[p.type=="th"?"TH":"TD"],b={top:!0,bottom:!c.length,left:m==0,right:m==s-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=il(b),w=l?l(b):{},k=T(_(_(_(_({},a),S),w),p),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),p.freeCSS),className:[Kt("Cell"),o,p.className].join(" ")});h.push((0,Lo.jsx)(g,_({},k),m))}),(0,Lo.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:c,onRowClick:h}=r,p=[];return f.forEach((m,g)=>{let b=[];m.forEach((S,w)=>{let k=Wr[S.type=="th"?"TH":"TD"],L={top:g==0&&!s,bottom:g==f.length-1,left:w==0,right:w==c-1,rowIndex:g,colIndex:w,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};b.push((0,Lo.jsx)(k,T(_(_(_(_({},a),M),S),Y),{freeCSS:_(_(_({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Kt("Cell"),o,S.className].join(" ")}),w))}),p.push((0,Lo.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},g))}),(0,Lo.jsx)(Lo.Fragment,{children:p})},Normal:r=>(r=_({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Lo.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Lo.jsxs)(Wr.Body,{children:[(0,Lo.jsx)(bw.HeadRow,_({},r)),(0,Lo.jsx)(bw.BodyRows,_({},r))]})}))},GO=r=>(0,Lo.jsx)(tp,T(_({type:"normal"},r),{JSXChildren:bw.Normal}));var Sa=K(Dt()),No=K(tr()),rp=K(cr());var Sw=K(t9());var ww={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:c}=r;if(!f)return null;let h=[];for(let p=0;p<s;p++){let m=f[p],g=Wr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!c.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=il(b),w=l?l(b):{};h.push((0,Sa.jsx)(g,T(_(_(_(_({},a),S),m),w),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),m.freeCSS),className:[Kt("Cell"),o,m.className].join(" ")}),p))}return(0,Sa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:c,onOrderChanged:h}=r,[p]=(0,rp.useState)((0,No.UUID)()),[m,g]=(0,rp.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,w)=>{let k=[];{let L={top:w==0&&!s,bottom:w==f.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};k.push((0,Sa.jsx)(Wr.TH,T(_(_(_({padding:0,borderRight:!0},a),M),Y),{freeCSS:_(_({},a.freeCSS),Y.freeCSS),className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,Sa.jsx)(ut.Clear,{className:Kt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:O=>{vm.Start(O,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,Sa.jsx)(Ne,{icon:Sw.faGripVertical})})}),"DragOrigin"))}S.forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!!s&&!s.length,bottom:w==f.length-1,left:!1,right:M==c-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,Sa.jsx)(Y,T(_(_(_(_({},a),j),L),F),{freeCSS:_(_(_({},a.freeCSS),F.freeCSS),L.freeCSS),className:[Kt("Cell"),o,L.className].join(" ")}),M))}),b.push((0,Sa.jsx)(Wr.Row,{id:"TableRow-"+p+"-"+w,className:[Kt("Row"),Kt("BodyRow")].join(" "),children:k},w))}),!isNaN(m.to)){let{origin:S,to:w}=m,k=[];k.push((0,Sa.jsx)(Wr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,Sa.jsx)(Ne.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,Sa.jsx)(Y,T(_(_(T(_({className:[Kt("Cell"),o,L.className].join(" ")},j),{backgroundColor:"theme.opa.low"}),F),L),{freeCSS:_(_(_({},a.freeCSS),F.freeCSS),L.freeCSS)})))}),b.splice(w,0,(0,Sa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("Pre")].join(" "),children:k},"preSet"))}return(0,rp.useEffect)(()=>{No.useStore.set({[p]:{swap:(S,w)=>{if(w||w==0){let k=m.rows[S],L=[...m.rows];L.splice(S,1),L.splice(w-(S<w?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(M=>No.default.Objectify(M.rowID)))}},preSet:S=>{let{origin:w,index:k}=S;g({rows:m.rows,origin:w,to:k})}}})}),(0,rp.useEffect)(()=>()=>{No.useStore.delete(p)},[]),(0,Sa.jsx)(Sa.Fragment,{children:b})},Drag:r=>(r=_({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,Sa.jsx)(ut.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Na.open({parent:a.currentTarget,content:(0,Sa.jsxs)(Na.Body,{children:[(0,Sa.jsx)(Ne,{icon:Sw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,Sa.jsx)(Ne.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=No.default.Stringify(a.rowID||o),a)),(0,Sa.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Sa.jsxs)(Wr.Body,{children:[(0,Sa.jsx)(ww.HeadRow,_({},r)),(0,Sa.jsx)(ww.BodyRows,_({},r))]})}))},r9=r=>(0,Sa.jsx)(tp,T(_({type:"drag"},r),{JSXChildren:ww.Drag})),vm={Start:function(r,a){return Da(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;pt("#TableRow-"+o+"-"+l).addClass(Kt("DraggerOrigin")),(0,No.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:c=>{vm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:c=>{vm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:c=>{vm.End(c,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:c=>{vm.End(c,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=No.default.getCursor(r).y-No.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let c=pt("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=c.position();f==0&&s<h?a.insertIndex=0:f===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:c}=a,h=No.useStore.get(o);h&&h.preSet&&h.preSet({origin:f,index:c})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,f=No.useStore.get(o);f&&f.swap&&f.swap(l,s),pt("#TableRow-"+o+"-"+l).removeClass(Kt("DraggerOrigin")),(0,No.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Et=K(Dt()),Vn=K(tr()),Cf=K(cr());var c9=K(oS()),f9=K(lS()),d9=K(aS()),p9=K(u9());var wu={__memoryID:(0,Vn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=_({},r),{order:c,filter:h}=l,[p,m]=c.current,g=[],b=[...l.head];if(l.checker){let S={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=il(S),k=l.cellStylesCallback?l.cellStylesCallback(S):{};g.push((0,Et.jsx)(Wr.TH,T(_(_(_({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),k),{freeCSS:T(_(_({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Kt("Cell"),l.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(La.Checker,{label:null,value:!1,onUpdateValidValue:L=>{let M=l.rows;M.forEach(Y=>{Y.checked=L}),s(T(_({},l),{rows:M}))}})})}),-1))}for(let S=0;S<l.colLength;S++){let w=b[S];if(!w)continue;let k=w.children||w.data,L=c.enabled&&c.column[S],M=h.enabled&&h.column[S],Y=L?(0,Et.jsx)(Ne,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?f9.faArrowDown:c9.faArrowUp:d9.faArrowRight}):null,O=(0,Et.jsx)(Et.Fragment,{});if(M){let N=f.map(_e=>{var ae;return(ae=_e[S])==null?void 0:ae.data});N=[...new Set(N)].toASC();let te=h.current[S];if(te){let _e=N.filter(H=>!te.includes(H)),ae=[];N.forEach(H=>{H&&ae.push({value:H,label:(0,Et.jsx)(X,{flexSizing:"auto",children:H})})});let ye="BUTTON-"+l.componentID+"-"+S,Se=l.componentID+"-"+S,ge={sheetID:Se,parent:"#"+ye,gravityPoint:23,type:"custom",content:(0,Et.jsxs)(At,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Et.jsx)(ar,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Et.jsx)(La.Checkbox,{icon:!0,value:_e,display:"flex",gap:"2/3",override:"force",options:ae,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+l.componentID,onUpdateValidValue:H=>{let le=N.filter(B=>!H.includes(B)),fe=_({},l);fe.filter.current[S]=le,s(fe)}})}),(0,Et.jsxs)(ht.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Et.jsx)(ut.Border.S,{isRounded:!0,onClick:()=>{pr.close(Se)},children:"\u9589\u3058\u308B"}),(0,Et.jsx)(ut.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=N);let le=_({},l);le.filter.current[S]=H,s(le)},children:"\u5168\u9078\u629E"})]})]})};O=(0,Et.jsx)(X,{className:Kt("FilterRegion"),children:(0,Et.jsx)(ut.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Kt("Filtering_"+!!te.length),id:ye,onClick:H=>{H.stopPropagation(),pr.open(ge)},children:(0,Et.jsx)(Ne,{icon:p9.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:S==0,right:S==l.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=il(j),J=l.cellStylesCallback?l.cellStylesCallback(j):{};w=T(_(_(_(_({},l.cellStyles),F),w),J),{ssPushable:L,freeCSS:_(_(_({},(o=l.cellStyles)==null?void 0:o.freeCSS),J.freeCSS),w.freeCSS),className:[Kt("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,g.push((0,Et.jsx)(Wr.TH,T(_({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:_({zIndex:2},w.freeCSS),onClick:N=>{if(L){let te=_({},l),_e=[S,p===S&&m=="ASC"?"DESC":"ASC"];te.order.current=_e,s(te),l.onOrderChanged&&l.onOrderChanged(_e)}},children:(0,Et.jsxs)(At,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[O,(0,Et.jsxs)(At,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:g})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,f)=>{var c;let h=[...s],p=[];if(a.checker){let m={top:f==0&&!a.head,bottom:f==o.length-1,left:!0,right:!a.colLength,rowIndex:f,colIndex:0,isBody:!0,isHeader:!1},g=il(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Et.jsx)(Wr.TH,T(_(_(_({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),g),b),{freeCSS:_(_({},(c=a.cellStyles)==null?void 0:c.freeCSS),b.freeCSS),className:[Kt("Cell"),a.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(La.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:S=>{let w=a.rows,k=w.findIndex(L=>Vn.default.is.equal(L.rowID,s.rowID));k!=-1&&(w[k].checked=S,r.set_status(L=>T(_({},L),{rows:w})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let S=m,{type:w="td"}=S,k=Ge(S,["type"]),L={top:f==0&&!a.head,bottom:f==o.length-1,left:a.checker?!1:g==0,right:g==a.colLength-1,rowIndex:f,colIndex:g,isBody:!0,isHeader:!1},M=il(L),Y=a.cellStylesCallback?a.cellStylesCallback(L):{};k=T(_(_(_(_({},a.cellStyles),M),k),Y),{freeCSS:_(_(_({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),Y.freeCSS),className:[Kt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let O=Wr[w=="td"?"TD":"TH"];p.push((0,Et.jsx)(O,_({},k),g))}),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(s.rowID,m)}},f))}),!o.length){let s=(0,Et.jsx)(X,{padding:2,fontColor:"4.thin",textAlign:"center",borderTop:"1.thin",children:"\u30C6\u30FC\u30D6\u30EB\u304C\u3042\u308A\u307E\u305B\u3093"});a.noRecords&&(s=(0,Et.jsx)(Et.Fragment,{children:a.noRecords})),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow"),Kt("DataNotFound")].join(" "),children:(0,Et.jsx)(Wr.TD,{colSpan:a.colLength,className:Kt("Cell"),children:s})},"dataNotFound"))}return(0,Et.jsx)(Et.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:f,paging:c}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],g=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),m=[...p],g=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],L=s.current[w];k&&L&&L.length&&(m=m.filter(M=>!L.includes(M[w].data)),g=[...m])}f.enabled&&(f.current[1]=="ASC"?m=m.toASC([f.current[0],"orderIndex"].join(".")):m=m.toDESC([f.current[0],"orderIndex"].join(".")),g=[...m]);{let{currentPageIndex:w,rowLength:k}=c;g=[...g].splice((w-1)*k,k)}let b=wu.__memoryID+"_"+a.tableID,S={rows:{total:h.length,page:g.length,filtered:m.length},val_status:T(_({},a),{paging:T(_({},a.paging),{pageLength:Math.ceil(m.length/a.paging.rowLength)})}),set_status:o};return Vn.useStore.update({[b]:{getRowData:()=>{let w=[...h];return f.enabled&&(f.current[1]=="ASC"?w=w.toASC([f.current[0],"orderIndex"].join(".")):w=w.toDESC([f.current[0],"orderIndex"].join("."))),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),g.forEach(k=>{let{rowID:L}=k;w.find(M=>Vn.default.is.equal(M.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;w.find(M=>Vn.default.is.equal(M.rowID,L)).filtered=!0}),w}}}),(0,Cf.useEffect)(()=>{kl.release(a.tableID,S)}),(0,Et.jsx)(X,{className:Kt("TableBase"),children:(0,Et.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Et.jsxs)(Wr.Body,{children:[(0,Et.jsx)(wu.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Et.jsx)(wu.Body,{val_status:a,set_status:o,PageRows:g})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=_({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var f;return Vn.default.is.boolean(r.filter)?r.filter:(f=r.filter[s])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var f;return Vn.default.is.boolean(r.order)?r.order:(f=r.order[s])!=null?f:!0}),r=_({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let f=[];l.forEach((c,h)=>{let{data:p,children:m,orderIndex:g}=c;c.orderIndex=Vn.default.is.exist(g)?String(g):String(p),c.children=m||String(p),f.push(String(c.data))}),l.__sys4SearchKey=f.join("/")}),(0,Et.jsx)(wu.StateManager,_({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:f,defaultOrder:c=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,Cf.useState)((0,Vn.UUID)()),m={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:l,filter:{enabled:s!==!1,column:s,current:Array.from({length:a},()=>[])},order:{enabled:f!==!1,column:f,current:c},paging:{rowLength:h,pageLength:Math.ceil(r.rows.length/h),currentPageIndex:1},head:r.head,rows:r.rows,noRecords:r.noRecords,cellStyles:r.cellStyles||{},cellClassName:r.cellClassName||"",cellStylesCallback:r.cellStylesCallback,onRowClick:r.onRowClick,onOrderChanged:r.onOrderChanged},[g,b]=(0,Cf.useState)(m);return(0,Cf.useEffect)(()=>{b(S=>T(_({},S),{rows:m.rows}))},[Vn.default.Stringify(m.rows)]),(0,Cf.useEffect)(()=>{b(S=>T(_({},S),{head:m.head}))},[Vn.default.Stringify(m.head)]),(0,Et.jsx)(wu.Core,{val_status:g,set_status:b})}},P$={__memoryID:wu.__memoryID,getRowData:r=>{let a=Vn.useStore.get(wu.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},Ng={SearchInput:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Et.jsx)(La.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Et.jsx)(La.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Et.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:s=>{r.onChange(s),Vn.default.interval.once(()=>{l(f=>T(_({},f),{paging:T(_({},f.paging),{currentPageIndex:1}),filter:T(_({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=a.rows.filtered.ratio(a.rows.total)||0;return(0,Et.jsxs)(At,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Et.jsx)(yn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let c=0;c<o.paging.pageLength;c++)s.push({value:c+1,label:(c+1).toString()});let f=c=>{let h=Math.min(Math.max(1,c),o.paging.pageLength),p=_({},o);p.paging.currentPageIndex=h,l(m=>T(_({},m),{paging:T(_({},m.paging),{currentPageIndex:h})}))};return(0,Et.jsxs)(ht.Center,{children:[(0,Et.jsxs)(ht.Center,{gap:"1/2",children:[(0,Et.jsx)(La.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,onUpdateValidValue:c=>{f(c)}}),"/ ",o.paging.pageLength]}),(0,Et.jsxs)(ht.Right,{gap:"1/2",children:[(0,Et.jsx)(ut.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Et.jsx)(Ne.ChevronLeft,{})}),(0,Et.jsx)(ut.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Et.jsx)(Ne.ChevronRight,{})})]})]})},RowLength:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,f=0,c=r.lengthSelect.map(h=>(f|=+(h==s),{value:h,label:h.toString()}));return f||c.push({value:s,label:s.toString()}),(0,Et.jsx)(ht.Center,{gap:"1/2",children:(0,Et.jsx)(La.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],SelectorStyles:{freeCSS:{minWidth:12*9}},SelectorPosition:4,value:o.paging.rowLength,options:c.toASC("value"),onUpdateValidValue:h=>{l(p=>T(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},I$=r=>(0,Et.jsx)(tp,T(_({},r),{type:"data",JSXChildren:wu.DataLeveler})),_c=I$;_c.__memoryID=wu.__memoryID,_c.getRowData=P$.getRowData,_c.Info=Ng.Info,_c.Paging=Ng.Paging,_c.RowLength=Ng.RowLength,_c.SearchInput=Ng.SearchInput;var Og;(r=>(r.Normal=GO,r.Data=_c,r.Drag=r9,r.Parts=Wr))(Og||(Og={}));var xw=K(Dt()),_m=K(tr());var _u={uid:(0,_m.UUID)(),open:(r,a,o=24,l=.35)=>{r&&_m.default.interval.once(()=>{Na.open({tipsID:_u.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,xw.jsx)(Na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,xw.jsx)(nr.Supplement,{children:a})})})},l*1e3,_u.uid)},abort:()=>{_m.default.interval.abort(_u.uid),Na.close(_u.uid)}};var ct=K(Dt()),ia=K(tr());var os=K(cr());var U9=K(y9()),V9=K(E9()),W9=K(M9()),q9=K(H9());var Dw=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops,this.use=a.use,this.componentID=a.componentID,this.scale={current:a.scale.default,default:a.scale.default,min:a.scale.min,max:a.scale.max};let o=a.canvas;this.Canvas={elm:o,ctx:o.getContext("2d")};let l=a.picture.image,{width:s,height:f}=l,c=s/f;this.Picture={elm:l,originDataUrl:l.src,aspect:c,revisedAspect:1,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:0,y:0,w:0,h:0,aspect:1},outImage:{x:0,y:0,w:0,h:0},imageX:s/2,imageY:f/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,l=0,s=0;if(this.use=="square"){let g=a.width/3*2,b=a.height/3*2;l=Math.min(g,b),s=l}else this.use=="wallpaper.horizontal"?(l=a.width*(7/9),s=l/3):this.use=="wallpaper.vertical"&&(s=a.height*(7/9),l=s/2);let{width:f,height:c}=o,h=(a.width-l)/2,p=(a.height-s)/2,m=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:m},outImage:{x:0,y:0,w:0,h:0},imageX:f/2,imageY:c/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/f.width,y:this.Canvas.elm.height/f.height}}}else{let{origin:f,frameExpandRate:c}=this.dragEffectInfo,h=f.x-l,p=f.y-s,m=this.scale.current*this.Picture.revisedAspect/100,g=h/m*c.x,b=p/m*c.y;o=="move"?this.drawImage(this.pst.imageX+g,this.pst.imageY+b):o=="end"&&this.drawImage(this.pst.imageX+=g,this.pst.imageY+=b)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:f}=ia.default.getCursor(l.touches[0]),{x:c,y:h}=ia.default.getCursor(l.touches[1]),p=c-s,m=h-f;if(o=="start")this.pinchEffectInfo.origin={x:p,y:m,scale:this.scale.current};else if(o=="move"){let{origin:g}=this.pinchEffectInfo,b=Math.sqrt(Math.pow(g.x,2)+Math.pow(g.y,2)),S=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,w=Number(g.scale*S);this.set_scale(w)}}updateScale(a){let o=a;o=Math.max(o,this.scale.min),o=Math.min(o,this.scale.max),this.scale.current=o,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return Da(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),c=yield ia.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&&(f.filter="grayscale("+a+"%)"),l&&(f.translate(h/2,p/2),f.rotate(l*Math.PI/180),[90,270].includes(l)?f.translate(-p/2,-h/2):f.translate(-h/2,-p/2)),f.drawImage(c,0,0,c.width,c.height);let m=f.getImageData(0,0,s.width,s.height),g=m.data;{a/=100;let k=[[255,255,255],[255,200,100],[170,170,255],[240,200,145],[128,255,255],[255,128,255],[255,255,128],[128,158,169],[128,112,162],[50,192,87],[246,100,140]][o],L=k[0]/255,M=k[1]/255,Y=k[2]/255;for(let O=0;O<p;O++)for(let j=0;j<h;j++){var b=(O*h+j)*4;if(a){let F=.3*g[b]+.59*g[b+1]+.11*g[b+2];for(var S=0;S<3;S++){let J=g[b+S];g[b+S]=J+(F-J)*a}}g[b]*=L,g[b+1]*=M,g[b+2]*=Y}}f.putImageData(m,0,0);let w=s.toDataURL("image/jpeg");{let k=yield ia.default.ImageLoader(w),{width:L,height:M}=k,Y=L/M;this.Picture=T(_({},this.Picture),{elm:k,aspect:Y,revisedAspect:this.pst.frame.aspect>Y?this.pst.frame.w/L:this.pst.frame.h/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,elm:f},pst:{frame:c}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let m=this.scale.current/100,g=this.Picture.revisedAspect*m,b=this.pst.centerX-h*g,S=this.pst.centerY-p*g,w=this.Picture.elm.width*g,k=this.Picture.elm.height*g;{let L=this.pst.frame.x+this.pst.frame.w-w,M=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,O=this.pst.frame.y,j=0;b<L&&(j=b-L),b>M&&(j=b-M);let F=0;S<Y&&(F=S-Y),S>O&&(F=S-O),this.dragEffectInfo.origin.x+=j/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=F/2/this.dragEffectInfo.frameExpandRate.y,b=Math.min(Math.max(b,L),M),S=Math.min(Math.max(S,Y),O)}this.pst.outImage={x:b,y:S,w,h:k},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,b,S,w,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let g=f.width/3*2,b=f.height/3*2,S=Math.min(g,b),w=Math.max(g,b);s.arc(f.width/2,f.height/2,w,0,Math.PI*2,!0),s.arc(f.width/2,f.height/2,S/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(f.width,0),s.lineTo(f.width,f.height),s.lineTo(0,f.height),s.lineTo(0,0),s.closePath(),s.lineTo(c.x,c.y),s.lineTo(c.x,c.y+c.h),s.lineTo(c.x+c.w,c.y+c.h),s.lineTo(c.x+c.w,c.y),s.lineTo(c.x,c.y),s.fill();let m=(0,ia.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${m},1 )`,s.strokeRect(c.x,c.y,c.w,c.h)}}export(){return Da(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:f}}=this,c=s.w/l.elm.width,h=s.h/l.elm.height,p=(f.x-s.x)/c,m=(f.x-s.x+f.w)/c,g=(f.y-s.y)/h,b=(f.y-s.y+f.h)/h,S=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:L,maxSize:M}=o[k];M=M||{S:1024*20,R:1024*100,L:1024*350}[L];let Y={S:140,R:600,L:1200}[L],O=Y;this.use=="wallpaper.horizontal"?O=Y/3:this.use=="wallpaper.vertical"&&(O=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=O;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,O),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,O);let J=j.toDataURL(w),N=yield J.toBlob(w);if(!N)return;if(N.size>=M){let _e=M/N.size;if(J=j.toDataURL(w,_e*.92),N=yield J.toBlob(w),!N)return}let te=new File([N],this.val_file.name,{type:w});S[k]=te}return S})}},Y9={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:c=[]}=o,[h]=(0,os.useState)((0,ia.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,g]=(0,os.useState)(p.scale.default),[b,S]=(0,os.useState)(p.rotate),[w,k]=(0,os.useState)(p.grayScale),[L,M]=(0,os.useState)(p.tone);return(0,os.useEffect)(()=>{let Y="CropperResize";return(0,ia.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{ia.default.interval.once(()=>{var O;let j=pt("#Canvas-"+h)[0];if(!j)return;let F=(O=ia.useStore.get(h))==null?void 0:O.Instance;if(!F)return;let J=j.position(),N=J.width/J.height;j.width=2400,j.height=2400/N;let{width:te,height:_e}=j;F.pst.centerX=te/2,F.pst.centerY=_e/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,ia.default)(window).removeEvent(Y)}},[]),(0,os.useEffect)(()=>{ia.useStore.set({[h]:{}}),Da(void 0,null,function*(){Ro.fn.corner.active(),yield ia.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let O=Y.result,j=pt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),J=F.width/F.height;j.width=2400,j.height=2400/J;let N=new Dw({set_scale:g,val_file:a,develops:c,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield ia.default.ImageLoader(O),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});ia.useStore.set({[h]:{Instance:N}});let te=function(ye){if(ye.preventDefault(),ye.touches&&ye.touches.length>1)N.pinchEffect({eventType:"start",event:ye}),(0,ia.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:Se=>{Se.preventDefault(),N.pinchEffect({eventType:"move",event:Se})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:ae});else{N.dragEffect(_({eventType:"start"},ia.default.getCursor(ye)));let{type:Se}=ye;(0,ia.default)(document).addEvent({eventType:Se=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ge=>{_e("move",ge)}}).addEvent({eventType:Se=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ge=>{_e("end",ge),ae(ge)}})}},_e=function(ye,Se){Se.preventDefault(),N.dragEffect(_({eventType:ye},ia.default.getCursor(Se)))},ae=function(ye){ye.preventDefault(),(0,ia.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,ia.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:ye=>{ye.preventDefault();let Se=Number(ye.wheelDelta*.04),ge=N.scale.current+Se;ge=Math.max(ge,N.scale.min),ge=Math.min(ge,N.scale.max),g(ge)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:te,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:te,options:{passive:!1}}),setTimeout(()=>{Ro.fn.corner.stop()},1e3)})},[a.id]),(0,os.useEffect)(()=>{var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateScale(m)},[m]),(0,os.useEffect)(()=>{var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateFilter({grayScale:w,tone:L,rotate:b})},[w,L,b]),(0,ct.jsx)(pr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,ct.jsxs)(ar,{className:[uc("Wrap"),uc("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,ct.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,ct.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:uc("Canvas"),id:"Canvas-"+h})}),(0,ct.jsxs)(ht.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,ct.jsx)(Y9.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:M,val_grayScale:w,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,ct.jsxs)(ht.Right,{flexSizing:"none",children:[(0,ct.jsx)(ut.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,ct.jsx)(ut,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Da(void 0,null,function*(){var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;if(!O)return;Ro.fn.mini.active("CropperExportation");let j=yield O.export();setTimeout(()=>{Ro.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,ct.jsxs)(ht.Center,{gap:"1/2",children:[(0,ct.jsx)(Ro.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=["","\u6696\u8272","\u5BD2\u8272","\u30BB\u30D4\u30A2","\u30B7\u30A2\u30F3","\u30DE\u30BC\u30F3\u30BF","\u30A4\u30A8\u30ED\u30FC","\u30AA\u30EA\u30B8\u30CA\u30EB1","\u30AA\u30EA\u30B8\u30CA\u30EB2","\u30AA\u30EA\u30B8\u30CA\u30EB3","\u30AA\u30EA\u30B8\u30CA\u30EB4"],o=l=>a[l]||"\u306A\u3057";return(0,ct.jsxs)(ht.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,ct.jsxs)(ar,{gap:"1/3",children:[(0,ct.jsx)(nr.Supplement,{children:"Rotate"}),(0,ct.jsxs)(ht.Left,{flexChilds:"even",gap:"1/6",children:[(0,ct.jsx)(ut.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let l=r.val_rotate-90;l<0&&(l+=360),r.set_rotate(l)},children:(0,ct.jsxs)(ht.Center,{gap:"1/4",children:["90\xB0",(0,ct.jsx)(Ne,{icon:W9.faRotateLeft})]})}),(0,ct.jsx)(ut.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,ct.jsxs)(ht.Center,{gap:"1/4",children:[(0,ct.jsx)(Ne,{icon:q9.faRotateRight}),"90\xB0"]})})]})]}),(0,ct.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ct.jsx)(nr.Supplement,{children:"Zoom"}),(0,ct.jsxs)(ut.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,ct.jsx)(pr.Body,{children:(0,ct.jsxs)(ar,{padding:1.5,children:[(0,ct.jsxs)(ht.Separate,{children:[(0,ct.jsx)(nr.Paragraph,{children:(0,ct.jsxs)(ht.Center,{gap:"1/2",children:[(0,ct.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,ct.jsx)(ut.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ct.jsx)(Ne.Times,{})})]}),(0,ct.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,ct.jsx)(La.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:(f,c)=>{ia.default.interval.once(()=>{r.set_scale(f+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,ct.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ct.jsx)(nr.Supplement,{children:"GrayScale"}),(0,ct.jsxs)(ut.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,ct.jsx)(pr.Body,{children:(0,ct.jsxs)(ar,{padding:1.5,children:[(0,ct.jsxs)(ht.Separate,{children:[(0,ct.jsx)(nr.Paragraph,{children:(0,ct.jsxs)(ht.Center,{gap:"1/2",children:[(0,ct.jsx)(Ne,{icon:U9.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,ct.jsx)(ut.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ct.jsx)(Ne.Times,{})})]}),(0,ct.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,ct.jsx)(La.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:f=>{ia.default.interval.once(()=>{r.set_grayScale(f)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:f=>f+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,ct.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,ct.jsx)(nr.Supplement,{children:"Tone"}),(0,ct.jsx)(ut.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let f=[];for(let c=1;c<=10;c++)f.push({value:c,label:(0,ct.jsxs)(ht.Left,{gap:"1/3",children:[(0,ct.jsx)(X,{ssSphere:1,className:[uc("ToneBall"),uc("ToneBall_"+c)].join(" ")}),(0,ct.jsx)(X,{textAlign:"left",flexSizing:0,children:o(c)})]})});return(0,ct.jsx)(pr.Body,{children:(0,ct.jsxs)(ar,{padding:1.5,children:[(0,ct.jsxs)(ht.Separate,{children:[(0,ct.jsx)(nr.Paragraph,{children:(0,ct.jsxs)(ht.Center,{gap:"1/2",children:[(0,ct.jsx)(Ne,{icon:V9.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,ct.jsx)(ut.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,ct.jsx)(Ne.Times,{})})]}),(0,ct.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,ct.jsx)(La.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,ct.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:c=>{r.set_tone(c)}})]})})}})},children:(0,ct.jsxs)(ht.Center,{gap:"1/2",children:[(0,ct.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[uc("ToneBall"),uc("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Aw={openDialogNEdit:r=>Da(void 0,null,function*(){let a=yield La.Filer.fn.openDialog({accept:"image",multiple:!1});Aw.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>Da(void 0,null,function*(){let a="CropperImage";pr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,ct.jsx)(Y9.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{pr.close(a),r.onProcessFinished(o)},abortCallback:()=>{pr.close(a)}}),closeAtEscapeKeyDown:!1})})};var Oo=K(Dt());var $9=()=>{let{href:r}=location;return(0,Oo.jsx)(ht.Center,{padding:[4,1],children:(0,Oo.jsxs)(ar,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,Oo.jsx)(Ne.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,Oo.jsxs)(X,{children:[(0,Oo.jsx)(nr.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,Oo.jsx)(nr.Supplement,{fontColor:"3.blur",children:"\u5165\u529B\u3055\u308C\u305F\u30EA\u30F3\u30AF\u306E\u30DA\u30FC\u30B8\u306F\u5B58\u5728\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002"})]}),(0,Oo.jsxs)(ar,{children:[(0,Oo.jsxs)(nr,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,Oo.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,Oo.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,Oo.jsx)(cf.Link,{newTab:!0,href:r,children:r}),(0,Oo.jsx)(cf.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Mg=r=>{let[a,o]=(0,gc.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,gc.useRef)(!1);(0,gc.useEffect)(()=>{l&&(s.current?(pr.closeAll(!0),Rs.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,gc.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,gc.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Mn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Mn.open(r);return}Mn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Mn.pushSync(r);return}Mn.__push(r)},back:()=>{Mn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Mn.__push=r},setBackEffect:r=>{Mn.__back=r}};var G9=K(tr());var qh=[{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}],Wh=()=>{let r="#45515c",a=(0,G9.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},K9={light:"#FFF",dark:"#333",dim:"#666",auto:()=>dt.get().isSystemDarkmode()?"#333":"#FFF"},Nw={};qh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Nw[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var $a=K(tr());var Re={toConcreteBorderRadius:r=>{let a=dt.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>$a.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,f,c,h,p,m,g,b;let S=[],{gap:w,display:k,position:L,overflow:M,fontColor:Y,fontSize:O,fontWeight:j,fontHeight:F,backgroundColor:J,textAlign:N,textDecoration:te,boxShadow:_e,margin:ae,marginTop:ye,marginRight:Se,marginBottom:ge,marginLeft:H,padding:le,paddingTop:fe,paddingRight:B,paddingBottom:W,paddingLeft:ne,top:ee,right:de,bottom:ke,left:be,border:Pe,borderTop:qe,borderRight:He,borderBottom:at,borderLeft:Tt,borderWidth:ft,borderColor:wt,borderStyle:vt,borderRadius:tt,borderTopLeftRadius:we,borderTopRightRadius:yt,borderBottomLeftRadius:Lt,borderBottomRightRadius:Ft,flexSizing:Ht,flexWrap:er,flexType:sr,flexChilds:Cr,flexGrid:ra,horizontalAlign:jr,verticalAlign:qr,transition:ur,gridCenter:Dr,gridCols:xr,maxHeight:ha,minHeight:yr,maxWidth:hr,minWidth:Mr,width:_a,height:Be,unitHeight:it,unitWidth:gt,opacity:$t}=a;{if(Re.ev(k)&&S.push("dsp"+k),M){let G=$a.default.flatArray(M);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(L)&&S.push("ps"+L),Re.ev(N)&&S.push("txtalg"+N),Re.ev(N)&&S.push("txtdeco"+te),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(O)&&S.push("ftsz"+((l=String(O))==null?void 0:l.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((s=String(j))==null?void 0:s.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(J)&&S.push("bgc"+((c=String(J))==null?void 0:c.replace(/\./g,"_"))),Re.ev(_e)&&S.push("bs"+_e);let Ut,kr,mr,Yr;$a.default.is.exist(ae)&&($a.default.is.array(ae)?ae.length==2?[Ut,kr,mr,Yr]=[...ae,...ae]:ae.length==4&&([Ut,kr,mr,Yr]=ae):Ut=kr=mr=Yr=ae,ye=ye!=null?ye:Ut,Se=Se!=null?Se:kr,ge=ge!=null?ge:mr,H=H!=null?H:Yr),Re.ev(ye)&&S.push("mrgt"+ye),Re.ev(Se)&&S.push("mrgr"+Se),Re.ev(ge)&&S.push("mrgb"+ge),Re.ev(H)&&S.push("mrgl"+H);let $,P,R,z;$a.default.is.exist(le)&&($a.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,fe=fe!=null?fe:$,B=B!=null?B:P,W=W!=null?W:R,ne=ne!=null?ne:z),Re.ev(fe)&&S.push("pdt"+fe),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ne)&&S.push("pdl"+ne),Re.ev(ee)&&S.push("pstt"+ee),Re.ev(de)&&S.push("pstr"+de),Re.ev(ke)&&S.push("pstb"+ke),Re.ev(be)&&S.push("pstl"+be);{$a.default.is.exist(Pe)&&(qe=qe!=null?qe:Pe,He=He!=null?He:Pe,at=at!=null?at:Pe,Tt=Tt!=null?Tt:Pe),$a.default.is.boolean(qe)&&(qe=["unset","2.normal"][Number(qe)]),$a.default.is.boolean(He)&&(He=["unset","2.normal"][Number(He)]),$a.default.is.boolean(at)&&(at=["unset","2.normal"][Number(at)]),$a.default.is.boolean(Tt)&&(Tt=["unset","2.normal"][Number(Tt)]),Re.ev(qe)&&S.push("b_t_ss"+((h=String(qe))==null?void 0:h.replace(/\./g,"_"))),Re.ev(He)&&S.push("b_r_ss"+((p=String(He))==null?void 0:p.replace(/\./g,"_"))),Re.ev(at)&&S.push("b_b_ss"+((m=String(at))==null?void 0:m.replace(/\./g,"_"))),Re.ev(Tt)&&S.push("b_l_ss"+((g=String(Tt))==null?void 0:g.replace(/\./g,"_"))),$a.default.is.exist(ft)&&S.push("b_wth"+String(ft)),$a.default.is.exist(wt)&&S.push("b_cl"+((b=String(wt))==null?void 0:b.replace(/\./g,"_"))),$a.default.is.exist(vt)&&S.push("b_st"+String(vt));{let G,ie,oe,Oe;$a.default.is.exist(tt)&&($a.default.is.array(tt)?tt.length==4&&([G,ie,Oe,oe]=tt):G=ie=oe=Oe=tt,we=we!=null?we:G,yt=yt!=null?yt:ie,Lt=Lt!=null?Lt:oe,Ft=Ft!=null?Ft:Oe)}Re.ev(we)&&S.push("br_tl"+Re.toConcreteBorderRadius(we)),Re.ev(yt)&&S.push("br_tr"+Re.toConcreteBorderRadius(yt)),Re.ev(Lt)&&S.push("br_bl"+Re.toConcreteBorderRadius(Lt)),Re.ev(Ft)&&S.push("br_br"+Re.toConcreteBorderRadius(Ft))}if(Re.ev($t)&&S.push("op"+$t),$a.default.is.exist(w)){let G,ie;$a.default.is.array(w)?(G=w[0],ie=w[1]):G=ie=w,S.push("gapRow"+G,"gapCol"+ie)}Re.ev(Ht)&&S.push("flsz"+Ht),Re.ev(er)&&S.push("flwrp"+er),Re.ev(sr)&&S.push("fltyp"+sr),Re.ev(Cr)&&S.push("flchld"+Cr),Re.ev(ra)&&S.push("flgrid"+ra),Re.ev(qr)&&S.push("flvrt"+qr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(Dr)&&S.push("grcnt"+Dr),Re.ev(xr)&&S.push("grcol"+xr),Re.ev(Be)&&S.push("hgt"+Be),Re.ev(_a)&&S.push("wdt"+_a),Re.ev(it)&&S.push("unthgt"+it),Re.ev(gt)&&S.push("untwdt"+gt),Re.ev(ur)&&S.push("trnst"+ur),Re.ev(ha)&&S.push("maxh"+ha),Re.ev(yr)&&S.push("minh"+yr),Re.ev(hr)&&S.push("maxw"+hr),Re.ev(Mr)&&S.push("minw"+Mr)}return S.length?r+S.join(" "+r):""}},nm=r=>{let a=_({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:c,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:S,isSemiBoldFont:w,isRounded:k,isSquare:L,freeCSS:M={}}=a,Y=Ge(M,[]),O=Ge(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},O=O||{},o){let{deg:j,colors:F}=o;Y=T(_({},Y),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(l){l===!0&&(l="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?j.border=!0:l=="layer"?j.backgroundColor="layer.1":l=="cloud"?j.backgroundColor="cloud":l=="shadow"&&(j.boxShadow="0.normal"),dt.get().darkMode=="dim"&&(j.boxShadow="1.normal"),dt.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=_(_({},j.freeCSS),Y),O=_(_({},j),O)}return s&&(m=m!=null?m:!0,O=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},O)),f&&(m=m!=null?m:!0,O=_({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},O)),c&&(O=_({transition:"middle"},O),O=T(_({},O),{className:[O.className,"ssPushable"].join(" ")})),h&&(O=_({position:"absolute",top:0,left:0,right:0,bottom:0},O)),p&&(O=_({overflow:"hidden"},O),Y=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(O=_({width:1,flexSizing:"none"},O)),m&&(O=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},O)),b&&(O.fontWeight="1.light"),w&&(O.fontWeight="3.semiBold"),S&&(O.fontWeight="4.bold"),k&&($a.default.is.number(k)?Y.borderRadius=k*12:O.borderRadius="sphere"),L&&(Y.aspectRatio="1"),T(_({},O),{freeCSS:Y})},ko=r=>{let a=nm(r),{componentID:o,gap:l,display:s,position:f,overflow:c,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:J,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:ae,right:ye,bottom:Se,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:ke,borderTopLeftRadius:be,borderTopRightRadius:Pe,borderBottomLeftRadius:qe,borderBottomRightRadius:He,flexSizing:at,flexWrap:Tt,flexType:ft,flexChilds:wt,flexGrid:vt,horizontalAlign:tt,verticalAlign:we,transition:yt,gridCenter:Lt,gridCols:Ft,maxHeight:Ht,minHeight:er,maxWidth:sr,minWidth:Cr,width:ra,height:jr,unitHeight:qr,unitWidth:ur,opacity:Dr,ssLastChildLossBorder:xr,ssAbsoluteCovered:ha,ssCardBox:yr,ssEffectsOnActive:hr,ssPushable:Mr,ssSphere:_a,ssSquare:Be,ssTextEllipsis:it,isBoldFont:gt,isLightFont:$t,isSemiBoldFont:Ut,isRounded:kr,flexCenter:mr,flexNewLine:Yr,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=Ge(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","fontHeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),ie=_({},G),oe=[R];if(xr&&oe.push("ssLastChildLossBorder_"+xr),hr){hr=$a.default.flatArray(hr);for(let Oe of hr){let[Ie,Me]=Oe.split(".");ie["data-effect-"+Ie]="1",Me&&(ie["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:c,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:J,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:ae,right:ye,bottom:Se,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:ke,borderTopLeftRadius:be,borderTopRightRadius:Pe,borderBottomLeftRadius:qe,borderBottomRightRadius:He,flexSizing:at,flexWrap:Tt,flexType:ft,flexChilds:wt,flexGrid:vt,horizontalAlign:tt,verticalAlign:we,transition:yt,gridCenter:Lt,gridCols:Ft,maxHeight:Ht,minHeight:er,maxWidth:sr,minWidth:Cr,width:ra,height:jr,unitHeight:qr,unitWidth:ur,opacity:Dr});oe.push(Oe)}return P&&oe.push(Re.ClassNames("amotf_bp",P)),z&&(ie.style=_(_({},z),ie.style)),(o||ie["data-component-id"])&&(ie["data-component-id"]=ie["data-component-id"]||o),oe.length&&oe.join("")&&(ie.className=oe.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),ie},Dl=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:c,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:g,textDecoration:b,boxShadow:S,margin:w,marginTop:k,marginRight:L,marginBottom:M,marginLeft:Y,padding:O,paddingTop:j,paddingRight:F,paddingBottom:J,paddingLeft:N,top:te,right:_e,bottom:ae,left:ye,border:Se,borderTop:ge,borderRight:H,borderBottom:le,borderLeft:fe,borderWidth:B,borderColor:W,borderStyle:ne,borderRadius:ee,borderTopLeftRadius:de,borderTopRightRadius:ke,borderBottomLeftRadius:be,borderBottomRightRadius:Pe,flexSizing:qe,flexWrap:He,flexType:at,flexChilds:Tt,flexGrid:ft,horizontalAlign:wt,verticalAlign:vt,transition:tt,gridCenter:we,gridCols:yt,maxHeight:Lt,minHeight:Ft,maxWidth:Ht,minWidth:er,width:sr,height:Cr,unitHeight:ra,unitWidth:jr,opacity:qr,ssLastChildLossBorder:ur,ssAbsoluteCovered:Dr,ssCardBox:xr,ssEffectsOnActive:ha,ssPushable:yr,ssSphere:hr,ssSquare:Mr,ssTextEllipsis:_a,isBoldFont:Be,isLightFont:it,isSemiBoldFont:gt,isRounded:$t,flexCenter:Ut,flexNewLine:kr,gradients:mr,UnderBreakPointStyles:Yr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(l)&&(P.position=l),Re.ev(s)&&(P.overflow=s),Re.ev(f)&&(P.fontColor=f),Re.ev(c)&&(P.fontSize=c),Re.ev(h)&&(P.fontWeight=h),Re.ev(p)&&(P.fontHeight=p),Re.ev(m)&&(P.backgroundColor=m),Re.ev(g)&&(P.textAlign=g),Re.ev(b)&&(P.textDecoration=b),Re.ev(S)&&(P.boxShadow=S),Re.ev(w)&&(P.margin=w),Re.ev(k)&&(P.marginTop=k),Re.ev(L)&&(P.marginRight=L),Re.ev(M)&&(P.marginBottom=M),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(O)&&(P.padding=O),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(J)&&(P.paddingBottom=J),Re.ev(N)&&(P.paddingLeft=N),Re.ev(te)&&(P.top=te),Re.ev(_e)&&(P.right=_e),Re.ev(ae)&&(P.bottom=ae),Re.ev(ye)&&(P.left=ye),Re.ev(Se)&&(P.border=Se),Re.ev(ge)&&(P.borderTop=ge),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(fe)&&(P.borderLeft=fe),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ne)&&(P.borderStyle=ne),Re.ev(ee)&&(P.borderRadius=ee),Re.ev(de)&&(P.borderTopLeftRadius=de),Re.ev(ke)&&(P.borderTopRightRadius=ke),Re.ev(be)&&(P.borderBottomLeftRadius=be),Re.ev(Pe)&&(P.borderBottomRightRadius=Pe),Re.ev(qe)&&(P.flexSizing=qe),Re.ev(He)&&(P.flexWrap=He),Re.ev(at)&&(P.flexType=at),Re.ev(Tt)&&(P.flexChilds=Tt),Re.ev(ft)&&(P.flexGrid=ft),Re.ev(wt)&&(P.horizontalAlign=wt),Re.ev(vt)&&(P.verticalAlign=vt),Re.ev(tt)&&(P.transition=tt),Re.ev(we)&&(P.gridCenter=we),Re.ev(yt)&&(P.gridCols=yt),Re.ev(Lt)&&(P.maxHeight=Lt),Re.ev(Ft)&&(P.minHeight=Ft),Re.ev(Ht)&&(P.maxWidth=Ht),Re.ev(er)&&(P.minWidth=er),Re.ev(sr)&&(P.width=sr),Re.ev(Cr)&&(P.height=Cr),Re.ev(ra)&&(P.unitHeight=ra),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(qr)&&(P.opacity=qr),Re.ev(ur)&&(P.ssLastChildLossBorder=ur),Re.ev(Dr)&&(P.ssAbsoluteCovered=Dr),Re.ev(xr)&&(P.ssCardBox=xr),Re.ev(ha)&&(P.ssEffectsOnActive=ha),Re.ev(yr)&&(P.ssPushable=yr),Re.ev(hr)&&(P.ssSphere=hr),Re.ev(Mr)&&(P.ssSquare=Mr),Re.ev(_a)&&(P.ssTextEllipsis=_a),Re.ev(Be)&&(P.isBoldFont=Be),Re.ev(it)&&(P.isLightFont=it),Re.ev(gt)&&(P.isSemiBoldFont=gt),Re.ev($t)&&(P.isRounded=$t),Re.ev(Ut)&&(P.flexCenter=Ut),Re.ev(kr)&&(P.flexNewLine=kr),Re.ev(mr)&&(P.gradients=mr),Re.ev($)&&(P.freeCSS=$),Re.ev(Yr)&&(P.UnderBreakPointStyles=Yr),P};var pl=K(Dt());var Pg=r=>{var a;let o=kl.catch("RootViewController_"+dt.get().sessionUID);return(0,pl.jsxs)(pl.Fragment,{children:[(0,pl.jsx)("style",{children:r.inlineCSS}),(0,pl.jsxs)("amotify-app",{id:"appRoot_"+dt.get().sessionUID,children:[(0,pl.jsx)(pu.Pudding.Wrapper,{}),(0,pl.jsx)(pu.Ripple.Wrapper,{}),(0,pl.jsx)(Ro.Wrapper,{}),(0,pl.jsx)(rs.Wrapper,{}),(0,pl.jsx)(pr.Wrapper,{}),(0,pl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var Ig=K(tr()),pt=r=>{let a=dt.get().appRoot;return Ig.default.is.shadowRoot(a)?(0,Ig.default)(a).find(r):(0,Ig.default)(r)};var z$=K(Mw());Jr(Fr,K(Mw()));var B$=K(Pw());Jr(Fr,K(Pw()));var F$=_(_(_(_(_(_({},Ow),YS),ZS),z$),B$),Lw);var Wn=K(Dt()),j$=()=>(0,Wn.jsx)(X,{children:(0,Wn.jsxs)(ht.Center,{flexCenter:!0,padding:3,gap:3,backgroundColor:"layer.0",children:[(0,Wn.jsx)(X,{ssSquare:12,backgroundColor:"layer.0"}),(0,Wn.jsx)(X,{ssSquare:12,backgroundColor:"layer.1"}),(0,Wn.jsx)(X,{ssSquare:12,backgroundColor:"layer.2"}),(0,Wn.jsx)(X,{ssSquare:12,backgroundColor:"layer.3"}),(0,Wn.jsx)(X,{ssSquare:12,backgroundColor:"cloud"})]})});Iw.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),dt.launch({appRoot:r,roundness:3,themeColor:Iw.default.localStrage.get("prf.themeColor")||"battery",darkMode:"dark"});let a=()=>{let o=Os.useLocation(),l=Os.useNavigate();return(0,zg.useEffect)(()=>{Mn.setPushEffect(s=>{l(s)}),Mn.setBackEffect(()=>{l(-1)})},[]),Mg({pathname:o.pathname}),(0,Wn.jsx)(Os.Routes,{children:(0,Wn.jsx)(Os.Route,{path:"*",element:(0,Wn.jsx)(j$,{})},"*")})};X9.default.createRoot(r).render((0,Wn.jsx)(zg.StrictMode,{children:(0,Wn.jsx)(Pg,{children:(0,Wn.jsx)(Os.BrowserRouter,{children:(0,Wn.jsx)(a,{})})})}))});
980
+ T`.repeat(m-1)}let h=Al(a);return(0,lr.jsxs)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:[(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",width:1,freeCSS:T(_({},h.freeCSS),{color:"orange"}),"data-input-shallow":o.componentID,children:(0,lr.jsx)(X,{"data-input-value-shallow":o.componentID,children:s})})),(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",left:0,freeCSS:T(_({},h.freeCSS),{backgroundColor:"transparent",color:"blue"}),"data-input-min-height-value-shallow":o.componentID,children:f})),(0,lr.jsx)(nr.Description,T(_({className:a.className},h),{position:"absolute",right:0,freeCSS:T(_({},h.freeCSS),{backgroundColor:"transparent",color:"red"}),"data-input-max-height-value-shallow":o.componentID,children:c}))]})},InputBox:r=>{let{rootStates:a,val_validate:o,set_validate:l,val_status:s,set_status:f,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:m}=r;if(a.multiline)return null;let g=a,{componentID:b,tone:S,required:w,restrict:k="text",form:L,autoComplete:M="off",autoCapitalize:Y="off",minRows:O,maxRows:j,multiline:F,autoHeight:Q,enableFormSubmit:N,clearButton:te=!1,checkValidationAtFirst:_e,onChange:re,onKeyDown:be,onValidate:ye,onUpdateValue:ge,onUpdateValidValue:H,value:le="",leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,maxLength:ee,min:de,max:Ce,label:Se,isLabelActive:Ye,wrapStyles:$e}=g,Pe=Ge(g,["componentID","tone","required","restrict","form","autoComplete","autoCapitalize","minRows","maxRows","multiline","autoHeight","enableFormSubmit","clearButton","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","maxLength","min","max","label","isLabelActive","wrapStyles"]),et=k=="password"||k=="concealed"?"password":"text",ct=["number","digitNumber","creditCard"].includes(k)?"numeric":k=="email"?"email":"text";return(0,lr.jsx)(X,T(_({htmlTag:"input",type:et,inputMode:ct,"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(o,s,!!_e),"data-component-id":s.componentID,"data-input-origin":s.componentID,value:s.formatValue,autoComplete:M,autoCapitalize:Y,onKeyDown:lt=>{let{key:Tt,target:wt}=lt;{let Ze=wt,{selectionStart:Te,selectionEnd:pt}=Ze,Lt=Number(Te),jt=Number(pt),Ut=s.formatValue[Number(Lt)],er=s.formatValue[Number(Lt)-1];Tt=="Delete"&&(k=="creditCard"&&Ut==" "||k=="postal"&&Ut=="-"||k=="digitNumber"&&Ut==",")&&(Ze.setSelectionRange(Lt+1,jt+1),lt.preventDefault()),Tt=="Backspace"&&(k=="creditCard"&&er==" "||k=="postal"&&er=="-"||k=="digitNumber"&&er==",")&&(Ze.setSelectionRange(Lt-1,jt-1),lt.preventDefault()),Tt=="Enter"||Tt=="Tab"}if(["number","digitNumber","creditCard"].includes(k)&&Tt=="Clear"&&f(Ze=>T(_({},Ze),{dataValue:"",formatValue:"",eventType:"update",eventID:(0,Ja.UUID)()})),["number","digitNumber"].includes(k)&&["ArrowUp","ArrowDown"].includes(Tt)){let Ze=+(Tt=="ArrowUp")*2-1,Te=String(Number(s.dataValue)+Ze);o.ok&&l({ok:!1,notice:[]}),f(pt=>T(_(_({},pt),vu.Validation.DataLeveling({min:de,max:Ce,restrict:k,value:Te})),{eventType:"update",eventID:(0,Ja.UUID)()})),lt.preventDefault()}be&&be(lt),N&&Ft.SubmitForm(lt,L)},onChange:lt=>{let{value:Tt,selectionStart:wt,selectionEnd:Ze}=lt.target,Te=vu.Validation.DataLeveling({min:de,max:Ce,restrict:k,value:Tt});p&&(Te.formatValue=Tt),Te.formatValue!=s.formatValue&&(o.ok&&l({ok:!1,notice:[]}),f(pt=>T(_(_({},pt),Te),{prevValue:s.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(wt),caretTo:Number(Ze)})),re&&re(lt))},width:1},Pe),{onFocus:lt=>{Pe!=null&&Pe.onFocus&&(Pe==null||Pe.onFocus(lt)),h(!0)},onBlur:lt=>{Pe!=null&&Pe.onBlur&&(Pe==null||Pe.onBlur(lt)),h(!1)},onCompositionStart:lt=>{Pe!=null&&Pe.onCompositionStart&&(Pe==null||Pe.onCompositionStart(lt)),m(!0)},onCompositionEnd:lt=>{if(Pe!=null&&Pe.onCompositionEnd&&(Pe==null||Pe.onCompositionEnd(lt)),k=="text")return;let Tt=vu.Validation.DataLeveling({min:de,max:Ce,restrict:k,value:s.formatValue});f(wt=>T(_(_({},wt),Tt),{prevValue:wt.formatValue,eventType:"update",eventID:(0,Ja.UUID)(),caretFrom:Number(wt.formatValue.length+1),caretTo:Number(wt.formatValue.length+1)})),m(!1)}}))},TextAreaBox:r=>{let{rootStates:a,val_focus:o,set_focus:l,val_validate:s,set_validate:f,val_status:c,set_status:h,isShallow:p}=r,m=a,{componentID:g,tone:b,required:S,form:w,label:k,isLabelActive:L,minRows:M,maxRows:Y,multiline:O,autoHeight:j,enableFormSubmit:F,maxLength:Q,checkValidationAtFirst:N,onChange:te,onKeyDown:_e,onValidate:re,onUpdateValue:be,onUpdateValidValue:ye,value:ge="",leftIndicator:H,rightIndicator:le,leftIcon:fe,rightIcon:B,wrapStyles:W}=m,ne=Ge(m,["componentID","tone","required","form","label","isLabelActive","minRows","maxRows","multiline","autoHeight","enableFormSubmit","maxLength","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","wrapStyles"]);return a.multiline?(0,lr.jsx)(X,T(_({htmlTag:"textarea","data-show-validation":Ft.isShowValidation(s,c,!!N),"data-input-origin":c.componentID,"data-component-id":c.componentID,value:c.dataValue,width:1},ne),{onFocus:ee=>{ne!=null&&ne.onFocus&&(ne==null||ne.onFocus(ee)),l(!0)},onBlur:ee=>{ne!=null&&ne.onBlur&&(ne==null||ne.onBlur(ee)),l(!1)},onKeyDown:ee=>{_e&&_e(ee),F&&Ft.SubmitForm(ee,w)},onChange:ee=>{let{value:de}=ee.target;s.ok&&f({ok:!1,notice:[]}),h(Ce=>T(_({},Ce),{dataValue:de,eventType:"update",eventID:(0,Ja.UUID)()})),te&&te(ee)}})):null}},p$=r=>{let{componentID:a,restrict:o="text",value:l="",min:s,max:f}=r,[c,h]=(0,As.useState)(!1),[p,m]=(0,As.useState)(!1),[g,b]=(0,As.useState)(T(_({componentID:a},vu.Validation.DataLeveling({min:s,max:f,restrict:o,value:l})),{prevValue:"",eventType:"init",eventID:(0,Ja.UUID)(),caretFrom:null,caretTo:null})),[S,w]=(0,As.useState)({ok:!1,notice:[]}),k={rootStates:r,val_focus:c,set_focus:h,val_isComposing:p,set_isComposing:m,val_status:g,set_status:b,val_validate:S,set_validate:w};return Ft.CommonEffects({type:"textfield",states:r,val_status:g,set_status:b,val_validate:S,set_validate:w,SystemValidation:vu.Validation.System,ExtraOverrideStates:_({},vu.Validation.DataLeveling({min:s,max:f,restrict:o,value:l}))}),(0,As.useEffect)(()=>{vu.setSelection({id:r.id,restrict:o,val_status:g})},[g]),(0,lr.jsxs)(Fa,{val_status:g,set_status:b,val_validate:S,states:k.rootStates,children:[(0,lr.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||c||!!g.dataValue}),(0,lr.jsx)(nw.Shallow,_({},k)),(0,lr.jsx)(nw.InputBox,_({},k)),(0,lr.jsx)(nw.TextAreaBox,_({},k))]})},Zl=r=>(r=_({autoHeight:!0,restrict:"text",fontSize:"inherit"},r),r.multiline?(r.minRows=r.minRows||5,r.maxRows=r.maxRows||20):(r.minRows=1,r.maxRows=1),(0,lr.jsx)(Ea,{componentID:r.componentID,children:p$,states:Un(r)})),dn=Zl;dn.Validate=vu.Validation.Text,dn.Katakana=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"katakana",multiline:!1,autoHeight:!1})),dn.HankakuKatakana=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"hankaku.katakana",multiline:!1,autoHeight:!1})),dn.CreditCard=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"creditCard",multiline:!1,autoHeight:!1})),dn.Tel=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"tel",multiline:!1,autoHeight:!1})),dn.Number=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"number",multiline:!1,autoHeight:!1})),dn.DigitNumber=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"digitNumber",multiline:!1,autoHeight:!1})),dn.Email=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"email",multiline:!1,autoHeight:!1})),dn.Url=r=>(0,lr.jsx)(Zl,T(_({},r),{restrict:"url",multiline:!1,autoHeight:!1})),dn.Postal=r=>{let[a]=(0,As.useState)((0,Ja.UUID)());return(0,As.useEffect)(()=>()=>{Ja.useStore.delete(a)},[]),(0,lr.jsx)(Zl,T(_({label:"\u90F5\u4FBF\u756A\u53F7"},r),{restrict:"postal",multiline:!1,autoHeight:!1,leftIcon:(0,lr.jsx)(qd,{ssSphere:2,fontColor:"4.thin",children:"\u3012"})}))},dn.Password=r=>(0,lr.jsx)(Zl,T(_({label:"\u30D1\u30B9\u30EF\u30FC\u30C9",rightIcon:(0,lr.jsx)(Ba,{ssSphere:2,padding:0,freeCSS:{pointerEvents:"all"},children:(0,lr.jsx)(it.Sub,{ssSphere:2,borderRadius:"3.tone.tertiary",fontColor:"theme",flexCenter:!0,height:1,ssEffectsOnActive:["expand"],onMouseOver:a=>{_u.open(a.currentTarget,"\u30C6\u30AD\u30B9\u30C8\u3092\u8868\u793A",24)},onMouseLeave:_u.abort,tabIndex:-1,onClick:a=>{(0,Ja.default)(a.target).parent().parent().find("input").callback(o=>{let l=o[0];l.type=l.type==="password"?"text":"password"})},children:(0,lr.jsx)(Ne,{icon:K7.faEye})})}),restrict:"password"},r),{multiline:!1,autoHeight:!1})),dn.Concealed=r=>(0,lr.jsx)(dn.Password,T(_({label:"\u79D8\u5BC6\u9375"},r),{restrict:"concealed"})),dn.Money={JPY:r=>(0,lr.jsx)(dn.DigitNumber,T(_({rightIcon:(0,lr.jsx)(Ba,{ssSphere:2,fontColor:"4.thin",children:"\u5186"})},r),{multiline:!1,autoHeight:!1}))};var wg=K(Dt()),X7=K(tr()),ow=K(cr());function h$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var m$=r=>{let a=r,{componentID:o,tone:l,required:s,form:f,value:c,enableFormSubmit:h,checkValidationAtFirst:p,onInput:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,children:k="",leftIndicator:L,rightIndicator:M,leftIcon:Y,rightIcon:O,freeCSS:j,wrapStyles:F}=a,Q=Ge(a,["componentID","tone","required","form","value","enableFormSubmit","checkValidationAtFirst","onInput","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","children","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[N,te]=(0,ow.useState)(Ft.DefaultStatus(o,c)),[_e,re]=(0,ow.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"contenteditable",states:r,val_status:N,set_status:te,val_validate:_e,set_validate:re,SystemValidation:h$}),(0,wg.jsx)(Fa,{val_status:N,set_status:te,val_validate:_e,states:r,children:(0,wg.jsx)(X,T(_({contentEditable:!0,"data-show-validation":Ft.isShowValidation(_e,N,!!p),"data-component-id":N.componentID,onKeyDown:be=>{g&&g(be),h&&Ft.SubmitForm(be,f)},onInput:be=>{let ye=be.currentTarget,{innerHTML:ge,innerText:H}=ye;_e.ok&&re({ok:!1,notice:[]}),te(le=>T(_({},le),{dataValue:H,eventType:"update",eventID:(0,X7.UUID)()})),m&&m(be)}},Q),{children:k}))})},Q7=r=>{r=T(_({rows:5},r),{freeCSS:_({whiteSpace:"pre-wrap"},r.freeCSS)});let a=Un(r);return(0,wg.jsx)(Ea,{componentID:r.componentID,children:m$,states:a})};var dm=K(Dt()),iw=K(cr()),Gd=K(tr());function v$(r){let{value:a,states:o}=r,{required:l,numericOnly:s=!1,digits:f}=o,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!=f&&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 _$=(r,a="")=>{let o=String(a),l=[];for(let s=0;s<r;s++)l[s]=o[s]||"";return{formatValue:l,dataValue:o}},J7=(r="")=>{let a=r,o=a.join("");return{formatValue:a,dataValue:o}},g$=r=>{let a=r,{tone:o,required:l,form:s,name:f,className:c="",digits:h,numericOnly:p=!1,enableFormSubmit:m,checkValidationAtFirst:g,onChange:b,onKeyDown:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",override:Y,freeCSS:O,wrapStyles:j,combineInput:F,componentID:Q,listStyles:N}=a,te=Ge(a,["tone","required","form","name","className","digits","numericOnly","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","override","freeCSS","wrapStyles","combineInput","componentID","listStyles"]),[_e,re]=(0,iw.useState)(T(_({componentID:r.componentID||""},_$(h,M)),{eventType:"init",eventID:(0,Gd.UUID)()})),[be,ye]=(0,iw.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"textfield",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:v$});let ge=[];for(let H=0;H<h;H++){let le=_e.formatValue[H],fe={},B=c;r.combineInput&&(B=[c,Hd("DigitCharacterCell"),Hd("Combined")].join(" ")),ge.push((0,dm.jsx)("input",{type:"text",inputMode:p?"numeric":r.inputMode||"text",value:le,id:"Digit-"+H+"-"+_e.componentID,className:B,style:_(_({},r.style),fe),onKeyDown:W=>{let{key:ne,code:ee}=W;if(ne=="Tab")return;W.preventDefault();let de=null;if(ne=="Backspace"){let Ce=_e.formatValue;Ce[H]="",re(Se=>T(_(_({},Se),J7(Ce)),{eventType:"update",eventID:(0,Gd.UUID)()})),de=H-1}else if(["ArrowLeft","ArrowRight"].includes(ne)){let Ce=+(ne=="ArrowRight")*2-1;de=H+Ce}else m&&Ft.SubmitForm(W,s),(()=>{let Ce=ee.match(/^(Key(.)|Digit(\d)|Numpad(\d))/);if(!Ce)return;let Se=Ce[2]||Ce[3]||Ce[4];if(p&&!Se.match(/\d/)||!Se)return;let Ye=_e.formatValue;Ye[H]=Se,re($e=>T(_(_({},$e),J7(Ye)),{eventType:"update",eventID:(0,Gd.UUID)()})),de=H+1})();Gd.default.is.exist(de)&&mt("#Digit-"+de+"-"+_e.componentID).focus()},onChange:()=>{}},H))}return(0,dm.jsx)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:(0,dm.jsx)(At,T(_({gap:"1/2",flexChilds:"even",flexWrap:!1,flexSizing:"auto"},N),{children:ge}))})},Z7=r=>{r=_({},r),r=_({textAlign:"center",width:0},r),r.combineInput&&(r=T(_({textAlign:"center",width:0},r),{freeCSS:_({minWidth:12*2,marginRight:-1},r.freeCSS),listStyles:_({borderRadius:"2.tone.secondary",border:"unset",gap:0},r.listStyles)}));let a=xo(Un(r));return(0,dm.jsx)(Ea,{componentID:r.componentID,children:g$,states:a})};var ta=K(Dt()),hn=K(tr()),pm=K(tr()),To=K(cr());var gO=K(iO()),bO=K(hO());var sr=K(Dt()),pn=K(tr()),gu=K(cr());function b$(r){let{value:a,states:o}=r,{required:l,options:s}=o,f=[];return l&&a===null&&f.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!f.filter(({type:c})=>c=="invalid").length,notice:f}}var uw={FilterSelectableOptions:(r,a)=>{let o=r.rootStates.options;return a||(o=o.filter(l=>l.type!="label")),o}},vc={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(a);return(0,sr.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,sr.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),children:(0,sr.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>(0,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(vc.LegacySelector,_({},r)),(0,sr.jsx)(vc.Original,_({},r))]}),Placeholder:r=>!r.rootStates.placeholder||r.val_status.dataValue!==null?null:(0,sr.jsx)(X,{position:"absolute",opacity:"middle",fontColor:"3.blur",children:r.rootStates.placeholder||""}),Original:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:c,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,value:be="",options:ye,leftIndicator:ge,rightIndicator:H,leftIcon:le,rightIcon:fe,componentID:B,status_id:W,wrapStyles:ne,SelectedCellStyles:ee,SelectorCellStyles:de,SelectorMode:Ce,SelectorStyles:Se,SelectorPosition:Ye}=S,$e=Ge(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return(0,gu.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||a.disabled)return;let Pe="select-click-"+a.componentID;if(g){if(!(0,pn.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,pn.default)(document).addEvent({eventID:Pe,eventType:"click",callback:et=>{let ct=(0,pn.default)(et.target),lt=!!(0,pn.default)(ct).parent("."+Tl("Core")).length;(0,pn.default)(ct).parent("."+Tl("Selector")).length||lt||b(!1)}})}else(0,pn.default)(document).removeEvent([Pe])},[g]),(0,gu.useEffect)(()=>{if(r.rootStates.SelectorMode!="original"||p.eventType=="init"||!g)return;let Pe=(0,pn.default)('[data-input-origin="'+a.componentID+'"]');Pe&&Pe.focus()},[p.dataValue]),r.rootStates.SelectorMode!="original"?null:(0,sr.jsxs)(sr.Fragment,{children:[(0,sr.jsx)(X,T(_({tabIndex:0},$e),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(c,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Tl("Core")].join(" "),onFocus:Pe=>{if($e!=null&&$e.onFocus&&($e==null||$e.onFocus(Pe)),!a.disabled){if(o)return l(!1);b(!0)}},onClick:Pe=>{$e!=null&&$e.onClick&&($e==null||$e.onClick(Pe)),!a.disabled&&b(!0)},onKeyDown:Pe=>{let{key:et,metaKey:ct,ctrlKey:lt}=Pe,Tt=ct||lt;if($e!=null&&$e.onKeyDown&&($e==null||$e.onKeyDown(Pe)),F&&Ft.SubmitForm(Pe,L),!a.disabled){if(pn.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(et))return;if(Pe.preventDefault(),!g)return b(!0);let wt=et=="ArrowDown"?1:-1,Ze=uw.FilterSelectableOptions(r),Te=Ze.length-1,pt=null;pn.default.scope(()=>{var Lt,jt,Ut,er,ur,Tr,ra,jr,qr,wr;let fr=Ze.findIndex(_r=>_r.value==s);if(wt==1){if(pt=(jt=(Lt=Ze[0])==null?void 0:Lt.value)!=null?jt:null,Tt){pt=(Ut=Ze[Te].value)!=null?Ut:null;return}if(fr==-1||fr==Te)return;pt=(ur=(er=Ze[fr+1])==null?void 0:er.value)!=null?ur:null}else{if(pt=(Tr=Ze[Te].value)!=null?Tr:null,Tt){pt=(jr=(ra=Ze[0])==null?void 0:ra.value)!=null?jr:null;return}if(fr==-1||fr==0)return;pt=(wr=(qr=Ze[fr-1])==null?void 0:qr.value)!=null?wr:null}}),f(pt)}),et=="Escape")b(!1);else if(et=="Tab")b(!1);else if(et=="Backspace")m(wt=>T(_({},wt),{dataValue:null,eventType:"update",eventID:(0,pn.UUID)()}));else if(et==" ")Pe.preventDefault(),b(!0);else if(et=="Enter"){if(!g)return b(!0);Pe.preventDefault();let wt=a.options.find(Ze=>Ze.value==s);if(!wt)return;m(Ze=>T(_({},Ze),{dataValue:wt.value,eventType:"update",eventID:(0,pn.UUID)()})),b(!1)}}},children:(0,sr.jsxs)(vt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,sr.jsx)(vc.Placeholder,_({},r)),(0,sr.jsx)(vc.Selected,_({},r)),(0,sr.jsx)(Sn,{width:0,overflow:"hidden",opacity:"trans",children:"A"})]})})),g&&(0,sr.jsx)(vc.Selector,_({},r))]})},LegacySelector:r=>{let{rootStates:a,val_preventOpenSelectorOnFocus:o,set_preventOpenSelectorOnFocus:l,val_optionFocused:s,set_optionFocused:f,val_validate:c,set_validate:h,val_status:p,set_status:m,val_selectorOpen:g,set_selectorOpen:b}=r,S=a,{tone:w,required:k,form:L,className:M,label:Y,isLabelActive:O,placeholder:j,enableFormSubmit:F,emptySelect:Q,checkValidationAtFirst:N,onValidate:te,onUpdateValue:_e,onUpdateValidValue:re,onKeyDown:be,onChange:ye,value:ge="",options:H,leftIndicator:le,rightIndicator:fe,leftIcon:B,rightIcon:W,componentID:ne,status_id:ee,wrapStyles:de,SelectedCellStyles:Ce,SelectorCellStyles:Se,SelectorMode:Ye,SelectorStyles:$e,SelectorPosition:Pe}=S,et=Ge(S,["tone","required","form","className","label","isLabelActive","placeholder","enableFormSubmit","emptySelect","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","onKeyDown","onChange","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","SelectedCellStyles","SelectorCellStyles","SelectorMode","SelectorStyles","SelectorPosition"]);return r.rootStates.SelectorMode!="legacy"?null:(0,sr.jsxs)(X,T(_({htmlTag:"select",tabIndex:0},et),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(c,p,!!N),"data-component-id":p.componentID,"data-input-origin":p.componentID,className:[M,Tl("Core")].join(" "),onKeyDown:ct=>{be&&be(ct),F&&Ft.SubmitForm(ct,L)},onChange:ct=>{let{value:lt}=ct.target;c.ok&&h({ok:!1,notice:[]}),m(Tt=>T(_({},Tt),{dataValue:lt,eventType:"update",eventID:(0,pn.UUID)()})),ye&&ye(ct)},children:[!!Q&&(0,sr.jsx)("option",{value:"null",children:"\u9078\u629E"}),H.map(ct=>ct.value?(0,sr.jsx)("option",{value:ct.value,children:ct.label},String(ct.value)):null)]}))},Selector:r=>{var a;let o=[],l=uw.FilterSelectableOptions(r,!0),s=uw.FilterSelectableOptions(r);l.forEach((c,h)=>{let{type:p,value:m}=c,g=r.val_optionFocused==m,b=r.val_status.dataValue===m;if(p=="selector"){o.push((0,sr.jsx)(it.Sub.S,T(_({color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1],isActive:b||g,isActiveStyles:g?{backgroundColor:"cloud"}:{backgroundColor:"theme.opa.few",fontColor:"theme"}},r.rootStates.SelectorCellStyles),{onClick:S=>{r.set_status(w=>T(_({},w),{dataValue:m,eventType:"update",eventID:(0,pn.UUID)()})),r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0)},children:(0,sr.jsxs)(vt.Left,{gap:"1/2",children:[b&&(0,sr.jsx)(Ne.Check,{fontColor:"theme"}),(0,sr.jsx)(nr.Supplement,{transition:"short",flexSizing:0,children:c.label})]})}),String(m)));return}o.push((0,sr.jsx)(X,{children:c.label},(0,pn.UUID)()))}),s.length||(o=[(0,sr.jsx)(nr.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]);let f={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:f.bottom="100%",f.left=0,f.paddingBottom="1/3";break;case 2:f.bottom="100%",f.right=0,f.paddingBottom="1/3";break;case 3:f.top="100%",f.left=0,f.paddingTop="1/3";break;case 4:f.top="100%",f.right=0,f.paddingTop="1/3";break;default:break}return(0,sr.jsx)(X,T(_({},f),{children:(0,sr.jsx)(hr.Body,T(_({className:Tl("Selector"),ssCardBox:!0,borderRadius:"2.tone.secondary",boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({minWidth:12*6,maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,sr.jsx)(ar,{gap:"1/12",padding:[1,0],children:o})}))}))},Selected:r=>{let a=[];return r.val_status.dataValue!==null&&pn.default.scope(()=>{let o=r.rootStates.options.find(l=>pn.default.is.equal(l.value,r.val_status.dataValue));o&&a.push((0,sr.jsx)(X,T(_({},r.rootStates.SelectedCellStyles),{children:o.label}),String(o.value)))}),(0,sr.jsx)(sr.Fragment,{children:a})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,gu.useState)(Ft.DefaultStatus(r.componentID,o)),[f,c]=(0,gu.useState)(!1),[h,p]=(0,gu.useState)(!1),[m,g]=(0,gu.useState)((a=r.value)!=null?a:null),[b,S]=(0,gu.useState)({ok:!1,notice:[]}),w={rootStates:r,val_preventOpenSelectorOnFocus:f,set_preventOpenSelectorOnFocus:c,val_optionFocused:m,set_optionFocused:g,val_selectorOpen:h,set_selectorOpen:p,val_status:l,set_status:s,val_validate:b,set_validate:S};return Ft.CommonEffects({type:"select",states:r,val_status:l,set_status:s,val_validate:b,set_validate:S,SystemValidation:b$}),(0,sr.jsxs)(Fa,{val_status:l,set_status:s,val_validate:b,states:r,children:[(0,sr.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:r.isLabelActive||l.dataValue!==null}),(0,sr.jsx)(vc.Shallow,_({},w)),(0,sr.jsx)(vc.Button,_({},w))]})}},es=r=>{var a;let o=_({},r);return o=T(_({emptySelect:!0,SelectorMode:"original",SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.emptySelect&&(o.options=[{value:null,label:(0,sr.jsx)(nr.Supplement,{fontColor:"4.thin",children:"\u672A\u9078\u629E"})},...o.options]),o.value=(a=o.value)!=null?a:null,o.options.forEach((l,s)=>{let{type:f,value:c}=l;o.options[s]=T(_({},l),{value:c,type:f||"selector"})}),pn.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,sr.jsx)(Ba,{ssSphere:2,children:(0,sr.jsx)(Ne.AngleDown,{})})),(0,sr.jsx)(Ea,{componentID:o.componentID,children:vc.Core,states:Un(o)})};var je=K(Dt()),vO=K(cr()),Dr=K(tr()),bu=K(cr());var Oa=K(Dt()),ts=K(tr()),cw=K(cr());function y$(r){let{value:a,states:o}=r,{type:l,required:s,min:f,max:c}=o;f=f||0,c=c||65535;let h=[],p=a.length;return s&&(p||l=="radio"&&h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var mf={OptionalListWrapper:r=>{let{value:a,options:o=[]}=r,l=ts.default.is.exist(a)?ts.default.flatArray(a):[],s=[];return l.forEach(f=>{o.findIndex(c=>ts.default.is.equal(c.value,f))!=-1&&s.push(f)}),(0,Oa.jsx)(mf.Core,T(_({},r),{value:s,options:o}))},Core:r=>{let a=r,{type:o,tone:l,required:s,componentID:f="",form:c,override:h,icon:p,iconType:m,iconSize:g,iconPosition:b,iconColor:S,CustomIcon:w,enableFormSubmit:k,checkValidationAtFirst:L,onValidate:M,onUpdateValue:Y,onUpdateValidValue:O,value:j,options:F,className:Q,cellStyles:N,cellClassName:te,cellCheckedStyles:_e,cellCheckedClassName:re,min:be,max:ye,hideInput:ge,freeCSS:H,wrapStyles:le}=a,fe=Ge(a,["type","tone","required","componentID","form","override","icon","iconType","iconSize","iconPosition","iconColor","CustomIcon","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","className","cellStyles","cellClassName","cellCheckedStyles","cellCheckedClassName","min","max","hideInput","freeCSS","wrapStyles"]),[B,W]=(0,cw.useState)(Ft.DefaultStatus(f,j)),[ne,ee]=(0,cw.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"list."+o,states:r,val_status:B,set_status:W,val_validate:ne,set_validate:ee,SystemValidation:y$}),(0,Oa.jsx)(Fa,{val_status:B,set_status:W,val_validate:ne,states:r,children:(0,Oa.jsx)(mf.List,{rootStates:r,val_status:B,set_status:W})})},List:r=>{let{rootStates:a,val_status:o,set_status:l}=r,{componentID:s,type:f,tone:c,icon:h,iconSize:p,iconColor:m,isChecker:g,options:b,name:S,form:w,tabIndex:k,hideInput:L,disabled:M,className:Y,cellStyles:O,cellClassName:j="",cellCheckedStyles:F,cellCheckedClassName:Q="",enableFormSubmit:N}=a,{dataValue:te}=o,_e=a.CustomIcon,re=b.map((be,ye)=>{let ge=be,{value:H,label:le,disabled:fe,className:B="",checkedStyles:W,checkedClassName:ne="",freeCSS:ee}=ge,de=Ge(ge,["value","label","disabled","className","checkedStyles","checkedClassName","freeCSS"]),Ce=(0,ts.UUID)(),Se=te.findIndex(ct=>ct===H)!=-1,Ye=_(_({},O),de),$e=[sf("Label"),j,B];Se&&(Ye=T(_(_(_({},Ye),F),W),{freeCSS:_(_(_({},Ye==null?void 0:Ye.freeCSS),F==null?void 0:F.freeCSS),W==null?void 0:W.freeCSS)}),$e=[...$e,Q,ne]);let Pe=()=>{if(M||fe)return;let ct=[];if(f=="radio")ct=[H];else if(f=="checkbox"||g)if(!Se)ct=[...o.dataValue,H];else{let lt=[...o.dataValue];lt.splice(o.dataValue.findIndex(Tt=>Tt==H),1),ct=lt}l(lt=>T(_({},lt),{dataValue:ct,eventType:"update",eventID:(0,ts.UUID)()}))},et=[(0,Oa.jsx)(Sn,{position:"relative",freeCSS:{zIndex:2},flexSizing:0,children:ts.default.is.string(le)?(0,Oa.jsx)(X,{children:le}):le},"content")];return h&&et[a.iconPosition=="right"?"push":"unshift"]((0,Oa.jsx)(_e,{isChecked:Se,iconSize:p,iconColor:m,toggle:Pe},"icon")),[(0,Oa.jsx)(X,{htmlTag:"input",type:f=="radio"?"radio":"checkbox",className:sf("Input"),name:"RadioCheckbox-"+S,"data-list-index":s+"-"+ye,id:Ce,value:String(H),disabled:M||fe,checked:Se,onFocus:ct=>{fe||f=="radio"&&(o.dataValue.length||l(lt=>T(_({},lt),{dataValue:[H],eventType:"update",eventID:(0,ts.UUID)()})))},onChange:()=>{Pe()},onKeyDown:ct=>{let{key:lt,shiftKey:Tt}=ct;if((f=="checkbox"||r.rootStates.isChecker)&&lt!="Tab"&&lt.match(/Arrow/)){ct.preventDefault();let wt=["ArrowLeft","ArrowUp"].includes(lt)?-1:1,Ze=ye+wt;Ze<0?Ze=b.length-1:Ze>=b.length&&(Ze=0),mt(`input[data-list-index="${s}-${Ze}"]`).focus()}N&&Ft.SubmitForm(ct,w)},tabIndex:k},"List-"+ts.default.Stringify(H)),(0,Oa.jsx)(X,T(_({htmlTag:"label","data-disabled":M||fe,htmlFor:Ce,className:$e.join(" "),tabIndex:-1,display:"flex",verticalAlign:"center",flexWrap:!1},Ye),{children:et}),"ListTrigger-"+ts.default.Stringify(H))]});return(0,Oa.jsx)(At,{flexSizing:"auto",style:a.style,freeCSS:_({},a.freeCSS),className:[Y,sf("CellBase"),sf("HideInput_"+L),sf("IconIndicator_"+!!h),sf("Tone_"+c)].join(" "),children:re})},_Icon:r=>{let a=1.5;return r.iconSize=="small"?a=1.2:r.iconSize=="large"&&(a=2),(0,Oa.jsx)(it.Normal,{ssPushable:!0,color:"cloud",tabIndex:-1,ssEffectsOnActive:"ripple.cloud",ssSphere:2,freeCSS:{transform:`scale(${a})`},onClick:o=>{o.preventDefault(),o.stopPropagation(),r.toggle()},children:r.children})},RadioIcon:r=>(0,Oa.jsx)(mf._Icon,T(_({type:"radio"},r),{children:(0,Oa.jsx)(X,{flexCenter:!0,isRounded:!0,border:r.isChecked?"0.trans":"3.thick",borderColor:r.isChecked?r.iconColor:"3.thick",position:"relative",transition:"middle",freeCSS:{width:"50%",height:"50%"},children:(0,Oa.jsx)(X,{position:"absolute",transition:"middle",isRounded:!0,backgroundColor:r.iconColor,opacity:r.isChecked?"max":"trans",freeCSS:{width:"60%",height:"60%",transform:r.isChecked?"scale(1)":"scale(.4)"}})})})),CheckboxIcon:r=>(0,Oa.jsx)(mf._Icon,T(_({type:"checkbox"},r),{children:(0,Oa.jsx)(X,{flexCenter:!0,boxShadow:r.isChecked?"0.remark":"none",border:r.isChecked?"0.trans":"3.thick",backgroundColor:r.isChecked?r.iconColor:"trans",position:"relative",transition:"middle",fontColor:"white",freeCSS:{borderRadius:"25%",padding:"4%",width:"50%",height:"50%"},children:(0,Oa.jsx)(Ne.Check,{transition:"middle",opacity:r.isChecked?"max":"trans",freeCSS:{zIndex:8,width:"100%",height:"100%",transform:r.isChecked?"scale(1)":"scale(.5)"}})})}))},fw=r=>{r=r||"checkbox";let a=l=>(l=T(_({gap:1,icon:!0,iconSize:"regular",iconType:r=="radio"?"radio":"checkbox",iconPosition:"left",iconColor:"theme"},l),{type:r,cellStyles:_({gap:"1/6",position:"relative",borderRadius:"2.tone.secondary",transition:"middle"},l.cellStyles)}),l.CustomIcon||(l.iconType=="radio"?l.CustomIcon=mf.RadioIcon:l.iconType=="checkbox"&&(l.CustomIcon=mf.CheckboxIcon)),l.iconSize=="small"?l.cellStyles.gap=0:l.iconSize=="large"&&(l.cellStyles.gap="1/2"),l.tone=="normal"?(l.cellStyles=_({padding:["1/4",1],border:"1.thin",backgroundColor:"layer.1"},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme",boxShadow:"1.normal"},l.cellCheckedStyles)):l.tone=="border"?(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.1",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({borderColor:"theme",fontColor:"theme"},l.cellCheckedStyles)):l.tone=="cloud"&&(l.cellStyles=_({border:"1.thin",backgroundColor:"layer.2",padding:["1/2",1,"1/2","1/2"]},l.cellStyles),l.cellCheckedStyles=_({backgroundColor:"cloud",fontColor:"theme"},l.cellCheckedStyles)),l=xo(l),(0,Oa.jsx)(Ea,{componentID:l.componentID,children:mf.OptionalListWrapper,states:l})),o=a;return o.Normal=l=>(0,Oa.jsx)(a,_({type:r,tone:"normal",icon:!1},l)),o.Border=l=>(0,Oa.jsx)(a,_({type:r,tone:"border"},l)),o.Cloud=l=>(0,Oa.jsx)(a,_({type:r,tone:"cloud"},l)),o.Vivid=l=>(0,Oa.jsx)(a,_({type:r,tone:"normal",icon:!1,cellCheckedStyles:{backgroundColor:"theme",fontColor:"white"}},l)),o.Simple=l=>(0,Oa.jsx)(a,_({type:r,tone:"plain",icon:!1,cellCheckedStyles:{fontColor:"theme"}},l)),o},vf=fw("radio"),Cg=fw("checkbox"),mO=fw();var dw=r=>{var a,o;let l=[],s=Number((a=r==null?void 0:r.min)!=null?a:1900),f=Number((o=r==null?void 0:r.max)!=null?o:(0,Dr.Time)().addYear(10).year);for(let c=s;c<=f;c++)l.unshift({value:c,label:[c,...Dr.default.transformer.wareki(c).value].join(" -")});return l},_O=r=>{let{restrict:a,era:o="year",defaultValue:l=""}=r;r=_({},r),r.sheetID=r.sheetID||(0,Dr.UUID)();let s=(0,bu.useRef)(!1),[f,c]=(0,bu.useState)((()=>{var p,m;if(a=="clock"){let g=String(l).split(/[^\d]/);g[0]||(g=[0,0]);let b=Number(g[0]),S=Number(g[1]);return{modifiedType:"init",hour:b,minutes:S}}else if(a=="date"){let[g,b,S]=(p=String(l))==null?void 0:p.split(/\D/);return(Dr.default.is.nullish(g)||Dr.default.is.nullish(b)||Dr.default.is.nullish(S))&&([g,b,S]=(0,Dr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",year:Number(g),month:Number(b),date:Number(S)}}else if(a!="week"){if(a=="month"){let[g,b]=String(l).split(/\D/);return(Dr.default.is.nullish(g)||Dr.default.is.nullish(b))&&([g,b]=(0,Dr.Time)().toFormat("%Y-%M").split("-")),{modifiedType:"init",year:Number(g),month:Number(b)}}else if(a=="year"){let[g]=String(l).split(/\D/);return Dr.default.is.nullish(g)&&([g]=(0,Dr.Time)().toFormat("%Y").split("-")),{modifiedType:"init",year:Number(g)}}else if(a=="dateWareki"){let[g,b,S]=(m=String(l))==null?void 0:m.split(/\D/);return(Dr.default.is.nullish(g)||Dr.default.is.nullish(b)||Dr.default.is.nullish(S))&&([g,b,S]=(0,Dr.Time)().toFormat("%Y-%M-%D").split("-")),{modifiedType:"init",era:o||"year",year:Number(g),month:Number(b),date:Number(S)}}}return{}})());(0,bu.useEffect)(()=>{if(s.current){if(f.modifiedType=="update"){let p="",m=o||"year";if(a=="clock"){let{hour:g,minutes:b}=f;p=[g.zeroEmbed(2),b.zeroEmbed(2)].join("/")}else if(a=="date"){let{year:g,month:b,date:S}=f;p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}else if(a!="week"){if(a=="month"){let{year:g,month:b}=f;p=[g,b.zeroEmbed(2)].join("/")}else if(a=="year"){let{year:g}=f;p=String(g)}else if(a=="dateWareki"){let{year:g,month:b,date:S,era:w}=f;m=w,p=[g,b.zeroEmbed(2),S.zeroEmbed(2)].join("/")}}r.onValueUpdate(p,m)}}else s.current=!0},[f]);let h=T(_({},r),{val_value:f,set_value:c});return(0,je.jsx)(X,{backgroundColor:"layer.1",borderRadius:"2.tone.secondary",boxShadow:"1.remark",children:(0,je.jsx)(X,{className:Ta(a.toCapital()+"Base"),children:a=="clock"?(0,je.jsx)(Ya.Clock.index,_({},h)):a=="date"?(0,je.jsx)(Ya.Date.index,_({},h)):a=="week"?"":a=="month"?(0,je.jsx)(Ya.Month.index,_({},h)):a=="year"?(0,je.jsx)(Ya.Year.index,_({},h)):a=="dates"||a=="months"?"":a=="dateWareki"?(0,je.jsx)(Ya.DateWareki.index,_({},h)):(0,je.jsx)(je.Fragment,{})})})},Ya={Clock:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,[h,p]=(0,bu.useState)(f.hour>12?2:1),[m,g]=(0,bu.useState)(Number(localStorage.getItem("timePickerUnit")||5));(0,bu.useEffect)(()=>{localStorage.setItem("timePickerUnit",String(m))},[m]);let{hour:b,minutes:S}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(At,{flexType:"row",flexWrap:!1,gap:1,className:Ta("Body"),children:[(0,je.jsxs)(ar,{className:Ta("DesignSide"),flexSizing:0,children:[(0,je.jsx)(X,{className:Ta("ClockUiBase"),padding:[1,"2/3"],flexCenter:!0,children:(0,je.jsxs)(X,{className:Ta("ClockUi"),backgroundColor:"theme.opa.low",isRounded:!0,position:"relative",children:[(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ta("Needle"),Ta("hour")].join(" "),freeCSS:{transform:`rotate(${b*30+S/2}deg)`}}),(0,je.jsx)(X,{position:"absolute",backgroundColor:"theme",unitWidth:"1/12",className:[Ta("Needle"),Ta("minute")].join(" "),freeCSS:{transform:`rotate(${S*6}deg)`}})]})}),(0,je.jsx)(vf,{icon:!0,value:[h],options:[{value:1,label:"AM"},{value:2,label:"PM"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{let k=f.hour%12+(w==2?12:0);p(w),c({modifiedType:"update",hour:k,minutes:f.minutes})}}),(0,je.jsx)(X,{borderTop:!0,margin:[0,1]}),(0,je.jsx)(vf,{icon:!0,value:[m],options:[{value:1,label:"/ 1\u5206"},{value:2,label:"/ 2\u5206"},{value:5,label:"/ 5\u5206"}],flexType:"col",gap:"1/2",tabIndex:-1,onUpdateValidValue:w=>{g(w)}})]}),(0,je.jsxs)(ar,{children:[(0,je.jsxs)(X,{flexCenter:!0,isSemiBoldFont:!0,fontSize:"3.paragraph",children:[f.hour.zeroEmbed(2)," : ",f.minutes.zeroEmbed(2)]}),(0,je.jsxs)(At,{flexWrap:!1,ssCardBox:!0,flexChilds:"even",padding:["1/3",0],freeCSS:{minWidth:12*12},children:[(0,je.jsx)(ar,{gap:0,overflow:"auto",padding:"2/3",borderRight:!0,freeCSS:{maxHeight:12*22},children:Ya.Clock.Hours({onClick:w=>{let k=w+(h==2?12:0);c({modifiedType:"update",hour:k,minutes:f.minutes})},min:a,max:o,ampm:h})}),(0,je.jsx)(ar,{gap:0,overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*22},children:Ya.Clock.Minutes({onClick:w=>{c({modifiedType:"update",hour:f.hour,minutes:w})},min:a,max:o,unit:m})})]})]})]}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Hours:r=>{let a=[];for(let o=0;o<12;o++){let l=r.ampm==2?o+12:o,s=!1;{let f=Number(String(l*100).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>f&&(s=!0),r.max){let c=Number(String(r.max).replace(/\D/ig,""));f>c&&(s=!0)}}a.push((0,je.jsx)(it.Normal,{isLocked:s,borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(o)},children:l.zeroEmbed(2)},o))}return a},Minutes:r=>{let a=[];for(let o=0;o<60/r.unit;o++){let l=o*r.unit;a.push((0,je.jsx)(it.Normal,{borderBottom:!0,borderRadius:0,padding:["1/2",1],freeCSS:{whiteSpace:"nowrap"},tabIndex:-1,onClick:()=>{r.onClick(l)},children:l.zeroEmbed(2)},l))}return a}},Date:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h,month:p,date:m}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(vt.Separate,{flexWrap:!0,children:[(0,je.jsxs)(At,{verticalAlign:"bottom",horizontalAlign:"left",gap:"2/3",flexWrap:!1,children:[(0,je.jsx)(es,{override:"force",emptySelect:!1,value:h,options:dw(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*12}},onUpdateValidValue:g=>{c({modifiedType:"update",year:Number(g),month:p,date:m})},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})})}),(0,je.jsx)(es,{override:"force",emptySelect:!1,value:p,options:(()=>{let g=[];for(let b=1;b<=12;b++)g.push({value:b,label:String(b)+"\u6708"});return g})(),fontSize:"1.mini",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,SelectorStyles:{freeCSS:{minWidth:12*8}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:g=>{c({modifiedType:"update",year:h,month:Number(g),date:m})}})]}),(0,je.jsx)(Ya.Variables.ShiftButtons,{callback:g=>{let b=p+g,S=h;b<=0&&(S--,b=12),b>12&&(S++,b=1),c({modifiedType:"update",year:S,month:b,date:f.date})}})]}),(0,je.jsx)(X,{borderTop:!0}),(0,je.jsx)(X,{children:Ya.Date.MonthCalendar({min:a,max:o,year:f.year,month:f.month,current:[f.year,f.month,f.date],callback:g=>{let[b,S,w]=g;c({modifiedType:"update",year:b,month:S,date:w})}})}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},MonthCalendar:r=>{let{min:a,max:o,year:l,month:s,current:f,callback:c}=r,h=(0,Dr.Time)(),p=(0,Dr.Time)([l,s.zeroEmbed(2),"01"].join("/")),m=p.getLastDayOfTheMonth(),g=(0,Dr.Time)(p).addMonth(-1).getLastDayOfTheMonth().date,b=[],S=[],w=[],k=[],L={padding:0,unitWidth:3,unitHeight:3,flexCenter:!0,borderRadius:"3.tone.tertiary"};for(var M=0;M<7;M++)b.push((0,je.jsx)(X,T(_({className:[Ta("CalendarDay"),Ta("Legend")].join(" ")},L),{children:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"][M]}),M));for(var M=0;M<p.weekday;M++)S.unshift((0,vO.createElement)(X,T(_({className:[Ta("CalendarDay"),Ta("Dummy")].join(" "),fontColor:"4.thin"},L),{key:M}),g-M));for(var M=1;M<=m.date;M++){let O=M,j=l==h.year&&s==h.month&&M==h.date,F=!1;{let Q=Number(String([l,s.zeroEmbed(2),M.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>Q&&(F=!0),r.max){let N=Number(String(r.max).replace(/\D/ig,""));Q>N&&(F=!0)}}w.push((0,je.jsx)(it.Clear,T(_({className:[Ta("CalendarDay"),Ta("isToday_"+j)].join(" ")},L),{fontColor:"1.clear",padding:0,flexCenter:!0,isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{c([l,s,O])},tabIndex:-1,isLocked:F,children:M}),O))}for(var M=1;M<7-m.weekday;M++)k.push((0,je.jsx)(X,T(_({className:[Ta("CalendarDay"),Ta("Dummy")].join(" "),fontColor:"4.thin"},L),{children:M}),M));return(0,je.jsxs)(Ud,{gridCols:7,gap:"1/6",children:[b,S,w,k]})}},Month:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h,month:p}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(vt.Separate,{gap:0,children:[(0,je.jsx)(vt.Center,{verticalAlign:"bottom",gap:"2/3",children:(0,je.jsx)(es,{emptySelect:!1,value:h,options:dw(),override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:2,SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),onUpdateValidValue:m=>{c({modifiedType:"update",year:Number(m),month:p})}})}),(0,je.jsx)(Ya.Variables.ShiftButtons,{callback:m=>{let g=Math.min(Math.max(h+m,1900),2100);c({modifiedType:"update",year:g,month:p})}})]}),(0,je.jsx)(X,{borderTop:!0}),Ya.Month.Months({min:a,max:o,year:f.year,callback:m=>{let[g,b]=m;c({modifiedType:"update",year:g,month:b})}}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})]})},Months:r=>{let{year:a,callback:o}=r,l=(0,Dr.Time)(),s=[];for(let f=1;f<=12;f++){let c=a==l.year&&f==l.month,h=!1;{let m=Number(String([a,f.zeroEmbed(2)].join("/")).replace(/\D/ig,""));if(r.min&&Number(String(r.min).replace(/\D/ig,""))>m&&(h=!0),r.max){let g=Number(String(r.max).replace(/\D/ig,""));m>g&&(h=!0)}}let p=[Ta("Cell"),c?Ta("isThisMonth"):""].join(" ");s.push((0,je.jsxs)(it.Clear,{className:p,isLocked:h,fontColor:"2.normal",padding:["1/3",1],ssEffectsOnActive:"shrink",onClick:()=>{o([a,f])},children:[f," \u6708"]},a+"-"+f))}return(0,je.jsx)(Ud,{gridCols:4,gap:"2/3",children:s})}},Year:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{year:h}=f;return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsx)(es,{emptySelect:!1,paddingRight:1,fontSize:"1.mini",value:h||(0,Dr.Time)().year,override:"force",SelectorStyles:{freeCSS:{minWidth:12*12}},options:dw({min:a,max:o}),onUpdateValidValue:p=>{c({modifiedType:"update",year:Number(p)})}}),(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l,onSubmit:()=>{c({modifiedType:"update",year:Number(h||(0,Dr.Time)().year)})}})]})}},DateWareki:{index:r=>{let{min:a,max:o,onValueUpdate:l,sheetID:s,val_value:f,set_value:c}=r,{era:h,year:p,month:m,date:g}=f,b={val_value:f,set_value:c};return(0,je.jsxs)(X,{children:[(0,je.jsxs)(vt.Left,{borderBottom:!0,gap:0,verticalAlign:"unset",children:[(0,je.jsx)(Ya.DateWareki.EraSelect,_({},b)),(0,je.jsx)(X,{borderRight:!0}),(0,je.jsx)(Ya.DateWareki.Calendar,_({},b))]}),(0,je.jsx)(vt.Right,{padding:1,children:(0,je.jsx)(Ya.Variables.Footer,{sheetID:s,onValueUpdate:l})})]})},EraSelect:r=>{let{val_value:a,set_value:o}=r,l={padding:["1/2",1.5],fontColor:"3.blur"},s={backgroundColor:"cloud",fontColor:"2.normal",isSemiBoldFont:!0};return(0,je.jsxs)(ar,{padding:1,gap:0,children:[(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="year",onClick:()=>{let f=(0,Dr.Time)();o({modifiedType:"update",era:"year",year:f.year,month:f.month,date:f.date})},children:"\u897F\u66A6"})),(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="reiwa",onClick:()=>{let f=(0,Dr.Time)();o({modifiedType:"update",era:"reiwa",year:f.year,month:f.month,date:f.date})},children:"\u4EE4\u548C"})),(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="heisei",onClick:()=>{o({modifiedType:"update",era:"heisei",year:2019,month:1,date:1})},children:"\u5E73\u6210"})),(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="shouwa",onClick:()=>{o({modifiedType:"update",era:"shouwa",year:1989,month:1,date:1})},children:"\u662D\u548C"})),(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="taisho",onClick:()=>{o({modifiedType:"update",era:"taisho",year:1926,month:1,date:1})},children:"\u5927\u6B63"})),(0,je.jsx)(it.Clear,T(_({color:"cloud"},l),{isActiveStyles:s,isActive:a.era=="meiji",onClick:()=>{o({modifiedType:"update",era:"meiji",year:1912,month:1,date:1})},children:"\u660E\u6CBB"}))]})},Calendar:r=>{let{val_value:a,set_value:o}=r,l=[];if(a.era=="year"){let s=(0,Dr.Time)().year+10;for(let f=1900;f<s;f++)l.unshift({value:f,label:f+"\u5E74"})}else if(a.era=="reiwa"){let s=(0,Dr.Time)().year-2018;for(let f=1;f<=s+10;f++)l.unshift({value:2019+f-1,label:"\u4EE4\u548C"+(f==1?"\u5143":f)+"\u5E74"})}else if(a.era=="heisei")for(let s=1;s<=31;s++)l.unshift({value:1989+s-1,label:"\u5E73\u6210"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="shouwa")for(let s=1;s<=64;s++)l.unshift({value:1926+s-1,label:"\u662D\u548C"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="taisho")for(let s=1;s<=15;s++)l.unshift({value:1912+s-1,label:"\u5927\u6B63"+(s==1?"\u5143":s)+"\u5E74"});else if(a.era=="meiji")for(let s=1;s<=45;s++)l.unshift({value:1868+s-1,label:"\u660E\u6CBB"+(s==1?"\u5143":s)+"\u5E74"});return(0,je.jsxs)(ar,{padding:1,children:[(0,je.jsxs)(vt.Separate,{children:[(0,je.jsx)(es,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*12}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:l,value:a.year,onUpdateValidValue:s=>{o(f=>T(_({},f),{modifiedType:"update",year:Number(s)}))}}),(0,je.jsxs)(vt.Center,{gap:"1/3",children:[(0,je.jsx)(es,{emptySelect:!1,override:"force",border:"1.thin",padding:["1/3","2/3"],paddingRight:1,fontSize:"1.mini",SelectorStyles:{freeCSS:{minWidth:12*9}},rightIcon:(0,je.jsx)(Ba,{ssSphere:2,right:"1/3",children:(0,je.jsx)(Ne.AngleDown,{})}),options:[{value:1,label:"1\u6708"},{value:2,label:"2\u6708"},{value:3,label:"3\u6708"},{value:4,label:"4\u6708"},{value:5,label:"5\u6708"},{value:6,label:"6\u6708"},{value:7,label:"7\u6708"},{value:8,label:"8\u6708"},{value:9,label:"9\u6708"},{value:10,label:"10\u6708"},{value:11,label:"11\u6708"},{value:12,label:"12\u6708"}],value:a.month,onUpdateValidValue:s=>{o({modifiedType:"update",era:a.era,year:a.year,month:Number(s),date:1})}}),(0,je.jsx)(it.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month-1;o({modifiedType:"update",era:a.era,year:s==0?a.year-1:a.year,month:s==0?12:s,date:1})},children:(0,je.jsx)(Ne.ChevronLeft,{})}),(0,je.jsx)(it.Clear.S,{ssSphere:2.5,onClick:()=>{let s=a.month+1;o({modifiedType:"update",era:a.era,year:s==13?a.year+1:a.year,month:s==13?1:s,date:1})},children:(0,je.jsx)(Ne.ChevronRight,{})})]})]}),(0,je.jsx)(Ya.DateWareki.MonthCell,_({},r))]},a.era)},MonthCell:r=>{let{val_value:a,set_value:o}=r,l=(0,Dr.Time)([a.year.zeroEmbed(4),a.month.zeroEmbed(2),a.date.zeroEmbed(2)].join("/"));if(!l.validate)return;let s=l.getFirstDayOfTheMonth().weekday,f=l.getLastDayOfTheMonth(),c=[];for(let p=0;p<7;p++)c.push((0,je.jsx)(nr.Supplement,{flexCenter:!0,fontColor:p==0?"googleRed":p==6?"googleBlue":"3.blur",children:Dr.default.transformer.weekday.shortJP(p)},"legend-"+p));for(let p=0;p<s;p++){let m=(0,Dr.Time)(l).getFirstDayOfTheMonth().addDate(p-s);c.push((0,je.jsx)(it.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"lastMonth-"+p))}let h=(0,Dr.Time)();for(let p=1;p<=f.date;p++){let m=(0,Dr.Time)(l).setDate(p),g=h.diff(m).dates==0;c.push((0,je.jsx)(it.Clear,{ssSquare:3,fontColor:"2.normal",className:[Ta("CalendarDay"),Ta("isToday_"+g)].join(" "),onClick:()=>{o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"currentMonth-"+p))}for(let p=0;p<7-f.weekday-1;p++){let m=(0,Dr.Time)(l).addMonth(1).setDate(1).addDate(p);c.push((0,je.jsx)(it.Sub,{color:"cloud",ssSquare:3,opacity:"middle",onClick:g=>{g.preventDefault(),g.stopPropagation(),o({modifiedType:"update",era:a.era,year:m.year,month:m.month,date:m.date})},children:m.date},"nextMonth-"+p))}return(0,je.jsx)(Ud,{gridCols:7,gap:"1/4",children:c})}},Variables:{Footer:r=>(0,je.jsxs)(At,{flexWrap:!1,gap:1,flexChilds:"even",freeCSS:{whiteSpace:"nowrap"},children:[(0,je.jsxs)(it.Sub.S,{color:"cloud",tabIndex:-1,isRounded:!0,onClick:()=>{r.onValueUpdate("")},flexSizing:"none",children:[(0,je.jsx)(Ne.Times,{})," \u524A\u9664"]}),(0,je.jsx)(it.Prime.S,{tabIndex:-1,isRounded:!0,flexSizing:"auto",freeCSS:{minWidth:12*6},onClick:()=>{r.onSubmit&&r.onSubmit(),hr.close(r.sheetID)},children:"\u6C7A\u5B9A"})]}),ShiftButtons:r=>(0,je.jsxs)(At,{gap:"1/3",flexWrap:!1,children:[(0,je.jsx)(it.Clear,T(_({className:Ta("LeftButton"),tabIndex:-1,right:0},Ya.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(-1)},children:(0,je.jsx)(Ne.ChevronLeft,{})})),(0,je.jsx)(it.Clear,T(_({className:Ta("RightButton"),tabIndex:-1,left:0},Ya.Variables.ShiftButtonStyles),{onClick:()=>{r.callback(1)},children:(0,je.jsx)(Ne.ChevronRight,{})}))]}),ShiftButtonStyles:{position:"relative",flexCenter:!0,ssSphere:2.5}}};var gf=" ~ ",w$={clock:{defaultValue:"--:--",format:/^\d{2}\D\d{2}$/,ranges:[{type:"hour",from:0,length:2},{type:"minute",from:3,length:2}],sets:1},date:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2}],sets:1},week:{defaultValue:"----\u5E74\u7B2C--\u9031",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4,region:6},{type:"week",from:6,length:2,region:3}],sets:1},month:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:3}],sets:1},year:{defaultValue:"----\u5E74",format:/^\d{4}$/,ranges:[{type:"year",from:0,length:4,region:5}],sets:1},dates:{defaultValue:"----/--/--",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2},{type:"date",from:8,length:2,region:5},{type:"year",from:10+gf.length,length:4},{type:"month",from:15+gf.length,length:2},{type:"date",from:18+gf.length,length:2}],sets:2},months:{defaultValue:"----\u5E74--\u6708",format:/^\d{4}\D\d{2}$/,ranges:[{type:"year",from:0,length:4},{type:"month",from:5,length:2,region:6},{type:"year",from:8+gf.length,length:4},{type:"month",from:13+gf.length,length:2,region:3}],sets:2},dateWareki:{defaultValue:"----\u5E74--\u6708--\u65E5",format:/^\d{4}\D\d{2}\D\d{2}$/,ranges:[{type:"dateWareki",from:0,length:4,region:5},{type:"month",from:5,length:2,region:3},{type:"date",from:8,length:2,region:3}],sets:1}},_f={PeriodMargin:" ~ ",DataLeveling:r=>{let{restrict:a,value:o,era:l}=r,s=hn.default.flatArray(o||""),{defaultValue:f,format:c,ranges:h,sets:p}=w$[a],m=[],g=a=="clock"?":":"/";for(let b=0;b<s.length;b++)s[b]=String(s[b]).replace(/\D/ig,g);for(let b=0;b<p;b++){let S=s[b]||"";if(!S.match(c))s[b]="",m.push(f);else{let w=f;S.split(/\D/).forEach((k,L)=>{if(L==0&&a=="dateWareki"){let M=Number(k);l!="year"&&(M>=2019?l=="reiwa"?M-=2018:l=="heisei"&&(M=31):M>=1989?l=="heisei"?M-=1988:l=="shouwa"&&(M=64):M>=1926?l=="shouwa"?M-=1925:l=="taisho"&&(M=15):M>=1912?l=="taisho"?M-=1911:l=="meiji"&&(M=45):M>=1868&&(M-=1867)),k=M.zeroEmbed(4)}w=w.replace(new RegExp("------------------".slice(0,k.length)),k)}),m.push(w)}}return{formatValue:m.join(gf),dataValue:["dates","months"].includes(a)?s:s[0],ranges:h}},SystemValidation:r=>{let{states:a}=r,{restrict:o,min:l,max:s,required:f}=a,c=[],h=hn.default.flatArray(r.value),p={empty:!1,escalated:1,filled:!0,correct:!0,prohibited:!1};(()=>{let m=o=="clock"?":":"/";for(let g=0;g<h.length;g++)h[g]=String(h[g]).replace(/\D/ig,m);for(let g=0;g<h.length;g++){let b=h[g],S=h[g-1];b.removeLetters()||(p.empty=!0),g>0&&(p.escalated&=+(b>=S))}p.escalated&&(p.empty||(o.match(/clock/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:(Number(b)>23||Number(S)>59)&&(p.correct=!1)}):o.match(/date/)?h.forEach(g=>{let[b,S,w]=g.split(/\D+/);if(!b||!S||!w)p.filled=!1;else{let k=pm.Time(g);(!k.validate||g!=k.toFormatYMD())&&(p.correct=!1)}}):o.match(/week/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);if(!b||!S)p.filled=!1;else{let w=pm.Time(b+"/01/01").weekday,k=pm.Time(b+"/01/0"+(7-w+1)).addWeek(Number(S)-1);b!=String(k.year)&&(p.correct=!1)}}):o.match(/month/)?h.forEach(g=>{let[b,S]=g.split(/\D+/);!b||!S?p.filled=!1:pm.Time([b,S,"01"].join("/")).validate||(p.correct=!1)}):o.match(/year/),p.filled&&p.correct&&h.forEach(g=>{{let b=Number(String(g).replace(/\D/ig,""));if(l&&Number(String(l).replace(/\D/ig,""))>b&&(p.prohibited=!0),s){let S=Number(String(s).replace(/\D/ig,""));b>S&&(p.prohibited=!0)}}})))})();{let{empty:m,escalated:g,filled:b,correct:S,prohibited:w}=p;m&&f&&(c=[{type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}]),g||c.push({type:"invalid",label:"\u6642\u7CFB\u5217\u3092\u6B63\u3057\u304F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"}),S||c.push({type:"invalid",label:"\u7121\u52B9\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059"}),b||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,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsx)(X,{children:"\u5165\u529B\u7BC4\u56F2\u304C\u5236\u9650\u3055\u308C\u3066\u3044\u307E\u3059"}),"[",l||"\u4E0B\u9650\u7121\u3057","] ~ [",s||"\u4E0A\u9650\u7121\u3057","]"]})})}return{ok:!c.filter(({type:m})=>m=="invalid").length,notice:c}},KeyDownEvent:r=>{let{val_era:a,restrict:o,event:l,val_status:s,set_status:f,val_focus:c,set_focus:h}=r,{key:p,shiftKey:m,ctrlKey:g,metaKey:b}=l,S=g||b,{selectionStart:w,selectionEnd:k}=l.target,{index:L,prevIndex:M}=c,{ranges:Y,formatValue:O}=s,j=Y.length-1;if(["Tab","ArrowLeft","ArrowRight"].includes(p)){let F=0;if(p=="Tab"){let Q=+!m*2-1;if(F=c.index+Q,F<0||F>j)return}else{let Q=p=="ArrowLeft"?-1:p=="ArrowRight"?1:0;S||w==0&&k==String(s.formatValue).length?F=Q==1?j:0:F=Math.max(0,Math.min(L+Q,j))}h(Q=>T(_({},Q),{index:F,prevIndex:L})),l.preventDefault()}if(["Backspace","ArrowUp","ArrowDown","0","1","2","3","4","5","6","7","8","9"].includes(p)){l.preventDefault();let F=L;F=Math.max(F,0),F=Math.min(F,j);let{type:Q,from:N,length:te}=Y[F],_e=O.slice(N,N+te),re;if(p=="Backspace")re="------".slice(0,te);else if(["ArrowUp","ArrowDown"].includes(p)){let be=p=="ArrowUp"?1:-1;_e=_e|0,re=_e+be;let[ye,ge,H]=Q=="dateWareki"?a=="year"?[0,2999,4]:a=="reiwa"?[1,2999,4]:a=="heisei"?[1,31,4]:a=="shouwa"?[1,64,4]:a=="taisho"?[1,15,4]:a=="meiji"?[1,45,4]:[0,0,0]:Q=="minute"?[0,59,2]:Q=="hour"?[0,23,2]:Q=="date"?[1,31,2]:Q=="week"?[1,53,2]:Q=="month"?[1,12,2]:Q=="year"?[0,2999,4]:[0,0,0];re>ge?re=ye:re<ye&&(re=ge),re=Number(re).zeroEmbed(H)}else if(["0","1","2","3","4","5","6","7","8","9"].includes(p)){let be=_e|0,ye=p,ge=`${be}${ye}`;if(M!=L&&(be=0,ge="0"+ye),Q=="year"||Q=="dateWareki"&&a=="year")Number(ge)>1e4?re=ye:re=ge,(re|0)>1e3&&F++;else if(["hour","minute","date","week","month"].includes(Q)||Q=="dateWareki"&&a!="year"){let H=Q=="dateWareki"?a=="reiwa"?100:a=="heisei"?31:a=="shouwa"?64:a=="taisho"?15:a=="meiji"?45:0:Q=="minute"?59:Q=="hour"?23:Q=="date"?31:Q=="week"?53:Q=="month"?12:0;re=(ge|0)>H?ye:ge,(Number(ye)>Number(String(H)[0])||_e=="0000".slice(0,String(H).length)&&(ge!="0000".slice(0,String(H).length)||["minute","hour"].includes(Q)&&M==L)||(ge|0)>=i5(10,String(H).length-1))&&F++}Q=="year"||Q=="dateWareki"?re=(re|0).zeroEmbed(4):re=(re|0).zeroEmbed(2)}{let be=String(O).partReplace(N,String(re)),ye=be.split(gf).map(ge=>ge.replace(/(^\D|\D$)/,"").split(/\D+/).join(o=="clock"?":":"/").replace(/(^\D|\D$)/,""));if(o=="dateWareki"){let ge=ye[0].split(/\D/),[H,le,fe]=ge;ge.length==3&&H&&(ye=[[Number(H)-1+Number({year:1,reiwa:2019,heisei:1989,shouwa:1926,taisho:1912,meiji:1868}[a]),le,fe].join("/")])}F=Math.max(F,0),F=Math.min(F,j),f(ge=>T(_({},ge),{dataValue:["dates","months"].includes(o)?ye:ye[0],formatValue:be,eventType:"update",eventID:(0,hn.UUID)()})),h(ge=>T(_({},ge),{index:F,prevIndex:ge.index}))}}}},yO={picker:{launch:r=>{let a=r.sheetID||(0,hn.UUID)(),o=r,{onValueUpdate:l,min:s,max:f,era:c,restrict:h,defaultValue:p}=o,m=Ge(o,["onValueUpdate","min","max","era","restrict","defaultValue"]);hr.open(T(_({sheetID:a,type:"normal.middleCenter",size:"S",padding:0,closeAtAroundClick:!0,closeAtParentBlur:!1},m),{content:(0,ta.jsx)(vt.Center,{children:(0,ta.jsx)(_O,{restrict:h,min:s,max:f,era:c,defaultValue:p,sheetID:a,onValueUpdate:(g,b)=>{l(g,b)}})})}))},remove:r=>{Na.close(r)}}},C$={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(a);return(0,ta.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,ta.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),children:(0,ta.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})}},x$=r=>{let a=r,{tone:o,required:l,restrict:s="clock",componentID:f,era:c,form:h,name:p,min:m,max:g,className:b,enableFormSubmit:S,checkValidationAtFirst:w,onKeyDown:k,onValidate:L,onUpdateValue:M,onUpdateValidValue:Y,value:O="",leftIndicator:j,rightIndicator:F,leftIcon:Q,rightIcon:N,freeCSS:te,wrapStyles:_e}=a,re=Ge(a,["tone","required","restrict","componentID","era","form","name","min","max","className","enableFormSubmit","checkValidationAtFirst","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value","leftIndicator","rightIndicator","leftIcon","rightIcon","freeCSS","wrapStyles"]),[be,ye]=(0,To.useState)(c),[ge,H]=(0,To.useState)(T(_({componentID:r.componentID||""},_f.DataLeveling({restrict:s,value:O,era:be})),{eventType:"init",eventID:(0,hn.UUID)()})),[le,fe]=(0,To.useState)({ok:!1,notice:[]}),[B,W]=(0,To.useState)({active:!1,index:0,prevIndex:-1}),ne={rootStates:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,val_era:be,set_era:ye,val_focus:B,set_focus:W};Ft.CommonEffects({type:"time",states:r,val_status:ge,set_status:H,val_validate:le,set_validate:fe,SystemValidation:_f.SystemValidation,ExtraOverrideStates:_({},_f.DataLeveling({restrict:s,value:O,era:be}))});let ee=(0,To.useRef)(!1);return(0,To.useEffect)(()=>{if(ee.current){H(Ce=>_(_({},Ce),_f.DataLeveling({restrict:s,value:Ce.dataValue,era:be})));let de=hn.useStore.get("refreshEra_"+ge.componentID);de&&de.refreshEra(be)}else ee.current=!0},[be]),hn.useStore.update({[ge.componentID]:{openPicker:de=>{r.disabled||yO.picker.launch({parent:de,sheetID:"PickerTips-"+ge.componentID,restrict:s,min:m,max:g,defaultValue:ge.dataValue,era:be,onValueUpdate:(Ce,Se)=>{H(Ye=>T(_(_({},Ye),_f.DataLeveling({restrict:s,value:Ce,era:Se})),{eventType:"update",eventID:(0,hn.UUID)()})),ye(Se)}})},resetEra:de=>{ye(de),H(Ce=>T(_(_({},Ce),_f.DataLeveling({restrict:s,value:"",era:be})),{eventType:"update",eventID:(0,hn.UUID)()}))}}}),(0,To.useEffect)(()=>{let{index:de,active:Ce}=B;if(Ce){de=Math.max(de,0),de=Math.min(de,ge.ranges.length-1);let{from:Se,length:Ye}=ge.ranges[de],$e=mt("#"+r.id)[0];$e&&$e.setSelectionRange(Se,Se+Ye)}},[B]),(0,ta.jsxs)(Fa,{val_status:ge,set_status:H,val_validate:le,states:r,children:[(0,ta.jsx)(C$.Shallow,_({},ne)),(0,ta.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:!0}),ht.get().isTouchDevice?(0,ta.jsx)(it.Plain,T(_({"data-show-validation":Ft.isShowValidation(le,ge,!!w),"data-component-id":ge.componentID,"data-input-origin":ge.componentID,"data-disabled":r.disabled,className:b,freeCSS:{textAlign:"left"}},re),{children:ge.formatValue,onClick:de=>{let Ce=hn.useStore.get(ge.componentID);Ce&&Ce.openPicker(`[data-input-origin="${ge.componentID}"]`),de.stopPropagation()}})):(0,ta.jsx)(X,_({htmlTag:"input",type:"text",inputMode:"numeric","data-show-validation":Ft.isShowValidation(le,ge,!!w),"data-input-origin":ge.componentID,"data-disabled":r.disabled,value:ge.formatValue,className:b,tabIndex:ht.get().isTouchDevice?-1:0,onKeyDown:de=>{_f.KeyDownEvent({restrict:s,event:de,val_era:be,val_status:ge,set_status:H,val_focus:B,set_focus:W}),k&&k(de),S&&Ft.SubmitForm(de,h)},onKeyUp:de=>{de.key=="Tab"&&W(Ce=>T(_({},Ce),{active:!0}))},onClick:de=>{let Ce=de.target.selectionEnd,Se=0;ge.ranges.forEach((Ye,$e)=>{let{from:Pe,length:et,region:ct}=Ye;Pe<=Ce&&Ce<=Pe+(ct||et)&&(Se=$e)}),W(Ye=>T(_({},Ye),{active:!0,index:Se})),de.preventDefault()},onChange:()=>{}},re))]})},Ls={Origin:r=>{let a=_({fontSize:"inherit",width:1},r),[o]=(0,To.useState)(r.componentID||(0,hn.UUID)());if(a.componentID=o,hn.default.is.nullish(a.rightIcon)){let l=(r.restrict||"").match(/clock/)?gO.faClock:bO.faCalendarAlt;a.rightIcon=(0,ta.jsx)(Ba,{ssSphere:2,freeCSS:{pointerEvents:"all"},children:(0,ta.jsx)(it.Sub,{color:"cloud",border:"unset",ssSphere:2,fontColor:"theme",boxShadow:"0.normal",borderRadius:"3.tone.tertiary",flexCenter:!0,ssEffectsOnActive:"push",tabIndex:-1,id:"Picker-"+a.componentID,onClick:()=>{let s=hn.useStore.get(a.componentID);s&&s.openPicker("#Picker-"+a.componentID)},children:(0,ta.jsx)(Ne,{icon:l})})})}return(0,ta.jsx)(Ea,{componentID:a.componentID,children:x$,states:Un(a)})},Clock:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"clock",era:"clock"},r)),Date:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"date"},r)),Week:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"week"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"month"},r)),Year:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"year"},r)),DateWareki:r=>{r=_({},r);let[a]=(0,To.useState)(r.componentID||(0,hn.UUID)());r.componentID=a;let{defaultEra:o="wareki"}=r,[l,s]=(0,To.useState)((()=>{let f="year";if(o=="wareki"&&(f="reiwa",r.value)){let[c,h,p]=r.value.split(/\D/);if(c&&h&&p){let m=Number(c);m>=2019?(m-=2019,f="reiwa"):m>=1989?(m-=1989,f="heisei"):m>=1926?(m-=1926,f="shouwa"):m>=1912?(m-=1912,f="taisho"):m>=1868&&(m-=1868,f="meiji"),m+=1}}return f})());return(0,To.useEffect)(()=>{hn.useStore.set({["refreshEra_"+a]:{refreshEra:f=>{s(f)}}})},[]),(0,ta.jsx)(Ls.Origin,T(_({restrict:"dateWareki",leftIndicator:(0,ta.jsx)(es,{label:"\u5143\u53F7",emptySelect:!1,value:l,tone:r.tone||"border",override:"force",flexCenter:!0,borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",height:1,freeCSS:{whiteSpace:"nowrap"},options:[{value:"year",label:"\u897F\u66A6"},{value:"reiwa",label:"\u4EE4\u548C"},{value:"heisei",label:"\u5E73\u6210"},{value:"shouwa",label:"\u662D\u548C"},{value:"taisho",label:"\u5927\u6B63"},{value:"meiji",label:"\u660E\u6CBB"}],onUpdateValidValue:f=>{s(f);let c=hn.useStore.get(r.componentID);c&&c.resetEra&&c.resetEra(f)}})},r),{era:l}))},Periods:{Date:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"dates"},r)),Month:r=>(0,ta.jsx)(Ls.Origin,_({restrict:"months"},r))},fn:yO};var Xt=K(Dt()),ja=K(cr()),zr=K(tr());var Sf=K(Dt()),Qd=K(tr());var bf=K(Dt()),xg=K(tr());var yf=K(cr());var Kd=r=>{let a=r,{color:o="theme",size:l="R",showInitial:s=!1,loaderID:f=""}=a,c=Ge(a,["color","size","showInitial","loaderID"]),[h]=(0,yf.useState)(f),[p]=(0,yf.useState)((0,xg.UUID)()),[m,g]=(0,yf.useState)(s),b=0;l=="S"?b=1:l=="R"?b=1.5:l=="L"?b=3:l=="XL"?b=4:l=="MAX"&&(b=6);let S={theme:"hsl( var( --color-theme-hsl ) )",posi:"var( --color-positive )",nega:"var( --color-negative )",warn:"var( --color-warning )",cloud:"hsl( var( --color-layer5-hsl ) )",white:"white"}[o];return(0,yf.useEffect)(()=>{let w=mt('[data-component-id="'+p+'"]');m?w.removeClass(ka("Hide")).await(10).addClass(ka("Active")):w.removeClass(ka("Active")).await(210).addClass(ka("Hide"))},[m]),(0,yf.useEffect)(()=>{xg.useStore.set({[p]:{active:w=>{h==w&&g(!0)},stop:w=>{h==w&&g(!1)},stopForce:()=>{g(!1)}}})},[]),(0,bf.jsxs)(vt.Center,T(_({className:[ka("MiniLoader"),ka(s?"Active":"Hide")].join(" "),componentID:p,ssSphere:b,position:"relative"},c),{children:[(0,bf.jsx)("svg",{className:ka("SVG1"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})}),(0,bf.jsx)("svg",{className:ka("SVG2"),width:"100",height:"100",viewBox:"0 0 100 100",style:{stroke:S},children:(0,bf.jsx)("circle",{cx:"50",cy:"50",r:"40"})})]}))};var Ll=K(Dt()),SO=K(tr());var kg=K(cr());var wO=()=>{let[r,a]=(0,kg.useState)(!1);return(0,kg.useEffect)(()=>{SO.useStore.set({["Loader-corner-"+ht.get().sessionUID+"-corner"]:{active:()=>{a(!0)},stop:()=>{a(!1)}}})},[]),(0,Ll.jsxs)(At,{className:[ka("CornerLoader"),r?ka("isActive"):""].join(" "),gap:"1/2",padding:["1/2","3/4"],borderRadius:"2/3",backgroundColor:"dark",position:"fixed",boxShadow:"1.remark",left:"50%",top:1,opacity:"trans",transition:"short",isRounded:!0,freeCSS:{zIndex:10,pointerEvents:"none",transform:"translateX(-50%)"},children:[(0,Ll.jsxs)(At,{className:ka("Wrap"),flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[(0,Ll.jsx)(X,{className:ka("Ld4")}),(0,Ll.jsx)(X,{className:ka("Ld3")}),(0,Ll.jsx)(X,{className:ka("Ld2")}),(0,Ll.jsx)(X,{className:ka("Ld1")}),(0,Ll.jsx)(X,{className:ka("Ld2")}),(0,Ll.jsx)(X,{className:ka("Ld3")}),(0,Ll.jsx)(X,{className:ka("Ld4")})]}),(0,Ll.jsx)(X,{fontColor:"white",fontSize:"0.xs",isSemiBoldFont:!0,children:"Loading..."})]})};var Xd=r=>{let a=r.color;return{S:o=>(0,Sf.jsx)(Kd,_({size:"S",color:a},o)),R:o=>(0,Sf.jsx)(Kd,_({size:"R",color:a},o)),L:o=>(0,Sf.jsx)(Kd,_({size:"L",color:a},o)),XL:o=>(0,Sf.jsx)(Kd,_({size:"XL",color:a},o)),MAX:o=>(0,Sf.jsx)(Kd,_({size:"MAX",color:a},o))}},Eo={Wrapper:()=>(0,Sf.jsx)(wO,{}),Theme:Xd({color:"theme"}),Posi:Xd({color:"posi"}),Nega:Xd({color:"nega"}),Warn:Xd({color:"warn"}),White:Xd({color:"white"}),Cloud:Xd({color:"cloud"}),fn:{corner:{active:()=>{let r=Qd.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.active()},stop:()=>{let r=Qd.useStore.get("Loader-corner-"+ht.get().sessionUID+"-corner");r&&r.stop()}},mini:{active:(r="")=>{mt("."+ka("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Qd.useStore.get(o);l&&l.active&&l.active(r)})},stop:(r="")=>{mt("."+ka("MiniLoader")).for(a=>{let{dataset:{componentId:o}={}}=a;if(!o)return;let l=Qd.useStore.get(o);l&&l.stop&&l.stop(r)})},stopALL:()=>{mt("."+ka("MiniLoader")).for(r=>{let{dataset:{componentId:a}={}}=r;if(!a)return;let o=Qd.useStore.get(a);o&&o.stopForce&&o.stopForce()})}},stopALL:()=>{Eo.fn.corner.stop(),Eo.fn.mini.stopALL()}}};function k$(r){let{value:a,states:o}=r,{required:l,options:s,min:f,max:c}=o;f=f||0,c=c||65535;let h=[],p=a.filter(m=>m!==null).length;return l&&(p||h.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"})),p<f&&h.push({type:"invalid",label:f+"\u500B\u4EE5\u4E0A\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}),p>c&&h.push({type:"invalid",label:c+"\u500B\u307E\u3067\u9078\u629E\u3067\u304D\u307E\u3059"}),{ok:!h.filter(({type:m})=>m=="invalid").length,notice:h}}var Jd={InitOptions:r=>{let a=[];return r.forEach(o=>{let{type:l,label:s,value:f,searchValue:c}=o,h=c||(zr.default.is.string(s)?s:"")||(zr.default.is.string(f)?f:"");a.push(T(_({},o),{searchValue:h,type:l||"selector",value:f}))}),a},FilterSelectableOptions:(r,a)=>{let o=r.val_options;if(a||(o=r.val_options.filter(l=>l.type!="label")),r.val_keyword){let l=r.val_keyword.toLower().replace(/ /g,"");o=o.filter(s=>(s.searchValue||"").toLower().replace(/ /g,"").includes(l))}return o}},Zd={Shallow:r=>{let{rootStates:a,val_status:o}=r,l=Al(a);return(0,Xt.jsx)(X,{position:"absolute",top:0,left:0,right:0,height:0,overflow:"hidden",opacity:"trans",freeCSS:{zIndex:3,pointerEvents:"none"},children:(0,Xt.jsx)(nr.Description,T(_({className:a.className},l),{position:"absolute",width:1,freeCSS:T(_({},l.freeCSS),{color:"orange"}),"data-id":"shallow_"+o.componentID,children:(0,Xt.jsx)(X,{"data-input-value-shallow":o.componentID,children:"A"})}))})},Button:r=>{let{rootStates:a,val_keyword:o,set_keyword:l,val_optionFocused:s,set_optionFocused:f,val_options:c,set_options:h,val_optionsDict:p,set_optionsDict:m,val_preventOpenSelectorOnFocus:g,set_preventOpenSelectorOnFocus:b,val_selectorOpen:S,set_selectorOpen:w,val_status:k,set_status:L,val_validate:M,set_validate:Y}=r,O=a,{tone:j,required:F,form:Q,className:N,multiSelect:te,enableFormSubmit:_e,checkValidationAtFirst:re,onValidate:be,onUpdateValue:ye,onUpdateValidValue:ge,value:H="",options:le,leftIndicator:fe,rightIndicator:B,leftIcon:W,rightIcon:ne,componentID:ee,status_id:de,wrapStyles:Ce,emptySelect:Se,SearchInput:Ye,SearchInputPlaceholder:$e,SelectedComponent:Pe,SelectorComponent:et,SelectorStyles:ct,SelectorPosition:lt,DynamicOptionsOnSearch:Tt}=O,wt=Ge(O,["tone","required","form","className","multiSelect","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","options","leftIndicator","rightIndicator","leftIcon","rightIcon","componentID","status_id","wrapStyles","emptySelect","SearchInput","SearchInputPlaceholder","SelectedComponent","SelectorComponent","SelectorStyles","SelectorPosition","DynamicOptionsOnSearch"]);return(0,ja.useEffect)(()=>{var Ze,Te;if(a.disabled||!S)return;let pt=Jd.FilterSelectableOptions(r);f((Te=(Ze=pt[0])==null?void 0:Ze.value)!=null?Te:null)},[o]),(0,ja.useEffect)(()=>{k.eventType!="init"&&(a.max==k.dataValue.length?(w(!1),b(!0),setTimeout(()=>{let Ze=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');Ze&&Ze.focus()},10)):(0,zr.default)("#SearchInput_"+a.componentID).focus())},[k.dataValue]),(0,ja.useEffect)(()=>{let Ze="autocomplete-click-"+a.componentID;if(S){if(!(0,zr.default)('[data-input-origin="'+a.componentID+'"]'))return;(0,zr.default)("#SearchInput_"+a.componentID).focus(),(0,zr.default)(document).addEvent({eventID:Ze,eventType:"mousedown",callback:Te=>{let pt=(0,zr.default)(Te.target),Lt=!!(0,zr.default)(pt).parent("."+Tl("Core")).length;(0,zr.default)(pt).parent("."+Tl("Selector")).length||Lt||w(!1)}})}else(0,zr.default)(document).removeEvent([Ze]),l("")},[S]),(0,Xt.jsxs)(Xt.Fragment,{children:[(0,Xt.jsx)(X,T(_({tabIndex:0},wt),{"data-disabled":a.disabled,"data-show-validation":Ft.isShowValidation(M,k,!!re),"data-component-id":k.componentID,"data-input-origin":k.componentID,"data-focus":!!S,className:[N,Tl("Core")].join(" "),onFocus:Ze=>{if(wt!=null&&wt.onFocus&&(wt==null||wt.onFocus(Ze)),!a.disabled){if(g)return b(!1);w(!0),Ze.preventDefault()}},onClick:Ze=>{wt!=null&&wt.onClick&&(wt==null||wt.onClick(Ze)),!a.disabled&&w(!0)},onKeyDown:Ze=>{let{key:Te}=Ze;_e&&Ft.SubmitForm(Ze,Q),!S&&(Te==" "||Te=="ArrowDown"||Te=="ArrowUp"||Te=="Enter")&&w(!0)},children:(0,Xt.jsxs)(vt.Left,{flexWrap:!0,gap:"1/3",freeCSS:{letterSpacing:".5px"},children:[(0,Xt.jsx)(Zd.Selected,_({},r)),(0,Xt.jsx)(Sn,{width:0,overflow:"hidden",opacity:"trans",children:"A"}),(0,Xt.jsx)(Zd.SearchInput,_({},r))]})})),S&&(0,Xt.jsx)(Zd.Selector,_({},r))]})},SearchInput:r=>{let{rootStates:a}=r,[o,l]=(0,ja.useState)(!1);return a.disabled||!r.val_selectorOpen?null:(0,Xt.jsx)(X,{id:"SearchInput_"+a.componentID,placeholder:a.SearchInputPlaceholder||"\u691C\u7D22...",opacity:r.val_selectorOpen?"max":"trans",transition:"middle",flexSizing:0,htmlTag:"input",border:"unset",backgroundColor:"trans",value:r.val_keyword,freeCSS:{outline:"none"},onCompositionStart:s=>{a.onCompositionStart&&a.onCompositionStart(s),l(!0)},onCompositionEnd:s=>{a.onCompositionEnd&&a.onCompositionEnd(s),l(!1)},onKeyDown:s=>{let{key:f,metaKey:c,ctrlKey:h}=s,p=c||h;f=="Escape"?(r.set_selectorOpen(!1),r.set_preventOpenSelectorOnFocus(!0),setTimeout(()=>{let m=(0,zr.default)('[data-input-origin="'+a.componentID+'"]');m&&m.focus()},10)):f=="Tab"?r.set_selectorOpen(!1):f==" "?zr.default.scope(()=>{r.val_selectorOpen||r.val_keyword||(s.preventDefault(),r.set_selectorOpen(!0))}):f=="Backspace"?zr.default.scope(()=>{if(r.val_keyword)return;let m=[...r.val_status.dataValue];m.pop(),r.set_status(g=>T(_({},g),{dataValue:m,eventType:"update",eventID:(0,zr.UUID)()}))}):f=="Enter"&&zr.default.scope(()=>{if(o)return;if(!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=r.val_options.find(b=>b.value==r.val_optionFocused);if(!m)return;let{value:g}=m;r.set_status(b=>{let S=[...b.dataValue];return zr.default.scope(()=>{if(g===null)return S=[];b.dataValue.includes(g)?S=S.filter(w=>w!==g):a.multiSelect?S.push(g):S=[g]}),T(_({},b),{dataValue:S,eventType:"update",eventID:(0,zr.UUID)()})}),r.set_keyword(""),r.set_preventDynamicSearchOnKeywordChange(!0)}),zr.default.scope(()=>{if(!["ArrowDown","ArrowUp"].includes(f))return;if(s.preventDefault(),!r.val_selectorOpen)return r.set_selectorOpen(!0);let m=f=="ArrowDown"?1:-1,g=Jd.FilterSelectableOptions(r),b=g.length-1,S=null;zr.default.scope(()=>{var w,k,L,M,Y,O,j,F,Q,N;let te=g.findIndex(_e=>_e.value==r.val_optionFocused);if(te==-1&&(te=0),m==1){if(S=(k=(w=g[0])==null?void 0:w.value)!=null?k:null,p){S=(L=g[b].value)!=null?L:null;return}if(te==-1||te==b)return;S=(Y=(M=g[te+1])==null?void 0:M.value)!=null?Y:null}else{if(S=(O=g[b].value)!=null?O:null,p){S=(F=(j=g[0])==null?void 0:j.value)!=null?F:null;return}if(te==-1||te==0)return;S=(N=(Q=g[te-1])==null?void 0:Q.value)!=null?N:null}}),r.set_optionFocused(S)}),a.enableFormSubmit&&Ft.SubmitForm(s,r.rootStates.form)},onChange:s=>{let f=s.target.value;r.set_keyword(f)}},"searchInput")},Selector:r=>{var a;let[o,l]=(0,ja.useState)("idle"),[s,f]=(0,ja.useState)("idle");(0,ja.useEffect)(()=>{if(!r.val_selectorOpen||!r.rootStates.DynamicOptionsOnSearch)return;if(r.val_preventDynamicSearchOnKeywordChange)return r.set_preventDynamicSearchOnKeywordChange(!1);if(o=="idle")return l("ok");f("fetch");let g="autocomplete-search-"+r.rootStates.componentID;zr.default.interval.once(()=>Aa(void 0,null,function*(){let b=yield r.rootStates.DynamicOptionsOnSearch(r.val_keyword);f("idle");let S=Jd.InitOptions(b||[]);r.set_options(S)}),300,g)},[r.val_keyword]);let c=[],h=Jd.FilterSelectableOptions(r,!0),p=Jd.FilterSelectableOptions(r);h.forEach((g,b)=>{let{type:S,value:w}=g,k=r.val_optionFocused==w,L=r.val_status.dataValue.includes(w),M=r.rootStates.SelectorComponent;c.push((0,Xt.jsx)(M,{option:g,isFocused:k,isSelected:L,addCallback:()=>{r.set_status(Y=>{let O=[...Y.dataValue];return zr.default.scope(()=>{if(w===null)return O=[];Y.dataValue.includes(w)?O=O.filter(j=>j!==w):r.rootStates.multiSelect?O.push(w):O=[w]}),T(_({},Y),{dataValue:O,eventType:"update",eventID:(0,zr.UUID)()})})}},zr.default.Stringify(w)||(0,zr.UUID)()))}),p.length||(c=[(0,Xt.jsx)(nr.Supplement,{padding:[0,1],fontColor:"4.thin",children:"\u5019\u88DC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},"no-selector-notice")]),s=="fetch"&&(c=[(0,Xt.jsxs)(vt.Left,{padding:1,fontColor:"3.blur",children:[(0,Xt.jsx)(Eo.Theme.R,{showInitial:!0}),(0,Xt.jsx)(nr.Supplement,{children:"Loading..."})]},"loader")]);let m={position:"absolute",minWidth:1,freeCSS:{zIndex:1e3}};switch(r.rootStates.SelectorPosition){case 1:m.bottom="100%",m.left=0,m.paddingBottom="1/3";break;case 2:m.bottom="100%",m.right=0,m.paddingBottom="1/3";break;case 3:m.top="100%",m.left=0,m.paddingTop="1/3";break;case 4:m.top="100%",m.right=0,m.paddingTop="1/3";break;default:break}return(0,Xt.jsx)(X,T(_({},m),{children:(0,Xt.jsx)(hr.Body,T(_({className:Tl("Selector"),borderRadius:"2.tone.secondary",ssCardBox:!0,boxShadow:"1.normal",overflow:"auto"},r.rootStates.SelectorStyles),{freeCSS:_({maxHeight:12*24},(a=r.rootStates.SelectorStyles)==null?void 0:a.freeCSS),children:(0,Xt.jsx)(ar,{gap:"1/12",padding:[1,0],children:c})}))}))},Selected:r=>{let{rootStates:a,val_status:o,set_status:l,val_optionsDict:s}=r,f=[];return o.dataValue.forEach(c=>{let h=s[zr.default.Stringify(c)];if(!h)return;let p=a.SelectedComponent,m=h.label;h.value===null&&(m=""),f.push((0,Xt.jsx)(X,{className:Tl("SelectedCell"),children:(0,Xt.jsx)(p,{value:h.value,label:m,removeCallback:g=>{if(g.stopPropagation(),g.preventDefault(),a.disabled)return;let b=[...o.dataValue];b=b.filter(S=>S!==c),l(S=>T(_({},S),{dataValue:b,eventType:"update",eventID:(0,zr.UUID)()}))}})},zr.default.Stringify(h.value)))}),(0,Xt.jsx)(Xt.Fragment,{children:f})},Core:r=>{var a;let{value:o}=r,[l,s]=(0,ja.useState)(!1),[f,c]=(0,ja.useState)(!1),[h,p]=(0,ja.useState)(!1),[m,g]=(0,ja.useState)(""),[b,S]=(0,ja.useState)(r.options),[w,k]=(0,ja.useState)((a=r.value[0])!=null?a:null),[L,M]=(0,ja.useState)({}),[Y,O]=(0,ja.useState)(Ft.DefaultStatus(r.componentID,o)),[j,F]=(0,ja.useState)({ok:!1,notice:[]}),Q=(0,ja.useRef)(!1);(0,ja.useEffect)(()=>{Q.current?S(r.options):Q.current=!0},[r.options]),(0,ja.useEffect)(()=>{if(!b.length)return;let re=[...b],be=_({},L);re.forEach(ye=>{ye.type!="label"&&(be[zr.default.Stringify(ye.value)]=ye)}),M(be)},[b]);let N={rootStates:r,val_options:b,set_options:S,val_optionFocused:w,set_optionFocused:k,val_optionsDict:L,set_optionsDict:M,val_preventDynamicSearchOnKeywordChange:f,set_preventDynamicSearchOnKeywordChange:c,val_preventOpenSelectorOnFocus:l,set_preventOpenSelectorOnFocus:s,val_selectorOpen:h,set_selectorOpen:p,val_keyword:m,set_keyword:g,val_status:Y,set_status:O,val_validate:j,set_validate:F},te=!!r.multiSelect;Ft.CommonEffects({type:te?"autocomplete.multi":"autocomplete.single",states:r,val_status:Y,set_status:O,val_validate:j,set_validate:F,SystemValidation:k$});let _e=Y.dataValue.length&&Y.dataValue[0]!==null;return _e=_e||h,(0,Xt.jsxs)(Fa,{val_status:Y,set_status:O,val_validate:j,states:r,children:[(0,Xt.jsx)(mc,{componentID:r.componentID,fontSize:r.fontSize,required:r.required,label:r.label,isActive:_e}),(0,Xt.jsx)(Zd.Shallow,_({},N)),(0,Xt.jsx)(Zd.Button,_({},N))]})}},Tg=r=>{var a;let o=_({},r);return o=T(_({value:[],min:0,max:65535,multiSelect:!0,SearchInput:!0,emptySelect:!0,SelectorComponent:({option:l,isSelected:s,isFocused:f,addCallback:c})=>l.type=="selector"?(0,Xt.jsx)(it.Sub.S,{color:"cloud",backgroundColor:"trans",borderRadius:0,fontColor:"2.normal",textAlign:"left",padding:["1/2",1.5],isActive:f,isActiveStyles:{backgroundColor:"cloud"},onClick:h=>{c()},children:(0,Xt.jsxs)(vt.Left,{gap:"1/2",children:[s&&(0,Xt.jsx)(Ne.Check,{fontColor:"theme"}),(0,Xt.jsx)(nr.Supplement,{transition:"short",children:l.label})]})}):(0,Xt.jsx)(Xt.Fragment,{children:l.label}),SelectedComponent:({value:l,label:s,removeCallback:f})=>(0,Xt.jsxs)(vt.Left,{ssCardBox:"cloud",borderRadius:"2.tone.secondary",fontSize:"1.mini",padding:"1/2",gap:0,children:[(0,Xt.jsx)(X,{padding:[0,"1/4"],children:s}),(0,Xt.jsx)(it.Sub,{flexSizing:"none",color:"cloud",fontColor:"white",backgroundColor:"layer.5",isRounded:!0,padding:"1/4",onClick:f,freeCSS:{lineHeight:1,aspectRatio:"1/1"},children:(0,Xt.jsx)(Ne.Times,{ssSphere:1})})]}),SelectorPosition:3},o),{freeCSS:_({cursor:"pointer"},o.freeCSS)}),o.multiSelect||(o.min=0,o.max=1),o.options=o.options||[],o.emptySelect&&(o.options=[{value:null,label:(0,Xt.jsx)(nr.Supplement,{fontColor:"4.thin",children:"\u9078\u629E\u3092\u89E3\u9664"})},...o.options]),o.value=zr.default.flatArray((a=o.value)!=null?a:null),o.options=Jd.InitOptions(o.options),zr.default.is.nullish(o.rightIcon)&&(o.rightIcon=(0,Xt.jsx)(Ba,{ssSphere:2,children:(0,Xt.jsx)(Ne.Search,{})}),o.disabled&&(o.rightIcon=(0,Xt.jsx)(Ba,{ssSphere:2,fontColor:"5.translucent",children:(0,Xt.jsx)(Ne.Ban,{})}))),o.rightIcon&&(o=_({paddingRight:3},o)),o.leftIcon&&(o=_({paddingLeft:3},o)),(0,Xt.jsx)(Ea,{componentID:o.componentID,children:Zd.Core,states:Un(o)})};var wf=K(Dt());var CO=r=>(0,wf.jsx)(Tg,_({multiSelect:!1,SelectedComponent:({value:a,label:o})=>(0,wf.jsx)(wf.Fragment,{children:o}),rightIcon:(0,wf.jsx)(Ba,{ssSphere:2,children:(0,wf.jsx)(Ne.AngleDown,{})})},r));var Sr=K(Dt()),Cf=K(cr()),Nl=K(tr());var Ro=K(Dt()),xO=K(cr()),po=K(tr());var yu=K(cr());var rs={add:function(r){let a=po.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.add(r),this},remove:function(r){let a=po.useStore.get("Snackbar-"+ht.get().sessionUID);return a&&a.remove(r),this},removeALL:function(){let r=po.useStore.get("Snackbar-"+ht.get().sessionUID);return r&&r.removeALL(),this},Wrapper:()=>(0,Ro.jsx)(kO.Wrapper,{})},kO={Cell:r=>{let a=r,{snackID:o,secondsToClose:l,componentID:s=(0,po.UUID)(),children:f,customChildren:c}=a,h=Ge(a,["snackID","secondsToClose","componentID","children","customChildren"]),[p]=(0,yu.useState)(s),[m,g]=(0,yu.useState)(r.secondsToClose||10);(0,yu.useEffect)(()=>{let S=mt('[data-component-id="'+p+'"]');setTimeout(()=>{S.addClass(am("FadeIn"))},10),po.useStore.set({["Snackbar-"+o]:{remove:()=>{S.addClass(am("FadeOut"))}}})},[]),(0,yu.useEffect)(()=>{po.default.interval.once(()=>{m<=0||g(m-1)},1e3,"Snackbar-"+p),m===0&&rs.remove(o)},[m]);let b=(0,Ro.jsx)(Ro.Fragment,{});return c?b=(0,Ro.jsx)(c,{close:()=>{rs.remove(o)}}):b=(0,Ro.jsxs)(vt.Separate,{verticalAlign:"top",children:[(0,Ro.jsx)(X,{padding:["1/4",0],flexSizing:0,children:po.default.is.function(f)?(0,Ro.jsx)(f,{}):f}),(0,Ro.jsx)(it.Clear,{color:"layer",backgroundColor:"layer.4.opa.low",fontColor:"white",ssSphere:2.5,onClick:()=>{rs.remove(o)},children:(0,Ro.jsx)(Ne.Times,{})})]}),(0,Ro.jsx)(X,T(_({className:am("Cell"),componentID:p,onMouseOver:()=>{g(-1)},onMouseOut:()=>{g(l||10)},opacity:"trans",width:1,padding:"2/3",marginBottom:1,borderRadius:"1.tone.primary",fontColor:"white",boxShadow:"1.remark",backgroundColor:"dark",transition:"middle"},h),{children:b}))},Wrapper:()=>{let[r,a]=(0,yu.useState)((0,po.UUID)()),[o,l]=(0,yu.useState)([]);(0,yu.useEffect)(()=>{po.useStore.set({["Snackbar-"+ht.get().sessionUID]:{add:f=>{f.snackID=f.snackID||(0,po.UUID)();let c=o.findIndex(h=>h.snackID==f.snackID);if(c==-1)o.unshift(T(_({},f),{snackID:f.snackID}));else{let h=[...o];h[c]=T(_({},f),{snackID:f.snackID}),o=h}a((0,po.UUID)())},remove:f=>{let c=po.useStore.get("Snackbar-"+f);c&&c.remove&&(c.remove(),setTimeout(()=>{let h=o.findIndex(m=>m.snackID==f);if(h==-1)return;let p=[...o];p.splice(h,1),l(p)},210))},removeALL:()=>{l([])}}})},[o.length]);let s=o.map(f=>(0,xO.createElement)(kO.Cell,T(_({},f),{key:f.snackID})));return(0,Ro.jsx)(At,{className:["AMOTIFY_be","AMOTIFY_be_snackbar",am("Wrapper")].join(" "),position:"fixed",right:0,bottom:0,paddingLeft:0,paddingRight:1,paddingBottom:"safeAreaBottom",verticalAlign:"bottom",overflow:"auto",UnderBreakPointStyles:{left:0,paddingLeft:1,width:"auto"},children:s})}};var OO=K(NO());function T$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a.length&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var MO={List:r=>{let{rootStates:a,val_status:o,set_status:l}=r;if(a.useSystemOnly)return null;let s=a.limit-(o.dataValue||[]).length,f=(o.dataValue||[]).map((c,h)=>(0,Sr.jsx)(MO.ListCell,T(_({},r),{index:h,val_file:c}),c.name));return s>0&&f.push((0,Sr.jsx)(X,T(_({htmlTag:"label"},a.cellStyles),{className:[a.cellClassName,Ql("AddButton")].join(" "),"data-component-id":o.componentID,htmlFor:a.id,tabIndex:a.tabIndex,onKeyDown:c=>{let{key:h}=c;a.tabIndex!=-1&&[" ","Enter"].includes(h)&&mt("#"+a.id).click()},children:(0,Sr.jsxs)(vt.Center,{padding:["1/3",0],children:[(0,Sr.jsx)(X,{isRounded:!0,className:Ql("AddIcon"),children:(0,Sr.jsx)(Ne,{icon:OO.faCloudArrowUp,className:Ql("Icon"),fontColor:"theme",fontSize:"4.thirdTitle",backgroundColor:"theme.opa.low",ssSphere:3,padding:"1/2"})}),(0,Sr.jsxs)(X,{children:[(0,Sr.jsxs)(X,{fontColor:"theme",fontSize:"2.normal",isSemiBoldFont:!0,children:["\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E(",s,")"]}),(0,Sr.jsx)(X,{fontColor:"4.thin",fontSize:"0.xs",isSemiBoldFont:!0,children:"\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7"})]})]})}),"AddButton")),(0,Sr.jsx)(ar,T(_({flexSizing:"auto"},Al(a)),{className:a.className,children:f}))},ListCell:r=>{let{index:a,rootStates:o,val_file:l,val_status:s,set_status:f}=r,{name:c,size:h,type:p}=l,[m,g]=(0,Cf.useState)(!1),b=(0,Nl.UUID)(),S=h.rank(),[w,k]=c.replace(/\s/,"").replace(/(.*)\.(.*)$/,"$1 $2").split(" "),L="\u30D5\u30A1\u30A4\u30EB";return p.match(/image/)?L=p.replace(/image\//,""):p.match(/pdf/)?L="PDF":p.match(/csv/)?L="CSV":p.match(/spreadsheet/)?L="SpreadSheet":p.match(/presentation/)?L="PowerPoint":p.match(/word/)?L="Word":p.match(/zip/)?L="Zip":p.match(/powerpoint/)?L="PowerPoint":p.match(/html/)?L="HTML":p.match(/js/)?L="JavaScript":p.match(/css/)?L="CSS":p.match(/text\/plain/)&&(L="\u30C6\u30AD\u30B9\u30C8"),(0,Cf.useEffect)(()=>{m&&setTimeout(()=>{mt("#"+b).focus()},100)},[m]),(0,Sr.jsxs)(At,T(_({verticalAlign:"center",flexWrap:!1,gap:1,className:o.cellClassName},o.cellStyles),{children:[(0,Sr.jsx)(Ne.File,{fontSize:"4.thirdTitle",fontColor:"4.thin"}),(0,Sr.jsxs)(X,{flexSizing:0,children:[(0,Sr.jsx)(X,{children:(0,Sr.jsx)(At,{verticalAlign:"center",gap:"2/3",flexWrap:!1,className:Ql("FileName"),children:m?(0,Sr.jsx)(Sr.Fragment,{children:(0,Sr.jsxs)(ar,{flexSizing:0,gap:"1/2",children:[(0,Sr.jsxs)(At,{gap:"2/3",verticalAlign:"center",children:[(0,Sr.jsx)(dn,{tone:"border",wrapStyles:{flexSizing:"auto"},restrict:"fileName",name:"name",required:!0,id:b,form:"form-"+b,enableFormSubmit:!0,value:w,onKeyDown:M=>{let{key:Y}=M;Y=="Escape"&&g(!1)}}),(0,Sr.jsxs)(X,{children:[". ",k]})]}),(0,Sr.jsxs)(At,{gap:"2/3",horizontalAlign:"right",flexWrap:!1,children:[(0,Sr.jsx)(it.Sub,{padding:["2/3",1],onClick:()=>{g(!1)},children:"\u9589\u3058\u308B"}),(0,Sr.jsx)(it,{padding:["2/3",1],submitOption:{formName:"form-"+b,callback:M=>Aa(void 0,null,function*(){let{name:Y}=M,O=[...s.dataValue],j=O[a],F=j.id;if(!j)return;let{target:Q}=yield j.convert();if(!Q)return;let N=yield String(Q.result).toBlob(l.type);if(!N)return;let te=new File([N],Y+"."+k,{type:j.type});te.id=F,O[a]=te,f(_e=>T(_({},_e),{dataValue:O,eventType:"update",eventID:(0,Nl.UUID)()})),g(!1)})},children:"\u6C7A\u5B9A"})]})]})}):(0,Sr.jsxs)(Sr.Fragment,{children:[c,!!o.isNameEditable&&(0,Sr.jsx)(it.Clear,{ssSphere:2.5,flexSizing:"none",fontColor:"4.thin",padding:"1/3",ssEffectsOnActive:"expand",color:"cloud",onClick:()=>{g(!0)},children:(0,Sr.jsx)(Ne.Pen,{})})]})})}),!m&&(0,Sr.jsxs)(X,{fontSize:"1.mini",fontColor:"4.thin",flexSizing:0,children:[L,"\u30D5\u30A1\u30A4\u30EB / ",S,"B"]})]}),(0,Sr.jsx)(it.Sub,{color:"cloud",fontColor:"4.thin",ssSphere:3,onClick:()=>{let M=[...s.dataValue];M[a]&&(M.splice(a,1),f(Y=>T(_({},Y),{dataValue:M,eventType:"update",eventID:(0,Nl.UUID)()})))},children:(0,Sr.jsx)(Ne.Times,{})})]}))}},E$=r=>{let a=r,{tone:o,required:l,form:s,isNameEditable:f,useSystemOnly:c,accept:h="*",limit:p=1,checkValidationAtFirst:m,onChange:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,value:k=[],className:L,cellStyles:M,cellClassName:Y,componentID:O,status_id:j,enableFormSubmit:F,freeCSS:Q,wrapStyles:N}=a,te=Ge(a,["tone","required","form","isNameEditable","useSystemOnly","accept","limit","checkValidationAtFirst","onChange","onValidate","onUpdateValue","onUpdateValidValue","value","className","cellStyles","cellClassName","componentID","status_id","enableFormSubmit","freeCSS","wrapStyles"]),[_e,re]=(0,Cf.useState)(Ft.DefaultStatus(r.componentID||"",k)),[be,ye]=(0,Cf.useState)({ok:!1,notice:[]}),ge={rootStates:r,val_status:_e,set_status:re};(0,Cf.useEffect)(()=>{Nl.useStore.set({["AddFiles-"+_e.componentID]:le=>{re(fe=>{let B=fe.dataValue,W=[];for(var ne=0;ne<(le==null?void 0:le.length);ne++){let ee=le[ne],{type:de,name:Ce}=ee;if(ne+1+B.length>p){rs.add({componentID:Ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u9078\u629E\u4E0A\u9650\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${Ce}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}if(h&&h=="image"&&!de.match(/image/)){rs.add({componentID:Ce,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u304C\u7570\u306A\u308B\u305F\u3081\u3001${Ce} \u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002`,backgroundColor:"nega"});continue}W.push(ee)}return T(_({},fe),{dataValue:[...B,...W],eventType:"update",eventID:(0,Nl.UUID)()})})}})},[]),Ft.CommonEffects({type:"file",states:r,val_status:_e,set_status:re,val_validate:be,set_validate:ye,SystemValidation:T$});let H="";return h&&(h=="image"?H="image/png,image/jpeg":H=h),(0,Sr.jsxs)(Fa,{val_status:_e,set_status:re,val_validate:be,states:r,children:[(0,Sr.jsx)(X,T(_({htmlTag:"input",type:"file",className:Ql("Input"),"data-component-id":_e.componentID,accept:H,multiple:p!=1,onChange:le=>Aa(void 0,null,function*(){g&&g(le);let fe=le.target,B=fe.files,W=[];for(var ne=0;ne<(B==null?void 0:B.length);ne++){let ee=B[ne],de=ee.name;if(ee.id=(0,Nl.UUID)(),ne+1+_e.dataValue.length>p){rs.add({componentID:de,secondsToClose:12e3,children:`\u30D5\u30A1\u30A4\u30EB\u767B\u9332\u6570\u3092\u8D85\u3048\u305F\u305F\u3081\u3001${de}}\u306F\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002`,backgroundColor:"nega"});continue}W.push(ee)}re(ee=>T(_({},ee),{dataValue:[...ee.dataValue,...W],eventType:"update",eventID:(0,Nl.UUID)()})),fe.value=""})},te),{opacity:"low",tabIndex:-1,value:""})),(0,Sr.jsx)(MO.List,_({},ge))]})},hw=r=>(r=T(_({limit:1,isNameEditable:!0,useSystemOnly:!1,tone:"border",value:[]},r),{override:"force",cellStyles:_(_({},Un({tone:r.tone||"border"})),r.cellStyles)}),(0,Sr.jsx)(Ea,{componentID:r.componentID,children:E$,states:r}));hw.fn={openDialog:r=>{let{multiple:a,accept:o}=r;return new Promise(l=>{let s=document.createElement("input");s.type="file",s.multiple=a!=null?a:!0,o&&(o=="image"?s.accept="image/png,image/jpeg":s.accept=o),s.onchange=f=>{l(f.target.files)},s.click()})}},typeof window!="undefined"&&window.document&&(0,Nl.default)(document).addEvent({eventType:"dragover",callback:r=>{r.preventDefault(),mt("."+Ql("AddButton")).addClass(Ql("Draggable"))},options:{passive:!1}}).addEvent({eventType:"drop",callback:r=>{r.preventDefault(),mt("."+Ql("AddButton")).removeClass(Ql("Draggable"));let a=r.dataTransfer.files;if(a.length){let o=r.target;if(mt(o).hasClass(Ql("AddButton"))){let{componentId:l}=o.dataset,s=Nl.useStore.get("AddFiles-"+l);s&&s(a)}}},options:{passive:!1}});var ho=K(Dt()),Ns=K(tr()),hm=K(cr());function R$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"\u5FC5\u9808\u9805\u76EE\u3067\u3059"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var IO=r=>{let{value:a,val_status:o}=r,{min:l,max:s,step:f}=o;a=Math.max(a,l),a=Math.min(a,s);let c=a/s*s;return c=Math.round(c/f),{stepValue:c*f,stepIndex:c,positionLeft:c*f/s*100+"%"}},PO={IndicatorLabels:r=>{let{componentID:a,min:o,max:l,step:s,customLegends:f}=r,c=[],h=Math.round(o/s),p=Math.round(l/s),m=p-h+1;for(var g=h;g<=p;g++){let b=g*s;b=Math.max(b,o),b=Math.min(b,l);let S=b/l*100+"%";c.push((0,ho.jsx)(X,{className:xs("Label"),id:"Legend-"+a+"-"+g,display:g==h||g==p?"flex":"none",position:"absolute",top:0,unitHeight:1,unitWidth:1.5,transition:"middle",fontColor:"1.clear",verticalAlign:"center",horizontalAlign:"center",freeCSS:{left:S,whiteSpace:"nowrap",textAlign:"center"},children:f?f(b):b.rank()},b))}return(0,hm.useEffect)(()=>{let b=()=>{let S=mt("#Labels-"+a),{width:w}=S.position(),k=Math.round(w/50)-1,L=Math.round(m/k);for(let M=h+1;M<p;M++)mt("#Legend-"+a+"-"+M).css({display:M%L==0?"flex":"none"})};return(0,Ns.default)(window).addEvent({eventID:"SliderResizeCallback-"+a,eventType:"resize",callback:()=>{b()}}),b(),()=>{(0,Ns.default)(window).removeEvent("SliderResizeCallback-"+a)}},[]),(0,ho.jsx)(At,{className:xs("Labels"),verticalAlign:"center",horizontalAlign:"between",fontSize:"0.xs",position:"relative",unitHeight:1,id:"Labels-"+a,children:(0,ho.jsx)(X,{position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:c})})},Rail:r=>{let{val_status:a,set_status:o,DotData:l,form:s,enableFormSubmit:f}=r,{componentID:c}=a;return(0,ho.jsxs)(At,{className:xs("Rail"),position:"relative",paddingLeft:"1/2",unitHeight:1.5,verticalAlign:"center",freeCSS:{minWidth:"10rem",zIndex:1,cursor:"pointer"},onPointerDown:h=>{r.rootStates.disabled||(h.stopPropagation(),ep.Effects.Start(h,{val_status:a,set_status:o,DotData:l}))},children:[(0,ho.jsx)(X,{className:xs("Bar"),backgroundColor:"layer.4",position:"relative",isRounded:!0,transition:"middle",flexSizing:"none",unitHeight:"2/3",width:1,id:c+"_Bar",children:(0,ho.jsx)(X,{className:xs("BarColor"),position:"relative",height:1,width:0,left:0,transition:"long",borderRadius:"inherit",backgroundColor:r.color,opacity:"middle",overflow:"hidden",freeCSS:{width:l.positionLeft},id:c+"_BarColor"})}),(0,ho.jsx)(X,{className:xs("BallWrap"),position:"absolute",top:0,left:0,bottom:0,freeCSS:{right:12*1.5},children:(0,ho.jsx)(it.Plain,{className:xs("Ball"),position:"absolute",backgroundColor:r.color,top:0,left:0,ssSphere:1.5,freeCSS:{zIndex:2,left:l.positionLeft},id:c+"_Ball",onKeyDown:h=>{ep.KeyDownEvent({event:h,val_status:a,set_status:o,DotData:l}),f&&Ft.SubmitForm(h,s)}})})]})}},ep={Effects:{Start:(r,a)=>{(0,Ns.default)(document).addEvent({eventID:"SliderMouseMove",eventType:"mousemove",callback:o=>{ep.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderTouchMove",eventType:"touchmove",callback:o=>{ep.Effects.Move(o,a)},options:{passive:!1}}).addEvent({eventID:"SliderMouseUp",eventType:"mouseup",callback:()=>{ep.Effects.End()}}).addEvent({eventID:"SliderTouchEnd",eventType:"touchend",callback:()=>{ep.Effects.End()}})},Move:(r,a)=>{let o=Ns.default.getCursor(r).x,{val_status:l,set_status:s}=a,{componentID:f,min:c,max:h}=l,p=mt("#"+f+"_Ball"),m=mt("#"+f+"_Bar"),g=mt("#"+f+"_BarColor"),{width:b,left:S}=m.position(),w=(o-S)/b;w=Math.max(w,0),w=Math.min(w,1);let k=w*h,L=IO({value:k,val_status:l}),M=L.positionLeft,Y=L.stepValue;return p.css({left:M}),g.css({width:M}),s(O=>{let j=O.dataValue;return Y==j?O:T(_({},O),{dataValue:Y,eventType:"update",eventID:(0,Ns.UUID)()})}),r.preventDefault(),r.stopPropagation(),!1},End:()=>{(0,Ns.default)(document).removeEvent(["SliderMouseMove","SliderTouchMove","SliderMouseUp","SliderTouchEnd"])}},KeyDownEvent:r=>{let{event:a,val_status:o,set_status:l}=r,{min:s,max:f,step:c}=o,{key:h,metaKey:p,ctrlKey:m}=a,g=m||p,b=o.dataValue;h.match(/Arrow/)&&(a.preventDefault(),h.match(/Left|Up/)?g?b=s:b-=c:h.match(/Right|Down/)&&(g?b=f:b+=c),b=Math.max(Math.min(b,f),s),l(S=>T(_({},S),{dataValue:b,eventType:"update",eventID:(0,Ns.UUID)()})))}},D$=r=>{let a=r,{color:o="theme",required:l,form:s="",legends:{enable:f=!0,custom:c,showAlways:h=!1}={},min:p,max:m,step:g,enableFormSubmit:b,checkValidationAtFirst:S,onValidate:w,onUpdateValue:k,onUpdateValidValue:L,value:M="",className:Y,freeCSS:O,wrapStyles:j}=a,F=Ge(a,["color","required","form","legends","min","max","step","enableFormSubmit","checkValidationAtFirst","onValidate","onUpdateValue","onUpdateValidValue","value","className","freeCSS","wrapStyles"]),[Q,N]=(0,hm.useState)({componentID:r.componentID||"",dataValue:M,min:p,max:m,step:g,eventType:"init",eventID:(0,Ns.UUID)()}),[te,_e]=(0,hm.useState)({ok:!1,notice:[]});Ft.CommonEffects({type:"slider",states:r,val_status:Q,set_status:N,val_validate:te,set_validate:_e,SystemValidation:R$});let re=IO({value:Q.dataValue,val_status:Q});return(0,ho.jsx)(Fa,{val_status:Q,set_status:N,val_validate:te,states:r,children:(0,ho.jsxs)(ar,{gap:"1/2",flexSizing:"auto",className:[xs("Wrap"),Y,xs("ShowLegendsAlways_"+h)].join(" "),children:[(0,ho.jsx)(PO.Rail,{rootStates:r,color:o,val_status:Q,set_status:N,DotData:re,form:s,enableFormSubmit:b}),!!f&&(0,ho.jsx)(PO.IndicatorLabels,{componentID:Q.componentID,min:p,max:m,step:g,customLegends:c})]})})},zO=r=>{let a=_({},r);return(0,ho.jsx)(Ea,{componentID:r.componentID,children:D$,states:xo(a)})};var Do=K(Dt()),mw=K(tr()),vw=K(cr());function A$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var L$=r=>{let a=r,{componentID:o,color:l="posi",required:s,form:f,id:c,enableFormSubmit:h,checkValidationAtFirst:p,onChange:m,onKeyDown:g,onValidate:b,onUpdateValue:S,onUpdateValidValue:w,size:k="regular",value:L="",icon:M="",isApply:Y=!1}=a,O=Ge(a,["componentID","color","required","form","id","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","size","value","icon","isApply"]),[j,F]=(0,vw.useState)({componentID:r.componentID||"",dataValue:L,eventType:"init",eventID:(0,mw.UUID)()}),[Q,N]=(0,vw.useState)({ok:!1,notice:[]}),te=!!j.dataValue;return Ft.CommonEffects({type:"switch",states:r,val_status:j,set_status:F,val_validate:Q,set_validate:N,SystemValidation:A$}),(0,Do.jsxs)(Fa,{val_status:j,set_status:F,val_validate:Q,states:r,children:[(0,Do.jsx)(X,_({htmlTag:"input",type:"checkbox","data-component-id":j.componentID,checked:j.dataValue,className:uf("Input"),id:c,onKeyDown:_e=>{g&&g(_e),h&&Ft.SubmitForm(_e,f)},onChange:_e=>{let{checked:re}=_e.target;Q.ok&&N({ok:!1,notice:[]}),F(be=>T(_({},be),{dataValue:re,eventType:"update",eventID:(0,mw.UUID)()})),m&&m(_e)}},O)),(0,Do.jsx)(dg.Plain,{tabIndex:-1,htmlFor:c,padding:"1/4",transition:"middle",borderRadius:"1.tone.primary",className:uf("Label"),children:(0,Do.jsx)(X,T(_({},Y?{padding:"1/4",isRounded:!0,backgroundColor:te?l:"layer.5"}:{}),{children:(0,Do.jsxs)(vt.Center,{unitHeight:k=="small"?2:k=="regular"?2.5:k=="large"?3:0,position:"relative",freeCSS:{aspectRatio:9/5},children:[!Y&&(0,Do.jsx)(X,{position:"absolute",backgroundColor:te?l:"layer.5",isRounded:!0,transition:"middle",width:1,opacity:"middle",className:uf("Bar"),freeCSS:{height:"40%"}}),(0,Do.jsx)(X,{position:"absolute",top:0,backgroundColor:!Y&&te?l:"white",transition:"middle",isRounded:!0,flexCenter:!0,boxShadow:"1.remark",className:uf("Dot"),freeCSS:{height:"100%",aspectRatio:"1",left:te?`calc(${4 .ratio(9)}%)`:0},children:M&&(0,Do.jsx)(X,{transition:"middle",flexCenter:!0,fontColor:te?Y?l:"white":"6.clear",children:M})})]})}))})]})},Eg=r=>{let a=_({},r);return a.value=!!a.value,a.color=a.color||"theme",(0,Do.jsx)(Ea,{componentID:a.componentID,children:L$,states:a})},mm=Eg;mm.S=r=>(0,Do.jsx)(Eg,T(_({},r),{size:"small"})),mm.R=r=>(0,Do.jsx)(Eg,T(_({},r),{size:"regular"})),mm.L=r=>(0,Do.jsx)(Eg,T(_({},r),{size:"large"}));var BO=K(Dt());var FO=r=>(0,BO.jsx)(Cg,T(_({icon:!0},r),{isChecker:!0,value:!!r.value,options:[{value:!0,label:r.label}]}));var Su=K(Dt()),jO=K(tr()),Rg=K(cr());var N$=r=>{let a=r,{__sys_segmented_type:o,tone:l,value:s,options:f,onUpdateValue:c,onUpdateValidValue:h,enableFormSubmit:p,checkValidationAtFirst:m,cellStyles:g,cellClassName:b,cellCheckedClassName:S,cellCheckedStyles:w,freeCSS:k,wrapStyles:L}=a,M=Ge(a,["__sys_segmented_type","tone","value","options","onUpdateValue","onUpdateValidValue","enableFormSubmit","checkValidationAtFirst","cellStyles","cellClassName","cellCheckedClassName","cellCheckedStyles","freeCSS","wrapStyles"]),[Y]=(0,Rg.useState)((0,jO.UUID)()),[O,j]=(0,Rg.useState)(s),[F,Q]=(0,Rg.useState)(O);return O!=s&&(j(s),Q(s)),(0,Su.jsx)(vf,T(_({options:f,value:F,componentID:Y,icon:!1,flexWrap:!1,borderRadius:"2.tone.secondary",position:"relative"},M),{freeCSS:_({whiteSpace:"nowrap"},k),cellStyles:_({flexCenter:!0,ssEffectsOnActive:"push"},g),cellCheckedStyles:_({},w),cellClassName:[b,cg("Label"),cg("Tone_"+o.replace(/\./ig,""))].join(" "),cellCheckedClassName:[S,cg("Checked")].join(" "),tone:"custom",onUpdateValue:c,onUpdateValidValue:(...N)=>{h&&h(...N),o=="bottomline"&&Q(N[0])}}))},Dg=r=>{let{__sys_segmented_type:a}=r;return a=a||"plain",a=="plain"&&(r=T(_({padding:"1/3",gap:"1/3",ssCardBox:!0},r),{cellStyles:_({padding:["1/2","3/4"],borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",boxShadow:"1.normal",fontColor:"white"},r.cellCheckedStyles)})),(0,Su.jsx)(N$,_({__sys_segmented_type:"plain"},r))},as=Dg;as.Cloud=r=>{let a=T(_({__sys_segmented_type:"cloud",padding:"1/3",gap:"1/3",backgroundColor:"cloud"},r),{cellStyles:_({padding:"3/4",borderRadius:"inherit",position:"relative"},r.cellStyles),cellCheckedStyles:_({boxShadow:"1.normal",backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Su.jsx)(Dg,_({},a))},as.CloudTheme=r=>{let a=_({backgroundColor:"theme.opa.few",fontColor:"theme",__sys_segmented_type:"cloud.theme"},r);return(0,Su.jsx)(as.Cloud,_({},a))},as.CloudMono=r=>{let a=T(_({fontColor:"3.blur",__sys_segmented_type:"cloud.mono"},r),{cellCheckedStyles:_({backgroundColor:"layer.1",fontColor:"1.clear"},r.cellCheckedStyles)});return(0,Su.jsx)(as.Cloud,_({},a))},as.Border=r=>{let a=T(_({backgroundColor:"layer.1",border:"2.normal",overflow:"hidden",gap:0,fontColor:"3.blur",ssLastChildLossBorder:"right",boxShadow:"0.min",__sys_segmented_type:"border"},r),{cellStyles:_({padding:["3/4",1],borderRadius:0,borderRight:"2.normal"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme.opa.few",fontColor:"theme"},r.cellCheckedStyles)});return(0,Su.jsx)(Dg,_({},a))},as.BorderVivid=r=>{let a=T(_({border:!0,borderColor:"theme",__sys_segmented_type:"border.vivid"},r),{cellStyles:_({borderRight:!0,borderColor:"theme"},r.cellStyles),cellCheckedStyles:_({backgroundColor:"theme",fontColor:"white"},r.cellCheckedStyles)});return(0,Su.jsx)(as.Border,_({},a))},as.Bottomline=r=>{let a=T(_({__sys_segmented_type:"bottomline",gap:0,fontColor:"3.blur"},r),{cellStyles:_({ssEffectsOnActive:"ripple.theme",borderRadius:0,padding:1},r.cellStyles),cellCheckedStyles:_({fontColor:"theme"},r.cellCheckedStyles)});return(0,Su.jsx)(Dg,_({},a))};var Ag=K(Dt()),HO=K(tr()),_w=K(cr());function O$(r){let{value:a,states:o}=r,{required:l}=o,s=[];return l&&!a&&s.push({type:"invalid",label:"ON\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093"}),{ok:!s.filter(({type:f})=>f=="invalid").length,notice:s}}var M$=r=>{let a=r,{componentID:o,required:l,form:s,enableFormSubmit:f,checkValidationAtFirst:c,onChange:h,onKeyDown:p,onValidate:m,onUpdateValue:g,onUpdateValidValue:b,value:S=""}=a,w=Ge(a,["componentID","required","form","enableFormSubmit","checkValidationAtFirst","onChange","onKeyDown","onValidate","onUpdateValue","onUpdateValidValue","value"]),[k,L]=(0,_w.useState)(Ft.DefaultStatus(r.componentID||"",S)),[M,Y]=(0,_w.useState)({ok:!1,notice:[]});return Ft.CommonEffects({type:"color",states:r,val_status:k,set_status:L,val_validate:M,set_validate:Y,SystemValidation:O$}),(0,Ag.jsx)(Fa,{val_status:k,set_status:L,val_validate:M,states:r,children:(0,Ag.jsx)(X,_({htmlTag:"input",type:"color","data-component-id":k.componentID,value:k.dataValue,className:uf("Input"),onKeyDown:O=>{p&&p(O),f&&Ft.SubmitForm(O,s)},onChange:O=>{let{value:j}=O.target;M.ok&&Y({ok:!1,notice:[]}),L(F=>T(_({},F),{dataValue:j,eventType:"update",eventID:(0,HO.UUID)()})),h&&h(O)}},w))})},UO=r=>{let a=T(_(T(_({},Un(r)),{backgroundColor:"cloud",unitHeight:3}),r),{freeCSS:_({minWidth:108},r.freeCSS)});return(0,Ag.jsx)(Ea,{componentID:r.componentID,children:M$,states:a})};var ns=K(tr()),VO=r=>Aa(void 0,null,function*(){let a=1,o={};return yield ns.default.scope(()=>Aa(void 0,null,function*(){if(ns.useStore.get("form-process-"+r))return;ns.useStore.set({["form-process-"+r]:!0});let l=document.activeElement;l&&l.blur();{let s=ns.useStore.get(["form-data",r].join("-"));if(!s){ns.useStore.set({["form-process-"+r]:!1});return}for(let[f,c]of Object.entries(s)){if(!c)continue;let h=ns.useStore.get(c.componentID);h&&h.Refresh&&(yield h.Refresh())}}{let s=ns.useStore.get(["form-data",r].join("-"));if(!s){ns.useStore.set({["form-process-"+r]:!1});return}for(let[f,c]of Object.entries(s))c&&(a&=Number(c.validation),o[f]=c.value)}ns.useStore.set({["form-process-"+r]:!1})})),{valid:!!a,data:o}});var _a;(r=>(r.Plain=I7,r.Hidden=H7,r.TextField=dn,r.Contenteditable=Q7,r.DigitCharacters=Z7,r.Time=Ls,r.Select=es,r.Autocomplete=Tg,r.List=mO,r.Radio=vf,r.Checkbox=Cg,r.Checker=FO,r.Search=CO,r.Filer=hw,r.Slider=zO,r.Switch=mm,r.Segmented=as,r.Color=UO,r.LeftIcon=qd,r.RightIcon=Ba,r.LeftIndicator=_g,r.RightIndicator=gg,r.RequiredSign=hg,r.RequiredShortSign=mg,r.OmitSign=vg,r.CollectForm=VO))(_a||(_a={}));var qO=r=>{let a=r,{tabIndex:o,tabs:l,onTabChange:s,componentDidMount:f}=a,c=Ge(a,["tabIndex","tabs","onTabChange","componentDidMount"]);return(0,WO.useEffect)(()=>{f&&f()},[]),(0,Lg.jsx)(At,T(_({position:"relative",overflow:"auto",flexWrap:!1},c),{freeCSS:_({zIndex:3,whiteSpace:"nowrap"},c.freeCSS),children:(0,Lg.jsx)(X,{margin:[0,"auto"],children:(0,Lg.jsx)(_a.Segmented.Bottomline,{value:o,fontColor:"inherit",gap:0,override:"force",options:l.map((h,p)=>({value:p,label:h})),onUpdateValidValue:h=>{s&&s(h)}})})}))};var _c=K(Dt());var Wr={Table:r=>(0,_c.jsx)(X,T(_({htmlTag:"table"},r),{border:r.border})),Head:r=>(0,_c.jsx)(X,_({htmlTag:"thead"},r)),Body:r=>(0,_c.jsx)(X,_({htmlTag:"tbody"},r)),Row:r=>(0,_c.jsx)(X,_({htmlTag:"tr"},r)),TH:r=>(0,_c.jsx)(X,_({htmlTag:"th"},r)),TD:r=>(0,_c.jsx)(X,_({htmlTag:"td"},r)),RightIndicator:{type:"td",unitWidth:4,children:(0,_c.jsx)(Ne.AngleRight,{fontColor:"theme",fontSize:"4.thirdTitle"})}};var Ao=K(Dt());var gw=K(Dt()),$O=K(tr());var YO=(r,a)=>{if(a=="plain")return{};let o={};return r=="drag"&&(o.padding=1),["border","rowBorder","cellBorder"].includes(a)&&(o.borderBottom="2.normal"),["border","cellBorder"].includes(a)&&(o.borderRight="2.normal"),_({padding:"3/4",backgroundColor:"layer.1",transition:"short",textAlign:"center"},o)},il=r=>{let a={};return r.right&&(a.borderRight="unset"),r.top&&(r.left&&(a.borderTopLeftRadius="inherit"),r.right&&(a.borderTopRightRadius="inherit")),r.bottom&&(a.borderBottom="unset",r.left&&(a.borderBottomLeftRadius="inherit"),r.right&&(a.borderBottomRightRadius="inherit")),a};var tp=r=>{let a=_({},r),{JSXChildren:o}=a;(!a.tone||a.tone=="auto")&&(a.tone="border",a.type=="drag"&&(a.tone="rowBorder"));let l=T(_({tableID:a.tableID||(0,$O.UUID)(),tone:a.tone},a),{cellStyles:_(_({},YO(a.type,a.tone)),a.cellStyles)});a.tone!="plain"&&(l=_({backgroundColor:"layer.1",borderRadius:"1.tone.primary"},l));let s=xo(l),{className:f,style:c}=s,h=Ge(s,["className","style"]),p=[f,Kt("Wrap"),Kt("TableType_"+a.type),Kt("RowClickable_"+!!l.onRowClick)].join(" ");return(0,gw.jsx)(X,{className:p,style:c,children:(0,gw.jsx)(o,_({},h))})};var bw={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:c}=r;if(!f)return null;let h=[];return f.forEach((p,m)=>{let g=Wr[p.type=="th"?"TH":"TD"],b={top:!0,bottom:!c.length,left:m==0,right:m==s-1,rowIndex:0,colIndex:m,isBody:!1,isHeader:!0},S=il(b),w=l?l(b):{},k=T(_(_(_(_({},a),S),w),p),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),p.freeCSS),className:[Kt("Cell"),o,p.className].join(" ")});h.push((0,Ao.jsx)(g,_({},k),m))}),(0,Ao.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:c,onRowClick:h}=r,p=[];return f.forEach((m,g)=>{let b=[];m.forEach((S,w)=>{let k=Wr[S.type=="th"?"TH":"TD"],L={top:g==0&&!s,bottom:g==f.length-1,left:w==0,right:w==c-1,rowIndex:g,colIndex:w,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};b.push((0,Ao.jsx)(k,T(_(_(_(_({},a),M),S),Y),{freeCSS:_(_(_({},a.freeCSS),Y.freeCSS),S.freeCSS),className:[Kt("Cell"),o,S.className].join(" ")}),w))}),p.push((0,Ao.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:b,onClick:S=>{h&&h(m.rowID,S)}},g))}),(0,Ao.jsx)(Ao.Fragment,{children:p})},Normal:r=>(r=_({},r),r.rows=r.rows.map((a,o)=>(a.rowID=a.rowID||o,a)),(0,Ao.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Ao.jsxs)(Wr.Body,{children:[(0,Ao.jsx)(bw.HeadRow,_({},r)),(0,Ao.jsx)(bw.BodyRows,_({},r))]})}))},GO=r=>(0,Ao.jsx)(tp,T(_({type:"normal"},r),{JSXChildren:bw.Normal}));var wa=K(Dt()),Lo=K(tr()),rp=K(cr());var Sw=K(t9());var ww={HeadRow:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,colLength:s,head:f,rows:c}=r;if(!f)return null;let h=[];for(let p=0;p<s;p++){let m=f[p],g=Wr[m.type=="th"?"TH":"TD"],b={top:!0,bottom:!c.length,left:p==0,right:p==s-1,rowIndex:0,colIndex:p,isBody:!1,isHeader:!0},S=il(b),w=l?l(b):{};h.push((0,wa.jsx)(g,T(_(_(_(_({},a),S),m),w),{freeCSS:_(_(_({},a.freeCSS),w.freeCSS),m.freeCSS),className:[Kt("Cell"),o,m.className].join(" ")}),p))}return(0,wa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:h})},BodyRows:r=>{let{cellStyles:a={},cellClassName:o="",cellStylesCallback:l,head:s,rows:f,colLength:c,onOrderChanged:h}=r,[p]=(0,rp.useState)((0,Lo.UUID)()),[m,g]=(0,rp.useState)({rows:f,origin:0,to:NaN}),b=[];if(m.rows.forEach((S,w)=>{let k=[];{let L={top:w==0&&!s,bottom:w==f.length-1,left:!0,right:!1,rowIndex:w,colIndex:0,isBody:!0,isHeader:!1},M=il(L),Y=l?l(L):{};k.push((0,wa.jsx)(Wr.TH,T(_(_(_({padding:0,borderRight:!0},a),M),Y),{freeCSS:_(_({},a.freeCSS),Y.freeCSS),className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,wa.jsx)(it.Clear,{className:Kt("DragableButton"),fontColor:"4.thin",fontSize:"3.paragraph",margin:"auto",ssSphere:3,tabIndex:-1,onPointerDown:O=>{vm.Start(O,{id:p,index:w,rows:m.rows,maxLength:f.length})},children:(0,wa.jsx)(Ne,{icon:Sw.faGripVertical})})}),"DragOrigin"))}S.forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!!s&&!s.length,bottom:w==f.length-1,left:!1,right:M==c-2,rowIndex:w,colIndex:M,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,wa.jsx)(Y,T(_(_(_(_({},a),j),L),F),{freeCSS:_(_(_({},a.freeCSS),F.freeCSS),L.freeCSS),className:[Kt("Cell"),o,L.className].join(" ")}),M))}),b.push((0,wa.jsx)(Wr.Row,{id:"TableRow-"+p+"-"+w,className:[Kt("Row"),Kt("BodyRow")].join(" "),children:k},w))}),!isNaN(m.to)){let{origin:S,to:w}=m,k=[];k.push((0,wa.jsx)(Wr.TH,{backgroundColor:"theme.opa.low",padding:0,borderRight:"2.normal",className:[Kt("Cell"),Kt("Draggable"),o].join(" "),children:(0,wa.jsx)(Ne.ArrowRight,{fontColor:"theme"})},"dragButton")),m.rows[S].forEach((L,M)=>{L=_({},L);let Y=Wr[L.type=="th"?"TH":"TD"],O={top:!1,bottom:!1,left:!1,right:!1,rowIndex:-1,colIndex:-1,isBody:!0,isHeader:!1},j=il(O),F=l?l(O):{};k.push((0,wa.jsx)(Y,T(_(_(T(_({className:[Kt("Cell"),o,L.className].join(" ")},j),{backgroundColor:"theme.opa.low"}),F),L),{freeCSS:_(_(_({},a.freeCSS),F.freeCSS),L.freeCSS)})))}),b.splice(w,0,(0,wa.jsx)(Wr.Row,{className:[Kt("Row"),Kt("Pre")].join(" "),children:k},"preSet"))}return(0,rp.useEffect)(()=>{Lo.useStore.set({[p]:{swap:(S,w)=>{if(w||w==0){let k=m.rows[S],L=[...m.rows];L.splice(S,1),L.splice(w-(S<w?1:0),0,k),g({rows:L,origin:0,to:NaN}),h(L.map(M=>Lo.default.Objectify(M.rowID)))}},preSet:S=>{let{origin:w,index:k}=S;g({rows:m.rows,origin:w,to:k})}}})}),(0,rp.useEffect)(()=>()=>{Lo.useStore.delete(p)},[]),(0,wa.jsx)(wa.Fragment,{children:b})},Drag:r=>(r=_({},r),r.colLength=r.colLength+1,r.head&&(r.head=[{children:(0,wa.jsx)(it.Clear,{ssSphere:3,fontSize:"3.paragraph",fontColor:"theme",onMouseOver:a=>{Na.open({parent:a.currentTarget,content:(0,wa.jsxs)(Na.Body,{children:[(0,wa.jsx)(Ne,{icon:Sw.faGripVertical}),"\u30DC\u30BF\u30F3\u3092\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u9806\u5E8F\u3092\u5909\u66F4"]})})},children:(0,wa.jsx)(Ne.QuestionCircle,{})}),padding:[0,1],unitWidth:4},...r.head]),r.rows=r.rows.map((a,o)=>(a.rowID=Lo.default.Stringify(a.rowID||o),a)),(0,wa.jsx)(Wr.Table,{className:Kt("Table"),children:(0,wa.jsxs)(Wr.Body,{children:[(0,wa.jsx)(ww.HeadRow,_({},r)),(0,wa.jsx)(ww.BodyRows,_({},r))]})}))},r9=r=>(0,wa.jsx)(tp,T(_({type:"drag"},r),{JSXChildren:ww.Drag})),vm={Start:function(r,a){return Aa(this,null,function*(){r.stopPropagation(),r.preventDefault();let{id:o,index:l,rows:s,maxLength:f}=a;mt("#TableRow-"+o+"-"+l).addClass(Kt("DraggerOrigin")),(0,Lo.default)(document).addEvent({eventID:"DragMouseMove",eventType:"pointermove",callback:c=>{vm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragTouchMove",eventType:"touchmove",callback:c=>{vm.Move(c,a)},options:{passive:!1}}).addEvent({eventID:"DragMouseUp",eventType:"pointerup",callback:c=>{vm.End(c,a)}}).addEvent({eventID:"DragTouchEnd",eventType:"touchend",callback:c=>{vm.End(c,a)}})})},Move:function(r,a){let{id:o,maxLength:l}=a,s=Lo.default.getCursor(r).y-Lo.default.getScreenSize().scrollY;for(let f=0;f<l;f++){let c=mt("#TableRow-"+o+"-"+f),{top:h,bottom:p,height:m}=c.position();f==0&&s<h?a.insertIndex=0:f===l-1&&p<=s?a.insertIndex=l:s>=h&&s<p&&(a.insertIndex=f+1)}{let{index:f,insertIndex:c}=a,h=Lo.useStore.get(o);h&&h.preSet&&h.preSet({origin:f,index:c})}return r.stopPropagation(),r.preventDefault(),!1},End:function(r,a){let{id:o,index:l,insertIndex:s}=a,f=Lo.useStore.get(o);f&&f.swap&&f.swap(l,s),mt("#TableRow-"+o+"-"+l).removeClass(Kt("DraggerOrigin")),(0,Lo.default)(document).removeEvent(["DragMouseMove","DragTouchMove","DragMouseUp","DragTouchEnd"])}};var Et=K(Dt()),Vn=K(tr()),xf=K(cr());var c9=K(oS()),f9=K(lS()),d9=K(aS()),p9=K(u9());var wu={__memoryID:(0,Vn.UUID)(),Header:r=>{var a,o;let{val_status:l,set_status:s,KeywordFilterRows:f}=_({},r),{order:c,filter:h}=l,[p,m]=c.current,g=[],b=[...l.head];if(l.checker){let S={top:!0,bottom:!l.rows.length,left:!0,right:!l.colLength,rowIndex:0,colIndex:0,isBody:!1,isHeader:!0},w=il(S),k=l.cellStylesCallback?l.cellStylesCallback(S):{};g.push((0,Et.jsx)(Wr.TH,T(_(_(_({fontWeight:"2.normal",position:"sticky",top:0,unitWidth:4,padding:0},l.cellStyles),w),k),{freeCSS:T(_(_({},(a=l.cellStyles)==null?void 0:a.freeCSS),k.freeCSS),{zIndex:2}),className:[Kt("Cell"),l.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(_a.Checker,{label:null,value:!1,onUpdateValidValue:L=>{let M=l.rows;M.forEach(Y=>{Y.checked=L}),s(T(_({},l),{rows:M}))}})})}),-1))}for(let S=0;S<l.colLength;S++){let w=b[S];if(!w)continue;let k=w.children||w.data,L=c.enabled&&c.column[S],M=h.enabled&&h.column[S],Y=L?(0,Et.jsx)(Ne,{fontSize:"1.mini",fontColor:S==p?"1.clear":"5.translucent",icon:S==p?m=="DESC"?f9.faArrowDown:c9.faArrowUp:d9.faArrowRight}):null,O=(0,Et.jsx)(Et.Fragment,{});if(M){let N=f.map(_e=>{var re;return(re=_e[S])==null?void 0:re.data});N=[...new Set(N)].toASC();let te=h.current[S];if(te){let _e=N.filter(H=>!te.includes(H)),re=[];N.forEach(H=>{H&&re.push({value:H,label:(0,Et.jsx)(X,{flexSizing:"auto",children:H})})});let be="BUTTON-"+l.componentID+"-"+S,ye=l.componentID+"-"+S,ge={sheetID:ye,parent:"#"+be,gravityPoint:23,type:"custom",content:(0,Et.jsxs)(At,{flexType:"col",border:!0,boxShadow:"3.remark",backgroundColor:"layer.1",borderRadius:1,freeCSS:{minWidth:12*20,maxWidth:12*30},children:[(0,Et.jsx)(ar,{gap:"1/3",overflow:"auto",padding:"2/3",freeCSS:{maxHeight:12*30},children:(0,Et.jsx)(_a.Checkbox,{icon:!0,value:_e,display:"flex",gap:"2/3",override:"force",options:re,hideInput:!0,name:"DTFilter-col-"+S+"-table-"+l.componentID,onUpdateValidValue:H=>{let le=N.filter(B=>!H.includes(B)),fe=_({},l);fe.filter.current[S]=le,s(fe)}})}),(0,Et.jsxs)(vt.Separate,{gap:"2/3",padding:"2/3",horizontalAlign:"right",children:[(0,Et.jsx)(it.Border.S,{isRounded:!0,onClick:()=>{hr.close(ye)},children:"\u9589\u3058\u308B"}),(0,Et.jsx)(it.Prime.S,{color:"theme",isRounded:!0,ssEffectsOnActive:"shrink",onClick:()=>{let H=[];te.length||(H=N);let le=_({},l);le.filter.current[S]=H,s(le)},children:"\u5168\u9078\u629E"})]})]})};O=(0,Et.jsx)(X,{className:Kt("FilterRegion"),children:(0,Et.jsx)(it.Sub.S,{ssSphere:2.5,fontSize:"1.mini",className:Kt("Filtering_"+!!te.length),id:be,onClick:H=>{H.stopPropagation(),hr.open(ge)},children:(0,Et.jsx)(Ne,{icon:p9.faFilter})})})}}let j={top:!0,bottom:!l.rows.length,left:l.checker?!1:S==0,right:S==l.colLength-1,rowIndex:0,colIndex:S,isBody:!1,isHeader:!0},F=il(j),Q=l.cellStylesCallback?l.cellStylesCallback(j):{};w=T(_(_(_(_({},l.cellStyles),F),w),Q),{ssPushable:L,freeCSS:_(_(_({},(o=l.cellStyles)==null?void 0:o.freeCSS),Q.freeCSS),w.freeCSS),className:[Kt("Cell"),l.cellClassName,w.className].join(" ")}),delete w.orderIndex,g.push((0,Et.jsx)(Wr.TH,T(_({fontWeight:"2.normal",position:"sticky",top:0},w),{freeCSS:_({zIndex:2},w.freeCSS),onClick:N=>{if(L){let te=_({},l),_e=[S,p===S&&m=="ASC"?"DESC":"ASC"];te.order.current=_e,s(te),l.onOrderChanged&&l.onOrderChanged(_e)}},children:(0,Et.jsxs)(At,{flexType:"row-r",flexWrap:!1,height:1,borderRadius:"inherit",flexCenter:!0,children:[O,(0,Et.jsxs)(At,{flexSizing:0,position:"relative",borderRadius:"inherit",gap:"1/2",flexWrap:!1,verticalAlign:"center",horizontalAlign:"center",children:[Y,k]})]})}),S))}return(0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("HeadRow")].join(" "),children:g})},Body:r=>{let{val_status:a,PageRows:o}=r,l=[];if(o.forEach((s,f)=>{var c;let h=[...s],p=[];if(a.checker){let m={top:f==0&&!a.head,bottom:f==o.length-1,left:!0,right:!a.colLength,rowIndex:f,colIndex:0,isBody:!0,isHeader:!1},g=il(m),b=a.cellStylesCallback?a.cellStylesCallback(m):{};p.push((0,Et.jsx)(Wr.TH,T(_(_(_({unitWidth:4,padding:0,borderRight:!0},a.cellStyles),g),b),{freeCSS:_(_({},(c=a.cellStyles)==null?void 0:c.freeCSS),b.freeCSS),className:[Kt("Cell"),a.cellClassName].join(" "),children:(0,Et.jsx)(X,{flexCenter:!0,children:(0,Et.jsx)(_a.Checker,{label:null,value:s.checked,override:"force",onUpdateValidValue:S=>{let w=a.rows,k=w.findIndex(L=>Vn.default.is.equal(L.rowID,s.rowID));k!=-1&&(w[k].checked=S,r.set_status(L=>T(_({},L),{rows:w})))}})})}),-1))}h.forEach((m,g)=>{var b;if(!m)return;let S=m,{type:w="td"}=S,k=Ge(S,["type"]),L={top:f==0&&!a.head,bottom:f==o.length-1,left:a.checker?!1:g==0,right:g==a.colLength-1,rowIndex:f,colIndex:g,isBody:!0,isHeader:!1},M=il(L),Y=a.cellStylesCallback?a.cellStylesCallback(L):{};k=T(_(_(_(_({},a.cellStyles),M),k),Y),{freeCSS:_(_(_({},(b=a.cellStyles)==null?void 0:b.freeCSS),k.freeCSS),Y.freeCSS),className:[Kt("Cell"),a.cellClassName,k.className].join(" ")}),delete k.orderIndex;let O=Wr[w=="td"?"TD":"TH"];p.push((0,Et.jsx)(O,_({},k),g))}),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow")].join(" "),children:p,onClick:m=>{a.onRowClick&&a.onRowClick(s.rowID,m)}},f))}),!o.length){let s=(0,Et.jsx)(X,{padding:2,fontColor:"4.thin",textAlign:"center",borderTop:"1.thin",children:"\u30C6\u30FC\u30D6\u30EB\u304C\u3042\u308A\u307E\u305B\u3093"});a.noRecords&&(s=(0,Et.jsx)(Et.Fragment,{children:a.noRecords})),l.push((0,Et.jsx)(Wr.Row,{className:[Kt("Row"),Kt("BodyRow"),Kt("DataNotFound")].join(" "),children:(0,Et.jsx)(Wr.TD,{colSpan:a.colLength,className:Kt("Cell"),children:s})},"dataNotFound"))}return(0,Et.jsx)(Et.Fragment,{children:l})},Core:r=>{let{val_status:a,set_status:o}=r,{searchKeyword:l,filter:s,order:f,paging:c}=a,h=[...a.rows],p=[...a.rows],m=[...a.rows],g=[...a.rows];if(l&&(p=h.filter(w=>(w.__sys4SearchKey||"").match(new RegExp(l,"i"))?1:0),m=[...p],g=[...p]),s.enabled)for(let w=0;w<a.colLength;w++){let k=s.column[w],L=s.current[w];k&&L&&L.length&&(m=m.filter(M=>!L.includes(M[w].data)),g=[...m])}f.enabled&&(f.current[1]=="ASC"?m=m.toASC([f.current[0],"orderIndex"].join(".")):m=m.toDESC([f.current[0],"orderIndex"].join(".")),g=[...m]);{let{currentPageIndex:w,rowLength:k}=c;g=[...g].splice((w-1)*k,k)}let b=wu.__memoryID+"_"+a.tableID,S={rows:{total:h.length,page:g.length,filtered:m.length},val_status:T(_({},a),{paging:T(_({},a.paging),{pageLength:Math.ceil(m.length/a.paging.rowLength)})}),set_status:o};return Vn.useStore.update({[b]:{getRowData:()=>{let w=[...h];return f.enabled&&(f.current[1]=="ASC"?w=w.toASC([f.current[0],"orderIndex"].join(".")):w=w.toDESC([f.current[0],"orderIndex"].join("."))),w.forEach(k=>{k.currentPage=!1,k.filtered=!1}),g.forEach(k=>{let{rowID:L}=k;w.find(M=>Vn.default.is.equal(M.rowID,L)).currentPage=!0}),m.forEach(k=>{let{rowID:L}=k;w.find(M=>Vn.default.is.equal(M.rowID,L)).filtered=!0}),w}}}),(0,xf.useEffect)(()=>{kl.release(a.tableID,S)}),(0,Et.jsx)(X,{className:Kt("TableBase"),children:(0,Et.jsx)(Wr.Table,{className:Kt("Table"),children:(0,Et.jsxs)(Wr.Body,{children:[(0,Et.jsx)(wu.Header,{val_status:a,set_status:o,KeywordFilterRows:p}),(0,Et.jsx)(wu.Body,{val_status:a,set_status:o,PageRows:g})]})})},l)},Propagations:{},DataLeveler:r=>{var a,o;return r=_({},r),r.filter=(a=r.filter)!=null?a:!1,r.filter=Array.from({length:r.colLength}).map((l,s)=>{var f;return Vn.default.is.boolean(r.filter)?r.filter:(f=r.filter[s])!=null?f:!1}),r.order=(o=r.order)!=null?o:!0,r.order=Array.from({length:r.colLength}).map((l,s)=>{var f;return Vn.default.is.boolean(r.order)?r.order:(f=r.order[s])!=null?f:!0}),r=_({checker:!1,searchKeyword:"",filter:!1,order:!0,defaultOrder:[0,"ASC"]},r),r.rows.forEach((l,s)=>{l.rowID=l.rowID||s;let f=[];l.forEach((c,h)=>{let{data:p,children:m,orderIndex:g}=c;c.orderIndex=Vn.default.is.exist(g)?String(g):String(p),c.children=m||String(p),f.push(String(c.data))}),l.__sys4SearchKey=f.join("/")}),(0,Et.jsx)(wu.StateManager,_({},r))},StateManager:r=>{let{colLength:a,checker:o=!1,searchKeyword:l="",filter:s,order:f,defaultOrder:c=[0,"ASC"],pageRowLength:h=30}=r,[p]=(0,xf.useState)((0,Vn.UUID)()),m={tableID:r.tableID||p,componentID:p,colLength:a,checker:o,searchKeyword:l,filter:{enabled:s!==!1,column:s,current:Array.from({length:a},()=>[])},order:{enabled:f!==!1,column:f,current:c},paging:{rowLength:h,pageLength:Math.ceil(r.rows.length/h),currentPageIndex:1},head:r.head,rows:r.rows,noRecords:r.noRecords,cellStyles:r.cellStyles||{},cellClassName:r.cellClassName||"",cellStylesCallback:r.cellStylesCallback,onRowClick:r.onRowClick,onOrderChanged:r.onOrderChanged},[g,b]=(0,xf.useState)(m);return(0,xf.useEffect)(()=>{b(S=>T(_({},S),{rows:m.rows}))},[Vn.default.Stringify(m.rows)]),(0,xf.useEffect)(()=>{b(S=>T(_({},S),{head:m.head}))},[Vn.default.Stringify(m.head)]),(0,Et.jsx)(wu.Core,{val_status:g,set_status:b})}},P$={__memoryID:wu.__memoryID,getRowData:r=>{let a=Vn.useStore.get(wu.__memoryID+"_"+r);if(a!=null&&a.getRowData)return a.getRowData()}},Ng={SearchInput:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a;return(0,Et.jsx)(_a.TextField,{label:"\u691C\u7D22...",clearButton:!0,padding:"2/3",paddingRight:3,rightIcon:(0,Et.jsx)(_a.RightIcon,{ssSphere:2,fontColor:"5.translucent",right:"2/3",children:(0,Et.jsx)(Ne.Search,{})}),value:o.searchKeyword,onUpdateValidValue:s=>{r.onChange(s),Vn.default.interval.once(()=>{l(f=>T(_({},f),{paging:T(_({},f.paging),{currentPageIndex:1}),filter:T(_({},f.filter),{current:Array.from({length:f.colLength},()=>[])}),searchKeyword:s}))},200,"InputSearchTime")}})},Info:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=a.rows.filtered.ratio(a.rows.total)||0;return(0,Et.jsxs)(At,{verticalAlign:"baseline",gap:"1/2",fontSize:"1.mini",fontColor:"3.blur",children:[(0,Et.jsx)(Sn,{fontSize:"4.thirdTitle",fontColor:"theme",children:a.rows.filtered.toLocaleString()}),"/ ",a.rows.total.toLocaleString(),"\u4EF6 (",s,"%)"]})},Paging:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=[];for(let c=0;c<o.paging.pageLength;c++)s.push({value:c+1,label:(c+1).toString()});let f=c=>{let h=Math.min(Math.max(1,c),o.paging.pageLength),p=_({},o);p.paging.currentPageIndex=h,l(m=>T(_({},m),{paging:T(_({},m.paging),{currentPageIndex:h})}))};return(0,Et.jsxs)(vt.Center,{children:[(0,Et.jsxs)(vt.Center,{gap:"1/2",children:[(0,Et.jsx)(_a.Select,{label:"\u9805",freeCSS:{minWidth:12*3},emptySelect:!1,padding:["1/3","2/3"],rightIcon:!1,override:"force",value:o.paging.currentPageIndex,options:s,onUpdateValidValue:c=>{f(c)}}),"/ ",o.paging.pageLength]}),(0,Et.jsxs)(vt.Right,{gap:"1/2",children:[(0,Et.jsx)(it.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==1){f(o.paging.pageLength);return}f(o.paging.currentPageIndex-1)},children:(0,Et.jsx)(Ne.ChevronLeft,{})}),(0,Et.jsx)(it.Sub,{ssSphere:3,onClick:()=>{if(o.paging.currentPageIndex==o.paging.pageLength){f(1);return}f(o.paging.currentPageIndex+1)},children:(0,Et.jsx)(Ne.ChevronRight,{})})]})]})},RowLength:r=>{let a=kl.catch(r.tableID);if(!a)return null;let{val_status:o,set_status:l}=a,s=o.paging.rowLength,f=0,c=r.lengthSelect.map(h=>(f|=+(h==s),{value:h,label:h.toString()}));return f||c.push({value:s,label:s.toString()}),(0,Et.jsx)(vt.Center,{gap:"1/2",children:(0,Et.jsx)(_a.Select,{label:"\u4EF6\u6570",emptySelect:!1,rightIcon:!1,override:"force",padding:["1/3","2/3"],SelectorStyles:{freeCSS:{minWidth:12*9}},SelectorPosition:4,value:o.paging.rowLength,options:c.toASC("value"),onUpdateValidValue:h=>{l(p=>T(_({},p),{paging:{rowLength:Number(h),currentPageIndex:1,pageLength:Math.ceil(a.rows.filtered/Number(h))}}))}})})}},I$=r=>(0,Et.jsx)(tp,T(_({},r),{type:"data",JSXChildren:wu.DataLeveler})),gc=I$;gc.__memoryID=wu.__memoryID,gc.getRowData=P$.getRowData,gc.Info=Ng.Info,gc.Paging=Ng.Paging,gc.RowLength=Ng.RowLength,gc.SearchInput=Ng.SearchInput;var Og;(r=>(r.Normal=GO,r.Data=gc,r.Drag=r9,r.Parts=Wr))(Og||(Og={}));var xw=K(Dt()),_m=K(tr());var _u={uid:(0,_m.UUID)(),open:(r,a,o=24,l=.35)=>{r&&_m.default.interval.once(()=>{Na.open({tipsID:_u.uid,parent:r,gravityPoint:o||24,padding:"1/2",content:(0,xw.jsx)(Na.Body,{padding:"1/2",borderRadius:"3.tone.tertiary",children:(0,xw.jsx)(nr.Supplement,{children:a})})})},l*1e3,_u.uid)},abort:()=>{_m.default.interval.abort(_u.uid),Na.close(_u.uid)}};var dt=K(Dt()),ia=K(tr());var os=K(cr());var U9=K(y9()),V9=K(E9()),W9=K(M9()),q9=K(H9());var Dw=class{constructor(a){this.set_scale=a.set_scale,this.val_file=a.val_file,this.develops=a.develops,this.use=a.use,this.componentID=a.componentID,this.scale={current:a.scale.default,default:a.scale.default,min:a.scale.min,max:a.scale.max};let o=a.canvas;this.Canvas={elm:o,ctx:o.getContext("2d")};let l=a.picture.image,{width:s,height:f}=l,c=s/f;this.Picture={elm:l,originDataUrl:l.src,aspect:c,revisedAspect:1,rotate:a.picture.rotate,grayScale:a.picture.grayScale,tone:a.picture.tone},this.pst={frame:{x:0,y:0,w:0,h:0,aspect:1},outImage:{x:0,y:0,w:0,h:0},imageX:s/2,imageY:f/2,centerX:0,centerY:0},this.dragEffectInfo={origin:{x:0,y:0},frameExpandRate:{x:0,y:0}},this.pinchEffectInfo={origin:{x:0,y:0,scale:this.scale.current}},this.frameSizing(),this.modifyImage()}frameSizing(){let a=this.Canvas.elm,o=this.Picture.elm,l=0,s=0;if(this.use=="square"){let g=a.width/3*2,b=a.height/3*2;l=Math.min(g,b),s=l}else this.use=="wallpaper.horizontal"?(l=a.width*(7/9),s=l/3):this.use=="wallpaper.vertical"&&(s=a.height*(7/9),l=s/2);let{width:f,height:c}=o,h=(a.width-l)/2,p=(a.height-s)/2,m=l/s;this.pst={frame:{x:h,y:p,w:l,h:s,aspect:m},outImage:{x:0,y:0,w:0,h:0},imageX:f/2,imageY:c/2,centerX:a.width/2,centerY:a.height/2}}dragEffect(a){let{eventType:o,x:l,y:s}=a;if(o=="start"){let f=this.Canvas.elm.position();this.dragEffectInfo={origin:{x:l,y:s},frameExpandRate:{x:this.Canvas.elm.width/f.width,y:this.Canvas.elm.height/f.height}}}else{let{origin:f,frameExpandRate:c}=this.dragEffectInfo,h=f.x-l,p=f.y-s,m=this.scale.current*this.Picture.revisedAspect/100,g=h/m*c.x,b=p/m*c.y;o=="move"?this.drawImage(this.pst.imageX+g,this.pst.imageY+b):o=="end"&&this.drawImage(this.pst.imageX+=g,this.pst.imageY+=b)}}pinchEffect(a){let{eventType:o,event:l}=a,{x:s,y:f}=ia.default.getCursor(l.touches[0]),{x:c,y:h}=ia.default.getCursor(l.touches[1]),p=c-s,m=h-f;if(o=="start")this.pinchEffectInfo.origin={x:p,y:m,scale:this.scale.current};else if(o=="move"){let{origin:g}=this.pinchEffectInfo,b=Math.sqrt(Math.pow(g.x,2)+Math.pow(g.y,2)),S=Math.sqrt(Math.pow(p,2)+Math.pow(m,2))/b,w=Number(g.scale*S);this.set_scale(w)}}updateScale(a){let o=a;o=Math.max(o,this.scale.min),o=Math.min(o,this.scale.max),this.scale.current=o,this.drawImage()}updateFilter(a){this.Picture.grayScale=a.grayScale,this.Picture.tone=a.tone,this.Picture.rotate=a.rotate,this.modifyImage()}modifyImage(){return Aa(this,null,function*(){let{grayScale:a,tone:o,rotate:l}=this.Picture,s=document.createElement("canvas"),f=s.getContext("2d"),c=yield ia.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&&(f.filter="grayscale("+a+"%)"),l&&(f.translate(h/2,p/2),f.rotate(l*Math.PI/180),[90,270].includes(l)?f.translate(-p/2,-h/2):f.translate(-h/2,-p/2)),f.drawImage(c,0,0,c.width,c.height);let m=f.getImageData(0,0,s.width,s.height),g=m.data;{a/=100;let k=[[255,255,255],[255,200,100],[170,170,255],[240,200,145],[128,255,255],[255,128,255],[255,255,128],[128,158,169],[128,112,162],[50,192,87],[246,100,140]][o],L=k[0]/255,M=k[1]/255,Y=k[2]/255;for(let O=0;O<p;O++)for(let j=0;j<h;j++){var b=(O*h+j)*4;if(a){let F=.3*g[b]+.59*g[b+1]+.11*g[b+2];for(var S=0;S<3;S++){let Q=g[b+S];g[b+S]=Q+(F-Q)*a}}g[b]*=L,g[b+1]*=M,g[b+2]*=Y}}f.putImageData(m,0,0);let w=s.toDataURL("image/jpeg");{let k=yield ia.default.ImageLoader(w),{width:L,height:M}=k,Y=L/M;this.Picture=T(_({},this.Picture),{elm:k,aspect:Y,revisedAspect:this.pst.frame.aspect>Y?this.pst.frame.w/L:this.pst.frame.h/M})}this.drawImage()})}drawImage(a,o){let{use:l,Canvas:{ctx:s,elm:f},pst:{frame:c}}=this,h=a||this.pst.imageX,p=o||this.pst.imageY;{let m=this.scale.current/100,g=this.Picture.revisedAspect*m,b=this.pst.centerX-h*g,S=this.pst.centerY-p*g,w=this.Picture.elm.width*g,k=this.Picture.elm.height*g;{let L=this.pst.frame.x+this.pst.frame.w-w,M=this.pst.frame.x,Y=this.pst.frame.y+this.pst.frame.h-k,O=this.pst.frame.y,j=0;b<L&&(j=b-L),b>M&&(j=b-M);let F=0;S<Y&&(F=S-Y),S>O&&(F=S-O),this.dragEffectInfo.origin.x+=j/2/this.dragEffectInfo.frameExpandRate.x,this.dragEffectInfo.origin.y+=F/2/this.dragEffectInfo.frameExpandRate.y,b=Math.min(Math.max(b,L),M),S=Math.min(Math.max(S,Y),O)}this.pst.outImage={x:b,y:S,w,h:k},s.clearRect(0,0,this.Canvas.elm.width,this.Canvas.elm.height),s.drawImage(this.Picture.elm,0,0,this.Picture.elm.width,this.Picture.elm.height,b,S,w,k)}{if(l=="square"){s.fillStyle="rgba( 20,24,20,.3 )",s.beginPath();let g=f.width/3*2,b=f.height/3*2,S=Math.min(g,b),w=Math.max(g,b);s.arc(f.width/2,f.height/2,w,0,Math.PI*2,!0),s.arc(f.width/2,f.height/2,S/2,0,Math.PI*2,!1),s.closePath(),s.fill()}else(l=="wallpaper.horizontal"||l=="wallpaper.vertical")&&(s.fillStyle="rgba( 20,24,20,.3 )");s.beginPath(),s.moveTo(0,0),s.lineTo(f.width,0),s.lineTo(f.width,f.height),s.lineTo(0,f.height),s.lineTo(0,0),s.closePath(),s.lineTo(c.x,c.y),s.lineTo(c.x,c.y+c.h),s.lineTo(c.x+c.w,c.y+c.h),s.lineTo(c.x+c.w,c.y),s.lineTo(c.x,c.y),s.fill();let m=(0,ia.default)(document.body).getStyleProperty("--color-theme-hsl");s.lineWidth=4,s.strokeStyle=`hsla( ${m},1 )`,s.strokeRect(c.x,c.y,c.w,c.h)}}export(){return Aa(this,null,function*(){let{Canvas:a,develops:o,Picture:l,pst:{outImage:s,frame:f}}=this,c=s.w/l.elm.width,h=s.h/l.elm.height,p=(f.x-s.x)/c,m=(f.x-s.x+f.w)/c,g=(f.y-s.y)/h,b=(f.y-s.y+f.h)/h,S=Array.from({length:o.length}),w="image/jpeg";for(let k=0;k<o.length;k++){let{size:L,maxSize:M}=o[k];M=M||{S:1024*20,R:1024*100,L:1024*350}[L];let Y={S:140,R:600,L:1200}[L],O=Y;this.use=="wallpaper.horizontal"?O=Y/3:this.use=="wallpaper.vertical"&&(O=Y*2);let j=document.createElement("canvas");j.width=Y,j.height=O;let F=j.getContext("2d");if(!F)return;F.clearRect(0,0,Y,O),F.drawImage(this.Picture.elm,p,g,m-p,b-g,0,0,Y,O);let Q=j.toDataURL(w),N=yield Q.toBlob(w);if(!N)return;if(N.size>=M){let _e=M/N.size;if(Q=j.toDataURL(w,_e*.92),N=yield Q.toBlob(w),!N)return}let te=new File([N],this.val_file.name,{type:w});S[k]=te}return S})}},Y9={Core:r=>{let{val_file:a,options:o,finishedCallback:l,abortCallback:s}=r,{use:f,develops:c=[]}=o,[h]=(0,os.useState)((0,ia.UUID)()),p={scale:{default:120,min:100,max:400},rotate:0,grayScale:0,tone:0},[m,g]=(0,os.useState)(p.scale.default),[b,S]=(0,os.useState)(p.rotate),[w,k]=(0,os.useState)(p.grayScale),[L,M]=(0,os.useState)(p.tone);return(0,os.useEffect)(()=>{let Y="CropperResize";return(0,ia.default)(window).addEvent({eventType:"resize",eventID:Y,callback:()=>{ia.default.interval.once(()=>{var O;let j=mt("#Canvas-"+h)[0];if(!j)return;let F=(O=ia.useStore.get(h))==null?void 0:O.Instance;if(!F)return;let Q=j.position(),N=Q.width/Q.height;j.width=2400,j.height=2400/N;let{width:te,height:_e}=j;F.pst.centerX=te/2,F.pst.centerY=_e/2,F.frameSizing(),F.modifyImage()},250,"CropperResize")}}),()=>{(0,ia.default)(window).removeEvent(Y)}},[]),(0,os.useEffect)(()=>{ia.useStore.set({[h]:{}}),Aa(void 0,null,function*(){Eo.fn.corner.active(),yield ia.default.pending(()=>{},400);let{target:Y}=yield a.convert();if(!Y)return;let O=Y.result,j=mt("#Canvas-"+h)[0];if(!j)return;let F=j.position(),Q=F.width/F.height;j.width=2400,j.height=2400/Q;let N=new Dw({set_scale:g,val_file:a,develops:c,use:f,scale:p.scale,componentID:h,canvas:j,picture:{image:yield ia.default.ImageLoader(O),grayScale:p.grayScale,tone:p.tone,rotate:p.rotate}});ia.useStore.set({[h]:{Instance:N}});let te=function(be){if(be.preventDefault(),be.touches&&be.touches.length>1)N.pinchEffect({eventType:"start",event:be}),(0,ia.default)(document).addEvent({eventType:"touchmove",eventID:"CropperEffectMove",options:{passive:!1},callback:ye=>{ye.preventDefault(),N.pinchEffect({eventType:"move",event:ye})}}).addEvent({eventType:"touchend",eventID:"CropperEffectEnd",options:{passive:!1},callback:re});else{N.dragEffect(_({eventType:"start"},ia.default.getCursor(be)));let{type:ye}=be;(0,ia.default)(document).addEvent({eventType:ye=="touchstart"?"touchmove":"mousemove",eventID:"CropperEffectMove",options:{passive:!1},callback:ge=>{_e("move",ge)}}).addEvent({eventType:ye=="touchstart"?"touchend":"mouseup",eventID:"CropperEffectEnd",options:{passive:!1},callback:ge=>{_e("end",ge),re(ge)}})}},_e=function(be,ye){ye.preventDefault(),N.dragEffect(_({eventType:be},ia.default.getCursor(ye)))},re=function(be){be.preventDefault(),(0,ia.default)(document).removeEvent(["CropperEffectMove","CropperEffectEnd"])};(0,ia.default)(j).removeEvent(["CropperMouseWheel","CropperTouchStart","CropperMouseDown"]).addEvent({eventID:"CropperMouseWheel",eventType:"wheel",callback:be=>{be.preventDefault();let ye=Number(be.wheelDelta*.04),ge=N.scale.current+ye;ge=Math.max(ge,N.scale.min),ge=Math.min(ge,N.scale.max),g(ge)},options:{passive:!1}}).addEvent({eventType:"touchstart",eventID:"CropperTouchStart",callback:te,options:{passive:!1}}).addEvent({eventType:"mousedown",eventID:"CropperMouseDown",callback:te,options:{passive:!1}}),setTimeout(()=>{Eo.fn.corner.stop()},1e3)})},[a.id]),(0,os.useEffect)(()=>{var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateScale(m)},[m]),(0,os.useEffect)(()=>{var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;O&&O.updateFilter({grayScale:w,tone:L,rotate:b})},[w,L,b]),(0,dt.jsx)(hr.Body,{borderRadius:0,height:"viewHeight",width:"viewWidth",children:(0,dt.jsxs)(ar,{className:[uc("Wrap"),uc("Use_"+f)].join(" "),gap:0,height:1,position:"relative",overflow:"hidden",borderRadius:"inherit",children:[(0,dt.jsx)(X,{flexSizing:0,overflow:"hidden",position:"relative",backgroundColor:"black",flexCenter:!0,freeCSS:{zIndex:1},children:(0,dt.jsx)("canvas",{style:{width:"100%",height:"100%"},width:2400,height:2400,className:uc("Canvas"),id:"Canvas-"+h})}),(0,dt.jsxs)(vt.Separate,{borderTop:!0,flexSizing:"none",backgroundColor:"layer.1",padding:1,verticalAlign:"unset",UnderBreakPointStyles:{flexType:"col"},children:[(0,dt.jsx)(Y9.SettingRegion,{DefaultOptions:p,val_scale:m,set_scale:g,val_tone:L,set_tone:M,val_grayScale:w,set_grayScale:k,val_rotate:b,set_rotate:S}),(0,dt.jsxs)(vt.Right,{flexSizing:"none",children:[(0,dt.jsx)(it.Border,{isRounded:!0,onClick:()=>{s()},children:"\u9589\u3058\u308B"}),(0,dt.jsx)(it,{isRounded:!0,boxShadow:"3.remark",onClick:()=>Aa(void 0,null,function*(){var Y;let O=(Y=ia.useStore.get(h))==null?void 0:Y.Instance;if(!O)return;Eo.fn.mini.active("CropperExportation");let j=yield O.export();setTimeout(()=>{Eo.fn.mini.stop("CropperExportation"),l(j)},3e3)}),children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(Eo.White.R,{loaderID:"CropperExportation"}),"\u6C7A\u5B9A"]})})]})]})]})})},SettingRegion:r=>{let a=["","\u6696\u8272","\u5BD2\u8272","\u30BB\u30D4\u30A2","\u30B7\u30A2\u30F3","\u30DE\u30BC\u30F3\u30BF","\u30A4\u30A8\u30ED\u30FC","\u30AA\u30EA\u30B8\u30CA\u30EB1","\u30AA\u30EA\u30B8\u30CA\u30EB2","\u30AA\u30EA\u30B8\u30CA\u30EB3","\u30AA\u30EA\u30B8\u30CA\u30EB4"],o=l=>a[l]||"\u306A\u3057";return(0,dt.jsxs)(vt.Left,{verticalAlign:"unset",flexWrap:!0,children:[(0,dt.jsxs)(ar,{gap:"1/3",children:[(0,dt.jsx)(nr.Supplement,{children:"Rotate"}),(0,dt.jsxs)(vt.Left,{flexChilds:"even",gap:"1/6",children:[(0,dt.jsx)(it.Border.S,{isRounded:!0,borderTopRightRadius:0,borderBottomRightRadius:0,onClick:()=>{let l=r.val_rotate-90;l<0&&(l+=360),r.set_rotate(l)},children:(0,dt.jsxs)(vt.Center,{gap:"1/4",children:["90\xB0",(0,dt.jsx)(Ne,{icon:W9.faRotateLeft})]})}),(0,dt.jsx)(it.Border.S,{isRounded:!0,borderTopLeftRadius:0,borderBottomLeftRadius:0,onClick:()=>{r.set_rotate((r.val_rotate+90)%360)},children:(0,dt.jsxs)(vt.Center,{gap:"1/4",children:[(0,dt.jsx)(Ne,{icon:q9.faRotateRight}),"90\xB0"]})})]})]}),(0,dt.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(nr.Supplement,{children:"Zoom"}),(0,dt.jsxs)(it.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperZoomEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,dt.jsx)(hr.Body,{children:(0,dt.jsxs)(ar,{padding:1.5,children:[(0,dt.jsxs)(vt.Separate,{children:[(0,dt.jsx)(nr.Paragraph,{children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ne.Search,{fontColor:"5.translucent"}),"Zoom"]})}),(0,dt.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ne.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(_a.Slider,{override:"force",value:r.val_scale-100,min:r.DefaultOptions.scale.min-100,max:r.DefaultOptions.scale.max-100,step:25,onUpdateValidValue:(f,c)=>{ia.default.interval.once(()=>{r.set_scale(f+100)},250,"Cropper.UpdateScale")},legends:{enable:!0,custom:f=>"x"+Math.round(100+f)/100}})]})})})},children:[r.val_scale.rate(1,0),"%"]})]}),(0,dt.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(nr.Supplement,{children:"GrayScale"}),(0,dt.jsxs)(it.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperGrayScaleEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26},content:(0,dt.jsx)(hr.Body,{children:(0,dt.jsxs)(ar,{padding:1.5,children:[(0,dt.jsxs)(vt.Separate,{children:[(0,dt.jsx)(nr.Paragraph,{children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ne,{icon:U9.faPalette,fontColor:"5.translucent"}),"Gray Scale"]})}),(0,dt.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ne.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(_a.Slider,{value:r.val_grayScale,min:0,max:100,step:10,onUpdateValidValue:f=>{ia.default.interval.once(()=>{r.set_grayScale(f)},250,"Cropper.GrayScale")},legends:{enable:!0,custom:f=>f+"%"}})]})})})},children:[r.val_grayScale.rate(1,0),"%"]})]}),(0,dt.jsxs)(ar,{gap:"1/3",freeCSS:{minWidth:12*6},children:[(0,dt.jsx)(nr.Supplement,{children:"Tone"}),(0,dt.jsx)(it.Border.S,{flexCenter:!0,isRounded:!0,flexSizing:0,onClick:l=>{let s="CropperToneEdit";Na.open({tipsID:s,gravityPoint:3,event:l,closeAtParentBlur:!1,freeCSS:{minWidth:12*26,maxWidth:12*24},content:()=>{let f=[];for(let c=1;c<=10;c++)f.push({value:c,label:(0,dt.jsxs)(vt.Left,{gap:"1/3",children:[(0,dt.jsx)(X,{ssSphere:1,className:[uc("ToneBall"),uc("ToneBall_"+c)].join(" ")}),(0,dt.jsx)(X,{textAlign:"left",flexSizing:0,children:o(c)})]})});return(0,dt.jsx)(hr.Body,{children:(0,dt.jsxs)(ar,{padding:1.5,children:[(0,dt.jsxs)(vt.Separate,{children:[(0,dt.jsx)(nr.Paragraph,{children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(Ne,{icon:V9.faBarsStaggered,fontColor:"5.translucent"}),"Tone"]})}),(0,dt.jsx)(it.Sub,{color:"cloud",ssSphere:2.5,onClick:()=>{Na.close(s)},children:(0,dt.jsx)(Ne.Times,{})})]}),(0,dt.jsx)(X,{borderBottom:!0,opacity:"low"}),(0,dt.jsx)(_a.Radio.Normal,{value:r.val_tone,gap:"1/2",cellStyles:{fontColor:"3.blur"},options:[{value:0,label:(0,dt.jsx)(X,{flexSizing:0,textAlign:"center",children:"\u306A\u3057"})},...f],onUpdateValidValue:c=>{r.set_tone(c)}})]})})}})},children:(0,dt.jsxs)(vt.Center,{gap:"1/2",children:[(0,dt.jsx)(X,{boxShadow:"2.remark",ssSphere:1,className:[uc("ToneBall"),uc("ToneBall_"+r.val_tone)].join(" ")}),o(r.val_tone)]})})]})]})}},Aw={openDialogNEdit:r=>Aa(void 0,null,function*(){let a=yield _a.Filer.fn.openDialog({accept:"image",multiple:!1});Aw.openEditor(_({imageFile:a[0]},r))}),openEditor:r=>Aa(void 0,null,function*(){let a="CropperImage";hr.open({sheetID:a,type:"normal.middleCenter",size:"MAX",padding:0,margin:0,freeCSS:{maxWidth:"100%"},content:(0,dt.jsx)(Y9.Core,{val_file:r.imageFile,options:r,finishedCallback:o=>{hr.close(a),r.onProcessFinished(o)},abortCallback:()=>{hr.close(a)}}),closeAtEscapeKeyDown:!1})})};var No=K(Dt());var $9=()=>{let{href:r}=location;return(0,No.jsx)(vt.Center,{padding:[4,1],children:(0,No.jsxs)(ar,{ssCardBox:!0,gap:2,padding:[3,2],textAlign:"center",width:1,freeCSS:{maxWidth:12*30},children:[(0,No.jsx)(Ne.LinkSlash,{fontColor:"theme",freeCSS:{fontSize:"3rem"}}),(0,No.jsxs)(X,{children:[(0,No.jsx)(nr.Paragraph,{children:"\u3053\u306E\u30DA\u30FC\u30B8\u306F\u3054\u5229\u7528\u3044\u305F\u3060\u3051\u307E\u305B\u3093\u3002"}),(0,No.jsx)(nr.Supplement,{fontColor:"3.blur",children:"\u5165\u529B\u3055\u308C\u305F\u30EA\u30F3\u30AF\u306E\u30DA\u30FC\u30B8\u306F\u5B58\u5728\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002"})]}),(0,No.jsxs)(ar,{children:[(0,No.jsxs)(nr,{textAlign:"left",ssCardBox:"cloud",isSemiBoldFont:!0,padding:1,children:["\u30FB\u30EA\u30F3\u30AF\u304C\u6B63\u3057\u3044\u304B",(0,No.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650",(0,No.jsx)(X,{margin:["1/2",0],borderBottom:!0}),"\u30FB\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u7B49\u304C\u6B63\u3057\u3044\u304B"]}),"\u306A\u3069\u3092\u3082\u3046\u4E00\u5EA6\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"]}),(0,No.jsx)(ff.Link,{newTab:!0,href:r,children:r}),(0,No.jsx)(ff.BorderToFill,{href:"/",width:1,children:"\u30DB\u30FC\u30E0\u306B\u623B\u308B"})]})})};var Mg=r=>{let[a,o]=(0,bc.useState)(r.pathname),l=!0;a!==r.pathname&&(l=!1,o(r.pathname));let s=(0,bc.useRef)(!1);(0,bc.useEffect)(()=>{l&&(s.current?(hr.closeAll(!0),Rs.fn.updateCSSProperty.reset()):s.current=!0)},[a]),l&&r.beforeCB&&r.beforeCB(location.href),(0,bc.useEffect)(()=>{l&&r.afterFirstCB&&r.afterFirstCB(location.href)},[]),(0,bc.useEffect)(()=>{l&&(setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200),r.afterCB&&r.afterCB(location.href))},[a])};var Mn={open:r=>{window.open(r)},pushSync:r=>{window.location.href=r},push:(r,a)=>{if(a){Mn.open(r);return}Mn.pushAsync(r)},pushAsync:r=>{if(r.match(/https?:\/\//)){Mn.pushSync(r);return}Mn.__push(r)},back:()=>{Mn.__back()},__push:r=>{},__back:()=>{},setPushEffect:r=>{Mn.__push=r},setBackEffect:r=>{Mn.__back=r}};var G9=K(tr());var qh=[{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}],Wh=()=>{let r="#45515c",a=(0,G9.default)("#ThemeColorMetaTag");a[0]&&a.setAttribute("content",r)},K9={light:"#FFF",dark:"#333",dim:"#666",auto:()=>ht.get().isSystemDarkmode()?"#333":"#FFF"},Nw={};qh.forEach(r=>{let{key:a,isAvocado:o,isBrand:l}=r;Nw[a]={alfa:s=>`hsla( var( --cH_${a} ),var( --cS_${a} ),var( --cL_${a} ),${s!=null?s:1} ) `,isAvocado:o,isBrand:l}});var $a=K(tr());var Re={toConcreteBorderRadius:r=>{let a=ht.get().roundness|0;return r=="1.tone.primary"?r=[0,2,3,4,5,5][a]:r=="2.tone.secondary"?r=[0,1,2,3,4,5][a]:r=="3.tone.tertiary"&&(r=[0,"1/3","2/3",1,2,3][a]),r},ev:r=>$a.default.is.exist(r),ClassNames:(r,a)=>{var o,l,s,f,c,h,p,m,g,b;let S=[],{gap:w,display:k,position:L,overflow:M,fontColor:Y,fontSize:O,fontWeight:j,fontHeight:F,backgroundColor:Q,textAlign:N,textDecoration:te,boxShadow:_e,margin:re,marginTop:be,marginRight:ye,marginBottom:ge,marginLeft:H,padding:le,paddingTop:fe,paddingRight:B,paddingBottom:W,paddingLeft:ne,top:ee,right:de,bottom:Ce,left:Se,border:Ye,borderTop:$e,borderRight:Pe,borderBottom:et,borderLeft:ct,borderWidth:lt,borderColor:Tt,borderStyle:wt,borderRadius:Ze,borderTopLeftRadius:Te,borderTopRightRadius:pt,borderBottomLeftRadius:Lt,borderBottomRightRadius:jt,flexSizing:Ut,flexWrap:er,flexType:ur,flexChilds:Tr,flexGrid:ra,horizontalAlign:jr,verticalAlign:qr,transition:wr,gridCenter:fr,gridCols:_r,maxHeight:ha,minHeight:Cr,maxWidth:mr,minWidth:Mr,width:ga,height:Be,unitHeight:st,unitWidth:bt,opacity:$t}=a;{if(Re.ev(k)&&S.push("dsp"+k),M){let G=$a.default.flatArray(M);S.push("ovfl-x-"+G[0]),S.push("ovfl-y-"+(G[1]||G[0]))}Re.ev(L)&&S.push("ps"+L),Re.ev(N)&&S.push("txtalg"+N),Re.ev(N)&&S.push("txtdeco"+te),Re.ev(Y)&&S.push("ftcl"+((o=String(Y))==null?void 0:o.replace(/\./g,"_"))),Re.ev(O)&&S.push("ftsz"+((l=String(O))==null?void 0:l.replace(/\..*/,""))),Re.ev(j)&&S.push("ftwgt"+((s=String(j))==null?void 0:s.replace(/\..*/,""))),Re.ev(F)&&S.push("fthgt"+((f=String(F))==null?void 0:f.replace(/\./g,"_"))),Re.ev(Q)&&S.push("bgc"+((c=String(Q))==null?void 0:c.replace(/\./g,"_"))),Re.ev(_e)&&S.push("bs"+_e);let Vt,Er,vr,Yr;$a.default.is.exist(re)&&($a.default.is.array(re)?re.length==2?[Vt,Er,vr,Yr]=[...re,...re]:re.length==4&&([Vt,Er,vr,Yr]=re):Vt=Er=vr=Yr=re,be=be!=null?be:Vt,ye=ye!=null?ye:Er,ge=ge!=null?ge:vr,H=H!=null?H:Yr),Re.ev(be)&&S.push("mrgt"+be),Re.ev(ye)&&S.push("mrgr"+ye),Re.ev(ge)&&S.push("mrgb"+ge),Re.ev(H)&&S.push("mrgl"+H);let $,P,R,z;$a.default.is.exist(le)&&($a.default.is.array(le)?le.length==2?[$,P,R,z]=[...le,...le]:le.length==4&&([$,P,R,z]=le):$=P=R=z=le,fe=fe!=null?fe:$,B=B!=null?B:P,W=W!=null?W:R,ne=ne!=null?ne:z),Re.ev(fe)&&S.push("pdt"+fe),Re.ev(B)&&S.push("pdr"+B),Re.ev(W)&&S.push("pdb"+W),Re.ev(ne)&&S.push("pdl"+ne),Re.ev(ee)&&S.push("pstt"+ee),Re.ev(de)&&S.push("pstr"+de),Re.ev(Ce)&&S.push("pstb"+Ce),Re.ev(Se)&&S.push("pstl"+Se);{$a.default.is.exist(Ye)&&($e=$e!=null?$e:Ye,Pe=Pe!=null?Pe:Ye,et=et!=null?et:Ye,ct=ct!=null?ct:Ye),$a.default.is.boolean($e)&&($e=["unset","2.normal"][Number($e)]),$a.default.is.boolean(Pe)&&(Pe=["unset","2.normal"][Number(Pe)]),$a.default.is.boolean(et)&&(et=["unset","2.normal"][Number(et)]),$a.default.is.boolean(ct)&&(ct=["unset","2.normal"][Number(ct)]),Re.ev($e)&&S.push("b_t_ss"+((h=String($e))==null?void 0:h.replace(/\./g,"_"))),Re.ev(Pe)&&S.push("b_r_ss"+((p=String(Pe))==null?void 0:p.replace(/\./g,"_"))),Re.ev(et)&&S.push("b_b_ss"+((m=String(et))==null?void 0:m.replace(/\./g,"_"))),Re.ev(ct)&&S.push("b_l_ss"+((g=String(ct))==null?void 0:g.replace(/\./g,"_"))),$a.default.is.exist(lt)&&S.push("b_wth"+String(lt)),$a.default.is.exist(Tt)&&S.push("b_cl"+((b=String(Tt))==null?void 0:b.replace(/\./g,"_"))),$a.default.is.exist(wt)&&S.push("b_st"+String(wt));{let G,ie,oe,Oe;$a.default.is.exist(Ze)&&($a.default.is.array(Ze)?Ze.length==4&&([G,ie,Oe,oe]=Ze):G=ie=oe=Oe=Ze,Te=Te!=null?Te:G,pt=pt!=null?pt:ie,Lt=Lt!=null?Lt:oe,jt=jt!=null?jt:Oe)}Re.ev(Te)&&S.push("br_tl"+Re.toConcreteBorderRadius(Te)),Re.ev(pt)&&S.push("br_tr"+Re.toConcreteBorderRadius(pt)),Re.ev(Lt)&&S.push("br_bl"+Re.toConcreteBorderRadius(Lt)),Re.ev(jt)&&S.push("br_br"+Re.toConcreteBorderRadius(jt))}if(Re.ev($t)&&S.push("op"+$t),$a.default.is.exist(w)){let G,ie;$a.default.is.array(w)?(G=w[0],ie=w[1]):G=ie=w,S.push("gapRow"+G,"gapCol"+ie)}Re.ev(Ut)&&S.push("flsz"+Ut),Re.ev(er)&&S.push("flwrp"+er),Re.ev(ur)&&S.push("fltyp"+ur),Re.ev(Tr)&&S.push("flchld"+Tr),Re.ev(ra)&&S.push("flgrid"+ra),Re.ev(qr)&&S.push("flvrt"+qr),Re.ev(jr)&&S.push("flhrz"+jr),Re.ev(fr)&&S.push("grcnt"+fr),Re.ev(_r)&&S.push("grcol"+_r),Re.ev(Be)&&S.push("hgt"+Be),Re.ev(ga)&&S.push("wdt"+ga),Re.ev(st)&&S.push("unthgt"+st),Re.ev(bt)&&S.push("untwdt"+bt),Re.ev(wr)&&S.push("trnst"+wr),Re.ev(ha)&&S.push("maxh"+ha),Re.ev(Cr)&&S.push("minh"+Cr),Re.ev(mr)&&S.push("maxw"+mr),Re.ev(Mr)&&S.push("minw"+Mr)}return S.length?r+S.join(" "+r):""}},nm=r=>{let a=_({},r),{gradients:o,ssCardBox:l,ssSphere:s,ssSquare:f,ssPushable:c,ssAbsoluteCovered:h,ssTextEllipsis:p,flexCenter:m,flexNewLine:g,isLightFont:b,isBoldFont:S,isSemiBoldFont:w,isRounded:k,isSquare:L,freeCSS:M={}}=a,Y=Ge(M,[]),O=Ge(a,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded","isSquare","freeCSS"]);if(Y=Y||{},O=O||{},o){let{deg:j,colors:F}=o;Y=T(_({},Y),{background:`linear-gradient(${j}deg,${F.join(",")})`})}if(l){l===!0&&(l="border");let j={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.min"};l=="border"?j.border=!0:l=="layer"?j.backgroundColor="layer.1":l=="cloud"?j.backgroundColor="cloud":l=="shadow"&&(j.boxShadow="0.normal"),ht.get().darkMode=="dim"&&(j.boxShadow="1.normal"),ht.get().darkMode=="dark"&&(j.boxShadow="1.remark"),Y=_(_({},j.freeCSS),Y),O=_(_({},j),O)}return s&&(m=m!=null?m:!0,O=_({padding:0,unitWidth:s,unitHeight:s,borderRadius:"sphere",flexSizing:"none"},O)),f&&(m=m!=null?m:!0,O=_({padding:0,unitWidth:f,unitHeight:f,flexSizing:"none"},O)),c&&(O=_({transition:"middle"},O),O=T(_({},O),{className:[O.className,"ssPushable"].join(" ")})),h&&(O=_({position:"absolute",top:0,left:0,right:0,bottom:0},O)),p&&(O=_({overflow:"hidden"},O),Y=_({whiteSpace:"nowrap",textOverflow:"ellipsis"},Y)),g&&(O=_({width:1,flexSizing:"none"},O)),m&&(O=_({display:"flex",horizontalAlign:"center",verticalAlign:"center"},O)),b&&(O.fontWeight="1.light"),w&&(O.fontWeight="3.semiBold"),S&&(O.fontWeight="4.bold"),k&&($a.default.is.number(k)?Y.borderRadius=k*12:O.borderRadius="sphere"),L&&(Y.aspectRatio="1"),T(_({},O),{freeCSS:Y})},xo=r=>{let a=nm(r),{componentID:o,gap:l,display:s,position:f,overflow:c,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:Ce,borderTopLeftRadius:Se,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ct,flexType:lt,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:pt,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:er,maxWidth:ur,minWidth:Tr,width:ra,height:jr,unitHeight:qr,unitWidth:wr,opacity:fr,ssLastChildLossBorder:_r,ssAbsoluteCovered:ha,ssCardBox:Cr,ssEffectsOnActive:mr,ssPushable:Mr,ssSphere:ga,ssSquare:Be,ssTextEllipsis:st,isBoldFont:bt,isLightFont:$t,isSemiBoldFont:Vt,isRounded:Er,flexCenter:vr,flexNewLine:Yr,gradients:$,UnderBreakPointStyles:P={},className:R="",freeCSS:z={}}=a,G=Ge(a,["componentID","gap","display","position","overflow","fontColor","fontSize","fontWeight","fontHeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity","ssLastChildLossBorder","ssAbsoluteCovered","ssCardBox","ssEffectsOnActive","ssPushable","ssSphere","ssSquare","ssTextEllipsis","isBoldFont","isLightFont","isSemiBoldFont","isRounded","flexCenter","flexNewLine","gradients","UnderBreakPointStyles","className","freeCSS"]),ie=_({},G),oe=[R];if(_r&&oe.push("ssLastChildLossBorder_"+_r),mr){mr=$a.default.flatArray(mr);for(let Oe of mr){let[Ie,Me]=Oe.split(".");ie["data-effect-"+Ie]="1",Me&&(ie["data-effect-tone"]=Me)}}{let Oe=Re.ClassNames("amotf_",{gap:l,display:s,position:f,overflow:c,fontColor:h,fontSize:p,fontWeight:m,fontHeight:g,backgroundColor:b,textAlign:S,textDecoration:w,boxShadow:k,margin:L,marginTop:M,marginRight:Y,marginBottom:O,marginLeft:j,padding:F,paddingTop:Q,paddingRight:N,paddingBottom:te,paddingLeft:_e,top:re,right:be,bottom:ye,left:ge,border:H,borderTop:le,borderRight:fe,borderBottom:B,borderLeft:W,borderWidth:ne,borderColor:ee,borderStyle:de,borderRadius:Ce,borderTopLeftRadius:Se,borderTopRightRadius:Ye,borderBottomLeftRadius:$e,borderBottomRightRadius:Pe,flexSizing:et,flexWrap:ct,flexType:lt,flexChilds:Tt,flexGrid:wt,horizontalAlign:Ze,verticalAlign:Te,transition:pt,gridCenter:Lt,gridCols:jt,maxHeight:Ut,minHeight:er,maxWidth:ur,minWidth:Tr,width:ra,height:jr,unitHeight:qr,unitWidth:wr,opacity:fr});oe.push(Oe)}return P&&oe.push(Re.ClassNames("amotf_bp",P)),z&&(ie.style=_(_({},z),ie.style)),(o||ie["data-component-id"])&&(ie["data-component-id"]=ie["data-component-id"]||o),oe.length&&oe.join("")&&(ie.className=oe.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),ie},Al=r=>{let{gap:a,display:o,position:l,overflow:s,fontColor:f,fontSize:c,fontWeight:h,fontHeight:p,backgroundColor:m,textAlign:g,textDecoration:b,boxShadow:S,margin:w,marginTop:k,marginRight:L,marginBottom:M,marginLeft:Y,padding:O,paddingTop:j,paddingRight:F,paddingBottom:Q,paddingLeft:N,top:te,right:_e,bottom:re,left:be,border:ye,borderTop:ge,borderRight:H,borderBottom:le,borderLeft:fe,borderWidth:B,borderColor:W,borderStyle:ne,borderRadius:ee,borderTopLeftRadius:de,borderTopRightRadius:Ce,borderBottomLeftRadius:Se,borderBottomRightRadius:Ye,flexSizing:$e,flexWrap:Pe,flexType:et,flexChilds:ct,flexGrid:lt,horizontalAlign:Tt,verticalAlign:wt,transition:Ze,gridCenter:Te,gridCols:pt,maxHeight:Lt,minHeight:jt,maxWidth:Ut,minWidth:er,width:ur,height:Tr,unitHeight:ra,unitWidth:jr,opacity:qr,ssLastChildLossBorder:wr,ssAbsoluteCovered:fr,ssCardBox:_r,ssEffectsOnActive:ha,ssPushable:Cr,ssSphere:mr,ssSquare:Mr,ssTextEllipsis:ga,isBoldFont:Be,isLightFont:st,isSemiBoldFont:bt,isRounded:$t,flexCenter:Vt,flexNewLine:Er,gradients:vr,UnderBreakPointStyles:Yr={},freeCSS:$={}}=r,P={};return Re.ev(a)&&(P.gap=a),Re.ev(o)&&(P.display=o),Re.ev(l)&&(P.position=l),Re.ev(s)&&(P.overflow=s),Re.ev(f)&&(P.fontColor=f),Re.ev(c)&&(P.fontSize=c),Re.ev(h)&&(P.fontWeight=h),Re.ev(p)&&(P.fontHeight=p),Re.ev(m)&&(P.backgroundColor=m),Re.ev(g)&&(P.textAlign=g),Re.ev(b)&&(P.textDecoration=b),Re.ev(S)&&(P.boxShadow=S),Re.ev(w)&&(P.margin=w),Re.ev(k)&&(P.marginTop=k),Re.ev(L)&&(P.marginRight=L),Re.ev(M)&&(P.marginBottom=M),Re.ev(Y)&&(P.marginLeft=Y),Re.ev(O)&&(P.padding=O),Re.ev(j)&&(P.paddingTop=j),Re.ev(F)&&(P.paddingRight=F),Re.ev(Q)&&(P.paddingBottom=Q),Re.ev(N)&&(P.paddingLeft=N),Re.ev(te)&&(P.top=te),Re.ev(_e)&&(P.right=_e),Re.ev(re)&&(P.bottom=re),Re.ev(be)&&(P.left=be),Re.ev(ye)&&(P.border=ye),Re.ev(ge)&&(P.borderTop=ge),Re.ev(H)&&(P.borderRight=H),Re.ev(le)&&(P.borderBottom=le),Re.ev(fe)&&(P.borderLeft=fe),Re.ev(B)&&(P.borderWidth=B),Re.ev(W)&&(P.borderColor=W),Re.ev(ne)&&(P.borderStyle=ne),Re.ev(ee)&&(P.borderRadius=ee),Re.ev(de)&&(P.borderTopLeftRadius=de),Re.ev(Ce)&&(P.borderTopRightRadius=Ce),Re.ev(Se)&&(P.borderBottomLeftRadius=Se),Re.ev(Ye)&&(P.borderBottomRightRadius=Ye),Re.ev($e)&&(P.flexSizing=$e),Re.ev(Pe)&&(P.flexWrap=Pe),Re.ev(et)&&(P.flexType=et),Re.ev(ct)&&(P.flexChilds=ct),Re.ev(lt)&&(P.flexGrid=lt),Re.ev(Tt)&&(P.horizontalAlign=Tt),Re.ev(wt)&&(P.verticalAlign=wt),Re.ev(Ze)&&(P.transition=Ze),Re.ev(Te)&&(P.gridCenter=Te),Re.ev(pt)&&(P.gridCols=pt),Re.ev(Lt)&&(P.maxHeight=Lt),Re.ev(jt)&&(P.minHeight=jt),Re.ev(Ut)&&(P.maxWidth=Ut),Re.ev(er)&&(P.minWidth=er),Re.ev(ur)&&(P.width=ur),Re.ev(Tr)&&(P.height=Tr),Re.ev(ra)&&(P.unitHeight=ra),Re.ev(jr)&&(P.unitWidth=jr),Re.ev(qr)&&(P.opacity=qr),Re.ev(wr)&&(P.ssLastChildLossBorder=wr),Re.ev(fr)&&(P.ssAbsoluteCovered=fr),Re.ev(_r)&&(P.ssCardBox=_r),Re.ev(ha)&&(P.ssEffectsOnActive=ha),Re.ev(Cr)&&(P.ssPushable=Cr),Re.ev(mr)&&(P.ssSphere=mr),Re.ev(Mr)&&(P.ssSquare=Mr),Re.ev(ga)&&(P.ssTextEllipsis=ga),Re.ev(Be)&&(P.isBoldFont=Be),Re.ev(st)&&(P.isLightFont=st),Re.ev(bt)&&(P.isSemiBoldFont=bt),Re.ev($t)&&(P.isRounded=$t),Re.ev(Vt)&&(P.flexCenter=Vt),Re.ev(Er)&&(P.flexNewLine=Er),Re.ev(vr)&&(P.gradients=vr),Re.ev($)&&(P.freeCSS=$),Re.ev(Yr)&&(P.UnderBreakPointStyles=Yr),P};var pl=K(Dt());var Pg=r=>{var a;let o=kl.catch("RootViewController_"+ht.get().sessionUID);return(0,pl.jsxs)(pl.Fragment,{children:[(0,pl.jsx)("style",{children:r.inlineCSS}),(0,pl.jsxs)("amotify-app",{id:"appRoot_"+ht.get().sessionUID,children:[(0,pl.jsx)(pu.Pudding.Wrapper,{}),(0,pl.jsx)(pu.Ripple.Wrapper,{}),(0,pl.jsx)(Eo.Wrapper,{}),(0,pl.jsx)(rs.Wrapper,{}),(0,pl.jsx)(hr.Wrapper,{}),(0,pl.jsx)(X,{className:["AMOTIFY_be","AMOTIFY_be_root",(a=r.isRootPage)==null||a?"AMOTIFY_be_origin":"",r.originClassName||""].join(" "),children:r.children},o)]})]})};var Ig=K(tr()),mt=r=>{let a=ht.get().appRoot;return Ig.default.is.shadowRoot(a)?(0,Ig.default)(a).find(r):(0,Ig.default)(r)};var z$=K(Mw());Jr(Fr,K(Mw()));var B$=K(Pw());Jr(Fr,K(Pw()));var F$=_(_(_(_(_(_({},Ow),YS),ZS),z$),B$),Lw);var Oo=K(Dt()),j$=()=>(0,Oo.jsx)(X,{children:(0,Oo.jsxs)(vt.Center,{flexCenter:!0,padding:3,gap:3,backgroundColor:"layer.0",children:[(0,Oo.jsx)(_a.Select,{options:[{value:"AAA",label:"AAA"},{value:"BBB",label:"BBB"},{value:"CCC",label:"CCC"}]}),(0,Oo.jsx)(_a.Select,{SelectorMode:"legacy",options:[{value:"AAA",label:"AAA"},{value:"BBB",label:"BBB"},{value:"CCC",label:"CCC"}],name:"test",form:"test",required:!0,onUpdateValidValue:r=>{console.log(r)},onUpdateValue:r=>{console.log(r)}}),(0,Oo.jsx)(it.Prime,{submitOption:{formName:"test",callback:r=>{console.log(r)}},children:"Submit"})]})});Iw.default.scope(()=>{let r=document.createElement("sample-app");r.id="sampleAppBody",document.body.append(r),ht.launch({appRoot:r,roundness:3,themeColor:Iw.default.localStrage.get("prf.themeColor")||"battery"});let a=()=>{let o=Os.useLocation(),l=Os.useNavigate();return(0,zg.useEffect)(()=>{Mn.setPushEffect(s=>{l(s)}),Mn.setBackEffect(()=>{l(-1)})},[]),Mg({pathname:o.pathname}),(0,Oo.jsx)(Os.Routes,{children:(0,Oo.jsx)(Os.Route,{path:"*",element:(0,Oo.jsx)(j$,{})},"*")})};X9.default.createRoot(r).render((0,Oo.jsx)(zg.StrictMode,{children:(0,Oo.jsx)(Pg,{children:(0,Oo.jsx)(Os.BrowserRouter,{children:(0,Oo.jsx)(a,{})})})}))});
981
981
  /*! Bundled license information:
982
982
 
983
983
  react/cjs/react.development.js: